Changeset 81230 in webkit
- Timestamp:
- Mar 16, 2011 1:58:30 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r81229 r81230 1 2011-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 1 35 2011-03-15 Philippe Normand <pnormand@igalia.com> 2 36 -
trunk/Source/WebCore/bindings/js/JSMainThreadExecState.h
r79904 r81230 27 27 #define JSMainThreadExecState_h 28 28 29 #include <JSDOMBinding.h>29 #include "JSDOMBinding.h" 30 30 #ifndef NDEBUG 31 31 #include <wtf/MainThread.h> -
trunk/Source/WebCore/bindings/js/ScheduledAction.h
r78634 r81230 21 21 #define ScheduledAction_h 22 22 23 #include "JSDOMBinding.h" 23 24 #include "PlatformString.h" 24 #include <JSDOMBinding.h>25 25 #include <collector/handles/Global.h> 26 26 #include <runtime/JSCell.h> -
trunk/Source/WebCore/css/CSSPrimitiveValueCache.cpp
r80477 r81230 24 24 */ 25 25 26 #include <config.h>26 #include "config.h" 27 27 #include "CSSPrimitiveValueCache.h" 28 28 -
trunk/Source/WebCore/gyp/WebCore.gyp
r81218 r81230 17 17 ], 18 18 'include_dirs': [ 19 '<(DEPTH)/WebCore', 19 20 '<(DEPTH)/WebCore/icu', 20 21 '<(DEPTH)/WebCore/ForwardingHeaders', … … 61 62 ['include', 'notifications/'], 62 63 ['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$'], 63 68 64 69 ['exclude', 'bindings/[^/]+/'], … … 68 73 # ['include', 'bindings/objc/'], 69 74 ['exclude', 'bindings/js/ScriptControllerMac\\.mm$'], 75 ['include', 'bindings/objc/DOMInternal\\.h$'], 70 76 71 77 # FIXME: Figure out how to store these patterns in a variable. 72 ['exclude', '(android|brew|cairo|c a|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)/'], 73 79 ['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?)$'], 74 80 81 ['exclude', 'platform/image-decoders/'], 82 ['exclude', 'platform/image-encoders/'], 83 84 ['exclude', 'platform/KillRingNone\\.cpp$'], 75 85 ['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$'], 76 94 77 95 ['exclude', 'AllInOne\\.cpp$'], … … 119 137 'GCC_PREFIX_HEADER': '<(DEPTH)/WebCore/WebCorePrefix.h', 120 138 'INFOPLIST_FILE': '<(DEPTH)/WebCore/Info.plist', 139 'ALWAYS_SEARCH_USER_PATHS': 'NO', 121 140 }, 122 141 }], -
trunk/Source/WebCore/platform/KillRingNone.cpp
r60326 r81230 29 29 namespace WebCore { 30 30 31 void KillRing::append(const String& string)31 void KillRing::append(const String&) 32 32 { 33 33 } 34 34 35 void KillRing::prepend(const String& string)35 void KillRing::prepend(const String&) 36 36 { 37 37 } -
trunk/Source/WebCore/platform/graphics/ContextShadow.h
r77097 r81230 33 33 #include "FloatRect.h" 34 34 #include "IntRect.h" 35 #include "RefCounted.h"35 #include <wtf/RefCounted.h> 36 36 37 37 #if PLATFORM(CAIRO) -
trunk/Source/WebCore/platform/graphics/gpu/LoopBlinnPathProcessor.cpp
r79578 r81230 43 43 #include <wtf/Assertions.h> 44 44 #include <wtf/FastMalloc.h> 45 #include <wtf/UnusedParam.h> 46 45 47 46 48 #if USE(SKIA) … … 702 704 } while (verb != SkPath::kDone_Verb); 703 705 #else // !USE(SKIA) 706 UNUSED_PARAM(path); 704 707 // Must port to your platform. 705 708 ASSERT_NOT_REACHED(); … … 1146 1149 void* polygonData) 1147 1150 { 1151 UNUSED_PARAM(vertexData); 1152 UNUSED_PARAM(weight); 1148 1153 TessellationState* state = static_cast<TessellationState*>(polygonData); 1149 1154 GLdouble* outVertex = static_cast<GLdouble*>(fastMalloc(3 * sizeof(GLdouble))); -
trunk/Source/WebCore/platform/graphics/gpu/PODRedBlackTree.h
r76248 r81230 258 258 // in the left and right children. This method should return true if 259 259 // the node's summary information changed. 260 virtual bool updateNode(Node* node) { return false; }260 virtual bool updateNode(Node*) { return false; } 261 261 262 262 //---------------------------------------------------------------------- … … 714 714 715 715 #ifdef NDEBUG 716 void logIfVerbose(const char* output) const { }716 void logIfVerbose(const char*) const { } 717 717 #else 718 718 void logIfVerbose(const char* output) const -
trunk/Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp
r76537 r81230 22 22 23 23 #include "GraphicsContext.h" 24 #include "HashMap.h"25 24 #include "Image.h" 26 #include "PassRefPtr.h"27 #include "RefCounted.h"28 25 #include "Timer.h" 26 #include <wtf/HashMap.h> 27 #include <wtf/PassRefPtr.h> 28 #include <wtf/RefCounted.h> 29 29 30 30 #if defined(TEXMAP_OPENGL_ES_2) -
trunk/Source/WebCore/platform/graphics/opengl/TextureMapperGL.h
r71538 r81230 25 25 #include "FloatQuad.h" 26 26 #include "IntSize.h" 27 #include "TextureMapper.h" 27 28 #include "TransformationMatrix.h" 28 #include "texmap/TextureMapper.h"29 29 30 30 namespace WebCore { -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapper.h
r73284 r81230 32 32 #include "IntSize.h" 33 33 #include "TransformationMatrix.h" 34 #include <wtf/UnusedParam.h> 34 35 35 36 /* … … 69 70 } 70 71 virtual void setContentsToImage(Image*) = 0; 71 virtual bool save(const String& filename) { return false; }72 virtual bool save(const String&) { return false; } 72 73 73 74 inline void lock() { ++m_lockCount; } … … 102 103 virtual void paintToTarget(const BitmapTexture& texture, const IntSize&, const TransformationMatrix& matrix, float opacity, const IntRect& visibleRect) 103 104 { 105 UNUSED_PARAM(visibleRect); 104 106 drawTexture(texture, IntRect(0, 0, texture.contentSize().width(), texture.contentSize().height()), matrix, opacity, 0); 105 107 } -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperNode.h
r71538 r81230 21 21 #define TextureMapperNode_h 22 22 23 #include "CurrentTime.h"24 23 #include "FloatRect.h" 25 24 #include "GraphicsContext.h" 26 25 #include "GraphicsLayer.h" 27 #include "HashMap.h"28 26 #include "Image.h" 29 #include "RefCounted.h"30 27 #include "TextureMapper.h" 31 28 #include "TextureMapperPlatformLayer.h" … … 34 31 #include "TranslateTransformOperation.h" 35 32 #include "UnitBezier.h" 33 #include <wtf/CurrentTime.h> 34 #include <wtf/HashMap.h> 35 #include <wtf/RefCounted.h> 36 36 37 37 namespace WebCore {
Note: See TracChangeset
for help on using the changeset viewer.