diff src/ChangeLog @ 54246:a4bd1232eb74

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 02 Mar 2004 22:13:02 +0000
parents d03a6d1ad7ac
children 67285afe56f3
line wrap: on
line diff
--- a/src/ChangeLog	Tue Mar 02 22:11:53 2004 +0000
+++ b/src/ChangeLog	Tue Mar 02 22:13:02 2004 +0000
@@ -1,3 +1,7 @@
+2004-03-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* editfns.c (Ftranslate_region): Lisp_Object/int mixup.
+
 2004-03-02  Richard M. Stallman  <rms@gnu.org>
 
 	* indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc.
@@ -30,7 +34,7 @@
 	(get_overlay_arrow_glyph_row): Add overlay_arrow_string arg.
 	(display_line): Use overlay_arrow_at_row to check multiple
 	overlay arrows, and get relevant overlay-arrow-string and
-	overlay-arrow-bitmap.  Set w->overlay_arrow_bitmap accordingly. 
+	overlay-arrow-bitmap.  Set w->overlay_arrow_bitmap accordingly.
 	(produce_image_glyph): Set pixel_width = 0 for fringe bitmap.
 	(syms_of_xdisp): Remove last_arrow_position and last_arrow_string.
 
@@ -70,11 +74,11 @@
 
 2004-02-28  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
-	* xfns.c (x_window): Fixed indentation.
+	* xfns.c (x_window): Fix indentation.
 
 	* xterm.c (x_calc_absolute_position): Call x_real_positions
 	to get WM window sizes and use those to calculate position.
-	(x_set_offset): Removed code commented out.
+	(x_set_offset): Remove code commented out.
 
 2004-02-28  Miles Bader  <miles@gnu.org>
 
@@ -132,9 +136,9 @@
 
 	* xsmfns.c (x_session_check_input): Remove numchars arg.
 
-	* xterm.c (x_focus_changed, x_detect_focus_change): Remove
-	numchars arg.  Always store event into bufp arg.  Return nothing.
-	Callers changed accordingly.
+	* xterm.c (x_focus_changed, x_detect_focus_change):
+	Remove numchars arg.  Always store event into bufp arg.
+	Return nothing.  Callers changed accordingly.
 	(glyph_rect): Simplify.
 	(STORE_KEYSYM_FOR_DEBUG): New macro.
 	(SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc.
@@ -166,8 +170,7 @@
 
 2004-02-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
-	* s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework
-	QuickTime'.
+	* s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'.
 
 	* dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in
 	macgui.h).
@@ -182,13 +185,11 @@
 	(Bitmap): Remove typedef.
 	(Pixmap): Change int to GWorldPtr.
 
-	* macmenu.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in
-	macgui.h).
-
-	* macterm.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in
-	macgui.h).
-	(RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): New
-	#define to extract 16-bit depth color components from unsigned
+	* macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
+
+	* macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
+	(RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG):
+	New #define to extract 16-bit depth color components from unsigned
 	long representation.
 	(PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel
 	colors used for masks.
@@ -204,11 +205,11 @@
 	(ZPixmap): New #define for compatibility with xfns.c.
 	(XGetImage, XPutPixel, XGetPixel, XDestroyImage)
 	(x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image)
-	(find_image_fsspec, image_load_qt_1, image_load_quicktime): New
-	functions.
+	(find_image_fsspec, image_load_qt_1, image_load_quicktime):
+	New functions.
 	(four_corners_best, x_create_x_image_and_pixmap)
-	(x_destroy_x_image, unwind_create_frame, x_disable_image,
-	(x_edge_detection, init_color_table, colors_in_color_table,
+	(x_destroy_x_image, unwind_create_frame, x_disable_image)
+	(x_edge_detection, init_color_table, colors_in_color_table)
 	(lookup_rgb_color, lookup_pixel_color, postprocess_image)
 	(x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image)
 	(xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors)
@@ -227,14 +228,13 @@
 	(enum pbm_keyword_index, pbm_format, enum png_keyword_index)
 	(png_format, png_image_p, enum jpeg_keyword_index, jpeg_format)
 	(jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p)
-	(enum gif_keyword_index, gif_format, gif_image_p): Sync with
-	xfns.c.
+	(enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c.
 	(x_make_gc): Sync with xfns.c.  Enclose unused `border_tile' with
 	#if 0.
 	(x_free_gcs): Sync with xfns.c.  Enclose unused `border_tile' with
 	#if 0.  Free white_relief.gc and black_relief.gc.
-	(unwind_create_frame, x_emboss, x_laplace, x_edge_detection): New
-	functions (from xfns.c).
+	(unwind_create_frame, x_emboss, x_laplace, x_edge_detection):
+	New functions (from xfns.c).
 	(Fx_create_frame): Record unwind_create_frame.
 	(Fxw_display_color_p): Use dpyinfo->color_p.
 	(Fx_display_grayscale_p, Fx_display_planes): Don't use
@@ -246,14 +246,13 @@
 	(Fimage_size, Fimage_mask_p, four_corners_best, image_background)
 	(x_clear_image_1, postprocess_image, slurp_file, xbm_load_image)
 	(xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges)
-	(image_background_transparent): New function (from xfns.c).  Use
-	PIX_MASK_DRAW/PIX_MASK_RETAIN.
+	(image_background_transparent): New function (from xfns.c).
+	Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
 	(image_load_quicktime): Add declaration.
 	[MAC_OSX] (image_load_quartz2d): Likewise.
 	[MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef.
 	[MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable.
-	[MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New
-	functions.
+	[MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs.
 	(xbm_load_image_from_file, x_laplace_read_row)
 	(x_laplace_write_row, pbm_read_file): Remove functions.
 	[HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p)
@@ -262,23 +261,22 @@
 	(lookup_rgb_color): Don't lookup color table.  Just do gamma
 	correction.
 	(COLOR_INTENSITY): New #define (from xfns.c).
-	(x_disable_image): New function (from xfns.c).  Use
-	PIX_MASK_DRAW/PIX_MASK_RETAIN.
-	(x_build_heuristic_mask): Sync with xfns.c.  Use
-	PIX_MASK_DRAW/PIX_MASK_RETAIN.
+	(x_disable_image): New function (from xfns.c).
+	Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
+	(x_build_heuristic_mask): Sync with xfns.c.
+	Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
 	(HAVE_PBM): Remove #ifdef.
 	(pbm_load): Sync with xfns.c.  Set img->width and img->height
 	before IMAGE_BACKGROUND.
-	(png_image_p, png_load): Don't enclose declarations with #if
-	HAVE_PNG.
+	(png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG.
 	(Qpng, enum png_keyword_index, png_format, png_type, png_image_p):
 	Don't enclose with #if HAVE_PNG.
 	[!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a
-	symbol _CGImageCreateWithPNGDataProvider is defined.  Otherwise
-	use image_load_quicktime.
+	symbol _CGImageCreateWithPNGDataProvider is defined.
+	Otherwise use image_load_quicktime.
 	[!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime.
-	[HAVE_PNG] (png_load): Sync with xfns.c.  Use
-	PIX_MASK_DRAW/PIX_MASK_RETAIN.
+	[HAVE_PNG] (png_load): Sync with xfns.c.
+	Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
 	(jpeg_image_p, jpeg_load): Don't enclose declarations with #if
 	HAVE_JPEG.
 	(Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type)
@@ -291,11 +289,10 @@
 	(Qtiff, enum tiff_keyword_index, tiff_format, tiff_type)
 	(tiff_image_p): Don't enclose with #if HAVE_TIFF.
 	[!HAVE_TIFF] (tiff_load): Use image_load_quicktime.
-	[HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): New
-	functions (from xfns.c).
+	[HAVE_TIFF] (tiff_error_handler, tiff_warning_handler):
+	New functions (from xfns.c).
 	[HAVE_TIFF] (tiff_load): Sync with xfns.c.
-	(gif_image_p, gif_load): Don't enclose declarations with #if
-	HAVE_GIF.
+	(gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF.
 	(Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p):
 	Don't enclose with #if HAVE_GIF.
 	[!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is
@@ -312,12 +309,11 @@
 	image types.  Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
 	HAVE_PNG.  Add defsubr for Simage_size and Simage_mask_p.
 	(init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
-	HAVE_PNG.  Call EnterMovies to support animated gifs.  Call
-	init_image_func_pointer to bind a symbol
+	HAVE_PNG.  Call EnterMovies to support animated gifs.
+	Call init_image_func_pointer to bind a symbol
 	_CGImageCreateWithPNGDataProvider if it is defined.
 
-	* macterm.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in
-	macgui.h).
+	* macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
 	(x_draw_bar_cursor): Sync declaration with xterm.c.
 	(XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area)
 	(mac_copy_area_to_pixmap): Implementation with GWorld (offscreen
@@ -325,16 +321,16 @@
 	(mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc.
 	(mac_draw_line_to_pixmap, XCreatePixmap)
 	(XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap)
-	(mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): New
-	functions.
-	(mac_draw_bitmap) [TARGET_API_MAC_CARBON]: Use
-	GetPortBitMapForCopyBits instead of the cast to Bitmap *.  Cast
-	bits to char *.
+	(mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap):
+	New functions.
+	(mac_draw_bitmap) [TARGET_API_MAC_CARBON]:
+	Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
+	Cast bits to char *.
 	(reflect_byte): New function (from w32fns.c).
 	(mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits
 	due to byte alignment.
-	(mac_scroll_area) [TARGET_API_MAC_CARBON]: Use
-	GetPortBitMapForCopyBits instead of the cast to Bitmap *.
+	(mac_scroll_area) [TARGET_API_MAC_CARBON]:
+	Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
 	(XSetForeground): Remove static (now used in macfns.c).
 	(HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c).
 	(mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c.
@@ -352,18 +348,16 @@
 	(x_free_frame_resources): New funcion (from xterm.c).
 	(XTread_socket): Call handle_tool_bar_click if mouse up/down event
 	occurs in tool bar area.
-	(mac_initialize_display_info): Remove dpyinfo->n_cbits.  Set
-	dpyinfo->color_p.  Determine dpyinfo->n_planes using HasDepth.
+	(mac_initialize_display_info): Remove dpyinfo->n_cbits.
+	Set dpyinfo->color_p.  Determine dpyinfo->n_planes using HasDepth.
 	Initialize image cache.
 	(stricmp, wildstrieq, mac_font_pattern_match, mac_font_match):
 	Enclose unused functions with #if 0.
 	(Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables.
 	(decode_mac_font_name): New function to apply code conversions
-	from a mac font name to an XLFD font name according to its script
-	code.
+	from a mac font name to an XLFD font name according to its script code.
 	(x_font_name_to_mac_font_name): Apply code conversion from an XLFD
-	font name to a mac font name according to REGISTRY and ENCODING
-	fields.
+	font name to a mac font name according to REGISTRY and ENCODING fields.
 	(init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font
 	whose name starts with `.'.
 	(init_font_name_table): Use decode_mac_font_name.  Add both
@@ -422,8 +416,8 @@
 
 	* emacs.c (USAGE1): Split into two halves.
 	(USAGE2): Second half of the old USAGE1.
-	(USAGE3): Renamed from USAGE2.
-	(USAGE4): Renamed from USAGE3.
+	(USAGE3): Rename from USAGE2.
+	(USAGE4): Rename from USAGE3.
 
 2004-02-21  Juri Linkov  <juri@jurta.org>
 
@@ -446,8 +440,8 @@
 	in one call to read_socket_hook.  Value is 8.
 	(read_avail_input): Separate and rework handling of read_socket_hook
 	and non-read_socket_hook cases.  Use smaller input_event buffer
-	in read_socket_hook case, and repeat if full buffer is read.  Use
-	new local variable 'discard' to skip input after C-g.
+	in read_socket_hook case, and repeat if full buffer is read.
+	Use new local variable 'discard' to skip input after C-g.
 	In non-read_socket_hook case, just use a single input_event, and
 	call kbd_buffer_store_event on the fly for each character.