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