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