Commit graph

21199 commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
3ff0518335 *** empty log message *** 2006-06-28 08:32:03 +00:00
YAMAMOTO Mitsuharu
92289429a9 (Qeql): Add extern.
(x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition.
(fm_style_face_attributes_alist) [USE_ATSUI]: New variable.
(syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it.
Change keys of Vmac_atsu_font_table from strings to numbers.
(fm_style_to_face_attributes) [USE_ATSUI]: New function.
(init_font_name_table) [USE_ATSUI]: Use it.
(saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
(syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it.
[USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes
only when saved_ts_script_language_on_focus coincides with
Vmac_ts_script_language_on_focus.
[USE_MAC_TSM] (mac_tsm_suspend): Save value of
Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus.
(XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support.
[USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise.
2006-06-28 08:31:32 +00:00
YAMAMOTO Mitsuharu
bc0e841270 (USE_MAC_TSM) [TARGET_API_MAC_CARBON]: Set default to 1. 2006-06-28 08:30:32 +00:00
YAMAMOTO Mitsuharu
6704fec12c (Fx_create_frame): Apply 2006-06-24 change for xfns.c. 2006-06-28 08:30:16 +00:00
YAMAMOTO Mitsuharu
a49a81ff53 [!TARGET_API_MAC_CARBON]: Don't include FixMath.h or Scrap.h. 2006-06-28 08:29:54 +00:00
Chong Yidong
506d2f9a54 * textprop.c (text_property_stickiness): doc fix. 2006-06-28 00:02:57 +00:00
Chong Yidong
df8ffa055d * editfns.c (Fdelete_field, Ffield_string, Ffield_beginning)
(Ffield_string_no_properties, Ffield_end): Mention
	args-out-of-range error condition in docstring.
2006-06-28 00:00:57 +00:00
Kim F. Storm
d1b328d37a (handle_composition_prop): Set stop_charpos before push_it. 2006-06-27 11:21:31 +00:00
Kim F. Storm
04405ad93e *** empty log message *** 2006-06-27 11:21:20 +00:00
Eli Zaretskii
a3ac22e448 Fix whitespace of last change. 2006-06-25 03:22:50 +00:00
Kim F. Storm
f8e8373566 *** empty log message *** 2006-06-24 23:08:31 +00:00
Kim F. Storm
85a71b3757 (SIGNALS_VIA_CHARACTERS): Define for Linux kernel
version 2.4 and later.
2006-06-24 22:55:08 +00:00
Chong Yidong
86b2ba0d67 * xfns.c (Fx_create_frame): Set font parameter directly instead of
using x_default_parameter, since x_get_args clears the parm alist.
2006-06-24 22:27:12 +00:00
Eli Zaretskii
eff6bfea7f *** empty log message *** 2006-06-24 07:30:59 +00:00
Eli Zaretskii
1a9fbabec0 (directory_files_internal) [WINDOWSNT]: Find files case-insensitively. 2006-06-24 07:24:42 +00:00
Eli Zaretskii
d9034473c9 *** empty log message *** 2006-06-24 06:55:13 +00:00
Eli Zaretskii
9ee9615521 (read_escape): When an unknown Unicode code point is encountered as a string
or character escape, signal an error.
2006-06-24 06:49:16 +00:00
Kim F. Storm
0058964eb1 (pitx): Dump iterator stack. 2006-06-23 12:19:45 +00:00
Kim F. Storm
310059214b *** empty log message *** 2006-06-23 12:19:34 +00:00
Kim F. Storm
6185b3db67 (handle_composition_prop): Push iterator on stack.
(set_iterator_to_next): Pop iterator at end of composition.
2006-06-23 11:50:36 +00:00
Kim F. Storm
8800bd5c4a *** empty log message *** 2006-06-23 11:50:08 +00:00
Eli Zaretskii
28fa06eabf *** empty log message *** 2006-06-23 10:39:51 +00:00
Eli Zaretskii
f83caf703c (Frename_file) [DOS_NT]: Don't try to move directory to itself on DOS_NT
platforms, if the old and new names are identical but for the letter-case.
2006-06-23 10:19:11 +00:00
Kim F. Storm
43a37241f6 *** empty log message *** 2006-06-21 12:01:37 +00:00
Kim F. Storm
128ce5c6a1 (struct it): Add `position' member to iterator stack.
Rename `pos' member to `current'.  Rearrange and add comments.
2006-06-21 11:49:32 +00:00
Kim F. Storm
4b364aa2ac (handle_stop): Set it->ignore_overlay_strings_at_pos_p
if  we get any overlays.
(set_cursor_from_row): Don't clobber `end' if we rescan from
start_string.
(push_it, pop_it): Save it->position.
2006-06-21 11:49:24 +00:00
Romain Francoise
eb85ecac74 Delete extra tab. 2006-06-20 07:39:05 +00:00
Richard M. Stallman
a5bd14d3ec *** empty log message *** 2006-06-19 22:00:00 +00:00
Richard M. Stallman
5fe0b054a2 (size_window): New arg FIRST_ONLY. All callers changed.
(adjust_window_trailing_edge): Specially compute FIRST_PARALLEL
for the case of a top-level window and the following minibuffer.
Don't exit because of no `next' when there is a parent.
Use the FIRST_ONLY feature when resizing following windows.
2006-06-19 21:59:30 +00:00
Richard M. Stallman
aa7b08b445 (init_syntax_once): Give most control chars' syntax Spunct. 2006-06-19 21:54:58 +00:00
Kim F. Storm
993d4ab6ee (update_frame): Check for input pending on entry.
(update_window, update_frame_1): Break loop if input is detected.
2006-06-17 00:11:59 +00:00
Kim F. Storm
a3efc408be *** empty log message *** 2006-06-17 00:11:48 +00:00
Jan Djärv
d692a3d5c5 2006-06-16 Francis Litterio <flitterio@gmail.com>
* xterm.c (x_check_expected_move, handle_one_xevent)
	(x_set_offset, x_check_fullscreen): Extensive changes to make
	frame positioning deterministic under X.

	* xterm.h (x_output): Added members left_before_move and
	top_before_move.  Removed members expected_left and expected_top.
2006-06-16 12:12:27 +00:00
Kim F. Storm
db600ab1db (next_overlay_string): Fix assert.
(push_it, pop_it): Handle composition and stretch specific values.
Only handle it->slice in image (for now).
(back_to_previous_visible_line_start): Continue search if newline is
part of a compisition.  Simplify.
(reseat_1): Set it->object to buffer.
(set_iterator_to_next): Set it->object to string or buffer, when
setting it->method to GET_FROM_STRING or GET_FROM_BUFFER.
(next_element_from_composition): Set it->object to buffer if not
from string.
(set_cursor_from_row): Only save start of string if not already
done to handle multiple strings in a row.
2006-06-16 11:53:12 +00:00
Kim F. Storm
fd00a1e8a3 (struct it): Add union to iterator stack to save
image, composition, and stretch specific paramters.
2006-06-16 11:53:00 +00:00
Kim F. Storm
626c7c71a8 *** empty log message *** 2006-06-16 11:52:48 +00:00
Kim F. Storm
1e99743b70 (pitx): Show composition parameters.
(pgx, pg): New commands to print a glyph structure.
(pgi, pgn): New commands to print specific/next glyph.
(pgrowx, pgrow): New commands to print all glyphs in a row.
2006-06-16 11:43:04 +00:00
Kim F. Storm
df05d913fa *** empty log message *** 2006-06-16 11:42:53 +00:00
YAMAMOTO Mitsuharu
aa2f234a42 *** empty log message *** 2006-06-16 08:09:09 +00:00
YAMAMOTO Mitsuharu
b4c515960f (do_app_resume, do_app_suspend): Remove functions.
(mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: New functions.
(mac_handle_window_event, XTread_socket) [USE_MAC_TSM]: Use them.
(Vmac_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
(syms_of_macterm) [USE_MAC_TSM]: Defvar it.
(saved_ts_language, saved_ts_component) [USE_MAC_TSM]: New variables.
(mac_initialize_display_info) [MAC_OSX]: Use Quartz Display
Services functions to get size of main display in pixels.
2006-06-16 08:08:59 +00:00
YAMAMOTO Mitsuharu
e2da5e4212 (Fx_display_mm_height, Fx_display_mm_width)
[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use CGDisplayScreenSize.
2006-06-16 08:08:49 +00:00
Chong Yidong
633e63caff * xdisp.c (back_to_previous_visible_line_start): Reset
it->continuation_lines_width.
2006-06-14 14:29:47 +00:00
Richard M. Stallman
cac9d7667c *** empty log message *** 2006-06-13 23:19:49 +00:00
Richard M. Stallman
873759d5d8 (Fdefconst): Mark variable as risky. 2006-06-13 23:09:17 +00:00
Richard M. Stallman
a4feb1448a (Fcall_process): Doc fix. 2006-06-13 23:08:39 +00:00
Richard M. Stallman
c32de52a4f (adjust_window_trailing_edge): Don't break out of the loop
because there's no next window, if there are parallel windows.
Do break out when WINDOW is nil.
2006-06-13 23:07:56 +00:00
Kim F. Storm
946a79d0f7 (IT_STACK_SIZE): New macro specifying size of
iterator stack (instead of hardcoded number).  Increase from 2 to 4
to make room for propertized overlay strings before and after a
display string, image or composition.
(struct it): Add image_id and method members to iterator stack.
2006-06-13 22:45:21 +00:00
Kim F. Storm
79595fa45e (init_from_display_pos): Don't set it->method and
overlay_string_index after pop_it.  Add asserts.
(handle_stop): Look for overlay strings around a display string,
image, or composition.  Handle properties on those strings.
(next_overlay_string): Don't set string, pos or method after pop_it.
(get_overlay_strings_1): Split from get_overlay_strings; don't
modify it if no overlay strings are found.
(get_overlay_strings): Use get_overlay_strings_1.  Always set
it->string and it->method.
(push_it): Push it->image_id and it->method.  Push it->object
instead of it->string if method is GET_FROM_IMAGE.
(pop_it): Pop it->image_id and it->method.  Ppo it->object
instead of it->string if method is GET_FROM_IMAGE.
Reset it->current.string_pos if popped it->string is nil.
(reseat_1): Remove comment dated 19 May 2003.  It expressed doubt
whether a given change was correct; but the change is correct.
Clear it->string_from_display_prop_p.
(set_iterator_to_next): Rely on it->method and it->image_id from
iterator stack, instead of setting them explicitly after pop_it.
2006-06-13 22:45:00 +00:00
Kim F. Storm
1bb32610a8 *** empty log message *** 2006-06-13 22:44:44 +00:00
Kim F. Storm
f222369e0a (sit_for): Undo 2006-06-01 change. Instead, a
negative time forces redisplay even when input is available.
(Fsit_for): Doc fix.
2006-06-13 22:06:22 +00:00