openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2018
- 1 participants
- 1171 discussions
Hello community,
here is the log from the commit of package slurm for openSUSE:Factory checked in at 2018-09-24 13:13:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/slurm (Old)
and /work/SRC/openSUSE:Factory/.slurm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "slurm"
Mon Sep 24 13:13:28 2018 rev:18 rq:637167 version:17.11.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/slurm/slurm.changes 2018-08-24 17:11:08.774573657 +0200
+++ /work/SRC/openSUSE:Factory/.slurm.new/slurm.changes 2018-09-24 13:13:29.965681966 +0200
@@ -1,0 +2,7 @@
+Sat Sep 22 06:09:18 UTC 2018 - eich(a)suse.com
+
+- Fix Requires(pre) and Requires(post) for slurm-config and slurm-node.
+ This fixes issues with failing slurm user creation when installed
+ during initial system installation (bsc#1109373).
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ slurm.spec ++++++
--- /var/tmp/diff_new_pack.QE15oY/_old 2018-09-24 13:13:30.705680678 +0200
+++ /var/tmp/diff_new_pack.QE15oY/_new 2018-09-24 13:13:30.709680671 +0200
@@ -77,11 +77,6 @@
Requires: slurm-config = %{version}
Requires: slurm-node = %{version}
-%if 0%{?suse_version} <= 1140
-Requires(pre): pwdutils
-%else
-Requires(pre): shadow
-%endif
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
@@ -111,7 +106,7 @@
%{?systemd_requires}
BuildRequires: systemd
%else
-PreReq: %insserv_prereq %fillup_prereq
+Requires(post): %insserv_prereq %fillup_prereq
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Obsoletes: slurm-sched-wiki < %{version}
@@ -213,7 +208,7 @@
%if 0%{?with_systemd}
%{?systemd_requires}
%else
-PreReq: %insserv_prereq %fillup_prereq
+Requires(post): %insserv_prereq %fillup_prereq
%endif
Obsoletes: slurm-sched-wiki < %{version}
Obsoletes: slurmdb-direct < %{version}
@@ -306,6 +301,11 @@
Requires: slurm-config = %{version}
Requires: slurm-plugins = %{version}
Recommends: %{name}-munge
+%if 0%{?with_systemd}
+%{?systemd_requires}
+%else
+Requires(post): %insserv_prereq %fillup_prereq
+%endif
%description node
This package contains just the minmal code to run a compute node.
@@ -313,6 +313,14 @@
%package config
Summary: Config files and directories for slurm services
Group: Productivity/Clustering/Computing
+%if 0%{?suse_version} <= 1140
+Requires(pre): pwdutils
+%else
+Requires(pre): shadow
+%endif
+%if 0%{?with_systemd}
+%{?systemd_requires}
+%endif
%description config
This package contains the slurm config files necessary direcories
1
0
Hello community,
here is the log from the commit of package links for openSUSE:Factory checked in at 2018-09-24 13:13:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/links (Old)
and /work/SRC/openSUSE:Factory/.links.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "links"
Mon Sep 24 13:13:26 2018 rev:35 rq:637162 version:2.17
Changes:
--------
--- /work/SRC/openSUSE:Factory/links/links.changes 2018-07-06 10:40:39.927349690 +0200
+++ /work/SRC/openSUSE:Factory/.links.new/links.changes 2018-09-24 13:13:27.593686098 +0200
@@ -1,0 +2,23 @@
+Sat Sep 22 04:57:03 UTC 2018 - sean(a)suspend.net
+
+- links 2.17
+ * Fix vrifying SSL certificates for numeric IPv6 addresses
+ * Delete the option -ftp.fast - it doesn't always work and ftp performance is not an issue anymore
+ * Add bold and monospaced Turkish letter 'i' without a dot
+ * On OS/2 allocate OpenSSL memory fro the lower heap. It fixes SSL on systems with old 16-bit TCP/IP stack
+ * Fix IPv6 on OpenVMS Alpha
+ * Support mouse scroll wheel in textarea
+ * Delete the option -http-bugs.bug-302-redirect - RFC7231 allows the "buggy" behavior and defines new codes 307 and 308 that retain the post data
+ * X11 - fixed colormap leak when creating a new window
+ * Fixed an infinite loop that happened in graphics mode if the user clicked on OK in "Miscellaneous options" dialog and more than one windows were open. This bug was introduced in Links 2.15
+ * Support 6x6x6 RGB palette in 256-bit color mode on framebuffer
+ * Implement dithering properly on OS/2 in 15-bit and 16-bit color mode. In 8-bit mode, Links may optionally use a private palette - it improves visual quality of Links images, but degrades visual quality of other concurrently running programs.
+ * Improve scrolling smoothness when the user drags the whole document
+ * On OS/2, allocate large memory blocks directly (not with malloc). It reduces memory waste
+ * Fixed a bug that setting terminal title and resizing a terminal didn't work on OS/2 and Windows. The bug was introduced in Links 2.16 when shutting up coverity warnings
+ * Set link color to yellow by default
+ * Delete the option -http-bugs.bug-post-no-keepalive. It was needed in 1999 to avoid some bug in some http server and it is not needed anymore
+ * Trust Content-Length on HTTP/1.0 redirect requests. This fixes hangs with misbehaving servers that honor Connection:keep-alive but send out HTTP/1.0 reply without Connection: keep-alive. Links thought that they don't support keep-alive and waited for the connection to close (for example http://www.raspberrypi.org)
+ * Use keys 'H' and 'L' to select the top and bottom link on the current page
+
+-------------------------------------------------------------------
Old:
----
links-2.16.tar.bz2
New:
----
links-2.17.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ links.spec ++++++
--- /var/tmp/diff_new_pack.DdAM8L/_old 2018-09-24 13:13:28.089685234 +0200
+++ /var/tmp/diff_new_pack.DdAM8L/_new 2018-09-24 13:13:28.093685228 +0200
@@ -17,13 +17,13 @@
Name: links
-Version: 2.16
+Version: 2.17
Release: 0
Summary: Text-Based WWW Browser
License: GPL-2.0-or-later
Group: Productivity/Networking/Web/Browsers
-Url: http://links.twibright.com/
-Source: http://links.twibright.com/download/%{name}-%{version}.tar.bz2
+URL: http://links.twibright.com/
+Source: http://links.twibright.com/download/links-%{version}.tar.bz2
Patch2: configure.diff
BuildRequires: autoconf
BuildRequires: automake
@@ -73,9 +73,10 @@
%make_install
%files
-%doc README NEWS ChangeLog BRAILLE_HOWTO AUTHORS COPYING KEYS SITES
+%license COPYING
+%doc README NEWS ChangeLog BRAILLE_HOWTO AUTHORS KEYS SITES
%doc doc/links_cal
%{_bindir}/links
-%{_mandir}/man1/links.1%{ext_man}
+%{_mandir}/man1/links.1%{?ext_man}
%changelog
++++++ links-2.16.tar.bz2 -> links-2.17.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/links/links-2.16.tar.bz2 /work/SRC/openSUSE:Factory/.links.new/links-2.17.tar.bz2 differ: char 11, line 1
1
0
Hello community,
here is the log from the commit of package sigil for openSUSE:Factory checked in at 2018-09-24 13:13:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sigil (Old)
and /work/SRC/openSUSE:Factory/.sigil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sigil"
Mon Sep 24 13:13:23 2018 rev:6 rq:637101 version:0.9.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/sigil/sigil.changes 2018-08-18 00:04:37.875170210 +0200
+++ /work/SRC/openSUSE:Factory/.sigil.new/sigil.changes 2018-09-24 13:13:24.789690984 +0200
@@ -1,0 +2,6 @@
+Fri Sep 21 18:47:29 UTC 2018 - Bernhard Wiedemann <bwiedemann(a)suse.com>
+
+- Drop build date from build output (boo#1047218)
+- Fix % escaping where %H:%M:%S turned into 17:53:56OURCE
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sigil.spec ++++++
--- /var/tmp/diff_new_pack.HKby60/_old 2018-09-24 13:13:25.381689953 +0200
+++ /var/tmp/diff_new_pack.HKby60/_new 2018-09-24 13:13:25.381689953 +0200
@@ -86,26 +86,27 @@
%prep
%setup -q -n Sigil-%{version}
-sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt
%patch0 -p 1
cp -v %{S:1} .
cp -v %{S:2} .
# rpmlint
-dos2unix src/Resource_Files/python3lib/meta*.py
-dos2unix src/Resource_Files/python3lib/opf_*.py
-find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python|#!\/usr\/bin\/python3|g' {} +
#FIXME MANUAL UPDATE OF DATE REQUIRED HERE!!!!
# Fix "Your file uses __DATE and __TIME__ this causes the package to rebuild
# when not needed warning"
# http://sourceforge.net/tracker/?func=detail&atid=102439&aid=3314371&group_i…
#
-# We use the current date
-_date=$(date +"%Y%m%d")
-_time=$(date +"%H:%M:%S")
+# We use the ChangeLog date
+_date=$(date -u -r ChangeLog.txt -I)
+_time=$(date -u -r ChangeLog.txt +%%T)
# Change it:
find . -type f -name About.cpp -exec sed -i "s/@DATE@/$_date/;s/@TIME@/$_time/g" {} +
+sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt
+dos2unix src/Resource_Files/python3lib/meta*.py
+dos2unix src/Resource_Files/python3lib/opf_*.py
+find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python|#!\/usr\/bin\/python3|g' {} +
+
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
1
0
Hello community,
here is the log from the commit of package hdf5 for openSUSE:Factory checked in at 2018-09-24 13:13:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hdf5 (Old)
and /work/SRC/openSUSE:Factory/.hdf5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hdf5"
Mon Sep 24 13:13:19 2018 rev:47 rq:637100 version:1.10.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/hdf5/hdf5.changes 2018-06-25 11:38:53.521251619 +0200
+++ /work/SRC/openSUSE:Factory/.hdf5.new/hdf5.changes 2018-09-24 13:13:20.893697777 +0200
@@ -1,0 +2,16 @@
+Fri Sep 21 14:50:12 UTC 2018 - Stefan Brüns <stefan.bruens(a)rwth-aachen.de>
+
+- Update to 1.10.3:
+ https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.3/src/hd…
+- Update to 1.10.2:
+ https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hd…
+- Bump soversions (101 -> 103) for libhdf5 and libhdf5_cpp
+- Drop Fix-warnings-for-missing-returns.patch, fixed upstream
+- Add 0001-Fix-return-value-in-test_libver_bounds_open.patch
+- Rebase patches (tab / space conversion):
+ * PPC64LE-Fix-long-double-handling.patch
+ * hdf5-buildcompare.patch
+ * hdf5-mpi.patch
+- Rebase Disable-phdf5-tests.patch
+
+-------------------------------------------------------------------
Old:
----
Fix-warnings-for-missing-returns.patch
hdf5-1.10.1.tar.bz2
New:
----
0001-Fix-return-value-in-test_libver_bounds_open.patch
hdf5-1.10.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hdf5.spec ++++++
--- /var/tmp/diff_new_pack.3tvCAD/_old 2018-09-24 13:13:21.681696403 +0200
+++ /var/tmp/diff_new_pack.3tvCAD/_new 2018-09-24 13:13:21.685696396 +0200
@@ -12,7 +12,7 @@
# 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/
#
@@ -28,8 +28,8 @@
%define _do_check 1
%define use_sz2 0
-%define vers 1.10.1
-%define _vers 1_10_1
+%define vers 1.10.3
+%define _vers 1_10_3
%define short_ver 1.10
%define src_ver %{version}
%define pname hdf5
@@ -193,8 +193,8 @@
# TODO: The so numbers autodetected by update_so_version.sh
# do not match the so numbers that are actually built.
-%define sonum 101
-%define sonum_CXX 101
+%define sonum 103
+%define sonum_CXX 103
%define sonum_F 100
%define sonum_HL 100
%define sonum_HL_CXX 100
@@ -211,7 +211,6 @@
Source100: _multibuild
Source1000: update_so_version.sh
Patch0: hdf5-LD_LIBRARY_PATH.patch
-Patch1: Fix-warnings-for-missing-returns.patch
# not really needed but we want to get noticed if hdf5 doesn' t know our host
Patch2: hdf5-1.8.11-abort_unknown_host_config.patch
%ifarch %arm
@@ -221,6 +220,7 @@
Patch6: hdf5-buildcompare.patch
Patch7: hdf5-mpi.patch
Patch8: Disable-phdf5-tests.patch
+Patch9: 0001-Fix-return-value-in-test_libver_bounds_open.patch
BuildRequires: fdupes
%if 0%{?use_sz2}
BuildRequires: libsz2-devel
@@ -441,7 +441,6 @@
%{?with_hpc: %hpc_debug}
%setup -q -n %{pname}-%{version}
%patch0 -p1 -b .LD_LIBRARY_PATH
-%patch1 -p1
%patch2 -p0 -b .abort_unknown_host_config
%ifarch %arm
%patch4 -p0 -b .tests-arm
@@ -450,6 +449,7 @@
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
%if %{without hpc}
# baselibs looks different for different flavors - generate it on the fly
++++++ 0001-Fix-return-value-in-test_libver_bounds_open.patch ++++++
>From b24bae35dcd2733e7339f87da0f2681ee06439a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens(a)rwth-aachen.de>
Date: Thu, 20 Sep 2018 20:36:13 +0200
Subject: [PATCH] Fix return value in test_libver_bounds_open
A return value is neither returned nor expected.
---
test/tfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/tfile.c b/test/tfile.c
index ad7f87f..d3134f8 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -4967,7 +4967,7 @@ test_libver_bounds_real(H5F_libver_t libver_create, unsigned oh_vers_create,
#define VERBFNAME "tverbounds_dspace.h5"
#define VERBDSNAME "dataset 1"
#define SPACE1_DIM1 3
-static int
+static void
test_libver_bounds_open(void)
{
hid_t file = -1; /* File ID */
--
2.19.0
++++++ Disable-phdf5-tests.patch ++++++
--- /var/tmp/diff_new_pack.3tvCAD/_old 2018-09-24 13:13:21.709696354 +0200
+++ /var/tmp/diff_new_pack.3tvCAD/_new 2018-09-24 13:13:21.709696354 +0200
@@ -19,11 +19,11 @@
##############################################################################
##############################################################################
--add_test (NAME TEST_PAR_testphdf5 COMMAND ${MPIEXEC} ${MPIEXEC_PREFLAGS} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_POSTFLAGS} $<TARGET_FILE:testphdf5>)
-+## add_test (NAME TEST_PAR_testphdf5 COMMAND ${MPIEXEC} ${MPIEXEC_PREFLAGS} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_POSTFLAGS} $<TARGET_FILE:testphdf5>)
+-add_test (NAME TEST_PAR_testphdf5 COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:testphdf5> ${MPIEXEC_POSTFLAGS})
++## add_test (NAME TEST_PAR_testphdf5 COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:testphdf5> ${MPIEXEC_POSTFLAGS})
foreach (testp ${H5P_TESTS})
- add_test (NAME TEST_PAR_${testp} COMMAND ${MPIEXEC} ${MPIEXEC_PREFLAGS} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_POSTFLAGS} $<TARGET_FILE:${testp}>)
+ add_test (NAME TEST_PAR_${testp} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:${testp}> ${MPIEXEC_POSTFLAGS})
diff --git a/testpar/Makefile.am b/testpar/Makefile.am
index b87c1df..27af0df 100644
--- a/testpar/Makefile.am
@@ -32,8 +32,8 @@
# Test programs. These are our main targets.
#
--TEST_PROG_PARA=t_mpi testphdf5 t_cache t_cache_image t_pflush1 t_pflush2 t_pshutdown t_prestart t_init_term t_shapesame
-+TEST_PROG_PARA=t_mpi t_cache t_cache_image t_pflush1 t_pflush2 t_pshutdown t_prestart t_init_term t_shapesame
+-TEST_PROG_PARA=t_mpi t_bigio testphdf5 t_cache t_cache_image t_pflush1 t_pflush2 t_pread t_pshutdown t_prestart t_init_term t_shapesame t_filters_parallel
++TEST_PROG_PARA=t_mpi t_bigio t_cache t_cache_image t_pflush1 t_pflush2 t_pread t_pshutdown t_prestart t_init_term t_shapesame t_filters_parallel
check_PROGRAMS = $(TEST_PROG_PARA)
@@ -41,12 +41,12 @@
index ed26624..2f4bbe2 100644
--- a/testpar/Makefile.in
+++ b/testpar/Makefile.in
-@@ -778,7 +778,7 @@ CHECK_CLEANFILES = *.chkexe *.chklog *.clog *.clog2 MPItest.h5 \
+@@ -799,7 +799,7 @@ CHECK_CLEANFILES = *.chkexe *.chklog *.clog *.clog2 MPItest.h5 \
# Test programs. These are our main targets.
#
--TEST_PROG_PARA = t_mpi testphdf5 t_cache t_cache_image t_pflush1 t_pflush2 t_pshutdown t_prestart t_init_term t_shapesame
-+TEST_PROG_PARA = t_mpi t_cache t_cache_image t_pflush1 t_pflush2 t_pshutdown t_prestart t_init_term t_shapesame
+-TEST_PROG_PARA = t_mpi t_bigio testphdf5 t_cache t_cache_image t_pflush1 t_pflush2 t_pread t_pshutdown t_prestart t_init_term t_shapesame t_filters_parallel
++TEST_PROG_PARA = t_mpi t_bigio t_cache t_cache_image t_pflush1 t_pflush2 t_pread t_pshutdown t_prestart t_init_term t_shapesame t_filters_parallel
testphdf5_SOURCES = testphdf5.c t_dset.c t_file.c t_file_image.c t_mdset.c \
t_ph5basic.c t_coll_chunk.c t_span_tree.c t_chunk_alloc.c t_filter_read.c \
t_prop.c
++++++ PPC64LE-Fix-long-double-handling.patch ++++++
--- /var/tmp/diff_new_pack.3tvCAD/_old 2018-09-24 13:13:21.721696333 +0200
+++ /var/tmp/diff_new_pack.3tvCAD/_new 2018-09-24 13:13:21.721696333 +0200
@@ -15,7 +15,7 @@
index 082dbd4..9618a14 100644
--- a/config/cmake/ConversionTests.c
+++ b/config/cmake/ConversionTests.c
-@@ -23,6 +23,14 @@ int main(void)
+@@ -34,6 +34,14 @@ int main(void)
unsigned char s2[8];
int ret = 1;
@@ -28,9 +28,9 @@
+#endif
+
if(sizeof(long double) == 16 && sizeof(long) == 8) {
- /*make sure the long double type has 16 bytes in size and
- * 11 bits of exponent. If it is,
-@@ -146,6 +154,14 @@ int main(void)
+ /*make sure the long double type has 16 bytes in size and
+ * 11 bits of exponent. If it is,
+@@ -157,6 +165,14 @@ int main(void)
unsigned char s[16];
int ret = 0;
@@ -59,7 +59,7 @@
+ /* This happens for IBM long double in little endian.
+ The macro LDBL_MANT_DIG says 106 mantissa bits, but the
+ HDF5 detection code actually represents it as a normal 64bit
-+ double (52 bit mantissa) with the upper double being
++ double (52 bit mantissa) with the upper double being
+ unspec bits (which is sort of okay as the testsuite
+ wouldn't deal with that format correctly anyway). So
+ override the mantissa size. */
@@ -79,7 +79,7 @@
+ /* This happens for IBM long double in little endian.
+ The macro LDBL_MANT_DIG says 106 mantissa bits, but the
+ HDF5 detection code actually represents it as a normal 64bit
-+ double (52 bit mantissa) with the upper double being
++ double (52 bit mantissa) with the upper double being
+ unspec bits (which is sort of okay as the testsuite
+ wouldn't deal with that format correctly anyway). So
+ override the mantissa size. */
++++++ hdf5-1.10.1.tar.bz2 -> hdf5-1.10.3.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/hdf5/hdf5-1.10.1.tar.bz2 /work/SRC/openSUSE:Factory/.hdf5.new/hdf5-1.10.3.tar.bz2 differ: char 11, line 1
++++++ hdf5-buildcompare.patch ++++++
--- /var/tmp/diff_new_pack.3tvCAD/_old 2018-09-24 13:13:21.769696249 +0200
+++ /var/tmp/diff_new_pack.3tvCAD/_new 2018-09-24 13:13:21.773696243 +0200
@@ -9,23 +9,23 @@
+++ hdf5-1.10.0-patch1/src/H5detect.c
@@ -1311,18 +1311,6 @@ bit.\n";
printf("/* Generated automatically by H5detect -- do not edit */\n\n\n");
- HDputs(FileHeader); /*the copyright notice--see top of this file */
+ HDputs(FileHeader); /*the copyright notice--see top of this file */
- printf(" *\n * Created:\t\t%s %2d, %4d\n",
-- month_name[tm->tm_mon], tm->tm_mday, 1900 + tm->tm_year);
+- month_name[tm->tm_mon], tm->tm_mday, 1900 + tm->tm_year);
- if (pwd || real_name[0] || host_name[0]) {
-- printf(" *\t\t\t");
-- if (real_name[0]) printf("%s <", real_name);
+- printf(" *\t\t\t");
+- if (real_name[0]) printf("%s <", real_name);
-#ifdef H5_HAVE_GETPWUID
-- if (pwd) HDfputs(pwd->pw_name, stdout);
+- if (pwd) HDfputs(pwd->pw_name, stdout);
-#endif
-- if (host_name[0]) printf("@%s", host_name);
-- if (real_name[0]) printf(">");
-- HDputchar('\n');
+- if (host_name[0]) printf("@%s", host_name);
+- if (real_name[0]) printf(">");
+- HDputchar('\n');
- }
printf(" *\n * Purpose:\t\t");
for (s = purpose; *s; s++) {
- HDputchar(*s);
+ HDputchar(*s);
Index: hdf5-1.10.0-patch1/src/libhdf5.settings.in
===================================================================
--- hdf5-1.10.0-patch1.orig/src/libhdf5.settings.in
++++++ hdf5-mpi.patch ++++++
--- /var/tmp/diff_new_pack.3tvCAD/_old 2018-09-24 13:13:21.781696229 +0200
+++ /var/tmp/diff_new_pack.3tvCAD/_new 2018-09-24 13:13:21.781696229 +0200
@@ -8,10 +8,10 @@
+#if 0
/* close file1 */
if(H5Fget_vfd_handle(file1, fapl, (void **)&mpifh_p) < 0) {
- printf("H5Fget_vfd_handle for file1 failed\n");
+ printf("H5Fget_vfd_handle for file1 failed\n");
@@ -189,14 +190,17 @@ main(int argc, char* argv[])
- printf("MPI_File_close for file2 failed\n");
- goto error;
+ printf("MPI_File_close for file2 failed\n");
+ goto error;
} /* end if */
+#endif
1
0
Hello community,
here is the log from the commit of package dice for openSUSE:Factory checked in at 2018-09-24 13:13:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dice (Old)
and /work/SRC/openSUSE:Factory/.dice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dice"
Mon Sep 24 13:13:16 2018 rev:19 rq:637083 version:0.7.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/dice/dice.changes 2017-03-12 20:05:08.792022746 +0100
+++ /work/SRC/openSUSE:Factory/.dice.new/dice.changes 2018-09-24 13:13:20.105699151 +0200
@@ -1,0 +2,20 @@
+Fri Sep 14 18:05:51 CEST 2018 - ms(a)suse.de
+
+- Add rice as development dependency
+
+-------------------------------------------------------------------
+Fri Sep 14 17:32:49 CEST 2018 - ms(a)suse.de
+
+- Fixed use of obsolete Dir::Tmpname.make_tmpname
+
+-------------------------------------------------------------------
+Thu Jul 26 04:32:53 CEST 2018 - druonysus(a)suse.de
+
+- add -f so the repo with auto-refresh the metadata
+
+-------------------------------------------------------------------
+Thu Jul 26 04:30:56 CEST 2018 - druonysus(a)suse.de
+
+- use the obs:// shorthand to adding the repo with zypper
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dice-0.7.10.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/job.rb new/lib/job.rb
--- old/lib/job.rb 2017-03-03 12:07:19.000000000 +0100
+++ new/lib/job.rb 2018-09-14 18:05:42.000000000 +0200
@@ -7,8 +7,13 @@
Dice::META + "/" + Dice::BUILD_LOG
@archive = buildsystem.recipe.basepath + "/" +
Dice::META + "/" + Dice::BUILD_RESULT
- @job_name = Dir::Tmpname.make_tmpname(['kiwi_build_', '.dice'], nil)
- @bundle_name = Dir::Tmpname.make_tmpname(['kiwi_bundle_', '.dice'], nil)
+ @job_name = tmpname
+ @bundle_name = tmpname
+ end
+
+ def tmpname
+ t = Time.now.strftime("%Y%m%d")
+ "kiwi_build_#{t}-#{$$}-#{Kernel.rand(0x100000000).to_s(36)}.dice"
end
def build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-03-03 12:07:19.000000000 +0100
+++ new/metadata 2018-09-14 18:06:12.000000000 +0200
@@ -8,7 +8,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2017-03-03 00:00:00.000000000 Z
+date: 2018-09-14 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: cheetah
@@ -84,6 +84,20 @@
name: rake
requirement: !ruby/object:Gem::Requirement
requirements:
+ - - "<"
+ - !ruby/object:Gem::Version
+ version: '11.0'
+ type: :development
+ prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ requirements:
+ - - "<"
+ - !ruby/object:Gem::Version
+ version: '11.0'
+- !ruby/object:Gem::Dependency
+ name: packaging_rake_tasks
+ requirement: !ruby/object:Gem::Requirement
+ requirements:
- - ">="
- !ruby/object:Gem::Version
version: '0'
@@ -95,7 +109,7 @@
- !ruby/object:Gem::Version
version: '0'
- !ruby/object:Gem::Dependency
- name: packaging_rake_tasks
+ name: rice
requirement: !ruby/object:Gem::Requirement
requirements:
- - ">="
@@ -185,8 +199,8 @@
version: 1.3.6
requirements: []
rubyforge_project: dice
-rubygems_version: 2.2.2
+rubygems_version: 2.7.3
signing_key:
specification_version: 4
-summary: light weight image build system
+summary: Light weight image build system
test_files: []
1
0
Hello community,
here is the log from the commit of package intel-cmt-cat for openSUSE:Factory checked in at 2018-09-24 13:13:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/intel-cmt-cat (Old)
and /work/SRC/openSUSE:Factory/.intel-cmt-cat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "intel-cmt-cat"
Mon Sep 24 13:13:14 2018 rev:7 rq:637062 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/intel-cmt-cat/intel-cmt-cat.changes 2018-09-13 12:14:03.794121295 +0200
+++ /work/SRC/openSUSE:Factory/.intel-cmt-cat.new/intel-cmt-cat.changes 2018-09-24 13:13:15.409707345 +0200
@@ -1,0 +2,5 @@
+Fri Sep 14 13:27:03 UTC 2018 - trenn(a)suse.de
+
+- libpqos-devel must obsolete libpqos1-devel since last change
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ intel-cmt-cat.spec ++++++
--- /var/tmp/diff_new_pack.45aRQR/_old 2018-09-24 13:13:15.853706570 +0200
+++ /var/tmp/diff_new_pack.45aRQR/_new 2018-09-24 13:13:15.853706570 +0200
@@ -64,7 +64,9 @@
Release: 0
Summary: Development package for libpqos2
Group: Development/Libraries/C and C++
-Requires: libpqos2 = 2.0.0
+Requires: libpqos2 = %version
+Obsoletes: libpqos1-devel < %version
+Provides: libpqos1-devel = %version
%description -n libpqos-devel
PQoS library provides API to detect and configure Intel(R) RDT including:
1
0
Hello community,
here is the log from the commit of package klee for openSUSE:Factory checked in at 2018-09-24 13:13:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/klee (Old)
and /work/SRC/openSUSE:Factory/.klee.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "klee"
Mon Sep 24 13:13:11 2018 rev:12 rq:637042 version:1.4.0+20180920
Changes:
--------
--- /work/SRC/openSUSE:Factory/klee/klee.changes 2018-09-03 10:36:21.780864785 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/klee.changes 2018-09-24 13:13:11.965713357 +0200
@@ -1,0 +2,69 @@
+Fri Sep 21 11:24:38 UTC 2018 - jslaby(a)suse.com
+
+- Update to version 1.4.0+20180920:
+ * Removed unused file
+ * Removed unused --sym-files 0 0 argument from FD_Fail test and rewrote the test to use FileCheck instead of grep
+ * Updated IoCtl test to use --sym-stdin instead of --sym-files 0 x to make stdin symbolic and removed unused arguments to main.
+ * Updated DirSeek test to use --sym-stdin instead of --sym-files 0 x to make stdin symbolic.
+ * Silence an uninitialized variable compiler warning (and a tiny formatting change)
+ * travis: enable LLVM 4 testing
+ * llvm4: gep_type_iterator has no operator*
+ * llvm4: PointerType is not SequentialType
+ * llvm4: use chrono helpers from LLVM
+ * llvm4: errorOr and similar
+ * llvm4: APFloat members are functions
+ * llvm4: handle different header names
+ * travis CI: add LLVM 3.9 build tests
+ * llvm39: switch KLEE_RUNTIME_BUILD_TYPE to Debug+Asserts
+ * cmake: find_llvm, fix libraries with llvm-config 3.9
+ * llvm: make KLEE compile against LLVM 3.9
+ * Add testcase to run POSIX environment and main without arguments
+ * Add POSIX runtime as dependency for the test case
+ * Unify the error message if that function has not been found.
+ * Fix generation of global constructors and destructors
+ * POSIX: Add invocation of klee_init_env into wrapper before calling main
+ * Fix missing includes and declarations
+ * Use FileCheck and LINE instead of grep if possible
+ * llvm36.patch: fix build for newer glibc/gcc versions
+ * runtime: fix memory error in canonicalize_file_name
+ * Build on trusty without sudo - uses faster Docker infrastructure from TravisCI
+ * Avoid Vararg non-deterministic allocation
+- removed (in upstream):
+ * 0001-llvm-make-KLEE-compile-against-LLVM-3.9.patch
+ * 0002-cmake-find_llvm-fix-libraries-with-llvm-config-3.9.patch
+ * 0003-llvm39-switch-KLEE_RUNTIME_BUILD_TYPE-to-Debug-Asser.patch
+ * 0004-llvm40-handle-different-header-names.patch
+ * 0005-llvm-APFloat-members-are-functions-in-LLVM-4.0.patch
+ * 0006-llvm40-errorOr-and-similar.patch
+ * 0007-llvm-use-chrono-helpers-from-LLVM-4.0.patch
+ * 0008-llvm-PointerType-is-not-SequentialType-in-LLVM-4.patch
+ * 0009-llvm40-gep_type_iterator-has-no-operator.patch
+- removed (not needed):
+ * 0017-llvm50-Intrinsic-objectsize-has-three-arguments.patch
+- renamed:
+ * 0010-llvm50-avoid-on-function-arg_begin.patch
+ -> 0001-llvm5-avoid-on-function-arg_begin.patch
+ * 0011-llvm50-integerPartWidth-is-from-llvm-APFloatBase.patch
+ -> 0002-llvm5-integerPartWidth-is-from-llvm-APFloatBase.patch
+ * 0012-llvm50-handle-getOrInsertFunction-terminator.patch
+ -> 0003-llvm5-handle-getOrInsertFunction-terminator.patch
+ * 0013-llvm50-SwitchInst-case-functions-now-return-pointers.patch
+ -> 0004-llvm5-SwitchInst-case-functions-now-return-pointers.patch
+ * 0014-llvm50-handle-new-file_magic-s-location.patch
+ -> 0005-llvm5-handle-new-file_magic-s-location.patch
+ * 0015-llvm50-use-MutableArrayRef-for-APFloat-convertToInte.patch
+ -> 0006-llvm5-use-MutableArrayRef-for-APFloat-convertToInteg.patch
+ * 0016-llvm50-AllocaInst-takes-address-space.patch
+ -> 0007-llvm5-Intrinsic-objectsize-has-three-arguments.patch
+ * 0018-llvm50-test-change-objectsize.patch
+ -> 0008-llvm5-test-change-objectsize.patch
+ * 0019-llvm50-test-add-disable-O0-optnone-to-O0.patch
+ -> 0009-llvm5-test-add-disable-O0-optnone-to-O0.patch
+ * 0020-llvm50-CallSite.paramHasAttr-is-indexed-from-0.patch
+ -> 0010-llvm5-CallSite.paramHasAttr-is-indexed-from-0.patch
+ * 0021-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch
+ -> 0011-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch
+ * 0022-llvm6-handle-headers-renaming.patch
+ -> 0012-llvm6-handle-headers-renaming.patch
+
+-------------------------------------------------------------------
Old:
----
0001-llvm-make-KLEE-compile-against-LLVM-3.9.patch
0002-cmake-find_llvm-fix-libraries-with-llvm-config-3.9.patch
0003-llvm39-switch-KLEE_RUNTIME_BUILD_TYPE-to-Debug-Asser.patch
0004-llvm40-handle-different-header-names.patch
0005-llvm-APFloat-members-are-functions-in-LLVM-4.0.patch
0006-llvm40-errorOr-and-similar.patch
0007-llvm-use-chrono-helpers-from-LLVM-4.0.patch
0008-llvm-PointerType-is-not-SequentialType-in-LLVM-4.patch
0009-llvm40-gep_type_iterator-has-no-operator.patch
0010-llvm50-avoid-on-function-arg_begin.patch
0011-llvm50-integerPartWidth-is-from-llvm-APFloatBase.patch
0012-llvm50-handle-getOrInsertFunction-terminator.patch
0013-llvm50-SwitchInst-case-functions-now-return-pointers.patch
0014-llvm50-handle-new-file_magic-s-location.patch
0015-llvm50-use-MutableArrayRef-for-APFloat-convertToInte.patch
0016-llvm50-AllocaInst-takes-address-space.patch
0017-llvm50-Intrinsic-objectsize-has-three-arguments.patch
0018-llvm50-test-change-objectsize.patch
0019-llvm50-test-add-disable-O0-optnone-to-O0.patch
0020-llvm50-CallSite.paramHasAttr-is-indexed-from-0.patch
0021-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch
0022-llvm6-handle-headers-renaming.patch
klee-1.4.0+20180829.tar.xz
New:
----
0001-llvm5-avoid-on-function-arg_begin.patch
0002-llvm5-integerPartWidth-is-from-llvm-APFloatBase.patch
0003-llvm5-handle-getOrInsertFunction-terminator.patch
0004-llvm5-SwitchInst-case-functions-now-return-pointers.patch
0005-llvm5-handle-new-file_magic-s-location.patch
0006-llvm5-use-MutableArrayRef-for-APFloat-convertToInteg.patch
0007-llvm5-Intrinsic-objectsize-has-three-arguments.patch
0008-llvm5-test-change-objectsize.patch
0009-llvm5-test-add-disable-O0-optnone-to-O0.patch
0010-llvm5-CallSite.paramHasAttr-is-indexed-from-0.patch
0011-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch
0012-llvm6-handle-headers-renaming.patch
klee-1.4.0+20180920.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ klee.spec ++++++
--- /var/tmp/diff_new_pack.ETwrP3/_old 2018-09-24 13:13:12.665712134 +0200
+++ /var/tmp/diff_new_pack.ETwrP3/_new 2018-09-24 13:13:12.669712128 +0200
@@ -19,7 +19,7 @@
%define llvm_version_minor 0
%define llvm_version %{llvm_version_major}
-%define version_unconverted 1.4.0+20180829
+%define version_unconverted 1.4.0+20180920
%ifarch %{ix86} x86_64
%define with_uclibc 1
@@ -31,7 +31,7 @@
Summary: LLVM Execution Engine
License: NCSA
Group: Development/Languages/Other
-Version: 1.4.0+20180829
+Version: 1.4.0+20180920
Release: 0
Url: http://klee.github.io/
Source0: %{name}-%{version}.tar.xz
@@ -39,28 +39,18 @@
Source2: https://raw.githubusercontent.com/llvm-mirror/llvm/release_%{llvm_version_m…
Source3: https://raw.githubusercontent.com/llvm-mirror/llvm/release_%{llvm_version_m…
-Patch201: 0001-llvm-make-KLEE-compile-against-LLVM-3.9.patch
-Patch202: 0002-cmake-find_llvm-fix-libraries-with-llvm-config-3.9.patch
-Patch203: 0003-llvm39-switch-KLEE_RUNTIME_BUILD_TYPE-to-Debug-Asser.patch
-Patch204: 0004-llvm40-handle-different-header-names.patch
-Patch205: 0005-llvm-APFloat-members-are-functions-in-LLVM-4.0.patch
-Patch206: 0006-llvm40-errorOr-and-similar.patch
-Patch207: 0007-llvm-use-chrono-helpers-from-LLVM-4.0.patch
-Patch208: 0008-llvm-PointerType-is-not-SequentialType-in-LLVM-4.patch
-Patch209: 0009-llvm40-gep_type_iterator-has-no-operator.patch
-Patch210: 0010-llvm50-avoid-on-function-arg_begin.patch
-Patch211: 0011-llvm50-integerPartWidth-is-from-llvm-APFloatBase.patch
-Patch212: 0012-llvm50-handle-getOrInsertFunction-terminator.patch
-Patch213: 0013-llvm50-SwitchInst-case-functions-now-return-pointers.patch
-Patch214: 0014-llvm50-handle-new-file_magic-s-location.patch
-Patch215: 0015-llvm50-use-MutableArrayRef-for-APFloat-convertToInte.patch
-Patch216: 0016-llvm50-AllocaInst-takes-address-space.patch
-Patch217: 0017-llvm50-Intrinsic-objectsize-has-three-arguments.patch
-Patch218: 0018-llvm50-test-change-objectsize.patch
-Patch219: 0019-llvm50-test-add-disable-O0-optnone-to-O0.patch
-Patch220: 0020-llvm50-CallSite.paramHasAttr-is-indexed-from-0.patch
-Patch221: 0021-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch
-Patch222: 0022-llvm6-handle-headers-renaming.patch
+Patch201: 0001-llvm5-avoid-on-function-arg_begin.patch
+Patch202: 0002-llvm5-integerPartWidth-is-from-llvm-APFloatBase.patch
+Patch203: 0003-llvm5-handle-getOrInsertFunction-terminator.patch
+Patch204: 0004-llvm5-SwitchInst-case-functions-now-return-pointers.patch
+Patch205: 0005-llvm5-handle-new-file_magic-s-location.patch
+Patch206: 0006-llvm5-use-MutableArrayRef-for-APFloat-convertToInteg.patch
+Patch207: 0007-llvm5-Intrinsic-objectsize-has-three-arguments.patch
+Patch208: 0008-llvm5-test-change-objectsize.patch
+Patch209: 0009-llvm5-test-add-disable-O0-optnone-to-O0.patch
+Patch210: 0010-llvm5-CallSite.paramHasAttr-is-indexed-from-0.patch
+Patch211: 0011-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch
+Patch212: 0012-llvm6-handle-headers-renaming.patch
BuildRequires: clang%{llvm_version}
BuildRequires: cmake
++++++ 0010-llvm50-avoid-on-function-arg_begin.patch -> 0001-llvm5-avoid-on-function-arg_begin.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0010-llvm50-avoid-on-function-arg_begin.patch 2018-09-03 10:36:21.528864134 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0001-llvm5-avoid-on-function-arg_begin.patch 2018-09-24 13:13:11.781713679 +0200
@@ -1,11 +1,11 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Mon, 15 Jan 2018 10:35:19 +0100
-Subject: llvm50: avoid ++ on function->arg_begin()
+Subject: llvm5: avoid ++ on function->arg_begin()
Patch-mainline: no
Starting with llvm 5, arguments of a function are not an iterator, but
-an array. So they cannot be incremented in-place. Use +1 to construct a
-new one instead.
+an array. So they cannot be incremented in-place. Add a local auto
+variable and increment that.
Otherwise we see:
../tools/klee/main.cpp:661:23: error: expression is not assignable
@@ -14,37 +14,23 @@
Signed-off-by: Jiri Slaby <jirislaby(a)gmail.com>
---
- tools/klee/main.cpp | 8 ++++++++
- 1 file changed, 8 insertions(+)
+ tools/klee/main.cpp | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
-index c7dc517a8eee..883be83a4130 100644
+index 1de5fbeb7e0e..3be619138bd6 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
-@@ -655,7 +655,11 @@ static void initEnv(Module *mainModule) {
- Instruction *firstInst = &*(mainFn->begin()->begin());
-
- Value *oldArgc = &*(mainFn->arg_begin());
-+#if LLVM_VERSION_CODE >= LLVM_VERSION(5, 0)
-+ Value *oldArgv = &*(mainFn->arg_begin() + 1);
-+#else
- Value *oldArgv = &*(++mainFn->arg_begin());
-+#endif
-
- AllocaInst* argcPtr =
- new AllocaInst(oldArgc->getType(), "argcPtr", firstInst);
-@@ -1057,7 +1061,11 @@ createLibCWrapper(std::vector<std::unique_ptr<llvm::Module>> &modules,
+@@ -1036,7 +1036,8 @@ createLibCWrapper(std::vector<std::unique_ptr<llvm::Module>> &modules,
args.push_back(
llvm::ConstantExpr::getBitCast(inModuleRefernce, ft->getParamType(0)));
args.push_back(&*(stub->arg_begin())); // argc
-+#if LLVM_VERSION_CODE >= LLVM_VERSION(5, 0)
-+ args.push_back(&*(stub->arg_begin() + 1)); // argv
-+#else
- args.push_back(&*(++stub->arg_begin())); // argv
-+#endif
+- args.push_back(&*(++stub->arg_begin())); // argv
++ auto arg_it = stub->arg_begin();
++ args.push_back(&*(++arg_it)); // argv
args.push_back(Constant::getNullValue(ft->getParamType(3))); // app_init
args.push_back(Constant::getNullValue(ft->getParamType(4))); // app_fini
args.push_back(Constant::getNullValue(ft->getParamType(5))); // rtld_fini
--
-2.18.0
+2.19.0
++++++ 0011-llvm50-integerPartWidth-is-from-llvm-APFloatBase.patch -> 0002-llvm5-integerPartWidth-is-from-llvm-APFloatBase.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0011-llvm50-integerPartWidth-is-from-llvm-APFloatBase.patch 2018-09-03 10:36:21.536864154 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0002-llvm5-integerPartWidth-is-from-llvm-APFloatBase.patch 2018-09-24 13:13:11.793713658 +0200
@@ -1,6 +1,6 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Mon, 15 Jan 2018 10:09:20 +0100
-Subject: llvm50: integerPartWidth is from llvm::APFloatBase
+Subject: llvm5: integerPartWidth is from llvm::APFloatBase
Patch-mainline: no
Otherwise we see:
@@ -28,5 +28,5 @@
}
}
--
-2.18.0
+2.19.0
++++++ 0012-llvm50-handle-getOrInsertFunction-terminator.patch -> 0003-llvm5-handle-getOrInsertFunction-terminator.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0012-llvm50-handle-getOrInsertFunction-terminator.patch 2018-09-03 10:36:21.548864185 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0003-llvm5-handle-getOrInsertFunction-terminator.patch 2018-09-24 13:13:11.805713637 +0200
@@ -1,6 +1,6 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Mon, 15 Jan 2018 10:27:54 +0100
-Subject: llvm50: handle getOrInsertFunction terminator
+Subject: llvm5: handle getOrInsertFunction terminator
Patch-mainline: no
llvm 5 does not terminate getOrInsertFunction parameters with NULL, take
@@ -13,8 +13,7 @@
include/klee/Config/Version.h | 6 ++++++
lib/Module/Checks.cpp | 8 ++++----
lib/Module/IntrinsicCleaner.cpp | 3 ++-
- tools/klee/main.cpp | 4 ++--
- 4 files changed, 14 insertions(+), 7 deletions(-)
+ 3 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/include/klee/Config/Version.h b/include/klee/Config/Version.h
index 532051602fe3..a02ce28baaae 100644
@@ -71,21 +70,6 @@
F->setDoesNotReturn();
F->setDoesNotThrow();
-diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
-index 883be83a4130..c0805f457717 100644
---- a/tools/klee/main.cpp
-+++ b/tools/klee/main.cpp
-@@ -675,8 +675,8 @@ static void initEnv(Module *mainModule) {
- cast<Function>(mainModule->getOrInsertFunction("klee_init_env",
- Type::getVoidTy(ctx),
- argcPtr->getType(),
-- argvPtr->getType(),
-- NULL));
-+ argvPtr->getType()
-+ KLEE_LLVM_GOIF_TERMINATOR));
- assert(initEnvFn);
- std::vector<Value*> args;
- args.push_back(argcPtr);
--
-2.18.0
+2.19.0
++++++ 0013-llvm50-SwitchInst-case-functions-now-return-pointers.patch -> 0004-llvm5-SwitchInst-case-functions-now-return-pointers.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0013-llvm50-SwitchInst-case-functions-now-return-pointers.patch 2018-09-03 10:36:21.560864216 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0004-llvm5-SwitchInst-case-functions-now-return-pointers.patch 2018-09-24 13:13:11.821713608 +0200
@@ -1,6 +1,6 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Mon, 15 Jan 2018 10:38:35 +0100
-Subject: llvm50: SwitchInst case functions now return pointers
+Subject: llvm5: SwitchInst case functions now return pointers
Patch-mainline: no
Starting llvm 5, SwitchInst->findCaseValue() now has to be dereferenced
@@ -15,7 +15,7 @@
1 file changed, 4 insertions(+)
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
-index 51d36b352e5c..75af0fd09bd8 100644
+index 04fd6941d34a..64d0f66e4073 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -1673,7 +1673,11 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) {
@@ -31,5 +31,5 @@
} else {
// Handle possible different branch targets
--
-2.18.0
+2.19.0
++++++ 0014-llvm50-handle-new-file_magic-s-location.patch -> 0005-llvm5-handle-new-file_magic-s-location.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0014-llvm50-handle-new-file_magic-s-location.patch 2018-09-03 10:36:21.572864247 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0005-llvm5-handle-new-file_magic-s-location.patch 2018-09-24 13:13:11.833713587 +0200
@@ -1,6 +1,6 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Mon, 15 Jan 2018 10:42:53 +0100
-Subject: llvm50: handle new file_magic's location
+Subject: llvm5: handle new file_magic's location
Patch-mainline: no
llvm 5, moved file_magic to BinaryFormat in commit
@@ -12,7 +12,7 @@
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/lib/Module/ModuleUtil.cpp b/lib/Module/ModuleUtil.cpp
-index 7f4bdb49380a..f1dbdb13bcff 100644
+index bfec9e7dc7ff..ecc114460a3f 100644
--- a/lib/Module/ModuleUtil.cpp
+++ b/lib/Module/ModuleUtil.cpp
@@ -14,6 +14,9 @@
@@ -25,7 +25,7 @@
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
-@@ -380,13 +383,19 @@ bool klee::loadFile(const std::string &fileName, LLVMContext &context,
+@@ -381,13 +384,19 @@ bool klee::loadFile(const std::string &fileName, LLVMContext &context,
MemoryBuffer *Buffer = bufferErr->get();
#endif
@@ -46,7 +46,7 @@
SMDiagnostic Err;
#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 6)
std::unique_ptr<llvm::Module> module(parseIR(Buffer, Err, context));
-@@ -403,7 +412,11 @@ bool klee::loadFile(const std::string &fileName, LLVMContext &context,
+@@ -404,7 +413,11 @@ bool klee::loadFile(const std::string &fileName, LLVMContext &context,
return true;
}
@@ -59,5 +59,5 @@
Expected<std::unique_ptr<object::Binary> > archOwner =
object::createBinary(Buffer, &context);
--
-2.18.0
+2.19.0
++++++ 0006-llvm5-use-MutableArrayRef-for-APFloat-convertToInteg.patch ++++++
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Mon, 15 Jan 2018 11:07:47 +0100
Subject: llvm5: use MutableArrayRef for APFloat::convertToInteger
Patch-mainline: no
In llvm 5, since commit 957caa243d9270df37a566aedae3f1244e7b62ef, the
first parameter to APFloat::convertToInteger is MutableArrayRef. So
handle that.
Signed-off-by: Jiri Slaby <jirislaby(a)gmail.com>
---
lib/Core/Executor.cpp | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index 64d0f66e4073..b5d7e6ce8f6c 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -2326,7 +2326,12 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) {
llvm::APFloat Arg(*fpWidthToSemantics(arg->getWidth()), arg->getAPValue());
uint64_t value = 0;
bool isExact = true;
- Arg.convertToInteger(&value, resultType, false,
+#if LLVM_VERSION_CODE >= LLVM_VERSION(5, 0)
+ auto valueRef = makeMutableArrayRef(value);
+#else
+ uint64_t *valueRef = &value;
+#endif
+ Arg.convertToInteger(valueRef, resultType, false,
llvm::APFloat::rmTowardZero, &isExact);
bindLocal(ki, state, ConstantExpr::alloc(value, resultType));
break;
@@ -2343,7 +2348,12 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) {
uint64_t value = 0;
bool isExact = true;
- Arg.convertToInteger(&value, resultType, true,
+#if LLVM_VERSION_CODE >= LLVM_VERSION(5, 0)
+ auto valueRef = makeMutableArrayRef(value);
+#else
+ uint64_t *valueRef = &value;
+#endif
+ Arg.convertToInteger(valueRef, resultType, true,
llvm::APFloat::rmTowardZero, &isExact);
bindLocal(ki, state, ConstantExpr::alloc(value, resultType));
break;
--
2.19.0
++++++ 0017-llvm50-Intrinsic-objectsize-has-three-arguments.patch -> 0007-llvm5-Intrinsic-objectsize-has-three-arguments.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0017-llvm50-Intrinsic-objectsize-has-three-arguments.patch 2018-09-03 10:36:21.604864330 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0007-llvm5-Intrinsic-objectsize-has-three-arguments.patch 2018-09-24 13:13:11.853713553 +0200
@@ -1,6 +1,6 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Wed, 23 May 2018 15:01:34 +0200
-Subject: llvm50: Intrinsic::objectsize has three arguments
+Subject: llvm5: Intrinsic::objectsize has three arguments
Patch-mainline: no
Modify the IntrinsicCleaner accordingly.
@@ -14,7 +14,7 @@
1 file changed, 16 insertions(+)
diff --git a/lib/Module/IntrinsicCleaner.cpp b/lib/Module/IntrinsicCleaner.cpp
-index ab16a2654492..19807ce08583 100644
+index ab16a2654492..ee65be69e543 100644
--- a/lib/Module/IntrinsicCleaner.cpp
+++ b/lib/Module/IntrinsicCleaner.cpp
@@ -227,13 +227,29 @@ bool IntrinsicCleanerPass::runOnBasicBlock(BasicBlock &b, Module &M) {
@@ -35,9 +35,9 @@
"Second argument is not an i1");
+
+#if LLVM_VERSION_CODE >= LLVM_VERSION(5, 0)
-+ Value *nullArg = ii->getArgOperand(2);
++ auto nullArg = ii->getArgOperand(2);
+ assert(nullArg && "Failed to get second argument");
-+ ConstantInt *nullArgAsInt = dyn_cast<ConstantInt>(nullArg);
++ auto nullArgAsInt = dyn_cast<ConstantInt>(nullArg);
+ assert(nullArgAsInt && "Third arg is not a ConstantInt");
+ assert(nullArgAsInt->getBitWidth() == 1 &&
+ "Third argument is not an i1");
@@ -48,5 +48,5 @@
IntegerType *intType = dyn_cast<IntegerType>(ii->getType());
assert(intType && "intrinsic does not have integer return type");
--
-2.18.0
+2.19.0
++++++ 0018-llvm50-test-change-objectsize.patch -> 0008-llvm5-test-change-objectsize.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0018-llvm50-test-change-objectsize.patch 2018-09-03 10:36:21.612864351 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0008-llvm5-test-change-objectsize.patch 2018-09-24 13:13:11.865713532 +0200
@@ -1,6 +1,6 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Wed, 23 May 2018 14:54:48 +0200
-Subject: llvm50: test, change objectsize
+Subject: llvm5: test, change objectsize
Patch-mainline: no
@llvm.objectsize has now three aguments, so fix the tests accordingly.
@@ -95,5 +95,5 @@
declare void @abort() noreturn nounwind
--
-2.18.0
+2.19.0
++++++ 0019-llvm50-test-add-disable-O0-optnone-to-O0.patch -> 0009-llvm5-test-add-disable-O0-optnone-to-O0.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0019-llvm50-test-add-disable-O0-optnone-to-O0.patch 2018-09-03 10:36:21.652864454 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0009-llvm5-test-add-disable-O0-optnone-to-O0.patch 2018-09-24 13:13:11.877713511 +0200
@@ -1,6 +1,6 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Sun, 27 May 2018 10:26:43 +0200
-Subject: llvm50: test, add -disable-O0-optnone to -O0
+Subject: llvm5: test, add -disable-O0-optnone to -O0
Patch-mainline: no
Otherwise optimizations done in klee won't have any effect.
@@ -213,7 +213,7 @@
// RUN: %klee --output-dir=%t.klee-out --no-output --exit-on-error --no-externals %t1.bc
diff --git a/test/CXX/StaticConstructor.cpp b/test/CXX/StaticConstructor.cpp
-index 56fcb97be385..5332dc0b7846 100644
+index c184526e3601..3c61aec45acb 100644
--- a/test/CXX/StaticConstructor.cpp
+++ b/test/CXX/StaticConstructor.cpp
@@ -1,4 +1,4 @@
@@ -223,7 +223,7 @@
// RUN: %klee --output-dir=%t.klee-out --libc=klee --no-output --exit-on-error %t1.bc
diff --git a/test/CXX/StaticDestructor.cpp b/test/CXX/StaticDestructor.cpp
-index adc449a5c1f7..608525083bbb 100644
+index 2cf01e3b6d33..15520fc48504 100644
--- a/test/CXX/StaticDestructor.cpp
+++ b/test/CXX/StaticDestructor.cpp
@@ -1,6 +1,6 @@
@@ -233,7 +233,7 @@
+// RUN: %llvmgxx %s -emit-llvm -g %O0opt -c -o %t1.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out --optimize=false --libc=klee --no-output %t1.bc 2> %t1.log
- // RUN: grep ":17: memory error" %t1.log
+ // RUN: FileCheck --input-file %t1.log %s
diff --git a/test/CXX/Trivial.cpp b/test/CXX/Trivial.cpp
index 2b8ceed36cb9..18845820c067 100644
--- a/test/CXX/Trivial.cpp
@@ -375,7 +375,7 @@
// RUN: %klee --output-dir=%t.klee-out --exit-on-error %t1.bc
diff --git a/test/Feature/InAndOutOfBounds.c b/test/Feature/InAndOutOfBounds.c
-index 6eb8784a7353..5f10835f4a6d 100644
+index 9b913609c046..3c6fe37ec8aa 100644
--- a/test/Feature/InAndOutOfBounds.c
+++ b/test/Feature/InAndOutOfBounds.c
@@ -1,4 +1,4 @@
@@ -395,7 +395,7 @@
// RUN: %klee --output-dir=%t.klee-out %t1.bc
diff --git a/test/Feature/KleeReportError.c b/test/Feature/KleeReportError.c
-index 4e21df1870f7..665d194607bd 100644
+index 96879a5571f9..b83472549a7b 100644
--- a/test/Feature/KleeReportError.c
+++ b/test/Feature/KleeReportError.c
@@ -1,4 +1,4 @@
@@ -450,7 +450,7 @@
// RUN: %klee --output-dir=%t.klee-out --optimize=0 --exit-on-error %t1.bc > %t2.out
diff --git a/test/Feature/MultipleFreeResolution.c b/test/Feature/MultipleFreeResolution.c
-index 704057f93891..63b7c1ab3645 100644
+index 5c7dfdd8c941..540324a596a8 100644
--- a/test/Feature/MultipleFreeResolution.c
+++ b/test/Feature/MultipleFreeResolution.c
@@ -1,4 +1,4 @@
@@ -496,7 +496,7 @@
// RUN: %klee --output-dir=%t.klee-out %t1.bc > %t1.log
// RUN: diff %t1.res %t1.log
diff --git a/test/Feature/OneFreeError.c b/test/Feature/OneFreeError.c
-index 4f5a8c8c0153..76e85d6b3516 100644
+index 64a0425dc11d..e68f333f7232 100644
--- a/test/Feature/OneFreeError.c
+++ b/test/Feature/OneFreeError.c
@@ -1,4 +1,4 @@
@@ -506,7 +506,7 @@
// RUN: %klee --output-dir=%t.klee-out %t1.bc 2>&1 | FileCheck %s
// RUN: test -f %t.klee-out/test000001.ptr.err
diff --git a/test/Feature/OneOutOfBounds.c b/test/Feature/OneOutOfBounds.c
-index 85fb2a79599e..444820c9b878 100644
+index 88a2ae435418..01fa0f922f68 100644
--- a/test/Feature/OneOutOfBounds.c
+++ b/test/Feature/OneOutOfBounds.c
@@ -1,4 +1,4 @@
@@ -536,7 +536,7 @@
// RUN: %klee --output-dir=%t.klee-out %t1.bc
// RUN: ls %t.klee-out/ | grep .ktest | wc -l | grep 4
diff --git a/test/Feature/OvershiftCheck.c b/test/Feature/OvershiftCheck.c
-index 09cbf8ba0f6b..00e5530ad8d5 100644
+index ace54cee98f4..0a5cfc3b9704 100644
--- a/test/Feature/OvershiftCheck.c
+++ b/test/Feature/OvershiftCheck.c
@@ -1,4 +1,4 @@
@@ -544,7 +544,7 @@
+// RUN: %llvmgcc %s -emit-llvm -g %O0opt -c -o %t.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out -check-overshift %t.bc 2> %t.log
- // RUN: grep -c "overshift error" %t.log
+ // RUN: FileCheck --input-file %t.log %s
diff --git a/test/Feature/PreferCex.c b/test/Feature/PreferCex.c
index a765eea8b4af..8d88a3ce79bc 100644
--- a/test/Feature/PreferCex.c
@@ -621,7 +621,7 @@
// RUN: %klee --output-dir=%t.klee-out --max-solver-time=1 %t1.bc
// FIXME: This test occasionally fails when using Z3 4.4.1 but
diff --git a/test/Feature/SourceMapping.c b/test/Feature/SourceMapping.c
-index 9835d7018b97..1927d2d6b8da 100644
+index bc13652d91e4..aa849c5f88c4 100644
--- a/test/Feature/SourceMapping.c
+++ b/test/Feature/SourceMapping.c
@@ -1,7 +1,7 @@
@@ -644,16 +644,15 @@
// RUN: %klee --output-dir=%t.klee-out %t.bc | FileCheck %s
diff --git a/test/Feature/Vararg.c b/test/Feature/Vararg.c
-index a78b784e3f62..11416c3730aa 100644
+index 9f4e9dabb00e..239ec9a35bde 100644
--- a/test/Feature/Vararg.c
+++ b/test/Feature/Vararg.c
-@@ -1,5 +1,5 @@
- // REQUIRES: not-darwin
--// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc
-+// RUN: %llvmgcc %s -emit-llvm %O0opt -c -o %t1.bc
+@@ -1,4 +1,4 @@
+-// RUN: %llvmgcc %s -emit-llvm -O0 -c -g -o %t1.bc
++// RUN: %llvmgcc %s -emit-llvm %O0opt -c -g -o %t1.bc
// RUN: rm -rf %t.klee-out
- // RUN: %klee --output-dir=%t.klee-out %t1.bc > %t2.out
- // RUN: grep "types: (52, 37, 2.00, (9,12,15))" %t2.out
+ // This test needs deterministic allocation with enough spacing between the allocations.
+ // Otherwise, if by coincidence the allocated vararg memory object is directly before another valid memory object,
diff --git a/test/Feature/WithLibc.c b/test/Feature/WithLibc.c
index 0eca8213f384..8c07041d89f6 100644
--- a/test/Feature/WithLibc.c
@@ -675,7 +674,7 @@
// RUN: %klee --output-dir=%t.klee-out -use-cex-cache=1 -check-overshift=0 %t.bc
// RUN: not grep "ASSERTION FAIL" %t.klee-out/messages.txt
diff --git a/test/Feature/consecutive_divide_by_zero.c b/test/Feature/consecutive_divide_by_zero.c
-index 31124ea4611c..157f5e1cf604 100644
+index ebe0dcb54307..b44572aa7187 100644
--- a/test/Feature/consecutive_divide_by_zero.c
+++ b/test/Feature/consecutive_divide_by_zero.c
@@ -1,4 +1,4 @@
@@ -683,7 +682,7 @@
+// RUN: %llvmgcc -emit-llvm -c -g %O0opt %s -o %t.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out -check-div-zero -emit-all-errors=0 %t.bc 2> %t.log
- // RUN: grep "completed paths = 3" %t.log
+ // RUN: FileCheck --input-file=%t.log %s
diff --git a/test/Feature/const_array_opt1.c b/test/Feature/const_array_opt1.c
index ac43bdf7fd4b..b466e56ce784 100644
--- a/test/Feature/const_array_opt1.c
@@ -725,7 +724,7 @@
// RUN: %klee --output-dir=%t.klee-out -use-cex-cache=1 %t.bc
// RUN: grep "KLEE: done: explored paths = 5" %t.klee-out/info
diff --git a/test/Feature/ubsan_signed_overflow.c b/test/Feature/ubsan_signed_overflow.c
-index c89065ebf957..03073ae7f39e 100644
+index 8d01f7d36045..f4636c335f90 100644
--- a/test/Feature/ubsan_signed_overflow.c
+++ b/test/Feature/ubsan_signed_overflow.c
@@ -1,4 +1,4 @@
@@ -735,7 +734,7 @@
// RUN: %klee --output-dir=%t.klee-out %t.bc 2>&1 | FileCheck %s
diff --git a/test/Feature/ubsan_unsigned_overflow.c b/test/Feature/ubsan_unsigned_overflow.c
-index 1300ffcc195c..c96909bb3a66 100644
+index e2d9592c37f2..4c783b4c32e7 100644
--- a/test/Feature/ubsan_unsigned_overflow.c
+++ b/test/Feature/ubsan_unsigned_overflow.c
@@ -1,4 +1,4 @@
@@ -873,7 +872,7 @@
// RUN: %gentmp %t.klee-out-tmp
// RUN: %klee --output-dir=%t.klee-out --run-in=%t.klee-out-tmp --search=random-state --libc=uclibc --posix-runtime --exit-on-error %t.bc --sym-files 1 1 > %t2.log
diff --git a/test/Runtime/POSIX/DirSeek.c b/test/Runtime/POSIX/DirSeek.c
-index 4c68a30c546c..4cb91b7016e0 100644
+index 821ff8f58a89..449714b95b9f 100644
--- a/test/Runtime/POSIX/DirSeek.c
+++ b/test/Runtime/POSIX/DirSeek.c
@@ -1,4 +1,4 @@
@@ -893,15 +892,15 @@
// RUN: %klee --output-dir=%t.klee-out --posix-runtime --exit-on-error %t2.bc --sym-files 1 10
diff --git a/test/Runtime/POSIX/FD_Fail.c b/test/Runtime/POSIX/FD_Fail.c
-index 2ee1a1a260d6..9a73e60f202e 100644
+index 018f43f8a552..74f94bf6e754 100644
--- a/test/Runtime/POSIX/FD_Fail.c
+++ b/test/Runtime/POSIX/FD_Fail.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc
+// RUN: %llvmgcc %s -emit-llvm %O0opt -c -o %t1.bc
// RUN: rm -rf %t.klee-out
- // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --posix-runtime %t1.bc --sym-files 0 0 --max-fail 1 > %t.log
- // RUN: grep -q "fread(): ok" %t.log
+ // RUN: %klee --output-dir=%t.klee-out --libc=uclibc --posix-runtime %t1.bc --max-fail 1 | FileCheck %s
+
diff --git a/test/Runtime/POSIX/FD_Fail2.c b/test/Runtime/POSIX/FD_Fail2.c
index c1c2cc5fd9de..8fef1eda6df1 100644
--- a/test/Runtime/POSIX/FD_Fail2.c
@@ -944,7 +943,7 @@
// RUN: %klee --output-dir=%t.klee-out --libc=uclibc --posix-runtime %t1.bc --sym-files 1 1
diff --git a/test/Runtime/POSIX/FreeArgv.c b/test/Runtime/POSIX/FreeArgv.c
-index 8f812b5d946f..ff07024358d5 100644
+index 7a5445a3a206..fff1b2c46280 100644
--- a/test/Runtime/POSIX/FreeArgv.c
+++ b/test/Runtime/POSIX/FreeArgv.c
@@ -1,4 +1,4 @@
@@ -974,17 +973,17 @@
// RUN: %klee --output-dir=%t.klee-out --libc=klee --posix-runtime --exit-on-error %t2.bc --sym-files 1 10
diff --git a/test/Runtime/POSIX/Ioctl.c b/test/Runtime/POSIX/Ioctl.c
-index f1caaf77dea2..8ab5d49ac8fc 100644
+index c8937a371fd0..61af8662132a 100644
--- a/test/Runtime/POSIX/Ioctl.c
+++ b/test/Runtime/POSIX/Ioctl.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t.bc
+// RUN: %llvmgcc %s -emit-llvm %O0opt -c -o %t.bc
// RUN: rm -rf %t.klee-out
- // RUN: %klee --output-dir=%t.klee-out --posix-runtime --exit-on-error %t.bc --sym-files 0 4
+ // RUN: %klee --output-dir=%t.klee-out --posix-runtime --exit-on-error %t.bc --sym-stdin 4
diff --git a/test/Runtime/POSIX/Isatty.c b/test/Runtime/POSIX/Isatty.c
-index fdfc6ceb0301..7fe44dcf031a 100644
+index b9232e01eb7f..6501a4a39252 100644
--- a/test/Runtime/POSIX/Isatty.c
+++ b/test/Runtime/POSIX/Isatty.c
@@ -1,4 +1,4 @@
@@ -1384,7 +1383,7 @@
// RUN: %klee --output-dir=%t.klee-out %t1.bc
diff --git a/test/regression/2014-07-04-unflushed-error-report.c b/test/regression/2014-07-04-unflushed-error-report.c
-index 0518fb4d4566..f9547c176df9 100644
+index 0b98944ac78f..a0404db68c0a 100644
--- a/test/regression/2014-07-04-unflushed-error-report.c
+++ b/test/regression/2014-07-04-unflushed-error-report.c
@@ -1,4 +1,4 @@
@@ -1499,10 +1498,11 @@
// RUN: %klee --output-dir=%t.klee-out --entry-point=entry %t.bc
diff --git a/test/regression/2016-08-12-empty-file.c b/test/regression/2016-08-12-empty-file.c
-index b965027837f8..a4f1b19cb15d 100644
+index 56695fe1200c..8165f9242223 100644
--- a/test/regression/2016-08-12-empty-file.c
+++ b/test/regression/2016-08-12-empty-file.c
-@@ -1,4 +1,4 @@
+@@ -1,5 +1,5 @@
+ // REQUIRES: posix-runtime
-// RUN: %llvmgcc %s -emit-llvm -g -O0 -c -o %t.bc
+// RUN: %llvmgcc %s -emit-llvm -g %O0opt -c -o %t.bc
// RUN: rm -rf %t.klee-out
@@ -1560,5 +1560,5 @@
// RUN: %klee -stop-after-n-instructions=1 --output-dir=%t.klee-out %t1.bc 2>&1 | FileCheck %s
--
-2.18.0
+2.19.0
++++++ 0020-llvm50-CallSite.paramHasAttr-is-indexed-from-0.patch -> 0010-llvm5-CallSite.paramHasAttr-is-indexed-from-0.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0020-llvm50-CallSite.paramHasAttr-is-indexed-from-0.patch 2018-09-03 10:36:21.668864496 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0010-llvm5-CallSite.paramHasAttr-is-indexed-from-0.patch 2018-09-24 13:13:11.889713490 +0200
@@ -1,6 +1,6 @@
From: Jiri Slaby <jirislaby(a)gmail.com>
Date: Fri, 20 Jul 2018 10:06:29 +0200
-Subject: llvm50: CallSite.paramHasAttr is indexed from 0
+Subject: llvm5: CallSite.paramHasAttr is indexed from 0
Patch-mainline: no
Since LLVM 5 commit 1f8f0490690b, CallSite.paramHasAttr is indexed from
@@ -13,7 +13,7 @@
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
-index 46fd2be42351..f05561e7fe82 100644
+index b5d7e6ce8f6c..96285f74a462 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -1543,7 +1543,11 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) {
@@ -42,5 +42,5 @@
arguments[i] = SExtExpr::create(arguments[i], to);
} else {
--
-2.18.0
+2.19.0
++++++ 0021-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch -> 0011-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0021-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch 2018-09-03 10:36:21.688864547 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0011-llvm6-SetVersionPrinter-now-passes-down-a-stream.patch 2018-09-24 13:13:11.901713469 +0200
@@ -81,5 +81,5 @@
llvm::cl::PrintVersionMessage();
}
--
-2.18.0
+2.19.0
++++++ 0022-llvm6-handle-headers-renaming.patch -> 0012-llvm6-handle-headers-renaming.patch ++++++
--- /work/SRC/openSUSE:Factory/klee/0022-llvm6-handle-headers-renaming.patch 2018-09-03 10:36:21.696864568 +0200
+++ /work/SRC/openSUSE:Factory/.klee.new/0012-llvm6-handle-headers-renaming.patch 2018-09-24 13:13:11.909713455 +0200
@@ -33,5 +33,5 @@
using namespace llvm;
--
-2.18.0
+2.19.0
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ETwrP3/_old 2018-09-24 13:13:12.821711862 +0200
+++ /var/tmp/diff_new_pack.ETwrP3/_new 2018-09-24 13:13:12.821711862 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/klee/klee.git</param>
- <param name="changesrevision">b893d2158ce001da97f2c741ac8320b4c3b9ed53</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">4efd7f6b443f187f5a844227339383ce5593e865</param></service></servicedata>
\ No newline at end of file
++++++ klee-1.4.0+20180829.tar.xz -> klee-1.4.0+20180920.tar.xz ++++++
++++ 1684 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package vpp for openSUSE:Factory checked in at 2018-09-24 13:13:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vpp (Old)
and /work/SRC/openSUSE:Factory/.vpp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vpp"
Mon Sep 24 13:13:09 2018 rev:17 rq:637041 version:18.07.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/vpp/vpp.changes 2018-08-31 10:47:59.475461406 +0200
+++ /work/SRC/openSUSE:Factory/.vpp.new/vpp.changes 2018-09-24 13:13:09.929716913 +0200
@@ -1,0 +2,28 @@
+Fri Sep 21 09:27:39 UTC 2018 - Marco Varlese <marco.varlese(a)suse.com>
+
+- Upgrade to v18.07.1; some of the new features include:
+ * IGMP improvements
+ - Enable/Disable an interface for IGMP
+ - improve logging
+ - refactor common code
+ - no orphaned timers
+ - IGMP state changes in main thread only
+ - Large groups split over multiple state-change reports
+ - SSM range configuration API.
+ - more tests
+ * IP: vectorized IP checksum
+ - VXLAN : HW offload RX flow
+ - Rework kube-proxy into LB plugin and add NATA66
+ * ACL:
+ - Tuple Merge algorithm cleanup and integration
+ - Processing pipeline optimizations
+ - Refactoring
+ * Experimental AVF driver
+ * Session: performance improvements, add support for connectionless
+ transports, datagram reception and transmission
+ * TCP: congestion control improvements and overall fixes
+ * UDP: datagram mode
+ * TLS async support
+- Removed fix-nojavah.patch since merged upstream
+
+-------------------------------------------------------------------
Old:
----
fix-nojavah.patch
vpp-18.04-release.tar.xz
New:
----
vpp-18.07.1-release.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vpp.spec ++++++
--- /var/tmp/diff_new_pack.IAUKq8/_old 2018-09-24 13:13:10.441716019 +0200
+++ /var/tmp/diff_new_pack.IAUKq8/_new 2018-09-24 13:13:10.445716012 +0200
@@ -12,7 +12,7 @@
# 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/
#
@@ -23,7 +23,7 @@
%define lname libvpp0
Name: vpp
-Version: 18.04
+Version: 18.07.1
Release: 0
Summary: Set of libraries and drivers for fast packet processing
License: Apache-2.0
@@ -32,7 +32,6 @@
Source0: %{name}-%{version}-release.tar.xz
Patch0: enable-shared-dpdk.patch
Patch1: startup-conf.patch
-Patch2: fix-nojavah.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@@ -157,9 +156,8 @@
%prep
%setup -q -n %{name}-%{version}
-%patch0
+%patch0 -p1
%patch1
-%patch2
%build
export VPP_BUILD_USER=suse
++++++ enable-shared-dpdk.patch ++++++
--- /var/tmp/diff_new_pack.IAUKq8/_old 2018-09-24 13:13:10.457715991 +0200
+++ /var/tmp/diff_new_pack.IAUKq8/_new 2018-09-24 13:13:10.457715991 +0200
@@ -1,8 +1,9 @@
---- build-data/platforms/vpp.mk.old 2017-11-27 11:05:21.482604539 +0100
-+++ build-data/platforms/vpp.mk 2017-11-27 11:05:38.306670429 +0100
-@@ -30,10 +30,10 @@
-
+diff -Nuar vpp-18.07.1.old/build-data/platforms/vpp.mk vpp-18.07.1.new/build-data/platforms/vpp.mk
+--- vpp-18.07.1.old/build-data/platforms/vpp.mk 2018-09-15 18:11:20.000000000 +0200
++++ vpp-18.07.1.new/build-data/platforms/vpp.mk 2018-09-21 11:25:04.754301415 +0200
+@@ -31,10 +31,10 @@
# DPDK configuration parameters
+ # vpp_uses_dpdk_mlx4_pmd = yes
# vpp_uses_dpdk_mlx5_pmd = yes
-# vpp_uses_external_dpdk = yes
-# vpp_dpdk_inc_dir = /usr/include/dpdk
@@ -13,5 +14,5 @@
+vpp_dpdk_lib_dir = /usr/lib
+vpp_dpdk_shared_lib = yes
+ # Use '--without-libnuma' for non-numa aware architecture
vpp_configure_args_vpp =
-
++++++ vpp-18.04-release.tar.xz -> vpp-18.07.1-release.tar.xz ++++++
++++ 241529 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-cassandra-driver for openSUSE:Factory checked in at 2018-09-24 13:13:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cassandra-driver (Old)
and /work/SRC/openSUSE:Factory/.python-cassandra-driver.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cassandra-driver"
Mon Sep 24 13:13:07 2018 rev:4 rq:637039 version:3.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cassandra-driver/python-cassandra-driver.changes 2018-09-03 10:36:13.724843953 +0200
+++ /work/SRC/openSUSE:Factory/.python-cassandra-driver.new/python-cassandra-driver.changes 2018-09-24 13:13:09.269718066 +0200
@@ -1,0 +2,12 @@
+Thu Sep 20 12:03:19 UTC 2018 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Add gevent to test dependencies
+- Add scales to dependencies
+- Add twisted to dependencies
+
+-------------------------------------------------------------------
+Mon Sep 3 12:05:19 UTC 2018 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Enable tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cassandra-driver.spec ++++++
--- /var/tmp/diff_new_pack.XhIUBV/_old 2018-09-24 13:13:09.729717263 +0200
+++ /var/tmp/diff_new_pack.XhIUBV/_new 2018-09-24 13:13:09.729717263 +0200
@@ -12,7 +12,7 @@
# 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/
#
@@ -26,20 +26,27 @@
URL: http://github.com/datastax/python-driver
Source: https://files.pythonhosted.org/packages/source/c/cassandra-driver/cassandra…
BuildRequires: %{python_module Cython}
+BuildRequires: %{python_module PyYAML}
+BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module eventlet}
+BuildRequires: %{python_module gevent}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module pytz}
+BuildRequires: %{python_module scales}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} >= 1.6
+BuildRequires: %{python_module sure}
+BuildRequires: libev-devel
BuildRequires: python-rpm-macros
BuildRequires: python2-futures
Requires: python-Cython
Requires: python-blist
Requires: python-six >= 1.6
-# test requirements
-#BuildRequires: %{python_module PyYAML}
-#BuildRequires: %{python_module mock}
-#BuildRequires: %{python_module nose}
-#BuildRequires: %{python_module pytz}
-#BuildRequires: %{python_module sure}
+Recommends: python-Twisted
+Recommends: python-eventlet
+Recommends: python-gevent
%ifpython2
Requires: python2-futures
%endif
@@ -55,6 +62,10 @@
%prep
%setup -q -n cassandra-driver-%{version}
+# do not run integration tests
+rm -rf tests/integration
+# do not run cython tests
+rm -rf tests/unit/cython
%build
export CFLAGS="%{optflags}"
@@ -65,6 +76,9 @@
export CASS_DRIVER_NO_EXTENSIONS=1
%python_install
+%check
+%python_exec setup.py test
+
%files %{python_files}
%license LICENSE
%doc README.rst
1
0
Hello community,
here is the log from the commit of package python-selenium for openSUSE:Factory checked in at 2018-09-24 13:13:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-selenium (Old)
and /work/SRC/openSUSE:Factory/.python-selenium.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-selenium"
Mon Sep 24 13:13:04 2018 rev:10 rq:637034 version:3.14.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-selenium/python-selenium.changes 2018-08-04 21:54:41.169421501 +0200
+++ /work/SRC/openSUSE:Factory/.python-selenium.new/python-selenium.changes 2018-09-24 13:13:05.905723944 +0200
@@ -1,0 +2,18 @@
+Fri Sep 21 07:49:59 UTC 2018 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to version 3.14.1:
+ + Fix ability to set timeout for urllib3 (#6286)
+ + get_cookie uses w3c endpoint when compliant
+ + Remove body from GET requests (#6250)
+ + Fix actions pause for fraction of a second (#6300)
+ + Fixed input pausing for some actions methods
+ + Capabilities can be set on Options classes
+ + WebElement rect method is now forward compatible for OSS
+ endpoints (#6355)
+ + Deprecation warnings now have a stacklevel of 2
+ + keep_alive can now be set on Webdriver init (#6316)
+ + isDisplayed atom is now used for all w3c compliant browser,
+ fixing issue with Safari 12
+- Ship license file
+
+-------------------------------------------------------------------
Old:
----
selenium-3.14.0.tar.gz
New:
----
selenium-3.14.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-selenium.spec ++++++
--- /var/tmp/diff_new_pack.w660YC/_old 2018-09-24 13:13:06.865722267 +0200
+++ /var/tmp/diff_new_pack.w660YC/_new 2018-09-24 13:13:06.869722259 +0200
@@ -12,13 +12,13 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-selenium
-Version: 3.14.0
+Version: 3.14.1
Release: 0
Summary: Python bindings for Selenium
License: Apache-2.0
@@ -66,6 +66,7 @@
%files %{python_files}
%doc README.rst CHANGES
+%license LICENSE
%{python_sitelib}/selenium*
%changelog
++++++ selenium-3.14.0.tar.gz -> selenium-3.14.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/CHANGES new/selenium-3.14.1/CHANGES
--- old/selenium-3.14.0/CHANGES 2018-08-02 15:06:22.000000000 +0200
+++ new/selenium-3.14.1/CHANGES 2018-09-20 20:21:34.000000000 +0200
@@ -1,10 +1,21 @@
+Selenium 3.14.1
+* Fix ability to set timeout for urllib3 (#6286)
+* get_cookie uses w3c endpoint when compliant
+* Remove body from GET requests (#6250)
+* Fix actions pause for fraction of a second (#6300)
+* Fixed input pausing for some actions methods
+* Capabilities can be set on Options classes
+* WebElement rect method is now forward compatible for OSS endpoints (#6355)
+* Deprecation warnings now have a stacklevel of 2
+* keep_alive can now be set on Webdriver init (#6316)
+* isDisplayed atom is now used for all w3c compliant browser, fixing issue with Safari 12
+
Selenium 3.14.0
* Fix doc of URL-related ExpectedCondition (#6236)
* Added ExpectedCondition invisibility_of_element
* Swap out httplib for urllib3
* Be consistent with webdriver init kwarg service_log_path (#5725)
-
Selenium 3.13.0
* Add executing Chrome devtools command (#5989)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/LICENSE new/selenium-3.14.1/LICENSE
--- old/selenium-3.14.0/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/selenium-3.14.1/LICENSE 2018-09-20 20:11:36.000000000 +0200
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2018 Software Freedom Conservancy (SFC)
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/PKG-INFO new/selenium-3.14.1/PKG-INFO
--- old/selenium-3.14.0/PKG-INFO 2018-08-02 15:22:42.000000000 +0200
+++ new/selenium-3.14.1/PKG-INFO 2018-09-20 21:20:47.000000000 +0200
@@ -1,11 +1,12 @@
-Metadata-Version: 1.2
+Metadata-Version: 1.1
Name: selenium
-Version: 3.14.0
+Version: 3.14.1
Summary: Python bindings for Selenium
Home-page: https://github.com/SeleniumHQ/selenium/
-Maintainer: david.burns
-Maintainer-email: david.burns(a)theautomatedtester.co.uk
+Author: UNKNOWN
+Author-email: UNKNOWN
License: Apache 2.0
+Description-Content-Type: UNKNOWN
Description: ======================
Selenium Client Driver
======================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/__init__.py new/selenium-3.14.1/selenium/__init__.py
--- old/selenium-3.14.0/selenium/__init__.py 2018-07-26 11:59:38.000000000 +0200
+++ new/selenium-3.14.1/selenium/__init__.py 2018-09-20 20:22:22.000000000 +0200
@@ -16,4 +16,4 @@
# under the License.
-__version__ = "3.14.0"
+__version__ = "3.14.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/__init__.py new/selenium-3.14.1/selenium/webdriver/__init__.py
--- old/selenium-3.14.0/selenium/webdriver/__init__.py 2018-08-02 14:59:35.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/__init__.py 2018-09-20 20:22:22.000000000 +0200
@@ -36,4 +36,4 @@
from .common.touch_actions import TouchActions # noqa
from .common.proxy import Proxy # noqa
-__version__ = '3.14.0'
+__version__ = '3.14.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/chrome/options.py new/selenium-3.14.1/selenium/webdriver/chrome/options.py
--- old/selenium-3.14.0/selenium/webdriver/chrome/options.py 2018-05-08 15:56:18.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/chrome/options.py 2018-09-18 04:04:30.000000000 +0200
@@ -33,6 +33,7 @@
self._extensions = []
self._experimental_options = {}
self._debugger_address = None
+ self._caps = DesiredCapabilities.CHROME.copy()
@property
def binary_location(self):
@@ -52,6 +53,14 @@
self._binary_location = value
@property
+ def capabilities(self):
+ return self._caps
+
+ def set_capability(self, name, value):
+ """Sets a capability."""
+ self._caps[name] = value
+
+ @property
def debugger_address(self):
"""
Returns the address of the remote devtools instance
@@ -179,7 +188,7 @@
def set_headless(self, headless=True):
""" Deprecated, options.headless = True """
warnings.warn('use setter for headless property instead of set_headless',
- DeprecationWarning)
+ DeprecationWarning, stacklevel=2)
self.headless = headless
def to_capabilities(self):
@@ -188,8 +197,7 @@
returns a dictionary with everything
"""
- caps = DesiredCapabilities.CHROME.copy()
-
+ caps = self._caps
chrome_options = self.experimental_options.copy()
chrome_options["extensions"] = self.extensions
if self.binary_location:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/chrome/webdriver.py new/selenium-3.14.1/selenium/webdriver/chrome/webdriver.py
--- old/selenium-3.14.0/selenium/webdriver/chrome/webdriver.py 2018-06-26 14:11:36.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/chrome/webdriver.py 2018-09-18 04:35:23.000000000 +0200
@@ -33,7 +33,7 @@
def __init__(self, executable_path="chromedriver", port=0,
options=None, service_args=None,
desired_capabilities=None, service_log_path=None,
- chrome_options=None):
+ chrome_options=None, keep_alive=True):
"""
Creates a new instance of the chrome driver.
@@ -42,12 +42,17 @@
:Args:
- executable_path - path to the executable. If the default is used it assumes the executable is in the $PATH
- port - port you would like the service to run, if left as 0, a free port will be found.
- - desired_capabilities: Dictionary object with non-browser specific
+ - options - this takes an instance of ChromeOptions
+ - service_args - List of args to pass to the driver service
+ - desired_capabilities - Dictionary object with non-browser specific
capabilities only, such as "proxy" or "loggingPref".
- - options: this takes an instance of ChromeOptions
+ - service_log_path - Where to log information from the driver.
+ - chrome_options - Deprecated argument for options
+ - keep_alive - Whether to configure ChromeRemoteConnection to use HTTP keep-alive.
"""
if chrome_options:
- warnings.warn('use options instead of chrome_options', DeprecationWarning)
+ warnings.warn('use options instead of chrome_options',
+ DeprecationWarning, stacklevel=2)
options = chrome_options
if options is None:
@@ -71,7 +76,8 @@
RemoteWebDriver.__init__(
self,
command_executor=ChromeRemoteConnection(
- remote_server_addr=self.service.service_url),
+ remote_server_addr=self.service.service_url,
+ keep_alive=keep_alive),
desired_capabilities=desired_capabilities)
except Exception:
self.quit()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/common/action_chains.py new/selenium-3.14.1/selenium/webdriver/common/action_chains.py
--- old/selenium-3.14.0/selenium/webdriver/common/action_chains.py 2018-07-26 11:59:38.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/common/action_chains.py 2018-09-04 16:27:41.000000000 +0200
@@ -84,12 +84,11 @@
def reset_actions(self):
"""
- Clears actions that are already stored on the remote end.
+ Clears actions that are already stored locally and on the remote end
"""
if self._driver.w3c:
- self._driver.execute(Command.W3C_CLEAR_ACTIONS)
- else:
- self._actions = []
+ self.w3c_actions.clear_actions()
+ self._actions = []
def click(self, on_element=None):
"""
@@ -99,13 +98,13 @@
- on_element: The element to click.
If None, clicks on current mouse position.
"""
+ if on_element:
+ self.move_to_element(on_element)
if self._driver.w3c:
- self.w3c_actions.pointer_action.click(on_element)
+ self.w3c_actions.pointer_action.click()
self.w3c_actions.key_action.pause()
self.w3c_actions.key_action.pause()
else:
- if on_element:
- self.move_to_element(on_element)
self._actions.append(lambda: self._driver.execute(
Command.CLICK, {'button': 0}))
return self
@@ -118,14 +117,12 @@
- on_element: The element to mouse down.
If None, clicks on current mouse position.
"""
+ if on_element:
+ self.move_to_element(on_element)
if self._driver.w3c:
- self.w3c_actions.pointer_action.click_and_hold(on_element)
+ self.w3c_actions.pointer_action.click_and_hold()
self.w3c_actions.key_action.pause()
- if on_element:
- self.w3c_actions.key_action.pause()
else:
- if on_element:
- self.move_to_element(on_element)
self._actions.append(lambda: self._driver.execute(
Command.MOUSE_DOWN, {}))
return self
@@ -138,12 +135,13 @@
- on_element: The element to context-click.
If None, clicks on current mouse position.
"""
+ if on_element:
+ self.move_to_element(on_element)
if self._driver.w3c:
- self.w3c_actions.pointer_action.context_click(on_element)
+ self.w3c_actions.pointer_action.context_click()
+ self.w3c_actions.key_action.pause()
self.w3c_actions.key_action.pause()
else:
- if on_element:
- self.move_to_element(on_element)
self._actions.append(lambda: self._driver.execute(
Command.CLICK, {'button': 2}))
return self
@@ -156,13 +154,13 @@
- on_element: The element to double-click.
If None, clicks on current mouse position.
"""
+ if on_element:
+ self.move_to_element(on_element)
if self._driver.w3c:
- self.w3c_actions.pointer_action.double_click(on_element)
+ self.w3c_actions.pointer_action.double_click()
for _ in range(4):
self.w3c_actions.key_action.pause()
else:
- if on_element:
- self.move_to_element(on_element)
self._actions.append(lambda: self._driver.execute(
Command.DOUBLE_CLICK, {}))
return self
@@ -176,15 +174,8 @@
- source: The element to mouse down.
- target: The element to mouse up.
"""
- if self._driver.w3c:
- self.w3c_actions.pointer_action.click_and_hold(source) \
- .move_to(target) \
- .release()
- for _ in range(3):
- self.w3c_actions.key_action.pause()
- else:
- self.click_and_hold(source)
- self.release(target)
+ self.click_and_hold(source)
+ self.release(target)
return self
def drag_and_drop_by_offset(self, source, xoffset, yoffset):
@@ -197,16 +188,9 @@
- xoffset: X offset to move to.
- yoffset: Y offset to move to.
"""
- if self._driver.w3c:
- self.w3c_actions.pointer_action.click_and_hold(source) \
- .move_by(xoffset, yoffset) \
- .release()
- for _ in range(3):
- self.w3c_actions.key_action.pause()
- else:
- self.click_and_hold(source)
- self.move_by_offset(xoffset, yoffset)
- self.release()
+ self.click_and_hold(source)
+ self.move_by_offset(xoffset, yoffset)
+ self.release()
return self
def key_down(self, value, element=None):
@@ -332,7 +316,7 @@
If None, releases on current mouse position.
"""
if on_element:
- self.move_to_element(on_element)
+ self.move_to_element(on_element)
if self._driver.w3c:
self.w3c_actions.pointer_action.release()
self.w3c_actions.key_action.pause()
@@ -348,11 +332,14 @@
- keys_to_send: The keys to send. Modifier keys constants can be found in the
'Keys' class.
"""
+ typing = keys_to_typing(keys_to_send)
if self._driver.w3c:
- self.w3c_actions.key_action.send_keys(keys_to_send)
+ for key in typing:
+ self.key_down(key)
+ self.key_up(key)
else:
self._actions.append(lambda: self._driver.execute(
- Command.SEND_KEYS_TO_ACTIVE_ELEMENT, {'value': keys_to_typing(keys_to_send)}))
+ Command.SEND_KEYS_TO_ACTIVE_ELEMENT, {'value': typing}))
return self
def send_keys_to_element(self, element, *keys_to_send):
@@ -364,10 +351,8 @@
- keys_to_send: The keys to send. Modifier keys constants can be found in the
'Keys' class.
"""
- if self._driver.w3c:
- self.w3c_actions.key_action.send_keys(keys_to_send, element=element)
- else:
- self._actions.append(lambda: element.send_keys(*keys_to_send))
+ self.click(element)
+ self.send_keys(*keys_to_send)
return self
# Context manager so ActionChains can be used in a 'with .. as' statements.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/common/actions/action_builder.py new/selenium-3.14.1/selenium/webdriver/common/actions/action_builder.py
--- old/selenium-3.14.0/selenium/webdriver/common/actions/action_builder.py 2018-06-26 14:11:36.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/common/actions/action_builder.py 2018-09-04 16:27:41.000000000 +0200
@@ -76,6 +76,9 @@
self.driver.execute(Command.W3C_ACTIONS, enc)
def clear_actions(self):
+ """
+ Clears actions that are already stored on the remote end
+ """
self.driver.execute(Command.W3C_CLEAR_ACTIONS)
def _add_input(self, input):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/common/actions/interaction.py new/selenium-3.14.1/selenium/webdriver/common/actions/interaction.py
--- old/selenium-3.14.0/selenium/webdriver/common/actions/interaction.py 2018-06-26 14:11:36.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/common/actions/interaction.py 2018-09-04 16:27:41.000000000 +0200
@@ -44,6 +44,7 @@
self.duration = duration
def encode(self):
- output = {"type": self.PAUSE}
- output["duration"] = self.duration * 1000
- return output
+ return {
+ "type": self.PAUSE,
+ "duration": int(self.duration * 1000)
+ }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/common/actions/key_actions.py new/selenium-3.14.1/selenium/webdriver/common/actions/key_actions.py
--- old/selenium-3.14.0/selenium/webdriver/common/actions/key_actions.py 2017-03-06 14:53:23.000000000 +0100
+++ new/selenium-3.14.1/selenium/webdriver/common/actions/key_actions.py 2018-09-04 16:27:41.000000000 +0200
@@ -14,7 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-from .interaction import Interaction
+from .interaction import Interaction, KEY
from .key_input import KeyInput
from ..utils import keys_to_typing
@@ -23,30 +23,28 @@
def __init__(self, source=None):
if source is None:
- source = KeyInput()
+ source = KeyInput(KEY)
self.source = source
super(KeyActions, self).__init__(source)
- def key_down(self, letter, element=None):
- return self._key_action("create_key_down",
- letter, element)
-
- def key_up(self, letter, element=None):
- return self._key_action("create_key_up",
- letter, element)
+ def key_down(self, letter):
+ return self._key_action("create_key_down", letter)
+
+ def key_up(self, letter):
+ return self._key_action("create_key_up", letter)
def pause(self, duration=0):
return self._key_action("create_pause", duration)
- def send_keys(self, text, element=None):
+ def send_keys(self, text):
if not isinstance(text, list):
text = keys_to_typing(text)
for letter in text:
- self.key_down(letter, element)
- self.key_up(letter, element)
+ self.key_down(letter)
+ self.key_up(letter)
return self
- def _key_action(self, action, letter, element=None):
+ def _key_action(self, action, letter):
meth = getattr(self.source, action)
meth(letter)
return self
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/common/actions/pointer_input.py new/selenium-3.14.1/selenium/webdriver/common/actions/pointer_input.py
--- old/selenium-3.14.0/selenium/webdriver/common/actions/pointer_input.py 2018-06-26 14:11:36.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/common/actions/pointer_input.py 2018-09-04 16:27:41.000000000 +0200
@@ -54,7 +54,7 @@
self.add_action({"type": "pointerCancel"})
def create_pause(self, pause_duration):
- self.add_action({"type": "pause", "duration": pause_duration * 1000})
+ self.add_action({"type": "pause", "duration": int(pause_duration * 1000)})
def encode(self):
return {"type": self.type,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/edge/options.py new/selenium-3.14.1/selenium/webdriver/edge/options.py
--- old/selenium-3.14.0/selenium/webdriver/edge/options.py 2016-01-07 15:44:14.000000000 +0100
+++ new/selenium-3.14.1/selenium/webdriver/edge/options.py 2018-09-04 16:27:41.000000000 +0200
@@ -22,6 +22,7 @@
def __init__(self):
self._page_load_strategy = "normal"
+ self._caps = DesiredCapabilities.EDGE.copy()
@property
def page_load_strategy(self):
@@ -33,13 +34,21 @@
raise ValueError("Page Load Strategy should be 'normal', 'eager' or 'none'.")
self._page_load_strategy = value
+ @property
+ def capabilities(self):
+ return self._caps
+
+ def set_capability(self, name, value):
+ """Sets a capability."""
+ self._caps[name] = value
+
def to_capabilities(self):
"""
Creates a capabilities with all the options that have been set and
returns a dictionary with everything
"""
- edge = DesiredCapabilities.EDGE.copy()
- edge['pageLoadStrategy'] = self._page_load_strategy
+ caps = self._caps
+ caps['pageLoadStrategy'] = self._page_load_strategy
- return edge
+ return caps
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/edge/webdriver.py new/selenium-3.14.1/selenium/webdriver/edge/webdriver.py
--- old/selenium-3.14.0/selenium/webdriver/edge/webdriver.py 2018-07-26 11:59:38.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/edge/webdriver.py 2018-09-18 04:35:23.000000000 +0200
@@ -26,9 +26,26 @@
class WebDriver(RemoteWebDriver):
def __init__(self, executable_path='MicrosoftWebDriver.exe',
- capabilities=None, port=0, verbose=False, service_log_path=None, log_path=None):
+ capabilities=None, port=0, verbose=False, service_log_path=None,
+ log_path=None, keep_alive=False):
+ """
+ Creates a new instance of the chrome driver.
+
+ Starts the service and then creates new instance of chrome driver.
+
+ :Args:
+ - executable_path - path to the executable. If the default is used it assumes the executable is in the $PATH
+ - capabilities - Dictionary object with non-browser specific
+ capabilities only, such as "proxy" or "loggingPref".
+ - port - port you would like the service to run, if left as 0, a free port will be found.
+ - verbose - whether to set verbose logging in the service
+ - service_log_path - Where to log information from the driver.
+ - log_path: Deprecated argument for service_log_path
+ - keep_alive - Whether to configure ChromeRemoteConnection to use HTTP keep-alive.
+ """
if log_path:
- warnings.warn('use service_log_path instead of log_path', DeprecationWarning)
+ warnings.warn('use service_log_path instead of log_path',
+ DeprecationWarning, stacklevel=2)
service_log_path = log_path
self.port = port
@@ -44,7 +61,8 @@
RemoteWebDriver.__init__(
self,
command_executor=RemoteConnection('http://localhost:%d' % self.port,
- resolve_ip=False),
+ resolve_ip=False,
+ keep_alive=keep_alive),
desired_capabilities=capabilities)
self._is_remote = False
Binary files old/selenium-3.14.0/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so and new/selenium-3.14.1/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/firefox/firefox_profile.py new/selenium-3.14.1/selenium/webdriver/firefox/firefox_profile.py
--- old/selenium-3.14.0/selenium/webdriver/firefox/firefox_profile.py 2018-03-05 10:36:38.000000000 +0100
+++ new/selenium-3.14.1/selenium/webdriver/firefox/firefox_profile.py 2018-09-18 04:04:30.000000000 +0200
@@ -184,7 +184,7 @@
warnings.warn(
"This method has been deprecated. Please pass in the proxy object to the Driver Object",
- DeprecationWarning)
+ DeprecationWarning, stacklevel=2)
if proxy is None:
raise ValueError("proxy can not be None")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/firefox/options.py new/selenium-3.14.1/selenium/webdriver/firefox/options.py
--- old/selenium-3.14.0/selenium/webdriver/firefox/options.py 2018-05-08 15:56:18.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/firefox/options.py 2018-09-18 04:04:30.000000000 +0200
@@ -41,6 +41,7 @@
self._preferences = {}
self._profile = None
self._proxy = None
+ self._caps = DesiredCapabilities.FIREFOX.copy()
self._arguments = []
self.log = Log()
@@ -70,6 +71,22 @@
self.binary = value
@property
+ def accept_insecure_certs(self):
+ return self._caps.get('acceptInsecureCerts')
+
+ @accept_insecure_certs.setter
+ def accept_insecure_certs(self, value):
+ self._caps['acceptInsecureCerts'] = value
+
+ @property
+ def capabilities(self):
+ return self._caps
+
+ def set_capability(self, name, value):
+ """Sets a capability."""
+ self._caps[name] = value
+
+ @property
def preferences(self):
"""Returns a dict of preferences."""
return self._preferences
@@ -138,7 +155,7 @@
def set_headless(self, headless=True):
""" Deprecated, options.headless = True """
warnings.warn('use setter for headless property instead of set_headless',
- DeprecationWarning)
+ DeprecationWarning, stacklevel=2)
self.headless = headless
def to_capabilities(self):
@@ -150,7 +167,7 @@
# so if a binary or profile has _not_ been set,
# it will defer to geckodriver to find the system Firefox
# and generate a fresh profile.
- caps = DesiredCapabilities.FIREFOX.copy()
+ caps = self._caps
opts = {}
if self._binary is not None:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/firefox/webdriver.py new/selenium-3.14.1/selenium/webdriver/firefox/webdriver.py
--- old/selenium-3.14.0/selenium/webdriver/firefox/webdriver.py 2018-08-02 14:55:40.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/firefox/webdriver.py 2018-09-18 04:35:23.000000000 +0200
@@ -51,7 +51,8 @@
timeout=30, capabilities=None, proxy=None,
executable_path="geckodriver", options=None,
service_log_path="geckodriver.log", firefox_options=None,
- service_args=None, desired_capabilities=None, log_path=None):
+ service_args=None, desired_capabilities=None, log_path=None,
+ keep_alive=True):
"""Starts a new local session of Firefox.
Based on the combination and specificity of the various keyword
@@ -95,16 +96,22 @@
defaults to picking up the binary from the system path.
:param options: Instance of ``options.Options``.
:param service_log_path: Where to log information from the driver.
+ :param firefox_options: Deprecated argument for options
+ :param service_args: List of args to pass to the driver service
:param desired_capabilities: alias of capabilities. In future
versions of this library, this will replace 'capabilities'.
This will make the signature consistent with RemoteWebDriver.
-
+ :param log_path: Deprecated argument for service_log_path
+ :param keep_alive: Whether to configure remote_connection.RemoteConnection to use
+ HTTP keep-alive.
"""
if log_path:
- warnings.warn('use service_log_path instead of log_path', DeprecationWarning)
+ warnings.warn('use service_log_path instead of log_path',
+ DeprecationWarning, stacklevel=2)
service_log_path = log_path
if firefox_options:
- warnings.warn('use options instead of firefox_options', DeprecationWarning)
+ warnings.warn('use options instead of firefox_options',
+ DeprecationWarning, stacklevel=2)
options = firefox_options
self.binary = None
self.profile = None
@@ -186,7 +193,7 @@
self,
command_executor=executor,
desired_capabilities=capabilities,
- keep_alive=True)
+ keep_alive=keep_alive)
self._is_remote = False
Binary files old/selenium-3.14.0/selenium/webdriver/firefox/webdriver.xpi and new/selenium-3.14.1/selenium/webdriver/firefox/webdriver.xpi differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/firefox/webdriver_prefs.json new/selenium-3.14.1/selenium/webdriver/firefox/webdriver_prefs.json
--- old/selenium-3.14.0/selenium/webdriver/firefox/webdriver_prefs.json 2018-08-02 15:10:33.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/firefox/webdriver_prefs.json 2018-09-20 20:11:36.000000000 +0200
@@ -29,7 +29,6 @@
"extensions.autoDisableScopes": 10,
"extensions.blocklist.enabled": false,
"extensions.checkCompatibility.nightly": false,
- "extensions.logging.enabled": true,
"extensions.update.enabled": false,
"extensions.update.notifyUser": false,
"javascript.enabled": true,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/ie/options.py new/selenium-3.14.1/selenium/webdriver/ie/options.py
--- old/selenium-3.14.0/selenium/webdriver/ie/options.py 2018-05-08 15:56:18.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/ie/options.py 2018-09-04 16:27:41.000000000 +0200
@@ -47,6 +47,7 @@
self._arguments = []
self._options = {}
self._additional = {}
+ self._caps = DesiredCapabilities.INTERNETEXPLORER.copy()
@property
def arguments(self):
@@ -65,6 +66,14 @@
return self._options
@property
+ def capabilities(self):
+ return self._caps
+
+ def set_capability(self, name, value):
+ """Sets a capability."""
+ self._caps[name] = value
+
+ @property
def browser_attach_timeout(self):
""" Returns the options Browser Attach Timeout in milliseconds """
return self._options.get(self.BROWSER_ATTACH_TIMEOUT)
@@ -328,7 +337,7 @@
def to_capabilities(self):
""" Marshals the IE options to a the correct object """
- caps = DesiredCapabilities.INTERNETEXPLORER.copy()
+ caps = self._caps
opts = self._options.copy()
if len(self._arguments) > 0:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/ie/webdriver.py new/selenium-3.14.1/selenium/webdriver/ie/webdriver.py
--- old/selenium-3.14.0/selenium/webdriver/ie/webdriver.py 2018-07-26 11:59:38.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/ie/webdriver.py 2018-09-18 04:35:23.000000000 +0200
@@ -34,7 +34,7 @@
def __init__(self, executable_path='IEDriverServer.exe', capabilities=None,
port=DEFAULT_PORT, timeout=DEFAULT_TIMEOUT, host=DEFAULT_HOST,
log_level=DEFAULT_LOG_LEVEL, service_log_path=DEFAULT_SERVICE_LOG_PATH, options=None,
- ie_options=None, desired_capabilities=None, log_file=None):
+ ie_options=None, desired_capabilities=None, log_file=None, keep_alive=False):
"""
Creates a new instance of the chrome driver.
@@ -44,16 +44,23 @@
- executable_path - path to the executable. If the default is used it assumes the executable is in the $PATH
- capabilities: capabilities Dictionary object
- port - port you would like the service to run, if left as 0, a free port will be found.
+ - timeout - no longer used, kept for backward compatibility
+ - host - IP address for the service
- log_level - log level you would like the service to run.
- service_log_path - target of logging of service, may be "stdout", "stderr" or file path.
- - options: IE Options instance, providing additional IE options
- - desired_capabilities: alias of capabilities; this will make the signature consistent with RemoteWebDriver.
+ - options - IE Options instance, providing additional IE options
+ - ie_options - Deprecated argument for options
+ - desired_capabilities - alias of capabilities; this will make the signature consistent with RemoteWebDriver.
+ - log_file - Deprecated argument for service_log_path
+ - keep_alive - Whether to configure RemoteConnection to use HTTP keep-alive.
"""
if log_file:
- warnings.warn('use service_log_path instead of log_file', DeprecationWarning)
+ warnings.warn('use service_log_path instead of log_file',
+ DeprecationWarning, stacklevel=2)
service_log_path = log_file
if ie_options:
- warnings.warn('use options instead of ie_options', DeprecationWarning)
+ warnings.warn('use options instead of ie_options',
+ DeprecationWarning, stacklevel=2)
options = ie_options
self.port = port
if self.port == 0:
@@ -86,7 +93,8 @@
RemoteWebDriver.__init__(
self,
command_executor='http://localhost:%d' % self.port,
- desired_capabilities=capabilities)
+ desired_capabilities=capabilities,
+ keep_alive=keep_alive)
self._is_remote = False
def quit(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/opera/options.py new/selenium-3.14.1/selenium/webdriver/opera/options.py
--- old/selenium-3.14.0/selenium/webdriver/opera/options.py 2018-03-05 10:36:38.000000000 +0100
+++ new/selenium-3.14.1/selenium/webdriver/opera/options.py 2018-09-04 16:27:41.000000000 +0200
@@ -27,6 +27,15 @@
self._android_package_name = ''
self._android_device_socket = ''
self._android_command_line_file = ''
+ self._caps = DesiredCapabilities.OPERA.copy()
+
+ @property
+ def capabilities(self):
+ return self._caps
+
+ def set_capability(self, name, value):
+ """Sets a capability."""
+ self._caps[name] = value
@property
def android_package_name(self):
@@ -86,7 +95,7 @@
returns a dictionary with everything
"""
capabilities = ChromeOptions.to_capabilities(self)
- capabilities.update(DesiredCapabilities.OPERA)
+ capabilities.update(self._caps)
opera_options = capabilities[self.KEY]
if self.android_package_name:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/opera/webdriver.py new/selenium-3.14.1/selenium/webdriver/opera/webdriver.py
--- old/selenium-3.14.0/selenium/webdriver/opera/webdriver.py 2017-11-21 21:41:08.000000000 +0100
+++ new/selenium-3.14.1/selenium/webdriver/opera/webdriver.py 2018-09-18 04:35:23.000000000 +0200
@@ -27,7 +27,7 @@
def __init__(self, executable_path=None, port=0,
options=None, service_args=None,
desired_capabilities=None, service_log_path=None,
- opera_options=None):
+ opera_options=None, keep_alive=True):
"""
Creates a new instance of the operadriver.
@@ -38,12 +38,16 @@
it assumes the executable is in the $PATH
- port - port you would like the service to run, if left as 0,
a free port will be found.
+ - options: this takes an instance of OperaOptions
+ - service_args - List of args to pass to the driver service
- desired_capabilities: Dictionary object with non-browser specific
+ - service_log_path - Where to log information from the driver.
+ - opera_options - Deprecated argument for options
capabilities only, such as "proxy" or "loggingPref".
- - options: this takes an instance of ChromeOptions
"""
if opera_options:
- warnings.warn('use options instead of opera_options', DeprecationWarning)
+ warnings.warn('use options instead of opera_options',
+ DeprecationWarning, stacklevel=2)
options = opera_options
executable_path = (executable_path if executable_path is not None
@@ -54,7 +58,8 @@
options=options,
service_args=service_args,
desired_capabilities=desired_capabilities,
- service_log_path=service_log_path)
+ service_log_path=service_log_path,
+ keep_alive=keep_alive)
def create_options(self):
return Options()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/remote/getAttribute.js new/selenium-3.14.1/selenium/webdriver/remote/getAttribute.js
--- old/selenium-3.14.0/selenium/webdriver/remote/getAttribute.js 2018-08-02 15:10:12.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/remote/getAttribute.js 2018-09-20 20:11:35.000000000 +0200
@@ -3,6 +3,6 @@
l[52]="invalid selector";l[17]="javascript error";l[405]="unsupported operation";l[34]="move target out of bounds";l[27]="no such alert";l[7]="no such element";l[8]="no such frame";l[23]="no such window";l[28]="script timeout";l[33]="session not created";l[10]="stale element reference";l[21]="timeout";l[25]="unable to set cookie";l[26]="unexpected alert open";l[13]=m;l[9]="unknown command";h.prototype.toString=function(){return this.name+": "+this.message};var n;a:{var p=d.navigator;if(p){var q=p.userAgent;if(q){n=q;break a}}n=""}function r(a){return-1!=n.indexOf(a)};function t(a,b){for(var e=a.length,c=f(a)?a.split(""):a,g=0;g<e;g++)g in c&&b.call(void 0,c[g],g,a)};function v(){return r("iPhone")&&!r("iPod")&&!r("iPad")};function w(){return(r("Chrome")||r("CriOS"))&&!r("Edge")};var x=r("Opera"),y=r("Trident")||r("MSIE"),z=r("Edge"),A=r("Gecko")&&!(-1!=n.toLowerCase().indexOf("webkit")&&!r("Edge"))&&!(r("Trident")||r("MSIE"))&&!r("Edge"),aa=-1!=n.toLowerCase().indexOf("webkit")&&!r("Edge");function B(){var a=d.document;return a?a.documentMode:void 0}var C;
a:{var D="",E=function(){var a=n;if(A)return/rv\:([^\);]+)(\)|;)/.exec(a);if(z)return/Edge\/([\d\.]+)/.exec(a);if(y)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(aa)return/WebKit\/(\S+)/.exec(a);if(x)return/(?:Version)[ \/]?(\S+)/.exec(a)}();E&&(D=E?E[1]:"");if(y){var F=B();if(null!=F&&F>parseFloat(D)){C=String(F);break a}}C=D}var G;var H=d.document;G=H&&y?B()||("CSS1Compat"==H.compatMode?parseInt(C,10):5):void 0;var ba=r("Firefox"),ca=v()||r("iPod"),da=r("iPad"),I=r("Android")&&!(w()||r("Firefox")||r("Opera")||r("Silk")),ea=w(),J=r("Safari")&&!(w()||r("Coast")||r("Opera")||r("Edge")||r("Silk")||r("Android"))&&!(v()||r("iPad")||r("iPod"));function K(a){return(a=a.exec(n))?a[1]:""}(function(){if(ba)return K(/Firefox\/([0-9.]+)/);if(y||z||x)return C;if(ea)return v()||r("iPad")||r("iPod")?K(/CriOS\/([0-9.]+)/):K(/Chrome\/([0-9.]+)/);if(J&&!(v()||r("iPad")||r("iPod")))return K(/Version\/([0-9.]+)/);if(ca||da){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(n);if(a)return a[1]+"."+a[2]}else if(I)return(a=K(/Android\s+([0-9.]+)/))?a:K(/Version\/([0-9.]+)/);return""})();var L,M=function(){if(!A)return!1;var a=d.Components;if(!a)return!1;try{if(!a.classes)return!1}catch(g){return!1}var b=a.classes,a=a.interfaces,e=b["@mozilla.org/xpcom/version-comparator;1"].getService(a.nsIVersionComparator),c=b["@mozilla.org/xre/app-info;1"].getService(a.nsIXULAppInfo).version;L=function(a){e.compare(c,""+a)};return!0}(),N=y&&!(8<=Number(G)),fa=y&&!(9<=Number(G));I&&M&&L(2.3);I&&M&&L(4);J&&M&&L(6);var ga={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},O={IMG:" ",BR:"\n"};function P(a,b,e){if(!(a.nodeName in ga))if(3==a.nodeType)e?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in O)b.push(O[a.nodeName]);else for(a=a.firstChild;a;)P(a,b,e),a=a.nextSibling};function Q(a,b){b=b.toLowerCase();return"style"==b?ha(a.style.cssText):N&&"value"==b&&R(a,"INPUT")?a.value:fa&&!0===a[b]?String(a.getAttribute(b)):(a=a.getAttributeNode(b))&&a.specified?a.value:null}var ia=/[;]+(?=(?:(?:[^"]*"){2})*[^"]*$)(?=(?:(?:[^']*'){2})*[^']*$)(?=(?:[^()]*\([^()]*\))*[^()]*$)/;
function ha(a){var b=[];t(a.split(ia),function(a){var c=a.indexOf(":");0<c&&(a=[a.slice(0,c),a.slice(c+1)],2==a.length&&b.push(a[0].toLowerCase(),":",a[1],";"))});b=b.join("");return b=";"==b.charAt(b.length-1)?b:b+";"}function S(a,b){N&&"value"==b&&R(a,"OPTION")&&null===Q(a,"value")?(b=[],P(a,b,!1),a=b.join("")):a=a[b];return a}function R(a,b){b&&"string"!==typeof b&&(b=b.toString());return!!a&&1==a.nodeType&&(!b||a.tagName.toUpperCase()==b)}
-function T(a){return R(a,"OPTION")?!0:R(a,"INPUT")?(a=a.type.toLowerCase(),"checkbox"==a||"radio"==a):!1};var ja={"class":"className",readonly:"readOnly"},U="async autofocus autoplay checked compact complete controls declare defaultchecked defaultselected defer disabled draggable ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref noresize noshade novalidate nowrap open paused pubdate readonly required reversed scoped seamless seeking selected spellcheck truespeed willvalidate".split(" ");function V(a,b){var e=null,c=b.toLowerCase();if("style"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if(("selected"==c||"checked"==c)&&T(a)){if(!T(a))throw new h(15,"Element is not selectable");b="selected";e=a.type&&a.type.toLowerCase();if("checkbox"==e||"radio"==e)b="checked";return S(a,b)?"true":null}var g=R(a,"A");if(R(a,"IMG")&&"src"==c||g&&"href"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if("spellcheck"==c){e=Q(a,c);if(null!==e){if("false"==e.toLowerCase())return"false";if("true"==e.toLowerCase())return"true"}return S(a,
+function T(a){return R(a,"OPTION")?!0:R(a,"INPUT")?(a=a.type.toLowerCase(),"checkbox"==a||"radio"==a):!1};var ja={"class":"className",readonly:"readOnly"},U="allowfullscreen allowpaymentrequest allowusermedia async autofocus autoplay checked compact complete controls declare default defaultchecked defaultselected defer disabled ended formnovalidate hidden indeterminate iscontenteditable ismap itemscope loop multiple muted nohref nomodule noresize noshade novalidate nowrap open paused playsinline pubdate readonly required reversed scoped seamless seeking selected truespeed typemustmatch willvalidate".split(" ");function V(a,b){var e=null,c=b.toLowerCase();if("style"==c)return(e=a.style)&&!f(e)&&(e=e.cssText),e;if(("selected"==c||"checked"==c)&&T(a)){if(!T(a))throw new h(15,"Element is not selectable");b="selected";e=a.type&&a.type.toLowerCase();if("checkbox"==e||"radio"==e)b="checked";return S(a,b)?"true":null}var g=R(a,"A");if(R(a,"IMG")&&"src"==c||g&&"href"==c)return(e=Q(a,c))&&(e=S(a,c)),e;if("spellcheck"==c){e=Q(a,c);if(null!==e){if("false"==e.toLowerCase())return"false";if("true"==e.toLowerCase())return"true"}return S(a,
c)+""}g=ja[b]||b;a:if(f(U))c=f(c)&&1==c.length?U.indexOf(c,0):-1;else{for(var u=0;u<U.length;u++)if(u in U&&U[u]===c){c=u;break a}c=-1}if(0<=c)return(e=null!==Q(a,b)||S(a,g))?"true":null;try{var k=S(a,g)}catch(ka){}(c=null==k)||(c=typeof k,c="object"==c&&null!=k||"function"==c);c?e=Q(a,b):e=k;return null!=e?e.toString():null}var W=["_"],X=d;W[0]in X||!X.execScript||X.execScript("var "+W[0]);
for(var Y;W.length&&(Y=W.shift());){var Z;if(Z=!W.length)Z=void 0!==V;Z?X[Y]=V:X[Y]&&X[Y]!==Object.prototype[Y]?X=X[Y]:X=X[Y]={}};; return this._.apply(null,arguments);}.apply({navigator:typeof window!='undefined'?window.navigator:null,document:typeof window!='undefined'?window.document:null}, arguments);}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/remote/remote_connection.py new/selenium-3.14.1/selenium/webdriver/remote/remote_connection.py
--- old/selenium-3.14.0/selenium/webdriver/remote/remote_connection.py 2018-08-02 14:55:40.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/remote/remote_connection.py 2018-09-04 16:27:41.000000000 +0200
@@ -137,7 +137,7 @@
self._url = remote_server_addr
if keep_alive:
- self._conn = urllib3.PoolManager()
+ self._conn = urllib3.PoolManager(timeout=self._timeout)
self._commands = {
Command.STATUS: ('GET', '/status'),
@@ -212,6 +212,7 @@
('GET', '/session/$sessionId/element/$id/equals/$other'),
Command.GET_ALL_COOKIES: ('GET', '/session/$sessionId/cookie'),
Command.ADD_COOKIE: ('POST', '/session/$sessionId/cookie'),
+ Command.GET_COOKIE: ('GET', '/session/$sessionId/cookie/$name'),
Command.DELETE_ALL_COOKIES:
('DELETE', '/session/$sessionId/cookie'),
Command.DELETE_COOKIE:
@@ -391,14 +392,15 @@
parsed_url = parse.urlparse(url)
headers = self.get_remote_connection_headers(parsed_url, self.keep_alive)
resp = None
+ if body and method != 'POST' and method != 'PUT':
+ body = None
+
if self.keep_alive:
- if body and method != 'POST' and method != 'PUT':
- body = None
resp = self._conn.request(method, url, body=body, headers=headers)
statuscode = resp.status
else:
- http = urllib3.PoolManager()
+ http = urllib3.PoolManager(timeout=self._timeout)
resp = http.request(method, url, body=body, headers=headers)
statuscode = resp.status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/remote/webdriver.py new/selenium-3.14.1/selenium/webdriver/remote/webdriver.py
--- old/selenium-3.14.0/selenium/webdriver/remote/webdriver.py 2018-06-26 14:11:36.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/remote/webdriver.py 2018-09-18 04:04:30.000000000 +0200
@@ -30,7 +30,8 @@
from .mobile import Mobile
from .file_detector import FileDetector, LocalFileDetector
from selenium.common.exceptions import (InvalidArgumentException,
- WebDriverException)
+ WebDriverException,
+ NoSuchCookieException)
from selenium.webdriver.common.by import By
from selenium.webdriver.common.html5.application_cache import ApplicationCache
@@ -140,7 +141,7 @@
capabilities.update(desired_capabilities)
if proxy is not None:
warnings.warn("Please use FirefoxOptions to set proxy",
- DeprecationWarning)
+ DeprecationWarning, stacklevel=2)
proxy.add_to_capabilities(capabilities)
self.command_executor = command_executor
if type(self.command_executor) is bytes or isinstance(self.command_executor, str):
@@ -152,7 +153,7 @@
self.start_client()
if browser_profile is not None:
warnings.warn("Please use FirefoxOptions to set browser profile",
- DeprecationWarning)
+ DeprecationWarning, stacklevel=2)
self.start_session(capabilities, browser_profile)
self._switch_to = SwitchTo(self)
self._mobile = Mobile(self)
@@ -769,31 +770,36 @@
def switch_to_active_element(self):
""" Deprecated use driver.switch_to.active_element
"""
- warnings.warn("use driver.switch_to.active_element instead", DeprecationWarning)
+ warnings.warn("use driver.switch_to.active_element instead",
+ DeprecationWarning, stacklevel=2)
return self._switch_to.active_element
def switch_to_window(self, window_name):
""" Deprecated use driver.switch_to.window
"""
- warnings.warn("use driver.switch_to.window instead", DeprecationWarning)
+ warnings.warn("use driver.switch_to.window instead",
+ DeprecationWarning, stacklevel=2)
self._switch_to.window(window_name)
def switch_to_frame(self, frame_reference):
""" Deprecated use driver.switch_to.frame
"""
- warnings.warn("use driver.switch_to.frame instead", DeprecationWarning)
+ warnings.warn("use driver.switch_to.frame instead",
+ DeprecationWarning, stacklevel=2)
self._switch_to.frame(frame_reference)
def switch_to_default_content(self):
""" Deprecated use driver.switch_to.default_content
"""
- warnings.warn("use driver.switch_to.default_content instead", DeprecationWarning)
+ warnings.warn("use driver.switch_to.default_content instead",
+ DeprecationWarning, stacklevel=2)
self._switch_to.default_content()
def switch_to_alert(self):
""" Deprecated use driver.switch_to.alert
"""
- warnings.warn("use driver.switch_to.alert instead", DeprecationWarning)
+ warnings.warn("use driver.switch_to.alert instead",
+ DeprecationWarning, stacklevel=2)
return self._switch_to.alert
# Navigation
@@ -841,11 +847,17 @@
:Usage:
driver.get_cookie('my_cookie')
"""
- cookies = self.get_cookies()
- for cookie in cookies:
- if cookie['name'] == name:
- return cookie
- return None
+ if self.w3c:
+ try:
+ return self.execute(Command.GET_COOKIE, {'name': name})['value']
+ except NoSuchCookieException:
+ return None
+ else:
+ cookies = self.get_cookies()
+ for cookie in cookies:
+ if cookie['name'] == name:
+ return cookie
+ return None
def delete_cookie(self, name):
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/remote/webelement.py new/selenium-3.14.1/selenium/webdriver/remote/webelement.py
--- old/selenium-3.14.0/selenium/webdriver/remote/webelement.py 2018-06-26 14:11:36.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/remote/webelement.py 2018-09-19 21:01:56.000000000 +0200
@@ -482,7 +482,7 @@
def is_displayed(self):
"""Whether the element is visible to a user."""
# Only go into this conditional for browsers that don't use the atom themselves
- if self._w3c and self.parent.capabilities['browserName'] == 'safari':
+ if self._w3c:
return self.parent.execute_script(
"return (%s).apply(null, arguments);" % isDisplayed_js,
self)
@@ -539,7 +539,12 @@
@property
def rect(self):
"""A dictionary with the size and location of the element."""
- return self._execute(Command.GET_ELEMENT_RECT)['value']
+ if self._w3c:
+ return self._execute(Command.GET_ELEMENT_RECT)['value']
+ else:
+ rect = self.size.copy()
+ rect.update(self.location)
+ return rect
@property
def screenshot_as_base64(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/safari/webdriver.py new/selenium-3.14.1/selenium/webdriver/safari/webdriver.py
--- old/selenium-3.14.0/selenium/webdriver/safari/webdriver.py 2018-04-04 10:58:50.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/safari/webdriver.py 2018-09-18 04:35:23.000000000 +0200
@@ -34,17 +34,20 @@
"""
def __init__(self, port=0, executable_path="/usr/bin/safaridriver", reuse_service=False,
- desired_capabilities=DesiredCapabilities.SAFARI, quiet=False):
+ desired_capabilities=DesiredCapabilities.SAFARI, quiet=False,
+ keep_alive=True):
"""
Creates a new Safari driver instance and launches or finds a running safaridriver service.
:Args:
- port - The port on which the safaridriver service should listen for new connections. If zero, a free port will be found.
- - quiet - If True, the driver's stdout and stderr is suppressed.
- executable_path - Path to a custom safaridriver executable to be used. If absent, /usr/bin/safaridriver is used.
- - desired_capabilities: Dictionary object with desired capabilities (Can be used to provide various Safari switches).
- reuse_service - If True, do not spawn a safaridriver instance; instead, connect to an already-running service that was launched externally.
+ - desired_capabilities: Dictionary object with desired capabilities (Can be used to provide various Safari switches).
+ - quiet - If True, the driver's stdout and stderr is suppressed.
+ - keep_alive - Whether to configure SafariRemoteConnection to use
+ HTTP keep-alive. Defaults to False.
"""
self._reuse_service = reuse_service
@@ -52,7 +55,8 @@
if not reuse_service:
self.service.start()
- executor = SafariRemoteConnection(remote_server_addr=self.service.service_url)
+ executor = SafariRemoteConnection(remote_server_addr=self.service.service_url,
+ keep_alive=keep_alive)
RemoteWebDriver.__init__(
self,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/webkitgtk/options.py new/selenium-3.14.1/selenium/webdriver/webkitgtk/options.py
--- old/selenium-3.14.0/selenium/webdriver/webkitgtk/options.py 2018-05-08 15:56:18.000000000 +0200
+++ new/selenium-3.14.1/selenium/webdriver/webkitgtk/options.py 2018-09-04 16:27:41.000000000 +0200
@@ -25,6 +25,15 @@
self._binary_location = ''
self._arguments = []
self._overlay_scrollbars_enabled = True
+ self._caps = DesiredCapabilities.WEBKITGTK.copy()
+
+ @property
+ def capabilities(self):
+ return self._caps
+
+ def set_capability(self, name, value):
+ """Sets a capability."""
+ self._caps[name] = value
@property
def binary_location(self):
@@ -84,7 +93,7 @@
Creates a capabilities with all the options that have been set and
returns a dictionary with everything
"""
- caps = DesiredCapabilities.WEBKITGTK.copy()
+ caps = self._caps
browser_options = {}
if self.binary_location:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium/webdriver/webkitgtk/webdriver.py new/selenium-3.14.1/selenium/webdriver/webkitgtk/webdriver.py
--- old/selenium-3.14.0/selenium/webdriver/webkitgtk/webdriver.py 2017-11-21 21:41:08.000000000 +0100
+++ new/selenium-3.14.1/selenium/webdriver/webkitgtk/webdriver.py 2018-09-18 04:35:23.000000000 +0200
@@ -32,7 +32,7 @@
def __init__(self, executable_path="WebKitWebDriver", port=0, options=None,
desired_capabilities=DesiredCapabilities.WEBKITGTK,
- service_log_path=None):
+ service_log_path=None, keep_alive=False):
"""
Creates a new instance of the WebKitGTK driver.
@@ -44,6 +44,7 @@
- options : an instance of WebKitGTKOptions
- desired_capabilities : Dictionary object with desired capabilities
- service_log_path : Path to write service stdout and stderr output.
+ - keep_alive : Whether to configure RemoteConnection to use HTTP keep-alive.
"""
if options is not None:
capabilities = options.to_capabilities()
@@ -56,7 +57,8 @@
RemoteWebDriver.__init__(
self,
command_executor=self.service.service_url,
- desired_capabilities=desired_capabilities)
+ desired_capabilities=desired_capabilities,
+ keep_alive=keep_alive)
self._is_remote = False
def quit(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium.egg-info/PKG-INFO new/selenium-3.14.1/selenium.egg-info/PKG-INFO
--- old/selenium-3.14.0/selenium.egg-info/PKG-INFO 2018-08-02 15:22:42.000000000 +0200
+++ new/selenium-3.14.1/selenium.egg-info/PKG-INFO 2018-09-20 21:20:47.000000000 +0200
@@ -1,11 +1,12 @@
-Metadata-Version: 1.2
+Metadata-Version: 1.1
Name: selenium
-Version: 3.14.0
+Version: 3.14.1
Summary: Python bindings for Selenium
Home-page: https://github.com/SeleniumHQ/selenium/
-Maintainer: david.burns
-Maintainer-email: david.burns(a)theautomatedtester.co.uk
+Author: UNKNOWN
+Author-email: UNKNOWN
License: Apache 2.0
+Description-Content-Type: UNKNOWN
Description: ======================
Selenium Client Driver
======================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/selenium.egg-info/SOURCES.txt new/selenium-3.14.1/selenium.egg-info/SOURCES.txt
--- old/selenium-3.14.0/selenium.egg-info/SOURCES.txt 2018-08-02 15:22:42.000000000 +0200
+++ new/selenium-3.14.1/selenium.egg-info/SOURCES.txt 2018-09-20 21:20:47.000000000 +0200
@@ -1,4 +1,5 @@
CHANGES
+LICENSE
MANIFEST.in
README.rst
setup.cfg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.14.0/setup.py new/selenium-3.14.1/setup.py
--- old/selenium-3.14.0/setup.py 2018-08-02 15:18:17.000000000 +0200
+++ new/selenium-3.14.1/setup.py 2018-09-20 20:22:22.000000000 +0200
@@ -29,7 +29,7 @@
setup_args = {
'cmdclass': {'install': install},
'name': 'selenium',
- 'version': "3.14.0",
+ 'version': "3.14.1",
'license': 'Apache 2.0',
'description': 'Python bindings for Selenium',
'long_description': open(join(abspath(dirname(__file__)), "README.rst")).read(),
@@ -69,10 +69,7 @@
'selenium.webdriver.support', ],
'include_package_data': True,
'install_requires': ['urllib3'],
- 'zip_safe': False,
- 'maintainer':'david.burns',
- 'maintainer_email':'david.burns(a)theautomatedtester.co.uk'
-
+ 'zip_safe': False
}
setup(**setup_args)
1
0