comparison src/ChangeLog @ 90242:5e2d3828e89f

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-91 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 581-597) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 133-141) - Update from CVS - Merge from emacs--cvs-trunk--0 - Update from CVS: texi/gnus.texi (RSS): Fix key description. - Update from CVS: texi/gnus.texi (Document Server Internals): Addition.
author Miles Bader <miles@gnu.org>
date Sat, 15 Oct 2005 00:26:05 +0000
parents aa89c814f853 4428004b0bf8
children 0ca0d9181b5e
comparison
equal deleted inserted replaced
90241:c293a93ebacf 90242:5e2d3828e89f
1 2005-10-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * macterm.c (note_mouse_movement, XTread_socket): Apply 2005-10-14
4 changes for xterm.c.
5
6 * w32term.c (note_mouse_movement, w32_read_socket): Likewise.
7
8 2005-10-14 Kenichi Handa <handa@m17n.org>
9
10 * search.c (search_buffer): Give up BM search on case-fold-search
11 if one of a target character has a case-equivalence of different
12 charset even if that target charcter is an ASCII.
13
14 * casefiddle.c (casify_object): Fix for the case that case
15 conversion change the byte length.
16
17 2005-10-14 Kim F. Storm <storm@cua.dk>
18
19 * xterm.c (note_mouse_movement): Return 1 if mouse moved; 0 otherwise.
20 (handle_one_xevent): Only clear help_echo_string; restore it if
21 note_mouse_movement didn't record any mouse movement.
22
23 * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use.
24 (remember_mouse_glyph): Clear RECT if mouse is over an image glyph.
25
26 * keyboard.c (make_lispy_position): Adjust wx for left margin if ON_TEXT.
27 (Fposn_at_x_y): Fix calculation of x coordinate.
28 (Fposn_at_point): Return nil if point is hscrolled out of view.
29
30 2005-10-13 Andreas Schwab <schwab@suse.de>
31
32 * sysdep.c (request_sigio, unrequest_sigio): Do nothing in
33 non-interactive mode.
34
35 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
36
37 * xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change.
38
39 2005-10-12 Kim F. Storm <storm@cua.dk>
40
41 * xterm.c (handle_one_xevent): Clear last_mouse_glyph on mouse up/down.
42
43 2005-10-12 Romain Francoise <romain@orebokech.com>
44
45 * buffer.c (init_buffer): Rename `rc' to `len' for clarity.
46
47 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
48
49 * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to
50 get end of text rows. Obtain header-line/mode-line rows directly.
51
52 * xterm.c, w32term.c, macterm.c (note_mouse_movement): Restore
53 help_echo_string if mouse is moved inside last_mouse_glyph.
54
55 2005-10-12 Kim F. Storm <storm@cua.dk>
56
57 * xdisp.c (remember_mouse_glyph): New generic version based on
58 glyph_rect and remember_mouse_glyph from xterm.c enhanced to
59 properly handle all different window areas.
60
61 * dispextern.h (remember_mouse_glyph): Add prototype.
62
63 * xterm.c (glyph_rect, remember_mouse_glyph): Remove X versions.
64 (note_mouse_movement, XTmouse_position): Use generic
65 remember_mouse_glyph, add last_mouse_glyph arg.
66
67 * w32term.c (note_mouse_movement): Fix last_mouse_glyph check.
68 (glyph_rect, remember_mouse_glyph): Remove w32 specific versions.
69 (note_mouse_movement, w32_mouse_position): Use generic
70 remember_mouse_glyph, add last_mouse_glyph arg.
71
72 * macterm.c (note_mouse_movement): Add call to remember_mouse_glyph.
73 (glyph_rect, remember_mouse_glyph): Remove mac specific versions.
74 (XTmouse_position): Adapt to use generic remember_mouse_glyph
75 instead of pixel_to_glyph_coords.
76
77 * window.c (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN.
78 Fix x position for ON_TEXT when left margin width > 0.
79
80 2005-10-11 Kim F. Storm <storm@cua.dk>
81
82 * window.c (coordinates_in_window): Fix y position for ON_SCROLL_BAR.
83
84 * keyboard.c (make_lispy_position): Fix buffer calculations for
85 mouse click or movement in right fringe and the margins.
86
87 2005-10-11 Juanma Barranquero <lekktu@gmail.com>
88
89 * image.c (fn_jpeg_stdio_src): Don't define it.
90 (init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'.
91 (our_common_init_source): Rename from `our_init_source'.
92 (our_common_term_source): Rename from `our_term_source'.
93 (our_memory_fill_input_buffer): Rename from
94 `our_fill_input_buffer'.
95 (our_memory_skip_input_data): Rename from `our_skip_input_data'.
96 (jpeg_memory_src): Use the new names.
97 (struct jpeg_stdio_mgr): New struct.
98 (JPEG_STDIO_BUFFER_SIZE): New constant.
99 (our_stdio_fill_input_buffer, our_stdio_skip_input_data)
100 (jpeg_file_src): New functions.
101 (jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'.
102
103 2005-10-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
104
105 * macterm.c (PER_CHAR_METRIC): Remove unused macro.
106 (fm_font_family_alist): New variable.
107 (syms_of_macterm): Initialize and staticpro it.
108 (decode_mac_font_name): Replace '-' in family name with '_' if it
109 occurs just once. Lower family name.
110 (parse_x_font_name): Rename from x_font_name_to_mac_font_name.
111 All uses changed. Remove argument MF and code conversion for it.
112 Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS
113 to CHARSET. Parse font size. Lower family name. Return integer
114 value for status of parsing.
115 (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name.
116 Don't use Fdowncase because family name is already lowered by
117 decode_mac_font_name.
118 (init_font_name_table): Always call decode_mac_font_name. Add
119 pair of family name and its reference to fm_font_family_alist.
120 (mac_clear_font_name_table): Clear fm_font_family_alist.
121 (XLoadQueryFont): Move font size parsing part to parse_x_font_name.
122 Lookup fm_font_family_alist to get font family reference.
123 (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family
124 name is already lowered by parse_x_font_name.
125
126 2005-10-11 Kim F. Storm <storm@cua.dk>
127
128 * xterm.c (glyph_rect): Return 0 if position is outside text area.
129
130 * keyboard.c (make_lispy_position): Fix buffer position calculation for
131 mouse click or movement in fringe.
132
133 2005-10-10 Jason Rumney <jasonr@gnu.org>
134
135 * xterm.c (remember_mouse_glyph): New function.
136 (note_mouse_movement): Use it to remember the current glyph if changed.
137 (XTmouse_position): Fix calculation of fake glyph under mouse.
138 Move code to calculate glyph under mouse into remember_mouse_glyph.
139
140 2005-10-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
141
142 * emacs.c (USAGE3, standard_args): -nb => -nbi.
143
144 2005-10-10 Juanma Barranquero <lekktu@gmail.com>
145
146 * frame.c (Fredirect_frame_focus): Fix typos in docstring.
147 (next_frame, prev_frame, set_term_frame_name): Make static.
148
149 * window.c (Fwindow_tree): Fix spelling.
150
151 2005-10-09 Romain Francoise <romain@orebokech.com>
152
153 * window.c (Fwindow_end): Don't try to redisplay if non-interactive.
154
155 2005-10-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
156
157 * emacs.c (standard_args): Remove options -i, -itype, --icon-type.
158 Add options -nb, --no-bitmap-icon.
159
160 * xfns.c (Fx_create_frame): Make bitmapIcon have default on.
161
162 2005-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
163
164 * macgui.h (MAX_CLIP_RECTS): New define.
165 (struct _XGC): New member clip_region.
166 (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and
167 clip_rects.
168
169 * macterm.c (GC_CLIP_REGION): New macro.
170 (saved_port_clip_region): New variable.
171 (mac_begin_clip, mac_end_clip): New functions.
172 (XDrawLine, mac_erase_rectangle, mac_draw_bitmap, XFillRectangle)
173 (mac_draw_rectangle, mac_draw_string_common, mac_copy_area)
174 (mac_copy_area_with_mask, mac_scroll_area): Use them.
175 (mac_set_clip_rectangle, mac_reset_clipping): Remove functions.
176 [USE_ATSUI] (atsu_get_text_layout_with_text_ptr)
177 [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable.
178 (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping
179 rectangles stored in gc.
180 (XFreeGC): Dispose of clipping region.
181 (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions.
182 (x_draw_fringe_bitmap, x_set_glyph_string_clipping)
183 (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string)
184 (x_draw_glyph_string, x_clip_to_row, x_draw_hollow_cursor)
185 (x_draw_bar_cursor): Use them.
186 (x_set_glyph_string_clipping): Use get_glyph_string_clip_rects to
187 get multiple clipping rectangles.
188
189 * macterm.h (mac_term_init): Add types to extern.
190 (struct mac_output): Remove members mWP and pending_menu_activation.
191 Put members scroll_bar_foreground_pixel and
192 scroll_bar_background_pixel in #if 0.
193 (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc.
194
195 * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT.
196 Add debug code.
197
198 2005-10-08 Kim F. Storm <storm@cua.dk>
199
200 * window.c (window_tree, Fwindow_tree): Rename fns added 2005-10-04.
201
202 2005-10-07 Kim F. Storm <storm@cua.dk>
203
204 * dispnew.c (redraw_overlapped_rows, redraw_overlapping_rows)
205 [!HAVE_WINDOW_SYSTEM]: Don't declare them...
206 (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them.
207
208 2005-10-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
209
210 * dispextern.h (struct glyph_string): Rename member for_overlaps_p
211 to for_overlaps. Now occupy 3 bits.
212 (OVERLAPS_PRED, OVERLAPS_SUCC, OVERLAPS_BOTH)
213 (OVERLAPS_ERASED_CURSOR): New defines.
214 (struct redisplay_interface): Add new OVERLAPS arg to member
215 fix_overlapping_area.
216 (x_fix_overlapping_area): Add new OVERLAPS arg.
217 (get_glyph_string_clip_rects): Add extern.
218
219 * dispnew.c (redraw_overlapping_rows): Call
220 rif->fix_overlapping_area with new OVERLAPS arg as redrawn part.
221
222 * xdisp.c: Rename member for_overlaps_p in struct glyph_string to
223 for_overlaps.
224 (get_glyph_string_clip_rects): New function created from
225 get_glyph_string_clip_rect. Set clipping rectangles according to the
226 value of for_overlaps. Enable to store multiple clipping rectangles.
227 (get_glyph_string_clip_rect): Use get_glyph_string_clip_rects.
228 (fill_composite_glyph_string, fill_glyph_string, draw_glyphs):
229 Rename argument OVERLAPS_P to OVERLAPS. All uses in macros changed.
230 (x_fix_overlapping_area): Add OVERLAPS arg. Pass it to draw_glyphs.
231 (draw_phys_cursor_glyph): Set width of erased cursor to use it for
232 calculating clipping rectangles later. Call x_fix_overlapping_area
233 with new OVERLAPS arg to draw only erased cursor area.
234 (expose_overlaps): Call x_fix_overlapping_area with new OVERLAPS arg
235 to draw overlaps in both preceding and succeeding rows.
236
237 * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in
238 struct glyph_string to for_overlaps.
239
1 2005-10-04 Kim F. Storm <storm@cua.dk> 240 2005-10-04 Kim F. Storm <storm@cua.dk>
2 241
3 * window.c (window_split_tree): New function. 242 * window.c (window_split_tree): New function.
4 (Fwindow_split_tree): New defun. 243 (Fwindow_split_tree): New defun.
5 (syms_of_window): Defsubr it. 244 (syms_of_window): Defsubr it.
128 367
129 * process.c (get_operating_system_release): Move prototype ... 368 * process.c (get_operating_system_release): Move prototype ...
130 369
131 * systime.h (get_operating_system_release): ... here. 370 * systime.h (get_operating_system_release): ... here.
132 371
133 * xterm.c (set_vertical_scroll_bar): Move prototype ... 372 * xterm.c (handle_one_xevent): Refer to union field to match the
134 (handle_one_xevent): Refer to union field to match the type 373 type required by the function definition.
135 required by the function definition. 374 (set_vertical_scroll_bar): Move prototype ...
136 375
137 * xterm.h: ... here. 376 * xterm.h: ... here.
138 377
139 * fns.c (internal_equal, seed_random): Fix prototypes. 378 * fns.c (internal_equal, seed_random): Fix prototypes.
140 (internal_equal): Add missing parameter. 379 (internal_equal): Add missing parameter.
1481 * xmenu.c (popup_get_selection): Click not in menu deactivates menu. 1720 * xmenu.c (popup_get_selection): Click not in menu deactivates menu.
1482 1721
1483 2005-06-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 1722 2005-06-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
1484 1723
1485 * macmenu.c (cleanup_popup_menu): New function. 1724 * macmenu.c (cleanup_popup_menu): New function.
1486 (Fx_popup_menu): unwind protect cleanup_popup_menu in case 1725 (Fx_popup_menu): Unwind protect cleanup_popup_menu in case
1487 mac_menu_show Quit:s. 1726 mac_menu_show Quit:s.
1488 (mac_menu_show): Quit on cancel if not popped up on click (i.e. 1727 (mac_menu_show): Quit on cancel if not popped up on click (i.e.
1489 a dialog). 1728 a dialog).
1490 1729
1491 2005-06-04 Kim F. Storm <storm@cua.dk> 1730 2005-06-04 Kim F. Storm <storm@cua.dk>
3656 [TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration 3895 [TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration
3657 and function. 3896 and function.
3658 [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size 3897 [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size
3659 of filename string. Set event callback function when creating 3898 of filename string. Set event callback function when creating
3660 dialog boxes. Add code conversions for filenames. Don't dispose 3899 dialog boxes. Add code conversions for filenames. Don't dispose
3661 apple event descriptor record if failed to create it. 3900 of apple event descriptor record if failed to create it.
3662 3901
3663 * macterm.c: Include sys/param.h. 3902 * macterm.c: Include sys/param.h.
3664 [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for 3903 [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for
3665 kEventWindowUpdate. 3904 kEventWindowUpdate.
3666 (install_window_handler) [USE_CARBON_EVENTS]: Register it. 3905 (install_window_handler) [USE_CARBON_EVENTS]: Register it.
6758 (mac_check_for_quit_char): Use mac_front_window and/or 6997 (mac_check_for_quit_char): Use mac_front_window and/or
6759 mac_window_to_frame. 6998 mac_window_to_frame.
6760 (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a 6999 (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a
6761 scroll-bar click event. 7000 scroll-bar click event.
6762 (mac_define_frame_cursor): Change the pointer shape. 7001 (mac_define_frame_cursor): Change the pointer shape.
6763 (x_free_frame_resources): Reset tip_window to NULL when it is disposed. 7002 (x_free_frame_resources): Reset tip_window to NULL when it is
7003 disposed of.
6764 [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. 7004 [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable.
6765 [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. 7005 [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor.
6766 (do_window_update): Don't do anything if the updated window is the 7006 (do_window_update): Don't do anything if the updated window is the
6767 tooltip window. 7007 tooltip window.
6768 (do_mouse_moved): Handle mouse movement events here (previously in 7008 (do_mouse_moved): Handle mouse movement events here (previously in
16777 * w32.h (FILE_NDELAY): New flag. 17017 * w32.h (FILE_NDELAY): New flag.
16778 17018
16779 * w32.c (sys_getpeername, fcntl): New functions. 17019 * w32.c (sys_getpeername, fcntl): New functions.
16780 (_sys_read_ahead): Temporarily block on non-blocking sockets. 17020 (_sys_read_ahead): Temporarily block on non-blocking sockets.
16781 17021
16782 * w32proc.c: include sys/file.h. 17022 * w32proc.c: Include sys/file.h.
16783 17023
16784 2002-05-03 Colin Walters <walters@verbum.org> 17024 2002-05-03 Colin Walters <walters@verbum.org>
16785 17025
16786 * callproc.c (Vgame_score_directory): Renamed to 17026 * callproc.c (Vgame_score_directory): Renamed to
16787 Vshared_game_score_directory. 17027 Vshared_game_score_directory.