comparison src/ChangeLog @ 97267:248808aeee3e

fix popup menu selection return (menu.c); add use of popup_activated under NS (nsmenu.m, xdisp.c); improve comments (lisp.h, s/darwin.h); use FORWARD_SIGNAL_TO_MAIN_THREAD (syssignal.h)
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Mon, 04 Aug 2008 16:57:44 +0000
parents 80acedef7417
children 43c0581b11aa
comparison
equal deleted inserted replaced
97266:80acedef7417 97267:248808aeee3e
1 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> 1 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com>
2 2
3 * emacs.c (main: unexec_init_emacs_zone): Call if on DARWIN_OS. 3 * emacs.c (main: unexec_init_emacs_zone): Call if on DARWIN_OS.
4 4
5 * keyboard.h: Comment an #endif. 5 * keyboard.h: Comment an #endif.
6
7 * lisp.h (have_menus_p): Adjust comment.
8
9 * menu.c (find_and_return_menu_selection): Fix comparison with
10 client_data.
11
12 * nsmenu.m (popup_activated_flag): New variable.
13 (popup_activated): New function.
14 (menu-or-popup-active-p): New exported lisp definition.
15 (ns_popup_menu): Set popup_activated_flag. Call discard_menu_items()
16 when popup done.
17 (ns_popup_dialog): Set popup_activated_flag.
6 18
7 * nsterm.m (EmacsView -converstationIdentifier): Use NSInteger 19 * nsterm.m (EmacsView -converstationIdentifier): Use NSInteger
8 version for GNUstep (handled by conditional typedef in nsterm.m). 20 version for GNUstep (handled by conditional typedef in nsterm.m).
9 (ns_get_color): Remove special-casing for "darkblue", "dark blue" (now 21 (ns_get_color): Remove special-casing for "darkblue", "dark blue" (now
10 in rgb.txt). 22 in rgb.txt).
11 23
12 * process.c (init_process): Use DARWIN_OS, not DARWIN. 24 * process.c (init_process): Use DARWIN_OS, not DARWIN.
13 25
14 * sysselect.h: Conditionalize init_process undef on DARWIN_OS. 26 * sysselect.h: Conditionalize init_process undef on DARWIN_OS.
15 27
28 * syssignal.h (FORWARD_SIGNAL_TO_MAIN_THREAD): Do it also under NS.
29
30 * xdisp.c (redisplay_internal, note_mouse_highlight): Under NS,
31 shortcircuit if popup_activated like GTK and X toolkit.
32
16 * m/inter386.h: Change DARWIN to DARWIN_OS. 33 * m/inter386.h: Change DARWIN to DARWIN_OS.
17 34
18 * s/darwin.h: Add #define DARWIN_OS. Get rid of C_SWITCH_SYSTEM def. 35 * s/darwin.h: Add #define DARWIN_OS. Get rid of C_SWITCH_SYSTEM def.
19 Change LIBS_MACGUI to LIBS_NSGUI. Move temacs-conditionalized defs 36 Change LIBS_MACGUI to LIBS_NSGUI. Move temacs-conditionalized defs
20 closer to C_SWITCH_SYSTEM_TEMACS so usage is understood. 37 closer to C_SWITCH_SYSTEM_TEMACS so usage is understood. Expand
38 comment on NO_SOCK_SIGIO.
21 39
22 2008-08-03 Chong Yidong <cyd@stupidchicken.com> 40 2008-08-03 Chong Yidong <cyd@stupidchicken.com>
23 41
24 * nsterm.m (windowDidResize): Remove stopModal call. 42 * nsterm.m (windowDidResize): Remove stopModal call.
25 43