OS X

Mac OS X is a line of computer operating systems developed, marketed, and sold by Apple Inc. As of 2009, every new Macintosh computer ships pre-loaded with the latest version of the operating system (currently Mac OS X 10.5 "Leopard"). Mac OS X is the successor to the original or "classic" Mac OS, which had been Apple's primary operating system since 1984. Unlike its predecessors, Mac OS X is a Unix-based operating system, built on technologies developed at NeXT between the second half of the 1980s and Apple's purchase of the company in early 1996. Version 10.5, while running on Intel processors, is certified UNIX 03.

The first version released was Mac OS X Server 1.0 in 1999, and a desktop-oriented version, Mac OS X version 10.0 followed in March 2001. As of 2009, five more distinct "end-user" and "server" versions have been released, the latest being Mac OS X v10.5 in October 2007. Releases of Mac OS X are named after big cats; for example, Mac OS X v10.5 is usually referred to by Apple and users as "Leopard" (10.4 was referred to as Tiger, 10.3 as Panther, etc). The server edition, Mac OS X Server, is architecturally very similar to its desktop counterpart. However, it also includes several additional administration software tools to facilitate workgroup management or provide simplified access to common network services. These tools include a mail transfer agent, a Samba server, an LDAP server, a domain name server, and others. It is pre-loaded on Apple's Xserve server hardware, but can be run on most of Apple's computer models.

Apple also produces specialized versions of Mac OS X for use on three of its consumer devices; the iPhone OS for the iPhone, and the iPod touch, and an unnamed version for the Apple TV.

History
Mac OS X is based on the Mach kernel and is derived from the Berkeley Software Distribution (BSD). Certain parts from FreeBSD's and NetBSD's implementation of Unix were incorporated in Nextstep, the core of Mac OS X. Nextstep was the object-oriented operating system developed by Steve Jobs' company NeXT after he left Apple in 1985. While Jobs was away from Apple, Apple tried to create a "next-generation" OS through the Taligent, Copland and Gershwin projects, with little success.

Eventually, NeXT's OS—then called OPENSTEP—was selected to be the basis for Apple's next OS, and Apple purchased NeXT outright. Steve Jobs returned to Apple as interim CEO, and later became CEO again, shepherding the transformation of the programmer-friendly OPENSTEP into a system that would be adopted by Apple's primary market of home users and creative professionals. The project was first known as Rhapsody and was later renamed to Mac OS X.

With each new version, Mac OS X evolved away from a focus on backward compatibility with the earlier versions of Mac OS, toward an emphasis on "digital lifestyle" applications such as the iLife suite, enhanced business applications (iWork), and integrated home entertainment (the Front Row media center). Each version also included modifications to the general interface, such as the brushed metal appearance added in version 10.3, the non-pinstriped titlebar appearance in version 10.4, and in 10.5 the removal of the previous brushed metal styles in favor of the "Unified" gradient window style. On December 11, 2008, a series of Apple patent filings published reveal a new multi-dimensional interface for Mac OS X.

Description


Mac OS X's core is a POSIX compliant operating system (OS) built on top of the XNU kernel, with standard Unix facilities available from the command line interface. Apple released this set of software as a free and open source operating system named Darwin. On top of Darwin, Apple layered a number of components, including the Aqua interface and the Finder, to complete the GUI-based operating system which is Mac OS X.

Mac OS X introduced a number of new capabilities to provide a more stable and reliable platform than its predecessor, Mac OS 9. For example, pre-emptive multitasking and memory protection improved the system's ability to run multiple applications simultaneously without them interrupting or corrupting each other. Many aspects of Mac OS X's architecture are derived from Openstep, which was designed to be portable—to ease the transition from one platform to another. For example, Nextstep was ported from the original 68k-based NeXT workstations to x86 and other architectures before NeXT was purchased by Apple, and OpenStep was later ported to the PowerPC architecture as part of the Rhapsody project.

The most visible change was the Aqua theme. The use of soft edges, translucent colors, and pinstripes—similar to the hardware design of the first iMacs—brought more texture and color to the user interface when compared to what OS 9's "Platinum" appearance had offered. According to John Siracusa, an editor of Ars Technica, the introduction of Aqua and its departure from the then conventional look "hit like a ton of bricks." However Bruce Tognazzini (who founded the original Apple Human Interface Group) said that the Aqua interface in Mac OS X v10.0 represented a step backwards in usability compared with the original Mac OS interface. Despite the controversial new interface, third-party developers started producing skins for customizable applications for Mac and other operating systems which mimicked the Aqua appearance. To some extent, Apple has used the successful transition to this new design as leverage, at various times threatening legal action against people who make or distribute software with an interface the company claims is derived from its copyrighted design.

