Commit Graph

18686 Commits

Author SHA1 Message Date
Kim F. Storm
7a6b6cce54 (display_mode_element): Fix display of wide chars.
From Kenichi Handa  <handa@m17n.org>.
2004-10-18 22:53:13 +00:00
Kim F. Storm
e3e5546371 *** empty log message *** 2004-10-18 22:52:44 +00:00
Jan Djärv
8433889043 * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to
gdk_window_clear and move gdk_window_process_all_updates after
clear so events are sent to the X server in correct order.
2004-10-18 16:17:15 +00:00
Kenichi Handa
6e1b0d8c4f (fs_load_font): Use fast_string_match_ignore_case for
comparing font names.
(fs_query_fontset): Use fast_string_match for comparing fontset
names.
(list_fontsets): Likewise.
2004-10-18 12:28:18 +00:00
Kenichi Handa
be5f4dfb01 (fast_string_match_ignore_case): New function. 2004-10-18 12:26:36 +00:00
Kenichi Handa
a0aa1111d9 (fast_string_match_ignore_case): Extern it. 2004-10-18 12:26:02 +00:00
Jason Rumney
90665a8192 Remove excessive vertical whitespace. 2004-10-17 14:07:31 +00:00
Kim F. Storm
c514efbbf1 (overlay_arrow_at_row): Return overlay string rather
than bitmap if there is not left fringe.
(get_overlay_arrow_glyph_row): Also used on windows system.
(display_line): Display overlay string if no left fringe.
2004-10-17 13:17:00 +00:00
Kim F. Storm
345e75a892 *** empty log message *** 2004-10-17 13:16:31 +00:00
Jason Rumney
0424a1b043 (w32_font_match): Encode font name being matched. 2004-10-16 23:02:25 +00:00
Jason Rumney
be13cbb78b *** empty log message *** 2004-10-16 23:01:19 +00:00
Richard M. Stallman
c2e2ede7e8 *** empty log message *** 2004-10-16 15:35:53 +00:00
Richard M. Stallman
d99b4859a0 (Fspecial_display_p): Doc fix. 2004-10-16 14:51:39 +00:00
Kim F. Storm
dbb37962f9 Add comment. 2004-10-15 15:09:58 +00:00
Stefan Monnier
3584d95d9d (Fsubstitute_command_keys): Fix remap-handling.
Don't ignore menus, because where-is-internal already does it for us.
2004-10-15 14:49:30 +00:00
Kim F. Storm
f459b8c059 (x_draw_vertical_border): Undo last change.
(redisplay_window): Only update fringes and vertical
border on window frames.
2004-10-15 12:02:27 +00:00
Kim F. Storm
b3c7a89baf *** empty log message *** 2004-10-15 12:01:52 +00:00
Kim F. Storm
87345db95c (x_draw_vertical_border): Do nothing if non-window system. 2004-10-15 11:56:41 +00:00
Kim F. Storm
699a039256 *** empty log message *** 2004-10-15 11:56:26 +00:00
Andreas Schwab
4e382b0f75 (DATA_SEG_BITS): Don't define. 2004-10-14 13:58:25 +00:00
Stefan Monnier
982241b17c *** empty log message *** 2004-10-14 13:24:25 +00:00
Kim F. Storm
7ba426fb28 Include Xutil.h after keysym.h to work around bug
(incorrectly recognising AltGr key) in some X versions.
2004-10-13 22:05:40 +00:00
Kim F. Storm
329a7be22c *** empty log message *** 2004-10-13 22:05:12 +00:00
Stefan Monnier
91244343b5 (map_char_table): Add missing gcpros. 2004-10-13 18:40:03 +00:00
Stefan Monnier
9238467da9 *** empty log message *** 2004-10-13 17:07:58 +00:00
Stefan Monnier
9ce78f7c7b (get_keymap): An autoload form is not a keymap. 2004-10-13 17:00:13 +00:00
Stefan Monnier
98ebf86079 (syms_of_textprop): Add `syntax-table' to the nonsticky props. 2004-10-13 16:58:45 +00:00
Kim F. Storm
f38e574844 Fix comment for it->object; it may also be nil. 2004-10-13 12:18:37 +00:00
Kim F. Storm
0aa2630fac (Fcall_process): Simplify handling of display arg.
Resume `display_on_the_fly' once a coding system is determined.
2004-10-13 09:50:36 +00:00
Kim F. Storm
7cfdabde5f *** empty log message *** 2004-10-13 09:50:15 +00:00
Kim F. Storm
777f4146f8 (redisplay_preserve_echo_area): Fix last change. 2004-10-13 09:07:17 +00:00
Kim F. Storm
4440e3ca6e *** empty log message *** 2004-10-13 09:06:59 +00:00
Kim F. Storm
16fe48b424 (redisplay_preserve_echo_area): Flush display in case
caller, such as call-process, is not going to poll for input.
(calc_line_height_property): Handle case where it->object is nil.
2004-10-12 14:14:35 +00:00
Kim F. Storm
61087d3fd6 (x_redisplay_interface): Fix flush_display_optional. 2004-10-12 14:14:07 +00:00
Kim F. Storm
1c8dec6aac *** empty log message *** 2004-10-12 14:13:48 +00:00
Kenichi Handa
170b174cae (get_next_display_element): If
unibyte_display_via_language_environment is zero, display 8-bit
chars in octal in unibyte buffer.
2004-10-12 07:37:37 +00:00
Kim F. Storm
332e51c15c (Fsubstitute_command_keys): Ignore remappings unless there
are no ordinary bindings.
2004-10-11 22:36:35 +00:00
Kim F. Storm
b583964c15 *** empty log message *** 2004-10-11 22:36:16 +00:00
Jan Djärv
29fabd8cee * xfns.c (syms_of_xfns): defsubr x-file-dialog for GTK also. 2004-10-11 10:50:00 +00:00
Steven Tamm
c3f4c690b6 macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow
(x_lower_frame): Add BLOCK_INPUT around SendBehind
  (make_mac_frame): Add BLOCK_INPUT around the making of a
  terminal frame
  (mac_initialize): Add BLOCK_INPUT around carbon initialization
