XEmacs 21.2.30 "Hygeia".
[chise/xemacs-chise.git.1] / lwlib / ChangeLog
1 2000-02-21  Martin Buchholz <martin@xemacs.org>
2
3         * XEmacs 21.2.30 is released.
4
5 2000-02-21  Andy Piper  <andy@xemacs.org>
6
7         * lwlib.c (merge_widget_value_args): don't delete the args before
8         copying, lw_copy_widget_value_args will do this for us if
9         necessary.
10         (lw_add_widget_value_arg): Allow existing args to be replaced.
11         (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
12         reference couting works better that way.
13         (lw_copy_widget_value_args): Do the right thing.
14
15         * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
16         much better.
17         * lwlib-Xaw.c (xaw_create_progress): ditto.
18
19 2000-02-12  Jan Vroonhof  <vroonhof@math.ethz.ch>
20
21         * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
22         compatible resource names.
23
24         * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
25         even if we are only 'compatible' with the Motif resources.
26
27 2000-02-15  Andy Piper  <andy@xemacs.org>
28
29         * xlwgauge.c (GaugeExpose): remove shadows.
30
31 2000-02-16  Martin Buchholz <martin@xemacs.org>
32
33         * XEmacs 21.2.29 is released.
34
35 2000-02-09  Valdis Kletnieks  <Valdis.Kletnieks@vt.edu>
36
37         * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
38         old gccs.
39
40 2000-02-07  Martin Buchholz <martin@xemacs.org>
41
42         * XEmacs 21.2.28 is released.
43
44 2000-01-25  Andy Piper  <andy@xemacs.org>
45
46         * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
47         widget as well.
48
49 2000-01-28  Martin Buchholz  <martin@xemacs.org>
50
51         * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
52
53 2000-01-24  Andy Piper  <andy@xemacs.org>
54
55         * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
56         stacking order.
57         (XawTabsSetHighlight): Don't unhighlight here.
58
59 2000-01-22  Martin Buchholz  <martin@xemacs.org>
60
61         * *.h: Use consistent C-standards-approved guard macro names.
62
63 2000-01-18  Martin Buchholz <martin@xemacs.org>
64
65         * XEmacs 21.2.27 is released.
66
67 2000-01-15  Andy Piper  <andy@xemacs.org>
68
69         * lwlib-Xlw.c (lw_update_one_widget): make sure global
70         properties gets set.
71
72 2000-01-07  Martin Buchholz  <martin@xemacs.org>
73
74         * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
75         This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
76
77         * lwlib.c: Fix up memset calls.
78
79         * lwlib-Xm.c (xm_update_text): Warning suppression.
80         (xm_update_text_field): Warning suppression.
81
82 2000-01-03  Martin Buchholz  <martin@xemacs.org>
83
84         * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
85         (yes-or-no-p-dialog-box "Yes or No")
86
87 1999-12-31  Martin Buchholz <martin@xemacs.org>
88
89         * XEmacs 21.2.26 is released.
90
91 1999-12-29  Andy Piper  <andy@xemacs.org>
92
93         * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
94         not num_children.
95         (TabsPage): ditto.
96
97 1999-12-24  Martin Buchholz <martin@xemacs.org>
98
99         * XEmacs 21.2.25 is released.
100
101 1999-12-23  Andy Piper  <andy@xemacs.org>
102
103         * lwlib.c (lw_copy_widget_value_args): don't create empty
104         widget_args just because someone might use them later. This makes
105         all widgets look like they've changed.
106
107 1999-12-22  Andy Piper  <andy@xemacs.org>
108
109         * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
110         <lipp@primus.com>.
111
112 1999-12-21  Martin Buchholz  <martin@xemacs.org>
113
114         * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
115
116 1999-12-12  Daniel Pittman  <daniel@danann.net>
117
118         * lwlib-Xaw.c: 
119         * xlwcheckbox.c:
120         * xlwgauge.h:
121         * xlwgaugeP.h:
122         * xlwradio.c:
123         * xlwradio.h:
124         * xlwradioP.h:
125         Clean up Athena widget support:
126         - Athena headers now use dynamic include paths.
127
128 1999-12-08  Andy Piper  <andy@xemacs.org>
129
130         * xlwtabs.c: sync with Tabs 2.2.
131         * xlwtabP.h: ditto.
132
133 1999-12-14  Martin Buchholz <martin@xemacs.org>
134
135         * XEmacs 21.2.24 is released.
136
137 1999-12-14  Andy Piper  <andy@xemacs.org>
138
139         * xlwtabs.c (TabsResize): reset need_layout so that we don't go
140         into infloop death.
141
142 1999-12-14  Andy Piper  <andy@xemacs.org>
143
144         * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
145
146 1999-12-13  Andy Piper  <andy@xemacs.org>
147
148         * xlwtabs.c (TabsResize): We need to expose the tabs after
149         clearing the window they are in.
150
151 1999-12-08  Andy Piper  <andy@xemacs.org>
152
153         * xlwtabs.c: sync with Tabs 2.1.
154
155 1999-12-07  Andy Piper  <andy@xemacs.org>
156
157         * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
158         clip-window as well.
159
160 1999-12-07  Martin Buchholz <martin@xemacs.org>
161
162         * XEmacs 21.2.23 is released.
163
164 1999-12-05  Andy Piper  <andy@xemacs.org>
165
166         * xlwtabs.c: back up to previous rev to make syncing easier. Fix
167         gcc moans.
168
169         * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
170
171 1999-11-29  XEmacs Build Bot <builds@cvs.xemacs.org>
172
173         * XEmacs 21.2.22 is released
174
175 1999-11-28  Martin Buchholz <martin@xemacs.org>
176
177         * XEmacs 21.2.21 is released.
178
179 1999-11-26  Martin Buchholz  <martin@xemacs.org>
180
181         * xlwtabs.c: Remove unused variables.  Fix warnings.
182
183 1999-11-10  XEmacs Build Bot <builds@cvs.xemacs.org>
184
185         * XEmacs 21.2.20 is released
186
187 1999-09-09  Andy Piper  <andy@xemacs.org>
188
189         * xlwtabs.c: updated tabs widget from Ed Falk.
190         * xlwtabs.h: ditto.
191         * xlwtabsP.h: ditto.
192
193 1999-09-22  Martin Buchholz  <martin@xemacs.org>
194
195         * lwlib-internal.h:
196         * lwlib-utils.h:
197         Move declaration of destroy_all_children from lwlib-internal.h to
198         lwlib-utils.h, where it belongs.
199
200 1999-09-21  Andy Piper  <andy@xemacs.org>
201
202         * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
203         with text.
204
205 1999-09-22  Martin Buchholz  <martin@xemacs.org>
206
207         * xlwtabs.c: Fix C++ compilability.
208
209 1999-09-18  Andy Piper  <andy@xemacs.org>
210
211         * xlwtabs.c: Put in tabs sync because clipping should fix useability
212         problems.
213
214 1999-09-13  Andy Piper  <andy@xemacs.org>
215
216         * xlwtabs.c: Back out tabs sync because of reported useability
217         problems.
218
219 1999-09-09  Andy Piper  <andy@xemacs.org>
220
221         * xlwtabs.c: updated tabs widget from Ed Falk.
222         * xlwtabs.h: ditto.
223         * xlwtabsP.h: ditto.
224         * xlwgcs.c: ditto.
225         * xlwgcs.h: ditto.
226
227 1999-09-03  Martin Buchholz  <martin@xemacs.org>
228
229         * xlwgauge.c: Ansify.
230         Include <stdlib.h> to get prototype for atoi().
231         (GaugeSelect): Call GaugeExpose with the right number of args.
232         (GaugeLoseSel): Call GaugeExpose with the right number of args.
233         (GaugeConvert): This is a XtConvertSelectionProc, 
234         so 5th parameter must be of type XtPointer, not XPointer.
235         (GaugeGetValue): This is a XtTimerCallbackProc, 
236         so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
237         
238
239 1999-09-01  Martin Buchholz  <martin@xemacs.org>
240
241         * lwlib.c (free_widget_value_contents): Use proper type for cast.
242
243         * xlwradio.c: Use function prototypes everywhere.
244         * xlwcheckbox.c:
245         * xlwradio.c:
246         * xlwradioP.h: Move declarations of non-static functions defined
247         in xlwradio.c into xlwradioP.h.
248
249 1999-09-02  Andy Piper  <andy@xemacs.org>
250
251         * xlwgcs.c: include xmu.h
252
253 1999-09-01  Andy Piper  <andy@xemacs.org>
254
255         * xlwgauge.c: rearrange headers yet again.
256         * xlwcheckbox.c: ditto.
257         * xlwradio.c: ditto.
258         * xlwtabs.c: ditto.
259
260 1999-09-01  Andy Piper  <andy@xemacs.org>
261
262         * xlwgauge.c: use xmu.h
263         * xlwcheckbox.c: ditto.
264         * xlwradio.c: ditto.
265
266 1999-08-31  Andy Piper  <andy@xemacs.org>
267
268         * xlwtabs.c:
269         * xlwgcs.c:
270         * xlwradio.c:
271         * xlwcheckbox.c:
272         * xlwgauge.c: Fix for losing systems without Xmu.
273         
274 1999-08-31  Andy Piper  <andy@xemacs.org>
275
276         * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
277
278 1999-08-30  Andy Piper  <andy@xemacs.org>
279
280         * lwlib.c (free_widget_value_contents): be more precise about
281         freeing user defined args.
282
283         * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
284         its contents for hierarchies one deep.
285
286 1999-08-29  Andy Piper  <andy@xemacs.org>
287
288         * xlwtabs.c: temporary fixes pending a new release.
289         * xlwtabsP.h: ditto.
290
291         * lwlib-Xm.c (xm_update_one_widget): update user defined args.
292         (xm_create_label): set args after creation as well as before.
293
294         * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
295         (xlw_update_tab_control): actually update the children rather than
296         the parent.
297
298         * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
299         (xaw_create_label): set args after creation as well as before.
300
301 1999-08-23  Andy Piper  <andy@xemacs.org>
302
303         * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
304
305         * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
306         (xm_creation_table): use it.
307
308         * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
309         (xaw_creation_table): use it.
310
311 1999-08-16  Andy Piper  <andy@xemacs.org>
312
313         * lwlib.h: declare free_widget_value_tree.
314
315         * lwlib.c (free_widget_value_tree): make non-static.
316
317         * lwlib-Xm.c (xm_update_label): free val_string when updating.
318
319 1999-08-04  Andy Piper  <andy@xemacs.org>
320
321         * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
322         defined for widgets.
323         (xm_nosel_callback): ditto.
324
325         * xlwtabsP.h: sync with 1.5.
326
327         * xlwtabs.c: sync with 1.18.
328
329 1999-07-28  Andy Piper  <andy@xemacs.org>
330
331         * xlwtabs.c: new lucid tabs widget from Ed Falk.
332         * xlwtabs.h: ditto.
333         * xlwtabsP.h: ditto.
334         * xlwgcs.c: GC manipulation for tab widgets.
335         * xlwgcs.h: ditto.
336
337         * xlwgauge.c: new athena gauge widget from Ed Falk.
338         * xlwgauge.h: ditto.
339         * xlwgaugeP.h: ditto.
340
341         * xlwradio.c: new athena radio widget from Ed Falk.
342         * xlwradio.h: ditto.
343         * xlwradioP.h: ditto.
344
345         * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
346         * xlwcheckbox.h: ditto.
347         * xlwcheckboxP.h: ditto.
348
349         * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
350
351         * lwlib-internal.h: declare destroy_all_children.
352
353         * lwlib-config.c: add widget checks.
354
355         * lwlib-Xm.h: declare xm_create_label;
356
357         * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
358         (xm_update_label): enable for widgets.
359         (xm_update_one_widget): ditto.
360         (xm_create_button): rename in line with lwlib-Xaw.c
361         (xm_create_progress): ditto.
362         (xm_create_text_field): ditto.
363         (xm_create_combo_box): ditto.
364         (xm_create_label): new function.
365         (xm_creation_table): rename widget creation functions.
366         (xm_destroy_instance): enable for widgets.
367         (xm_generic_callback): ditto.
368         (xm_generic_callback): ditto.
369
370         * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
371         callback that calls the correct function depending on what tab is
372         selected.
373         (xlw_create_tab_control): new function.
374         (build_tabs_in_widget): new function. puts tabs in a tab widget,
375         uses Xaw or Xm depending on how XEmacs was compiled.
376         (xlw_update_tab_control): update the resources for each
377         tab. optionally rebuild the contents of the tab widget.
378         (xlw_creation_table): add tab widget creation function.
379         (lw_lucid_widget_p): add tab widget.
380         (xlw_update_one_widget): ditto.
381
382         * lwlib-Xaw.h: declare xaw_create_label;
383
384         * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
385         (xaw_update_one_widget): ditto.
386         (xaw_update_one_value): add code from the Xm version.
387         (xaw_generic_callback): add Xm hack for setting command
388         states. beef up lookup of call data.
389         (xaw_create_button): new function.
390         (xaw_create_label): new function for use by tab widget.
391         (xaw_create_progress): new function.
392         (xaw_create_text_field): new function.
393         (xaw_creation_table): add new widget type creation functions.
394
395         * Makefile.in.in: add dependencies for new lw widgets.
396
397 1999-07-30  XEmacs Build Bot <builds@cvs.xemacs.org>
398
399         * XEmacs 21.2.19 is released
400
401 1999-07-13  XEmacs Build Bot <builds@cvs.xemacs.org>
402
403         * XEmacs 21.2.18 is released
404
405 1999-07-05  Didier Verna  <verna@inf.enst.fr>
406
407         * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
408         call to xm_update_label.
409
410 1999-06-28  Andy Piper  <andy@xemacs.org>
411
412         * lwlib-Xm.c: unconditionally enable text field & list code.
413         (make_progress): new function. creates a slider.
414         (make_text_field): new function. creates an edit field.
415         (make_combo_box): new function. creates a combo box.
416         (xm_creation_table): add new widget functions.
417
418 1999-06-25  Andy Piper  <andy@xemacs.org>
419
420         * lwlib.h (_widget_value): add arglist slots.
421         declare new functions.
422
423         * lwlib.c (free_widget_value_contents): handle arglists when
424         freeing.
425         (lw_add_value_args_to_args): new function. add arglist entries
426         from a widget_value structure.
427
428         * lwlib-Xm.c (make_button): new function, create a motif button
429         for display in a buffer as a glyph.
430         (xm_creation_table): add make_button.
431
432 1999-06-22  XEmacs Build Bot <builds@cvs.xemacs.org>
433
434         * XEmacs 21.2.17 is released
435
436 1999-06-11  XEmacs Build Bot <builds@cvs.xemacs.org>
437
438         * XEmacs 21.2.16 is released
439
440 1999-06-04  XEmacs Build Bot <builds@cvs.xemacs.org>
441
442         * XEmacs 21.2.15 is released
443
444 1999-05-17  Jerry James  <jerry@cs.ucsb.edu>
445
446         * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
447         using it.
448
449 1999-05-14  XEmacs Build Bot <builds@cvs.xemacs.org>
450
451         * XEmacs 21.2.14 is released
452
453 1999-03-12  XEmacs Build Bot <builds@cvs.xemacs.org>
454
455         * XEmacs 21.2.13 is released
456
457 1999-03-05  XEmacs Build Bot <builds@cvs.xemacs.org>
458
459         * XEmacs 21.2.12 is released
460
461 1999-02-18  Martin Buchholz  <martin@xemacs.org>
462
463         * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
464         - Have to toupper ((int) (unsigned char) x) to be portable.