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