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