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