]> git.eshelyaron.com Git - emacs.git/commit
Extend NSString further and use the new methods
authorAlan Third <alan@idiocy.org>
Thu, 20 Aug 2020 22:45:38 +0000 (23:45 +0100)
committerAlan Third <alan@idiocy.org>
Sat, 22 Aug 2020 15:19:37 +0000 (16:19 +0100)
commit96e5d8ce0d92eacbd7e237e50f0b572bb56e6d66
tree368e91ac4d498311f31dc7a5551e89eefbf1a857
parent811f5890f3ad9b35464c5ccd818091abcaf6803d
Extend NSString further and use the new methods

* src/nsfns.m (ns_set_icon_name):
(ns_set_name):
(ns_set_represented_filename):
(ns_implicitly_set_icon_type):
(ns_set_icon_type):
(ns_appkit_version_str):
(Fx_create_frame):
(Fns_read_file_name):
(Fns_get_resource):
(Fns_set_resource):
(Fns_list_colors):
(Fns_perform_service):
(ns_do_applescript): Use the new NSString methods.
([NSString stringWithLispString:]): Fix the surrogate algorithm.
([NSString lispString]): New method.
* src/nsterm.h (NSString): Add new method.
* src/nsterm.m ([EmacsApp openFile:]):
([EmacsApp requestService:userData:error:]):
([EmacsApp fulfillService:withArg:]):
([EmacsView changeFont:]):
([EmacsView setMarkedText:selectedRange:]):
([EmacsView initFrameFromEmacs:]):
([EmacsView performDragOperation:]):
([EmacsView performDragOperation:]):
([EmacsView performDragOperation:]):
([EmacsWindow accessibilityAttributeValue:]): Use the new NSString
methods.
src/nsfns.m
src/nsterm.h
src/nsterm.m