Changes between Version 21 and Version 22 of HackingGtk


Ignore:
Timestamp:
Jun 3, 2010 11:56:21 AM (12 years ago)
Author:
Martin Robinson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HackingGtk

    v21 v22  
    1111Code specific to any one backend should be conditionally compiled only when that windowing system is available. One examples of this kind of feature might be direct X11/Win32 use for plugin support. This can be done at configure time or with a switch passed to the build system, or even just using the definitions provided by the gdk headers.
    1212
    13 The main components of the port:
     13=== Main port components ===
    1414
    15  * [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/gtk WebCore/platform/gtk]: Basic implementation of WebCore platform files for GTK+. Includes GTK+-specific theme rendering, events, clipboard access, etc.
     15 * [http://trac.webkit.org/projects/webkit/browser/trunk/JavaScriptCore/wtf/gobject JavaScriptCore/wtf/gobject]: GObject helpers for WTF
     16 * [http://trac.webkit.org/projects/webkit/browser/trunk/JavaScriptCore/wtf/gobject JavaScriptCore/wtf/gobject]: GTK+ helpers for WTF
     17 * [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/gtk WebCore/platform/gtk]:  Basic implementation of WebCore platform files for GTK+. Includes GTK+-specific theme rendering, events, clipboard access, etc.
    1618 * [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/graphics/gtk WebCore/platform/graphics/gtk] and [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/graphics/cairo WebCore/platform/graphics/cairo]: Cairo and GTK+ implementations of graphics contexts, images, fonts, etc.
    1719 * [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/page/gtk WebCore/page/gtk]: GTK+ implementation for platform specific code in the "page" subdirectory.
     
    2729=== Shared code modules ===
    2830
    29 While the Gtk+ port is the primary consumer of these backends, we aim to keep them portable, avoiding even ifdef'd sections specific to the Gtk+ port:
     31While the GTK+ port is the primary consumer of these backends, we aim to keep them portable, avoiding even ifdef'd sections specific to the Gtk+ port:
    3032
    31  * libsoup http backend: [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/network/soup WebCore/platform/network/soup]
    32 
    33  * cairo graphics backend: [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/graphics/cairo WebCore/platform/graphics/cairo]
    34 
    35  * cairo graphics "canvas" element backend: [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/html/canvas/CanvasRenderingContext2D.cpp WebCore/html/canvas/CanvasRenderingContext2D.cpp] (and a few other files in WebCore/html)
    36 
    37  * GStreamer media backend: [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp] (has small dependencies on GTK+/Cairo that can be easily abstracted if other ports want to share the GStreamer backend)
     33 * [http://trac.webkit.org/projects/webkit/browser/trunk/JavaScriptCore/wtf/gobject JavaScriptCore/wtf/gobject]
     34 * [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/network/soup WebCore/platform/network/soup]
     35 * [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/graphics/cairo WebCore/platform/graphics/cairo]
     36 * [http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp] (''has small dependencies on GTK+/Cairo that can be easily abstracted if other ports want to share the GStreamer backend'')
    3837
    3938=== Bundled code modules ===