annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
86591
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 (nxml-define-char-name-set 'sinhala
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 '(("SINHALA SIGN ANUSVARAYA" #x0D82)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 ("SINHALA SIGN VISARGAYA" #x0D83)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4 ("SINHALA LETTER AYANNA" #x0D85)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 ("SINHALA LETTER AAYANNA" #x0D86)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 ("SINHALA LETTER AEYANNA" #x0D87)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 ("SINHALA LETTER AEEYANNA" #x0D88)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 ("SINHALA LETTER IYANNA" #x0D89)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 ("SINHALA LETTER IIYANNA" #x0D8A)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 ("SINHALA LETTER UYANNA" #x0D8B)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 ("SINHALA LETTER UUYANNA" #x0D8C)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12 ("SINHALA LETTER IRUYANNA" #x0D8D)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 ("SINHALA LETTER IRUUYANNA" #x0D8E)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 ("SINHALA LETTER ILUYANNA" #x0D8F)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 ("SINHALA LETTER ILUUYANNA" #x0D90)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 ("SINHALA LETTER EYANNA" #x0D91)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 ("SINHALA LETTER EEYANNA" #x0D92)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 ("SINHALA LETTER AIYANNA" #x0D93)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 ("SINHALA LETTER OYANNA" #x0D94)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 ("SINHALA LETTER OOYANNA" #x0D95)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 ("SINHALA LETTER AUYANNA" #x0D96)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 ("SINHALA LETTER ALPAPRAANA KAYANNA" #x0D9A)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 ("SINHALA LETTER MAHAAPRAANA KAYANNA" #x0D9B)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 ("SINHALA LETTER ALPAPRAANA GAYANNA" #x0D9C)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 ("SINHALA LETTER MAHAAPRAANA GAYANNA" #x0D9D)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26 ("SINHALA LETTER KANTAJA NAASIKYAYA" #x0D9E)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 ("SINHALA LETTER SANYAKA GAYANNA" #x0D9F)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 ("SINHALA LETTER ALPAPRAANA CAYANNA" #x0DA0)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 ("SINHALA LETTER MAHAAPRAANA CAYANNA" #x0DA1)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 ("SINHALA LETTER ALPAPRAANA JAYANNA" #x0DA2)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 ("SINHALA LETTER MAHAAPRAANA JAYANNA" #x0DA3)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 ("SINHALA LETTER TAALUJA NAASIKYAYA" #x0DA4)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 ("SINHALA LETTER TAALUJA SANYOOGA NAAKSIKYAYA" #x0DA5)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 ("SINHALA LETTER SANYAKA JAYANNA" #x0DA6)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 ("SINHALA LETTER ALPAPRAANA TTAYANNA" #x0DA7)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 ("SINHALA LETTER MAHAAPRAANA TTAYANNA" #x0DA8)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 ("SINHALA LETTER ALPAPRAANA DDAYANNA" #x0DA9)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 ("SINHALA LETTER MAHAAPRAANA DDAYANNA" #x0DAA)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 ("SINHALA LETTER MUURDHAJA NAYANNA" #x0DAB)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 ("SINHALA LETTER SANYAKA DDAYANNA" #x0DAC)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 ("SINHALA LETTER ALPAPRAANA TAYANNA" #x0DAD)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 ("SINHALA LETTER MAHAAPRAANA TAYANNA" #x0DAE)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 ("SINHALA LETTER ALPAPRAANA DAYANNA" #x0DAF)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 ("SINHALA LETTER MAHAAPRAANA DAYANNA" #x0DB0)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 ("SINHALA LETTER DANTAJA NAYANNA" #x0DB1)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 ("SINHALA LETTER SANYAKA DAYANNA" #x0DB3)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 ("SINHALA LETTER ALPAPRAANA PAYANNA" #x0DB4)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 ("SINHALA LETTER MAHAAPRAANA PAYANNA" #x0DB5)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 ("SINHALA LETTER ALPAPRAANA BAYANNA" #x0DB6)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 ("SINHALA LETTER MAHAAPRAANA BAYANNA" #x0DB7)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 ("SINHALA LETTER MAYANNA" #x0DB8)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 ("SINHALA LETTER AMBA BAYANNA" #x0DB9)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 ("SINHALA LETTER YAYANNA" #x0DBA)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 ("SINHALA LETTER RAYANNA" #x0DBB)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 ("SINHALA LETTER DANTAJA LAYANNA" #x0DBD)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 ("SINHALA LETTER VAYANNA" #x0DC0)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 ("SINHALA LETTER TAALUJA SAYANNA" #x0DC1)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 ("SINHALA LETTER MUURDHAJA SAYANNA" #x0DC2)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 ("SINHALA LETTER DANTAJA SAYANNA" #x0DC3)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 ("SINHALA LETTER HAYANNA" #x0DC4)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 ("SINHALA LETTER MUURDHAJA LAYANNA" #x0DC5)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 ("SINHALA LETTER FAYANNA" #x0DC6)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 ("SINHALA SIGN AL-LAKUNA" #x0DCA)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 ("SINHALA VOWEL SIGN AELA-PILLA" #x0DCF)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 ("SINHALA VOWEL SIGN KETTI AEDA-PILLA" #x0DD0)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 ("SINHALA VOWEL SIGN DIGA AEDA-PILLA" #x0DD1)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 ("SINHALA VOWEL SIGN KETTI IS-PILLA" #x0DD2)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 ("SINHALA VOWEL SIGN DIGA IS-PILLA" #x0DD3)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 ("SINHALA VOWEL SIGN KETTI PAA-PILLA" #x0DD4)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 ("SINHALA VOWEL SIGN DIGA PAA-PILLA" #x0DD6)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 ("SINHALA VOWEL SIGN GAETTA-PILLA" #x0DD8)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 ("SINHALA VOWEL SIGN KOMBUVA" #x0DD9)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 ("SINHALA VOWEL SIGN DIGA KOMBUVA" #x0DDA)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 ("SINHALA VOWEL SIGN KOMBU DEKA" #x0DDB)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 ("SINHALA VOWEL SIGN KOMBUVA HAA AELA-PILLA" #x0DDC)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 ("SINHALA VOWEL SIGN KOMBUVA HAA DIGA AELA-PILLA" #x0DDD)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 ("SINHALA VOWEL SIGN KOMBUVA HAA GAYANUKITTA" #x0DDE)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 ("SINHALA VOWEL SIGN GAYANUKITTA" #x0DDF)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 ("SINHALA VOWEL SIGN DIGA GAETTA-PILLA" #x0DF2)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 ("SINHALA VOWEL SIGN DIGA GAYANUKITTA" #x0DF3)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 ("SINHALA PUNCTUATION KUNDDALIYA" #x0DF4)
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 ))
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83
2f804e1e9cbe Move here from lisp/nxml/char-name/unicode
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 ;; arch-tag: 3dfac4e1-97f5-433a-bd47-8cd364b09075