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