aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2013-02-05 13:16:35 +0100
committerJan Djärv2013-02-05 13:16:35 +0100
commit6871e574da7938313bbfd519c17035a6805a2305 (patch)
tree711e1106eb57c7e851f7432805e2688e3b3ad69a /src/ChangeLog
parented746aa721aa5712249946b6061041563f7138f3 (diff)
downloademacs-6871e574da7938313bbfd519c17035a6805a2305.tar.gz
emacs-6871e574da7938313bbfd519c17035a6805a2305.zip
* lisp/cus-start.el (all): Add ns-use-native-fullscreen.
* src/nsmenu.m (update_frame_tool_bar): Check for negative tool bar height. * src/nsterm.h (HAVE_NATIVE_FS): Define if OSX => 10.7. (EmacsView): Add fs_is_native, fsIsNative, isFullscreen and updateCollectionBehaviour. * src/nsterm.m (NEW_STYLE_FS): Remove. (ns_last_use_native_fullscreen): New variable. (x_make_frame_visible): Replace NEW_STYLE_FS with isFullscreen. (x_set_window_size): Do not take title bar and tool bar into account if isFullscreen returns YES. (ns_fullscreen_hook): Replace NEW_STYLE_FS with isFullscreen. (check_native_fs): New function. (ns_select, ns_read_socket): Call check_native_fs if HAVE_NATIVE_FS. (ns_term_init): Remove NEW_STYLE_FS. (updateFrameSize:, windowWillResize:toSize:): Only adjust for title bar and tool bar if isFullscreen returns NO. (windowDidResize:): Replace NEW_STYLE_FS with fsIsNative. (initFrameFromEmacs:): Initialize fs_is_native. Replace NEW_STYLE_FS with HAVE_NATIVE_FS. (window:willUseFullScreenPresentationOptions:): New method. (windowDidEnterFullScreen:): Replace NEW_STYLE_FS with fsIsNative. Hide toolbar if not enabled. (windowDidExitFullScreen:): Call updateCollectionBehaviour. Restore tool bar if enabled, hide it otherwise (Bug#13444). (fsIsNative, isFullscreen, updateCollectionBehaviour): New methods. (toggleFullScreen:): If fs_is_native, call toggleFullScreen on window. Do no set FRAME_EXTERNAL_TOOL_BAR (f) to 0. Check FRAME_EXTERNAL_TOOL_BAR (f) before restoring FRAME_TOOLBAR_HEIGHT (f). Call updateFrameSize when going non-fs. (syms_of_nsterm): Add ns-use-native-fullscreen.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cbfeadc04a3..dc0ae082ae9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,38 @@
12013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2
3 * nsmenu.m (update_frame_tool_bar): Check for negative tool bar
4 height.
5
6 * nsterm.h (HAVE_NATIVE_FS): Define if OSX => 10.7.
7 (EmacsView): Add fs_is_native, fsIsNative, isFullscreen and
8 updateCollectionBehaviour.
9
10 * nsterm.m (NEW_STYLE_FS): Remove.
11 (ns_last_use_native_fullscreen): New variable.
12 (x_make_frame_visible): Replace NEW_STYLE_FS with isFullscreen.
13 (x_set_window_size): Do not take title bar and tool bar into account
14 if isFullscreen returns YES.
15 (ns_fullscreen_hook): Replace NEW_STYLE_FS with isFullscreen.
16 (check_native_fs): New function.
17 (ns_select, ns_read_socket): Call check_native_fs if HAVE_NATIVE_FS.
18 (ns_term_init): Remove NEW_STYLE_FS.
19 (updateFrameSize:, windowWillResize:toSize:): Only adjust for title bar
20 and tool bar if isFullscreen returns NO.
21 (windowDidResize:): Replace NEW_STYLE_FS with fsIsNative.
22 (initFrameFromEmacs:): Initialize fs_is_native. Replace NEW_STYLE_FS
23 with HAVE_NATIVE_FS.
24 (window:willUseFullScreenPresentationOptions:): New method.
25 (windowDidEnterFullScreen:): Replace NEW_STYLE_FS with fsIsNative.
26 Hide toolbar if not enabled (Bug#13444).
27 (windowDidExitFullScreen:): Call updateCollectionBehaviour.
28 Restore tool bar if enabled, hide it otherwise (Bug#13444).
29 (fsIsNative, isFullscreen, updateCollectionBehaviour): New methods.
30 (toggleFullScreen:): If fs_is_native, call toggleFullScreen on
31 window. Do no set FRAME_EXTERNAL_TOOL_BAR (f) to 0.
32 Check FRAME_EXTERNAL_TOOL_BAR (f) before restoring
33 FRAME_TOOLBAR_HEIGHT (f). Call updateFrameSize when going non-fs.
34 (syms_of_nsterm): Add ns-use-native-fullscreen.
35
12013-02-04 Paul Eggert <eggert@cs.ucla.edu> 362013-02-04 Paul Eggert <eggert@cs.ucla.edu>
2 37
3 * fileio.c (Qchoose_write_coding_system): Now static. 38 * fileio.c (Qchoose_write_coding_system): Now static.