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