"Mac OS X" -> "Mac OS"

Although "macOS" is the correct name for Apple's current desktop OS,
we've decided to go with "Mac OS" to cover all of Apple's Unix-like
desktop OS versions. The label "Mac OS" is more readable, clear in
context (i.e., unlikely to be confused with the Mac OSes that
proceeded Mac OS X), and as likely to match Apple's future OS names
as anything.
This commit is contained in:
Matthew Flatt 2016-12-23 12:07:27 -07:00
parent 5cc5bb7c55
commit 710320e3dc
61 changed files with 180 additions and 183 deletions

View File

@ -53,7 +53,7 @@ If you stick with this repository, then you have several options:
Quick Instructions: In-place Build
==================================
On Unix (including Linux) and Mac OS X, `make' (or `make in-place')
On Unix (including Linux) and Mac OS, `make' (or `make in-place')
creates a build in the "racket" directory.
On Windows with Microsoft Visual Studio (any version between 2008/9.0
@ -81,7 +81,7 @@ installs into "<dir>" (which must be an absolute path) with binaries
in "<dir>/bin", packages in "<dir>/share/racket/pkgs", documentation
in "<dir>/share/racket/doc", etc.
On Mac OS X, `make unix-style PREFIX=<dir>' builds and installs into
On Mac OS, `make unix-style PREFIX=<dir>' builds and installs into
"<dir>" (which must be an absolute path) with binaries in "<dir>/bin",
packages in "<dir>/share/pkgs", documentation in "<dir>/doc", etc.
@ -321,7 +321,7 @@ normalizing the Windows results to "i386-win32" and "x86_63-win32",
-<dist-suffix> is omitted unless a `#:dist-suffix' string is specified
for the client in the site configuration, and <ext> is
platform-specific: ".sh" for Unix (including Linux), ".dmg" or ".pkg"
for Mac OS X, and ".exe" for Windows.
for Mac OS, and ".exe" for Windows.
Generating Installer Web Sites
------------------------------
@ -517,7 +517,7 @@ In more detail:
To create a ".tgz" archive instead of an installer (or any
platform), set `TGZ_MODE' to "--tgz".
For a Mac OS X installer, set `SIGN_IDENTITY' as the name to
For a Mac OS installer, set `SIGN_IDENTITY' as the name to
which the signing certificate is associated. Set `MAC_PKG_MODE'
to "--mac-pkg" to create a ".pkg" installer instead of a ".dmg"
image.

View File

@ -98,7 +98,7 @@ win32-as-is:
$(WIN32_RUN_RACO) setup $(ALL_PLT_SETUP_OPTIONS)
# ------------------------------------------------------------
# Unix-style build (Unix and Mac OS X, only)
# Unix-style build (Unix and Mac OS, only)
PREFIX =
@ -234,7 +234,7 @@ SOURCE_MODE =
# name or installation path:
VERSIONLESS_MODE =
# Set to "--mac-pkg" to create ".pkg"-based installers for Mac OS X,
# Set to "--mac-pkg" to create ".pkg"-based installers for Mac OS,
# instead of a ".dmg" for drag-and-drop installation:
MAC_PKG_MODE =
@ -271,7 +271,7 @@ BUILD_STAMP =
# the default as the version number:
INSTALL_NAME =
# For Mac OS X, a signing identity (spaces allowed) for binaries in an
# For Mac OS, a signing identity (spaces allowed) for binaries in an
# installer:
SIGN_IDENTITY =

View File

@ -49,7 +49,7 @@
(exe-embedded-collects-dest dir)]
[("--ico") .ico-file "Set Windows icon for executable"
(exe-aux (cons (cons 'ico .ico-file) (exe-aux)))]
[("--icns") .icns-file "Set Mac OS X icon for executable"
[("--icns") .icns-file "Set Mac OS icon for executable"
(exe-aux (cons (cons 'icns .icns-file) (exe-aux)))]
[("--orig-exe") "Use original executable instead of stub"
(exe-aux (cons (cons 'original-exe? #t) (exe-aux)))]

View File

@ -104,7 +104,7 @@ for @racket["ollie.cs.rice.edu"] might be @racket["cs.rice.edu"].}
@defproc[(dns-find-nameserver) (or/c string? false/c)]{
Attempts to find the address of a nameserver on the present system.
On Unix and Mac OS X, this procedure parses @filepath{/etc/resolv.conf} to
On Unix and Mac OS, this procedure parses @filepath{/etc/resolv.conf} to
extract the first nameserver address. On Windows, it runs
@exec{nslookup.exe}.}

View File

@ -3,11 +3,11 @@
(for-label net/osx-ssl
openssl))
@title[#:tag "osx-ssl"]{OS X Native SSL: Secure Communication}
@title[#:tag "osx-ssl"]{Mac OS Native SSL: Secure Communication}
@defmodule[net/osx-ssl]{The @racketmodname[net/osx-ssl] module
offers a fraction of the functionality of @racketmodname[openssl] and
works only on OS X, but it has the advantage that it works before
works only on Mac OS, but it has the advantage that it works before
OpenSSL libraries are installed.}
@history[#:added "6.3.0.12"]

View File

@ -24,7 +24,7 @@ On Windows, @racket[send-url] normally uses @racket[shell-execute]
to launch a browser. (If the URL appears to contain a fragment, it may
use an intermediate redirecting file due to a bug in IE7.)
On Mac OS X, @racket[send-url] runs @exec{osascript} to start the
On Mac OS, @racket[send-url] runs @exec{osascript} to start the
user's chosen browser.
On Unix, @racket[send-url] uses a user-preference, or when none is
@ -80,7 +80,7 @@ above.}
@defproc[(send-url/mac [url string?]
[#:browser browser (or/c string? #f) #f])
void?]{
Like @racket[send-url], but only for use on a Mac OS X machine.
Like @racket[send-url], but only for use on a Mac OS machine.
The optional @racket[browser] argument, if present, should be the name
of a browser installed on the system. For example,

View File

@ -11,7 +11,7 @@ resulting archives contain only directories, files, and symbolic
links, and owner information is not preserved; the owner that is
stored in the archive is always ``root.''
Symbolic links (on Unix and Mac OS X) are not followed by default.}
Symbolic links (on Unix and Mac OS) are not followed by default.}
@defproc[(tar [tar-file path-string?]

View File

@ -5,7 +5,7 @@
@defmodule[file/zip]{The @racketmodname[file/zip] library provides
utilities to create @exec{zip} archive files, which are compatible
with both Windows and Unix (including Mac OS X) unpacking. The actual
with both Windows and Unix (including Mac OS) unpacking. The actual
compression is implemented by @racket[deflate].}
@defproc[(zip [zip-file path-string?] [path path-string?] ...
@ -33,7 +33,7 @@ resulting @exec{zip} file, up to the current directory (using
Files are packaged as usual for
@exec{zip} files, including permission bits for both Windows and Unix
(including Mac OS X). The permission bits are determined by
(including Mac OS). The permission bits are determined by
@racket[file-or-directory-permissions], which does not preserve the
distinction between owner/group/other permissions. Also, symbolic
links are always followed.

View File

@ -28,10 +28,10 @@ or with the Racket distribution. In particular:
@filepath{libeay32.dll} and @filepath{ssleay32.dll}, which are
included in the Racket distribution for Windows.}
@item{For Mac OS X, @racketmodname[openssl] depends on
@item{For Mac OS, @racketmodname[openssl] depends on
@filepath{libssl.dylib} and @filepath{libcrypto.dylib}. Although those
libraries are provided by Mac OS X 10.2 and later, their use is
deprecated, so the Racket distribution for Mac OS X includes newer
libraries are provided by Mac OS 10.2 and later, their use is
deprecated, so the Racket distribution for Mac OS includes newer
versions.}
@item{For Unix, @racketmodname[openssl] depends on
@ -462,7 +462,7 @@ immediately. Only supported on Windows.}
@item{If @racket[src] is @racket[(list 'macosx-keychain _path)], then
the certificates from the keychain stored at @racket[_path] are loaded
immediately. Only supported on Mac OS X.}
immediately. Only supported on Mac OS.}
]
@ -493,7 +493,7 @@ on the platform:
@tt{SSL_CERT_FILE} and @tt{SSL_CERT_DIR} environment variables, if the
variables are set, or the system-wide default locations otherwise.}
@item{On Mac OS X, the default sources consist of the system keychain
@item{On Mac OS, the default sources consist of the system keychain
for root certificates: @racket['(macosx-keychain
"/System/Library/Keychains/SystemRootCertificates.keychain")].}

View File

@ -199,7 +199,7 @@ or @racket[move-man-pages] definitions in an @filepath{info.rkt} file,
retrieving them if they are not present at referenced location but are
present in a user-specific target directory (i.e., the directory
reported by @racket[find-user-lib-dir], @racket[find-user-share-dir],
or @racket[find-user-man-dir], respectively). On Mac OS X, when an
or @racket[find-user-man-dir], respectively). On Mac OS, when an
unmoved file for @racket[move-foreign-libs] is a Mach-O file that
includes a reference to another library in one of the directories reported by
@racket[(get-lib-search-dirs)], then the reference is changed to a

View File

@ -60,7 +60,7 @@ To use the FFI, you must have in mind
The library corresponds to a file with a suffix such as
@filepath{.dll}, @filepath{.so}, or @filepath{.dylib} (depending on
the platform), or it might be a library within a @filepath{.framework}
directory on Mac OS X.
directory on Mac OS.
Knowing the library's name and/or path is often the trickiest part of
using the FFI. Sometimes, when using a library name without a path

View File

@ -8,7 +8,7 @@
The @racketmodname[ffi/unsafe/nsalloc] and
@racketmodname[ffi/unsafe/nsstring] libraries provide basic
facilities for working with Cocoa and/or Mac OS X Foundation
facilities for working with Cocoa and/or Mac OS Foundation
libraries (usually along with @racket[ffi/objc]).
@; ----------------------------------------

View File

@ -111,7 +111,7 @@ Defines each @racket[class-id] to the class (a value with FFI type
A class accessed by @racket[import-class] is normally declared as a
side effect of loading a foreign library. For example, if you want to
import the class @tt{NSString} on Mac OS X, the @filepath{Foundation}
import the class @tt{NSString} on Mac OS, the @filepath{Foundation}
framework must be loaded, first. Beware that if you use
@racket[import-class] in DrRacket or a module that @racket[require]s
@racketmodname[racket/gui/base], then @filepath{Foundation} will have

View File

@ -15,7 +15,7 @@ Start menu. In Windows Vista or newer, you can just type @exec{DrRacket}. You c
also run it from its folder, which you can find in @onscreen{Program Files} →
@onscreen{Racket} → @onscreen{DrRacket}.
On Mac OS X, double click on the @onscreen{DrRacket} icon. It is probably in a
On Mac OS, double click on the @onscreen{DrRacket} icon. It is probably in a
@onscreen{Racket} folder that you dragged into your
@onscreen{Applications} folder. If you want to use command-line tools, instead,
Racket executables are in the @filepath{bin} directory of the @onscreen{Racket}

View File

@ -247,7 +247,7 @@ installation or one of the directories reported by
the list of searched directories by setting the @envvar{PLTCOLLECTS}
environment variable.@margin-note*{If you set @envvar{PLTCOLLECTS},
include an empty path in by starting the value with a colon (Unix and
Mac OS X) or semicolon (Windows) so that the original search paths are
Mac OS) or semicolon (Windows) so that the original search paths are
preserved.} The best option, however, is to add a @tech{package}.
Creating a package @emph{does not} mean that you have to register with

View File

@ -4,12 +4,12 @@
@title[#:tag "scripts"]{Scripts}
Racket files can be turned into executable scripts on Unix and Mac
OS X. On Windows, a compatibility layer like Cygwin support the
OS. On Windows, a compatibility layer like Cygwin support the
same kind of scripts, or scripts can be implemented as batch files.
@section{Unix Scripts}
In a Unix environment (including Linux and Mac OS X), a Racket file can
In a Unix environment (including Linux and Mac OS), a Racket file can
be turned into an executable script using the shell's @as-index{@tt{#!}}
convention. The first two characters of the file must be @litchar{#!};
the next character must be either a space or @litchar{/}, and the

View File

@ -181,7 +181,7 @@ To package the program as an executable, you have a few options:
the program. See @secref[#:doc '(lib
"scribblings/raco/raco.scrbl") "exe"] for more information.}
@item{With Unix or Mac OS X, you can turn the program file into an
@item{With Unix or Mac OS, you can turn the program file into an
executable script by inserting the line
@margin-note{See @secref["scripts"] for more information on

View File

@ -51,7 +51,7 @@ To embed Racket CGC in a program, follow these steps:
use. (@filepath{Racket.exe} and @filepath{GRacket.exe} use the latter
strategy.)
On Mac OS X, dynamic libraries are provided by the
On Mac OS, dynamic libraries are provided by the
@filepath{Racket} framework, which is typically installed in
@filepath{lib} sub-directory of the installation. Supply
@exec{-framework Racket} to @exec{gcc} when linking, along
@ -160,7 +160,7 @@ to Racket objects can be kept in registers, stack variables, or
structures allocated with @cppi{scheme_malloc}. In an embedding
application on some platforms, static variables are also automatically
registered as roots for garbage collection (but see notes below
specific to Mac OS X and Windows).
specific to Mac OS and Windows).
For example, the following is a simple embedding program which
evaluates all expressions provided on the command line and displays
@ -232,7 +232,7 @@ executable, but the embedding application must call
@cppi{scheme_set_exec_cmd} to set the executable path (typically
@cpp{argv[0]}) before declaring modules.
On Mac OS X, or on Windows when Racket is compiled to a DLL
On Mac OS, or on Windows when Racket is compiled to a DLL
using Cygwin, the garbage collector cannot find static variables
automatically. In that case, @cppi{scheme_main_setup} must be called with a
non-zero first argument.
@ -286,7 +286,7 @@ In addition, some library details are different:
separate library for 3m analogous to CGC's
@filepath{libmzgc@italic{x}.lib}.}
@item{On Mac OS X, 3m dynamic libraries are provided by the
@item{On Mac OS, 3m dynamic libraries are provided by the
@filepath{Racket} framework, just as for CGC, but as a version
suffixed with @filepath{_3m}.}

View File

@ -80,17 +80,17 @@ steps:
but it locates a C compiler on the system and launches it with the
appropriate compilation flags. If the platform is a relatively
standard Unix system, a Windows system with either Microsoft's C
compiler or @exec{gcc} in the path, or a Mac OS X system with Apple's
compiler or @exec{gcc} in the path, or a Mac OS system with Apple's
developer tools installed, then using @|mzc| is typically easier than
working with the C compiler directly. Use the @as-index{@DFlag{cgc}}
flag to indicate that the build is for use with Racket CGC.}
@item{Link the extension C/C++ files with
@as-index{@filepath{mzdyn.o}} (Unix, Mac OS X) or
@as-index{@filepath{mzdyn.o}} (Unix, Mac OS) or
@as-index{@filepath{mzdyn.obj}} (Windows) to create a shared object. The
resulting shared object should use the extension @filepath{.so} (Unix),
@filepath{.dll} (Windows), or @filepath{.dylib} (Mac OS X).
@filepath{.dll} (Windows), or @filepath{.dylib} (Mac OS).
The @filepath{mzdyn} object file is distributed in the installation's
@filepath{lib} directory. For Windows, the object file is in a
@ -184,7 +184,7 @@ must be extended as follows:
@as-index{@DFlag{3m}} flags, @cpp{MZ_PRECISE_GC} is automatically
defined.}
@item{Link with @as-index{@filepath{mzdyn3m.o}} (Unix, Mac OS X) or
@item{Link with @as-index{@filepath{mzdyn3m.o}} (Unix, Mac OS) or
@as-index{@filepath{mzdyn3m.obj}} (Windows) to create a shared
object. When using @|mzc|, use the @DFlag{ld} and @DFlag{3m} flags
to link to these libraries.}

View File

@ -882,7 +882,7 @@ requires a few frames.
If @var{stack_end} is @cpp{NULL}, then the stack end is computed
automatically: the stack size assumed to be the limit reported by
@cpp{getrlimit} on Unix and Mac OS X, or it is assumed to be the
@cpp{getrlimit} on Unix and Mac OS, or it is assumed to be the
stack reservation of the executable (or 1 MB if parsing the
executable fails) on Windows; if this size is greater than 8 MB, then 8 MB is
assumed, instead; the size is decremented by 50000 bytes

View File

@ -130,7 +130,7 @@ for the original place.
Racket implements threads for Racket programs without aid from the
operating system, so that Racket threads are cooperative from the
perspective of C code. On Unix, stand-alone Racket uses a single
OS-implemented thread. On Windows and Mac OS X, stand-alone
OS-implemented thread. On Windows and Mac OS, stand-alone
Racket uses a few private OS-implemented threads for background
tasks, but these OS-implemented threads are never exposed by the
Racket API.

View File

@ -994,7 +994,7 @@ from position @var{d} in @var{bytes}. If @var{d} is non-zero, then
[FSSpec* spec]
[int isdir])]{
Mac OS X only: Converts an @cppi{FSSpec} record (defined by Mac OS X)
Mac OS only: Converts an @cppi{FSSpec} record (defined by Mac OS)
into a pathname string. If @var{spec} contains only directory
information (via the @cpp{vRefNum} and @cpp{parID} fields),
@var{isdir} should be @cpp{1}, otherwise it should be @cpp{0}.}
@ -1004,11 +1004,11 @@ information (via the @cpp{vRefNum} and @cpp{parID} fields),
[FSSpec* spec]
[intptr_t* type])]{
Mac OS X only: Converts a pathname into an @cppi{FSSpec} record
(defined by Mac OS X), returning @cpp{1} if successful and @cpp{0}
Mac OS only: Converts a pathname into an @cppi{FSSpec} record
(defined by Mac OS), returning @cpp{1} if successful and @cpp{0}
otherwise. If @var{type} is not @cpp{NULL} and @var{filename} is a
file that exists, @var{type} is filled with the file's four-character
Mac OS X type. If @var{type} is not @cpp{NULL} and @var{filename} is
Mac OS type. If @var{type} is not @cpp{NULL} and @var{filename} is
not a file that exists, @var{type} is filled with @cpp{0}.}
@function[(char* scheme_os_getcwd

View File

@ -4,7 +4,7 @@
@title{Subprocesses}
On Unix and Mac OS X, subprocess handling involves
On Unix and Mac OS, subprocess handling involves
@as-index[@cpp{fork}], @as-index[@cpp{waitpid}], and
@as-index[@cpp{SIGCHLD}], which creates a variety of issues within an
embedding application. On Windows, subprocess handling is more

View File

@ -604,7 +604,7 @@ The @cpp{scheme_add_fd_handle} function is useful for implementing
the second procedure passed to @cpp{scheme_wait_until}, or for
implementing a custom input port.
On Unix and Mac OS X, this function has no effect.}
On Unix and Mac OS, this function has no effect.}
@function[(void scheme_add_fd_eventmask
@ -621,7 +621,7 @@ The event mask is only used when some handle is installed with
@cpp{scheme_add_fd_handle}. This awkward restriction may force you
to create a dummy semaphore that is never posted.
On Unix, and Mac OS X, this function has no effect.}
On Unix, and Mac OS, this function has no effect.}
@function[(void scheme_add_evt
[Scheme_Type type]

View File

@ -12,7 +12,7 @@
The @racketmodname[compiler/bundle-dist] library provides a function
to pack a directory (usually assembled by
@racket[assemble-distribution]) into a distribution file. On
Windows, the result is a @filepath{.zip} archive; on Mac OS X, it's
Windows, the result is a @filepath{.zip} archive; on Mac OS, it's
a @filepath{.dmg} disk image; on Unix, it's a @filepath{.tgz}
archive.}
@ -27,7 +27,7 @@ has no extension, a file extension is added automatcially (using the
first result of @racket[bundle-put-file-extension+style+filters]).
The created archive contains a directory with the same name as
@racket[dir]---except on Mac OS X when @racket[for-exe?] is true
@racket[dir]---except on Mac OS when @racket[for-exe?] is true
and @racket[dir] contains a single a single file or directory, in
which case the created disk image contains just the file or
directory. The default for @racket[for-exe?] is @racket[#f].

View File

@ -33,7 +33,7 @@ platform-specific:
distribution directory, and DLLs and other run-time files go
into a @filepath{lib} sub-directory.}
@item{On Mac OS X, GUI executables go into the distribution
@item{On Mac OS, GUI executables go into the distribution
directory, other executables go into a @filepath{bin}
subdirectory, and frameworks (i.e., shared libraries) go into a
@filepath{lib} sub-directory along with other run-time files. As

View File

@ -184,7 +184,7 @@ currently supported keys are as follows:
@itemize[
@item{@racket['icns] (Mac OS X) : An icon file path (suffix
@item{@racket['icns] (Mac OS) : An icon file path (suffix
@filepath{.icns}) to use for the executable's desktop icon.}
@item{@racket['ico] (Windows) : An icon file path (suffix
@ -194,10 +194,10 @@ currently supported keys are as follows:
executable are replaced with icons from the file,
instead of setting only certain sizes and depths.}]}
@item{@racket['creator] (Mac OS X) : Provides a 4-character string
@item{@racket['creator] (Mac OS) : Provides a 4-character string
to use as the application signature.}
@item{@racket['file-types] (Mac OS X) : Provides a list of
@item{@racket['file-types] (Mac OS) : Provides a list of
association lists, one for each type of file handled by the
application; each association is a two-element list, where the
first (key) element is a string recognized by Finder, and the
@ -205,7 +205,7 @@ currently supported keys are as follows:
@racketmodname[xml/plist]). See @filepath{drracket.filetypes}
in the @filepath{drracket} collection for an example.}
@item{@racket['uti-exports] (Mac OS X) : Provides a list of
@item{@racket['uti-exports] (Mac OS) : Provides a list of
association lists, one for each @as-index{Uniform Type
Identifier} (UTI) exported by the executable; each association
is a two-element list, where the first (key) element is a
@ -214,7 +214,7 @@ currently supported keys are as follows:
@filepath{drracket.utiexports} in the @filepath{drracket}
collection for an example.}
@item{@racket['resource-files] (Mac OS X) : extra files to copy into
@item{@racket['resource-files] (Mac OS) : extra files to copy into
the @filepath{Resources} directory of the generated
executable.}
@ -230,7 +230,7 @@ currently supported keys are as follows:
where the configuration directory is consulted for information
about collection link files).}
@item{@racket['framework-root] (Mac OS X) : A string to prefix the
@item{@racket['framework-root] (Mac OS) : A string to prefix the
executable's path to the Racket and GRacket frameworks
(including a separating slash); note that when the prefix
starts @filepath{@"@"executable_path/} works for a
@ -264,7 +264,7 @@ currently supported keys are as follows:
brings the other instance to the front; @racket[#f] means that
multiple instances are expected.}
@item{@racket['forget-exe?] (Windows, Mac OS X) : A boolean;
@item{@racket['forget-exe?] (Windows, Mac OS) : A boolean;
@racket[#t] for a launcher (see @racket[launcher?] below) does
not preserve the original executable name for
@racket[(find-system-path 'exec-file)]; the main consequence
@ -276,7 +276,7 @@ currently supported keys are as follows:
executable, instead of a wrapper binary that execs the
original; the default is @racket[#f].}
@item{@racket['relative?] (Unix, Windows, Mac OS X) : A boolean;
@item{@racket['relative?] (Unix, Windows, Mac OS) : A boolean;
@racket[#t] means that, to the degree that the generated
executable must refer to another, it can use a relative path
(so the executables can be moved together, but not
@ -315,7 +315,7 @@ use of @tech[#:doc reference-doc]{collection links files}.
If the @racket[#:launcher?] argument is @racket[#t], then
@racket[lid-list] should be null, @racket[literal-files] should be
null, @racket[literal-sexp] should be @racket[#f], and the platform
should be Windows or Mac OS X. The embedding executable is created in
should be Windows or Mac OS. The embedding executable is created in
such a way that @racket[(find-system-path 'exec-file)] produces the
source Racket or GRacket path instead of the embedding executable (but
the result of @racket[(find-system-path 'run-file)] is still the
@ -426,7 +426,7 @@ currently @racket[#f] for all platforms.}
Indicates whether Racket/GRacket executables for the current platform
actually correspond to directories. The result is @racket[#t] on
Mac OS X when @racket[mred?] is @racket[#t], @racket[#f] otherwise.}
Mac OS when @racket[mred?] is @racket[#t], @racket[#f] otherwise.}
@defproc[(embedding-executable-put-file-extension+style+filters [mred? any/c])

View File

@ -4,11 +4,11 @@
racket/contract
compiler/exe-dylib-path))
@title[#:tag "exe-dylib-path"]{Mac OS X Dynamic Library Paths}
@title[#:tag "exe-dylib-path"]{Mac OS Dynamic Library Paths}
@defmodule[compiler/exe-dylib-path]{The
@racketmodname[compiler/exe-dylib-path] library provides functions for
reading and adjusting dynamic-library references in a Mac OS X
reading and adjusting dynamic-library references in a Mac OS
executable.}
@history[#:added "6.3"]

View File

@ -39,7 +39,7 @@ For example, the command
@commandline{raco exe --gui hello.rkt}
produces either @filepath{hello.exe} (Windows), @filepath{hello.app}
(Mac OS X), or @filepath{hello} (Unix), which runs the same as running
(Mac OS), or @filepath{hello} (Unix), which runs the same as running
the @filepath{hello.rkt} module in @exec{gracket}.
Library modules or other files that are referenced
@ -80,7 +80,7 @@ The @exec{raco exe} command accepts the following command-line flags:
@item{@Flag{o} @nonterm{file} --- create the executable as
@nonterm{file}, adding a suffix to @nonterm{file} as appropriate
for the platform and executable type. On Mac OS X in @DFlag{gui}
for the platform and executable type. On Mac OS in @DFlag{gui}
mode, @nonterm{file} is actually a bundle directory, but it appears
as a file within Finder.}
@ -127,7 +127,7 @@ The @exec{raco exe} command accepts the following command-line flags:
use of the @racket['ico] auxiliary association for more information
about expected icon sizes and transformations.}
@item{@DFlag{icns} @nonterm{.icns-path} --- on Mac OS X, set the icons
@item{@DFlag{icns} @nonterm{.icns-path} --- on Mac OS, set the icons
for the generated executable to be the content of
@nonterm{.icns-path}.}

View File

@ -44,7 +44,7 @@ platform-specific options (i.e., it is a list of pairs where the first
element of the pair is a key symbol and the second element is the
value for that key). See also @racket[build-aux-from-path]. See
@racket[create-embedding-executable] for a list that applies to both
stand-alone executables and launchers on Windows and Mac OS X GRacket;
stand-alone executables and launchers on Windows and Mac OS GRacket;
the following additional associations apply to launchers:
@itemize[
@ -54,7 +54,7 @@ the following additional associations apply to launchers:
Racket or GRacket binary, like @exec{raco.exe}. No other
@racket[aux] associations are used for an old-style launcher.}
@item{@racket['exe-name] (Mac OS X, @racket['script-3m] or
@item{@racket['exe-name] (Mac OS, @racket['script-3m] or
@racket['script-cgc] variant) --- provides the base name for a
@racket['3m]-/@racket['cgc]-variant launcher, which the script
will call ignoring @racket[args]. If this name is not provided,
@ -170,7 +170,7 @@ tethering.
void?]{
Like @racket[make-gracket-launcher], but for starting Racket. On Mac
OS X, the @racket['exe-name] @racket[aux] association is ignored.}
OS, the @racket['exe-name] @racket[aux] association is ignored.}
@defproc[(make-gracket-program-launcher [file string?]
@ -296,7 +296,7 @@ For Windows, the @filepath{.exe}
suffix is automatically appended to @racket[name]. For Unix,
@racket[name] is changed to lowercase, whitespace is changed to
@litchar{-}, and the path includes the @filepath{bin} subdirectory of
the Racket installation. For Mac OS X, the @filepath{.app} suffix
the Racket installation. For Mac OS, the @filepath{.app} suffix
is appended to @racket[name].
@history[#:changed "6.5.0.2" @elem{Added the @racket[#:tethered?] argument.}]}
@ -329,7 +329,7 @@ launchers.}
Returns @racket[#t] if GRacket launchers for the current platform are
implemented as directories from the filesystem's perspective. The
result is @racket[#t] for Mac OS X, @racket[#f] for all other
result is @racket[#t] for Mac OS, @racket[#f] for all other
platforms.}
@ -471,7 +471,7 @@ are as follows:
@itemize[
@item{@filepath{.icns} @'rarr @racket['icns] file for use on Mac
OS X}
OS}
@item{@filepath{.ico} @'rarr @racket['ico] file for use on
Windows or Unix}
@ -483,17 +483,17 @@ are as follows:
(the file content is ignored) for use on Windows}
@item{@filepath{.creator} @'rarr @racket['creator] as the initial
four characters in the file for use on Mac OS X}
four characters in the file for use on Mac OS}
@item{@filepath{.filetypes} @'rarr @racket['file-types] as
@racket[read] content (a single S-expression), and
@racket['resource-files] as a list constructed by finding
@racket["CFBundleTypeIconFile"] entries in @racket['file-types]
(and filtering duplicates); for use on Mac OS X}
(and filtering duplicates); for use on Mac OS}
@item{@filepath{.utiexports} @'rarr @racket['uti-exports] as
@racket[read] content (a single S-expression); for use on
Mac OS X}
Mac OS}
@item{@filepath{.wmclass} @'rarr @racket['wm-class] as the literal
content, removing a trailing newline if any; for use on Unix}
@ -517,7 +517,7 @@ are as follows:
A parameter that indicates a variant of Racket or GRacket to use for
launcher creation and for generating launcher names. The default is
the result of @racket[(system-type 'gc)]. On Unix and Windows, the
possibilities are @racket['cgc] and @racket['3m]. On Mac OS X, the
possibilities are @racket['cgc] and @racket['3m]. On Mac OS, the
@racket['script-3m] and @racket['script-cgc] variants are also
available for GRacket launchers.}
@ -527,7 +527,7 @@ Returns a list of symbols corresponding to available variants of GRacket
in the current Racket installation. The list normally includes at
least one of @racket['3m] or @racket['cgc]--- whichever is the result
of @racket[(system-type 'gc)]---and may include the other, as well as
@racket['script-3m] and/or @racket['script-cgc] on Mac OS X.}
@racket['script-3m] and/or @racket['script-cgc] on Mac OS.}
@defproc[(available-racket-variants) (listof symbol?)]{

View File

@ -649,7 +649,7 @@ Optional @filepath{info.rkt} fields trigger additional actions by
If @racket[install-platform] is defined, then the files are copied
only if the current platform matches the definition.
On Mac OS X, when a Mach-O file is copied, if the copied file
On Mac OS, when a Mach-O file is copied, if the copied file
includes a library reference that starts @litchar{@"@"loader_path/},
and if the referenced library exists in a different location among
the paths listed by @racket[(get-lib-search-dirs)], then the

View File

@ -477,7 +477,7 @@ the custodian is shut down. A converter is not registered with a
custodian (and does not need to be closed) if it is one of the
guaranteed combinations not involving @racket[""] on Unix, or if it
is any of the guaranteed combinations (including @racket[""]) on
Windows and Mac OS X.
Windows and Mac OS.
@margin-note{In the Racket software distributions for Windows, a suitable
@filepath{iconv.dll} is included with @filepath{libmzsch@italic{VERS}.dll}.}

View File

@ -57,17 +57,17 @@ the locale's encoding; and, finally, Racket provides functions such as
encoding.
A Unix user selects a locale by setting environment variables, such as
@envvar{LC_ALL}. On Windows and Mac OS X, the operating system
@envvar{LC_ALL}. On Windows and Mac OS, the operating system
provides other mechanisms for setting the locale. Within Racket, the
current locale can be changed by setting the @racket[current-locale]
parameter. The locale name within Racket is a string, and the
available locale names depend on the platform and its configuration,
but the @racket[""] locale means the current user's default locale;
on Windows and Mac OS X, the encoding for @racket[""] is always
on Windows and Mac OS, the encoding for @racket[""] is always
UTF-8, and locale-sensitive operations use the operating system's
native interface. (In particular, setting the @envvar{LC_ALL} and
@envvar{LC_CTYPE} environment variables does not affect the locale
@racket[""] on Mac OS X. Use @racket[getenv] and
@racket[""] on Mac OS. Use @racket[getenv] and
@racket[current-locale] to explicitly install the
environment-specified locale, if desired.) Setting the current locale
to @racket[#f] makes locale-sensitive operations locale-insensitive,

View File

@ -212,7 +212,7 @@ An @tech{extension-load handler} takes the same arguments as a
@tech{load handler}, but the file should be a platform-specific
@deftech{dynamic extension}, typically with the file suffix
@filepath{.so} (Unix), @filepath{.dll} (Windows), or @filepath{.dylib}
(Mac OS X). The file is loaded using internal, OS-specific
(Mac OS). The file is loaded using internal, OS-specific
primitives. See @other-manual['(lib
"scribblings/inside/inside.scrbl")] for more information on
@tech{dynamic extensions}.}
@ -249,8 +249,7 @@ file when the given path ends with @filepath{.rkt}, no @filepath{.rkt}
file exists, and when the handler's second argument is a symbol. In
addition, the default @tech{compiled-load handler} checks for
@filepath{.zo} (bytecode) files and @filepath{.so} (native Unix),
@filepath{.dll} (native Windows), or @filepath{.dylib} (native Mac OS
X) files.
@filepath{.dll} (native Windows), or @filepath{.dylib} (native Mac OS) files.
The check for a compiled file occurs whenever the given path
@racket[_file] ends with any extension (e.g., @filepath{.rkt} or

View File

@ -339,10 +339,10 @@ affect only the ability of processes to acquire locks) or they may
correspond to mandatory locks that prevent reads and writes to the
locked file. Specifically, locks are mandatory on Windows and advisory
on other platforms. Multiple tries for a @racket['shared] lock on a
single port can succeed; on Unix and Mac OS X, a single
single port can succeed; on Unix and Mac OS, a single
@racket[port-file-unlock] release the lock, while on other Windows, a
@racket[port-file-unlock] is needed for each successful
@racket[port-try-file-lock?]. On Unix and Mac OS X, multiple tries for
@racket[port-try-file-lock?]. On Unix and Mac OS, multiple tries for
a @racket['exclusive] lock can succeed and a single
@racket[port-file-unlock] releases the lock, while on Windows, a try
for an @racket['exclusive] lock fails for a given port if the port
@ -355,9 +355,9 @@ output port, and vice versa. If the output port from
corresponding input port can still acquire a @racket['shared] lock,
even multiple times; on Windows, a @racket[port-file-unlock] is needed
for each successful lock try, while a single @racket[port-file-unlock]
balances the lock tries on Unix and Mac OS X. A @racket['shared] lock on
balances the lock tries on Unix and Mac OS. A @racket['shared] lock on
an input port can be upgraded to an @racket['exclusive] lock through the
corresponding output port on Unix and Mac OS X, in which case a single
corresponding output port on Unix and Mac OS, in which case a single
@racket[port-file-unlock] (on either port) releases the lock, while
such upgrades are not allowed on Windows.

View File

@ -31,7 +31,7 @@ by @racket[kind], which must be one of the following:
variable is defined as a @tech{complete} path, then the path is used
as the user's home directory.
On Unix and Mac OS X, when @envvar{PLTUSERHOME} does not apply,
On Unix and Mac OS, when @envvar{PLTUSERHOME} does not apply,
the user's home directory is determined by
expanding the path @filepath{~}, which is expanded by first checking
for a @indexed-envvar{HOME} environment variable. If none is defined,
@ -58,7 +58,7 @@ by @racket[kind], which must be one of the following:
determined by @envvar{PLTUSERHOME}, otherwise in the user's
application-data folder as specified by the Windows registry; the
application-data folder is usually @filepath{Application Data} in the
user's profile directory. On Mac OS X, the preferences directory
user's profile directory. On Mac OS, the preferences directory
is @filepath{Library/Preferences} in the
@tech{user's home directory}. The preferences directory might not exist.}
@ -66,8 +66,7 @@ by @racket[kind], which must be one of the following:
symbol-keyed association list of preference values. The file's
directory path always matches the result returned for
@racket['pref-dir]. The file name is @filepath{racket-prefs.rktd} on Unix
and Windows, and it is @filepath{org.racket-lang.prefs.rktd} on Mac OS
X. The file's directory might not exist. See also
and Windows, and it is @filepath{org.racket-lang.prefs.rktd} on Mac OS. The file's directory might not exist. See also
@racket[get-preference].}
@item{@indexed-racket['temp-dir] --- the standard directory for
@ -115,7 +114,7 @@ by @racket[kind], which must be one of the following:
environment variable or flag is specified, or if the value is not a
legal path name, then this directory defaults to
@filepath{Library/Racket} in the @tech{user's home directory} on Mac
OS X and @racket['pref-dir] otherwise. The directory might not
OS and @racket['pref-dir] otherwise. The directory might not
exist.}
@item{@indexed-racket['doc-dir] --- the standard directory for
@ -124,7 +123,7 @@ by @racket[kind], which must be one of the following:
home directory} if determined by @envvar{PLTUSERHOME}, otherwise it
is the user's documents folder as specified by the Windows registry;
the documents folder is usually @filepath{My Documents} in the user's
home directory. On Mac OS X, it's the @filepath{Documents} directory
home directory. On Mac OS, it's the @filepath{Documents} directory
in the @tech{user's home directory}.}
@item{@indexed-racket['desk-dir] --- the directory for the current user's
@ -132,7 +131,7 @@ by @racket[kind], which must be one of the following:
Windows, it is the @tech{user's home directory} if determined by
@envvar{PLTUSERHOME}, otherwise it is the user's desktop folder as
specified by the Windows registry; the desktop folder is usually
@filepath{Desktop} in the user's home directory. On Mac OS X, it is
@filepath{Desktop} in the user's home directory. On Mac OS, it is
@filepath{Desktop} in the @tech{user's home directory}}
@item{@indexed-racket['sys-dir] --- the directory containing the
@ -301,12 +300,12 @@ This procedure can be used to move a file/directory to a different
directory (on the same filesystem) as well as rename a file/directory within
a directory. Unless @racket[exists-ok?] is provided as a true value,
@racket[new] cannot refer to an existing file or directory, but the
check is not atomic with the rename operation on Unix and Mac OS X. Even if
check is not atomic with the rename operation on Unix and Mac OS. Even if
@racket[exists-ok?] is true, @racket[new] cannot refer to an existing
file when @racket[old] is a directory, and vice versa.
If @racket[new] exists and is replaced, the replacement is atomic
on Unix and Mac OS X, but it is not guaranteed to be atomic on
on Unix and Mac OS, but it is not guaranteed to be atomic on
Windows. Furthermore, if @racket[new] exists and is opened by any
process for reading or writing, then attempting to replace it will
typically fail on Windows. See also @racket[call-with-atomic-output-file].
@ -405,7 +404,7 @@ identity of the referenced file or directory (if any).}
@defproc[(file-size [path path-string?]) exact-nonnegative-integer?]{
Returns the (logical) size of the specified file in bytes. On Mac
OS X, this size excludes the resource-fork size. On error (e.g., if no
OS, this size excludes the resource-fork size. On error (e.g., if no
such file exists), the @exnraise[exn:fail:filesystem].}
@ -471,7 +470,7 @@ simplified, complete, directory path.
The path is not checked for existence when the parameter is set.
On Unix and Mac OS X, the initial value of the parameter for a Racket
On Unix and Mac OS, the initial value of the parameter for a Racket
process is taken from the @indexed-envvar{PWD} environment
variable---if the value of the environment variable identifies the
same directory as the operating system's report of the current
@ -1199,7 +1198,7 @@ Opens a temporary file for writing in the same directory as
@racket[file], calls @racket[proc] to write to the temporary file, and
then atomically moves the temporary file in place of @racket[file].
The atomic move simply uses @racket[rename-file-or-directory] on Unix
and Mac OS X, but it uses an extra rename step (see below) on Windows
and Mac OS, but it uses an extra rename step (see below) on Windows
to avoid problems due to concurrent readers of @racket[file].
The @racket[proc] function is called with an output port for the
@ -1288,7 +1287,7 @@ paths are checked for compatibility with old versions of Racket:
@item{Windows: @racket[(build-path (find-system-path 'pref-dir) 'up "PLT Scheme" "plt-prefs.ss")]}
@item{Mac OS X: @racket[(build-path (find-system-path 'pref-dir) "org.plt-scheme.prefs.ss")]}
@item{Mac OS: @racket[(build-path (find-system-path 'pref-dir) "org.plt-scheme.prefs.ss")]}
@item{Unix: @racket[(expand-user-path "~/.plt-scheme/plt-prefs.ss")]}

View File

@ -13,7 +13,7 @@
@note-lib[racket/future]
@margin-note{Currently, parallel support for @racket[future] is enabled
by default for Windows, Linux x86/x86_64, and Mac OS X x86/x86_64. To
by default for Windows, Linux x86/x86_64, and Mac OS x86/x86_64. To
enable support for other platforms, use @DFlag{enable-futures} with
@exec{configure} when building Racket.}

View File

@ -62,7 +62,7 @@ through environment variables:
same as for @envvar{PLTSTDERR}.
The default is @racket["none"] for Unix or @racket["error"] for
Windows and Mac OS X.}
Windows and Mac OS.}
]

View File

@ -23,7 +23,7 @@
[(_ . rest)
(examples #:eval mz-eval . rest)]))
(define AllUnix "Unix and Mac OS X")
(define AllUnix "Unix and Mac OS")
(provide AllUnix)
(provide note-lib)

View File

@ -26,7 +26,7 @@ hardware threads.
@margin-note{Currently, parallel support for places is enabled
only for Racket 3m (which is the main variant of Racket), and only
by default for Windows, Linux x86/x86_64, and Mac OS X x86/x86_64. To
by default for Windows, Linux x86/x86_64, and Mac OS x86/x86_64. To
enable support for other platforms, use @DFlag{enable-places} with
@exec{configure} when building Racket. The @racket[place-enabled?]
function reports whether places run in parallel.}

View File

@ -40,7 +40,7 @@ In @indexed-racket['link] mode, the possible symbol results are:
@item{@indexed-racket['static] (Unix)}
@item{@indexed-racket['shared] (Unix)}
@item{@indexed-racket['dll] (Windows)}
@item{@indexed-racket['framework] (Mac OS X)}
@item{@indexed-racket['framework] (Mac OS)}
]
Future ports of Racket may expand the list of @racket['os],
@ -74,7 +74,7 @@ are:
@item{@indexed-racket['scalable] --- resources consumed by a
@tech{filesystem change event} are effectively limited only by
available memory, as opposed to file-descriptor limits; this property
is @racket[#f] on Mac OS X and BSD variants of Unix}
is @racket[#f] on Mac OS and BSD variants of Unix}
@item{@indexed-racket['low-latency] --- creation and checking of a
@tech{filesystem change event} is practically instantaneous; this
property is @racket[#f] on Linux}
@ -90,7 +90,7 @@ are:
Returns a string to identify the current user's language and
country.
On Unix and Mac OS X, the string is five characters: two lowercase
On Unix and Mac OS, the string is five characters: two lowercase
ASCII letters for the language, an underscore, and two uppercase ASCII
letters for the country. On Windows, the string can be arbitrarily
long, but the language and country are in English (all ASCII letters
@ -102,7 +102,7 @@ On Unix, the result is determined by checking the
result is used if the environment variable's value starts with two
lowercase ASCII letters, an underscore, and two uppercase ASCII
letters, followed by either nothing or a period). On Windows and
Mac OS X, the result is determined by system calls.}
Mac OS, the result is determined by system calls.}
@defproc[(system-library-subpath [mode (or/c 'cgc '3m #f)

View File

@ -19,7 +19,7 @@ The core Racket run-time system is available in two main variants:
@item{Racket, which provides the primitives libraries on which
@racketmodname[racket/base] is implemented. On Unix and Mac
OS X, the executable is called
OS, the executable is called
@as-index{@exec{racket}}. On Windows, the executable is
called @as-index{@exec{Racket.exe}}.}
@ -30,7 +30,7 @@ The core Racket run-time system is available in two main variants:
the @racket[racket/gui/base] library. On Windows, the
executable is called @as-index{@exec{GRacket.exe}}, and it is a
GUI application (as opposed to a console application) that
implements single-instance support. On Mac OS X, the
implements single-instance support. On Mac OS, the
@exec{gracket} script launches @as-index{@exec{GRacket.app}}.}
]
@ -181,7 +181,7 @@ flags:
@item{@FlagFirst{k} @nonterm{n} @nonterm{m} @nonterm{p} : Loads code
embedded in the executable from file position @nonterm{n} to
@nonterm{m} and from @nonterm{m} to @nonterm{p}. (On Mac OS X,
@nonterm{m} and from @nonterm{m} to @nonterm{p}. (On Mac OS,
@nonterm{n}, @nonterm{m}, and @nonterm{p} are relative to a
@tt{__PLTSCHEME} segment in the executable. On Windows,
they are relative to a resource of type 257 and ID 1.) The first range
@ -228,7 +228,7 @@ flags:
@item{@FlagFirst{v} or @DFlagFirst{version} : Shows
@racket[(banner)].}
@item{@FlagFirst{K} or @DFlagFirst{back} : GRacket, Mac OS X only;
@item{@FlagFirst{K} or @DFlagFirst{back} : GRacket, Mac OS only;
leave application in the background.}
@item{@FlagFirst{V} @DFlagFirst{no-yield} : Skips final
@ -401,7 +401,7 @@ the insertion of @Flag{u}/@DFlag{require-script}):
]
Similarly, on Mac OS X, a leading switch starting with
Similarly, on Mac OS, a leading switch starting with
@FlagFirst{psn_} is treated as a special configuration option. It
indicates that Finder started the application, so the current input,
output, and error output are redirected to a GUI window.

View File

@ -29,7 +29,7 @@ environment variables @racket[current-environment-variables]. See also
@racket[system] and @racket[process] from
@racketmodname[racket/system].
@margin-note{On Unix and Mac OS X, subprocess creation is separate
@margin-note{On Unix and Mac OS, subprocess creation is separate
from starting the program indicated by @racket[command]. In
particular, if @racket[command] refers to a non-existent or
non-executable file, an error will be reported (via standard error and
@ -40,7 +40,7 @@ The @racket[command] argument is a path to a program executable, and
the @racket[arg]s are command-line arguments for the program. See
@racket[find-executable-path] for locating an executable based on
the @envvar{PATH} environment variable. On
Unix and Mac OS X, command-line arguments are passed as byte strings,
Unix and Mac OS, command-line arguments are passed as byte strings,
and string @racket[arg]s are converted using the current locale's
encoding (see @secref["encodings"]). On Windows, command-line
arguments are passed as strings, and bytes strings are converted using
@ -155,14 +155,14 @@ current platform:
@item{@racket[force?] is true, not a group, all platforms: Terminates
the process if the process still running.}
@item{@racket[force?] is false, not a group, on Unix or Mac OS X:
@item{@racket[force?] is false, not a group, on Unix or Mac OS:
Sends the process an interrupt signal instead of a kill
signal.}
@item{@racket[force?] is false, not a group, on Windows: No action
is taken.}
@item{@racket[force?] is true, a group, on Unix or Mac OS X:
@item{@racket[force?] is true, a group, on Unix or Mac OS:
Terminates all processes in the group, but only if
@racket[subprocess-status] has never produced a
non-@racket['running] result for the subprocess and only if
@ -175,7 +175,7 @@ current platform:
@item{@racket[force?] is true, a group, on Windows: Terminates
the process if the process still running.}
@item{@racket[force?] is false, a group, on Unix or Mac OS X: The
@item{@racket[force?] is false, a group, on Unix or Mac OS: The
same as when @racket[force?] is @racket[#t], but when the group
is sent a signal, it is an interrupt signal instead of a kill
signal.}
@ -344,7 +344,7 @@ real process ID).}
[#:set-pwd? set-pwd? any/c (member (system-type) '(unix macosx))])
boolean?]{
Executes a Unix, Mac OS X, or Windows shell command synchronously
Executes a Unix, Mac OS, or Windows shell command synchronously
(i.e., the call to @racket[system] does not return until the
subprocess has ended). The @racket[command] argument is a string or
byte string containing no nul characters. If the command succeeds, the
@ -424,7 +424,7 @@ Like @racket[system*], but returns the exit code like
((or/c 'status 'wait 'interrupt 'kill) . -> . any))]{
Executes a shell command asynchronously (using @exec{sh} on Unix
and Mac OS X, @exec{cmd} on Windows). The result is a list of five
and Mac OS, @exec{cmd} on Windows). The result is a list of five
values:
@margin-note{See also @racket[subprocess] for notes about error
@ -460,7 +460,7 @@ handling and the limited buffer capacity of subprocess pipes.}
on @|AllUnix|, and takes no action on Windows. The result is
@|void-const|.
@margin-note{On Unix and Mac OS X, if @racket[command] runs a
@margin-note{On Unix and Mac OS, if @racket[command] runs a
single program, then @exec{sh} typically runs the program in
such a way that it replaces @exec{sh} in the same process. For
reliable and precise control over process creation, however, use

View File

@ -34,7 +34,7 @@ _path)]. Since that is not the case for other platforms, however,
@racket[path-element->bytes] and @racket[path-element->string] should
be used when converting individual path elements.
On Mac OS X, Finder aliases are zero-length files.
On Mac OS, Finder aliases are zero-length files.
@section[#:tag "unixpathrep"]{Unix Path Representation}

View File

@ -432,7 +432,7 @@ elements have an attributes list (even if it's empty).}
The @racketmodname[xml/plist] library provides the ability to read and
write XML documents that conform to the @defterm{plist} DTD, which is
used to store dictionaries of string--value associations. This format
is used by Mac OS X (both the operating system and its applications)
is used by Mac OS (both the operating system and its applications)
to store all kinds of data.
A @deftech{plist value} is a value that could be created by an

View File

@ -14,7 +14,7 @@
@margin-note{
@not-on-the-web{This is an installation-specific listing.}
Running @exec{raco docs}
(or @exec{Racket Documentation} on Windows or Mac OS X)
(or @exec{Racket Documentation} on Windows or Mac OS)
may open a different page with local and user-specific
documentation, including documentation for installed packages.

View File

@ -1,7 +1,7 @@
#lang racket
;; Works for Linux when the build is configured `--enable-libs`.
;; Almost works for Mac OS X.
;; Almost works for Mac OS.
;; Assumes 3m.
;; Since `--enable-libs` is not the default, disable test for now:

View File

@ -71,7 +71,7 @@
;; Create directories for libs, collects, and extensions:
(let-values ([(lib-dir collects-dir relative-collects-dir exts-dir relative-exts-dir)
(if single-mac-app?
;; Special case: single Mac OS X GRacket app:
;; Special case: single Mac OS GRacket app:
(let-values ([(base name dir?)
(split-path (car binaries))])
(values

View File

@ -1464,7 +1464,7 @@
;; Delete-file isn't enough if the target
;; is supposed to be a directory. But
;; currently, that happens only for GRacket
;; on Mac OS X, which is handled above.
;; on Mac OS, which is handled above.
(delete-file dest))
(copy-file exe dest)
(values dest exe #f)])])
@ -1800,7 +1800,7 @@
(set-subsystem dest-exe (cdr m)))))]))))
(done-writable dest-exe old-perms))))))
;; For Mac OS X GRacket, the actual executable is deep inside the
;; For Mac OS GRacket, the actual executable is deep inside the
;; nominal executable bundle
(define (mac-mred-collects-path-adjust p)
(cond

View File

@ -985,7 +985,7 @@
(define non-pointer-typedef-names
;; Under Windows, things like HANDLE and HWND, are not
;; malloced and could overlap with GCed areas.
;; Mac OS X has similar things.
;; Mac OS has similar things.
#cs
'(HANDLE
HWND HDC HMENU

View File

@ -29,7 +29,7 @@
;; Must finalize all stmts before closing db, but also want stmts to be
;; independently finalizable. So db needs strong refs to stmts (but no
;; strong refs to prepared-statement% wrappers). Actually, sqlite3 maintains
;; stmt list internally, but sqlite3_next_stmt is not available on Mac OS X
;; stmt list internally, but sqlite3_next_stmt is not available on Mac OS
;; 10.5.* versions of libsqlite3.
(define stmt-table (make-hasheq)) ;; hasheq[_sqlite3_statement => #t]

View File

@ -24,7 +24,7 @@
;; - Fedora 21: lib{crypto,ssl}.so.1.0.1j, also lib{crypto,ssl}.so.10
;; - Fedora 22: lib{crypto,ssl}.so.1.0.1k, also lib{crypto,ssl}.so.10
;; - Fedora also provides a versionless library in pkg "openssl-devel"
;; - Mac OS X includes 0.9.8, 0.9.7, and versionless
;; - Mac OS includes 0.9.8, 0.9.7, and versionless
(define openssl-lib-versions
'(;; Versionless (eg from devel pkg)

View File

@ -1,4 +1,4 @@
;; Support for loading root cerficates from Mac OS X keychains.
;; Support for loading root cerficates from Mac OS keychains.
#lang racket/base
(require ffi/unsafe

View File

@ -6,7 +6,7 @@ available at http://racket-lang.org/; pre-compiled nightly builds are
available at http://pre.racket-lang.org/installers/.
The Racket and GRacket source code should compile and execute on
Windows, Mac OS X, or any Unix/X platform (including Linux).
Windows, Mac OS, or any Unix/X platform (including Linux).
Per-platform instructions are below.
@ -37,7 +37,7 @@ Racket's `system-type' procedure returns 'unix, not 'windows, and
`racket/gui' uses Gtk instead of Win32).
========================================================================
Compiling for Mac OS X
Compiling for Mac OS
========================================================================
First, install developer command-line tools from Apple. As of this
@ -78,7 +78,7 @@ but note the following:
directory structure on top of an existing Unix-style directory
structure.)
* Under Mac OS X 10.6 and later, to build Racket in 32-bit mode,
* Under Mac OS 10.6 and later, to build Racket in 32-bit mode,
use `--disable-mac64'.
========================================================================

28
racket/src/configure vendored
View File

@ -1460,16 +1460,16 @@ Optional Features:
--enable-lt=<prog> use <prog> instead of libtool; disable to use bundled
--enable-libs install static libraries (enabled by default for Unix)
--enable-libffi use installed libffi (enabled by default for Unix)
--enable-sdk=<path> use Mac OS X 10.4 SDK directory
--enable-sdk5=<path> use Mac OS X 10.5 SDK directory
--enable-sdk6=<path> use Mac OS X 10.6 SDK directory
--enable-sdk=<path> use Mac OS 10.4 SDK directory
--enable-sdk5=<path> use Mac OS 10.5 SDK directory
--enable-sdk6=<path> use Mac OS 10.6 SDK directory
--enable-ios=<path> use iOS SDK directory
--enable-sysroot=<path> use sysroot directory (e.g., for Android)
--enable-xonx use Unix style (e.g., use Gtk) for Mac OS X
--enable-libfw install Mac OS X frameworks to /Library/Frameworks
--enable-userfw install Mac OS X frameworks to ~/Library/Frameworks
--enable-macprefix allow --prefix with a Mac OS X install
--enable-mac64 allow 64-bit Mac OS X build (enabled by default)
--enable-xonx use Unix style (e.g., use Gtk) for Mac OS
--enable-libfw install Mac OS frameworks to /Library/Frameworks
--enable-userfw install Mac OS frameworks to ~/Library/Frameworks
--enable-macprefix allow --prefix with a Mac OS install
--enable-mac64 allow 64-bit Mac OS build (enabled by default)
--enable-cgcdefault use CGC as default build (NOT RECOMMENDED)
--enable-sgc use Senora GC instead of Boehm GC (enabled by default)
--enable-sgcdebug use Senora GC for debugging (expensive debug mode)
@ -2870,7 +2870,7 @@ if test "${enable_shared}" = "yes" ; then
case "$host_os" in
darwin*)
if test "${enable_xonx}" != "yes" ; then
echo "ERROR: don't use --enable-shared or --enable-dynlib under Mac OS X,"
echo "ERROR: don't use --enable-shared or --enable-dynlib under Mac OS,"
echo " unless you also use --enable-xonx"
exit 1
fi
@ -2894,7 +2894,7 @@ else
fi
if test "${prefix}" != "NONE" ; then
if test "${enable_macprefix}" != "yes" ; then
echo "ERROR: --prefix not allowed for a Mac OS X build, unless either"
echo "ERROR: --prefix not allowed for a Mac OS build, unless either"
echo " --enable-xonx is supplied (to create a Unix-style"
echo " build), or "
echo " --enable-macprefix is supplied (to allow a Mac-style"
@ -3088,7 +3088,7 @@ show_explicitly_disabled "${enable_strip}" "Debug-symbol stripping"
show_explicitly_enabled "${enable_libs}" "Installation of static libraries (if any)"
show_explicitly_disabled "${enable_libs}" "Installation of static libraries (if any)"
show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS X"
show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS"
show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system"
show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user"
@ -3103,7 +3103,7 @@ if test "${enable_sdk}" != "" ; then
if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk and --enable-ios"
fi
echo "=== Using Mac OS X 10.4 SDK directory ${enable_sdk}"
echo "=== Using Mac OS 10.4 SDK directory ${enable_sdk}"
fi
if test "${enable_sdk5}" != "" ; then
if test "${enable_sdk6}" != "" ; then
@ -3112,13 +3112,13 @@ if test "${enable_sdk5}" != "" ; then
if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk5 and --enable-ios"
fi
echo "=== Using Mac OS X 10.5 SDK directory ${enable_sdk}"
echo "=== Using Mac OS 10.5 SDK directory ${enable_sdk}"
fi
if test "${enable_sdk6}" != "" ; then
if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk6 and --enable-ios"
fi
echo "=== Using Mac OS X 10.6 SDK directory ${enable_sdk6}"
echo "=== Using Mac OS 10.6 SDK directory ${enable_sdk6}"
fi
if test "${enable_ios}" != "" ; then
echo "=== Using ios SDK directory ${enable_ios}"

