Commit | Line | Data |
---|---|---|
38e668df PJ |
1 | 2002-04-28 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
2 | ||
9d5ebed1 PJ |
3 | * Makefile.in: Remove OpenLook file dependencies. |
4 | (xrdb-cpp.o): Remove target. | |
5 | Remove unused defines. | |
6 | ||
7 | * xrdb.c, xrdb-cpp.c, Imakefile: Remove unused file. | |
8 | ||
38e668df PJ |
9 | * lwlib.c (instantiate_widget_instance): Remove duplicated |
10 | prototype. | |
11 | ||
90077f66 PJ |
12 | 2002-04-25 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
13 | ||
14 | * lwlib-Xol.c, lwlib-Xol.h, lwlib-Xolmb.c, lwlib-Xolmb.h | |
15 | * lwlib-XolmbP.h: Remove file. | |
16 | ||
6be3e0da JD |
17 | 2002-04-22 Jan D. <jan.h.d@swipnet.se> |
18 | ||
19 | * lwlib-Xm.c: Removed compiler warning. | |
20 | ||
21 | * xlwmenu.c: Add calls to GrabKeyboard to remove strange | |
22 | interactions with window managers that steal keypresses. | |
23 | Call ungrab_all instead of XtUngrabPointer. | |
24 | (pop_up_menu): Add call to XtGrabKeyboard. | |
25 | (ungrab_all): New function. | |
26 | ||
7769818b PJ |
27 | 2002-04-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
28 | ||
29 | * xlwmenu.c (find_next_selectable): New function. | |
30 | (Down, Up, Right): Use it. | |
31 | (find_next_selectable): Prevent endless loops when only one item | |
32 | is enabled in the menu. | |
33 | ||
6ad6535b PJ |
34 | 2002-04-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
35 | ||
36 | These changes allow moving in menu via keyboard. | |
37 | ||
38 | * xlwmenu.c (xlwMenuTranslations, xlwMenuActionsList): Add | |
39 | translations for cursor keys and RET. | |
40 | (find_next_selectable, find_prev_selectable): New functions used | |
41 | for finding menu-items. | |
42 | (Down, Up, Left, Right): New functions. | |
43 | ||
5e3238f4 EZ |
44 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> |
45 | ||
e7c9e445 | 46 | * Makefile.in (TAGS): Don't use -t, it's the default behavior for |
5e3238f4 EZ |
47 | etags, so it barfs if invoked with -t. |
48 | ||
6147334f RS |
49 | 2002-03-17 Richard M. Stallman <rms@gnu.org> |
50 | ||
e7c9e445 | 51 | * lwlib.c (P_): Definitions deleted. |
6147334f | 52 | |
663671d5 EZ |
53 | 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il> |
54 | ||
55 | * lwlib.c (P_): Don't define if already defined. | |
56 | ||
7a4b11ca PJ |
57 | 2002-01-27 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
58 | ||
59 | * lwlib-Xaw.c (xaw_update_scrollbar, xaw_scrollbar_scroll) | |
60 | (xaw_scrollbar_jump): Put whole functions in #if 0. | |
61 | ||
ca79970e PJ |
62 | 2002-01-09 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
63 | ||
64 | * lwlib-Xaw.c (xaw_create_dialog): Initialize icon_name to | |
65 | suppress compiler warnings. | |
66 | ||
4521d1fc PJ |
67 | 2001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
68 | ||
69 | * lwlib.c (separator_names): Add missing braces around | |
70 | initializers. | |
71 | ||
03f9f7ae PJ |
72 | 2001-12-08 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
73 | ||
74 | * COPYING: New file. | |
75 | ||
656f46bb RS |
76 | 2001-12-01 Richard M. Stallman <rms@gnu.org> |
77 | ||
78 | * lwlib.h (_widget_value): `help' has type Lisp_Object. | |
79 | ||
80 | * xlwmenu.c, lwlib-Xaw.c, lwlib-Xlw.c: Include ../src/lisp.h. | |
81 | * lwlib-Xm.c, lwlib-Xol.c, lwlib/lwlib-Xolmb.c: Include ../src/lisp.h. | |
82 | * lwlib/lwlib-utils.c: Include ../src/lisp.h. | |
e7c9e445 | 83 | |
656f46bb RS |
84 | * lwlib.c: Include ../src/lisp.h. Don't declare xmalloc. |
85 | (free_widget_value_tree): Don't free `help' field. | |
86 | (copy_widget_value_tree): Copy `help' simply, without safe_strdup. | |
87 | (merge_widget_value): Compare and copy `help' simply. | |
88 | ||
66458f32 RS |
89 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
90 | ||
91 | * Makefile.in (TAGS): Find the source files in $(srcdir). | |
92 | ||
71431a0e GM |
93 | 2001-10-20 Gerd Moellmann <gerd@gnu.org> |
94 | ||
6aa97356 | 95 | * (Version 21.1 released.) |
71431a0e | 96 | |
14a3dff7 GM |
97 | 2001-10-09 Gerd Moellmann <gerd@gnu.org> |
98 | ||
99 | * lwlib-Xaw.c (xaw_create_scrollbar) [!0]: Return NULL. | |
100 | From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>. | |
101 | ||
ab952a4f GM |
102 | 2001-10-05 Gerd Moellmann <gerd@gnu.org> |
103 | ||
104 | * Branch for 21.1. | |
e7c9e445 | 105 | |
a9793e45 GM |
106 | 2001-04-30 Gerd Moellmann <gerd@gnu.org> |
107 | ||
108 | * xlwmenu.c (xlwmenu_window_p): New function. | |
109 | ||
6c29b43c GM |
110 | 2001-03-23 Gerd Moellmann <gerd@gnu.org> |
111 | ||
112 | * lwlib-Xlw.c (x_print_complete_resource_name) [0]: New function. | |
113 | ||
3c9e997b GM |
114 | 2001-03-22 Gerd Moellmann <gerd@gnu.org> |
115 | ||
116 | * lwlib-Xm.c (x_print_complete_resource_name) [0]: New function. | |
117 | ||
3d57dbba GM |
118 | 2001-03-13 Gerd Moellmann <gerd@gnu.org> |
119 | ||
19b2bb80 GM |
120 | * lwlib-Xm.c (make_menu_in_widget): Remove code forcing LessTif to |
121 | recompute centered text; it works fine without with current LessTif. | |
122 | ||
f25d58a4 GM |
123 | * lwlib-Xm.c (make_menu_in_widget): Add an XmNpopdownCallback |
124 | instead of an XmNunmapCallback. | |
125 | (xm_unmap_callback): Removed. | |
e7c9e445 | 126 | |
f25d58a4 GM |
127 | * lwlib-Xm.c (make_menubar): Take out code in #if 0. |
128 | ||
3d57dbba GM |
129 | * lwlib-Xm.c (xm_popup_menu): Don't set XmNmenuPost unless |
130 | necessary. From Rick Scott <rwscott@alumni.uwaterloo.ca>. | |
131 | ||
2a73ab60 GM |
132 | 2001-02-28 Gerd Moellmann <gerd@gnu.org> |
133 | ||
11ef99b9 GM |
134 | * lwlib-Xm.c (xm_arm_callback): Don't compare widgets with `None', |
135 | use NULL instead. | |
136 | ||
2a73ab60 GM |
137 | * lwlib-Xaw.c (xaw_update_one_widget): Use XtSetSensitive instead |
138 | of setting the value of XtNsensitive. | |
139 | ||
140 | * lwlib-Xm.c (xm_update_radiobox, update_one_menu_entry) | |
141 | (xm_update_one_widget): Use XtSetSensitive instead of setting the | |
142 | value of XmNsensitive. From Rick Scott | |
143 | <rwscott@alumni.uwaterloo.ca>. | |
144 | ||
ec9077f2 DL |
145 | 2000-12-14 Dave Love <fx@gnu.org> |
146 | ||
147 | * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from | |
148 | declaration. | |
149 | ||
2f90328f DL |
150 | 2000-12-11 Dave Love <fx@gnu.org> |
151 | ||
152 | * xlwmenu.c (draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>: | |
153 | <SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator. | |
154 | ||
ae0d7485 GM |
155 | 2000-12-07 Gerd Moellmann <gerd@gnu.org> |
156 | ||
157 | * lwlib-Xm.c (xm_arm_callback): Fix last change. | |
158 | ||
edfb795e GM |
159 | 2000-11-30 Gerd Moellmann <gerd@gnu.org> |
160 | ||
161 | * lwlib-Xm.c (xm_arm_callback): Handle case that W is null; | |
162 | also see comment there. | |
163 | ||
cd913aae GM |
164 | 2000-11-21 Gerd Moellmann <gerd@gnu.org> |
165 | ||
166 | * xlwmenu.c (xlwmenu_redisplay): New function. | |
167 | ||
0f3360b0 SM |
168 | 2000-09-30 Stefan Monnier <monnier@cs.yale.edu> |
169 | ||
170 | * lwlib.c (lw_separator_p): Init separator_p (bug with "-- some text"). | |
171 | ||
5c520e0a SS |
172 | 2000-09-28 Sam Steingold <sds@gnu.org> |
173 | ||
174 | * xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41 | |
175 | to avoid redefining struct timeval and struct timezone. | |
176 | ||
7a3d0e0e MB |
177 | 2000-09-04 Miles Bader <miles@gnu.org> |
178 | ||
179 | * xlwmenu.c (XlwMenuSetValues): Only frob the display if the menu | |
180 | is actually displayed. | |
b7fa4a06 MB |
181 | (remap_menubar): Only include the menu-margin in the initial X & Y |
182 | positions for horizontal menu-bars. | |
183 | (fit_to_screen): If moving a sub-menu to the left-side, increment | |
184 | its x-position by the shadow-thickness to make it look more | |
185 | attached to the invoking menu-item (similarly to the way it would | |
186 | be displayed on the right side). | |
7a3d0e0e | 187 | |
a3d35a39 MB |
188 | 2000-09-03 Miles Bader <miles@gnu.org> |
189 | ||
190 | * xlwmenu.c (x_alloc_lighter_color_for_widget): New extern declaration. | |
191 | (make_shadow_gcs) [emacs]: Use x_alloc_lighter_color_for_widget to | |
192 | do shadow calculation. | |
193 | (make_shadow_gcs): Remove code that tests whether the top shadow | |
194 | is dimmer than the bottom shadow--it shouldn't ever happen. | |
195 | ||
caccd8f2 MB |
196 | 2000-08-30 Miles Bader <miles@gnu.org> |
197 | ||
198 | * xlwmenu.c (XlwMenuSetValues): If the background color has | |
199 | changed, re-make the shadow-gcs too. | |
200 | ||
f4988be7 GM |
201 | 2000-08-03 Gerd Moellmann <gerd@gnu.org> |
202 | ||
203 | * lwlib.c, lwlib-Xm.c, lwlib-Xaw.c: Use NULL at the end of the | |
204 | variable argument lists of XtVaSetValues and XtVaGetValues | |
205 | functions because 0 is not sufficient on systems where sizeof | |
206 | (int) < sizeof (void *). | |
207 | ||
47db06aa GM |
208 | 2000-07-19 Gerd Moellmann <gerd@gnu.org> |
209 | ||
210 | * xlwmenu.c [emacs]: Don't include <X11/bitmaps/gray> because that | |
211 | leads to redefinition errors when static is defined as empty in | |
212 | config.h. Refer to the gray bitmap in xfns.c, instead. | |
213 | ||
cdefcd82 DL |
214 | 2000-07-18 Dave Love <fx@gnu.org> |
215 | ||
216 | * lwlib-utils.c (XtApplyToWidgets): Cast args of lwlib_bcopy. | |
217 | ||
af5e64bc DL |
218 | 2000-06-23 Dave Love <fx@gnu.org> |
219 | ||
220 | * lwlib-Xlw.c (xlw_popup_menu): Cast arg of pop_up_menu. | |
221 | ||
222 | * lwlib-utils.c: Include lwlib.h. | |
223 | ||
0a2ea235 GM |
224 | 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
225 | ||
226 | * xlwmenuP.h (_XlwMenu_part): Add free_top_shadow_color_p and | |
227 | free_bottom_shadow_color_p. | |
228 | ||
229 | * xlwmenu.c (make_shadow_gcs): Set free_top_shadow_color_p | |
230 | and free_top_shadow_color_p flags in the menu widget if | |
231 | top and bottom shadow colors must be freed. | |
232 | (release_shadow_gcs): Free colors only if they must be freed. | |
233 | ||
ed1056b3 GM |
234 | 2000-06-12 Gerd Moellmann <gerd@gnu.org> |
235 | ||
236 | * xlwmenu.c (make_shadow_gcs): Free and copy colors so that | |
237 | color reference counts are right. | |
238 | (release_shadow_gcs): Free colors. | |
239 | ||
bb2337f5 DL |
240 | 2000-06-06 Dave Love <fx@gnu.org> |
241 | ||
242 | * xlwmenu.c (x_alloc_nearest_color_for_widget, x_catch_errors) | |
243 | (x_uncatch_errors, x_had_errors_p, x_clear_errors): Add prototypes | |
244 | -- should be moved into separate header. | |
245 | (make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first | |
246 | arg. | |
247 | (Start) <pop_up_menu>: Cast second arg. | |
248 | ||
249 | * lwlib.c (P_): Use PROTOTYPES. | |
250 | (safe_strdup): Declare arg const. | |
251 | (lw_modify_all_widgets) <!info>: Return 0. | |
252 | ||
253 | * lwlib-Xm.c (P_): Use PROTOTYPES. | |
254 | ||
255 | * xlwmenu.h, lwlib.h, lwlib-utils.h, lwlib-int.h, lwlib-Xm.h: | |
256 | * lwlib-Xlw.h, lwlib-Xaw.h: Enable prototypes. | |
257 | ||
258 | * lwlib-Xaw.c (xaw_popup_menu): Add EVENT arg. | |
259 | ||
260 | * Makefile.in (lwlib.o): Depend on lwlib-Xlw.h. | |
261 | (lwlib-Xlw.o): Depend on lwlib-Xlw.h. | |
262 | (lwlib-Xaw.o): Depend on lwlib-Xaw.h. | |
263 | (lwlib-Xm.o): Depend on lwlib-Xm.h. | |
264 | ||
9b2f3c38 GM |
265 | 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
266 | ||
267 | * lwlib-Xm.c (make_menubar) [LESSTIF_VERSION]: Don't set | |
268 | XmNresizeHeight and XmNresizeWidth. | |
269 | ||
7397acc4 DL |
270 | 2000-03-08 Dave Love <fx@gnu.org> |
271 | ||
272 | * Makefile.in (liblw.a): Don't bother testing for ranlib failing | |
273 | since configure sets it up. | |
274 | ||
1d4d17e2 GM |
275 | 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
276 | ||
277 | * lwlib-Xm.c (make_menubar): Set XmNresizeHeight and | |
278 | XmNresizeWidth resources only if LESSTIF_VERSION is defined. | |
279 | ||
566f7ec8 GM |
280 | 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
281 | ||
282 | * lwlib-Xm.c (xm_manage_resizing): Rewritten. | |
283 | ||
284 | * lwlib.c (lw_modify_all_widgets): Return non-zero if widget | |
285 | tree was changed. | |
286 | (merge_widget_value): Add parameter CHANGE_P. Set *CHANGE_P | |
287 | to 1 if a change occurs. | |
288 | ||
289 | * lwlib.h (lw_modify_all_widgets): Change prototype. | |
290 | ||
64d739c4 GM |
291 | 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
292 | ||
293 | * xlwmenu.c (make_shadow_gcs): Use the widget's colormap instead | |
294 | of the screen's default colormap. | |
295 | ||
b6a22bf8 GM |
296 | 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
297 | ||
298 | * lwlib.c (merge_widget_value): Fix incorrect assignment of | |
299 | safe_strdup'd help string. | |
300 | ||
e12489f9 GM |
301 | 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
302 | ||
303 | * lwlib-Xm.c (make_menu_in_widget): Don't add XmNpopdownCallback, | |
304 | add XmNunmapCallback. | |
305 | (xm_unmap_callback): New function. | |
306 | (xm_pull_down_callback): Call pre-activate callback only if | |
307 | parent is the menu bar. | |
308 | ||
52b8dbf9 GM |
309 | 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
310 | ||
311 | * lwlib-Xm.c (xm_arm_callback): New function. | |
312 | (make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and | |
313 | XmNdisarmCallback for buttons (not supported for other widgets). | |
d36100c9 | 314 | (make_menubar): Set XmNresizeHeight and XmNresizeWidth to False. |
52b8dbf9 GM |
315 | |
316 | * lwlib-Xlw.c (highlight_hook): New function. | |
317 | (xlw_create_menubar, xlw_create_popup_menu): Add highlight_hook as | |
318 | callback XtNhighlightCallback. | |
319 | ||
320 | * lwlib.c (copy_widget_value_tree): Copy help string. | |
321 | (free_widget_value_tree): Free help string. | |
322 | (merge_widget_value): Handle help string. | |
323 | (allocate_widget_info, lw_register_widget, lw_create_widget): Add | |
324 | parameter HIGHLIGHT_CB. | |
325 | (lw_get_widget_instance): New function. | |
326 | ||
327 | * lwlib-int.h: Add prototype for lw_get_widget_instance. | |
328 | ||
329 | * lwlib.h (_widget_value): Add help string. | |
330 | ||
331 | * xlwmenu.c (xlwMenuResources): All XtNhighlightCallback. | |
332 | (remap_menubar): Call highlight callback. | |
333 | ||
334 | * xlwmenu.h (XtNhighlightCallback): New define. | |
335 | ||
336 | * xlwmenuP.h (_XlwMenu_part): Add `highlight' callback list. | |
337 | ||
0f0912e6 | 338 | 1999-10-19 Paul Eggert <eggert@twinsun.com> |
5c520e0a | 339 | |
0f0912e6 PE |
340 | Add support for large files, plus some locale improvements. |
341 | ||
342 | * dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c, | |
343 | xrdb-cpp.c, xrdb.c: | |
344 | Include <config.h> before any system include files. | |
345 | ||
346 | * lwlib-Xm.c, lwlib.c: | |
347 | Do not include <stdlib.h> or <string.h>, as <config.h> does this. | |
5c520e0a | 348 | |
f5737ad2 GM |
349 | 1999-10-07 Gerd Moellmann <gerd@gnu.org> |
350 | ||
351 | * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): Use | |
352 | widgets instead of gadgets to be able to set colors. | |
353 | ||
387581d8 DL |
354 | 1999-09-17 Richard Stallman <rms@gnu.org> |
355 | ||
356 | * lwlib-Xaw.c (wm_delete_window): Check all the shell's children, | |
357 | not just the first, to find the dialog box. | |
358 | ||
359 | 1999-09-14 Gerd Moellmann <gerd@gnu.org> | |
360 | ||
361 | * lwlib.c (lw_separator_p): Check for new-style separators | |
362 | differently. | |
363 | ||
364 | 1999-09-10 Gerd Moellmann <gerd@gnu.org> | |
365 | ||
5c520e0a | 366 | * lwlib.c (lw_separator_p): Add `--:space' with the same |
387581d8 DL |
367 | meaning as `--:noLine'. |
368 | ||
369 | 1999-09-06 Gerd Moellmann <gerd@gnu.org> | |
370 | ||
371 | * lwlib.c (lw_separator_p): Add alternative separator type names. | |
372 | ||
373 | 1999-09-03 Gerd Moellmann <gerd@gnu.org> | |
374 | ||
375 | * xlwmenu.c (make_shadow_gcs): Call | |
376 | x_alloc_nearest_color_for_widget. | |
377 | ||
32660797 GM |
378 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> |
379 | ||
380 | * lwlib-Xm.c: Add function prototypes. | |
381 | ||
382 | * lwlib-Xm.c (xm_update_label): Use val->name to look up | |
383 | a label string from resources. | |
384 | (xm_update_label): Add some comments. | |
385 | ||
386 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
387 | ||
388 | * xlwmenu.c (all_dashes_p): Removed. | |
389 | (size_menu_item): Call lw_separator_p. | |
390 | (display_menu_item): Ditto. | |
391 | (display_menu): Ditto. | |
392 | (draw_separator): New. | |
393 | (display_menu_item): Call it. | |
394 | (separator_height): New. | |
395 | (size_menu_item): Call it. | |
396 | ||
397 | * lwlib-Xm.c (all_dashes_p): Removed. | |
398 | (make_menu_in_widget): Use lw_separator_p. Set Motif separator | |
399 | type. | |
400 | ||
401 | * lwlib.c (lw_separator_p): New. | |
402 | ||
403 | * lwlib.h (enum menu_separator): New. | |
404 | ||
405 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
406 | ||
407 | * lwlib-Xm.c (make_menu_in_widget): Set alignment of menu | |
408 | title after all widgets have been created. | |
409 | ||
410 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
411 | ||
412 | * xlwmenu.c (toggle_button_width): Renamed from | |
413 | toggle_or_radio_button_width. | |
414 | (radio_button_width): New. | |
415 | (size_menu_item): Use new functions. | |
416 | (draw_shadow_rhombus): New. | |
417 | (draw_radio): Use radio_button_width and draw_shadow_rhombus. | |
418 | (draw_toggle): Use toggle_button_width. | |
419 | ||
420 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
421 | ||
422 | * lwlib-Xm.c (xm_update_toggle): Add callback xm_generic_callback | |
423 | instead of xm_internal_update_other_instances. | |
424 | ||
425 | * lwlib-Xm.c (make_menu_in_widget): Do help button before managing | |
426 | children to get it to the right place. | |
427 | (make_menu_in_widget): Create toggle buttons. | |
428 | (update_one_menu_entry): Update toggle buttons. | |
429 | ||
430 | * xlwmenu.c (size_menu_item): Add parameter button_width. | |
431 | (size_menu): Compute button_width. | |
432 | (toggle_or_radio_button_width): New. | |
433 | (draw_toggle): New. | |
434 | (draw_radio): New. | |
435 | (draw_shadow_rectangle): Add parameter `down_p'. | |
436 | ||
437 | * xlwmenuP.h (_window_state): Add button_width. | |
438 | ||
439 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
440 | ||
441 | * xlwmenu.c (make_shadow_gcs) ]emacs]: Use x_alloc_nearest_color. | |
442 | ||
443 | * lwlib.c (merge_widget_value): Handle button_type. | |
444 | (copy_widget_value_tree): Copy button_type. | |
445 | ||
446 | * lwlib.h (enum button_type): New. | |
447 | (_widget_value): New member button_type. | |
448 | ||
449 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
450 | ||
451 | * lwlib-Xm.c (make_menu_in_widget): Test for menubar widgets | |
452 | using XmNrowColumnType. | |
453 | ||
454 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
455 | ||
456 | * xlwmenu.c (abort_gracefully): New. | |
457 | (display_menu): Use it instead of abort. | |
458 | (size_menu): Ditto. | |
459 | ||
460 | 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
461 | ||
5c520e0a | 462 | * xlwmenu.c (xlwMenuResources): Change previously unused |
32660797 GM |
463 | XtNmargin to 4. |
464 | (size_menu): Take margin into account. | |
465 | (display_menu_item): Ditto. | |
466 | (remap_menubar): Ditto. | |
467 | (draw_arrow): Draw it 3D. | |
468 | ||
a08cb76c DL |
469 | 1999-07-12 Richard Stallman <rms@gnu.org> |
470 | ||
471 | * Version 20.4 released. | |
472 | ||
473 | 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu> | |
474 | ||
475 | * Version 20.3 released. | |
476 | ||
477 | 1998-07-30 Paul Eggert <eggert@twinsun.com> | |
478 | ||
479 | * lwlib/Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.o) | |
5c520e0a | 480 | (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o): |
a08cb76c DL |
481 | Add dependencies to corresponding .c files. for Solaris 2.x VPATH make. |
482 | ||
483 | 1998-04-06 Andreas Schwab <schwab@gnu.org> | |
484 | ||
485 | * lwlib.c: Always declare xmalloc. | |
486 | [USE_XAW]: Include <X11/Xaw/Paned.h>. | |
487 | (lwlib_memset, lwlib_bcopy): Explicitly declare return type. | |
488 | ||
489 | 1997-12-20 Richard Stallman <rms@delysid.gnu.org> | |
490 | ||
491 | * lwlib-Xm.c (update_one_menu_entry): | |
492 | Add conditional in case XmNpositionIndex is missing. | |
493 | ||
494 | 1997-12-20 Richard Stallman <rms@psilocin.gnu.org> | |
495 | ||
496 | * lwlib-Xm.c (update_one_menu_entry): | |
497 | Add conditional in case XmNpositionIndex is missing. | |
498 | ||
499 | 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
500 | ||
501 | * Version 20.2 released. | |
502 | ||
503 | * xlwmenu.c (motion_event_is_in_menu): Extend the left and | |
504 | top windows by the shadow width. | |
505 | ||
506 | 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
507 | ||
508 | * Version 20.1 released. | |
509 | ||
510 | 1997-07-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
511 | ||
512 | * xlwmenu.c (display_menu): If an item is disabled, | |
513 | don't display its submenu (if any). | |
514 | ||
515 | 1997-05-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
516 | ||
517 | * xlwmenu.c (pop_up_menu): Update the call to x_catch_errors. | |
518 | ||
519 | 1997-01-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
520 | ||
521 | * xlwmenu.c (fit_to_screen): If new menu would overlap the previous | |
522 | one from the side, try moving it up or down. | |
523 | ||
524 | 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
525 | ||
526 | * Version 19.33 released. | |
527 | ||
528 | * lwlib-Xm.c (update_one_menu_entry): Fix previous change: | |
529 | When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget, | |
530 | just modify the existing one. | |
5c520e0a | 531 | |
a08cb76c DL |
532 | 1996-08-09 Marcus Daniels <marcus@sayre.sysc.pdx.edu> |
533 | ||
534 | * lwlib.c (merge_widget_value): Undo previous change. | |
5c520e0a | 535 | |
a08cb76c DL |
536 | * lwlib-Xm.c (update_one_menu_entry): When creating a pulldown |
537 | in an existing but empty menu item, in order to get a new functional | |
538 | pulldown, the menu item must be switched from an XmPushButtonGadget | |
539 | into a XmCascadeButtonGadget. | |
540 | ||
541 | 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
542 | ||
543 | * Version 19.32 released. | |
544 | ||
545 | 1996-07-31 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
546 | ||
547 | * lwlib-Xm.c (make_menubar): Turn off menu accelerator. | |
548 | ||
549 | 1996-07-24 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
550 | ||
551 | * lwlib.c (merge_widget_value) [USE_MOTIF]: Pass along the change | |
552 | flag from merged_contents. | |
553 | ||
554 | 1996-07-13 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
555 | ||
556 | * lwlib-Xm.c (xm_update_menu): Fix loop termination test. | |
557 | ||
558 | 1996-07-07 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
559 | ||
560 | * lwlib-Xm.h, lwlib-Xm.c, lwlib.h, lwlib.c: Undo previous change. | |
561 | ||
562 | 1996-07-03 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
563 | ||
564 | * lwlib-Xm.h: Declare lw_motif_menu_related_event_p. | |
565 | ||
566 | * lwlib-Xm.c (lw_motif_menu_related_event_p): A predicate to | |
567 | identify keyboard events intended only for menus. | |
568 | ||
569 | * lwlib.h: Declare lw_toolkit_related_event_p. | |
570 | ||
571 | * lwlib.c (lw_toolkit_related_event_p): A predicate to identify | |
572 | toolkit-specific events. | |
573 | ||
574 | 1996-06-07 Marcus Daniels <marcus@sayre.sysc.pdx.edu> | |
575 | ||
576 | * lwlib-Xm.c (make_menu_in_widget): Set mapping delay | |
577 | for cascade buttons to zero. | |
578 | ||
579 | 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
580 | ||
581 | * Version 19.31 released. | |
582 | ||
583 | 1996-03-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
584 | ||
585 | * lwlib-Xm.c (destroy_all_children): When freeing a cascade button, | |
586 | free its submenu too. | |
587 | (make_menu_in_widget): Use a cascade button gadget, not a widget. | |
588 | Include Xm/CascadeBG.h. | |
589 | ||
590 | 1996-03-29 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
591 | ||
592 | * Makefile.in (tags): New target. | |
593 | ||
594 | 1996-03-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
595 | ||
596 | * Makefile.in (TAGS): Renamed from `tags' and fixed to work. | |
597 | ||
598 | 1996-03-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
599 | ||
600 | * Makefile.in (xlwmenu.o): New explicit target. | |
601 | ||
602 | 1996-03-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
603 | ||
604 | * lwlib.h (struct widget_value): New field this_one_change. | |
605 | * lwlib.c (merge_widget_value): Set the this_one_change field. | |
606 | * lwlib-Xm.c (destroy_all_children): New arg first_child_to_destroy. | |
607 | (make_menu_in_widget): New arg keep_first_children. | |
608 | (xm_update_menu): Preserve the first children even if later ones | |
609 | have a structural change. | |
610 | (update_one_menu_entry): Use this_one_change field. | |
611 | ||
612 | 1996-03-01 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
613 | ||
614 | * xlwmenu.c (motion_event_is_in_menu): Make x and y signed. | |
615 | ||
616 | 1996-02-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
617 | ||
618 | * lwlib.c (lw_window_is_in_menubar) [USE_MOTIF]: | |
619 | With Motif, the window WIN can be the menu bar widget itself. | |
620 | ||
621 | 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
622 | ||
623 | * lwlib.c (free_widget_value_tree, merge_widget_value): | |
624 | Use XtFree for the toolkit_data. | |
625 | ||
626 | 1996-02-19 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
627 | ||
628 | * lwlib.c (lw_internal_update_other_instances): Move static var | |
629 | outside the function, and rename it to lwlib_updating. | |
630 | ||
631 | 1996-01-04 Paul Eggert <eggert@twinsun.com> | |
632 | ||
633 | * lwlib.c (instantiate_widget_instance): Renamed from | |
634 | instanciate_widget_instance (spelling correction). | |
635 | All callers changed. | |
636 | ||
637 | 1995-12-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
638 | ||
639 | * xlwmenu.c (xlwMenuActionsList): Add "key" and "nothing". | |
640 | (xlwMenuTranslations): Add translations for Key, KeyUp, | |
641 | and for the modifier keysyms. | |
642 | (Nothing, Key): New functions. | |
643 | ||
644 | 1995-12-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
645 | ||
646 | * xlwmenu.c (XlwMenuSetValues): Do redisplay if non-null contents | |
647 | get replaced by empty contents. | |
648 | ||
649 | * lwlib.c (merge_widget_value): Treat disappearance of entire contents | |
650 | as a STRUCTURAL_CHANGE. | |
651 | ||
652 | 1995-12-20 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
653 | ||
654 | * lwlib-utils.c: Add #undef for index and rindex. | |
655 | ||
656 | 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
657 | ||
658 | * Version 19.30 released. | |
659 | ||
660 | 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
661 | ||
662 | * xlwmenu.c (display_menu_item): Fix previous change. | |
663 | ||
664 | 1995-11-04 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
665 | ||
666 | * xlwmenu.c (display_menu_item): Don't treat buttons specially. | |
667 | ||
668 | 1995-08-14 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
669 | ||
670 | * Makefile.in (RANLIB): Get this var from configure. | |
671 | ||
672 | 1995-08-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
673 | ||
674 | * lwlib.c (lw_popup_menu): New arg `event', passed along. | |
675 | * lwlib-Xlw.c (xlw_popup_menu): New arg `event'. | |
676 | * lwlib-Xm.c (xm_popup_menu): New arg `event'. | |
677 | ||
678 | 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
679 | ||
680 | * Version 19.29 released. | |
681 | ||
682 | 1995-06-11 Richard Stallman <rms@gnu.ai.mit.edu> | |
683 | ||
684 | * lwlib.c (lwlib_toolkit_type): New variable. | |
685 | ||
686 | 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu> | |
687 | ||
688 | * xlwmenu.c (Drag): Do nothing unless menu.popped_up field is set. | |
689 | ||
690 | 1995-05-22 Karl Heuer <kwzh@hal.gnu.ai.mit.edu> | |
691 | ||
692 | * xlwmenu.c (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args. | |
693 | ||
694 | 1995-05-20 Karl Heuer <kwzh@nutrimat.gnu.ai.mit.edu> | |
695 | ||
696 | * lwlib.c: Don't use prototype. | |
697 | * lwlib-Xm.c (activate_button, xm_update_cascadebutton): Likewise. | |
698 | ||
699 | 1995-05-05 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
700 | ||
701 | * lwlib.c (lw_refigure_widget) [USE_MOTIF]: Fix backward if. | |
702 | ||
703 | 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
704 | ||
705 | * Makefile.in (ALL_CFLAGS): Add -I../src. | |
706 | ||
707 | 1995-05-03 Morten Welinder <terra+@cs.cmu.edu> | |
708 | ||
709 | * lwlib.c [__osf__]: Include string.h and stdlib.h. | |
710 | [__osf__] (xmalloc): Declared. | |
711 | ||
712 | 1995-04-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
713 | ||
714 | * lwlib-Xm.c (update_one_menu_entry, make_menu_in_widget): | |
715 | Specify more useful names in XmCreatePulldownMenu calls. | |
716 | ||
717 | * lwlib-Xaw.c (xaw_pop_instance): Make x, y, w, h unsigned. | |
718 | ||
719 | * xlwmenu.c (size_menu): Make height and label_width unsigned. | |
720 | (fit_to_screen): Make screen_width and screen_height unsigned. | |
721 | (motion_event_is_in_menu): Make x, y unsigned. | |
722 | ||
723 | 1995-04-09 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
724 | ||
725 | * lwlib-utils.c: If HAVE_CONFIG_H, include config.h. | |
726 | ||
727 | * Makefile.in (ALL_CFLAGS): Define HAVE_CONFIG_H. | |
728 | Add -I${srcdir}/../src. | |
5c520e0a | 729 | |
a08cb76c DL |
730 | 1995-04-08 Paul Reilly <pmr@geech.gnu.ai.mit.edu> |
731 | ||
732 | * lwlib-Xm.c: Remove function prototypes. | |
733 | (xm_pop_down_callback): Call the deactivation callback only when | |
734 | popping down the top level submenu. | |
735 | ||
736 | 1995-04-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
737 | ||
738 | * Makefile.in (lwlib.o): Depend on Makefile. | |
739 | ||
740 | * lwlib-Xm.h: Remove function prototypes. | |
741 | ||
742 | * lwlib-Xm.c (remove_grabs): Use type Widget for `menu'. | |
743 | ||
744 | 1995-02-15 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
745 | ||
746 | * Makefile.in (ALL_CFLAGS): Allow include files to be found in | |
747 | `srcdir'. | |
748 | ||
749 | 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> | |
750 | ||
751 | * Makefile.in (maintainer-clean): Renamed from realclean. | |
752 | ||
753 | 1994-11-28 Richard Stallman <rms@bethel> | |
754 | ||
755 | * lwlib-int.h (safe_strdup): Don't use ANSI argument prototype. | |
756 | ||
757 | 1994-11-15 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
758 | ||
759 | * lwlib.c (lw_refigure_widget): Use the macro USE_XAW rather than XAW. | |
760 | ||
761 | 1994-11-08 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
762 | ||
763 | * lwlib-Xm.c (make_menu_in_widget): Differentiate a separator | |
764 | entry ("--") from a title. | |
765 | (xm_pop_down_callback): Filter all but the last pop down callbacks. | |
766 | ||
767 | 1994-11-07 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
768 | ||
769 | * lwlib-Xm.c (update_one_menu_entry): Use the parent of the | |
770 | cascade button as the parent of the pulldown, rather than the | |
771 | cascade button itself. This works around a Motif SIGSEGV in the | |
772 | function `InSharedMenuHierarchy'. | |
773 | ||
774 | 1994-10-29 Richard Stallman <rms@duality.gnu.ai.mit.edu> | |
775 | ||
776 | * xlwmenu.c (xlwmenu_default_font): New global variable. | |
777 | (XlwMenuInitialize): Use xlwmenu_default_font to default | |
778 | the font if necessary. Make mw, itself, an argument. | |
779 | ||
780 | 1994-10-26 Richard Stallman <rms@duality.gnu.ai.mit.edu> | |
781 | ||
782 | * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc. | |
783 | ||
784 | 1994-10-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
785 | ||
786 | * xlwmenu.c (xlwmenu_default_font): New global variable. | |
787 | (XlwMenuInitialize): Use xlwmenu_default_font to default | |
788 | the font if necessary. Make mw, itself, an argument. | |
789 | ||
790 | * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc. | |
791 | ||
792 | 1994-10-08 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
793 | ||
794 | * xlwmenu.c (fit_to_screen): Don't put the menu off the left or top. | |
795 | ||
796 | 1994-10-02 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
797 | ||
798 | * xlwmenu.c (display_menu_item): Add support for displaying the | |
799 | title in pop up menus. | |
800 | ||
801 | * lwlib.c (lw_set_main_areas): Use xm_set_main_areas(). | |
802 | (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif. | |
803 | ||
804 | 1994-09-25 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
805 | ||
806 | * lwlib-Xaw.c (xaw_create_main): New function to support the | |
807 | toolkit independent creation of the main Emacs widget. * | |
808 | lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set | |
809 | resizing resources to disable showGrip and to enable both | |
810 | resizeToPreferred and allowShellResize. | |
811 | ||
812 | * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing. | |
813 | ||
814 | * lwlib-Xm.c: (make_menu_in_widget): Add support for displaying a | |
815 | title in pop up menus. | |
816 | (make_main, xm_set_main_areas, xm_manage_resizing): New functions to | |
817 | create and manage a Motif Main Window widget. | |
818 | ||
819 | * xlwmenu.c: Add #include <X11/ObjectP.h> for X11R4. | |
820 | ||
821 | 1994-09-18 Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | |
822 | ||
823 | * lwlib-Xm.c (make_dialog): When there is more than two pushbuttons, | |
824 | set XmPACK_TIGHT and XmHORIZONTAL to the rowcolumn. Also add a | |
825 | margin of 10 pixels. | |
826 | ||
827 | 1994-09-16 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
828 | ||
829 | * lwlib-Xm.c (make_main): New function to support toolkit | |
830 | independent creation of the main Emacs widget. | |
831 | (make_destroyed_instance): Use safe_strdup() instead of strdup(). | |
832 | ||
833 | * lwlib-int.h: Declare safe_strdup. | |
834 | ||
835 | * lwlib.c (lw_refigure_widget): New function. Handle geometry | |
836 | management inside lwlib instead of in Emacs. | |
837 | (lw_window_is_in_menubar): New function. Determine if the pointer | |
838 | is in a menubar. | |
839 | (lw_set_main_areas): New function. Set the main window widgets for | |
840 | Motif. | |
841 | ||
842 | * lwlib.h: Declare lw_refigure_widget(), lw_window_is_in_menubar(), | |
843 | lw_set_main_areas(). | |
844 | ||
845 | * xlwmenu.h: Define Xt{Ns,CS}howGrip, Xt{Nr,CR}esizeToPreferred, and | |
846 | Xt{Na,CA}llowResize. | |
847 | ||
848 | * xlwmenu.c (Start): Use pop_up_menu() to post the submenus. | |
849 | (Select): Remove the pointer grab when popping down a menubar | |
850 | submenu. | |
851 | (pop_up_menu): Handle popping up submenus from a menubar, i.e. when | |
852 | the menu widget parent is not a shell widget. | |
853 | ||
854 | 1994-08-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
855 | ||
856 | * xlwmenu.c (pop_up_menu): Clear next_release_must_exit. | |
857 | (Start): Clear next_release_must_exit when popping up the menu. | |
858 | ||
859 | 1994-08-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
860 | ||
861 | * xlwmenu.c (Start): Set menu_post_event or next_release_must_exit. | |
862 | (Select): Do nothing if the menu should be left posted. | |
863 | ||
864 | 1994-07-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
865 | ||
866 | * xlwmenu.c (make_windows_if_needed, pop_up_menu): | |
867 | Enable mouse motion events even when no button down. | |
868 | ||
869 | 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
870 | ||
871 | * xlwmenu.c (pointer_grabbed): New variable. | |
872 | (pop_up_menu): Set the variable. | |
873 | (XlwMenuDestroy): Maybe call XtUngrabPointer. | |
874 | ||
875 | 1994-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
876 | ||
877 | * lwlib.c (max): Function deleted. Define as macro instead, | |
878 | but only if not already defined. | |
879 | ||
880 | 1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
881 | ||
882 | * xlwmenu.c (xlwMenuResources): Use XtRDimension for shadow thickness. | |
883 | ||
884 | 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
885 | ||
886 | * lwlib-Xaw.c (xaw_pop_instance): Use XtSetValues, not XtMoveWidget. | |
887 | ||
888 | 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
889 | ||
890 | * lwlib.c (lwlib_memset: New function, used instead of memset. | |
891 | All callers changed. | |
892 | * lwlib.c (lwlib_bcopy): New function. | |
893 | * lwlib-utils.c (XtApplyToWidgets): Use lwlib_bcopy. | |
894 | ||
895 | * lwlib.c: Delete definitions for use of alloca. | |
896 | (name_to_widget): Use xmalloc, not alloca. | |
897 | ||
898 | 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
899 | ||
900 | * xlwmenu.c (XlwMenuDestroy): Set new var submenu_destroyed. | |
901 | (XlwMenuRedisplay): If it's set, truncate the old_depth to 1. | |
902 | ||
903 | 1994-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
904 | ||
905 | * xrdb-cpp.c: Don't include string.h, unistd.h, stdlib.h. | |
906 | * lwlib-Xaw.c: Don't include string.h, unistd.h, stdlib.h. | |
907 | * lwlib-utils.c (XtApplyToWidgets): Use bcopy, not memcpy. | |
908 | * lwlib-utils.c: Don't include string.h, unistd.h, stdlib.h, memory.h. | |
909 | * xlwmenu.c: Don't include string.h, unistd.h, stdlib.h. | |
910 | * lwlib.c: Don't include string.h, unistd.h, stdlib.h. | |
911 | (safe_strdup): No longer static. | |
912 | * lwlib-Xm.c: Use safe_strdup, not strdup. | |
913 | ||
914 | * xlwmenu.c (string_width): No longer static. | |
915 | ||
916 | 1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
917 | ||
918 | * xlwmenuP.h (struct _XlwMenu_part): Use Pixel and Cursor | |
919 | for foreground and cursor_shape fields. | |
920 | ||
921 | * xlwmenu.c (XlwMenuSetValues): Check for change of font. | |
922 | ||
923 | 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
924 | ||
925 | * Makefile.in: Delete all SRCS variables (unused). | |
926 | (lwlib.o, xrdb-cpp.o): Mention srcdir in dep. | |
927 | ||
928 | 1994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
929 | ||
930 | * Makefile.in (ALL_CFLAGS): Don't define THIS_IS_X11R4. | |
931 | ||
932 | * xrdb.c: Define HAVE_X11R5 as in xterm.h. | |
933 | Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h. | |
934 | (_XtDisplayInitialize): Test HAVE_X11R5. | |
935 | ||
936 | * dispatch.c: Define HAVE_X11R5 as in xterm.h. | |
937 | Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h. | |
938 | (_XtConvertTypeToMask): Conditionalize on HAVE_X11R5. | |
939 | (WouldDispatchEvent): Likewise. | |
940 | ||
941 | 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
942 | ||
943 | * lwlib-Xaw.c (xaw_generic_callback): Declare without arg names. | |
944 | ||
945 | 1994-04-01 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu) | |
946 | ||
5c520e0a | 947 | * lwlib-Xaw.c (make_dialog): Don't allow any geometry request from the |
a08cb76c DL |
948 | user. |
949 | ||
950 | 1994-03-22 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
951 | ||
5c520e0a | 952 | * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize |
6ad6535b | 953 | itself. Therefore reset the size to its initial value. |
a08cb76c DL |
954 | |
955 | 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
956 | ||
957 | * lwlib-Xaw.c (xaw_update_one_widget): Finish replacing XtVaSetValues. | |
958 | Don't test for scrollbar widget. | |
959 | ||
960 | 1994-03-14 Frederic Pierresteguy (fp@gnu.ai.mit.edu) | |
961 | ||
962 | * lwlib-int.h: Declare lw_get_widget_info. | |
963 | ||
964 | * lwlib.c (lw_get_widget_info): Comment out arg in function decl. | |
965 | ||
966 | * lwlib-Xaw.h: Comment out args in function decls. | |
967 | * lwlib-Xaw.c: Convert all function definitions to non-prototype K&R. | |
968 | (xaw_update_one_widget - case dialogWidgetClass): Call XtSetValues, | |
969 | not XtVaSetValues. | |
970 | ||
971 | 1994-03-11 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) | |
972 | ||
973 | * xlwmenu.c (display_menu_item): Modify parameters to draw_arrow to | |
974 | right justify the arrow in the pane. | |
975 | ||
976 | * lwlib.c: If not defined USE_MOTIF and defined USE_LUCID then | |
977 | define USE_XAW. | |
978 | ||
979 | * Makefile.in (LUCID_SRCS, LUCID_OBJS): Add the target lwlib-Xaw.[oc]. | |
980 | ||
981 | * lwlib.c, lwlib-int.h: Merged from Lucid 19.9 release. | |
982 | * lwlib.c (_AIX): Replace the AIXV3 directive. | |
983 | (USE_XAW): New macro to conditionalize the use of the athena toolkit. | |
984 | (lw_get_widget_info): New function. | |
985 | (set_one_value): Handle USE_XAW. | |
986 | (instanciate_widget_instance): Likewise. | |
987 | (destroy_one_instance): Likewise. | |
988 | (lw_pop_all_widgets): Likewise. | |
989 | (lw_pop_down_all_widgets): Likewise. | |
990 | (get_one_value): Likewise. | |
991 | ||
992 | * lwlib-Xaw.c, lwlib-Xaw.h: New files. | |
993 | ||
994 | 1994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
995 | ||
996 | * xlwmenu.c (XlwMenuInitialize, XlwMenuDestroy): Undo previous changes. | |
997 | ||
998 | * lwlib-Xlw.c (xlw_create_menubar, xlw_create_popup_menu): | |
999 | Use XtCreate..., not XtVaCreate... | |
1000 | No need to copy instance->info->val any more. | |
1001 | (xlw_update_one_widget): Use XtSetValues, not XtVaSetValues. | |
1002 | ||
1003 | 1994-02-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1004 | ||
1005 | * xlwmenu.c (pop_up_menu): Call XtUngrabPointer if XtGrabPointer fails. | |
1006 | ||
1007 | 1994-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1008 | ||
1009 | * Makefile.in (xrdb-cpp.o, lwlib.o): Put ALL_CFLAGS after other flags. | |
1010 | ||
1011 | * lwlib-Xlw.c (xlw_create_menubar): Don't call free_widget_value. | |
1012 | Use malloc for allocation. | |
1013 | (xlw_create_popup_menu): Likewise. | |
1014 | ||
1015 | 1994-02-18 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1016 | ||
1017 | * lwlib.c (malloc_cpt): New static variable. | |
1018 | (malloc_widget_value): Increment malloc_cpt when allocating a cell. | |
1019 | (free_widget_value): Really free the cells when the number of | |
1020 | allocated ones is bigger than 25. | |
1021 | ||
1022 | * lwlib-Xlw.c (xlw_create_menubar): Call malloc_widget_value and | |
1023 | free_widget_value instead of XtMalloc and XtFree. | |
1024 | (xlw_create_popup_menu): Likewise. | |
1025 | ||
1026 | 1994-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1027 | ||
1028 | * Makefile.in (ALL_CFLAGS): Specify -Demacs. | |
1029 | ||
1030 | * xlwmenu.c (pop_up_menu) [emacs]: Catch and ignore X protocol errors | |
1031 | in XtGrabPointer. | |
1032 | ||
1033 | 1994-02-17 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1034 | ||
5c520e0a | 1035 | * lwlib-Xlw.c (xlw_create_popup_menu): Pass tem to |
a08cb76c DL |
1036 | XtVaCreateManagedWidget, not instance->info->val. |
1037 | (xlw_create_menubar): Likewise. | |
1038 | ||
1039 | 1994-02-15 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1040 | ||
1041 | * lwlib-Xlw.c (xlw_create_popup_menu): Copy instance->info->val | |
1042 | before calling XtVaCreateManagedWidget and then free the copy. | |
1043 | (xlw_create_menubar): Likewise. | |
1044 | ||
1045 | 1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1046 | ||
1047 | * xlwmenu.c (XlwMenuInitialize): Copy mw->menu.contents. | |
1048 | (XlwMenuDestroy): Free mw->menu.contents. | |
1049 | ||
1050 | 1994-02-09 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1051 | ||
1052 | * xlwmenu.c (display_menu_item): Call draw_shadow_rectangle to make | |
1053 | visible/invisible the selection of the menubar items. | |
1054 | ||
1055 | 1994-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
1056 | ||
1057 | * lwlib.c (strcasecmp): Renamed to my_strcasecmp. | |
1058 | (find_in_table): Changed only caller. | |
1059 | ||
1060 | 1994-02-04 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1061 | ||
1062 | * xlwmenu.c (display_menu_item): When dealing with the menubar, | |
5c520e0a | 1063 | always call XDrawRectangle to clear the selection after popping down |
a08cb76c DL |
1064 | the pulldown menu. |
1065 | ||
1066 | 1994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1067 | ||
1068 | * lwlib.c: Include ctype.h. | |
1069 | ||
1070 | 1994-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1071 | ||
1072 | * lwlib.c (strcasecmp): New function. | |
1073 | ||
1074 | 1994-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1075 | ||
1076 | * xlwmenu.c, lwlib.c, lwlib-Xlw.c, lwlib-utils.c: | |
1077 | Convert all function definitions to non-prototype K&R. | |
1078 | ||
1079 | * lwlib-Xlw.h: Comment out args in function decls. | |
1080 | * lwlib.h: Comment out args in function decls. | |
1081 | * lwlib-utils.h: Comment out args in function decls. | |
1082 | ||
1083 | 1994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1084 | ||
1085 | * lwlib.c: Include StringDefs.h after lwlib.h. | |
1086 | ||
1087 | 1994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
1088 | ||
1089 | * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name | |
1090 | instead of $*. | |
1091 | (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were | |
1092 | superfluous and didn't work when configured outside srcdir. The | |
1093 | implicit .c.o rule works fine. | |
1094 | ||
1095 | 1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1096 | ||
1097 | * xlwmenu.c (resource_widget_value): Avoid using strdup. | |
1098 | ||
1099 | 1994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1100 | ||
1101 | * Makefile.in: New file. | |
1102 | ||
1103 | * lwlib-Xolmb.c: Renamed from lwlib-Xol-mb.c. | |
1104 | * lwlib-Xolmb.h: Renamed from lwlib-Xol-mb.h. | |
1105 | * lwlib-XolmbP.h: Renamed from lwlib-Xol-mbP.h. | |
1106 | ||
1107 | * lwlib-int.h: Renamed from lwlib-internal.h. | |
1108 | ||
5c520e0a | 1109 | |
a08cb76c | 1110 | |
6922b018 KH |
1111 | ;; Local Variables: |
1112 | ;; coding: iso-2022-7bit-unix | |
1113 | ;; End: | |
2a34a036 | 1114 | |
e7c9e445 | 1115 | Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002 |
2a34a036 GM |
1116 | Free Software Foundation, Inc. |
1117 | Copying and distribution of this file, with or without modification, | |
1118 | are permitted provided the copyright notice and this notice are preserved. |