summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2006-04-13 13:08:26 +0000
committerSam Lantinga <slouken@libsdl.org>2006-04-13 13:08:26 +0000
commitb0519469db98bd333a81e1250b3a4627be99c11e (patch)
tree943d78e6c460f132962d7daa6baaab06b489412a
parent80c113cde76d1ff4dca43e2d82c3729bf3be4484 (diff)
Fixes bug #195:
The proper name of Apple's operating system is "Mac OS X" not "MacOS X", as can bee seen in many places, for example http://www.apple.com/macosx/). This contrasts the naming of the old operating system, which was called "MacOS" and today is often refered to as "MacOS Classic". The attached patches fixes the misuse of the name "MacOS X" in both the SDL12 and sdlweb CVS modules.
-rw-r--r--BUGS4
-rw-r--r--CREDITS4
-rw-r--r--README2
-rw-r--r--README.MacOSX2
-rw-r--r--TODO2
-rw-r--r--configure.in2
-rw-r--r--docs/html/guidevideoopengl.html2
-rw-r--r--docs/html/sdlenvvars.html2
-rw-r--r--docs/html/thread.html2
-rw-r--r--include/begin_code.h2
-rw-r--r--src/audio/macrom/SDL_romaudio.c4
-rw-r--r--src/joystick/darwin/SDL_sysjoystick.c4
-rw-r--r--src/timer/macos/FastTimes.c2
-rw-r--r--src/video/maccommon/SDL_macevents.c6
-rw-r--r--src/video/maccommon/SDL_mackeys.h2
-rw-r--r--src/video/macrom/SDL_romvideo.c2
-rw-r--r--src/video/quartz/SDL_QuartzKeys.h2
-rw-r--r--test/testplatform.c2
18 files changed, 24 insertions, 24 deletions
diff --git a/BUGS b/BUGS
index 46e26e0bca..5b709c19d2 100644
--- a/BUGS
+++ b/BUGS
@@ -68,7 +68,7 @@ MacOS:
Not all of the keys are properly recognized on the keyboard.
-MacOS X:
+Mac OS X:
Depth switching for windowed mode isn't implemented yet.
Palette handling isn't implemented in windowed mode yet.
@@ -87,7 +87,7 @@ MacOS X:
cursor in the center of the window/screen. Also, mouse moved events
are not generated, and the keyboard cannot be grabbed.
- MacOS X seems to have a broken pthread_cancel() implementation.
+ Mac OS X seems to have a broken pthread_cancel() implementation.
Actually, it just only has one cancellation point defined.
http://lists.apple.com/archives/darwin-development/2004/Jun/24/killingapthread.001.txt
diff --git a/CREDITS b/CREDITS
index 6d26614b8b..ffab8be51f 100644
--- a/CREDITS
+++ b/CREDITS
@@ -26,9 +26,9 @@ Thanks to everyone who made this possible, including:
* Max Watson, Matt Slot, and Kyle for help with the MacOS Classic port
-* Stan Shebs, for the initial MacOS X port
+* Stan Shebs, for the initial Mac OS X port
-* Eric Wing, Max Horn, and Darrell Walisser for unflagging work on the MacOS X port
+* Eric Wing, Max Horn, and Darrell Walisser for unflagging work on the Mac OS X port
* Patrick Trainor, Jim Boucher, and Mike Gorchak for the QNX Neutrino port
diff --git a/README b/README
index 22ff6c5170..c34b410cb3 100644
--- a/README
+++ b/README
@@ -16,7 +16,7 @@ SDL is written in C, but works with C++ natively, and has bindings to
several other languages, including Ada, C#, Eiffel, Java, Lua, ML,
Objective C, Pascal, Perl, PHP, Pike, Python, and Ruby.
-The current version supports Linux, Windows, BeOS, MacOS, MacOS X,
+The current version supports Linux, Windows, BeOS, MacOS, Mac OS X,
FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains
support for Windows CE, AmigaOS, Dreamcast, Atari, NetBSD, AIX, OSF/Tru64,
RISC OS, SymbianOS, and OS/2, but these are not officially supported.
diff --git a/README.MacOSX b/README.MacOSX
index 1a8b41616f..821edb7755 100644
--- a/README.MacOSX
+++ b/README.MacOSX
@@ -26,7 +26,7 @@ Using the Simple DirectMedia Layer with a traditional Makefile
==============================================================================
An existing autoconf/automake build system for your SDL app has good chances
-to work almost unchanged on OS X. However, to produce a "real" MacOS X binary
+to work almost unchanged on OS X. However, to produce a "real" Mac OS X binary
that you can distribute to users, you need to put the generated binary into a
so called "bundle", which basically is a fancy folder with a name like
"MyCoolGame.app".
diff --git a/TODO b/TODO
index 87bdf6f412..65bb01c17a 100644
--- a/TODO
+++ b/TODO
@@ -5,7 +5,7 @@ http://bugzilla.libsdl.org/
* Add mousewheel events (new unified event architecture?)
* DirectInput joystick support needs to be implemented
* Be able to enumerate and select available audio and video drivers
- * Fullscreen video mode support for MacOS X
+ * Fullscreen video mode support for Mac OS X
* Explicit vertical retrace wait (maybe separate from SDL_Flip?)
* Shaped windows, windows without borders
* Multiple windows, multiple display support
diff --git a/configure.in b/configure.in
index 891ebac8d6..7b538f60e2 100644
--- a/configure.in
+++ b/configure.in
@@ -2363,7 +2363,7 @@ case "$host" in
SOURCES="$SOURCES $srcdir/src/loadso/macosx/*.c"
have_loadso=yes
fi
- # The MacOS X platform requires special setup.
+ # The Mac OS X platform requires special setup.
SDLMAIN_SOURCES="$srcdir/src/main/macosx/*.m"
EXTRA_CFLAGS="$EXTRA_CFLAGS -fpascal-strings"
SDL_LIBS="-lSDLmain $SDL_LIBS"
diff --git a/docs/html/guidevideoopengl.html b/docs/html/guidevideoopengl.html
index c3d464bb40..0abd567186 100644
--- a/docs/html/guidevideoopengl.html
+++ b/docs/html/guidevideoopengl.html
@@ -77,7 +77,7 @@ NAME="GUIDEVIDEOOPENGL"
></A
>Using OpenGL With SDL</H1
><P
->SDL has the ability to create and use OpenGL contexts on several platforms(Linux/X11, Win32, BeOS, MacOS Classic/Toolbox, MacOS X, FreeBSD/X11 and Solaris/X11). This allows you to use SDL's audio, event handling, threads and times in your OpenGL applications (a function often performed by GLUT).</P
+>SDL has the ability to create and use OpenGL contexts on several platforms(Linux/X11, Win32, BeOS, MacOS Classic/Toolbox, Mac OS X, FreeBSD/X11 and Solaris/X11). This allows you to use SDL's audio, event handling, threads and times in your OpenGL applications (a function often performed by GLUT).</P
><DIV
CLASS="SECT2"
><H2
diff --git a/docs/html/sdlenvvars.html b/docs/html/sdlenvvars.html
index 0284e7e5fa..2bfdd764c0 100644
--- a/docs/html/sdlenvvars.html
+++ b/docs/html/sdlenvvars.html
@@ -397,7 +397,7 @@ CLASS="LITERAL"
ALIGN="LEFT"
VALIGN="TOP"
><P
->(MacOS X)</P
+>(Mac OS X)</P
></TD
></TR
><TR
diff --git a/docs/html/thread.html b/docs/html/thread.html
index 171e88cfe4..c66018eff2 100644
--- a/docs/html/thread.html
+++ b/docs/html/thread.html
@@ -242,7 +242,7 @@ CLASS="NOTE"
><P
><B
>Note: </B
->SDL's threading is not implemented on MacOS, due to that lack of preemptive thread support (MacOS X dos nt suffer from this problem)</P
+>SDL's threading is not implemented on MacOS, due to that lack of preemptive thread support (Mac OS X dos nt suffer from this problem)</P
></BLOCKQUOTE
></DIV
></DIV
diff --git a/include/begin_code.h b/include/begin_code.h
index 5ce2287997..40279337f9 100644
--- a/include/begin_code.h
+++ b/include/begin_code.h
@@ -147,4 +147,4 @@
#define NULL ((void *)0)
#endif
#endif /* NULL */
-#endif /* ! MacOS X - breaks precompiled headers */
+#endif /* ! Mac OS X - breaks precompiled headers */
diff --git a/src/audio/macrom/SDL_romaudio.c b/src/audio/macrom/SDL_romaudio.c
index e3901ebd3b..140c0338c0 100644
--- a/src/audio/macrom/SDL_romaudio.c
+++ b/src/audio/macrom/SDL_romaudio.c
@@ -93,7 +93,7 @@ static SDL_AudioDevice *Audio_CreateDevice(int devindex)
this->UnlockAudio = Mac_UnlockAudio;
this->free = Audio_DeleteDevice;
-#ifdef __MACOSX__ /* MacOS X uses threaded audio, so normal thread code is okay */
+#ifdef __MACOSX__ /* Mac OS X uses threaded audio, so normal thread code is okay */
this->LockAudio = NULL;
this->UnlockAudio = NULL;
#endif
@@ -106,7 +106,7 @@ AudioBootStrap SNDMGR_bootstrap = {
};
#if defined(TARGET_API_MAC_CARBON) || defined(USE_RYANS_SOUNDCODE)
-/* This works correctly on MacOS X */
+/* This works correctly on Mac OS X */
#pragma options align=power
diff --git a/src/joystick/darwin/SDL_sysjoystick.c b/src/joystick/darwin/SDL_sysjoystick.c
index 890d030326..46e786739a 100644
--- a/src/joystick/darwin/SDL_sysjoystick.c
+++ b/src/joystick/darwin/SDL_sysjoystick.c
@@ -21,7 +21,7 @@
*/
#include "SDL_config.h"
-/* SDL joystick driver for Darwin / MacOS X, based on the IOKit HID API */
+/* SDL joystick driver for Darwin / Mac OS X, based on the IOKit HID API */
/* Written 2001 by Max Horn */
#include <unistd.h>
@@ -34,7 +34,7 @@
#ifdef MACOS_10_0_4
#include <IOKit/hidsystem/IOHIDUsageTables.h>
#else
-/* The header was moved here in MacOS X 10.1 */
+/* The header was moved here in Mac OS X 10.1 */
#include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h>
#endif
#include <IOKit/hid/IOHIDLib.h>
diff --git a/src/timer/macos/FastTimes.c b/src/timer/macos/FastTimes.c
index 2cc7fde134..c7e7e0b943 100644
--- a/src/timer/macos/FastTimes.c
+++ b/src/timer/macos/FastTimes.c
@@ -66,7 +66,7 @@
#define WideTo64bit(w) (*(UInt64 *) &(w))
/* LMGetTicks() is not in Carbon and TickCount() has a fair bit of overhead,
- so for speed we always read lowmem directly. This is a MacOS X no-no, but
+ so for speed we always read lowmem directly. This is a Mac OS X no-no, but
it always work on those systems that don't have a native Time Manager (ie,
anything before MacOS 9) -- regardless whether we are in Carbon or not! */
#define MyLMGetTicks() (*(volatile UInt32 *) 0x16A)
diff --git a/src/video/maccommon/SDL_macevents.c b/src/video/maccommon/SDL_macevents.c
index 5f5b4f4161..0e4f813e2e 100644
--- a/src/video/maccommon/SDL_macevents.c
+++ b/src/video/maccommon/SDL_macevents.c
@@ -210,7 +210,7 @@ static int Mac_HandleEvents(_THIS, int wait4it)
}
/* Check for normal event keys, but we have to scan the
- actual keyboard state because on MacOS X a keydown event
+ actual keyboard state because on Mac OS X a keydown event
is immediately followed by a keyup event.
*/
GetKeys(keys);
@@ -573,7 +573,7 @@ void Mac_InitOSKeymap(_THIS)
MAC_keymap[MK_KP_PERIOD] = SDLK_KP_PERIOD;
#if defined(__APPLE__) && defined(__MACH__)
- /* Wierd, these keys are on my iBook under MacOS X
+ /* Wierd, these keys are on my iBook under Mac OS X
Note that the left arrow keysym is the same as left ctrl!?
*/
MAC_keymap[MK_IBOOK_ENTER] = SDLK_KP_ENTER;
@@ -581,7 +581,7 @@ void Mac_InitOSKeymap(_THIS)
MAC_keymap[MK_IBOOK_DOWN] = SDLK_DOWN;
MAC_keymap[MK_IBOOK_UP] = SDLK_UP;
MAC_keymap[MK_IBOOK_LEFT] = SDLK_LEFT;
-#endif /* MacOS X */
+#endif /* Mac OS X */
/* Up there we setup a static scancode->keysym map. However, it will not
* work very well on international keyboard. Hence we now query MacOS
diff --git a/src/video/maccommon/SDL_mackeys.h b/src/video/maccommon/SDL_mackeys.h
index 87ebbff0da..df458ca57b 100644
--- a/src/video/maccommon/SDL_mackeys.h
+++ b/src/video/maccommon/SDL_mackeys.h
@@ -132,7 +132,7 @@
#define MK_KP0 0x52
#define MK_KP_PERIOD 0x41
-/* Wierd, these keys are on my iBook under MacOS X */
+/* Wierd, these keys are on my iBook under Mac OS X */
#define MK_IBOOK_ENTER 0x34
#define MK_IBOOK_LEFT 0x3B
#define MK_IBOOK_RIGHT 0x3C
diff --git a/src/video/macrom/SDL_romvideo.c b/src/video/macrom/SDL_romvideo.c
index ef83d93f62..32cbbb9e6b 100644
--- a/src/video/macrom/SDL_romvideo.c
+++ b/src/video/macrom/SDL_romvideo.c
@@ -29,7 +29,7 @@
#elif TARGET_API_MAC_CARBON && (UNIVERSAL_INTERFACES_VERSION > 0x0335)
#include <Carbon.h>
/* The fullscreen code requires the QuickTime framework, and the window
- is still at the back on MacOS X, which is where this code is needed.
+ is still at the back on Mac OS X, which is where this code is needed.
*/
#if USE_QUICKTIME
#include <Movies.h>
diff --git a/src/video/quartz/SDL_QuartzKeys.h b/src/video/quartz/SDL_QuartzKeys.h
index 1c07ce0726..19389126dc 100644
--- a/src/video/quartz/SDL_QuartzKeys.h
+++ b/src/video/quartz/SDL_QuartzKeys.h
@@ -133,7 +133,7 @@
#define QZ_KP0 0x52
#define QZ_KP_PERIOD 0x41
-/* Wierd, these keys are on my iBook under MacOS X */
+/* Wierd, these keys are on my iBook under Mac OS X */
#define QZ_IBOOK_ENTER 0x34
#define QZ_IBOOK_LEFT 0x3B
#define QZ_IBOOK_RIGHT 0x3C
diff --git a/test/testplatform.c b/test/testplatform.c
index 5adca474f2..5b8388ed2e 100644
--- a/test/testplatform.c
+++ b/test/testplatform.c
@@ -175,7 +175,7 @@ int main(int argc, char *argv[])
#elif __MACOS__
"MacOS Classic"
#elif __MACOSX__
- "MacOS X"
+ "Mac OS X"
#elif __NETBSD__
"NetBSD"
#elif __OPENBSD__