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