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

18585 commits

Author SHA1 Message Date
Eli Zaretskii
412ee2fac4 Ignore message-*. 2004-09-11 15:24:37 +00:00
Jan Djärv
0608b1a02e Must BLOCK/UNBLOCK around x_uncatch_errors. 2004-09-10 18:56:29 +00:00
Eli Zaretskii
21065c92fa (msdos.o): Depend on buffer.h, commands.h, and
blockinput.h.
(dosfns.o): Depend on blockinput.h, window.h, dispextern.h,
charset.h, and coding.h
(w16select.o): Depend on buffer.h, charset.h, coding.h, and
composite.h.
(term.o): Depend on window.h and keymap.h.
(abbrev.o): Depend on syntax.h.
(callint.o): Depend on keymap.h.
(casefiddle.o): Depend on charset.h and keymap.h.
(category.o): Depend on keymap.h.
(coding.o): Depend on dispextern.h.
(cmds.o): Depend on keyboard.h and keymap.h.
(dispnew.o): Depend on indent.h and intervals.h.
(doc.o): Depend on keymap.h.
(editfns.o): Depend on frame.h.
(emacs.o): Depend on dispextern.h.
(fileio.o): Don't depend on ccl.h.
(filelock.o): Depend on charset.h and coding.h.
(frame.o): Depend on w32term.h and macterm.h.
(insdel.o): Depend on region-cache.h.
(keyboard.o): Depend on keymap.h, w32term.h, and macterm.h.
(minibuf.o): Depend on $(INTERVALS_SRC) and keymap.h.
(search.o): Depend on $(INTERVALS_SRC).
(syntax.o): Depend on keymap.h, regex.h, and $(INTERVALS_SRC).
(window.o): Depend on keymap.h, blockinput.h, $(INTERVALS_SRC),
xterm.h, w32term.h, and macterm.h.
(xdisp.o): Depend on keyboard.h, $(INTERVALS_SRC), xterm.h,
w32term.h, and macterm.h.
(xfaces.o): Depend on keyboard.h, $(INTERVALS_SRC),
region-cache.h, xterm.h, w32term.h, and macterm.h.
(bytecode.o): Depend on dispextern.h, frame.h, and xterm.h.
(data.o): Depend on frame.h.
(fns.o): Depend on keymap.h, xterm.h, and blockinput.h.
(print.o): Depend on termchar.h and $(INTERVALS_SRC).
(lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h.
(intervals.o): Depend on keymap.h.
2004-09-10 18:19:37 +00:00
Jan Djärv
844fc08505 * xselect.c (x_reply_selection_request): XSync and UNBLOCK before
x_uncatch_errors so that possible protocol errors are delivered.
2004-09-10 18:04:19 +00:00
Eli Zaretskii
b106731c46 (msdos_set_cursor_shape): Add debugging print-out to termscript. 2004-09-10 17:07:47 +00:00
Richard M. Stallman
64b7122d05 (decode_mode_spec): Use current buffer for most purposes. 2004-09-09 14:53:37 +00:00
Richard M. Stallman
6cb4a89232 (Fset_window_buffer): Doc fix. 2004-09-09 02:10:48 +00:00
Richard M. Stallman
5670531ed8 (Fformat_mode_line): New arg BUFFER says which buffer to use. 2004-09-09 01:30:38 +00:00
Juri Linkov
7e388eb7a2 *** empty log message *** 2004-09-08 20:14:58 +00:00
Juri Linkov
0da4d471d9 (history_delete_duplicates): New variable.
(read_minibuf): Use it.
(syms_of_minibuf): Create the corresponding lisp variable.
2004-09-08 20:06:13 +00:00
Kim F. Storm
bc9447bc28 (set_cursor_from_row): Also look at 'cursor' property in
overlay just before point.
2004-09-08 11:37:16 +00:00
Kim F. Storm
370e3587d5 *** empty log message *** 2004-09-08 11:36:27 +00:00
Luc Teirlinck
a020987fb7 *** empty log message *** 2004-09-08 03:26:24 +00:00
Luc Teirlinck
f844ba4efd Delete declaration for removed Vauto_save_file_format.
(build_annotations): Adapt to replacement of `auto-save-file-format'
with the new buffer-local variable `buffer-auto-save-file-format'.
(syms_of_fileio): Delete DEFVAR_LISP for auto-save-file-format.
2004-09-08 02:30:12 +00:00
Luc Teirlinck
71ed49fa37 (reset_buffer, init_buffer_once): Handle auto_save_file_format field.
(syms_of_buffer): Add DEFVAR_PER_BUFFER for `buffer-auto-save-file-format'.
2004-09-08 02:23:55 +00:00
Luc Teirlinck
dc511a66bc (struct buffer): Add auto_save_file_format field. 2004-09-08 02:21:45 +00:00
Jason Rumney
f0f90717f8 (AppendMenuW_Proc): Move declaration to w32term.h. 2004-09-07 21:50:39 +00:00
Jason Rumney
ee8062ffac (AppendMenuW_Proc): Move declaration from w32menu.c. 2004-09-07 21:49:14 +00:00
Jason Rumney
b400534923 (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: Handle
Unicode menu titles.
2004-09-07 21:48:37 +00:00
Kim F. Storm
4e14f66cdf *** empty log message *** 2004-09-07 21:16:01 +00:00
Kim F. Storm
a01c5155e8 (set_cursor_from_row): Fix last change. Only use 'cursor'
property from text property or overlay strings at point.
2004-09-07 20:53:43 +00:00
Stefan Monnier
1806714ad8 (update_submenu_strings): YAILOM.
(set_frame_menubar): Make sure last_i is initialized.
2004-09-07 05:52:52 +00:00
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