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