1 2001-01-17 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.41 "Polyhymnia" is released.
5 2001-01-08 Martin Buchholz <martin@xemacs.org>
7 * XEmacs 21.2.40 is released.
9 2001-01-06 Martin Buchholz <martin@xemacs.org>
11 * lwlib-Xaw.c (xaw_creation_table): Make const.
12 * lwlib-Xaw.h (xaw_creation_table): Make const.
13 * lwlib-Xlw.c (xlw_creation_table): Make const.
14 * lwlib-Xlw.h (xlw_creation_table): Make const.
15 * lwlib-Xm.c (xm_creation_table): Make const.
16 * lwlib-Xm.h (xm_creation_table): Make const.
17 * lwlib.c (find_in_table): Use const.
19 2001-01-02 Andy Piper <andy@xemacs.org>
21 * lwlib.h (_widget_args): add args_changed. Necessary because we
24 * lwlib.c (lw_add_widget_value_arg): set args_changed flag.
25 (merge_widget_value_args): mark as changed if args_changed is
27 (update_all_widget_values): reset args_changed.
28 (initialize_widget_instance): ditto.
30 2000-12-31 Martin Buchholz <martin@xemacs.org>
32 * XEmacs 21.2.39 is released.
34 2000-12-30 Andy Piper <andy@xemacs.org>
36 * xlwtabs.c: remove assertion definitions and put them in
37 lwlib-internal.h. This has the effect of enabling assertions which
38 should have been done from the very start.
39 (TabsShuffleRows): fix duff assertion.
40 (PreferredSize3): use dimensions throughout.
41 (PreferredSize2): ditto.
43 (DrawFrame): be clever about the enclosing frame if the child
45 (TabsResize): don't configure children that are no visible
46 anyway. Make sure geometry calculations don't end up negative.
48 * lwlib-internal.h: put in assertion definitions.
50 2000-12-05 Martin Buchholz <martin@xemacs.org>
52 * XEmacs 21.2.38 is released.
54 2000-11-30 Andy Piper <andy@xemacs.org>
56 * lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
57 someone fixes it properly.
59 2000-11-24 Andy Piper <andy@xemacs.org>
61 * xlwtabsP.h: add visible flag, realRows and remove displayChildren.
63 * xlwtabs.c (TabVisible): new macro. Consults visible flag.
64 (TabsInit): remove displayChildren, add realRows.
65 (TabsConstraintInitialize): ditto.
67 (TabsGeometryManager): ditto.
68 (TabsChangeManaged): ditto.
71 (TabsHighlight): ditto.
73 (TabLayout): Caclulate rows for all children and whether they
74 should be visible or not..
75 (TabsShuffleRows): shuffle rows based on both real and displayed
76 rows. Adjust visibility of all children.
77 (PreferredSize): ditto.
79 2000-11-19 Martin Buchholz <martin@xemacs.org>
81 * xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead.
83 2000-11-18 Martin Buchholz <martin@xemacs.org>
85 * xlwmenu.c (make_windows_if_needed):
87 The proper type for `mask' is `unsigned long', not `int'.
89 2000-11-18 Martin Buchholz <martin@xemacs.org>
91 * xlwtabs.c (defaultAccelerators): Add #### to unused var.
92 (TabsResize): Remove unused var.
93 * xlwmenu.c (XlwMenuInitialize): Remove unused vars.
94 * lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug.
96 2000-11-14 Martin Buchholz <martin@xemacs.org>
98 * XEmacs 21.2.37 is released.
100 2000-11-02 Stephen J. Turnbull <stephen@xemacs.org>
102 * lwlib.h: Typo fixes and tiny clarifications.
104 2000-10-04 Martin Buchholz <martin@xemacs.org>
106 * XEmacs 21.2.36 is released.
108 2000-09-21 Andy Piper <andy@xemacs.org>
110 * lwlib.h: declare copy_widget_value_tree.
112 * lwlib.c (copy_widget_value_tree): make non-static.
114 2000-09-19 Martin Buchholz <martin@xemacs.org>
116 * *: Spelling mega-patch
118 2000-09-16 Martin Buchholz <martin@xemacs.org>
120 * lwlib.c (ascii_strcasecmp): New.
121 * lwlib.c (find_in_table): Use ascii_strcasecmp.
122 Avoid using non-standard non-portable strcasecmp.
124 2000-08-02 Stephen J. Turnbull <stephen@xemacs.org>
126 * xlwmenu.c (XlwMenuInitialize): make comment on algorithm for
127 setting fontList match code. Suggest using same algorithm for
128 X Font Set resources in native lw code.
130 2000-07-30 Ben Wing <ben@xemacs.org>
132 * lwlib-Xaw.c (xaw_update_one_widget):
133 Remove accelerator specs from buttons, since Athena doesn't handle
136 * lwlib.c (lw_remove_accelerator_spec):
138 Define function and prototype to do this.
140 2000-07-15 Ben Wing <ben@xemacs.org>
143 Remove duplicate definition of streq().
145 2000-07-19 Martin Buchholz <martin@xemacs.org>
147 * XEmacs 21.2.35 is released.
149 2000-07-09 Martin Buchholz <martin@xemacs.org>
160 Replace SMART_INCLUDE with a dumber, but more reliable method.
162 * xlwmenu.c (parameterize_string): Fix C++ compilation warnings.
164 2000-06-10 Ben Wing <ben@xemacs.org>
166 * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
167 (xaw_update_one_value): fix crash due to incorrect arg count.
169 2000-05-28 Martin Buchholz <martin@xemacs.org>
171 * XEmacs 21.2.34 is released.
173 2000-05-01 Martin Buchholz <martin@xemacs.org>
175 * XEmacs 21.2.33 is released.
177 2000-04-19 Martin Buchholz <martin@xemacs.org>
179 * lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
180 * lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.
182 2000-04-12 Andy Piper <andy@xemacs.org>
184 * lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
185 (xaw_update_one_value): Get strings safely.
186 (xaw_create_text_field): add some extra properties.
188 2000-04-05 Andy Piper <andy@xemacs.org>
190 * lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
193 2000-04-05 Andy Piper <andy@xemacs.org>
195 * xlwradio.c (RadioSetValues): resize if position information has
198 * lwlib-Xm.c (xm_create_text_field): text fields should be enabled
199 even if there is no callback.
200 * lwlib-Xaw.c (xaw_create_text_field): ditto.
202 2000-04-03 Andy Piper <andy@xemacs.org>
204 * lwlib.c (merge_widget_value_args): only merge when the two args
205 are actually different.
207 2000-03-21 Didier Verna <didier@xemacs.org>
209 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
211 * config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.
213 2000-03-20 Martin Buchholz <martin@xemacs.org>
215 * XEmacs 21.2.32 is released.
217 2000-03-14 Ben Wing <ben@xemacs.org>
219 * xlwmenu.c (massage_resource_name): Handle %_ and %%.
221 2000-02-20 Gunnar Evermann <ge204@eng.cam.ac.uk>
223 * xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
224 even if we are only 'compatible' with the Motif resources.
225 (XmUNSPECIFIED_PIXMAP): Define unconditionally.
227 2000-02-23 Martin Buchholz <martin@xemacs.org>
229 * XEmacs 21.2.31 is released.
231 2000-02-22 Andy Piper <andy@xemacs.org>
233 * lwlib-Xm.c (xm_update_one_widget): set widget args last in case
234 anything messes with them in the meantime.
235 * lwlib-Xlw.c (xlw_update_one_widget): ditto.
236 * lwlib-Xaw.c (xaw_update_one_widget): ditto.
238 2000-02-21 Martin Buchholz <martin@xemacs.org>
240 * XEmacs 21.2.30 is released.
242 2000-02-21 Andy Piper <andy@xemacs.org>
244 * lwlib.c (merge_widget_value_args): don't delete the args before
245 copying, lw_copy_widget_value_args will do this for us if
247 (lw_add_widget_value_arg): Allow existing args to be replaced.
248 (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
249 reference couting works better that way.
250 (lw_copy_widget_value_args): Do the right thing.
252 * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
254 * lwlib-Xaw.c (xaw_create_progress): ditto.
256 2000-02-12 Jan Vroonhof <vroonhof@math.ethz.ch>
258 * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
259 compatible resource names.
261 * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
262 even if we are only 'compatible' with the Motif resources.
264 2000-02-15 Andy Piper <andy@xemacs.org>
266 * xlwgauge.c (GaugeExpose): remove shadows.
268 2000-02-16 Martin Buchholz <martin@xemacs.org>
270 * XEmacs 21.2.29 is released.
272 2000-02-09 Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
274 * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
277 2000-02-07 Martin Buchholz <martin@xemacs.org>
279 * XEmacs 21.2.28 is released.
281 2000-01-25 Andy Piper <andy@xemacs.org>
283 * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
286 2000-01-28 Martin Buchholz <martin@xemacs.org>
288 * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
290 2000-01-24 Andy Piper <andy@xemacs.org>
292 * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
294 (XawTabsSetHighlight): Don't unhighlight here.
296 2000-01-22 Martin Buchholz <martin@xemacs.org>
298 * *.h: Use consistent C-standards-approved guard macro names.
300 2000-01-18 Martin Buchholz <martin@xemacs.org>
302 * XEmacs 21.2.27 is released.
304 2000-01-15 Andy Piper <andy@xemacs.org>
306 * lwlib-Xlw.c (lw_update_one_widget): make sure global
309 2000-01-07 Martin Buchholz <martin@xemacs.org>
311 * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
312 This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
314 * lwlib.c: Fix up memset calls.
316 * lwlib-Xm.c (xm_update_text): Warning suppression.
317 (xm_update_text_field): Warning suppression.
319 2000-01-03 Martin Buchholz <martin@xemacs.org>
321 * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
322 (yes-or-no-p-dialog-box "Yes or No")
324 1999-12-31 Martin Buchholz <martin@xemacs.org>
326 * XEmacs 21.2.26 is released.
328 1999-12-29 Andy Piper <andy@xemacs.org>
330 * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
334 1999-12-24 Martin Buchholz <martin@xemacs.org>
336 * XEmacs 21.2.25 is released.
338 1999-12-23 Andy Piper <andy@xemacs.org>
340 * lwlib.c (lw_copy_widget_value_args): don't create empty
341 widget_args just because someone might use them later. This makes
342 all widgets look like they've changed.
344 1999-12-22 Andy Piper <andy@xemacs.org>
346 * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
349 1999-12-21 Martin Buchholz <martin@xemacs.org>
351 * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
353 1999-12-12 Daniel Pittman <daniel@danann.net>
362 Clean up Athena widget support:
363 - Athena headers now use dynamic include paths.
365 1999-12-08 Andy Piper <andy@xemacs.org>
367 * xlwtabs.c: sync with Tabs 2.2.
370 1999-12-14 Martin Buchholz <martin@xemacs.org>
372 * XEmacs 21.2.24 is released.
374 1999-12-14 Andy Piper <andy@xemacs.org>
376 * xlwtabs.c (TabsResize): reset need_layout so that we don't go
379 1999-12-14 Andy Piper <andy@xemacs.org>
381 * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
383 1999-12-13 Andy Piper <andy@xemacs.org>
385 * xlwtabs.c (TabsResize): We need to expose the tabs after
386 clearing the window they are in.
388 1999-12-08 Andy Piper <andy@xemacs.org>
390 * xlwtabs.c: sync with Tabs 2.1.
392 1999-12-07 Andy Piper <andy@xemacs.org>
394 * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
397 1999-12-07 Martin Buchholz <martin@xemacs.org>
399 * XEmacs 21.2.23 is released.
401 1999-12-05 Andy Piper <andy@xemacs.org>
403 * xlwtabs.c: back up to previous rev to make syncing easier. Fix
406 * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
408 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
410 * XEmacs 21.2.22 is released
412 1999-11-28 Martin Buchholz <martin@xemacs.org>
414 * XEmacs 21.2.21 is released.
416 1999-11-26 Martin Buchholz <martin@xemacs.org>
418 * xlwtabs.c: Remove unused variables. Fix warnings.
420 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
422 * XEmacs 21.2.20 is released
424 1999-09-09 Andy Piper <andy@xemacs.org>
426 * xlwtabs.c: updated tabs widget from Ed Falk.
430 1999-09-22 Martin Buchholz <martin@xemacs.org>
434 Move declaration of destroy_all_children from lwlib-internal.h to
435 lwlib-utils.h, where it belongs.
437 1999-09-21 Andy Piper <andy@xemacs.org>
439 * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
442 1999-09-22 Martin Buchholz <martin@xemacs.org>
444 * xlwtabs.c: Fix C++ compilability.
446 1999-09-18 Andy Piper <andy@xemacs.org>
448 * xlwtabs.c: Put in tabs sync because clipping should fix useability
451 1999-09-13 Andy Piper <andy@xemacs.org>
453 * xlwtabs.c: Back out tabs sync because of reported useability
456 1999-09-09 Andy Piper <andy@xemacs.org>
458 * xlwtabs.c: updated tabs widget from Ed Falk.
464 1999-09-03 Martin Buchholz <martin@xemacs.org>
466 * xlwgauge.c: Ansify.
467 Include <stdlib.h> to get prototype for atoi().
468 (GaugeSelect): Call GaugeExpose with the right number of args.
469 (GaugeLoseSel): Call GaugeExpose with the right number of args.
470 (GaugeConvert): This is a XtConvertSelectionProc,
471 so 5th parameter must be of type XtPointer, not XPointer.
472 (GaugeGetValue): This is a XtTimerCallbackProc,
473 so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
476 1999-09-01 Martin Buchholz <martin@xemacs.org>
478 * lwlib.c (free_widget_value_contents): Use proper type for cast.
480 * xlwradio.c: Use function prototypes everywhere.
483 * xlwradioP.h: Move declarations of non-static functions defined
484 in xlwradio.c into xlwradioP.h.
486 1999-09-02 Andy Piper <andy@xemacs.org>
488 * xlwgcs.c: include xmu.h
490 1999-09-01 Andy Piper <andy@xemacs.org>
492 * xlwgauge.c: rearrange headers yet again.
493 * xlwcheckbox.c: ditto.
497 1999-09-01 Andy Piper <andy@xemacs.org>
499 * xlwgauge.c: use xmu.h
500 * xlwcheckbox.c: ditto.
503 1999-08-31 Andy Piper <andy@xemacs.org>
509 * xlwgauge.c: Fix for losing systems without Xmu.
511 1999-08-31 Andy Piper <andy@xemacs.org>
513 * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
515 1999-08-30 Andy Piper <andy@xemacs.org>
517 * lwlib.c (free_widget_value_contents): be more precise about
518 freeing user defined args.
520 * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
521 its contents for hierarchies one deep.
523 1999-08-29 Andy Piper <andy@xemacs.org>
525 * xlwtabs.c: temporary fixes pending a new release.
528 * lwlib-Xm.c (xm_update_one_widget): update user defined args.
529 (xm_create_label): set args after creation as well as before.
531 * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
532 (xlw_update_tab_control): actually update the children rather than
535 * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
536 (xaw_create_label): set args after creation as well as before.
538 1999-08-23 Andy Piper <andy@xemacs.org>
540 * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
542 * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
543 (xm_creation_table): use it.
545 * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
546 (xaw_creation_table): use it.
548 1999-08-16 Andy Piper <andy@xemacs.org>
550 * lwlib.h: declare free_widget_value_tree.
552 * lwlib.c (free_widget_value_tree): make non-static.
554 * lwlib-Xm.c (xm_update_label): free val_string when updating.
556 1999-08-04 Andy Piper <andy@xemacs.org>
558 * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
560 (xm_nosel_callback): ditto.
562 * xlwtabsP.h: sync with 1.5.
564 * xlwtabs.c: sync with 1.18.
566 1999-07-28 Andy Piper <andy@xemacs.org>
568 * xlwtabs.c: new lucid tabs widget from Ed Falk.
571 * xlwgcs.c: GC manipulation for tab widgets.
574 * xlwgauge.c: new athena gauge widget from Ed Falk.
576 * xlwgaugeP.h: ditto.
578 * xlwradio.c: new athena radio widget from Ed Falk.
580 * xlwradioP.h: ditto.
582 * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
583 * xlwcheckbox.h: ditto.
584 * xlwcheckboxP.h: ditto.
586 * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
588 * lwlib-internal.h: declare destroy_all_children.
590 * lwlib-config.c: add widget checks.
592 * lwlib-Xm.h: declare xm_create_label;
594 * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
595 (xm_update_label): enable for widgets.
596 (xm_update_one_widget): ditto.
597 (xm_create_button): rename in line with lwlib-Xaw.c
598 (xm_create_progress): ditto.
599 (xm_create_text_field): ditto.
600 (xm_create_combo_box): ditto.
601 (xm_create_label): new function.
602 (xm_creation_table): rename widget creation functions.
603 (xm_destroy_instance): enable for widgets.
604 (xm_generic_callback): ditto.
605 (xm_generic_callback): ditto.
607 * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
608 callback that calls the correct function depending on what tab is
610 (xlw_create_tab_control): new function.
611 (build_tabs_in_widget): new function. puts tabs in a tab widget,
612 uses Xaw or Xm depending on how XEmacs was compiled.
613 (xlw_update_tab_control): update the resources for each
614 tab. optionally rebuild the contents of the tab widget.
615 (xlw_creation_table): add tab widget creation function.
616 (lw_lucid_widget_p): add tab widget.
617 (xlw_update_one_widget): ditto.
619 * lwlib-Xaw.h: declare xaw_create_label;
621 * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
622 (xaw_update_one_widget): ditto.
623 (xaw_update_one_value): add code from the Xm version.
624 (xaw_generic_callback): add Xm hack for setting command
625 states. beef up lookup of call data.
626 (xaw_create_button): new function.
627 (xaw_create_label): new function for use by tab widget.
628 (xaw_create_progress): new function.
629 (xaw_create_text_field): new function.
630 (xaw_creation_table): add new widget type creation functions.
632 * Makefile.in.in: add dependencies for new lw widgets.
634 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
636 * XEmacs 21.2.19 is released
638 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
640 * XEmacs 21.2.18 is released
642 1999-07-05 Didier Verna <didier@xemacs.org>
644 * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
645 call to xm_update_label.
647 1999-06-28 Andy Piper <andy@xemacs.org>
649 * lwlib-Xm.c: unconditionally enable text field & list code.
650 (make_progress): new function. creates a slider.
651 (make_text_field): new function. creates an edit field.
652 (make_combo_box): new function. creates a combo box.
653 (xm_creation_table): add new widget functions.
655 1999-06-25 Andy Piper <andy@xemacs.org>
657 * lwlib.h (_widget_value): add arglist slots.
658 declare new functions.
660 * lwlib.c (free_widget_value_contents): handle arglists when
662 (lw_add_value_args_to_args): new function. add arglist entries
663 from a widget_value structure.
665 * lwlib-Xm.c (make_button): new function, create a motif button
666 for display in a buffer as a glyph.
667 (xm_creation_table): add make_button.
669 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
671 * XEmacs 21.2.17 is released
673 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
675 * XEmacs 21.2.16 is released
677 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
679 * XEmacs 21.2.15 is released
681 1999-05-17 Jerry James <jerry@cs.ucsb.edu>
683 * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
686 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
688 * XEmacs 21.2.14 is released
690 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
692 * XEmacs 21.2.13 is released
694 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
696 * XEmacs 21.2.12 is released
698 1999-02-18 Martin Buchholz <martin@xemacs.org>
700 * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
701 - Have to toupper ((int) (unsigned char) x) to be portable.