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