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