48b46f56adaaa1b1cfddf3ed5f58cf2b1a3fbd44
[bpt/emacs.git] / lwlib / ChangeLog
1 1999-10-07 Gerd Moellmann <gerd@gnu.org>
2
3 * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use
4 widgets instead of gadgets to be able to set colors.
5
6 1999-09-17 Richard Stallman <rms@gnu.org>
7
8 * lwlib-Xaw.c (wm_delete_window): Check all the shell's children,
9 not just the first, to find the dialog box.
10
11 1999-09-14 Gerd Moellmann <gerd@gnu.org>
12
13 * lwlib.c (lw_separator_p): Check for new-style separators
14 differently.
15
16 1999-09-10 Gerd Moellmann <gerd@gnu.org>
17
18 * lwlib.c (lw_separator_p): Add `--:space' with the same
19 meaning as `--:noLine'.
20
21 1999-09-06 Gerd Moellmann <gerd@gnu.org>
22
23 * lwlib.c (lw_separator_p): Add alternative separator type names.
24
25 1999-09-03 Gerd Moellmann <gerd@gnu.org>
26
27 * xlwmenu.c (make_shadow_gcs): Call
28 x_alloc_nearest_color_for_widget.
29
30 1999-07-12 Richard Stallman <rms@gnu.org>
31
32 * Version 20.4 released.
33
34 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
35
36 * Version 20.3 released.
37
38 1998-07-30 Paul Eggert <eggert@twinsun.com>
39
40 * lwlib/Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
41 (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o):
42 Add dependencies to corresponding .c files. for Solaris 2.x VPATH make.
43
44 1998-04-06 Andreas Schwab <schwab@gnu.org>
45
46 * lwlib.c: Always declare xmalloc.
47 [USE_XAW]: Include <X11/Xaw/Paned.h>.
48 (lwlib_memset, lwlib_bcopy): Explicitly declare return type.
49
50 1997-12-20 Richard Stallman <rms@delysid.gnu.org>
51
52 * lwlib-Xm.c (update_one_menu_entry):
53 Add conditional in case XmNpositionIndex is missing.
54
55 1997-12-20 Richard Stallman <rms@psilocin.gnu.org>
56
57 * lwlib-Xm.c (update_one_menu_entry):
58 Add conditional in case XmNpositionIndex is missing.
59
60 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
61
62 * Version 20.2 released.
63
64 * xlwmenu.c (motion_event_is_in_menu): Extend the left and
65 top windows by the shadow width.
66
67 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
68
69 * Version 20.1 released.
70
71 1997-07-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
72
73 * xlwmenu.c (display_menu): If an item is disabled,
74 don't display its submenu (if any).
75
76 1997-05-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
77
78 * xlwmenu.c (pop_up_menu): Update the call to x_catch_errors.
79
80 1997-01-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
81
82 * xlwmenu.c (fit_to_screen): If new menu would overlap the previous
83 one from the side, try moving it up or down.
84
85 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
86
87 * Version 19.33 released.
88
89 * lwlib-Xm.c (update_one_menu_entry): Fix previous change:
90 When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget,
91 just modify the existing one.
92
93 1996-08-09 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
94
95 * lwlib.c (merge_widget_value): Undo previous change.
96
97 * lwlib-Xm.c (update_one_menu_entry): When creating a pulldown
98 in an existing but empty menu item, in order to get a new functional
99 pulldown, the menu item must be switched from an XmPushButtonGadget
100 into a XmCascadeButtonGadget.
101
102 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
103
104 * Version 19.32 released.
105
106 1996-07-31 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
107
108 * lwlib-Xm.c (make_menubar): Turn off menu accelerator.
109
110 1996-07-24 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
111
112 * lwlib.c (merge_widget_value) [USE_MOTIF]: Pass along the change
113 flag from merged_contents.
114
115 1996-07-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
116
117 * lwlib-Xm.c (xm_update_menu): Fix loop termination test.
118
119 1996-07-07 Karl Heuer <kwzh@gnu.ai.mit.edu>
120
121 * lwlib-Xm.h, lwlib-Xm.c, lwlib.h, lwlib.c: Undo previous change.
122
123 1996-07-03 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
124
125 * lwlib-Xm.h: Declare lw_motif_menu_related_event_p.
126
127 * lwlib-Xm.c (lw_motif_menu_related_event_p): A predicate to
128 identify keyboard events intended only for menus.
129
130 * lwlib.h: Declare lw_toolkit_related_event_p.
131
132 * lwlib.c (lw_toolkit_related_event_p): A predicate to identify
133 toolkit-specific events.
134
135 1996-06-07 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
136
137 * lwlib-Xm.c (make_menu_in_widget): Set mapping delay
138 for cascade buttons to zero.
139
140 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
141
142 * Version 19.31 released.
143
144 1996-03-31 Richard Stallman <rms@mole.gnu.ai.mit.edu>
145
146 * lwlib-Xm.c (destroy_all_children): When freeing a cascade button,
147 free its submenu too.
148 (make_menu_in_widget): Use a cascade button gadget, not a widget.
149 Include Xm/CascadeBG.h.
150
151 1996-03-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
152
153 * Makefile.in (tags): New target.
154
155 1996-03-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
156
157 * Makefile.in (TAGS): Renamed from `tags' and fixed to work.
158
159 1996-03-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
160
161 * Makefile.in (xlwmenu.o): New explicit target.
162
163 1996-03-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
164
165 * lwlib.h (struct widget_value): New field this_one_change.
166 * lwlib.c (merge_widget_value): Set the this_one_change field.
167 * lwlib-Xm.c (destroy_all_children): New arg first_child_to_destroy.
168 (make_menu_in_widget): New arg keep_first_children.
169 (xm_update_menu): Preserve the first children even if later ones
170 have a structural change.
171 (update_one_menu_entry): Use this_one_change field.
172
173 1996-03-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
174
175 * xlwmenu.c (motion_event_is_in_menu): Make x and y signed.
176
177 1996-02-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
178
179 * lwlib.c (lw_window_is_in_menubar) [USE_MOTIF]:
180 With Motif, the window WIN can be the menu bar widget itself.
181
182 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
183
184 * lwlib.c (free_widget_value_tree, merge_widget_value):
185 Use XtFree for the toolkit_data.
186
187 1996-02-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
188
189 * lwlib.c (lw_internal_update_other_instances): Move static var
190 outside the function, and rename it to lwlib_updating.
191
192 1996-01-04 Paul Eggert <eggert@twinsun.com>
193
194 * lwlib.c (instantiate_widget_instance): Renamed from
195 instanciate_widget_instance (spelling correction).
196 All callers changed.
197
198 1995-12-31 Richard Stallman <rms@mole.gnu.ai.mit.edu>
199
200 * xlwmenu.c (xlwMenuActionsList): Add "key" and "nothing".
201 (xlwMenuTranslations): Add translations for Key, KeyUp,
202 and for the modifier keysyms.
203 (Nothing, Key): New functions.
204
205 1995-12-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
206
207 * xlwmenu.c (XlwMenuSetValues): Do redisplay if non-null contents
208 get replaced by empty contents.
209
210 * lwlib.c (merge_widget_value): Treat disappearance of entire contents
211 as a STRUCTURAL_CHANGE.
212
213 1995-12-20 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
214
215 * lwlib-utils.c: Add #undef for index and rindex.
216
217 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
218
219 * Version 19.30 released.
220
221 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
222
223 * xlwmenu.c (display_menu_item): Fix previous change.
224
225 1995-11-04 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
226
227 * xlwmenu.c (display_menu_item): Don't treat buttons specially.
228
229 1995-08-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
230
231 * Makefile.in (RANLIB): Get this var from configure.
232
233 1995-08-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
234
235 * lwlib.c (lw_popup_menu): New arg `event', passed along.
236 * lwlib-Xlw.c (xlw_popup_menu): New arg `event'.
237 * lwlib-Xm.c (xm_popup_menu): New arg `event'.
238
239 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
240
241 * Version 19.29 released.
242
243 1995-06-11 Richard Stallman <rms@gnu.ai.mit.edu>
244
245 * lwlib.c (lwlib_toolkit_type): New variable.
246
247 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
248
249 * xlwmenu.c (Drag): Do nothing unless menu.popped_up field is set.
250
251 1995-05-22 Karl Heuer <kwzh@hal.gnu.ai.mit.edu>
252
253 * xlwmenu.c (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args.
254
255 1995-05-20 Karl Heuer <kwzh@nutrimat.gnu.ai.mit.edu>
256
257 * lwlib.c: Don't use prototype.
258 * lwlib-Xm.c (activate_button, xm_update_cascadebutton): Likewise.
259
260 1995-05-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
261
262 * lwlib.c (lw_refigure_widget) [USE_MOTIF]: Fix backward if.
263
264 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
265
266 * Makefile.in (ALL_CFLAGS): Add -I../src.
267
268 1995-05-03 Morten Welinder <terra+@cs.cmu.edu>
269
270 * lwlib.c [__osf__]: Include string.h and stdlib.h.
271 [__osf__] (xmalloc): Declared.
272
273 1995-04-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
274
275 * lwlib-Xm.c (update_one_menu_entry, make_menu_in_widget):
276 Specify more useful names in XmCreatePulldownMenu calls.
277
278 * lwlib-Xaw.c (xaw_pop_instance): Make x, y, w, h unsigned.
279
280 * xlwmenu.c (size_menu): Make height and label_width unsigned.
281 (fit_to_screen): Make screen_width and screen_height unsigned.
282 (motion_event_is_in_menu): Make x, y unsigned.
283
284 1995-04-09 Richard Stallman <rms@mole.gnu.ai.mit.edu>
285
286 * lwlib-utils.c: If HAVE_CONFIG_H, include config.h.
287
288 * Makefile.in (ALL_CFLAGS): Define HAVE_CONFIG_H.
289 Add -I${srcdir}/../src.
290
291 1995-04-08 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
292
293 * lwlib-Xm.c: Remove function prototypes.
294 (xm_pop_down_callback): Call the deactivation callback only when
295 popping down the top level submenu.
296
297 1995-04-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
298
299 * Makefile.in (lwlib.o): Depend on Makefile.
300
301 * lwlib-Xm.h: Remove function prototypes.
302
303 * lwlib-Xm.c (remove_grabs): Use type Widget for `menu'.
304
305 1995-02-15 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
306
307 * Makefile.in (ALL_CFLAGS): Allow include files to be found in
308 `srcdir'.
309
310 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
311
312 * Makefile.in (maintainer-clean): Renamed from realclean.
313
314 1994-11-28 Richard Stallman <rms@bethel>
315
316 * lwlib-int.h (safe_strdup): Don't use ANSI argument prototype.
317
318 1994-11-15 Paul Reilly <pmr@duality.gnu.ai.mit.edu>
319
320 * lwlib.c (lw_refigure_widget): Use the macro USE_XAW rather than XAW.
321
322 1994-11-08 Paul Reilly <pmr@duality.gnu.ai.mit.edu>
323
324 * lwlib-Xm.c (make_menu_in_widget): Differentiate a separator
325 entry ("--") from a title.
326 (xm_pop_down_callback): Filter all but the last pop down callbacks.
327
328 1994-11-07 Paul Reilly <pmr@duality.gnu.ai.mit.edu>
329
330 * lwlib-Xm.c (update_one_menu_entry): Use the parent of the
331 cascade button as the parent of the pulldown, rather than the
332 cascade button itself. This works around a Motif SIGSEGV in the
333 function `InSharedMenuHierarchy'.
334
335 1994-10-29 Richard Stallman <rms@duality.gnu.ai.mit.edu>
336
337 * xlwmenu.c (xlwmenu_default_font): New global variable.
338 (XlwMenuInitialize): Use xlwmenu_default_font to default
339 the font if necessary. Make mw, itself, an argument.
340
341 1994-10-26 Richard Stallman <rms@duality.gnu.ai.mit.edu>
342
343 * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc.
344
345 1994-10-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
346
347 * xlwmenu.c (xlwmenu_default_font): New global variable.
348 (XlwMenuInitialize): Use xlwmenu_default_font to default
349 the font if necessary. Make mw, itself, an argument.
350
351 * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc.
352
353 1994-10-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
354
355 * xlwmenu.c (fit_to_screen): Don't put the menu off the left or top.
356
357 1994-10-02 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
358
359 * xlwmenu.c (display_menu_item): Add support for displaying the
360 title in pop up menus.
361
362 * lwlib.c (lw_set_main_areas): Use xm_set_main_areas().
363 (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
364
365 1994-09-25 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
366
367 * lwlib-Xaw.c (xaw_create_main): New function to support the
368 toolkit independent creation of the main Emacs widget. *
369 lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set
370 resizing resources to disable showGrip and to enable both
371 resizeToPreferred and allowShellResize.
372
373 * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing.
374
375 * lwlib-Xm.c: (make_menu_in_widget): Add support for displaying a
376 title in pop up menus.
377 (make_main, xm_set_main_areas, xm_manage_resizing): New functions to
378 create and manage a Motif Main Window widget.
379
380 * xlwmenu.c: Add #include <X11/ObjectP.h> for X11R4.
381
382 1994-09-18 Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
383
384 * lwlib-Xm.c (make_dialog): When there is more than two pushbuttons,
385 set XmPACK_TIGHT and XmHORIZONTAL to the rowcolumn. Also add a
386 margin of 10 pixels.
387
388 1994-09-16 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
389
390 * lwlib-Xm.c (make_main): New function to support toolkit
391 independent creation of the main Emacs widget.
392 (make_destroyed_instance): Use safe_strdup() instead of strdup().
393
394 * lwlib-int.h: Declare safe_strdup.
395
396 * lwlib.c (lw_refigure_widget): New function. Handle geometry
397 management inside lwlib instead of in Emacs.
398 (lw_window_is_in_menubar): New function. Determine if the pointer
399 is in a menubar.
400 (lw_set_main_areas): New function. Set the main window widgets for
401 Motif.
402
403 * lwlib.h: Declare lw_refigure_widget(), lw_window_is_in_menubar(),
404 lw_set_main_areas().
405
406 * xlwmenu.h: Define Xt{Ns,CS}howGrip, Xt{Nr,CR}esizeToPreferred, and
407 Xt{Na,CA}llowResize.
408
409 * xlwmenu.c (Start): Use pop_up_menu() to post the submenus.
410 (Select): Remove the pointer grab when popping down a menubar
411 submenu.
412 (pop_up_menu): Handle popping up submenus from a menubar, i.e. when
413 the menu widget parent is not a shell widget.
414
415 1994-08-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
416
417 * xlwmenu.c (pop_up_menu): Clear next_release_must_exit.
418 (Start): Clear next_release_must_exit when popping up the menu.
419
420 1994-08-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
421
422 * xlwmenu.c (Start): Set menu_post_event or next_release_must_exit.
423 (Select): Do nothing if the menu should be left posted.
424
425 1994-07-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
426
427 * xlwmenu.c (make_windows_if_needed, pop_up_menu):
428 Enable mouse motion events even when no button down.
429
430 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
431
432 * xlwmenu.c (pointer_grabbed): New variable.
433 (pop_up_menu): Set the variable.
434 (XlwMenuDestroy): Maybe call XtUngrabPointer.
435
436 1994-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
437
438 * lwlib.c (max): Function deleted. Define as macro instead,
439 but only if not already defined.
440
441 1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
442
443 * xlwmenu.c (xlwMenuResources): Use XtRDimension for shadow thickness.
444
445 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
446
447 * lwlib-Xaw.c (xaw_pop_instance): Use XtSetValues, not XtMoveWidget.
448
449 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
450
451 * lwlib.c (lwlib_memset: New function, used instead of memset.
452 All callers changed.
453 * lwlib.c (lwlib_bcopy): New function.
454 * lwlib-utils.c (XtApplyToWidgets): Use lwlib_bcopy.
455
456 * lwlib.c: Delete definitions for use of alloca.
457 (name_to_widget): Use xmalloc, not alloca.
458
459 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
460
461 * xlwmenu.c (XlwMenuDestroy): Set new var submenu_destroyed.
462 (XlwMenuRedisplay): If it's set, truncate the old_depth to 1.
463
464 1994-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
465
466 * xrdb-cpp.c: Don't include string.h, unistd.h, stdlib.h.
467 * lwlib-Xaw.c: Don't include string.h, unistd.h, stdlib.h.
468 * lwlib-utils.c (XtApplyToWidgets): Use bcopy, not memcpy.
469 * lwlib-utils.c: Don't include string.h, unistd.h, stdlib.h, memory.h.
470 * xlwmenu.c: Don't include string.h, unistd.h, stdlib.h.
471 * lwlib.c: Don't include string.h, unistd.h, stdlib.h.
472 (safe_strdup): No longer static.
473 * lwlib-Xm.c: Use safe_strdup, not strdup.
474
475 * xlwmenu.c (string_width): No longer static.
476
477 1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
478
479 * xlwmenuP.h (struct _XlwMenu_part): Use Pixel and Cursor
480 for foreground and cursor_shape fields.
481
482 * xlwmenu.c (XlwMenuSetValues): Check for change of font.
483
484 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
485
486 * Makefile.in: Delete all SRCS variables (unused).
487 (lwlib.o, xrdb-cpp.o): Mention srcdir in dep.
488
489 1994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu)
490
491 * Makefile.in (ALL_CFLAGS): Don't define THIS_IS_X11R4.
492
493 * xrdb.c: Define HAVE_X11R5 as in xterm.h.
494 Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h.
495 (_XtDisplayInitialize): Test HAVE_X11R5.
496
497 * dispatch.c: Define HAVE_X11R5 as in xterm.h.
498 Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h.
499 (_XtConvertTypeToMask): Conditionalize on HAVE_X11R5.
500 (WouldDispatchEvent): Likewise.
501
502 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
503
504 * lwlib-Xaw.c (xaw_generic_callback): Declare without arg names.
505
506 1994-04-01 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu)
507
508 * lwlib-Xaw.c (make_dialog): Don't allow any geometry request from the
509 user.
510
511 1994-03-22 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
512
513 * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize
514 itself. Therefore reset the size to its initial value.
515
516 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
517
518 * lwlib-Xaw.c (xaw_update_one_widget): Finish replacing XtVaSetValues.
519 Don't test for scrollbar widget.
520
521 1994-03-14 Frederic Pierresteguy (fp@gnu.ai.mit.edu)
522
523 * lwlib-int.h: Declare lw_get_widget_info.
524
525 * lwlib.c (lw_get_widget_info): Comment out arg in function decl.
526
527 * lwlib-Xaw.h: Comment out args in function decls.
528 * lwlib-Xaw.c: Convert all function definitions to non-prototype K&R.
529 (xaw_update_one_widget - case dialogWidgetClass): Call XtSetValues,
530 not XtVaSetValues.
531
532 1994-03-11 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
533
534 * xlwmenu.c (display_menu_item): Modify parameters to draw_arrow to
535 right justify the arrow in the pane.
536
537 * lwlib.c: If not defined USE_MOTIF and defined USE_LUCID then
538 define USE_XAW.
539
540 * Makefile.in (LUCID_SRCS, LUCID_OBJS): Add the target lwlib-Xaw.[oc].
541
542 * lwlib.c, lwlib-int.h: Merged from Lucid 19.9 release.
543 * lwlib.c (_AIX): Replace the AIXV3 directive.
544 (USE_XAW): New macro to conditionalize the use of the athena toolkit.
545 (lw_get_widget_info): New function.
546 (set_one_value): Handle USE_XAW.
547 (instanciate_widget_instance): Likewise.
548 (destroy_one_instance): Likewise.
549 (lw_pop_all_widgets): Likewise.
550 (lw_pop_down_all_widgets): Likewise.
551 (get_one_value): Likewise.
552
553 * lwlib-Xaw.c, lwlib-Xaw.h: New files.
554
555 1994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
556
557 * xlwmenu.c (XlwMenuInitialize, XlwMenuDestroy): Undo previous changes.
558
559 * lwlib-Xlw.c (xlw_create_menubar, xlw_create_popup_menu):
560 Use XtCreate..., not XtVaCreate...
561 No need to copy instance->info->val any more.
562 (xlw_update_one_widget): Use XtSetValues, not XtVaSetValues.
563
564 1994-02-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
565
566 * xlwmenu.c (pop_up_menu): Call XtUngrabPointer if XtGrabPointer fails.
567
568 1994-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
569
570 * Makefile.in (xrdb-cpp.o, lwlib.o): Put ALL_CFLAGS after other flags.
571
572 * lwlib-Xlw.c (xlw_create_menubar): Don't call free_widget_value.
573 Use malloc for allocation.
574 (xlw_create_popup_menu): Likewise.
575
576 1994-02-18 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
577
578 * lwlib.c (malloc_cpt): New static variable.
579 (malloc_widget_value): Increment malloc_cpt when allocating a cell.
580 (free_widget_value): Really free the cells when the number of
581 allocated ones is bigger than 25.
582
583 * lwlib-Xlw.c (xlw_create_menubar): Call malloc_widget_value and
584 free_widget_value instead of XtMalloc and XtFree.
585 (xlw_create_popup_menu): Likewise.
586
587 1994-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
588
589 * Makefile.in (ALL_CFLAGS): Specify -Demacs.
590
591 * xlwmenu.c (pop_up_menu) [emacs]: Catch and ignore X protocol errors
592 in XtGrabPointer.
593
594 1994-02-17 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
595
596 * lwlib-Xlw.c (xlw_create_popup_menu): Pass tem to
597 XtVaCreateManagedWidget, not instance->info->val.
598 (xlw_create_menubar): Likewise.
599
600 1994-02-15 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
601
602 * lwlib-Xlw.c (xlw_create_popup_menu): Copy instance->info->val
603 before calling XtVaCreateManagedWidget and then free the copy.
604 (xlw_create_menubar): Likewise.
605
606 1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
607
608 * xlwmenu.c (XlwMenuInitialize): Copy mw->menu.contents.
609 (XlwMenuDestroy): Free mw->menu.contents.
610
611 1994-02-09 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
612
613 * xlwmenu.c (display_menu_item): Call draw_shadow_rectangle to make
614 visible/invisible the selection of the menubar items.
615
616 1994-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
617
618 * lwlib.c (strcasecmp): Renamed to my_strcasecmp.
619 (find_in_table): Changed only caller.
620
621 1994-02-04 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
622
623 * xlwmenu.c (display_menu_item): When dealing with the menubar,
624 always call XDrawRectangle to clear the selection after popping down
625 the pulldown menu.
626
627 1994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
628
629 * lwlib.c: Include ctype.h.
630
631 1994-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu)
632
633 * lwlib.c (strcasecmp): New function.
634
635 1994-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
636
637 * xlwmenu.c, lwlib.c, lwlib-Xlw.c, lwlib-utils.c:
638 Convert all function definitions to non-prototype K&R.
639
640 * lwlib-Xlw.h: Comment out args in function decls.
641 * lwlib.h: Comment out args in function decls.
642 * lwlib-utils.h: Comment out args in function decls.
643
644 1994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
645
646 * lwlib.c: Include StringDefs.h after lwlib.h.
647
648 1994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
649
650 * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name
651 instead of $*.
652 (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were
653 superfluous and didn't work when configured outside srcdir. The
654 implicit .c.o rule works fine.
655
656 1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
657
658 * xlwmenu.c (resource_widget_value): Avoid using strdup.
659
660 1994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
661
662 * Makefile.in: New file.
663
664 * lwlib-Xolmb.c: Renamed from lwlib-Xol-mb.c.
665 * lwlib-Xolmb.h: Renamed from lwlib-Xol-mb.h.
666 * lwlib-XolmbP.h: Renamed from lwlib-Xol-mbP.h.
667
668 * lwlib-int.h: Renamed from lwlib-internal.h.
669
670
671