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