Mercurial > emacs
annotate lwlib/ChangeLog @ 109099:e16f43875a48
Remove P_ and __P macros.
* lwlib/lwlib-Xaw.h: Remove P_ and __P macros.
* lwlib/lwlib-Xlw.h:
* lwlib/lwlib-Xm.h:
* lwlib/lwlib-int.h:
* lwlib/lwlib-utils.h:
* lwlib/lwlib.h: Likewise.
* src/buffer.h: Remove P_ and __P macros.
* src/category.h:
* src/ccl.h:
* src/character.h:
* src/charset.h:
* src/cm.h:
* src/coding.h:
* src/composite.h:
* src/dispextern.h:
* src/disptab.h:
* src/font.h:
* src/fontset.h:
* src/frame.h:
* src/gtkutil.h:
* src/indent.h:
* src/intervals.h:
* src/keyboard.h:
* src/keymap.h:
* src/lisp.h:
* src/macros.h:
* src/md5.h:
* src/menu.h:
* src/msdos.h:
* src/nsterm.h:
* src/puresize.h:
* src/region-cache.h:
* src/syntax.h:
* src/syssignal.h:
* src/systime.h:
* src/termhooks.h:
* src/w32term.h:
* src/widget.h:
* src/window.h:
* src/xgselect.h:
* src/xsettings.h:
* src/xterm.h: Likewise.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Fri, 02 Jul 2010 11:26:33 +0200 |
parents | 943435f93f92 |
children | 2bc9a0c04c87 |
rev | line source |
---|---|
109099 | 1 2010-07-02 Jan Djärv <jan.h.d@swipnet.se> |
2 | |
3 Remove P_ and __P macros. | |
4 * lwlib-Xaw.h: Remove P_ and __P macros. | |
5 * lwlib-Xlw.h: | |
6 * lwlib-Xm.h: | |
7 * lwlib-int.h: | |
8 * lwlib-utils.h: | |
9 * lwlib.h: Likewise. | |
10 | |
108586
36240284aaab
* lwlib/Makefile.in (mostlyclean): Remove references to non-existent files.
Glenn Morris <rgm@gnu.org>
parents:
108539
diff
changeset
|
11 2010-05-15 Glenn Morris <rgm@gnu.org> |
36240284aaab
* lwlib/Makefile.in (mostlyclean): Remove references to non-existent files.
Glenn Morris <rgm@gnu.org>
parents:
108539
diff
changeset
|
12 |
36240284aaab
* lwlib/Makefile.in (mostlyclean): Remove references to non-existent files.
Glenn Morris <rgm@gnu.org>
parents:
108539
diff
changeset
|
13 * Makefile.in (mostlyclean): Remove references to non-existent files. |
36240284aaab
* lwlib/Makefile.in (mostlyclean): Remove references to non-existent files.
Glenn Morris <rgm@gnu.org>
parents:
108539
diff
changeset
|
14 |
108539
247a650c5ccd
lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
Jan D <jan.h.d@swipnet.se>
parents:
108375
diff
changeset
|
15 2010-05-13 Jan Djärv <jan.h.d@swipnet.se> |
247a650c5ccd
lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
Jan D <jan.h.d@swipnet.se>
parents:
108375
diff
changeset
|
16 |
247a650c5ccd
lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
Jan D <jan.h.d@swipnet.se>
parents:
108375
diff
changeset
|
17 * lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources. |
247a650c5ccd
lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources.
Jan D <jan.h.d@swipnet.se>
parents:
108375
diff
changeset
|
18 |
108373
38a6beebdf4a
xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).
Jan D <jan.h.d@swipnet.se>
parents:
108265
diff
changeset
|
19 2010-05-08 Jan Djärv <jan.h.d@swipnet.se> |
38a6beebdf4a
xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).
Jan D <jan.h.d@swipnet.se>
parents:
108265
diff
changeset
|
20 |
38a6beebdf4a
xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).
Jan D <jan.h.d@swipnet.se>
parents:
108265
diff
changeset
|
21 * xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets |
38a6beebdf4a
xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).
Jan D <jan.h.d@swipnet.se>
parents:
108265
diff
changeset
|
22 (Bug #6127). |
38a6beebdf4a
xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets (Bug #6127).
Jan D <jan.h.d@swipnet.se>
parents:
108265
diff
changeset
|
23 |
108371
bfc8980754ed
Bump version to 23.2.
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
24 2010-05-07 Chong Yidong <cyd@stupidchicken.com> |
bfc8980754ed
Bump version to 23.2.
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
25 |
bfc8980754ed
Bump version to 23.2.
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
26 * Version 23.2 released. |
bfc8980754ed
Bump version to 23.2.
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
27 |
108265
39e86d46390a
Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents:
108231
diff
changeset
|
28 2010-05-06 Glenn Morris <rgm@gnu.org> |
39e86d46390a
Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents:
108231
diff
changeset
|
29 |
39e86d46390a
Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents:
108231
diff
changeset
|
30 * Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables. |
39e86d46390a
Remove some unused Makefile.in variables.
Glenn Morris <rgm@gnu.org>
parents:
108231
diff
changeset
|
31 |
108231
4ac65e89bb6e
Missing lwlib part of earlier C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents:
108129
diff
changeset
|
32 2010-05-04 Glenn Morris <rgm@gnu.org> |
4ac65e89bb6e
Missing lwlib part of earlier C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents:
108129
diff
changeset
|
33 |
4ac65e89bb6e
Missing lwlib part of earlier C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents:
108129
diff
changeset
|
34 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): |
4ac65e89bb6e
Missing lwlib part of earlier C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents:
108129
diff
changeset
|
35 Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ instead of |
4ac65e89bb6e
Missing lwlib part of earlier C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents:
108129
diff
changeset
|
36 @c_switch_system@, @c_switch_machine@. |
4ac65e89bb6e
Missing lwlib part of earlier C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents:
108129
diff
changeset
|
37 |
108129 | 38 2010-04-27 Dan Nicolaescu <dann@ics.uci.edu> |
39 | |
40 * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf. | |
41 | |
108023
150fd3d78f5a
Declarations before code (Bug#5993).
Jan D. <jan.h.d@swipnet.se>
parents:
107888
diff
changeset
|
42 2010-04-21 Jan Djärv <jan.h.d@swipnet.se> |
150fd3d78f5a
Declarations before code (Bug#5993).
Jan D. <jan.h.d@swipnet.se>
parents:
107888
diff
changeset
|
43 |
150fd3d78f5a
Declarations before code (Bug#5993).
Jan D. <jan.h.d@swipnet.se>
parents:
107888
diff
changeset
|
44 * xlwmenu.c (expose_cb): |
150fd3d78f5a
Declarations before code (Bug#5993).
Jan D. <jan.h.d@swipnet.se>
parents:
107888
diff
changeset
|
45 * lwlib-Xaw.c (fill_xft_data): Declarations before code. |
150fd3d78f5a
Declarations before code (Bug#5993).
Jan D. <jan.h.d@swipnet.se>
parents:
107888
diff
changeset
|
46 |
107886
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
47 2010-04-17 Jan Djärv <jan.h.d@swipnet.se> |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
48 |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
49 * xlwmenu.c: Include Shell.h, remove duplicate declaration of |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
50 XlwMenuRedisplay. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
51 (display_menu_item): Replace ws->window with ws->pixmap, remove |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
52 call to XftDrawRect. |
108375 | 53 (display_menu): Remove this and that argument. |
54 Remove just_compute_this_one_p. Fill pixmap at start and copy it to | |
55 window at end. | |
107886
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
56 (expose_cb): New function. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
57 (make_windows_if_needed): Replace XCreateWindow with XtCreatePopup. |
108375 | 58 Add eventhandler for expose to expose_cb. Remove creation of xft_draw. |
107886
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
59 (create_pixmap_for_menu): New function. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
60 (remap_menubar): Pop down menus that aren't the same as in old_stack. |
108375 | 61 Set width, heigh, x, y on widget with XtVaSetValues. |
62 Call create_pixmap_for_menu. | |
107886
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
63 Replace XUnmapWindow with XtPopdown. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
64 Remowe two last parameters to display_menu. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
65 (map_event_to_widget_value, XlwMenuRedisplay, Key, Select) |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
66 (pop_up_menu): Remowe two last parameters to display_menu. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
67 (XlwMenuRealize): Call create_pixmap_for_menu, set w and pixmap. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
68 Remove call to XftDrawCreate. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
69 (XlwMenuDestroy): Free pixmap. Call XtDestroyWidget instead of |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
70 XDestroyWindow. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
71 (handle_motion_event): Only call handle_single_motion_event once. |
107888
32fc68b9d103
Set _NET_WM_WINDOW_TYPE in menus. Looks bad with compiz otherwise.
Jan D. <jan.h.d@swipnet.se>
parents:
107886
diff
changeset
|
72 (set_window_type): New function. |
32fc68b9d103
Set _NET_WM_WINDOW_TYPE in menus. Looks bad with compiz otherwise.
Jan D. <jan.h.d@swipnet.se>
parents:
107886
diff
changeset
|
73 (make_windows_if_needed, XlwMenuRealize): Call set_window_type. |
107886
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
74 |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
75 * xlwmenuP.h (window_state): Add pixmap and w. |
9a798edc503b
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
Jan D <jan.h.d@swipnet.se>
parents:
107873
diff
changeset
|
76 |
107873
b88763a1166b
xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
107830
diff
changeset
|
77 2010-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
b88763a1166b
xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
107830
diff
changeset
|
78 |
b88763a1166b
xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
107830
diff
changeset
|
79 * xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT. |
b88763a1166b
xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT.
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
parents:
107830
diff
changeset
|
80 |
107830
3879f5eab4e9
Use autoconf, not cpp for some variables.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107827
diff
changeset
|
81 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu> |
3879f5eab4e9
Use autoconf, not cpp for some variables.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107827
diff
changeset
|
82 |
3879f5eab4e9
Use autoconf, not cpp for some variables.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107827
diff
changeset
|
83 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) |
3879f5eab4e9
Use autoconf, not cpp for some variables.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107827
diff
changeset
|
84 (C_SWITCH_X_SITE): Define using autoconf. |
3879f5eab4e9
Use autoconf, not cpp for some variables.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107827
diff
changeset
|
85 |
107827
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
86 2010-04-11 Jan Djärv <jan.h.d@swipnet.se> |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
87 |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
88 * lwlib-Xaw.c (widget_xft_data): New for Xft data. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
89 (fill_xft_data, openFont, get_text_width_and_height) |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
90 (draw_text, set_text, find_xft_data, command_press) |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
91 (command_reset): New functions. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
92 (xaw_update_one_widget): Call set_text for dialog and buttons |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
93 if HAVE_XFT. Also set internalHeight for buttons. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
94 (xaw_destroy_instance): Free all Xft related data. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
95 (button_actions, buttonTrans): New structures. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
96 (make_dialog): Call XtAppAddActions for button_actions. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
97 Find xft font to use and call fill_xft_data for widgets. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
98 (xaw_create_dialog): Pass instance parameter to make_dialog. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
99 |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
100 * lwlib-int.h (_widget_instance): Add Xft data if HAVE_XFT. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
101 Override translations for buttons. If depth is 16 or more, tell |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
102 Xaw3d to not be nice to colormap. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
103 Remove separator widget, use XtNhorizDistance on first right button |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
104 instead. |
aa85632b7860
Use XFT in Lucid dialogs if available.
Jan D. <jan.h.d@swipnet.se>
parents:
107804
diff
changeset
|
105 |
107804
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
106 2010-04-08 Jan Djärv <jan.h.d@swipnet.se> |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
107 |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
108 * xlwmenu.c (xlwmenu_default_font): Make static. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
109 (xlwMenuResources): Add XtNfaceName and XtNdefaultFace. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
110 (string_width): Use XftTextExtentsUtf8 if HAVE_XFT. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
111 (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Add versions for |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
112 HAVE_XFT. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
113 (size_menu): Set max_rest_width in window_state structure. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
114 (display_menu_item): If HAVE_XFT and xft_draw is set, use |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
115 XftDrawRect and XftDrawStringUtf8 to draw text. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
116 (make_windows_if_needed): Set max_rest_width and xft_draw |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
117 in windows[i]. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
118 (openXftFont): New. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
119 (XlwMenuInitialize): Call openXftFont if HAVE_XFT. If mw->menu.font |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
120 is not set, load font fixed and save it in xlwmenu_default_font. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
121 (XlwMenuInitialize): Set max_rest_width and xft_draw in windows[0]. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
122 (XlwMenuClassInitialize): Initialize xlwmenu_default_font. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
123 (XlwMenuRealize): Set xft_fg, xft_bg, xft_disabled_fg and |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
124 windows[0].xft_draw if xft_font is set. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
125 (XlwMenuDestroy): Destroy all xft_draw and close xft_font. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
126 (facename_changed): New. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
127 (XlwMenuSetValues): Call facename_changed. If face name did change, |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
128 close old fonts and destroy xft_draw:s. Then create new ones. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
129 |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
130 * xlwmenu.h (XtNfaceName, XtCFaceName, XtNdefaultFace, |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
131 XtCDefaultFace): New. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
132 |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
133 * xlwmenuP.h (_window_state): Add max_rest_width and xft_draw. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
134 (_XlwMenu_part): Add faceName,xft_fg, xft_bg, xft_disabled_fg and |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
135 xft_font. |
24c4451bcaf7
Lucid menus can now use Xft for fonts.
Jan D. <jan.h.d@swipnet.se>
parents:
107367
diff
changeset
|
136 |
107367
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
137 2010-03-10 Chong Yidong <cyd@stupidchicken.com> |
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
138 |
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
139 * Branch for 23.2. |
b4d27afff1bf
Bump version to 24.0.50.
Chong Yidong <cyd@stupidchicken.com>
parents:
106815
diff
changeset
|
140 |
105669
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
141 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu> |
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
142 |
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
143 * xlwmenu.c: |
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
144 * lwlib.c: |
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
145 * lwlib-utils.c: |
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
146 * lwlib-Xm.c: |
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
147 * lwlib-Xlw.c: |
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
148 * lwlib-Xaw.c: Include setjmp.h. |
68dd71358159
* alloc.c: Do not define struct catchtag.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
103507
diff
changeset
|
149 |
103507
973e0a71638b
Add "Branch for 23.1" ChangeLog entry.
Chong Yidong <cyd@stupidchicken.com>
parents:
100957
diff
changeset
|
150 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
973e0a71638b
Add "Branch for 23.1" ChangeLog entry.
Chong Yidong <cyd@stupidchicken.com>
parents:
100957
diff
changeset
|
151 |
973e0a71638b
Add "Branch for 23.1" ChangeLog entry.
Chong Yidong <cyd@stupidchicken.com>
parents:
100957
diff
changeset
|
152 * Branch for 23.1. |
973e0a71638b
Add "Branch for 23.1" ChangeLog entry.
Chong Yidong <cyd@stupidchicken.com>
parents:
100957
diff
changeset
|
153 |
96923
d89afa2b4c2f
* config.in: Regenerate.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96786
diff
changeset
|
154 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu> |
d89afa2b4c2f
* config.in: Regenerate.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96786
diff
changeset
|
155 |
d89afa2b4c2f
* config.in: Regenerate.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96786
diff
changeset
|
156 * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE. |
d89afa2b4c2f
* config.in: Regenerate.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96786
diff
changeset
|
157 |
96303 | 158 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu> |
159 | |
160 * lwlib.c: Remove references to obsolete variables. | |
161 | |
95479
9588c3703f38
remove useless if-before-free tests
Jim Meyering <jim@meyering.net>
parents:
94792
diff
changeset
|
162 2008-06-02 Jim Meyering <meyering@redhat.com> |
9588c3703f38
remove useless if-before-free tests
Jim Meyering <jim@meyering.net>
parents:
94792
diff
changeset
|
163 |
96786 | 164 Remove useless if-before-free tests. |
95481
4390d64d3328
Make "xfree (NULL)" a no-op; remove useless if-before-xfree.
Jim Meyering <jim@meyering.net>
parents:
95479
diff
changeset
|
165 * lwlib-Xm.c (xm_update_one_value): Likewise. |
4390d64d3328
Make "xfree (NULL)" a no-op; remove useless if-before-xfree.
Jim Meyering <jim@meyering.net>
parents:
95479
diff
changeset
|
166 * lwlib.c (safe_free_str, free_widget_value_tree): Likewise. |
95479
9588c3703f38
remove useless if-before-free tests
Jim Meyering <jim@meyering.net>
parents:
94792
diff
changeset
|
167 |
94175
dfdc13740582
* configure.in: Define USE_LUCID/USE_MOTIF in config.h.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
93301
diff
changeset
|
168 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca> |
dfdc13740582
* configure.in: Define USE_LUCID/USE_MOTIF in config.h.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
93301
diff
changeset
|
169 |
dfdc13740582
* configure.in: Define USE_LUCID/USE_MOTIF in config.h.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
93301
diff
changeset
|
170 * Makefile.in (TOOLKIT_DEFINES): Remove. |
dfdc13740582
* configure.in: Define USE_LUCID/USE_MOTIF in config.h.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
93301
diff
changeset
|
171 |
93301 | 172 2007-08-29 Károly Lőrentey <lorentey@elte.hu> |
83716 | 173 |
174 * xlwmenu.c (XlwMenuRealize): Ignore X errors while setting up | |
175 cursor shape. | |
176 | |
78285 | 177 2007-07-25 Glenn Morris <rgm@gnu.org> |
178 | |
179 * Relicense all FSF files to GPLv3 or later. | |
180 | |
181 * COPYING: Switch to GPLv3. | |
182 | |
81373
6f4d6c8ae117
* lwlib-Xaw.c, lwlib.c: Link to xaw3d if available.
Chong Yidong <cyd@stupidchicken.com>
parents:
77858
diff
changeset
|
183 2007-06-13 Chong Yidong <cyd@stupidchicken.com> |
6f4d6c8ae117
* lwlib-Xaw.c, lwlib.c: Link to xaw3d if available.
Chong Yidong <cyd@stupidchicken.com>
parents:
77858
diff
changeset
|
184 |
6f4d6c8ae117
* lwlib-Xaw.c, lwlib.c: Link to xaw3d if available.
Chong Yidong <cyd@stupidchicken.com>
parents:
77858
diff
changeset
|
185 * lwlib-Xaw.c, lwlib.c: Link to xaw3d if available. |
6f4d6c8ae117
* lwlib-Xaw.c, lwlib.c: Link to xaw3d if available.
Chong Yidong <cyd@stupidchicken.com>
parents:
77858
diff
changeset
|
186 |
77858
815150a147ce
Version 22.1 released.
Chong Yidong <cyd@stupidchicken.com>
parents:
76222
diff
changeset
|
187 2007-06-02 Chong Yidong <cyd@stupidchicken.com> |
815150a147ce
Version 22.1 released.
Chong Yidong <cyd@stupidchicken.com>
parents:
76222
diff
changeset
|
188 |
815150a147ce
Version 22.1 released.
Chong Yidong <cyd@stupidchicken.com>
parents:
76222
diff
changeset
|
189 * Version 22.1 released. |
815150a147ce
Version 22.1 released.
Chong Yidong <cyd@stupidchicken.com>
parents:
76222
diff
changeset
|
190 |
76222 | 191 2007-02-28 Glenn Morris <rgm@gnu.org> |
192 | |
193 * Makefile.in (distclean): Delete Makefile. | |
194 (maintainer-clean): Delete TAGS. | |
195 | |
93301 | 196 2007-01-01 Jan Djärv <jan.h.d@swipnet.se> |
75020 | 197 |
198 * xlwmenu.c (xlwMenuResources): Add XtNleaveCallback, XtNenterCallback. | |
199 (display_menu, map_event_to_widget_value): Generate enter and | |
200 leave callbacks. | |
201 (pop_up_menu): Initialize mw->menu.inside_entry. | |
202 | |
203 * xlwmenu.h (XtNleaveCallback, XtNenterCallback): New strings. | |
204 | |
205 * xlwmenuP.h (_XlwMenu_part): Add enter/leave callbacks and | |
206 inside_entry. | |
207 | |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
208 * lwlib-Xlw.c (enter_hook, leave_hook): New functions. |
75020 | 209 (xlw_create_menubar, xlw_create_popup_menu): Connect XtNenter/leave |
210 to enter/leave_hook. | |
211 | |
73558
b6804026cc8e
* Makefile.in (lwlib-utils.o): Use CPPFLAGS.
Chong Yidong <cyd@stupidchicken.com>
parents:
72904
diff
changeset
|
212 2006-10-30 Chong Yidong <cyd@stupidchicken.com> |
b6804026cc8e
* Makefile.in (lwlib-utils.o): Use CPPFLAGS.
Chong Yidong <cyd@stupidchicken.com>
parents:
72904
diff
changeset
|
213 |
b6804026cc8e
* Makefile.in (lwlib-utils.o): Use CPPFLAGS.
Chong Yidong <cyd@stupidchicken.com>
parents:
72904
diff
changeset
|
214 * Makefile.in (lwlib-utils.o): Use CPPFLAGS. |
b6804026cc8e
* Makefile.in (lwlib-utils.o): Use CPPFLAGS.
Chong Yidong <cyd@stupidchicken.com>
parents:
72904
diff
changeset
|
215 |
72904
425ede302504
*** empty log message ***
Jay Belanger <jay.p.belanger@gmail.com>
parents:
70850
diff
changeset
|
216 2006-09-15 Jay Belanger <belanger@truman.edu> |
425ede302504
*** empty log message ***
Jay Belanger <jay.p.belanger@gmail.com>
parents:
70850
diff
changeset
|
217 |
425ede302504
*** empty log message ***
Jay Belanger <jay.p.belanger@gmail.com>
parents:
70850
diff
changeset
|
218 * COPYING: Replace "Library Public License" by "Lesser Public |
425ede302504
*** empty log message ***
Jay Belanger <jay.p.belanger@gmail.com>
parents:
70850
diff
changeset
|
219 License" throughout. |
425ede302504
*** empty log message ***
Jay Belanger <jay.p.belanger@gmail.com>
parents:
70850
diff
changeset
|
220 |
93301 | 221 2006-05-23 Jan Djärv <jan.h.d@swipnet.se> |
70850
b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
Jan Djärv <jan.h.d@swipnet.se>
parents:
68640
diff
changeset
|
222 |
b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
Jan Djärv <jan.h.d@swipnet.se>
parents:
68640
diff
changeset
|
223 * xlwmenu.c: Include xterm.h if emacs instead of declaring functions |
b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
Jan Djärv <jan.h.d@swipnet.se>
parents:
68640
diff
changeset
|
224 used. |
b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
Jan Djärv <jan.h.d@swipnet.se>
parents:
68640
diff
changeset
|
225 (string_width): Declare as static. |
73856
594a719b7a7f
Add "add-log-time-zone-rule: t" to Local Variables section.
Juanma Barranquero <lekktu@gmail.com>
parents:
73558
diff
changeset
|
226 (Start, pop_up_menu): Set is_hint to 0 before calling |
70850
b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
Jan Djärv <jan.h.d@swipnet.se>
parents:
68640
diff
changeset
|
227 handle_motion_event. |
b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
Jan Djärv <jan.h.d@swipnet.se>
parents:
68640
diff
changeset
|
228 (pop_up_menu): Return value and parameters for x_catch_errors and |
b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
Jan Djärv <jan.h.d@swipnet.se>
parents:
68640
diff
changeset
|
229 x_uncatch_errors changed. |
b90abedf3b79
* xlwmenu.c: Include xterm.h if emacs instead of declaring functions
Jan Djärv <jan.h.d@swipnet.se>
parents:
68640
diff
changeset
|
230 |
65713
ad24f42046b1
* xlwmenu.c (find_next_selectable):
Dan Nicolaescu <dann@ics.uci.edu>
parents:
65684
diff
changeset
|
231 2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> |
ad24f42046b1
* xlwmenu.c (find_next_selectable):
Dan Nicolaescu <dann@ics.uci.edu>
parents:
65684
diff
changeset
|
232 |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
233 * xlwmenu.c (find_next_selectable, find_prev_selectable): |
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
234 Add missing parameter declarations. |
65713
ad24f42046b1
* xlwmenu.c (find_next_selectable):
Dan Nicolaescu <dann@ics.uci.edu>
parents:
65684
diff
changeset
|
235 |
65684
ec3a1c817699
Fix the return type for x_clear_errors and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
64488
diff
changeset
|
236 2005-09-24 Dan Nicolaescu <dann@ics.uci.edu> |
ec3a1c817699
Fix the return type for x_clear_errors and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
64488
diff
changeset
|
237 |
ec3a1c817699
Fix the return type for x_clear_errors and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
64488
diff
changeset
|
238 * xlwmenu.c: Fix the return type for x_clear_errors and |
73856
594a719b7a7f
Add "add-log-time-zone-rule: t" to Local Variables section.
Juanma Barranquero <lekktu@gmail.com>
parents:
73558
diff
changeset
|
239 x_uncatch_errors. |
65684
ec3a1c817699
Fix the return type for x_clear_errors and
Dan Nicolaescu <dann@ics.uci.edu>
parents:
64488
diff
changeset
|
240 |
93301 | 241 2005-07-19 Jan Djärv <jan.h.d@swipnet.se> |
64488
e71cc2adddad
* lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for
Jan Djärv <jan.h.d@swipnet.se>
parents:
64099
diff
changeset
|
242 |
73856
594a719b7a7f
Add "add-log-time-zone-rule: t" to Local Variables section.
Juanma Barranquero <lekktu@gmail.com>
parents:
73558
diff
changeset
|
243 * lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for |
64488
e71cc2adddad
* lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for
Jan Djärv <jan.h.d@swipnet.se>
parents:
64099
diff
changeset
|
244 labels in menu bar. |
e71cc2adddad
* lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for
Jan Djärv <jan.h.d@swipnet.se>
parents:
64099
diff
changeset
|
245 |
64099 | 246 2005-07-04 Lute Kamstra <lute@gnu.org> |
247 | |
248 Update FSF's address in GPL notices. | |
249 | |
93301 | 250 2005-04-01 Jan Djärv <jan.h.d@swipnet.se> |
61211
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
251 |
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
252 Reenable support for I18N to Lucid menus. |
64099 | 253 |
61211
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
254 * xlwmenuP.h (_XlwMenu_part): Add fontSet resource. |
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
255 |
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
256 * xlwmenu.c (string_width): |
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
257 (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Ditto. |
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
258 (display_menu_item, make_drawing_gcs, XlwMenuInitialize) |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
259 (XlwMenuSetValues): Use font if fontSet is NULL, use only |
61211
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
260 font for !HAVE_X_I18N. |
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
261 (xlwMenuResources): Add fontSet resource. |
3691a20ee7a4
Reenable support for I18N to Lucid menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
60828
diff
changeset
|
262 |
93301 | 263 2005-03-22 Jan Djärv <jan.h.d@swipnet.se> |
60828
ff22cb93ce7a
* xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
Jan Djärv <jan.h.d@swipnet.se>
parents:
60698
diff
changeset
|
264 |
ff22cb93ce7a
* xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
Jan Djärv <jan.h.d@swipnet.se>
parents:
60698
diff
changeset
|
265 * xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8 |
ff22cb93ce7a
* xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
Jan Djärv <jan.h.d@swipnet.se>
parents:
60698
diff
changeset
|
266 on XFree86 is investigated. |
ff22cb93ce7a
* xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
Jan Djärv <jan.h.d@swipnet.se>
parents:
60698
diff
changeset
|
267 |
ff22cb93ce7a
* xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
Jan Djärv <jan.h.d@swipnet.se>
parents:
60698
diff
changeset
|
268 * xlwmenu.c: Ditto. |
ff22cb93ce7a
* xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8
Jan Djärv <jan.h.d@swipnet.se>
parents:
60698
diff
changeset
|
269 |
60667
bb5e00e5ccd5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60585
diff
changeset
|
270 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
bb5e00e5ccd5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60585
diff
changeset
|
271 |
60698
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
272 Add support for I18N to Lucid menus. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
273 |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
274 * xlwmenuP.h (struct _XlwMenu_part) [HAVE_X_I18N]: Change `font' to be |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
275 a fontset. Add a `font_extents' element. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
276 |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
277 * xlwmenu.c (xlwMenuResources) [HAVE_X_I18N]: Use a fontset for the |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
278 `font' resource. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
279 (string_width) [HAVE_X_I18N]: Use XmbTextExtents; |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
280 (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): New macros. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
281 (arrow_width, toggle_button_width, size_menu_item, draw_arrow) |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
282 (draw_toggle, draw_radio, display_menu_item): Use them. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
283 (display_menu_item) [HAVE_X_I18N]: Use XmbDrawString. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
284 (make_drawing_gcs) [HAVE_X_I18N]: Don't mess with fonts. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
285 (XlwMenuInitialize) [HAVE_X_I18N]: Initialize font_extents. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
286 (XlwMenuSetValues) [HAVE_X_I18N]: Refresh font_extents if font changes. |
3e557e11645e
Add support for I18N to Lucid menus.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60670
diff
changeset
|
287 |
60670
68d57432d36d
(xm_update_label, xm_update_list): Use the recommended
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60667
diff
changeset
|
288 * lwlib-Xm.c (xm_update_label, xm_update_list): Use the recommended |
68d57432d36d
(xm_update_label, xm_update_list): Use the recommended
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60667
diff
changeset
|
289 XmStringCreateLocalized function. Add missing copyright. |
68d57432d36d
(xm_update_label, xm_update_list): Use the recommended
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60667
diff
changeset
|
290 |
60667
bb5e00e5ccd5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60585
diff
changeset
|
291 * lwlib-Xm.h: Add missing copyright and license notice. |
bb5e00e5ccd5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
60585
diff
changeset
|
292 |
60585
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
293 2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca> |
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
294 |
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
295 * xlwmenuP.h: |
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
296 * xlwmenu.h: Add missing copyright and license notice. |
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
297 |
93301 | 298 2004-12-27 Jan Djärv <jan.h.d@swipnet.se> |
59100
768cf68dcd0a
* xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
Jan Djärv <jan.h.d@swipnet.se>
parents:
59085
diff
changeset
|
299 |
768cf68dcd0a
* xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
Jan Djärv <jan.h.d@swipnet.se>
parents:
59085
diff
changeset
|
300 * xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an |
768cf68dcd0a
* xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
Jan Djärv <jan.h.d@swipnet.se>
parents:
59085
diff
changeset
|
301 action procedure for compatibility with Lesstif/Motif. |
768cf68dcd0a
* xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
Jan Djärv <jan.h.d@swipnet.se>
parents:
59085
diff
changeset
|
302 |
768cf68dcd0a
* xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
Jan Djärv <jan.h.d@swipnet.se>
parents:
59085
diff
changeset
|
303 * Makefile.in (mostlyclean): Don't remove *~ on clean. |
768cf68dcd0a
* xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an
Jan Djärv <jan.h.d@swipnet.se>
parents:
59085
diff
changeset
|
304 |
93301 | 305 2004-12-26 Jan Djärv <jan.h.d@swipnet.se> |
59085
4ee3b3653b2e
* lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only
Jan Djärv <jan.h.d@swipnet.se>
parents:
57842
diff
changeset
|
306 |
4ee3b3653b2e
* lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only
Jan Djärv <jan.h.d@swipnet.se>
parents:
57842
diff
changeset
|
307 * lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only |
4ee3b3653b2e
* lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only
Jan Djärv <jan.h.d@swipnet.se>
parents:
57842
diff
changeset
|
308 pops down on Escape, not any keypress. |
4ee3b3653b2e
* lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only
Jan Djärv <jan.h.d@swipnet.se>
parents:
57842
diff
changeset
|
309 |
93301 | 310 2004-11-01 Jan Djärv <jan.h.d@swipnet.se> |
57842
2c65a9fc7dec
* xlwmenu.c (find_first_selectable, find_next_selectable)
Jan Djärv <jan.h.d@swipnet.se>
parents:
56845
diff
changeset
|
311 |
2c65a9fc7dec
* xlwmenu.c (find_first_selectable, find_next_selectable)
Jan Djärv <jan.h.d@swipnet.se>
parents:
56845
diff
changeset
|
312 * xlwmenu.c (find_first_selectable, find_next_selectable) |
2c65a9fc7dec
* xlwmenu.c (find_first_selectable, find_next_selectable)
Jan Djärv <jan.h.d@swipnet.se>
parents:
56845
diff
changeset
|
313 (find_prev_selectable): Rename parameter skip_no_call_data to |
2c65a9fc7dec
* xlwmenu.c (find_first_selectable, find_next_selectable)
Jan Djärv <jan.h.d@swipnet.se>
parents:
56845
diff
changeset
|
314 skip_titles. Recognize titles as having no call_data and no contents. |
2c65a9fc7dec
* xlwmenu.c (find_first_selectable, find_next_selectable)
Jan Djärv <jan.h.d@swipnet.se>
parents:
56845
diff
changeset
|
315 (Down, Up): Comment update. |
2c65a9fc7dec
* xlwmenu.c (find_first_selectable, find_next_selectable)
Jan Djärv <jan.h.d@swipnet.se>
parents:
56845
diff
changeset
|
316 |
93301 | 317 2004-08-30 Jan Djärv <jan.h.d@swipnet.se> |
56845
8a28788cef84
* lwlib.h (_widget_value): Added lname and lkey.
Jan Djärv <jan.h.d@swipnet.se>
parents:
53564
diff
changeset
|
318 |
60585
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
319 * lwlib.h (_widget_value): Add lname and lkey. |
56845
8a28788cef84
* lwlib.h (_widget_value): Added lname and lkey.
Jan Djärv <jan.h.d@swipnet.se>
parents:
53564
diff
changeset
|
320 |
93301 | 321 2004-01-12 Jan Djärv <jan.h.d@swipnet.se> |
53564
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
322 |
60585
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
323 * xlwmenuP.h (_XlwMenu_part): Add top_depth. |
53564
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
324 |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
325 * xlwmenu.h: Removed declaration of pop_up_menu |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
326 |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
327 * xlwmenu.c (Start): Get correct time if time in event is CurrentTime. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
328 (find_first_selectable, find_next_selectable) |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
329 (find_prev_selectable): Add parameter skip_no_call_data to skip |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
330 over items with no call data (popup menu titles). |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
331 (Down, Up): Compare old_depth to top_depth instead of 2. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
332 Pass True to find_*_selectable:s new parameter if this is a popup menu. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
333 (Left, Right): Compare old_depth to top_depth instead of 2. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
334 Pass 0 to find_*_selectable:s new parameter. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
335 (pop_up_menu): Set top_depth to 1 for pop up menus and 2 for |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
336 menu bar menus, to enable keyboard traversal of popups. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
337 |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
338 * lwlib-Xm.c (dialog_key_cb): New function. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
339 (make_dialog): Add event handlers to dialog_key_cb for key press |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
340 so we can pop down on ESC. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
341 |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
342 * lwlib-Xlw.c (xlw_popup_menu): Replace call to pop_up_menu with |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
343 XtCallActionProc ("start"). Use a full XEvent since "start" copies it. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
344 |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
345 * lwlib-Xaw.c (make_dialog): Add override so dialog pops down on ESC. |
53564
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
346 (wm_delete_window): If widget isn't a shell, use the parent. |
609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
Jan Djärv <jan.h.d@swipnet.se>
parents:
52771
diff
changeset
|
347 |
51144 | 348 2003-05-22 Dave Love <fx@gnu.org> |
349 | |
350 * xlwmenu.c: Include lisp.h, not ../src/lisp.h. | |
351 (make_drawing_gcs): Remove unused `xswa', `mask'. | |
352 | |
353 * lwlib-Xlw.c: Include lisp.h, not ../src/lisp.h. | |
354 (lw_lucid_widget_p): Remove unused `mw'. | |
60585
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
355 (xlw_update_one_widget, xlw_pop_instance) [PROTOTYPES]: |
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
356 Provide ISO C arglists. |
51144 | 357 |
52771 | 358 2003-04-30 Lute Kamstra <lute@gnu.org> |
50741
5143c5cb56cc
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
49600
diff
changeset
|
359 |
5143c5cb56cc
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
49600
diff
changeset
|
360 * Makefile.in: Make things function properly in case both LessTif |
5143c5cb56cc
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
49600
diff
changeset
|
361 and Open Motif are installed. |
5143c5cb56cc
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
49600
diff
changeset
|
362 |
93301 | 363 2003-01-26 Jan Djärv <jan.h.d@swipnet.se> |
49460
9f4069f735c6
lwlib-Xm.c: Fixed memory leak for menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
48936
diff
changeset
|
364 |
9f4069f735c6
lwlib-Xm.c: Fixed memory leak for menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
48936
diff
changeset
|
365 * lwlib-Xm.c (update_one_menu_entry): Deallocate widget_list. |
9f4069f735c6
lwlib-Xm.c: Fixed memory leak for menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
48936
diff
changeset
|
366 (destroy_all_children): Call it self to destroy sub menu children. |
9f4069f735c6
lwlib-Xm.c: Fixed memory leak for menus.
Jan Djärv <jan.h.d@swipnet.se>
parents:
48936
diff
changeset
|
367 |
48936
34c0bb0d7b38
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
48489
diff
changeset
|
368 2002-12-22 Richard M. Stallman <rms@gnu.org> |
34c0bb0d7b38
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
48489
diff
changeset
|
369 |
34c0bb0d7b38
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
48489
diff
changeset
|
370 * xlwmenu.c (pop_new_stack_if_no_contents): Do nothing if |
34c0bb0d7b38
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
48489
diff
changeset
|
371 new_depth is 1. |
34c0bb0d7b38
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
48489
diff
changeset
|
372 (remap_menubar): Don't look in new_stack[0]. |
34c0bb0d7b38
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
48489
diff
changeset
|
373 (Left): At level 1, do the same thing Right does. |
34c0bb0d7b38
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
48489
diff
changeset
|
374 |
48489 | 375 2002-11-21 Dave Love <fx@gnu.org> |
376 | |
377 * lwlib-Xaw.c [PROTOTYPES]: Provide ISO C arglists for functions | |
378 with Boolean args. | |
379 | |
48481 | 380 2002-11-20 Dave Love <fx@gnu.org> |
381 | |
382 * lwlib.c: Remove obsolete USE_OLIT code. | |
60585
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
383 [PROTOTYPES]: Provide ISO C arglists for functions with Boolean args. |
48481 | 384 (lwlib_memset): Declare length arg as size_t. |
385 (malloc_widget_value): Cast arg of lwlib_memset. | |
386 | |
387 * xlwmenu.c (separator_height): Prototype. | |
388 | |
45153 | 389 2002-05-07 Miles Bader <miles@gnu.org> |
390 | |
391 * xlwmenu.c (make_drawing_gcs): The scaling factor passed to | |
392 `x_alloc_lighter_color_for_widget' is a float, not an int, and | |
393 it's a multiplicative factor, so the name `delta' is inaccurate. | |
394 Always base disabled foreground on the normal foreground. | |
395 Don't use the temporary variable `temp'. | |
396 | |
93301 | 397 2002-05-06 Pavel Janík <Pavel@Janik.cz> |
45148 | 398 |
399 * xlwmenu.c (xlwMenuResources): New resource. | |
400 (find_next_selectable): Return current item when the menu is not | |
98317 | 401 popped up. |
45148 | 402 Rename `inactive_gc' to `disabled_gc'. |
403 Use lighter/darker color for disabled menu items instead of using | |
404 stipple. Use stipple only when better color can not be | |
405 determined automatically. | |
406 | |
407 * xlwmenu.h (XtNdisabledForeground, XtCDisabledForeground): | |
408 New resource names. | |
409 | |
410 * xlwmenuP.h (_XlwMenu_part): Add new member `disabled_foreground'. | |
411 Rename `inactive_gc' to `disabled_gc'. | |
412 | |
93301 | 413 2002-04-29 Pavel Janík <Pavel@Janik.cz> |
44968 | 414 |
415 * xlwmenu.c <XtNmargin, XtNverticalSpacing, XmNshadowThickness>: | |
416 Change default values. | |
417 | |
93301 | 418 2002-04-28 Jan Djärv <jan.h.d@swipnet.se> |
44932 | 419 |
420 * xlwmenu.c: Do not grab keyboard if installation-directory is | |
421 non-nil (not installed Emacs). To simplify debugging. | |
422 | |
93301 | 423 2002-04-28 Pavel Janík <Pavel@Janik.cz> |
44918 | 424 |
44920 | 425 * Makefile.in: Remove OpenLook file dependencies. |
426 (xrdb-cpp.o): Remove target. | |
427 Remove unused defines. | |
428 | |
44923 | 429 * xrdb.c, xrdb-cpp.c, Imakefile, dispatch.c, dispatch.h: |
430 Remove unused file. | |
44920 | 431 |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
432 * lwlib.c (instantiate_widget_instance): Remove duplicated prototype. |
44918 | 433 |
93301 | 434 2002-04-25 Pavel Janík <Pavel@Janik.cz> |
44836 | 435 |
436 * lwlib-Xol.c, lwlib-Xol.h, lwlib-Xolmb.c, lwlib-Xolmb.h | |
437 * lwlib-XolmbP.h: Remove file. | |
438 | |
93301 | 439 2002-04-22 Jan Djärv <jan.h.d@swipnet.se> |
44753 | 440 |
441 * lwlib-Xm.c: Removed compiler warning. | |
442 | |
443 * xlwmenu.c: Add calls to GrabKeyboard to remove strange | |
444 interactions with window managers that steal keypresses. | |
445 Call ungrab_all instead of XtUngrabPointer. | |
446 (pop_up_menu): Add call to XtGrabKeyboard. | |
447 (ungrab_all): New function. | |
448 | |
93301 | 449 2002-04-20 Pavel Janík <Pavel@Janik.cz> |
44714 | 450 |
451 * xlwmenu.c (find_next_selectable): New function. | |
452 (Down, Up, Right): Use it. | |
453 (find_next_selectable): Prevent endless loops when only one item | |
454 is enabled in the menu. | |
455 | |
93301 | 456 2002-04-19 Pavel Janík <Pavel@Janik.cz> |
44709 | 457 |
458 These changes allow moving in menu via keyboard. | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
459 |
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
460 * xlwmenu.c (xlwMenuTranslations, xlwMenuActionsList): |
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
461 Add translations for cursor keys and RET. |
44709 | 462 (find_next_selectable, find_prev_selectable): New functions used |
463 for finding menu-items. | |
464 (Down, Up, Left, Right): New functions. | |
465 | |
44687 | 466 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> |
467 | |
44688 | 468 * Makefile.in (TAGS): Don't use -t, it's the default behavior for |
44687 | 469 etags, so it barfs if invoked with -t. |
470 | |
43990
d6b0a23deaeb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43949
diff
changeset
|
471 2002-03-17 Richard M. Stallman <rms@gnu.org> |
d6b0a23deaeb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43949
diff
changeset
|
472 |
44688 | 473 * lwlib.c (P_): Definitions deleted. |
43990
d6b0a23deaeb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
43949
diff
changeset
|
474 |
43949 | 475 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il> |
476 | |
477 * lwlib.c (P_): Don't define if already defined. | |
478 | |
93301 | 479 2002-01-27 Pavel Janík <Pavel@Janik.cz> |
43003 | 480 |
481 * lwlib-Xaw.c (xaw_update_scrollbar, xaw_scrollbar_scroll) | |
482 (xaw_scrollbar_jump): Put whole functions in #if 0. | |
483 | |
93301 | 484 2002-01-09 Pavel Janík <Pavel@Janik.cz> |
42631 | 485 |
486 * lwlib-Xaw.c (xaw_create_dialog): Initialize icon_name to | |
487 suppress compiler warnings. | |
488 | |
93301 | 489 2001-12-18 Pavel Janík <Pavel@Janik.cz> |
42124 | 490 |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
491 * lwlib.c (separator_names): Add missing braces around initializers. |
42124 | 492 |
93301 | 493 2001-12-08 Pavel Janík <Pavel@Janik.cz> |
41896 | 494 |
495 * COPYING: New file. | |
496 | |
41770
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
497 2001-12-01 Richard M. Stallman <rms@gnu.org> |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
498 |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
499 * lwlib.h (_widget_value): `help' has type Lisp_Object. |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
500 |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
501 * xlwmenu.c, lwlib-Xaw.c, lwlib-Xlw.c: Include ../src/lisp.h. |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
502 * lwlib-Xm.c, lwlib-Xol.c, lwlib/lwlib-Xolmb.c: Include ../src/lisp.h. |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
503 * lwlib/lwlib-utils.c: Include ../src/lisp.h. |
44688 | 504 |
41770
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
505 * lwlib.c: Include ../src/lisp.h. Don't declare xmalloc. |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
506 (free_widget_value_tree): Don't free `help' field. |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
507 (copy_widget_value_tree): Copy `help' simply, without safe_strdup. |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
508 (merge_widget_value): Compare and copy `help' simply. |
4ffb8694cd41
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
41656
diff
changeset
|
509 |
41656
ec668c07bca2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40152
diff
changeset
|
510 2001-11-28 Richard M. Stallman <rms@gnu.org> |
ec668c07bca2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40152
diff
changeset
|
511 |
ec668c07bca2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40152
diff
changeset
|
512 * Makefile.in (TAGS): Find the source files in $(srcdir). |
ec668c07bca2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
40152
diff
changeset
|
513 |
40111 | 514 2001-10-20 Gerd Moellmann <gerd@gnu.org> |
515 | |
40152 | 516 * (Version 21.1 released.) |
40111 | 517 |
39724 | 518 2001-10-09 Gerd Moellmann <gerd@gnu.org> |
519 | |
520 * lwlib-Xaw.c (xaw_create_scrollbar) [!0]: Return NULL. | |
521 From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>. | |
522 | |
39742 | 523 2001-10-05 Gerd Moellmann <gerd@gnu.org> |
524 | |
525 * Branch for 21.1. | |
44688 | 526 |
37529 | 527 2001-04-30 Gerd Moellmann <gerd@gnu.org> |
528 | |
529 * xlwmenu.c (xlwmenu_window_p): New function. | |
530 | |
36957 | 531 2001-03-23 Gerd Moellmann <gerd@gnu.org> |
532 | |
533 * lwlib-Xlw.c (x_print_complete_resource_name) [0]: New function. | |
534 | |
36943 | 535 2001-03-22 Gerd Moellmann <gerd@gnu.org> |
536 | |
537 * lwlib-Xm.c (x_print_complete_resource_name) [0]: New function. | |
538 | |
36767 | 539 2001-03-13 Gerd Moellmann <gerd@gnu.org> |
540 | |
36783 | 541 * lwlib-Xm.c (make_menu_in_widget): Remove code forcing LessTif to |
542 recompute centered text; it works fine without with current LessTif. | |
543 | |
36781 | 544 * lwlib-Xm.c (make_menu_in_widget): Add an XmNpopdownCallback |
545 instead of an XmNunmapCallback. | |
60585
872a08bae8d9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
59100
diff
changeset
|
546 (xm_unmap_callback): Remove. |
44688 | 547 |
36771 | 548 * lwlib-Xm.c (make_menubar): Take out code in #if 0. |
36781 | 549 |
36767 | 550 * lwlib-Xm.c (xm_popup_menu): Don't set XmNmenuPost unless |
551 necessary. From Rick Scott <rwscott@alumni.uwaterloo.ca>. | |
552 | |
36439 | 553 2001-02-28 Gerd Moellmann <gerd@gnu.org> |
554 | |
36443 | 555 * lwlib-Xm.c (xm_arm_callback): Don't compare widgets with `None', |
556 use NULL instead. | |
557 | |
36439 | 558 * lwlib-Xaw.c (xaw_update_one_widget): Use XtSetSensitive instead |
559 of setting the value of XtNsensitive. | |
560 | |
561 * lwlib-Xm.c (xm_update_radiobox, update_one_menu_entry) | |
562 (xm_update_one_widget): Use XtSetSensitive instead of setting the | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
563 value of XmNsensitive. From Rick Scott <rwscott@alumni.uwaterloo.ca>. |
36439 | 564 |
34559 | 565 2000-12-14 Dave Love <fx@gnu.org> |
566 | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
567 * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from declaration. |
34559 | 568 |
34437 | 569 2000-12-11 Dave Love <fx@gnu.org> |
570 | |
571 * xlwmenu.c (draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>: | |
572 <SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator. | |
573 | |
34340 | 574 2000-12-07 Gerd Moellmann <gerd@gnu.org> |
575 | |
576 * lwlib-Xm.c (xm_arm_callback): Fix last change. | |
577 | |
34051 | 578 2000-11-30 Gerd Moellmann <gerd@gnu.org> |
579 | |
580 * lwlib-Xm.c (xm_arm_callback): Handle case that W is null; | |
581 also see comment there. | |
582 | |
33715 | 583 2000-11-21 Gerd Moellmann <gerd@gnu.org> |
584 | |
585 * xlwmenu.c (xlwmenu_redisplay): New function. | |
586 | |
32040
02773dbde247
(lw_separator_p): Init separator_p (bug with "-- some text").
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31963
diff
changeset
|
587 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
|
588 |
02773dbde247
(lw_separator_p): Init separator_p (bug with "-- some text").
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31963
diff
changeset
|
589 * 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
|
590 |
31963
833428005bf6
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
Sam Steingold <sds@gnu.org>
parents:
31883
diff
changeset
|
591 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
|
592 |
833428005bf6
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
Sam Steingold <sds@gnu.org>
parents:
31883
diff
changeset
|
593 * 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
|
594 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
|
595 |
31366 | 596 2000-09-04 Miles Bader <miles@gnu.org> |
597 | |
598 * xlwmenu.c (XlwMenuSetValues): Only frob the display if the menu | |
599 is actually displayed. | |
31371 | 600 (remap_menubar): Only include the menu-margin in the initial X & Y |
601 positions for horizontal menu-bars. | |
602 (fit_to_screen): If moving a sub-menu to the left-side, increment | |
603 its x-position by the shadow-thickness to make it look more | |
604 attached to the invoking menu-item (similarly to the way it would | |
605 be displayed on the right side). | |
31366 | 606 |
31342 | 607 2000-09-03 Miles Bader <miles@gnu.org> |
608 | |
609 * xlwmenu.c (x_alloc_lighter_color_for_widget): New extern declaration. | |
610 (make_shadow_gcs) [emacs]: Use x_alloc_lighter_color_for_widget to | |
611 do shadow calculation. | |
612 (make_shadow_gcs): Remove code that tests whether the top shadow | |
613 is dimmer than the bottom shadow--it shouldn't ever happen. | |
614 | |
31289 | 615 2000-08-30 Miles Bader <miles@gnu.org> |
616 | |
617 * xlwmenu.c (XlwMenuSetValues): If the background color has | |
618 changed, re-make the shadow-gcs too. | |
619 | |
30576 | 620 2000-08-03 Gerd Moellmann <gerd@gnu.org> |
621 | |
622 * lwlib.c, lwlib-Xm.c, lwlib-Xaw.c: Use NULL at the end of the | |
623 variable argument lists of XtVaSetValues and XtVaGetValues | |
624 functions because 0 is not sufficient on systems where sizeof | |
625 (int) < sizeof (void *). | |
626 | |
30329 | 627 2000-07-19 Gerd Moellmann <gerd@gnu.org> |
628 | |
629 * xlwmenu.c [emacs]: Don't include <X11/bitmaps/gray> because that | |
630 leads to redefinition errors when static is defined as empty in | |
631 config.h. Refer to the gray bitmap in xfns.c, instead. | |
632 | |
30280 | 633 2000-07-18 Dave Love <fx@gnu.org> |
634 | |
635 * lwlib-utils.c (XtApplyToWidgets): Cast args of lwlib_bcopy. | |
636 | |
29893 | 637 2000-06-23 Dave Love <fx@gnu.org> |
638 | |
639 * lwlib-Xlw.c (xlw_popup_menu): Cast arg of pop_up_menu. | |
640 | |
641 * lwlib-utils.c: Include lwlib.h. | |
642 | |
29702 | 643 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
644 | |
645 * xlwmenuP.h (_XlwMenu_part): Add free_top_shadow_color_p and | |
646 free_bottom_shadow_color_p. | |
647 | |
648 * xlwmenu.c (make_shadow_gcs): Set free_top_shadow_color_p | |
649 and free_top_shadow_color_p flags in the menu widget if | |
650 top and bottom shadow colors must be freed. | |
651 (release_shadow_gcs): Free colors only if they must be freed. | |
652 | |
29603 | 653 2000-06-12 Gerd Moellmann <gerd@gnu.org> |
654 | |
655 * xlwmenu.c (make_shadow_gcs): Free and copy colors so that | |
656 color reference counts are right. | |
657 (release_shadow_gcs): Free colors. | |
658 | |
29471 | 659 2000-06-06 Dave Love <fx@gnu.org> |
660 | |
661 * xlwmenu.c (x_alloc_nearest_color_for_widget, x_catch_errors) | |
662 (x_uncatch_errors, x_had_errors_p, x_clear_errors): Add prototypes | |
663 -- should be moved into separate header. | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
664 (make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first arg. |
29471 | 665 (Start) <pop_up_menu>: Cast second arg. |
666 | |
667 * lwlib.c (P_): Use PROTOTYPES. | |
668 (safe_strdup): Declare arg const. | |
669 (lw_modify_all_widgets) <!info>: Return 0. | |
670 | |
671 * lwlib-Xm.c (P_): Use PROTOTYPES. | |
672 | |
673 * xlwmenu.h, lwlib.h, lwlib-utils.h, lwlib-int.h, lwlib-Xm.h: | |
674 * lwlib-Xlw.h, lwlib-Xaw.h: Enable prototypes. | |
675 | |
676 * lwlib-Xaw.c (xaw_popup_menu): Add EVENT arg. | |
677 | |
678 * Makefile.in (lwlib.o): Depend on lwlib-Xlw.h. | |
679 (lwlib-Xlw.o): Depend on lwlib-Xlw.h. | |
680 (lwlib-Xaw.o): Depend on lwlib-Xaw.h. | |
681 (lwlib-Xm.o): Depend on lwlib-Xm.h. | |
682 | |
28120 | 683 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
684 | |
685 * lwlib-Xm.c (make_menubar) [LESSTIF_VERSION]: Don't set | |
686 XmNresizeHeight and XmNresizeWidth. | |
687 | |
28060 | 688 2000-03-08 Dave Love <fx@gnu.org> |
689 | |
690 * Makefile.in (liblw.a): Don't bother testing for ranlib failing | |
691 since configure sets it up. | |
692 | |
28016 | 693 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
694 | |
695 * lwlib-Xm.c (make_menubar): Set XmNresizeHeight and | |
696 XmNresizeWidth resources only if LESSTIF_VERSION is defined. | |
697 | |
27999 | 698 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
699 | |
700 * lwlib-Xm.c (xm_manage_resizing): Rewritten. | |
701 | |
702 * lwlib.c (lw_modify_all_widgets): Return non-zero if widget | |
703 tree was changed. | |
704 (merge_widget_value): Add parameter CHANGE_P. Set *CHANGE_P | |
705 to 1 if a change occurs. | |
706 | |
707 * lwlib.h (lw_modify_all_widgets): Change prototype. | |
708 | |
27989 | 709 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
710 | |
711 * xlwmenu.c (make_shadow_gcs): Use the widget's colormap instead | |
712 of the screen's default colormap. | |
713 | |
27757 | 714 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
715 | |
716 * lwlib.c (merge_widget_value): Fix incorrect assignment of | |
717 safe_strdup'd help string. | |
718 | |
27433 | 719 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
720 | |
721 * lwlib-Xm.c (make_menu_in_widget): Don't add XmNpopdownCallback, | |
722 add XmNunmapCallback. | |
723 (xm_unmap_callback): New function. | |
724 (xm_pull_down_callback): Call pre-activate callback only if | |
725 parent is the menu bar. | |
726 | |
27344 | 727 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
728 | |
729 * lwlib-Xm.c (xm_arm_callback): New function. | |
730 (make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and | |
731 XmNdisarmCallback for buttons (not supported for other widgets). | |
27347 | 732 (make_menubar): Set XmNresizeHeight and XmNresizeWidth to False. |
27344 | 733 |
734 * lwlib-Xlw.c (highlight_hook): New function. | |
735 (xlw_create_menubar, xlw_create_popup_menu): Add highlight_hook as | |
736 callback XtNhighlightCallback. | |
737 | |
738 * lwlib.c (copy_widget_value_tree): Copy help string. | |
739 (free_widget_value_tree): Free help string. | |
740 (merge_widget_value): Handle help string. | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
741 (allocate_widget_info, lw_register_widget, lw_create_widget): |
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
742 Add parameter HIGHLIGHT_CB. |
27344 | 743 (lw_get_widget_instance): New function. |
744 | |
745 * lwlib-int.h: Add prototype for lw_get_widget_instance. | |
746 | |
747 * lwlib.h (_widget_value): Add help string. | |
748 | |
749 * xlwmenu.c (xlwMenuResources): All XtNhighlightCallback. | |
750 (remap_menubar): Call highlight callback. | |
751 | |
752 * xlwmenu.h (XtNhighlightCallback): New define. | |
753 | |
754 * xlwmenuP.h (_XlwMenu_part): Add `highlight' callback list. | |
755 | |
26087
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
756 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
|
757 |
26087
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
758 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
|
759 |
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
760 * dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c, |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
761 * xrdb-cpp.c, xrdb.c: |
26087
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
762 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
|
763 |
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
764 * lwlib-Xm.c, lwlib.c: |
e0d966fb548f
Add support for large files, plus some locale improvements.
Paul Eggert <eggert@twinsun.com>
parents:
25886
diff
changeset
|
765 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
|
766 |
25886 | 767 1999-10-07 Gerd Moellmann <gerd@gnu.org> |
768 | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
769 * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): |
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
770 Use widgets instead of gadgets to be able to set colors. |
25886 | 771 |
25861 | 772 1999-09-17 Richard Stallman <rms@gnu.org> |
773 | |
774 * lwlib-Xaw.c (wm_delete_window): Check all the shell's children, | |
775 not just the first, to find the dialog box. | |
776 | |
777 1999-09-14 Gerd Moellmann <gerd@gnu.org> | |
778 | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
779 * lwlib.c (lw_separator_p): Check for new-style separators differently. |
25861 | 780 |
781 1999-09-10 Gerd Moellmann <gerd@gnu.org> | |
782 | |
31963
833428005bf6
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
Sam Steingold <sds@gnu.org>
parents:
31883
diff
changeset
|
783 * lwlib.c (lw_separator_p): Add `--:space' with the same |
25861 | 784 meaning as `--:noLine'. |
785 | |
786 1999-09-06 Gerd Moellmann <gerd@gnu.org> | |
787 | |
788 * lwlib.c (lw_separator_p): Add alternative separator type names. | |
789 | |
790 1999-09-03 Gerd Moellmann <gerd@gnu.org> | |
791 | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
792 * xlwmenu.c (make_shadow_gcs): Call x_alloc_nearest_color_for_widget. |
25861 | 793 |
27349 | 794 1999-07-12 Gerd Moellmann <gerd@gnu.org> |
795 | |
796 * lwlib-Xm.c: Add function prototypes. | |
797 | |
798 * lwlib-Xm.c (xm_update_label): Use val->name to look up | |
799 a label string from resources. | |
800 (xm_update_label): Add some comments. | |
801 | |
802 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
803 | |
804 * xlwmenu.c (all_dashes_p): Removed. | |
805 (size_menu_item): Call lw_separator_p. | |
806 (display_menu_item): Ditto. | |
807 (display_menu): Ditto. | |
808 (draw_separator): New. | |
809 (display_menu_item): Call it. | |
810 (separator_height): New. | |
811 (size_menu_item): Call it. | |
812 | |
813 * lwlib-Xm.c (all_dashes_p): Removed. | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
814 (make_menu_in_widget): Use lw_separator_p. Set Motif separator type. |
27349 | 815 |
816 * lwlib.c (lw_separator_p): New. | |
817 | |
818 * lwlib.h (enum menu_separator): New. | |
819 | |
820 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
821 | |
822 * lwlib-Xm.c (make_menu_in_widget): Set alignment of menu | |
823 title after all widgets have been created. | |
824 | |
825 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
826 | |
827 * xlwmenu.c (toggle_button_width): Renamed from | |
828 toggle_or_radio_button_width. | |
829 (radio_button_width): New. | |
830 (size_menu_item): Use new functions. | |
831 (draw_shadow_rhombus): New. | |
832 (draw_radio): Use radio_button_width and draw_shadow_rhombus. | |
833 (draw_toggle): Use toggle_button_width. | |
834 | |
835 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
836 | |
837 * lwlib-Xm.c (xm_update_toggle): Add callback xm_generic_callback | |
838 instead of xm_internal_update_other_instances. | |
839 | |
840 * lwlib-Xm.c (make_menu_in_widget): Do help button before managing | |
841 children to get it to the right place. | |
842 (make_menu_in_widget): Create toggle buttons. | |
843 (update_one_menu_entry): Update toggle buttons. | |
844 | |
845 * xlwmenu.c (size_menu_item): Add parameter button_width. | |
846 (size_menu): Compute button_width. | |
847 (toggle_or_radio_button_width): New. | |
848 (draw_toggle): New. | |
849 (draw_radio): New. | |
850 (draw_shadow_rectangle): Add parameter `down_p'. | |
851 | |
852 * xlwmenuP.h (_window_state): Add button_width. | |
853 | |
854 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
855 | |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
856 * xlwmenu.c (make_shadow_gcs) [emacs]: Use x_alloc_nearest_color. |
27349 | 857 |
858 * lwlib.c (merge_widget_value): Handle button_type. | |
859 (copy_widget_value_tree): Copy button_type. | |
860 | |
861 * lwlib.h (enum button_type): New. | |
862 (_widget_value): New member button_type. | |
863 | |
864 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
865 | |
866 * lwlib-Xm.c (make_menu_in_widget): Test for menubar widgets | |
867 using XmNrowColumnType. | |
868 | |
869 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
870 | |
871 * xlwmenu.c (abort_gracefully): New. | |
872 (display_menu): Use it instead of abort. | |
873 (size_menu): Ditto. | |
874 | |
875 1999-07-12 Gerd Moellmann <gerd@gnu.org> | |
876 | |
31963
833428005bf6
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
Sam Steingold <sds@gnu.org>
parents:
31883
diff
changeset
|
877 * xlwmenu.c (xlwMenuResources): Change previously unused |
27349 | 878 XtNmargin to 4. |
879 (size_menu): Take margin into account. | |
880 (display_menu_item): Ditto. | |
881 (remap_menubar): Ditto. | |
882 (draw_arrow): Draw it 3D. | |
883 | |
25842 | 884 1999-07-12 Richard Stallman <rms@gnu.org> |
885 | |
886 * Version 20.4 released. | |
887 | |
888 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu> | |
889 | |
890 * Version 20.3 released. | |
891 | |
892 1998-07-30 Paul Eggert <eggert@twinsun.com> | |
893 | |
894 * 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
|
895 (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o): |
106676
cf3b293aa85d
Fix typos in ChangeLogs.
Juanma Barranquero <lekktu@gmail.com>
parents:
105669
diff
changeset
|
896 Add dependencies to corresponding .c files for Solaris 2.x VPATH make. |
25842 | 897 |
898 1998-04-06 Andreas Schwab <schwab@gnu.org> | |
899 | |
900 * lwlib.c: Always declare xmalloc. | |
901 [USE_XAW]: Include <X11/Xaw/Paned.h>. | |
902 (lwlib_memset, lwlib_bcopy): Explicitly declare return type. | |
903 | |
904 1997-12-20 Richard Stallman <rms@psilocin.gnu.org> | |
905 | |
906 * lwlib-Xm.c (update_one_menu_entry): | |
907 Add conditional in case XmNpositionIndex is missing. | |
908 | |
909 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
910 | |
911 * Version 20.2 released. | |
912 | |
913 * xlwmenu.c (motion_event_is_in_menu): Extend the left and | |
914 top windows by the shadow width. | |
915 | |
916 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
917 | |
918 * Version 20.1 released. | |
919 | |
920 1997-07-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
921 | |
922 * xlwmenu.c (display_menu): If an item is disabled, | |
923 don't display its submenu (if any). | |
924 | |
925 1997-05-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
926 | |
927 * xlwmenu.c (pop_up_menu): Update the call to x_catch_errors. | |
928 | |
929 1997-01-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
930 | |
931 * xlwmenu.c (fit_to_screen): If new menu would overlap the previous | |
932 one from the side, try moving it up or down. | |
933 | |
934 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
935 | |
936 * Version 19.33 released. | |
937 | |
938 * lwlib-Xm.c (update_one_menu_entry): Fix previous change: | |
939 When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget, | |
940 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
|
941 |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98317
diff
changeset
|
942 1996-08-09 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> |
25842 | 943 |
944 * 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
|
945 |
25842 | 946 * lwlib-Xm.c (update_one_menu_entry): When creating a pulldown |
947 in an existing but empty menu item, in order to get a new functional | |
948 pulldown, the menu item must be switched from an XmPushButtonGadget | |
949 into a XmCascadeButtonGadget. | |
950 | |
951 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> | |
952 | |
953 * Version 19.32 released. | |
954 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98317
diff
changeset
|
955 1996-07-31 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> |
25842 | 956 |
957 * lwlib-Xm.c (make_menubar): Turn off menu accelerator. | |
958 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98317
diff
changeset
|
959 1996-07-24 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> |
25842 | 960 |
961 * lwlib.c (merge_widget_value) [USE_MOTIF]: Pass along the change | |
962 flag from merged_contents. | |
963 | |
964 1996-07-13 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
965 | |
966 * lwlib-Xm.c (xm_update_menu): Fix loop termination test. | |
967 | |
968 1996-07-07 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
969 | |
970 * lwlib-Xm.h, lwlib-Xm.c, lwlib.h, lwlib.c: Undo previous change. | |
971 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98317
diff
changeset
|
972 1996-07-03 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> |
25842 | 973 |
974 * lwlib-Xm.h: Declare lw_motif_menu_related_event_p. | |
975 | |
976 * lwlib-Xm.c (lw_motif_menu_related_event_p): A predicate to | |
977 identify keyboard events intended only for menus. | |
978 | |
979 * lwlib.h: Declare lw_toolkit_related_event_p. | |
980 | |
981 * lwlib.c (lw_toolkit_related_event_p): A predicate to identify | |
982 toolkit-specific events. | |
983 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98317
diff
changeset
|
984 1996-06-07 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> |
25842 | 985 |
986 * lwlib-Xm.c (make_menu_in_widget): Set mapping delay | |
987 for cascade buttons to zero. | |
988 | |
989 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
990 | |
991 * Version 19.31 released. | |
992 | |
993 1996-03-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
994 | |
995 * lwlib-Xm.c (destroy_all_children): When freeing a cascade button, | |
996 free its submenu too. | |
997 (make_menu_in_widget): Use a cascade button gadget, not a widget. | |
998 Include Xm/CascadeBG.h. | |
999 | |
1000 1996-03-29 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1001 | |
1002 * Makefile.in (tags): New target. | |
1003 | |
1004 1996-03-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1005 | |
1006 * Makefile.in (TAGS): Renamed from `tags' and fixed to work. | |
1007 | |
1008 1996-03-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1009 | |
1010 * Makefile.in (xlwmenu.o): New explicit target. | |
1011 | |
1012 1996-03-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1013 | |
1014 * lwlib.h (struct widget_value): New field this_one_change. | |
1015 * lwlib.c (merge_widget_value): Set the this_one_change field. | |
1016 * lwlib-Xm.c (destroy_all_children): New arg first_child_to_destroy. | |
1017 (make_menu_in_widget): New arg keep_first_children. | |
1018 (xm_update_menu): Preserve the first children even if later ones | |
1019 have a structural change. | |
1020 (update_one_menu_entry): Use this_one_change field. | |
1021 | |
1022 1996-03-01 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1023 | |
1024 * xlwmenu.c (motion_event_is_in_menu): Make x and y signed. | |
1025 | |
1026 1996-02-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1027 | |
1028 * lwlib.c (lw_window_is_in_menubar) [USE_MOTIF]: | |
1029 With Motif, the window WIN can be the menu bar widget itself. | |
1030 | |
1031 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
1032 | |
1033 * lwlib.c (free_widget_value_tree, merge_widget_value): | |
1034 Use XtFree for the toolkit_data. | |
1035 | |
1036 1996-02-19 Karl Heuer <kwzh@gnu.ai.mit.edu> | |
1037 | |
1038 * lwlib.c (lw_internal_update_other_instances): Move static var | |
1039 outside the function, and rename it to lwlib_updating. | |
1040 | |
1041 1996-01-04 Paul Eggert <eggert@twinsun.com> | |
1042 | |
1043 * lwlib.c (instantiate_widget_instance): Renamed from | |
1044 instanciate_widget_instance (spelling correction). | |
1045 All callers changed. | |
1046 | |
1047 1995-12-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1048 | |
1049 * xlwmenu.c (xlwMenuActionsList): Add "key" and "nothing". | |
1050 (xlwMenuTranslations): Add translations for Key, KeyUp, | |
1051 and for the modifier keysyms. | |
1052 (Nothing, Key): New functions. | |
1053 | |
1054 1995-12-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1055 | |
1056 * xlwmenu.c (XlwMenuSetValues): Do redisplay if non-null contents | |
1057 get replaced by empty contents. | |
1058 | |
1059 * lwlib.c (merge_widget_value): Treat disappearance of entire contents | |
1060 as a STRUCTURAL_CHANGE. | |
1061 | |
1062 1995-12-20 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
1063 | |
1064 * lwlib-utils.c: Add #undef for index and rindex. | |
1065 | |
1066 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1067 | |
1068 * Version 19.30 released. | |
1069 | |
1070 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1071 | |
1072 * xlwmenu.c (display_menu_item): Fix previous change. | |
1073 | |
1074 1995-11-04 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> | |
1075 | |
1076 * xlwmenu.c (display_menu_item): Don't treat buttons specially. | |
1077 | |
1078 1995-08-14 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1079 | |
1080 * Makefile.in (RANLIB): Get this var from configure. | |
1081 | |
1082 1995-08-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1083 | |
1084 * lwlib.c (lw_popup_menu): New arg `event', passed along. | |
1085 * lwlib-Xlw.c (xlw_popup_menu): New arg `event'. | |
1086 * lwlib-Xm.c (xm_popup_menu): New arg `event'. | |
1087 | |
1088 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1089 | |
1090 * Version 19.29 released. | |
1091 | |
1092 1995-06-11 Richard Stallman <rms@gnu.ai.mit.edu> | |
1093 | |
1094 * lwlib.c (lwlib_toolkit_type): New variable. | |
1095 | |
1096 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu> | |
1097 | |
1098 * xlwmenu.c (Drag): Do nothing unless menu.popped_up field is set. | |
1099 | |
1100 1995-05-22 Karl Heuer <kwzh@hal.gnu.ai.mit.edu> | |
1101 | |
1102 * xlwmenu.c (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args. | |
1103 | |
1104 1995-05-20 Karl Heuer <kwzh@nutrimat.gnu.ai.mit.edu> | |
1105 | |
1106 * lwlib.c: Don't use prototype. | |
1107 * lwlib-Xm.c (activate_button, xm_update_cascadebutton): Likewise. | |
1108 | |
1109 1995-05-05 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1110 | |
1111 * lwlib.c (lw_refigure_widget) [USE_MOTIF]: Fix backward if. | |
1112 | |
1113 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1114 | |
1115 * Makefile.in (ALL_CFLAGS): Add -I../src. | |
1116 | |
1117 1995-05-03 Morten Welinder <terra+@cs.cmu.edu> | |
1118 | |
1119 * lwlib.c [__osf__]: Include string.h and stdlib.h. | |
1120 [__osf__] (xmalloc): Declared. | |
1121 | |
1122 1995-04-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1123 | |
1124 * lwlib-Xm.c (update_one_menu_entry, make_menu_in_widget): | |
1125 Specify more useful names in XmCreatePulldownMenu calls. | |
1126 | |
1127 * lwlib-Xaw.c (xaw_pop_instance): Make x, y, w, h unsigned. | |
1128 | |
1129 * xlwmenu.c (size_menu): Make height and label_width unsigned. | |
1130 (fit_to_screen): Make screen_width and screen_height unsigned. | |
1131 (motion_event_is_in_menu): Make x, y unsigned. | |
1132 | |
1133 1995-04-09 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1134 | |
1135 * lwlib-utils.c: If HAVE_CONFIG_H, include config.h. | |
1136 | |
1137 * Makefile.in (ALL_CFLAGS): Define HAVE_CONFIG_H. | |
1138 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
|
1139 |
25842 | 1140 1995-04-08 Paul Reilly <pmr@geech.gnu.ai.mit.edu> |
1141 | |
1142 * lwlib-Xm.c: Remove function prototypes. | |
1143 (xm_pop_down_callback): Call the deactivation callback only when | |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
1144 popping down the top level submenu. |
25842 | 1145 |
1146 1995-04-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1147 | |
1148 * Makefile.in (lwlib.o): Depend on Makefile. | |
1149 | |
1150 * lwlib-Xm.h: Remove function prototypes. | |
1151 | |
1152 * lwlib-Xm.c (remove_grabs): Use type Widget for `menu'. | |
1153 | |
1154 1995-02-15 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
1155 | |
1156 * Makefile.in (ALL_CFLAGS): Allow include files to be found in | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1157 `srcdir'. |
25842 | 1158 |
1159 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> | |
1160 | |
1161 * Makefile.in (maintainer-clean): Renamed from realclean. | |
1162 | |
1163 1994-11-28 Richard Stallman <rms@bethel> | |
1164 | |
1165 * lwlib-int.h (safe_strdup): Don't use ANSI argument prototype. | |
1166 | |
1167 1994-11-15 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
1168 | |
1169 * lwlib.c (lw_refigure_widget): Use the macro USE_XAW rather than XAW. | |
1170 | |
1171 1994-11-08 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
1172 | |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
1173 * lwlib-Xm.c (make_menu_in_widget): Differentiate a separator |
25842 | 1174 entry ("--") from a title. |
1175 (xm_pop_down_callback): Filter all but the last pop down callbacks. | |
1176 | |
1177 1994-11-07 Paul Reilly <pmr@duality.gnu.ai.mit.edu> | |
1178 | |
1179 * lwlib-Xm.c (update_one_menu_entry): Use the parent of the | |
1180 cascade button as the parent of the pulldown, rather than the | |
1181 cascade button itself. This works around a Motif SIGSEGV in the | |
1182 function `InSharedMenuHierarchy'. | |
1183 | |
1184 1994-10-26 Richard Stallman <rms@duality.gnu.ai.mit.edu> | |
1185 | |
1186 * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc. | |
1187 | |
1188 1994-10-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1189 | |
1190 * xlwmenu.c (xlwmenu_default_font): New global variable. | |
1191 (XlwMenuInitialize): Use xlwmenu_default_font to default | |
1192 the font if necessary. Make mw, itself, an argument. | |
1193 | |
1194 * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc. | |
1195 | |
1196 1994-10-08 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1197 | |
1198 * xlwmenu.c (fit_to_screen): Don't put the menu off the left or top. | |
1199 | |
1200 1994-10-02 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
1201 | |
1202 * xlwmenu.c (display_menu_item): Add support for displaying the | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1203 title in pop up menus. |
25842 | 1204 |
1205 * lwlib.c (lw_set_main_areas): Use xm_set_main_areas(). | |
1206 (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif. | |
1207 | |
1208 1994-09-25 Paul Reilly <pmr@geech.gnu.ai.mit.edu> | |
1209 | |
1210 * lwlib-Xaw.c (xaw_create_main): New function to support the | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1211 toolkit independent creation of the main Emacs widget. * |
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1212 lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set |
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1213 resizing resources to disable showGrip and to enable both |
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1214 resizeToPreferred and allowShellResize. |
25842 | 1215 |
1216 * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing. | |
1217 | |
87613
88de7654aee1
*** empty log message ***
Juanma Barranquero <lekktu@gmail.com>
parents:
83716
diff
changeset
|
1218 * lwlib-Xm.c (make_menu_in_widget): Add support for displaying a |
25842 | 1219 title in pop up menus. |
1220 (make_main, xm_set_main_areas, xm_manage_resizing): New functions to | |
1221 create and manage a Motif Main Window widget. | |
1222 | |
1223 * xlwmenu.c: Add #include <X11/ObjectP.h> for X11R4. | |
1224 | |
100515
ce4ce31aa65a
Fix typos and author's names.
Juanma Barranquero <lekktu@gmail.com>
parents:
98317
diff
changeset
|
1225 1994-09-18 Frederic Pierresteguy <F.Pierresteguy@frcl.bull.fr> |
25842 | 1226 |
1227 * lwlib-Xm.c (make_dialog): When there is more than two pushbuttons, | |
1228 set XmPACK_TIGHT and XmHORIZONTAL to the rowcolumn. Also add a | |
1229 margin of 10 pixels. | |
1230 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
49533
diff
changeset
|
1231 1994-09-16 Paul Reilly <pmr@geech.gnu.ai.mit.edu> |
25842 | 1232 |
1233 * lwlib-Xm.c (make_main): New function to support toolkit | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1234 independent creation of the main Emacs widget. |
25842 | 1235 (make_destroyed_instance): Use safe_strdup() instead of strdup(). |
1236 | |
1237 * lwlib-int.h: Declare safe_strdup. | |
1238 | |
1239 * lwlib.c (lw_refigure_widget): New function. Handle geometry | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1240 management inside lwlib instead of in Emacs. |
25842 | 1241 (lw_window_is_in_menubar): New function. Determine if the pointer |
1242 is in a menubar. | |
1243 (lw_set_main_areas): New function. Set the main window widgets for | |
1244 Motif. | |
1245 | |
1246 * lwlib.h: Declare lw_refigure_widget(), lw_window_is_in_menubar(), | |
1247 lw_set_main_areas(). | |
1248 | |
1249 * xlwmenu.h: Define Xt{Ns,CS}howGrip, Xt{Nr,CR}esizeToPreferred, and | |
1250 Xt{Na,CA}llowResize. | |
1251 | |
1252 * xlwmenu.c (Start): Use pop_up_menu() to post the submenus. | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1253 (Select): Remove the pointer grab when popping down a menubar submenu. |
25842 | 1254 (pop_up_menu): Handle popping up submenus from a menubar, i.e. when |
1255 the menu widget parent is not a shell widget. | |
1256 | |
1257 1994-08-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1258 | |
1259 * xlwmenu.c (pop_up_menu): Clear next_release_must_exit. | |
1260 (Start): Clear next_release_must_exit when popping up the menu. | |
1261 | |
1262 1994-08-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1263 | |
1264 * xlwmenu.c (Start): Set menu_post_event or next_release_must_exit. | |
1265 (Select): Do nothing if the menu should be left posted. | |
1266 | |
1267 1994-07-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> | |
1268 | |
1269 * xlwmenu.c (make_windows_if_needed, pop_up_menu): | |
1270 Enable mouse motion events even when no button down. | |
1271 | |
1272 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1273 | |
1274 * xlwmenu.c (pointer_grabbed): New variable. | |
1275 (pop_up_menu): Set the variable. | |
1276 (XlwMenuDestroy): Maybe call XtUngrabPointer. | |
1277 | |
1278 1994-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1279 | |
1280 * lwlib.c (max): Function deleted. Define as macro instead, | |
1281 but only if not already defined. | |
1282 | |
1283 1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1284 | |
1285 * xlwmenu.c (xlwMenuResources): Use XtRDimension for shadow thickness. | |
1286 | |
1287 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1288 | |
1289 * lwlib-Xaw.c (xaw_pop_instance): Use XtSetValues, not XtMoveWidget. | |
1290 | |
1291 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1292 | |
1293 * lwlib.c (lwlib_memset: New function, used instead of memset. | |
1294 All callers changed. | |
1295 * lwlib.c (lwlib_bcopy): New function. | |
1296 * lwlib-utils.c (XtApplyToWidgets): Use lwlib_bcopy. | |
1297 | |
1298 * lwlib.c: Delete definitions for use of alloca. | |
1299 (name_to_widget): Use xmalloc, not alloca. | |
1300 | |
1301 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1302 | |
1303 * xlwmenu.c (XlwMenuDestroy): Set new var submenu_destroyed. | |
1304 (XlwMenuRedisplay): If it's set, truncate the old_depth to 1. | |
1305 | |
1306 1994-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1307 | |
1308 * xrdb-cpp.c: Don't include string.h, unistd.h, stdlib.h. | |
1309 * lwlib-Xaw.c: Don't include string.h, unistd.h, stdlib.h. | |
1310 * lwlib-utils.c (XtApplyToWidgets): Use bcopy, not memcpy. | |
1311 * lwlib-utils.c: Don't include string.h, unistd.h, stdlib.h, memory.h. | |
1312 * xlwmenu.c: Don't include string.h, unistd.h, stdlib.h. | |
1313 * lwlib.c: Don't include string.h, unistd.h, stdlib.h. | |
1314 (safe_strdup): No longer static. | |
1315 * lwlib-Xm.c: Use safe_strdup, not strdup. | |
1316 | |
1317 * xlwmenu.c (string_width): No longer static. | |
1318 | |
1319 1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1320 | |
1321 * xlwmenuP.h (struct _XlwMenu_part): Use Pixel and Cursor | |
1322 for foreground and cursor_shape fields. | |
1323 | |
1324 * xlwmenu.c (XlwMenuSetValues): Check for change of font. | |
1325 | |
1326 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1327 | |
1328 * Makefile.in: Delete all SRCS variables (unused). | |
1329 (lwlib.o, xrdb-cpp.o): Mention srcdir in dep. | |
1330 | |
1331 1994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1332 | |
1333 * Makefile.in (ALL_CFLAGS): Don't define THIS_IS_X11R4. | |
1334 | |
1335 * xrdb.c: Define HAVE_X11R5 as in xterm.h. | |
1336 Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h. | |
1337 (_XtDisplayInitialize): Test HAVE_X11R5. | |
1338 | |
1339 * dispatch.c: Define HAVE_X11R5 as in xterm.h. | |
1340 Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h. | |
1341 (_XtConvertTypeToMask): Conditionalize on HAVE_X11R5. | |
1342 (WouldDispatchEvent): Likewise. | |
1343 | |
1344 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1345 | |
1346 * lwlib-Xaw.c (xaw_generic_callback): Declare without arg names. | |
1347 | |
1348 1994-04-01 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu) | |
1349 | |
31963
833428005bf6
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
Sam Steingold <sds@gnu.org>
parents:
31883
diff
changeset
|
1350 * lwlib-Xaw.c (make_dialog): Don't allow any geometry request from the |
25842 | 1351 user. |
1352 | |
1353 1994-03-22 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1354 | |
31963
833428005bf6
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
Sam Steingold <sds@gnu.org>
parents:
31883
diff
changeset
|
1355 * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize |
44709 | 1356 itself. Therefore reset the size to its initial value. |
25842 | 1357 |
1358 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1359 | |
1360 * lwlib-Xaw.c (xaw_update_one_widget): Finish replacing XtVaSetValues. | |
1361 Don't test for scrollbar widget. | |
1362 | |
1363 1994-03-14 Frederic Pierresteguy (fp@gnu.ai.mit.edu) | |
1364 | |
1365 * lwlib-int.h: Declare lw_get_widget_info. | |
1366 | |
1367 * lwlib.c (lw_get_widget_info): Comment out arg in function decl. | |
1368 | |
1369 * lwlib-Xaw.h: Comment out args in function decls. | |
1370 * lwlib-Xaw.c: Convert all function definitions to non-prototype K&R. | |
1371 (xaw_update_one_widget - case dialogWidgetClass): Call XtSetValues, | |
1372 not XtVaSetValues. | |
1373 | |
1374 1994-03-11 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) | |
1375 | |
1376 * xlwmenu.c (display_menu_item): Modify parameters to draw_arrow to | |
1377 right justify the arrow in the pane. | |
1378 | |
1379 * lwlib.c: If not defined USE_MOTIF and defined USE_LUCID then | |
1380 define USE_XAW. | |
1381 | |
1382 * Makefile.in (LUCID_SRCS, LUCID_OBJS): Add the target lwlib-Xaw.[oc]. | |
1383 | |
1384 * lwlib.c, lwlib-int.h: Merged from Lucid 19.9 release. | |
1385 * lwlib.c (_AIX): Replace the AIXV3 directive. | |
1386 (USE_XAW): New macro to conditionalize the use of the athena toolkit. | |
1387 (lw_get_widget_info): New function. | |
1388 (set_one_value): Handle USE_XAW. | |
1389 (instanciate_widget_instance): Likewise. | |
1390 (destroy_one_instance): Likewise. | |
1391 (lw_pop_all_widgets): Likewise. | |
1392 (lw_pop_down_all_widgets): Likewise. | |
1393 (get_one_value): Likewise. | |
1394 | |
1395 * lwlib-Xaw.c, lwlib-Xaw.h: New files. | |
1396 | |
1397 1994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1398 | |
1399 * xlwmenu.c (XlwMenuInitialize, XlwMenuDestroy): Undo previous changes. | |
1400 | |
1401 * lwlib-Xlw.c (xlw_create_menubar, xlw_create_popup_menu): | |
1402 Use XtCreate..., not XtVaCreate... | |
1403 No need to copy instance->info->val any more. | |
1404 (xlw_update_one_widget): Use XtSetValues, not XtVaSetValues. | |
1405 | |
1406 1994-02-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1407 | |
1408 * xlwmenu.c (pop_up_menu): Call XtUngrabPointer if XtGrabPointer fails. | |
1409 | |
1410 1994-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1411 | |
1412 * Makefile.in (xrdb-cpp.o, lwlib.o): Put ALL_CFLAGS after other flags. | |
1413 | |
1414 * lwlib-Xlw.c (xlw_create_menubar): Don't call free_widget_value. | |
1415 Use malloc for allocation. | |
1416 (xlw_create_popup_menu): Likewise. | |
1417 | |
1418 1994-02-18 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1419 | |
1420 * lwlib.c (malloc_cpt): New static variable. | |
1421 (malloc_widget_value): Increment malloc_cpt when allocating a cell. | |
1422 (free_widget_value): Really free the cells when the number of | |
1423 allocated ones is bigger than 25. | |
1424 | |
1425 * lwlib-Xlw.c (xlw_create_menubar): Call malloc_widget_value and | |
1426 free_widget_value instead of XtMalloc and XtFree. | |
1427 (xlw_create_popup_menu): Likewise. | |
1428 | |
1429 1994-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1430 | |
1431 * Makefile.in (ALL_CFLAGS): Specify -Demacs. | |
1432 | |
1433 * xlwmenu.c (pop_up_menu) [emacs]: Catch and ignore X protocol errors | |
1434 in XtGrabPointer. | |
1435 | |
1436 1994-02-17 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1437 | |
31963
833428005bf6
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
Sam Steingold <sds@gnu.org>
parents:
31883
diff
changeset
|
1438 * lwlib-Xlw.c (xlw_create_popup_menu): Pass tem to |
25842 | 1439 XtVaCreateManagedWidget, not instance->info->val. |
1440 (xlw_create_menubar): Likewise. | |
1441 | |
1442 1994-02-15 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1443 | |
1444 * lwlib-Xlw.c (xlw_create_popup_menu): Copy instance->info->val | |
1445 before calling XtVaCreateManagedWidget and then free the copy. | |
1446 (xlw_create_menubar): Likewise. | |
1447 | |
1448 1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1449 | |
1450 * xlwmenu.c (XlwMenuInitialize): Copy mw->menu.contents. | |
1451 (XlwMenuDestroy): Free mw->menu.contents. | |
1452 | |
1453 1994-02-09 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1454 | |
1455 * xlwmenu.c (display_menu_item): Call draw_shadow_rectangle to make | |
1456 visible/invisible the selection of the menubar items. | |
1457 | |
1458 1994-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
1459 | |
1460 * lwlib.c (strcasecmp): Renamed to my_strcasecmp. | |
1461 (find_in_table): Changed only caller. | |
1462 | |
1463 1994-02-04 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) | |
1464 | |
1465 * 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
|
1466 always call XDrawRectangle to clear the selection after popping down |
25842 | 1467 the pulldown menu. |
1468 | |
1469 1994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1470 | |
1471 * lwlib.c: Include ctype.h. | |
1472 | |
1473 1994-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1474 | |
1475 * lwlib.c (strcasecmp): New function. | |
1476 | |
1477 1994-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1478 | |
1479 * xlwmenu.c, lwlib.c, lwlib-Xlw.c, lwlib-utils.c: | |
1480 Convert all function definitions to non-prototype K&R. | |
1481 | |
1482 * lwlib-Xlw.h: Comment out args in function decls. | |
1483 * lwlib.h: Comment out args in function decls. | |
1484 * lwlib-utils.h: Comment out args in function decls. | |
1485 | |
1486 1994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1487 | |
1488 * lwlib.c: Include StringDefs.h after lwlib.h. | |
1489 | |
1490 1994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) | |
1491 | |
1492 * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name | |
1493 instead of $*. | |
1494 (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were | |
45043
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1495 superfluous and didn't work when configured outside srcdir. |
76dd94abc805
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
44968
diff
changeset
|
1496 The implicit .c.o rule works fine. |
25842 | 1497 |
1498 1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1499 | |
1500 * xlwmenu.c (resource_widget_value): Avoid using strdup. | |
1501 | |
1502 1994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) | |
1503 | |
1504 * Makefile.in: New file. | |
1505 | |
1506 * lwlib-Xolmb.c: Renamed from lwlib-Xol-mb.c. | |
1507 * lwlib-Xolmb.h: Renamed from lwlib-Xol-mb.h. | |
1508 * lwlib-XolmbP.h: Renamed from lwlib-Xol-mbP.h. | |
1509 | |
1510 * lwlib-int.h: Renamed from lwlib-internal.h. | |
1511 | |
31963
833428005bf6
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
Sam Steingold <sds@gnu.org>
parents:
31883
diff
changeset
|
1512 |
25842 | 1513 |
30994 | 1514 ;; Local Variables: |
93301 | 1515 ;; coding: utf-8 |
73856
594a719b7a7f
Add "add-log-time-zone-rule: t" to Local Variables section.
Juanma Barranquero <lekktu@gmail.com>
parents:
73558
diff
changeset
|
1516 ;; add-log-time-zone-rule: t |
30994 | 1517 ;; End: |
39627 | 1518 |
75250
6d19c76d81c5
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
75020
diff
changeset
|
1519 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, |
106815 | 1520 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1521 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1522 This file is part of GNU Emacs. |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1523 |
94792
7a6273d39994
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94175
diff
changeset
|
1524 GNU Emacs is free software: you can redistribute it and/or modify |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1525 it under the terms of the GNU General Public License as published by |
94792
7a6273d39994
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94175
diff
changeset
|
1526 the Free Software Foundation, either version 3 of the License, or |
7a6273d39994
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94175
diff
changeset
|
1527 (at your option) any later version. |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1528 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1529 GNU Emacs is distributed in the hope that it will be useful, |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1530 but WITHOUT ANY WARRANTY; without even the implied warranty of |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1531 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1532 GNU General Public License for more details. |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1533 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75250
diff
changeset
|
1534 You should have received a copy of the GNU General Public License |
94792
7a6273d39994
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94175
diff
changeset
|
1535 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
52401 | 1536 |
1537 ;;; arch-tag: 0cd8ab87-d764-40d9-b86d-d00c71887a9e |