aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog200
1 files changed, 193 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index adb5b204953..d8c93e96754 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,188 @@
12005-10-12 Kim F. Storm <storm@cua.dk>
2
3 * xdisp.c (remember_mouse_glyph): New generic version based on
4 glyph_rect and remember_mouse_glyph from xterm.c enhanced to
5 properly handle all different window areas.
6
7 * dispextern.h (remember_mouse_glyph): Add prototype.
8
9 * xterm.c (glyph_rect, remember_mouse_glyph): Remove X versions.
10 (note_mouse_movement, XTmouse_position): Use generic
11 remember_mouse_glyph, add last_mouse_glyph arg.
12
13 * w32term.c (note_mouse_movement): Fix last_mouse_glyph check.
14 (glyph_rect, remember_mouse_glyph): Remove w32 specific versions.
15 (note_mouse_movement, w32_mouse_position): Use generic
16 remember_mouse_glyph, add last_mouse_glyph arg.
17
18 * macterm.c (note_mouse_movement): Add call to remember_mouse_glyph.
19 (glyph_rect, remember_mouse_glyph): Remove mac specific versions.
20 (XTmouse_position): Adapt to use generic remember_mouse_glyph
21 instead of pixel_to_glyph_coords.
22
23 * window.c (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN.
24 Fix x position for ON_TEXT when left margin width > 0.
25
262005-10-11 Kim F. Storm <storm@cua.dk>
27
28 * window.c (coordinates_in_window): Fix y position for ON_SCROLL_BAR.
29
30 * keyboard.c (make_lispy_position): Fix buffer calculations for
31 mouse click or movement in right fringe and the margins.
32
332005-10-11 Juanma Barranquero <lekktu@gmail.com>
34
35 * image.c (fn_jpeg_stdio_src): Don't define it.
36 (init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'.
37 (our_common_init_source): Rename from `our_init_source'.
38 (our_common_term_source): Rename from `our_term_source'.
39 (our_memory_fill_input_buffer): Rename from
40 `our_fill_input_buffer'.
41 (our_memory_skip_input_data): Rename from `our_skip_input_data'.
42 (jpeg_memory_src): Use the new names.
43 (struct jpeg_stdio_mgr): New struct.
44 (JPEG_STDIO_BUFFER_SIZE): New constant.
45 (our_stdio_fill_input_buffer, our_stdio_skip_input_data)
46 (jpeg_file_src): New functions.
47 (jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'.
48
492005-10-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
50
51 * macterm.c (PER_CHAR_METRIC): Remove unused macro.
52 (fm_font_family_alist): New variable.
53 (syms_of_macterm): Initialize and staticpro it.
54 (decode_mac_font_name): Replace '-' in family name with '_' if it
55 occurs just once. Lower family name.
56 (parse_x_font_name): Rename from x_font_name_to_mac_font_name.
57 All uses changed. Remove argument MF and code conversion for it.
58 Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS
59 to CHARSET. Parse font size. Lower family name. Return integer
60 value for status of parsing.
61 (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name.
62 Don't use Fdowncase because family name is already lowered by
63 decode_mac_font_name.
64 (init_font_name_table): Always call decode_mac_font_name. Add
65 pair of family name and its reference to fm_font_family_alist.
66 (mac_clear_font_name_table): Clear fm_font_family_alist.
67 (XLoadQueryFont): Move font size parsing part to parse_x_font_name.
68 Lookup fm_font_family_alist to get font family reference.
69 (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family
70 name is already lowered by parse_x_font_name.
71
722005-10-11 Kim F. Storm <storm@cua.dk>
73
74 * xterm.c (glyph_rect): Return 0 if position is outside text area.
75
76 * keyboard.c (make_lispy_position): Fix buffer position calculation for
77 mouse click or movement in fringe.
78
792005-10-10 Jason Rumney <jasonr@gnu.org>
80
81 * xterm.c (remember_mouse_glyph): New function.
82 (note_mouse_movement): Use it to remember the current glyph if changed.
83 (XTmouse_position): Fix calculation of fake glyph under mouse.
84 Move code to calculate glyph under mouse into remember_mouse_glyph.
85
862005-10-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
87
88 * emacs.c (USAGE3, standard_args): -nb => -nbi.
89
902005-10-10 Juanma Barranquero <lekktu@gmail.com>
91
92 * frame.c (Fredirect_frame_focus): Fix typos in docstring.
93 (next_frame, prev_frame, set_term_frame_name): Make static.
94
95 * window.c (Fwindow_tree): Fix spelling.
96
972005-10-09 Romain Francoise <romain@orebokech.com>
98
99 * window.c (Fwindow_end): Don't try to redisplay if non-interactive.
100
1012005-10-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
102
103 * emacs.c (standard_args): Remove options -i, -itype, --icon-type.
104 Add options -nb, --no-bitmap-icon.
105
106 * xfns.c (Fx_create_frame): Make bitmapIcon have default on.
107
1082005-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
109
110 * macgui.h (MAX_CLIP_RECTS): New define.
111 (struct _XGC): New member clip_region.
112 (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and
113 clip_rects.
114
115 * macterm.c (GC_CLIP_REGION): New macro.
116 (saved_port_clip_region): New variable.
117 (mac_begin_clip, mac_end_clip): New functions.
118 (XDrawLine, mac_erase_rectangle, mac_draw_bitmap, XFillRectangle)
119 (mac_draw_rectangle, mac_draw_string_common, mac_copy_area)
120 (mac_copy_area_with_mask, mac_scroll_area): Use them.
121 (mac_set_clip_rectangle, mac_reset_clipping): Remove functions.
122 [USE_ATSUI] (atsu_get_text_layout_with_text_ptr)
123 [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable.
124 (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping
125 rectangles stored in gc.
126 (XFreeGC): Dispose of clipping region.
127 (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions.
128 (x_draw_fringe_bitmap, x_set_glyph_string_clipping)
129 (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string)
130 (x_draw_glyph_string, x_clip_to_row, x_draw_hollow_cursor)
131 (x_draw_bar_cursor): Use them.
132 (x_set_glyph_string_clipping): Use get_glyph_string_clip_rects to
133 get multiple clipping rectangles.
134
135 * macterm.h (mac_term_init): Add types to extern.
136 (struct mac_output): Remove members mWP and pending_menu_activation.
137 Put members scroll_bar_foreground_pixel and
138 scroll_bar_background_pixel in #if 0.
139 (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc.
140
141 * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT.
142 Add debug code.
143
1442005-10-08 Kim F. Storm <storm@cua.dk>
145
146 * window.c (window_tree, Fwindow_tree): Rename fns added 2005-10-04.
147
1482005-10-07 Kim F. Storm <storm@cua.dk>
149
150 * dispnew.c (redraw_overlapped_rows, redraw_overlapping_rows)
151 [!HAVE_WINDOW_SYSTEM]: Don't declare them...
152 (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them.
153
1542005-10-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
155
156 * dispextern.h (struct glyph_string): Rename member for_overlaps_p
157 to for_overlaps. Now occupy 3 bits.
158 (OVERLAPS_PRED, OVERLAPS_SUCC, OVERLAPS_BOTH)
159 (OVERLAPS_ERASED_CURSOR): New defines.
160 (struct redisplay_interface): Add new OVERLAPS arg to member
161 fix_overlapping_area.
162 (x_fix_overlapping_area): Add new OVERLAPS arg.
163 (get_glyph_string_clip_rects): Add extern.
164
165 * dispnew.c (redraw_overlapping_rows): Call
166 rif->fix_overlapping_area with new OVERLAPS arg as redrawn part.
167
168 * xdisp.c: Rename member for_overlaps_p in struct glyph_string to
169 for_overlaps.
170 (get_glyph_string_clip_rects): New function created from
171 get_glyph_string_clip_rect. Set clipping rectangles according to the
172 value of for_overlaps. Enable to store multiple clipping rectangles.
173 (get_glyph_string_clip_rect): Use get_glyph_string_clip_rects.
174 (fill_composite_glyph_string, fill_glyph_string, draw_glyphs):
175 Rename argument OVERLAPS_P to OVERLAPS. All uses in macros changed.
176 (x_fix_overlapping_area): Add OVERLAPS arg. Pass it to draw_glyphs.
177 (draw_phys_cursor_glyph): Set width of erased cursor to use it for
178 calculating clipping rectangles later. Call x_fix_overlapping_area
179 with new OVERLAPS arg to draw only erased cursor area.
180 (expose_overlaps): Call x_fix_overlapping_area with new OVERLAPS arg
181 to draw overlaps in both preceding and succeeding rows.
182
183 * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in
184 struct glyph_string to for_overlaps.
185
12005-10-04 Kim F. Storm <storm@cua.dk> 1862005-10-04 Kim F. Storm <storm@cua.dk>
2 187
3 * window.c (window_split_tree): New function. 188 * window.c (window_split_tree): New function.
@@ -130,9 +315,9 @@
130 315
131 * systime.h (get_operating_system_release): ... here. 316 * systime.h (get_operating_system_release): ... here.
132 317
133 * xterm.c (set_vertical_scroll_bar): Move prototype ... 318 * xterm.c (handle_one_xevent): Refer to union field to match the
134 (handle_one_xevent): Refer to union field to match the type 319 type required by the function definition.
135 required by the function definition. 320 (set_vertical_scroll_bar): Move prototype ...
136 321
137 * xterm.h: ... here. 322 * xterm.h: ... here.
138 323
@@ -1483,7 +1668,7 @@
14832005-06-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 16682005-06-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
1484 1669
1485 * macmenu.c (cleanup_popup_menu): New function. 1670 * macmenu.c (cleanup_popup_menu): New function.
1486 (Fx_popup_menu): unwind protect cleanup_popup_menu in case 1671 (Fx_popup_menu): Unwind protect cleanup_popup_menu in case
1487 mac_menu_show Quit:s. 1672 mac_menu_show Quit:s.
1488 (mac_menu_show): Quit on cancel if not popped up on click (i.e. 1673 (mac_menu_show): Quit on cancel if not popped up on click (i.e.
1489 a dialog). 1674 a dialog).
@@ -3658,7 +3843,7 @@
3658 [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size 3843 [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size
3659 of filename string. Set event callback function when creating 3844 of filename string. Set event callback function when creating
3660 dialog boxes. Add code conversions for filenames. Don't dispose 3845 dialog boxes. Add code conversions for filenames. Don't dispose
3661 apple event descriptor record if failed to create it. 3846 of apple event descriptor record if failed to create it.
3662 3847
3663 * macterm.c: Include sys/param.h. 3848 * macterm.c: Include sys/param.h.
3664 [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for 3849 [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for
@@ -6765,7 +6950,8 @@
6765 (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a 6950 (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a
6766 scroll-bar click event. 6951 scroll-bar click event.
6767 (mac_define_frame_cursor): Change the pointer shape. 6952 (mac_define_frame_cursor): Change the pointer shape.
6768 (x_free_frame_resources): Reset tip_window to NULL when it is disposed. 6953 (x_free_frame_resources): Reset tip_window to NULL when it is
6954 disposed of.
6769 [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. 6955 [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable.
6770 [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. 6956 [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor.
6771 (do_window_update): Don't do anything if the updated window is the 6957 (do_window_update): Don't do anything if the updated window is the
@@ -16784,7 +16970,7 @@
16784 * w32.c (sys_getpeername, fcntl): New functions. 16970 * w32.c (sys_getpeername, fcntl): New functions.
16785 (_sys_read_ahead): Temporarily block on non-blocking sockets. 16971 (_sys_read_ahead): Temporarily block on non-blocking sockets.
16786 16972
16787 * w32proc.c: include sys/file.h. 16973 * w32proc.c: Include sys/file.h.
16788 16974
167892002-05-03 Colin Walters <walters@verbum.org> 169752002-05-03 Colin Walters <walters@verbum.org>
16790 16976