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