Mac OS X includes its own software development tools, most prominently an integrated development environment called Xcode. Xcode provides interfaces to compilers that support several programming languages including C, C++, Objective-C, and Java. For the Apple Intel Transition, it was modified so that developers could build their applications as a universal binary, which provides compatibility with both the Intel-based and PowerPC-based Macintosh lines.

The Darwin sub-system in Mac OS X is in charge of managing the filesystem, which includes the Unix permissions layer. In 2003 and 2005, two Macworld editors expressed criticism of the permission scheme; Ted Landau called misconfigured permissions "the most common frustration" in Mac OS X, while Rob Griffiths suggested that some users may even have to reset permissions every day, a process which can take up to 15 minutes. More recently, another Macworld editor, Dan Frakes, called the procedure of repairing permissions vastly overused. He argues that Mac OS X typically handles permissions properly without user interference, and resetting permissions should be tried only when problems emerge.

Although the second most popular operating system based on market share after Microsoft Windows, penetration is only 9.6% according to internet usage statistics compiled by Net Applications. Microsoft Windows internet usage share has fallen below 90% since the discontinuation of Windows XP in 2008. In contrast, it is the most successful UNIX or UNIX-like operating system ever released, estimated at over 10 times the penetration of the free Linux, and 1,000 times the penetration of the next most successful commercial UNIX, SunOS. Mac OS X is available in a variety of languages, including English, Japanese, French, German, Spanish and Italian.

Software
The APIs that Mac OS X inherited from OpenStep are not backward compatible with earlier versions of Mac OS. These APIs were created as the result of a 1993 collaboration between NeXT Computer and Sun Microsystems and are now referred to by Apple as Cocoa. This heritage is highly visible for Cocoa developers, since the "NS" prefix is ubiquitous in the framework, standing variously for Nextstep or NeXT/Sun. The official OpenStep API, published in September 1994, was the first to split the API between Foundation and Application Kit and the first to use the “NS” prefix. Apple's Rhapsody project would have required all new development to use these APIs, causing much outcry among existing Mac developers. All Mac software that did not receive a complete rewrite to the new framework would run in the equivalent of the Classic environment. To permit a smooth transition from Mac OS 9 to Mac OS X, the Carbon Application Programming Interface (API) was created. Applications written with Carbon can be executed natively on both systems.

Mac OS X used to support the Java Platform as a "preferred software package"—in practice this means that applications written in Java fit as neatly into the operating system as possible while still being cross-platform compatible, and that graphical user interfaces written in Swing look almost exactly like native Cocoa interfaces. Traditionally, Cocoa programs have been mostly written in Objective-C, with Java as an alternative. However, on July 11, 2005, Apple announced that "features added to Cocoa in Mac OS X versions later than 10.4 will not be added to the Cocoa-Java programming interface."

Since Mac OS X is POSIX compliant, many software packages written for the *BSDs or Linux can be recompiled to run on it. Projects such as Fink, MacPorts and pkgsrc provide pre-compiled or pre-formatted packages. Since version 10.3, Mac OS X has included X11.app, Apple's version of the X Window System graphical interface for Unix applications, as an optional component during installation. Up to and including Mac OS X v10.4 (Tiger), Apple's implementation was based on the X11 Licensed XFree86 4.3 and X11R6.6. All bundled versions of X11 feature a window manager which is similar to the Mac OS X look-and-feel and has fairly good integration with Mac OS X, also using the native Quartz rendering system. Earlier versions of Mac OS X (in which X11 has not been bundled) can also run X11 applications using XDarwin. With the introduction of version 10.5 Apple switched to the X.org variant of X11.

