1 2000-12-05 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.38 is released.
5 2000-11-30 Andy Piper <andy@xemacs.org>
7 * lwlib-Xm.c (xm_update_label): Hack to stop %_ labels until
8 someone fixes it properly.
10 2000-11-24 Andy Piper <andy@xemacs.org>
12 * xlwtabsP.h: add visible flag, realRows and remove displayChildren.
14 * xlwtabs.c (TabVisible): new macro. Consults visible flag.
15 (TabsInit): remove displayChildren, add realRows.
16 (TabsConstraintInitialize): ditto.
18 (TabsGeometryManager): ditto.
19 (TabsChangeManaged): ditto.
22 (TabsHighlight): ditto.
24 (TabLayout): Caclulate rows for all children and whether they
25 should be visible or not..
26 (TabsShuffleRows): shuffle rows based on both real and displayed
27 rows. Adjust visibility of all children.
28 (PreferredSize): ditto.
30 2000-11-19 Martin Buchholz <martin@xemacs.org>
32 * xlwtabs.c (TabsResize): Don't delete `tab', mark unused instead.
34 2000-11-18 Martin Buchholz <martin@xemacs.org>
36 * xlwmenu.c (make_windows_if_needed):
38 The proper type for `mask' is `unsigned long', not `int'.
40 2000-11-18 Martin Buchholz <martin@xemacs.org>
42 * xlwtabs.c (defaultAccelerators): Add #### to unused var.
43 (TabsResize): Remove unused var.
44 * xlwmenu.c (XlwMenuInitialize): Remove unused vars.
45 * lwlib-Xlw.c (xlw_update_one_widget): Add #### for probable bug.
47 2000-11-14 Martin Buchholz <martin@xemacs.org>
49 * XEmacs 21.2.37 is released.
51 2000-11-02 Stephen J. Turnbull <stephen@xemacs.org>
53 * lwlib.h: Typo fixes and tiny clarifications.
55 2000-10-04 Martin Buchholz <martin@xemacs.org>
57 * XEmacs 21.2.36 is released.
59 2000-09-21 Andy Piper <andy@xemacs.org>
61 * lwlib.h: declare copy_widget_value_tree.
63 * lwlib.c (copy_widget_value_tree): make non-static.
65 2000-09-19 Martin Buchholz <martin@xemacs.org>
67 * *: Spelling mega-patch
69 2000-09-16 Martin Buchholz <martin@xemacs.org>
71 * lwlib.c (ascii_strcasecmp): New.
72 * lwlib.c (find_in_table): Use ascii_strcasecmp.
73 Avoid using non-standard non-portable strcasecmp.
75 2000-08-02 Stephen J. Turnbull <stephen@xemacs.org>
77 * xlwmenu.c (XlwMenuInitialize): make comment on algorithm for
78 setting fontList match code. Suggest using same algorithm for
79 X Font Set resources in native lw code.
81 2000-07-30 Ben Wing <ben@xemacs.org>
83 * lwlib-Xaw.c (xaw_update_one_widget):
84 Remove accelerator specs from buttons, since Athena doesn't handle
87 * lwlib.c (lw_remove_accelerator_spec):
89 Define function and prototype to do this.
91 2000-07-15 Ben Wing <ben@xemacs.org>
94 Remove duplicate definition of streq().
96 2000-07-19 Martin Buchholz <martin@xemacs.org>
98 * XEmacs 21.2.35 is released.
100 2000-07-09 Martin Buchholz <martin@xemacs.org>
111 Replace SMART_INCLUDE with a dumber, but more reliable method.
113 * xlwmenu.c (parameterize_string): Fix C++ compilation warnings.
115 2000-06-10 Ben Wing <ben@xemacs.org>
117 * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
118 (xaw_update_one_value): fix crash due to incorrect arg count.
120 2000-05-28 Martin Buchholz <martin@xemacs.org>
122 * XEmacs 21.2.34 is released.
124 2000-05-01 Martin Buchholz <martin@xemacs.org>
126 * XEmacs 21.2.33 is released.
128 2000-04-19 Martin Buchholz <martin@xemacs.org>
130 * lwlib.c (lw_destroy_everything): Always use full ANSI prototypes.
131 * lwlib.c (lw_destroy_all_pop_ups): Always use full ANSI prototypes.
133 2000-04-12 Andy Piper <andy@xemacs.org>
135 * lwlib-Xaw.c (xaw_update_one_widget): no-op for text widgets.
136 (xaw_update_one_value): Get strings safely.
137 (xaw_create_text_field): add some extra properties.
139 2000-04-05 Andy Piper <andy@xemacs.org>
141 * lwlib-Xaw.c (lw_xaw_widget_p): include asciiTextWidgetClass as
144 2000-04-05 Andy Piper <andy@xemacs.org>
146 * xlwradio.c (RadioSetValues): resize if position information has
149 * lwlib-Xm.c (xm_create_text_field): text fields should be enabled
150 even if there is no callback.
151 * lwlib-Xaw.c (xaw_create_text_field): ditto.
153 2000-04-03 Andy Piper <andy@xemacs.org>
155 * lwlib.c (merge_widget_value_args): only merge when the two args
156 are actually different.
158 2000-03-21 Didier Verna <didier@xemacs.org>
160 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 to
162 * config.h.in (ATHENA_INCLUDE): use the `SMART_INCLUDE' macro.
164 2000-03-20 Martin Buchholz <martin@xemacs.org>
166 * XEmacs 21.2.32 is released.
168 2000-03-14 Ben Wing <ben@xemacs.org>
170 * xlwmenu.c (massage_resource_name): Handle %_ and %%.
172 2000-02-20 Gunnar Evermann <ge204@eng.cam.ac.uk>
174 * xlwscrollbar.c (get_gc): Always check for XmUNSPECIFIED_PIXMAP
175 even if we are only 'compatible' with the Motif resources.
176 (XmUNSPECIFIED_PIXMAP): Define unconditionally.
178 2000-02-23 Martin Buchholz <martin@xemacs.org>
180 * XEmacs 21.2.31 is released.
182 2000-02-22 Andy Piper <andy@xemacs.org>
184 * lwlib-Xm.c (xm_update_one_widget): set widget args last in case
185 anything messes with them in the meantime.
186 * lwlib-Xlw.c (xlw_update_one_widget): ditto.
187 * lwlib-Xaw.c (xaw_update_one_widget): ditto.
189 2000-02-21 Martin Buchholz <martin@xemacs.org>
191 * XEmacs 21.2.30 is released.
193 2000-02-21 Andy Piper <andy@xemacs.org>
195 * lwlib.c (merge_widget_value_args): don't delete the args before
196 copying, lw_copy_widget_value_args will do this for us if
198 (lw_add_widget_value_arg): Allow existing args to be replaced.
199 (free_widget_value_args): Set args to 0 rather than 0xdeadbeef,
200 reference couting works better that way.
201 (lw_copy_widget_value_args): Do the right thing.
203 * lwlib-Xm.c (xm_create_progress): Make sensitive as this looks
205 * lwlib-Xaw.c (xaw_create_progress): ditto.
207 2000-02-12 Jan Vroonhof <vroonhof@math.ethz.ch>
209 * xlwmenu.h (XmUNSPECIFIED_PIXMAP): Define this if we are using Motif
210 compatible resource names.
212 * xlwmenu.c (make_shadow_gcs): Always check for XmUNSPECIFIED_PIXMAP
213 even if we are only 'compatible' with the Motif resources.
215 2000-02-15 Andy Piper <andy@xemacs.org>
217 * xlwgauge.c (GaugeExpose): remove shadows.
219 2000-02-16 Martin Buchholz <martin@xemacs.org>
221 * XEmacs 21.2.29 is released.
223 2000-02-09 Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
225 * config.h.in (ATHENA_INCLUDE): Workaround bugs in both xlc and
228 2000-02-07 Martin Buchholz <martin@xemacs.org>
230 * XEmacs 21.2.28 is released.
232 2000-01-25 Andy Piper <andy@xemacs.org>
234 * xlwtabs.c (TabsChangeManaged): Make sure we unmanage the hilight
237 2000-01-28 Martin Buchholz <martin@xemacs.org>
239 * xlwgauge.c (GaugeConvert): bcopy ==> memcpy
241 2000-01-24 Andy Piper <andy@xemacs.org>
243 * xlwtabs.c (XawTabsSetTop): Unhighlight before changing the
245 (XawTabsSetHighlight): Don't unhighlight here.
247 2000-01-22 Martin Buchholz <martin@xemacs.org>
249 * *.h: Use consistent C-standards-approved guard macro names.
251 2000-01-18 Martin Buchholz <martin@xemacs.org>
253 * XEmacs 21.2.27 is released.
255 2000-01-15 Andy Piper <andy@xemacs.org>
257 * lwlib-Xlw.c (lw_update_one_widget): make sure global
260 2000-01-07 Martin Buchholz <martin@xemacs.org>
262 * config.h.in (ATHENA_INCLUDE): CPP trickery to make old cpps happy.
263 This extends support for gcc 2.6 (e.g. on BSD/OS 2.0)
265 * lwlib.c: Fix up memset calls.
267 * lwlib-Xm.c (xm_update_text): Warning suppression.
268 (xm_update_text_field): Warning suppression.
270 2000-01-03 Martin Buchholz <martin@xemacs.org>
272 * lwlib-Xaw.c (xaw_update_one_widget): Emergency fix for this crash:
273 (yes-or-no-p-dialog-box "Yes or No")
275 1999-12-31 Martin Buchholz <martin@xemacs.org>
277 * XEmacs 21.2.26 is released.
279 1999-12-29 Andy Piper <andy@xemacs.org>
281 * xlwtabs.c (TabsHighlight): use displayChildren for highlighting
285 1999-12-24 Martin Buchholz <martin@xemacs.org>
287 * XEmacs 21.2.25 is released.
289 1999-12-23 Andy Piper <andy@xemacs.org>
291 * lwlib.c (lw_copy_widget_value_args): don't create empty
292 widget_args just because someone might use them later. This makes
293 all widgets look like they've changed.
295 1999-12-22 Andy Piper <andy@xemacs.org>
297 * xlwtabs.c: Fix for X11R5 from Damon Lipparelli
300 1999-12-21 Martin Buchholz <martin@xemacs.org>
302 * xlwscrollbar.c (seg_pixel_sizes): ((expr)) ==> (expr)
304 1999-12-12 Daniel Pittman <daniel@danann.net>
313 Clean up Athena widget support:
314 - Athena headers now use dynamic include paths.
316 1999-12-08 Andy Piper <andy@xemacs.org>
318 * xlwtabs.c: sync with Tabs 2.2.
321 1999-12-14 Martin Buchholz <martin@xemacs.org>
323 * XEmacs 21.2.24 is released.
325 1999-12-14 Andy Piper <andy@xemacs.org>
327 * xlwtabs.c (TabsResize): reset need_layout so that we don't go
330 1999-12-14 Andy Piper <andy@xemacs.org>
332 * xlwtabs.c (TabsSetValues): re-allocate GCs if font has changed.
334 1999-12-13 Andy Piper <andy@xemacs.org>
336 * xlwtabs.c (TabsResize): We need to expose the tabs after
337 clearing the window they are in.
339 1999-12-08 Andy Piper <andy@xemacs.org>
341 * xlwtabs.c: sync with Tabs 2.1.
343 1999-12-07 Andy Piper <andy@xemacs.org>
345 * lwlib-Xlw.c (lw_lucid_widget_p): make sure we pick up the
348 1999-12-07 Martin Buchholz <martin@xemacs.org>
350 * XEmacs 21.2.23 is released.
352 1999-12-05 Andy Piper <andy@xemacs.org>
354 * xlwtabs.c: back up to previous rev to make syncing easier. Fix
357 * lwlib-Xaw.c (xaw_update_one_widget): use XtIsSubclass.
359 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
361 * XEmacs 21.2.22 is released
363 1999-11-28 Martin Buchholz <martin@xemacs.org>
365 * XEmacs 21.2.21 is released.
367 1999-11-26 Martin Buchholz <martin@xemacs.org>
369 * xlwtabs.c: Remove unused variables. Fix warnings.
371 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
373 * XEmacs 21.2.20 is released
375 1999-09-09 Andy Piper <andy@xemacs.org>
377 * xlwtabs.c: updated tabs widget from Ed Falk.
381 1999-09-22 Martin Buchholz <martin@xemacs.org>
385 Move declaration of destroy_all_children from lwlib-internal.h to
386 lwlib-utils.h, where it belongs.
388 1999-09-21 Andy Piper <andy@xemacs.org>
390 * lwlib-Xm.c (xm_update_label): don't clobber pixmap type labels
393 1999-09-22 Martin Buchholz <martin@xemacs.org>
395 * xlwtabs.c: Fix C++ compilability.
397 1999-09-18 Andy Piper <andy@xemacs.org>
399 * xlwtabs.c: Put in tabs sync because clipping should fix useability
402 1999-09-13 Andy Piper <andy@xemacs.org>
404 * xlwtabs.c: Back out tabs sync because of reported useability
407 1999-09-09 Andy Piper <andy@xemacs.org>
409 * xlwtabs.c: updated tabs widget from Ed Falk.
415 1999-09-03 Martin Buchholz <martin@xemacs.org>
417 * xlwgauge.c: Ansify.
418 Include <stdlib.h> to get prototype for atoi().
419 (GaugeSelect): Call GaugeExpose with the right number of args.
420 (GaugeLoseSel): Call GaugeExpose with the right number of args.
421 (GaugeConvert): This is a XtConvertSelectionProc,
422 so 5th parameter must be of type XtPointer, not XPointer.
423 (GaugeGetValue): This is a XtTimerCallbackProc,
424 so 2nd parameter must be of type XtIntervalId *, not XtIntervalId.
427 1999-09-01 Martin Buchholz <martin@xemacs.org>
429 * lwlib.c (free_widget_value_contents): Use proper type for cast.
431 * xlwradio.c: Use function prototypes everywhere.
434 * xlwradioP.h: Move declarations of non-static functions defined
435 in xlwradio.c into xlwradioP.h.
437 1999-09-02 Andy Piper <andy@xemacs.org>
439 * xlwgcs.c: include xmu.h
441 1999-09-01 Andy Piper <andy@xemacs.org>
443 * xlwgauge.c: rearrange headers yet again.
444 * xlwcheckbox.c: ditto.
448 1999-09-01 Andy Piper <andy@xemacs.org>
450 * xlwgauge.c: use xmu.h
451 * xlwcheckbox.c: ditto.
454 1999-08-31 Andy Piper <andy@xemacs.org>
460 * xlwgauge.c: Fix for losing systems without Xmu.
462 1999-08-31 Andy Piper <andy@xemacs.org>
464 * lwlib-Xm.c (xm_update_one_widget): fix for AIX compiler lossage.
466 1999-08-30 Andy Piper <andy@xemacs.org>
468 * lwlib.c (free_widget_value_contents): be more precise about
469 freeing user defined args.
471 * lwlib-Xaw.c (xaw_update_one_widget): make sure we use val not
472 its contents for hierarchies one deep.
474 1999-08-29 Andy Piper <andy@xemacs.org>
476 * xlwtabs.c: temporary fixes pending a new release.
479 * lwlib-Xm.c (xm_update_one_widget): update user defined args.
480 (xm_create_label): set args after creation as well as before.
482 * lwlib-Xlw.c (xlw_create_tab_control): orient tabs horizontally.
483 (xlw_update_tab_control): actually update the children rather than
486 * lwlib-Xaw.c (xaw_update_one_widget): update user defined args.
487 (xaw_create_label): set args after creation as well as before.
489 1999-08-23 Andy Piper <andy@xemacs.org>
491 * lwlib-Xm.c (xm_update_label): don't concatenate value to itself.
493 * lwlib-Xm.c (xm_create_label_field): new function for creating labels.
494 (xm_creation_table): use it.
496 * lwlib-Xaw.c (xaw_create_label_field): new function for creating labels.
497 (xaw_creation_table): use it.
499 1999-08-16 Andy Piper <andy@xemacs.org>
501 * lwlib.h: declare free_widget_value_tree.
503 * lwlib.c (free_widget_value_tree): make non-static.
505 * lwlib-Xm.c (xm_update_label): free val_string when updating.
507 1999-08-04 Andy Piper <andy@xemacs.org>
509 * lwlib-Xm.c (mark_dead_instance_destroyed): change so that its
511 (xm_nosel_callback): ditto.
513 * xlwtabsP.h: sync with 1.5.
515 * xlwtabs.c: sync with 1.18.
517 1999-07-28 Andy Piper <andy@xemacs.org>
519 * xlwtabs.c: new lucid tabs widget from Ed Falk.
522 * xlwgcs.c: GC manipulation for tab widgets.
525 * xlwgauge.c: new athena gauge widget from Ed Falk.
527 * xlwgaugeP.h: ditto.
529 * xlwradio.c: new athena radio widget from Ed Falk.
531 * xlwradioP.h: ditto.
533 * xlwcheckbox.c: new athena checkbox widget from Ed Falk.
534 * xlwcheckbox.h: ditto.
535 * xlwcheckboxP.h: ditto.
537 * lwlib-utils.c (destroy_all_children): moved from lwlib-Xm.c.
539 * lwlib-internal.h: declare destroy_all_children.
541 * lwlib-config.c: add widget checks.
543 * lwlib-Xm.h: declare xm_create_label;
545 * lwlib-Xm.c (destroy_all_children): move to lwlib-utils.c.
546 (xm_update_label): enable for widgets.
547 (xm_update_one_widget): ditto.
548 (xm_create_button): rename in line with lwlib-Xaw.c
549 (xm_create_progress): ditto.
550 (xm_create_text_field): ditto.
551 (xm_create_combo_box): ditto.
552 (xm_create_label): new function.
553 (xm_creation_table): rename widget creation functions.
554 (xm_destroy_instance): enable for widgets.
555 (xm_generic_callback): ditto.
556 (xm_generic_callback): ditto.
558 * lwlib-Xlw.c (xlw_tab_control_callback): new function. a special
559 callback that calls the correct function depending on what tab is
561 (xlw_create_tab_control): new function.
562 (build_tabs_in_widget): new function. puts tabs in a tab widget,
563 uses Xaw or Xm depending on how XEmacs was compiled.
564 (xlw_update_tab_control): update the resources for each
565 tab. optionally rebuild the contents of the tab widget.
566 (xlw_creation_table): add tab widget creation function.
567 (lw_lucid_widget_p): add tab widget.
568 (xlw_update_one_widget): ditto.
570 * lwlib-Xaw.h: declare xaw_create_label;
572 * lwlib-Xaw.c (lw_xaw_widget_p): add widgets classes.
573 (xaw_update_one_widget): ditto.
574 (xaw_update_one_value): add code from the Xm version.
575 (xaw_generic_callback): add Xm hack for setting command
576 states. beef up lookup of call data.
577 (xaw_create_button): new function.
578 (xaw_create_label): new function for use by tab widget.
579 (xaw_create_progress): new function.
580 (xaw_create_text_field): new function.
581 (xaw_creation_table): add new widget type creation functions.
583 * Makefile.in.in: add dependencies for new lw widgets.
585 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
587 * XEmacs 21.2.19 is released
589 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
591 * XEmacs 21.2.18 is released
593 1999-07-05 Didier Verna <didier@xemacs.org>
595 * lwlib-Xm.c (xm_update_one_widget): add missing #ifdefs around
596 call to xm_update_label.
598 1999-06-28 Andy Piper <andy@xemacs.org>
600 * lwlib-Xm.c: unconditionally enable text field & list code.
601 (make_progress): new function. creates a slider.
602 (make_text_field): new function. creates an edit field.
603 (make_combo_box): new function. creates a combo box.
604 (xm_creation_table): add new widget functions.
606 1999-06-25 Andy Piper <andy@xemacs.org>
608 * lwlib.h (_widget_value): add arglist slots.
609 declare new functions.
611 * lwlib.c (free_widget_value_contents): handle arglists when
613 (lw_add_value_args_to_args): new function. add arglist entries
614 from a widget_value structure.
616 * lwlib-Xm.c (make_button): new function, create a motif button
617 for display in a buffer as a glyph.
618 (xm_creation_table): add make_button.
620 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
622 * XEmacs 21.2.17 is released
624 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
626 * XEmacs 21.2.16 is released
628 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
630 * XEmacs 21.2.15 is released
632 1999-05-17 Jerry James <jerry@cs.ucsb.edu>
634 * xlwmenu.c (make_shadow_gcs): Test bottom_shadow_pixmap before
637 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
639 * XEmacs 21.2.14 is released
641 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
643 * XEmacs 21.2.13 is released
645 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
647 * XEmacs 21.2.12 is released
649 1999-02-18 Martin Buchholz <martin@xemacs.org>
651 * lwlib/xlwmenu.c (massage_resource_name): Fix compiler warning
652 - Have to toupper ((int) (unsigned char) x) to be portable.