Changeset 91770 in webkit


Ignore:
Timestamp:
Jul 26, 2011 12:13:07 PM (13 years ago)
Author:
evan@chromium.org
Message:

regression: generating CSSValueKeywords should not print by default
https://bugs.webkit.org/show_bug.cgi?id=65195

Reviewed by Tony Chang.

Some refactoring made some callers no longer pass the final 'beQuiet'
parameter to applyPreprocessor. This flag was only used to print the
input filename anyway, so remove the flag and just make the caller
print the filename if it wants this.

  • bindings/scripts/IDLParser.pm:

(Parse): print before calling applyPreprocessor, if necessary.

  • bindings/scripts/preprocessor.pm:

(applyPreprocessor): remove the beQuiet flag; just always be quiet.

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r91769 r91770  
     12011-07-26  Evan Martin  <evan@chromium.org>
     2
     3        regression: generating CSSValueKeywords should not print by default
     4        https://bugs.webkit.org/show_bug.cgi?id=65195
     5
     6        Reviewed by Tony Chang.
     7
     8        Some refactoring made some callers no longer pass the final 'beQuiet'
     9        parameter to applyPreprocessor.  This flag was only used to print the
     10        input filename anyway, so remove the flag and just make the caller
     11        print the filename if it wants this.
     12
     13        * bindings/scripts/IDLParser.pm:
     14        (Parse): print before calling applyPreprocessor, if necessary.
     15        * bindings/scripts/preprocessor.pm:
     16        (applyPreprocessor): remove the beQuiet flag; just always be quiet.
     17
    1182011-07-26  Raphael Kubo da Costa  <kubo@profusion.mobi>
    219
  • trunk/Source/WebCore/bindings/scripts/IDLParser.pm

    r86936 r91770  
    6767    $parentsOnly = shift;
    6868
    69     my @documentContent = applyPreprocessor($fileName, $defines, $preprocessor, $beQuiet);
     69    print " | *** Starting to parse $fileName...\n |\n" unless $beQuiet;
     70    my @documentContent = applyPreprocessor($fileName, $defines, $preprocessor);
    7071
    7172    my $dataAvailable = 0;
  • trunk/Source/WebCore/bindings/scripts/preprocessor.pm

    r86936 r91770  
    4040    my $defines = shift;
    4141    my $preprocessor = shift;
    42     my $beQuiet = shift;
    4342
    4443    if (!$preprocessor) {
     
    5958    }
    6059
    61     print " | *** Starting to parse $fileName...\n |\n" unless $beQuiet;
    62 
    6360    my $pid = open2(\*PP_OUT, \*PP_IN, split(' ', $preprocessor), (map { "-D$_" } split(' ', $defines)), $fileName);
    6461    close PP_IN;
  • trunk/Source/WebCore/css/make-css-file-arrays.pl

    r86936 r91770  
    5757    } else {
    5858        require preprocessor;
    59         $text = join('', applyPreprocessor($in, $defines, $preprocessor, 1));
     59        $text = join('', applyPreprocessor($in, $defines, $preprocessor));
    6060    }
    6161
Note: See TracChangeset for help on using the changeset viewer.