Regenerate configure.
[bpt/emacs.git] / lwlib / ChangeLog
CommitLineData
41d81b80
J
12010-05-13 Jan Djärv <jan.h.d@swipnet.se>
2
3 * lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
4
3c9a9730
J
52010-05-08 Jan Djärv <jan.h.d@swipnet.se>
6
7 * xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets
8 (Bug #6127).
9
61a808e8
CY
102010-05-07 Chong Yidong <cyd@stupidchicken.com>
11
12 * Version 23.2 released.
13
e3cf0cde
GM
142010-05-06 Glenn Morris <rgm@gnu.org>
15
16 * Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables.
17
e9bcdbf7
GM
182010-05-04 Glenn Morris <rgm@gnu.org>
19
20 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE):
21 Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ instead of
22 @c_switch_system@, @c_switch_machine@.
23
ed6281b0
DN
242010-04-27 Dan Nicolaescu <dann@ics.uci.edu>
25
26 * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
27
c632dfda
JD
282010-04-21 Jan Djärv <jan.h.d@swipnet.se>
29
30 * xlwmenu.c (expose_cb):
31 * lwlib-Xaw.c (fill_xft_data): Declarations before code.
32
f0bd1598
J
332010-04-17 Jan Djärv <jan.h.d@swipnet.se>
34
35 * xlwmenu.c: Include Shell.h, remove duplicate declaration of
36 XlwMenuRedisplay.
37 (display_menu_item): Replace ws->window with ws->pixmap, remove
38 call to XftDrawRect.
0235128c
SM
39 (display_menu): Remove this and that argument.
40 Remove just_compute_this_one_p. Fill pixmap at start and copy it to
41 window at end.
f0bd1598
J
42 (expose_cb): New function.
43 (make_windows_if_needed): Replace XCreateWindow with XtCreatePopup.
0235128c 44 Add eventhandler for expose to expose_cb. Remove creation of xft_draw.
f0bd1598
J
45 (create_pixmap_for_menu): New function.
46 (remap_menubar): Pop down menus that aren't the same as in old_stack.
0235128c
SM
47 Set width, heigh, x, y on widget with XtVaSetValues.
48 Call create_pixmap_for_menu.
f0bd1598
J
49 Replace XUnmapWindow with XtPopdown.
50 Remowe two last parameters to display_menu.
51 (map_event_to_widget_value, XlwMenuRedisplay, Key, Select)
52 (pop_up_menu): Remowe two last parameters to display_menu.
53 (XlwMenuRealize): Call create_pixmap_for_menu, set w and pixmap.
54 Remove call to XftDrawCreate.
55 (XlwMenuDestroy): Free pixmap. Call XtDestroyWidget instead of
56 XDestroyWindow.
57 (handle_motion_event): Only call handle_single_motion_event once.
7aad87e8
JD
58 (set_window_type): New function.
59 (make_windows_if_needed, XlwMenuRealize): Call set_window_type.
f0bd1598
J
60
61 * xlwmenuP.h (window_state): Add pixmap and w.
62
b117f7cc
YM
632010-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
64
65 * xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
66
76bd8202
DN
672010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
68
69 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE)
70 (C_SWITCH_X_SITE): Define using autoconf.
71
1ecb2d3f
JD
722010-04-11 Jan Djärv <jan.h.d@swipnet.se>
73
74 * lwlib-Xaw.c (widget_xft_data): New for Xft data.
75 (fill_xft_data, openFont, get_text_width_and_height)
76 (draw_text, set_text, find_xft_data, command_press)
77 (command_reset): New functions.
78 (xaw_update_one_widget): Call set_text for dialog and buttons
79 if HAVE_XFT. Also set internalHeight for buttons.
80 (xaw_destroy_instance): Free all Xft related data.
81 (button_actions, buttonTrans): New structures.
82 (make_dialog): Call XtAppAddActions for button_actions.
83 Find xft font to use and call fill_xft_data for widgets.
84 (xaw_create_dialog): Pass instance parameter to make_dialog.
85
86 * lwlib-int.h (_widget_instance): Add Xft data if HAVE_XFT.
87 Override translations for buttons. If depth is 16 or more, tell
88 Xaw3d to not be nice to colormap.
89 Remove separator widget, use XtNhorizDistance on first right button
90 instead.
91
99852628
JD
922010-04-08 Jan Djärv <jan.h.d@swipnet.se>
93
94 * xlwmenu.c (xlwmenu_default_font): Make static.
95 (xlwMenuResources): Add XtNfaceName and XtNdefaultFace.
96 (string_width): Use XftTextExtentsUtf8 if HAVE_XFT.
97 (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Add versions for
98 HAVE_XFT.
99 (size_menu): Set max_rest_width in window_state structure.
100 (display_menu_item): If HAVE_XFT and xft_draw is set, use
101 XftDrawRect and XftDrawStringUtf8 to draw text.
102 (make_windows_if_needed): Set max_rest_width and xft_draw
103 in windows[i].
104 (openXftFont): New.
105 (XlwMenuInitialize): Call openXftFont if HAVE_XFT. If mw->menu.font
106 is not set, load font fixed and save it in xlwmenu_default_font.
107 (XlwMenuInitialize): Set max_rest_width and xft_draw in windows[0].
108 (XlwMenuClassInitialize): Initialize xlwmenu_default_font.
109 (XlwMenuRealize): Set xft_fg, xft_bg, xft_disabled_fg and
110 windows[0].xft_draw if xft_font is set.
111 (XlwMenuDestroy): Destroy all xft_draw and close xft_font.
112 (facename_changed): New.
113 (XlwMenuSetValues): Call facename_changed. If face name did change,
114 close old fonts and destroy xft_draw:s. Then create new ones.
115
116 * xlwmenu.h (XtNfaceName, XtCFaceName, XtNdefaultFace,
117 XtCDefaultFace): New.
118
119 * xlwmenuP.h (_window_state): Add max_rest_width and xft_draw.
120 (_XlwMenu_part): Add faceName,xft_fg, xft_bg, xft_disabled_fg and
121 xft_font.
122
288f9fc0
CY
1232010-03-10 Chong Yidong <cyd@stupidchicken.com>
124
125 * Branch for 23.2.
126
d7306fe6
DN
1272009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
128
129 * xlwmenu.c:
130 * lwlib.c:
131 * lwlib-utils.c:
132 * lwlib-Xm.c:
133 * lwlib-Xlw.c:
134 * lwlib-Xaw.c: Include setjmp.h.
135
70243478
CY
1362009-06-21 Chong Yidong <cyd@stupidchicken.com>
137
138 * Branch for 23.1.
139
77ccee09
DN
1402008-07-23 Dan Nicolaescu <dann@ics.uci.edu>
141
142 * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE.
143
f2a77c3a
DN
1442008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
145
146 * lwlib.c: Remove references to obsolete variables.
147
c2cd06e6
JM
1482008-06-02 Jim Meyering <meyering@redhat.com>
149
ba60bd44 150 Remove useless if-before-free tests.
70fdbb46
JM
151 * lwlib-Xm.c (xm_update_one_value): Likewise.
152 * lwlib.c (safe_free_str, free_widget_value_tree): Likewise.
c2cd06e6 153
73d798d5
SM
1542008-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * Makefile.in (TOOLKIT_DEFINES): Remove.
157
880820fe 1582007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
159
160 * xlwmenu.c (XlwMenuRealize): Ignore X errors while setting up
161 cursor shape.
162
cacc7b51
GM
1632007-07-25 Glenn Morris <rgm@gnu.org>
164
165 * Relicense all FSF files to GPLv3 or later.
166
167 * COPYING: Switch to GPLv3.
168
52a0e111
CY
1692007-06-13 Chong Yidong <cyd@stupidchicken.com>
170
171 * lwlib-Xaw.c, lwlib.c: Link to xaw3d if available.
172
7dfc4cda
CY
1732007-06-02 Chong Yidong <cyd@stupidchicken.com>
174
175 * Version 22.1 released.
176
7073bb78
GM
1772007-02-28 Glenn Morris <rgm@gnu.org>
178
179 * Makefile.in (distclean): Delete Makefile.
180 (maintainer-clean): Delete TAGS.
181
880820fe 1822007-01-01 Jan Djärv <jan.h.d@swipnet.se>
3fcd0186
JD
183
184 * xlwmenu.c (xlwMenuResources): Add XtNleaveCallback, XtNenterCallback.
185 (display_menu, map_event_to_widget_value): Generate enter and
186 leave callbacks.
187 (pop_up_menu): Initialize mw->menu.inside_entry.
188
189 * xlwmenu.h (XtNleaveCallback, XtNenterCallback): New strings.
190
191 * xlwmenuP.h (_XlwMenu_part): Add enter/leave callbacks and
192 inside_entry.
193
79a2d0fc 194 * lwlib-Xlw.c (enter_hook, leave_hook): New functions.
3fcd0186
JD
195 (xlw_create_menubar, xlw_create_popup_menu): Connect XtNenter/leave
196 to enter/leave_hook.
197
41c98a5e
CY
1982006-10-30 Chong Yidong <cyd@stupidchicken.com>
199
200 * Makefile.in (lwlib-utils.o): Use CPPFLAGS.
201
45a2056c
JB
2022006-09-15 Jay Belanger <belanger@truman.edu>
203
204 * COPYING: Replace "Library Public License" by "Lesser Public
205 License" throughout.
206
880820fe 2072006-05-23 Jan Djärv <jan.h.d@swipnet.se>
1f5df1f7
JD
208
209 * xlwmenu.c: Include xterm.h if emacs instead of declaring functions
210 used.
211 (string_width): Declare as static.
33462dfa 212 (Start, pop_up_menu): Set is_hint to 0 before calling
1f5df1f7
JD
213 handle_motion_event.
214 (pop_up_menu): Return value and parameters for x_catch_errors and
215 x_uncatch_errors changed.
216
43f15d4a
DN
2172005-09-27 Dan Nicolaescu <dann@ics.uci.edu>
218
79a2d0fc
JB
219 * xlwmenu.c (find_next_selectable, find_prev_selectable):
220 Add missing parameter declarations.
43f15d4a 221
c5caf981
DN
2222005-09-24 Dan Nicolaescu <dann@ics.uci.edu>
223
224 * xlwmenu.c: Fix the return type for x_clear_errors and
33462dfa 225 x_uncatch_errors.
c5caf981 226
880820fe 2272005-07-19 Jan Djärv <jan.h.d@swipnet.se>
7537ab9c 228
33462dfa 229 * lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for
7537ab9c
JD
230 labels in menu bar.
231
a0ec7a4a
LK
2322005-07-04 Lute Kamstra <lute@gnu.org>
233
234 Update FSF's address in GPL notices.
235
880820fe 2362005-04-01 Jan Djärv <jan.h.d@swipnet.se>
52a9f3a0
JD
237
238 Reenable support for I18N to Lucid menus.
a0ec7a4a 239
52a9f3a0
JD
240 * xlwmenuP.h (_XlwMenu_part): Add fontSet resource.
241
242 * xlwmenu.c (string_width):
243 (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Ditto.
244 (display_menu_item, make_drawing_gcs, XlwMenuInitialize)
79a2d0fc 245 (XlwMenuSetValues): Use font if fontSet is NULL, use only
52a9f3a0
JD
246 font for !HAVE_X_I18N.
247 (xlwMenuResources): Add fontSet resource.
248
880820fe 2492005-03-22 Jan Djärv <jan.h.d@swipnet.se>
937a855d
JD
250
251 * xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
252 on XFree86 is investigated.
253
254 * xlwmenu.c: Ditto.
255
9f9e5275
SM
2562005-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
257
423a3f59
SM
258 Add support for I18N to Lucid menus.
259
260 * xlwmenuP.h (struct _XlwMenu_part) [HAVE_X_I18N]: Change `font' to be
261 a fontset. Add a `font_extents' element.
262
263 * xlwmenu.c (xlwMenuResources) [HAVE_X_I18N]: Use a fontset for the
264 `font' resource.
265 (string_width) [HAVE_X_I18N]: Use XmbTextExtents;
266 (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): New macros.
267 (arrow_width, toggle_button_width, size_menu_item, draw_arrow)
268 (draw_toggle, draw_radio, display_menu_item): Use them.
269 (display_menu_item) [HAVE_X_I18N]: Use XmbDrawString.
270 (make_drawing_gcs) [HAVE_X_I18N]: Don't mess with fonts.
271 (XlwMenuInitialize) [HAVE_X_I18N]: Initialize font_extents.
272 (XlwMenuSetValues) [HAVE_X_I18N]: Refresh font_extents if font changes.
273
3c916d65
SM
274 * lwlib-Xm.c (xm_update_label, xm_update_list): Use the recommended
275 XmStringCreateLocalized function. Add missing copyright.
276
9f9e5275
SM
277 * lwlib-Xm.h: Add missing copyright and license notice.
278
f7b758bd
SM
2792005-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * xlwmenuP.h:
282 * xlwmenu.h: Add missing copyright and license notice.
283
880820fe 2842004-12-27 Jan Djärv <jan.h.d@swipnet.se>
4220b2a5
JD
285
286 * xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
287 action procedure for compatibility with Lesstif/Motif.
288
289 * Makefile.in (mostlyclean): Don't remove *~ on clean.
290
880820fe 2912004-12-26 Jan Djärv <jan.h.d@swipnet.se>
4e6e2184
JD
292
293 * lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only
294 pops down on Escape, not any keypress.
295
880820fe 2962004-11-01 Jan Djärv <jan.h.d@swipnet.se>
03a693b4
JD
297
298 * xlwmenu.c (find_first_selectable, find_next_selectable)
299 (find_prev_selectable): Rename parameter skip_no_call_data to
300 skip_titles. Recognize titles as having no call_data and no contents.
301 (Down, Up): Comment update.
302
880820fe 3032004-08-30 Jan Djärv <jan.h.d@swipnet.se>
05bdae44 304
f7b758bd 305 * lwlib.h (_widget_value): Add lname and lkey.
05bdae44 306
880820fe 3072004-01-12 Jan Djärv <jan.h.d@swipnet.se>
244c93fe 308
f7b758bd 309 * xlwmenuP.h (_XlwMenu_part): Add top_depth.
244c93fe
JD
310
311 * xlwmenu.h: Removed declaration of pop_up_menu
312
313 * xlwmenu.c (Start): Get correct time if time in event is CurrentTime.
314 (find_first_selectable, find_next_selectable)
315 (find_prev_selectable): Add parameter skip_no_call_data to skip
316 over items with no call data (popup menu titles).
317 (Down, Up): Compare old_depth to top_depth instead of 2.
318 Pass True to find_*_selectable:s new parameter if this is a popup menu.
319 (Left, Right): Compare old_depth to top_depth instead of 2.
320 Pass 0 to find_*_selectable:s new parameter.
321 (pop_up_menu): Set top_depth to 1 for pop up menus and 2 for
322 menu bar menus, to enable keyboard traversal of popups.
323
324 * lwlib-Xm.c (dialog_key_cb): New function.
325 (make_dialog): Add event handlers to dialog_key_cb for key press
326 so we can pop down on ESC.
327
328 * lwlib-Xlw.c (xlw_popup_menu): Replace call to pop_up_menu with
329 XtCallActionProc ("start"). Use a full XEvent since "start" copies it.
330
79a2d0fc 331 * lwlib-Xaw.c (make_dialog): Add override so dialog pops down on ESC.
244c93fe
JD
332 (wm_delete_window): If widget isn't a shell, use the parent.
333
404074e2
DL
3342003-05-22 Dave Love <fx@gnu.org>
335
336 * xlwmenu.c: Include lisp.h, not ../src/lisp.h.
337 (make_drawing_gcs): Remove unused `xswa', `mask'.
338
339 * lwlib-Xlw.c: Include lisp.h, not ../src/lisp.h.
340 (lw_lucid_widget_p): Remove unused `mw'.
f7b758bd
SM
341 (xlw_update_one_widget, xlw_pop_instance) [PROTOTYPES]:
342 Provide ISO C arglists.
404074e2 343
19bb0fcd 3442003-04-30 Lute Kamstra <lute@gnu.org>
d7acd774
JB
345
346 * Makefile.in: Make things function properly in case both LessTif
347 and Open Motif are installed.
348
880820fe 3492003-01-26 Jan Djärv <jan.h.d@swipnet.se>
d0bdb060
JD
350
351 * lwlib-Xm.c (update_one_menu_entry): Deallocate widget_list.
352 (destroy_all_children): Call it self to destroy sub menu children.
353
0b17a217
RS
3542002-12-22 Richard M. Stallman <rms@gnu.org>
355
356 * xlwmenu.c (pop_new_stack_if_no_contents): Do nothing if
357 new_depth is 1.
358 (remap_menubar): Don't look in new_stack[0].
359 (Left): At level 1, do the same thing Right does.
360
207c13a7
DL
3612002-11-21 Dave Love <fx@gnu.org>
362
363 * lwlib-Xaw.c [PROTOTYPES]: Provide ISO C arglists for functions
364 with Boolean args.
365
db0e17de
DL
3662002-11-20 Dave Love <fx@gnu.org>
367
368 * lwlib.c: Remove obsolete USE_OLIT code.
f7b758bd 369 [PROTOTYPES]: Provide ISO C arglists for functions with Boolean args.
db0e17de
DL
370 (lwlib_memset): Declare length arg as size_t.
371 (malloc_widget_value): Cast arg of lwlib_memset.
372
373 * xlwmenu.c (separator_height): Prototype.
374
ef93458b
PJ
3752002-05-07 Miles Bader <miles@gnu.org>
376
377 * xlwmenu.c (make_drawing_gcs): The scaling factor passed to
378 `x_alloc_lighter_color_for_widget' is a float, not an int, and
379 it's a multiplicative factor, so the name `delta' is inaccurate.
380 Always base disabled foreground on the normal foreground.
381 Don't use the temporary variable `temp'.
382
880820fe 3832002-05-06 Pavel Janík <Pavel@Janik.cz>
8b71a9ca
PJ
384
385 * xlwmenu.c (xlwMenuResources): New resource.
386 (find_next_selectable): Return current item when the menu is not
10d1d0af 387 popped up.
8b71a9ca
PJ
388 Rename `inactive_gc' to `disabled_gc'.
389 Use lighter/darker color for disabled menu items instead of using
390 stipple. Use stipple only when better color can not be
391 determined automatically.
392
393 * xlwmenu.h (XtNdisabledForeground, XtCDisabledForeground):
394 New resource names.
395
396 * xlwmenuP.h (_XlwMenu_part): Add new member `disabled_foreground'.
397 Rename `inactive_gc' to `disabled_gc'.
398
880820fe 3992002-04-29 Pavel Janík <Pavel@Janik.cz>
e656fc9d
PJ
400
401 * xlwmenu.c <XtNmargin, XtNverticalSpacing, XmNshadowThickness>:
402 Change default values.
403
880820fe 4042002-04-28 Jan Djärv <jan.h.d@swipnet.se>
005e0d57
JD
405
406 * xlwmenu.c: Do not grab keyboard if installation-directory is
407 non-nil (not installed Emacs). To simplify debugging.
408
880820fe 4092002-04-28 Pavel Janík <Pavel@Janik.cz>
38e668df 410
9d5ebed1
PJ
411 * Makefile.in: Remove OpenLook file dependencies.
412 (xrdb-cpp.o): Remove target.
413 Remove unused defines.
414
2bad4ee2
PJ
415 * xrdb.c, xrdb-cpp.c, Imakefile, dispatch.c, dispatch.h:
416 Remove unused file.
9d5ebed1 417
bcd833b2 418 * lwlib.c (instantiate_widget_instance): Remove duplicated prototype.
38e668df 419
880820fe 4202002-04-25 Pavel Janík <Pavel@Janik.cz>
90077f66
PJ
421
422 * lwlib-Xol.c, lwlib-Xol.h, lwlib-Xolmb.c, lwlib-Xolmb.h
423 * lwlib-XolmbP.h: Remove file.
424
880820fe 4252002-04-22 Jan Djärv <jan.h.d@swipnet.se>
6be3e0da
JD
426
427 * lwlib-Xm.c: Removed compiler warning.
428
429 * xlwmenu.c: Add calls to GrabKeyboard to remove strange
430 interactions with window managers that steal keypresses.
431 Call ungrab_all instead of XtUngrabPointer.
432 (pop_up_menu): Add call to XtGrabKeyboard.
433 (ungrab_all): New function.
434
880820fe 4352002-04-20 Pavel Janík <Pavel@Janik.cz>
7769818b
PJ
436
437 * xlwmenu.c (find_next_selectable): New function.
438 (Down, Up, Right): Use it.
439 (find_next_selectable): Prevent endless loops when only one item
440 is enabled in the menu.
441
880820fe 4422002-04-19 Pavel Janík <Pavel@Janik.cz>
6ad6535b
PJ
443
444 These changes allow moving in menu via keyboard.
bcd833b2
SM
445
446 * xlwmenu.c (xlwMenuTranslations, xlwMenuActionsList):
447 Add translations for cursor keys and RET.
6ad6535b
PJ
448 (find_next_selectable, find_prev_selectable): New functions used
449 for finding menu-items.
450 (Down, Up, Left, Right): New functions.
451
5e3238f4
EZ
4522002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
453
e7c9e445 454 * Makefile.in (TAGS): Don't use -t, it's the default behavior for
5e3238f4
EZ
455 etags, so it barfs if invoked with -t.
456
6147334f
RS
4572002-03-17 Richard M. Stallman <rms@gnu.org>
458
e7c9e445 459 * lwlib.c (P_): Definitions deleted.
6147334f 460
663671d5
EZ
4612002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
462
463 * lwlib.c (P_): Don't define if already defined.
464
880820fe 4652002-01-27 Pavel Janík <Pavel@Janik.cz>
7a4b11ca
PJ
466
467 * lwlib-Xaw.c (xaw_update_scrollbar, xaw_scrollbar_scroll)
468 (xaw_scrollbar_jump): Put whole functions in #if 0.
469
880820fe 4702002-01-09 Pavel Janík <Pavel@Janik.cz>
ca79970e
PJ
471
472 * lwlib-Xaw.c (xaw_create_dialog): Initialize icon_name to
473 suppress compiler warnings.
474
880820fe 4752001-12-18 Pavel Janík <Pavel@Janik.cz>
4521d1fc 476
bcd833b2 477 * lwlib.c (separator_names): Add missing braces around initializers.
4521d1fc 478
880820fe 4792001-12-08 Pavel Janík <Pavel@Janik.cz>
03f9f7ae
PJ
480
481 * COPYING: New file.
482
656f46bb
RS
4832001-12-01 Richard M. Stallman <rms@gnu.org>
484
485 * lwlib.h (_widget_value): `help' has type Lisp_Object.
486
487 * xlwmenu.c, lwlib-Xaw.c, lwlib-Xlw.c: Include ../src/lisp.h.
488 * lwlib-Xm.c, lwlib-Xol.c, lwlib/lwlib-Xolmb.c: Include ../src/lisp.h.
489 * lwlib/lwlib-utils.c: Include ../src/lisp.h.
e7c9e445 490
656f46bb
RS
491 * lwlib.c: Include ../src/lisp.h. Don't declare xmalloc.
492 (free_widget_value_tree): Don't free `help' field.
493 (copy_widget_value_tree): Copy `help' simply, without safe_strdup.
494 (merge_widget_value): Compare and copy `help' simply.
495
66458f32
RS
4962001-11-28 Richard M. Stallman <rms@gnu.org>
497
498 * Makefile.in (TAGS): Find the source files in $(srcdir).
499
71431a0e
GM
5002001-10-20 Gerd Moellmann <gerd@gnu.org>
501
6aa97356 502 * (Version 21.1 released.)
71431a0e 503
14a3dff7
GM
5042001-10-09 Gerd Moellmann <gerd@gnu.org>
505
506 * lwlib-Xaw.c (xaw_create_scrollbar) [!0]: Return NULL.
507 From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
508
ab952a4f
GM
5092001-10-05 Gerd Moellmann <gerd@gnu.org>
510
511 * Branch for 21.1.
e7c9e445 512
a9793e45
GM
5132001-04-30 Gerd Moellmann <gerd@gnu.org>
514
515 * xlwmenu.c (xlwmenu_window_p): New function.
516
6c29b43c
GM
5172001-03-23 Gerd Moellmann <gerd@gnu.org>
518
519 * lwlib-Xlw.c (x_print_complete_resource_name) [0]: New function.
520
3c9e997b
GM
5212001-03-22 Gerd Moellmann <gerd@gnu.org>
522
523 * lwlib-Xm.c (x_print_complete_resource_name) [0]: New function.
524
3d57dbba
GM
5252001-03-13 Gerd Moellmann <gerd@gnu.org>
526
19b2bb80
GM
527 * lwlib-Xm.c (make_menu_in_widget): Remove code forcing LessTif to
528 recompute centered text; it works fine without with current LessTif.
529
f25d58a4
GM
530 * lwlib-Xm.c (make_menu_in_widget): Add an XmNpopdownCallback
531 instead of an XmNunmapCallback.
f7b758bd 532 (xm_unmap_callback): Remove.
e7c9e445 533
f25d58a4
GM
534 * lwlib-Xm.c (make_menubar): Take out code in #if 0.
535
3d57dbba
GM
536 * lwlib-Xm.c (xm_popup_menu): Don't set XmNmenuPost unless
537 necessary. From Rick Scott <rwscott@alumni.uwaterloo.ca>.
538
2a73ab60
GM
5392001-02-28 Gerd Moellmann <gerd@gnu.org>
540
11ef99b9
GM
541 * lwlib-Xm.c (xm_arm_callback): Don't compare widgets with `None',
542 use NULL instead.
543
2a73ab60
GM
544 * lwlib-Xaw.c (xaw_update_one_widget): Use XtSetSensitive instead
545 of setting the value of XtNsensitive.
546
547 * lwlib-Xm.c (xm_update_radiobox, update_one_menu_entry)
548 (xm_update_one_widget): Use XtSetSensitive instead of setting the
bcd833b2 549 value of XmNsensitive. From Rick Scott <rwscott@alumni.uwaterloo.ca>.
2a73ab60 550
ec9077f2
DL
5512000-12-14 Dave Love <fx@gnu.org>
552
bcd833b2 553 * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from declaration.
ec9077f2 554
2f90328f
DL
5552000-12-11 Dave Love <fx@gnu.org>
556
557 * xlwmenu.c (draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>:
558 <SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator.
559
ae0d7485
GM
5602000-12-07 Gerd Moellmann <gerd@gnu.org>
561
562 * lwlib-Xm.c (xm_arm_callback): Fix last change.
563
edfb795e
GM
5642000-11-30 Gerd Moellmann <gerd@gnu.org>
565
566 * lwlib-Xm.c (xm_arm_callback): Handle case that W is null;
567 also see comment there.
568
cd913aae
GM
5692000-11-21 Gerd Moellmann <gerd@gnu.org>
570
571 * xlwmenu.c (xlwmenu_redisplay): New function.
572
0f3360b0
SM
5732000-09-30 Stefan Monnier <monnier@cs.yale.edu>
574
575 * lwlib.c (lw_separator_p): Init separator_p (bug with "-- some text").
576
5c520e0a
SS
5772000-09-28 Sam Steingold <sds@gnu.org>
578
579 * xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
580 to avoid redefining struct timeval and struct timezone.
581
7a3d0e0e
MB
5822000-09-04 Miles Bader <miles@gnu.org>
583
584 * xlwmenu.c (XlwMenuSetValues): Only frob the display if the menu
585 is actually displayed.
b7fa4a06
MB
586 (remap_menubar): Only include the menu-margin in the initial X & Y
587 positions for horizontal menu-bars.
588 (fit_to_screen): If moving a sub-menu to the left-side, increment
589 its x-position by the shadow-thickness to make it look more
590 attached to the invoking menu-item (similarly to the way it would
591 be displayed on the right side).
7a3d0e0e 592
a3d35a39
MB
5932000-09-03 Miles Bader <miles@gnu.org>
594
595 * xlwmenu.c (x_alloc_lighter_color_for_widget): New extern declaration.
596 (make_shadow_gcs) [emacs]: Use x_alloc_lighter_color_for_widget to
597 do shadow calculation.
598 (make_shadow_gcs): Remove code that tests whether the top shadow
599 is dimmer than the bottom shadow--it shouldn't ever happen.
600
caccd8f2
MB
6012000-08-30 Miles Bader <miles@gnu.org>
602
603 * xlwmenu.c (XlwMenuSetValues): If the background color has
604 changed, re-make the shadow-gcs too.
605
f4988be7
GM
6062000-08-03 Gerd Moellmann <gerd@gnu.org>
607
608 * lwlib.c, lwlib-Xm.c, lwlib-Xaw.c: Use NULL at the end of the
609 variable argument lists of XtVaSetValues and XtVaGetValues
610 functions because 0 is not sufficient on systems where sizeof
611 (int) < sizeof (void *).
612
47db06aa
GM
6132000-07-19 Gerd Moellmann <gerd@gnu.org>
614
615 * xlwmenu.c [emacs]: Don't include <X11/bitmaps/gray> because that
616 leads to redefinition errors when static is defined as empty in
617 config.h. Refer to the gray bitmap in xfns.c, instead.
618
cdefcd82
DL
6192000-07-18 Dave Love <fx@gnu.org>
620
621 * lwlib-utils.c (XtApplyToWidgets): Cast args of lwlib_bcopy.
622
af5e64bc
DL
6232000-06-23 Dave Love <fx@gnu.org>
624
625 * lwlib-Xlw.c (xlw_popup_menu): Cast arg of pop_up_menu.
626
627 * lwlib-utils.c: Include lwlib.h.
628
0a2ea235
GM
6292000-06-16 Gerd Moellmann <gerd@gnu.org>
630
631 * xlwmenuP.h (_XlwMenu_part): Add free_top_shadow_color_p and
632 free_bottom_shadow_color_p.
633
634 * xlwmenu.c (make_shadow_gcs): Set free_top_shadow_color_p
635 and free_top_shadow_color_p flags in the menu widget if
636 top and bottom shadow colors must be freed.
637 (release_shadow_gcs): Free colors only if they must be freed.
638
ed1056b3
GM
6392000-06-12 Gerd Moellmann <gerd@gnu.org>
640
641 * xlwmenu.c (make_shadow_gcs): Free and copy colors so that
642 color reference counts are right.
643 (release_shadow_gcs): Free colors.
644
bb2337f5
DL
6452000-06-06 Dave Love <fx@gnu.org>
646
647 * xlwmenu.c (x_alloc_nearest_color_for_widget, x_catch_errors)
648 (x_uncatch_errors, x_had_errors_p, x_clear_errors): Add prototypes
649 -- should be moved into separate header.
bcd833b2 650 (make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first arg.
bb2337f5
DL
651 (Start) <pop_up_menu>: Cast second arg.
652
653 * lwlib.c (P_): Use PROTOTYPES.
654 (safe_strdup): Declare arg const.
655 (lw_modify_all_widgets) <!info>: Return 0.
656
657 * lwlib-Xm.c (P_): Use PROTOTYPES.
658
659 * xlwmenu.h, lwlib.h, lwlib-utils.h, lwlib-int.h, lwlib-Xm.h:
660 * lwlib-Xlw.h, lwlib-Xaw.h: Enable prototypes.
661
662 * lwlib-Xaw.c (xaw_popup_menu): Add EVENT arg.
663
664 * Makefile.in (lwlib.o): Depend on lwlib-Xlw.h.
665 (lwlib-Xlw.o): Depend on lwlib-Xlw.h.
666 (lwlib-Xaw.o): Depend on lwlib-Xaw.h.
667 (lwlib-Xm.o): Depend on lwlib-Xm.h.
668
9b2f3c38
GM
6692000-03-12 Gerd Moellmann <gerd@gnu.org>
670
671 * lwlib-Xm.c (make_menubar) [LESSTIF_VERSION]: Don't set
672 XmNresizeHeight and XmNresizeWidth.
673
7397acc4
DL
6742000-03-08 Dave Love <fx@gnu.org>
675
676 * Makefile.in (liblw.a): Don't bother testing for ranlib failing
677 since configure sets it up.
678
1d4d17e2
GM
6792000-03-06 Gerd Moellmann <gerd@gnu.org>
680
681 * lwlib-Xm.c (make_menubar): Set XmNresizeHeight and
682 XmNresizeWidth resources only if LESSTIF_VERSION is defined.
683
566f7ec8
GM
6842000-03-05 Gerd Moellmann <gerd@gnu.org>
685
686 * lwlib-Xm.c (xm_manage_resizing): Rewritten.
687
688 * lwlib.c (lw_modify_all_widgets): Return non-zero if widget
689 tree was changed.
690 (merge_widget_value): Add parameter CHANGE_P. Set *CHANGE_P
691 to 1 if a change occurs.
692
693 * lwlib.h (lw_modify_all_widgets): Change prototype.
694
64d739c4
GM
6952000-03-04 Gerd Moellmann <gerd@gnu.org>
696
697 * xlwmenu.c (make_shadow_gcs): Use the widget's colormap instead
698 of the screen's default colormap.
699
b6a22bf8
GM
7002000-02-18 Gerd Moellmann <gerd@gnu.org>
701
702 * lwlib.c (merge_widget_value): Fix incorrect assignment of
703 safe_strdup'd help string.
704
e12489f9
GM
7052000-01-25 Gerd Moellmann <gerd@gnu.org>
706
707 * lwlib-Xm.c (make_menu_in_widget): Don't add XmNpopdownCallback,
708 add XmNunmapCallback.
709 (xm_unmap_callback): New function.
710 (xm_pull_down_callback): Call pre-activate callback only if
711 parent is the menu bar.
712
52b8dbf9
GM
7132000-01-17 Gerd Moellmann <gerd@gnu.org>
714
715 * lwlib-Xm.c (xm_arm_callback): New function.
716 (make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and
717 XmNdisarmCallback for buttons (not supported for other widgets).
d36100c9 718 (make_menubar): Set XmNresizeHeight and XmNresizeWidth to False.
52b8dbf9
GM
719
720 * lwlib-Xlw.c (highlight_hook): New function.
721 (xlw_create_menubar, xlw_create_popup_menu): Add highlight_hook as
722 callback XtNhighlightCallback.
723
724 * lwlib.c (copy_widget_value_tree): Copy help string.
725 (free_widget_value_tree): Free help string.
726 (merge_widget_value): Handle help string.
bcd833b2
SM
727 (allocate_widget_info, lw_register_widget, lw_create_widget):
728 Add parameter HIGHLIGHT_CB.
52b8dbf9
GM
729 (lw_get_widget_instance): New function.
730
731 * lwlib-int.h: Add prototype for lw_get_widget_instance.
732
733 * lwlib.h (_widget_value): Add help string.
734
735 * xlwmenu.c (xlwMenuResources): All XtNhighlightCallback.
736 (remap_menubar): Call highlight callback.
737
738 * xlwmenu.h (XtNhighlightCallback): New define.
739
740 * xlwmenuP.h (_XlwMenu_part): Add `highlight' callback list.
741
0f0912e6 7421999-10-19 Paul Eggert <eggert@twinsun.com>
5c520e0a 743
0f0912e6
PE
744 Add support for large files, plus some locale improvements.
745
746 * dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c,
79a2d0fc 747 * xrdb-cpp.c, xrdb.c:
0f0912e6
PE
748 Include <config.h> before any system include files.
749
750 * lwlib-Xm.c, lwlib.c:
751 Do not include <stdlib.h> or <string.h>, as <config.h> does this.
5c520e0a 752
f5737ad2
GM
7531999-10-07 Gerd Moellmann <gerd@gnu.org>
754
bcd833b2
SM
755 * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry):
756 Use widgets instead of gadgets to be able to set colors.
f5737ad2 757
387581d8
DL
7581999-09-17 Richard Stallman <rms@gnu.org>
759
760 * lwlib-Xaw.c (wm_delete_window): Check all the shell's children,
761 not just the first, to find the dialog box.
762
7631999-09-14 Gerd Moellmann <gerd@gnu.org>
764
bcd833b2 765 * lwlib.c (lw_separator_p): Check for new-style separators differently.
387581d8
DL
766
7671999-09-10 Gerd Moellmann <gerd@gnu.org>
768
5c520e0a 769 * lwlib.c (lw_separator_p): Add `--:space' with the same
387581d8
DL
770 meaning as `--:noLine'.
771
7721999-09-06 Gerd Moellmann <gerd@gnu.org>
773
774 * lwlib.c (lw_separator_p): Add alternative separator type names.
775
7761999-09-03 Gerd Moellmann <gerd@gnu.org>
777
bcd833b2 778 * xlwmenu.c (make_shadow_gcs): Call x_alloc_nearest_color_for_widget.
387581d8 779
32660797
GM
7801999-07-12 Gerd Moellmann <gerd@gnu.org>
781
782 * lwlib-Xm.c: Add function prototypes.
783
784 * lwlib-Xm.c (xm_update_label): Use val->name to look up
785 a label string from resources.
786 (xm_update_label): Add some comments.
787
7881999-07-12 Gerd Moellmann <gerd@gnu.org>
789
790 * xlwmenu.c (all_dashes_p): Removed.
791 (size_menu_item): Call lw_separator_p.
792 (display_menu_item): Ditto.
793 (display_menu): Ditto.
794 (draw_separator): New.
795 (display_menu_item): Call it.
796 (separator_height): New.
797 (size_menu_item): Call it.
798
799 * lwlib-Xm.c (all_dashes_p): Removed.
bcd833b2 800 (make_menu_in_widget): Use lw_separator_p. Set Motif separator type.
32660797
GM
801
802 * lwlib.c (lw_separator_p): New.
803
804 * lwlib.h (enum menu_separator): New.
805
8061999-07-12 Gerd Moellmann <gerd@gnu.org>
807
808 * lwlib-Xm.c (make_menu_in_widget): Set alignment of menu
809 title after all widgets have been created.
810
8111999-07-12 Gerd Moellmann <gerd@gnu.org>
812
813 * xlwmenu.c (toggle_button_width): Renamed from
814 toggle_or_radio_button_width.
815 (radio_button_width): New.
816 (size_menu_item): Use new functions.
817 (draw_shadow_rhombus): New.
818 (draw_radio): Use radio_button_width and draw_shadow_rhombus.
819 (draw_toggle): Use toggle_button_width.
820
8211999-07-12 Gerd Moellmann <gerd@gnu.org>
822
823 * lwlib-Xm.c (xm_update_toggle): Add callback xm_generic_callback
824 instead of xm_internal_update_other_instances.
825
826 * lwlib-Xm.c (make_menu_in_widget): Do help button before managing
827 children to get it to the right place.
828 (make_menu_in_widget): Create toggle buttons.
829 (update_one_menu_entry): Update toggle buttons.
830
831 * xlwmenu.c (size_menu_item): Add parameter button_width.
832 (size_menu): Compute button_width.
833 (toggle_or_radio_button_width): New.
834 (draw_toggle): New.
835 (draw_radio): New.
836 (draw_shadow_rectangle): Add parameter `down_p'.
837
838 * xlwmenuP.h (_window_state): Add button_width.
839
8401999-07-12 Gerd Moellmann <gerd@gnu.org>
841
79a2d0fc 842 * xlwmenu.c (make_shadow_gcs) [emacs]: Use x_alloc_nearest_color.
32660797
GM
843
844 * lwlib.c (merge_widget_value): Handle button_type.
845 (copy_widget_value_tree): Copy button_type.
846
847 * lwlib.h (enum button_type): New.
848 (_widget_value): New member button_type.
849
8501999-07-12 Gerd Moellmann <gerd@gnu.org>
851
852 * lwlib-Xm.c (make_menu_in_widget): Test for menubar widgets
853 using XmNrowColumnType.
854
8551999-07-12 Gerd Moellmann <gerd@gnu.org>
856
857 * xlwmenu.c (abort_gracefully): New.
858 (display_menu): Use it instead of abort.
859 (size_menu): Ditto.
860
8611999-07-12 Gerd Moellmann <gerd@gnu.org>
862
5c520e0a 863 * xlwmenu.c (xlwMenuResources): Change previously unused
32660797
GM
864 XtNmargin to 4.
865 (size_menu): Take margin into account.
866 (display_menu_item): Ditto.
867 (remap_menubar): Ditto.
868 (draw_arrow): Draw it 3D.
869
a08cb76c
DL
8701999-07-12 Richard Stallman <rms@gnu.org>
871
872 * Version 20.4 released.
873
8741998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
875
876 * Version 20.3 released.
877
8781998-07-30 Paul Eggert <eggert@twinsun.com>
879
880 * lwlib/Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.o)
5c520e0a 881 (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o):
5ce6e4f4 882 Add dependencies to corresponding .c files for Solaris 2.x VPATH make.
a08cb76c
DL
883
8841998-04-06 Andreas Schwab <schwab@gnu.org>
885
886 * lwlib.c: Always declare xmalloc.
887 [USE_XAW]: Include <X11/Xaw/Paned.h>.
888 (lwlib_memset, lwlib_bcopy): Explicitly declare return type.
889
8901997-12-20 Richard Stallman <rms@delysid.gnu.org>
891
892 * lwlib-Xm.c (update_one_menu_entry):
893 Add conditional in case XmNpositionIndex is missing.
894
8951997-12-20 Richard Stallman <rms@psilocin.gnu.org>
896
897 * lwlib-Xm.c (update_one_menu_entry):
898 Add conditional in case XmNpositionIndex is missing.
899
9001997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
901
902 * Version 20.2 released.
903
904 * xlwmenu.c (motion_event_is_in_menu): Extend the left and
905 top windows by the shadow width.
906
9071997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
908
909 * Version 20.1 released.
910
9111997-07-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
912
913 * xlwmenu.c (display_menu): If an item is disabled,
914 don't display its submenu (if any).
915
9161997-05-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
917
918 * xlwmenu.c (pop_up_menu): Update the call to x_catch_errors.
919
9201997-01-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
921
922 * xlwmenu.c (fit_to_screen): If new menu would overlap the previous
923 one from the side, try moving it up or down.
924
9251996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
926
927 * Version 19.33 released.
928
929 * lwlib-Xm.c (update_one_menu_entry): Fix previous change:
930 When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget,
931 just modify the existing one.
5c520e0a 932
f0131492 9331996-08-09 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu>
a08cb76c
DL
934
935 * lwlib.c (merge_widget_value): Undo previous change.
5c520e0a 936
a08cb76c
DL
937 * lwlib-Xm.c (update_one_menu_entry): When creating a pulldown
938 in an existing but empty menu item, in order to get a new functional
939 pulldown, the menu item must be switched from an XmPushButtonGadget
940 into a XmCascadeButtonGadget.
941
9421996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
943
944 * Version 19.32 released.
945
f0131492 9461996-07-31 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu>
a08cb76c
DL
947
948 * lwlib-Xm.c (make_menubar): Turn off menu accelerator.
949
f0131492 9501996-07-24 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu>
a08cb76c
DL
951
952 * lwlib.c (merge_widget_value) [USE_MOTIF]: Pass along the change
953 flag from merged_contents.
954
9551996-07-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
956
957 * lwlib-Xm.c (xm_update_menu): Fix loop termination test.
958
9591996-07-07 Karl Heuer <kwzh@gnu.ai.mit.edu>
960
961 * lwlib-Xm.h, lwlib-Xm.c, lwlib.h, lwlib.c: Undo previous change.
962
f0131492 9631996-07-03 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu>
a08cb76c
DL
964
965 * lwlib-Xm.h: Declare lw_motif_menu_related_event_p.
966
967 * lwlib-Xm.c (lw_motif_menu_related_event_p): A predicate to
968 identify keyboard events intended only for menus.
969
970 * lwlib.h: Declare lw_toolkit_related_event_p.
971
972 * lwlib.c (lw_toolkit_related_event_p): A predicate to identify
973 toolkit-specific events.
974
f0131492 9751996-06-07 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu>
a08cb76c
DL
976
977 * lwlib-Xm.c (make_menu_in_widget): Set mapping delay
978 for cascade buttons to zero.
979
9801996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
981
982 * Version 19.31 released.
983
9841996-03-31 Richard Stallman <rms@mole.gnu.ai.mit.edu>
985
986 * lwlib-Xm.c (destroy_all_children): When freeing a cascade button,
987 free its submenu too.
988 (make_menu_in_widget): Use a cascade button gadget, not a widget.
989 Include Xm/CascadeBG.h.
990
9911996-03-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
992
993 * Makefile.in (tags): New target.
994
9951996-03-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
996
997 * Makefile.in (TAGS): Renamed from `tags' and fixed to work.
998
9991996-03-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1000
1001 * Makefile.in (xlwmenu.o): New explicit target.
1002
10031996-03-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1004
1005 * lwlib.h (struct widget_value): New field this_one_change.
1006 * lwlib.c (merge_widget_value): Set the this_one_change field.
1007 * lwlib-Xm.c (destroy_all_children): New arg first_child_to_destroy.
1008 (make_menu_in_widget): New arg keep_first_children.
1009 (xm_update_menu): Preserve the first children even if later ones
1010 have a structural change.
1011 (update_one_menu_entry): Use this_one_change field.
1012
10131996-03-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1014
1015 * xlwmenu.c (motion_event_is_in_menu): Make x and y signed.
1016
10171996-02-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1018
1019 * lwlib.c (lw_window_is_in_menubar) [USE_MOTIF]:
1020 With Motif, the window WIN can be the menu bar widget itself.
1021
10221996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1023
1024 * lwlib.c (free_widget_value_tree, merge_widget_value):
1025 Use XtFree for the toolkit_data.
1026
10271996-02-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
1028
1029 * lwlib.c (lw_internal_update_other_instances): Move static var
1030 outside the function, and rename it to lwlib_updating.
1031
10321996-01-04 Paul Eggert <eggert@twinsun.com>
1033
1034 * lwlib.c (instantiate_widget_instance): Renamed from
1035 instanciate_widget_instance (spelling correction).
1036 All callers changed.
1037
10381995-12-31 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1039
1040 * xlwmenu.c (xlwMenuActionsList): Add "key" and "nothing".
1041 (xlwMenuTranslations): Add translations for Key, KeyUp,
1042 and for the modifier keysyms.
1043 (Nothing, Key): New functions.
1044
10451995-12-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1046
1047 * xlwmenu.c (XlwMenuSetValues): Do redisplay if non-null contents
1048 get replaced by empty contents.
1049
1050 * lwlib.c (merge_widget_value): Treat disappearance of entire contents
1051 as a STRUCTURAL_CHANGE.
1052
10531995-12-20 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1054
1055 * lwlib-utils.c: Add #undef for index and rindex.
1056
10571995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1058
1059 * Version 19.30 released.
1060
10611995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1062
1063 * xlwmenu.c (display_menu_item): Fix previous change.
1064
10651995-11-04 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
1066
1067 * xlwmenu.c (display_menu_item): Don't treat buttons specially.
1068
10691995-08-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1070
1071 * Makefile.in (RANLIB): Get this var from configure.
1072
10731995-08-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1074
1075 * lwlib.c (lw_popup_menu): New arg `event', passed along.
1076 * lwlib-Xlw.c (xlw_popup_menu): New arg `event'.
1077 * lwlib-Xm.c (xm_popup_menu): New arg `event'.
1078
10791995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1080
1081 * Version 19.29 released.
1082
10831995-06-11 Richard Stallman <rms@gnu.ai.mit.edu>
1084
1085 * lwlib.c (lwlib_toolkit_type): New variable.
1086
10871995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
1088
1089 * xlwmenu.c (Drag): Do nothing unless menu.popped_up field is set.
1090
10911995-05-22 Karl Heuer <kwzh@hal.gnu.ai.mit.edu>
1092
1093 * xlwmenu.c (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args.
1094
10951995-05-20 Karl Heuer <kwzh@nutrimat.gnu.ai.mit.edu>
1096
1097 * lwlib.c: Don't use prototype.
1098 * lwlib-Xm.c (activate_button, xm_update_cascadebutton): Likewise.
1099
11001995-05-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1101
1102 * lwlib.c (lw_refigure_widget) [USE_MOTIF]: Fix backward if.
1103
11041995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1105
1106 * Makefile.in (ALL_CFLAGS): Add -I../src.
1107
11081995-05-03 Morten Welinder <terra+@cs.cmu.edu>
1109
1110 * lwlib.c [__osf__]: Include string.h and stdlib.h.
1111 [__osf__] (xmalloc): Declared.
1112
11131995-04-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1114
1115 * lwlib-Xm.c (update_one_menu_entry, make_menu_in_widget):
1116 Specify more useful names in XmCreatePulldownMenu calls.
1117
1118 * lwlib-Xaw.c (xaw_pop_instance): Make x, y, w, h unsigned.
1119
1120 * xlwmenu.c (size_menu): Make height and label_width unsigned.
1121 (fit_to_screen): Make screen_width and screen_height unsigned.
1122 (motion_event_is_in_menu): Make x, y unsigned.
1123
11241995-04-09 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1125
1126 * lwlib-utils.c: If HAVE_CONFIG_H, include config.h.
1127
1128 * Makefile.in (ALL_CFLAGS): Define HAVE_CONFIG_H.
1129 Add -I${srcdir}/../src.
5c520e0a 1130
a08cb76c
DL
11311995-04-08 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
1132
1133 * lwlib-Xm.c: Remove function prototypes.
1134 (xm_pop_down_callback): Call the deactivation callback only when
79a2d0fc 1135 popping down the top level submenu.
a08cb76c
DL
1136
11371995-04-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1138
1139 * Makefile.in (lwlib.o): Depend on Makefile.
1140
1141 * lwlib-Xm.h: Remove function prototypes.
1142
1143 * lwlib-Xm.c (remove_grabs): Use type Widget for `menu'.
1144
11451995-02-15 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
1146
1147 * Makefile.in (ALL_CFLAGS): Allow include files to be found in
bcd833b2 1148 `srcdir'.
a08cb76c
DL
1149
11501995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
1151
1152 * Makefile.in (maintainer-clean): Renamed from realclean.
1153
11541994-11-28 Richard Stallman <rms@bethel>
1155
1156 * lwlib-int.h (safe_strdup): Don't use ANSI argument prototype.
1157
11581994-11-15 Paul Reilly <pmr@duality.gnu.ai.mit.edu>
1159
1160 * lwlib.c (lw_refigure_widget): Use the macro USE_XAW rather than XAW.
1161
11621994-11-08 Paul Reilly <pmr@duality.gnu.ai.mit.edu>
1163
79a2d0fc 1164 * lwlib-Xm.c (make_menu_in_widget): Differentiate a separator
a08cb76c
DL
1165 entry ("--") from a title.
1166 (xm_pop_down_callback): Filter all but the last pop down callbacks.
1167
11681994-11-07 Paul Reilly <pmr@duality.gnu.ai.mit.edu>
1169
1170 * lwlib-Xm.c (update_one_menu_entry): Use the parent of the
1171 cascade button as the parent of the pulldown, rather than the
1172 cascade button itself. This works around a Motif SIGSEGV in the
1173 function `InSharedMenuHierarchy'.
1174
11751994-10-29 Richard Stallman <rms@duality.gnu.ai.mit.edu>
1176
1177 * xlwmenu.c (xlwmenu_default_font): New global variable.
1178 (XlwMenuInitialize): Use xlwmenu_default_font to default
1179 the font if necessary. Make mw, itself, an argument.
1180
11811994-10-26 Richard Stallman <rms@duality.gnu.ai.mit.edu>
1182
1183 * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc.
1184
11851994-10-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1186
1187 * xlwmenu.c (xlwmenu_default_font): New global variable.
1188 (XlwMenuInitialize): Use xlwmenu_default_font to default
1189 the font if necessary. Make mw, itself, an argument.
1190
1191 * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc.
1192
11931994-10-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1194
1195 * xlwmenu.c (fit_to_screen): Don't put the menu off the left or top.
1196
11971994-10-02 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
1198
1199 * xlwmenu.c (display_menu_item): Add support for displaying the
bcd833b2 1200 title in pop up menus.
a08cb76c
DL
1201
1202 * lwlib.c (lw_set_main_areas): Use xm_set_main_areas().
1203 (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
1204
12051994-09-25 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
1206
1207 * lwlib-Xaw.c (xaw_create_main): New function to support the
bcd833b2
SM
1208 toolkit independent creation of the main Emacs widget. *
1209 lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set
1210 resizing resources to disable showGrip and to enable both
1211 resizeToPreferred and allowShellResize.
a08cb76c
DL
1212
1213 * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing.
1214
79a2d0fc 1215 * lwlib-Xm.c (make_menu_in_widget): Add support for displaying a
a08cb76c
DL
1216 title in pop up menus.
1217 (make_main, xm_set_main_areas, xm_manage_resizing): New functions to
1218 create and manage a Motif Main Window widget.
1219
1220 * xlwmenu.c: Add #include <X11/ObjectP.h> for X11R4.
1221
f0131492 12221994-09-18 Frederic Pierresteguy <F.Pierresteguy@frcl.bull.fr>
a08cb76c
DL
1223
1224 * lwlib-Xm.c (make_dialog): When there is more than two pushbuttons,
1225 set XmPACK_TIGHT and XmHORIZONTAL to the rowcolumn. Also add a
1226 margin of 10 pixels.
1227
177c0ea7 12281994-09-16 Paul Reilly <pmr@geech.gnu.ai.mit.edu>
a08cb76c
DL
1229
1230 * lwlib-Xm.c (make_main): New function to support toolkit
bcd833b2 1231 independent creation of the main Emacs widget.
a08cb76c
DL
1232 (make_destroyed_instance): Use safe_strdup() instead of strdup().
1233
1234 * lwlib-int.h: Declare safe_strdup.
1235
1236 * lwlib.c (lw_refigure_widget): New function. Handle geometry
bcd833b2 1237 management inside lwlib instead of in Emacs.
a08cb76c
DL
1238 (lw_window_is_in_menubar): New function. Determine if the pointer
1239 is in a menubar.
1240 (lw_set_main_areas): New function. Set the main window widgets for
1241 Motif.
1242
1243 * lwlib.h: Declare lw_refigure_widget(), lw_window_is_in_menubar(),
1244 lw_set_main_areas().
1245
1246 * xlwmenu.h: Define Xt{Ns,CS}howGrip, Xt{Nr,CR}esizeToPreferred, and
1247 Xt{Na,CA}llowResize.
1248
1249 * xlwmenu.c (Start): Use pop_up_menu() to post the submenus.
bcd833b2 1250 (Select): Remove the pointer grab when popping down a menubar submenu.
a08cb76c
DL
1251 (pop_up_menu): Handle popping up submenus from a menubar, i.e. when
1252 the menu widget parent is not a shell widget.
1253
12541994-08-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1255
1256 * xlwmenu.c (pop_up_menu): Clear next_release_must_exit.
1257 (Start): Clear next_release_must_exit when popping up the menu.
1258
12591994-08-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1260
1261 * xlwmenu.c (Start): Set menu_post_event or next_release_must_exit.
1262 (Select): Do nothing if the menu should be left posted.
1263
12641994-07-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1265
1266 * xlwmenu.c (make_windows_if_needed, pop_up_menu):
1267 Enable mouse motion events even when no button down.
1268
12691994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1270
1271 * xlwmenu.c (pointer_grabbed): New variable.
1272 (pop_up_menu): Set the variable.
1273 (XlwMenuDestroy): Maybe call XtUngrabPointer.
1274
12751994-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1276
1277 * lwlib.c (max): Function deleted. Define as macro instead,
1278 but only if not already defined.
1279
12801994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1281
1282 * xlwmenu.c (xlwMenuResources): Use XtRDimension for shadow thickness.
1283
12841994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1285
1286 * lwlib-Xaw.c (xaw_pop_instance): Use XtSetValues, not XtMoveWidget.
1287
12881994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1289
1290 * lwlib.c (lwlib_memset: New function, used instead of memset.
1291 All callers changed.
1292 * lwlib.c (lwlib_bcopy): New function.
1293 * lwlib-utils.c (XtApplyToWidgets): Use lwlib_bcopy.
1294
1295 * lwlib.c: Delete definitions for use of alloca.
1296 (name_to_widget): Use xmalloc, not alloca.
1297
12981994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1299
1300 * xlwmenu.c (XlwMenuDestroy): Set new var submenu_destroyed.
1301 (XlwMenuRedisplay): If it's set, truncate the old_depth to 1.
1302
13031994-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1304
1305 * xrdb-cpp.c: Don't include string.h, unistd.h, stdlib.h.
1306 * lwlib-Xaw.c: Don't include string.h, unistd.h, stdlib.h.
1307 * lwlib-utils.c (XtApplyToWidgets): Use bcopy, not memcpy.
1308 * lwlib-utils.c: Don't include string.h, unistd.h, stdlib.h, memory.h.
1309 * xlwmenu.c: Don't include string.h, unistd.h, stdlib.h.
1310 * lwlib.c: Don't include string.h, unistd.h, stdlib.h.
1311 (safe_strdup): No longer static.
1312 * lwlib-Xm.c: Use safe_strdup, not strdup.
1313
1314 * xlwmenu.c (string_width): No longer static.
1315
13161994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1317
1318 * xlwmenuP.h (struct _XlwMenu_part): Use Pixel and Cursor
1319 for foreground and cursor_shape fields.
1320
1321 * xlwmenu.c (XlwMenuSetValues): Check for change of font.
1322
13231994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1324
1325 * Makefile.in: Delete all SRCS variables (unused).
1326 (lwlib.o, xrdb-cpp.o): Mention srcdir in dep.
1327
13281994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1329
1330 * Makefile.in (ALL_CFLAGS): Don't define THIS_IS_X11R4.
1331
1332 * xrdb.c: Define HAVE_X11R5 as in xterm.h.
1333 Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h.
1334 (_XtDisplayInitialize): Test HAVE_X11R5.
1335
1336 * dispatch.c: Define HAVE_X11R5 as in xterm.h.
1337 Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h.
1338 (_XtConvertTypeToMask): Conditionalize on HAVE_X11R5.
1339 (WouldDispatchEvent): Likewise.
1340
13411994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1342
1343 * lwlib-Xaw.c (xaw_generic_callback): Declare without arg names.
1344
13451994-04-01 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu)
1346
5c520e0a 1347 * lwlib-Xaw.c (make_dialog): Don't allow any geometry request from the
a08cb76c
DL
1348 user.
1349
13501994-03-22 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
1351
5c520e0a 1352 * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize
6ad6535b 1353 itself. Therefore reset the size to its initial value.
a08cb76c
DL
1354
13551994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1356
1357 * lwlib-Xaw.c (xaw_update_one_widget): Finish replacing XtVaSetValues.
1358 Don't test for scrollbar widget.
1359
13601994-03-14 Frederic Pierresteguy (fp@gnu.ai.mit.edu)
1361
1362 * lwlib-int.h: Declare lw_get_widget_info.
1363
1364 * lwlib.c (lw_get_widget_info): Comment out arg in function decl.
1365
1366 * lwlib-Xaw.h: Comment out args in function decls.
1367 * lwlib-Xaw.c: Convert all function definitions to non-prototype K&R.
1368 (xaw_update_one_widget - case dialogWidgetClass): Call XtSetValues,
1369 not XtVaSetValues.
1370
13711994-03-11 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
1372
1373 * xlwmenu.c (display_menu_item): Modify parameters to draw_arrow to
1374 right justify the arrow in the pane.
1375
1376 * lwlib.c: If not defined USE_MOTIF and defined USE_LUCID then
1377 define USE_XAW.
1378
1379 * Makefile.in (LUCID_SRCS, LUCID_OBJS): Add the target lwlib-Xaw.[oc].
1380
1381 * lwlib.c, lwlib-int.h: Merged from Lucid 19.9 release.
1382 * lwlib.c (_AIX): Replace the AIXV3 directive.
1383 (USE_XAW): New macro to conditionalize the use of the athena toolkit.
1384 (lw_get_widget_info): New function.
1385 (set_one_value): Handle USE_XAW.
1386 (instanciate_widget_instance): Likewise.
1387 (destroy_one_instance): Likewise.
1388 (lw_pop_all_widgets): Likewise.
1389 (lw_pop_down_all_widgets): Likewise.
1390 (get_one_value): Likewise.
1391
1392 * lwlib-Xaw.c, lwlib-Xaw.h: New files.
1393
13941994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1395
1396 * xlwmenu.c (XlwMenuInitialize, XlwMenuDestroy): Undo previous changes.
1397
1398 * lwlib-Xlw.c (xlw_create_menubar, xlw_create_popup_menu):
1399 Use XtCreate..., not XtVaCreate...
1400 No need to copy instance->info->val any more.
1401 (xlw_update_one_widget): Use XtSetValues, not XtVaSetValues.
1402
14031994-02-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1404
1405 * xlwmenu.c (pop_up_menu): Call XtUngrabPointer if XtGrabPointer fails.
1406
14071994-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1408
1409 * Makefile.in (xrdb-cpp.o, lwlib.o): Put ALL_CFLAGS after other flags.
1410
1411 * lwlib-Xlw.c (xlw_create_menubar): Don't call free_widget_value.
1412 Use malloc for allocation.
1413 (xlw_create_popup_menu): Likewise.
1414
14151994-02-18 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
1416
1417 * lwlib.c (malloc_cpt): New static variable.
1418 (malloc_widget_value): Increment malloc_cpt when allocating a cell.
1419 (free_widget_value): Really free the cells when the number of
1420 allocated ones is bigger than 25.
1421
1422 * lwlib-Xlw.c (xlw_create_menubar): Call malloc_widget_value and
1423 free_widget_value instead of XtMalloc and XtFree.
1424 (xlw_create_popup_menu): Likewise.
1425
14261994-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1427
1428 * Makefile.in (ALL_CFLAGS): Specify -Demacs.
1429
1430 * xlwmenu.c (pop_up_menu) [emacs]: Catch and ignore X protocol errors
1431 in XtGrabPointer.
1432
14331994-02-17 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
1434
5c520e0a 1435 * lwlib-Xlw.c (xlw_create_popup_menu): Pass tem to
a08cb76c
DL
1436 XtVaCreateManagedWidget, not instance->info->val.
1437 (xlw_create_menubar): Likewise.
1438
14391994-02-15 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
1440
1441 * lwlib-Xlw.c (xlw_create_popup_menu): Copy instance->info->val
1442 before calling XtVaCreateManagedWidget and then free the copy.
1443 (xlw_create_menubar): Likewise.
1444
14451994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1446
1447 * xlwmenu.c (XlwMenuInitialize): Copy mw->menu.contents.
1448 (XlwMenuDestroy): Free mw->menu.contents.
1449
14501994-02-09 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
1451
1452 * xlwmenu.c (display_menu_item): Call draw_shadow_rectangle to make
1453 visible/invisible the selection of the menubar items.
1454
14551994-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1456
1457 * lwlib.c (strcasecmp): Renamed to my_strcasecmp.
1458 (find_in_table): Changed only caller.
1459
14601994-02-04 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
1461
1462 * xlwmenu.c (display_menu_item): When dealing with the menubar,
5c520e0a 1463 always call XDrawRectangle to clear the selection after popping down
a08cb76c
DL
1464 the pulldown menu.
1465
14661994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1467
1468 * lwlib.c: Include ctype.h.
1469
14701994-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1471
1472 * lwlib.c (strcasecmp): New function.
1473
14741994-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1475
1476 * xlwmenu.c, lwlib.c, lwlib-Xlw.c, lwlib-utils.c:
1477 Convert all function definitions to non-prototype K&R.
1478
1479 * lwlib-Xlw.h: Comment out args in function decls.
1480 * lwlib.h: Comment out args in function decls.
1481 * lwlib-utils.h: Comment out args in function decls.
1482
14831994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1484
1485 * lwlib.c: Include StringDefs.h after lwlib.h.
1486
14871994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
1488
1489 * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name
1490 instead of $*.
1491 (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were
bcd833b2
SM
1492 superfluous and didn't work when configured outside srcdir.
1493 The implicit .c.o rule works fine.
a08cb76c
DL
1494
14951994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1496
1497 * xlwmenu.c (resource_widget_value): Avoid using strdup.
1498
14991994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1500
1501 * Makefile.in: New file.
1502
1503 * lwlib-Xolmb.c: Renamed from lwlib-Xol-mb.c.
1504 * lwlib-Xolmb.h: Renamed from lwlib-Xol-mb.h.
1505 * lwlib-XolmbP.h: Renamed from lwlib-Xol-mbP.h.
1506
1507 * lwlib-int.h: Renamed from lwlib-internal.h.
1508
5c520e0a 1509
a08cb76c 1510
6922b018 1511;; Local Variables:
880820fe 1512;; coding: utf-8
33462dfa 1513;; add-log-time-zone-rule: t
6922b018 1514;; End:
2a34a036 1515
b3d90e46 1516 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
114f9c96 1517 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
7f6d64f8
GM
1518
1519 This file is part of GNU Emacs.
1520
05a3a789 1521 GNU Emacs is free software: you can redistribute it and/or modify
7f6d64f8 1522 it under the terms of the GNU General Public License as published by
05a3a789
GM
1523 the Free Software Foundation, either version 3 of the License, or
1524 (at your option) any later version.
7f6d64f8
GM
1525
1526 GNU Emacs is distributed in the hope that it will be useful,
1527 but WITHOUT ANY WARRANTY; without even the implied warranty of
1528 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1529 GNU General Public License for more details.
1530
1531 You should have received a copy of the GNU General Public License
05a3a789 1532 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
1533
1534;;; arch-tag: 0cd8ab87-d764-40d9-b86d-d00c71887a9e