Commit graph

21165 commits

Author SHA1 Message Date
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
Romain Francoise
06c7827a73 *** empty log message *** 2006-06-02 17:33:54 +00:00
Chong Yidong
56f41f98c0 * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a
string.
2006-06-02 16:35:59 +00:00
YAMAMOTO Mitsuharu
70a4cae468 (next_element_from_composition): Set it->object to
it->string if composition is coming from string.
(set_cursor_from_row): Don't return 0 unless row displays a
continued line.
(dump_glyph): Dump composite glyph.
2006-06-02 09:39:54 +00:00
Jan Djärv
8b2b00f51c * gtkutil.c (menu_nav_ended): Check that menubar_widget is not NULL. 2006-06-02 08:49:25 +00:00
Richard M. Stallman
963128f36a *** empty log message *** 2006-06-02 02:12:52 +00:00
Richard M. Stallman
19ca94ce90 (Fsplit_window): Doc fix. 2006-06-02 02:12:45 +00:00
Richard M. Stallman
6a8aec41a3 Whitespace changes. 2006-06-01 21:04:58 +00:00
Kim F. Storm
a5cfdda8ad 2006-06-01 Michaël Cadilhac <michael.cadilhac@lrde.org>
(deleted_pid_list): New variable to store the pids
of deleted processes.  Declare it only if SIGCHLD is defined.
(init_process): Initialize it.
(syms_of_process): Staticpro it.
(Fdelete_process): Add pid of the deleted process to it.  Check after
the addition and before the kill if the process is already stopped,
in which case it is deleted from the list and not killed.
(sigchld_handler): Define it only if SIGCHLD is.  Search the process
that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'.
Original idea by Stefan Monnier.
2006-06-01 14:08:25 +00:00
Kim F. Storm
24a71bb140 *** empty log message *** 2006-06-01 14:07:33 +00:00
Kim F. Storm
29bcbe54e1 (sit_for): Perform redisplay even if input is pending
when redisplay-dont-pause is non-nil.
2006-06-01 13:53:19 +00:00
Kim F. Storm
a71a77046d *** empty log message *** 2006-06-01 13:52:42 +00:00
YAMAMOTO Mitsuharu
36f0107c0b (mac_handle_visibility_change): Set buf.arg to Qnil.
(XTread_socket): Remove obsolete comment.
2006-06-01 09:37:18 +00:00
Jan Djärv
2e92a7cbd6 * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for
menu-bar-open.
2006-06-01 08:57:37 +00:00
Jan Djärv
f84173d358 * gtkutil.c (menu_nav_ended): Change x-menu-bar-start to menu-bar-open. 2006-06-01 06:40:43 +00:00
Jan Djärv
ebe80e837d * xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to
menu-bar-open.
2006-06-01 06:39:44 +00:00
Jan Djärv
c9467aaa7d * xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to
menu-bar-open.

 * gtkutil.c (menu_nav_ended): Change x-menu-bar-start to menu-bar-open.
2006-06-01 06:39:18 +00:00
Juri Linkov
82db8fa7c5 *** empty log message *** 2006-05-31 22:07:21 +00:00