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