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