17. Building page, accessibility and editing and porting libxml2 are done. - WebKit porting to Mona OS

There are more sub or subsub directories to build, but I'm not sure what is necessary or not. As jsc on JavaScriptCore, we need to build an application which uses WebCore(libwebcore). It seems that Tools/xxxLauncher is good sample applications. To start simple, the first application we build is following code.

#include <config.h>
#include <Page.h>

int main(int argc, char* argv[]) {
  WebCore::Page::PageClients pageClients;

Let's build. I got about 5,000 undefined reference errors. And reduced them about 1,000.
Rest of undefined references are mostly derived from Graphics and libxml.
So ported libxml2. See contrib/Net/libxml2.

ToDo - Dependencies

  • DragImageRef at Source/WebCore/platform/DragImage.h
  • NativeImagePtr and NativeImageSourcePtr at Source/WebCore/platform/graphics/ImageSource.h
  • PlatformWidget at Source/WebCore/platform/Widget.h
  • ImageBufferData at Source/WebCore/platform/graphics/ImageBufferData.h
  • PlatformPatternPtr atSource/WebCore/platform/graphics/Pattern.h
  • Source/WebCore/platform/graphics/wx/FontCustomPlatformData.h
  • Source/WebCore/xml/XMLErrors.h:36:27: fatal error: libxml/parser.h: No such file or directory
  • DragDataRef: Source/WebCore/platform/
  • SmartReplaceCF.cpp is necessary? There is also SmartReplaceICU.cpp.