1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

3785 commits

Author SHA1 Message Date
Richard M. Stallman
4bc6a87206 *** empty log message *** 2004-09-03 21:34:11 +00:00
Jason Rumney
1f06d36755 (_widget_value): Added lname and lkey.
(digest_single_submenu): Set lname and lkey in widget_value
instead of name and key.
(update_submenu_strings): New function.
(set_frame_menubar): Remove call to inhibit_garbage_collection,
call update_submenu_strings.

(globals_of_w32menu): Check for Unicode API.
(digest_single_submenu, w32_menu_show): Encode menu strings as
UTF-8 if Unicode API is available.
(utf8to16): New function.
(add_menu_item): Use it when calling Unicode API.
2004-09-02 23:26:16 +00:00
Kim F. Storm
46540080ea *** empty log message *** 2004-09-02 22:55:59 +00:00
Steven Tamm
9277ba618e * term/mac-win.el: Add ASCII equivalents for some function keys.
(mode-line-frame-identification): Sync with x-win.el.
* macfns.c (x_real_positions): Save the current window port and
set a new one before obtaining the global coordinate.  Use
FRAME_MAC_WINDOW.
(x_set_name, x_set_title): Encode title to UTF8.  Use
SetWindowTitleWithCFString.
(Fx_server_version): Get correct OS version.
* macmenu.c (add_menu_item): Remove unused variable `i'.  Don't
let separator items destroy refence constants of other menu items.
* macterm.c (x_update_end): Move SetPortWindowPort to inside
BLOCK_INPUT.
(x_set_offset): Use FRAME_MAC_WINDOW.
* xdisp.c (note_mouse_highlight): Set the mouse pointer shape to
nontext_cursor if it is on a scroll bar.
* s/darwin.h (LIBS_CARBON): New define to specify libraries for
Carbon support.
(LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++.  Use
LIBS_CARBON.
2004-09-02 17:03:16 +00:00
Jan Djärv
b10daec709 * xfns.c (x_set_name_internal): New function. Check if we shall call
xfree before ENCODE_UTF_8.
(x_set_name, x_set_title): Call x_set_name_internal.
2004-09-02 16:15:48 +00:00
Jason Rumney
f7e2238577 *** empty log message *** 2004-08-31 22:42:35 +00:00
Jan Djärv
16ceacc222 * macmenu.c (_widget_value): Added lname and lkey.
(single_submenu): Set lname and lkey in widget_value
instead of name and key.
(update_submenu_strings): New function.
(set_frame_menubar): Remove call to inhibit_garbage_collection,
call update_submenu_strings.
2004-08-30 20:32:00 +00:00
Jan Djärv
ec86779779 Don't call ENCODE_MENU_STRING on top level menu names, GC may occur. 2004-08-30 20:14:21 +00:00
Jan Djärv
2bf436c3bb * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value
instead of name and key.
(update_submenu_strings): New function.
(set_frame_menubar): Remove call to inhibit_garbage_collection,
call update_submenu_strings.  Call ENCODE_MENU_STRING for top level
menu names.

* gtkutil.h (_widget_value): Added lname and lkey.
2004-08-30 19:42:53 +00:00
Steven Tamm
11715f92de macmenu.c (mac_menu_show): Remove shadowing of menu variable
by using different names for inner loop variables.
2004-08-30 18:06:21 +00:00
Jan Djärv
059cd32943 * xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection
from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used.
2004-08-27 16:57:36 +00:00
Jan Djärv
5500be54e1 * gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when
tool bar items is 0.
2004-08-27 16:50:02 +00:00
Steven Tamm
383418e512 macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte
strings in menu items.
(single_submenu): Use ENCODE_MENU_STRING
(mac_menu_show): Use ENCODE_MENU_STRING.  Reset grabbed because
button release isn't passed to event loop
(add_menu_item): Use SetMenuItemWithCFString
2004-08-26 18:43:29 +00:00
Steven Tamm
6eb3ee72e0 fileio.c (Fread_file_name): Call x_file_dialog on carbon on
tool-bar/menu click
macfns.c (Fx_file_dialog): Implemented using NavServices
2004-08-26 18:28:44 +00:00
Jan Djärv
2728b5d02c * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed. 2004-08-24 17:22:33 +00:00
Jan Djärv
10b43ac3fd * xfns.c (x_window_to_frame, x_any_window_to_frame)
(x_non_menubar_window_to_frame, x_menubar_window_to_frame)
(x_top_window_to_frame): Return 0 if wdesc is None.
2004-08-24 10:54:39 +00:00
Richard M. Stallman
2ee3b79e47 *** empty log message *** 2004-08-22 17:46:31 +00:00
Kim F. Storm
9a1ba2ea28 *** empty log message *** 2004-08-20 10:22:39 +00:00
Kenichi Handa
295f3b30f6 *** empty log message *** 2004-08-20 08:48:47 +00:00
Stefan Monnier
27615979e5 *** empty log message *** 2004-08-19 22:30:02 +00:00
Jan Djärv
00267f94d1 * xfns.c (x_set_name, x_set_title): Encode title to UTF8 before
passing it to gtk_window_set_title.
2004-08-19 17:31:37 +00:00
Kim F. Storm
6ba0f14c1f *** empty log message *** 2004-08-19 13:56:39 +00:00
Kim F. Storm
2439909e48 *** empty log message *** 2004-08-19 10:07:06 +00:00
Kim F. Storm
101c421e7e *** empty log message *** 2004-08-17 22:42:23 +00:00
Kim F. Storm
c438dc33d5 *** empty log message *** 2004-08-17 22:34:56 +00:00
Richard M. Stallman
8afc13c66a *** empty log message *** 2004-08-16 23:02:46 +00:00
John Paul Wallington
6dad1714db *** empty log message *** 2004-08-14 13:51:44 +00:00
Luc Teirlinck
2bd7733052 *** empty log message *** 2004-08-09 18:52:34 +00:00
Luc Teirlinck
8392e13818 *** empty log message *** 2004-08-08 17:14:58 +00:00
Luc Teirlinck
c90e7e43b1 *** empty log message *** 2004-08-08 17:09:43 +00:00
Luc Teirlinck
81909a1aef *** empty log message *** 2004-08-08 00:37:38 +00:00
Stefan Monnier
1725a7c935 (window_list_1): YAILOM. 2004-08-07 21:07:57 +00:00
Stefan Monnier
0cedd530e3 (make_temp_name): Handle multibyte prefixes. 2004-08-07 20:57:19 +00:00
Luc Teirlinck
2515a13130 (syms_of_keyboard) <overriding-terminal-local-map>: Doc fix. 2004-08-07 02:32:11 +00:00
Kenichi Handa
c8b20fb7c3 *** empty log message *** 2004-08-03 05:19:25 +00:00
Kim F. Storm
fb8b092b99 *** empty log message *** 2004-08-02 23:41:59 +00:00
Luc Teirlinck
df13361290 (Finteractive_form): Doc fix. 2004-08-02 20:50:09 +00:00
Kim F. Storm
0f7a93c1c6 *** empty log message *** 2004-08-02 15:30:37 +00:00
Kim F. Storm
f491e1edab *** empty log message *** 2004-08-01 23:09:43 +00:00
Luc Teirlinck
83f6422686 *** empty log message *** 2004-07-31 16:09:34 +00:00
Kim F. Storm
7c111482b9 (Fformat): Allocated extra (dummy) element in info. 2004-07-30 12:05:32 +00:00
Luc Teirlinck
ee945d0839 *** empty log message *** 2004-07-29 01:49:07 +00:00
Kim F. Storm
3f911c94a2 *** empty log message *** 2004-07-26 23:16:23 +00:00
Kim F. Storm
f29ff8c7a4 *** empty log message *** 2004-07-25 22:14:29 +00:00
Richard M. Stallman
ab431b61cd (enum window_part): Add ON_SCROLL_BAR. 2004-07-25 17:44:33 +00:00
Richard M. Stallman
81159bb955 (Fcoordinates_in_window_p): Take account of FRAME_INTERNAL_BORDER_WIDTH. 2004-07-25 17:36:07 +00:00
Richard M. Stallman
7630911d61 *** empty log message *** 2004-07-24 21:46:27 +00:00
Luc Teirlinck
fc820cc540 (Fcolor_supported_p): Doc fix. 2004-07-24 20:56:59 +00:00
Luc Teirlinck
289978b5e2 (x_icon_verify): New function.
(Fx_create_frame): Use it.

(From Richard M. Stallman.)
2004-07-24 12:52:44 +00:00
Kim F. Storm
63cc10ae7e *** empty log message *** 2004-07-21 22:02:22 +00:00