| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Selection): New typedef. Use instead of ScrapRef.
(mac_get_selection_from_symbol): Rename from get_scrap_from_symbol.
(mac_valid_selection_target_p): Rename from valid_scrap_target_type_p.
(mac_clear_selection): Rename from clear_scrap.
(get_flavor_type_from_symbol): New argument SEL and subsume function of
scrap_has_target_type. All uses changed.
(mac_get_selection_ownership_info, mac_valid_selection_value_p)
(mac_selection_has_target_p): New functions.
(mac_put_selection_value): Rename from put_scrap_string.
(mac_get_selection_value): Rename from get_scrap_string.
(mac_get_selection_target_list): Rename from get_scrap_target_type_list.
(put_scrap_private_timestamp, scrap_has_target_type)
(get_scrap_private_timestamp): Remove functions.
(SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define.
(x_own_selection, x_get_local_selection):
Use mac_valid_selection_value_p.
(x_own_selection): Don't use put_scrap_private_timestamp.
Record OWNERSHIP-INFO into Vselection_alist instead.
(x_get_local_selection): Don't check type if request is local.
(Fx_selection_owner_p): Don't use get_scrap_private_timestamp.
Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
|
| | |
|
|/
|
|
| |
init_service_handler. All callers changed. Return OSStatus value.
|
|
|
|
|
| |
assignments outside predicate macros.
(Vselection_converter_alist): Doc fix.
|
|
|
|
|
| |
pass keyboard modifiers to mac_store_drag_event, but put them as
kEventParamKeyModifiers Apple event parameter.
|
| |
|
|
|
|
| |
descriptor type of reply is non-null.
|
|
|
|
| |
mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
|
|
|
|
| |
const.
|
|
|
|
|
|
|
|
| |
(put_scrap_private_timestamp, scrap_has_target_type, get_scrap_string)
(get_scrap_private_timestamp, get_scrap_target_type_list)
(x_own_selection, x_get_foreign_selection)
(Fx_disown_selection_internal, Fx_selection_owner_p)
(Fx_selection_exists_p): Use OSStatus instead of OSErr.
|
| |
|
|
|
|
| |
errAEEventNotHandled if key binding is not found.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
Vmac_services_selection. All uses changed.
(mac_store_service_event): Rename from mac_store_services_event in
extern and calls.
|
|
|
|
| |
(mac_store_services_event): Change return type in extern.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(mac_store_apple_event): Change return type to void in extern.
(mac_handle_apple_event): Don't get return value from
mac_store_apple_event.
[TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable.
(syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it.
[TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from
macterm.c. Use Vmac_dnd_known_types as acceptable flavors.
[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. New
implementation using create_apple_event_from_drag_ref.
[TARGET_API_MAC_CARBON] (mac_do_track_dragUPP)
(mac_do_receive_dragUPP): Move variables from macterm.c.
(install_drag_handler, remove_drag_handler): New functions.
|
|
|
|
|
| |
(copy_scrap_flavor_data, mac_handle_service_event): Don't check
return value of xmalloc/xrealloc.
|
|
|
|
|
|
|
| |
(get_scrap_private_timestamp, x_get_foreign_selection)
(copy_scrap_flavor_data): Add explicit braces to avoid ambiguous `else'.
(Fmac_process_deferred_apple_events): Remove unused variables
`keyword', `reply', `apple_event', `count', and `err'.
|
|
|
|
| |
Initialize to nil. Keymap is now created in lisp/term/mac-win.el.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
(Fx_get_selection_internal, Fx_selection_owner_p)
(Fx_selection_exists_p): Doc fixes. (syms_of_macselect)
<selection-converter-alist>: Likewise.
|
| |
|
| |
|
|
|
|
| |
mentioned but actually not applied.
|
|
|
|
|
|
|
|
|
|
| |
selection converter function.
(x_clear_frame_selections): Don't call x-lost-selection-functions
if Emacs is not owner of the selection.
(Vmac_services_selection): Put variable and initialization in
#ifdef MAC_OSX.
(syms_of_macselect) [MAC_OSX]: Set default value of
Vmac_services_selection to PRIMARY.
|
| |
|
|
|