View File

@ -21207,19 +21207,19 @@ need_locks=$lt_need_locks
# Manifest tool.
MANIFEST_TOOL=$lt_MANIFEST_TOOL
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
# Tool to manipulate archived DWARF debug symbol files on Mac OS.
DSYMUTIL=$lt_DSYMUTIL
# Tool to change global to local symbols on Mac OS X.
# Tool to change global to local symbols on Mac OS.
NMEDIT=$lt_NMEDIT
# Tool to manipulate fat objects and archives on Mac OS X.
# Tool to manipulate fat objects and archives on Mac OS.
LIPO=$lt_LIPO
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
# ldd/readelf like tool for Mach-O binaries on Mac OS.
OTOOL=$lt_OTOOL
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS 10.4.
OTOOL64=$lt_OTOOL64
# Old archive suffix (normally "a").

View File

@ -2,9 +2,9 @@ See "../native-libs/README.txt" for information about building most
3rd-party native libraries that are needed for Racket libraries
In addition, the `racket/gui' library uses MMTabBarView (64-bit OS X
In addition, the `racket/gui' library uses MMTabBarView (64-bit Mac OS
10.10 and later) and/or PSMTabBarControl (all other OS versions) on
Mac OS X.
Mac OS.
MMTabBarView
------------

View File

