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