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