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