comparison src/ChangeLog @ 56291:9f2593e56a2a

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 30 Jun 2004 17:12:39 +0000
parents 394796636272
children 31fffb8693e4
comparison
equal deleted inserted replaced
56290:394796636272 56291:9f2593e56a2a
7 Finit_image_library. 7 Finit_image_library.
8 8
9 * lisp.h: Declare Finit_image_library. 9 * lisp.h: Declare Finit_image_library.
10 10
11 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 11 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12 12
13 * macterm.c (do_window_activate, do_window_deactivate): Remove. 13 * macterm.c (do_window_activate, do_window_deactivate): Remove.
14 (XTread_socket): Send mouse button events to the toolbox 14 (XTread_socket): Send mouse button events to the toolbox
15 dispatcher even when the mouse is grabbed. Don't process window 15 dispatcher even when the mouse is grabbed. Don't process window
16 activate events for non-Emacs windows. Replace function calls to 16 activate events for non-Emacs windows. Replace function calls to
17 do_window_activate and do_window_deactivate with their contents. 17 do_window_activate and do_window_deactivate with their contents.
68 when replacing strings in the buffer. 68 when replacing strings in the buffer.
69 (Fmatch_data): When INTEGERS is non-nil and the last match was in 69 (Fmatch_data): When INTEGERS is non-nil and the last match was in
70 a buffer, add the buffer as last element to the match data. 70 a buffer, add the buffer as last element to the match data.
71 (Fset_match_data): If an additional element of the match-data is a 71 (Fset_match_data): If an additional element of the match-data is a
72 buffer, restore it to last_thing_searched. 72 buffer, restore it to last_thing_searched.
73 (save_search_regs): Save last_thing_searched as part of the match 73 (save_search_regs): Save last_thing_searched as part of the match data.
74 data.
75 (restore_match_data): Restore it again. 74 (restore_match_data): Restore it again.
76 75
77 2004-06-23 Luc Teirlinck <teirllm@auburn.edu> 76 2004-06-23 Luc Teirlinck <teirllm@auburn.edu>
78 77
79 * keymap.c (Ftext_char_description): Doc fix. 78 * keymap.c (Ftext_char_description): Doc fix.
195 proper format and class is a lower-case word. 194 proper format and class is a lower-case word.
196 195
197 2004-06-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 196 2004-06-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
198 197
199 * gtkutil.c (xg_get_image_for_pixmap): New function. 198 * gtkutil.c (xg_get_image_for_pixmap): New function.
200 (xg_get_gdk_pixmap_and_mask): Removed. 199 (xg_get_gdk_pixmap_and_mask): Remove.
201 (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of 200 (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of
202 xg_get_gdk_pixmap_and_mask. 201 xg_get_gdk_pixmap_and_mask.
203 202
204 * xterm.h (struct x_display_info): Typo in comment fixed. 203 * xterm.h (struct x_display_info): Typo in comment fixed.
205 204
216 (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. 215 (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros.
217 (w32_delayed_load): New function to load an image library from a 216 (w32_delayed_load): New function to load an image library from a
218 list of possible filenames. 217 list of possible filenames.
219 (init_xpm_functions, init_png_functions, init_jpeg_functions) 218 (init_xpm_functions, init_png_functions, init_jpeg_functions)
220 (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. 219 (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'.
221 (CHECK_LIB_AVAILABLE): Call `define_image_library' with new 220 (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument.
222 argument.
223 (Finit_image_library): New function, extracted from `init_image'. 221 (Finit_image_library): New function, extracted from `init_image'.
224 Try to initialize an image library on demand and cache whether we 222 Try to initialize an image library on demand and cache whether we
225 were successful or not. 223 were successful or not.
226 (syms_of_image): Initialize `Vimage_types' and 224 (syms_of_image): Initialize `Vimage_types' and
227 `Vimage_type_cache'. Add recognized image types to Vimage_types. 225 `Vimage_type_cache'. Add recognized image types to Vimage_types.
341 (push_named_merge_point): New function. 339 (push_named_merge_point): New function.
342 (merge_named_face): New function. 340 (merge_named_face): New function.
343 (merge_face_ref, face_at_buffer_position, face_at_string_position): 341 (merge_face_ref, face_at_buffer_position, face_at_string_position):
344 Use `merge_named_face'. 342 Use `merge_named_face'.
345 (merge_face_inheritance): Function removed. 343 (merge_face_inheritance): Function removed.
346 (merge_face_ref): Renamed from `merge_face_vector_with_property'. 344 (merge_face_ref): Rename from `merge_face_vector_with_property'.
347 Add new `err_msgs' and `named_merge_points' args. Return error 345 Add new `err_msgs' and `named_merge_points' args. Return error
348 status. Only print error messages if ERR_MSGS is true. Don't try to 346 status. Only print error messages if ERR_MSGS is true. Don't try to
349 do :inherit attribute validation. 347 do :inherit attribute validation.
350 (merge_face_heights): Handle `unspecified' in both directions. 348 (merge_face_heights): Handle `unspecified' in both directions.
351 (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'. 349 (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'.
401 399
402 2004-06-04 Eli Zaretskii <eliz@gnu.org> 400 2004-06-04 Eli Zaretskii <eliz@gnu.org>
403 401
404 * xfaces.c (x_supports_face_attributes_p): Make this function 402 * xfaces.c (x_supports_face_attributes_p): Make this function
405 conditional on HAVE_WINDOW_SYSTEM. 403 conditional on HAVE_WINDOW_SYSTEM.
406 (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: Don't 404 (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]:
407 call x_supports_face_attributes_p if it was not compiled in. 405 Don't call x_supports_face_attributes_p if it was not compiled in.
408 406
409 2004-06-04 Miles Bader <miles@gnu.org> 407 2004-06-04 Miles Bader <miles@gnu.org>
410 408
411 * xfaces.c (tty_supports_face_attributes_p): New function, mostly 409 * xfaces.c (tty_supports_face_attributes_p): New function, mostly
412 from Ftty_supports_face_attributes_p. 410 from Ftty_supports_face_attributes_p.
433 * image.c (lookup_image): Make pointer to img static. 431 * image.c (lookup_image): Make pointer to img static.
434 (png_read_from_memory): Disable "global" optimization. 432 (png_read_from_memory): Disable "global" optimization.
435 433
436 2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca> 434 2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
437 435
436 * eval.c (Fcondition_case): Fix usage. Simplify.
437
438 * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. 438 * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true.
439 439
440 2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 440 2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
441 441
442 * macfns.c: Don't include ccl.h. 442 * macfns.c: Don't include ccl.h.
443 [MAC_OSX]: Don't include QuickTime/QuickTime.h. 443 [MAC_OSX]: Don't include QuickTime/QuickTime.h.
444 [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or 444 [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or
445 TextUtils.h. 445 TextUtils.h.
446 (Fx_create_frame): Sync with xfns.c. Initialize cursor 446 (Fx_create_frame): Sync with xfns.c. Initialize cursor descriptors.
447 descriptors.
448 (Fx_display_mm_height, Fx_display_mm_width): Calculate length from 447 (Fx_display_mm_height, Fx_display_mm_width): Calculate length from
449 display height/width. 448 display height/width.
450 (compute_tip_xy, Vx_max_tooltip_size): Declare. 449 (compute_tip_xy, Vx_max_tooltip_size): Declare.
451 (unwind_create_tip_frame, compute_tip_xy): New functions. 450 (unwind_create_tip_frame, compute_tip_xy): New functions.
452 (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. 451 (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c.
453 (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, 452 (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size,
454 and last_show_tip_args. 453 and last_show_tip_args.
455 454
456 * macgui.h [!MAC_OSX]: Include Gestalt.h. 455 * macgui.h [!MAC_OSX]: Include Gestalt.h.
457 (Cursor, No_Cursor): New defines. 456 (Cursor, No_Cursor): New defines.
458 [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility 457 [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro.
459 macro.
460 [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. 458 [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare.
461 459
462 * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. 460 * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort.
463 461
464 * macterm.c: Don't include Gestalt.h. 462 * macterm.c: Don't include Gestalt.h.
482 (mac_check_for_quit_char): Use mac_front_window and/or 480 (mac_check_for_quit_char): Use mac_front_window and/or
483 mac_window_to_frame. 481 mac_window_to_frame.
484 (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a 482 (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a
485 scroll-bar click event. 483 scroll-bar click event.
486 (mac_define_frame_cursor): Change the pointer shape. 484 (mac_define_frame_cursor): Change the pointer shape.
487 (x_free_frame_resources): Reset tip_window to NULL when it is 485 (x_free_frame_resources): Reset tip_window to NULL when it is disposed.
488 disposed.
489 [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. 486 [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable.
490 [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize 487 [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor.
491 arrow_cursor.
492 (do_window_update): Don't do anything if the updated window is the 488 (do_window_update): Don't do anything if the updated window is the
493 tooltip window. 489 tooltip window.
494 (do_mouse_moved): Handle mouse movement events here (previously in 490 (do_mouse_moved): Handle mouse movement events here (previously in
495 XTread_socket). Clear the mouse face if 491 XTread_socket). Clear the mouse face if
496 dpyinfo->mouse_face_hidden is set. 492 dpyinfo->mouse_face_hidden is set.
497 (do_os_event, do_events): Remove (now in XTread_socket). 493 (do_os_event, do_events): Remove (now in XTread_socket).
498 (XTread_socket): Immediately return if interrupt_input_blocked. 494 (XTread_socket): Immediately return if interrupt_input_blocked.
499 Loop until all the events in the queue are processed. Rearrange 495 Loop until all the events in the queue are processed.
500 codes for mouse grabbing. Add tooltip support. Include the 496 Rearrange codes for mouse grabbing. Add tooltip support. Include the
501 contents of do_os_event and do_events. Remove mouse movement 497 contents of do_os_event and do_events. Remove mouse movement
502 handling (now in do_mouse_moved). Add the case where 498 handling (now in do_mouse_moved). Add the case where
503 Vmouse_highlight has an integer value. 499 Vmouse_highlight has an integer value.
504 (NewMacWindow): Remove. 500 (NewMacWindow): Remove.
505 (make_mac_frame): Do what NewMacWindow previously did. Don't do 501 (make_mac_frame): Do what NewMacWindow previously did. Don't do
506 excess initializations. 502 excess initializations.
507 (make_mac_terminal_frame): Previous initializations in 503 (make_mac_terminal_frame): Previous initializations in
508 make_mac_frame are moved here. 504 make_mac_frame are moved here.
509 (mac_initialize_display_info): Initialize 505 (mac_initialize_display_info):
510 dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. 506 Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden.
511 507
512 * xdisp.c [MAC_OS] (No_Cursor): Remove variable. 508 * xdisp.c [MAC_OS] (No_Cursor): Remove variable.
513 (define_frame_cursor1): Don't treat HAVE_CARBON as a special case. 509 (define_frame_cursor1): Don't treat HAVE_CARBON as a special case.
514 510
515 2004-05-29 Richard M. Stallman <rms@gnu.org> 511 2004-05-29 Richard M. Stallman <rms@gnu.org>