WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Fix style.
105735-2.patch (text/plain), 33.19 KB, created by
Laszlo Gombos
on 2012-12-25 13:15:29 PST
(
hide
)
Description:
Fix style.
Filename:
MIME Type:
Creator:
Laszlo Gombos
Created:
2012-12-25 13:15:29 PST
Size:
33.19 KB
patch
obsolete
>Index: Source/WTF/ChangeLog >=================================================================== >--- Source/WTF/ChangeLog (revision 138450) >+++ Source/WTF/ChangeLog (working copy) >@@ -1,3 +1,27 @@ >+2012-12-24 Laszlo Gombos <l.gombos@samsung.com> >+ >+ Move ENABLE macros for WebCore out from Platform.h and add all the macros from the FeatureFlags wiki >+ https://bugs.webkit.org/show_bug.cgi?id=105735 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Introduce FeatureDefines.h by combining the existing rules from >+ Platform.h and adding new rules for all the ENABLE flags that are >+ listed in the FeatureFlags wiki. >+ >+ The new rules are not used at the moment by any ports >+ as the port specific build systems already define these flags >+ so the !defined() guard will prevent redefinition of the macros. >+ >+ * GNUmakefile.list.am: Add FeatureDefines.h. >+ * WTF.gypi: Ditto. >+ * WTF.pro: Ditto. >+ * WTF.vcproj/WTF.vcproj: Ditto. >+ * WTF.xcodeproj/project.pbxproj: Ditto. >+ * wtf/CMakeLists.txt: Ditto. >+ * wtf/FeatureDefines.h: Added. >+ * wtf/Platform.h: Move macro definitions to FeatureDefines.h. >+ > 2012-12-21 Ilya Tikhonovsky <loislo@chromium.org> > > Unreviewed. Another try to fix Apple Win Release build. >Index: Source/WTF/GNUmakefile.list.am >=================================================================== >--- Source/WTF/GNUmakefile.list.am (revision 138405) >+++ Source/WTF/GNUmakefile.list.am (working copy) >@@ -47,6 +47,7 @@ wtf_sources += \ > Source/WTF/wtf/FastBitVector.h \ > Source/WTF/wtf/FastMalloc.cpp \ > Source/WTF/wtf/FastMalloc.h \ >+ Source/WTF/wtf/FeatureDefines.h \ > Source/WTF/wtf/FilePrintStream.cpp \ > Source/WTF/wtf/FilePrintStream.h \ > Source/WTF/wtf/FixedArray.h \ >Index: Source/WTF/WTF.gypi >=================================================================== >--- Source/WTF/WTF.gypi (revision 138405) >+++ Source/WTF/WTF.gypi (working copy) >@@ -31,6 +31,7 @@ > 'wtf/Encoder.h', > 'wtf/FastAllocBase.h', > 'wtf/FastMalloc.h', >+ 'wtf/FeatureDefines.h', > 'wtf/FilePrintStream.h', > 'wtf/FixedArray.h', > 'wtf/Forward.h', >Index: Source/WTF/WTF.pro >=================================================================== >--- Source/WTF/WTF.pro (revision 138405) >+++ Source/WTF/WTF.pro (working copy) >@@ -61,6 +61,7 @@ HEADERS += \ > ExportMacros.h \ > FastAllocBase.h \ > FastMalloc.h \ >+ FeatureDefines.h \ > FilePrintStream.h \ > FixedArray.h \ > Float32Array.h \ >Index: Source/WTF/WTF.vcproj/WTF.vcproj >=================================================================== >--- Source/WTF/WTF.vcproj/WTF.vcproj (revision 138405) >+++ Source/WTF/WTF.vcproj/WTF.vcproj (working copy) >@@ -781,6 +781,10 @@ > > > </File> > <File >+ RelativePath="..\wtf\FeatureDefines.h" >+ > >+ </File> >+ <File > RelativePath="..\wtf\FilePrintStream.cpp" > > > </File> >Index: Source/WTF/WTF.xcodeproj/project.pbxproj >=================================================================== >--- Source/WTF/WTF.xcodeproj/project.pbxproj (revision 138405) >+++ Source/WTF/WTF.xcodeproj/project.pbxproj (working copy) >@@ -297,6 +297,7 @@ > A8A47486151A825B004123FF /* WTFThreadData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A4737A151A825B004123FF /* WTFThreadData.cpp */; }; > A8A47487151A825B004123FF /* WTFThreadData.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4737B151A825B004123FF /* WTFThreadData.h */; }; > A8A4748C151A8264004123FF /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A4748B151A8264004123FF /* config.h */; }; >+ B38FD7BD168953E80065C969 /* FeatureDefines.h in Headers */ = {isa = PBXBuildFile; fileRef = B38FD7BC168953E80065C969 /* FeatureDefines.h */; }; > CD5497AC15857D0300B5BC30 /* MediaTime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CD5497AA15857D0300B5BC30 /* MediaTime.cpp */; }; > CD5497AD15857D0300B5BC30 /* MediaTime.h in Headers */ = {isa = PBXBuildFile; fileRef = CD5497AB15857D0300B5BC30 /* MediaTime.h */; }; > EB95E1F0161A72410089A2F5 /* ByteOrder.h in Headers */ = {isa = PBXBuildFile; fileRef = EB95E1EF161A72410089A2F5 /* ByteOrder.h */; }; >@@ -606,6 +607,7 @@ > A8A4737A151A825B004123FF /* WTFThreadData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WTFThreadData.cpp; sourceTree = "<group>"; }; > A8A4737B151A825B004123FF /* WTFThreadData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WTFThreadData.h; sourceTree = "<group>"; }; > A8A4748B151A8264004123FF /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; }; >+ B38FD7BC168953E80065C969 /* FeatureDefines.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FeatureDefines.h; sourceTree = "<group>"; }; > CD5497AA15857D0300B5BC30 /* MediaTime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MediaTime.cpp; sourceTree = "<group>"; }; > CD5497AB15857D0300B5BC30 /* MediaTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MediaTime.h; sourceTree = "<group>"; }; > EB95E1EF161A72410089A2F5 /* ByteOrder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ByteOrder.h; sourceTree = "<group>"; }; >@@ -671,6 +673,7 @@ > A876DBD6151816E500DADB95 /* wtf */ = { > isa = PBXGroup; > children = ( >+ B38FD7BC168953E80065C969 /* FeatureDefines.h */, > A8A47281151A825A004123FF /* dtoa */, > A8A472C4151A825A004123FF /* mac */, > A8A4731B151A825B004123FF /* text */, >@@ -1248,6 +1251,7 @@ > 0F9D3363165DBA73005AD387 /* PrintStream.h in Headers */, > 0F87105A16643F190090B0AD /* RawPointer.h in Headers */, > 0FDDBFA81666DFA300C55FEF /* StringPrintStream.h in Headers */, >+ B38FD7BD168953E80065C969 /* FeatureDefines.h in Headers */, > ); > runOnlyForDeploymentPostprocessing = 0; > }; >Index: Source/WTF/wtf/CMakeLists.txt >=================================================================== >--- Source/WTF/wtf/CMakeLists.txt (revision 138405) >+++ Source/WTF/wtf/CMakeLists.txt (working copy) >@@ -26,6 +26,7 @@ set(WTF_HEADERS > Encoder.h > FastAllocBase.h > FastMalloc.h >+ FeatureDefines.h > FilePrintStream.h > FixedArray.h > Forward.h >Index: Source/WTF/wtf/FeatureDefines.h >=================================================================== >--- Source/WTF/wtf/FeatureDefines.h (revision 0) >+++ Source/WTF/wtf/FeatureDefines.h (revision 0) >@@ -0,0 +1,741 @@ >+/* >+ * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. >+ * Copyright (C) 2007-2009 Torch Mobile, Inc. >+ * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. >+ * Copyright (C) 2012 Samsung Electronics. All rights reserved. >+ * >+ * Redistribution and use in source and binary forms, with or without >+ * modification, are permitted provided that the following conditions >+ * are met: >+ * 1. Redistributions of source code must retain the above copyright >+ * notice, this list of conditions and the following disclaimer. >+ * 2. Redistributions in binary form must reproduce the above copyright >+ * notice, this list of conditions and the following disclaimer in the >+ * documentation and/or other materials provided with the distribution. >+ * >+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY >+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE >+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR >+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR >+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, >+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, >+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR >+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY >+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT >+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE >+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. >+ */ >+ >+#ifndef WTF_FeatureDefines_h >+#define WTF_FeatureDefines_h >+ >+/* Use this file to list _all_ ENABLE() macros. Define the macros to be one of the following values: >+ * - "0" disables the feature by default. The feature can still be enabled for a specific port or environment. >+ * - "1" enables the feature by default. The feature can still be disabled for a specific port or environment. >+ * - "TBD" by convention means that the feature has no default identified (yet). >+ * Only use TBD as a fallback if you do not find neither 0 nor 1 to be a reasonable default for the project. >+ * >+ * Note that the feature defaults in this file are only taken into account if the (port specific) build system >+ * has not enabled or disabled a particular feature. >+ * >+ * Use this file to define ENABLE() macros only. Do not use this file to define USE() or macros ! >+ * >+ * Only define a macro if it was not defined before - always check for !defined first. >+ * >+ * Note that the file is not necessary sorted by the name of the macros to allow interdependencies between >+ * the defaults. >+ * >+ * Below are a few potential commands to take advantage of this file running from the Source/WTF directory >+ * >+ * Get the list of feature defines: grep -o "ENABLE_\(\w\+\)" wtf/FeatureDefines.h | sort | uniq >+ * Get the list of features enabled by default for a PLATFORM(XXX): gcc -E -dM -I. -DWTF_PLATFORM_XXX "wtf/Platform.h" | grep "ENABLE_\w\+ 1" | cut -d' ' -f2 | sort >+ */ >+ >+#define TBD 0 >+ >+/* ENABLE macro defaults for WebCore */ >+ >+#if !defined(ENABLE_3D_PLUGIN) >+#define ENABLE_3D_PLUGIN TBD >+#endif >+ >+#if !defined(ENABLE_3D_RENDERING) >+#define ENABLE_3D_RENDERING TBD >+#endif >+ >+/* Add other platforms as they update their platfrom specific code to handle TextRun's with 8 bit data. */ >+#if !defined(ENABLE_8BIT_TEXTRUN) >+#if PLATFORM(MAC) >+#define ENABLE_8BIT_TEXTRUN 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_ACCELERATED_2D_CANVAS) >+#define ENABLE_ACCELERATED_2D_CANVAS TBD >+#endif >+ >+#if !defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) >+#define ENABLE_ACCELERATED_OVERFLOW_SCROLLING TBD >+#endif >+ >+#if !defined(ENABLE_BATTERY_STATUS) >+#define ENABLE_BATTERY_STATUS TBD >+#endif >+ >+#if !defined(ENABLE_BLACKBERRY_CREDENTIAL_PERSIST) >+#if PLATFORM(BLACKBERRY) >+#define ENABLE_BLACKBERRY_CREDENTIAL_PERSIST TBD >+#endif >+#endif >+ >+#if !defined(ENABLE_BLACKBERRY_DEBUG_MEMORY) >+#if PLATFORM(BLACKBERRY) >+#define ENABLE_BLACKBERRY_DEBUG_MEMORY TBD >+#endif >+#endif >+ >+#if !defined(ENABLE_BLOB) >+#define ENABLE_BLOB TBD >+#endif >+ >+#if !defined(ENABLE_CALENDAR_PICKER) >+#define ENABLE_CALENDAR_PICKER TBD >+#endif >+ >+#if !defined(ENABLE_CHANNEL_MESSAGING) >+#define ENABLE_CHANNEL_MESSAGING TBD >+#endif >+ >+#if !defined(ENABLE_COMPARE_AND_SWAP) >+#if OS(WINDOWS) || (COMPILER(GCC) && (CPU(X86) || CPU(X86_64) || CPU(ARM_THUMB2))) >+#define ENABLE_COMPARE_AND_SWAP 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_CONTEXT_MENUS) >+#if PLATFORM(IOS) >+#define ENABLE_CONTEXT_MENUS 0 >+#else >+#define ENABLE_CONTEXT_MENUS 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_CSP_NEXT) >+#define ENABLE_CSP_NEXT TBD >+#endif >+ >+#if !defined(ENABLE_CSS3_CONDITIONAL_RULES) >+#define ENABLE_CSS3_CONDITIONAL_RULES TBD >+#endif >+ >+#if !defined(ENABLE_CSS3_TEXT) >+#define ENABLE_CSS3_TEXT TBD >+#endif >+ >+#if !defined(ENABLE_CSS_BOX_DECORATION_BREAK) >+#define ENABLE_CSS_BOX_DECORATION_BREAK TBD >+#endif >+ >+#if !defined(ENABLE_CSS_COMPOSITING) >+#define ENABLE_CSS_COMPOSITING TBD >+#endif >+ >+#if !defined(ENABLE_CSS_FILTERS) >+#define ENABLE_CSS_FILTERS TBD >+#endif >+ >+#if !defined(ENABLE_CSS_IMAGE_ORIENTATION) >+#define ENABLE_CSS_IMAGE_ORIENTATION TBD >+#endif >+ >+#if !defined(ENABLE_CSS_IMAGE_RESOLUTION) >+#define ENABLE_CSS_IMAGE_RESOLUTION TBD >+#endif >+ >+#if !defined(ENABLE_CSS_IMAGE_SET) >+#if PLATFORM(MAC) || PLATFORM(IOS) >+#define ENABLE_CSS_IMAGE_SET 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_CSS_SHADERS) >+#define ENABLE_CSS_SHADERS TBD >+#endif >+ >+#if !defined(ENABLE_CSS_STICKY_POSITION) >+#define ENABLE_CSS_STICKY_POSITION TBD >+#endif >+ >+#if !defined(ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED) >+#define ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED TBD >+#endif >+ >+#if !defined(ENABLE_CSS_VARIABLES) >+#define ENABLE_CSS_VARIABLES TBD >+#endif >+ >+#if !defined(ENABLE_CUSTOM_SCHEME_HANDLER) >+#define ENABLE_CUSTOM_SCHEME_HANDLER TBD >+#endif >+ >+#if !defined(ENABLE_DASHBOARD_SUPPORT) >+#if PLATFORM(MAC) && !PLATFORM(IOS) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070) >+#define ENABLE_DASHBOARD_SUPPORT 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_DATALIST_ELEMENT) >+#define ENABLE_DATALIST_ELEMENT TBD >+#endif >+ >+#if !defined(ENABLE_DATA_TRANSFER_ITEMS) >+#define ENABLE_DATA_TRANSFER_ITEMS TBD >+#endif >+ >+#if !defined(ENABLE_DEBUG_MATH_LAYOUT) >+#define ENABLE_DEBUG_MATH_LAYOUT 0 >+#endif >+ >+#if !defined(ENABLE_DETAILS_ELEMENT) >+#define ENABLE_DETAILS_ELEMENT TBD >+#endif >+ >+#if !defined(ENABLE_DEVICE_ORIENTATION) >+#define ENABLE_DEVICE_ORIENTATION TBD >+#endif >+ >+#if !defined(ENABLE_DIALOG_ELEMENT) >+#define ENABLE_DIALOG_ELEMENT TBD >+#endif >+ >+#if !defined(ENABLE_DIRECTORY_UPLOAD) >+#define ENABLE_DIRECTORY_UPLOAD TBD >+#endif >+ >+#if !defined(ENABLE_DOWNLOAD_ATTRIBUTE) >+#define ENABLE_DOWNLOAD_ATTRIBUTE TBD >+#endif >+ >+#if !defined(ENABLE_DRAGGABLE_REGION) >+#define ENABLE_DRAGGABLE_REGION TBD >+#endif >+ >+#if !defined(ENABLE_DRAG_SUPPORT) >+#if PLATFORM(IOS) >+#define ENABLE_DRAG_SUPPORT 0 >+#else >+#define ENABLE_DRAG_SUPPORT 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_ENCRYPTED_MEDIA) >+#define ENABLE_ENCRYPTED_MEDIA TBD >+#endif >+ >+#if !defined(ENABLE_EVENT_MODE_METATAGS) >+#define ENABLE_EVENT_MODE_METATAGS TBD >+#endif >+ >+#if !defined(ENABLE_FAST_MOBILE_SCROLLING) >+#define ENABLE_FAST_MOBILE_SCROLLING TBD >+#endif >+ >+#if !defined(ENABLE_FILE_SYSTEM) >+#define ENABLE_FILE_SYSTEM TBD >+#endif >+ >+#if !defined(ENABLE_FILTERS) >+#define ENABLE_FILTERS TBD >+#endif >+ >+#if !defined(ENABLE_FTPDIR) >+#define ENABLE_FTPDIR 1 >+#endif >+ >+#if !defined(ENABLE_FULLSCREEN_API) >+#if (PLATFORM(MAC) && !PLATFORM(IOS) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)) || (PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(CHROMIUM) && !PLATFORM(WIN_CAIRO) && !PLATFORM(QT)) >+#define ENABLE_FULLSCREEN_API 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_GAMEPAD) >+#define ENABLE_GAMEPAD TBD >+#endif >+ >+#if !defined(ENABLE_GEOLOCATION) >+#if PLATFORM(IOS) >+#define ENABLE_GEOLOCATION 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_GESTURE_EVENTS) >+#if PLATFORM(MAC) && !PLATFORM(IOS) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070) >+#define ENABLE_GESTURE_EVENTS 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_GLIB_SUPPORT) >+#define ENABLE_GLIB_SUPPORT TBD >+#endif >+ >+/* On OS(DARWIN) for PLATFORM(CHROMIUM) we can't override the global operator new and delete >+ * because some object are allocated by WebKit and deallocated by the embedder. */ >+ >+/* For PLATFORM(QT) we must not customize the global operator new and delete. */ >+#if !defined(ENABLE_GLOBAL_FASTMALLOC_NEW) >+#if (OS(DARWIN) && PLATFORM(CHROMIUM)) || PLATFORM(GTK) || PLATFORM(WX) || PLATFORM(QT) >+#define ENABLE_GLOBAL_FASTMALLOC_NEW 0 >+#else >+#define ENABLE_GLOBAL_FASTMALLOC_NEW 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) >+#define ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING TBD >+#endif >+ >+#if !defined(ENABLE_HIGH_DPI_CANVAS) >+#define ENABLE_HIGH_DPI_CANVAS TBD >+#endif >+ >+#if !defined(ENABLE_ICONDATABASE) >+#if PLATFORM(IOS) >+#define ENABLE_ICONDATABASE 0 >+#else >+#define ENABLE_ICONDATABASE 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_IFRAME_SEAMLESS) >+#define ENABLE_IFRAME_SEAMLESS TBD >+#endif >+ >+#if !defined(ENABLE_IMAGE_DECODER_DOWN_SAMPLING) >+#define ENABLE_IMAGE_DECODER_DOWN_SAMPLING TBD >+#endif >+ >+#if !defined(ENABLE_INDEXED_DATABASE) >+#define ENABLE_INDEXED_DATABASE TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) >+#define ENABLE_INPUT_MULTIPLE_FIELDS_UI TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_SPEECH) >+#define ENABLE_INPUT_SPEECH TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_TYPE_COLOR) >+#define ENABLE_INPUT_TYPE_COLOR TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_TYPE_DATE) >+#define ENABLE_INPUT_TYPE_DATE TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_TYPE_DATETIME) >+#define ENABLE_INPUT_TYPE_DATETIME TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_TYPE_DATETIMELOCAL) >+#define ENABLE_INPUT_TYPE_DATETIMELOCAL TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_TYPE_MONTH) >+#define ENABLE_INPUT_TYPE_MONTH TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_TYPE_TIME) >+#define ENABLE_INPUT_TYPE_TIME TBD >+#endif >+ >+#if !defined(ENABLE_INPUT_TYPE_WEEK) >+#define ENABLE_INPUT_TYPE_WEEK TBD >+#endif >+ >+#if !defined(ENABLE_DATE_AND_TIME_INPUT_TYPES) >+#if ENABLE(INPUT_TYPE_DATE) || ENABLE(INPUT_TYPE_DATETIME) || ENABLE(INPUT_TYPE_DATETIMELOCAL) || ENABLE(INPUT_TYPE_MONTH) || ENABLE(INPUT_TYPE_TIME) || ENABLE(INPUT_TYPE_WEEK) >+#define ENABLE_DATE_AND_TIME_INPUT_TYPES 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_INSPECTOR) >+#define ENABLE_INSPECTOR 1 >+#endif >+ >+#if !defined(ENABLE_JAVASCRIPT_DEBUGGER) >+#define ENABLE_JAVASCRIPT_DEBUGGER 1 >+#endif >+ >+#if !defined(ENABLE_JAVASCRIPT_I18N_API) >+#if PLATFORM(CHROMIUM) >+#define ENABLE_JAVASCRIPT_I18N_API >+#endif >+#endif >+ >+#if !defined(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) >+#define ENABLE_LEGACY_CSS_VENDOR_PREFIXES TBD >+#endif >+ >+#if !defined(ENABLE_LEGACY_NOTIFICATIONS) >+#define ENABLE_LEGACY_NOTIFICATIONS TBD >+#endif >+ >+#if !defined(ENABLE_LEGACY_VENDOR_PREFIXES) >+#define ENABLE_LEGACY_VENDOR_PREFIXES TBD >+#endif >+ >+#if !defined(ENABLE_LEGACY_VIEWPORT_ADAPTION) >+#define ENABLE_LEGACY_VIEWPORT_ADAPTION TBD >+#endif >+ >+#if !defined(ENABLE_LINK_PREFETCH) >+#define ENABLE_LINK_PREFETCH TBD >+#endif >+ >+#if !defined(ENABLE_LINK_PRERENDER) >+#define ENABLE_LINK_PRERENDER TBD >+#endif >+ >+#if !defined(ENABLE_MATHML) >+#define ENABLE_MATHML TBD >+#endif >+ >+#if !defined(ENABLE_MEDIA_CAPTURE) >+#define ENABLE_MEDIA_CAPTURE TBD >+#endif >+ >+#if !defined(ENABLE_MEDIA_SOURCE) >+#define ENABLE_MEDIA_SOURCE TBD >+#endif >+ >+#if !defined(ENABLE_MEDIA_STATISTICS) >+#define ENABLE_MEDIA_STATISTICS TBD >+#endif >+ >+#if !defined(ENABLE_MEDIA_STREAM) >+#define ENABLE_MEDIA_STREAM TBD >+#endif >+ >+#if !defined(ENABLE_METER_ELEMENT) >+#define ENABLE_METER_ELEMENT TBD >+#endif >+ >+#if !defined(ENABLE_MHTML) >+#define ENABLE_MHTML TBD >+#endif >+ >+#if !defined(ENABLE_MICRODATA) >+#define ENABLE_MICRODATA TBD >+#endif >+ >+#if !defined(ENABLE_MOUSE_CURSOR_SCALE) >+#define ENABLE_MOUSE_CURSOR_SCALE TBD >+#endif >+ >+#if !defined(ENABLE_MUTATION_OBSERVERS) >+#define ENABLE_MUTATION_OBSERVERS TBD >+#endif >+ >+#if !defined(ENABLE_NAVIGATOR_CONTENT_UTILS) >+#define ENABLE_NAVIGATOR_CONTENT_UTILS TBD >+#endif >+ >+#if !defined(ENABLE_NETSCAPE_PLUGIN_API) >+#if PLATFORM(IOS) >+#define ENABLE_NETSCAPE_PLUGIN_API 0 >+#else >+#define ENABLE_NETSCAPE_PLUGIN_API 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_NETSCAPE_PLUGIN_METADATA_CACHE) >+#define ENABLE_NETSCAPE_PLUGIN_METADATA_CACHE TBD >+#endif >+ >+#if !defined(ENABLE_NETWORK_INFO) >+#define ENABLE_NETWORK_INFO TBD >+#endif >+ >+#if !defined(ENABLE_NEW_XML) >+#define ENABLE_NEW_XML TBD >+#endif >+ >+#if !defined(ENABLE_NOTIFICATIONS) >+#define ENABLE_NOTIFICATIONS TBD >+#endif >+ >+#if !defined(ENABLE_OBJECT_MARK_LOGGING) >+#define ENABLE_OBJECT_MARK_LOGGING 0 >+#endif >+ >+#if !defined(ENABLE_OPENCL) >+#define ENABLE_OPENCL TBD >+#endif >+ >+#if !defined(ENABLE_OPENTYPE_VERTICAL) >+#define ENABLE_OPENTYPE_VERTICAL TBD >+#endif >+ >+#if !defined(ENABLE_ORIENTATION_EVENTS) >+#if PLATFORM(IOS) >+#define ENABLE_ORIENTATION_EVENTS 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_PAGE_POPUP) >+#define ENABLE_PAGE_POPUP TBD >+#endif >+ >+#if !defined(ENABLE_PAGE_VISIBILITY_API) >+#define ENABLE_PAGE_VISIBILITY_API TBD >+#endif >+ >+#if !defined(ENABLE_PAN_SCROLLING) >+#if OS(WINDOWS) >+#define ENABLE_PAN_SCROLLING 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_PARSED_STYLE_SHEET_CACHING) >+#define ENABLE_PARSED_STYLE_SHEET_CACHING 1 >+#endif >+ >+#if !defined(ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH) >+#if !ENABLE(NETSCAPE_PLUGIN_API) || (ENABLE(NETSCAPE_PLUGIN_API) && ((OS(UNIX) && (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(WX))) || PLATFORM(EFL))) >+#define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_PLUGIN_PROXY_FOR_VIDEO) >+#define ENABLE_PLUGIN_PROXY_FOR_VIDEO TBD >+#endif >+ >+#if !defined(ENABLE_POINTER_LOCK) >+#define ENABLE_POINTER_LOCK TBD >+#endif >+ >+#if !defined(ENABLE_PROGRESS_ELEMENT) >+#define ENABLE_PROGRESS_ELEMENT TBD >+#endif >+ >+#if !defined(ENABLE_PROXIMITY_EVENTS) >+#define ENABLE_PROXIMITY_EVENTS TBD >+#endif >+ >+#if !defined(ENABLE_PURGEABLE_MEMORY) >+#if OS(DARWIN) && !PLATFORM(GTK) && !PLATFORM(QT) >+#define ENABLE_PURGEABLE_MEMORY 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_QUOTA) >+#define ENABLE_QUOTA TBD >+#endif >+ >+#if !defined(ENABLE_REPAINT_THROTTLING) >+#if PLATFORM(IOS) >+#define ENABLE_REPAINT_THROTTLING 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_REQUEST_ANIMATION_FRAME) >+#define ENABLE_REQUEST_ANIMATION_FRAME TBD >+#endif >+ >+#if !defined(ENABLE_REQUEST_AUTOCOMPLETE) >+#define ENABLE_REQUEST_AUTOCOMPLETE TBD >+#endif >+ >+#if !defined(ENABLE_RUBBER_BANDING) >+#if PLATFORM(MAC) && !PLATFORM(IOS) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070) >+#define ENABLE_RUBBER_BANDING 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_SATURATED_LAYOUT_ARITHMETIC) >+#define ENABLE_SATURATED_LAYOUT_ARITHMETIC 0 >+#endif >+ >+#if !defined(ENABLE_SCRIPTED_SPEECH) >+#define ENABLE_SCRIPTED_SPEECH TBD >+#endif >+ >+#if !defined(ENABLE_SHADOW_DOM) >+#define ENABLE_SHADOW_DOM TBD >+#endif >+ >+#if !defined(ENABLE_SHARED_WORKERS) >+#define ENABLE_SHARED_WORKERS TBD >+#endif >+ >+#if !defined(ENABLE_SMOOTH_SCROLLING) >+#if PLATFORM(MAC) && !PLATFORM(IOS) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070) >+#define ENABLE_SMOOTH_SCROLLING 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_SPEECH_INPUT) >+#if PLATFORM(QT) >+#define ENABLE_SPEECH_INPUT TBD >+#endif >+#endif >+ >+#if !defined(ENABLE_SPELLCHECK) >+#define ENABLE_SPELLCHECK TBD >+#endif >+ >+#if !defined(ENABLE_SQL_DATABASE) >+#define ENABLE_SQL_DATABASE 1 >+#endif >+ >+#if !defined(ENABLE_STYLE_SCOPED) >+#define ENABLE_STYLE_SCOPED TBD >+#endif >+ >+#if !defined(ENABLE_SUBPIXEL_LAYOUT) >+#if PLATFORM(CHROMIUM) >+#define ENABLE_SUBPIXEL_LAYOUT 1 >+#else >+#define ENABLE_SUBPIXEL_LAYOUT 0 >+#endif >+#endif >+ >+#if !defined(ENABLE_SVG) >+#define ENABLE_SVG TBD >+#endif >+ >+#if !defined(ENABLE_SVG_DOM_OBJC_BINDINGS) >+#define ENABLE_SVG_DOM_OBJC_BINDINGS TBD >+#endif >+ >+#if !defined(ENABLE_SVG_FONTS) >+#define ENABLE_SVG_FONTS TBD >+#endif >+ >+#if !defined(ENABLE_TEMPLATE_ELEMENT) >+#define ENABLE_TEMPLATE_ELEMENT TBD >+#endif >+ >+#if !defined(ENABLE_TEXT_AUTOSIZING) >+#define ENABLE_TEXT_AUTOSIZING TBD >+#endif >+ >+#if !defined(ENABLE_TEXT_CARET) >+#if !PLATFORM(IOS) >+#define ENABLE_TEXT_CARET 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_TEXT_NOTIFICATIONS_ONLY) >+#if ENABLE(NOTIFICATIONS) && PLATFORM(MAC) >+#define ENABLE_TEXT_NOTIFICATIONS_ONLY 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_THREADED_SCROLLING) >+#if PLATFORM(MAC) && !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 >+#define ENABLE_THREADED_SCROLLING 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H) >+#define ENABLE_THREADING_LIBDISPATCH 1 >+#elif !defined(ENABLE_THREADING_OPENMP) && defined(_OPENMP) >+#define ENABLE_THREADING_OPENMP 1 >+#elif !defined(THREADING_GENERIC) >+#define ENABLE_THREADING_GENERIC 1 >+#endif >+ >+#if !defined(ENABLE_TOUCH_EVENTS) >+#define ENABLE_TOUCH_EVENTS TBD >+#endif >+ >+#if !defined(ENABLE_TOUCH_ICON_LOADING) >+#define ENABLE_TOUCH_ICON_LOADING TBD >+#endif >+ >+#if !defined(ENABLE_VIBRATION) >+#define ENABLE_VIBRATION TBD >+#endif >+ >+#if !defined(ENABLE_VIDEO) >+#define ENABLE_VIDEO TBD >+#endif >+ >+#if !defined(ENABLE_VIDEO_TRACK) >+#if PLATFORM(MAC) && !PLATFORM(IOS) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070) && defined(ENABLE_VIDEO) >+#define ENABLE_VIDEO_TRACK 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_VIEWPORT) >+#define ENABLE_VIEWPORT TBD >+#endif >+ >+#if !defined(ENABLE_VIEWPORT_REFLOW) >+#define ENABLE_VIEWPORT_REFLOW TBD >+#endif >+ >+#if !defined(ENABLE_WEBDOM) >+#if PLATFORM(BLACKBERRY) >+#define ENABLE_WEBDOM TBD >+#endif >+#endif >+ >+#if !defined(ENABLE_WEBGL) >+#define ENABLE_WEBGL TBD >+#endif >+ >+#if !defined(ENABLE_WEB_ARCHIVE) >+#if (PLATFORM(MAC) && !PLATFORM(IOS) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)) || PLATFORM(IOS) || (PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(CHROMIUM) && !PLATFORM(QT)) || (OS(DARWIN) && PLATFORM(WX)) >+#define ENABLE_WEB_ARCHIVE 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_WEB_AUDIO) >+#if PLATFORM(MAC) && !PLATFORM(IOS) && (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1070) >+#define ENABLE_WEB_AUDIO 1 >+#endif >+#endif >+ >+#if !defined(ENABLE_WEB_INTENTS) >+#define ENABLE_WEB_INTENTS TBD >+#endif >+ >+#if !defined(ENABLE_WEB_SOCKETS) >+#define ENABLE_WEB_SOCKETS TBD >+#endif >+ >+#if !defined(ENABLE_WEB_TIMING) >+#define ENABLE_WEB_TIMING TBD >+#endif >+ >+#if !defined(ENABLE_WORKERS) >+#define ENABLE_WORKERS TBD >+#endif >+ >+#if !defined(ENABLE_WTF_MALLOC_VALIDATION) >+#define ENABLE_WTF_MALLOC_VALIDATION TBD >+#endif >+ >+#if !defined(ENABLE_XHR_RESPONSE_BLOB) >+#define ENABLE_XHR_RESPONSE_BLOB TBD >+#endif >+ >+#if !defined(ENABLE_XHR_TIMEOUT) >+#define ENABLE_XHR_TIMEOUT TBD >+#endif >+ >+#if !defined(ENABLE_XSLT) >+#define ENABLE_XSLT TBD >+#endif >+ >+/* Asserts, invariants for macro definitions */ >+ >+#if ENABLE(ENABLE_SATURATED_LAYOUT_ARITHMETIC) && !ENABLE(ENABLE_SUBPIXEL_LAYOUT) >+#error "ENABLE_SATURATED_LAYOUT_ARITHMETIC requires ENABLE_SUBPIXEL_LAYOUT" >+#endif >+ >+#endif /* WTF_FeatureDefines_h */ >Index: Source/WTF/wtf/Platform.h >=================================================================== >--- Source/WTF/wtf/Platform.h (revision 138405) >+++ Source/WTF/wtf/Platform.h (working copy) >@@ -509,7 +509,6 @@ > > #if PLATFORM(GTK) > #define WTF_USE_CAIRO 1 >-#define ENABLE_GLOBAL_FASTMALLOC_NEW 0 > #endif > > >@@ -546,25 +545,13 @@ > #define WTF_USE_PLUGIN_HOST_PROCESS 1 > #endif > #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 >-#define ENABLE_GESTURE_EVENTS 1 >-#define ENABLE_RUBBER_BANDING 1 > #define WTF_USE_SCROLLBAR_PAINTER 1 > #define HAVE_XPC 1 > #endif >-#if !defined(ENABLE_DASHBOARD_SUPPORT) >-#define ENABLE_DASHBOARD_SUPPORT 1 >-#endif > #define WTF_USE_CF 1 > #define WTF_USE_PTHREADS 1 > #define HAVE_READLINE 1 > #define HAVE_RUNLOOP_TIMER 1 >-#define ENABLE_FULLSCREEN_API 1 >-#define ENABLE_SMOOTH_SCROLLING 1 >-#define ENABLE_WEB_ARCHIVE 1 >-#define ENABLE_WEB_AUDIO 1 >-#if defined(ENABLE_VIDEO) >-#define ENABLE_VIDEO_TRACK 1 >-#endif > #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 > #define HAVE_LAYER_HOSTING_IN_WINDOW_SERVER 1 > #endif >@@ -580,9 +567,6 @@ > > #if PLATFORM(CHROMIUM) > #if OS(DARWIN) >-/* We can't override the global operator new and delete on OS(DARWIN) because >- * some object are allocated by WebKit and deallocated by the embedder. */ >-#define ENABLE_GLOBAL_FASTMALLOC_NEW 0 > #else /* !OS(DARWIN) */ > /* On non-OS(DARWIN), the "system malloc" is actually TCMalloc anyway, so there's > * no need to use WebKit's copy of TCMalloc. */ >@@ -598,20 +582,7 @@ > #define WTF_USE_CF 1 > #endif > >-#if OS(DARWIN) && !PLATFORM(GTK) && !PLATFORM(QT) >-#define ENABLE_PURGEABLE_MEMORY 1 >-#endif >- > #if PLATFORM(IOS) >-#define ENABLE_CONTEXT_MENUS 0 >-#define ENABLE_DRAG_SUPPORT 0 >-#define ENABLE_GEOLOCATION 1 >-#define ENABLE_ICONDATABASE 0 >-#define ENABLE_INSPECTOR 1 >-#define ENABLE_NETSCAPE_PLUGIN_API 0 >-#define ENABLE_ORIENTATION_EVENTS 1 >-#define ENABLE_REPAINT_THROTTLING 1 >-#define ENABLE_WEB_ARCHIVE 1 > #define HAVE_READLINE 1 > #define WTF_USE_CF 1 > #define WTF_USE_CFNETWORK 1 >@@ -643,14 +614,6 @@ > #define WTF_USE_CFURLCACHE 1 > #endif > >-#if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(CHROMIUM) && !PLATFORM(QT) >-#define ENABLE_WEB_ARCHIVE 1 >-#endif >- >-#if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(CHROMIUM) && !PLATFORM(WIN_CAIRO) && !PLATFORM(QT) >-#define ENABLE_FULLSCREEN_API 1 >-#endif >- > #if PLATFORM(WX) > #if !CPU(PPC) > #if !defined(ENABLE_ASSEMBLER) >@@ -658,11 +621,9 @@ > #endif > #define ENABLE_JIT 1 > #endif >-#define ENABLE_GLOBAL_FASTMALLOC_NEW 0 > #define ENABLE_LLINT 0 > #if OS(DARWIN) > #define WTF_USE_CF 1 >-#define ENABLE_WEB_ARCHIVE 1 > #endif > #endif > >@@ -779,74 +740,22 @@ > > /* ENABLE macro defaults */ > >+/* FIXME: move out all ENABLE() defines from here to FeatureDefines.h */ >+ >+/* Include feature macros */ >+#include <wtf/FeatureDefines.h> >+ > #if PLATFORM(QT) > /* We must not customize the global operator new and delete for the Qt port. */ >-#define ENABLE_GLOBAL_FASTMALLOC_NEW 0 > #if !OS(UNIX) > #define USE_SYSTEM_MALLOC 1 > #endif > #endif > >-#if !defined(ENABLE_ICONDATABASE) >-#define ENABLE_ICONDATABASE 1 >-#endif >- >-#if !defined(ENABLE_SQL_DATABASE) >-#define ENABLE_SQL_DATABASE 1 >-#endif >- > #if !defined(ENABLE_JAVASCRIPT_DEBUGGER) > #define ENABLE_JAVASCRIPT_DEBUGGER 1 > #endif > >-#if !defined(ENABLE_FTPDIR) >-#define ENABLE_FTPDIR 1 >-#endif >- >-#if !defined(ENABLE_CONTEXT_MENUS) >-#define ENABLE_CONTEXT_MENUS 1 >-#endif >- >-#if !defined(ENABLE_DRAG_SUPPORT) >-#define ENABLE_DRAG_SUPPORT 1 >-#endif >- >-#if !defined(ENABLE_INSPECTOR) >-#define ENABLE_INSPECTOR 1 >-#endif >- >-#if !defined(ENABLE_NETSCAPE_PLUGIN_API) >-#define ENABLE_NETSCAPE_PLUGIN_API 1 >-#endif >- >-#if !defined(ENABLE_GLOBAL_FASTMALLOC_NEW) >-#define ENABLE_GLOBAL_FASTMALLOC_NEW 1 >-#endif >- >-#if !defined(ENABLE_PARSED_STYLE_SHEET_CACHING) >-#define ENABLE_PARSED_STYLE_SHEET_CACHING 1 >-#endif >- >-#if !defined(ENABLE_SUBPIXEL_LAYOUT) >-#if PLATFORM(CHROMIUM) >-#define ENABLE_SUBPIXEL_LAYOUT 1 >-#else >-#define ENABLE_SUBPIXEL_LAYOUT 0 >-#endif >-#endif >- >-#if !defined(ENABLE_SATURATED_LAYOUT_ARITHMETIC) >-#define ENABLE_SATURATED_LAYOUT_ARITHMETIC 0 >-#endif >- >-#if ENABLE(ENABLE_SATURATED_LAYOUT_ARITHMETIC) && !ENABLE(ENABLE_SUBPIXEL_LAYOUT) >-#error "ENABLE_SATURATED_LAYOUT_ARITHMETIC requires ENABLE_SUBPIXEL_LAYOUT" >-#endif >- >-#if ENABLE(INPUT_TYPE_DATE) || ENABLE(INPUT_TYPE_DATETIME) || ENABLE(INPUT_TYPE_DATETIMELOCAL) || ENABLE(INPUT_TYPE_MONTH) || ENABLE(INPUT_TYPE_TIME) || ENABLE(INPUT_TYPE_WEEK) >-#define ENABLE_DATE_AND_TIME_INPUT_TYPES 1 >-#endif >- > #define ENABLE_DEBUG_WITH_BREAKPOINT 0 > #define ENABLE_SAMPLING_COUNTERS 0 > #define ENABLE_SAMPLING_FLAGS 0 >@@ -860,10 +769,6 @@ > #define ENABLE_SAMPLING_THREAD 1 > #endif > >-#if !defined(ENABLE_TEXT_CARET) && !PLATFORM(IOS) >-#define ENABLE_TEXT_CARET 1 >-#endif >- > #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32_64) > #if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS))) \ > || (CPU(IA64) && !CPU(IA64_32)) \ >@@ -1035,15 +940,6 @@ > #endif > #endif > >-#if !defined(ENABLE_PAN_SCROLLING) && OS(WINDOWS) >-#define ENABLE_PAN_SCROLLING 1 >-#endif >- >-/*Add other platforms as they update their platfrom specific code to handle TextRun's with 8 bit data. */ >-#if PLATFORM(MAC) >-#define ENABLE_8BIT_TEXTRUN 1 >-#endif >- > /* Use the QXmlStreamReader implementation for XMLDocumentParser */ > /* Use the QXmlQuery implementation for XSLTProcessor */ > #if PLATFORM(QT) >@@ -1058,10 +954,6 @@ > #define WTF_USE_ACCELERATED_COMPOSITING 1 > #endif > >-#if PLATFORM(MAC) || PLATFORM(IOS) >-#define ENABLE_CSS_IMAGE_SET 1 >-#endif >- > #if ENABLE(WEBGL) && !defined(WTF_USE_3D_GRAPHICS) > #define WTF_USE_3D_GRAPHICS 1 > #endif >@@ -1084,14 +976,6 @@ > #define WTF_USE_PROTECTION_SPACE_AUTH_CALLBACK 1 > #endif > >-#if !ENABLE(NETSCAPE_PLUGIN_API) || (ENABLE(NETSCAPE_PLUGIN_API) && ((OS(UNIX) && (PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(WX))) || PLATFORM(EFL))) >-#define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH 1 >-#endif >- >-#if PLATFORM(MAC) && !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 >-#define ENABLE_THREADED_SCROLLING 1 >-#endif >- > /* Set up a define for a common error that is intended to cause a build error -- thus the space after Error. */ > #define WTF_PLATFORM_CFNETWORK Error USE_macro_should_be_used_with_CFNETWORK > >@@ -1112,14 +996,6 @@ > #define ENABLE_BRANCH_COMPACTION 1 > #endif > >-#if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H) >-#define ENABLE_THREADING_LIBDISPATCH 1 >-#elif !defined(ENABLE_THREADING_OPENMP) && defined(_OPENMP) >-#define ENABLE_THREADING_OPENMP 1 >-#elif !defined(THREADING_GENERIC) >-#define ENABLE_THREADING_GENERIC 1 >-#endif >- > #if ENABLE(GLIB_SUPPORT) > #include <wtf/gobject/GTypedefs.h> > #endif >@@ -1194,10 +1070,6 @@ > #define WTF_USE_JSC 1 > #endif > >-#if ENABLE(NOTIFICATIONS) && PLATFORM(MAC) >-#define ENABLE_TEXT_NOTIFICATIONS_ONLY 1 >-#endif >- > #if !defined(WTF_USE_ZLIB) && !PLATFORM(QT) > #define WTF_USE_ZLIB 1 > #endif >Index: Source/WebCore/ChangeLog >=================================================================== >--- Source/WebCore/ChangeLog (revision 138450) >+++ Source/WebCore/ChangeLog (working copy) >@@ -1,3 +1,20 @@ >+2012-12-24 Laszlo Gombos <l.gombos@samsung.com> >+ >+ Move ENABLE macros for WebCore out from Platform.h and add all the macros from the FeatureFlags wiki >+ https://bugs.webkit.org/show_bug.cgi?id=105735 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Comment out a line that sets a debugging related ENABLE flag. This >+ flag is now set together with all the other ENABLE() flags in >+ FeatureDefines.h. The line is not removed to indicate that for debugging >+ purposes it still make sense to enable the macro only in this file >+ (and not trigger a full rebuild unnecessary). >+ >+ No new tests as there is no new functionality. >+ >+ * rendering/mathml/RenderMathMLBlock.h: >+ > 2012-12-24 Alexei Filippov <alph@chromium.org> > > Web Inspector: add async API for passing renderer process memory stats >Index: Source/WebCore/rendering/mathml/RenderMathMLBlock.h >=================================================================== >--- Source/WebCore/rendering/mathml/RenderMathMLBlock.h (revision 138405) >+++ Source/WebCore/rendering/mathml/RenderMathMLBlock.h (working copy) >@@ -33,7 +33,7 @@ > #include "RenderTable.h" > #include "StyleInheritedData.h" > >-#define ENABLE_DEBUG_MATH_LAYOUT 0 >+// #define ENABLE_DEBUG_MATH_LAYOUT 0 > > namespace WebCore { >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
darin
:
review+
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 105735
:
180699
|
180718
|
183298
|
184875
|
184899
|
188783
|
188920