Commit graph

22461 commits

Author SHA1 Message Date
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
Stefan Monnier
c69b031452 (regex_compile): Remove the `regnum' counter.
Use bufp->re_nsub instead.  Add support for \(?N:RE\).
2007-06-12 18:40:18 +00:00
Glenn Morris
7a9a50d8fc (HAVE_GIF): Doc fix.
(LIBGIF): New (already used by Makefile.in).
2007-06-12 08:16:04 +00:00
Glenn Morris
47d1e061e7 (HAVE_GIF): If -lungif fails, try -lgif. 2007-06-12 08:13:57 +00:00
Stefan Monnier
c9612b8eb1 Include intervals.h to declare Fget_text_property. 2007-06-11 20:08:49 +00:00
Jason Rumney
843d24582c (Fx_file_dialog): Take size from struct not pointer. 2007-06-10 23:38:37 +00:00
Miles Bader
0114082988 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-790
2007-06-09 03:19:04 +00:00
Juanma Barranquero
977f6cfb17 (Fdelete_and_extract_region): Use empty_unibyte_string. 2007-06-08 20:18:14 +00:00
Juanma Barranquero
80bad45fc8 (Fread_file_name): Use empty_unibyte_string. 2007-06-08 20:12:52 +00:00
Juanma Barranquero
b116683c2e (Fmapconcat): Use empty_unibyte_string. 2007-06-08 20:11:56 +00:00
Juanma Barranquero
fcd69a2988 (cmd_error_internal): Use empty_unibyte_string. 2007-06-08 20:11:04 +00:00
Juanma Barranquero
de47a796fe (Fkey_description): Use empty_unibyte_string. 2007-06-08 20:10:01 +00:00
Juanma Barranquero
a2665596dd (read_minibuf): Use empty_unibyte_string. 2007-06-08 20:09:20 +00:00
Juanma Barranquero
c60416e0c7 (wordify): Use empty_unibyte_string. 2007-06-08 20:08:39 +00:00
Juanma Barranquero
f130225375 (sel_read): Use empty_unibyte_string. 2007-06-08 20:07:44 +00:00
Juanma Barranquero
8b3ad11270 (Fx_get_atom_name): Use empty_unibyte_string. 2007-06-08 20:07:10 +00:00
Juanma Barranquero
e78bf986eb (x_term_init): Use empty_unibyte_string. 2007-06-08 20:06:31 +00:00
Juanma Barranquero
db12c2a7e4 (Fformat_mode_line, syms_of_xdisp): Use empty_unibyte_string. 2007-06-08 20:05:03 +00:00
Juanma Barranquero
6ecd75be1a (x_default_scroll_bar_color_parameter):
Use empty_unibyte_string, not empty_string.
2007-06-08 20:01:38 +00:00
Juanma Barranquero
ce33e8eb5f (menu_help_callback): Use empty_unibyte_string, not empty_string. 2007-06-08 20:00:33 +00:00
Juanma Barranquero
4d774b0fe6 (init_strings): Initialize canonical empty strings.
(make_uninit_string, make_uninit_multibyte_string): Return appropriate
canonical empty string when the requested size is 0.
2007-06-08 19:59:46 +00:00
Juanma Barranquero
7e9fa161dc (empty_unibyte_string): Rename from empty_string.
(empty_multibyte_string): New canonical empty string.
(syms_of_emacs): Don't initialize empty_string.
2007-06-08 19:58:33 +00:00
Juanma Barranquero
a74d1c97ee (syms_of_lread, openp): Use empty_unibyte_string, not build_string. 2007-06-08 19:57:46 +00:00
Juanma Barranquero
2c668b9a66 (STRING_SET_UNIBYTE): Return the canonical empty unibyte string, if appropriate.
(empty_unibyte_string, empty_multibyte_string): New externs.
(empty_string): Remove extern.
2007-06-08 19:56:24 +00:00
Jason Rumney
42c4c67a4a (Fcurrent_time_zone): Remove hack for Japanese Windows. 2007-06-07 21:38:10 +00:00
Jason Rumney
4608d82961 Don't define HAVE_TZNAME. 2007-06-07 21:36:48 +00:00
YAMAMOTO Mitsuharu
aa8280d3f3 (mac_get_window_bounds): Move extern from macfns.c.
(FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros.
2007-06-07 08:45:26 +00:00
YAMAMOTO Mitsuharu
7adf314352 (mac_begin_cg_clip): New arg F. Call SetPortWindowPort.
All callers changed so as not to call SetPortWindowPort.
(mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
(mac_draw_image_string_atsui) [USE_ATSUI]: New function created from
mac_draw_string_common.
(mac_draw_image_string_qd): Likewise.
(mac_draw_string_common): Use them.  Add INLINE.
(XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]:
Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and
GetGlobalMouse.
(x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X
and FRAME_OUTER_TO_INNER_DIFF_Y.
[TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise.
[USE_MAC_TSM] (mac_handle_text_input_event): Likewise.
(x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for
repositioning window to mac_handle_window_event.
(x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for
saving window location to mac_handle_window_event
[USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here.
(install_menu_target_item_handler): Remove argument in extern.
[TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers):
Also accept command events.
(do_keystroke): New function created from XTread_socket.
(init_command_handler): Remove functions.
[TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window
and save window location by kEventWindowShowing and kEventWindowHiding
handlers here.  Don't call next handler for window state change and
focus events.
(mac_handle_application_event, mac_handle_keyboard_event)
[TARGET_API_MAC_CARBON]: New functions.
(install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for
kEventWindowShowing and kEventWindowHiding events.  Move installation
of mouse, font, text input and menu target item handlers to
install_application_handler.
(install_application_handler) [TARGET_API_MAC_CARBON]: New function.
(mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
New function.
(init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Register it.
(XTread_socket) [TARGET_API_MAC_CARBON]: Consolidate
SendEventToEventTarget calls.  Use FRAME_OUTER_TO_INNER_DIFF_X and
FRAME_OUTER_TO_INNER_DIFF_Y.  Move application activation handler
to mac_handle_application_event.  Move keyboard handler to
mac_handle_keyboard_event.
(XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke.
(mac_initialize) [TARGET_API_MAC_CARBON]: Don't call
init_command_handler.  Call install_application_handler.
2007-06-07 08:45:00 +00:00
YAMAMOTO Mitsuharu
343bd79426 [MAC_OSX] (install_service_handler): Rename from
init_service_handler.  All callers changed.  Return OSStatus value.
2007-06-07 08:44:47 +00:00
YAMAMOTO Mitsuharu
b52ee0bd9a [TARGET_API_MAC_CARBON] (menu_target_item_handler):
Don't call next handler.
[TARGET_API_MAC_CARBON] (install_menu_target_item_handler):
Remove argument.  Install handler to application.
(set_frame_menubar): Don't change deep_p.
(mac_menu_show):  Use FRAME_OUTER_TO_INNER_DIFF_X and
FRAME_OUTER_TO_INNER_DIFF_Y.
(DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P)
(DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID)
[HAVE_DIALOGS]: New macros.
[HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog):
Use them.
(fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString.
2007-06-07 08:44:33 +00:00
YAMAMOTO Mitsuharu
1f23bcb73b (mac_get_window_bounds): Move extern to macterm.h.
(compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse.
2007-06-07 08:44:14 +00:00
YAMAMOTO Mitsuharu
e50652234f (xrm_get_preference_database): Remove BLOCK_INPUT. 2007-06-07 08:43:58 +00:00
Glenn Morris
5cf9ca93e5 (main): Use `emacs-copyright' in --version output. 2007-06-07 07:23:36 +00:00
Glenn Morris
6926c9548a (emacs-copyright): New constant. 2007-06-07 07:20:11 +00:00
Jason Rumney
fb7ece24ac *** empty log message *** 2007-06-06 21:00:03 +00:00
Jason Rumney
3d4ce9e923 Don't define HAVE_TZNAME. 2007-06-06 20:51:10 +00:00
Chong Yidong
50fe226348 (xpm_load): Remove spurious call to xpm_init_color_cache. 2007-06-06 18:58:56 +00:00
Chong Yidong
e29bb91e05 * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. 2007-06-06 18:58:48 +00:00
Chong Yidong
6cf8ac625b (xpm_load): Remove spurious call to xpm_init_color_cache. 2007-06-06 18:57:12 +00:00
Chong Yidong
6fe04c896c * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. 2007-06-06 18:57:02 +00:00
Chong Yidong
fc13f0a2e6 (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. 2007-06-06 17:09:40 +00:00