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