Changeset 106788 in webkit


Ignore:
Timestamp:
Feb 6, 2012 1:29:34 AM (12 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] Fix several gtkdoc-fixxref warnings
https://bugs.webkit.org/show_bug.cgi?id=77613

Reviewed by Martin Robinson.

Source/WebKit/gtk:

  • docs/webkitgtk-docs.sgml: Remove webkitspellcheckerenchant

section.

  • docs/webkitgtk-sections.txt: Remove webkitspellcheckerenchant

symbols and move WebKitWebNavigationReason from the private
section to the global section.

  • webkit/webkitwebnavigationaction.h: Document

WebKitWebNavigationReason enum.

Source/WebKit2:

  • UIProcess/API/gtk/WebKitWindowProperties.cpp: Fix a typo, a

colon was missing in WebKitWebView::ready-to-show.

Tools:

  • gtk/generate-gtkdoc:

(get_webkit1_options): Add webkitspellcheckerenchant.* to the list
of ignored files, since it's private.

  • gtk/gtkdoc.py:

(GTKDoc._ignored_files_basenames): Helper function that returns a
string with the list of ignored files basenames separated by a
spaces, as expected by several gtkdoc commands.
(GTKDoc._run_gtkdoc_scan): Use _ignored_files_basenames for
--ignore-headers option.
(GTKDoc._run_gtkdoc_mkdb): Use _ignored_files_basenames for
--ignore-files option.

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/gtk/ChangeLog

    r106608 r106788  
     12012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Fix several gtkdoc-fixxref warnings
     4        https://bugs.webkit.org/show_bug.cgi?id=77613
     5
     6        Reviewed by Martin Robinson.
     7
     8        * docs/webkitgtk-docs.sgml: Remove webkitspellcheckerenchant
     9        section.
     10        * docs/webkitgtk-sections.txt: Remove webkitspellcheckerenchant
     11        symbols and move WebKitWebNavigationReason from the private
     12        section to the global section.
     13        * webkit/webkitwebnavigationaction.h: Document
     14        WebKitWebNavigationReason enum.
     15
    1162012-02-02  Kalev Lember  <kalevlember@gmail.com>
    217
  • trunk/Source/WebKit/gtk/docs/webkitgtk-docs.sgml

    r98677 r106788  
    4141    <xi:include href="xml/webkiticondatabase.xml"/>
    4242    <xi:include href="xml/webkitspellchecker.xml"/>
    43     <xi:include href="xml/webkitspellcheckerenchant.xml"/>
    4443  </chapter>
    4544
  • trunk/Source/WebKit/gtk/docs/webkitgtk-sections.txt

    r98677 r106788  
    293293<TITLE>WebKitWebNavigationAction</TITLE>
    294294WebKitWebNavigationAction
     295WebKitWebNavigationReason
    295296webkit_web_navigation_action_get_button
    296297webkit_web_navigation_action_get_modifier_state
     
    308309WEBKIT_WEB_NAVIGATION_ACTION_GET_CLASS
    309310<SUBSECTION Private>
    310 WebKitWebNavigationReason
    311311WebKitWebNavigationActionClass
    312312WebKitWebNavigationActionPrivate
     
    640640
    641641<SECTION>
    642 <FILE>webkitspellcheckerenchant</FILE>
    643 <TITLE>WebKitSpellCheckerEnchant</TITLE>
    644 <SUBSECTION Standard>
    645 WEBKIT_IS_SPELL_CHECKER_ENCHANT
    646 WEBKIT_IS_SPELL_CHECKER_ENCHANT_CLASS
    647 WEBKIT_SPELL_CHECKER_ENCHANT
    648 WEBKIT_SPELL_CHECKER_ENCHANT_CLASS
    649 WEBKIT_SPELL_CHECKER_ENCHANT_GET_CLASS
    650 WEBKIT_TYPE_SPELL_CHECKER_ENCHANT
    651 <SUBSECTION Private>
    652 WebKitSpellCheckerEnchant
    653 WebKitSpellCheckerEnchantClass
    654 WebKitSpellCheckerEnchantPrivate
    655 webkit_spell_checker_enchant_get_type
    656 </SECTION>
    657 
    658 <SECTION>
    659642<FILE>webkiterror</FILE>
    660643WEBKIT_NETWORK_ERROR
  • trunk/Source/WebKit/gtk/webkit/webkitwebnavigationaction.h

    r95901 r106788  
    2727G_BEGIN_DECLS
    2828
    29 /*
    30  * The order of this enum must be the same as NavigationType in
    31  * FrameLoaderTypes.h
     29/**
     30 * WebKitWebNavigationReason:
     31 * @WEBKIT_WEB_NAVIGATION_REASON_LINK_CLICKED: The navigation was triggered by clicking a link.
     32 * @WEBKIT_WEB_NAVIGATION_REASON_FORM_SUBMITTED: The navigation was triggered by submitting a form.
     33 * @WEBKIT_WEB_NAVIGATION_REASON_BACK_FORWARD: The navigation was triggered by navigating forward or backward.
     34 * @WEBKIT_WEB_NAVIGATION_REASON_RELOAD: The navigation was triggered by reloading.
     35 * @WEBKIT_WEB_NAVIGATION_REASON_FORM_RESUBMITTED: The navigation was triggered by resubmitting a form.
     36 * @WEBKIT_WEB_NAVIGATION_REASON_OTHER: The navigation was triggered by some other action.
     37 *
     38 * Enum values used to denote the various navigation reasons.
    3239 */
    3340typedef enum {
  • trunk/Source/WebKit2/ChangeLog

    r106761 r106788  
     12012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Fix several gtkdoc-fixxref warnings
     4        https://bugs.webkit.org/show_bug.cgi?id=77613
     5
     6        Reviewed by Martin Robinson.
     7
     8        * UIProcess/API/gtk/WebKitWindowProperties.cpp: Fix a typo, a
     9        colon was missing in WebKitWebView::ready-to-show.
     10
    1112012-02-05  Dan Bernstein  <mitz@apple.com>
    212
  • trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWindowProperties.cpp

    r105158 r106788  
    3939 * and the request to show the #WebKitWebView fullscreen.
    4040 *
    41  * The #WebKitWebView:ready-to-show signal handler is the proper place
     41 * The #WebKitWebView::ready-to-show signal handler is the proper place
    4242 * to apply the initial window properties. Then you can monitor the
    4343 * #WebKitWindowProperties by connecting to ::notify signal.
  • trunk/Tools/ChangeLog

    r106786 r106788  
     12012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Fix several gtkdoc-fixxref warnings
     4        https://bugs.webkit.org/show_bug.cgi?id=77613
     5
     6        Reviewed by Martin Robinson.
     7
     8        * gtk/generate-gtkdoc:
     9        (get_webkit1_options): Add webkitspellcheckerenchant.* to the list
     10        of ignored files, since it's private.
     11        * gtk/gtkdoc.py:
     12        (GTKDoc._ignored_files_basenames): Helper function that returns a
     13        string with the list of ignored files basenames separated by a
     14        spaces, as expected by several gtkdoc commands.
     15        (GTKDoc._run_gtkdoc_scan): Use _ignored_files_basenames for
     16        --ignore-headers option.
     17        (GTKDoc._run_gtkdoc_mkdb): Use _ignored_files_basenames for
     18        --ignore-files option.
     19
    1202012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
    221
  • trunk/Tools/gtk/generate-gtkdoc

    r106786 r106788  
    120120                   ' -I' + common.top_level_path('Source', 'JavaScriptCore', 'ForwardingHeaders'),
    121121        'cross_reference_deps' : get_gtkdoc_module_paths(xref_deps),
    122         'ignored_files': glob.glob(src_path('webkit', '*private.*'))
     122        'ignored_files': glob.glob(src_path('webkit', '*private.*')) + \
     123                         glob.glob(src_path('webkit', 'webkitspellcheckerenchant.*'))
    123124    })
    124125    return options
  • trunk/Tools/gtk/gtkdoc.py

    r106786 r106788  
    257257        output_file.close()
    258258
     259    def _ignored_files_basenames(self):
     260        return ' '.join([os.path.basename(x) for x in self.ignored_files])
     261
    259262    def _run_gtkdoc_scan(self):
    260263        args = ['gtkdoc-scan',
     
    275278        # dirname. Different from "--source-dir", the headers should be
    276279        # specified as one long string.
    277         if self.ignored_files:
    278             ignored_files_basenames = \
    279                 [os.path.basename(x) for x in self.ignored_files]
    280             args.append('--ignore-headers=%s' % ' '.join(ignored_files_basenames))
     280        ignored_files_basenames = self._ignored_files_basenames()
     281        if ignored_files_basenames:
     282            args.append('--ignore-headers=%s' % ignored_files_basenames)
    281283
    282284        self._run_command(args)
     
    321323                '--output-format=xml',
    322324                '--sgml-mode']
     325
     326        ignored_files_basenames = self._ignored_files_basenames()
     327        if ignored_files_basenames:
     328            args.append('--ignore-files=%s' % ignored_files_basenames)
    323329
    324330        # Each directory should be have its own "--source-dir=" prefix.
Note: See TracChangeset for help on using the changeset viewer.