Hardware
For the early releases of Mac OS X, the standard hardware platform supported was the full line of Macintosh computers (laptop, desktop, or server) based on PowerPC G3, G4, and G5 processors. Later versions discontinued support for some older hardware; for example, Panther does not support "beige" G3s, and Tiger does not support systems that pre-date Apple's introduction of FireWire ports. Mac OS X v10.5 "Leopard", introduced October 2007, has dropped support for all PowerPC G3 processors and for PowerPC G4 processors with clockspeeds below 867 MHz. With the introduction of the MacBook Air, which lacks any FireWire ports, Leopard does not require a FireWire port. However, tools such as XPostFacto and patches applied to the installation disc have been developed by third parties to enable installation of newer versions of Mac OS X on systems not officially supported by Apple, including some pre-G3 systems. Except for features requiring specific hardware (e.g. graphics acceleration, DVD writing), the operating system offers the same functionality on all supported hardware.

PowerPC versions of Mac OS X prior to Leopard retain compatibility with older Mac OS applications by providing an emulation environment called Classic, which allows users to run Mac OS 9 as a process within Mac OS X, so that most older applications run as they would under the older operating system. Classic is not supported on Intel-based Macs or in Mac OS X v10.5 "Leopard".

Apple Intel transition
In April 2002, eWeek reported a rumor that Apple had a version of Mac OS X code-named Marklar which ran on Intel x86 processors. The idea behind Marklar was to keep Mac OS X running on an alternative platform should Apple become dissatisfied with the progress of the PowerPC platform. These rumors subsided until late in May 2005, when various media outlets, such as the Wall Street Journal and CNET, reported that Apple would unveil Marklar in the coming months.

On June 6, 2005, Steve Jobs confirmed these rumors when he announced in his keynote address at the annual Apple Worldwide Developers Conference that Apple would be making the transition from PowerPC to Intel processors over the following two years, and that Mac OS X would support both platforms during the transition. Jobs also confirmed rumors that Apple has had versions of Mac OS X running on Intel processors for most of its developmental life. The last time that Apple switched CPU families—from the Motorola 68K CPU to the IBM/Motorola PowerPC—Apple included a Motorola 68K emulator in the new OS that made almost all 68K software work automatically on the new hardware. Apple has supported the 68K emulator for 11 years, but stopped supporting it during the transition to Intel CPUs. Included in the new OS for the Intel-based Macs is Rosetta, a binary translation layer which enables software compiled for PowerPC Mac OS X to run on Intel Mac OS X machines. However, Apple dropped support for Classic mode on the new Intel Macs. Third party emulation software such as Mini vMac, Basilisk II and SheepShaver provides support for some early versions of Mac OS. A new version of Xcode and the underlying command-line compilers support building universal binaries that will run on either architecture.

Software that is available only for PowerPC is supported with Rosetta, though applications may have to be rewritten to run properly on the newer OS X for Intel. Apple encourages developers to produce universal binaries with support for both PowerPC and x86. There is a performance penalty when PowerPC binaries run on Intel Macs through Rosetta. Moreover, some PowerPC software, such as kernel extensions and System Preferences plugins, are not supported on Intel Macs. Some PowerPC applications would not run on Intel OS X at all. Further, in order to continue booting from a PowerPC drive, it had to be reformatted. Plugins for Safari need to be compiled for the same platform as Safari, so when Safari is running on Intel it requires plug-ins that have been compiled as Intel-only or universal binaries, so PowerPC-only plug-ins will not work. While Intel Macs will be able to run PowerPC, x86, and universal binaries, PowerPC Macs will support only universal and PowerPC builds.

Support for the PowerPC platform remains in Mac OS X version 10.5. Such cross-platform capability already existed in Mac OS X's lineage; Openstep was ported to many architectures, including x86, and Darwin included support for both PowerPC and x86. Although Apple stated that Mac OS X would not run on Intel-based personal computers aside from its own, a hacked version of the OS compatible with conventional x86 hardware has been developed by the OSx86 community.

Features
Apple introduced many new features with each new release of OS X. One of the major differences between the previous versions of Mac OS and OS X was the addition of the Aqua GUI, a fluid graphical user interface with water-like elements. Furthermore, every window element, texts, graphics or widgets was drawn on-screen using the anti-aliasing technology. ColorSync, a technology introduced many years before, was improved and built into the core drawing engine, to provide color matching for printing and multimedia professionals. Also, drop shadows were added around windows and isolated text elements to provide a sense of depth. New interface elements were integrated, including sheets (document modal dialog boxes attached to specific windows) and drawers. According to Aaron Hillegass, some of these are the main reasons the user interface of the operating system looks "so much better" than other systems.

