1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 08:31:09 -08:00
Commit graph

22501 commits

Author SHA1 Message Date
Richard M. Stallman
ef8878109c (Vinhibit_changing_match_data, search_regs_1): New vars.
(looking_at_1): Don't change search_regs and last_thing_searched
if `inhibit-changing-match-data' is non-nil.
(string_match_1, search_buffer, set_search_regs): Likewise.
(syms_of_search): Add Lisp level definition for
`inhibit-changing-match-data' and set it to nil.
(boyer_moore): If `inhibit-changing-match-data' is non-nil,
compute start and end of the match, instead of using values in search_regs.
2007-07-10 03:49:44 +00:00
Stefan Monnier
4d02fc2564 (Fcompleting_read): New value confirm-only' for require-match'. 2007-07-01 01:57:21 +00:00
Stefan Monnier
fe45b81f90 (Fdo_auto_save): Revert last patch installed unwillingly as
part of the 2007-06-27 change to syms_of_fileio.
2007-06-28 20:21:13 +00:00
YAMAMOTO Mitsuharu
a56dd283e4 [USE_MAC_TSM] (mac_handle_text_input_event):
Check WINDOWP before using XWINDOW.  Consolidate return statements.
2007-06-28 10:09:00 +00:00
Richard M. Stallman
0cf9f5b5e9 (syms_of_fileio) <after-insert-file-functions>: Doc fix. 2007-06-27 23:30:08 +00:00
Juanma Barranquero
a66f285afd (syms_of_buffer) <selective-display>: Fix typo in docstring. 2007-06-27 11:36:59 +00:00
YAMAMOTO Mitsuharu
8d0d84d25d [HAVE_GTK_AND_PTHREAD] Check this after including config.h.
(_aligned_blocks_mutex) [USE_PTHREAD]: New variable.
(LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros.
(_free_internal, memalign): Use them.
(_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]:
Initialize to PTHREAD_MUTEX_INITIALIZER.
(malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex.
(morecore_nolock): Rename from morecore.  All uses changed.
Use only nolock versions of internal allocation functions.
(_malloc_internal_nolock, _realloc_internal_nolock)
(_free_internal_nolock): New functions created from
_malloc_internal, _realloc_internal, and _free_internal.
(_malloc_internal, _realloc_internal, _free_internal): Use them.
Copy hook value to automatic variable before its use.
(memalign): Copy hook value to automatic variable before its use.
2007-06-26 03:28:17 +00:00
Kenichi Handa
5a0bbd9ae9 (Ffind_operation_coding_system): Docstring improved.
(syms_of_coding): Docstring of `file-coding-system-alist' improved.
2007-06-26 00:26:46 +00:00
David Kastrup
9a51747bac * keymaps.texi (Active Keymaps): Document new POSITION argument of
`current-active-maps'.

* keymap.c (Fcurrent_active_maps): Add `position' argument.
(Fwhere_is_internal): Adjust call to `current-active-maps' to
cater for additional parameter.

* keymap.h: Adjust number of parameters to `current-active-maps'.

