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