Changeset 169350 in webkit


Ignore:
Timestamp:
May 26, 2014 9:37:59 AM (10 years ago)
Author:
Carlos Garcia Campos
Message:

REGRESSION(r164632): [GTK] Crash in generate-gtkdoc when rebasing docs
https://bugs.webkit.org/show_bug.cgi?id=133279

Reviewed by Philippe Normand.

generator.saw_warnings is only set by GTKDoc::generate(), so it
should only be used after generate.

  • gtk/generate-gtkdoc:

(generate_documentation_for_config): Do not check
generator.saw_warnings again, simply return the value returned by
generate_doc() which is generator.saw_warnings. When rebasing,
returns always False since there aren't warnings.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r169347 r169350  
     12014-05-26  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r164632): [GTK] Crash in generate-gtkdoc when rebasing docs
     4        https://bugs.webkit.org/show_bug.cgi?id=133279
     5
     6        Reviewed by Philippe Normand.
     7
     8        generator.saw_warnings is only set by GTKDoc::generate(), so it
     9        should only be used after generate.
     10
     11        * gtk/generate-gtkdoc:
     12        (generate_documentation_for_config): Do not check
     13        generator.saw_warnings again, simply return the value returned by
     14        generate_doc() which is generator.saw_warnings. When rebasing,
     15        returns always False since there aren't warnings.
     16
    1172014-05-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
    218
  • trunk/Tools/gtk/generate-gtkdoc

    r167669 r169350  
    150150
    151151    if not arguments.rebase:
    152         generate_doc(generator, arguments.skip_html)
    153     else:
    154         rebase_doc(generator)
    155     return generator.saw_warnings
     152        return generate_doc(generator, arguments.skip_html)
     153
     154    rebase_doc(generator)
     155    return False
    156156
    157157def prepare_environment_for_gtkdoc_generation():
Note: See TracChangeset for help on using the changeset viewer.