Changeset 116034 in webkit


Ignore:
Timestamp:
May 3, 2012 3:54:55 PM (12 years ago)
Author:
eric@webkit.org
Message:

Remove the last bits of Leopard support from our perl scripts
https://bugs.webkit.org/show_bug.cgi?id=85545

Reviewed by Daniel Bates.

Chromium still supports Leopard (for a little while yet), but AppleMacWebKit dropped
Leopard support several months ago. Remove the last bits of isLeopard() branching
in our Perl scripts, since no one is using this (Chromium has never used this Perl code).

  • Scripts/build-webkit:
  • Scripts/old-run-webkit-tests:

(countAndPrintLeaks):
(captureSavedCrashLog):

  • Scripts/webkitdirs.pm:

(determineArchitecture):
(argumentsForRunAndDebugMacWebKitApp):

Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r116029 r116034  
     12012-05-03  Eric Seidel  <eric@webkit.org>
     2
     3        Remove the last bits of Leopard support from our perl scripts
     4        https://bugs.webkit.org/show_bug.cgi?id=85545
     5
     6        Reviewed by Daniel Bates.
     7
     8        Chromium still supports Leopard (for a little while yet), but AppleMacWebKit dropped
     9        Leopard support several months ago.  Remove the last bits of isLeopard() branching
     10        in our Perl scripts, since no one is using this (Chromium has never used this Perl code).
     11
     12        * Scripts/build-webkit:
     13        * Scripts/old-run-webkit-tests:
     14        (countAndPrintLeaks):
     15        (captureSavedCrashLog):
     16        * Scripts/webkitdirs.pm:
     17        (determineArchitecture):
     18        (argumentsForRunAndDebugMacWebKitApp):
     19
    1202012-05-03  Ojan Vafai  <ojan@chromium.org>
    221
  • trunk/Tools/Scripts/build-webkit

    r116008 r116034  
    154154
    155155    { option => "3d-canvas", desc => "Toggle 3D canvas (WebGL) support",
    156       define => "ENABLE_WEBGL", default => (isAppleMacWebKit() && !isLeopard()), value => \$threeDCanvasSupport },
     156      define => "ENABLE_WEBGL", default => isAppleMacWebKit(), value => \$threeDCanvasSupport },
    157157
    158158    { option => "3d-rendering", desc => "Toggle 3D rendering support",
  • trunk/Tools/Scripts/old-run-webkit-tests

    r110273 r116034  
    220220
    221221if (isAppleMacWebKit()) {
    222     if (isLeopard()) {
    223         $platform = "mac-leopard";
    224         $tolerance = 0.1;
    225     } elsif (isSnowLeopard()) {
     222    if (isSnowLeopard()) {
    226223        $platform = "mac-snowleopard";
    227224        $tolerance = 0.1;
     
    12461243    );
    12471244
    1248     if (isLeopard()) {
    1249         # Leak list for the version of Leopard used on the build bot.
    1250         push @callStacksToExclude, (
    1251             "CFHTTPMessageAppendBytes", # leak in CFNetwork, rdar://problem/5435912
    1252             "sendDidReceiveDataCallback", # leak in CFNetwork, rdar://problem/5441619
    1253             "_CFHTTPReadStreamReadMark", # leak in CFNetwork, rdar://problem/5441468
    1254             "httpProtocolStart", # leak in CFNetwork, rdar://problem/5468837
    1255             "_CFURLConnectionSendCallbacks", # leak in CFNetwork, rdar://problem/5441600
    1256             "DispatchQTMsg", # leak in QuickTime, PPC only, rdar://problem/5667132
    1257             "QTMovieContentView createVisualContext", # leak in QuickTime, PPC only, rdar://problem/5667132
    1258             "_CopyArchitecturesForJVMVersion", # leak in Java, rdar://problem/5910823
    1259         );
    1260     }
    1261 
    12621245    if (isSnowLeopard()) {
    12631246        push @callStacksToExclude, (
     
    18001783        $glob = File::Spec->catfile($testResultsDirectory, $windowsCrashLogFilePrefix . "*.txt");
    18011784    } elsif (isAppleMacWebKit()) {
    1802         my $crashLogDirectoryName;
    1803         if (isLeopard()) {
    1804             $crashLogDirectoryName = "CrashReporter";
    1805         } else {
    1806             $crashLogDirectoryName = "DiagnosticReports";
    1807         }
    1808 
    1809         $glob = File::Spec->catfile("~", "Library", "Logs", $crashLogDirectoryName, ($webProcessCrashed ? "WebProcess" : $dumpToolName) . "_*.crash");
     1785        $glob = File::Spec->catfile("~", "Library", "Logs", "DiagnosticReports", ($webProcessCrashed ? "WebProcess" : $dumpToolName) . "_*.crash");
    18101786
    18111787        # Even though the dump tool has exited, CrashReporter might still be running. We need to
  • trunk/Tools/Scripts/webkitdirs.pm

    r115978 r116034  
    314314            chomp $architecture;
    315315        } else {
    316             if (isLeopard()) {
    317                 $architecture = `arch`;
    318             } else {
    319                 my $supports64Bit = `sysctl -n hw.optional.x86_64`;
    320                 chomp $supports64Bit;
    321                 $architecture = $supports64Bit ? 'x86_64' : `arch`;
    322             }
     316            my $supports64Bit = `sysctl -n hw.optional.x86_64`;
     317            chomp $supports64Bit;
     318            $architecture = $supports64Bit ? 'x86_64' : `arch`;
    323319            chomp $architecture;
    324320        }
     
    13531349    determineOSXVersion();
    13541350    return $osXVersion;
    1355 }
    1356 
    1357 sub isLeopard()
    1358 {
    1359     return isDarwin() && osXVersion()->{"minor"} == 5;
    13601351}
    13611352
     
    24892480{
    24902481    my @args = @ARGV;
    2491     push @args, ("-ApplePersistenceIgnoreState", "YES") if !isLeopard() && !isSnowLeopard() && checkForArgumentAndRemoveFromArrayRef("--no-saved-state", \@args);
     2482    push @args, ("-ApplePersistenceIgnoreState", "YES") if !isSnowLeopard() && checkForArgumentAndRemoveFromArrayRef("--no-saved-state", \@args);
    24922483    return @args;
    24932484}
Note: See TracChangeset for help on using the changeset viewer.