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