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