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