Changes between Version 12 and Version 13 of WebKitGTK/AddingNewWebKit2API


Ignore:
Timestamp:
Nov 6, 2019 9:30:53 AM (2 weeks ago)
Author:
yurys@chromium.org
Comment:

Update links from Source/WebKit2/UIProcess to Source/WebKit/UIProcess

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/AddingNewWebKit2API

    v12 v13  
    66  * Include gobject introspection annotations too. See http://live.gnome.org/GObjectIntrospection/Annotations
    77  * Use always 'Returns:' instead of 'Return value:', just for consistency, in methods returning a value.
    8   * Remember to update the sections file ([http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt UIProcess/API/gtk/docs/webkit2gtk-sections.txt]) with new symbols.
    9   * If the patch adds a new public class, add the get_type() method to file [http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk.types UIProcess/API/gtk/docs/webkit2gtk.types]
    10   * If the patch adds a new section, remember to update the file [http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml UIProcess/API/gtk/docs/webkit2gtk-docs.sgml] too
     8  * Remember to update the sections file ([http://trac.webkit.org/browser/trunk/Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt UIProcess/API/gtk/docs/webkit2gtk-4.0-sections.txt]) with new symbols.
     9  * If the patch adds a new public class, add the get_type() method to file [http://trac.webkit.org/browser/trunk/Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-4.0.types UIProcess/API/gtk/docs/webkit2gtk-4.0.types]
     10  * If the patch adds a new section, remember to update the file [http://trac.webkit.org/browser/trunk/Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml UIProcess/API/gtk/docs/webkit2gtk-docs.sgml] too
    1111  * Add Since: tag using the next major release.
    12   * Check if this is the first new symbol for the next major stable release and add the index of new symbols to the file [http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml UIProcess/API/gtk/docs/webkit2gtk-docs.sgml]
     12  * Check if this is the first new symbol for the next major stable release and add the index of new symbols to the file [http://trac.webkit.org/browser/trunk/Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml UIProcess/API/gtk/docs/webkit2gtk-docs.sgml]
    1313  {{{
    1414<index id="api-index-2-2" role="2.2">
     
    2020 * If the patch adds a new public header
    2121  * Remember to add it to webkit2gtk_headers variable in [http://trac.webkit.org/browser/trunk/Source/WebKit2/GNUmakefile.am GNUmakefile.am] file
    22   * Add a new #include for it to the [http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/webkit2.h main WebKit2 header]
    23  * When adding a new GObject or boxed type, define an autocleanup in [http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/WebKitAutocleanups.h WebKitAutocleanups.h], [http://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h WebKitWebExtensionAutocleanups.h], or [https://trac.webkit.org/browser/webkit/trunk/Source/JavaScriptCore/API/glib/JSCAutocleanups.h JSCAutocleanups.h]. **Please stop forgetting this step. :)**
     22  * Add a new #include for it to the [http://trac.webkit.org/browser/trunk/Source/WebKit/UIProcess/API/gtk/webkit2.h main WebKit2 header]
     23 * When adding a new GObject or boxed type, define an autocleanup in [http://trac.webkit.org/browser/trunk/Source/WebKit/UIProcess/API/gtk/WebKitAutocleanups.h WebKitAutocleanups.h], [http://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h WebKitWebExtensionAutocleanups.h], or [https://trac.webkit.org/browser/webkit/trunk/Source/JavaScriptCore/API/glib/JSCAutocleanups.h JSCAutocleanups.h]. **Please stop forgetting this step. :)**
    2424 * Follow coding style guidelines
    2525  * Use GNOME coding style for public headers and generated code (get_type(), init() and class_init() methods)