Changeset 81230 in webkit


Ignore:
Timestamp:
Mar 16, 2011 1:58:30 AM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-03-16 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

WebCore GYP build should build platform/
https://bugs.webkit.org/show_bug.cgi?id=56430

Adding platform/ to the GYP build required disabling
ALWAYS_SEARCH_USER_PATHS, which in turn required fixing some latent
style issues. I suspect we'll end up excluding some of these files
from the build in the final analysis, but we might as well fix the
style errors while we're here.

  • bindings/js/JSMainThreadExecState.h:
  • bindings/js/ScheduledAction.h:
  • css/CSSPrimitiveValueCache.cpp:
  • gyp/WebCore.gyp:
  • platform/KillRingNone.cpp: (WebCore::KillRing::append): (WebCore::KillRing::prepend):
  • platform/graphics/ContextShadow.h:
  • platform/graphics/gpu/LoopBlinnPathProcessor.cpp: (WebCore::LoopBlinnPathProcessor::buildContours): (WebCore::TessellationState::combineCallback):
  • platform/graphics/gpu/PODRedBlackTree.h: (WebCore::PODRedBlackTree::updateNode): (WebCore::PODRedBlackTree::logIfVerbose):
  • platform/graphics/opengl/TextureMapperGL.cpp:
  • platform/graphics/opengl/TextureMapperGL.h:
  • platform/graphics/texmap/TextureMapper.h: (WebCore::BitmapTexture::save): (WebCore::TextureMapper::paintToTarget):
  • platform/graphics/texmap/TextureMapperNode.h:
