aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow building on Mac OS X again after Kim's merging of display code.Andrew Choi2003-03-248-126/+109
|
* (redisplay_window): If mini window's buffer is notJohn Paul Wallington2003-03-242-0/+7
| | | | empty, then redisplay it like other windows.
* (w32_draw_window_cursor): Fix last change.Kim F. Storm2003-03-231-0/+1
|
* *** empty log message ***Kim F. Storm2003-03-231-4/+7
|
* (make_string_from_bytes, make_specified_string):Kenichi Handa2003-03-232-3/+12
| | | | Prototypes adjusted.
* (make_string_from_bytes): Add `const' for the argKenichi Handa2003-03-231-2/+2
| | | | | CONTENTS. (make_specified_string): Likewise.
* Removed one line too manyJan Djärv2003-03-231-0/+3
|
* * xdisp.c (get_glyph_string_clip_rect): Removed ; at end of #endifJan Djärv2003-03-232-1/+3
|
* Finally (?) fix flicker in scroll bar.Jan Djärv2003-03-234-70/+156
|
* Fix long lines.Kim F. Storm2003-03-221-2/+2
|
* *** empty log message ***Stefan Monnier2003-03-221-4/+16
|
* Make sure space precedes end-of-line backslashes.Thien-Thi Nguyen2003-03-222-9/+13
|
* *** empty log message ***Kim F. Storm2003-03-211-0/+2
|
* Fix compilation with --with-x=no.Kim F. Storm2003-03-211-0/+5
|
* (STORE_NATIVE_RECT): New macro.Kim F. Storm2003-03-211-3/+6
|
* * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords):Kim F. Storm2003-03-217-343/+107
| | | | | Add generic versions here. Remove system specific versions defined elsewhere.
* (pixel_to_glyph_coords, glyph_to_pixel_coords):Kim F. Storm2003-03-211-0/+3
| | | | Add prototypes.
* *** empty log message ***Kim F. Storm2003-03-211-0/+9
|
* (get_glyph_string_clip_rect): Use FRAME_INTERNAL_BORDER_WIDTH.Kim F. Storm2003-03-211-3/+4
|
* (struct redisplay_interface): Add active_p argument toKim F. Storm2003-03-214-31/+36
| | | | draw_window_cursor member. All uses changed.
* *** empty log message ***Kim F. Storm2003-03-211-0/+8
|
* Fix compilation for --with-x=no.Kim F. Storm2003-03-211-0/+7
|
* *** empty log message ***Kim F. Storm2003-03-211-0/+141
|
* (No_Cursor): Declare as None for X.Kim F. Storm2003-03-211-3/+3
| | | | (struct mac_output): Replace member cross_cursor by hand_cursor.
* * xterm.c: Remove consolidated defines and code.Kim F. Storm2003-03-211-2498/+102
| | | | | | | | (BETWEEN): Remove unused macro. (x_draw_vertical_window_border, x_shift_glyphs_for_insert) (x_define_frame_cursor, x_clear_frame_area) (x_draw_window_cursor): New X-specific functions for RIF. (x_redisplay_interface): Add new members.
* Setup and use hand_cursor instead of cross_cursor.Kim F. Storm2003-03-211-8/+8
|
* The following changes consolidate code related to writing andKim F. Storm2003-03-211-10/+2648
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inserting glyphs, exposing frame, the tool bar, the mouse face, the output cursor, and help echo from xterm.c, w32term.c and macterm.c into xdisp.c. It also generalizes the use of the window_part enum instead of using numeric values throughout. * xdisp.c: Consolidate gui-independent code here. Include keymap.h. (Qhelp_echo): Import. (mouse_autoselect_window, x_stretch_cursor_p): Declare here. (help_echo_string, help_echo_window, help_echo_object) (previous_help_echo_string, help_echo_pos): Declare here. (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. (estimate_mode_line_height): Define here. Handle windowing systems directly (without using estimate_mode_line_height_hook). (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): (update_window_cursor, update_cursor_in_window_tree) (fast_find_position, fast_find_string_pos) (note_mode_line_highlight, note_mode_line_or_margin_highlight) (expose_area, expose_line, expose_overlaps, expose_window) (expose_window_tree, phys_cursor_in_rect_p): New generic versions; declared static as they are only used locally in xdisp.c. (draw_glyphs): Rename from x_draw_glyphs and make static. (tool_bar_item_info, notice_overwritten_cursor): Make static. (frame_to_window_pixel_xy, get_glyph_string_clip_rect) (set_output_cursor, x_cursor_to, handle_tool_bar_click) (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) (display_and_set_cursor, x_update_cursor, x_clear_cursor) (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) (note_mouse_highlight, x_clear_window_mouse_face) (cancel_mouse_face, x_draw_vertical_border, expose_frame) (x_intersect_rectangles): New generic functions for use by xdisp.c and GUI front-ends. (syms_of_xdisp): Initialize and staticpro help_echo* variables. Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here.
* (window_from_coordinates): Fix prototype.Kim F. Storm2003-03-211-1/+2
|
* * window.c (enum window_part): Move to dispextern.h.Kim F. Storm2003-03-211-32/+22
| | | | | | | | | (coordinates_in_window): Use enum window_part member names instead of numbers to describe return value. (struct check_window_data): Change part member to window_part. (check_window_containing): Return window_part unaltered. (window_from_coordinates): Change part arg from int to enum window_part. Allow part arg to be null. All users changed.
* (struct w32_output): Remove cross_cursor member.Kim F. Storm2003-03-211-2/+1
|
* * w32term.c: Remove consolidated defines and code.Kim F. Storm2003-03-211-2455/+115
| | | | | | | | (BETWEEN): Remove unused macro. (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) (w32_define_frame_cursor, w32_clear_frame_area) (w32_draw_window_cursor): New W32-specific functions for RIF. (w32_redisplay_interface): Add new members.
* (No_Cursor): Define as 0 for W32.Kim F. Storm2003-03-211-0/+29
| | | | | | (XRectangle): Add X compatible rectangle type. (NativeRectangle): Declare as RECT for W32. (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.
* Remove setup of cross_cursor (already has hand_cursor).Kim F. Storm2003-03-211-15/+9
|
* Remove consolidated defines and code.Kim F. Storm2003-03-211-1/+0
|
* (estimate_mode_line_height): Move to xdisp.c.Kim F. Storm2003-03-211-20/+0
|
* (Display_Info): Add generic typedef.Kim F. Storm2003-03-211-0/+2
|
* Remove consolidated defines and code.Kim F. Storm2003-03-211-44/+14
| | | | (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part.
* (xdisp.o): Add dependency on keymap.h.Kim F. Storm2003-03-211-0/+1
|
* (struct mac_output): Replace member cross_cursor byKim F. Storm2003-03-211-1/+4
| | | | | hand_cursor. (activate_scroll_bars, deactivate_scroll_bars): Add prototypes.
* * macterm.c: Remove consolidated defines and code.Kim F. Storm2003-03-211-2502/+91
| | | | | | | | (BETWEEN): Remove unused macro. (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) (mac_define_frame_cursor, mac_clear_frame_area) (mac_draw_window_cursor): New Mac-specific functions for RIF. (x_redisplay_interface): Add new members.
* (No_Cursor): Define as 0 for Mac.Kim F. Storm2003-03-211-0/+27
| | | | | | (XRectangle): Add X compatible rectangle type. (NativeRectangle): Declare as Rect for Mac. (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.
* (x_set_mouse_color): Setup hand_cursor instead of cross_cursor.Kim F. Storm2003-03-211-11/+12
| | | | (x_set_cursor_color): Use x_display_and_set_cursor instead of x_display_cursor.
* (make_lispy_event): Use enum window_part.Kim F. Storm2003-03-211-19/+19
|
* (mode_line_string, marginal_area_string): Use enumKim F. Storm2003-03-211-9/+10
| | | | window_part instead of int in arg list. Users changed.
* * dispextern.h (Display_Info): Generic typedef for *_display_info.Kim F. Storm2003-03-211-55/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | (NativeRectangle): Generic typedef for rectangle type. (enum window_part): Move here from window.c. (struct redisplay_interface): New members flush_display_optional, define_frame_cursor, clear_frame_area, draw_window_cursor, draw_vertical_window_border, shift_glyphs_for_insert. Rename member clear_mouse_face to clear_window_mouse_face. (estimate_mode_line_height_hook): Remove hook. (auto_raise_tool_bar_buttons_p): Don't declare extern. (tool_bar_item_info): Remove prototype. (help_echo_string, help_echo_window, help_echo_object) (previous_help_echo_string, help_echo_pos) (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): (x_stretch_cursor_p, output_cursor): Declare extern. (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) (display_and_set_cursor, set_output_cursor, x_cursor_to) (x_update_cursor, x_clear_cursor, x_draw_vertical_border) (frame_to_window_pixel_xy, get_glyph_string_clip_rect) (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) (handle_tool_bar_click, clear_mouse_face, show_mouse_face) (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): Add prototypes. (mode_line_string, marginal_area_string): Fix prototypes.
* (xdisp.o): Add dependency on blockinput.h and filesKim F. Storm2003-03-211-1/+1
| | | | included from it. Add dependency on keymap.h.
* *** empty log message ***Kenichi Handa2003-03-211-2/+2
|
* (Fexpand_file_name): Fix previous change.Kenichi Handa2003-03-212-8/+12
|
* (make_specified_string): Fix previous change.Kenichi Handa2003-03-191-1/+10
|
* (Fread_file_name): Fix previous change.Kenichi Handa2003-03-191-2/+2
|