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