# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1148458171 0 # Node ID ce50c9c85f67d6c4386d92081c27149c21f74dbd # Parent 9db2b3fb6b52f5d789868cb6c35b66ed2742748d *** empty log message *** diff -r 9db2b3fb6b52 -r ce50c9c85f67 lisp/ChangeLog --- a/lisp/ChangeLog Wed May 24 08:09:11 2006 +0000 +++ b/lisp/ChangeLog Wed May 24 08:09:31 2006 +0000 @@ -1,3 +1,10 @@ +2006-05-24 YAMAMOTO Mitsuharu + + * term/mac-win.el: Set idle timer to clean up expired Apple events. + (mac-ae-get-url): Redispatch Apple event on unknown scheme. + (mac-dispatch-apple-event): Resume Apple event if it is suspended. + Optionally set error message in reply. + 2006-05-24 Carsten Dominik * textmodes/org.el: (org-open-at-point): Use renamed variable diff -r 9db2b3fb6b52 -r ce50c9c85f67 src/ChangeLog --- a/src/ChangeLog Wed May 24 08:09:11 2006 +0000 +++ b/src/ChangeLog Wed May 24 08:09:31 2006 +0000 @@ -1,3 +1,43 @@ +2006-05-24 YAMAMOTO Mitsuharu + + * mac.c (ae_attr_table): New variable. + (syms_of_mac): Intern and staticpro its elements. + (mac_aelist_to_lisp): Also convert Apple event attributes. + (mac_ae_put_lisp): New function. + (create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text. + + * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor etc. + + * macselect.c (Qemacs_suspension_id): New variable. + (syms_of_macselect): Intern and staticpro it. + (struct suspended_ae_info): New struct. + (deferred_apple_events, defer_apple_events) + (Fmac_process_deferred_apple_events): Use it. + (suspended_apple_events): New variable. + (mac_handle_apple_event_1): New function. + (mac_handle_apple_event): Use it. Don't process previously + suspended events. + (cleanup_suspended_apple_events, get_suspension_id)n + (cleanup_all_suspended_apple_events): New functions. + (init_apple_event_handler): Call cleanup_all_suspended_apple_events + at exit. + (Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter) + (Fmac_resume_apple_event): New defuns. + (syms_of_macselect): Defsubr them. + + * macterm.c (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]: + Fix last change. Don't map `fn' modifier if pressed with F1 ... F12. + + * macterm.h (TYPE_FILE_NAME): Change from macro to enumerator. + (KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator. + (keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise. + (gestaltSystemVersionMajor, gestaltSystemVersionMinor) + (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]: + Likewise. + (typeUTF8Text, kEventParamWindowMouseLocation) + [MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise. + (x_get_focus_frame, mac_ae_put_lisp): Add externs. + 2006-05-23 YAMAMOTO Mitsuharu * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove.