Chong Yidong
5fc6520d96
(set_window_buffer): Revert 2006-11-22 change.
2007-01-20 21:03:39 +00:00
Chong Yidong
49a17db31c
(try_window): Clear mouse-face highlights first.
2007-01-20 21:03:22 +00:00
Chong Yidong
7d10072747
* xdisp.c (try_window): Clear mouse-face highlights first.
...
* window.c (set_window_buffer): Revert 2006-11-22 change.
2007-01-20 21:03:10 +00:00
Eli Zaretskii
4e251bd154
*** empty log message ***
2007-01-20 16:20:19 +00:00
Eli Zaretskii
2d5ed88d31
(ppt, xtype, xmisctype, xint, xptr, xmarker, xframe)
...
(xbuffer, xcons, xcar, xcdr): Fix doc strings.
2007-01-20 15:33:34 +00:00
Chong Yidong
602ae44c18
(read_key_sequence): Extract local map only if the
...
given position is in an accessible buffer region.
2007-01-20 02:11:03 +00:00
Chong Yidong
25170427ab
* keyboard.c (read_key_sequence): Extract local map only if the
...
given position is in an accessible buffer region.
2007-01-20 02:10:19 +00:00
Nick Roberts
89955f2e02
Reformat documentation so that first sentence
...
displays properly with "help user-defined" (like apropos).
2007-01-19 04:17:28 +00:00
Nick Roberts
acb3852916
*** empty log message ***
2007-01-19 04:17:00 +00:00
Chong Yidong
d1f13efc5e
Attribution fix.
2007-01-18 16:19:20 +00:00
Chong Yidong
ecd44c04ee
Correct attribution.
2007-01-18 16:03:59 +00:00
Chong Yidong
59f763e7e7
Move PATH_DOC from local/info to local/share/info.
2007-01-18 16:01:36 +00:00
Chong Yidong
4a75434ad7
* epaths.in: Move PATH_DOC from local/info to local/share/info.
2007-01-18 16:01:23 +00:00
YAMAMOTO Mitsuharu
a35c8b708a
*** empty log message ***
2007-01-15 08:36:42 +00:00
YAMAMOTO Mitsuharu
bd619af503
(Fmac_resume_apple_event): Set error number when
...
descriptor type of reply is non-null.
2007-01-15 08:36:29 +00:00
YAMAMOTO Mitsuharu
9a5a6add27
[TARGET_API_MAC_CARBON] (create_and_show_dialog):
...
Create movable modal window instead of movable alert window.
[TARGET_API_MAC_CARBON] (create_and_show_dialog) [!MAC_OSX]: Use
DeactivateControl instead of DisableControl.
2007-01-15 08:35:49 +00:00
YAMAMOTO Mitsuharu
28c96b4d92
[TARGET_API_MAC_CARBON] (create_and_show_dialog): Use
...
DisableControl for disabled items. Set default button to first
enabled one. Use icon of application in execution.
2007-01-14 07:58:02 +00:00
Glenn Morris
429ab54e01
Update copyright for years from Emacs 21 to present (mainly adding
...
2001).
2007-01-14 03:38:22 +00:00
Eli Zaretskii
d30fe7798a
(Fdelete_process, Fprocess_id, sigchld_handler): Copy PID into EMACS_INT
...
to avoid GCC warnings.
2007-01-13 21:58:23 +00:00
Eli Zaretskii
9bd1cd35fe
(maybe_resize_hash_table): Copy new size of hash table into EMACS_INT to avoid
...
GCC warnings.
2007-01-13 21:47:31 +00:00
Eli Zaretskii
3aef3c0adf
(Fuser_uid, Fuser_real_uid): Copy values returned by geteuid and getuid
...
into EMACS_INT to avoid GCC warnings.
2007-01-13 21:46:02 +00:00
Eli Zaretskii
345c6b2420
(Ffile_attributes): Fix last change.
2007-01-13 21:45:34 +00:00
Eli Zaretskii
b55445d6ba
(Ffile_attributes): Copy some members of `struct stat' into int's to avoid
...
GCC warnings about limited range of short in arguments to FIXNUM_OVERFLOW_P.
2007-01-12 15:55:49 +00:00
YAMAMOTO Mitsuharu
37370cea41
(mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX.
...
(HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions.
2007-01-12 09:00:54 +00:00
YAMAMOTO Mitsuharu
c857519ff4
(x_free_frame_resources) [USE_CG_DRAWING]: Call
...
mac_prepare_for_quickdraw.
(quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs
outside #ifdef MAC_OSX.
(mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function
outside #ifdef MAC_OSX.
(mac_check_bundle) [MAC_OSX]: Remove unused function.
2007-01-12 09:00:24 +00:00
YAMAMOTO Mitsuharu
28eabd14f7
(HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON.
...
(mac_handle_dialog_event, install_dialog_event_handler)
(create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions.
(DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN)
(DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH)
(DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE)
(DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH)
(DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE)
(DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN)
(DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros.
(mac_dialog) [TARGET_API_MAC_CARBON]: Remove function.
(mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog.
2007-01-12 09:00:16 +00:00
Jan Djärv
959dc6015a
(BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal,
...
block/unblock SIGIO.
2007-01-11 19:22:04 +00:00
Stefan Monnier
c5c6b2cc68
(Fformat): Allow integer-format to work with floats of size
...
larger than most-positive-fixnum (but still smaller than MAXINT).
2007-01-10 03:50:19 +00:00
Stefan Monnier
8b9ae6b046
(Ffile_attributes): Use floats for large uids/gids.
2007-01-10 03:44:49 +00:00
Eli Zaretskii
c7ed32766f
(syms_of_emacs) <path-separator>: Doc fix.
2007-01-09 22:35:34 +00:00
YAMAMOTO Mitsuharu
5d348d3ff0
(FONT_MAX_WIDTH): Remove unused macro.
...
(XCreateGC): Change type in extern.
(XDrawLine): Rename from mac_draw_line_to_pixmap.
(mac_quit_char_key_p) [MAC_OSX]: Add extern.
2007-01-09 08:54:23 +00:00
YAMAMOTO Mitsuharu
a84cad70cc
(XDrawLine): Rename from mac_draw_line_to_pixmap.
...
(XCreateGC): Change type of 2nd argument to void *.
(XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Fix last change.
(mac_to_emacs_modifiers): Change return type to int.
[USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise.
(mac_mapped_modifiers): New function.
(XTread_socket): Use it.
[USE_TSM] (mac_handle_text_input_event): Likewise.
(do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
(mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]: Remove
variables.
(mac_determine_quit_char_modifiers, init_quit_char_handler)
[MAC_OSX]: Remove functions.
(make_ctrl_char) [MAC_OSX]: Add extern.
(mac_quit_char_key_p) [MAC_OSX]: New function.
(mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler.
2007-01-09 08:53:59 +00:00
YAMAMOTO Mitsuharu
7dcebea43a
(mac_dialog_modal_filter) [MAC_OSX]: New function.
...
(Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from
Fmessage_box, Fyes_or_no_p, or Fy_or_n_p.
[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler): Use
mac_quit_char_key_p.
2007-01-09 08:53:48 +00:00
YAMAMOTO Mitsuharu
b0b2caf8cf
(Display): Typedef to opaque type.
2007-01-09 08:53:41 +00:00
YAMAMOTO Mitsuharu
ae8279db78
(XDrawLine) [MAC_OS]: Remove macro.
...
(XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise.
(x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of
XCreateGC_pixmap.
2007-01-09 08:53:34 +00:00
YAMAMOTO Mitsuharu
d277f1f71e
(Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT
...
around mkstemp.
2007-01-09 08:53:26 +00:00
Jan Djärv
4c1803901d
(init_keyboard): Initialize interrupt_input_blocked and
...
interrupt_input_pending.
2007-01-08 17:58:38 +00:00
Jan Djärv
287110f561
(x_display_info): New: net_supported_atoms,
...
nr_net_supported_atoms and net_supported_window.
2007-01-08 17:56:53 +00:00
Jan Djärv
1c8591d04c
New variable last_user_time.
...
(handle_one_xevent): Set last_user_time from events that have Time.
Set net_supported_window to 0 when reparented.
(wm_supports): New function.
(do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE.
(x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms
and net_supported_window.
2007-01-08 17:56:31 +00:00
Kim F. Storm
9e313cc122
(Fvertical_motion): Fix IT overshoot check for overlay
...
strings without embedded newlines immediately followed by newline.
2007-01-05 15:00:45 +00:00
Kim F. Storm
5be7098123
*** empty log message ***
2007-01-05 15:00:17 +00:00
YAMAMOTO Mitsuharu
1675bac73f
(MAC_EMACS_CREATOR_CODE): New enumerator.
2007-01-05 08:30:33 +00:00
YAMAMOTO Mitsuharu
e2d3b7e128
(CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR)
...
(CG_SET_FILL_COLOR_WITH_GC_FOREGROUND)
(CG_SET_FILL_COLOR_WITH_GC_BACKGROUND)
(CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR)
(CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros.
(mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable.
(mac_cg_color_black) [USE_CG_DRAWING
&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable.
(init_cg_color) [USE_CG_DRAWING]: New function.
(mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use
CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR.
(mac_erase_rectangle, mac_clear_window, mac_draw_cg_image)
(mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]:
Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or
CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR.
(mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise.
(XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING
&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or
gc->cg_back_color.
(install_drag_handler, remove_drag_handler): Make extern.
(install_menu_target_item_handler): Add extern.
(install_window_handler): Call install_menu_target_item_handler.
[MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'.
(mac_initialize) [USE_CG_DRAWING]: Call init_cg_color.
2007-01-05 08:30:14 +00:00
YAMAMOTO Mitsuharu
0aea47c1ee
(Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern.
...
(restore_show_help_function, menu_target_item_handler)
[TARGET_API_MAC_CARBON]: New functions.
(install_menu_target_item_handler): New function.
(add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu
item property.
2007-01-05 08:30:05 +00:00
YAMAMOTO Mitsuharu
3bfd2d4690
(struct _XGC) [USE_CG_DRAWING
...
&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color
and cg_back_color.
2007-01-05 08:29:59 +00:00
YAMAMOTO Mitsuharu
31cfeedea9
(Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE
...
instead of 'EMAx'.
[!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise.
2007-01-05 08:29:51 +00:00
YAMAMOTO Mitsuharu
bcda42c8fd
(Fformat_time_string, Fdecode_time, Fencode_time)
...
(Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around
gmtime/localtime/emacs_memftimeu/mktime.
2007-01-05 08:29:41 +00:00
Juanma Barranquero
4c9564e82d
(Fwindow_end): Fix use of >= operator.
2007-01-04 00:19:11 +00:00
Richard M. Stallman
c3295e7b63
*** empty log message ***
2007-01-03 23:47:14 +00:00
Richard M. Stallman
dfc265a31f
(Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF.
2007-01-03 23:28:08 +00:00