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