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