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