+2013-09-12 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ Remove home-brewed nullptr
+ https://bugs.webkit.org/show_bug.cgi?id=119624
+
+ Reviewed by Anders Carlsson.
+
+ The standard C++11 nullptr and std::nullptr_t type should be used now.
+
+ * heap/PassWeak.h:
+ * heap/Weak.h:
+
2013-09-11 Filip Pizlo <fpizlo@apple.com>
Rename initInteger() to initInt32()
#include "JSCell.h"
#include "WeakSetInlines.h"
+#include <cstddef>
#include <wtf/Assertions.h>
-#include <wtf/NullPtr.h>
namespace JSC {
#ifndef Weak_h
#define Weak_h
+#include <cstddef>
#include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
namespace JSC {
+2013-09-12 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ Remove home-brewed nullptr
+ https://bugs.webkit.org/show_bug.cgi?id=119624
+
+ Reviewed by Anders Carlsson.
+
+ The standard C++11 nullptr and std::nullptr_t type should be used now.
+
+ * GNUmakefile.list.am:
+ * WTF.pro:
+ * WTF.vcxproj/WTF.vcxproj:
+ * WTF.vcxproj/WTF.vcxproj.filters:
+ * WTF.xcodeproj/project.pbxproj:
+ * wtf/CMakeLists.txt:
+ * wtf/NullPtr.cpp: Removed.
+ * wtf/NullPtr.h: Removed.
+ * wtf/OwnArrayPtr.h:
+ * wtf/OwnPtr.h:
+ * wtf/PassOwnPtr.h:
+ * wtf/PassRefPtr.h:
+ * wtf/RetainPtr.h:
+ * wtf/win/GDIObject.h:
+
2013-09-11 Anders Carlsson <andersca@apple.com>
Use the new C++11 function declaration syntax throughout our hash collection classes
Source/WTF/wtf/NeverDestroyed.h \
Source/WTF/wtf/NoLock.h \
Source/WTF/wtf/Noncopyable.h \
- Source/WTF/wtf/NullPtr.h \
Source/WTF/wtf/NumberOfCores.cpp \
Source/WTF/wtf/NumberOfCores.h \
Source/WTF/wtf/RAMSize.cpp \
MetaAllocatorHandle.h \
Ref.h \
Noncopyable.h \
- NullPtr.h \
NumberOfCores.h \
RAMSize.h \
OSAllocator.h \
MainThread.cpp \
MediaTime.cpp \
MetaAllocator.cpp \
- NullPtr.cpp \
NumberOfCores.cpp \
RAMSize.cpp \
OSRandomSource.cpp \
<ClCompile Include="..\wtf\MD5.cpp" />\r
<ClCompile Include="..\wtf\MediaTime.cpp" />\r
<ClCompile Include="..\wtf\MetaAllocator.cpp" />\r
- <ClCompile Include="..\wtf\NullPtr.cpp" />\r
<ClCompile Include="..\wtf\NumberOfCores.cpp" />\r
<ClCompile Include="..\wtf\OSAllocatorWin.cpp" />\r
<ClCompile Include="..\wtf\OSRandomSource.cpp" />\r
<ClInclude Include="..\wtf\MetaAllocatorHandle.h" />\r
<ClInclude Include="..\wtf\NeverDestroyed.h" />\r
<ClInclude Include="..\wtf\Noncopyable.h" />\r
- <ClInclude Include="..\wtf\NullPtr.h" />\r
<ClInclude Include="..\wtf\NumberOfCores.h" />\r
<ClInclude Include="..\wtf\OSRandomSource.h" />\r
<ClInclude Include="..\wtf\OwnArrayPtr.h" />\r
<ClCompile Include="..\wtf\MetaAllocator.cpp">\r
<Filter>wtf</Filter>\r
</ClCompile>\r
- <ClCompile Include="..\wtf\NullPtr.cpp">\r
- <Filter>wtf</Filter>\r
- </ClCompile>\r
<ClCompile Include="..\wtf\NumberOfCores.cpp">\r
<Filter>wtf</Filter>\r
</ClCompile>\r
<ClInclude Include="..\wtf\Noncopyable.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\wtf\NullPtr.h">\r
- <Filter>wtf</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\wtf\NumberOfCores.h">\r
<Filter>wtf</Filter>\r
</ClInclude>\r
A8A473ED151A825B004123FF /* MetaAllocator.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472CE151A825B004123FF /* MetaAllocator.h */; };
A8A473EE151A825B004123FF /* MetaAllocatorHandle.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472CF151A825B004123FF /* MetaAllocatorHandle.h */; };
A8A473EF151A825B004123FF /* Noncopyable.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D0151A825B004123FF /* Noncopyable.h */; };
- A8A473F2151A825B004123FF /* NullPtr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A472D3151A825B004123FF /* NullPtr.cpp */; };
- A8A473F3151A825B004123FF /* NullPtr.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D4151A825B004123FF /* NullPtr.h */; };
A8A473F4151A825B004123FF /* NumberOfCores.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8A472D5151A825B004123FF /* NumberOfCores.cpp */; };
A8A473F5151A825B004123FF /* NumberOfCores.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D6151A825B004123FF /* NumberOfCores.h */; };
A8A473F6151A825B004123FF /* OSAllocator.h in Headers */ = {isa = PBXBuildFile; fileRef = A8A472D7151A825B004123FF /* OSAllocator.h */; };
A8A472CE151A825B004123FF /* MetaAllocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MetaAllocator.h; sourceTree = "<group>"; };
A8A472CF151A825B004123FF /* MetaAllocatorHandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MetaAllocatorHandle.h; sourceTree = "<group>"; };
A8A472D0151A825B004123FF /* Noncopyable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Noncopyable.h; sourceTree = "<group>"; };
- A8A472D3151A825B004123FF /* NullPtr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NullPtr.cpp; sourceTree = "<group>"; };
- A8A472D4151A825B004123FF /* NullPtr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NullPtr.h; sourceTree = "<group>"; };
A8A472D5151A825B004123FF /* NumberOfCores.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NumberOfCores.cpp; sourceTree = "<group>"; };
A8A472D6151A825B004123FF /* NumberOfCores.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NumberOfCores.h; sourceTree = "<group>"; };
A8A472D7151A825B004123FF /* OSAllocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OSAllocator.h; sourceTree = "<group>"; };
26299B6D17A9E5B800ADEBE5 /* Ref.h */,
0F0D85B317234CB100338210 /* NoLock.h */,
A8A472D0151A825B004123FF /* Noncopyable.h */,
- A8A472D3151A825B004123FF /* NullPtr.cpp */,
- A8A472D4151A825B004123FF /* NullPtr.h */,
A8A472D5151A825B004123FF /* NumberOfCores.cpp */,
A8A472D6151A825B004123FF /* NumberOfCores.h */,
7E29C33D15FFD79B00516D61 /* ObjcRuntimeExtras.h */,
A8A473EE151A825B004123FF /* MetaAllocatorHandle.h in Headers */,
0F0D85B417234CC100338210 /* NoLock.h in Headers */,
A8A473EF151A825B004123FF /* Noncopyable.h in Headers */,
- A8A473F3151A825B004123FF /* NullPtr.h in Headers */,
A8A473F5151A825B004123FF /* NumberOfCores.h in Headers */,
7E29C33E15FFD79B00516D61 /* ObjcRuntimeExtras.h in Headers */,
A8A473F6151A825B004123FF /* OSAllocator.h in Headers */,
A8A473E9151A825B004123FF /* MD5.cpp in Sources */,
CD5497AC15857D0300B5BC30 /* MediaTime.cpp in Sources */,
A8A473EC151A825B004123FF /* MetaAllocator.cpp in Sources */,
- A8A473F2151A825B004123FF /* NullPtr.cpp in Sources */,
A8A473F4151A825B004123FF /* NumberOfCores.cpp in Sources */,
A8A473F7151A825B004123FF /* OSAllocatorPosix.cpp in Sources */,
A8A473F9151A825B004123FF /* OSRandomSource.cpp in Sources */,
ThreadRestrictionVerifier.h
Ref.h
Noncopyable.h
- NullPtr.h
NumberOfCores.h
RAMSize.h
OSAllocator.h
MainThread.cpp
MediaTime.cpp
MetaAllocator.cpp
- NullPtr.cpp
OSRandomSource.cpp
NumberOfCores.cpp
RAMSize.cpp
+++ /dev/null
-/*
-
-Copyright (C) 2010 Apple Inc. 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 INC. AND ITS CONTRIBUTORS ``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 INC. OR ITS 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.
-
-*/
-
-#include "config.h"
-#include "NullPtr.h"
-
-#if !(COMPILER_SUPPORTS(CXX_NULLPTR) || defined(_LIBCPP_VERSION))
-
-std::nullptr_t nullptr;
-
-#endif
+++ /dev/null
-/*
-
-Copyright (C) 2010 Apple Inc. 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 INC. AND ITS CONTRIBUTORS ``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 INC. OR ITS 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 NullPtr_h
-#define NullPtr_h
-
-// For compilers and standard libraries that do not yet include it, this adds the
-// nullptr_t type and nullptr object. They are defined in the same namespaces they
-// would be in compiler and library that had the support.
-
-#include <ciso646>
-
-#if COMPILER_SUPPORTS(CXX_NULLPTR) || defined(_LIBCPP_VERSION)
-
-#include <cstddef>
-
-// libstdc++ supports nullptr_t starting with gcc 4.6.
-#if defined(__GLIBCXX__) && __GLIBCXX__ < 20110325
-namespace std {
-typedef decltype(nullptr) nullptr_t;
-}
-#endif
-
-#else
-
-namespace std {
-class WTF_EXPORT_PRIVATE nullptr_t { };
-}
-extern WTF_EXPORT_PRIVATE std::nullptr_t nullptr;
-
-#endif
-
-#endif
#include <wtf/Assertions.h>
#include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
#include <algorithm>
+#include <cstddef>
namespace WTF {
#include <wtf/Assertions.h>
#include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
#include <wtf/OwnPtrCommon.h>
#include <algorithm>
+#include <cstddef>
#include <memory>
namespace WTF {
#ifndef WTF_PassOwnPtr_h
#define WTF_PassOwnPtr_h
+#include <cstddef>
#include <wtf/Assertions.h>
-#include <wtf/NullPtr.h>
#include <wtf/OwnPtrCommon.h>
#include <type_traits>
#ifndef WTF_PassRefPtr_h
#define WTF_PassRefPtr_h
+#include <cstddef>
#include <wtf/Assertions.h>
-#include <wtf/NullPtr.h>
namespace WTF {
#if USE(CF) || defined(__OBJC__)
#include <wtf/HashTraits.h>
-#include <wtf/NullPtr.h>
#include <algorithm>
+#include <cstddef>
#if USE(CF)
#include <CoreFoundation/CoreFoundation.h>
#define GDIObject_h
#include <algorithm>
+#include <cstddef>
#include <memory>
#include <wtf/Assertions.h>
#include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
namespace WTF {
+2013-09-12 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ Remove home-brewed nullptr
+ https://bugs.webkit.org/show_bug.cgi?id=119624
+
+ Reviewed by Anders Carlsson.
+
+ The standard C++11 nullptr and std::nullptr_t type should be used now.
+
+ * bindings/js/JSDOMBinding.h:
+
2013-09-12 Samuel White <samuel_white@apple.com>
<meter> element text value exposed as AXTitle; should be exposing AXValueDescription
#include "ScriptWrappable.h"
#include "ScriptWrappableInlines.h"
#include "WebCoreTypedArrayController.h"
+#include <cstddef>
#include <heap/Weak.h>
#include <heap/WeakInlines.h>
#include <runtime/Error.h>
#include <runtime/TypedArrays.h>
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
-#include <wtf/NullPtr.h>
#include <wtf/Vector.h>
namespace JSC {
+2013-09-12 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
+
+ Remove home-brewed nullptr
+ https://bugs.webkit.org/show_bug.cgi?id=119624
+
+ Reviewed by Anders Carlsson.
+
+ The standard C++11 nullptr and std::nullptr_t type should be used now.
+
+ * tests/UnitTestUtils/EWKTestView.cpp:
+
2013-09-10 Marcelo Morais <m.morais@samsung.com>
[EFL] WebInspector: Move to new webinspector
#include "EWKTestView.h"
#include <EWebKit.h>
-#include <wtf/NullPtr.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/RefPtr.h>