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