view etc/nxml/01780-017FF.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 dce71e88790f
children ef719132ddfa
line wrap: on
line source

(nxml-define-char-name-set 'khmer
  '(("KHMER LETTER KA" #x1780)
    ("KHMER LETTER KHA" #x1781)
    ("KHMER LETTER KO" #x1782)
    ("KHMER LETTER KHO" #x1783)
    ("KHMER LETTER NGO" #x1784)
    ("KHMER LETTER CA" #x1785)
    ("KHMER LETTER CHA" #x1786)
    ("KHMER LETTER CO" #x1787)
    ("KHMER LETTER CHO" #x1788)
    ("KHMER LETTER NYO" #x1789)
    ("KHMER LETTER DA" #x178A)
    ("KHMER LETTER TTHA" #x178B)
    ("KHMER LETTER DO" #x178C)
    ("KHMER LETTER TTHO" #x178D)
    ("KHMER LETTER NNO" #x178E)
    ("KHMER LETTER TA" #x178F)
    ("KHMER LETTER THA" #x1790)
    ("KHMER LETTER TO" #x1791)
    ("KHMER LETTER THO" #x1792)
    ("KHMER LETTER NO" #x1793)
    ("KHMER LETTER BA" #x1794)
    ("KHMER LETTER PHA" #x1795)
    ("KHMER LETTER PO" #x1796)
    ("KHMER LETTER PHO" #x1797)
    ("KHMER LETTER MO" #x1798)
    ("KHMER LETTER YO" #x1799)
    ("KHMER LETTER RO" #x179A)
    ("KHMER LETTER LO" #x179B)
    ("KHMER LETTER VO" #x179C)
    ("KHMER LETTER SHA" #x179D)
    ("KHMER LETTER SSO" #x179E)
    ("KHMER LETTER SA" #x179F)
    ("KHMER LETTER HA" #x17A0)
    ("KHMER LETTER LA" #x17A1)
    ("KHMER LETTER QA" #x17A2)
    ("KHMER INDEPENDENT VOWEL QAQ" #x17A3)
    ("KHMER INDEPENDENT VOWEL QAA" #x17A4)
    ("KHMER INDEPENDENT VOWEL QI" #x17A5)
    ("KHMER INDEPENDENT VOWEL QII" #x17A6)
    ("KHMER INDEPENDENT VOWEL QU" #x17A7)
    ("KHMER INDEPENDENT VOWEL QUK" #x17A8)
    ("KHMER INDEPENDENT VOWEL QUU" #x17A9)
    ("KHMER INDEPENDENT VOWEL QUUV" #x17AA)
    ("KHMER INDEPENDENT VOWEL RY" #x17AB)
    ("KHMER INDEPENDENT VOWEL RYY" #x17AC)
    ("KHMER INDEPENDENT VOWEL LY" #x17AD)
    ("KHMER INDEPENDENT VOWEL LYY" #x17AE)
    ("KHMER INDEPENDENT VOWEL QE" #x17AF)
    ("KHMER INDEPENDENT VOWEL QAI" #x17B0)
    ("KHMER INDEPENDENT VOWEL QOO TYPE ONE" #x17B1)
    ("KHMER INDEPENDENT VOWEL QOO TYPE TWO" #x17B2)
    ("KHMER INDEPENDENT VOWEL QAU" #x17B3)
    ("KHMER VOWEL INHERENT AQ" #x17B4)
    ("KHMER VOWEL INHERENT AA" #x17B5)
    ("KHMER VOWEL SIGN AA" #x17B6)
    ("KHMER VOWEL SIGN I" #x17B7)
    ("KHMER VOWEL SIGN II" #x17B8)
    ("KHMER VOWEL SIGN Y" #x17B9)
    ("KHMER VOWEL SIGN YY" #x17BA)
    ("KHMER VOWEL SIGN U" #x17BB)
    ("KHMER VOWEL SIGN UU" #x17BC)
    ("KHMER VOWEL SIGN UA" #x17BD)
    ("KHMER VOWEL SIGN OE" #x17BE)
    ("KHMER VOWEL SIGN YA" #x17BF)
    ("KHMER VOWEL SIGN IE" #x17C0)
    ("KHMER VOWEL SIGN E" #x17C1)
    ("KHMER VOWEL SIGN AE" #x17C2)
    ("KHMER VOWEL SIGN AI" #x17C3)
    ("KHMER VOWEL SIGN OO" #x17C4)
    ("KHMER VOWEL SIGN AU" #x17C5)
    ("KHMER SIGN NIKAHIT" #x17C6)
    ("KHMER SIGN REAHMUK" #x17C7)
    ("KHMER SIGN YUUKALEAPINTU" #x17C8)
    ("KHMER SIGN MUUSIKATOAN" #x17C9)
    ("KHMER SIGN TRIISAP" #x17CA)
    ("KHMER SIGN BANTOC" #x17CB)
    ("KHMER SIGN ROBAT" #x17CC)
    ("KHMER SIGN TOANDAKHIAT" #x17CD)
    ("KHMER SIGN KAKABAT" #x17CE)
    ("KHMER SIGN AHSDA" #x17CF)
    ("KHMER SIGN SAMYOK SANNYA" #x17D0)
    ("KHMER SIGN VIRIAM" #x17D1)
    ("KHMER SIGN COENG" #x17D2)
    ("KHMER SIGN BATHAMASAT" #x17D3)
    ("KHMER SIGN KHAN" #x17D4)
    ("KHMER SIGN BARIYOOSAN" #x17D5)
    ("KHMER SIGN CAMNUC PII KUUH" #x17D6)
    ("KHMER SIGN LEK TOO" #x17D7)
    ("KHMER SIGN BEYYAL" #x17D8)
    ("KHMER SIGN PHNAEK MUAN" #x17D9)
    ("KHMER SIGN KOOMUUT" #x17DA)
    ("KHMER CURRENCY SYMBOL RIEL" #x17DB)
    ("KHMER SIGN AVAKRAHASANYA" #x17DC)
    ("KHMER DIGIT ZERO" #x17E0)
    ("KHMER DIGIT ONE" #x17E1)
    ("KHMER DIGIT TWO" #x17E2)
    ("KHMER DIGIT THREE" #x17E3)
    ("KHMER DIGIT FOUR" #x17E4)
    ("KHMER DIGIT FIVE" #x17E5)
    ("KHMER DIGIT SIX" #x17E6)
    ("KHMER DIGIT SEVEN" #x17E7)
    ("KHMER DIGIT EIGHT" #x17E8)
    ("KHMER DIGIT NINE" #x17E9)
    ))

;; arch-tag: 2d03b253-c5f2-4595-b346-36e3b87df51c