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