* doc.c (Fsubstitute_command_keys): Adjust call of
`current-active-maps'.
2007-06-25 20:53:48 +00:00
David Kastrup
e43054262b (Fcall_interactively): Make the parsing of interactive
specs somewhat more readable.
2007-06-25 19:48:37 +00:00
Juanma Barranquero
1e0d2d6027 *** empty log message *** 2007-06-24 22:53:02 +00:00
YAMAMOTO Mitsuharu
511a18d9e2 (x_draw_fringe_bitmap) [MAC_OSX]: Fix last change. 2007-06-23 01:53:51 +00:00
YAMAMOTO Mitsuharu
e855c5d81e (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background
to scroll bar gap also when bitmap fills fringe.  Draw only foreground
if extended background has already been filled.
2007-06-23 01:50:22 +00:00
YAMAMOTO Mitsuharu
512eb16107 (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]:
Put special treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p
in #if 0 as it is not compatible with y-or-n-p-with-timeout.
(timer_check) [TARGET_API_MAC_CARBON]: Add extern.
[TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop
instead of QuitAppModalLoopForWindow.  Consolidate QuitEventLoop calls.
(pop_down_dialog) [TARGET_API_MAC_CARBON]: New function.
[TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind.
Run timers during dialog popup.
(Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated.
2007-06-22 09:05:55 +00:00
YAMAMOTO Mitsuharu
aab3344421 (USE_CG_DRAWING): Don't require USE_ATSUI.
(USE_MAC_TOOLBAR): Require USE_CG_DRAWING.
2007-06-22 09:05:25 +00:00
Jason Rumney
2386b1f188 (convert_mono_to_color_image): Swap fore and background. 2007-06-21 23:02:14 +00:00
Jason Rumney
fab8b787ff (w32_BDF_to_x_font): Unmap memory when finished.
(w32_free_bdf_font): Unmap memory not handle.
2007-06-20 21:32:32 +00:00
Juanma Barranquero
15bdd7a08f *** empty log message *** 2007-06-20 14:25:54 +00:00
Sam Steingold
3cacba85d9 (__morecore): Fix the declaration to comply with the definition. 2007-06-20 12:18:47 +00:00
Nick Roberts
d7504a3f57 *** empty log message *** 2007-06-20 10:06:04 +00:00
Juanma Barranquero
1bb8a291f6 (w32_delete_display): Remove leftover declaration.
(w32_define_cursor, w32_initialize): Make static.
2007-06-20 08:35:55 +00:00
Juanma Barranquero
aa5ee2a374 (_wsa_errlist): Fix typo in error message.
(init_environment): Ignore any environment variable
from the registry having a null value.
2007-06-20 08:31:09 +00:00
Glenn Morris
31840c4328 (LIBGIF): Default to -lgif. 2007-06-20 07:51:59 +00:00
Glenn Morris
92648dea00 Regenerate. 2007-06-20 07:51:47 +00:00
Jason Rumney
ff25d11542 (add_menu_item): Don't use multibyte string functions on
unicode strings.
2007-06-17 22:11:16 +00:00
Juanma Barranquero
a1a578a5cf (syms_of_xdisp) <auto-resize-tool-bars>: Fix typo in docstring. 2007-06-17 01:48:59 +00:00
Eli Zaretskii
af41f8a8d6 (add_menu_item): Escape `&' characters in menu items and their keybindings. 2007-06-16 18:13:15 +00:00
Chong Yidong
9657d668ee (update_compositions): Fix last fix. 2007-06-15 00:02:03 +00:00
Chong Yidong
8b29cab910 * composite.c (update_compositions): Fix last fix. 2007-06-15 00:01:45 +00:00
Jason Rumney
c433c134bc (Fget_internal_run_time) [WINDOWSNT]: Use w32_get_internal_run_time. 2007-06-14 15:59:58 +00:00
Jason Rumney
7425851806 (get_process_times_fn): New function pointer.
(globals_of_w32): Intialize it if present in kernel32.dll.
(w32_get_internal_run_time): New function.
2007-06-14 15:58:13 +00:00
Kenichi Handa
553d316401 (update_compositions): Check the validness of
compositions.
2007-06-14 12:33:56 +00:00
Juanma Barranquero
10aabbf959 (init_user_info): Fix weird formatting not following GNU coding guidelines. 2007-06-14 10:01:04 +00:00
YAMAMOTO Mitsuharu
446ba96f1f (update_tool_bar, redisplay_tool_bar, redisplay_window)
[USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display.
2007-06-14 08:40:24 +00:00
YAMAMOTO Mitsuharu
a28c8af389 (struct mac_output) [USE_MAC_TOOLBAR]: New member
toolbar_win_gravity.
(struct scroll_bar) [MAC_OSX]: New member fringe_extended_p.
(update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]:
Add externs.
2007-06-14 08:39:40 +00:00
YAMAMOTO Mitsuharu
c6829f81ad (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe
background to scroll bar gap.
(x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p.
(XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost
scroll bars on frame edge.  Check fringe background extension.
Don't clear extended fringe background area.
(TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER)
(TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P)
(TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID):
[USE_MAC_TOOLBAR]: New macros.
(mac_move_window_with_gravity, mac_get_window_origin_with_gravity)
(mac_handle_toolbar_event, mac_image_spec_to_cg_image)
(mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar)
(mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event)
[USE_MAC_TOOLBAR]: New functions.
(mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window
manually if previous repositioning has failed.
(mac_handle_keyboard_event): Use precomputed event kind.
(XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region
as tool bar item click.  Handle mouse movement over tool bar items.
2007-06-14 08:39:29 +00:00
YAMAMOTO Mitsuharu
1bd0c76127 [TARGET_API_MAC_CARBON] (menu_target_item_handler):
Return immediately unless popup is activated.
2007-06-14 08:39:19 +00:00
YAMAMOTO Mitsuharu
841fb47f3b (USE_MAC_TOOLBAR): New define. 2007-06-14 08:39:07 +00:00
YAMAMOTO Mitsuharu
cccda642c8 (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity.
(x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR.
2007-06-14 08:38:52 +00:00
YAMAMOTO Mitsuharu
66d8c4894d (struct frame) [MAC_OS]: New member external_tool_bar.
(FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it.
2007-06-14 08:38:42 +00:00
Chong Yidong
cf26ebe85b (search_image_cache): Remove unused variable. 2007-06-14 01:48:01 +00:00
Chong Yidong
9720173f1d * image.c (search_image_cache): Remove unused variable. 2007-06-14 01:47:53 +00:00
Chong Yidong
1217dd0092 * xfns.c, xmenu.c: Link to xaw3d if available. 2007-06-13 17:35:40 +00:00
Chong Yidong
a6ec6cfb60 Fix last fix. 2007-06-13 17:35:27 +00:00
Chong Yidong
8ab9202e27 Link to xaw3d if available. 2007-06-13 17:35:14 +00:00
Chong Yidong
5262c5c746 Link to xaw3d if available. 2007-06-13 17:34:30 +00:00
YAMAMOTO Mitsuharu
c5b8e0eaed (lookup_image): Save frame foreground and background colors.
(search_image_cache): Check if saved and current frame colors match.
2007-06-13 08:22:12 +00:00
YAMAMOTO Mitsuharu
f6b5464848 (struct image) [HAVE_WINDOW_SYSTEM]: New members
frame_foreground and frame_background.
2007-06-13 08:21:35 +00:00
Glenn Morris
1486bdf77a Remove log entry for generated file. 2007-06-13 06:03:00 +00:00
Glenn Morris
d9158c26b9 Regenerate, rather than applying previous changes by hand. 2007-06-13 06:02:22 +00:00