comparison src/ChangeLog @ 40147:74963e4d77a7

*** empty log message ***
author Jason Rumney <jasonr@gnu.org>
date Sun, 21 Oct 2001 16:23:07 +0000
parents dba35a09b701
children 7a649633317f
comparison
equal deleted inserted replaced
40146:dba35a09b701 40147:74963e4d77a7
41 comments to `new style' [w/`doc:' keyword]. 41 comments to `new style' [w/`doc:' keyword].
42 42
43 2001-10-21 Jason Rumney <jasonr@gnu.org> 43 2001-10-21 Jason Rumney <jasonr@gnu.org>
44 44
45 * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. 45 * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName.
46
47 * w32term.c (remember_mouse_glyph): New function.
48 (w32_mouse_position): Use it.
49 (note_mouse_movement): If the mouse moved off the glyph, remember
50 its new position.
51
52 * w32term.c (notice_overwritten_cursor): Renamed from
53 note_overwritten_text_cursor. Rewritten to take glyph widths into
54 account.
55 (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
56 (fast_find_string_pos): New function.
57 (fast_find_position): Return the correct vpos. Add parameter
58 STOP. In the final row, stop before glyphs having STOP as object.
59 Don't consider glyphs that are not from a buffer.
60 (fast_find_position) [0]: Add a presumably more correct version
61 for after 21.1.
62 (expose_window_tree, expose_frame): Don't compute intersections here.
63 (expose_window): Do it here instead.
64 (expose_window_tree, expose_window, expose_line): Return 1 when
65 overwriting mouse-face.
66 (expose_window): If W is the window currently being updated, mark
67 the frame garbaged.
68 (expose_frame): If mouse-face was overwritten, redo it.
69 (x_use_underline_position_properties): New variable.
70 (syms_of_xterm): DEFVAR_BOOL it.
71 (x_draw_glyph_string): Add comment to use it in future.
72 (x_draw_glyph_string): Restore clipping after drawing box.
73 Fix a computation of the underline position.
74 (w32_get_glyph_string_clip_rect): Minor cleanup.
75 (x_fill_stretch_glyph_string): Remove an assertion.
76 (x_produce_glyphs): Don't convert multibyte characters
77 to unibyte characters in unibyte buffers.
78 (cursor_in_mouse_face_p): New function.
79 (x_draw_stretch_glyph_string): Use it to choose a different GC
80 when drawing a cursor within highlighted text. Don't draw
81 background again if it has already been drawn.
82 (x_draw_glyph_string_box): Don't draw a full-width
83 box just because the glyph row's full_width_p flag is set.
84 (x_draw_glyphs): Fix computation of rightmost x for
85 full-width rows.
86 (x_dump_glyph_string): Put in #if GLYPH_DEBUG.
87 (w32_draw_relief_rect): Extend left shadow to the bottom and left;
88 change bottom shadow accordingly. Some cleanup.
89 (x_update_window_end): Handle overwritten mouse face
90 also for tool bar windows.
91 (show_mouse_face): Set the glyph row's mouse_face_p flag also when
92 DRAW is DRAW_IMAGE_RAISED.
93 (clear_mouse_face): Return 1 if text with mouse face was
94 actually redrawn. Make the function static. Reset
95 dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
96 optimize away highlighting if we pass over that same overlay again.
97 (note_mouse_highlight): Call mouse_face_overlay_overlaps
98 to detect a case where we have to highlight a different region
99 despite not having left the currently highlighted region.
100 Set mouse_face_overlay in the x_display_info. Avoid changing the
101 mouse pointer shape when show_mouse_face has already done it, or
102 there is no need. Handle mouse-face and help-echo in strings.
103 (glyph_rect): New function.
104 (w32_mouse_position): Use it to raise the threshold for mouse
105 movement event generation.
106 (w32_initialize_display_info): Initialize the x_display_info's
107 mouse_face_overlay.
108 (w32_set_vertical_scroll_bar): Don't clear a zero height
109 or width area.
110 (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
111 a widget to zero height.
46 112
47 * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: 113 * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
48 Protect unibyte stings created by replacing their multibyte 114 Protect unibyte stings created by replacing their multibyte
49 equivalents in menu_items. 115 equivalents in menu_items.
50 (w32_menu_show): Don't overwrite an item's name with its key 116 (w32_menu_show): Don't overwrite an item's name with its key