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