@ -4,14 +4,13 @@ contrast, libraries implemented in various packages, such as the
such as Cairo, GMP, etc., all of which are loaded dynamically. On Unix
variants, we expect users to install C-implemented libraries (usually
through the operating system's package manager). For Windows and Mac
OS X, we supply pre-built libraries in platform-specific packages; the
OS, we supply pre-built libraries in platform-specific packages; the
corresponding Racket packages include platform-specific dependencies
on those packages. The "x86_64-linux-natipkg" variant of Racket
is like Windows and Mac OS X, expecting packages to supply native
is like Windows and Mac OS, expecting packages to supply native
libraries for 64-bit Linux.
This directory contains scripts and patches to build Windows, Mac OS
X, and Linux libraries in a consistent and portable way. Naturally,
This directory contains scripts and patches to build Windows, Mac OS, and Linux libraries in a consistent and portable way. Naturally,
the script and patches are fragile, so we upgrade libraries
infrequently. Currently, we use the following external packages and
versions:
@ -58,12 +57,12 @@ versions:
gtk+-2.24.24
See "../mac/README.txt" for information about an additional
library on Mac OS X.
library on Mac OS.
Preliminiaries
--------------
For Windows (cross-compile from Mac OS X or Linux):
For Windows (cross-compile from Mac OS or Linux):
The build scripts assume a MinGW cross compiler installed in
"/usr/mw32" (for 32-bit builds) and "/usr/mw64" (for 64-bit builds).
@ -74,7 +73,7 @@ Beware that the "libdir" configuration in
/usr/mw{32,64}/{i686,x86_64}-w64-mingw32/lib/libstdc++.la
may be wrong, in which case you'll need to fix it by hand.
For Mac OS X (i386 and x86_64 on Intel, ppc on PowerPC):
For Mac OS (i386 and x86_64 on Intel, ppc on PowerPC):
The script assumes that "/Developer/SDKs/MacOSX10.5.sdk" (for 32-bit
builds) and "/Developer/SDKs/MacOSX10.6.sdk" (for 64-bit builds) are
@ -111,7 +110,7 @@ Build Steps (assuming no version changes)
--archives <archive-dir>
where <here-dir> is the deirectory containing this file,
`--win' versus `--mac' selects a Windows versus Mac OS X build,
`--win' versus `--mac' selects a Windows versus Mac OS build,
and `--m32' versus `--m64' selects a 32-bit versus 64-bit build.
* Run
@ -144,7 +143,7 @@ confusing at best.
More details for Windows:
* GNU `sed' is built to run on the build platform, just in case the
build platform's `sed' is BSD-style (as on Mac OS X).
build platform's `sed' is BSD-style (as on Mac OS).
* The generated ".dll"s go to "dest/bin".
@ -155,7 +154,7 @@ More details for Windows:
uses `-static-libgcc' and `-static-libstdc++' to statically link
those libraries. Use "depends.exe" to check DLL dependencies.
More details for Mac OS X:
More details for Mac OS:
* 32-bit binaries are built for 10.5 and up. 64-bit binaries are
built for 10.6 and up.

View File

@ -119,7 +119,7 @@
;; Patch to avoid writing to a global constant:
(define-runtime-path cairo-allclipmodifybug-patch "patches/allclipmodifybug.patch")
;; Hack to workaround broken Courier New in Mac OS X 10.{7.8}:
;; Hack to workaround broken Courier New in Mac OS 10.{7.8}:
(define-runtime-path courier-new-patch "patches/courier-new.patch")
;; Enable kerning and set DPI to 72:

View File

@ -26,7 +26,7 @@
#:once-any
[("--win") "build Windows via MinGW"
(set! win? #t)]
[("--mac") "build for/on Mac OS X"
[("--mac") "build for/on Mac OS"
(set! win? #f)]
[("--linux") "build for/on Linux"
(set! win? #f)

View File

@ -57,16 +57,16 @@ AC_ARG_ENABLE(libs, [ --enable-libs install static libraries (enab
AC_ARG_ENABLE(libffi, [ --enable-libffi use installed libffi (enabled by default for Unix)], , enable_libffi=default)
AC_ARG_ENABLE(sdk, [ --enable-sdk=<path> use Mac OS X 10.4 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sdk5=<path> use Mac OS X 10.5 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sdk6=<path> use Mac OS X 10.6 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sdk=<path> use Mac OS 10.4 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sdk5=<path> use Mac OS 10.5 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sdk6=<path> use Mac OS 10.6 SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-ios=<path> use iOS SDK directory])
AC_ARG_ENABLE(sdk, [ --enable-sysroot=<path> use sysroot directory (e.g., for Android)])
AC_ARG_ENABLE(xonx, [ --enable-xonx use Unix style (e.g., use Gtk) for Mac OS X])
AC_ARG_ENABLE(libfw, [ --enable-libfw install Mac OS X frameworks to /Library/Frameworks])
AC_ARG_ENABLE(libfw, [ --enable-userfw install Mac OS X frameworks to ~/Library/Frameworks])
AC_ARG_ENABLE(macprefix, [ --enable-macprefix allow --prefix with a Mac OS X install])
AC_ARG_ENABLE(mac64, [ --enable-mac64 allow 64-bit Mac OS X build (enabled by default)], , enable_mac64=yes)
AC_ARG_ENABLE(xonx, [ --enable-xonx use Unix style (e.g., use Gtk) for Mac OS])
AC_ARG_ENABLE(libfw, [ --enable-libfw install Mac OS frameworks to /Library/Frameworks])
AC_ARG_ENABLE(libfw, [ --enable-userfw install Mac OS frameworks to ~/Library/Frameworks])
AC_ARG_ENABLE(macprefix, [ --enable-macprefix allow --prefix with a Mac OS install])
AC_ARG_ENABLE(mac64, [ --enable-mac64 allow 64-bit Mac OS build (enabled by default)], , enable_mac64=yes)
AC_ARG_ENABLE(cgcdefault, [ --enable-cgcdefault use CGC as default build (NOT RECOMMENDED)])
AC_ARG_ENABLE(sgc, [ --enable-sgc use Senora GC instead of Boehm GC (enabled by default)], , enable_sgc=yes)
@ -126,7 +126,7 @@ if test "${enable_shared}" = "yes" ; then
case "$host_os" in
darwin*)
if test "${enable_xonx}" != "yes" ; then
echo "ERROR: don't use --enable-shared or --enable-dynlib under Mac OS X,"
echo "ERROR: don't use --enable-shared or --enable-dynlib under Mac OS,"
echo " unless you also use --enable-xonx"
exit 1
fi
@ -150,7 +150,7 @@ else
fi
if test "${prefix}" != "NONE" ; then
if test "${enable_macprefix}" != "yes" ; then
echo "ERROR: --prefix not allowed for a Mac OS X build, unless either"
echo "ERROR: --prefix not allowed for a Mac OS build, unless either"
echo " --enable-xonx is supplied (to create a Unix-style"
echo " build), or "
echo " --enable-macprefix is supplied (to allow a Mac-style"
@ -344,7 +344,7 @@ show_explicitly_disabled "${enable_strip}" "Debug-symbol stripping"
show_explicitly_enabled "${enable_libs}" "Installation of static libraries (if any)"
show_explicitly_disabled "${enable_libs}" "Installation of static libraries (if any)"
show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS X"
show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS"
show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system"
show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user"
@ -359,7 +359,7 @@ if test "${enable_sdk}" != "" ; then
if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk and --enable-ios"
fi
echo "=== Using Mac OS X 10.4 SDK directory ${enable_sdk}"
echo "=== Using Mac OS 10.4 SDK directory ${enable_sdk}"
fi
if test "${enable_sdk5}" != "" ; then
if test "${enable_sdk6}" != "" ; then
@ -368,13 +368,13 @@ if test "${enable_sdk5}" != "" ; then
if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk5 and --enable-ios"
fi
echo "=== Using Mac OS X 10.5 SDK directory ${enable_sdk}"
echo "=== Using Mac OS 10.5 SDK directory ${enable_sdk}"
fi
if test "${enable_sdk6}" != "" ; then
if test "${enable_ios}" != "" ; then
echo "ERROR: cannot specify both --enable-sdk6 and --enable-ios"
fi
echo "=== Using Mac OS X 10.6 SDK directory ${enable_sdk6}"
echo "=== Using Mac OS 10.6 SDK directory ${enable_sdk6}"
fi
if test "${enable_ios}" != "" ; then
echo "=== Using ios SDK directory ${enable_ios}"