The human interface guidelines published by Apple for Mac OS X are followed by many applications, giving them consistent user interface and keyboard shortcuts. In addition, new services for applications were included, which included spelling and grammar checkers, special characters palette, color picker, font chooser and dictionary; these global features are present in every Cocoa application, adding consistency. The graphics system OpenGL composites windows onto the screen to allow hardware-accelerated drawing. This technology, introduced in version 10.2, is called Quartz Extreme, a component of Quartz. Quartz's internal imaging model correlates well with the Portable Document Format (PDF) imaging model, making it easy to output PDF to multiple devices. As a side result, PDF viewing is a built-in feature.

In version 10.3, Apple added Exposé, a feature which includes three functions to help accessibility between windows and desktop. Its functions are to instantly display all open windows as thumbnails for easy navigation to different tasks, display all open windows as thumbnails from the current application, and hide all windows to access the desktop. Also, FileVault was introduced, which is an optional encryption of the user's files with Advanced Encryption Standard (AES-128).

Features introduced in version 10.4 include Automator, an application designed to create an automatic workflow for different tasks; Dashboard, a full-screen group of small applications called desktop widgets that can be called up and dismissed in one keystroke; and Front Row, a media viewer interface accessed by the Apple Remote. Moreover, the Sync Services were included, which is a system that allows applications to access a centralized extensible database for various elements of user data, including calendar and contact items. The operating system then managed conflicting edits and data consistency.

As of version 10.5, all system icons are scalable up to 512×512 pixels, to accommodate various places where they appear in larger size, including for example the CoverFlow view, a three-dimensional graphical user interface included with iTunes, the Finder, and other Apple products for visually skimming through files and digital media libraries via cover artwork. This version includes Spaces, a virtual desktop implementation which enables the user to have more than one desktop and display them in an Exposé-like interface. Mac OS X v10.5 includes an automatic backup technology called Time Machine, which provides the ability to view and restore previous versions of files and application data; and Screen Sharing was built in for the first time.

Finder is a file browser allowing quick access to all areas of the computer, which has been modified throughout subsequent releases of Mac OS X. Quick Look is part of Mac OS X Leopard's Finder. It allows for dynamic previews of files, including videos and multi-page documents, without opening their parent applications. Spotlight search technology, which is integrated into the Finder since Mac OS X Tiger, allows rapid real-time searches of data files; mail messages; photos; and other information based on item properties (meta data) and/or content. Mac OS X makes use of a Dock, which holds file and folder shortcuts as well as minimized windows. Mac OS X Architecture implements a layered framework. The layered framework aids rapid development of applications by providing existing code for common tasks.

Versions
The character X is the number 10 (a Roman numeral), so it is correctly pronounced as the number 10 in this context, though in actual usage some pronounce it as the letter "X". It is the next release following the numbering of previous Macintosh operating systems such as Mac OS 8 and Mac OS 9. Mac OS X versions are named after big cats. Prior to its release, version 10.0 was code named "Cheetah" internally at Apple, and version 10.1 was code named internally as "Puma". After the immense buzz surrounding version 10.2, codenamed "Jaguar", Apple's product marketing began openly using the code names to promote the operating system. 10.3 was marketed as "Panther", and 10.4 as "Tiger". "Leopard" is the name for the current release, version 10.5. The forthcoming version 10.6 is named "Snow Leopard". "Panther", "Tiger" and "Leopard" are registered as trademarks of Apple, but "Cheetah", "Puma" and "Jaguar" have never been registered. Apple has also registered "Lynx" and "Cougar" as trademarks. Computer retailer Tiger Direct sued Apple for its use of the name "Tiger". On May 16, 2005 a US federal court in the Southern District of Florida ruled that Apple's use does not infringe on Tiger Direct's trademark.

Apple released to the public, on September 13, 2000, a "preview" version of its new operating system (internally codenamed Kodiak) in order to gain feedback from users. It cost $29.95 and came with a t-shirt. The "PB" as it was known marked the first public availability of the Aqua interface and Apple made many changes to the UI based on customer feedback. Mac OS X Public Beta expired and ceased to function in Spring 2001.

