Hello community,
here is the log from the commit of package kjs for openSUSE:Factory checked in at 2018-10-22 11:13:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kjs (Old)
and /work/SRC/openSUSE:Factory/.kjs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kjs"
Mon Oct 22 11:13:53 2018 rev:58 rq:642331 version:5.51.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kjs/kjs.changes 2018-10-01 08:07:38.002313675 +0200
+++ /work/SRC/openSUSE:Factory/.kjs.new/kjs.changes 2018-10-22 11:13:57.315746096 +0200
@@ -1,0 +2,15 @@
+Tue Oct 16 08:02:23 UTC 2018 - Luca Beltrame
+
+- Run spec-cleaner
+
+-------------------------------------------------------------------
+Mon Oct 15 11:50:36 UTC 2018 - lbeltrame@kde.org
+
+- Update to 5.51.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.51.0.php
+- Changes since 5.50.0:
+ * Fix minor EBN issues
+
+-------------------------------------------------------------------
Old:
----
kjs-5.50.0.tar.xz
New:
----
kjs-5.51.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kjs.spec ++++++
--- /var/tmp/diff_new_pack.BP1vVa/_old 2018-10-22 11:13:57.887745470 +0200
+++ /var/tmp/diff_new_pack.BP1vVa/_new 2018-10-22 11:13:57.891745466 +0200
@@ -12,24 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sonum 5
-%define _tar_path 5.50
+%define _tar_path 5.51
# 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.50.0
+Version: 5.51.0
Release: 0
Summary: KDE Javascript engine
License: LGPL-2.1-or-later
Group: System/GUI/KDE
-URL: http://www.kde.org
+URL: https://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/portingAids/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: cmake >= 3.0
++++++ kjs-5.50.0.tar.xz -> kjs-5.51.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/CMakeLists.txt new/kjs-5.51.0/CMakeLists.txt
--- old/kjs-5.50.0/CMakeLists.txt 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/CMakeLists.txt 2018-10-08 10:17:51.000000000 +0200
@@ -1,11 +1,11 @@
cmake_minimum_required(VERSION 3.0)
-set(KF5_VERSION "5.50.0") # handled by release scripts
+set(KF5_VERSION "5.51.0") # handled by release scripts
project(KJS VERSION ${KF5_VERSION})
# ECM setup
include(FeatureSummary)
-find_package(ECM 5.50.0 NO_MODULE)
+find_package(ECM 5.51.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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/autotests/ecmatest.cpp new/kjs-5.51.0/autotests/ecmatest.cpp
--- old/kjs-5.50.0/autotests/ecmatest.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/autotests/ecmatest.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -18,8 +18,8 @@
#include "JSVariableObject.h"
#include "Parser.h"
-#include
-#include
+#include <QMap>
+#include <QDebug>
// Let the interpreter create its own global Object instead of using our selfcreated
#define USE_KJS_GLOBAL 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/autotests/ecmatest.h new/kjs-5.51.0/autotests/ecmatest.h
--- old/kjs-5.50.0/autotests/ecmatest.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/autotests/ecmatest.h 2018-10-08 10:17:51.000000000 +0200
@@ -12,7 +12,7 @@
#ifndef ECMATEST_H
#define ECMATEST_H
-#include
+#include <QObject>
class ECMAscriptTest : public QObject
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/JSWrapperObject.h new/kjs-5.51.0/src/kjs/JSWrapperObject.h
--- old/kjs-5.50.0/src/kjs/JSWrapperObject.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/JSWrapperObject.h 2018-10-08 10:17:51.000000000 +0200
@@ -40,7 +40,7 @@
/**
* Returns the internal value of the object. This is used for objects such
- * as String and Boolean which are wrappers for native types. The interal
+ * as String and Boolean which are wrappers for native types. The internal
* value is the actual value represented by the wrapper objects.
*
* @see ECMA 8.6.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/api/kjsprivate.h new/kjs-5.51.0/src/kjs/api/kjsprivate.h
--- old/kjs-5.50.0/src/kjs/api/kjsprivate.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/api/kjsprivate.h 2018-10-08 10:17:51.000000000 +0200
@@ -25,7 +25,7 @@
#include "kjs/ustring.h"
#include "kjs/identifier.h"
#include "kjs/list.h"
-#include
+#include <QString>
#define JSVALUE_HANDLE(v) reinterpret_cast(v)
#define JSVALUE(h) reinterpret_castKJS::JSValue*((h)->hnd)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/array_instance.cpp new/kjs-5.51.0/src/kjs/array_instance.cpp
--- old/kjs-5.50.0/src/kjs/array_instance.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/array_instance.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -585,10 +585,10 @@
return;
}
- // note: an invariant here is that indeces < sparseArrayCutoff
+ // note: an invariant here is that indices < sparseArrayCutoff
// are always inside the vector portion.
- // lowish indeces or high density -> we have decided that we'll put the new item into the vector.
+ // lowish indices or high density -> we have decided that we'll put the new item into the vector.
// Fast case is when there is no sparse map, so we can increase the vector size without moving values from the sparse map.
if (!map || map->isEmpty()) {
increaseVectorLength(i + 1);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/codeprinter.cpp new/kjs-5.51.0/src/kjs/bytecode/generator/codeprinter.cpp
--- old/kjs-5.50.0/src/kjs/bytecode/generator/codeprinter.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/codeprinter.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/codeprinter.h new/kjs-5.51.0/src/kjs/bytecode/generator/codeprinter.h
--- old/kjs-5.50.0/src/kjs/bytecode/generator/codeprinter.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/codeprinter.h 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/driver.cpp new/kjs-5.51.0/src/kjs/bytecode/generator/driver.cpp
--- old/kjs-5.50.0/src/kjs/bytecode/generator/driver.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/driver.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/filetemplate.h new/kjs-5.51.0/src/kjs/bytecode/generator/filetemplate.h
--- old/kjs-5.50.0/src/kjs/bytecode/generator/filetemplate.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/filetemplate.h 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/lexer.cpp new/kjs-5.51.0/src/kjs/bytecode/generator/lexer.cpp
--- old/kjs-5.50.0/src/kjs/bytecode/generator/lexer.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/lexer.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/lexer.h new/kjs-5.51.0/src/kjs/bytecode/generator/lexer.h
--- old/kjs-5.50.0/src/kjs/bytecode/generator/lexer.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/lexer.h 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/parser.cpp new/kjs-5.51.0/src/kjs/bytecode/generator/parser.cpp
--- old/kjs-5.50.0/src/kjs/bytecode/generator/parser.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/parser.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/parser.h new/kjs-5.51.0/src/kjs/bytecode/generator/parser.h
--- old/kjs-5.50.0/src/kjs/bytecode/generator/parser.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/parser.h 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/tablebuilder.cpp new/kjs-5.51.0/src/kjs/bytecode/generator/tablebuilder.cpp
--- old/kjs-5.50.0/src/kjs/bytecode/generator/tablebuilder.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/tablebuilder.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/tablebuilder.h new/kjs-5.51.0/src/kjs/bytecode/generator/tablebuilder.h
--- old/kjs-5.50.0/src/kjs/bytecode/generator/tablebuilder.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/tablebuilder.h 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
@@ -93,7 +93,7 @@
StringList operationNames;
unsigned operationFlags;
- map operationRetTypes; // uglily enough specified on the impl. I suck.
+ map operationRetTypes; // ugly enough specified on the impl. I suck.
vector<Operation> operations;
map implementations;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/types.cpp new/kjs-5.51.0/src/kjs/bytecode/generator/types.cpp
--- old/kjs-5.50.0/src/kjs/bytecode/generator/types.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/types.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/bytecode/generator/types.h new/kjs-5.51.0/src/kjs/bytecode/generator/types.h
--- old/kjs-5.50.0/src/kjs/bytecode/generator/types.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/bytecode/generator/types.h 2018-10-08 10:17:51.000000000 +0200
@@ -1,5 +1,5 @@
/*
- * A utilitity for building various tables and specializations for the
+ * A utility for building various tables and specializations for the
* KJS Frostbyte bytecode
*
* Copyright (C) 2007, 2008 Maks Orlovich (maksim@kde.org)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/completion.h new/kjs-5.51.0/src/kjs/completion.h
--- old/kjs-5.50.0/src/kjs/completion.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/completion.h 2018-10-08 10:17:51.000000000 +0200
@@ -29,7 +29,7 @@
namespace KJS
{
-typedef unsigned Addr; // ### should there be some separare types h?
+typedef unsigned Addr; // ### should there be some separate types h?
class Node;
class JSValue;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/context.h new/kjs-5.51.0/src/kjs/context.h
--- old/kjs-5.50.0/src/kjs/context.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/context.h 2018-10-08 10:17:51.000000000 +0200
@@ -1 +1,4 @@
+#ifndef CONTEXT_H
+#define CONTEXT_H
#include
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/debugger.h new/kjs-5.51.0/src/kjs/debugger.h
--- old/kjs-5.50.0/src/kjs/debugger.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/debugger.h 2018-10-08 10:17:51.000000000 +0200
@@ -195,7 +195,7 @@
JSObject *function, const List &args);
/**
- * Called when the inteprreter exits an execution context. This always
+ * Called when the interpreter exits an execution context. This always
* corresponds to a previous call to enterContext()
*
* The default implementation does nothing. Override this method if
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/nodes.h new/kjs-5.51.0/src/kjs/nodes.h
--- old/kjs-5.50.0/src/kjs/nodes.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/nodes.h 2018-10-08 10:17:51.000000000 +0200
@@ -232,7 +232,7 @@
// w/o generateRefBegin
virtual OpValue generateRefDelete(CompileState *) = 0;
- // For function calls, we also do a specialized lookup, getting both the valie and the
+ // For function calls, we also do a specialized lookup, getting both the value and the
// scope/this, also making sure it's not an activation.
virtual void generateRefFunc(CompileState *comp, OpValue *funOut, OpValue *thisOut) = 0;
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/nodes2bytecode.h new/kjs-5.51.0/src/kjs/nodes2bytecode.h
--- old/kjs-5.50.0/src/kjs/nodes2bytecode.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/nodes2bytecode.h 2018-10-08 10:17:51.000000000 +0200
@@ -19,6 +19,9 @@
*
*/
+#ifndef NODES2BYTECODE_H
+#define NODES2BYTECODE_H
+
#include "nodes.h"
#include "CompileState.h"
@@ -34,3 +37,4 @@
}
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/object.h new/kjs-5.51.0/src/kjs/object.h
--- old/kjs-5.50.0/src/kjs/object.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/object.h 2018-10-08 10:17:51.000000000 +0200
@@ -324,7 +324,7 @@
*
* @param exec The current execution state
* @param hint The desired primitive type to convert to
- * @return A primitive value converted from the objetc. Note that the
+ * @return A primitive value converted from the object. Note that the
* type of primitive value returned may not be the same as the requested
* hint.
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/property_map.h new/kjs-5.51.0/src/kjs/property_map.h
--- old/kjs-5.50.0/src/kjs/property_map.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/property_map.h 2018-10-08 10:17:51.000000000 +0200
@@ -135,7 +135,7 @@
// This /computes/ whether the table has getters or setters, while the above is
// used to cache the result. In other words, one usually does
- // setHasGetterSetterProperties(containsGettersOrSetters()) whenver
+ // setHasGetterSetterProperties(containsGettersOrSetters()) whenever
// there is a reason to believe that the result has changed
bool containsGettersOrSetters() const;
private:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/propertydescriptor.h new/kjs-5.51.0/src/kjs/propertydescriptor.h
--- old/kjs-5.50.0/src/kjs/propertydescriptor.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/propertydescriptor.h 2018-10-08 10:17:51.000000000 +0200
@@ -79,14 +79,14 @@
// PropertyDescriptor. New Attributes are set depending if Descriptor has
// enumerable/writeable/configurableSet, if absent default is used.
// NOTE: As interval have enumerable/writable/configurable always set and
- // javascript object dont, the order matters here.
+ // javascript object don't, the order matters here.
// In this case the correct order is: current.attributesWithOverride(new)
// where new is the javascript object that might not have all attributes set.
unsigned int attributesWithOverride(PropertyDescriptor &other) const;
private:
// Check if PropertyDescriptor really is the same. This is private for
- // internal use only, so that it will not easily be confussed with equalTo.
+ // internal use only, so that it will not easily be confused with equalTo.
// This function does compared set Attributes.
bool operator==(PropertyDescriptor &other) const;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/regexp.h new/kjs-5.51.0/src/kjs/regexp.h
--- old/kjs-5.50.0/src/kjs/regexp.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/regexp.h 2018-10-08 10:17:51.000000000 +0200
@@ -45,7 +45,7 @@
namespace KJS
{
-// Represents a strign re-encoded to whatever PCRE can handle
+// Represents a string re-encoded to whatever PCRE can handle
class RegExpStringContext
{
public:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/kjs/regexp_object.h new/kjs-5.51.0/src/kjs/regexp_object.h
--- old/kjs-5.50.0/src/kjs/regexp_object.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/kjs/regexp_object.h 2018-10-08 10:17:51.000000000 +0200
@@ -100,7 +100,7 @@
virtual bool getOwnPropertySlot(ExecState *, const Identifier &, PropertySlot &);
JSValue *getValueProperty(ExecState *, int token) const;
- // If resources are exhaused during a match, exec parameter will have an exception
+ // If resources are exhausted during a match, exec parameter will have an exception
// set, and endOffset will be -1
UString performMatch(RegExp *, ExecState *, const RegExpStringContext &, const UString &,
int startOffset = 0, int *endOffset = nullptr, int **ovector = nullptr);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/wtf/HashCountedSet.h new/kjs-5.51.0/src/wtf/HashCountedSet.h
--- old/kjs-5.50.0/src/wtf/HashCountedSet.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/wtf/HashCountedSet.h 2018-10-08 10:17:51.000000000 +0200
@@ -57,7 +57,7 @@
unsigned count(const ValueType &value) const;
// increases the count if an equal value is already present
- // the return value is a pair of an interator to the new value's location,
+ // the return value is a pair of an iterator to the new value's location,
// and a bool that is true if an new entry was added
std::pair add(const ValueType &value);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/wtf/HashSet.h new/kjs-5.51.0/src/wtf/HashSet.h
--- old/kjs-5.50.0/src/wtf/HashSet.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/wtf/HashSet.h 2018-10-08 10:17:51.000000000 +0200
@@ -75,7 +75,7 @@
template const_iterator find(const T &) const;
template bool contains(const T &) const;
- // The return value is a pair of an interator to the new value's location,
+ // The return value is a pair of an iterator to the new value's location,
// and a bool that is true if an new entry was added.
pair add(const ValueType &);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/src/wtf/RefPtrHashMap.h new/kjs-5.51.0/src/wtf/RefPtrHashMap.h
--- old/kjs-5.50.0/src/wtf/RefPtrHashMap.h 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/src/wtf/RefPtrHashMap.h 2018-10-08 10:17:51.000000000 +0200
@@ -18,6 +18,9 @@
*
*/
+#ifndef REFPTRHASHMAP_H
+#define REFPTRHASHMAP_H
+
namespace WTF
{
@@ -347,3 +350,5 @@
}
} // namespace WTF
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kjs-5.50.0/tests/testkjs.cpp new/kjs-5.51.0/tests/testkjs.cpp
--- old/kjs-5.50.0/tests/testkjs.cpp 2018-09-02 21:27:06.000000000 +0200
+++ new/kjs-5.51.0/tests/testkjs.cpp 2018-10-08 10:17:51.000000000 +0200
@@ -192,7 +192,7 @@
#if PLATFORM(WIN_OS) && defined(HAVE_CRTDBG_H) && !defined(__MINGW32__)
// Use SEH for Release builds only to get rid of the crash report dialog
-// (luckyly the same tests fail in Release and Debug builds so far). Need to
+// (luckily the same tests fail in Release and Debug builds so far). Need to
// be in a separate main function because the kjsmain function requires object
// unwinding.