libmspack 0.10.1.2 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/libmspack/ChangeLog +145 -0
- data/ext/libmspack/INSTALL +3 -3
- data/ext/libmspack/Makefile.am +7 -4
- data/ext/libmspack/Makefile.in +265 -147
- data/ext/libmspack/README +3 -2
- data/ext/libmspack/aclocal.m4 +111 -113
- data/ext/libmspack/ar-lib +10 -9
- data/ext/libmspack/compile +9 -8
- data/ext/libmspack/config.guess +887 -613
- data/ext/libmspack/config.h.in +6 -9
- data/ext/libmspack/config.sub +1349 -1260
- data/ext/libmspack/configure +3035 -2490
- data/ext/libmspack/configure.ac +3 -3
- data/ext/libmspack/depcomp +4 -4
- data/ext/libmspack/install-sh +107 -74
- data/ext/libmspack/libmscabd.la +1 -1
- data/ext/libmspack/libmschmd.la +1 -1
- data/ext/libmspack/libmspack.la +1 -1
- data/ext/libmspack/ltmain.sh +156 -61
- data/ext/libmspack/m4/libtool.m4 +19 -12
- data/ext/libmspack/missing +8 -8
- data/ext/libmspack/mspack/cabd.c +21 -19
- data/ext/libmspack/mspack/chm.h +3 -2
- data/ext/libmspack/mspack/chmd.c +137 -57
- data/ext/libmspack/mspack/kwajd.c +29 -29
- data/ext/libmspack/mspack/lzx.h +0 -1
- data/ext/libmspack/mspack/lzxd.c +30 -154
- data/ext/libmspack/mspack/macros.h +64 -0
- data/ext/libmspack/mspack/mszipd.c +7 -18
- data/ext/libmspack/mspack/qtmd.c +3 -5
- data/ext/libmspack/mspack/readbits.h +14 -5
- data/ext/libmspack/mspack/readhuff.h +26 -21
- data/ext/libmspack/mspack/system.c +0 -5
- data/ext/libmspack/mspack/system.h +20 -67
- data/ext/libmspack/test-driver +16 -11
- data/ext/x86_64-linux/libmspack.so +0 -0
- data/ext/x86_64-windows/mspack.dll +0 -0
- data/lib/libmspack/version.rb +1 -1
- metadata +4 -3
data/ext/libmspack/test-driver
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# test-driver - basic testsuite driver script.
|
3
3
|
|
4
|
-
scriptversion=
|
4
|
+
scriptversion=2018-03-07.03; # UTC
|
5
5
|
|
6
|
-
# Copyright (C) 2011-
|
6
|
+
# Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
7
7
|
#
|
8
8
|
# This program is free software; you can redistribute it and/or modify
|
9
9
|
# it under the terms of the GNU General Public License as published by
|
@@ -16,7 +16,7 @@ scriptversion=2013-07-13.22; # UTC
|
|
16
16
|
# GNU General Public License for more details.
|
17
17
|
#
|
18
18
|
# You should have received a copy of the GNU General Public License
|
19
|
-
# along with this program. If not, see <
|
19
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
20
20
|
|
21
21
|
# As a special exception to the GNU General Public License, if you
|
22
22
|
# distribute this file as part of a program that contains a
|
@@ -42,11 +42,13 @@ print_usage ()
|
|
42
42
|
{
|
43
43
|
cat <<END
|
44
44
|
Usage:
|
45
|
-
test-driver --test-name
|
46
|
-
[--expect-failure
|
47
|
-
[--enable-hard-errors
|
45
|
+
test-driver --test-name NAME --log-file PATH --trs-file PATH
|
46
|
+
[--expect-failure {yes|no}] [--color-tests {yes|no}]
|
47
|
+
[--enable-hard-errors {yes|no}] [--]
|
48
48
|
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
|
49
|
+
|
49
50
|
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
|
51
|
+
See the GNU Automake documentation for information.
|
50
52
|
END
|
51
53
|
}
|
52
54
|
|
@@ -103,8 +105,11 @@ trap "st=130; $do_exit" 2
|
|
103
105
|
trap "st=141; $do_exit" 13
|
104
106
|
trap "st=143; $do_exit" 15
|
105
107
|
|
106
|
-
# Test script is run here.
|
107
|
-
|
108
|
+
# Test script is run here. We create the file first, then append to it,
|
109
|
+
# to ameliorate tests themselves also writing to the log file. Our tests
|
110
|
+
# don't, but others can (automake bug#35762).
|
111
|
+
: >"$log_file"
|
112
|
+
"$@" >>"$log_file" 2>&1
|
108
113
|
estatus=$?
|
109
114
|
|
110
115
|
if test $enable_hard_errors = no && test $estatus -eq 99; then
|
@@ -126,7 +131,7 @@ esac
|
|
126
131
|
# know whether the test passed or failed simply by looking at the '.log'
|
127
132
|
# file, without the need of also peaking into the corresponding '.trs'
|
128
133
|
# file (automake bug#11814).
|
129
|
-
echo "$res $test_name (exit status: $estatus)"
|
134
|
+
echo "$res $test_name (exit status: $estatus)" >>"$log_file"
|
130
135
|
|
131
136
|
# Report outcome to console.
|
132
137
|
echo "${col}${res}${std}: $test_name"
|
@@ -140,9 +145,9 @@ echo ":copy-in-global-log: $gcopy" >> $trs_file
|
|
140
145
|
# Local Variables:
|
141
146
|
# mode: shell-script
|
142
147
|
# sh-indentation: 2
|
143
|
-
# eval: (add-hook '
|
148
|
+
# eval: (add-hook 'before-save-hook 'time-stamp)
|
144
149
|
# time-stamp-start: "scriptversion="
|
145
150
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
146
|
-
# time-stamp-time-zone: "
|
151
|
+
# time-stamp-time-zone: "UTC0"
|
147
152
|
# time-stamp-end: "; # UTC"
|
148
153
|
# End:
|
Binary file
|
Binary file
|
data/lib/libmspack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libmspack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dāvis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -179,6 +179,7 @@ files:
|
|
179
179
|
- ext/libmspack/mspack/lzx.h
|
180
180
|
- ext/libmspack/mspack/lzxc.c
|
181
181
|
- ext/libmspack/mspack/lzxd.c
|
182
|
+
- ext/libmspack/mspack/macros.h
|
182
183
|
- ext/libmspack/mspack/mspack.h
|
183
184
|
- ext/libmspack/mspack/mszip.h
|
184
185
|
- ext/libmspack/mspack/mszipc.c
|
@@ -235,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
236
|
- !ruby/object:Gem::Version
|
236
237
|
version: '0'
|
237
238
|
requirements: []
|
238
|
-
rubygems_version: 3.
|
239
|
+
rubygems_version: 3.5.6
|
239
240
|
signing_key:
|
240
241
|
specification_version: 4
|
241
242
|
summary: Ruby wrapper for libmspack.
|