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