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