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