comparison src/ChangeLog @ 59189:60ffced08532

* term/mac-win.el: Require x-dnd. (mac-drag-n-drop): Sync with W32 version. Use x-dnd.el functions. * macfns.c (install_window_handler): Modify extern to return OSErr value. (mac_window): Handle return value of install_window_handler. * macterm.c (reflect_byte): Remove function. (mac_create_bitmap_from_bitmap_data): Don't call it. Lookup table instead. (mac_do_font_lists): Simplify calculation of the longest nonspecial string. [TARGET_API_MAC_CARBON] (init_mac_drag_n_drop): Remove function and declaration. (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call it. [TARGET_API_MAC_CARBON] (mac_do_track_drag): New function and declaration. (install_window_handler): Return OSErr value. (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for tracking/receiving drag-and-drop items. (do_ae_open_documents): Generate unibyte strings for filenames. [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. Reject only non-filename items. Set event modifiers. Set return value.
author Steven Tamm <steventamm@mac.com>
date Wed, 29 Dec 2004 17:25:02 +0000
parents 517f681ba7a8
children 8628180958f4
comparison
equal deleted inserted replaced
59188:6b0648eec44c 59189:60ffced08532
1 2004-12-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * macfns.c (install_window_handler): Modify extern to return OSErr
4 value.
5 (mac_window): Handle return value of install_window_handler.
6
7 * macterm.c (reflect_byte): Remove function.
8 (mac_create_bitmap_from_bitmap_data): Don't call reflect_byte.
9 Lookup table instead.
10 (mac_do_font_lists): Simplify calculation of the longest
11 nonspecial string.
12 (init_mac_drag_n_drop): Remove function and declaration.
13 (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call
14 init_mac_drag_n_drop.
15 (mac_do_track_drag): New function and declaration.
16 (install_window_handler): Return OSErr value.
17 (install_window_handler) [TARGET_API_MAC_CARBON]: Register
18 handlers for tracking/receiving drag-and-drop items.
19 (do_ae_open_documents): Generate unibyte strings for filenames.
20 (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise. Reject
21 only non-filename items. Set event modifiers. Set return value.
22
1 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> 23 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu>
2 24
3 * coding.c (decode_coding): Fix previous change. 25 * coding.c (decode_coding): Fix previous change.
4 26
5 2004-12-28 Richard M. Stallman <rms@gnu.org> 27 2004-12-28 Richard M. Stallman <rms@gnu.org>