The Wayback Machine - https://web.archive.org/all/20041125015750/http://developer.apple.com:80/darwin/projects/webcore/index.html
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

WebCore

WebCore

WebCore is a framework for Mac OS X that takes the cross-platform KHTML library (part of the KDE project) and combines it with an adapter library specific to WebCore called KWQ that makes it work with Mac OS X technologies. KHTML is written in C++ and KWQ is written in Objective C++, but WebCore presents an Objective C programming interface. WebCore requires the JavaScriptCore framework.

The current version of WebCore is based on the KHTML library from KDE 3.0.2. Changes that are specific to WebCore are marked with #if APPLE_CHANGES. Other changes to improve performance and web page compatibility are intended for integration into future versions of the KHTML library.

Examples of what WebCore is useful for are:

  • to review the state of Apple browser technology
  • to make changes to WebCore itself, either for personal interest or to contribute back to Apple
  • to extract Apple changes and merge them back into the cross-platform KHTML library

It is not a good idea to use WebCore directly for browser development or HTML display on Mac OS X. The WebCore SPIs are fragile, incomplete and bound to change. Apple will soon release a public API based on the WebCore engine. We recommend waiting for this forthcoming API.

JavaScriptCore

JavaScriptCore is a framework for Mac OS X that takes the cross-platform KJS library (part of the KDE project), combines it with the PCRE regular expression library, and makes it work with Mac OS X technologies.

The current version of JavaScriptCore is based on the KJS library from KDE 3.0.2. The few changes that are specific to JavaScriptCore are marked with #if APPLE_CHANGES. Other changes to improve performance and web page compatibility are intended for integration into future versions of the KJS library.

KDE

Information about KDE, the K Desktop Environment, and both the KHTML and KJS libraries is available at www.kde.org.

PCRE

Information about the PCRE regular expression library is available at www.pcre.org.



Open Source

License: LGPL
Mailing list: WebCore-Dev - Technical discussion list for WebCore and JavaScriptCore development.
Report Bugs: Use Apple's bug reporter.
Source Code:

WebCore and JavaScriptCore have been updated for Safari 1.2.

WebCore-125 - Apple WebCore Framework (Safari 1.2)
JavaScriptCore-125 - Apple JavaScriptCore Framework (Safari 1.2)

Archived Releases

WebCore-106 - Apple WebCore Framework (Panther)
JavaScriptCore-96 - Apple JavaScriptCore Framework (Panther)
WebCore-85 - Apple WebCore Framework (WWDC 2003)
JavaScriptCore-85 - Apple JavaScriptCore Framework (WWDC 2003)
WebCore-73 - Apple WebCore Framework
JavaScriptCore-73 - Apple JavaScriptCore Framework

Submit a Modification Notice
Share your work with the community, so that we can review and integrate your code.