Mercurial > emacs
view etc/nxml/00A80-00AFF.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 | 44e9cefa9028 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'gujarati '(("GUJARATI SIGN CANDRABINDU" #x0A81) ("GUJARATI SIGN ANUSVARA" #x0A82) ("GUJARATI SIGN VISARGA" #x0A83) ("GUJARATI LETTER A" #x0A85) ("GUJARATI LETTER AA" #x0A86) ("GUJARATI LETTER I" #x0A87) ("GUJARATI LETTER II" #x0A88) ("GUJARATI LETTER U" #x0A89) ("GUJARATI LETTER UU" #x0A8A) ("GUJARATI LETTER VOCALIC R" #x0A8B) ("GUJARATI VOWEL CANDRA E" #x0A8D) ("GUJARATI LETTER E" #x0A8F) ("GUJARATI LETTER AI" #x0A90) ("GUJARATI VOWEL CANDRA O" #x0A91) ("GUJARATI LETTER O" #x0A93) ("GUJARATI LETTER AU" #x0A94) ("GUJARATI LETTER KA" #x0A95) ("GUJARATI LETTER KHA" #x0A96) ("GUJARATI LETTER GA" #x0A97) ("GUJARATI LETTER GHA" #x0A98) ("GUJARATI LETTER NGA" #x0A99) ("GUJARATI LETTER CA" #x0A9A) ("GUJARATI LETTER CHA" #x0A9B) ("GUJARATI LETTER JA" #x0A9C) ("GUJARATI LETTER JHA" #x0A9D) ("GUJARATI LETTER NYA" #x0A9E) ("GUJARATI LETTER TTA" #x0A9F) ("GUJARATI LETTER TTHA" #x0AA0) ("GUJARATI LETTER DDA" #x0AA1) ("GUJARATI LETTER DDHA" #x0AA2) ("GUJARATI LETTER NNA" #x0AA3) ("GUJARATI LETTER TA" #x0AA4) ("GUJARATI LETTER THA" #x0AA5) ("GUJARATI LETTER DA" #x0AA6) ("GUJARATI LETTER DHA" #x0AA7) ("GUJARATI LETTER NA" #x0AA8) ("GUJARATI LETTER PA" #x0AAA) ("GUJARATI LETTER PHA" #x0AAB) ("GUJARATI LETTER BA" #x0AAC) ("GUJARATI LETTER BHA" #x0AAD) ("GUJARATI LETTER MA" #x0AAE) ("GUJARATI LETTER YA" #x0AAF) ("GUJARATI LETTER RA" #x0AB0) ("GUJARATI LETTER LA" #x0AB2) ("GUJARATI LETTER LLA" #x0AB3) ("GUJARATI LETTER VA" #x0AB5) ("GUJARATI LETTER SHA" #x0AB6) ("GUJARATI LETTER SSA" #x0AB7) ("GUJARATI LETTER SA" #x0AB8) ("GUJARATI LETTER HA" #x0AB9) ("GUJARATI SIGN NUKTA" #x0ABC) ("GUJARATI SIGN AVAGRAHA" #x0ABD) ("GUJARATI VOWEL SIGN AA" #x0ABE) ("GUJARATI VOWEL SIGN I" #x0ABF) ("GUJARATI VOWEL SIGN II" #x0AC0) ("GUJARATI VOWEL SIGN U" #x0AC1) ("GUJARATI VOWEL SIGN UU" #x0AC2) ("GUJARATI VOWEL SIGN VOCALIC R" #x0AC3) ("GUJARATI VOWEL SIGN VOCALIC RR" #x0AC4) ("GUJARATI VOWEL SIGN CANDRA E" #x0AC5) ("GUJARATI VOWEL SIGN E" #x0AC7) ("GUJARATI VOWEL SIGN AI" #x0AC8) ("GUJARATI VOWEL SIGN CANDRA O" #x0AC9) ("GUJARATI VOWEL SIGN O" #x0ACB) ("GUJARATI VOWEL SIGN AU" #x0ACC) ("GUJARATI SIGN VIRAMA" #x0ACD) ("GUJARATI OM" #x0AD0) ("GUJARATI LETTER VOCALIC RR" #x0AE0) ("GUJARATI DIGIT ZERO" #x0AE6) ("GUJARATI DIGIT ONE" #x0AE7) ("GUJARATI DIGIT TWO" #x0AE8) ("GUJARATI DIGIT THREE" #x0AE9) ("GUJARATI DIGIT FOUR" #x0AEA) ("GUJARATI DIGIT FIVE" #x0AEB) ("GUJARATI DIGIT SIX" #x0AEC) ("GUJARATI DIGIT SEVEN" #x0AED) ("GUJARATI DIGIT EIGHT" #x0AEE) ("GUJARATI DIGIT NINE" #x0AEF) )) ;; arch-tag: e11e63c9-1fd7-496b-be1b-4c2bb32bdec4