diff options
| author | Glenn Morris | 2012-02-01 21:12:57 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-02-01 21:12:57 -0500 |
| commit | 44f9273998bc2b42e2b17b4bb35b4e0f0e1cf27d (patch) | |
| tree | b3005c8ac021b04077e12014ac7f4026516cbbf1 | |
| parent | 953a8c3b9c08da070b7367f3b0c2c5af95e0b130 (diff) | |
| download | emacs-44f9273998bc2b42e2b17b4bb35b4e0f0e1cf27d.tar.gz emacs-44f9273998bc2b42e2b17b4bb35b4e0f0e1cf27d.zip | |
Native scroll-bars are not implemented for Nextstep (bug#10673)
* configure.in [HAVE_NS]: Error if use --without-toolkit-scroll-bars.
* src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
Unconditionally set to t.
* src/nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>:
* src/w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
* src/xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Doc fix.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.in | 4 | ||||
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/nsterm.m | 12 | ||||
| -rw-r--r-- | src/w32term.c | 5 | ||||
| -rw-r--r-- | src/xterm.c | 5 |
6 files changed, 25 insertions, 14 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-02-02 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.in [HAVE_NS]: | ||
| 4 | Error if use --without-toolkit-scroll-bars. (Bug#10673) | ||
| 5 | |||
| 1 | 2012-02-01 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2012-02-01 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Port to older Solaris 10 versions (Bug#10677). | 8 | Port to older Solaris 10 versions (Bug#10677). |
diff --git a/configure.in b/configure.in index 9eae1a51767..1d3810253ab 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1568,6 +1568,10 @@ ns_frag=/dev/null | |||
| 1568 | NS_OBJ= | 1568 | NS_OBJ= |
| 1569 | NS_OBJC_OBJ= | 1569 | NS_OBJC_OBJ= |
| 1570 | if test "${HAVE_NS}" = yes; then | 1570 | if test "${HAVE_NS}" = yes; then |
| 1571 | if test "$with_toolkit_scroll_bars" = "no"; then | ||
| 1572 | AC_MSG_ERROR([Native scroll bars are not implemented for Nextstep.]) | ||
| 1573 | fi | ||
| 1574 | |||
| 1571 | window_system=nextstep | 1575 | window_system=nextstep |
| 1572 | with_xft=no | 1576 | with_xft=no |
| 1573 | # set up packaging dirs | 1577 | # set up packaging dirs |
diff --git a/src/ChangeLog b/src/ChangeLog index eebb10fb472..800409d2377 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2012-02-02 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>: | ||
| 4 | Unconditionally set to t. (Bug#10673) | ||
| 5 | * nsterm.m (syms_of_nsterm) <x-toolkit-scroll-bars>: | ||
| 6 | * w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>: | ||
| 7 | * xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Doc fix. | ||
| 8 | |||
| 1 | 2012-02-02 Kenichi Handa <handa@m17n.org> | 9 | 2012-02-02 Kenichi Handa <handa@m17n.org> |
| 2 | 10 | ||
| 3 | * xdisp.c (BUILD_COMPOSITE_GLYPH_STRING): Initialize first_s to | 11 | * xdisp.c (BUILD_COMPOSITE_GLYPH_STRING): Initialize first_s to |
diff --git a/src/nsterm.m b/src/nsterm.m index 1fbd3813fc7..277af26f149 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* NeXT/Open/GNUstep / MacOSX communication module. | 1 | /* NeXT/Open/GNUstep / MacOSX communication module. |
| 2 | Copyright (C) 1989, 1993-1994, 2005-2006, 2008-2012 | 2 | |
| 3 | Free Software Foundation, Inc. | 3 | Copyright (C) 1989, 1993-1994, 2005-2006, 2008-2012 |
| 4 | Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -6739,13 +6740,8 @@ Only works on OSX 10.6 or later. */); | |||
| 6739 | A value of nil means Emacs doesn't use toolkit scroll bars. | 6740 | A value of nil means Emacs doesn't use toolkit scroll bars. |
| 6740 | With the X Window system, the value is a symbol describing the | 6741 | With the X Window system, the value is a symbol describing the |
| 6741 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. | 6742 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. |
| 6742 | With MS Windows, the value is t. With Nextstep, the value is | 6743 | With MS Windows or Nextstep, the value is t. */); |
| 6743 | t or nil. */); | ||
| 6744 | #ifdef USE_TOOLKIT_SCROLL_BARS | ||
| 6745 | Vx_toolkit_scroll_bars = Qt; | 6744 | Vx_toolkit_scroll_bars = Qt; |
| 6746 | #else | ||
| 6747 | Vx_toolkit_scroll_bars = Qnil; | ||
| 6748 | #endif | ||
| 6749 | 6745 | ||
| 6750 | DEFVAR_BOOL ("x-use-underline-position-properties", | 6746 | DEFVAR_BOOL ("x-use-underline-position-properties", |
| 6751 | x_use_underline_position_properties, | 6747 | x_use_underline_position_properties, |
diff --git a/src/w32term.c b/src/w32term.c index 57fdf070850..8a0e9efc943 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Implementation of GUI terminal on the Microsoft W32 API. | 1 | /* Implementation of GUI terminal on the Microsoft W32 API. |
| 2 | 2 | ||
| 3 | Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc. | 3 | Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -6432,8 +6432,7 @@ baseline level. The default value is nil. */); | |||
| 6432 | A value of nil means Emacs doesn't use toolkit scroll bars. | 6432 | A value of nil means Emacs doesn't use toolkit scroll bars. |
| 6433 | With the X Window system, the value is a symbol describing the | 6433 | With the X Window system, the value is a symbol describing the |
| 6434 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. | 6434 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. |
| 6435 | With MS Windows, the value is t. With Nextstep, the value is | 6435 | With MS Windows or Nextstep, the value is t. */); |
| 6436 | t or nil. */); | ||
| 6437 | Vx_toolkit_scroll_bars = Qt; | 6436 | Vx_toolkit_scroll_bars = Qt; |
| 6438 | 6437 | ||
| 6439 | staticpro (&last_mouse_motion_frame); | 6438 | staticpro (&last_mouse_motion_frame); |
diff --git a/src/xterm.c b/src/xterm.c index 8fd0c0d24f7..0a54c987387 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* X Communication module for terminals which understand the X protocol. | 1 | /* X Communication module for terminals which understand the X protocol. |
| 2 | 2 | ||
| 3 | Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc. | 3 | Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -10844,8 +10844,7 @@ selected window or cursor position is preserved. */); | |||
| 10844 | A value of nil means Emacs doesn't use toolkit scroll bars. | 10844 | A value of nil means Emacs doesn't use toolkit scroll bars. |
| 10845 | With the X Window system, the value is a symbol describing the | 10845 | With the X Window system, the value is a symbol describing the |
| 10846 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. | 10846 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. |
| 10847 | With MS Windows, the value is t. With Nextstep, the value is | 10847 | With MS Windows or Nextstep, the value is t. */); |
| 10848 | t or nil. */); | ||
| 10849 | #ifdef USE_TOOLKIT_SCROLL_BARS | 10848 | #ifdef USE_TOOLKIT_SCROLL_BARS |
| 10850 | #ifdef USE_MOTIF | 10849 | #ifdef USE_MOTIF |
| 10851 | Vx_toolkit_scroll_bars = intern_c_string ("motif"); | 10850 | Vx_toolkit_scroll_bars = intern_c_string ("motif"); |