aboutsummaryrefslogtreecommitdiffstats
path: root/nextstep
diff options
context:
space:
mode:
authorPaul Eggert2016-11-06 00:33:43 -0700
committerPaul Eggert2016-11-06 00:42:03 -0700
commitdc152c54f4e44f5f2040883b03f71ff6aa66c893 (patch)
tree7b4f0336a1f03e7a53d980000a42568b10907409 /nextstep
parent84c53436ab25b6c8f76c133e59b34e533ea33cc7 (diff)
downloademacs-dc152c54f4e44f5f2040883b03f71ff6aa66c893.tar.gz
emacs-dc152c54f4e44f5f2040883b03f71ff6aa66c893.zip
Modernize usage of 'macOS' in doc and comments
Apple changed the spelling of its operating system again, to "macOS", effective with macOS 10.12 Sierra (2016-09-20). Change Emacs documentation and comments to match this. Stick with older OS spellings ("OS X", "Mac OS X") when talking about older releases where the older names are more correct.
Diffstat (limited to 'nextstep')
-rw-r--r--nextstep/INSTALL2
-rw-r--r--nextstep/Makefile.in4
-rw-r--r--nextstep/README22
-rw-r--r--nextstep/templates/Emacs.desktop.in2
-rw-r--r--nextstep/templates/Info-gnustep.plist.in4
-rw-r--r--nextstep/templates/Info.plist.in2
6 files changed, 18 insertions, 18 deletions
diff --git a/nextstep/INSTALL b/nextstep/INSTALL
index dd690abf1b1..3740346acd5 100644
--- a/nextstep/INSTALL
+++ b/nextstep/INSTALL
@@ -19,7 +19,7 @@ In the top-level directory, use:
19 19
20 ./configure --with-ns 20 ./configure --with-ns
21 21
22(On Mac OS X, --with-ns is enabled by default.) 22(On macOS, --with-ns is enabled by default.)
23 23
24This will compile all the files, but emacs will not be able to be run except 24This will compile all the files, but emacs will not be able to be run except
25in -nw (terminal) mode. 25in -nw (terminal) mode.
diff --git a/nextstep/Makefile.in b/nextstep/Makefile.in
index 9aa034ad98d..d6e12825613 100644
--- a/nextstep/Makefile.in
+++ b/nextstep/Makefile.in
@@ -35,12 +35,12 @@ MKDIR_P = @MKDIR_P@
35 35
36## Emacs.app. 36## Emacs.app.
37ns_appdir = @ns_appdir@ 37ns_appdir = @ns_appdir@
38## GNUstep: ns_appdir; OS X: ns_appdir/Contents/MacOS 38## GNUstep: ns_appdir; macOS: ns_appdir/Contents/MacOS
39ns_appbindir = @ns_appbindir@ 39ns_appbindir = @ns_appbindir@
40## GNUstep/Emacs.base or Cocoa/Emacs.base. 40## GNUstep/Emacs.base or Cocoa/Emacs.base.
41ns_appsrc = @ns_appsrc@ 41ns_appsrc = @ns_appsrc@
42## GNUstep: GNUstep/Emacs.base/Resources/Info-gnustep.plist 42## GNUstep: GNUstep/Emacs.base/Resources/Info-gnustep.plist
43## OS X: Cocoa/Emacs.base/Contents/Info.plist 43## macOS: Cocoa/Emacs.base/Contents/Info.plist
44ns_check_file = @ns_appdir@/@ns_check_file@ 44ns_check_file = @ns_appdir@/@ns_check_file@
45 45
46.PHONY: all 46.PHONY: all
diff --git a/nextstep/README b/nextstep/README
index 7a1a0921cd8..6d37bb7b2d2 100644
--- a/nextstep/README
+++ b/nextstep/README
@@ -1,8 +1,8 @@
1 NS -- the Cocoa interface for OS X and compatible systems 1 NS -- the Cocoa interface for macOS and compatible systems
2 --------------------------------------------------------- 2 ----------------------------------------------------------
3 3
4This directory contains files needed to build Emacs on system based on 4This directory contains files needed to build Emacs on system based on
5NextStep (NS), including OS X (Mac) and GNUstep, using the Cocoa API. 5NextStep (NS), including macOS and GNUstep, using the Cocoa API.
6 6
7 7
8 HISTORY 8 HISTORY
@@ -14,14 +14,14 @@ OpenStep and then Rhapsody, which became Mac OS X. In 2004 it was
14adapted to GNUstep, a free OpenStep implementation, and in 2008 it was 14adapted to GNUstep, a free OpenStep implementation, and in 2008 it was
15merged to the GNU Emacs trunk and released with Emacs 23. Around the 15merged to the GNU Emacs trunk and released with Emacs 23. Around the
16same time a separate Mac-only port using the Carbon APIs and 16same time a separate Mac-only port using the Carbon APIs and
17descending from a 2001 MacOS 8/9 port of Emacs 21 was removed. (It 17descending from a 2001 Mac OS 8/9 port of Emacs 21 was removed. (It
18remains available externally under the name "mac".) 18remains available externally under the name "mac".)
19 19
20 20
21 OVERVIEW OF COCOA AND OBJECTIVE-C 21 OVERVIEW OF COCOA AND OBJECTIVE-C
22 22
23Cocoa is an API for the Objective-C language, an objective oriented 23Cocoa is an API for the Objective-C language, an objective oriented
24superset of C. Anybody with experience with iOS or modern OS X 24superset of C. Anybody with experience with iOS or modern macOS
25application development should feel at home. 25application development should feel at home.
26 26
27A method call in Objective-C differs from most other languages in the 27A method call in Objective-C differs from most other languages in the
@@ -58,11 +58,11 @@ Classes are declared like the following:
58* Don't use macros and types intended for the XCode Interface Builder, 58* Don't use macros and types intended for the XCode Interface Builder,
59 like 'IBAction'. 59 like 'IBAction'.
60 60
61* The NS interface should work on all version of OS X from 10.6.8 61* The NS interface should work on all version of macOS from Mac OS X
62 (Snow Leopard) to the latest official release. 62 10.6.8 (Snow Leopard) to the latest official release.
63 63
64* Under OS X, it is possible to build Emacs using NS, X11, or console 64* Under macOS, it is possible to build Emacs using NS, X11, or console
65 only. A new OS X feature should work in all appropriate builds. 65 only. A new macOS feature should work in all appropriate builds.
66 66
67 67
68 TRACING SUPPORT 68 TRACING SUPPORT
@@ -76,7 +76,7 @@ uncomment the lines defining symbols starting with 'NSTRACE_GROUP'.
76 76
77 GNUSTEP AND OTHER COMPATIBLE SYSTEMS 77 GNUSTEP AND OTHER COMPATIBLE SYSTEMS
78 78
79The NS interface works on system compatible with OS X, for example 79The NS interface works on systems compatible with macOS, for example
80GNUstep. Even though they are less frequently used, this is important 80GNUstep. Even though they are less frequently used, this is important
81for a number of reasons: 81for a number of reasons:
82 82
@@ -84,7 +84,7 @@ for a number of reasons:
84 look-and-feel as the rest of the system. 84 look-and-feel as the rest of the system.
85 85
86* This allows other Emacs developers to test their changes on the NS 86* This allows other Emacs developers to test their changes on the NS
87 interface without having access to an OS X machine. 87 interface without having access to a macOS machine.
88 88
89* If a feature in the NS interface work on free systems like GNUstep, 89* If a feature in the NS interface work on free systems like GNUstep,
90 this meets the FSF requirement that features in GNU software should 90 this meets the FSF requirement that features in GNU software should
diff --git a/nextstep/templates/Emacs.desktop.in b/nextstep/templates/Emacs.desktop.in
index 170f195f270..4fed1e3b159 100644
--- a/nextstep/templates/Emacs.desktop.in
+++ b/nextstep/templates/Emacs.desktop.in
@@ -4,7 +4,7 @@ Type=Application
4Version=@version@ 4Version=@version@
5Categories=GNUstep 5Categories=GNUstep
6Name=Emacs 6Name=Emacs
7Comment=GNU Emacs for NeXT/Open/GNUstep and OS X 7Comment=GNU Emacs for NeXT/Open/GNUstep and macOS
8Icon=emacs.tiff 8Icon=emacs.tiff
9Exec=openapp Emacs.app 9Exec=openapp Emacs.app
10#TryExec=Emacs.app 10#TryExec=Emacs.app
diff --git a/nextstep/templates/Info-gnustep.plist.in b/nextstep/templates/Info-gnustep.plist.in
index 679eb4fa435..1fd31849ab8 100644
--- a/nextstep/templates/Info-gnustep.plist.in
+++ b/nextstep/templates/Info-gnustep.plist.in
@@ -1,11 +1,11 @@
1{ 1{
2 ApplicationDescription = "GNU Emacs for GNUstep / OS X"; 2 ApplicationDescription = "GNU Emacs for GNUstep / macOS";
3 ApplicationIcon = emacs.tiff; 3 ApplicationIcon = emacs.tiff;
4 ApplicationName = Emacs; 4 ApplicationName = Emacs;
5 ApplicationRelease = "@version@"; 5 ApplicationRelease = "@version@";
6 Authors = ( 6 Authors = (
7 "Adrian Robert (GNUstep)", 7 "Adrian Robert (GNUstep)",
8 "Christophe de Dinechin (MacOS X)", 8 "Christophe de Dinechin (macOS)",
9 "Scott Bender (OpenStep)", 9 "Scott Bender (OpenStep)",
10 "Christian Limpach (NeXTstep)", 10 "Christian Limpach (NeXTstep)",
11 "Carl Edman (NeXTstep)", 11 "Carl Edman (NeXTstep)",
diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in
index dcd2fe34167..686b8047dfb 100644
--- a/nextstep/templates/Info.plist.in
+++ b/nextstep/templates/Info.plist.in
@@ -504,7 +504,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
504 </dict> 504 </dict>
505 </array> 505 </array>
506 506
507 <!-- Export definitions so that OS X understands about the file types --> 507 <!-- Export definitions so that macOS understands about the file types -->
508 <key>UTExportedTypeDeclarations</key> 508 <key>UTExportedTypeDeclarations</key>
509 <array> 509 <array>
510 <dict> 510 <dict>