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