Made the datasheet redraw itself when new data is loaded.
[pspp-builds.git] / src / ui / gui / ChangeLog
1 2007-07-12  John Darrington <john@darrington.wattle.id.au>
2
3         * psppire-data-store.c: Added call to g_sheet_model_range_changed to 
4         ensure that datasheet displays the current store.
5
6         * psppire-data-store.h: Formatting tidy up.
7
8 2007-07-11  John Darrington <john@darrington.wattle.id.au>
9
10         * compute-dialog.c : Set type-and-label dialog to sensible state,               and made syntax generation depend upon existence of target variable.
11
12 2007-07-08  John Darrington <john@darrington.wattle.id.au>
13
14         * data-editor.c data-editor.glade data-editor.h: Implemented 
15         the "Insert Case" button/dialog.
16
17 2007-07-08  John Darrington <john@darrington.wattle.id.au>
18
19         * goto-case-dialog.c goto-case-dialog.h (new files)
20         * automake.mk data-editor.c data-editor.glade data-editor.h 
21         psppire-case-file.c psppire-case-file.h psppire-data-store.c 
22         psppire-data-store.h psppire.glade :  Implemented the goto-case dialog
23         
24
25 2007-07-07  John Darrington <john@darrington.wattle.id.au>
26         
27         * psppire-data-store.c psppire-data-store.h: Made cases number from 
28         1 instead of 0. 
29
30         * psppire-data-store.c: Added a tooltip like feature to display
31         the label of variables. 
32         
33 2007-07-03  John Darrington <john@darrington.wattle.id.au>
34         
35         * data-editor.c data-sheet.c: Turned off autoscrolling, and 
36         manually move to cell on column click instead.
37
38 2007-06-29  John Darrington <john@darrington.wattle.id.au>
39
40         * data-editor.c data-editor.glade psppire-data-store.c 
41         psppire-data-store.h: Enabled cell reference entry and datum 
42         entry widgets.
43
44 2007-06-29  John Darrington <john@darrington.wattle.id.au>
45
46         * data-editor.c data-sheet.c: Moved update_cell_ref_entry from 
47         data-sheet.c to data-editor.c and made it work again.
48
49 2007-06-06  Ben Pfaff  <blp@gnu.org>
50
51         Adapt case sources, sinks, and clients of procedure code to the
52         new infrastructure.
53         
54         * automake.mk: Removed files.
55
56         * flexifile-factory.c: Removed, dead code.
57         * flexifile-factory.h: Ditto.
58
59         * helper.c: Adapt to new procedure and datasheet code.
60         * missing-val-dialog.c: Ditto.
61         * psppire-case-file.c: Ditto.
62         * psppire-data-store.c: Ditto.
63         * psppire.c: Ditto.
64
65 2007-06-03  Ben Pfaff  <blp@gnu.org>
66
67         * psppire-var-store.c (psppire_var_store_item_editable): Use
68         var_is_alpha.
69         
70 2007-05-07 John Darrington <john@darrington.wattle.id.au>
71
72         * psppire-dialog.c psppire-dialog.h: Added "orientation" property,
73         to allow dialogs to be either vertical or horizontal.
74
75         * comments-dialog.c comments-dialog.h: New files, invoking 
76         ADD DOCUMENT cmd.
77
78 2007-04-30 John Darrington <john@darrington.wattle.id.au>
79
80         * var-display.c var-display.h variable-info-dialog.c
81         variable-info-dialog.h : New files. 
82
83         * data-editor.c : 
84
85         * psppire-buttonbox.c psppire-buttonbox.h : Added the "buttons"
86         property, and optional  GOTO and CONTINUE buttons.
87
88         * psppire-dialog.h: Added response codes for the new buttons.
89
90         * psppire-var-store.c : Moved some code to var-display.[ch]
91
92 2007-04-25 John Darrington <john@darrington.wattle.id.au>
93
94         * icons/scalable/splash.c icons/splash.png : More eye candy.
95         
96         * main.c psppire.h : new files.
97
98         * psppire.c : Seperated the command line parsing and other 
99         environment startup from the core psppire code.
100
101 2007-04-25 John Darrington <john@darrington.wattle.id.au>
102
103         * icons/scalable icons/16x16: new directories.
104         * psppire.c : Add new icons to factory.
105
106         * dict-display.c: Refactor code get model from modelfilter. 
107         Added cellrenderer to display icon indicating variables' types.
108         Displayed the label of variables, if there is one.
109
110
111 2007-04-15  Ben Pfaff  <blp@gnu.org>
112
113         * compute-dialog.c (function_list_populate): Use new accessor
114         functions exported by language/expressions/public.h.
115
116 2007-04-15  Ben Pfaff  <blp@gnu.org>
117
118         * compute-dialog.c: Make #include for parse.inc work with VPATH
119         builds.
120
121 2007-04-13   John Darrington <john@darrington.wattle.id.au>
122         
123         * var-type-dialog.c: Added a FMT_DATETIME20 template.
124         
125 2007-04-04   John Darrington <john@darrington.wattle.id.au>
126
127         * compute-dialog.c compute-dialog.h: New files
128
129         * data-editor.c data-editor.h data-editor.glade : Added Transform 
130         menu, and support for Compute dialog
131
132         * glade-register.c psppire-buttonbox.c psppire-buttonbox.h 
133           psppire-vbottonbox.c psppire-vbuttonbox.h psppire-hbuttonbox.c 
134           psppire-vbuttonbox.h : Made buttonbox an abstract base class 
135          and separated it into vbuttonbox and hbuttonbox.
136
137         * psppire-selector.c : Allowed GtkTextView to be the destination 
138         widget.
139
140         * psppire-keypad.c: Added an "erase" signal.  Fixed other 
141         minor problems.
142
143 2007-04-03  Ben Pfaff  <blp@gnu.org>
144             John McCabe-Dansted <gmatht@gmail.com>
145
146         * psppire-selector.c (psppire_selector_set_subjects): Add an
147         assert that may or may not trap some Windows-related bugs.
148
149 2007-04-03   John Darrington <john@darrington.wattle.id.au>
150         
151         * data-editor.c data-editor.glade helper.h syntax-editor.c
152         syntax-editor.h : Implemented the File->Recently_Used_ menus.
153
154
155 2007-03-31   John Darrington <john@darrington.wattle.id.au>
156         
157         * data-editor.c data-editor.glade data-editor.h dialog-common.c
158         psppire-buttonbox.c psppire-dialog.c psppire-dialog.h
159         psppire-selector.c psppire-selector.h psppire.c psppire.glade
160         sort-cases-dialog.c sort-cases-dialog.h split-file-dialog.c
161         transpose-dialog.c weight-cases-dialog.c : Fixed the Refresh
162         button on all the dialogs. 
163         
164 2007-03-31   John Darrington <john@darrington.wattle.id.au>
165         
166         * data-editor.c: Added hooks for the split-file-dialog
167
168         * psppire.glade: Added the split file dialog box.
169         
170         * split-file-dialog.c split-file-dialog.h: New files.
171         
172         * dialog-common.c dialog-common.h: New files containing functions 
173         which seem to be used a lot in dialog box implementations. 
174
175         * psppire-keypad.c psppire-keypad.h: New files.  Implements keypad
176         thingumy widget.  
177
178         * psppire-selector.c: Made the orientation of the arrow a property
179         of the widget, so that it can be selected from glade.
180
181 2007-03-18  Ben Pfaff  <blp@gnu.org>
182
183         * syntax-editor-source.c (close): Rename do_close to avoid naming
184         conflict with POSIX function of same name.
185
186 Tue Mar 13 17:20:05 CET 2007 John Darrington <john@darrington.wattle.id.au>
187         * 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 
188         cannot connect to a display .
189         
190 Wed Mar  7 19:05:12 CET 2007 John Darrington <john@darrington.wattle.id.au>
191
192         * var-sheet.c: Replaced call to nl_langinfo with locale_charset 
193         from gnulib.
194
195 Thu Feb 22 12:27:41 CET 2007 John Darrington <john@darrington.wattle.id.au>
196
197         * data-editor.c : called new gen_quoted_string function to properly 
198           quote filenames in generated syntax.
199
200         * window-manager.c : Converted name from filename encoding to UTF8 
201           before displaying in title bar.
202
203 Tue Jan 30 20:13:46 WST 2007 John Darrington <john@darrington.wattle.id.au>
204
205         * psppire-dict.c: Call all the callbacks when a new dictionary becomes current.
206
207         * data-editor.c: Clear existing file name on FILE NEW.
208
209 Sat Jan 27 09:48:21 WST 2007 John Darrington <john@darrington.wattle.id.au>
210
211         * var-type-dialog.c: Fixed bugs closing window, apparent when compiled
212         against gtk.2.10
213
214 Fri Jan 26 15:51:34 WST 2007 John Darrington <john@darrington.wattle.id.au>
215
216         * psppire-var-select.c psppire-var-select.h : Deleted.
217
218         * psppire-selector.c psppire-selector.h : New files.
219
220         * transpose-dialog.c transpose-dialog.h : New files.
221
222         * psppire-dict.c psppire-dict.h : Added missing GtkTreeModel 
223         interface functions.
224
225         * weight-cases-dialog.c weight-cases-dialog.h : Re-implemented, 
226         using new PsppireSelector widget.
227
228         * dict-display.c dict-display.h : New files.
229
230         * psppire-object.c psppire-object.h : Deleted.  Seemed like a good idea at the time.
231
232 Tue Jan 23 21:10:01 WST 2007 John Darrington <john@darrington.wattle.id.au>
233
234         * helper.c helper.h: New function execute_syntax.
235
236         * syntax-editor.c syntax-editor.glade: Disabled data open/save menu 
237         items.
238
239         * data-editor.c data-editor.glade data-editor.h: Enabled data 
240         open/save/save_as  menu-items.
241         
242         * window-manager.h window-manager.c (default_window_name) : New 
243         function.
244
245 Sat Jan 13 07:47:26 WST 2007 John Darrington <john@darrington.wattle.id.au>
246
247         * psppire-case-file.c psppire-data-store.c psppire-dialog.c
248         psppire-dict.c psppire-var-select.c : Replaced identifier 'signal' 
249         with 'signals' to avoid conflict with sysv based systems which use
250         this identifer for something else.  
251         Thanks to Daniel E WILLIAMS for reporting this problem.
252
253 Wed Jan 10 07:20:39 WST 2007 John Darrington <john@darrington.wattle.id.au>
254
255         * psppire-case-file.c : Make sure there is always a valid flexifile
256
257         * psppire-data-store.c : assertions.
258
259         * psppire.c: Ignore replace source callbacks if the new source is 
260           not of storiage_source_class
261
262         * syntax-editor.c: Close/Abort source after parsing is complete.
263
264 Sun Jan  7 08:38:29 WST 2007 John Darrington <john@darrington.wattle.id.au>
265
266         * psppire-dict.c: Add FILTER_CHANGED and SPLIT_CHANGED signals 
267         corresponding to the callbacks in src/data/dictionary.c
268
269         * data-editor.c : Connect functions to the FILTER_CHANGED and 
270         SPLIT_CHANGED signals to update the status bar accordingly.
271
272 Mon Jan  1 10:37:07 WST 2007 John Darrington <john@darrington.wattle.id.au>
273
274         * psppire-case-file.c psppire-case-file.h: Changed the backend 
275         semantics. An object is now created without any backend.  A new function        ( psppire_case_file_replace_flexifile ) sets the backend to use.
276
277         * psppire-data-store.c : Updated callers accordingly.
278
279         * psppire-dict.c psppire-dict.h : New function 
280         (psppire_dict_replace_dictionary) .
281
282         * psppire.c : Updated to use new dataset replace_{source, dictionary} 
283         callbacks.
284
285         * syntax-editor.c : parses in state CMD_STATE_DATA unless there are 
286         no variables in the dictionary.
287
288 Mon Dec 25 12:38:24 WST 2006 John Darrington <john@darrington.wattle.id.au>
289
290         * data-editor.c data-editor.glade: Enabled deleting of variables from
291         the variable sheet.
292
293 Mon Dec 25 11:28:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
294
295         * psppire-dict.c psppire-dict.h: Removed explicit signal emit calls.
296         These are not required, now that src/data/dictionary.c has callbacks
297
298 Mon Dec 25 08:49:57 WST 2006 John Darrington <john@darrington.wattle.id.au>
299
300         * var-sheet.c val-labs-dialog.c val-labs-dialog.h: Fixed bug in value
301         labels dialog box.
302
303 Sun Dec 17 08:26:10 WST 2006 John Darrington <john@darrington.wattle.id.au>
304
305         * syntax-editor-source.c syntax-editor-source.h syntax-editor.h: 
306         New files. 
307
308         * message-dialog.c :  Now reports the filename and line number in 
309         error messages.
310         
311         * psppire.c psppire.glade syntax-editor.c: Added the ability to run 
312         syntax from the syntax editor.
313
314         
315 Sat Dec 16 14:13:07 2006  Ben Pfaff  <blp@gnu.org>
316
317         * psppire-data-store.c (geometry_get_justification): Don't assume
318         that ALIGN_* and GTK_JUSTIFY_* values coincide.
319
320 Sat Dec 16 14:10:43 2006  Ben Pfaff  <blp@gnu.org>
321
322         * psppire-var-store.c (text_for_column): Adjust to account for new
323         values of the MEASURE_* enums.
324
325         * var-sheet.c (change_measure): Ditto.
326
327 Sat Dec 16 12:24:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
328
329         * psppire-variable.c psppire-variable.h: Deleted.
330
331         * psppire-dict.c psppire-dict.h: Removed the caching of the variable 
332             data, which is now unecessary because src/data/vardict.h maintains 
333             an association between variables and their dictionary.
334         
335         * data-sheet.c menu-actions.c missing-val-dialog.c 
336           missing-val-dialog.h psppire-data-store.c 
337           psppire-var-store.c psppire-var-store.h 
338           sort-cases-dialog.c val-labs-dialog.c val-labs-dialog.h 
339           var-sheet.c var-type-dialog.c var-type-dialog.h: Dealt with the 
340             consequences of deleting psppire-variable.[ch]. 
341
342
343 Sat Dec  9 20:03:04 2006  Ben Pfaff  <blp@gnu.org>
344
345         * var-type-dialog.c (var_type_dialog_create): Use
346         fmt_dollar_template from data/format.c.
347         (dollar_format_template) Removed.
348
349 Sat Dec  9 07:19:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
350
351         * syntax-editor.c : New file.
352
353 Tue Oct 31 19:25:31 2006  Ben Pfaff  <blp@gnu.org>
354
355         * var-type-dialog.c: Add missing "#include <config.h>".
356
357         * psppire.c: Ditto.
358
359 Mon Jul 17 18:21:29 WST 2006 John Darrington <john@darrington.wattle.id.au>
360
361     * automake.mk menu-actions.c psppire-case-file.c psppire-case-file.h
362     psppire-data-store.c psppire-dict.c psppire-dict.h psppire-variable.c
363     psppire.c psppire.glade: Adjusted code to use the new flexifile object.
364
365 Sat Jul 15 11:27:15 WST 2006 John Darrington <john@darrington.wattle.id.au>
366
367    * psppire.c psppire.glade automake.mk icons/* : Added toolbar icons where 
368         there's no suitable gtk stock icon.
369
370 Tue Jul  4 09:08:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
371         
372    * psppire.c: Fixed --help and --version options.
373         
374 Sat Jun 24 16:56:22 WST 2006 John Darrington <john@darrington.wattle.id.au>
375
376    * menu-actions.c: Added goto case and sort cases dialogs.
377
378    * psppire-case-file.c psppire-case-file.h: Added sort function.
379
380    * psppire-data-store.c psppire-variable.c psppire-variable.h: 
381      Renamed  psppire_variable_get_index to psppire_variable_get_fv and
382      dealt with the consequences.  Added a psppire_variable_get_index
383      function which actually does what the name suggests.
384
385    * psppire-dict.c psppire-dict.h: Implemented GtkTreeModel interface,
386      which allows a dictionary to be displayed in a GtkTreeView.        
387
388    * psppire.glade: Added dialog boxes for Goto Case and Sort Case.     
389
390    * sort-cases-dialog.c sort-cases-dialog.h (new files).
391
392 Mon Jun 19 18:10:53 WST 2006 John Darrington <john@darrington.wattle.id.au>
393
394    * psppire-case-file.c psppire-case-file.h (new files)
395    
396    * automake.mk data-sheet.c data-sheet.h menu-actions.c
397    psppire-data-store.c psppire-data-store.h psppire-dict.c
398    psppire-dict.h psppire-var-store.c psppire.c
399    
400      Replaced psppire-case-array.c  with psppire-case-file.c, so as to
401      allow an arbitrary number of cases to be represented.
402    
403 Sun Jun  4 15:50:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
404
405    * psppire-var-store.c, psppire.c, var-sheet.c :  Unlimited the number of 
406    variables that can be displayed. Minor i18n issues.
407
408 Tue May 30 19:53:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
409
410    * menu-actions.c menu-actions.h psppire.c: Fixed up load/new 
411    interactions with startup.
412
413    * psppire-data-store.c: Fixed bad i18n call.
414
415    * pspppire-var-store.c, psppire-var-store.h: constness.
416
417    * helper.c: Implemented proper way to convert from PSPP to UTF8 encoding.
418
419
420 Sat May 27 16:25:38 WST 2006 John Darrington <john@darrington.wattle.id.au>
421
422    * customentry.c data-sheet.c menu-actions.c message-dialog.c 
423      missing-val-dialog.c psppire-data-store.c psppire-var-store.c 
424      psppire.c psppire.glade var-sheet.c: Fixed internationalisation.
425
426 Thu May 25 18:01:17 WST 2006 John Darrington <john@darrington.wattle.id.au>
427
428    * psppire-var-store.c: Converted strings to utf8 and returned them on the
429    heap.
430
431 Sat May 20 21:08:18 WST 2006 John Darrington <john@darrington.wattle.id.au>
432
433    * data-sheet.c, menu-actions.c menu-actions: Fixed data sheet so that
434    active cell is never on a deleted variable.
435
436    * psppire-data-store.c psppire-data-store.h:  Added get_var_count and
437    get_case_count functions.
438
439    * psppire-dict.c: removed VARIABLE_DELETED (singular) signal.
440
441    * psppire.c: Allowed user to specify *.sav file on command line.
442
443 Mon May 15 20:01:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
444         
445         * menu-actions.c psppire-case-array.c psppire-case-array.h
446           psppire-data-store.c  psppire-dict.c psppire-dict.h 
447           psppire-variable.c:
448
449           Initialised new cases to SYSMIS/blank when inserting in data sheet.
450
451 Sat May 13 08:00:50 WST 2006 John Darrington <john@darrington.wattle.id.au>
452
453         * data-sheet.c, helper.c, helper.h, psppire-data-store.c, 
454           psppire-var-store.c:
455           
456           Set free_strings flag so that the gtksheet frees the string data 
457           when it's done with them.
458
459 Thu May 11 22:25:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
460
461         * data-sheet.c helper.c helper.h psppire-data-store.c psppire-var-store.c 
462         psppire.c: Converted strings to utf8 before passing to gtksheet.
463
464         * psppire-dict.c: Changed buffer to more reasonable length
465
466         * var-sheet.c: Changed maximum string length to use macro from
467         data/values.h
468
469         
470 Sun May  7 10:07:28 WST 2006 John Darrington <john@darrington.wattle.id.au>
471
472         * psppire-data-store.c: Fixed buglet initialising string members.
473
474 Thu May  4 18:04:04 WST 2006 John Darrington <john@darrington.wattle.id.au>
475
476         * message-dialog.c message-dialog.h: Added simple queuing to messages
477         reported, and ensure that dialog boxes dont appear when pointer grab
478         is active.
479
480         * psppire-data-store.c: Fix overflow on very long string variables.
481
482         * automake.mk: Fix broken dependency.
483
484
485 Tue Apr 25 11:08:04 2006  Ben Pfaff  <blp@gnu.org>
486
487         Finish reforming error message support.  In this phase, move
488         message.c into libpspp.
489         
490         * automake.mk: (src_ui_gui_psppire_SOURCES) Remove src/message.c.
491
492 Tue Apr 25 10:56:53 2006  Ben Pfaff  <blp@gnu.org>
493
494         Continue reforming error message support.  In this phase, drop
495         actual message printing from core code, substituting a callback,
496         and add the callback to each UI.  Also, move verbose_msg() into
497         its own module.
498
499         * automake.mk: (src_ui_gui_psppire_SOURCES) Add src/message.c.
500
501         * message-dialog.c: (message_dialog_init) New function.
502         (vmsg) Rename handle_msg(), rewrite as callback function.
503         (msg) Removed.
504         (msg_emit) Removed.
505         (msg_assert_fail) Removed.
506         (verbose_msg) Removed.
507
508         * psppire.c: (main) Call message_dialog_init().
509
510 Sun Apr 23 22:07:49 2006  Ben Pfaff  <blp@gnu.org>
511
512         Continue reforming error message support.  In this phase, get rid
513         of message "titles" and put the message text in `struct error'.
514         Now `struct error' encapsulates a message more properly.
515         
516         * message-dialog.c: (err_vmsg) Rename err_msg().  Updated
517         interface.
518
519 Sun Apr 16 20:45:35 2006  Ben Pfaff  <blp@gnu.org>
520
521         Continue reforming error message support.  In this phase, we
522         divide the classification of messages along "category" and
523         "severity" axes.
524
525         * message-dialog.c: (vmsg) Use severity and category in
526         straightforward fashion instead of the less obvious "class".
527         (err_vmsg) Construct class before passing along to vmsg().
528
529 Sun Apr 16 16:06:54 2006  Ben Pfaff  <blp@gnu.org>
530
531         Continue reforming error message support.  In this phase, we get
532         rid of VM() and the other msg() support for "verbosity", replacing
533         it by a new function verbose_msg().
534
535         * message-dialog.c: (verbose_msg) New function.  
536         (err_cond_fail) Removed (dead code).
537         (err_failure) Removed (dead code).
538
539 Sun Apr 16 11:53:25 2006  Ben Pfaff  <blp@gnu.org>
540
541         Start reforming error message support.  In this phase, we get rid
542         of "installation errors" and change all uses of msg() in the
543         output drivers to uses of error() or error_at_line().
544
545         * message-dialog.c: (vmsg) Removed IE, IS support.
546
547 Mon Mar 13 16:42:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
548
549     * psppire.c: Supported (sort of) the --help and --version options.
550
551     * Rename error-dialog.[ch] -> message-dialog.[ch]
552
553     * Moved code from the psppire module.
554         
555 Sat Jan 28 16:22:23 WST 2006 John Darrington <john@darrington.wattle.id.au>
556
557     * Separated the data out of the GtkSheet.
558
559 Tue Nov  2 19:00:28 WST 2004 John Darrington <john@darrington.wattle.id.au>
560
561     * Very first incarnation.