Commit 4b3eb407 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

*** empty log message ***

parent 0f8dad45
2005-12-10 YAMAMOTO Mitsuharu <>
* term/mac-win.el: Require url when compiling. Call
mac-process-deferred-apple-events after loading init files.
(mac-apple-event-map): New defvar. Define event handlers in it.
(core-event, internet-event): New Apple event class symbols.
(open-application, reopen-application, open-documents)
(print-documents, open-contents, quit-application)
(application-died, show-preferences, autosave-now, get-url): New
Apple event ID symbols.
(about): New HICommand ID symbol.
(mac-event-spec, mac-event-ae): New macros.
(mac-ae-parameter, mac-ae-list, mac-bytes-to-integer)
(mac-ae-selection-range, mac-ae-text-for-search)
(mac-ae-open-documents, mac-ae-text, mac-ae-get-url): New functions.
(mac-application-menu-map): Remove keymap. Handlers for HICommand
and Services menu events are now defined in mac-apple-event-map.
(mac-drag-n-drop): Remove selection range handling.
2005-12-10 Kenichi Handa <>
* simple.el (zap-to-char): Translate CHAR by
2005-12-10 YAMAMOTO Mitsuharu <>
* Add CFBundleURLTypes key and
data. Make NSServices open-selection the first entry.
2005-11-09 YAMAMOTO Mitsuharu <>
* makefile.MPW (shortlisp): Sync with src/
2005-12-10 YAMAMOTO Mitsuharu <>
* (macselect.o): Depend on keymap.h.
* emacs.c (main) [MAC_OS8]: Call syms_of_keymap before
* image.c (init_image) [MAC_OS]: Don't call EnterMovies.
[!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies.
* keyboard.c (Qmac_apple_event) [MAC_OS]: New variable.
(syms_of_keyboard) [MAC_OS]: Initialize it.
(make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT.
* mac.c (Qundecoded_file_name): New variable.
(syms_of_mac): Initialize it.
(mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions.
[TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New
(Fmac_coerce_ae_data): New defun.
(syms_of_mac): Defsubr it.
* macselect.c: Include keymap.h.
(mac_ready_for_apple_events): New variable.
(Vmac_apple_event_map, Qmac_apple_event_class)
(Qmac_apple_event_id): New variables.
(syms_of_macselect): Initialize them.
(Qundefined, mac_store_apple_event): Add externs.
(struct apple_event_binding): New struct.
(find_event_binding_fun, find_event_binding)
(mac_find_apple_event_spec, defer_apple_events)
(mac_handle_apple_event, init_apple_event_handler)
(copy_scrap_flavor_data): New functions.
(Fmac_process_deferred_apple_events): New defun.
(syms_of_macselect): Defsubr it.
(mac_store_services_event): Fix extern.
(mac_handle_service_event): Don't allocate Lisp objects during
asynchronous input processing. Use mac_store_services_event
instead of mac_store_application_menu_event.
* macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout)
(Qpreferences): Remove variables.
(syms_of_macterm) : Don't initialize them.
(Qhicommand) [USE_CARBON_EVENTS]: New variable.
(syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it.
(init_required_apple_events, do_ae_open_application)
(do_ae_print_documents, do_ae_open_documents)
(do_ae_quit_application): Remove functions and prototypes.
(mac_ready_for_apple_events, Qundefined, init_apple_event_handler)
(mac_find_apple_event_spec): Add externs.
(mac_store_application_menu_event): Remove function.
(mac_store_apple_event, mac_make_lispy_event_code): New functions.
(mac_handle_command_event): Create Apple event from Carbon event.
Use mac_store_apple_event instead of mac_store_application_menu_event.
[MAC_OSX] (mac_store_services_event): Likewise.
(struct SelectionRange, SelectionRange): Remove struct and typedef.
[MAC_OS8] (main): Call init_apple_event_handler instead of
(mac_initialize) [MAC_OSX]: Likewise.
[!USE_CARBON_EVENTS] (mac_wait_next_event): Use
mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop.
* macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp): Add
(create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise.
(Fmac_get_preference): Add EXFUN.
* termhooks.h (enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT
2005-12-09 Richard M. Stallman <>
* xfns.c (Fx_create_frame): Reinstate previous change.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment