comparison 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
comparison
equal deleted inserted replaced
54245:5e87926b06f4 54246:a4bd1232eb74
1 2004-03-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * editfns.c (Ftranslate_region): Lisp_Object/int mixup.
4
1 2004-03-02 Richard M. Stallman <rms@gnu.org> 5 2004-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.
4 8
5 2004-03-02 Kenichi Handa <handa@m17n.org> 9 2004-03-02 Kenichi Handa <handa@m17n.org>
28 (try_cursor_movement): Use overlay_arrow_in_current_buffer_p. 32 (try_cursor_movement): Use overlay_arrow_in_current_buffer_p.
29 (try_window_id): Use overlay_arrows_changed_p. 33 (try_window_id): Use overlay_arrows_changed_p.
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
37 * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set. 41 * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set.
38 (update_window_fringes): Remove unused code. 42 (update_window_fringes): Remove unused code.
68 updates by setting prevent_redisplay_optimizations_p and 72 updates by setting prevent_redisplay_optimizations_p and
69 update_mode_lines. 73 update_mode_lines.
70 74
71 2004-02-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 75 2004-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
79 2004-02-28 Miles Bader <miles@gnu.org> 83 2004-02-28 Miles Bader <miles@gnu.org>
80 84
81 * keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert. 85 * keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert.
82 86
130 Remove local emacs_event in handing of ButtonPress event; just use 134 Remove local emacs_event in handing of ButtonPress event; just use
131 inev instead (so no reason to copy it later). 135 inev instead (so no reason to copy it later).
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.
141 (current_bufp, current_numcharsp) [USE_GTK]: Remove. 145 (current_bufp, current_numcharsp) [USE_GTK]: Remove.
142 (current_hold_quit) [USE_GTK]: Add. 146 (current_hold_quit) [USE_GTK]: Add.
164 168
165 * xterm.h (x_session_check_input): Fix prototype. 169 * xterm.h (x_session_check_input): Fix prototype.
166 170
167 2004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 171 2004-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).
174 177
175 * emacs.c (main) [HAVE_CARBON]: Call init_xfns. 178 * emacs.c (main) [HAVE_CARBON]: Call init_xfns.
180 [!MAC_OSX]: Include QDOffscreen.h and Controls.h. 183 [!MAC_OSX]: Include QDOffscreen.h and Controls.h.
181 (INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h. 184 (INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h.
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). 189
187 190 * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
188 * macterm.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in 191 (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG):
189 macgui.h). 192 New #define to extract 16-bit depth color components from unsigned
190 (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): New
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.
195 (struct mac_display_info): Add color_p. Remove n_cbits. 196 (struct mac_display_info): Add color_p. Remove n_cbits.
196 197
202 functions defined in macterm.c. 203 functions defined in macterm.c.
203 (XImagePtr): New typedef. Corresponds to XImage * in xfns.c. 204 (XImagePtr): New typedef. Corresponds to XImage * in xfns.c.
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)
215 (x_from_xcolors, x_detect_edges): New declarations (from xfns.c). 216 (x_from_xcolors, x_detect_edges): New declarations (from xfns.c).
216 (mac_color_map_lookup, x_to_mac_color): Fix Lisp_Object/unsigned 217 (mac_color_map_lookup, x_to_mac_color): Fix Lisp_Object/unsigned
225 (enum xbm_keyword_index, xbm_format, xbm_image_p, xbm_scan) 226 (enum xbm_keyword_index, xbm_format, xbm_image_p, xbm_scan)
226 (xbm_read_bitmap_data, xbm_load, pbm_image_p, pbm_scan_number) 227 (xbm_read_bitmap_data, xbm_load, pbm_image_p, pbm_scan_number)
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
241 dpyinfo->n_cbits. 241 dpyinfo->n_cbits.
242 (Fx_display_color_cells): Use dpyinfo->n_planes; 242 (Fx_display_color_cells): Use dpyinfo->n_planes;
244 (Qheuristic, cross_disabled_images, emboss_matrix) 244 (Qheuristic, cross_disabled_images, emboss_matrix)
245 (laplace_matrix): New variables (from xfns.c). 245 (laplace_matrix): New variables (from xfns.c).
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)
260 (xpm_load): Sync with xfns.c (although XPM is not supported yet). 259 (xpm_load): Sync with xfns.c (although XPM is not supported yet).
261 (colors_in_color_table): Sync with xfns.c (although not used). 260 (colors_in_color_table): Sync with xfns.c (although not used).
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)
285 (jpeg_image_p): Don't enclose with #if HAVE_JPEG. 283 (jpeg_image_p): Don't enclose with #if HAVE_JPEG.
286 [!HAVE_JPEG] (jpeg_load) [MAC_OSX]: Use image_load_quartz2d. 284 [!HAVE_JPEG] (jpeg_load) [MAC_OSX]: Use image_load_quartz2d.
289 (tiff_image_p, tiff_load): Don't enclose declarations with #if 287 (tiff_image_p, tiff_load): Don't enclose declarations with #if
290 HAVE_TIFF. 288 HAVE_TIFF.
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
302 animated gif. Otherwise use image_load_quicktime. 299 animated gif. Otherwise use image_load_quicktime.
303 [HAVE_GIF] (gif_lib.h): Temporarily define DrawText as 300 [HAVE_GIF] (gif_lib.h): Temporarily define DrawText as
310 QCmatrix, QCcolor_adjustment, and QCmask. Add DEFVAR_BOOL 307 QCmatrix, QCcolor_adjustment, and QCmask. Add DEFVAR_BOOL
311 cross_disabled_images (from xfns.c). Remove #if 0 for supported 308 cross_disabled_images (from xfns.c). Remove #if 0 for supported
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
324 graphics). 320 graphics).
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.
341 (x_setup_relief_color, x_setup_relief_colors, x_draw_box_rect) 337 (x_setup_relief_color, x_setup_relief_colors, x_draw_box_rect)
342 (x_draw_glyph_string_box, x_draw_image_foreground) 338 (x_draw_glyph_string_box, x_draw_image_foreground)
350 (XTset_terminal_window): Add static. 346 (XTset_terminal_window): Add static.
351 (x_make_frame_visible): Add UNBLOCK_INPUT. 347 (x_make_frame_visible): Add UNBLOCK_INPUT.
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
370 jisx0208.1983-sjis and jisx0201.1976-0 entries if the script code 364 jisx0208.1983-sjis and jisx0201.1976-0 entries if the script code
371 of a font is smJapanese. 365 of a font is smJapanese.
420 414
421 2004-02-21 Eli Zaretskii <eliz@elta.co.il> 415 2004-02-21 Eli Zaretskii <eliz@elta.co.il>
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
428 2004-02-21 Juri Linkov <juri@jurta.org> 422 2004-02-21 Juri Linkov <juri@jurta.org>
429 423
430 * emacs.c (USAGE1): Add --no-desktop. Move --display from USAGE2. 424 * emacs.c (USAGE1): Add --no-desktop. Move --display from USAGE2.
431 Fix --multibyte. Move --help, --version to USAGE2. Add alias 425 Fix --multibyte. Move --help, --version to USAGE2. Add alias
444 The following changes are relative to the 2004-01-21 revision. 438 The following changes are relative to the 2004-01-21 revision.
445 (NREAD_INPUT_EVENTS): Define as max number of input events to read 439 (NREAD_INPUT_EVENTS): Define as max number of input events to read
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
454 2004-02-19 Stefan Monnier <monnier@iro.umontreal.ca> 448 2004-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
455 449