Regression dialog
[pspp-builds.git] / src / ui / gui / ChangeLog
1 2008-02-27  Jason Stover  <jhs@math.gcsu.edu>
2
3         * regression-dialog.c: New file.
4
5         * regression-dialog.h: New file.
6
7         * regression.glade: New file.
8
9 2008-02-19  Ben Pfaff  <blp@gnu.org>
10
11         Patch #6426.  Reviewed by John Darrington.
12         
13         * psppire-var-store.c: Add "trailing-rows", "format-type"
14         properties to PsppireVarStore.
15
16 2008-02-19  Ben Pfaff  <blp@gnu.org>
17
18         * message-dialog.c (popup_messages): Always destroy `msg' and
19         `lead' strings, avoiding a memory leak.  Thanks to John Darrington
20         for reporting the problem.
21
22 2008-02-19  John Darrington <john@darrington.wattle.id.au>
23
24         * dict-display.c: Display names of variables in dialog box
25         dictionary treeviews, when the mouse hovers over the variable.
26
27 2008-02-13  John Darrington <john@darrington.wattle.id.au>
28
29         * variable-info-dialog.c: Fix crash when clicking "Jump" when no 
30         variable selected.  Add a valid predicate so that this can't 
31         happen anyway.
32
33         * compute-dialog.c: Fix crash when trying to set label on non
34         existant variable.
35
36 2008-02-09  Ben Pfaff  <blp@gnu.org>
37
38         Consolidate multiple messages into single message dialog.  Patch
39         #6405.  Thanks to John Darrington for review.
40
41         * automake.mk (dist_src_ui_gui_psppire_DATA): Add
42         message-dialog.glade.
43
44         * helper.c (give_help): Use GtkMessageDialog directly instead of
45         trying to reuse message-dialog code.
46
47         * message-dialog.c: Rewritten.
48
49         * message-dialog.glade: New file.
50
51 2008-02-08  Jason Stover  <jhs@math.gcsu.edu>
52
53         * crosstabs-dialog.c: New file.
54
55         * crosstabs-dialog.h: New file.
56
57         * crosstabs.glade: New file.
58
59 2008-02-08  John Darrington <john@darrington.wattle.id.au>
60
61         * psppire-data-store.c: Remove feature which automatically inserts
62         cases at end of data.
63
64         * datasheet.c: Make rows after the last + 1, not editable.
65
66 2008-02-08  John Darrington <john@darrington.wattle.id.au>
67
68         * sort-cases-dialog.c transpose-dialog.c: Added dialog_valid
69         predicates.
70
71 2008-02-04  John Darrington <john@darrington.wattle.id.au>
72
73         * checkbox-treeview.c: In toggle callback, use the treeview's 
74         current model, instead of relying on the one set at creation.
75         Use attributes instead of cell_renderer functions.
76
77 2008-02-03  John Darrington <john@darrington.wattle.id.au>
78
79         * psppire-case-file.c psppire-case-file.h: Dont clone the casereader
80         before creating datasheet.  Add properties instead of direct code 
81         in _new function.
82
83         * psppire-data-store.c:  Implement proper dispose function.
84
85 2008-01-29  John Darrington <john@darrington.wattle.id.au>
86
87         * psppire-var-ptr.c psppire-var-ptr.h: New files
88
89         * t-test-paired-samples.c t-test-paired-samples.h: New files
90
91         * dialog-common.c dialog-common.h (append_variable_names): Add extra 
92         argument to specify the column number containing the variables.
93
94         * psppire-selector.c psppire-selector.h:  Add auxilliary data variable
95         to SelectItemsFunc.  (is_item_in_dest) transform model value to G_TYPE_INT
96         before using.  Hence the model need not be of integer type.
97
98 2008-01-22  John Darrington <john@darrington.wattle.id.au>
99
100         * psppire-dict.c (psppire_dict_rename_var): Fixed bug where
101         an assertion failure occured when renaming variables to an
102         existing name. Thanks to Ben for reporting this.
103
104 2007-12-13  John Darrington <john@darrington.wattle.id.au>
105
106         * dialog-common.c dialog-common.h (numeric_only): New function.
107
108         * t-test-independent-samples-dialog.c:  Added the ability to specify 
109         groups by a threshold ("Cut Point").  Keep OK/Paste buttons insensitive,
110         until groups are properly defined.  Prevented variables treeview from
111         accepting string variables.
112
113 2007-12-08  John Darrington <john@darrington.wattle.id.au>
114
115         * data-editor.h data-editor.c: Added hooks for one sample t-test
116
117         * t-test-one-sample.c t-test-one-sample.h (new files): Implemented
118         a dialog box for the One Sample T Test.
119
120         * t-test-independent-samples-dialog.c: Factored out the options sub
121         dialog (see following).
122
123         * t-test-options.c t-test-options.h (new files):  New module
124          implementing the options sub-dialog for T tests.
125
126 2007-12-07  John Darrington <john@darrington.wattle.id.au>
127
128         * frequencies-dialog.c: Made the options subdialog transient
129         on the parent.
130
131 2007-12-01  John Darrington <john@darrington.wattle.id.au>
132
133         * descriptives-dialog.c: Moved the code dealing with checkboxes 
134         inside treeview widgets into their own files.
135
136         * checkbox-treeview.c checkbox-treeview.h: New file (see above).
137
138         * frequencies-dialog.c frequencies-dialog.h frequencies.glade: New 
139         files. Implemented FREQUENCIES dialog box.
140
141         * data-editor.c data-editor.h data-editor.glade :  Added callback
142         for frequencies dialog.
143
144
145 2007-11-23  John Darrington <john@darrington.wattle.id.au>
146
147         * psppire-acr.c psppire-acr.h: Generalised the external widget
148         somewhat. It can now be anything, not necessarily a GTK_ENTRY.
149
150         * helper.c helper.h (clone_list_store): New function.
151
152         * oneway-anova-dialog.c : Used the clone_list_store function
153         instead of writing it ourselves.
154         
155         * psppire-dialog.c psppire-dialog.h: Added a tabular orientation
156         in addition to the horizontal/vertical options.
157         
158         * recode-dialog.c recode-dialog.h recode.glade (new files).
159
160         * psppire-selector.c psppire-selector.h: Added a function to
161         allow the prohibition of items based on a predicate.
162
163         * dialog-common.h dialog-common.c (homogeneous_types): New function.
164
165         * data-editor.c data-editor.glade data-editor.h: Enabled the
166         recode dialog options.
167
168
169 2007-11-23  John Darrington <john@darrington.wattle.id.au>
170
171         * compute-dialog.c (generate_syntax): Append "EXECUTE." to the 
172         generated syntax.
173
174 2007-10-19  John Darrington <john@darrington.wattle.id.au>
175
176         * psppire-acr.c psppire-acr.h (new files): Added this new
177         composite widget.
178
179         * data-editor.c data-editor.h: Added entries for ONEWAY command
180         dialog box.
181
182         * oneway-anova-dialog.c oneway-anova-dialog.h oneway.glade (new files)
183         
184 2007-10-06  John Darrington <john@darrington.wattle.id.au>
185         
186         * psppire-dialog.c psppire-dialog.h: Added a predicate function
187         member to indicate when a dialog's state is (not) valid. Added a
188         signal "validity-changed" which gets emitted whenever this
189         predicate changes. 
190
191         * psppire-buttonbox.c: Connect to the toplevel window's
192         "validity-changed" signal (assuming it happens to be a
193         PsppireDialog) and set the OK, PASTE, GOTO and CONTINUE buttons
194         according.y. 
195
196         * descriptives-dialog.c compute-dialog.c: Add a validity predicate.
197
198 2007-10-05  Ben Pfaff  <blp@gnu.org>
199
200         Add DESCRIPTIVES dialog.
201         
202         * automake.mk (dist_src_ui_gui_psppire_DATA): Add
203         descriptives-dialog.data.
204         (src_ui_gui_psppire_SOURCES): Add descriptives-dialog.c,
205         descriptives-dialog.h.
206
207         * data-editor.c (new_data_editor): Connect descriptive dialog to
208         action.
209
210         * data-editor.glade: Change menu item to invoke DESCRIPTIVES.
211
212         * descriptives-dialog.c: New file.
213         
214         * descriptives-dialog.h: New file.
215         
216         * descriptives-dialog.glade: New file.
217
218 2007-10-04  John Darrington <john@darrington.wattle.id.au>
219
220         * compute-dialog.c goto-case-dialog.c main.c psppire-keypad.c: Added 
221         #include <config.h>
222
223         * psppire.glade about.c: Read GPL text from src/libpspp/copyleft.c 
224         instead of makeing another copy in psppire.glade.
225
226         * psppirebuttonbox.c psppire.c: Create a new stock item for 
227         RESET buttons.
228         
229 2007-09-26  John Darrington <john@darrington.wattle.id.au>      
230         
231         * output-viewer.c output-viewer.h psppire.c: (closes patch #6210) 
232         Changed width and length parameters of output driver to
233         "auto". Changed default width and length  to be something
234         acceptable to the ascii driver.  (reload_viewer) Dynamically
235         allocate the line buffer so that it matches the width of the output.
236         
237 2007-09-24  Ben Pfaff  <blp@gnu.org>
238
239         * message-dialog.c (popup_message): Refer to files that contain
240         commands as "syntax" files, not "script" files, for better user
241         familiarity.
242         Patch #6210.  Reviewed by John Darrington.
243
244 2007-09-19  John Darrington <john@darrington.wattle.id.au>
245         
246         * message-dialog.c: Changed the ouput message title to be 
247         appropriate for the severity of the message.
248
249         * output-viewer.c output-viewer.h : Added a callback for the resize 
250         signal of the output viewer, and set the viewport length and
251         width accordingly.
252
253         * psppire.c: Update to new init_settings interface.
254
255 2007-09-27  John Darrington <john@darrington.wattle.id.au>
256
257         Addressing bug #20821:
258         
259         * psppire-dict.c: Added a BACKEND_CHANGED signal to indicate when 
260         a PsppireDict's struct dictionary has been replaced.
261
262         * psppire-var-store.c: Added the appropriate method for 
263         get_column_count. Added a signal handler for dict:BACKEND_CHANGED, 
264         which calls the g_sheet_model_range_changed for the entire sheet.
265         
266 2007-09-18  Ben Pfaff  <blp@gnu.org>
267
268         * helper.c (create_casereader_from_data_store): New function.
269         (execute_syntax): Only replace the active file data by a new
270         casereader if syntax caused the active file to be read, to avoid
271         exponential slowdown as an increasing number of snippets that do
272         not read from the active file are consecutively executed.  Bug
273         #20910.  Reviewed by and heavily influenced by John Darrington.
274
275         * psppire-data-store.c (psppire_data_store_get_value_count): New
276         function.
277
278         * psppire-dict.c (psppire_dict_get_value_cnt): New function.
279
280 2007-09-13  John Darrington <john@darrington.wattle.id.au>
281
282         * find-dialog.c find-dialog.h: New files.
283
284         * data-editor.c data-editor.h data-editor.glade: Added action for
285         the find dialog.
286
287         * psppire-selector.c: Emit the (de)selected signal when the 
288         destination entry widget's text changes.
289
290 2007-09-10  Ben Pfaff  <blp@gnu.org>
291
292         * var-sheet.c (psppire_variable_sheet_create): Use xstrdup to save
293         string returned by bind_textdomain_codeset.  Otherwise it can get
294         freed by a subsequent call.  Patch #6193.  Reviewed by John
295         Darrington.
296
297 2007-09-06  John Darrington <john@darrington.wattle.id.au>
298         
299         * helper.c helper.h (execute_syntax): changed return type to 
300         gboolean to indicated if all the syntax executed successfully or not.
301
302         * data-editor.c syntax-editor.c: Fixed update of recent file list
303         and window title,  on data_file_open.  They now only change, if
304         the file_open was  successfull. 
305
306
307 2007-08-25  John Darrington <john@darrington.wattle.id.au>
308
309         * psppire.c : Enable journal.
310
311 2007-08-18  John Darrington <john@darrington.wattle.id.au>
312
313         * clipboard.c clipboard.h data-editor.c: Added the ability to paste from 
314         the clipboard into the data sheet.
315
316 2007-08-16  John Darrington <john@darrington.wattle.id.au>
317
318         * output-viewer.c output-viewer.h output-viewer.glade (new files)
319           helper.c psppire.c syntax-editor.glade window-manager.c 
320           window-manager.h : Added a basic output viewer window.
321
322 2007-08-13  John Darrington <john@darrington.wattle.id.au>
323
324         * clipboard.c (clip_to_html clip_to_text): Fixed bug --- use the
325         variable count instead of the value count for the columns limit. 
326
327 2007-08-12  John Darrington <john@darrington.wattle.id.au>
328             Ben Pfaff  <blp@gnu.org>
329
330         Implement Edit|Cut operation for datasheet.  Patch #6117.
331
332         * automake.mk: Add clipboard.c, clipboard.h.
333
334         * clipboard.c: New file.
335
336         * clipboard.h: New file.
337
338         * data-editor.c (new_data_editor): Connect Edit|Copy to
339         on_edit_copy function.
340         (data_var_select): Enable or disable Edit|Copy as appropriate.
341         (on_edit_copy): New function.
342
343         * data-editor.glade: Connect menu items to new operations.
344
345 2007-08-12  Ben Pfaff  <blp@gnu.org>
346
347         * psppire-dict.c (psppire_dict_dump): Don't use
348         dict_get_compacted_dict_index_to_case_index, as that function has
349         been deleted.
350
351 2007-08-13  John Darrington <john@darrington.wattle.id.au>
352
353         * psppire-case-file.c (psppire_case_file_append_case):
354         Deleted unused function.
355
356 2007-08-07  John Darrington <john@darrington.wattle.id.au>
357
358         * helper.c (execute_syntax): Set the active file data to NULL at the
359         end of the procedure.  Thanks to Ben for suggesting this.
360
361         * psppire-case-file.c: Added assertions to the remaining functions
362         on inaccessible objects.
363
364         * psppire-data-store.c psppire-data-store.h: Disconnect or block
365         signals on dictionary and case_file, when make_reader has been called.
366         Reconnect or unblock them when a new datasheet has been set for the
367         data_store.
368
369 2007-08-06  John Darrington <john@darrington.wattle.id.au>
370
371         * syntax-editor.glade: Changed some properties to be less annoying.
372
373 2007-07-29  John Darrington <john@darrington.wattle.id.au>
374
375         * helper.c psppire.c: Enabled the output system so that the results
376         of analysis can be seen.
377
378 2007-07-26  John Darrington <john@darrington.wattle.id.au>
379
380         * helper.c helper.h (execute_syntax): removed implicit EXECUTE at end
381         of commands.
382
383         * data-editor.c data-editor.glade: Added "Run Pending Transformations"
384         menuitem.
385
386 2007-07-25  John Darrington <john@darrington.wattle.id.au>
387
388         * customentry.c: Redraw button in insensitive state, if the widget's
389          "editable" style is FALSE.  Don't emit the "clicked" signal if
390          "editable" is FALSE.
391
392         * var-sheet.c: If variables are long-string variables, then set the
393         "editable" properties of the entry widgets for the values and missing
394         cells to FALSE,
395
396 2007-07-18  John Darrington <john@darrington.wattle.id.au>
397
398         * psppire-case-file.c psppire-case-file.h psppire-data-store.c
399         psppire-dict.c psppire-dict.h psppire-var-store.c : Added the
400         ability to resize string variables.  Fixed associated problems
401         inserting/deleting variables.
402
403         * helper.c helper.h (marshaller_VOID__INT_INT_INT): New marshaller
404         function.
405
406 2007-07-16  John Darrington <john@darrington.wattle.id.au>
407
408         * data-editor.c: File Open dialog remembers directory.  Thanks to
409         Ben Pfaff for this suggestion.
410
411 2007-07-15  John Darrington <john@darrington.wattle.id.au>
412
413         * compute-dialog.c: Only generate NUMERIC/STRING command if the
414         type-and-label dialog was used.
415
416 2007-07-12  John Darrington <john@darrington.wattle.id.au>
417
418         * psppire-data-store.c: Added call to g_sheet_model_range_changed to
419         ensure that datasheet displays the current store.
420
421         * psppire-data-store.h: Formatting tidy up.
422
423 2007-07-11  John Darrington <john@darrington.wattle.id.au>
424
425         * compute-dialog.c : Set type-and-label dialog to sensible state,               and made syntax generation depend upon existence of target variable.
426
427 2007-07-08  John Darrington <john@darrington.wattle.id.au>
428
429         * data-editor.c data-editor.glade data-editor.h: Implemented
430         the "Insert Case" button/dialog.
431
432 2007-07-08  John Darrington <john@darrington.wattle.id.au>
433
434         * goto-case-dialog.c goto-case-dialog.h (new files)
435         * automake.mk data-editor.c data-editor.glade data-editor.h
436         psppire-case-file.c psppire-case-file.h psppire-data-store.c
437         psppire-data-store.h psppire.glade :  Implemented the goto-case dialog
438
439
440 2007-07-07  John Darrington <john@darrington.wattle.id.au>
441
442         * psppire-data-store.c psppire-data-store.h: Made cases number from
443         1 instead of 0.
444
445         * psppire-data-store.c: Added a tooltip like feature to display
446         the label of variables.
447
448 2007-07-03  John Darrington <john@darrington.wattle.id.au>
449
450         * data-editor.c data-sheet.c: Turned off autoscrolling, and
451         manually move to cell on column click instead.
452
453 2007-06-29  John Darrington <john@darrington.wattle.id.au>
454
455         * data-editor.c data-editor.glade psppire-data-store.c
456         psppire-data-store.h: Enabled cell reference entry and datum
457         entry widgets.
458
459 2007-06-29  John Darrington <john@darrington.wattle.id.au>
460
461         * data-editor.c data-sheet.c: Moved update_cell_ref_entry from
462         data-sheet.c to data-editor.c and made it work again.
463
464 2007-06-06  Ben Pfaff  <blp@gnu.org>
465
466         Adapt case sources, sinks, and clients of procedure code to the
467         new infrastructure.
468
469         * automake.mk: Removed files.
470
471         * flexifile-factory.c: Removed, dead code.
472         * flexifile-factory.h: Ditto.
473
474         * helper.c: Adapt to new procedure and datasheet code.
475         * missing-val-dialog.c: Ditto.
476         * psppire-case-file.c: Ditto.
477         * psppire-data-store.c: Ditto.
478         * psppire.c: Ditto.
479
480 2007-06-03  Ben Pfaff  <blp@gnu.org>
481
482         * psppire-var-store.c (psppire_var_store_item_editable): Use
483         var_is_alpha.
484
485 2007-05-07 John Darrington <john@darrington.wattle.id.au>
486
487         * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
488         to allow dialogs to be either vertical or horizontal.
489
490         * comments-dialog.c comments-dialog.h: New files, invoking
491         ADD DOCUMENT cmd.
492
493 2007-04-30 John Darrington <john@darrington.wattle.id.au>
494
495         * var-display.c var-display.h variable-info-dialog.c
496         variable-info-dialog.h : New files.
497
498         * data-editor.c :
499
500         * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
501         property, and optional  GOTO and CONTINUE buttons.
502
503         * psppire-dialog.h: Added response codes for the new buttons.
504
505         * psppire-var-store.c : Moved some code to var-display.[ch]
506
507 2007-04-25 John Darrington <john@darrington.wattle.id.au>
508
509         * icons/scalable/splash.c icons/splash.png : More eye candy.
510
511         * main.c psppire.h : new files.
512
513         * psppire.c : Seperated the command line parsing and other
514         environment startup from the core psppire code.
515
516 2007-04-25 John Darrington <john@darrington.wattle.id.au>
517
518         * icons/scalable icons/16x16: new directories.
519         * psppire.c : Add new icons to factory.
520
521         * dict-display.c: Refactor code get model from modelfilter.
522         Added cellrenderer to display icon indicating variables' types.
523         Displayed the label of variables, if there is one.
524
525
526 2007-04-15  Ben Pfaff  <blp@gnu.org>
527
528         * compute-dialog.c (function_list_populate): Use new accessor
529         functions exported by language/expressions/public.h.
530
531 2007-04-15  Ben Pfaff  <blp@gnu.org>
532
533         * compute-dialog.c: Make #include for parse.inc work with VPATH
534         builds.
535
536 2007-04-13   John Darrington <john@darrington.wattle.id.au>
537
538         * var-type-dialog.c: Added a FMT_DATETIME20 template.
539
540 2007-04-04   John Darrington <john@darrington.wattle.id.au>
541
542         * compute-dialog.c compute-dialog.h: New files
543
544         * data-editor.c data-editor.h data-editor.glade : Added Transform
545         menu, and support for Compute dialog
546
547         * glade-register.c psppire-buttonbox.c psppire-buttonbox.h
548           psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c
549           psppire-vbuttonbox.h : Made buttonbox an abstract base class
550          and separated it into vbuttonbox and hbuttonbox.
551
552         * psppire-selector.c : Allowed GtkTextView to be the destination
553         widget.
554
555         * psppire-keypad.c: Added an "erase" signal.  Fixed other
556         minor problems.
557
558 2007-04-03  Ben Pfaff  <blp@gnu.org>
559             John McCabe-Dansted <gmatht@gmail.com>
560
561         * psppire-selector.c (psppire_selector_set_subjects): Add an
562         assert that may or may not trap some Windows-related bugs.
563
564 2007-04-03   John Darrington <john@darrington.wattle.id.au>
565
566         * data-editor.c data-editor.glade helper.h syntax-editor.c
567         syntax-editor.h : Implemented the File->Recently_Used_ menus.
568
569
570 2007-03-31   John Darrington <john@darrington.wattle.id.au>
571
572         * data-editor.c data-editor.glade data-editor.h dialog-common.c
573         psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
574         psppire-selector.c psppire-selector.h psppire.c psppire.glade
575         sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
576         transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
577         button on all the dialogs.
578
579 2007-03-31   John Darrington <john@darrington.wattle.id.au>
580
581         * data-editor.c: Added hooks for the split-file-dialog
582
583         * psppire.glade: Added the split file dialog box.
584
585         * split-file-dialog.c split-file-dialog.h: New files.
586
587         * dialog-common.c dialog-common.h: New files containing functions
588         which seem to be used a lot in dialog box implementations.
589
590         * psppire-keypad.c psppire-keypad.h: New files.  Implements keypad
591         thingumy widget.
592
593         * psppire-selector.c: Made the orientation of the arrow a property
594         of the widget, so that it can be selected from glade.
595
596 2007-03-18  Ben Pfaff  <blp@gnu.org>
597
598         * syntax-editor-source.c (close): Rename do_close to avoid naming
599         conflict with POSIX function of same name.
600
601 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
602         * psppire.c:  Changed gtk_init to gtk_parse_args, followed by a delayed         call to gdk_init, so that psppire --version will succeed, even if it
603         cannot connect to a display .
604
605 Wed Mar  7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
606
607         * var-sheet.c: Replaced call to nl_langinfo with locale_charset
608         from gnulib.
609
610 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
611
612         * data-editor.c : called new gen_quoted_string function to properly
613           quote filenames in generated syntax.
614
615         * window-manager.c : Converted name from filename encoding to UTF8
616           before displaying in title bar.
617
618 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
619
620         * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
621
622         * data-editor.c: Clear existing file name on FILE NEW.
623
624 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
625
626         * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
627         against gtk.2.10
628
629 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
630
631         * psppire-var-select.c psppire-var-select.h : Deleted.
632
633         * psppire-selector.c psppire-selector.h : New files.
634
635         * transpose-dialog.c transpose-dialog.h : New files.
636
637         * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel
638         interface functions.
639
640         * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented,
641         using new PsppireSelector widget.
642
643         * dict-display.c dict-display.h : New files.
644
645         * psppire-object.c psppire-object.h : Deleted.  Seemed like a good idea at the time.
646
647 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
648
649         * helper.c helper.h: New function execute_syntax.
650
651         * syntax-editor.c syntax-editor.glade: Disabled data open/save menu
652         items.
653
654         * data-editor.c data-editor.glade data-editor.h: Enabled data
655         open/save/save_as  menu-items.
656
657         * window-manager.h window-manager.c (default_window_name) : New
658         function.
659
660 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
661
662         * psppire-case-file.c psppire-data-store.c psppire-dialog.c
663         psppire-dict.c psppire-var-select.c : Replaced identifier 'signal'
664         with 'signals' to avoid conflict with sysv based systems which use
665         this identifer for something else.
666         Thanks to Daniel E WILLIAMS for reporting this problem.
667
668 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
669
670         * psppire-case-file.c : Make sure there is always a valid flexifile
671
672         * psppire-data-store.c : assertions.
673
674         * psppire.c: Ignore replace source callbacks if the new source is
675           not of storiage_source_class
676
677         * syntax-editor.c: Close/Abort source after parsing is complete.
678
679 Sun Jan  7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
680
681         * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals
682         corresponding to the callbacks in src/data/dictionary.c
683
684         * data-editor.c : Connect functions to the FILTER_CHANGED and
685         SPLIT_CHANGED signals to update the status bar accordingly.
686
687 Mon Jan  1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
688
689         * psppire-case-file.c psppire-case-file.h: Changed the backend
690         semantics. An object is now created without any backend.  A new function        ( psppire_case_file_replace_flexifile ) sets the backend to use.
691
692         * psppire-data-store.c : Updated callers accordingly.
693
694         * psppire-dict.c psppire-dict.h : New function
695         (psppire_dict_replace_dictionary) .
696
697         * psppire.c : Updated to use new dataset replace_{source, dictionary}
698         callbacks.
699
700         * syntax-editor.c : parses in state CMD_STATE_DATA unless there are
701         no variables in the dictionary.
702
703 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
704
705         * data-editor.c data-editor.glade: Enabled deleting of variables from
706         the variable sheet.
707
708 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
709
710         * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
711         These are not required, now that src/data/dictionary.c has callbacks
712
713 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
714
715         * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
716         labels dialog box.
717
718 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
719
720         * syntax-editor-source.c syntax-editor-source.h syntax-editor.h:
721         New files.
722
723         * message-dialog.c :  Now reports the filename and line number in
724         error messages.
725
726         * psppire.c psppire.glade syntax-editor.c: Added the ability to run
727         syntax from the syntax editor.
728
729
730 Sat Dec 16 14:13:07 2006  Ben Pfaff  <blp@gnu.org>
731
732         * psppire-data-store.c (geometry_get_justification): Don't assume
733         that ALIGN_* and GTK_JUSTIFY_* values coincide.
734
735 Sat Dec 16 14:10:43 2006  Ben Pfaff  <blp@gnu.org>
736
737         * psppire-var-store.c (text_for_column): Adjust to account for new
738         values of the MEASURE_* enums.
739
740         * var-sheet.c (change_measure): Ditto.
741
742 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
743
744         * psppire-variable.c psppire-variable.h: Deleted.
745
746         * psppire-dict.c psppire-dict.h: Removed the caching of the variable
747             data, which is now unecessary because src/data/vardict.h maintains
748             an association between variables and their dictionary.
749
750         * data-sheet.c menu-actions.c missing-val-dialog.c
751           missing-val-dialog.h psppire-data-store.c
752           psppire-var-store.c psppire-var-store.h
753           sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h
754           var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the
755             consequences of deleting psppire-variable.[ch].
756
757
758 Sat Dec  9 20:03:04 2006  Ben Pfaff  <blp@gnu.org>
759
760         * var-type-dialog.c (var_type_dialog_create): Use
761         fmt_dollar_template from data/format.c.
762         (dollar_format_template) Removed.
763
764 Sat Dec  9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
765
766         * syntax-editor.c : New file.
767
768 Tue Oct 31 19:25:31 2006  Ben Pfaff  <blp@gnu.org>
769
770         * var-type-dialog.c: Add missing "#include <config.h>".
771
772         * psppire.c: Ditto.
773
774 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
775
776     * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
777     psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
778     psppire.c psppire.glade: Adjusted code to use the new flexifile object.
779
780 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
781
782    * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where
783         there's no suitable gtk stock icon.
784
785 Tue Jul  4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
786
787    * psppire.c: Fixed --help and --version options.
788
789 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
790
791    * menu-actions.c: Added goto case and sort cases dialogs.
792
793    * psppire-case-file.c psppire-case-file.h: Added sort function.
794
795    * psppire-data-store.c psppire-variable.c psppire-variable.h:
796      Renamed  psppire_variable_get_index to psppire_variable_get_fv and
797      dealt with the consequences.  Added a psppire_variable_get_index
798      function which actually does what the name suggests.
799
800    * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
801      which allows a dictionary to be displayed in a GtkTreeView.
802
803    * psppire.glade: Added dialog boxes for Goto Case and Sort Case.
804
805    * sort-cases-dialog.c sort-cases-dialog.h (new files).
806
807 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
808
809    * psppire-case-file.c psppire-case-file.h (new files)
810
811    * automake.mk data-sheet.c data-sheet.h menu-actions.c
812    psppire-data-store.c psppire-data-store.h psppire-dict.c
813    psppire-dict.h psppire-var-store.c psppire.c
814
815      Replaced psppire-case-array.c  with psppire-case-file.c, so as to
816      allow an arbitrary number of cases to be represented.
817
818 Sun Jun  4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
819
820    * psppire-var-store.c, psppire.c, var-sheet.c :  Unlimited the number of
821    variables that can be displayed. Minor i18n issues.
822
823 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
824
825    * menu-actions.c menu-actions.h psppire.c: Fixed up load/new
826    interactions with startup.
827
828    * psppire-data-store.c: Fixed bad i18n call.
829
830    * pspppire-var-store.c, psppire-var-store.h: constness.
831
832    * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
833
834
835 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
836
837    * customentry.c data-sheet.c menu-actions.c message-dialog.c
838      missing-val-dialog.c psppire-data-store.c psppire-var-store.c
839      psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
840
841 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
842
843    * psppire-var-store.c: Converted strings to utf8 and returned them on the
844    heap.
845
846 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
847
848    * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
849    active cell is never on a deleted variable.
850
851    * psppire-data-store.c psppire-data-store.h:  Added get_var_count and
852    get_case_count functions.
853
854    * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
855
856    * psppire.c: Allowed user to specify *.sav file on command line.
857
858 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
859
860         * menu-actions.c psppire-case-array.c psppire-case-array.h
861           psppire-data-store.c  psppire-dict.c psppire-dict.h
862           psppire-variable.c:
863
864           Initialised new cases to SYSMIS/blank when inserting in data sheet.
865
866 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
867
868         * data-sheet.c, helper.c, helper.h, psppire-data-store.c,
869           psppire-var-store.c:
870
871           Set free_strings flag so that the gtksheet frees the string data
872           when it's done with them.
873
874 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
875
876         * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c
877         psppire.c: Converted strings to utf8 before passing to gtksheet.
878
879         * psppire-dict.c: Changed buffer to more reasonable length
880
881         * var-sheet.c: Changed maximum string length to use macro from
882         data/values.h
883
884
885 Sun May  7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
886
887         * psppire-data-store.c: Fixed buglet initialising string members.
888
889 Thu May  4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
890
891         * message-dialog.c message-dialog.h: Added simple queuing to messages
892         reported, and ensure that dialog boxes dont appear when pointer grab
893         is active.
894
895         * psppire-data-store.c: Fix overflow on very long string variables.
896
897         * automake.mk: Fix broken dependency.
898
899
900 Tue Apr 25 11:08:04 2006  Ben Pfaff  <blp@gnu.org>
901
902         Finish reforming error message support.  In this phase, move
903         message.c into libpspp.
904
905         * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
906
907 Tue Apr 25 10:56:53 2006  Ben Pfaff  <blp@gnu.org>
908
909         Continue reforming error message support.  In this phase, drop
910         actual message printing from core code, substituting a callback,
911         and add the callback to each UI.  Also, move verbose_msg() into
912         its own module.
913
914         * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
915
916         * message-dialog.c: (message_dialog_init) New function.
917         (vmsg) Rename handle_msg(), rewrite as callback function.
918         (msg) Removed.
919         (msg_emit) Removed.
920         (msg_assert_fail) Removed.
921         (verbose_msg) Removed.
922
923         * psppire.c: (main) Call message_dialog_init().
924
925 Sun Apr 23 22:07:49 2006  Ben Pfaff  <blp@gnu.org>
926
927         Continue reforming error message support.  In this phase, get rid
928         of message "titles" and put the message text in `struct error'.
929         Now `struct error' encapsulates a message more properly.
930
931         * message-dialog.c: (err_vmsg) Rename err_msg().  Updated
932         interface.
933
934 Sun Apr 16 20:45:35 2006  Ben Pfaff  <blp@gnu.org>
935
936         Continue reforming error message support.  In this phase, we
937         divide the classification of messages along "category" and
938         "severity" axes.
939
940         * message-dialog.c: (vmsg) Use severity and category in
941         straightforward fashion instead of the less obvious "class".
942         (err_vmsg) Construct class before passing along to vmsg().
943
944 Sun Apr 16 16:06:54 2006  Ben Pfaff  <blp@gnu.org>
945
946         Continue reforming error message support.  In this phase, we get
947         rid of VM() and the other msg() support for "verbosity", replacing
948         it by a new function verbose_msg().
949
950         * message-dialog.c: (verbose_msg) New function.
951         (err_cond_fail) Removed (dead code).
952         (err_failure) Removed (dead code).
953
954 Sun Apr 16 11:53:25 2006  Ben Pfaff  <blp@gnu.org>
955
956         Start reforming error message support.  In this phase, we get rid
957         of "installation errors" and change all uses of msg() in the
958         output drivers to uses of error() or error_at_line().
959
960         * message-dialog.c: (vmsg) Removed IE, IS support.
961
962 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
963
964     * psppire.c: Supported (sort of) the --help and --version options.
965
966     * Rename error-dialog.[ch] -> message-dialog.[ch]
967
968     * Moved code from the psppire module.
969
970 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
971
972     * Separated the data out of the GtkSheet.
973
974 Tue Nov  2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
975
976     * Very first incarnation.