1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00
Commit graph

26019 commits

Author SHA1 Message Date
Chong Yidong
a08ea1818b Additional redefinitions for GNU/Linux. 2008-04-25 14:30:52 +00:00
Chong Yidong
27af566c2e * m/sparc.h: Additional redefinitions for GNU/Linux. 2008-04-25 14:30:32 +00:00
Glenn Morris
9ea37b9ddd Fix dates of merge entries. 2008-04-24 05:40:09 +00:00
Miles Bader
08861c5cb8 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1126
2008-04-24 05:11:07 +00:00
Stefan Monnier
dbd50d4b77 * lisp/minibuffer.el (read-file-name-function, read-file-name-predicate)
(read-file-name-completion-ignore-case, insert-default-directory):
New vars, moved from fileio.c.
(read-file-name): New fun, moved from fileio.c.
* lisp/cus-start.el: Remove insert-default-directory and
read-file-name-completion-ignore-case.
* src/fileio.c (Vread_file_name_function, Vread_file_name_predicate)
(read_file_name_completion_ignore_case, insert_default_directory)
(Qdefault_directory): Move to minibuffer.el.
(Fread_file_name): Call the new `read-file-name' instead.
2008-04-23 18:19:57 +00:00
YAMAMOTO Mitsuharu
1289aeb85c (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]:
Make functions non-static.
2008-04-23 08:56:42 +00:00
YAMAMOTO Mitsuharu
415cf4bcd1 (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern.
(fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range):
(mac_ax_number_of_characters): Add externs.
(mac_get_selected_range, mac_store_buffer_text_to_unicode_chars)
[USE_MAC_TSM]: Likewise.
(mac_handle_text_input_event) [MAC_OSX]:
Handle kEventTextInputOffsetToPos for no active input area case.
Handle kEventTextInputPosToOffset and kEventTextInputGetSelectedText.
(mac_handle_document_access_event)
[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New function.
(install_application_handler) [MAC_OSX]: Register handlers for
kEventTextInputPosToOffset and kEventTextInputGetSelectedText.
(install_application_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Register mac_handle_document_access_event.
2008-04-23 08:56:20 +00:00
YAMAMOTO Mitsuharu
e1adb1392e (Vmac_ts_active_input_buf) [USE_MAC_TSM]: New variable.
(syms_of_macterm) [USE_MAC_TSM]: Defvar it.
(Qmouse_drag_overlay) [MAC_OSX]: New variable.
(syms_of_macterm) [MAC_OSX]: Intern and staticpro it.
(mac_get_selected_range, mac_store_buffer_text_to_unicode_chars)
(mac_ax_selected_text_range) [MAC_OSX]: New functions.
(mac_ax_number_of_characters) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Likewise.
2008-04-23 08:56:12 +00:00
Miles Bader
a113b3ca32 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
2008-04-23 05:55:42 +00:00
Juri Linkov
88970542ac (Fswitch_to_buffer): Change interactive spec to call
read-buffer-to-switch instead of using the letter "B".
2008-04-22 19:49:26 +00:00
Stefan Monnier
92ec67e363 (Qdefault_directory): New variable.
(Fread_file_name): Use it to pass `dir' to the completion functions.
2008-04-21 21:26:02 +00:00
Juanma Barranquero
2a2e8de7c0 *** empty log message *** 2008-04-20 23:51:53 +00:00
Chong Yidong
67643d4b86 (pos_visible_p): Check if iterator stops on a display string. 2008-04-20 22:46:14 +00:00
Chong Yidong
a32b2382da * xdisp.c (pos_visible_p): Check if iterator stops on a display
string.
2008-04-20 22:46:03 +00:00
Stefan Monnier
6ddfc11361 (syms_of_minibuf) <minibuffer-completing-file-name>: Fix docstring. 2008-04-19 21:44:46 +00:00
Stefan Monnier
ece5f84750 * tooltip.el (tooltip-previous-message): New var.
(tooltip-show-help-non-mode): Rewrite to better follow the behavior of the
C code (avoid overwriting a minibuffer, restore previous echo message, ...).
(tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt): Simplify.
* keyboard.c (Vpre_help_message): Remove.
(show_help_echo): Remove default C code.
2008-04-19 19:30:53 +00:00
Stefan Monnier
6c8b4f07d1 (directory_files_internal, file_name_completion):
Only call ENCODE_FILE if the string is indeed decoded.
2008-04-19 03:09:47 +00:00
YAMAMOTO Mitsuharu
81fe843b5a (Vmac_ts_script_language_on_focus)
(saved_ts_script_language_on_focus) [USE_MAC_TSM]: Remove externs.
(XTread_socket) [USE_MAC_TOOLBAR]: Select window if its structure part
is clicked.
(x_activate_menubar): Remove extern for saved_menu_event_location.
(create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]:
Move from mac.c.
2008-04-19 01:25:50 +00:00
YAMAMOTO Mitsuharu
e4aae3c837 (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window
instead of WindowRef in argument type.
(create_apple_event_from_event_ref, create_apple_event_from_drag_ref)
[TARGET_API_MAC_CARBON]: Remove externs.
(create_apple_event, mac_event_parameters_to_lisp)
[TARGET_API_MAC_CARBON]: Add externs.
2008-04-19 01:25:15 +00:00
YAMAMOTO Mitsuharu
834263b66b (mac_draw_image_string_atsui) [MAC_OSX]: Use CGFloat
instead of float.
(mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise.
(init_cg_color, mac_draw_line, mac_draw_cg_image, XSetForeground)
(XSetBackground) [USE_CG_DRAWING]: Likewise.
(mac_draw_image_string_atsui) [MAC_OSX]: Use mac_rect_make instead of
CGRectMake.
(mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise.
(mac_erase_rectangle, mac_draw_cg_image, mac_fill_rectangle)
(mac_set_clip_rectangles) [USE_CG_DRAWING]: Likewise.
(XCreatePixmap, XCreatePixmapFromBitmapData): Use Window
instead of WindowRef in argument type.
(XCreatePixmap) [!MAC_OS8]: Don't call SetPortWindowPort.
(mac_invert_rectangle): Use CGContextSetBlendMode if available.
(mac_set_clip_rectangles, mac_reset_clip_rectangles): Take argument F
instead of DISPLAY.  All uses changed.
(mac_handle_size_change): Don't call SET_FRAME_GARBAGED.
(x_calc_absolute_position): Simplify so as not to use
FRAME_PIXEL_WIDTH/FRAME_PIXEL_HEIGHT.
(Vmac_ts_script_language_on_focus, saved_ts_script_language_on_focus)
[USE_MAC_TSM]: Make variables static.
(mac_store_event_ref_as_apple_event) [TARGET_API_MAC_CARBON]:
Don't use create_apple_event_from_event_ref.
Use mac_event_parameters_to_lisp.
2008-04-19 01:25:06 +00:00
YAMAMOTO Mitsuharu
15364c8fb7 (CGFloat) [!CGFLOAT_DEFINED]: New typedef.
(mac_rect_make): New macro.
2008-04-19 01:24:57 +00:00
YAMAMOTO Mitsuharu
d421d4d8fc (create_apple_event) [TARGET_API_MAC_CARBON]:
Make function non-static.
(create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]:
Remove function.
(create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]:
Move to mactoolbox.c.
(mac_event_parameters_to_lisp) [TARGET_API_MAC_CARBON]: New function.
2008-04-19 01:24:47 +00:00
Stefan Monnier
8a7d918328 *** empty log message *** 2008-04-18 15:48:57 +00:00
Stefan Monnier
73d798d5ae * configure.in: Define USE_LUCID/USE_MOTIF in config.h.
* lwlib/Makefile.in (TOOLKIT_DEFINES): Remove.
* src/Makefile.in (TOOLKIT_DEFINES): Remove.
(LIBW): Use a bit less #if, remove left over OPEN_LOOK stuff.
2008-04-18 15:48:06 +00:00
Stefan Monnier
5556875b18 (Fmultibyte_char_to_unibyte): Return latin1 chars unchanged. 2008-04-18 03:26:55 +00:00
Miles Bader
d02fe47dd3 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1112
2008-04-18 02:56:45 +00:00
Stefan Monnier
8ee085a488 (Fexpand_file_name): Refine last fix so `nm' is only
relocated if it points to `name'.
2008-04-18 02:26:05 +00:00
Kenichi Handa
5dff5999c4 (Faset): Allow setting a multibyte character in an
ASCII-only unibyte string.
2008-04-17 01:11:11 +00:00
Kenichi Handa
94ef4d69c1 (STRING_SET_MULTIBYTE): New macro. 2008-04-17 01:09:57 +00:00
Stefan Monnier
a51f496902 * configure.in (SYNC_INPUT): Use OPTION_DEFAULT_ON and AC_DEFINE
rather than change CPPFLAGS.
(HAVE_GTK): Rename to USE_GTK.
* Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now
done in config.h.
2008-04-16 19:53:06 +00:00
Juanma Barranquero
add553ac7e (Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction):
Add usage in the docstring.
2008-04-16 11:37:21 +00:00
Stefan Monnier
db75cb5fd7 (print-quoted): Docstring update. 2008-04-16 00:30:43 +00:00
Chong Yidong
07024c436a (read_key_sequence): Remove always-true checks. 2008-04-15 23:36:02 +00:00
Chong Yidong
8ad7b280ea * keyboard.c (read_key_sequence): Remove always-true checks. 2008-04-15 23:35:01 +00:00
Michael Albinus
9ec3aaef2b *** empty log message *** 2008-04-14 18:44:04 +00:00
Jason Rumney
e157d7babc (w32font_open_internal): Set max_bounds.descent in
compatibility struct, for better underline positioning.
2008-04-14 16:16:01 +00:00
Michael Albinus
48f7d2134f * dbusbind.c (dbus-get-unique-name): Remove extra copying of name string. 2008-04-13 16:29:55 +00:00
Dan Nicolaescu
36c0886413 (XUINT, XSET): Remove. 2008-04-12 17:09:19 +00:00
Juanma Barranquero
f5acc07172 (Fexpand_file_name): Add declaration for `p' missing in previous change. 2008-04-12 09:15:10 +00:00
Stefan Monnier
5b5a2ea177 (Fexpand_file_name): Tighten the scope of p' and o' vars.
Relocate `nm' after calling DECODE_FILE, in case the GC was run.
2008-04-12 05:12:18 +00:00
YAMAMOTO Mitsuharu
a1b41389e4 [!SYSTEM_MALLOC && !SYNC_INPUT] (uninterrupt_malloc)
[HAVE_GTK_AND_PTHREAD && !DOUG_LEA_MALLOC]: Don't use recursive mutex.
2008-04-12 01:59:22 +00:00
Stefan Monnier
492d9fd6bc * keymap.h (map_keymap_canonical): Declare.
* xmenu.c (single_keymap_panes): Use it.
2008-04-11 15:35:41 +00:00
Katsumi Yamaoka
da44dd8487 (BASE_PURESIZE): Increase to 1140000. 2008-04-11 10:23:49 +00:00
Glenn Morris
dd60787c17 (Fdefvaralias): If the alias is bound and the target is not, set the
target's value to that of the alias.
2008-04-11 03:41:34 +00:00
Stefan Monnier
c23b5410c5 (set_tty_color_mode): Left over typo. 2008-04-11 01:40:41 +00:00
Michael Albinus
474d35ca3f * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK
only after check for file name handler functions. Signal, when
native functionality is not supported.
(syms_of_fileio): Declare it unconditionally.
2008-04-10 20:47:59 +00:00
Michael Albinus
e89b536d4b * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK
only after check for file name handler functions. Signal, when
native functionality is not supported.
(syms_of_fileio): Declare it unconditionally.
2008-04-10 20:35:54 +00:00
Jason Rumney
31403b2446 (is_simple_dialog, simple_dialog_show): New functions.
(Fx_popup_dialog): Handle simple yes/no questions as dialogs.
2008-04-10 15:20:07 +00:00
Jason Rumney
40a339c881 (logon_network_drive): Also logon to remote drives that
are mapped to drive letters.
2008-04-10 11:38:15 +00:00
Jason Rumney
bd73563158 Fix last change. 2008-04-10 10:44:51 +00:00