Lines 1-6947
Link Here
|
1 |
commit 2327a461e1afce862c22269b80d3517801103c1b |
1 |
commit 238b4e5458b4bd2cadefb768b8ea7c6b70a191ac |
2 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2 |
Author: Jia Tan <jiat0218@gmail.com> |
3 |
Date: 2020-03-17 16:27:42 +0200 |
3 |
Date: 2023-05-04 20:38:52 +0800 |
4 |
|
4 |
|
5 |
Bump version and soname for 5.2.5. |
5 |
Translations: Update the Croatian translation. |
6 |
|
6 |
|
|
|
7 |
po/hr.po | 6 +++--- |
8 |
1 file changed, 3 insertions(+), 3 deletions(-) |
9 |
|
10 |
commit 0cee63c3c6c4f9084a5e7fa7c15a1863ac8e5ffc |
11 |
Author: Jia Tan <jiat0218@gmail.com> |
12 |
Date: 2023-05-04 19:50:42 +0800 |
13 |
|
14 |
Bump version and soname for 5.4.3. |
15 |
|
7 |
src/liblzma/Makefile.am | 2 +- |
16 |
src/liblzma/Makefile.am | 2 +- |
8 |
src/liblzma/api/lzma/version.h | 2 +- |
17 |
src/liblzma/api/lzma/version.h | 2 +- |
9 |
2 files changed, 2 insertions(+), 2 deletions(-) |
18 |
2 files changed, 2 insertions(+), 2 deletions(-) |
10 |
|
19 |
|
11 |
commit 3be82d2f7dc882258caf0f0a69214e5916b2bdda |
20 |
commit 01f937ea9a49005c5091c0165fa0c1e572dd1749 |
12 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
21 |
Author: Jia Tan <jiat0218@gmail.com> |
13 |
Date: 2020-03-17 16:26:04 +0200 |
22 |
Date: 2023-05-02 20:39:56 +0800 |
14 |
|
23 |
|
15 |
Update NEWS for 5.2.5. |
24 |
Add NEWS for 5.4.3. |
16 |
|
25 |
|
17 |
NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
26 |
NEWS | 10 ++++++++++ |
18 |
1 file changed, 105 insertions(+) |
27 |
1 file changed, 10 insertions(+) |
19 |
|
28 |
|
20 |
commit ab3e57539c7337f0653b13b75dbc5d03ade9700e |
29 |
commit e9b9ea953179502d5245b4e6ca4f5ffe9d5797b1 |
21 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
30 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
22 |
Date: 2020-03-16 21:57:21 +0200 |
31 |
Date: 2023-05-03 22:46:42 +0300 |
23 |
|
32 |
|
24 |
Translations: Rebuild cs.po to avoid incorrect fuzzy strings. |
33 |
tuklib_integer.h: Fix a recent copypaste error in Clang detection. |
25 |
|
34 |
|
26 |
"make dist" updates the .po files and the fuzzy strings would |
35 |
Wrong line was changed in 7062348bf35c1e4cbfee00ad9fffb4a21aa6eff7. |
27 |
result in multiple very wrong translations. |
36 |
Also, this has >= instead of == since ints larger than 32 bits would |
|
|
37 |
work too even if not relevant in practice. |
28 |
|
38 |
|
29 |
po/cs.po | 592 ++++++++++++++++++++++++++++++++++----------------------------- |
39 |
src/common/tuklib_integer.h | 4 ++-- |
30 |
1 file changed, 322 insertions(+), 270 deletions(-) |
40 |
1 file changed, 2 insertions(+), 2 deletions(-) |
31 |
|
41 |
|
32 |
commit 3a6f38309dc5d44d8a63ebb337b6b2028561c93e |
42 |
commit be6e39a8622f0d905072874ec25b1ffd155b12e1 |
33 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
43 |
Author: Jia Tan <jiat0218@gmail.com> |
34 |
Date: 2020-03-16 20:01:37 +0200 |
44 |
Date: 2023-04-20 20:15:00 +0800 |
35 |
|
45 |
|
36 |
README: Update outdated sections. |
46 |
Update THANKS. |
37 |
|
47 |
|
38 |
README | 21 +++++++++++---------- |
48 |
THANKS | 1 + |
39 |
1 file changed, 11 insertions(+), 10 deletions(-) |
49 |
1 file changed, 1 insertion(+) |
40 |
|
50 |
|
41 |
commit 9cc0901798217e258e91c13cf6fda7ad42ba108c |
51 |
commit 9e343a46cf87a345799222c0b0b3a6f3358dde0c |
42 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
52 |
Author: Jia Tan <jiat0218@gmail.com> |
43 |
Date: 2020-03-16 19:46:27 +0200 |
53 |
Date: 2023-04-19 22:22:16 +0800 |
44 |
|
54 |
|
45 |
README: Mention that translatable strings will change after 5.2.x. |
55 |
Windows: Include <intrin.h> when needed. |
|
|
56 |
|
57 |
Legacy Windows did not need to #include <intrin.h> to use the MSVC |
58 |
intrinsics. Newer versions likely just issue a warning, but the MSVC |
59 |
documentation says to include the header file for the intrinsics we use. |
60 |
|
61 |
GCC and Clang can "pretend" to be MSVC on Windows, so extra checks are |
62 |
needed in tuklib_integer.h to only include <intrin.h> when it will is |
63 |
actually needed. |
46 |
|
64 |
|
47 |
README | 74 +++--------------------------------------------------------------- |
65 |
src/common/tuklib_integer.h | 6 ++++++ |
48 |
1 file changed, 3 insertions(+), 71 deletions(-) |
66 |
src/liblzma/common/memcmplen.h | 10 ++++++++++ |
|
|
67 |
2 files changed, 16 insertions(+) |
49 |
|
68 |
|
50 |
commit cc163574249f6a4a66f3dc09d6fe5a71bee24fab |
69 |
commit 12321a9390acc076b414035a46df9d7545ac379f |
51 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
70 |
Author: Jia Tan <jiat0218@gmail.com> |
52 |
Date: 2020-03-16 19:39:45 +0200 |
71 |
Date: 2023-04-19 21:59:03 +0800 |
53 |
|
72 |
|
54 |
README: Mention that man pages can be translated. |
73 |
tuklib_integer: Use __builtin_clz() with Clang. |
|
|
74 |
|
75 |
Clang has support for __builtin_clz(), but previously Clang would |
76 |
fallback to either the MSVC intrinsic or the regular C code. This was |
77 |
discovered due to a bug where a new version of Clang required the |
78 |
<intrin.h> header file in order to use the MSVC intrinsics. |
79 |
|
80 |
Thanks to Anton Kochkov for notifying us about the bug. |
55 |
|
81 |
|
56 |
README | 7 ++++--- |
82 |
src/common/tuklib_integer.h | 6 +++--- |
57 |
1 file changed, 4 insertions(+), 3 deletions(-) |
83 |
1 file changed, 3 insertions(+), 3 deletions(-) |
58 |
|
84 |
|
59 |
commit ca261994edc3f2d03d5589c037171c63471ee9dc |
85 |
commit d1f0e01c395960efd6c29ff144eda4f4c8c1c6d3 |
60 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
86 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
61 |
Date: 2020-03-16 17:30:39 +0200 |
87 |
Date: 2023-04-14 18:42:33 +0300 |
62 |
|
88 |
|
63 |
Translations: Add partial Danish translation. |
89 |
liblzma: Update project maintainers in lzma.h. |
64 |
|
90 |
|
65 |
I made a few minor white space changes without getting them |
91 |
AUTHORS was updated earlier, lzma.h was simply forgotten. |
66 |
approved by the Danish translation team. |
|
|
67 |
|
92 |
|
68 |
po/LINGUAS | 1 + |
93 |
src/liblzma/api/lzma.h | 2 +- |
69 |
po/da.po | 896 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
94 |
1 file changed, 1 insertion(+), 1 deletion(-) |
70 |
2 files changed, 897 insertions(+) |
|
|
71 |
|
95 |
|
72 |
commit 51cd5d051fc730d61411dee292e863582784e189 |
96 |
commit 8204c5d1304e1e3b7487801b4acaf8e3179a6c52 |
73 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
97 |
Author: Jia Tan <jiat0218@gmail.com> |
74 |
Date: 2020-03-16 16:43:29 +0200 |
98 |
Date: 2023-04-13 20:45:19 +0800 |
75 |
|
99 |
|
76 |
Update INSTALL.generic from Automake 1.16.1. |
100 |
liblzma: Cleans up old commented out code. |
77 |
|
101 |
|
78 |
INSTALL.generic | 321 ++++++++++++++++++++++++++++---------------------------- |
102 |
src/liblzma/common/alone_encoder.c | 11 ----------- |
79 |
1 file changed, 162 insertions(+), 159 deletions(-) |
103 |
1 file changed, 11 deletions(-) |
80 |
|
104 |
|
81 |
commit 69d694e5f1beae2bbfa3b6c348ec0ec5f14b5cd0 |
105 |
commit 32980d1562bc031013306be1c787761fa63da87d |
82 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
106 |
Author: Jia Tan <jiat0218@gmail.com> |
83 |
Date: 2020-03-15 15:27:22 +0200 |
107 |
Date: 2023-03-28 22:32:40 +0800 |
84 |
|
108 |
|
85 |
Update INSTALL for Windows and DOS and add preliminary info for z/OS. |
109 |
CMake: Update liblzma-config.cmake generation. |
|
|
110 |
|
111 |
Now that the threading is configurable, the liblzma CMake package only |
112 |
needs the threading library when using POSIX threads. |
86 |
|
113 |
|
87 |
INSTALL | 51 +++++++++++++++++++++++++++++++++++++++++---------- |
114 |
CMakeLists.txt | 33 ++++++++++++++++++++++----------- |
88 |
1 file changed, 41 insertions(+), 10 deletions(-) |
115 |
1 file changed, 22 insertions(+), 11 deletions(-) |
89 |
|
116 |
|
90 |
commit 2c3b1bb80a3ca7e09728fe4d7a1d8648a5cb9bca |
117 |
commit 023907faa965476fb921a6344253c50e0ba795f9 |
91 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
118 |
Author: Jia Tan <jiat0218@gmail.com> |
92 |
Date: 2020-03-15 15:26:20 +0200 |
119 |
Date: 2023-03-28 22:25:33 +0800 |
93 |
|
120 |
|
94 |
Build: Update m4/ax_pthread.m4 from Autoconf Archive (again). |
121 |
CMake: Allows setting thread method. |
|
|
122 |
|
123 |
The thread method is now configurable for the CMake build. It matches |
124 |
the Autotools build by allowing ON (pick the best threading method), |
125 |
OFF (no threading), posix, win95, and vista. If both Windows and |
126 |
posix threading are both available, then ON will choose Windows |
127 |
threading. Windows threading will also not use: |
128 |
|
129 |
target_link_libraries(liblzma Threads::Threads) |
130 |
|
131 |
since on systems like MinGW-w64 it would link the posix threads |
132 |
without purpose. |
95 |
|
133 |
|
96 |
m4/ax_pthread.m4 | 219 +++++++++++++++++++++++++++++-------------------------- |
134 |
CMakeLists.txt | 144 +++++++++++++++++++++++++++++++++++++++++---------------- |
97 |
1 file changed, 117 insertions(+), 102 deletions(-) |
135 |
1 file changed, 104 insertions(+), 40 deletions(-) |
98 |
|
136 |
|
99 |
commit 74a5af180a6a6c4b8c90cefb37ee900d3fea7dc6 |
137 |
commit ba176d77cbb164b13006516660fc1ff6c59dedb5 |
100 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
138 |
Author: Jia Tan <jiat0218@gmail.com> |
101 |
Date: 2020-03-11 21:15:35 +0200 |
139 |
Date: 2023-03-24 20:05:59 +0800 |
102 |
|
140 |
|
103 |
xz: Never use thousand separators in DJGPP builds. |
141 |
CMake: Only build xzdec if decoders are enabled. |
104 |
|
|
|
105 |
DJGPP 2.05 added support for thousands separators but it's |
106 |
broken at least under WinXP with Finnish locale that uses |
107 |
a non-breaking space as the thousands separator. Workaround |
108 |
by disabling thousands separators for DJGPP builds. |
109 |
|
142 |
|
110 |
src/xz/util.c | 14 ++++++++++++-- |
143 |
CMakeLists.txt | 2 +- |
111 |
1 file changed, 12 insertions(+), 2 deletions(-) |
144 |
1 file changed, 1 insertion(+), 1 deletion(-) |
112 |
|
145 |
|
113 |
commit ceba0d25e826bcdbf64bb4cb03385a2a66f8cbcb |
146 |
commit c99d697df800e9bc47e09facf88bcfdb9e0264a5 |
114 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
147 |
Author: Jia Tan <jiat0218@gmail.com> |
115 |
Date: 2020-03-11 19:38:08 +0200 |
148 |
Date: 2023-03-22 15:42:04 +0800 |
116 |
|
149 |
|
117 |
DOS: Update dos/Makefile for DJGPP 2.05. |
150 |
Build: Removes redundant check for LZMA1 filter support. |
118 |
|
|
|
119 |
It doesn't need -fgnu89-inline like 2.04beta did. |
120 |
|
151 |
|
121 |
dos/Makefile | 4 +--- |
152 |
src/liblzma/lzma/Makefile.inc | 5 +---- |
122 |
1 file changed, 1 insertion(+), 3 deletions(-) |
153 |
1 file changed, 1 insertion(+), 4 deletions(-) |
123 |
|
154 |
|
124 |
commit 29e5bd71612253281fb22bbaa0a566990a74dcc3 |
155 |
commit 54a2fd8c850e626343b79c4cc8fcac2f638ec890 |
125 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
156 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
126 |
Date: 2020-03-11 19:36:07 +0200 |
157 |
Date: 2023-03-23 15:14:29 +0200 |
127 |
|
158 |
|
128 |
DOS: Update instructions in dos/INSTALL.txt. |
159 |
CMake: Bump maximum policy version to 3.26. |
|
|
160 |
|
161 |
It adds only one new policy related to FOLDERS which we don't use. |
162 |
This makes it clear that the code is compatible with the policies |
163 |
up to 3.26. |
129 |
|
164 |
|
130 |
dos/INSTALL.txt | 59 ++++++++++++++++++++++++++++----------------------------- |
165 |
CMakeLists.txt | 2 +- |
131 |
1 file changed, 29 insertions(+), 30 deletions(-) |
166 |
1 file changed, 1 insertion(+), 1 deletion(-) |
132 |
|
167 |
|
133 |
commit 00a037ee9c8ee5a03cf9744e05570ae93d56b875 |
168 |
commit 622d0fdc02d5f565c2872d79bc70c669c95c8284 |
134 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
169 |
Author: Jia Tan <jiat0218@gmail.com> |
135 |
Date: 2020-03-11 17:58:51 +0200 |
170 |
Date: 2023-03-21 23:36:00 +0800 |
136 |
|
171 |
|
137 |
DOS: Update config.h. |
172 |
CMake: Conditionally build xz list.* files if decoders are enabled. |
138 |
|
|
|
139 |
The added defines assume GCC >= 4.8. |
140 |
|
173 |
|
141 |
dos/config.h | 8 ++++++++ |
174 |
CMakeLists.txt | 9 +++++++-- |
142 |
1 file changed, 8 insertions(+) |
175 |
1 file changed, 7 insertions(+), 2 deletions(-) |
143 |
|
176 |
|
144 |
commit 4ec2feaefa310b4249eb41893caf526e5c51ee39 |
177 |
commit 3e2dc523c596cd770a6a7c58cacc0d0d8761e853 |
145 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
178 |
Author: Jia Tan <jiat0218@gmail.com> |
146 |
Date: 2020-03-11 22:37:54 +0200 |
179 |
Date: 2023-02-25 11:46:50 +0800 |
147 |
|
180 |
|
148 |
Translations: Add hu, zh_CN, and zh_TW. |
181 |
CMake: Allow configuring features as cache variables. |
149 |
|
182 |
|
150 |
I made a few white space changes to these without getting them |
183 |
This allows users to change the features they build either in |
151 |
approved by the translation teams. (I tried to contact the hu and |
184 |
CMakeCache.txt or by using a CMake GUI. The sources built for |
152 |
zh_TW teams but didn't succeed. I didn't contact the zh_CN team.) |
185 |
liblzma are affected by this too, so only the necessary files |
|
|
186 |
will be compiled. |
153 |
|
187 |
|
154 |
po/LINGUAS | 3 + |
188 |
CMakeLists.txt | 528 ++++++++++++++++++++++++++++++++++++++++++--------------- |
155 |
po/hu.po | 985 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
189 |
1 file changed, 391 insertions(+), 137 deletions(-) |
156 |
po/zh_CN.po | 963 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
157 |
po/zh_TW.po | 956 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
158 |
4 files changed, 2907 insertions(+) |
159 |
|
190 |
|
160 |
commit b6ed09729ae408be4533a0ddbc7df3d6f566846a |
191 |
commit 0c053f97337fa4ead77acefb577e8e86f8ef388d |
161 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
192 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
162 |
Date: 2020-03-11 14:33:30 +0200 |
193 |
Date: 2023-03-21 14:07:51 +0200 |
163 |
|
194 |
|
164 |
Translations: Update vi.po to match the file from the TP. |
195 |
Build: Add a comment that AC_PROG_CC_C99 is needed for Autoconf 2.69. |
165 |
|
196 |
|
166 |
The translated strings haven't been updated but word wrapping |
197 |
It's obsolete in Autoconf >= 2.70 and just an alias for AC_PROG_CC |
167 |
is different. |
198 |
but Autoconf 2.69 requires AC_PROG_CC_C99 to get a C99 compiler. |
168 |
|
199 |
|
169 |
po/vi.po | 407 ++++++++++++++++++++++++++++----------------------------------- |
200 |
configure.ac | 3 +++ |
170 |
1 file changed, 179 insertions(+), 228 deletions(-) |
201 |
1 file changed, 3 insertions(+) |
171 |
|
202 |
|
172 |
commit 7c85e8953ced204c858101872a15183e4639e9fb |
203 |
commit 915d4f6058d52f84d2b58b0a5f3c8272eaa6c1bd |
173 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
204 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
174 |
Date: 2020-03-11 14:18:03 +0200 |
205 |
Date: 2023-03-21 14:04:37 +0200 |
175 |
|
206 |
|
176 |
Translations: Add fi and pt_BR, and update de, fr, it, and pl. |
207 |
Build: configure.ac: Use AS_IF and AS_CASE where required. |
177 |
|
208 |
|
178 |
The German translation isn't identical to the file in |
209 |
This makes no functional difference in the generated configure |
179 |
the Translation Project but the changes (white space changes |
210 |
(at least with the Autotools versions I have installed) but this |
180 |
only) were approved by the translator Mario Blättermann. |
211 |
change might prevent future bugs like the one that was just |
|
|
212 |
fixed in the commit 5a5bd7f871818029d5ccbe189f087f591258c294. |
181 |
|
213 |
|
182 |
po/LINGUAS | 2 + |
214 |
configure.ac | 30 +++++++++++++++--------------- |
183 |
po/de.po | 476 ++++++++++++++-------------- |
215 |
1 file changed, 15 insertions(+), 15 deletions(-) |
184 |
po/fi.po | 974 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
185 |
po/fr.po | 272 ++++++++-------- |
186 |
po/it.po | 479 ++++++++++++---------------- |
187 |
po/pl.po | 239 +++++++------- |
188 |
po/pt_BR.po | 1001 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
189 |
7 files changed, 2697 insertions(+), 746 deletions(-) |
190 |
|
216 |
|
191 |
commit 7da3ebc67fb5414034685ec16c7a29dad03dfa9b |
217 |
commit b848c039586ed2cddb6fb033680dac107cc5143f |
192 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
218 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
193 |
Date: 2020-02-25 21:35:14 +0200 |
219 |
Date: 2023-03-21 13:12:03 +0200 |
194 |
|
220 |
|
195 |
Update THANKS. |
221 |
Update THANKS. |
196 |
|
222 |
|
197 |
THANKS | 1 + |
223 |
THANKS | 1 + |
198 |
1 file changed, 1 insertion(+) |
224 |
1 file changed, 1 insertion(+) |
199 |
|
225 |
|
200 |
commit 1acc48794364606c9091cae6fa56db75a1325114 |
226 |
commit c775ba1602a74f29dbc2088bbe4d02c23fc32ba1 |
201 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
227 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
202 |
Date: 2020-03-11 13:05:29 +0200 |
228 |
Date: 2023-03-21 13:11:49 +0200 |
203 |
|
229 |
|
204 |
Build: Add very limited experimental CMake support. |
230 |
Build: Fix --disable-threads breaking the building of shared libs. |
205 |
|
231 |
|
206 |
This version matches CMake files in the master branch (commit |
232 |
This is broken in the releases 5.2.6 to 5.4.2. A workaround |
207 |
265daa873c0d871f5f23f9b56e133a6f20045a0a) except that this omits |
233 |
for these releases is to pass EGREP='grep -E' as an argument |
208 |
two source files that aren't in v5.2 and in the beginning of |
234 |
to configure in addition to --disable-threads. |
209 |
CMakeLists.txt the first paragraph in the comment is slightly |
235 |
|
210 |
different to point out possible issues in building shared liblzma. |
236 |
The problem appeared when m4/ax_pthread.m4 was updated in |
|
|
237 |
the commit 6629ed929cc7d45a11e385f357ab58ec15e7e4ad which |
238 |
introduced the use of AC_EGREP_CPP. AC_EGREP_CPP calls |
239 |
AC_REQUIRE([AC_PROG_EGREP]) to set the shell variable EGREP |
240 |
but this was only executed if POSIX threads were enabled. |
241 |
Libtool code also has AC_REQUIRE([AC_PROG_EGREP]) but Autoconf |
242 |
omits it as AC_PROG_EGREP has already been required earlier. |
243 |
Thus, if not using POSIX threads, the shell variable EGREP |
244 |
would be undefined in the Libtool code in configure. |
245 |
|
246 |
ax_pthread.m4 is fine. The bug was in configure.ac which called |
247 |
AX_PTHREAD conditionally in an incorrect way. Using AS_CASE |
248 |
ensures that all AC_REQUIREs get always run. |
249 |
|
250 |
Thanks to Frank Busse for reporting the bug. |
251 |
Fixes: https://github.com/tukaani-project/xz/issues/45 |
211 |
|
252 |
|
212 |
CMakeLists.txt | 659 ++++++++++++++++++++++++++++++++++++++++++++ |
253 |
configure.ac | 16 ++++++++-------- |
213 |
cmake/tuklib_common.cmake | 49 ++++ |
254 |
1 file changed, 8 insertions(+), 8 deletions(-) |
214 |
cmake/tuklib_cpucores.cmake | 175 ++++++++++++ |
|
|
215 |
cmake/tuklib_integer.cmake | 102 +++++++ |
216 |
cmake/tuklib_mbstr.cmake | 20 ++ |
217 |
cmake/tuklib_physmem.cmake | 150 ++++++++++ |
218 |
cmake/tuklib_progname.cmake | 19 ++ |
219 |
7 files changed, 1174 insertions(+) |
220 |
|
255 |
|
221 |
commit 9acc6abea1552803c74c1486fbb10af119550772 |
256 |
commit 0673c9ec98b6bae12b33dc295564514aaa26e2fc |
222 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
257 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
223 |
Date: 2020-02-27 20:24:27 +0200 |
258 |
Date: 2023-03-19 22:45:59 +0200 |
224 |
|
259 |
|
225 |
Build: Add support for --no-po4a option to autogen.sh. |
260 |
liblzma: Silence -Wsign-conversion in SSE2 code in memcmplen.h. |
226 |
|
261 |
|
227 |
Normally, if po4a isn't available, autogen.sh will return |
262 |
Thanks to Christian Hesse for reporting the issue. |
228 |
with non-zero exit status. The option --no-po4a can be useful |
263 |
Fixes: https://github.com/tukaani-project/xz/issues/44 |
229 |
when one knows that po4a isn't available but wants autogen.sh |
|
|
230 |
to still return with zero exit status. |
231 |
|
264 |
|
232 |
autogen.sh | 11 ++++++++++- |
265 |
src/liblzma/common/memcmplen.h | 3 ++- |
233 |
1 file changed, 10 insertions(+), 1 deletion(-) |
266 |
1 file changed, 2 insertions(+), 1 deletion(-) |
234 |
|
267 |
|
235 |
commit c8853b31545db7bd0551be85949624b1261efd47 |
268 |
commit 6ca8046ecbc7a1c81ee08f544bfd1414819fb2e8 |
|
|
269 |
Author: Jia Tan <jiat0218@gmail.com> |
270 |
Date: 2023-03-18 23:22:06 +0800 |
271 |
|
272 |
Bump version and soname for 5.4.2. |
273 |
|
274 |
src/liblzma/Makefile.am | 2 +- |
275 |
src/liblzma/api/lzma/version.h | 2 +- |
276 |
2 files changed, 2 insertions(+), 2 deletions(-) |
277 |
|
278 |
commit ce4f246600db10e77fc93d492ea045b4c9830bc6 |
279 |
Author: Jia Tan <jiat0218@gmail.com> |
280 |
Date: 2023-03-18 22:10:57 +0800 |
281 |
|
282 |
Add NEWS for 5.4.2. |
283 |
|
284 |
NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ |
285 |
1 file changed, 48 insertions(+) |
286 |
|
287 |
commit 3634fe330788fc0df217acdb6581031a851600a3 |
236 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
288 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
237 |
Date: 2020-02-24 23:37:07 +0200 |
289 |
Date: 2023-03-18 16:00:54 +0200 |
238 |
|
290 |
|
239 |
Update m4/.gitignore. |
291 |
Update the copy of GNU GPLv3 from gnu.org to COPYING.GPLv3. |
240 |
|
292 |
|
241 |
m4/.gitignore | 1 + |
293 |
COPYING.GPLv3 | 8 ++++---- |
242 |
1 file changed, 1 insertion(+) |
294 |
1 file changed, 4 insertions(+), 4 deletions(-) |
243 |
|
295 |
|
244 |
commit 901eb4a8c992354c3ea482f5bad60a1f8ad6fcc8 |
296 |
commit 97679d25ce7cb014328f1455bb338903c003d54f |
245 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
297 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
246 |
Date: 2020-02-24 23:01:00 +0200 |
298 |
Date: 2023-03-18 15:51:57 +0200 |
247 |
|
299 |
|
248 |
liblzma: Remove unneeded <sys/types.h> from fastpos_tablegen.c. |
300 |
Change a few HTTP URLs to HTTPS. |
249 |
|
301 |
|
250 |
This file only generates fastpos_table.c. |
302 |
The xz man page timestamp was intentionally left unchanged. |
251 |
It isn't built as a part of liblzma. |
|
|
252 |
|
303 |
|
253 |
src/liblzma/lzma/fastpos_tablegen.c | 1 - |
304 |
INSTALL | 2 +- |
254 |
1 file changed, 1 deletion(-) |
305 |
README | 8 ++++---- |
|
|
306 |
configure.ac | 2 +- |
307 |
dos/INSTALL.txt | 4 ++-- |
308 |
src/liblzma/api/lzma.h | 8 ++++---- |
309 |
src/liblzma/check/sha256.c | 2 +- |
310 |
src/xz/xz.1 | 2 +- |
311 |
windows/INSTALL-MinGW.txt | 10 +++++----- |
312 |
8 files changed, 19 insertions(+), 19 deletions(-) |
255 |
|
313 |
|
256 |
commit ac35c9585fb734b7a19785d490c152e0b8cd4663 |
314 |
commit 01a67e89a56c3ebf5f6681bd06f0edc22a1ae594 |
|
|
315 |
Author: Jia Tan <jiat0218@gmail.com> |
316 |
Date: 2023-03-18 00:40:28 +0800 |
317 |
|
318 |
CMake: Fix typo in a comment. |
319 |
|
320 |
CMakeLists.txt | 2 +- |
321 |
1 file changed, 1 insertion(+), 1 deletion(-) |
322 |
|
323 |
commit 5dca3f5cbab31105196c89cd6df0a9bbc3307c05 |
257 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
324 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
258 |
Date: 2020-02-22 14:15:07 +0200 |
325 |
Date: 2023-03-17 18:36:22 +0200 |
259 |
|
326 |
|
260 |
Use defined(__GNUC__) before __GNUC__ in preprocessor lines. |
327 |
Windows: build.bash: Copy liblzma API docs to the output package. |
261 |
|
|
|
262 |
This should silence the equivalent of -Wundef in compilers that |
263 |
don't define __GNUC__. |
264 |
|
328 |
|
265 |
src/common/sysdefs.h | 3 ++- |
329 |
windows/build.bash | 3 ++- |
266 |
src/liblzma/api/lzma.h | 5 +++-- |
330 |
1 file changed, 2 insertions(+), 1 deletion(-) |
267 |
2 files changed, 5 insertions(+), 3 deletions(-) |
|
|
268 |
|
331 |
|
269 |
commit fb9cada7cfade1156d6277717280e05b5cd342d6 |
332 |
commit ae252862b30b509ab88b2bbcaa08e8d51b57e928 |
270 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
333 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
271 |
Date: 2020-02-21 17:40:02 +0200 |
334 |
Date: 2023-03-17 08:53:38 +0200 |
272 |
|
335 |
|
273 |
liblzma: Add more uses of lzma_memcmplen() to the normal mode of LZMA. |
336 |
Windows: Add microlzma_*.c to the VS project files. |
274 |
|
337 |
|
275 |
This gives a tiny encoder speed improvement. This could have been done |
338 |
These should have been included in 5.3.2alpha already. |
276 |
in 2014 after the commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 but |
|
|
277 |
it was forgotten. |
278 |
|
339 |
|
279 |
src/liblzma/lzma/lzma_encoder_optimum_normal.c | 16 ++++++++++------ |
340 |
windows/vs2013/liblzma.vcxproj | 2 ++ |
280 |
1 file changed, 10 insertions(+), 6 deletions(-) |
341 |
windows/vs2013/liblzma_dll.vcxproj | 2 ++ |
|
|
342 |
windows/vs2017/liblzma.vcxproj | 2 ++ |
343 |
windows/vs2017/liblzma_dll.vcxproj | 2 ++ |
344 |
windows/vs2019/liblzma.vcxproj | 2 ++ |
345 |
windows/vs2019/liblzma_dll.vcxproj | 2 ++ |
346 |
6 files changed, 12 insertions(+) |
281 |
|
347 |
|
282 |
commit 6117955af0b9cef5acde7859e86f773692b5f43c |
348 |
commit 147d282cc3733e2723df82622b6540ddfb52635e |
283 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
349 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
284 |
Date: 2020-02-21 17:01:15 +0200 |
350 |
Date: 2023-03-17 08:43:51 +0200 |
285 |
|
351 |
|
286 |
Build: Add visibility.m4 from gnulib. |
352 |
CMake: Add microlzma_*.c to the build. |
287 |
|
353 |
|
288 |
Appears that this file used to get included as a side effect of |
354 |
These should have been included in 5.3.2alpha already. |
289 |
gettext. After the change to gettext version requirements this file |
|
|
290 |
no longer got copied to the package and so the build was broken. |
291 |
|
355 |
|
292 |
m4/.gitignore | 1 - |
356 |
CMakeLists.txt | 2 ++ |
293 |
m4/visibility.m4 | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
357 |
1 file changed, 2 insertions(+) |
294 |
2 files changed, 77 insertions(+), 1 deletion(-) |
|
|
295 |
|
358 |
|
296 |
commit c2cc64d78c098834231f9cfd7d852c9cd8950d74 |
359 |
commit 4523a5ee29f45c0256af67a15771bc8bbd25ba53 |
297 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
360 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
298 |
Date: 2020-02-21 16:10:44 +0200 |
361 |
Date: 2023-03-17 08:41:36 +0200 |
299 |
|
362 |
|
300 |
xz: Silence a warning when sig_atomic_t is long int. |
363 |
Build: Update comments about unaligned access to mention 64-bit. |
301 |
|
|
|
302 |
It can be true at least on z/OS. |
303 |
|
364 |
|
304 |
src/xz/signals.c | 2 +- |
365 |
cmake/tuklib_integer.cmake | 7 +++---- |
305 |
1 file changed, 1 insertion(+), 1 deletion(-) |
366 |
m4/tuklib_integer.m4 | 4 ++-- |
|
|
367 |
2 files changed, 5 insertions(+), 6 deletions(-) |
306 |
|
368 |
|
307 |
commit b6314aa275b35c714e0a191d0b2e9b6106129ea9 |
369 |
commit 82aacb40367dc580b09c5a7b270f6c98b63e49b9 |
308 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
370 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
309 |
Date: 2020-02-21 15:59:26 +0200 |
371 |
Date: 2023-03-17 00:02:30 +0200 |
310 |
|
372 |
|
311 |
xz: Avoid unneeded access of a volatile variable. |
373 |
Tests: Update .gitignore. |
312 |
|
374 |
|
313 |
src/xz/signals.c | 2 +- |
375 |
.gitignore | 3 ++- |
314 |
1 file changed, 1 insertion(+), 1 deletion(-) |
376 |
1 file changed, 2 insertions(+), 1 deletion(-) |
315 |
|
377 |
|
316 |
commit f772a1572f723e5dc7d2d32e1d4287ac7a0da55e |
378 |
commit 5d022c24921eec938604a8cb10d70aa08dbd8575 |
317 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
379 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
318 |
Date: 2020-02-21 01:24:18 +0200 |
380 |
Date: 2023-03-14 20:04:03 +0200 |
319 |
|
381 |
|
320 |
tuklib_integer.m4: Optimize the check order. |
382 |
po4a/update-po: Display the script name consistently in error messages. |
|
|
383 |
|
384 |
po4a/update-po | 2 +- |
385 |
1 file changed, 1 insertion(+), 1 deletion(-) |
386 |
|
387 |
commit 896295117324f323c0b8db6a31ad6ebfaa88793d |
388 |
Author: Jia Tan <jiat0218@gmail.com> |
389 |
Date: 2023-03-17 01:30:36 +0800 |
390 |
|
391 |
Doc: Rename Doxygen HTML doc directory name liblzma => api. |
321 |
|
392 |
|
322 |
The __builtin byteswapping is the preferred one so check for it first. |
393 |
When the docs are installed, calling the directory "liblzma" is |
|
|
394 |
confusing since multiple other files in the doc directory are for |
395 |
liblzma. This should also make it more natural for distros when they |
396 |
package the documentation. |
323 |
|
397 |
|
324 |
m4/tuklib_integer.m4 | 56 +++++++++++++++++++++++++++------------------------- |
398 |
.gitignore | 2 +- |
325 |
1 file changed, 29 insertions(+), 27 deletions(-) |
399 |
Makefile.am | 18 +++++++++--------- |
|
|
400 |
PACKAGERS | 4 ++-- |
401 |
doxygen/Doxyfile | 2 +- |
402 |
doxygen/update-doxygen | 18 +++++++++--------- |
403 |
5 files changed, 22 insertions(+), 22 deletions(-) |
326 |
|
404 |
|
327 |
commit 641042e63f665f3231c2fd1241fd3dddda3fb313 |
405 |
commit 94097157fae308b2c1a5edb4e8597c68b45eeaea |
328 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
406 |
Author: Jia Tan <jiat0218@gmail.com> |
329 |
Date: 2020-02-20 18:54:04 +0200 |
407 |
Date: 2023-03-16 22:07:15 +0800 |
330 |
|
408 |
|
331 |
tuklib_exit: Add missing header. |
409 |
liblzma: Remove note from lzma_options_bcj about the ARM64 exception. |
332 |
|
410 |
|
333 |
strerror() needs <string.h> which happened to be included via |
411 |
This was left in by mistake since an early version of the ARM64 filter |
334 |
tuklib_common.h -> tuklib_config.h -> sysdefs.h if HAVE_CONFIG_H |
412 |
used a different struct for its options. |
335 |
was defined. This wasn't tested without config.h before so it |
|
|
336 |
had worked fine. |
337 |
|
413 |
|
338 |
src/common/tuklib_exit.c | 1 + |
414 |
src/liblzma/api/lzma/bcj.h | 2 +- |
339 |
1 file changed, 1 insertion(+) |
415 |
1 file changed, 1 insertion(+), 1 deletion(-) |
340 |
|
416 |
|
341 |
commit dbd55a69e530fec9ae866aaf6c3ccc0b4daf1f1f |
417 |
commit da16d0b73b79d7785ece6f78a577fadd1fb59d0e |
342 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
418 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
343 |
Date: 2020-02-16 11:18:28 +0200 |
419 |
Date: 2023-03-15 19:19:13 +0200 |
344 |
|
420 |
|
345 |
sysdefs.h: Omit the conditionals around string.h and limits.h. |
421 |
COPYING: Add a note about the included Doxygen-generated HTML. |
|
|
422 |
|
423 |
COPYING | 11 +++++++++++ |
424 |
1 file changed, 11 insertions(+) |
425 |
|
426 |
commit e57c74f9ef19201f72c106f2c347596f40229936 |
427 |
Author: Jia Tan <jiat0218@gmail.com> |
428 |
Date: 2023-03-16 21:41:09 +0800 |
429 |
|
430 |
Doc: Update PACKAGERS with details about liblzma API docs install. |
431 |
|
432 |
PACKAGERS | 22 ++++++++++++++++------ |
433 |
1 file changed, 16 insertions(+), 6 deletions(-) |
434 |
|
435 |
commit 7e2fa48bb73edb25457232e2e62a4f81c6b95281 |
436 |
Author: Jia Tan <jiat0218@gmail.com> |
437 |
Date: 2023-03-16 21:38:32 +0800 |
438 |
|
439 |
liblzma: Add set lzma.h as the main page for Doxygen documentation. |
346 |
|
440 |
|
347 |
string.h is used unconditionally elsewhere in the project and |
441 |
The \mainpage command is used in the first block of comments in lzma.h. |
348 |
configure has always stopped if limits.h is missing, so these |
442 |
This changes the previously nearly empty index.html to use the first |
349 |
headers must have been always available even on the weirdest |
443 |
comment block in lzma.h for its contents. |
350 |
systems. |
444 |
|
|
|
445 |
lzma.h is no longer documented separately, but this is for the better |
446 |
since lzma.h only defined a few macros that users do not need to use. |
447 |
The individual API header files all have a disclaimer that they should |
448 |
not be #included directly, so there should be no confusion on the fact |
449 |
that lzma.h should be the only header used by applications. |
450 |
|
451 |
Additionally, the note "See ../lzma.h for information about liblzma as |
452 |
a whole." was removed since lzma.h is now the main page of the |
453 |
generated HTML and does not have its own page anymore. So it would be |
454 |
confusing in the HTML version and was only a "nice to have" when |
455 |
browsing the source files. |
351 |
|
456 |
|
352 |
src/common/sysdefs.h | 8 ++------ |
457 |
src/liblzma/api/lzma.h | 1 + |
353 |
1 file changed, 2 insertions(+), 6 deletions(-) |
458 |
src/liblzma/api/lzma/base.h | 2 -- |
|
|
459 |
src/liblzma/api/lzma/bcj.h | 2 -- |
460 |
src/liblzma/api/lzma/block.h | 2 -- |
461 |
src/liblzma/api/lzma/check.h | 2 -- |
462 |
src/liblzma/api/lzma/container.h | 2 -- |
463 |
src/liblzma/api/lzma/delta.h | 2 -- |
464 |
src/liblzma/api/lzma/filter.h | 2 -- |
465 |
src/liblzma/api/lzma/hardware.h | 2 -- |
466 |
src/liblzma/api/lzma/index.h | 2 -- |
467 |
src/liblzma/api/lzma/index_hash.h | 4 +--- |
468 |
src/liblzma/api/lzma/lzma12.h | 2 -- |
469 |
src/liblzma/api/lzma/stream_flags.h | 2 -- |
470 |
src/liblzma/api/lzma/version.h | 2 -- |
471 |
src/liblzma/api/lzma/vli.h | 2 -- |
472 |
15 files changed, 2 insertions(+), 29 deletions(-) |
354 |
|
473 |
|
355 |
commit 9294909861e6d22b32418467e0e988f953a82264 |
474 |
commit d42977c7acfdf7fd9acc8803cf411eca7dc10478 |
356 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
475 |
Author: Jia Tan <jiat0218@gmail.com> |
357 |
Date: 2020-02-15 15:07:11 +0200 |
476 |
Date: 2023-03-16 21:37:32 +0800 |
358 |
|
477 |
|
359 |
Build: Bump Autoconf and Libtool version requirements. |
478 |
Build: Generate doxygen documentation in autogen.sh. |
360 |
|
479 |
|
361 |
There is no specific reason for this other than blocking |
480 |
Another command line option (--no-doxygen) was added to disable |
362 |
the most ancient versions. These are still old: |
481 |
creating the doxygen documenation in cases where it not wanted or |
|
|
482 |
if the doxygen tool is not installed. |
483 |
|
484 |
autogen.sh | 35 +++++++++++++++++++++++++++++------ |
485 |
1 file changed, 29 insertions(+), 6 deletions(-) |
486 |
|
487 |
commit 8fc712fcf41d821069c670f22b8bf628e7a4a877 |
488 |
Author: Jia Tan <jiat0218@gmail.com> |
489 |
Date: 2023-03-16 21:35:55 +0800 |
490 |
|
491 |
Build: Create doxygen/update-doxygen script. |
363 |
|
492 |
|
364 |
Autoconf 2.69 (2012) |
493 |
This is a helper script to generate the Doxygen documentation. It can be |
365 |
Automake 1.12 (2012) |
494 |
run in 'liblzma' or 'internal' mode by setting the first argument. It |
366 |
gettext 0.19.6 (2015) |
495 |
will default to 'liblzma' mode and only generate documentation for the |
367 |
Libtool 2.4 (2010) |
496 |
liblzma API header files. |
|
|
497 |
|
498 |
The helper script will be run during the custom mydist hook when we |
499 |
create releases. This hook already alters the source directory, so its |
500 |
fine to do it here too. This way, we can include the Doxygen generated |
501 |
files in the distrubtion and when installing. |
502 |
|
503 |
In 'liblzma' mode, the JavaScript is stripped from the .html files and |
504 |
the .js files are removed. This avoids license hassle from jQuery and |
505 |
other libraries that Doxygen 1.9.6 puts into jquery.js in minified form. |
368 |
|
506 |
|
369 |
configure.ac | 4 ++-- |
507 |
Makefile.am | 1 + |
370 |
1 file changed, 2 insertions(+), 2 deletions(-) |
508 |
doxygen/update-doxygen | 111 +++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
509 |
2 files changed, 112 insertions(+) |
371 |
|
510 |
|
372 |
commit bd09081bbdf552f730030d2fd0e5e39ccb3936af |
511 |
commit 77d2c025d19fbac7277c63239cfb1338f02c66c0 |
373 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
512 |
Author: Jia Tan <jiat0218@gmail.com> |
374 |
Date: 2020-02-15 03:08:32 +0200 |
513 |
Date: 2023-03-16 21:34:36 +0800 |
375 |
|
514 |
|
376 |
Build: Use AM_GNU_GETTEXT_REQUIRE_VERSION and require 0.19.6. |
515 |
Build: Install Doxygen docs and include in distribution if generated. |
377 |
|
516 |
|
378 |
This bumps the version requirement from 0.19 (from 2014) to |
517 |
Added a install-data-local target to install the Doxygen documentation |
379 |
0.19.6 (2015). |
518 |
only when it has been generated. In order to correctly remove the docs, |
|
|
519 |
a corresponding uninstall-local target was added. |
380 |
|
520 |
|
381 |
Using only the old AM_GNU_GETTEXT_VERSION results in old |
521 |
If the doxygen docs exist in the source tree, they will also be included |
382 |
gettext infrastructure being placed in the package. By using |
522 |
in the distribution now too. |
383 |
both macros we get the latest gettext files while the other |
|
|
384 |
programs in the Autotools family can still see the old macro. |
385 |
|
523 |
|
386 |
configure.ac | 6 +++++- |
524 |
Makefile.am | 18 ++++++++++++++++++ |
387 |
1 file changed, 5 insertions(+), 1 deletion(-) |
525 |
1 file changed, 18 insertions(+) |
388 |
|
526 |
|
389 |
commit 1e5e08d86534aec7ca957982c7f6e90203c19e9f |
527 |
commit 9af8f6f947a43974a4ff025f4c896f2fb4c91b4f |
390 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
528 |
Author: Jia Tan <jiat0218@gmail.com> |
391 |
Date: 2020-02-14 20:42:06 +0200 |
529 |
Date: 2023-01-03 20:37:30 +0800 |
392 |
|
530 |
|
393 |
Translations: Add German translation of the man pages. |
531 |
Doxygen: Refactor Doxyfile.in to doxygen/Doxyfile. |
394 |
|
532 |
|
395 |
Thanks to Mario Blättermann. |
533 |
Instead of having Doxyfile.in configured by Autoconf, the Doxyfile |
|
|
534 |
can have the tags that need to be configured piped into the doxygen |
535 |
command through stdin with the overrides after Doxyfile's contents. |
536 |
|
537 |
Going forward, the documentation should be generated in two different |
538 |
modes: liblzma or internal. |
539 |
|
540 |
liblzma is useful for most users. It is the documentation for just |
541 |
the liblzma API header files. This is the default. |
542 |
|
543 |
internal is for people who want to understand how xz and liblzma work. |
544 |
It might be useful for people who want to contribute to the project. |
396 |
|
545 |
|
397 |
po4a/de.po | 5532 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
546 |
.gitignore | 3 +- |
398 |
po4a/po4a.conf | 2 +- |
547 |
Doxyfile.in | 1234 ------------------------- |
399 |
2 files changed, 5533 insertions(+), 1 deletion(-) |
548 |
Makefile.am | 1 - |
|
|
549 |
configure.ac | 1 - |
550 |
doxygen/Doxyfile | 2684 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
551 |
5 files changed, 2686 insertions(+), 1237 deletions(-) |
400 |
|
552 |
|
401 |
commit 4b1447809ffbc0d77c0ad456bd6b3afcf0b8623e |
553 |
commit 1c558a26928b753fcf1c0d4bce9c0643285edd86 |
|
|
554 |
Author: Jia Tan <jiat0218@gmail.com> |
555 |
Date: 2023-02-28 23:22:36 +0800 |
556 |
|
557 |
Tests: Remove unused macros and functions. |
558 |
|
559 |
tests/tests.h | 75 ----------------------------------------------------------- |
560 |
1 file changed, 75 deletions(-) |
561 |
|
562 |
commit 7479a69a45a1b8fdb9a209e11f247dce11ac1ba0 |
563 |
Author: Jia Tan <jiat0218@gmail.com> |
564 |
Date: 2023-01-12 22:29:07 +0800 |
565 |
|
566 |
Tests: Refactors existing lzma_index tests. |
567 |
|
568 |
Converts the existing lzma_index tests into tuktests and covers every |
569 |
API function from index.h except for lzma_file_info_decoder, which can |
570 |
be tested in the future. |
571 |
|
572 |
tests/test_index.c | 2036 ++++++++++++++++++++++++++++++++++++++-------------- |
573 |
1 file changed, 1492 insertions(+), 544 deletions(-) |
574 |
|
575 |
commit fd56d5353360279c10e8e5e05f5bc6ea03f64584 |
402 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
576 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
403 |
Date: 2020-02-07 15:32:21 +0200 |
577 |
Date: 2023-03-07 19:59:23 +0200 |
404 |
|
578 |
|
405 |
Build: Add support for translated man pages using po4a. |
579 |
xz: Make Capsicum sandbox more strict with stdin and stdout. |
|
|
580 |
|
581 |
src/xz/file_io.c | 8 ++++++++ |
582 |
1 file changed, 8 insertions(+) |
583 |
|
584 |
commit d1bdaaebc68cae7f0ba457fa990b520df2186fd1 |
585 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
586 |
Date: 2023-03-11 19:31:40 +0200 |
587 |
|
588 |
xz: Don't fail if Capsicum is enabled but kernel doesn't support it. |
406 |
|
589 |
|
407 |
The dependency on po4a is optional. It's never required to install |
590 |
(This commit combines related commits from the master branch.) |
408 |
the translated man pages when xz is built from a release tarball. |
|
|
409 |
If po4a is missing when building from xz.git, the translated man |
410 |
pages won't be generated but otherwise the build will work normally. |
411 |
|
591 |
|
412 |
The translations are only updated automatically by autogen.sh and |
592 |
If Capsicum support is missing from the kernel or xz is being run |
413 |
by "make mydist". This makes it easy to keep po4a as an optional |
593 |
in an emulator that lacks Capsicum suport, the syscalls will fail |
414 |
dependency and ensures that I won't forget to put updated |
594 |
and set errno to ENOSYS. Previously xz would display and error and |
415 |
translations to a release tarball. |
595 |
exit, making xz unusable. Now it will check for ENOSYS and run |
|
|
596 |
without sandbox support. Other tools like ssh behave similarly. |
416 |
|
597 |
|
417 |
The translated man pages aren't installed if --disable-nls is used. |
598 |
Displaying a warning for missing Capsicum support was considered |
|
|
599 |
but such extra output would quickly become annoying. It would also |
600 |
break test_scripts.sh in "make check". |
418 |
|
601 |
|
419 |
The installation of translated man pages abuses Automake internals |
602 |
Also move cap_enter() to be the first step instead of the last one. |
420 |
by calling "install-man" with redefined dist_man_MANS and man_MANS. |
603 |
This matches the example in the cap_rights_limit(2) man page. With |
421 |
This makes the hairy script code slightly less hairy. If it breaks |
604 |
the current code it shouldn't make any practical difference though. |
422 |
some day, this code needs to be fixed; don't blame Automake developers. |
|
|
423 |
|
605 |
|
424 |
Also, this adds more quotes to the existing shell script code in |
606 |
Thanks to Xin Li for the bug report, suggesting a fix, and testing: |
425 |
the Makefile.am "-hook"s. |
607 |
https://github.com/tukaani-project/xz/pull/43 |
|
|
608 |
|
609 |
Thanks to Jia Tan for most of the original commits. |
426 |
|
610 |
|
427 |
Makefile.am | 4 ++++ |
611 |
src/xz/file_io.c | 15 ++++++++++++--- |
428 |
autogen.sh | 8 ++++--- |
612 |
1 file changed, 12 insertions(+), 3 deletions(-) |
429 |
po4a/.gitignore | 2 ++ |
|
|
430 |
po4a/po4a.conf | 14 +++++++++++ |
431 |
po4a/update-po | 45 ++++++++++++++++++++++++++++++++++ |
432 |
src/scripts/Makefile.am | 64 +++++++++++++++++++++++++++++++++++++------------ |
433 |
src/xz/Makefile.am | 50 +++++++++++++++++++++++++++----------- |
434 |
src/xzdec/Makefile.am | 55 ++++++++++++++++++++++++++++++++---------- |
435 |
8 files changed, 197 insertions(+), 45 deletions(-) |
436 |
|
613 |
|
437 |
commit 882fcfdcd86525cc5c6f6d0bf0230d0089206d13 |
614 |
commit 5d351c69c19d212ddd2cf1f3bdb24900820c6776 |
|
|
615 |
Author: Jia Tan <jiat0218@gmail.com> |
616 |
Date: 2023-02-04 21:06:35 +0800 |
617 |
|
618 |
Build: Adjust CMake version search regex. |
619 |
|
620 |
Now, the LZMA_VERSION_MAJOR, LZMA_VERSION_MINOR, and LZMA_VERSION_PATCH |
621 |
macros do not need to be on consecutive lines in version.h. They can be |
622 |
separated by more whitespace, comments, or even other content, as long |
623 |
as they appear in the proper order (major, minor, patch). |
624 |
|
625 |
CMakeLists.txt | 2 ++ |
626 |
1 file changed, 2 insertions(+) |
627 |
|
628 |
commit b82d4831e3f2339c4cdbc47776c99462088c11b7 |
629 |
Author: Jia Tan <jiat0218@gmail.com> |
630 |
Date: 2023-01-26 09:50:21 +0800 |
631 |
|
632 |
liblzma: Improve documentation for version.h. |
633 |
|
634 |
Specified parameter and return values for API functions and documented |
635 |
a few more of the macros. |
636 |
|
637 |
src/liblzma/api/lzma/version.h | 29 ++++++++++++++++++++++------- |
638 |
1 file changed, 22 insertions(+), 7 deletions(-) |
639 |
|
640 |
commit 2caba3efe3e0c2d7c6dca00e22c56812326a34e6 |
641 |
Author: Jia Tan <jiat0218@gmail.com> |
642 |
Date: 2023-02-24 23:46:23 +0800 |
643 |
|
644 |
liblzma: Clarify lzma_lzma_preset() documentation in lzma12.h. |
645 |
|
646 |
lzma_lzma_preset() does not guarentee that the lzma_options_lzma are |
647 |
usable in an encoder even if it returns false (success). If liblzma |
648 |
is built with default configurations, then the options will always be |
649 |
usable. However if the match finders hc3, hc4, or bt4 are disabled, then |
650 |
the options may not be usable depending on the preset level requested. |
651 |
|
652 |
The documentation was updated to reflect this complexity, since this |
653 |
behavior was unclear before. |
654 |
|
655 |
src/liblzma/api/lzma/lzma12.h | 5 +++++ |
656 |
1 file changed, 5 insertions(+) |
657 |
|
658 |
commit 594f904673ba55a833adfa60bbab6b60d4902d08 |
438 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
659 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
439 |
Date: 2020-02-06 00:04:42 +0200 |
660 |
Date: 2023-02-27 18:38:35 +0200 |
440 |
|
661 |
|
441 |
Update THANKS (sync with the master branch). |
662 |
CMake: Require that the C compiler supports C99 or a newer standard. |
|
|
663 |
|
664 |
Thanks to autoantwort for reporting the issue and suggesting |
665 |
a different patch: |
666 |
https://github.com/tukaani-project/xz/pull/42 |
442 |
|
667 |
|
443 |
THANKS | 3 +++ |
668 |
CMakeLists.txt | 8 ++++++++ |
444 |
1 file changed, 3 insertions(+) |
669 |
1 file changed, 8 insertions(+) |
445 |
|
670 |
|
446 |
commit 134bb7765815d5f265eb0bc9e6ebacd9ae4a52bc |
671 |
commit 88101143cb774bca6b7006c8335b09dc3f334140 |
|
|
672 |
Author: Jia Tan <jiat0218@gmail.com> |
673 |
Date: 2023-02-24 18:10:37 +0800 |
674 |
|
675 |
Tests: Small tweak to test-vli.c. |
676 |
|
677 |
The static global variables can be disabled if encoders and decoders |
678 |
are not built. If they are not disabled and -Werror is used, it will |
679 |
cause an usused warning as an error. |
680 |
|
681 |
tests/test_vli.c | 2 ++ |
682 |
1 file changed, 2 insertions(+) |
683 |
|
684 |
commit 4042dbf03a06e019ccdd1e9d1b94cf613d62d5a9 |
685 |
Author: Jia Tan <jiat0218@gmail.com> |
686 |
Date: 2023-02-06 21:46:43 +0800 |
687 |
|
688 |
liblzma: Replace '\n' -> newline in filter.h documentation. |
689 |
|
690 |
The '\n' renders as a newline when the comments are converted to html |
691 |
by Doxygen. |
692 |
|
693 |
src/liblzma/api/lzma/filter.h | 2 +- |
694 |
1 file changed, 1 insertion(+), 1 deletion(-) |
695 |
|
696 |
commit 3971f5c5024750ce8286891c6f79ae1661047483 |
697 |
Author: Jia Tan <jiat0218@gmail.com> |
698 |
Date: 2023-02-06 21:45:37 +0800 |
699 |
|
700 |
liblzma: Shorten return description for two functions in filter.h. |
701 |
|
702 |
Shorten the description for lzma_raw_encoder_memusage() and |
703 |
lzma_raw_decoder_memusage(). |
704 |
|
705 |
src/liblzma/api/lzma/filter.h | 8 ++------ |
706 |
1 file changed, 2 insertions(+), 6 deletions(-) |
707 |
|
708 |
commit 5e61b39432752b6cd1a7b518f0f9e4f0c3f0f242 |
709 |
Author: Jia Tan <jiat0218@gmail.com> |
710 |
Date: 2023-02-06 21:44:45 +0800 |
711 |
|
712 |
liblzma: Reword a few lines in filter.h |
713 |
|
714 |
src/liblzma/api/lzma/filter.h | 10 +++++----- |
715 |
1 file changed, 5 insertions(+), 5 deletions(-) |
716 |
|
717 |
commit 8a53533869defa1191b41f176a0312cb53a139e2 |
718 |
Author: Jia Tan <jiat0218@gmail.com> |
719 |
Date: 2023-02-06 21:35:06 +0800 |
720 |
|
721 |
liblzma: Improve documentation in filter.h. |
722 |
|
723 |
All functions now explicitly specify parameter and return values. |
724 |
The notes and code annotations were moved before the parameter and |
725 |
return value descriptions for consistency. |
726 |
|
727 |
Also, the description above lzma_filter_encoder_is_supported() about |
728 |
not being able to list available filters was removed since |
729 |
lzma_str_list_filters() will do this. |
730 |
|
731 |
src/liblzma/api/lzma/filter.h | 226 ++++++++++++++++++++++++++---------------- |
732 |
1 file changed, 143 insertions(+), 83 deletions(-) |
733 |
|
734 |
commit 6d05b08b17ac8cb93165ee8f310fdd925b0b258f |
447 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
735 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
448 |
Date: 2020-02-05 22:35:06 +0200 |
736 |
Date: 2023-02-23 20:46:16 +0200 |
449 |
|
737 |
|
450 |
Update tests/.gitignore. |
738 |
Update THANKS. |
451 |
|
739 |
|
452 |
.gitignore | 4 ++++ |
740 |
THANKS | 1 + |
453 |
1 file changed, 4 insertions(+) |
741 |
1 file changed, 1 insertion(+) |
454 |
|
742 |
|
455 |
commit 6912472fafb656be8f4c5b4ac9ea28fea3065de4 |
743 |
commit dfc9a54082e0fc7b3b796ea15336b5075acc79d5 |
456 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
744 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
457 |
Date: 2020-02-05 22:28:51 +0200 |
745 |
Date: 2023-02-21 22:57:10 +0200 |
458 |
|
746 |
|
459 |
Update m4/.gitignore. |
747 |
liblzma: Avoid null pointer + 0 (undefined behavior in C). |
|
|
748 |
|
749 |
In the C99 and C17 standards, section 6.5.6 paragraph 8 means that |
750 |
adding 0 to a null pointer is undefined behavior. As of writing, |
751 |
"clang -fsanitize=undefined" (Clang 15) diagnoses this. However, |
752 |
I'm not aware of any compiler that would take advantage of this |
753 |
when optimizing (Clang 15 included). It's good to avoid this anyway |
754 |
since compilers might some day infer that pointer arithmetic implies |
755 |
that the pointer is not NULL. That is, the following foo() would then |
756 |
unconditionally return 0, even for foo(NULL, 0): |
757 |
|
758 |
void bar(char *a, char *b); |
759 |
|
760 |
int foo(char *a, size_t n) |
761 |
{ |
762 |
bar(a, a + n); |
763 |
return a == NULL; |
764 |
} |
765 |
|
766 |
In contrast to C, C++ explicitly allows null pointer + 0. So if |
767 |
the above is compiled as C++ then there is no undefined behavior |
768 |
in the foo(NULL, 0) call. |
769 |
|
770 |
To me it seems that changing the C standard would be the sane |
771 |
thing to do (just add one sentence) as it would ensure that a huge |
772 |
amount of old code won't break in the future. Based on web searches |
773 |
it seems that a large number of codebases (where null pointer + 0 |
774 |
occurs) are being fixed instead to be future-proof in case compilers |
775 |
will some day optimize based on it (like making the above foo(NULL, 0) |
776 |
return 0) which in the worst case will cause security bugs. |
777 |
|
778 |
Some projects don't plan to change it. For example, gnulib and thus |
779 |
many GNU tools currently require that null pointer + 0 is defined: |
780 |
|
781 |
https://lists.gnu.org/archive/html/bug-gnulib/2021-11/msg00000.html |
782 |
|
783 |
https://www.gnu.org/software/gnulib/manual/html_node/Other-portability-assumptions.html |
784 |
|
785 |
In XZ Utils null pointer + 0 issue should be fixed after this |
786 |
commit. This adds a few if-statements and thus branches to avoid |
787 |
null pointer + 0. These check for size > 0 instead of ptr != NULL |
788 |
because this way bugs where size > 0 && ptr == NULL will likely |
789 |
get caught quickly. None of them are in hot spots so it shouldn't |
790 |
matter for performance. |
791 |
|
792 |
A little less readable version would be replacing |
793 |
|
794 |
ptr + offset |
795 |
|
796 |
with |
797 |
|
798 |
offset != 0 ? ptr + offset : ptr |
799 |
|
800 |
or creating a macro for it: |
801 |
|
802 |
#define my_ptr_add(ptr, offset) \ |
803 |
((offset) != 0 ? ((ptr) + (offset)) : (ptr)) |
804 |
|
805 |
Checking for offset != 0 instead of ptr != NULL allows GCC >= 8.1, |
806 |
Clang >= 7, and Clang-based ICX to optimize it to the very same code |
807 |
as ptr + offset. That is, it won't create a branch. So for hot code |
808 |
this could be a good solution to avoid null pointer + 0. Unfortunately |
809 |
other compilers like ICC 2021 or MSVC 19.33 (VS2022) will create a |
810 |
branch from my_ptr_add(). |
811 |
|
812 |
Thanks to Marcin Kowalczyk for reporting the problem: |
813 |
https://github.com/tukaani-project/xz/issues/36 |
460 |
|
814 |
|
461 |
m4/.gitignore | 1 + |
815 |
src/liblzma/common/block_decoder.c | 5 ++++- |
|
|
816 |
src/liblzma/common/block_encoder.c | 7 +++++-- |
817 |
src/liblzma/common/common.c | 20 ++++++++++++++------ |
818 |
src/liblzma/common/index_decoder.c | 13 ++++++++++--- |
819 |
src/liblzma/common/index_encoder.c | 11 +++++++++-- |
820 |
src/liblzma/common/index_hash.c | 13 ++++++++++--- |
821 |
src/liblzma/common/lzip_decoder.c | 6 +++++- |
822 |
src/liblzma/delta/delta_decoder.c | 7 ++++++- |
823 |
src/liblzma/delta/delta_encoder.c | 12 ++++++++++-- |
824 |
src/liblzma/simple/simple_coder.c | 6 ++++-- |
825 |
10 files changed, 77 insertions(+), 23 deletions(-) |
826 |
|
827 |
commit f6dce49cb656b358e2fb2a3032e35e20af34dc84 |
828 |
Author: Jia Tan <jiat0218@gmail.com> |
829 |
Date: 2023-02-07 00:00:44 +0800 |
830 |
|
831 |
liblzma: Adjust container.h for consistency with filter.h. |
832 |
|
833 |
src/liblzma/api/lzma/container.h | 20 +++++++++----------- |
834 |
1 file changed, 9 insertions(+), 11 deletions(-) |
835 |
|
836 |
commit 173d240bb4763aedc8c01df4d9c83e311d954c33 |
837 |
Author: Jia Tan <jiat0218@gmail.com> |
838 |
Date: 2023-02-07 00:00:09 +0800 |
839 |
|
840 |
liblzma: Fix small typos and reword a few things in filter.h. |
841 |
|
842 |
src/liblzma/api/lzma/container.h | 13 ++++++------- |
843 |
1 file changed, 6 insertions(+), 7 deletions(-) |
844 |
|
845 |
commit 17797bacde3f7264048ef0976c137a600148d6cf |
846 |
Author: Jia Tan <jiat0218@gmail.com> |
847 |
Date: 2023-02-06 23:42:08 +0800 |
848 |
|
849 |
liblzma: Convert list of flags in lzma_mt to bulleted list. |
850 |
|
851 |
src/liblzma/api/lzma/container.h | 9 ++++++--- |
852 |
1 file changed, 6 insertions(+), 3 deletions(-) |
853 |
|
854 |
commit 37da0e727161b401b8bfd8dccf163a4b2fc0460b |
855 |
Author: Jia Tan <jiat0218@gmail.com> |
856 |
Date: 2023-01-26 23:17:41 +0800 |
857 |
|
858 |
liblzma: Fix typo in documentation in container.h |
859 |
|
860 |
lzma_microlzma_decoder -> lzma_microlzma_encoder |
861 |
|
862 |
src/liblzma/api/lzma/container.h | 2 +- |
863 |
1 file changed, 1 insertion(+), 1 deletion(-) |
864 |
|
865 |
commit b8331077c626e6bf14f4671d09b561146eaf816a |
866 |
Author: Jia Tan <jiat0218@gmail.com> |
867 |
Date: 2023-01-26 23:16:34 +0800 |
868 |
|
869 |
liblzma: Improve documentation for container.h |
870 |
|
871 |
Standardizing each function to always specify parameters and return |
872 |
values. Also moved the parameters and return values to the end of each |
873 |
function description. |
874 |
|
875 |
src/liblzma/api/lzma/container.h | 146 +++++++++++++++++++++++++-------------- |
876 |
1 file changed, 93 insertions(+), 53 deletions(-) |
877 |
|
878 |
commit b9a3511bb61d3b6ce49abd33dce6155a573f5272 |
879 |
Author: Jia Tan <jiat0218@gmail.com> |
880 |
Date: 2023-02-22 20:59:41 +0800 |
881 |
|
882 |
CMake: Add LZIP decoder test to list of tests. |
883 |
|
884 |
CMakeLists.txt | 1 + |
462 |
1 file changed, 1 insertion(+) |
885 |
1 file changed, 1 insertion(+) |
463 |
|
886 |
|
464 |
commit 68c60735bbb6e51d4205ba8a9fde307bcfb22f8c |
887 |
commit cd82ef2fb48b174c57cd03b84a9a0f978772cb89 |
465 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
888 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
466 |
Date: 2020-02-05 20:47:38 +0200 |
889 |
Date: 2023-02-17 20:56:49 +0200 |
467 |
|
890 |
|
468 |
Update THANKS. |
891 |
Update THANKS. |
469 |
|
892 |
|
470 |
THANKS | 1 + |
893 |
THANKS | 1 + |
471 |
1 file changed, 1 insertion(+) |
894 |
1 file changed, 1 insertion(+) |
472 |
|
895 |
|
473 |
commit e1beaa74bc7cb5a409d59b55870e01ae7784ce3a |
896 |
commit 076e911ba25cadf2cbdfbd0f65991a002e210c0b |
474 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
897 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
475 |
Date: 2020-02-05 20:33:50 +0200 |
898 |
Date: 2023-02-17 20:48:28 +0200 |
476 |
|
899 |
|
477 |
xz: Comment out annoying sandboxing messages. |
900 |
Build: Use only the generic symbol versioning on MicroBlaze. |
|
|
901 |
|
902 |
On MicroBlaze, GCC 12 is broken in sense that |
903 |
__has_attribute(__symver__) returns true but it still doesn't |
904 |
support the __symver__ attribute even though the platform is ELF |
905 |
and symbol versioning is supported if using the traditional |
906 |
__asm__(".symver ...") method. Avoiding the traditional method is |
907 |
good because it breaks LTO (-flto) builds with GCC. |
908 |
|
909 |
See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101766 |
910 |
|
911 |
For now the only extra symbols in liblzma_linux.map are the |
912 |
compatibility symbols with the patch that spread from RHEL/CentOS 7. |
913 |
These require the use of __symver__ attribute or __asm__(".symver ...") |
914 |
in the C code. Compatibility with the patch from CentOS 7 doesn't |
915 |
seem valuable on MicroBlaze so use liblzma_generic.map on MicroBlaze |
916 |
instead. It doesn't require anything special in the C code and thus |
917 |
no LTO issues either. |
918 |
|
919 |
An alternative would be to detect support for __symver__ |
920 |
attribute in configure.ac and CMakeLists.txt and fall back |
921 |
to __asm__(".symver ...") but then LTO would be silently broken |
922 |
on MicroBlaze. It sounds likely that MicroBlaze is a special |
923 |
case so let's treat it as a such because that is simpler. If |
924 |
a similar issue exists on some other platform too then hopefully |
925 |
someone will report it and this can be reconsidered. |
926 |
|
927 |
(This doesn't do the same fix in CMakeLists.txt. Perhaps it should |
928 |
but perhaps CMake build of liblzma doesn't matter much on MicroBlaze. |
929 |
The problem breaks the build so it's easy to notice and can be fixed |
930 |
later.) |
931 |
|
932 |
Thanks to Vincent Fazio for reporting the problem and proposing |
933 |
a patch (in the end that solution wasn't used): |
934 |
https://github.com/tukaani-project/xz/pull/32 |
478 |
|
935 |
|
479 |
src/xz/file_io.c | 10 +++++++--- |
936 |
configure.ac | 12 ++++++++++-- |
480 |
1 file changed, 7 insertions(+), 3 deletions(-) |
937 |
1 file changed, 10 insertions(+), 2 deletions(-) |
481 |
|
938 |
|
482 |
commit 8238192652290df78bd728b20e3f6542d1a2819e |
939 |
commit bc34e5ac9996667d2c1ec9a7895ec5931ac4caea |
483 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
940 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
484 |
Date: 2020-02-05 19:33:37 +0200 |
941 |
Date: 2023-02-16 21:09:00 +0200 |
485 |
|
942 |
|
486 |
Build: Workaround a POSIX shell detection problem on Solaris. |
943 |
liblzma: Very minor API doc tweaks. |
487 |
|
944 |
|
488 |
I don't know if the problem is in gnulib's gl_POSIX_SHELL macro |
945 |
Use "member" to refer to struct members as that's the term used |
489 |
or if xzgrep does something that isn't in POSIX. The workaround |
946 |
by the C standard. |
490 |
adds a special case for Solaris: if /usr/xpg4/bin/sh exists and |
947 |
|
491 |
gl_cv_posix_shell wasn't overriden on the configure command line, |
948 |
Use lzma_options_delta.dist and such in docs so that in Doxygen's |
492 |
use that shell for xzgrep and other scripts. That shell is known |
949 |
HTML output they will link to the doc of the struct member. |
493 |
to work and exists on most Solaris systems. |
950 |
|
|
|
951 |
Clean up a few trailing white spaces too. |
494 |
|
952 |
|
495 |
configure.ac | 10 ++++++++++ |
953 |
src/liblzma/api/lzma/block.h | 6 +++--- |
496 |
1 file changed, 10 insertions(+) |
954 |
src/liblzma/api/lzma/delta.h | 6 +++--- |
|
|
955 |
src/liblzma/api/lzma/index.h | 10 +++++----- |
956 |
src/liblzma/api/lzma/stream_flags.h | 6 +++--- |
957 |
4 files changed, 14 insertions(+), 14 deletions(-) |
497 |
|
958 |
|
498 |
commit 93a1f61e892e145607dd938e3b30098af19a1672 |
959 |
commit d31fbd28be5b79eb682db50004b0fb7aad5299ec |
499 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
960 |
Author: Jia Tan <jiat0218@gmail.com> |
500 |
Date: 2020-02-03 22:03:50 +0200 |
961 |
Date: 2023-02-17 00:54:33 +0800 |
501 |
|
962 |
|
502 |
Build: Update m4/ax_pthread.m4 from Autoconf Archive. |
963 |
liblzma: Adjust spacing in doc headers in bcj.h. |
503 |
|
964 |
|
504 |
m4/ax_pthread.m4 | 398 ++++++++++++++++++++++++++++++++++++++----------------- |
965 |
src/liblzma/api/lzma/bcj.h | 14 +++++++------- |
505 |
1 file changed, 279 insertions(+), 119 deletions(-) |
966 |
1 file changed, 7 insertions(+), 7 deletions(-) |
506 |
|
967 |
|
507 |
commit d0daa21792ff861e5423bbd82aaa6c8ba9fa0462 |
968 |
commit 701e9be6bede19771895f756082db0c017f86f07 |
|
|
969 |
Author: Jia Tan <jiat0218@gmail.com> |
970 |
Date: 2023-02-17 00:44:44 +0800 |
971 |
|
972 |
liblzma: Adjust documentation in bcj.h for consistent style. |
973 |
|
974 |
src/liblzma/api/lzma/bcj.h | 43 ++++++++++++++++++++++--------------------- |
975 |
1 file changed, 22 insertions(+), 21 deletions(-) |
976 |
|
977 |
commit 762c4d0b62d2694cf3a01e030fdfe68e09e7b503 |
978 |
Author: Jia Tan <jiat0218@gmail.com> |
979 |
Date: 2023-02-17 00:36:05 +0800 |
980 |
|
981 |
liblzma: Rename field => member in documentation. |
982 |
|
983 |
Also adjusted preset value => preset level. |
984 |
|
985 |
src/liblzma/api/lzma/base.h | 18 +++++++-------- |
986 |
src/liblzma/api/lzma/block.h | 44 ++++++++++++++++++------------------- |
987 |
src/liblzma/api/lzma/container.h | 26 +++++++++++----------- |
988 |
src/liblzma/api/lzma/delta.h | 12 +++++----- |
989 |
src/liblzma/api/lzma/index.h | 30 ++++++++++++------------- |
990 |
src/liblzma/api/lzma/lzma12.h | 28 +++++++++++------------ |
991 |
src/liblzma/api/lzma/stream_flags.h | 32 +++++++++++++-------------- |
992 |
7 files changed, 95 insertions(+), 95 deletions(-) |
993 |
|
994 |
commit 0ce1db0223854d94b4a0d17737ac0486a75d9e6a |
508 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
995 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
509 |
Date: 2020-02-01 19:56:18 +0200 |
996 |
Date: 2023-02-16 17:59:50 +0200 |
510 |
|
997 |
|
511 |
xz: Limit --memlimit-compress to at most 4020 MiB for 32-bit xz. |
998 |
liblzma: Silence a warning from MSVC. |
512 |
|
999 |
|
513 |
See the code comment for reasoning. It's far from perfect but |
1000 |
It gives C4146 here since unary minus with unsigned integer |
514 |
hopefully good enough for certain cases while hopefully doing |
1001 |
is still unsigned (which is the intention here). Doing it |
515 |
nothing bad in other situations. |
1002 |
with substraction makes it clearer and avoids the warning. |
516 |
|
1003 |
|
517 |
At presets -5 ... -9, 4020 MiB vs. 4096 MiB makes no difference |
1004 |
Thanks to Nathan Moinvaziri for reporting this. |
518 |
on how xz scales down the number of threads. |
1005 |
|
|
|
1006 |
src/liblzma/check/crc64_fast.c | 2 +- |
1007 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1008 |
|
1009 |
commit d83da006b3e8dbad9112e6cde6b27049d193c9ec |
1010 |
Author: Jia Tan <jiat0218@gmail.com> |
1011 |
Date: 2023-02-16 21:04:54 +0800 |
1012 |
|
1013 |
liblzma: Improve documentation for stream_flags.h |
519 |
|
1014 |
|
520 |
The limit has to be a few MiB below 4096 MiB because otherwise |
1015 |
Standardizing each function to always specify parameters and return |
521 |
things like "xz --lzma2=dict=500MiB" won't scale down the dict |
1016 |
values. Also moved the parameters and return values to the end of each |
522 |
size enough and xz cannot allocate enough memory. With |
1017 |
function description. |
523 |
"ulimit -v $((4096 * 1024))" on x86-64, the limit in xz had |
|
|
524 |
to be no more than 4085 MiB. Some safety margin is good though. |
525 |
|
1018 |
|
526 |
This is hack but it should be useful when running 32-bit xz on |
1019 |
A few small things were reworded and long sentences broken up. |
527 |
a 64-bit kernel that gives full 4 GiB address space to xz. |
1020 |
|
528 |
Hopefully this is enough to solve this: |
1021 |
src/liblzma/api/lzma/stream_flags.h | 76 ++++++++++++++++++++++--------------- |
|
|
1022 |
1 file changed, 46 insertions(+), 30 deletions(-) |
1023 |
|
1024 |
commit 2796bb4736f645d34939b5d62d5958f534e41e69 |
1025 |
Author: Jia Tan <jiat0218@gmail.com> |
1026 |
Date: 2023-02-14 21:50:16 +0800 |
1027 |
|
1028 |
liblzma: Improve documentation in lzma12.h. |
529 |
|
1029 |
|
530 |
https://bugzilla.redhat.com/show_bug.cgi?id=1196786 |
1030 |
All functions now explicitly specify parameter and return values. |
|
|
1031 |
|
1032 |
src/liblzma/api/lzma/lzma12.h | 32 +++++++++++++++++++++++--------- |
1033 |
1 file changed, 23 insertions(+), 9 deletions(-) |
1034 |
|
1035 |
commit ebebaa8d9381afea440eb1b01917117551adf68f |
1036 |
Author: Jia Tan <jiat0218@gmail.com> |
1037 |
Date: 2023-01-27 22:44:06 +0800 |
1038 |
|
1039 |
liblzma: Improve documentation in check.h. |
531 |
|
1040 |
|
532 |
FreeBSD has a patch that limits the result in tuklib_physmem() |
1041 |
All functions now explicitly specify parameter and return values. |
533 |
to SIZE_MAX on 32-bit systems. While I think it's not the way |
1042 |
Also moved the note about SHA-256 functions not being exported to the |
534 |
to do it, the results on --memlimit-compress have been good. This |
1043 |
top of the file. |
535 |
commit should achieve practically identical results for compression |
|
|
536 |
while leaving decompression and tuklib_physmem() and thus |
537 |
lzma_physmem() unaffected. |
538 |
|
1044 |
|
539 |
src/xz/hardware.c | 32 +++++++++++++++++++++++++++++++- |
1045 |
src/liblzma/api/lzma/check.h | 41 ++++++++++++++++++++++++++++------------- |
540 |
src/xz/xz.1 | 21 ++++++++++++++++++++- |
1046 |
1 file changed, 28 insertions(+), 13 deletions(-) |
541 |
2 files changed, 51 insertions(+), 2 deletions(-) |
|
|
542 |
|
1047 |
|
543 |
commit 4433c2dc5727ee6aef570e001a5a024e0d94e609 |
1048 |
commit 765fa2865aab97ea713c1715922e322b3cf599a7 |
544 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1049 |
Author: Jia Tan <jiat0218@gmail.com> |
545 |
Date: 2020-01-26 20:53:25 +0200 |
1050 |
Date: 2023-02-08 21:33:52 +0800 |
546 |
|
1051 |
|
547 |
xz: Set the --flush-timeout deadline when the first input byte arrives. |
1052 |
liblzma: Improve documentation in index.h |
548 |
|
1053 |
|
549 |
xz --flush-timeout=2000, old version: |
1054 |
All functions now explicitly specify parameter and return values. |
|
|
1055 |
|
1056 |
src/liblzma/api/lzma/index.h | 177 ++++++++++++++++++++++++++++++------------- |
1057 |
1 file changed, 126 insertions(+), 51 deletions(-) |
1058 |
|
1059 |
commit 918e208af5960728b6def01e692b395f7d8e3701 |
1060 |
Author: Jia Tan <jiat0218@gmail.com> |
1061 |
Date: 2023-02-08 20:35:32 +0800 |
1062 |
|
1063 |
liblzma: Reword a comment in index.h. |
1064 |
|
1065 |
src/liblzma/api/lzma/index.h | 4 ++-- |
1066 |
1 file changed, 2 insertions(+), 2 deletions(-) |
1067 |
|
1068 |
commit 1f157d214bc09338876d2467b549935679abc0bf |
1069 |
Author: Jia Tan <jiat0218@gmail.com> |
1070 |
Date: 2023-02-08 20:30:23 +0800 |
1071 |
|
1072 |
liblzma: Omit lzma_index_iter's internal field from Doxygen docs. |
550 |
|
1073 |
|
551 |
1. xz is started. The next flush will happen after two seconds. |
1074 |
Add \private above this field and its sub-fields since it is not meant |
552 |
2. No input for one second. |
1075 |
to be modified by users. |
553 |
3. A burst of a few kilobytes of input. |
1076 |
|
554 |
4. No input for one second. |
1077 |
src/liblzma/api/lzma/index.h | 9 ++++++++- |
555 |
5. Two seconds have passed and flushing starts. |
1078 |
1 file changed, 8 insertions(+), 1 deletion(-) |
|
|
1079 |
|
1080 |
commit 28757fa46d8e0f0a9c17628b2b6af9bcb3cd96fc |
1081 |
Author: Jia Tan <jiat0218@gmail.com> |
1082 |
Date: 2023-01-21 21:32:03 +0800 |
1083 |
|
1084 |
liblzma: Fix documentation for LZMA_MEMLIMIT_ERROR. |
556 |
|
1085 |
|
557 |
The first second counted towards the flush-timeout even though |
1086 |
LZMA_MEMLIMIT_ERROR was missing the "<" character needed to put |
558 |
there was no pending data. This can cause flushing to occur more |
1087 |
documentation after a member. |
559 |
often than needed. |
1088 |
|
|
|
1089 |
src/liblzma/api/lzma/base.h | 2 +- |
1090 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1091 |
|
1092 |
commit 135d5a1a65a9e199b9a5550c1f788cf43cd81018 |
1093 |
Author: Jia Tan <jiat0218@gmail.com> |
1094 |
Date: 2023-01-21 00:29:38 +0800 |
1095 |
|
1096 |
liblzma: Improve documentation for base.h. |
560 |
|
1097 |
|
561 |
xz --flush-timeout=2000, after this commit: |
1098 |
Standardizing each function to always specify params and return values. |
|
|
1099 |
Also fixed a small grammar mistake. |
1100 |
|
1101 |
src/liblzma/api/lzma/base.h | 30 +++++++++++++++++++++++++----- |
1102 |
1 file changed, 25 insertions(+), 5 deletions(-) |
1103 |
|
1104 |
commit 2287d5668384e289d51e72724997dc920483768e |
1105 |
Author: Jia Tan <jiat0218@gmail.com> |
1106 |
Date: 2023-02-14 00:08:33 +0800 |
1107 |
|
1108 |
liblzma: Minor improvements to vli.h. |
562 |
|
1109 |
|
563 |
1. xz is started. |
1110 |
Added [out] annotations to parameters that are pointers and can have |
564 |
2. No input for one second. |
1111 |
their value changed. Also added a clarification to lzma_vli_is_valid. |
565 |
3. A burst of a few kilobytes of input. The next flush will |
|
|
566 |
happen after two seconds counted from the time when the |
567 |
first bytes of the burst were read. |
568 |
4. No input for one second. |
569 |
5. No input for another second. |
570 |
6. Two seconds have passed and flushing starts. |
571 |
|
1112 |
|
572 |
src/xz/coder.c | 6 +----- |
1113 |
src/liblzma/api/lzma/vli.h | 15 ++++++++------- |
573 |
src/xz/file_io.c | 6 +++++- |
1114 |
1 file changed, 8 insertions(+), 7 deletions(-) |
574 |
src/xz/mytime.c | 1 - |
|
|
575 |
3 files changed, 6 insertions(+), 7 deletions(-) |
576 |
|
1115 |
|
577 |
commit acc0ef3ac80f18e349c6d0252177707105c0a29c |
1116 |
commit 7124b8a16ae60cb2e93218ff531868eebd673bde |
578 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1117 |
Author: Jia Tan <jiat0218@gmail.com> |
579 |
Date: 2020-01-26 20:19:19 +0200 |
1118 |
Date: 2023-02-10 21:38:02 +0800 |
580 |
|
1119 |
|
581 |
xz: Move flush_needed from mytime.h to file_pair struct in file_io.h. |
1120 |
liblzma: Add comments for macros in delta.h. |
|
|
1121 |
|
1122 |
Document LZMA_DELTA_DIST_MIN and LZMA_DELTA_DIST_MAX for completeness |
1123 |
and to avoid Doxygen warnings. |
582 |
|
1124 |
|
583 |
src/xz/coder.c | 3 ++- |
1125 |
src/liblzma/api/lzma/delta.h | 8 ++++++++ |
584 |
src/xz/file_io.c | 3 ++- |
1126 |
1 file changed, 8 insertions(+) |
585 |
src/xz/file_io.h | 3 +++ |
|
|
586 |
src/xz/mytime.c | 3 --- |
587 |
src/xz/mytime.h | 4 ---- |
588 |
5 files changed, 7 insertions(+), 9 deletions(-) |
589 |
|
1127 |
|
590 |
commit 4afe69d30b66812682a2016ee18441958019cbb2 |
1128 |
commit 59c7bb8931159fdb1a31bbbeaed0e6984e2d3c81 |
591 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1129 |
Author: Jia Tan <jiat0218@gmail.com> |
592 |
Date: 2020-01-26 14:49:22 +0200 |
1130 |
Date: 2023-02-10 21:35:23 +0800 |
593 |
|
1131 |
|
594 |
xz: coder.c: Make writing output a separate function. |
1132 |
liblzma: Improve documentation in index_hash.h. |
595 |
|
1133 |
|
596 |
The same code sequence repeats so it's nicer as a separate function. |
1134 |
All functions now explicitly specify parameter and return values. |
597 |
Note that in one case there was no test for opt_mode != MODE_TEST, |
1135 |
Also reworded the description of lzma_index_hash_init() for readability. |
598 |
but that was only because that condition would always be true, so |
|
|
599 |
this commit doesn't change the behavior there. |
600 |
|
1136 |
|
601 |
src/xz/coder.c | 30 +++++++++++++++++------------- |
1137 |
src/liblzma/api/lzma/index_hash.h | 36 +++++++++++++++++++++++++++--------- |
602 |
1 file changed, 17 insertions(+), 13 deletions(-) |
1138 |
1 file changed, 27 insertions(+), 9 deletions(-) |
603 |
|
1139 |
|
604 |
commit ec26f3ace5f9b260ca91508030f07465ae2f9f78 |
1140 |
commit e970c28ac3cb2e8051925f81db2fe953664c2645 |
605 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1141 |
Author: Jia Tan <jiat0218@gmail.com> |
606 |
Date: 2020-01-26 14:13:42 +0200 |
1142 |
Date: 2023-02-03 00:33:32 +0800 |
607 |
|
1143 |
|
608 |
xz: Fix semi-busy-waiting in xz --flush-timeout. |
1144 |
liblzma: Fix bug in lzma_str_from_filters() not checking filters[] length. |
609 |
|
1145 |
|
610 |
When input blocked, xz --flush-timeout=1 would wake up every |
1146 |
The bug is only a problem in applications that do not properly terminate |
611 |
millisecond and initiate flushing which would have nothing to |
1147 |
the filters[] array with LZMA_VLI_UNKNOWN or have more than |
612 |
flush and thus would just waste CPU time. The fix disables the |
1148 |
LZMA_FILTERS_MAX filters. This bug does not affect xz. |
613 |
timeout when no input has been seen since the previous flush. |
|
|
614 |
|
1149 |
|
615 |
src/xz/coder.c | 4 ++++ |
1150 |
src/liblzma/common/string_conversion.c | 7 +++++++ |
616 |
src/xz/file_io.c | 15 +++++++++++---- |
1151 |
1 file changed, 7 insertions(+) |
617 |
src/xz/file_io.h | 4 ++++ |
|
|
618 |
3 files changed, 19 insertions(+), 4 deletions(-) |
619 |
|
1152 |
|
620 |
commit 38915703241e69a64f133ff9a02ec9100c6019c6 |
1153 |
commit 85e01266a96689448abb249da6c6abc3afcd4a4e |
621 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1154 |
Author: Jia Tan <jiat0218@gmail.com> |
622 |
Date: 2020-01-26 13:47:31 +0200 |
1155 |
Date: 2023-02-03 00:32:47 +0800 |
623 |
|
1156 |
|
624 |
xz: Refactor io_read() a bit. |
1157 |
Tests: Create test_filter_str.c. |
|
|
1158 |
|
1159 |
Tests lzma_str_to_filters(), lzma_str_from_filters(), and |
1160 |
lzma_str_list_filters() API functions. |
625 |
|
1161 |
|
626 |
src/xz/file_io.c | 17 ++++++++--------- |
1162 |
CMakeLists.txt | 1 + |
627 |
1 file changed, 8 insertions(+), 9 deletions(-) |
1163 |
tests/Makefile.am | 2 + |
|
|
1164 |
tests/test_filter_str.c | 593 ++++++++++++++++++++++++++++++++++++++++++++++++ |
1165 |
3 files changed, 596 insertions(+) |
628 |
|
1166 |
|
629 |
commit f6d24245349cecfae6ec0d2366fa80716c9f6d37 |
1167 |
commit 3fa0f3ba12dd3383f62dbfa18a864f9b4217fa0a |
630 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1168 |
Author: Jia Tan <jiat0218@gmail.com> |
631 |
Date: 2020-01-26 13:37:08 +0200 |
1169 |
Date: 2023-01-22 08:49:00 +0800 |
632 |
|
1170 |
|
633 |
xz: Update a comment in file_io.h. |
1171 |
liblzma: Fix typos in comments in string_conversion.c. |
634 |
|
1172 |
|
635 |
src/xz/file_io.h | 5 ++++- |
1173 |
src/liblzma/common/string_conversion.c | 4 ++-- |
636 |
1 file changed, 4 insertions(+), 1 deletion(-) |
1174 |
1 file changed, 2 insertions(+), 2 deletions(-) |
637 |
|
1175 |
|
638 |
commit 15b55d5c63d27f81776edb1abc05872a751fc674 |
1176 |
commit 32dbe045d74e94f75c53236fa2a6c0454d7b6d9e |
639 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1177 |
Author: Jia Tan <jiat0218@gmail.com> |
640 |
Date: 2020-01-26 13:27:51 +0200 |
1178 |
Date: 2023-02-03 00:20:20 +0800 |
641 |
|
1179 |
|
642 |
xz: Move the setting of flush_needed in file_io.c to a nicer location. |
1180 |
liblzma: Clarify block encoder and decoder documentation. |
|
|
1181 |
|
1182 |
Added a few sentences to the description for lzma_block_encoder() and |
1183 |
lzma_block_decoder() to highlight that the Block Header must be coded |
1184 |
before calling these functions. |
643 |
|
1185 |
|
644 |
src/xz/file_io.c | 6 ++---- |
1186 |
src/liblzma/api/lzma/block.h | 15 +++++++++++---- |
645 |
1 file changed, 2 insertions(+), 4 deletions(-) |
1187 |
1 file changed, 11 insertions(+), 4 deletions(-) |
646 |
|
1188 |
|
647 |
commit 609c7067859146ffc62ac655f6ba53599c891801 |
1189 |
commit ccf12acbfa7331b1bbb99ec55879186eb35f879f |
648 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1190 |
Author: Jia Tan <jiat0218@gmail.com> |
649 |
Date: 2020-02-05 19:56:09 +0200 |
1191 |
Date: 2023-02-03 00:12:24 +0800 |
650 |
|
1192 |
|
651 |
xz: Enable Capsicum sandboxing by default if available. |
1193 |
Update lzma_block documentation for lzma_block_uncomp_encode(). |
|
|
1194 |
|
1195 |
src/liblzma/api/lzma/block.h | 3 +++ |
1196 |
1 file changed, 3 insertions(+) |
1197 |
|
1198 |
commit 6a0b168dd9dc1ef437255c4bfdc6eff8b96fdb24 |
1199 |
Author: Jia Tan <jiat0218@gmail.com> |
1200 |
Date: 2023-02-03 00:11:37 +0800 |
1201 |
|
1202 |
liblzma: Minor edits to lzma_block header_size documentation. |
1203 |
|
1204 |
src/liblzma/api/lzma/block.h | 3 ++- |
1205 |
1 file changed, 2 insertions(+), 1 deletion(-) |
1206 |
|
1207 |
commit 84ce36f90e68471fec1f0e61cd93ac7ed9ab4883 |
1208 |
Author: Jia Tan <jiat0218@gmail.com> |
1209 |
Date: 2023-02-03 00:11:07 +0800 |
1210 |
|
1211 |
liblzma: Enumerate functions that read version in lzma_block. |
1212 |
|
1213 |
src/liblzma/api/lzma/block.h | 13 +++++++++++-- |
1214 |
1 file changed, 11 insertions(+), 2 deletions(-) |
1215 |
|
1216 |
commit d6620774682830d606f57109861b6763805b3492 |
1217 |
Author: Jia Tan <jiat0218@gmail.com> |
1218 |
Date: 2023-02-03 00:10:34 +0800 |
1219 |
|
1220 |
liblzma: Clarify comment in block.h. |
1221 |
|
1222 |
src/liblzma/api/lzma/block.h | 3 ++- |
1223 |
1 file changed, 2 insertions(+), 1 deletion(-) |
1224 |
|
1225 |
commit 880adb5aa25f66a53d81c2f3acc716f7a4d373d1 |
1226 |
Author: Jia Tan <jiat0218@gmail.com> |
1227 |
Date: 2023-02-03 00:07:23 +0800 |
1228 |
|
1229 |
liblzma: Improve documentation for block.h. |
652 |
|
1230 |
|
653 |
It has been enabled in FreeBSD for a while and reported to work fine. |
1231 |
Standardizing each function to always specify params and return values. |
|
|
1232 |
Output pointer parameters are also marked with doxygen style [out] to |
1233 |
make it clear. Any note sections were also moved above the parameter and |
1234 |
return sections for consistency. |
1235 |
|
1236 |
src/liblzma/api/lzma/block.h | 96 ++++++++++++++++++++++++++++++++++---------- |
1237 |
1 file changed, 75 insertions(+), 21 deletions(-) |
1238 |
|
1239 |
commit b5b1b1f061c342271e4977ce5cba604a19c0ca52 |
1240 |
Author: Jia Tan <jiat0218@gmail.com> |
1241 |
Date: 2023-02-01 23:38:30 +0800 |
1242 |
|
1243 |
liblzma: Clarify a comment about LZMA_STR_NO_VALIDATION. |
654 |
|
1244 |
|
655 |
Thanks to Xin Li. |
1245 |
The flag description for LZMA_STR_NO_VALIDATION was previously confusing |
|
|
1246 |
about the treatment for filters than cannot be used with .xz format |
1247 |
(lzma1) without using LZMA_STR_ALL_FILTERS. Now, it is clear that |
1248 |
LZMA_STR_NO_VALIDATION is not a super set of LZMA_STR_ALL_FILTERS. |
656 |
|
1249 |
|
657 |
INSTALL | 6 ------ |
1250 |
src/liblzma/api/lzma/filter.h | 5 +++-- |
658 |
configure.ac | 8 ++++---- |
1251 |
1 file changed, 3 insertions(+), 2 deletions(-) |
659 |
2 files changed, 4 insertions(+), 10 deletions(-) |
|
|
660 |
|
1252 |
|
661 |
commit 00517d125cc26ecece0eebb84c1c3975cd19bee0 |
1253 |
commit e904e778b82b14f2779aab80d6c8f3c01a3fc54b |
662 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1254 |
Author: Jia Tan <jiat0218@gmail.com> |
663 |
Date: 2019-12-31 22:41:45 +0200 |
1255 |
Date: 2023-01-27 20:14:51 +0800 |
664 |
|
1256 |
|
665 |
Rename unaligned_read32ne to read32ne, and similarly for the others. |
1257 |
Translations: Add Brazilian Portuguese translation of man pages. |
|
|
1258 |
|
1259 |
Thanks to Rafael Fontenelle. |
666 |
|
1260 |
|
667 |
src/common/tuklib_integer.h | 64 +++++++++++++++---------------- |
1261 |
po4a/po4a.conf | 2 +- |
668 |
src/liblzma/common/alone_encoder.c | 2 +- |
1262 |
po4a/pt_BR.po | 3677 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
669 |
src/liblzma/common/block_header_decoder.c | 2 +- |
1263 |
2 files changed, 3678 insertions(+), 1 deletion(-) |
670 |
src/liblzma/common/block_header_encoder.c | 2 +- |
|
|
671 |
src/liblzma/common/memcmplen.h | 9 ++--- |
672 |
src/liblzma/common/stream_flags_decoder.c | 6 +-- |
673 |
src/liblzma/common/stream_flags_encoder.c | 8 ++-- |
674 |
src/liblzma/lz/lz_encoder_hash.h | 2 +- |
675 |
src/liblzma/lzma/lzma_decoder.c | 2 +- |
676 |
src/liblzma/lzma/lzma_encoder.c | 2 +- |
677 |
src/liblzma/lzma/lzma_encoder_private.h | 3 +- |
678 |
src/liblzma/simple/simple_decoder.c | 2 +- |
679 |
src/liblzma/simple/simple_encoder.c | 2 +- |
680 |
tests/test_block_header.c | 4 +- |
681 |
tests/test_stream_flags.c | 6 +-- |
682 |
15 files changed, 54 insertions(+), 62 deletions(-) |
683 |
|
1264 |
|
684 |
commit 52d89d8443c4a31a69c0701062f2c7711d82bbed |
1265 |
commit e9c47e79c9584ba1126f5fa0dbe6c96e67411aa6 |
685 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1266 |
Author: Jia Tan <jiat0218@gmail.com> |
686 |
Date: 2019-12-31 00:29:48 +0200 |
1267 |
Date: 2023-01-24 20:48:50 +0800 |
687 |
|
1268 |
|
688 |
Rename read32ne to aligned_read32ne, and similarly for the others. |
1269 |
liblzma: Fix documentation in filter.h for lzma_str_to_filters() |
689 |
|
1270 |
|
690 |
Using the aligned methods requires more care to ensure that |
1271 |
The previous documentation for lzma_str_to_filters() was technically |
691 |
the address really is aligned, so it's nicer if the aligned |
1272 |
correct, but misleading. lzma_str_to_filters() returns NULL on success, |
692 |
methods are prefixed. The next commit will remove the unaligned_ |
1273 |
which is in practice always defined to 0. This is the same value as |
693 |
prefix from the unaligned methods which in liblzma are used in |
1274 |
LZMA_OK, but lzma_str_to_filters() does not return lzma_ret so we should |
694 |
more places than the aligned ones. |
1275 |
be more clear. |
695 |
|
1276 |
|
696 |
src/common/tuklib_integer.h | 56 +++++++++++++++++++++--------------------- |
1277 |
src/liblzma/api/lzma/filter.h | 2 +- |
697 |
src/liblzma/check/crc32_fast.c | 4 +-- |
1278 |
1 file changed, 1 insertion(+), 1 deletion(-) |
698 |
src/liblzma/check/crc64_fast.c | 4 +-- |
|
|
699 |
3 files changed, 32 insertions(+), 32 deletions(-) |
700 |
|
1279 |
|
701 |
commit 850620468b57d49f16093e5870d1050886fcb37a |
1280 |
commit 99575947a58a60416c570eb78038d18a1ea4cef4 |
702 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1281 |
Author: Jia Tan <jiat0218@gmail.com> |
703 |
Date: 2019-12-31 00:18:24 +0200 |
1282 |
Date: 2023-01-07 21:55:06 +0800 |
704 |
|
1283 |
|
705 |
Revise tuklib_integer.h and .m4. |
1284 |
xz: Refactor duplicated check for custom suffix when using --format=raw |
|
|
1285 |
|
1286 |
src/xz/args.c | 8 ++++++++ |
1287 |
src/xz/suffix.c | 26 ++++++++------------------ |
1288 |
src/xz/suffix.h | 8 ++++++++ |
1289 |
3 files changed, 24 insertions(+), 18 deletions(-) |
1290 |
|
1291 |
commit 76dec92fcca4a9ccd2063ed6d5d9e3474665baad |
1292 |
Author: Jia Tan <jiat0218@gmail.com> |
1293 |
Date: 2023-01-20 21:53:14 +0800 |
1294 |
|
1295 |
liblzma: Set documentation on all reserved fields to private. |
706 |
|
1296 |
|
707 |
Add a configure option --enable-unsafe-type-punning to get the |
1297 |
This prevents the reserved fields from being part of the generated |
708 |
old non-conforming memory access methods. It can be useful with |
1298 |
Doxygen documentation. |
709 |
old compilers or in some other less typical situations but |
1299 |
|
710 |
shouldn't normally be used. |
1300 |
src/liblzma/api/lzma/base.h | 17 +++++++++++++++ |
|
|
1301 |
src/liblzma/api/lzma/block.h | 43 +++++++++++++++++++++++++++++++++++++ |
1302 |
src/liblzma/api/lzma/container.h | 24 +++++++++++++++++++++ |
1303 |
src/liblzma/api/lzma/delta.h | 12 +++++++++++ |
1304 |
src/liblzma/api/lzma/index.h | 27 +++++++++++++++++++++++ |
1305 |
src/liblzma/api/lzma/lzma12.h | 22 +++++++++++++++++++ |
1306 |
src/liblzma/api/lzma/stream_flags.h | 28 ++++++++++++++++++++++++ |
1307 |
7 files changed, 173 insertions(+) |
1308 |
|
1309 |
commit bd213d06ebf92cf42eeb97e7c578bddc857f8ea8 |
1310 |
Author: Jia Tan <jiat0218@gmail.com> |
1311 |
Date: 2022-12-21 23:59:43 +0800 |
1312 |
|
1313 |
liblzma: Highlight liblzma API headers should not be included directly. |
711 |
|
1314 |
|
712 |
Omit the packed struct trick for unaligned access. While it's |
1315 |
This improves the generated Doxygen HTML files to better highlight |
713 |
best in some cases, this is simpler. If the memcpy trick doesn't |
1316 |
how to properly use the liblzma API header files. |
714 |
work, one can request unsafe type punning from configure. |
1317 |
|
|
|
1318 |
src/liblzma/api/lzma/base.h | 5 +++-- |
1319 |
src/liblzma/api/lzma/bcj.h | 5 +++-- |
1320 |
src/liblzma/api/lzma/block.h | 5 +++-- |
1321 |
src/liblzma/api/lzma/check.h | 5 +++-- |
1322 |
src/liblzma/api/lzma/container.h | 5 +++-- |
1323 |
src/liblzma/api/lzma/delta.h | 5 +++-- |
1324 |
src/liblzma/api/lzma/filter.h | 5 +++-- |
1325 |
src/liblzma/api/lzma/hardware.h | 5 +++-- |
1326 |
src/liblzma/api/lzma/index.h | 5 +++-- |
1327 |
src/liblzma/api/lzma/index_hash.h | 5 +++-- |
1328 |
src/liblzma/api/lzma/lzma12.h | 5 +++-- |
1329 |
src/liblzma/api/lzma/stream_flags.h | 5 +++-- |
1330 |
src/liblzma/api/lzma/version.h | 5 +++-- |
1331 |
src/liblzma/api/lzma/vli.h | 5 +++-- |
1332 |
14 files changed, 42 insertions(+), 28 deletions(-) |
1333 |
|
1334 |
commit 257dbff0ba1a7bc45a74d203ece015c9f70c88cd |
1335 |
Author: Jia Tan <jiat0218@gmail.com> |
1336 |
Date: 2023-01-19 20:35:09 +0800 |
1337 |
|
1338 |
tuklib_physmem: Silence warning from -Wcast-function-type on MinGW-w64. |
715 |
|
1339 |
|
716 |
Because CRC32/CRC64 code needs fast aligned reads, if no very |
1340 |
tuklib_physmem depends on GetProcAddress() for both MSVC and MinGW-w64 |
717 |
safe way to do it is found, type punning is used as a fallback. |
1341 |
to retrieve a function address. The proper way to do this is to cast the |
718 |
This sucks but since it currently works in practice, it seems to |
1342 |
return value to the type of function pointer retrieved. Unfortunately, |
719 |
be the least bad option. It's never needed with GCC >= 4.7 or |
1343 |
this causes a cast-function-type warning, so the best solution is to |
720 |
Clang >= 3.6 since these support __builtin_assume_aligned and |
1344 |
simply ignore the warning. |
721 |
thus fast aligned access can be done with the memcpy trick. |
1345 |
|
|
|
1346 |
src/common/tuklib_physmem.c | 18 ++++++++++++++++++ |
1347 |
1 file changed, 18 insertions(+) |
1348 |
|
1349 |
commit 720ad4a44282a7ee59aa9920eaf495d85d245d97 |
1350 |
Author: Jia Tan <jiat0218@gmail.com> |
1351 |
Date: 2023-01-16 21:35:45 +0800 |
1352 |
|
1353 |
xz: Add missing comment for coder_set_compression_settings() |
1354 |
|
1355 |
src/xz/coder.h | 3 ++- |
1356 |
1 file changed, 2 insertions(+), 1 deletion(-) |
1357 |
|
1358 |
commit 88dc19163421282369c0989e997c05f9a447edc6 |
1359 |
Author: Jia Tan <jiat0218@gmail.com> |
1360 |
Date: 2023-01-16 20:55:10 +0800 |
1361 |
|
1362 |
xz: Do not set compression settings with raw format in list mode. |
722 |
|
1363 |
|
723 |
Other things: |
1364 |
Calling coder_set_compression_settings() in list mode with verbose mode |
724 |
- Support GCC/Clang __builtin_bswapXX |
1365 |
on caused the filter chain and memory requirements to print. This was |
725 |
- Cleaner bswap fallback macros |
1366 |
unnecessary since the command results in an error and not consistent |
726 |
- Minor cleanups |
1367 |
with other formats like lzma and alone. |
727 |
|
1368 |
|
728 |
m4/tuklib_integer.m4 | 43 ++++ |
1369 |
src/xz/args.c | 3 ++- |
729 |
src/common/tuklib_integer.h | 488 ++++++++++++++++++++++++-------------------- |
1370 |
1 file changed, 2 insertions(+), 1 deletion(-) |
730 |
2 files changed, 314 insertions(+), 217 deletions(-) |
|
|
731 |
|
1371 |
|
732 |
commit a45badf0342666462cc6a7107a071418570ab773 |
1372 |
commit 039e0ab13efb144642f9d99eeeb9c668e76bb430 |
|
|
1373 |
Author: Jia Tan <jiat0218@gmail.com> |
1374 |
Date: 2023-01-13 20:37:06 +0800 |
1375 |
|
1376 |
Translations: Update the Brazilian Portuguese translation. |
1377 |
|
1378 |
po/pt_BR.po | 603 ++++++++++++++++++++++++++++++++++-------------------------- |
1379 |
1 file changed, 344 insertions(+), 259 deletions(-) |
1380 |
|
1381 |
commit 718f7a60e740b26b8353965edaaddc7d4deb4d85 |
733 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1382 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
734 |
Date: 2019-12-29 22:51:58 +0200 |
1383 |
Date: 2023-01-12 13:04:05 +0200 |
735 |
|
1384 |
|
736 |
Tests: Hopefully fix test_check.c to work on EBCDIC systems. |
1385 |
Build: Omit -Wmissing-noreturn from the default warnings. |
737 |
|
1386 |
|
738 |
Thanks to Daniel Richard G. |
1387 |
It's not that important. It can be annoying in builds that |
|
|
1388 |
disable many features since in those cases the tests programs |
1389 |
will correctly trigger this warning with Clang. |
739 |
|
1390 |
|
740 |
tests/test_check.c | 9 +++++++-- |
1391 |
configure.ac | 1 - |
741 |
1 file changed, 7 insertions(+), 2 deletions(-) |
1392 |
1 file changed, 1 deletion(-) |
742 |
|
1393 |
|
743 |
commit c9a8071e6690a8db8a485c075920df254e7c70ea |
1394 |
commit 3ccedb09724c998c39d708c945f6da5852c39e13 |
744 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1395 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
745 |
Date: 2019-09-24 23:02:40 +0300 |
1396 |
Date: 2023-01-12 06:05:58 +0200 |
746 |
|
1397 |
|
747 |
Scripts: Put /usr/xpg4/bin to the beginning of PATH on Solaris. |
1398 |
xz: Use ssize_t for the to-be-ignored return value from write(fd, ptr, 1). |
748 |
|
1399 |
|
749 |
This adds a configure option --enable-path-for-scripts=PREFIX |
1400 |
It makes no difference here as the return value fits into an int |
750 |
which defaults to empty except on Solaris it is /usr/xpg4/bin |
1401 |
too and it then gets ignored but this looks better. |
751 |
to make POSIX grep and others available. The Solaris case had |
|
|
752 |
been documented in INSTALL with a manual fix but it's better |
753 |
to do this automatically since it is needed on most Solaris |
754 |
systems anyway. |
755 |
|
756 |
Thanks to Daniel Richard G. |
757 |
|
1402 |
|
758 |
INSTALL | 43 +++++++++++++++++++++++++++++++++++-------- |
1403 |
src/xz/file_io.c | 2 +- |
759 |
configure.ac | 26 ++++++++++++++++++++++++++ |
1404 |
1 file changed, 1 insertion(+), 1 deletion(-) |
760 |
src/scripts/xzdiff.in | 1 + |
|
|
761 |
src/scripts/xzgrep.in | 1 + |
762 |
src/scripts/xzless.in | 1 + |
763 |
src/scripts/xzmore.in | 1 + |
764 |
6 files changed, 65 insertions(+), 8 deletions(-) |
765 |
|
1405 |
|
766 |
commit aba140e2df3ff63ad124ae997de16d517b98ca50 |
1406 |
commit 09fbd2f0527def89e839c8907de4fe7ef6bc5019 |
767 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1407 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
768 |
Date: 2019-07-12 18:57:43 +0300 |
1408 |
Date: 2023-01-12 06:01:12 +0200 |
769 |
|
1409 |
|
770 |
Fix comment typos in tuklib_mbstr* files. |
1410 |
xz: Silence warnings from -Wsign-conversion in a 32-bit build. |
771 |
|
1411 |
|
772 |
src/common/tuklib_mbstr.h | 2 +- |
1412 |
src/common/tuklib_mbstr_fw.c | 2 +- |
773 |
src/common/tuklib_mbstr_fw.c | 2 +- |
1413 |
src/xz/list.c | 4 ++-- |
774 |
src/common/tuklib_mbstr_width.c | 2 +- |
1414 |
2 files changed, 3 insertions(+), 3 deletions(-) |
775 |
3 files changed, 3 insertions(+), 3 deletions(-) |
|
|
776 |
|
1415 |
|
777 |
commit 710f5bd769a5d2bd8684256c2727d15350ee2ab8 |
1416 |
commit 683d3f178ef1487b5418be49f331b0131a101b40 |
778 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1417 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
779 |
Date: 2019-07-12 18:30:46 +0300 |
1418 |
Date: 2023-01-12 05:38:48 +0200 |
780 |
|
1419 |
|
781 |
Add missing include to tuklib_mbstr_width.c. |
1420 |
liblzma: Silence another warning from -Wsign-conversion in a 32-bit build. |
782 |
|
1421 |
|
783 |
It didn't matter in XZ Utils because sysdefs.h |
1422 |
It doesn't warn on a 64-bit system because truncating |
784 |
includes string.h anyway. |
1423 |
a ptrdiff_t (signed long) to uint32_t is diagnosed under |
|
|
1424 |
-Wconversion by GCC and -Wshorten-64-to-32 by Clang. |
785 |
|
1425 |
|
786 |
src/common/tuklib_mbstr_width.c | 1 + |
1426 |
src/liblzma/lz/lz_encoder_mf.c | 7 ++++--- |
787 |
1 file changed, 1 insertion(+) |
1427 |
1 file changed, 4 insertions(+), 3 deletions(-) |
788 |
|
1428 |
|
789 |
commit 0e491aa8cd72e0100cd15c1b9469cd57fae500b0 |
1429 |
commit 2b8062ef94a38d0f9ad0d1b309e8748db52f5c15 |
790 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1430 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
791 |
Date: 2019-06-25 23:15:21 +0300 |
1431 |
Date: 2023-01-12 04:46:45 +0200 |
792 |
|
1432 |
|
793 |
liblzma: Fix a buggy comment. |
1433 |
liblzma: Silence a warning from -Wsign-conversion in a 32-bit build. |
794 |
|
1434 |
|
795 |
src/liblzma/lz/lz_encoder_mf.c | 2 +- |
1435 |
src/common/mythread.h | 4 ++-- |
796 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1436 |
1 file changed, 2 insertions(+), 2 deletions(-) |
797 |
|
1437 |
|
798 |
commit bfc245569f340a75bd71ad32a6beba786712683b |
1438 |
commit b16b9c0d22227012518595c2222facc73bd833a8 |
799 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1439 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
800 |
Date: 2019-06-25 00:16:06 +0300 |
1440 |
Date: 2023-01-12 04:17:24 +0200 |
801 |
|
1441 |
|
802 |
configure.ac: Fix a typo in a comment. |
1442 |
Build: Make configure add more warning flags for GCC and Clang. |
|
|
1443 |
|
1444 |
-Wstrict-aliasing was removed from the list since it is enabled |
1445 |
by -Wall already. |
1446 |
|
1447 |
A normal build is clean with these on GNU/Linux x86-64 with |
1448 |
GCC 12.2.0 and Clang 14.0.6. |
803 |
|
1449 |
|
804 |
configure.ac | 2 +- |
1450 |
configure.ac | 36 +++++++++++++++++++++++++++++++----- |
805 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1451 |
1 file changed, 31 insertions(+), 5 deletions(-) |
806 |
|
1452 |
|
807 |
commit f18eee9d15a22c8449ef395a05f0eb637c4ad253 |
1453 |
commit c47ecd6d3909d0d3ff48dfd6e2ee41e7c7130b94 |
808 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1454 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
809 |
Date: 2019-06-25 00:08:13 +0300 |
1455 |
Date: 2023-01-12 04:14:18 +0200 |
810 |
|
1456 |
|
811 |
Tests: Silence warnings from clang -Wassign-enum. |
1457 |
Tests: Fix warnings from clang --Wassign-enum. |
812 |
|
1458 |
|
813 |
Also changed 999 to 99 so it fits even if lzma_check happened |
1459 |
Explicitly casting the integer to lzma_check silences the warning. |
814 |
to be 8 bits wide. |
1460 |
Since such an invalid value is needed in multiple tests, a constant |
|
|
1461 |
INVALID_LZMA_CHECK_ID was added to tests.h. |
1462 |
|
1463 |
The use of 0x1000 for lzma_block.check wasn't optimal as if |
1464 |
the underlying type is a char then 0x1000 will be truncated to 0. |
1465 |
However, in these test cases the value is ignored, thus even with |
1466 |
such truncation the test would have passed. |
815 |
|
1467 |
|
816 |
tests/test_block_header.c | 3 ++- |
1468 |
tests/test_block_header.c | 6 +++--- |
817 |
tests/test_stream_flags.c | 2 +- |
1469 |
tests/test_check.c | 2 +- |
818 |
2 files changed, 3 insertions(+), 2 deletions(-) |
1470 |
tests/test_stream_flags.c | 8 ++++---- |
|
|
1471 |
tests/tests.h | 9 +++++++++ |
1472 |
4 files changed, 17 insertions(+), 8 deletions(-) |
819 |
|
1473 |
|
820 |
commit 25f74554723e8deabc66fed1abf0ec27a4ed19d5 |
1474 |
commit 34e13ce015232968731de2a9ec3440a08b0084b1 |
821 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1475 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
822 |
Date: 2019-06-24 23:52:17 +0300 |
1476 |
Date: 2023-01-12 03:51:07 +0200 |
823 |
|
1477 |
|
824 |
liblzma: Add a comment. |
1478 |
Tests: Silence warnings from -Wsign-conversion. |
|
|
1479 |
|
1480 |
Note that assigning an unsigned int to lzma_check doesn't warn |
1481 |
on GNU/Linux x86-64 since the enum type is unsigned on that |
1482 |
platform. The enum can be signed on some other platform though |
1483 |
so it's best to use enumeration type lzma_check in these situations. |
825 |
|
1484 |
|
|
|
1485 |
tests/test_check.c | 6 +++--- |
1486 |
tests/test_stream_flags.c | 10 +++++----- |
1487 |
2 files changed, 8 insertions(+), 8 deletions(-) |
1488 |
|
1489 |
commit 6671d0fe46b77f0fafce860836b7a12dc3cda14a |
1490 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1491 |
Date: 2023-01-12 03:19:59 +0200 |
1492 |
|
1493 |
liblzma: Silence warnings from clang -Wconditional-uninitialized. |
1494 |
|
1495 |
This is similar to 2ce4f36f179a81d0c6e182a409f363df759d1ad0. |
1496 |
The actual initialization of the variables is done inside |
1497 |
mythread_sync() macro. Clang doesn't seem to see that |
1498 |
the initialization code inside the macro is always executed. |
1499 |
|
1500 |
src/liblzma/common/stream_decoder_mt.c | 8 +++++--- |
826 |
src/liblzma/common/stream_encoder_mt.c | 2 +- |
1501 |
src/liblzma/common/stream_encoder_mt.c | 2 +- |
827 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1502 |
2 files changed, 6 insertions(+), 4 deletions(-) |
828 |
|
1503 |
|
829 |
commit 44eb961f2a51d02420d017bc5ff470360663650c |
1504 |
commit d3e833ca1d2abda54648494c33aca73a40a47efe |
830 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1505 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
831 |
Date: 2019-06-24 23:45:21 +0300 |
1506 |
Date: 2023-01-12 03:11:40 +0200 |
832 |
|
1507 |
|
833 |
liblzma: Silence clang -Wmissing-variable-declarations. |
1508 |
Fix warnings from clang -Wdocumentation. |
834 |
|
1509 |
|
835 |
src/liblzma/check/crc32_table.c | 3 +++ |
1510 |
src/liblzma/check/check.h | 4 ---- |
836 |
src/liblzma/check/crc64_table.c | 3 +++ |
1511 |
src/liblzma/lz/lz_encoder_mf.c | 4 ++-- |
837 |
2 files changed, 6 insertions(+) |
1512 |
src/xz/options.c | 4 ++-- |
|
|
1513 |
3 files changed, 4 insertions(+), 8 deletions(-) |
838 |
|
1514 |
|
839 |
commit 267afcd9955e668c1532b069230c21c348eb4f82 |
1515 |
commit 977dd2e26bc50efec8d30fb90380394042d24558 |
840 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1516 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
841 |
Date: 2019-06-24 22:57:43 +0300 |
1517 |
Date: 2023-01-12 03:04:28 +0200 |
842 |
|
1518 |
|
843 |
xz: Silence a warning from clang -Wsign-conversion in main.c. |
1519 |
Tests: test_lzip_decoder: Remove trailing white-space. |
844 |
|
1520 |
|
845 |
src/xz/main.c | 2 +- |
1521 |
tests/test_lzip_decoder.c | 4 ++-- |
846 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1522 |
1 file changed, 2 insertions(+), 2 deletions(-) |
847 |
|
1523 |
|
848 |
commit 0e3c4002f809311ecef239b05e556d9c462b5703 |
1524 |
commit c55157ed7437ab14f2afb7fecf331e321f2edf9a |
849 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1525 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
850 |
Date: 2019-06-24 22:47:39 +0300 |
1526 |
Date: 2023-01-12 03:03:55 +0200 |
851 |
|
1527 |
|
852 |
liblzma: Remove incorrect uses of lzma_attribute((__unused__)). |
1528 |
Tests: test_lzip_decoder: Silence warnings from -Wsign-conversion. |
853 |
|
|
|
854 |
Caught by clang -Wused-but-marked-unused. |
855 |
|
1529 |
|
856 |
src/liblzma/common/alone_decoder.c | 3 +-- |
1530 |
tests/test_lzip_decoder.c | 13 +++++++------ |
857 |
src/liblzma/common/alone_encoder.c | 3 +-- |
1531 |
1 file changed, 7 insertions(+), 6 deletions(-) |
858 |
src/liblzma/lz/lz_decoder.c | 3 +-- |
|
|
859 |
3 files changed, 3 insertions(+), 6 deletions(-) |
860 |
|
1532 |
|
861 |
commit cb708e8fa3405ec13a0ebfebbbf2793f927deab1 |
1533 |
commit 18b845e69752c975dfeda418ec00eda22605c2ee |
862 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1534 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
863 |
Date: 2019-06-24 20:53:55 +0300 |
1535 |
Date: 2023-01-11 18:52:54 +0200 |
864 |
|
1536 |
|
865 |
Tests: Silence a warning from -Wsign-conversion. |
1537 |
Bump version and soname for 5.4.1. |
866 |
|
1538 |
|
867 |
tests/create_compress_files.c | 8 ++++---- |
1539 |
src/liblzma/Makefile.am | 2 +- |
868 |
1 file changed, 4 insertions(+), 4 deletions(-) |
1540 |
src/liblzma/api/lzma/version.h | 2 +- |
|
|
1541 |
2 files changed, 2 insertions(+), 2 deletions(-) |
869 |
|
1542 |
|
870 |
commit c8cace3d6e965c0fb537591372bf71b9357dd76c |
1543 |
commit 4080bbb844fb36701ffb978f0c41ea2c2c9f8960 |
|
|
1544 |
Author: Jia Tan <jiat0218@gmail.com> |
1545 |
Date: 2023-01-11 23:58:16 +0800 |
1546 |
|
1547 |
Add NEWS for 5.4.1. |
1548 |
|
1549 |
NEWS | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1550 |
1 file changed, 70 insertions(+) |
1551 |
|
1552 |
commit 674c89fdb8c457ebc3a0652e235d8b6cd7b7dee2 |
871 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1553 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
872 |
Date: 2019-06-24 20:45:49 +0300 |
1554 |
Date: 2023-01-10 11:56:11 +0200 |
873 |
|
1555 |
|
874 |
xz: Fix an integer overflow with 32-bit off_t. |
1556 |
sysdefs.h: Don't include strings.h anymore. |
875 |
|
1557 |
|
876 |
Or any off_t which isn't very big (like signed 64 bit integer |
1558 |
On some platforms src/xz/suffix.c may need <strings.h> for |
877 |
that most system have). A small off_t could overflow if the |
1559 |
strcasecmp() but suffix.c includes the header when it needs it. |
878 |
file being decompressed had long enough run of zero bytes, |
1560 |
|
879 |
which would result in corrupt output. |
1561 |
Unless there is an old system that otherwise supports enough C99 |
|
|
1562 |
to build XZ Utils but doesn't have C89/C90-compatible <string.h>, |
1563 |
there should be no need to include <strings.h> in sysdefs.h. |
880 |
|
1564 |
|
881 |
src/xz/file_io.c | 11 +++++++++-- |
1565 |
src/common/sysdefs.h | 6 ------ |
882 |
1 file changed, 9 insertions(+), 2 deletions(-) |
1566 |
1 file changed, 6 deletions(-) |
883 |
|
1567 |
|
884 |
commit 65a42741e290fbcd85dfc5db8a62c4bce5f7712c |
1568 |
commit 2a6b938084fac9ddb39cd69c9beeed15c3b6f6f6 |
885 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1569 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
886 |
Date: 2019-06-24 00:57:23 +0300 |
1570 |
Date: 2023-01-10 11:23:41 +0200 |
887 |
|
1571 |
|
888 |
Tests: Remove a duplicate branch from tests/tests.h. |
1572 |
xz: Include <strings.h> in suffix.c if needed for strcasecmp(). |
889 |
|
1573 |
|
890 |
The duplication was introduced about eleven years ago and |
1574 |
SUSv2 and POSIX.1‐2017 declare only a few functions in <strings.h>. |
891 |
should have been cleaned up back then already. |
1575 |
Of these, strcasecmp() is used on some platforms in suffix.c. |
|
|
1576 |
Nothing else in the project needs <strings.h> (at least if |
1577 |
building on a modern system). |
892 |
|
1578 |
|
893 |
This was caught by -Wduplicated-branches. |
1579 |
sysdefs.h currently includes <strings.h> if HAVE_STRINGS_H is |
|
|
1580 |
defined and suffix.c relied on this. |
1581 |
|
1582 |
Note that dos/config.h doesn't #define HAVE_STRINGS_H even though |
1583 |
DJGPP does have strings.h. It isn't needed with DJGPP as strcasecmp() |
1584 |
is also in <string.h> in DJGPP. |
894 |
|
1585 |
|
895 |
tests/tests.h | 9 ++------- |
1586 |
src/xz/suffix.c | 3 +++ |
896 |
1 file changed, 2 insertions(+), 7 deletions(-) |
1587 |
1 file changed, 3 insertions(+) |
897 |
|
1588 |
|
898 |
commit 5c4fb60e8df026e933afab0cfe0a8b55be20036c |
1589 |
commit aea639e81beb548e3114c74b6d9a894d6e036189 |
|
|
1590 |
Author: Jia Tan <jiat0218@gmail.com> |
1591 |
Date: 2023-01-11 22:46:48 +0800 |
1592 |
|
1593 |
xz: Fix warning -Wformat-nonliteral on clang in message.c. |
1594 |
|
1595 |
clang and gcc differ in how they handle -Wformat-nonliteral. gcc will |
1596 |
allow a non-literal format string as long as the function takes its |
1597 |
format arguments as a va_list. |
1598 |
|
1599 |
src/xz/message.c | 9 +++++++++ |
1600 |
1 file changed, 9 insertions(+) |
1601 |
|
1602 |
commit e3b42bfcb0f67988beee7c7022fed0361282be45 |
1603 |
Author: Jia Tan <jiat0218@gmail.com> |
1604 |
Date: 2023-01-11 20:58:31 +0800 |
1605 |
|
1606 |
Tests: Fix test_filter_flags copy/paste error. |
1607 |
|
1608 |
tests/test_filter_flags.c | 4 ++-- |
1609 |
1 file changed, 2 insertions(+), 2 deletions(-) |
1610 |
|
1611 |
commit 21625b7e11d004788e40eb5eb88d9d89f65fe347 |
1612 |
Author: Jia Tan <jiat0218@gmail.com> |
1613 |
Date: 2023-01-11 20:42:29 +0800 |
1614 |
|
1615 |
Tests: Fix type-limits warning in test_filter_flags. |
1616 |
|
1617 |
This only occurs in test_filter_flags when the BCJ filters are not |
1618 |
configured and built. In this case, ARRAY_SIZE() returns 0 and causes a |
1619 |
type-limits warning with the loop variable since an unsigned number will |
1620 |
always be >= 0. |
1621 |
|
1622 |
tests/test_filter_flags.c | 13 ++++++++++--- |
1623 |
1 file changed, 10 insertions(+), 3 deletions(-) |
1624 |
|
1625 |
commit c337983e928682d56ce3470b286a8d5b8646e0ad |
899 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1626 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
900 |
Date: 2019-06-23 23:22:45 +0300 |
1627 |
Date: 2023-01-10 22:14:03 +0200 |
901 |
|
1628 |
|
902 |
tuklib_mbstr_width: Fix a warning from -Wsign-conversion. |
1629 |
liblzma: CLMUL CRC64: Work around a bug in MSVC, second attempt. |
|
|
1630 |
|
1631 |
This affects only 32-bit x86 builds. x86-64 is OK as is. |
1632 |
|
1633 |
I still cannot easily test this myself. The reporter has tested |
1634 |
this and it passes the tests included in the CMake build and |
1635 |
performance is good: raw CRC64 is 2-3 times faster than the |
1636 |
C version of the slice-by-four method. (Note that liblzma doesn't |
1637 |
include a MSVC-compatible version of the 32-bit x86 assembly code |
1638 |
for the slice-by-four method.) |
1639 |
|
1640 |
Thanks to Iouri Kharon for figuring out a fix, testing, and |
1641 |
benchmarking. |
903 |
|
1642 |
|
904 |
src/common/tuklib_mbstr_width.c | 2 +- |
1643 |
src/liblzma/check/crc64_fast.c | 18 ++++++++++++++++++ |
905 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1644 |
1 file changed, 18 insertions(+) |
906 |
|
1645 |
|
907 |
commit 37df03ce52ce53710e1513387648763f8a744154 |
1646 |
commit b7fb438ea0e3ee02e3a164f3b72fae456cbe34d7 |
|
|
1647 |
Author: Jia Tan <jiat0218@gmail.com> |
1648 |
Date: 2023-01-11 01:18:50 +0800 |
1649 |
|
1650 |
Tests: Fix unused function warning in test_block_header. |
1651 |
|
1652 |
One of the global arrays of filters was only used in a test that |
1653 |
required both encoders and decoders to be configured in the build. |
1654 |
|
1655 |
tests/test_block_header.c | 4 ++++ |
1656 |
1 file changed, 4 insertions(+) |
1657 |
|
1658 |
commit 68e9ef036d18d7c3952bff0b391d5989b86934da |
1659 |
Author: Jia Tan <jiat0218@gmail.com> |
1660 |
Date: 2023-01-11 01:08:03 +0800 |
1661 |
|
1662 |
Tests: Fix unused function warning in test_index_hash. |
1663 |
|
1664 |
test_index_hash does not use fill_index_hash() unless both encoders |
1665 |
and decoders are configured in the build. |
1666 |
|
1667 |
tests/test_index_hash.c | 4 +--- |
1668 |
1 file changed, 1 insertion(+), 3 deletions(-) |
1669 |
|
1670 |
commit a387707cd8cdefbffb5b7429bda4b7fcc192954a |
908 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1671 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
909 |
Date: 2019-06-23 23:19:34 +0300 |
1672 |
Date: 2023-01-10 00:33:14 +0200 |
910 |
|
1673 |
|
911 |
xz: Fix some of the warnings from -Wsign-conversion. |
1674 |
Windows: Update INSTALL-MSVC.txt to recommend CMake over project files. |
912 |
|
1675 |
|
913 |
src/xz/args.c | 4 ++-- |
1676 |
windows/INSTALL-MSVC.txt | 19 ++++++++++++------- |
914 |
src/xz/coder.c | 4 ++-- |
1677 |
1 file changed, 12 insertions(+), 7 deletions(-) |
915 |
src/xz/file_io.c | 5 +++-- |
|
|
916 |
src/xz/message.c | 4 ++-- |
917 |
src/xz/mytime.c | 4 ++-- |
918 |
src/xz/options.c | 2 +- |
919 |
src/xz/util.c | 4 ++-- |
920 |
7 files changed, 14 insertions(+), 13 deletions(-) |
921 |
|
1678 |
|
922 |
commit 7c65ae0f5f2e2431f88621e8fe6d1dc7907e30c1 |
1679 |
commit 52902ad69518255a14b0144f0a2379e06fde5b6e |
923 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1680 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
924 |
Date: 2019-06-23 22:27:45 +0300 |
1681 |
Date: 2023-01-10 12:47:16 +0200 |
925 |
|
1682 |
|
926 |
tuklib_cpucores: Silence warnings from -Wsign-conversion. |
1683 |
Revert "liblzma: CLMUL CRC64: Workaround a bug in MSVC (VS2015-2022)." |
|
|
1684 |
|
1685 |
This reverts commit 36edc65ab4cf10a131f239acbd423b4510ba52d5. |
1686 |
|
1687 |
It was reported that it wasn't a good enough fix and MSVC |
1688 |
still produced (different kind of) bad code when building |
1689 |
for 32-bit x86 if optimizations are enabled. |
1690 |
|
1691 |
Thanks to Iouri Kharon. |
927 |
|
1692 |
|
928 |
src/common/tuklib_cpucores.c | 10 +++++----- |
1693 |
src/liblzma/check/crc64_fast.c | 6 ------ |
929 |
1 file changed, 5 insertions(+), 5 deletions(-) |
1694 |
1 file changed, 6 deletions(-) |
930 |
|
1695 |
|
931 |
commit a502dd1d000b598406637d452f535f4bbd43e2a4 |
1696 |
commit e81b9fc48ca70f9228308d3f1871cd81f9a5a496 |
932 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1697 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
933 |
Date: 2019-06-23 21:40:47 +0300 |
1698 |
Date: 2023-01-10 10:05:13 +0200 |
934 |
|
1699 |
|
935 |
xzdec: Fix warnings from -Wsign-conversion. |
1700 |
sysdefs.h: Fix a comment. |
936 |
|
1701 |
|
937 |
src/xzdec/xzdec.c | 2 +- |
1702 |
src/common/sysdefs.h | 2 +- |
938 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1703 |
1 file changed, 1 insertion(+), 1 deletion(-) |
939 |
|
1704 |
|
940 |
commit a45d1a5374ceb22e23255b0b595b9e641e9860af |
1705 |
commit 6e89ab58b031aa046308a0b3504ff0a5be042571 |
941 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1706 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
942 |
Date: 2019-06-23 21:38:56 +0300 |
1707 |
Date: 2023-01-10 10:04:06 +0200 |
943 |
|
1708 |
|
944 |
liblzma: Fix warnings from -Wsign-conversion. |
1709 |
sysdefs.h: Don't include memory.h anymore even if it were available. |
945 |
|
1710 |
|
946 |
Also, more parentheses were added to the literal_subcoder |
1711 |
It quite probably was never needed, that is, any system where memory.h |
947 |
macro in lzma_comon.h (better style but no functional change |
1712 |
was required likely couldn't compile XZ Utils for other reasons anyway. |
948 |
in the current usage). |
1713 |
|
|
|
1714 |
XZ Utils 5.2.6 and later source packages were generated using |
1715 |
Autoconf 2.71 which no longer defines HAVE_MEMORY_H. So the code |
1716 |
being removed is no longer used anyway. |
949 |
|
1717 |
|
950 |
src/liblzma/common/block_header_decoder.c | 2 +- |
1718 |
src/common/sysdefs.h | 8 ++------ |
951 |
src/liblzma/delta/delta_decoder.c | 2 +- |
1719 |
1 file changed, 2 insertions(+), 6 deletions(-) |
952 |
src/liblzma/lzma/fastpos.h | 2 +- |
|
|
953 |
src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- |
954 |
src/liblzma/lzma/lzma_common.h | 3 ++- |
955 |
src/liblzma/lzma/lzma_decoder.c | 16 ++++++++-------- |
956 |
src/liblzma/simple/arm.c | 6 +++--- |
957 |
src/liblzma/simple/armthumb.c | 8 ++++---- |
958 |
src/liblzma/simple/ia64.c | 2 +- |
959 |
src/liblzma/simple/powerpc.c | 9 +++++---- |
960 |
src/liblzma/simple/x86.c | 2 +- |
961 |
11 files changed, 31 insertions(+), 29 deletions(-) |
962 |
|
1720 |
|
963 |
commit 4ff87ddf80ed7cb233444cddd86ab1940b5b55ec |
1721 |
commit 65c59ad429aa59f9df0326d9fc82931ba4a9d123 |
964 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1722 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
965 |
Date: 2019-06-23 19:33:55 +0300 |
1723 |
Date: 2023-01-10 08:50:26 +0200 |
966 |
|
1724 |
|
967 |
tuklib_integer: Silence warnings from -Wsign-conversion. |
1725 |
CMake/Windows: Add a workaround for windres from GNU binutils. |
|
|
1726 |
|
1727 |
This is combined from the following commits in the master branch: |
1728 |
443dfebced041adc88f10d824188eeef5b5821a9 |
1729 |
6b117d3b1fe91eb26d533ab16a2e552f84148d47 |
1730 |
5e34774c31d1b7509b5cb77a3be9973adec59ea0 |
1731 |
|
1732 |
Thanks to Iouri Kharon for the bug report, the original patch, |
1733 |
and testing. |
968 |
|
1734 |
|
969 |
src/common/tuklib_integer.h | 6 +++--- |
1735 |
CMakeLists.txt | 32 +++++++++++++++++++++++++++++++- |
970 |
1 file changed, 3 insertions(+), 3 deletions(-) |
1736 |
1 file changed, 31 insertions(+), 1 deletion(-) |
971 |
|
1737 |
|
972 |
commit ed1a9d33984a3a37ae9a775a46859850d98ea4d0 |
1738 |
commit 43521e77acc907863fa4f94aae276366172cb9ee |
973 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1739 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
974 |
Date: 2019-06-20 19:40:30 +0300 |
1740 |
Date: 2023-01-06 22:53:38 +0200 |
975 |
|
1741 |
|
976 |
tuklib_integer: Fix usage of conv macros. |
1742 |
Tests: test_filter_flags: Clean up minor issues. |
977 |
|
1743 |
|
978 |
Use a temporary variable instead of e.g. |
1744 |
Here are the list of the most significant issues addressed: |
979 |
conv32le(unaligned_read32ne(buf)) because the macro can |
1745 |
- Avoid using internal common.h header. It's not good to copy the |
980 |
evaluate its argument multiple times. |
1746 |
constants like this but common.h cannot be included for use outside |
|
|
1747 |
of liblzma. This is the quickest thing to do that could be fixed later. |
1748 |
|
1749 |
- Omit the INIT_FILTER macro. Initialization should be done with just |
1750 |
regular designated initializers. |
1751 |
|
1752 |
- Use start_offset = 257 for BCJ tests. It demonstrates that Filter |
1753 |
Flags encoder and decoder don't validate the options thoroughly. |
1754 |
257 is valid only for the x86 filter. This is a bit silly but |
1755 |
not a significant problem in practice because the encoder and |
1756 |
decoder initialization functions will catch bad alignment still. |
1757 |
Perhaps this should be fixed but it's not urgent and doesn't need |
1758 |
to be in 5.4.x. |
1759 |
|
1760 |
- Various tweaks to comments such as filter id -> Filter ID |
981 |
|
1761 |
|
982 |
src/common/tuklib_integer.h | 12 ++++++++---- |
1762 |
tests/test_filter_flags.c | 153 +++++++++++++++++++++++----------------------- |
983 |
1 file changed, 8 insertions(+), 4 deletions(-) |
1763 |
1 file changed, 78 insertions(+), 75 deletions(-) |
984 |
|
1764 |
|
985 |
commit 612c88dfc08e2c572623954ecfde541d21c84882 |
1765 |
commit 6b44cead95d767414272dc3a67898a36bfdf95b3 |
986 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1766 |
Author: Jia Tan <jiat0218@gmail.com> |
987 |
Date: 2019-06-03 20:44:19 +0300 |
1767 |
Date: 2022-12-29 23:33:33 +0800 |
988 |
|
1768 |
|
989 |
Update THANKS. |
1769 |
Tests: Refactors existing filter flags tests. |
|
|
1770 |
|
1771 |
Converts the existing filter flags tests into tuktests. |
990 |
|
1772 |
|
991 |
THANKS | 1 + |
1773 |
tests/test_filter_flags.c | 655 ++++++++++++++++++++++++++++++++-------------- |
992 |
1 file changed, 1 insertion(+) |
1774 |
1 file changed, 457 insertions(+), 198 deletions(-) |
993 |
|
1775 |
|
994 |
commit 85da31d8b882b8b9671ab3e3d74d88bd945cd0bb |
1776 |
commit 1bbefa9659b202ba31bd244a9d0e4f0d37ff3ed7 |
995 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1777 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
996 |
Date: 2019-06-03 20:41:54 +0300 |
1778 |
Date: 2023-01-08 00:32:29 +0200 |
997 |
|
1779 |
|
998 |
liblzma: Fix comments. |
1780 |
Tests: tuktest.h: Support tuktest_malloc(0). |
999 |
|
1781 |
|
1000 |
Thanks to Bruce Stark. |
1782 |
It's not needed in XZ Utils at least for now. It's good to support |
|
|
1783 |
it still because if such use is needed later, it wouldn't be |
1784 |
caught on GNU/Linux since malloc(0) from glibc returns non-NULL. |
1001 |
|
1785 |
|
1002 |
src/liblzma/common/alone_encoder.c | 4 ++-- |
1786 |
tests/tuktest.h | 4 ++-- |
1003 |
src/liblzma/common/block_util.c | 2 +- |
1787 |
1 file changed, 2 insertions(+), 2 deletions(-) |
1004 |
src/liblzma/common/common.c | 2 +- |
|
|
1005 |
src/liblzma/common/filter_common.h | 2 +- |
1006 |
src/liblzma/common/filter_decoder.h | 2 +- |
1007 |
src/liblzma/common/filter_flags_encoder.c | 2 +- |
1008 |
6 files changed, 7 insertions(+), 7 deletions(-) |
1009 |
|
1788 |
|
1010 |
commit 6a73a7889587aa394e236c7e9e4f870b44851036 |
1789 |
commit ce3a3fbc7c2c399aeed644d54f3bd56ac914dfee |
1011 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1790 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1012 |
Date: 2019-06-02 00:50:59 +0300 |
1791 |
Date: 2023-01-07 21:57:11 +0200 |
1013 |
|
1792 |
|
1014 |
liblzma: Fix one more unaligned read to use unaligned_read16ne(). |
1793 |
CMake: Update cmake_minimum_required from 3.13...3.16 to 3.13...3.25. |
|
|
1794 |
|
1795 |
The changes listed on cmake-policies(7) for versions 3.17 to 3.25 |
1796 |
shouldn't affect this project. |
1015 |
|
1797 |
|
1016 |
src/liblzma/lz/lz_encoder_hash.h | 2 +- |
1798 |
CMakeLists.txt | 2 +- |
1017 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1799 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1018 |
|
1800 |
|
1019 |
commit ce59b34ec9ac344d62a57cad5f94f695f42cdaee |
1801 |
commit 99fcd57f2ea35eaa94e09f674d5364329c880fa2 |
1020 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1802 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1021 |
Date: 2019-06-01 21:41:55 +0300 |
1803 |
Date: 2023-01-08 00:24:23 +0200 |
1022 |
|
1804 |
|
1023 |
Update THANKS. |
1805 |
Update THANKS. |
1024 |
|
1806 |
|
1025 |
THANKS | 1 + |
1807 |
THANKS | 1 + |
1026 |
1 file changed, 1 insertion(+) |
1808 |
1 file changed, 1 insertion(+) |
1027 |
|
1809 |
|
1028 |
commit 94aa3fb568fe41dd4925a961966ed5cf8213bd1f |
1810 |
commit c0c13d9d82eb8a4302c8bbb8b4c5178d285fe9ab |
1029 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1811 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1030 |
Date: 2019-06-01 21:36:13 +0300 |
1812 |
Date: 2023-01-07 19:50:35 +0200 |
1031 |
|
1813 |
|
1032 |
liblzma: memcmplen: Use ctz32() from tuklib_integer.h. |
1814 |
Update THANKS. |
1033 |
|
|
|
1034 |
The same compiler-specific #ifdefs are already in tuklib_integer.h |
1035 |
|
1815 |
|
1036 |
src/liblzma/common/memcmplen.h | 10 +--------- |
1816 |
THANKS | 1 + |
1037 |
1 file changed, 1 insertion(+), 9 deletions(-) |
1817 |
1 file changed, 1 insertion(+) |
1038 |
|
1818 |
|
1039 |
commit 412791486dfb430219d8e30bcbebbfc57a99484a |
1819 |
commit 3d45987451b1c3bb42697b29341824c0e5484cba |
1040 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1820 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1041 |
Date: 2019-06-01 21:30:03 +0300 |
1821 |
Date: 2023-01-09 11:27:24 +0200 |
1042 |
|
1822 |
|
1043 |
tuklib_integer: Cleanup MSVC-specific code. |
1823 |
CMake: Fix a copypaste error in xzdec Windows resource file handling. |
|
|
1824 |
|
1825 |
It was my mistake. Thanks to Iouri Kharon for the bug report. |
1044 |
|
1826 |
|
1045 |
src/common/tuklib_integer.h | 20 +++++++++----------- |
1827 |
CMakeLists.txt | 4 ++-- |
1046 |
1 file changed, 9 insertions(+), 11 deletions(-) |
1828 |
1 file changed, 2 insertions(+), 2 deletions(-) |
1047 |
|
1829 |
|
1048 |
commit efbf6e5f0932e6c1a4250f91ee99059f449f2470 |
1830 |
commit 706bce5018d7cf83094e13454a0731169ec119b5 |
1049 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1831 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1050 |
Date: 2019-06-01 19:01:21 +0300 |
1832 |
Date: 2023-01-07 19:50:03 +0200 |
1051 |
|
1833 |
|
1052 |
liblzma: Use unaligned_readXXne functions instead of type punning. |
1834 |
CMake/Windows: Add resource files to xz.exe and xzdec.exe. |
1053 |
|
1835 |
|
1054 |
Now gcc -fsanitize=undefined should be clean. |
1836 |
The command line tools cannot be built with MSVC for now but |
|
|
1837 |
they can be built with MinGW-w64. |
1055 |
|
1838 |
|
1056 |
Thanks to Jeffrey Walton. |
1839 |
Thanks to Iouri Kharon for the bug report and the original patch. |
1057 |
|
1840 |
|
1058 |
src/liblzma/common/memcmplen.h | 12 ++++++------ |
1841 |
CMakeLists.txt | 16 ++++++++++++++++ |
1059 |
src/liblzma/lzma/lzma_encoder_private.h | 2 +- |
1842 |
1 file changed, 16 insertions(+) |
1060 |
2 files changed, 7 insertions(+), 7 deletions(-) |
|
|
1061 |
|
1843 |
|
1062 |
commit 29afef03486d461c23f57150ac5436684bff7811 |
1844 |
commit e96dee55df04113c33b387ccdb6cb70935422d91 |
1063 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1845 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1064 |
Date: 2019-06-01 18:41:16 +0300 |
1846 |
Date: 2023-01-09 12:22:05 +0200 |
1065 |
|
1847 |
|
1066 |
tuklib_integer: Improve unaligned memory access. |
1848 |
liblzma: CLMUL CRC64: Workaround a bug in MSVC (VS2015-2022). |
1067 |
|
1849 |
|
1068 |
Now memcpy() or GNU C packed structs for unaligned access instead |
1850 |
I haven't tested with MSVC myself and there doesn't seem to be |
1069 |
of type punning. See the comment in this commit for details. |
1851 |
information about the problem online, so I'm relying on the bug report. |
1070 |
|
1852 |
|
1071 |
Avoiding type punning with unaligned access is needed to |
1853 |
Thanks to Iouri Kharon for the bug report and the patch. |
1072 |
silence gcc -fsanitize=undefined. |
|
|
1073 |
|
1074 |
New functions: unaliged_readXXne and unaligned_writeXXne where |
1075 |
XX is 16, 32, or 64. |
1076 |
|
1854 |
|
1077 |
src/common/tuklib_integer.h | 180 +++++++++++++++++++++++++++++++++++++++++--- |
1855 |
src/liblzma/check/crc64_fast.c | 6 ++++++ |
1078 |
1 file changed, 168 insertions(+), 12 deletions(-) |
1856 |
1 file changed, 6 insertions(+) |
1079 |
|
1857 |
|
1080 |
commit 596ed3de4485a4b1d83b5fe506ae9d0a172139b4 |
1858 |
commit 52bc1ee34dda9bb6fb40175e5952863066681b77 |
1081 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1859 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1082 |
Date: 2019-05-13 20:05:17 +0300 |
1860 |
Date: 2023-01-07 19:31:15 +0200 |
1083 |
|
1861 |
|
1084 |
liblzma: Avoid memcpy(NULL, foo, 0) because it is undefined behavior. |
1862 |
Build: Require that _mm_set_epi64x() is usable to enable CLMUL support. |
1085 |
|
1863 |
|
1086 |
I should have always known this but I didn't. Here is an example |
1864 |
VS2013 doesn't have _mm_set_epi64x() so this way CLMUL gets |
1087 |
as a reminder to myself: |
1865 |
disabled with VS2013. |
1088 |
|
1866 |
|
1089 |
int mycopy(void *dest, void *src, size_t n) |
1867 |
Thanks to Iouri Kharon for the bug report. |
1090 |
{ |
1868 |
|
1091 |
memcpy(dest, src, n); |
1869 |
CMakeLists.txt | 3 ++- |
1092 |
return dest == NULL; |
1870 |
configure.ac | 8 ++++++-- |
1093 |
} |
1871 |
2 files changed, 8 insertions(+), 3 deletions(-) |
|
|
1872 |
|
1873 |
commit bad44cfe19e8be8ae76755369be2a34abcd2b4fa |
1874 |
Author: Jia Tan <jiat0218@gmail.com> |
1875 |
Date: 2022-12-29 00:25:18 +0800 |
1876 |
|
1877 |
Tests: Creates test_index_hash.c |
1094 |
|
1878 |
|
1095 |
In the example, a compiler may assume that dest != NULL because |
1879 |
Tests all API functions exported from index_hash.h. Does not have a |
1096 |
passing NULL to memcpy() would be undefined behavior. Testing |
1880 |
dedicated test for lzma_index_hash_end. |
1097 |
with GCC 8.2.1, mycopy(NULL, NULL, 0) returns 1 with -O0 and -O1. |
|
|
1098 |
With -O2 the return value is 0 because the compiler infers that |
1099 |
dest cannot be NULL because it was already used with memcpy() |
1100 |
and thus the test for NULL gets optimized out. |
1101 |
|
1881 |
|
1102 |
In liblzma, if a null-pointer was passed to memcpy(), there were |
1882 |
[Minor edits were made by Lasse Collin.] |
1103 |
no checks for NULL *after* the memcpy() call, so I cautiously |
|
|
1104 |
suspect that it shouldn't have caused bad behavior in practice, |
1105 |
but it's hard to be sure, and the problematic cases had to be |
1106 |
fixed anyway. |
1107 |
|
1108 |
Thanks to Jeffrey Walton. |
1109 |
|
1883 |
|
1110 |
src/liblzma/common/common.c | 6 +++++- |
1884 |
.gitignore | 1 + |
1111 |
src/liblzma/lz/lz_decoder.c | 12 +++++++++--- |
1885 |
CMakeLists.txt | 2 + |
1112 |
src/liblzma/simple/simple_coder.c | 10 +++++++++- |
1886 |
tests/Makefile.am | 3 + |
1113 |
3 files changed, 23 insertions(+), 5 deletions(-) |
1887 |
tests/test_index_hash.c | 388 ++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
1888 |
4 files changed, 394 insertions(+) |
1114 |
|
1889 |
|
1115 |
commit b4b83555c576e1d845a2b98a193b23c021437804 |
1890 |
commit 692ccdf5516dfe55fb6e9c5cdfb31f4c02c1ecd1 |
1116 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1891 |
Author: Jia Tan <jiat0218@gmail.com> |
1117 |
Date: 2019-05-11 20:56:08 +0300 |
1892 |
Date: 2023-01-05 20:57:25 +0800 |
1118 |
|
1893 |
|
1119 |
Update THANKS. |
1894 |
liblzma: Remove common.h include from common/index.h. |
|
|
1895 |
|
1896 |
common/index.h is needed by liblzma internally and tests. common.h will |
1897 |
include and define many things that are not needed by the tests. |
1898 |
|
1899 |
Also, this prevents include order problems because both common.h and |
1900 |
lzma.h define LZMA_API. On most platforms it results only in a warning |
1901 |
but on Windows it would break the build as the definition in common.h |
1902 |
must be used only for building liblzma itself. |
1120 |
|
1903 |
|
1121 |
THANKS | 1 + |
1904 |
src/liblzma/common/index.c | 1 + |
1122 |
1 file changed, 1 insertion(+) |
1905 |
src/liblzma/common/index.h | 9 +++++++-- |
|
|
1906 |
src/liblzma/common/index_decoder.h | 1 + |
1907 |
src/liblzma/common/stream_buffer_encoder.c | 1 + |
1908 |
4 files changed, 10 insertions(+), 2 deletions(-) |
1123 |
|
1909 |
|
1124 |
commit 8d4906262b45557ed164cd74adb270e6ef7f6f03 |
1910 |
commit 2ac7bafc8f07c1edefe96a4a7a040ddfff0eb5bb |
1125 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1911 |
Author: Jia Tan <jiat0218@gmail.com> |
1126 |
Date: 2019-05-11 20:54:12 +0300 |
1912 |
Date: 2022-08-17 20:20:16 +0800 |
1127 |
|
1913 |
|
1128 |
xz: Update xz man page date. |
1914 |
liblzma: Add NULL check to lzma_index_hash_append. |
|
|
1915 |
|
1916 |
This is for consistency with lzma_index_append. |
1129 |
|
1917 |
|
1130 |
src/xz/xz.1 | 2 +- |
1918 |
src/liblzma/common/index_hash.c | 2 +- |
1131 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1919 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1132 |
|
1920 |
|
1133 |
commit 0d318402f8a022f707622c72f8f1894ea476cf89 |
1921 |
commit db714d30e0c74d1dd4af1a23ed62b44e0e8e4efc |
1134 |
Author: Antoine Cœur <antoine.coeur@ef.com> |
1922 |
Author: Jia Tan <jiat0218@gmail.com> |
1135 |
Date: 2019-05-08 13:30:57 +0800 |
1923 |
Date: 2022-08-17 17:59:51 +0800 |
1136 |
|
1924 |
|
1137 |
spelling |
1925 |
liblzma: Replaced hardcoded 0x0 index indicator byte with macro |
1138 |
|
1926 |
|
1139 |
Doxyfile.in | 2 +- |
1927 |
src/liblzma/common/index.h | 3 +++ |
1140 |
NEWS | 2 +- |
1928 |
src/liblzma/common/index_decoder.c | 2 +- |
1141 |
src/liblzma/api/lzma/block.h | 2 +- |
1929 |
src/liblzma/common/index_encoder.c | 2 +- |
1142 |
src/liblzma/api/lzma/hardware.h | 2 +- |
1930 |
src/liblzma/common/index_hash.c | 2 +- |
1143 |
src/liblzma/api/lzma/lzma12.h | 2 +- |
1931 |
src/liblzma/common/stream_decoder.c | 3 ++- |
1144 |
src/liblzma/api/lzma/vli.h | 2 +- |
1932 |
src/liblzma/common/stream_decoder_mt.c | 2 +- |
1145 |
src/liblzma/common/hardware_physmem.c | 2 +- |
1933 |
6 files changed, 9 insertions(+), 5 deletions(-) |
1146 |
src/liblzma/common/index.c | 4 ++-- |
|
|
1147 |
src/liblzma/common/stream_encoder_mt.c | 2 +- |
1148 |
src/liblzma/common/vli_decoder.c | 2 +- |
1149 |
src/liblzma/lz/lz_decoder.c | 2 +- |
1150 |
src/scripts/xzgrep.in | 2 +- |
1151 |
src/xz/args.c | 2 +- |
1152 |
src/xz/coder.c | 4 ++-- |
1153 |
src/xz/main.c | 2 +- |
1154 |
src/xz/mytime.h | 2 +- |
1155 |
src/xz/private.h | 2 +- |
1156 |
src/xz/xz.1 | 2 +- |
1157 |
windows/build.bash | 2 +- |
1158 |
19 files changed, 21 insertions(+), 21 deletions(-) |
1159 |
|
1934 |
|
1160 |
commit aeb3be8ac4c4b06a745c3799b80b38159fb78b1a |
1935 |
commit 39d2585dcd3e827cfc3c46025ab6708c4aeb36c6 |
1161 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1936 |
Author: Jia Tan <jiat0218@gmail.com> |
1162 |
Date: 2019-03-04 22:49:04 +0200 |
1937 |
Date: 2023-01-06 20:43:31 +0800 |
1163 |
|
1938 |
|
1164 |
README: Update translation instructions. |
1939 |
Style: Change #if !defined() to #ifndef in mythread.h. |
|
|
1940 |
|
1941 |
src/common/mythread.h | 2 +- |
1942 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1943 |
|
1944 |
commit 3f0130aa288e4ed57ace609517db9700a41223af |
1945 |
Author: Jia Tan <jiat0218@gmail.com> |
1946 |
Date: 2023-01-06 20:35:55 +0800 |
1947 |
|
1948 |
Build: Add missing stream_decoder_mt.c to .vcxproj files. |
1165 |
|
1949 |
|
1166 |
XZ Utils is now part of the Translation Project |
1950 |
The line in the .vcxproj files for building with was missing in 5.4.0. |
1167 |
<https://translationproject.org/>. |
1951 |
Thank to Hajin Jang for reporting the issue. |
1168 |
|
1952 |
|
1169 |
README | 32 +++++++++++++------------------- |
1953 |
windows/vs2013/liblzma.vcxproj | 1 + |
1170 |
1 file changed, 13 insertions(+), 19 deletions(-) |
1954 |
windows/vs2013/liblzma_dll.vcxproj | 1 + |
|
|
1955 |
windows/vs2017/liblzma.vcxproj | 1 + |
1956 |
windows/vs2017/liblzma_dll.vcxproj | 1 + |
1957 |
windows/vs2019/liblzma.vcxproj | 1 + |
1958 |
windows/vs2019/liblzma_dll.vcxproj | 1 + |
1959 |
6 files changed, 6 insertions(+) |
1171 |
|
1960 |
|
1172 |
commit 0c238dc3feb0a3eea1e713feb8d338c8dfba9f74 |
1961 |
commit f204d1050a515d17851eed9049862ce5a9c729c1 |
1173 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1962 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1174 |
Date: 2018-12-20 20:42:29 +0200 |
1963 |
Date: 2023-01-04 22:40:54 +0200 |
1175 |
|
1964 |
|
1176 |
Update THANKS. |
1965 |
Update THANKS. |
1177 |
|
1966 |
|
1178 |
THANKS | 1 + |
1967 |
THANKS | 1 + |
1179 |
1 file changed, 1 insertion(+) |
1968 |
1 file changed, 1 insertion(+) |
1180 |
|
1969 |
|
1181 |
commit 3ca432d9cce4bf7e793de173dd22025b68611c42 |
1970 |
commit 34a9c2d650d6c30bd88e1b21910dd863209aa884 |
1182 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1971 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1183 |
Date: 2018-12-14 20:34:30 +0200 |
1972 |
Date: 2023-01-04 18:40:28 +0200 |
1184 |
|
1973 |
|
1185 |
xz: Fix a crash in progress indicator when in passthru mode. |
1974 |
Tests: Adjust style in test_compress.sh. |
|
|
1975 |
|
1976 |
tests/test_compress.sh | 12 +++++++----- |
1977 |
1 file changed, 7 insertions(+), 5 deletions(-) |
1978 |
|
1979 |
commit 761c208d58e0c3daa0f46e68b406adfc318d2a46 |
1980 |
Author: Jia Tan <jiat0218@gmail.com> |
1981 |
Date: 2023-01-04 23:58:58 +0800 |
1982 |
|
1983 |
Tests: Replace non portable shell parameter expansion |
1186 |
|
1984 |
|
1187 |
"xz -dcfv not_an_xz_file" crashed (all four options are |
1985 |
The shell parameter expansion using # and ## is not supported in |
1188 |
required to trigger it). It caused xz to call |
1986 |
Solaris 10 Bourne shell (/bin/sh). Even though this is POSIX, it is not fully |
1189 |
lzma_get_progress(&strm, ...) when no coder was initialized |
1987 |
portable, so we should avoid it. |
1190 |
in strm. In this situation strm.internal is NULL which leads |
1988 |
|
1191 |
to a crash in lzma_get_progress(). |
1989 |
tests/create_compress_files.c | 2 +- |
|
|
1990 |
tests/test_compress.sh | 20 +++++++++++++------- |
1991 |
tests/test_compress_prepared_bcj_sparc | 2 +- |
1992 |
tests/test_compress_prepared_bcj_x86 | 2 +- |
1993 |
4 files changed, 16 insertions(+), 10 deletions(-) |
1994 |
|
1995 |
commit 8a7cbc074547e55e57f4f3696f69bedeb05e14c4 |
1996 |
Author: Jia Tan <jiat0218@gmail.com> |
1997 |
Date: 2023-01-03 21:02:38 +0800 |
1998 |
|
1999 |
Translations: Add Korean translation of man pages. |
1192 |
|
2000 |
|
1193 |
The bug was introduced when xz started using lzma_get_progress() |
2001 |
Thanks to Seong-ho Cho |
1194 |
to get progress info for multi-threaded compression, so the |
|
|
1195 |
bug is present in versions 5.1.3alpha and higher. |
1196 |
|
1197 |
Thanks to Filip Palian <Filip.Palian@pjwstk.edu.pl> for |
1198 |
the bug report. |
1199 |
|
2002 |
|
1200 |
src/xz/coder.c | 11 +++++++---- |
2003 |
po4a/ko.po | 5552 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1201 |
src/xz/message.c | 18 ++++++++++++++++-- |
2004 |
po4a/po4a.conf | 2 +- |
1202 |
src/xz/message.h | 3 ++- |
2005 |
2 files changed, 5553 insertions(+), 1 deletion(-) |
1203 |
3 files changed, 25 insertions(+), 7 deletions(-) |
|
|
1204 |
|
2006 |
|
1205 |
commit fcc419e3c3f77a8b6fc5056a86b1b8abbe266e62 |
2007 |
commit ca2af49bb8be5995eb0e6a3abf457622626d49a7 |
1206 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2008 |
Author: Jia Tan <jiat0218@gmail.com> |
1207 |
Date: 2018-11-22 17:20:31 +0200 |
2009 |
Date: 2023-01-03 20:47:27 +0800 |
1208 |
|
2010 |
|
1209 |
xz: Update man page timestamp. |
2011 |
Translations: Update the Esperanto translation. |
1210 |
|
2012 |
|
1211 |
src/xz/xz.1 | 2 +- |
2013 |
po/eo.po | 620 ++++++++++++++++++++++++++++++++++----------------------------- |
1212 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2014 |
1 file changed, 332 insertions(+), 288 deletions(-) |
1213 |
|
2015 |
|
1214 |
commit 5a2fc3cd0194e55df329dd29f805299aaca5f32f |
2016 |
commit bfba3394aed03311fe9a746d3141b2e16d8b9325 |
1215 |
Author: Pavel Raiskup <praiskup@redhat.com> |
2017 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1216 |
Date: 2018-11-22 15:14:34 +0100 |
2018 |
Date: 2023-01-02 17:05:07 +0200 |
1217 |
|
2019 |
|
1218 |
'have have' typos |
2020 |
Build: Fix config.h comments. |
1219 |
|
2021 |
|
1220 |
src/xz/signals.c | 2 +- |
2022 |
configure.ac | 2 +- |
1221 |
src/xz/xz.1 | 2 +- |
2023 |
m4/tuklib_progname.m4 | 2 +- |
1222 |
2 files changed, 2 insertions(+), 2 deletions(-) |
2024 |
2 files changed, 2 insertions(+), 2 deletions(-) |
1223 |
|
2025 |
|
1224 |
commit 7143b04fe49390807f355b1dad686a3d8c4dbdcf |
2026 |
commit 507648ad114c2ae0cd6d181063e1ac07e8106718 |
|
|
2027 |
Author: Jia Tan <jiat0218@gmail.com> |
2028 |
Date: 2023-01-02 22:33:48 +0800 |
2029 |
|
2030 |
Build: Only define HAVE_PROGRAM_INVOCATION_NAME if it is set to 1. |
2031 |
|
2032 |
HAVE_DECL_PROGRAM_INVOCATION_NAME is renamed to |
2033 |
HAVE_PROGRAM_INVOCATION_NAME. Previously, |
2034 |
HAVE_DECL_PROGRAM_INVOCATION_NAME was always set when |
2035 |
building with autotools. CMake would only set this when it was 1, and the |
2036 |
dos/config.h did not define it. The new macro definition is consistent |
2037 |
across build systems. |
2038 |
|
2039 |
cmake/tuklib_progname.cmake | 5 ++--- |
2040 |
m4/tuklib_progname.m4 | 5 ++++- |
2041 |
src/common/tuklib_progname.c | 2 +- |
2042 |
src/common/tuklib_progname.h | 2 +- |
2043 |
4 files changed, 8 insertions(+), 6 deletions(-) |
2044 |
|
2045 |
commit ab5229d32adfec1f3fbc95228d9dd6f560732ab5 |
1225 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2046 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1226 |
Date: 2018-07-27 18:10:44 +0300 |
2047 |
Date: 2022-12-30 20:10:08 +0200 |
1227 |
|
2048 |
|
1228 |
xzless: Rename unused variables to silence static analysers. |
2049 |
Tests: test_check: Test corner cases of CLMUL CRC64. |
|
|
2050 |
|
2051 |
tests/test_check.c | 27 +++++++++++++++++++++++++++ |
2052 |
1 file changed, 27 insertions(+) |
2053 |
|
2054 |
commit 8791826f31733fda0a13b411c2ed930faaeb25aa |
2055 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2056 |
Date: 2022-12-30 19:36:49 +0200 |
2057 |
|
2058 |
Tests: Clarify a comment in test_lzip_decoder.c. |
2059 |
|
2060 |
tests/test_lzip_decoder.c | 8 ++++++-- |
2061 |
1 file changed, 6 insertions(+), 2 deletions(-) |
2062 |
|
2063 |
commit c410d812ea12bfc74f6b727c1a799478c79f19ca |
2064 |
Author: Jia Tan <jiat0218@gmail.com> |
2065 |
Date: 2022-12-29 01:55:19 +0800 |
2066 |
|
2067 |
xz: Includes <time.h> and <sys/time.h> conditionally in mytime.c. |
1229 |
|
2068 |
|
1230 |
In this particular case I don't see this affecting readability |
2069 |
Previously, mytime.c depended on mythread.h for <time.h> to be included. |
1231 |
of the code. |
2070 |
|
|
|
2071 |
src/xz/mytime.c | 4 +++- |
2072 |
1 file changed, 3 insertions(+), 1 deletion(-) |
2073 |
|
2074 |
commit 501c6013d4a59fae5d4368e9657c4885493db809 |
2075 |
Author: Jia Tan <jiat0218@gmail.com> |
2076 |
Date: 2022-12-29 01:15:27 +0800 |
2077 |
|
2078 |
liblzma: Includes sys/time.h conditionally in mythread |
1232 |
|
2079 |
|
1233 |
Thanks to Pavel Raiskup. |
2080 |
Previously, <sys/time.h> was always included, even if mythread only used |
|
|
2081 |
clock_gettime. <time.h> is still needed even if clock_gettime is not used |
2082 |
though because struct timespec is needed for mythread_condtime. |
1234 |
|
2083 |
|
1235 |
src/scripts/xzless.in | 2 +- |
2084 |
src/common/mythread.h | 8 +++++++- |
1236 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2085 |
1 file changed, 7 insertions(+), 1 deletion(-) |
1237 |
|
2086 |
|
1238 |
commit 273c33297bb69621045ed19665eaf8338bcf4a50 |
2087 |
commit 9e3cb514b5b95bd235dcdff3db4436f57444ee4f |
1239 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2088 |
Author: Jia Tan <jiat0218@gmail.com> |
1240 |
Date: 2018-07-27 16:02:58 +0300 |
2089 |
Date: 2022-12-29 01:10:53 +0800 |
1241 |
|
2090 |
|
1242 |
liblzma: Remove an always-true condition from lzma_index_cat(). |
2091 |
Build: No longer require HAVE_DECL_CLOCK_MONOTONIC to always be set. |
1243 |
|
2092 |
|
1244 |
This should help static analysis tools to see that newg |
2093 |
Previously, if threading was enabled HAVE_DECL_CLOCK_MONOTONIC would always |
1245 |
isn't leaked. |
2094 |
be set to 0 or 1. However, this macro was needed in xz so if xz was not |
|
|
2095 |
built with threading and HAVE_DECL_CLOCK_MONOTONIC was not defined but |
2096 |
HAVE_CLOCK_GETTIME was, it caused a warning during build. Now, |
2097 |
HAVE_DECL_CLOCK_MONOTONIC has been renamed to HAVE_CLOCK_MONOTONIC and |
2098 |
will only be set if it is 1. |
2099 |
|
2100 |
CMakeLists.txt | 8 +++----- |
2101 |
configure.ac | 5 ++++- |
2102 |
src/common/mythread.h | 4 ++-- |
2103 |
src/xz/mytime.c | 5 ++--- |
2104 |
4 files changed, 11 insertions(+), 11 deletions(-) |
2105 |
|
2106 |
commit 6fc3e5467911572fa9af4021ea46396261aae796 |
2107 |
Author: Jia Tan <jiat0218@gmail.com> |
2108 |
Date: 2022-12-28 01:14:07 +0800 |
2109 |
|
2110 |
Translations: Add Ukrainian translations of man pages. |
1246 |
|
2111 |
|
1247 |
Thanks to Pavel Raiskup. |
2112 |
Thanks to Yuri Chornoivan |
1248 |
|
2113 |
|
1249 |
src/liblzma/common/index.c | 4 ++-- |
2114 |
po4a/po4a.conf | 2 +- |
1250 |
1 file changed, 2 insertions(+), 2 deletions(-) |
2115 |
po4a/uk.po | 3676 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
2116 |
2 files changed, 3677 insertions(+), 1 deletion(-) |
1251 |
|
2117 |
|
1252 |
commit 65b4aba6d06d2cd24ba9ad01fa389c238ad8f352 |
2118 |
commit e84f2ab7f8bc38cd8f8befa0bb398656c3c11f8e |
1253 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2119 |
Author: Jia Tan <jiat0218@gmail.com> |
1254 |
Date: 2018-05-19 21:23:25 +0300 |
2120 |
Date: 2022-12-22 23:14:53 +0800 |
1255 |
|
2121 |
|
1256 |
liblzma: Improve lzma_properties_decode() API documentation. |
2122 |
liblzma: Update documentation for lzma_filter_encoder. |
1257 |
|
2123 |
|
1258 |
src/liblzma/api/lzma/filter.h | 7 ++++--- |
2124 |
src/liblzma/common/filter_encoder.c | 7 +++++-- |
1259 |
1 file changed, 4 insertions(+), 3 deletions(-) |
2125 |
1 file changed, 5 insertions(+), 2 deletions(-) |
1260 |
|
2126 |
|
1261 |
commit 531e78e5a253a3e2c4d4dd1505acaccee48f4083 |
2127 |
commit b14b8dbba9a3b232787ae218b46430b9246383dd |
1262 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2128 |
Author: Jia Tan <jiat0218@gmail.com> |
1263 |
Date: 2019-05-01 16:52:36 +0300 |
2129 |
Date: 2022-12-21 21:12:03 +0800 |
1264 |
|
2130 |
|
1265 |
Update THANKS. |
2131 |
Tests: Adds lzip decoder tests |
1266 |
|
2132 |
|
1267 |
THANKS | 1 + |
2133 |
.gitignore | 1 + |
1268 |
1 file changed, 1 insertion(+) |
2134 |
tests/Makefile.am | 2 + |
|
|
2135 |
tests/test_lzip_decoder.c | 471 ++++++++++++++++++++++++++++++++++++++++++++++ |
2136 |
3 files changed, 474 insertions(+) |
1269 |
|
2137 |
|
1270 |
commit 905de7e93528ca5a47039e7e1e5270163f9fc67e |
2138 |
commit 09a114805e1d4f9a02a06cee7dbf2f5014d1f710 |
1271 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2139 |
Author: Jia Cheong Tan <jiat0218@gmail.com> |
1272 |
Date: 2019-05-01 16:43:16 +0300 |
2140 |
Date: 2022-12-20 22:05:21 +0800 |
1273 |
|
2141 |
|
1274 |
Windows: Update VS version in windows/vs2019/config.h. |
2142 |
Doxygen: Update .gitignore for generating docs for in source build. |
|
|
2143 |
|
2144 |
In source builds are not recommended, but we should still ignore |
2145 |
the generated artifacts. |
1275 |
|
2146 |
|
1276 |
windows/vs2019/config.h | 2 +- |
2147 |
.gitignore | 2 ++ |
1277 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2148 |
1 file changed, 2 insertions(+) |
1278 |
|
2149 |
|
1279 |
commit 0ffd30e172fd18cc619823b2a86448bf56a67e22 |
2150 |
commit d3e6fe44196bf9478ad193522e2b48febf2eca6b |
1280 |
Author: Julien Marrec <julien.marrec@gmail.com> |
2151 |
Author: Jia Tan <jiat0218@gmail.com> |
1281 |
Date: 2019-04-25 17:44:06 +0200 |
2152 |
Date: 2022-12-20 20:46:44 +0800 |
1282 |
|
2153 |
|
1283 |
Windows: Upgrade solution itself |
2154 |
liblzma: Fix lzma_microlzma_encoder() return value. |
|
|
2155 |
|
2156 |
Using return_if_error on lzma_lzma_lclppb_encode was improper because |
2157 |
return_if_error is expecting an lzma_ret value, but |
2158 |
lzma_lzma_lclppb_encode returns a boolean. This could result in |
2159 |
lzma_microlzma_encoder, which would be misleading for applications. |
1284 |
|
2160 |
|
1285 |
windows/vs2019/xz_win.sln | 7 +++++-- |
2161 |
src/liblzma/common/microlzma_encoder.c | 3 ++- |
1286 |
1 file changed, 5 insertions(+), 2 deletions(-) |
2162 |
1 file changed, 2 insertions(+), 1 deletion(-) |
1287 |
|
2163 |
|
1288 |
commit c2ef96685fc7ca36311649eeb2284b9808292040 |
2164 |
commit b55a27b46f52524a4a8d9cdef03e6689cefc1375 |
1289 |
Author: Julien Marrec <julien.marrec@gmail.com> |
2165 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1290 |
Date: 2019-04-25 17:40:24 +0200 |
2166 |
Date: 2022-12-16 18:30:02 +0200 |
1291 |
|
2167 |
|
1292 |
Windows: Upgrade solution with VS2019 |
2168 |
liblzma: Update authors list in arm64.c. |
1293 |
|
2169 |
|
1294 |
windows/vs2019/liblzma.vcxproj | 15 ++++++++------- |
2170 |
src/liblzma/simple/arm64.c | 1 + |
1295 |
windows/vs2019/liblzma_dll.vcxproj | 15 ++++++++------- |
2171 |
1 file changed, 1 insertion(+) |
1296 |
2 files changed, 16 insertions(+), 14 deletions(-) |
|
|
1297 |
|
2172 |
|
1298 |
commit 25fccaf00bea399d8aa026e5b8fa254ce196e6e0 |
2173 |
commit 2fd28d2b7cec3468324a6f15eff7e73c285b1d7d |
1299 |
Author: Julien Marrec <julien.marrec@gmail.com> |
2174 |
Author: Jia Tan <jiat0218@gmail.com> |
1300 |
Date: 2019-04-25 17:39:32 +0200 |
2175 |
Date: 2022-12-16 20:58:55 +0800 |
1301 |
|
2176 |
|
1302 |
Windows: Duplicate windows/vs2017 before upgrading |
2177 |
CMake: Update .gitignore for CMake artifacts from in source build. |
|
|
2178 |
|
2179 |
In source builds are not recommended, but we can make it easier |
2180 |
by ignoring the generated artifacts from CMake. |
1303 |
|
2181 |
|
1304 |
windows/vs2019/config.h | 148 ++++++++++++++ |
2182 |
.gitignore | 23 +++++++++++++++++++++++ |
1305 |
windows/vs2019/liblzma.vcxproj | 354 ++++++++++++++++++++++++++++++++++ |
2183 |
1 file changed, 23 insertions(+) |
1306 |
windows/vs2019/liblzma_dll.vcxproj | 383 +++++++++++++++++++++++++++++++++++++ |
|
|
1307 |
windows/vs2019/xz_win.sln | 48 +++++ |
1308 |
4 files changed, 933 insertions(+) |
1309 |
|
2184 |
|
1310 |
commit 1424078d6328291c7c524b64328ce9660617cb24 |
2185 |
commit b69da6d4bb6bb11fc0cf066920791990d2b22a06 |
1311 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2186 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1312 |
Date: 2019-01-13 17:29:23 +0200 |
2187 |
Date: 2022-12-13 20:37:17 +0200 |
1313 |
|
2188 |
|
1314 |
Windows/VS2017: Omit WindowsTargetPlatformVersion from project files. |
2189 |
Bump version to 5.4.0 and soname to 5.4.0. |
|
|
2190 |
|
2191 |
src/liblzma/Makefile.am | 2 +- |
2192 |
src/liblzma/api/lzma/version.h | 6 +++--- |
2193 |
src/liblzma/liblzma_generic.map | 2 +- |
2194 |
src/liblzma/liblzma_linux.map | 2 +- |
2195 |
4 files changed, 6 insertions(+), 6 deletions(-) |
2196 |
|
2197 |
commit 20869eb3fb280ff4f271ef527b12b6bf68b05e19 |
2198 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2199 |
Date: 2022-12-13 20:29:39 +0200 |
2200 |
|
2201 |
Update INSTALL: CMake on Windows isn't experimental anymore. |
1315 |
|
2202 |
|
1316 |
I understood that if a WTPV is specified, it's often wrong |
2203 |
Using CMake to build liblzma should work on a few other OSes |
1317 |
because different VS installations have different SDK version |
2204 |
but building the command line tools is still subtly broken. |
1318 |
installed. Omitting the WTPV tag makes VS2017 default to |
|
|
1319 |
Windows SDK 8.1 which often is also missing, so in any case |
1320 |
people may need to specify the WTPV before building. But some |
1321 |
day in the future a missing WTPV tag will start to default to |
1322 |
the latest installed SDK which sounds reasonable: |
1323 |
|
2205 |
|
1324 |
https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html |
2206 |
It is known that shared library versioning may differ between |
1325 |
|
2207 |
CMake and Libtool builds on some OSes, most notably Darwin. |
1326 |
Thanks to "dom". |
|
|
1327 |
|
2208 |
|
1328 |
windows/INSTALL-MSVC.txt | 4 ++++ |
2209 |
INSTALL | 10 ++++------ |
1329 |
windows/vs2017/liblzma.vcxproj | 1 - |
2210 |
1 file changed, 4 insertions(+), 6 deletions(-) |
1330 |
windows/vs2017/liblzma_dll.vcxproj | 1 - |
|
|
1331 |
3 files changed, 4 insertions(+), 2 deletions(-) |
1332 |
|
2211 |
|
1333 |
commit b5be61cc06088bb07f488f9baf7d447ff47b37c1 |
2212 |
commit cbbd84451944e3e8c63acfaa3c923f6d8aff7852 |
1334 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2213 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1335 |
Date: 2018-04-29 19:00:06 +0300 |
2214 |
Date: 2022-12-13 19:47:53 +0200 |
1336 |
|
2215 |
|
1337 |
Bump version and soname for 5.2.4. |
2216 |
Add NEWS for 5.4.0. |
1338 |
|
2217 |
|
1339 |
src/liblzma/Makefile.am | 2 +- |
2218 |
NEWS | 202 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1340 |
src/liblzma/api/lzma/version.h | 2 +- |
2219 |
1 file changed, 202 insertions(+) |
1341 |
2 files changed, 2 insertions(+), 2 deletions(-) |
|
|
1342 |
|
2220 |
|
1343 |
commit c47fa6d06745bb2e99866e76b81ac7a9c5a8bfec |
2221 |
commit c3e94d37e8d10a3e96019864b6f5d7b578db2c14 |
1344 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2222 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1345 |
Date: 2018-04-29 18:48:00 +0300 |
2223 |
Date: 2022-12-13 17:41:20 +0200 |
1346 |
|
2224 |
|
1347 |
extra/scanlzma: Fix compiler warnings. |
2225 |
Fix a typo in NEWS. |
1348 |
|
2226 |
|
1349 |
extra/scanlzma/scanlzma.c | 6 +++++- |
2227 |
NEWS | 2 +- |
1350 |
1 file changed, 5 insertions(+), 1 deletion(-) |
2228 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1351 |
|
2229 |
|
1352 |
commit 7b350fe21aa4fd6495a3b6188a40e3f1ae7c0edf |
2230 |
commit 0d2a2e0a545c3da2b3e9500f1e531eb903087245 |
1353 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2231 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1354 |
Date: 2018-04-29 18:15:37 +0300 |
2232 |
Date: 2022-12-13 17:41:03 +0200 |
1355 |
|
2233 |
|
1356 |
Add NEWS for 5.2.4. |
2234 |
Add NEWS for 5.2.10. |
1357 |
|
2235 |
|
1358 |
NEWS | 27 +++++++++++++++++++++++++++ |
2236 |
NEWS | 12 ++++++++++++ |
1359 |
1 file changed, 27 insertions(+) |
2237 |
1 file changed, 12 insertions(+) |
1360 |
|
2238 |
|
1361 |
commit 5801591162a280aa52d156dfde42c531ec7fd8b6 |
2239 |
commit 177ece1c8eb007188fb1b04eff09ca2193fbdea6 |
1362 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2240 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1363 |
Date: 2018-02-06 19:36:30 +0200 |
2241 |
Date: 2022-12-13 12:30:45 +0200 |
1364 |
|
2242 |
|
1365 |
Update THANKS. |
2243 |
Tests: Fix a typo in tests/files/README. |
1366 |
|
2244 |
|
1367 |
THANKS | 2 ++ |
2245 |
tests/files/README | 2 +- |
1368 |
1 file changed, 2 insertions(+) |
2246 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1369 |
|
2247 |
|
1370 |
commit c4a616f4536146f8906e1b4412eefeec07b28fae |
2248 |
commit 60f45bdbaa6b07558b3f4baac285739b0c6342f5 |
1371 |
Author: Ben Boeckel <mathstuf@gmail.com> |
2249 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1372 |
Date: 2018-01-29 13:58:18 -0500 |
2250 |
Date: 2022-12-13 12:30:09 +0200 |
1373 |
|
2251 |
|
1374 |
nothrow: use noexcept for C++11 and newer |
2252 |
Tests: Add two ARM64 test files. |
1375 |
|
|
|
1376 |
In C++11, the `throw()` specifier is deprecated and `noexcept` is |
1377 |
preffered instead. |
1378 |
|
2253 |
|
1379 |
src/liblzma/api/lzma.h | 6 +++++- |
2254 |
tests/files/README | 7 +++++++ |
1380 |
1 file changed, 5 insertions(+), 1 deletion(-) |
2255 |
tests/files/good-1-arm64-lzma2-1.xz | Bin 0 -> 512 bytes |
|
|
2256 |
tests/files/good-1-arm64-lzma2-2.xz | Bin 0 -> 488 bytes |
2257 |
tests/test_files.sh | 5 +++++ |
2258 |
4 files changed, 12 insertions(+) |
1381 |
|
2259 |
|
1382 |
commit 0b8947782ff3c5ef830a7f85412e44dcf3cdeb77 |
2260 |
commit f5e419550619c548c7c35d7e367cf00580a56521 |
1383 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2261 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1384 |
Date: 2018-02-06 18:02:48 +0200 |
2262 |
Date: 2022-12-12 22:44:21 +0200 |
1385 |
|
2263 |
|
1386 |
liblzma: Remove incorrect #ifdef from range_common.h. |
2264 |
Translations: Update the Catalan translation. |
1387 |
|
|
|
1388 |
In most cases it was harmless but it could affect some |
1389 |
custom build systems. |
1390 |
|
1391 |
Thanks to Pippijn van Steenhoven. |
1392 |
|
2265 |
|
1393 |
src/liblzma/rangecoder/range_common.h | 4 +--- |
2266 |
po/ca.po | 657 +++++++++++++++++++++++++++++---------------------------------- |
1394 |
1 file changed, 1 insertion(+), 3 deletions(-) |
2267 |
1 file changed, 306 insertions(+), 351 deletions(-) |
1395 |
|
2268 |
|
1396 |
commit 48f3b9f73ffea7f55d5678997aba0e79d2e82168 |
2269 |
commit 0fb9d355da3789b1757040af475b4e6bbc8b8af8 |
1397 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2270 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1398 |
Date: 2018-01-10 22:10:39 +0200 |
2271 |
Date: 2022-12-12 19:18:12 +0200 |
1399 |
|
2272 |
|
1400 |
Update THANKS. |
2273 |
Update THANKS. |
1401 |
|
2274 |
|
1402 |
THANKS | 1 + |
2275 |
THANKS | 1 + |
1403 |
1 file changed, 1 insertion(+) |
2276 |
1 file changed, 1 insertion(+) |
1404 |
|
2277 |
|
1405 |
commit a3ce3e902342be37c626a561ce3d9ffcf27d0f94 |
2278 |
commit e5b6c161c61a37c54dcb76a99bbb83ac4abe02dc |
1406 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2279 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1407 |
Date: 2018-01-10 21:54:27 +0200 |
2280 |
Date: 2022-12-12 19:07:58 +0200 |
1408 |
|
2281 |
|
1409 |
tuklib_integer: New Intel C compiler needs immintrin.h. |
2282 |
Update AUTHORS. |
|
|
2283 |
|
2284 |
AUTHORS | 12 ++++++++++++ |
2285 |
1 file changed, 12 insertions(+) |
2286 |
|
2287 |
commit f2d98e691099d82054d5f3071ef6f5e809932e44 |
2288 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2289 |
Date: 2022-12-12 15:31:14 +0200 |
2290 |
|
2291 |
Docs: Omit multi-threaded decompress from TODO. |
1410 |
|
2292 |
|
1411 |
Thanks to Melanie Blower (Intel) for the patch. |
2293 |
The TODO file outdated still. |
1412 |
|
2294 |
|
1413 |
src/common/tuklib_integer.h | 11 +++++++++++ |
2295 |
TODO | 2 -- |
1414 |
1 file changed, 11 insertions(+) |
2296 |
1 file changed, 2 deletions(-) |
1415 |
|
2297 |
|
1416 |
commit 4505ca483985f88c6923c05a43b4327feaab83b1 |
2298 |
commit b42908c42a4cc091db45a7e5ba0e0ecceaa3f6da |
1417 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2299 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1418 |
Date: 2017-09-24 20:04:24 +0300 |
2300 |
Date: 2022-12-11 21:16:09 +0200 |
1419 |
|
2301 |
|
1420 |
Update THANKS. |
2302 |
Docs: Update xz-file-format.txt to 1.1.0 for ARM64 filter. |
1421 |
|
2303 |
|
1422 |
THANKS | 1 + |
2304 |
doc/xz-file-format.txt | 29 ++++++++++++++++++++++------- |
1423 |
1 file changed, 1 insertion(+) |
2305 |
1 file changed, 22 insertions(+), 7 deletions(-) |
1424 |
|
2306 |
|
1425 |
commit 1ef3cc226e3ce173575c218238b71a4eecabc470 |
2307 |
commit 854f2f5946b353cb0963fd6dfd54d363adc89b9f |
1426 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2308 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1427 |
Date: 2017-09-16 20:36:20 +0300 |
2309 |
Date: 2022-12-11 21:13:57 +0200 |
1428 |
|
2310 |
|
1429 |
Windows: Fix paths in VS project files. |
2311 |
xz: Rename --experimental-arm64 to --arm64. |
1430 |
|
|
|
1431 |
Some paths use slashes instead of backslashes as directory |
1432 |
separators... now it should work (I tested VS2013 version). |
1433 |
|
2312 |
|
1434 |
windows/vs2013/liblzma.vcxproj | 12 ++++++------ |
2313 |
src/xz/args.c | 2 +- |
1435 |
windows/vs2013/liblzma_dll.vcxproj | 24 ++++++++++++------------ |
2314 |
1 file changed, 1 insertion(+), 1 deletion(-) |
1436 |
windows/vs2017/liblzma.vcxproj | 12 ++++++------ |
|
|
1437 |
windows/vs2017/liblzma_dll.vcxproj | 24 ++++++++++++------------ |
1438 |
4 files changed, 36 insertions(+), 36 deletions(-) |
1439 |
|
2315 |
|
1440 |
commit e775d2a8189d24f60470e6e49d8af881df3a1680 |
2316 |
commit 31dbd1e5fb65831915a7bbb531c3f19aea8d57a5 |
1441 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2317 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1442 |
Date: 2017-09-16 12:54:23 +0300 |
2318 |
Date: 2022-12-11 21:13:06 +0200 |
1443 |
|
2319 |
|
1444 |
Windows: Add project files for VS2017. |
2320 |
liblzma: Change LZMA_FILTER_ARM64 to the official Filter ID 0x0A. |
1445 |
|
|
|
1446 |
These files match the v5.2 branch (no file info decoder). |
1447 |
|
2321 |
|
1448 |
windows/vs2017/config.h | 148 ++++++++++++++ |
2322 |
src/liblzma/api/lzma/bcj.h | 6 +----- |
1449 |
windows/vs2017/liblzma.vcxproj | 355 ++++++++++++++++++++++++++++++++++ |
2323 |
1 file changed, 1 insertion(+), 5 deletions(-) |
1450 |
windows/vs2017/liblzma_dll.vcxproj | 384 +++++++++++++++++++++++++++++++++++++ |
|
|
1451 |
windows/vs2017/xz_win.sln | 48 +++++ |
1452 |
4 files changed, 935 insertions(+) |
1453 |
|
2324 |
|
1454 |
commit 10e02e0fbb6e2173f8b41f6e39b7b570f47dd74d |
2325 |
commit 01b3549e523edac899ec4925b282ceddd20da116 |
1455 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2326 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1456 |
Date: 2017-09-16 12:39:43 +0300 |
2327 |
Date: 2022-12-08 19:24:22 +0200 |
1457 |
|
2328 |
|
1458 |
Windows: Move VS2013 files into windows/vs2013 directory. |
2329 |
xz: Make args_info.files_name a const pointer. |
1459 |
|
2330 |
|
1460 |
windows/{ => vs2013}/config.h | 0 |
2331 |
src/xz/args.c | 2 +- |
1461 |
windows/{ => vs2013}/liblzma.vcxproj | 278 +++++++++++++++--------------- |
2332 |
src/xz/args.h | 2 +- |
1462 |
windows/{ => vs2013}/liblzma_dll.vcxproj | 280 +++++++++++++++---------------- |
2333 |
2 files changed, 2 insertions(+), 2 deletions(-) |
1463 |
windows/{ => vs2013}/xz_win.sln | 0 |
|
|
1464 |
4 files changed, 279 insertions(+), 279 deletions(-) |
1465 |
|
2334 |
|
1466 |
commit 06eebd4543196ded36fa9b8b9544195b38b24ef2 |
2335 |
commit bc665b84ea6bf7946394a08122177efe41b26a5f |
1467 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2336 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1468 |
Date: 2017-08-14 20:08:33 +0300 |
2337 |
Date: 2022-12-08 19:18:16 +0200 |
1469 |
|
2338 |
|
1470 |
Fix or hide warnings from GCC 7's -Wimplicit-fallthrough. |
2339 |
xz: Don't modify argv[]. |
|
|
2340 |
|
2341 |
The code that parses --memlimit options and --block-list modified |
2342 |
the argv[] when parsing the option string from optarg. This was |
2343 |
visible in "ps auxf" and such and could be confusing. I didn't |
2344 |
understand it back in the day when I wrote that code. Now a copy |
2345 |
is allocated when modifiable strings are needed. |
1471 |
|
2346 |
|
1472 |
src/liblzma/lzma/lzma_decoder.c | 6 ++++++ |
2347 |
src/xz/args.c | 23 +++++++++++++++++++---- |
1473 |
src/xz/list.c | 2 ++ |
2348 |
1 file changed, 19 insertions(+), 4 deletions(-) |
1474 |
2 files changed, 8 insertions(+) |
|
|
1475 |
|
2349 |
|
1476 |
commit ea4ea1dffafebaa8b2770bf3eca46900e4dd22dc |
2350 |
commit a13064e1c290de7933db72b6dffbd65cfce59c9f |
1477 |
Author: Alexey Tourbin <alexey.tourbin@gmail.com> |
2351 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1478 |
Date: 2017-05-16 23:56:35 +0300 |
2352 |
Date: 2022-12-08 18:18:57 +0200 |
1479 |
|
2353 |
|
1480 |
Docs: Fix a typo in a comment in doc/examples/02_decompress.c. |
2354 |
Translations: Update the German man page translations. |
1481 |
|
2355 |
|
1482 |
doc/examples/02_decompress.c | 2 +- |
2356 |
po4a/de.po | 4570 ++++++++++++++++++------------------------------------------ |
1483 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2357 |
1 file changed, 1374 insertions(+), 3196 deletions(-) |
1484 |
|
2358 |
|
1485 |
commit eb2ef4c79bf405ea0d215f3b1df3d0eaf5e1d27b |
2359 |
commit 8bdbe42a8d0d75dff70206b923fc4bce5c69a40a |
|
|
2360 |
Author: Jia Tan <jiat0218@gmail.com> |
2361 |
Date: 2022-12-06 23:05:56 +0800 |
2362 |
|
2363 |
Translations: Update the German translation. |
2364 |
|
2365 |
po/de.po | 586 ++++++++++++++++++++++++++++++++++----------------------------- |
2366 |
1 file changed, 315 insertions(+), 271 deletions(-) |
2367 |
|
2368 |
commit 5c304b57c24ef40ff57f864301065f0244c05bde |
2369 |
Author: Jia Tan <jiat0218@gmail.com> |
2370 |
Date: 2022-12-06 23:04:25 +0800 |
2371 |
|
2372 |
Translations: Update the Turkish translation. |
2373 |
|
2374 |
po/tr.po | 221 +++++++++++++++++++++++++++++++-------------------------------- |
2375 |
1 file changed, 108 insertions(+), 113 deletions(-) |
2376 |
|
2377 |
commit 6d86781fdb937970486500447ebb49b98244235b |
2378 |
Author: Jia Tan <jiat0218@gmail.com> |
2379 |
Date: 2022-12-06 23:02:11 +0800 |
2380 |
|
2381 |
Translations: Update the Croatian translation. |
2382 |
|
2383 |
po/hr.po | 228 +++++++++++++++++++++++++++++++-------------------------------- |
2384 |
1 file changed, 113 insertions(+), 115 deletions(-) |
2385 |
|
2386 |
commit 7a5b4b8075eb36026b1796f04ffed5830c42396a |
2387 |
Author: Jia Tan <jiat0218@gmail.com> |
2388 |
Date: 2022-12-06 22:56:30 +0800 |
2389 |
|
2390 |
Translations: Add Romanian translation of man pages. |
2391 |
|
2392 |
Thanks to Remus-Gabriel Chelu. |
2393 |
|
2394 |
po4a/po4a.conf | 2 +- |
2395 |
po4a/ro.po | 3692 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2396 |
2 files changed, 3693 insertions(+), 1 deletion(-) |
2397 |
|
2398 |
commit c6977e7400088177556e8771bcb839eb7d90caa3 |
2399 |
Author: Jia Tan <jiat0218@gmail.com> |
2400 |
Date: 2022-12-06 22:52:13 +0800 |
2401 |
|
2402 |
Translations: Update the Romanian translation. |
2403 |
|
2404 |
po/ro.po | 294 +++++++++++++++++++++++++++++++-------------------------------- |
2405 |
1 file changed, 147 insertions(+), 147 deletions(-) |
2406 |
|
2407 |
commit ac2a747e939c2cbccff7a49c399769af5e02d2ab |
1486 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2408 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1487 |
Date: 2017-05-23 18:34:43 +0300 |
2409 |
Date: 2022-12-08 17:30:09 +0200 |
1488 |
|
2410 |
|
1489 |
xz: Fix "xz --list --robot missing_or_bad_file.xz". |
2411 |
liblzma: Check for unexpected NULL pointers in block_header_decode(). |
1490 |
|
2412 |
|
1491 |
It ended up printing an uninitialized char-array when trying to |
2413 |
The API docs gave an impression that such checks are done |
1492 |
print the check names (column 7) on the "totals" line. |
2414 |
but they actually weren't done. In practice it made little |
|
|
2415 |
difference since the calling code has a bug if these are NULL. |
1493 |
|
2416 |
|
1494 |
This also changes the column 12 (minimum xz version) to |
2417 |
Thanks to Jia Tan for the original patch that checked for |
1495 |
50000002 (xz 5.0.0) instead of 0 when there are no valid |
2418 |
block->filters == NULL. |
1496 |
input files. |
|
|
1497 |
|
1498 |
Thanks to kidmin for the bug report. |
1499 |
|
2419 |
|
1500 |
src/xz/list.c | 8 ++++++-- |
2420 |
src/liblzma/common/block_header_decoder.c | 4 ++++ |
1501 |
1 file changed, 6 insertions(+), 2 deletions(-) |
2421 |
1 file changed, 4 insertions(+) |
1502 |
|
2422 |
|
1503 |
commit 3ea5dbd9b0d79048e336e40cef3b6d814fb74e13 |
2423 |
commit 24790f49ae66938c1c7574315e1c0aba1ed5ed25 |
1504 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2424 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1505 |
Date: 2017-04-24 19:48:47 +0300 |
2425 |
Date: 2022-12-01 20:59:32 +0200 |
1506 |
|
2426 |
|
1507 |
Build: Omit pre-5.0.0 entries from the generated ChangeLog. |
2427 |
Bump version number for 5.3.5beta. |
1508 |
|
2428 |
|
1509 |
It makes ChangeLog significantly smaller. |
2429 |
This also sorts the symbol names alphabetically in liblzma_*.map. |
1510 |
|
2430 |
|
1511 |
Makefile.am | 3 ++- |
2431 |
src/liblzma/api/lzma/version.h | 4 ++-- |
1512 |
1 file changed, 2 insertions(+), 1 deletion(-) |
2432 |
src/liblzma/liblzma_generic.map | 10 +++++----- |
|
|
2433 |
src/liblzma/liblzma_linux.map | 10 +++++----- |
2434 |
3 files changed, 12 insertions(+), 12 deletions(-) |
1513 |
|
2435 |
|
1514 |
commit bae24675936df99064de1502593c006bd902594b |
2436 |
commit 7e53c5bcb3c2c17f47c096c06ff6b1481e6ecafa |
1515 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2437 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1516 |
Date: 2017-04-24 19:30:22 +0300 |
2438 |
Date: 2022-12-01 20:57:26 +0200 |
1517 |
|
2439 |
|
1518 |
Update the Git repository URL to HTTPS in ChangeLog. |
2440 |
Add NEWS for 5.3.5beta. |
1519 |
|
2441 |
|
1520 |
ChangeLog | 2 +- |
2442 |
NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ |
1521 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2443 |
1 file changed, 43 insertions(+) |
1522 |
|
2444 |
|
1523 |
commit 70f479211973b5361f4d7cb08ba5be69b4266e7a |
2445 |
commit 5865f2aaac326fcbd9f8a7d62defa230e4cb644e |
1524 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2446 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1525 |
Date: 2017-04-19 22:17:35 +0300 |
2447 |
Date: 2022-12-01 20:57:09 +0200 |
1526 |
|
2448 |
|
1527 |
Update the home page URLs to HTTPS. |
2449 |
Update THANKS. |
1528 |
|
2450 |
|
1529 |
COPYING | 2 +- |
2451 |
THANKS | 3 +++ |
1530 |
README | 2 +- |
2452 |
1 file changed, 3 insertions(+) |
1531 |
configure.ac | 2 +- |
|
|
1532 |
doc/faq.txt | 4 ++-- |
1533 |
dos/config.h | 2 +- |
1534 |
src/common/common_w32res.rc | 2 +- |
1535 |
src/xz/xz.1 | 6 +++--- |
1536 |
src/xzdec/xzdec.1 | 4 ++-- |
1537 |
windows/README-Windows.txt | 2 +- |
1538 |
windows/config.h | 2 +- |
1539 |
10 files changed, 14 insertions(+), 14 deletions(-) |
1540 |
|
2453 |
|
1541 |
commit 2a4b2fa75d06a097261a02ecd3cf2b6d449bf754 |
2454 |
commit 62b270988ec67314d69976df484d2974c6eacfda |
1542 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2455 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1543 |
Date: 2017-03-30 22:01:54 +0300 |
2456 |
Date: 2022-12-01 20:04:17 +0200 |
1544 |
|
2457 |
|
1545 |
xz: Use POSIX_FADV_RANDOM for in "xz --list" mode. |
2458 |
liblzma: Use __has_attribute(__symver__) to fix Clang detection. |
1546 |
|
2459 |
|
1547 |
xz --list is random access so POSIX_FADV_SEQUENTIAL was clearly |
2460 |
If someone sets up Clang to define __GNUC__ to 10 or greater |
1548 |
wrong. |
2461 |
then symvers broke. __has_attribute is supported by such GCC |
|
|
2462 |
and Clang versions that don't support __symver__ so this should |
2463 |
be much better and simpler way to detect if __symver__ is |
2464 |
actually supported. |
2465 |
|
2466 |
Thanks to Tomasz Gajc for the bug report. |
1549 |
|
2467 |
|
1550 |
src/xz/file_io.c | 10 ++++++++-- |
2468 |
src/liblzma/common/common.h | 15 ++++++++++++++- |
1551 |
1 file changed, 8 insertions(+), 2 deletions(-) |
2469 |
1 file changed, 14 insertions(+), 1 deletion(-) |
1552 |
|
2470 |
|
1553 |
commit eb25743ade39170cffd9566a1aae272098cce216 |
2471 |
commit f9ca7d45162664ddd9fb70e19335c2426e5d75bb |
1554 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2472 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1555 |
Date: 2017-03-30 19:47:45 +0300 |
2473 |
Date: 2022-12-01 18:51:52 +0200 |
1556 |
|
2474 |
|
1557 |
liblzma: Fix lzma_memlimit_set(strm, 0). |
2475 |
liblzma: Omit zero-skipping from ARM64 filter. |
1558 |
|
2476 |
|
1559 |
The 0 got treated specially in a buggy way and as a result |
2477 |
It has some complicated downsides and its usefulness is more limited |
1560 |
the function did nothing. The API doc said that 0 was supposed |
2478 |
than I originally thought. So this change is bad for certain very |
1561 |
to return LZMA_PROG_ERROR but it didn't. |
2479 |
specific situations but a generic solution that works for other |
|
|
2480 |
filters (and is otherwise better too) is planned anyway. And this |
2481 |
way 7-Zip can use the same compatible filter for the .7z format. |
1562 |
|
2482 |
|
1563 |
Now 0 is treated as if 1 had been specified. This is done because |
2483 |
This is still marked as experimental with a new temporary Filter ID. |
1564 |
0 is already used to indicate an error from lzma_memlimit_get() |
|
|
1565 |
and lzma_memusage(). |
1566 |
|
1567 |
In addition, lzma_memlimit_set() no longer checks that the new |
1568 |
limit is at least LZMA_MEMUSAGE_BASE. It's counter-productive |
1569 |
for the Index decoder and was actually needed only by the |
1570 |
auto decoder. Auto decoder has now been modified to check for |
1571 |
LZMA_MEMUSAGE_BASE. |
1572 |
|
2484 |
|
1573 |
src/liblzma/api/lzma/base.h | 7 ++++++- |
2485 |
src/liblzma/api/lzma/bcj.h | 2 +- |
1574 |
src/liblzma/common/auto_decoder.c | 3 +++ |
2486 |
src/liblzma/simple/arm64.c | 81 +++++++++++++--------------------------------- |
1575 |
src/liblzma/common/common.c | 6 ++++-- |
2487 |
2 files changed, 24 insertions(+), 59 deletions(-) |
1576 |
3 files changed, 13 insertions(+), 3 deletions(-) |
|
|
1577 |
|
2488 |
|
1578 |
commit ef36c6362f3f3853f21b8a6359bcd06576ebf207 |
2489 |
commit 5baec3f0a9c85e6abf45c0f652f699b074129a8b |
1579 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2490 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1580 |
Date: 2017-03-30 19:16:55 +0300 |
2491 |
Date: 2022-12-01 18:13:27 +0200 |
1581 |
|
2492 |
|
1582 |
liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder. |
2493 |
xz: Omit the special notes about ARM64 filter on the man page. |
1583 |
|
2494 |
|
1584 |
src/liblzma/api/lzma/container.h | 21 +++++++++++++++++---- |
2495 |
src/xz/xz.1 | 5 ++--- |
1585 |
src/liblzma/common/alone_decoder.c | 5 +---- |
2496 |
1 file changed, 2 insertions(+), 3 deletions(-) |
1586 |
src/liblzma/common/auto_decoder.c | 5 +---- |
|
|
1587 |
src/liblzma/common/stream_decoder.c | 5 +---- |
1588 |
4 files changed, 20 insertions(+), 16 deletions(-) |
1589 |
|
2497 |
|
1590 |
commit 57616032650f03840480b696d7878acdd2065521 |
2498 |
commit 0c3627b51862eb0dcdd4fc283d046250571991c6 |
1591 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2499 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1592 |
Date: 2017-03-30 18:58:18 +0300 |
2500 |
Date: 2022-12-01 18:12:03 +0200 |
1593 |
|
2501 |
|
1594 |
liblzma: Fix handling of memlimit == 0 in lzma_index_decoder(). |
2502 |
liblzma: Don't be over-specific in lzma_str_to_filters API doc. |
1595 |
|
|
|
1596 |
It returned LZMA_PROG_ERROR, which was done to avoid zero as |
1597 |
the limit (because it's a special value elsewhere), but using |
1598 |
LZMA_PROG_ERROR is simply inconvenient and can cause bugs. |
1599 |
|
1600 |
The fix/workaround is to treat 0 as if it were 1 byte. It's |
1601 |
effectively the same thing. The only weird consequence is |
1602 |
that then lzma_memlimit_get() will return 1 even when 0 was |
1603 |
specified as the limit. |
1604 |
|
1605 |
This fixes a very rare corner case in xz --list where a specific |
1606 |
memory usage limit and a multi-stream file could print the |
1607 |
error message "Internal error (bug)" instead of saying that |
1608 |
the memory usage limit is too low. |
1609 |
|
2503 |
|
1610 |
src/liblzma/api/lzma/index.h | 18 +++++++++++------- |
2504 |
src/liblzma/api/lzma/filter.h | 3 +-- |
1611 |
src/liblzma/common/index_decoder.c | 4 ++-- |
2505 |
1 file changed, 1 insertion(+), 2 deletions(-) |
1612 |
2 files changed, 13 insertions(+), 9 deletions(-) |
|
|
1613 |
|
2506 |
|
1614 |
commit 3d566cd519017eee1a400e7961ff14058dfaf33c |
2507 |
commit 94adf057f27b1970f493dc99cd166407d7255639 |
1615 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2508 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1616 |
Date: 2016-12-30 13:26:36 +0200 |
2509 |
Date: 2022-12-01 17:54:23 +0200 |
1617 |
|
2510 |
|
1618 |
Bump version and soname for 5.2.3. |
2511 |
liblzma: Silence unused variable warning when BCJ filters are disabled. |
|
|
2512 |
|
2513 |
Thanks to Jia Tan for the original patch. |
1619 |
|
2514 |
|
1620 |
src/liblzma/Makefile.am | 2 +- |
2515 |
src/liblzma/common/string_conversion.c | 15 +++++++++++++++ |
1621 |
src/liblzma/api/lzma/version.h | 2 +- |
2516 |
1 file changed, 15 insertions(+) |
1622 |
2 files changed, 2 insertions(+), 2 deletions(-) |
|
|
1623 |
|
2517 |
|
1624 |
commit 053e624fe33795e779ff736f16ce44a129c829b5 |
2518 |
commit c68af4441744e5ffc41a472e1be9c9d53a1d9780 |
1625 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2519 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1626 |
Date: 2016-12-30 13:25:10 +0200 |
2520 |
Date: 2022-12-01 17:38:03 +0200 |
1627 |
|
2521 |
|
1628 |
Update NEWS for 5.2.3. |
2522 |
Translations: Update the Chinese (simplified) translation. |
1629 |
|
2523 |
|
1630 |
NEWS | 39 +++++++++++++++++++++++++++++++++++++++ |
2524 |
po/zh_CN.po | 608 ++++++++++++++++++++++++++++++++++-------------------------- |
1631 |
1 file changed, 39 insertions(+) |
2525 |
1 file changed, 348 insertions(+), 260 deletions(-) |
1632 |
|
2526 |
|
1633 |
commit cae412b2b77d7fd88d187ed7659331709311f80d |
2527 |
commit 3be6942e5c27d29995d41da52fbe274e4ce4a537 |
1634 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2528 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1635 |
Date: 2015-04-01 14:45:25 +0300 |
2529 |
Date: 2022-11-30 18:55:03 +0200 |
1636 |
|
2530 |
|
1637 |
xz: Fix the Capsicum rights on user_abort_pipe. |
2531 |
Add NEWS for 5.2.9. |
1638 |
|
2532 |
|
1639 |
src/xz/file_io.c | 6 +++++- |
2533 |
NEWS | 34 ++++++++++++++++++++++++++++++++++ |
1640 |
1 file changed, 5 insertions(+), 1 deletion(-) |
2534 |
1 file changed, 34 insertions(+) |
1641 |
|
2535 |
|
1642 |
commit 9ccbae41000572193b9a09e7102f9e84dc6d96de |
2536 |
commit 7c16e312cb2f40b81154c0e5be13a3c6b8da485d |
1643 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2537 |
Author: Jia Tan <jiat0218@gmail.com> |
1644 |
Date: 2016-12-28 21:05:22 +0200 |
2538 |
Date: 2022-11-30 23:33:08 +0800 |
1645 |
|
2539 |
|
1646 |
Mention potential sandboxing bugs in INSTALL. |
2540 |
xz: Remove message_filters_to_str function prototype from message.h. |
|
|
2541 |
|
2542 |
This was forgotten from 7484744af6cbabe81e92af7d9e061dfd597fff7b. |
1647 |
|
2543 |
|
1648 |
INSTALL | 5 ++++- |
2544 |
src/xz/message.h | 16 ---------------- |
1649 |
1 file changed, 4 insertions(+), 1 deletion(-) |
2545 |
1 file changed, 16 deletions(-) |
1650 |
|
2546 |
|
1651 |
commit e013a337d3de77cce24360dffe956ea2339489b6 |
2547 |
commit 764955e2d4f2a5e8d6d6fec63af694f799e050e7 |
1652 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2548 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1653 |
Date: 2016-11-21 20:24:50 +0200 |
2549 |
Date: 2022-11-30 18:08:34 +0200 |
1654 |
|
2550 |
|
1655 |
liblzma: Avoid multiple definitions of lzma_coder structures. |
2551 |
Change the bug report address. |
1656 |
|
2552 |
|
1657 |
Only one definition was visible in a translation unit. |
2553 |
It forwards to me and Jia Tan. |
1658 |
It avoided a few casts and temp variables but seems that |
|
|
1659 |
this hack doesn't work with link-time optimizations in compilers |
1660 |
as it's not C99/C11 compliant. |
1661 |
|
2554 |
|
1662 |
Fixes: |
2555 |
Also update the IRC reference in README as #tukaani was moved |
1663 |
http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html |
2556 |
to Libera Chat long ago. |
1664 |
|
2557 |
|
1665 |
src/liblzma/common/alone_decoder.c | 44 +++++---- |
2558 |
CMakeLists.txt | 2 +- |
1666 |
src/liblzma/common/alone_encoder.c | 34 ++++--- |
2559 |
README | 11 +++++------ |
1667 |
src/liblzma/common/auto_decoder.c | 35 ++++--- |
2560 |
configure.ac | 2 +- |
1668 |
src/liblzma/common/block_decoder.c | 41 ++++---- |
2561 |
dos/config.h | 2 +- |
1669 |
src/liblzma/common/block_encoder.c | 40 ++++---- |
2562 |
windows/README-Windows.txt | 2 +- |
1670 |
src/liblzma/common/common.h | 18 ++-- |
2563 |
5 files changed, 9 insertions(+), 10 deletions(-) |
1671 |
src/liblzma/common/index_decoder.c | 33 ++++--- |
|
|
1672 |
src/liblzma/common/index_encoder.c | 16 ++-- |
1673 |
src/liblzma/common/stream_decoder.c | 50 +++++----- |
1674 |
src/liblzma/common/stream_encoder.c | 56 ++++++----- |
1675 |
src/liblzma/common/stream_encoder_mt.c | 124 ++++++++++++++----------- |
1676 |
src/liblzma/delta/delta_common.c | 25 ++--- |
1677 |
src/liblzma/delta/delta_decoder.c | 6 +- |
1678 |
src/liblzma/delta/delta_encoder.c | 12 ++- |
1679 |
src/liblzma/delta/delta_private.h | 4 +- |
1680 |
src/liblzma/lz/lz_decoder.c | 60 ++++++------ |
1681 |
src/liblzma/lz/lz_decoder.h | 13 ++- |
1682 |
src/liblzma/lz/lz_encoder.c | 57 +++++++----- |
1683 |
src/liblzma/lz/lz_encoder.h | 9 +- |
1684 |
src/liblzma/lzma/lzma2_decoder.c | 32 ++++--- |
1685 |
src/liblzma/lzma/lzma2_encoder.c | 51 +++++----- |
1686 |
src/liblzma/lzma/lzma_decoder.c | 27 +++--- |
1687 |
src/liblzma/lzma/lzma_encoder.c | 29 +++--- |
1688 |
src/liblzma/lzma/lzma_encoder.h | 9 +- |
1689 |
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 3 +- |
1690 |
src/liblzma/lzma/lzma_encoder_optimum_normal.c | 23 ++--- |
1691 |
src/liblzma/lzma/lzma_encoder_private.h | 6 +- |
1692 |
src/liblzma/simple/arm.c | 2 +- |
1693 |
src/liblzma/simple/armthumb.c | 2 +- |
1694 |
src/liblzma/simple/ia64.c | 2 +- |
1695 |
src/liblzma/simple/powerpc.c | 2 +- |
1696 |
src/liblzma/simple/simple_coder.c | 61 ++++++------ |
1697 |
src/liblzma/simple/simple_private.h | 12 +-- |
1698 |
src/liblzma/simple/sparc.c | 2 +- |
1699 |
src/liblzma/simple/x86.c | 15 +-- |
1700 |
35 files changed, 532 insertions(+), 423 deletions(-) |
1701 |
|
2564 |
|
1702 |
commit 8e0f1af3dcaec00a3879cce8ad7441edc6359d1c |
2565 |
commit c21983c76031e01da01ad3c6cc716fe4b8a75070 |
1703 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2566 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1704 |
Date: 2016-12-26 20:50:25 +0200 |
2567 |
Date: 2022-11-30 17:50:17 +0200 |
1705 |
|
2568 |
|
1706 |
Document --enable-sandbox configure option in INSTALL. |
2569 |
Build: Add string_conversion.c to CMake, DOS, and VS files. |
1707 |
|
2570 |
|
1708 |
INSTALL | 25 +++++++++++++++++++++++++ |
2571 |
CMakeLists.txt | 1 + |
1709 |
1 file changed, 25 insertions(+) |
2572 |
dos/Makefile | 1 + |
|
|
2573 |
windows/vs2013/liblzma.vcxproj | 1 + |
2574 |
windows/vs2013/liblzma_dll.vcxproj | 1 + |
2575 |
windows/vs2017/liblzma.vcxproj | 1 + |
2576 |
windows/vs2017/liblzma_dll.vcxproj | 1 + |
2577 |
windows/vs2019/liblzma.vcxproj | 1 + |
2578 |
windows/vs2019/liblzma_dll.vcxproj | 1 + |
2579 |
8 files changed, 8 insertions(+) |
1710 |
|
2580 |
|
1711 |
commit ce2542d220de06acd618fd9f5c0a6683029fb4eb |
2581 |
commit 30be0c35d24eb5175459d69dbf7d92e2b087ef82 |
1712 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2582 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1713 |
Date: 2015-03-31 22:19:34 +0300 |
2583 |
Date: 2022-11-30 17:38:32 +0200 |
1714 |
|
2584 |
|
1715 |
xz: Add support for sandboxing with Capsicum (disabled by default). |
2585 |
Update to HTTPS URLs in AUTHORS. |
1716 |
|
|
|
1717 |
In the v5.2 branch this feature is considered experimental |
1718 |
and thus disabled by default. |
1719 |
|
1720 |
The sandboxing is used conditionally as described in main.c. |
1721 |
This isn't optimal but it was much easier to implement than |
1722 |
a full sandboxing solution and it still covers the most common |
1723 |
use cases where xz is writing to standard output. This should |
1724 |
have practically no effect on performance even with small files |
1725 |
as fork() isn't needed. |
1726 |
|
1727 |
C and locale libraries can open files as needed. This has been |
1728 |
fine in the past, but it's a problem with things like Capsicum. |
1729 |
io_sandbox_enter() tries to ensure that various locale-related |
1730 |
files have been loaded before cap_enter() is called, but it's |
1731 |
possible that there are other similar problems which haven't |
1732 |
been seen yet. |
1733 |
|
1734 |
Currently Capsicum is available on FreeBSD 10 and later |
1735 |
and there is a port to Linux too. |
1736 |
|
1737 |
Thanks to Loganaden Velvindron for help. |
1738 |
|
2586 |
|
1739 |
configure.ac | 41 +++++++++++++++++++++++++++ |
2587 |
AUTHORS | 6 +++--- |
1740 |
src/xz/Makefile.am | 2 +- |
2588 |
1 file changed, 3 insertions(+), 3 deletions(-) |
1741 |
src/xz/file_io.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
1742 |
src/xz/file_io.h | 6 ++++ |
1743 |
src/xz/main.c | 18 ++++++++++++ |
1744 |
src/xz/private.h | 4 +++ |
1745 |
6 files changed, 151 insertions(+), 1 deletion(-) |
1746 |
|
2589 |
|
1747 |
commit 3ca1d5e6320111043e19434da881065fadafa0e4 |
2590 |
commit 0a72b9ca2fe20082da9b7128fe0d908af947a851 |
|
|
2591 |
Author: Jia Tan <jiat0218@gmail.com> |
2592 |
Date: 2022-11-30 00:52:06 +0800 |
2593 |
|
2594 |
liblzma: Improve documentation for string to filter functions. |
2595 |
|
2596 |
src/liblzma/api/lzma/filter.h | 17 +++++++++-------- |
2597 |
1 file changed, 9 insertions(+), 8 deletions(-) |
2598 |
|
2599 |
commit a6e21fcede3b196160a52dd294d965c508a4bb33 |
1748 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2600 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1749 |
Date: 2015-03-31 21:12:30 +0300 |
2601 |
Date: 2022-11-29 22:27:42 +0200 |
1750 |
|
2602 |
|
1751 |
Fix bugs and otherwise improve ax_check_capsicum.m4. |
2603 |
liblzma: Two fixes to lzma_str_list_filters() API docs. |
1752 |
|
2604 |
|
1753 |
AU_ALIAS was removed because the new version is incompatible |
2605 |
Thanks to Jia Tan. |
1754 |
with the old version. |
|
|
1755 |
|
1756 |
It no longer checks for <sys/capability.h> separately. |
1757 |
It's enough to test for it as part of AC_CHECK_DECL. |
1758 |
The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and |
1759 |
HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded. |
1760 |
HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough. |
1761 |
|
1762 |
It no longer does a useless search for the Capsicum library |
1763 |
if the header wasn't found. |
1764 |
|
1765 |
Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying |
1766 |
the argument omitted the default action but the given action |
1767 |
wasn't used instead. |
1768 |
|
1769 |
AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum |
1770 |
support is found. Previously it was part of the default |
1771 |
ACTION-IF-FOUND which a custom action would override. Now |
1772 |
the default action only prepends ${CAPSICUM_LIB} to LIBS. |
1773 |
|
1774 |
The documentation was updated. |
1775 |
|
1776 |
Since there as no serial number, "#serial 2" was added. |
1777 |
|
2606 |
|
1778 |
m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------ |
2607 |
src/liblzma/api/lzma/filter.h | 6 +++--- |
1779 |
1 file changed, 51 insertions(+), 52 deletions(-) |
2608 |
1 file changed, 3 insertions(+), 3 deletions(-) |
1780 |
|
2609 |
|
1781 |
commit 5f3a742b64197fe8bedb6f05fc6ce5d177d11145 |
2610 |
commit 7484744af6cbabe81e92af7d9e061dfd597fff7b |
1782 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2611 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1783 |
Date: 2015-03-31 19:20:24 +0300 |
2612 |
Date: 2022-11-28 21:57:47 +0200 |
1784 |
|
2613 |
|
1785 |
Add m4/ax_check_capsicum.m4 for detecting Capsicum support. |
2614 |
xz: Use lzma_str_from_filters(). |
1786 |
|
2615 |
|
1787 |
The file was loaded from this web page: |
2616 |
Two uses: Displaying encoder filter chain when compressing with -vv, |
1788 |
https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4 |
2617 |
and displaying the decoder filter chain in --list -vv. |
1789 |
|
|
|
1790 |
Thanks to Loganaden Velvindron for pointing it out for me. |
1791 |
|
2618 |
|
1792 |
m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ |
2619 |
src/xz/list.c | 28 ++++++--- |
1793 |
1 file changed, 86 insertions(+) |
2620 |
src/xz/message.c | 175 +++---------------------------------------------------- |
|
|
2621 |
2 files changed, 28 insertions(+), 175 deletions(-) |
1794 |
|
2622 |
|
1795 |
commit d74377e62b4c649e40294dd441de72c0f092e67c |
2623 |
commit cedeeca2ea6ada5b0411b2ae10d7a859e837f203 |
1796 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2624 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1797 |
Date: 2015-10-12 20:29:09 +0300 |
2625 |
Date: 2022-11-28 21:37:48 +0200 |
1798 |
|
2626 |
|
1799 |
liblzma: Fix a memory leak in error path of lzma_index_dup(). |
2627 |
liblzma: Add lzma_str_to_filters, _from_filters, and _list_filters. |
1800 |
|
2628 |
|
1801 |
lzma_index_dup() calls index_dup_stream() which, in case of |
2629 |
lzma_str_to_filters() uses static error messages which makes |
1802 |
an error, calls index_stream_end() to free memory allocated |
2630 |
them not very precise. It tells the position in the string |
1803 |
by index_stream_init(). However, it illogically didn't |
2631 |
where an error occurred though which helps quite a bit if |
1804 |
actually free the memory. To make it logical, the tree |
2632 |
applications take advantage of it. Dynamic error messages can |
1805 |
handling code was modified a bit in addition to changing |
2633 |
be added later with a new flag if it seems important enough. |
1806 |
index_stream_end(). |
|
|
1807 |
|
1808 |
Thanks to Evan Nemerson for the bug report. |
1809 |
|
2634 |
|
1810 |
src/liblzma/common/index.c | 18 +++++++++--------- |
2635 |
src/liblzma/api/lzma/filter.h | 258 +++++++ |
1811 |
1 file changed, 9 insertions(+), 9 deletions(-) |
2636 |
src/liblzma/common/Makefile.inc | 1 + |
|
|
2637 |
src/liblzma/common/string_conversion.c | 1302 ++++++++++++++++++++++++++++++++ |
2638 |
src/liblzma/liblzma_generic.map | 3 + |
2639 |
src/liblzma/liblzma_linux.map | 3 + |
2640 |
5 files changed, 1567 insertions(+) |
1812 |
|
2641 |
|
1813 |
commit f580732216dcf971f3f006fe8e01cd4979e1d964 |
2642 |
commit 072ebf7b1335421193ffa9d4a70d5533786b8995 |
1814 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2643 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1815 |
Date: 2016-10-24 18:53:25 +0300 |
2644 |
Date: 2022-11-28 21:02:19 +0200 |
1816 |
|
2645 |
|
1817 |
Update THANKS. |
2646 |
liblzma: Make lzma_validate_chain() available outside filter_common.c. |
1818 |
|
2647 |
|
1819 |
THANKS | 1 + |
2648 |
src/liblzma/common/filter_common.c | 8 ++++---- |
1820 |
1 file changed, 1 insertion(+) |
2649 |
src/liblzma/common/filter_common.h | 3 +++ |
|
|
2650 |
2 files changed, 7 insertions(+), 4 deletions(-) |
1821 |
|
2651 |
|
1822 |
commit 88d7a7fd153bf1355cdf798ffdac7443d0169afc |
2652 |
commit 5f22bd2d37e3bd01a5d701b51750eb51f09c11bf |
1823 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2653 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1824 |
Date: 2016-10-24 18:51:36 +0300 |
2654 |
Date: 2022-11-28 10:51:03 +0200 |
1825 |
|
2655 |
|
1826 |
tuklib_cpucores: Add support for sched_getaffinity(). |
2656 |
liblzma: Remove lzma_lz_decoder_uncompressed() as it's now unused. |
|
|
2657 |
|
2658 |
src/liblzma/lz/lz_decoder.c | 14 -------------- |
2659 |
src/liblzma/lz/lz_decoder.h | 3 --- |
2660 |
2 files changed, 17 deletions(-) |
2661 |
|
2662 |
commit cee83206465b95729ab649aa2f57fdbde8dcaf89 |
2663 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2664 |
Date: 2022-11-28 10:48:53 +0200 |
2665 |
|
2666 |
liblzma: Use LZMA1EXT feature in lzma_microlzma_decoder(). |
1827 |
|
2667 |
|
1828 |
It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better |
2668 |
Here too this avoids the slightly ugly method to set |
1829 |
than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity() |
2669 |
the uncompressed size. |
1830 |
gives the number of cores available to the process instead of |
|
|
1831 |
the total number of cores online. |
1832 |
|
2670 |
|
1833 |
As a side effect, this commit fixes a bug on GNU/kFreeBSD where |
2671 |
Also moved the setting of dict_size to the struct initializer. |
1834 |
configure would detect the FreeBSD-specific cpuset_getaffinity() |
2672 |
|
1835 |
but it wouldn't actually work because on GNU/kFreeBSD it requires |
2673 |
src/liblzma/common/microlzma_decoder.c | 15 ++++++++------- |
1836 |
using -lfreebsd-glue when linking. Now the glibc-specific function |
2674 |
1 file changed, 8 insertions(+), 7 deletions(-) |
1837 |
will be used instead. |
2675 |
|
|
|
2676 |
commit e310e8b6a490dfb468f4ed68feff246d776b323c |
2677 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2678 |
Date: 2022-11-28 10:28:20 +0200 |
2679 |
|
2680 |
liblzma: Use LZMA1EXT feature in lzma_alone_decoder(). |
1838 |
|
2681 |
|
1839 |
Thanks to Sebastian Andrzej Siewior for the original patch |
2682 |
This avoids the need to use the slightly ugly method to |
1840 |
and testing. |
2683 |
set the uncompressed size. |
1841 |
|
2684 |
|
1842 |
m4/tuklib_cpucores.m4 | 30 +++++++++++++++++++++++++++++- |
2685 |
src/liblzma/common/alone_decoder.c | 18 +++++++++++++----- |
1843 |
src/common/tuklib_cpucores.c | 9 +++++++++ |
2686 |
1 file changed, 13 insertions(+), 5 deletions(-) |
1844 |
2 files changed, 38 insertions(+), 1 deletion(-) |
|
|
1845 |
|
2687 |
|
1846 |
commit 51baf684376903dbeddd840582bfdf9fa91b311b |
2688 |
commit 33b8a24b6646a9dbfd8358405aec466b13078559 |
1847 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2689 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1848 |
Date: 2016-06-30 20:27:36 +0300 |
2690 |
Date: 2022-11-27 23:16:21 +0200 |
1849 |
|
2691 |
|
1850 |
xz: Fix copying of timestamps on Windows. |
2692 |
liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. |
1851 |
|
2693 |
|
1852 |
xz used to call utime() on Windows, but its result gets lost |
2694 |
Some file formats need support for LZMA1 streams that don't use |
1853 |
on close(). Using _futime() seems to work. |
2695 |
the end of payload marker (EOPM) alias end of stream (EOS) marker. |
|
|
2696 |
So far liblzma API has supported decompressing such streams via |
2697 |
lzma_alone_decoder() when .lzma header specifies a known |
2698 |
uncompressed size. Encoding support hasn't been available in the API. |
1854 |
|
2699 |
|
1855 |
Thanks to Martok for reporting the bug: |
2700 |
Instead of adding a new LZMA1-only API for this purpose, this commit |
1856 |
http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html |
2701 |
adds a new filter ID for use with raw encoder and decoder. The main |
|
|
2702 |
benefit of this approach is that then also filter chains are possible, |
2703 |
for example, if someone wants to implement support for .7z files that |
2704 |
use the x86 BCJ filter with LZMA1 (not BCJ2 as that isn't supported |
2705 |
in liblzma). |
1857 |
|
2706 |
|
1858 |
configure.ac | 2 +- |
2707 |
src/liblzma/api/lzma/lzma12.h | 123 ++++++++++++++++++++++++++++++-- |
1859 |
src/xz/file_io.c | 18 ++++++++++++++++++ |
2708 |
src/liblzma/common/filter_common.c | 7 ++ |
1860 |
2 files changed, 19 insertions(+), 1 deletion(-) |
2709 |
src/liblzma/common/filter_decoder.c | 6 ++ |
|
|
2710 |
src/liblzma/common/filter_encoder.c | 9 +++ |
2711 |
src/liblzma/lzma/lzma2_encoder.c | 2 +- |
2712 |
src/liblzma/lzma/lzma_decoder.c | 26 ++++++- |
2713 |
src/liblzma/lzma/lzma_encoder.c | 40 +++++++++-- |
2714 |
src/liblzma/lzma/lzma_encoder.h | 3 +- |
2715 |
src/liblzma/lzma/lzma_encoder_private.h | 3 + |
2716 |
9 files changed, 204 insertions(+), 15 deletions(-) |
1861 |
|
2717 |
|
1862 |
commit 1ddc479851139d6e8202e5835421bfe6578d9e07 |
2718 |
commit 9a304bf1e45b3ddf61aaeaa7c764915b34618ede |
1863 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2719 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1864 |
Date: 2016-06-16 22:46:02 +0300 |
2720 |
Date: 2022-11-27 18:43:07 +0200 |
1865 |
|
2721 |
|
1866 |
xz: Silence warnings from -Wlogical-op. |
2722 |
liblzma: Avoid unneeded use of void pointer in LZMA decoder. |
1867 |
|
|
|
1868 |
Thanks to Evan Nemerson. |
1869 |
|
2723 |
|
1870 |
src/xz/file_io.c | 12 ++++++++++-- |
2724 |
src/liblzma/lzma/lzma_decoder.c | 3 +-- |
1871 |
1 file changed, 10 insertions(+), 2 deletions(-) |
2725 |
src/liblzma/lzma/lzma_decoder.h | 2 +- |
|
|
2726 |
2 files changed, 2 insertions(+), 3 deletions(-) |
1872 |
|
2727 |
|
1873 |
commit be647ff5ed5a1c244a65722af6ce250259f3b14a |
2728 |
commit 218394958c7683f892275bb40eae880620feebcc |
1874 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2729 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1875 |
Date: 2016-04-10 20:55:49 +0300 |
2730 |
Date: 2022-11-27 18:20:33 +0200 |
1876 |
|
2731 |
|
1877 |
Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am. |
2732 |
liblzma: Pass the Filter ID to LZ encoder and decoder. |
1878 |
|
2733 |
|
1879 |
Thanks to Christian Kujau. |
2734 |
This allows using two Filter IDs with the same |
|
|
2735 |
initialization function and data structures. |
1880 |
|
2736 |
|
1881 |
src/xz/Makefile.am | 2 +- |
2737 |
src/liblzma/common/alone_decoder.c | 1 + |
1882 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2738 |
src/liblzma/common/alone_encoder.c | 1 + |
|
|
2739 |
src/liblzma/common/common.h | 7 +++++-- |
2740 |
src/liblzma/common/lzip_decoder.c | 1 + |
2741 |
src/liblzma/common/microlzma_decoder.c | 1 + |
2742 |
src/liblzma/common/microlzma_encoder.c | 1 + |
2743 |
src/liblzma/lz/lz_decoder.c | 5 +++-- |
2744 |
src/liblzma/lz/lz_decoder.h | 3 ++- |
2745 |
src/liblzma/lz/lz_encoder.c | 5 +++-- |
2746 |
src/liblzma/lz/lz_encoder.h | 3 ++- |
2747 |
src/liblzma/lzma/lzma2_decoder.c | 3 ++- |
2748 |
src/liblzma/lzma/lzma2_encoder.c | 3 ++- |
2749 |
src/liblzma/lzma/lzma_decoder.c | 2 +- |
2750 |
src/liblzma/lzma/lzma_encoder.c | 2 +- |
2751 |
14 files changed, 26 insertions(+), 12 deletions(-) |
1883 |
|
2752 |
|
1884 |
commit fb6d50c15343831f35305982cefa82053099191d |
2753 |
commit 1663c7676b76f4c514031797f3db1896e8100f7f |
1885 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2754 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1886 |
Date: 2016-04-10 20:54:17 +0300 |
2755 |
Date: 2022-11-27 01:03:16 +0200 |
1887 |
|
2756 |
|
1888 |
Build: Bump GNU Gettext version requirement to 0.19. |
2757 |
liblzma: Remove two FIXME comments. |
1889 |
|
|
|
1890 |
It silences a few warnings and most people probably have |
1891 |
0.19 even on stable distributions. |
1892 |
|
1893 |
Thanks to Christian Kujau. |
1894 |
|
2758 |
|
1895 |
configure.ac | 2 +- |
2759 |
src/liblzma/common/filter_encoder.c | 4 ++-- |
1896 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2760 |
1 file changed, 2 insertions(+), 2 deletions(-) |
1897 |
|
2761 |
|
1898 |
commit 74f8dad9f912a2993768d93d108ea2b0b2c196e0 |
2762 |
commit 11fe708db783ac36ebeeb85da164e29e8c300910 |
1899 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2763 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1900 |
Date: 2016-03-13 20:21:49 +0200 |
2764 |
Date: 2022-11-26 22:25:30 +0200 |
1901 |
|
2765 |
|
1902 |
liblzma: Disable external SHA-256 by default. |
2766 |
xz: Use lzma_filters_free(). |
1903 |
|
|
|
1904 |
This is the sane thing to do. The conflict with OpenSSL |
1905 |
on some OSes and especially that the OS-provided versions |
1906 |
can be significantly slower makes it clear that it was |
1907 |
a mistake to have the external SHA-256 support enabled by |
1908 |
default. |
1909 |
|
1910 |
Those who want it can now pass --enable-external-sha256 to |
1911 |
configure. INSTALL was updated with notes about OSes where |
1912 |
this can be a bad idea. |
1913 |
|
1914 |
The SHA-256 detection code in configure.ac had some bugs that |
1915 |
could lead to a build failure in some situations. These were |
1916 |
fixed, although it doesn't matter that much now that the |
1917 |
external SHA-256 is disabled by default. |
1918 |
|
1919 |
MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init |
1920 |
in libc instead of libutil. Support for the libutil version |
1921 |
was removed. |
1922 |
|
2767 |
|
1923 |
INSTALL | 36 ++++++++++++++++++++++ |
2768 |
src/xz/list.c | 8 ++------ |
1924 |
configure.ac | 76 +++++++++++++++++++++++------------------------ |
2769 |
1 file changed, 2 insertions(+), 6 deletions(-) |
1925 |
src/liblzma/check/check.h | 16 ++++------ |
|
|
1926 |
3 files changed, 79 insertions(+), 49 deletions(-) |
1927 |
|
2770 |
|
1928 |
commit ea7f6ff04cb5bb1498088eb09960a4c3f13dfe39 |
2771 |
commit e782af9110d8499c7ac2929bc871540eefea5ea1 |
1929 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2772 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1930 |
Date: 2016-03-10 20:27:05 +0200 |
2773 |
Date: 2022-11-26 22:21:13 +0200 |
1931 |
|
2774 |
|
1932 |
Update THANKS. |
2775 |
liblzma: Use lzma_filters_free() in more places. |
1933 |
|
2776 |
|
1934 |
THANKS | 1 + |
2777 |
src/liblzma/common/block_header_decoder.c | 20 ++------------------ |
1935 |
1 file changed, 1 insertion(+) |
2778 |
src/liblzma/common/stream_decoder.c | 4 +--- |
|
|
2779 |
src/liblzma/common/stream_decoder_mt.c | 22 +++++----------------- |
2780 |
3 files changed, 8 insertions(+), 38 deletions(-) |
1936 |
|
2781 |
|
1937 |
commit d0e018016b311232e82d9a98dc68f1e3dabce794 |
2782 |
commit 90caaded2dc6db1d6a55b01160d7e87f4a423628 |
1938 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2783 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1939 |
Date: 2016-03-10 20:26:49 +0200 |
2784 |
Date: 2022-11-25 18:04:37 +0200 |
1940 |
|
2785 |
|
1941 |
Build: Avoid SHA256_Init on FreeBSD and MINIX 3. |
2786 |
liblzma: Omit simple coder init functions if they are disabled. |
|
|
2787 |
|
2788 |
src/liblzma/simple/arm.c | 4 ++++ |
2789 |
src/liblzma/simple/armthumb.c | 4 ++++ |
2790 |
src/liblzma/simple/ia64.c | 4 ++++ |
2791 |
src/liblzma/simple/powerpc.c | 4 ++++ |
2792 |
src/liblzma/simple/sparc.c | 4 ++++ |
2793 |
src/liblzma/simple/x86.c | 4 ++++ |
2794 |
6 files changed, 24 insertions(+) |
2795 |
|
2796 |
commit 5cd9f0df78cc4f8a7807bf6104adea13034fbb45 |
2797 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2798 |
Date: 2022-11-24 23:24:59 +0200 |
2799 |
|
2800 |
xz: Allow nice_len 2 and 3 even if match finder requires 3 or 4. |
1942 |
|
2801 |
|
1943 |
On FreeBSD 10 and older, SHA256_Init from libmd conflicts |
2802 |
Now that liblzma accepts these, we avoid the extra check and |
1944 |
with libcrypto from OpenSSL. The OpenSSL version has |
2803 |
there's one message less for translators too. |
1945 |
different sizeof(SHA256_CTX) and it can cause weird |
2804 |
|
1946 |
problems if wrong SHA256_Init gets used. |
2805 |
src/xz/options.c | 5 ----- |
|
|
2806 |
1 file changed, 5 deletions(-) |
2807 |
|
2808 |
commit 3be88ae071371caa279b44e13f4836fb178fe4ae |
2809 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2810 |
Date: 2022-11-24 23:23:55 +0200 |
2811 |
|
2812 |
liblzma: Allow nice_len 2 and 3 even if match finder requires 3 or 4. |
1947 |
|
2813 |
|
1948 |
Looking at the source, MINIX 3 seems to have a similar issue but |
2814 |
That is, if the specified nice_len is smaller than the minimum |
1949 |
I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too. |
2815 |
of the match finder, silently use the match finder's minimum value |
1950 |
|
2816 |
instead of reporting an error. The old behavior is annoying to users |
1951 |
NetBSD has SHA256_Init in libc and they had a similar problem, |
2817 |
and it complicates xz options handling too. |
1952 |
but they already fixed it in 2009. |
|
|
1953 |
|
1954 |
Thanks to Jim Wilcoxson for the bug report that helped |
1955 |
in finding the problem. |
1956 |
|
2818 |
|
1957 |
configure.ac | 27 +++++++++++++++++++++------ |
2819 |
src/liblzma/lz/lz_encoder.c | 14 +++++++++----- |
1958 |
1 file changed, 21 insertions(+), 6 deletions(-) |
2820 |
src/liblzma/lz/lz_encoder.h | 9 +++++++++ |
|
|
2821 |
src/liblzma/lzma/lzma_encoder.c | 11 ++++++++--- |
2822 |
3 files changed, 26 insertions(+), 8 deletions(-) |
1959 |
|
2823 |
|
1960 |
commit 5daae123915f32a4ed6dc948b831533c2d1beec3 |
2824 |
commit 93439cfafe1768b3b18d67d2356ef7e7559bba59 |
1961 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2825 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1962 |
Date: 2015-11-08 20:16:10 +0200 |
2826 |
Date: 2022-11-24 16:25:10 +0200 |
1963 |
|
2827 |
|
1964 |
tuklib_physmem: Hopefully silence a warning on Windows. |
2828 |
liblzma: Add lzma_filters_update() support to the multi-threaded encoder. |
|
|
2829 |
|
2830 |
A tiny downside of this is that now a 1-4 tiny allocations are made |
2831 |
for every Block because each worker thread needs its own copy of |
2832 |
the filter chain. |
1965 |
|
2833 |
|
1966 |
src/common/tuklib_physmem.c | 3 ++- |
2834 |
src/liblzma/api/lzma/filter.h | 36 +++++++------ |
1967 |
1 file changed, 2 insertions(+), 1 deletion(-) |
2835 |
src/liblzma/common/stream_encoder_mt.c | 96 +++++++++++++++++++++++++++++++--- |
|
|
2836 |
2 files changed, 109 insertions(+), 23 deletions(-) |
1968 |
|
2837 |
|
1969 |
commit 491acc406e098167ccb7fce0728b94c2f32cff9f |
2838 |
commit 17ac51e689794eb41cab3e80946fec689caea2d2 |
1970 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2839 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1971 |
Date: 2015-11-04 23:17:43 +0200 |
2840 |
Date: 2022-11-24 14:53:22 +0200 |
1972 |
|
2841 |
|
1973 |
Update THANKS. |
2842 |
Update THANKS. |
1974 |
|
2843 |
|
1975 |
THANKS | 1 + |
2844 |
THANKS | 1 + |
1976 |
1 file changed, 1 insertion(+) |
2845 |
1 file changed, 1 insertion(+) |
1977 |
|
2846 |
|
1978 |
commit 8173ff8790ad3502d04e1c07d014cb84a3b8187b |
2847 |
commit 06824396b2b6c84f3a235cb7c19c2a9701167797 |
1979 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2848 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1980 |
Date: 2015-11-04 23:14:00 +0200 |
2849 |
Date: 2022-11-24 14:52:44 +0200 |
1981 |
|
2850 |
|
1982 |
liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma. |
2851 |
Build: Don't put GNU/Linux-specific symbol versions into static liblzma. |
1983 |
|
2852 |
|
1984 |
When optimizing, GCC can reorder code so that an uninitialized |
2853 |
It not only makes no sense to put symbol versions into a static library |
1985 |
value gets used in a comparison, which makes Valgrind unhappy. |
2854 |
but it can also cause breakage. |
1986 |
It doesn't happen when compiled with -O0, which I tend to use |
|
|
1987 |
when running Valgrind. |
1988 |
|
2855 |
|
1989 |
Thanks to Rich Prohaska. I remember this being mentioned long |
2856 |
By default Libtool #defines PIC if building a shared library and |
1990 |
ago by someone else but nothing was done back then. |
2857 |
doesn't define it for static libraries. This is documented in the |
|
|
2858 |
Libtool manual. It can be overriden using --with-pic or --without-pic. |
2859 |
configure.ac detects if --with-pic or --without-pic is used and then |
2860 |
gives an error if neither --disable-shared nor --disable-static was |
2861 |
used at the same time. Thus, in normal situations it works to build |
2862 |
both shared and static library at the same time on GNU/Linux, |
2863 |
only --with-pic or --without-pic requires that only one type of |
2864 |
library is built. |
2865 |
|
2866 |
Thanks to John Paul Adrian Glaubitz from Debian for reporting |
2867 |
the problem that occurred on ia64: |
2868 |
https://www.mail-archive.com/xz-devel@tukaani.org/msg00610.html |
1991 |
|
2869 |
|
1992 |
src/liblzma/lz/lz_encoder.c | 4 ++++ |
2870 |
CMakeLists.txt | 5 +- |
1993 |
1 file changed, 4 insertions(+) |
2871 |
configure.ac | 143 +++++++++++++++++++++++++++++--------------- |
|
|
2872 |
src/liblzma/common/common.h | 12 ++++ |
2873 |
3 files changed, 111 insertions(+), 49 deletions(-) |
1994 |
|
2874 |
|
1995 |
commit 013de2b5ab8094d2c82a2771f3d143eeb656eda9 |
2875 |
commit e1acf7107291f8b3d6d609a7133331ff36d35d14 |
1996 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2876 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
1997 |
Date: 2015-11-03 20:55:45 +0200 |
2877 |
Date: 2022-11-24 01:32:16 +0200 |
1998 |
|
2878 |
|
1999 |
liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c. |
2879 |
liblzma: Refactor to use lzma_filters_free(). |
2000 |
|
2880 |
|
2001 |
It would be too annoying to update other build systems |
2881 |
lzma_filters_free() sets the options to NULL and ids to |
2002 |
just because of this. |
2882 |
LZMA_VLI_UNKNOWN so there is no need to do it by caller; |
|
|
2883 |
the filter arrays will always be left in a safe state. |
2884 |
|
2885 |
Also use memcpy() instead of a loop to copy a filter chain |
2886 |
when it is known to be safe to copy LZMA_FILTERS_MAX + 1 |
2887 |
(even if the elements past the terminator might be uninitialized). |
2003 |
|
2888 |
|
2004 |
src/liblzma/lzma/Makefile.inc | 2 +- |
2889 |
src/liblzma/common/stream_encoder.c | 16 ++++------------ |
2005 |
src/liblzma/lzma/{lzma_presets.c => lzma_encoder_presets.c} | 2 +- |
2890 |
src/liblzma/common/stream_encoder_mt.c | 11 ++--------- |
2006 |
2 files changed, 2 insertions(+), 2 deletions(-) |
2891 |
2 files changed, 6 insertions(+), 21 deletions(-) |
2007 |
|
2892 |
|
2008 |
commit a322f70ad96de88968c2c36e6a36bc08ae30bd20 |
2893 |
commit cb05dbcf8b868441ec805016222f3fd77f1c5caa |
2009 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2894 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2010 |
Date: 2015-11-03 20:47:07 +0200 |
2895 |
Date: 2022-11-24 01:26:37 +0200 |
2011 |
|
2896 |
|
2012 |
Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built. |
2897 |
liblzma: Fix another invalid free() after memory allocation failure. |
2013 |
|
2898 |
|
2014 |
They all need decoder support and if that isn't available, |
2899 |
This time it can happen when lzma_stream_encoder_mt() is used |
2015 |
there's no point trying to build them. |
2900 |
to reinitialize an existing multi-threaded Stream encoder |
|
|
2901 |
and one of 1-4 tiny allocations in lzma_filters_copy() fail. |
2902 |
|
2903 |
It's very similar to the previous bug |
2904 |
10430fbf3820dafd4eafd38ec8be161a6978ed2b, happening with |
2905 |
an array of lzma_filter structures whose old options are freed |
2906 |
but the replacement never arrives due to a memory allocation |
2907 |
failure in lzma_filters_copy(). |
2016 |
|
2908 |
|
2017 |
configure.ac | 3 +++ |
2909 |
src/liblzma/common/stream_encoder_mt.c | 4 ++++ |
2018 |
1 file changed, 3 insertions(+) |
2910 |
1 file changed, 4 insertions(+) |
2019 |
|
2911 |
|
2020 |
commit 8ea49606cf6427e32319de7693eca9e43f1c8ad6 |
2912 |
commit 75f1a6c26df4ce329da0882786403e3ccf5cd898 |
2021 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2913 |
Author: Jia Tan <jiat0218@gmail.com> |
2022 |
Date: 2015-11-03 20:35:19 +0200 |
2914 |
Date: 2022-05-05 20:53:42 +0800 |
2023 |
|
2915 |
|
2024 |
Build: Simplify $enable_{encoders,decoders} usage a bit. |
2916 |
liblzma: Add support for LZMA_SYNC_FLUSH in the Block encoder. |
|
|
2917 |
|
2918 |
The documentation mentions that lzma_block_encoder() supports |
2919 |
LZMA_SYNC_FLUSH but it was never added to supported_actions[] |
2920 |
in the internal structure. Because of this, LZMA_SYNC_FLUSH could |
2921 |
not be used with the Block encoder unless it was the next coder |
2922 |
after something like stream_encoder() or stream_encoder_mt(). |
2025 |
|
2923 |
|
2026 |
configure.ac | 6 ++++-- |
2924 |
src/liblzma/common/block_encoder.c | 1 + |
2027 |
1 file changed, 4 insertions(+), 2 deletions(-) |
2925 |
1 file changed, 1 insertion(+) |
2028 |
|
2926 |
|
2029 |
commit 42131a25e52bfe400acfa7df93469a96bb78bb78 |
2927 |
commit d0901645170b638c517f5c50866b6ef48f491c65 |
2030 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2928 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2031 |
Date: 2015-11-03 20:31:31 +0200 |
2929 |
Date: 2022-11-24 01:02:50 +0200 |
2032 |
|
2930 |
|
2033 |
Windows/MSVC: Update config.h. |
2931 |
liblzma: Add new API function lzma_filters_free(). |
|
|
2932 |
|
2933 |
This is small but convenient and should have been added |
2934 |
a long time ago. |
2034 |
|
2935 |
|
2035 |
windows/config.h | 6 ++++++ |
2936 |
src/liblzma/api/lzma/filter.h | 21 +++++++++++++++++++++ |
2036 |
1 file changed, 6 insertions(+) |
2937 |
src/liblzma/common/filter_common.c | 26 ++++++++++++++++++++++++++ |
|
|
2938 |
src/liblzma/liblzma_generic.map | 1 + |
2939 |
src/liblzma/liblzma_linux.map | 1 + |
2940 |
4 files changed, 49 insertions(+) |
2037 |
|
2941 |
|
2038 |
commit e9184e87cc989d14c7413e6adb3eca98f6ae0290 |
2942 |
commit ae1f8a723dcde2f2c5cf444bcbb5fc5026b3c3c5 |
2039 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2943 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2040 |
Date: 2015-11-03 20:29:58 +0200 |
2944 |
Date: 2022-11-24 00:02:31 +0200 |
2041 |
|
2945 |
|
2042 |
DOS: Update config.h. |
2946 |
CMake: Don't use symbol versioning with static library. |
2043 |
|
2947 |
|
2044 |
dos/config.h | 6 ++++++ |
2948 |
CMakeLists.txt | 10 +++++++--- |
2045 |
1 file changed, 6 insertions(+) |
2949 |
1 file changed, 7 insertions(+), 3 deletions(-) |
2046 |
|
2950 |
|
2047 |
commit 2296778f3c9a1e3a8699973b09dd3610b8baa402 |
2951 |
commit 48c1b99dc537a27e1ca929d8837e778e5ba32191 |
2048 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2952 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2049 |
Date: 2015-11-03 20:29:33 +0200 |
2953 |
Date: 2022-11-23 21:55:22 +0200 |
2050 |
|
2954 |
|
2051 |
xz: Make xz buildable even when encoders or decoders are disabled. |
2955 |
liblzma: Add lzma_attr_warn_unused_result to lzma_filters_copy(). |
2052 |
|
|
|
2053 |
The patch is quite long but it's mostly about adding new #ifdefs |
2054 |
to omit code when encoders or decoders have been disabled. |
2055 |
|
2056 |
This adds two new #defines to config.h: HAVE_ENCODERS and |
2057 |
HAVE_DECODERS. |
2058 |
|
2956 |
|
2059 |
configure.ac | 4 ++++ |
2957 |
src/liblzma/api/lzma/filter.h | 3 ++- |
2060 |
src/xz/Makefile.am | 8 ++++++-- |
2958 |
1 file changed, 2 insertions(+), 1 deletion(-) |
2061 |
src/xz/args.c | 16 ++++++++++++++++ |
|
|
2062 |
src/xz/coder.c | 33 +++++++++++++++++++++++++-------- |
2063 |
src/xz/main.c | 9 +++++++-- |
2064 |
src/xz/private.h | 5 ++++- |
2065 |
6 files changed, 62 insertions(+), 13 deletions(-) |
2066 |
|
2959 |
|
2067 |
commit 97a3109281e475d9cf1b5095237d672fa0ad25e5 |
2960 |
commit 10430fbf3820dafd4eafd38ec8be161a6978ed2b |
2068 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2961 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2069 |
Date: 2015-11-03 18:06:40 +0200 |
2962 |
Date: 2022-11-23 21:26:21 +0200 |
2070 |
|
2963 |
|
2071 |
Build: Build LZMA1/2 presets also when only decoder is wanted. |
2964 |
liblzma: Fix invalid free() after memory allocation failure. |
2072 |
|
2965 |
|
2073 |
People shouldn't rely on the presets when decoding raw streams, |
2966 |
The bug was in the single-threaded .xz Stream encoder |
2074 |
but xz uses the presets as the starting point for raw decoder |
2967 |
in the code that is used for both re-initialization and for |
2075 |
options anyway. |
2968 |
lzma_filters_update(). To trigger it, an application had |
|
|
2969 |
to either re-initialize an existing encoder instance with |
2970 |
lzma_stream_encoder() or use lzma_filters_update(), and |
2971 |
then one of the 1-4 tiny allocations in lzma_filters_copy() |
2972 |
(called from stream_encoder_update()) must fail. An error |
2973 |
was correctly reported but the encoder state was corrupted. |
2076 |
|
2974 |
|
2077 |
lzma_encocder_presets.c was renamed to lzma_presets.c to |
2975 |
This is related to the recent fix in |
2078 |
make it clear it's not used solely by the encoder code. |
2976 |
f8ee61e74eb40600445fdb601c374d582e1e9c8a which is good but |
|
|
2977 |
it wasn't enough to fix the main problem in stream_encoder.c. |
2079 |
|
2978 |
|
2080 |
src/liblzma/lzma/Makefile.inc | 6 +++++- |
2979 |
src/liblzma/common/stream_encoder.c | 39 +++++++++++++++++++++++++++++-------- |
2081 |
src/liblzma/lzma/{lzma_encoder_presets.c => lzma_presets.c} | 3 ++- |
2980 |
1 file changed, 31 insertions(+), 8 deletions(-) |
2082 |
2 files changed, 7 insertions(+), 2 deletions(-) |
|
|
2083 |
|
2981 |
|
2084 |
commit dc6b78d7f0f6fe43e9d4215146e8581feb8090e7 |
2982 |
commit cafd6dc397ca8b5b5f7775e8d6876b8fe70f8e70 |
2085 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2983 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2086 |
Date: 2015-11-03 17:54:48 +0200 |
2984 |
Date: 2022-11-22 16:37:15 +0200 |
2087 |
|
2985 |
|
2088 |
Build: Fix configure to handle LZMA1 dependency with LZMA2. |
2986 |
liblzma: Fix language in a comment. |
2089 |
|
|
|
2090 |
Now it gives an error if LZMA1 encoder/decoder is missing |
2091 |
when LZMA2 encoder/decoder was requested. Even better would |
2092 |
be LZMA2 implicitly enabling LZMA1 but it would need more code. |
2093 |
|
2987 |
|
2094 |
configure.ac | 5 ----- |
2988 |
src/liblzma/common/stream_encoder.c | 2 +- |
2095 |
1 file changed, 5 deletions(-) |
2989 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2096 |
|
2990 |
|
2097 |
commit 46d76c9cd3cb26a31f5ae6c3a8bbcf38e6da1add |
2991 |
commit c392bf8ccba857baaf50399c4b460119befacd54 |
2098 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2992 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2099 |
Date: 2015-11-03 17:41:54 +0200 |
2993 |
Date: 2022-11-22 11:20:17 +0200 |
2100 |
|
2994 |
|
2101 |
Build: Don't omit lzma_cputhreads() unless using --disable-threads. |
2995 |
liblzma: Fix infinite loop in LZMA encoder init with dict_size >= 2 GiB. |
2102 |
|
2996 |
|
2103 |
Previously it was omitted if encoders were disabled |
2997 |
The encoder doesn't support dictionary sizes larger than 1536 MiB. |
2104 |
with --disable-encoders. It didn't make sense and |
2998 |
This is validated, for example, when calculating the memory usage |
2105 |
it also broke the build. |
2999 |
via lzma_raw_encoder_memusage(). It is also enforced by the LZ |
|
|
3000 |
part of the encoder initialization. However, LZMA encoder with |
3001 |
LZMA_MODE_NORMAL did an unsafe calculation with dict_size before |
3002 |
such validation and that results in an infinite loop if dict_size |
3003 |
was 2 << 30 or greater. |
2106 |
|
3004 |
|
2107 |
src/liblzma/common/Makefile.inc | 5 ++++- |
3005 |
src/liblzma/lzma/lzma_encoder.c | 19 +++++++++++++++---- |
2108 |
1 file changed, 4 insertions(+), 1 deletion(-) |
3006 |
1 file changed, 15 insertions(+), 4 deletions(-) |
2109 |
|
3007 |
|
2110 |
commit 16d68f874d89f1e4a1919786a35bbaef7d71a077 |
3008 |
commit f50534c973a591ccf65485adfc827a8a7126ca6c |
2111 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3009 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2112 |
Date: 2015-11-02 18:16:51 +0200 |
3010 |
Date: 2022-11-21 13:02:33 +0200 |
2113 |
|
3011 |
|
2114 |
liblzma: Fix a build failure related to external SHA-256 support. |
3012 |
liblzma: Fix two Doxygen commands in the API headers. |
2115 |
|
3013 |
|
2116 |
If an appropriate header and structure were found by configure, |
3014 |
These were caught by clang -Wdocumentation. |
2117 |
but a library with a usable SHA-256 functions wasn't, the build |
|
|
2118 |
failed. |
2119 |
|
3015 |
|
2120 |
src/liblzma/check/check.h | 32 +++++++++++++++++++++++--------- |
3016 |
src/liblzma/api/lzma/hardware.h | 2 +- |
2121 |
1 file changed, 23 insertions(+), 9 deletions(-) |
3017 |
src/liblzma/api/lzma/index_hash.h | 2 +- |
|
|
3018 |
2 files changed, 2 insertions(+), 2 deletions(-) |
2122 |
|
3019 |
|
2123 |
commit d9311647fc1ab512a3394596221ab8039c00af6b |
3020 |
commit 649d4872ed2f55196114a061d45b416fc4353569 |
2124 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3021 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2125 |
Date: 2015-11-02 15:19:10 +0200 |
3022 |
Date: 2022-11-19 19:09:55 +0200 |
2126 |
|
3023 |
|
2127 |
xz: Always close the file before trying to delete it. |
3024 |
xz: Refactor duplicate code from hardware_memlimit_mtenc_get(). |
2128 |
|
|
|
2129 |
unlink() can return EBUSY in errno for open files on some |
2130 |
operating systems and file systems. |
2131 |
|
3025 |
|
2132 |
src/xz/file_io.c | 25 ++++++++++++------------- |
3026 |
src/xz/hardware.c | 2 +- |
2133 |
1 file changed, 12 insertions(+), 13 deletions(-) |
3027 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2134 |
|
3028 |
|
2135 |
commit f59c4183f3c9066626ce45dc3db4642fa603fa21 |
3029 |
commit d327743bb547a53364e5951a16e5f1663fe4b9ff |
2136 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3030 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2137 |
Date: 2015-10-12 21:08:42 +0300 |
3031 |
Date: 2022-11-19 19:06:13 +0200 |
2138 |
|
3032 |
|
2139 |
Update THANKS. |
3033 |
xz: Add support --threads=+N so that -T+1 gives threaded mode. |
2140 |
|
3034 |
|
2141 |
THANKS | 1 + |
3035 |
src/xz/args.c | 18 +++++++++++++++--- |
|
|
3036 |
src/xz/hardware.c | 17 +++++++++++++++-- |
3037 |
src/xz/hardware.h | 1 + |
3038 |
src/xz/xz.1 | 21 ++++++++++++++++++++- |
3039 |
4 files changed, 51 insertions(+), 6 deletions(-) |
3040 |
|
3041 |
commit a11a2b8b5e830ba682c1d81aaa7078842b296995 |
3042 |
Author: Jia Tan <jiat0218@gmail.com> |
3043 |
Date: 2022-11-19 23:18:04 +0800 |
3044 |
|
3045 |
CMake: Adds test_memlimit to CMake tests |
3046 |
|
3047 |
CMakeLists.txt | 1 + |
2142 |
1 file changed, 1 insertion(+) |
3048 |
1 file changed, 1 insertion(+) |
2143 |
|
3049 |
|
2144 |
commit 35f189673e280c12e4c5129f9f97e54eef3bbc04 |
3050 |
commit 2af8d9e9b3f44f62d19e7c39297ec63af2e8c64f |
2145 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3051 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2146 |
Date: 2015-10-12 21:07:41 +0300 |
3052 |
Date: 2022-11-15 19:10:21 +0200 |
2147 |
|
3053 |
|
2148 |
Tests: Add tests for the two bugs fixed in index.c. |
3054 |
Translations: Update the Korean translation. |
2149 |
|
3055 |
|
2150 |
tests/test_index.c | 30 ++++++++++++++++++++++++++++++ |
3056 |
po/ko.po | 652 ++++++++++++++++++++++++++++++++++++--------------------------- |
2151 |
1 file changed, 30 insertions(+) |
3057 |
1 file changed, 371 insertions(+), 281 deletions(-) |
2152 |
|
3058 |
|
2153 |
commit e10bfdb0fcaff12f3a6dadee51e0a022aadccb51 |
3059 |
commit 16ac05677292f7e21a4feaddcfb2ab062ea5f385 |
2154 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3060 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2155 |
Date: 2015-10-12 20:45:15 +0300 |
3061 |
Date: 2022-11-15 19:09:28 +0200 |
2156 |
|
3062 |
|
2157 |
liblzma: Fix lzma_index_dup() for empty Streams. |
3063 |
Translations: Update the Turkish translation. |
2158 |
|
|
|
2159 |
Stream Flags and Stream Padding weren't copied from |
2160 |
empty Streams. |
2161 |
|
3064 |
|
2162 |
src/liblzma/common/index.c | 11 ++++++----- |
3065 |
po/tr.po | 568 ++++++++++++++++++++++++++++++++++----------------------------- |
2163 |
1 file changed, 6 insertions(+), 5 deletions(-) |
3066 |
1 file changed, 310 insertions(+), 258 deletions(-) |
2164 |
|
3067 |
|
2165 |
commit 06f434bd8980f25ca23232eb7bb7df7e37dc8448 |
3068 |
commit b9a67d9a5fa207062d4aa8a01639234609315d31 |
2166 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3069 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2167 |
Date: 2015-10-12 20:31:44 +0300 |
3070 |
Date: 2022-11-15 10:58:39 +0200 |
2168 |
|
3071 |
|
2169 |
liblzma: Add a note to index.c for those using static analyzers. |
3072 |
Bump version number for 5.3.4alpha. |
2170 |
|
3073 |
|
2171 |
src/liblzma/common/index.c | 3 +++ |
3074 |
src/liblzma/api/lzma/version.h | 2 +- |
2172 |
1 file changed, 3 insertions(+) |
3075 |
src/liblzma/liblzma_generic.map | 2 +- |
|
|
3076 |
src/liblzma/liblzma_linux.map | 2 +- |
3077 |
3 files changed, 3 insertions(+), 3 deletions(-) |
2173 |
|
3078 |
|
2174 |
commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a |
3079 |
commit 5b999ba289b3280457b7386b9ac65dbbdf1575a5 |
2175 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3080 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2176 |
Date: 2015-09-29 13:59:35 +0300 |
3081 |
Date: 2022-11-15 10:54:40 +0200 |
2177 |
|
3082 |
|
2178 |
Bump version and soname for 5.2.2. |
3083 |
Add NEWS for 5.3.4alpha. |
2179 |
|
3084 |
|
2180 |
src/liblzma/Makefile.am | 2 +- |
3085 |
NEWS | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2181 |
src/liblzma/api/lzma/version.h | 2 +- |
3086 |
1 file changed, 96 insertions(+) |
2182 |
2 files changed, 2 insertions(+), 2 deletions(-) |
|
|
2183 |
|
3087 |
|
2184 |
commit cbe0cec8476bdd0416c7ca9bc83895c9bea1cf78 |
3088 |
commit ce8db9e37da4f6c87691c5066f51f91f2411c44a |
2185 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3089 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2186 |
Date: 2015-09-29 13:57:28 +0300 |
3090 |
Date: 2022-11-15 10:54:08 +0200 |
2187 |
|
3091 |
|
2188 |
Update NEWS for 5.2.2. |
3092 |
Add NEWS for 5.2.8. |
2189 |
|
3093 |
|
2190 |
NEWS | 18 ++++++++++++++++++ |
3094 |
NEWS | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2191 |
1 file changed, 18 insertions(+) |
3095 |
1 file changed, 79 insertions(+) |
2192 |
|
3096 |
|
2193 |
commit 49427ce7eececdd18bbd35dab23c81910d083e1c |
3097 |
commit b56bc8251d2736224af6bdaaae734ceb8926a879 |
2194 |
Author: Andre Noll <maan@tuebingen.mpg.de> |
3098 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2195 |
Date: 2015-05-28 15:50:00 +0200 |
3099 |
Date: 2022-11-14 23:19:57 +0200 |
2196 |
|
3100 |
|
2197 |
Fix typo in German translation. |
3101 |
Revert "liblzma: Simple/BCJ filters: Allow disabling generic BCJ options." |
2198 |
|
3102 |
|
2199 |
As pointed out by Robert Pollak, there's a typo in the German |
3103 |
This reverts commit 177bdc922cb17bd0fd831ab8139dfae912a5c2b8 |
2200 |
translation of the compression preset option (-0 ... -9) help text. |
3104 |
and also does equivalent change to arm64.c. |
2201 |
"The compressor" translates to "der Komprimierer", and the genitive |
3105 |
|
2202 |
form is "des Komprimierers". The old word makes no sense at all. |
3106 |
Now that ARM64 filter will use lzma_options_bcj, this change |
|
|
3107 |
is not needed anymore. |
2203 |
|
3108 |
|
2204 |
po/de.po | 2 +- |
3109 |
src/liblzma/simple/arm.c | 2 +- |
2205 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3110 |
src/liblzma/simple/arm64.c | 2 +- |
|
|
3111 |
src/liblzma/simple/armthumb.c | 2 +- |
3112 |
src/liblzma/simple/ia64.c | 2 +- |
3113 |
src/liblzma/simple/powerpc.c | 2 +- |
3114 |
src/liblzma/simple/simple_coder.c | 4 ++-- |
3115 |
src/liblzma/simple/simple_private.h | 2 +- |
3116 |
src/liblzma/simple/sparc.c | 2 +- |
3117 |
src/liblzma/simple/x86.c | 3 +-- |
3118 |
9 files changed, 10 insertions(+), 11 deletions(-) |
2206 |
|
3119 |
|
2207 |
commit 608d6f06c940e7f28c25de005e8b99bdff42d27c |
3120 |
commit 8370ec8edf9ddf8d1d9fef03d8d1027503ec4c35 |
2208 |
Author: Hauke Henningsen <sqrt@entless.org> |
3121 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2209 |
Date: 2015-08-17 04:59:54 +0200 |
3122 |
Date: 2022-11-14 23:14:41 +0200 |
2210 |
|
3123 |
|
2211 |
Update German translation, mostly wrt orthography |
3124 |
Replace the experimental ARM64 filter with a new experimental version. |
2212 |
|
3125 |
|
2213 |
Provide an update of the German translation. |
3126 |
This is incompatible with the previous version. |
2214 |
* A lot of compound words were previously written with spaces, while |
|
|
2215 |
German orthography is relatively clear in that the components |
2216 |
should not be separated. |
2217 |
* When referring to the actual process of (de)compression rather than the |
2218 |
concept, replace “(De-)Kompression” with “(De-)Komprimierung”. |
2219 |
Previously, both forms were used in this context and are now used in a |
2220 |
manner consistent with “Komprimierung” being more likely to refer to |
2221 |
a process. |
2222 |
* Consistently translate “standard input”/“output” |
2223 |
* Use “Zeichen” instead of false friend “Charakter” for “character” |
2224 |
* Insert commas around relative clauses (as required in German) |
2225 |
* Some other minor corrections |
2226 |
* Capitalize “ß” as “ẞ” |
2227 |
* Consistently start option descriptions in --help with capital letters |
2228 |
|
3127 |
|
2229 |
Acked-By: Andre Noll <maan@tuebingen.mpg.de> |
3128 |
This has space/tab fixes in filter_*.c and bcj.h too. |
2230 |
|
|
|
2231 |
* Update after msgmerge |
2232 |
|
3129 |
|
2233 |
po/de.po | 383 ++++++++++++++++++++++++++++++++------------------------------- |
3130 |
src/liblzma/api/lzma/bcj.h | 41 +----- |
2234 |
1 file changed, 196 insertions(+), 187 deletions(-) |
3131 |
src/liblzma/common/filter_common.c | 14 +- |
|
|
3132 |
src/liblzma/common/filter_decoder.c | 12 +- |
3133 |
src/liblzma/common/filter_encoder.c | 17 +-- |
3134 |
src/liblzma/simple/arm64.c | 283 ++++++++++++++---------------------- |
3135 |
src/liblzma/simple/simple_decoder.h | 4 - |
3136 |
src/liblzma/simple/simple_encoder.h | 2 - |
3137 |
src/xz/args.c | 2 +- |
3138 |
src/xz/message.c | 13 +- |
3139 |
src/xz/options.c | 39 ----- |
3140 |
src/xz/options.h | 7 - |
3141 |
11 files changed, 147 insertions(+), 287 deletions(-) |
2235 |
|
3142 |
|
2236 |
commit c8988414e5b67b8ef2fe0ba7b1ccdd0ec73c60d3 |
3143 |
commit f644473a211394447824ea00518d0a214ff3f7f2 |
2237 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3144 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2238 |
Date: 2015-08-11 13:23:04 +0300 |
3145 |
Date: 2022-11-14 21:34:57 +0200 |
2239 |
|
3146 |
|
2240 |
Build: Minor Cygwin cleanup. |
3147 |
liblzma: Add fast CRC64 for 32/64-bit x86 using SSSE3 + SSE4.1 + CLMUL. |
2241 |
|
3148 |
|
2242 |
Some tests used "cygwin*" and some used "cygwin". I changed |
3149 |
It also works on E2K as it supports these intrinsics. |
2243 |
them all to use "cygwin". Shouldn't affect anything in practice. |
3150 |
|
|
|
3151 |
On x86-64 runtime detection is used so the code keeps working on |
3152 |
older processors too. A CLMUL-only build can be done by using |
3153 |
-msse4.1 -mpclmul in CFLAGS and this will reduce the library |
3154 |
size since the generic implementation and its 8 KiB lookup table |
3155 |
will be omitted. |
3156 |
|
3157 |
On 32-bit x86 this isn't used by default for now because by default |
3158 |
on 32-bit x86 the separate assembly file crc64_x86.S is used. |
3159 |
If --disable-assembler is used then this new CLMUL code is used |
3160 |
the same way as on 64-bit x86. However, a CLMUL-only build |
3161 |
(-msse4.1 -mpclmul) won't omit the 8 KiB lookup table on |
3162 |
32-bit x86 due to a currently-missing check for disabled |
3163 |
assembler usage. |
3164 |
|
3165 |
The configure.ac check should be such that the code won't be |
3166 |
built if something in the toolchain doesn't support it but |
3167 |
--disable-clmul-crc option can be used to unconditionally |
3168 |
disable this feature. |
3169 |
|
3170 |
CLMUL speeds up decompression of files that have compressed very |
3171 |
well (assuming CRC64 is used as a check type). It is know that |
3172 |
the CLMUL code is significantly slower than the generic code for |
3173 |
tiny inputs (especially 1-8 bytes but up to 16 bytes). If that |
3174 |
is a real-world problem then there is already a commented-out |
3175 |
variant that uses the generic version for small inputs. |
3176 |
|
3177 |
Thanks to Ilya Kurdyukov for the original patch which was |
3178 |
derived from a white paper from Intel [1] (published in 2009) |
3179 |
and public domain code from [2] (released in 2016). |
3180 |
|
3181 |
[1] https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/fast-crc-computation-generic-polynomials-pclmulqdq-paper.pdf |
3182 |
[2] https://github.com/rawrunprotected/crc |
2244 |
|
3183 |
|
2245 |
configure.ac | 6 +++--- |
3184 |
CMakeLists.txt | 26 ++- |
|
|
3185 |
INSTALL | 12 ++ |
3186 |
configure.ac | 59 +++++- |
3187 |
src/liblzma/check/crc64_fast.c | 449 +++++++++++++++++++++++++++++++++++++++- |
3188 |
src/liblzma/check/crc64_table.c | 21 +- |
3189 |
5 files changed, 554 insertions(+), 13 deletions(-) |
3190 |
|
3191 |
commit 3b466bc79672bb2b06d1245a500588e6026e0ba0 |
3192 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3193 |
Date: 2022-11-14 20:14:34 +0200 |
3194 |
|
3195 |
Translations: Update the Swedish translation one more time. |
3196 |
|
3197 |
po/sv.po | 6 +++--- |
2246 |
1 file changed, 3 insertions(+), 3 deletions(-) |
3198 |
1 file changed, 3 insertions(+), 3 deletions(-) |
2247 |
|
3199 |
|
2248 |
commit 85a6dfed53477906bfe9a7c0123dd412e391cb48 |
3200 |
commit e963379a8622ebdff6ce78e76b803bcd1e1d16d6 |
2249 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3201 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2250 |
Date: 2015-08-11 13:21:52 +0300 |
3202 |
Date: 2022-11-14 19:34:15 +0200 |
2251 |
|
3203 |
|
2252 |
Build: Support building of MSYS2 binaries. |
3204 |
Translations: Update the Swedish translation again. |
2253 |
|
3205 |
|
2254 |
configure.ac | 16 +++++++++++----- |
3206 |
po/sv.po | 16 ++++++++-------- |
2255 |
1 file changed, 11 insertions(+), 5 deletions(-) |
3207 |
1 file changed, 8 insertions(+), 8 deletions(-) |
2256 |
|
3208 |
|
2257 |
commit 77f270be8432df2e4516a0c48814b6976d6618c5 |
3209 |
commit a4bc689a823a2254f29ac9d233170add5121b307 |
2258 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3210 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2259 |
Date: 2015-08-09 21:06:26 +0300 |
3211 |
Date: 2022-11-14 19:07:45 +0200 |
2260 |
|
3212 |
|
2261 |
Windows: Define DLL_EXPORT when building liblzma.dll with MSVC. |
3213 |
Translations: Update the Swedish translation. |
2262 |
|
|
|
2263 |
src/liblzma/common/common.h uses it to set __declspec(dllexport) |
2264 |
for the API symbols. |
2265 |
|
2266 |
Thanks to Adam Walling. |
2267 |
|
3214 |
|
2268 |
windows/liblzma_dll.vcxproj | 12 ++++++------ |
3215 |
po/sv.po | 671 ++++++++++++++++++++++++++++++++++++--------------------------- |
2269 |
1 file changed, 6 insertions(+), 6 deletions(-) |
3216 |
1 file changed, 382 insertions(+), 289 deletions(-) |
2270 |
|
3217 |
|
2271 |
commit 8c975446c5903090a5a8493b5b96b71003056a88 |
3218 |
commit bbf2073d824ab4ba33bed4b77f467435abd333a5 |
2272 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3219 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2273 |
Date: 2015-08-09 21:02:20 +0300 |
3220 |
Date: 2022-11-14 18:58:09 +0200 |
2274 |
|
3221 |
|
2275 |
Windows: Omit unneeded header files from MSVC project files. |
3222 |
Translations: Update the Ukrainian translation. |
2276 |
|
3223 |
|
2277 |
windows/liblzma.vcxproj | 5 ----- |
3224 |
po/uk.po | 618 ++++++++++++++++++++++++++++++++++++--------------------------- |
2278 |
windows/liblzma_dll.vcxproj | 5 ----- |
3225 |
1 file changed, 354 insertions(+), 264 deletions(-) |
2279 |
2 files changed, 10 deletions(-) |
|
|
2280 |
|
3226 |
|
2281 |
commit 119a00434954726ca58e4a578e6469f530fca30e |
3227 |
commit ac10b1b3622e70881595586edfb8a3ebdcd76bb6 |
2282 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3228 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2283 |
Date: 2015-07-12 20:48:19 +0300 |
3229 |
Date: 2022-11-14 17:58:07 +0200 |
2284 |
|
3230 |
|
2285 |
liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer. |
3231 |
Build: Omit x86_64 from --enable-assembler. |
|
|
3232 |
|
3233 |
It didn't do anything. There are only 32-bit x86 assembly files |
3234 |
and it feels likely that new files won't be added as intrinsics |
3235 |
in C are more portable across toolchains and OSes. |
2286 |
|
3236 |
|
2287 |
src/liblzma/api/lzma.h | 18 +++++++++++++----- |
3237 |
configure.ac | 6 ++---- |
2288 |
1 file changed, 13 insertions(+), 5 deletions(-) |
3238 |
1 file changed, 2 insertions(+), 4 deletions(-) |
2289 |
|
3239 |
|
2290 |
commit d4e7c557fcab353539c9481a8d95cb04bcb15c7c |
3240 |
commit eb0f1450ad9f23dac03050d9c8375980240aee21 |
2291 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3241 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2292 |
Date: 2015-06-19 20:38:55 +0300 |
3242 |
Date: 2022-11-14 16:00:52 +0200 |
2293 |
|
3243 |
|
2294 |
Update THANKS. |
3244 |
liblzma: Use __attribute__((__constructor__)) if available. |
|
|
3245 |
|
3246 |
This uses it for CRC table initializations when using --disable-small. |
3247 |
It avoids mythread_once() overhead. It also means that then |
3248 |
--disable-small --disable-threads is thread-safe if this attribute |
3249 |
is supported. |
2295 |
|
3250 |
|
2296 |
THANKS | 2 ++ |
3251 |
CMakeLists.txt | 15 +++++++++++++++ |
2297 |
1 file changed, 2 insertions(+) |
3252 |
INSTALL | 4 +++- |
|
|
3253 |
configure.ac | 31 ++++++++++++++++++++++++++++--- |
3254 |
src/liblzma/check/crc32_small.c | 7 +++++++ |
3255 |
src/liblzma/check/crc64_small.c | 5 +++++ |
3256 |
src/liblzma/lz/lz_encoder.c | 2 +- |
3257 |
6 files changed, 59 insertions(+), 5 deletions(-) |
2298 |
|
3258 |
|
2299 |
commit 98001740ca56c894a7bd32eb47e9857a8a7d878d |
3259 |
commit 6553f49b11dafad35c73b05f12e14865ea1fd8a1 |
2300 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3260 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2301 |
Date: 2015-06-19 20:21:30 +0300 |
3261 |
Date: 2022-11-12 21:19:52 +0200 |
2302 |
|
3262 |
|
2303 |
Windows: Update the docs. |
3263 |
Translations: Update the Romanian translation. |
2304 |
|
3264 |
|
2305 |
INSTALL | 29 ++++++++----- |
3265 |
po/ro.po | 651 +++++++++++++++++++++++++++++++++++++-------------------------- |
2306 |
windows/INSTALL-MSVC.txt | 47 ++++++++++++++++++++++ |
3266 |
1 file changed, 380 insertions(+), 271 deletions(-) |
2307 |
windows/{INSTALL-Windows.txt => INSTALL-MinGW.txt} | 2 +- |
|
|
2308 |
3 files changed, 67 insertions(+), 11 deletions(-) |
2309 |
|
3267 |
|
2310 |
commit 28195e4c877007cc760ecea1d17f740693d66873 |
3268 |
commit db97e69e12393becc29f8febd53133d0d36989bd |
2311 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3269 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2312 |
Date: 2015-06-19 17:25:31 +0300 |
3270 |
Date: 2022-11-12 21:17:45 +0200 |
2313 |
|
3271 |
|
2314 |
Windows: Add MSVC project files for building liblzma. |
3272 |
Translations: Update the Hungarian translation. |
2315 |
|
|
|
2316 |
Thanks to Adam Walling for creating these files. |
2317 |
|
3273 |
|
2318 |
windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++ |
3274 |
po/hu.po | 625 ++++++++++++++++++++++++++++++++++++--------------------------- |
2319 |
windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++ |
3275 |
1 file changed, 357 insertions(+), 268 deletions(-) |
2320 |
windows/xz_win.sln | 48 ++++++ |
|
|
2321 |
3 files changed, 795 insertions(+) |
2322 |
|
3276 |
|
2323 |
commit 960440f3230dc628f6966d9f7614fc1b28baf44e |
3277 |
commit 2bbb9c0f3829a8b121b36998d273a6c6f92000f4 |
2324 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3278 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2325 |
Date: 2015-05-13 20:57:55 +0300 |
3279 |
Date: 2022-11-11 17:58:57 +0200 |
2326 |
|
3280 |
|
2327 |
Tests: Fix a memory leak in test_bcj_exact_size. |
3281 |
Translations: Update the Finnish translation. |
2328 |
|
|
|
2329 |
Thanks to Cristian Rodríguez. |
2330 |
|
3282 |
|
2331 |
tests/test_bcj_exact_size.c | 1 + |
3283 |
po/fi.po | 610 ++++++++++++++++++++++++++++++++++++--------------------------- |
2332 |
1 file changed, 1 insertion(+) |
3284 |
1 file changed, 348 insertions(+), 262 deletions(-) |
2333 |
|
3285 |
|
2334 |
commit 68cd35acafbdcdf4e8ea8b5bb843c736939d6f8b |
3286 |
commit 3c8cbb8137b6f8ed9416c1209d73cdbcb015251f |
2335 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3287 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2336 |
Date: 2015-05-12 18:08:24 +0300 |
3288 |
Date: 2022-11-11 17:58:18 +0200 |
2337 |
|
3289 |
|
2338 |
Fix NEWS about threading in 5.2.0. |
3290 |
Translations: Update the Croatian translation. |
2339 |
|
|
|
2340 |
Thanks to Andy Hochhaus. |
2341 |
|
3291 |
|
2342 |
NEWS | 3 ++- |
3292 |
po/hr.po | 680 +++++++++++++++++++++++++++++++++++---------------------------- |
2343 |
1 file changed, 2 insertions(+), 1 deletion(-) |
3293 |
1 file changed, 381 insertions(+), 299 deletions(-) |
2344 |
|
3294 |
|
2345 |
commit ff96ed6d25786728356017a13baf8c14731b4f1e |
3295 |
commit 26c3359eac0988d6f3986735cd1363bec1678e8e |
2346 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3296 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2347 |
Date: 2015-05-11 21:26:16 +0300 |
3297 |
Date: 2022-11-11 17:57:18 +0200 |
2348 |
|
3298 |
|
2349 |
xz: Document that threaded decompression hasn't been implemented yet. |
3299 |
Translations: Update the Polish translation. |
2350 |
|
3300 |
|
2351 |
src/xz/xz.1 | 10 +++++++++- |
3301 |
po/pl.po | 569 ++++++++++++++++++++++++++++++++++----------------------------- |
2352 |
1 file changed, 9 insertions(+), 1 deletion(-) |
3302 |
1 file changed, 309 insertions(+), 260 deletions(-) |
2353 |
|
3303 |
|
2354 |
commit 00d37b64a64ea8597fd2422d5187afd761ab9531 |
3304 |
commit 577e467b137c735afb8de6ae71ac7a73c2960cc4 |
2355 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3305 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2356 |
Date: 2015-04-20 20:20:29 +0300 |
3306 |
Date: 2022-11-11 17:56:44 +0200 |
2357 |
|
3307 |
|
|
|
3308 |
Translations: Update the Spanish translation. |
3309 |
|
3310 |
po/es.po | 598 ++++++++++++++++++++++++++++++++++++--------------------------- |
3311 |
1 file changed, 344 insertions(+), 254 deletions(-) |
3312 |
|
3313 |
commit f9b4ff6e9a0f1678650775582d3e4fe782abce97 |
3314 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3315 |
Date: 2022-11-11 17:16:03 +0200 |
3316 |
|
2358 |
Update THANKS. |
3317 |
Update THANKS. |
2359 |
|
3318 |
|
2360 |
THANKS | 1 + |
3319 |
THANKS | 1 + |
2361 |
1 file changed, 1 insertion(+) |
3320 |
1 file changed, 1 insertion(+) |
2362 |
|
3321 |
|
2363 |
commit db190a832c49ca3aed6d69cc992fa5583cae7b11 |
3322 |
commit a39961ef211e1bf030b17edeea3cff29fe263b67 |
2364 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3323 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2365 |
Date: 2015-04-20 19:59:18 +0300 |
3324 |
Date: 2022-11-11 17:15:25 +0200 |
2366 |
|
3325 |
|
2367 |
Revert "xz: Use pipe2() if available." |
3326 |
liblzma: Fix building with Intel ICC (the classic compiler). |
2368 |
|
3327 |
|
2369 |
This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd. |
3328 |
It claims __GNUC__ >= 10 but doesn't support __symver__ attribute. |
2370 |
It is a problem when libc has pipe2() but the kernel is too |
|
|
2371 |
old to have pipe2() and thus pipe2() fails. In xz it's pointless |
2372 |
to have a fallback for non-functioning pipe2(); it's better to |
2373 |
avoid pipe2() completely. |
2374 |
|
3329 |
|
2375 |
Thanks to Michael Fox for the bug report. |
3330 |
Thanks to Stephen Sachs. |
2376 |
|
3331 |
|
2377 |
configure.ac | 4 ++-- |
3332 |
src/liblzma/common/common.h | 2 +- |
2378 |
src/xz/file_io.c | 9 +-------- |
3333 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2379 |
2 files changed, 3 insertions(+), 10 deletions(-) |
|
|
2380 |
|
3334 |
|
2381 |
commit eccd8155e107c5ada03d13e7730675cdf1a44ddc |
3335 |
commit c715f683dcb1a817d565da292cddfbceda643e12 |
2382 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3336 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2383 |
Date: 2015-03-29 22:14:47 +0300 |
3337 |
Date: 2022-11-11 14:35:58 +0200 |
2384 |
|
3338 |
|
2385 |
Update THANKS. |
3339 |
liblzma: Fix incorrect #ifdef for x86 SSE2 support. |
|
|
3340 |
|
3341 |
__SSE2__ is the correct macro for SSE2 support with GCC, Clang, |
3342 |
and ICC. __SSE2_MATH__ means doing floating point math with SSE2 |
3343 |
instead of 387. Often the latter macro is defined if the first |
3344 |
one is but it was still a bug. |
2386 |
|
3345 |
|
2387 |
THANKS | 1 + |
3346 |
src/liblzma/common/memcmplen.h | 3 +-- |
2388 |
1 file changed, 1 insertion(+) |
3347 |
1 file changed, 1 insertion(+), 2 deletions(-) |
2389 |
|
3348 |
|
2390 |
commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00 |
3349 |
commit bd334ae56afe7f642ad4d0f1ac19e74e82daa1ce |
2391 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3350 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2392 |
Date: 2015-03-29 22:13:48 +0300 |
3351 |
Date: 2022-11-11 13:27:06 +0200 |
2393 |
|
3352 |
|
2394 |
Fix the detection of installed RAM on QNX. |
3353 |
Add NEWS for 5.2.7 (forgotten cherry-pick from v5.2). |
|
|
3354 |
|
3355 |
NEWS | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3356 |
1 file changed, 74 insertions(+) |
3357 |
|
3358 |
commit 3c7860cf49de6f81046b3a4034a89f3a4803a576 |
3359 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3360 |
Date: 2022-11-11 13:16:21 +0200 |
3361 |
|
3362 |
xzdiff: Add support for .lz files. |
2395 |
|
3363 |
|
2396 |
The earlier version compiled but didn't actually work |
3364 |
The other scripts don't need changes for .lz support because |
2397 |
since sysconf(_SC_PHYS_PAGES) always fails (or so I was told). |
3365 |
in those scripts it is enough that xz supports .lz. |
|
|
3366 |
|
3367 |
src/scripts/xzdiff.in | 10 +++++----- |
3368 |
1 file changed, 5 insertions(+), 5 deletions(-) |
3369 |
|
3370 |
commit d76c752a6d77052e5ad57ade555082585f7ac5d8 |
3371 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3372 |
Date: 2022-11-11 12:23:58 +0200 |
3373 |
|
3374 |
Scripts: Ignore warnings from xz. |
2398 |
|
3375 |
|
2399 |
Thanks to Ole André Vadla Ravnås for the patch and testing. |
3376 |
In practice this means making the scripts work when |
|
|
3377 |
the input files have an unsupported check type which |
3378 |
isn't a problem in practice unless support for |
3379 |
some check types has been disabled at build time. |
2400 |
|
3380 |
|
2401 |
m4/tuklib_physmem.m4 | 6 +++--- |
3381 |
src/scripts/xzdiff.in | 5 +++-- |
2402 |
src/common/tuklib_physmem.c | 14 +++++++++++++- |
3382 |
src/scripts/xzgrep.in | 2 +- |
2403 |
2 files changed, 16 insertions(+), 4 deletions(-) |
3383 |
src/scripts/xzless.in | 4 ++-- |
|
|
3384 |
src/scripts/xzmore.in | 4 ++-- |
3385 |
4 files changed, 8 insertions(+), 7 deletions(-) |
2404 |
|
3386 |
|
2405 |
commit 4c544d2410903d38402221cb783ed85585b6a007 |
3387 |
commit 6552535afd1fe29d726ab6e68cf14ce3624fd48c |
2406 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3388 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2407 |
Date: 2015-03-27 22:39:07 +0200 |
3389 |
Date: 2022-11-10 12:34:43 +0200 |
2408 |
|
3390 |
|
2409 |
Fix CPU core count detection on QNX. |
3391 |
Translations: Rename poa4/fr_FR.po to po4a/fr.po. |
2410 |
|
3392 |
|
2411 |
It tried to use sysctl() on QNX but |
3393 |
That's how it is preferred at the Translation Project. |
2412 |
- it broke the build because sysctl() needs -lsocket on QNX; |
3394 |
On my system /usr/share/man/fr_FR doesn't contain any |
2413 |
- sysctl() doesn't work for detecting the core count on QNX |
3395 |
other man pages than XZ Utils while /usr/share/man/fr |
2414 |
even if it compiled. |
3396 |
has quite a few, so this will fix that too. |
2415 |
|
3397 |
|
2416 |
sysconf() works. An alternative would have been to use |
3398 |
Thanks to Benno Schulenberg from the Translation Project. |
2417 |
QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>. |
|
|
2418 |
|
2419 |
Thanks to Ole André Vadla Ravnås. |
2420 |
|
3399 |
|
2421 |
m4/tuklib_cpucores.m4 | 15 +++++++++++---- |
3400 |
po4a/{fr_FR.po => fr.po} | 0 |
2422 |
1 file changed, 11 insertions(+), 4 deletions(-) |
3401 |
po4a/po4a.conf | 2 +- |
|
|
3402 |
2 files changed, 1 insertion(+), 1 deletion(-) |
2423 |
|
3403 |
|
2424 |
commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3 |
3404 |
commit 0918159ce4c75bfb60aff0193b559f8a9f41d25a |
2425 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3405 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2426 |
Date: 2015-03-07 22:05:57 +0200 |
3406 |
Date: 2022-11-09 18:48:50 +0200 |
2427 |
|
3407 |
|
2428 |
xz: size_t/uint32_t cleanup in options.c. |
3408 |
xz: Update the man page about BCJ filters, including upcoming --arm64. |
|
|
3409 |
|
3410 |
The --arm64 isn't actually implemented yet in the form |
3411 |
described in this commit. |
3412 |
|
3413 |
Thanks to Jia Tan. |
2429 |
|
3414 |
|
2430 |
src/xz/options.c | 12 ++++++------ |
3415 |
src/xz/xz.1 | 66 +++++++++++++++++++++++++++---------------------------------- |
2431 |
1 file changed, 6 insertions(+), 6 deletions(-) |
3416 |
1 file changed, 29 insertions(+), 37 deletions(-) |
2432 |
|
3417 |
|
2433 |
commit 8bcca29a65335fd679c13814b70b35b68fa5daed |
3418 |
commit ba2ae3596f6be1587495f33b367488f6e00e56f1 |
2434 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3419 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2435 |
Date: 2015-03-07 22:04:23 +0200 |
3420 |
Date: 2022-11-09 18:14:14 +0200 |
2436 |
|
3421 |
|
2437 |
xz: Fix a comment and silence a warning in message.c. |
3422 |
xz: Add --arm64 to --long-help and omit endianness from ARM(-Thumb). |
|
|
3423 |
|
3424 |
Modern 32-bit ARM in big endian mode use little endian for |
3425 |
instruction encoding still, so the filters work on such |
3426 |
executables too. It's likely less confusing for users this way. |
3427 |
|
3428 |
The --arm64 option hasn't been implemented yet (there is |
3429 |
--experimental-arm64 but it's different). The --arm64 option |
3430 |
is added now anyway because this is the likely result and the |
3431 |
strings need to be ready for translators. |
3432 |
|
3433 |
Thanks to Jia Tan. |
2438 |
|
3434 |
|
2439 |
src/xz/message.c | 5 +++-- |
3435 |
src/xz/message.c | 5 +++-- |
2440 |
1 file changed, 3 insertions(+), 2 deletions(-) |
3436 |
1 file changed, 3 insertions(+), 2 deletions(-) |
2441 |
|
3437 |
|
2442 |
commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b |
3438 |
commit 802d57d9215d9c81dbee86edb43c9e93a7f7ec55 |
2443 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3439 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2444 |
Date: 2015-03-07 22:01:00 +0200 |
3440 |
Date: 2022-11-09 15:12:13 +0200 |
2445 |
|
3441 |
|
2446 |
liblzma: Silence more uint32_t vs. size_t warnings. |
3442 |
Windows: Update the VS project files for ARM64 and .lz support. |
2447 |
|
3443 |
|
2448 |
src/liblzma/lz/lz_encoder.c | 2 +- |
3444 |
windows/vs2013/config.h | 9 +++++++++ |
2449 |
src/liblzma/lzma/lzma_encoder.c | 2 +- |
3445 |
windows/vs2013/liblzma.vcxproj | 5 ++++- |
2450 |
2 files changed, 2 insertions(+), 2 deletions(-) |
3446 |
windows/vs2013/liblzma_dll.vcxproj | 5 ++++- |
|
|
3447 |
windows/vs2017/config.h | 9 +++++++++ |
3448 |
windows/vs2017/liblzma.vcxproj | 3 +++ |
3449 |
windows/vs2017/liblzma_dll.vcxproj | 3 +++ |
3450 |
windows/vs2019/config.h | 9 +++++++++ |
3451 |
windows/vs2019/liblzma.vcxproj | 5 ++++- |
3452 |
windows/vs2019/liblzma_dll.vcxproj | 5 ++++- |
3453 |
9 files changed, 49 insertions(+), 4 deletions(-) |
2451 |
|
3454 |
|
2452 |
commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34 |
3455 |
commit 5846aeda05972bc803c6094821ae836229ebe691 |
2453 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3456 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2454 |
Date: 2015-03-07 19:54:00 +0200 |
3457 |
Date: 2022-11-09 14:57:48 +0200 |
2455 |
|
3458 |
|
2456 |
xz: Make arg_count an unsigned int to silence a warning. |
3459 |
DOS: Update Makefile and config.h to include ARM64 and .lz support. |
2457 |
|
|
|
2458 |
Actually the value of arg_count cannot exceed INT_MAX |
2459 |
but it's nicer as an unsigned int. |
2460 |
|
3460 |
|
2461 |
src/xz/args.h | 2 +- |
3461 |
dos/Makefile | 2 ++ |
2462 |
src/xz/main.c | 2 +- |
3462 |
dos/config.h | 9 +++++++++ |
2463 |
2 files changed, 2 insertions(+), 2 deletions(-) |
3463 |
2 files changed, 11 insertions(+) |
2464 |
|
3464 |
|
2465 |
commit f6ec46801588b1be29c07c9db98558b521304002 |
3465 |
commit 781da8d6c44de6aa278c916375250668a0b107f2 |
2466 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3466 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2467 |
Date: 2015-03-07 19:33:17 +0200 |
3467 |
Date: 2022-11-09 14:45:05 +0200 |
2468 |
|
3468 |
|
2469 |
liblzma: Fix a warning in index.c. |
3469 |
CMake: Add lzip decoder files and #define to the build. |
2470 |
|
3470 |
|
2471 |
src/liblzma/common/index.c | 4 +++- |
3471 |
CMakeLists.txt | 3 +++ |
2472 |
1 file changed, 3 insertions(+), 1 deletion(-) |
3472 |
1 file changed, 3 insertions(+) |
2473 |
|
3473 |
|
2474 |
commit a24518971cc621315af142dd3bb7614fab04ad27 |
3474 |
commit df8ad4af65a9c4846b108550d0083770a69dee64 |
2475 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3475 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2476 |
Date: 2015-02-26 20:46:14 +0200 |
3476 |
Date: 2022-11-09 14:41:56 +0200 |
2477 |
|
3477 |
|
2478 |
Build: Fix a CR+LF problem when running autoreconf -fi on OS/2. |
3478 |
Docs: Update INSTALL and also add new prohibited options to PACKAGERS. |
2479 |
|
3479 |
|
2480 |
build-aux/version.sh | 2 +- |
3480 |
INSTALL | 49 +++++++++++++++++++++++++++++++++++++++++-------- |
2481 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3481 |
PACKAGERS | 2 ++ |
|
|
3482 |
2 files changed, 43 insertions(+), 8 deletions(-) |
2482 |
|
3483 |
|
2483 |
commit dec11497a71518423b5ff0e759100cf8aadf6c7b |
3484 |
commit c8ef089c149afaab413c3a51be827dd1d11afe0e |
2484 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3485 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2485 |
Date: 2015-02-26 16:53:44 +0200 |
3486 |
Date: 2022-10-20 17:39:06 +0300 |
2486 |
|
3487 |
|
2487 |
Bump version and soname for 5.2.1. |
3488 |
Tests: Test the .lz files in test_files.sh. |
2488 |
|
3489 |
|
2489 |
src/liblzma/Makefile.am | 2 +- |
3490 |
tests/test_files.sh | 25 +++++++++++++++++++++++++ |
2490 |
src/liblzma/api/lzma/version.h | 2 +- |
3491 |
1 file changed, 25 insertions(+) |
2491 |
2 files changed, 2 insertions(+), 2 deletions(-) |
|
|
2492 |
|
3492 |
|
2493 |
commit 29e39c79975ab89ee5dd671e97064534a9f3a649 |
3493 |
commit c8f70ebb4628ceb6cb29cc9195d9deadf69d2bd7 |
2494 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3494 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2495 |
Date: 2015-02-26 13:01:09 +0200 |
3495 |
Date: 2022-10-20 15:35:59 +0300 |
2496 |
|
3496 |
|
2497 |
Update NEWS for 5.2.1. |
3497 |
Tests: Add .lz (lzip) test files. |
2498 |
|
3498 |
|
2499 |
NEWS | 14 ++++++++++++++ |
3499 |
tests/files/README | 109 +++++++++++++++++++++++++++++---- |
2500 |
1 file changed, 14 insertions(+) |
3500 |
tests/files/bad-1-v0-uncomp-size.lz | Bin 0 -> 42 bytes |
|
|
3501 |
tests/files/bad-1-v1-crc32.lz | Bin 0 -> 50 bytes |
3502 |
tests/files/bad-1-v1-dict-1.lz | Bin 0 -> 50 bytes |
3503 |
tests/files/bad-1-v1-dict-2.lz | Bin 0 -> 50 bytes |
3504 |
tests/files/bad-1-v1-magic-1.lz | Bin 0 -> 50 bytes |
3505 |
tests/files/bad-1-v1-magic-2.lz | Bin 0 -> 50 bytes |
3506 |
tests/files/bad-1-v1-member-size.lz | Bin 0 -> 50 bytes |
3507 |
tests/files/bad-1-v1-trailing-magic.lz | Bin 0 -> 54 bytes |
3508 |
tests/files/bad-1-v1-uncomp-size.lz | Bin 0 -> 50 bytes |
3509 |
tests/files/good-1-v0-trailing-1.lz | Bin 0 -> 59 bytes |
3510 |
tests/files/good-1-v0.lz | Bin 0 -> 42 bytes |
3511 |
tests/files/good-1-v1-trailing-1.lz | Bin 0 -> 67 bytes |
3512 |
tests/files/good-1-v1-trailing-2.lz | Bin 0 -> 70 bytes |
3513 |
tests/files/good-1-v1.lz | Bin 0 -> 50 bytes |
3514 |
tests/files/good-2-v0-v1.lz | Bin 0 -> 78 bytes |
3515 |
tests/files/good-2-v1-v0.lz | Bin 0 -> 78 bytes |
3516 |
tests/files/good-2-v1-v1.lz | Bin 0 -> 86 bytes |
3517 |
tests/files/unsupported-1-v234.lz | Bin 0 -> 50 bytes |
3518 |
19 files changed, 98 insertions(+), 11 deletions(-) |
2501 |
|
3519 |
|
2502 |
commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd |
3520 |
commit 731db13e6fa3ad3e3fc786c0ccf6eac4cce6865f |
2503 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3521 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2504 |
Date: 2015-02-22 19:38:48 +0200 |
3522 |
Date: 2022-10-19 22:32:51 +0300 |
2505 |
|
3523 |
|
2506 |
xz: Use pipe2() if available. |
3524 |
xz: Remove the commented-out FORMAT_GZIP, gzip, .gz, and .tgz. |
2507 |
|
3525 |
|
2508 |
configure.ac | 4 ++-- |
3526 |
src/xz/args.c | 2 -- |
2509 |
src/xz/file_io.c | 9 ++++++++- |
3527 |
src/xz/coder.h | 1 - |
2510 |
2 files changed, 10 insertions(+), 3 deletions(-) |
3528 |
src/xz/suffix.c | 9 --------- |
|
|
3529 |
3 files changed, 12 deletions(-) |
2511 |
|
3530 |
|
2512 |
commit 117d962685c72682c63edc9bb765367189800202 |
3531 |
commit 3176f992c55b8d788c4633809aaf9447376a5a12 |
2513 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3532 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2514 |
Date: 2015-02-21 23:40:26 +0200 |
3533 |
Date: 2022-10-08 21:28:15 +0300 |
2515 |
|
3534 |
|
2516 |
liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode. |
3535 |
xz: Add .lz (lzip) decompression support. |
2517 |
|
3536 |
|
2518 |
The bug was added in the commit |
3537 |
If configured with --disable-lzip-decoder then --long-help will |
2519 |
f48fce093b07aeda95c18850f5e086d9f2383380 and thus |
3538 |
still list `lzip' in --format but I left it like that since |
2520 |
affected 5.1.4beta and 5.2.0. Luckily the bug cannot |
3539 |
due to translations it would be messy to have two help strings. |
2521 |
cause data corruption or other nasty things. |
3540 |
Features are disabled only in special situations so wrong help |
|
|
3541 |
in such a situation shouldn't matter much. |
3542 |
|
3543 |
Thanks to Michał Górny for the original patch. |
2522 |
|
3544 |
|
2523 |
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- |
3545 |
src/xz/args.c | 9 ++++++++ |
2524 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3546 |
src/xz/coder.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- |
|
|
3547 |
src/xz/coder.h | 3 +++ |
3548 |
src/xz/message.c | 2 +- |
3549 |
src/xz/suffix.c | 26 ++++++++++++++++++---- |
3550 |
src/xz/xz.1 | 46 +++++++++++++++++++++++++++++++++----- |
3551 |
6 files changed, 141 insertions(+), 13 deletions(-) |
2525 |
|
3552 |
|
2526 |
commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719 |
3553 |
commit 034086e1ae1459210837a24e04878435c86dc41b |
2527 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3554 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2528 |
Date: 2015-02-21 23:00:19 +0200 |
3555 |
Date: 2022-10-08 00:29:20 +0300 |
2529 |
|
3556 |
|
2530 |
xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick. |
3557 |
liblzma: Add .lz support to lzma_auto_decoder(). |
2531 |
|
3558 |
|
2532 |
Now it reads the old flags instead of blindly setting O_NONBLOCK. |
3559 |
Thanks to Michał Górny for the original patch. |
2533 |
The old code may have worked correctly, but this is better. |
|
|
2534 |
|
3560 |
|
2535 |
src/xz/file_io.c | 16 +++++++++++----- |
3561 |
src/liblzma/api/lzma/container.h | 10 ++++++---- |
2536 |
1 file changed, 11 insertions(+), 5 deletions(-) |
3562 |
src/liblzma/common/Makefile.inc | 3 ++- |
|
|
3563 |
src/liblzma/common/auto_decoder.c | 23 +++++++++++++++++------ |
3564 |
src/liblzma/common/lzip_decoder.h | 22 ++++++++++++++++++++++ |
3565 |
4 files changed, 47 insertions(+), 11 deletions(-) |
2537 |
|
3566 |
|
2538 |
commit 2205bb5853098aea36a56df6f5747037175f66b4 |
3567 |
commit 0538db038f3cdc352007dacb42454aa1806b8e40 |
2539 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3568 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2540 |
Date: 2015-02-10 15:29:34 +0200 |
3569 |
Date: 2022-10-06 15:50:20 +0300 |
2541 |
|
3570 |
|
2542 |
Update THANKS. |
3571 |
liblzma: Add .lz (lzip) decompression support (format versions 0 and 1). |
|
|
3572 |
|
3573 |
Support for format version 0 was removed from lzip 1.18 for some |
3574 |
reason. .lz format version 0 files are rare (and old) but some |
3575 |
source packages were released in this format, and some people might |
3576 |
have personal files in this format too. It's very little extra code |
3577 |
to support it along side format version 1 so this commits adds |
3578 |
support for both. |
3579 |
|
3580 |
The Sync Flush marker extentension to the original .lz format |
3581 |
version 1 isn't supported. It would require changes to the |
3582 |
LZMA decoder itself. Such files are very rare anyway. |
3583 |
|
3584 |
See the API doc for lzma_lzip_decoder() for more details about |
3585 |
the .lz format support. |
3586 |
|
3587 |
Thanks to Michał Górny for the original patch. |
2543 |
|
3588 |
|
2544 |
THANKS | 1 + |
3589 |
configure.ac | 21 ++ |
2545 |
1 file changed, 1 insertion(+) |
3590 |
src/liblzma/api/lzma/container.h | 62 +++++- |
|
|
3591 |
src/liblzma/common/Makefile.inc | 5 + |
3592 |
src/liblzma/common/lzip_decoder.c | 413 ++++++++++++++++++++++++++++++++++++++ |
3593 |
src/liblzma/liblzma_generic.map | 1 + |
3594 |
src/liblzma/liblzma_linux.map | 1 + |
3595 |
6 files changed, 501 insertions(+), 2 deletions(-) |
2546 |
|
3596 |
|
2547 |
commit d935b0cdf3db440269b9d952b2b281b18f8c7b08 |
3597 |
commit 633d48a075b9ce4b9c08a7a56a7eb4cabc18100c |
2548 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3598 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2549 |
Date: 2015-02-10 15:28:30 +0200 |
3599 |
Date: 2022-11-09 14:17:23 +0200 |
2550 |
|
3600 |
|
2551 |
tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available. |
3601 |
liblzma: Add the missing Makefile.inc change for --disable-microlzma. |
2552 |
|
3602 |
|
2553 |
In FreeBSD, cpuset_getaffinity() is the preferred way to get |
3603 |
This was forgotten from commit 59c4d6e1390f6f4176f43ac1dad1f7ac03c449b8. |
2554 |
the number of available cores. |
3604 |
|
|
|
3605 |
src/liblzma/common/Makefile.inc | 12 ++++++++++-- |
3606 |
1 file changed, 10 insertions(+), 2 deletions(-) |
3607 |
|
3608 |
commit 724285dadbdc88765c8fb83eab9816575a260966 |
3609 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3610 |
Date: 2022-11-09 14:10:52 +0200 |
3611 |
|
3612 |
xz: Add comments about stdin and src_st.st_size. |
2555 |
|
3613 |
|
2556 |
Thanks to Rui Paulo for the patch. I edited it slightly, but |
3614 |
"xz -v < regular_file > out.xz" doesn't display the percentage |
2557 |
hopefully I didn't break anything. |
3615 |
and estimated remaining time because it doesn't even try to |
|
|
3616 |
check the input file size when input is read from stdin. |
3617 |
This could be improved but for now there's just a comment |
3618 |
to remind about it. |
2558 |
|
3619 |
|
2559 |
m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++- |
3620 |
src/xz/coder.c | 9 +++++++++ |
2560 |
src/common/tuklib_cpucores.c | 18 ++++++++++++++++++ |
3621 |
src/xz/file_io.c | 4 ++++ |
2561 |
2 files changed, 40 insertions(+), 1 deletion(-) |
3622 |
2 files changed, 13 insertions(+) |
2562 |
|
3623 |
|
2563 |
commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560 |
3624 |
commit f723eec68b0e44234910f669a29119de33018967 |
2564 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3625 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2565 |
Date: 2015-02-09 22:08:37 +0200 |
3626 |
Date: 2022-11-09 12:48:22 +0200 |
2566 |
|
3627 |
|
2567 |
xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp. |
3628 |
xz: Fix displaying of file sizes in progress indicator in passthru mode. |
2568 |
|
3629 |
|
2569 |
Thanks to Rui Paulo for the fix. |
3630 |
It worked for one input file since the counters are zero when |
|
|
3631 |
xz starts but they weren't reset when starting a new file in |
3632 |
passthru mode. For example, if files A, B, and C are one byte each, |
3633 |
then "xz -dcvf A B C" would show file sizes as 1, 2, and 3 bytes |
3634 |
instead of 1, 1, and 1 byte. |
2570 |
|
3635 |
|
2571 |
src/scripts/xzdiff.in | 7 ++++++- |
3636 |
src/xz/coder.c | 6 +++++- |
2572 |
1 file changed, 6 insertions(+), 1 deletion(-) |
3637 |
1 file changed, 5 insertions(+), 1 deletion(-) |
2573 |
|
3638 |
|
2574 |
commit b9a5b6b7a29029680af733082b6a46e0fc01623a |
3639 |
commit 69265d0f223ddf1d66f799b8b047df22923e376f |
2575 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3640 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2576 |
Date: 2015-02-03 21:45:53 +0200 |
3641 |
Date: 2022-11-09 11:27:20 +0200 |
2577 |
|
3642 |
|
2578 |
Add a few casts to tuklib_integer.h to silence possible warnings. |
3643 |
xz: Add a comment why --to-stdout is not in --help. |
2579 |
|
3644 |
|
2580 |
I heard that Visual Studio 2013 gave warnings without the casts. |
3645 |
It is on the man page still. |
2581 |
|
|
|
2582 |
Thanks to Gabi Davar. |
2583 |
|
3646 |
|
2584 |
src/common/tuklib_integer.h | 24 ++++++++++++------------ |
3647 |
src/xz/message.c | 3 +++ |
2585 |
1 file changed, 12 insertions(+), 12 deletions(-) |
3648 |
1 file changed, 3 insertions(+) |
2586 |
|
3649 |
|
2587 |
commit c45757135f40e4a0de730ba5fff0100219493982 |
3650 |
commit fe6b8852a3c6a0eb5a3c33512e0a69af257d3bc7 |
2588 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3651 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2589 |
Date: 2015-01-26 21:24:39 +0200 |
3652 |
Date: 2022-11-08 23:05:37 +0200 |
2590 |
|
3653 |
|
2591 |
liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method. |
3654 |
xz: Make xz -lvv show that the upcoming --arm64 needs 5.4.0 to decompress. |
2592 |
|
3655 |
|
2593 |
src/liblzma/common/memcmplen.h | 15 ++++++++++----- |
3656 |
src/xz/list.c | 20 +++++++++++++++----- |
2594 |
1 file changed, 10 insertions(+), 5 deletions(-) |
3657 |
1 file changed, 15 insertions(+), 5 deletions(-) |
2595 |
|
3658 |
|
2596 |
commit 3c500174ed5485f550972a2a6109c361e875f069 |
3659 |
commit fb3f05ac9f2b4b0e3643401960fbeab31997ac7a |
2597 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3660 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2598 |
Date: 2015-01-26 20:40:16 +0200 |
3661 |
Date: 2022-11-08 22:26:54 +0200 |
2599 |
|
3662 |
|
2600 |
Update THANKS. |
3663 |
Docs: Update faq.txt a little. |
2601 |
|
3664 |
|
2602 |
THANKS | 1 + |
3665 |
doc/faq.txt | 66 ++++++++++++++++++++++++++++++++++++++++--------------------- |
2603 |
1 file changed, 1 insertion(+) |
3666 |
1 file changed, 43 insertions(+), 23 deletions(-) |
2604 |
|
3667 |
|
2605 |
commit fec88d41e672d9e197c9442aecf02bd0dfa6d516 |
3668 |
commit 05331f091ec3b68eccbfb2a9a7a576072768fb4b |
2606 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3669 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2607 |
Date: 2015-01-26 20:39:28 +0200 |
3670 |
Date: 2022-11-08 16:57:17 +0200 |
2608 |
|
3671 |
|
2609 |
liblzma: Silence harmless Valgrind errors. |
3672 |
Translations: Update Turkish translation. |
2610 |
|
|
|
2611 |
Thanks to Torsten Rupp for reporting this. I had |
2612 |
forgotten to run Valgrind before the 5.2.0 release. |
2613 |
|
3673 |
|
2614 |
src/liblzma/lz/lz_encoder.c | 6 ++++++ |
3674 |
po/tr.po | 2 +- |
2615 |
1 file changed, 6 insertions(+) |
3675 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2616 |
|
3676 |
|
2617 |
commit a9b45badfec0928d20a27c7176c005fa637f7d1e |
3677 |
commit ed3a4822963b4940d84e6f44d47277c394fc046d |
2618 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3678 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2619 |
Date: 2015-01-09 21:50:19 +0200 |
3679 |
Date: 2022-11-08 14:55:32 +0200 |
2620 |
|
3680 |
|
2621 |
xz: Fix comments. |
3681 |
Translations: Update Croatian translation. |
2622 |
|
3682 |
|
2623 |
src/xz/file_io.c | 12 ++++++++---- |
3683 |
po/hr.po | 190 ++++++++++++++++++++++++++++++++------------------------------- |
2624 |
1 file changed, 8 insertions(+), 4 deletions(-) |
3684 |
1 file changed, 96 insertions(+), 94 deletions(-) |
2625 |
|
3685 |
|
2626 |
commit 541aee6dd4aa97a809aba281475a21b641bb89e2 |
3686 |
commit 4746f5ec721316bc4c6fec9905b2902e0360e0af |
2627 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3687 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2628 |
Date: 2015-01-09 21:35:06 +0200 |
3688 |
Date: 2022-11-08 14:13:03 +0200 |
2629 |
|
3689 |
|
2630 |
Update THANKS. |
3690 |
liblzma: Update API docs about decoder flags. |
2631 |
|
3691 |
|
2632 |
THANKS | 1 + |
3692 |
src/liblzma/api/lzma/container.h | 21 +++++++++++++++++---- |
2633 |
1 file changed, 1 insertion(+) |
3693 |
1 file changed, 17 insertions(+), 4 deletions(-) |
2634 |
|
3694 |
|
2635 |
commit 4170edc914655310d2363baccf5e615e09b04911 |
3695 |
commit 8779a9db5d0cec00c9dc9e9965dd2dda04f9d80d |
2636 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3696 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2637 |
Date: 2015-01-09 21:34:06 +0200 |
3697 |
Date: 2022-11-08 14:01:50 +0200 |
2638 |
|
3698 |
|
2639 |
xz: Don't fail if stdout doesn't support O_NONBLOCK. |
3699 |
liblzma: Use the return_if_error() macro in alone_decoder.c. |
|
|
3700 |
|
3701 |
src/liblzma/common/alone_decoder.c | 6 ++---- |
3702 |
1 file changed, 2 insertions(+), 4 deletions(-) |
3703 |
|
3704 |
commit 3f4990b6822961e75cd9b4e2e82b1df63f6f8fcc |
3705 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3706 |
Date: 2022-11-08 14:00:58 +0200 |
3707 |
|
3708 |
liblzma: Fix a comment in auto_decoder.c. |
3709 |
|
3710 |
src/liblzma/common/auto_decoder.c | 4 ++-- |
3711 |
1 file changed, 2 insertions(+), 2 deletions(-) |
3712 |
|
3713 |
commit 026a5897c72a2041ae08ceec54ce8b1cdeb51334 |
3714 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3715 |
Date: 2022-11-08 13:43:19 +0200 |
3716 |
|
3717 |
xz: Initialize the pledge(2) sandbox at the very beginning of main(). |
2640 |
|
3718 |
|
2641 |
This is similar to the case with stdin. |
3719 |
It feels better that the initializations are sandboxed too. |
|
|
3720 |
They don't do anything that the pledge() call wouldn't allow. |
3721 |
|
3722 |
src/xz/main.c | 27 ++++++++++++++------------- |
3723 |
1 file changed, 14 insertions(+), 13 deletions(-) |
3724 |
|
3725 |
commit 49a59f6ca001c3ce9affa2c162b437aad021b4d5 |
3726 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3727 |
Date: 2022-11-07 22:51:16 +0200 |
3728 |
|
3729 |
xz: Extend --robot --info-memory output. |
2642 |
|
3730 |
|
2643 |
Thanks to Brad Smith for the bug report and testing |
3731 |
Now it includes everything that the human-readable --info-memory shows. |
2644 |
on OpenBSD. |
|
|
2645 |
|
3732 |
|
2646 |
src/xz/file_io.c | 36 +++++++++++++++--------------------- |
3733 |
src/xz/hardware.c | 24 +++++++++++++++--------- |
2647 |
1 file changed, 15 insertions(+), 21 deletions(-) |
3734 |
src/xz/xz.1 | 47 +++++++++++++++++++++++++++++++++++++++++------ |
|
|
3735 |
2 files changed, 56 insertions(+), 15 deletions(-) |
2648 |
|
3736 |
|
2649 |
commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d |
3737 |
commit 5e2450c75cbac966c62cf2231c824f2cc91ddba8 |
2650 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3738 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2651 |
Date: 2015-01-07 19:18:20 +0200 |
3739 |
Date: 2022-11-07 17:22:04 +0200 |
2652 |
|
3740 |
|
2653 |
xz: Fix a memory leak in DOS-specific code. |
3741 |
liblzma: Include cached memory in reported memusage in threaded decoder. |
|
|
3742 |
|
3743 |
This affects lzma_memusage() and lzma_memlimit_set() when used |
3744 |
with the threaded decompressor. Now all allocations are reported |
3745 |
by lzma_memusage() (so it's not misleading) and lzma_memlimit_set() |
3746 |
cannot lower the limit below that value. |
3747 |
|
3748 |
The alternative would have been to allow lowering the limit if |
3749 |
doing so is possible by freeing the cached memory but since |
3750 |
the primary use case of lzma_memlimit_set() is to increase |
3751 |
memlimit after LZMA_MEMLIMIT_ERROR this simple approach |
3752 |
was selected. |
3753 |
|
3754 |
The cached memory was always included when enforcing |
3755 |
the memory usage limit while decoding. |
3756 |
|
3757 |
Thanks to Jia Tan. |
2654 |
|
3758 |
|
2655 |
src/xz/file_io.c | 2 ++ |
3759 |
src/liblzma/common/stream_decoder_mt.c | 22 +++++++++++++++++++--- |
2656 |
1 file changed, 2 insertions(+) |
3760 |
1 file changed, 19 insertions(+), 3 deletions(-) |
2657 |
|
3761 |
|
2658 |
commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea |
3762 |
commit 1fc6e7dd1fabdb60124d449b99273330ccab3ff1 |
|
|
3763 |
Author: Jia Tan <jiat0218@gmail.com> |
3764 |
Date: 2022-11-07 16:24:14 +0200 |
3765 |
|
3766 |
xz: Avoid a compiler warning in progress_speed() in message.c. |
3767 |
|
3768 |
This should be smaller too since it avoids the string constants. |
3769 |
|
3770 |
src/xz/message.c | 9 +++------ |
3771 |
1 file changed, 3 insertions(+), 6 deletions(-) |
3772 |
|
3773 |
commit cf118c014683069b5dbe91898acdc40f2f0a1f5d |
2659 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3774 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2660 |
Date: 2015-01-07 19:08:06 +0200 |
3775 |
Date: 2022-10-31 16:26:05 +0200 |
2661 |
|
3776 |
|
2662 |
xz: Don't fail if stdin doesn't support O_NONBLOCK. |
3777 |
Build: Clarify comment in configure.ac about SSE2. |
|
|
3778 |
|
3779 |
configure.ac | 5 ++++- |
3780 |
1 file changed, 4 insertions(+), 1 deletion(-) |
3781 |
|
3782 |
commit aad3c609ffb72f581a7a2b67be3ad70b2b327840 |
3783 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3784 |
Date: 2022-10-31 16:16:37 +0200 |
3785 |
|
3786 |
Build: Remove obsolete commented-out lines from configure.ac. |
3787 |
|
3788 |
configure.ac | 4 ---- |
3789 |
1 file changed, 4 deletions(-) |
3790 |
|
3791 |
commit e53e0e2186c6b8ce866bd19aec52f1c318ed31ba |
3792 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3793 |
Date: 2022-10-31 13:31:58 +0200 |
3794 |
|
3795 |
Windows: Fix mythread_once() macro with Vista threads. |
2663 |
|
3796 |
|
2664 |
It's a problem at least on OpenBSD which doesn't support |
3797 |
Don't call InitOnceComplete() if initialization was already done. |
2665 |
O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's |
|
|
2666 |
a problem on other OSes too since this behavior is allowed |
2667 |
in POSIX-1.2008. |
2668 |
|
3798 |
|
2669 |
The code relying on this behavior was committed in June 2013 |
3799 |
So far mythread_once() has been needed only when building |
2670 |
and included in 5.1.3alpha released on 2013-10-26. Clearly |
3800 |
with --enable-small. windows/build.bash does this together |
2671 |
the development releases only get limited testing. |
3801 |
with --disable-threads so the Vista-specific mythread_once() |
|
|
3802 |
is never needed by those builds. VS project files or |
3803 |
CMake-builds don't support HAVE_SMALL builds at all. |
2672 |
|
3804 |
|
2673 |
src/xz/file_io.c | 18 +++++++----------- |
3805 |
src/common/mythread.h | 7 ++++--- |
2674 |
1 file changed, 7 insertions(+), 11 deletions(-) |
3806 |
1 file changed, 4 insertions(+), 3 deletions(-) |
2675 |
|
3807 |
|
2676 |
commit d2d484647d9d9d679f03c75abb0404f67069271c |
3808 |
commit 48dde3bab9dc04081acb5aa7cf7c5044b8a49f58 |
2677 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3809 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2678 |
Date: 2015-01-06 20:30:15 +0200 |
3810 |
Date: 2022-10-31 11:54:44 +0200 |
2679 |
|
3811 |
|
2680 |
Tests: Don't hide unexpected error messages in test_files.sh. |
3812 |
liblzma: Silence -Wconversion warning from crc64_fast.c. |
|
|
3813 |
|
3814 |
src/liblzma/check/crc64_fast.c | 5 +++-- |
3815 |
1 file changed, 3 insertions(+), 2 deletions(-) |
3816 |
|
3817 |
commit a243c617ff249d915ac123de4f536b80322c1fdb |
3818 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3819 |
Date: 2022-10-31 11:49:47 +0200 |
3820 |
|
3821 |
CMake: Sync tuklib_cpucores.cmake with tuklib_cpucores.m4. |
2681 |
|
3822 |
|
2682 |
Hiding them makes no sense since normally there's no error |
3823 |
This was forgotten from commit 2611c4d90535652d3eb7ef4a026a6691276fab43. |
2683 |
when testing the "good" files. With "bad" files errors are |
|
|
2684 |
expected and then it makes sense to keep the messages hidden. |
2685 |
|
3824 |
|
2686 |
tests/test_files.sh | 4 ++-- |
3825 |
cmake/tuklib_cpucores.cmake | 5 +++++ |
2687 |
1 file changed, 2 insertions(+), 2 deletions(-) |
3826 |
1 file changed, 5 insertions(+) |
2688 |
|
3827 |
|
2689 |
commit aae6a6aeda51cf94a47e39ad624728f9bee75e30 |
3828 |
commit 05c72de06fcaaedc78f8abba7d5ec568ddcf1e75 |
2690 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3829 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2691 |
Date: 2014-12-30 11:17:16 +0200 |
3830 |
Date: 2022-10-27 15:49:18 +0300 |
2692 |
|
3831 |
|
2693 |
Update Solaris notes in INSTALL. |
3832 |
Tests: test_files.sh: Make it not fail if features were disabled at build. |
2694 |
|
3833 |
|
2695 |
Mention the possible "make check" failure on Solaris in the |
3834 |
It now tries to test as many files as easily possible. |
2696 |
Solaris-specific section of INSTALL. It was already in |
3835 |
The exit status indicates skipping if any of the files were |
2697 |
section 4.5 but it is better mention it in the OS-specific |
3836 |
skipped. This way it is easy to notice if something is being |
2698 |
section too. |
3837 |
skipped when it isn't expected. |
2699 |
|
3838 |
|
2700 |
INSTALL | 4 ++++ |
3839 |
tests/test_files.sh | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- |
2701 |
1 file changed, 4 insertions(+) |
3840 |
1 file changed, 46 insertions(+), 4 deletions(-) |
2702 |
|
3841 |
|
2703 |
commit 7815112153178800a3521b9f31960e7cdc26cfba |
3842 |
commit b3459327a51f4b8239d19e6c34b4e0c6bc2d81de |
2704 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3843 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2705 |
Date: 2014-12-26 12:00:05 +0200 |
3844 |
Date: 2022-10-27 15:30:13 +0300 |
2706 |
|
3845 |
|
2707 |
Build: POSIX shell isn't required if scripts are disabled. |
3846 |
Tests: test_files.sh: Suppress an expected warning from the log. |
|
|
3847 |
|
3848 |
xz (but not xzdec) will normally warn about unsupported check |
3849 |
but since we are testing specifically such a file, it's better |
3850 |
to silence that warning so that it doesn't look suspicious in |
3851 |
test_files.sh.log. |
3852 |
|
3853 |
The use of -q and -Q in xzdec is just for consistency and |
3854 |
doesn't affect the result at least for now. |
2708 |
|
3855 |
|
2709 |
INSTALL | 3 ++- |
3856 |
tests/test_files.sh | 4 ++-- |
2710 |
configure.ac | 2 +- |
3857 |
1 file changed, 2 insertions(+), 2 deletions(-) |
2711 |
2 files changed, 3 insertions(+), 2 deletions(-) |
|
|
2712 |
|
3858 |
|
2713 |
commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a |
3859 |
commit 798c86e4231e0835ab76ccd0810c8ea30833b2ce |
2714 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3860 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2715 |
Date: 2014-12-21 20:48:37 +0200 |
3861 |
Date: 2022-10-27 15:27:50 +0300 |
2716 |
|
3862 |
|
2717 |
DOS: Update Makefile. |
3863 |
Tests: test_files.sh: Print the reason for skipping if xz & xzdec missing. |
2718 |
|
3864 |
|
2719 |
dos/Makefile | 1 + |
3865 |
tests/test_files.sh | 1 + |
2720 |
1 file changed, 1 insertion(+) |
3866 |
1 file changed, 1 insertion(+) |
2721 |
|
3867 |
|
2722 |
commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e |
3868 |
commit c1dd8524e1af07f16b790463899de06a6a5fcc08 |
2723 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3869 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2724 |
Date: 2014-12-21 19:50:38 +0200 |
3870 |
Date: 2022-10-27 01:12:40 +0300 |
2725 |
|
3871 |
|
2726 |
Windows: Fix bin_i486 to bin_i686 in build.bash. |
3872 |
Tests: Keep test_compress_* working when some filters are unavailable. |
2727 |
|
3873 |
|
2728 |
windows/build.bash | 2 +- |
3874 |
tests/test_compress.sh | 34 ++++++++++++++++++++-------------- |
2729 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3875 |
1 file changed, 20 insertions(+), 14 deletions(-) |
2730 |
|
3876 |
|
2731 |
commit cbafa710918195dbba3db02c3fab4f0538235206 |
3877 |
commit ce30ada91951d0746879ae438da11f1ee8a90aa0 |
2732 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3878 |
Author: Jia Tan <jiat0218@gmail.com> |
2733 |
Date: 2014-12-21 18:58:44 +0200 |
3879 |
Date: 2022-10-23 21:01:08 +0800 |
2734 |
|
3880 |
|
2735 |
Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c. |
3881 |
Tests: test_bcj_exact_size skips properly now if PowerPC filter disabled. |
2736 |
|
3882 |
|
2737 |
doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++---- |
3883 |
tests/test_bcj_exact_size.c | 3 +++ |
2738 |
1 file changed, 26 insertions(+), 4 deletions(-) |
3884 |
1 file changed, 3 insertions(+) |
2739 |
|
3885 |
|
2740 |
commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a |
3886 |
commit 89c5cfcacaca7130509fac836e2f30c46b824502 |
2741 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3887 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2742 |
Date: 2014-12-21 18:56:44 +0200 |
3888 |
Date: 2022-10-26 00:05:57 +0300 |
2743 |
|
3889 |
|
2744 |
Docs: Update docs/examples/00_README.txt. |
3890 |
Tests: Test also unsupported-*.xz. |
2745 |
|
3891 |
|
2746 |
doc/examples/00_README.txt | 4 ++++ |
3892 |
tests/test_files.sh | 37 +++++++++++++++++++++++++++++++++++++ |
2747 |
1 file changed, 4 insertions(+) |
3893 |
1 file changed, 37 insertions(+) |
2748 |
|
3894 |
|
2749 |
commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6 |
3895 |
commit a4b214b93ac741edef9c41e55865b0b867ca2587 |
2750 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3896 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2751 |
Date: 2014-12-21 18:11:17 +0200 |
3897 |
Date: 2022-10-25 23:45:03 +0300 |
2752 |
|
3898 |
|
2753 |
Bump version and soname for 5.2.0. |
3899 |
Build: Use AC_CONFIG_HEADERS instead of the ancient AC_CONFIG_HEADER. |
2754 |
|
3900 |
|
2755 |
I know that soname != app version, but I skip AGE=1 |
3901 |
We require Autoconf >= 2.69 and that has AC_CONFIG_HEADERS. |
2756 |
in -version-info to make the soname match the liblzma |
3902 |
|
2757 |
version anyway. It doesn't hurt anything as long as |
3903 |
There is a warning about AC_PROG_CC_C99 being obsolete but |
2758 |
it doesn't conflict with library versioning rules. |
3904 |
it cannot be removed because it is needed with Autoconf 2.69. |
2759 |
|
3905 |
|
2760 |
src/liblzma/Makefile.am | 2 +- |
3906 |
configure.ac | 2 +- |
2761 |
src/liblzma/api/lzma/version.h | 6 +++--- |
3907 |
1 file changed, 1 insertion(+), 1 deletion(-) |
2762 |
src/liblzma/liblzma.map | 2 +- |
|
|
2763 |
3 files changed, 5 insertions(+), 5 deletions(-) |
2764 |
|
3908 |
|
2765 |
commit 3e8bd1d15e417f2d588e9be50ce027ee3d48b2da |
3909 |
commit 04f299b64e73f50afc188c2590ebebc6b73ed744 |
2766 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3910 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2767 |
Date: 2014-12-21 18:05:03 +0200 |
3911 |
Date: 2022-10-25 23:31:44 +0300 |
2768 |
|
3912 |
|
2769 |
Avoid variable-length arrays in the debug programs. |
3913 |
Build: Update m4/ax_pthread.m4 from Autoconf Archive. |
2770 |
|
3914 |
|
2771 |
debug/full_flush.c | 3 ++- |
3915 |
m4/ax_pthread.m4 | 29 ++++++++++++++++++++++------- |
2772 |
debug/sync_flush.c | 3 ++- |
3916 |
1 file changed, 22 insertions(+), 7 deletions(-) |
2773 |
2 files changed, 4 insertions(+), 2 deletions(-) |
|
|
2774 |
|
3917 |
|
2775 |
commit 72f7307cfdceb941aeb2bf30d424cc0d13621786 |
3918 |
commit 59c4d6e1390f6f4176f43ac1dad1f7ac03c449b8 |
2776 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3919 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2777 |
Date: 2014-12-21 18:01:45 +0200 |
3920 |
Date: 2022-10-25 23:28:34 +0300 |
2778 |
|
3921 |
|
2779 |
Build: Include 04_compress_easy_mt.c in the tarball. |
3922 |
Build: Add configure option --disable-microlzma. |
|
|
3923 |
|
3924 |
MicroLZMA was made for EROFS and used by erofs-utils. |
3925 |
It might be used by something else in the future but |
3926 |
those wanting a smaller build for specific situations |
3927 |
can now disable this rarely-needed feature. |
2780 |
|
3928 |
|
2781 |
Makefile.am | 1 + |
3929 |
configure.ac | 22 ++++++++++++++++++++++ |
2782 |
1 file changed, 1 insertion(+) |
3930 |
1 file changed, 22 insertions(+) |
2783 |
|
3931 |
|
2784 |
commit 2cb82ff21c62def11f3683a8bb0aaf363102aaa0 |
3932 |
commit 054ccd6d14b2cc6eddc56897af280d3221414150 |
2785 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3933 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2786 |
Date: 2014-12-21 18:00:38 +0200 |
3934 |
Date: 2022-10-25 23:09:11 +0300 |
2787 |
|
3935 |
|
2788 |
Fix build when --disable-threads is used. |
3936 |
xz: Fix --single-stream with an empty .xz Stream. |
|
|
3937 |
|
3938 |
Example: |
3939 |
|
3940 |
$ xz -dc --single-stream good-0-empty.xz |
3941 |
xz: good-0-empty.xz: Internal error (bug) |
3942 |
|
3943 |
The code, that is tries to catch some input file issues early, |
3944 |
didn't anticipate LZMA_STREAM_END which is possible in that |
3945 |
code only when --single-stream is used. |
2789 |
|
3946 |
|
2790 |
src/common/mythread.h | 2 ++ |
3947 |
src/xz/coder.c | 9 +++++++++ |
2791 |
1 file changed, 2 insertions(+) |
3948 |
1 file changed, 9 insertions(+) |
2792 |
|
3949 |
|
2793 |
commit 9b9e3536e458ef958f66b0e8982efc9d36de4d17 |
3950 |
commit 563288ea705e83ff5cb292adf794650c263bca1d |
2794 |
Author: Adrien Nader <adrien@notk.org> |
3951 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2795 |
Date: 2014-12-21 15:56:15 +0100 |
3952 |
Date: 2022-10-25 21:11:58 +0300 |
2796 |
|
3953 |
|
2797 |
po/fr: improve wording for help for --lzma1/--lzma2. |
3954 |
xz: Add support for OpenBSD's pledge() sandbox. |
2798 |
|
3955 |
|
2799 |
po/fr.po | 2 +- |
3956 |
configure.ac | 12 +++++++++--- |
2800 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3957 |
src/xz/file_io.c | 11 +++++++++++ |
|
|
3958 |
src/xz/main.c | 13 +++++++++++++ |
3959 |
src/xz/private.h | 2 +- |
3960 |
4 files changed, 34 insertions(+), 4 deletions(-) |
2801 |
|
3961 |
|
2802 |
commit a8b6b569e7fadbf5b5b9139d53bc764015c15027 |
3962 |
commit f9913e8ee2ba0b1e4ff4d0aa4c001aae305ed944 |
2803 |
Author: Adrien Nader <adrien@notk.org> |
3963 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2804 |
Date: 2014-12-21 15:55:48 +0100 |
3964 |
Date: 2022-10-25 19:07:17 +0300 |
2805 |
|
3965 |
|
2806 |
po/fr: missing line in translation of --extreme. |
3966 |
xz: Fix decompressor behavior if input uses an unsupported check type. |
|
|
3967 |
|
3968 |
Now files with unsupported check will make xz display |
3969 |
a warning, set the exit status to 2 (unless --no-warn is used), |
3970 |
and then decompress the file normally. This is how it was |
3971 |
supposed to work since the beginning but this was broken by |
3972 |
the commit 231c3c7098f1099a56abb8afece76fc9b8699f05, that is, |
3973 |
a little before 5.0.0 was released. The buggy behavior displayed |
3974 |
a message, set exit status 1 (error), and xz didn't attempt to |
3975 |
to decompress the file. |
3976 |
|
3977 |
This doesn't matter today except for special builds that disable |
3978 |
CRC64 or SHA-256 at build time (but such builds should be used |
3979 |
in special situations only). The bug matters if new check type |
3980 |
is added in the future and an old xz version is used to decompress |
3981 |
such a file; however, it's likely that such files would use a new |
3982 |
filter too and an old xz wouldn't be able to decompress the file |
3983 |
anyway. |
3984 |
|
3985 |
The first hunk in the commit is the actual fix. The second hunk |
3986 |
is a cleanup since LZMA_TELL_ANY_CHECK isn't used in xz. |
3987 |
|
3988 |
There is a test file for unsupported check type but it wasn't |
3989 |
used by test_files.sh, perhaps due to different behavior between |
3990 |
xz and the simpler xzdec. |
2807 |
|
3991 |
|
2808 |
po/fr.po | 1 + |
3992 |
src/xz/coder.c | 19 +++++++++++++++---- |
2809 |
1 file changed, 1 insertion(+) |
3993 |
1 file changed, 15 insertions(+), 4 deletions(-) |
2810 |
|
3994 |
|
2811 |
commit f168a6fd1a888cf4f0caaddcafcb21dadc6ab6e9 |
3995 |
commit aa4fe145b9486adc454f44fd3e09be9add808a0f |
2812 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3996 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2813 |
Date: 2014-12-21 14:32:33 +0200 |
3997 |
Date: 2022-10-25 18:36:19 +0300 |
2814 |
|
3998 |
|
2815 |
Update NEWS for 5.2.0. |
3999 |
xz: Clarify the man page: input file isn't removed if an error occurs. |
2816 |
|
4000 |
|
2817 |
NEWS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4001 |
src/xz/xz.1 | 5 +++-- |
2818 |
1 file changed, 65 insertions(+) |
4002 |
1 file changed, 3 insertions(+), 2 deletions(-) |
2819 |
|
4003 |
|
2820 |
commit cec2ee863b3a88f4bf039cb00f73c4a4fc93a429 |
4004 |
commit 8b46ae8cdeddfd7dc01fec92971b8696e9a96c5d |
2821 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4005 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2822 |
Date: 2014-12-21 14:32:22 +0200 |
4006 |
Date: 2022-10-25 18:30:55 +0300 |
2823 |
|
4007 |
|
2824 |
Update NEWS for 5.0.8. |
4008 |
xz: Refactor to remove is_empty_filename(). |
|
|
4009 |
|
4010 |
Long ago it was used in list.c too but nowadays it's needed |
4011 |
only in io_open_src() so it's nicer to avoid a separate function. |
2825 |
|
4012 |
|
2826 |
NEWS | 12 ++++++++++++ |
4013 |
src/xz/file_io.c | 4 +++- |
2827 |
1 file changed, 12 insertions(+) |
4014 |
src/xz/util.c | 12 ------------ |
|
|
4015 |
src/xz/util.h | 4 ---- |
4016 |
3 files changed, 3 insertions(+), 17 deletions(-) |
2828 |
|
4017 |
|
2829 |
commit 42e97a32649bf53ce43be2258b902a417c6e7fa1 |
4018 |
commit 85624015978b0de294cff3df79006df987c552b1 |
2830 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4019 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2831 |
Date: 2014-12-21 14:07:54 +0200 |
4020 |
Date: 2022-10-25 18:23:54 +0300 |
2832 |
|
4021 |
|
2833 |
xz: Fix a comment. |
4022 |
xz: If input file cannot be removed, treat it as a warning, not error. |
|
|
4023 |
|
4024 |
Treating it as a warning (message + exit status 2) matches gzip |
4025 |
and it seems more logical as at that point the output file has |
4026 |
already been successfully closed. When it's a warning it is |
4027 |
possible to suppress it with --no-warn. |
2834 |
|
4028 |
|
2835 |
src/xz/options.c | 4 ++-- |
4029 |
src/xz/file_io.c | 4 ++-- |
2836 |
1 file changed, 2 insertions(+), 2 deletions(-) |
4030 |
1 file changed, 2 insertions(+), 2 deletions(-) |
2837 |
|
4031 |
|
2838 |
commit 29b95d5d6665cedffa6a9d6d3d914f981e852182 |
4032 |
commit fda9f85f52c546f7ca0313cf89481da4707fecb3 |
2839 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4033 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2840 |
Date: 2014-12-20 20:43:14 +0200 |
4034 |
Date: 2022-10-24 16:25:09 +0300 |
2841 |
|
4035 |
|
2842 |
Update INSTALL about the dependencies of the scripts. |
4036 |
liblzma: Threaded decoder: Stop the worker threads on errors. |
|
|
4037 |
|
4038 |
It's waste of CPU time and electricity to leave the unfinished |
4039 |
worker threads running when it is known that their output will |
4040 |
get ignored. |
2843 |
|
4041 |
|
2844 |
INSTALL | 15 ++++++++++----- |
4042 |
src/liblzma/common/stream_decoder_mt.c | 33 ++++++++++++++++++++++++++------- |
2845 |
1 file changed, 10 insertions(+), 5 deletions(-) |
4043 |
1 file changed, 26 insertions(+), 7 deletions(-) |
2846 |
|
4044 |
|
2847 |
commit 3af91040bb42c21afbb81f5568c3313125e61192 |
4045 |
commit 2611c4d90535652d3eb7ef4a026a6691276fab43 |
2848 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4046 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2849 |
Date: 2014-12-20 20:42:33 +0200 |
4047 |
Date: 2022-10-20 20:22:50 +0300 |
2850 |
|
4048 |
|
2851 |
Windows: Update build instructions. |
4049 |
tuklib_cpucores: Use HW_NCPUONLINE on OpenBSD. |
|
|
4050 |
|
4051 |
On OpenBSD the number of cores online is often less |
4052 |
than what HW_NCPU would return because OpenBSD disables |
4053 |
simultaneous multi-threading (SMT) by default. |
4054 |
|
4055 |
Thanks to Christian Weisgerber. |
2852 |
|
4056 |
|
2853 |
INSTALL | 15 +++++++++------ |
4057 |
m4/tuklib_cpucores.m4 | 5 +++++ |
2854 |
windows/INSTALL-Windows.txt | 44 +++++++++++++++++++++----------------------- |
4058 |
src/common/tuklib_cpucores.c | 9 +++++++++ |
2855 |
2 files changed, 30 insertions(+), 29 deletions(-) |
4059 |
2 files changed, 14 insertions(+) |
2856 |
|
4060 |
|
2857 |
commit 0152f72bf6289d744823dc6c849538f3a139ad70 |
4061 |
commit 424ac91c7e0419393ff2bde4f62e21fa611c776d |
2858 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4062 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2859 |
Date: 2014-12-20 20:41:48 +0200 |
4063 |
Date: 2022-10-19 19:39:35 +0300 |
2860 |
|
4064 |
|
2861 |
Windows: Update the build script and README-Windows.txt. |
4065 |
Tests: Skip tests in test_*.sh if encoders and/or decoders are disabled. |
2862 |
|
4066 |
|
2863 |
The 32-bit build is now for i686 or newer because the |
4067 |
This isn't perfect as the scripts can still fail if only |
2864 |
prebuilt MinGW-w64 toolchains include i686 code in the |
4068 |
certain filters are disabled. This is still an improvement |
2865 |
executables even if one uses -march=i486. |
4069 |
as now "make check" has better behavior when all encoders |
|
|
4070 |
or decoders are disabled. |
2866 |
|
4071 |
|
2867 |
The build script builds 32-bit SSE2 enabled version too. |
4072 |
Grepping ../config.h is simple and fairly clean but it only |
2868 |
Run-time detection of SSE2 support would be nice (on any OS) |
4073 |
works if config.h was created. CMake builds don't create |
2869 |
but it's not implemented in XZ Utils yet. |
4074 |
config.h but they don't use these test scripts either. |
|
|
4075 |
|
4076 |
Thanks to Sebastian Andrzej Siewior for reporting the problem. |
4077 |
Thanks to Jia Tan for the original patch which grepped xz |
4078 |
error messages instead of config.h. |
2870 |
|
4079 |
|
2871 |
windows/README-Windows.txt | 30 ++++++++++++++++-------------- |
4080 |
tests/test_compress.sh | 12 ++++++++++++ |
2872 |
windows/build.bash | 23 ++++++++++++++--------- |
4081 |
tests/test_files.sh | 11 +++++++++++ |
2873 |
2 files changed, 30 insertions(+), 23 deletions(-) |
4082 |
tests/test_scripts.sh | 11 +++++++++++ |
|
|
4083 |
3 files changed, 34 insertions(+) |
2874 |
|
4084 |
|
2875 |
commit 4a1f6133ee5533cee8d91e06fcc22443e5f1881a |
4085 |
commit ca8bf9d7c5a30be8ba1eeb106fd892f19e83ed09 |
2876 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4086 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2877 |
Date: 2014-12-19 15:51:50 +0200 |
4087 |
Date: 2022-10-19 18:54:34 +0300 |
2878 |
|
4088 |
|
2879 |
Windows: Define TUKLIB_SYMBOL_PREFIX in config.h. |
4089 |
Test: Remove the (exit 1) lines. |
2880 |
|
4090 |
|
2881 |
It is to keep all symbols in the lzma_ namespace. |
4091 |
I suspect that I used these in the original version because |
|
|
4092 |
Autoconf's manual describes that such a trick is needed in |
4093 |
some specific situations for portability reasons. None of those |
4094 |
situations listed on Autoconf 2.71 manual apply to these test |
4095 |
scripts though so this cleans them up. |
2882 |
|
4096 |
|
2883 |
windows/config.h | 3 +++ |
4097 |
tests/test_compress.sh | 10 ---------- |
2884 |
1 file changed, 3 insertions(+) |
4098 |
tests/test_files.sh | 9 --------- |
|
|
4099 |
tests/test_scripts.sh | 6 ------ |
4100 |
3 files changed, 25 deletions(-) |
2885 |
|
4101 |
|
2886 |
commit 7f7d093de79eee0c7dbfd7433647e46302f19f82 |
4102 |
commit 82fcb7cfc17ce62f79ebc7ca2374e1daca5e4d5e |
2887 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4103 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2888 |
Date: 2014-12-16 21:00:09 +0200 |
4104 |
Date: 2022-10-19 17:14:57 +0300 |
2889 |
|
4105 |
|
2890 |
xz: Update the man page about --threads. |
4106 |
Tests: Fix a warning in test_memlimit.c when decoders are disabled. |
2891 |
|
4107 |
|
2892 |
src/xz/xz.1 | 5 ----- |
4108 |
tests/test_memlimit.c | 3 +++ |
2893 |
1 file changed, 5 deletions(-) |
4109 |
1 file changed, 3 insertions(+) |
2894 |
|
4110 |
|
2895 |
commit 009823448b82aa5f465668878a544c5842885407 |
4111 |
commit b5f8271b45b9b0e59485ffba3640ca3418835ec4 |
2896 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4112 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2897 |
Date: 2014-12-16 20:57:43 +0200 |
4113 |
Date: 2022-10-19 17:11:46 +0300 |
2898 |
|
4114 |
|
2899 |
xz: Update the man page about --block-size. |
4115 |
Tests: Add test_memlimit to .gitignore. |
|
|
4116 |
|
4117 |
Thanks to Jia Tan. |
2900 |
|
4118 |
|
2901 |
src/xz/xz.1 | 41 +++++++++++++++++++++++++++++++++-------- |
4119 |
.gitignore | 1 + |
2902 |
1 file changed, 33 insertions(+), 8 deletions(-) |
4120 |
1 file changed, 1 insertion(+) |
2903 |
|
4121 |
|
2904 |
commit 7dddfbeb499e528940bc12047355c184644aafe9 |
4122 |
commit 6a86e81cab202d0a812a7b2e9efacaf70c58ba38 |
2905 |
Author: Adrien Nader <adrien@notk.org> |
4123 |
Author: Jia Tan <jiat0218@gmail.com> |
2906 |
Date: 2014-12-10 22:26:57 +0100 |
4124 |
Date: 2022-10-06 21:53:09 +0300 |
2907 |
|
4125 |
|
2908 |
po/fr: several more translation updates: reword and handle --ignore-check. |
4126 |
Tests: Refactor test_stream_flags.c. |
|
|
4127 |
|
4128 |
Converts test_stream_flags to tuktest. Also the test will now |
4129 |
compile and skip properly if encoders or decoders are disabled. |
4130 |
|
4131 |
Thanks to Sebastian Andrzej Siewior. |
2909 |
|
4132 |
|
2910 |
po/fr.po | 50 ++++++++++++++++++++++++++------------------------ |
4133 |
tests/test_stream_flags.c | 533 ++++++++++++++++++++++++++++++++++++---------- |
2911 |
1 file changed, 26 insertions(+), 24 deletions(-) |
4134 |
1 file changed, 416 insertions(+), 117 deletions(-) |
2912 |
|
4135 |
|
2913 |
commit 6eca5be40e04ddc4b738d493e4e56835956d8b69 |
4136 |
commit 827ac5b4821491fd3afe0d0e1ddac326253aeb66 |
2914 |
Author: Adrien Nader <adrien@notk.org> |
4137 |
Author: Jia Tan <jiat0218@gmail.com> |
2915 |
Date: 2014-12-10 22:23:01 +0100 |
4138 |
Date: 2022-10-06 17:00:38 +0800 |
2916 |
|
4139 |
|
2917 |
po/fr: yet another place where my email address had to be updated. |
4140 |
Tests: Refactor test_block_header.c. |
|
|
4141 |
|
4142 |
test_block_header now achieves higher test coverage. Also the |
4143 |
test will now compile and skip properly if encoders or decoders |
4144 |
are disabled. |
4145 |
|
4146 |
Thanks to Sebastian Andrzej Siewior. |
2918 |
|
4147 |
|
2919 |
po/fr.po | 2 +- |
4148 |
tests/test_block_header.c | 486 +++++++++++++++++++++++++++++++++++----------- |
2920 |
1 file changed, 1 insertion(+), 1 deletion(-) |
4149 |
1 file changed, 370 insertions(+), 116 deletions(-) |
2921 |
|
4150 |
|
2922 |
commit d1003673e92ba47edd6aeeb3dbea05c18269d0e7 |
4151 |
commit 84963318952064a93bfc52edd6b0ef70593384ee |
2923 |
Author: Adrien Nader <adrien@notk.org> |
4152 |
Author: Jia Tan <jiat0218@gmail.com> |
2924 |
Date: 2014-12-10 22:22:20 +0100 |
4153 |
Date: 2022-10-05 23:54:12 +0800 |
2925 |
|
4154 |
|
2926 |
po/fr: fix several typos that have been around since the beginning. |
4155 |
Tests: Fix compilation issues. |
|
|
4156 |
|
4157 |
test_bcj_exact_size, test_check, test_hardware, and test_index will |
4158 |
all now compile and skip properly if encoders or decoders are disabled. |
4159 |
|
4160 |
Also fixed a small typo (disabed -> disabled). |
4161 |
|
4162 |
Thanks to Sebastian Andrzej Siewior. |
2927 |
|
4163 |
|
2928 |
po/fr.po | 22 +++++++++++----------- |
4164 |
tests/test_bcj_exact_size.c | 20 ++++++++++++++------ |
2929 |
1 file changed, 11 insertions(+), 11 deletions(-) |
4165 |
tests/test_check.c | 8 +++++++- |
|
|
4166 |
tests/test_hardware.c | 2 +- |
4167 |
tests/test_index.c | 6 ++++++ |
4168 |
tests/test_memlimit.c | 16 +++++++++++++++- |
4169 |
tests/test_vli.c | 13 +++++++++++++ |
4170 |
6 files changed, 56 insertions(+), 9 deletions(-) |
2930 |
|
4171 |
|
2931 |
commit 4c5aa911a0df027e46171e368debc543d2fa72b2 |
4172 |
commit 7dcabeec63d46b436fa5f043c3d1f09d0e15be16 |
2932 |
Author: Adrien Nader <adrien@notk.org> |
4173 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2933 |
Date: 2014-12-03 20:02:31 +0100 |
4174 |
Date: 2022-10-05 16:20:47 +0300 |
2934 |
|
4175 |
|
2935 |
po/fr: last batch of new translations for now. |
4176 |
Tests: Include mythread.h in the tests that use MYTHREAD_ENABLED. |
|
|
4177 |
|
4178 |
tests/test_check.c | 1 + |
4179 |
tests/test_hardware.c | 1 + |
4180 |
tests/test_memlimit.c | 1 + |
4181 |
3 files changed, 3 insertions(+) |
4182 |
|
4183 |
commit 14af758a770c7781af18fb66d6d21ee5b1c27f04 |
4184 |
Author: Jia Tan <jiat0218@gmail.com> |
4185 |
Date: 2022-10-05 20:57:16 +0800 |
4186 |
|
4187 |
liblzma: Fix a compilation issue when encoders are disabled. |
2936 |
|
4188 |
|
2937 |
Four new error messages. |
4189 |
When encoders were disabled and threading enabled, outqueue.c and |
|
|
4190 |
outqueue.h were not compiled. The multi threaded decoder required |
4191 |
these files, so compilation failed. |
2938 |
|
4192 |
|
2939 |
po/fr.po | 16 ++++++++-------- |
4193 |
src/liblzma/common/Makefile.inc | 7 ++++--- |
2940 |
1 file changed, 8 insertions(+), 8 deletions(-) |
4194 |
1 file changed, 4 insertions(+), 3 deletions(-) |
2941 |
|
4195 |
|
2942 |
commit 3e3099e36d27059499e7996fb38a62e8ab01d356 |
4196 |
commit 6ca5c354bd4620aa7f81da68870eef1b1f26288f |
2943 |
Author: Adrien Nader <adrien@notk.org> |
4197 |
Author: Jia Tan <jiat0218@gmail.com> |
2944 |
Date: 2014-12-03 20:01:32 +0100 |
4198 |
Date: 2022-10-05 16:41:38 +0800 |
2945 |
|
4199 |
|
2946 |
po/fr: translations for --threads, --block-size and --block-list. |
4200 |
Tests: Fix compilation error when threading support has been disabled. |
|
|
4201 |
|
4202 |
Now tests that require threading are skipped when threading |
4203 |
support has been disabled. |
4204 |
|
4205 |
Thanks to Sebastian Andrzej Siewior. |
2947 |
|
4206 |
|
2948 |
po/fr.po | 12 ++++++++---- |
4207 |
tests/test_check.c | 4 ++++ |
2949 |
1 file changed, 8 insertions(+), 4 deletions(-) |
4208 |
tests/test_hardware.c | 4 ++++ |
|
|
4209 |
tests/test_memlimit.c | 4 ++++ |
4210 |
3 files changed, 12 insertions(+) |
2950 |
|
4211 |
|
2951 |
commit e7d96a5933eec4e9d4a62569ee88df0ebb0f1d53 |
4212 |
commit fae37ad2affd8fe8871f4ff93d5cab5ec14d5e58 |
2952 |
Author: Adrien Nader <adrien@notk.org> |
4213 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2953 |
Date: 2014-12-03 20:00:53 +0100 |
4214 |
Date: 2022-10-05 14:26:00 +0300 |
2954 |
|
4215 |
|
2955 |
po/fr: remove fuzzy marker for error messages that will be kept in English. |
4216 |
tuklib_integer: Add 64-bit endianness-converting reads and writes. |
2956 |
|
4217 |
|
2957 |
The following is a copy of a comment inside fr.po: |
4218 |
Also update the comment in liblzma's memcmplen.h. |
2958 |
|
4219 |
|
2959 |
Note from translator on "file status flags". |
4220 |
Thanks to Michał Górny for the original patch for the reads. |
2960 |
The following entry is kept un-translated on purpose. It is difficult to |
|
|
2961 |
translate and should only happen in exceptional circumstances which means |
2962 |
that translating would: |
2963 |
- lose some of the meaning |
2964 |
- make it more difficult to look up in search engines; it might happen one |
2965 |
in |
2966 |
a million times, if we dilute the error message in 20 languages, it will be |
2967 |
almost impossible to find an explanation and support for the error. |
2968 |
|
4221 |
|
2969 |
po/fr.po | 22 ++++++++++++++++------ |
4222 |
m4/tuklib_integer.m4 | 8 ++++---- |
2970 |
1 file changed, 16 insertions(+), 6 deletions(-) |
4223 |
src/common/tuklib_integer.h | 46 ++++++++++++++++++++++++++++++++++++++++-- |
|
|
4224 |
src/liblzma/common/memcmplen.h | 9 +++------ |
4225 |
3 files changed, 51 insertions(+), 12 deletions(-) |
2971 |
|
4226 |
|
2972 |
commit 46cbb9033af8a21fafe543302d6919746e0d72af |
4227 |
commit 508a44372c5b0dede8863fd0d358d4a9d8645c95 |
2973 |
Author: Adrien Nader <adrien@notk.org> |
4228 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
2974 |
Date: 2014-12-03 19:58:25 +0100 |
4229 |
Date: 2022-09-30 12:06:13 +0300 |
2975 |
|
4230 |
|
2976 |
po/fr: several minor updates and better wording. |
4231 |
liblzma: Add API doc note about the .xz decoder LZMA_MEMLIMIT_ERROR bug. |
2977 |
|
4232 |
|
2978 |
Meaning doesn't change at all: it's only for better wording and/or |
4233 |
The bug was fixed in 660739f99ab211edec4071de98889fb32ed04e98. |
2979 |
formatting of a few strings. |
|
|
2980 |
|
4234 |
|
2981 |
po/fr.po | 14 +++++++------- |
4235 |
src/liblzma/api/lzma/base.h | 11 +++++++++++ |
2982 |
1 file changed, 7 insertions(+), 7 deletions(-) |
4236 |
1 file changed, 11 insertions(+) |
2983 |
|
4237 |
|
2984 |
commit 7ce49d444f04e73145f79c832eb4d510594b074a |
4238 |
commit 8cc9874a7974cd575aee44f218836f7acdbeb0ed |
2985 |
Author: Adrien Nader <adrien@notk.org> |
4239 |
Author: Jia Tan <jiat0218@gmail.com> |
2986 |
Date: 2014-12-03 19:56:12 +0100 |
4240 |
Date: 2022-09-21 16:15:50 +0800 |
2987 |
|
4241 |
|
2988 |
po/fr: update my email address and copyright years. |
4242 |
liblzma: Add dest and src NULL checks to lzma_index_cat. |
|
|
4243 |
|
4244 |
The documentation states LZMA_PROG_ERROR can be returned from |
4245 |
lzma_index_cat. Previously, lzma_index_cat could not return |
4246 |
LZMA_PROG_ERROR. Now, the validation is similar to |
4247 |
lzma_index_append, which does a NULL check on the index |
4248 |
parameter. |
2989 |
|
4249 |
|
2990 |
po/fr.po | 4 ++-- |
4250 |
src/liblzma/common/index.c | 3 +++ |
2991 |
1 file changed, 2 insertions(+), 2 deletions(-) |
4251 |
1 file changed, 3 insertions(+) |
2992 |
|
4252 |
|
2993 |
commit 214c553ebc3047cd720da1ce5c80cf7c38118d3c |
4253 |
commit afd5a8bf5374eba82804a999e1ea7af680784086 |
2994 |
Author: Adrien Nader <adrien@notk.org> |
4254 |
Author: Jia Tan <jiat0218@gmail.com> |
2995 |
Date: 2014-11-26 10:08:26 +0100 |
4255 |
Date: 2022-09-21 20:29:28 +0800 |
2996 |
|
4256 |
|
2997 |
fr.po: commit file after only "update-po" so actual is readable. |
4257 |
Tests: Create a test for the lzma_index_cat bug. |
2998 |
|
4258 |
|
2999 |
po/fr.po | 311 ++++++++++++++++++++++++++++++++++++++++----------------------- |
4259 |
tests/test_index.c | 43 ++++++++++++++++++++++++++++++++++++++++++- |
3000 |
1 file changed, 199 insertions(+), 112 deletions(-) |
4260 |
1 file changed, 42 insertions(+), 1 deletion(-) |
3001 |
|
4261 |
|
3002 |
commit 1190c641af09cde85f8bd0fbe5c4906f4a29431b |
4262 |
commit 3d5a99ca373a4e86faf671226ca6487febb9eeac |
|
|
4263 |
Author: Jia Tan <jiat0218@gmail.com> |
4264 |
Date: 2022-09-21 19:28:53 +0800 |
4265 |
|
4266 |
liblzma: Fix copying of check type statistics in lzma_index_cat(). |
4267 |
|
4268 |
The check type of the last Stream in dest was never copied to |
4269 |
dest->checks (the code tried to copy it but it was done too late). |
4270 |
This meant that the value returned by lzma_index_checks() would |
4271 |
only include the check type of the last Stream when multiple |
4272 |
lzma_indexes had been concatenated. |
4273 |
|
4274 |
In xz --list this meant that the summary would only list the |
4275 |
check type of the last Stream, so in this sense this was only |
4276 |
a visual bug. However, it's possible that some applications |
4277 |
use this information for purposes other than merely showing |
4278 |
it to the users in an informational message. I'm not aware of |
4279 |
such applications though and it's quite possible that such |
4280 |
applications don't exist. |
4281 |
|
4282 |
Regular streamed decompression in xz or any other application |
4283 |
doesn't use lzma_index_cat() and so this bug cannot affect them. |
4284 |
|
4285 |
src/liblzma/common/index.c | 7 ++++++- |
4286 |
1 file changed, 6 insertions(+), 1 deletion(-) |
4287 |
|
4288 |
commit a61d32172789735350a941e23baf6b587c49e5d9 |
3003 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4289 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3004 |
Date: 2014-12-02 20:04:07 +0200 |
4290 |
Date: 2022-09-28 12:20:41 +0300 |
3005 |
|
4291 |
|
3006 |
liblzma: Document how lzma_mt.block_size affects memory usage. |
4292 |
tuklib_physmem: Fix Unicode builds on Windows. |
|
|
4293 |
|
4294 |
Thanks to ArSaCiA Game. |
3007 |
|
4295 |
|
3008 |
src/liblzma/api/lzma/container.h | 4 ++++ |
4296 |
src/common/tuklib_physmem.c | 2 +- |
3009 |
1 file changed, 4 insertions(+) |
4297 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3010 |
|
4298 |
|
3011 |
commit e4fc1d2f9571fba79ce383595be2ea2a9257def0 |
4299 |
commit 5a4d3548ab214fdca364d5c734baf1d1fab47308 |
3012 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4300 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3013 |
Date: 2014-11-28 20:07:18 +0200 |
4301 |
Date: 2022-09-28 11:12:07 +0300 |
3014 |
|
4302 |
|
3015 |
Update INSTALL about a "make check" failure in test_scripts.sh. |
4303 |
Tests: Add test_memlimit.c to test restarting after LZMA_MEMLIMIT_ERROR. |
3016 |
|
4304 |
|
3017 |
INSTALL | 24 +++++++++++++++++------- |
4305 |
tests/Makefile.am | 2 + |
3018 |
1 file changed, 17 insertions(+), 7 deletions(-) |
4306 |
tests/test_memlimit.c | 151 ++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4307 |
2 files changed, 153 insertions(+) |
3019 |
|
4308 |
|
3020 |
commit 34f9e40a0a0c3bd2c2730cdb9cd550bbb8a3f2fe |
4309 |
commit 660739f99ab211edec4071de98889fb32ed04e98 |
3021 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4310 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3022 |
Date: 2014-11-26 20:12:27 +0200 |
4311 |
Date: 2022-09-28 11:05:15 +0300 |
3023 |
|
4312 |
|
3024 |
Remove LZMA_UNSTABLE macro. |
4313 |
liblzma: Stream decoder: Fix restarting after LZMA_MEMLIMIT_ERROR. |
|
|
4314 |
|
4315 |
If lzma_code() returns LZMA_MEMLIMIT_ERROR it is now possible |
4316 |
to use lzma_memlimit_set() to increase the limit and continue |
4317 |
decoding. This was supposed to work from the beginning but |
4318 |
there was a bug. With other decoders (.lzma or threaded .xz) |
4319 |
this already worked correctly. |
3025 |
|
4320 |
|
3026 |
src/liblzma/api/lzma/container.h | 4 ---- |
4321 |
src/liblzma/common/stream_decoder.c | 16 +++++++++++++--- |
3027 |
src/liblzma/common/common.h | 2 -- |
4322 |
1 file changed, 13 insertions(+), 3 deletions(-) |
3028 |
src/xz/private.h | 1 - |
|
|
3029 |
3 files changed, 7 deletions(-) |
3030 |
|
4323 |
|
3031 |
commit 6d9c0ce9f2677b159e32b224aba5b535b304a705 |
4324 |
commit 7e68fda58c74ad9e5b876cc22fcbe80fc0e4747b |
3032 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4325 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3033 |
Date: 2014-11-26 20:10:33 +0200 |
4326 |
Date: 2022-09-28 11:00:23 +0300 |
3034 |
|
4327 |
|
3035 |
liblzma: Update lzma_stream_encoder_mt() API docs. |
4328 |
liblzma: Stream decoder: Fix comments. |
3036 |
|
4329 |
|
3037 |
src/liblzma/api/lzma/container.h | 5 +++-- |
4330 |
src/liblzma/common/stream_decoder.c | 12 +++++------- |
3038 |
1 file changed, 3 insertions(+), 2 deletions(-) |
4331 |
1 file changed, 5 insertions(+), 7 deletions(-) |
3039 |
|
4332 |
|
3040 |
commit 2301f3f05dd9742f42cda8f0f318864f5dc39ab3 |
4333 |
commit f664cb25841fc1c478b819034a224a558e2ac6e7 |
3041 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4334 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3042 |
Date: 2014-11-25 12:32:05 +0200 |
4335 |
Date: 2022-09-20 16:58:22 +0300 |
3043 |
|
4336 |
|
3044 |
liblzma: Verify the filter chain in threaded encoder initialization. |
4337 |
liblzma: ARM64: Add comments. |
|
|
4338 |
|
4339 |
src/liblzma/simple/arm64.c | 13 +++++++++++++ |
4340 |
1 file changed, 13 insertions(+) |
4341 |
|
4342 |
commit b557b4a0eea05470fae8ba5ef4ad5a6dfb36ac41 |
4343 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4344 |
Date: 2022-09-20 16:27:50 +0300 |
4345 |
|
4346 |
liblzma: ARM64: Fix wrong comment in API doc. |
3045 |
|
4347 |
|
3046 |
This way an invalid filter chain is detected at the Stream |
4348 |
Thanks to Jia Tan. |
3047 |
encoder initialization instead of delaying it to the first |
|
|
3048 |
call to lzma_code() which triggers the initialization of |
3049 |
the actual filter encoder(s). |
3050 |
|
4349 |
|
3051 |
src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- |
4350 |
src/liblzma/api/lzma/bcj.h | 4 ++-- |
3052 |
1 file changed, 6 insertions(+), 3 deletions(-) |
4351 |
1 file changed, 2 insertions(+), 2 deletions(-) |
3053 |
|
4352 |
|
3054 |
commit 107a263d5bb63cd3593fd6a5c938706539f84523 |
4353 |
commit d5b0906fa55157f48c200188a3951d80df9cb308 |
3055 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4354 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3056 |
Date: 2014-11-17 19:11:49 +0200 |
4355 |
Date: 2022-09-19 20:24:26 +0300 |
3057 |
|
4356 |
|
3058 |
Build: Update m4/ax_pthread.m4 from Autoconf Archive. |
4357 |
xz: Add --experimental-arm64[=width=WIDTH]. |
|
|
4358 |
|
4359 |
It will be renamed to --arm64 once it is stable. |
4360 |
|
4361 |
Man page or --long-help weren't updated yet. |
3059 |
|
4362 |
|
3060 |
m4/ax_pthread.m4 | 71 +++++++++++++++++++++++++++++++++++++------------------- |
4363 |
src/xz/args.c | 7 +++++++ |
3061 |
1 file changed, 47 insertions(+), 24 deletions(-) |
4364 |
src/xz/message.c | 7 +++++++ |
|
|
4365 |
src/xz/options.c | 39 +++++++++++++++++++++++++++++++++++++++ |
4366 |
src/xz/options.h | 7 +++++++ |
4367 |
4 files changed, 60 insertions(+) |
3062 |
|
4368 |
|
3063 |
commit b13a781833399ff5726cfc997f3cb2f0acbdbf31 |
4369 |
commit ecb966de308c255bb4735a7307ef9901c643a9de |
3064 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4370 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3065 |
Date: 2014-11-17 18:52:21 +0200 |
4371 |
Date: 2022-09-19 19:34:56 +0300 |
3066 |
|
4372 |
|
3067 |
Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING. |
4373 |
liblzma: Add experimental ARM64 BCJ filter with a temporary Filter ID. |
|
|
4374 |
|
4375 |
That is, the Filter ID will be changed once the design is final. |
4376 |
The current version will be removed. So files created with the |
4377 |
tempoary Filter ID won't be supported in the future. |
3068 |
|
4378 |
|
3069 |
configure.ac | 36 ++++++++++++++++++------------------ |
4379 |
CMakeLists.txt | 3 + |
3070 |
m4/tuklib_integer.m4 | 2 +- |
4380 |
configure.ac | 4 +- |
3071 |
2 files changed, 19 insertions(+), 19 deletions(-) |
4381 |
src/liblzma/api/lzma/bcj.h | 35 +++++- |
|
|
4382 |
src/liblzma/common/filter_common.c | 9 ++ |
4383 |
src/liblzma/common/filter_decoder.c | 8 ++ |
4384 |
src/liblzma/common/filter_encoder.c | 11 ++ |
4385 |
src/liblzma/simple/Makefile.inc | 4 + |
4386 |
src/liblzma/simple/arm64.c | 227 ++++++++++++++++++++++++++++++++++++ |
4387 |
src/liblzma/simple/simple_coder.h | 9 ++ |
4388 |
src/liblzma/simple/simple_decoder.h | 4 + |
4389 |
src/liblzma/simple/simple_encoder.h | 2 + |
4390 |
11 files changed, 313 insertions(+), 3 deletions(-) |
3072 |
|
4391 |
|
3073 |
commit 542cac122ed3550148a2af0033af22b757491378 |
4392 |
commit 177bdc922cb17bd0fd831ab8139dfae912a5c2b8 |
3074 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4393 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3075 |
Date: 2014-11-17 18:43:19 +0200 |
4394 |
Date: 2022-09-17 22:42:18 +0300 |
3076 |
|
4395 |
|
3077 |
Build: Fix Autoconf warnings about escaped backquotes. |
4396 |
liblzma: Simple/BCJ filters: Allow disabling generic BCJ options. |
3078 |
|
4397 |
|
3079 |
Thanks to Daniel Richard G. for pointing out that it's |
4398 |
This will be needed for the ARM64 BCJ filter as it will use |
3080 |
good to sometimes run autoreconf -fi with -Wall. |
4399 |
its own options struct. |
3081 |
|
4400 |
|
3082 |
configure.ac | 7 +++---- |
4401 |
src/liblzma/simple/arm.c | 2 +- |
3083 |
1 file changed, 3 insertions(+), 4 deletions(-) |
4402 |
src/liblzma/simple/armthumb.c | 2 +- |
|
|
4403 |
src/liblzma/simple/ia64.c | 2 +- |
4404 |
src/liblzma/simple/powerpc.c | 2 +- |
4405 |
src/liblzma/simple/simple_coder.c | 4 ++-- |
4406 |
src/liblzma/simple/simple_private.h | 2 +- |
4407 |
src/liblzma/simple/sparc.c | 2 +- |
4408 |
src/liblzma/simple/x86.c | 3 ++- |
4409 |
8 files changed, 10 insertions(+), 9 deletions(-) |
3084 |
|
4410 |
|
3085 |
commit 7b03a15cea8cd4f19ed680b51c4bcbae3ce4142f |
4411 |
commit c3592d0a55114144686ecf960cb516d6b31c98e9 |
3086 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4412 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3087 |
Date: 2014-11-10 18:54:40 +0200 |
4413 |
Date: 2022-09-16 17:08:53 +0300 |
3088 |
|
4414 |
|
3089 |
xzdiff: Use mkdir if mktemp isn't available. |
4415 |
Tests: Add a test file for lzma_index_append() integer overflow bug. |
|
|
4416 |
|
4417 |
This test fails before commit 18d7facd3802b55c287581405c4d49c98708c136. |
4418 |
|
4419 |
test_files.sh now runs xz -l for bad-3-index-uncomp-overflow.xz |
4420 |
because only then the previously-buggy code path gets tested. |
4421 |
Normal decompression doesn't use lzma_index_append() at all. |
4422 |
Instead, lzma_index_hash functions are used and those already |
4423 |
did the overflow check. |
3090 |
|
4424 |
|
3091 |
src/scripts/xzdiff.in | 17 ++++++++++++++++- |
4425 |
tests/files/README | 10 ++++++++++ |
3092 |
1 file changed, 16 insertions(+), 1 deletion(-) |
4426 |
tests/files/bad-3-index-uncomp-overflow.xz | Bin 0 -> 132 bytes |
|
|
4427 |
tests/test_files.sh | 8 ++++++++ |
4428 |
3 files changed, 18 insertions(+) |
3093 |
|
4429 |
|
3094 |
commit f8c13e5e3609581d5dd9f8777985ca07f2390ad7 |
4430 |
commit 982b29f828079a2a26253a40e975127a40a7d2bd |
3095 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4431 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3096 |
Date: 2014-11-10 18:45:01 +0200 |
4432 |
Date: 2022-09-16 15:10:07 +0300 |
3097 |
|
4433 |
|
3098 |
xzdiff: Create a temporary directory to hold a temporary file. |
4434 |
Translations: Add Turkish translation. |
|
|
4435 |
|
4436 |
po/LINGUAS | 1 + |
4437 |
po/tr.po | 977 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4438 |
2 files changed, 978 insertions(+) |
4439 |
|
4440 |
commit 1fc088d9f6d1697924aaeac8cd1fb9918d1532e2 |
4441 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4442 |
Date: 2022-09-16 14:09:07 +0300 |
4443 |
|
4444 |
Update THANKS. |
4445 |
|
4446 |
THANKS | 1 + |
4447 |
1 file changed, 1 insertion(+) |
4448 |
|
4449 |
commit 097c7b67ce86ff16a7cef7631b39e5ca4ee3d420 |
4450 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4451 |
Date: 2022-09-16 14:07:03 +0300 |
4452 |
|
4453 |
xzgrep: Fix compatibility with old shells. |
3099 |
|
4454 |
|
3100 |
This avoids the possibility of "File name too long" when |
4455 |
Running the current xzgrep on Slackware 10.1 with GNU bash 3.00.15: |
3101 |
creating a temp file when the input file name is very long. |
|
|
3102 |
|
4456 |
|
3103 |
This also means that other users on the system can no longer |
4457 |
xzgrep: line 231: syntax error near unexpected token `;;' |
3104 |
see the input file names in /tmp (or whatever $TMPDIR is) |
|
|
3105 |
since the temporary directory will have a generic name. This |
3106 |
usually doesn't matter since on many systems one can see |
3107 |
the arguments given to all processes anyway. |
3108 |
|
4458 |
|
3109 |
The number X chars to mktemp where increased from 6 to 10. |
4459 |
On SCO OpenServer 5.0.7 with Korn Shell 93r: |
3110 |
|
4460 |
|
3111 |
Note that with some shells temp files or dirs won't be used at all. |
4461 |
syntax error at line 231 : `;;' unexpected |
|
|
4462 |
|
4463 |
Turns out that some old shells don't like apostrophes (') inside |
4464 |
command substitutions. For example, the following fails: |
4465 |
|
4466 |
x=$(echo foo |
4467 |
# asdf'zxcv |
4468 |
echo bar) |
4469 |
printf '%s\n' "$x" |
4470 |
|
4471 |
The problem was introduced by commits |
4472 |
69d1b3fc29677af8ade8dc15dba83f0589cb63d6 (2022-03-29), |
4473 |
bd7b290f3fe4faeceb7d3497ed9bf2e6ed5e7dc5 (2022-07-18), and |
4474 |
a648978b20495b7aa4a8b029c5a810b5ad9d08ff (2022-07-19). |
4475 |
5.2.6 is the only stable release that included |
4476 |
this problem. |
4477 |
|
4478 |
Thanks to Kevin R. Bulgrien for reporting the problem |
4479 |
on SCO OpenServer 5.0.7 and for providing the fix. |
3112 |
|
4480 |
|
3113 |
src/scripts/xzdiff.in | 10 +++++----- |
4481 |
src/scripts/xzgrep.in | 6 +++--- |
3114 |
1 file changed, 5 insertions(+), 5 deletions(-) |
4482 |
1 file changed, 3 insertions(+), 3 deletions(-) |
3115 |
|
4483 |
|
3116 |
commit 7716dcf9df7f457500cb657314e7a9aea5fedb06 |
4484 |
commit f2d084fe3f0d6d71488bfc6987f26542f67bfd99 |
3117 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4485 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3118 |
Date: 2014-11-10 15:38:47 +0200 |
4486 |
Date: 2022-09-09 14:12:30 +0300 |
3119 |
|
4487 |
|
3120 |
liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage(). |
4488 |
Tests: Silence warnings about unused functions from tuktest.h. |
3121 |
|
4489 |
|
3122 |
It read the filter chain from a wrong variable. This is a similar |
4490 |
Warnings about unused tuktest_run_test conveniently tell which |
3123 |
bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e. |
4491 |
test programs haven't been converted to tuktest.h yet but I |
|
|
4492 |
silenced that warning too for now anyway. |
4493 |
|
4494 |
It is fine to use __attribute__((__unused__)) even when the |
4495 |
function is actually used because the attribute only means |
4496 |
that the function might be unused. |
3124 |
|
4497 |
|
3125 |
src/liblzma/common/stream_encoder_mt.c | 3 +-- |
4498 |
tests/tuktest.h | 10 ++++++++++ |
3126 |
1 file changed, 1 insertion(+), 2 deletions(-) |
4499 |
1 file changed, 10 insertions(+) |
3127 |
|
4500 |
|
3128 |
commit 230fa4a605542c84b4178a57381695a0af4e779b |
4501 |
commit f8ee61e74eb40600445fdb601c374d582e1e9c8a |
3129 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4502 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3130 |
Date: 2014-11-10 14:49:55 +0200 |
4503 |
Date: 2022-09-09 13:51:57 +0300 |
3131 |
|
4504 |
|
|
|
4505 |
liblzma: lzma_filters_copy: Keep dest[] unmodified if an error occurs. |
4506 |
|
4507 |
lzma_stream_encoder() and lzma_stream_encoder_mt() always assumed |
4508 |
this. Before this patch, failing lzma_filters_copy() could result |
4509 |
in free(invalid_pointer) or invalid memory reads in stream_encoder.c |
4510 |
or stream_encoder_mt.c. |
4511 |
|
4512 |
To trigger this, allocating memory for a filter options structure |
4513 |
has to fail. These are tiny allocations so in practice they very |
4514 |
rarely fail. |
4515 |
|
4516 |
Certain badness in the filter chain array could also make |
4517 |
lzma_filters_copy() fail but both stream_encoder.c and |
4518 |
stream_encoder_mt.c validate the filter chain before |
4519 |
trying to copy it, so the crash cannot occur this way. |
4520 |
|
4521 |
src/liblzma/api/lzma/filter.h | 4 +++- |
4522 |
src/liblzma/common/filter_common.c | 18 ++++++++++++------ |
4523 |
2 files changed, 15 insertions(+), 7 deletions(-) |
4524 |
|
4525 |
commit 18d7facd3802b55c287581405c4d49c98708c136 |
4526 |
Author: Jia Tan <jiat0218@gmail.com> |
4527 |
Date: 2022-09-02 20:18:55 +0800 |
4528 |
|
4529 |
liblzma: lzma_index_append: Add missing integer overflow check. |
4530 |
|
4531 |
The documentation in src/liblzma/api/lzma/index.h suggests that |
4532 |
both the unpadded (compressed) size and the uncompressed size |
4533 |
are checked for overflow, but only the unpadded size was checked. |
4534 |
The uncompressed check is done first since that is more likely to |
4535 |
occur than the unpadded or index field size overflows. |
4536 |
|
4537 |
src/liblzma/common/index.c | 4 ++++ |
4538 |
1 file changed, 4 insertions(+) |
4539 |
|
4540 |
commit 9ac06cb5b85274d18f9f70d82cf2d8c9c1151bd4 |
4541 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4542 |
Date: 2022-09-08 15:11:08 +0300 |
4543 |
|
3132 |
Update THANKS. |
4544 |
Update THANKS. |
3133 |
|
4545 |
|
3134 |
THANKS | 1 + |
4546 |
THANKS | 1 + |
3135 |
1 file changed, 1 insertion(+) |
4547 |
1 file changed, 1 insertion(+) |
3136 |
|
4548 |
|
3137 |
commit 4e4ae08bc7c1711e399c9f2d26eb375d39d08101 |
4549 |
commit ba3e4ba2de034ae93a513f9c3a0823b80cdb66dc |
|
|
4550 |
Author: Jia Tan <jiat0218@gmail.com> |
4551 |
Date: 2022-09-08 15:07:00 +0300 |
4552 |
|
4553 |
CMake: Clarify a comment about Windows symlinks without file extension. |
4554 |
|
4555 |
CMakeLists.txt | 7 +++---- |
4556 |
1 file changed, 3 insertions(+), 4 deletions(-) |
4557 |
|
4558 |
commit 17485e884ce5c74315f29a8a1507bc706cd5cd1d |
3138 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4559 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3139 |
Date: 2014-10-29 21:28:25 +0200 |
4560 |
Date: 2022-09-08 15:02:41 +0300 |
3140 |
|
4561 |
|
3141 |
Update .gitignore files. |
4562 |
CMake: Update for liblzma_*.map files and fix wrong common_w32res.rc dep. |
|
|
4563 |
|
4564 |
The previous commit split liblzma.map into liblzma_linux.map and |
4565 |
liblzma_generic.map. This commit updates the CMake build for those. |
4566 |
|
4567 |
common_w32res.rc dependency was listed under Linux/FreeBSD while |
4568 |
obviously it belongs to Windows when building a DLL. |
3142 |
|
4569 |
|
3143 |
.gitignore | 2 ++ |
4570 |
CMakeLists.txt | 24 +++++++++++++++++++----- |
3144 |
m4/.gitignore | 3 +++ |
4571 |
1 file changed, 19 insertions(+), 5 deletions(-) |
3145 |
2 files changed, 5 insertions(+) |
|
|
3146 |
|
4572 |
|
3147 |
commit c923b140b27d1a055db6284e10fd546ad1a7fcdb |
4573 |
commit 913ddc5572b9455fa0cf299be2e35c708840e922 |
3148 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4574 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3149 |
Date: 2014-10-29 21:15:35 +0200 |
4575 |
Date: 2022-09-04 23:23:00 +0300 |
3150 |
|
4576 |
|
3151 |
Build: Prepare to support Automake's subdir-objects. |
4577 |
liblzma: Vaccinate against an ill patch from RHEL/CentOS 7. |
3152 |
|
4578 |
|
3153 |
Due to a bug in Automake, subdir-objects won't be enabled |
4579 |
RHEL/CentOS 7 shipped with 5.1.2alpha, including the threaded |
3154 |
for now. |
4580 |
encoder that is behind #ifdef LZMA_UNSTABLE in the API headers. |
|
|
4581 |
In 5.1.2alpha these symbols are under XZ_5.1.2alpha in liblzma.map. |
4582 |
API/ABI compatibility tracking isn't done between development |
4583 |
releases so newer releases didn't have XZ_5.1.2alpha anymore. |
3155 |
|
4584 |
|
3156 |
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354 |
4585 |
Later RHEL/CentOS 7 updated xz to 5.2.2 but they wanted to keep |
|
|
4586 |
the exported symbols compatible with 5.1.2alpha. After checking |
4587 |
the ABI changes it turned out that >= 5.2.0 ABI is backward |
4588 |
compatible with the threaded encoder functions from 5.1.2alpha |
4589 |
(but not vice versa as fixes and extensions to these functions |
4590 |
were made between 5.1.2alpha and 5.2.0). |
3157 |
|
4591 |
|
3158 |
Thanks to Daniel Richard G. for the original patches. |
4592 |
In RHEL/CentOS 7, XZ Utils 5.2.2 was patched with |
|
|
4593 |
xz-5.2.2-compat-libs.patch to modify liblzma.map: |
4594 |
|
4595 |
- XZ_5.1.2alpha was added with lzma_stream_encoder_mt and |
4596 |
lzma_stream_encoder_mt_memusage. This matched XZ Utils 5.1.2alpha. |
4597 |
|
4598 |
- XZ_5.2 was replaced with XZ_5.2.2. It is clear that this was |
4599 |
an error; the intention was to keep using XZ_5.2 (XZ_5.2.2 |
4600 |
has never been used in XZ Utils). So XZ_5.2.2 lists all |
4601 |
symbols that were listed under XZ_5.2 before the patch. |
4602 |
lzma_stream_encoder_mt and _mt_memusage are included too so |
4603 |
they are listed both here and under XZ_5.1.2alpha. |
4604 |
|
4605 |
The patch didn't add any __asm__(".symver ...") lines to the .c |
4606 |
files. Thus the resulting liblzma.so exports the threaded encoder |
4607 |
functions under XZ_5.1.2alpha only. Listing the two functions |
4608 |
also under XZ_5.2.2 in liblzma.map has no effect without |
4609 |
matching .symver lines. |
4610 |
|
4611 |
The lack of XZ_5.2 in RHEL/CentOS 7 means that binaries linked |
4612 |
against unpatched XZ Utils 5.2.x won't run on RHEL/CentOS 7. |
4613 |
This is unfortunate but this alone isn't too bad as the problem |
4614 |
is contained within RHEL/CentOS 7 and doesn't affect users |
4615 |
of other distributions. It could also be fixed internally in |
4616 |
RHEL/CentOS 7. |
4617 |
|
4618 |
The second problem is more serious: In XZ Utils 5.2.2 the API |
4619 |
headers don't have #ifdef LZMA_UNSTABLE for obvious reasons. |
4620 |
This is true in RHEL/CentOS 7 version too. Thus now programs |
4621 |
using new APIs can be compiled without an extra #define. However, |
4622 |
the programs end up depending on symbol version XZ_5.1.2alpha |
4623 |
(and possibly also XZ_5.2.2) instead of XZ_5.2 as they would |
4624 |
with an unpatched XZ Utils 5.2.2. This means that such binaries |
4625 |
won't run on other distributions shipping XZ Utils >= 5.2.0 as |
4626 |
they don't provide XZ_5.1.2alpha or XZ_5.2.2; they only provide |
4627 |
XZ_5.2 (and XZ_5.0). (This includes RHEL/CentOS 8 as the patch |
4628 |
luckily isn't included there anymore with XZ Utils 5.2.4.) |
4629 |
|
4630 |
Binaries built by RHEL/CentOS 7 users get distributed and then |
4631 |
people wonder why they don't run on some other distribution. |
4632 |
Seems that people have found out about the patch and been copying |
4633 |
it to some build scripts, seemingly curing the symptoms but |
4634 |
actually spreading the illness further and outside RHEL/CentOS 7. |
4635 |
|
4636 |
The ill patch seems to be from late 2016 (RHEL 7.3) and in 2017 it |
4637 |
had spread at least to EasyBuild. I heard about the events only |
4638 |
recently. :-( |
4639 |
|
4640 |
This commit splits liblzma.map into two versions: one for |
4641 |
GNU/Linux and another for other OSes that can use symbol versioning |
4642 |
(FreeBSD, Solaris, maybe others). The Linux-specific file and the |
4643 |
matching additions to .c files add full compatibility with binaries |
4644 |
that have been built against a RHEL/CentOS-patched liblzma. Builds |
4645 |
for OSes other than GNU/Linux won't get the vaccine as they should |
4646 |
be immune to the problem (I really hope that no build script uses |
4647 |
the RHEL/CentOS 7 patch outside GNU/Linux). |
4648 |
|
4649 |
The RHEL/CentOS compatibility symbols XZ_5.1.2alpha and XZ_5.2.2 |
4650 |
are intentionally put *after* XZ_5.2 in liblzma_linux.map. This way |
4651 |
if one forgets to #define HAVE_SYMBOL_VERSIONS_LINUX when building, |
4652 |
the resulting liblzma.so.5 will have lzma_stream_encoder_mt@@XZ_5.2 |
4653 |
since XZ_5.2 {...} is the first one that lists that function. |
4654 |
Without HAVE_SYMBOL_VERSIONS_LINUX @XZ_5.1.2alpha and @XZ_5.2.2 |
4655 |
will be missing but that's still a minor problem compared to |
4656 |
only having lzma_stream_encoder_mt@@XZ_5.1.2alpha! |
4657 |
|
4658 |
The "local: *;" line was moved to XZ_5.0 so that it doesn't need |
4659 |
to be moved around. It doesn't matter where it is put. |
4660 |
|
4661 |
Having two similar liblzma_*.map files is a bit silly as it is, |
4662 |
at least for now, easily possible to generate the generic one |
4663 |
from the Linux-specific file. But that adds extra steps and |
4664 |
increases the risk of mistakes when supporting more than one |
4665 |
build system. So I rather maintain two files in parallel and let |
4666 |
validate_map.sh check that they are in sync when "make mydist" |
4667 |
is run. |
4668 |
|
4669 |
This adds .symver lines for lzma_stream_encoder_mt@XZ_5.2.2 and |
4670 |
lzma_stream_encoder_mt_memusage@XZ_5.2.2 even though these |
4671 |
weren't exported by RHEL/CentOS 7 (only @@XZ_5.1.2alpha was |
4672 |
for these two). I added these anyway because someone might |
4673 |
misunderstand the RHEL/CentOS 7 patch and think that @XZ_5.2.2 |
4674 |
(@@XZ_5.2.2) versions were exported too. |
4675 |
|
4676 |
At glance one could suggest using __typeof__ to copy the function |
4677 |
prototypes when making aliases. However, this doesn't work trivially |
4678 |
because __typeof__ won't copy attributes (lzma_nothrow, lzma_pure) |
4679 |
and it won't change symbol visibility from hidden to default (done |
4680 |
by LZMA_API()). Attributes could be copied with __copy__ attribute |
4681 |
but that needs GCC 9 and a fallback method would be needed anyway. |
4682 |
|
4683 |
This uses __symver__ attribute with GCC >= 10 and |
4684 |
__asm__(".symver ...") with everything else. The attribute method |
4685 |
is required for LTO (-flto) support with GCC. Using -flto with |
4686 |
GCC older than 10 is now broken on GNU/Linux and will not be fixed |
4687 |
(can silently result in a broken liblzma build that has dangerously |
4688 |
incorrect symbol versions). LTO builds with Clang seem to work |
4689 |
with the traditional __asm__(".symver ...") method. |
4690 |
|
4691 |
Thanks to Boud Roukema for reporting the problem and discussing |
4692 |
the details and testing the fix. |
3159 |
|
4693 |
|
3160 |
configure.ac | 7 ++++++- |
4694 |
configure.ac | 23 +++- |
3161 |
src/Makefile.am | 22 +++++++++++++++++++++- |
4695 |
src/liblzma/Makefile.am | 10 +- |
3162 |
src/liblzma/Makefile.am | 4 ++-- |
4696 |
src/liblzma/common/block_buffer_encoder.c | 18 ++++ |
3163 |
src/lzmainfo/Makefile.am | 4 ++-- |
4697 |
src/liblzma/common/common.c | 14 +++ |
3164 |
src/xz/Makefile.am | 10 +++++----- |
4698 |
src/liblzma/common/common.h | 28 +++++ |
3165 |
src/xzdec/Makefile.am | 8 ++++---- |
4699 |
src/liblzma/common/hardware_cputhreads.c | 12 +++ |
3166 |
6 files changed, 40 insertions(+), 15 deletions(-) |
4700 |
src/liblzma/common/stream_encoder_mt.c | 42 ++++++++ |
|
|
4701 |
src/liblzma/{liblzma.map => liblzma_generic.map} | 6 +- |
4702 |
src/liblzma/liblzma_linux.map | 131 +++++++++++++++++++++++ |
4703 |
src/liblzma/validate_map.sh | 113 +++++++++++++++++-- |
4704 |
10 files changed, 382 insertions(+), 15 deletions(-) |
3167 |
|
4705 |
|
3168 |
commit 08c2aa16bea0df82828f665d51fba2e0a5e8997f |
4706 |
commit 80a1a8bb838842a2be343bd88ad1462c21c5e2c9 |
3169 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4707 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3170 |
Date: 2014-10-24 20:09:29 +0300 |
4708 |
Date: 2022-08-31 16:42:04 +0300 |
3171 |
|
4709 |
|
3172 |
Translations: Update the Italian translation. |
4710 |
CMake: Add xz symlinks. |
3173 |
|
4711 |
|
3174 |
Thanks to Milo Casagrande. |
4712 |
These are a minor thing especially since the xz build has |
|
|
4713 |
some real problems still like lack of large file support |
4714 |
on 32-bit systems but I'll commit this since the code exists. |
4715 |
|
4716 |
Thanks to Jia Tan. |
3175 |
|
4717 |
|
3176 |
po/it.po | 452 ++++++++++++++++++++++++++++++++++++++------------------------- |
4718 |
CMakeLists.txt | 38 +++++++++++++++++++++++++++++++++++++- |
3177 |
1 file changed, 275 insertions(+), 177 deletions(-) |
4719 |
1 file changed, 37 insertions(+), 1 deletion(-) |
3178 |
|
4720 |
|
3179 |
commit 2f9f61aa83539c54ff6c118a2693890f0519b3dd |
4721 |
commit a4193bb6d85d7765b1b87faeab3e50106d3ab2e9 |
3180 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4722 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3181 |
Date: 2014-10-18 18:51:45 +0300 |
4723 |
Date: 2022-08-31 16:29:38 +0300 |
3182 |
|
4724 |
|
3183 |
Translations: Update the Polish translation. |
4725 |
CMake: Put xz man page install under if(UNIX) like is for xzdec. |
3184 |
|
4726 |
|
3185 |
Thanks to Jakub Bogusz. |
4727 |
Thanks to Jia Tan. |
3186 |
|
4728 |
|
3187 |
po/pl.po | 332 ++++++++++++++++++++++++++++++++++++++++----------------------- |
4729 |
CMakeLists.txt | 8 +++++--- |
3188 |
1 file changed, 214 insertions(+), 118 deletions(-) |
4730 |
1 file changed, 5 insertions(+), 3 deletions(-) |
3189 |
|
4731 |
|
3190 |
commit 4f9d233f67aea25e532824d11b7642cf7dee7a76 |
4732 |
commit c1555b1a221a1427d4d650647531016d754bc4da |
3191 |
Author: Andre Noll <maan@tuebingen.mpg.de> |
4733 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3192 |
Date: 2014-10-14 17:30:30 +0200 |
4734 |
Date: 2022-08-22 18:16:40 +0300 |
3193 |
|
4735 |
|
3194 |
l10n: de.po: Change translator email address. |
4736 |
Bump version number for 5.3.3alpha. |
3195 |
|
|
|
3196 |
Although the old address is still working, the new one should |
3197 |
be preferred. So this commit changes all three places in de.po |
3198 |
accordingly. |
3199 |
|
3200 |
Signed-off-by: Andre Noll <maan@tuebingen.mpg.de> |
3201 |
|
4737 |
|
3202 |
po/de.po | 6 +++--- |
4738 |
src/liblzma/api/lzma/version.h | 2 +- |
3203 |
1 file changed, 3 insertions(+), 3 deletions(-) |
4739 |
src/liblzma/liblzma.map | 2 +- |
|
|
4740 |
2 files changed, 2 insertions(+), 2 deletions(-) |
3204 |
|
4741 |
|
3205 |
commit 00502b2bedad43f0cc167ac17ae0608837ee196b |
4742 |
commit 44fedddc11c3f6ec2f7fe35a3e38f15ca93f90eb |
3206 |
Author: Andre Noll <maan@tuebingen.mpg.de> |
4743 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3207 |
Date: 2014-10-14 17:30:29 +0200 |
4744 |
Date: 2022-08-22 18:13:56 +0300 |
3208 |
|
4745 |
|
3209 |
l10n: de.po: Update German translation |
4746 |
Add NEWS for 5.3.3alpha. |
3210 |
|
|
|
3211 |
Signed-off-by: Andre Noll <maan@systemlinux.org> |
3212 |
|
4747 |
|
3213 |
po/de.po | 531 +++++++++++++++++++++++++++++++++------------------------------ |
4748 |
NEWS | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3214 |
1 file changed, 281 insertions(+), 250 deletions(-) |
4749 |
1 file changed, 119 insertions(+) |
3215 |
|
4750 |
|
3216 |
commit 706b0496753fb609e69f1570ec603f11162189d1 |
4751 |
commit a93e235d7ca764cc19f8f9f9063b40ff361c3cfa |
3217 |
Author: Andre Noll <maan@tuebingen.mpg.de> |
4752 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3218 |
Date: 2014-10-14 17:30:28 +0200 |
4753 |
Date: 2022-07-12 17:59:41 +0300 |
3219 |
|
4754 |
|
3220 |
l10n: de.po: Fix typo: Schießen -> Schließen. |
4755 |
Translations: Add Portuguese translation. |
3221 |
|
4756 |
|
3222 |
That's a funny one since "schießen" means to shoot :) |
4757 |
Jia Tan made white-space changes and also changed "Language: pt_BR\n" |
|
|
4758 |
to pt. The translator wasn't reached so I'm hoping these changes |
4759 |
are OK and will commit it without translator's approval. |
3223 |
|
4760 |
|
3224 |
Signed-off-by: Andre Noll <maan@systemlinux.org> |
4761 |
Thanks to Pedro Albuquerque and Jia Tan. |
3225 |
|
4762 |
|
3226 |
po/de.po | 2 +- |
4763 |
po/LINGUAS | 1 + |
3227 |
1 file changed, 1 insertion(+), 1 deletion(-) |
4764 |
po/pt.po | 1001 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4765 |
2 files changed, 1002 insertions(+) |
3228 |
|
4766 |
|
3229 |
commit 7c32e6a935c3d7ee366abad1679bd5f322f0c7d4 |
4767 |
commit e7cf5a946f25e40d77f45e41f0dee7d42a04e9ae |
3230 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4768 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3231 |
Date: 2014-10-09 19:42:26 +0300 |
4769 |
Date: 2022-07-10 21:16:40 +0300 |
3232 |
|
4770 |
|
3233 |
Update THANKS. |
4771 |
Translations: Add Serbian translation. |
|
|
4772 |
|
4773 |
Quite a few white-space changes were made by Jia Tan to make |
4774 |
this look good. Contacting the translator didn't succeed so |
4775 |
I'm committing this without getting translator's approval. |
4776 |
|
4777 |
Thanks to Мирослав Николић (Miroslav Nikolic) and Jia Tan. |
3234 |
|
4778 |
|
3235 |
THANKS | 1 + |
4779 |
po/LINGUAS | 1 + |
3236 |
1 file changed, 1 insertion(+) |
4780 |
po/sr.po | 987 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4781 |
2 files changed, 988 insertions(+) |
3237 |
|
4782 |
|
3238 |
commit 076258cc458f1e705041ac7a729b15ffe8c5214a |
4783 |
commit cc8617ab53b1f2a4da212fa76c92fe538269c5de |
3239 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4784 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3240 |
Date: 2014-10-09 19:41:51 +0300 |
4785 |
Date: 2022-07-04 23:51:36 +0300 |
3241 |
|
4786 |
|
3242 |
Add support for AmigaOS/AROS to tuklib_physmem(). |
4787 |
Translations: Add Swedish translation. |
3243 |
|
4788 |
|
3244 |
Thanks to Fredrik Wikstrom. |
4789 |
Thanks to Sebastian Rasmussen and Jia Tan. |
3245 |
|
4790 |
|
3246 |
m4/tuklib_physmem.m4 | 3 ++- |
4791 |
po/LINGUAS | 1 + |
3247 |
src/common/tuklib_physmem.c | 7 +++++++ |
4792 |
po/sv.po | 983 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3248 |
2 files changed, 9 insertions(+), 1 deletion(-) |
4793 |
2 files changed, 984 insertions(+) |
3249 |
|
4794 |
|
3250 |
commit efa7b0a210e1baa8e128fc98c5443a944c39ad24 |
4795 |
commit c613598c358b640682d0ca2aed38fa7df763e8c7 |
3251 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4796 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3252 |
Date: 2014-10-09 18:42:14 +0300 |
4797 |
Date: 2022-07-04 23:40:27 +0300 |
3253 |
|
4798 |
|
3254 |
xzgrep: Avoid passing both -q and -l to grep. |
4799 |
Translations: Add Esperanto translation. |
3255 |
|
4800 |
|
3256 |
The behavior of grep -ql varies: |
4801 |
Thanks to Keith Bowes and Jia Tan. |
3257 |
- GNU grep behaves like grep -q. |
|
|
3258 |
- OpenBSD grep behaves like grep -l. |
3259 |
|
3260 |
POSIX doesn't make it 100 % clear what behavior is expected. |
3261 |
Anyway, using both -q and -l at the same time makes no sense |
3262 |
so both options simply should never be used at the same time. |
3263 |
|
3264 |
Thanks to Christian Weisgerber. |
3265 |
|
4802 |
|
3266 |
src/scripts/xzgrep.in | 6 ++++-- |
4803 |
po/LINGUAS | 1 + |
3267 |
1 file changed, 4 insertions(+), 2 deletions(-) |
4804 |
po/eo.po | 984 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4805 |
2 files changed, 985 insertions(+) |
3268 |
|
4806 |
|
3269 |
commit 9c5f76098c9986b48d2fc574a0b764f4cde0c538 |
4807 |
commit 659a587d678f21e98e91d2751c31d4ce050c081a |
3270 |
Author: Trần Ngọc Quân <vnwildman@gmail.com> |
4808 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3271 |
Date: 2014-09-25 09:22:45 +0700 |
4809 |
Date: 2022-07-01 00:22:33 +0300 |
3272 |
|
4810 |
|
3273 |
l10n: vi.po: Update Vietnamese translation |
4811 |
Translations: Add Catalan translation. |
3274 |
|
4812 |
|
3275 |
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com> |
4813 |
Thanks to Jordi Mas and Jia Tan. |
3276 |
|
4814 |
|
3277 |
po/vi.po | 136 +++++++++++++++++++++++++++++++++++++++------------------------ |
4815 |
po/LINGUAS | 1 + |
3278 |
1 file changed, 84 insertions(+), 52 deletions(-) |
4816 |
po/ca.po | 1076 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4817 |
2 files changed, 1077 insertions(+) |
3279 |
|
4818 |
|
3280 |
commit c4911f2db36d811896c73c008b4218d8fa9a4730 |
4819 |
commit 739fd8c9bdf1d85f57d56642aad87148d4779530 |
3281 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4820 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3282 |
Date: 2014-09-25 18:38:48 +0300 |
4821 |
Date: 2022-06-30 17:47:08 +0300 |
3283 |
|
4822 |
|
3284 |
Build: Detect supported compiler warning flags better. |
4823 |
Translations: Add Ukrainian translation. |
3285 |
|
4824 |
|
3286 |
Clang and nowadays also GCC accept any -Wfoobar option |
4825 |
Thanks to Yuri Chornoivan and Jia Tan. |
3287 |
but then may give a warning that an unknown warning option |
|
|
3288 |
was specified. To avoid adding unsupported warning options, |
3289 |
the options are now tested with -Werror. |
3290 |
|
3291 |
Thanks to Charles Diza. |
3292 |
|
4826 |
|
3293 |
configure.ac | 5 +++-- |
4827 |
po/LINGUAS | 1 + |
3294 |
1 file changed, 3 insertions(+), 2 deletions(-) |
4828 |
po/uk.po | 996 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4829 |
2 files changed, 997 insertions(+) |
3295 |
|
4830 |
|
3296 |
commit 76e75522ed6f5c228d55587dee5a997893f6e474 |
4831 |
commit 73280550b111930c62a667e56add8fd574f80bc8 |
3297 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4832 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3298 |
Date: 2014-09-20 21:01:21 +0300 |
4833 |
Date: 2022-06-30 17:45:26 +0300 |
3299 |
|
4834 |
|
3300 |
Update NEWS for 5.0.7. |
4835 |
Translators: Add Romanian translation. |
|
|
4836 |
|
4837 |
Thanks to Remus-Gabriel Chelu and Jia Tan. |
3301 |
|
4838 |
|
3302 |
NEWS | 11 +++++++++++ |
4839 |
po/LINGUAS | 1 + |
3303 |
1 file changed, 11 insertions(+) |
4840 |
po/ro.po | 1016 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4841 |
2 files changed, 1017 insertions(+) |
3304 |
|
4842 |
|
3305 |
commit d62028b4c1174fc67b6929f126f5eb24c018c700 |
4843 |
commit 2465f5b825152714b2c357d96c2422c31109d320 |
3306 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4844 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3307 |
Date: 2014-09-20 19:42:56 +0300 |
4845 |
Date: 2022-06-29 18:33:32 +0300 |
3308 |
|
4846 |
|
3309 |
liblzma: Fix a portability problem in Makefile.am. |
4847 |
Translations: Update Brazilian Portuguese translation. |
3310 |
|
4848 |
|
3311 |
POSIX supports $< only in inference rules (suffix rules). |
4849 |
One msgstr was changed. The diff is long due to changes |
3312 |
Using it elsewhere is a GNU make extension and doesn't |
4850 |
in the source code line numbers in the comments. |
3313 |
work e.g. with OpenBSD make. |
|
|
3314 |
|
4851 |
|
3315 |
Thanks to Christian Weisgerber for the patch. |
4852 |
Thanks to Rafael Fontenelle. |
3316 |
|
4853 |
|
3317 |
src/liblzma/Makefile.am | 2 +- |
4854 |
po/pt_BR.po | 186 ++++++++++++++++++++++++++++++------------------------------ |
3318 |
1 file changed, 1 insertion(+), 1 deletion(-) |
4855 |
1 file changed, 92 insertions(+), 94 deletions(-) |
3319 |
|
4856 |
|
3320 |
commit c35de31d4283edad3e57d37ffe939406542cb7bb |
4857 |
commit 434e1ffd3e62719d509da10b646216f5ef53fe4d |
3321 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4858 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3322 |
Date: 2014-09-14 21:54:09 +0300 |
4859 |
Date: 2022-06-29 18:04:44 +0300 |
3323 |
|
4860 |
|
3324 |
Bump the version number to 5.1.4beta. |
4861 |
Translations: Add Croatian translation. |
|
|
4862 |
|
4863 |
Thanks to Božidar Putanec and Jia Tan. |
3325 |
|
4864 |
|
3326 |
src/liblzma/api/lzma/version.h | 4 ++-- |
4865 |
po/LINGUAS | 1 + |
3327 |
src/liblzma/liblzma.map | 2 +- |
4866 |
po/hr.po | 987 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3328 |
2 files changed, 3 insertions(+), 3 deletions(-) |
4867 |
2 files changed, 988 insertions(+) |
3329 |
|
4868 |
|
3330 |
commit e9e097e22cacdaa23e5414fea7913535449cb340 |
4869 |
commit 0732d0f7065c9bd48bfe4f5983144ae970c4a499 |
3331 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4870 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3332 |
Date: 2014-09-14 21:50:13 +0300 |
4871 |
Date: 2022-06-29 17:58:48 +0300 |
3333 |
|
4872 |
|
3334 |
Update NEWS for 5.0.6 and 5.1.4beta. |
4873 |
Translations: Add Spanish translation. |
|
|
4874 |
|
4875 |
Thanks to Cristian Othón Martínez Vera and Jia Tan. |
3335 |
|
4876 |
|
3336 |
NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ |
4877 |
po/LINGUAS | 1 + |
3337 |
1 file changed, 50 insertions(+) |
4878 |
po/es.po | 984 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4879 |
2 files changed, 985 insertions(+) |
3338 |
|
4880 |
|
3339 |
commit 642f856bb8562ab66704b1e01ac7bc08b6d0a663 |
4881 |
commit 9899b0f82bc130998d1f1f618a6ab805b73f2696 |
3340 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4882 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3341 |
Date: 2014-09-14 21:02:41 +0300 |
4883 |
Date: 2022-06-29 17:49:43 +0300 |
3342 |
|
4884 |
|
3343 |
Update TODO. |
4885 |
Translations: Add Korean translation. |
|
|
4886 |
|
4887 |
Thanks to Seong-ho Cho and Jia Tan. |
3344 |
|
4888 |
|
3345 |
TODO | 38 ++++++++++++++++++++++++++++++++++---- |
4889 |
po/LINGUAS | 1 + |
3346 |
1 file changed, 34 insertions(+), 4 deletions(-) |
4890 |
po/ko.po | 972 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
4891 |
2 files changed, 973 insertions(+) |
3347 |
|
4892 |
|
3348 |
commit 6b5e3b9eff5b8cedb2aac5f524d4d60fc8a48124 |
4893 |
commit 65217eaf6bd195f3ef027d4ac55d57b7d133d69f |
3349 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4894 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3350 |
Date: 2014-08-05 22:32:36 +0300 |
4895 |
Date: 2020-03-16 21:57:21 +0200 |
3351 |
|
4896 |
|
3352 |
xz: Add --ignore-check. |
4897 |
Translations: Rebuild cs.po to avoid incorrect fuzzy strings. |
|
|
4898 |
|
4899 |
"make dist" updates the .po files and the fuzzy strings would |
4900 |
result in multiple very wrong translations. |
3353 |
|
4901 |
|
3354 |
src/xz/args.c | 7 +++++++ |
4902 |
po/cs.po | 592 ++++++++++++++++++++++++++++++++++----------------------------- |
3355 |
src/xz/args.h | 1 + |
4903 |
1 file changed, 322 insertions(+), 270 deletions(-) |
3356 |
src/xz/coder.c | 10 +++++++++- |
|
|
3357 |
src/xz/message.c | 2 ++ |
3358 |
src/xz/xz.1 | 19 +++++++++++++++++++ |
3359 |
5 files changed, 38 insertions(+), 1 deletion(-) |
3360 |
|
4904 |
|
3361 |
commit 9adbc2ff373f979c917cdfd3679ce0ebd59f1040 |
4905 |
commit e56ff423ee7af9e648e16b132f0d835d2cb4db26 |
3362 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4906 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3363 |
Date: 2014-08-05 22:15:07 +0300 |
4907 |
Date: 2020-03-16 17:30:39 +0200 |
3364 |
|
4908 |
|
3365 |
liblzma: Add support for LZMA_IGNORE_CHECK. |
4909 |
Translations: Add partial Danish translation. |
|
|
4910 |
|
4911 |
I made a few minor white space changes without getting them |
4912 |
approved by the Danish translation team. |
3366 |
|
4913 |
|
3367 |
src/liblzma/api/lzma/container.h | 24 ++++++++++++++++++++++++ |
4914 |
po/LINGUAS | 1 + |
3368 |
src/liblzma/common/common.h | 1 + |
4915 |
po/da.po | 896 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3369 |
src/liblzma/common/stream_decoder.c | 14 ++++++++++++-- |
4916 |
2 files changed, 897 insertions(+) |
3370 |
3 files changed, 37 insertions(+), 2 deletions(-) |
|
|
3371 |
|
4917 |
|
3372 |
commit 0e0f34b8e4f1c60ecaec15c2105982381cc9c3e6 |
4918 |
commit 43e09c62e77cb8807d932c81de4decbdb956e184 |
3373 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4919 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3374 |
Date: 2014-08-05 22:03:30 +0300 |
4920 |
Date: 2020-03-11 22:37:54 +0200 |
3375 |
|
4921 |
|
3376 |
liblzma: Add support for lzma_block.ignore_check. |
4922 |
Translations: Add hu, zh_CN, and zh_TW. |
3377 |
|
4923 |
|
3378 |
Note that this slightly changes how lzma_block_header_decode() |
4924 |
I made a few white space changes to these without getting them |
3379 |
has been documented. Earlier it said that the .version is set |
4925 |
approved by the translation teams. (I tried to contact the hu and |
3380 |
to the lowest required value, but now it says that the .version |
4926 |
zh_TW teams but didn't succeed. I didn't contact the zh_CN team.) |
3381 |
field is kept unchanged if possible. In practice this doesn't |
|
|
3382 |
affect any old code, because before this commit the only |
3383 |
possible .version was 0. |
3384 |
|
4927 |
|
3385 |
src/liblzma/api/lzma/block.h | 50 ++++++++++++++++++++++++------- |
4928 |
po/LINGUAS | 3 + |
3386 |
src/liblzma/common/block_buffer_encoder.c | 2 +- |
4929 |
po/hu.po | 985 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3387 |
src/liblzma/common/block_decoder.c | 18 ++++++++--- |
4930 |
po/zh_CN.po | 963 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3388 |
src/liblzma/common/block_encoder.c | 2 +- |
4931 |
po/zh_TW.po | 956 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3389 |
src/liblzma/common/block_header_decoder.c | 12 ++++++-- |
4932 |
4 files changed, 2907 insertions(+) |
3390 |
src/liblzma/common/block_header_encoder.c | 2 +- |
|
|
3391 |
src/liblzma/common/block_util.c | 2 +- |
3392 |
7 files changed, 68 insertions(+), 20 deletions(-) |
3393 |
|
4933 |
|
3394 |
commit 71e1437ab585b46f7a25f5a131557d3d1c0cbaa2 |
4934 |
commit 982b6b198ae1ffe6093236dd8a3d03d1415b912b |
3395 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4935 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3396 |
Date: 2014-08-04 19:25:58 +0300 |
4936 |
Date: 2020-03-11 14:33:30 +0200 |
3397 |
|
4937 |
|
3398 |
liblzma: Use lzma_memcmplen() in the BT3 match finder. |
4938 |
Translations: Update vi.po to match the file from the TP. |
3399 |
|
4939 |
|
3400 |
I had missed this when writing the commit |
4940 |
The translated strings haven't been updated but word wrapping |
3401 |
5db75054e900fa06ef5ade5f2c21dffdd5d16141. |
4941 |
is different. |
|
|
4942 |
|
4943 |
po/vi.po | 407 ++++++++++++++++++++++++++++----------------------------------- |
4944 |
1 file changed, 179 insertions(+), 228 deletions(-) |
4945 |
|
4946 |
commit 801f39691fc4abc6dd33d7653d498781b593f3eb |
4947 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4948 |
Date: 2020-03-11 14:18:03 +0200 |
4949 |
|
4950 |
Translations: Add fi and pt_BR, and update de, fr, it, and pl. |
3402 |
|
4951 |
|
3403 |
Thanks to Jun I Jin. |
4952 |
The German translation isn't identical to the file in |
|
|
4953 |
the Translation Project but the changes (white space changes |
4954 |
only) were approved by the translator Mario Blättermann. |
3404 |
|
4955 |
|
3405 |
src/liblzma/lz/lz_encoder_mf.c | 5 ++--- |
4956 |
po/LINGUAS | 2 + |
3406 |
1 file changed, 2 insertions(+), 3 deletions(-) |
4957 |
po/de.po | 476 ++++++++++++++-------------- |
|
|
4958 |
po/fi.po | 974 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4959 |
po/fr.po | 272 ++++++++-------- |
4960 |
po/it.po | 479 ++++++++++++---------------- |
4961 |
po/pl.po | 239 +++++++------- |
4962 |
po/pt_BR.po | 1001 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4963 |
7 files changed, 2697 insertions(+), 746 deletions(-) |
3407 |
|
4964 |
|
3408 |
commit 41dc9ea06e1414ebe8ef52afc8fc15b6e3282b04 |
4965 |
commit 311e4f85ede5d2f0bb71f3ad70b5b7db1b5adf33 |
3409 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4966 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3410 |
Date: 2014-08-04 00:25:44 +0300 |
4967 |
Date: 2022-08-22 17:27:19 +0300 |
3411 |
|
4968 |
|
3412 |
Update THANKS. |
4969 |
xz: Try to clarify --memlimit-mt-decompress vs. --memlimit-compress. |
3413 |
|
4970 |
|
3414 |
THANKS | 1 + |
4971 |
src/xz/xz.1 | 31 +++++++++++++++++++------------ |
3415 |
1 file changed, 1 insertion(+) |
4972 |
1 file changed, 19 insertions(+), 12 deletions(-) |
3416 |
|
4973 |
|
3417 |
commit 5dcffdbcc23a68abc3ac3539b30be71bc9b5af84 |
4974 |
commit df23c31000283c00e5ef1ca32a0bc3bb757bd707 |
3418 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4975 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3419 |
Date: 2014-08-03 21:32:25 +0300 |
4976 |
Date: 2022-08-22 16:46:18 +0300 |
3420 |
|
4977 |
|
3421 |
liblzma: SHA-256: Optimize the Maj macro slightly. |
4978 |
CMake: Add liblzma tests. |
3422 |
|
4979 |
|
3423 |
The Maj macro is used where multiple things are added |
4980 |
Thanks to Jia Tan for the patch. |
3424 |
together, so making Maj a sum of two expressions allows |
|
|
3425 |
some extra freedom for the compiler to schedule the |
3426 |
instructions. |
3427 |
|
3428 |
I learned this trick from |
3429 |
<http://www.hackersdelight.org/corres.txt>. |
3430 |
|
4981 |
|
3431 |
src/liblzma/check/sha256.c | 2 +- |
4982 |
CMakeLists.txt | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- |
3432 |
1 file changed, 1 insertion(+), 1 deletion(-) |
4983 |
1 file changed, 52 insertions(+), 1 deletion(-) |
3433 |
|
4984 |
|
3434 |
commit a9477d1e0c6fd0e47e637d051e7b9e2a5d9af517 |
4985 |
commit 02a777f9c422d3b5ec895078530bb1a2b6f7bdf5 |
3435 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4986 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3436 |
Date: 2014-08-03 21:08:12 +0300 |
4987 |
Date: 2022-08-19 23:32:22 +0300 |
3437 |
|
4988 |
|
3438 |
liblzma: SHA-256: Optimize the way rotations are done. |
4989 |
xz: Revise --info-memory output. |
3439 |
|
4990 |
|
3440 |
This looks weird because the rotations become sequential, |
4991 |
The strings could be more descriptive but it's good |
3441 |
but it helps quite a bit on both 32-bit and 64-bit x86: |
4992 |
to have some version of this committed now. |
3442 |
|
4993 |
|
3443 |
- It requires fewer instructions on two-operand |
4994 |
--robot mode wasn't changed yet. |
3444 |
instruction sets like x86. |
|
|
3445 |
|
3446 |
- It requires one register less which matters especially |
3447 |
on 32-bit x86. |
3448 |
|
3449 |
I hope this doesn't hurt other archs. |
3450 |
|
3451 |
I didn't invent this idea myself, but I don't remember where |
3452 |
I saw it first. |
3453 |
|
4995 |
|
3454 |
src/liblzma/check/sha256.c | 17 +++++++++++------ |
4996 |
src/xz/hardware.c | 32 ++++++++++++++++++++++++++------ |
3455 |
1 file changed, 11 insertions(+), 6 deletions(-) |
4997 |
src/xz/xz.1 | 1 + |
|
|
4998 |
2 files changed, 27 insertions(+), 6 deletions(-) |
3456 |
|
4999 |
|
3457 |
commit 5a76c7c8ee9a0afbeedb1c211db9224260404347 |
5000 |
commit f864f6d42eab57ea8ed82cc2dd19a03b51377442 |
3458 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5001 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3459 |
Date: 2014-08-03 20:38:13 +0300 |
5002 |
Date: 2022-08-19 23:12:02 +0300 |
3460 |
|
5003 |
|
3461 |
liblzma: SHA-256: Remove the GCC #pragma that became unneeded. |
5004 |
xz: Update the man page for threaded decompression and memlimits. |
3462 |
|
5005 |
|
3463 |
The unrolling in the previous commit should avoid the |
5006 |
This documents the changes made in commits |
3464 |
situation where a compiler may think that an uninitialized |
5007 |
6c6da57ae2aa962aabde6892442227063d87e88c, |
3465 |
variable might be accessed. |
5008 |
cad299008cf73ec566f0662a9cf2b94f86a99659, and |
|
|
5009 |
898faa97287a756231c663a3ed5165672b417207. |
5010 |
|
5011 |
The --info-memory bit hasn't been finished yet |
5012 |
even though it's already mentioned in this commit |
5013 |
under --memlimit-mt-decompress and --threads. |
3466 |
|
5014 |
|
3467 |
src/liblzma/check/sha256.c | 5 ----- |
5015 |
src/xz/xz.1 | 148 +++++++++++++++++++++++++++++++++++++++++++++++++----------- |
3468 |
1 file changed, 5 deletions(-) |
5016 |
1 file changed, 121 insertions(+), 27 deletions(-) |
3469 |
|
5017 |
|
3470 |
commit 9a096f8e57509775c331950b8351bbca77bdcfa8 |
5018 |
commit d13bfcc0056617dd648f655a01653932fad7067f |
3471 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5019 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3472 |
Date: 2014-08-03 20:33:38 +0300 |
5020 |
Date: 2022-08-18 17:49:16 +0300 |
3473 |
|
5021 |
|
3474 |
liblzma: SHA-256: Unroll a little more. |
5022 |
Build: Include the CMake files in the distribution. |
3475 |
|
5023 |
|
3476 |
This way a branch isn't needed for each operation |
5024 |
This was supposed to be done in 2020 with 5.2.5 release |
3477 |
to choose between blk0 and blk2, and still the code |
5025 |
already but it was noticed only today. 5.2.5 and 5.2.6 |
3478 |
doesn't grow as much as it would with full unrolling. |
5026 |
even mention experiemental CMake support in the NEWS entries. |
|
|
5027 |
|
5028 |
Thanks to Olivier B. for reporting the problem. |
3479 |
|
5029 |
|
3480 |
src/liblzma/check/sha256.c | 25 ++++++++++++++++--------- |
5030 |
Makefile.am | 2 ++ |
3481 |
1 file changed, 16 insertions(+), 9 deletions(-) |
5031 |
1 file changed, 2 insertions(+) |
3482 |
|
5032 |
|
3483 |
commit bc7650d87bf27f85f1a2a806dc2db1780e09e6a5 |
5033 |
commit e66787bcfefdb93f19c974f895f65969a77937b0 |
3484 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5034 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3485 |
Date: 2014-08-03 19:56:43 +0300 |
5035 |
Date: 2022-08-18 17:38:05 +0300 |
3486 |
|
5036 |
|
3487 |
liblzma: SHA-256: Do the byteswapping without a temporary buffer. |
5037 |
Windows: Fix broken liblzma.dll build with Visual Studio project files. |
|
|
5038 |
|
5039 |
The bug was introduced in 352ba2d69af2136bc814aa1df1a132559d445616 |
5040 |
"Windows: Fix building of resource files when config.h isn't used." |
5041 |
|
5042 |
That commit fixed liblzma.dll build with CMake while keeping it |
5043 |
working with Autotools on Windows but the VS project files were |
5044 |
forgotten. |
5045 |
|
5046 |
I haven't tested these changes. |
5047 |
|
5048 |
Thanks to Olivier B. for reporting the bug and for the initial patch. |
3488 |
|
5049 |
|
3489 |
src/liblzma/check/sha256.c | 13 +------------ |
5050 |
windows/vs2013/liblzma_dll.vcxproj | 6 ++++++ |
3490 |
1 file changed, 1 insertion(+), 12 deletions(-) |
5051 |
windows/vs2017/liblzma_dll.vcxproj | 6 ++++++ |
|
|
5052 |
windows/vs2019/liblzma_dll.vcxproj | 6 ++++++ |
5053 |
3 files changed, 18 insertions(+) |
3491 |
|
5054 |
|
3492 |
commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 |
5055 |
commit c4e8e5fb311225b8b48d34157891a640b2535e0c |
3493 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5056 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3494 |
Date: 2014-07-25 22:38:28 +0300 |
5057 |
Date: 2022-08-18 17:16:49 +0300 |
3495 |
|
5058 |
|
3496 |
liblzma: Use lzma_memcmplen() in normal mode of LZMA. |
5059 |
liblzma: Threaded decoder: Improve LZMA_FAIL_FAST when LZMA_FINISH is used. |
3497 |
|
5060 |
|
3498 |
Two locations were not changed yet because the simplest change |
5061 |
It will now return LZMA_DATA_ERROR (not LZMA_OK or LZMA_BUF_ERROR) |
3499 |
assumes that the initial "len" may be greater than "limit". |
5062 |
if LZMA_FINISH is used and there isn't enough input to finish |
|
|
5063 |
decoding the Block Header or the Block. The use of LZMA_DATA_ERROR |
5064 |
is simpler and the less risky than LZMA_BUF_ERROR but this might |
5065 |
be changed before 5.4.0. |
3500 |
|
5066 |
|
3501 |
src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +++++--------------- |
5067 |
src/liblzma/api/lzma/container.h | 6 +++++ |
3502 |
1 file changed, 5 insertions(+), 15 deletions(-) |
5068 |
src/liblzma/common/stream_decoder_mt.c | 42 ++++++++++++++++++++++++++++++++++ |
|
|
5069 |
2 files changed, 48 insertions(+) |
3503 |
|
5070 |
|
3504 |
commit f48fce093b07aeda95c18850f5e086d9f2383380 |
5071 |
commit 6dcf606e7efa2b259f0262f9e2f61e00116842d3 |
3505 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5072 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3506 |
Date: 2014-07-25 22:30:38 +0300 |
5073 |
Date: 2022-08-12 18:31:47 +0300 |
3507 |
|
5074 |
|
3508 |
liblzma: Simplify LZMA fast mode code by using memcmp(). |
5075 |
Add NEWS for 5.2.6. |
3509 |
|
5076 |
|
3510 |
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 11 +---------- |
5077 |
NEWS | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3511 |
1 file changed, 1 insertion(+), 10 deletions(-) |
5078 |
1 file changed, 121 insertions(+) |
3512 |
|
5079 |
|
3513 |
commit 6bf5308e34e23dede5b301b1b9b4f131dacd9218 |
5080 |
commit 413b86fcf8934fae5a004f378a9483d37d8fcaab |
3514 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5081 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3515 |
Date: 2014-07-25 22:29:49 +0300 |
5082 |
Date: 2022-08-12 14:28:41 +0300 |
3516 |
|
5083 |
|
3517 |
liblzma: Use lzma_memcmplen() in fast mode of LZMA. |
5084 |
Add Jia Tan to AUTHORS. |
3518 |
|
5085 |
|
3519 |
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 6 +++--- |
5086 |
AUTHORS | 2 +- |
3520 |
1 file changed, 3 insertions(+), 3 deletions(-) |
5087 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3521 |
|
5088 |
|
3522 |
commit 353212137e51e45b105a3a3fc2e6879f1cf0d492 |
5089 |
commit 352672732c346c546ff3c26d0605bc0ed1c8b7c7 |
3523 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5090 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3524 |
Date: 2014-07-25 21:16:23 +0300 |
5091 |
Date: 2022-07-25 19:28:26 +0300 |
3525 |
|
5092 |
|
3526 |
Update THANKS. |
5093 |
Build: Start the generated ChangeLog from around 5.2.0 instead of 5.0.0. |
|
|
5094 |
|
5095 |
This makes ChangeLog smaller. |
3527 |
|
5096 |
|
3528 |
THANKS | 1 + |
5097 |
Makefile.am | 2 +- |
3529 |
1 file changed, 1 insertion(+) |
5098 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3530 |
|
5099 |
|
3531 |
commit 5db75054e900fa06ef5ade5f2c21dffdd5d16141 |
5100 |
commit 6f6d11225d6016be2bbb55d845b66f6b04d048df |
3532 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5101 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3533 |
Date: 2014-07-25 21:15:07 +0300 |
5102 |
Date: 2022-07-25 19:11:05 +0300 |
3534 |
|
5103 |
|
3535 |
liblzma: Use lzma_memcmplen() in the match finders. |
5104 |
Translations: Change the copyright comment string to use with po4a. |
3536 |
|
5105 |
|
3537 |
This doesn't change the match finder output. |
5106 |
This affects the second line in po4a/xz-man.pot. The man pages of |
|
|
5107 |
xzdiff, xzgrep, and xzmore are from GNU gzip and under GNU GPLv2+ |
5108 |
while the rest of the man pages are in the public domain. |
3538 |
|
5109 |
|
3539 |
src/liblzma/lz/lz_encoder.c | 13 ++++++++++++- |
5110 |
po4a/update-po | 2 +- |
3540 |
src/liblzma/lz/lz_encoder_mf.c | 33 +++++++++++---------------------- |
5111 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3541 |
2 files changed, 23 insertions(+), 23 deletions(-) |
|
|
3542 |
|
5112 |
|
3543 |
commit e1c8f1d01f4a4e2136173edab2dc63c71ef038f4 |
5113 |
commit 61f8ec804abdb4c5dac01e8ae9b90c7be58a5c24 |
3544 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5114 |
Author: Jia Tan <jiat0218@gmail.com> |
3545 |
Date: 2014-07-25 20:57:20 +0300 |
5115 |
Date: 2022-07-25 18:30:05 +0300 |
3546 |
|
5116 |
|
3547 |
liblzma: Add lzma_memcmplen() for fast memory comparison. |
5117 |
liblzma: Refactor lzma_mf_is_supported() to use a switch-statement. |
|
|
5118 |
|
5119 |
src/liblzma/lz/lz_encoder.c | 32 ++++++++++++++------------------ |
5120 |
1 file changed, 14 insertions(+), 18 deletions(-) |
5121 |
|
5122 |
commit 4d80b463a1251aa22eabc87d2732fec13b1adda6 |
5123 |
Author: Jia Tan <jiat0218@gmail.com> |
5124 |
Date: 2022-07-25 18:20:01 +0300 |
5125 |
|
5126 |
Build: Don't allow empty LIST in --enable-match-finders=LIST. |
3548 |
|
5127 |
|
3549 |
This commit just adds the function. Its uses will be in |
5128 |
It's enforced only when a match finder is needed, that is, |
3550 |
separate commits. |
5129 |
when LZMA1 or LZMA2 encoder is enabled. |
3551 |
|
|
|
3552 |
This hasn't been tested much yet and it's perhaps a bit early |
3553 |
to commit it but if there are bugs they should get found quite |
3554 |
quickly. |
3555 |
|
3556 |
Thanks to Jun I Jin from Intel for help and for pointing out |
3557 |
that string comparison needs to be optimized in liblzma. |
3558 |
|
5130 |
|
3559 |
configure.ac | 13 +++ |
5131 |
configure.ac | 4 ++++ |
3560 |
src/liblzma/common/Makefile.inc | 1 + |
5132 |
1 file changed, 4 insertions(+) |
3561 |
src/liblzma/common/memcmplen.h | 170 ++++++++++++++++++++++++++++++++++++++++ |
|
|
3562 |
3 files changed, 184 insertions(+) |
3563 |
|
5133 |
|
3564 |
commit 765735cf52e5123586e74a51b9c073b5257f631f |
5134 |
commit 9cc721af5436908f2d5a828aebbc4050a32a3487 |
3565 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5135 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3566 |
Date: 2014-07-12 21:10:09 +0300 |
5136 |
Date: 2022-07-24 13:27:48 +0300 |
3567 |
|
5137 |
|
|
|
5138 |
xz: Update the man page that change to --keep will be in 5.2.6. |
5139 |
|
5140 |
src/xz/xz.1 | 4 ++-- |
5141 |
1 file changed, 2 insertions(+), 2 deletions(-) |
5142 |
|
5143 |
commit b81bf0c7d1873e52a4086a9abb494471d652cb55 |
5144 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5145 |
Date: 2022-07-19 23:23:54 +0300 |
5146 |
|
3568 |
Update THANKS. |
5147 |
Update THANKS. |
3569 |
|
5148 |
|
3570 |
THANKS | 1 + |
5149 |
THANKS | 1 + |
3571 |
1 file changed, 1 insertion(+) |
5150 |
1 file changed, 1 insertion(+) |
3572 |
|
5151 |
|
3573 |
commit 59da01785ef66c7e62f36e70ca808fd2824bb995 |
5152 |
commit 340cf1ec3927767046b8293a49da3db4e393f426 |
3574 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5153 |
Author: Nicholas Jackson <nickajacks1@gmail.com> |
3575 |
Date: 2014-07-12 20:06:08 +0300 |
5154 |
Date: 2022-07-17 17:39:23 -0700 |
3576 |
|
5155 |
|
3577 |
Translations: Add Vietnamese translation. |
5156 |
CMake: Add missing source file to liblzma build |
3578 |
|
|
|
3579 |
Thanks to Trần Ngọc Quân. |
3580 |
|
5157 |
|
3581 |
po/LINGUAS | 1 + |
5158 |
CMakeLists.txt | 1 + |
3582 |
po/vi.po | 1007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
5159 |
1 file changed, 1 insertion(+) |
3583 |
2 files changed, 1008 insertions(+) |
|
|
3584 |
|
5160 |
|
3585 |
commit 17215f751c354852700e7f8592ccf319570a0721 |
5161 |
commit d796b6d7fdb8b7238b277056cf9146cce25db604 |
3586 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5162 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3587 |
Date: 2014-06-29 20:54:14 +0300 |
5163 |
Date: 2022-07-19 23:19:49 +0300 |
3588 |
|
5164 |
|
3589 |
xz: Update the help message of a few options. |
5165 |
xzgrep man page: Document exit statuses. |
3590 |
|
|
|
3591 |
Updated: --threads, --block-size, and --block-list |
3592 |
Added: --flush-timeout |
3593 |
|
5166 |
|
3594 |
src/xz/message.c | 18 +++++++++++------- |
5167 |
src/scripts/xzgrep.1 | 15 ++++++++++++++- |
3595 |
1 file changed, 11 insertions(+), 7 deletions(-) |
5168 |
1 file changed, 14 insertions(+), 1 deletion(-) |
3596 |
|
5169 |
|
3597 |
commit 96864a6ddf91ad693d102ea165f3d7918744d582 |
5170 |
commit 923bf96b55e5216a6c8df9d8331934f54784390e |
3598 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5171 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3599 |
Date: 2014-06-18 22:07:06 +0300 |
5172 |
Date: 2022-07-19 23:13:24 +0300 |
3600 |
|
5173 |
|
3601 |
xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores(). |
5174 |
xzgrep: Improve error handling, especially signals. |
|
|
5175 |
|
5176 |
xzgrep wouldn't exit on SIGPIPE or SIGQUIT when it clearly |
5177 |
should have. It's quite possible that it's not perfect still |
5178 |
but at least it's much better. |
5179 |
|
5180 |
If multiple exit statuses compete, now it tries to pick |
5181 |
the largest of value. |
5182 |
|
5183 |
Some comments were added. |
5184 |
|
5185 |
The exit status handling of signals is still broken if the shell |
5186 |
uses values larger than 255 in $? to indicate that a process |
5187 |
died due to a signal ***and*** their "exit" command doesn't take |
5188 |
this into account. This seems to work well with the ksh and yash |
5189 |
versions I tried. However, there is a report in gzip/zgrep that |
5190 |
OpenSolaris 5.11 (not 5.10) has a problem with "exit" truncating |
5191 |
the argument to 8 bits: |
5192 |
|
5193 |
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22900#25 |
5194 |
|
5195 |
Such a bug would break xzgrep but I didn't add a workaround |
5196 |
at least for now. 5.11 is old and I don't know if the problem |
5197 |
exists in modern descendants, or if the problem exists in other |
5198 |
ksh implementations in use. |
3602 |
|
5199 |
|
3603 |
src/xz/Makefile.am | 1 - |
5200 |
src/scripts/xzgrep.in | 72 +++++++++++++++++++++++++++++++++++++-------------- |
3604 |
src/xz/hardware.c | 12 +++++++++--- |
5201 |
1 file changed, 53 insertions(+), 19 deletions(-) |
3605 |
2 files changed, 9 insertions(+), 4 deletions(-) |
|
|
3606 |
|
5202 |
|
3607 |
commit a115cc3748482e277f42a968baa3cd266f031dba |
5203 |
commit a648978b20495b7aa4a8b029c5a810b5ad9d08ff |
3608 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5204 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3609 |
Date: 2014-06-18 22:04:24 +0300 |
5205 |
Date: 2022-07-19 00:10:55 +0300 |
3610 |
|
5206 |
|
3611 |
liblzma: Add lzma_cputhreads(). |
5207 |
xzgrep: Make the fix for ZDI-CAN-16587 more robust. |
|
|
5208 |
|
5209 |
I don't know if this can make a difference in the real world |
5210 |
but it looked kind of suspicious (what happens with sed |
5211 |
implementations that cannot process very long lines?). |
5212 |
At least this commit shouldn't make it worse. |
3612 |
|
5213 |
|
3613 |
src/liblzma/Makefile.am | 8 +++++++- |
5214 |
src/scripts/xzgrep.in | 5 ++++- |
3614 |
src/liblzma/api/lzma/hardware.h | 14 ++++++++++++++ |
5215 |
1 file changed, 4 insertions(+), 1 deletion(-) |
3615 |
src/liblzma/common/Makefile.inc | 1 + |
|
|
3616 |
src/liblzma/common/hardware_cputhreads.c | 22 ++++++++++++++++++++++ |
3617 |
src/liblzma/liblzma.map | 1 + |
3618 |
5 files changed, 45 insertions(+), 1 deletion(-) |
3619 |
|
5216 |
|
3620 |
commit 3ce3e7976904fbab4e6482bafa442856f77a51fa |
5217 |
commit bd7b290f3fe4faeceb7d3497ed9bf2e6ed5e7dc5 |
3621 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5218 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3622 |
Date: 2014-06-18 19:11:52 +0300 |
5219 |
Date: 2022-07-18 21:52:31 +0300 |
3623 |
|
5220 |
|
3624 |
xz: Check for filter chain compatibility for --flush-timeout. |
5221 |
xzgrep: Use grep -H --label when available (GNU, *BSDs). |
3625 |
|
5222 |
|
3626 |
This avoids LZMA_PROG_ERROR from lzma_code() with filter chains |
5223 |
It avoids the use of sed for prefixing filenames to output lines. |
3627 |
that don't support LZMA_SYNC_FLUSH. |
5224 |
Using sed for that is slower and prone to security bugs so now |
|
|
5225 |
the sed method is only used as a fallback. |
5226 |
|
5227 |
This also fixes an actual bug: When grepping a binary file, |
5228 |
GNU grep nowadays prints its diagnostics to stderr instead of |
5229 |
stdout and thus the sed-method for prefixing the filename doesn't |
5230 |
work. So with this commit grepping binary files gives reasonable |
5231 |
output with GNU grep now. |
5232 |
|
5233 |
This was inspired by zgrep but the implementation is different. |
3628 |
|
5234 |
|
3629 |
src/xz/coder.c | 30 +++++++++++++++++++++--------- |
5235 |
src/scripts/xzgrep.in | 21 +++++++++++++++++++++ |
3630 |
1 file changed, 21 insertions(+), 9 deletions(-) |
5236 |
1 file changed, 21 insertions(+) |
3631 |
|
5237 |
|
3632 |
commit 381ac14ed79e5d38809f251705be8b3193bba417 |
5238 |
commit b56729af9f1a596e57aeefd7570d8d7dce5c9f52 |
3633 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5239 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3634 |
Date: 2014-06-13 19:21:54 +0300 |
5240 |
Date: 2022-07-18 21:10:25 +0300 |
3635 |
|
5241 |
|
3636 |
xzgrep: List xzgrep_expected_output in tests/Makefile.am. |
5242 |
xzgrep: Use -e to specify the pattern to grep. |
|
|
5243 |
|
5244 |
Now we don't need the separate test for adding the -q option |
5245 |
as it can be added directly in the two places where it's needed. |
3637 |
|
5246 |
|
3638 |
tests/Makefile.am | 3 ++- |
5247 |
src/scripts/xzgrep.in | 12 ++++-------- |
3639 |
1 file changed, 2 insertions(+), 1 deletion(-) |
5248 |
1 file changed, 4 insertions(+), 8 deletions(-) |
3640 |
|
5249 |
|
3641 |
commit 4244b65b06d5ecaf6f9dd0387ac7e3166bd2364e |
5250 |
commit bad61b5997e6647911974022bfb72f3d4818a594 |
3642 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5251 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3643 |
Date: 2014-06-13 18:58:22 +0300 |
5252 |
Date: 2022-07-18 19:18:48 +0300 |
3644 |
|
5253 |
|
3645 |
xzgrep: Improve the test script. |
5254 |
Scripts: Use printf instead of echo in a few places. |
3646 |
|
5255 |
|
3647 |
Now it should be close to the functionality of the original |
5256 |
It's a good habbit as echo has some portability corner cases |
3648 |
version by Pavel Raiskup. |
5257 |
when the string contents can be anything. |
3649 |
|
5258 |
|
3650 |
tests/Makefile.am | 3 ++- |
5259 |
src/scripts/xzdiff.in | 6 +++--- |
3651 |
tests/test_scripts.sh | 24 ++++++++++++++---------- |
5260 |
src/scripts/xzgrep.in | 4 ++-- |
3652 |
tests/xzgrep_expected_output | 39 +++++++++++++++++++++++++++++++++++++++ |
5261 |
src/scripts/xzless.in | 4 ++-- |
3653 |
3 files changed, 55 insertions(+), 11 deletions(-) |
5262 |
src/scripts/xzmore.in | 8 ++++---- |
|
|
5263 |
4 files changed, 11 insertions(+), 11 deletions(-) |
3654 |
|
5264 |
|
3655 |
commit 1e60f2c0a0ee6c18b02943ce56214799a70aac26 |
5265 |
commit 6a4a4a7d2667837dc824c26fcb19ed6ca5aff645 |
3656 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5266 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3657 |
Date: 2014-06-11 21:03:25 +0300 |
5267 |
Date: 2022-07-17 21:36:25 +0300 |
3658 |
|
5268 |
|
3659 |
xzgrep: Add a test for the previous fix. |
5269 |
xzgrep: Add more LC_ALL=C to avoid bugs with multibyte characters. |
3660 |
|
5270 |
|
3661 |
This is a simplified version of Pavel Raiskup's |
5271 |
Also replace one use of expr with printf. |
3662 |
original patch. |
5272 |
|
|
|
5273 |
The rationale for LC_ALL=C was already mentioned in |
5274 |
69d1b3fc29677af8ade8dc15dba83f0589cb63d6 that fixed a security |
5275 |
issue. However, unrelated uses weren't changed in that commit yet. |
5276 |
|
5277 |
POSIX says that with sed and such tools one should use LC_ALL=C |
5278 |
to ensure predictable behavior when strings contain byte sequences |
5279 |
that aren't valid multibyte characters in the current locale. See |
5280 |
under "Application usage" in here: |
5281 |
|
5282 |
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html |
5283 |
|
5284 |
With GNU sed invalid multibyte strings would work without this; |
5285 |
it's documented in its Texinfo manual. Some other implementations |
5286 |
aren't so forgiving. |
3663 |
|
5287 |
|
3664 |
tests/test_scripts.sh | 26 ++++++++++++++++++++++---- |
5288 |
src/scripts/xzgrep.in | 14 ++++++++------ |
3665 |
1 file changed, 22 insertions(+), 4 deletions(-) |
5289 |
1 file changed, 8 insertions(+), 6 deletions(-) |
3666 |
|
5290 |
|
3667 |
commit ceca37901783988204caaf40dff4623d535cc789 |
5291 |
commit b48f9d615f2c2e8d2f6e253d0e48ee66d0652b68 |
3668 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5292 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3669 |
Date: 2014-06-11 20:43:28 +0300 |
5293 |
Date: 2022-07-17 20:55:16 +0300 |
3670 |
|
5294 |
|
3671 |
xzgrep: exit 0 when at least one file matches. |
5295 |
xzgrep: Fix parsing of certain options. |
3672 |
|
5296 |
|
3673 |
Mimic the original grep behavior and return exit_success when |
5297 |
Fix handling of "xzgrep -25 foo" (in GNU grep "grep -25 foo" is |
3674 |
at least one xz compressed file matches given pattern. |
5298 |
an alias for "grep -C25 foo"). xzgrep would treat "foo" as filename |
|
|
5299 |
instead of as a pattern. This bug was fixed in zgrep in gzip in 2012. |
3675 |
|
5300 |
|
3676 |
Original bugreport: |
5301 |
Add -E, -F, -G, and -P to the "no argument required" list. |
3677 |
https://bugzilla.redhat.com/show_bug.cgi?id=1108085 |
|
|
3678 |
|
5302 |
|
3679 |
Thanks to Pavel Raiskup for the patch. |
5303 |
Add -X to "argument required" list. It is an |
|
|
5304 |
intentionally-undocumented GNU grep option so this isn't |
5305 |
an important option for xzgrep but it seems that other grep |
5306 |
implementations (well, those that I checked) don't support -X |
5307 |
so I hope this change is an improvement still. |
5308 |
|
5309 |
grep -d (grep --directories=ACTION) requires an argument. In |
5310 |
contrast to zgrep, I kept -d in the "no argument required" list |
5311 |
because it's not supported in xzgrep (or zgrep). This way |
5312 |
"xzgrep -d" gives an error about option being unsupported instead |
5313 |
of telling that it requires an argument. Both zgrep and xzgrep |
5314 |
tell that it's unsupported if an argument is specified. |
5315 |
|
5316 |
Add comments. |
3680 |
|
5317 |
|
3681 |
src/scripts/xzgrep.in | 15 +++++++++++++-- |
5318 |
src/scripts/xzgrep.in | 19 +++++++++++++++++-- |
3682 |
1 file changed, 13 insertions(+), 2 deletions(-) |
5319 |
1 file changed, 17 insertions(+), 2 deletions(-) |
3683 |
|
5320 |
|
3684 |
commit 8c19216baccb92d011694590df8a1262da2e980c |
5321 |
commit 2d2201bc6315deda4d43625aa510972467bd51d4 |
3685 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5322 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3686 |
Date: 2014-06-09 21:21:24 +0300 |
5323 |
Date: 2022-07-14 20:33:05 +0300 |
3687 |
|
5324 |
|
3688 |
xz: Force single-threaded mode when --flush-timeout is used. |
5325 |
Tests: Add the .lzma files to test_files.sh. |
3689 |
|
5326 |
|
3690 |
src/xz/coder.c | 11 +++++++++++ |
5327 |
tests/test_files.sh | 20 ++++++++++++++++++++ |
3691 |
1 file changed, 11 insertions(+) |
5328 |
1 file changed, 20 insertions(+) |
3692 |
|
5329 |
|
3693 |
commit 87f1a24810805187d7bbc8ac5512e7eec307ddf5 |
5330 |
commit ce5549a591bf126300618879f5b24023351baff6 |
3694 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5331 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3695 |
Date: 2014-05-25 22:05:39 +0300 |
5332 |
Date: 2022-07-14 19:37:42 +0300 |
3696 |
|
5333 |
|
|
|
5334 |
Tests: Add .lzma test files. |
5335 |
|
5336 |
tests/files/README | 63 ++++++++++++++++----- |
5337 |
tests/files/bad-too_big_size-with_eopm.lzma | Bin 0 -> 37 bytes |
5338 |
tests/files/bad-too_small_size-without_eopm-1.lzma | Bin 0 -> 31 bytes |
5339 |
tests/files/bad-too_small_size-without_eopm-2.lzma | Bin 0 -> 31 bytes |
5340 |
tests/files/bad-too_small_size-without_eopm-3.lzma | Bin 0 -> 36 bytes |
5341 |
tests/files/bad-unknown_size-without_eopm.lzma | Bin 0 -> 31 bytes |
5342 |
tests/files/good-known_size-with_eopm.lzma | Bin 0 -> 37 bytes |
5343 |
tests/files/good-known_size-without_eopm.lzma | Bin 0 -> 31 bytes |
5344 |
tests/files/good-unknown_size-with_eopm.lzma | Bin 0 -> 37 bytes |
5345 |
9 files changed, 50 insertions(+), 13 deletions(-) |
5346 |
|
5347 |
commit 107c93ee5cad51a6ea0cee471209bfe8d76deaa3 |
5348 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5349 |
Date: 2022-07-14 18:12:38 +0300 |
5350 |
|
5351 |
liblzma: Rename a variable and improve a comment. |
5352 |
|
5353 |
src/liblzma/lzma/lzma_decoder.c | 13 +++++++++---- |
5354 |
1 file changed, 9 insertions(+), 4 deletions(-) |
5355 |
|
5356 |
commit 511feb5eadb988d641b025d597f4fac7502003b8 |
5357 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5358 |
Date: 2022-07-13 22:24:41 +0300 |
5359 |
|
3697 |
Update THANKS. |
5360 |
Update THANKS. |
3698 |
|
5361 |
|
3699 |
THANKS | 1 + |
5362 |
THANKS | 1 + |
3700 |
1 file changed, 1 insertion(+) |
5363 |
1 file changed, 1 insertion(+) |
3701 |
|
5364 |
|
3702 |
commit da1718f266fcfc091e7bf08aae1bc986d0e6cc6b |
5365 |
commit 9595a3119b9faf0ce01375329cad8bbf85c35ea2 |
3703 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5366 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3704 |
Date: 2014-05-25 21:45:56 +0300 |
5367 |
Date: 2022-07-13 22:24:07 +0300 |
3705 |
|
5368 |
|
3706 |
liblzma: Use lzma_alloc_zero() in LZ encoder initialization. |
5369 |
liblzma: Add optional autodetection of LZMA end marker. |
3707 |
|
5370 |
|
3708 |
This avoids a memzero() call for a newly-allocated memory, |
5371 |
Turns out that this is needed for .lzma files as the spec in |
3709 |
which can be expensive when encoding small streams with |
5372 |
LZMA SDK says that end marker may be present even if the size |
3710 |
an over-sized dictionary. |
5373 |
is stored in the header. Such files are rare but exist in the |
|
|
5374 |
real world. The code in liblzma is so old that the spec didn't |
5375 |
exist in LZMA SDK back then and I had understood that such |
5376 |
files weren't possible (the lzma tool in LZMA SDK didn't |
5377 |
create such files). |
3711 |
|
5378 |
|
3712 |
To avoid using lzma_alloc_zero() for memory that doesn't |
5379 |
This modifies the internal API so that LZMA decoder can be told |
3713 |
need to be zeroed, lzma_mf.son is now allocated separately, |
5380 |
if EOPM is allowed even when the uncompressed size is known. |
3714 |
which requires handling it separately in normalize() too. |
5381 |
It's allowed with .lzma and not with other uses. |
3715 |
|
5382 |
|
3716 |
Thanks to Vincenzo Innocente for reporting the problem. |
5383 |
Thanks to Karl Beldan for reporting the problem. |
3717 |
|
5384 |
|
3718 |
src/liblzma/lz/lz_encoder.c | 84 ++++++++++++++++++++++-------------------- |
5385 |
doc/lzma-file-format.txt | 11 +++- |
3719 |
src/liblzma/lz/lz_encoder.h | 2 +- |
5386 |
src/liblzma/common/alone_decoder.c | 2 +- |
3720 |
src/liblzma/lz/lz_encoder_mf.c | 31 +++++++++------- |
5387 |
src/liblzma/common/microlzma_decoder.c | 2 +- |
3721 |
3 files changed, 62 insertions(+), 55 deletions(-) |
5388 |
src/liblzma/lz/lz_decoder.c | 10 +++- |
|
|
5389 |
src/liblzma/lz/lz_decoder.h | 8 +-- |
5390 |
src/liblzma/lzma/lzma2_decoder.c | 2 +- |
5391 |
src/liblzma/lzma/lzma_decoder.c | 99 ++++++++++++++++++++++++---------- |
5392 |
7 files changed, 95 insertions(+), 39 deletions(-) |
3722 |
|
5393 |
|
3723 |
commit 28af24e9cf2eb259997c85dce13d4c97b3daa47a |
5394 |
commit 0c0f8e9761eb6eaf199082cf144db7ac5f9d8cb2 |
3724 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5395 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3725 |
Date: 2014-05-25 19:25:57 +0300 |
5396 |
Date: 2022-07-12 18:53:04 +0300 |
3726 |
|
5397 |
|
3727 |
liblzma: Add the internal function lzma_alloc_zero(). |
5398 |
xz: Document the special memlimit case of 2000 MiB on MIPS32. |
|
|
5399 |
|
5400 |
See commit fc3d3a7296ef58bb799a73943636b8bfd95339f7. |
3728 |
|
5401 |
|
3729 |
src/liblzma/common/common.c | 21 +++++++++++++++++++++ |
5402 |
src/xz/xz.1 | 8 ++++++-- |
3730 |
src/liblzma/common/common.h | 6 ++++++ |
5403 |
1 file changed, 6 insertions(+), 2 deletions(-) |
3731 |
2 files changed, 27 insertions(+) |
|
|
3732 |
|
5404 |
|
3733 |
commit ed9ac85822c490e34b68c259afa0b385d21d1c40 |
5405 |
commit d1bfa3dc703325ecd974167e864a8712fdfe936e |
3734 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5406 |
Author: Jia Tan <jiat0218@gmail.com> |
3735 |
Date: 2014-05-08 18:03:09 +0300 |
5407 |
Date: 2022-07-01 21:19:26 +0800 |
3736 |
|
5408 |
|
3737 |
xz: Fix uint64_t vs. size_t which broke 32-bit build. |
5409 |
Created script to generate code coverage reports. |
3738 |
|
5410 |
|
3739 |
Thanks to Christian Hesse. |
5411 |
The script uses lcov and genhtml after running the tests |
|
|
5412 |
to show the code coverage statistics. The script will create |
5413 |
a coverage directory where it is run. It can be run both in |
5414 |
and out of the source directory. |
3740 |
|
5415 |
|
3741 |
src/xz/coder.c | 2 +- |
5416 |
.gitignore | 4 +++ |
3742 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5417 |
tests/code_coverage.sh | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
5418 |
2 files changed, 83 insertions(+) |
3743 |
|
5419 |
|
3744 |
commit d716acdae3fa7996f9e68a7bac012e6d8d13dd02 |
5420 |
commit 86a30b0255d8064169fabfd213d907016d2f9f2a |
3745 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5421 |
Author: Jia Tan <jiat0218@gmail.com> |
3746 |
Date: 2014-05-04 11:09:11 +0300 |
5422 |
Date: 2022-06-16 17:32:19 +0300 |
3747 |
|
5423 |
|
3748 |
Docs: Update comments to refer to lzma/lzma12.h in example programs. |
5424 |
Tests: Add more tests into test_check. |
3749 |
|
5425 |
|
3750 |
doc/examples/03_compress_custom.c | 6 +++--- |
5426 |
tests/test_check.c | 279 +++++++++++++++++++++++++++++++++++++++++++++++++++-- |
3751 |
1 file changed, 3 insertions(+), 3 deletions(-) |
5427 |
tests/tests.h | 23 +++++ |
|
|
5428 |
2 files changed, 295 insertions(+), 7 deletions(-) |
3752 |
|
5429 |
|
3753 |
commit 4d5b7b3fda31241ca86ed35e08e73f776ee916e0 |
5430 |
commit 82e30fed66a89706388a8c15dc954d84e63f38fa |
3754 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5431 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3755 |
Date: 2014-05-04 11:07:17 +0300 |
5432 |
Date: 2022-06-16 15:02:57 +0300 |
3756 |
|
5433 |
|
3757 |
liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h. |
5434 |
Tests: Use char[][24] array for enum_strings_lzma_ret. |
3758 |
|
5435 |
|
3759 |
It can be confusing that two header files have the same name. |
5436 |
Array of pointers to short strings is a bit pointless here |
3760 |
The public API file is still lzma.h. |
5437 |
and now it's fully const. |
3761 |
|
5438 |
|
3762 |
src/liblzma/api/Makefile.am | 2 +- |
5439 |
tests/tests.h | 2 +- |
3763 |
src/liblzma/api/lzma.h | 2 +- |
5440 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3764 |
src/liblzma/api/lzma/{lzma.h => lzma12.h} | 2 +- |
|
|
3765 |
3 files changed, 3 insertions(+), 3 deletions(-) |
3766 |
|
5441 |
|
3767 |
commit 1555a9c5664afc7893a2b75e9970105437f01ef1 |
5442 |
commit 5ba9459e6c4a29f6870ca78ce8ac6e519d59c41e |
3768 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5443 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3769 |
Date: 2014-04-25 17:53:42 +0300 |
5444 |
Date: 2022-06-16 14:12:14 +0300 |
3770 |
|
5445 |
|
3771 |
Build: Fix the combination of --disable-xzdec --enable-lzmadec. |
5446 |
Tests: tuktest.h: Add tuktest_error_impl to help with error conditions. |
3772 |
|
|
|
3773 |
In this case "make install" could fail if the man page directory |
3774 |
didn't already exist at the destination. If it did exist, a |
3775 |
dangling symlink was created there. Now the link is omitted |
3776 |
instead. This isn't the best fix but it's better than the old |
3777 |
behavior. |
3778 |
|
5447 |
|
3779 |
src/xzdec/Makefile.am | 10 +++++++++- |
5448 |
tests/tuktest.h | 72 +++++++++++++++++++++++++-------------------------------- |
3780 |
1 file changed, 9 insertions(+), 1 deletion(-) |
5449 |
1 file changed, 32 insertions(+), 40 deletions(-) |
3781 |
|
5450 |
|
3782 |
commit 56056571df3377eaa6ae6233b3ccc5d72e81d43d |
5451 |
commit b339892668da20aea22a93668c82b87a38e4a97f |
3783 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5452 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3784 |
Date: 2014-04-25 17:44:26 +0300 |
5453 |
Date: 2022-06-16 13:29:59 +0300 |
3785 |
|
5454 |
|
3786 |
Build: Add --disable-doc to configure. |
5455 |
Tests: tuktest.h: Rename file_from_* and use tuktest_malloc there. |
3787 |
|
5456 |
|
3788 |
INSTALL | 6 ++++++ |
5457 |
tests/test_bcj_exact_size.c | 4 +--- |
3789 |
Makefile.am | 2 ++ |
5458 |
tests/tuktest.h | 52 +++++++++++++++++++++------------------------ |
3790 |
configure.ac | 6 ++++++ |
5459 |
2 files changed, 25 insertions(+), 31 deletions(-) |
3791 |
3 files changed, 14 insertions(+) |
|
|
3792 |
|
5460 |
|
3793 |
commit 6de61d8721097a6214810841aa85b08e303ac538 |
5461 |
commit d8b63a0ad68d1c461eb373466679ebc41fbc207d |
3794 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5462 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3795 |
Date: 2014-04-24 18:06:24 +0300 |
5463 |
Date: 2022-06-16 13:08:19 +0300 |
3796 |
|
5464 |
|
3797 |
Update INSTALL. |
5465 |
Tests: tuktest.h: Add malloc wrapper with automatic freeing. |
3798 |
|
|
|
3799 |
Add a note about failing "make check". The source of |
3800 |
the problem should be fixed in libtool (if it really is |
3801 |
a libtool bug and not mine) but I'm unable to spend time |
3802 |
on that for now. Thanks to Nelson H. F. Beebe for reporting |
3803 |
the issue. |
3804 |
|
3805 |
Add a note about a possible need to run "ldconfig" after |
3806 |
"make install". |
3807 |
|
5466 |
|
3808 |
INSTALL | 25 +++++++++++++++++++++++++ |
5467 |
tests/tuktest.h | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3809 |
1 file changed, 25 insertions(+) |
5468 |
1 file changed, 124 insertions(+) |
3810 |
|
5469 |
|
3811 |
commit 54df428799a8d853639b753d0e6784694d73eb3e |
5470 |
commit 1d51536a4b19a8fae768f8eb462fc2238cb36d53 |
3812 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5471 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3813 |
Date: 2014-04-09 17:26:10 +0300 |
5472 |
Date: 2022-06-16 11:47:37 +0300 |
3814 |
|
5473 |
|
3815 |
xz: Rename a variable to avoid a namespace collision on Solaris. |
5474 |
Tests: tuktest.h: Move a function. |
3816 |
|
|
|
3817 |
I don't know the details but I have an impression that there's |
3818 |
no problem in practice if using GCC since people have built xz |
3819 |
with GCC (without patching xz), but renaming the variable cannot |
3820 |
hurt either. |
3821 |
|
3822 |
Thanks to Mark Ashley. |
3823 |
|
5475 |
|
3824 |
src/xz/signals.c | 12 +++++++----- |
5476 |
tests/tuktest.h | 44 ++++++++++++++++++++++---------------------- |
3825 |
1 file changed, 7 insertions(+), 5 deletions(-) |
5477 |
1 file changed, 22 insertions(+), 22 deletions(-) |
3826 |
|
5478 |
|
3827 |
commit 5876ca27daa1429676b1160007d9688266907f00 |
5479 |
commit 70c7555f6403553ee35539e869de0025592d8564 |
3828 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5480 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3829 |
Date: 2014-01-29 20:19:41 +0200 |
5481 |
Date: 2022-06-14 22:21:15 +0300 |
3830 |
|
5482 |
|
3831 |
Docs: Add example program for threaded encoding. |
5483 |
Tests: test_vli: Remove an invalid test-assertion. |
3832 |
|
5484 |
|
3833 |
I didn't add -DLZMA_UNSTABLE to Makefile so one has to |
5485 |
lzma_vli is unsigned so trying a signed value results in |
3834 |
specify it manually as long as LZMA_UNSTABLE is needed. |
5486 |
a compiler warning from -Wsign-conversion. (lzma_vli)-1 |
|
|
5487 |
equals to LZMA_VLI_UNKNOWN anyway which is the next assertion. |
3835 |
|
5488 |
|
3836 |
doc/examples/04_compress_easy_mt.c | 184 +++++++++++++++++++++++++++++++++++++ |
5489 |
tests/test_vli.c | 2 -- |
3837 |
doc/examples/Makefile | 3 +- |
5490 |
1 file changed, 2 deletions(-) |
3838 |
2 files changed, 186 insertions(+), 1 deletion(-) |
|
|
3839 |
|
5491 |
|
3840 |
commit 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e |
5492 |
commit 154b73c5a1092c3f785e01666b564ad7ff1be555 |
3841 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5493 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3842 |
Date: 2014-01-29 20:13:51 +0200 |
5494 |
Date: 2022-06-14 22:10:10 +0300 |
3843 |
|
5495 |
|
3844 |
liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt(). |
5496 |
Tests: test_vli: Add const where appropriate. |
|
|
5497 |
|
5498 |
tests/test_vli.c | 53 ++++++++++++++++++++++++++++------------------------- |
5499 |
1 file changed, 28 insertions(+), 25 deletions(-) |
5500 |
|
5501 |
commit 0354d6cce3ff98ea6f927107baf216253f6ce2bb |
5502 |
Author: Jia Tan <jiat75@gmail.com> |
5503 |
Date: 2022-06-13 20:27:03 +0800 |
5504 |
|
5505 |
Added vli tests to .gitignore |
5506 |
|
5507 |
.gitignore | 1 + |
5508 |
1 file changed, 1 insertion(+) |
5509 |
|
5510 |
commit a08f5ccf6bdc20ef70e41f6f3321618ef146f96e |
5511 |
Author: Jia Tan <jiat0218@gmail.com> |
5512 |
Date: 2022-06-12 11:31:40 +0800 |
5513 |
|
5514 |
Created tests for all functions exported in vli.h |
3845 |
|
5515 |
|
3846 |
It read the filter chain from a wrong variable. |
5516 |
Achieved 100% code coverage vli_encoder.c, vli_decoder.c, and vli_size.c |
3847 |
|
5517 |
|
3848 |
src/liblzma/common/stream_encoder_mt.c | 4 ++-- |
5518 |
tests/Makefile.am | 4 +- |
3849 |
1 file changed, 2 insertions(+), 2 deletions(-) |
5519 |
tests/test_vli.c | 308 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
5520 |
2 files changed, 311 insertions(+), 1 deletion(-) |
3850 |
|
5521 |
|
3851 |
commit 673a4cb53de3a715685cb1b836da57a3c7dcd43c |
5522 |
commit 1e3eb61815a91c0a1bfbb802e2d95593f523491f |
3852 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5523 |
Author: jiat75 <jiat0218@gmail.com> |
3853 |
Date: 2014-01-20 11:20:40 +0200 |
5524 |
Date: 2022-06-03 21:24:54 +0800 |
3854 |
|
5525 |
|
3855 |
liblzma: Fix typo in a comment. |
5526 |
Added parallel test artifacts to .gitignore |
3856 |
|
5527 |
|
3857 |
src/liblzma/api/lzma/block.h | 2 +- |
5528 |
.gitignore | 2 ++ |
3858 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5529 |
1 file changed, 2 insertions(+) |
3859 |
|
5530 |
|
3860 |
commit ad96a871a1470eb76d6233d3890ce9338047b7a3 |
5531 |
commit 00e3613f1212eaa84e721585fdb4de6967cf2476 |
3861 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5532 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3862 |
Date: 2014-01-12 19:38:43 +0200 |
5533 |
Date: 2022-06-14 21:29:21 +0300 |
3863 |
|
5534 |
|
3864 |
Windows: Add config.h for building liblzma with MSVC 2013. |
5535 |
Tests: Use good-1-empty-bcj-lzma2.xz in test_bcj_exact_size. |
3865 |
|
5536 |
|
3866 |
This is for building liblzma. Building xz tool too requires |
5537 |
It's much nicer this way so that the test data isn't a hardcoded |
3867 |
a little more work. Maybe it will be supported, but for most |
5538 |
table inside the C file. |
3868 |
MSVC users it's enough to be able to build liblzma. |
|
|
3869 |
|
3870 |
C99 support in MSVC 2013 is almost usable which is a big |
3871 |
improvement over earlier versions. It's "almost" because |
3872 |
there's a dumb bug that breaks mixed declarations after |
3873 |
an "if" statements unless the "if" statement uses braces: |
3874 |
|
3875 |
https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug |
3876 |
https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs |
3877 |
|
3878 |
Hopefully it will get fixed. Then liblzma should be |
3879 |
compilable with MSVC 2013 without patching. |
3880 |
|
5539 |
|
3881 |
windows/config.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
5540 |
tests/test_bcj_exact_size.c | 19 +++++++------------ |
3882 |
1 file changed, 139 insertions(+) |
5541 |
1 file changed, 7 insertions(+), 12 deletions(-) |
3883 |
|
5542 |
|
3884 |
commit 3d5c090872fab4212b57c290e8ed4d02c78c1737 |
5543 |
commit 86bab755be252bfd3e0a9aee8e7b83a9bbb23ed0 |
3885 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5544 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3886 |
Date: 2014-01-12 17:41:14 +0200 |
5545 |
Date: 2022-06-14 21:26:13 +0300 |
3887 |
|
5546 |
|
3888 |
xz: Fix a comment. |
5547 |
Tests: Add file reading helpers to tuktest.h. |
3889 |
|
5548 |
|
3890 |
src/xz/coder.c | 4 ++-- |
5549 |
tests/tuktest.h | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- |
3891 |
1 file changed, 2 insertions(+), 2 deletions(-) |
5550 |
1 file changed, 176 insertions(+), 7 deletions(-) |
3892 |
|
5551 |
|
3893 |
commit 69fd4e1c932c7975476a0143c86e45d81b60d3f9 |
5552 |
commit 83d2337b72dbf391c6f3b41889eea99e51679105 |
3894 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5553 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3895 |
Date: 2014-01-12 17:04:33 +0200 |
5554 |
Date: 2022-06-14 18:21:57 +0300 |
3896 |
|
5555 |
|
3897 |
Windows: Add MSVC defines for inline and restrict keywords. |
5556 |
Tests: tuktest.h: Move a printf from a macro to a helper function. |
3898 |
|
5557 |
|
3899 |
src/common/sysdefs.h | 10 ++++++++++ |
5558 |
tests/tuktest.h | 26 ++++++++++++++++++-------- |
3900 |
1 file changed, 10 insertions(+) |
5559 |
1 file changed, 18 insertions(+), 8 deletions(-) |
3901 |
|
5560 |
|
3902 |
commit a19d9e8575ee6647cd9154cf1f20203f1330485f |
5561 |
commit f9e8176ea7d520797a2db2d49a5a632c285674a8 |
3903 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5562 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3904 |
Date: 2014-01-12 16:44:52 +0200 |
5563 |
Date: 2022-06-14 17:20:49 +0300 |
3905 |
|
5564 |
|
3906 |
liblzma: Avoid C99 compound literal arrays. |
5565 |
Tests: Add test file good-1-empty-bcj-lzma2.xz. |
3907 |
|
5566 |
|
3908 |
MSVC 2013 doesn't like them. Maybe they aren't so good |
5567 |
This is from test_bcj_exact_size.c. |
3909 |
for readability either since many aren't used to them. |
5568 |
It's good to have it as a standalone file. |
3910 |
|
5569 |
|
3911 |
src/liblzma/lzma/lzma_encoder_presets.c | 8 +++++--- |
5570 |
tests/files/README | 5 +++++ |
3912 |
1 file changed, 5 insertions(+), 3 deletions(-) |
5571 |
tests/files/good-1-empty-bcj-lzma2.xz | Bin 0 -> 52 bytes |
|
|
5572 |
2 files changed, 5 insertions(+) |
3913 |
|
5573 |
|
3914 |
commit e28528f1c867b2ed4ac91195ad08efb9bb8a6263 |
5574 |
commit aa75c5563a760aea3aa23d997d519e702e82726b |
3915 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5575 |
Author: Jia Tan <jiat0218@gmail.com> |
3916 |
Date: 2014-01-12 12:50:30 +0200 |
5576 |
Date: 2022-06-10 21:35:18 +0800 |
3917 |
|
5577 |
|
3918 |
liblzma: Remove a useless C99ism from sha256.c. |
5578 |
Tests: Created tests for hardware functions. |
3919 |
|
5579 |
|
3920 |
Unsurprisingly it makes no difference in compiled output. |
5580 |
Created tests for all API functions exported in |
|
|
5581 |
src/liblzma/api/lzma/hardware.h. The tests are fairly trivial |
5582 |
but are helpful because they will inform users if their machines |
5583 |
cannot support these functions. They also improve the code |
5584 |
coverage metrics. |
3921 |
|
5585 |
|
3922 |
src/liblzma/check/sha256.c | 2 +- |
5586 |
.gitignore | 1 + |
3923 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5587 |
tests/Makefile.am | 2 ++ |
|
|
5588 |
tests/test_hardware.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ |
5589 |
3 files changed, 48 insertions(+) |
3924 |
|
5590 |
|
3925 |
commit 5ad1effc45adfb7dabc9a98e79736077e6b7e2d5 |
5591 |
commit 5c8ffdca20813939818843476fb212dfae8838a3 |
3926 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5592 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3927 |
Date: 2014-01-12 12:17:08 +0200 |
5593 |
Date: 2022-06-02 21:01:45 +0300 |
3928 |
|
5594 |
|
3929 |
xz: Fix use of wrong variable. |
5595 |
Tests: Convert test_check to tuktest. |
3930 |
|
5596 |
|
3931 |
Since the only call to suffix_set() uses optarg |
5597 |
Thanks to Jia Tan for help with all the tests. |
3932 |
as the argument, fixing this bug doesn't change |
|
|
3933 |
the behavior of the program. |
3934 |
|
5598 |
|
3935 |
src/xz/suffix.c | 2 +- |
5599 |
tests/test_check.c | 67 +++++++++++++++++++++++++++--------------------------- |
3936 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5600 |
1 file changed, 33 insertions(+), 34 deletions(-) |
3937 |
|
5601 |
|
3938 |
commit 3e62c68d75b5a3fdd46dbb34bb335d73289860d5 |
5602 |
commit faf5ff8899d539b4dcd2a7e5280cb820a4746c86 |
3939 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5603 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3940 |
Date: 2014-01-12 12:11:36 +0200 |
5604 |
Date: 2022-06-02 20:31:03 +0300 |
3941 |
|
5605 |
|
3942 |
Fix typos in comments. |
5606 |
Tests: Convert test_block_header to tuktest. |
3943 |
|
5607 |
|
3944 |
src/common/mythread.h | 2 +- |
5608 |
tests/test_block_header.c | 89 +++++++++++++++++++++++++++-------------------- |
3945 |
src/liblzma/check/crc32_fast.c | 2 +- |
5609 |
1 file changed, 52 insertions(+), 37 deletions(-) |
3946 |
2 files changed, 2 insertions(+), 2 deletions(-) |
|
|
3947 |
|
5610 |
|
3948 |
commit e90ea601fb72867ec04adf456cbe4bf9520fd412 |
5611 |
commit 754d39fbebee3782258d42f154a223d3c5770ec7 |
3949 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5612 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3950 |
Date: 2013-11-26 18:20:16 +0200 |
5613 |
Date: 2022-06-02 20:28:23 +0300 |
3951 |
|
5614 |
|
3952 |
Update THANKS. |
5615 |
Tests: Convert test_bcj_exact_size to tuktest. |
|
|
5616 |
|
5617 |
The compress() and decompress() functions were merged because |
5618 |
the later depends on the former so they need to be a single |
5619 |
test case. |
3953 |
|
5620 |
|
3954 |
THANKS | 1 + |
5621 |
tests/test_bcj_exact_size.c | 75 +++++++++++++++++++++++++-------------------- |
3955 |
1 file changed, 1 insertion(+) |
5622 |
1 file changed, 41 insertions(+), 34 deletions(-) |
3956 |
|
5623 |
|
3957 |
commit b22e94d8d15764416354e04729382a7371ae2c30 |
5624 |
commit 96da21470f9570cd08286906a050a7c22631775b |
3958 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5625 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3959 |
Date: 2013-11-26 18:20:09 +0200 |
5626 |
Date: 2022-06-02 20:27:00 +0300 |
3960 |
|
5627 |
|
3961 |
liblzma: Document the need for block->check for lzma_block_header_decode(). |
5628 |
Tests: Include tuktest.h in tests.h. |
3962 |
|
5629 |
|
3963 |
Thanks to Tomer Chachamu. |
5630 |
This breaks -Werror because none of the tests so far use |
|
|
5631 |
tuktest.h and thus there are warnings about unused variables |
5632 |
and functions. |
3964 |
|
5633 |
|
3965 |
src/liblzma/api/lzma/block.h | 3 +++ |
5634 |
tests/tests.h | 47 +++++++++++++++++++++++------------------------ |
3966 |
1 file changed, 3 insertions(+) |
5635 |
1 file changed, 23 insertions(+), 24 deletions(-) |
3967 |
|
5636 |
|
3968 |
commit d1cd8b1cb824b72421d1ee370e628024d2fcbec4 |
5637 |
commit df71ba1c991f60c3269aaadd398247e632714626 |
3969 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5638 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3970 |
Date: 2013-11-12 16:38:57 +0200 |
5639 |
Date: 2022-06-02 20:25:21 +0300 |
3971 |
|
5640 |
|
3972 |
xz: Update the man page about --block-size and --block-list. |
5641 |
Tests: Add tuktest.h mini-test-framework. |
3973 |
|
5642 |
|
3974 |
src/xz/xz.1 | 24 +++++++++++++++--------- |
5643 |
tests/Makefile.am | 1 + |
3975 |
1 file changed, 15 insertions(+), 9 deletions(-) |
5644 |
tests/tuktest.h | 752 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
|
5645 |
2 files changed, 753 insertions(+) |
3976 |
|
5646 |
|
3977 |
commit 76be7c612e6bcc38724488ccc3b8bcb1cfec9f0a |
5647 |
commit 4773608554d1b684a05ff9c1d879cf5c42266d33 |
3978 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5648 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3979 |
Date: 2013-11-12 16:30:53 +0200 |
5649 |
Date: 2022-05-23 21:31:36 +0300 |
3980 |
|
5650 |
|
3981 |
Update THANKS. |
5651 |
Build: Enable Automake's parallel test harness. |
|
|
5652 |
|
5653 |
It has been the default for quite some time already and |
5654 |
the old serial harness isn't discouraged. The downside is |
5655 |
that with parallel tests one cannot print progress info or |
5656 |
other diagnostics to the terminal; all output from the tests |
5657 |
will be in the log files only. But now that the compression |
5658 |
tests are separated the parallel tests will speed things up. |
3982 |
|
5659 |
|
3983 |
THANKS | 1 + |
5660 |
configure.ac | 2 +- |
3984 |
1 file changed, 1 insertion(+) |
5661 |
1 file changed, 1 insertion(+), 1 deletion(-) |
3985 |
|
5662 |
|
3986 |
commit dd750acbe2259d75444ef0f8da2d4bacc90d7afc |
5663 |
commit 9a6dd6d46f7f256a5573e5d874c1052033ed7b05 |
3987 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5664 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
3988 |
Date: 2013-11-12 16:29:48 +0200 |
5665 |
Date: 2022-05-23 21:17:47 +0300 |
3989 |
|
5666 |
|
3990 |
xz: Make --block-list and --block-size work together in single-threaded. |
5667 |
Tests: Split test_compress.sh into separate test unit for each file. |
3991 |
|
5668 |
|
3992 |
Previously, --block-list and --block-size only worked together |
5669 |
test_compress.sh now takes one command line argument: |
3993 |
in threaded mode. Boundaries are specified by --block-list, but |
5670 |
a filename to be tested. If it begins with "compress_generated_" |
3994 |
--block-size specifies the maximum size for a Block. Now this |
5671 |
the file will be created with create_compress_files. |
3995 |
works in single-threaded mode too. |
|
|
3996 |
|
5672 |
|
3997 |
Thanks to James M Leddy for the original patch. |
5673 |
This will allow parallel execution of the slow tests. |
3998 |
|
5674 |
|
3999 |
src/xz/coder.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++++---------- |
5675 |
tests/Makefile.am | 11 +++- |
4000 |
1 file changed, 75 insertions(+), 15 deletions(-) |
5676 |
tests/test_compress.sh | 91 +++++++++++++++++++--------------- |
|
|
5677 |
tests/test_compress_generated_abc | 3 ++ |
5678 |
tests/test_compress_generated_random | 3 ++ |
5679 |
tests/test_compress_generated_text | 3 ++ |
5680 |
tests/test_compress_prepared_bcj_sparc | 3 ++ |
5681 |
tests/test_compress_prepared_bcj_x86 | 3 ++ |
5682 |
7 files changed, 77 insertions(+), 40 deletions(-) |
4001 |
|
5683 |
|
4002 |
commit ae222fe9805d0161d022d75ba8485dab8bf6d7d5 |
5684 |
commit c7758ac9c734707514dd34f254173ebac5eea7f8 |
4003 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5685 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4004 |
Date: 2013-10-26 13:26:14 +0300 |
5686 |
Date: 2022-05-23 20:32:49 +0300 |
4005 |
|
5687 |
|
4006 |
Bump the version number to 5.1.3alpha. |
5688 |
Test: Make create_compress_files.c a little more flexible. |
|
|
5689 |
|
5690 |
If a command line argument is given, then only the test file |
5691 |
of that type is created. It's quite dumb in sense that unknown |
5692 |
names don't give an error but it's good enough here. |
5693 |
|
5694 |
Also use EXIT_FAILURE instead of 1 as exit status for errors. |
4007 |
|
5695 |
|
4008 |
src/liblzma/api/lzma/version.h | 2 +- |
5696 |
tests/create_compress_files.c | 25 +++++++++++++++---------- |
4009 |
src/liblzma/liblzma.map | 2 +- |
5697 |
1 file changed, 15 insertions(+), 10 deletions(-) |
4010 |
2 files changed, 2 insertions(+), 2 deletions(-) |
|
|
4011 |
|
5698 |
|
4012 |
commit 2193837a6a597cd3bf4e9ddf49421a5697d8e155 |
5699 |
commit 4a8e4a7b0ad4b03c0ac6862716c3457452cdaf8c |
4013 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5700 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4014 |
Date: 2013-10-26 13:25:02 +0300 |
5701 |
Date: 2022-05-23 20:17:42 +0300 |
4015 |
|
5702 |
|
4016 |
Update NEWS for 5.1.3alpha. |
5703 |
Tests: Remove unneeded commented lines from test_compress.sh. |
4017 |
|
5704 |
|
4018 |
NEWS | 35 +++++++++++++++++++++++++++++++++++ |
5705 |
tests/test_compress.sh | 13 ------------- |
4019 |
1 file changed, 35 insertions(+) |
5706 |
1 file changed, 13 deletions(-) |
4020 |
|
5707 |
|
4021 |
commit ed48e75e2763876173aef8902da407a8eb28854b |
5708 |
commit 2ee50d150ee009f36135540b459e6ff328549725 |
4022 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5709 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4023 |
Date: 2013-10-26 12:47:04 +0300 |
5710 |
Date: 2022-05-23 20:16:00 +0300 |
4024 |
|
5711 |
|
4025 |
Update TODO. |
5712 |
Tests: Remove progress indicator from test_compress.sh. |
|
|
5713 |
|
5714 |
It will be useless with Automake's parallel tests. |
4026 |
|
5715 |
|
4027 |
TODO | 4 ---- |
5716 |
tests/test_compress.sh | 9 --------- |
4028 |
1 file changed, 4 deletions(-) |
5717 |
1 file changed, 9 deletions(-) |
4029 |
|
5718 |
|
4030 |
commit 841da0352d79a56a44796a4c39163429c9f039a3 |
5719 |
commit 2ce4f36f179a81d0c6e182a409f363df759d1ad0 |
4031 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5720 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4032 |
Date: 2013-10-25 22:41:28 +0300 |
5721 |
Date: 2022-05-23 19:37:18 +0300 |
4033 |
|
5722 |
|
4034 |
xz: Document behavior of --block-list with threads. |
5723 |
liblzma: Silence a warning. |
4035 |
|
5724 |
|
4036 |
This needs to be updated before 5.2.0. |
5725 |
The actual initialization is done via mythread_sync and seems |
|
|
5726 |
that GCC doesn't necessarily see that it gets initialized there. |
4037 |
|
5727 |
|
4038 |
src/xz/xz.1 | 24 +++++++++++++++++++++--- |
5728 |
src/liblzma/common/stream_decoder_mt.c | 2 +- |
4039 |
1 file changed, 21 insertions(+), 3 deletions(-) |
5729 |
1 file changed, 1 insertion(+), 1 deletion(-) |
4040 |
|
5730 |
|
4041 |
commit 56feb8665b78c1032aabd53c619c62af51defe64 |
5731 |
commit 5d8f3764ef43c35910e6d7003c0900a961ef6544 |
4042 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5732 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4043 |
Date: 2013-10-22 20:03:12 +0300 |
5733 |
Date: 2022-04-14 20:53:16 +0300 |
4044 |
|
5734 |
|
4045 |
xz: Document --flush-timeout=TIMEOUT on the man page. |
5735 |
xz: Fix build with --disable-threads. |
4046 |
|
5736 |
|
4047 |
src/xz/xz.1 | 37 ++++++++++++++++++++++++++++++++++++- |
5737 |
src/xz/hardware.c | 4 ++++ |
4048 |
1 file changed, 36 insertions(+), 1 deletion(-) |
5738 |
1 file changed, 4 insertions(+) |
4049 |
|
5739 |
|
4050 |
commit ba413da1d5bb3324287cf3174922acd921165971 |
5740 |
commit 1d592897278b172d8549aa29c3a1f3a4f432a9b9 |
4051 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5741 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4052 |
Date: 2013-10-22 19:51:55 +0300 |
5742 |
Date: 2022-04-14 14:50:17 +0300 |
4053 |
|
5743 |
|
4054 |
xz: Take advantage of LZMA_FULL_BARRIER with --block-list. |
5744 |
xz: Change the cap of the default -T0 memlimit for 32-bit xz. |
4055 |
|
5745 |
|
4056 |
Now if --block-list is used in threaded mode, the encoder |
5746 |
The SIZE_MAX / 3 was 1365 MiB. 1400 MiB gives little more room |
4057 |
won't need to flush at each Block boundary specified via |
5747 |
and it looks like a round (artificial) number in --info-memory |
4058 |
--block-list. This improves performance a lot, making |
5748 |
once --info-memory is made to display it. |
4059 |
threading helpful with --block-list. |
|
|
4060 |
|
5749 |
|
4061 |
The flush timer was reset after LZMA_FULL_FLUSH but since |
5750 |
Also, using #if avoids useless code on 64-bit builds. |
4062 |
LZMA_FULL_BARRIER doesn't flush, resetting the timer is |
|
|
4063 |
no longer done. |
4064 |
|
5751 |
|
4065 |
src/xz/coder.c | 32 +++++++++++++++----------------- |
5752 |
src/xz/hardware.c | 4 +++- |
4066 |
1 file changed, 15 insertions(+), 17 deletions(-) |
5753 |
1 file changed, 3 insertions(+), 1 deletion(-) |
4067 |
|
5754 |
|
4068 |
commit 0cd45fc2bc5537de287a0bc005e2d67467a92148 |
5755 |
commit c77fe55ddb7752ed0fec46967c5ec9a72632ea0c |
4069 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5756 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4070 |
Date: 2013-10-02 20:05:23 +0300 |
5757 |
Date: 2022-04-14 14:20:46 +0300 |
4071 |
|
5758 |
|
4072 |
liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder. |
5759 |
xz: Add a default soft memory usage limit for --threads=0. |
4073 |
|
5760 |
|
4074 |
Now --block-list=SIZES works with in the threaded mode too, |
5761 |
This is a soft limit in sense that it only affects the number of |
4075 |
although the performance is still bad due to the use of |
5762 |
threads. It never makes xz fail and it never makes xz change |
4076 |
LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER. |
5763 |
settings that would affect the compressed output. |
|
|
5764 |
|
5765 |
The idea is to make -T0 have more reasonable behavior when |
5766 |
the system has very many cores or when a memory-hungry |
5767 |
compression options are used. This also helps with 32-bit xz, |
5768 |
preventing it from running out of address space. |
5769 |
|
5770 |
The downside of this commit is that now the number of threads |
5771 |
might become too low compared to what the user expected. I |
5772 |
hope this to be an acceptable compromise as the old behavior |
5773 |
has been a source of well-argued complaints for a long time. |
4077 |
|
5774 |
|
4078 |
src/liblzma/common/stream_encoder_mt.c | 55 ++++++++++++++++++++++++---------- |
5775 |
src/xz/coder.c | 28 ++++++++++++++++++++++++++-- |
4079 |
1 file changed, 39 insertions(+), 16 deletions(-) |
5776 |
src/xz/hardware.c | 38 +++++++++++++++++++++++++++++--------- |
|
|
5777 |
src/xz/hardware.h | 27 +++++++++++++++++++++++++++ |
5778 |
3 files changed, 82 insertions(+), 11 deletions(-) |
4080 |
|
5779 |
|
4081 |
commit 97bb38712f414fabecca908af2e38a12570293fd |
5780 |
commit 0adc13bfe32c14f3e4c6ce9f2d4fdf4112ab53f4 |
4082 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5781 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4083 |
Date: 2013-10-02 12:55:11 +0300 |
5782 |
Date: 2022-04-14 12:59:09 +0300 |
4084 |
|
5783 |
|
4085 |
liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder. |
5784 |
xz: Make -T0 use multithreaded mode on single-core systems. |
4086 |
|
5785 |
|
4087 |
In the single-threaded encoder LZMA_FULL_BARRIER is simply |
5786 |
The main problem withi the old behavior is that the compressed |
4088 |
an alias for LZMA_FULL_FLUSH. |
5787 |
output is different on single-core systems vs. multicore systems. |
|
|
5788 |
This commit fixes it by making -T0 one thread in multithreaded mode |
5789 |
on single-core systems. |
5790 |
|
5791 |
The downside of this is that it uses more memory. However, if |
5792 |
--memlimit-compress is used, xz can (thanks to the previous commit) |
5793 |
drop to the single-threaded mode still. |
4089 |
|
5794 |
|
4090 |
src/liblzma/api/lzma/base.h | 37 ++++++++++++++++++++++++++++++------- |
5795 |
src/xz/coder.c | 18 +++++++++--------- |
4091 |
src/liblzma/common/common.c | 17 +++++++++++++++-- |
5796 |
src/xz/hardware.c | 14 ++++++++++++++ |
4092 |
src/liblzma/common/common.h | 7 ++++++- |
5797 |
src/xz/hardware.h | 4 ++++ |
4093 |
src/liblzma/common/stream_encoder.c | 4 +++- |
5798 |
3 files changed, 27 insertions(+), 9 deletions(-) |
4094 |
4 files changed, 54 insertions(+), 11 deletions(-) |
|
|
4095 |
|
5799 |
|
4096 |
commit fef0c6b410c08e581c9178700a4e7599f0895ff9 |
5800 |
commit 898faa97287a756231c663a3ed5165672b417207 |
4097 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5801 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4098 |
Date: 2013-09-17 11:57:51 +0300 |
5802 |
Date: 2022-04-14 12:38:00 +0300 |
4099 |
|
5803 |
|
4100 |
liblzma: Add block_buffer_encoder.h into Makefile.inc. |
5804 |
xz: Changes to --memlimit-compress and --no-adjust. |
4101 |
|
5805 |
|
4102 |
This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc. |
5806 |
In single-threaded mode, --memlimit-compress can make xz scale down |
|
|
5807 |
the LZMA2 dictionary size to meet the memory usage limit. This |
5808 |
obviously affects the compressed output. However, if xz was in |
5809 |
threaded mode, --memlimit-compress could make xz reduce the number |
5810 |
of threads but it wouldn't make xz switch from multithreaded mode |
5811 |
to single-threaded mode or scale down the LZMA2 dictionary size. |
5812 |
This seemed illogical and there was even a "FIXME?" about it. |
5813 |
|
5814 |
Now --memlimit-compress can make xz switch to single-threaded |
5815 |
mode if one thread in multithreaded mode uses too much memory. |
5816 |
If memory usage is still too high, then the LZMA2 dictionary |
5817 |
size can be scaled down too. |
5818 |
|
5819 |
The option --no-adjust was also changed so that it no longer |
5820 |
prevents xz from scaling down the number of threads as that |
5821 |
doesn't affect compressed output (only performance). After |
5822 |
this commit --no-adjust only prevents adjustments that affect |
5823 |
compressed output, that is, with --no-adjust xz won't switch |
5824 |
from multithreaded mode to single-threaded mode and won't |
5825 |
scale down the LZMA2 dictionary size. |
5826 |
|
5827 |
The man page wasn't updated yet. |
4103 |
|
5828 |
|
4104 |
src/liblzma/common/Makefile.inc | 1 + |
5829 |
src/xz/coder.c | 63 +++++++++++++++++++++++++++++++++++++++------------------- |
4105 |
1 file changed, 1 insertion(+) |
5830 |
1 file changed, 43 insertions(+), 20 deletions(-) |
4106 |
|
5831 |
|
4107 |
commit 8083e03291b6d21c0f538163e187b4e8cd5594e4 |
5832 |
commit cad299008cf73ec566f0662a9cf2b94f86a99659 |
4108 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5833 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4109 |
Date: 2013-09-17 11:55:38 +0300 |
5834 |
Date: 2022-04-11 22:20:49 +0300 |
4110 |
|
5835 |
|
4111 |
xz: Add a missing test for TUKLIB_DOSLIKE. |
5836 |
xz: Add --memlimit-mt-decompress along with a default limit value. |
4112 |
|
|
|
4113 |
src/xz/file_io.c | 2 ++ |
4114 |
1 file changed, 2 insertions(+) |
4115 |
|
4116 |
commit 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0 |
4117 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4118 |
Date: 2013-09-17 11:52:28 +0300 |
4119 |
|
4120 |
Add native threading support on Windows. |
4121 |
|
5837 |
|
4122 |
Now liblzma only uses "mythread" functions and types |
5838 |
--memlimit-mt-decompress allows specifying the limit for |
4123 |
which are defined in mythread.h matching the desired |
5839 |
multithreaded decompression. This matches memlimit_threading in |
4124 |
threading method. |
5840 |
liblzma. This limit can only affect the number of threads being |
|
|
5841 |
used; it will never prevent xz from decompressing a file. The |
5842 |
old --memlimit-decompress option is still used at the same time. |
4125 |
|
5843 |
|
4126 |
Before Windows Vista, there is no direct equivalent to |
5844 |
If the value of --memlimit-decompress (the default value or |
4127 |
pthread condition variables. Since this package doesn't |
5845 |
one specified by the user) is less than the value of |
4128 |
use pthread_cond_broadcast(), pre-Vista threading can |
5846 |
--memlimit-mt-decompress , then --memlimit-mt-decompress is |
4129 |
still be kept quite simple. The pre-Vista code doesn't |
5847 |
reduced to match --memlimit-decompress. |
4130 |
use anything that wasn't already available in Windows 95, |
5848 |
|
4131 |
so the binaries should run even on Windows 95 if someone |
5849 |
Man page wasn't updated yet. |
4132 |
happens to care. |
|
|
4133 |
|
5850 |
|
4134 |
INSTALL | 41 ++- |
5851 |
src/xz/args.c | 24 +++++++++++++++------- |
4135 |
configure.ac | 118 ++++++-- |
5852 |
src/xz/coder.c | 34 ++++++++++--------------------- |
4136 |
src/common/mythread.h | 513 ++++++++++++++++++++++++++------- |
5853 |
src/xz/hardware.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++----- |
4137 |
src/liblzma/common/stream_encoder_mt.c | 83 +++--- |
5854 |
src/xz/hardware.h | 17 ++++++++++------ |
4138 |
src/xz/coder.c | 8 +- |
5855 |
src/xz/message.c | 4 +++- |
4139 |
windows/README-Windows.txt | 2 +- |
5856 |
5 files changed, 97 insertions(+), 42 deletions(-) |
4140 |
windows/build.bash | 23 +- |
|
|
4141 |
7 files changed, 573 insertions(+), 215 deletions(-) |
4142 |
|
5857 |
|
4143 |
commit ae0ab74a88d5b9b15845f1d9a24ade4349a54f9f |
5858 |
commit fe87b4cd5364f5bbb6a75a0299f1500c852d7c9a |
4144 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5859 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4145 |
Date: 2013-09-11 14:40:35 +0300 |
5860 |
Date: 2022-04-06 23:11:59 +0300 |
4146 |
|
5861 |
|
4147 |
Build: Remove a comment about Automake 1.10 from configure.ac. |
5862 |
liblzma: Threaded decoder: Improve setting of pending_error. |
4148 |
|
5863 |
|
4149 |
The previous commit supports silent rules and that requires |
5864 |
It doesn't need to be done conditionally. The comments try |
4150 |
Automake 1.11. |
5865 |
to explain it. |
4151 |
|
5866 |
|
4152 |
configure.ac | 2 -- |
5867 |
src/liblzma/common/stream_decoder_mt.c | 51 +++++++++++++++++++++++----------- |
4153 |
1 file changed, 2 deletions(-) |
5868 |
1 file changed, 35 insertions(+), 16 deletions(-) |
4154 |
|
5869 |
|
4155 |
commit 72975df6c8c59aaf849138ab3606e8fb6970596a |
5870 |
commit 90621da7f6e1bfd6d91d60415eae04b2bca274c2 |
4156 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5871 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4157 |
Date: 2013-09-09 20:37:03 +0300 |
5872 |
Date: 2022-04-06 12:39:49 +0300 |
4158 |
|
5873 |
|
4159 |
Build: Create liblzma.pc in a src/liblzma/Makefile.am. |
5874 |
liblzma: Add a new flag LZMA_FAIL_FAST for threaded decoder. |
4160 |
|
5875 |
|
4161 |
Previously it was done in configure, but doing that goes |
5876 |
In most cases if the input file is corrupt the application won't |
4162 |
against the Autoconf manual. Autoconf requires that it is |
5877 |
care about the uncompressed content at all. With this new flag |
4163 |
possible to override e.g. prefix after running configure |
5878 |
the threaded decoder will return an error as soon as any thread |
4164 |
and that doesn't work correctly if liblzma.pc is created |
5879 |
has detected an error; it won't wait to copy out the data before |
4165 |
by configure. |
5880 |
the location of the error. |
4166 |
|
5881 |
|
4167 |
A potential downside of this change is that now e.g. |
5882 |
I don't plan to use this in xz to keep the behavior consistent |
4168 |
libdir in liblzma.pc is a standalone string instead of |
5883 |
between single-threaded and multi-threaded modes. |
4169 |
being defined via ${prefix}, so if one overrides prefix |
|
|
4170 |
when running pkg-config the libdir won't get the new value. |
4171 |
I don't know if this matters in practice. |
4172 |
|
4173 |
Thanks to Vincent Torri. |
4174 |
|
5884 |
|
4175 |
configure.ac | 1 - |
5885 |
src/liblzma/api/lzma/container.h | 25 ++++++++++++++++- |
4176 |
src/liblzma/Makefile.am | 20 ++++++++++++++++++++ |
5886 |
src/liblzma/common/common.h | 7 +++-- |
4177 |
2 files changed, 20 insertions(+), 1 deletion(-) |
5887 |
src/liblzma/common/stream_decoder_mt.c | 50 +++++++++++++++++++--------------- |
|
|
5888 |
3 files changed, 56 insertions(+), 26 deletions(-) |
4178 |
|
5889 |
|
4179 |
commit 1c2b6e7e8382ed390f53e140f160488bb2205ecc |
5890 |
commit 64b6d496dc815a176d8307f418f6834a26783484 |
4180 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5891 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4181 |
Date: 2013-08-04 15:24:09 +0300 |
5892 |
Date: 2022-04-05 12:24:57 +0300 |
4182 |
|
5893 |
|
4183 |
Fix the previous commit which broke the build. |
5894 |
liblzma: Threaded decoder: Always wait for output if LZMA_FINISH is used. |
4184 |
|
5895 |
|
4185 |
Apparently I didn't even compile-test the previous commit. |
5896 |
This makes the behavior consistent with the single-threaded |
|
|
5897 |
decoder when handling truncated .xz files. |
4186 |
|
5898 |
|
4187 |
Thanks to Christian Hesse. |
5899 |
Thanks to Jia Tan for finding this issue. |
4188 |
|
5900 |
|
4189 |
src/common/tuklib_cpucores.c | 2 +- |
5901 |
src/liblzma/common/stream_decoder_mt.c | 26 ++++++++++++++++++++++++-- |
4190 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5902 |
1 file changed, 24 insertions(+), 2 deletions(-) |
4191 |
|
5903 |
|
4192 |
commit 124eb69c7857f618b4807588c51bc9ba21bf8691 |
5904 |
commit e671bc8828b9c0c5406c3a22c541301d0eb54518 |
4193 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5905 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4194 |
Date: 2013-08-03 13:52:58 +0300 |
5906 |
Date: 2022-04-02 21:49:59 +0300 |
4195 |
|
5907 |
|
4196 |
Windows: Add Windows support to tuklib_cpucores(). |
5908 |
liblzma: Threaded decoder: Support zpipe.c-style decoding loop. |
4197 |
|
5909 |
|
4198 |
It is used for Cygwin too. I'm not sure if that is |
5910 |
This makes it possible to call lzma_code() in a loop that only |
4199 |
a good or bad idea. |
5911 |
reads new input when lzma_code() didn't fill the output buffer |
|
|
5912 |
completely. That isn't the calling style suggested by the |
5913 |
liblzma example program 02_decompress.c so perhaps the usefulness |
5914 |
of this feature is limited. |
4200 |
|
5915 |
|
4201 |
Thanks to Vincent Torri. |
5916 |
Also, it is possible to write such a loop so that it works |
|
|
5917 |
with the single-threaded decoder but not with the threaded |
5918 |
decoder even after this commit, or so that it works only if |
5919 |
lzma_mt.timeout = 0. |
5920 |
|
5921 |
The zlib tutorial <https://zlib.net/zlib_how.html> is a well-known |
5922 |
example of a loop where more input is read only when output isn't |
5923 |
full. Porting this as is to liblzma would work with the |
5924 |
single-threaded decoder (if LZMA_CONCATENATED isn't used) but it |
5925 |
wouldn't work with threaded decoder even after this commit because |
5926 |
the loop assumes that no more output is possible when it cannot |
5927 |
read more input ("if (strm.avail_in == 0) break;"). This cannot |
5928 |
be fixed at liblzma side; the loop has to be modified at least |
5929 |
a little. |
5930 |
|
5931 |
I'm adding this in any case because the actual code is simple |
5932 |
and short and should have no harmful side-effects in other |
5933 |
situations. |
4202 |
|
5934 |
|
4203 |
m4/tuklib_cpucores.m4 | 19 +++++++++++++++++-- |
5935 |
src/liblzma/common/stream_decoder_mt.c | 77 +++++++++++++++++++++++++++++----- |
4204 |
src/common/tuklib_cpucores.c | 13 ++++++++++++- |
5936 |
1 file changed, 67 insertions(+), 10 deletions(-) |
4205 |
2 files changed, 29 insertions(+), 3 deletions(-) |
|
|
4206 |
|
5937 |
|
4207 |
commit eada8a875ce3fd521cb42e4ace2624d3d49c5f35 |
5938 |
commit 2ba8173e27be4793edb46497e499ac2ae753a316 |
4208 |
Author: Anders F Bjorklund <afb@users.sourceforge.net> |
5939 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4209 |
Date: 2013-08-02 15:59:46 +0200 |
5940 |
Date: 2022-03-31 00:05:07 +0300 |
4210 |
|
5941 |
|
4211 |
macosx: separate liblzma package |
5942 |
Update THANKS. |
4212 |
|
5943 |
|
4213 |
macosx/build.sh | 23 +++++++++++++++-------- |
5944 |
THANKS | 1 + |
4214 |
1 file changed, 15 insertions(+), 8 deletions(-) |
5945 |
1 file changed, 1 insertion(+) |
4215 |
|
5946 |
|
4216 |
commit be0100d01ca6a75899d051bee00acf17e6dc0c15 |
5947 |
commit 69d1b3fc29677af8ade8dc15dba83f0589cb63d6 |
4217 |
Author: Anders F Bjorklund <afb@users.sourceforge.net> |
5948 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4218 |
Date: 2013-08-02 15:58:44 +0200 |
5949 |
Date: 2022-03-29 19:19:12 +0300 |
4219 |
|
5950 |
|
4220 |
macosx: set minimum to leopard |
5951 |
xzgrep: Fix escaping of malicious filenames (ZDI-CAN-16587). |
|
|
5952 |
|
5953 |
Malicious filenames can make xzgrep to write to arbitrary files |
5954 |
or (with a GNU sed extension) lead to arbitrary code execution. |
5955 |
|
5956 |
xzgrep from XZ Utils versions up to and including 5.2.5 are |
5957 |
affected. 5.3.1alpha and 5.3.2alpha are affected as well. |
5958 |
This patch works for all of them. |
5959 |
|
5960 |
This bug was inherited from gzip's zgrep. gzip 1.12 includes |
5961 |
a fix for zgrep. |
5962 |
|
5963 |
The issue with the old sed script is that with multiple newlines, |
5964 |
the N-command will read the second line of input, then the |
5965 |
s-commands will be skipped because it's not the end of the |
5966 |
file yet, then a new sed cycle starts and the pattern space |
5967 |
is printed and emptied. So only the last line or two get escaped. |
5968 |
|
5969 |
One way to fix this would be to read all lines into the pattern |
5970 |
space first. However, the included fix is even simpler: All lines |
5971 |
except the last line get a backslash appended at the end. To ensure |
5972 |
that shell command substitution doesn't eat a possible trailing |
5973 |
newline, a colon is appended to the filename before escaping. |
5974 |
The colon is later used to separate the filename from the grep |
5975 |
output so it is fine to add it here instead of a few lines later. |
5976 |
|
5977 |
The old code also wasn't POSIX compliant as it used \n in the |
5978 |
replacement section of the s-command. Using \<newline> is the |
5979 |
POSIX compatible method. |
5980 |
|
5981 |
LC_ALL=C was added to the two critical sed commands. POSIX sed |
5982 |
manual recommends it when using sed to manipulate pathnames |
5983 |
because in other locales invalid multibyte sequences might |
5984 |
cause issues with some sed implementations. In case of GNU sed, |
5985 |
these particular sed scripts wouldn't have such problems but some |
5986 |
other scripts could have, see: |
5987 |
|
5988 |
info '(sed)Locale Considerations' |
5989 |
|
5990 |
This vulnerability was discovered by: |
5991 |
cleemy desu wayo working with Trend Micro Zero Day Initiative |
5992 |
|
5993 |
Thanks to Jim Meyering and Paul Eggert discussing the different |
5994 |
ways to fix this and for coordinating the patch release schedule |
5995 |
with gzip. |
4221 |
|
5996 |
|
4222 |
macosx/build.sh | 13 ++++++++----- |
5997 |
src/scripts/xzgrep.in | 20 ++++++++++++-------- |
4223 |
1 file changed, 8 insertions(+), 5 deletions(-) |
5998 |
1 file changed, 12 insertions(+), 8 deletions(-) |
4224 |
|
5999 |
|
4225 |
commit 416729e2d743f4b2fe9fd438eedeb98adce033c3 |
6000 |
commit bd93b776c1bd15e90661033c918cdeb354dbcc38 |
4226 |
Author: Anders F Bjorklund <afb@users.sourceforge.net> |
6001 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4227 |
Date: 2011-08-07 13:13:30 +0200 |
6002 |
Date: 2022-03-26 01:02:44 +0200 |
4228 |
|
6003 |
|
4229 |
move configurables into variables |
6004 |
liblzma: Fix a deadlock in threaded decoder. |
|
|
6005 |
|
6006 |
If a worker thread has consumed all input so far and it's |
6007 |
waiting on thr->cond and then the main thread enables |
6008 |
partial update for that thread, the code used to deadlock. |
6009 |
This commit allows one dummy decoding pass to occur in this |
6010 |
situation which then also does the partial update. |
6011 |
|
6012 |
As part of the fix, this moves thr->progress_* updates to |
6013 |
avoid the second thr->mutex locking. |
6014 |
|
6015 |
Thanks to Jia Tan for finding, debugging, and reporting the bug. |
4230 |
|
6016 |
|
4231 |
macosx/build.sh | 25 ++++++++++++++++++------- |
6017 |
src/liblzma/common/stream_decoder_mt.c | 71 +++++++++++++++++++++++++--------- |
4232 |
1 file changed, 18 insertions(+), 7 deletions(-) |
6018 |
1 file changed, 52 insertions(+), 19 deletions(-) |
4233 |
|
6019 |
|
4234 |
commit 16581080e5f29f9a4e49efece21c5bf572323acc |
6020 |
commit e0394e94230f208682ac1e1f4c41f22f9ad79916 |
4235 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6021 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4236 |
Date: 2013-07-15 14:08:41 +0300 |
6022 |
Date: 2022-03-23 16:34:00 +0200 |
4237 |
|
6023 |
|
4238 |
Update THANKS. |
6024 |
Update THANKS. |
4239 |
|
6025 |
|
4240 |
THANKS | 1 + |
6026 |
THANKS | 1 + |
4241 |
1 file changed, 1 insertion(+) |
6027 |
1 file changed, 1 insertion(+) |
4242 |
|
6028 |
|
4243 |
commit 3e2b198ba37b624efd9c7caee2a435dc986b46c6 |
6029 |
commit 487c77d48760564b1949c5067630b675b87be4de |
4244 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6030 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4245 |
Date: 2013-07-15 14:08:02 +0300 |
6031 |
Date: 2022-03-23 16:28:55 +0200 |
4246 |
|
6032 |
|
4247 |
Build: Fix the detection of missing CRC32. |
6033 |
liblzma: Threaded decoder: Don't stop threads on LZMA_TIMED_OUT. |
4248 |
|
6034 |
|
4249 |
Thanks to Vincent Torri. |
6035 |
LZMA_TIMED_OUT is not an error and thus stopping threads on |
|
|
6036 |
LZMA_TIMED_OUT breaks the decoder badly. |
6037 |
|
6038 |
Thanks to Jia Tan for finding the bug and for the patch. |
4250 |
|
6039 |
|
4251 |
configure.ac | 2 +- |
6040 |
src/liblzma/common/stream_decoder_mt.c | 2 +- |
4252 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6041 |
1 file changed, 1 insertion(+), 1 deletion(-) |
4253 |
|
6042 |
|
4254 |
commit dee6ad3d5915422bc30a6821efeacaeb8ca8ef00 |
6043 |
commit 6c6da57ae2aa962aabde6892442227063d87e88c |
4255 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6044 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4256 |
Date: 2013-07-04 14:18:46 +0300 |
6045 |
Date: 2022-03-07 00:36:16 +0200 |
4257 |
|
6046 |
|
4258 |
xz: Add preliminary support for --flush-timeout=TIMEOUT. |
6047 |
xz: Add initial support for threaded decompression. |
4259 |
|
6048 |
|
4260 |
When --flush-timeout=TIMEOUT is used, xz will use |
6049 |
If threading support is enabled at build time, this will |
4261 |
LZMA_SYNC_FLUSH if read() would block and at least |
6050 |
use lzma_stream_decoder_mt() even for single-threaded mode. |
4262 |
TIMEOUT milliseconds has elapsed since the previous flush. |
6051 |
With memlimit_threading=0 the behavior should be identical. |
4263 |
|
6052 |
|
4264 |
This can be useful in realtime-like use cases where the |
6053 |
This needs some work like adding --memlimit-threading=LIMIT. |
4265 |
data is simultanously decompressed by another process |
|
|
4266 |
(possibly on a different computer). If new uncompressed |
4267 |
input data is produced slowly, without this option xz could |
4268 |
buffer the data for a long time until it would become |
4269 |
decompressible from the output. |
4270 |
|
6054 |
|
4271 |
If TIMEOUT is 0, the feature is disabled. This is the default. |
6055 |
The original patch from Sebastian Andrzej Siewior included |
|
|
6056 |
a method to get currently available RAM on Linux. It might |
6057 |
be one way to go but as it is Linux-only, the available-RAM |
6058 |
approach needs work for portability or using a fallback method |
6059 |
on other OSes. |
4272 |
|
6060 |
|
4273 |
This commit affects the compression side. Using xz for |
6061 |
The man page wasn't updated yet. |
4274 |
the decompression side for the above purpose doesn't work |
6062 |
|
4275 |
yet so well because there is quite a bit of input and |
6063 |
src/xz/coder.c | 36 +++++++++++++++++++++++++++++++++++- |
4276 |
output buffering when decompressing. |
6064 |
1 file changed, 35 insertions(+), 1 deletion(-) |
|
|
6065 |
|
6066 |
commit 4cce3e27f529af33e0e7749a8cbcec59954946b5 |
6067 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6068 |
Date: 2022-03-06 23:36:20 +0200 |
6069 |
|
6070 |
liblzma: Add threaded .xz decompressor. |
4277 |
|
6071 |
|
4278 |
The --long-help or man page were not updated yet. |
6072 |
I realize that this is about a decade late. |
4279 |
The details of this feature may change. |
6073 |
|
|
|
6074 |
Big thanks to Sebastian Andrzej Siewior for the original patch. |
6075 |
I made a bunch of smaller changes but after a while quite a few |
6076 |
things got rewritten. So any bugs in the commit were created by me. |
4280 |
|
6077 |
|
4281 |
src/xz/args.c | 7 +++++++ |
6078 |
src/liblzma/api/lzma/container.h | 90 +- |
4282 |
src/xz/coder.c | 46 +++++++++++++++++++++++++++++++++++----------- |
6079 |
src/liblzma/common/Makefile.inc | 5 + |
4283 |
src/xz/file_io.c | 46 ++++++++++++++++++++++++++++++++++++---------- |
6080 |
src/liblzma/common/common.h | 4 + |
4284 |
3 files changed, 78 insertions(+), 21 deletions(-) |
6081 |
src/liblzma/common/stream_decoder_mt.c | 1814 ++++++++++++++++++++++++++++++++ |
|
|
6082 |
src/liblzma/liblzma.map | 1 + |
6083 |
5 files changed, 1907 insertions(+), 7 deletions(-) |
4285 |
|
6084 |
|
4286 |
commit fa381acaf9a29a8114e1c0a97de99bab9adb014e |
6085 |
commit 717631b9788dc9c100ee0c87d3c14a2782638ff4 |
4287 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6086 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4288 |
Date: 2013-07-04 13:41:03 +0300 |
6087 |
Date: 2022-03-06 16:54:23 +0200 |
4289 |
|
6088 |
|
4290 |
xz: Don't set src_eof=true after an I/O error because it's useless. |
6089 |
liblzma: Fix docs: lzma_block_decoder() cannot return LZMA_UNSUPPORTED_CHECK. |
|
|
6090 |
|
6091 |
If Check is unsupported, it will be silently ignored. |
6092 |
It's the caller's job to handle it. |
4291 |
|
6093 |
|
4292 |
src/xz/file_io.c | 3 --- |
6094 |
src/liblzma/api/lzma/block.h | 3 --- |
4293 |
1 file changed, 3 deletions(-) |
6095 |
1 file changed, 3 deletions(-) |
4294 |
|
6096 |
|
4295 |
commit ea00545beace5b950f709ec21e46878e0f448678 |
6097 |
commit 1a4bb97a00936535e30ac61945aeee38882b5d1a |
4296 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6098 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4297 |
Date: 2013-07-04 13:25:11 +0300 |
6099 |
Date: 2022-03-06 16:41:19 +0200 |
4298 |
|
6100 |
|
4299 |
xz: Fix the test when to read more input. |
6101 |
liblzma: Add new output queue (lzma_outq) features. |
4300 |
|
6102 |
|
4301 |
Testing for end of file was no longer correct after full flushing |
6103 |
Add lzma_outq_clear_cache2() which may leave one buffer allocated |
4302 |
became possible with --block-size=SIZE and --block-list=SIZES. |
6104 |
in the cache. |
4303 |
There was no bug in practice though because xz just made a few |
6105 |
|
4304 |
unneeded zero-byte reads. |
6106 |
Add lzma_outq_outbuf_memusage() to get the memory needed for |
|
|
6107 |
a single lzma_outbuf. This is now used internally in outqueue.c too. |
6108 |
|
6109 |
Track both the total amount of memory allocated and the amount of |
6110 |
memory that is in active use (not in cache). |
6111 |
|
6112 |
In lzma_outbuf, allow storing the current input position that |
6113 |
matches the current output position. This way the main thread |
6114 |
can notice when no more output is possible without first providing |
6115 |
more input. |
6116 |
|
6117 |
Allow specifying return code for lzma_outq_read() in a finished |
6118 |
lzma_outbuf. |
4305 |
|
6119 |
|
4306 |
src/xz/coder.c | 6 +++--- |
6120 |
src/liblzma/common/outqueue.c | 43 +++++++++++++++++++++++++++++++++++------- |
4307 |
1 file changed, 3 insertions(+), 3 deletions(-) |
6121 |
src/liblzma/common/outqueue.h | 44 ++++++++++++++++++++++++++++++++++++++++++- |
|
|
6122 |
2 files changed, 79 insertions(+), 8 deletions(-) |
4308 |
|
6123 |
|
4309 |
commit 736903c64bef394c06685d79908e397bcb08b88f |
6124 |
commit ddbc6f58c2de388eed24cd7ea91b523d397da5f4 |
4310 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6125 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4311 |
Date: 2013-07-04 12:51:57 +0300 |
6126 |
Date: 2022-03-06 15:18:58 +0200 |
4312 |
|
6127 |
|
4313 |
xz: Move some of the timing code into mytime.[hc]. |
6128 |
liblzma: Index hash: Change return value type of hash_append() to void. |
|
|
6129 |
|
6130 |
src/liblzma/common/index_hash.c | 11 +++++------ |
6131 |
1 file changed, 5 insertions(+), 6 deletions(-) |
6132 |
|
6133 |
commit 20e7a33e2d59c6a814447d3991f21e2702174b20 |
6134 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6135 |
Date: 2022-02-22 03:42:57 +0200 |
6136 |
|
6137 |
liblzma: Minor addition to lzma_vli_size() API doc. |
4314 |
|
6138 |
|
4315 |
This switches units from microseconds to milliseconds. |
6139 |
Thanks to Jia Tan. |
|
|
6140 |
|
6141 |
src/liblzma/api/lzma/vli.h | 2 ++ |
6142 |
1 file changed, 2 insertions(+) |
6143 |
|
6144 |
commit 4f78f5fcf63592f2d77e921cfe0d5de300867374 |
6145 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6146 |
Date: 2022-02-22 02:04:18 +0200 |
6147 |
|
6148 |
liblzma: Check the return value of lzma_index_append() in threaded encoder. |
4316 |
|
6149 |
|
4317 |
New clock_gettime(CLOCK_MONOTONIC) will be used if available. |
6150 |
If lzma_index_append() failed (most likely memory allocation failure) |
4318 |
There is still a fallback to gettimeofday(). |
6151 |
it could have gone unnoticed and the resulting .xz file would have |
|
|
6152 |
an incorrect Index. Decompressing such a file would produce the |
6153 |
correct uncompressed data but then an error would occur when |
6154 |
verifying the Index field. |
4319 |
|
6155 |
|
4320 |
src/xz/Makefile.am | 2 ++ |
6156 |
src/liblzma/common/stream_encoder_mt.c | 7 +++++-- |
4321 |
src/xz/coder.c | 5 +++ |
6157 |
1 file changed, 5 insertions(+), 2 deletions(-) |
4322 |
src/xz/message.c | 54 +++++++++------------------------ |
|
|
4323 |
src/xz/mytime.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4324 |
src/xz/mytime.h | 47 ++++++++++++++++++++++++++++ |
4325 |
src/xz/private.h | 1 + |
4326 |
6 files changed, 158 insertions(+), 40 deletions(-) |
4327 |
|
6158 |
|
4328 |
commit 24edf8d807e24ffaa1e793114d94cca3b970027d |
6159 |
commit 5313ad66b40aab822ddca3e9905254cb99a4080d |
4329 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6160 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4330 |
Date: 2013-07-01 14:35:03 +0300 |
6161 |
Date: 2022-02-22 01:37:39 +0200 |
4331 |
|
6162 |
|
4332 |
Update THANKS. |
6163 |
Update THANKS. |
4333 |
|
6164 |
|
4334 |
THANKS | 1 + |
6165 |
THANKS | 1 + |
4335 |
1 file changed, 1 insertion(+) |
6166 |
1 file changed, 1 insertion(+) |
4336 |
|
6167 |
|
4337 |
commit c0627b3fceacfa1ed162f5f55235360ea26f569a |
6168 |
commit 865e0a3689a25a7ee8eecae1a34c1775e3aa676e |
|
|
6169 |
Author: Ed Maste <emaste@FreeBSD.org> |
6170 |
Date: 2022-02-11 15:25:46 +0000 |
6171 |
|
6172 |
liblzma: Use non-executable stack on FreeBSD as on Linux |
6173 |
|
6174 |
src/liblzma/check/crc32_x86.S | 4 ++-- |
6175 |
src/liblzma/check/crc64_x86.S | 4 ++-- |
6176 |
2 files changed, 4 insertions(+), 4 deletions(-) |
6177 |
|
6178 |
commit 1c9a5786d206b4abc8e427326651c8174baea753 |
4338 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6179 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4339 |
Date: 2013-07-01 14:34:11 +0300 |
6180 |
Date: 2022-02-20 20:36:27 +0200 |
4340 |
|
6181 |
|
4341 |
xz: Silence a warning seen with _FORTIFY_SOURCE=2. |
6182 |
liblzma: Make Block decoder catch certain types of errors better. |
4342 |
|
6183 |
|
4343 |
Thanks to Christian Hesse. |
6184 |
Now it limits the input and output buffer sizes that are |
|
|
6185 |
passed to a raw decoder. This way there's no need to check |
6186 |
if the sizes can grow too big or overflow when updating |
6187 |
Compressed Size and Uncompressed Size counts. This also means |
6188 |
that a corrupt file cannot cause the raw decoder to process |
6189 |
useless extra input or output that would exceed the size info |
6190 |
in Block Header (and thus cause LZMA_DATA_ERROR anyway). |
6191 |
|
6192 |
More importantly, now the size information is verified more |
6193 |
carefully in case raw decoder returns LZMA_OK. This doesn't |
6194 |
really matter with the current single-threaded .xz decoder |
6195 |
as the errors would be detected slightly later anyway. But |
6196 |
this helps avoiding corner cases in the upcoming threaded |
6197 |
decompressor, and it might help other Block decoder uses |
6198 |
outside liblzma too. |
6199 |
|
6200 |
The test files bad-1-lzma2-{9,10,11}.xz test these conditions. |
6201 |
With the single-threaded .xz decoder the only difference is |
6202 |
that LZMA_DATA_ERROR is detected in a difference place now. |
4344 |
|
6203 |
|
4345 |
src/xz/file_io.c | 8 +++++++- |
6204 |
src/liblzma/common/block_decoder.c | 79 ++++++++++++++++++++++++++------------ |
4346 |
1 file changed, 7 insertions(+), 1 deletion(-) |
6205 |
1 file changed, 54 insertions(+), 25 deletions(-) |
4347 |
|
6206 |
|
4348 |
commit 1936718bb38ee394bd89836fdd4eabc0beb02443 |
6207 |
commit 555de11873eb00c9b94a8be70645db502e5a9dbd |
4349 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6208 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4350 |
Date: 2013-06-30 19:40:11 +0300 |
6209 |
Date: 2022-02-20 19:38:55 +0200 |
4351 |
|
6210 |
|
4352 |
Update NEWS for 5.0.5. |
6211 |
Tests: Add bad-1-lzma2-11.xz. |
4353 |
|
6212 |
|
4354 |
NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ |
6213 |
tests/files/README | 5 +++++ |
4355 |
1 file changed, 52 insertions(+) |
6214 |
tests/files/bad-1-lzma2-11.xz | Bin 0 -> 64 bytes |
|
|
6215 |
2 files changed, 5 insertions(+) |
4356 |
|
6216 |
|
4357 |
commit a37ae8b5eb6093a530198f109c6f7a538c80ecf0 |
6217 |
commit f0da507f22e7f4e3edb75b45b74d344244ca03fb |
4358 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6218 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4359 |
Date: 2013-06-30 18:02:27 +0300 |
6219 |
Date: 2022-02-18 18:51:10 +0200 |
4360 |
|
6220 |
|
4361 |
Man pages: Use similar syntax for synopsis as in xz. |
6221 |
Translations: Fix po4a failure with the French man page translations. |
4362 |
|
6222 |
|
4363 |
The man pages of lzmainfo, xzmore, and xzdec had similar |
6223 |
Thanks to Mario Blättermann for the patch. |
4364 |
constructs as the man page of xz had before the commit |
|
|
4365 |
eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494. Eric S. Raymond |
4366 |
didn't mention these man pages in his bug report, but |
4367 |
it's nice to be consistent. |
4368 |
|
6224 |
|
4369 |
src/lzmainfo/lzmainfo.1 | 4 ++-- |
6225 |
po4a/fr_FR.po | 6 ++++-- |
4370 |
src/scripts/xzmore.1 | 6 +++--- |
6226 |
1 file changed, 4 insertions(+), 2 deletions(-) |
4371 |
src/xzdec/xzdec.1 | 10 +++++----- |
|
|
4372 |
3 files changed, 10 insertions(+), 10 deletions(-) |
4373 |
|
6227 |
|
4374 |
commit cdba9ddd870ae72fd6219a125662c20ec997f86c |
6228 |
commit f7711d228c3c32395460c82498c60a9f730d0239 |
4375 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6229 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4376 |
Date: 2013-06-29 15:59:13 +0300 |
6230 |
Date: 2022-02-07 01:14:37 +0200 |
4377 |
|
6231 |
|
4378 |
xz: Use non-blocking I/O for the output file. |
6232 |
Translations: Add French translation of man pages. |
4379 |
|
6233 |
|
4380 |
Now both reading and writing should be without |
6234 |
This matches xz-utils 5.2.5-2 in Debian. |
4381 |
race conditions with signals. |
|
|
4382 |
|
6235 |
|
4383 |
They might still be signal handling issues left. |
6236 |
The translation was done by "bubu", proofread by the debian-l10n-french |
4384 |
Signals are blocked during many operations to avoid |
6237 |
mailing list contributors, and submitted to me on the xz-devel mailing |
4385 |
EINTR but it may cause problems e.g. if writing to |
6238 |
list by Jean-Pierre Giraud. Thanks to everyone! |
4386 |
stderr blocks when trying to display an error message. |
|
|
4387 |
|
6239 |
|
4388 |
src/xz/file_io.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++-------- |
6240 |
po4a/fr_FR.po | 3541 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4389 |
1 file changed, 49 insertions(+), 8 deletions(-) |
6241 |
po4a/po4a.conf | 2 +- |
|
|
6242 |
2 files changed, 3542 insertions(+), 1 deletion(-) |
4390 |
|
6243 |
|
4391 |
commit e61a5c95da3fe31281d959e5e842885a8ba2b5bd |
6244 |
commit 6468f7e41a8e9c611e4ba8d34e2175c5dacdbeb4 |
4392 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6245 |
Author: jiat75 <jiat0218@gmail.com> |
4393 |
Date: 2013-06-28 23:56:17 +0300 |
6246 |
Date: 2022-01-28 20:47:55 +0800 |
4394 |
|
6247 |
|
4395 |
xz: Fix return value type in io_write_buf(). |
6248 |
liblzma: Add NULL checks to LZMA and LZMA2 properties encoders. |
4396 |
|
6249 |
|
4397 |
It didn't affect the behavior of the code since -1 |
6250 |
Previously lzma_lzma_props_encode() and lzma_lzma2_props_encode() |
4398 |
becomes true anyway. |
6251 |
assumed that the options pointers must be non-NULL because the |
|
|
6252 |
with these filters the API says it must never be NULL. It is |
6253 |
good to do these checks anyway. |
4399 |
|
6254 |
|
4400 |
src/xz/file_io.c | 2 +- |
6255 |
src/liblzma/lzma/lzma2_encoder.c | 3 +++ |
4401 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6256 |
src/liblzma/lzma/lzma_encoder.c | 3 +++ |
|
|
6257 |
2 files changed, 6 insertions(+) |
4402 |
|
6258 |
|
4403 |
commit 9dc319eabb34a826f4945f91c71620f14a60e9e2 |
6259 |
commit 2523c30705f49eabd27b854aa656ae87cc224808 |
4404 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6260 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4405 |
Date: 2013-06-28 23:48:05 +0300 |
6261 |
Date: 2022-02-06 23:19:32 +0200 |
4406 |
|
6262 |
|
4407 |
xz: Use the self-pipe trick to avoid a race condition with signals. |
6263 |
liblzma: Fix uint64_t vs. size_t confusion. |
4408 |
|
6264 |
|
4409 |
It is possible that a signal to set user_abort arrives right |
6265 |
This broke 32-bit builds due to a pointer type mismatch. |
4410 |
before a blocking system call is made. In this case the call |
|
|
4411 |
may block until another signal arrives, while the wanted |
4412 |
behavior is to make xz clean up and exit as soon as possible. |
4413 |
|
6266 |
|
4414 |
After this commit, the race condition is avoided with the |
6267 |
This bug was introduced with the output-size-limited encoding |
4415 |
input side which already uses non-blocking I/O. The output |
6268 |
in 625f4c7c99b2fcc4db9e7ab2deb4884790e2e17c. |
4416 |
side still uses blocking I/O and thus has the race condition. |
6269 |
|
|
|
6270 |
Thanks to huangqinjin for the bug report. |
4417 |
|
6271 |
|
4418 |
src/xz/file_io.c | 56 ++++++++++++++++++++++++++++++++++++++++++++------------ |
6272 |
src/liblzma/rangecoder/range_encoder.h | 11 +++++++---- |
4419 |
src/xz/file_io.h | 8 ++++++++ |
6273 |
1 file changed, 7 insertions(+), 4 deletions(-) |
4420 |
src/xz/signals.c | 5 +++++ |
|
|
4421 |
3 files changed, 57 insertions(+), 12 deletions(-) |
4422 |
|
6274 |
|
4423 |
commit 3541bc79d0cfabc0ad155c99bfdad1289f17fec3 |
6275 |
commit 2bd36c91d03e03b31a4f12fd0afc100ae32d66e2 |
|
|
6276 |
Author: huangqinjin <huangqinjin@gmail.com> |
6277 |
Date: 2021-12-13 20:49:21 +0800 |
6278 |
|
6279 |
CMake: Keep compatible with Windows 95 for 32-bit build. |
6280 |
|
6281 |
CMakeLists.txt | 12 +++++++++++- |
6282 |
1 file changed, 11 insertions(+), 1 deletion(-) |
6283 |
|
6284 |
commit 2024fbf2794885277d05378d40b2b8015a7c3b40 |
4424 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6285 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4425 |
Date: 2013-06-28 22:51:02 +0300 |
6286 |
Date: 2021-11-13 21:04:05 +0200 |
4426 |
|
6287 |
|
4427 |
xz: Use non-blocking I/O for the input file. |
6288 |
xzgrep: Update man page timestamp. |
4428 |
|
6289 |
|
4429 |
src/xz/file_io.c | 156 +++++++++++++++++++++++++++++++++++++++---------------- |
6290 |
src/scripts/xzgrep.1 | 2 +- |
4430 |
1 file changed, 111 insertions(+), 45 deletions(-) |
6291 |
1 file changed, 1 insertion(+), 1 deletion(-) |
4431 |
|
6292 |
|
4432 |
commit 78673a08bed5066c81e8a8e90d20e670c28ecfd5 |
6293 |
commit 400e7a239a53282cedaad927a41f3463d7f542e5 |
4433 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6294 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4434 |
Date: 2013-06-28 18:46:13 +0300 |
6295 |
Date: 2021-11-13 18:23:24 +0200 |
4435 |
|
6296 |
|
4436 |
xz: Remove an outdated NetBSD-specific comment. |
6297 |
Update THANKS. |
|
|
6298 |
|
6299 |
THANKS | 1 + |
6300 |
1 file changed, 1 insertion(+) |
6301 |
|
6302 |
commit 3a512c7787b2642ca946f4adc6e9a0a5d9b0d5a0 |
6303 |
Author: Ville Skyttä <ville.skytta@iki.fi> |
6304 |
Date: 2021-11-13 10:11:57 +0200 |
6305 |
|
6306 |
xzgrep: use `grep -E/-F` instead of `egrep` and `fgrep` |
4437 |
|
6307 |
|
4438 |
Nowadays errno == EFTYPE is documented in open(2). |
6308 |
`egrep` and `fgrep` have been deprecated in GNU grep since 2007, and in |
|
|
6309 |
current post 3.7 Git they have been made to emit obsolescence warnings: |
6310 |
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1 |
4439 |
|
6311 |
|
4440 |
src/xz/file_io.c | 4 ---- |
6312 |
src/scripts/xzgrep.1 | 8 ++++---- |
4441 |
1 file changed, 4 deletions(-) |
6313 |
src/scripts/xzgrep.in | 4 ++-- |
|
|
6314 |
2 files changed, 6 insertions(+), 6 deletions(-) |
4442 |
|
6315 |
|
4443 |
commit a616fdad34b48b2932ef03fb87309dcc8b829527 |
6316 |
commit edf525e2b1840dcaf377df472c67d8f11f8ace1b |
4444 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6317 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4445 |
Date: 2013-06-28 18:09:47 +0300 |
6318 |
Date: 2021-10-28 23:02:11 +0300 |
4446 |
|
6319 |
|
4447 |
xz: Fix error detection of fcntl(fd, F_SETFL, flags) calls. |
6320 |
Bump the version number for 5.3.2alpha. |
4448 |
|
|
|
4449 |
POSIX says that fcntl(fd, F_SETFL, flags) returns -1 on |
4450 |
error and "other than -1" on success. This is how it is |
4451 |
documented e.g. on OpenBSD too. On Linux, success with |
4452 |
F_SETFL is always 0 (at least accorinding to fcntl(2) |
4453 |
from man-pages 3.51). |
4454 |
|
6321 |
|
4455 |
src/xz/file_io.c | 8 ++++---- |
6322 |
src/liblzma/api/lzma/version.h | 2 +- |
4456 |
1 file changed, 4 insertions(+), 4 deletions(-) |
6323 |
src/liblzma/liblzma.map | 2 +- |
|
|
6324 |
2 files changed, 2 insertions(+), 2 deletions(-) |
4457 |
|
6325 |
|
4458 |
commit 4a08a6e4c61c65ab763ab314100a6d7a3bb89298 |
6326 |
commit ea8c948655a86290524efe59cff067e06a886709 |
4459 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6327 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4460 |
Date: 2013-06-28 17:36:47 +0300 |
6328 |
Date: 2021-10-28 22:59:52 +0300 |
4461 |
|
6329 |
|
4462 |
xz: Fix use of wrong variable in a fcntl() call. |
6330 |
Add NEWS for 5.3.2alpha. |
4463 |
|
|
|
4464 |
Due to a wrong variable name, when writing a sparse file |
4465 |
to standard output, *all* file status flags were cleared |
4466 |
(to the extent the operating system allowed it) instead of |
4467 |
only clearing the O_APPEND flag. In practice this worked |
4468 |
fine in the common situations on GNU/Linux, but I didn't |
4469 |
check how it behaved elsewhere. |
4470 |
|
4471 |
The original flags were still restored correctly. I still |
4472 |
changed the code to use a separate boolean variable to |
4473 |
indicate when the flags should be restored instead of |
4474 |
relying on a special value in stdout_flags. |
4475 |
|
6331 |
|
4476 |
src/xz/file_io.c | 24 +++++++++++++----------- |
6332 |
NEWS | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4477 |
1 file changed, 13 insertions(+), 11 deletions(-) |
6333 |
1 file changed, 86 insertions(+) |
4478 |
|
6334 |
|
4479 |
commit b790b435daa3351067f80a5973b647f8d55367a2 |
6335 |
commit 52435f302f4724157ec50b4210cbe42b285c3cbc |
4480 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6336 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4481 |
Date: 2013-06-28 14:55:37 +0300 |
6337 |
Date: 2021-10-27 23:27:48 +0300 |
4482 |
|
6338 |
|
4483 |
xz: Fix assertion related to posix_fadvise(). |
6339 |
Update THANKS. |
4484 |
|
|
|
4485 |
Input file can be a FIFO or something else that doesn't |
4486 |
support posix_fadvise() so don't check the return value |
4487 |
even with an assertion. Nothing bad happens if the call |
4488 |
to posix_fadvise() fails. |
4489 |
|
6340 |
|
4490 |
src/xz/file_io.c | 10 ++-------- |
6341 |
THANKS | 1 + |
4491 |
1 file changed, 2 insertions(+), 8 deletions(-) |
6342 |
1 file changed, 1 insertion(+) |
4492 |
|
6343 |
|
4493 |
commit 84d2da6c9dc252f441deb7626c2522202b005d4d |
6344 |
commit f2aea1d5a504b2021bf47a238390e4f12bdd518d |
4494 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6345 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4495 |
Date: 2013-06-26 13:30:57 +0300 |
6346 |
Date: 2021-10-27 23:23:11 +0300 |
4496 |
|
6347 |
|
4497 |
xz: Check the value of lzma_stream_flags.version in --list. |
6348 |
xz: Change the coding style of the previous commit. |
4498 |
|
6349 |
|
4499 |
It is a no-op for now, but if an old xz version is used |
6350 |
It isn't any better now but it's consistent with |
4500 |
together with a newer liblzma that supports something new, |
6351 |
the rest of the code base. |
4501 |
then this check becomes important and will stop the old xz |
|
|
4502 |
from trying to parse files that it won't understand. |
4503 |
|
6352 |
|
4504 |
src/xz/list.c | 14 ++++++++++++++ |
6353 |
src/xz/file_io.c | 11 ++++++----- |
4505 |
1 file changed, 14 insertions(+) |
6354 |
1 file changed, 6 insertions(+), 5 deletions(-) |
4506 |
|
6355 |
|
4507 |
commit 9376f5f8f762296f2173d61af9101112c36f38c0 |
6356 |
commit 892b16cc282f5b4e1c49871b326f4db25c5b4d81 |
|
|
6357 |
Author: Alexander Bluhm <alexander.bluhm@gmx.net> |
6358 |
Date: 2021-10-05 23:33:16 +0200 |
6359 |
|
6360 |
xz: Avoid fchown(2) failure. |
6361 |
|
6362 |
OpenBSD does not allow to change the group of a file if the user |
6363 |
does not belong to this group. In contrast to Linux, OpenBSD also |
6364 |
fails if the new group is the same as the old one. Do not call |
6365 |
fchown(2) in this case, it would change nothing anyway. |
6366 |
|
6367 |
This fixes an issue with Perl Alien::Build module. |
6368 |
https://github.com/PerlAlien/Alien-Build/issues/62 |
6369 |
|
6370 |
src/xz/file_io.c | 8 +++++++- |
6371 |
1 file changed, 7 insertions(+), 1 deletion(-) |
6372 |
|
6373 |
commit 2b509c868cae3988bf21cd693fbf9021cdc85628 |
4508 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6374 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4509 |
Date: 2013-06-26 12:17:00 +0300 |
6375 |
Date: 2021-09-17 17:31:11 +0300 |
4510 |
|
6376 |
|
4511 |
Build: Require Automake 1.12 and use serial-tests option. |
6377 |
liblzma: Fix liblzma.map for the lzma_microlzma_* symbols. |
4512 |
|
6378 |
|
4513 |
It should actually still work with Automake 1.10 if |
6379 |
This should have been part of d267d109c370a40b502e73f8664b154b15e4f253. |
4514 |
the serial-tests option is removed. Automake 1.13 started |
|
|
4515 |
using parallel tests by default and the option to get |
4516 |
the old behavior isn't supported before 1.12. |
4517 |
|
6380 |
|
4518 |
At least for now, parallel tests don't improve anything |
6381 |
Thanks to Gao Xiang. |
4519 |
in XZ Utils but they hide the progress output from |
|
|
4520 |
test_compress.sh. |
4521 |
|
6382 |
|
4522 |
configure.ac | 4 +++- |
6383 |
src/liblzma/liblzma.map | 4 ++-- |
4523 |
1 file changed, 3 insertions(+), 1 deletion(-) |
6384 |
1 file changed, 2 insertions(+), 2 deletions(-) |
4524 |
|
6385 |
|
4525 |
commit b7e200d7bd0a3c7c171c13ad37d68296d6f73374 |
6386 |
commit cacb06a954b58255dfc084a0bc9708f43a0fd6d6 |
4526 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6387 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4527 |
Date: 2013-06-23 18:59:13 +0300 |
6388 |
Date: 2021-09-09 22:21:07 +0300 |
4528 |
|
6389 |
|
4529 |
Update THANKS. |
6390 |
Update THANKS. |
4530 |
|
6391 |
|
4531 |
THANKS | 1 + |
6392 |
THANKS | 1 + |
4532 |
1 file changed, 1 insertion(+) |
6393 |
1 file changed, 1 insertion(+) |
4533 |
|
6394 |
|
4534 |
commit 46540e4c10923e363741ff5aab99e79fc0ce6ee8 |
6395 |
commit 6928aac9da6ba612780b9f72ba1d6ecbe1e8b54e |
4535 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6396 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4536 |
Date: 2013-06-23 18:57:23 +0300 |
6397 |
Date: 2021-09-09 21:41:51 +0300 |
4537 |
|
6398 |
|
4538 |
liblzma: Avoid a warning about a shadowed variable. |
6399 |
liblzma: Use _MSVC_LANG to detect when "noexcept" can be used with MSVC. |
4539 |
|
6400 |
|
4540 |
On Mac OS X wait() is declared in <sys/wait.h> that |
6401 |
By default, MSVC always sets __cplusplus to 199711L. The real |
4541 |
we include one way or other so don't use "wait" as |
6402 |
C++ standard version is available in _MSVC_LANG (or one could |
4542 |
a variable name. |
6403 |
use /Zc:__cplusplus to set __cplusplus correctly). |
4543 |
|
6404 |
|
4544 |
Thanks to Christian Kujau. |
6405 |
Fixes <https://sourceforge.net/p/lzmautils/discussion/708858/thread/f6bc3b108a/>. |
|
|
6406 |
|
6407 |
Thanks to Dan Weiss. |
4545 |
|
6408 |
|
4546 |
src/liblzma/common/stream_encoder_mt.c | 4 ++-- |
6409 |
src/liblzma/api/lzma.h | 3 ++- |
|
|
6410 |
1 file changed, 2 insertions(+), 1 deletion(-) |
6411 |
|
6412 |
commit d267d109c370a40b502e73f8664b154b15e4f253 |
6413 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6414 |
Date: 2021-09-05 20:38:12 +0300 |
6415 |
|
6416 |
liblzma: Rename EROFS LZMA to MicroLZMA. |
6417 |
|
6418 |
It still exists primarily for EROFS but MicroLZMA is |
6419 |
a more generic name (that hopefully doesn't clash with |
6420 |
something that already exists). |
6421 |
|
6422 |
src/liblzma/api/lzma/container.h | 33 +++++++++++++--------- |
6423 |
src/liblzma/common/Makefile.inc | 4 +-- |
6424 |
.../{erofs_decoder.c => microlzma_decoder.c} | 32 ++++++++++----------- |
6425 |
.../{erofs_encoder.c => microlzma_encoder.c} | 30 ++++++++++---------- |
6426 |
4 files changed, 52 insertions(+), 47 deletions(-) |
6427 |
|
6428 |
commit 3247e95115acb95bc27f41e8cf4501db5b0b4309 |
6429 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6430 |
Date: 2021-06-04 19:02:38 +0300 |
6431 |
|
6432 |
xzdiff: Update the man page about the exit status. |
6433 |
|
6434 |
This was forgotten from 194029ffaf74282a81f0c299c07f73caca3232ca. |
6435 |
|
6436 |
src/scripts/xzdiff.1 | 4 ++-- |
4547 |
1 file changed, 2 insertions(+), 2 deletions(-) |
6437 |
1 file changed, 2 insertions(+), 2 deletions(-) |
4548 |
|
6438 |
|
4549 |
commit ebb501ec73cecc546c67117dd01b5e33c90bfb4a |
6439 |
commit 96f5a28a46fc93ac4e296808ac0f8631d05498bc |
4550 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6440 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4551 |
Date: 2013-06-23 17:36:47 +0300 |
6441 |
Date: 2021-06-04 18:52:48 +0300 |
4552 |
|
6442 |
|
4553 |
xz: Validate Uncompressed Size from Block Header in list.c. |
6443 |
xzless: Fix less(1) version detection when it contains a dot. |
4554 |
|
6444 |
|
4555 |
This affects only "xz -lvv". Normal decompression with xz |
6445 |
Sometimes the version number from "less -V" contains a dot, |
4556 |
already detected if Block Header and Index had mismatched |
6446 |
sometimes not. xzless failed detect the version number when |
4557 |
Uncompressed Size fields. So this just makes "xz -lvv" |
6447 |
it does contain a dot. This fixes it. |
4558 |
show such files as corrupt instead of showing the |
6448 |
|
4559 |
Uncompressed Size from Index. |
6449 |
Thanks to nick87720z for reporting this. Apparently it had been |
|
|
6450 |
reported here <https://bugs.gentoo.org/489362> in 2013. |
4560 |
|
6451 |
|
4561 |
src/xz/list.c | 14 +++++++++++++- |
6452 |
src/scripts/xzless.in | 2 +- |
4562 |
1 file changed, 13 insertions(+), 1 deletion(-) |
6453 |
1 file changed, 1 insertion(+), 1 deletion(-) |
4563 |
|
6454 |
|
4564 |
commit c09e91dd236d3cabee0fc48312b3dc8cceae41ab |
6455 |
commit 5fb5212d816addbc523d0798cb482fdd0484f8fa |
4565 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6456 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4566 |
Date: 2013-06-21 22:08:11 +0300 |
6457 |
Date: 2021-04-11 19:58:10 +0300 |
4567 |
|
6458 |
|
4568 |
Update THANKS. |
6459 |
Update THANKS. |
4569 |
|
6460 |
|
4570 |
THANKS | 2 ++ |
6461 |
THANKS | 2 ++ |
4571 |
1 file changed, 2 insertions(+) |
6462 |
1 file changed, 2 insertions(+) |
4572 |
|
6463 |
|
4573 |
commit eb6ca9854b8eb9fbf72497c1cf608d6b19d2d494 |
6464 |
commit fc3d3a7296ef58bb799a73943636b8bfd95339f7 |
4574 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6465 |
Author: Ivan A. Melnikov <iv@altlinux.org> |
4575 |
Date: 2013-06-21 22:04:45 +0300 |
6466 |
Date: 2021-04-09 11:45:10 +0300 |
4576 |
|
6467 |
|
4577 |
xz: Make the man page more friendly to doclifter. |
6468 |
Reduce maximum possible memory limit on MIPS32 |
4578 |
|
6469 |
|
4579 |
Thanks to Eric S. Raymond. |
6470 |
Due to architectural limitations, address space available to a single |
|
|
6471 |
userspace process on MIPS32 is limited to 2 GiB, not 4, even on systems |
6472 |
that have more physical RAM -- e.g. 64-bit systems with 32-bit |
6473 |
userspace, or systems that use XPA (an extension similar to x86's PAE). |
6474 |
|
6475 |
So, for MIPS32, we have to impose stronger memory limits. I've chosen |
6476 |
2000MiB to give the process some headroom. |
4580 |
|
6477 |
|
4581 |
src/xz/xz.1 | 7 ++++--- |
6478 |
src/xz/hardware.c | 6 ++++++ |
4582 |
1 file changed, 4 insertions(+), 3 deletions(-) |
6479 |
1 file changed, 6 insertions(+) |
4583 |
|
6480 |
|
4584 |
commit 0c0a1947e6ad90a0a10b7a5c39f6ab99a0aa5c93 |
6481 |
commit e7da44d5151e21f153925781ad29334ae0786101 |
4585 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6482 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4586 |
Date: 2013-06-21 21:54:59 +0300 |
6483 |
Date: 2021-02-13 23:31:27 +0200 |
4587 |
|
6484 |
|
4588 |
xz: A couple of man page fixes. |
6485 |
CMake: Use interface library for better FindLibLZMA compatibility. |
4589 |
|
6486 |
|
4590 |
Now the interaction of presets and custom filter chains |
6487 |
https://www.mail-archive.com/xz-devel@tukaani.org/msg00446.html |
4591 |
is described correctly. Earlier it contradicted itself. |
|
|
4592 |
|
6488 |
|
4593 |
Thanks to DevHC who reported these issues on IRC to me |
6489 |
Thanks to Markus Rickert. |
4594 |
on 2012-12-14. |
|
|
4595 |
|
6490 |
|
4596 |
src/xz/xz.1 | 35 +++++++++++++++++++++++------------ |
6491 |
CMakeLists.txt | 11 +++++++++-- |
4597 |
1 file changed, 23 insertions(+), 12 deletions(-) |
6492 |
1 file changed, 9 insertions(+), 2 deletions(-) |
4598 |
|
6493 |
|
4599 |
commit 2fcda89939c903106c429e109083d43d894049e0 |
6494 |
commit a61dd82ada39030f41b4ffca9ea551714908bedc |
4600 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6495 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4601 |
Date: 2013-06-21 21:50:26 +0300 |
6496 |
Date: 2021-01-30 18:36:04 +0200 |
4602 |
|
6497 |
|
4603 |
xz: Fix interaction between preset and custom filter chains. |
6498 |
CMake: Try to improve compatibility with the FindLibLZMA module. |
4604 |
|
6499 |
|
4605 |
There was somewhat illogical behavior when --extreme was |
6500 |
The naming conflict with FindLibLZMA module gets worse. |
4606 |
specified and mixed with custom filter chains. |
6501 |
Not avoiding it in the first place was stupid. |
4607 |
|
6502 |
|
4608 |
Before this commit, "xz -9 --lzma2 -e" was equivalent |
6503 |
Normally find_package(LibLZMA) will use the module and |
4609 |
to "xz --lzma2". After it is equivalent to "xz -6e" |
6504 |
find_package(liblzma 5.2.5 REQUIRED CONFIG) will use the config |
4610 |
(all earlier preset options get forgotten when a custom |
6505 |
file even with a case insensitive file system. However, if |
4611 |
filter chain is specified and the default preset is 6 |
6506 |
CMAKE_FIND_PACKAGE_PREFER_CONFIG is TRUE and the file system |
4612 |
to which -e is applied). I find this less illogical. |
6507 |
is case insensitive, find_package(LibLZMA) will find our liblzma |
|
|
6508 |
config file instead of using FindLibLZMA module. |
4613 |
|
6509 |
|
4614 |
This also affects the meaning of "xz -9e --lzma2 -7". |
6510 |
One big problem with this is that FindLibLZMA uses |
4615 |
Earlier it was equivalent to "xz -7e" (the -e specified |
6511 |
LibLZMA::LibLZMA and we use liblzma::liblzma as the target |
4616 |
before a custom filter chain wasn't forgotten). Now it |
6512 |
name. With target names CMake happens to be case sensitive. |
4617 |
is "xz -7". Note that "xz -7e" still is the same as "xz -e7". |
6513 |
To workaround this, this commit adds |
4618 |
|
6514 |
|
4619 |
Hopefully very few cared about this in the first place, |
6515 |
add_library(LibLZMA::LibLZMA ALIAS liblzma::liblzma) |
4620 |
so pretty much no one should even notice this change. |
|
|
4621 |
|
6516 |
|
4622 |
Thanks to Conley Moorhous. |
6517 |
to the config file. Then both spellings work. |
|
|
6518 |
|
6519 |
To make the behavior consistent between case sensitive and |
6520 |
insensitive file systems, the config and related files are |
6521 |
renamed from liblzmaConfig.cmake to liblzma-config.cmake style. |
6522 |
With this style CMake looks for lowercase version of the package |
6523 |
name so find_package(LiBLzmA 5.2.5 REQUIRED CONFIG) will work |
6524 |
to find our config file. |
6525 |
|
6526 |
There are other differences between our config file and |
6527 |
FindLibLZMA so it's still possible that things break for |
6528 |
reasons other than the spelling of the target name. Hopefully |
6529 |
those situations aren't too common. |
6530 |
|
6531 |
When the config file is available, it should always give as good or |
6532 |
better results as FindLibLZMA so this commit doesn't affect the |
6533 |
recommendation to use find_package(liblzma 5.2.5 REQUIRED CONFIG) |
6534 |
which explicitly avoids FindLibLZMA. |
6535 |
|
6536 |
Thanks to Markus Rickert. |
4623 |
|
6537 |
|
4624 |
src/xz/coder.c | 35 +++++++++++++++++++++-------------- |
6538 |
CMakeLists.txt | 21 +++++++++++++-------- |
4625 |
1 file changed, 21 insertions(+), 14 deletions(-) |
6539 |
1 file changed, 13 insertions(+), 8 deletions(-) |
4626 |
|
6540 |
|
4627 |
commit 97379c5ea758da3f8b0bc444d5f7fa43753ce610 |
6541 |
commit 5b7bc1b8ae766a76710ca1b99f909cf52c697f05 |
4628 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6542 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4629 |
Date: 2013-04-27 22:07:46 +0300 |
6543 |
Date: 2021-01-29 21:19:43 +0200 |
4630 |
|
6544 |
|
4631 |
Build: Use -Wvla with GCC if supported. |
6545 |
Update THANKS. |
4632 |
|
|
|
4633 |
Variable-length arrays are mandatory in C99 but optional in C11. |
4634 |
The code doesn't currently use any VLAs and it shouldn't in the |
4635 |
future either to stay compatible with C11 without requiring any |
4636 |
optional C11 features. |
4637 |
|
6546 |
|
4638 |
configure.ac | 1 + |
6547 |
THANKS | 1 + |
4639 |
1 file changed, 1 insertion(+) |
6548 |
1 file changed, 1 insertion(+) |
4640 |
|
6549 |
|
4641 |
commit 8957c58609d3987c58aa72b96c436cf565cc4917 |
6550 |
commit 6c6f0db340dcb8bb424411cedba713405d55f6b8 |
4642 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6551 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4643 |
Date: 2013-04-15 19:29:09 +0300 |
6552 |
Date: 2021-01-29 21:19:08 +0200 |
4644 |
|
6553 |
|
4645 |
xzdec: Improve the --help message. |
6554 |
liblzma: Fix unitialized variable. |
4646 |
|
6555 |
|
4647 |
The options are now ordered in the same order as in xz's help |
6556 |
This was introduced two weeks ago in the commit |
4648 |
message. |
6557 |
625f4c7c99b2fcc4db9e7ab2deb4884790e2e17c. |
4649 |
|
6558 |
|
4650 |
Descriptions were added to the options that are ignored. |
6559 |
Thanks to Nathan Moinvaziri. |
4651 |
I left them in parenthesis even if it looks a bit weird |
|
|
4652 |
because I find it easier to spot the ignored vs. non-ignored |
4653 |
options from the list that way. |
4654 |
|
6560 |
|
4655 |
src/xzdec/xzdec.c | 10 +++++----- |
6561 |
src/liblzma/lzma/lzma_encoder.c | 1 + |
4656 |
1 file changed, 5 insertions(+), 5 deletions(-) |
6562 |
1 file changed, 1 insertion(+) |
4657 |
|
6563 |
|
4658 |
commit ed886e1a92534a24401d0e99c11f1dcff3b5220a |
6564 |
commit bb1d5c1fdd30550d4221ecd336e0be1206132a5c |
4659 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6565 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4660 |
Date: 2013-04-05 19:25:40 +0300 |
6566 |
Date: 2021-01-24 22:32:41 +0200 |
4661 |
|
6567 |
|
4662 |
Update THANKS. |
6568 |
Tests: Add bad-1-lzma2-10.xz and also modify -9.xz. |
4663 |
|
6569 |
|
4664 |
THANKS | 2 ++ |
6570 |
tests/files/README | 11 +++++++++-- |
4665 |
1 file changed, 2 insertions(+) |
6571 |
tests/files/bad-1-lzma2-10.xz | Bin 0 -> 60 bytes |
|
|
6572 |
tests/files/bad-1-lzma2-9.xz | Bin 72 -> 72 bytes |
6573 |
3 files changed, 9 insertions(+), 2 deletions(-) |
4666 |
|
6574 |
|
4667 |
commit 5019413a055ce29e660dbbf15e02443cb5a26c59 |
6575 |
commit 6b8abc84a5469792e0355d0bfc0784d41cfdfef7 |
4668 |
Author: Jeff Bastian <jbastian@redhat.com> |
6576 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4669 |
Date: 2013-04-03 13:59:17 +0200 |
6577 |
Date: 2021-01-24 19:22:35 +0200 |
4670 |
|
6578 |
|
4671 |
xzgrep: make the '-h' option to be --no-filename equivalent |
6579 |
liblzma: Fix a wrong comment in stream_encoder_mt.c. |
4672 |
|
|
|
4673 |
* src/scripts/xzgrep.in: Accept the '-h' option in argument parsing. |
4674 |
|
6580 |
|
4675 |
src/scripts/xzgrep.in | 2 +- |
6581 |
src/liblzma/common/stream_encoder_mt.c | 10 +++++++--- |
4676 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6582 |
1 file changed, 7 insertions(+), 3 deletions(-) |
4677 |
|
6583 |
|
4678 |
commit 5ea900cb5ad862bca81316729f92357c1fc040ce |
6584 |
commit 939fc5ed654aac25fe0c8684b2df8dbeadb2de1e |
4679 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6585 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4680 |
Date: 2013-03-23 22:25:15 +0200 |
6586 |
Date: 2021-01-24 18:51:51 +0200 |
4681 |
|
6587 |
|
4682 |
liblzma: Be less picky in lzma_alone_decoder(). |
6588 |
Tests: Add bad-1-lzma2-9.xz. |
4683 |
|
|
|
4684 |
To avoid false positives when detecting .lzma files, |
4685 |
rare values in dictionary size and uncompressed size fields |
4686 |
were rejected. They will still be rejected if .lzma files |
4687 |
are decoded with lzma_auto_decoder(), but when using |
4688 |
lzma_alone_decoder() directly, such files will now be accepted. |
4689 |
Hopefully this is an OK compromise. |
4690 |
|
4691 |
This doesn't affect xz because xz still has its own file |
4692 |
format detection code. This does affect lzmadec though. |
4693 |
So after this commit lzmadec will accept files that xz or |
4694 |
xz-emulating-lzma doesn't. |
4695 |
|
4696 |
NOTE: lzma_alone_decoder() still won't decode all .lzma files |
4697 |
because liblzma's LZMA decoder doesn't support lc + lp > 4. |
4698 |
|
4699 |
Reported here: |
4700 |
http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827 |
4701 |
|
6589 |
|
4702 |
src/liblzma/common/alone_decoder.c | 22 ++++++++++++++-------- |
6590 |
tests/files/README | 4 ++++ |
4703 |
src/liblzma/common/alone_decoder.h | 5 +++-- |
6591 |
tests/files/bad-1-lzma2-9.xz | Bin 0 -> 72 bytes |
4704 |
src/liblzma/common/auto_decoder.c | 2 +- |
6592 |
2 files changed, 4 insertions(+) |
4705 |
3 files changed, 18 insertions(+), 11 deletions(-) |
|
|
4706 |
|
6593 |
|
4707 |
commit bb117fffa84604b6e3811b068c80db82bf7f7b05 |
6594 |
commit fdd30032f8531ac89519b48c21d810ecf06825f6 |
4708 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6595 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4709 |
Date: 2013-03-23 21:55:13 +0200 |
6596 |
Date: 2021-01-24 17:02:00 +0200 |
4710 |
|
6597 |
|
4711 |
liblzma: Use lzma_block_buffer_bound64() in threaded encoder. |
6598 |
Tests: Add bad-1-check-crc32-2.xz. |
|
|
6599 |
|
6600 |
tests/files/README | 7 +++++++ |
6601 |
tests/files/bad-1-check-crc32-2.xz | Bin 0 -> 72 bytes |
6602 |
2 files changed, 7 insertions(+) |
6603 |
|
6604 |
commit db465419ae26ec7fb9b9472183911ff521620c77 |
6605 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6606 |
Date: 2021-01-17 19:20:50 +0200 |
6607 |
|
6608 |
liblzma: In EROFS LZMA decoder, verify that comp_size matches at the end. |
4712 |
|
6609 |
|
4713 |
Now it uses lzma_block_uncomp_encode() if the data doesn't |
6610 |
When the uncompressed size is known to be exact, after decompressing |
4714 |
fit into the space calculated by lzma_block_buffer_bound64(). |
6611 |
the stream exactly comp_size bytes of input must have been consumed. |
|
|
6612 |
This is a minor improvement to error detection. |
4715 |
|
6613 |
|
4716 |
src/liblzma/common/stream_encoder_mt.c | 66 +++++++++++++++++++++++++--------- |
6614 |
src/liblzma/common/erofs_decoder.c | 7 ++++++- |
4717 |
1 file changed, 50 insertions(+), 16 deletions(-) |
6615 |
1 file changed, 6 insertions(+), 1 deletion(-) |
4718 |
|
6616 |
|
4719 |
commit e572e123b55b29527e54ce5f0807f115481d78b9 |
6617 |
commit 774cc0118ba2496581cb2621505a04bb6598cc75 |
4720 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6618 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4721 |
Date: 2013-03-23 21:51:38 +0200 |
6619 |
Date: 2021-01-17 18:53:34 +0200 |
4722 |
|
6620 |
|
4723 |
liblzma: Fix another deadlock in the threaded encoder. |
6621 |
liblzma: Make EROFS LZMA decoder work when exact uncomp_size isn't known. |
4724 |
|
6622 |
|
4725 |
This race condition could cause a deadlock if lzma_end() was |
6623 |
The caller must still not specify an uncompressed size bigger |
4726 |
called before finishing the encoding. This can happen with |
6624 |
than the actual uncompressed size. |
4727 |
xz with debugging enabled (non-debugging version doesn't |
6625 |
|
4728 |
call lzma_end() before exiting). |
6626 |
As a downside, this now needs the exact compressed size. |
4729 |
|
6627 |
|
4730 |
src/liblzma/common/stream_encoder_mt.c | 9 ++++++--- |
6628 |
src/liblzma/api/lzma/container.h | 23 ++++++++--- |
4731 |
1 file changed, 6 insertions(+), 3 deletions(-) |
6629 |
src/liblzma/common/erofs_decoder.c | 80 ++++++++++++++++++++++++++++++++++---- |
|
|
6630 |
2 files changed, 91 insertions(+), 12 deletions(-) |
4732 |
|
6631 |
|
4733 |
commit b465da5988dd59ad98fda10c2e4ea13d0b9c73bc |
6632 |
commit 421b0aa352da244075db10205cf33712f91b9835 |
4734 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6633 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4735 |
Date: 2013-03-23 19:17:33 +0200 |
6634 |
Date: 2021-01-14 20:57:11 +0200 |
4736 |
|
6635 |
|
4737 |
liblzma: Add lzma_block_uncomp_encode(). |
6636 |
liblzma: Fix missing normalization in rc_encode_dummy(). |
4738 |
|
6637 |
|
4739 |
This also adds a new internal function |
6638 |
Without this fix it could attempt to create too much output. |
4740 |
lzma_block_buffer_bound64() which is similar to |
|
|
4741 |
lzma_block_buffer_bound() but uses uint64_t instead |
4742 |
of size_t. |
4743 |
|
6639 |
|
4744 |
src/liblzma/api/lzma/block.h | 18 ++++++ |
6640 |
src/liblzma/rangecoder/range_encoder.h | 7 ++++++- |
4745 |
src/liblzma/common/block_buffer_encoder.c | 94 +++++++++++++++++++++---------- |
6641 |
1 file changed, 6 insertions(+), 1 deletion(-) |
4746 |
src/liblzma/common/block_buffer_encoder.h | 24 ++++++++ |
|
|
4747 |
src/liblzma/liblzma.map | 1 + |
4748 |
4 files changed, 106 insertions(+), 31 deletions(-) |
4749 |
|
6642 |
|
4750 |
commit 9e6dabcf22ef4679f4faaae15ebd5b137ae2fad1 |
6643 |
commit 601ec0311e769fc704daaaa7dac0ca840aff080e |
4751 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6644 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4752 |
Date: 2013-03-05 19:14:50 +0200 |
6645 |
Date: 2021-01-14 20:07:01 +0200 |
4753 |
|
6646 |
|
4754 |
Avoid unneeded use of awk in xzless. |
6647 |
liblzma: Add EROFS LZMA encoder and decoder. |
4755 |
|
6648 |
|
4756 |
Use "read" instead of "awk" in xzless to get the version |
6649 |
Right now this is just a planned extra-compact format for use |
4757 |
number of "less". The need for awk was introduced in |
6650 |
in the EROFS file system in Linux. At this point it's possible |
4758 |
the commit db5c1817fabf7cbb9e4087b1576eb26f0747338e. |
6651 |
that the format will either change or be abandoned and removed |
|
|
6652 |
completely. |
4759 |
|
6653 |
|
4760 |
Thanks to Ariel P for the patch. |
6654 |
The special thing about the encoder is that it uses the |
|
|
6655 |
output-size-limited encoding added in the previous commit. |
6656 |
EROFS uses fixed-sized blocks (e.g. 4 KiB) to hold compressed |
6657 |
data so the compressors must be able to create valid streams |
6658 |
that fill the given block size. |
4761 |
|
6659 |
|
4762 |
src/scripts/xzless.in | 3 +-- |
6660 |
src/liblzma/api/lzma/container.h | 76 +++++++++++++++++++ |
4763 |
1 file changed, 1 insertion(+), 2 deletions(-) |
6661 |
src/liblzma/common/Makefile.inc | 2 + |
|
|
6662 |
src/liblzma/common/erofs_decoder.c | 148 +++++++++++++++++++++++++++++++++++++ |
6663 |
src/liblzma/common/erofs_encoder.c | 139 ++++++++++++++++++++++++++++++++++ |
6664 |
src/liblzma/liblzma.map | 2 + |
6665 |
5 files changed, 367 insertions(+) |
4764 |
|
6666 |
|
4765 |
commit e7b424d267a34803db8d92a3515528be2ed45abd |
6667 |
commit 625f4c7c99b2fcc4db9e7ab2deb4884790e2e17c |
4766 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6668 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4767 |
Date: 2012-12-14 20:13:32 +0200 |
6669 |
Date: 2021-01-13 19:16:32 +0200 |
4768 |
|
6670 |
|
4769 |
Make the progress indicator smooth in threaded mode. |
6671 |
liblzma: Add rough support for output-size-limited encoding in LZMA1. |
4770 |
|
6672 |
|
4771 |
This adds lzma_get_progress() to liblzma and takes advantage |
6673 |
With this it is possible to encode LZMA1 data without EOPM so that |
4772 |
of it in xz. |
6674 |
the encoder will encode as much input as it can without exceeding |
|
|
6675 |
the specified output size limit. The resulting LZMA1 stream will |
6676 |
be a normal LZMA1 stream without EOPM. The actual uncompressed size |
6677 |
will be available to the caller via the uncomp_size pointer. |
4773 |
|
6678 |
|
4774 |
lzma_get_progress() collects progress information from |
6679 |
One missing thing is that the LZMA layer doesn't inform the LZ layer |
4775 |
the thread-specific structures so that fairly accurate |
6680 |
when the encoding is finished and thus the LZ may read more input |
4776 |
progress information is available to applications. Adding |
6681 |
when it won't be used. However, this doesn't matter if encoding is |
4777 |
a new function seemed to be a better way than making the |
6682 |
done with a single call (which is the planned use case for now). |
4778 |
information directly available in lzma_stream (like total_in |
6683 |
For proper multi-call encoding this should be improved. |
4779 |
and total_out are) because collecting the information requires |
6684 |
|
4780 |
locking mutexes. It's waste of time to do it more often than |
6685 |
This commit only adds the functionality for internal use. |
4781 |
the up to date information is actually needed by an application. |
6686 |
Nothing uses it yet. |
4782 |
|
6687 |
|
4783 |
src/liblzma/api/lzma/base.h | 22 +++++++++- |
6688 |
src/liblzma/common/common.h | 11 +++ |
4784 |
src/liblzma/common/common.c | 16 +++++++ |
6689 |
src/liblzma/lz/lz_encoder.c | 16 ++++ |
4785 |
src/liblzma/common/common.h | 6 +++ |
6690 |
src/liblzma/lz/lz_encoder.h | 4 + |
4786 |
src/liblzma/common/stream_encoder_mt.c | 77 +++++++++++++++++++++++++++++++--- |
6691 |
src/liblzma/lzma/lzma_encoder.c | 127 +++++++++++++++++++++++--------- |
4787 |
src/liblzma/liblzma.map | 1 + |
6692 |
src/liblzma/lzma/lzma_encoder_private.h | 12 +++ |
4788 |
src/xz/message.c | 20 +++++---- |
6693 |
src/liblzma/rangecoder/range_encoder.h | 111 ++++++++++++++++++++++++++++ |
4789 |
6 files changed, 129 insertions(+), 13 deletions(-) |
6694 |
6 files changed, 246 insertions(+), 35 deletions(-) |
4790 |
|
6695 |
|
4791 |
commit 2ebbb994e367f55f2561aa7c9e7451703c171f2f |
6696 |
commit 9cdabbeea891e8f1e7741b076f7db6ac05ae392a |
4792 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6697 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4793 |
Date: 2012-12-14 11:01:41 +0200 |
6698 |
Date: 2021-01-11 23:57:11 +0200 |
4794 |
|
6699 |
|
4795 |
liblzma: Fix mythread_sync for nested locking. |
6700 |
Scripts: Add zstd support to xzdiff. |
4796 |
|
6701 |
|
4797 |
src/common/mythread.h | 5 +++-- |
6702 |
src/scripts/xzdiff.1 | 6 ++++-- |
4798 |
1 file changed, 3 insertions(+), 2 deletions(-) |
6703 |
src/scripts/xzdiff.in | 16 +++++++++++----- |
|
|
6704 |
2 files changed, 15 insertions(+), 7 deletions(-) |
4799 |
|
6705 |
|
4800 |
commit 4c7e28705f6de418d19cc77324ef301f996e01ff |
6706 |
commit d9ec3add97cf4c999a7f594c6529680227b6c274 |
4801 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6707 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4802 |
Date: 2012-12-13 21:05:36 +0200 |
6708 |
Date: 2021-01-11 23:41:30 +0200 |
4803 |
|
6709 |
|
4804 |
xz: Mention --threads in --help. |
6710 |
Update THANKS. |
4805 |
|
|
|
4806 |
Thanks to Olivier Delhomme for pointing out that this |
4807 |
was still missing. |
4808 |
|
6711 |
|
4809 |
src/xz/message.c | 4 ++++ |
6712 |
THANKS | 2 ++ |
4810 |
1 file changed, 4 insertions(+) |
6713 |
1 file changed, 2 insertions(+) |
4811 |
|
6714 |
|
4812 |
commit db5c1817fabf7cbb9e4087b1576eb26f0747338e |
6715 |
commit 074259f4f3966aeac6edb205fecbc1a8d2b58bb2 |
4813 |
Author: Jonathan Nieder <jrnieder@gmail.com> |
6716 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4814 |
Date: 2012-11-19 00:10:10 -0800 |
6717 |
Date: 2021-01-11 23:41:16 +0200 |
4815 |
|
6718 |
|
4816 |
xzless: Make "less -V" parsing more robust |
6719 |
xz: Make --keep accept symlinks, hardlinks, and setuid/setgid/sticky. |
4817 |
|
6720 |
|
4818 |
In v4.999.9beta~30 (xzless: Support compressed standard input, |
6721 |
Previously this required using --force but that has other |
4819 |
2009-08-09), xzless learned to parse ‘less -V’ output to figure out |
6722 |
effects too which might be undesirable. Changing the behavior |
4820 |
whether less is new enough to handle $LESSOPEN settings starting |
6723 |
of --keep has a small risk of breaking existing scripts but |
4821 |
with “|-”. That worked well for a while, but the version string from |
6724 |
since this is a fairly special corner case I expect the |
4822 |
‘less’ versions 448 (June, 2012) is misparsed, producing a warning: |
6725 |
likehood of breakage to be low enough. |
4823 |
|
6726 |
|
4824 |
$ xzless /tmp/test.xz; echo $? |
6727 |
I think the new behavior is more logical. The only reason for |
4825 |
/usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \ |
6728 |
the old behavior was to be consistent with gzip and bzip2. |
4826 |
integer expression expected |
|
|
4827 |
0 |
4828 |
|
6729 |
|
4829 |
More precisely, modern ‘less’ lists the regexp implementation along |
6730 |
Thanks to Vincent Lefevre and Sebastian Andrzej Siewior. |
4830 |
with its version number, and xzless passes the entire version number |
6731 |
|
4831 |
with attached parenthetical phrase as a number to "test $a -gt $b", |
6732 |
src/xz/file_io.c | 9 +++++---- |
4832 |
producing the above confusing message. |
6733 |
src/xz/xz.1 | 16 +++++++++++++++- |
|
|
6734 |
2 files changed, 20 insertions(+), 5 deletions(-) |
6735 |
|
6736 |
commit 73c555b3077c19dda29b6f4592ced2af876f8333 |
6737 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6738 |
Date: 2021-01-11 23:28:52 +0200 |
6739 |
|
6740 |
Scripts: Fix exit status of xzgrep. |
4833 |
|
6741 |
|
4834 |
$ less-444 -V | head -1 |
6742 |
Omit the -q option from xz, gzip, and bzip2. With xz this shouldn't |
4835 |
less 444 |
6743 |
matter. With gzip it's important because -q makes gzip replace SIGPIPE |
4836 |
$ less -V | head -1 |
6744 |
with exit status 2. With bzip2 it's important because with -q bzip2 |
4837 |
less 456 (no regular expressions) |
6745 |
is completely silent if input is corrupt while other decompressors |
|
|
6746 |
still give an error message. |
4838 |
|
6747 |
|
4839 |
So relax the pattern matched --- instead of expecting "less <number>", |
6748 |
Avoiding exit status 2 from gzip is important because bzip2 uses |
4840 |
look for a line of the form "less <number>[ (extra parenthetical)]". |
6749 |
exit status 2 to indicate corrupt input. Before this commit xzgrep |
4841 |
While at it, improve the behavior when no matching line is found --- |
6750 |
didn't recognize corrupt .bz2 files because xzgrep was treating |
4842 |
instead of producing a cryptic message, we can fall back on a LESSPIPE |
6751 |
exit status 2 as SIGPIPE for gzip compatibility. |
4843 |
setting that is supported by all versions of ‘less’. |
|
|
4844 |
|
6752 |
|
4845 |
The implementation uses "awk" for simplicity. Hopefully that’s |
6753 |
zstd still needs -q because otherwise it is noisy in normal |
4846 |
portable enough. |
6754 |
operation. |
4847 |
|
6755 |
|
4848 |
Reported-by: Jörg-Volker Peetz <jvpeetz@web.de> |
6756 |
The code to detect real SIGPIPE didn't check if the exit status |
4849 |
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> |
6757 |
was due to a signal (>= 128) and so could ignore some other exit |
|
|
6758 |
status too. |
4850 |
|
6759 |
|
4851 |
src/scripts/xzless.in | 3 ++- |
6760 |
src/scripts/xzgrep.in | 20 +++++++++++++------- |
4852 |
1 file changed, 2 insertions(+), 1 deletion(-) |
6761 |
1 file changed, 13 insertions(+), 7 deletions(-) |
4853 |
|
6762 |
|
4854 |
commit 65536214a31ecd33b6b03b68a351fb597d3703d6 |
6763 |
commit 194029ffaf74282a81f0c299c07f73caca3232ca |
4855 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6764 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4856 |
Date: 2012-10-03 15:54:24 +0300 |
6765 |
Date: 2021-01-11 22:01:51 +0200 |
4857 |
|
6766 |
|
4858 |
xz: Fix the note about --rsyncable on the man page. |
6767 |
Scripts: Fix exit status of xzdiff/xzcmp. |
|
|
6768 |
|
6769 |
This is a minor fix since this affects only the situation when |
6770 |
the files differ and the exit status is something else than 0. |
6771 |
In such case there could be SIGPIPE from a decompression tool |
6772 |
and that would result in exit status of 2 from xzdiff/xzcmp |
6773 |
while the correct behavior would be to return 1 or whatever |
6774 |
else diff or cmp may have returned. |
6775 |
|
6776 |
This commit omits the -q option from xz/gzip/bzip2/lzop arguments. |
6777 |
I'm not sure why the -q was used in the first place, perhaps it |
6778 |
hides warnings in some situation that I cannot see at the moment. |
6779 |
Hopefully the removal won't introduce a new bug. |
6780 |
|
6781 |
With gzip the -q option was harmful because it made gzip return 2 |
6782 |
instead of >= 128 with SIGPIPE. Ignoring exit status 2 (warning |
6783 |
from gzip) isn't practical because bzip2 uses exit status 2 to |
6784 |
indicate corrupt input file. It's better if SIGPIPE results in |
6785 |
exit status >= 128. |
6786 |
|
6787 |
With bzip2 the removal of -q seems to be good because with -q |
6788 |
it prints nothing if input is corrupt. The other tools aren't |
6789 |
silent in this situation even with -q. On the other hand, if |
6790 |
zstd support is added, it will need -q since otherwise it's |
6791 |
noisy in normal situations. |
6792 |
|
6793 |
Thanks to Étienne Mollier and Sebastian Andrzej Siewior. |
4859 |
|
6794 |
|
4860 |
src/xz/xz.1 | 17 +++++++++-------- |
6795 |
src/scripts/xzdiff.in | 35 +++++++++++++++++++++-------------- |
4861 |
1 file changed, 9 insertions(+), 8 deletions(-) |
6796 |
1 file changed, 21 insertions(+), 14 deletions(-) |
4862 |
|
6797 |
|
4863 |
commit 3d93b6354927247a1569caf22ad27b07e97ee904 |
6798 |
commit f7fa309e1f7178d04c7bedc03b73077639371e97 |
4864 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6799 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4865 |
Date: 2012-09-28 20:11:09 +0300 |
6800 |
Date: 2021-01-09 21:14:36 +0200 |
4866 |
|
6801 |
|
4867 |
xz: Improve handling of failed realloc in xrealloc. |
6802 |
liblzma: Make lzma_outq usable for threaded decompression too. |
4868 |
|
6803 |
|
4869 |
Thanks to Jim Meyering. |
6804 |
Before this commit all output queue buffers were allocated as |
|
|
6805 |
a single big allocation. Now each buffer is allocated separately |
6806 |
when needed. Used buffers are cached to avoid reallocation |
6807 |
overhead but the cache will keep only one buffer size at a time. |
6808 |
This should make things work OK in the decompression where most |
6809 |
of the time the buffer sizes will be the same but with some less |
6810 |
common files the buffer sizes may vary. |
6811 |
|
6812 |
While this should work fine, it's still a bit preliminary |
6813 |
and may even get reverted if it turns out to be useless for |
6814 |
decompression. |
4870 |
|
6815 |
|
4871 |
src/xz/util.c | 14 ++++++++++++-- |
6816 |
src/liblzma/common/outqueue.c | 268 +++++++++++++++++++++------------ |
4872 |
1 file changed, 12 insertions(+), 2 deletions(-) |
6817 |
src/liblzma/common/outqueue.h | 138 ++++++++++++----- |
|
|
6818 |
src/liblzma/common/stream_encoder_mt.c | 52 ++++--- |
6819 |
3 files changed, 301 insertions(+), 157 deletions(-) |
4873 |
|
6820 |
|
4874 |
commit ab225620664e235637833be2329935f9d290ba80 |
6821 |
commit a35a69d693ce37d4ba7c1855bda7d9cfa13d1778 |
4875 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6822 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4876 |
Date: 2012-08-24 16:27:31 +0300 |
6823 |
Date: 2020-12-23 17:15:49 +0200 |
4877 |
|
6824 |
|
4878 |
A few typo fixes to comments and the xz man page. |
6825 |
Update THANKS. |
|
|
6826 |
|
6827 |
THANKS | 1 + |
6828 |
1 file changed, 1 insertion(+) |
6829 |
|
6830 |
commit 4fd79b90c52396d70e0b1206ceb1a873a0ad2589 |
6831 |
Author: H.J. Lu <hjl.tools@gmail.com> |
6832 |
Date: 2020-12-23 06:49:04 -0800 |
6833 |
|
6834 |
liblzma: Enable Intel CET in x86 CRC assembly codes |
4879 |
|
6835 |
|
4880 |
Thanks to Jim Meyering. |
6836 |
When Intel CET is enabled, we need to include <cet.h> in assembly codes |
|
|
6837 |
to mark Intel CET support and add _CET_ENDBR to indirect jump targets. |
6838 |
|
6839 |
Tested on Intel Tiger Lake under CET enabled Linux. |
4881 |
|
6840 |
|
4882 |
configure.ac | 2 +- |
6841 |
src/liblzma/check/crc32_x86.S | 9 +++++++++ |
4883 |
src/liblzma/check/sha256.c | 1 - |
6842 |
src/liblzma/check/crc64_x86.S | 9 +++++++++ |
4884 |
src/xz/xz.1 | 4 ++-- |
6843 |
2 files changed, 18 insertions(+) |
4885 |
3 files changed, 3 insertions(+), 4 deletions(-) |
|
|
4886 |
|
6844 |
|
4887 |
commit f3c1ec69d910175ffd431fd82968dd35cec806ed |
6845 |
commit bb3b8c6a23e25db79f862b1de325c56052e0354b |
4888 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6846 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4889 |
Date: 2012-08-13 21:40:09 +0300 |
6847 |
Date: 2020-12-16 18:33:29 +0200 |
4890 |
|
6848 |
|
4891 |
xz: Add a warning to --help about alpha and beta versions. |
6849 |
Update THANKS. |
4892 |
|
6850 |
|
4893 |
src/xz/message.c | 5 +++++ |
6851 |
THANKS | 1 + |
4894 |
1 file changed, 5 insertions(+) |
6852 |
1 file changed, 1 insertion(+) |
4895 |
|
6853 |
|
4896 |
commit d8eaf9d8278c23c2cf2b7ca5562d4de570d3b5db |
6854 |
commit 21588ca34af98738954fc12ded1b89d7294ef646 |
4897 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6855 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4898 |
Date: 2012-08-02 17:13:30 +0300 |
6856 |
Date: 2020-12-16 18:30:14 +0200 |
4899 |
|
6857 |
|
4900 |
Build: Bump gettext version requirement to 0.18. |
6858 |
Build: Don't build bundles on Apple OSes. |
4901 |
|
6859 |
|
4902 |
Otherwise too old version of m4/lib-link.m4 gets included |
6860 |
Thanks to Daniel Packard. |
4903 |
when autoreconf -fi is run. |
|
|
4904 |
|
6861 |
|
4905 |
configure.ac | 2 +- |
6862 |
CMakeLists.txt | 3 +++ |
4906 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6863 |
1 file changed, 3 insertions(+) |
4907 |
|
6864 |
|
4908 |
commit 96e08902b09f0f304d4ff80c6e83ef7fff883f34 |
6865 |
commit d05b0c42dd8b38d8c6b8193c8af50e9bd3d16f28 |
4909 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6866 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
4910 |
Date: 2012-07-17 18:29:08 +0300 |
6867 |
Date: 2020-12-05 22:44:03 +0200 |
4911 |
|
6868 |
|
4912 |
Update THANKS. |
6869 |
Update THANKS. |
4913 |
|
6870 |
|
4914 |
THANKS | 1 + |
6871 |
THANKS | 1 + |
4915 |
1 file changed, 1 insertion(+) |
6872 |
1 file changed, 1 insertion(+) |
4916 |
|
6873 |
|
4917 |
commit 3778db1be53e61ff285c573af5ee468803008456 |
6874 |
commit 1890351f3423627ba5c4c495402f32d7e9ed90b7 |
4918 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6875 |
Author: Adam Borowski <kilobyte@angband.pl> |
4919 |
Date: 2012-07-17 18:19:59 +0300 |
6876 |
Date: 2020-09-25 03:35:18 +0200 |
4920 |
|
6877 |
|
4921 |
liblzma: Make the use of lzma_allocator const-correct. |
6878 |
Scripts: Add zstd support to xzgrep. |
4922 |
|
6879 |
|
4923 |
There is a tiny risk of causing breakage: If an application |
6880 |
Thanks to Adam Borowski. |
4924 |
assigns lzma_stream.allocator to a non-const pointer, such |
|
|
4925 |
code won't compile anymore. I don't know why anyone would do |
4926 |
such a thing though, so in practice this shouldn't cause trouble. |
4927 |
|
4928 |
Thanks to Jan Kratochvil for the patch. |
4929 |
|
6881 |
|
4930 |
src/liblzma/api/lzma/base.h | 4 +++- |
6882 |
src/scripts/xzgrep.1 | 9 ++++++--- |
4931 |
src/liblzma/api/lzma/block.h | 6 ++--- |
6883 |
src/scripts/xzgrep.in | 1 + |
4932 |
src/liblzma/api/lzma/container.h | 9 +++++--- |
6884 |
2 files changed, 7 insertions(+), 3 deletions(-) |
4933 |
src/liblzma/api/lzma/filter.h | 13 ++++++----- |
|
|
4934 |
src/liblzma/api/lzma/index.h | 16 ++++++------- |
4935 |
src/liblzma/api/lzma/index_hash.h | 4 ++-- |
4936 |
src/liblzma/common/alone_decoder.c | 6 ++--- |
4937 |
src/liblzma/common/alone_decoder.h | 2 +- |
4938 |
src/liblzma/common/alone_encoder.c | 8 +++---- |
4939 |
src/liblzma/common/auto_decoder.c | 6 ++--- |
4940 |
src/liblzma/common/block_buffer_decoder.c | 2 +- |
4941 |
src/liblzma/common/block_buffer_encoder.c | 4 ++-- |
4942 |
src/liblzma/common/block_decoder.c | 6 ++--- |
4943 |
src/liblzma/common/block_decoder.h | 2 +- |
4944 |
src/liblzma/common/block_encoder.c | 8 +++---- |
4945 |
src/liblzma/common/block_encoder.h | 2 +- |
4946 |
src/liblzma/common/block_header_decoder.c | 4 ++-- |
4947 |
src/liblzma/common/common.c | 10 ++++----- |
4948 |
src/liblzma/common/common.h | 20 +++++++++-------- |
4949 |
src/liblzma/common/easy_buffer_encoder.c | 4 ++-- |
4950 |
src/liblzma/common/filter_buffer_decoder.c | 3 ++- |
4951 |
src/liblzma/common/filter_buffer_encoder.c | 7 +++--- |
4952 |
src/liblzma/common/filter_common.c | 4 ++-- |
4953 |
src/liblzma/common/filter_common.h | 2 +- |
4954 |
src/liblzma/common/filter_decoder.c | 7 +++--- |
4955 |
src/liblzma/common/filter_decoder.h | 2 +- |
4956 |
src/liblzma/common/filter_encoder.c | 2 +- |
4957 |
src/liblzma/common/filter_encoder.h | 2 +- |
4958 |
src/liblzma/common/filter_flags_decoder.c | 2 +- |
4959 |
src/liblzma/common/index.c | 26 ++++++++++----------- |
4960 |
src/liblzma/common/index_decoder.c | 12 +++++----- |
4961 |
src/liblzma/common/index_encoder.c | 6 ++--- |
4962 |
src/liblzma/common/index_encoder.h | 2 +- |
4963 |
src/liblzma/common/index_hash.c | 6 +++-- |
4964 |
src/liblzma/common/outqueue.c | 4 ++-- |
4965 |
src/liblzma/common/outqueue.h | 5 +++-- |
4966 |
src/liblzma/common/stream_buffer_decoder.c | 2 +- |
4967 |
src/liblzma/common/stream_buffer_encoder.c | 3 ++- |
4968 |
src/liblzma/common/stream_decoder.c | 9 ++++---- |
4969 |
src/liblzma/common/stream_decoder.h | 5 +++-- |
4970 |
src/liblzma/common/stream_encoder.c | 10 ++++----- |
4971 |
src/liblzma/common/stream_encoder_mt.c | 16 ++++++------- |
4972 |
src/liblzma/delta/delta_common.c | 4 ++-- |
4973 |
src/liblzma/delta/delta_decoder.c | 6 ++--- |
4974 |
src/liblzma/delta/delta_decoder.h | 5 +++-- |
4975 |
src/liblzma/delta/delta_encoder.c | 6 ++--- |
4976 |
src/liblzma/delta/delta_encoder.h | 3 ++- |
4977 |
src/liblzma/delta/delta_private.h | 2 +- |
4978 |
src/liblzma/lz/lz_decoder.c | 8 +++---- |
4979 |
src/liblzma/lz/lz_decoder.h | 7 +++--- |
4980 |
src/liblzma/lz/lz_encoder.c | 19 ++++++++-------- |
4981 |
src/liblzma/lz/lz_encoder.h | 6 ++--- |
4982 |
src/liblzma/lzma/lzma2_decoder.c | 8 +++---- |
4983 |
src/liblzma/lzma/lzma2_decoder.h | 5 +++-- |
4984 |
src/liblzma/lzma/lzma2_encoder.c | 6 ++--- |
4985 |
src/liblzma/lzma/lzma2_encoder.h | 2 +- |
4986 |
src/liblzma/lzma/lzma_decoder.c | 8 +++---- |
4987 |
src/liblzma/lzma/lzma_decoder.h | 7 +++--- |
4988 |
src/liblzma/lzma/lzma_encoder.c | 7 +++--- |
4989 |
src/liblzma/lzma/lzma_encoder.h | 5 +++-- |
4990 |
src/liblzma/simple/arm.c | 8 ++++--- |
4991 |
src/liblzma/simple/armthumb.c | 8 ++++--- |
4992 |
src/liblzma/simple/ia64.c | 8 ++++--- |
4993 |
src/liblzma/simple/powerpc.c | 8 ++++--- |
4994 |
src/liblzma/simple/simple_coder.c | 10 ++++----- |
4995 |
src/liblzma/simple/simple_coder.h | 36 ++++++++++++++++++++---------- |
4996 |
src/liblzma/simple/simple_decoder.c | 2 +- |
4997 |
src/liblzma/simple/simple_decoder.h | 2 +- |
4998 |
src/liblzma/simple/simple_private.h | 3 ++- |
4999 |
src/liblzma/simple/sparc.c | 8 ++++--- |
5000 |
src/liblzma/simple/x86.c | 8 ++++--- |
5001 |
71 files changed, 269 insertions(+), 219 deletions(-) |
5002 |
|
6885 |
|
5003 |
commit d625c7cf824fd3b61c6da84f56179e94917ff603 |
6886 |
commit 2f108abb3d82e4e2313b438dae9c0c7c7a6366f2 |
5004 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6887 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5005 |
Date: 2012-07-05 07:36:28 +0300 |
6888 |
Date: 2020-11-17 20:51:48 +0200 |
5006 |
|
6889 |
|
5007 |
Tests: Remove tests/test_block.c that had gotten committed accidentally. |
6890 |
CMake: Fix compatibility with CMake 3.13. |
|
|
6891 |
|
6892 |
The syntax "if(DEFINED CACHE{FOO})" requires CMake 3.14. |
6893 |
In some other places the code treats the cache variables |
6894 |
like normal variables already (${FOO} or if(FOO) is used, |
6895 |
not ${CACHE{FOO}). |
6896 |
|
6897 |
Thanks to ygrek for reporting the bug on IRC. |
5008 |
|
6898 |
|
5009 |
tests/test_block.c | 52 ---------------------------------------------------- |
6899 |
CMakeLists.txt | 2 +- |
5010 |
1 file changed, 52 deletions(-) |
6900 |
cmake/tuklib_cpucores.cmake | 4 ++-- |
|
|
6901 |
cmake/tuklib_physmem.cmake | 4 ++-- |
6902 |
3 files changed, 5 insertions(+), 5 deletions(-) |
5011 |
|
6903 |
|
5012 |
commit 0b09d266cce72bc4841933b171e79551e488927c |
6904 |
commit 5af726a79273fafa5de5745b117e567f21c90e49 |
5013 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6905 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5014 |
Date: 2012-07-05 07:33:35 +0300 |
6906 |
Date: 2020-11-01 22:56:43 +0200 |
5015 |
|
6907 |
|
5016 |
Build: Include macosx/build.sh in the distribution. |
6908 |
Update THANKS. |
5017 |
|
|
|
5018 |
It has been in the Git repository since 2010 but probably |
5019 |
few people have seen it since it hasn't been included in |
5020 |
the release tarballs. :-( |
5021 |
|
6909 |
|
5022 |
Makefile.am | 1 + |
6910 |
THANKS | 4 +++- |
5023 |
1 file changed, 1 insertion(+) |
6911 |
1 file changed, 3 insertions(+), 1 deletion(-) |
5024 |
|
6912 |
|
5025 |
commit d6e0b23d4613b9f417893dd96cc168c8005ece3d |
6913 |
commit 4575d9d365c756ec189899f9f743e0b3515ce72d |
5026 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6914 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5027 |
Date: 2012-07-05 07:28:53 +0300 |
6915 |
Date: 2020-11-01 22:34:25 +0200 |
5028 |
|
6916 |
|
5029 |
Build: Include validate_map.sh in the distribution. |
6917 |
xz: Avoid unneeded \f escapes on the man page. |
5030 |
|
6918 |
|
5031 |
It's required by "make mydist". |
6919 |
I don't want to use \c in macro arguments but groff_man(7) |
|
|
6920 |
suggests that \f has better portability. \f would be needed |
6921 |
for the .TP strings for portability reasons anyway. |
5032 |
|
6922 |
|
5033 |
Fix also the location of EXTRA_DIST+= so that those files |
6923 |
Thanks to Bjarni Ingi Gislason. |
5034 |
get distributed also if symbol versioning isn't enabled. |
|
|
5035 |
|
6924 |
|
5036 |
src/liblzma/Makefile.am | 2 +- |
6925 |
src/xz/xz.1 | 31 ++++++++++++++++++++++--------- |
5037 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6926 |
1 file changed, 22 insertions(+), 9 deletions(-) |
5038 |
|
6927 |
|
5039 |
commit 19de545d86097c3954d69ab5d12820387f6a09bc |
6928 |
commit 620b32f5339f86710cb4435e01ecdac972ccac73 |
5040 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6929 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5041 |
Date: 2012-07-05 07:24:45 +0300 |
6930 |
Date: 2020-11-01 19:09:53 +0200 |
5042 |
|
6931 |
|
5043 |
Docs: Fix the name LZMA Utils -> XZ Utils in debug/README. |
6932 |
xz: Use non-breaking spaces when intentionally using more than one space. |
|
|
6933 |
|
6934 |
This silences some style checker warnings. Seems that spaces |
6935 |
in the beginning of a line don't need this treatment. |
6936 |
|
6937 |
Thanks to Bjarni Ingi Gislason. |
5044 |
|
6938 |
|
5045 |
debug/README | 2 +- |
6939 |
src/xz/xz.1 | 2 +- |
5046 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6940 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5047 |
|
6941 |
|
5048 |
commit 672eccf57c31a40dfb956b7662db06d43e18618e |
6942 |
commit cb1f34988c8a4130485091b2f8b641303d8f701b |
5049 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6943 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5050 |
Date: 2012-07-05 07:23:17 +0300 |
6944 |
Date: 2020-11-01 18:49:37 +0200 |
5051 |
|
6945 |
|
5052 |
Include debug/translation.bash in the distribution. |
6946 |
xz: Protect the ellipsis (...) on the man page with \&. |
5053 |
|
6947 |
|
5054 |
Also fix the script name mentioned in README. |
6948 |
This does it only when ... appears outside macro calls. |
|
|
6949 |
|
6950 |
Thanks to Bjarni Ingi Gislason. |
5055 |
|
6951 |
|
5056 |
README | 4 ++-- |
6952 |
src/xz/xz.1 | 4 ++-- |
5057 |
debug/Makefile.am | 3 +++ |
6953 |
1 file changed, 2 insertions(+), 2 deletions(-) |
5058 |
2 files changed, 5 insertions(+), 2 deletions(-) |
|
|
5059 |
|
6954 |
|
5060 |
commit cafb523adac1caf305e70a04bc37f25602bf990c |
6955 |
commit 5d224da3da87400f2fab313abbd7c710e7169ef9 |
5061 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6956 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5062 |
Date: 2012-07-04 22:31:58 +0300 |
6957 |
Date: 2020-11-01 18:41:21 +0200 |
5063 |
|
6958 |
|
5064 |
xz: Document --block-list better. |
6959 |
xz: Avoid the abbreviation "e.g." on the man page. |
5065 |
|
6960 |
|
5066 |
Thanks to Jonathan Nieder. |
6961 |
A few are simply omitted, most are converted to "for example" |
|
|
6962 |
and surrounded with commas. Sounds like that this is better |
6963 |
style, for example, man-pages(7) recommends avoiding such |
6964 |
abbreviations except in parenthesis. |
6965 |
|
6966 |
Thanks to Bjarni Ingi Gislason. |
5067 |
|
6967 |
|
5068 |
src/xz/xz.1 | 8 +++++++- |
6968 |
src/xz/xz.1 | 66 ++++++++++++++++++++++++++++++------------------------------- |
5069 |
1 file changed, 7 insertions(+), 1 deletion(-) |
6969 |
1 file changed, 33 insertions(+), 33 deletions(-) |
5070 |
|
6970 |
|
5071 |
commit c7ff218528bc8f7c65e7ef73c6515777346c6794 |
6971 |
commit 90457dbe3e5717660f5b81f8c604860fc5137c0c |
5072 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6972 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5073 |
Date: 2012-07-04 20:01:49 +0300 |
6973 |
Date: 2020-07-12 23:10:03 +0300 |
5074 |
|
6974 |
|
5075 |
Bump the version number to 5.1.2alpha. |
6975 |
xz man page: Change \- (minus) to \(en (en-dash) for a numeric range. |
|
|
6976 |
|
6977 |
Docs of ancient troff/nroff mention \(em (em-dash) but not \(en |
6978 |
and \- was used for both minus and en-dash. I don't know how |
6979 |
portable \(en is nowadays but it can be changed back if someone |
6980 |
complains. At least GNU groff and OpenBSD's mandoc support it. |
6981 |
|
6982 |
Thanks to Bjarni Ingi Gislason for the patch. |
5076 |
|
6983 |
|
5077 |
src/liblzma/api/lzma/version.h | 2 +- |
6984 |
src/xz/xz.1 | 16 ++++++++-------- |
5078 |
src/liblzma/liblzma.map | 2 +- |
6985 |
1 file changed, 8 insertions(+), 8 deletions(-) |
5079 |
2 files changed, 2 insertions(+), 2 deletions(-) |
|
|
5080 |
|
6986 |
|
5081 |
commit 8f3c1d886f93e6478ad509ff52102b2ce7faa999 |
6987 |
commit 352ba2d69af2136bc814aa1df1a132559d445616 |
5082 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6988 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5083 |
Date: 2012-07-04 20:01:19 +0300 |
6989 |
Date: 2020-07-12 20:46:24 +0300 |
5084 |
|
6990 |
|
5085 |
Update NEWS for 5.1.2alpha. |
6991 |
Windows: Fix building of resource files when config.h isn't used. |
|
|
6992 |
|
6993 |
Now CMake + Visual Studio works for building liblzma.dll. |
6994 |
|
6995 |
Thanks to Markus Rickert. |
5086 |
|
6996 |
|
5087 |
NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ |
6997 |
src/common/common_w32res.rc | 4 +++- |
5088 |
1 file changed, 41 insertions(+) |
6998 |
1 file changed, 3 insertions(+), 1 deletion(-) |
5089 |
|
6999 |
|
5090 |
commit 0d5fa05466e580fbc458820f87013ae7644e20e5 |
7000 |
commit a9e2a87f1d61dcf684d809bf08c8ebea93f8a480 |
5091 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7001 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5092 |
Date: 2012-07-04 19:58:23 +0300 |
7002 |
Date: 2020-04-06 19:31:50 +0300 |
5093 |
|
7003 |
|
5094 |
xz: Fix the version number printed by xz -lvv. |
7004 |
src/scripts/xzgrep.1: Filenames to xzgrep are optional. |
5095 |
|
7005 |
|
5096 |
The decoder bug was fixed in 5.0.2 instead of 5.0.3. |
7006 |
xzgrep --help was correct already. |
5097 |
|
7007 |
|
5098 |
src/xz/list.c | 6 +++--- |
7008 |
src/scripts/xzgrep.1 | 2 +- |
5099 |
1 file changed, 3 insertions(+), 3 deletions(-) |
7009 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5100 |
|
7010 |
|
5101 |
commit df11317985a4165731dde12bb0f0028da0e7b77f |
7011 |
commit a7ba275d9b855d186abb29eb7a4f4cb6d9ca6fe0 |
5102 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7012 |
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> |
5103 |
Date: 2012-07-04 17:11:31 +0300 |
7013 |
Date: 2020-03-26 22:17:31 +0000 |
5104 |
|
7014 |
|
5105 |
Build: Add a comment to configure.ac about symbol versioning. |
7015 |
src/script/xzgrep.1: Remove superfluous '.RB' |
|
|
7016 |
|
7017 |
Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z |
7018 |
|
7019 |
[ "test-groff" is a developmental version of "groff" ] |
7020 |
|
7021 |
Input file is ./src/scripts/xzgrep.1 |
7022 |
|
7023 |
<src/scripts/xzgrep.1>:20 (macro RB): only 1 argument, but more are expected |
7024 |
<src/scripts/xzgrep.1>:23 (macro RB): only 1 argument, but more are expected |
7025 |
<src/scripts/xzgrep.1>:26 (macro RB): only 1 argument, but more are expected |
7026 |
<src/scripts/xzgrep.1>:29 (macro RB): only 1 argument, but more are expected |
7027 |
<src/scripts/xzgrep.1>:32 (macro RB): only 1 argument, but more are expected |
7028 |
|
7029 |
"abc..." does not mean the same as "abc ...". |
7030 |
|
7031 |
The output from nroff and troff is unchanged except for the space |
7032 |
between "file" and "...". |
7033 |
|
7034 |
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> |
5106 |
|
7035 |
|
5107 |
configure.ac | 4 ++++ |
7036 |
src/scripts/xzgrep.1 | 12 ++++++------ |
5108 |
1 file changed, 4 insertions(+) |
7037 |
1 file changed, 6 insertions(+), 6 deletions(-) |
5109 |
|
7038 |
|
5110 |
commit bd9cc179e8be3ef515201d3ed9c7dd79ae88869d |
7039 |
commit 133d498db0f4b14f066d192d64dbcade45deae6b |
5111 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7040 |
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> |
5112 |
Date: 2012-07-04 17:06:49 +0300 |
7041 |
Date: 2020-03-30 21:56:36 +0000 |
5113 |
|
7042 |
|
5114 |
Update TODO. |
7043 |
xzgrep.1: Delete superfluous '.PP' |
|
|
7044 |
|
7045 |
Summary: |
7046 |
|
7047 |
mandoc -T lint xzgrep.1 : |
7048 |
mandoc: xzgrep.1:79:2: WARNING: skipping paragraph macro: PP empty |
7049 |
|
7050 |
There is no change in the output of "nroff" and "troff". |
7051 |
|
7052 |
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> |
5115 |
|
7053 |
|
5116 |
TODO | 12 ++++++++++-- |
7054 |
src/scripts/xzgrep.1 | 1 - |
5117 |
1 file changed, 10 insertions(+), 2 deletions(-) |
7055 |
1 file changed, 1 deletion(-) |
5118 |
|
7056 |
|
5119 |
commit 4a238dd9b22f462cac5e199828bf1beb0df05884 |
7057 |
commit 057839ca982f886387b66746bffe749cb14fd8cd |
5120 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7058 |
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> |
5121 |
Date: 2012-07-04 17:05:46 +0300 |
7059 |
Date: 2020-03-26 21:16:18 +0000 |
5122 |
|
7060 |
|
5123 |
Document --enable-symbol-versions in INSTALL. |
7061 |
src/xz/xz.1: Correct misused two-fonts macros |
|
|
7062 |
|
7063 |
Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z |
7064 |
|
7065 |
[ "test-groff" is a developmental version of "groff" ] |
7066 |
|
7067 |
Input file is ./src/xz/xz.1 |
7068 |
|
7069 |
<src/xz/xz.1>:408 (macro BR): only 1 argument, but more are expected |
7070 |
<src/xz/xz.1>:1009 (macro BR): only 1 argument, but more are expected |
7071 |
<src/xz/xz.1>:1743 (macro BR): only 1 argument, but more are expected |
7072 |
<src/xz/xz.1>:1920 (macro BR): only 1 argument, but more are expected |
7073 |
<src/xz/xz.1>:2213 (macro BR): only 1 argument, but more are expected |
7074 |
|
7075 |
Output from nroff and troff is unchanged, except for a font change of a |
7076 |
full stop (.). |
7077 |
|
7078 |
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> |
5124 |
|
7079 |
|
5125 |
INSTALL | 5 +++++ |
7080 |
src/xz/xz.1 | 10 +++++----- |
5126 |
1 file changed, 5 insertions(+) |
7081 |
1 file changed, 5 insertions(+), 5 deletions(-) |
5127 |
|
7082 |
|
5128 |
commit 88ccf47205d7f3aa314d358c72ef214f10f68b43 |
7083 |
commit b8e12f5ab4c9fd3cb09a4330b2861f6b979ababd |
5129 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7084 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5130 |
Date: 2012-07-03 21:16:39 +0300 |
7085 |
Date: 2020-03-23 18:07:50 +0200 |
5131 |
|
7086 |
|
5132 |
xz: Add incomplete support for --block-list. |
7087 |
Typo fixes from fossies.org. |
5133 |
|
7088 |
|
5134 |
It's broken with threads and when also --block-size is used. |
7089 |
https://fossies.org/linux/misc/xz-5.2.5.tar.xz/codespell.html |
5135 |
|
7090 |
|
5136 |
src/xz/args.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
7091 |
Makefile.am | 2 +- |
5137 |
src/xz/args.h | 1 + |
7092 |
doc/examples/01_compress_easy.c | 2 +- |
5138 |
src/xz/coder.c | 48 ++++++++++++++++++++++++++++------ |
7093 |
src/liblzma/api/lzma/base.h | 2 +- |
5139 |
src/xz/coder.h | 4 +++ |
7094 |
src/liblzma/check/crc32_x86.S | 2 +- |
5140 |
src/xz/main.c | 1 + |
7095 |
src/liblzma/common/index.c | 2 +- |
5141 |
src/xz/message.c | 6 +++++ |
7096 |
src/xz/xz.1 | 4 ++-- |
5142 |
src/xz/xz.1 | 23 +++++++++++++++-- |
7097 |
6 files changed, 7 insertions(+), 7 deletions(-) |
5143 |
7 files changed, 151 insertions(+), 10 deletions(-) |
|
|
5144 |
|
7098 |
|
5145 |
commit 972179cdcdf5d8949c48ee31737d87d3050b44af |
7099 |
commit 869b9d1b4edd6df07f819d360d306251f8147353 |
5146 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7100 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5147 |
Date: 2012-07-01 18:44:33 +0300 |
7101 |
Date: 2020-03-17 16:24:28 +0200 |
5148 |
|
7102 |
|
5149 |
xz: Update the man page about the new field in --robot -lvv. |
7103 |
Update NEWS for 5.2.5. |
5150 |
|
7104 |
|
5151 |
src/xz/xz.1 | 18 +++++++++++++++++- |
7105 |
NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
5152 |
1 file changed, 17 insertions(+), 1 deletion(-) |
7106 |
1 file changed, 105 insertions(+) |
5153 |
|
7107 |
|
5154 |
commit 1403707fc64a70976aebe66f8d9a9bd12f73a2c5 |
7108 |
commit a048e3a92d238c65f050a765174d9c75417231d4 |
5155 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7109 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5156 |
Date: 2012-06-28 10:47:49 +0300 |
7110 |
Date: 2020-03-16 20:01:37 +0200 |
5157 |
|
7111 |
|
5158 |
liblzma: Check that the first byte of range encoded data is 0x00. |
7112 |
README: Update outdated sections. |
5159 |
|
|
|
5160 |
It is just to be more pedantic and thus perhaps catch broken |
5161 |
files slightly earlier. |
5162 |
|
7113 |
|
5163 |
src/liblzma/lzma/lzma_decoder.c | 8 ++++++-- |
7114 |
README | 21 +++++++++++---------- |
5164 |
src/liblzma/rangecoder/range_decoder.h | 12 +++++++++--- |
7115 |
1 file changed, 11 insertions(+), 10 deletions(-) |
5165 |
2 files changed, 15 insertions(+), 5 deletions(-) |
|
|
5166 |
|
7116 |
|
5167 |
commit eccd8017ffe2c5de473222c4963ec53c62f7fda2 |
7117 |
commit 29aed815ad4f98f3e4d355faa76a244ecd8ce716 |
5168 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7118 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5169 |
Date: 2012-06-22 19:00:23 +0300 |
7119 |
Date: 2020-03-16 19:39:45 +0200 |
5170 |
|
7120 |
|
5171 |
Update NEWS from 5.0.4. |
7121 |
README: Mention that man pages can be translated. |
5172 |
|
7122 |
|
5173 |
NEWS | 37 +++++++++++++++++++++++++++++++++++++ |
7123 |
README | 7 ++++--- |
5174 |
1 file changed, 37 insertions(+) |
7124 |
1 file changed, 4 insertions(+), 3 deletions(-) |
5175 |
|
7125 |
|
5176 |
commit 2e6754eac26a431e8d340c28906f63bcd1e177e8 |
7126 |
commit 7fa7653940cc9dcfcbce2fbc5166ea343ad4e3c1 |
5177 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7127 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5178 |
Date: 2012-06-22 14:34:03 +0300 |
7128 |
Date: 2020-03-16 16:43:29 +0200 |
5179 |
|
7129 |
|
5180 |
xz: Update man page date to match the latest update. |
7130 |
Update INSTALL.generic from Automake 1.16.1. |
5181 |
|
7131 |
|
5182 |
src/xz/xz.1 | 2 +- |
7132 |
INSTALL.generic | 321 ++++++++++++++++++++++++++++---------------------------- |
5183 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7133 |
1 file changed, 162 insertions(+), 159 deletions(-) |
5184 |
|
7134 |
|
5185 |
commit b3235a0b1af45d5e1244cbe3191516966c076fa0 |
7135 |
commit 9bd317ef03ab9b3e6a927c27c2e9c4ac041182f0 |
5186 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7136 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5187 |
Date: 2012-06-18 21:27:47 +0300 |
7137 |
Date: 2020-03-15 15:27:22 +0200 |
5188 |
|
7138 |
|
5189 |
Docs: Language fix to 01_compress_easy.c. |
7139 |
Update INSTALL for Windows and DOS and add preliminary info for z/OS. |
5190 |
|
|
|
5191 |
Thanks to Jonathan Nieder. |
5192 |
|
7140 |
|
5193 |
doc/examples/01_compress_easy.c | 2 +- |
7141 |
INSTALL | 51 +++++++++++++++++++++++++++++++++++++++++---------- |
5194 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7142 |
1 file changed, 41 insertions(+), 10 deletions(-) |
5195 |
|
7143 |
|
5196 |
commit f1675f765fe228cb5a5f904f853445a03e33cfe9 |
7144 |
commit a3148c0446dc7fa96363752df414d22539c9007b |
5197 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7145 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5198 |
Date: 2012-06-14 20:15:30 +0300 |
7146 |
Date: 2020-03-15 15:26:20 +0200 |
5199 |
|
7147 |
|
5200 |
Fix the top-level Makefile.am for the new example programs. |
7148 |
Build: Update m4/ax_pthread.m4 from Autoconf Archive (again). |
5201 |
|
7149 |
|
5202 |
Makefile.am | 12 ++++++++++-- |
7150 |
m4/ax_pthread.m4 | 219 +++++++++++++++++++++++++++++-------------------------- |
5203 |
1 file changed, 10 insertions(+), 2 deletions(-) |
7151 |
1 file changed, 117 insertions(+), 102 deletions(-) |
5204 |
|
7152 |
|
5205 |
commit 3a0c5378abefaf86aa39a62a7c9682bdb21568a1 |
7153 |
commit 7812002dd3ed319e42a14662a8531802cca8ca67 |
5206 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7154 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5207 |
Date: 2012-06-14 10:52:33 +0300 |
7155 |
Date: 2020-03-11 21:15:35 +0200 |
5208 |
|
7156 |
|
5209 |
Docs: Add new example programs. |
7157 |
xz: Never use thousand separators in DJGPP builds. |
5210 |
|
7158 |
|
5211 |
These have more comments than the old examples and |
7159 |
DJGPP 2.05 added support for thousands separators but it's |
5212 |
human-readable error messages. More tutorial-like examples |
7160 |
broken at least under WinXP with Finnish locale that uses |
5213 |
are needed but these are a start. |
7161 |
a non-breaking space as the thousands separator. Workaround |
|
|
7162 |
by disabling thousands separators for DJGPP builds. |
5214 |
|
7163 |
|
5215 |
doc/examples/00_README.txt | 27 ++++ |
7164 |
src/xz/util.c | 14 ++++++++++++-- |
5216 |
doc/examples/01_compress_easy.c | 297 ++++++++++++++++++++++++++++++++++++++ |
7165 |
1 file changed, 12 insertions(+), 2 deletions(-) |
5217 |
doc/examples/02_decompress.c | 287 ++++++++++++++++++++++++++++++++++++ |
|
|
5218 |
doc/examples/03_compress_custom.c | 193 +++++++++++++++++++++++++ |
5219 |
doc/examples/Makefile | 23 +++ |
5220 |
5 files changed, 827 insertions(+) |
5221 |
|
7166 |
|
5222 |
commit 1bd2c2c553e30c4a73cfb82abc6908efd6be6b8d |
7167 |
commit 7c8f688bf7fccd65d396e0130cbf4ea5dff5c56f |
5223 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7168 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5224 |
Date: 2012-06-14 10:33:27 +0300 |
7169 |
Date: 2020-03-11 19:38:08 +0200 |
5225 |
|
7170 |
|
5226 |
Docs: Move xz_pipe_comp.c and xz_pipe_decomp.c to doc/examples_old. |
7171 |
DOS: Update dos/Makefile for DJGPP 2.05. |
5227 |
|
7172 |
|
5228 |
It is good to keep these around to so that if someone has |
7173 |
It doesn't need -fgnu89-inline like 2.04beta did. |
5229 |
copied the decompressor bug from xz_pipe_decomp.c he has |
|
|
5230 |
an example how to easily fix it. |
5231 |
|
7174 |
|
5232 |
doc/{examples => examples_old}/xz_pipe_comp.c | 0 |
7175 |
dos/Makefile | 4 +--- |
5233 |
doc/{examples => examples_old}/xz_pipe_decomp.c | 0 |
7176 |
1 file changed, 1 insertion(+), 3 deletions(-) |
5234 |
2 files changed, 0 insertions(+), 0 deletions(-) |
|
|
5235 |
|
7177 |
|
5236 |
commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292 |
7178 |
commit 319ca928d73de87940c54e30bffe69f9fa65efdf |
5237 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7179 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5238 |
Date: 2012-06-14 10:33:01 +0300 |
7180 |
Date: 2020-03-11 19:36:07 +0200 |
5239 |
|
7181 |
|
5240 |
Docs: Fix a bug in xz_pipe_decomp.c example program. |
7182 |
DOS: Update instructions in dos/INSTALL.txt. |
5241 |
|
7183 |
|
5242 |
doc/examples/xz_pipe_decomp.c | 10 +++++++++- |
7184 |
dos/INSTALL.txt | 59 ++++++++++++++++++++++++++++----------------------------- |
5243 |
1 file changed, 9 insertions(+), 1 deletion(-) |
7185 |
1 file changed, 29 insertions(+), 30 deletions(-) |
5244 |
|
7186 |
|
5245 |
commit 4bd1a3bd5fdf4870b2f96dd0b8a21657c8a58ad8 |
7187 |
commit cb6b227ce39932824812ccd8a0647bd968de27d2 |
5246 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7188 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5247 |
Date: 2012-05-30 23:14:33 +0300 |
7189 |
Date: 2020-03-11 17:58:51 +0200 |
5248 |
|
7190 |
|
5249 |
Translations: Update the French translation. |
7191 |
DOS: Update config.h. |
5250 |
|
7192 |
|
5251 |
Thanks to Adrien Nader. |
7193 |
The added defines assume GCC >= 4.8. |
5252 |
|
7194 |
|
5253 |
po/fr.po | 148 ++++++++++++++++++++++++++++++++++----------------------------- |
7195 |
dos/config.h | 8 ++++++++ |
5254 |
1 file changed, 79 insertions(+), 69 deletions(-) |
7196 |
1 file changed, 8 insertions(+) |
5255 |
|
7197 |
|
5256 |
commit d2e836f2f3a87df6fe6bb0589b037db51205d910 |
7198 |
commit 4572d53e16e87eee375bc5624de2fd59bb0ae9cd |
5257 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7199 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5258 |
Date: 2012-05-29 23:42:37 +0300 |
7200 |
Date: 2020-03-02 13:54:33 +0200 |
5259 |
|
7201 |
|
5260 |
Translations: Update the German translation. |
7202 |
liblzma: Fix a comment and RC_SYMBOLS_MAX. |
5261 |
|
7203 |
|
5262 |
The previous only included the new strings in v5.0. |
7204 |
The comment didn't match the value of RC_SYMBOLS_MAX and the value |
|
|
7205 |
itself was slightly larger than actually needed. The only harm |
7206 |
about this was that memory usage was a few bytes larger. |
5263 |
|
7207 |
|
5264 |
po/de.po | 229 +++++++++++++++++++++++++++++++++++++-------------------------- |
7208 |
src/liblzma/rangecoder/range_encoder.h | 4 ++-- |
5265 |
1 file changed, 133 insertions(+), 96 deletions(-) |
7209 |
1 file changed, 2 insertions(+), 2 deletions(-) |
5266 |
|
7210 |
|
5267 |
commit c9a16151577ba459afd6e3528df23bc0ddb95171 |
7211 |
commit 265daa873c0d871f5f23f9b56e133a6f20045a0a |
5268 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7212 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5269 |
Date: 2012-05-29 22:26:27 +0300 |
7213 |
Date: 2020-02-27 20:58:52 +0200 |
5270 |
|
7214 |
|
5271 |
Translations: Update the German translation. |
7215 |
Build: Make CMake build fail if tuklib_cpucores or tuklib_physmem fails. |
5272 |
|
7216 |
|
5273 |
po/de.po | 169 ++++++++++++++++++++++++++++++++++----------------------------- |
7217 |
CMakeLists.txt | 18 ++++++++++++++++++ |
5274 |
1 file changed, 91 insertions(+), 78 deletions(-) |
7218 |
1 file changed, 18 insertions(+) |
5275 |
|
7219 |
|
5276 |
commit 1530a74fd48f8493372edad137a24541efe24713 |
7220 |
commit 7c8b904527cdbe61248c80edcc2e20d840c4fef9 |
5277 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7221 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5278 |
Date: 2012-05-29 22:14:21 +0300 |
7222 |
Date: 2020-02-27 20:24:27 +0200 |
5279 |
|
7223 |
|
5280 |
Translations: Update Polish translation. |
7224 |
Build: Add support for --no-po4a option to autogen.sh. |
5281 |
|
|
|
5282 |
po/pl.po | 283 +++++++++++++++++++++++++++++++++++++-------------------------- |
5283 |
1 file changed, 165 insertions(+), 118 deletions(-) |
5284 |
|
5285 |
commit d8db706acb8316f9861abd432cfbe001dd6d0c5c |
5286 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5287 |
Date: 2012-05-28 20:42:11 +0300 |
5288 |
|
5289 |
liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. |
5290 |
|
7225 |
|
5291 |
lzma_code() could incorrectly return LZMA_BUF_ERROR if |
7226 |
Normally, if po4a isn't available, autogen.sh will return |
5292 |
all of the following was true: |
7227 |
with non-zero exit status. The option --no-po4a can be useful |
5293 |
|
7228 |
when one knows that po4a isn't available but wants autogen.sh |
5294 |
- The caller knows how many bytes of output to expect |
7229 |
to still return with zero exit status. |
5295 |
and only provides that much output space. |
|
|
5296 |
|
5297 |
- When the last output bytes are decoded, the |
5298 |
caller-provided input buffer ends right before |
5299 |
the LZMA2 end of payload marker. So LZMA2 won't |
5300 |
provide more output anymore, but it won't know it |
5301 |
yet and thus won't return LZMA_STREAM_END yet. |
5302 |
|
5303 |
- A BCJ filter is in use and it hasn't left any |
5304 |
unfiltered bytes in the temp buffer. This can happen |
5305 |
with any BCJ filter, but in practice it's more likely |
5306 |
with filters other than the x86 BCJ. |
5307 |
|
5308 |
Another situation where the bug can be triggered happens |
5309 |
if the uncompressed size is zero bytes and no output space |
5310 |
is provided. In this case the decompression can fail even |
5311 |
if the whole input file is given to lzma_code(). |
5312 |
|
5313 |
A similar bug was fixed in XZ Embedded on 2011-09-19. |
5314 |
|
7230 |
|
5315 |
src/liblzma/simple/simple_coder.c | 2 +- |
7231 |
autogen.sh | 11 ++++++++++- |
5316 |
tests/Makefile.am | 4 +- |
7232 |
1 file changed, 10 insertions(+), 1 deletion(-) |
5317 |
tests/test_bcj_exact_size.c | 112 ++++++++++++++++++++++++++++++++++++++ |
|
|
5318 |
3 files changed, 116 insertions(+), 2 deletions(-) |
5319 |
|
7233 |
|
5320 |
commit 3f94b6d87f1b8f1c421ba548f8ebb83dca9c8cda |
7234 |
commit 292a5c0f9c9b3a66f5a5c652dc46381836d4537f |
5321 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7235 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5322 |
Date: 2012-05-28 15:38:32 +0300 |
7236 |
Date: 2020-02-25 21:35:14 +0200 |
5323 |
|
7237 |
|
5324 |
Update THANKS. |
7238 |
Update THANKS. |
5325 |
|
7239 |
|
5326 |
THANKS | 1 + |
7240 |
THANKS | 1 + |
5327 |
1 file changed, 1 insertion(+) |
7241 |
1 file changed, 1 insertion(+) |
5328 |
|
7242 |
|
5329 |
commit 7769ea051d739a38a1640fd448cf5eb83cb119c6 |
7243 |
commit 474320e9908786ba2021035f9013191e16cde08a |
5330 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7244 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5331 |
Date: 2012-05-28 15:37:43 +0300 |
7245 |
Date: 2020-02-25 20:42:31 +0200 |
5332 |
|
7246 |
|
5333 |
xz: Don't show a huge number in -vv when memory limit is disabled. |
7247 |
Build: Fix bugs in the CMake files. |
|
|
7248 |
|
7249 |
Seems that the phrase "add more quotes" from sh/bash scripting |
7250 |
applies to CMake as well. E.g. passing an unquoted list ${FOO} |
7251 |
to a function that expects one argument results in only the |
7252 |
first element of the list being passed as an argument and |
7253 |
the rest get ignored. Adding quotes helps ("${FOO}"). |
7254 |
|
7255 |
list(INSERT ...) is weird. Inserting an empty string to an empty |
7256 |
variable results in empty list, but inserting it to a non-empty |
7257 |
variable does insert an empty element to the list. |
7258 |
|
7259 |
Since INSERT requires at least one element, |
7260 |
"${CMAKE_THREAD_LIBS_INIT}" needs to be quoted in CMakeLists.txt. |
7261 |
It might result in an empty element in the list. It seems to not |
7262 |
matter as empty elements consistently get ignored in that variable. |
7263 |
In fact, calling cmake_check_push_state() and cmake_check_pop_state() |
7264 |
will strip the empty elements from CMAKE_REQUIRED_LIBRARIES! |
7265 |
|
7266 |
In addition to quoting fixes, this fixes checks for the cache |
7267 |
variables in tuklib_cpucores.cmake and tuklib_physmem.cmake. |
7268 |
|
7269 |
Thanks to Martin Matuška for testing and reporting the problems. |
7270 |
These fixes aren't tested yet but hopefully they soon will be. |
5334 |
|
7271 |
|
5335 |
src/xz/message.c | 12 +++++++++++- |
7272 |
CMakeLists.txt | 52 ++++++++++++++++++++++----------------------- |
5336 |
1 file changed, 11 insertions(+), 1 deletion(-) |
7273 |
cmake/tuklib_common.cmake | 8 ++++--- |
|
|
7274 |
cmake/tuklib_cpucores.cmake | 30 ++++++++++++++------------ |
7275 |
cmake/tuklib_integer.cmake | 34 +++++++++++++++-------------- |
7276 |
cmake/tuklib_mbstr.cmake | 6 +++--- |
7277 |
cmake/tuklib_physmem.cmake | 29 +++++++++++++------------ |
7278 |
cmake/tuklib_progname.cmake | 4 ++-- |
7279 |
7 files changed, 85 insertions(+), 78 deletions(-) |
5337 |
|
7280 |
|
5338 |
commit ec921105725e4d3ef0a683dd83eee6f24ab60ccd |
7281 |
commit 7e3493d40eac0c3fa3d5124097745a70e15c41f6 |
5339 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7282 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5340 |
Date: 2012-05-27 22:30:17 +0300 |
7283 |
Date: 2020-02-24 23:38:16 +0200 |
5341 |
|
7284 |
|
5342 |
xz: Document the "summary" lines of --robot -lvv. |
7285 |
Build: Add very limited experimental CMake support. |
5343 |
|
7286 |
|
5344 |
This documents only the columns that are in v5.0. |
7287 |
This does *NOT* replace the Autotools-based build system in |
5345 |
The new columns added in the master branch aren't |
7288 |
the foreseeable future. See the comment in the beginning |
5346 |
necessarily stable yet. |
7289 |
of CMakeLists.txt. |
|
|
7290 |
|
7291 |
So far this has been tested only on GNU/Linux but I commit |
7292 |
it anyway to make it easier for others to test. Since I |
7293 |
haven't played much with CMake before, it's likely that |
7294 |
there are things that have been done in a silly or wrong |
7295 |
way and need to be fixed. |
5347 |
|
7296 |
|
5348 |
src/xz/xz.1 | 19 +++++++++++++++++++ |
7297 |
CMakeLists.txt | 643 ++++++++++++++++++++++++++++++++++++++++++++ |
5349 |
1 file changed, 19 insertions(+) |
7298 |
cmake/tuklib_common.cmake | 47 ++++ |
|
|
7299 |
cmake/tuklib_cpucores.cmake | 173 ++++++++++++ |
7300 |
cmake/tuklib_integer.cmake | 100 +++++++ |
7301 |
cmake/tuklib_mbstr.cmake | 20 ++ |
7302 |
cmake/tuklib_physmem.cmake | 149 ++++++++++ |
7303 |
cmake/tuklib_progname.cmake | 19 ++ |
7304 |
7 files changed, 1151 insertions(+) |
5350 |
|
7305 |
|
5351 |
commit 27d24eb0a9f6eed96d6a4594c2b0bf7a91d29f9a |
7306 |
commit 21bd4701fca3e9002ce78bc135debca369ed8545 |
5352 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7307 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5353 |
Date: 2012-05-27 21:53:20 +0300 |
7308 |
Date: 2020-02-24 23:37:07 +0200 |
5354 |
|
7309 |
|
5355 |
xz: Fix output of verbose --robot --list modes. |
7310 |
Update m4/.gitignore. |
5356 |
|
|
|
5357 |
It printed the filename in "filename (x/y)" format |
5358 |
which it obviously shouldn't do in robot mode. |
5359 |
|
7311 |
|
5360 |
src/xz/message.c | 2 +- |
7312 |
m4/.gitignore | 1 + |
5361 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7313 |
1 file changed, 1 insertion(+) |
5362 |
|
7314 |
|
5363 |
commit ab25b82a91754d9388c89abddf806424671d9431 |
7315 |
commit e094d1d0f196a91ec703e8d0055948feef349ae8 |
5364 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7316 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5365 |
Date: 2012-05-24 18:33:54 +0300 |
7317 |
Date: 2020-02-24 23:29:35 +0200 |
5366 |
|
7318 |
|
5367 |
Build: Upgrade m4/acx_pthread.m4 to the latest version. |
7319 |
tuklib: Omit an unneeded <sys/types.h> from a tests. |
|
|
7320 |
|
7321 |
tuklib_cpucores.c and tuklib_physmem.c don't include <sys/types.h> |
7322 |
even via other files in this package, so clearly that header isn't |
7323 |
needed in the tests either (no one has reported build problems due |
7324 |
to a missing header in a .c file). |
5368 |
|
7325 |
|
5369 |
m4/ax_pthread.m4 | 98 +++++++++++++++++++++++++++++++++++--------------------- |
7326 |
m4/tuklib_cpucores.m4 | 1 - |
5370 |
1 file changed, 62 insertions(+), 36 deletions(-) |
7327 |
m4/tuklib_physmem.m4 | 1 - |
|
|
7328 |
2 files changed, 2 deletions(-) |
5371 |
|
7329 |
|
5372 |
commit d05d6d65c41a4bc83f162fa3d67c5d84e8751634 |
7330 |
commit b3ed19a55fe99a45bd77614e149d39d18498075c |
5373 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7331 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5374 |
Date: 2012-05-10 21:15:17 +0300 |
7332 |
Date: 2020-02-24 23:01:00 +0200 |
5375 |
|
7333 |
|
5376 |
Update THANKS. |
7334 |
liblzma: Remove unneeded <sys/types.h> from fastpos_tablegen.c. |
|
|
7335 |
|
7336 |
This file only generates fastpos_table.c. |
7337 |
It isn't built as a part of liblzma. |
5377 |
|
7338 |
|
5378 |
THANKS | 1 + |
7339 |
src/liblzma/lzma/fastpos_tablegen.c | 1 - |
5379 |
1 file changed, 1 insertion(+) |
7340 |
1 file changed, 1 deletion(-) |
5380 |
|
7341 |
|
5381 |
commit e077391982f9f28dbfe542bba8800e7c5b916666 |
7342 |
commit 7b8982b29179b3c586e0456dc9ecbd4f58dcea59 |
5382 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7343 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5383 |
Date: 2012-05-10 21:14:16 +0300 |
7344 |
Date: 2020-02-22 14:15:07 +0200 |
5384 |
|
7345 |
|
5385 |
Docs: Cleanup line wrapping a bit. |
7346 |
Use defined(__GNUC__) before __GNUC__ in preprocessor lines. |
5386 |
|
|
|
5387 |
README | 12 ++++++------ |
5388 |
doc/history.txt | 49 +++++++++++++++++++++++++------------------------ |
5389 |
2 files changed, 31 insertions(+), 30 deletions(-) |
5390 |
|
5391 |
commit fc39849c350225c6a1cd7f6e6adff1020521eabc |
5392 |
Author: Benno Schulenberg <bensberg@justemail.net> |
5393 |
Date: 2012-03-13 22:04:04 +0100 |
5394 |
|
5395 |
Fix a few typos and add some missing articles in some documents. |
5396 |
|
7347 |
|
5397 |
Also hyphenate several compound adjectives. |
7348 |
This should silence the equivalent of -Wundef in compilers that |
5398 |
|
7349 |
don't define __GNUC__. |
5399 |
Signed-off-by: Benno Schulenberg <bensberg@justemail.net> |
|
|
5400 |
|
7350 |
|
5401 |
AUTHORS | 6 +++--- |
7351 |
src/common/sysdefs.h | 3 ++- |
5402 |
README | 42 ++++++++++++++++++++--------------------- |
7352 |
src/liblzma/api/lzma.h | 5 +++-- |
5403 |
doc/faq.txt | 24 ++++++++++++------------ |
7353 |
2 files changed, 5 insertions(+), 3 deletions(-) |
5404 |
doc/history.txt | 58 ++++++++++++++++++++++++++++----------------------------- |
|
|
5405 |
4 files changed, 65 insertions(+), 65 deletions(-) |
5406 |
|
7354 |
|
5407 |
commit 29fa0566d5df199cb9acb2d17bf7eea61acc7fa1 |
7355 |
commit 43dfe04e6209c691cf4fbe3072d4ee91271748f1 |
5408 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7356 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5409 |
Date: 2012-04-29 11:51:25 +0300 |
7357 |
Date: 2020-02-21 17:40:02 +0200 |
5410 |
|
7358 |
|
5411 |
Windows: Update notes about static linking with MSVC. |
7359 |
liblzma: Add more uses of lzma_memcmplen() to the normal mode of LZMA. |
|
|
7360 |
|
7361 |
This gives a tiny encoder speed improvement. This could have been done |
7362 |
in 2014 after the commit 544aaa3d13554e8640f9caf7db717a96360ec0f6 but |
7363 |
it was forgotten. |
5412 |
|
7364 |
|
5413 |
windows/README-Windows.txt | 13 +++++++++---- |
7365 |
src/liblzma/lzma/lzma_encoder_optimum_normal.c | 16 ++++++++++------ |
5414 |
1 file changed, 9 insertions(+), 4 deletions(-) |
7366 |
1 file changed, 10 insertions(+), 6 deletions(-) |
5415 |
|
7367 |
|
5416 |
commit aac1b31ea4e66cf5a7a8c116bdaa15aa45e6c56e |
7368 |
commit 59e6eb4840b9f52fa3a61544974017279b448216 |
5417 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7369 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5418 |
Date: 2012-04-19 15:25:26 +0300 |
7370 |
Date: 2020-02-21 17:01:15 +0200 |
5419 |
|
7371 |
|
5420 |
liblzma: Remove outdated comments. |
7372 |
Build: Add visibility.m4 from gnulib. |
|
|
7373 |
|
7374 |
Appears that this file used to get included as a side effect of |
7375 |
gettext. After the change to gettext version requirements this file |
7376 |
no longer got copied to the package and so the build was broken. |
5421 |
|
7377 |
|
5422 |
src/liblzma/simple/simple_coder.c | 3 --- |
7378 |
m4/.gitignore | 1 - |
5423 |
src/liblzma/simple/simple_private.h | 3 +-- |
7379 |
m4/visibility.m4 | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
5424 |
2 files changed, 1 insertion(+), 5 deletions(-) |
7380 |
2 files changed, 77 insertions(+), 1 deletion(-) |
5425 |
|
7381 |
|
5426 |
commit df14a46013bea70c0bd35be7821b0b9108f97de7 |
7382 |
commit 7fe3ef2eaa53d439cec043727ea1998f4ff0e22a |
5427 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7383 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5428 |
Date: 2012-04-19 14:17:52 +0300 |
7384 |
Date: 2020-02-21 16:10:44 +0200 |
5429 |
|
7385 |
|
5430 |
DOS: Link against DJGPP's libemu to support FPU emulation. |
7386 |
xz: Silence a warning when sig_atomic_t is long int. |
5431 |
|
7387 |
|
5432 |
This way xz should work on 386SX and 486SX. Floating point |
7388 |
It can be true at least on z/OS. |
5433 |
only is needed for verbose output in xz. |
|
|
5434 |
|
7389 |
|
5435 |
dos/Makefile | 2 +- |
7390 |
src/xz/signals.c | 2 +- |
5436 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7391 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5437 |
|
7392 |
|
5438 |
commit 03ed742a3a4931bb5c821357832083b26f577b13 |
7393 |
commit b0a2a77d10940c42b449d47a005bfc2e50ab5db8 |
5439 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7394 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5440 |
Date: 2012-04-19 14:02:25 +0300 |
7395 |
Date: 2020-02-21 15:59:26 +0200 |
5441 |
|
7396 |
|
5442 |
liblzma: Fix Libs.private in liblzma.pc to include -lrt when needed. |
7397 |
xz: Avoid unneeded access of a volatile variable. |
5443 |
|
7398 |
|
5444 |
src/liblzma/liblzma.pc.in | 2 +- |
7399 |
src/xz/signals.c | 2 +- |
5445 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7400 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5446 |
|
7401 |
|
5447 |
commit 8c5b13ad59df70f49429bfdfd6ac120b8f892fda |
7402 |
commit 524c2f12c762032b819757aeda8af7c47c4cabce |
5448 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7403 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5449 |
Date: 2012-04-19 13:58:55 +0300 |
7404 |
Date: 2020-02-21 01:24:18 +0200 |
5450 |
|
7405 |
|
5451 |
Docs: Update MINIX 3 information in INSTALL. |
7406 |
tuklib_integer.m4: Optimize the check order. |
|
|
7407 |
|
7408 |
The __builtin byteswapping is the preferred one so check for it first. |
5452 |
|
7409 |
|
5453 |
INSTALL | 8 +++++--- |
7410 |
m4/tuklib_integer.m4 | 56 +++++++++++++++++++++++++++------------------------- |
5454 |
1 file changed, 5 insertions(+), 3 deletions(-) |
7411 |
1 file changed, 29 insertions(+), 27 deletions(-) |
5455 |
|
7412 |
|
5456 |
commit c7376fc415a1566f38b2de4b516a17013d516a8b |
7413 |
commit 57360bb4fd79b358b36d2877db26ac828d1fdfcb |
5457 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7414 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5458 |
Date: 2012-02-22 14:23:13 +0200 |
7415 |
Date: 2020-02-20 18:54:04 +0200 |
5459 |
|
7416 |
|
5460 |
Update THANKS. |
7417 |
tuklib_exit: Add missing header. |
|
|
7418 |
|
7419 |
strerror() needs <string.h> which happened to be included via |
7420 |
tuklib_common.h -> tuklib_config.h -> sysdefs.h if HAVE_CONFIG_H |
7421 |
was defined. This wasn't tested without config.h before so it |
7422 |
had worked fine. |
5461 |
|
7423 |
|
5462 |
THANKS | 1 + |
7424 |
src/common/tuklib_exit.c | 1 + |
5463 |
1 file changed, 1 insertion(+) |
7425 |
1 file changed, 1 insertion(+) |
5464 |
|
7426 |
|
5465 |
commit cff070aba6281ba743d29a62b8c0c66e5da4b2a6 |
7427 |
commit fddd31175e74a538997a939d930462fde17d2dd4 |
5466 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7428 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5467 |
Date: 2012-02-22 14:02:34 +0200 |
7429 |
Date: 2020-02-18 19:12:35 +0200 |
5468 |
|
7430 |
|
5469 |
Fix exit status of xzgrep when grepping binary files. |
7431 |
Revert the previous commit and add a comment. |
5470 |
|
7432 |
|
5471 |
When grepping binary files, grep may exit before it has |
7433 |
The previous commit broke crc32_tablegen.c. |
5472 |
read all the input. In this case, gzip -q returns 2 (eating |
|
|
5473 |
SIGPIPE), but xz and bzip2 show SIGPIPE as the exit status |
5474 |
(e.g. 141). This causes wrong exit status when grepping |
5475 |
xz- or bzip2-compressed binary files. |
5476 |
|
7434 |
|
5477 |
The fix checks for the special exit status that indicates SIGPIPE. |
7435 |
If the whole package is built without config.h (with defines |
5478 |
It uses kill -l which should be supported everywhere since it |
7436 |
set on the compiler command line) this should still work fine |
5479 |
is in both SUSv2 (1997) and POSIX.1-2008. |
7437 |
as long as these headers conform to C99 well enough. |
5480 |
|
|
|
5481 |
Thanks to James Buren for the bug report. |
5482 |
|
7438 |
|
5483 |
src/scripts/xzgrep.in | 3 ++- |
7439 |
src/common/tuklib_config.h | 17 ++++++++++------- |
5484 |
1 file changed, 2 insertions(+), 1 deletion(-) |
7440 |
1 file changed, 10 insertions(+), 7 deletions(-) |
5485 |
|
7441 |
|
5486 |
commit 41cafb2bf9beea915710ee68f05fe929cd17759c |
7442 |
commit 4e4e9fbb7e66d45319525ac224bff48fbdd0cf6e |
5487 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7443 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5488 |
Date: 2012-02-22 12:08:43 +0200 |
7444 |
Date: 2020-02-17 23:37:20 +0200 |
5489 |
|
7445 |
|
5490 |
Update THANKS. |
7446 |
Do not check for HAVE_CONFIG_H in tuklib_config.h. |
|
|
7447 |
|
7448 |
In XZ Utils sysdefs.h takes care of it and the required headers. |
5491 |
|
7449 |
|
5492 |
THANKS | 1 + |
7450 |
src/common/tuklib_config.h | 15 +++++++-------- |
5493 |
1 file changed, 1 insertion(+) |
7451 |
1 file changed, 7 insertions(+), 8 deletions(-) |
5494 |
|
7452 |
|
5495 |
commit 2dcea03712fa881930d69ec9eff70855c3d126d9 |
7453 |
commit 2d4cef954feba82073951358466a1d614141cf33 |
5496 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7454 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5497 |
Date: 2012-02-22 12:00:16 +0200 |
7455 |
Date: 2020-02-16 11:18:28 +0200 |
5498 |
|
7456 |
|
5499 |
Fix compiling with IBM XL C on AIX. |
7457 |
sysdefs.h: Omit the conditionals around string.h and limits.h. |
|
|
7458 |
|
7459 |
string.h is used unconditionally elsewhere in the project and |
7460 |
configure has always stopped if limits.h is missing, so these |
7461 |
headers must have been always available even on the weirdest |
7462 |
systems. |
5500 |
|
7463 |
|
5501 |
INSTALL | 36 ++++++++++++++++++++++-------------- |
7464 |
src/common/sysdefs.h | 8 ++------ |
5502 |
configure.ac | 6 +++++- |
7465 |
1 file changed, 2 insertions(+), 6 deletions(-) |
5503 |
2 files changed, 27 insertions(+), 15 deletions(-) |
|
|
5504 |
|
7466 |
|
5505 |
commit 7db6bdf4abcf524115be2cf5659ed540cef074c5 |
7467 |
commit feb9c1969bc3eb33d4ecb72cfa897f92dae84939 |
5506 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7468 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5507 |
Date: 2012-01-10 17:13:03 +0200 |
7469 |
Date: 2020-02-15 15:07:11 +0200 |
5508 |
|
7470 |
|
5509 |
Tests: Fix a compiler warning with _FORTIFY_SOURCE. |
7471 |
Build: Bump Autoconf and Libtool version requirements. |
5510 |
|
7472 |
|
5511 |
Reported here: |
7473 |
There is no specific reason for this other than blocking |
5512 |
http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/4927385 |
7474 |
the most ancient versions. These are still old: |
|
|
7475 |
|
7476 |
Autoconf 2.69 (2012) |
7477 |
Automake 1.12 (2012) |
7478 |
gettext 0.19.6 (2015) |
7479 |
Libtool 2.4 (2010) |
5513 |
|
7480 |
|
5514 |
tests/create_compress_files.c | 3 ++- |
7481 |
configure.ac | 4 ++-- |
5515 |
1 file changed, 2 insertions(+), 1 deletion(-) |
7482 |
1 file changed, 2 insertions(+), 2 deletions(-) |
5516 |
|
7483 |
|
5517 |
commit 694952d545b6cf056547893ced69486eff9ece55 |
7484 |
commit 3d576cf92158d62790017ad7f2dd6dc1dd6b42bb |
5518 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7485 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5519 |
Date: 2011-12-19 21:21:29 +0200 |
7486 |
Date: 2020-02-15 03:08:32 +0200 |
5520 |
|
7487 |
|
5521 |
Docs: Explain the stable releases better in README. |
7488 |
Build: Use AM_GNU_GETTEXT_REQUIRE_VERSION and require 0.19.6. |
|
|
7489 |
|
7490 |
This bumps the version requirement from 0.19 (from 2014) to |
7491 |
0.19.6 (2015). |
7492 |
|
7493 |
Using only the old AM_GNU_GETTEXT_VERSION results in old |
7494 |
gettext infrastructure being placed in the package. By using |
7495 |
both macros we get the latest gettext files while the other |
7496 |
programs in the Autotools family can still see the old macro. |
5522 |
|
7497 |
|
5523 |
README | 6 +++++- |
7498 |
configure.ac | 6 +++++- |
5524 |
1 file changed, 5 insertions(+), 1 deletion(-) |
7499 |
1 file changed, 5 insertions(+), 1 deletion(-) |
5525 |
|
7500 |
|
5526 |
commit 418fe668b3c53a9a20020b6cc652aaf25c734b29 |
7501 |
commit fa792b8befaf7cb3960b655e0a9410da866d756f |
5527 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7502 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5528 |
Date: 2011-11-07 13:07:52 +0200 |
7503 |
Date: 2020-02-14 20:42:06 +0200 |
5529 |
|
7504 |
|
5530 |
xz: Show minimum required XZ Utils version in xz -lvv. |
7505 |
Translations: Add German translation of the man pages. |
5531 |
|
7506 |
|
5532 |
Man page wasn't updated yet. |
7507 |
Thanks to Mario Blättermann. |
5533 |
|
7508 |
|
5534 |
src/xz/list.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++------ |
7509 |
po4a/de.po | 5532 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
5535 |
1 file changed, 57 insertions(+), 6 deletions(-) |
7510 |
po4a/po4a.conf | 2 +- |
|
|
7511 |
2 files changed, 5533 insertions(+), 1 deletion(-) |
5536 |
|
7512 |
|
5537 |
commit 7081d82c37326bac97184e338345fa1c327e3580 |
7513 |
commit 6f7211b6bb47a895b47f533282dba9ee9a1b0c8b |
5538 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7514 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5539 |
Date: 2011-11-04 17:57:16 +0200 |
7515 |
Date: 2020-02-07 15:32:21 +0200 |
5540 |
|
7516 |
|
5541 |
xz: Fix a typo in a comment. |
7517 |
Build: Add support for translated man pages using po4a. |
5542 |
|
7518 |
|
5543 |
Thanks to Bela Lubkin. |
7519 |
The dependency on po4a is optional. It's never required to install |
|
|
7520 |
the translated man pages when xz is built from a release tarball. |
7521 |
If po4a is missing when building from xz.git, the translated man |
7522 |
pages won't be generated but otherwise the build will work normally. |
7523 |
|
7524 |
The translations are only updated automatically by autogen.sh and |
7525 |
by "make mydist". This makes it easy to keep po4a as an optional |
7526 |
dependency and ensures that I won't forget to put updated |
7527 |
translations to a release tarball. |
7528 |
|
7529 |
The translated man pages aren't installed if --disable-nls is used. |
7530 |
|
7531 |
The installation of translated man pages abuses Automake internals |
7532 |
by calling "install-man" with redefined dist_man_MANS and man_MANS. |
7533 |
This makes the hairy script code slightly less hairy. If it breaks |
7534 |
some day, this code needs to be fixed; don't blame Automake developers. |
7535 |
|
7536 |
Also, this adds more quotes to the existing shell script code in |
7537 |
the Makefile.am "-hook"s. |
5544 |
|
7538 |
|
5545 |
src/xz/args.c | 2 +- |
7539 |
Makefile.am | 4 ++++ |
5546 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7540 |
autogen.sh | 8 ++++--- |
|
|
7541 |
po4a/.gitignore | 2 ++ |
7542 |
po4a/po4a.conf | 14 +++++++++++ |
7543 |
po4a/update-po | 45 ++++++++++++++++++++++++++++++++++ |
7544 |
src/scripts/Makefile.am | 64 +++++++++++++++++++++++++++++++++++++------------ |
7545 |
src/xz/Makefile.am | 50 +++++++++++++++++++++++++++----------- |
7546 |
src/xzdec/Makefile.am | 55 ++++++++++++++++++++++++++++++++---------- |
7547 |
8 files changed, 197 insertions(+), 45 deletions(-) |
5547 |
|
7548 |
|
5548 |
commit 232fe7cd70ad258d6a37f17e860e0f1b1891eeb5 |
7549 |
commit 426f9e5819ff7710a5ff573a96c02940be65d52f |
5549 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7550 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5550 |
Date: 2011-11-03 17:08:02 +0200 |
7551 |
Date: 2020-02-06 17:31:38 +0200 |
5551 |
|
7552 |
|
5552 |
Update THANKS. |
7553 |
Update THANKS. |
5553 |
|
7554 |
|
5554 |
THANKS | 1 + |
7555 |
THANKS | 1 + |
5555 |
1 file changed, 1 insertion(+) |
7556 |
1 file changed, 1 insertion(+) |
5556 |
|
7557 |
|
5557 |
commit 74d2bae4d3449c68453b0473dd3430ce91fd90c1 |
7558 |
commit e3a4481d020e4de89efa037f335cf50f3ca55592 |
5558 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7559 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5559 |
Date: 2011-11-03 17:07:22 +0200 |
7560 |
Date: 2020-02-05 22:35:06 +0200 |
5560 |
|
7561 |
|
5561 |
xz: Fix xz on EBCDIC systems. |
7562 |
Update tests/.gitignore. |
5562 |
|
|
|
5563 |
Thanks to Chris Donawa. |
5564 |
|
7563 |
|
5565 |
src/xz/coder.c | 5 ++++- |
7564 |
.gitignore | 4 ++++ |
5566 |
1 file changed, 4 insertions(+), 1 deletion(-) |
7565 |
1 file changed, 4 insertions(+) |
5567 |
|
7566 |
|
5568 |
commit 4ac4923f47cc0ef97dd9ca5cfcc44fc53eeab34a |
7567 |
commit 07208de92f2d5bca764f6d0ebe9d9866051dc4ef |
5569 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7568 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5570 |
Date: 2011-10-23 17:09:10 +0300 |
7569 |
Date: 2020-02-05 22:28:51 +0200 |
5571 |
|
7570 |
|
5572 |
Update THANKS. |
7571 |
Update m4/.gitignore. |
5573 |
|
7572 |
|
5574 |
THANKS | 1 + |
7573 |
m4/.gitignore | 1 + |
5575 |
1 file changed, 1 insertion(+) |
7574 |
1 file changed, 1 insertion(+) |
5576 |
|
7575 |
|
5577 |
commit ab50ae3ef40c81e5bf613905ca3fd636548b75e7 |
7576 |
commit c91fbf223db46c3b3cb9df769863a1a60cd9c908 |
5578 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7577 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5579 |
Date: 2011-10-23 17:08:14 +0300 |
7578 |
Date: 2020-02-05 20:47:38 +0200 |
5580 |
|
7579 |
|
5581 |
liblzma: Fix invalid free() in the threaded encoder. |
7580 |
Update THANKS. |
5582 |
|
|
|
5583 |
It was triggered if initialization failed e.g. due to |
5584 |
running out of memory. |
5585 |
|
5586 |
Thanks to Arkadiusz Miskiewicz. |
5587 |
|
7581 |
|
5588 |
src/liblzma/common/outqueue.c | 4 ++++ |
7582 |
THANKS | 1 + |
5589 |
1 file changed, 4 insertions(+) |
7583 |
1 file changed, 1 insertion(+) |
5590 |
|
7584 |
|
5591 |
commit 6b620a0f0813d28c3c544b4ff8cb595b38a6e908 |
7585 |
commit 15a133b6d1a3eab4faf6eb52a71fdc56bd65846f |
5592 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7586 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5593 |
Date: 2011-10-23 17:05:55 +0300 |
7587 |
Date: 2020-02-05 20:40:14 +0200 |
5594 |
|
7588 |
|
5595 |
liblzma: Fix a deadlock in the threaded encoder. |
7589 |
xz: Make it a fatal error if enabling the sandbox fails. |
5596 |
|
7590 |
|
5597 |
It was triggered when reinitializing the encoder, |
7591 |
Perhaps it's too drastic but on the other hand it will let me |
5598 |
e.g. when encoding two files. |
7592 |
learn about possible problems if people report the errors. |
|
|
7593 |
This won't be backported to the v5.2 branch. |
5599 |
|
7594 |
|
5600 |
src/liblzma/common/stream_encoder_mt.c | 4 +++- |
7595 |
src/xz/file_io.c | 2 +- |
5601 |
1 file changed, 3 insertions(+), 1 deletion(-) |
7596 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5602 |
|
7597 |
|
5603 |
commit bd52cf150ecd51e3ab63a9cc1a3cff6a77500178 |
7598 |
commit af0fb386ef55db66654ae39e2deec6e04190c4ff |
5604 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7599 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5605 |
Date: 2011-09-06 12:03:41 +0300 |
7600 |
Date: 2020-02-05 20:33:50 +0200 |
5606 |
|
7601 |
|
5607 |
Build: Fix "make check" on Windows. |
7602 |
xz: Comment out annoying sandboxing messages. |
5608 |
|
7603 |
|
5609 |
tests/Makefile.am | 7 +++++-- |
7604 |
src/xz/file_io.c | 10 +++++++--- |
5610 |
windows/build.bash | 2 ++ |
7605 |
1 file changed, 7 insertions(+), 3 deletions(-) |
5611 |
2 files changed, 7 insertions(+), 2 deletions(-) |
|
|
5612 |
|
7606 |
|
5613 |
commit 5c5b2256969ac473001b7d67615ed3bd0a54cc82 |
7607 |
commit 986d8c9b52b824474088e5bb3b6940651660f0e2 |
5614 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7608 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5615 |
Date: 2011-08-09 21:19:13 +0300 |
7609 |
Date: 2020-02-05 19:33:37 +0200 |
5616 |
|
7610 |
|
5617 |
Update THANKS. |
7611 |
Build: Workaround a POSIX shell detection problem on Solaris. |
|
|
7612 |
|
7613 |
I don't know if the problem is in gnulib's gl_POSIX_SHELL macro |
7614 |
or if xzgrep does something that isn't in POSIX. The workaround |
7615 |
adds a special case for Solaris: if /usr/xpg4/bin/sh exists and |
7616 |
gl_cv_posix_shell wasn't overriden on the configure command line, |
7617 |
use that shell for xzgrep and other scripts. That shell is known |
7618 |
to work and exists on most Solaris systems. |
5618 |
|
7619 |
|
5619 |
THANKS | 2 ++ |
7620 |
configure.ac | 10 ++++++++++ |
5620 |
1 file changed, 2 insertions(+) |
7621 |
1 file changed, 10 insertions(+) |
5621 |
|
7622 |
|
5622 |
commit 5b1e1f10741af9e4bbe4cfc3261fb7c7b04f7809 |
7623 |
commit 6629ed929cc7d45a11e385f357ab58ec15e7e4ad |
5623 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7624 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5624 |
Date: 2011-08-09 21:16:44 +0300 |
7625 |
Date: 2020-02-03 22:03:50 +0200 |
5625 |
|
7626 |
|
5626 |
Workaround unusual SIZE_MAX on SCO OpenServer. |
7627 |
Build: Update m4/ax_pthread.m4 from Autoconf Archive. |
5627 |
|
7628 |
|
5628 |
src/common/sysdefs.h | 9 ++++++--- |
7629 |
m4/ax_pthread.m4 | 398 ++++++++++++++++++++++++++++++++++++++----------------- |
5629 |
1 file changed, 6 insertions(+), 3 deletions(-) |
7630 |
1 file changed, 279 insertions(+), 119 deletions(-) |
5630 |
|
7631 |
|
5631 |
commit e9ed88126eee86e2511fa42681a5c7104820cf0a |
7632 |
commit 353970510895f6a80adfe60cf71b70a95adfa8bc |
5632 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7633 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5633 |
Date: 2011-08-06 20:37:28 +0300 |
7634 |
Date: 2020-02-01 19:56:18 +0200 |
5634 |
|
7635 |
|
5635 |
Run the scripts with the correct shell in test_scripts.sh. |
7636 |
xz: Limit --memlimit-compress to at most 4020 MiB for 32-bit xz. |
5636 |
|
7637 |
|
5637 |
The scripts are now made executable in the build tree. |
7638 |
See the code comment for reasoning. It's far from perfect but |
5638 |
This way the scripts can be run like programs in |
7639 |
hopefully good enough for certain cases while hopefully doing |
5639 |
test_scripts.sh. Previously test_scripts.sh always |
7640 |
nothing bad in other situations. |
5640 |
used sh but it's not correct if @POSIX_SHELL@ is set |
|
|
5641 |
to something else by configure. |
5642 |
|
7641 |
|
5643 |
Thanks to Jonathan Nieder for the patch. |
7642 |
At presets -5 ... -9, 4020 MiB vs. 4096 MiB makes no difference |
|
|
7643 |
on how xz scales down the number of threads. |
7644 |
|
7645 |
The limit has to be a few MiB below 4096 MiB because otherwise |
7646 |
things like "xz --lzma2=dict=500MiB" won't scale down the dict |
7647 |
size enough and xz cannot allocate enough memory. With |
7648 |
"ulimit -v $((4096 * 1024))" on x86-64, the limit in xz had |
7649 |
to be no more than 4085 MiB. Some safety margin is good though. |
7650 |
|
7651 |
This is hack but it should be useful when running 32-bit xz on |
7652 |
a 64-bit kernel that gives full 4 GiB address space to xz. |
7653 |
Hopefully this is enough to solve this: |
7654 |
|
7655 |
https://bugzilla.redhat.com/show_bug.cgi?id=1196786 |
7656 |
|
7657 |
FreeBSD has a patch that limits the result in tuklib_physmem() |
7658 |
to SIZE_MAX on 32-bit systems. While I think it's not the way |
7659 |
to do it, the results on --memlimit-compress have been good. This |
7660 |
commit should achieve practically identical results for compression |
7661 |
while leaving decompression and tuklib_physmem() and thus |
7662 |
lzma_physmem() unaffected. |
5644 |
|
7663 |
|
5645 |
configure.ac | 8 ++++---- |
7664 |
src/xz/hardware.c | 32 +++++++++++++++++++++++++++++++- |
5646 |
tests/test_scripts.sh | 8 ++++---- |
7665 |
src/xz/xz.1 | 21 ++++++++++++++++++++- |
5647 |
2 files changed, 8 insertions(+), 8 deletions(-) |
7666 |
2 files changed, 51 insertions(+), 2 deletions(-) |
5648 |
|
7667 |
|
5649 |
commit 1c673e5681720491a74fc4b2992e075f47302c22 |
7668 |
commit ba76d67585f88677af9f48b48e7bdc3bb7687def |
5650 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7669 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5651 |
Date: 2011-07-31 11:01:47 +0300 |
7670 |
Date: 2020-01-26 20:53:25 +0200 |
5652 |
|
7671 |
|
5653 |
Fix exit status of "xzdiff foo.xz bar.xz". |
7672 |
xz: Set the --flush-timeout deadline when the first input byte arrives. |
5654 |
|
7673 |
|
5655 |
xzdiff was clobbering the exit status from diff in a case |
7674 |
xz --flush-timeout=2000, old version: |
5656 |
statement used to analyze the exit statuses from "xz" when |
|
|
5657 |
its operands were two compressed files. Save and restore |
5658 |
diff's exit status to fix this. |
5659 |
|
7675 |
|
5660 |
The bug is inherited from zdiff in GNU gzip and was fixed |
7676 |
1. xz is started. The next flush will happen after two seconds. |
5661 |
there on 2009-10-09. |
7677 |
2. No input for one second. |
|
|
7678 |
3. A burst of a few kilobytes of input. |
7679 |
4. No input for one second. |
7680 |
5. Two seconds have passed and flushing starts. |
5662 |
|
7681 |
|
5663 |
Thanks to Jonathan Nieder for the patch and |
7682 |
The first second counted towards the flush-timeout even though |
5664 |
to Peter Pallinger for reporting the bug. |
7683 |
there was no pending data. This can cause flushing to occur more |
|
|
7684 |
often than needed. |
7685 |
|
7686 |
xz --flush-timeout=2000, after this commit: |
7687 |
|
7688 |
1. xz is started. |
7689 |
2. No input for one second. |
7690 |
3. A burst of a few kilobytes of input. The next flush will |
7691 |
happen after two seconds counted from the time when the |
7692 |
first bytes of the burst were read. |
7693 |
4. No input for one second. |
7694 |
5. No input for another second. |
7695 |
6. Two seconds have passed and flushing starts. |
5665 |
|
7696 |
|
5666 |
src/scripts/xzdiff.in | 2 ++ |
7697 |
src/xz/coder.c | 6 +----- |
5667 |
tests/Makefile.am | 4 +++- |
7698 |
src/xz/file_io.c | 6 +++++- |
5668 |
tests/test_scripts.sh | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ |
7699 |
src/xz/mytime.c | 1 - |
5669 |
3 files changed, 59 insertions(+), 1 deletion(-) |
7700 |
3 files changed, 6 insertions(+), 7 deletions(-) |
5670 |
|
7701 |
|
5671 |
commit 324cde7a864f4506c32ae7846d688c359a83fe65 |
7702 |
commit fd47fd62bbb1bfd13ab63869137971d8b390025f |
5672 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7703 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5673 |
Date: 2011-06-16 12:15:29 +0300 |
7704 |
Date: 2020-01-26 20:19:19 +0200 |
5674 |
|
7705 |
|
5675 |
liblzma: Remove unneeded semicolon. |
7706 |
xz: Move flush_needed from mytime.h to file_pair struct in file_io.h. |
5676 |
|
7707 |
|
5677 |
src/liblzma/lz/lz_encoder_hash.h | 2 +- |
7708 |
src/xz/coder.c | 3 ++- |
5678 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7709 |
src/xz/file_io.c | 3 ++- |
|
|
7710 |
src/xz/file_io.h | 3 +++ |
7711 |
src/xz/mytime.c | 3 --- |
7712 |
src/xz/mytime.h | 4 ---- |
7713 |
5 files changed, 7 insertions(+), 9 deletions(-) |
5679 |
|
7714 |
|
5680 |
commit 492c86345551a51a29bf18e55fe55a5e86f169ce |
7715 |
commit 815035681063d5774d3640fc20b8ede783dd574e |
5681 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7716 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5682 |
Date: 2011-05-28 19:24:56 +0300 |
7717 |
Date: 2020-01-26 14:49:22 +0200 |
5683 |
|
7718 |
|
5684 |
Build: Make configure print if symbol versioning is enabled or not. |
7719 |
xz: coder.c: Make writing output a separate function. |
|
|
7720 |
|
7721 |
The same code sequence repeats so it's nicer as a separate function. |
7722 |
Note that in one case there was no test for opt_mode != MODE_TEST, |
7723 |
but that was only because that condition would always be true, so |
7724 |
this commit doesn't change the behavior there. |
5685 |
|
7725 |
|
5686 |
configure.ac | 2 ++ |
7726 |
src/xz/coder.c | 30 +++++++++++++++++------------- |
5687 |
1 file changed, 2 insertions(+) |
7727 |
1 file changed, 17 insertions(+), 13 deletions(-) |
5688 |
|
7728 |
|
5689 |
commit fc4d4436969bd4d71b704d400a165875e596034a |
7729 |
commit 5a49e081a098455bcdbd95cefb90e9b18780fe58 |
5690 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7730 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5691 |
Date: 2011-05-28 16:43:26 +0300 |
7731 |
Date: 2020-01-26 14:13:42 +0200 |
5692 |
|
7732 |
|
5693 |
Don't call close(-1) in tuklib_open_stdxxx() on error. |
7733 |
xz: Fix semi-busy-waiting in xz --flush-timeout. |
5694 |
|
7734 |
|
5695 |
Thanks to Jim Meyering. |
7735 |
When input blocked, xz --flush-timeout=1 would wake up every |
|
|
7736 |
millisecond and initiate flushing which would have nothing to |
7737 |
flush and thus would just waste CPU time. The fix disables the |
7738 |
timeout when no input has been seen since the previous flush. |
5696 |
|
7739 |
|
5697 |
src/common/tuklib_open_stdxxx.c | 4 +++- |
7740 |
src/xz/coder.c | 4 ++++ |
5698 |
1 file changed, 3 insertions(+), 1 deletion(-) |
7741 |
src/xz/file_io.c | 15 +++++++++++---- |
|
|
7742 |
src/xz/file_io.h | 4 ++++ |
7743 |
3 files changed, 19 insertions(+), 4 deletions(-) |
5699 |
|
7744 |
|
5700 |
commit bd35d903a04c4d388adb4065b0fa271302380895 |
7745 |
commit dcca70fe9fa3c4bec56cf9c79e966166c9a9cf6a |
5701 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7746 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5702 |
Date: 2011-05-28 15:55:39 +0300 |
7747 |
Date: 2020-01-26 13:47:31 +0200 |
5703 |
|
7748 |
|
5704 |
liblzma: Use symbol versioning. |
7749 |
xz: Refactor io_read() a bit. |
5705 |
|
|
|
5706 |
Symbol versioning is enabled by default on GNU/Linux, |
5707 |
other GNU-based systems, and FreeBSD. |
5708 |
|
5709 |
I'm not sure how stable this is, so it may need |
5710 |
backward-incompatible changes before the next release. |
5711 |
|
5712 |
The idea is that alpha and beta symbols are considered |
5713 |
unstable and require recompiling the applications that |
5714 |
use those symbols. Once a symbol is stable, it may get |
5715 |
extended with new features in ways that don't break |
5716 |
compatibility with older ABI & API. |
5717 |
|
5718 |
The mydist target runs validate_map.sh which should |
5719 |
catch some probable problems in liblzma.map. Otherwise |
5720 |
I would forget to update the map file for new releases. |
5721 |
|
7750 |
|
5722 |
Makefile.am | 1 + |
7751 |
src/xz/file_io.c | 17 ++++++++--------- |
5723 |
configure.ac | 21 +++++++++ |
7752 |
1 file changed, 8 insertions(+), 9 deletions(-) |
5724 |
src/liblzma/Makefile.am | 6 +++ |
|
|
5725 |
src/liblzma/liblzma.map | 105 ++++++++++++++++++++++++++++++++++++++++++++ |
5726 |
src/liblzma/validate_map.sh | 68 ++++++++++++++++++++++++++++ |
5727 |
5 files changed, 201 insertions(+) |
5728 |
|
7753 |
|
5729 |
commit afbb244362c9426a37ce4eb9d54aab768da3adad |
7754 |
commit 4ae9ab70cd3214395756435d13d8d000368ca2cb |
5730 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7755 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5731 |
Date: 2011-05-28 09:46:46 +0300 |
7756 |
Date: 2020-01-26 13:37:08 +0200 |
5732 |
|
7757 |
|
5733 |
Translations: Update the Italian translation. |
7758 |
xz: Update a comment in file_io.h. |
5734 |
|
|
|
5735 |
Thanks to Milo Casagrande. |
5736 |
|
7759 |
|
5737 |
po/it.po | 365 +++++++++++++++++++++++++++++++++++++-------------------------- |
7760 |
src/xz/file_io.h | 5 ++++- |
5738 |
1 file changed, 216 insertions(+), 149 deletions(-) |
7761 |
1 file changed, 4 insertions(+), 1 deletion(-) |
5739 |
|
7762 |
|
5740 |
commit 79bef85e0543c0c3723281c3c817616c6cec343b |
7763 |
commit 3333ba4a6795a55cf0375329ba08152bd7fcbd46 |
5741 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7764 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5742 |
Date: 2011-05-28 08:46:04 +0300 |
7765 |
Date: 2020-01-26 13:27:51 +0200 |
5743 |
|
7766 |
|
5744 |
Tests: Add a test file for the bug in the previous commit. |
7767 |
xz: Move the setting of flush_needed in file_io.c to a nicer location. |
5745 |
|
7768 |
|
5746 |
tests/files/README | 4 ++++ |
7769 |
src/xz/file_io.c | 6 ++---- |
5747 |
tests/files/bad-1-block_header-6.xz | Bin 0 -> 72 bytes |
7770 |
1 file changed, 2 insertions(+), 4 deletions(-) |
5748 |
2 files changed, 4 insertions(+) |
|
|
5749 |
|
7771 |
|
5750 |
commit c0297445064951807803457dca1611b3c47e7f0f |
7772 |
commit cf2df0f05ac98c1158c6e48145900b773223605d |
5751 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7773 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5752 |
Date: 2011-05-27 22:25:44 +0300 |
7774 |
Date: 2020-01-19 21:54:33 +0200 |
5753 |
|
7775 |
|
5754 |
xz: Fix error handling in xz -lvv. |
7776 |
Use $(LIB_FUZZING_ENGINE) in tests/ossfuzz/Makefile. |
5755 |
|
7777 |
|
5756 |
It could do an invalid free() and read past the end |
7778 |
https://github.com/google/oss-fuzz/pull/3219#issuecomment-573751048 |
5757 |
of the uninitialized filters array. |
7779 |
|
|
|
7780 |
Thanks to Bhargava Shastry for sending the patch. |
5758 |
|
7781 |
|
5759 |
src/xz/list.c | 21 ++++++--------------- |
7782 |
tests/ossfuzz/Makefile | 2 +- |
5760 |
1 file changed, 6 insertions(+), 15 deletions(-) |
7783 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5761 |
|
7784 |
|
5762 |
commit 8bd91918ac50731f00b1a2a48072980572eb2ff9 |
7785 |
commit 7136f1735c60ac6967c4b8e277fcde53d485234f |
5763 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7786 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5764 |
Date: 2011-05-27 22:09:49 +0300 |
7787 |
Date: 2019-12-31 00:41:28 +0200 |
5765 |
|
7788 |
|
5766 |
liblzma: Handle allocation failures correctly in lzma_index_init(). |
7789 |
Rename unaligned_read32ne to read32ne, and similarly for the others. |
5767 |
|
|
|
5768 |
Thanks to Jim Meyering. |
5769 |
|
7790 |
|
5770 |
src/liblzma/common/index.c | 7 +++++-- |
7791 |
src/common/tuklib_integer.h | 64 +++++++++++++++---------------- |
5771 |
1 file changed, 5 insertions(+), 2 deletions(-) |
7792 |
src/liblzma/common/alone_encoder.c | 2 +- |
|
|
7793 |
src/liblzma/common/block_header_decoder.c | 2 +- |
7794 |
src/liblzma/common/block_header_encoder.c | 2 +- |
7795 |
src/liblzma/common/memcmplen.h | 9 ++--- |
7796 |
src/liblzma/common/stream_flags_decoder.c | 6 +-- |
7797 |
src/liblzma/common/stream_flags_encoder.c | 8 ++-- |
7798 |
src/liblzma/lz/lz_encoder_hash.h | 2 +- |
7799 |
src/liblzma/lzma/lzma_decoder.c | 2 +- |
7800 |
src/liblzma/lzma/lzma_encoder.c | 2 +- |
7801 |
src/liblzma/lzma/lzma_encoder_private.h | 3 +- |
7802 |
src/liblzma/simple/simple_decoder.c | 2 +- |
7803 |
src/liblzma/simple/simple_encoder.c | 2 +- |
7804 |
tests/test_block_header.c | 4 +- |
7805 |
tests/test_stream_flags.c | 6 +-- |
7806 |
15 files changed, 54 insertions(+), 62 deletions(-) |
5772 |
|
7807 |
|
5773 |
commit fe00f95828ef5627721b57e054f7eb2d42a2c961 |
7808 |
commit 5e78fcbf2eb21936022c9c5c3625d4da76f4b241 |
5774 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7809 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5775 |
Date: 2011-05-24 00:23:46 +0300 |
7810 |
Date: 2019-12-31 00:29:48 +0200 |
5776 |
|
7811 |
|
5777 |
Build: Fix checking for system-provided SHA-256. |
7812 |
Rename read32ne to aligned_read32ne, and similarly for the others. |
|
|
7813 |
|
7814 |
Using the aligned methods requires more care to ensure that |
7815 |
the address really is aligned, so it's nicer if the aligned |
7816 |
methods are prefixed. The next commit will remove the unaligned_ |
7817 |
prefix from the unaligned methods which in liblzma are used in |
7818 |
more places than the aligned ones. |
5778 |
|
7819 |
|
5779 |
configure.ac | 2 +- |
7820 |
src/common/tuklib_integer.h | 56 +++++++++++++++++++++--------------------- |
5780 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7821 |
src/liblzma/check/crc32_fast.c | 4 +-- |
|
|
7822 |
src/liblzma/check/crc64_fast.c | 4 +-- |
7823 |
3 files changed, 32 insertions(+), 32 deletions(-) |
5781 |
|
7824 |
|
5782 |
commit 21b45b9bab541f419712cbfd473ccc31802e0397 |
7825 |
commit 77bc5bc6dd67056cfd5888520ac930cfc57b4516 |
5783 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7826 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5784 |
Date: 2011-05-23 18:30:30 +0300 |
7827 |
Date: 2019-12-31 00:18:24 +0200 |
5785 |
|
7828 |
|
5786 |
Build: Set GZIP_ENV=-9n in top-level Makefile.am. |
7829 |
Revise tuklib_integer.h and .m4. |
|
|
7830 |
|
7831 |
Add a configure option --enable-unsafe-type-punning to get the |
7832 |
old non-conforming memory access methods. It can be useful with |
7833 |
old compilers or in some other less typical situations but |
7834 |
shouldn't normally be used. |
7835 |
|
7836 |
Omit the packed struct trick for unaligned access. While it's |
7837 |
best in some cases, this is simpler. If the memcpy trick doesn't |
7838 |
work, one can request unsafe type punning from configure. |
7839 |
|
7840 |
Because CRC32/CRC64 code needs fast aligned reads, if no very |
7841 |
safe way to do it is found, type punning is used as a fallback. |
7842 |
This sucks but since it currently works in practice, it seems to |
7843 |
be the least bad option. It's never needed with GCC >= 4.7 or |
7844 |
Clang >= 3.6 since these support __builtin_assume_aligned and |
7845 |
thus fast aligned access can be done with the memcpy trick. |
7846 |
|
7847 |
Other things: |
7848 |
- Support GCC/Clang __builtin_bswapXX |
7849 |
- Cleaner bswap fallback macros |
7850 |
- Minor cleanups |
5787 |
|
7851 |
|
5788 |
Makefile.am | 3 +++ |
7852 |
m4/tuklib_integer.m4 | 46 ++++- |
5789 |
1 file changed, 3 insertions(+) |
7853 |
src/common/tuklib_integer.h | 488 ++++++++++++++++++++++++-------------------- |
|
|
7854 |
2 files changed, 316 insertions(+), 218 deletions(-) |
5790 |
|
7855 |
|
5791 |
commit 48053e8a4550233af46359024538bff90c870ab1 |
7856 |
commit 8b72950a6b2e2a36c2d8fdc8857564b57191b088 |
5792 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7857 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5793 |
Date: 2011-05-22 16:42:11 +0300 |
7858 |
Date: 2019-12-29 22:51:58 +0200 |
5794 |
|
7859 |
|
5795 |
Update NEWS for 5.0.3. |
7860 |
Tests: Hopefully fix test_check.c to work on EBCDIC systems. |
|
|
7861 |
|
7862 |
Thanks to Daniel Richard G. |
5796 |
|
7863 |
|
5797 |
NEWS | 32 ++++++++++++++++++++++++++++++++ |
7864 |
tests/test_check.c | 9 +++++++-- |
5798 |
1 file changed, 32 insertions(+) |
7865 |
1 file changed, 7 insertions(+), 2 deletions(-) |
5799 |
|
7866 |
|
5800 |
commit bba37df2c9e54ad773e15ff00a09d2d6989fb3b2 |
7867 |
commit 43ce4ea7c762238d3df9717b34126d3e0d7cd51c |
5801 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7868 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5802 |
Date: 2011-05-21 16:28:44 +0300 |
7869 |
Date: 2019-09-24 23:02:40 +0300 |
5803 |
|
7870 |
|
5804 |
Add French translation. |
7871 |
Scripts: Put /usr/xpg4/bin to the beginning of PATH on Solaris. |
5805 |
|
7872 |
|
5806 |
It is known that the BCJ filter --help text is only |
7873 |
This adds a configure option --enable-path-for-scripts=PREFIX |
5807 |
partially translated. |
7874 |
which defaults to empty except on Solaris it is /usr/xpg4/bin |
|
|
7875 |
to make POSIX grep and others available. The Solaris case had |
7876 |
been documented in INSTALL with a manual fix but it's better |
7877 |
to do this automatically since it is needed on most Solaris |
7878 |
systems anyway. |
7879 |
|
7880 |
Thanks to Daniel Richard G. |
5808 |
|
7881 |
|
5809 |
po/LINGUAS | 1 + |
7882 |
INSTALL | 43 +++++++++++++++++++++++++++++++++++-------- |
5810 |
po/fr.po | 864 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
7883 |
configure.ac | 26 ++++++++++++++++++++++++++ |
5811 |
2 files changed, 865 insertions(+) |
7884 |
src/scripts/xzdiff.in | 1 + |
|
|
7885 |
src/scripts/xzgrep.in | 1 + |
7886 |
src/scripts/xzless.in | 1 + |
7887 |
src/scripts/xzmore.in | 1 + |
7888 |
6 files changed, 65 insertions(+), 8 deletions(-) |
5812 |
|
7889 |
|
5813 |
commit 4161d7634965a7a287bf208dcd79f6185f448fe8 |
7890 |
commit 6a89e656ebedd53a10cd1a063a32a9e4ade0da1f |
5814 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7891 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5815 |
Date: 2011-05-21 15:12:10 +0300 |
7892 |
Date: 2019-07-12 18:57:43 +0300 |
5816 |
|
7893 |
|
5817 |
xz: Translate also the string used to print the program name. |
7894 |
Fix comment typos in tuklib_mbstr* files. |
5818 |
|
|
|
5819 |
French needs a space before a colon, e.g. "xz : foo error". |
5820 |
|
7895 |
|
5821 |
src/xz/message.c | 6 +++++- |
7896 |
src/common/tuklib_mbstr.h | 2 +- |
5822 |
1 file changed, 5 insertions(+), 1 deletion(-) |
7897 |
src/common/tuklib_mbstr_fw.c | 2 +- |
|
|
7898 |
src/common/tuklib_mbstr_width.c | 2 +- |
7899 |
3 files changed, 3 insertions(+), 3 deletions(-) |
5823 |
|
7900 |
|
5824 |
commit b94aa0c8380cdb18cddb33440d625474c16643cf |
7901 |
commit ac0b4212656a48ef0c187c0c941d40ac9489ae36 |
5825 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7902 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5826 |
Date: 2011-05-21 15:08:44 +0300 |
7903 |
Date: 2019-07-12 18:30:46 +0300 |
5827 |
|
7904 |
|
5828 |
liblzma: Try to use SHA-256 from the operating system. |
7905 |
Add missing include to tuklib_mbstr_width.c. |
5829 |
|
7906 |
|
5830 |
If the operating system libc or other base libraries |
7907 |
It didn't matter in XZ Utils because sysdefs.h |
5831 |
provide SHA-256, use that instead of our own copy. |
7908 |
includes string.h anyway. |
5832 |
Note that this doesn't use OpenSSL or libgcrypt or |
|
|
5833 |
such libraries to avoid creating dependencies to |
5834 |
other packages. |
5835 |
|
5836 |
This supports at least FreeBSD, NetBSD, OpenBSD, Solaris, |
5837 |
MINIX, and Darwin. They all provide similar but not |
5838 |
identical SHA-256 APIs; everyone is a little different. |
5839 |
|
5840 |
Thanks to Wim Lewis for the original patch, improvements, |
5841 |
and testing. |
5842 |
|
7909 |
|
5843 |
configure.ac | 54 +++++++++++++++++++++++++++ |
7910 |
src/common/tuklib_mbstr_width.c | 1 + |
5844 |
src/liblzma/check/Makefile.inc | 2 + |
7911 |
1 file changed, 1 insertion(+) |
5845 |
src/liblzma/check/check.h | 83 ++++++++++++++++++++++++++++++++++++++---- |
|
|
5846 |
3 files changed, 131 insertions(+), 8 deletions(-) |
5847 |
|
7912 |
|
5848 |
commit f004128678d43ea10b4a6401aa184cf83252d6ec |
7913 |
commit 72a443281fb0b91aebf8cdff2ab1f7c07b081240 |
5849 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7914 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5850 |
Date: 2011-05-17 12:52:18 +0300 |
7915 |
Date: 2019-07-12 18:10:57 +0300 |
5851 |
|
7916 |
|
5852 |
Don't use clockid_t in mythread.h when clock_gettime() isn't available. |
7917 |
Update tuklib base headers to include stdbool.h. |
5853 |
|
|
|
5854 |
Thanks to Wim Lewis for the patch. |
5855 |
|
7918 |
|
5856 |
src/common/mythread.h | 2 ++ |
7919 |
src/common/tuklib_common.h | 2 +- |
5857 |
1 file changed, 2 insertions(+) |
7920 |
src/common/tuklib_config.h | 1 + |
|
|
7921 |
2 files changed, 2 insertions(+), 1 deletion(-) |
5858 |
|
7922 |
|
5859 |
commit f779516f42ebd2db47a5b7d6143459bf7737cf2f |
7923 |
commit de1f47b2b40e960b7bc3acba754f66dd19705921 |
5860 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7924 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5861 |
Date: 2011-05-17 12:26:28 +0300 |
7925 |
Date: 2019-06-28 00:54:31 +0300 |
5862 |
|
7926 |
|
5863 |
Update THANKS. |
7927 |
xz: Automatically align the strings in --info-memory. |
|
|
7928 |
|
7929 |
This makes it easier to translate the strings. |
7930 |
|
7931 |
Also, the string for amount of RAM was shortened. |
5864 |
|
7932 |
|
5865 |
THANKS | 3 +++ |
7933 |
src/xz/hardware.c | 45 ++++++++++++++++++++++++++++++++++----------- |
5866 |
1 file changed, 3 insertions(+) |
7934 |
1 file changed, 34 insertions(+), 11 deletions(-) |
5867 |
|
7935 |
|
5868 |
commit 830ba587775bb562f6eaf05cad61bf669d1f8892 |
7936 |
commit 8ce679125dbd0e2058d8f886e738d7f19a45cab5 |
5869 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7937 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5870 |
Date: 2011-05-17 12:21:33 +0300 |
7938 |
Date: 2019-06-25 23:15:21 +0300 |
5871 |
|
7939 |
|
5872 |
Update INSTALL with a note about linker problem on OpenSolaris x86. |
7940 |
liblzma: Fix a buggy comment. |
5873 |
|
7941 |
|
5874 |
INSTALL | 23 +++++++++++++++++------ |
7942 |
src/liblzma/lz/lz_encoder_mf.c | 2 +- |
5875 |
1 file changed, 17 insertions(+), 6 deletions(-) |
7943 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5876 |
|
7944 |
|
5877 |
commit ec7106309c8060e9c646dba20c4f15689a0bbb04 |
7945 |
commit fc77929e92e869f6869bf88931066103fd75f376 |
5878 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7946 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5879 |
Date: 2011-05-17 12:01:37 +0300 |
7947 |
Date: 2019-06-25 00:16:06 +0300 |
5880 |
|
7948 |
|
5881 |
Build: Fix initialization of enable_check_* variables in configure.ac. |
7949 |
configure.ac: Fix a typo in a comment. |
5882 |
|
|
|
5883 |
This doesn't matter much in practice since it is unlikely |
5884 |
that anyone would have such environment variable names. |
5885 |
|
5886 |
Thanks to Wim Lewis. |
5887 |
|
7950 |
|
5888 |
configure.ac | 2 +- |
7951 |
configure.ac | 2 +- |
5889 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7952 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5890 |
|
7953 |
|
5891 |
commit 4c6e146df99696920f12410fb17754412797ef36 |
7954 |
commit e873902641794210ad7db59743f98e3e1cd6139f |
5892 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7955 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5893 |
Date: 2011-05-17 11:54:38 +0300 |
7956 |
Date: 2019-06-25 00:08:13 +0300 |
5894 |
|
7957 |
|
5895 |
Add underscores to attributes (__attribute((__foo__))). |
7958 |
Tests: Silence warnings from clang -Wassign-enum. |
|
|
7959 |
|
7960 |
Also changed 999 to 99 so it fits even if lzma_check happened |
7961 |
to be 8 bits wide. |
5896 |
|
7962 |
|
5897 |
src/liblzma/common/alone_decoder.c | 2 +- |
7963 |
tests/test_block_header.c | 3 ++- |
5898 |
src/liblzma/common/alone_encoder.c | 2 +- |
7964 |
tests/test_stream_flags.c | 2 +- |
5899 |
src/liblzma/common/block_encoder.c | 2 +- |
7965 |
2 files changed, 3 insertions(+), 2 deletions(-) |
5900 |
src/liblzma/common/common.c | 2 +- |
|
|
5901 |
src/liblzma/common/common.h | 2 +- |
5902 |
src/liblzma/common/index_decoder.c | 9 +++++---- |
5903 |
src/liblzma/common/index_encoder.c | 11 ++++++----- |
5904 |
src/liblzma/delta/delta_encoder.c | 2 +- |
5905 |
src/liblzma/lz/lz_decoder.c | 2 +- |
5906 |
src/liblzma/lz/lz_encoder.c | 2 +- |
5907 |
src/liblzma/simple/arm.c | 2 +- |
5908 |
src/liblzma/simple/armthumb.c | 2 +- |
5909 |
src/liblzma/simple/ia64.c | 2 +- |
5910 |
src/liblzma/simple/powerpc.c | 2 +- |
5911 |
src/liblzma/simple/simple_coder.c | 2 +- |
5912 |
src/liblzma/simple/sparc.c | 2 +- |
5913 |
src/lzmainfo/lzmainfo.c | 4 ++-- |
5914 |
src/xz/coder.c | 2 +- |
5915 |
src/xz/hardware.h | 2 +- |
5916 |
src/xz/message.c | 2 +- |
5917 |
src/xz/message.h | 18 +++++++++--------- |
5918 |
src/xz/options.c | 6 +++--- |
5919 |
src/xz/signals.c | 2 +- |
5920 |
src/xz/util.h | 6 +++--- |
5921 |
src/xzdec/xzdec.c | 6 +++--- |
5922 |
25 files changed, 49 insertions(+), 47 deletions(-) |
5923 |
|
7966 |
|
5924 |
commit 7a480e485938884ef3021b48c3b0b9f9699dc9b6 |
7967 |
commit d499e467d99efeaae688564eedc4548837c1416a |
5925 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7968 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5926 |
Date: 2011-05-01 12:24:23 +0300 |
7969 |
Date: 2019-06-24 23:52:17 +0300 |
5927 |
|
7970 |
|
5928 |
xz: Fix input file position when --single-stream is used. |
7971 |
liblzma: Add a comment. |
5929 |
|
|
|
5930 |
Now the following works as you would expect: |
5931 |
|
5932 |
echo foo | xz > foo.xz |
5933 |
echo bar | xz >> foo.xz |
5934 |
( xz -dc --single-stream ; xz -dc --single-stream ) < foo.xz |
5935 |
|
5936 |
Note that it doesn't work if the input is not seekable |
5937 |
or if there is Stream Padding between the concatenated |
5938 |
.xz Streams. |
5939 |
|
7972 |
|
5940 |
src/xz/coder.c | 1 + |
7973 |
src/liblzma/common/stream_encoder_mt.c | 2 +- |
5941 |
src/xz/file_io.c | 15 +++++++++++++++ |
7974 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5942 |
src/xz/file_io.h | 13 +++++++++++++ |
|
|
5943 |
3 files changed, 29 insertions(+) |
5944 |
|
7975 |
|
5945 |
commit c29e6630c1450c630c4e7b783bdd76515db9004c |
7976 |
commit a12b13c5f0d54c684fa8446f93fdac08ab2a716b |
5946 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7977 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5947 |
Date: 2011-05-01 12:15:51 +0300 |
7978 |
Date: 2019-06-24 23:45:21 +0300 |
5948 |
|
7979 |
|
5949 |
xz: Print the maximum number of worker threads in xz -vv. |
7980 |
liblzma: Silence clang -Wmissing-variable-declarations. |
5950 |
|
7981 |
|
5951 |
src/xz/coder.c | 4 ++++ |
7982 |
src/liblzma/check/crc32_table.c | 3 +++ |
5952 |
1 file changed, 4 insertions(+) |
7983 |
src/liblzma/check/crc64_table.c | 3 +++ |
|
|
7984 |
2 files changed, 6 insertions(+) |
5953 |
|
7985 |
|
5954 |
commit 0b77c4a75158ccc416b07d6e81df8ee0abaea720 |
7986 |
commit 1b4675cebf7471f7cc9b7072c950e3de97147063 |
5955 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
7987 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5956 |
Date: 2011-04-19 10:44:48 +0300 |
7988 |
Date: 2019-06-24 23:25:41 +0300 |
5957 |
|
7989 |
|
5958 |
Build: Warn if no supported method to detect the number of CPU cores. |
7990 |
Add LZMA_RET_INTERNAL1..8 to lzma_ret and use one for LZMA_TIMED_OUT. |
|
|
7991 |
|
7992 |
LZMA_TIMED_OUT is *internally* used as a value for lzma_ret |
7993 |
enumeration. Previously it was #defined to 32 and cast to lzma_ret. |
7994 |
That way it wasn't visible in the public API, but this was hackish. |
7995 |
|
7996 |
Now the public API has eight LZMA_RET_INTERNALx members and |
7997 |
LZMA_TIMED_OUT is #defined to LZMA_RET_INTERNAL1. This way |
7998 |
the code is cleaner overall although the public API has a few |
7999 |
extra mysterious enum members. |
5959 |
|
8000 |
|
5960 |
configure.ac | 11 +++++------ |
8001 |
src/liblzma/api/lzma/base.h | 15 ++++++++++++++- |
5961 |
1 file changed, 5 insertions(+), 6 deletions(-) |
8002 |
src/liblzma/common/common.c | 4 +--- |
|
|
8003 |
src/liblzma/common/common.h | 5 ++--- |
8004 |
src/xz/message.c | 8 ++++++++ |
8005 |
4 files changed, 25 insertions(+), 7 deletions(-) |
5962 |
|
8006 |
|
5963 |
commit e4622df9ab4982f8faa53d85b17be66216175a58 |
8007 |
commit 159c43875eb25deea626ed651274464bae3e32ef |
5964 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8008 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5965 |
Date: 2011-04-19 09:55:06 +0300 |
8009 |
Date: 2019-06-24 22:57:43 +0300 |
5966 |
|
8010 |
|
5967 |
Update THANKS. |
8011 |
xz: Silence a warning from clang -Wsign-conversion in main.c. |
5968 |
|
8012 |
|
5969 |
THANKS | 1 + |
8013 |
src/xz/main.c | 2 +- |
5970 |
1 file changed, 1 insertion(+) |
8014 |
1 file changed, 1 insertion(+), 1 deletion(-) |
5971 |
|
8015 |
|
5972 |
commit 9c1b05828a88eff54409760b92162c7cc2c7cff6 |
8016 |
commit 466cfcd3e52f6750ce28a635997f3dd84fb18515 |
5973 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8017 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5974 |
Date: 2011-04-19 09:20:44 +0300 |
8018 |
Date: 2019-06-24 22:52:20 +0300 |
5975 |
|
8019 |
|
5976 |
Fix portability problems in mythread.h. |
8020 |
xz: Make "headings" static in list.c. |
5977 |
|
8021 |
|
5978 |
Use gettimeofday() if clock_gettime() isn't available |
8022 |
Caught by clang -Wmissing-variable-declarations. |
5979 |
(e.g. Darwin). |
8023 |
|
|
|
8024 |
src/xz/list.c | 2 +- |
8025 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8026 |
|
8027 |
commit 608517b9b76c41fac6613dbda1193d6f41338e19 |
8028 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8029 |
Date: 2019-06-24 22:47:39 +0300 |
8030 |
|
8031 |
liblzma: Remove incorrect uses of lzma_attribute((__unused__)). |
5980 |
|
8032 |
|
5981 |
The test for availability of pthread_condattr_setclock() |
8033 |
Caught by clang -Wused-but-marked-unused. |
5982 |
and CLOCK_MONOTONIC was incorrect. Instead of fixing the |
|
|
5983 |
#ifdefs, use an Autoconf test. That way if there exists a |
5984 |
system that supports them but doesn't specify the matching |
5985 |
POSIX #defines, the features will still get detected. |
5986 |
|
5987 |
Don't try to use pthread_sigmask() on OpenVMS. It doesn't |
5988 |
have that function. |
5989 |
|
5990 |
Guard mythread.h against being #included multiple times. |
5991 |
|
8034 |
|
5992 |
configure.ac | 7 +++++++ |
8035 |
src/liblzma/common/alone_decoder.c | 3 +-- |
5993 |
src/common/mythread.h | 31 +++++++++++++++++++++++++++---- |
8036 |
src/liblzma/common/alone_encoder.c | 3 +-- |
5994 |
2 files changed, 34 insertions(+), 4 deletions(-) |
8037 |
src/liblzma/lz/lz_decoder.c | 3 +-- |
|
|
8038 |
3 files changed, 3 insertions(+), 6 deletions(-) |
5995 |
|
8039 |
|
5996 |
commit 3de00cc75da7b0e7b65e84c62b5351e231f501e9 |
8040 |
commit c2d2ab6a9d41a2b55d047c5b710aacf80d219255 |
5997 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8041 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
5998 |
Date: 2011-04-18 19:35:49 +0300 |
8042 |
Date: 2019-06-24 20:53:55 +0300 |
5999 |
|
8043 |
|
6000 |
Update THANKS. |
8044 |
Tests: Silence a warning from -Wsign-conversion. |
6001 |
|
8045 |
|
6002 |
THANKS | 2 ++ |
8046 |
tests/create_compress_files.c | 8 ++++---- |
6003 |
1 file changed, 2 insertions(+) |
8047 |
1 file changed, 4 insertions(+), 4 deletions(-) |
6004 |
|
8048 |
|
6005 |
commit bd5002f5821e3d1b04f2f56989e4a19318e73633 |
8049 |
commit 2402f7873dcae719d0ebddd23bb579074519ac52 |
6006 |
Author: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> |
8050 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6007 |
Date: 2011-04-15 04:54:49 -0400 |
8051 |
Date: 2019-06-24 20:45:49 +0300 |
6008 |
|
8052 |
|
6009 |
xzgrep: fix typo in $0 parsing |
8053 |
xz: Fix an integer overflow with 32-bit off_t. |
6010 |
|
8054 |
|
6011 |
Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org> |
8055 |
Or any off_t which isn't very big (like signed 64 bit integer |
6012 |
Signed-off-by: Martin Väth <vaeth@mathematik.uni-wuerzburg.de> |
8056 |
that most system have). A small off_t could overflow if the |
6013 |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
8057 |
file being decompressed had long enough run of zero bytes, |
|
|
8058 |
which would result in corrupt output. |
6014 |
|
8059 |
|
6015 |
src/scripts/xzgrep.in | 4 ++-- |
8060 |
src/xz/file_io.c | 11 +++++++++-- |
6016 |
1 file changed, 2 insertions(+), 2 deletions(-) |
8061 |
1 file changed, 9 insertions(+), 2 deletions(-) |
6017 |
|
8062 |
|
6018 |
commit 6ef4eabc0acc49e1bb9dc68064706e19fa9fcf48 |
8063 |
commit 4fd3a8dd0b60f029e1c66a0ee634f9e9fda3caa9 |
6019 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8064 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6020 |
Date: 2011-04-12 12:48:31 +0300 |
8065 |
Date: 2019-06-24 01:24:17 +0300 |
6021 |
|
8066 |
|
6022 |
Bump the version number to 5.1.1alpha and liblzma soname to 5.0.99. |
8067 |
xz: Cleanup io_seek_src() a bit. |
|
|
8068 |
|
8069 |
lseek() returns -1 on error and checking for -1 is nicer. |
6023 |
|
8070 |
|
6024 |
src/liblzma/Makefile.am | 2 +- |
8071 |
src/xz/file_io.c | 4 +--- |
6025 |
src/liblzma/api/lzma/version.h | 2 +- |
8072 |
1 file changed, 1 insertion(+), 3 deletions(-) |
6026 |
2 files changed, 2 insertions(+), 2 deletions(-) |
|
|
6027 |
|
8073 |
|
6028 |
commit 9a4377be0d21e597c66bad6c7452873aebfb3c1c |
8074 |
commit dfda7cf6afa486e10df035327d68753896dfb48a |
6029 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8075 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6030 |
Date: 2011-04-12 12:42:37 +0300 |
8076 |
Date: 2019-06-24 00:57:23 +0300 |
6031 |
|
8077 |
|
6032 |
Put the unstable APIs behind #ifdef LZMA_UNSTABLE. |
8078 |
Tests: Remove a duplicate branch from tests/tests.h. |
6033 |
|
8079 |
|
6034 |
This way people hopefully won't complain if these APIs |
8080 |
The duplication was introduced about eleven years ago and |
6035 |
change and break code that used an older API. |
8081 |
should have been cleaned up back then already. |
|
|
8082 |
|
8083 |
This was caught by -Wduplicated-branches. |
6036 |
|
8084 |
|
6037 |
src/liblzma/api/lzma/container.h | 4 ++++ |
8085 |
tests/tests.h | 9 ++------- |
6038 |
src/liblzma/common/common.h | 2 ++ |
8086 |
1 file changed, 2 insertions(+), 7 deletions(-) |
6039 |
src/xz/private.h | 2 ++ |
|
|
6040 |
3 files changed, 8 insertions(+) |
6041 |
|
8087 |
|
6042 |
commit 3e321a3acd50002cf6fdfd259e910f56d3389bc3 |
8088 |
commit 1d4a904d8fb634bd5a04f7fbdd17d3739f3d8866 |
6043 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8089 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6044 |
Date: 2011-04-12 11:59:49 +0300 |
8090 |
Date: 2019-06-24 00:40:45 +0300 |
6045 |
|
8091 |
|
6046 |
Remove doubled words from documentation and comments. |
8092 |
xz: Change io_seek_src and io_pread arguments from off_t to uint64_t. |
6047 |
|
8093 |
|
6048 |
Spot candidates by running these commands: |
8094 |
This helps fixing warnings from -Wsign-conversion and makes the |
6049 |
git ls-files |xargs perl -0777 -n \ |
8095 |
code look better too. |
6050 |
-e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ |
|
|
6051 |
-e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' |
6052 |
|
6053 |
Thanks to Jim Meyering for the original patch. |
6054 |
|
8096 |
|
6055 |
doc/lzma-file-format.txt | 4 ++-- |
8097 |
src/xz/file_io.c | 16 ++++++++++++---- |
6056 |
src/liblzma/common/alone_encoder.c | 2 +- |
8098 |
src/xz/file_io.h | 4 ++-- |
6057 |
src/liblzma/lzma/lzma2_encoder.c | 2 +- |
8099 |
src/xz/list.c | 9 ++++----- |
6058 |
src/xz/file_io.c | 2 +- |
8100 |
3 files changed, 18 insertions(+), 11 deletions(-) |
6059 |
src/xz/xz.1 | 2 +- |
|
|
6060 |
windows/INSTALL-Windows.txt | 2 +- |
6061 |
6 files changed, 7 insertions(+), 7 deletions(-) |
6062 |
|
8101 |
|
6063 |
commit d91a84b534b012d19474f2fda1fbcaef873e1ba4 |
8102 |
commit 50120deb0159fcb53ee1a6caffb2bb81a1ecd990 |
6064 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8103 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6065 |
Date: 2011-04-12 11:46:01 +0300 |
8104 |
Date: 2019-06-24 00:12:38 +0300 |
6066 |
|
8105 |
|
6067 |
Update NEWS. |
8106 |
xz: list.c: Fix some warnings from -Wsign-conversion. |
6068 |
|
8107 |
|
6069 |
NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++-- |
8108 |
src/xz/list.c | 7 ++++--- |
6070 |
1 file changed, 45 insertions(+), 2 deletions(-) |
8109 |
1 file changed, 4 insertions(+), 3 deletions(-) |
6071 |
|
8110 |
|
6072 |
commit 14e6ad8cfe0165c1a8beeb5b2a1536558b29b0a1 |
8111 |
commit d0a78751eb54fb1572002746c533936a118e4e42 |
6073 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8112 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6074 |
Date: 2011-04-12 11:45:40 +0300 |
8113 |
Date: 2019-06-23 23:22:45 +0300 |
6075 |
|
8114 |
|
6076 |
Update TODO. |
8115 |
tuklib_mbstr_width: Fix a warning from -Wsign-conversion. |
6077 |
|
8116 |
|
6078 |
TODO | 12 +++++++++++- |
8117 |
src/common/tuklib_mbstr_width.c | 2 +- |
6079 |
1 file changed, 11 insertions(+), 1 deletion(-) |
8118 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6080 |
|
8119 |
|
6081 |
commit 70e750f59793f9b5cd306a5adce9b8e427739e04 |
8120 |
commit 7883d73530b4b2a701ddd7d50c35676cbc158039 |
6082 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8121 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6083 |
Date: 2011-04-12 11:08:55 +0300 |
8122 |
Date: 2019-06-23 23:19:34 +0300 |
6084 |
|
8123 |
|
6085 |
xz: Update the man page about threading. |
8124 |
xz: Fix some of the warnings from -Wsign-conversion. |
6086 |
|
8125 |
|
6087 |
src/xz/xz.1 | 34 ++++++++++++++++++++-------------- |
8126 |
src/xz/args.c | 4 ++-- |
6088 |
1 file changed, 20 insertions(+), 14 deletions(-) |
8127 |
src/xz/coder.c | 4 ++-- |
|
|
8128 |
src/xz/file_io.c | 5 +++-- |
8129 |
src/xz/message.c | 4 ++-- |
8130 |
src/xz/mytime.c | 4 ++-- |
8131 |
src/xz/options.c | 2 +- |
8132 |
src/xz/util.c | 4 ++-- |
8133 |
7 files changed, 14 insertions(+), 13 deletions(-) |
6089 |
|
8134 |
|
6090 |
commit 24e0406c0fb7494d2037dec033686faf1bf67068 |
8135 |
commit c2b994fe3d35e9e575c28869a2f7f534f2495d05 |
6091 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8136 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6092 |
Date: 2011-04-11 22:06:03 +0300 |
8137 |
Date: 2019-06-23 22:27:45 +0300 |
6093 |
|
8138 |
|
6094 |
xz: Add support for threaded compression. |
8139 |
tuklib_cpucores: Silence warnings from -Wsign-conversion. |
6095 |
|
8140 |
|
6096 |
src/xz/args.c | 3 +- |
8141 |
src/common/tuklib_cpucores.c | 10 +++++----- |
6097 |
src/xz/coder.c | 202 +++++++++++++++++++++++++++++++++++---------------------- |
8142 |
1 file changed, 5 insertions(+), 5 deletions(-) |
6098 |
2 files changed, 125 insertions(+), 80 deletions(-) |
|
|
6099 |
|
8143 |
|
6100 |
commit de678e0c924aa79a19293a8a6ed82e8cb6572a42 |
8144 |
commit 07c4fa9e1a195e0543f271380c8de22a3ab145ff |
6101 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8145 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6102 |
Date: 2011-04-11 22:03:30 +0300 |
8146 |
Date: 2019-06-23 21:40:47 +0300 |
6103 |
|
8147 |
|
6104 |
liblzma: Add lzma_stream_encoder_mt() for threaded compression. |
8148 |
xzdec: Fix warnings from -Wsign-conversion. |
6105 |
|
|
|
6106 |
This is the simplest method to do threading, which splits |
6107 |
the uncompressed data into blocks and compresses them |
6108 |
independently from each other. There's room for improvement |
6109 |
especially to reduce the memory usage, but nevertheless, |
6110 |
this is a good start. |
6111 |
|
8149 |
|
6112 |
configure.ac | 1 + |
8150 |
src/xzdec/xzdec.c | 2 +- |
6113 |
src/liblzma/api/lzma/container.h | 163 +++++ |
8151 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6114 |
src/liblzma/common/Makefile.inc | 7 + |
|
|
6115 |
src/liblzma/common/common.c | 9 +- |
6116 |
src/liblzma/common/common.h | 14 + |
6117 |
src/liblzma/common/outqueue.c | 180 ++++++ |
6118 |
src/liblzma/common/outqueue.h | 155 +++++ |
6119 |
src/liblzma/common/stream_encoder_mt.c | 1011 ++++++++++++++++++++++++++++++++ |
6120 |
8 files changed, 1539 insertions(+), 1 deletion(-) |
6121 |
|
8152 |
|
6122 |
commit 25fe729532cdf4b8fed56a4519b73cf31efaec50 |
8153 |
commit dfac2c9a1d7d4a2b8a5d7c9c6d567dee48318bcf |
6123 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8154 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6124 |
Date: 2011-04-11 21:15:07 +0300 |
8155 |
Date: 2019-06-23 21:38:56 +0300 |
6125 |
|
8156 |
|
6126 |
liblzma: Add the forgotten lzma_lzma2_block_size(). |
8157 |
liblzma: Fix warnings from -Wsign-conversion. |
6127 |
|
8158 |
|
6128 |
This should have been in 5eefc0086d24a65e136352f8c1d19cefb0cbac7a. |
8159 |
Also, more parentheses were added to the literal_subcoder |
6129 |
|
8160 |
macro in lzma_comon.h (better style but no functional change |
6130 |
src/liblzma/lzma/lzma2_encoder.c | 10 ++++++++++ |
8161 |
in the current usage). |
6131 |
src/liblzma/lzma/lzma2_encoder.h | 2 ++ |
|
|
6132 |
2 files changed, 12 insertions(+) |
6133 |
|
6134 |
commit 91afb785a1dee34862078d9bf844ef12b8cc3e35 |
6135 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6136 |
Date: 2011-04-11 21:04:13 +0300 |
6137 |
|
6138 |
liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. |
6139 |
|
8162 |
|
6140 |
src/liblzma/api/lzma/container.h | 9 +++++++++ |
8163 |
src/liblzma/common/block_header_decoder.c | 2 +- |
6141 |
1 file changed, 9 insertions(+) |
8164 |
src/liblzma/delta/delta_decoder.c | 2 +- |
|
|
8165 |
src/liblzma/lzma/fastpos.h | 2 +- |
8166 |
src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- |
8167 |
src/liblzma/lzma/lzma_common.h | 3 ++- |
8168 |
src/liblzma/lzma/lzma_decoder.c | 16 ++++++++-------- |
8169 |
src/liblzma/simple/arm.c | 6 +++--- |
8170 |
src/liblzma/simple/armthumb.c | 8 ++++---- |
8171 |
src/liblzma/simple/ia64.c | 2 +- |
8172 |
src/liblzma/simple/powerpc.c | 9 +++++---- |
8173 |
src/liblzma/simple/x86.c | 2 +- |
8174 |
11 files changed, 31 insertions(+), 29 deletions(-) |
6142 |
|
8175 |
|
6143 |
commit 4a9905302a9e4a1601ae09d650d3f08ce98ae9ee |
8176 |
commit 41838dcc26375f6aa393a63e4d81e2f4d223de07 |
6144 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8177 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6145 |
Date: 2011-04-11 20:59:07 +0300 |
8178 |
Date: 2019-06-23 19:33:55 +0300 |
6146 |
|
8179 |
|
6147 |
liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. |
8180 |
tuklib_integer: Silence warnings from -Wsign-conversion. |
6148 |
|
|
|
6149 |
It didn't mention the return value that is used if |
6150 |
an error occurs. |
6151 |
|
8181 |
|
6152 |
src/liblzma/api/lzma/filter.h | 8 ++++++-- |
8182 |
src/common/tuklib_integer.h | 6 +++--- |
6153 |
1 file changed, 6 insertions(+), 2 deletions(-) |
8183 |
1 file changed, 3 insertions(+), 3 deletions(-) |
6154 |
|
8184 |
|
6155 |
commit 0badb0b1bd649163322783b0bd9e590b4bc7a93d |
8185 |
commit 3ce05d235f736d392347a05086b8033416874b87 |
6156 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8186 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6157 |
Date: 2011-04-11 19:28:18 +0300 |
8187 |
Date: 2019-06-20 19:40:30 +0300 |
6158 |
|
8188 |
|
6159 |
liblzma: Use memzero() to initialize supported_actions[]. |
8189 |
tuklib_integer: Fix usage of conv macros. |
6160 |
|
8190 |
|
6161 |
This is cleaner and makes it simpler to add new members |
8191 |
Use a temporary variable instead of e.g. |
6162 |
to lzma_action enumeration. |
8192 |
conv32le(unaligned_read32ne(buf)) because the macro can |
|
|
8193 |
evaluate its argument multiple times. |
6163 |
|
8194 |
|
6164 |
src/liblzma/common/common.c | 6 ++---- |
8195 |
src/common/tuklib_integer.h | 12 ++++++++---- |
6165 |
1 file changed, 2 insertions(+), 4 deletions(-) |
8196 |
1 file changed, 8 insertions(+), 4 deletions(-) |
6166 |
|
8197 |
|
6167 |
commit a7934c446a58e20268689899d2a39f50e571f251 |
8198 |
commit b525b0c0ef40cd89b69294c9b8d57f4a8db58e1f |
6168 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8199 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6169 |
Date: 2011-04-11 19:26:27 +0300 |
8200 |
Date: 2019-06-03 20:44:19 +0300 |
6170 |
|
8201 |
|
6171 |
liblzma: API comment about lzma_allocator with threaded coding. |
8202 |
Update THANKS. |
6172 |
|
8203 |
|
6173 |
src/liblzma/api/lzma/base.h | 18 +++++++++++++----- |
8204 |
THANKS | 1 + |
6174 |
1 file changed, 13 insertions(+), 5 deletions(-) |
8205 |
1 file changed, 1 insertion(+) |
6175 |
|
8206 |
|
6176 |
commit 5eefc0086d24a65e136352f8c1d19cefb0cbac7a |
8207 |
commit 039a168e8cf201d5104a25ec41f0cf25eda6cc53 |
6177 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8208 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6178 |
Date: 2011-04-11 19:16:30 +0300 |
8209 |
Date: 2019-06-03 20:41:54 +0300 |
6179 |
|
8210 |
|
6180 |
liblzma: Add an internal function lzma_mt_block_size(). |
8211 |
liblzma: Fix comments. |
6181 |
|
8212 |
|
6182 |
This is based lzma_chunk_size() that was included in some |
8213 |
Thanks to Bruce Stark. |
6183 |
development version of liblzma. |
|
|
6184 |
|
8214 |
|
6185 |
src/liblzma/common/filter_encoder.c | 46 ++++++++++++++++++------------------- |
8215 |
src/liblzma/common/alone_encoder.c | 4 ++-- |
6186 |
src/liblzma/common/filter_encoder.h | 4 ++-- |
8216 |
src/liblzma/common/block_util.c | 2 +- |
6187 |
2 files changed, 24 insertions(+), 26 deletions(-) |
8217 |
src/liblzma/common/common.c | 2 +- |
|
|
8218 |
src/liblzma/common/filter_common.h | 2 +- |
8219 |
src/liblzma/common/filter_decoder.h | 2 +- |
8220 |
src/liblzma/common/filter_flags_encoder.c | 2 +- |
8221 |
6 files changed, 7 insertions(+), 7 deletions(-) |
6188 |
|
8222 |
|
6189 |
commit d1199274758049fc523d98c5b860ff814a799eec |
8223 |
commit c460f6defebc5a81bbca90adc2476154ca244f69 |
6190 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8224 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6191 |
Date: 2011-04-11 13:59:50 +0300 |
8225 |
Date: 2019-06-02 00:50:59 +0300 |
6192 |
|
8226 |
|
6193 |
liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). |
8227 |
liblzma: Fix one more unaligned read to use unaligned_read16ne(). |
6194 |
|
|
|
6195 |
Empty Block was created if the input buffer was empty. |
6196 |
Empty Block wastes a few bytes of space, but more importantly |
6197 |
it triggers a bug in XZ Utils 5.0.1 and older when trying |
6198 |
to decompress such a file. 5.0.1 and older consider such |
6199 |
files to be corrupt. I thought that no encoder creates empty |
6200 |
Blocks when releasing 5.0.2 but I was wrong. |
6201 |
|
8228 |
|
6202 |
src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++------- |
8229 |
src/liblzma/lz/lz_encoder_hash.h | 2 +- |
6203 |
1 file changed, 13 insertions(+), 7 deletions(-) |
8230 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6204 |
|
8231 |
|
6205 |
commit 3b22fc2c87ec85fcdd385c163b68fc49c97aa848 |
8232 |
commit c81d77c537f0b8c8672868e1dc6cf7290ce4a25b |
6206 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8233 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6207 |
Date: 2011-04-11 13:28:40 +0300 |
8234 |
Date: 2019-06-01 21:41:55 +0300 |
6208 |
|
8235 |
|
6209 |
liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. |
8236 |
Update THANKS. |
6210 |
|
|
|
6211 |
This return value was missing from the API comments of |
6212 |
four functions. |
6213 |
|
8237 |
|
6214 |
src/liblzma/api/lzma/block.h | 1 + |
8238 |
THANKS | 1 + |
6215 |
src/liblzma/api/lzma/container.h | 3 +++ |
8239 |
1 file changed, 1 insertion(+) |
6216 |
2 files changed, 4 insertions(+) |
|
|
6217 |
|
8240 |
|
6218 |
commit 71b9380145dccf001f22e66a06b9d508905c25ce |
8241 |
commit 386394fc9fcde2615391f804eaa466749f96f4ef |
6219 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8242 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6220 |
Date: 2011-04-11 13:21:28 +0300 |
8243 |
Date: 2019-06-01 21:36:13 +0300 |
6221 |
|
8244 |
|
6222 |
liblzma: Validate encoder arguments better. |
8245 |
liblzma: memcmplen: Use ctz32() from tuklib_integer.h. |
6223 |
|
8246 |
|
6224 |
The biggest problem was that the integrity check type |
8247 |
The same compiler-specific #ifdefs are already in tuklib_integer.h |
6225 |
wasn't validated, and e.g. lzma_easy_buffer_encode() |
|
|
6226 |
would create a corrupt .xz Stream if given an unsupported |
6227 |
Check ID. Luckily applications don't usually try to use |
6228 |
an unsupport Check ID, so this bug is unlikely to cause |
6229 |
many real-world problems. |
6230 |
|
6231 |
src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------ |
6232 |
src/liblzma/common/block_encoder.c | 5 +++++ |
6233 |
src/liblzma/common/stream_buffer_encoder.c | 3 +++ |
6234 |
3 files changed, 20 insertions(+), 6 deletions(-) |
6235 |
|
6236 |
commit ec7e3dbad704268825fc48f0bdd4577bc46b4f13 |
6237 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6238 |
Date: 2011-04-11 09:57:30 +0300 |
6239 |
|
6240 |
xz: Move the description of --block-size in --long-help. |
6241 |
|
8248 |
|
6242 |
src/xz/message.c | 8 ++++---- |
8249 |
src/liblzma/common/memcmplen.h | 10 +--------- |
6243 |
1 file changed, 4 insertions(+), 4 deletions(-) |
8250 |
1 file changed, 1 insertion(+), 9 deletions(-) |
6244 |
|
8251 |
|
6245 |
commit cd3086ff443bb282bdf556919c28b3e3cbed8169 |
8252 |
commit 264ab971ce2994baac41b1579c9c35aba7743fc8 |
6246 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8253 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6247 |
Date: 2011-04-11 09:55:35 +0300 |
8254 |
Date: 2019-06-01 21:30:03 +0300 |
6248 |
|
8255 |
|
6249 |
Docs: Document --single-stream and --block-size. |
8256 |
tuklib_integer: Cleanup MSVC-specific code. |
6250 |
|
8257 |
|
6251 |
src/xz/xz.1 | 38 ++++++++++++++++++++++++++++++++++++-- |
8258 |
src/common/tuklib_integer.h | 20 +++++++++----------- |
6252 |
1 file changed, 36 insertions(+), 2 deletions(-) |
8259 |
1 file changed, 9 insertions(+), 11 deletions(-) |
6253 |
|
8260 |
|
6254 |
commit fb64a4924334e3c440865710990fe08090f2fed0 |
8261 |
commit 33773c6f2a8711d4aa6656795db52c59a28580ec |
6255 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8262 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6256 |
Date: 2011-04-11 09:27:57 +0300 |
8263 |
Date: 2019-06-01 19:01:21 +0300 |
6257 |
|
8264 |
|
6258 |
liblzma: Make lzma_stream_encoder_init() static (second try). |
8265 |
liblzma: Use unaligned_readXXne functions instead of type punning. |
6259 |
|
8266 |
|
6260 |
It's an internal function and it's not needed by |
8267 |
Now gcc -fsanitize=undefined should be clean. |
6261 |
anything outside stream_encoder.c. |
8268 |
|
|
|
8269 |
Thanks to Jeffrey Walton. |
6262 |
|
8270 |
|
6263 |
src/liblzma/common/Makefile.inc | 1 - |
8271 |
src/liblzma/common/memcmplen.h | 12 ++++++------ |
6264 |
src/liblzma/common/easy_encoder.c | 1 - |
8272 |
src/liblzma/lzma/lzma_encoder_private.h | 2 +- |
6265 |
src/liblzma/common/stream_encoder.c | 13 ++++++------- |
8273 |
2 files changed, 7 insertions(+), 7 deletions(-) |
6266 |
src/liblzma/common/stream_encoder.h | 23 ----------------------- |
|
|
6267 |
4 files changed, 6 insertions(+), 32 deletions(-) |
6268 |
|
8274 |
|
6269 |
commit a34730cf6af4d33a4057914e57227b6dfde6567e |
8275 |
commit e5f13a66567b1987e0aae42c6fdcd277bb5810ba |
6270 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8276 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6271 |
Date: 2011-04-11 08:31:42 +0300 |
8277 |
Date: 2019-06-01 18:46:54 +0300 |
6272 |
|
8278 |
|
6273 |
Revert "liblzma: Make lzma_stream_encoder_init() static." |
8279 |
tuklib_integer: Autodetect support for unaligned access on ARM. |
6274 |
|
8280 |
|
6275 |
This reverts commit 352ac82db5d3f64585c07b39e4759388dec0e4d7. |
8281 |
The result is used as the default for --enable-unaligned-access. |
6276 |
I don't know what I was thinking. |
8282 |
The test should work with GCC and Clang. |
6277 |
|
8283 |
|
6278 |
src/liblzma/common/Makefile.inc | 1 + |
8284 |
m4/tuklib_integer.m4 | 11 +++++++++++ |
6279 |
src/liblzma/common/stream_encoder.c | 9 +++++---- |
8285 |
1 file changed, 11 insertions(+) |
6280 |
src/liblzma/common/stream_encoder.h | 23 +++++++++++++++++++++++ |
|
|
6281 |
3 files changed, 29 insertions(+), 4 deletions(-) |
6282 |
|
8286 |
|
6283 |
commit 9f0a806aef7ea79718e3f1f2baf3564295229a27 |
8287 |
commit 3bc112c2d38d5f348bce7bc2422286b1692c7490 |
6284 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8288 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6285 |
Date: 2011-04-10 21:23:21 +0300 |
8289 |
Date: 2019-06-01 18:41:16 +0300 |
6286 |
|
8290 |
|
6287 |
Revise mythread.h. |
8291 |
tuklib_integer: Improve unaligned memory access. |
6288 |
|
8292 |
|
6289 |
This adds: |
8293 |
Now memcpy() or GNU C packed structs for unaligned access instead |
|
|
8294 |
of type punning. See the comment in this commit for details. |
6290 |
|
8295 |
|
6291 |
- mythread_sync() macro to create synchronized blocks |
8296 |
Avoiding type punning with unaligned access is needed to |
|
|
8297 |
silence gcc -fsanitize=undefined. |
6292 |
|
8298 |
|
6293 |
- mythread_cond structure and related functions |
8299 |
New functions: unaliged_readXXne and unaligned_writeXXne where |
6294 |
and macros for condition variables with timed |
8300 |
XX is 16, 32, or 64. |
6295 |
waiting using a relative timeout |
8301 |
|
|
|
8302 |
src/common/tuklib_integer.h | 180 +++++++++++++++++++++++++++++++++++++++++--- |
8303 |
1 file changed, 168 insertions(+), 12 deletions(-) |
8304 |
|
8305 |
commit 2a22de439ec63da1927b640eda309296a1e8dce5 |
8306 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8307 |
Date: 2019-05-13 20:05:17 +0300 |
8308 |
|
8309 |
liblzma: Avoid memcpy(NULL, foo, 0) because it is undefined behavior. |
6296 |
|
8310 |
|
6297 |
- mythread_create() to create a thread with all |
8311 |
I should have always known this but I didn't. Here is an example |
6298 |
signals blocked |
8312 |
as a reminder to myself: |
6299 |
|
8313 |
|
6300 |
Some of these wouldn't need to be inline functions, |
8314 |
int mycopy(void *dest, void *src, size_t n) |
6301 |
but I'll keep them this way for now for simplicity. |
8315 |
{ |
|
|
8316 |
memcpy(dest, src, n); |
8317 |
return dest == NULL; |
8318 |
} |
6302 |
|
8319 |
|
6303 |
For timed waiting on a condition variable, librt is |
8320 |
In the example, a compiler may assume that dest != NULL because |
6304 |
now required on some systems to use clock_gettime(). |
8321 |
passing NULL to memcpy() would be undefined behavior. Testing |
6305 |
configure.ac was updated to handle this. |
8322 |
with GCC 8.2.1, mycopy(NULL, NULL, 0) returns 1 with -O0 and -O1. |
|
|
8323 |
With -O2 the return value is 0 because the compiler infers that |
8324 |
dest cannot be NULL because it was already used with memcpy() |
8325 |
and thus the test for NULL gets optimized out. |
8326 |
|
8327 |
In liblzma, if a null-pointer was passed to memcpy(), there were |
8328 |
no checks for NULL *after* the memcpy() call, so I cautiously |
8329 |
suspect that it shouldn't have caused bad behavior in practice, |
8330 |
but it's hard to be sure, and the problematic cases had to be |
8331 |
fixed anyway. |
8332 |
|
8333 |
Thanks to Jeffrey Walton. |
6306 |
|
8334 |
|
6307 |
configure.ac | 1 + |
8335 |
src/liblzma/common/common.c | 6 +++++- |
6308 |
src/common/mythread.h | 200 +++++++++++++++++++++++++++++++++++++++++++++----- |
8336 |
src/liblzma/lz/lz_decoder.c | 12 +++++++++--- |
6309 |
2 files changed, 181 insertions(+), 20 deletions(-) |
8337 |
src/liblzma/simple/simple_coder.c | 10 +++++++++- |
|
|
8338 |
3 files changed, 23 insertions(+), 5 deletions(-) |
6310 |
|
8339 |
|
6311 |
commit 352ac82db5d3f64585c07b39e4759388dec0e4d7 |
8340 |
commit d3fc850cfedc058247d9e334ce59bbc8f2286d8a |
6312 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8341 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6313 |
Date: 2011-04-10 20:37:36 +0300 |
8342 |
Date: 2019-05-11 20:56:08 +0300 |
6314 |
|
8343 |
|
6315 |
liblzma: Make lzma_stream_encoder_init() static. |
8344 |
Update THANKS. |
|
|
8345 |
|
8346 |
THANKS | 1 + |
8347 |
1 file changed, 1 insertion(+) |
8348 |
|
8349 |
commit 4adb8288ab61d5f14e212007b8742df0710baf73 |
8350 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8351 |
Date: 2019-05-11 20:54:12 +0300 |
8352 |
|
8353 |
xz: Update xz man page date. |
8354 |
|
8355 |
src/xz/xz.1 | 2 +- |
8356 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8357 |
|
8358 |
commit 2fb0ddaa557ce86e38fe06439930fa8665f092fd |
8359 |
Author: Antoine Cœur <antoine.coeur@ef.com> |
8360 |
Date: 2019-05-08 13:30:57 +0800 |
8361 |
|
8362 |
spelling |
8363 |
|
8364 |
Doxyfile.in | 2 +- |
8365 |
NEWS | 2 +- |
8366 |
doc/examples/11_file_info.c | 2 +- |
8367 |
src/liblzma/api/lzma/block.h | 2 +- |
8368 |
src/liblzma/api/lzma/hardware.h | 2 +- |
8369 |
src/liblzma/api/lzma/lzma12.h | 2 +- |
8370 |
src/liblzma/api/lzma/vli.h | 2 +- |
8371 |
src/liblzma/common/file_info.c | 4 ++-- |
8372 |
src/liblzma/common/hardware_physmem.c | 2 +- |
8373 |
src/liblzma/common/index.c | 4 ++-- |
8374 |
src/liblzma/common/stream_encoder_mt.c | 2 +- |
8375 |
src/liblzma/common/vli_decoder.c | 2 +- |
8376 |
src/liblzma/lz/lz_decoder.c | 2 +- |
8377 |
src/scripts/xzgrep.in | 2 +- |
8378 |
src/xz/args.c | 2 +- |
8379 |
src/xz/coder.c | 4 ++-- |
8380 |
src/xz/list.c | 4 ++-- |
8381 |
src/xz/main.c | 2 +- |
8382 |
src/xz/mytime.h | 2 +- |
8383 |
src/xz/private.h | 2 +- |
8384 |
src/xz/xz.1 | 2 +- |
8385 |
windows/build.bash | 2 +- |
8386 |
22 files changed, 26 insertions(+), 26 deletions(-) |
8387 |
|
8388 |
commit 4ed339606156bd313ed99237485cb8ed0362d64f |
8389 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8390 |
Date: 2019-05-01 18:43:10 +0300 |
8391 |
|
8392 |
xz: In xz -lvv look at the widths of the check names too. |
6316 |
|
8393 |
|
6317 |
It's an internal function and it's not needed by |
8394 |
Now the widths of the check names is used to adjust the width |
6318 |
anything outside stream_encoder.c. |
8395 |
of the Check column. This way there no longer is a need to restrict |
|
|
8396 |
the widths of the check names to be at most ten terminal-columns. |
6319 |
|
8397 |
|
6320 |
src/liblzma/common/Makefile.inc | 1 - |
8398 |
src/xz/list.c | 32 ++++++++++++++++++++++++++------ |
6321 |
src/liblzma/common/stream_encoder.c | 9 ++++----- |
8399 |
1 file changed, 26 insertions(+), 6 deletions(-) |
6322 |
src/liblzma/common/stream_encoder.h | 23 ----------------------- |
|
|
6323 |
3 files changed, 4 insertions(+), 29 deletions(-) |
6324 |
|
8400 |
|
6325 |
commit 9e807fe3fe79618ac48f58207cf7082ea20a6928 |
8401 |
commit 2f4281a1001dcf7fdf1418c0c0d246c16561fb65 |
6326 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8402 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6327 |
Date: 2011-04-10 14:58:10 +0300 |
8403 |
Date: 2019-05-01 18:33:25 +0300 |
6328 |
|
8404 |
|
6329 |
DOS: Update the docs and include notes about 8.3 filenames. |
8405 |
xz: Fix xz -lvv column alignment to look at the translated strings. |
6330 |
|
8406 |
|
6331 |
dos/{README => INSTALL.txt} | 13 +---- |
8407 |
src/xz/list.c | 4 ++-- |
6332 |
dos/README.txt | 123 ++++++++++++++++++++++++++++++++++++++++++++ |
8408 |
1 file changed, 2 insertions(+), 2 deletions(-) |
6333 |
2 files changed, 125 insertions(+), 11 deletions(-) |
|
|
6334 |
|
8409 |
|
6335 |
commit ebd54dbd6e481d31e80757f900ac8109ad1423c6 |
8410 |
commit 01d01b7c7c0b8eaf7f780a5584ec52c22d10fa4a |
6336 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8411 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6337 |
Date: 2011-04-10 13:09:42 +0300 |
8412 |
Date: 2019-05-01 16:52:36 +0300 |
6338 |
|
8413 |
|
6339 |
xz/DOS: Add experimental 8.3 filename support. |
8414 |
Update THANKS. |
|
|
8415 |
|
8416 |
THANKS | 1 + |
8417 |
1 file changed, 1 insertion(+) |
8418 |
|
8419 |
commit 64030c6b17f7743df03a9948a0ccfcdf40c6b97c |
8420 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8421 |
Date: 2019-05-01 16:43:16 +0300 |
8422 |
|
8423 |
Windows: Update VS version in windows/vs2019/config.h. |
8424 |
|
8425 |
windows/vs2019/config.h | 2 +- |
8426 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8427 |
|
8428 |
commit 2dc9117f5fbfab31444a3ca1e55795ccfa8a9f51 |
8429 |
Author: Julien Marrec <julien.marrec@gmail.com> |
8430 |
Date: 2019-04-25 17:44:06 +0200 |
8431 |
|
8432 |
Windows: Upgrade solution itself |
8433 |
|
8434 |
windows/vs2019/xz_win.sln | 7 +++++-- |
8435 |
1 file changed, 5 insertions(+), 2 deletions(-) |
8436 |
|
8437 |
commit ac31413916fa9b11bab17f0f0aa63e2869360f6f |
8438 |
Author: Julien Marrec <julien.marrec@gmail.com> |
8439 |
Date: 2019-04-25 17:40:24 +0200 |
8440 |
|
8441 |
Windows: Upgrade solution with VS2019 |
8442 |
|
8443 |
windows/vs2019/liblzma.vcxproj | 15 ++++++++------- |
8444 |
windows/vs2019/liblzma_dll.vcxproj | 15 ++++++++------- |
8445 |
2 files changed, 16 insertions(+), 14 deletions(-) |
8446 |
|
8447 |
commit be25a0c37ba92a20c390b4d17fe502457fe96b71 |
8448 |
Author: Julien Marrec <julien.marrec@gmail.com> |
8449 |
Date: 2019-04-25 17:39:32 +0200 |
8450 |
|
8451 |
Windows: Duplicate windows/vs2017 before upgrading |
8452 |
|
8453 |
windows/vs2019/config.h | 148 ++++++++++++++ |
8454 |
windows/vs2019/liblzma.vcxproj | 356 ++++++++++++++++++++++++++++++++++ |
8455 |
windows/vs2019/liblzma_dll.vcxproj | 385 +++++++++++++++++++++++++++++++++++++ |
8456 |
windows/vs2019/xz_win.sln | 48 +++++ |
8457 |
4 files changed, 937 insertions(+) |
8458 |
|
8459 |
commit d0e58b3a51e8e616f3dc26ec7b7e4aa0fa6991ad |
8460 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8461 |
Date: 2019-03-04 22:49:04 +0200 |
8462 |
|
8463 |
README: Update translation instructions. |
6340 |
|
8464 |
|
6341 |
This is incompatible with the 8.3 support patch made by |
8465 |
XZ Utils is now part of the Translation Project |
6342 |
Juan Manuel Guerrero. I think this one is nicer, but |
8466 |
<https://translationproject.org/>. |
6343 |
I need to get feedback from DOS users before saying |
|
|
6344 |
that this is the final version of 8.3 filename support. |
6345 |
|
8467 |
|
6346 |
src/xz/suffix.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- |
8468 |
README | 32 +++++++++++++------------------- |
6347 |
1 file changed, 167 insertions(+), 9 deletions(-) |
8469 |
1 file changed, 13 insertions(+), 19 deletions(-) |
6348 |
|
8470 |
|
6349 |
commit cd4fe97852bcaeffe674ee51b4613709292a0972 |
8471 |
commit a750c35a7d45a16c11c1d40fecee8443c32a9996 |
6350 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8472 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6351 |
Date: 2011-04-10 12:47:47 +0300 |
8473 |
Date: 2019-03-04 21:20:39 +0200 |
6352 |
|
8474 |
|
6353 |
xz/DOS: Be more careful with the destination file. |
8475 |
xz: Automatically align column headings in xz -lvv. |
|
|
8476 |
|
8477 |
src/xz/list.c | 263 ++++++++++++++++++++++++++++++++++++++++++++++------------ |
8478 |
1 file changed, 212 insertions(+), 51 deletions(-) |
8479 |
|
8480 |
commit 6cb42e8aa1dc37bf403a9f5acbd07e86036b7e77 |
8481 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8482 |
Date: 2019-03-04 01:07:59 +0200 |
8483 |
|
8484 |
xz: Automatically align strings ending in a colon in --list output. |
6354 |
|
8485 |
|
6355 |
Try to avoid overwriting the source file if --force is |
8486 |
This should avoid alignment errors in translations with these |
6356 |
used and the generated destination filename refers to |
8487 |
strings. |
6357 |
the source file. This can happen with 8.3 filenames where |
8488 |
|
6358 |
extra characters are ignored. |
8489 |
src/xz/list.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++------- |
|
|
8490 |
1 file changed, 102 insertions(+), 12 deletions(-) |
8491 |
|
8492 |
commit 1e3f29b62f2c03e50fc9ebea7b83c1497dd35484 |
8493 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8494 |
Date: 2019-01-13 17:29:23 +0200 |
8495 |
|
8496 |
Windows/VS2017: Omit WindowsTargetPlatformVersion from project files. |
6359 |
|
8497 |
|
6360 |
If the generated output file refers to a special file |
8498 |
I understood that if a WTPV is specified, it's often wrong |
6361 |
like "con" or "prn", refuse to write to it even if --force |
8499 |
because different VS installations have different SDK version |
6362 |
is used. |
8500 |
installed. Omitting the WTPV tag makes VS2017 default to |
|
|
8501 |
Windows SDK 8.1 which often is also missing, so in any case |
8502 |
people may need to specify the WTPV before building. But some |
8503 |
day in the future a missing WTPV tag will start to default to |
8504 |
the latest installed SDK which sounds reasonable: |
8505 |
|
8506 |
https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html |
8507 |
|
8508 |
Thanks to "dom". |
6363 |
|
8509 |
|
6364 |
src/xz/file_io.c | 35 +++++++++++++++++++++++++++++++++-- |
8510 |
windows/INSTALL-MSVC.txt | 4 ++++ |
6365 |
1 file changed, 33 insertions(+), 2 deletions(-) |
8511 |
windows/vs2017/liblzma.vcxproj | 1 - |
|
|
8512 |
windows/vs2017/liblzma_dll.vcxproj | 1 - |
8513 |
3 files changed, 4 insertions(+), 2 deletions(-) |
6366 |
|
8514 |
|
6367 |
commit 607f9f98ae5ef6d49f4c21c806d462bf6b3d6796 |
8515 |
commit 4d86076332aece6314063d3712a5f364172bbb0f |
6368 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8516 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6369 |
Date: 2011-04-09 18:29:30 +0300 |
8517 |
Date: 2018-12-20 20:42:29 +0200 |
6370 |
|
8518 |
|
6371 |
Update THANKS. |
8519 |
Update THANKS. |
6372 |
|
8520 |
|
6373 |
THANKS | 1 + |
8521 |
THANKS | 1 + |
6374 |
1 file changed, 1 insertion(+) |
8522 |
1 file changed, 1 insertion(+) |
6375 |
|
8523 |
|
6376 |
commit fca396b37410d272b754843a5dc13847be443a3a |
8524 |
commit b55d79461d1f6aeaac03c7dae84481e5eb8bea4c |
6377 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8525 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6378 |
Date: 2011-04-09 18:28:58 +0300 |
8526 |
Date: 2018-12-14 20:34:30 +0200 |
6379 |
|
8527 |
|
6380 |
liblzma: Add missing #ifdefs to filter_common.c. |
8528 |
xz: Fix a crash in progress indicator when in passthru mode. |
6381 |
|
8529 |
|
6382 |
Passing --disable-decoders to configure broke a few |
8530 |
"xz -dcfv not_an_xz_file" crashed (all four options are |
6383 |
encoders due to missing #ifdefs in filter_common.c. |
8531 |
required to trigger it). It caused xz to call |
|
|
8532 |
lzma_get_progress(&strm, ...) when no coder was initialized |
8533 |
in strm. In this situation strm.internal is NULL which leads |
8534 |
to a crash in lzma_get_progress(). |
6384 |
|
8535 |
|
6385 |
Thanks to Jason Gorski for the patch. |
8536 |
The bug was introduced when xz started using lzma_get_progress() |
|
|
8537 |
to get progress info for multi-threaded compression, so the |
8538 |
bug is present in versions 5.1.3alpha and higher. |
8539 |
|
8540 |
Thanks to Filip Palian <Filip.Palian@pjwstk.edu.pl> for |
8541 |
the bug report. |
6386 |
|
8542 |
|
6387 |
src/liblzma/common/filter_common.c | 6 +++--- |
8543 |
src/xz/coder.c | 11 +++++++---- |
6388 |
1 file changed, 3 insertions(+), 3 deletions(-) |
8544 |
src/xz/message.c | 18 ++++++++++++++++-- |
|
|
8545 |
src/xz/message.h | 3 ++- |
8546 |
3 files changed, 25 insertions(+), 7 deletions(-) |
6389 |
|
8547 |
|
6390 |
commit b03f6cd3ebadd675f2cc9d518cb26fa860269447 |
8548 |
commit 4ae5526de013efd1021686fa80bdd10cf1cb9c56 |
6391 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8549 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6392 |
Date: 2011-04-09 15:24:59 +0300 |
8550 |
Date: 2018-11-22 17:20:31 +0200 |
6393 |
|
8551 |
|
6394 |
xz: Avoid unneeded fstat() on DOS-like systems. |
8552 |
xz: Update man page timestamp. |
6395 |
|
8553 |
|
6396 |
src/xz/file_io.c | 14 ++++++++------ |
8554 |
src/xz/xz.1 | 2 +- |
6397 |
1 file changed, 8 insertions(+), 6 deletions(-) |
8555 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6398 |
|
8556 |
|
6399 |
commit 335fe260a81f61ec99ff5940df733b4c50aedb7c |
8557 |
commit 6a36d0d5f49e0080ff64dd9ef250abd489bea2ad |
|
|
8558 |
Author: Pavel Raiskup <praiskup@redhat.com> |
8559 |
Date: 2018-11-22 15:14:34 +0100 |
8560 |
|
8561 |
'have have' typos |
8562 |
|
8563 |
src/xz/signals.c | 2 +- |
8564 |
src/xz/xz.1 | 2 +- |
8565 |
2 files changed, 2 insertions(+), 2 deletions(-) |
8566 |
|
8567 |
commit 9eca51ef805ed8002a851df1b4995d71826c8b6e |
6400 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8568 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6401 |
Date: 2011-04-09 15:11:13 +0300 |
8569 |
Date: 2018-11-02 20:40:48 +0200 |
6402 |
|
8570 |
|
6403 |
xz: Minor internal changes to handling of --threads. |
8571 |
Update THANKS. |
|
|
8572 |
|
8573 |
THANKS | 1 + |
8574 |
1 file changed, 1 insertion(+) |
8575 |
|
8576 |
commit 106d1a663d4ba42b63231caa289f531548df81c1 |
8577 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8578 |
Date: 2018-11-02 20:18:45 +0200 |
8579 |
|
8580 |
Tests: Add a fuzz test program and a config file for OSS-Fuzz. |
6404 |
|
8581 |
|
6405 |
Now it always defaults to one thread. Maybe this |
8582 |
Thanks to Bhargava Shastry and Github user pdknsk. |
6406 |
will change again if a threading method is added |
|
|
6407 |
that doesn't affect memory usage. |
6408 |
|
8583 |
|
6409 |
src/xz/args.c | 4 ++-- |
8584 |
tests/Makefile.am | 1 + |
6410 |
src/xz/hardware.c | 24 ++++++++++++------------ |
8585 |
tests/ossfuzz/Makefile | 7 ++++ |
6411 |
src/xz/hardware.h | 9 ++++----- |
8586 |
tests/ossfuzz/config/fuzz.dict | 2 + |
6412 |
3 files changed, 18 insertions(+), 19 deletions(-) |
8587 |
tests/ossfuzz/config/fuzz.options | 2 + |
|
|
8588 |
tests/ossfuzz/fuzz.c | 82 +++++++++++++++++++++++++++++++++++++++ |
8589 |
5 files changed, 94 insertions(+) |
6413 |
|
8590 |
|
6414 |
commit 9edd6ee895fbe71d245a173f48e511f154a99875 |
8591 |
commit a18ae42a79a19b1394b41eb3e238139fd28012ec |
6415 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8592 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6416 |
Date: 2011-04-08 17:53:05 +0300 |
8593 |
Date: 2018-10-26 22:49:10 +0300 |
6417 |
|
8594 |
|
6418 |
xz: Change size_t to uint32_t in a few places. |
8595 |
liblzma: Don't verify header CRC32s if building for fuzz testing. |
|
|
8596 |
|
8597 |
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION is #defined when liblzma |
8598 |
is being built for fuzz testing. |
8599 |
|
8600 |
Most fuzzed inputs would normally get rejected because of incorrect |
8601 |
CRC32 and the actual header decoding code wouldn't get fuzzed. |
8602 |
Disabling CRC32 checks avoids this problem. The fuzzer program |
8603 |
must still use LZMA_IGNORE_CHECK flag to disable verification of |
8604 |
integrity checks of uncompressed data. |
6419 |
|
8605 |
|
6420 |
src/xz/coder.c | 6 +++--- |
8606 |
src/liblzma/common/block_header_decoder.c | 5 ++++- |
6421 |
src/xz/coder.h | 2 +- |
8607 |
src/liblzma/common/index_decoder.c | 5 ++++- |
6422 |
2 files changed, 4 insertions(+), 4 deletions(-) |
8608 |
src/liblzma/common/index_hash.c | 5 ++++- |
|
|
8609 |
src/liblzma/common/stream_flags_decoder.c | 10 ++++++++-- |
8610 |
4 files changed, 20 insertions(+), 5 deletions(-) |
6423 |
|
8611 |
|
6424 |
commit 411013ea4506a6df24d35a060fcbd73a57b73eb3 |
8612 |
commit f76f7516d6a1c832f61810c82e92d151cc80966c |
6425 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8613 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6426 |
Date: 2011-04-08 17:48:41 +0300 |
8614 |
Date: 2018-07-27 18:10:44 +0300 |
6427 |
|
8615 |
|
6428 |
xz: Fix a typo in a comment. |
8616 |
xzless: Rename unused variables to silence static analysers. |
|
|
8617 |
|
8618 |
In this particular case I don't see this affecting readability |
8619 |
of the code. |
8620 |
|
8621 |
Thanks to Pavel Raiskup. |
6429 |
|
8622 |
|
6430 |
src/xz/coder.c | 2 +- |
8623 |
src/scripts/xzless.in | 2 +- |
6431 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8624 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6432 |
|
8625 |
|
6433 |
commit b34c5ce4b22e8d7b81f9895d15054af41d17f805 |
8626 |
commit 3cbcaeb07eb7543735befd6f507fdb5fa4363cff |
6434 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8627 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6435 |
Date: 2011-04-05 22:41:33 +0300 |
8628 |
Date: 2018-07-27 16:02:58 +0300 |
6436 |
|
8629 |
|
6437 |
liblzma: Use TUKLIB_GNUC_REQ to check GCC version in sha256.c. |
8630 |
liblzma: Remove an always-true condition from lzma_index_cat(). |
|
|
8631 |
|
8632 |
This should help static analysis tools to see that newg |
8633 |
isn't leaked. |
8634 |
|
8635 |
Thanks to Pavel Raiskup. |
6438 |
|
8636 |
|
6439 |
src/liblzma/check/sha256.c | 6 +++--- |
8637 |
src/liblzma/common/index.c | 4 ++-- |
6440 |
1 file changed, 3 insertions(+), 3 deletions(-) |
8638 |
1 file changed, 2 insertions(+), 2 deletions(-) |
6441 |
|
8639 |
|
6442 |
commit db33117cc85c17e0b897b5312bd5eb43aac41c03 |
8640 |
commit 76762ae6098ec55c326f4b4b4a42e8c1918ee81f |
6443 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8641 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6444 |
Date: 2011-04-05 17:12:20 +0300 |
8642 |
Date: 2018-05-19 21:23:25 +0300 |
6445 |
|
8643 |
|
6446 |
Build: Upgrade m4/acx_pthread.m4 to the latest version. |
8644 |
liblzma: Improve lzma_properties_decode() API documentation. |
6447 |
|
|
|
6448 |
It was renamed to ax_pthread.m4 in Autoconf Archive. |
6449 |
|
8645 |
|
6450 |
configure.ac | 2 +- |
8646 |
src/liblzma/api/lzma/filter.h | 7 ++++--- |
6451 |
m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++----------------- |
8647 |
1 file changed, 4 insertions(+), 3 deletions(-) |
6452 |
2 files changed, 88 insertions(+), 84 deletions(-) |
|
|
6453 |
|
8648 |
|
6454 |
commit 1039bfcfc098b69d56ecb39d198a092552eacf6d |
8649 |
commit 2267f5b0d20a5d24e93fcd9f72ea7eeb0d89708c |
6455 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8650 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6456 |
Date: 2011-04-05 15:27:26 +0300 |
8651 |
Date: 2018-04-29 18:58:19 +0300 |
6457 |
|
8652 |
|
6458 |
xz: Use posix_fadvise() if it is available. |
8653 |
Bump the version number to 5.3.1alpha. |
6459 |
|
8654 |
|
6460 |
configure.ac | 3 +++ |
8655 |
src/liblzma/api/lzma/version.h | 2 +- |
6461 |
src/xz/file_io.c | 15 +++++++++++++++ |
8656 |
src/liblzma/liblzma.map | 2 +- |
6462 |
2 files changed, 18 insertions(+) |
8657 |
2 files changed, 2 insertions(+), 2 deletions(-) |
6463 |
|
8658 |
|
6464 |
commit 1ef3cf44a8eb9512480af4482a5232ea08363b14 |
8659 |
commit cee3021d30704858e4bdd22240e7d28e570d7451 |
6465 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8660 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6466 |
Date: 2011-04-05 15:13:29 +0300 |
8661 |
Date: 2018-04-29 18:48:00 +0300 |
6467 |
|
8662 |
|
6468 |
xz: Call lzma_end(&strm) before exiting if debugging is enabled. |
8663 |
extra/scanlzma: Fix compiler warnings. |
6469 |
|
8664 |
|
6470 |
src/xz/coder.c | 10 ++++++++++ |
8665 |
extra/scanlzma/scanlzma.c | 6 +++++- |
6471 |
src/xz/coder.h | 5 +++++ |
8666 |
1 file changed, 5 insertions(+), 1 deletion(-) |
6472 |
src/xz/main.c | 4 ++++ |
|
|
6473 |
3 files changed, 19 insertions(+) |
6474 |
|
8667 |
|
6475 |
commit bd432015d33dcade611d297bc01eb0700088ef6c |
8668 |
commit c5c7ceb08a011b97d261798033e2c39613a69eb7 |
6476 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8669 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6477 |
Date: 2011-04-02 14:49:56 +0300 |
8670 |
Date: 2018-04-29 18:44:47 +0300 |
6478 |
|
8671 |
|
6479 |
liblzma: Fix a memory leak in stream_encoder.c. |
8672 |
DOS: Add file_info.c to the list of files to build. |
|
|
8673 |
|
8674 |
dos/Makefile | 1 + |
8675 |
1 file changed, 1 insertion(+) |
8676 |
|
8677 |
commit 114cab97af766b21e0fc8620479202fb1e7a5e41 |
8678 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8679 |
Date: 2018-04-29 18:33:10 +0300 |
8680 |
|
8681 |
Update NEWS for 5.3.1alpha. |
8682 |
|
8683 |
NEWS | 11 +++++++++++ |
8684 |
1 file changed, 11 insertions(+) |
8685 |
|
8686 |
commit b8139e11c512bbf32bf58ab0689f9bb6c52819da |
8687 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8688 |
Date: 2018-04-29 18:15:37 +0300 |
8689 |
|
8690 |
Add NEWS for 5.2.4. |
8691 |
|
8692 |
NEWS | 27 +++++++++++++++++++++++++++ |
8693 |
1 file changed, 27 insertions(+) |
8694 |
|
8695 |
commit 47b59d47cfd904a420fbd45629d168ca1973721d |
8696 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8697 |
Date: 2018-02-06 19:36:30 +0200 |
8698 |
|
8699 |
Update THANKS. |
8700 |
|
8701 |
THANKS | 2 ++ |
8702 |
1 file changed, 2 insertions(+) |
8703 |
|
8704 |
commit bc197991690ede24ab143665b5b0f0f9cb35cc46 |
8705 |
Author: Ben Boeckel <mathstuf@gmail.com> |
8706 |
Date: 2018-01-29 13:58:18 -0500 |
8707 |
|
8708 |
nothrow: use noexcept for C++11 and newer |
6480 |
|
8709 |
|
6481 |
It leaks old filter options structures (hundred bytes or so) |
8710 |
In C++11, the `throw()` specifier is deprecated and `noexcept` is |
6482 |
every time the lzma_stream is reinitialized. With the xz tool, |
8711 |
preffered instead. |
6483 |
this happens when compressing multiple files. |
|
|
6484 |
|
8712 |
|
6485 |
src/liblzma/common/stream_encoder.c | 2 +- |
8713 |
src/liblzma/api/lzma.h | 6 +++++- |
6486 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8714 |
1 file changed, 5 insertions(+), 1 deletion(-) |
6487 |
|
8715 |
|
6488 |
commit 16889013214e7620d204b6e6c1bf9f3103a13655 |
8716 |
commit fb6d4f83cb6e144734f2a4216bb117bd56dc3cb5 |
6489 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8717 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6490 |
Date: 2011-04-01 08:47:20 +0300 |
8718 |
Date: 2018-02-06 18:02:48 +0200 |
6491 |
|
8719 |
|
6492 |
Updated NEWS for 5.0.2. |
8720 |
liblzma: Remove incorrect #ifdef from range_common.h. |
|
|
8721 |
|
8722 |
In most cases it was harmless but it could affect some |
8723 |
custom build systems. |
8724 |
|
8725 |
Thanks to Pippijn van Steenhoven. |
6493 |
|
8726 |
|
6494 |
NEWS | 18 ++++++++++++++++++ |
8727 |
src/liblzma/rangecoder/range_common.h | 4 +--- |
6495 |
1 file changed, 18 insertions(+) |
8728 |
1 file changed, 1 insertion(+), 3 deletions(-) |
6496 |
|
8729 |
|
6497 |
commit 85cdf7dd4e97b078e7b929e47f55a7f1da36010f |
8730 |
commit bc577d35c2d0ed17f554d2d8107b2a2a9abbac76 |
6498 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8731 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6499 |
Date: 2011-03-31 15:06:58 +0300 |
8732 |
Date: 2018-01-10 22:10:39 +0200 |
6500 |
|
8733 |
|
6501 |
Update INSTALL with another note about IRIX. |
8734 |
Update THANKS. |
6502 |
|
8735 |
|
6503 |
INSTALL | 4 ++++ |
8736 |
THANKS | 1 + |
6504 |
1 file changed, 4 insertions(+) |
8737 |
1 file changed, 1 insertion(+) |
6505 |
|
8738 |
|
6506 |
commit c3f4995586873d6a4fb7e451010a128571a9a370 |
8739 |
commit 713bbc1a80f26d34c96ed3dbb9887362204de3a1 |
6507 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8740 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6508 |
Date: 2011-03-31 12:22:55 +0300 |
8741 |
Date: 2018-01-10 21:54:27 +0200 |
6509 |
|
8742 |
|
6510 |
Tests: Add a new file to test empty LZMA2 streams. |
8743 |
tuklib_integer: New Intel C compiler needs immintrin.h. |
|
|
8744 |
|
8745 |
Thanks to Melanie Blower (Intel) for the patch. |
6511 |
|
8746 |
|
6512 |
tests/files/README | 4 ++++ |
8747 |
src/common/tuklib_integer.h | 11 +++++++++++ |
6513 |
tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes |
8748 |
1 file changed, 11 insertions(+) |
|
|
8749 |
|
8750 |
commit a0ee1afbd99da138b559cb27fa2022e7f1ab44f3 |
8751 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8752 |
Date: 2017-09-24 20:04:24 +0300 |
8753 |
|
8754 |
Update THANKS. |
8755 |
|
8756 |
THANKS | 1 + |
8757 |
1 file changed, 1 insertion(+) |
8758 |
|
8759 |
commit a1e2c568de29c0b57d873eab40a2879b749da429 |
8760 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8761 |
Date: 2017-09-16 20:36:20 +0300 |
8762 |
|
8763 |
Windows: Fix paths in VS project files. |
8764 |
|
8765 |
Some paths use slashes instead of backslashes as directory |
8766 |
separators... now it should work (I tested VS2013 version). |
8767 |
|
8768 |
windows/vs2013/liblzma.vcxproj | 12 ++++++------ |
8769 |
windows/vs2013/liblzma_dll.vcxproj | 24 ++++++++++++------------ |
8770 |
windows/vs2017/liblzma.vcxproj | 12 ++++++------ |
8771 |
windows/vs2017/liblzma_dll.vcxproj | 24 ++++++++++++------------ |
8772 |
4 files changed, 36 insertions(+), 36 deletions(-) |
8773 |
|
8774 |
commit cea5cf8d26c9d1dc30a808614d79c0b25640e15e |
8775 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8776 |
Date: 2017-09-16 12:56:20 +0300 |
8777 |
|
8778 |
Windows: Update VS2017 project files to include file info decoder. |
8779 |
|
8780 |
windows/vs2017/liblzma.vcxproj | 2 ++ |
8781 |
windows/vs2017/liblzma_dll.vcxproj | 2 ++ |
6514 |
2 files changed, 4 insertions(+) |
8782 |
2 files changed, 4 insertions(+) |
6515 |
|
8783 |
|
6516 |
commit 0d21f49a809dc2088da6cc0da7f948404df7ecfa |
8784 |
commit 95d563db3ee497b223e522b699c4d4c29943eef0 |
6517 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8785 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6518 |
Date: 2011-03-31 11:54:48 +0300 |
8786 |
Date: 2017-09-16 12:54:23 +0300 |
6519 |
|
8787 |
|
6520 |
liblzma: Fix decoding of LZMA2 streams having no uncompressed data. |
8788 |
Windows: Add project files for VS2017. |
6521 |
|
8789 |
|
6522 |
The decoder considered empty LZMA2 streams to be corrupt. |
8790 |
These files match the v5.2 branch (no file info decoder). |
6523 |
This shouldn't matter much with .xz files, because no encoder |
|
|
6524 |
creates empty LZMA2 streams in .xz. This bug is more likely |
6525 |
to cause problems in applications that use raw LZMA2 streams. |
6526 |
|
6527 |
src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- |
6528 |
1 file changed, 4 insertions(+), 4 deletions(-) |
6529 |
|
8791 |
|
6530 |
commit 40277998cb9bad564ce4827aff152e6e1c904dfa |
8792 |
windows/vs2017/config.h | 148 ++++++++++++++ |
|
|
8793 |
windows/vs2017/liblzma.vcxproj | 355 ++++++++++++++++++++++++++++++++++ |
8794 |
windows/vs2017/liblzma_dll.vcxproj | 384 +++++++++++++++++++++++++++++++++++++ |
8795 |
windows/vs2017/xz_win.sln | 48 +++++ |
8796 |
4 files changed, 935 insertions(+) |
8797 |
|
8798 |
commit ab72416d62ea8f50ad31d5b8545fcb6a2bf96b73 |
6531 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8799 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6532 |
Date: 2011-03-24 01:42:49 +0200 |
8800 |
Date: 2017-09-16 12:45:50 +0300 |
6533 |
|
8801 |
|
6534 |
Scripts: Better fix for xzgrep. |
8802 |
Windows: Update VS2013 project files to include file info decoder. |
|
|
8803 |
|
8804 |
windows/vs2013/liblzma.vcxproj | 2 ++ |
8805 |
windows/vs2013/liblzma_dll.vcxproj | 2 ++ |
8806 |
2 files changed, 4 insertions(+) |
8807 |
|
8808 |
commit 82388980187b0e3794d187762054200bbdcc9a53 |
8809 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8810 |
Date: 2017-09-16 12:39:43 +0300 |
8811 |
|
8812 |
Windows: Move VS2013 files into windows/vs2013 directory. |
8813 |
|
8814 |
windows/{ => vs2013}/config.h | 0 |
8815 |
windows/{ => vs2013}/liblzma.vcxproj | 278 +++++++++++++++--------------- |
8816 |
windows/{ => vs2013}/liblzma_dll.vcxproj | 280 +++++++++++++++---------------- |
8817 |
windows/{ => vs2013}/xz_win.sln | 0 |
8818 |
4 files changed, 279 insertions(+), 279 deletions(-) |
8819 |
|
8820 |
commit 94e3f986aa4e14b4ff01ac24857f499630d6d180 |
8821 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8822 |
Date: 2017-08-14 20:08:33 +0300 |
8823 |
|
8824 |
Fix or hide warnings from GCC 7's -Wimplicit-fallthrough. |
8825 |
|
8826 |
src/liblzma/lzma/lzma_decoder.c | 6 ++++++ |
8827 |
src/xz/list.c | 2 ++ |
8828 |
2 files changed, 8 insertions(+) |
8829 |
|
8830 |
commit 0b0e1e6803456aac641a59332200f8e95e2b7ea8 |
8831 |
Author: Alexey Tourbin <alexey.tourbin@gmail.com> |
8832 |
Date: 2017-05-16 23:56:35 +0300 |
8833 |
|
8834 |
Docs: Fix a typo in a comment in doc/examples/02_decompress.c. |
8835 |
|
8836 |
doc/examples/02_decompress.c | 2 +- |
8837 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8838 |
|
8839 |
commit a015cd1f90116e655be4eaf4aad42c4c911c2807 |
8840 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8841 |
Date: 2017-05-23 18:34:43 +0300 |
8842 |
|
8843 |
xz: Fix "xz --list --robot missing_or_bad_file.xz". |
6535 |
|
8844 |
|
6536 |
Now it uses "grep -q". |
8845 |
It ended up printing an uninitialized char-array when trying to |
|
|
8846 |
print the check names (column 7) on the "totals" line. |
6537 |
|
8847 |
|
6538 |
Thanks to Gregory Margo. |
8848 |
This also changes the column 12 (minimum xz version) to |
6539 |
|
8849 |
50000002 (xz 5.0.0) instead of 0 when there are no valid |
6540 |
src/scripts/xzgrep.in | 8 ++++++-- |
8850 |
input files. |
|
|
8851 |
|
8852 |
Thanks to kidmin for the bug report. |
8853 |
|
8854 |
src/xz/list.c | 8 ++++++-- |
6541 |
1 file changed, 6 insertions(+), 2 deletions(-) |
8855 |
1 file changed, 6 insertions(+), 2 deletions(-) |
6542 |
|
8856 |
|
6543 |
commit 2118733045ad0ca183a3f181a0399baf876983a6 |
8857 |
commit c2e29f06a7d1e3ba242ac2fafc69f5d6e92f62cd |
6544 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8858 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6545 |
Date: 2011-03-24 01:22:18 +0200 |
8859 |
Date: 2017-04-24 20:20:11 +0300 |
6546 |
|
|
|
6547 |
Updated THANKS. |
6548 |
|
8860 |
|
|
|
8861 |
Docs: Add doc/examples/11_file_info.c. |
8862 |
|
8863 |
doc/examples/11_file_info.c | 206 ++++++++++++++++++++++++++++++++++++++++++++ |
8864 |
doc/examples/Makefile | 3 +- |
8865 |
2 files changed, 208 insertions(+), 1 deletion(-) |
8866 |
|
8867 |
commit 1520f6ec808896375ac7bf778c449e0f7dea5f46 |
8868 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8869 |
Date: 2017-04-24 19:48:47 +0300 |
8870 |
|
8871 |
Build: Omit pre-5.0.0 entries from the generated ChangeLog. |
8872 |
|
8873 |
It makes ChangeLog significantly smaller. |
8874 |
|
8875 |
Makefile.am | 3 ++- |
8876 |
1 file changed, 2 insertions(+), 1 deletion(-) |
8877 |
|
8878 |
commit 8269782283806c90a8509c2ac2a308344f70e171 |
8879 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8880 |
Date: 2017-04-24 19:48:23 +0300 |
8881 |
|
8882 |
xz: Use lzma_file_info_decoder() for --list. |
8883 |
|
8884 |
src/xz/list.c | 254 ++++++++++------------------------------------------------ |
8885 |
1 file changed, 44 insertions(+), 210 deletions(-) |
8886 |
|
8887 |
commit e353d0b1cc0d3997ae5048faa8e6786414953e06 |
8888 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8889 |
Date: 2017-04-24 19:35:50 +0300 |
8890 |
|
8891 |
liblzma: Add lzma_file_info_decoder(). |
8892 |
|
8893 |
src/liblzma/api/lzma/index.h | 66 ++++ |
8894 |
src/liblzma/common/Makefile.inc | 1 + |
8895 |
src/liblzma/common/file_info.c | 855 ++++++++++++++++++++++++++++++++++++++++ |
8896 |
src/liblzma/liblzma.map | 7 +- |
8897 |
4 files changed, 928 insertions(+), 1 deletion(-) |
8898 |
|
8899 |
commit 144ef9e19e9496c995b21505dd1e111c442968d1 |
8900 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8901 |
Date: 2017-04-24 19:30:22 +0300 |
8902 |
|
8903 |
Update the Git repository URL to HTTPS in ChangeLog. |
8904 |
|
8905 |
ChangeLog | 2 +- |
8906 |
1 file changed, 1 insertion(+), 1 deletion(-) |
8907 |
|
8908 |
commit 8c9842c265993d7dd4039f732d3546267fb5ecc4 |
8909 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8910 |
Date: 2017-04-21 15:05:16 +0300 |
8911 |
|
8912 |
liblzma: Rename LZMA_SEEK to LZMA_SEEK_NEEDED and seek_in to seek_pos. |
8913 |
|
8914 |
src/liblzma/api/lzma/base.h | 18 +++++++++--------- |
8915 |
src/liblzma/common/common.c | 2 +- |
8916 |
src/xz/message.c | 2 +- |
8917 |
3 files changed, 11 insertions(+), 11 deletions(-) |
8918 |
|
8919 |
commit 662b27c417cab248cb365dd7682121bdec4d5ae7 |
8920 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8921 |
Date: 2017-04-19 22:17:35 +0300 |
8922 |
|
8923 |
Update the home page URLs to HTTPS. |
8924 |
|
8925 |
COPYING | 2 +- |
8926 |
README | 2 +- |
8927 |
configure.ac | 2 +- |
8928 |
doc/faq.txt | 4 ++-- |
8929 |
dos/config.h | 2 +- |
8930 |
src/common/common_w32res.rc | 2 +- |
8931 |
src/xz/xz.1 | 6 +++--- |
8932 |
src/xzdec/xzdec.1 | 4 ++-- |
8933 |
windows/README-Windows.txt | 2 +- |
8934 |
windows/config.h | 2 +- |
8935 |
10 files changed, 14 insertions(+), 14 deletions(-) |
8936 |
|
8937 |
commit c28f0b3d00af87b92dda229831548d8eb0067d1d |
8938 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8939 |
Date: 2017-04-05 18:47:22 +0300 |
8940 |
|
8941 |
xz: Add io_seek_src(). |
8942 |
|
8943 |
src/xz/file_io.c | 20 +++++++++++++++++--- |
8944 |
src/xz/file_io.h | 13 +++++++++++++ |
8945 |
2 files changed, 30 insertions(+), 3 deletions(-) |
8946 |
|
8947 |
commit bba477257d7319c8764890f3669175b866d24944 |
8948 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8949 |
Date: 2017-03-30 22:01:54 +0300 |
8950 |
|
8951 |
xz: Use POSIX_FADV_RANDOM for in "xz --list" mode. |
8952 |
|
8953 |
xz --list is random access so POSIX_FADV_SEQUENTIAL was clearly |
8954 |
wrong. |
8955 |
|
8956 |
src/xz/file_io.c | 10 ++++++++-- |
8957 |
1 file changed, 8 insertions(+), 2 deletions(-) |
8958 |
|
8959 |
commit 310d19816d1652b0c8bb1b82574d46345d924752 |
8960 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8961 |
Date: 2017-03-30 20:03:05 +0300 |
8962 |
|
8963 |
liblzma: Make lzma_index_decoder_init() visible to other liblzma funcs. |
8964 |
|
8965 |
This is to allow other functions to use it without going |
8966 |
via the public API (lzma_index_decoder()). |
8967 |
|
8968 |
src/liblzma/common/Makefile.inc | 1 + |
8969 |
src/liblzma/common/index_decoder.c | 10 +++++----- |
8970 |
src/liblzma/common/index_decoder.h | 24 ++++++++++++++++++++++++ |
8971 |
3 files changed, 30 insertions(+), 5 deletions(-) |
8972 |
|
8973 |
commit a27920002dbc469f778a134fc665b7c3ea73701b |
8974 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8975 |
Date: 2017-03-30 20:00:09 +0300 |
8976 |
|
8977 |
liblzma: Add generic support for input seeking (LZMA_SEEK). |
8978 |
|
8979 |
Also mention LZMA_SEEK in xz/message.c to silence a warning. |
8980 |
|
8981 |
src/liblzma/api/lzma/base.h | 31 ++++++++++++++++++++++++++++++- |
8982 |
src/liblzma/common/common.c | 12 +++++++++++- |
8983 |
src/xz/message.c | 1 + |
8984 |
3 files changed, 42 insertions(+), 2 deletions(-) |
8985 |
|
8986 |
commit a0b1dda409bc3e6e2957a2651663fc411d2caf2d |
8987 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
8988 |
Date: 2017-03-30 19:47:45 +0300 |
8989 |
|
8990 |
liblzma: Fix lzma_memlimit_set(strm, 0). |
8991 |
|
8992 |
The 0 got treated specially in a buggy way and as a result |
8993 |
the function did nothing. The API doc said that 0 was supposed |
8994 |
to return LZMA_PROG_ERROR but it didn't. |
8995 |
|
8996 |
Now 0 is treated as if 1 had been specified. This is done because |
8997 |
0 is already used to indicate an error from lzma_memlimit_get() |
8998 |
and lzma_memusage(). |
8999 |
|
9000 |
In addition, lzma_memlimit_set() no longer checks that the new |
9001 |
limit is at least LZMA_MEMUSAGE_BASE. It's counter-productive |
9002 |
for the Index decoder and was actually needed only by the |
9003 |
auto decoder. Auto decoder has now been modified to check for |
9004 |
LZMA_MEMUSAGE_BASE. |
9005 |
|
9006 |
src/liblzma/api/lzma/base.h | 7 ++++++- |
9007 |
src/liblzma/common/auto_decoder.c | 3 +++ |
9008 |
src/liblzma/common/common.c | 6 ++++-- |
9009 |
3 files changed, 13 insertions(+), 3 deletions(-) |
9010 |
|
9011 |
commit 84462afaada61379f5878e46f8f00e25a1cdcf29 |
9012 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9013 |
Date: 2017-03-30 19:16:55 +0300 |
9014 |
|
9015 |
liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder. |
9016 |
|
9017 |
src/liblzma/api/lzma/container.h | 21 +++++++++++++++++---- |
9018 |
src/liblzma/common/alone_decoder.c | 5 +---- |
9019 |
src/liblzma/common/auto_decoder.c | 5 +---- |
9020 |
src/liblzma/common/stream_decoder.c | 5 +---- |
9021 |
4 files changed, 20 insertions(+), 16 deletions(-) |
9022 |
|
9023 |
commit cbc74017939690d13441b8926bb743fb03211b83 |
9024 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9025 |
Date: 2017-03-30 18:58:18 +0300 |
9026 |
|
9027 |
liblzma: Fix handling of memlimit == 0 in lzma_index_decoder(). |
9028 |
|
9029 |
It returned LZMA_PROG_ERROR, which was done to avoid zero as |
9030 |
the limit (because it's a special value elsewhere), but using |
9031 |
LZMA_PROG_ERROR is simply inconvenient and can cause bugs. |
9032 |
|
9033 |
The fix/workaround is to treat 0 as if it were 1 byte. It's |
9034 |
effectively the same thing. The only weird consequence is |
9035 |
that then lzma_memlimit_get() will return 1 even when 0 was |
9036 |
specified as the limit. |
9037 |
|
9038 |
This fixes a very rare corner case in xz --list where a specific |
9039 |
memory usage limit and a multi-stream file could print the |
9040 |
error message "Internal error (bug)" instead of saying that |
9041 |
the memory usage limit is too low. |
9042 |
|
9043 |
src/liblzma/api/lzma/index.h | 18 +++++++++++------- |
9044 |
src/liblzma/common/index_decoder.c | 4 ++-- |
9045 |
2 files changed, 13 insertions(+), 9 deletions(-) |
9046 |
|
9047 |
commit 78ae13bced912b1b92ae927992c99cbcc463cae7 |
9048 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9049 |
Date: 2016-12-30 13:25:10 +0200 |
9050 |
|
9051 |
Update NEWS for 5.2.3. |
9052 |
|
9053 |
NEWS | 39 +++++++++++++++++++++++++++++++++++++++ |
9054 |
1 file changed, 39 insertions(+) |
9055 |
|
9056 |
commit 0297863fdb453aed1a25eb025f3ba7bacbbb1357 |
9057 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9058 |
Date: 2016-12-26 20:55:52 +0200 |
9059 |
|
9060 |
Document --enable-sandbox configure option in INSTALL. |
9061 |
|
9062 |
INSTALL | 23 +++++++++++++++++++++++ |
9063 |
1 file changed, 23 insertions(+) |
9064 |
|
9065 |
commit d4a0462abe5478193521c14625e1c81fead87f9f |
9066 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9067 |
Date: 2016-11-21 20:24:50 +0200 |
9068 |
|
9069 |
liblzma: Avoid multiple definitions of lzma_coder structures. |
9070 |
|
9071 |
Only one definition was visible in a translation unit. |
9072 |
It avoided a few casts and temp variables but seems that |
9073 |
this hack doesn't work with link-time optimizations in compilers |
9074 |
as it's not C99/C11 compliant. |
9075 |
|
9076 |
Fixes: |
9077 |
http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html |
9078 |
|
9079 |
src/liblzma/common/alone_decoder.c | 44 +++++---- |
9080 |
src/liblzma/common/alone_encoder.c | 34 ++++--- |
9081 |
src/liblzma/common/auto_decoder.c | 35 ++++--- |
9082 |
src/liblzma/common/block_decoder.c | 41 ++++---- |
9083 |
src/liblzma/common/block_encoder.c | 40 ++++---- |
9084 |
src/liblzma/common/common.h | 18 ++-- |
9085 |
src/liblzma/common/index_decoder.c | 33 ++++--- |
9086 |
src/liblzma/common/index_encoder.c | 16 ++-- |
9087 |
src/liblzma/common/stream_decoder.c | 50 +++++----- |
9088 |
src/liblzma/common/stream_encoder.c | 56 ++++++----- |
9089 |
src/liblzma/common/stream_encoder_mt.c | 124 ++++++++++++++----------- |
9090 |
src/liblzma/delta/delta_common.c | 25 ++--- |
9091 |
src/liblzma/delta/delta_decoder.c | 6 +- |
9092 |
src/liblzma/delta/delta_encoder.c | 12 ++- |
9093 |
src/liblzma/delta/delta_private.h | 4 +- |
9094 |
src/liblzma/lz/lz_decoder.c | 60 ++++++------ |
9095 |
src/liblzma/lz/lz_decoder.h | 13 ++- |
9096 |
src/liblzma/lz/lz_encoder.c | 57 +++++++----- |
9097 |
src/liblzma/lz/lz_encoder.h | 9 +- |
9098 |
src/liblzma/lzma/lzma2_decoder.c | 32 ++++--- |
9099 |
src/liblzma/lzma/lzma2_encoder.c | 51 +++++----- |
9100 |
src/liblzma/lzma/lzma_decoder.c | 27 +++--- |
9101 |
src/liblzma/lzma/lzma_encoder.c | 29 +++--- |
9102 |
src/liblzma/lzma/lzma_encoder.h | 9 +- |
9103 |
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 3 +- |
9104 |
src/liblzma/lzma/lzma_encoder_optimum_normal.c | 23 ++--- |
9105 |
src/liblzma/lzma/lzma_encoder_private.h | 6 +- |
9106 |
src/liblzma/simple/arm.c | 2 +- |
9107 |
src/liblzma/simple/armthumb.c | 2 +- |
9108 |
src/liblzma/simple/ia64.c | 2 +- |
9109 |
src/liblzma/simple/powerpc.c | 2 +- |
9110 |
src/liblzma/simple/simple_coder.c | 61 ++++++------ |
9111 |
src/liblzma/simple/simple_private.h | 12 +-- |
9112 |
src/liblzma/simple/sparc.c | 2 +- |
9113 |
src/liblzma/simple/x86.c | 15 +-- |
9114 |
35 files changed, 532 insertions(+), 423 deletions(-) |
9115 |
|
9116 |
commit a01794c52add98263b49119842c3e7141d1b9ced |
9117 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9118 |
Date: 2016-10-24 18:53:25 +0300 |
9119 |
|
9120 |
Update THANKS. |
9121 |
|
6549 |
THANKS | 1 + |
9122 |
THANKS | 1 + |
6550 |
1 file changed, 1 insertion(+) |
9123 |
1 file changed, 1 insertion(+) |
6551 |
|
9124 |
|
6552 |
commit c7210d9a3fca6f31a57208bfddfc9ab20a2e097a |
9125 |
commit df8f446e3ad47e5148b8c8d8b6e519d3ce29cb9d |
6553 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9126 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6554 |
Date: 2011-03-24 01:21:32 +0200 |
9127 |
Date: 2016-10-24 18:51:36 +0300 |
6555 |
|
9128 |
|
6556 |
Scripts: Fix xzgrep -l. |
9129 |
tuklib_cpucores: Add support for sched_getaffinity(). |
6557 |
|
9130 |
|
6558 |
It didn't work at all. It tried to use the -q option |
9131 |
It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better |
6559 |
for grep, but it appended it after "--". This works |
9132 |
than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity() |
6560 |
around it by redirecting to /dev/null. The downside |
9133 |
gives the number of cores available to the process instead of |
6561 |
is that this can be slower with big files compared |
9134 |
the total number of cores online. |
6562 |
to proper use of "grep -q". |
|
|
6563 |
|
9135 |
|
6564 |
Thanks to Gregory Margo. |
9136 |
As a side effect, this commit fixes a bug on GNU/kFreeBSD where |
6565 |
|
9137 |
configure would detect the FreeBSD-specific cpuset_getaffinity() |
6566 |
src/scripts/xzgrep.in | 4 ++-- |
9138 |
but it wouldn't actually work because on GNU/kFreeBSD it requires |
6567 |
1 file changed, 2 insertions(+), 2 deletions(-) |
9139 |
using -lfreebsd-glue when linking. Now the glibc-specific function |
6568 |
|
9140 |
will be used instead. |
6569 |
commit 4eb83e32046a6d670862bc91c3d82530963b455e |
9141 |
|
6570 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9142 |
Thanks to Sebastian Andrzej Siewior for the original patch |
6571 |
Date: 2011-03-19 13:08:22 +0200 |
9143 |
and testing. |
6572 |
|
|
|
6573 |
Scripts: Add lzop (.lzo) support to xzdiff and xzgrep. |
6574 |
|
9144 |
|
6575 |
src/scripts/xzdiff.1 | 6 ++++-- |
9145 |
m4/tuklib_cpucores.m4 | 30 +++++++++++++++++++++++++++++- |
6576 |
src/scripts/xzdiff.in | 22 ++++++++++++++-------- |
9146 |
src/common/tuklib_cpucores.c | 9 +++++++++ |
6577 |
src/scripts/xzgrep.1 | 11 +++++++---- |
9147 |
2 files changed, 38 insertions(+), 1 deletion(-) |
6578 |
src/scripts/xzgrep.in | 5 +++-- |
|
|
6579 |
4 files changed, 28 insertions(+), 16 deletions(-) |
6580 |
|
9148 |
|
6581 |
commit 923b22483bd9356f3219b2b784d96f455f4dc499 |
9149 |
commit 446e4318fa79788e09299d5953b5dd428953d14b |
6582 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9150 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6583 |
Date: 2011-03-18 19:10:30 +0200 |
9151 |
Date: 2016-06-30 20:27:36 +0300 |
6584 |
|
9152 |
|
6585 |
xz: Add --block-size=SIZE. |
9153 |
xz: Fix copying of timestamps on Windows. |
6586 |
|
9154 |
|
6587 |
This uses LZMA_FULL_FLUSH every SIZE bytes of input. |
9155 |
xz used to call utime() on Windows, but its result gets lost |
|
|
9156 |
on close(). Using _futime() seems to work. |
6588 |
|
9157 |
|
6589 |
Man page wasn't updated yet. |
9158 |
Thanks to Martok for reporting the bug: |
6590 |
|
9159 |
http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html |
6591 |
src/xz/args.c | 7 +++++++ |
9160 |
|
6592 |
src/xz/coder.c | 50 ++++++++++++++++++++++++++++++++++++++++---------- |
9161 |
configure.ac | 2 +- |
6593 |
src/xz/coder.h | 3 +++ |
9162 |
src/xz/file_io.c | 18 ++++++++++++++++++ |
6594 |
src/xz/message.c | 4 ++++ |
9163 |
2 files changed, 19 insertions(+), 1 deletion(-) |
6595 |
4 files changed, 54 insertions(+), 10 deletions(-) |
9164 |
|
6596 |
|
9165 |
commit 1b0ac0c53c761263e91e34195cb21dfdcfeac0bd |
6597 |
commit 57597d42ca1740ad506437be168d800a50f1a0ad |
|
|
6598 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9166 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6599 |
Date: 2011-03-18 18:19:19 +0200 |
9167 |
Date: 2016-06-16 22:46:02 +0300 |
6600 |
|
9168 |
|
6601 |
xz: Add --single-stream. |
9169 |
xz: Silence warnings from -Wlogical-op. |
6602 |
|
9170 |
|
6603 |
This can be useful when there is garbage after the |
9171 |
Thanks to Evan Nemerson. |
6604 |
compressed stream (.xz, .lzma, or raw stream). |
9172 |
|
|
|
9173 |
src/xz/file_io.c | 12 ++++++++++-- |
9174 |
1 file changed, 10 insertions(+), 2 deletions(-) |
9175 |
|
9176 |
commit c83b7a03342c3325ff10400b22ee21edfcd1e026 |
9177 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9178 |
Date: 2016-04-10 20:55:49 +0300 |
9179 |
|
9180 |
Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am. |
6605 |
|
9181 |
|
6606 |
Man page wasn't updated yet. |
9182 |
Thanks to Christian Kujau. |
6607 |
|
9183 |
|
6608 |
src/xz/args.c | 6 ++++++ |
9184 |
src/xz/Makefile.am | 2 +- |
6609 |
src/xz/coder.c | 11 +++++++++-- |
9185 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6610 |
src/xz/coder.h | 3 +++ |
9186 |
|
6611 |
src/xz/message.c | 6 +++++- |
9187 |
commit ade31a2bfb95c94d05fbfc0ecbba5d6377f2506e |
6612 |
4 files changed, 23 insertions(+), 3 deletions(-) |
|
|
6613 |
|
6614 |
commit 96f94bc925d579a700147fa5d7793b64d69cfc18 |
6615 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9188 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6616 |
Date: 2011-02-04 22:49:31 +0200 |
9189 |
Date: 2016-04-10 20:54:17 +0300 |
6617 |
|
9190 |
|
6618 |
xz: Clean up suffix.c. |
9191 |
Build: Bump GNU Gettext version requirement to 0.19. |
6619 |
|
9192 |
|
6620 |
struct suffix_pair isn't needed in compresed_name() |
9193 |
It silences a few warnings and most people probably have |
6621 |
so get rid of it there. |
9194 |
0.19 even on stable distributions. |
6622 |
|
9195 |
|
6623 |
src/xz/suffix.c | 44 ++++++++++++++++++++------------------------ |
9196 |
Thanks to Christian Kujau. |
6624 |
1 file changed, 20 insertions(+), 24 deletions(-) |
9197 |
|
6625 |
|
9198 |
configure.ac | 2 +- |
6626 |
commit 8930c7ae3f82bdae15aa129f01de08be23d7e8d7 |
9199 |
1 file changed, 1 insertion(+), 1 deletion(-) |
|
|
9200 |
|
9201 |
commit ac398c3bafa6e4c80e20571373a96947db863b3d |
6627 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9202 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6628 |
Date: 2011-02-04 11:29:47 +0200 |
9203 |
Date: 2016-03-13 20:21:49 +0200 |
6629 |
|
9204 |
|
6630 |
xz: Check if the file already has custom suffix when compressing. |
9205 |
liblzma: Disable external SHA-256 by default. |
6631 |
|
9206 |
|
6632 |
Now "xz -S .test foo.test" refuses to compress the |
9207 |
This is the sane thing to do. The conflict with OpenSSL |
6633 |
file because it already has the suffix .test. The man |
9208 |
on some OSes and especially that the OS-provided versions |
6634 |
page had it documented this way already. |
9209 |
can be significantly slower makes it clear that it was |
6635 |
|
9210 |
a mistake to have the external SHA-256 support enabled by |
6636 |
src/xz/suffix.c | 9 +++++++++ |
9211 |
default. |
6637 |
1 file changed, 9 insertions(+) |
9212 |
|
6638 |
|
9213 |
Those who want it can now pass --enable-external-sha256 to |
6639 |
commit 940d5852c6cf08abccc6befd9d1b5411c9076a58 |
9214 |
configure. INSTALL was updated with notes about OSes where |
|
|
9215 |
this can be a bad idea. |
9216 |
|
9217 |
The SHA-256 detection code in configure.ac had some bugs that |
9218 |
could lead to a build failure in some situations. These were |
9219 |
fixed, although it doesn't matter that much now that the |
9220 |
external SHA-256 is disabled by default. |
9221 |
|
9222 |
MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init |
9223 |
in libc instead of libutil. Support for the libutil version |
9224 |
was removed. |
9225 |
|
9226 |
INSTALL | 36 ++++++++++++++++++++++ |
9227 |
configure.ac | 76 +++++++++++++++++++++++------------------------ |
9228 |
src/liblzma/check/check.h | 16 ++++------ |
9229 |
3 files changed, 79 insertions(+), 49 deletions(-) |
9230 |
|
9231 |
commit 6fd5ecb589a9fdd7a576ea48c4850d496bab9ce5 |
6640 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9232 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6641 |
Date: 2011-02-02 23:01:51 +0200 |
9233 |
Date: 2016-03-10 20:27:05 +0200 |
6642 |
|
|
|
6643 |
Updated THANKS. |
6644 |
|
9234 |
|
|
|
9235 |
Update THANKS. |
9236 |
|
6645 |
THANKS | 1 + |
9237 |
THANKS | 1 + |
6646 |
1 file changed, 1 insertion(+) |
9238 |
1 file changed, 1 insertion(+) |
6647 |
|
9239 |
|
6648 |
commit 4ebe65f839613f27f127bab7b8c347d982330ee3 |
9240 |
commit 473ef0dc69a30e64d5fa0d34aca02f7309faa3e9 |
6649 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9241 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6650 |
Date: 2011-02-02 23:00:33 +0200 |
9242 |
Date: 2016-03-10 20:26:49 +0200 |
6651 |
|
9243 |
|
6652 |
Translations: Add Polish translation. |
9244 |
Build: Avoid SHA256_Init on FreeBSD and MINIX 3. |
6653 |
|
9245 |
|
6654 |
Thanks to Jakub Bogusz. |
9246 |
On FreeBSD 10 and older, SHA256_Init from libmd conflicts |
6655 |
|
9247 |
with libcrypto from OpenSSL. The OpenSSL version has |
6656 |
po/LINGUAS | 1 + |
9248 |
different sizeof(SHA256_CTX) and it can cause weird |
6657 |
po/pl.po | 825 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
9249 |
problems if wrong SHA256_Init gets used. |
6658 |
2 files changed, 826 insertions(+) |
9250 |
|
|
|
9251 |
Looking at the source, MINIX 3 seems to have a similar issue but |
9252 |
I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too. |
9253 |
|
9254 |
NetBSD has SHA256_Init in libc and they had a similar problem, |
9255 |
but they already fixed it in 2009. |
9256 |
|
9257 |
Thanks to Jim Wilcoxson for the bug report that helped |
9258 |
in finding the problem. |
6659 |
|
9259 |
|
6660 |
commit fc1d292dca1925dfd17174f443f91a696ecd5bf8 |
9260 |
configure.ac | 27 +++++++++++++++++++++------ |
|
|
9261 |
1 file changed, 21 insertions(+), 6 deletions(-) |
9262 |
|
9263 |
commit faf302137e54d605b44ecf0373cb51a6403a2de1 |
6661 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9264 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6662 |
Date: 2011-02-02 22:24:00 +0200 |
9265 |
Date: 2015-11-08 20:16:10 +0200 |
6663 |
|
9266 |
|
6664 |
Updated THANKS. |
9267 |
tuklib_physmem: Hopefully silence a warning on Windows. |
6665 |
|
9268 |
|
|
|
9269 |
src/common/tuklib_physmem.c | 3 ++- |
9270 |
1 file changed, 2 insertions(+), 1 deletion(-) |
9271 |
|
9272 |
commit e52e9151cf8613022d1de4712ff39dbcb666e991 |
9273 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9274 |
Date: 2015-11-04 23:17:43 +0200 |
9275 |
|
9276 |
Update THANKS. |
9277 |
|
6666 |
THANKS | 1 + |
9278 |
THANKS | 1 + |
6667 |
1 file changed, 1 insertion(+) |
9279 |
1 file changed, 1 insertion(+) |
6668 |
|
9280 |
|
6669 |
commit 6dd061adfd2775428b079eb03d6fd47d7c0f1ffe |
9281 |
commit 14115f84a38161d55eaa2d070f08739bde37e966 |
6670 |
Merge: 9d542ce 5fbce0b |
|
|
6671 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9282 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6672 |
Date: 2011-02-06 20:13:01 +0200 |
9283 |
Date: 2015-11-04 23:14:00 +0200 |
6673 |
|
9284 |
|
6674 |
Merge commit '5fbce0b8d96dc96775aa0215e3581addc830e23d' |
9285 |
liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma. |
|
|
9286 |
|
9287 |
When optimizing, GCC can reorder code so that an uninitialized |
9288 |
value gets used in a comparison, which makes Valgrind unhappy. |
9289 |
It doesn't happen when compiled with -O0, which I tend to use |
9290 |
when running Valgrind. |
9291 |
|
9292 |
Thanks to Rich Prohaska. I remember this being mentioned long |
9293 |
ago by someone else but nothing was done back then. |
6675 |
|
9294 |
|
6676 |
commit 5fbce0b8d96dc96775aa0215e3581addc830e23d |
9295 |
src/liblzma/lz/lz_encoder.c | 4 ++++ |
|
|
9296 |
1 file changed, 4 insertions(+) |
9297 |
|
9298 |
commit f4c95ba94beb71a608eb6eadbf82b44f53a0260e |
6677 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9299 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6678 |
Date: 2011-01-28 20:16:57 +0200 |
9300 |
Date: 2015-11-03 20:55:45 +0200 |
6679 |
|
9301 |
|
6680 |
Update NEWS for 5.0.1. |
9302 |
liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c. |
|
|
9303 |
|
9304 |
It would be too annoying to update other build systems |
9305 |
just because of this. |
6681 |
|
9306 |
|
6682 |
NEWS | 14 ++++++++++++++ |
9307 |
src/liblzma/lzma/Makefile.inc | 2 +- |
6683 |
1 file changed, 14 insertions(+) |
9308 |
src/liblzma/lzma/{lzma_presets.c => lzma_encoder_presets.c} | 2 +- |
|
|
9309 |
2 files changed, 2 insertions(+), 2 deletions(-) |
6684 |
|
9310 |
|
6685 |
commit 03ebd1bbb314f9f204940219a835c883bf442475 |
9311 |
commit c7bc20a6f3e71920871d48db31a79ab58b5a0a4b |
6686 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9312 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6687 |
Date: 2011-01-26 12:19:08 +0200 |
9313 |
Date: 2015-11-03 20:47:07 +0200 |
6688 |
|
9314 |
|
6689 |
xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. |
9315 |
Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built. |
6690 |
|
9316 |
|
6691 |
xz didn't compress setuid/setgid/sticky files and files |
9317 |
They all need decoder support and if that isn't available, |
6692 |
with multiple hard links even with --force. This bug was |
9318 |
there's no point trying to build them. |
6693 |
introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. |
9319 |
|
|
|
9320 |
configure.ac | 3 +++ |
9321 |
1 file changed, 3 insertions(+) |
9322 |
|
9323 |
commit 5cbca1205deeb6fb7afe7a864fa68a57466d928a |
9324 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9325 |
Date: 2015-11-03 20:35:19 +0200 |
9326 |
|
9327 |
Build: Simplify $enable_{encoders,decoders} usage a bit. |
9328 |
|
9329 |
configure.ac | 6 ++++-- |
9330 |
1 file changed, 4 insertions(+), 2 deletions(-) |
9331 |
|
9332 |
commit af13781886c8e7a0aabebb5141ea282dc364f5c6 |
9333 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9334 |
Date: 2015-11-03 20:31:31 +0200 |
9335 |
|
9336 |
Windows/MSVC: Update config.h. |
9337 |
|
9338 |
windows/config.h | 6 ++++++ |
9339 |
1 file changed, 6 insertions(+) |
9340 |
|
9341 |
commit 9fa5949330f162c5a2f6653f83025327837e8f39 |
9342 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9343 |
Date: 2015-11-03 20:29:58 +0200 |
9344 |
|
9345 |
DOS: Update config.h. |
9346 |
|
9347 |
dos/config.h | 6 ++++++ |
9348 |
1 file changed, 6 insertions(+) |
9349 |
|
9350 |
commit cb3111e3ed84152912b5138d690c8d9f00c6ef02 |
9351 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9352 |
Date: 2015-11-03 20:29:33 +0200 |
9353 |
|
9354 |
xz: Make xz buildable even when encoders or decoders are disabled. |
6694 |
|
9355 |
|
6695 |
Thanks to Charles Wilson. |
9356 |
The patch is quite long but it's mostly about adding new #ifdefs |
6696 |
|
9357 |
to omit code when encoders or decoders have been disabled. |
6697 |
src/xz/file_io.c | 15 +++++++-------- |
9358 |
|
6698 |
1 file changed, 7 insertions(+), 8 deletions(-) |
9359 |
This adds two new #defines to config.h: HAVE_ENCODERS and |
6699 |
|
9360 |
HAVE_DECODERS. |
6700 |
commit 9d542ceebcbe40b174169c132ccfcdc720ca7089 |
9361 |
|
6701 |
Merge: 4f2c69a 7bd0a5e |
9362 |
configure.ac | 4 ++++ |
|
|
9363 |
src/xz/Makefile.am | 8 ++++++-- |
9364 |
src/xz/args.c | 16 ++++++++++++++++ |
9365 |
src/xz/coder.c | 33 +++++++++++++++++++++++++-------- |
9366 |
src/xz/main.c | 9 +++++++-- |
9367 |
src/xz/private.h | 5 ++++- |
9368 |
6 files changed, 62 insertions(+), 13 deletions(-) |
9369 |
|
9370 |
commit 4cc584985c0b7a13901da1b7a64ef9f7cc36e8ab |
6702 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9371 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6703 |
Date: 2011-01-19 11:45:35 +0200 |
9372 |
Date: 2015-11-03 18:06:40 +0200 |
6704 |
|
|
|
6705 |
Merge branch 'v5.0' |
6706 |
|
9373 |
|
6707 |
commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 |
9374 |
Build: Build LZMA1/2 presets also when only decoder is wanted. |
|
|
9375 |
|
9376 |
People shouldn't rely on the presets when decoding raw streams, |
9377 |
but xz uses the presets as the starting point for raw decoder |
9378 |
options anyway. |
9379 |
|
9380 |
lzma_encocder_presets.c was renamed to lzma_presets.c to |
9381 |
make it clear it's not used solely by the encoder code. |
9382 |
|
9383 |
src/liblzma/lzma/Makefile.inc | 6 +++++- |
9384 |
src/liblzma/lzma/{lzma_encoder_presets.c => lzma_presets.c} | 3 ++- |
9385 |
2 files changed, 7 insertions(+), 2 deletions(-) |
9386 |
|
9387 |
commit 23ed1d41489f632155bbc9660f323d57e09da180 |
6708 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9388 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6709 |
Date: 2011-01-18 21:25:24 +0200 |
9389 |
Date: 2015-11-03 17:54:48 +0200 |
6710 |
|
9390 |
|
6711 |
Updated THANKS. |
9391 |
Build: Fix configure to handle LZMA1 dependency with LZMA2. |
|
|
9392 |
|
9393 |
Now it gives an error if LZMA1 encoder/decoder is missing |
9394 |
when LZMA2 encoder/decoder was requested. Even better would |
9395 |
be LZMA2 implicitly enabling LZMA1 but it would need more code. |
6712 |
|
9396 |
|
|
|
9397 |
configure.ac | 5 ----- |
9398 |
1 file changed, 5 deletions(-) |
9399 |
|
9400 |
commit b0bc3e03852af13419ea2960881824258d451117 |
9401 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9402 |
Date: 2015-11-03 17:41:54 +0200 |
9403 |
|
9404 |
Build: Don't omit lzma_cputhreads() unless using --disable-threads. |
9405 |
|
9406 |
Previously it was omitted if encoders were disabled |
9407 |
with --disable-encoders. It didn't make sense and |
9408 |
it also broke the build. |
9409 |
|
9410 |
src/liblzma/common/Makefile.inc | 5 ++++- |
9411 |
1 file changed, 4 insertions(+), 1 deletion(-) |
9412 |
|
9413 |
commit c6bf438ab39e0fb4a47d3c81725c227919502726 |
9414 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9415 |
Date: 2015-11-02 18:16:51 +0200 |
9416 |
|
9417 |
liblzma: Fix a build failure related to external SHA-256 support. |
9418 |
|
9419 |
If an appropriate header and structure were found by configure, |
9420 |
but a library with a usable SHA-256 functions wasn't, the build |
9421 |
failed. |
9422 |
|
9423 |
src/liblzma/check/check.h | 32 +++++++++++++++++++++++--------- |
9424 |
1 file changed, 23 insertions(+), 9 deletions(-) |
9425 |
|
9426 |
commit e18adc56f2262aa9394d46681e9e4b9981ed5e97 |
9427 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9428 |
Date: 2015-11-02 15:19:10 +0200 |
9429 |
|
9430 |
xz: Always close the file before trying to delete it. |
9431 |
|
9432 |
unlink() can return EBUSY in errno for open files on some |
9433 |
operating systems and file systems. |
9434 |
|
9435 |
src/xz/file_io.c | 25 ++++++++++++------------- |
9436 |
1 file changed, 12 insertions(+), 13 deletions(-) |
9437 |
|
9438 |
commit 282e768a1484e88c8b7ec35655ee4959954ec87a |
9439 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9440 |
Date: 2015-10-12 21:08:42 +0300 |
9441 |
|
9442 |
Update THANKS. |
9443 |
|
6713 |
THANKS | 1 + |
9444 |
THANKS | 1 + |
6714 |
1 file changed, 1 insertion(+) |
9445 |
1 file changed, 1 insertion(+) |
6715 |
|
9446 |
|
6716 |
commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 |
9447 |
commit 372e402713a1d4337ffce5f56d5c5c9ed99a66d0 |
6717 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9448 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6718 |
Date: 2011-01-18 21:23:50 +0200 |
9449 |
Date: 2015-10-12 21:07:41 +0300 |
6719 |
|
9450 |
|
6720 |
Add alloc_size and malloc attributes to a few functions. |
9451 |
Tests: Add tests for the two bugs fixed in index.c. |
|
|
9452 |
|
9453 |
tests/test_index.c | 30 ++++++++++++++++++++++++++++++ |
9454 |
1 file changed, 30 insertions(+) |
9455 |
|
9456 |
commit 21515d79d778b8730a434f151b07202d52a04611 |
9457 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9458 |
Date: 2015-10-12 20:45:15 +0300 |
9459 |
|
9460 |
liblzma: Fix lzma_index_dup() for empty Streams. |
6721 |
|
9461 |
|
6722 |
Thanks to Cristian Rodríguez for the original patch. |
9462 |
Stream Flags and Stream Padding weren't copied from |
6723 |
|
9463 |
empty Streams. |
6724 |
src/common/sysdefs.h | 6 ++++++ |
9464 |
|
6725 |
src/liblzma/common/common.h | 2 +- |
9465 |
src/liblzma/common/index.c | 11 ++++++----- |
6726 |
src/xz/util.h | 5 +++-- |
9466 |
1 file changed, 6 insertions(+), 5 deletions(-) |
6727 |
3 files changed, 10 insertions(+), 3 deletions(-) |
9467 |
|
6728 |
|
9468 |
commit 09f395b6b360c0b13e8559eece1d179b908ebd3a |
6729 |
commit 316cbe24465143edde8f6ffb7532834b7b2ea93f |
|
|
6730 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9469 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6731 |
Date: 2010-12-13 16:36:33 +0200 |
9470 |
Date: 2015-10-12 20:31:44 +0300 |
6732 |
|
|
|
6733 |
Scripts: Fix gzip and bzip2 support in xzdiff. |
6734 |
|
9471 |
|
6735 |
src/scripts/xzdiff.in | 12 ++++++------ |
9472 |
liblzma: Add a note to index.c for those using static analyzers. |
|
|
9473 |
|
9474 |
src/liblzma/common/index.c | 3 +++ |
9475 |
1 file changed, 3 insertions(+) |
9476 |
|
9477 |
commit 3bf857edfef51374f6f3fffae3d817f57d3264a0 |
9478 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9479 |
Date: 2015-10-12 20:29:09 +0300 |
9480 |
|
9481 |
liblzma: Fix a memory leak in error path of lzma_index_dup(). |
9482 |
|
9483 |
lzma_index_dup() calls index_dup_stream() which, in case of |
9484 |
an error, calls index_stream_end() to free memory allocated |
9485 |
by index_stream_init(). However, it illogically didn't |
9486 |
actually free the memory. To make it logical, the tree |
9487 |
handling code was modified a bit in addition to changing |
9488 |
index_stream_end(). |
9489 |
|
9490 |
Thanks to Evan Nemerson for the bug report. |
9491 |
|
9492 |
src/liblzma/common/index.c | 18 +++++++++--------- |
9493 |
1 file changed, 9 insertions(+), 9 deletions(-) |
9494 |
|
9495 |
commit 7f05803979b4b79642d5be4218a79da7a0b12c47 |
9496 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9497 |
Date: 2015-09-29 13:57:28 +0300 |
9498 |
|
9499 |
Update NEWS for 5.2.2. |
9500 |
|
9501 |
NEWS | 18 ++++++++++++++++++ |
9502 |
1 file changed, 18 insertions(+) |
9503 |
|
9504 |
commit 397fcc0946315b55c3c6d80e37e82a2a78bc15c1 |
9505 |
Author: Hauke Henningsen <sqrt@entless.org> |
9506 |
Date: 2015-08-17 04:59:54 +0200 |
9507 |
|
9508 |
Update German translation, mostly wrt orthography |
9509 |
|
9510 |
Provide an update of the German translation. |
9511 |
* A lot of compound words were previously written with spaces, while |
9512 |
German orthography is relatively clear in that the components |
9513 |
should not be separated. |
9514 |
* When referring to the actual process of (de)compression rather than the |
9515 |
concept, replace “(De-)Kompression” with “(De-)Komprimierung”. |
9516 |
Previously, both forms were used in this context and are now used in a |
9517 |
manner consistent with “Komprimierung” being more likely to refer to |
9518 |
a process. |
9519 |
* Consistently translate “standard input”/“output” |
9520 |
* Use “Zeichen” instead of false friend “Charakter” for “character” |
9521 |
* Insert commas around relative clauses (as required in German) |
9522 |
* Some other minor corrections |
9523 |
* Capitalize “ß” as “ẞ” |
9524 |
* Consistently start option descriptions in --help with capital letters |
9525 |
|
9526 |
Acked-By: Andre Noll <maan@tuebingen.mpg.de> |
9527 |
|
9528 |
* Update after msgmerge |
9529 |
|
9530 |
po/de.po | 383 ++++++++++++++++++++++++++++++++------------------------------- |
9531 |
1 file changed, 196 insertions(+), 187 deletions(-) |
9532 |
|
9533 |
commit cbc9e39bae715accb44168930a71888480aad569 |
9534 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9535 |
Date: 2015-08-11 13:23:04 +0300 |
9536 |
|
9537 |
Build: Minor Cygwin cleanup. |
9538 |
|
9539 |
Some tests used "cygwin*" and some used "cygwin". I changed |
9540 |
them all to use "cygwin". Shouldn't affect anything in practice. |
9541 |
|
9542 |
configure.ac | 6 +++--- |
9543 |
1 file changed, 3 insertions(+), 3 deletions(-) |
9544 |
|
9545 |
commit bcacd8ce7a031566858e5e03c1009064c3f1c89e |
9546 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9547 |
Date: 2015-08-11 13:21:52 +0300 |
9548 |
|
9549 |
Build: Support building of MSYS2 binaries. |
9550 |
|
9551 |
configure.ac | 16 +++++++++++----- |
9552 |
1 file changed, 11 insertions(+), 5 deletions(-) |
9553 |
|
9554 |
commit 0275a5398c01d57b724dec7fea52dec3bd6edc6c |
9555 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9556 |
Date: 2015-08-09 21:06:26 +0300 |
9557 |
|
9558 |
Windows: Define DLL_EXPORT when building liblzma.dll with MSVC. |
9559 |
|
9560 |
src/liblzma/common/common.h uses it to set __declspec(dllexport) |
9561 |
for the API symbols. |
9562 |
|
9563 |
Thanks to Adam Walling. |
9564 |
|
9565 |
windows/liblzma_dll.vcxproj | 12 ++++++------ |
6736 |
1 file changed, 6 insertions(+), 6 deletions(-) |
9566 |
1 file changed, 6 insertions(+), 6 deletions(-) |
6737 |
|
9567 |
|
6738 |
commit 4f2c69a4e3e0aee2e37b0b1671d34086e20c8ac6 |
9568 |
commit a74525cf9b945fb0b370e64cf406104beb31729b |
6739 |
Merge: adb89e6 9311774 |
|
|
6740 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9569 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6741 |
Date: 2010-12-12 23:13:22 +0200 |
9570 |
Date: 2015-08-09 21:02:20 +0300 |
6742 |
|
9571 |
|
6743 |
Merge branch 'v5.0' |
9572 |
Windows: Omit unneeded header files from MSVC project files. |
6744 |
|
9573 |
|
6745 |
commit 9311774c493c19deab51ded919dcd2e9c4aa2829 |
9574 |
windows/liblzma.vcxproj | 5 ----- |
|
|
9575 |
windows/liblzma_dll.vcxproj | 5 ----- |
9576 |
2 files changed, 10 deletions(-) |
9577 |
|
9578 |
commit fbbb295a91caf39faf8838c8c39526e4cb4dc121 |
6746 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9579 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6747 |
Date: 2010-12-12 21:23:55 +0200 |
9580 |
Date: 2015-07-12 20:48:19 +0300 |
6748 |
|
9581 |
|
6749 |
Build: Enable ASM on DJGPP by default. |
9582 |
liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer. |
6750 |
|
9583 |
|
6751 |
configure.ac | 2 +- |
9584 |
src/liblzma/api/lzma.h | 18 +++++++++++++----- |
|
|
9585 |
1 file changed, 13 insertions(+), 5 deletions(-) |
9586 |
|
9587 |
commit 713dbe5c230fe00865a54f5c32358ea30f9a1156 |
9588 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9589 |
Date: 2015-06-19 20:38:55 +0300 |
9590 |
|
9591 |
Update THANKS. |
9592 |
|
9593 |
THANKS | 2 ++ |
9594 |
1 file changed, 2 insertions(+) |
9595 |
|
9596 |
commit 3a5d755d055d51f99c523b4c2952727e1e69cfa1 |
9597 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9598 |
Date: 2015-06-19 20:21:30 +0300 |
9599 |
|
9600 |
Windows: Update the docs. |
9601 |
|
9602 |
INSTALL | 29 ++++++++----- |
9603 |
windows/INSTALL-MSVC.txt | 47 ++++++++++++++++++++++ |
9604 |
windows/{INSTALL-Windows.txt => INSTALL-MinGW.txt} | 2 +- |
9605 |
3 files changed, 67 insertions(+), 11 deletions(-) |
9606 |
|
9607 |
commit b0798c6aa6184efcefd0bdcca20f96121a13feda |
9608 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9609 |
Date: 2015-06-19 17:25:31 +0300 |
9610 |
|
9611 |
Windows: Add MSVC project files for building liblzma. |
9612 |
|
9613 |
Thanks to Adam Walling for creating these files. |
9614 |
|
9615 |
windows/liblzma.vcxproj | 359 ++++++++++++++++++++++++++++++++++++++++ |
9616 |
windows/liblzma_dll.vcxproj | 388 ++++++++++++++++++++++++++++++++++++++++++++ |
9617 |
windows/xz_win.sln | 48 ++++++ |
9618 |
3 files changed, 795 insertions(+) |
9619 |
|
9620 |
commit 9b02a4ffdac1b9f066658ec4c95c0834f4cd2fb7 |
9621 |
Author: Andre Noll <maan@tuebingen.mpg.de> |
9622 |
Date: 2015-05-28 15:50:00 +0200 |
9623 |
|
9624 |
Fix typo in German translation. |
9625 |
|
9626 |
As pointed out by Robert Pollak, there's a typo in the German |
9627 |
translation of the compression preset option (-0 ... -9) help text. |
9628 |
"The compressor" translates to "der Komprimierer", and the genitive |
9629 |
form is "des Komprimierers". The old word makes no sense at all. |
9630 |
|
9631 |
po/de.po | 2 +- |
6752 |
1 file changed, 1 insertion(+), 1 deletion(-) |
9632 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6753 |
|
9633 |
|
6754 |
commit 4a42aaee282fc73b482581684d65110506d5efdd |
9634 |
commit c7f4041f6b8f4729f88d3bc888b2a4080ae51f72 |
6755 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9635 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6756 |
Date: 2010-12-12 16:09:42 +0200 |
9636 |
Date: 2015-05-13 20:57:55 +0300 |
6757 |
|
9637 |
|
6758 |
Updated THANKS. |
9638 |
Tests: Fix a memory leak in test_bcj_exact_size. |
|
|
9639 |
|
9640 |
Thanks to Cristian Rodríguez. |
6759 |
|
9641 |
|
|
|
9642 |
tests/test_bcj_exact_size.c | 1 + |
9643 |
1 file changed, 1 insertion(+) |
9644 |
|
9645 |
commit 17b29d4f0ae0f780fbd69e15a398dc478d8492f8 |
9646 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9647 |
Date: 2015-05-12 18:08:24 +0300 |
9648 |
|
9649 |
Fix NEWS about threading in 5.2.0. |
9650 |
|
9651 |
Thanks to Andy Hochhaus. |
9652 |
|
9653 |
NEWS | 3 ++- |
9654 |
1 file changed, 2 insertions(+), 1 deletion(-) |
9655 |
|
9656 |
commit 49c26920d6e2d85e5c6123e34958aed2e77485ad |
9657 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9658 |
Date: 2015-05-11 21:26:16 +0300 |
9659 |
|
9660 |
xz: Document that threaded decompression hasn't been implemented yet. |
9661 |
|
9662 |
src/xz/xz.1 | 10 +++++++++- |
9663 |
1 file changed, 9 insertions(+), 1 deletion(-) |
9664 |
|
9665 |
commit 5b2458cb244ed237efe4de1ebcf06e1b3a1f4256 |
9666 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9667 |
Date: 2015-04-20 20:20:29 +0300 |
9668 |
|
9669 |
Update THANKS. |
9670 |
|
6760 |
THANKS | 1 + |
9671 |
THANKS | 1 + |
6761 |
1 file changed, 1 insertion(+) |
9672 |
1 file changed, 1 insertion(+) |
6762 |
|
9673 |
|
6763 |
commit ce56f63c41ee210e6308090eb6d49221fdf67d6c |
9674 |
commit 6bd0349c58451b13442e8f463e35de83548bf985 |
6764 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9675 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6765 |
Date: 2010-12-12 16:07:11 +0200 |
9676 |
Date: 2015-04-20 19:59:18 +0300 |
6766 |
|
9677 |
|
6767 |
Add missing PRIx32 and PRIx64 compatibility definitions. |
9678 |
Revert "xz: Use pipe2() if available." |
6768 |
|
9679 |
|
6769 |
This fixes portability to systems that lack C99 inttypes.h. |
9680 |
This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd. |
|
|
9681 |
It is a problem when libc has pipe2() but the kernel is too |
9682 |
old to have pipe2() and thus pipe2() fails. In xz it's pointless |
9683 |
to have a fallback for non-functioning pipe2(); it's better to |
9684 |
avoid pipe2() completely. |
6770 |
|
9685 |
|
6771 |
Thanks to Juan Manuel Guerrero. |
9686 |
Thanks to Michael Fox for the bug report. |
6772 |
|
9687 |
|
6773 |
src/common/sysdefs.h | 9 +++++++++ |
9688 |
configure.ac | 4 ++-- |
6774 |
1 file changed, 9 insertions(+) |
9689 |
src/xz/file_io.c | 9 +-------- |
6775 |
|
9690 |
2 files changed, 3 insertions(+), 10 deletions(-) |
6776 |
commit e6baedddcf54e7da049ebc49183565b99facd4c7 |
9691 |
|
|
|
9692 |
commit fc0df0f8db87dff45543708a711e17d29c37f632 |
6777 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9693 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6778 |
Date: 2010-12-12 14:50:04 +0200 |
9694 |
Date: 2015-04-01 14:45:25 +0300 |
6779 |
|
9695 |
|
6780 |
DOS-like: Treat \ and : as directory separators in addition to /. |
9696 |
xz: Fix the Capsicum rights on user_abort_pipe. |
|
|
9697 |
|
9698 |
src/xz/file_io.c | 6 +++++- |
9699 |
1 file changed, 5 insertions(+), 1 deletion(-) |
9700 |
|
9701 |
commit 57393615b31b3788dd77280452d845bcc12d33af |
9702 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9703 |
Date: 2015-03-31 22:20:11 +0300 |
9704 |
|
9705 |
Update THANKS. |
9706 |
|
9707 |
THANKS | 1 + |
9708 |
1 file changed, 1 insertion(+) |
9709 |
|
9710 |
commit 1238381143a9a7ce84839c2582ccd56ff750a440 |
9711 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9712 |
Date: 2015-03-31 22:19:34 +0300 |
9713 |
|
9714 |
xz: Add support for sandboxing with Capsicum. |
6781 |
|
9715 |
|
6782 |
Juan Manuel Guerrero had fixed this in his XZ Utils port |
9716 |
The sandboxing is used conditionally as described in main.c. |
6783 |
to DOS/DJGPP. The bug affects also Windows and OS/2. |
9717 |
This isn't optimal but it was much easier to implement than |
6784 |
|
9718 |
a full sandboxing solution and it still covers the most common |
6785 |
src/xz/suffix.c | 33 +++++++++++++++++++++++++++++---- |
9719 |
use cases where xz is writing to standard output. This should |
6786 |
1 file changed, 29 insertions(+), 4 deletions(-) |
9720 |
have practically no effect on performance even with small files |
|
|
9721 |
as fork() isn't needed. |
9722 |
|
9723 |
C and locale libraries can open files as needed. This has been |
9724 |
fine in the past, but it's a problem with things like Capsicum. |
9725 |
io_sandbox_enter() tries to ensure that various locale-related |
9726 |
files have been loaded before cap_enter() is called, but it's |
9727 |
possible that there are other similar problems which haven't |
9728 |
been seen yet. |
9729 |
|
9730 |
Currently Capsicum is available on FreeBSD 10 and later |
9731 |
and there is a port to Linux too. |
9732 |
|
9733 |
Thanks to Loganaden Velvindron for help. |
6787 |
|
9734 |
|
6788 |
commit adb89e68d43a4cadb0c215b45ef7a75737c9c3ec |
9735 |
configure.ac | 41 +++++++++++++++++++++++++++ |
6789 |
Merge: 7c24e0d b7afd3e |
9736 |
src/xz/Makefile.am | 2 +- |
|
|
9737 |
src/xz/file_io.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
9738 |
src/xz/file_io.h | 6 ++++ |
9739 |
src/xz/main.c | 18 ++++++++++++ |
9740 |
src/xz/private.h | 4 +++ |
9741 |
6 files changed, 151 insertions(+), 1 deletion(-) |
9742 |
|
9743 |
commit 29a087fb5a0c879f0b1bc4c6b989f7b87bacdf9e |
6790 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9744 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6791 |
Date: 2010-12-07 18:53:04 +0200 |
9745 |
Date: 2015-03-31 21:12:30 +0300 |
6792 |
|
|
|
6793 |
Merge branch 'v5.0' |
6794 |
|
9746 |
|
6795 |
commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f |
9747 |
Fix bugs and otherwise improve ax_check_capsicum.m4. |
|
|
9748 |
|
9749 |
AU_ALIAS was removed because the new version is incompatible |
9750 |
with the old version. |
9751 |
|
9752 |
It no longer checks for <sys/capability.h> separately. |
9753 |
It's enough to test for it as part of AC_CHECK_DECL. |
9754 |
The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and |
9755 |
HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded. |
9756 |
HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough. |
9757 |
|
9758 |
It no longer does a useless search for the Capsicum library |
9759 |
if the header wasn't found. |
9760 |
|
9761 |
Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying |
9762 |
the argument omitted the default action but the given action |
9763 |
wasn't used instead. |
9764 |
|
9765 |
AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum |
9766 |
support is found. Previously it was part of the default |
9767 |
ACTION-IF-FOUND which a custom action would override. Now |
9768 |
the default action only prepends ${CAPSICUM_LIB} to LIBS. |
9769 |
|
9770 |
The documentation was updated. |
9771 |
|
9772 |
Since there as no serial number, "#serial 2" was added. |
9773 |
|
9774 |
m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------ |
9775 |
1 file changed, 51 insertions(+), 52 deletions(-) |
9776 |
|
9777 |
commit 6e845c6a3eddf2fde9db5a29950421dff60a43ac |
6796 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9778 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6797 |
Date: 2010-12-07 18:52:04 +0200 |
9779 |
Date: 2015-03-31 19:20:24 +0300 |
6798 |
|
9780 |
|
6799 |
Translations: Fix Czech translation of "sparse file". |
9781 |
Add m4/ax_check_capsicum.m4 for detecting Capsicum support. |
6800 |
|
9782 |
|
6801 |
Thanks to Petr Hubený and Marek Černocký. |
9783 |
The file was loaded from this web page: |
|
|
9784 |
https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4 |
9785 |
|
9786 |
Thanks to Loganaden Velvindron for pointing it out for me. |
6802 |
|
9787 |
|
6803 |
po/cs.po | 88 ++++++++++++++++++++++++++++++++-------------------------------- |
9788 |
m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ |
6804 |
1 file changed, 44 insertions(+), 44 deletions(-) |
9789 |
1 file changed, 86 insertions(+) |
6805 |
|
9790 |
|
6806 |
commit 7c24e0d1b8a2e86e9263b0d56d39621e01aed7af |
9791 |
commit 3717885f9ef2c06f1bcbad9f4c2ed2d5695f844e |
6807 |
Merge: b4d42f1 3e56470 |
|
|
6808 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9792 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6809 |
Date: 2010-11-15 14:33:01 +0200 |
9793 |
Date: 2015-03-30 22:44:02 +0300 |
6810 |
|
|
|
6811 |
Merge branch 'v5.0' |
6812 |
|
9794 |
|
6813 |
commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e |
9795 |
Bump version to 5.3.0alpha and soname to 5.3.99. |
|
|
9796 |
|
9797 |
The idea of 99 is that it looks a bit weird in this context. |
9798 |
For new features there's no API/ABI stability in devel versions. |
9799 |
|
9800 |
src/liblzma/Makefile.am | 2 +- |
9801 |
src/liblzma/api/lzma/version.h | 6 +++--- |
9802 |
2 files changed, 4 insertions(+), 4 deletions(-) |
9803 |
|
9804 |
commit eccd8155e107c5ada03d13e7730675cdf1a44ddc |
6814 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9805 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6815 |
Date: 2010-11-15 14:28:26 +0200 |
9806 |
Date: 2015-03-29 22:14:47 +0300 |
6816 |
|
9807 |
|
6817 |
liblzma: Document the return value of lzma_lzma_preset(). |
9808 |
Update THANKS. |
6818 |
|
9809 |
|
6819 |
src/liblzma/api/lzma/lzma.h | 3 +++ |
9810 |
THANKS | 1 + |
6820 |
1 file changed, 3 insertions(+) |
9811 |
1 file changed, 1 insertion(+) |
6821 |
|
9812 |
|
6822 |
commit 2964d8d691ed92abdcf214888d79ad6d79774735 |
9813 |
commit 25263fd9e7a8a913395cb93d7c104cd48c2b4a00 |
6823 |
Author: Jonathan Nieder <jrnieder@gmail.com> |
9814 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6824 |
Date: 2010-11-12 15:22:13 -0600 |
9815 |
Date: 2015-03-29 22:13:48 +0300 |
6825 |
|
9816 |
|
6826 |
Simplify paths in generated API docs |
9817 |
Fix the detection of installed RAM on QNX. |
6827 |
|
9818 |
|
6828 |
Currently the file list generated by Doxygen has src/ at the |
9819 |
The earlier version compiled but didn't actually work |
6829 |
beginning of each path. Paths like common/sysdefs.h and |
9820 |
since sysconf(_SC_PHYS_PAGES) always fails (or so I was told). |
6830 |
liblzma/api/lzma.h are easier to read without such a prefix. |
|
|
6831 |
|
9821 |
|
6832 |
Builds from a separate build directory with |
9822 |
Thanks to Ole André Vadla Ravnås for the patch and testing. |
|
|
9823 |
|
9824 |
m4/tuklib_physmem.m4 | 6 +++--- |
9825 |
src/common/tuklib_physmem.c | 14 +++++++++++++- |
9826 |
2 files changed, 16 insertions(+), 4 deletions(-) |
9827 |
|
9828 |
commit 4c544d2410903d38402221cb783ed85585b6a007 |
9829 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9830 |
Date: 2015-03-27 22:39:07 +0200 |
9831 |
|
9832 |
Fix CPU core count detection on QNX. |
6833 |
|
9833 |
|
6834 |
mkdir build |
9834 |
It tried to use sysctl() on QNX but |
6835 |
cd build |
9835 |
- it broke the build because sysctl() needs -lsocket on QNX; |
6836 |
../configure |
9836 |
- sysctl() doesn't work for detecting the core count on QNX |
6837 |
doxygen Doxyfile |
9837 |
even if it compiled. |
6838 |
|
9838 |
|
6839 |
include an even longer prefix /home/someone/src/xz/src; this |
9839 |
sysconf() works. An alternative would have been to use |
6840 |
patch has the nice side-effect of eliminating that prefix, too. |
9840 |
QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>. |
6841 |
|
9841 |
|
6842 |
Fixes: http://bugs.debian.org/572273 |
9842 |
Thanks to Ole André Vadla Ravnås. |
6843 |
|
9843 |
|
6844 |
Doxyfile.in | 2 +- |
9844 |
m4/tuklib_cpucores.m4 | 15 +++++++++++---- |
6845 |
1 file changed, 1 insertion(+), 1 deletion(-) |
9845 |
1 file changed, 11 insertions(+), 4 deletions(-) |
6846 |
|
|
|
6847 |
commit b4d42f1a7120e2cefeb2f14425efe2ca6db85416 |
6848 |
Author: Anders F Bjorklund <afb@users.sourceforge.net> |
6849 |
Date: 2010-11-05 12:56:11 +0100 |
6850 |
|
9846 |
|
6851 |
add build script for macosx universal |
9847 |
commit e0ea6737b03e83ccaff4514d00e31bb926f8f0f3 |
|
|
9848 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9849 |
Date: 2015-03-07 22:05:57 +0200 |
6852 |
|
9850 |
|
6853 |
macosx/build.sh | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
9851 |
xz: size_t/uint32_t cleanup in options.c. |
6854 |
1 file changed, 92 insertions(+) |
|
|
6855 |
|
9852 |
|
6856 |
commit 15ee6935abe4a2fc76639ee342ca2e69af3e0ad6 |
9853 |
src/xz/options.c | 12 ++++++------ |
6857 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9854 |
1 file changed, 6 insertions(+), 6 deletions(-) |
6858 |
Date: 2010-11-04 18:31:40 +0200 |
9855 |
|
6859 |
|
9856 |
commit 8bcca29a65335fd679c13814b70b35b68fa5daed |
6860 |
Update the copies of GPLv2 and LGPLv2.1 from gnu.org. |
9857 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
|
|
9858 |
Date: 2015-03-07 22:04:23 +0200 |
9859 |
|
9860 |
xz: Fix a comment and silence a warning in message.c. |
9861 |
|
9862 |
src/xz/message.c | 5 +++-- |
9863 |
1 file changed, 3 insertions(+), 2 deletions(-) |
9864 |
|
9865 |
commit f243f5f44c6b19a7c289a0ec73a03ee08364cb5b |
9866 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9867 |
Date: 2015-03-07 22:01:00 +0200 |
9868 |
|
9869 |
liblzma: Silence more uint32_t vs. size_t warnings. |
9870 |
|
9871 |
src/liblzma/lz/lz_encoder.c | 2 +- |
9872 |
src/liblzma/lzma/lzma_encoder.c | 2 +- |
9873 |
2 files changed, 2 insertions(+), 2 deletions(-) |
9874 |
|
9875 |
commit 7f0a4c50f4a374c40acf4b86848f301ad1e82d34 |
9876 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9877 |
Date: 2015-03-07 19:54:00 +0200 |
9878 |
|
9879 |
xz: Make arg_count an unsigned int to silence a warning. |
6861 |
|
9880 |
|
6862 |
There are only a few white space changes. |
9881 |
Actually the value of arg_count cannot exceed INT_MAX |
6863 |
|
9882 |
but it's nicer as an unsigned int. |
6864 |
COPYING.GPLv2 | 14 +++++++------- |
9883 |
|
6865 |
COPYING.LGPLv2.1 | 16 +++++++--------- |
9884 |
src/xz/args.h | 2 +- |
6866 |
2 files changed, 14 insertions(+), 16 deletions(-) |
9885 |
src/xz/main.c | 2 +- |
6867 |
|
9886 |
2 files changed, 2 insertions(+), 2 deletions(-) |
6868 |
commit 8e355f7fdbeee6fe394eb02a28f267ce99a882a2 |
9887 |
|
6869 |
Merge: 974ebe6 37c2565 |
9888 |
commit f6ec46801588b1be29c07c9db98558b521304002 |
6870 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9889 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6871 |
Date: 2010-10-26 15:53:06 +0300 |
9890 |
Date: 2015-03-07 19:33:17 +0200 |
6872 |
|
|
|
6873 |
Merge branch 'v5.0' |
6874 |
|
9891 |
|
6875 |
commit 37c25658efd25b034266daf87cd381d20d1df776 |
9892 |
liblzma: Fix a warning in index.c. |
|
|
9893 |
|
9894 |
src/liblzma/common/index.c | 4 +++- |
9895 |
1 file changed, 3 insertions(+), 1 deletion(-) |
9896 |
|
9897 |
commit a24518971cc621315af142dd3bb7614fab04ad27 |
6876 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9898 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6877 |
Date: 2010-10-26 15:48:48 +0300 |
9899 |
Date: 2015-02-26 20:46:14 +0200 |
6878 |
|
9900 |
|
6879 |
Build: Copy the example programs to $docdir/examples. |
9901 |
Build: Fix a CR+LF problem when running autoreconf -fi on OS/2. |
|
|
9902 |
|
9903 |
build-aux/version.sh | 2 +- |
9904 |
1 file changed, 1 insertion(+), 1 deletion(-) |
9905 |
|
9906 |
commit dec11497a71518423b5ff0e759100cf8aadf6c7b |
9907 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9908 |
Date: 2015-02-26 16:53:44 +0200 |
9909 |
|
9910 |
Bump version and soname for 5.2.1. |
9911 |
|
9912 |
src/liblzma/Makefile.am | 2 +- |
9913 |
src/liblzma/api/lzma/version.h | 2 +- |
9914 |
2 files changed, 2 insertions(+), 2 deletions(-) |
9915 |
|
9916 |
commit 29e39c79975ab89ee5dd671e97064534a9f3a649 |
9917 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9918 |
Date: 2015-02-26 13:01:09 +0200 |
9919 |
|
9920 |
Update NEWS for 5.2.1. |
9921 |
|
9922 |
NEWS | 14 ++++++++++++++ |
9923 |
1 file changed, 14 insertions(+) |
9924 |
|
9925 |
commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd |
9926 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9927 |
Date: 2015-02-22 19:38:48 +0200 |
9928 |
|
9929 |
xz: Use pipe2() if available. |
9930 |
|
9931 |
configure.ac | 4 ++-- |
9932 |
src/xz/file_io.c | 9 ++++++++- |
9933 |
2 files changed, 10 insertions(+), 3 deletions(-) |
9934 |
|
9935 |
commit 117d962685c72682c63edc9bb765367189800202 |
9936 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9937 |
Date: 2015-02-21 23:40:26 +0200 |
9938 |
|
9939 |
liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode. |
6880 |
|
9940 |
|
6881 |
The example programs by Daniel Mealha Cabrita were included |
9941 |
The bug was added in the commit |
6882 |
in the git repository, but I had forgot to add them to |
9942 |
f48fce093b07aeda95c18850f5e086d9f2383380 and thus |
6883 |
Makefile.am. Thus, they didn't get included in the source |
9943 |
affected 5.1.4beta and 5.2.0. Luckily the bug cannot |
6884 |
package at all by "make dist". |
9944 |
cause data corruption or other nasty things. |
6885 |
|
9945 |
|
6886 |
Makefile.am | 5 +++++ |
9946 |
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- |
6887 |
windows/build.bash | 3 ++- |
9947 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6888 |
2 files changed, 7 insertions(+), 1 deletion(-) |
|
|
6889 |
|
9948 |
|
6890 |
commit 974ebe63497bdf0d262e06474f0dd5a70b1dd000 |
9949 |
commit ae984e31c167d3bc52972ec422dd1ebd5f5d5719 |
6891 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9950 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6892 |
Date: 2010-10-26 10:36:41 +0300 |
9951 |
Date: 2015-02-21 23:00:19 +0200 |
6893 |
|
9952 |
|
6894 |
liblzma: Rename a few variables and constants. |
9953 |
xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick. |
6895 |
|
9954 |
|
6896 |
This has no semantic changes. I find the new names slightly |
9955 |
Now it reads the old flags instead of blindly setting O_NONBLOCK. |
6897 |
more logical and they match the names that are already used |
9956 |
The old code may have worked correctly, but this is better. |
6898 |
in XZ Embedded. |
9957 |
|
|
|
9958 |
src/xz/file_io.c | 16 +++++++++++----- |
9959 |
1 file changed, 11 insertions(+), 5 deletions(-) |
9960 |
|
9961 |
commit 2205bb5853098aea36a56df6f5747037175f66b4 |
9962 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9963 |
Date: 2015-02-10 15:29:34 +0200 |
9964 |
|
9965 |
Update THANKS. |
9966 |
|
9967 |
THANKS | 1 + |
9968 |
1 file changed, 1 insertion(+) |
9969 |
|
9970 |
commit d935b0cdf3db440269b9d952b2b281b18f8c7b08 |
9971 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9972 |
Date: 2015-02-10 15:28:30 +0200 |
9973 |
|
9974 |
tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available. |
6899 |
|
9975 |
|
6900 |
The name fastpos wasn't changed (not worth the hassle). |
9976 |
In FreeBSD, cpuset_getaffinity() is the preferred way to get |
6901 |
|
9977 |
the number of available cores. |
6902 |
src/liblzma/lzma/fastpos.h | 55 +++++------ |
9978 |
|
6903 |
src/liblzma/lzma/lzma2_encoder.c | 2 +- |
9979 |
Thanks to Rui Paulo for the patch. I edited it slightly, but |
6904 |
src/liblzma/lzma/lzma_common.h | 45 ++++----- |
9980 |
hopefully I didn't break anything. |
6905 |
src/liblzma/lzma/lzma_decoder.c | 58 +++++------ |
|
|
6906 |
src/liblzma/lzma/lzma_encoder.c | 56 +++++------ |
6907 |
src/liblzma/lzma/lzma_encoder_optimum_fast.c | 9 +- |
6908 |
src/liblzma/lzma/lzma_encoder_optimum_normal.c | 128 ++++++++++++------------- |
6909 |
src/liblzma/lzma/lzma_encoder_private.h | 16 ++-- |
6910 |
8 files changed, 183 insertions(+), 186 deletions(-) |
6911 |
|
6912 |
commit 7c427ec38d016c0070a42315d752857e33792fc4 |
6913 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6914 |
Date: 2010-10-25 12:59:25 +0300 |
6915 |
|
6916 |
Bump version 5.1.0alpha. |
6917 |
|
9981 |
|
6918 |
src/liblzma/api/lzma/version.h | 4 ++-- |
9982 |
m4/tuklib_cpucores.m4 | 23 ++++++++++++++++++++++- |
|
|
9983 |
src/common/tuklib_cpucores.c | 18 ++++++++++++++++++ |
9984 |
2 files changed, 40 insertions(+), 1 deletion(-) |
9985 |
|
9986 |
commit eb61bc58c20769cac4d05f363b9c0e8c9c71a560 |
9987 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9988 |
Date: 2015-02-09 22:08:37 +0200 |
9989 |
|
9990 |
xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp. |
9991 |
|
9992 |
Thanks to Rui Paulo for the fix. |
9993 |
|
9994 |
src/scripts/xzdiff.in | 7 ++++++- |
9995 |
1 file changed, 6 insertions(+), 1 deletion(-) |
9996 |
|
9997 |
commit b9a5b6b7a29029680af733082b6a46e0fc01623a |
9998 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
9999 |
Date: 2015-02-03 21:45:53 +0200 |
10000 |
|
10001 |
Add a few casts to tuklib_integer.h to silence possible warnings. |
10002 |
|
10003 |
I heard that Visual Studio 2013 gave warnings without the casts. |
10004 |
|
10005 |
Thanks to Gabi Davar. |
10006 |
|
10007 |
src/common/tuklib_integer.h | 24 ++++++++++++------------ |
10008 |
1 file changed, 12 insertions(+), 12 deletions(-) |
10009 |
|
10010 |
commit c45757135f40e4a0de730ba5fff0100219493982 |
10011 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10012 |
Date: 2015-01-26 21:24:39 +0200 |
10013 |
|
10014 |
liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method. |
10015 |
|
10016 |
src/liblzma/common/memcmplen.h | 15 ++++++++++----- |
10017 |
1 file changed, 10 insertions(+), 5 deletions(-) |
10018 |
|
10019 |
commit 3c500174ed5485f550972a2a6109c361e875f069 |
10020 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10021 |
Date: 2015-01-26 20:40:16 +0200 |
10022 |
|
10023 |
Update THANKS. |
10024 |
|
10025 |
THANKS | 1 + |
10026 |
1 file changed, 1 insertion(+) |
10027 |
|
10028 |
commit fec88d41e672d9e197c9442aecf02bd0dfa6d516 |
10029 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10030 |
Date: 2015-01-26 20:39:28 +0200 |
10031 |
|
10032 |
liblzma: Silence harmless Valgrind errors. |
10033 |
|
10034 |
Thanks to Torsten Rupp for reporting this. I had |
10035 |
forgotten to run Valgrind before the 5.2.0 release. |
10036 |
|
10037 |
src/liblzma/lz/lz_encoder.c | 6 ++++++ |
10038 |
1 file changed, 6 insertions(+) |
10039 |
|
10040 |
commit a9b45badfec0928d20a27c7176c005fa637f7d1e |
10041 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10042 |
Date: 2015-01-09 21:50:19 +0200 |
10043 |
|
10044 |
xz: Fix comments. |
10045 |
|
10046 |
src/xz/file_io.c | 12 ++++++++---- |
10047 |
1 file changed, 8 insertions(+), 4 deletions(-) |
10048 |
|
10049 |
commit 541aee6dd4aa97a809aba281475a21b641bb89e2 |
10050 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10051 |
Date: 2015-01-09 21:35:06 +0200 |
10052 |
|
10053 |
Update THANKS. |
10054 |
|
10055 |
THANKS | 1 + |
10056 |
1 file changed, 1 insertion(+) |
10057 |
|
10058 |
commit 4170edc914655310d2363baccf5e615e09b04911 |
10059 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10060 |
Date: 2015-01-09 21:34:06 +0200 |
10061 |
|
10062 |
xz: Don't fail if stdout doesn't support O_NONBLOCK. |
10063 |
|
10064 |
This is similar to the case with stdin. |
10065 |
|
10066 |
Thanks to Brad Smith for the bug report and testing |
10067 |
on OpenBSD. |
10068 |
|
10069 |
src/xz/file_io.c | 36 +++++++++++++++--------------------- |
10070 |
1 file changed, 15 insertions(+), 21 deletions(-) |
10071 |
|
10072 |
commit 04bbc0c2843c50c8ad1cba42b937118e38b0508d |
10073 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10074 |
Date: 2015-01-07 19:18:20 +0200 |
10075 |
|
10076 |
xz: Fix a memory leak in DOS-specific code. |
10077 |
|
10078 |
src/xz/file_io.c | 2 ++ |
10079 |
1 file changed, 2 insertions(+) |
10080 |
|
10081 |
commit f0f1f6c7235ffa901cf76fe18e33749e200b3eea |
10082 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10083 |
Date: 2015-01-07 19:08:06 +0200 |
10084 |
|
10085 |
xz: Don't fail if stdin doesn't support O_NONBLOCK. |
10086 |
|
10087 |
It's a problem at least on OpenBSD which doesn't support |
10088 |
O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's |
10089 |
a problem on other OSes too since this behavior is allowed |
10090 |
in POSIX-1.2008. |
10091 |
|
10092 |
The code relying on this behavior was committed in June 2013 |
10093 |
and included in 5.1.3alpha released on 2013-10-26. Clearly |
10094 |
the development releases only get limited testing. |
10095 |
|
10096 |
src/xz/file_io.c | 18 +++++++----------- |
10097 |
1 file changed, 7 insertions(+), 11 deletions(-) |
10098 |
|
10099 |
commit d2d484647d9d9d679f03c75abb0404f67069271c |
10100 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10101 |
Date: 2015-01-06 20:30:15 +0200 |
10102 |
|
10103 |
Tests: Don't hide unexpected error messages in test_files.sh. |
10104 |
|
10105 |
Hiding them makes no sense since normally there's no error |
10106 |
when testing the "good" files. With "bad" files errors are |
10107 |
expected and then it makes sense to keep the messages hidden. |
10108 |
|
10109 |
tests/test_files.sh | 4 ++-- |
6919 |
1 file changed, 2 insertions(+), 2 deletions(-) |
10110 |
1 file changed, 2 insertions(+), 2 deletions(-) |
6920 |
|
10111 |
|
6921 |
commit e45929260cd902036efd40c5610a8d0a50d5712b |
10112 |
commit aae6a6aeda51cf94a47e39ad624728f9bee75e30 |
6922 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10113 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6923 |
Date: 2010-10-23 17:25:52 +0300 |
10114 |
Date: 2014-12-30 11:17:16 +0200 |
6924 |
|
10115 |
|
6925 |
Build: Fix mydist rule when .git doesn't exist. |
10116 |
Update Solaris notes in INSTALL. |
|
|
10117 |
|
10118 |
Mention the possible "make check" failure on Solaris in the |
10119 |
Solaris-specific section of INSTALL. It was already in |
10120 |
section 4.5 but it is better mention it in the OS-specific |
10121 |
section too. |
6926 |
|
10122 |
|
6927 |
Makefile.am | 1 + |
10123 |
INSTALL | 4 ++++ |
|
|
10124 |
1 file changed, 4 insertions(+) |
10125 |
|
10126 |
commit 7815112153178800a3521b9f31960e7cdc26cfba |
10127 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10128 |
Date: 2014-12-26 12:00:05 +0200 |
10129 |
|
10130 |
Build: POSIX shell isn't required if scripts are disabled. |
10131 |
|
10132 |
INSTALL | 3 ++- |
10133 |
configure.ac | 2 +- |
10134 |
2 files changed, 3 insertions(+), 2 deletions(-) |
10135 |
|
10136 |
commit a0cd05ee71d330b79ead6eb9222e1b24e1559d3a |
10137 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10138 |
Date: 2014-12-21 20:48:37 +0200 |
10139 |
|
10140 |
DOS: Update Makefile. |
10141 |
|
10142 |
dos/Makefile | 1 + |
6928 |
1 file changed, 1 insertion(+) |
10143 |
1 file changed, 1 insertion(+) |
6929 |
|
10144 |
|
6930 |
commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 |
10145 |
commit b85ee0905ec4ab7656d22e63519fdd3bedb21f2e |
6931 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10146 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6932 |
Date: 2010-10-23 14:15:35 +0300 |
10147 |
Date: 2014-12-21 19:50:38 +0200 |
6933 |
|
10148 |
|
6934 |
Add NEWS for 5.0.0. |
10149 |
Windows: Fix bin_i486 to bin_i686 in build.bash. |
6935 |
|
10150 |
|
6936 |
NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
10151 |
windows/build.bash | 2 +- |
6937 |
1 file changed, 62 insertions(+) |
10152 |
1 file changed, 1 insertion(+), 1 deletion(-) |
6938 |
|
10153 |
|
6939 |
commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c |
10154 |
commit cbafa710918195dbba3db02c3fab4f0538235206 |
6940 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10155 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
6941 |
Date: 2010-10-23 14:02:53 +0300 |
10156 |
Date: 2014-12-21 18:58:44 +0200 |
6942 |
|
10157 |
|
6943 |
Bump version to 5.0.0 and liblzma version-info to 5:0:0. |
10158 |
Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c. |
6944 |
|
10159 |
|
|
|
10160 |
doc/examples/04_compress_easy_mt.c | 30 ++++++++++++++++++++++++++---- |
10161 |
1 file changed, 26 insertions(+), 4 deletions(-) |
10162 |
|
10163 |
commit 8dbb57238d372c7263cfeb3e7f7fd9a73173156a |
10164 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10165 |
Date: 2014-12-21 18:56:44 +0200 |
10166 |
|
10167 |
Docs: Update docs/examples/00_README.txt. |
10168 |
|
10169 |
doc/examples/00_README.txt | 4 ++++ |
10170 |
1 file changed, 4 insertions(+) |
10171 |
|
10172 |
commit 6060f7dc76fd6c2a8a1f8e85d0e4d86bb78273e6 |
10173 |
Author: Lasse Collin <lasse.collin@tukaani.org> |
10174 |
Date: 2014-12-21 18:11:17 +0200 |
10175 |
|
10176 |
Bump version and soname for 5.2.0. |
10177 |
|
10178 |
I know that soname != app version, but I skip AGE=1 |
10179 |
in -version-info to make the soname match the liblzma |
10180 |
version anyway. It doesn't hurt anything as long as |
10181 |
it doesn't conflict with library versioning rules. |
10182 |
|
6945 |
src/liblzma/Makefile.am | 2 +- |
10183 |
src/liblzma/Makefile.am | 2 +- |
6946 |
src/liblzma/api/lzma/version.h | 8 ++++---- |
10184 |
src/liblzma/api/lzma/version.h | 6 +++--- |
6947 |
2 files changed, 5 insertions(+), 5 deletions(-) |
10185 |
src/liblzma/liblzma.map | 2 +- |
|
|
10186 |
3 files changed, 5 insertions(+), 5 deletions(-) |