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