aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog116
1 files changed, 55 insertions, 61 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 48fc3e13114..557856da811 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12004-03-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * editfns.c (Ftranslate_region): Lisp_Object/int mixup.
4
12004-03-02 Richard M. Stallman <rms@gnu.org> 52004-03-02 Richard M. Stallman <rms@gnu.org>
2 6
3 * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc. 7 * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc.
@@ -30,7 +34,7 @@
30 (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg. 34 (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg.
31 (display_line): Use overlay_arrow_at_row to check multiple 35 (display_line): Use overlay_arrow_at_row to check multiple
32 overlay arrows, and get relevant overlay-arrow-string and 36 overlay arrows, and get relevant overlay-arrow-string and
33 overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly. 37 overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly.
34 (produce_image_glyph): Set pixel_width = 0 for fringe bitmap. 38 (produce_image_glyph): Set pixel_width = 0 for fringe bitmap.
35 (syms_of_xdisp): Remove last_arrow_position and last_arrow_string. 39 (syms_of_xdisp): Remove last_arrow_position and last_arrow_string.
36 40
@@ -70,11 +74,11 @@
70 74
712004-02-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 752004-02-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
72 76
73 * xfns.c (x_window): Fixed indentation. 77 * xfns.c (x_window): Fix indentation.
74 78
75 * xterm.c (x_calc_absolute_position): Call x_real_positions 79 * xterm.c (x_calc_absolute_position): Call x_real_positions
76 to get WM window sizes and use those to calculate position. 80 to get WM window sizes and use those to calculate position.
77 (x_set_offset): Removed code commented out. 81 (x_set_offset): Remove code commented out.
78 82
792004-02-28 Miles Bader <miles@gnu.org> 832004-02-28 Miles Bader <miles@gnu.org>
80 84
@@ -132,9 +136,9 @@
132 136
133 * xsmfns.c (x_session_check_input): Remove numchars arg. 137 * xsmfns.c (x_session_check_input): Remove numchars arg.
134 138
135 * xterm.c (x_focus_changed, x_detect_focus_change): Remove 139 * xterm.c (x_focus_changed, x_detect_focus_change):
136 numchars arg. Always store event into bufp arg. Return nothing. 140 Remove numchars arg. Always store event into bufp arg.
137 Callers changed accordingly. 141 Return nothing. Callers changed accordingly.
138 (glyph_rect): Simplify. 142 (glyph_rect): Simplify.
139 (STORE_KEYSYM_FOR_DEBUG): New macro. 143 (STORE_KEYSYM_FOR_DEBUG): New macro.
140 (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. 144 (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc.
@@ -166,8 +170,7 @@
166 170
1672004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1712004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
168 172
169 * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework 173 * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'.
170 QuickTime'.
171 174
172 * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in 175 * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in
173 macgui.h). 176 macgui.h).
@@ -182,13 +185,11 @@
182 (Bitmap): Remove typedef. 185 (Bitmap): Remove typedef.
183 (Pixmap): Change int to GWorldPtr. 186 (Pixmap): Change int to GWorldPtr.
184 187
185 * macmenu.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in 188 * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
186 macgui.h).
187 189
188 * macterm.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in 190 * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
189 macgui.h). 191 (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG):
190 (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): New 192 New #define to extract 16-bit depth color components from unsigned
191 #define to extract 16-bit depth color components from unsigned
192 long representation. 193 long representation.
193 (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel 194 (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel
194 colors used for masks. 195 colors used for masks.
@@ -204,11 +205,11 @@
204 (ZPixmap): New #define for compatibility with xfns.c. 205 (ZPixmap): New #define for compatibility with xfns.c.
205 (XGetImage, XPutPixel, XGetPixel, XDestroyImage) 206 (XGetImage, XPutPixel, XGetPixel, XDestroyImage)
206 (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) 207 (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image)
207 (find_image_fsspec, image_load_qt_1, image_load_quicktime): New 208 (find_image_fsspec, image_load_qt_1, image_load_quicktime):
208 functions. 209 New functions.
209 (four_corners_best, x_create_x_image_and_pixmap) 210 (four_corners_best, x_create_x_image_and_pixmap)
210 (x_destroy_x_image, unwind_create_frame, x_disable_image, 211 (x_destroy_x_image, unwind_create_frame, x_disable_image)
211 (x_edge_detection, init_color_table, colors_in_color_table, 212 (x_edge_detection, init_color_table, colors_in_color_table)
212 (lookup_rgb_color, lookup_pixel_color, postprocess_image) 213 (lookup_rgb_color, lookup_pixel_color, postprocess_image)
213 (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) 214 (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image)
214 (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) 215 (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors)
@@ -227,14 +228,13 @@
227 (enum pbm_keyword_index, pbm_format, enum png_keyword_index) 228 (enum pbm_keyword_index, pbm_format, enum png_keyword_index)
228 (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) 229 (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format)
229 (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) 230 (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p)
230 (enum gif_keyword_index, gif_format, gif_image_p): Sync with 231 (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c.
231 xfns.c.
232 (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with 232 (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with
233 #if 0. 233 #if 0.
234 (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with 234 (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with
235 #if 0. Free white_relief.gc and black_relief.gc. 235 #if 0. Free white_relief.gc and black_relief.gc.
236 (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): New 236 (unwind_create_frame, x_emboss, x_laplace, x_edge_detection):
237 functions (from xfns.c). 237 New functions (from xfns.c).
238 (Fx_create_frame): Record unwind_create_frame. 238 (Fx_create_frame): Record unwind_create_frame.
239 (Fxw_display_color_p): Use dpyinfo->color_p. 239 (Fxw_display_color_p): Use dpyinfo->color_p.
240 (Fx_display_grayscale_p, Fx_display_planes): Don't use 240 (Fx_display_grayscale_p, Fx_display_planes): Don't use
@@ -246,14 +246,13 @@
246 (Fimage_size, Fimage_mask_p, four_corners_best, image_background) 246 (Fimage_size, Fimage_mask_p, four_corners_best, image_background)
247 (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) 247 (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image)
248 (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) 248 (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges)
249 (image_background_transparent): New function (from xfns.c). Use 249 (image_background_transparent): New function (from xfns.c).
250 PIX_MASK_DRAW/PIX_MASK_RETAIN. 250 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
251 (image_load_quicktime): Add declaration. 251 (image_load_quicktime): Add declaration.
252 [MAC_OSX] (image_load_quartz2d): Likewise. 252 [MAC_OSX] (image_load_quartz2d): Likewise.
253 [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. 253 [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef.
254 [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. 254 [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable.
255 [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New 255 [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs.
256 functions.
257 (xbm_load_image_from_file, x_laplace_read_row) 256 (xbm_load_image_from_file, x_laplace_read_row)
258 (x_laplace_write_row, pbm_read_file): Remove functions. 257 (x_laplace_write_row, pbm_read_file): Remove functions.
259 [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) 258 [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p)
@@ -262,23 +261,22 @@
262 (lookup_rgb_color): Don't lookup color table. Just do gamma 261 (lookup_rgb_color): Don't lookup color table. Just do gamma
263 correction. 262 correction.
264 (COLOR_INTENSITY): New #define (from xfns.c). 263 (COLOR_INTENSITY): New #define (from xfns.c).
265 (x_disable_image): New function (from xfns.c). Use 264 (x_disable_image): New function (from xfns.c).
266 PIX_MASK_DRAW/PIX_MASK_RETAIN. 265 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
267 (x_build_heuristic_mask): Sync with xfns.c. Use 266 (x_build_heuristic_mask): Sync with xfns.c.
268 PIX_MASK_DRAW/PIX_MASK_RETAIN. 267 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
269 (HAVE_PBM): Remove #ifdef. 268 (HAVE_PBM): Remove #ifdef.
270 (pbm_load): Sync with xfns.c. Set img->width and img->height 269 (pbm_load): Sync with xfns.c. Set img->width and img->height
271 before IMAGE_BACKGROUND. 270 before IMAGE_BACKGROUND.
272 (png_image_p, png_load): Don't enclose declarations with #if 271 (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG.
273 HAVE_PNG.
274 (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): 272 (Qpng, enum png_keyword_index, png_format, png_type, png_image_p):
275 Don't enclose with #if HAVE_PNG. 273 Don't enclose with #if HAVE_PNG.
276 [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a 274 [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a
277 symbol _CGImageCreateWithPNGDataProvider is defined. Otherwise 275 symbol _CGImageCreateWithPNGDataProvider is defined.
278 use image_load_quicktime. 276 Otherwise use image_load_quicktime.
279 [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. 277 [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime.
280 [HAVE_PNG] (png_load): Sync with xfns.c. Use 278 [HAVE_PNG] (png_load): Sync with xfns.c.
281 PIX_MASK_DRAW/PIX_MASK_RETAIN. 279 Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
282 (jpeg_image_p, jpeg_load): Don't enclose declarations with #if 280 (jpeg_image_p, jpeg_load): Don't enclose declarations with #if
283 HAVE_JPEG. 281 HAVE_JPEG.
284 (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) 282 (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type)
@@ -291,11 +289,10 @@
291 (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) 289 (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type)
292 (tiff_image_p): Don't enclose with #if HAVE_TIFF. 290 (tiff_image_p): Don't enclose with #if HAVE_TIFF.
293 [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. 291 [!HAVE_TIFF] (tiff_load): Use image_load_quicktime.
294 [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): New 292 [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler):
295 functions (from xfns.c). 293 New functions (from xfns.c).
296 [HAVE_TIFF] (tiff_load): Sync with xfns.c. 294 [HAVE_TIFF] (tiff_load): Sync with xfns.c.
297 (gif_image_p, gif_load): Don't enclose declarations with #if 295 (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF.
298 HAVE_GIF.
299 (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): 296 (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p):
300 Don't enclose with #if HAVE_GIF. 297 Don't enclose with #if HAVE_GIF.
301 [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is 298 [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is
@@ -312,12 +309,11 @@
312 image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and 309 image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
313 HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. 310 HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p.
314 (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and 311 (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
315 HAVE_PNG. Call EnterMovies to support animated gifs. Call 312 HAVE_PNG. Call EnterMovies to support animated gifs.
316 init_image_func_pointer to bind a symbol 313 Call init_image_func_pointer to bind a symbol
317 _CGImageCreateWithPNGDataProvider if it is defined. 314 _CGImageCreateWithPNGDataProvider if it is defined.
318 315
319 * macterm.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in 316 * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
320 macgui.h).
321 (x_draw_bar_cursor): Sync declaration with xterm.c. 317 (x_draw_bar_cursor): Sync declaration with xterm.c.
322 (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) 318 (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area)
323 (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen 319 (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen
@@ -325,16 +321,16 @@
325 (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. 321 (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc.
326 (mac_draw_line_to_pixmap, XCreatePixmap) 322 (mac_draw_line_to_pixmap, XCreatePixmap)
327 (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) 323 (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap)
328 (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): New 324 (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap):
329 functions. 325 New functions.
330 (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: Use 326 (mac_draw_bitmap) [TARGET_API_MAC_CARBON]:
331 GetPortBitMapForCopyBits instead of the cast to Bitmap *. Cast 327 Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
332 bits to char *. 328 Cast bits to char *.
333 (reflect_byte): New function (from w32fns.c). 329 (reflect_byte): New function (from w32fns.c).
334 (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits 330 (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits
335 due to byte alignment. 331 due to byte alignment.
336 (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use 332 (mac_scroll_area) [TARGET_API_MAC_CARBON]:
337 GetPortBitMapForCopyBits instead of the cast to Bitmap *. 333 Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
338 (XSetForeground): Remove static (now used in macfns.c). 334 (XSetForeground): Remove static (now used in macfns.c).
339 (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). 335 (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c).
340 (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. 336 (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c.
@@ -352,18 +348,16 @@
352 (x_free_frame_resources): New funcion (from xterm.c). 348 (x_free_frame_resources): New funcion (from xterm.c).
353 (XTread_socket): Call handle_tool_bar_click if mouse up/down event 349 (XTread_socket): Call handle_tool_bar_click if mouse up/down event
354 occurs in tool bar area. 350 occurs in tool bar area.
355 (mac_initialize_display_info): Remove dpyinfo->n_cbits. Set 351 (mac_initialize_display_info): Remove dpyinfo->n_cbits.
356 dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. 352 Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth.
357 Initialize image cache. 353 Initialize image cache.
358 (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): 354 (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match):
359 Enclose unused functions with #if 0. 355 Enclose unused functions with #if 0.
360 (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. 356 (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables.
361 (decode_mac_font_name): New function to apply code conversions 357 (decode_mac_font_name): New function to apply code conversions
362 from a mac font name to an XLFD font name according to its script 358 from a mac font name to an XLFD font name according to its script code.
363 code.
364 (x_font_name_to_mac_font_name): Apply code conversion from an XLFD 359 (x_font_name_to_mac_font_name): Apply code conversion from an XLFD
365 font name to a mac font name according to REGISTRY and ENCODING 360 font name to a mac font name according to REGISTRY and ENCODING fields.
366 fields.
367 (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font 361 (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font
368 whose name starts with `.'. 362 whose name starts with `.'.
369 (init_font_name_table): Use decode_mac_font_name. Add both 363 (init_font_name_table): Use decode_mac_font_name. Add both
@@ -422,8 +416,8 @@
422 416
423 * emacs.c (USAGE1): Split into two halves. 417 * emacs.c (USAGE1): Split into two halves.
424 (USAGE2): Second half of the old USAGE1. 418 (USAGE2): Second half of the old USAGE1.
425 (USAGE3): Renamed from USAGE2. 419 (USAGE3): Rename from USAGE2.
426 (USAGE4): Renamed from USAGE3. 420 (USAGE4): Rename from USAGE3.
427 421
4282004-02-21 Juri Linkov <juri@jurta.org> 4222004-02-21 Juri Linkov <juri@jurta.org>
429 423
@@ -446,8 +440,8 @@
446 in one call to read_socket_hook. Value is 8. 440 in one call to read_socket_hook. Value is 8.
447 (read_avail_input): Separate and rework handling of read_socket_hook 441 (read_avail_input): Separate and rework handling of read_socket_hook
448 and non-read_socket_hook cases. Use smaller input_event buffer 442 and non-read_socket_hook cases. Use smaller input_event buffer
449 in read_socket_hook case, and repeat if full buffer is read. Use 443 in read_socket_hook case, and repeat if full buffer is read.
450 new local variable 'discard' to skip input after C-g. 444 Use new local variable 'discard' to skip input after C-g.
451 In non-read_socket_hook case, just use a single input_event, and 445 In non-read_socket_hook case, just use a single input_event, and
452 call kbd_buffer_store_event on the fly for each character. 446 call kbd_buffer_store_event on the fly for each character.
453 447