Mercurial > emacs
comparison src/ChangeLog @ 53889:8226dc2ed3b7
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 08 Feb 2004 23:32:37 +0000 |
parents | 0093eae529e8 |
children | d9e22d65acd3 |
comparison
equal
deleted
inserted
replaced
53888:57b27e42bf9e | 53889:8226dc2ed3b7 |
---|---|
1 2004-02-09 Kim F. Storm <storm@cua.dk> | |
2 | |
3 * fringe.c: New file. Move original fringe related declarations | |
4 and code from dispextern.h and xdisp.c here. | |
5 Rework code to support user defined fringe bitmaps, redefining | |
6 standard bitmaps, ability to overlay user defined bitmap with | |
7 overlay arrow bitmap, and add faces to bitmaps. | |
8 (Voverflow_newline_into_fringe): Declare here. | |
9 (enum fringe_bitmap_align): New enum. | |
10 (..._bits): All bitmaps are now defined without bitswapping; that | |
11 is now done in init_fringe_once (if necessary). | |
12 (standard_bitmaps): New array with specifications for the | |
13 standard fringe bitmaps. | |
14 (fringe_faces): New array. | |
15 (valid_fringe_bitmap_id_p): New function. | |
16 (draw_fringe_bitmap_1): Rename from draw_fringe_bitmap. | |
17 (draw_fringe_bitmap): New function which draws fringe bitmap, | |
18 possibly overlaying bitmap with cursor in right fringe or the | |
19 overlay arrow in the left fringe. | |
20 (update_window_fringes): Do not handle overlay arrow here. | |
21 Compare and copy fringe bitmap faces. | |
22 (init_fringe_bitmap): New function. | |
23 (Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to | |
24 define and destroy user defined fringe bitmaps. | |
25 (Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap. | |
26 (Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps. | |
27 (syms_of_fringe): New function. Defsubr new DEFUNs. | |
28 DEFVAR_LISP Voverflow_newline_into_fringe. | |
29 (init_fringe_once, init_fringe): New functions. | |
30 (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions. | |
31 | |
32 * Makefile.in (obj): Add fringe.o. | |
33 (fringe.o): New dependencies. | |
34 | |
35 * dispextern.h (FRINGE_ID_BITS): New definition for number of | |
36 bits allocated to hold a fringe number. Increase number of bits | |
37 from 4 to 8 to allow user defined fringe bitmaps. | |
38 (struct glyph_row, struct it): New members left_user_fringe_bitmap, | |
39 left_user_fringe_face_id, right_user_fringe_bitmap, | |
40 right_user_fringe_face_id. | |
41 (enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps): | |
42 Move to new file fringe.c. | |
43 (MAX_FRINGE_BITMAPS): Define here. | |
44 (struct draw_fringe_bitmap_params): New members bits, cursor_p, | |
45 and overlay_p. Change member which to int. | |
46 (struct redisplay_interface): New members define_fringe_bitmap | |
47 and destroy_fringe_bitmap. | |
48 (valid_fringe_bitmap_id_p): Add prototype. | |
49 (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes. | |
50 | |
51 * dispnew.c (row_equal_p): Compare fringe bitmap faces and overlay | |
52 arrows. | |
53 (update_frame): Do flush_display if force_flush_display_p to | |
54 ensure display (specifically fringes) are updated in a timely | |
55 manner when resizing the frame by dragging the mouse. | |
56 (update_window_line): Update row if overlay arrow changed. | |
57 (scrolling_window): Redraw fringe bitmaps if fringe bitmap faces | |
58 or overlay arrow changed. | |
59 | |
60 * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once, | |
61 syms_of_fringe, and init_fringe. | |
62 | |
63 * frame.h (struct frame): New member force_flush_display_p. | |
64 | |
65 * lisp.h (syms_of_fringe, init_fringe, init_fringe_once): | |
66 Add prototypes. | |
67 | |
68 * macterm.c (x_draw_fringe_bitmap): Copy unadapted code from | |
69 xterm.c to handle overlayed fringe bitmaps and to use cursor color | |
70 for displaying cursor in fringe. | |
71 (x_redisplay_interface): Add null handlers for | |
72 define_fringe_bitmap and destroy_fringe_bitmap functions. | |
73 | |
74 * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from | |
75 xterm.c to handle overlayed fringe bitmaps and to use cursor color | |
76 for displaying cursor in fringe. | |
77 (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 | |
78 specific functions to define and destroy fringe bitmaps in fringe_bmp. | |
79 (w32_redisplay_interface): Add them to redisplay_interface. | |
80 (w32_term_init): Call w32_init_fringe instead of explicitly | |
81 defining fringe bitmaps in fringe_bmp array. | |
82 (x_delete_display): Call w32_reset_fringes instead of explicitly | |
83 destroying fringe bitmaps in fringe_bmp array. | |
84 | |
85 * xdisp.c (Voverflow_newline_into_fringe, syms_of_xdisp) | |
86 (left_bits, right_bits, up_arrow_bits, down_arrow_bits) | |
87 (continued_bits, continuation_bits, ov_bits, first_line_bits) | |
88 (last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits) | |
89 (bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits) | |
90 (fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps) | |
91 (draw_window_fringes, compute_fringe_widths, update_window_fringes): | |
92 Move fringe handling vars and code to new file fringe.c. | |
93 (handle_display_prop): Handle left-fringe and right-fringe | |
94 display properties; store user fringe bitmaps in iterator. | |
95 (move_it_in_display_line_to): Handle cursor in fringe at eob. | |
96 (clear_garbaged_frames): Set force_flush_display_p if resized. | |
97 (redisplay_window): Redraw fringe bitmaps if not just_this_one_p. | |
98 (display_line): Handle cursor in fringe at eob. | |
99 (display_line): Set row user fringe bitmaps from iterator. | |
100 | |
101 * xterm.c (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps. | |
102 Use cursor color for displaying cursor in fringe. | |
103 (x_redisplay_interface): Add null handlers for | |
104 define_fringe_bitmap and destroy_fringe_bitmap functions. | |
105 | |
1 2004-02-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 106 2004-02-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
2 | 107 |
3 * macfns.c (Fx_change_window_property): Make doc string and | 108 * macfns.c (Fx_change_window_property): Make doc string and |
4 parameters same as for X version. | 109 parameters same as for X version. |
5 | 110 |