aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorKaroly Lorentey2004-03-07 15:30:22 +0000
committerKaroly Lorentey2004-03-07 15:30:22 +0000
commit54e81dc64794f315efdf418518a5e00f419cbcbd (patch)
tree4c2dc33f0c1e697b810298ba5e9972341c0d4240 /src/ChangeLog
parent4388f1016b80bd33a75481b28352ae6c456e386a (diff)
parentee96c8385cf436bf308665e5d6c8fb16c761e8e1 (diff)
downloademacs-54e81dc64794f315efdf418518a5e00f419cbcbd.tar.gz
emacs-54e81dc64794f315efdf418518a5e00f419cbcbd.zip
Merged in changes from CVS HEAD
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-126 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-127 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-128 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-129 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-130 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-131 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-132 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-133 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-134 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-135 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-136 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-137 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-112
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog241
1 files changed, 153 insertions, 88 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c1a63aab953..bb8ef04bc67 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,78 @@
12004-03-04 Richard M. Stallman <rms@gnu.org>
2
3 * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS): New definition.
4
5 * window.c (Fdisplay_buffer): Doc fix.
6
7 * buffer.c (Fpop_to_buffer): Doc fix.
8
92004-03-03 Kim F. Storm <storm@cua.dk>
10
11 * xdisp.c (display_line): Fix call to get_overlay_arrow_glyph_row.
12
132004-03-02 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * editfns.c (Ftranslate_region): Lisp_Object/int mixup.
16
172004-03-02 Richard M. Stallman <rms@gnu.org>
18
19 * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc.
20
212004-03-02 Kenichi Handa <handa@m17n.org>
22
23 * doc.c (Fsubstitute_command_keys): Fix counding bytes.
24
252004-03-02 Kim F. Storm <storm@cua.dk>
26
27 * window.h (struct window): New member overlay_arrow_bitmap.
28
29 * window.c (make_window): Initialize overlay_arrow_bitmap.
30
31 * xdisp.c (Voverlay_arrow_variable_list): New variable to properly
32 implement and integrate multiple overlay arrows with redisplay.
33 (syms_of_xdisp): DEFVAR_LISP and initialize it.
34 (last_arrow_position, last_arrow_string): Replace by properties.
35 (Qlast_arrow_position, Qlast_arrow_string)
36 (Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables.
37 (syms_of_xdisp): Intern and staticpro them.
38 (overlay_arrow_string_or_property, update_overlay_arrows)
39 (overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p)
40 (overlay_arrow_at_row): New functions for multiple overlay arrows.
41 (redisplay_internal): Use them instead of directly accessing
42 Voverlay_arrow_position etc. for multiple overlay arrows.
43 (mark_window_display_accurate): Use update_overlay_arrows.
44 (try_cursor_movement): Use overlay_arrow_in_current_buffer_p.
45 (try_window_id): Use overlay_arrows_changed_p.
46 (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg.
47 (display_line): Use overlay_arrow_at_row to check multiple
48 overlay arrows, and get relevant overlay-arrow-string and
49 overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly.
50 (produce_image_glyph): Set pixel_width = 0 for fringe bitmap.
51 (syms_of_xdisp): Remove last_arrow_position and last_arrow_string.
52
53 * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set.
54 (update_window_fringes): Remove unused code.
55
562004-03-01 Jason Rumney <jasonr@gnu.org>
57
58 * w32term.c (w32_read_socket): Fix last change to ButtonPress handling.
59
602004-03-01 Juanma Barranquero <lektu@terra.es>
61
62 * fringe.c (Fdefine_fringe_bitmap): Fix typo in docstring.
63
64 * makefile.w32-in ($(BLD)/fringe.$(O)): Add dependencies.
65
662004-03-01 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
67
68 * xfns.c (Fx_display_color_cells): Use number of planes to calculate
69 how many colors can be displayed.
70
712004-03-01 Kenichi Handa <handa@m17n.org>
72
73 * editfns.c (Ftranslate_region): Handle multibyte chars in TABLE
74 correctly.
75
12004-02-28 Kim F. Storm <storm@cua.dk> 762004-02-28 Kim F. Storm <storm@cua.dk>
2 77
3 * dispnew.c (update_window): Update header line also if there are 78 * dispnew.c (update_window): Update header line also if there are
@@ -11,11 +86,11 @@
11 86
122004-02-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 872004-02-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
13 88
14 * xfns.c (x_window): Fixed indentation. 89 * xfns.c (x_window): Fix indentation.
15 90
16 * xterm.c (x_calc_absolute_position): Call x_real_positions 91 * xterm.c (x_calc_absolute_position): Call x_real_positions
17 to get WM window sizes and use those to calculate position. 92 to get WM window sizes and use those to calculate position.
18 (x_set_offset): Removed code commented out. 93 (x_set_offset): Remove code commented out.
19 94
202004-02-28 Miles Bader <miles@gnu.org> 952004-02-28 Miles Bader <miles@gnu.org>
21 96
@@ -39,7 +114,7 @@
39 * keyboard.h (kbd_buffer_store_event_hold): Add prototype. 114 * keyboard.h (kbd_buffer_store_event_hold): Add prototype.
40 (gen_help_event): Fix prototype. 115 (gen_help_event): Fix prototype.
41 116
42 * macterm.c (XTread_socket): Remove bufp_r and 117 * macterm.c (XTread_socket): Remove bufp_r and
43 numcharsp args. Add hold_quit arg. 118 numcharsp args. Add hold_quit arg.
44 Rework to use just one, local, inev input_event. Store inev 119 Rework to use just one, local, inev input_event. Store inev
45 directly in fifo using kbd_buffer_store_event_hold. 120 directly in fifo using kbd_buffer_store_event_hold.
@@ -51,7 +126,7 @@
51 initialize local hold_quit event to handle postponed quit event 126 initialize local hold_quit event to handle postponed quit event
52 (and store it if set by kbd_buffer_store_event_hold). 127 (and store it if set by kbd_buffer_store_event_hold).
53 128
54 * term.c (read_socket_hook): Fix arg list. 129 * term.c (read_socket_hook): Fix arg list.
55 130
56 * termhooks.h (read_socket_hook): Fix prototype. 131 * termhooks.h (read_socket_hook): Fix prototype.
57 132
@@ -73,9 +148,9 @@
73 148
74 * xsmfns.c (x_session_check_input): Remove numchars arg. 149 * xsmfns.c (x_session_check_input): Remove numchars arg.
75 150
76 * xterm.c (x_focus_changed, x_detect_focus_change): Remove 151 * xterm.c (x_focus_changed, x_detect_focus_change):
77 numchars arg. Always store event into bufp arg. Return nothing. 152 Remove numchars arg. Always store event into bufp arg.
78 Callers changed accordingly. 153 Return nothing. Callers changed accordingly.
79 (glyph_rect): Simplify. 154 (glyph_rect): Simplify.
80 (STORE_KEYSYM_FOR_DEBUG): New macro. 155 (STORE_KEYSYM_FOR_DEBUG): New macro.
81 (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. 156 (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc.
@@ -106,15 +181,14 @@
106 * xterm.h (x_session_check_input): Fix prototype. 181 * xterm.h (x_session_check_input): Fix prototype.
107 182
1082004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1832004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
109 184
110 * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework 185 * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'.
111 QuickTime'. 186
112
113 * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in 187 * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in
114 macgui.h). 188 macgui.h).
115 189
116 * emacs.c (main) [HAVE_CARBON]: Call init_xfns. 190 * emacs.c (main) [HAVE_CARBON]: Call init_xfns.
117 191
118 * macgui.h [MAC_OSX]: Include Carbon/Carbon.h. 192 * macgui.h [MAC_OSX]: Include Carbon/Carbon.h.
119 (mktime, DEBUG, Z, free, malloc, realloc, max, min) 193 (mktime, DEBUG, Z, free, malloc, realloc, max, min)
120 (init_process) [MAC_OSX] : Avoid conflicts with Carbon/Carbon.h. 194 (init_process) [MAC_OSX] : Avoid conflicts with Carbon/Carbon.h.
@@ -123,18 +197,16 @@
123 (Bitmap): Remove typedef. 197 (Bitmap): Remove typedef.
124 (Pixmap): Change int to GWorldPtr. 198 (Pixmap): Change int to GWorldPtr.
125 199
126 * macmenu.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in 200 * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
127 macgui.h). 201
128 202 * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
129 * macterm.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in 203 (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG):
130 macgui.h). 204 New #define to extract 16-bit depth color components from unsigned
131 (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): New
132 #define to extract 16-bit depth color components from unsigned
133 long representation. 205 long representation.
134 (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel 206 (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel
135 colors used for masks. 207 colors used for masks.
136 (struct mac_display_info): Add color_p. Remove n_cbits. 208 (struct mac_display_info): Add color_p. Remove n_cbits.
137 209
138 * macfns.c: Include sys/types.h and sys/stat.h. 210 * macfns.c: Include sys/types.h and sys/stat.h.
139 [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h). 211 [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h).
140 Include QuickTime/QuickTime.h. 212 Include QuickTime/QuickTime.h.
@@ -145,11 +217,11 @@
145 (ZPixmap): New #define for compatibility with xfns.c. 217 (ZPixmap): New #define for compatibility with xfns.c.
146 (XGetImage, XPutPixel, XGetPixel, XDestroyImage) 218 (XGetImage, XPutPixel, XGetPixel, XDestroyImage)
147 (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) 219 (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image)
148 (find_image_fsspec, image_load_qt_1, image_load_quicktime): New 220 (find_image_fsspec, image_load_qt_1, image_load_quicktime):
149 functions. 221 New functions.
150 (four_corners_best, x_create_x_image_and_pixmap) 222 (four_corners_best, x_create_x_image_and_pixmap)
151 (x_destroy_x_image, unwind_create_frame, x_disable_image, 223 (x_destroy_x_image, unwind_create_frame, x_disable_image)
152 (x_edge_detection, init_color_table, colors_in_color_table, 224 (x_edge_detection, init_color_table, colors_in_color_table)
153 (lookup_rgb_color, lookup_pixel_color, postprocess_image) 225 (lookup_rgb_color, lookup_pixel_color, postprocess_image)
154 (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) 226 (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image)
155 (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) 227 (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors)
@@ -168,14 +240,13 @@
168 (enum pbm_keyword_index, pbm_format, enum png_keyword_index) 240 (enum pbm_keyword_index, pbm_format, enum png_keyword_index)
169 (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) 241 (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format)
170 (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) 242 (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p)
171 (enum gif_keyword_index, gif_format, gif_image_p): Sync with 243 (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c.
172 xfns.c.
173 (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with 244 (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with
174 #if 0. 245 #if 0.
175 (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with 246 (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with
176 #if 0. Free white_relief.gc and black_relief.gc. 247 #if 0. Free white_relief.gc and black_relief.gc.
177 (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): New 248 (unwind_create_frame, x_emboss, x_laplace, x_edge_detection):
178 functions (from xfns.c). 249 New functions (from xfns.c).
179 (Fx_create_frame): Record unwind_create_frame. 250 (Fx_create_frame): Record unwind_create_frame.
180 (Fxw_display_color_p): Use dpyinfo->color_p. 251 (Fxw_display_color_p): Use dpyinfo->color_p.
181 (Fx_display_grayscale_p, Fx_display_planes): Don't use 252 (Fx_display_grayscale_p, Fx_display_planes): Don't use
@@ -187,14 +258,13 @@
187 (Fimage_size, Fimage_mask_p, four_corners_best, image_background) 258 (Fimage_size, Fimage_mask_p, four_corners_best, image_background)
188 (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) 259 (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image)
189 (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) 260 (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges)
190 (image_background_transparent): New function (from xfns.c). Use 261 (image_background_transparent): New function (from xfns.c).
191 PIX_MASK_DRAW/PIX_MASK_RETAIN. 262 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
192 (image_load_quicktime): Add declaration. 263 (image_load_quicktime): Add declaration.
193 [MAC_OSX] (image_load_quartz2d): Likewise. 264 [MAC_OSX] (image_load_quartz2d): Likewise.
194 [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. 265 [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef.
195 [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. 266 [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable.
196 [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New 267 [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs.
197 functions.
198 (xbm_load_image_from_file, x_laplace_read_row) 268 (xbm_load_image_from_file, x_laplace_read_row)
199 (x_laplace_write_row, pbm_read_file): Remove functions. 269 (x_laplace_write_row, pbm_read_file): Remove functions.
200 [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) 270 [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p)
@@ -203,23 +273,22 @@
203 (lookup_rgb_color): Don't lookup color table. Just do gamma 273 (lookup_rgb_color): Don't lookup color table. Just do gamma
204 correction. 274 correction.
205 (COLOR_INTENSITY): New #define (from xfns.c). 275 (COLOR_INTENSITY): New #define (from xfns.c).
206 (x_disable_image): New function (from xfns.c). Use 276 (x_disable_image): New function (from xfns.c).
207 PIX_MASK_DRAW/PIX_MASK_RETAIN. 277 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
208 (x_build_heuristic_mask): Sync with xfns.c. Use 278 (x_build_heuristic_mask): Sync with xfns.c.
209 PIX_MASK_DRAW/PIX_MASK_RETAIN. 279 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
210 (HAVE_PBM): Remove #ifdef. 280 (HAVE_PBM): Remove #ifdef.
211 (pbm_load): Sync with xfns.c. Set img->width and img->height 281 (pbm_load): Sync with xfns.c. Set img->width and img->height
212 before IMAGE_BACKGROUND. 282 before IMAGE_BACKGROUND.
213 (png_image_p, png_load): Don't enclose declarations with #if 283 (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG.
214 HAVE_PNG.
215 (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): 284 (Qpng, enum png_keyword_index, png_format, png_type, png_image_p):
216 Don't enclose with #if HAVE_PNG. 285 Don't enclose with #if HAVE_PNG.
217 [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a 286 [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a
218 symbol _CGImageCreateWithPNGDataProvider is defined. Otherwise 287 symbol _CGImageCreateWithPNGDataProvider is defined.
219 use image_load_quicktime. 288 Otherwise use image_load_quicktime.
220 [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. 289 [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime.
221 [HAVE_PNG] (png_load): Sync with xfns.c. Use 290 [HAVE_PNG] (png_load): Sync with xfns.c.
222 PIX_MASK_DRAW/PIX_MASK_RETAIN. 291 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
223 (jpeg_image_p, jpeg_load): Don't enclose declarations with #if 292 (jpeg_image_p, jpeg_load): Don't enclose declarations with #if
224 HAVE_JPEG. 293 HAVE_JPEG.
225 (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) 294 (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type)
@@ -232,11 +301,10 @@
232 (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) 301 (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type)
233 (tiff_image_p): Don't enclose with #if HAVE_TIFF. 302 (tiff_image_p): Don't enclose with #if HAVE_TIFF.
234 [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. 303 [!HAVE_TIFF] (tiff_load): Use image_load_quicktime.
235 [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): New 304 [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler):
236 functions (from xfns.c). 305 New functions (from xfns.c).
237 [HAVE_TIFF] (tiff_load): Sync with xfns.c. 306 [HAVE_TIFF] (tiff_load): Sync with xfns.c.
238 (gif_image_p, gif_load): Don't enclose declarations with #if 307 (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF.
239 HAVE_GIF.
240 (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): 308 (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p):
241 Don't enclose with #if HAVE_GIF. 309 Don't enclose with #if HAVE_GIF.
242 [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is 310 [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is
@@ -253,12 +321,11 @@
253 image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and 321 image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
254 HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. 322 HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p.
255 (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and 323 (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
256 HAVE_PNG. Call EnterMovies to support animated gifs. Call 324 HAVE_PNG. Call EnterMovies to support animated gifs.
257 init_image_func_pointer to bind a symbol 325 Call init_image_func_pointer to bind a symbol
258 _CGImageCreateWithPNGDataProvider if it is defined. 326 _CGImageCreateWithPNGDataProvider if it is defined.
259 327
260 * macterm.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in 328 * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
261 macgui.h).
262 (x_draw_bar_cursor): Sync declaration with xterm.c. 329 (x_draw_bar_cursor): Sync declaration with xterm.c.
263 (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) 330 (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area)
264 (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen 331 (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen
@@ -266,16 +333,16 @@
266 (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. 333 (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc.
267 (mac_draw_line_to_pixmap, XCreatePixmap) 334 (mac_draw_line_to_pixmap, XCreatePixmap)
268 (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) 335 (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap)
269 (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): New 336 (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap):
270 functions. 337 New functions.
271 (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: Use 338 (mac_draw_bitmap) [TARGET_API_MAC_CARBON]:
272 GetPortBitMapForCopyBits instead of the cast to Bitmap *. Cast 339 Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
273 bits to char *. 340 Cast bits to char *.
274 (reflect_byte): New function (from w32fns.c). 341 (reflect_byte): New function (from w32fns.c).
275 (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits 342 (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits
276 due to byte alignment. 343 due to byte alignment.
277 (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use 344 (mac_scroll_area) [TARGET_API_MAC_CARBON]:
278 GetPortBitMapForCopyBits instead of the cast to Bitmap *. 345 Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
279 (XSetForeground): Remove static (now used in macfns.c). 346 (XSetForeground): Remove static (now used in macfns.c).
280 (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). 347 (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c).
281 (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. 348 (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c.
@@ -293,18 +360,16 @@
293 (x_free_frame_resources): New funcion (from xterm.c). 360 (x_free_frame_resources): New funcion (from xterm.c).
294 (XTread_socket): Call handle_tool_bar_click if mouse up/down event 361 (XTread_socket): Call handle_tool_bar_click if mouse up/down event
295 occurs in tool bar area. 362 occurs in tool bar area.
296 (mac_initialize_display_info): Remove dpyinfo->n_cbits. Set 363 (mac_initialize_display_info): Remove dpyinfo->n_cbits.
297 dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. 364 Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth.
298 Initialize image cache. 365 Initialize image cache.
299 (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): 366 (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match):
300 Enclose unused functions with #if 0. 367 Enclose unused functions with #if 0.
301 (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. 368 (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables.
302 (decode_mac_font_name): New function to apply code conversions 369 (decode_mac_font_name): New function to apply code conversions
303 from a mac font name to an XLFD font name according to its script 370 from a mac font name to an XLFD font name according to its script code.
304 code.
305 (x_font_name_to_mac_font_name): Apply code conversion from an XLFD 371 (x_font_name_to_mac_font_name): Apply code conversion from an XLFD
306 font name to a mac font name according to REGISTRY and ENCODING 372 font name to a mac font name according to REGISTRY and ENCODING fields.
307 fields.
308 (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font 373 (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font
309 whose name starts with `.'. 374 whose name starts with `.'.
310 (init_font_name_table): Use decode_mac_font_name. Add both 375 (init_font_name_table): Use decode_mac_font_name. Add both
@@ -345,7 +410,7 @@
345 * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked); 410 * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked);
346 BLOCK_INPUT can be nested, so it doesn't make much sense. 411 BLOCK_INPUT can be nested, so it doesn't make much sense.
347 412
3482004-02-24 Michael Mauger <mmaug@yahoo.com> 4132004-02-24 Michael Mauger <mmaug@yahoo.com>
349 414
350 * w32fns.c (slurp_file, xbm_scan, xbm_load_image) 415 * w32fns.c (slurp_file, xbm_scan, xbm_load_image)
351 (xbm_read_bitmap_data): Use unsigned char for image data. 416 (xbm_read_bitmap_data): Use unsigned char for image data.
@@ -363,8 +428,8 @@
363 428
364 * emacs.c (USAGE1): Split into two halves. 429 * emacs.c (USAGE1): Split into two halves.
365 (USAGE2): Second half of the old USAGE1. 430 (USAGE2): Second half of the old USAGE1.
366 (USAGE3): Renamed from USAGE2. 431 (USAGE3): Rename from USAGE2.
367 (USAGE4): Renamed from USAGE3. 432 (USAGE4): Rename from USAGE3.
368 433
3692004-02-21 Juri Linkov <juri@jurta.org> 4342004-02-21 Juri Linkov <juri@jurta.org>
370 435
@@ -387,8 +452,8 @@
387 in one call to read_socket_hook. Value is 8. 452 in one call to read_socket_hook. Value is 8.
388 (read_avail_input): Separate and rework handling of read_socket_hook 453 (read_avail_input): Separate and rework handling of read_socket_hook
389 and non-read_socket_hook cases. Use smaller input_event buffer 454 and non-read_socket_hook cases. Use smaller input_event buffer
390 in read_socket_hook case, and repeat if full buffer is read. Use 455 in read_socket_hook case, and repeat if full buffer is read.
391 new local variable 'discard' to skip input after C-g. 456 Use new local variable 'discard' to skip input after C-g.
392 In non-read_socket_hook case, just use a single input_event, and 457 In non-read_socket_hook case, just use a single input_event, and
393 call kbd_buffer_store_event on the fly for each character. 458 call kbd_buffer_store_event on the fly for each character.
394 459
@@ -595,7 +660,7 @@
595 Add prototypes. 660 Add prototypes.
596 661
597 * macterm.c (mac_draw_bitmap): Add overlay_p arg. 662 * macterm.c (mac_draw_bitmap): Add overlay_p arg.
598 (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps; 663 (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps;
599 thanks to YAMAMOTO Mitsuharu for advice on how to do this. 664 thanks to YAMAMOTO Mitsuharu for advice on how to do this.
600 Use cursor color for displaying cursor in fringe. 665 Use cursor color for displaying cursor in fringe.
601 (x_redisplay_interface): Add null handlers for 666 (x_redisplay_interface): Add null handlers for
@@ -756,7 +821,7 @@
756 821
757 * makefile.w32-in, w32fns.c: Add `default-printer-name' function. 822 * makefile.w32-in, w32fns.c: Add `default-printer-name' function.
758 823
7592004-01-27 Steven Tamm <steventamm@mac.com> 8242004-01-27 Steven Tamm <steventamm@mac.com>
760 825
761 * unexmacosx.c (unexec_copy): Do not copy more than was 826 * unexmacosx.c (unexec_copy): Do not copy more than was
762 requested to prevent overwriting during unexec. 827 requested to prevent overwriting during unexec.
@@ -767,7 +832,7 @@
767 832
768 * process.h: Add extern to synch_process_termsig. 833 * process.h: Add extern to synch_process_termsig.
769 834
7702004-01-27 Steven Tamm <steventamm@mac.com> 8352004-01-27 Steven Tamm <steventamm@mac.com>
771 836
772 * macterm.c (make_mac_frame, make_mac_terminal_frame): 837 * macterm.c (make_mac_frame, make_mac_terminal_frame):
773 Move setting of scroll bars from make_mac_frame to 838 Move setting of scroll bars from make_mac_frame to
@@ -884,7 +949,7 @@
884 949
885 * buffer.h (struct buffer): New member indicate_buffer_boundaries. 950 * buffer.h (struct buffer): New member indicate_buffer_boundaries.
886 951
887 * buffer.c (init_buffer_once): Set buffer_defaults and 952 * buffer.c (init_buffer_once): Set buffer_defaults and
888 buffer_local_flags for indicate_buffer_boundaries. 953 buffer_local_flags for indicate_buffer_boundaries.
889 (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro 954 (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro
890 default- variable for it. 955 default- variable for it.
@@ -1095,7 +1160,7 @@
1095 to the definition of `signal' in the Elisp manual. 1160 to the definition of `signal' in the Elisp manual.
1096 * eval.c (Fsignal): Ditto. 1161 * eval.c (Fsignal): Ditto.
1097 1162
10982003-12-29 James Clark <jjc@jclark.com> (tiny change) 11632003-12-29 James Clark <jjc@jclark.com> (tiny change)
1099 1164
1100 * fns.c (internal_equal): Return t for two NaN arguments. 1165 * fns.c (internal_equal): Return t for two NaN arguments.
1101 1166
@@ -1221,7 +1286,7 @@
1221 1286
1222 * minibuf.c (Fcompleting_read): Undo previous change. 1287 * minibuf.c (Fcompleting_read): Undo previous change.
1223 1288
12242003-12-25 Lars Hansen <larsh@math.ku.dk> 12892003-12-25 Lars Hansen <larsh@math.ku.dk>
1225 1290
1226 * dired.c (Fdirectory_files, Fdirectory_files_and_attributes): 1291 * dired.c (Fdirectory_files, Fdirectory_files_and_attributes):
1227 Arguments GCPRO'ed in call to file name handler. 1292 Arguments GCPRO'ed in call to file name handler.
@@ -1410,7 +1475,7 @@
1410 * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new 1475 * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new
1411 mode_line_string and marginal_area_string parameters. 1476 mode_line_string and marginal_area_string parameters.
1412 1477
14132003-11-22 Lars Hansen <larsh@math.ku.dk> 14782003-11-22 Lars Hansen <larsh@math.ku.dk>
1414 1479
1415 * w32.c (struct the_group, getgrgid): Add. 1480 * w32.c (struct the_group, getgrgid): Add.
1416 * mac.c (struct my_group, getgrgid): Add. 1481 * mac.c (struct my_group, getgrgid): Add.
@@ -1504,7 +1569,7 @@
1504 * frame.c (store_frame_param): 1569 * frame.c (store_frame_param):
1505 * fontset.c (Fset_fontset_font): 1570 * fontset.c (Fset_fontset_font):
1506 * emacs.c (shut_down_emacs): 1571 * emacs.c (shut_down_emacs):
1507 * ccl.c (ccl_driver): Remove period at end of error message. 1572 * ccl.c (ccl_driver): Remove period at end of error message.
1508 1573
1509 * config.in: Regenerate. 1574 * config.in: Regenerate.
1510 1575
@@ -1809,7 +1874,7 @@
1809 Set BUF_INTERVALS (buffer)->up_obj when appropriate. 1874 Set BUF_INTERVALS (buffer)->up_obj when appropriate.
1810 Handle over_used when splitting UNDER. 1875 Handle over_used when splitting UNDER.
1811 1876
18122003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 18772003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1813 1878
1814 * regex.c (regex_compile): Free the stack when returning from function. 1879 * regex.c (regex_compile): Free the stack when returning from function.
1815 1880
@@ -2064,7 +2129,7 @@
2064 2129
2065 * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment. 2130 * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment.
2066 2131
20672003-08-26 Terje Rosten <terjeros@phys.ntnu.no> 21322003-08-26 Terje Rosten <terjeros@phys.ntnu.no>
2068 2133
2069 * xfns.c (Vgtk_version_string): New variable. 2134 * xfns.c (Vgtk_version_string): New variable.
2070 (syms_of_xfns): DEFVAR_LISP it. Provide gtk. 2135 (syms_of_xfns): DEFVAR_LISP it. Provide gtk.
@@ -3358,11 +3423,11 @@
3358 (draw_fringe_bitmap): Rework to handle per-window fringes and new 3423 (draw_fringe_bitmap): Rework to handle per-window fringes and new
3359 fringe vs. display margin position. 3424 fringe vs. display margin position.
3360 (hscroll_window_tree): Use window_box_width instead of window_box. 3425 (hscroll_window_tree): Use window_box_width instead of window_box.
3361 (redisplay_window): Adapt to per-window scroll bars. 3426 (redisplay_window): Adapt to per-window scroll bars.
3362 (draw_glyphs): Rework to handle per-window fringes and scroll 3427 (draw_glyphs): Rework to handle per-window fringes and scroll
3363 bars, and new fringe vs. display margin position. 3428 bars, and new fringe vs. display margin position.
3364 Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. 3429 Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left.
3365 (x_clear_end_of_line): Adapt to per-window fringes and scroll 3430 (x_clear_end_of_line): Adapt to per-window fringes and scroll
3366 bars, and new fringe vs. display margin position. Fix bug which 3431 bars, and new fringe vs. display margin position. Fix bug which
3367 increased total width of full_width rows by width of scroll bars 3432 increased total width of full_width rows by width of scroll bars
3368 although window's total width already includes that. 3433 although window's total width already includes that.
@@ -4429,7 +4494,7 @@
4429 (w32_draw_window_cursor): New W32-specific functions for RIF. 4494 (w32_draw_window_cursor): New W32-specific functions for RIF.
4430 (w32_redisplay_interface): Add new members. 4495 (w32_redisplay_interface): Add new members.
4431 4496
4432 * w32gui.h (No_Cursor): Define as 0 for W32. 4497 * w32gui.h (No_Cursor): Define as 0 for W32.
4433 (XRectangle): Add X compatible rectangle type. 4498 (XRectangle): Add X compatible rectangle type.
4434 (NativeRectangle): Declare as RECT for W32. 4499 (NativeRectangle): Declare as RECT for W32.
4435 (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. 4500 (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.
@@ -5517,7 +5582,7 @@
5517 5582
5518 * lisp.h: Declare Vx_resource_name extern. 5583 * lisp.h: Declare Vx_resource_name extern.
5519 5584
5520 * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT 5585 * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT
5521 for USE_GTK. 5586 for USE_GTK.
5522 (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. 5587 (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK.
5523 5588
@@ -5904,12 +5969,12 @@
5904 Its primary purpose at this time is to initialize the global variable 5969 Its primary purpose at this time is to initialize the global variable
5905 track_mouse_event_fn. 5970 track_mouse_event_fn.
5906 5971
5907 * w32fns.c (w32_wnd_proc): Remove initialization of 5972 * w32fns.c (w32_wnd_proc): Remove initialization of
5908 track_mouse_event_fn from the handler for the WM_SETFOCUS message. 5973 track_mouse_event_fn from the handler for the WM_SETFOCUS message.
5909 5974
5910 * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. 5975 * w32fns.c (syms_of_w32fns): Call globals_of_w32fns.
5911 5976
5912 * w32menu.c (globals_of_w32menu): New function. Used to 5977 * w32menu.c (globals_of_w32menu): New function. Used to
5913 initialize those global variables that must always be initialized 5978 initialize those global variables that must always be initialized
5914 on startup even when the global variable initialized is non zero. 5979 on startup even when the global variable initialized is non zero.
5915 Its primary purpose at this time is to initialize the global 5980 Its primary purpose at this time is to initialize the global
@@ -11096,7 +11161,7 @@
11096 11161
110972001-12-03 Pavel Jan,Am(Bk <Pavel@Janik.cz> 111622001-12-03 Pavel Jan,Am(Bk <Pavel@Janik.cz>
11098 11163
11099 * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option. 11164 * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief' an option.
11100 11165
111012001-12-02 Pavel Jan,Am(Bk <Pavel@Janik.cz> 111662001-12-02 Pavel Jan,Am(Bk <Pavel@Janik.cz>
11102 11167