Hello community,

here is the log from the commit of package kjs for openSUSE:Factory checked in 
at 2019-02-14 14:26:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kjs (Old)
 and      /work/SRC/openSUSE:Factory/.kjs.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kjs"

Thu Feb 14 14:26:51 2019 rev:62 rq:674252 version:5.55.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kjs/kjs.changes  2019-01-21 10:21:08.606027543 
+0100
+++ /work/SRC/openSUSE:Factory/.kjs.new.28833/kjs.changes       2019-02-14 
14:26:52.507832016 +0100
@@ -1,0 +2,12 @@
+Sun Feb 10 22:03:12 UTC 2019 - lbeltr...@kde.org
+
+- Update to 5.55.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.55.0.php
+- Changes since 5.54.0:
+  * Use even more nullptr
+  * Set SKIP_AUTOMOC for some generated files, to deal with CMP0071
+  * Use more nullptr
+
+-------------------------------------------------------------------

Old:
----
  kjs-5.54.0.tar.xz

New:
----
  kjs-5.55.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kjs.spec ++++++
--- /var/tmp/diff_new_pack.TJEuIc/_old  2019-02-14 14:26:52.983831794 +0100
+++ /var/tmp/diff_new_pack.TJEuIc/_new  2019-02-14 14:26:52.983831794 +0100
@@ -17,14 +17,14 @@
 
 
 %define sonum   5
-%define _tar_path 5.54
+%define _tar_path 5.55
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without lang
 Name:           kjs
-Version:        5.54.0
+Version:        5.55.0
 Release:        0
 Summary:        KDE Javascript engine
 License:        LGPL-2.1-or-later

++++++ kjs-5.54.0.tar.xz -> kjs-5.55.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/CMakeLists.txt 
new/kjs-5.55.0/CMakeLists.txt
--- old/kjs-5.54.0/CMakeLists.txt       2019-01-06 21:24:22.000000000 +0100
+++ new/kjs-5.55.0/CMakeLists.txt       2019-02-03 00:59:33.000000000 +0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.54.0") # handled by release scripts
+set(KF5_VERSION "5.55.0") # handled by release scripts
 project(KJS VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.54.0  NO_MODULE)
+find_package(ECM 5.55.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -30,7 +30,7 @@
 # Most of KJS doesn't even require Qt, thus we can't use override 
 string(REPLACE "-Wsuggest-override" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
 
-set(REQUIRED_QT_VERSION 5.9.0)
+set(REQUIRED_QT_VERSION 5.10.0)
 find_package(Qt5Core ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
 
 find_package(Perl)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/CMakeLists.txt 
new/kjs-5.55.0/src/kjs/CMakeLists.txt
--- old/kjs-5.54.0/src/kjs/CMakeLists.txt       2019-01-06 21:24:22.000000000 
+0100
+++ new/kjs-5.55.0/src/kjs/CMakeLists.txt       2019-02-03 00:59:33.000000000 
+0100
@@ -85,6 +85,11 @@
           ${CMAKE_CURRENT_SOURCE_DIR}/bytecode/opcodes.h.in
           ${CMAKE_CURRENT_SOURCE_DIR}/bytecode/machine.cpp.in
 )
+set_source_files_properties(
+   ${CMAKE_CURRENT_BINARY_DIR}/opcodes.cpp
+   ${CMAKE_CURRENT_BINARY_DIR}/machine.cpp
+   PROPERTIES SKIP_AUTOMOC TRUE
+)
 
 ########### next target ###############
 
@@ -98,10 +103,14 @@
 
 macro(CREATE_LUT _srcs_LIST _in_FILE _out_FILE _dep_FILE)
 
-   add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
-      COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} 
${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} -i > 
${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}
+   set(_out_FILE "${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE}")
+   add_custom_command(OUTPUT ${_out_FILE}
+      COMMAND ${PERL_EXECUTABLE} ${CREATE_HASH_TABLE} 
${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} -i > ${_out_FILE}
       DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_in_FILE} )
