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
Submit a Modification Notice
Share your work with the community, so that we can review and integrate your code.
|