]>
granicus.if.org Git - zziplib/log
Patrick Steinhardt [Wed, 22 May 2019 19:22:01 +0000 (21:22 +0200)]
test: basestring compatibility with Python 3
In Python 2, strings were represented by the class basestring, which has
been removed in Python 3 in favor of the str class. To keep
compatibility with both versions of Python, let's alias basestring to
str if basestring is not available.
Patrick Steinhardt [Wed, 22 May 2019 19:21:43 +0000 (21:21 +0200)]
test: use Python3-compatible way to specify octal numbers
Support for zero-prefixed octal numbers ("0755") has been removed in
Python 3 in favor of the zero-oh-prefix ("0o755"). As the latter has
been introduced in Python 2.6, we can safely switch all occurrences of
the former with the new way to improve compatibility with Python 3.
Patrick Steinhardt [Wed, 22 May 2019 19:21:34 +0000 (21:21 +0200)]
test: avoid use of xrange for compatibility
Back in Python 2 days, there were two functions `range` and `xrange`.
While `range` returned a list, `xrange` would return a generator and
thus be the more efficient variant if a big range needs to be handled.
With Python 3, the `xrange` function was removed in favor of always
returning a generator for `range`.
Convert all uses of `xrange` to `range`. While this may be less
efficient in some places for old Python versions, their support is going
to be dropped in 2020 anyway. Also, `xrange` is only ever used in the
test suite.
Patrick Steinhardt [Wed, 22 May 2019 19:21:16 +0000 (21:21 +0200)]
test: StringIO compatibility with Python 3
With Python 3, StringIO has been moved from the "cStringIO" module to
the "io" module. Use a try-catch block to intercept ImportErrors and
fall back to the new module to support both Python 2 and Python 3.
Patrick Steinhardt [Wed, 22 May 2019 19:20:52 +0000 (21:20 +0200)]
test: urllib compatibility with Python 3
In Python 3, the functions `quote_plus` and `urlretrieve` have been
moved from urllib to urllib.parse and urllib.request, respectively. To
provide compatibility with the old and new module layouts, use a
try-catch block and fall back to the new layout if an ImportError was
raised.
Furthermore, do not hand-code `urlretrieve` functionality with
`urlopen` to avoid additional compatibility issues.
Guido Draheim [Sun, 26 May 2019 11:28:26 +0000 (13:28 +0200)]
azure master/develop
Guido Draheim [Sun, 26 May 2019 11:14:31 +0000 (13:14 +0200)]
publish testresults.xml
Guido Draheim [Sun, 26 May 2019 11:14:21 +0000 (13:14 +0200)]
change testresults.xml
Guido Draheim [Sun, 26 May 2019 11:04:35 +0000 (13:04 +0200)]
xmlresults
Guido Draheim [Sun, 26 May 2019 10:57:11 +0000 (12:57 +0200)]
cmake zziptest
Guido Draheim [Sun, 26 May 2019 10:53:27 +0000 (12:53 +0200)]
cmake ZZIP_PACKAGE_VERSION and NAME
Guido Draheim [Sun, 26 May 2019 10:52:45 +0000 (12:52 +0200)]
replace ZZIP_VERSION/ZZIP_PACKAGE_VERSION ZZIP_PACKAGE/ZZIP_PACKAGE_NAME
Guido Draheim [Sun, 26 May 2019 10:24:15 +0000 (12:24 +0200)]
make check xmlrunner
Guido Draheim [Sun, 26 May 2019 10:12:08 +0000 (12:12 +0200)]
binary-dir for zzip/_config.h
Guido Draheim [Sun, 26 May 2019 10:07:18 +0000 (12:07 +0200)]
try-to-install-sdl
Guido Draheim [Sun, 26 May 2019 10:05:32 +0000 (12:05 +0200)]
try-to-install-sdl
Guido Draheim [Sun, 26 May 2019 10:00:25 +0000 (12:00 +0200)]
try-to-install-sdl
Guido Draheim [Sun, 26 May 2019 09:58:12 +0000 (11:58 +0200)]
try-to-install-sdl
Guido Draheim [Sun, 26 May 2019 09:51:40 +0000 (11:51 +0200)]
try-toinstall-sdl
Guido Draheim [Sun, 26 May 2019 09:49:40 +0000 (11:49 +0200)]
try-to-install-sdl
Guido Draheim [Sun, 26 May 2019 09:47:43 +0000 (11:47 +0200)]
correcting cmake zzipwrap includes
Guido Draheim [Sun, 26 May 2019 09:45:34 +0000 (11:45 +0200)]
verbose-azure
Guido Draheim [Sun, 26 May 2019 09:43:41 +0000 (11:43 +0200)]
correcting cmake zzipwrap includes
Guido Draheim [Sun, 26 May 2019 09:40:38 +0000 (11:40 +0200)]
correcting cmake zzipwrap includes
Guido Draheim [Sun, 26 May 2019 09:02:03 +0000 (11:02 +0200)]
azure cmake
Guido Draheim [Sun, 26 May 2019 08:58:11 +0000 (10:58 +0200)]
azure cmake
Guido Draheim [Sun, 26 May 2019 08:55:19 +0000 (10:55 +0200)]
azure cmake
Guido Draheim [Sun, 26 May 2019 08:52:32 +0000 (10:52 +0200)]
Merge branch 'master' into develop
Guido Draheim [Sun, 26 May 2019 08:45:51 +0000 (10:45 +0200)]
Merge branch 'master' of github.com:gdraheim/zziplib
Guido Draheim [Sun, 26 May 2019 08:45:41 +0000 (10:45 +0200)]
azure classic
Guido U. Draheim [Sun, 26 May 2019 08:40:18 +0000 (10:40 +0200)]
Set up CI with Azure Pipelines
develop [skip ci]
Guido Draheim [Sun, 26 May 2019 08:39:05 +0000 (10:39 +0200)]
azure
Guido U. Draheim [Sun, 26 May 2019 08:33:52 +0000 (10:33 +0200)]
Set up CI with Azure Pipelines
configure && cd build && make [skip ci]
Guido U. Draheim [Sun, 14 Oct 2018 11:58:11 +0000 (13:58 +0200)]
Merge pull request #65 from jmoellers/bins-code-cleanup
Bins code cleanup
Guido U. Draheim [Sun, 14 Oct 2018 11:57:08 +0000 (13:57 +0200)]
Merge pull request #64 from jmoellers/testcase-CVE-2018-17828
Added test case for CVE-2018-17828.
Josef Moellers [Fri, 12 Oct 2018 14:45:47 +0000 (16:45 +0200)]
Code cleanup in "bins".
Josef Moellers [Wed, 10 Oct 2018 15:14:20 +0000 (17:14 +0200)]
Added test case for CVE-2018-17828.
Guido U. Draheim [Thu, 4 Oct 2018 13:11:27 +0000 (15:11 +0200)]
Merge pull request #63 from jmoellers/CVE-2018-17828
Fix issue #62
Josef Moellers [Thu, 4 Oct 2018 12:21:48 +0000 (14:21 +0200)]
Fix issue #62: Remove any "../" components from pathnames of extracted files.
[CVE-2018-17828]
Guido Draheim [Sun, 16 Sep 2018 21:00:09 +0000 (23:00 +0200)]
adding alocal/zziplib.m4 install
Guido Draheim [Sun, 16 Sep 2018 20:22:23 +0000 (22:22 +0200)]
one more bins/unzip-mem
Guido Draheim [Sun, 16 Sep 2018 19:19:49 +0000 (21:19 +0200)]
correct test_90000 to work without libtool (but cmake)
Guido Draheim [Sun, 16 Sep 2018 18:47:53 +0000 (20:47 +0200)]
adjust result sizes of zziptests
Guido Draheim [Sun, 16 Sep 2018 18:41:05 +0000 (20:41 +0200)]
skip test_6545x as the test.zip was only provided by mail
Guido Draheim [Sun, 16 Sep 2018 18:27:28 +0000 (20:27 +0200)]
need to ensure that test0.zip is built
Guido Draheim [Sun, 16 Sep 2018 18:17:29 +0000 (20:17 +0200)]
need to always set LANGUAGES to avoid c++ checks
Guido Draheim [Sun, 16 Sep 2018 13:02:02 +0000 (15:02 +0200)]
make an explicit ZZIPLIBTOOL compatibility flag to highlight the feature
Guido Draheim [Sun, 16 Sep 2018 12:53:34 +0000 (14:53 +0200)]
derive VERNUM from PROJECT_VERSION_MINOR and set FIXNUM only where it is used for add_library(VERSION) settings
Guido Draheim [Sun, 16 Sep 2018 12:36:12 +0000 (14:36 +0200)]
set project(VERSION) and reference PROJECT_VERSION after that
Guido Draheim [Sun, 16 Sep 2018 12:18:39 +0000 (14:18 +0200)]
generated and install pkgconfig files
Guido Draheim [Sat, 15 Sep 2018 19:13:29 +0000 (21:13 +0200)]
create symlinks to librelease which cmake does not do itself
Guido Draheim [Sat, 15 Sep 2018 18:27:26 +0000 (20:27 +0200)]
use RELEASE_POSTFIX to add the RELNUM to libraries
Guido Draheim [Sat, 15 Sep 2018 14:51:46 +0000 (16:51 +0200)]
add largefile support detection
Guido Draheim [Sat, 15 Sep 2018 12:55:13 +0000 (14:55 +0200)]
generate and install ZZIPCOMPAT headers
Guido Draheim [Sat, 15 Sep 2018 12:19:01 +0000 (14:19 +0200)]
- cleanup
Guido Draheim [Sat, 15 Sep 2018 12:14:27 +0000 (14:14 +0200)]
actually do install libzzipwrap, and move options to topdir
Guido Draheim [Sat, 15 Sep 2018 12:10:44 +0000 (14:10 +0200)]
add missing /usr/include/zzip headers to cmake install()
Guido Draheim [Sat, 15 Sep 2018 11:44:04 +0000 (13:44 +0200)]
if not relnum
Guido Draheim [Sat, 15 Sep 2018 11:41:42 +0000 (13:41 +0200)]
more .gitignore
Guido Draheim [Sat, 15 Sep 2018 11:39:54 +0000 (13:39 +0200)]
move build of libzzip from topdir into zzip/
Guido Draheim [Sat, 15 Sep 2018 01:51:16 +0000 (03:51 +0200)]
evaulate checks
Guido Draheim [Sat, 15 Sep 2018 01:42:22 +0000 (03:42 +0200)]
and add 'make checks'
Guido Draheim [Sat, 15 Sep 2018 00:57:43 +0000 (02:57 +0200)]
migrate rules for xmlto pdf and make site
Guido Draheim [Fri, 14 Sep 2018 23:20:51 +0000 (01:20 +0200)]
PythonInterp and UnixCommands for portability
Guido Draheim [Fri, 14 Sep 2018 22:21:48 +0000 (00:21 +0200)]
make htmpages
Guido Draheim [Fri, 14 Sep 2018 21:18:47 +0000 (23:18 +0200)]
add docs/CMakeLists.txt to generate manpages.tar and to install man/man3 pages
Guido Draheim [Fri, 14 Sep 2018 17:37:31 +0000 (19:37 +0200)]
add test/CMakeLists.txt including special 'make sfx' command
Guido Draheim [Fri, 14 Sep 2018 16:32:07 +0000 (18:32 +0200)]
make subdir libs&bins to depend on toplevel libzzip via cmake targets
Guido Draheim [Fri, 14 Sep 2018 16:21:24 +0000 (18:21 +0200)]
refere to gnu bindir
Guido Draheim [Fri, 14 Sep 2018 15:56:24 +0000 (17:56 +0200)]
add base makefile targets
Guido Draheim [Fri, 14 Sep 2018 15:25:01 +0000 (17:25 +0200)]
add bins/CMakeLists.txt and adjust libzzip imports
Guido Draheim [Fri, 14 Sep 2018 13:48:35 +0000 (15:48 +0200)]
add SDL/CMakeLists.txt and make ZZIPWRAP / ZZIPSDL options
Guido Draheim [Fri, 14 Sep 2018 13:09:49 +0000 (15:09 +0200)]
adding zzipwrap/CMakeLists.txt
Guido Draheim [Fri, 14 Sep 2018 11:26:28 +0000 (13:26 +0200)]
make ZZIPMMAPPED and ZZIPFSEEKO optional builds
Guido Draheim [Fri, 14 Sep 2018 03:37:18 +0000 (05:37 +0200)]
correcting to detect the source *.so.x lib
Guido Draheim [Fri, 14 Sep 2018 03:33:59 +0000 (05:33 +0200)]
adapt libversion detection
Guido Draheim [Fri, 14 Sep 2018 03:32:42 +0000 (05:32 +0200)]
align naming to automake release_info / version_info tags as RELNUM/VERNUM
Guido Draheim [Fri, 14 Sep 2018 00:57:49 +0000 (02:57 +0200)]
make static
Guido Draheim [Thu, 13 Sep 2018 23:54:10 +0000 (01:54 +0200)]
make it
Guido Draheim [Thu, 13 Sep 2018 23:49:05 +0000 (01:49 +0200)]
breaking down VERSION to APIVERSION+RELVERSION, and make symlinks for the old releases as it was for automake's libtool
Guido Draheim [Thu, 13 Sep 2018 18:13:36 +0000 (20:13 +0200)]
install zzipfseeko and libzzipmmapped as well
Guido Draheim [Thu, 13 Sep 2018 18:10:16 +0000 (20:10 +0200)]
use GNUInstallDirs to install to /lib64 by default
Guido Draheim [Thu, 13 Sep 2018 17:28:01 +0000 (19:28 +0200)]
start Makefile for other build targets
Guido Draheim [Thu, 13 Sep 2018 17:25:50 +0000 (19:25 +0200)]
we can default to building sharedlibs in cmake
Guido Draheim [Thu, 13 Sep 2018 17:08:53 +0000 (19:08 +0200)]
an explict '-Wdeclaration-after-statement' defeats the ifdef-c99 detection adding the '___' blocks
Guido Draheim [Thu, 13 Sep 2018 17:07:07 +0000 (19:07 +0200)]
include zzip/zzip32.h to avoid some missing-declaration warnings
Guido Draheim [Thu, 13 Sep 2018 17:06:35 +0000 (19:06 +0200)]
cmake - use target_include_directories
Guido U. Draheim [Thu, 13 Sep 2018 16:28:17 +0000 (18:28 +0200)]
Merge pull request #55 from paroj/master
add basic CMake based build .... but first on /develop to have it extended.
Guido U. Draheim [Thu, 13 Sep 2018 09:49:21 +0000 (11:49 +0200)]
Merge pull request #57 from tgurr/pkg-config
do not hardcode the pkg-config command
Guido U. Draheim [Fri, 7 Sep 2018 12:10:55 +0000 (14:10 +0200)]
Merge pull request #60 from jmoellers/master
One more free() to avoid memory leak.
jmoellers [Fri, 7 Sep 2018 11:55:35 +0000 (13:55 +0200)]
One more free() to avoid memory leak.
Guido U. Draheim [Fri, 7 Sep 2018 10:04:15 +0000 (12:04 +0200)]
Merge pull request #59 from jmoellers/master
Avoid memory leak from __zzip_parse_root_directory().
jmoellers [Fri, 7 Sep 2018 09:49:28 +0000 (11:49 +0200)]
Avoid memory leak from __zzip_parse_root_directory().
jmoellers [Fri, 7 Sep 2018 09:32:04 +0000 (11:32 +0200)]
Avoid memory leak from __zzip_parse_root_directory().
Timo Gurr [Fri, 17 Aug 2018 10:54:15 +0000 (12:54 +0200)]
do not hardcode the pkg-config command
Pavel Rojtberg [Sat, 21 Jul 2018 13:48:23 +0000 (15:48 +0200)]
add basic CMake based build
Guido U. Draheim [Sat, 5 May 2018 09:38:16 +0000 (11:38 +0200)]
Merge pull request #51 from keneanung/FixZzipStrndup
Fix _zzip_strndup if strndup is not available
keneanung [Thu, 26 Apr 2018 08:42:14 +0000 (10:42 +0200)]
Fix _zzip_strndup strndup is not available
Guido U. Draheim [Mon, 26 Mar 2018 10:44:28 +0000 (12:44 +0200)]
Merge pull request #49 from jmoellers/master
zzip_mem_entry_new(): if compressed size is too big, bail out.
Josef Möllers [Mon, 26 Mar 2018 10:27:34 +0000 (12:27 +0200)]
zzip_mem_entry_new(): if compressed size is too big, bail out.