comparison src/ChangeLog @ 70876:ce50c9c85f67

*** empty log message ***
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 24 May 2006 08:09:31 +0000
parents 3364480537d9
children 376e2df4e22d
comparison
equal deleted inserted replaced
70875:9db2b3fb6b52 70876:ce50c9c85f67
1 2006-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * mac.c (ae_attr_table): New variable.
4 (syms_of_mac): Intern and staticpro its elements.
5 (mac_aelist_to_lisp): Also convert Apple event attributes.
6 (mac_ae_put_lisp): New function.
7 (create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text.
8
9 * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor etc.
10
11 * macselect.c (Qemacs_suspension_id): New variable.
12 (syms_of_macselect): Intern and staticpro it.
13 (struct suspended_ae_info): New struct.
14 (deferred_apple_events, defer_apple_events)
15 (Fmac_process_deferred_apple_events): Use it.
16 (suspended_apple_events): New variable.
17 (mac_handle_apple_event_1): New function.
18 (mac_handle_apple_event): Use it. Don't process previously
19 suspended events.
20 (cleanup_suspended_apple_events, get_suspension_id)n
21 (cleanup_all_suspended_apple_events): New functions.
22 (init_apple_event_handler): Call cleanup_all_suspended_apple_events
23 at exit.
24 (Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter)
25 (Fmac_resume_apple_event): New defuns.
26 (syms_of_macselect): Defsubr them.
27
28 * macterm.c (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]:
29 Fix last change. Don't map `fn' modifier if pressed with F1 ... F12.
30
31 * macterm.h (TYPE_FILE_NAME): Change from macro to enumerator.
32 (KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator.
33 (keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise.
34 (gestaltSystemVersionMajor, gestaltSystemVersionMinor)
35 (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]:
36 Likewise.
37 (typeUTF8Text, kEventParamWindowMouseLocation)
38 [MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise.
39 (x_get_focus_frame, mac_ae_put_lisp): Add externs.
40
1 2006-05-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 41 2006-05-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 42
3 * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove. 43 * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove.
4 (fn_keycode_to_keycode_table) [MAC_OSX]: New variable. 44 (fn_keycode_to_keycode_table) [MAC_OSX]: New variable.
5 (mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function. 45 (mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function.