Location:
trunk/Source/WebCore
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r81229 r81230  
     12011-03-16  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        WebCore GYP build should build platform/
     6        https://bugs.webkit.org/show_bug.cgi?id=56430
     7
     8        Adding platform/ to the GYP build required disabling
     9        ALWAYS_SEARCH_USER_PATHS, which in turn required fixing some latent
     10        style issues.  I suspect we'll end up excluding some of these files
     11        from the build in the final analysis, but we might as well fix the
     12        style errors while we're here.
     13
     14        * bindings/js/JSMainThreadExecState.h:
     15        * bindings/js/ScheduledAction.h:
     16        * css/CSSPrimitiveValueCache.cpp:
     17        * gyp/WebCore.gyp:
     18        * platform/KillRingNone.cpp:
     19        (WebCore::KillRing::append):
     20        (WebCore::KillRing::prepend):
     21        * platform/graphics/ContextShadow.h:
     22        * platform/graphics/gpu/LoopBlinnPathProcessor.cpp:
     23        (WebCore::LoopBlinnPathProcessor::buildContours):
     24        (WebCore::TessellationState::combineCallback):
     25        * platform/graphics/gpu/PODRedBlackTree.h:
     26        (WebCore::PODRedBlackTree::updateNode):
     27        (WebCore::PODRedBlackTree::logIfVerbose):
     28        * platform/graphics/opengl/TextureMapperGL.cpp:
     29        * platform/graphics/opengl/TextureMapperGL.h:
     30        * platform/graphics/texmap/TextureMapper.h:
     31        (WebCore::BitmapTexture::save):
     32        (WebCore::TextureMapper::paintToTarget):
     33        * platform/graphics/texmap/TextureMapperNode.h:
     34
    1352011-03-15  Philippe Normand  <pnormand@igalia.com>
    236
  • trunk/Source/WebCore/bindings/js/JSMainThreadExecState.h

    r79904 r81230  
    2727#define JSMainThreadExecState_h
    2828
    29 #include <JSDOMBinding.h>
     29#include "JSDOMBinding.h"
    3030#ifndef NDEBUG
    3131#include <wtf/MainThread.h>
  • trunk/Source/WebCore/bindings/js/ScheduledAction.h

    r78634 r81230  
    2121#define ScheduledAction_h
    2222
     23#include "JSDOMBinding.h"
    2324#include "PlatformString.h"
    24 #include <JSDOMBinding.h>
    2525#include <collector/handles/Global.h>
    2626#include <runtime/JSCell.h>
  • trunk/Source/WebCore/css/CSSPrimitiveValueCache.cpp

    r80477 r81230  
    2424 */
    2525
    26 #include <config.h>
     26#include "config.h"
    2727#include "CSSPrimitiveValueCache.h"
    2828
  • trunk/Source/WebCore/gyp/WebCore.gyp

    r81218 r81230  
    1717      ],
    1818      'include_dirs': [
     19        '<(DEPTH)/WebCore',
    1920        '<(DEPTH)/WebCore/icu',
    2021        '<(DEPTH)/WebCore/ForwardingHeaders',
     
    6162        ['include', 'notifications/'],
    6263        ['include', 'page/'],
     64        ['include', 'platform/'],
     65        # FIXME: Figure out how to build these mm files.
     66        ['exclude', 'page/mac/[^/]+.mm$'],
     67        ['exclude', 'platform/mac/[^/]+.mm$'],
    6368
    6469        ['exclude', 'bindings/[^/]+/'],
     
    6873        # ['include', 'bindings/objc/'],
    6974        ['exclude', 'bindings/js/ScriptControllerMac\\.mm$'],
     75        ['include', 'bindings/objc/DOMInternal\\.h$'],
    7076
    7177        # FIXME: Figure out how to store these patterns in a variable.
    72         ['exclude', '(android|brew|cairo|ca|chromium|curl|efl|freetype|fftw|gstreamer|gtk|haiku|linux|mac|mkl|opengl|openvg|opentype|pango|posix|qt|soup|symbian|texmap|iphone|win|wince|wx)/'],
     78        ['exclude', '(android|brew|cairo|chromium|curl|efl|freetype|fftw|gstreamer|gtk|haiku|linux|mkl|openvg|pango|posix|qt|skia|soup|symbian|texmap|iphone|win|wince|wx)/'],
    7379        ['exclude', '(Android|Brew|Cairo|CF|CG|Curl|Chromium|Efl|Haiku|Gtk|JSC|Linux|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|V8|Win|WinCE|Wx)\\.(cpp|mm?)$'],
    7480
     81        ['exclude', 'platform/image-decoders/'],
     82        ['exclude', 'platform/image-encoders/'],
     83
     84        ['exclude', 'platform/KillRingNone\\.cpp$'],
    7585        ['exclude', 'platform/graphics/cg/FontPlatformData\\.h$'],
     86        # FIXME: Consider excluding GL as a suffix.
     87        ['exclude', 'platform/graphics/opengl/TextureMapperGL\\.cpp$'],
     88        ['exclude', 'platform/graphics/opentype/OpenTypeUtilities\\.(cpp|h)$'],
     89        ['exclude', 'platform/graphics/ImageSource\\.cpp$'],
     90        ['exclude', 'platform/text/LocalizedNumberICU\\.cpp$'],
     91        ['exclude', 'platform/text/LocalizedNumberNone\\.cpp$'],
     92        ['exclude', 'platform/text/TextEncodingDetectorNone\\.cpp$'],
     93        ['exclude', 'platform/text/Hyphenation\\.cpp$'],
    7694
    7795        ['exclude', 'AllInOne\\.cpp$'],
     
    119137            'GCC_PREFIX_HEADER': '<(DEPTH)/WebCore/WebCorePrefix.h',
    120138            'INFOPLIST_FILE': '<(DEPTH)/WebCore/Info.plist',
     139            'ALWAYS_SEARCH_USER_PATHS': 'NO',
    121140          },
    122141        }],
  • trunk/Source/WebCore/platform/KillRingNone.cpp

    r60326 r81230  
    2929namespace WebCore {
    3030
    31 void KillRing::append(const String& string)
     31void KillRing::append(const String&)
    3232{
    3333}
    3434
    35 void KillRing::prepend(const String& string)
     35void KillRing::prepend(const String&)
    3636{
    3737}
  • trunk/Source/WebCore/platform/graphics/ContextShadow.h

    r77097 r81230  
    3333#include "FloatRect.h"
    3434#include "IntRect.h"
    35 #include "RefCounted.h"
     35#include <wtf/RefCounted.h>
    3636
    3737#if PLATFORM(CAIRO)
  • trunk/Source/WebCore/platform/graphics/gpu/LoopBlinnPathProcessor.cpp

    r79578 r81230  
    4343#include <wtf/Assertions.h>
    4444#include <wtf/FastMalloc.h>
     45#include <wtf/UnusedParam.h>
     46
    4547
    4648#if USE(SKIA)
     
    702704    } while (verb != SkPath::kDone_Verb);
    703705#else // !USE(SKIA)
     706    UNUSED_PARAM(path);
    704707    // Must port to your platform.
    705708    ASSERT_NOT_REACHED();
     
    11461149                            void* polygonData)
    11471150{
     1151    UNUSED_PARAM(vertexData);
     1152    UNUSED_PARAM(weight);
    11481153    TessellationState* state = static_cast<TessellationState*>(polygonData);
    11491154    GLdouble* outVertex = static_cast<GLdouble*>(fastMalloc(3 * sizeof(GLdouble)));
  • trunk/Source/WebCore/platform/graphics/gpu/PODRedBlackTree.h

    r76248 r81230  
    258258    // in the left and right children. This method should return true if
    259259    // the node's summary information changed.
    260     virtual bool updateNode(Node* node) { return false; }
     260    virtual bool updateNode(Node*) { return false; }
    261261
    262262    //----------------------------------------------------------------------
     
    714714
    715715#ifdef NDEBUG
    716     void logIfVerbose(const char* output) const { }
     716    void logIfVerbose(const char*) const { }
    717717#else
    718718    void logIfVerbose(const char* output) const
  • trunk/Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp

    r76537 r81230  
    2222
    2323#include "GraphicsContext.h"
    24 #include "HashMap.h"
    2524#include "Image.h"
    26 #include "PassRefPtr.h"
    27 #include "RefCounted.h"
    2825#include "Timer.h"
     26#include <wtf/HashMap.h>
     27#include <wtf/PassRefPtr.h>
     28#include <wtf/RefCounted.h>
    2929
    3030#if defined(TEXMAP_OPENGL_ES_2)
  • trunk/Source/WebCore/platform/graphics/opengl/TextureMapperGL.h

    r71538 r81230  
    2525#include "FloatQuad.h"
    2626#include "IntSize.h"
     27#include "TextureMapper.h"
    2728#include "TransformationMatrix.h"
    28 #include "texmap/TextureMapper.h"
    2929
    3030namespace WebCore {
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapper.h

    r73284 r81230  
    3232#include "IntSize.h"
    3333#include "TransformationMatrix.h"
     34#include <wtf/UnusedParam.h>
    3435
    3536/*
     
    6970    }
    7071    virtual void setContentsToImage(Image*) = 0;
    71     virtual bool save(const String& filename) { return false; }
     72    virtual bool save(const String&) { return false; }
    7273
    7374    inline void lock() { ++m_lockCount; }
     
    102103    virtual void paintToTarget(const BitmapTexture& texture, const IntSize&, const TransformationMatrix& matrix, float opacity, const IntRect& visibleRect)
    103104    {
     105        UNUSED_PARAM(visibleRect);
    104106        drawTexture(texture, IntRect(0, 0, texture.contentSize().width(), texture.contentSize().height()), matrix, opacity, 0);
    105107    }
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapperNode.h

    r71538 r81230  
    2121#define TextureMapperNode_h
    2222
    23 #include "CurrentTime.h"
    2423#include "FloatRect.h"
    2524#include "GraphicsContext.h"
    2625#include "GraphicsLayer.h"
    27 #include "HashMap.h"
    2826#include "Image.h"
    29 #include "RefCounted.h"
    3027#include "TextureMapper.h"
    3128#include "TextureMapperPlatformLayer.h"
     
    3431#include "TranslateTransformOperation.h"
    3532#include "UnitBezier.h"
     33#include <wtf/CurrentTime.h>
     34#include <wtf/HashMap.h>
     35#include <wtf/RefCounted.h>
    3636
    3737namespace WebCore {
Note: See TracChangeset for help on using the changeset viewer.