-   set( ${_srcs_LIST}  ${${_srcs_LIST}} 
${CMAKE_CURRENT_BINARY_DIR}/${_out_FILE})
+
+   set_source_files_properties(${_out_FILE} PROPERTIES SKIP_AUTOMOC TRUE)
+
+   set( ${_srcs_LIST}  ${${_srcs_LIST}} ${_out_FILE})
 endmacro(CREATE_LUT)
 
 create_lut(kjs_LIB_SRCS date_object.cpp date_object.lut.h date_object.cpp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/bytecode/codes.def 
new/kjs-5.55.0/src/kjs/bytecode/codes.def
--- old/kjs-5.54.0/src/kjs/bytecode/codes.def   2019-01-06 21:24:22.000000000 
+0100
+++ new/kjs-5.55.0/src/kjs/bytecode/codes.def   2019-02-03 00:59:33.000000000 
+0100
@@ -429,7 +429,7 @@
 
 operation ContBreakInTryFinally {
     impl void (addr dest) [[
-        exec->setAbruptCompletion(Completion(Continue /*or break, doesn't 
matter*/, 0, dest));
+        exec->setAbruptCompletion(Completion(Continue /*or break, doesn't 
matter*/, nullptr, dest));
     ]]
 }
 
@@ -1259,7 +1259,7 @@
 operation EvalFuncExpr {
     impl value(ident ident, node body) [[
         bool named = !ident->isNull();
-        JSObject *functionScopeObject = 0;
+        JSObject *functionScopeObject = nullptr;
 
         if (named) {
             // named FunctionExpressions can recursively call themselves,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kjs-5.54.0/src/kjs/bytecode/generator/tablebuilder.cpp 
new/kjs-5.55.0/src/kjs/bytecode/generator/tablebuilder.cpp
--- old/kjs-5.54.0/src/kjs/bytecode/generator/tablebuilder.cpp  2019-01-06 
21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/kjs/bytecode/generator/tablebuilder.cpp  2019-02-03 
00:59:33.000000000 +0100
@@ -99,7 +99,7 @@
         for (unsigned v = 0; v < variants.size(); ++v) {
             out(OpCpp) << "&opsForOpCodes[OpByteCode_" << variants[v] << "], ";
         }
-        out(OpCpp) << "0};\n";
+        out(OpCpp) << "nullptr};\n";
     }
     out(OpCpp) << "\n";
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/bytecode/generator/types.cpp 
new/kjs-5.55.0/src/kjs/bytecode/generator/types.cpp
--- old/kjs-5.54.0/src/kjs/bytecode/generator/types.cpp 2019-01-06 
21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/kjs/bytecode/generator/types.cpp 2019-02-03 
00:59:33.000000000 +0100
@@ -112,7 +112,7 @@
         out(OpCpp) << "    case Conv_" << inf.name << ":\n";
         out(OpCpp) << "        out.type = OpType_" << inf.to.name << ";\n";
         out(OpCpp) << "        out.value." << inf.to.field() << " = "
-                   << "convert" << inf.name << "(0, "
+                   << "convert" << inf.name << "(nullptr, "
                    << "original->value." << inf.from.field() << ");\n";
 
         out(OpCpp) << "        break;\n";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/bytecode/machine.cpp.in 
new/kjs-5.55.0/src/kjs/bytecode/machine.cpp.in
--- old/kjs-5.54.0/src/kjs/bytecode/machine.cpp.in      2019-01-06 
21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/kjs/bytecode/machine.cpp.in      2019-02-03 
00:59:33.000000000 +0100
@@ -182,7 +182,7 @@
     FunctionBodyNode* body = static_cast<FunctionBodyNode*>(n);
     Debugger* dbg = exec->dynamicInterpreter()->debugger();
     List args;
-    FunctionImp* fn = 0;
+    FunctionImp* fn = nullptr;
 
     // Find the activation that contains arguments, fn
     const ScopeChain& chain = exec->scopeChain();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/bytecode/opcodes.cpp.in 
new/kjs-5.55.0/src/kjs/bytecode/opcodes.cpp.in
--- old/kjs-5.54.0/src/kjs/bytecode/opcodes.cpp.in      2019-01-06 
21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/kjs/bytecode/opcodes.cpp.in      2019-02-03 
00:59:33.000000000 +0100
@@ -192,16 +192,16 @@
 
     switch (val->type) {
     case OpType_bool:
-        emitOp(comp, Op_RegPutBool, 0, regNum, val);
+        emitOp(comp, Op_RegPutBool, nullptr, regNum, val);
         break;
     case OpType_int32:
-        emitOp(comp, Op_RegPutInt32, 0, regNum, val);
+        emitOp(comp, Op_RegPutInt32, nullptr, regNum, val);
         break;
     case OpType_value:
-        emitOp(comp, Op_RegPutValue, 0, regNum, val);
+        emitOp(comp, Op_RegPutValue, nullptr, regNum, val);
         break;
     case OpType_number:
-        emitOp(comp, Op_RegPutNumber, 0, regNum, val);
+        emitOp(comp, Op_RegPutNumber, nullptr, regNum, val);
         break;
     default:
         fprintf(stderr, "Don't know how to store type to register:%s\n", 
OpTypeVals[val->type]);
@@ -219,7 +219,7 @@
     CodeBlock& block = comp->codeBlock();
     const Op* const* cands = opSpecializations[baseInstr];
 
-    const Op* cheapest = 0;
+    const Op* cheapest = nullptr;
     int    cheapestCost = 0;
     ConvOp cheapestConvOps[4] = {Conv_NoConversion, Conv_NoConversion, 
Conv_NoConversion};
 
@@ -383,7 +383,7 @@
         break;
     case OpType_value:
         // Immediate value -- should go through JSImmediate stuff..
-        std::fprintf(stderr, "<ival:%s>", 
reinterpret_cast<WideArg*>(block.data() + 
offset)->valueVal->toString(0).ascii());
+        std::fprintf(stderr, "<ival:%s>", 
reinterpret_cast<WideArg*>(block.data() + 
offset)->valueVal->toString(nullptr).ascii());
         break;
     case OpType_ident:
         std::fprintf(stderr, "%s", reinterpret_cast<WideArg*>(block.data() + 
offset)->identVal->ustring().ascii());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/bytecode/opcodes.h.in 
new/kjs-5.55.0/src/kjs/bytecode/opcodes.h.in
--- old/kjs-5.54.0/src/kjs/bytecode/opcodes.h.in        2019-01-06 
21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/kjs/bytecode/opcodes.h.in        2019-02-03 
00:59:33.000000000 +0100
@@ -105,8 +105,8 @@
     // All of these emit the instruction of given type, and return its base.
     // If retVal isn't 0, the return value will be placed there
     static Addr emitOp(CompileState* comp, OpName baseInstr,
-                       OpValue* retOut = 0, OpValue* a0 = 0, OpValue* a1 = 0,
-                                            OpValue* a2 = 0, OpValue* a3 = 0);
+                       OpValue* retOut = nullptr, OpValue* a0 = nullptr, 
OpValue* a1 = nullptr,
+                                            OpValue* a2 = nullptr, OpValue* a3 
= nullptr);
 
     static void emitConvertTo(CompileState* comp, OpValue* in,
                               OpType outType, OpValue* out);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/collector.cpp 
new/kjs-5.55.0/src/kjs/collector.cpp
--- old/kjs-5.54.0/src/kjs/collector.cpp        2019-01-06 21:24:22.000000000 
+0100
+++ new/kjs-5.55.0/src/kjs/collector.cpp        2019-02-03 00:59:33.000000000 
+0100
@@ -507,7 +507,7 @@
     thr_stksegment(&s);
     return s.ss_sp;
     // NOTREACHED
-    void *stackBase = 0;
+    void *stackBase = nullptr;
 #elif PLATFORM(UNIX)
     static void *stackBase = nullptr;
     static pthread_t stackThread;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/create_hash_table 
new/kjs-5.55.0/src/kjs/create_hash_table
--- old/kjs-5.54.0/src/kjs/create_hash_table    2019-01-06 21:24:22.000000000 
+0100
+++ new/kjs-5.55.0/src/kjs/create_hash_table    2019-02-03 00:59:33.000000000 
+0100
@@ -237,7 +237,7 @@
   if ($hashsize eq 0) {
     # To make the hash table lookup code fast, we don't allow tables of size 0.
     # That way it can do a modulo by the size without a special case to avoid 
division by 0.
-    print "   \{ 0, 0, 0, 0, 0 \}\n";
+    print "   \{ nullptr, 0, 0, 0, nullptr \}\n";
     $hashsize = 1;
     $size = 1;
   } else {
@@ -256,11 +256,11 @@
         if (defined($links[$i])) {
           print "&" . $nameEntries . "[" . $links[$i] . "]" . " \}";
         } else {
-          print "0 \}"
+          print "nullptr \}"
         }
         print "/* " . $hashes[$entry] . " */ ";
       } else {
-        print "   \{ 0, 0, 0, 0, 0 \}";
+        print "   \{ nullptr, 0, 0, 0, nullptr \}";
       }
       print "," unless ($i == $size - 1);
       print "\n";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/kjs/lookup.h 
new/kjs-5.55.0/src/kjs/lookup.h
--- old/kjs-5.54.0/src/kjs/lookup.h     2019-01-06 21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/kjs/lookup.h     2019-02-03 00:59:33.000000000 +0100
@@ -379,8 +379,8 @@
     };
 
 #define 
KJS_IMPLEMENT_PROTOTYPE_IMP(ClassName,ClassProto,ClassFunc,ClassProtoProto) \
-    const KJS::ClassInfo ClassProto::info = { ClassName, 0, 
&ClassProto##Table, 0 }; \
-    KJS::Identifier* ClassProto::s_name = 0; \
+    const KJS::ClassInfo ClassProto::info = { ClassName, nullptr, 
&ClassProto##Table, nullptr }; \
+    KJS::Identifier* ClassProto::s_name = nullptr; \
     KJS::JSObject *ClassProto::self(KJS::ExecState *exec) \
     { \
         return KJS_CACHEGLOBALOBJECT_NS cacheGlobalObject<ClassProto>(exec, 
*name()); \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/wtf/HashTable.h 
new/kjs-5.55.0/src/wtf/HashTable.h
--- old/kjs-5.54.0/src/wtf/HashTable.h  2019-01-06 21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/wtf/HashTable.h  2019-02-03 00:59:33.000000000 +0100
@@ -1193,9 +1193,9 @@
     const_iterator *next;
     for (const_iterator *p = m_iterators; p; p = next) {
         next = p->m_next;
-        p->m_table = 0;
-        p->m_next = 0;
-        p->m_previous = 0;
+        p->m_table = nullptr;
+        p->m_next = nullptr;
+        p->m_previous = nullptr;
     }
     m_iterators = 0;
 }
@@ -1205,11 +1205,11 @@
                  HashTableConstIterator<Key, Value, Extractor, HashFunctions, 
Traits, KeyTraits> *it)
 {
     it->m_table = table;
-    it->m_previous = 0;
+    it->m_previous = nullptr;
 
     // Insert iterator at head of doubly-linked list of iterators.
     if (!table) {
-        it->m_next = 0;
+        it->m_next = nullptr;
     } else {
         ASSERT(table->m_iterators != it);
         it->m_next = table->m_iterators;
@@ -1246,9 +1246,9 @@
         }
     }
 
-    it->m_table = 0;
-    it->m_next = 0;
-    it->m_previous = 0;
+    it->m_table = nullptr;
+    it->m_next = nullptr;
+    it->m_previous = nullptr;
 }
 
 #endif // CHECK_HASHTABLE_ITERATORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/wtf/OwnArrayPtr.h 
new/kjs-5.55.0/src/wtf/OwnArrayPtr.h
--- old/kjs-5.54.0/src/wtf/OwnArrayPtr.h        2019-01-06 21:24:22.000000000 
+0100
+++ new/kjs-5.55.0/src/wtf/OwnArrayPtr.h        2019-02-03 00:59:33.000000000 
+0100
@@ -44,7 +44,7 @@
     T *release()
     {
         T *ptr = m_ptr;
-        m_ptr = 0;
+        m_ptr = nullptr;
         return ptr;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/wtf/OwnPtr.h 
new/kjs-5.55.0/src/wtf/OwnPtr.h
--- old/kjs-5.54.0/src/wtf/OwnPtr.h     2019-01-06 21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/wtf/OwnPtr.h     2019-02-03 00:59:33.000000000 +0100
@@ -31,7 +31,7 @@
 template <typename T> class OwnPtr : Noncopyable
 {
 public:
-    explicit OwnPtr(T *ptr = 0) : m_ptr(ptr) { }
+    explicit OwnPtr(T *ptr = nullptr) : m_ptr(ptr) { }
     ~OwnPtr()
     {
         safeDelete();
@@ -44,7 +44,7 @@
     T *release()
     {
         T *ptr = m_ptr;
-        m_ptr = 0;
+        m_ptr = nullptr;
         return ptr;
     }
 
@@ -57,7 +57,7 @@
     void clear()
     {
         safeDelete();
-        m_ptr = 0;
+        m_ptr = nullptr;
     }
 
     T &operator*() const
@@ -80,7 +80,7 @@
     typedef T *(OwnPtr::*UnspecifiedBoolType)() const;
     operator UnspecifiedBoolType() const
     {
-        return m_ptr ? &OwnPtr::get : 0;
+        return m_ptr ? &OwnPtr::get : nullptr;
     }
 
     void swap(OwnPtr &o)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/wtf/PassRefPtr.h 
new/kjs-5.55.0/src/wtf/PassRefPtr.h
--- old/kjs-5.54.0/src/wtf/PassRefPtr.h 2019-01-06 21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/wtf/PassRefPtr.h 2019-02-03 00:59:33.000000000 +0100
@@ -33,7 +33,7 @@
 template<typename T> class PassRefPtr
 {
 public:
-    PassRefPtr() : m_ptr(0) {}
+    PassRefPtr() : m_ptr(nullptr) {}
     PassRefPtr(T *ptr) : m_ptr(ptr)
     {
         if (ptr) {
@@ -71,7 +71,7 @@
     {
         if (T *ptr = m_ptr) {
             ptr->deref();
-        } m_ptr = 0;
+        } m_ptr = nullptr;
     }
     T *releaseRef() const
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/wtf/RefPtr.h 
new/kjs-5.55.0/src/wtf/RefPtr.h
--- old/kjs-5.54.0/src/wtf/RefPtr.h     2019-01-06 21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/wtf/RefPtr.h     2019-02-03 00:59:33.000000000 +0100
@@ -86,7 +86,7 @@
     {
         if (T *ptr = m_ptr) {
             ptr->deref();
-        } m_ptr = 0;
+        } m_ptr = nullptr;
     }
     PassRefPtr<T> release()
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/wtf/SharedPtr.h 
new/kjs-5.55.0/src/wtf/SharedPtr.h
--- old/kjs-5.54.0/src/wtf/SharedPtr.h  2019-01-06 21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/wtf/SharedPtr.h  2019-02-03 00:59:33.000000000 +0100
@@ -29,7 +29,7 @@
 template <class T> class SharedPtr
 {
 public:
-    SharedPtr() : m_ptr(0) {}
+    SharedPtr() : m_ptr(nullptr) {}
     SharedPtr(T *ptr) : m_ptr(ptr)
     {
         if (ptr) {
@@ -59,11 +59,11 @@
     // FIXME: Deprecate in favor of operators below, then remove?
     bool isNull() const
     {
-        return m_ptr == 0;
+        return m_ptr == nullptr;
     }
     bool notNull() const
     {
-        return m_ptr != 0;
+        return m_ptr != nullptr;
     }
 
     // FIXME: Deprecate in favor of operator=, then remove?
@@ -71,7 +71,7 @@
     {
         if (T *ptr = m_ptr) {
             ptr->deref();
-        } m_ptr = 0;
+        } m_ptr = nullptr;
     }
     void reset(T *o)
     {
@@ -98,11 +98,11 @@
 
     bool operator!() const
     {
-        return m_ptr == 0;
+        return m_ptr == nullptr;
     }
     operator bool() const
     {
-        return m_ptr != 0;
+        return m_ptr != nullptr;
     }
 
     SharedPtr &operator=(const SharedPtr &);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kjs-5.54.0/src/wtf/Vector.h 
new/kjs-5.55.0/src/wtf/Vector.h
--- old/kjs-5.54.0/src/wtf/Vector.h     2019-01-06 21:24:22.000000000 +0100
+++ new/kjs-5.55.0/src/wtf/Vector.h     2019-02-03 00:59:33.000000000 +0100
@@ -271,7 +271,7 @@
     T *releaseBuffer()
     {
         T *buffer = m_buffer;
-        m_buffer = 0;
+        m_buffer = nullptr;
         m_capacity = 0;
         return buffer;
     }
@@ -382,7 +382,7 @@
     T *releaseBuffer()
     {
         if (buffer() == inlineBuffer()) {
-            return 0;
+            return nullptr;
         }
         return Base::releaseBuffer();
     }


Reply via email to