| WebKit | |
|---|---|
![]() |
|
| Developed by | Apple Inc., Trolltech, Nokia, Adobe, Google, others. |
| OS | Cross-platform |
| Genre | Application framework |
| License | LGPLv2/BSD-style |
| Website | http://webkit.org |
WebKit is an open source application framework that provides a foundation upon which to build a web browser. WebKit was originally derived from the Konqueror browser’s KHTML software library by Apple, Inc. for use as the engine of Mac OS X’s Safari web browser, and has now been further developed by Apple, Nokia, Google and others. The framework is now included in Omniweb, Shiira, iCab, Adobe AIR, mobile phones (including the iPhone), Nokia’s Series 60 browser, and Google’s Android platform. Although WebKit is included with Trolltech’s Qt 4.4, the underlying framework for KDE,[1] the KDE project will use its original version of KHTML for the near future.[2]
It passes the Acid2 test, and as of March 2008, latest nightly builds of WebKit score 100/100[3] in the Acid3 test.
Contents |
WebKit began when Apple Inc. created a software fork of the KDE project’s HTML layout engine KHTML and KDE's JavaScript engine (KJS). Apple developers explained in an email to KDE developers[4] that these engines allowed easier development than other technologies by nature of being small (less than 140,000 lines of code), cleanly designed and standards compliant. KHTML and KJS were ported to Mac OS X with the help of an adapter library and renamed WebCore and JavaScriptCore.[4] WebKit was first included with Mac OS X v10.3, and is available as a software update for v10.2.7 and later.
WebKit was announced at the Macworld Expo in January 2003 by Apple CEO Steve Jobs with the release of the Safari web browser. Until then the changes to KHTML and KJS were not shared, but after the announcement they were submitted to the KDE project.[5] In time, Apple’s cooperation with KDE was criticized, with changes being mostly submitted in bulk back to the KDE project. While this helped Konqueror pass the Acid2 test, the source code had already diverged so much that improvements were difficult to share back and forth.[6]
On June 7, 2005, Safari developer Dave Hyatt announced on his weblog that Apple was open sourcing WebKit (previously, only WebCore and JavaScriptCore were open source) and opening up access to WebKit’s Concurrent Versions System (CVS) tree and Bugzilla tool.[7] This was announced at Apple’s Worldwide Developers Conference 2005 by Bertrand Serlet. The next week, Nokia announced that it was developing a browser based on WebKit, which was later named Web Browser for S60.
In mid-December 2005 support for Scalable Vector Graphics was merged into the standard build[8] and in early January 2006 the source code was migrated from CVS to Subversion. In June 2007, a Microsoft Windows port was added to WebKit. The next month the Ars Technica website published an article announcing that the KDE team would move from KHTML to WebKit.[9]
WebCore is a layout, rendering, and document object model (DOM) library for HTML and SVG, developed by the WebKit project, originally developed by Apple. It is licensed under the LGPL. The WebKit framework wraps WebCore and JavaScriptCore, providing an Objective-C application programming interface to the C++-based WebCore rendering engine and JavaScriptCore script engine, allowing it to easily be referenced by applications based on the Cocoa API; later versions also include a cross-platform C++ platform abstraction, and various ports provide additional APIs.
JavaScriptCore is a framework that provides a JavaScript engine for WebKit implementations, and provides this type of scripting in other contexts within Mac OS X.[10][11] JavaScriptCore is originally derived from KDE’s JavaScript engine (KJS) library (which is part of the KDE project) and the PCRE regular expression library. Since forking from KJS and PCRE, JavaScriptCore has been improved with many new features and greatly improved performance.[12]
Drosera is a JavaScript debugger that was included with the nightly builds of WebKit.[13][14] It was named after Drosera, a genus of carnivorous plants (i.e. bug-eaters). Drosera has been replaced by the inclusion of debugging functionality in the Web Inspector.[15]
WebKit, being a portable and popular open source project, has attracted ports to several operating systems and toolkits. It is used in the Nokia Series 60 browser,[16] while the community[17] is porting the browser engine to the GTK+ toolkit and a port to the Qt toolkit is being developed by community and several companies including Trolltech. Trolltech includes the Qt port in the Qt 4.4 release. The Qt port of WebKit will also be available to be used in Konqueror in KDE 4.1.[9]
There are also ongoing ports for the open source operating systems Syllable[18], Haiku[19] and AROS.[20]
Apple has ported WebKit to the iPhone, where it is used to render content within the phone’s web browser and email software.[21] Adobe Systems uses WebKit in the Adobe Integrated Runtime, a cross-platform runtime environment for building rich internet applications on the desktop. The upcoming Android mobile phone platform will use WebKit as the basis of its web browser.[22]
There is also a project synchronized with WebKit, sponsored by Pleyo[23], Origyn Web Browser, which provides a meta-port to an abstract platform and makes port quicker to embedded or lightweight systems.[24] This port is used for embedded devices such as set-top boxes, PMP and also the AmigaOS official port.[25]
The development team of GNOME's web browser, Epiphany, announced in April 2008[26] that it will use WebKit exclusively, and stop supporting the Mozilla Foundation's Gecko layout engine. Epiphany supported both Gecko and WebKit for some time, but the team decided that Gecko's release cycle and future development plans would make it cumbersome to continue supporting it.
There is a Qt port named Arora[27]. Arora is a very basic browser whose feature list includes things like "History" and "Bookmarks". It does not have support for netscape plugins, so no flash support until Qt 4.5. It works on Linux, OS X, Windows, and embedded Linux using Qt Embedded. Currently the project offers nightly builds for Ubuntu and Windows.
|
||||||||
|
|||||||||||
Why are we here?
All text is available under the terms of the GNU Free Documentation License
This page is cache of Wikipedia. History