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