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