comparison src/ChangeLog @ 101490:cfaf6934d659

Changes to remove Feval calls from GUI under NS. * nsterm.h: Move KEY_NS_... definitions here from nsterm.m. Add NS_TOGGLE_TOOLBAR, NS_PUT_WORKING_TEXT, NS_UNPUT_WORKING_TEXT. Remove NS_INSERT_WORKING_TEXT, NS_DELETE_WORKING_TEXT. * nsterm.m: Move KEY_NS_... definitions to nsterm.h. (EmacsView-toggleToolbar:): Use KEY_NS_TOGGLE_TOOLBAR. (EmacsView-setMarkedText:,-deleteWorkingText:): Use NS_TEXT_EVENT instead of NON_ASCII_KEYSTROKE_EVENT. (EmacsApp-terminate:): Use KEY_NS_POWER_OFF instead of Feval. (EmacsApp-applicationShouldTerminate:): Query user. (EmacsPreferencesController-runHelp:): Use KEY_NS_INFO_PREFS instead of Feval. * termhooks.h (NS_TEXT_EVENT): New event type under HAVE_NS. * keyboard.c (kbd_buffer_get_event): Check for it. (keys_of_keyboard): Define lispy keys for ns-put/unput-working-text. * nsmenu.m (ns_popup_dialog): Resync window setting with X and W32 versions. (EmacsDialog-runDialogAt:): Use NSModalPanelRunLoopMode.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Sun, 25 Jan 2009 19:43:31 +0000
parents b2cd5a3768fa
children 4845375010dc
comparison
equal deleted inserted replaced
101489:d98a233b0396 101490:cfaf6934d659
1 2009-01-25 Adrian Robert <Adrian.B.Robert@gmail.com>
2
3 Changes to remove Feval calls from GUI under NS.
4
5 * nsterm.h: Move KEY_NS_... definitions here from nsterm.m. Add
6 NS_TOGGLE_TOOLBAR, NS_PUT_WORKING_TEXT, NS_UNPUT_WORKING_TEXT.
7 Remove NS_INSERT_WORKING_TEXT, NS_DELETE_WORKING_TEXT.
8
9 * nsterm.m: Move KEY_NS_... definitions to nsterm.h.
10 (EmacsView-toggleToolbar:): Use KEY_NS_TOGGLE_TOOLBAR.
11 (EmacsView-setMarkedText:,-deleteWorkingText:): Use NS_TEXT_EVENT
12 instead of NON_ASCII_KEYSTROKE_EVENT.
13 (EmacsApp-terminate:): Use KEY_NS_POWER_OFF instead of Feval.
14 (EmacsApp-applicationShouldTerminate:): Query user.
15 (EmacsPreferencesController-runHelp:): Use KEY_NS_INFO_PREFS
16 instead of Feval.
17
18 * termhooks.h (NS_TEXT_EVENT): New event type under HAVE_NS.
19
20 * keyboard.c (kbd_buffer_get_event): Check for it.
21 (keys_of_keyboard): Define lispy keys for
22 ns-put/unput-working-text.
23
24 * nsmenu.m (ns_popup_dialog): Resync window setting with X and W32
25 versions.
26 (EmacsDialog-runDialogAt:): Use NSModalPanelRunLoopMode.
27
1 2009-01-25 Chong Yidong <cyd@stupidchicken.com> 28 2009-01-25 Chong Yidong <cyd@stupidchicken.com>
2 29
3 * dispnew.c (buffer_posn_from_coords): Use Fset_buffer instead of 30 * dispnew.c (buffer_posn_from_coords): Use Fset_buffer instead of
4 setting current_buffer directly. 31 setting current_buffer directly.
5 32