1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

18563 commits

Author SHA1 Message Date
Richard M. Stallman
4bc6a87206 *** empty log message *** 2004-09-03 21:34:11 +00:00
Richard M. Stallman
70567d1c18 Fix line breaks to follow Emacs conventions. 2004-09-03 20:43:38 +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
Kim F. Storm
cc2734ee76 (set_cursor_from_row): Look for non-nil `cursor' property
in overlay or text-property strings; set cursor on corresponding
glyph rather than at end of the string.
2004-09-02 22:34:07 +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
Steven Tamm
640a07706b (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:02:11 +00:00
Steven Tamm
b15de4146b (note_mouse_highlight): Set the mouse pointer shape to
nontext_cursor if it is on a scroll bar.
2004-09-02 17:01:20 +00:00
Steven Tamm
404e4b841e (x_update_end): Move SetPortWindowPort to inside
BLOCK_INPUT.
(x_set_offset): Use FRAME_MAC_WINDOW.
2004-09-02 17:00:55 +00:00
Steven Tamm
a8e080143b (add_menu_item): Remove unused variable `i'. Don't
let separator items destroy refence constants of other menu items.
2004-09-02 17:00:36 +00:00
Steven Tamm
b3459c95eb (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.
2004-09-02 17:00:12 +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
745e0c15bb Fix typo in last checkin 2004-08-31 22:48:41 +00:00
Jason Rumney
63e50ea672 2004-08-31 NAKAMURA Toshikazu <nr-tkz@nifty.com> (tiny change)
* w32fns.c (w32_load_font): If a BDF font is already loaded, do not
	reload it.
2004-08-31 22:43:26 +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
5560d460b3 Fix typo in comment string. 2004-08-30 20:31:09 +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
Steven Tamm
2222855e83 Fixing whitespace style issue with #define 2004-08-29 16:56:17 +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
Richard M. Stallman
f1c206fcfb (process_send_signal) [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]:
If there's no char for this signal, drop through and use system calls.
2004-08-22 17:45:36 +00:00
Richard M. Stallman
6320244170 (Fbyte_code) <unwind-protect>: Cannot GC. 2004-08-22 17:43:26 +00:00
Kim F. Storm
d64b707cb1 Rename wait_reading_process_input to wait_reading_process_output. 2004-08-20 10:34:12 +00:00
Kim F. Storm
214d60691b (wait_reading_process_output): Rename from
wait_reading_process_input.  All uses changed.
(wait_reading_process_output_1): Rename from
wait_reading_process_input_1.  All uses changed.
2004-08-20 10:33:25 +00:00
Kim F. Storm
dcd1ca45ed (Fsleep_for): Remove obsolete code.
Rename wait_reading_process_input to wait_reading_process_output.
2004-08-20 10:33:05 +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
Kenichi Handa
1ad6e4db01 (skip_chars): Fix for unibyte case. 2004-08-20 08:46:50 +00:00
Stefan Monnier
27615979e5 *** empty log message *** 2004-08-19 22:30:02 +00:00
Stefan Monnier
789f332078 (back_comment): Fixup globals in all cases. 2004-08-19 22:17:59 +00:00
Stefan Monnier
709a47ceff (char_quoted): Mixup byte/char pos. 2004-08-19 19:00:58 +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
bb41f093dd Adapt to new wait_reading_process_input args. 2004-08-19 13:59:28 +00:00
Kim F. Storm
b89a415ab1 * process.c (wait_reading_process_input): Clean up.
Add wait_for_cell, wait_proc, and just_wait_proc args
to avoid overloading `read_kbd' and `do_display' args.
Change read_kbd arg to int.  All callers changed.
2004-08-19 13:57:17 +00:00
Kim F. Storm
6ba0f14c1f *** empty log message *** 2004-08-19 13:56:39 +00:00
Kim F. Storm
fa51fa32b7 (child_setup_tty, init_sys_modes): Use CDISABLE. 2004-08-19 10:08:15 +00:00
Kim F. Storm
ca4313d5ab (process_send_signal): Use CDISABLE. 2004-08-19 10:08:00 +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
Kim F. Storm
107ed38d4b (Faccept_process_output): Add arg JUST-THIS-ONE;
forward to wait_reading_process_input via DO_DISPLAY arg.
(wait_reading_process_input): If DO_DISPLAY < 0 for a process
object, only process output from that process; also inhibit
running timers if DO_DISPLAY==-2.
2004-08-17 22:24:29 +00:00
Kim F. Storm
be16bf871e (process_send_signal): Fix last change--use
_POSIX_VDISABLE instead of CVDISABLE when available.
2004-08-17 21:59:07 +00:00