Mercurial > emacs
view etc/nxml/00D80-00DFF.el @ 111413:d53ee71e7e89
Unify mouse-highlight code for all GUI and TTY sessions.
term.c: Remove static mouse_face_* variables. All users
changed.
(term_show_mouse_face, term_clear_mouse_face)
(fast_find_position, term_mouse_highlight): Functions deleted.
(tty_draw_row_with_mouse_face): New function.
(term_mouse_movement): Call note_mouse_highlight instead of
term_mouse_highlight.
nsterm.m (ns_update_window_begin, ns_update_window_end)
(ns_update_end, x_destroy_window, ns_frame_up_to_date)
(ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
(ns_dumpglyphs_image, ns_dumpglyphs_stretch)
(ns_initialize_display_info, keyDown, mouseMoved, mouseExited):
Replace Display_Info with Mouse_HLInfo everywhere where
mouse_face_* members were accessed for mouse highlight purposes.
xterm.c (x_update_window_begin, x_update_window_end)
(x_update_end, XTframe_up_to_date, x_set_mouse_face_gc)
(handle_one_xevent, x_free_frame_resources, x_term_init): Replace
Display_Info with Mouse_HLInfo everywhere where mouse_face_*
members were accessed for mouse highlight purposes.
w32term.c (x_update_window_begin, x_update_window_end)
(x_update_end, w32_read_socket, x_free_frame_resources)
(w32_initialize_display_info): Replace Display_Info with
Mouse_HLInfo everywhere where mouse_face_* members were accessed
for mouse highlight purposes.
xdisp.c (show_mouse_face, note_mode_line_or_margin_highlight)
(note_mouse_highlight) [HAVE_WINDOW_SYSTEM]: Don't run GUI code
unless the frame is on a window-system.
(get_tool_bar_item, handle_tool_bar_click)
(note_tool_bar_highlight, draw_glyphs, erase_phys_cursor)
(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
(note_mode_line_or_margin_highlight, note_mouse_highlight)
(x_clear_window_mouse_face, cancel_mouse_face, expose_frame):
Replace Display_Info with Mouse_HLInfo everywhere where
mouse_face_* members were accessed for mouse highlight purposes.
(coords_in_mouse_face_p): Move prototype out of the
HAVE_WINDOW_SYSTEM conditional.
(x_y_to_hpos_vpos, frame_to_window_pixel_xy): Move out of the
HAVE_WINDOW_SYSTEM block.
(try_window_id) [HAVE_GPM || MSDOS]: Call
x_clear_window_mouse_face.
(draw_row_with_mouse_face): Implementation for HAVE_WINDOW_SYSTEM
systems. Call tty_draw_row_with_mouse_face for TTY systems.
(show_mouse_face): Call draw_row_with_mouse_face, instead of
calling draw_glyphs directly.
(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
(cursor_in_mouse_face_p, rows_from_pos_range)
(mouse_face_from_buffer_pos, mouse_face_from_string_pos)
(note_mode_line_or_margin_highlight, note_mouse_highlight)
(x_clear_window_mouse_face, cancel_mouse_face): Move out of the
HAVE_WINDOW_SYSTEM block. Ifdef away window-system specific
fragments.
(note_mouse_highlight): Call popup_activated for MSDOS as well.
Clear mouse highlight if pointer is over glyphs whose OBJECT is an
integer.
(mouse_face_from_buffer_pos): Add parentheses around && within ||.
(x_consider_frame_title, tool_bar_lines_needed): Move
prototypes to HAVE_WINDOW_SYSTEM-only part.
(get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
part. Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
(null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only
part.
dispnew.c (mirror_make_current): Set Y coordinate of the
mode-line and header-line rows.
(init_display): Setup initial frame's output_data for text
terminal frames.
xmenu.c (popup_activated): Don't define on MSDOS, which now has
its own definition on msdos.c.
msdos.c (show_mouse_face, clear_mouse_face)
(fast_find_position, IT_note_mode_line_highlight)
(IT_note_mouse_highlight): Functions deleted.
(IT_frame_up_to_date, dos_rawgetc): Call note_mouse_highlight
instead of IT_note_mouse_highlight.
(draw_row_with_mouse_face, popup_activated): New functions.
(dos_set_window_size, draw_row_with_mouse_face, IT_update_begin)
(IT_update_end, IT_frame_up_to_date, internal_terminal_init)
(dos_rawgetc): Replace Display_Info with Mouse_HLInfo everywhere
where mouse_face_* members were accessed for mouse highlight
purposes.
msdos.h (initialize_msdos_display): Add prototype.
frame.h (MOUSE_HL_INFO): New macro.
lisp.h (Mouse_HLInfo): New data type.
xterm.h (struct x_display_info):
w32term.h (struct w32_display_info):
nsterm.h (struct ns_display_info):
termchar.h (struct tty_display_info): Use it instead of
mouse_face_* members.
dispextern.h (show_mouse_face, clear_mouse_face): Update type of
1st argument.
(frame_to_window_pixel_xy, note_mouse_highlight)
(x_clear_window_mouse_face, cancel_mouse_face, clear_mouse_face)
(show_mouse_face, cursor_in_mouse_face_p): Move prototypes out of
HAVE_WINDOW_SYSTEM conditional.
(draw_row_with_mouse_face): Declare prototype.
(tty_draw_row_with_mouse_face): Declare prototype.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 06 Nov 2010 10:28:31 +0200 |
parents | 2f804e1e9cbe |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'sinhala '(("SINHALA SIGN ANUSVARAYA" #x0D82) ("SINHALA SIGN VISARGAYA" #x0D83) ("SINHALA LETTER AYANNA" #x0D85) ("SINHALA LETTER AAYANNA" #x0D86) ("SINHALA LETTER AEYANNA" #x0D87) ("SINHALA LETTER AEEYANNA" #x0D88) ("SINHALA LETTER IYANNA" #x0D89) ("SINHALA LETTER IIYANNA" #x0D8A) ("SINHALA LETTER UYANNA" #x0D8B) ("SINHALA LETTER UUYANNA" #x0D8C) ("SINHALA LETTER IRUYANNA" #x0D8D) ("SINHALA LETTER IRUUYANNA" #x0D8E) ("SINHALA LETTER ILUYANNA" #x0D8F) ("SINHALA LETTER ILUUYANNA" #x0D90) ("SINHALA LETTER EYANNA" #x0D91) ("SINHALA LETTER EEYANNA" #x0D92) ("SINHALA LETTER AIYANNA" #x0D93) ("SINHALA LETTER OYANNA" #x0D94) ("SINHALA LETTER OOYANNA" #x0D95) ("SINHALA LETTER AUYANNA" #x0D96) ("SINHALA LETTER ALPAPRAANA KAYANNA" #x0D9A) ("SINHALA LETTER MAHAAPRAANA KAYANNA" #x0D9B) ("SINHALA LETTER ALPAPRAANA GAYANNA" #x0D9C) ("SINHALA LETTER MAHAAPRAANA GAYANNA" #x0D9D) ("SINHALA LETTER KANTAJA NAASIKYAYA" #x0D9E) ("SINHALA LETTER SANYAKA GAYANNA" #x0D9F) ("SINHALA LETTER ALPAPRAANA CAYANNA" #x0DA0) ("SINHALA LETTER MAHAAPRAANA CAYANNA" #x0DA1) ("SINHALA LETTER ALPAPRAANA JAYANNA" #x0DA2) ("SINHALA LETTER MAHAAPRAANA JAYANNA" #x0DA3) ("SINHALA LETTER TAALUJA NAASIKYAYA" #x0DA4) ("SINHALA LETTER TAALUJA SANYOOGA NAAKSIKYAYA" #x0DA5) ("SINHALA LETTER SANYAKA JAYANNA" #x0DA6) ("SINHALA LETTER ALPAPRAANA TTAYANNA" #x0DA7) ("SINHALA LETTER MAHAAPRAANA TTAYANNA" #x0DA8) ("SINHALA LETTER ALPAPRAANA DDAYANNA" #x0DA9) ("SINHALA LETTER MAHAAPRAANA DDAYANNA" #x0DAA) ("SINHALA LETTER MUURDHAJA NAYANNA" #x0DAB) ("SINHALA LETTER SANYAKA DDAYANNA" #x0DAC) ("SINHALA LETTER ALPAPRAANA TAYANNA" #x0DAD) ("SINHALA LETTER MAHAAPRAANA TAYANNA" #x0DAE) ("SINHALA LETTER ALPAPRAANA DAYANNA" #x0DAF) ("SINHALA LETTER MAHAAPRAANA DAYANNA" #x0DB0) ("SINHALA LETTER DANTAJA NAYANNA" #x0DB1) ("SINHALA LETTER SANYAKA DAYANNA" #x0DB3) ("SINHALA LETTER ALPAPRAANA PAYANNA" #x0DB4) ("SINHALA LETTER MAHAAPRAANA PAYANNA" #x0DB5) ("SINHALA LETTER ALPAPRAANA BAYANNA" #x0DB6) ("SINHALA LETTER MAHAAPRAANA BAYANNA" #x0DB7) ("SINHALA LETTER MAYANNA" #x0DB8) ("SINHALA LETTER AMBA BAYANNA" #x0DB9) ("SINHALA LETTER YAYANNA" #x0DBA) ("SINHALA LETTER RAYANNA" #x0DBB) ("SINHALA LETTER DANTAJA LAYANNA" #x0DBD) ("SINHALA LETTER VAYANNA" #x0DC0) ("SINHALA LETTER TAALUJA SAYANNA" #x0DC1) ("SINHALA LETTER MUURDHAJA SAYANNA" #x0DC2) ("SINHALA LETTER DANTAJA SAYANNA" #x0DC3) ("SINHALA LETTER HAYANNA" #x0DC4) ("SINHALA LETTER MUURDHAJA LAYANNA" #x0DC5) ("SINHALA LETTER FAYANNA" #x0DC6) ("SINHALA SIGN AL-LAKUNA" #x0DCA) ("SINHALA VOWEL SIGN AELA-PILLA" #x0DCF) ("SINHALA VOWEL SIGN KETTI AEDA-PILLA" #x0DD0) ("SINHALA VOWEL SIGN DIGA AEDA-PILLA" #x0DD1) ("SINHALA VOWEL SIGN KETTI IS-PILLA" #x0DD2) ("SINHALA VOWEL SIGN DIGA IS-PILLA" #x0DD3) ("SINHALA VOWEL SIGN KETTI PAA-PILLA" #x0DD4) ("SINHALA VOWEL SIGN DIGA PAA-PILLA" #x0DD6) ("SINHALA VOWEL SIGN GAETTA-PILLA" #x0DD8) ("SINHALA VOWEL SIGN KOMBUVA" #x0DD9) ("SINHALA VOWEL SIGN DIGA KOMBUVA" #x0DDA) ("SINHALA VOWEL SIGN KOMBU DEKA" #x0DDB) ("SINHALA VOWEL SIGN KOMBUVA HAA AELA-PILLA" #x0DDC) ("SINHALA VOWEL SIGN KOMBUVA HAA DIGA AELA-PILLA" #x0DDD) ("SINHALA VOWEL SIGN KOMBUVA HAA GAYANUKITTA" #x0DDE) ("SINHALA VOWEL SIGN GAYANUKITTA" #x0DDF) ("SINHALA VOWEL SIGN DIGA GAETTA-PILLA" #x0DF2) ("SINHALA VOWEL SIGN DIGA GAYANUKITTA" #x0DF3) ("SINHALA PUNCTUATION KUNDDALIYA" #x0DF4) )) ;; arch-tag: 3dfac4e1-97f5-433a-bd47-8cd364b09075