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