openSUSE Commits
Threads by month
- ----- 2024 -----
- 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 2016
- 1 participants
- 1450 discussions
Hello community,
here is the log from the commit of package python-Pylons for openSUSE:Factory checked in at 2016-09-30 15:33:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Pylons (Old)
and /work/SRC/openSUSE:Factory/.python-Pylons.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pylons"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Pylons/python-Pylons.changes 2014-11-13 09:18:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-Pylons.new/python-Pylons.changes 2016-09-30 15:33:56.000000000 +0200
@@ -1,0 +2,11 @@
+Wed Sep 28 15:01:40 UTC 2016 - mardnh(a)gmx.de
+
+- Update to 1.0.2:
+ * In the event of a NilAccept for the language, request.languages() would
+ throw an AttributeError exception. Fixes #24.
+ * Encode Location HTTP header in redirect responses in UTF-8. Per
+ RFC 3987. Refers to #15.
+ * Remove "Post Traceback" as it was a possible XSS vector with prior versions
+ of WebError, and the PylonsHQ site is no longer in existence to support them.
+
+-------------------------------------------------------------------
Old:
----
Pylons-1.0.1.tar.gz
New:
----
Pylons-1.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Pylons.spec ++++++
--- /var/tmp/diff_new_pack.WHpxlW/_old 2016-09-30 15:33:58.000000000 +0200
+++ /var/tmp/diff_new_pack.WHpxlW/_new 2016-09-30 15:33:58.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-Pylons
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-Pylons
-Version: 1.0.1
+Version: 1.0.2
Release: 0
Summary: Pylons Web Framework
License: BSD-3-Clause
@@ -89,16 +89,16 @@
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -rf %{buildroot}%{python_sitelib}/test_files # Remove junk
-rm %{buildroot}%{python_sitelib}/pylons/docs/en/.gitignore
%fdupes %{buildroot}%{_prefix}
# Disable the tests; brocken
-#%check
+#%%check
#nosetests -e test_network_failed_validation_non_ascii
%files
%defattr(-,root,root,-)
-%doc CHANGELOG LICENSE README.txt UPGRADING
-%{python_sitelib}/*
+%doc CHANGELOG LICENSE README.rst UPGRADING
+%{python_sitelib}/pylons
+%{python_sitelib}/Pylons-%{version}-py%{py_ver}.egg-info
%changelog
++++++ Pylons-1.0.1.tar.gz -> Pylons-1.0.2.tar.gz ++++++
++++ 20628 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package armadillo for openSUSE:Factory checked in at 2016-09-30 15:33:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/armadillo (Old)
and /work/SRC/openSUSE:Factory/.armadillo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "armadillo"
Changes:
--------
--- /work/SRC/openSUSE:Factory/armadillo/armadillo.changes 2016-08-31 14:31:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.armadillo.new/armadillo.changes 2016-09-30 15:33:52.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 28 11:44:58 UTC 2016 - badshah400(a)gmail.com
+
+- Update to version 7.400.3:
+ + Undocumented bug fixes.
+
+-------------------------------------------------------------------
Old:
----
armadillo-7.400.2.tar.xz
New:
----
armadillo-7.400.3.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ armadillo.spec ++++++
--- /var/tmp/diff_new_pack.mPvQbT/_old 2016-09-30 15:33:54.000000000 +0200
+++ /var/tmp/diff_new_pack.mPvQbT/_new 2016-09-30 15:33:54.000000000 +0200
@@ -19,7 +19,7 @@
%define soname libarmadillo7
Name: armadillo
-Version: 7.400.2
+Version: 7.400.3
Release: 0
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
License: MPL-2.0
++++++ armadillo-7.400.2.tar.xz -> armadillo-7.400.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.400.2/docs.html new/armadillo-7.400.3/docs.html
--- old/armadillo-7.400.2/docs.html 2016-06-16 18:16:03.000000000 +0200
+++ new/armadillo-7.400.3/docs.html 2016-06-16 18:16:04.000000000 +0200
@@ -185,21 +185,23 @@
<td style="text-align: left; vertical-align: top; width: 45%;">
<ul>
<li>
-Please cite the following tech report if you use Armadillo in your research and/or software.
+Please cite the following article if you use Armadillo in your research and/or software.
Citations are useful for the continued development and maintenance of the library.
<br>
<br>
<font size=-1>
Conrad Sanderson and Ryan Curtin.
-<i><a href="armadillo_joss_2016.pdf">Armadillo: a template-based C++ library for linear algebra</a></i>.
-Journal of Open Source Software, Vol. 1, pp. 26, 2016.
+<br><i><a href="armadillo_joss_2016.pdf">Armadillo: a template-based C++ library for linear algebra</a></i>.
+<br>Journal of Open Source Software, Vol. 1, pp. 26, 2016.
</font>
</li>
+<!--
<br>
<li>
If you use Armadillo in products,
please obtain the <a href="http://arma.sourceforge.net/faq.html#licenses">commercial license</a>
</li>
+-->
</ul>
</td>
</tr>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.400.2/include/armadillo_bits/arma_version.hpp new/armadillo-7.400.3/include/armadillo_bits/arma_version.hpp
--- old/armadillo-7.400.2/include/armadillo_bits/arma_version.hpp 2016-06-16 18:16:03.000000000 +0200
+++ new/armadillo-7.400.3/include/armadillo_bits/arma_version.hpp 2016-06-16 18:16:04.000000000 +0200
@@ -15,7 +15,7 @@
#define ARMA_VERSION_MAJOR 7
#define ARMA_VERSION_MINOR 400
-#define ARMA_VERSION_PATCH 2
+#define ARMA_VERSION_PATCH 3
#define ARMA_VERSION_NAME "Feral Winter Deluxe"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.400.2/include/armadillo_bits/diskio_meat.hpp new/armadillo-7.400.3/include/armadillo_bits/diskio_meat.hpp
--- old/armadillo-7.400.2/include/armadillo_bits/diskio_meat.hpp 2016-06-16 18:16:03.000000000 +0200
+++ new/armadillo-7.400.3/include/armadillo_bits/diskio_meat.hpp 2016-06-16 18:16:04.000000000 +0200
@@ -652,22 +652,17 @@
bool
diskio::safe_rename(const std::string& old_name, const std::string& new_name)
{
- std::fstream f(new_name.c_str(), std::fstream::out | std::fstream::app);
+ const char* new_name_c_str = new_name.c_str();
+
+ std::fstream f(new_name_c_str, std::fstream::out | std::fstream::app);
f.put(' ');
- bool save_okay = f.good();
- f.close();
+ if(f.good()) { f.close(); } else { return false; }
- if(save_okay == true)
- {
- std::remove(new_name.c_str());
-
- const int mv_result = std::rename(old_name.c_str(), new_name.c_str());
-
- save_okay = (mv_result == 0);
- }
+ if(std::remove( new_name_c_str) != 0) { return false; }
+ if(std::rename(old_name.c_str(), new_name_c_str) != 0) { return false; }
- return save_okay;
+ return true;
}
@@ -1894,7 +1889,7 @@
f >> f_maxval;
f.get();
- if( (f_maxval > 0) || (f_maxval <= 65535) )
+ if( (f_maxval > 0) && (f_maxval <= 65535) )
{
x.set_size(f_n_rows,f_n_cols);
@@ -1945,7 +1940,7 @@
else
{
load_okay = false;
- err_msg = "currently no code available to handle loading ";
+ err_msg = "functionality unimplemented to handle loading ";
}
if(f.good() == false)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/armadillo-7.400.2/mex_interface/armaMex.hpp new/armadillo-7.400.3/mex_interface/armaMex.hpp
--- old/armadillo-7.400.2/mex_interface/armaMex.hpp 2016-06-16 18:16:03.000000000 +0200
+++ new/armadillo-7.400.3/mex_interface/armaMex.hpp 2016-06-16 18:16:04.000000000 +0200
@@ -362,8 +362,8 @@
return Cube<double>();
}
}
-
-
+
+
// Get complex cube from Matlab/Octave
inline
cx_cube
@@ -389,7 +389,8 @@
return cx_cube();
}
}
-
+
+
// return real valued cube to Matlab/Octave
template<class Type>
inline
@@ -402,7 +403,7 @@
std::memcpy(dst_pointer, src_pointer, sizeof(Type)*armaCube.n_elem);
}
-
+
// Return double real valued cube to Matlab/Octave
inline
void
@@ -414,7 +415,7 @@
std::memcpy(dst_pointer, src_pointer, sizeof(double)*armaCube.n_elem);
}
-
+
// Return imaginary valued cube to Matlab/Octave.
template<class Type>
inline
@@ -427,7 +428,7 @@
std::memcpy(dst_pointer, src_pointer, sizeof(Type)*armaCube.n_elem);
}
-
+
// Return double imaginary valued matrix to Matlab/Octave
inline
void
@@ -439,7 +440,9 @@
std::memcpy(dst_pointer, src_pointer, sizeof(double)*armaCube.n_elem);
}
+
// Return double complex cube to Matlab/Octave.
+inline
void
armaSetCubeCx(mxArray *matlabMatrix, const cx_cube& armaCube)
{
@@ -571,8 +574,8 @@
return SpMat<double>(locations, values, m, n, sort_locations);
}
}
-
-
+
+
// Get imaginary sparse matrix from Matlab/Octave.
template<class Type>
inline
@@ -691,8 +694,8 @@
return SpMat<double>(locations, values, m, n, sort_locations);
}
}
-
-
+
+
// Return sparse matrix to matlab
inline
void
@@ -925,7 +928,7 @@
MATFile *file;
file = matOpen(filename,"r");
- char buffer[64];
+ char buffer[1024];
const char *name;
name = buffer;
@@ -951,7 +954,7 @@
MATFile *file;
file = matOpen(filename,"r");
- char buffer[64];
+ char buffer[1024];
const char *name;
name = buffer;
@@ -977,7 +980,7 @@
MATFile *file;
file = matOpen(filename,"r");
- char buffer[64];
+ char buffer[1024];
const char *name;
name = buffer;
@@ -1003,7 +1006,7 @@
MATFile *file;
file = matOpen(filename,"r");
- char buffer[64];
+ char buffer[1024];
const char *name;
name = buffer;
1
0
Hello community,
here is the log from the commit of package python-requests-mock for openSUSE:Factory checked in at 2016-09-30 15:33:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-mock (Old)
and /work/SRC/openSUSE:Factory/.python-requests-mock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-mock"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-requests-mock/python-requests-mock.changes 2016-07-14 09:46:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-requests-mock.new/python-requests-mock.changes 2016-09-30 15:33:49.000000000 +0200
@@ -1,0 +2,11 @@
+Wed Sep 28 09:00:13 UTC 2016 - tbechtold(a)suse.com
+
+- update to 1.1.0:
+ * Add a called_once property to adapter
+ * Enable case sensitive matching
+ * Provide fixture extras for pip
+ * Allow doing real_http per mock via the mocker
+ * Return b'' when reading closed response
+ * Fixture documentation error
+
+-------------------------------------------------------------------
Old:
----
requests-mock-1.0.0.tar.gz
New:
----
requests-mock-1.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests-mock.spec ++++++
--- /var/tmp/diff_new_pack.8ipqaQ/_old 2016-09-30 15:33:52.000000000 +0200
+++ /var/tmp/diff_new_pack.8ipqaQ/_new 2016-09-30 15:33:52.000000000 +0200
@@ -17,7 +17,7 @@
Name: python-requests-mock
-Version: 1.0.0
+Version: 1.1.0
Release: 0
Summary: Mock out responses from the requests package
License: Apache-2.0
++++++ requests-mock-1.0.0.tar.gz -> requests-mock-1.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/AUTHORS new/requests-mock-1.1.0/AUTHORS
--- old/requests-mock-1.0.0/AUTHORS 2016-05-09 07:14:35.000000000 +0200
+++ new/requests-mock-1.1.0/AUTHORS 2016-09-14 09:07:03.000000000 +0200
@@ -4,5 +4,7 @@
Janonymous <janonymous.codevulture(a)gmail.com>
Jeremy Stanley <fungi(a)yuggoth.org>
Louis Taylor <louis(a)kragniz.eu>
+Manuel Kaufmann <humitos(a)gmail.com>
Monty Taylor <mordred(a)inaugust.com>
Sebastian Kalinowski <sebastian(a)kalinowski.eu>
+reedip <reedip.banerjee(a)nectechnologies.in>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/ChangeLog new/requests-mock-1.1.0/ChangeLog
--- old/requests-mock-1.0.0/ChangeLog 2016-05-09 07:14:35.000000000 +0200
+++ new/requests-mock-1.1.0/ChangeLog 2016-09-14 09:07:03.000000000 +0200
@@ -1,6 +1,16 @@
CHANGES
=======
+1.1.0
+-----
+
+* Add a called_once property to adapter
+* Enable case sensitive matching
+* Provide fixture extras for pip
+* Allow doing real_http per mock via the mocker
+* Return b'' when reading closed response
+* Fixture documentation error
+
1.0.0
-----
@@ -9,6 +19,7 @@
* Doc fixups
* Expose cert and proxies as attributes of the last request
* Add timeout and allow_retries to RequestProxy
+* Add trove support for py34 and remove py33
* Fix py34 DB issue and remove py33/py26
* Remove pypip.in badge from readme
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/PKG-INFO new/requests-mock-1.1.0/PKG-INFO
--- old/requests-mock-1.0.0/PKG-INFO 2016-05-09 07:14:35.000000000 +0200
+++ new/requests-mock-1.1.0/PKG-INFO 2016-09-14 09:07:03.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: requests-mock
-Version: 1.0.0
+Version: 1.1.0
Summary: Mock out responses from the requests package
Home-page: https://requests-mock.readthedocs.org/
Author: Jamie Lennox
@@ -105,5 +105,5 @@
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/docs/fixture.rst new/requests-mock-1.1.0/docs/fixture.rst
--- old/requests-mock-1.0.0/docs/fixture.rst 2016-05-09 07:12:34.000000000 +0200
+++ new/requests-mock-1.1.0/docs/fixture.rst 2016-09-14 09:05:03.000000000 +0200
@@ -4,8 +4,12 @@
`Fixtures`_ provide a way to create reusable state and helper methods in test cases.
-To use the *requests-mock* fixture your tests need to have a dependency on the `fixtures`_ library and the `mock`_ library.
-These are not provided by *requests-mock*.
+To use the *requests-mock* fixture your tests need to have a dependency on the `fixtures`_ library.
+This can be optionally installed when you install *requests-mock* by doing:
+
+.. code:: shell
+
+ pip install requests-mock[fixture]
The fixture mocks the :py:meth:`requests.Session.get_adapter` method so that all requests will be served by the mock adapter.
@@ -23,7 +27,7 @@
...
... def setUp(self):
... super(MyTestCase, self).setUp()
- ... self.requests_mock = self.useFixture(requests_mock.Mock())
+ ... self.requests_mock = self.useFixture(fixture.Fixture())
... self.requests_mock.register_uri('GET', self.TEST_URL, text='respA')
...
... def test_method(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/docs/index.rst new/requests-mock-1.1.0/docs/index.rst
--- old/requests-mock-1.0.0/docs/index.rst 2016-05-09 07:12:34.000000000 +0200
+++ new/requests-mock-1.1.0/docs/index.rst 2016-09-14 09:05:03.000000000 +0200
@@ -11,6 +11,7 @@
mocker
matching
response
+ knownissues
history
adapter
contrib
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/docs/knownissues.rst new/requests-mock-1.1.0/docs/knownissues.rst
--- old/requests-mock-1.0.0/docs/knownissues.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/requests-mock-1.1.0/docs/knownissues.rst 2016-09-14 09:05:03.000000000 +0200
@@ -0,0 +1,34 @@
+============
+Known Issues
+============
+
+.. _case_insensitive:
+
+Case Insensitivity
+------------------
+
+By default matching is done in a completely case insensitive way. This makes
+sense for the protocol and host components which are defined as insensitive by
+RFCs however it does not make sense for path.
+
+A byproduct of this is that when using request history the values for path, qs
+etc are all lowercased as this was what was used to do the matching.
+
+To work around this when building an Adapter or Mocker you do
+
+.. code:: python
+
+ with requests_mock.mock(case_sensitive=True) as m:
+ ...
+
+or you can override the default globally by
+
+.. code:: python
+
+ requests_mock.mock.case_sensitive = True
+
+It is recommended to run the global fix as it is intended that case sensitivity
+will become the default in future releases.
+
+Note that even with case_sensitive enabled the protocol and netloc of a mock
+are still matched in a case insensitive way.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/docs/matching.rst new/requests-mock-1.1.0/docs/matching.rst
--- old/requests-mock-1.0.0/docs/matching.rst 2016-05-09 07:12:34.000000000 +0200
+++ new/requests-mock-1.1.0/docs/matching.rst 2016-09-14 09:05:03.000000000 +0200
@@ -38,6 +38,18 @@
>>> session = requests.Session()
>>> session.mount('mock', adapter)
+.. note::
+
+ By default all matching is case insensitive. This can be adjusted by
+ passing case_sensitive=True when creating a mocker or adapter or globally
+ by doing:
+
+ .. code:: python
+
+ requests_mock.mock.case_sensitive = True
+
+ for more see: :ref:`case_insensitive`
+
Simple
======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/docs/mocker.rst new/requests-mock-1.1.0/docs/mocker.rst
--- old/requests-mock-1.0.0/docs/mocker.rst 2016-05-09 07:12:34.000000000 +0200
+++ new/requests-mock-1.1.0/docs/mocker.rst 2016-09-14 09:05:03.000000000 +0200
@@ -132,3 +132,18 @@
...
'resp'
200
+
+*New in 1.1*
+
+Similarly when using a mocker you can register an individual URI to bypass the mocking infrastructure and make a real request. Note this only works when using the mocker and not when directly mounting an adapter.
+
+.. doctest::
+
+ >>> with requests_mock.Mocker() as m:
+ ... m.register_uri('GET', 'http://test.com', text='resp')
+ ... m.register_uri('GET', 'http://www.google.com', real_http=True)
+ ... print(requests.get('http://test.com').text)
+ ... print(requests.get('http://www.google.com').status_code) # doctest: +SKIP
+ ...
+ 'resp'
+ 200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/releasenotes/notes/Add-called_once-property-a69546448cbd5542.yaml new/requests-mock-1.1.0/releasenotes/notes/Add-called_once-property-a69546448cbd5542.yaml
--- old/requests-mock-1.0.0/releasenotes/notes/Add-called_once-property-a69546448cbd5542.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/requests-mock-1.1.0/releasenotes/notes/Add-called_once-property-a69546448cbd5542.yaml 2016-09-14 09:05:03.000000000 +0200
@@ -0,0 +1,6 @@
+---
+prelude: >
+ Add a called_once property to the mockers.
+features:
+ - A called_once property was added to the adapter and the mocker. This gives
+ us an easy way to emulate mock's assert_called_once.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/releasenotes/notes/case-insensitive-matching-a3143221359bbf2d.yaml new/requests-mock-1.1.0/releasenotes/notes/case-insensitive-matching-a3143221359bbf2d.yaml
--- old/requests-mock-1.0.0/releasenotes/notes/case-insensitive-matching-a3143221359bbf2d.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/requests-mock-1.1.0/releasenotes/notes/case-insensitive-matching-a3143221359bbf2d.yaml 2016-09-14 09:05:03.000000000 +0200
@@ -0,0 +1,17 @@
+---
+prelude: >
+ It is now possible to make URL matching and request history not lowercase
+ the provided URLs.
+features:
+ - You can pass case_sensitive=True to an adapter or set
+ `requests_mock.mock.case_sensitive = True` globally to enable case
+ sensitive matching.
+upgrade:
+ - It is recommended you add `requests_mock.mock.case_sensitive = True` to
+ your base test file to globally turn on case sensitive matching as this
+ will become the default in a 2.X release.
+fixes:
+ - Reported in bug \#1584008 all request matching is done in a case
+ insensitive way, as a byproduct of this request history is handled in a
+ case insensitive way. This can now be controlled by setting case_sensitive
+ to True when creating an adapter or globally.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/releasenotes/notes/fixture-extras-699a5b5fb5bd6aab.yaml new/requests-mock-1.1.0/releasenotes/notes/fixture-extras-699a5b5fb5bd6aab.yaml
--- old/requests-mock-1.0.0/releasenotes/notes/fixture-extras-699a5b5fb5bd6aab.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/requests-mock-1.1.0/releasenotes/notes/fixture-extras-699a5b5fb5bd6aab.yaml 2016-09-14 09:05:03.000000000 +0200
@@ -0,0 +1,7 @@
+---
+prelude: >
+ Installing the requirements for the 'fixture' contrib package can now be
+ done via pip with `pip install requests-mock[fixture]`
+features:
+ Added 'fixture' to pip extras so you can install the fixture requirements
+ with `pip install requests-mock[fixture]`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock/adapter.py new/requests-mock-1.1.0/requests_mock/adapter.py
--- old/requests-mock-1.0.0/requests_mock/adapter.py 2016-05-09 07:12:37.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock/adapter.py 2016-09-14 09:05:03.000000000 +0200
@@ -46,13 +46,22 @@
self._cert = kwargs.pop('cert', None)
self._proxies = copy.deepcopy(kwargs.pop('proxies', {}))
+ # FIXME(jamielennox): This is part of bug #1584008 and should default
+ # to True (or simply removed) in a major version bump.
+ self._case_sensitive = kwargs.pop('case_sensitive', False)
+
def __getattr__(self, name):
return getattr(self._request, name)
@property
def _url_parts(self):
if self._url_parts_ is None:
- self._url_parts_ = urlparse.urlparse(self._request.url.lower())
+ url = self._request.url
+
+ if not self._case_sensitive:
+ url = url.lower()
+
+ self._url_parts_ = urlparse.urlparse(url)
return self._url_parts_
@@ -147,14 +156,29 @@
return self.call_count > 0
@property
+ def called_once(self):
+ return self.call_count == 1
+
+ @property
def call_count(self):
return len(self.request_history)
+class _RunRealHTTP(Exception):
+ """A fake exception to jump out of mocking and allow a real request.
+
+ This exception is caught at the mocker level and allows it to execute this
+ request through the real requests mechanism rather than the mocker.
+
+ It should never be exposed to a user.
+ """
+
+
class _Matcher(_RequestHistoryTracker):
"""Contains all the information about a provided URL to match."""
- def __init__(self, method, url, responses, complete_qs, request_headers):
+ def __init__(self, method, url, responses, complete_qs, request_headers,
+ real_http, case_sensitive):
"""
:param bool complete_qs: Match the entire query string. By default URLs
match if all the provided matcher query arguments are matched and
@@ -162,15 +186,31 @@
require that the entire query string needs to match.
"""
super(_Matcher, self).__init__()
+
self._method = method
self._url = url
- try:
- self._url_parts = urlparse.urlparse(url.lower())
- except:
- self._url_parts = None
self._responses = responses
self._complete_qs = complete_qs
self._request_headers = request_headers
+ self._real_http = real_http
+
+ # url can be a regex object or ANY so don't always run urlparse
+ if isinstance(url, six.string_types):
+ url_parts = urlparse.urlparse(url)
+ self._scheme = url_parts.scheme.lower()
+ self._netloc = url_parts.netloc.lower()
+ self._path = url_parts.path or '/'
+ self._query = url_parts.query
+
+ if not case_sensitive:
+ self._path = self._path.lower()
+ self._query = self._query.lower()
+
+ else:
+ self._scheme = None
+ self._netloc = None
+ self._path = None
+ self._query = None
def _match_method(self, request):
if self._method is ANY:
@@ -189,18 +229,20 @@
if hasattr(self._url, 'search'):
return self._url.search(request.url) is not None
- if self._url_parts.scheme and request.scheme != self._url_parts.scheme:
+ # scheme is always matched case insensitive
+ if self._scheme and request.scheme.lower() != self._scheme:
return False
- if self._url_parts.netloc and request.netloc != self._url_parts.netloc:
+ # netloc is always matched case insensitive
+ if self._netloc and request.netloc.lower() != self._netloc:
return False
- if (request.path or '/') != (self._url_parts.path or '/'):
+ if (request.path or '/') != self._path:
return False
# construct our own qs structure as we remove items from it below
request_qs = urlparse.parse_qs(request.query)
- matcher_qs = urlparse.parse_qs(self._url_parts.query)
+ matcher_qs = urlparse.parse_qs(self._query)
for k, vals in six.iteritems(matcher_qs):
for v in vals:
@@ -248,6 +290,11 @@
if not self._match(request):
return None
+ # doing this before _add_to_history means real requests are not stored
+ # in the request history. I'm not sure what is better here.
+ if self._real_http:
+ raise _RunRealHTTP()
+
if len(self._responses) > 1:
response_matcher = self._responses.pop(0)
else:
@@ -261,12 +308,15 @@
"""A fake adapter than can return predefined responses.
"""
- def __init__(self):
+ def __init__(self, case_sensitive=False):
super(Adapter, self).__init__()
+ self._case_sensitive = case_sensitive
self._matchers = []
def send(self, request, **kwargs):
- request = _RequestObjectProxy(request, **kwargs)
+ request = _RequestObjectProxy(request,
+ case_sensitive=self._case_sensitive,
+ **kwargs)
self._add_to_history(request)
for matcher in reversed(self._matchers):
@@ -294,19 +344,31 @@
"""
complete_qs = kwargs.pop('complete_qs', False)
request_headers = kwargs.pop('request_headers', {})
+ real_http = kwargs.pop('_real_http', False)
if response_list and kwargs:
raise RuntimeError('You should specify either a list of '
'responses OR response kwargs. Not both.')
+ elif real_http and (response_list or kwargs):
+ raise RuntimeError('You should specify either response data '
+ 'OR real_http. Not both.')
elif not response_list:
- response_list = [kwargs]
+ response_list = [] if real_http else [kwargs]
+ # NOTE(jamielennox): case_sensitive is not present as a kwarg because i
+ # think there would be an edge case where the adapter and register_uri
+ # had different values.
+ # Ideally case_sensitive would be a value passed to match() however
+ # this would change the contract of matchers so we pass ito to the
+ # proxy and the matcher seperately.
responses = [response._MatcherResponse(**k) for k in response_list]
matcher = _Matcher(method,
url,
responses,
+ case_sensitive=self._case_sensitive,
complete_qs=complete_qs,
- request_headers=request_headers)
+ request_headers=request_headers,
+ real_http=real_http)
self.add_matcher(matcher)
return matcher
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock/mocker.py new/requests-mock-1.1.0/requests_mock/mocker.py
--- old/requests-mock-1.0.0/requests_mock/mocker.py 2016-05-09 07:12:34.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock/mocker.py 2016-09-14 09:05:03.000000000 +0200
@@ -34,14 +34,33 @@
"""
_PROXY_FUNCS = set(['last_request',
- 'register_uri',
'add_matcher',
'request_history',
'called',
'call_count'])
+ case_sensitive = False
+ """case_sensitive handles a backwards incompatible bug. The URL used to
+ match against our matches and that is saved in request_history is always
+ lowercased. This is incorrect as it reports incorrect history to the user
+ and doesn't allow case sensitive path matching.
+
+ Unfortunately fixing this change is backwards incompatible in the 1.X
+ series as people may rely on this behaviour. To work around this you can
+ globally set:
+
+ requests_mock.mock.case_sensitive = True
+
+ which will prevent the lowercase being executed and return case sensitive
+ url and query information.
+
+ This will become the default in a 2.X release. See bug: #1584008.
+ """
+
def __init__(self, **kwargs):
- self._adapter = adapter.Adapter()
+ case_sensitive = kwargs.pop('case_sensitive', self.case_sensitive)
+ self._adapter = adapter.Adapter(case_sensitive=case_sensitive)
+
self._real_http = kwargs.pop('real_http', False)
self._real_send = None
@@ -70,6 +89,10 @@
except exceptions.NoMockAddress:
if not self._real_http:
raise
+ except adapter._RunRealHTTP:
+ # this mocker wants you to run the request through the real
+ # requests library rather than the mocking. Let it.
+ pass
finally:
requests.Session.get_adapter = real_get_adapter
@@ -95,6 +118,12 @@
raise AttributeError(name)
+ def register_uri(self, *args, **kwargs):
+ # you can pass real_http here, but it's private to pass direct to the
+ # adapter, because if you pass direct to the adapter you'll see the exc
+ kwargs['_real_http'] = kwargs.pop('real_http', False)
+ return self._adapter.register_uri(*args, **kwargs)
+
def request(self, *args, **kwargs):
return self.register_uri(*args, **kwargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock/response.py new/requests-mock-1.1.0/requests_mock/response.py
--- old/requests-mock-1.0.0/requests_mock/response.py 2016-05-09 07:12:34.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock/response.py 2016-09-14 09:05:03.000000000 +0200
@@ -103,6 +103,22 @@
merge_cookies(response.cookies, cookies)
+class _IOReader(six.BytesIO):
+ """A reader that makes a BytesIO look like a HTTPResponse.
+
+ A HTTPResponse will return an empty string when you read from it after
+ the socket has been closed. A BytesIO will raise a ValueError. For
+ compatibility we want to do the same thing a HTTPResponse does.
+ """
+
+ def read(self, *args, **kwargs):
+ if self.closed:
+ return six.b('')
+
+ # not a new style object in python 2
+ return six.BytesIO.read(self, *args, **kwargs)
+
+
def create_response(request, **kwargs):
"""
:param int status_code: The status code to return upon a successful
@@ -142,12 +158,12 @@
encoding = 'utf-8'
content = text.encode(encoding)
if content is not None:
- body = six.BytesIO(content)
+ body = _IOReader(content)
if not raw:
raw = HTTPResponse(status=kwargs.get('status_code', _DEFAULT_STATUS),
headers=kwargs.get('headers', {}),
reason=kwargs.get('reason'),
- body=body or six.BytesIO(six.b('')),
+ body=body or _IOReader(six.b('')),
decode_content=False,
preload_content=False,
original_response=compat._fake_http_response)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock/tests/test_adapter.py new/requests-mock-1.1.0/requests_mock/tests/test_adapter.py
--- old/requests-mock-1.0.0/requests_mock/tests/test_adapter.py 2016-05-09 07:12:37.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock/tests/test_adapter.py 2016-09-14 09:05:03.000000000 +0200
@@ -334,9 +334,11 @@
m = self.adapter.register_uri('GET', self.url, text='resp')
self.assertEqual(0, m.call_count)
self.assertFalse(m.called)
+ self.assertFalse(m.called_once)
self.assertEqual(0, self.adapter.call_count)
self.assertFalse(self.adapter.called)
+ self.assertFalse(m.called_once)
def test_called_and_called_count(self):
m = self.adapter.register_uri('GET', self.url, text='resp')
@@ -349,9 +351,11 @@
self.assertEqual(len(resps), m.call_count)
self.assertTrue(m.called)
+ self.assertFalse(m.called_once)
self.assertEqual(len(resps), self.adapter.call_count)
self.assertTrue(self.adapter.called)
+ self.assertFalse(m.called_once)
def test_adapter_picks_correct_adatper(self):
good = '%s://test3.url/' % self.PREFIX
@@ -436,6 +440,7 @@
resp = self.session.post(self.url, data=data)
self.assertEqual(1, m.call_count)
+ self.assertTrue(m.called_once)
self.assertEqual(dict_resp, resp.json())
def test_raises_exception(self):
@@ -445,6 +450,7 @@
self.session.get,
self.url)
+ self.assertTrue(self.adapter.called_once)
self.assertEqual(self.url, self.adapter.last_request.url)
def test_raises_exception_with_body_args_fails(self):
@@ -472,6 +478,7 @@
self.assertEqual(text2, resp2.text)
self.assertEqual(2, self.adapter.call_count)
+ self.assertFalse(self.adapter.called_once)
self.assertEqual(url1, self.adapter.request_history[0].url)
self.assertEqual(url2, self.adapter.request_history[1].url)
@@ -664,3 +671,53 @@
self.assertEqual(data, resp.text)
self.assertEqual(proxies, self.adapter.last_request.proxies)
self.assertIsNot(proxies, self.adapter.last_request.proxies)
+
+ def test_reading_closed_fp(self):
+ self.adapter.register_uri('GET', self.url, text='abc')
+ resp = self.session.get(self.url)
+
+ # raw will have been closed during the request reading
+ self.assertTrue(resp.raw.closed)
+
+ data = resp.raw.read()
+
+ self.assertIsInstance(data, six.binary_type)
+ self.assertEqual(0, len(data))
+
+ def test_case_sensitive_headers(self):
+ data = 'testdata'
+ headers = {'aBcDe': 'FgHiJ'}
+
+ self.adapter.register_uri('GET', self.url, text=data)
+ resp = self.session.get(self.url, headers=headers)
+
+ self.assertEqual('GET', self.adapter.last_request.method)
+ self.assertEqual(200, resp.status_code)
+ self.assertEqual(data, resp.text)
+
+ for k, v in headers.items():
+ self.assertEqual(v, self.adapter.last_request.headers[k])
+
+ def test_case_sensitive_history(self):
+ self.adapter._case_sensitive = True
+
+ data = 'testdata'
+ netloc = 'examPlE.CoM'
+ path = '/TesTER'
+ query = 'aBC=deF'
+
+ mock_url = '%s://%s%s' % (self.PREFIX, netloc.lower(), path)
+ request_url = '%s://%s%s?%s' % (self.PREFIX, netloc, path, query)
+
+ # test that the netloc is ignored when actually making the request
+ self.adapter.register_uri('GET', mock_url, text=data)
+ resp = self.session.get(request_url)
+
+ self.assertEqual('GET', self.adapter.last_request.method)
+ self.assertEqual(200, resp.status_code)
+ self.assertEqual(data, resp.text)
+
+ # but even still the mixed case parameters come out in history
+ self.assertEqual(netloc, self.adapter.last_request.netloc)
+ self.assertEqual(path, self.adapter.last_request.path)
+ self.assertEqual(query, self.adapter.last_request.query)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock/tests/test_matcher.py new/requests-mock-1.1.0/requests_mock/tests/test_matcher.py
--- old/requests-mock-1.0.0/requests_mock/tests/test_matcher.py 2016-05-09 07:12:34.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock/tests/test_matcher.py 2016-09-14 09:05:03.000000000 +0200
@@ -27,12 +27,16 @@
request_method='GET',
complete_qs=False,
headers=None,
- request_headers={}):
+ request_headers={},
+ real_http=False,
+ case_sensitive=False):
matcher = adapter._Matcher(matcher_method,
target,
[],
complete_qs,
- request_headers)
+ request_headers,
+ real_http=real_http,
+ case_sensitive=case_sensitive)
request = adapter._RequestObjectProxy._create(request_method,
url,
headers)
@@ -220,3 +224,44 @@
'http://www.test.com/path',
headers={'A': 'abc', 'b': 'def'},
request_headers={'c': 'ghi'})
+
+ # headers should be key insensitive and value sensitive, we have no
+ # choice here because they go into an insensitive dict.
+ self.assertMatch('/path',
+ 'http://www.test.com/path',
+ headers={'aBc': 'abc', 'DEF': 'def'},
+ request_headers={'abC': 'abc'})
+
+ self.assertNoMatch('/path',
+ 'http://www.test.com/path',
+ headers={'abc': 'aBC', 'DEF': 'def'},
+ request_headers={'abc': 'Abc'})
+
+ def test_case_sensitive_ignored_for_netloc_and_protocol(self):
+ for case_sensitive in (True, False):
+ self.assertMatch('http://AbC.CoM',
+ 'http://aBc.CoM',
+ case_sensitive=case_sensitive)
+
+ self.assertMatch('htTP://abc.com',
+ 'hTTp://abc.com',
+ case_sensitive=case_sensitive)
+
+ self.assertMatch('htTP://aBC.cOm',
+ 'hTTp://AbC.Com',
+ case_sensitive=case_sensitive)
+
+ def assertSensitiveMatch(self, target, url, **kwargs):
+ self.assertMatch(target, url, case_sensitive=False, **kwargs)
+ self.assertNoMatch(target, url, case_sensitive=True, **kwargs)
+
+ def test_case_sensitive_paths(self):
+ self.assertSensitiveMatch('http://abc.com/pAtH', 'http://abc.com/path')
+ self.assertSensitiveMatch('/pAtH', 'http://abc.com/path')
+
+ def test_case_sensitive_query(self):
+ self.assertSensitiveMatch('http://abc.com/path?abCD=efGH',
+ 'http://abc.com/path?abCd=eFGH')
+
+ self.assertSensitiveMatch('http://abc.com/path?abcd=efGH',
+ 'http://abc.com/path?abcd=eFGH')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock/tests/test_mocker.py new/requests-mock-1.1.0/requests_mock/tests/test_mocker.py
--- old/requests-mock-1.0.0/requests_mock/tests/test_mocker.py 2016-05-09 07:12:34.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock/tests/test_mocker.py 2016-09-14 09:05:03.000000000 +0200
@@ -15,6 +15,7 @@
import requests_mock
from requests_mock import compat
+from requests_mock import exceptions
from requests_mock.tests import base
original_send = requests.Session.send
@@ -173,6 +174,7 @@
self.assertEqual(1, m.call_count)
self.assertTrue(matcher.called)
+ self.assertTrue(matcher.called_once)
self.assertTrue(m.called)
self.assertEqual(m.request_history, matcher.request_history)
@@ -201,45 +203,119 @@
resp = requests.request(method, self.URL)
self.assertResponse(resp)
self.assertTrue(mock_obj.called)
+ self.assertTrue(mock_obj.called_once)
@requests_mock.Mocker()
def test_mocker_get(self, m):
mock_obj = m.get(self.URL, text=self.TEXT)
self.assertResponse(requests.get(self.URL))
self.assertTrue(mock_obj.called)
+ self.assertTrue(mock_obj.called_once)
@requests_mock.Mocker()
def test_mocker_options(self, m):
mock_obj = m.options(self.URL, text=self.TEXT)
self.assertResponse(requests.options(self.URL))
self.assertTrue(mock_obj.called)
+ self.assertTrue(mock_obj.called_once)
@requests_mock.Mocker()
def test_mocker_head(self, m):
mock_obj = m.head(self.URL, text=self.TEXT)
self.assertResponse(requests.head(self.URL))
self.assertTrue(mock_obj.called)
+ self.assertTrue(mock_obj.called_once)
@requests_mock.Mocker()
def test_mocker_post(self, m):
mock_obj = m.post(self.URL, text=self.TEXT)
self.assertResponse(requests.post(self.URL))
self.assertTrue(mock_obj.called)
+ self.assertTrue(mock_obj.called_once)
@requests_mock.Mocker()
def test_mocker_put(self, m):
mock_obj = m.put(self.URL, text=self.TEXT)
self.assertResponse(requests.put(self.URL))
self.assertTrue(mock_obj.called)
+ self.assertTrue(mock_obj.called_once)
@requests_mock.Mocker()
def test_mocker_patch(self, m):
mock_obj = m.patch(self.URL, text=self.TEXT)
self.assertResponse(requests.patch(self.URL))
self.assertTrue(mock_obj.called)
+ self.assertTrue(mock_obj.called_once)
@requests_mock.Mocker()
def test_mocker_delete(self, m):
mock_obj = m.delete(self.URL, text=self.TEXT)
self.assertResponse(requests.delete(self.URL))
self.assertTrue(mock_obj.called)
+ self.assertTrue(mock_obj.called_once)
+
+ @requests_mock.Mocker()
+ def test_mocker_real_http_and_responses(self, m):
+ self.assertRaises(RuntimeError,
+ m.get,
+ self.URL,
+ text='abcd',
+ real_http=True)
+
+ @requests_mock.Mocker()
+ def test_mocker_real_http(self, m):
+ data = 'testdata'
+
+ uri1 = 'fake://example.com/foo'
+ uri2 = 'fake://example.com/bar'
+ uri3 = 'fake://example.com/baz'
+
+ m.get(uri1, text=data)
+ m.get(uri2, real_http=True)
+
+ self.assertEqual(data, requests.get(uri1).text)
+
+ # This should fail because requests can't get an adapter for mock://
+ # but it shows that it has tried and would have made a request.
+ self.assertRaises(requests.exceptions.InvalidSchema,
+ requests.get,
+ uri2)
+
+ # This fails because real_http is not set on the mocker
+ self.assertRaises(exceptions.NoMockAddress,
+ requests.get,
+ uri3)
+
+ # do it again to make sure the mock is still in place
+ self.assertEqual(data, requests.get(uri1).text)
+
+ @requests_mock.Mocker(case_sensitive=True)
+ def test_case_sensitive_query(self, m):
+ data = 'testdata'
+ query = {'aBcDe': 'FgHiJ'}
+
+ m.get(self.URL, text=data)
+ resp = requests.get(self.URL, params=query)
+
+ self.assertEqual('GET', m.last_request.method)
+ self.assertEqual(200, resp.status_code)
+ self.assertEqual(data, resp.text)
+
+ for k, v in query.items():
+ self.assertEqual([v], m.last_request.qs[k])
+
+ @mock.patch.object(requests_mock.Mocker, 'case_sensitive', True)
+ def test_global_case_sensitive(self):
+ with requests_mock.mock() as m:
+ data = 'testdata'
+ query = {'aBcDe': 'FgHiJ'}
+
+ m.get(self.URL, text=data)
+ resp = requests.get(self.URL, params=query)
+
+ self.assertEqual('GET', m.last_request.method)
+ self.assertEqual(200, resp.status_code)
+ self.assertEqual(data, resp.text)
+
+ for k, v in query.items():
+ self.assertEqual([v], m.last_request.qs[k])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock.egg-info/PKG-INFO new/requests-mock-1.1.0/requests_mock.egg-info/PKG-INFO
--- old/requests-mock-1.0.0/requests_mock.egg-info/PKG-INFO 2016-05-09 07:14:35.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock.egg-info/PKG-INFO 2016-09-14 09:07:03.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: requests-mock
-Version: 1.0.0
+Version: 1.1.0
Summary: Mock out responses from the requests package
Home-page: https://requests-mock.readthedocs.org/
Author: Jamie Lennox
@@ -105,5 +105,5 @@
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock.egg-info/SOURCES.txt new/requests-mock-1.1.0/requests_mock.egg-info/SOURCES.txt
--- old/requests-mock-1.0.0/requests_mock.egg-info/SOURCES.txt 2016-05-09 07:14:35.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock.egg-info/SOURCES.txt 2016-09-14 09:07:03.000000000 +0200
@@ -19,6 +19,7 @@
docs/fixture.rst
docs/history.rst
docs/index.rst
+docs/knownissues.rst
docs/make.bat
docs/matching.rst
docs/mocker.rst
@@ -27,6 +28,9 @@
docs/response.rst
docs/api/modules.rst
docs/api/requests_mock.rst
+releasenotes/notes/Add-called_once-property-a69546448cbd5542.yaml
+releasenotes/notes/case-insensitive-matching-a3143221359bbf2d.yaml
+releasenotes/notes/fixture-extras-699a5b5fb5bd6aab.yaml
requests_mock/__init__.py
requests_mock/adapter.py
requests_mock/compat.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock.egg-info/pbr.json new/requests-mock-1.1.0/requests_mock.egg-info/pbr.json
--- old/requests-mock-1.0.0/requests_mock.egg-info/pbr.json 2016-05-09 07:14:35.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock.egg-info/pbr.json 2016-09-14 09:07:03.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "a8b009c"}
\ No newline at end of file
+{"is_release": true, "git_version": "c105f1c"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/requests_mock.egg-info/requires.txt new/requests-mock-1.1.0/requests_mock.egg-info/requires.txt
--- old/requests-mock-1.0.0/requests_mock.egg-info/requires.txt 2016-05-09 07:14:35.000000000 +0200
+++ new/requests-mock-1.1.0/requests_mock.egg-info/requires.txt 2016-09-14 09:07:03.000000000 +0200
@@ -1,2 +1,5 @@
requests>=1.1
six
+
+[fixture]
+fixtures
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-mock-1.0.0/setup.cfg new/requests-mock-1.1.0/setup.cfg
--- old/requests-mock-1.0.0/setup.cfg 2016-05-09 07:14:35.000000000 +0200
+++ new/requests-mock-1.1.0/setup.cfg 2016-09-14 09:07:03.000000000 +0200
@@ -17,7 +17,7 @@
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.6
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.3
+ Programming Language :: Python :: 3.4
Topic :: Software Development :: Testing
test_suite = requests_mock.tests
@@ -27,6 +27,10 @@
[wheel]
universal = 1
+[extras]
+fixture =
+ fixtures
+
[egg_info]
tag_build =
tag_date = 0
1
0
Hello community,
here is the log from the commit of package python-wsgi_intercept for openSUSE:Factory checked in at 2016-09-30 15:33:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wsgi_intercept (Old)
and /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wsgi_intercept"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wsgi_intercept/python-wsgi_intercept.changes 2016-09-28 15:04:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new/python-wsgi_intercept.changes 2016-09-30 15:33:47.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Sep 28 04:53:44 UTC 2016 - tbechtold(a)suse.com
+
+- Add missing BuildRequires for pyrthon-six
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wsgi_intercept.spec ++++++
--- /var/tmp/diff_new_pack.qID4Ps/_old 2016-09-30 15:33:49.000000000 +0200
+++ /var/tmp/diff_new_pack.qID4Ps/_new 2016-09-30 15:33:49.000000000 +0200
@@ -32,6 +32,7 @@
BuildRequires: python-httplib2
BuildRequires: python-pytest >= 2.4
BuildRequires: python-requests >= 2.0.1
+BuildRequires: python-six
BuildRequires: python-urllib3 >= 1.11.0
Requires: python-six
Recommends: python-requests >= 2.0.1
1
0
Hello community,
here is the log from the commit of package duperemove for openSUSE:Factory checked in at 2016-09-30 15:33:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/duperemove (Old)
and /work/SRC/openSUSE:Factory/.duperemove.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "duperemove"
Changes:
--------
--- /work/SRC/openSUSE:Factory/duperemove/duperemove.changes 2016-09-17 14:41:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.duperemove.new/duperemove.changes 2016-09-30 15:33:46.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Sep 27 20:41:37 UTC 2016 - mfasheh(a)suse.com
+
+- Update to duperemove v0.11.beta4
+ - Many man page and FAQ updates
+ - Much lower memory usage (changed to use block-dedupe by default)
+ - removed unused sha256 module
+
+-------------------------------------------------------------------
Old:
----
duperemove-0.11.beta3.tar.gz
New:
----
duperemove-0.11.beta4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ duperemove.spec ++++++
--- /var/tmp/diff_new_pack.vjmTGT/_old 2016-09-30 15:33:47.000000000 +0200
+++ /var/tmp/diff_new_pack.vjmTGT/_new 2016-09-30 15:33:47.000000000 +0200
@@ -18,7 +18,7 @@
%define samename btrfs-extent-same
Name: duperemove
-Version: 0.11.beta3
+Version: 0.11.beta4
Release: 0
Summary: Software to find duplicate extents in files and remove them
License: GPL-2.0
@@ -63,7 +63,7 @@
%files
%defattr(-, root, root)
-%doc LICENSE README.md FAQ.md
+%doc LICENSE README.md
%{_sbindir}/duperemove
%{_sbindir}/hashstats
%{_sbindir}/show-shared-extents
++++++ duperemove-0.11.beta3.tar.gz -> duperemove-0.11.beta4.tar.gz ++++++
++++ 4534 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package argus-client for openSUSE:Factory checked in at 2016-09-30 15:33:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/argus-client (Old)
and /work/SRC/openSUSE:Factory/.argus-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "argus-client"
Changes:
--------
--- /work/SRC/openSUSE:Factory/argus-client/argus-client.changes 2014-12-21 12:04:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.argus-client.new/argus-client.changes 2016-09-30 15:33:42.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 28 09:17:22 UTC 2016 - p.drouand(a)gmail.com
+
+- Update to version 3.0.8.2
+ * Please read the ChangeLog
+
+-------------------------------------------------------------------
Old:
----
argus-clients-3.0.8.tar.gz
New:
----
argus-clients-3.0.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ argus-client.spec ++++++
--- /var/tmp/diff_new_pack.5cUJT9/_old 2016-09-30 15:33:45.000000000 +0200
+++ /var/tmp/diff_new_pack.5cUJT9/_new 2016-09-30 15:33:45.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package argus-client
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,61 +16,61 @@
#
-Name: argus-client
-BuildRequires: bison
-BuildRequires: flex
-BuildRequires: libpcap
-BuildRequires: ncurses-devel
-BuildRequires: tcpd-devel
-BuildRequires: tcsh
%define name2 argus-clients
+Name: argus-client
+Version: 3.0.8.2
+Release: 0
Summary: Client for Network Monitoring Tool
License: GPL-2.0+
Group: Productivity/Networking/Diagnostic
-Version: 3.0.8
-Release: 0
Url: http://www.qosient.com/argus/
-
Source: http://qosient.com/argus/src/%{name2}-%{version}.tar.gz
Patch1: %{name2}-3.0.6-overflow.patch
Patch2: %{name2}-3.0.8-fclose.patch
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: libpcap
+BuildRequires: ncurses-devel
+BuildRequires: tcpd-devel
+BuildRequires: tcsh
+Requires: argus
+Provides: argus:%{_sbindir}/argus
# PATCH-FIX-UPSTREAM fix mem leak (bnc#537485)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Requires: argus
-Provides: argus:/usr/sbin/argus
%description
Client for Argus network monitoring tool.
%prep
-%setup -n %{name2}-%{version}
+%setup -q -n %{name2}-%{version}
%patch1
%patch2
%build
#autoreconf -fi
-export CFLAGS="$RPM_OPT_FLAGS -Wall"
+export CFLAGS="%{optflags} -Wall"
%configure
make %{?_smp_mflags}
%install
-install -d -m 755 $RPM_BUILD_ROOT/{etc,usr/{bin,share/man}}
-install -m 700 bin/arg* $RPM_BUILD_ROOT/usr/bin/
-rm -f $RPM_BUILD_ROOT/usr/bin/argus_linux
-install -m 755 bin/ra* $RPM_BUILD_ROOT/usr/bin/
+install -d -m 755 %{buildroot}/{etc,usr/{bin,share/man}}
+install -m 700 bin/arg* %{buildroot}%{_bindir}/
+rm -f %{buildroot}%{_bindir}/argus_linux
+install -m 755 bin/ra* %{buildroot}%{_bindir}/
( cd man
- cp -a man* $RPM_BUILD_ROOT%{_mandir}
- chmod a-x $RPM_BUILD_ROOT%{_mandir}/*/* )
-rm -f $RPM_BUILD_ROOT%{_mandir}/man1/tcpdump.1*
-install -m 600 support/Config/rarc $RPM_BUILD_ROOT/etc/ra.conf
+ cp -a man* %{buildroot}%{_mandir}
+ chmod a-x %{buildroot}%{_mandir}/*/* )
+rm -f %{buildroot}%{_mandir}/man1/tcpdump.1*
+install -m 600 support/Config/rarc %{buildroot}%{_sysconfdir}/ra.conf
find support -type f -exec chmod 0644 {} \;
-rm -f $RPM_BUILD_ROOT/usr/bin/argus*
+rm -f %{buildroot}%{_bindir}/argus*
+rm -rf %{buildroot}%{_mandir}/man*/._*
%files
%defattr(-,root,root)
%doc COPYING MANIFEST support
%{_mandir}/man*/*
-%config /etc/ra.conf
-/usr/bin/ra*
+%config %{_sysconfdir}/ra.conf
+%{_bindir}/ra*
%changelog
++++++ argus-clients-3.0.8.tar.gz -> argus-clients-3.0.8.2.tar.gz ++++++
++++ 41036 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package tilda for openSUSE:Factory checked in at 2016-09-30 15:33:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tilda (Old)
and /work/SRC/openSUSE:Factory/.tilda.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tilda"
Changes:
--------
--- /work/SRC/openSUSE:Factory/tilda/tilda.changes 2015-12-23 08:50:30.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.tilda.new/tilda.changes 2016-09-30 15:33:40.000000000 +0200
@@ -1,0 +2,27 @@
+Sun Sep 25 13:01:54 UTC 2016 - malcolmlewis(a)opensuse.org
+
+- Update to version 1.3.3:
+ + Bumped GTK+ version to 3.10, we are already implicitly
+ depending on it.
+ + Fixed the close-tab regression introduced in the last patch.
+ + Fixed CTRL+SHIFT+W closing two tabs.
+- Changes from version 1.3.2:
+ + Updated Hacking.md's instructions to reflect VTE 2.91 api bump.
+ + Added a widget name to the search widget for easier styling.
+ + Several code cleanups and a few deprecation warnings where
+ removed.
+ + Added default styling to the tilda search bar.
+ + Cleanup code for CSS loading. It now reports an error if
+ something went wrong.
+ + Fixed a problem that caused tilda to close two tabs when the
+ close tab hotkey was used.
+ + The preference dialog is now also shown above the tilda window
+ if the tilda window is in fullscreen mode.
+- Changes from version 1.3.1:
+ + Transparency regression for GNOME shell fixed.
+ + Images in the appdata file and Readme.md have been updated.
+ + Fixed an issue that would the background transparancy to be
+ reset on a color palette change.
+- NOTE: No wayland support (yet?).
+
+-------------------------------------------------------------------
Old:
----
tilda-1.3.0.tar.gz
New:
----
tilda-1.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tilda.spec ++++++
--- /var/tmp/diff_new_pack.CL6zBL/_old 2016-09-30 15:33:42.000000000 +0200
+++ /var/tmp/diff_new_pack.CL6zBL/_new 2016-09-30 15:33:42.000000000 +0200
@@ -17,7 +17,7 @@
Name: tilda
-Version: 1.3.0
+Version: 1.3.3
Release: 0
Summary: A Gtk based drop down terminal for Linux and Unix
License: GPL-2.0+
++++++ tilda-1.3.0.tar.gz -> tilda-1.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/ChangeLog new/tilda-tilda-1.3.3/ChangeLog
--- old/tilda-tilda-1.3.0/ChangeLog 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/ChangeLog 2016-04-18 14:09:55.000000000 +0200
@@ -1,3 +1,27 @@
+version 1.3.3 (2016-04-18):
+ * Bumped GTK+ version to 3.10, we are already implicitly depending on it.
+ * Fixed the close-tab regression introduced in the last patch.
+ * Fixed CTRL+SHIFT+W closing two tabs.
+
+version 1.3.2 (2016-02-14):
+ * Updated Hacking.md's instructions to reflect VTE 2.91 api bump (Thanks to HiTuX)
+ * Added a widget name to the search widget for easier styling (Sebastian Geiger)
+ * Several code cleanups and a few deprecation warnings where removed (Sebastian Geiger)
+ * Added default styling to the tilda search bar (Sebastian Geiger)
+ * Cleanup code for CSS loading. It now reports an error if something went wrong (Sebastian Geiger)
+ * Fixed a problem that caused tilda to close two tabs when the close tab hotkey
+ was used (Sebastian Geiger)
+ * The preference dialog is now also shown above the tilda window if the tilda
+ window is in fullscreen mode (Alexander Maznev)
+
+version 1.3.1 (2015-12-16):
+ * Despite the claim that the transparency was fixed for GNOME Shell
+ there was a regression that broke it again. With this version
+ it should finally be fixed (again).
+ * Images in the appdata file and Readme.md have been updated.
+ * Fixed an issue that would the background transparancy to be
+ reset on a color palette change (Sergey Zolotarev).
+
version 1.3.0 (2015-11-17):
* Fixed an issue with transparency in GNOME Shell (Ingmar Olsson)
* Fixed wrong move-tab behaviour (Andrew Lin)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/HACKING.md new/tilda-tilda-1.3.3/HACKING.md
--- old/tilda-tilda-1.3.0/HACKING.md 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/HACKING.md 2016-04-18 14:09:55.000000000 +0200
@@ -4,13 +4,13 @@
* Glib >= 2.30 - http://developer.gnome.org/glib/2.30/
* Gtk+3 >= 3.0 - http://developer.gnome.org/gtk3/3.0/
- * VTE >= 2.90 - http://developer.gnome.org/vte/0.30/
+ * VTE >= 2.91 - http://developer.gnome.org/vte/0.30/
* libConfuse - http://www.nongnu.org/confuse/
* libx11-dev - http://www.x.org/wiki/
On Ubuntu based system install dependencies with:
- sudo apt-get install git dh-autoreconf autotools-dev debhelper dh-autoreconf libconfuse-dev libgtk-3-dev libvte-2.90-dev pkg-config
+ sudo apt-get install git dh-autoreconf autotools-dev debhelper dh-autoreconf libconfuse-dev libgtk-3-dev libvte-2.91-dev pkg-config
You possibly need other packages such as `gettext`, `automake`, `autoconf`, `autopoint`, and X11 development libraries.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/configure.ac new/tilda-tilda-1.3.3/configure.ac
--- old/tilda-tilda-1.3.0/configure.ac 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/configure.ac 2016-04-18 14:09:55.000000000 +0200
@@ -3,7 +3,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
-AC_INIT([Tilda],[1.3.0],[https://github.com/lanoxx/tilda/issues],[tilda],[https://github.com/lanoxx/tilda])
+AC_INIT([Tilda],[1.3.3],[https://github.com/lanoxx/tilda/issues],[tilda],[https://github.com/lanoxx/tilda])
AM_INIT_AUTOMAKE([foreign subdir-objects])
# We are going to use silent builds which have a much
@@ -146,7 +146,7 @@
AM_GNU_GETTEXT([external])
# Checks for libraries.
PKG_PROG_PKG_CONFIG
-PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.0.0])
+PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.10.0])
PKG_CHECK_MODULES([VTE], [$vte_package])
PKG_CHECK_MODULES([LIBCONFUSE], [libconfuse])
PKG_CHECK_MODULES([X11], [x11])
Files old/tilda-tilda-1.3.0/images/tilda_appearance-16-9.png and new/tilda-tilda-1.3.3/images/tilda_appearance-16-9.png differ
Files old/tilda-tilda-1.3.0/images/tilda_appearance-16:9.png and new/tilda-tilda-1.3.3/images/tilda_appearance-16:9.png differ
Files old/tilda-tilda-1.3.0/images/tilda_appearance.png and new/tilda-tilda-1.3.3/images/tilda_appearance.png differ
Files old/tilda-tilda-1.3.0/images/tilda_colors-16-9.png and new/tilda-tilda-1.3.3/images/tilda_colors-16-9.png differ
Files old/tilda-tilda-1.3.0/images/tilda_colors.png and new/tilda-tilda-1.3.3/images/tilda_colors.png differ
Files old/tilda-tilda-1.3.0/images/tilda_general-16-9.png and new/tilda-tilda-1.3.3/images/tilda_general-16-9.png differ
Files old/tilda-tilda-1.3.0/images/tilda_general-16:9.png and new/tilda-tilda-1.3.3/images/tilda_general-16:9.png differ
Files old/tilda-tilda-1.3.0/images/tilda_general.png and new/tilda-tilda-1.3.3/images/tilda_general.png differ
Files old/tilda-tilda-1.3.0/images/tilda_keybindings-16-9.png and new/tilda-tilda-1.3.3/images/tilda_keybindings-16-9.png differ
Files old/tilda-tilda-1.3.0/images/tilda_keybindings-16:9.png and new/tilda-tilda-1.3.3/images/tilda_keybindings-16:9.png differ
Files old/tilda-tilda-1.3.0/images/tilda_keybindings.png and new/tilda-tilda-1.3.3/images/tilda_keybindings.png differ
Files old/tilda-tilda-1.3.0/images/tilda_title_&_command-16:9.png and new/tilda-tilda-1.3.3/images/tilda_title_&_command-16:9.png differ
Files old/tilda-tilda-1.3.0/images/tilda_title_and_command-16-9.png and new/tilda-tilda-1.3.3/images/tilda_title_and_command-16-9.png differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/src/key_grabber.c new/tilda-tilda-1.3.3/src/key_grabber.c
--- old/tilda-tilda-1.3.0/src/key_grabber.c 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/src/key_grabber.c 2016-04-18 14:09:55.000000000 +0200
@@ -154,10 +154,10 @@
DEBUG_FUNCTION ("tilda_window_set_active");
DEBUG_ASSERT (tw != NULL);
- Display *x11_display = GDK_WINDOW_XDISPLAY (gtk_widget_get_window (tw->window) );
- Window x11_window = GDK_WINDOW_XID (gtk_widget_get_window (tw->window) );
- Window x11_root_window = GDK_WINDOW_XID ( gtk_widget_get_root_window (tw->window) );
GdkScreen *screen = gtk_widget_get_screen (tw->window);
+ Display *x11_display = GDK_WINDOW_XDISPLAY (gdk_screen_get_root_window (screen));
+ Window x11_window = GDK_WINDOW_XID (gtk_widget_get_window (tw->window) );
+ Window x11_root_window = GDK_WINDOW_XID ( gdk_screen_get_root_window (screen) );
XEvent event;
long mask = SubstructureRedirectMask | SubstructureNotifyMask;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/src/tilda.c new/tilda-tilda-1.3.3/src/tilda.c
--- old/tilda-tilda-1.3.0/src/tilda.c 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/src/tilda.c 2016-04-18 14:09:55.000000000 +0200
@@ -609,24 +609,60 @@
g_free(new_config_dir);
}
+static void load_application_css () {
+ GtkCssProvider *provider;
+ const gchar* style;
+ GError *error;
+
+ provider = gtk_css_provider_new ();
+
+ gtk_style_context_add_provider_for_screen (gdk_screen_get_default (),
+ GTK_STYLE_PROVIDER (provider),
+ GTK_STYLE_PROVIDER_PRIORITY_USER);
+
+ style = "#search{background:#fff;}";
+ error = NULL;
+ gtk_css_provider_load_from_data (provider, style, -1, &error);
+
+ if (error) {
+ g_print ("Error %s\n", error->message);
+ g_error_free (error);
+ }
+}
+
static void load_custom_css_file () {
GtkCssProvider *provider;
- char* cssfilename = g_build_filename(
- g_get_user_config_dir (), "tilda", "style.css", NULL);
- if (g_file_test (cssfilename, G_FILE_TEST_EXISTS)) {
- g_print (_("Found style.css in the user config directory, "
- "applying user css style.\n"));
- provider = gtk_css_provider_new ();
- gtk_style_context_add_provider_for_screen (
- gdk_screen_get_default(),
- GTK_STYLE_PROVIDER(provider),
- GTK_STYLE_PROVIDER_PRIORITY_USER
- );
- GFile *cssfile = g_file_new_for_path (cssfilename);
- gtk_css_provider_load_from_file (GTK_CSS_PROVIDER (provider),
- cssfile, NULL);
- g_object_unref (cssfile);
+ GFile *file;
+ GError *error;
+ gchar *filename;
+
+ filename = g_build_filename (g_get_user_config_dir (),
+ "tilda", "style.css", NULL);
+
+ if (!g_file_test (filename, G_FILE_TEST_EXISTS))
+ return;
+
+ g_print (_("Found style.css in the user config directory, "
+ "applying user css style.\n"));
+
+ provider = gtk_css_provider_new ();
+
+ gtk_style_context_add_provider_for_screen (gdk_screen_get_default(),
+ GTK_STYLE_PROVIDER(provider),
+ GTK_STYLE_PROVIDER_PRIORITY_USER);
+
+
+ file = g_file_new_for_path (filename);
+ error = NULL;
+ gtk_css_provider_load_from_file (provider, file, &error);
+
+ if (error) {
+ g_print ("Error: %s", error->message);
+ g_error_free (error);
}
+
+ g_object_unref (file);
+ g_free (filename);
}
int main (int argc, char *argv[])
@@ -741,6 +777,7 @@
gtk_widget_destroy(dialog);
}
+ load_application_css ();
load_custom_css_file ();
/* create new tilda_window */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/src/tilda_terminal.c new/tilda-tilda-1.3.3/src/tilda_terminal.c
--- old/tilda-tilda-1.3.0/src/tilda_terminal.c 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/src/tilda_terminal.c 2016-04-18 14:09:55.000000000 +0200
@@ -868,7 +868,7 @@
DEBUG_FUNCTION ("menu_fullscreen_cb");
DEBUG_ASSERT (user_data != NULL);
- toggle_searchbar_cb (TILDA_WINDOW(user_data));
+ tilda_window_toggle_searchbar (TILDA_WINDOW(user_data));
}
static void
@@ -882,13 +882,12 @@
tilda_window_close_current_tab (TILDA_WINDOW(user_data));
}
-static void on_popup_hide (GtkWidget *widget, gpointer data)
+static void on_popup_hide (GtkWidget *widget, tilda_window *tw)
{
DEBUG_FUNCTION("on_popup_hide");
DEBUG_ASSERT(widget != NULL);
- DEBUG_ASSERT(data != NULL);
+ DEBUG_ASSERT(tw != NULL);
- tilda_window *tw = TILDA_WINDOW(data);
tw->disable_auto_hide = FALSE;
}
@@ -995,7 +994,6 @@
/* Display the menu */
gtk_menu_popup (GTK_MENU(menu), NULL, NULL, NULL, NULL, 3, gtk_get_current_event_time());
- gtk_widget_show_all(menu);
}
static int button_press_cb (G_GNUC_UNUSED GtkWidget *widget, GdkEventButton *event, gpointer data)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/src/tilda_window.c new/tilda-tilda-1.3.3/src/tilda_window.c
--- old/tilda-tilda-1.3.0/src/tilda_window.c 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/src/tilda_window.c 2016-04-18 14:09:55.000000000 +0200
@@ -199,7 +199,7 @@
#endif
}
-gint toggle_searchbar_cb (tilda_window *tw)
+gint tilda_window_toggle_searchbar (tilda_window *tw)
{
DEBUG_FUNCTION ("toggle_searbar");
DEBUG_ASSERT (tw != NULL);
@@ -319,15 +319,18 @@
int num_pages;
int current_page;
+ GtkNotebook *notebook;
+
+ notebook = GTK_NOTEBOOK (tw->notebook);
/* If we are on the last page, go to first page */
- num_pages = gtk_notebook_get_n_pages (GTK_NOTEBOOK (tw->notebook));
- current_page = gtk_notebook_get_current_page (GTK_NOTEBOOK (tw->notebook));
+ num_pages = gtk_notebook_get_n_pages (notebook);
+ current_page = gtk_notebook_get_current_page (notebook);
if ((num_pages - 1) == current_page)
- gtk_notebook_set_current_page (GTK_NOTEBOOK (tw->notebook), 0);
+ gtk_notebook_set_current_page (notebook, 0);
else
- gtk_notebook_next_page (GTK_NOTEBOOK (tw->notebook));
+ gtk_notebook_next_page (notebook);
// It worked. Having this return GDK_EVENT_STOP makes the callback not carry the
// keystroke into the vte terminal widget.
@@ -341,14 +344,17 @@
int num_pages;
int current_page;
+ GtkNotebook *notebook;
+
+ notebook = GTK_NOTEBOOK (tw->notebook);
- num_pages = gtk_notebook_get_n_pages (GTK_NOTEBOOK (tw->notebook));
- current_page = gtk_notebook_get_current_page (GTK_NOTEBOOK (tw->notebook));
+ num_pages = gtk_notebook_get_n_pages (notebook);
+ current_page = gtk_notebook_get_current_page (notebook);
if (current_page == 0)
- gtk_notebook_set_current_page (GTK_NOTEBOOK (tw->notebook), (num_pages -1));
+ gtk_notebook_set_current_page (notebook, (num_pages - 1));
else
- gtk_notebook_prev_page (GTK_NOTEBOOK (tw->notebook));
+ gtk_notebook_prev_page (notebook);
// It worked. Having this return GDK_EVENT_STOP makes the callback not carry the
// keystroke into the vte terminal widget.
@@ -366,19 +372,21 @@
int current_page_index;
int new_page_index;
GtkWidget* current_page;
+ GtkNotebook* notebook;
+
+ notebook = GTK_NOTEBOOK (tw->notebook);
- num_pages = gtk_notebook_get_n_pages (GTK_NOTEBOOK (tw->notebook));
+ num_pages = gtk_notebook_get_n_pages (notebook);
if (num_pages > 1) {
- current_page_index = gtk_notebook_get_current_page (GTK_NOTEBOOK (tw->notebook));
- current_page = gtk_notebook_get_nth_page (GTK_NOTEBOOK (tw->notebook),
+ current_page_index = gtk_notebook_get_current_page (notebook);
+ current_page = gtk_notebook_get_nth_page (notebook,
current_page_index);
/* wrap over if new_page_index over-/underflows */
new_page_index = (current_page_index + direction) % num_pages;
- gtk_notebook_reorder_child (GTK_NOTEBOOK (tw->notebook), current_page,
- new_page_index);
+ gtk_notebook_reorder_child (notebook, current_page, new_page_index);
}
// It worked. Having this return GDK_EVENT_STOP makes the callback not carry the
@@ -665,7 +673,7 @@
tilda_add_config_accelerator_by_path("fullscreen_key", "<tilda>/context/Toggle Fullscreen", G_CALLBACK(toggle_fullscreen_cb), tw);
tilda_add_config_accelerator_by_path("quit_key", "<tilda>/context/Quit", G_CALLBACK(gtk_main_quit), tw);
tilda_add_config_accelerator_by_path("toggle_transparency_key", "<tilda>/context/Toggle Transparency", G_CALLBACK(toggle_transparency_cb), tw);
- tilda_add_config_accelerator_by_path("toggle_searchbar_key", "<tilda>/context/Toggle Searchbar", G_CALLBACK(toggle_searchbar_cb), tw);
+ tilda_add_config_accelerator_by_path("toggle_searchbar_key", "<tilda>/context/Toggle Searchbar", G_CALLBACK(tilda_window_toggle_searchbar), tw);
tilda_add_config_accelerator_by_path("nexttab_key", "<tilda>/context/Next Tab", G_CALLBACK(tilda_window_next_tab), tw);
tilda_add_config_accelerator_by_path("prevtab_key", "<tilda>/context/Previous Tab", G_CALLBACK(tilda_window_prev_tab), tw);
@@ -756,12 +764,12 @@
g_regex_unref(regex);
}
-static void tilda_window_search_forward_cb (GtkButton *button, tilda_window *tw) {
+static void tilda_window_search_forward_cb (GtkWidget *button, tilda_window *tw) {
/* The default is to search forward */
tilda_window_search (button, tw, FALSE);
}
-static void tilda_window_search_backward_cb (GtkButton *button, tilda_window *tw) {
+static void tilda_window_search_backward_cb (GtkWidget *button, tilda_window *tw) {
tilda_window_search (button, tw, TRUE);
}
@@ -826,6 +834,8 @@
tilda_search *search = malloc(sizeof(tilda_search));
search->search_box = GTK_WIDGET(gtk_builder_get_object (gtk_builder, "search_box"));
+ gtk_widget_set_name (GTK_WIDGET (search->search_box), "search");
+
DEBUG_ASSERT(search->search_box != NULL);
search->button_next = GTK_WIDGET (gtk_builder_get_object (gtk_builder, "button_search_next"));
search->button_prev = GTK_WIDGET (gtk_builder_get_object (gtk_builder, "button_search_prev"));
@@ -849,17 +859,18 @@
guint page_num,
tilda_window *tw) {
DEBUG_FUNCTION ("page_reordered_cb");
- GList *terms = tw->terms;
+ GList *terminals;
+ tilda_term *tilda_term;
+ guint i;
- /* We use the VteTerminal pointer relative to the current tab's child widget to find the correct
- * tilda_term structure in the list of terminals. The assumption here is, that the VteTerminal
- * is either the first or second widget in the container (depending on the location of the scrollbar) */
- for (GList *item = terms; item != NULL; item = item->next) {
- tilda_term *current_term = item->data;
- if (current_term->hbox == child) {
- terms = g_list_remove (terms, current_term);
- terms = g_list_insert (terms, current_term, page_num);
- tw->terms = terms;
+ terminals = tw->terms;
+
+ for (i = 0; i < g_list_length (terminals); i++)
+ {
+ tilda_term = g_list_nth_data (terminals, i);
+ if (tilda_term->hbox == child) {
+ terminals = g_list_remove (terminals, tilda_term);
+ tw->terms = g_list_insert (terminals, tilda_term, page_num);
break;
}
}
@@ -938,6 +949,8 @@
tilda_window_set_icon (tw, g_build_filename (DATADIR, "pixmaps", "tilda.png", NULL));
tilda_window_setup_alpha_mode (tw);
+ gtk_widget_set_app_paintable (GTK_WIDGET (tw->window), TRUE);
+
/* Add keyboard accelerators */
tw->accel_group = NULL; /* We can redefine the accelerator group from the wizard; this shows that it's our first time defining it. */
tilda_window_setup_keyboard_accelerators (tw);
@@ -1180,5 +1193,5 @@
/* Free the terminal, we are done with it */
tilda_term_free (tt);
- return 0;
+ return TRUE;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/src/tilda_window.h new/tilda-tilda-1.3.3/src/tilda_window.h
--- old/tilda-tilda-1.3.0/src/tilda_window.h 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/src/tilda_window.h 2016-04-18 14:09:55.000000000 +0200
@@ -190,6 +190,11 @@
*/
void tilda_window_toggle_transparency(tilda_window *tw);
+/**
+ * Toggles the search bar of the tilda window.
+ */
+gint tilda_window_toggle_searchbar (tilda_window *tw);
+
#define TILDA_WINDOW(data) ((tilda_window *)(data))
/* Allow scales a bit smaller and a bit larger than the usual pango ranges */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/src/wizard.c new/tilda-tilda-1.3.3/src/wizard.c
--- old/tilda-tilda-1.3.0/src/wizard.c 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/src/wizard.c 2016-04-18 14:09:55.000000000 +0200
@@ -305,7 +305,7 @@
window_title = g_strdup_printf (_("Tilda %d Config"), tw->instance);
gtk_window_set_title (GTK_WINDOW(tw->wizard_window), window_title);
- gtk_window_set_keep_above (GTK_WINDOW(tw->wizard_window), TRUE);
+ gtk_window_set_type_hint (GTK_WINDOW(tw->wizard_window), GDK_WINDOW_TYPE_HINT_DIALOG);
gtk_widget_show_all (tw->wizard_window);
@@ -1788,6 +1788,9 @@
color_button =
GTK_WIDGET (gtk_builder_get_object (xml, "colorbutton_back"));
gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER(color_button), &bg);
+#ifndef VTE_290
+ bg.alpha = (config_getbool("enable_transparency") ? GUINT16_TO_FLOAT(config_getint ("back_alpha")) : 1.0);
+#endif
memcpy(current_palette, palette_schemes[i].palette, sizeof(current_palette));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tilda-tilda-1.3.0/tilda.appdata.xml new/tilda-tilda-1.3.3/tilda.appdata.xml
--- old/tilda-tilda-1.3.0/tilda.appdata.xml 2015-11-17 21:19:50.000000000 +0100
+++ new/tilda-tilda-1.3.3/tilda.appdata.xml 2016-04-18 14:09:55.000000000 +0200
@@ -17,17 +17,25 @@
</description>
<screenshots>
<screenshot>
- <image type="default">https://raw.githubusercontent.com/lanoxx/tilda/a2fdd288ae244ee28061c2c03691…</image>
+ <image type="default">https://raw.githubusercontent.com/lanoxx/tilda/20489575e27852b58aa4c734998b…</image>
<caption>General options</caption>
</screenshot>
- <screenshot>
- <image>https://raw.githubusercontent.com/lanoxx/tilda/a2fdd288ae244ee28061c2c03691…</image>
+ <screenshot>
+ <image>https://raw.githubusercontent.com/lanoxx/tilda/20489575e27852b58aa4c734998b…</image>
<caption>Appearance options</caption>
</screenshot>
- <screenshot>
- <image>https://raw.githubusercontent.com/lanoxx/tilda/a2fdd288ae244ee28061c2c03691…</image>
+ <screenshot>
+ <image>https://raw.githubusercontent.com/lanoxx/tilda/20489575e27852b58aa4c734998b…</image>
<caption>Keybinding options</caption>
</screenshot>
+ <screenshot>
+ <image>https://raw.githubusercontent.com/lanoxx/tilda/20489575e27852b58aa4c734998b…</image>
+ <caption>Title and Command options</caption>
+ </screenshot>
+ <screenshot>
+ <image>https://raw.githubusercontent.com/lanoxx/tilda/20489575e27852b58aa4c734998b…</image>
+ <caption>Title and Command options</caption>
+ </screenshot>
</screenshots>
<url type="homepage">https://github.com/lanoxx/tilda</url>
<updatecontact>lanoxx_at_gmx.net</updatecontact>
1
0
Hello community,
here is the log from the commit of package lynis for openSUSE:Factory checked in at 2016-09-30 15:33:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lynis (Old)
and /work/SRC/openSUSE:Factory/.lynis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lynis"
Changes:
--------
--- /work/SRC/openSUSE:Factory/lynis/lynis.changes 2016-09-24 15:29:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lynis.new/lynis.changes 2016-09-30 15:33:37.000000000 +0200
@@ -1,0 +2,10 @@
+Wed Sep 28 11:45:44 UTC 2016 - astieger(a)suse.com
+
+- lynis 2.3.4 with various improvements, including:
+ * Several tests have extended log details
+ * Detection of nftables improved
+ * Replaced cut, sed, tr and others commands with binary variable
+ (for forensics and future intrusion checking capabilities)
+ * OS detection improved
+
+-------------------------------------------------------------------
Old:
----
lynis-2.3.3.tar.gz
lynis-2.3.3.tar.gz.asc
New:
----
lynis-2.3.4.tar.gz
lynis-2.3.4.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lynis.spec ++++++
--- /var/tmp/diff_new_pack.y6aCqF/_old 2016-09-30 15:33:39.000000000 +0200
+++ /var/tmp/diff_new_pack.y6aCqF/_new 2016-09-30 15:33:39.000000000 +0200
@@ -24,7 +24,7 @@
%define _dbdir %{_datadir}/lynis/db
%define _bindir %{_prefix}/bin
Name: lynis
-Version: 2.3.3
+Version: 2.3.4
Release: 0
Summary: Security and System auditing tool
License: GPL-3.0
++++++ lynis-2.3.3.tar.gz -> lynis-2.3.4.tar.gz ++++++
++++ 8538 lines of diff (skipped)
++++++ lynis_1.3.1_include_consts.diff ++++++
--- /var/tmp/diff_new_pack.y6aCqF/_old 2016-09-30 15:33:39.000000000 +0200
+++ /var/tmp/diff_new_pack.y6aCqF/_new 2016-09-30 15:33:39.000000000 +0200
@@ -1,10 +1,10 @@
Index: include/consts
===================================================================
---- include/consts.orig 2016-08-23 02:00:00.000000000 +0200
-+++ include/consts 2016-09-15 15:04:08.947048290 +0200
-@@ -87,6 +87,7 @@ unset LANG
- ECHOCMD=""
+--- include/consts.orig 2016-09-27 02:00:00.000000000 +0200
++++ include/consts 2016-09-28 13:45:00.011142735 +0200
+@@ -95,6 +95,7 @@ unset LANG
ERROR_ON_WARNINGS=0
+ FILEBINARY=""
FILEVALUE=""
+ FILE_NUM_TOTAL=0
FIND=""
++++++ lynis_1.3.6_include-osdetection.diff ++++++
--- /var/tmp/diff_new_pack.y6aCqF/_old 2016-09-30 15:33:39.000000000 +0200
+++ /var/tmp/diff_new_pack.y6aCqF/_new 2016-09-30 15:33:39.000000000 +0200
@@ -1,13 +1,13 @@
Index: include/osdetection
===================================================================
---- include/osdetection.orig 2016-09-15 15:04:30.519264684 +0200
-+++ include/osdetection 2016-09-15 15:05:13.115691924 +0200
-@@ -316,7 +316,7 @@
- OS_NAME="${LINUX_VERSION}"
- fi
- # If Linux version (full name) is unknown, use uname value
-- if [ "${OS_FULLNAME}" = "" ]; then OS_FULLNAME=$(uname -s -r); fi
-+ #if [ "${OS_FULLNAME}" = "" ]; then OS_FULLNAME=$(uname -s -r); fi
- SYSCTL_READKEY="sysctl -n"
-
+--- include/osdetection.orig 2016-09-28 13:47:58.244742090 +0200
++++ include/osdetection 2016-09-28 13:48:40.089118005 +0200
+@@ -321,7 +321,7 @@
+ OS_NAME="${LINUX_VERSION}"
+ fi
+ # If Linux version (full name) is unknown, use uname value
+- if [ "${OS_FULLNAME}" = "" ]; then OS_FULLNAME=$(uname -s -r); fi
++ #if [ "${OS_FULLNAME}" = "" ]; then OS_FULLNAME=$(uname -s -r); fi
+ SYSCTL_READKEY="sysctl -n"
;;
+
1
0
Hello community,
here is the log from the commit of package ntl for openSUSE:Factory checked in at 2016-09-30 15:33:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ntl (Old)
and /work/SRC/openSUSE:Factory/.ntl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ntl"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ntl/ntl.changes 2016-08-05 18:16:21.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ntl.new/ntl.changes 2016-09-30 15:33:34.000000000 +0200
@@ -1,0 +2,11 @@
+Wed Sep 21 09:18:05 UTC 2016 - jengelh(a)inai.de
+
+- Update to new upstream release 9.11.0
+* Improved the effectiveness of the new, faster ZZ to
+ zz_p conversion
+* Added new routines VectorConv for faster bulk conversion from ZZ
+ and long to zz_p
+* Added new routines VectorRandomBnd (see ZZ.txt) and VectorRandom
+ for faster bulk random number generation.
+
+-------------------------------------------------------------------
Old:
----
ntl-9.10.0.tar.gz
New:
----
ntl-9.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ntl.spec ++++++
--- /var/tmp/diff_new_pack.M4mJ2f/_old 2016-09-30 15:33:36.000000000 +0200
+++ /var/tmp/diff_new_pack.M4mJ2f/_new 2016-09-30 15:33:36.000000000 +0200
@@ -17,8 +17,8 @@
Name: ntl
-%define lname libntl28
-Version: 9.10.0
+%define lname libntl29
+Version: 9.11.0
Release: 0
Summary: Library for Number Theory
License: GPL-2.0+
++++++ ntl-9.10.0.tar.gz -> ntl-9.11.0.tar.gz ++++++
++++ 1830 lines of diff (skipped)
++++++ ntl-automake.diff ++++++
--- /var/tmp/diff_new_pack.M4mJ2f/_old 2016-09-30 15:33:37.000000000 +0200
+++ /var/tmp/diff_new_pack.M4mJ2f/_new 2016-09-30 15:33:37.000000000 +0200
@@ -271,7 +271,7 @@
+lib_LTLIBRARIES = libntl.la
+
+# cf. "VERSION_INFO" file
-+libntl_la_LDFLAGS = -version-info 28:0:0 -no-undefined
++libntl_la_LDFLAGS = -version-info 29:0:0 -no-undefined
+libntl_la_LIBADD = -lm -lpthread
+if WITH_GMP
+libntl_la_LIBADD += -lgmp
1
0
commit enlightenment-theme-openSUSE-oliveleaf for openSUSE:Factory
by root@hilbert.suse.de 30 Sep '16
by root@hilbert.suse.de 30 Sep '16
30 Sep '16
Hello community,
here is the log from the commit of package enlightenment-theme-openSUSE-oliveleaf for openSUSE:Factory checked in at 2016-09-30 15:33:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/enlightenment-theme-openSUSE-oliveleaf (Old)
and /work/SRC/openSUSE:Factory/.enlightenment-theme-openSUSE-oliveleaf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "enlightenment-theme-openSUSE-oliveleaf"
Changes:
--------
--- /work/SRC/openSUSE:Factory/enlightenment-theme-openSUSE-oliveleaf/enlightenment-theme-openSUSE-oliveleaf.changes 2016-03-16 10:36:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.enlightenment-theme-openSUSE-oliveleaf.new/enlightenment-theme-openSUSE-oliveleaf.changes 2016-09-30 15:33:29.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Sep 28 08:59:54 UTC 2016 - sflees(a)suse.de
+
+- Update to new building version 20160922
+
+-------------------------------------------------------------------
Old:
----
enlightenment-theme-openSUSE-oliveleaf-20160314.tar.xz
New:
----
enlightenment-theme-openSUSE-oliveleaf-20160922.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ enlightenment-theme-openSUSE-oliveleaf.spec ++++++
--- /var/tmp/diff_new_pack.Da9yXS/_old 2016-09-30 15:33:33.000000000 +0200
+++ /var/tmp/diff_new_pack.Da9yXS/_new 2016-09-30 15:33:33.000000000 +0200
@@ -17,7 +17,7 @@
Name: enlightenment-theme-openSUSE-oliveleaf
-Version: 20160314
+Version: 20160922
Release: 0
Summary: Enlightenment theme from openSUSE 13.1
License: BSD-2-Clause and LGPL-2.1 and CC-BY-SA-3.0
++++++ enlightenment-theme-openSUSE-oliveleaf-20160314.tar.xz -> enlightenment-theme-openSUSE-oliveleaf-20160922.tar.xz ++++++
/work/SRC/openSUSE:Factory/enlightenment-theme-openSUSE-oliveleaf/enlightenment-theme-openSUSE-oliveleaf-20160314.tar.xz /work/SRC/openSUSE:Factory/.enlightenment-theme-openSUSE-oliveleaf.new/enlightenment-theme-openSUSE-oliveleaf-20160922.tar.xz differ: char 25, line 1
1
0