1 2001-02-08 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.44 "Thalia" is released.
5 2001-02-06 Martin Buchholz <martin@xemacs.org>
9 * xlwgcs.c (XtAllocateGC): Fix typo for X11R4.
11 * xlwradio.c (RadioExpose):
13 Remove use of BSD-specific types.
14 s/u_(char|short|int_long)/unsigned $1/g
16 2001-02-05 Martin Buchholz <martin@xemacs.org>
18 * lwlib-Xm.c (xm_update_one_value):
19 Obey the man page; use XtFree instead of free.
21 2001-02-02 Martin Buchholz <martin@xemacs.org>
23 * config.h.in: Use "..." to include config.h
25 2001-01-26 Martin Buchholz <martin@xemacs.org>
27 * XEmacs 21.2.43 "Terspichore" is released.
29 2001-01-20 Martin Buchholz <martin@xemacs.org>
31 * XEmacs 21.2.42 "Poseidon" is released.
33 2001-01-17 Martin Buchholz <martin@xemacs.org>
35 * XEmacs 21.2.41 "Polyhymnia" is released.
37 2001-01-08 Martin Buchholz <martin@xemacs.org>
39 * XEmacs 21.2.40 is released.
41 2001-01-06 Martin Buchholz <martin@xemacs.org>
43 * lwlib-Xaw.c (xaw_creation_table): Make const.
44 * lwlib-Xaw.h (xaw_creation_table): Make const.
45 * lwlib-Xlw.c (xlw_creation_table): Make const.
46 * lwlib-Xlw.h (xlw_creation_table): Make const.
47 * lwlib-Xm.c (xm_creation_table): Make const.
48 * lwlib-Xm.h (xm_creation_table): Make const.
49 * lwlib.c (find_in_table): Use const.
51 2001-01-02 Andy Piper <andy@xemacs.org>
53 * lwlib.h (_widget_args): add args_changed. Necessary because we
56 * lwlib.c (lw_add_widget_value_arg): set args_changed flag.
57 (merge_widget_value_args): mark as changed if args_changed is
59 (update_all_widget_values): reset args_changed.
60 (initialize_widget_instance): ditto.
62 2000-12-31 Martin Buchholz <martin@xemacs.org>
64 * XEmacs 21.2.39 is released.
66 2000-12-30 Andy Piper <andy@xemacs.org>
68 * xlwtabs.c: remove assertion definitions and put them in
69 lwlib-internal.h. This has the effect of enabling assertions which
70 should have been done from the very start.
71 (TabsShuffleRows): fix duff assertion.
72 (PreferredSize3): use dimensions throughout.
73 (PreferredSize2): ditto.
75 (DrawFrame): be clever about the enclosing frame if the child
77 (TabsResize): don't configure children that are no visible
78 anyway. Make sure geometry calculations don't end up negative.
80 * lwlib-internal.h: put in assertion definitions.
82 2000-12-05 Martin Buchholz <martin@xemacs.org>
84 * XEmacs 21.2.38 is released.
86 2000-11-30 Andy Piper <andy@xemacs.org>
88 * lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
89 someone fixes it properly.
91 2000-11-24 Andy Piper <andy@xemacs.org>
93 * xlwtabsP.h: add visible flag, realRows and remove displayChildren.
95 * xlwtabs.c (TabVisible): new macro. Consults visible flag.
96 (TabsInit): remove displayChildren, add realRows.
97 (TabsConstraintInitialize): ditto.
99 (TabsGeometryManager): ditto.
100 (TabsChangeManaged): ditto.
103 (TabsHighlight): ditto.
105 (TabLayout): Caclulate rows for all children and whether they
106 should be visible or not..
107 (TabsShuffleRows): shuffle rows based on both real and displayed
108 rows. Adjust visibility of all children.
109 (PreferredSize): ditto.
111 2000-11-19 Martin Buchholz <martin@xemacs.org>
113 * xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead.
115 2000-11-18 Martin Buchholz <martin@xemacs.org>
117 * xlwmenu.c (make_windows_if_needed):
119 The proper type for `mask' is `unsigned long', not `int'.
121 2000-11-18 Martin Buchholz <martin@xemacs.org>
123 * xlwtabs.c (defaultAccelerators): Add #### to unused var.
124 (TabsResize): Remove unused var.
125 * xlwmenu.c (XlwMenuInitialize): Remove unused vars.
126 * lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug.
128 2000-11-14 Martin Buchholz <martin@xemacs.org>
130 * XEmacs 21.2.37 is released.
132 2000-11-02 Stephen J. Turnbull <stephen@xemacs.org>
134 * lwlib.h: Typo fixes and tiny clarifications.
136 2000-10-04 Martin Buchholz <martin@xemacs.org>
138 * XEmacs 21.2.36 is released.
140 2000-09-21 Andy Piper <andy@xemacs.org>
142 * lwlib.h: declare copy_widget_value_tree.
144 * lwlib.c (copy_widget_value_tree): make non-static.
146 2000-09-19 Martin Buchholz <martin@xemacs.org>
148 * *: Spelling mega-patch
150 2000-09-16 Martin Buchholz <martin@xemacs.org>
152 * lwlib.c (ascii_strcasecmp): New.
153 * lwlib.c (find_in_table): Use ascii_strcasecmp.
154 Avoid using non-standard non-portable strcasecmp.
156 2000-08-02 Stephen J. Turnbull <stephen@xemacs.org>
158 * xlwmenu.c (XlwMenuInitialize): make comment on algorithm for
159 setting fontList match code. Suggest using same algorithm for
160 X Font Set resources in native lw code.
162 2000-07-30 Ben Wing <ben@xemacs.org>
164 * lwlib-Xaw.c (xaw_update_one_widget):
165 Remove accelerator specs from buttons, since Athena doesn't handle
168 * lwlib.c (lw_remove_accelerator_spec):
170 Define function and prototype to do this.
172 2000-07-15 Ben Wing <ben@xemacs.org>
175 Remove duplicate definition of streq().
177 2000-07-19 Martin Buchholz <martin@xemacs.org>
179 * XEmacs 21.2.35 is released.
181 2000-07-09 Martin Buchholz <martin@xemacs.org>
192 Replace SMART_INCLUDE with a dumber, but more reliable method.
194 * xlwmenu.c (parameterize_string): Fix C++ compilation warnings.
196 2000-06-10 Ben Wing <ben@xemacs.org>
198 * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
199 (xaw_update_one_value): fix crash due to incorrect arg count.
201 2000-05-28 Martin Buchholz <martin@xemacs.org>
203 * XEmacs 21.2.34 is released.
205 2000-05-01 Martin Buchholz <martin@xemacs.org>
207 * XEmacs 21.2.33 is released.
209 2000-04-19 Martin Buchholz <martin@xemacs.org>
211 * lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
212 * lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.
214 2000-04-12 Andy Piper <andy@xemacs.org>
216 * lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
217 (xaw_update_one_value): Get strings safely.
218 (xaw_create_text_field): add some extra properties.
220 2000-04-05 Andy Piper <andy@xemacs.org>
222 * lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
225 2000-04-05 Andy Piper <andy@xemacs.org>
227 * xlwradio.c (RadioSetValues): resize if position information has
230 * lwlib-Xm.c (xm_create_text_field): text fields should be enabled
231 even if there is no callback.
232 * lwlib-Xaw.c (xaw_create_text_field): ditto.
234 2000-04-03 Andy Piper <andy@xemacs.org>
236 * lwlib.c (merge_widget_value_args): only merge when the two args
237 are actually different.
239 2000-03-21 Didier Verna <didier@xemacs.org>
241 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
243 * config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.
245 2000-03-20 Martin Buchholz <martin@xemacs.org>
247 * XEmacs 21.2.32 is released.
249 2000-03-14 Ben Wing <ben@xemacs.org>
251 * xlwmenu.c (massage_resource_name): Handle %_ and %%.
253 2000-02-20 Gunnar Evermann <ge204@eng.cam.ac.uk>
255 * xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
256 even if we are only 'compatible' with the Motif resources.
257 (XmUNSPECIFIED_PIXMAP): Define unconditionally.
259 2000-02-23 Martin Buchholz <martin@xemacs.org>
261 * XEmacs 21.2.31 is released.
263 2000-02-22 Andy Piper <andy@xemacs.org>
265 * lwlib-Xm.c (xm_update_one_widget): set widget args last in case
266 anything messes with them in the meantime.
267 * lwlib-Xlw.c (xlw_update_one_widget): ditto.
268 * lwlib-Xaw.c (xaw_update_one_widget): ditto.
270 2000-02-21 Martin Buchholz <martin@xemacs.org>
272 * XEmacs 21.2.30 is released.
274 2000-02-21 Andy Piper <andy@xemacs.org>
276 * lwlib.c (merge_widget_value_args): don't delete the args before
277 copying, lw_copy_widget_value_args will do this for us if
279 (lw_add_widget_value_arg): Allow existing args to be replaced.
280 (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
281 reference couting works better that way.
282 (lw_copy_widget_value_args): Do the right thing.
284 * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
286 * lwlib-Xaw.c (xaw_create_progress): ditto.
288 2000-02-12 Jan Vroonhof <vroonhof@math.ethz.ch>
290 * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
291 compatible resource names.
293 * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
294 even if we are only 'compatible' with the Motif resources.
296 2000-02-15 Andy Piper <andy@xemacs.org>
298 * xlwgauge.c (GaugeExpose): remove shadows.
300 2000-02-16 Martin Buchholz <martin@xemacs.org>
302 * XEmacs 21.2.29 is released.
304 2000-02-09 Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
306 * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
309 2000-02-07 Martin Buchholz <martin@xemacs.org>
311 * XEmacs 21.2.28 is released.
313 2000-01-25 Andy Piper <andy@xemacs.org>
315 * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
318 2000-01-28 Martin Buchholz <martin@xemacs.org>
320 * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
322 2000-01-24 Andy Piper <andy@xemacs.org>
324 * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
326 (XawTabsSetHighlight): Don't unhighlight here.
328 2000-01-22 Martin Buchholz <martin@xemacs.org>
330 * *.h: Use consistent C-standards-approved guard macro names.
332 2000-01-18 Martin Buchholz <martin@xemacs.org>
334 * XEmacs 21.2.27 is released.
336 2000-01-15 Andy Piper <andy@xemacs.org>
338 * lwlib-Xlw.c (lw_update_one_widget): make sure global
341 2000-01-07 Martin Buchholz <martin@xemacs.org>
343 * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
344 This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
346 * lwlib.c: Fix up memset calls.
348 * lwlib-Xm.c (xm_update_text): Warning suppression.
349 (xm_update_text_field): Warning suppression.
351 2000-01-03 Martin Buchholz <martin@xemacs.org>
353 * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
354 (yes-or-no-p-dialog-box "Yes or No")
356 1999-12-31 Martin Buchholz <martin@xemacs.org>
358 * XEmacs 21.2.26 is released.
360 1999-12-29 Andy Piper <andy@xemacs.org>
362 * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
366 1999-12-24 Martin Buchholz <martin@xemacs.org>
368 * XEmacs 21.2.25 is released.
370 1999-12-23 Andy Piper <andy@xemacs.org>
372 * lwlib.c (lw_copy_widget_value_args): don't create empty
373 widget_args just because someone might use them later. This makes
374 all widgets look like they've changed.
376 1999-12-22 Andy Piper <andy@xemacs.org>
378 * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
381 1999-12-21 Martin Buchholz <martin@xemacs.org>
383 * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
385 1999-12-12 Daniel Pittman <daniel@danann.net>
394 Clean up Athena widget support:
395 - Athena headers now use dynamic include paths.
397 1999-12-08 Andy Piper <andy@xemacs.org>
399 * xlwtabs.c: sync with Tabs 2.2.
402 1999-12-14 Martin Buchholz <martin@xemacs.org>
404 * XEmacs 21.2.24 is released.
406 1999-12-14 Andy Piper <andy@xemacs.org>
408 * xlwtabs.c (TabsResize): reset need_layout so that we don't go
411 1999-12-14 Andy Piper <andy@xemacs.org>
413 * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
415 1999-12-13 Andy Piper <andy@xemacs.org>
417 * xlwtabs.c (TabsResize): We need to expose the tabs after
418 clearing the window they are in.
420 1999-12-08 Andy Piper <andy@xemacs.org>
422 * xlwtabs.c: sync with Tabs 2.1.
424 1999-12-07 Andy Piper <andy@xemacs.org>
426 * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
429 1999-12-07 Martin Buchholz <martin@xemacs.org>
431 * XEmacs 21.2.23 is released.
433 1999-12-05 Andy Piper <andy@xemacs.org>
435 * xlwtabs.c: back up to previous rev to make syncing easier. Fix
438 * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
440 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
442 * XEmacs 21.2.22 is released
444 1999-11-28 Martin Buchholz <martin@xemacs.org>
446 * XEmacs 21.2.21 is released.
448 1999-11-26 Martin Buchholz <martin@xemacs.org>
450 * xlwtabs.c: Remove unused variables. Fix warnings.
452 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
454 * XEmacs 21.2.20 is released
456 1999-09-09 Andy Piper <andy@xemacs.org>
458 * xlwtabs.c: updated tabs widget from Ed Falk.
462 1999-09-22 Martin Buchholz <martin@xemacs.org>
466 Move declaration of destroy_all_children from lwlib-internal.h to
467 lwlib-utils.h, where it belongs.
469 1999-09-21 Andy Piper <andy@xemacs.org>
471 * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
474 1999-09-22 Martin Buchholz <martin@xemacs.org>
476 * xlwtabs.c: Fix C++ compilability.
478 1999-09-18 Andy Piper <andy@xemacs.org>
480 * xlwtabs.c: Put in tabs sync because clipping should fix useability
483 1999-09-13 Andy Piper <andy@xemacs.org>
485 * xlwtabs.c: Back out tabs sync because of reported useability
488 1999-09-09 Andy Piper <andy@xemacs.org>
490 * xlwtabs.c: updated tabs widget from Ed Falk.
496 1999-09-03 Martin Buchholz <martin@xemacs.org>
498 * xlwgauge.c: Ansify.
499 Include <stdlib.h> to get prototype for atoi().
500 (GaugeSelect): Call GaugeExpose with the right number of args.
501 (GaugeLoseSel): Call GaugeExpose with the right number of args.
502 (GaugeConvert): This is a XtConvertSelectionProc,
503 so 5th parameter must be of type XtPointer, not XPointer.
504 (GaugeGetValue): This is a XtTimerCallbackProc,
505 so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
508 1999-09-01 Martin Buchholz <martin@xemacs.org>
510 * lwlib.c (free_widget_value_contents): Use proper type for cast.
512 * xlwradio.c: Use function prototypes everywhere.
515 * xlwradioP.h: Move declarations of non-static functions defined
516 in xlwradio.c into xlwradioP.h.
518 1999-09-02 Andy Piper <andy@xemacs.org>
520 * xlwgcs.c: include xmu.h
522 1999-09-01 Andy Piper <andy@xemacs.org>
524 * xlwgauge.c: rearrange headers yet again.
525 * xlwcheckbox.c: ditto.
529 1999-09-01 Andy Piper <andy@xemacs.org>
531 * xlwgauge.c: use xmu.h
532 * xlwcheckbox.c: ditto.
535 1999-08-31 Andy Piper <andy@xemacs.org>
541 * xlwgauge.c: Fix for losing systems without Xmu.
543 1999-08-31 Andy Piper <andy@xemacs.org>
545 * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
547 1999-08-30 Andy Piper <andy@xemacs.org>
549 * lwlib.c (free_widget_value_contents): be more precise about
550 freeing user defined args.
552 * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
553 its contents for hierarchies one deep.
555 1999-08-29 Andy Piper <andy@xemacs.org>
557 * xlwtabs.c: temporary fixes pending a new release.
560 * lwlib-Xm.c (xm_update_one_widget): update user defined args.
561 (xm_create_label): set args after creation as well as before.
563 * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
564 (xlw_update_tab_control): actually update the children rather than
567 * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
568 (xaw_create_label): set args after creation as well as before.
570 1999-08-23 Andy Piper <andy@xemacs.org>
572 * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
574 * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
575 (xm_creation_table): use it.
577 * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
578 (xaw_creation_table): use it.
580 1999-08-16 Andy Piper <andy@xemacs.org>
582 * lwlib.h: declare free_widget_value_tree.
584 * lwlib.c (free_widget_value_tree): make non-static.
586 * lwlib-Xm.c (xm_update_label): free val_string when updating.
588 1999-08-04 Andy Piper <andy@xemacs.org>
590 * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
592 (xm_nosel_callback): ditto.
594 * xlwtabsP.h: sync with 1.5.
596 * xlwtabs.c: sync with 1.18.
598 1999-07-28 Andy Piper <andy@xemacs.org>
600 * xlwtabs.c: new lucid tabs widget from Ed Falk.
603 * xlwgcs.c: GC manipulation for tab widgets.
606 * xlwgauge.c: new athena gauge widget from Ed Falk.
608 * xlwgaugeP.h: ditto.
610 * xlwradio.c: new athena radio widget from Ed Falk.
612 * xlwradioP.h: ditto.
614 * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
615 * xlwcheckbox.h: ditto.
616 * xlwcheckboxP.h: ditto.
618 * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
620 * lwlib-internal.h: declare destroy_all_children.
622 * lwlib-config.c: add widget checks.
624 * lwlib-Xm.h: declare xm_create_label;
626 * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
627 (xm_update_label): enable for widgets.
628 (xm_update_one_widget): ditto.
629 (xm_create_button): rename in line with lwlib-Xaw.c
630 (xm_create_progress): ditto.
631 (xm_create_text_field): ditto.
632 (xm_create_combo_box): ditto.
633 (xm_create_label): new function.
634 (xm_creation_table): rename widget creation functions.
635 (xm_destroy_instance): enable for widgets.
636 (xm_generic_callback): ditto.
637 (xm_generic_callback): ditto.
639 * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
640 callback that calls the correct function depending on what tab is
642 (xlw_create_tab_control): new function.
643 (build_tabs_in_widget): new function. puts tabs in a tab widget,
644 uses Xaw or Xm depending on how XEmacs was compiled.
645 (xlw_update_tab_control): update the resources for each
646 tab. optionally rebuild the contents of the tab widget.
647 (xlw_creation_table): add tab widget creation function.
648 (lw_lucid_widget_p): add tab widget.
649 (xlw_update_one_widget): ditto.
651 * lwlib-Xaw.h: declare xaw_create_label;
653 * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
654 (xaw_update_one_widget): ditto.
655 (xaw_update_one_value): add code from the Xm version.
656 (xaw_generic_callback): add Xm hack for setting command
657 states. beef up lookup of call data.
658 (xaw_create_button): new function.
659 (xaw_create_label): new function for use by tab widget.
660 (xaw_create_progress): new function.
661 (xaw_create_text_field): new function.
662 (xaw_creation_table): add new widget type creation functions.
664 * Makefile.in.in: add dependencies for new lw widgets.
666 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
668 * XEmacs 21.2.19 is released
670 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
672 * XEmacs 21.2.18 is released
674 1999-07-05 Didier Verna <didier@xemacs.org>
676 * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
677 call to xm_update_label.
679 1999-06-28 Andy Piper <andy@xemacs.org>
681 * lwlib-Xm.c: unconditionally enable text field & list code.
682 (make_progress): new function. creates a slider.
683 (make_text_field): new function. creates an edit field.
684 (make_combo_box): new function. creates a combo box.
685 (xm_creation_table): add new widget functions.
687 1999-06-25 Andy Piper <andy@xemacs.org>
689 * lwlib.h (_widget_value): add arglist slots.
690 declare new functions.
692 * lwlib.c (free_widget_value_contents): handle arglists when
694 (lw_add_value_args_to_args): new function. add arglist entries
695 from a widget_value structure.
697 * lwlib-Xm.c (make_button): new function, create a motif button
698 for display in a buffer as a glyph.
699 (xm_creation_table): add make_button.
701 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
703 * XEmacs 21.2.17 is released
705 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
707 * XEmacs 21.2.16 is released
709 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
711 * XEmacs 21.2.15 is released
713 1999-05-17 Jerry James <jerry@cs.ucsb.edu>
715 * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
718 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
720 * XEmacs 21.2.14 is released
722 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
724 * XEmacs 21.2.13 is released
726 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
728 * XEmacs 21.2.12 is released
730 1999-02-18 Martin Buchholz <martin@xemacs.org>
732 * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
733 - Have to toupper ((int) (unsigned char) x) to be portable.