macgui.h (mktime): Use emacs_mktime
macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code.
  Make a cancel file-open dialog be like C-g.
mac.c (mktime): Use emacs_mktime
  (Fdo_applescript): Add BLOCK_INPUT around do_applescript
  (Fmac_paste_function): Add better error handling for carbon
  cut/paste
2004-10-10 16:56:21 +00:00
Kim F. Storm
6db3726449 (timer_start_idle, timer_stop_idle): Remove prototypes. 2004-10-09 23:25:00 +00:00
Kim F. Storm
5c12e63f92 (timer_resume_idle): New function to resume idle
timer without resetting timers on the idle list.
(read_char): Use timer_resume_idle. Remove local var last_idle_start.
(timer_start_idle, timer_stop_idle): Declare static.
(read_key_sequence): Use timer_resume_idle instead of timer_start_idle.
2004-10-09 23:24:49 +00:00
Kim F. Storm
9688f9eb3a *** empty log message *** 2004-10-09 23:24:31 +00:00
Steven Tamm
f7f3a65fc0 config.in (HAVE_MALLOC_MALLOC_H): Regenerate
macterm.c (mac_check_for_quit_char): Remove warning for using
  NULL where 0 should be used
unexmacosx.c: Use malloc/malloc.h on Tiger instead of
  objc/malloc.h
mac.c: Include time.h for Tiger compatibility
2004-10-08 18:38:17 +00:00
Kim F. Storm
f94a2622a0 (x_update_window_end): Fix flicker on vertical line between
windows.  Update vertical line after drawing window fringes, but
only if actually drawing any bitmaps--or there is no fringe.
2004-10-07 21:59:39 +00:00
Kim F. Storm
0a1527d6b5 (redisplay_window): Fix flicker on vertical line between
windows.  Update vertical line after drawing window fringes, but
only if actually drawing any bitmaps--or there is no fringe.
2004-10-07 21:58:16 +00:00
Kim F. Storm
11491cbb2a (draw_window_fringes): Return value now indicates if
any fringe bitmaps were redrawn (or there are no fringes).
2004-10-07 21:57:53 +00:00
Kim F. Storm
98c95e4e0d (draw_window_fringes): Update prototype. 2004-10-07 21:57:40 +00:00
Kim F. Storm
3c7d999a7d *** empty log message *** 2004-10-07 21:57:15 +00:00
Steven Tamm
bf06c82f4b macfns.c (mac_get_window_bounds): Add extern.
(x_real_positions): Use mac_get_window_bounds.

macmenu.c (update_submenu_strings): Apply 2004-09-07 change for
xmenu.c (YAILOM).

macterm.c [!MAC_OSX]: Include Windows.h.
(front_emacs_window): Rename from mac_front_window.  All uses
changed.  Return the frontmost non-tooltip emacs window.
(mac_get_window_bounds): New function.
(x_calc_absolute_position): Use the difference of width and height
between the inner and outer window.
(x_set_offset): Specify window position by the coordinae of the
outer window.  Adjust the position if the title bar is completely
outside the screen.
(app_is_suspended, app_sleep_time): Remove unused variables.
(do_app_resume, do_app_suspend): Remove their contents because
window-activate/deactivate events will do the job.
(do_zoom_window): Remove unused variables.  Make compliant to the
standard way of zooming.  Set f->left_pos and f->top_pos.
(XTread_socket): Don't use argument `expected'.  Don't use
FrontWindow to determine the clicked window.  Exclude unprocessed
mouseUp cases in the early stage.  Add parentheses to fix operator
precedence.
(XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area.
2004-10-06 15:38:53 +00:00