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