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