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