1 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h~ 2015-05-07 16:14:48.000000000 +0200
2 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h 2019-09-14 17:24:05.875744690 +0200
5 // GCC's libstdc++ 20070724 and later supports C++ TR1 type_traits in the std namespace.
6 // VC10 (VS2010) and later support C++ TR1 type_traits in the std::tr1 namespace.
7 - template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
8 - template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
9 + template<typename T> struct HasTrivialConstructor : public std::is_trivially_constructible<T> { };
10 + template<typename T> struct HasTrivialDestructor : public std::is_trivially_destructible<T> { };
14 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h~ 2015-05-07 16:14:48.000000000 +0200
15 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h 2019-09-14 20:25:57.045375344 +0200
20 -#if !COMPILER(MSVC) && !OS(QNX) && !defined(_LIBCPP_VERSION)
21 +#if 0 && !COMPILER(MSVC) && !OS(QNX) && !defined(_LIBCPP_VERSION)
22 // The Dinkumware C++ library (used by MSVC and QNX) and clang's libc++ have a swap for pairs defined.
24 // swap pairs by component, in case of pair members that specialize swap
25 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h~ 2015-05-07 16:14:48.000000000 +0200
26 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h 2019-09-14 18:06:14.575659781 +0200
28 TransitionTable* transitionTable = new TransitionTable;
29 setTransitionTable(transitionTable);
30 if (existingTransition)
31 - add(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(existingTransition->m_nameInPrevious.get()), existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious);
32 + add(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(existingTransition->m_nameInPrevious.get()), +existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious);
36 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.cpp~ 2015-05-07 16:14:48.000000000 +0200
37 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.cpp 2019-09-14 18:05:24.248994834 +0200
42 - m_previous->table.remove(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(m_nameInPrevious.get()), m_attributesInPrevious), m_specificValueInPrevious);
43 + m_previous->table.remove(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(m_nameInPrevious.get()), +m_attributesInPrevious), m_specificValueInPrevious);
45 m_previous->table.removeAnonymousSlotTransition(m_anonymousSlotsInPrevious);
50 structure->m_nameInPrevious->ref();
51 - PropertyMapEntry entry(structure->m_nameInPrevious.get(), structure->m_offset, structure->m_attributesInPrevious, structure->m_specificValueInPrevious, ++m_propertyTable->lastIndexUsed);
52 + PropertyMapEntry entry(structure->m_nameInPrevious.get(), structure->m_offset, +structure->m_attributesInPrevious, structure->m_specificValueInPrevious, ++m_propertyTable->lastIndexUsed);
53 insertIntoPropertyMapHashTable(entry);
56 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexCompiler.cpp~ 2015-05-07 16:14:47.000000000 +0200
57 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexCompiler.cpp 2019-09-14 18:26:54.518951294 +0200
60 constructor.setupOffsets();
67 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/TypeTraits.h~ 2015-05-07 16:14:45.000000000 +0200
68 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/TypeTraits.h 2019-09-14 18:23:03.718959093 +0200
71 // GCC's libstdc++ 20070724 and later supports C++ TR1 type_traits in the std namespace.
72 // VC10 (VS2010) and later support C++ TR1 type_traits in the std::tr1 namespace.
73 - template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
74 - template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
75 + template<typename T> struct HasTrivialConstructor : public std::is_trivially_constructible<T> { };
76 + template<typename T> struct HasTrivialDestructor : public std::is_trivially_destructible<T> { };
80 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/HashSet.h~ 2015-05-07 16:14:45.000000000 +0200
81 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/HashSet.h 2019-09-14 18:32:15.168940587 +0200
83 #if COMPILER(MSVC) && _MSC_VER >= 1700
84 return iterator_const_cast(m_impl.add(value));
86 - return m_impl.add(value);
87 + pair<typename HashTableType::iterator, bool> p = m_impl.add(value);
88 + return pair<iterator, bool>(iterator(p.first), p.second);
93 #if COMPILER(MSVC) && _MSC_VER >= 1700
94 return iterator_const_cast(m_impl.template addPassingHashCode<T, T, Adapter>(value, value));
96 - return m_impl.template addPassingHashCode<T, T, Adapter>(value, value);
97 + pair<typename HashTableType::iterator, bool> p = m_impl.template addPassingHashCode<T, T, Adapter>(value, value);
98 + return pair<iterator, bool>(iterator(p.first), p.second);
102 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebCore/dom/Element.cpp~ 2015-05-07 16:14:47.000000000 +0200
103 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebCore/dom/Element.cpp 2019-09-14 18:39:17.915592915 +0200
104 @@ -1080,7 +1080,7 @@
106 // Ref currentStyle in case it would otherwise be deleted when setRenderStyle() is called.
107 RefPtr<RenderStyle> currentStyle(renderStyle());
108 - bool hasParentStyle = parentNodeForRenderingAndStyle() ? parentNodeForRenderingAndStyle()->renderStyle() : false;
109 + bool hasParentStyle = parentNodeForRenderingAndStyle() ? bool(parentNodeForRenderingAndStyle()->renderStyle()) : false;
110 bool hasDirectAdjacentRules = currentStyle && currentStyle->childrenAffectedByDirectAdjacentRules();
111 bool hasIndirectAdjacentRules = currentStyle && currentStyle->childrenAffectedByForwardPositionalRules();
113 --- qt-everywhere-opensource-src-4.8.7/src/plugins/accessible/widgets/itemviews.cpp~ 2015-05-07 16:14:48.000000000 +0200
114 +++ qt-everywhere-opensource-src-4.8.7/src/plugins/accessible/widgets/itemviews.cpp 2019-09-14 18:37:01.048930870 +0200
116 QModelIndex index = view()->model()->index(0, column, view()->rootIndex());
117 if (!index.isValid() || view()->selectionMode() & QAbstractItemView::NoSelection)
119 - view()->selectionModel()->select(index, QItemSelectionModel::Columns & QItemSelectionModel::Deselect);
120 + view()->selectionModel()->select(index, QItemSelectionModel::Columns | QItemSelectionModel::Deselect);