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