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