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