On March 24, 2001, Apple released Mac OS X v10.0 (internally codenamed Cheetah). The initial version was slow, not feature complete, and had very few applications available at the time of its launch, mostly from independent developers. While many critics suggested that the operating system was not ready for mainstream adoption, they recognized the importance of its initial launch as a base on which to improve. Simply releasing Mac OS X was received by the Macintosh community as a great accomplishment, for attempts to completely overhaul the Mac OS had been underway since 1996, and delayed by countless setbacks. Following some bug fixes, kernel panics became much less frequent.

Later that year on September 25, 2001, Mac OS X v10.1 (internally codenamed Puma) was released. It had better performance and provided missing features, such as DVD playback. Apple released 10.1 as a free upgrade CD for 10.0 users, in addition to the US$129 boxed version for people running only Mac OS 9. It was discovered that the upgrade CDs were actually full install CDs that could be used with Mac OS 9 systems by removing a specific file; Apple later re-released the CDs in an actual stripped-down format that did not facilitate installation on such systems. On January 7, 2002, Apple announced that Mac OS X was to be the default operating system for all Macintosh products by the end of that month.

On August 23, 2002, Apple followed up with Mac OS X v10.2 "Jaguar", the first release to use its code name as part of the branding. It brought great performance enhancements, a sleeker look, and many powerful enhancements (over 150, according to Apple ), including Quartz Extreme for compositing graphics directly on an ATI Radeon or Nvidia GeForce2 MX AGP-based video card with at least 16 MB of VRAM, a system-wide repository for contact information in the new Address Book, and an instant messaging client named iChat. The Happy Mac which had appeared during the Mac OS startup sequence for almost 18 years was replaced with a large grey Apple logo with the introduction of Mac OS X v10.2.

Mac OS X v10.3 "Panther" was released on October 24, 2003. In addition to providing much improved performance, it also incorporated the most extensive update yet to the user interface. Panther included as many or more new features as Jaguar had the year before, including an updated Finder, incorporating a brushed-metal interface, Fast User Switching, Exposé (Window manager), FileVault, Safari, iChat AV (which added video-conferencing features to iChat), improved Portable Document Format (PDF) rendering and much greater Microsoft Windows interoperability. Support for some early G3 computers such as "beige" Power Macs and "WallStreet" PowerBooks was discontinued.

Mac OS X v10.4 "Tiger" was released on April 29, 2005. Apple stated that Tiger contained more than 200 new features. As with Panther, certain older machines were no longer supported; Tiger requires a Mac with a built-in FireWire port. Among the new features, Tiger introduced Spotlight, Dashboard, Smart Folders, updated Mail program with Smart Mailboxes, QuickTime 7, Safari 2, Automator, VoiceOver, Core Image and Core Video. The initial release of the Apple TV used a modified version of Tiger with a different graphical interface and fewer applications and services. On January 10, 2006, Apple released the first Intel-based Macs along with the 10.4.4 update to Tiger. This operating system functioned identically on the PowerPC-based Macs and the new Intel-based machines, with the exception of the Intel release dropping support for the Classic environment. Only PowerPC Macs can be booted from retail copies of the Tiger client DVD, but there is a Universal DVD of Tiger Server 10.4.7 (8K1079) that can boot both PowerPC and Intel Macs.

Mac OS X v10.5 "Leopard" was released on October 26, 2007. It was called by Apple "the largest update of Mac OS X". It brought more than 300 new features. Leopard supports both PowerPC- and Intel x86-based Macintosh computers, however support for the G3 processor was dropped and the G4 processor required a minimum clock speed of 867 MHz. The single DVD works for all supported Macs (including 64-bit machines). New features include a new look, an updated Finder, Time Machine, Spaces, Boot Camp pre-installed, full support for 64-bit applications (including graphical applications), new features in Mail and iChat, and a number of new security features. Leopard is an Open Brand UNIX 03 registered product on the Intel platform. It is also the first BSD-based OS to receive UNIX 03 certification.

Mac OS X v10.6 was announced on June 9, 2008 at WWDC. Rather than delivering new functionality, Snow Leopard will focus on stability and performance improvements. It is expected to be released "about a year" from the announcement. It will feature Microsoft Exchange Server support, new 64-bit technology capable of supporting greater amounts of RAM, QuickTime X, advanced GPU performance with OpenCL, better use of multi-core processors through Grand Central, and SquirrelFish JavaScript interpreter, improving the JavaScript rendering speed of Safari by over 50%. The Developer Preview released at WWDC has a version number of 10.6, removes support for the PowerPC architecture and requires an Intel CPU.