1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

21182 commits

Author SHA1 Message Date
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
Kim F. Storm
bae1ed2965 *** empty log message *** 2006-06-13 22:06:10 +00:00
Kim F. Storm
8eb2b87fc1 *** empty log message *** 2006-06-12 22:37:17 +00:00
Kim F. Storm
d012c62b91 Modify preemptive redisplay to be based on periodic checks for input.
(PERIODIC_PREEMPTION_CHECKING): Define to 1 iff EMACS_HAS_USECS.
(Vredisplay_preemption_period): New variable.
(syms_of_display): DEFVAR_LISP and initialize it.
(preemption_period, preemption_next_check): New variables.
(update_frame, update_single_window): Initialize them based on
Vredisplay_preemption_period if !force_p.
(update_window, update_frame_1): Use them to determine when to
check for input.
2006-06-12 22:32:47 +00:00
Eli Zaretskii
7cb93181b8 *** empty log message *** 2006-06-09 18:23:06 +00:00
Eli Zaretskii
71b169b8c4 (read_escape): Provide a Unicode character escape syntax; \u followed by
exactly four or \U followed by exactly eight hex digits in a comment or
string is read as a Unicode character with that code point.
2006-06-09 18:22:30 +00:00
Eli Zaretskii
cf402f3fd4 (window_scroll_pixel_based): Signal "Beginning of buffer" when scroll-down
at the beginning of an empty buffer.
2006-06-09 09:05:17 +00:00
YAMAMOTO Mitsuharu
67b5f80912 [USE_MAC_TSM] (mac_handle_text_input_event): Exclude 0x7f from ASCII range. 2006-06-06 03:27:33 +00:00
Jason Rumney
818a1a5d1f (w32_set_scroll_bar_thumb, x_scroll_bar_create)
(w32_set_vertical_scroll_bar, w32_scroll_bar_handle_click)
(x_scroll_bar_report_motion): Remove workarounds for
versions of Windows NT < 3.51.
[!SIF_ALL]: Remove.
(pfnSetScrollInfo, pfnGetScrollInfo): Remove.
(w32_initialize): Don't dynamically load Get/SetScrollInfo.
2006-06-05 21:20:59 +00:00
Jason Rumney
94856834ef *** empty log message *** 2006-06-05 21:20:22 +00:00
David Kastrup
d495ccfc50 Mention `redisplay-dont-pause' in doc string of
`sit-for'.
2006-06-04 15:07:25 +00:00
YAMAMOTO Mitsuharu
fabcf45510 *** empty log message *** 2006-06-03 02:34:35 +00:00
YAMAMOTO Mitsuharu
ae674cef6c (EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER): New enumerator. 2006-06-03 02:34:25 +00:00
YAMAMOTO Mitsuharu
02236cbc8c (tsm_document_id) [USE_MAC_TSM]: New variable.
(Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event)
[USE_MAC_TSM]: Likewise.
(syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them.
(Qbefore_string) [USE_MAC_TSM]: Add extern.
(do_app_resume, do_app_suspend) [USE_MAC_TSM]: Call
ActivateTSMDocument/DeactivateTSMDocument.
(mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event.
(mac_handle_window_event) [USE_MAC_TSM]: Handle
kEventWindowFocusAcquired/kEventWindowFocusRelinquish.
(mac_handle_text_input_event) [USE_MAC_TSM]: New function.
(install_window_handler) [USE_MAC_TSM]: Install it.  Register
kEventWindowFocusAcquired/kEventWindowFocusRelinquish.
(keycode_to_xkeysym_table): Add entry for f16.
(XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev
before/after passing keystroke event to toolbox dispatcher.
(init_tsm) [USE_MAC_TSM]: New function.
(mac_initialize) [USE_MAC_TSM]: Call it.
(Vmac_ts_active_input_overlay) [USE_MAC_TSM]: New defvar.
2006-06-03 02:34:11 +00:00
YAMAMOTO Mitsuharu
a625bb4ef2 (USE_MAC_TSM): Set default to 1 on Mac OS X. 2006-06-03 02:33:43 +00:00
YAMAMOTO Mitsuharu
a05e867db7 (x_set_icon_name): Apply 2006-06-02 change for xfns.c. 2006-06-03 02:32:42 +00:00
John Paul Wallington
4985dde2d0 (x_set_name_internal): Set icon to `text', derived from name, when
frame's icon_name isn't a string rather than only when it is nil.
2006-06-02 21:35:39 +00:00
Eli Zaretskii
3f65d6f520 (x_set_icon_name): Don't use arg if it's not a string and not nil. 2006-06-02 21:21:55 +00:00