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