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