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