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