comparison src/ChangeLog @ 70387:a995a8745b40

*** empty log message ***
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 05 May 2006 06:45:26 +0000
parents a3dbc7833b9e
children 55791d77fcb3
comparison
equal deleted inserted replaced
70386:8fd44e40f101 70387:a995a8745b40
1 2006-05-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * keyboard.c (make_lispy_event) [MAC_OS]: Get Apple event info
4 from event->arg.
5
6 * termhooks.h (enum event_kind) [MAC_OS]: Update comment for
7 MAC_APPLE_EVENT.
8
9 * macterm.h (mac_make_lispy_event_code): Remove extern.
10 (mac_post_mouse_moved_event): Add extern.
11 (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to
12 `const AEDesc *' in externs.
13 (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern.
14
15 * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to
16 `const AEDesc *'.
17 [TARGET_API_MAC_CARBON] (create_apple_event): New function.
18 [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it.
19 Use xrealloc instead of repeated xmalloc/xfree.
20 [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): New
21 function.
22
23 * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value.
24
25 * macselect.c: Update copyright year.
26 (mac_store_apple_event): Change return type to void in extern.
27 (mac_handle_apple_event): Don't get return value from
28 mac_store_apple_event.
29 [TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable.
30 (syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it.
31 [TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from
32 macterm.c. Use Vmac_dnd_known_types as acceptable flavors.
33 [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. New
34 implementation using create_apple_event_from_drag_ref.
35 [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP)
36 (mac_do_receive_dragUPP): Move variables from macterm.c.
37 (install_drag_handler, remove_drag_handler): New functions.
38
39 * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON]: Try window
40 path select also for proxy icon click.
41 [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): New function.
42 [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback): Use it.
43 (xlfdpat_create): Remove unused label `error' and trailing sentences.
44 (mac_do_track_drag, mac_do_receive_drag): Move functions to macselect.c.
45 (mac_do_track_dragUPP, mac_do_receive_dragUPP): Move variables to
46 macselect.c.
47 (install_drag_handler, remove_drag_handler): Add extern.
48 (mac_store_apple_event): Change return type to void. All uses changed.
49 Create Lisp object from Apple event and store it into input event.
50 (mac_make_lispy_event_code): Remove function.
51 [TARGET_API_MAC_CARBON] (mac_store_drag_event): New function.
52 (install_window_handler): Call install_drag_handler.
53 (remove_window_handler): Call remove_drag_handler.
54
1 2006-05-03 Richard Stallman <rms@gnu.org> 55 2006-05-03 Richard Stallman <rms@gnu.org>
2 56
3 * sound.c (Fplay_sound_internal): Dynamically allocate 57 * sound.c (Fplay_sound_internal): Dynamically allocate
4 current_sound_device and current_sound. 58 current_sound_device and current_sound.
5 (sound_cleanup): Free them. 59 (sound_cleanup): Free them.