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