1 2001-01-20 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.42 "Poseidon" is released.
5 2001-01-17 Martin Buchholz <martin@xemacs.org>
7 * XEmacs 21.2.41 "Polyhymnia" is released.
9 2001-01-08 Martin Buchholz <martin@xemacs.org>
11 * XEmacs 21.2.40 is released.
13 2001-01-06 Martin Buchholz <martin@xemacs.org>
15 * lwlib-Xaw.c (xaw_creation_table): Make const.
16 * lwlib-Xaw.h (xaw_creation_table): Make const.
17 * lwlib-Xlw.c (xlw_creation_table): Make const.
18 * lwlib-Xlw.h (xlw_creation_table): Make const.
19 * lwlib-Xm.c (xm_creation_table): Make const.
20 * lwlib-Xm.h (xm_creation_table): Make const.
21 * lwlib.c (find_in_table): Use const.
23 2001-01-02 Andy Piper <andy@xemacs.org>
25 * lwlib.h (_widget_args): add args_changed. Necessary because we
28 * lwlib.c (lw_add_widget_value_arg): set args_changed flag.
29 (merge_widget_value_args): mark as changed if args_changed is
31 (update_all_widget_values): reset args_changed.
32 (initialize_widget_instance): ditto.
34 2000-12-31 Martin Buchholz <martin@xemacs.org>
36 * XEmacs 21.2.39 is released.
38 2000-12-30 Andy Piper <andy@xemacs.org>
40 * xlwtabs.c: remove assertion definitions and put them in
41 lwlib-internal.h. This has the effect of enabling assertions which
42 should have been done from the very start.
43 (TabsShuffleRows): fix duff assertion.
44 (PreferredSize3): use dimensions throughout.
45 (PreferredSize2): ditto.
47 (DrawFrame): be clever about the enclosing frame if the child
49 (TabsResize): don't configure children that are no visible
50 anyway. Make sure geometry calculations don't end up negative.
52 * lwlib-internal.h: put in assertion definitions.
54 2000-12-05 Martin Buchholz <martin@xemacs.org>
56 * XEmacs 21.2.38 is released.
58 2000-11-30 Andy Piper <andy@xemacs.org>
60 * lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
61 someone fixes it properly.
63 2000-11-24 Andy Piper <andy@xemacs.org>
65 * xlwtabsP.h: add visible flag, realRows and remove displayChildren.
67 * xlwtabs.c (TabVisible): new macro. Consults visible flag.
68 (TabsInit): remove displayChildren, add realRows.
69 (TabsConstraintInitialize): ditto.
71 (TabsGeometryManager): ditto.
72 (TabsChangeManaged): ditto.
75 (TabsHighlight): ditto.
77 (TabLayout): Caclulate rows for all children and whether they
78 should be visible or not..
79 (TabsShuffleRows): shuffle rows based on both real and displayed
80 rows. Adjust visibility of all children.
81 (PreferredSize): ditto.
83 2000-11-19 Martin Buchholz <martin@xemacs.org>
85 * xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead.
87 2000-11-18 Martin Buchholz <martin@xemacs.org>
89 * xlwmenu.c (make_windows_if_needed):
91 The proper type for `mask' is `unsigned long', not `int'.
93 2000-11-18 Martin Buchholz <martin@xemacs.org>
95 * xlwtabs.c (defaultAccelerators): Add #### to unused var.
96 (TabsResize): Remove unused var.
97 * xlwmenu.c (XlwMenuInitialize): Remove unused vars.
98 * lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug.
100 2000-11-14 Martin Buchholz <martin@xemacs.org>
102 * XEmacs 21.2.37 is released.
104 2000-11-02 Stephen J. Turnbull <stephen@xemacs.org>
106 * lwlib.h: Typo fixes and tiny clarifications.
108 2000-10-04 Martin Buchholz <martin@xemacs.org>
110 * XEmacs 21.2.36 is released.
112 2000-09-21 Andy Piper <andy@xemacs.org>
114 * lwlib.h: declare copy_widget_value_tree.
116 * lwlib.c (copy_widget_value_tree): make non-static.
118 2000-09-19 Martin Buchholz <martin@xemacs.org>
120 * *: Spelling mega-patch
122 2000-09-16 Martin Buchholz <martin@xemacs.org>
124 * lwlib.c (ascii_strcasecmp): New.
125 * lwlib.c (find_in_table): Use ascii_strcasecmp.
126 Avoid using non-standard non-portable strcasecmp.
128 2000-08-02 Stephen J. Turnbull <stephen@xemacs.org>
130 * xlwmenu.c (XlwMenuInitialize): make comment on algorithm for
131 setting fontList match code. Suggest using same algorithm for
132 X Font Set resources in native lw code.
134 2000-07-30 Ben Wing <ben@xemacs.org>
136 * lwlib-Xaw.c (xaw_update_one_widget):
137 Remove accelerator specs from buttons, since Athena doesn't handle
140 * lwlib.c (lw_remove_accelerator_spec):
142 Define function and prototype to do this.
144 2000-07-15 Ben Wing <ben@xemacs.org>
147 Remove duplicate definition of streq().
149 2000-07-19 Martin Buchholz <martin@xemacs.org>
151 * XEmacs 21.2.35 is released.
153 2000-07-09 Martin Buchholz <martin@xemacs.org>
164 Replace SMART_INCLUDE with a dumber, but more reliable method.
166 * xlwmenu.c (parameterize_string): Fix C++ compilation warnings.
168 2000-06-10 Ben Wing <ben@xemacs.org>
170 * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
171 (xaw_update_one_value): fix crash due to incorrect arg count.
173 2000-05-28 Martin Buchholz <martin@xemacs.org>
175 * XEmacs 21.2.34 is released.
177 2000-05-01 Martin Buchholz <martin@xemacs.org>
179 * XEmacs 21.2.33 is released.
181 2000-04-19 Martin Buchholz <martin@xemacs.org>
183 * lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
184 * lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.
186 2000-04-12 Andy Piper <andy@xemacs.org>
188 * lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
189 (xaw_update_one_value): Get strings safely.
190 (xaw_create_text_field): add some extra properties.
192 2000-04-05 Andy Piper <andy@xemacs.org>
194 * lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
197 2000-04-05 Andy Piper <andy@xemacs.org>
199 * xlwradio.c (RadioSetValues): resize if position information has
202 * lwlib-Xm.c (xm_create_text_field): text fields should be enabled
203 even if there is no callback.
204 * lwlib-Xaw.c (xaw_create_text_field): ditto.
206 2000-04-03 Andy Piper <andy@xemacs.org>
208 * lwlib.c (merge_widget_value_args): only merge when the two args
209 are actually different.
211 2000-03-21 Didier Verna <didier@xemacs.org>
213 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
215 * config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.
217 2000-03-20 Martin Buchholz <martin@xemacs.org>
219 * XEmacs 21.2.32 is released.
221 2000-03-14 Ben Wing <ben@xemacs.org>
223 * xlwmenu.c (massage_resource_name): Handle %_ and %%.
225 2000-02-20 Gunnar Evermann <ge204@eng.cam.ac.uk>
227 * xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
228 even if we are only 'compatible' with the Motif resources.
229 (XmUNSPECIFIED_PIXMAP): Define unconditionally.
231 2000-02-23 Martin Buchholz <martin@xemacs.org>
233 * XEmacs 21.2.31 is released.
235 2000-02-22 Andy Piper <andy@xemacs.org>
237 * lwlib-Xm.c (xm_update_one_widget): set widget args last in case
238 anything messes with them in the meantime.
239 * lwlib-Xlw.c (xlw_update_one_widget): ditto.
240 * lwlib-Xaw.c (xaw_update_one_widget): ditto.
242 2000-02-21 Martin Buchholz <martin@xemacs.org>
244 * XEmacs 21.2.30 is released.
246 2000-02-21 Andy Piper <andy@xemacs.org>
248 * lwlib.c (merge_widget_value_args): don't delete the args before
249 copying, lw_copy_widget_value_args will do this for us if
251 (lw_add_widget_value_arg): Allow existing args to be replaced.
252 (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
253 reference couting works better that way.
254 (lw_copy_widget_value_args): Do the right thing.
256 * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
258 * lwlib-Xaw.c (xaw_create_progress): ditto.
260 2000-02-12 Jan Vroonhof <vroonhof@math.ethz.ch>
262 * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
263 compatible resource names.
265 * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
266 even if we are only 'compatible' with the Motif resources.
268 2000-02-15 Andy Piper <andy@xemacs.org>
270 * xlwgauge.c (GaugeExpose): remove shadows.
272 2000-02-16 Martin Buchholz <martin@xemacs.org>
274 * XEmacs 21.2.29 is released.
276 2000-02-09 Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
278 * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
281 2000-02-07 Martin Buchholz <martin@xemacs.org>
283 * XEmacs 21.2.28 is released.
285 2000-01-25 Andy Piper <andy@xemacs.org>
287 * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
290 2000-01-28 Martin Buchholz <martin@xemacs.org>
292 * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
294 2000-01-24 Andy Piper <andy@xemacs.org>
296 * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
298 (XawTabsSetHighlight): Don't unhighlight here.
300 2000-01-22 Martin Buchholz <martin@xemacs.org>
302 * *.h: Use consistent C-standards-approved guard macro names.
304 2000-01-18 Martin Buchholz <martin@xemacs.org>
306 * XEmacs 21.2.27 is released.
308 2000-01-15 Andy Piper <andy@xemacs.org>
310 * lwlib-Xlw.c (lw_update_one_widget): make sure global
313 2000-01-07 Martin Buchholz <martin@xemacs.org>
315 * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
316 This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
318 * lwlib.c: Fix up memset calls.
320 * lwlib-Xm.c (xm_update_text): Warning suppression.
321 (xm_update_text_field): Warning suppression.
323 2000-01-03 Martin Buchholz <martin@xemacs.org>
325 * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
326 (yes-or-no-p-dialog-box "Yes or No")
328 1999-12-31 Martin Buchholz <martin@xemacs.org>
330 * XEmacs 21.2.26 is released.
332 1999-12-29 Andy Piper <andy@xemacs.org>
334 * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
338 1999-12-24 Martin Buchholz <martin@xemacs.org>
340 * XEmacs 21.2.25 is released.
342 1999-12-23 Andy Piper <andy@xemacs.org>
344 * lwlib.c (lw_copy_widget_value_args): don't create empty
345 widget_args just because someone might use them later. This makes
346 all widgets look like they've changed.
348 1999-12-22 Andy Piper <andy@xemacs.org>
350 * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
353 1999-12-21 Martin Buchholz <martin@xemacs.org>
355 * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
357 1999-12-12 Daniel Pittman <daniel@danann.net>
366 Clean up Athena widget support:
367 - Athena headers now use dynamic include paths.
369 1999-12-08 Andy Piper <andy@xemacs.org>
371 * xlwtabs.c: sync with Tabs 2.2.
374 1999-12-14 Martin Buchholz <martin@xemacs.org>
376 * XEmacs 21.2.24 is released.
378 1999-12-14 Andy Piper <andy@xemacs.org>
380 * xlwtabs.c (TabsResize): reset need_layout so that we don't go
383 1999-12-14 Andy Piper <andy@xemacs.org>
385 * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
387 1999-12-13 Andy Piper <andy@xemacs.org>
389 * xlwtabs.c (TabsResize): We need to expose the tabs after
390 clearing the window they are in.
392 1999-12-08 Andy Piper <andy@xemacs.org>
394 * xlwtabs.c: sync with Tabs 2.1.
396 1999-12-07 Andy Piper <andy@xemacs.org>
398 * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
401 1999-12-07 Martin Buchholz <martin@xemacs.org>
403 * XEmacs 21.2.23 is released.
405 1999-12-05 Andy Piper <andy@xemacs.org>
407 * xlwtabs.c: back up to previous rev to make syncing easier. Fix
410 * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
412 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
414 * XEmacs 21.2.22 is released
416 1999-11-28 Martin Buchholz <martin@xemacs.org>
418 * XEmacs 21.2.21 is released.
420 1999-11-26 Martin Buchholz <martin@xemacs.org>
422 * xlwtabs.c: Remove unused variables. Fix warnings.
424 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
426 * XEmacs 21.2.20 is released
428 1999-09-09 Andy Piper <andy@xemacs.org>
430 * xlwtabs.c: updated tabs widget from Ed Falk.
434 1999-09-22 Martin Buchholz <martin@xemacs.org>
438 Move declaration of destroy_all_children from lwlib-internal.h to
439 lwlib-utils.h, where it belongs.
441 1999-09-21 Andy Piper <andy@xemacs.org>
443 * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
446 1999-09-22 Martin Buchholz <martin@xemacs.org>
448 * xlwtabs.c: Fix C++ compilability.
450 1999-09-18 Andy Piper <andy@xemacs.org>
452 * xlwtabs.c: Put in tabs sync because clipping should fix useability
455 1999-09-13 Andy Piper <andy@xemacs.org>
457 * xlwtabs.c: Back out tabs sync because of reported useability
460 1999-09-09 Andy Piper <andy@xemacs.org>
462 * xlwtabs.c: updated tabs widget from Ed Falk.
468 1999-09-03 Martin Buchholz <martin@xemacs.org>
470 * xlwgauge.c: Ansify.
471 Include <stdlib.h> to get prototype for atoi().
472 (GaugeSelect): Call GaugeExpose with the right number of args.
473 (GaugeLoseSel): Call GaugeExpose with the right number of args.
474 (GaugeConvert): This is a XtConvertSelectionProc,
475 so 5th parameter must be of type XtPointer, not XPointer.
476 (GaugeGetValue): This is a XtTimerCallbackProc,
477 so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
480 1999-09-01 Martin Buchholz <martin@xemacs.org>
482 * lwlib.c (free_widget_value_contents): Use proper type for cast.
484 * xlwradio.c: Use function prototypes everywhere.
487 * xlwradioP.h: Move declarations of non-static functions defined
488 in xlwradio.c into xlwradioP.h.
490 1999-09-02 Andy Piper <andy@xemacs.org>
492 * xlwgcs.c: include xmu.h
494 1999-09-01 Andy Piper <andy@xemacs.org>
496 * xlwgauge.c: rearrange headers yet again.
497 * xlwcheckbox.c: ditto.
501 1999-09-01 Andy Piper <andy@xemacs.org>
503 * xlwgauge.c: use xmu.h
504 * xlwcheckbox.c: ditto.
507 1999-08-31 Andy Piper <andy@xemacs.org>
513 * xlwgauge.c: Fix for losing systems without Xmu.
515 1999-08-31 Andy Piper <andy@xemacs.org>
517 * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
519 1999-08-30 Andy Piper <andy@xemacs.org>
521 * lwlib.c (free_widget_value_contents): be more precise about
522 freeing user defined args.
524 * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
525 its contents for hierarchies one deep.
527 1999-08-29 Andy Piper <andy@xemacs.org>
529 * xlwtabs.c: temporary fixes pending a new release.
532 * lwlib-Xm.c (xm_update_one_widget): update user defined args.
533 (xm_create_label): set args after creation as well as before.
535 * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
536 (xlw_update_tab_control): actually update the children rather than
539 * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
540 (xaw_create_label): set args after creation as well as before.
542 1999-08-23 Andy Piper <andy@xemacs.org>
544 * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
546 * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
547 (xm_creation_table): use it.
549 * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
550 (xaw_creation_table): use it.
552 1999-08-16 Andy Piper <andy@xemacs.org>
554 * lwlib.h: declare free_widget_value_tree.
556 * lwlib.c (free_widget_value_tree): make non-static.
558 * lwlib-Xm.c (xm_update_label): free val_string when updating.
560 1999-08-04 Andy Piper <andy@xemacs.org>
562 * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
564 (xm_nosel_callback): ditto.
566 * xlwtabsP.h: sync with 1.5.
568 * xlwtabs.c: sync with 1.18.
570 1999-07-28 Andy Piper <andy@xemacs.org>
572 * xlwtabs.c: new lucid tabs widget from Ed Falk.
575 * xlwgcs.c: GC manipulation for tab widgets.
578 * xlwgauge.c: new athena gauge widget from Ed Falk.
580 * xlwgaugeP.h: ditto.
582 * xlwradio.c: new athena radio widget from Ed Falk.
584 * xlwradioP.h: ditto.
586 * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
587 * xlwcheckbox.h: ditto.
588 * xlwcheckboxP.h: ditto.
590 * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
592 * lwlib-internal.h: declare destroy_all_children.
594 * lwlib-config.c: add widget checks.
596 * lwlib-Xm.h: declare xm_create_label;
598 * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
599 (xm_update_label): enable for widgets.
600 (xm_update_one_widget): ditto.
601 (xm_create_button): rename in line with lwlib-Xaw.c
602 (xm_create_progress): ditto.
603 (xm_create_text_field): ditto.
604 (xm_create_combo_box): ditto.
605 (xm_create_label): new function.
606 (xm_creation_table): rename widget creation functions.
607 (xm_destroy_instance): enable for widgets.
608 (xm_generic_callback): ditto.
609 (xm_generic_callback): ditto.
611 * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
612 callback that calls the correct function depending on what tab is
614 (xlw_create_tab_control): new function.
615 (build_tabs_in_widget): new function. puts tabs in a tab widget,
616 uses Xaw or Xm depending on how XEmacs was compiled.
617 (xlw_update_tab_control): update the resources for each
618 tab. optionally rebuild the contents of the tab widget.
619 (xlw_creation_table): add tab widget creation function.
620 (lw_lucid_widget_p): add tab widget.
621 (xlw_update_one_widget): ditto.
623 * lwlib-Xaw.h: declare xaw_create_label;
625 * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
626 (xaw_update_one_widget): ditto.
627 (xaw_update_one_value): add code from the Xm version.
628 (xaw_generic_callback): add Xm hack for setting command
629 states. beef up lookup of call data.
630 (xaw_create_button): new function.
631 (xaw_create_label): new function for use by tab widget.
632 (xaw_create_progress): new function.
633 (xaw_create_text_field): new function.
634 (xaw_creation_table): add new widget type creation functions.
636 * Makefile.in.in: add dependencies for new lw widgets.
638 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
640 * XEmacs 21.2.19 is released
642 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
644 * XEmacs 21.2.18 is released
646 1999-07-05 Didier Verna <didier@xemacs.org>
648 * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
649 call to xm_update_label.
651 1999-06-28 Andy Piper <andy@xemacs.org>
653 * lwlib-Xm.c: unconditionally enable text field & list code.
654 (make_progress): new function. creates a slider.
655 (make_text_field): new function. creates an edit field.
656 (make_combo_box): new function. creates a combo box.
657 (xm_creation_table): add new widget functions.
659 1999-06-25 Andy Piper <andy@xemacs.org>
661 * lwlib.h (_widget_value): add arglist slots.
662 declare new functions.
664 * lwlib.c (free_widget_value_contents): handle arglists when
666 (lw_add_value_args_to_args): new function. add arglist entries
667 from a widget_value structure.
669 * lwlib-Xm.c (make_button): new function, create a motif button
670 for display in a buffer as a glyph.
671 (xm_creation_table): add make_button.
673 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
675 * XEmacs 21.2.17 is released
677 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
679 * XEmacs 21.2.16 is released
681 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
683 * XEmacs 21.2.15 is released
685 1999-05-17 Jerry James <jerry@cs.ucsb.edu>
687 * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
690 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
692 * XEmacs 21.2.14 is released
694 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
696 * XEmacs 21.2.13 is released
698 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
700 * XEmacs 21.2.12 is released
702 1999-02-18 Martin Buchholz <martin@xemacs.org>
704 * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
705 - Have to toupper ((int) (unsigned char) x) to be portable.