1commit e32cb264ea72a4459810f30abad70dae5a4fa17d 2Author: Lasse Collin <lasse.collin@tukaani.org> 3Date: 2011-05-21 16:59:22 +0300 4 5 Bump version and soname for 5.0.3. 6 7 src/liblzma/Makefile.am | 2 +- 8 src/liblzma/api/lzma/version.h | 2 +- 9 2 files changed, 2 insertions(+), 2 deletions(-) 10 11commit 65cff45f8fd1c250491557157cce0f5f38481082 12Author: Lasse Collin <lasse.collin@tukaani.org> 13Date: 2011-05-21 16:56:53 +0300 14 15 Update NEWS for 5.0.3. 16 17 NEWS | 36 ++++++++++++++++++++++++++++++++++-- 18 1 files changed, 34 insertions(+), 2 deletions(-) 19 20commit 316c67ffdae1f811ac95e838d5290a013bff4ca7 21Author: Lasse Collin <lasse.collin@tukaani.org> 22Date: 2011-05-21 16:28:44 +0300 23 24 Add French translation. 25 26 It is known that the BCJ filter --help text is only 27 partially translated. 28 29 po/LINGUAS | 1 + 30 po/fr.po | 864 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 31 2 files changed, 865 insertions(+), 0 deletions(-) 32 33commit 1931175eea6d09c0845d6e8e334a7333647f11c0 34Author: Lasse Collin <lasse.collin@tukaani.org> 35Date: 2011-05-21 15:12:10 +0300 36 37 xz: Translate also the string used to print the program name. 38 39 French needs a space before a colon, e.g. "xz : foo error". 40 41 src/xz/message.c | 6 +++++- 42 1 files changed, 5 insertions(+), 1 deletions(-) 43 44commit 841dc1f891b48b23f84c0f0e0c86c7c4e4bdcdf5 45Author: Lasse Collin <lasse.collin@tukaani.org> 46Date: 2011-05-17 12:26:28 +0300 47 48 Update THANKS. 49 50 THANKS | 3 +++ 51 1 files changed, 3 insertions(+), 0 deletions(-) 52 53commit 0f7e2d36240ebf1159d5fb85d8cd7422337a0d3f 54Author: Lasse Collin <lasse.collin@tukaani.org> 55Date: 2011-05-17 12:21:33 +0300 56 57 Update INSTALL with a note about linker problem on OpenSolaris x86. 58 59 INSTALL | 23 +++++++++++++++++------ 60 1 files changed, 17 insertions(+), 6 deletions(-) 61 62commit 793d857e01e1725f16fc0c8af8172c91a9e38617 63Author: Lasse Collin <lasse.collin@tukaani.org> 64Date: 2011-05-17 12:01:37 +0300 65 66 Build: Fix initialization of enable_check_* variables in configure.ac. 67 68 This doesn't matter much in practice since it is unlikely 69 that anyone would have such environment variable names. 70 71 Thanks to Wim Lewis. 72 73 configure.ac | 2 +- 74 1 files changed, 1 insertions(+), 1 deletions(-) 75 76commit afcff45cee04c5c7d9c333504046ffb63d1418b5 77Author: Lasse Collin <lasse.collin@tukaani.org> 78Date: 2011-05-17 11:54:38 +0300 79 80 Add underscores to attributes (__attribute((__foo__))). 81 82 src/liblzma/common/alone_decoder.c | 2 +- 83 src/liblzma/common/alone_encoder.c | 2 +- 84 src/liblzma/common/block_encoder.c | 2 +- 85 src/liblzma/common/common.c | 2 +- 86 src/liblzma/common/common.h | 2 +- 87 src/liblzma/common/index_decoder.c | 9 +++++---- 88 src/liblzma/common/index_encoder.c | 11 ++++++----- 89 src/liblzma/delta/delta_encoder.c | 2 +- 90 src/liblzma/lz/lz_decoder.c | 2 +- 91 src/liblzma/lz/lz_encoder.c | 2 +- 92 src/liblzma/simple/arm.c | 2 +- 93 src/liblzma/simple/armthumb.c | 2 +- 94 src/liblzma/simple/ia64.c | 2 +- 95 src/liblzma/simple/powerpc.c | 2 +- 96 src/liblzma/simple/simple_coder.c | 2 +- 97 src/liblzma/simple/sparc.c | 2 +- 98 src/lzmainfo/lzmainfo.c | 4 ++-- 99 src/xz/coder.c | 2 +- 100 src/xz/hardware.h | 2 +- 101 src/xz/message.c | 2 +- 102 src/xz/message.h | 18 +++++++++--------- 103 src/xz/options.c | 6 +++--- 104 src/xz/signals.c | 2 +- 105 src/xz/util.h | 6 +++--- 106 src/xzdec/xzdec.c | 6 +++--- 107 25 files changed, 49 insertions(+), 47 deletions(-) 108 109commit 22159c6ba2300a006f2e46ce85ae132e2d2f7d57 110Author: Lasse Collin <lasse.collin@tukaani.org> 111Date: 2011-04-18 19:35:49 +0300 112 113 Update THANKS. 114 115 THANKS | 2 ++ 116 1 files changed, 2 insertions(+), 0 deletions(-) 117 118commit 5e3499059515033d1ce44b6fb0fa49183c7ac633 119Author: Martin V��th <vaeth@mathematik.uni-wuerzburg.de> 120Date: 2011-04-15 04:54:49 -0400 121 122 xzgrep: fix typo in $0 parsing 123 124 Reported-by: Diego Elio Petten�� <flameeyes@gentoo.org> 125 Signed-off-by: Martin V��th <vaeth@mathematik.uni-wuerzburg.de> 126 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 127 128 src/scripts/xzgrep.in | 4 ++-- 129 1 files changed, 2 insertions(+), 2 deletions(-) 130 131commit 1125611b9b8d4a209b6a73d2c76e1b39c065972a 132Author: Lasse Collin <lasse.collin@tukaani.org> 133Date: 2011-04-12 11:59:49 +0300 134 135 Remove doubled words from documentation and comments. 136 137 Spot candidates by running these commands: 138 git ls-files |xargs perl -0777 -n \ 139 -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ 140 -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' 141 142 Thanks to Jim Meyering for the original patch. 143 144 doc/lzma-file-format.txt | 4 ++-- 145 src/liblzma/common/alone_encoder.c | 2 +- 146 src/liblzma/lzma/lzma2_encoder.c | 2 +- 147 src/xz/file_io.c | 2 +- 148 src/xz/xz.1 | 2 +- 149 windows/INSTALL-Windows.txt | 2 +- 150 6 files changed, 7 insertions(+), 7 deletions(-) 151 152commit 3f8fa53837bae8b44f3addf19923e26401336c3d 153Author: Lasse Collin <lasse.collin@tukaani.org> 154Date: 2011-04-11 21:04:13 +0300 155 156 liblzma: Document lzma_easy_(enc|dec)oder_memusage() better too. 157 158 src/liblzma/api/lzma/container.h | 9 +++++++++ 159 1 files changed, 9 insertions(+), 0 deletions(-) 160 161commit 320d734c20d0776e3eb80f6b5984ddeb494715b5 162Author: Lasse Collin <lasse.collin@tukaani.org> 163Date: 2011-04-11 20:59:07 +0300 164 165 liblzma: Document lzma_raw_(enc|dec)oder_memusage() better. 166 167 It didn't mention the return value that is used if 168 an error occurs. 169 170 src/liblzma/api/lzma/filter.h | 8 ++++++-- 171 1 files changed, 6 insertions(+), 2 deletions(-) 172 173commit 2ee4edeffc8d9734bf68230df31b20ac6a94c9b5 174Author: Lasse Collin <lasse.collin@tukaani.org> 175Date: 2011-04-11 13:59:50 +0300 176 177 liblzma: Don't create an empty Block in lzma_stream_buffer_encode(). 178 179 Empty Block was created if the input buffer was empty. 180 Empty Block wastes a few bytes of space, but more importantly 181 it triggers a bug in XZ Utils 5.0.1 and older when trying 182 to decompress such a file. 5.0.1 and older consider such 183 files to be corrupt. I thought that no encoder creates empty 184 Blocks when releasing 5.0.2 but I was wrong. 185 186 src/liblzma/common/stream_buffer_encoder.c | 20 +++++++++++++------- 187 1 files changed, 13 insertions(+), 7 deletions(-) 188 189commit 73f56fb87d54091d0c4fd22d70e6f042902e3b63 190Author: Lasse Collin <lasse.collin@tukaani.org> 191Date: 2011-04-11 13:28:40 +0300 192 193 liblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. 194 195 This return value was missing from the API comments of 196 four functions. 197 198 src/liblzma/api/lzma/block.h | 1 + 199 src/liblzma/api/lzma/container.h | 3 +++ 200 2 files changed, 4 insertions(+), 0 deletions(-) 201 202commit 4ce1cf97a88ae1640a380dd19cbc255d729f966b 203Author: Lasse Collin <lasse.collin@tukaani.org> 204Date: 2011-04-11 13:21:28 +0300 205 206 liblzma: Validate encoder arguments better. 207 208 The biggest problem was that the integrity check type 209 wasn't validated, and e.g. lzma_easy_buffer_encode() 210 would create a corrupt .xz Stream if given an unsupported 211 Check ID. Luckily applications don't usually try to use 212 an unsupport Check ID, so this bug is unlikely to cause 213 many real-world problems. 214 215 src/liblzma/common/block_buffer_encoder.c | 18 ++++++++++++------ 216 src/liblzma/common/block_encoder.c | 5 +++++ 217 src/liblzma/common/stream_buffer_encoder.c | 3 +++ 218 3 files changed, 20 insertions(+), 6 deletions(-) 219 220commit 972f05d7a4268dbe42573701f83faa45d03249eb 221Author: Lasse Collin <lasse.collin@tukaani.org> 222Date: 2011-04-09 18:29:30 +0300 223 224 Update THANKS. 225 226 THANKS | 1 + 227 1 files changed, 1 insertions(+), 0 deletions(-) 228 229commit 28154eeaf6e3442cd1e174f4e81266d60c4dac60 230Author: Lasse Collin <lasse.collin@tukaani.org> 231Date: 2011-04-09 18:28:58 +0300 232 233 liblzma: Add missing #ifdefs to filter_common.c. 234 235 Passing --disable-decoders to configure broke a few 236 encoders due to missing #ifdefs in filter_common.c. 237 238 Thanks to Jason Gorski for the patch. 239 240 src/liblzma/common/filter_common.c | 6 +++--- 241 1 files changed, 3 insertions(+), 3 deletions(-) 242 243commit aa95516d3d509c6b7895ee519004afcf500a0759 244Author: Lasse Collin <lasse.collin@tukaani.org> 245Date: 2011-04-02 14:49:56 +0300 246 247 liblzma: Fix a memory leak in stream_encoder.c. 248 249 It leaks old filter options structures (hundred bytes or so) 250 every time the lzma_stream is reinitialized. With the xz tool, 251 this happens when compressing multiple files. 252 253 src/liblzma/common/stream_encoder.c | 2 +- 254 1 files changed, 1 insertions(+), 1 deletions(-) 255 256commit 58f52c72f49562a08042da9a2f4bbdf4dd162d0c 257Author: Lasse Collin <lasse.collin@tukaani.org> 258Date: 2011-04-01 08:47:46 +0300 259 260 Bumped version and liblzma soname to 5.0.2. 261 262 src/liblzma/Makefile.am | 2 +- 263 src/liblzma/api/lzma/version.h | 2 +- 264 2 files changed, 2 insertions(+), 2 deletions(-) 265 266commit 162779682e01d15f0ce386ef7f40d1be05ad0053 267Author: Lasse Collin <lasse.collin@tukaani.org> 268Date: 2011-04-01 08:47:20 +0300 269 270 Updated NEWS for 5.0.2. 271 272 NEWS | 18 ++++++++++++++++++ 273 1 files changed, 18 insertions(+), 0 deletions(-) 274 275commit 45553f9b4b0175c292023010dc41520347004852 276Author: Lasse Collin <lasse.collin@tukaani.org> 277Date: 2011-03-31 15:06:58 +0300 278 279 Update INSTALL with another note about IRIX. 280 281 INSTALL | 4 ++++ 282 1 files changed, 4 insertions(+), 0 deletions(-) 283 284commit af9d48d5515eadef689b1ce9ffb91e4dbcbc7f35 285Author: Lasse Collin <lasse.collin@tukaani.org> 286Date: 2011-03-31 12:22:55 +0300 287 288 Tests: Add a new file to test empty LZMA2 streams. 289 290 tests/files/README | 4 ++++ 291 tests/files/good-1-lzma2-5.xz | Bin 0 -> 52 bytes 292 2 files changed, 4 insertions(+), 0 deletions(-) 293 294commit d099ef9f517b59ab8e3b6f6aa0543c3643983470 295Author: Lasse Collin <lasse.collin@tukaani.org> 296Date: 2011-03-31 11:54:48 +0300 297 298 liblzma: Fix decoding of LZMA2 streams having no uncompressed data. 299 300 The decoder considered empty LZMA2 streams to be corrupt. 301 This shouldn't matter much with .xz files, because no encoder 302 creates empty LZMA2 streams in .xz. This bug is more likely 303 to cause problems in applications that use raw LZMA2 streams. 304 305 src/liblzma/lzma/lzma2_decoder.c | 8 ++++---- 306 1 files changed, 4 insertions(+), 4 deletions(-) 307 308commit df87249b26e79a75fd91041e85512944fc247b57 309Author: Lasse Collin <lasse.collin@tukaani.org> 310Date: 2011-03-24 01:42:49 +0200 311 312 Scripts: Better fix for xzgrep. 313 314 Now it uses "grep -q". 315 316 Thanks to Gregory Margo. 317 318 src/scripts/xzgrep.in | 8 ++++++-- 319 1 files changed, 6 insertions(+), 2 deletions(-) 320 321commit 68c453e1c7b09dc9c7d2ef9d994c46f5b367f5d3 322Author: Lasse Collin <lasse.collin@tukaani.org> 323Date: 2011-03-24 01:22:18 +0200 324 325 Updated THANKS. 326 327 THANKS | 1 + 328 1 files changed, 1 insertions(+), 0 deletions(-) 329 330commit b441d39855516ae618faffd5156261b8b413394f 331Author: Lasse Collin <lasse.collin@tukaani.org> 332Date: 2011-03-24 01:21:32 +0200 333 334 Scripts: Fix xzgrep -l. 335 336 It didn't work at all. It tried to use the -q option 337 for grep, but it appended it after "--". This works 338 around it by redirecting to /dev/null. The downside 339 is that this can be slower with big files compared 340 to proper use of "grep -q". 341 342 Thanks to Gregory Margo. 343 344 src/scripts/xzgrep.in | 4 ++-- 345 1 files changed, 2 insertions(+), 2 deletions(-) 346 347commit 82d5164839517f55daeadd9ee88c76425db30224 348Author: Lasse Collin <lasse.collin@tukaani.org> 349Date: 2011-02-04 22:49:31 +0200 350 351 xz: Clean up suffix.c. 352 353 struct suffix_pair isn't needed in compresed_name() 354 so get rid of it there. 355 356 src/xz/suffix.c | 44 ++++++++++++++++++++------------------------ 357 1 files changed, 20 insertions(+), 24 deletions(-) 358 359commit 6decc8b41882c2250f0450eb87b83c9fbf495e95 360Author: Lasse Collin <lasse.collin@tukaani.org> 361Date: 2011-02-04 11:29:47 +0200 362 363 xz: Check if the file already has custom suffix when compressing. 364 365 Now "xz -S .test foo.test" refuses to compress the 366 file because it already has the suffix .test. The man 367 page had it documented this way already. 368 369 src/xz/suffix.c | 9 +++++++++ 370 1 files changed, 9 insertions(+), 0 deletions(-) 371 372commit ecda90061df8d39399e707e5c76c2ec0a0f400e5 373Author: Lasse Collin <lasse.collin@tukaani.org> 374Date: 2011-02-02 23:01:51 +0200 375 376 Updated THANKS. 377 378 THANKS | 1 + 379 1 files changed, 1 insertions(+), 0 deletions(-) 380 381commit 0fda1ae5b1aa0a5c629a09e5228db8ba1cd0dd5f 382Author: Lasse Collin <lasse.collin@tukaani.org> 383Date: 2011-02-02 23:00:33 +0200 384 385 Translations: Add Polish translation. 386 387 Thanks to Jakub Bogusz. 388 389 po/LINGUAS | 1 + 390 po/pl.po | 825 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 391 2 files changed, 826 insertions(+), 0 deletions(-) 392 393commit 00be32978fedc5038748438bf685ac1713d1db83 394Author: Lasse Collin <lasse.collin@tukaani.org> 395Date: 2011-02-02 22:24:00 +0200 396 397 Updated THANKS. 398 399 THANKS | 1 + 400 1 files changed, 1 insertions(+), 0 deletions(-) 401 402commit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004 403Author: Lasse Collin <lasse.collin@tukaani.org> 404Date: 2011-01-28 20:26:38 +0200 405 406 Bump package version and liblzma soname to 5.0.1. 407 408 src/liblzma/Makefile.am | 2 +- 409 src/liblzma/api/lzma/version.h | 2 +- 410 2 files changed, 2 insertions(+), 2 deletions(-) 411 412commit 5fbce0b8d96dc96775aa0215e3581addc830e23d 413Author: Lasse Collin <lasse.collin@tukaani.org> 414Date: 2011-01-28 20:16:57 +0200 415 416 Update NEWS for 5.0.1. 417 418 NEWS | 14 ++++++++++++++ 419 1 files changed, 14 insertions(+), 0 deletions(-) 420 421commit 03ebd1bbb314f9f204940219a835c883bf442475 422Author: Lasse Collin <lasse.collin@tukaani.org> 423Date: 2011-01-26 12:19:08 +0200 424 425 xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. 426 427 xz didn't compress setuid/setgid/sticky files and files 428 with multiple hard links even with --force. This bug was 429 introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. 430 431 Thanks to Charles Wilson. 432 433 src/xz/file_io.c | 15 +++++++-------- 434 1 files changed, 7 insertions(+), 8 deletions(-) 435 436commit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 437Author: Lasse Collin <lasse.collin@tukaani.org> 438Date: 2011-01-18 21:25:24 +0200 439 440 Updated THANKS. 441 442 THANKS | 1 + 443 1 files changed, 1 insertions(+), 0 deletions(-) 444 445commit f71c4e16e913f660977526f0ef8d2acdf458d7c9 446Author: Lasse Collin <lasse.collin@tukaani.org> 447Date: 2011-01-18 21:23:50 +0200 448 449 Add alloc_size and malloc attributes to a few functions. 450 451 Thanks to Cristian Rodr��guez for the original patch. 452 453 src/common/sysdefs.h | 6 ++++++ 454 src/liblzma/common/common.h | 2 +- 455 src/xz/util.h | 5 +++-- 456 3 files changed, 10 insertions(+), 3 deletions(-) 457 458commit 316cbe24465143edde8f6ffb7532834b7b2ea93f 459Author: Lasse Collin <lasse.collin@tukaani.org> 460Date: 2010-12-13 16:36:33 +0200 461 462 Scripts: Fix gzip and bzip2 support in xzdiff. 463 464 src/scripts/xzdiff.in | 12 ++++++------ 465 1 files changed, 6 insertions(+), 6 deletions(-) 466 467commit 9311774c493c19deab51ded919dcd2e9c4aa2829 468Author: Lasse Collin <lasse.collin@tukaani.org> 469Date: 2010-12-12 21:23:55 +0200 470 471 Build: Enable ASM on DJGPP by default. 472 473 configure.ac | 2 +- 474 1 files changed, 1 insertions(+), 1 deletions(-) 475 476commit 4a42aaee282fc73b482581684d65110506d5efdd 477Author: Lasse Collin <lasse.collin@tukaani.org> 478Date: 2010-12-12 16:09:42 +0200 479 480 Updated THANKS. 481 482 THANKS | 1 + 483 1 files changed, 1 insertions(+), 0 deletions(-) 484 485commit ce56f63c41ee210e6308090eb6d49221fdf67d6c 486Author: Lasse Collin <lasse.collin@tukaani.org> 487Date: 2010-12-12 16:07:11 +0200 488 489 Add missing PRIx32 and PRIx64 compatibility definitions. 490 491 This fixes portability to systems that lack C99 inttypes.h. 492 493 Thanks to Juan Manuel Guerrero. 494 495 src/common/sysdefs.h | 9 +++++++++ 496 1 files changed, 9 insertions(+), 0 deletions(-) 497 498commit e6baedddcf54e7da049ebc49183565b99facd4c7 499Author: Lasse Collin <lasse.collin@tukaani.org> 500Date: 2010-12-12 14:50:04 +0200 501 502 DOS-like: Treat \ and : as directory separators in addition to /. 503 504 Juan Manuel Guerrero had fixed this in his XZ Utils port 505 to DOS/DJGPP. The bug affects also Windows and OS/2. 506 507 src/xz/suffix.c | 33 +++++++++++++++++++++++++++++---- 508 1 files changed, 29 insertions(+), 4 deletions(-) 509 510commit b7afd3e22a8fac115b75c738d40d3eb1de7e286f 511Author: Lasse Collin <lasse.collin@tukaani.org> 512Date: 2010-12-07 18:52:04 +0200 513 514 Translations: Fix Czech translation of "sparse file". 515 516 Thanks to Petr Huben�� and Marek ��ernock��. 517 518 po/cs.po | 88 +++++++++++++++++++++++++++++++------------------------------- 519 1 files changed, 44 insertions(+), 44 deletions(-) 520 521commit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e 522Author: Lasse Collin <lasse.collin@tukaani.org> 523Date: 2010-11-15 14:28:26 +0200 524 525 liblzma: Document the return value of lzma_lzma_preset(). 526 527 src/liblzma/api/lzma/lzma.h | 3 +++ 528 1 files changed, 3 insertions(+), 0 deletions(-) 529 530commit 2964d8d691ed92abdcf214888d79ad6d79774735 531Author: Jonathan Nieder <jrnieder@gmail.com> 532Date: 2010-11-12 15:22:13 -0600 533 534 Simplify paths in generated API docs 535 536 Currently the file list generated by Doxygen has src/ at the 537 beginning of each path. Paths like common/sysdefs.h and 538 liblzma/api/lzma.h are easier to read without such a prefix. 539 540 Builds from a separate build directory with 541 542 mkdir build 543 cd build 544 ../configure 545 doxygen Doxyfile 546 547 include an even longer prefix /home/someone/src/xz/src; this 548 patch has the nice side-effect of eliminating that prefix, too. 549 550 Fixes: http://bugs.debian.org/572273 551 552 Doxyfile.in | 2 +- 553 1 files changed, 1 insertions(+), 1 deletions(-) 554 555commit 37c25658efd25b034266daf87cd381d20d1df776 556Author: Lasse Collin <lasse.collin@tukaani.org> 557Date: 2010-10-26 15:48:48 +0300 558 559 Build: Copy the example programs to $docdir/examples. 560 561 The example programs by Daniel Mealha Cabrita were included 562 in the git repository, but I had forgot to add them to 563 Makefile.am. Thus, they didn't get included in the source 564 package at all by "make dist". 565 566 Makefile.am | 5 +++++ 567 windows/build.bash | 3 ++- 568 2 files changed, 7 insertions(+), 1 deletions(-) 569 570commit e45929260cd902036efd40c5610a8d0a50d5712b 571Author: Lasse Collin <lasse.collin@tukaani.org> 572Date: 2010-10-23 17:25:52 +0300 573 574 Build: Fix mydist rule when .git doesn't exist. 575 576 Makefile.am | 1 + 577 1 files changed, 1 insertions(+), 0 deletions(-) 578 579commit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 580Author: Lasse Collin <lasse.collin@tukaani.org> 581Date: 2010-10-23 14:15:35 +0300 582 583 Add NEWS for 5.0.0. 584 585 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 586 1 files changed, 62 insertions(+), 0 deletions(-) 587 588commit b667a3ef6338a2c1db7b7706b1f6c99ea392221c 589Author: Lasse Collin <lasse.collin@tukaani.org> 590Date: 2010-10-23 14:02:53 +0300 591 592 Bump version to 5.0.0 and liblzma version-info to 5:0:0. 593 594 src/liblzma/Makefile.am | 2 +- 595 src/liblzma/api/lzma/version.h | 8 ++++---- 596 2 files changed, 5 insertions(+), 5 deletions(-) 597 598commit 8c947e9291691629714dafb4536c718b6cc24fbd 599Author: Lasse Collin <lasse.collin@tukaani.org> 600Date: 2010-10-23 12:30:54 +0300 601 602 liblzma: Make lzma_code() check the reserved members in lzma_stream. 603 604 If any of the reserved members in lzma_stream are non-zero 605 or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible 606 that a new feature in the future is indicated by just setting 607 a reserved member to some other value, so the old liblzma 608 version need to catch it as an unsupported feature. 609 610 src/liblzma/common/common.c | 14 ++++++++++++++ 611 1 files changed, 14 insertions(+), 0 deletions(-) 612 613commit e61d85e082743ebd2dd0ff28fc0a82482ede0538 614Author: Lasse Collin <lasse.collin@tukaani.org> 615Date: 2010-10-23 12:26:33 +0300 616 617 Windows: Use MinGW's stdio functions. 618 619 The non-standard ones from msvcrt.dll appear to work 620 most of the time with XZ Utils, but there are some 621 corner cases where things may go very wrong. So it's 622 good to use the better replacements provided by 623 MinGW(-w64) runtime. 624 625 src/common/sysdefs.h | 5 +++++ 626 1 files changed, 5 insertions(+), 0 deletions(-) 627 628commit 23e23f1dc029146714c9a98313ab3ea93d71a2fc 629Author: Lasse Collin <lasse.collin@tukaani.org> 630Date: 2010-10-23 12:21:32 +0300 631 632 liblzma: Use 512 as INDEX_GROUP_SIZE. 633 634 This lets compiler use shifting instead of 64-bit division. 635 636 src/liblzma/common/index.c | 2 +- 637 1 files changed, 1 insertions(+), 1 deletions(-) 638 639commit 613939fc82603b75b59eee840871a05bc8dd08e0 640Author: Lasse Collin <lasse.collin@tukaani.org> 641Date: 2010-10-23 12:20:11 +0300 642 643 liblzma: A few ABI tweaks to reserve space in structures. 644 645 src/liblzma/api/lzma/base.h | 7 ++++++- 646 src/liblzma/api/lzma/lzma.h | 4 ++-- 647 src/liblzma/api/lzma/stream_flags.h | 4 ---- 648 3 files changed, 8 insertions(+), 7 deletions(-) 649 650commit 68b83f252df3d27480a9f6f03445d16f6506fef1 651Author: Lasse Collin <lasse.collin@tukaani.org> 652Date: 2010-10-21 23:16:11 +0300 653 654 xz: Make sure that message_strm() can never return NULL. 655 656 src/xz/message.c | 7 +++++-- 657 1 files changed, 5 insertions(+), 2 deletions(-) 658 659commit d09c5753e33ff96ee57edb6d1e98e34041203695 660Author: Lasse Collin <lasse.collin@tukaani.org> 661Date: 2010-10-21 23:06:31 +0300 662 663 liblzma: Update the comments in the API headers. 664 665 Adding support for LZMA_FINISH for Index encoding and 666 decoding needed tiny additions to the relevant .c files too. 667 668 src/liblzma/api/lzma.h | 4 +- 669 src/liblzma/api/lzma/base.h | 38 +++++++++++++------------- 670 src/liblzma/api/lzma/bcj.h | 4 +- 671 src/liblzma/api/lzma/block.h | 4 +- 672 src/liblzma/api/lzma/container.h | 26 +++++++++++------ 673 src/liblzma/api/lzma/filter.h | 51 +++++++++++++++++------------------ 674 src/liblzma/api/lzma/hardware.h | 3 +- 675 src/liblzma/api/lzma/index.h | 28 +++++++++++------- 676 src/liblzma/api/lzma/index_hash.h | 2 +- 677 src/liblzma/api/lzma/lzma.h | 46 +++++++++++++++++++++---------- 678 src/liblzma/api/lzma/stream_flags.h | 4 +- 679 src/liblzma/api/lzma/vli.h | 31 ++++++++++----------- 680 src/liblzma/common/index_decoder.c | 1 + 681 src/liblzma/common/index_encoder.c | 1 + 682 14 files changed, 136 insertions(+), 107 deletions(-) 683 684commit 33c1c0e102eb529588503b8beea0903a45488fad 685Author: Lasse Collin <lasse.collin@tukaani.org> 686Date: 2010-10-19 12:08:30 +0300 687 688 Update INSTALL.generic. 689 690 INSTALL.generic | 99 +++++++++++++++++++++++++++++++++++++++++++++---------- 691 1 files changed, 81 insertions(+), 18 deletions(-) 692 693commit 0076e03641f201c4b77dddd5a6db5880be19a78c 694Author: Lasse Collin <lasse.collin@tukaani.org> 695Date: 2010-10-19 11:44:37 +0300 696 697 Clean up a few FIXMEs and TODOs. 698 699 lzma_chunk_size() was commented out because it is 700 currently useless. 701 702 src/liblzma/common/filter_encoder.c | 2 ++ 703 src/liblzma/common/filter_encoder.h | 4 ++-- 704 src/liblzma/lzma/lzma2_decoder.c | 1 - 705 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 706 src/liblzma/lzma/lzma_encoder.c | 2 +- 707 src/xz/message.h | 2 +- 708 6 files changed, 8 insertions(+), 7 deletions(-) 709 710commit ce34ec4f54ff8b753da236f371ad8dd23c8135c9 711Author: Lasse Collin <lasse.collin@tukaani.org> 712Date: 2010-10-19 10:21:08 +0300 713 714 Update docs. 715 716 INSTALL | 192 +++++++++++++++++++++++++++++++++++++++++------------------- 717 PACKAGERS | 104 +++++++++------------------------ 718 TODO | 17 ++++-- 719 dos/README | 2 +- 720 4 files changed, 172 insertions(+), 143 deletions(-) 721 722commit f0fa880d247e73264d2c04fe31fb3412318a0026 723Author: Lasse Collin <lasse.collin@tukaani.org> 724Date: 2010-10-12 15:13:30 +0300 725 726 xz: Avoid raise() also on OpenVMS. 727 728 This is similar to DOS/DJGPP that killing the program 729 with a signal will print a backtrace or a similar message. 730 731 src/xz/signals.c | 2 +- 732 1 files changed, 1 insertions(+), 1 deletions(-) 733 734commit ac462b1c47c451f5c62e428306314c4bdad8ae7f 735Author: Lasse Collin <lasse.collin@tukaani.org> 736Date: 2010-10-11 21:26:19 +0300 737 738 xz: Avoid SA_RESTART for portability reasons. 739 740 SA_RESTART is not as portable as I had hoped. It's missing 741 at least from OpenVMS, QNX, and DJGPP). Luckily we can do 742 fine without SA_RESTART. 743 744 src/xz/message.c | 38 +++++++++++++++----------------------- 745 src/xz/message.h | 4 ++++ 746 src/xz/signals.c | 6 ++++++ 747 3 files changed, 25 insertions(+), 23 deletions(-) 748 749commit d52b411716a614c202e89ba732492efb9916cd3f 750Author: Lasse Collin <lasse.collin@tukaani.org> 751Date: 2010-10-10 17:58:58 +0300 752 753 xz: Use "%"PRIu32 instead of "%d" in a format string. 754 755 src/xz/message.c | 2 +- 756 1 files changed, 1 insertions(+), 1 deletions(-) 757 758commit ae74d1bdeb075c3beefe76e1136c5741804e7e91 759Author: Lasse Collin <lasse.collin@tukaani.org> 760Date: 2010-10-10 17:43:26 +0300 761 762 test_files.sh: Fix the first line. 763 764 For some reason this prevented running the test only 765 on OS/2 and even on that it broke only recently. 766 767 Thanks to Elbert Pol. 768 769 tests/test_files.sh | 2 +- 770 1 files changed, 1 insertions(+), 1 deletions(-) 771 772commit d492b80ddd6f9a13419de6d102df7374d8f448e8 773Author: Lasse Collin <lasse.collin@tukaani.org> 774Date: 2010-10-10 16:49:01 +0300 775 776 lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. 777 778 src/lzmainfo/lzmainfo.c | 2 +- 779 1 files changed, 1 insertions(+), 1 deletions(-) 780 781commit 825e859a9054bd91202e5723c41a17e72f63040a 782Author: Lasse Collin <lasse.collin@tukaani.org> 783Date: 2010-10-10 16:47:01 +0300 784 785 lzmainfo: Use fileno(stdin) instead of STDIN_FILENO. 786 787 src/lzmainfo/lzmainfo.c | 2 +- 788 1 files changed, 1 insertions(+), 1 deletions(-) 789 790commit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8 791Author: Lasse Collin <lasse.collin@tukaani.org> 792Date: 2010-10-09 23:20:51 +0300 793 794 lzmainfo: Use setmode() on DOS-like systems. 795 796 src/lzmainfo/lzmainfo.c | 9 +++++++++ 797 1 files changed, 9 insertions(+), 0 deletions(-) 798 799commit ef364d3abc5647111c5424ea0d83a567e184a23b 800Author: Lasse Collin <lasse.collin@tukaani.org> 801Date: 2010-10-09 21:51:03 +0300 802 803 OS/2 and DOS: Be less verbose on signals. 804 805 Calling raise() to kill xz when user has pressed C-c 806 is a bit verbose on OS/2 and DOS/DJGPP. Instead of 807 calling raise(), set only the exit status to 1. 808 809 src/xz/signals.c | 7 +++++++ 810 1 files changed, 7 insertions(+), 0 deletions(-) 811 812commit 5629c4be07b6c67e79842b2569da1cedc9c0d69a 813Author: Lasse Collin <lasse.collin@tukaani.org> 814Date: 2010-10-09 19:28:49 +0300 815 816 DOS: Update the Makefile, config.h and README. 817 818 This is now simpler and builds only xz.exe. 819 820 dos/Makefile | 211 ++++++++++++++-------------------------------------------- 821 dos/README | 73 +++++++-------------- 822 dos/config.h | 45 +++--------- 823 3 files changed, 86 insertions(+), 243 deletions(-) 824 825commit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac 826Author: Lasse Collin <lasse.collin@tukaani.org> 827Date: 2010-10-09 18:57:55 +0300 828 829 Windows: Put some license info into README-Windows.txt. 830 831 windows/README-Windows.txt | 8 ++++---- 832 1 files changed, 4 insertions(+), 4 deletions(-) 833 834commit e75100f549f85d231df25c07aa94d63e78e2d668 835Author: Lasse Collin <lasse.collin@tukaani.org> 836Date: 2010-10-09 18:57:04 +0300 837 838 Windows: Fix a diagnostics bug in build.bash. 839 840 windows/build.bash | 2 +- 841 1 files changed, 1 insertions(+), 1 deletions(-) 842 843commit efeb998a2b1025df1c1d202cc7d21d866cd1c336 844Author: Lasse Collin <lasse.collin@tukaani.org> 845Date: 2010-10-09 13:02:15 +0300 846 847 lzmainfo: Add Windows resource file. 848 849 src/lzmainfo/Makefile.am | 9 +++++++++ 850 src/lzmainfo/lzmainfo_w32res.rc | 12 ++++++++++++ 851 2 files changed, 21 insertions(+), 0 deletions(-) 852 853commit 389d418445f1623593dfdbba55d52fbb6d1205f5 854Author: Lasse Collin <lasse.collin@tukaani.org> 855Date: 2010-10-09 12:57:25 +0300 856 857 Add missing public domain notice to lzmadec_w32res.rc. 858 859 src/xzdec/lzmadec_w32res.rc | 7 +++++++ 860 1 files changed, 7 insertions(+), 0 deletions(-) 861 862commit 6389c773a4912dd9f111256d74ba1605230a7957 863Author: Lasse Collin <lasse.collin@tukaani.org> 864Date: 2010-10-09 12:52:12 +0300 865 866 Windows: Update common_w32res.rc. 867 868 src/common/common_w32res.rc | 9 +++------ 869 1 files changed, 3 insertions(+), 6 deletions(-) 870 871commit 71275457ca24c9b01721f5cfc3638cf094daf454 872Author: Lasse Collin <lasse.collin@tukaani.org> 873Date: 2010-10-09 12:27:08 +0300 874 875 Windows: Make build.bash prefer MinGW-w32 over MinGW. 876 877 This is simply for licensing reasons. The 64-bit version 878 will be built with MinGW-w64 anyway (at least for now), 879 so using it also for 32-bit build allows using the same 880 copyright notice about the MinGW-w64/w32 runtime. 881 882 Note that using MinGW would require a copyright notice too, 883 because its runtime is not in the public domain either even 884 though MinGW's home page claims that it is public domain. 885 See <http://marc.info/?l=mingw-users&m=126489506214078>. 886 887 windows/build.bash | 18 +++++++++--------- 888 1 files changed, 9 insertions(+), 9 deletions(-) 889 890commit 3ac35719d8433af937af6491383d4a50e343099b 891Author: Lasse Collin <lasse.collin@tukaani.org> 892Date: 2010-10-09 11:33:21 +0300 893 894 Windows: Copy COPYING-Windows.txt (if it exists) to the package. 895 896 Also, put README-Windows.txt to the doc directory like 897 the other documentation files. 898 899 windows/build.bash | 14 ++++++++++++-- 900 1 files changed, 12 insertions(+), 2 deletions(-) 901 902commit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae 903Author: Lasse Collin <lasse.collin@tukaani.org> 904Date: 2010-10-08 21:42:37 +0300 905 906 Windows: Fix build.bash again. 907 908 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good. 909 910 windows/build.bash | 7 ++++--- 911 1 files changed, 4 insertions(+), 3 deletions(-) 912 913commit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd 914Author: Lasse Collin <lasse.collin@tukaani.org> 915Date: 2010-10-08 16:53:20 +0300 916 917 Use LZMA_VERSION_STRING instead of PACKAGE_VERSION. 918 919 Those are the same thing, and the former makes it a bit 920 easier to build the code with other build systems, because 921 one doesn't need to update the version number into custom 922 config.h. 923 924 This change affects only lzmainfo. Other tools were already 925 using LZMA_VERSION_STRING. 926 927 src/lzmainfo/lzmainfo.c | 2 +- 928 1 files changed, 1 insertions(+), 1 deletions(-) 929 930commit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f 931Author: Lasse Collin <lasse.collin@tukaani.org> 932Date: 2010-10-08 15:59:25 +0300 933 934 configure.ac: Remove two unused defines. 935 936 configure.ac | 4 ---- 937 1 files changed, 0 insertions(+), 4 deletions(-) 938 939commit 11f51b6714357cb67ec7e56ed9575c199b5581fe 940Author: Lasse Collin <lasse.collin@tukaani.org> 941Date: 2010-10-08 15:32:29 +0300 942 943 Make tests accommodate missing xz or xzdec. 944 945 tests/test_compress.sh | 45 +++++++++++++++++++++++++++++---------------- 946 tests/test_files.sh | 28 ++++++++++++++++++++++++++-- 947 2 files changed, 55 insertions(+), 18 deletions(-) 948 949commit b1c7368f95e93ccdefdd0748e04398c26766f47f 950Author: Lasse Collin <lasse.collin@tukaani.org> 951Date: 2010-10-08 15:25:45 +0300 952 953 Build: Add options to disable individual command line tools. 954 955 configure.ac | 38 ++++++++++++++++++++++++++++ 956 src/Makefile.am | 15 ++++++++++- 957 src/scripts/Makefile.am | 62 +++++++++++++++++++--------------------------- 958 src/xz/Makefile.am | 6 ++++- 959 src/xzdec/Makefile.am | 12 +++++++- 960 5 files changed, 93 insertions(+), 40 deletions(-) 961 962commit 630a8beda34af0ac153c8051b1bf01230558e422 963Author: Lasse Collin <lasse.collin@tukaani.org> 964Date: 2010-10-07 00:44:53 +0300 965 966 Windows: Make build.bash work without --enable-dynamic=no. 967 968 windows/build.bash | 4 ++-- 969 1 files changed, 2 insertions(+), 2 deletions(-) 970 971commit f9907503f882a745dce9d84c2968f6c175ba966a 972Author: Lasse Collin <lasse.collin@tukaani.org> 973Date: 2010-10-05 14:13:16 +0300 974 975 Build: Remove the static/dynamic tricks. 976 977 Most distros want xz linked against shared liblzma, so 978 it doesn't help much to require --enable-dynamic for that. 979 Those who want to avoid PIC on x86-32 to get better 980 performance, can still do it e.g. by using --disable-shared 981 to compile xz and then another pass to compile shared liblzma. 982 983 Part of these static/dynamic tricks were needed for Windows 984 in the past. Nowadays we rely on GCC and binutils to do the 985 right thing with auto-import. If the Autotooled build system 986 needs to support some other toolchain on Windows in the future, 987 this may need some rethinking. 988 989 configure.ac | 74 ---------------------------------------------- 990 debug/Makefile.am | 5 +-- 991 src/lzmainfo/Makefile.am | 4 +-- 992 src/xz/Makefile.am | 4 +-- 993 src/xzdec/Makefile.am | 4 +-- 994 tests/Makefile.am | 5 +-- 995 6 files changed, 5 insertions(+), 91 deletions(-) 996 997commit fda4724d8114fccfa31c1839c15479f350c2fb4c 998Author: Lasse Collin <lasse.collin@tukaani.org> 999Date: 2010-10-05 12:18:58 +0300 1000 1001 configure.ac: Silence a warning from Autoconf 2.68. 1002 1003 configure.ac | 2 +- 1004 1 files changed, 1 insertions(+), 1 deletions(-) 1005 1006commit 80b5675fa62c87426fe86f8fcd20feeabc4361b9 1007Author: Lasse Collin <lasse.collin@tukaani.org> 1008Date: 2010-10-04 19:43:01 +0300 1009 1010 A few more languages files to the xz man page. 1011 1012 Thanks to Jonathan Nieder. 1013 1014 src/xz/xz.1 | 45 ++++++++++++++++++++++++--------------------- 1015 1 files changed, 24 insertions(+), 21 deletions(-) 1016 1017commit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb 1018Author: Lasse Collin <lasse.collin@tukaani.org> 1019Date: 2010-10-02 12:07:33 +0300 1020 1021 Update the FAQ. 1022 1023 doc/faq.txt | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1024 1 files changed, 100 insertions(+), 4 deletions(-) 1025 1026commit 61ae593661e8dc402394e84d567ca2044a51572b 1027Author: Lasse Collin <lasse.collin@tukaani.org> 1028Date: 2010-10-02 11:38:20 +0300 1029 1030 liblzma: Small fixes to comments in the API headers. 1031 1032 src/liblzma/api/lzma/lzma.h | 10 +++++++--- 1033 1 files changed, 7 insertions(+), 3 deletions(-) 1034 1035commit 9166682dc601fd42c1b9510572e3f917d18de504 1036Author: Lasse Collin <lasse.collin@tukaani.org> 1037Date: 2010-09-28 11:40:12 +0300 1038 1039 Create the PDF versions of the man pages better. 1040 1041 Makefile.am | 14 +++++++----- 1042 build-aux/manconv.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1043 2 files changed, 66 insertions(+), 6 deletions(-) 1044 1045commit 17d3c61edd35de8fa884944fc70d1db86daa5dd8 1046Author: Lasse Collin <lasse.collin@tukaani.org> 1047Date: 2010-09-28 10:59:53 +0300 1048 1049 Move version.sh to build-aux. 1050 1051 Makefile.am | 4 ++-- 1052 build-aux/version.sh | 24 ++++++++++++++++++++++++ 1053 configure.ac | 2 +- 1054 version.sh | 24 ------------------------ 1055 windows/build.bash | 2 +- 1056 5 files changed, 28 insertions(+), 28 deletions(-) 1057 1058commit 84af9d8770451339a692e9b70f96cf56156a6069 1059Author: Lasse Collin <lasse.collin@tukaani.org> 1060Date: 2010-09-28 10:53:02 +0300 1061 1062 Update .gitignore. 1063 1064 .gitignore | 10 +++++++++- 1065 1 files changed, 9 insertions(+), 1 deletions(-) 1066 1067commit 31575a449ac64c523da3bab8d0c0b522cdc7c780 1068Author: Lasse Collin <lasse.collin@tukaani.org> 1069Date: 2010-09-28 01:17:14 +0300 1070 1071 Fix accomodate -> accommodate on the xz man page. 1072 1073 src/xz/xz.1 | 2 +- 1074 1 files changed, 1 insertions(+), 1 deletions(-) 1075 1076commit cec0ddc8ec4ce81685a51998b978e22167e461f9 1077Author: Lasse Collin <lasse.collin@tukaani.org> 1078Date: 2010-09-27 23:29:34 +0300 1079 1080 Major man page updates. 1081 1082 Lots of content was updated on the xz man page. 1083 1084 Technical improvements: 1085 - Start a new sentence on a new line. 1086 - Use fairly short lines. 1087 - Use constant-width font for examples (where supported). 1088 - Some minor cleanups. 1089 1090 Thanks to Jonathan Nieder for some language fixes. 1091 1092 src/lzmainfo/lzmainfo.1 | 25 +- 1093 src/scripts/xzdiff.1 | 15 +- 1094 src/scripts/xzgrep.1 | 11 +- 1095 src/scripts/xzless.1 | 13 +- 1096 src/scripts/xzmore.1 | 9 +- 1097 src/xz/xz.1 | 1964 ++++++++++++++++++++++++++++++++-------------- 1098 src/xzdec/xzdec.1 | 39 +- 1099 7 files changed, 1435 insertions(+), 641 deletions(-) 1100 1101commit 075257ab0416a0603be930082e31a5703e4ba345 1102Author: Lasse Collin <lasse.collin@tukaani.org> 1103Date: 2010-09-26 18:10:31 +0300 1104 1105 Fix the preset -3e. 1106 1107 depth=0 was missing. 1108 1109 src/liblzma/lzma/lzma_encoder_presets.c | 1 + 1110 1 files changed, 1 insertions(+), 0 deletions(-) 1111 1112commit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1 1113Author: Lasse Collin <lasse.collin@tukaani.org> 1114Date: 2010-09-23 14:03:10 +0300 1115 1116 Add translations.bash and translation notes to README. 1117 1118 translations.bash prints some messages from xz, which 1119 hopefully makes it a bit easier to test translations. 1120 1121 README | 96 ++++++++++++++++++++++++++++++++++++++++++++-- 1122 debug/translation.bash | 100 ++++++++++++++++++++++++++++++++++++++++++++++++ 1123 2 files changed, 192 insertions(+), 4 deletions(-) 1124 1125commit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23 1126Author: Lasse Collin <lasse.collin@tukaani.org> 1127Date: 2010-09-17 22:14:30 +0300 1128 1129 xz: Update the Czech translation. 1130 1131 Thanks to Marek ��ernock��. 1132 1133 po/cs.po | 202 ++++++++++++++++++++++++++++++++++++++++---------------------- 1134 1 files changed, 131 insertions(+), 71 deletions(-) 1135 1136commit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6 1137Author: Lasse Collin <lasse.collin@tukaani.org> 1138Date: 2010-09-16 23:40:41 +0300 1139 1140 xz: Add Italian translation. 1141 1142 Thanks to Milo Casagrande and Lorenzo De Liso. 1143 1144 THANKS | 2 + 1145 po/LINGUAS | 1 + 1146 po/it.po | 902 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1147 3 files changed, 905 insertions(+), 0 deletions(-) 1148 1149commit 21088018554e2b0e02914205377ceb6e34a090bd 1150Author: Lasse Collin <lasse.collin@tukaani.org> 1151Date: 2010-09-15 00:34:13 +0300 1152 1153 xz: Edit a translators comment. 1154 1155 src/xz/list.c | 2 +- 1156 1 files changed, 1 insertions(+), 1 deletions(-) 1157 1158commit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6 1159Author: Lasse Collin <lasse.collin@tukaani.org> 1160Date: 2010-09-14 22:47:14 +0300 1161 1162 xz: Add German translation. 1163 1164 Thanks to Andre Noll. 1165 1166 THANKS | 1 + 1167 po/LINGUAS | 1 + 1168 po/de.po | 903 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1169 3 files changed, 905 insertions(+), 0 deletions(-) 1170 1171commit e23ea74f3240e6b69683f9e69d1716e0f9e9092b 1172Author: Lasse Collin <lasse.collin@tukaani.org> 1173Date: 2010-09-10 14:30:25 +0300 1174 1175 Updated README. 1176 1177 README | 2 -- 1178 1 files changed, 0 insertions(+), 2 deletions(-) 1179 1180commit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71 1181Author: Lasse Collin <lasse.collin@tukaani.org> 1182Date: 2010-09-10 14:30:07 +0300 1183 1184 Updated INSTALL. 1185 1186 INSTALL | 7 ++++--- 1187 1 files changed, 4 insertions(+), 3 deletions(-) 1188 1189commit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2 1190Author: Lasse Collin <lasse.collin@tukaani.org> 1191Date: 2010-09-10 14:26:20 +0300 1192 1193 Updated the git repository address in ChangeLog. 1194 1195 ChangeLog | 2 +- 1196 1 files changed, 1 insertions(+), 1 deletions(-) 1197 1198commit a8760203f93a69bc39fd14520a6e9e7b7d70be06 1199Author: Lasse Collin <lasse.collin@tukaani.org> 1200Date: 2010-09-10 14:09:33 +0300 1201 1202 xz: Add a comment to translators about "literal context bits". 1203 1204 src/xz/message.c | 4 ++++ 1205 1 files changed, 4 insertions(+), 0 deletions(-) 1206 1207commit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5 1208Author: Lasse Collin <lasse.collin@tukaani.org> 1209Date: 2010-09-10 10:30:33 +0300 1210 1211 xz: Multiple fixes. 1212 1213 The code assumed that printing numbers with thousand separators 1214 and decimal points would always produce only US-ASCII characters. 1215 This was used for buffer sizes (with snprintf(), no overflows) 1216 and aligning columns of the progress indicator and --list. That 1217 assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so 1218 multibyte character support was added in this commit. The old 1219 way is used if the operating system doesn't have enough multibyte 1220 support (e.g. lacks wcwidth()). 1221 1222 The sizes of buffers were increased to accomodate multibyte 1223 characters. I don't know how big they should be exactly, but 1224 they aren't used for anything critical, so it's not too bad. 1225 If they still aren't big enough, I hopefully get a bug report. 1226 snprintf() takes care of avoiding buffer overflows. 1227 1228 Some static buffers were replaced with buffers allocated on 1229 stack. double_to_str() was removed. uint64_to_str() and 1230 uint64_to_nicestr() now share the static buffer and test 1231 for thousand separator support. 1232 1233 Integrity check names "None" and "Unknown-N" (2 <= N <= 15) 1234 were marked to be translated. I had forgot these, plus they 1235 wouldn't have worked correctly anyway before this commit, 1236 because printing tables with multibyte strings didn't work. 1237 1238 Thanks to Marek ��ernock�� for reporting the bug about 1239 misaligned table columns in --list output. 1240 1241 configure.ac | 1 + 1242 m4/tuklib_mbstr.m4 | 30 ++++++ 1243 src/common/tuklib_mbstr.h | 66 +++++++++++++ 1244 src/common/tuklib_mbstr_fw.c | 31 ++++++ 1245 src/common/tuklib_mbstr_width.c | 64 ++++++++++++ 1246 src/xz/Makefile.am | 4 +- 1247 src/xz/list.c | 205 ++++++++++++++++++++++++++------------- 1248 src/xz/message.c | 56 +++++++---- 1249 src/xz/message.h | 10 ++- 1250 src/xz/private.h | 1 + 1251 src/xz/util.c | 136 +++++++++----------------- 1252 src/xz/util.h | 7 -- 1253 12 files changed, 424 insertions(+), 187 deletions(-) 1254 1255commit 639f8e2af33cf8a184d59ba56b6df7c098679d61 1256Author: Lasse Collin <lasse.collin@tukaani.org> 1257Date: 2010-09-08 08:49:22 +0300 1258 1259 Update the Czech translation. 1260 1261 Thanks to Marek ��ernock��. 1262 1263 po/cs.po | 655 +++++++++++++++++++++++++++++++++++++++++++------------------- 1264 1 files changed, 454 insertions(+), 201 deletions(-) 1265 1266commit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7 1267Author: Lasse Collin <lasse.collin@tukaani.org> 1268Date: 2010-09-07 12:31:40 +0300 1269 1270 xz: Add a note to translators. 1271 1272 src/xz/hardware.c | 2 ++ 1273 1 files changed, 2 insertions(+), 0 deletions(-) 1274 1275commit 77a7746616e555fc08028e883a56d06bf0088b81 1276Author: Lasse Collin <lasse.collin@tukaani.org> 1277Date: 2010-09-07 10:42:13 +0300 1278 1279 Fix use of N_() and ngettext(). 1280 1281 I had somehow thought that N_() is usually used 1282 as shorthand for ngettext(). 1283 1284 This also fixes a missing \n from a call to ngettext(). 1285 1286 src/common/tuklib_gettext.h | 4 ++-- 1287 src/xz/list.c | 4 ++-- 1288 2 files changed, 4 insertions(+), 4 deletions(-) 1289 1290commit e6ad39335842343e622ab51207d1d3cb9caad801 1291Author: Lasse Collin <lasse.collin@tukaani.org> 1292Date: 2010-09-06 19:43:12 +0300 1293 1294 Add missing files to POTFILES.in. 1295 1296 po/POTFILES.in | 3 +++ 1297 1 files changed, 3 insertions(+), 0 deletions(-) 1298 1299commit 58f55131820d2e08a1a6beb9ec0ee2378044eb30 1300Author: Lasse Collin <lasse.collin@tukaani.org> 1301Date: 2010-09-06 10:16:24 +0300 1302 1303 xz: Improve a comment. 1304 1305 src/xz/file_io.c | 7 ++++--- 1306 1 files changed, 4 insertions(+), 3 deletions(-) 1307 1308commit bcb1b898341f7073f51660d7052d7ed6c5461a66 1309Author: Lasse Collin <lasse.collin@tukaani.org> 1310Date: 2010-09-05 21:34:29 +0300 1311 1312 xz: Update the comment about NetBSD in file_io.c. 1313 1314 Thanks to Joerg Sonnenberger. 1315 1316 src/xz/file_io.c | 8 ++++---- 1317 1 files changed, 4 insertions(+), 4 deletions(-) 1318 1319commit da014d55972f5addbf6b4360d3d8ed2ef4282170 1320Author: Lasse Collin <lasse.collin@tukaani.org> 1321Date: 2010-09-05 21:11:33 +0300 1322 1323 xz: Use an array instead of pointer for stdin_filename. 1324 1325 Thanks Joerg Sonnenberger. 1326 1327 src/xz/args.c | 2 +- 1328 src/xz/args.h | 2 +- 1329 2 files changed, 2 insertions(+), 2 deletions(-) 1330 1331commit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee 1332Author: Lasse Collin <lasse.collin@tukaani.org> 1333Date: 2010-09-05 12:16:17 +0300 1334 1335 xz: Hopefully ease translating the messages in list.c. 1336 1337 src/xz/list.c | 33 +++++++++++++++++++++++---------- 1338 1 files changed, 23 insertions(+), 10 deletions(-) 1339 1340commit ef840950ad99cf2955c754875af0e01acf125079 1341Author: Lasse Collin <lasse.collin@tukaani.org> 1342Date: 2010-09-04 23:14:44 +0300 1343 1344 xz: Fix grammar. 1345 1346 src/xz/options.c | 3 +-- 1347 1 files changed, 1 insertions(+), 2 deletions(-) 1348 1349commit c46afd6edc04ea140db6c59e8486f5707c810c13 1350Author: Lasse Collin <lasse.collin@tukaani.org> 1351Date: 2010-09-04 23:12:20 +0300 1352 1353 xz: Use lzma_lzma_preset() to initialize the options structure. 1354 1355 src/xz/options.c | 14 ++------------ 1356 1 files changed, 2 insertions(+), 12 deletions(-) 1357 1358commit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065 1359Author: Lasse Collin <lasse.collin@tukaani.org> 1360Date: 2010-09-04 22:16:28 +0300 1361 1362 Don't set lc=4 with --extreme. 1363 1364 This should reduce the cases where --extreme makes 1365 compression worse. On the other hand, some other 1366 files may now benefit slightly less from --extreme. 1367 1368 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 1369 1 files changed, 0 insertions(+), 1 deletions(-) 1370 1371commit 474bac0c33e94aeaca8ada17ab19972b1424bc2b 1372Author: Lasse Collin <lasse.collin@tukaani.org> 1373Date: 2010-09-04 22:10:32 +0300 1374 1375 xz: Minor improvements to --help and --long-help. 1376 1377 src/xz/message.c | 24 ++++++++++++------------ 1378 1 files changed, 12 insertions(+), 12 deletions(-) 1379 1380commit 373ee26f955617295c5c537b04a153a1969140d2 1381Author: Jonathan Nieder <jrnieder@gmail.com> 1382Date: 2010-09-03 16:49:15 -0500 1383 1384 Adjust memory limits in test_compress.sh 1385 1386 Testing compression at level -4 now requires 48 MiB of free store at 1387 compression time and 5 MiB at decompression time. 1388 1389 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 1390 1391 tests/test_compress.sh | 2 +- 1392 1 files changed, 1 insertions(+), 1 deletions(-) 1393 1394commit 2fce9312f36727ea82f3430cc5d3a7d243c5f087 1395Author: Lasse Collin <lasse.collin@tukaani.org> 1396Date: 2010-09-03 15:54:40 +0300 1397 1398 xz: Make -vv show also decompressor memory usage. 1399 1400 src/xz/coder.c | 7 +++++++ 1401 1 files changed, 7 insertions(+), 0 deletions(-) 1402 1403commit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6 1404Author: Lasse Collin <lasse.collin@tukaani.org> 1405Date: 2010-09-03 15:13:12 +0300 1406 1407 Tweak the compression presets -0 .. -5. 1408 1409 "Extreme" mode might need some further tweaking still. 1410 Docs were not updated yet. 1411 1412 src/liblzma/lzma/lzma_encoder_presets.c | 29 +++++++++++++++++++---------- 1413 1 files changed, 19 insertions(+), 10 deletions(-) 1414 1415commit 77fe5954cd3d10fb1837372684cbc133b56b6a87 1416Author: Lasse Collin <lasse.collin@tukaani.org> 1417Date: 2010-09-03 12:28:41 +0300 1418 1419 liblzma: Adjust default depth calculation for HC3 and HC4. 1420 1421 It was 8 + nice_len / 4, now it is 4 + nice_len / 4. 1422 This allows faster settings at lower nice_len values, 1423 even though it seems that I won't use automatic depth 1424 calcuation with HC3 and HC4 in the presets. 1425 1426 src/liblzma/lz/lz_encoder.c | 7 ++++--- 1427 1 files changed, 4 insertions(+), 3 deletions(-) 1428 1429commit fce69059cf901ce8075a78c7607d591f144a3b5a 1430Author: Lasse Collin <lasse.collin@tukaani.org> 1431Date: 2010-09-03 11:11:25 +0300 1432 1433 xz: Make --help two lines shorter. 1434 1435 At least for now, the --help option doesn't list any 1436 options that take arguments, so "Mandatory arguments to..." 1437 can be omitted. 1438 1439 src/xz/message.c | 7 +++++-- 1440 1 files changed, 5 insertions(+), 2 deletions(-) 1441 1442commit a848e47ced6e5e2a564b5c454b2f5a19c2f40298 1443Author: Lasse Collin <lasse.collin@tukaani.org> 1444Date: 2010-09-02 19:22:35 +0300 1445 1446 xz: Make setting a preset override a custom filter chain. 1447 1448 This is more logical behavior than ignoring preset level 1449 options once a custom filter chain has been specified. 1450 1451 src/xz/coder.c | 9 +++++++++ 1452 1 files changed, 9 insertions(+), 0 deletions(-) 1453 1454commit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3 1455Author: Lasse Collin <lasse.collin@tukaani.org> 1456Date: 2010-09-02 19:09:57 +0300 1457 1458 xz: Always warn if adjusting dictionary size due to memlimit. 1459 1460 src/xz/coder.c | 28 +++++++++------------------- 1461 1 files changed, 9 insertions(+), 19 deletions(-) 1462 1463commit d5653ba8a1ea9c00de4fddc617aba3c51e18139d 1464Author: Lasse Collin <lasse.collin@tukaani.org> 1465Date: 2010-08-10 11:04:30 +0300 1466 1467 Fix test_compress.sh. 1468 1469 It broke when --memory option was removed from xzdec. 1470 1471 Thanks to Jonathan Nieder. 1472 1473 tests/test_compress.sh | 6 +++--- 1474 1 files changed, 3 insertions(+), 3 deletions(-) 1475 1476commit 792331bdee706aa852a78b171040ebf814c6f3ae 1477Author: Lasse Collin <lasse.collin@tukaani.org> 1478Date: 2010-08-07 20:45:18 +0300 1479 1480 Disable the memory usage limiter by default. 1481 1482 For several people, the limiter causes bigger problems that 1483 it solves, so it is better to have it disabled by default. 1484 Those who want to have a limiter by default need to enable 1485 it via the environment variable XZ_DEFAULTS. 1486 1487 Support for environment variable XZ_DEFAULTS was added. It is 1488 parsed before XZ_OPT and technically identical with it. The 1489 intended uses differ quite a bit though; see the man page. 1490 1491 The memory usage limit can now be set separately for 1492 compression and decompression using --memlimit-compress and 1493 --memlimit-decompress. To set both at once, -M or --memlimit 1494 can be used. --memory was retained as a legacy alias for 1495 --memlimit for backwards compatibility. 1496 1497 The semantics of --info-memory were changed in backwards 1498 incompatible way. Compatibility wasn't meaningful due to 1499 changes in the memory usage limiter functionality. 1500 1501 The memory usage limiter info is no longer shown at the 1502 bottom of xz --long -help. 1503 1504 The memory usage limiter support for removed completely from xzdec. 1505 1506 xz's man page was updated to match the above changes. Various 1507 unrelated fixes were also made to the man page. 1508 1509 src/xz/args.c | 87 +++++++++----- 1510 src/xz/coder.c | 8 +- 1511 src/xz/hardware.c | 96 ++++++++++----- 1512 src/xz/hardware.h | 23 ++-- 1513 src/xz/list.c | 2 +- 1514 src/xz/message.c | 39 ++----- 1515 src/xz/message.h | 4 - 1516 src/xz/xz.1 | 341 +++++++++++++++++++++++++++++++++-------------------- 1517 src/xzdec/xzdec.1 | 45 +------- 1518 src/xzdec/xzdec.c | 176 +--------------------------- 1519 10 files changed, 373 insertions(+), 448 deletions(-) 1520 1521commit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801 1522Author: Lasse Collin <lasse.collin@tukaani.org> 1523Date: 2010-08-06 20:22:16 +0300 1524 1525 Add missing const to a global constant in xz. 1526 1527 src/xz/args.c | 2 +- 1528 src/xz/args.h | 2 +- 1529 2 files changed, 2 insertions(+), 2 deletions(-) 1530 1531commit 01aa4869cb220b7fdad6d1acbabb2233045daa8f 1532Author: Lasse Collin <lasse.collin@tukaani.org> 1533Date: 2010-07-28 11:44:55 +0300 1534 1535 Language fixes for man pages. 1536 1537 Thanks to A. Costa and Jonathan Nieder. 1538 1539 src/lzmainfo/lzmainfo.1 | 4 ++-- 1540 src/xz/xz.1 | 6 +++--- 1541 2 files changed, 5 insertions(+), 5 deletions(-) 1542 1543commit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b 1544Author: Lasse Collin <lasse.collin@tukaani.org> 1545Date: 2010-07-27 20:47:12 +0300 1546 1547 Windows: Add a note about building a Git repository snapshot 1548 1549 windows/INSTALL-Windows.txt | 9 +++++++++ 1550 1 files changed, 9 insertions(+), 0 deletions(-) 1551 1552commit 507a4a4dea1e5462f12f7ed4b076c34e02054a38 1553Author: Lasse Collin <lasse.collin@tukaani.org> 1554Date: 2010-07-27 20:45:03 +0300 1555 1556 Windows: build.sh is a bash script so name it correctly. 1557 1558 INSTALL | 2 +- 1559 windows/INSTALL-Windows.txt | 6 +- 1560 windows/build.bash | 189 +++++++++++++++++++++++++++++++++++++++++++ 1561 windows/build.sh | 189 ------------------------------------------- 1562 4 files changed, 193 insertions(+), 193 deletions(-) 1563 1564commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339 1565Author: Lasse Collin <lasse.collin@tukaani.org> 1566Date: 2010-07-27 20:27:32 +0300 1567 1568 Windows: Don't strip liblzma.a too much. 1569 1570 windows/build.sh | 3 ++- 1571 1 files changed, 2 insertions(+), 1 deletions(-) 1572 1573commit a540198ffb25fad36380c5e92ac20c2d28eec46a 1574Author: Lasse Collin <lasse.collin@tukaani.org> 1575Date: 2010-07-13 20:07:26 +0300 1576 1577 Updated THANKS. 1578 1579 THANKS | 1 + 1580 1 files changed, 1 insertions(+), 0 deletions(-) 1581 1582commit bab0f01ed931f606b4675aa9f9331a17cec09bad 1583Author: Lasse Collin <lasse.collin@tukaani.org> 1584Date: 2010-07-13 19:55:50 +0300 1585 1586 Add two simple example programs. 1587 1588 Hopefully these help a bit when learning the basics 1589 of liblzma API. I plan to write detailed examples about 1590 both basic and advanced features with lots of comments, 1591 but these two examples are good have right now. 1592 1593 The examples were written by Daniel Mealha Cabrita. Thanks. 1594 1595 doc/examples/xz_pipe_comp.c | 127 +++++++++++++++++++++++++++++++++++++++++ 1596 doc/examples/xz_pipe_decomp.c | 115 +++++++++++++++++++++++++++++++++++++ 1597 2 files changed, 242 insertions(+), 0 deletions(-) 1598 1599commit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00 1600Author: Lasse Collin <lasse.collin@tukaani.org> 1601Date: 2010-06-15 14:06:29 +0300 1602 1603 Add --no-adjust. 1604 1605 src/xz/args.c | 6 ++++++ 1606 src/xz/coder.c | 8 ++------ 1607 src/xz/coder.h | 4 ++++ 1608 src/xz/message.c | 6 +++++- 1609 src/xz/xz.1 | 13 +++++++++++-- 1610 5 files changed, 28 insertions(+), 9 deletions(-) 1611 1612commit 2130926dd1c839280358172dfadd8d3054bde2b4 1613Author: Lasse Collin <lasse.collin@tukaani.org> 1614Date: 2010-06-11 21:51:32 +0300 1615 1616 Updated THANKS. 1617 1618 THANKS | 1 + 1619 1 files changed, 1 insertions(+), 0 deletions(-) 1620 1621commit bc612d0e0c9e4504c59d49168e87a7ae3e458443 1622Author: Lasse Collin <lasse.collin@tukaani.org> 1623Date: 2010-06-11 21:48:32 +0300 1624 1625 Clarify the description of the default memlimit in the man page. 1626 1627 Thanks to Denis Excoffier. 1628 1629 src/xz/xz.1 | 4 ++-- 1630 1 files changed, 2 insertions(+), 2 deletions(-) 1631 1632commit e1b6935d60a00405e6b5b455a3426d2248cc926c 1633Author: Lasse Collin <lasse.collin@tukaani.org> 1634Date: 2010-06-11 21:43:28 +0300 1635 1636 Fix string to uint64_t conversion. 1637 1638 Thanks to Denis Excoffier for the bug report. 1639 1640 src/xz/util.c | 10 ++++++++-- 1641 src/xzdec/xzdec.c | 13 +++++++++++-- 1642 2 files changed, 19 insertions(+), 4 deletions(-) 1643 1644commit 3e49c8acb0f5312948eddb2342dbb5802d4571d0 1645Author: Lasse Collin <lasse.collin@tukaani.org> 1646Date: 2010-06-11 10:40:28 +0300 1647 1648 Put the git commit to the filename in mydist rule. 1649 1650 Makefile.am | 6 +++++- 1651 1 files changed, 5 insertions(+), 1 deletions(-) 1652 1653commit d8b41eedce486d400f701b757b7b5e4e32276618 1654Author: Lasse Collin <lasse.collin@tukaani.org> 1655Date: 2010-06-02 23:13:55 +0300 1656 1657 Fix compiling with -Werror. 1658 1659 src/xz/message.c | 4 ++-- 1660 1 files changed, 2 insertions(+), 2 deletions(-) 1661 1662commit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8 1663Author: Lasse Collin <lasse.collin@tukaani.org> 1664Date: 2010-06-02 23:09:22 +0300 1665 1666 Silence a bogus Valgrind warning. 1667 1668 When using -O2 with GCC, it liked to swap two comparisons 1669 in one "if" statement. It's otherwise fine except that 1670 the latter part, which is seemingly never executed, got 1671 executed (nothing wrong with that) and then triggered 1672 warning in Valgrind about conditional jump depending on 1673 uninitialized variable. A few people find this annoying 1674 so do things a bit differently to avoid the warning. 1675 1676 src/liblzma/lz/lz_encoder.c | 6 +++++- 1677 1 files changed, 5 insertions(+), 1 deletions(-) 1678 1679commit 29a7b250e685852f2f97615493ec49acaf528623 1680Author: Lasse Collin <lasse.collin@tukaani.org> 1681Date: 2010-06-02 21:32:12 +0300 1682 1683 Fix a Windows-specific FIXME in signal handling code. 1684 1685 src/xz/main.c | 40 +++++++++++++++++++++++++++++++++++----- 1686 src/xz/private.h | 5 +++++ 1687 src/xz/signals.c | 16 ++++++++-------- 1688 3 files changed, 48 insertions(+), 13 deletions(-) 1689 1690commit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d 1691Author: Lasse Collin <lasse.collin@tukaani.org> 1692Date: 2010-06-02 17:46:58 +0300 1693 1694 Adjust SA_RESTART workaround. 1695 1696 I want to get a bug report if something else than 1697 DJGPP lacks SA_RESTART. 1698 1699 src/xz/message.c | 14 +++++++------- 1700 1 files changed, 7 insertions(+), 7 deletions(-) 1701 1702commit e243145c84ab5c3be8259fd486ead0de5235b3f0 1703Author: Lasse Collin <lasse.collin@tukaani.org> 1704Date: 2010-06-01 16:02:30 +0300 1705 1706 xz man page updates. 1707 1708 - Concatenating .xz files and padding 1709 - List mode 1710 - Robot mode 1711 - A few examples (but many more are needed) 1712 1713 src/xz/xz.1 | 385 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1714 1 files changed, 366 insertions(+), 19 deletions(-) 1715 1716commit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562 1717Author: Lasse Collin <lasse.collin@tukaani.org> 1718Date: 2010-06-01 15:51:44 +0300 1719 1720 Major update to xz --list. 1721 1722 src/xz/list.c | 652 +++++++++++++++++++++++++++++++++++++++++---------------- 1723 1 files changed, 471 insertions(+), 181 deletions(-) 1724 1725commit 905e54804a899e4ad526d38fdba7e803ab9b71bd 1726Author: Lasse Collin <lasse.collin@tukaani.org> 1727Date: 2010-06-01 14:13:03 +0300 1728 1729 Rename message_filters_get() to message_filters_to_str(). 1730 1731 src/xz/message.c | 4 ++-- 1732 src/xz/message.h | 2 +- 1733 2 files changed, 3 insertions(+), 3 deletions(-) 1734 1735commit 4b346ae8af20045027ae5efb068c6d69da3324d2 1736Author: Lasse Collin <lasse.collin@tukaani.org> 1737Date: 2010-06-01 14:09:12 +0300 1738 1739 Fix a comment. 1740 1741 src/liblzma/api/lzma/index.h | 2 +- 1742 1 files changed, 1 insertions(+), 1 deletions(-) 1743 1744commit 07dc34f6da45c9ab757dad7fd5eef522ad27d296 1745Author: Lasse Collin <lasse.collin@tukaani.org> 1746Date: 2010-05-27 16:17:42 +0300 1747 1748 Fix lzma_block_compressed_size(). 1749 1750 src/liblzma/common/block_util.c | 6 +++--- 1751 1 files changed, 3 insertions(+), 3 deletions(-) 1752 1753commit 44d70cb154225e47eebf15a3cfbdf3794cbb4593 1754Author: Lasse Collin <lasse.collin@tukaani.org> 1755Date: 2010-05-27 14:32:51 +0300 1756 1757 Take Cygwin into account in some #if lines. 1758 1759 This change is no-op, but good to have just in case 1760 for the future. 1761 1762 src/xz/signals.c | 2 +- 1763 src/xz/signals.h | 4 ++-- 1764 2 files changed, 3 insertions(+), 3 deletions(-) 1765 1766commit a334348dc02803241cf4e0a539eecdc0e7ad2cc7 1767Author: Lasse Collin <lasse.collin@tukaani.org> 1768Date: 2010-05-27 13:42:44 +0300 1769 1770 Remove references to the Subblock filter in xz and tests. 1771 1772 Thanks to Jonathan Nieder. 1773 1774 src/xz/message.c | 9 --------- 1775 tests/test_filter_flags.c | 23 ----------------------- 1776 2 files changed, 0 insertions(+), 32 deletions(-) 1777 1778commit 70e5e2f6a7084e6af909deee88ceac2f6efa7893 1779Author: Lasse Collin <lasse.collin@tukaani.org> 1780Date: 2010-05-27 13:35:36 +0300 1781 1782 Remove unused chunk_size.c. 1783 1784 Thanks to Jonathan Nieder for the reminder. 1785 1786 src/liblzma/common/chunk_size.c | 67 --------------------------------------- 1787 1 files changed, 0 insertions(+), 67 deletions(-) 1788 1789commit 01a414eaf4be6352c06b48001b041b47e8202faa 1790Author: Jonathan Nieder <jrnieder@gmail.com> 1791Date: 2010-05-27 02:31:33 -0500 1792 1793 Use my_min() instead of MIN() in src/xz/list.c 1794 1795 This should have been done in 1796 920a69a8d8e4203c5edddd829d932130eac188ea. 1797 1798 src/xz/list.c | 2 +- 1799 1 files changed, 1 insertions(+), 1 deletions(-) 1800 1801commit 920a69a8d8e4203c5edddd829d932130eac188ea 1802Author: Lasse Collin <lasse.collin@tukaani.org> 1803Date: 2010-05-26 10:36:46 +0300 1804 1805 Rename MIN() and MAX() to my_min() and my_max(). 1806 1807 This should avoid some minor portability issues. 1808 1809 debug/full_flush.c | 2 +- 1810 debug/sync_flush.c | 2 +- 1811 src/common/sysdefs.h | 12 +++++------- 1812 src/liblzma/common/block_buffer_encoder.c | 2 +- 1813 src/liblzma/common/common.c | 2 +- 1814 src/liblzma/common/stream_buffer_encoder.c | 2 +- 1815 src/liblzma/delta/delta_encoder.c | 2 +- 1816 src/liblzma/lz/lz_decoder.c | 7 ++++--- 1817 src/liblzma/lz/lz_decoder.h | 2 +- 1818 src/liblzma/lz/lz_encoder.c | 2 +- 1819 src/liblzma/lz/lz_encoder.h | 2 +- 1820 src/liblzma/lz/lz_encoder_mf.c | 4 ++-- 1821 src/liblzma/lzma/lzma2_encoder.c | 2 +- 1822 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 1823 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 14 +++++++------- 1824 src/xz/args.c | 3 ++- 1825 16 files changed, 31 insertions(+), 31 deletions(-) 1826 1827commit 019ae27c24d0c694545a6a46f8b9fb552198b015 1828Author: Lasse Collin <lasse.collin@tukaani.org> 1829Date: 2010-05-26 10:30:20 +0300 1830 1831 Fix compilation of debug/known_sizes.c. 1832 1833 debug/known_sizes.c | 2 +- 1834 1 files changed, 1 insertions(+), 1 deletions(-) 1835 1836commit 98a4856a6ea84f79c790057a6eb89a25bc45b074 1837Author: Lasse Collin <lasse.collin@tukaani.org> 1838Date: 2010-05-26 10:28:54 +0300 1839 1840 Remove references to Subblock filter in debug/sync_flush.c. 1841 1842 debug/sync_flush.c | 13 ------------- 1843 1 files changed, 0 insertions(+), 13 deletions(-) 1844 1845commit 703d2c33c095c41ae0693ee8c27c45e3847e4535 1846Author: Lasse Collin <lasse.collin@tukaani.org> 1847Date: 2010-05-26 10:16:57 +0300 1848 1849 Better #error message. 1850 1851 src/common/sysdefs.h | 4 ++-- 1852 1 files changed, 2 insertions(+), 2 deletions(-) 1853 1854commit d8a55c48b39703dd83f11089ad01e1ff2ac102e0 1855Author: Lasse Collin <lasse.collin@tukaani.org> 1856Date: 2010-05-26 09:55:47 +0300 1857 1858 Remove the Subblock filter code for now. 1859 1860 The spec isn't finished and the code didn't compile anymore. 1861 It won't be included in XZ Utils 5.0.0. It's easy to get it 1862 back once the spec is done. 1863 1864 configure.ac | 6 +- 1865 src/liblzma/Makefile.am | 5 - 1866 src/liblzma/api/Makefile.am | 1 - 1867 src/liblzma/api/lzma.h | 1 - 1868 src/liblzma/api/lzma/subblock.h | 200 ----- 1869 src/liblzma/common/common.h | 6 - 1870 src/liblzma/common/filter_common.c | 9 - 1871 src/liblzma/common/filter_decoder.c | 16 - 1872 src/liblzma/common/filter_encoder.c | 12 - 1873 src/liblzma/subblock/Makefile.inc | 20 - 1874 src/liblzma/subblock/subblock_decoder.c | 630 --------------- 1875 src/liblzma/subblock/subblock_decoder.h | 22 - 1876 src/liblzma/subblock/subblock_decoder_helper.c | 70 -- 1877 src/liblzma/subblock/subblock_decoder_helper.h | 29 - 1878 src/liblzma/subblock/subblock_encoder.c | 984 ------------------------ 1879 src/liblzma/subblock/subblock_encoder.h | 21 - 1880 src/xz/args.c | 9 +- 1881 src/xz/options.c | 61 -- 1882 src/xz/options.h | 7 - 1883 19 files changed, 4 insertions(+), 2105 deletions(-) 1884 1885commit b6377fc990f9b8651149cae0fecb8b9c5904e26d 1886Author: Lasse Collin <lasse.collin@tukaani.org> 1887Date: 2010-05-16 18:42:22 +0300 1888 1889 Split message_filters(). 1890 1891 message_filters_to_str() converts the filter chain to 1892 a string. message_filters_show() replaces the original 1893 message_filters(). 1894 1895 uint32_to_optstr() was also added to show the dictionary 1896 size in nicer format when possible. 1897 1898 src/xz/coder.c | 2 +- 1899 src/xz/message.c | 187 ++++++++++++++++++++++++++++++++++------------------- 1900 src/xz/message.h | 14 ++++- 1901 3 files changed, 134 insertions(+), 69 deletions(-) 1902 1903commit d9986db782d6cf0f314342127280519339378fa0 1904Author: Lasse Collin <lasse.collin@tukaani.org> 1905Date: 2010-05-14 23:17:20 +0300 1906 1907 Omit lzma_restrict from the API headers. 1908 1909 It isn't really useful so omitting it makes things 1910 shorter and slightly more readable. 1911 1912 src/liblzma/api/lzma.h | 12 ------------ 1913 src/liblzma/api/lzma/index.h | 5 ++--- 1914 src/liblzma/api/lzma/vli.h | 11 +++++------ 1915 3 files changed, 7 insertions(+), 21 deletions(-) 1916 1917commit 0d3489efca0a723dca0394809fa3e6170843af4b 1918Author: Lasse Collin <lasse.collin@tukaani.org> 1919Date: 2010-05-10 19:57:24 +0300 1920 1921 Updated INSTALL. 1922 1923 INSTALL | 5 ----- 1924 1 files changed, 0 insertions(+), 5 deletions(-) 1925 1926commit 3fb3d594a2b53886adee161b6261e92277f05f7c 1927Author: Lasse Collin <lasse.collin@tukaani.org> 1928Date: 2010-05-10 19:54:52 +0300 1929 1930 Updated THANKS. 1931 1932 THANKS | 1 + 1933 1 files changed, 1 insertions(+), 0 deletions(-) 1934 1935commit 6548e304657e77d3a972053db3c41c5daf591113 1936Author: Lasse Collin <lasse.collin@tukaani.org> 1937Date: 2010-05-10 19:54:15 +0300 1938 1939 Updates to tuklib_physmem and tuklib_cpucores. 1940 1941 Don't use #error to generate compile error, because some 1942 compilers actually don't take it as an error. This fixes 1943 tuklib_physmem on IRIX. 1944 1945 Fix incorrect error check for sysconf() return values. 1946 1947 Add AIX, HP-UX, and Tru64 specific code to detect the 1948 amount RAM. 1949 1950 Add HP-UX specific code to detect the number of CPU cores. 1951 1952 Thanks a lot to Peter O'Gorman for initial patches, 1953 testing, and debugging these fixes. 1954 1955 m4/tuklib_cpucores.m4 | 33 ++++++++++++++++--- 1956 m4/tuklib_physmem.m4 | 72 ++++++++++++++++++++++++++++++++++++++++- 1957 src/common/tuklib_cpucores.c | 14 +++++++- 1958 src/common/tuklib_physmem.c | 33 ++++++++++++++++++- 1959 4 files changed, 141 insertions(+), 11 deletions(-) 1960 1961commit a290cfee3e23f046889c022aa96b4eca2016fdda 1962Author: Lasse Collin <lasse.collin@tukaani.org> 1963Date: 2010-04-12 21:55:56 +0300 1964 1965 Show both elapsed time and estimated remaining time in xz -v. 1966 1967 The extra space for showing both has been taken from the 1968 sizes field. If the sizes grow big, bigger units than MiB 1969 will be used. It makes it slightly difficult to see that 1970 progress is still happening with huge files, but it should 1971 be OK in practice. 1972 1973 Thanks to Trent W. Buck for <http://bugs.debian.org/574583> 1974 and Jonathan Nieder for suggestions how to fix it. 1975 1976 THANKS | 1 + 1977 src/xz/message.c | 86 ++++++++++++++++++++++++------------------------------ 1978 2 files changed, 39 insertions(+), 48 deletions(-) 1979 1980commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e 1981Author: Lasse Collin <lasse.collin@tukaani.org> 1982Date: 2010-03-31 16:47:25 +0300 1983 1984 Add a simple tip to faq.txt about tar and xz. 1985 1986 Thanks to Gilles Espinasse. 1987 1988 THANKS | 1 + 1989 doc/faq.txt | 6 ++++++ 1990 2 files changed, 7 insertions(+), 0 deletions(-) 1991 1992commit c737eec91d200d730aa82662affd6b06ebb0bff0 1993Author: Lasse Collin <lasse.collin@tukaani.org> 1994Date: 2010-03-22 21:03:03 +0200 1995 1996 Updated THANKS. 1997 1998 THANKS | 1 + 1999 1 files changed, 1 insertions(+), 0 deletions(-) 2000 2001commit f4b2b52624b802c786e4e2a8eb6895794dd93b24 2002Author: Lasse Collin <lasse.collin@tukaani.org> 2003Date: 2010-03-07 19:52:25 +0200 2004 2005 Fix xzgrep to not break if filenames have spaces or quotes. 2006 2007 Thanks to someone who reported the bug on IRC. 2008 2009 src/scripts/xzgrep.in | 2 +- 2010 1 files changed, 1 insertions(+), 1 deletions(-) 2011 2012commit cf38da00a140bd3bd65b192390ae5553380fd774 2013Author: Lasse Collin <lasse.collin@tukaani.org> 2014Date: 2010-03-07 13:59:32 +0200 2015 2016 Treat all integer multiplier suffixes as base-2. 2017 2018 Originally both base-2 and base-10 were supported, but since 2019 there seems to be little need for base-10 in XZ Utils, treat 2020 everything as base-2 and also be more relaxed about the case 2021 of the first letter of the suffix. Now xz will accept e.g. 2022 KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The 2023 recommended spelling of the suffixes are still KiB, MiB, and GiB. 2024 2025 src/xz/util.c | 53 +++++++++++++++++++++++------------------------------ 2026 src/xz/xz.1 | 48 ++++++++++++++++++++++++++++-------------------- 2027 src/xzdec/xzdec.c | 42 ++++++++++++++++-------------------------- 2028 3 files changed, 67 insertions(+), 76 deletions(-) 2029 2030commit 00fc1211ae7b687ac912098f4479112059deccbd 2031Author: Lasse Collin <lasse.collin@tukaani.org> 2032Date: 2010-03-07 13:50:23 +0200 2033 2034 Consistently round up the memory usage limit in messages. 2035 2036 It still feels a bit wrong to round 1 byte to 1 MiB but 2037 at least it is now done consistently so that the same 2038 byte value is always rounded the same way to MiB. 2039 2040 src/xz/message.c | 5 +++-- 2041 src/xzdec/xzdec.c | 7 +++++-- 2042 2 files changed, 8 insertions(+), 4 deletions(-) 2043 2044commit 9886d436ff5615fc70eef32ff757b1e934069621 2045Author: Lasse Collin <lasse.collin@tukaani.org> 2046Date: 2010-03-07 13:34:34 +0200 2047 2048 Change the default of --enable-assume-ram from 32 to 128 MiB. 2049 2050 This is to allow files created with "xz -9" to be decompressed 2051 if the amount of RAM cannot be determined. 2052 2053 INSTALL | 5 ++--- 2054 configure.ac | 11 ++++++----- 2055 2 files changed, 8 insertions(+), 8 deletions(-) 2056 2057commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418 2058Author: Lasse Collin <lasse.collin@tukaani.org> 2059Date: 2010-03-07 13:29:28 +0200 2060 2061 Increase the default memory usage limit on "low-memory" systems. 2062 2063 Previously the default limit was always 40 % of RAM. The 2064 new limit is a little bit more complex: 2065 2066 - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used 2067 as the limit. 2068 2069 - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit. 2070 2071 - Otherwise 80 % of RAM is used as the limit. 2072 2073 This should make it possible to decompress files created with 2074 "xz -9" on more systems. Swapping is generally more expected 2075 on systems with less RAM, so higher default limit on them 2076 shouldn't cause too bad surprises in terms of heavy swapping. 2077 Instead, the higher default limit should reduce the number of 2078 bad surprises when it used to prevent decompression of files 2079 created with "xz -9". The DoS prevention system shouldn't be 2080 a DoS itself. 2081 2082 Note that even with the new default limit, a system with 64 MiB 2083 RAM cannot decompress files created with "xz -9" without user 2084 overriding the limit. This should be OK, because if xz is going 2085 to need more memory than the system has RAM, it will run very 2086 very slowly and thus it's good that user has to override the limit 2087 in that case. 2088 2089 src/xz/hardware.c | 43 +++++++++++++++++++++++++++++++------------ 2090 src/xz/xz.1 | 21 +++++++++++++++------ 2091 src/xzdec/xzdec.1 | 8 ++++---- 2092 src/xzdec/xzdec.c | 42 ++++++++++++++++++++++++++++++------------ 2093 4 files changed, 80 insertions(+), 34 deletions(-) 2094 2095commit 5527b7269a997e7f335d60f237a64bbf225d9dc7 2096Author: Lasse Collin <lasse.collin@tukaani.org> 2097Date: 2010-03-06 21:36:19 +0200 2098 2099 Updated THANKS. 2100 2101 THANKS | 1 + 2102 1 files changed, 1 insertions(+), 0 deletions(-) 2103 2104commit d0d1c51aea4351288a7e533cce28cb7f852f6b05 2105Author: Lasse Collin <lasse.collin@tukaani.org> 2106Date: 2010-03-06 21:17:20 +0200 2107 2108 Fix missing initialization in lzma_strm_init(). 2109 2110 With bad luck, lzma_code() could return LZMA_BUF_ERROR 2111 when it shouldn't. 2112 2113 This has been here since the early days of liblzma. 2114 It got triggered by the modifications made to the xz 2115 tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f 2116 but only when decompressing .lzma files. Somehow I managed 2117 to miss testing that with Valgrind earlier. 2118 2119 This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>. 2120 Thanks to Rafa�� Mu��y��o for helping to debug it on IRC. 2121 2122 src/liblzma/common/common.c | 1 + 2123 1 files changed, 1 insertions(+), 0 deletions(-) 2124 2125commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea 2126Author: Lasse Collin <lasse.collin@tukaani.org> 2127Date: 2010-02-12 13:16:15 +0200 2128 2129 Collection of language fixes to comments and docs. 2130 2131 Thanks to Jonathan Nieder. 2132 2133 README | 2 +- 2134 configure.ac | 2 +- 2135 doc/faq.txt | 2 +- 2136 extra/7z2lzma/7z2lzma.bash | 2 +- 2137 src/common/tuklib_progname.c | 2 +- 2138 src/common/tuklib_progname.h | 2 +- 2139 src/liblzma/api/lzma/base.h | 8 ++++---- 2140 src/liblzma/api/lzma/bcj.h | 2 +- 2141 src/liblzma/api/lzma/block.h | 2 +- 2142 src/liblzma/api/lzma/check.h | 2 +- 2143 src/liblzma/api/lzma/filter.h | 4 ++-- 2144 src/liblzma/api/lzma/index.h | 6 +++--- 2145 src/liblzma/api/lzma/lzma.h | 2 +- 2146 src/liblzma/api/lzma/version.h | 2 +- 2147 src/liblzma/api/lzma/vli.h | 2 +- 2148 src/liblzma/common/block_header_encoder.c | 2 +- 2149 src/liblzma/common/chunk_size.c | 4 ++-- 2150 src/liblzma/common/common.h | 4 ++-- 2151 src/liblzma/common/filter_buffer_decoder.c | 2 +- 2152 src/liblzma/common/filter_encoder.c | 4 ++-- 2153 src/liblzma/common/index.c | 6 +++--- 2154 src/liblzma/common/index_encoder.c | 2 +- 2155 src/liblzma/common/stream_encoder.c | 2 +- 2156 src/liblzma/common/vli_decoder.c | 2 +- 2157 src/liblzma/lz/lz_encoder.c | 2 +- 2158 src/liblzma/lz/lz_encoder.h | 2 +- 2159 src/liblzma/lzma/lzma2_encoder.c | 2 +- 2160 src/liblzma/lzma/lzma_decoder.c | 4 ++-- 2161 src/liblzma/lzma/lzma_decoder.h | 2 +- 2162 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 2 +- 2163 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 2164 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 2165 src/liblzma/simple/simple_coder.c | 2 +- 2166 src/liblzma/subblock/subblock_encoder.c | 2 +- 2167 src/scripts/xzdiff.1 | 2 +- 2168 src/scripts/xzless.1 | 10 +++++----- 2169 src/xz/coder.c | 2 +- 2170 src/xz/file_io.c | 2 +- 2171 src/xz/main.c | 6 +++--- 2172 src/xz/main.h | 2 +- 2173 src/xz/message.c | 10 +++++----- 2174 src/xz/message.h | 2 +- 2175 src/xz/xz.1 | 16 ++++++++-------- 2176 src/xzdec/lzmadec_w32res.rc | 2 +- 2177 src/xzdec/xzdec_w32res.rc | 2 +- 2178 tests/test_index.c | 2 +- 2179 windows/build.sh | 4 ++-- 2180 47 files changed, 77 insertions(+), 77 deletions(-) 2181 2182commit 4785f2021aa6a23f1caf724fcc823e562584f225 2183Author: Lasse Collin <lasse.collin@tukaani.org> 2184Date: 2010-02-12 12:41:20 +0200 2185 2186 Fix jl -> jb in ASM files. 2187 2188 src/liblzma/check/crc32_x86.S | 2 +- 2189 src/liblzma/check/crc64_x86.S | 4 ++-- 2190 2 files changed, 3 insertions(+), 3 deletions(-) 2191 2192commit 6b50c9429bf85521d355adc61745d06ee017f8c8 2193Author: Lasse Collin <lasse.collin@tukaani.org> 2194Date: 2010-02-12 12:31:22 +0200 2195 2196 Use __APPLE__ instead of __MACH__ in ASM files. 2197 2198 This allows the files to work on HURD. 2199 2200 Thanks to Jonathan Nieder. 2201 2202 src/liblzma/check/crc32_x86.S | 8 ++++---- 2203 src/liblzma/check/crc64_x86.S | 8 ++++---- 2204 2 files changed, 8 insertions(+), 8 deletions(-) 2205 2206commit 6503fde658a5cdbdd907a788865470dd64771601 2207Author: Lasse Collin <lasse.collin@tukaani.org> 2208Date: 2010-02-07 19:48:06 +0200 2209 2210 Subtle change to liblzma Block handling API. 2211 2212 lzma_block.version has to be initialized even for 2213 lzma_block_header_decode(). This way a future version 2214 of liblzma won't allocate memory in a way that an old 2215 application doesn't know how to free it. 2216 2217 The subtlety of this change is that all current apps 2218 using lzma_block_header_decode() will keep working for 2219 now, because the only possible version value is zero, 2220 and lzma_block_header_decode() unconditionally sets the 2221 version to zero even now. Unless fixed, these apps will 2222 break in the future if a new version of the Block options 2223 is ever needed. 2224 2225 src/liblzma/api/lzma/block.h | 39 +++++++++++++++------------------- 2226 src/liblzma/common/stream_decoder.c | 3 ++ 2227 2 files changed, 20 insertions(+), 22 deletions(-) 2228 2229commit dd7c3841ff78cb94ce02b0220c6e4748460970f7 2230Author: Lasse Collin <lasse.collin@tukaani.org> 2231Date: 2010-02-02 11:50:11 +0200 2232 2233 Fix wrong assertion. 2234 2235 This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735. 2236 2237 src/xz/main.c | 5 +++-- 2238 1 files changed, 3 insertions(+), 2 deletions(-) 2239 2240commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be 2241Author: Lasse Collin <lasse.collin@tukaani.org> 2242Date: 2010-02-01 22:48:42 +0200 2243 2244 Updated TODO. 2245 2246 TODO | 4 ---- 2247 1 files changed, 0 insertions(+), 4 deletions(-) 2248 2249commit fef6333f52c8801308c3b78acb7942988541d137 2250Author: Lasse Collin <lasse.collin@tukaani.org> 2251Date: 2010-02-01 22:47:54 +0200 2252 2253 Fix typos in comments. 2254 2255 src/xz/list.c | 2 +- 2256 windows/build.sh | 2 +- 2257 2 files changed, 2 insertions(+), 2 deletions(-) 2258 2259commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735 2260Author: Lasse Collin <lasse.collin@tukaani.org> 2261Date: 2010-02-01 22:46:56 +0200 2262 2263 Fix signal handling for --list. 2264 2265 src/xz/main.c | 19 ++++++++++++++----- 2266 1 files changed, 14 insertions(+), 5 deletions(-) 2267 2268commit 82220a149015616f75641ee8bbea415137535b9b 2269Author: Lasse Collin <lasse.collin@tukaani.org> 2270Date: 2010-02-01 11:44:45 +0200 2271 2272 Fix compression of symlinks with --force. 2273 2274 xz --force accepted symlinks, but didn't remove 2275 them after successful compression. Instead, an error 2276 message was displayed. 2277 2278 src/xz/file_io.c | 14 +++++++++++++- 2279 1 files changed, 13 insertions(+), 1 deletions(-) 2280 2281commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e 2282Author: Lasse Collin <lasse.collin@tukaani.org> 2283Date: 2010-02-01 10:20:57 +0200 2284 2285 Fix a comment. 2286 2287 windows/build.sh | 5 ++--- 2288 1 files changed, 2 insertions(+), 3 deletions(-) 2289 2290commit f9dd797a423a148903cf345b4146cb1fe1eab11d 2291Author: Lasse Collin <lasse.collin@tukaani.org> 2292Date: 2010-01-31 23:43:54 +0200 2293 2294 Updated THANKS. 2295 2296 THANKS | 1 + 2297 1 files changed, 1 insertions(+), 0 deletions(-) 2298 2299commit ee5ddb8b28419fe4923ded5c18a50570a762dcab 2300Author: Lasse Collin <lasse.collin@tukaani.org> 2301Date: 2010-01-31 23:41:29 +0200 2302 2303 Updated TODO. 2304 2305 TODO | 17 +++++++++++------ 2306 1 files changed, 11 insertions(+), 6 deletions(-) 2307 2308commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6 2309Author: Lasse Collin <lasse.collin@tukaani.org> 2310Date: 2010-01-31 23:35:04 +0200 2311 2312 Mention TODO in README. 2313 2314 README | 1 + 2315 1 files changed, 1 insertions(+), 0 deletions(-) 2316 2317commit 2901a8e7e82af05675b8cd8758a8ceddb111359f 2318Author: Lasse Collin <lasse.collin@tukaani.org> 2319Date: 2010-01-31 23:31:14 +0200 2320 2321 Updated INSTALL. 2322 2323 INSTALL | 52 ++++++++++++++++++++++++++-------------------------- 2324 1 files changed, 26 insertions(+), 26 deletions(-) 2325 2326commit 8884e16864ba53fb4b58623d7537d7ef30c28e11 2327Author: Lasse Collin <lasse.collin@tukaani.org> 2328Date: 2010-01-31 23:28:51 +0200 2329 2330 Revise the Windows build files. 2331 2332 The old Makefile + config.h was deleted, because it 2333 becomes outdated too easily and building with the 2334 Autotools based build system works fine even on Windows. 2335 2336 windows/build.sh hasn't got much testing, but it should 2337 work to build 32-bit x86 and x86-64 versions of XZ Utils 2338 using MSYS, MinGW or MinGW-w32, and MinGW-w64. 2339 2340 windows/INSTALL-Windows.txt describes what packages are 2341 needed and how to install them. 2342 2343 windows/README-Windows.txt is a readme file for the binary 2344 package that build.sh hopefully builds. 2345 2346 There are no instructions about using Autotools for now, 2347 so those using a git snapshot may want to run 2348 "autoreconf -fi && ./configure && make mydist" on a UN*X 2349 box and then copy the resulting .tar.gz to a Windows. 2350 2351 windows/INSTALL-Windows.txt | 131 ++++++++++++++++++ 2352 windows/Makefile | 320 ------------------------------------------- 2353 windows/README | 155 --------------------- 2354 windows/README-Windows.txt | 115 ++++++++++++++++ 2355 windows/build.sh | 189 +++++++++++++++++++++++++ 2356 windows/config.h | 170 ----------------------- 2357 6 files changed, 435 insertions(+), 645 deletions(-) 2358 2359commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c 2360Author: Lasse Collin <lasse.collin@tukaani.org> 2361Date: 2010-01-31 19:52:38 +0200 2362 2363 Select the default integrity check type at runtime. 2364 2365 Previously it was set statically to CRC64 or CRC32 2366 depending on options passed to the configure script. 2367 2368 src/xz/coder.c | 19 ++++++++++++++----- 2369 1 files changed, 14 insertions(+), 5 deletions(-) 2370 2371commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1 2372Author: Lasse Collin <lasse.collin@tukaani.org> 2373Date: 2010-01-31 18:17:50 +0200 2374 2375 Improve displaying of the memory usage limit. 2376 2377 src/xz/coder.c | 8 +++----- 2378 src/xz/message.c | 37 +++++++++++++++++++++++++++++-------- 2379 src/xz/util.c | 7 +++++++ 2380 src/xz/util.h | 6 ++++++ 2381 4 files changed, 45 insertions(+), 13 deletions(-) 2382 2383commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2 2384Author: Lasse Collin <lasse.collin@tukaani.org> 2385Date: 2010-01-31 12:53:56 +0200 2386 2387 Don't use uninitialized sigset_t. 2388 2389 If signal handlers haven't been established, then it's 2390 useless to try to block them, especially since the sigset_t 2391 used for blocking hasn't been initialized yet. 2392 2393 src/xz/signals.c | 34 ++++++++++++++++++++++++---------- 2394 1 files changed, 24 insertions(+), 10 deletions(-) 2395 2396commit 231c3c7098f1099a56abb8afece76fc9b8699f05 2397Author: Lasse Collin <lasse.collin@tukaani.org> 2398Date: 2010-01-31 12:01:54 +0200 2399 2400 Delay opening the destionation file and other fixes. 2401 2402 The opening of the destination file is now delayed a little. 2403 The coder is initialized, and if decompressing, the memory 2404 usage of the first Block compared against the memory 2405 usage limit before the destination file is opened. This 2406 means that if --force was used, the old "target" file won't 2407 be deleted so easily when something goes wrong very early. 2408 Thanks to Mark K for the bug report. 2409 2410 The above fix required some changes to progress message 2411 handling. Now there is a separate function for setting and 2412 printing the filename. It is used also in list.c. 2413 2414 list_file() now handles stdin correctly (gives an error). 2415 2416 A useless check for user_abort was removed from file_io.c. 2417 2418 src/xz/coder.c | 64 ++++++++++++++++++++++---------- 2419 src/xz/file_io.c | 107 ++++++++++++++++++++++++++---------------------------- 2420 src/xz/file_io.h | 8 +++- 2421 src/xz/list.c | 28 +++++---------- 2422 src/xz/message.c | 46 +++++++++++++---------- 2423 src/xz/message.h | 29 ++++++++++----- 2424 6 files changed, 157 insertions(+), 125 deletions(-) 2425 2426commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105 2427Author: Lasse Collin <lasse.collin@tukaani.org> 2428Date: 2010-01-29 22:48:04 +0200 2429 2430 Add list.h to src/xz/Makefile.am. 2431 2432 This should have been already in 2433 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1. 2434 2435 src/xz/Makefile.am | 1 + 2436 1 files changed, 1 insertions(+), 0 deletions(-) 2437 2438commit b4b1a56e0cbd597157858264f5c7189201ac9018 2439Author: Lasse Collin <lasse.collin@tukaani.org> 2440Date: 2010-01-29 13:24:27 +0200 2441 2442 Add lzmainfo.1 to manfiles list to convert to .txt and .pdf. 2443 2444 Makefile.am | 1 + 2445 1 files changed, 1 insertions(+), 0 deletions(-) 2446 2447commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 2448Author: Lasse Collin <lasse.collin@tukaani.org> 2449Date: 2010-01-27 16:42:11 +0200 2450 2451 Silence two compiler warnings on DOS-like systems. 2452 2453 src/common/tuklib_open_stdxxx.c | 6 +++++- 2454 src/xz/file_io.c | 3 +++ 2455 2 files changed, 8 insertions(+), 1 deletions(-) 2456 2457commit b063cc34a30a4edf109343ff373b2b62b8ca72d3 2458Author: Lasse Collin <lasse.collin@tukaani.org> 2459Date: 2010-01-27 13:31:03 +0200 2460 2461 Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 2462 2463 configure.ac | 9 ++------- 2464 src/liblzma/liblzma.pc.in | 2 +- 2465 src/lzmainfo/lzmainfo.c | 2 +- 2466 src/xz/message.c | 2 +- 2467 src/xzdec/xzdec.c | 2 +- 2468 5 files changed, 6 insertions(+), 11 deletions(-) 2469 2470commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f 2471Author: Lasse Collin <lasse.collin@tukaani.org> 2472Date: 2010-01-26 23:37:46 +0200 2473 2474 Add a missing space to an error message. 2475 2476 Thanks to Robert Readman. 2477 2478 src/xz/args.c | 2 +- 2479 1 files changed, 1 insertions(+), 1 deletions(-) 2480 2481commit e5496f9628ff5979392a80421d0b63a4de8015b4 2482Author: Lasse Collin <lasse.collin@tukaani.org> 2483Date: 2010-01-26 22:53:37 +0200 2484 2485 Use past tense in error message in io_unlink(). 2486 2487 Added a note to translators too. 2488 2489 Thanks to Robert Readman. 2490 2491 THANKS | 1 + 2492 src/xz/file_io.c | 14 ++++++++++++-- 2493 2 files changed, 13 insertions(+), 2 deletions(-) 2494 2495commit d9a9800597ea540090e434132c3b511217df0a2b 2496Author: Lasse Collin <lasse.collin@tukaani.org> 2497Date: 2010-01-26 15:42:24 +0200 2498 2499 Fix too small static buffer in util.c. 2500 2501 This was introduced in 2502 0dd6d007669b946543ca939a44243833c79e08f4 two days ago. 2503 2504 src/xz/util.c | 9 ++++----- 2505 1 files changed, 4 insertions(+), 5 deletions(-) 2506 2507commit d0b4bbf5da068503c099cd456e294d7673548cc0 2508Author: Lasse Collin <lasse.collin@tukaani.org> 2509Date: 2010-01-26 14:46:43 +0200 2510 2511 Minor comment fix. 2512 2513 src/xz/main.c | 4 ++-- 2514 1 files changed, 2 insertions(+), 2 deletions(-) 2515 2516commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 2517Author: Lasse Collin <lasse.collin@tukaani.org> 2518Date: 2010-01-24 23:50:54 +0200 2519 2520 Add initial version of xz --list. 2521 2522 This is a bit rough but should be useful for basic things. 2523 Ideas (with detailed examples) about the output format are 2524 welcome. 2525 2526 The output of --robot --list is not necessarily stable yet, 2527 although I don't currently have any plans about changing it. 2528 2529 The man page hasn't been updated yet. 2530 2531 src/xz/Makefile.am | 1 + 2532 src/xz/list.c | 988 +++++++++++++++++++++++++++++++++------------------- 2533 src/xz/list.h | 18 + 2534 src/xz/main.c | 19 +- 2535 src/xz/private.h | 1 + 2536 5 files changed, 668 insertions(+), 359 deletions(-) 2537 2538commit df254ce03be016e217b511e7acd5d493f9929ca5 2539Author: Lasse Collin <lasse.collin@tukaani.org> 2540Date: 2010-01-24 22:46:11 +0200 2541 2542 Add io_pread(). 2543 2544 It will be used by --list. 2545 2546 src/xz/file_io.c | 25 +++++++++++++++++++++++++ 2547 src/xz/file_io.h | 17 +++++++++++++++++ 2548 2 files changed, 42 insertions(+), 0 deletions(-) 2549 2550commit ef68dd4a92976276304de2aedfbe34ae91a86abb 2551Author: Lasse Collin <lasse.collin@tukaani.org> 2552Date: 2010-01-24 22:45:14 +0200 2553 2554 Set LC_NUMERIC=C when --robot is used. 2555 2556 It is to ensure that floating point numbers 2557 will always have a dot as the decimal separator. 2558 2559 src/xz/args.c | 4 ++++ 2560 1 files changed, 4 insertions(+), 0 deletions(-) 2561 2562commit 0dd6d007669b946543ca939a44243833c79e08f4 2563Author: Lasse Collin <lasse.collin@tukaani.org> 2564Date: 2010-01-24 16:57:40 +0200 2565 2566 Some improvements to printing sizes in xz. 2567 2568 src/xz/coder.c | 56 ++++++++++++++----------------------- 2569 src/xz/message.c | 80 +++++++++++++++++------------------------------------- 2570 src/xz/message.h | 4 +++ 2571 src/xz/util.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 2572 src/xz/util.h | 44 +++++++++++++++++++++++++++++ 2573 5 files changed, 166 insertions(+), 90 deletions(-) 2574 2575commit 2a98fdffd68c66371279c211c29153c808ad5c1d 2576Author: Lasse Collin <lasse.collin@tukaani.org> 2577Date: 2010-01-20 22:02:35 +0200 2578 2579 Fix a typo in README. 2580 2581 Thanks to R. Bijker. 2582 2583 README | 2 +- 2584 1 files changed, 1 insertions(+), 1 deletions(-) 2585 2586commit 07a11dad44e041b01dcfc73e8d4e00731158c06d 2587Author: Lasse Collin <lasse.collin@tukaani.org> 2588Date: 2010-01-17 11:59:54 +0200 2589 2590 Updated windows/Makefile. 2591 2592 Thanks to Dan Shechter for the patch. 2593 2594 It is likely that windows/Makefile will be removed 2595 completely, because Autotols based build nowadays 2596 works well with both 32-bit and 64-bit MinGW (I 2597 just need to update the docs). 2598 2599 windows/Makefile | 38 +++++++++++++++++++++++++------------- 2600 windows/config.h | 2 ++ 2601 2 files changed, 27 insertions(+), 13 deletions(-) 2602 2603commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3 2604Author: Lasse Collin <lasse.collin@tukaani.org> 2605Date: 2010-01-15 11:05:11 +0200 2606 2607 Update the xz man page to match the previous two commits. 2608 2609 src/xz/xz.1 | 9 +++------ 2610 1 files changed, 3 insertions(+), 6 deletions(-) 2611 2612commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7 2613Author: Lasse Collin <lasse.collin@tukaani.org> 2614Date: 2010-01-13 19:10:25 +0200 2615 2616 Don't read compressed data from a terminal or write it 2617 to a terminal even if --force is specified. 2618 2619 It just seems more reasonable this way. 2620 2621 The new behavior matches bzip2. The old one matched gzip. 2622 2623 src/xz/main.c | 20 +++++++++----------- 2624 src/xz/util.c | 8 ++++---- 2625 2 files changed, 13 insertions(+), 15 deletions(-) 2626 2627commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4 2628Author: Lasse Collin <lasse.collin@tukaani.org> 2629Date: 2010-01-13 18:12:40 +0200 2630 2631 Don't compress or decompress special files unless writing 2632 to stdout even if --force is used. 2633 2634 --force will still enable compression of symlinks, but only 2635 in case they point to a regular file. 2636 2637 The new way simply seems more reasonable. It matches gzip's 2638 behavior while the old one matched bzip2's behavior. 2639 2640 src/xz/file_io.c | 15 ++++++++++----- 2641 1 files changed, 10 insertions(+), 5 deletions(-) 2642 2643commit cee12aa852ec0902983dc1f153346ef750157fb9 2644Author: Lasse Collin <lasse.collin@tukaani.org> 2645Date: 2010-01-12 16:30:33 +0200 2646 2647 Updated THANKS. 2648 2649 THANKS | 1 + 2650 1 files changed, 1 insertions(+), 0 deletions(-) 2651 2652commit 153c7740c54b3c90129dbd3d6153ac1303c4d605 2653Author: Lasse Collin <lasse.collin@tukaani.org> 2654Date: 2010-01-12 16:18:14 +0200 2655 2656 Add IRIX-specific code to tuklib_physmem and tuklib_cpucores. 2657 2658 This is untested but it will get tested soon and, if needed, 2659 fixed before 5.0.0. 2660 2661 Thanks to Stuart Shelton. 2662 2663 m4/tuklib_cpucores.m4 | 11 +++++++++-- 2664 m4/tuklib_physmem.m4 | 22 +++++++++++++++++++++- 2665 src/common/tuklib_cpucores.c | 6 ++++++ 2666 src/common/tuklib_physmem.c | 19 +++++++++++++++++++ 2667 4 files changed, 55 insertions(+), 3 deletions(-) 2668 2669commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1 2670Author: Lasse Collin <lasse.collin@tukaani.org> 2671Date: 2010-01-01 00:29:10 +0200 2672 2673 Fix _memconfig() functions. 2674 2675 This affects lzma_memusage() and lzma_memlimit_get(). 2676 2677 src/liblzma/api/lzma/index.h | 7 ------- 2678 src/liblzma/common/alone_decoder.c | 11 +++++++---- 2679 src/liblzma/common/index_decoder.c | 10 ++++++---- 2680 src/liblzma/common/stream_decoder.c | 11 +++++++---- 2681 4 files changed, 20 insertions(+), 19 deletions(-) 2682 2683commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691 2684Author: Lasse Collin <lasse.collin@tukaani.org> 2685Date: 2009-12-31 22:45:53 +0200 2686 2687 Revised the Index handling code. 2688 2689 This breaks API and ABI but most apps are not affected 2690 since most apps don't use this part of the API. You will 2691 get a compile error if you are using anything that got 2692 broken. 2693 2694 Summary of changes: 2695 2696 - Ability to store Stream Flags, which are needed 2697 for random-access reading in multi-Stream files. 2698 2699 - Separate function to set size of Stream Padding. 2700 2701 - Iterator structure makes it possible to read the same 2702 lzma_index from multiple threads at the same time. 2703 2704 - A lot faster code to locate Blocks. 2705 2706 - Removed lzma_index_equal() without adding anything 2707 to replace it. I don't know what it should do exactly 2708 with the new features and what actually needs this 2709 function in the first place other than test_index.c, 2710 which now has its own code to compare lzma_indexes. 2711 2712 src/liblzma/api/lzma/index.h | 572 ++++++++--- 2713 src/liblzma/common/index.c | 1553 ++++++++++++++++++---------- 2714 src/liblzma/common/index.h | 6 + 2715 src/liblzma/common/index_decoder.c | 12 +- 2716 src/liblzma/common/index_encoder.c | 36 +- 2717 src/liblzma/common/index_encoder.h | 2 +- 2718 src/liblzma/common/stream_buffer_encoder.c | 6 +- 2719 src/liblzma/common/stream_encoder.c | 3 +- 2720 tests/test_index.c | 371 +++++--- 2721 9 files changed, 1703 insertions(+), 858 deletions(-) 2722 2723commit f29997a846e673cb3b8cbd57de47ed313b3978bb 2724Author: Lasse Collin <lasse.collin@tukaani.org> 2725Date: 2009-12-31 21:13:25 +0200 2726 2727 Remove c-format tag in cs.po. 2728 2729 It was fixed in the C code earlier. 2730 2731 po/cs.po | 1 - 2732 1 files changed, 0 insertions(+), 1 deletions(-) 2733 2734commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644 2735Author: Lasse Collin <lasse.collin@tukaani.org> 2736Date: 2009-12-31 21:11:05 +0200 2737 2738 Add missing lzma_nothrow in filter.h. 2739 2740 src/liblzma/api/lzma/filter.h | 4 ++-- 2741 1 files changed, 2 insertions(+), 2 deletions(-) 2742 2743commit b56cb1fc31fa2381f92eefc040df85667048d626 2744Author: Lasse Collin <lasse.collin@tukaani.org> 2745Date: 2009-12-09 18:13:44 +0200 2746 2747 Remove redefinition of _(msgid) macro from lzmainfo.c. 2748 2749 src/lzmainfo/lzmainfo.c | 7 ------- 2750 1 files changed, 0 insertions(+), 7 deletions(-) 2751 2752commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2 2753Author: Jonathan Nieder <jrnieder@gmail.com> 2754Date: 2009-12-08 19:41:57 -0600 2755 2756 update po/.gitignore 2757 2758 Since the *.gmo files are deleted by the maintainer-clean target, 2759 I assume they are not meant to be tracked. 2760 2761 Also add the other files listed in the Makefile���s clean targets 2762 (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they 2763 are not accidentally tracked. Most of these are intermediate 2764 files that would not appear unless a build is interrupted or 2765 fails. 2766 2767 Split the list of untracked files by origin to make it easier to 2768 tell if files are missing in the future. 2769 2770 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 2771 2772 po/.gitignore | 28 ++++++++++++++++++++++------ 2773 1 files changed, 22 insertions(+), 6 deletions(-) 2774 2775commit f7e44c6c11f630519072971b8b07a5729c096c36 2776Author: Lasse Collin <lasse.collin@tukaani.org> 2777Date: 2009-12-09 00:38:55 +0200 2778 2779 Always rely on GCC's auto-import on Windows. 2780 2781 I understood that this is nicer, because then people 2782 don't need to worry about the LZMA_API_STATIC macro. 2783 2784 Thanks to Charles Wilson and Keith Marshall. 2785 2786 src/liblzma/api/lzma.h | 16 +++++++++------- 2787 1 files changed, 9 insertions(+), 7 deletions(-) 2788 2789commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c 2790Author: Lasse Collin <lasse.collin@tukaani.org> 2791Date: 2009-12-07 21:46:53 +0200 2792 2793 Fix file_io.c on DOS-like systems. 2794 2795 The problem was introduced when adding sparse file 2796 support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902. 2797 2798 Thanks to Charles Wilson. 2799 2800 src/xz/file_io.c | 4 ++++ 2801 1 files changed, 4 insertions(+), 0 deletions(-) 2802 2803commit 0696f5d268362221380e039bad48a86e29067c6a 2804Author: Lasse Collin <lasse.collin@tukaani.org> 2805Date: 2009-12-07 20:54:21 +0200 2806 2807 Add Czech translation. 2808 2809 Thanks to Marek ��ernock��. 2810 2811 Other people planning to translate xz: Note that the 2812 messages are a little bit in flux still. Translations 2813 are still welcome, just be prepared to some extra work 2814 in case there are changes. 2815 2816 THANKS | 1 + 2817 po/LINGUAS | 1 + 2818 po/cs.po | 637 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2819 3 files changed, 639 insertions(+), 0 deletions(-) 2820 2821commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5 2822Author: Lasse Collin <lasse.collin@tukaani.org> 2823Date: 2009-12-07 20:32:08 +0200 2824 2825 Add a note for translators to add a bug reporting address 2826 for translation bugs. 2827 2828 src/xz/message.c | 4 ++++ 2829 1 files changed, 4 insertions(+), 0 deletions(-) 2830 2831commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37 2832Author: Lasse Collin <lasse.collin@tukaani.org> 2833Date: 2009-12-07 20:07:02 +0200 2834 2835 Prevent xgettext from taking one regular string as a C format string. 2836 2837 Thanks to Marek ��ernock��. 2838 2839 src/xz/message.c | 2 +- 2840 1 files changed, 1 insertions(+), 1 deletions(-) 2841 2842commit e0c2776b6ffbd2b1900fde353aceac734edc93d7 2843Author: Lasse Collin <lasse.collin@tukaani.org> 2844Date: 2009-11-28 17:45:22 +0200 2845 2846 Remove duplicate code in io_open_dest(). 2847 2848 Fix a missing _() in the error message too. 2849 2850 src/xz/file_io.c | 9 +-------- 2851 1 files changed, 1 insertions(+), 8 deletions(-) 2852 2853commit f057a33c6f7c5992389479f2d4feabf2900ba7ee 2854Author: Lasse Collin <lasse.collin@tukaani.org> 2855Date: 2009-11-26 10:11:23 +0200 2856 2857 Typo fix to sysdefs.h. 2858 2859 Thanks to Jonathan Nieder. 2860 2861 src/common/sysdefs.h | 2 +- 2862 1 files changed, 1 insertions(+), 1 deletions(-) 2863 2864commit 8767b41534eafdf5e742e12190646bf5740b0cdb 2865Author: Lasse Collin <lasse.collin@tukaani.org> 2866Date: 2009-11-26 10:10:36 +0200 2867 2868 Fix a memory leak in test_index.c. 2869 2870 This was introduced in 2871 bd13b04e202b6f495a68eb0766f97085b7c50a06. 2872 2873 Thanks to Jim Meyering for noticing it. 2874 2875 tests/test_index.c | 2 ++ 2876 1 files changed, 2 insertions(+), 0 deletions(-) 2877 2878commit 919fbaff860acdaa4bcd216500a0b1c960a6db92 2879Author: Lasse Collin <lasse.collin@tukaani.org> 2880Date: 2009-11-25 14:22:19 +0200 2881 2882 Add missing error check to coder.c. 2883 2884 With bad luck this could cause a segfault due to 2885 reading (but not writing) past the end of the buffer. 2886 2887 src/xz/coder.c | 20 +++++++++++--------- 2888 1 files changed, 11 insertions(+), 9 deletions(-) 2889 2890commit bd13b04e202b6f495a68eb0766f97085b7c50a06 2891Author: Lasse Collin <lasse.collin@tukaani.org> 2892Date: 2009-11-25 13:04:10 +0200 2893 2894 Fix bugs in lzma_index_read() and lzma_index_cat(). 2895 2896 lzma_index_read() didn't skip over Stream Padding 2897 if it was the first record in the Index. 2898 2899 lzma_index_cat() didn't combine small Indexes correctly. 2900 2901 The test suite was updated to check for these bugs. 2902 2903 These bugs didn't affect the xz command line tool or 2904 most users of liblzma in any way. 2905 2906 src/liblzma/common/index.c | 30 +++++++++++++++++++----------- 2907 tests/test_index.c | 28 +++++++++++++++++++++++++--- 2908 2 files changed, 44 insertions(+), 14 deletions(-) 2909 2910commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa 2911Author: Lasse Collin <lasse.collin@tukaani.org> 2912Date: 2009-11-25 12:52:56 +0200 2913 2914 Index decoder fixes. 2915 2916 The Index decoder code didn't perfectly match the API docs, 2917 which said that *i will be set to point to the decoded Index 2918 only after decoding has succeeded. The docs were a bit unclear 2919 too. 2920 2921 Now the decoder will initially set *i to NULL. *i will be set 2922 to point to the decoded Index once decoding has succeeded. 2923 This simplifies applications too, since it avoids dangling 2924 pointers. 2925 2926 src/liblzma/api/lzma/index.h | 23 ++++++++++++----------- 2927 src/liblzma/common/index_decoder.c | 26 ++++++++++++++++++++------ 2928 2 files changed, 32 insertions(+), 17 deletions(-) 2929 2930commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902 2931Author: Lasse Collin <lasse.collin@tukaani.org> 2932Date: 2009-11-25 11:19:20 +0200 2933 2934 Create sparse files by default when decompressing into 2935 a regular file. 2936 2937 Sparse file creation can be disabled with --no-sparse. 2938 I don't promise yet that the name of this option won't 2939 change before 5.0.0. It's possible that the code, that 2940 checks when it is safe to use sparse output on stdout, 2941 is not good enough, and a more flexible command line 2942 option is needed to configure sparse file handling. 2943 2944 src/xz/args.c | 6 ++ 2945 src/xz/coder.c | 33 ++++---- 2946 src/xz/file_io.c | 243 ++++++++++++++++++++++++++++++++++++++++++++++-------- 2947 src/xz/file_io.h | 34 ++++++-- 2948 src/xz/message.c | 1 + 2949 src/xz/xz.1 | 11 +++ 2950 6 files changed, 272 insertions(+), 56 deletions(-) 2951 2952commit 37de544414fc2dc5039471d1002ebd015eb3e627 2953Author: Lasse Collin <lasse.collin@tukaani.org> 2954Date: 2009-11-22 12:43:06 +0200 2955 2956 Updated THANKS. 2957 2958 THANKS | 1 + 2959 1 files changed, 1 insertions(+), 0 deletions(-) 2960 2961commit f1a28b96c900c658fe016852ff62f6c24d1f50fa 2962Author: Lasse Collin <lasse.collin@tukaani.org> 2963Date: 2009-11-22 12:05:33 +0200 2964 2965 Add missing consts to pointer casts. 2966 2967 src/liblzma/check/crc32_fast.c | 4 ++-- 2968 src/liblzma/check/crc64_fast.c | 5 +++-- 2969 2 files changed, 5 insertions(+), 4 deletions(-) 2970 2971commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef 2972Author: Lasse Collin <lasse.collin@tukaani.org> 2973Date: 2009-11-22 12:00:30 +0200 2974 2975 Enable assembler code only if it is known to work 2976 on that operating system. 2977 2978 I'm too lazy to think how to make a good Autoconf test 2979 for this and it's not that important anyway. 2980 2981 No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64. 2982 Inline assembler (if any) is used if a macro like 2983 __i386__ or __x86_64__ is defined. 2984 2985 configure.ac | 26 ++++++++++++-------------- 2986 1 files changed, 12 insertions(+), 14 deletions(-) 2987 2988commit 0733f4c9994db696420a405810d5f02c79ebc404 2989Author: Lasse Collin <lasse.collin@tukaani.org> 2990Date: 2009-11-22 11:55:03 +0200 2991 2992 Make fastpos.h use tuklib_integer.h instead of bsr.h 2993 when --enable-small has been specified. 2994 2995 src/liblzma/common/Makefile.inc | 1 - 2996 src/liblzma/common/bsr.h | 60 --------------------------------------- 2997 src/liblzma/lzma/fastpos.h | 5 +-- 2998 3 files changed, 1 insertions(+), 65 deletions(-) 2999 3000commit 7ac3985d891dcc5773543f84cc5bce6c14841b12 3001Author: Lasse Collin <lasse.collin@tukaani.org> 3002Date: 2009-11-22 11:52:30 +0200 3003 3004 Update tuklib_integer.h with bit scan functions. 3005 3006 Thanks to Joachim Henke for the original patch. 3007 3008 src/common/tuklib_integer.h | 189 +++++++++++++++++++++++++++++++++++++++++-- 3009 1 files changed, 181 insertions(+), 8 deletions(-) 3010 3011commit c74c132f7f79a842c073c66575a4fdb985e4c2e3 3012Author: Lasse Collin <lasse.collin@tukaani.org> 3013Date: 2009-11-20 12:51:19 +0200 3014 3015 Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib, 3016 which now use AC_CACHE_CHECK. Using the cache variable, 3017 configure now warns if there is no method to detect the amount 3018 of RAM and recommends using --enable-assume-ram. 3019 3020 configure.ac | 16 +++++++++++++++ 3021 m4/tuklib_cpucores.m4 | 31 +++++++++++++++++------------ 3022 m4/tuklib_physmem.m4 | 50 ++++++++++++++++++++++++++---------------------- 3023 3 files changed, 61 insertions(+), 36 deletions(-) 3024 3025commit d315ca4930ff96e1428c6021c96f209e1abdd83e 3026Author: Lasse Collin <lasse.collin@tukaani.org> 3027Date: 2009-11-16 18:16:45 +0200 3028 3029 Add support for --info-memory and --robot to xz. 3030 3031 Currently --robot works only with --info-memory and 3032 --version. --help and --long-help work too, but --robot 3033 has no effect on them. 3034 3035 Thanks to Jonathan Nieder for the original patches. 3036 3037 src/xz/args.c | 85 +++++++++++++++++++++++++++++++---------------------- 3038 src/xz/args.h | 1 + 3039 src/xz/main.c | 11 ++++-- 3040 src/xz/message.c | 47 ++++++++++++++++++++++------- 3041 src/xz/message.h | 4 ++ 3042 src/xz/xz.1 | 40 +++++++++++++++++++++++-- 3043 6 files changed, 133 insertions(+), 55 deletions(-) 3044 3045commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e 3046Author: Lasse Collin <lasse.collin@tukaani.org> 3047Date: 2009-11-15 12:54:45 +0200 3048 3049 Fix wrong indentation caused by incorrect settings 3050 in the text editor. 3051 3052 src/liblzma/lz/lz_decoder.c | 18 +++++++++--------- 3053 src/liblzma/lzma/lzma2_encoder.c | 6 +++--- 3054 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 2 +- 3055 3 files changed, 13 insertions(+), 13 deletions(-) 3056 3057commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 3058Author: Lasse Collin <lasse.collin@tukaani.org> 3059Date: 2009-11-15 12:40:17 +0200 3060 3061 Add lzma_physmem(). 3062 3063 I had hoped to keep liblzma as purely a compression 3064 library as possible (e.g. file I/O will go into 3065 a different library), but it seems that applications 3066 linking agaisnt liblzma need some way to determine 3067 the memory usage limit, and knowing the amount of RAM 3068 is one reasonable way to help making such decisions. 3069 3070 Thanks to Jonathan Nieder for the original patch. 3071 3072 src/liblzma/Makefile.am | 5 ++- 3073 src/liblzma/api/Makefile.am | 1 + 3074 src/liblzma/api/lzma.h | 3 ++ 3075 src/liblzma/api/lzma/hardware.h | 51 +++++++++++++++++++++++++++++++++ 3076 src/liblzma/common/Makefile.inc | 1 + 3077 src/liblzma/common/hardware_physmem.c | 25 ++++++++++++++++ 3078 src/xz/Makefile.am | 1 - 3079 src/xz/hardware.c | 3 +- 3080 src/xzdec/Makefile.am | 6 +-- 3081 src/xzdec/xzdec.c | 3 +- 3082 10 files changed, 88 insertions(+), 11 deletions(-) 3083 3084commit cf39faca59083d38422058c6c97aa757ea7797d0 3085Author: Lasse Collin <lasse.collin@tukaani.org> 3086Date: 2009-11-14 20:21:19 +0200 3087 3088 Updated THANKS. 3089 3090 THANKS | 1 + 3091 1 files changed, 1 insertions(+), 0 deletions(-) 3092 3093commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f 3094Author: Lasse Collin <lasse.collin@tukaani.org> 3095Date: 2009-11-14 20:20:03 +0200 3096 3097 Some updates to xz man page. 3098 3099 src/xz/xz.1 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 3100 1 files changed, 49 insertions(+), 5 deletions(-) 3101 3102commit 19b2674f07f8b588dfaf6638396b4b42866d7e23 3103Author: Lasse Collin <lasse.collin@tukaani.org> 3104Date: 2009-11-14 19:51:03 +0200 3105 3106 Fix description of --memory in --long-help. 3107 3108 src/xz/message.c | 3 +-- 3109 1 files changed, 1 insertions(+), 2 deletions(-) 3110 3111commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8 3112Author: Lasse Collin <lasse.collin@tukaani.org> 3113Date: 2009-11-14 19:45:39 +0200 3114 3115 Update the debug programs so that they compile again. 3116 3117 debug/crc32.c | 1 + 3118 debug/memusage.c | 6 ++++-- 3119 debug/sync_flush.c | 14 +++++++++----- 3120 3 files changed, 14 insertions(+), 7 deletions(-) 3121 3122commit 418d64a32e8144210f98a810738fed5a897e8367 3123Author: Lasse Collin <lasse.collin@tukaani.org> 3124Date: 2009-11-14 18:59:19 +0200 3125 3126 Fix a design error in liblzma API. 3127 3128 Originally the idea was that using LZMA_FULL_FLUSH 3129 with Stream encoder would read the filter chain 3130 from the same array that was used to intialize the 3131 Stream encoder. Since most apps wouldn't use 3132 LZMA_FULL_FLUSH, most apps wouldn't need to keep 3133 the filter chain available after initializing the 3134 Stream encoder. However, due to my mistake, it 3135 actually required keeping the array always available. 3136 3137 Since setting the new filter chain via the array 3138 used at initialization time is not a nice way to do 3139 it for a couple of reasons, this commit ditches it 3140 and introduces lzma_filters_update(). This new function 3141 replaces also the "persistent" flag used by LZMA2 3142 (and to-be-designed Subblock filter), which was also 3143 an ugly thing to do. 3144 3145 Thanks to Alexey Tourbin for reminding me about the problem 3146 that Stream encoder used to require keeping the filter 3147 chain allocated. 3148 3149 src/liblzma/api/lzma/filter.h | 30 ++++++++++++ 3150 src/liblzma/api/lzma/lzma.h | 13 ----- 3151 src/liblzma/common/block_encoder.c | 14 ++++++ 3152 src/liblzma/common/common.c | 20 ++++++++- 3153 src/liblzma/common/common.h | 22 +++++++++ 3154 src/liblzma/common/easy_encoder.c | 63 ++------------------------ 3155 src/liblzma/common/filter_common.c | 3 + 3156 src/liblzma/common/filter_encoder.c | 27 +++++++++++ 3157 src/liblzma/common/filter_encoder.h | 2 +- 3158 src/liblzma/common/stream_encoder.c | 76 +++++++++++++++++++++++++++---- 3159 src/liblzma/delta/delta_common.c | 5 +-- 3160 src/liblzma/delta/delta_decoder.c | 3 +- 3161 src/liblzma/delta/delta_encoder.c | 17 +++++++- 3162 src/liblzma/delta/delta_private.h | 2 +- 3163 src/liblzma/lz/lz_encoder.c | 17 +++++++ 3164 src/liblzma/lz/lz_encoder.h | 4 ++ 3165 src/liblzma/lzma/lzma2_encoder.c | 59 ++++++++++++++---------- 3166 src/liblzma/lzma/lzma_encoder_presets.c | 1 - 3167 src/liblzma/simple/simple_coder.c | 12 +++++ 3168 src/xz/options.c | 1 - 3169 20 files changed, 273 insertions(+), 118 deletions(-) 3170 3171commit f0bf7634b77263a4dd02b20c71861ab67995da68 3172Author: Lasse Collin <lasse.collin@tukaani.org> 3173Date: 2009-10-17 11:11:58 +0300 3174 3175 Fix wrong function name in the previous commit. 3176 3177 It was meant to be lzma_filters_copy(), not lzma_filters_dup(). 3178 3179 src/liblzma/api/lzma/filter.h | 2 +- 3180 src/liblzma/common/filter_common.c | 2 +- 3181 2 files changed, 2 insertions(+), 2 deletions(-) 3182 3183commit 6d118a0b9def82e96afba7386ec8d7da0b59649f 3184Author: Lasse Collin <lasse.collin@tukaani.org> 3185Date: 2009-10-17 01:47:07 +0300 3186 3187 Add lzma_filters_copy(). 3188 3189 This will be needed internally by liblzma once I fix 3190 a design mistake in the encoder API. This function may 3191 be useful to applications too so it's good to export it. 3192 3193 src/liblzma/api/lzma/filter.h | 31 +++++++++++++ 3194 src/liblzma/common/filter_common.c | 82 ++++++++++++++++++++++++++++++++++++ 3195 2 files changed, 113 insertions(+), 0 deletions(-) 3196 3197commit 78e92c18470483e161388e679c1ee556adb3a691 3198Author: Jonathan Nieder <jrnieder@gmail.com> 3199Date: 2009-10-15 20:44:13 -0500 3200 3201 Escape dashes in xzmore.1 3202 3203 A minus sign is larger, easier to see in a printout, and more 3204 likely to use the same glyph as ASCII hyphen-minus in a terminal 3205 than a hyphen. Since broken manual pagers do not find hyphens 3206 when the user searches for a hyphen-minus, minus signs are also 3207 easier to search for. So use minus signs instead of hyphens to 3208 render sample terminal output. 3209 3210 src/scripts/xzmore.1 | 4 ++-- 3211 1 files changed, 2 insertions(+), 2 deletions(-) 3212 3213commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee 3214Author: Lasse Collin <lasse.collin@tukaani.org> 3215Date: 2009-10-16 20:35:39 +0300 3216 3217 Mention --check=none in --long-help. It was already in 3218 the man page though. 3219 3220 Thanks to Jim Meyering for noticing this. 3221 3222 src/xz/message.c | 2 +- 3223 1 files changed, 1 insertions(+), 1 deletions(-) 3224 3225commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24 3226Author: Lasse Collin <lasse.collin@tukaani.org> 3227Date: 2009-10-04 22:57:12 +0300 3228 3229 Use a tuklib module for integer handling. 3230 3231 This replaces bswap.h and integer.h. 3232 3233 The tuklib module uses <byteswap.h> on GNU, 3234 <sys/endian.h> on *BSDs and <sys/byteorder.h> 3235 on Solaris, which may contain optimized code 3236 like inline assembly. 3237 3238 configure.ac | 54 +----- 3239 m4/tuklib_integer.m4 | 74 ++++++ 3240 src/common/bswap.h | 52 ----- 3241 src/common/integer.h | 170 -------------- 3242 src/common/tuklib_config.h | 8 +- 3243 src/common/tuklib_integer.h | 350 +++++++++++++++++++++++++++++ 3244 src/liblzma/check/check.c | 4 +- 3245 src/liblzma/check/crc32_fast.c | 4 +- 3246 src/liblzma/check/crc32_tablegen.c | 8 +- 3247 src/liblzma/check/crc64_fast.c | 4 +- 3248 src/liblzma/check/crc64_tablegen.c | 8 +- 3249 src/liblzma/check/crc_macros.h | 2 - 3250 src/liblzma/check/sha256.c | 18 +-- 3251 src/liblzma/common/alone_encoder.c | 2 +- 3252 src/liblzma/common/block_header_decoder.c | 2 +- 3253 src/liblzma/common/block_header_encoder.c | 2 +- 3254 src/liblzma/common/common.h | 2 +- 3255 src/liblzma/common/stream_flags_decoder.c | 6 +- 3256 src/liblzma/common/stream_flags_encoder.c | 6 +- 3257 src/liblzma/lz/lz_encoder_hash.h | 2 +- 3258 src/liblzma/lzma/lzma_decoder.c | 2 +- 3259 src/liblzma/lzma/lzma_encoder.c | 2 +- 3260 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 3261 src/liblzma/simple/simple_decoder.c | 2 +- 3262 src/liblzma/simple/simple_encoder.c | 2 +- 3263 tests/test_block_header.c | 4 +- 3264 tests/test_stream_flags.c | 6 +- 3265 tests/tests.h | 2 +- 3266 28 files changed, 467 insertions(+), 333 deletions(-) 3267 3268commit 29fd321033276261b87da7be5223db33d879a4c7 3269Author: Lasse Collin <lasse.collin@tukaani.org> 3270Date: 2009-10-02 14:35:56 +0300 3271 3272 Add support for --enable-assume-ram=SIZE. 3273 3274 INSTALL | 16 ++++++++++++++++ 3275 configure.ac | 24 ++++++++++++++++++++++++ 3276 src/xz/hardware.c | 7 +++---- 3277 src/xzdec/xzdec.c | 5 +++-- 3278 4 files changed, 46 insertions(+), 6 deletions(-) 3279 3280commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25 3281Author: Lasse Collin <lasse.collin@tukaani.org> 3282Date: 2009-10-02 11:28:17 +0300 3283 3284 Use unaligned access (if possible) on both endiannesses 3285 in lz_encoder_hash.h. 3286 3287 src/liblzma/lz/lz_encoder_hash.h | 4 ++-- 3288 1 files changed, 2 insertions(+), 2 deletions(-) 3289 3290commit c5f68b5cc79085a87f950fea53843e27f328068e 3291Author: Lasse Collin <lasse.collin@tukaani.org> 3292Date: 2009-10-02 11:03:26 +0300 3293 3294 Make liblzma produce the same output on both endiannesses. 3295 3296 Seems that it is a problem in some cases if the same 3297 version of XZ Utils produces different output on different 3298 endiannesses, so this commit fixes that problem. The output 3299 will still vary between different XZ Utils versions, but I 3300 cannot avoid that for now. 3301 3302 This commit bloatens the code on big endian systems by 1 KiB, 3303 which should be OK since liblzma is bloated already. ;-) 3304 3305 src/liblzma/check/crc32_tablegen.c | 30 ++++++++++++++ 3306 src/liblzma/lz/Makefile.inc | 1 + 3307 src/liblzma/lz/lz_encoder.c | 7 +++- 3308 src/liblzma/lz/lz_encoder_hash.h | 35 +++++++++++------ 3309 src/liblzma/lz/lz_encoder_hash_table.h | 68 ++++++++++++++++++++++++++++++++ 3310 src/liblzma/lz/lz_encoder_mf.c | 1 - 3311 6 files changed, 128 insertions(+), 14 deletions(-) 3312 3313commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a 3314Author: Mike Frysinger <vapier@gentoo.org> 3315Date: 2009-09-26 12:51:50 -0400 3316 3317 add lzmainfo to gitignore 3318 3319 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 3320 3321 .gitignore | 2 ++ 3322 1 files changed, 2 insertions(+), 0 deletions(-) 3323 3324commit 188a1dcd0cc7867810ed3a55c598d0680922c63b 3325Author: Lasse Collin <lasse.collin@tukaani.org> 3326Date: 2009-09-27 11:53:36 +0300 3327 3328 Updated THANKS. 3329 3330 THANKS | 1 + 3331 1 files changed, 1 insertions(+), 0 deletions(-) 3332 3333commit db9119b9181b307e7ac5d2bae82444d04b902b59 3334Author: Lasse Collin <lasse.collin@tukaani.org> 3335Date: 2009-09-27 11:48:54 +0300 3336 3337 Work around a bug in Interix header files. 3338 3339 Thanks to Markus Duft for the patch. 3340 3341 src/common/sysdefs.h | 6 ++++++ 3342 1 files changed, 6 insertions(+), 0 deletions(-) 3343 3344commit b3d105e69786a45963176fd2193abe75e05ba738 3345Author: Lasse Collin <lasse.collin@tukaani.org> 3346Date: 2009-09-24 17:50:17 +0300 3347 3348 Fix an error in OpenVMS-specific code. 3349 3350 Thanks to Jouk Jansen. 3351 3352 src/xz/file_io.c | 2 +- 3353 1 files changed, 1 insertions(+), 1 deletions(-) 3354 3355commit 5e000ff00d4d01e559397b49eb648ad3f159d496 3356Author: Lasse Collin <lasse.collin@tukaani.org> 3357Date: 2009-09-22 18:59:56 +0300 3358 3359 Added OpenVMS-specific information to INSTALL. 3360 3361 INSTALL | 11 +++++++++++ 3362 1 files changed, 11 insertions(+), 0 deletions(-) 3363 3364commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4 3365Author: Lasse Collin <lasse.collin@tukaani.org> 3366Date: 2009-09-22 14:03:02 +0300 3367 3368 Better fixes for OpenVMS support. 3369 3370 Thanks to Jouk Jansen. 3371 3372 src/xz/file_io.c | 19 ++++++++++++++++--- 3373 1 files changed, 16 insertions(+), 3 deletions(-) 3374 3375commit 4c3630ec4179fe9265407a35c4db1374ffc82372 3376Author: Lasse Collin <lasse.collin@tukaani.org> 3377Date: 2009-09-22 13:40:19 +0300 3378 3379 Avoid non-standard preprocessor construct. 3380 3381 Thanks to Jouk Jansen. 3382 3383 src/common/tuklib_common.h | 11 +++++++---- 3384 1 files changed, 7 insertions(+), 4 deletions(-) 3385 3386commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 3387Author: Lasse Collin <lasse.collin@tukaani.org> 3388Date: 2009-09-21 19:50:09 +0300 3389 3390 Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. 3391 3392 Thanks to Charles Wilson. 3393 3394 src/common/tuklib_common.h | 3 ++- 3395 1 files changed, 2 insertions(+), 1 deletions(-) 3396 3397commit e599bba4216c0edb8cc8f40adad3a6dba88685f4 3398Author: Lasse Collin <lasse.collin@tukaani.org> 3399Date: 2009-09-19 09:47:30 +0300 3400 3401 Various changes. 3402 3403 Separate a few reusable components from XZ Utils specific 3404 code. The reusable code is now in "tuklib" modules. A few 3405 more could be separated still, e.g. bswap.h. 3406 3407 Fix some bugs in lzmainfo. 3408 3409 Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol 3410 for help. 3411 3412 Add OpenVMS support into physmem. Add a few #ifdefs to ease 3413 building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the 3414 original patch. 3415 3416 THANKS | 1 + 3417 configure.ac | 12 +-- 3418 m4/lc_cpucores.m4 | 57 --------------- 3419 m4/lc_physmem.m4 | 84 ---------------------- 3420 m4/tuklib_common.m4 | 22 ++++++ 3421 m4/tuklib_cpucores.m4 | 72 +++++++++++++++++++ 3422 m4/tuklib_physmem.m4 | 119 +++++++++++++++++++++++++++++++ 3423 m4/tuklib_progname.m4 | 25 +++++++ 3424 src/common/cpucores.h | 51 -------------- 3425 src/common/open_stdxxx.h | 49 ------------- 3426 src/common/physmem.h | 144 -------------------------------------- 3427 src/common/sysdefs.h | 4 - 3428 src/common/tuklib_common.h | 67 ++++++++++++++++++ 3429 src/common/tuklib_config.h | 1 + 3430 src/common/tuklib_cpucores.c | 46 ++++++++++++ 3431 src/common/tuklib_cpucores.h | 23 ++++++ 3432 src/common/tuklib_exit.c | 57 +++++++++++++++ 3433 src/common/tuklib_exit.h | 25 +++++++ 3434 src/common/tuklib_gettext.h | 44 ++++++++++++ 3435 src/common/tuklib_open_stdxxx.c | 51 ++++++++++++++ 3436 src/common/tuklib_open_stdxxx.h | 23 ++++++ 3437 src/common/tuklib_physmem.c | 146 +++++++++++++++++++++++++++++++++++++++ 3438 src/common/tuklib_physmem.h | 28 ++++++++ 3439 src/common/tuklib_progname.c | 50 +++++++++++++ 3440 src/common/tuklib_progname.h | 32 +++++++++ 3441 src/lzmainfo/Makefile.am | 5 +- 3442 src/lzmainfo/lzmainfo.c | 65 +++++------------ 3443 src/xz/Makefile.am | 7 ++- 3444 src/xz/args.c | 8 +-- 3445 src/xz/file_io.c | 43 ++++++------ 3446 src/xz/hardware.c | 8 +- 3447 src/xz/main.c | 100 ++++++--------------------- 3448 src/xz/main.h | 7 -- 3449 src/xz/message.c | 30 ++++---- 3450 src/xz/message.h | 8 +- 3451 src/xz/private.h | 11 +-- 3452 src/xz/signals.c | 2 + 3453 src/xz/signals.h | 17 ++--- 3454 src/xz/suffix.c | 2 +- 3455 src/xzdec/Makefile.am | 13 +++- 3456 src/xzdec/xzdec.c | 55 ++++----------- 3457 41 files changed, 974 insertions(+), 640 deletions(-) 3458 3459commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef 3460Author: Lasse Collin <lasse.collin@tukaani.org> 3461Date: 2009-09-15 21:07:23 +0300 3462 3463 Fix incorrect use of "restrict". 3464 3465 src/liblzma/api/lzma/vli.h | 4 ++-- 3466 src/liblzma/common/vli_decoder.c | 2 +- 3467 src/liblzma/common/vli_encoder.c | 2 +- 3468 3 files changed, 4 insertions(+), 4 deletions(-) 3469 3470commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c 3471Author: Lasse Collin <lasse.collin@tukaani.org> 3472Date: 2009-09-12 14:09:17 +0300 3473 3474 Fix GCC version check for nothrow attribute. 3475 3476 src/liblzma/api/lzma.h | 2 +- 3477 1 files changed, 1 insertions(+), 1 deletions(-) 3478 3479commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224 3480Author: Lasse Collin <lasse.collin@tukaani.org> 3481Date: 2009-09-12 14:08:15 +0300 3482 3483 Updated THANKS. 3484 3485 THANKS | 1 + 3486 1 files changed, 1 insertions(+), 0 deletions(-) 3487 3488commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac 3489Author: Lasse Collin <lasse.collin@tukaani.org> 3490Date: 2009-09-12 14:07:36 +0300 3491 3492 A few grammar fixes. 3493 3494 Thanks to Christian Weisgerber for pointing out some of these. 3495 3496 src/liblzma/api/lzma.h | 4 ++-- 3497 src/liblzma/api/lzma/vli.h | 4 ++-- 3498 src/liblzma/common/block_header_encoder.c | 2 +- 3499 src/liblzma/common/filter_common.c | 2 +- 3500 src/liblzma/lz/lz_encoder.h | 10 +++++----- 3501 src/xz/message.c | 22 +++++++++++----------- 3502 src/xzdec/xzdec.c | 2 +- 3503 7 files changed, 23 insertions(+), 23 deletions(-) 3504 3505commit 8905a33daadcd2d6557c83c81c490b827d566c94 3506Author: Lasse Collin <lasse.collin@tukaani.org> 3507Date: 2009-09-11 17:08:15 +0300 3508 3509 Updated THANKS. 3510 3511 THANKS | 1 + 3512 1 files changed, 1 insertions(+), 0 deletions(-) 3513 3514commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9 3515Author: Lasse Collin <lasse.collin@tukaani.org> 3516Date: 2009-09-11 17:06:32 +0300 3517 3518 Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors. 3519 3520 dos/config.h | 3 +++ 3521 windows/config.h | 3 +++ 3522 2 files changed, 6 insertions(+), 0 deletions(-) 3523 3524commit 221be761f467da76875247bc02d7a1716682075d 3525Author: Lasse Collin <lasse.collin@tukaani.org> 3526Date: 2009-09-11 10:24:09 +0300 3527 3528 Use $(LN_EXEEXT) in symlinks to executables. 3529 3530 This fixes "make install" on operating systems using 3531 a suffix for executables. 3532 3533 Cygwin is treated specially. The symlink names won't have 3534 .exe suffix even though the executables themselves have. 3535 Thanks to Charles Wilson. 3536 3537 configure.ac | 9 +++++++++ 3538 src/xz/Makefile.am | 4 ++-- 3539 2 files changed, 11 insertions(+), 2 deletions(-) 3540 3541commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c 3542Author: Lasse Collin <lasse.collin@tukaani.org> 3543Date: 2009-09-11 09:25:09 +0300 3544 3545 Fix a couple of warnings. 3546 3547 src/liblzma/common/stream_decoder.c | 2 +- 3548 src/liblzma/lz/lz_encoder.c | 5 +---- 3549 src/liblzma/lzma/lzma_encoder.c | 2 +- 3550 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 8 ++++---- 3551 tests/tests.h | 2 +- 3552 5 files changed, 8 insertions(+), 11 deletions(-) 3553 3554commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4 3555Author: Lasse Collin <lasse.collin@tukaani.org> 3556Date: 2009-09-05 18:39:21 +0300 3557 3558 Add OS/2-specific code to physmem.h. 3559 3560 Also move DJGPP-specific code near the code meant 3561 for other DOS-like systems. 3562 3563 src/common/physmem.h | 32 +++++++++++++++++++++----------- 3564 1 files changed, 21 insertions(+), 11 deletions(-) 3565 3566commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740 3567Author: Lasse Collin <lasse.collin@tukaani.org> 3568Date: 2009-09-05 01:21:15 +0300 3569 3570 Updated THANKS. 3571 3572 THANKS | 2 ++ 3573 1 files changed, 2 insertions(+), 0 deletions(-) 3574 3575commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071 3576Author: Lasse Collin <lasse.collin@tukaani.org> 3577Date: 2009-09-05 01:20:29 +0300 3578 3579 Use sysctl() != -1 instead of !sysctl() to check if 3580 the function call succeeded. 3581 3582 NetBSD 4.0 returns positive values on success, but 3583 NetBSD Current and FreeBSD return zero. OpenBSD's 3584 man page doesn't tell what sysctl() returns on 3585 success. All these BSDs return -1 on error. 3586 3587 Thanks to Robert Elz and Thomas Klausner. 3588 3589 src/common/cpucores.h | 2 +- 3590 src/common/physmem.h | 2 +- 3591 2 files changed, 2 insertions(+), 2 deletions(-) 3592 3593commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32 3594Author: Lasse Collin <lasse.collin@tukaani.org> 3595Date: 2009-09-02 09:43:51 +0300 3596 3597 Mention in INSTALL that --enable-small doesn't modify CFLAGS. 3598 3599 INSTALL | 4 ++++ 3600 1 files changed, 4 insertions(+), 0 deletions(-) 3601 3602commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc 3603Author: Lasse Collin <lasse.collin@tukaani.org> 3604Date: 2009-09-01 20:40:01 +0300 3605 3606 Refactored option parsing. 3607 3608 src/xz/options.c | 70 +++++++++++++++++++++++++++--------------------------- 3609 1 files changed, 35 insertions(+), 35 deletions(-) 3610 3611commit 25adaaa56e2e51a47a910a8d73452414619a2e53 3612Author: Lasse Collin <lasse.collin@tukaani.org> 3613Date: 2009-09-01 20:23:30 +0300 3614 3615 Fix options parsing bug in xz. 3616 3617 xz used to reject "xz --lzma2=pb=2," while 3618 "xz --lzma2=pb=2,," worked. Now both work. 3619 3620 src/xz/options.c | 6 ++---- 3621 1 files changed, 2 insertions(+), 4 deletions(-) 3622 3623commit 5f6dddc6c911df02ba660564e78e6de80947c947 3624Author: Lasse Collin <lasse.collin@tukaani.org> 3625Date: 2009-09-01 20:20:19 +0300 3626 3627 Updated TODO. 3628 3629 TODO | 3 +++ 3630 1 files changed, 3 insertions(+), 0 deletions(-) 3631 3632commit 655457b9ada5ec7db398c5392e41290f3f332ea8 3633Author: Lasse Collin <lasse.collin@tukaani.org> 3634Date: 2009-08-31 21:59:25 +0300 3635 3636 Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 3637 and use a fix that works on all systems using 3638 GNU assembler. 3639 3640 Maybe the assembler code is used e.g. on Solaris x86 3641 but let's worry about it if this doesn't work on it. 3642 3643 src/liblzma/check/crc32_x86.S | 7 ++----- 3644 src/liblzma/check/crc64_x86.S | 7 ++----- 3645 2 files changed, 4 insertions(+), 10 deletions(-) 3646 3647commit 162189c3477953805a28f96d3a75cb9ab9417928 3648Author: Lasse Collin <lasse.collin@tukaani.org> 3649Date: 2009-08-30 17:29:19 +0300 3650 3651 Updated THANKS. 3652 3653 THANKS | 1 + 3654 1 files changed, 1 insertions(+), 0 deletions(-) 3655 3656commit 2331f5f97af3e5897e23da45d9df3d664099c7f8 3657Author: Lasse Collin <lasse.collin@tukaani.org> 3658Date: 2009-08-30 17:28:52 +0300 3659 3660 Add more OS/2 specific info to INSTALL. 3661 3662 INSTALL | 5 +++++ 3663 1 files changed, 5 insertions(+), 0 deletions(-) 3664 3665commit 94c66b3297b3ad307eee93cf6b160e3c43997f11 3666Author: Lasse Collin <lasse.collin@tukaani.org> 3667Date: 2009-08-29 14:43:52 +0300 3668 3669 Use even more hackish way to support thousand separators. 3670 3671 Seems that in addition on Windows and DOS, also OpenBSD 3672 lacks support for %'d style printf() format strings. 3673 So far that is the only modern POSIX-like system I know 3674 with this problem, but after this hack, the thousand 3675 separator shouldn't be a problem on any system. 3676 3677 Maybe testing if a format string like %'d produces 3678 reasonable output is invoking undefined behavior on some 3679 systems, but so far all the problematic systems I've tried 3680 just print the raw format string (e.g. %'d prints 'd). 3681 3682 Maybe Autoconf test would have been better, but this 3683 hack works also for cross-compilation, and avoids 3684 recompilation in case the system libc starts to support 3685 the thousand separator. 3686 3687 src/xz/util.c | 36 +++++++++++++++++++++++++----------- 3688 1 files changed, 25 insertions(+), 11 deletions(-) 3689 3690commit 3432e9c6aab851da1227b63dce645d7f190c04d8 3691Author: Lasse Collin <lasse.collin@tukaani.org> 3692Date: 2009-08-29 13:42:56 +0300 3693 3694 Updated THANKS. 3695 3696 THANKS | 3 +++ 3697 1 files changed, 3 insertions(+), 0 deletions(-) 3698 3699commit 27414daadf5727e8ab942374b5ec1c8990122878 3700Author: Lasse Collin <lasse.collin@tukaani.org> 3701Date: 2009-08-29 13:39:21 +0300 3702 3703 Fix sysctl() usage. 3704 3705 This fixes build on *BSDs and Darwin. 3706 3707 Thanks to Jukka Salmi for the patches. 3708 Richard Koch reported the problem too. 3709 3710 m4/lc_cpucores.m4 | 2 +- 3711 m4/lc_physmem.m4 | 2 +- 3712 src/common/cpucores.h | 2 +- 3713 src/common/physmem.h | 2 +- 3714 4 files changed, 4 insertions(+), 4 deletions(-) 3715 3716commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 3717Author: Lasse Collin <lasse.collin@tukaani.org> 3718Date: 2009-08-29 13:35:23 +0300 3719 3720 Fix x86 assembler on GCC 3. 3721 3722 Thanks to Karl Berry. 3723 3724 src/liblzma/check/crc32_x86.S | 7 +++++-- 3725 src/liblzma/check/crc64_x86.S | 7 +++++-- 3726 2 files changed, 10 insertions(+), 4 deletions(-) 3727 3728commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8 3729Author: Lasse Collin <lasse.collin@tukaani.org> 3730Date: 2009-08-27 18:36:59 +0300 3731 3732 "make dist" fixes 3733 3734 Makefile.am | 13 ++++++------- 3735 1 files changed, 6 insertions(+), 7 deletions(-) 3736 3737commit c8c184db1c95bf70f78256ec6237845a57f342af 3738Author: Lasse Collin <lasse.collin@tukaani.org> 3739Date: 2009-08-27 17:08:33 +0300 3740 3741 Update xz man page date. 3742 3743 src/xz/xz.1 | 2 +- 3744 1 files changed, 1 insertions(+), 1 deletions(-) 3745 3746commit 9756fce565e98b8fa5fe6ead296d84e7601ec254 3747Author: Lasse Collin <lasse.collin@tukaani.org> 3748Date: 2009-08-27 17:00:22 +0300 3749 3750 Fix the debug directory. 3751 3752 6a2eb54092fc625d59921a607ff68cd1a90aa898 and 3753 71f18e8a066a01dda0c8e5508b135ef104e43e4c required 3754 some changes that weren't applied in debug. 3755 3756 debug/Makefile.am | 5 +++-- 3757 debug/full_flush.c | 1 + 3758 debug/known_sizes.c | 1 + 3759 debug/memusage.c | 1 + 3760 debug/sync_flush.c | 1 + 3761 5 files changed, 7 insertions(+), 2 deletions(-) 3762 3763commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea 3764Author: Lasse Collin <lasse.collin@tukaani.org> 3765Date: 2009-08-27 16:36:40 +0300 3766 3767 Add missing files to EXTRA_DIST. 3768 3769 Makefile.am | 11 +++++++---- 3770 1 files changed, 7 insertions(+), 4 deletions(-) 3771 3772commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d 3773Author: Lasse Collin <lasse.collin@tukaani.org> 3774Date: 2009-08-27 16:21:22 +0300 3775 3776 Bumped version to 4.999.9beta. 3777 3778 src/liblzma/api/lzma/version.h | 2 +- 3779 1 files changed, 1 insertions(+), 1 deletions(-) 3780 3781commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4 3782Author: Lasse Collin <lasse.collin@tukaani.org> 3783Date: 2009-08-27 16:17:47 +0300 3784 3785 Updated THANKS. 3786 3787 THANKS | 2 ++ 3788 1 files changed, 2 insertions(+), 0 deletions(-) 3789 3790commit c29e76c0f910fca0a90a50b78d337f6c32623e9d 3791Author: Lasse Collin <lasse.collin@tukaani.org> 3792Date: 2009-08-27 16:12:52 +0300 3793 3794 .xz file format specification 1.0.4 (probably). 3795 3796 Thanks to Christian von Roques, Peter Lawler, 3797 and Jim Meyering for the fixes. 3798 3799 doc/xz-file-format.txt | 26 +++++++++++++++----------- 3800 1 files changed, 15 insertions(+), 11 deletions(-) 3801 3802commit 696d7ee3953beaf4f0ed18e78917ccf300431966 3803Author: Lasse Collin <lasse.collin@tukaani.org> 3804Date: 2009-08-27 15:43:54 +0300 3805 3806 Require GNU libtool 2.2. 3807 3808 configure.ac | 13 +++---------- 3809 1 files changed, 3 insertions(+), 10 deletions(-) 3810 3811commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d 3812Author: Lasse Collin <lasse.collin@tukaani.org> 3813Date: 2009-08-27 15:34:45 +0300 3814 3815 Add "dos" to EXTRA_DIST. 3816 3817 Makefile.am | 1 + 3818 1 files changed, 1 insertions(+), 0 deletions(-) 3819 3820commit 35b29e4424ced5a3ababf132283e519080c7b298 3821Author: Lasse Collin <lasse.collin@tukaani.org> 3822Date: 2009-08-27 15:23:27 +0300 3823 3824 Updated TODO. 3825 3826 TODO | 6 ++++++ 3827 1 files changed, 6 insertions(+), 0 deletions(-) 3828 3829commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea 3830Author: Lasse Collin <lasse.collin@tukaani.org> 3831Date: 2009-08-27 15:17:00 +0300 3832 3833 Some xz man page improvements. 3834 3835 src/xz/xz.1 | 78 ++++++++++++++++++++++++++++++++++++++++++++++------------ 3836 1 files changed, 62 insertions(+), 16 deletions(-) 3837 3838commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d 3839Author: Lasse Collin <lasse.collin@tukaani.org> 3840Date: 2009-08-27 10:41:01 +0300 3841 3842 Removed doc/bugs.txt. 3843 3844 doc/bugs.txt | 46 ---------------------------------------------- 3845 1 files changed, 0 insertions(+), 46 deletions(-) 3846 3847commit d88c4072b36d3a76f839185799fb1d91037a1b81 3848Author: Lasse Collin <lasse.collin@tukaani.org> 3849Date: 2009-08-27 10:40:25 +0300 3850 3851 Updated README. 3852 3853 It now includes bug reporting instructions/tips. 3854 3855 README | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--------- 3856 1 files changed, 55 insertions(+), 10 deletions(-) 3857 3858commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e 3859Author: Lasse Collin <lasse.collin@tukaani.org> 3860Date: 2009-08-27 10:21:18 +0300 3861 3862 Fix a typo in FAQ. 3863 3864 Thanks to Jim Meyering. 3865 3866 (From now on, I try to always remember to put 3867 the relevant thanks to commit messages.) 3868 3869 doc/faq.txt | 2 +- 3870 1 files changed, 1 insertions(+), 1 deletions(-) 3871 3872commit 3e2ba8b58585743e59251e69ad2783eb08357079 3873Author: Lasse Collin <lasse.collin@tukaani.org> 3874Date: 2009-08-27 10:13:46 +0300 3875 3876 Updates to liblzma API headers. 3877 3878 Added lzma_nothrow for every function. It adds 3879 throw() when the header is used in C++ code. 3880 3881 Some lzma_attrs were added or removed. 3882 3883 Lots of comments were improved. 3884 3885 src/liblzma/api/lzma.h | 20 +++++++ 3886 src/liblzma/api/lzma/base.h | 48 +++++++++-------- 3887 src/liblzma/api/lzma/block.h | 38 +++++++------- 3888 src/liblzma/api/lzma/check.h | 22 ++++---- 3889 src/liblzma/api/lzma/container.h | 36 +++++++------ 3890 src/liblzma/api/lzma/filter.h | 81 ++++++++++++++++++----------- 3891 src/liblzma/api/lzma/index.h | 97 +++++++++++++++++++++-------------- 3892 src/liblzma/api/lzma/index_hash.h | 14 +++-- 3893 src/liblzma/api/lzma/lzma.h | 87 ++++++++++++++++--------------- 3894 src/liblzma/api/lzma/stream_flags.h | 12 ++-- 3895 src/liblzma/api/lzma/version.h | 10 ++-- 3896 src/liblzma/api/lzma/vli.h | 7 ++- 3897 12 files changed, 275 insertions(+), 197 deletions(-) 3898 3899commit 8e8ebc17c535a1f8846718059b48417409c37050 3900Author: Lasse Collin <lasse.collin@tukaani.org> 3901Date: 2009-08-18 00:30:09 +0300 3902 3903 Install faq.txt. 3904 3905 Makefile.am | 1 + 3906 1 files changed, 1 insertions(+), 0 deletions(-) 3907 3908commit b198e770a146e4a41f91a93f0b233713f2515848 3909Author: Lasse Collin <lasse.collin@tukaani.org> 3910Date: 2009-08-18 00:26:48 +0300 3911 3912 Updated faq.txt. 3913 3914 Some questions worth answering were removed, because I 3915 currently don't have good up to date answers to them. 3916 3917 doc/faq.txt | 239 ++++++++++++++++++----------------------------------------- 3918 1 files changed, 73 insertions(+), 166 deletions(-) 3919 3920commit fe111a25cd788d31b581996e4533910388a7f0a9 3921Author: Lasse Collin <lasse.collin@tukaani.org> 3922Date: 2009-08-17 22:45:50 +0300 3923 3924 Some xz man changes. 3925 3926 src/xz/xz.1 | 88 +++++++++++++++++++++++++++++------------------------------ 3927 1 files changed, 43 insertions(+), 45 deletions(-) 3928 3929commit 10242a21e9abda0c5c6a03501703cc40b8a699a5 3930Author: Lasse Collin <lasse.collin@tukaani.org> 3931Date: 2009-08-16 22:15:42 +0300 3932 3933 Updated THANKS. 3934 3935 THANKS | 1 + 3936 1 files changed, 1 insertions(+), 0 deletions(-) 3937 3938commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d 3939Author: Lasse Collin <lasse.collin@tukaani.org> 3940Date: 2009-08-16 22:15:13 +0300 3941 3942 Fix data corruption in LZ/LZMA2 encoder. 3943 3944 Thanks to Jonathan Stott for the bug report. 3945 3946 src/liblzma/lz/lz_encoder.h | 2 +- 3947 1 files changed, 1 insertions(+), 1 deletions(-) 3948 3949commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a 3950Author: Lasse Collin <lasse.collin@tukaani.org> 3951Date: 2009-08-13 15:15:37 +0300 3952 3953 Updated INSTALL and PACKAGERS to match the changes 3954 made in --enable-dynamic. 3955 3956 INSTALL | 20 ++++++++++++++++---- 3957 PACKAGERS | 11 ++++++----- 3958 2 files changed, 22 insertions(+), 9 deletions(-) 3959 3960commit 8238c4b2402f952c4e492e5b778aa272e57b6705 3961Author: Lasse Collin <lasse.collin@tukaani.org> 3962Date: 2009-08-13 15:03:46 +0300 3963 3964 Link lzmainfo against shared liblzma by default. 3965 3966 src/lzmainfo/Makefile.am | 4 ++-- 3967 1 files changed, 2 insertions(+), 2 deletions(-) 3968 3969commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c 3970Author: Lasse Collin <lasse.collin@tukaani.org> 3971Date: 2009-08-13 15:00:21 +0300 3972 3973 Make --enable-dynamic a tristate option. 3974 3975 Some programs will by default be linked against static 3976 liblzma and some against shared liblzma. --enable-dynamic 3977 now allows overriding the default to both directions 3978 (all dynamic or all static) even when building both 3979 shared and static liblzma. 3980 3981 This is quite messy compared to how simple thing it is supposed 3982 to be. The complexity is mostly due to Windows support. 3983 3984 configure.ac | 77 +++++++++++++++++++++++++++++++++++++++++++--------------- 3985 1 files changed, 57 insertions(+), 20 deletions(-) 3986 3987commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61 3988Author: Lasse Collin <lasse.collin@tukaani.org> 3989Date: 2009-08-13 12:56:47 +0300 3990 3991 Fix xz Makefile.am for the man page. 3992 3993 install-exec-hook -> install-data-hook 3994 3995 src/xz/Makefile.am | 2 ++ 3996 1 files changed, 2 insertions(+), 0 deletions(-) 3997 3998commit e51b4e49e800bd84e6d589dca2964d3985e88139 3999Author: Lasse Collin <lasse.collin@tukaani.org> 4000Date: 2009-08-13 12:55:45 +0300 4001 4002 Add lzmainfo for backward compatibility with LZMA Utils. 4003 4004 lzmainfo now links against static liblzma. In contrast 4005 to other command line tools in XZ Utils, linking lzmainfo 4006 against static liblzma by default is dumb. This will be 4007 fixed once I have fixed some related issues in configure.ac. 4008 4009 configure.ac | 1 + 4010 src/Makefile.am | 2 +- 4011 src/lzmainfo/Makefile.am | 29 ++++++ 4012 src/lzmainfo/lzmainfo.1 | 55 +++++++++++ 4013 src/lzmainfo/lzmainfo.c | 242 ++++++++++++++++++++++++++++++++++++++++++++++ 4014 5 files changed, 328 insertions(+), 1 deletions(-) 4015 4016commit a4165d0584376d948c213ec93c6065d24ff6a5e7 4017Author: Lasse Collin <lasse.collin@tukaani.org> 4018Date: 2009-08-13 12:42:36 +0300 4019 4020 Sync some error messages from xz to xzdec. 4021 4022 Make xz error message translation usable outside 4023 xz (at least in upcoming lzmainfo). 4024 4025 src/xz/main.c | 4 ++-- 4026 src/xzdec/xzdec.c | 6 +++--- 4027 2 files changed, 5 insertions(+), 5 deletions(-) 4028 4029commit df636eb4e066b4e154ce8e66e82c87ba1db652a6 4030Author: Lasse Collin <lasse.collin@tukaani.org> 4031Date: 2009-08-13 09:37:21 +0300 4032 4033 Add xz man page to manfiles in toplevel Makefile.am. 4034 4035 Makefile.am | 1 + 4036 1 files changed, 1 insertions(+), 0 deletions(-) 4037 4038commit 180bdf58ea5bb07941e0a99b304d9aa832198748 4039Author: Lasse Collin <lasse.collin@tukaani.org> 4040Date: 2009-08-13 09:37:01 +0300 4041 4042 Fix first line of xz man page. 4043 4044 src/xz/xz.1 | 2 +- 4045 1 files changed, 1 insertions(+), 1 deletions(-) 4046 4047commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4 4048Author: Lasse Collin <lasse.collin@tukaani.org> 4049Date: 2009-08-10 11:22:31 +0300 4050 4051 Added a rough version of the xz man page. 4052 4053 src/xz/Makefile.am | 15 + 4054 src/xz/xz.1 | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 4055 2 files changed, 1221 insertions(+), 0 deletions(-) 4056 4057commit e71903fc6101f1c039d702e335b08aad1e1b4100 4058Author: Jonathan Nieder <jrnieder@gmail.com> 4059Date: 2009-08-09 13:41:20 -0500 4060 4061 ���xzdiff a.xz b.xz��� always fails 4062 4063 Attempts to compare two compressed files result in no output and 4064 exit status 2. 4065 4066 Instead of going to standard output, ���diff��� output is being 4067 captured in the xz_status variable along with the exit status from 4068 the decompression commands. Later, when this variable is examined 4069 for nonzero status codes, numerals from dates in the ���diff��� output 4070 make it appear as though decompression failed. 4071 4072 So let the ���diff��� output leak to standard output with another file 4073 descriptor. (This trick is used in all similar contexts elsewhere 4074 in xzdiff and in the analogous context in gzip���s zdiff script.) 4075 4076 src/scripts/xzdiff.in | 2 +- 4077 1 files changed, 1 insertions(+), 1 deletions(-) 4078 4079commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c 4080Author: Jonathan Nieder <jrnieder@gmail.com> 4081Date: 2009-08-09 13:22:12 -0500 4082 4083 xzless: Support compressed standard input 4084 4085 It can be somewhat confusing that 4086 4087 less < some_file.txt 4088 4089 works fine, whereas 4090 4091 xzless < some_file.txt.xz 4092 4093 does not. Since version 429, ���less��� allows a filter specified in 4094 the LESSOPEN environment variable to preprocess its input even if 4095 it comes from standard input, if $LESSOPEN begins with ���|-���. So 4096 set $LESSOPEN to take advantage of this feature. 4097 4098 Check less���s version at runtime so xzless can continue to work 4099 with older versions. 4100 4101 src/scripts/xzless.in | 8 +++++++- 4102 1 files changed, 7 insertions(+), 1 deletions(-) 4103 4104commit a7f5d2fe4826ac68839d00059f05004fb81d5c69 4105Author: Lasse Collin <lasse.collin@tukaani.org> 4106Date: 2009-08-09 20:57:46 +0300 4107 4108 GPLv2+ not GPLv2 for Doxyfile.in is probably OK. 4109 4110 Doxyfile.in | 2 +- 4111 1 files changed, 1 insertions(+), 1 deletions(-) 4112 4113commit b735cde20cc14857136ae65a0e5d336ed7ddc862 4114Author: Lasse Collin <lasse.collin@tukaani.org> 4115Date: 2009-08-02 00:27:29 +0300 4116 4117 Added a copyright notice to Doxyfile.in since it contains 4118 lots of comments from Doxygen. 4119 4120 It seems that the Doxygen authors' intent is to not apply 4121 their copyright on generated files, but since it doesn't 4122 matter for XZ Utils at all, better safe than sorry. 4123 4124 Doxyfile.in | 3 +++ 4125 1 files changed, 3 insertions(+), 0 deletions(-) 4126 4127commit 0fd157cc008446adfc8f91394f5503868025a642 4128Author: Lasse Collin <lasse.collin@tukaani.org> 4129Date: 2009-08-02 00:11:37 +0300 4130 4131 Updated THANKS. 4132 4133 THANKS | 1 + 4134 1 files changed, 1 insertions(+), 0 deletions(-) 4135 4136commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f 4137Author: Lasse Collin <lasse.collin@tukaani.org> 4138Date: 2009-08-02 00:10:22 +0300 4139 4140 Updated TODO. 4141 4142 TODO | 4 ++++ 4143 1 files changed, 4 insertions(+), 0 deletions(-) 4144 4145commit 669413bb2db954bbfde3c4542fddbbab53891eb4 4146Author: Lasse Collin <lasse.collin@tukaani.org> 4147Date: 2009-07-30 12:25:55 +0300 4148 4149 Updated THANKS. 4150 4151 THANKS | 1 + 4152 1 files changed, 1 insertions(+), 0 deletions(-) 4153 4154commit dbbd8fb870ae789d96497911006c869d37148c15 4155Author: Jonathan Nieder <jrnieder@gmail.com> 4156Date: 2009-07-28 17:37:24 -0500 4157 4158 xzdiff: add missing ;; to case statement 4159 4160 src/scripts/xzdiff.in | 6 +++--- 4161 1 files changed, 3 insertions(+), 3 deletions(-) 4162 4163commit adbad2d16cb5909f85d4a429011005613ea62ffe 4164Author: Lasse Collin <lasse.collin@tukaani.org> 4165Date: 2009-07-24 13:15:06 +0300 4166 4167 Added history.txt to doc_DATA. 4168 4169 Makefile.am | 1 + 4170 1 files changed, 1 insertions(+), 0 deletions(-) 4171 4172commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27 4173Author: Lasse Collin <lasse.collin@tukaani.org> 4174Date: 2009-07-24 12:00:40 +0300 4175 4176 Updated .gitignore files. 4177 4178 .gitignore | 36 +++++++++++++++++++----------------- 4179 po/.gitignore | 3 +++ 4180 2 files changed, 22 insertions(+), 17 deletions(-) 4181 4182commit 2f34fb269265e3aba43a2a9c734020a45268826d 4183Author: Lasse Collin <lasse.collin@tukaani.org> 4184Date: 2009-07-24 11:34:02 +0300 4185 4186 Minor improvements to COPYING. 4187 4188 COPYING | 11 ++++++++--- 4189 1 files changed, 8 insertions(+), 3 deletions(-) 4190 4191commit 0db1befcfbc120377df4b89923762f16d25f548a 4192Author: Lasse Collin <lasse.collin@tukaani.org> 4193Date: 2009-07-23 19:10:55 +0300 4194 4195 Fix incorrect usage of getopt_long(), which caused 4196 invalid memory access if XZ_OPT was defined. 4197 4198 src/xz/args.c | 1 - 4199 1 files changed, 0 insertions(+), 1 deletions(-) 4200 4201commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48 4202Author: Lasse Collin <lasse.collin@tukaani.org> 4203Date: 2009-07-20 15:43:32 +0300 4204 4205 Avoid internal error with --format=xz --lzma1. 4206 4207 src/xz/coder.c | 16 ++++++++++++---- 4208 1 files changed, 12 insertions(+), 4 deletions(-) 4209 4210commit 99f9e879a6a8bb54a65da99c12e0f390216c152a 4211Author: Lasse Collin <lasse.collin@tukaani.org> 4212Date: 2009-07-19 13:14:20 +0300 4213 4214 Major documentation update. 4215 4216 Installation and packaging instructions were added. 4217 README and other generic docs were revised. 4218 4219 Some of the documentation files are now installed to $docdir. 4220 4221 AUTHORS | 35 ++++-- 4222 ChangeLog | 7 +- 4223 INSTALL | 327 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4224 INSTALL.generic | 302 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4225 Makefile.am | 11 ++ 4226 PACKAGERS | 278 ++++++++++++++++++++++++++++++++++++++++++++++ 4227 README | 263 +++++++++++++++++++------------------------- 4228 THANKS | 17 ++-- 4229 8 files changed, 1070 insertions(+), 170 deletions(-) 4230 4231commit ef4cf1851de89022cba5674784f1a8f6343c15b0 4232Author: Lasse Collin <lasse.collin@tukaani.org> 4233Date: 2009-07-19 11:09:31 +0300 4234 4235 Added missing author notice to xzless.in. 4236 4237 src/scripts/xzless.in | 1 + 4238 1 files changed, 1 insertions(+), 0 deletions(-) 4239 4240commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77 4241Author: Lasse Collin <lasse.collin@tukaani.org> 4242Date: 2009-07-18 18:54:55 +0300 4243 4244 Use AC_CONFIG_AUX_DIR to clean up the toplevel directory 4245 a little. 4246 4247 Fixed a related bug in the toplevel Makefile.am. 4248 4249 Added the build-aux directory to .gitignore. 4250 4251 .gitignore | 1 + 4252 Makefile.am | 1 - 4253 configure.ac | 3 ++- 4254 3 files changed, 3 insertions(+), 2 deletions(-) 4255 4256commit 366e436090a7a87215e9bf0e3ddcd55f05b50587 4257Author: Lasse Collin <lasse.collin@tukaani.org> 4258Date: 2009-07-18 14:34:08 +0300 4259 4260 Updated the totally outdated TODO file. 4261 4262 TODO | 117 +++++++++++++++-------------------------------------------------- 4263 1 files changed, 27 insertions(+), 90 deletions(-) 4264 4265commit 64e498c89d8b9966e8663f43bf64d47c26c55c62 4266Author: Lasse Collin <lasse.collin@tukaani.org> 4267Date: 2009-07-18 11:26:39 +0300 4268 4269 Added public domain notice into a few files. 4270 4271 src/common/common_w32res.rc | 9 ++++++++- 4272 src/liblzma/liblzma.pc.in | 7 +++++++ 4273 src/liblzma/liblzma_w32res.rc | 7 +++++++ 4274 src/xz/xz_w32res.rc | 7 +++++++ 4275 src/xzdec/xzdec_w32res.rc | 7 +++++++ 4276 5 files changed, 36 insertions(+), 1 deletions(-) 4277 4278commit a35755c5de808df027675688855d1b621a4fb428 4279Author: Lasse Collin <lasse.collin@tukaani.org> 4280Date: 2009-07-14 21:10:36 +0300 4281 4282 Allow extra commas in filter-specific options on xz command line. 4283 4284 This may slightly ease writing scripts that construct 4285 filter-specific option strings dynamically. 4286 4287 src/xz/options.c | 7 +++++++ 4288 1 files changed, 7 insertions(+), 0 deletions(-) 4289 4290commit 98f3cac1ad31191c5160a7e48398bf85141e941c 4291Author: Lasse Collin <lasse.collin@tukaani.org> 4292Date: 2009-07-14 18:04:31 +0300 4293 4294 Accept --lzma2=preset=6e where "e" is equivalent to --extreme 4295 when no custom chain is in use. 4296 4297 src/xz/options.c | 80 +++++++++++++++++++++++++++++++++++++++-------------- 4298 1 files changed, 59 insertions(+), 21 deletions(-) 4299 4300commit d873a09e956363e54bf58c577c8f7e487b6fb464 4301Author: Lasse Collin <lasse.collin@tukaani.org> 4302Date: 2009-07-12 19:08:30 +0300 4303 4304 Add dist-hook to create ChangeLog from the commit log, 4305 and to conver the man pages to PDF and plain text, which 4306 may be convenient to those who cannot render man pages. 4307 4308 Makefile.am | 31 +++++++++++++++++++++++++++++++ 4309 1 files changed, 31 insertions(+), 0 deletions(-) 4310 4311commit cd69a5a6c16c289f6f8e2823b03c72289472270f 4312Author: Lasse Collin <lasse.collin@tukaani.org> 4313Date: 2009-07-10 11:39:38 +0300 4314 4315 BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR. 4316 4317 This is a quick and slightly dirty fix to make the code 4318 conform to the latest file format specification. Without 4319 this patch, it's possible to make corrupt files by 4320 specifying start offset that is not a multiple of the 4321 filter's alignment. Custom start offset is almost never 4322 used, so this was only a minor bug. 4323 4324 The xz command line tool doesn't validate the start offset, 4325 so one will get a bit unclear error message if trying to use 4326 an invalid start offset. 4327 4328 src/liblzma/simple/arm.c | 2 +- 4329 src/liblzma/simple/armthumb.c | 2 +- 4330 src/liblzma/simple/ia64.c | 2 +- 4331 src/liblzma/simple/powerpc.c | 2 +- 4332 src/liblzma/simple/simple_coder.c | 5 ++++- 4333 src/liblzma/simple/simple_private.h | 3 ++- 4334 src/liblzma/simple/sparc.c | 2 +- 4335 src/liblzma/simple/x86.c | 2 +- 4336 8 files changed, 12 insertions(+), 8 deletions(-) 4337 4338commit eed9953732b801f6c97317fb3160445a8754180b 4339Author: Lasse Collin <lasse.collin@tukaani.org> 4340Date: 2009-07-10 11:33:21 +0300 4341 4342 Look for full command names instead of substrings 4343 like "un", "cat", and "lz" when determining if 4344 xz is run as unxz, xzcat, lzma, unlzma, or lzcat. 4345 4346 This is to ensure that if xz is renamed (e.g. via 4347 --program-transform-name), it doesn't so easily 4348 work in wrong mode. 4349 4350 src/xz/args.c | 22 +++++++++++++--------- 4351 1 files changed, 13 insertions(+), 9 deletions(-) 4352 4353commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658 4354Author: Lasse Collin <lasse.collin@tukaani.org> 4355Date: 2009-07-08 23:06:46 +0300 4356 4357 Updated THANKS. 4358 4359 THANKS | 2 ++ 4360 1 files changed, 2 insertions(+), 0 deletions(-) 4361 4362commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e 4363Author: Lasse Collin <lasse.collin@tukaani.org> 4364Date: 2009-07-08 23:05:29 +0300 4365 4366 Portability improvement to version.sh. 4367 4368 version.sh | 3 ++- 4369 1 files changed, 2 insertions(+), 1 deletions(-) 4370 4371commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f 4372Author: Lasse Collin <lasse.collin@tukaani.org> 4373Date: 2009-07-08 22:50:16 +0300 4374 4375 Remove --force from xzdec. 4376 4377 It was ignored for compatibility with xz, but now that 4378 --decompress --stdout --force copies unrecognized files 4379 as is to stdout, simply ignoring --force in xzdec would 4380 be wrong. xzdec will not support copying unrecognized 4381 data as is to stdout, so it cannot support --force. 4382 4383 src/xzdec/xzdec.1 | 5 ----- 4384 src/xzdec/xzdec.c | 5 +---- 4385 2 files changed, 1 insertions(+), 9 deletions(-) 4386 4387commit 5f16ef4abf220028a9ddbcb138217597a9455f62 4388Author: Lasse Collin <lasse.collin@tukaani.org> 4389Date: 2009-07-06 10:36:04 +0300 4390 4391 Use sed instead of $(SED) so that we don't need to 4392 use AC_PROG_SED. We don't do anything fancy with sed, 4393 so this should work OK. libtool 2.2 sets SED but 1.5 4394 doesn't, so $(SED) happened to work when using libtool 2.2. 4395 4396 src/liblzma/Makefile.am | 2 +- 4397 src/scripts/Makefile.am | 28 ++++++++++++++-------------- 4398 src/xz/Makefile.am | 6 +++--- 4399 src/xzdec/Makefile.am | 6 +++--- 4400 4 files changed, 21 insertions(+), 21 deletions(-) 4401 4402commit 96e4b257e101d72072d43e144897d92920270669 4403Author: Lasse Collin <lasse.collin@tukaani.org> 4404Date: 2009-07-05 22:25:17 +0300 4405 4406 Major update to the xzgrep and other scripts based on 4407 the latest versions found from gzip CVS repository. 4408 4409 configure will try to find a POSIX shell to be used by 4410 the scripts. This should ease portability on systems 4411 which have pre-POSIX /bin/sh. 4412 4413 xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. 4414 xzmore and xzless support only .xz and .lzma files. 4415 4416 The name of the xz executable used in these scripts is 4417 now correct even if --program-transform-name has been used. 4418 4419 configure.ac | 14 ++++ 4420 m4/posix-shell.m4 | 63 +++++++++++++++ 4421 src/scripts/Makefile.am | 24 +++--- 4422 src/scripts/xzdiff | 67 ---------------- 4423 src/scripts/xzdiff.1 | 58 +++++++++----- 4424 src/scripts/xzdiff.in | 172 +++++++++++++++++++++++++++++++++++++++++ 4425 src/scripts/xzgrep | 123 ----------------------------- 4426 src/scripts/xzgrep.1 | 85 ++++++++++++-------- 4427 src/scripts/xzgrep.in | 196 +++++++++++++++++++++++++++++++++++++++++++++++ 4428 src/scripts/xzless.1 | 66 ++++++++++++++++ 4429 src/scripts/xzless.in | 51 ++++++++++++ 4430 src/scripts/xzmore | 74 ------------------ 4431 src/scripts/xzmore.1 | 64 ++++++--------- 4432 src/scripts/xzmore.in | 78 +++++++++++++++++++ 4433 14 files changed, 766 insertions(+), 369 deletions(-) 4434 4435commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100 4436Author: Lasse Collin <lasse.collin@tukaani.org> 4437Date: 2009-07-05 19:26:53 +0300 4438 4439 Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in. 4440 4441 src/liblzma/liblzma.pc.in | 2 +- 4442 1 files changed, 1 insertions(+), 1 deletions(-) 4443 4444commit 18c10c30d2833f394cd7bce0e6a821044b15832f 4445Author: Lasse Collin <lasse.collin@tukaani.org> 4446Date: 2009-07-04 00:40:44 +0300 4447 4448 Make "xz --decompress --stdout --force" copy unrecognized 4449 files as is to standard output. 4450 4451 This feature is needed to be more compatible with gzip's 4452 behavior. This was more complicated to implement than it 4453 sounds, because the way liblzma is able to return errors with 4454 files of only a few bytes in size. xz now has its own file 4455 type detection code and no longer uses lzma_auto_decoder(). 4456 4457 src/xz/coder.c | 213 ++++++++++++++++++++++++++++++++++++++++++++++--------- 4458 1 files changed, 178 insertions(+), 35 deletions(-) 4459 4460commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633 4461Author: Lasse Collin <lasse.collin@tukaani.org> 4462Date: 2009-07-02 14:30:38 +0300 4463 4464 Define PACKAGE_HOMEPAGE in configure.ac and use it in 4465 xz and xzdec. 4466 4467 Use also PACKAGE_NAME instead of hardcoding "XZ Utils". 4468 4469 configure.ac | 5 +++++ 4470 src/xz/message.c | 4 ++-- 4471 src/xzdec/xzdec.c | 4 ++-- 4472 3 files changed, 9 insertions(+), 4 deletions(-) 4473 4474commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c 4475Author: Lasse Collin <lasse.collin@tukaani.org> 4476Date: 2009-07-01 12:21:24 +0300 4477 4478 Avoid visibility related compiler warnings on Windows. 4479 4480 configure.ac | 20 +++++++++----------- 4481 1 files changed, 9 insertions(+), 11 deletions(-) 4482 4483commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e 4484Author: Lasse Collin <lasse.collin@tukaani.org> 4485Date: 2009-06-30 17:14:39 +0300 4486 4487 Use static liblzma by default also for tests. 4488 4489 tests/Makefile.am | 5 ++++- 4490 1 files changed, 4 insertions(+), 1 deletions(-) 4491 4492commit f42ee981668b545ab6d06c6072e262c29605273c 4493Author: Lasse Collin <lasse.collin@tukaani.org> 4494Date: 2009-06-30 17:09:57 +0300 4495 4496 Build system fixes 4497 4498 Don't use libtool convenience libraries to avoid recently 4499 discovered long-standing subtle but somewhat severe bugs 4500 in libtool (at least 1.5.22 and 2.2.6 are affected). It 4501 was found when porting XZ Utils to Windows 4502 <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> 4503 but the problem is significant also e.g. on GNU/Linux. 4504 4505 Unless --disable-shared is passed to configure, static 4506 library built from a set of convenience libraries will 4507 contain PIC objects. That is, while libtool builds non-PIC 4508 objects too, only PIC objects will be used from the 4509 convenience libraries. On 32-bit x86 (tested on mobile XP2400+), 4510 using PIC instead of non-PIC makes the decompressor 10 % slower 4511 with the default CFLAGS. 4512 4513 So while xz was linked against static liblzma by default, 4514 it got the slower PIC objects unless --disable-shared was 4515 used. I tend develop and benchmark with --disable-shared 4516 due to faster build time, so I hadn't noticed the problem 4517 in benchmarks earlier. 4518 4519 This commit also adds support for building Windows resources 4520 into liblzma and executables. 4521 4522 configure.ac | 34 ++++++++++----- 4523 src/liblzma/Makefile.am | 79 +++++++++++++++++++++++++++------- 4524 src/liblzma/check/Makefile.am | 47 --------------------- 4525 src/liblzma/check/Makefile.inc | 51 ++++++++++++++++++++++ 4526 src/liblzma/common/Makefile.am | 78 ---------------------------------- 4527 src/liblzma/common/Makefile.inc | 67 +++++++++++++++++++++++++++++ 4528 src/liblzma/common/common.h | 16 ++++--- 4529 src/liblzma/delta/Makefile.am | 28 ------------ 4530 src/liblzma/delta/Makefile.inc | 23 ++++++++++ 4531 src/liblzma/lz/Makefile.am | 29 ------------- 4532 src/liblzma/lz/Makefile.inc | 21 +++++++++ 4533 src/liblzma/lzma/Makefile.am | 51 ---------------------- 4534 src/liblzma/lzma/Makefile.inc | 43 +++++++++++++++++++ 4535 src/liblzma/rangecoder/Makefile.am | 26 ----------- 4536 src/liblzma/rangecoder/Makefile.inc | 21 +++++++++ 4537 src/liblzma/simple/Makefile.am | 51 ---------------------- 4538 src/liblzma/simple/Makefile.inc | 47 +++++++++++++++++++++ 4539 src/liblzma/subblock/Makefile.am | 26 ----------- 4540 src/liblzma/subblock/Makefile.inc | 20 +++++++++ 4541 src/xz/Makefile.am | 11 ++++- 4542 src/xzdec/Makefile.am | 20 ++++++++- 4543 21 files changed, 417 insertions(+), 372 deletions(-) 4544 4545commit 89dac1db6f168d7469cfbc4432651d4724c5c0de 4546Author: Lasse Collin <lasse.collin@tukaani.org> 4547Date: 2009-06-29 22:19:51 +0300 4548 4549 Added a comment about "autoconf -fi" to autogen.sh. 4550 4551 autogen.sh | 3 +++ 4552 1 files changed, 3 insertions(+), 0 deletions(-) 4553 4554commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd 4555Author: Lasse Collin <lasse.collin@tukaani.org> 4556Date: 2009-06-28 10:04:24 +0300 4557 4558 Add -no-undefined to get shared liblzma on Windows. 4559 4560 src/liblzma/Makefile.am | 2 +- 4561 1 files changed, 1 insertions(+), 1 deletions(-) 4562 4563commit 73f560ee5fa064992b76688d9472baf139432540 4564Author: Lasse Collin <lasse.collin@tukaani.org> 4565Date: 2009-06-27 22:57:15 +0300 4566 4567 Make physmem() work on Cygwin 1.5 and older. 4568 4569 src/common/physmem.h | 77 ++++++++++++++++++++++++++------------------------ 4570 1 files changed, 40 insertions(+), 37 deletions(-) 4571 4572commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 4573Author: Lasse Collin <lasse.collin@tukaani.org> 4574Date: 2009-06-27 17:28:01 +0300 4575 4576 Moved the Windows resource files outside the windows directory 4577 to prepare for building them with Autotools. 4578 4579 src/common/common_w32res.rc | 46 +++++++++++++++++++++++++++++++++++++++++ 4580 src/liblzma/liblzma_w32res.rc | 5 ++++ 4581 src/xz/xz_w32res.rc | 5 ++++ 4582 src/xzdec/lzmadec_w32res.rc | 5 ++++ 4583 src/xzdec/xzdec_w32res.rc | 5 ++++ 4584 windows/Makefile | 35 +++++++++++++++++-------------- 4585 windows/common.rc | 46 ----------------------------------------- 4586 windows/liblzma.rc | 5 ---- 4587 windows/lzmadec.rc | 5 ---- 4588 windows/xz.rc | 5 ---- 4589 windows/xzdec.rc | 5 ---- 4590 11 files changed, 85 insertions(+), 82 deletions(-) 4591 4592commit 449c634674f35336a4815d398172e447659a135e 4593Author: Lasse Collin <lasse.collin@tukaani.org> 4594Date: 2009-06-27 13:05:03 +0300 4595 4596 Added missing $(EXEEXT). 4597 4598 src/xz/Makefile.am | 2 +- 4599 1 files changed, 1 insertions(+), 1 deletions(-) 4600 4601commit 792db79f27ad9ab1fb977e23be65c7761f545752 4602Author: Lasse Collin <lasse.collin@tukaani.org> 4603Date: 2009-06-27 12:32:40 +0300 4604 4605 Create correct symlinks even when 4606 --program-{prefix,suffix,transform} is passed to configure. 4607 4608 src/scripts/Makefile.am | 80 +++++++++++++++++++++++++++-------------------- 4609 src/xz/Makefile.am | 21 +++++++----- 4610 src/xzdec/Makefile.am | 9 +++-- 4611 3 files changed, 65 insertions(+), 45 deletions(-) 4612 4613commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b 4614Author: Lasse Collin <lasse.collin@tukaani.org> 4615Date: 2009-06-27 10:02:24 +0300 4616 4617 Silence a compiler warning on DOS-like systems. 4618 4619 src/xz/file_io.c | 5 ++++- 4620 1 files changed, 4 insertions(+), 1 deletions(-) 4621 4622commit ad12edc95254ede3f0cb8dec8645e8789e984c4f 4623Author: Lasse Collin <lasse.collin@tukaani.org> 4624Date: 2009-06-27 09:35:15 +0300 4625 4626 Updated the filenames in POTFILES.in too. 4627 4628 po/POTFILES.in | 4 ++-- 4629 1 files changed, 2 insertions(+), 2 deletions(-) 4630 4631commit b2b1f867532732fe9969131f8713bdd6b0731763 4632Author: Lasse Collin <lasse.collin@tukaani.org> 4633Date: 2009-06-27 00:43:06 +0300 4634 4635 Hopefully improved portability of the assembler code in 4636 Autotools based builds on Windows. 4637 4638 src/liblzma/check/crc32_x86.S | 8 +++++++- 4639 src/liblzma/check/crc64_x86.S | 8 +++++++- 4640 2 files changed, 14 insertions(+), 2 deletions(-) 4641 4642commit c393055947247627a09b6a6b8f20aa0c32f9be16 4643Author: Lasse Collin <lasse.collin@tukaani.org> 4644Date: 2009-06-26 21:17:29 +0300 4645 4646 Updated THANKS (most of today's commits are based on 4647 Charles Wilson's patches). 4648 4649 THANKS | 1 + 4650 1 files changed, 1 insertions(+), 0 deletions(-) 4651 4652commit da0af22e4b4139b8a10710945f8b245b3a77c97d 4653Author: Lasse Collin <lasse.collin@tukaani.org> 4654Date: 2009-06-26 21:00:35 +0300 4655 4656 Updated comments to match renamed files. 4657 4658 src/xz/coder.c | 2 +- 4659 src/xz/coder.h | 2 +- 4660 src/xz/file_io.c | 2 +- 4661 src/xz/file_io.h | 2 +- 4662 4 files changed, 4 insertions(+), 4 deletions(-) 4663 4664commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2 4665Author: Lasse Collin <lasse.collin@tukaani.org> 4666Date: 2009-06-26 20:49:54 +0300 4667 4668 Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] 4669 to avoid problems on systems with system headers with those 4670 names. 4671 4672 dos/Makefile | 4 +- 4673 src/xz/Makefile.am | 8 +- 4674 src/xz/coder.c | 488 +++++++++++++++++++++++++++++++++++ 4675 src/xz/coder.h | 57 ++++ 4676 src/xz/file_io.c | 716 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 4677 src/xz/file_io.h | 86 +++++++ 4678 src/xz/io.c | 716 ---------------------------------------------------- 4679 src/xz/io.h | 86 ------- 4680 src/xz/private.h | 4 +- 4681 src/xz/process.c | 488 ----------------------------------- 4682 src/xz/process.h | 57 ---- 4683 windows/Makefile | 4 +- 4684 12 files changed, 1357 insertions(+), 1357 deletions(-) 4685 4686commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 4687Author: Lasse Collin <lasse.collin@tukaani.org> 4688Date: 2009-06-26 20:43:36 +0300 4689 4690 Rename process_file() to coder_run(). 4691 4692 src/xz/main.c | 6 +++--- 4693 src/xz/process.c | 6 +++--- 4694 src/xz/process.h | 5 ++--- 4695 3 files changed, 8 insertions(+), 9 deletions(-) 4696 4697commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc 4698Author: Lasse Collin <lasse.collin@tukaani.org> 4699Date: 2009-06-26 20:36:45 +0300 4700 4701 Ugly hack to make it possible to use the thousand separator 4702 format character with snprintf() on POSIX systems but not 4703 on non-POSIX systems and still keep xgettext working. 4704 4705 dos/Makefile | 16 +++------------- 4706 src/xz/message.c | 17 +++++++++-------- 4707 src/xz/process.c | 30 +++++++++++++++--------------- 4708 src/xz/util.c | 34 ++++++++++++++++++++++++++++++++++ 4709 src/xz/util.h | 20 ++++++++++++++++++++ 4710 windows/Makefile | 13 +++---------- 4711 6 files changed, 84 insertions(+), 46 deletions(-) 4712 4713commit fe378d47074b16c52b00fe184d119287c68ce2e7 4714Author: Lasse Collin <lasse.collin@tukaani.org> 4715Date: 2009-06-26 15:40:40 +0300 4716 4717 Added missing source files to windows/Makefile. 4718 4719 windows/Makefile | 2 ++ 4720 1 files changed, 2 insertions(+), 0 deletions(-) 4721 4722commit 390a6408563067613b29de895cb40e4d0386d62c 4723Author: Lasse Collin <lasse.collin@tukaani.org> 4724Date: 2009-06-26 15:37:53 +0300 4725 4726 Basic support for building with Cygwin and MinGW using 4727 the Autotools based build system. It's not good yet, more 4728 fixes will follow. 4729 4730 configure.ac | 7 +++++++ 4731 src/liblzma/api/lzma.h | 7 +++++-- 4732 src/liblzma/check/crc32_x86.S | 7 ++++--- 4733 src/liblzma/check/crc64_x86.S | 7 ++++--- 4734 src/liblzma/common/common.h | 2 +- 4735 windows/Makefile | 16 +++++++--------- 4736 6 files changed, 28 insertions(+), 18 deletions(-) 4737 4738commit 1c9360b7d1197457aaad2f8888b99f1149861579 4739Author: Lasse Collin <lasse.collin@tukaani.org> 4740Date: 2009-06-26 14:47:31 +0300 4741 4742 Fix @variables@ to $(variables) in Makefile.am files. 4743 Fix the ordering of libgnu.a and LTLIBINTL on the linker 4744 command line and added missing LTLIBINTL to tests/Makefile.am. 4745 4746 debug/Makefile.am | 12 ++++++------ 4747 src/liblzma/check/Makefile.am | 4 ++-- 4748 src/liblzma/common/Makefile.am | 16 ++++++++-------- 4749 src/liblzma/delta/Makefile.am | 4 ++-- 4750 src/liblzma/lz/Makefile.am | 6 +++--- 4751 src/liblzma/lzma/Makefile.am | 8 ++++---- 4752 src/liblzma/rangecoder/Makefile.am | 4 ++-- 4753 src/liblzma/simple/Makefile.am | 4 ++-- 4754 src/liblzma/subblock/Makefile.am | 4 ++-- 4755 src/xz/Makefile.am | 21 +++++++++++---------- 4756 src/xzdec/Makefile.am | 19 ++++++++++--------- 4757 tests/Makefile.am | 12 +++++++----- 4758 12 files changed, 59 insertions(+), 55 deletions(-) 4759 4760commit d45615c555e250209ebb55aa3649abe790f1eeac 4761Author: Lasse Collin <lasse.collin@tukaani.org> 4762Date: 2009-06-26 14:20:02 +0300 4763 4764 Allow to explicitly specify autotool versions in autogen.sh. 4765 4766 autogen.sh | 12 ++++++------ 4767 1 files changed, 6 insertions(+), 6 deletions(-) 4768 4769commit eaf8367368a329afa48785380f9dca6b681f3397 4770Author: Lasse Collin <lasse.collin@tukaani.org> 4771Date: 2009-06-26 14:18:32 +0300 4772 4773 Add version.sh to EXTRA_DIST. 4774 4775 Makefile.am | 3 ++- 4776 1 files changed, 2 insertions(+), 1 deletions(-) 4777 4778commit b317b218e2d383dd27a700094c0de4510540ea18 4779Author: Lasse Collin <lasse.collin@tukaani.org> 4780Date: 2009-06-24 20:14:10 +0300 4781 4782 Support HW_PHYSMEM64 4783 4784 src/common/physmem.h | 30 +++++++++++++++++++----------- 4785 1 files changed, 19 insertions(+), 11 deletions(-) 4786 4787commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7 4788Author: Lasse Collin <lasse.collin@tukaani.org> 4789Date: 2009-06-24 13:01:59 +0300 4790 4791 Cast a char argument to isspace() to unsigned char. 4792 4793 src/xz/args.c | 11 +++++++++-- 4794 1 files changed, 9 insertions(+), 2 deletions(-) 4795 4796commit 1735d31ea347210e914df038eeea4b2626e76e42 4797Author: Lasse Collin <lasse.collin@tukaani.org> 4798Date: 2009-06-05 13:46:26 +0300 4799 4800 A few more spelling fixes. Released the .xz spec 1.0.3. 4801 4802 doc/xz-file-format.txt | 12 +++++++----- 4803 1 files changed, 7 insertions(+), 5 deletions(-) 4804 4805commit 8ed156ce894966103e895aa08f2a9fb912f6fad5 4806Author: Lasse Collin <lasse.collin@tukaani.org> 4807Date: 2009-06-04 23:42:12 +0300 4808 4809 Added xzdec man page. 4810 4811 src/xzdec/Makefile.am | 11 +++ 4812 src/xzdec/xzdec.1 | 173 +++++++++++++++++++++++++++++++++++++++++++++++++ 4813 2 files changed, 184 insertions(+), 0 deletions(-) 4814 4815commit f6df39afaa84f71439507178a49b2a5dda6e824c 4816Author: Lasse Collin <lasse.collin@tukaani.org> 4817Date: 2009-06-04 23:26:47 +0300 4818 4819 Harmonized xzdec --memory with xz --memory and made 4820 minor cleanups. 4821 4822 src/xzdec/xzdec.c | 74 ++++++++++++++++++++++++++++++++++++++--------------- 4823 1 files changed, 53 insertions(+), 21 deletions(-) 4824 4825commit 1774f27c61ce294a56712ca2f4785f90a62441bc 4826Author: Lasse Collin <lasse.collin@tukaani.org> 4827Date: 2009-06-04 22:59:55 +0300 4828 4829 Fix purporse -> purpose. Thanks to Andrew Dudman. 4830 Released .xz spec 1.0.2 due to this fix too. 4831 4832 THANKS | 1 + 4833 doc/xz-file-format.txt | 8 +++++--- 4834 src/liblzma/liblzma.pc.in | 2 +- 4835 windows/Makefile | 2 +- 4836 4 files changed, 8 insertions(+), 5 deletions(-) 4837 4838commit cb613455642f48fb51059e22018615f64c59b70f 4839Author: Lasse Collin <lasse.collin@tukaani.org> 4840Date: 2009-06-01 14:53:57 +0300 4841 4842 The .xz file format version 1.0.1 4843 4844 doc/xz-file-format.txt | 29 ++++++++++++++++++++++------- 4845 1 files changed, 22 insertions(+), 7 deletions(-) 4846 4847commit 083c23c680ff844846d177cfc58bb7a874e7e6b9 4848Author: Lasse Collin <lasse.collin@tukaani.org> 4849Date: 2009-05-26 14:48:48 +0300 4850 4851 Make the raw value of the Check field available to applications 4852 via lzma_block structure. 4853 4854 This changes ABI but not doesn't break API. 4855 4856 src/liblzma/api/lzma/block.h | 17 ++++++++++++++ 4857 src/liblzma/common/block_buffer_encoder.c | 1 + 4858 src/liblzma/common/block_decoder.c | 34 ++++++++++++---------------- 4859 src/liblzma/common/block_encoder.c | 21 +++++++---------- 4860 4 files changed, 42 insertions(+), 31 deletions(-) 4861 4862commit b4f5c814090dc07d4350453576305e41eb9c998d 4863Author: Lasse Collin <lasse.collin@tukaani.org> 4864Date: 2009-05-23 16:57:21 +0300 4865 4866 Remove undocumented alternative option names --bcj, --ppc, 4867 and --itanium. 4868 4869 src/xz/args.c | 3 --- 4870 1 files changed, 0 insertions(+), 3 deletions(-) 4871 4872commit b1edee2cdc7ef4411b1a21c07094ec763f071281 4873Author: Lasse Collin <lasse.collin@tukaani.org> 4874Date: 2009-05-23 15:12:23 +0300 4875 4876 Add support for specifying the BCJ filter start offset 4877 in the xz command line tool. 4878 4879 src/xz/args.c | 36 +++++++++++++++++++++--------------- 4880 src/xz/message.c | 14 ++++++++------ 4881 src/xz/options.c | 40 ++++++++++++++++++++++++++++++++++++++++ 4882 src/xz/options.h | 7 +++++++ 4883 4 files changed, 76 insertions(+), 21 deletions(-) 4884 4885commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb 4886Author: Lasse Collin <lasse.collin@tukaani.org> 4887Date: 2009-05-23 14:51:09 +0300 4888 4889 Updated THANKS. 4890 4891 THANKS | 2 ++ 4892 1 files changed, 2 insertions(+), 0 deletions(-) 4893 4894commit dcedb6998cefeca6597dd1219328a3abf5acf66d 4895Author: Lasse Collin <lasse.collin@tukaani.org> 4896Date: 2009-05-22 16:40:50 +0300 4897 4898 Added support for --quiet and --no-warn to xzdec. 4899 Cleaned up the --help message a little. 4900 4901 src/xzdec/xzdec.c | 76 ++++++++++++++++++++++++++++++++++------------------- 4902 1 files changed, 49 insertions(+), 27 deletions(-) 4903 4904commit 5f735dae80aa629853f4831d7b84ec1c614979eb 4905Author: Lasse Collin <lasse.collin@tukaani.org> 4906Date: 2009-05-22 15:11:52 +0300 4907 4908 Use the 40 % of RAM memory usage limit in xzdec too. 4909 4910 Update the memory usage info text in --help to match 4911 the text in xz --long-help. 4912 4913 src/xzdec/xzdec.c | 10 +++++----- 4914 1 files changed, 5 insertions(+), 5 deletions(-) 4915 4916commit b60376249e0c586910c4121fab4f791820cc1289 4917Author: Lasse Collin <lasse.collin@tukaani.org> 4918Date: 2009-05-22 14:43:00 +0300 4919 4920 Add --no-warn. 4921 4922 src/xz/args.c | 8 +++++++- 4923 src/xz/main.c | 17 +++++++++++++++++ 4924 src/xz/main.h | 6 ++++++ 4925 src/xz/message.c | 4 ++++ 4926 4 files changed, 34 insertions(+), 1 deletions(-) 4927 4928commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008 4929Author: Lasse Collin <lasse.collin@tukaani.org> 4930Date: 2009-05-22 14:27:40 +0300 4931 4932 Fix a comment. 4933 4934 src/xz/main.h | 2 +- 4935 1 files changed, 1 insertions(+), 1 deletions(-) 4936 4937commit 4dd21d23f22569285ae706b58b0e5904b8db1839 4938Author: Lasse Collin <lasse.collin@tukaani.org> 4939Date: 2009-05-22 14:21:20 +0300 4940 4941 Remove the --info option, which was an alias for --list. 4942 4943 src/xz/args.c | 1 - 4944 1 files changed, 0 insertions(+), 1 deletions(-) 4945 4946commit 8836139b63ce774bdd62abf17ab69b290e08229e 4947Author: Lasse Collin <lasse.collin@tukaani.org> 4948Date: 2009-05-22 12:27:43 +0300 4949 4950 If xz is run as lzma, unlzma, or lzcat, simply imply 4951 --format=lzma. This means that xz emulating lzma 4952 doesn't decompress .xz files, while before this 4953 commit it did. The new way is slightly simpler in 4954 code and especially in upcoming documentation. 4955 4956 src/xz/args.c | 17 ++++++----------- 4957 1 files changed, 6 insertions(+), 11 deletions(-) 4958 4959commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d 4960Author: Lasse Collin <lasse.collin@tukaani.org> 4961Date: 2009-05-22 11:29:50 +0300 4962 4963 Make the default memory usage limit 40 % of RAM for both 4964 compressing and decompressing. This should be OK now that 4965 xz automatically scales down the compression settings if 4966 they would exceed the memory usage limit (earlier, the limit 4967 for compression was increased to 90 % because low limit broke 4968 scripts that used "xz -9" on systems with low RAM). 4969 4970 Support spcifying the memory usage limit as a percentage 4971 of RAM (e.g. --memory=50%). 4972 4973 Support --threads=0 to reset the thread limit to the default 4974 value (number of available CPU cores). Use UINT32_MAX instead 4975 of SIZE_MAX as the maximum in args.c. hardware.c was already 4976 expecting uint32_t value. 4977 4978 Cleaned up the output of --help and --long-help. 4979 4980 src/xz/args.c | 28 +++++++++++++---- 4981 src/xz/hardware.c | 86 ++++++++++++++++++++++------------------------------ 4982 src/xz/hardware.h | 10 +++--- 4983 src/xz/message.c | 28 ++++++++--------- 4984 src/xz/process.c | 18 ++++------- 4985 5 files changed, 82 insertions(+), 88 deletions(-) 4986 4987commit 071b825b23911a69dd1cd2f8cda004ef8a781fae 4988Author: Lasse Collin <lasse.collin@tukaani.org> 4989Date: 2009-05-21 17:22:01 +0300 4990 4991 Support special value "max" where xz and xzdec accept an integer. 4992 Don't round the memory usage limit in xzdec --help to avoid 4993 an integer overflow and to not give wrong impression that 4994 the limit is high enough when it may not actually be. 4995 4996 src/xz/util.c | 4 ++++ 4997 src/xzdec/xzdec.c | 6 +++++- 4998 2 files changed, 9 insertions(+), 1 deletions(-) 4999 5000commit 03ca67fd37dd43fa7f590de340899cd497c10802 5001Author: ABCD <en.abcd@gmail.com> 5002Date: 2009-05-20 17:31:18 -0400 5003 5004 Install lzdiff, lzgrep, and lzmore as symlinks 5005 5006 This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. 5007 It also installs symlinks for the manual pages and removes the new 5008 symlinks on uninstall. 5009 5010 src/scripts/Makefile.am | 16 ++++++++++++++-- 5011 1 files changed, 14 insertions(+), 2 deletions(-) 5012 5013commit a6f43e64128a6da5cd641de1e1e527433b3e5638 5014Author: Lasse Collin <lasse.collin@tukaani.org> 5015Date: 2009-05-02 16:10:14 +0300 5016 5017 Use a GCC-specific #pragma instead of GCC-specific 5018 -Wno-uninitialized to silence a bogus warning. 5019 5020 configure.ac | 13 ------------- 5021 src/liblzma/check/Makefile.am | 5 ----- 5022 src/liblzma/check/sha256.c | 5 +++++ 5023 3 files changed, 5 insertions(+), 18 deletions(-) 5024 5025commit f6ce63ebdb45a857c8949960c83c9580ae888951 5026Author: Lasse Collin <lasse.collin@tukaani.org> 5027Date: 2009-05-02 14:46:50 +0300 5028 5029 Removed --disable-encoder and --disable-decoder. Use the values 5030 given to --enable-encoders and --enable-decoders to determine 5031 if any encoder or decoder support is wanted. 5032 5033 configure.ac | 48 ++++++++---------------------------------------- 5034 1 files changed, 8 insertions(+), 40 deletions(-) 5035 5036commit be06858d5cf8ba46557395035d821dc332f3f830 5037Author: Lasse Collin <lasse.collin@tukaani.org> 5038Date: 2009-05-01 11:28:52 +0300 5039 5040 Remove docs that are too outdated to be updated 5041 (rewrite will be better). 5042 5043 doc/liblzma-advanced.txt | 324 ---------------------------------------------- 5044 doc/liblzma-hacking.txt | 112 ---------------- 5045 doc/liblzma-intro.txt | 194 --------------------------- 5046 doc/liblzma-security.txt | 219 ------------------------------- 5047 doc/lzma-intro.txt | 107 --------------- 5048 5 files changed, 0 insertions(+), 956 deletions(-) 5049 5050commit 0255401e57c96af87c6b159eca28974e79430a82 5051Author: Lasse Collin <lasse.collin@tukaani.org> 5052Date: 2009-05-01 11:21:46 +0300 5053 5054 Added documentation about the legacy .lzma file format. 5055 5056 doc/lzma-file-format.txt | 166 ++++++++++++++++++++++++++++++++++++++++++++++ 5057 1 files changed, 166 insertions(+), 0 deletions(-) 5058 5059commit 1496ff437c46f38303e0e94c511ca604b3a11f85 5060Author: Lasse Collin <lasse.collin@tukaani.org> 5061Date: 2009-05-01 11:20:23 +0300 5062 5063 Renamed the file format specification to xz-file-format.txt 5064 which is the filename used on the WWW. 5065 5066 doc/file-format.txt | 1127 ------------------------------------------------ 5067 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++ 5068 2 files changed, 1127 insertions(+), 1127 deletions(-) 5069 5070commit 21c6b94373d239d7e86bd480fcd558e30391712f 5071Author: Lasse Collin <lasse.collin@tukaani.org> 5072Date: 2009-04-28 23:08:32 +0300 5073 5074 Fixed a crash in liblzma. 5075 5076 liblzma tries to avoid useless free()/malloc() pairs in 5077 initialization when multiple files are handled using the 5078 same lzma_stream. This didn't work with filter chains 5079 due to comparison of wrong pointers in lzma_next_coder_init(), 5080 making liblzma think that no memory reallocation is needed 5081 even when it actually is. 5082 5083 Easy way to trigger this bug is to decompress two files with 5084 a single xz command. The first file should have e.g. x86+LZMA2 5085 as the filter chain, and the second file just LZMA2. 5086 5087 src/liblzma/common/alone_decoder.c | 2 +- 5088 src/liblzma/common/alone_encoder.c | 4 ++-- 5089 src/liblzma/common/auto_decoder.c | 2 +- 5090 src/liblzma/common/block_decoder.c | 2 +- 5091 src/liblzma/common/block_encoder.c | 2 +- 5092 src/liblzma/common/common.h | 4 ++-- 5093 src/liblzma/common/easy_encoder.c | 2 +- 5094 src/liblzma/common/index_decoder.c | 2 +- 5095 src/liblzma/common/index_encoder.c | 2 +- 5096 src/liblzma/common/stream_decoder.c | 2 +- 5097 src/liblzma/common/stream_encoder.c | 2 +- 5098 11 files changed, 13 insertions(+), 13 deletions(-) 5099 5100commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c 5101Author: Lasse Collin <lasse.collin@tukaani.org> 5102Date: 2009-04-15 14:13:38 +0300 5103 5104 Fix uint32_t -> size_t in ARM and ARM-Thumb filters. 5105 5106 On 64-bit system it would have gone into infinite 5107 loop if a single input buffer was over 4 GiB (unlikely). 5108 5109 src/liblzma/simple/arm.c | 2 +- 5110 src/liblzma/simple/armthumb.c | 2 +- 5111 2 files changed, 2 insertions(+), 2 deletions(-) 5112 5113commit 31decdce041581e57c0d8a407d4795b114ef27ca 5114Author: Lasse Collin <lasse.collin@tukaani.org> 5115Date: 2009-04-14 11:48:46 +0300 5116 5117 Minor fixes to test files' README. 5118 5119 tests/files/README | 17 +++++++++-------- 5120 1 files changed, 9 insertions(+), 8 deletions(-) 5121 5122commit 4787d654434891c7df5b43959b0d2873718f06e0 5123Author: Lasse Collin <lasse.collin@tukaani.org> 5124Date: 2009-04-13 16:36:41 +0300 5125 5126 Updated history.txt. 5127 5128 doc/history.txt | 123 +++++++++++++++++++++++++++++------------------------- 5129 1 files changed, 66 insertions(+), 57 deletions(-) 5130 5131commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 5132Author: Lasse Collin <lasse.collin@tukaani.org> 5133Date: 2009-04-13 14:49:48 +0300 5134 5135 Quick & dirty update to support xz in diff/grep/more scripts. 5136 5137 src/scripts/Makefile.am | 38 +++++++++----- 5138 src/scripts/lzdiff | 67 ------------------------- 5139 src/scripts/lzdiff.1 | 51 ------------------- 5140 src/scripts/lzgrep | 123 ----------------------------------------------- 5141 src/scripts/lzgrep.1 | 61 ----------------------- 5142 src/scripts/lzmore | 74 ---------------------------- 5143 src/scripts/lzmore.1 | 55 --------------------- 5144 src/scripts/xzdiff | 67 +++++++++++++++++++++++++ 5145 src/scripts/xzdiff.1 | 58 ++++++++++++++++++++++ 5146 src/scripts/xzgrep | 123 +++++++++++++++++++++++++++++++++++++++++++++++ 5147 src/scripts/xzgrep.1 | 77 +++++++++++++++++++++++++++++ 5148 src/scripts/xzmore | 74 ++++++++++++++++++++++++++++ 5149 src/scripts/xzmore.1 | 66 +++++++++++++++++++++++++ 5150 13 files changed, 489 insertions(+), 445 deletions(-) 5151 5152commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc 5153Author: Lasse Collin <lasse.collin@tukaani.org> 5154Date: 2009-04-13 11:27:40 +0300 5155 5156 Put the interesting parts of XZ Utils into the public domain. 5157 Some minor documentation cleanups were made at the same time. 5158 5159 COPYING | 67 ++++++++++++++++++------ 5160 ChangeLog | 2 +- 5161 Doxyfile.in | 8 ++- 5162 Makefile.am | 13 +---- 5163 autogen.sh | 9 +++ 5164 configure.ac | 13 +---- 5165 debug/Makefile.am | 13 +---- 5166 debug/crc32.c | 13 +---- 5167 debug/full_flush.c | 13 +---- 5168 debug/hex2bin.c | 7 +-- 5169 debug/known_sizes.c | 13 +---- 5170 debug/memusage.c | 13 +---- 5171 debug/repeat.c | 13 +---- 5172 debug/sync_flush.c | 13 +---- 5173 doc/faq.txt | 38 +------------ 5174 lib/Makefile.am | 18 +++--- 5175 src/Makefile.am | 13 +---- 5176 src/common/bswap.h | 7 +-- 5177 src/common/cpucores.h | 7 +-- 5178 src/common/integer.h | 7 +-- 5179 src/common/mythread.h | 4 +- 5180 src/common/open_stdxxx.h | 7 +-- 5181 src/common/physmem.h | 7 +-- 5182 src/common/sysdefs.h | 13 +---- 5183 src/liblzma/Makefile.am | 13 +---- 5184 src/liblzma/api/Makefile.am | 13 +---- 5185 src/liblzma/api/lzma.h | 38 ++++++++----- 5186 src/liblzma/api/lzma/base.h | 20 +++---- 5187 src/liblzma/api/lzma/bcj.h | 18 +++---- 5188 src/liblzma/api/lzma/block.h | 18 +++---- 5189 src/liblzma/api/lzma/check.h | 18 +++---- 5190 src/liblzma/api/lzma/container.h | 18 +++---- 5191 src/liblzma/api/lzma/delta.h | 18 +++---- 5192 src/liblzma/api/lzma/filter.h | 18 +++---- 5193 src/liblzma/api/lzma/index.h | 18 +++---- 5194 src/liblzma/api/lzma/index_hash.h | 22 +++----- 5195 src/liblzma/api/lzma/lzma.h | 18 +++---- 5196 src/liblzma/api/lzma/stream_flags.h | 18 +++---- 5197 src/liblzma/api/lzma/subblock.h | 18 +++---- 5198 src/liblzma/api/lzma/version.h | 18 +++---- 5199 src/liblzma/api/lzma/vli.h | 42 +++++++-------- 5200 src/liblzma/check/Makefile.am | 8 +-- 5201 src/liblzma/check/check.c | 7 +-- 5202 src/liblzma/check/check.h | 7 +-- 5203 src/liblzma/check/crc32_fast.c | 30 ++++------ 5204 src/liblzma/check/crc32_small.c | 7 +-- 5205 src/liblzma/check/crc32_table.c | 7 +-- 5206 src/liblzma/check/crc32_tablegen.c | 7 +-- 5207 src/liblzma/check/crc32_x86.S | 21 +++++--- 5208 src/liblzma/check/crc64_fast.c | 20 +++---- 5209 src/liblzma/check/crc64_small.c | 7 +-- 5210 src/liblzma/check/crc64_table.c | 7 +-- 5211 src/liblzma/check/crc64_tablegen.c | 7 +-- 5212 src/liblzma/check/crc64_x86.S | 14 +++-- 5213 src/liblzma/check/crc_macros.h | 9 ++-- 5214 src/liblzma/check/sha256.c | 23 +++++--- 5215 src/liblzma/common/Makefile.am | 13 +---- 5216 src/liblzma/common/alone_decoder.c | 13 +---- 5217 src/liblzma/common/alone_decoder.h | 13 +---- 5218 src/liblzma/common/alone_encoder.c | 13 +---- 5219 src/liblzma/common/auto_decoder.c | 13 +---- 5220 src/liblzma/common/block_buffer_decoder.c | 13 +---- 5221 src/liblzma/common/block_buffer_encoder.c | 13 +---- 5222 src/liblzma/common/block_decoder.c | 13 +---- 5223 src/liblzma/common/block_decoder.h | 13 +---- 5224 src/liblzma/common/block_encoder.c | 13 +---- 5225 src/liblzma/common/block_encoder.h | 13 +---- 5226 src/liblzma/common/block_header_decoder.c | 13 +---- 5227 src/liblzma/common/block_header_encoder.c | 13 +---- 5228 src/liblzma/common/block_util.c | 13 +---- 5229 src/liblzma/common/bsr.h | 7 +-- 5230 src/liblzma/common/chunk_size.c | 13 +---- 5231 src/liblzma/common/common.c | 13 +---- 5232 src/liblzma/common/common.h | 13 +---- 5233 src/liblzma/common/easy_buffer_encoder.c | 13 +---- 5234 src/liblzma/common/easy_decoder_memusage.c | 13 +---- 5235 src/liblzma/common/easy_encoder.c | 13 +---- 5236 src/liblzma/common/easy_encoder_memusage.c | 13 +---- 5237 src/liblzma/common/easy_preset.c | 13 +---- 5238 src/liblzma/common/easy_preset.h | 13 +---- 5239 src/liblzma/common/filter_buffer_decoder.c | 13 +---- 5240 src/liblzma/common/filter_buffer_encoder.c | 13 +---- 5241 src/liblzma/common/filter_common.c | 13 +---- 5242 src/liblzma/common/filter_common.h | 13 +---- 5243 src/liblzma/common/filter_decoder.c | 13 +---- 5244 src/liblzma/common/filter_decoder.h | 13 +---- 5245 src/liblzma/common/filter_encoder.c | 13 +---- 5246 src/liblzma/common/filter_encoder.h | 13 +---- 5247 src/liblzma/common/filter_flags_decoder.c | 13 +---- 5248 src/liblzma/common/filter_flags_encoder.c | 13 +---- 5249 src/liblzma/common/index.c | 13 +---- 5250 src/liblzma/common/index.h | 13 +---- 5251 src/liblzma/common/index_decoder.c | 13 +---- 5252 src/liblzma/common/index_encoder.c | 13 +---- 5253 src/liblzma/common/index_encoder.h | 13 +---- 5254 src/liblzma/common/index_hash.c | 13 +---- 5255 src/liblzma/common/stream_buffer_decoder.c | 13 +---- 5256 src/liblzma/common/stream_buffer_encoder.c | 13 +---- 5257 src/liblzma/common/stream_decoder.c | 13 +---- 5258 src/liblzma/common/stream_decoder.h | 13 +---- 5259 src/liblzma/common/stream_encoder.c | 13 +---- 5260 src/liblzma/common/stream_encoder.h | 13 +---- 5261 src/liblzma/common/stream_flags_common.c | 13 +---- 5262 src/liblzma/common/stream_flags_common.h | 13 +---- 5263 src/liblzma/common/stream_flags_decoder.c | 13 +---- 5264 src/liblzma/common/stream_flags_encoder.c | 13 +---- 5265 src/liblzma/common/vli_decoder.c | 13 +---- 5266 src/liblzma/common/vli_encoder.c | 13 +---- 5267 src/liblzma/common/vli_size.c | 13 +---- 5268 src/liblzma/delta/Makefile.am | 13 +---- 5269 src/liblzma/delta/delta_common.c | 13 +---- 5270 src/liblzma/delta/delta_common.h | 13 +---- 5271 src/liblzma/delta/delta_decoder.c | 13 +---- 5272 src/liblzma/delta/delta_decoder.h | 13 +---- 5273 src/liblzma/delta/delta_encoder.c | 13 +---- 5274 src/liblzma/delta/delta_encoder.h | 13 +---- 5275 src/liblzma/delta/delta_private.h | 13 +---- 5276 src/liblzma/lz/Makefile.am | 13 +---- 5277 src/liblzma/lz/lz_decoder.c | 17 ++---- 5278 src/liblzma/lz/lz_decoder.h | 17 ++---- 5279 src/liblzma/lz/lz_encoder.c | 17 ++---- 5280 src/liblzma/lz/lz_encoder.h | 17 ++---- 5281 src/liblzma/lz/lz_encoder_hash.h | 13 +---- 5282 src/liblzma/lz/lz_encoder_mf.c | 17 ++---- 5283 src/liblzma/lzma/Makefile.am | 13 +---- 5284 src/liblzma/lzma/fastpos.h | 17 ++---- 5285 src/liblzma/lzma/fastpos_tablegen.c | 17 ++---- 5286 src/liblzma/lzma/lzma2_decoder.c | 17 ++---- 5287 src/liblzma/lzma/lzma2_decoder.h | 17 ++---- 5288 src/liblzma/lzma/lzma2_encoder.c | 17 ++---- 5289 src/liblzma/lzma/lzma2_encoder.h | 17 ++---- 5290 src/liblzma/lzma/lzma_common.h | 17 ++---- 5291 src/liblzma/lzma/lzma_decoder.c | 17 ++---- 5292 src/liblzma/lzma/lzma_decoder.h | 17 ++---- 5293 src/liblzma/lzma/lzma_encoder.c | 17 ++---- 5294 src/liblzma/lzma/lzma_encoder.h | 17 ++---- 5295 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 13 +---- 5296 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 13 +---- 5297 src/liblzma/lzma/lzma_encoder_presets.c | 13 +---- 5298 src/liblzma/lzma/lzma_encoder_private.h | 17 ++---- 5299 src/liblzma/rangecoder/Makefile.am | 13 +---- 5300 src/liblzma/rangecoder/price.h | 13 +---- 5301 src/liblzma/rangecoder/price_tablegen.c | 16 ++---- 5302 src/liblzma/rangecoder/range_common.h | 17 ++---- 5303 src/liblzma/rangecoder/range_decoder.h | 17 ++---- 5304 src/liblzma/rangecoder/range_encoder.h | 17 ++---- 5305 src/liblzma/simple/Makefile.am | 13 +---- 5306 src/liblzma/simple/arm.c | 17 ++---- 5307 src/liblzma/simple/armthumb.c | 17 ++---- 5308 src/liblzma/simple/ia64.c | 17 ++---- 5309 src/liblzma/simple/powerpc.c | 17 ++---- 5310 src/liblzma/simple/simple_coder.c | 13 +---- 5311 src/liblzma/simple/simple_coder.h | 14 +---- 5312 src/liblzma/simple/simple_decoder.c | 13 +---- 5313 src/liblzma/simple/simple_decoder.h | 13 +---- 5314 src/liblzma/simple/simple_encoder.c | 13 +---- 5315 src/liblzma/simple/simple_encoder.h | 13 +---- 5316 src/liblzma/simple/simple_private.h | 13 +---- 5317 src/liblzma/simple/sparc.c | 17 ++---- 5318 src/liblzma/simple/x86.c | 17 ++---- 5319 src/liblzma/subblock/Makefile.am | 13 +---- 5320 src/liblzma/subblock/subblock_decoder.c | 13 +---- 5321 src/liblzma/subblock/subblock_decoder.h | 13 +---- 5322 src/liblzma/subblock/subblock_decoder_helper.c | 13 +---- 5323 src/liblzma/subblock/subblock_decoder_helper.h | 13 +---- 5324 src/liblzma/subblock/subblock_encoder.c | 13 +---- 5325 src/liblzma/subblock/subblock_encoder.h | 13 +---- 5326 src/scripts/Makefile.am | 7 +++ 5327 src/xz/Makefile.am | 13 +---- 5328 src/xz/args.c | 13 +---- 5329 src/xz/args.h | 13 +---- 5330 src/xz/hardware.c | 13 +---- 5331 src/xz/hardware.h | 13 +---- 5332 src/xz/io.c | 13 +---- 5333 src/xz/io.h | 13 +---- 5334 src/xz/list.c | 13 +---- 5335 src/xz/main.c | 13 +---- 5336 src/xz/main.h | 13 +---- 5337 src/xz/message.c | 13 +---- 5338 src/xz/message.h | 13 +---- 5339 src/xz/options.c | 13 +---- 5340 src/xz/options.h | 13 +---- 5341 src/xz/private.h | 13 +---- 5342 src/xz/process.c | 13 +---- 5343 src/xz/process.h | 13 +---- 5344 src/xz/signals.c | 13 +---- 5345 src/xz/signals.h | 13 +---- 5346 src/xz/suffix.c | 13 +---- 5347 src/xz/suffix.h | 13 +---- 5348 src/xz/util.c | 13 +---- 5349 src/xz/util.h | 13 +---- 5350 src/xzdec/Makefile.am | 13 +---- 5351 src/xzdec/xzdec.c | 13 +---- 5352 tests/Makefile.am | 13 +---- 5353 tests/bcj_test.c | 7 +-- 5354 tests/create_compress_files.c | 13 +---- 5355 tests/test_block.c | 13 +---- 5356 tests/test_block_header.c | 13 +---- 5357 tests/test_check.c | 13 +---- 5358 tests/test_compress.sh | 13 +---- 5359 tests/test_files.sh | 13 +---- 5360 tests/test_filter_flags.c | 13 +---- 5361 tests/test_index.c | 13 +---- 5362 tests/test_stream_flags.c | 13 +---- 5363 tests/tests.h | 13 +---- 5364 windows/common.rc | 2 +- 5365 206 files changed, 866 insertions(+), 2021 deletions(-) 5366 5367commit e79c42d854657ae7f75613bd80c1a35ff7c525cb 5368Author: Lasse Collin <lasse.collin@tukaani.org> 5369Date: 2009-04-10 11:17:02 +0300 5370 5371 Fix off-by-one in LZ decoder. 5372 5373 Fortunately, this bug had no security risk other than accepting 5374 some corrupt files as valid. 5375 5376 src/liblzma/lz/lz_decoder.h | 2 +- 5377 1 files changed, 1 insertions(+), 1 deletions(-) 5378 5379commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af 5380Author: Pavel Roskin <proski@gnu.org> 5381Date: 2009-03-31 12:15:01 -0400 5382 5383 Fix minor typos in README 5384 5385 README | 6 +++--- 5386 1 files changed, 3 insertions(+), 3 deletions(-) 5387 5388commit 9bab5336ebd765ec4e12252f416eefdf04eba750 5389Author: Lasse Collin <lasse.collin@tukaani.org> 5390Date: 2009-03-31 21:52:51 +0300 5391 5392 Add a note and work-around instructions to README about 5393 problems detecting a C99 compiler when some standard 5394 headers are missing. 5395 5396 README | 11 +++++++++++ 5397 1 files changed, 11 insertions(+), 0 deletions(-) 5398 5399commit a0497ff7a06f9350349264fe9b52dfefc6d53ead 5400Author: Lasse Collin <lasse.collin@tukaani.org> 5401Date: 2009-03-18 16:54:38 +0200 5402 5403 Updated THANKS. 5404 5405 THANKS | 1 + 5406 1 files changed, 1 insertions(+), 0 deletions(-) 5407 5408commit 390e69887fc5e0a108eb41203bed9acd100a3d76 5409Author: Lasse Collin <lasse.collin@tukaani.org> 5410Date: 2009-03-18 16:51:41 +0200 5411 5412 Fix wrong macro names in lc_cpucores.m4 and cpucores.h. 5413 Thanks to Bert Wesarg. 5414 5415 m4/lc_cpucores.m4 | 4 ++-- 5416 src/common/cpucores.h | 4 ++-- 5417 2 files changed, 4 insertions(+), 4 deletions(-) 5418 5419commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6 5420Author: Lasse Collin <lasse.collin@tukaani.org> 5421Date: 2009-03-01 09:03:08 +0200 5422 5423 Test for Linux-specific sysinfo() only on Linux systems. 5424 Some other systems have sysinfo() with different semantics. 5425 5426 m4/lc_physmem.m4 | 28 +++++++++++++++++++--------- 5427 1 files changed, 19 insertions(+), 9 deletions(-) 5428 5429commit cf751edfde3ad6e088dc18e0522d31ae38405933 5430Author: Lasse Collin <lasse.collin@tukaani.org> 5431Date: 2009-03-01 09:00:06 +0200 5432 5433 Added AC_CONFIG_MACRO_DIR to configure.ac. 5434 5435 configure.ac | 1 + 5436 1 files changed, 1 insertions(+), 0 deletions(-) 5437 5438commit 63df14c57dee7c461717784287056688482a7eb9 5439Author: Lasse Collin <lasse.collin@tukaani.org> 5440Date: 2009-03-01 08:58:41 +0200 5441 5442 Fix the Autoconf test for getopt_long replacement. 5443 It was broken by e114502b2bc371e4a45449832cb69be036360722. 5444 5445 m4/getopt.m4 | 4 ++++ 5446 1 files changed, 4 insertions(+), 0 deletions(-) 5447 5448commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f 5449Author: Lasse Collin <lasse.collin@tukaani.org> 5450Date: 2009-02-22 19:07:54 +0200 5451 5452 Add a rough explanation of --extreme to output of --help. 5453 5454 src/xz/message.c | 4 ++++ 5455 1 files changed, 4 insertions(+), 0 deletions(-) 5456 5457commit 68bf7ac2984d3627369a240ef0491934d53f7899 5458Author: Lasse Collin <lasse.collin@tukaani.org> 5459Date: 2009-02-22 18:52:49 +0200 5460 5461 Fixes to progress message handling in xz: 5462 5463 - Don't use Windows-specific code on Windows. The old code 5464 required at least Windows 2000. Now it should work on 5465 Windows 98 and later, and maybe on Windows 95 too. 5466 5467 - Use less precision when showing estimated remaining time. 5468 5469 - Fix some small design issues. 5470 5471 src/xz/message.c | 483 ++++++++++++++++++++++++++++++++++-------------------- 5472 src/xz/message.h | 28 ++- 5473 src/xz/process.c | 53 +++--- 5474 3 files changed, 351 insertions(+), 213 deletions(-) 5475 5476commit 47c2e21f82242f50f18713a27d644c2c94ab3fea 5477Author: Lasse Collin <lasse.collin@tukaani.org> 5478Date: 2009-02-18 13:00:10 +0200 5479 5480 Added files missing from the previous commit. 5481 5482 src/liblzma/api/lzma/container.h | 33 +++++++++++++++++++++++++++++++++ 5483 src/liblzma/common/Makefile.am | 7 ++++++- 5484 2 files changed, 39 insertions(+), 1 deletions(-) 5485 5486commit 489a3dbaa0465f04400804e956a1cfbbee3654a2 5487Author: Lasse Collin <lasse.collin@tukaani.org> 5488Date: 2009-02-17 10:43:00 +0200 5489 5490 Added lzma_easy_buffer_encode(). Splitted easy.c into small 5491 pieces to avoid unneeded dependencies making statically 5492 linked applications bigger than needed. 5493 5494 dos/Makefile | 6 +- 5495 src/liblzma/common/easy.c | 128 ---------------------------- 5496 src/liblzma/common/easy_buffer_encoder.c | 34 ++++++++ 5497 src/liblzma/common/easy_decoder_memusage.c | 31 +++++++ 5498 src/liblzma/common/easy_encoder.c | 87 +++++++++++++++++++ 5499 src/liblzma/common/easy_encoder_memusage.c | 31 +++++++ 5500 src/liblzma/common/easy_preset.c | 34 ++++++++ 5501 src/liblzma/common/easy_preset.h | 39 +++++++++ 5502 windows/Makefile | 6 +- 5503 9 files changed, 266 insertions(+), 130 deletions(-) 5504 5505commit 7494816ab08d82f4d6409788825930c4e43cfd0d 5506Author: Lasse Collin <lasse.collin@tukaani.org> 5507Date: 2009-02-15 15:48:45 +0200 5508 5509 Make physmem.h work on old Windows versions. 5510 Thanks to Hongbo Ni for the original patch. 5511 5512 src/common/physmem.h | 31 +++++++++++++++++++++++++++---- 5513 1 files changed, 27 insertions(+), 4 deletions(-) 5514 5515commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0 5516Author: Lasse Collin <lasse.collin@tukaani.org> 5517Date: 2009-02-14 20:44:52 +0200 5518 5519 Fix microsecond vs. nanosecond confusion in my_time(). 5520 5521 src/xz/message.c | 2 +- 5522 1 files changed, 1 insertions(+), 1 deletions(-) 5523 5524commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7 5525Author: Lasse Collin <lasse.collin@tukaani.org> 5526Date: 2009-02-14 00:45:29 +0200 5527 5528 Cleanups to the code that detects the amount of RAM and 5529 the number of CPU cores. Added support for using sysinfo() 5530 on Linux systems whose libc lacks appropriate sysconf() 5531 support (at least dietlibc). The Autoconf macros were 5532 split into separate files, and CPU core count detection 5533 was moved from hardware.c to cpucores.h. The core count 5534 isn't used for anything real for now, so a problematic 5535 part in process.c was commented out. 5536 5537 configure.ac | 89 +----------------------------------------------- 5538 m4/lc_cpucores.m4 | 57 +++++++++++++++++++++++++++++++ 5539 m4/lc_physmem.m4 | 74 ++++++++++++++++++++++++++++++++++++++++ 5540 src/common/cpucores.h | 52 ++++++++++++++++++++++++++++ 5541 src/common/physmem.h | 21 +++++++---- 5542 src/xz/args.c | 4 +- 5543 src/xz/hardware.c | 50 ++++++++++++--------------- 5544 src/xz/hardware.h | 11 ++++-- 5545 src/xz/message.c | 5 ++- 5546 src/xz/process.c | 2 + 5547 10 files changed, 235 insertions(+), 130 deletions(-) 5548 5549commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8 5550Author: Lasse Collin <lasse.collin@tukaani.org> 5551Date: 2009-02-13 18:23:50 +0200 5552 5553 Initial port to DOS using DJGPP. 5554 5555 dos/Makefile | 261 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5556 dos/README | 113 +++++++++++++++++++++++++ 5557 dos/config.h | 150 +++++++++++++++++++++++++++++++++ 5558 3 files changed, 524 insertions(+), 0 deletions(-) 5559 5560commit 0dae8b7751d09e9c5a482d5519daaee4800ce203 5561Author: Lasse Collin <lasse.collin@tukaani.org> 5562Date: 2009-02-13 18:02:05 +0200 5563 5564 Windows port: Take advantage of the version number macros. 5565 Now the version number is not duplicated in the 5566 Windows-specific files anymore. 5567 5568 windows/Makefile | 2 +- 5569 windows/common.rc | 16 ++++++++-------- 5570 windows/config.h | 15 --------------- 5571 3 files changed, 9 insertions(+), 24 deletions(-) 5572 5573commit fdbc0cfa71f7d660855098a609175ba384259529 5574Author: Lasse Collin <lasse.collin@tukaani.org> 5575Date: 2009-02-13 18:00:03 +0200 5576 5577 Changed how the version number is specified in various places. 5578 Now configure.ac will get the version number directly from 5579 src/liblzma/api/lzma/version.h. The intent is to reduce the 5580 number of places where the version number is duplicated. In 5581 future, support for displaying Git commit ID may be added too. 5582 5583 configure.ac | 3 +- 5584 src/liblzma/api/lzma/version.h | 70 ++++++++++++++++++++++++++++++++++++++-- 5585 src/liblzma/common/common.c | 2 +- 5586 src/xz/message.c | 2 +- 5587 src/xzdec/xzdec.c | 2 +- 5588 version.sh | 23 +++++++++++++ 5589 6 files changed, 95 insertions(+), 7 deletions(-) 5590 5591commit 1d924e584b146136989f48c13fff2632896efb3d 5592Author: Lasse Collin <lasse.collin@tukaani.org> 5593Date: 2009-02-13 17:30:30 +0200 5594 5595 Fix handling of integrity check type in the xz command line tool. 5596 5597 src/xz/args.c | 9 ++++++++- 5598 src/xz/process.c | 4 ++++ 5599 2 files changed, 12 insertions(+), 1 deletions(-) 5600 5601commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8 5602Author: Lasse Collin <lasse.collin@tukaani.org> 5603Date: 2009-02-13 17:29:02 +0200 5604 5605 Improve support for DOS-like systems. 5606 Here DOS-like means DOS, Windows, and OS/2. 5607 5608 src/common/physmem.h | 12 ++++++++++++ 5609 src/common/sysdefs.h | 4 ++++ 5610 src/liblzma/check/crc32_x86.S | 6 +++--- 5611 src/liblzma/check/crc64_x86.S | 6 +++--- 5612 src/xz/args.c | 13 +++++-------- 5613 src/xz/io.c | 39 +++++++++++++++++++++++++-------------- 5614 src/xz/main.c | 23 +++++++++++++++++++++++ 5615 src/xz/message.c | 3 +++ 5616 src/xz/suffix.c | 5 +++++ 5617 src/xzdec/xzdec.c | 5 +++-- 5618 10 files changed, 86 insertions(+), 30 deletions(-) 5619 5620commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33 5621Author: Lasse Collin <lasse.collin@tukaani.org> 5622Date: 2009-02-11 20:02:32 +0200 5623 5624 Remove dead directories from .gitignore. 5625 5626 .gitignore | 2 -- 5627 1 files changed, 0 insertions(+), 2 deletions(-) 5628 5629commit 1ec5b0027911d94cb6f98892cbc690f818d8a861 5630Author: Jim Meyering <jim@meyering.net> 5631Date: 2009-02-11 14:45:14 +0100 5632 5633 .gitignore vs. Makefiles 5634 5635 How about this for those of us who do srcdir builds? 5636 5637 .gitignore | 22 ++++++++++++++++++++++ 5638 1 files changed, 22 insertions(+), 0 deletions(-) 5639 5640commit 154f5aec2de201c674841de4fcc9804c2a87af07 5641Author: Lasse Collin <lasse.collin@tukaani.org> 5642Date: 2009-02-10 21:48:35 +0200 5643 5644 Removed Makefile from .gitignore since not all Makefiles 5645 in the repository are generated by Autotools. People 5646 should do test builds in a separate build directory anyway. 5647 5648 .gitignore | 1 - 5649 1 files changed, 0 insertions(+), 1 deletions(-) 5650 5651commit e605c2663691b0a4c307786aa368d124ea081daa 5652Author: Lasse Collin <lasse.collin@tukaani.org> 5653Date: 2009-02-10 21:48:05 +0200 5654 5655 Added resource files for the Windows build. 5656 5657 windows/Makefile | 37 ++++++++++++++++++++++--------------- 5658 windows/common.rc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 5659 windows/liblzma.rc | 5 +++++ 5660 windows/lzmadec.rc | 5 +++++ 5661 windows/xz.rc | 5 +++++ 5662 windows/xzdec.rc | 5 +++++ 5663 6 files changed, 88 insertions(+), 15 deletions(-) 5664 5665commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476 5666Author: Lasse Collin <lasse.collin@tukaani.org> 5667Date: 2009-02-09 14:54:31 +0200 5668 5669 Let the user specify custom CFLAGS on the make command 5670 line. Previously custom CFLAGS worked only when they were 5671 passed to configure. 5672 5673 configure.ac | 58 +++++++++++++++++++++------------------- 5674 src/liblzma/check/Makefile.am | 2 +- 5675 2 files changed, 31 insertions(+), 29 deletions(-) 5676 5677commit 53f7598998b1860a69c51243b5d2e34623c6bf60 5678Author: Lasse Collin <lasse.collin@tukaani.org> 5679Date: 2009-02-08 21:35:11 +0200 5680 5681 Fix aliasing issue in physmem.h. 5682 5683 src/common/physmem.h | 19 ++++++++++--------- 5684 1 files changed, 10 insertions(+), 9 deletions(-) 5685 5686commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6 5687Author: Lasse Collin <lasse.collin@tukaani.org> 5688Date: 2009-02-08 18:24:50 +0200 5689 5690 Add a separate internal function to initialize the CRC32 5691 table, which is used also by LZ encoder. This was needed 5692 because calling lzma_crc32() and ignoring the result is 5693 a no-op due to lzma_attr_pure. 5694 5695 src/liblzma/check/check.h | 1 + 5696 src/liblzma/check/crc32_small.c | 10 +++++++++- 5697 src/liblzma/lz/lz_encoder.c | 4 ++-- 5698 3 files changed, 12 insertions(+), 3 deletions(-) 5699 5700commit ae1ad9af54210c9a2be336b1316532da5071516c 5701Author: Lasse Collin <lasse.collin@tukaani.org> 5702Date: 2009-02-08 18:17:05 +0200 5703 5704 Make "xz --force" to write to terminal as the error 5705 message suggests. 5706 5707 src/xz/main.c | 2 +- 5708 1 files changed, 1 insertions(+), 1 deletions(-) 5709 5710commit 79e25eded48d2fe33f31441ab7a034f902e335f8 5711Author: Lasse Collin <lasse.collin@tukaani.org> 5712Date: 2009-02-08 10:37:50 +0200 5713 5714 Support both slash and backslash as path component 5715 separator on Windows when parsing argv[0]. 5716 5717 src/xz/args.c | 9 +++++++++ 5718 1 files changed, 9 insertions(+), 0 deletions(-) 5719 5720commit bc7c7109cc4410055a888c1c70cbd1c9445c4361 5721Author: Lasse Collin <lasse.collin@tukaani.org> 5722Date: 2009-02-07 23:18:13 +0200 5723 5724 Omit the wrong and (even if corrected) nowadays useless rm 5725 from autogen.sh. 5726 5727 autogen.sh | 28 ---------------------------- 5728 1 files changed, 0 insertions(+), 28 deletions(-) 5729 5730commit edfc2031e56f8a2ccda063f02936b3a848d88723 5731Author: Lasse Collin <lasse.collin@tukaani.org> 5732Date: 2009-02-07 21:41:52 +0200 5733 5734 Updated THANKS. 5735 5736 THANKS | 1 + 5737 1 files changed, 1 insertions(+), 0 deletions(-) 5738 5739commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 5740Author: Lasse Collin <lasse.collin@tukaani.org> 5741Date: 2009-02-07 21:17:07 +0200 5742 5743 Make it easy to choose if command line tools should be 5744 linked statically or dynamically against liblzma. The 5745 default is still to use static liblzma, but it can now 5746 be changed by passing --enable-dynamic to configure. 5747 Thanks to Mike Frysinger for the original patch. 5748 5749 Fixed a few minor bugs in configure.ac. 5750 5751 configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ 5752 src/xz/Makefile.am | 8 +++----- 5753 src/xzdec/Makefile.am | 5 +++-- 5754 3 files changed, 45 insertions(+), 7 deletions(-) 5755 5756commit 3f86532407e4ace3debb62be16035e009b56ca36 5757Author: Mike Frysinger <vapier@gentoo.org> 5758Date: 2009-02-06 23:38:39 -0500 5759 5760 add gitignore files 5761 5762 Signed-off-by: Mike Frysinger <vapier@gentoo.org> 5763 5764 .gitignore | 32 ++++++++++++++++++++++++++++++++ 5765 m4/.gitignore | 35 +++++++++++++++++++++++++++++++++++ 5766 po/.gitignore | 12 ++++++++++++ 5767 3 files changed, 79 insertions(+), 0 deletions(-) 5768 5769commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5 5770Author: Lasse Collin <lasse.collin@tukaani.org> 5771Date: 2009-02-07 17:07:52 +0200 5772 5773 Assume 32 MiB of RAM on unsupported operating systems like 5774 the comment in hardware.c already said. 5775 5776 src/xz/hardware.c | 2 +- 5777 1 files changed, 1 insertions(+), 1 deletions(-) 5778 5779commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618 5780Author: Lasse Collin <lasse.collin@tukaani.org> 5781Date: 2009-02-07 16:26:58 +0200 5782 5783 MinGW support: Don't build fastpos_tablegen.c as part of 5784 liblzma. Build both static and dynamic liblzma, and also 5785 static and dynamic versions of the command line tools. 5786 5787 windows/Makefile | 92 ++++++++++++++++++++++++++++++++++++++++------------- 5788 windows/README | 10 ------ 5789 2 files changed, 69 insertions(+), 33 deletions(-) 5790 5791commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 5792Author: Lasse Collin <lasse.collin@tukaani.org> 5793Date: 2009-02-07 15:55:47 +0200 5794 5795 Support LZMA_API_STATIC in assembler files to 5796 avoid __declspec(dllexport) equivalent. 5797 5798 src/liblzma/check/crc32_x86.S | 4 ++++ 5799 src/liblzma/check/crc64_x86.S | 2 ++ 5800 2 files changed, 6 insertions(+), 0 deletions(-) 5801 5802commit 3306cf3883492720b3c34baa02f4eb4227d91c73 5803Author: Lasse Collin <lasse.collin@tukaani.org> 5804Date: 2009-02-07 11:11:50 +0200 5805 5806 Introduced LZMA_API_STATIC macro, which the applications 5807 need to #define when linking against static liblzma on 5808 platforms like Windows. Most developers don't need to 5809 care about LZMA_API_STATIC at all. 5810 5811 src/liblzma/api/lzma.h | 31 ++++++++++++++++++++++++------- 5812 src/liblzma/common/common.h | 2 +- 5813 2 files changed, 25 insertions(+), 8 deletions(-) 5814 5815commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b 5816Author: Lasse Collin <lasse.collin@tukaani.org> 5817Date: 2009-02-06 16:55:45 +0200 5818 5819 Another grammar fix 5820 5821 README | 2 +- 5822 1 files changed, 1 insertions(+), 1 deletions(-) 5823 5824commit fe5434f940f75fec3611cf9d9edf78c4da8ac760 5825Author: Lasse Collin <lasse.collin@tukaani.org> 5826Date: 2009-02-06 12:30:23 +0200 5827 5828 Grammar fix in README. 5829 5830 README | 2 +- 5831 1 files changed, 1 insertions(+), 1 deletions(-) 5832 5833commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245 5834Author: Lasse Collin <lasse.collin@tukaani.org> 5835Date: 2009-02-06 10:06:32 +0200 5836 5837 Some MSYS installations (e.g. MsysGit) don't include 5838 install.exe, so don't rely on it. 5839 5840 windows/Makefile | 12 +++++++----- 5841 windows/README | 11 ++++++----- 5842 2 files changed, 13 insertions(+), 10 deletions(-) 5843 5844commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31 5845Author: Lasse Collin <lasse.collin@tukaani.org> 5846Date: 2009-02-06 09:13:15 +0200 5847 5848 Recreated the BCJ test files for x86 and SPARC. The old files 5849 were linked with crt*.o, which are copyrighted, and thus the 5850 old test files were not in the public domain as a whole. They 5851 are freely distributable though, but it is better to be careful 5852 and avoid including any copyrighted pieces in the test files. 5853 The new files are just compiled and assembled object files, 5854 and thus don't contain any copyrighted code. 5855 5856 tests/bcj_test.c | 2 +- 5857 tests/compress_prepared_bcj_sparc | Bin 6804 -> 1240 bytes 5858 tests/compress_prepared_bcj_x86 | Bin 4649 -> 1388 bytes 5859 tests/files/good-1-sparc-lzma2.xz | Bin 2296 -> 612 bytes 5860 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 716 bytes 5861 5 files changed, 1 insertions(+), 1 deletions(-) 5862 5863commit 094b1b09a531f0d201ec81f2b07346a995fd80b9 5864Author: Lasse Collin <lasse.collin@tukaani.org> 5865Date: 2009-02-05 21:21:27 +0200 5866 5867 Add the "windows" directory to EXTRA_DIST. 5868 5869 Makefile.am | 1 + 5870 1 files changed, 1 insertions(+), 0 deletions(-) 5871 5872commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49 5873Author: Lasse Collin <lasse.collin@tukaani.org> 5874Date: 2009-02-05 09:17:51 +0200 5875 5876 Added initial experimental makefile for use with MinGW. 5877 5878 windows/Makefile | 253 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5879 windows/README | 164 +++++++++++++++++++++++++++++++++++ 5880 windows/config.h | 180 ++++++++++++++++++++++++++++++++++++++ 5881 3 files changed, 597 insertions(+), 0 deletions(-) 5882 5883commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9 5884Author: Lasse Collin <lasse.collin@tukaani.org> 5885Date: 2009-02-05 09:12:57 +0200 5886 5887 Various code cleanups the the xz command line tool. 5888 It now builds with MinGW. 5889 5890 src/common/physmem.h | 13 ++++ 5891 src/xz/Makefile.am | 2 + 5892 src/xz/args.h | 8 -- 5893 src/xz/hardware.h | 10 +--- 5894 src/xz/io.c | 93 +++++++++++++++++++------- 5895 src/xz/io.h | 12 +-- 5896 src/xz/main.c | 132 ++----------------------------------- 5897 src/xz/main.h | 22 ------ 5898 src/xz/message.c | 65 ++++++++++++++++-- 5899 src/xz/message.h | 6 -- 5900 src/xz/options.h | 8 -- 5901 src/xz/private.h | 18 ++++-- 5902 src/xz/process.h | 10 +--- 5903 src/xz/signals.c | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5904 src/xz/signals.h | 51 ++++++++++++++ 5905 src/xz/suffix.h | 5 -- 5906 src/xz/util.c | 5 +- 5907 src/xz/util.h | 5 -- 5908 18 files changed, 399 insertions(+), 246 deletions(-) 5909 5910commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe 5911Author: Lasse Collin <lasse.collin@tukaani.org> 5912Date: 2009-02-03 12:15:17 +0200 5913 5914 Another utime() fix. 5915 5916 src/xz/io.c | 9 +++++---- 5917 1 files changed, 5 insertions(+), 4 deletions(-) 5918 5919commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca 5920Author: Lasse Collin <lasse.collin@tukaani.org> 5921Date: 2009-02-03 10:41:11 +0200 5922 5923 Fix wrong filename argument for utime() and utimes(). 5924 This doesn't affect most systems, since most systems 5925 have better functions available. 5926 5927 src/xz/io.c | 4 ++-- 5928 1 files changed, 2 insertions(+), 2 deletions(-) 5929 5930commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302 5931Author: Lasse Collin <lasse.collin@tukaani.org> 5932Date: 2009-02-02 21:19:01 +0200 5933 5934 Updated the x86 assembler code: 5935 - Use call/ret pair to get instruction pointer for PIC. 5936 - Use PIC only if PIC or __PIC__ is #defined. 5937 - The code should work on MinGW and Darwin in addition 5938 to GNU/Linux and Solaris. 5939 5940 configure.ac | 6 --- 5941 src/liblzma/check/crc32_x86.S | 84 +++++++++++++++++++++++++++++++++++------ 5942 src/liblzma/check/crc64_x86.S | 82 +++++++++++++++++++++++++++++++++++----- 5943 3 files changed, 144 insertions(+), 28 deletions(-) 5944 5945commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f 5946Author: Lasse Collin <lasse.collin@tukaani.org> 5947Date: 2009-02-02 20:14:03 +0200 5948 5949 Modify LZMA_API macro so that it works on Windows with 5950 other compilers than MinGW. This may hurt readability 5951 of the API headers slightly, but I don't know any 5952 better way to do this. 5953 5954 src/liblzma/api/lzma.h | 6 ++-- 5955 src/liblzma/api/lzma/base.h | 11 ++++--- 5956 src/liblzma/api/lzma/block.h | 22 +++++++------- 5957 src/liblzma/api/lzma/check.h | 10 +++--- 5958 src/liblzma/api/lzma/container.h | 22 +++++++------- 5959 src/liblzma/api/lzma/filter.h | 28 ++++++++++---------- 5960 src/liblzma/api/lzma/index.h | 40 ++++++++++++++-------------- 5961 src/liblzma/api/lzma/index_hash.h | 10 +++--- 5962 src/liblzma/api/lzma/lzma.h | 6 ++-- 5963 src/liblzma/api/lzma/stream_flags.h | 10 +++--- 5964 src/liblzma/api/lzma/version.h | 4 +- 5965 src/liblzma/api/lzma/vli.h | 6 ++-- 5966 src/liblzma/check/check.c | 4 +- 5967 src/liblzma/check/crc32_fast.c | 2 +- 5968 src/liblzma/check/crc32_small.c | 2 +- 5969 src/liblzma/check/crc64_fast.c | 2 +- 5970 src/liblzma/check/crc64_small.c | 2 +- 5971 src/liblzma/common/alone_decoder.c | 2 +- 5972 src/liblzma/common/alone_encoder.c | 2 +- 5973 src/liblzma/common/auto_decoder.c | 2 +- 5974 src/liblzma/common/block_buffer_decoder.c | 2 +- 5975 src/liblzma/common/block_buffer_encoder.c | 4 +- 5976 src/liblzma/common/block_decoder.c | 2 +- 5977 src/liblzma/common/block_encoder.c | 2 +- 5978 src/liblzma/common/block_header_decoder.c | 2 +- 5979 src/liblzma/common/block_header_encoder.c | 4 +- 5980 src/liblzma/common/block_util.c | 6 ++-- 5981 src/liblzma/common/chunk_size.c | 2 +- 5982 src/liblzma/common/common.c | 16 +++++----- 5983 src/liblzma/common/common.h | 2 +- 5984 src/liblzma/common/easy.c | 6 ++-- 5985 src/liblzma/common/filter_buffer_decoder.c | 2 +- 5986 src/liblzma/common/filter_buffer_encoder.c | 2 +- 5987 src/liblzma/common/filter_decoder.c | 8 +++--- 5988 src/liblzma/common/filter_encoder.c | 12 ++++---- 5989 src/liblzma/common/filter_flags_decoder.c | 2 +- 5990 src/liblzma/common/filter_flags_encoder.c | 4 +- 5991 src/liblzma/common/index.c | 32 +++++++++++----------- 5992 src/liblzma/common/index_decoder.c | 4 +- 5993 src/liblzma/common/index_encoder.c | 4 +- 5994 src/liblzma/common/index_hash.c | 10 +++--- 5995 src/liblzma/common/stream_buffer_decoder.c | 2 +- 5996 src/liblzma/common/stream_buffer_encoder.c | 4 +- 5997 src/liblzma/common/stream_decoder.c | 2 +- 5998 src/liblzma/common/stream_encoder.c | 2 +- 5999 src/liblzma/common/stream_flags_common.c | 2 +- 6000 src/liblzma/common/stream_flags_decoder.c | 4 +- 6001 src/liblzma/common/stream_flags_encoder.c | 4 +- 6002 src/liblzma/common/vli_decoder.c | 2 +- 6003 src/liblzma/common/vli_encoder.c | 2 +- 6004 src/liblzma/common/vli_size.c | 2 +- 6005 src/liblzma/lz/lz_encoder.c | 2 +- 6006 src/liblzma/lzma/lzma_encoder.c | 2 +- 6007 src/liblzma/lzma/lzma_encoder_presets.c | 2 +- 6008 54 files changed, 177 insertions(+), 176 deletions(-) 6009 6010commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65 6011Author: Lasse Collin <lasse.collin@tukaani.org> 6012Date: 2009-02-01 22:40:35 +0200 6013 6014 Fix a bug in lzma_block_buffer_decode(), although this 6015 function should be rewritten anyway. 6016 6017 src/liblzma/common/block_buffer_decoder.c | 8 ++++---- 6018 1 files changed, 4 insertions(+), 4 deletions(-) 6019 6020commit 55fd41431e61fb8178858283d636b6781e33e847 6021Author: Lasse Collin <lasse.collin@tukaani.org> 6022Date: 2009-02-01 22:39:07 +0200 6023 6024 Added initial version of raw buffer-to-buffer coding 6025 functions, and cleaned up filter.h API header a little. 6026 May be very buggy, not tested yet. 6027 6028 src/liblzma/api/lzma/filter.h | 84 +++++++++++++++++++------ 6029 src/liblzma/common/Makefile.am | 2 + 6030 src/liblzma/common/filter_buffer_decoder.c | 94 ++++++++++++++++++++++++++++ 6031 src/liblzma/common/filter_buffer_encoder.c | 61 ++++++++++++++++++ 6032 4 files changed, 221 insertions(+), 20 deletions(-) 6033 6034commit 3e54ecee5cad30a5ca361a88a99230407abc0699 6035Author: Lasse Collin <lasse.collin@tukaani.org> 6036Date: 2009-02-01 00:11:20 +0200 6037 6038 Fix missing newlines in xzdec.c. 6039 6040 src/xzdec/xzdec.c | 6 +++--- 6041 1 files changed, 3 insertions(+), 3 deletions(-) 6042 6043commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35 6044Author: Lasse Collin <lasse.collin@tukaani.org> 6045Date: 2009-02-01 00:10:07 +0200 6046 6047 Use __cdecl also for function pointers in liblzma API when 6048 on Windows. 6049 6050 src/liblzma/api/lzma.h | 18 +++++++++++------- 6051 src/liblzma/api/lzma/base.h | 4 ++-- 6052 src/liblzma/common/common.h | 18 +++++++----------- 6053 3 files changed, 20 insertions(+), 20 deletions(-) 6054 6055commit 6a2eb54092fc625d59921a607ff68cd1a90aa898 6056Author: Lasse Collin <lasse.collin@tukaani.org> 6057Date: 2009-01-31 11:01:48 +0200 6058 6059 Add LZMA_API to liblzma API headers. It's useful at least 6060 on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h 6061 has to be #included separately where needed. 6062 6063 src/common/sysdefs.h | 2 - 6064 src/liblzma/api/lzma.h | 17 ++++++++++++ 6065 src/liblzma/api/lzma/base.h | 10 +++--- 6066 src/liblzma/api/lzma/block.h | 25 ++++++++++-------- 6067 src/liblzma/api/lzma/check.h | 12 +++++--- 6068 src/liblzma/api/lzma/container.h | 23 +++++++++-------- 6069 src/liblzma/api/lzma/filter.h | 24 +++++++++--------- 6070 src/liblzma/api/lzma/index.h | 47 ++++++++++++++++++++--------------- 6071 src/liblzma/api/lzma/index_hash.h | 11 ++++--- 6072 src/liblzma/api/lzma/lzma.h | 8 +++-- 6073 src/liblzma/api/lzma/stream_flags.h | 10 +++--- 6074 src/liblzma/api/lzma/version.h | 4 +- 6075 src/liblzma/api/lzma/vli.h | 10 +++--- 6076 src/liblzma/common/common.h | 13 ++++++++- 6077 src/xz/private.h | 1 + 6078 src/xzdec/xzdec.c | 1 + 6079 tests/tests.h | 1 + 6080 17 files changed, 131 insertions(+), 88 deletions(-) 6081 6082commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b 6083Author: Lasse Collin <lasse.collin@tukaani.org> 6084Date: 2009-01-31 10:13:09 +0200 6085 6086 Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. 6087 6088 src/xzdec/xzdec.c | 4 ++-- 6089 1 files changed, 2 insertions(+), 2 deletions(-) 6090 6091commit 2dbdc5befb33c3703e4609809101047c67caf343 6092Author: Lasse Collin <lasse.collin@tukaani.org> 6093Date: 2009-01-31 10:02:52 +0200 6094 6095 Fix two lines in lzma.h on which the # wasn't at the 6096 beginning of the line. 6097 6098 src/liblzma/api/lzma.h | 4 ++-- 6099 1 files changed, 2 insertions(+), 2 deletions(-) 6100 6101commit 4ab760109106dc04f39dd81c97d50f528d1b51c1 6102Author: Lasse Collin <lasse.collin@tukaani.org> 6103Date: 2009-01-31 09:55:05 +0200 6104 6105 Add support for using liblzma headers in MSVC, which has no 6106 stdint.h or inttypes.h. 6107 6108 src/liblzma/api/lzma.h | 70 +++++++++++++++++++++++++++++++---------------- 6109 1 files changed, 46 insertions(+), 24 deletions(-) 6110 6111commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9 6112Author: Lasse Collin <lasse.collin@tukaani.org> 6113Date: 2009-01-31 08:49:54 +0200 6114 6115 Fix # -> ## in a macro in lzma.h. 6116 6117 src/liblzma/api/lzma.h | 2 +- 6118 1 files changed, 1 insertions(+), 1 deletions(-) 6119 6120commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208 6121Author: Lasse Collin <lasse.collin@tukaani.org> 6122Date: 2009-01-30 18:50:16 +0200 6123 6124 Updated README. 6125 6126 README | 30 ++++++++++++++++++++---------- 6127 1 files changed, 20 insertions(+), 10 deletions(-) 6128 6129commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb 6130Author: Lasse Collin <lasse.collin@tukaani.org> 6131Date: 2009-01-30 00:29:58 +0200 6132 6133 Remove dangling crc64_init.c. 6134 6135 src/liblzma/check/crc64_init.c | 55 ---------------------------------------- 6136 1 files changed, 0 insertions(+), 55 deletions(-) 6137 6138commit 982da7ed314398420c38bf154a8f759d5f18b480 6139Author: Lasse Collin <lasse.collin@tukaani.org> 6140Date: 2009-01-28 17:16:38 +0200 6141 6142 The .xz file format specification version 1.0.0 is now 6143 officially released. The format has been technically the same 6144 since 2008-11-19, but now that it is frozen, people can start 6145 using it without a fear that the format will break. 6146 6147 doc/file-format.txt | 84 +++++++++++++++++++++++++++++--------------------- 6148 1 files changed, 49 insertions(+), 35 deletions(-) 6149 6150commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f 6151Author: Lasse Collin <lasse.collin@tukaani.org> 6152Date: 2009-01-28 08:45:59 +0200 6153 6154 Updated THANKS. 6155 6156 THANKS | 1 + 6157 1 files changed, 1 insertions(+), 0 deletions(-) 6158 6159commit 3241317093595db9f79104faafe93cb989c9f858 6160Author: Lasse Collin <lasse.collin@tukaani.org> 6161Date: 2009-01-28 08:43:26 +0200 6162 6163 Fix uninitialized variables in alone_decoder.c. This bug was 6164 triggered by the previous commit, since these variables were 6165 not used by anything before support for a preset dictionary. 6166 6167 src/liblzma/common/alone_decoder.c | 2 ++ 6168 1 files changed, 2 insertions(+), 0 deletions(-) 6169 6170commit f76e39cf930f888d460b443d18f977ebedea8b2a 6171Author: Lasse Collin <lasse.collin@tukaani.org> 6172Date: 2009-01-27 18:36:05 +0200 6173 6174 Added initial support for preset dictionary for raw LZMA1 6175 and LZMA2. It is not supported by the .xz format or the xz 6176 command line tool yet. 6177 6178 src/liblzma/lz/lz_decoder.c | 35 +++++++++++++++++++++++++---------- 6179 src/liblzma/lz/lz_decoder.h | 9 ++++++++- 6180 src/liblzma/lz/lz_encoder.c | 18 ++++++++++++++++-- 6181 src/liblzma/lzma/lzma2_decoder.c | 9 ++++++--- 6182 src/liblzma/lzma/lzma2_encoder.c | 12 +++++++----- 6183 src/liblzma/lzma/lzma_decoder.c | 10 ++++++---- 6184 src/liblzma/lzma/lzma_decoder.h | 2 +- 6185 src/liblzma/lzma/lzma_encoder.c | 9 ++++++++- 6186 8 files changed, 77 insertions(+), 27 deletions(-) 6187 6188commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3 6189Author: Lasse Collin <lasse.collin@tukaani.org> 6190Date: 2009-01-26 20:09:17 +0200 6191 6192 Regenerate the CRC tables without trailing blanks. 6193 6194 src/liblzma/check/crc32_table_be.h | 1008 ++++++++++++++++++------------------ 6195 src/liblzma/check/crc32_table_le.h | 1008 ++++++++++++++++++------------------ 6196 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------ 6197 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------ 6198 4 files changed, 2024 insertions(+), 2024 deletions(-) 6199 6200commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2 6201Author: Jim Meyering <meyering@redhat.com> 6202Date: 2009-01-19 21:37:16 +0100 6203 6204 remove trailing blanks from all but .xz files 6205 6206 debug/known_sizes.c | 2 +- 6207 extra/scanlzma/scanlzma.c | 5 ++--- 6208 src/liblzma/check/crc32_tablegen.c | 2 +- 6209 src/liblzma/check/crc64_tablegen.c | 2 +- 6210 src/scripts/lzdiff.1 | 4 ++-- 6211 src/scripts/lzmore.1 | 6 +++--- 6212 tests/test_compress.sh | 4 ++-- 6213 7 files changed, 12 insertions(+), 13 deletions(-) 6214 6215commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5 6216Author: Lasse Collin <lasse.collin@tukaani.org> 6217Date: 2009-01-26 14:34:10 +0200 6218 6219 Add lzma_block_buffer_decode(). 6220 6221 src/liblzma/api/lzma/block.h | 41 ++++++++++++++ 6222 src/liblzma/common/Makefile.am | 1 + 6223 src/liblzma/common/block_buffer_decoder.c | 87 +++++++++++++++++++++++++++++ 6224 3 files changed, 129 insertions(+), 0 deletions(-) 6225 6226commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d 6227Author: Lasse Collin <lasse.collin@tukaani.org> 6228Date: 2009-01-26 14:33:28 +0200 6229 6230 Add more sanity checks to lzma_stream_buffer_decode(). 6231 6232 src/liblzma/common/stream_buffer_decoder.c | 7 +++++++ 6233 1 files changed, 7 insertions(+), 0 deletions(-) 6234 6235commit c129748675a5daa8838df92bde32cc04f6ce61ba 6236Author: Lasse Collin <lasse.collin@tukaani.org> 6237Date: 2009-01-26 14:33:13 +0200 6238 6239 Avoid hardcoded constant in easy.c. 6240 6241 src/liblzma/common/easy.c | 2 +- 6242 1 files changed, 1 insertions(+), 1 deletions(-) 6243 6244commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6 6245Author: Lasse Collin <lasse.collin@tukaani.org> 6246Date: 2009-01-26 13:06:49 +0200 6247 6248 Tiny bit better sanity check in block_util.c 6249 6250 src/liblzma/common/block_util.c | 2 +- 6251 1 files changed, 1 insertions(+), 1 deletions(-) 6252 6253commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7 6254Author: Lasse Collin <lasse.collin@tukaani.org> 6255Date: 2009-01-25 01:35:56 +0200 6256 6257 Fix a dumb bug in Block decoder, which made it return 6258 LZMA_DATA_ERROR with valid data. The bug was added in 6259 e114502b2bc371e4a45449832cb69be036360722. 6260 6261 src/liblzma/common/block_decoder.c | 6 +++--- 6262 1 files changed, 3 insertions(+), 3 deletions(-) 6263 6264commit c81f13ff29271de7293f8af3d81848b1dcae3d19 6265Author: Lasse Collin <lasse.collin@tukaani.org> 6266Date: 2009-01-23 22:27:50 +0200 6267 6268 Added lzma_stream_buffer_decode() and made minor cleanups. 6269 6270 src/liblzma/api/lzma/block.h | 3 +- 6271 src/liblzma/api/lzma/container.h | 51 +++++++++++++++- 6272 src/liblzma/common/Makefile.am | 1 + 6273 src/liblzma/common/stream_buffer_decoder.c | 91 ++++++++++++++++++++++++++++ 6274 4 files changed, 144 insertions(+), 2 deletions(-) 6275 6276commit 0b3318661ce749550b8531dfd469639a08930391 6277Author: Lasse Collin <lasse.collin@tukaani.org> 6278Date: 2009-01-22 12:53:33 +0200 6279 6280 Fix a comment. 6281 6282 src/liblzma/common/common.h | 2 +- 6283 1 files changed, 1 insertions(+), 1 deletions(-) 6284 6285commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec 6286Author: Lasse Collin <lasse.collin@tukaani.org> 6287Date: 2009-01-20 16:37:27 +0200 6288 6289 Add some single-call buffer-to-buffer coding functions. 6290 6291 src/liblzma/api/lzma/block.h | 57 +++++ 6292 src/liblzma/api/lzma/container.h | 56 +++++ 6293 src/liblzma/api/lzma/index.h | 70 ++++++- 6294 src/liblzma/common/Makefile.am | 2 + 6295 src/liblzma/common/block_buffer_encoder.c | 305 ++++++++++++++++++++++++++++ 6296 src/liblzma/common/index_decoder.c | 83 +++++++-- 6297 src/liblzma/common/index_encoder.c | 59 +++++- 6298 src/liblzma/common/stream_buffer_encoder.c | 138 +++++++++++++ 6299 tests/test_index.c | 24 +++ 6300 9 files changed, 768 insertions(+), 26 deletions(-) 6301 6302commit d8b58d099340f8f4007b24b211ee41a7210c061c 6303Author: Lasse Collin <lasse.collin@tukaani.org> 6304Date: 2009-01-20 13:45:41 +0200 6305 6306 Block encoder cleanups 6307 6308 src/liblzma/common/block_encoder.c | 28 +++++++--------------------- 6309 src/liblzma/common/block_encoder.h | 25 +++++++++++++++++++++++++ 6310 2 files changed, 32 insertions(+), 21 deletions(-) 6311 6312commit 0c09810cb3635cb575cb54e694d41523e7d0a335 6313Author: Lasse Collin <lasse.collin@tukaani.org> 6314Date: 2009-01-20 10:35:15 +0200 6315 6316 Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. 6317 6318 src/liblzma/common/common.c | 24 ++++++++---------------- 6319 1 files changed, 8 insertions(+), 16 deletions(-) 6320 6321commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00 6322Author: Lasse Collin <lasse.collin@tukaani.org> 6323Date: 2009-01-19 22:53:18 +0200 6324 6325 Fix handling of non-fatal errors in lzma_code(). 6326 6327 src/liblzma/common/common.c | 9 ++++++++- 6328 1 files changed, 8 insertions(+), 1 deletions(-) 6329 6330commit 4810b6bc25087be872960b9dd1d11ff07735dc88 6331Author: Lasse Collin <lasse.collin@tukaani.org> 6332Date: 2009-01-19 14:00:33 +0200 6333 6334 Move some LZMA2 constants to lzma2_encoder.h so that they 6335 can be used outside lzma2_encoder.c. 6336 6337 src/liblzma/lzma/lzma2_encoder.c | 13 ------------- 6338 src/liblzma/lzma/lzma2_encoder.h | 14 ++++++++++++++ 6339 src/liblzma/lzma/lzma_encoder.c | 3 ++- 6340 3 files changed, 16 insertions(+), 14 deletions(-) 6341 6342commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4 6343Author: Lasse Collin <lasse.collin@tukaani.org> 6344Date: 2009-01-19 13:52:36 +0200 6345 6346 Remove dead code. 6347 6348 src/liblzma/lzma/lzma_encoder.h | 8 -------- 6349 1 files changed, 0 insertions(+), 8 deletions(-) 6350 6351commit 128586213f77c9bd82b7e9a62927f6d0c3769d85 6352Author: Lasse Collin <lasse.collin@tukaani.org> 6353Date: 2009-01-17 14:24:25 +0200 6354 6355 Beta was supposed to be API stable but I had forgot to rename 6356 lzma_memlimit_encoder and lzma_memlimit_decoder to 6357 lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( 6358 Now it is fixed. Hopefully it doesn't cause too much trouble 6359 to those who already thought API is stable. 6360 6361 src/liblzma/api/lzma/filter.h | 4 ++-- 6362 src/liblzma/common/easy.c | 4 ++-- 6363 src/liblzma/common/filter_common.c | 2 +- 6364 src/liblzma/common/filter_common.h | 2 +- 6365 src/liblzma/common/filter_decoder.c | 4 ++-- 6366 src/liblzma/common/filter_encoder.c | 4 ++-- 6367 src/liblzma/common/stream_decoder.c | 2 +- 6368 src/xz/process.c | 6 +++--- 6369 8 files changed, 14 insertions(+), 14 deletions(-) 6370 6371commit b056379490be5c584c264a967f0540041a163a1e 6372Author: Lasse Collin <lasse.collin@tukaani.org> 6373Date: 2009-01-15 14:29:22 +0200 6374 6375 Updated THANKS. 6376 6377 THANKS | 1 + 6378 1 files changed, 1 insertions(+), 0 deletions(-) 6379 6380commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89 6381Author: Lasse Collin <lasse.collin@tukaani.org> 6382Date: 2009-01-15 14:27:32 +0200 6383 6384 Fixed a bug in 7z2lzma.bash to make it work with .7z files 6385 that use something else than 2^n as the dictionary size. 6386 Thanks to Dan Shechter for the bug report. 6387 6388 extra/7z2lzma/7z2lzma.bash | 47 ++++++++++++++++++++++--------------------- 6389 1 files changed, 24 insertions(+), 23 deletions(-) 6390 6391commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2 6392Author: Lasse Collin <lasse.collin@tukaani.org> 6393Date: 2009-01-07 18:41:15 +0200 6394 6395 Use pthread_sigmask() instead of sigprocmask() when pthreads 6396 are enabled. 6397 6398 src/common/mythread.h | 6 ++++++ 6399 src/xz/main.c | 4 ++-- 6400 src/xz/private.h | 1 + 6401 3 files changed, 9 insertions(+), 2 deletions(-) 6402 6403commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9 6404Author: Lasse Collin <lasse.collin@tukaani.org> 6405Date: 2008-12-31 20:01:00 +0200 6406 6407 Bumped version to 4.999.8beta right after the release 6408 of 4.999.7beta. 6409 6410 configure.ac | 2 +- 6411 src/liblzma/api/lzma/version.h | 2 +- 6412 2 files changed, 2 insertions(+), 2 deletions(-) 6413 6414commit 061748f5932719643cda73383db715167d543c22 6415Author: Lasse Collin <lasse.collin@tukaani.org> 6416Date: 2008-12-31 18:59:02 +0200 6417 6418 Disable Subblock filter from test_compress.sh since it is 6419 disabled by default in configure.ac. 6420 6421 tests/test_compress.sh | 22 +++++++++++++--------- 6422 1 files changed, 13 insertions(+), 9 deletions(-) 6423 6424commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78 6425Author: Lasse Collin <lasse.collin@tukaani.org> 6426Date: 2008-12-31 17:44:20 +0200 6427 6428 Disable both Subblock encoder and decoder my default, 6429 since they are not finished and may have security issues too. 6430 6431 configure.ac | 2 +- 6432 1 files changed, 1 insertions(+), 1 deletions(-) 6433 6434commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88 6435Author: Lasse Collin <lasse.collin@tukaani.org> 6436Date: 2008-12-31 17:42:50 +0200 6437 6438 Update some files in debug directory. 6439 6440 debug/full_flush.c | 2 -- 6441 debug/memusage.c | 2 -- 6442 debug/sync_flush.c | 2 -- 6443 3 files changed, 0 insertions(+), 6 deletions(-) 6444 6445commit d1d17a40d33a9682424ca37282813492f2cba6d0 6446Author: Lasse Collin <lasse.collin@tukaani.org> 6447Date: 2008-12-31 17:41:46 +0200 6448 6449 Prepare for 4.999.7beta release. 6450 6451 AUTHORS | 4 ++-- 6452 README | 34 +++++++++++++++++----------------- 6453 configure.ac | 4 ++-- 6454 src/liblzma/api/lzma/version.h | 2 +- 6455 4 files changed, 22 insertions(+), 22 deletions(-) 6456 6457commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3 6458Author: Lasse Collin <lasse.collin@tukaani.org> 6459Date: 2008-12-31 17:15:03 +0200 6460 6461 Cleaned up some comments in the API headers. 6462 6463 src/liblzma/api/lzma/check.h | 23 +++++++++++------------ 6464 src/liblzma/api/lzma/container.h | 2 +- 6465 src/liblzma/api/lzma/version.h | 4 +++- 6466 3 files changed, 15 insertions(+), 14 deletions(-) 6467 6468commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40 6469Author: Lasse Collin <lasse.collin@tukaani.org> 6470Date: 2008-12-31 16:29:39 +0200 6471 6472 Renamed lzma_options_simple to lzma_options_bcj in the API. 6473 The internal implementation is still using the name "simple". 6474 It may need some cleanups, so I look at it later. 6475 6476 src/liblzma/api/Makefile.am | 2 +- 6477 src/liblzma/api/lzma.h | 2 +- 6478 src/liblzma/api/lzma/bcj.h | 94 +++++++++++++++++++++++++++++++++++ 6479 src/liblzma/api/lzma/simple.h | 94 ----------------------------------- 6480 src/liblzma/simple/simple_coder.c | 2 +- 6481 src/liblzma/simple/simple_decoder.c | 4 +- 6482 src/liblzma/simple/simple_encoder.c | 4 +- 6483 tests/test_filter_flags.c | 8 ++-- 6484 8 files changed, 105 insertions(+), 105 deletions(-) 6485 6486commit 7eea8bec3abfed883efba66264a1452a1c04f6b0 6487Author: Lasse Collin <lasse.collin@tukaani.org> 6488Date: 2008-12-31 00:57:27 +0200 6489 6490 Fixed missing quoting in configure.ac. 6491 6492 configure.ac | 38 +++++++++++++++++++------------------- 6493 1 files changed, 19 insertions(+), 19 deletions(-) 6494 6495commit 28e75f7086dbe9501d926c370375c69dfb1236ce 6496Author: Lasse Collin <lasse.collin@tukaani.org> 6497Date: 2008-12-31 00:48:23 +0200 6498 6499 Updated src/liblzma/Makefile.am to use liblzma.pc.in, which 6500 should have been in the previous commit. 6501 6502 src/liblzma/Makefile.am | 4 ++-- 6503 1 files changed, 2 insertions(+), 2 deletions(-) 6504 6505commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90 6506Author: Lasse Collin <lasse.collin@tukaani.org> 6507Date: 2008-12-31 00:30:49 +0200 6508 6509 Remove lzma_init() and other init functions from liblzma API. 6510 Half of developers were already forgetting to use these 6511 functions, which could have caused total breakage in some future 6512 liblzma version or even now if --enable-small was used. Now 6513 liblzma uses pthread_once() to do the initializations unless 6514 it has been built with --disable-threads which make these 6515 initializations thread-unsafe. 6516 6517 When --enable-small isn't used, liblzma currently gets needlessly 6518 linked against libpthread (on systems that have it). While it is 6519 stupid for now, liblzma will need threads in future anyway, so 6520 this stupidity will be temporary only. 6521 6522 When --enable-small is used, different code CRC32 and CRC64 is 6523 now used than without --enable-small. This made the resulting 6524 binary slightly smaller, but the main reason was to clean it up 6525 and to handle the lack of lzma_init_check(). 6526 6527 The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not 6528 sure if it works correctly and portably for static linking 6529 (Libs.private includes -pthread or other operating system 6530 specific flags). Hopefully someone complains if it is bad. 6531 6532 lzma_rc_prices[] is now included as a precomputed array even 6533 with --enable-small. It's just 128 bytes now that it uses uint8_t 6534 instead of uint32_t. Smaller array seemed to be at least as fast 6535 as the more bloated uint32_t array on x86; hopefully it's not bad 6536 on other architectures. 6537 6538 configure.ac | 29 ++++++++-- 6539 src/common/mythread.h | 34 +++++++++++ 6540 src/liblzma/api/Makefile.am | 1 - 6541 src/liblzma/api/lzma.h | 1 - 6542 src/liblzma/api/lzma/init.h | 85 ---------------------------- 6543 src/liblzma/check/Makefile.am | 29 +++------ 6544 src/liblzma/check/check.c | 10 ++-- 6545 src/liblzma/check/check.h | 25 +++----- 6546 src/liblzma/check/check_init.c | 37 ------------ 6547 src/liblzma/check/crc32.c | 88 ----------------------------- 6548 src/liblzma/check/crc32_fast.c | 88 +++++++++++++++++++++++++++++ 6549 src/liblzma/check/crc32_init.c | 55 ------------------ 6550 src/liblzma/check/crc32_small.c | 54 ++++++++++++++++++ 6551 src/liblzma/check/crc32_tablegen.c | 55 ++++++++++++++++-- 6552 src/liblzma/check/crc64.c | 75 ------------------------ 6553 src/liblzma/check/crc64_fast.c | 75 ++++++++++++++++++++++++ 6554 src/liblzma/check/crc64_small.c | 54 ++++++++++++++++++ 6555 src/liblzma/check/crc64_tablegen.c | 55 ++++++++++++++++-- 6556 src/liblzma/common/Makefile.am | 3 - 6557 src/liblzma/common/common.h | 1 + 6558 src/liblzma/common/init.c | 39 ------------- 6559 src/liblzma/common/init_decoder.c | 31 ---------- 6560 src/liblzma/common/init_encoder.c | 40 ------------- 6561 src/liblzma/liblzma.pc.in | 12 ++++ 6562 src/liblzma/lz/lz_encoder.c | 6 ++ 6563 src/liblzma/lzma.pc.in | 11 ---- 6564 src/liblzma/rangecoder/Makefile.am | 8 +-- 6565 src/liblzma/rangecoder/price.h | 16 +----- 6566 src/liblzma/rangecoder/price_table.c | 2 +- 6567 src/liblzma/rangecoder/price_table_init.c | 55 ------------------ 6568 src/liblzma/rangecoder/price_tablegen.c | 51 ++++++++++++++-- 6569 src/xz/Makefile.am | 5 +- 6570 src/xz/main.c | 3 - 6571 src/xzdec/xzdec.c | 3 - 6572 tests/test_block_header.c | 1 - 6573 tests/test_check.c | 2 - 6574 tests/test_filter_flags.c | 2 - 6575 tests/test_index.c | 2 - 6576 tests/test_stream_flags.c | 2 - 6577 tests/tests.h | 2 +- 6578 40 files changed, 519 insertions(+), 628 deletions(-) 6579 6580commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2 6581Author: Lasse Collin <lasse.collin@tukaani.org> 6582Date: 2008-12-27 19:40:31 +0200 6583 6584 Use 28 MiB as memory usage limit for encoding in test_compress.sh. 6585 6586 tests/test_compress.sh | 2 +- 6587 1 files changed, 1 insertions(+), 1 deletions(-) 6588 6589commit 050eb14d29e2537c014662e83599fd8a77f13c45 6590Author: Lasse Collin <lasse.collin@tukaani.org> 6591Date: 2008-12-27 19:32:20 +0200 6592 6593 Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 6594 that was related to LZMA_MODE_FAST. The original code is slightly 6595 faster although it compresses slightly worse. But since it is fast 6596 mode, it is better to select the faster version. 6597 6598 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 23 ++++++++--------------- 6599 1 files changed, 8 insertions(+), 15 deletions(-) 6600 6601commit 4820f10d0f173864f6a2ea7479663b509ac53358 6602Author: Lasse Collin <lasse.collin@tukaani.org> 6603Date: 2008-12-27 19:30:19 +0200 6604 6605 Some xz command line tool improvements. 6606 6607 src/xz/args.c | 23 ++++----- 6608 src/xz/message.c | 4 +- 6609 src/xz/options.c | 2 +- 6610 src/xz/process.c | 133 ++++++++++++++++++++++++++++++++++++++++++----------- 6611 src/xz/process.h | 3 + 6612 5 files changed, 121 insertions(+), 44 deletions(-) 6613 6614commit e33194e79d8f5ce07cb4aca909b324ae75098f7e 6615Author: Lasse Collin <lasse.collin@tukaani.org> 6616Date: 2008-12-27 19:27:49 +0200 6617 6618 Bunch of liblzma tweaks, including some API changes. 6619 The API and ABI should now be very close to stable, 6620 although the code behind it isn't yet. 6621 6622 src/liblzma/api/lzma.h | 8 ++-- 6623 src/liblzma/api/lzma/block.h | 63 +++++++++++++++++++++++- 6624 src/liblzma/api/lzma/container.h | 76 ++++++++++++++-------------- 6625 src/liblzma/api/lzma/lzma.h | 41 +++++++++------- 6626 src/liblzma/common/alone_decoder.c | 36 +++++++------- 6627 src/liblzma/common/alone_encoder.c | 22 +++----- 6628 src/liblzma/common/auto_decoder.c | 2 +- 6629 src/liblzma/common/block_decoder.c | 54 ++++++++++---------- 6630 src/liblzma/common/block_decoder.h | 4 +- 6631 src/liblzma/common/block_encoder.c | 37 ++++++++------ 6632 src/liblzma/common/block_encoder.h | 4 +- 6633 src/liblzma/common/block_header_decoder.c | 41 ++++++++------- 6634 src/liblzma/common/block_header_encoder.c | 51 +++++++++---------- 6635 src/liblzma/common/block_util.c | 3 +- 6636 src/liblzma/common/easy.c | 45 ++++++----------- 6637 src/liblzma/common/stream_decoder.c | 3 +- 6638 src/liblzma/common/stream_decoder.h | 2 +- 6639 src/liblzma/common/stream_encoder.c | 3 +- 6640 src/liblzma/common/stream_encoder.h | 2 +- 6641 src/liblzma/common/stream_flags_decoder.c | 2 +- 6642 src/liblzma/common/stream_flags_encoder.c | 2 +- 6643 src/liblzma/lzma/lzma_encoder.c | 2 +- 6644 src/liblzma/lzma/lzma_encoder_presets.c | 53 ++++++-------------- 6645 23 files changed, 294 insertions(+), 262 deletions(-) 6646 6647commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074 6648Author: Lasse Collin <lasse.collin@tukaani.org> 6649Date: 2008-12-18 13:42:52 +0200 6650 6651 Updated Makefile.am that was missing from the previous commit. 6652 6653 src/liblzma/common/Makefile.am | 1 - 6654 1 files changed, 0 insertions(+), 1 deletions(-) 6655 6656commit 634636fa56ccee6e744f78b0abed76c8940f2f8f 6657Author: Lasse Collin <lasse.collin@tukaani.org> 6658Date: 2008-12-17 21:49:53 +0200 6659 6660 Remove the alignment functions for now. Maybe they will 6661 be added back in some form later, but the current version 6662 wasn't modular, so it would need fixing anyway. 6663 6664 src/liblzma/api/Makefile.am | 1 - 6665 src/liblzma/api/lzma.h | 1 - 6666 src/liblzma/api/lzma/alignment.h | 60 -------------------- 6667 src/liblzma/common/alignment.c | 114 -------------------------------------- 6668 4 files changed, 0 insertions(+), 176 deletions(-) 6669 6670commit 4fed98417d1687f5eccccb42a133fde3ec81216a 6671Author: Lasse Collin <lasse.collin@tukaani.org> 6672Date: 2008-12-17 20:11:23 +0200 6673 6674 xz message handling improvements 6675 6676 src/xz/message.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++----- 6677 src/xz/message.h | 7 +++- 6678 src/xz/process.c | 28 +++++++++++- 6679 3 files changed, 146 insertions(+), 14 deletions(-) 6680 6681commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d 6682Author: Lasse Collin <lasse.collin@tukaani.org> 6683Date: 2008-12-15 23:26:43 +0200 6684 6685 Fix a dumb bug in .lzma decoder which was introduced in 6686 the previous commit. (Probably the previous commit has 6687 other bugs too, it wasn't tested.) 6688 6689 src/liblzma/common/alone_decoder.c | 29 ++++++++++++++--------------- 6690 1 files changed, 14 insertions(+), 15 deletions(-) 6691 6692commit 671a5adf1e844bfdd6fd327016c3c28694493158 6693Author: Lasse Collin <lasse.collin@tukaani.org> 6694Date: 2008-12-15 19:39:13 +0200 6695 6696 Bunch of liblzma API cleanups and fixes. 6697 6698 src/liblzma/api/lzma.h | 122 +++++++++++--------- 6699 src/liblzma/api/lzma/base.h | 174 +++++++++++++++++++---------- 6700 src/liblzma/api/lzma/block.h | 211 +++++++++++++++++++++++------------ 6701 src/liblzma/api/lzma/check.h | 28 +++-- 6702 src/liblzma/api/lzma/container.h | 155 +++++++++++++------------- 6703 src/liblzma/api/lzma/delta.h | 12 +- 6704 src/liblzma/api/lzma/filter.h | 27 +++-- 6705 src/liblzma/api/lzma/index.h | 97 ++++++++++++++--- 6706 src/liblzma/api/lzma/index_hash.h | 26 +++- 6707 src/liblzma/api/lzma/init.h | 2 +- 6708 src/liblzma/api/lzma/lzma.h | 12 +- 6709 src/liblzma/api/lzma/simple.h | 4 +- 6710 src/liblzma/api/lzma/stream_flags.h | 46 +++++--- 6711 src/liblzma/api/lzma/version.h | 6 +- 6712 src/liblzma/api/lzma/vli.h | 17 +-- 6713 src/liblzma/common/alone_decoder.c | 47 ++++++--- 6714 src/liblzma/common/auto_decoder.c | 29 +++++ 6715 src/liblzma/common/block_util.c | 52 +++++---- 6716 src/liblzma/common/common.c | 58 ++++++++++ 6717 src/liblzma/common/common.h | 9 ++- 6718 src/liblzma/common/easy.c | 33 ++++-- 6719 src/liblzma/common/filter_common.c | 2 +- 6720 src/liblzma/common/index.c | 11 ++ 6721 src/liblzma/common/index_decoder.c | 46 +++++++- 6722 src/liblzma/common/stream_decoder.c | 47 +++++++- 6723 src/liblzma/lzma/lzma2_encoder.c | 6 +- 6724 tests/test_index.c | 10 +- 6725 27 files changed, 863 insertions(+), 426 deletions(-) 6726 6727commit 17781c2c20fd77029cb32e77792889f2f211d69d 6728Author: Lasse Collin <lasse.collin@tukaani.org> 6729Date: 2008-12-15 14:26:52 +0200 6730 6731 The LZMA2 decoder fix introduced a bug to LZ decoder, 6732 which made LZ decoder return too early after dictionary 6733 reset. This fixes it. 6734 6735 src/liblzma/lz/lz_decoder.c | 33 +++++++++++++++++++++++---------- 6736 1 files changed, 23 insertions(+), 10 deletions(-) 6737 6738commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8 6739Author: Lasse Collin <lasse.collin@tukaani.org> 6740Date: 2008-12-15 11:20:22 +0200 6741 6742 Added two new test files. 6743 6744 tests/files/README | 7 +++++++ 6745 tests/files/bad-1-lzma2-8.xz | Bin 0 -> 464 bytes 6746 tests/files/good-1-lzma2-4.xz | Bin 0 -> 464 bytes 6747 3 files changed, 7 insertions(+), 0 deletions(-) 6748 6749commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf 6750Author: Lasse Collin <lasse.collin@tukaani.org> 6751Date: 2008-12-15 10:01:59 +0200 6752 6753 Fix data corruption in LZMA2 decoder. 6754 6755 src/liblzma/lz/lz_decoder.c | 17 ++++++++++++++++- 6756 src/liblzma/lz/lz_decoder.h | 8 +++++--- 6757 src/liblzma/lzma/lzma2_decoder.c | 15 +++++++++++---- 6758 3 files changed, 32 insertions(+), 8 deletions(-) 6759 6760commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613 6761Author: Lasse Collin <lasse.collin@tukaani.org> 6762Date: 2008-12-13 00:54:11 +0200 6763 6764 Name the package "xz" in configure.ac. 6765 6766 configure.ac | 11 ++++------- 6767 1 files changed, 4 insertions(+), 7 deletions(-) 6768 6769commit a94bf00d0af9b423851905b031be5a645a657820 6770Author: Lasse Collin <lasse.collin@tukaani.org> 6771Date: 2008-12-12 22:43:21 +0200 6772 6773 Some adjustments to GCC warning flags. The important change 6774 is the removal of -pedantic. It messes up -Werror (which I 6775 really want to keep so that I don't miss any warnings) with 6776 printf format strings that are in POSIX but not in C99. 6777 6778 configure.ac | 8 +++++--- 6779 1 files changed, 5 insertions(+), 3 deletions(-) 6780 6781commit 8582d392baacd2cdac07ca60041f8c661323676d 6782Author: Lasse Collin <lasse.collin@tukaani.org> 6783Date: 2008-12-10 01:31:00 +0200 6784 6785 Remove obsolete comment. 6786 6787 src/xz/message.c | 1 - 6788 1 files changed, 0 insertions(+), 1 deletions(-) 6789 6790commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1 6791Author: Lasse Collin <lasse.collin@tukaani.org> 6792Date: 2008-12-10 01:27:15 +0200 6793 6794 Use "decompression" consistently in --long-help. 6795 6796 src/xz/message.c | 2 +- 6797 1 files changed, 1 insertions(+), 1 deletions(-) 6798 6799commit 1ea9e7f15afd5d3981e2432710e932320597bca9 6800Author: Lasse Collin <lasse.collin@tukaani.org> 6801Date: 2008-12-10 01:23:58 +0200 6802 6803 Added preset=NUM to --lzma1 and --lzma2. This makes it easy 6804 to take a preset as a template and modify it a little. 6805 6806 src/xz/message.c | 1 + 6807 src/xz/options.c | 8 ++++++++ 6808 2 files changed, 9 insertions(+), 0 deletions(-) 6809 6810commit bceb3918dbb21f34976bfdd4c171a81319de71f7 6811Author: Lasse Collin <lasse.collin@tukaani.org> 6812Date: 2008-12-09 17:43:31 +0200 6813 6814 Put the file format specification into the public domain. 6815 Same will be done to the actual code later. 6816 6817 doc/file-format.txt | 24 +++++++++--------------- 6818 1 files changed, 9 insertions(+), 15 deletions(-) 6819 6820commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 6821Author: Lasse Collin <lasse.collin@tukaani.org> 6822Date: 2008-12-09 17:41:49 +0200 6823 6824 Make the memusage functions of LZMA1 and LZMA2 encoders 6825 to validate the filter options. Add missing validation 6826 to LZMA2 encoder when options are changed in the middle 6827 of encoding. 6828 6829 src/liblzma/lzma/lzma2_encoder.c | 5 +++- 6830 src/liblzma/lzma/lzma_encoder.c | 44 +++++++++++++++++++++++++------------ 6831 src/liblzma/lzma/lzma_encoder.h | 2 +- 6832 3 files changed, 35 insertions(+), 16 deletions(-) 6833 6834commit f20a03206b71ff01b827bb7a932411d6a6a4e06a 6835Author: Lasse Collin <lasse.collin@tukaani.org> 6836Date: 2008-12-09 10:36:24 +0200 6837 6838 Updated THANKS. 6839 6840 THANKS | 1 + 6841 1 files changed, 1 insertions(+), 0 deletions(-) 6842 6843commit ef7890d56453dca1aeb2e12db29b7e418d93dde4 6844Author: Lasse Collin <lasse.collin@tukaani.org> 6845Date: 2008-12-01 23:04:12 +0200 6846 6847 In command line tool, take advantage of memusage calculation's 6848 ability to also validate the filter chain and options (not 6849 implemented yet for all filters). 6850 6851 src/xz/process.c | 8 ++++---- 6852 1 files changed, 4 insertions(+), 4 deletions(-) 6853 6854commit ccd57afa09e332d664d6d6a7498702791ea5f659 6855Author: Lasse Collin <lasse.collin@tukaani.org> 6856Date: 2008-12-01 22:59:28 +0200 6857 6858 Validate the filter chain before checking filter-specific 6859 memory usage. 6860 6861 src/liblzma/common/filter_common.c | 14 ++++++++++---- 6862 1 files changed, 10 insertions(+), 4 deletions(-) 6863 6864commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15 6865Author: Lasse Collin <lasse.collin@tukaani.org> 6866Date: 2008-12-01 22:58:22 +0200 6867 6868 Make the memusage functions of LZMA1 and LZMA2 decoders 6869 to validate the filter options. 6870 6871 src/liblzma/lzma/lzma2_decoder.c | 7 ++----- 6872 src/liblzma/lzma/lzma_decoder.c | 14 ++++++++++---- 6873 src/liblzma/lzma/lzma_decoder.h | 5 +++++ 6874 3 files changed, 17 insertions(+), 9 deletions(-) 6875 6876commit c58f469be5bb9b0bdab825c6687445fd553f4f3a 6877Author: Lasse Collin <lasse.collin@tukaani.org> 6878Date: 2008-12-01 22:55:18 +0200 6879 6880 Added the changes for Delta filter that should have been 6881 part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 6882 6883 src/liblzma/common/filter_decoder.c | 2 +- 6884 src/liblzma/common/filter_encoder.c | 2 +- 6885 2 files changed, 2 insertions(+), 2 deletions(-) 6886 6887commit cd708015202dbf7585b84a8781462a20c42a324b 6888Author: Lasse Collin <lasse.collin@tukaani.org> 6889Date: 2008-12-01 22:50:28 +0200 6890 6891 LZMA2 decoder cleanups. Make it require new LZMA properties 6892 also in the first LZMA chunk after a dictionary reset in 6893 uncompressed chunk. 6894 6895 src/liblzma/lzma/lzma2_decoder.c | 95 ++++++++++++++++--------------------- 6896 1 files changed, 41 insertions(+), 54 deletions(-) 6897 6898commit 656ec87882ee74b192c4ea4a233a235eca7b04d4 6899Author: Lasse Collin <lasse.collin@tukaani.org> 6900Date: 2008-12-01 16:30:11 +0200 6901 6902 Added lzma_delta_coder_memusage() which also validates 6903 the options. 6904 6905 src/liblzma/delta/Makefile.am | 3 +- 6906 src/liblzma/delta/delta_common.c | 28 +++++++++++++++++------ 6907 src/liblzma/delta/delta_common.h | 19 +--------------- 6908 src/liblzma/delta/delta_decoder.c | 2 +- 6909 src/liblzma/delta/delta_decoder.h | 2 +- 6910 src/liblzma/delta/delta_encoder.c | 14 +++-------- 6911 src/liblzma/delta/delta_encoder.h | 2 +- 6912 src/liblzma/delta/delta_private.h | 44 +++++++++++++++++++++++++++++++++++++ 6913 8 files changed, 75 insertions(+), 39 deletions(-) 6914 6915commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a 6916Author: Lasse Collin <lasse.collin@tukaani.org> 6917Date: 2008-11-29 10:03:49 +0200 6918 6919 Automake includes the m4 directory, so don't add it in 6920 Makefile.am separately. 6921 6922 Updated THANKS. 6923 6924 Makefile.am | 1 - 6925 THANKS | 1 + 6926 2 files changed, 1 insertions(+), 1 deletions(-) 6927 6928commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0 6929Author: Lasse Collin <lasse.collin@tukaani.org> 6930Date: 2008-11-28 12:00:48 +0200 6931 6932 Tested using COLUMNS environment variable to avoid broken 6933 progress indicator but since COLUMNS isn't usually available, 6934 the code was left commented out. 6935 6936 src/xz/message.c | 14 +++++++++----- 6937 1 files changed, 9 insertions(+), 5 deletions(-) 6938 6939commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd 6940Author: Lasse Collin <lasse.collin@tukaani.org> 6941Date: 2008-11-27 19:28:59 +0200 6942 6943 Cleanups to message.c. 6944 6945 src/xz/message.c | 47 ++++++++++++++++++----------------------------- 6946 1 files changed, 18 insertions(+), 29 deletions(-) 6947 6948commit a8368b75cdcd5427299001cc42839287f27b244d 6949Author: Lasse Collin <lasse.collin@tukaani.org> 6950Date: 2008-11-25 02:37:47 +0200 6951 6952 Remove the nowadays unneeded memory limitting malloc() wrapper. 6953 6954 src/liblzma/api/Makefile.am | 1 - 6955 src/liblzma/api/lzma.h | 1 - 6956 src/liblzma/api/lzma/memlimit.h | 207 ------------------------- 6957 src/liblzma/common/Makefile.am | 1 - 6958 src/liblzma/common/memory_limiter.c | 288 ----------------------------------- 6959 tests/Makefile.am | 2 - 6960 tests/test_memlimit.c | 114 -------------- 6961 7 files changed, 0 insertions(+), 614 deletions(-) 6962 6963commit 69472ee5f055a2bb6f28106f0923e1461fd1d080 6964Author: Lasse Collin <lasse.collin@tukaani.org> 6965Date: 2008-11-23 15:09:03 +0200 6966 6967 VLI encoder and decoder cleanups. Made encoder return 6968 LZMA_PROG_ERROR in single-call mode if there's no output 6969 space. 6970 6971 src/liblzma/common/vli_decoder.c | 15 +++++++++------ 6972 src/liblzma/common/vli_encoder.c | 31 ++++++++++++++++++++++++------- 6973 2 files changed, 33 insertions(+), 13 deletions(-) 6974 6975commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650 6976Author: Lasse Collin <lasse.collin@tukaani.org> 6977Date: 2008-11-22 17:44:33 +0200 6978 6979 Typo fix 6980 6981 src/xz/process.c | 2 +- 6982 1 files changed, 1 insertions(+), 1 deletions(-) 6983 6984commit 6d1d6f4598d121253dbe1084c6866b66e95c361b 6985Author: Lasse Collin <lasse.collin@tukaani.org> 6986Date: 2008-11-20 22:59:10 +0200 6987 6988 Support NetBSD's errno for O_NOFOLLOW. 6989 6990 src/xz/io.c | 8 ++++++++ 6991 1 files changed, 8 insertions(+), 0 deletions(-) 6992 6993commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7 6994Author: Lasse Collin <lasse.collin@tukaani.org> 6995Date: 2008-11-20 18:05:52 +0200 6996 6997 Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz 6998 files and lzmadec only .lzma files. 6999 7000 src/xzdec/Makefile.am | 7 +- 7001 src/xzdec/xzdec.c | 311 +++++++++++++++++++++---------------------------- 7002 2 files changed, 140 insertions(+), 178 deletions(-) 7003 7004commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c 7005Author: Lasse Collin <lasse.collin@tukaani.org> 7006Date: 2008-11-20 11:01:29 +0200 7007 7008 Minor cleanups to xzdec. 7009 7010 src/xzdec/xzdec.c | 20 ++++++++++---------- 7011 1 files changed, 10 insertions(+), 10 deletions(-) 7012 7013commit 54f716ba8905d09752dcd1519455a40bd21d5317 7014Author: Lasse Collin <lasse.collin@tukaani.org> 7015Date: 2008-11-19 23:55:22 +0200 7016 7017 Added missing check for uint16_t. 7018 7019 configure.ac | 1 + 7020 1 files changed, 1 insertions(+), 0 deletions(-) 7021 7022commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06 7023Author: Lasse Collin <lasse.collin@tukaani.org> 7024Date: 2008-11-19 23:52:24 +0200 7025 7026 Renamed lzma to xz and lzmadec to xzdec. We create symlinks 7027 lzma, unlzma, and lzcat in "make install" for backwards 7028 compatibility with LZMA Utils 4.32.x; I'm not sure if this 7029 should be the default though. 7030 7031 configure.ac | 4 +- 7032 po/POTFILES.in | 21 +- 7033 src/Makefile.am | 2 +- 7034 src/lzma/Makefile.am | 72 ---- 7035 src/lzma/args.c | 500 -------------------------- 7036 src/lzma/args.h | 56 --- 7037 src/lzma/hardware.c | 122 ------- 7038 src/lzma/hardware.h | 45 --- 7039 src/lzma/io.c | 658 ---------------------------------- 7040 src/lzma/io.h | 97 ----- 7041 src/lzma/list.c | 477 ------------------------- 7042 src/lzma/main.c | 402 --------------------- 7043 src/lzma/main.h | 60 ---- 7044 src/lzma/message.c | 892 ----------------------------------------------- 7045 src/lzma/message.h | 132 ------- 7046 src/lzma/options.c | 352 ------------------- 7047 src/lzma/options.h | 46 --- 7048 src/lzma/private.h | 52 --- 7049 src/lzma/process.c | 391 --------------------- 7050 src/lzma/process.h | 70 ---- 7051 src/lzma/suffix.c | 213 ----------- 7052 src/lzma/suffix.h | 40 --- 7053 src/lzma/util.c | 199 ----------- 7054 src/lzma/util.h | 71 ---- 7055 src/lzmadec/Makefile.am | 29 -- 7056 src/lzmadec/lzmadec.c | 492 -------------------------- 7057 src/xz/Makefile.am | 74 ++++ 7058 src/xz/args.c | 500 ++++++++++++++++++++++++++ 7059 src/xz/args.h | 56 +++ 7060 src/xz/hardware.c | 122 +++++++ 7061 src/xz/hardware.h | 45 +++ 7062 src/xz/io.c | 658 ++++++++++++++++++++++++++++++++++ 7063 src/xz/io.h | 97 +++++ 7064 src/xz/list.c | 477 +++++++++++++++++++++++++ 7065 src/xz/main.c | 402 +++++++++++++++++++++ 7066 src/xz/main.h | 60 ++++ 7067 src/xz/message.c | 892 +++++++++++++++++++++++++++++++++++++++++++++++ 7068 src/xz/message.h | 132 +++++++ 7069 src/xz/options.c | 352 +++++++++++++++++++ 7070 src/xz/options.h | 46 +++ 7071 src/xz/private.h | 52 +++ 7072 src/xz/process.c | 391 +++++++++++++++++++++ 7073 src/xz/process.h | 70 ++++ 7074 src/xz/suffix.c | 213 +++++++++++ 7075 src/xz/suffix.h | 40 +++ 7076 src/xz/util.c | 199 +++++++++++ 7077 src/xz/util.h | 71 ++++ 7078 src/xzdec/Makefile.am | 29 ++ 7079 src/xzdec/xzdec.c | 492 ++++++++++++++++++++++++++ 7080 tests/test_compress.sh | 29 +- 7081 tests/test_files.sh | 4 +- 7082 51 files changed, 5498 insertions(+), 5500 deletions(-) 7083 7084commit e114502b2bc371e4a45449832cb69be036360722 7085Author: Lasse Collin <lasse.collin@tukaani.org> 7086Date: 2008-11-19 20:46:52 +0200 7087 7088 Oh well, big messy commit again. Some highlights: 7089 - Updated to the latest, probably final file format version. 7090 - Command line tool reworked to not use threads anymore. 7091 Threading will probably go into liblzma anyway. 7092 - Memory usage limit is now about 30 % for uncompression 7093 and about 90 % for compression. 7094 - Progress indicator with --verbose 7095 - Simplified --help and full --long-help 7096 - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. 7097 - Some bug fixes 7098 7099 THANKS | 1 + 7100 configure.ac | 48 +- 7101 debug/full_flush.c | 6 +- 7102 debug/known_sizes.c | 2 +- 7103 debug/memusage.c | 2 +- 7104 debug/sync_flush.c | 10 +- 7105 doc/file-format.txt | 260 +++++---- 7106 lib/Makefile.am | 10 +- 7107 lib/getopt.c | 14 +- 7108 lib/getopt.in.h | 226 +++++++ 7109 lib/getopt1.c | 8 +- 7110 lib/getopt_.h | 226 ------- 7111 lib/gettext.h | 240 ------- 7112 m4/getopt.m4 | 64 +-- 7113 src/common/bswap.h | 15 +- 7114 src/common/physmem.h | 4 + 7115 src/common/sysdefs.h | 12 +- 7116 src/liblzma/api/lzma/block.h | 47 +- 7117 src/liblzma/api/lzma/filter.h | 8 + 7118 src/liblzma/api/lzma/index.h | 20 +- 7119 src/liblzma/api/lzma/index_hash.h | 4 +- 7120 src/liblzma/common/block_decoder.c | 59 +- 7121 src/liblzma/common/block_encoder.c | 41 +- 7122 src/liblzma/common/block_header_decoder.c | 31 +- 7123 src/liblzma/common/block_header_encoder.c | 69 +-- 7124 src/liblzma/common/block_util.c | 45 +- 7125 src/liblzma/common/common.h | 8 - 7126 src/liblzma/common/filter_common.c | 4 +- 7127 src/liblzma/common/index.c | 259 ++++---- 7128 src/liblzma/common/index.h | 33 +- 7129 src/liblzma/common/index_decoder.c | 31 +- 7130 src/liblzma/common/index_encoder.c | 16 +- 7131 src/liblzma/common/index_hash.c | 68 +- 7132 src/liblzma/common/stream_decoder.c | 9 +- 7133 src/liblzma/common/stream_encoder.c | 6 +- 7134 src/liblzma/lz/lz_decoder.h | 4 +- 7135 src/liblzma/subblock/subblock_decoder.c | 3 +- 7136 src/lzma/Makefile.am | 9 +- 7137 src/lzma/alloc.c | 106 --- 7138 src/lzma/alloc.h | 42 -- 7139 src/lzma/args.c | 531 +++++++--------- 7140 src/lzma/args.h | 42 +- 7141 src/lzma/error.c | 162 ----- 7142 src/lzma/error.h | 67 -- 7143 src/lzma/hardware.c | 75 ++- 7144 src/lzma/hardware.h | 16 +- 7145 src/lzma/help.c | 170 ----- 7146 src/lzma/help.h | 32 - 7147 src/lzma/io.c | 757 +++++++++++----------- 7148 src/lzma/io.h | 51 ++- 7149 src/lzma/main.c | 392 ++++++++---- 7150 src/lzma/main.h | 60 ++ 7151 src/lzma/message.c | 892 ++++++++++++++++++++++++++ 7152 src/lzma/message.h | 132 ++++ 7153 src/lzma/options.c | 42 +- 7154 src/lzma/options.h | 6 +- 7155 src/lzma/private.h | 28 +- 7156 src/lzma/process.c | 525 +++++++-------- 7157 src/lzma/process.h | 40 ++ 7158 src/lzma/suffix.c | 52 +- 7159 src/lzma/suffix.h | 17 +- 7160 src/lzma/util.c | 100 ++-- 7161 src/lzma/util.h | 43 ++- 7162 src/lzmadec/lzmadec.c | 36 +- 7163 tests/files/README | 12 +- 7164 tests/files/bad-1-block_header-1.xz | Bin 64 -> 64 bytes 7165 tests/files/bad-1-block_header-2.xz | Bin 64 -> 64 bytes 7166 tests/files/bad-1-block_header-3.xz | Bin 68 -> 68 bytes 7167 tests/files/bad-1-block_header-4.xz | Bin 72 -> 76 bytes 7168 tests/files/bad-1-block_header-5.xz | Bin 0 -> 72 bytes 7169 tests/files/bad-1-check-crc32.xz | Bin 68 -> 68 bytes 7170 tests/files/bad-1-check-crc64.xz | Bin 72 -> 72 bytes 7171 tests/files/bad-1-check-sha256.xz | Bin 96 -> 96 bytes 7172 tests/files/bad-1-lzma2-1.xz | Bin 64 -> 64 bytes 7173 tests/files/bad-1-lzma2-2.xz | Bin 424 -> 424 bytes 7174 tests/files/bad-1-lzma2-3.xz | Bin 424 -> 424 bytes 7175 tests/files/bad-1-lzma2-4.xz | Bin 408 -> 408 bytes 7176 tests/files/bad-1-lzma2-5.xz | Bin 408 -> 408 bytes 7177 tests/files/bad-1-lzma2-6.xz | Bin 68 -> 68 bytes 7178 tests/files/bad-1-lzma2-7.xz | Bin 408 -> 408 bytes 7179 tests/files/bad-1-stream_flags-1.xz | Bin 68 -> 68 bytes 7180 tests/files/bad-1-stream_flags-2.xz | Bin 68 -> 68 bytes 7181 tests/files/bad-1-stream_flags-3.xz | Bin 68 -> 68 bytes 7182 tests/files/bad-1-vli-1.xz | Bin 72 -> 72 bytes 7183 tests/files/bad-1-vli-2.xz | Bin 72 -> 76 bytes 7184 tests/files/bad-2-compressed_data_padding.xz | Bin 92 -> 92 bytes 7185 tests/files/bad-2-index-1.xz | Bin 92 -> 92 bytes 7186 tests/files/bad-2-index-2.xz | Bin 92 -> 92 bytes 7187 tests/files/bad-2-index-3.xz | Bin 92 -> 92 bytes 7188 tests/files/bad-2-index-4.xz | Bin 92 -> 92 bytes 7189 tests/files/bad-2-index-5.xz | Bin 0 -> 92 bytes 7190 tests/files/good-1-3delta-lzma2.xz | Bin 528 -> 528 bytes 7191 tests/files/good-1-block_header-1.xz | Bin 72 -> 72 bytes 7192 tests/files/good-1-block_header-2.xz | Bin 68 -> 68 bytes 7193 tests/files/good-1-block_header-3.xz | Bin 68 -> 68 bytes 7194 tests/files/good-1-check-crc32.xz | Bin 68 -> 68 bytes 7195 tests/files/good-1-check-crc64.xz | Bin 72 -> 72 bytes 7196 tests/files/good-1-check-none.xz | Bin 64 -> 64 bytes 7197 tests/files/good-1-check-sha256.xz | Bin 96 -> 96 bytes 7198 tests/files/good-1-delta-lzma2.tiff.xz | Bin 51312 -> 51316 bytes 7199 tests/files/good-1-lzma2-1.xz | Bin 424 -> 424 bytes 7200 tests/files/good-1-lzma2-2.xz | Bin 424 -> 424 bytes 7201 tests/files/good-1-lzma2-3.xz | Bin 408 -> 408 bytes 7202 tests/files/good-1-sparc-lzma2.xz | Bin 2292 -> 2296 bytes 7203 tests/files/good-1-x86-lzma2.xz | Bin 1936 -> 1936 bytes 7204 tests/files/good-2-lzma2.xz | Bin 92 -> 92 bytes 7205 tests/files/unsupported-block_header.xz | Bin 68 -> 68 bytes 7206 tests/files/unsupported-check.xz | Bin 68 -> 68 bytes 7207 tests/files/unsupported-filter_flags-1.xz | Bin 68 -> 68 bytes 7208 tests/files/unsupported-filter_flags-2.xz | Bin 68 -> 68 bytes 7209 tests/files/unsupported-filter_flags-3.xz | Bin 68 -> 68 bytes 7210 tests/test_block_header.c | 16 +- 7211 tests/test_index.c | 42 +- 7212 113 files changed, 3462 insertions(+), 2946 deletions(-) 7213 7214commit 3c3905b53462ae235c9438d86a4dc51086410932 7215Author: Lasse Collin <lasse.collin@tukaani.org> 7216Date: 2008-10-09 11:12:29 +0300 7217 7218 Fixed the test that should have been fixed as part 7219 of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. 7220 7221 tests/test_block_header.c | 2 +- 7222 1 files changed, 1 insertions(+), 1 deletions(-) 7223 7224commit 0f295bf7a3ece01f667caae318cc3e3424085886 7225Author: Lasse Collin <lasse.collin@tukaani.org> 7226Date: 2008-10-07 16:42:18 +0300 7227 7228 Fixed some help messages. 7229 7230 src/lzma/help.c | 6 +++--- 7231 1 files changed, 3 insertions(+), 3 deletions(-) 7232 7233commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943 7234Author: Lasse Collin <lasse.collin@tukaani.org> 7235Date: 2008-10-07 09:40:31 +0300 7236 7237 Made the preset numbering more logical in liblzma API. 7238 7239 src/liblzma/api/lzma/container.h | 20 ++++++++++---------- 7240 src/liblzma/api/lzma/lzma.h | 2 +- 7241 src/liblzma/lzma/lzma_encoder_presets.c | 3 ++- 7242 src/lzma/args.c | 8 ++++---- 7243 src/lzma/args.h | 2 +- 7244 5 files changed, 18 insertions(+), 17 deletions(-) 7245 7246commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81 7247Author: Lasse Collin <lasse.collin@tukaani.org> 7248Date: 2008-10-03 19:36:09 +0300 7249 7250 Removed fi from po/LINGUAS. 7251 7252 po/LINGUAS | 1 - 7253 1 files changed, 0 insertions(+), 1 deletions(-) 7254 7255commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128 7256Author: Lasse Collin <lasse.collin@tukaani.org> 7257Date: 2008-10-03 07:06:48 +0300 7258 7259 Fixed suffix handling with --format=raw. 7260 7261 src/lzma/suffix.c | 28 +++++++++++++++++++--------- 7262 1 files changed, 19 insertions(+), 9 deletions(-) 7263 7264commit bd137524f2f50e30ba054f42f1f6536cd3cee920 7265Author: Lasse Collin <lasse.collin@tukaani.org> 7266Date: 2008-10-02 22:51:46 +0300 7267 7268 Initial changes to change the suffix of the new format to .xz. 7269 This also fixes a bug related to --suffix option. Some issues 7270 with suffixes with --format=raw were not fixed. 7271 7272 src/lzma/args.c | 67 ++++++++++++++++++++++++++++++------------- 7273 src/lzma/args.h | 13 ++++---- 7274 src/lzma/help.c | 4 +- 7275 src/lzma/process.c | 24 +++++++++------ 7276 src/lzma/suffix.c | 74 +++++++++++++++++++++++++++++++++++++++-------- 7277 tests/test_compress.sh | 3 +- 7278 6 files changed, 133 insertions(+), 52 deletions(-) 7279 7280commit 4c321a41c482821aa3c4d64cdf886a6ed904d844 7281Author: Lasse Collin <lasse.collin@tukaani.org> 7282Date: 2008-09-30 17:43:55 +0300 7283 7284 Renamed the test files from .lzma suffix to .xz suffix. 7285 7286 tests/files/README | 128 ++++++++++++------------ 7287 tests/files/bad-0-backward_size.lzma | Bin 32 -> 0 bytes 7288 tests/files/bad-0-backward_size.xz | Bin 0 -> 32 bytes 7289 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 0 bytes 7290 tests/files/bad-0-empty-truncated.xz | Bin 0 -> 31 bytes 7291 tests/files/bad-0-footer_magic.lzma | Bin 32 -> 0 bytes 7292 tests/files/bad-0-footer_magic.xz | Bin 0 -> 32 bytes 7293 tests/files/bad-0-header_magic.lzma | Bin 32 -> 0 bytes 7294 tests/files/bad-0-header_magic.xz | Bin 0 -> 32 bytes 7295 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 0 bytes 7296 tests/files/bad-0-nonempty_index.xz | Bin 0 -> 32 bytes 7297 tests/files/bad-0cat-alone.lzma | Bin 55 -> 0 bytes 7298 tests/files/bad-0cat-alone.xz | Bin 0 -> 55 bytes 7299 tests/files/bad-0cat-header_magic.lzma | Bin 64 -> 0 bytes 7300 tests/files/bad-0cat-header_magic.xz | Bin 0 -> 64 bytes 7301 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 0 bytes 7302 tests/files/bad-0catpad-empty.xz | Bin 0 -> 69 bytes 7303 tests/files/bad-0pad-empty.lzma | Bin 37 -> 0 bytes 7304 tests/files/bad-0pad-empty.xz | Bin 0 -> 37 bytes 7305 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 0 bytes 7306 tests/files/bad-1-block_header-1.xz | Bin 0 -> 64 bytes 7307 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 0 bytes 7308 tests/files/bad-1-block_header-2.xz | Bin 0 -> 64 bytes 7309 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 0 bytes 7310 tests/files/bad-1-block_header-3.xz | Bin 0 -> 68 bytes 7311 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 0 bytes 7312 tests/files/bad-1-block_header-4.xz | Bin 0 -> 72 bytes 7313 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 0 bytes 7314 tests/files/bad-1-check-crc32.xz | Bin 0 -> 68 bytes 7315 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 0 bytes 7316 tests/files/bad-1-check-crc64.xz | Bin 0 -> 72 bytes 7317 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 0 bytes 7318 tests/files/bad-1-check-sha256.xz | Bin 0 -> 96 bytes 7319 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 0 bytes 7320 tests/files/bad-1-lzma2-1.xz | Bin 0 -> 64 bytes 7321 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 0 bytes 7322 tests/files/bad-1-lzma2-2.xz | Bin 0 -> 424 bytes 7323 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 0 bytes 7324 tests/files/bad-1-lzma2-3.xz | Bin 0 -> 424 bytes 7325 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 0 bytes 7326 tests/files/bad-1-lzma2-4.xz | Bin 0 -> 408 bytes 7327 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 0 bytes 7328 tests/files/bad-1-lzma2-5.xz | Bin 0 -> 408 bytes 7329 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 0 bytes 7330 tests/files/bad-1-lzma2-6.xz | Bin 0 -> 68 bytes 7331 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 0 bytes 7332 tests/files/bad-1-lzma2-7.xz | Bin 0 -> 408 bytes 7333 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 0 bytes 7334 tests/files/bad-1-stream_flags-1.xz | Bin 0 -> 68 bytes 7335 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 0 bytes 7336 tests/files/bad-1-stream_flags-2.xz | Bin 0 -> 68 bytes 7337 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 0 bytes 7338 tests/files/bad-1-stream_flags-3.xz | Bin 0 -> 68 bytes 7339 tests/files/bad-1-vli-1.lzma | Bin 72 -> 0 bytes 7340 tests/files/bad-1-vli-1.xz | Bin 0 -> 72 bytes 7341 tests/files/bad-1-vli-2.lzma | Bin 72 -> 0 bytes 7342 tests/files/bad-1-vli-2.xz | Bin 0 -> 72 bytes 7343 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes 7344 tests/files/bad-2-compressed_data_padding.xz | Bin 0 -> 92 bytes 7345 tests/files/bad-2-index-1.lzma | Bin 92 -> 0 bytes 7346 tests/files/bad-2-index-1.xz | Bin 0 -> 92 bytes 7347 tests/files/bad-2-index-2.lzma | Bin 92 -> 0 bytes 7348 tests/files/bad-2-index-2.xz | Bin 0 -> 92 bytes 7349 tests/files/bad-2-index-3.lzma | Bin 92 -> 0 bytes 7350 tests/files/bad-2-index-3.xz | Bin 0 -> 92 bytes 7351 tests/files/bad-2-index-4.lzma | Bin 92 -> 0 bytes 7352 tests/files/bad-2-index-4.xz | Bin 0 -> 92 bytes 7353 tests/files/good-0-empty.lzma | Bin 32 -> 0 bytes 7354 tests/files/good-0-empty.xz | Bin 0 -> 32 bytes 7355 tests/files/good-0cat-empty.lzma | Bin 64 -> 0 bytes 7356 tests/files/good-0cat-empty.xz | Bin 0 -> 64 bytes 7357 tests/files/good-0catpad-empty.lzma | Bin 68 -> 0 bytes 7358 tests/files/good-0catpad-empty.xz | Bin 0 -> 68 bytes 7359 tests/files/good-0pad-empty.lzma | Bin 36 -> 0 bytes 7360 tests/files/good-0pad-empty.xz | Bin 0 -> 36 bytes 7361 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 0 bytes 7362 tests/files/good-1-3delta-lzma2.xz | Bin 0 -> 528 bytes 7363 tests/files/good-1-block_header-1.lzma | Bin 72 -> 0 bytes 7364 tests/files/good-1-block_header-1.xz | Bin 0 -> 72 bytes 7365 tests/files/good-1-block_header-2.lzma | Bin 68 -> 0 bytes 7366 tests/files/good-1-block_header-2.xz | Bin 0 -> 68 bytes 7367 tests/files/good-1-block_header-3.lzma | Bin 68 -> 0 bytes 7368 tests/files/good-1-block_header-3.xz | Bin 0 -> 68 bytes 7369 tests/files/good-1-check-crc32.lzma | Bin 68 -> 0 bytes 7370 tests/files/good-1-check-crc32.xz | Bin 0 -> 68 bytes 7371 tests/files/good-1-check-crc64.lzma | Bin 72 -> 0 bytes 7372 tests/files/good-1-check-crc64.xz | Bin 0 -> 72 bytes 7373 tests/files/good-1-check-none.lzma | Bin 64 -> 0 bytes 7374 tests/files/good-1-check-none.xz | Bin 0 -> 64 bytes 7375 tests/files/good-1-check-sha256.lzma | Bin 96 -> 0 bytes 7376 tests/files/good-1-check-sha256.xz | Bin 0 -> 96 bytes 7377 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 0 bytes 7378 tests/files/good-1-delta-lzma2.tiff.xz | Bin 0 -> 51312 bytes 7379 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 0 bytes 7380 tests/files/good-1-lzma2-1.xz | Bin 0 -> 424 bytes 7381 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 0 bytes 7382 tests/files/good-1-lzma2-2.xz | Bin 0 -> 424 bytes 7383 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 0 bytes 7384 tests/files/good-1-lzma2-3.xz | Bin 0 -> 408 bytes 7385 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 0 bytes 7386 tests/files/good-1-sparc-lzma2.xz | Bin 0 -> 2292 bytes 7387 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 0 bytes 7388 tests/files/good-1-x86-lzma2.xz | Bin 0 -> 1936 bytes 7389 tests/files/good-2-lzma2.lzma | Bin 92 -> 0 bytes 7390 tests/files/good-2-lzma2.xz | Bin 0 -> 92 bytes 7391 tests/files/unsupported-block_header.lzma | Bin 68 -> 0 bytes 7392 tests/files/unsupported-block_header.xz | Bin 0 -> 68 bytes 7393 tests/files/unsupported-check.lzma | Bin 68 -> 0 bytes 7394 tests/files/unsupported-check.xz | Bin 0 -> 68 bytes 7395 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 0 bytes 7396 tests/files/unsupported-filter_flags-1.xz | Bin 0 -> 68 bytes 7397 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 0 bytes 7398 tests/files/unsupported-filter_flags-2.xz | Bin 0 -> 68 bytes 7399 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 0 bytes 7400 tests/files/unsupported-filter_flags-3.xz | Bin 0 -> 68 bytes 7401 tests/test_files.sh | 6 +- 7402 116 files changed, 66 insertions(+), 68 deletions(-) 7403 7404commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb 7405Author: Lasse Collin <lasse.collin@tukaani.org> 7406Date: 2008-09-30 13:57:44 +0300 7407 7408 Fixed Stream decoder to actually use the first_stream variable. 7409 7410 src/liblzma/common/stream_decoder.c | 5 +++++ 7411 1 files changed, 5 insertions(+), 0 deletions(-) 7412 7413commit 3bdbc12c054d1961133ee19802af7dd3c3494543 7414Author: Lasse Collin <lasse.collin@tukaani.org> 7415Date: 2008-09-30 13:56:57 +0300 7416 7417 Added one more test file. 7418 7419 tests/files/README | 15 +++++++++++---- 7420 tests/files/bad-0cat-header_magic.lzma | Bin 0 -> 64 bytes 7421 2 files changed, 11 insertions(+), 4 deletions(-) 7422 7423commit a6639022fdc536e5659b070a465221b4cf7c51fa 7424Author: Lasse Collin <lasse.collin@tukaani.org> 7425Date: 2008-09-30 13:34:07 +0300 7426 7427 Fixed uninitialized variable in Stream decoder. 7428 7429 src/liblzma/common/stream_decoder.c | 1 + 7430 1 files changed, 1 insertions(+), 0 deletions(-) 7431 7432commit ed3709000a3f17ecefab29b2235d7e2221b00003 7433Author: Lasse Collin <lasse.collin@tukaani.org> 7434Date: 2008-09-30 13:27:28 +0300 7435 7436 Added two test files. 7437 7438 tests/files/README | 6 ++++++ 7439 tests/files/bad-0-footer_magic.lzma | Bin 0 -> 32 bytes 7440 tests/files/bad-0-header_magic.lzma | Bin 0 -> 32 bytes 7441 3 files changed, 6 insertions(+), 0 deletions(-) 7442 7443commit ea560b0ea80525752bdcd0074d24f8dc170bbe29 7444Author: Lasse Collin <lasse.collin@tukaani.org> 7445Date: 2008-09-27 23:49:24 +0300 7446 7447 Fix conflicting Subblock helper filter's ID. 7448 7449 src/liblzma/common/common.h | 2 +- 7450 1 files changed, 1 insertions(+), 1 deletions(-) 7451 7452commit ad97483b6e55142fd8d5c041db057017a891cd95 7453Author: Lasse Collin <lasse.collin@tukaani.org> 7454Date: 2008-09-27 23:37:13 +0300 7455 7456 Changed magic bytes to match the updated spec. Filename 7457 suffix wasn't changed yet. 7458 7459 src/liblzma/common/auto_decoder.c | 4 ++-- 7460 src/liblzma/common/stream_flags_common.c | 2 +- 7461 tests/files/bad-0-backward_size.lzma | Bin 32 -> 32 bytes 7462 tests/files/bad-0-empty-truncated.lzma | Bin 31 -> 31 bytes 7463 tests/files/bad-0-nonempty_index.lzma | Bin 32 -> 32 bytes 7464 tests/files/bad-0cat-alone.lzma | Bin 55 -> 55 bytes 7465 tests/files/bad-0catpad-empty.lzma | Bin 69 -> 69 bytes 7466 tests/files/bad-0pad-empty.lzma | Bin 37 -> 37 bytes 7467 tests/files/bad-1-block_header-1.lzma | Bin 64 -> 64 bytes 7468 tests/files/bad-1-block_header-2.lzma | Bin 64 -> 64 bytes 7469 tests/files/bad-1-block_header-3.lzma | Bin 68 -> 68 bytes 7470 tests/files/bad-1-block_header-4.lzma | Bin 72 -> 72 bytes 7471 tests/files/bad-1-check-crc32.lzma | Bin 68 -> 68 bytes 7472 tests/files/bad-1-check-crc64.lzma | Bin 72 -> 72 bytes 7473 tests/files/bad-1-check-sha256.lzma | Bin 96 -> 96 bytes 7474 tests/files/bad-1-lzma2-1.lzma | Bin 64 -> 64 bytes 7475 tests/files/bad-1-lzma2-2.lzma | Bin 424 -> 424 bytes 7476 tests/files/bad-1-lzma2-3.lzma | Bin 424 -> 424 bytes 7477 tests/files/bad-1-lzma2-4.lzma | Bin 408 -> 408 bytes 7478 tests/files/bad-1-lzma2-5.lzma | Bin 408 -> 408 bytes 7479 tests/files/bad-1-lzma2-6.lzma | Bin 68 -> 68 bytes 7480 tests/files/bad-1-lzma2-7.lzma | Bin 408 -> 408 bytes 7481 tests/files/bad-1-stream_flags-1.lzma | Bin 68 -> 68 bytes 7482 tests/files/bad-1-stream_flags-2.lzma | Bin 68 -> 68 bytes 7483 tests/files/bad-1-stream_flags-3.lzma | Bin 68 -> 68 bytes 7484 tests/files/bad-1-vli-1.lzma | Bin 72 -> 72 bytes 7485 tests/files/bad-1-vli-2.lzma | Bin 72 -> 72 bytes 7486 tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 92 bytes 7487 tests/files/bad-2-index-1.lzma | Bin 92 -> 92 bytes 7488 tests/files/bad-2-index-2.lzma | Bin 92 -> 92 bytes 7489 tests/files/bad-2-index-3.lzma | Bin 92 -> 92 bytes 7490 tests/files/bad-2-index-4.lzma | Bin 92 -> 92 bytes 7491 tests/files/good-0-empty.lzma | Bin 32 -> 32 bytes 7492 tests/files/good-0cat-empty.lzma | Bin 64 -> 64 bytes 7493 tests/files/good-0catpad-empty.lzma | Bin 68 -> 68 bytes 7494 tests/files/good-0pad-empty.lzma | Bin 36 -> 36 bytes 7495 tests/files/good-1-3delta-lzma2.lzma | Bin 528 -> 528 bytes 7496 tests/files/good-1-block_header-1.lzma | Bin 72 -> 72 bytes 7497 tests/files/good-1-block_header-2.lzma | Bin 68 -> 68 bytes 7498 tests/files/good-1-block_header-3.lzma | Bin 68 -> 68 bytes 7499 tests/files/good-1-check-crc32.lzma | Bin 68 -> 68 bytes 7500 tests/files/good-1-check-crc64.lzma | Bin 72 -> 72 bytes 7501 tests/files/good-1-check-none.lzma | Bin 64 -> 64 bytes 7502 tests/files/good-1-check-sha256.lzma | Bin 96 -> 96 bytes 7503 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 51312 -> 51312 bytes 7504 tests/files/good-1-lzma2-1.lzma | Bin 424 -> 424 bytes 7505 tests/files/good-1-lzma2-2.lzma | Bin 424 -> 424 bytes 7506 tests/files/good-1-lzma2-3.lzma | Bin 408 -> 408 bytes 7507 tests/files/good-1-sparc-lzma2.lzma | Bin 2292 -> 2292 bytes 7508 tests/files/good-1-x86-lzma2.lzma | Bin 1936 -> 1936 bytes 7509 tests/files/good-2-lzma2.lzma | Bin 92 -> 92 bytes 7510 tests/files/unsupported-block_header.lzma | Bin 68 -> 68 bytes 7511 tests/files/unsupported-check.lzma | Bin 68 -> 68 bytes 7512 tests/files/unsupported-filter_flags-1.lzma | Bin 68 -> 68 bytes 7513 tests/files/unsupported-filter_flags-2.lzma | Bin 68 -> 68 bytes 7514 tests/files/unsupported-filter_flags-3.lzma | Bin 68 -> 68 bytes 7515 56 files changed, 3 insertions(+), 3 deletions(-) 7516 7517commit 7a57069167e9e63394e2b095ee3a63253fcb51c7 7518Author: Lasse Collin <lasse.collin@tukaani.org> 7519Date: 2008-09-27 23:16:09 +0300 7520 7521 Remove po/fi.po since I'm not keeping it updated for now. 7522 7523 po/fi.po | 446 -------------------------------------------------------------- 7524 1 files changed, 0 insertions(+), 446 deletions(-) 7525 7526commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e 7527Author: Lasse Collin <lasse.collin@tukaani.org> 7528Date: 2008-09-27 23:13:54 +0300 7529 7530 Fix also test_compress.sh. 7531 7532 tests/test_compress.sh | 6 +++--- 7533 1 files changed, 3 insertions(+), 3 deletions(-) 7534 7535commit 3a62a5fb85d2eebd8666e64ed5d364d095062858 7536Author: Lasse Collin <lasse.collin@tukaani.org> 7537Date: 2008-09-27 23:01:15 +0300 7538 7539 Fixed compilation of test_filter_flags.c, which was broken by 7540 1dcecfb09b55157b8653d747963069c8bed74f04. 7541 7542 tests/test_filter_flags.c | 16 ++++++++-------- 7543 1 files changed, 8 insertions(+), 8 deletions(-) 7544 7545commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0 7546Author: Lasse Collin <lasse.collin@tukaani.org> 7547Date: 2008-09-27 19:11:02 +0300 7548 7549 Updated file format specification. It changes the suffix 7550 of the new format to .xz and removes the recently added 7551 LZMA filter. 7552 7553 doc/file-format.txt | 125 +++++++++++++-------------------------------------- 7554 1 files changed, 32 insertions(+), 93 deletions(-) 7555 7556commit 1dcecfb09b55157b8653d747963069c8bed74f04 7557Author: Lasse Collin <lasse.collin@tukaani.org> 7558Date: 2008-09-27 19:09:21 +0300 7559 7560 Some API changes, bug fixes, cleanups etc. 7561 7562 configure.ac | 18 +- 7563 debug/full_flush.c | 7 +- 7564 debug/known_sizes.c | 6 +- 7565 debug/memusage.c | 22 ++-- 7566 debug/sync_flush.c | 18 +- 7567 src/liblzma/Makefile.am | 2 +- 7568 src/liblzma/api/lzma/delta.h | 8 +- 7569 src/liblzma/api/lzma/lzma.h | 230 +++++++++++++++--------- 7570 src/liblzma/common/alignment.c | 7 +- 7571 src/liblzma/common/alone_decoder.c | 11 +- 7572 src/liblzma/common/alone_encoder.c | 9 +- 7573 src/liblzma/common/chunk_size.c | 2 +- 7574 src/liblzma/common/easy.c | 20 ++- 7575 src/liblzma/common/filter_common.c | 4 +- 7576 src/liblzma/common/filter_decoder.c | 4 +- 7577 src/liblzma/common/filter_encoder.c | 4 +- 7578 src/liblzma/common/init_encoder.c | 2 +- 7579 src/liblzma/delta/delta_common.c | 12 +- 7580 src/liblzma/delta/delta_common.h | 2 +- 7581 src/liblzma/delta/delta_decoder.c | 2 +- 7582 src/liblzma/delta/delta_encoder.c | 6 +- 7583 src/liblzma/lz/lz_encoder.c | 30 ++-- 7584 src/liblzma/lz/lz_encoder.h | 26 ++-- 7585 src/liblzma/lz/lz_encoder_mf.c | 30 ++-- 7586 src/liblzma/lzma/Makefile.am | 4 +- 7587 src/liblzma/lzma/lzma2_decoder.c | 10 +- 7588 src/liblzma/lzma/lzma2_encoder.c | 27 +-- 7589 src/liblzma/lzma/lzma_common.h | 26 +-- 7590 src/liblzma/lzma/lzma_decoder.c | 37 ++-- 7591 src/liblzma/lzma/lzma_encoder.c | 51 +++--- 7592 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 10 +- 7593 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 20 +- 7594 src/liblzma/lzma/lzma_encoder_presets.c | 50 ++++-- 7595 src/liblzma/rangecoder/Makefile.am | 4 +- 7596 src/liblzma/subblock/subblock_decoder.c | 2 +- 7597 src/lzma/args.c | 33 +++-- 7598 src/lzma/help.c | 17 +- 7599 src/lzma/options.c | 92 ++++++---- 7600 tests/test_block_header.c | 9 +- 7601 tests/test_compress.sh | 4 +- 7602 tests/test_filter_flags.c | 2 +- 7603 41 files changed, 482 insertions(+), 398 deletions(-) 7604 7605commit 5cc5064cae603b649c64c40125c7dd365de54c9d 7606Author: Lasse Collin <lasse.collin@tukaani.org> 7607Date: 2008-09-27 11:28:49 +0300 7608 7609 Added 7z2lzma.bash. 7610 7611 extra/7z2lzma/7z2lzma.bash | 114 ++++++++++++++++++++++++++++++++++++++++++++ 7612 1 files changed, 114 insertions(+), 0 deletions(-) 7613 7614commit f147666a5cd15542d4e427da58629f4a71cc38e1 7615Author: Lasse Collin <lasse.collin@tukaani.org> 7616Date: 2008-09-17 22:11:39 +0300 7617 7618 Miscellaneous LZ and LZMA encoder cleanups 7619 7620 src/liblzma/api/lzma/lzma.h | 14 ------ 7621 src/liblzma/lz/lz_encoder.c | 8 +++- 7622 src/liblzma/lzma/Makefile.am | 1 - 7623 src/liblzma/lzma/lzma_encoder.c | 64 +++++++++++------------------- 7624 src/liblzma/lzma/lzma_encoder_features.c | 59 --------------------------- 7625 5 files changed, 29 insertions(+), 117 deletions(-) 7626 7627commit 13d68b069849e19c33822cd8996cd6447890abb1 7628Author: Lasse Collin <lasse.collin@tukaani.org> 7629Date: 2008-09-13 13:54:00 +0300 7630 7631 LZ decoder cleanup 7632 7633 src/liblzma/lz/lz_decoder.c | 5 ++--- 7634 1 files changed, 2 insertions(+), 3 deletions(-) 7635 7636commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 7637Author: Lasse Collin <lasse.collin@tukaani.org> 7638Date: 2008-09-13 12:10:43 +0300 7639 7640 Renamed constants: 7641 - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX 7642 - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN 7643 - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 7644 7645 debug/full_flush.c | 2 +- 7646 debug/known_sizes.c | 2 +- 7647 debug/sync_flush.c | 2 +- 7648 src/liblzma/api/lzma/alignment.h | 2 +- 7649 src/liblzma/api/lzma/base.h | 4 +- 7650 src/liblzma/api/lzma/block.h | 28 +++++++++++++------------- 7651 src/liblzma/api/lzma/container.h | 12 +++++----- 7652 src/liblzma/api/lzma/filter.h | 28 +++++++++++++------------- 7653 src/liblzma/api/lzma/index.h | 2 +- 7654 src/liblzma/api/lzma/lzma.h | 4 +- 7655 src/liblzma/api/lzma/simple.h | 2 +- 7656 src/liblzma/api/lzma/stream_flags.h | 20 +++++++++--------- 7657 src/liblzma/api/lzma/vli.h | 16 +++++++------- 7658 src/liblzma/common/alignment.c | 6 ++-- 7659 src/liblzma/common/alone_decoder.c | 2 +- 7660 src/liblzma/common/auto_decoder.c | 2 +- 7661 src/liblzma/common/block_decoder.c | 12 +++++----- 7662 src/liblzma/common/block_encoder.c | 6 ++-- 7663 src/liblzma/common/block_header_decoder.c | 16 +++++++------- 7664 src/liblzma/common/block_header_encoder.c | 24 +++++++++++----------- 7665 src/liblzma/common/block_util.c | 8 +++--- 7666 src/liblzma/common/chunk_size.c | 2 +- 7667 src/liblzma/common/easy.c | 4 +- 7668 src/liblzma/common/filter_common.c | 22 ++++++++++---------- 7669 src/liblzma/common/filter_decoder.c | 6 ++-- 7670 src/liblzma/common/filter_encoder.c | 14 ++++++------ 7671 src/liblzma/common/index.c | 24 ++++++++++------------ 7672 src/liblzma/common/index.h | 2 +- 7673 src/liblzma/common/index_hash.c | 13 +++++------ 7674 src/liblzma/common/stream_decoder.c | 4 +- 7675 src/liblzma/common/stream_encoder.c | 4 +- 7676 src/liblzma/common/stream_flags_common.c | 6 ++-- 7677 src/liblzma/common/stream_flags_decoder.c | 6 ++-- 7678 src/liblzma/common/stream_flags_encoder.c | 4 +- 7679 src/liblzma/common/vli_encoder.c | 2 +- 7680 src/liblzma/common/vli_size.c | 2 +- 7681 src/liblzma/delta/delta_common.c | 2 +- 7682 src/liblzma/delta/delta_decoder.c | 2 +- 7683 src/liblzma/delta/delta_encoder.c | 2 +- 7684 src/liblzma/lz/lz_decoder.c | 2 +- 7685 src/liblzma/lz/lz_encoder.c | 2 +- 7686 src/liblzma/lzma/lzma2_decoder.c | 6 ++-- 7687 src/liblzma/lzma/lzma_decoder.c | 14 ++++++------ 7688 src/liblzma/lzma/lzma_encoder.c | 8 +++--- 7689 src/liblzma/simple/simple_coder.c | 2 +- 7690 src/liblzma/simple/simple_decoder.c | 2 +- 7691 src/liblzma/subblock/subblock_decoder.c | 6 ++-- 7692 src/liblzma/subblock/subblock_encoder.c | 17 +++++++-------- 7693 src/lzma/args.c | 2 +- 7694 src/lzma/error.c | 2 +- 7695 src/lzma/list.c | 6 ++-- 7696 src/lzmadec/lzmadec.c | 2 +- 7697 tests/test_block.c | 8 +++--- 7698 tests/test_block_header.c | 30 ++++++++++++++-------------- 7699 tests/test_filter_flags.c | 2 +- 7700 tests/test_index.c | 2 +- 7701 tests/test_stream_flags.c | 8 +++--- 7702 tests/tests.h | 2 +- 7703 58 files changed, 220 insertions(+), 224 deletions(-) 7704 7705commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080 7706Author: Lasse Collin <lasse.collin@tukaani.org> 7707Date: 2008-09-12 22:41:40 +0300 7708 7709 Improved the Stream Flags handling API. 7710 7711 src/liblzma/api/lzma/stream_flags.h | 84 +++++++++++++++++++++++++++-- 7712 src/liblzma/common/stream_decoder.c | 5 +- 7713 src/liblzma/common/stream_encoder.c | 2 + 7714 src/liblzma/common/stream_flags_common.c | 28 +++++++--- 7715 src/liblzma/common/stream_flags_common.h | 9 +++ 7716 src/liblzma/common/stream_flags_decoder.c | 3 +- 7717 src/liblzma/common/stream_flags_encoder.c | 10 +++- 7718 tests/test_stream_flags.c | 8 ++- 7719 8 files changed, 129 insertions(+), 20 deletions(-) 7720 7721commit ec490da5228263b25bf786bb23d1008468f55b30 7722Author: Lasse Collin <lasse.collin@tukaani.org> 7723Date: 2008-09-11 23:10:44 +0300 7724 7725 Simplified debug/known_sizes.c to match the relaxed 7726 requirements of Block encoder. 7727 7728 debug/known_sizes.c | 14 +++++--------- 7729 1 files changed, 5 insertions(+), 9 deletions(-) 7730 7731commit 16e8b98f2659347edfa74afdbbb9e73311153cb9 7732Author: Lasse Collin <lasse.collin@tukaani.org> 7733Date: 2008-09-11 23:09:24 +0300 7734 7735 Remove a check from Block encoder that should have already 7736 been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 7737 7738 src/liblzma/common/block_encoder.c | 5 ----- 7739 1 files changed, 0 insertions(+), 5 deletions(-) 7740 7741commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 7742Author: Lasse Collin <lasse.collin@tukaani.org> 7743Date: 2008-09-11 20:02:38 +0300 7744 7745 Remove bogus #includes. 7746 7747 src/liblzma/common/Makefile.am | 1 - 7748 src/liblzma/common/stream_decoder.c | 3 -- 7749 src/liblzma/common/stream_encoder.c | 1 - 7750 src/liblzma/common/stream_flags_decoder.h | 31 ----------------------------- 7751 4 files changed, 0 insertions(+), 36 deletions(-) 7752 7753commit 01892b2ca5f69bed0ea746e04b604030d57806bb 7754Author: Lasse Collin <lasse.collin@tukaani.org> 7755Date: 2008-09-11 10:49:14 +0300 7756 7757 Updated THANKS. 7758 7759 THANKS | 1 + 7760 1 files changed, 1 insertions(+), 0 deletions(-) 7761 7762commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d 7763Author: Lasse Collin <lasse.collin@tukaani.org> 7764Date: 2008-09-11 10:48:12 +0300 7765 7766 Fix a compiler error on big endian systems that don't 7767 support unaligned memory access. 7768 7769 src/common/integer.h | 32 ++++++++++++++++++-------------- 7770 1 files changed, 18 insertions(+), 14 deletions(-) 7771 7772commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671 7773Author: Lasse Collin <lasse.collin@tukaani.org> 7774Date: 2008-09-11 10:46:14 +0300 7775 7776 Silence a compiler warning. 7777 7778 src/lzma/process.c | 2 +- 7779 1 files changed, 1 insertions(+), 1 deletions(-) 7780 7781commit 9373e81e18822db4972819442ea4c2cb9955470b 7782Author: Lasse Collin <lasse.collin@tukaani.org> 7783Date: 2008-09-10 19:16:32 +0300 7784 7785 Bumped version to 4.999.6alpha. 7786 7787 configure.ac | 2 +- 7788 src/liblzma/api/lzma/version.h | 2 +- 7789 2 files changed, 2 insertions(+), 2 deletions(-) 7790 7791commit cb072b7c8442ba68bb0c62c0abbbe939794887a3 7792Author: Lasse Collin <lasse.collin@tukaani.org> 7793Date: 2008-09-10 17:02:00 +0300 7794 7795 Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. 7796 Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID 7797 is in the reserved range. This allows Block Header encoder to 7798 detect unallowed Filter IDs, which is good for Stream encoder. 7799 7800 src/liblzma/common/filter_flags_encoder.c | 7 ++++--- 7801 1 files changed, 4 insertions(+), 3 deletions(-) 7802 7803commit 123ab0acec435c9e9866a99e30482116cfbd9ba5 7804Author: Lasse Collin <lasse.collin@tukaani.org> 7805Date: 2008-09-10 16:44:32 +0300 7806 7807 Filter handling cleanups 7808 7809 src/liblzma/api/lzma/filter.h | 133 +++++++++++++++++++++++++++-------- 7810 src/liblzma/common/filter_common.h | 3 + 7811 src/liblzma/common/filter_decoder.c | 80 +++++++-------------- 7812 src/liblzma/common/filter_decoder.h | 5 -- 7813 src/liblzma/common/filter_encoder.c | 82 +++++++--------------- 7814 src/liblzma/common/filter_encoder.h | 4 - 7815 6 files changed, 156 insertions(+), 151 deletions(-) 7816 7817commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1 7818Author: Lasse Collin <lasse.collin@tukaani.org> 7819Date: 2008-09-10 00:33:00 +0300 7820 7821 Comments 7822 7823 src/liblzma/common/stream_encoder.c | 6 +++++- 7824 1 files changed, 5 insertions(+), 1 deletions(-) 7825 7826commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e 7827Author: Lasse Collin <lasse.collin@tukaani.org> 7828Date: 2008-09-10 00:27:02 +0300 7829 7830 Cleaned up Block encoder and moved the no longer shared 7831 code from block_private.h to block_decoder.c. Now the Block 7832 encoder doesn't need compressed_size and uncompressed_size 7833 from lzma_block structure to be initialized. 7834 7835 src/liblzma/api/lzma/block.h | 3 - 7836 src/liblzma/common/Makefile.am | 1 - 7837 src/liblzma/common/block_decoder.c | 23 +++++++++- 7838 src/liblzma/common/block_encoder.c | 92 +++++++++++++++++------------------- 7839 src/liblzma/common/block_private.h | 47 ------------------ 7840 5 files changed, 66 insertions(+), 100 deletions(-) 7841 7842commit 07efcb5a6bc5d7018798ebd728586f84183e7d64 7843Author: Lasse Collin <lasse.collin@tukaani.org> 7844Date: 2008-09-07 10:23:13 +0300 7845 7846 Changed Filter ID of LZMA to 0x20. 7847 7848 doc/file-format.txt | 4 ++-- 7849 src/liblzma/api/lzma/lzma.h | 2 +- 7850 2 files changed, 3 insertions(+), 3 deletions(-) 7851 7852commit 32fe5fa541e82c08e054086279079ae5016bd8d8 7853Author: Lasse Collin <lasse.collin@tukaani.org> 7854Date: 2008-09-06 23:42:50 +0300 7855 7856 Comments 7857 7858 src/liblzma/api/lzma/base.h | 81 +++++++++++++++++++++++++------------- 7859 src/liblzma/api/lzma/container.h | 6 ++- 7860 src/liblzma/lz/lz_encoder.c | 3 +- 7861 src/liblzma/lz/lz_encoder.h | 12 +++--- 7862 src/liblzma/lz/lz_encoder_mf.c | 2 +- 7863 5 files changed, 65 insertions(+), 39 deletions(-) 7864 7865commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 7866Author: Lasse Collin <lasse.collin@tukaani.org> 7867Date: 2008-09-06 15:14:30 +0300 7868 7869 Some API cleanups 7870 7871 src/liblzma/api/lzma/base.h | 314 ++++++++++++++++++++++------------- 7872 src/liblzma/api/lzma/check.h | 10 + 7873 src/liblzma/api/lzma/container.h | 40 +++-- 7874 src/liblzma/common/auto_decoder.c | 18 +- 7875 src/liblzma/common/common.c | 7 + 7876 src/liblzma/common/common.h | 18 +- 7877 src/liblzma/common/easy.c | 2 +- 7878 src/liblzma/common/stream_decoder.c | 31 ++-- 7879 src/lzma/process.c | 2 +- 7880 src/lzmadec/lzmadec.c | 6 +- 7881 tests/tests.h | 72 ++------ 7882 11 files changed, 301 insertions(+), 219 deletions(-) 7883 7884commit da98df54400998be2a6c3876f9655a3c51b93c10 7885Author: Lasse Collin <lasse.collin@tukaani.org> 7886Date: 2008-09-04 11:53:06 +0300 7887 7888 Added support for raw encoding and decoding to the command 7889 line tool, and made various cleanups. --lzma was renamed to 7890 --lzma1 to prevent people from accidentally using LZMA when 7891 they want LZMA2. 7892 7893 src/lzma/args.c | 17 +++++++++-------- 7894 src/lzma/args.h | 1 + 7895 src/lzma/help.c | 24 ++++++------------------ 7896 src/lzma/process.c | 42 ++++++++++++++++++++++++++++++++++-------- 7897 4 files changed, 50 insertions(+), 34 deletions(-) 7898 7899commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd 7900Author: Lasse Collin <lasse.collin@tukaani.org> 7901Date: 2008-09-04 10:39:15 +0300 7902 7903 Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's 7904 simply nothing that would use it. Allow LZMA_FINISH to the 7905 decoders, which will usually ignore it (auto decoder and 7906 Stream decoder being exceptions). 7907 7908 src/liblzma/common/alone_decoder.c | 1 - 7909 src/liblzma/common/block_decoder.c | 2 +- 7910 src/liblzma/common/filter_decoder.c | 2 +- 7911 3 files changed, 2 insertions(+), 3 deletions(-) 7912 7913commit bea301c26d5d52675e11e0236faec0492af98f60 7914Author: Lasse Collin <lasse.collin@tukaani.org> 7915Date: 2008-09-03 17:06:25 +0300 7916 7917 Minor updates to the file format specification. 7918 7919 doc/file-format.txt | 105 +++++++++++++++++++++++++++++++++++++++++---------- 7920 1 files changed, 85 insertions(+), 20 deletions(-) 7921 7922commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8 7923Author: Lasse Collin <lasse.collin@tukaani.org> 7924Date: 2008-09-02 19:33:32 +0300 7925 7926 Command line tool fixes 7927 7928 src/lzma/process.c | 21 +++++++++++++-------- 7929 1 files changed, 13 insertions(+), 8 deletions(-) 7930 7931commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4 7932Author: Lasse Collin <lasse.collin@tukaani.org> 7933Date: 2008-09-02 19:31:42 +0300 7934 7935 Auto decoder cleanup 7936 7937 src/liblzma/common/auto_decoder.c | 2 +- 7938 1 files changed, 1 insertions(+), 1 deletions(-) 7939 7940commit 689602336d126a46b60d791a67decab65e1e81f5 7941Author: Lasse Collin <lasse.collin@tukaani.org> 7942Date: 2008-09-02 19:12:12 +0300 7943 7944 Updated auto decoder to handle LZMA_CONCATENATED when decoding 7945 LZMA_Alone files. Decoding of concatenated LZMA_Alone files is 7946 intentionally not supported, so it is better to put this in 7947 auto decoder than LZMA_Alone decoder. 7948 7949 src/liblzma/common/auto_decoder.c | 87 ++++++++++++++++++++++++++++++------- 7950 1 files changed, 71 insertions(+), 16 deletions(-) 7951 7952commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c 7953Author: Lasse Collin <lasse.collin@tukaani.org> 7954Date: 2008-09-02 14:56:52 +0300 7955 7956 Stream decoder cleanups 7957 7958 src/liblzma/common/stream_decoder.c | 57 +++++++++++++++++++--------------- 7959 1 files changed, 32 insertions(+), 25 deletions(-) 7960 7961commit fc681657450ce57be1fe08f7a15d31dcc705e514 7962Author: Lasse Collin <lasse.collin@tukaani.org> 7963Date: 2008-09-02 11:45:39 +0300 7964 7965 Some fixes to LZ encoder. 7966 7967 src/liblzma/lz/lz_encoder.c | 56 +++++++++++++++++++---- 7968 src/liblzma/lz/lz_encoder.h | 18 ++++--- 7969 src/liblzma/lz/lz_encoder_mf.c | 95 ++++++++++++++++------------------------ 7970 3 files changed, 94 insertions(+), 75 deletions(-) 7971 7972commit ede675f9ac1ca82a7d7c290324adba672118bc8d 7973Author: Lasse Collin <lasse.collin@tukaani.org> 7974Date: 2008-08-31 11:47:01 +0300 7975 7976 Fix wrong pointer calculation in LZMA encoder. 7977 7978 src/liblzma/lzma/lzma_encoder.c | 4 +++- 7979 1 files changed, 3 insertions(+), 1 deletions(-) 7980 7981commit 3b34851de1eaf358cf9268922fa0eeed8278d680 7982Author: Lasse Collin <lasse.collin@tukaani.org> 7983Date: 2008-08-28 22:53:15 +0300 7984 7985 Sort of garbage collection commit. :-| Many things are still 7986 broken. API has changed a lot and it will still change a 7987 little more here and there. The command line tool doesn't 7988 have all the required changes to reflect the API changes, so 7989 it's easy to get "internal error" or trigger assertions. 7990 7991 configure.ac | 356 +++--- 7992 debug/Makefile.am | 5 +- 7993 debug/crc32.c | 45 + 7994 debug/full_flush.c | 14 +- 7995 debug/hex2bin.c | 54 + 7996 debug/known_sizes.c | 135 ++ 7997 debug/memusage.c | 8 +- 7998 debug/sync_flush.c | 20 +- 7999 src/common/integer.h | 26 +- 8000 src/common/sysdefs.h | 42 +- 8001 src/liblzma/Makefile.am | 17 +- 8002 src/liblzma/api/Makefile.am | 6 +- 8003 src/liblzma/api/lzma.h | 161 ++- 8004 src/liblzma/api/lzma/alignment.h | 6 +- 8005 src/liblzma/api/lzma/alone.h | 52 - 8006 src/liblzma/api/lzma/auto.h | 36 - 8007 src/liblzma/api/lzma/base.h | 61 +- 8008 src/liblzma/api/lzma/block.h | 38 +- 8009 src/liblzma/api/lzma/check.h | 41 +- 8010 src/liblzma/api/lzma/container.h | 252 ++++ 8011 src/liblzma/api/lzma/delta.h | 36 +- 8012 src/liblzma/api/lzma/easy.h | 121 -- 8013 src/liblzma/api/lzma/filter.h | 74 +- 8014 src/liblzma/api/lzma/index.h | 40 +- 8015 src/liblzma/api/lzma/index_hash.h | 12 +- 8016 src/liblzma/api/lzma/lzma.h | 222 ++-- 8017 src/liblzma/api/lzma/memlimit.h | 15 +- 8018 src/liblzma/api/lzma/raw.h | 60 - 8019 src/liblzma/api/lzma/simple.h | 2 +- 8020 src/liblzma/api/lzma/stream.h | 53 - 8021 src/liblzma/api/lzma/stream_flags.h | 17 +- 8022 src/liblzma/api/lzma/subblock.h | 4 +- 8023 src/liblzma/api/lzma/version.h | 10 +- 8024 src/liblzma/api/lzma/vli.h | 131 +-- 8025 src/liblzma/check/check.c | 128 +-- 8026 src/liblzma/check/check.h | 67 +- 8027 src/liblzma/check/sha256.c | 29 +- 8028 src/liblzma/common/Makefile.am | 51 +- 8029 src/liblzma/common/alignment.c | 4 +- 8030 src/liblzma/common/allocator.c | 58 - 8031 src/liblzma/common/alone_decoder.c | 49 +- 8032 src/liblzma/common/alone_decoder.h | 9 +- 8033 src/liblzma/common/alone_encoder.c | 13 +- 8034 src/liblzma/common/auto_decoder.c | 38 +- 8035 src/liblzma/common/block_decoder.c | 67 +- 8036 src/liblzma/common/block_decoder.h | 2 +- 8037 src/liblzma/common/block_encoder.c | 42 +- 8038 src/liblzma/common/block_encoder.h | 2 +- 8039 src/liblzma/common/block_header_decoder.c | 6 +- 8040 src/liblzma/common/block_header_encoder.c | 9 +- 8041 src/liblzma/common/block_util.c | 10 +- 8042 src/liblzma/common/code.c | 203 --- 8043 src/liblzma/common/common.c | 298 +++++ 8044 src/liblzma/common/common.h | 237 ++-- 8045 src/liblzma/common/delta_common.c | 66 - 8046 src/liblzma/common/delta_common.h | 44 - 8047 src/liblzma/common/delta_decoder.c | 61 - 8048 src/liblzma/common/delta_decoder.h | 28 - 8049 src/liblzma/common/delta_encoder.c | 98 -- 8050 src/liblzma/common/delta_encoder.h | 28 - 8051 src/liblzma/common/easy.c | 18 +- 8052 src/liblzma/common/features.c | 66 - 8053 src/liblzma/common/filter_common.c | 262 ++++ 8054 src/liblzma/common/filter_common.h | 52 + 8055 src/liblzma/common/filter_decoder.c | 236 ++++ 8056 src/liblzma/common/filter_decoder.h | 35 + 8057 src/liblzma/common/filter_encoder.c | 308 +++++ 8058 src/liblzma/common/filter_encoder.h | 38 + 8059 src/liblzma/common/filter_flags_decoder.c | 185 +--- 8060 src/liblzma/common/filter_flags_encoder.c | 261 +---- 8061 src/liblzma/common/index_decoder.c | 14 +- 8062 src/liblzma/common/index_encoder.c | 16 +- 8063 src/liblzma/common/index_hash.c | 8 +- 8064 src/liblzma/common/init_encoder.c | 2 +- 8065 src/liblzma/common/memory_usage.c | 112 -- 8066 src/liblzma/common/next_coder.c | 65 - 8067 src/liblzma/common/raw_common.c | 127 -- 8068 src/liblzma/common/raw_common.h | 30 - 8069 src/liblzma/common/raw_decoder.c | 116 -- 8070 src/liblzma/common/raw_decoder.h | 29 - 8071 src/liblzma/common/raw_encoder.c | 111 -- 8072 src/liblzma/common/raw_encoder.h | 29 - 8073 src/liblzma/common/stream_common.c | 23 - 8074 src/liblzma/common/stream_common.h | 31 - 8075 src/liblzma/common/stream_decoder.c | 238 +++- 8076 src/liblzma/common/stream_decoder.h | 4 +- 8077 src/liblzma/common/stream_encoder.c | 35 +- 8078 src/liblzma/common/stream_encoder.h | 2 +- 8079 src/liblzma/common/stream_flags_common.c | 40 + 8080 src/liblzma/common/stream_flags_common.h | 31 + 8081 src/liblzma/common/stream_flags_decoder.c | 2 +- 8082 src/liblzma/common/stream_flags_encoder.c | 2 +- 8083 src/liblzma/common/stream_flags_equal.c | 36 - 8084 src/liblzma/common/version.c | 25 - 8085 src/liblzma/common/vli_decoder.c | 29 +- 8086 src/liblzma/common/vli_encoder.c | 23 +- 8087 src/liblzma/common/vli_size.c | 37 + 8088 src/liblzma/delta/Makefile.am | 34 + 8089 src/liblzma/delta/delta_common.c | 66 + 8090 src/liblzma/delta/delta_common.h | 44 + 8091 src/liblzma/delta/delta_decoder.c | 82 ++ 8092 src/liblzma/delta/delta_decoder.h | 32 + 8093 src/liblzma/delta/delta_encoder.c | 119 ++ 8094 src/liblzma/delta/delta_encoder.h | 30 + 8095 src/liblzma/lz/Makefile.am | 35 +- 8096 src/liblzma/lz/bt2.c | 27 - 8097 src/liblzma/lz/bt2.h | 31 - 8098 src/liblzma/lz/bt3.c | 29 - 8099 src/liblzma/lz/bt3.h | 31 - 8100 src/liblzma/lz/bt4.c | 30 - 8101 src/liblzma/lz/bt4.h | 31 - 8102 src/liblzma/lz/hc3.c | 30 - 8103 src/liblzma/lz/hc3.h | 31 - 8104 src/liblzma/lz/hc4.c | 31 - 8105 src/liblzma/lz/hc4.h | 31 - 8106 src/liblzma/lz/lz_decoder.c | 547 +++------ 8107 src/liblzma/lz/lz_decoder.h | 308 +++--- 8108 src/liblzma/lz/lz_encoder.c | 780 ++++++------ 8109 src/liblzma/lz/lz_encoder.h | 334 ++++-- 8110 src/liblzma/lz/lz_encoder_hash.h | 104 ++ 8111 src/liblzma/lz/lz_encoder_mf.c | 780 ++++++++++++ 8112 src/liblzma/lz/lz_encoder_private.h | 40 - 8113 src/liblzma/lz/match_c.h | 412 ------ 8114 src/liblzma/lz/match_h.h | 69 - 8115 src/liblzma/lzma/Makefile.am | 37 +- 8116 src/liblzma/lzma/fastpos.h | 8 +- 8117 src/liblzma/lzma/lzma2_decoder.c | 318 +++++ 8118 src/liblzma/lzma/lzma2_decoder.h | 35 + 8119 src/liblzma/lzma/lzma2_encoder.c | 406 ++++++ 8120 src/liblzma/lzma/lzma2_encoder.h | 34 + 8121 src/liblzma/lzma/lzma_common.h | 208 +++- 8122 src/liblzma/lzma/lzma_decoder.c | 1306 ++++++++++++-------- 8123 src/liblzma/lzma/lzma_decoder.h | 21 +- 8124 src/liblzma/lzma/lzma_encoder.c | 576 +++++++-- 8125 src/liblzma/lzma/lzma_encoder.h | 38 +- 8126 src/liblzma/lzma/lzma_encoder_features.c | 2 +- 8127 src/liblzma/lzma/lzma_encoder_getoptimum.c | 925 -------------- 8128 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 --- 8129 src/liblzma/lzma/lzma_encoder_init.c | 228 ---- 8130 src/liblzma/lzma/lzma_encoder_optimum_fast.c | 193 +++ 8131 src/liblzma/lzma/lzma_encoder_optimum_normal.c | 875 +++++++++++++ 8132 src/liblzma/lzma/lzma_encoder_presets.c | 52 +- 8133 src/liblzma/lzma/lzma_encoder_private.h | 174 +-- 8134 src/liblzma/lzma/lzma_literal.c | 51 - 8135 src/liblzma/lzma/lzma_literal.h | 71 -- 8136 src/liblzma/rangecoder/Makefile.am | 10 +- 8137 src/liblzma/rangecoder/price.h | 111 ++ 8138 src/liblzma/rangecoder/price_table.c | 84 +- 8139 src/liblzma/rangecoder/price_table_gen.c | 55 - 8140 src/liblzma/rangecoder/price_table_init.c | 33 +- 8141 src/liblzma/rangecoder/price_tablegen.c | 56 + 8142 src/liblzma/rangecoder/range_common.h | 17 +- 8143 src/liblzma/rangecoder/range_decoder.h | 209 ++-- 8144 src/liblzma/rangecoder/range_encoder.h | 92 +-- 8145 src/liblzma/simple/Makefile.am | 12 + 8146 src/liblzma/simple/simple_coder.c | 8 +- 8147 src/liblzma/simple/simple_decoder.c | 47 + 8148 src/liblzma/simple/simple_decoder.h | 29 + 8149 src/liblzma/simple/simple_encoder.c | 45 + 8150 src/liblzma/simple/simple_encoder.h | 30 + 8151 src/liblzma/subblock/Makefile.am | 4 +- 8152 src/liblzma/subblock/subblock_decoder.c | 20 +- 8153 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 8154 src/liblzma/subblock/subblock_encoder.c | 28 +- 8155 src/lzma/args.c | 35 +- 8156 src/lzma/args.h | 4 +- 8157 src/lzma/options.c | 14 +- 8158 src/lzma/process.c | 88 +- 8159 src/lzmadec/lzmadec.c | 157 +-- 8160 tests/Makefile.am | 1 + 8161 tests/files/README | 303 ++--- 8162 tests/files/bad-0-backward_size.lzma | Bin 0 -> 32 bytes 8163 tests/files/bad-0-empty-truncated.lzma | Bin 0 -> 31 bytes 8164 tests/files/bad-0-nonempty_index.lzma | Bin 0 -> 32 bytes 8165 tests/files/bad-0cat-alone.lzma | Bin 0 -> 55 bytes 8166 tests/files/bad-0catpad-empty.lzma | Bin 0 -> 69 bytes 8167 tests/files/bad-0pad-empty.lzma | Bin 0 -> 37 bytes 8168 tests/files/bad-1-block_header-1.lzma | Bin 0 -> 64 bytes 8169 tests/files/bad-1-block_header-2.lzma | Bin 0 -> 64 bytes 8170 tests/files/bad-1-block_header-3.lzma | Bin 0 -> 68 bytes 8171 tests/files/bad-1-block_header-4.lzma | Bin 0 -> 72 bytes 8172 tests/files/bad-1-check-crc32.lzma | Bin 0 -> 68 bytes 8173 tests/files/bad-1-check-crc64.lzma | Bin 0 -> 72 bytes 8174 tests/files/bad-1-check-sha256.lzma | Bin 0 -> 96 bytes 8175 tests/files/bad-1-lzma2-1.lzma | Bin 0 -> 64 bytes 8176 tests/files/bad-1-lzma2-2.lzma | Bin 0 -> 424 bytes 8177 tests/files/bad-1-lzma2-3.lzma | Bin 0 -> 424 bytes 8178 tests/files/bad-1-lzma2-4.lzma | Bin 0 -> 408 bytes 8179 tests/files/bad-1-lzma2-5.lzma | Bin 0 -> 408 bytes 8180 tests/files/bad-1-lzma2-6.lzma | Bin 0 -> 68 bytes 8181 tests/files/bad-1-lzma2-7.lzma | Bin 0 -> 408 bytes 8182 tests/files/bad-1-stream_flags-1.lzma | Bin 0 -> 68 bytes 8183 tests/files/bad-1-stream_flags-2.lzma | Bin 0 -> 68 bytes 8184 tests/files/bad-1-stream_flags-3.lzma | Bin 0 -> 68 bytes 8185 tests/files/bad-1-vli-1.lzma | Bin 0 -> 72 bytes 8186 tests/files/bad-1-vli-2.lzma | Bin 0 -> 72 bytes 8187 tests/files/bad-2-compressed_data_padding.lzma | Bin 0 -> 92 bytes 8188 tests/files/bad-2-index-1.lzma | Bin 0 -> 92 bytes 8189 tests/files/bad-2-index-2.lzma | Bin 0 -> 92 bytes 8190 tests/files/bad-2-index-3.lzma | Bin 0 -> 92 bytes 8191 tests/files/bad-2-index-4.lzma | Bin 0 -> 92 bytes 8192 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 65 -> 0 bytes 8193 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 65 -> 0 bytes 8194 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 65 -> 0 bytes 8195 tests/files/bad-multi-none-1.lzma | Bin 54 -> 0 bytes 8196 tests/files/bad-multi-none-2.lzma | Bin 53 -> 0 bytes 8197 tests/files/bad-multi-none-3.lzma | Bin 53 -> 0 bytes 8198 tests/files/bad-multi-none-block_1.lzma | Bin 66 -> 0 bytes 8199 tests/files/bad-multi-none-block_2.lzma | Bin 66 -> 0 bytes 8200 tests/files/bad-multi-none-block_3.lzma | Bin 58 -> 0 bytes 8201 tests/files/bad-multi-none-extra_1.lzma | Bin 54 -> 0 bytes 8202 tests/files/bad-multi-none-extra_2.lzma | Bin 54 -> 0 bytes 8203 tests/files/bad-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 8204 tests/files/bad-multi-none-header_1.lzma | Bin 57 -> 0 bytes 8205 tests/files/bad-multi-none-header_2.lzma | Bin 61 -> 0 bytes 8206 tests/files/bad-multi-none-header_3.lzma | Bin 59 -> 0 bytes 8207 tests/files/bad-multi-none-header_4.lzma | Bin 59 -> 0 bytes 8208 tests/files/bad-multi-none-header_5.lzma | Bin 58 -> 0 bytes 8209 tests/files/bad-multi-none-header_6.lzma | Bin 59 -> 0 bytes 8210 tests/files/bad-multi-none-header_7.lzma | Bin 59 -> 0 bytes 8211 tests/files/bad-multi-none-index_1.lzma | Bin 51 -> 0 bytes 8212 tests/files/bad-multi-none-index_2.lzma | Bin 49 -> 0 bytes 8213 tests/files/bad-multi-none-index_3.lzma | Bin 51 -> 0 bytes 8214 tests/files/bad-multi-none-index_4.lzma | Bin 51 -> 0 bytes 8215 tests/files/bad-single-data_after_eopm_1.lzma | Bin 55 -> 0 bytes 8216 tests/files/bad-single-data_after_eopm_2.lzma | Bin 56 -> 0 bytes 8217 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 53 -> 0 bytes 8218 tests/files/bad-single-lzma-flush_twice.lzma | Bin 63 -> 0 bytes 8219 tests/files/bad-single-none-empty.lzma | Bin 19 -> 0 bytes 8220 .../files/bad-single-none-footer_filter_flags.lzma | Bin 30 -> 0 bytes 8221 tests/files/bad-single-none-too_long_vli.lzma | Bin 39 -> 0 bytes 8222 tests/files/bad-single-none-truncated.lzma | Bin 29 -> 0 bytes 8223 tests/files/bad-single-subblock-padding_loop.lzma | Bin 43 -> 0 bytes 8224 tests/files/bad-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 8225 tests/files/bad-single-subblock_subblock.lzma | Bin 26 -> 0 bytes 8226 tests/files/good-0-empty.lzma | Bin 0 -> 32 bytes 8227 tests/files/good-0cat-empty.lzma | Bin 0 -> 64 bytes 8228 tests/files/good-0catpad-empty.lzma | Bin 0 -> 68 bytes 8229 tests/files/good-0pad-empty.lzma | Bin 0 -> 36 bytes 8230 tests/files/good-1-3delta-lzma2.lzma | Bin 0 -> 528 bytes 8231 tests/files/good-1-block_header-1.lzma | Bin 0 -> 72 bytes 8232 tests/files/good-1-block_header-2.lzma | Bin 0 -> 68 bytes 8233 tests/files/good-1-block_header-3.lzma | Bin 0 -> 68 bytes 8234 tests/files/good-1-check-crc32.lzma | Bin 0 -> 68 bytes 8235 tests/files/good-1-check-crc64.lzma | Bin 0 -> 72 bytes 8236 tests/files/good-1-check-none.lzma | Bin 0 -> 64 bytes 8237 tests/files/good-1-check-sha256.lzma | Bin 0 -> 96 bytes 8238 tests/files/good-1-delta-lzma2.tiff.lzma | Bin 0 -> 51312 bytes 8239 tests/files/good-1-lzma2-1.lzma | Bin 0 -> 424 bytes 8240 tests/files/good-1-lzma2-2.lzma | Bin 0 -> 424 bytes 8241 tests/files/good-1-lzma2-3.lzma | Bin 0 -> 408 bytes 8242 tests/files/good-1-sparc-lzma2.lzma | Bin 0 -> 2292 bytes 8243 tests/files/good-1-x86-lzma2.lzma | Bin 0 -> 1936 bytes 8244 tests/files/good-2-lzma2.lzma | Bin 0 -> 92 bytes 8245 tests/files/good-cat-single-none-pad.lzma | Bin 64 -> 0 bytes 8246 tests/files/good-multi-none-1.lzma | Bin 75 -> 0 bytes 8247 tests/files/good-multi-none-2.lzma | Bin 53 -> 0 bytes 8248 tests/files/good-multi-none-block_1.lzma | Bin 66 -> 0 bytes 8249 tests/files/good-multi-none-block_2.lzma | Bin 58 -> 0 bytes 8250 tests/files/good-multi-none-extra_1.lzma | Bin 51 -> 0 bytes 8251 tests/files/good-multi-none-extra_2.lzma | Bin 79 -> 0 bytes 8252 tests/files/good-multi-none-extra_3.lzma | Bin 55 -> 0 bytes 8253 tests/files/good-multi-none-header_1.lzma | Bin 58 -> 0 bytes 8254 tests/files/good-multi-none-header_2.lzma | Bin 66 -> 0 bytes 8255 tests/files/good-multi-none-header_3.lzma | Bin 59 -> 0 bytes 8256 tests/files/good-single-delta-lzma.tiff.lzma | Bin 51409 -> 0 bytes 8257 tests/files/good-single-lzma-empty.lzma | Bin 21 -> 0 bytes 8258 tests/files/good-single-lzma-flush_1.lzma | Bin 48 -> 0 bytes 8259 tests/files/good-single-lzma-flush_2.lzma | Bin 63 -> 0 bytes 8260 tests/files/good-single-lzma.lzma | Bin 44 -> 0 bytes 8261 tests/files/good-single-none-empty_1.lzma | Bin 18 -> 0 bytes 8262 tests/files/good-single-none-empty_2.lzma | Bin 26 -> 0 bytes 8263 tests/files/good-single-none-empty_3.lzma | Bin 19 -> 0 bytes 8264 tests/files/good-single-none-pad.lzma | Bin 32 -> 0 bytes 8265 tests/files/good-single-none.lzma | Bin 30 -> 0 bytes 8266 tests/files/good-single-sparc-lzma.lzma | Bin 2263 -> 0 bytes 8267 tests/files/good-single-subblock-lzma.lzma | Bin 50 -> 0 bytes 8268 tests/files/good-single-subblock_implicit.lzma | Bin 35 -> 0 bytes 8269 tests/files/good-single-subblock_rle.lzma | Bin 118 -> 0 bytes 8270 tests/files/good-single-x86-lzma.lzma | Bin 1909 -> 0 bytes 8271 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 51 -> 0 bytes 8272 tests/files/malicious-single-subblock-256MiB.lzma | Bin 30 -> 0 bytes 8273 tests/files/malicious-single-subblock-64PiB.lzma | Bin 45 -> 0 bytes 8274 tests/files/malicious-single-subblock31-slow.lzma | Bin 1233 -> 0 bytes 8275 tests/files/unsupported-block_header.lzma | Bin 0 -> 68 bytes 8276 tests/files/unsupported-check.lzma | Bin 0 -> 68 bytes 8277 tests/files/unsupported-filter_flags-1.lzma | Bin 0 -> 68 bytes 8278 tests/files/unsupported-filter_flags-2.lzma | Bin 0 -> 68 bytes 8279 tests/files/unsupported-filter_flags-3.lzma | Bin 0 -> 68 bytes 8280 tests/test_block_header.c | 28 +- 8281 tests/test_compress.sh | 4 +- 8282 tests/test_filter_flags.c | 51 +- 8283 tests/test_stream_flags.c | 4 +- 8284 tests/tests.h | 8 + 8285 294 files changed, 9768 insertions(+), 8195 deletions(-) 8286 8287commit 57b9a145a527f0716822615e5ed536d33aebd3fc 8288Author: Lasse Collin <lasse.collin@tukaani.org> 8289Date: 2008-06-20 17:16:32 +0300 8290 8291 Fix test_filter_flags to match the new restriction of lc+lp. 8292 8293 tests/test_filter_flags.c | 3 +++ 8294 1 files changed, 3 insertions(+), 0 deletions(-) 8295 8296commit eaafc4367c77ec1d910e16d11b4da293969d97a3 8297Author: Lasse Collin <lasse.collin@tukaani.org> 8298Date: 2008-06-20 16:19:54 +0300 8299 8300 Remove some redundant code from LZMA encoder. 8301 8302 src/liblzma/lzma/lzma_encoder.c | 15 +-------------- 8303 1 files changed, 1 insertions(+), 14 deletions(-) 8304 8305commit 0809c46534fa5664fe35d9e98d95e87312ed130e 8306Author: Lasse Collin <lasse.collin@tukaani.org> 8307Date: 2008-06-19 16:35:08 +0300 8308 8309 Add limit of lc + lp <= 4. Now we can allocate the 8310 literal coder as part of the main LZMA encoder or 8311 decoder structure. 8312 8313 Make the LZMA decoder to rely on the current internal API 8314 to free the allocated memory in case an error occurs. 8315 8316 src/liblzma/api/lzma/lzma.h | 10 +++++- 8317 src/liblzma/lzma/lzma_decoder.c | 57 +++++++----------------------- 8318 src/liblzma/lzma/lzma_encoder_init.c | 13 +++---- 8319 src/liblzma/lzma/lzma_encoder_private.h | 2 +- 8320 src/liblzma/lzma/lzma_literal.c | 39 ++++----------------- 8321 src/liblzma/lzma/lzma_literal.h | 13 +++---- 8322 6 files changed, 43 insertions(+), 91 deletions(-) 8323 8324commit d25ab1b96178f06a0e724f58e3cd68300b2b1275 8325Author: Lasse Collin <lasse.collin@tukaani.org> 8326Date: 2008-06-18 21:45:19 +0300 8327 8328 Comments 8329 8330 src/liblzma/lzma/lzma_encoder.c | 7 ++----- 8331 1 files changed, 2 insertions(+), 5 deletions(-) 8332 8333commit 6368a2fa5901c75864be5171dd57a50af7adbb41 8334Author: Lasse Collin <lasse.collin@tukaani.org> 8335Date: 2008-06-18 19:19:02 +0300 8336 8337 Delete old code that was supposed to be already deleted 8338 from test_block_header.c. 8339 8340 tests/test_block_header.c | 30 ------------------------------ 8341 1 files changed, 0 insertions(+), 30 deletions(-) 8342 8343commit 7d17818cec8597f847b0a2537fde991bbc3d9e96 8344Author: Lasse Collin <lasse.collin@tukaani.org> 8345Date: 2008-06-18 18:02:10 +0300 8346 8347 Update the code to mostly match the new simpler file format 8348 specification. Simplify things by removing most of the 8349 support for known uncompressed size in most places. 8350 There are some miscellaneous changes here and there too. 8351 8352 The API of liblzma has got many changes and still some 8353 more will be done soon. While most of the code has been 8354 updated, some things are not fixed (the command line tool 8355 will choke with invalid filter chain, if nothing else). 8356 8357 Subblock filter is somewhat broken for now. It will be 8358 updated once the encoded format of the Subblock filter 8359 has been decided. 8360 8361 configure.ac | 41 +- 8362 debug/full_flush.c | 16 +- 8363 debug/sync_flush.c | 15 +- 8364 src/common/bswap.h | 44 ++ 8365 src/common/integer.h | 167 +++++ 8366 src/liblzma/api/Makefile.am | 5 +- 8367 src/liblzma/api/lzma.h | 9 +- 8368 src/liblzma/api/lzma/alone.h | 32 +- 8369 src/liblzma/api/lzma/auto.h | 7 +- 8370 src/liblzma/api/lzma/base.h | 15 + 8371 src/liblzma/api/lzma/block.h | 304 +++------- 8372 src/liblzma/api/lzma/check.h | 18 +- 8373 src/liblzma/api/lzma/copy.h | 29 - 8374 src/liblzma/api/lzma/easy.h | 61 +-- 8375 src/liblzma/api/lzma/extra.h | 114 ---- 8376 src/liblzma/api/lzma/filter.h | 5 +- 8377 src/liblzma/api/lzma/index.h | 204 +++++- 8378 src/liblzma/api/lzma/index_hash.h | 94 +++ 8379 src/liblzma/api/lzma/info.h | 315 --------- 8380 src/liblzma/api/lzma/lzma.h | 2 +- 8381 src/liblzma/api/lzma/metadata.h | 100 --- 8382 src/liblzma/api/lzma/raw.h | 20 +- 8383 src/liblzma/api/lzma/stream.h | 157 +---- 8384 src/liblzma/api/lzma/stream_flags.h | 146 ++--- 8385 src/liblzma/api/lzma/version.h | 2 +- 8386 src/liblzma/api/lzma/vli.h | 83 ++-- 8387 src/liblzma/check/Makefile.am | 1 - 8388 src/liblzma/check/check.c | 55 ++- 8389 src/liblzma/check/check.h | 47 +- 8390 src/liblzma/check/check_byteswap.h | 43 -- 8391 src/liblzma/check/crc32_init.c | 2 +- 8392 src/liblzma/check/crc64_init.c | 2 +- 8393 src/liblzma/check/crc_macros.h | 2 +- 8394 src/liblzma/check/sha256.c | 53 +- 8395 src/liblzma/common/Makefile.am | 31 +- 8396 src/liblzma/common/alignment.c | 5 +- 8397 src/liblzma/common/alone_decoder.c | 77 ++- 8398 src/liblzma/common/alone_encoder.c | 99 ++-- 8399 src/liblzma/common/auto_decoder.c | 18 +- 8400 src/liblzma/common/block_decoder.c | 298 +++------- 8401 src/liblzma/common/block_encoder.c | 228 ++----- 8402 src/liblzma/common/block_header_decoder.c | 400 +++---------- 8403 src/liblzma/common/block_header_encoder.c | 207 +++---- 8404 src/liblzma/common/block_private.h | 51 +-- 8405 src/liblzma/common/block_util.c | 73 +++ 8406 src/liblzma/common/common.h | 44 +- 8407 src/liblzma/common/copy_coder.c | 144 ----- 8408 src/liblzma/common/copy_coder.h | 31 - 8409 src/liblzma/common/delta_common.c | 4 - 8410 src/liblzma/common/delta_common.h | 4 - 8411 src/liblzma/common/delta_decoder.c | 55 +-- 8412 src/liblzma/common/delta_encoder.c | 7 +- 8413 src/liblzma/common/easy.c | 122 ++++ 8414 src/liblzma/common/easy_common.c | 54 -- 8415 src/liblzma/common/easy_common.h | 28 - 8416 src/liblzma/common/easy_multi.c | 103 --- 8417 src/liblzma/common/easy_single.c | 37 -- 8418 src/liblzma/common/extra.c | 34 - 8419 src/liblzma/common/features.c | 4 - 8420 src/liblzma/common/filter_flags_decoder.c | 384 +++-------- 8421 src/liblzma/common/filter_flags_encoder.c | 120 +--- 8422 src/liblzma/common/index.c | 773 ++++++++++++++++++++--- 8423 src/liblzma/common/index.h | 67 ++ 8424 src/liblzma/common/index_decoder.c | 252 ++++++++ 8425 src/liblzma/common/index_encoder.c | 222 +++++++ 8426 src/liblzma/common/index_encoder.h | 30 + 8427 src/liblzma/common/index_hash.c | 340 ++++++++++ 8428 src/liblzma/common/info.c | 814 ------------------------ 8429 src/liblzma/common/memory_usage.c | 1 - 8430 src/liblzma/common/metadata_decoder.c | 578 ----------------- 8431 src/liblzma/common/metadata_decoder.h | 31 - 8432 src/liblzma/common/metadata_encoder.c | 435 ------------- 8433 src/liblzma/common/metadata_encoder.h | 30 - 8434 src/liblzma/common/raw_common.c | 178 ++---- 8435 src/liblzma/common/raw_common.h | 5 +- 8436 src/liblzma/common/raw_decoder.c | 19 +- 8437 src/liblzma/common/raw_decoder.h | 3 +- 8438 src/liblzma/common/raw_encoder.c | 101 +--- 8439 src/liblzma/common/raw_encoder.h | 3 +- 8440 src/liblzma/common/stream_common.h | 3 + 8441 src/liblzma/common/stream_decoder.c | 458 ++++---------- 8442 src/liblzma/common/stream_decoder.h | 28 + 8443 src/liblzma/common/stream_encoder.c | 282 ++++++++ 8444 src/liblzma/common/stream_encoder.h | 30 + 8445 src/liblzma/common/stream_encoder_multi.c | 445 ------------- 8446 src/liblzma/common/stream_encoder_multi.h | 26 - 8447 src/liblzma/common/stream_encoder_single.c | 219 ------- 8448 src/liblzma/common/stream_flags_decoder.c | 260 ++------- 8449 src/liblzma/common/stream_flags_encoder.c | 56 +- 8450 src/liblzma/common/stream_flags_equal.c | 36 + 8451 src/liblzma/common/vli_decoder.c | 68 ++- 8452 src/liblzma/common/vli_encoder.c | 59 +- 8453 src/liblzma/common/vli_reverse_decoder.c | 55 -- 8454 src/liblzma/lz/lz_decoder.c | 6 +- 8455 src/liblzma/lz/lz_decoder.h | 10 +- 8456 src/liblzma/lzma/lzma_decoder.c | 13 +- 8457 src/liblzma/lzma/lzma_decoder.h | 10 +- 8458 src/liblzma/simple/simple_coder.c | 29 +- 8459 src/liblzma/simple/simple_private.h | 4 - 8460 src/liblzma/subblock/subblock_decoder.c | 106 +--- 8461 src/liblzma/subblock/subblock_decoder_helper.c | 5 +- 8462 src/liblzma/subblock/subblock_encoder.c | 8 +- 8463 src/lzma/args.c | 22 +- 8464 src/lzma/args.h | 2 - 8465 src/lzma/error.c | 6 + 8466 src/lzma/process.c | 26 +- 8467 src/lzmadec/lzmadec.c | 8 +- 8468 tests/Makefile.am | 5 +- 8469 tests/test_block_header.c | 411 +++++-------- 8470 tests/test_compress.sh | 65 +-- 8471 tests/test_filter_flags.c | 116 ++--- 8472 tests/test_index.c | 504 ++++++++++++++- 8473 tests/test_info.c | 717 --------------------- 8474 tests/test_stream_flags.c | 134 ++-- 8475 tests/tests.h | 14 +- 8476 115 files changed, 4845 insertions(+), 8155 deletions(-) 8477 8478commit bf6348d1a3ff09fdc06940468f318f75ffa6af11 8479Author: Lasse Collin <lasse.collin@tukaani.org> 8480Date: 2008-06-17 15:03:46 +0300 8481 8482 Update the file format specification draft. The new one is 8483 a lot simpler than the previous versions, but it also means 8484 that the existing code will change a lot. 8485 8486 doc/file-format.txt | 1794 +++++++++++++++------------------------------------ 8487 1 files changed, 508 insertions(+), 1286 deletions(-) 8488 8489commit 803194ddd26f01ff60ba4e9924c6087a56b29827 8490Author: Lasse Collin <lasse.collin@tukaani.org> 8491Date: 2008-06-11 21:42:47 +0300 8492 8493 Fix uninitialized variable in LZMA encoder. This was 8494 introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. 8495 8496 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 8497 1 files changed, 2 insertions(+), 0 deletions(-) 8498 8499commit 0ea98e52ba87453497b1355c51f13bad55c8924a 8500Author: Lasse Collin <lasse.collin@tukaani.org> 8501Date: 2008-06-11 15:08:44 +0300 8502 8503 Improve command line integer parsing a little in lzma and 8504 lzmadec to make them accept also KiB in addition Ki etc. 8505 Fix also memory usage information in lzmadec --help. 8506 8507 src/lzma/util.c | 23 ++++++++++++++--------- 8508 src/lzmadec/lzmadec.c | 31 ++++++++++++++++++------------- 8509 2 files changed, 32 insertions(+), 22 deletions(-) 8510 8511commit 436fa5fae96d4e35759aed33066060f09ee8c6ef 8512Author: Lasse Collin <lasse.collin@tukaani.org> 8513Date: 2008-06-10 20:36:12 +0300 8514 8515 s/decompressed/compressed/ in the command line tool's 8516 error message. 8517 8518 src/lzma/main.c | 2 +- 8519 1 files changed, 1 insertions(+), 1 deletions(-) 8520 8521commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f 8522Author: Lasse Collin <lasse.collin@tukaani.org> 8523Date: 2008-06-01 12:48:17 +0300 8524 8525 Fix a buffer overflow in the LZMA encoder. It was due to my 8526 misunderstanding of the code. There's no tiny fix for this 8527 problem, so I also cleaned up the code in general. 8528 8529 This reduces the speed of the encoder 2-5 % in the fastest 8530 compression mode ("lzma -1"). High compression modes should 8531 have no noticeable performance difference. 8532 8533 This commit breaks things (especially LZMA_SYNC_FLUSH) but I 8534 will fix them once the new format and LZMA2 has been roughly 8535 implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all 8536 and won't be supported in the new .lzma format. This may 8537 change still but this is what it looks like now. 8538 8539 Support for known uncompressed size (that is, LZMA or LZMA2 8540 without EOPM) is likely to go away. This means there will 8541 be API changes. 8542 8543 src/liblzma/lz/lz_encoder.c | 113 +----- 8544 src/liblzma/lz/lz_encoder.h | 18 +- 8545 src/liblzma/lzma/lzma_encoder.c | 551 +++++++++++------------- 8546 src/liblzma/lzma/lzma_encoder_getoptimum.c | 59 ++- 8547 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 4 +- 8548 src/liblzma/lzma/lzma_encoder_init.c | 9 +- 8549 src/liblzma/lzma/lzma_encoder_private.h | 15 +- 8550 src/liblzma/rangecoder/range_encoder.h | 383 +++++++++-------- 8551 8 files changed, 532 insertions(+), 620 deletions(-) 8552 8553commit e55e0e873ce2511325749d415ae547d62ab5f00d 8554Author: Lasse Collin <lasse.collin@tukaani.org> 8555Date: 2008-05-30 11:53:41 +0300 8556 8557 Typo fixes from meyering. 8558 8559 doc/faq.txt | 4 ++-- 8560 doc/liblzma-advanced.txt | 2 +- 8561 2 files changed, 3 insertions(+), 3 deletions(-) 8562 8563commit ed6664146fcbe9cc4a3b23b31632182ed812ea93 8564Author: Lasse Collin <lasse.collin@tukaani.org> 8565Date: 2008-05-11 14:24:42 +0300 8566 8567 Remove support for pre-C89 libc versions that lack memcpy, 8568 memmove, and memset. 8569 8570 configure.ac | 2 +- 8571 src/common/sysdefs.h | 15 ++------------- 8572 src/liblzma/common/allocator.c | 2 +- 8573 3 files changed, 4 insertions(+), 15 deletions(-) 8574 8575commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63 8576Author: Lasse Collin <lasse.collin@tukaani.org> 8577Date: 2008-05-11 14:17:21 +0300 8578 8579 Improved C99 compiler detection in configure.ac. It will 8580 pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic 8581 should still give warnings about GNU extensions like before 8582 except with some special keywords like asm(). 8583 8584 configure.ac | 24 ++++++++++++------------ 8585 1 files changed, 12 insertions(+), 12 deletions(-) 8586 8587commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf 8588Author: Lasse Collin <lasse.collin@tukaani.org> 8589Date: 2008-05-06 15:15:07 +0300 8590 8591 Bunch of grammar fixes from meyering. 8592 8593 doc/liblzma-security.txt | 8 ++++---- 8594 src/liblzma/api/lzma/memlimit.h | 6 +++--- 8595 src/lzma/help.c | 2 +- 8596 tests/files/README | 2 +- 8597 4 files changed, 9 insertions(+), 9 deletions(-) 8598 8599commit dc192b6343ae36276c85fcf7ef6006147816eadc 8600Author: Lasse Collin <lasse.collin@tukaani.org> 8601Date: 2008-05-06 13:41:05 +0300 8602 8603 Typo fix 8604 8605 src/liblzma/api/lzma/init.h | 2 +- 8606 1 files changed, 1 insertions(+), 1 deletions(-) 8607 8608commit 944b62b93239b27b338d117f2668c0e95849659b 8609Author: Lasse Collin <lasse.collin@tukaani.org> 8610Date: 2008-05-04 22:29:27 +0300 8611 8612 Don't print an error message on broken pipe unless --verbose 8613 is used. 8614 8615 src/lzma/io.c | 15 ++++++++++++++- 8616 1 files changed, 14 insertions(+), 1 deletions(-) 8617 8618commit 8e074349e47ea6832b8fdf9244e581d453733433 8619Author: Lasse Collin <lasse.collin@tukaani.org> 8620Date: 2008-04-30 22:16:17 +0300 8621 8622 Fix a crash with --format=alone if other filters than LZMA 8623 are specified on the command line. 8624 8625 src/lzma/args.c | 9 +++++++++ 8626 1 files changed, 9 insertions(+), 0 deletions(-) 8627 8628commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73 8629Author: Lasse Collin <lasse.collin@tukaani.org> 8630Date: 2008-04-28 17:08:27 +0300 8631 8632 Updated THANKS. 8633 8634 THANKS | 1 + 8635 1 files changed, 1 insertions(+), 0 deletions(-) 8636 8637commit 3be21fb12f4cec2cf07799e8960382f4cb375369 8638Author: Lasse Collin <lasse.collin@tukaani.org> 8639Date: 2008-04-28 17:06:34 +0300 8640 8641 Fixed wrong spelling "limitter" to "limiter". This affects 8642 liblzma's API. 8643 8644 doc/liblzma-security.txt | 14 +- 8645 src/liblzma/api/lzma/base.h | 4 +- 8646 src/liblzma/api/lzma/memlimit.h | 10 +- 8647 src/liblzma/api/lzma/stream.h | 4 +- 8648 src/liblzma/common/Makefile.am | 2 +- 8649 src/liblzma/common/memory_limiter.c | 288 ++++++++++++++++++++++++++++++++++ 8650 src/liblzma/common/memory_limitter.c | 288 ---------------------------------- 8651 src/lzma/list.c | 6 +- 8652 src/lzmadec/lzmadec.c | 12 +- 8653 tests/test_memlimit.c | 4 +- 8654 10 files changed, 316 insertions(+), 316 deletions(-) 8655 8656commit beeb81060821dfec4e7898e0d44b7900dcb2215e 8657Author: Lasse Collin <lasse.collin@tukaani.org> 8658Date: 2008-04-25 15:39:50 +0300 8659 8660 Prevent LZ encoder from hanging with known uncompressed 8661 size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream 8662 with known uncompressed size, but since it currently seems 8663 likely that support for encoding with known uncompressed 8664 size will go away anyway, I'm not fixing this problem now. 8665 8666 src/liblzma/lz/lz_encoder.c | 9 +++++++-- 8667 1 files changed, 7 insertions(+), 2 deletions(-) 8668 8669commit c324325f9f13cdeb92153c5d00962341ba070ca2 8670Author: Lasse Collin <lasse.collin@tukaani.org> 8671Date: 2008-04-25 13:58:56 +0300 8672 8673 Removed src/liblzma/common/sysdefs.h symlink, which was 8674 annoying, because "make dist" put two copies of sysdefs.h 8675 into the tarball instead of the symlink. 8676 8677 src/liblzma/check/crc32_table.c | 2 +- 8678 src/liblzma/check/crc64_table.c | 2 +- 8679 src/liblzma/common/Makefile.am | 1 - 8680 src/liblzma/common/common.h | 2 +- 8681 src/liblzma/common/sysdefs.h | 1 - 8682 5 files changed, 3 insertions(+), 5 deletions(-) 8683 8684commit d3ba30243c75c13d094de1793f9c58acdbacc692 8685Author: Lasse Collin <lasse.collin@tukaani.org> 8686Date: 2008-04-25 13:41:29 +0300 8687 8688 Added memusage.c to debug directory. 8689 8690 debug/Makefile.am | 3 +- 8691 debug/memusage.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 8692 2 files changed, 57 insertions(+), 1 deletions(-) 8693 8694commit 8f804c29aa8471ccd6438ddca254092b8869ca52 8695Author: Lasse Collin <lasse.collin@tukaani.org> 8696Date: 2008-04-25 13:32:35 +0300 8697 8698 Bumped version number to 4.999.3alpha. It will become 5.0.0 8699 once we have a stable release (won't be very soon). The 8700 version number is no longer related to version of LZMA SDK. 8701 8702 Made some small Automake-related changes to toplevel 8703 Makefile.am and configure.ac. 8704 8705 Makefile.am | 7 +++++-- 8706 README | 29 +++++++++++++++++++++++++++++ 8707 configure.ac | 4 ++-- 8708 src/liblzma/api/lzma/version.h | 22 ++++++++++------------ 8709 4 files changed, 46 insertions(+), 16 deletions(-) 8710 8711commit c99037ea10f121cbacf60c37a36c29768ae53447 8712Author: Lasse Collin <lasse.collin@tukaani.org> 8713Date: 2008-04-24 20:25:39 +0300 8714 8715 Fix a memory leak by calling free(extra->data) in 8716 lzma_extra_free(). 8717 8718 src/liblzma/common/extra.c | 1 + 8719 1 files changed, 1 insertions(+), 0 deletions(-) 8720 8721commit 22ba3b0b5043fa481903482ce85015fe775939e5 8722Author: Lasse Collin <lasse.collin@tukaani.org> 8723Date: 2008-04-24 20:23:05 +0300 8724 8725 Make unlzma and lzcat symlinks. 8726 8727 src/lzma/Makefile.am | 12 ++++++++++++ 8728 1 files changed, 12 insertions(+), 0 deletions(-) 8729 8730commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e 8731Author: Lasse Collin <lasse.collin@tukaani.org> 8732Date: 2008-04-24 20:20:27 +0300 8733 8734 Fixed a bug in command line option parsing. 8735 8736 src/lzma/options.c | 2 +- 8737 1 files changed, 1 insertions(+), 1 deletions(-) 8738 8739commit 283f939974c32c47f05d495e8dea455ec646ed64 8740Author: Lasse Collin <lasse.collin@tukaani.org> 8741Date: 2008-04-24 20:19:20 +0300 8742 8743 Added two assert()s. 8744 8745 src/liblzma/lzma/lzma_encoder.c | 4 +++- 8746 1 files changed, 3 insertions(+), 1 deletions(-) 8747 8748commit eb348a60b6e19a7c093f892434f23c4756973ffd 8749Author: Lasse Collin <lasse.collin@tukaani.org> 8750Date: 2008-04-24 19:22:53 +0300 8751 8752 Switch to uint16_t as the type of range coder probabilities. 8753 8754 src/liblzma/rangecoder/range_common.h | 25 +++++++++++++++++++------ 8755 1 files changed, 19 insertions(+), 6 deletions(-) 8756 8757commit 6c5306e312bcfd254cf654f88c04e34ba786df3d 8758Author: Lasse Collin <lasse.collin@tukaani.org> 8759Date: 2008-04-24 18:39:57 +0300 8760 8761 Fix wrong return type (uint32_t -> bool). 8762 8763 src/liblzma/lz/lz_encoder.c | 2 +- 8764 src/liblzma/lz/lz_encoder.h | 2 +- 8765 2 files changed, 2 insertions(+), 2 deletions(-) 8766 8767commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8 8768Author: Lasse Collin <lasse.collin@tukaani.org> 8769Date: 2008-04-24 18:38:00 +0300 8770 8771 Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. 8772 8773 src/liblzma/lz/lz_encoder.c | 16 ++++++++++++++++ 8774 src/liblzma/lz/lz_encoder.h | 4 ++++ 8775 src/liblzma/lz/match_c.h | 23 ++++++++++++++++++----- 8776 3 files changed, 38 insertions(+), 5 deletions(-) 8777 8778commit bc04486e368d20b3027cde625267762aae063965 8779Author: Lasse Collin <lasse.collin@tukaani.org> 8780Date: 2008-04-24 17:33:01 +0300 8781 8782 Fix fastpos problem in Makefile.am when built with --enable-small. 8783 8784 src/liblzma/lzma/Makefile.am | 5 ++++- 8785 1 files changed, 4 insertions(+), 1 deletions(-) 8786 8787commit 7ab493924e0ed590a5121a15ee54038d238880d3 8788Author: Lasse Collin <lasse.collin@tukaani.org> 8789Date: 2008-04-24 17:30:51 +0300 8790 8791 Use 64-bit integer as range encoder's cache size. This fixes a 8792 theoretical data corruption, which should be very hard to trigger 8793 even intentionally. 8794 8795 src/liblzma/rangecoder/range_encoder.h | 2 +- 8796 1 files changed, 1 insertions(+), 1 deletions(-) 8797 8798commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b 8799Author: Lasse Collin <lasse.collin@tukaani.org> 8800Date: 2008-03-24 16:38:40 +0200 8801 8802 Replaced the range decoder optimization that used arithmetic 8803 right shift with as fast version that doesn't need 8804 arithmetic right shift. Removed the related check from 8805 configure.ac. 8806 8807 configure.ac | 1 - 8808 m4/ax_c_arithmetic_rshift.m4 | 36 --------------------- 8809 src/liblzma/rangecoder/range_decoder.h | 53 +++++++++---------------------- 8810 3 files changed, 16 insertions(+), 74 deletions(-) 8811 8812commit ad999efd279d95f1e7ac555b14170e8e9020488c 8813Author: Lasse Collin <lasse.collin@tukaani.org> 8814Date: 2008-03-22 14:39:34 +0200 8815 8816 Take advantage of arithmetic right shift in range decoder. 8817 8818 src/liblzma/rangecoder/range_decoder.h | 52 ++++++++++++++++++++++--------- 8819 1 files changed, 37 insertions(+), 15 deletions(-) 8820 8821commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d 8822Author: Lasse Collin <lasse.collin@tukaani.org> 8823Date: 2008-03-22 14:18:29 +0200 8824 8825 Added autoconf check to detect if we can use arithmetic 8826 right shift for optimizations. 8827 8828 configure.ac | 1 + 8829 m4/ax_c_arithmetic_rshift.m4 | 36 ++++++++++++++++++++++++++++++++++++ 8830 2 files changed, 37 insertions(+), 0 deletions(-) 8831 8832commit 7521bbdc83acab834594a22bec50c8e1bd836298 8833Author: Lasse Collin <lasse.collin@tukaani.org> 8834Date: 2008-03-22 01:26:36 +0200 8835 8836 Update a comment to use the variable name rep_len_decoder. 8837 8838 (And BTW, the previous commit actually did change the 8839 program logic slightly.) 8840 8841 src/liblzma/lzma/lzma_decoder.c | 2 +- 8842 1 files changed, 1 insertions(+), 1 deletions(-) 8843 8844commit 63b74d000eedaebb8485f623e56864ff5ab71064 8845Author: Lasse Collin <lasse.collin@tukaani.org> 8846Date: 2008-03-22 00:57:33 +0200 8847 8848 Demystified the "state" variable in LZMA code. Use the 8849 word literal instead of char for better consistency. 8850 There are still some names with _char instead of _literal 8851 in lzma_optimum, these may be changed later. 8852 8853 Renamed length coder variables. 8854 8855 This commit doesn't change the program logic. 8856 8857 src/liblzma/lzma/lzma_common.h | 69 +++++++++++++++++++++------- 8858 src/liblzma/lzma/lzma_decoder.c | 47 ++++++++++--------- 8859 src/liblzma/lzma/lzma_encoder.c | 14 +++--- 8860 src/liblzma/lzma/lzma_encoder_getoptimum.c | 34 +++++++------- 8861 src/liblzma/lzma/lzma_encoder_init.c | 5 +- 8862 src/liblzma/lzma/lzma_encoder_private.h | 8 ++-- 8863 6 files changed, 107 insertions(+), 70 deletions(-) 8864 8865commit e6eb0a26757e851cef62b9440319a8e73b015cb9 8866Author: Lasse Collin <lasse.collin@tukaani.org> 8867Date: 2008-03-14 23:16:11 +0200 8868 8869 Fix data corruption in LZMA encoder. Note that this bug was 8870 specific to liblzma and was *not* present in LZMA SDK. 8871 8872 src/liblzma/lzma/lzma_encoder.c | 4 ++++ 8873 1 files changed, 4 insertions(+), 0 deletions(-) 8874 8875commit 7d516f5129e4373a6d57249d7f608c634c66bf12 8876Author: Lasse Collin <lasse.collin@tukaani.org> 8877Date: 2008-03-14 21:32:37 +0200 8878 8879 Fix a comment API header. 8880 8881 src/liblzma/api/lzma/lzma.h | 2 +- 8882 1 files changed, 1 insertions(+), 1 deletions(-) 8883 8884commit 748d6e4274921a350bd0a317380309717441ef9c 8885Author: Lasse Collin <lasse.collin@tukaani.org> 8886Date: 2008-03-12 23:14:50 +0200 8887 8888 Make lzma_stream.next_in const. Let's see if anyone complains. 8889 8890 src/liblzma/api/lzma/base.h | 2 +- 8891 1 files changed, 1 insertions(+), 1 deletions(-) 8892 8893commit bfde3b24a5ae25ce53c854762b6148952386b025 8894Author: Lasse Collin <lasse.collin@tukaani.org> 8895Date: 2008-03-11 15:35:34 +0200 8896 8897 Apply a minor speed optimization to LZMA decoder. 8898 8899 src/liblzma/lzma/lzma_decoder.c | 85 ++++++++++++++++++++------------------- 8900 1 files changed, 43 insertions(+), 42 deletions(-) 8901 8902commit f310c50286d9e4e9c6170bb65348c9bb430a65b4 8903Author: Lasse Collin <lasse.collin@tukaani.org> 8904Date: 2008-03-11 15:17:16 +0200 8905 8906 Initialize the last byte of the dictionary to zero so that 8907 lz_get_byte(lz, 0) returns zero. This was broken by 8908 1a3b21859818e4d8e89a1da99699233c1bfd197d. 8909 8910 src/liblzma/lz/lz_decoder.c | 1 + 8911 1 files changed, 1 insertions(+), 0 deletions(-) 8912 8913commit 5ead36cf7f823093672a4e43c3180b38c9abbaff 8914Author: Lasse Collin <lasse.collin@tukaani.org> 8915Date: 2008-03-10 15:57:55 +0200 8916 8917 Really fix the price count initialization. 8918 8919 src/liblzma/lzma/lzma_encoder_init.c | 4 ++-- 8920 1 files changed, 2 insertions(+), 2 deletions(-) 8921 8922commit d4d7feb83d1a1ded8f662a82e21e053841ca726c 8923Author: Lasse Collin <lasse.collin@tukaani.org> 8924Date: 2008-03-10 13:47:17 +0200 8925 8926 Updated THANKS. 8927 8928 THANKS | 1 + 8929 1 files changed, 1 insertions(+), 0 deletions(-) 8930 8931commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258 8932Author: Lasse Collin <lasse.collin@tukaani.org> 8933Date: 2008-03-10 13:46:48 +0200 8934 8935 Initialize align_price_count and match_price_count in 8936 lzma_encoder_init.c. While we don't call 8937 fill_distances_prices() and fill_align_prices() in 8938 lzma_lzma_encoder_init(), we still need to initialize 8939 these two variables so that the fill functions get 8940 called in lzma_encoder_getoptimum.c in the beginning 8941 of a stream. 8942 8943 src/liblzma/lzma/lzma_encoder_init.c | 2 ++ 8944 1 files changed, 2 insertions(+), 0 deletions(-) 8945 8946commit 596fa1fac72823e4ef5bc26bb53f9090445bf748 8947Author: Lasse Collin <lasse.collin@tukaani.org> 8948Date: 2008-03-10 13:44:29 +0200 8949 8950 Always initialize lz->temp_size in lz_decoder.c. temp_size did 8951 get initialized as a side-effect after allocating a new decoder, 8952 but not when the decoder was reused. 8953 8954 src/liblzma/lz/lz_decoder.c | 11 ++++++----- 8955 1 files changed, 6 insertions(+), 5 deletions(-) 8956 8957commit 45e43e169527e7a98a8c8a821d37bf25822b764d 8958Author: Lasse Collin <lasse.collin@tukaani.org> 8959Date: 2008-03-10 13:41:25 +0200 8960 8961 Don't fill allocated memory with 0xFD when debugging is 8962 enabled. It hides errors from Valgrind. 8963 8964 src/liblzma/common/allocator.c | 7 ++++--- 8965 1 files changed, 4 insertions(+), 3 deletions(-) 8966 8967commit c0e19e0662205f81a86da8903cdc325d50635870 8968Author: Lasse Collin <lasse.collin@tukaani.org> 8969Date: 2008-02-28 10:24:31 +0200 8970 8971 Remove two redundant validity checks from the LZMA decoder. 8972 These are already checked elsewhere, so omitting these 8973 gives (very) tiny speed up. 8974 8975 src/liblzma/lzma/lzma_decoder.c | 23 ++++------------------- 8976 1 files changed, 4 insertions(+), 19 deletions(-) 8977 8978commit de7485806284d1614095ae8cb2ebbb5d74c9ac45 8979Author: Lasse Collin <lasse.collin@tukaani.org> 8980Date: 2008-02-06 13:25:32 +0200 8981 8982 Tiny clean up to file-format.txt. 8983 8984 doc/file-format.txt | 6 +++--- 8985 1 files changed, 3 insertions(+), 3 deletions(-) 8986 8987commit 1a3b21859818e4d8e89a1da99699233c1bfd197d 8988Author: Lasse Collin <lasse.collin@tukaani.org> 8989Date: 2008-02-02 14:51:06 +0200 8990 8991 Don't memzero() the history buffer when initializing LZ 8992 decoder. There's no danger of information leak here, so 8993 it isn't required. Doing memzero() takes a lot of time 8994 with large dictionaries, which could make it easier to 8995 construct DoS attack to consume too much CPU time. 8996 8997 src/liblzma/lz/lz_decoder.c | 7 +++---- 8998 1 files changed, 3 insertions(+), 4 deletions(-) 8999 9000commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0 9001Author: Lasse Collin <lasse.collin@tukaani.org> 9002Date: 2008-02-01 08:39:26 +0200 9003 9004 Do uncompressed size validation in raw encoder. This way 9005 it gets done for not only raw encoder, but also Block 9006 and LZMA_Alone encoders. 9007 9008 src/liblzma/common/raw_encoder.c | 90 ++++++++++++++++++++++++++++++------- 9009 1 files changed, 73 insertions(+), 17 deletions(-) 9010 9011commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc 9012Author: Lasse Collin <lasse.collin@tukaani.org> 9013Date: 2008-02-01 08:32:05 +0200 9014 9015 Avoid unneeded function call in raw_common.c. 9016 9017 src/liblzma/common/raw_common.c | 20 +++++++++++--------- 9018 1 files changed, 11 insertions(+), 9 deletions(-) 9019 9020commit b596fac963c3ff96f615d4d9b427a213ec341211 9021Author: Lasse Collin <lasse.collin@tukaani.org> 9022Date: 2008-01-26 21:42:38 +0200 9023 9024 Updated THANKS. 9025 9026 THANKS | 1 + 9027 1 files changed, 1 insertions(+), 0 deletions(-) 9028 9029commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2 9030Author: Lasse Collin <lasse.collin@tukaani.org> 9031Date: 2008-01-26 21:40:23 +0200 9032 9033 Added note.GNU-stack to x86 assembler files. It is needed 9034 when using non-executable stack. 9035 9036 src/liblzma/check/crc32_x86.S | 9 +++++++++ 9037 src/liblzma/check/crc64_x86.S | 9 +++++++++ 9038 2 files changed, 18 insertions(+), 0 deletions(-) 9039 9040commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae 9041Author: Lasse Collin <lasse.collin@tukaani.org> 9042Date: 2008-01-26 19:12:50 +0200 9043 9044 Added api/lzma/easy.h. I had forgot to add this to the 9045 git repo. Thanks to Stephan Kulow. 9046 9047 src/liblzma/api/lzma/easy.h | 174 +++++++++++++++++++++++++++++++++++++++++++ 9048 1 files changed, 174 insertions(+), 0 deletions(-) 9049 9050commit 288b232f54c3692cd36f471d4042f51daf3ea79f 9051Author: Lasse Collin <lasse.collin@tukaani.org> 9052Date: 2008-01-26 11:09:17 +0200 9053 9054 Added more test files. 9055 9056 tests/files/README | 11 +++++++++++ 9057 tests/files/bad-multi-none-header_7.lzma | Bin 0 -> 59 bytes 9058 tests/files/good-single-sparc-lzma.lzma | Bin 0 -> 2263 bytes 9059 tests/files/good-single-x86-lzma.lzma | Bin 0 -> 1909 bytes 9060 4 files changed, 11 insertions(+), 0 deletions(-) 9061 9062commit c467b0defccf233d0c79234407bc38d7d09574d3 9063Author: Lasse Collin <lasse.collin@tukaani.org> 9064Date: 2008-01-26 10:47:55 +0200 9065 9066 Added more test files. 9067 9068 tests/files/README | 6 ++++++ 9069 tests/files/bad-multi-none-block_3.lzma | Bin 0 -> 58 bytes 9070 tests/files/good-multi-none-block_2.lzma | Bin 0 -> 58 bytes 9071 3 files changed, 6 insertions(+), 0 deletions(-) 9072 9073commit f9842f712732c482f2def9f24437851e57dd83f8 9074Author: Lasse Collin <lasse.collin@tukaani.org> 9075Date: 2008-01-26 00:25:34 +0200 9076 9077 Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any 9078 of the so called simple filters. If there is demand, limited 9079 support for LZMA_SYNC_FLUSH may be added in future. 9080 9081 After this commit, using LZMA_SYNC_FLUSH shouldn't cause 9082 undefined behavior in any situation. 9083 9084 src/liblzma/api/lzma/simple.h | 9 +++++++++ 9085 src/liblzma/simple/simple_coder.c | 8 ++++++++ 9086 2 files changed, 17 insertions(+), 0 deletions(-) 9087 9088commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa 9089Author: Lasse Collin <lasse.collin@tukaani.org> 9090Date: 2008-01-25 23:50:35 +0200 9091 9092 Added more Multi-Block test files. Improved some 9093 descriptions in the test files' README. 9094 9095 tests/files/README | 34 ++++++++++++++++++++++++----- 9096 tests/files/bad-multi-none-block_1.lzma | Bin 0 -> 66 bytes 9097 tests/files/bad-multi-none-block_2.lzma | Bin 0 -> 66 bytes 9098 tests/files/good-multi-none-block_1.lzma | Bin 0 -> 66 bytes 9099 4 files changed, 28 insertions(+), 6 deletions(-) 9100 9101commit 4441e004185cd4c61bda184010eca5924c9dec87 9102Author: Lasse Collin <lasse.collin@tukaani.org> 9103Date: 2008-01-25 23:12:36 +0200 9104 9105 Combine lzma_options_block validation needed by both Block 9106 encoder and decoder, and put the shared things to 9107 block_private.h. Improved the checks a little so that 9108 they may detect too big Compressed Size at initialization 9109 time if lzma_options_block.total_size or .total_limit is 9110 known. 9111 9112 Allow encoding and decoding Blocks with combinations of 9113 fields that are not allowed by the file format specification. 9114 Doing this requires that the application passes such a 9115 combination in lzma_options_lzma; liblzma doesn't do that, 9116 but it's not impossible that someone could find them useful 9117 in some custom file format. 9118 9119 src/liblzma/common/block_decoder.c | 37 +++++++++++---------------- 9120 src/liblzma/common/block_encoder.c | 32 ++++------------------ 9121 src/liblzma/common/block_private.h | 50 ++++++++++++++++++++++++++++++++++++ 9122 3 files changed, 71 insertions(+), 48 deletions(-) 9123 9124commit bf4200c818fcf9102e56328d39cde91bfa13cfb6 9125Author: Lasse Collin <lasse.collin@tukaani.org> 9126Date: 2008-01-25 19:21:22 +0200 9127 9128 Added test_memlimit.c. 9129 9130 tests/Makefile.am | 2 + 9131 tests/test_memlimit.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++ 9132 2 files changed, 116 insertions(+), 0 deletions(-) 9133 9134commit 7b8fc7e6b501a32a36636dac79ecb57099269005 9135Author: Lasse Collin <lasse.collin@tukaani.org> 9136Date: 2008-01-25 19:20:28 +0200 9137 9138 Improved the memory limitter: 9139 - Added lzma_memlimit_max() and lzma_memlimit_reached() 9140 API functions. 9141 - Added simple estimation of malloc()'s memory usage 9142 overhead. 9143 - Fixed integer overflow detection in lzma_memlimit_alloc(). 9144 - Made some white space cleanups and added more comments. 9145 9146 The description of lzma_memlimit_max() in memlimit.h is bad 9147 and should be improved. 9148 9149 src/liblzma/api/lzma/memlimit.h | 35 ++++++++++++ 9150 src/liblzma/common/memory_limitter.c | 97 +++++++++++++++++++++++++++++----- 9151 2 files changed, 118 insertions(+), 14 deletions(-) 9152 9153commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db 9154Author: Lasse Collin <lasse.collin@tukaani.org> 9155Date: 2008-01-25 13:55:52 +0200 9156 9157 Use more parenthesis in succeed() macro in tests/tests.h. 9158 9159 tests/tests.h | 2 +- 9160 1 files changed, 1 insertions(+), 1 deletions(-) 9161 9162commit 1fd76d488179580d37f31ee11948f4932aed31fd 9163Author: Lasse Collin <lasse.collin@tukaani.org> 9164Date: 2008-01-24 14:49:34 +0200 9165 9166 Added more Multi-Block Stream test files. 9167 9168 tests/files/README | 23 +++++++++++++++++++++++ 9169 tests/files/bad-multi-none-header_2.lzma | Bin 0 -> 61 bytes 9170 tests/files/bad-multi-none-header_3.lzma | Bin 0 -> 59 bytes 9171 tests/files/bad-multi-none-header_4.lzma | Bin 0 -> 59 bytes 9172 tests/files/bad-multi-none-header_5.lzma | Bin 0 -> 58 bytes 9173 tests/files/bad-multi-none-header_6.lzma | Bin 0 -> 59 bytes 9174 tests/files/good-multi-none-header_3.lzma | Bin 0 -> 59 bytes 9175 7 files changed, 23 insertions(+), 0 deletions(-) 9176 9177commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936 9178Author: Lasse Collin <lasse.collin@tukaani.org> 9179Date: 2008-01-24 00:46:05 +0200 9180 9181 Added bunch of test files containing Multi-Block Streams. 9182 9183 tests/files/README | 53 +++++++++++++++++++++++++++++ 9184 tests/files/bad-multi-none-1.lzma | Bin 0 -> 54 bytes 9185 tests/files/bad-multi-none-2.lzma | Bin 0 -> 53 bytes 9186 tests/files/bad-multi-none-3.lzma | Bin 0 -> 53 bytes 9187 tests/files/bad-multi-none-extra_1.lzma | Bin 0 -> 54 bytes 9188 tests/files/bad-multi-none-extra_2.lzma | Bin 0 -> 54 bytes 9189 tests/files/bad-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 9190 tests/files/bad-multi-none-header_1.lzma | Bin 0 -> 57 bytes 9191 tests/files/bad-multi-none-index_1.lzma | Bin 0 -> 51 bytes 9192 tests/files/bad-multi-none-index_2.lzma | Bin 0 -> 49 bytes 9193 tests/files/bad-multi-none-index_3.lzma | Bin 0 -> 51 bytes 9194 tests/files/bad-multi-none-index_4.lzma | Bin 0 -> 51 bytes 9195 tests/files/good-multi-none-1.lzma | Bin 0 -> 75 bytes 9196 tests/files/good-multi-none-2.lzma | Bin 0 -> 53 bytes 9197 tests/files/good-multi-none-extra_1.lzma | Bin 0 -> 51 bytes 9198 tests/files/good-multi-none-extra_2.lzma | Bin 0 -> 79 bytes 9199 tests/files/good-multi-none-extra_3.lzma | Bin 0 -> 55 bytes 9200 tests/files/good-multi-none-header_1.lzma | Bin 0 -> 58 bytes 9201 tests/files/good-multi-none-header_2.lzma | Bin 0 -> 66 bytes 9202 19 files changed, 53 insertions(+), 0 deletions(-) 9203 9204commit db9df0a9609c01a00a227329fb96e983971040f5 9205Author: Lasse Collin <lasse.collin@tukaani.org> 9206Date: 2008-01-23 23:43:00 +0200 9207 9208 Fix decoding of empty Metadata Blocks, that don't have 9209 even the Metadata Flags field. Earlier the code allowed 9210 such files; now they are prohibited as the file format 9211 specification requires. 9212 9213 src/liblzma/common/metadata_decoder.c | 4 +++- 9214 1 files changed, 3 insertions(+), 1 deletions(-) 9215 9216commit 765f0b05f6e95ed9194fb90819cee189ebbac36b 9217Author: Lasse Collin <lasse.collin@tukaani.org> 9218Date: 2008-01-23 23:38:18 +0200 9219 9220 Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6. 9221 lzma_metadata.header_metadata_size was not properly set to 9222 zero if the Metadata had only the Metadata Flags field. 9223 9224 src/liblzma/common/metadata_decoder.c | 13 +++++++------ 9225 1 files changed, 7 insertions(+), 6 deletions(-) 9226 9227commit 3a7cc5c3dec7b078941f961b0393b86c418883b6 9228Author: Lasse Collin <lasse.collin@tukaani.org> 9229Date: 2008-01-23 23:35:49 +0200 9230 9231 Fix decoding of Extra Records that have empty Data. 9232 9233 src/liblzma/common/metadata_decoder.c | 13 ++++++++++++- 9234 1 files changed, 12 insertions(+), 1 deletions(-) 9235 9236commit e5fdec93e273855c1bcc2579b83cfb481a9a1492 9237Author: Lasse Collin <lasse.collin@tukaani.org> 9238Date: 2008-01-23 22:02:38 +0200 9239 9240 Add the trailing '\0' to lzma_extra.data as the API header 9241 already documents. 9242 9243 src/liblzma/common/metadata_decoder.c | 4 +++- 9244 1 files changed, 3 insertions(+), 1 deletions(-) 9245 9246commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e 9247Author: Lasse Collin <lasse.collin@tukaani.org> 9248Date: 2008-01-23 21:21:21 +0200 9249 9250 Added debug/full_flush.c. 9251 9252 debug/Makefile.am | 3 +- 9253 debug/full_flush.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 9254 2 files changed, 107 insertions(+), 1 deletions(-) 9255 9256commit ae0cd09a666a1682da8fc09487322227679e218d 9257Author: Lasse Collin <lasse.collin@tukaani.org> 9258Date: 2008-01-23 21:05:33 +0200 9259 9260 Return LZMA_STREAM_END instead of LZMA_OK if 9261 LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when 9262 there's no unfinished Block open. 9263 9264 src/liblzma/common/stream_encoder_multi.c | 6 +++++- 9265 1 files changed, 5 insertions(+), 1 deletions(-) 9266 9267commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db 9268Author: Lasse Collin <lasse.collin@tukaani.org> 9269Date: 2008-01-23 20:05:01 +0200 9270 9271 Added bad-single-none-footer_filter_flags.lzma and 9272 bad-single-none-too_long_vli.lzma. 9273 9274 tests/files/README | 5 +++++ 9275 .../files/bad-single-none-footer_filter_flags.lzma | Bin 0 -> 30 bytes 9276 tests/files/bad-single-none-too_long_vli.lzma | Bin 0 -> 39 bytes 9277 3 files changed, 5 insertions(+), 0 deletions(-) 9278 9279commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd 9280Author: Lasse Collin <lasse.collin@tukaani.org> 9281Date: 2008-01-23 13:42:35 +0200 9282 9283 Fixed a typo. 9284 9285 src/liblzma/subblock/subblock_decoder_helper.c | 2 +- 9286 1 files changed, 1 insertions(+), 1 deletions(-) 9287 9288commit 980f65a9a10160c4d105767871e3002b9aaba3e0 9289Author: Lasse Collin <lasse.collin@tukaani.org> 9290Date: 2008-01-23 13:40:45 +0200 9291 9292 Fix a memory leak in the Subblock encoder. 9293 9294 src/liblzma/subblock/subblock_encoder.c | 1 + 9295 1 files changed, 1 insertions(+), 0 deletions(-) 9296 9297commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6 9298Author: Lasse Collin <lasse.collin@tukaani.org> 9299Date: 2008-01-23 13:36:07 +0200 9300 9301 Fix Size of Header Metadata Block handling. Now 9302 lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN 9303 is not allowed at all. To indicate missing Header Metadata 9304 Block, header_metadata_size must be set to zero. This is 9305 what Metadata decoder does after this patch too. 9306 9307 Note that other missing fields in lzma_metadata are still 9308 indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as 9309 illogical as it sounds at first, because missing Size of 9310 Header Metadata Block means that Header Metadata Block is 9311 not present in the Stream. With other Metadata fields, 9312 a missing field means only that the value is unknown. 9313 9314 src/liblzma/common/info.c | 13 ++++--------- 9315 src/liblzma/common/metadata_decoder.c | 6 ++++++ 9316 src/liblzma/common/metadata_encoder.c | 11 +++++------ 9317 tests/test_info.c | 4 ++-- 9318 4 files changed, 17 insertions(+), 17 deletions(-) 9319 9320commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81 9321Author: Lasse Collin <lasse.collin@tukaani.org> 9322Date: 2008-01-23 13:15:55 +0200 9323 9324 Fix a memory leak in metadata_decoder.c. 9325 9326 src/liblzma/common/metadata_decoder.c | 1 + 9327 1 files changed, 1 insertions(+), 0 deletions(-) 9328 9329commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae 9330Author: Lasse Collin <lasse.collin@tukaani.org> 9331Date: 2008-01-23 13:13:58 +0200 9332 9333 Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which 9334 just moved to problem. Now it's really fixed. 9335 9336 src/liblzma/common/info.c | 5 ++++- 9337 1 files changed, 4 insertions(+), 1 deletions(-) 9338 9339commit 67321de963ccf69410b3868b8e31534fe18a90de 9340Author: Lasse Collin <lasse.collin@tukaani.org> 9341Date: 2008-01-23 00:21:04 +0200 9342 9343 Take advantage of return_if_error() macro in 9344 lzma_info_metadata_set() in info.c. 9345 9346 src/liblzma/common/info.c | 24 ++++++++---------------- 9347 1 files changed, 8 insertions(+), 16 deletions(-) 9348 9349commit 863028cb7ad6d8d0455fa69348f56b376d7b908f 9350Author: Lasse Collin <lasse.collin@tukaani.org> 9351Date: 2008-01-23 00:18:32 +0200 9352 9353 Fixed a dangling pointer that caused invalid free(). 9354 9355 src/liblzma/common/info.c | 1 + 9356 1 files changed, 1 insertions(+), 0 deletions(-) 9357 9358commit cf49f42a6bd40143f54a6b10d6e605599e958c0b 9359Author: Lasse Collin <lasse.collin@tukaani.org> 9360Date: 2008-01-22 22:49:24 +0200 9361 9362 Added lzma_easy_* functions. These should make using 9363 liblzma as easy as using zlib, because the easy API 9364 don't require developers to know any fancy LZMA options. 9365 9366 Note that Multi-Block Stream encoding is currently broken. 9367 The easy API should be OK, the bug(s) are elsewhere. 9368 9369 src/liblzma/api/Makefile.am | 1 + 9370 src/liblzma/api/lzma.h | 1 + 9371 src/liblzma/common/Makefile.am | 5 ++ 9372 src/liblzma/common/easy_common.c | 54 +++++++++++++++ 9373 src/liblzma/common/easy_common.h | 28 ++++++++ 9374 src/liblzma/common/easy_multi.c | 103 +++++++++++++++++++++++++++++ 9375 src/liblzma/common/easy_single.c | 37 ++++++++++ 9376 src/liblzma/common/stream_encoder_multi.c | 3 +- 9377 src/liblzma/common/stream_encoder_multi.h | 26 +++++++ 9378 9 files changed, 256 insertions(+), 2 deletions(-) 9379 9380commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a 9381Author: Lasse Collin <lasse.collin@tukaani.org> 9382Date: 2008-01-22 21:16:22 +0200 9383 9384 Fix Multi-Block Stream encoder's EOPM usage. 9385 9386 src/liblzma/common/stream_encoder_multi.c | 2 +- 9387 1 files changed, 1 insertions(+), 1 deletions(-) 9388 9389commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 9390Author: Lasse Collin <lasse.collin@tukaani.org> 9391Date: 2008-01-22 00:15:11 +0200 9392 9393 Made lzma_extra pointers const in lzma_options_stream. 9394 9395 src/liblzma/api/lzma/stream.h | 4 ++-- 9396 src/liblzma/common/stream_encoder_multi.c | 8 ++++++-- 9397 2 files changed, 8 insertions(+), 4 deletions(-) 9398 9399commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4 9400Author: Lasse Collin <lasse.collin@tukaani.org> 9401Date: 2008-01-20 20:15:21 +0200 9402 9403 Updated debug/sync_flush.c. 9404 9405 debug/sync_flush.c | 26 ++++++++++++++++++++++++-- 9406 1 files changed, 24 insertions(+), 2 deletions(-) 9407 9408commit d53e9b77054cfade6a643e77d085273a348b189c 9409Author: Lasse Collin <lasse.collin@tukaani.org> 9410Date: 2008-01-20 20:14:26 +0200 9411 9412 Added debug/repeat.c. 9413 9414 debug/Makefile.am | 1 + 9415 debug/repeat.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 9416 2 files changed, 44 insertions(+), 0 deletions(-) 9417 9418commit 107259e306bcfc2336a0fb870fb58034c28faa52 9419Author: Lasse Collin <lasse.collin@tukaani.org> 9420Date: 2008-01-20 20:12:58 +0200 9421 9422 Fix alignment handling bugs in Subblock encoder. 9423 9424 This leaves one known alignment bug unfixed: If repeat count 9425 doesn't fit into 28-bit integer, the encoder has to split 9426 this to multiple Subblocks with Subblock Type `Repeating Data'. 9427 The extra Subblocks may have wrong alignment. Correct alignment 9428 is restored after the split Repeating Data has been completely 9429 written out. 9430 9431 Since the encoder doesn't even try to fix the alignment unless 9432 the size of Data is at least 4 bytes, to trigger this bug you 9433 need at least 4 GiB of repeating data with sequence length of 9434 4 or more bytes. Since the worst thing done by this bug is 9435 misaligned data (no data corruption), this bug simply isn't 9436 worth fixing, because a proper fix isn't simple. 9437 9438 src/liblzma/subblock/subblock_encoder.c | 170 +++++++++++++++++++++--------- 9439 1 files changed, 119 insertions(+), 51 deletions(-) 9440 9441commit e141fe18950400faaa3503ff88ac20eacd73e88c 9442Author: Lasse Collin <lasse.collin@tukaani.org> 9443Date: 2008-01-19 21:16:33 +0200 9444 9445 Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. 9446 The API for handing Subfilters was changed to make it 9447 consistent with LZMA_SYNC_FLUSH. 9448 9449 A few sanity checks were added for Subfilter handling. Some 9450 small bugs were fixed. More comments were added. 9451 9452 src/liblzma/api/lzma/subblock.h | 29 ++-- 9453 src/liblzma/subblock/subblock_encoder.c | 263 +++++++++++++++++++++++-------- 9454 2 files changed, 214 insertions(+), 78 deletions(-) 9455 9456commit 23c227a864a3b69f38c6a74306161d4e6918d1cc 9457Author: Lasse Collin <lasse.collin@tukaani.org> 9458Date: 2008-01-19 15:19:21 +0200 9459 9460 Revised the Delta filter implementation. The initialization 9461 function is still shared between encoder and decoder, but the 9462 actual coding is in separate files for encoder and decoder. 9463 9464 There are now separate functions for the actual delta 9465 calculation depending on if Delta is the last filter in the 9466 chain or not. If it is the last, the new code copies the 9467 data from input to output buffer and does the delta 9468 calculation at the same time. The old code first copied the 9469 data, then did the delta in the target buffer, which required 9470 reading through the data twice. 9471 9472 Support for LZMA_SYNC_FLUSH was added to the Delta encoder. 9473 This doesn't change anything in the file format. 9474 9475 src/liblzma/common/Makefile.am | 14 +++- 9476 src/liblzma/common/delta_coder.c | 189 ------------------------------------ 9477 src/liblzma/common/delta_coder.h | 31 ------ 9478 src/liblzma/common/delta_common.c | 70 +++++++++++++ 9479 src/liblzma/common/delta_common.h | 48 +++++++++ 9480 src/liblzma/common/delta_decoder.c | 102 +++++++++++++++++++ 9481 src/liblzma/common/delta_decoder.h | 28 ++++++ 9482 src/liblzma/common/delta_encoder.c | 97 ++++++++++++++++++ 9483 src/liblzma/common/delta_encoder.h | 28 ++++++ 9484 src/liblzma/common/raw_decoder.c | 2 +- 9485 src/liblzma/common/raw_encoder.c | 2 +- 9486 11 files changed, 387 insertions(+), 224 deletions(-) 9487 9488commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73 9489Author: Lasse Collin <lasse.collin@tukaani.org> 9490Date: 2008-01-18 20:18:08 +0200 9491 9492 Added the debug directory and the first debug tool 9493 (sync_flush). These tools are not built unless the 9494 user runs "make" in the debug directory. 9495 9496 Makefile.am | 1 + 9497 configure.ac | 1 + 9498 debug/Makefile.am | 30 +++++++++++++ 9499 debug/README | 17 ++++++++ 9500 debug/sync_flush.c | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 9501 5 files changed, 165 insertions(+), 0 deletions(-) 9502 9503commit 0ae3208db94585eb8294b97ded387de0a3a07646 9504Author: Lasse Collin <lasse.collin@tukaani.org> 9505Date: 2008-01-18 20:13:00 +0200 9506 9507 Added test files to test usage of flush marker in LZMA. 9508 9509 tests/files/README | 12 ++++++++++++ 9510 tests/files/bad-single-lzma-flush_beginning.lzma | Bin 0 -> 53 bytes 9511 tests/files/bad-single-lzma-flush_twice.lzma | Bin 0 -> 63 bytes 9512 tests/files/good-single-lzma-flush_1.lzma | Bin 0 -> 48 bytes 9513 tests/files/good-single-lzma-flush_2.lzma | Bin 0 -> 63 bytes 9514 5 files changed, 12 insertions(+), 0 deletions(-) 9515 9516commit ab5feaf1fcc146ef9fd39360c53c290bec39524e 9517Author: Lasse Collin <lasse.collin@tukaani.org> 9518Date: 2008-01-18 20:02:52 +0200 9519 9520 Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. 9521 That code is now almost completely in LZ coder, where 9522 it can be shared with other LZ77-based algorithms in 9523 future. 9524 9525 src/liblzma/lz/lz_encoder.c | 34 ++++++++++++++++++++++++++-------- 9526 src/liblzma/lz/lz_encoder.h | 1 + 9527 src/liblzma/lzma/lzma_encoder.c | 27 ++------------------------- 9528 3 files changed, 29 insertions(+), 33 deletions(-) 9529 9530commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 9531Author: Lasse Collin <lasse.collin@tukaani.org> 9532Date: 2008-01-18 17:21:24 +0200 9533 9534 Don't add -g to CFLAGS when --enable-debug is specified. 9535 It's the job of the user to put that in CFLAGS. 9536 9537 configure.ac | 1 - 9538 1 files changed, 0 insertions(+), 1 deletions(-) 9539 9540commit 61d1784d8f1761d979a6da6e223e279ca33815e6 9541Author: Lasse Collin <lasse.collin@tukaani.org> 9542Date: 2008-01-18 14:17:37 +0200 9543 9544 Set stdin and stdout to binary mode on Windows. This patch is 9545 a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 9546 from lzma-utils-legacy.git. I don't know if the new code base 9547 builds on Windows, but this is a start. 9548 9549 src/lzmadec/lzmadec.c | 9 +++++++++ 9550 1 files changed, 9 insertions(+), 0 deletions(-) 9551 9552commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c 9553Author: Lasse Collin <lasse.collin@tukaani.org> 9554Date: 2008-01-18 00:50:29 +0200 9555 9556 Added test_compress.sh and bunch of files needed by it. 9557 This new set of tests compress and decompress several 9558 test files with many different compression options. 9559 This set of tests will be extended later. 9560 9561 tests/Makefile.am | 30 ++++-- 9562 tests/bcj_test.c | 66 +++++++++++++ 9563 tests/compress_prepared_bcj_sparc | Bin 0 -> 6804 bytes 9564 tests/compress_prepared_bcj_x86 | Bin 0 -> 4649 bytes 9565 tests/create_compress_files.c | 164 +++++++++++++++++++++++++++++++++ 9566 tests/test_compress.sh | 183 +++++++++++++++++++++++++++++++++++++ 9567 6 files changed, 433 insertions(+), 10 deletions(-) 9568 9569commit 33be3c0e24d8f43376ccf71cc77d53671e792f07 9570Author: Lasse Collin <lasse.collin@tukaani.org> 9571Date: 2008-01-17 18:56:53 +0200 9572 9573 Subblock decoder: Don't exit the main loop in decode_buffer() 9574 too early if we hit End of Input while decoding a Subblock of 9575 type Repeating Data. To keep the loop termination condition 9576 elegant, the order of enumerations in coder->sequence were 9577 changed. 9578 9579 To keep the case-labels in roughly the same order as the 9580 enumerations in coder->sequence, large chunks of code was 9581 moved around. This made the diff big and ugly compared to 9582 the amount of the actual changes made. 9583 9584 src/liblzma/subblock/subblock_decoder.c | 272 ++++++++++++++++--------------- 9585 1 files changed, 139 insertions(+), 133 deletions(-) 9586 9587commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd 9588Author: Lasse Collin <lasse.collin@tukaani.org> 9589Date: 2008-01-17 17:39:42 +0200 9590 9591 Fix wrong too small size of argument unfiltered_max 9592 in ia64_coder_init(). It triggered assert() in 9593 simple_coder.c, and could have caused a buffer overflow. 9594 9595 This error was probably a copypaste mistake, since most 9596 of the simple filters use unfiltered_max = 4. 9597 9598 src/liblzma/simple/ia64.c | 2 +- 9599 1 files changed, 1 insertions(+), 1 deletions(-) 9600 9601commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a 9602Author: Lasse Collin <lasse.collin@tukaani.org> 9603Date: 2008-01-17 17:27:45 +0200 9604 9605 Added --delta to the output of "lzma --help". 9606 9607 src/lzma/help.c | 4 ++++ 9608 1 files changed, 4 insertions(+), 0 deletions(-) 9609 9610commit f88590e0014b38d40465937c19f25f05f16c79ae 9611Author: Lasse Collin <lasse.collin@tukaani.org> 9612Date: 2008-01-17 13:14:20 +0200 9613 9614 Fix Subblock docoder: If Subblock filter was used with known 9615 Uncompressed Size, and the last output byte was from RLE, 9616 the code didn't stop decoding as it should have done. 9617 9618 src/liblzma/subblock/subblock_decoder.c | 6 ++++++ 9619 1 files changed, 6 insertions(+), 0 deletions(-) 9620 9621commit bc0b945ca376e333077644d2f7fd54c2848aab8a 9622Author: Lasse Collin <lasse.collin@tukaani.org> 9623Date: 2008-01-16 16:33:37 +0200 9624 9625 Tiny non-technical edits to file-format.txt. 9626 9627 doc/file-format.txt | 6 +++--- 9628 1 files changed, 3 insertions(+), 3 deletions(-) 9629 9630commit 7599bb7064ccf007f054595dedda7927af868252 9631Author: Lasse Collin <lasse.collin@tukaani.org> 9632Date: 2008-01-16 14:48:04 +0200 9633 9634 Plugged a memory leak in stream_decoder.c. 9635 9636 src/liblzma/common/stream_decoder.c | 20 ++++++++++++++++++++ 9637 1 files changed, 20 insertions(+), 0 deletions(-) 9638 9639commit 0b581539311f3712946e81e747839f8fb5f441a7 9640Author: Lasse Collin <lasse.collin@tukaani.org> 9641Date: 2008-01-16 14:47:27 +0200 9642 9643 Added memory leak detection to lzmadec.c. 9644 9645 src/lzmadec/lzmadec.c | 3 +++ 9646 1 files changed, 3 insertions(+), 0 deletions(-) 9647 9648commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4 9649Author: Lasse Collin <lasse.collin@tukaani.org> 9650Date: 2008-01-16 14:46:50 +0200 9651 9652 Added lzma_memlimit_count(). 9653 9654 src/liblzma/api/lzma/memlimit.h | 10 ++++++++++ 9655 src/liblzma/common/memory_limitter.c | 19 +++++++++++++++++++ 9656 2 files changed, 29 insertions(+), 0 deletions(-) 9657 9658commit 19389f2b82ec54fd4c847a18f16482e7be4c9887 9659Author: Lasse Collin <lasse.collin@tukaani.org> 9660Date: 2008-01-16 14:31:44 +0200 9661 9662 Added ARRAY_SIZE(array) macro. 9663 9664 src/common/sysdefs.h | 4 ++++ 9665 1 files changed, 4 insertions(+), 0 deletions(-) 9666 9667commit 9bc33a54cbf83952130adbcb1be32c6882485416 9668Author: Lasse Collin <lasse.collin@tukaani.org> 9669Date: 2008-01-16 13:27:03 +0200 9670 9671 Make Uncompresed Size validation more strict 9672 in alone_decoder.c. 9673 9674 src/liblzma/common/alone_decoder.c | 3 ++- 9675 1 files changed, 2 insertions(+), 1 deletions(-) 9676 9677commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883 9678Author: Lasse Collin <lasse.collin@tukaani.org> 9679Date: 2008-01-15 17:46:59 +0200 9680 9681 Free the allocated memory in lzmadec if debugging is 9682 enabled. This should make it possible to detect possible 9683 memory leaks with Valgrind. 9684 9685 src/lzmadec/lzmadec.c | 7 +++++++ 9686 1 files changed, 7 insertions(+), 0 deletions(-) 9687 9688commit 8235e6e5b2878f76633afcda9a334640db503ef5 9689Author: Lasse Collin <lasse.collin@tukaani.org> 9690Date: 2008-01-15 16:25:38 +0200 9691 9692 Fix memory leaks from test_block_header.c. 9693 9694 tests/test_block_header.c | 19 +++++++++++++++++-- 9695 1 files changed, 17 insertions(+), 2 deletions(-) 9696 9697commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6 9698Author: Lasse Collin <lasse.collin@tukaani.org> 9699Date: 2008-01-15 14:23:35 +0200 9700 9701 Use fastpos.h when encoding LZMA dictionary size in 9702 Filter Flags encoder. 9703 9704 src/liblzma/common/filter_flags_encoder.c | 40 +++++++++++++--------------- 9705 1 files changed, 19 insertions(+), 21 deletions(-) 9706 9707commit e5728142a2048979f5c0c2149ce71ae952a092e1 9708Author: Lasse Collin <lasse.collin@tukaani.org> 9709Date: 2008-01-15 14:02:22 +0200 9710 9711 Revised the fastpos code. It now uses the slightly faster 9712 table-based version from LZMA SDK 4.57. This should be 9713 fast on most systems. 9714 9715 A simpler and smaller alternative version is also provided. 9716 On some CPUs this can be even a little faster than the 9717 default table-based version (see comments in fastpos.h), 9718 but on most systems the table-based code is faster. 9719 9720 src/liblzma/common/init_encoder.c | 3 - 9721 src/liblzma/lzma/Makefile.am | 4 + 9722 src/liblzma/lzma/fastpos.h | 156 +++++++++ 9723 src/liblzma/lzma/fastpos_table.c | 519 ++++++++++++++++++++++++++++ 9724 src/liblzma/lzma/fastpos_tablegen.c | 63 ++++ 9725 src/liblzma/lzma/lzma_common.h | 3 +- 9726 src/liblzma/lzma/lzma_encoder.c | 1 + 9727 src/liblzma/lzma/lzma_encoder_getoptimum.c | 1 + 9728 src/liblzma/lzma/lzma_encoder_init.c | 22 -- 9729 src/liblzma/lzma/lzma_encoder_private.h | 21 -- 9730 10 files changed, 746 insertions(+), 47 deletions(-) 9731 9732commit 10437b5b567f6a025ff16c45a572e417a0a9cc26 9733Author: Lasse Collin <lasse.collin@tukaani.org> 9734Date: 2008-01-15 13:32:13 +0200 9735 9736 Added bsr.h. 9737 9738 src/liblzma/common/Makefile.am | 1 + 9739 src/liblzma/common/bsr.h | 61 ++++++++++++++++++++++++++++++++++++++++ 9740 2 files changed, 62 insertions(+), 0 deletions(-) 9741 9742commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244 9743Author: Lasse Collin <lasse.collin@tukaani.org> 9744Date: 2008-01-15 13:29:14 +0200 9745 9746 Fixed assembler detection in configure.ac, and added 9747 detection for x86_64. 9748 9749 configure.ac | 32 ++++++++++++++++---------------- 9750 1 files changed, 16 insertions(+), 16 deletions(-) 9751 9752commit 54ec204f58287f50d3976288295da4188a19192b 9753Author: Lasse Collin <lasse.collin@tukaani.org> 9754Date: 2008-01-15 12:20:41 +0200 9755 9756 Omit invalid space from printf() format string 9757 in price_table_gen.c. 9758 9759 src/liblzma/rangecoder/price_table_gen.c | 2 +- 9760 1 files changed, 1 insertions(+), 1 deletions(-) 9761 9762commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 9763Author: Lasse Collin <lasse.collin@tukaani.org> 9764Date: 2008-01-15 09:54:34 +0200 9765 9766 Removed a few unused macros from lzma_common.h. 9767 9768 src/liblzma/lzma/lzma_common.h | 8 ++------ 9769 1 files changed, 2 insertions(+), 6 deletions(-) 9770 9771commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d 9772Author: Lasse Collin <lasse.collin@tukaani.org> 9773Date: 2008-01-15 08:37:42 +0200 9774 9775 Fix a typo in lzma_encoder.c. 9776 9777 src/liblzma/lzma/lzma_encoder.c | 2 +- 9778 1 files changed, 1 insertions(+), 1 deletions(-) 9779 9780commit 9f9b1983013048f2142e8bc7e240149d2687bedc 9781Author: Lasse Collin <lasse.collin@tukaani.org> 9782Date: 2008-01-15 08:36:25 +0200 9783 9784 Convert bittree_get_price() and bittree_reverse_get_price() 9785 from macros to inline functions. 9786 9787 src/liblzma/lzma/lzma_encoder.c | 19 +++---- 9788 src/liblzma/lzma/lzma_encoder_getoptimum.c | 16 ++---- 9789 src/liblzma/rangecoder/range_encoder.h | 76 ++++++++++++++++------------ 9790 3 files changed, 56 insertions(+), 55 deletions(-) 9791 9792commit 78e85cb1a7667c54853670d2eb09d754bcbda87d 9793Author: Lasse Collin <lasse.collin@tukaani.org> 9794Date: 2008-01-15 07:44:59 +0200 9795 9796 Fix CRC code in case --enable-small is used. 9797 9798 src/liblzma/check/crc32_init.c | 2 +- 9799 src/liblzma/check/crc64_init.c | 2 +- 9800 src/liblzma/common/init_decoder.c | 2 -- 9801 src/liblzma/common/init_encoder.c | 2 -- 9802 tests/test_check.c | 2 ++ 9803 5 files changed, 4 insertions(+), 6 deletions(-) 9804 9805commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0 9806Author: Lasse Collin <lasse.collin@tukaani.org> 9807Date: 2008-01-15 07:41:39 +0200 9808 9809 Fix typo in test_index.c. 9810 9811 tests/test_index.c | 2 +- 9812 1 files changed, 1 insertions(+), 1 deletions(-) 9813 9814commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 9815Author: Lasse Collin <lasse.collin@tukaani.org> 9816Date: 2008-01-15 07:40:21 +0200 9817 9818 Added precomputed range coder probability price table. 9819 9820 src/liblzma/common/init_encoder.c | 5 +- 9821 src/liblzma/rangecoder/Makefile.am | 9 +++- 9822 src/liblzma/rangecoder/price_table.c | 70 +++++++++++++++++++++++++++++ 9823 src/liblzma/rangecoder/price_table_gen.c | 55 ++++++++++++++++++++++ 9824 src/liblzma/rangecoder/price_table_init.c | 48 ++++++++++++++++++++ 9825 src/liblzma/rangecoder/range_common.h | 4 +- 9826 src/liblzma/rangecoder/range_encoder.c | 46 ------------------- 9827 src/liblzma/rangecoder/range_encoder.h | 21 ++++----- 9828 8 files changed, 197 insertions(+), 61 deletions(-) 9829 9830commit 362dc3843b373c1007a50a4719f378981f18ae03 9831Author: Lasse Collin <lasse.collin@tukaani.org> 9832Date: 2008-01-14 13:42:43 +0200 9833 9834 Remove RC_BUFFER_SIZE from lzma_encoder_private.h 9835 and replace it with a sanity check. 9836 9837 src/liblzma/lzma/lzma_encoder_private.h | 6 ++++-- 9838 1 files changed, 4 insertions(+), 2 deletions(-) 9839 9840commit e22b37968d153683fec61ad37b6b160cb7ca4ddc 9841Author: Lasse Collin <lasse.collin@tukaani.org> 9842Date: 2008-01-14 13:39:54 +0200 9843 9844 Major changes to LZ encoder, LZMA encoder, and range encoder. 9845 These changes implement support for LZMA_SYNC_FLUSH in LZMA 9846 encoder, and move the temporary buffer needed by range encoder 9847 from lzma_range_encoder structure to lzma_lz_encoder. 9848 9849 src/liblzma/lz/lz_encoder.c | 138 +++++++++++++++++++++++++++----- 9850 src/liblzma/lz/lz_encoder.h | 17 +++- 9851 src/liblzma/lzma/lzma_encoder.c | 74 ++++++++++------- 9852 src/liblzma/rangecoder/range_encoder.h | 117 ++++++++------------------- 9853 4 files changed, 206 insertions(+), 140 deletions(-) 9854 9855commit b59ef3973781f892c0a72b5e5934194567100be5 9856Author: Lasse Collin <lasse.collin@tukaani.org> 9857Date: 2008-01-14 13:34:29 +0200 9858 9859 Added one assert() to process.c of the command line tool. 9860 9861 src/lzma/process.c | 1 + 9862 1 files changed, 1 insertions(+), 0 deletions(-) 9863 9864commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7 9865Author: Lasse Collin <lasse.collin@tukaani.org> 9866Date: 2008-01-14 12:09:52 +0200 9867 9868 Don't use coder->lz.stream_end_was_reached in assertions 9869 in match_c.h. 9870 9871 src/liblzma/lz/match_c.h | 2 -- 9872 1 files changed, 0 insertions(+), 2 deletions(-) 9873 9874commit 3e09e1c05871f3757f759b801890ccccc9286608 9875Author: Lasse Collin <lasse.collin@tukaani.org> 9876Date: 2008-01-14 12:08:02 +0200 9877 9878 In lzma_read_match_distances(), don't use 9879 coder->lz.stream_end_was_reached. That variable 9880 will be removed, and the check isn't required anyway. 9881 Rearrange the check so that it doesn't make one to 9882 think that there could be an integer overflow. 9883 9884 src/liblzma/lzma/lzma_encoder_private.h | 6 +++--- 9885 1 files changed, 3 insertions(+), 3 deletions(-) 9886 9887commit a670fec8021e5962429689c194148a04c3418872 9888Author: Lasse Collin <lasse.collin@tukaani.org> 9889Date: 2008-01-14 11:56:41 +0200 9890 9891 Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. 9892 9893 src/liblzma/common/block_encoder.c | 4 ++-- 9894 src/liblzma/common/stream_encoder_single.c | 1 + 9895 2 files changed, 3 insertions(+), 2 deletions(-) 9896 9897commit 3599dba9570a6972a16b6398d6c838e9b420e985 9898Author: Lasse Collin <lasse.collin@tukaani.org> 9899Date: 2008-01-14 11:54:56 +0200 9900 9901 More fixes to LZMA decoder's flush marker handling. 9902 9903 src/liblzma/lzma/lzma_decoder.c | 52 ++++++++++++++++++++++---------------- 9904 1 files changed, 30 insertions(+), 22 deletions(-) 9905 9906commit f73c2ab6079ed5675a42b39d584a567befbd4624 9907Author: Lasse Collin <lasse.collin@tukaani.org> 9908Date: 2008-01-10 17:13:42 +0200 9909 9910 Eliminate lzma_lz_encoder.must_move_pos. It's needed 9911 only in one place which isn't performance criticial. 9912 9913 src/liblzma/lz/lz_encoder.c | 6 ++---- 9914 src/liblzma/lz/lz_encoder.h | 4 ---- 9915 2 files changed, 2 insertions(+), 8 deletions(-) 9916 9917commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd 9918Author: Lasse Collin <lasse.collin@tukaani.org> 9919Date: 2008-01-09 20:05:57 +0200 9920 9921 Define HAVE_ASM_X86 when x86 assembler optimizations are 9922 used. This #define will be useful for inline assembly. 9923 9924 configure.ac | 5 ++++- 9925 1 files changed, 4 insertions(+), 1 deletions(-) 9926 9927commit 0e70fbe4032351aab13a1cd8e5deced105c0b276 9928Author: Lasse Collin <lasse.collin@tukaani.org> 9929Date: 2008-01-09 12:06:46 +0200 9930 9931 Added good-single-none-empty_3.lzma and 9932 bad-single-none-empty.lzma. 9933 9934 tests/files/README | 6 ++++++ 9935 tests/files/bad-single-none-empty.lzma | Bin 0 -> 19 bytes 9936 tests/files/good-single-none-empty_3.lzma | Bin 0 -> 19 bytes 9937 3 files changed, 6 insertions(+), 0 deletions(-) 9938 9939commit 379fbbe84d922c7cc00afa65c6f0c095da596b19 9940Author: Lasse Collin <lasse.collin@tukaani.org> 9941Date: 2008-01-08 23:11:59 +0200 9942 9943 Take advantage of return_if_error() in block_decoder.c. 9944 9945 src/liblzma/common/block_decoder.c | 23 +++++++---------------- 9946 1 files changed, 7 insertions(+), 16 deletions(-) 9947 9948commit 97d5fa82077e57815dfad995dc393c2809a78539 9949Author: Lasse Collin <lasse.collin@tukaani.org> 9950Date: 2008-01-08 23:10:57 +0200 9951 9952 Updated tests/files/README. 9953 9954 tests/files/README | 15 +++++++++------ 9955 1 files changed, 9 insertions(+), 6 deletions(-) 9956 9957commit 3bb9bb310936cba6a743b4f06739a397dec7c28f 9958Author: Lasse Collin <lasse.collin@tukaani.org> 9959Date: 2008-01-08 23:05:40 +0200 9960 9961 Added test files with empty Compressed Data. 9962 9963 tests/files/README | 6 ++++++ 9964 tests/files/good-single-lzma-empty.lzma | Bin 0 -> 21 bytes 9965 tests/files/good-single-none-empty_1.lzma | Bin 0 -> 18 bytes 9966 tests/files/good-single-none-empty_2.lzma | Bin 0 -> 26 bytes 9967 4 files changed, 6 insertions(+), 0 deletions(-) 9968 9969commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f 9970Author: Lasse Collin <lasse.collin@tukaani.org> 9971Date: 2008-01-08 22:58:42 +0200 9972 9973 Fix decoding of Blocks that have only Block Header. 9974 9975 src/liblzma/common/block_decoder.c | 37 +++++++++++++---------------------- 9976 1 files changed, 14 insertions(+), 23 deletions(-) 9977 9978commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4 9979Author: Lasse Collin <lasse.collin@tukaani.org> 9980Date: 2008-01-08 22:27:46 +0200 9981 9982 Added good-single-subblock_implicit.lzma. 9983 9984 tests/files/README | 2 ++ 9985 tests/files/good-single-subblock_implicit.lzma | Bin 0 -> 35 bytes 9986 2 files changed, 2 insertions(+), 0 deletions(-) 9987 9988commit faeac7b7aca75f86afed1e7cc06279d9d497c627 9989Author: Lasse Collin <lasse.collin@tukaani.org> 9990Date: 2008-01-08 18:50:30 +0200 9991 9992 Disable CRC32 from Block Headers when --check=none 9993 has been specified. 9994 9995 src/lzma/process.c | 2 +- 9996 1 files changed, 1 insertions(+), 1 deletions(-) 9997 9998commit a751126dbb656767ed4666cf0e5d3e17349d93d1 9999Author: Lasse Collin <lasse.collin@tukaani.org> 10000Date: 2008-01-08 13:36:29 +0200 10001 10002 Fixed encoding of empty files. Arguments to is_size_valid() 10003 were in wrong order in block_encoder.c. 10004 10005 src/liblzma/common/block_encoder.c | 2 +- 10006 1 files changed, 1 insertions(+), 1 deletions(-) 10007 10008commit 9080267603b1006c4867c823307dca9df8be0d20 10009Author: Lasse Collin <lasse.collin@tukaani.org> 10010Date: 2008-01-08 13:35:36 +0200 10011 10012 Added a few test files. 10013 10014 tests/files/README | 21 +++++++++++++++++-- 10015 tests/files/bad-cat-single-none-pad_garbage_1.lzma | Bin 0 -> 65 bytes 10016 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes 10017 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes 10018 tests/files/bad-single-data_after_eopm.lzma | Bin 55 -> 0 bytes 10019 tests/files/bad-single-data_after_eopm_1.lzma | Bin 0 -> 55 bytes 10020 tests/files/bad-single-none-truncated.lzma | Bin 0 -> 29 bytes 10021 7 files changed, 18 insertions(+), 3 deletions(-) 10022 10023commit b4943ccf73b64fc93a90a23474509c316f55eb2b 10024Author: Lasse Collin <lasse.collin@tukaani.org> 10025Date: 2008-01-08 12:29:58 +0200 10026 10027 Avoid using ! in test_files.sh, because that doesn't work 10028 with some ancient /bin/sh versions. 10029 10030 tests/test_files.sh | 4 +++- 10031 1 files changed, 3 insertions(+), 1 deletions(-) 10032 10033commit e2417b2b9134f3f65e14b61e23cd3644d8954353 10034Author: Lasse Collin <lasse.collin@tukaani.org> 10035Date: 2008-01-08 00:48:30 +0200 10036 10037 More pre-C99 inttypes.h compatibility fixes. Now the code 10038 should work even if the system has no inttypes.h. 10039 10040 src/common/physmem.h | 11 ----------- 10041 src/liblzma/check/crc32_init.c | 5 +---- 10042 src/liblzma/check/crc32_tablegen.c | 7 ++----- 10043 src/liblzma/check/crc64_init.c | 5 +---- 10044 src/liblzma/check/crc64_tablegen.c | 7 ++----- 10045 5 files changed, 6 insertions(+), 29 deletions(-) 10046 10047commit 5d227e51c23639423f4ade06aabb54e131f8505e 10048Author: Lasse Collin <lasse.collin@tukaani.org> 10049Date: 2008-01-07 23:25:32 +0200 10050 10051 Updated fi.po although it's currently pretty much crap. 10052 10053 po/fi.po | 12 ++++++------ 10054 1 files changed, 6 insertions(+), 6 deletions(-) 10055 10056commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d 10057Author: Lasse Collin <lasse.collin@tukaani.org> 10058Date: 2008-01-07 23:14:25 +0200 10059 10060 Test for $GCC = yes instead of if it is non-empty. This 10061 way it is possible to use ac_cv_c_compiler_gnu=no to 10062 force configure to think it is using non-GNU C compiler. 10063 10064 configure.ac | 2 +- 10065 1 files changed, 1 insertions(+), 1 deletions(-) 10066 10067commit 3dbbea82b74bb841c995ad332a3aeca613015e10 10068Author: Lasse Collin <lasse.collin@tukaani.org> 10069Date: 2008-01-07 21:49:41 +0200 10070 10071 Added test_files.sh to tests/Makefile.am so it gets 10072 included in the tarball with "make dist". 10073 10074 tests/Makefile.am | 2 +- 10075 1 files changed, 1 insertions(+), 1 deletions(-) 10076 10077commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0 10078Author: Lasse Collin <lasse.collin@tukaani.org> 10079Date: 2008-01-07 18:22:24 +0200 10080 10081 Cosmetic edit to test_files.sh. 10082 10083 tests/test_files.sh | 4 ++-- 10084 1 files changed, 2 insertions(+), 2 deletions(-) 10085 10086commit 9a71d573100a990ceb30ce0bec6a9a15d795605f 10087Author: Lasse Collin <lasse.collin@tukaani.org> 10088Date: 2008-01-07 18:09:44 +0200 10089 10090 Added tests/files/README. 10091 10092 tests/files/README | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 10093 1 files changed, 108 insertions(+), 0 deletions(-) 10094 10095commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43 10096Author: Lasse Collin <lasse.collin@tukaani.org> 10097Date: 2008-01-07 14:20:57 +0200 10098 10099 Tell in COPYING that everything in tests/files is 10100 public domain. 10101 10102 COPYING | 3 ++- 10103 1 files changed, 2 insertions(+), 1 deletions(-) 10104 10105commit 3502b3e1d00251d3c8dda96079440705c28d8225 10106Author: Lasse Collin <lasse.collin@tukaani.org> 10107Date: 2008-01-07 14:19:05 +0200 10108 10109 Cleaned up the tests/files directory. 10110 10111 tests/files/bad-single-subblock-padding_loop.lzma | Bin 0 -> 43 bytes 10112 tests/files/bad-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 10113 tests/files/malicious-single-subblock-loop.lzma | Bin 43 -> 0 bytes 10114 tests/files/malicious-single-subblock-lzma.lzma | Bin 505 -> 0 bytes 10115 .../files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes 10116 5 files changed, 0 insertions(+), 0 deletions(-) 10117 10118commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c 10119Author: Lasse Collin <lasse.collin@tukaani.org> 10120Date: 2008-01-07 13:49:19 +0200 10121 10122 Added test_files.sh to test decoding of the files in 10123 the tests/files directory. It doesn't test the malicious 10124 files yet. 10125 10126 tests/Makefile.am | 4 +++- 10127 tests/test_files.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 10128 2 files changed, 43 insertions(+), 1 deletions(-) 10129 10130commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6 10131Author: Lasse Collin <lasse.collin@tukaani.org> 10132Date: 2008-01-07 11:23:13 +0200 10133 10134 Updated README regarding the assembler optimizations. 10135 10136 README | 10 +++++----- 10137 1 files changed, 5 insertions(+), 5 deletions(-) 10138 10139commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb 10140Author: Lasse Collin <lasse.collin@tukaani.org> 10141Date: 2008-01-07 10:58:00 +0200 10142 10143 Updated THANKS. 10144 10145 THANKS | 1 + 10146 1 files changed, 1 insertions(+), 0 deletions(-) 10147 10148commit 1239649f96132b18e3b7e2dd152ecf53a195caa8 10149Author: Lasse Collin <lasse.collin@tukaani.org> 10150Date: 2008-01-06 21:47:17 +0200 10151 10152 Cosmetic changes to configure.ac. 10153 10154 configure.ac | 14 ++++++-------- 10155 1 files changed, 6 insertions(+), 8 deletions(-) 10156 10157commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e 10158Author: Lasse Collin <lasse.collin@tukaani.org> 10159Date: 2008-01-06 19:46:38 +0200 10160 10161 Automatically disable assembler code on Darwin x86. 10162 Darwin has different ABI than GNU+Linux and Solaris, 10163 thus the assembler code doesn't assemble on Darwin. 10164 10165 configure.ac | 17 +++++++++++++++-- 10166 1 files changed, 15 insertions(+), 2 deletions(-) 10167 10168commit c15a7abf66e3a70792f7444115e484c7981c8284 10169Author: Lasse Collin <lasse.collin@tukaani.org> 10170Date: 2008-01-06 19:45:27 +0200 10171 10172 With printf(), use PRIu64 with a cast to uint64_t instead 10173 of %zu, because some pre-C99 libc versions don't support %zu. 10174 10175 src/lzma/help.c | 13 +++++++------ 10176 src/lzmadec/lzmadec.c | 6 ++++-- 10177 2 files changed, 11 insertions(+), 8 deletions(-) 10178 10179commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb 10180Author: Lasse Collin <lasse.collin@tukaani.org> 10181Date: 2008-01-06 16:27:41 +0200 10182 10183 Introduced compatibility with systems that have pre-C99 10184 or no inttypes.h. This is useful when the compiler has 10185 good enough support for C99, but libc headers don't. 10186 10187 Changed liblzma API so that sys/types.h and inttypes.h 10188 have to be #included before #including lzma.h. On systems 10189 that don't have C99 inttypes.h, it's the problem of the 10190 applications to provide the required types and macros 10191 before #including lzma.h. 10192 10193 If lzma.h defined the missing types and macros, it could 10194 conflict with third-party applications whose configure 10195 has detected that the types are missing and defined them 10196 in config.h already. An alternative would have been 10197 introducing lzma_uint32 and similar types, but that would 10198 just be an extra pain on modern systems. 10199 10200 configure.ac | 13 +++++++- 10201 doc/liblzma-intro.txt | 10 +++++- 10202 src/common/sysdefs.h | 59 +++++++++++++++++++++++++++++++++++- 10203 src/liblzma/api/lzma.h | 40 ++++++++++++++++-------- 10204 src/liblzma/check/crc32_table.c | 4 +-- 10205 src/liblzma/check/crc32_table_be.h | 2 - 10206 src/liblzma/check/crc32_table_le.h | 2 - 10207 src/liblzma/check/crc32_tablegen.c | 1 - 10208 src/liblzma/check/crc64_table.c | 4 +-- 10209 src/liblzma/check/crc64_table_be.h | 2 - 10210 src/liblzma/check/crc64_table_le.h | 2 - 10211 src/liblzma/check/crc64_tablegen.c | 1 - 10212 src/lzma/private.h | 1 - 10213 13 files changed, 106 insertions(+), 35 deletions(-) 10214 10215commit a71864f77dfb76b5d78a270641539947c312583a 10216Author: Lasse Collin <lasse.collin@tukaani.org> 10217Date: 2008-01-05 19:57:00 +0200 10218 10219 Fix typo in comment (INT64_MAX -> UINT64_MAX). 10220 10221 src/liblzma/api/lzma/vli.h | 2 +- 10222 1 files changed, 1 insertions(+), 1 deletions(-) 10223 10224commit 072927905a3b66281c6311b4b351caa501d8b73a 10225Author: Lasse Collin <lasse.collin@tukaani.org> 10226Date: 2008-01-05 19:42:04 +0200 10227 10228 Rearranged testing of GCC-specific flags. 10229 10230 configure.ac | 33 +++++++++++++++++++++++---------- 10231 1 files changed, 23 insertions(+), 10 deletions(-) 10232 10233commit d160ee32598c6d1cd9054ef019e8c9331208b188 10234Author: Lasse Collin <lasse.collin@tukaani.org> 10235Date: 2008-01-05 01:20:24 +0200 10236 10237 Another bug fix for flush marker detection. 10238 10239 src/liblzma/lzma/lzma_decoder.c | 10 +++++++++- 10240 1 files changed, 9 insertions(+), 1 deletions(-) 10241 10242commit fc67f79f607cbfa78c6f47a69dec098d8659b162 10243Author: Lasse Collin <lasse.collin@tukaani.org> 10244Date: 2008-01-04 21:37:01 +0200 10245 10246 Fix stupid bugs in flush marker detection. 10247 10248 src/liblzma/lzma/lzma_decoder.c | 7 ++++--- 10249 1 files changed, 4 insertions(+), 3 deletions(-) 10250 10251commit 0029cbbabe87d491fc046a55a629a6d556010baa 10252Author: Lasse Collin <lasse.collin@tukaani.org> 10253Date: 2008-01-04 21:30:33 +0200 10254 10255 Added support for flush marker, which will be in files 10256 that use LZMA_SYNC_FLUSH with encoder (not implemented 10257 yet). This is a new feature in the raw LZMA format, 10258 which isn't supported by old decoders. This shouldn't 10259 be a problem in practice, since lzma_alone_encoder() 10260 will not allow LZMA_SYNC_FLUSH, and thus not allow 10261 creating files on decodable with old decoders. 10262 10263 Made lzma_decoder.c to require tab width of 4 characters 10264 if one wants to fit the code in 80 columns. This makes 10265 the code easier to read. 10266 10267 src/liblzma/lzma/lzma_common.h | 4 + 10268 src/liblzma/lzma/lzma_decoder.c | 217 ++++++++++++++++++--------------------- 10269 2 files changed, 104 insertions(+), 117 deletions(-) 10270 10271commit bbfd1f6ab058a7e661545205befcb7f70c5685ab 10272Author: Lasse Collin <lasse.collin@tukaani.org> 10273Date: 2008-01-04 20:45:05 +0200 10274 10275 Moved range decoder initialization (reading the first 10276 five input bytes) from LZMA decoder to range decoder 10277 header. Did the same for decoding of direct bits. 10278 10279 src/liblzma/lzma/lzma_decoder.c | 42 ++------------- 10280 src/liblzma/rangecoder/range_decoder.h | 87 ++++++++++++++++++++++---------- 10281 2 files changed, 66 insertions(+), 63 deletions(-) 10282 10283commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc 10284Author: Lasse Collin <lasse.collin@tukaani.org> 10285Date: 2007-12-14 11:15:21 +0200 10286 10287 Added a note to README that --disable-assembler 10288 must be used on Darwin. 10289 10290 README | 4 ++++ 10291 1 files changed, 4 insertions(+), 0 deletions(-) 10292 10293commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24 10294Author: Lasse Collin <lasse.collin@tukaani.org> 10295Date: 2007-12-14 10:07:10 +0200 10296 10297 Use the filename suffix .S instead of .s for assembler files 10298 so that the preprocessor removes the /* */ style comments, 10299 which are not supported by some non-GNU assemblers (Solaris) 10300 that otherwise work with this code. 10301 10302 src/liblzma/check/Makefile.am | 4 +- 10303 src/liblzma/check/crc32_x86.S | 217 +++++++++++++++++++++++++++++++++++++++++ 10304 src/liblzma/check/crc32_x86.s | 217 ----------------------------------------- 10305 src/liblzma/check/crc64_x86.S | 203 ++++++++++++++++++++++++++++++++++++++ 10306 src/liblzma/check/crc64_x86.s | 203 -------------------------------------- 10307 5 files changed, 422 insertions(+), 422 deletions(-) 10308 10309commit ec1c82b2e82f395f6e8e19ac212a639644330cd7 10310Author: Lasse Collin <lasse.collin@tukaani.org> 10311Date: 2007-12-14 09:59:05 +0200 10312 10313 Fixed wrong symbol name in crc64_x86.s. 10314 10315 src/liblzma/check/crc64_x86.s | 2 +- 10316 1 files changed, 1 insertions(+), 1 deletions(-) 10317 10318commit 2881570df6803eed2fe550af34574e8e61794804 10319Author: Lasse Collin <lasse.collin@tukaani.org> 10320Date: 2007-12-14 09:53:24 +0200 10321 10322 Use .globl instead of .global in x86 assembler code for 10323 better portability. Still needs fixing the commenting. 10324 10325 src/liblzma/check/crc32_x86.s | 2 +- 10326 src/liblzma/check/crc64_x86.s | 2 +- 10327 2 files changed, 2 insertions(+), 2 deletions(-) 10328 10329commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66 10330Author: Lasse Collin <lasse.collin@tukaani.org> 10331Date: 2007-12-13 20:14:37 +0200 10332 10333 Fixed a few short options that take an argument. 10334 short_opts[] was missing colons to indicate 10335 required argument. Thanks to Fabio Pedretti for 10336 the bug report. 10337 10338 src/lzma/args.c | 2 +- 10339 1 files changed, 1 insertions(+), 1 deletions(-) 10340 10341commit 918bcb0e0728d2d976621e9f35b56f224f11d989 10342Author: Lasse Collin <lasse.collin@tukaani.org> 10343Date: 2007-12-11 17:08:04 +0200 10344 10345 Removed uncompressed size tracking from Delta encoder too. 10346 10347 src/liblzma/common/delta_coder.c | 21 +++------------------ 10348 1 files changed, 3 insertions(+), 18 deletions(-) 10349 10350commit 3e16d51dd645667b05ff826665b1fc353aa41cd9 10351Author: Lasse Collin <lasse.collin@tukaani.org> 10352Date: 2007-12-11 16:49:19 +0200 10353 10354 Remove uncompressed size tracking from the filter encoders. 10355 It's not strictly needed there, and just complicates the 10356 code. LZ encoder never even had this feature. 10357 10358 The primary reason to have uncompressed size tracking in 10359 filter encoders was validating that the application 10360 doesn't give different amount of input that it had 10361 promised. A side effect was to validate internal workings 10362 of liblzma. 10363 10364 Uncompressed size tracking is still present in the Block 10365 encoder. Maybe it should be added to LZMA_Alone and raw 10366 encoders too. It's simpler to have one coder just to 10367 validate the uncompressed size instead of having it 10368 in every filter. 10369 10370 src/liblzma/common/copy_coder.c | 25 +------------------ 10371 src/liblzma/simple/simple_coder.c | 29 +++-------------------- 10372 src/liblzma/subblock/subblock_encoder.c | 38 +++++-------------------------- 10373 3 files changed, 12 insertions(+), 80 deletions(-) 10374 10375commit 5286723e0d1ac386d5b07f08d78e61becf895a5a 10376Author: Lasse Collin <lasse.collin@tukaani.org> 10377Date: 2007-12-11 14:10:53 +0200 10378 10379 Get rid of no-NLS gnulib. I don't know how to get it 10380 working with Automake. People who want smaller lzmadec 10381 should use --disable-nls on non-GNU systems. 10382 10383 lib/Makefile.am | 10 +--------- 10384 src/lzma/Makefile.am | 2 +- 10385 src/lzmadec/Makefile.am | 4 +++- 10386 3 files changed, 5 insertions(+), 11 deletions(-) 10387 10388commit ce8b036a6c7a43b290356b673d953f6d76b2be64 10389Author: Lasse Collin <lasse.collin@tukaani.org> 10390Date: 2007-12-11 14:09:35 +0200 10391 10392 Fixed a typo in tests/Makefile.am which prevented 10393 building the tests if gnulib was needed. 10394 10395 tests/Makefile.am | 2 +- 10396 1 files changed, 1 insertions(+), 1 deletions(-) 10397 10398commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4 10399Author: Lasse Collin <lasse.collin@tukaani.org> 10400Date: 2007-12-11 11:18:58 +0200 10401 10402 Fixed wrong type of flags_size in Subblock encoder. 10403 10404 src/liblzma/subblock/subblock_encoder.c | 2 +- 10405 1 files changed, 1 insertions(+), 1 deletions(-) 10406 10407commit ce64df716243fdc40359090d1f6541f3a4f5f21a 10408Author: Lasse Collin <lasse.collin@tukaani.org> 10409Date: 2007-12-10 20:44:16 +0200 10410 10411 Bumped version number to 4.42.3alpha. 10412 10413 configure.ac | 2 +- 10414 src/liblzma/api/lzma/version.h | 2 +- 10415 2 files changed, 2 insertions(+), 2 deletions(-) 10416 10417commit b499a0403ea5c41d6a25b40275eb6c57643052ce 10418Author: Lasse Collin <lasse.collin@tukaani.org> 10419Date: 2007-12-10 15:02:50 +0200 10420 10421 Disabled some unneeded warnings and made "make dist" work. 10422 10423 Makefile.am | 9 +++------ 10424 configure.ac | 9 ++++++--- 10425 po/fi.po | 47 ++++++++++++++++++++++++----------------------- 10426 3 files changed, 33 insertions(+), 32 deletions(-) 10427 10428commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172 10429Author: Lasse Collin <lasse.collin@tukaani.org> 10430Date: 2007-12-09 21:43:15 +0200 10431 10432 Added LZMA_SYNC_FLUSH support to the Copy filter. 10433 10434 src/liblzma/common/copy_coder.c | 92 ++++++++++++++++++++++++--------------- 10435 1 files changed, 57 insertions(+), 35 deletions(-) 10436 10437commit 329c272d501e88793dda5540358d55c12428d194 10438Author: Lasse Collin <lasse.collin@tukaani.org> 10439Date: 2007-12-09 17:14:07 +0200 10440 10441 Added missing LZMA_API to the C versions of the CRC functions. 10442 The x86 assembler versions were already OK. 10443 10444 src/liblzma/check/crc32.c | 2 +- 10445 src/liblzma/check/crc64.c | 2 +- 10446 2 files changed, 2 insertions(+), 2 deletions(-) 10447 10448commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7 10449Author: Jim Meyering <meyering@redhat.com> 10450Date: 2007-12-09 15:34:25 +0100 10451 10452 * tests/test_block_header.c (test3): Remove duplicate initializer. 10453 10454 autogen.sh | 2 +- 10455 tests/test_block_header.c | 1 - 10456 2 files changed, 1 insertions(+), 2 deletions(-) 10457 10458commit 07ac881779a8477f2c1ab112b91a129e24aa743c 10459Author: Lasse Collin <lasse.collin@tukaani.org> 10460Date: 2007-12-09 17:06:45 +0200 10461 10462 Take advantage of return_if_error() macro in more places. 10463 Cleaned Subblock filter's initialization code too. 10464 10465 src/liblzma/common/block_decoder.c | 22 +++------- 10466 src/liblzma/common/delta_coder.c | 8 +--- 10467 src/liblzma/common/stream_decoder.c | 17 +++----- 10468 src/liblzma/common/stream_encoder_multi.c | 68 +++++++++------------------ 10469 src/liblzma/common/stream_encoder_single.c | 8 +-- 10470 src/liblzma/subblock/subblock_decoder.c | 33 +++++--------- 10471 src/liblzma/subblock/subblock_encoder.c | 45 +++++------------- 10472 7 files changed, 63 insertions(+), 138 deletions(-) 10473 10474commit 41338717964f510ee61d70b25bd4c502ec9f77cf 10475Author: Lasse Collin <lasse.collin@tukaani.org> 10476Date: 2007-12-09 12:13:01 +0200 10477 10478 Added a bunch of .lzma test files. 10479 10480 tests/files/bad-single-data_after_eopm.lzma | Bin 0 -> 55 bytes 10481 tests/files/bad-single-data_after_eopm_2.lzma | Bin 0 -> 56 bytes 10482 tests/files/bad-single-subblock_subblock.lzma | Bin 0 -> 26 bytes 10483 tests/files/good-cat-single-none-pad.lzma | Bin 0 -> 64 bytes 10484 tests/files/good-single-delta-lzma.tiff.lzma | Bin 0 -> 51409 bytes 10485 tests/files/good-single-lzma.lzma | Bin 0 -> 44 bytes 10486 tests/files/good-single-none-pad.lzma | Bin 0 -> 32 bytes 10487 tests/files/good-single-none.lzma | Bin 0 -> 30 bytes 10488 tests/files/good-single-subblock-lzma.lzma | Bin 0 -> 50 bytes 10489 tests/files/good-single-subblock_rle.lzma | Bin 0 -> 118 bytes 10490 tests/files/malicious-multi-metadata-64PiB.lzma | Bin 0 -> 51 bytes 10491 tests/files/malicious-single-subblock-256MiB.lzma | Bin 0 -> 30 bytes 10492 tests/files/malicious-single-subblock-64PiB.lzma | Bin 0 -> 45 bytes 10493 tests/files/malicious-single-subblock-loop.lzma | Bin 0 -> 43 bytes 10494 tests/files/malicious-single-subblock-lzma.lzma | Bin 0 -> 505 bytes 10495 .../files/malicious-single-subblock1023-slow.lzma | Bin 0 -> 7886 bytes 10496 tests/files/malicious-single-subblock31-slow.lzma | Bin 0 -> 1233 bytes 10497 17 files changed, 0 insertions(+), 0 deletions(-) 10498 10499commit ff946ceb7975d4f11950afd33f6315b4d20d1a03 10500Author: Lasse Collin <lasse.collin@tukaani.org> 10501Date: 2007-12-09 11:24:48 +0200 10502 10503 Re-enabled the security checks in Subblock decoder 10504 that were disabled for debugging reasons. 10505 10506 src/liblzma/subblock/subblock_decoder.c | 6 +++--- 10507 1 files changed, 3 insertions(+), 3 deletions(-) 10508 10509commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1 10510Author: Lasse Collin <lasse.collin@tukaani.org> 10511Date: 2007-12-09 11:03:28 +0200 10512 10513 Fixed the tests to build with -Werror. 10514 10515 tests/test_block_header.c | 2 +- 10516 tests/test_check.c | 2 +- 10517 tests/test_filter_flags.c | 2 +- 10518 tests/test_index.c | 14 +++++++------- 10519 tests/test_info.c | 2 +- 10520 tests/test_stream_flags.c | 2 +- 10521 6 files changed, 12 insertions(+), 12 deletions(-) 10522 10523commit 5d018dc03549c1ee4958364712fb0c94e1bf2741 10524Author: Lasse Collin <lasse.collin@tukaani.org> 10525Date: 2007-12-09 00:42:33 +0200 10526 10527 Imported to git. 10528 10529 AUTHORS | 18 + 10530 COPYING | 24 + 10531 COPYING.GPLv2 | 339 +++++ 10532 COPYING.GPLv3 | 674 +++++++++ 10533 COPYING.LGPLv2.1 | 504 +++++++ 10534 ChangeLog | 2 + 10535 Doxyfile.in | 1229 ++++++++++++++++ 10536 Makefile.am | 38 + 10537 README | 151 ++ 10538 THANKS | 23 + 10539 TODO | 109 ++ 10540 autogen.sh | 38 + 10541 configure.ac | 611 ++++++++ 10542 doc/bugs.txt | 46 + 10543 doc/faq.txt | 247 ++++ 10544 doc/file-format.txt | 1861 ++++++++++++++++++++++++ 10545 doc/history.txt | 140 ++ 10546 doc/liblzma-advanced.txt | 324 ++++ 10547 doc/liblzma-hacking.txt | 112 ++ 10548 doc/liblzma-intro.txt | 188 +++ 10549 doc/liblzma-security.txt | 219 +++ 10550 doc/lzma-intro.txt | 107 ++ 10551 extra/scanlzma/scanlzma.c | 85 ++ 10552 lib/Makefile.am | 40 + 10553 lib/getopt.c | 1191 +++++++++++++++ 10554 lib/getopt1.c | 171 +++ 10555 lib/getopt_.h | 226 +++ 10556 lib/getopt_int.h | 131 ++ 10557 lib/gettext.h | 240 +++ 10558 m4/acx_pthread.m4 | 279 ++++ 10559 m4/getopt.m4 | 83 ++ 10560 po/LINGUAS | 1 + 10561 po/Makevars | 46 + 10562 po/POTFILES.in | 13 + 10563 po/fi.po | 445 ++++++ 10564 src/Makefile.am | 16 + 10565 src/common/open_stdxxx.h | 50 + 10566 src/common/physmem.h | 77 + 10567 src/common/sysdefs.h | 100 ++ 10568 src/liblzma/Makefile.am | 47 + 10569 src/liblzma/api/Makefile.am | 39 + 10570 src/liblzma/api/lzma.h | 122 ++ 10571 src/liblzma/api/lzma/alignment.h | 60 + 10572 src/liblzma/api/lzma/alone.h | 82 ++ 10573 src/liblzma/api/lzma/auto.h | 41 + 10574 src/liblzma/api/lzma/base.h | 410 ++++++ 10575 src/liblzma/api/lzma/block.h | 409 ++++++ 10576 src/liblzma/api/lzma/check.h | 128 ++ 10577 src/liblzma/api/lzma/copy.h | 29 + 10578 src/liblzma/api/lzma/delta.h | 49 + 10579 src/liblzma/api/lzma/extra.h | 114 ++ 10580 src/liblzma/api/lzma/filter.h | 166 +++ 10581 src/liblzma/api/lzma/index.h | 84 ++ 10582 src/liblzma/api/lzma/info.h | 315 ++++ 10583 src/liblzma/api/lzma/init.h | 85 ++ 10584 src/liblzma/api/lzma/lzma.h | 312 ++++ 10585 src/liblzma/api/lzma/memlimit.h | 157 ++ 10586 src/liblzma/api/lzma/metadata.h | 100 ++ 10587 src/liblzma/api/lzma/raw.h | 72 + 10588 src/liblzma/api/lzma/simple.h | 85 ++ 10589 src/liblzma/api/lzma/stream.h | 178 +++ 10590 src/liblzma/api/lzma/stream_flags.h | 142 ++ 10591 src/liblzma/api/lzma/subblock.h | 197 +++ 10592 src/liblzma/api/lzma/version.h | 59 + 10593 src/liblzma/api/lzma/vli.h | 244 ++++ 10594 src/liblzma/check/Makefile.am | 64 + 10595 src/liblzma/check/check.c | 160 ++ 10596 src/liblzma/check/check.h | 102 ++ 10597 src/liblzma/check/check_byteswap.h | 43 + 10598 src/liblzma/check/check_init.c | 37 + 10599 src/liblzma/check/crc32.c | 88 ++ 10600 src/liblzma/check/crc32_init.c | 58 + 10601 src/liblzma/check/crc32_table.c | 22 + 10602 src/liblzma/check/crc32_table_be.h | 527 +++++++ 10603 src/liblzma/check/crc32_table_le.h | 527 +++++++ 10604 src/liblzma/check/crc32_tablegen.c | 55 + 10605 src/liblzma/check/crc32_x86.s | 217 +++ 10606 src/liblzma/check/crc64.c | 75 + 10607 src/liblzma/check/crc64_init.c | 58 + 10608 src/liblzma/check/crc64_table.c | 22 + 10609 src/liblzma/check/crc64_table_be.h | 523 +++++++ 10610 src/liblzma/check/crc64_table_le.h | 523 +++++++ 10611 src/liblzma/check/crc64_tablegen.c | 56 + 10612 src/liblzma/check/crc64_x86.s | 203 +++ 10613 src/liblzma/check/crc_macros.h | 33 + 10614 src/liblzma/check/sha256.c | 203 +++ 10615 src/liblzma/common/Makefile.am | 94 ++ 10616 src/liblzma/common/alignment.c | 118 ++ 10617 src/liblzma/common/allocator.c | 57 + 10618 src/liblzma/common/alone_decoder.c | 197 +++ 10619 src/liblzma/common/alone_decoder.h | 24 + 10620 src/liblzma/common/alone_encoder.c | 167 +++ 10621 src/liblzma/common/auto_decoder.c | 113 ++ 10622 src/liblzma/common/block_decoder.c | 405 +++++ 10623 src/liblzma/common/block_decoder.h | 29 + 10624 src/liblzma/common/block_encoder.c | 375 +++++ 10625 src/liblzma/common/block_encoder.h | 29 + 10626 src/liblzma/common/block_header_decoder.c | 373 +++++ 10627 src/liblzma/common/block_header_encoder.c | 211 +++ 10628 src/liblzma/common/block_private.h | 46 + 10629 src/liblzma/common/chunk_size.c | 74 + 10630 src/liblzma/common/code.c | 203 +++ 10631 src/liblzma/common/common.h | 271 ++++ 10632 src/liblzma/common/copy_coder.c | 143 ++ 10633 src/liblzma/common/copy_coder.h | 31 + 10634 src/liblzma/common/delta_coder.c | 210 +++ 10635 src/liblzma/common/delta_coder.h | 31 + 10636 src/liblzma/common/extra.c | 33 + 10637 src/liblzma/common/features.c | 70 + 10638 src/liblzma/common/filter_flags_decoder.c | 382 +++++ 10639 src/liblzma/common/filter_flags_encoder.c | 359 +++++ 10640 src/liblzma/common/index.c | 140 ++ 10641 src/liblzma/common/info.c | 823 +++++++++++ 10642 src/liblzma/common/init.c | 39 + 10643 src/liblzma/common/init_decoder.c | 33 + 10644 src/liblzma/common/init_encoder.c | 44 + 10645 src/liblzma/common/memory_limitter.c | 200 +++ 10646 src/liblzma/common/memory_usage.c | 113 ++ 10647 src/liblzma/common/metadata_decoder.c | 555 +++++++ 10648 src/liblzma/common/metadata_decoder.h | 31 + 10649 src/liblzma/common/metadata_encoder.c | 436 ++++++ 10650 src/liblzma/common/metadata_encoder.h | 30 + 10651 src/liblzma/common/next_coder.c | 65 + 10652 src/liblzma/common/raw_common.c | 175 +++ 10653 src/liblzma/common/raw_common.h | 31 + 10654 src/liblzma/common/raw_decoder.c | 127 ++ 10655 src/liblzma/common/raw_decoder.h | 30 + 10656 src/liblzma/common/raw_encoder.c | 124 ++ 10657 src/liblzma/common/raw_encoder.h | 30 + 10658 src/liblzma/common/stream_common.c | 23 + 10659 src/liblzma/common/stream_common.h | 28 + 10660 src/liblzma/common/stream_decoder.c | 454 ++++++ 10661 src/liblzma/common/stream_encoder_multi.c | 460 ++++++ 10662 src/liblzma/common/stream_encoder_single.c | 220 +++ 10663 src/liblzma/common/stream_flags_decoder.c | 258 ++++ 10664 src/liblzma/common/stream_flags_decoder.h | 31 + 10665 src/liblzma/common/stream_flags_encoder.c | 75 + 10666 src/liblzma/common/sysdefs.h | 1 + 10667 src/liblzma/common/version.c | 25 + 10668 src/liblzma/common/vli_decoder.c | 69 + 10669 src/liblzma/common/vli_encoder.c | 81 + 10670 src/liblzma/common/vli_reverse_decoder.c | 55 + 10671 src/liblzma/lz/Makefile.am | 63 + 10672 src/liblzma/lz/bt2.c | 27 + 10673 src/liblzma/lz/bt2.h | 31 + 10674 src/liblzma/lz/bt3.c | 29 + 10675 src/liblzma/lz/bt3.h | 31 + 10676 src/liblzma/lz/bt4.c | 30 + 10677 src/liblzma/lz/bt4.h | 31 + 10678 src/liblzma/lz/hc3.c | 30 + 10679 src/liblzma/lz/hc3.h | 31 + 10680 src/liblzma/lz/hc4.c | 31 + 10681 src/liblzma/lz/hc4.h | 31 + 10682 src/liblzma/lz/lz_decoder.c | 462 ++++++ 10683 src/liblzma/lz/lz_decoder.h | 214 +++ 10684 src/liblzma/lz/lz_encoder.c | 481 ++++++ 10685 src/liblzma/lz/lz_encoder.h | 161 ++ 10686 src/liblzma/lz/lz_encoder_private.h | 40 + 10687 src/liblzma/lz/match_c.h | 401 +++++ 10688 src/liblzma/lz/match_h.h | 69 + 10689 src/liblzma/lzma.pc.in | 11 + 10690 src/liblzma/lzma/Makefile.am | 43 + 10691 src/liblzma/lzma/lzma_common.h | 128 ++ 10692 src/liblzma/lzma/lzma_decoder.c | 844 +++++++++++ 10693 src/liblzma/lzma/lzma_decoder.h | 41 + 10694 src/liblzma/lzma/lzma_encoder.c | 413 ++++++ 10695 src/liblzma/lzma/lzma_encoder.h | 35 + 10696 src/liblzma/lzma/lzma_encoder_features.c | 59 + 10697 src/liblzma/lzma/lzma_encoder_getoptimum.c | 893 ++++++++++++ 10698 src/liblzma/lzma/lzma_encoder_getoptimumfast.c | 201 +++ 10699 src/liblzma/lzma/lzma_encoder_init.c | 245 ++++ 10700 src/liblzma/lzma/lzma_encoder_presets.c | 34 + 10701 src/liblzma/lzma/lzma_encoder_private.h | 225 +++ 10702 src/liblzma/lzma/lzma_literal.c | 74 + 10703 src/liblzma/lzma/lzma_literal.h | 74 + 10704 src/liblzma/rangecoder/Makefile.am | 28 + 10705 src/liblzma/rangecoder/range_common.h | 68 + 10706 src/liblzma/rangecoder/range_decoder.h | 189 +++ 10707 src/liblzma/rangecoder/range_encoder.c | 46 + 10708 src/liblzma/rangecoder/range_encoder.h | 317 ++++ 10709 src/liblzma/simple/Makefile.am | 46 + 10710 src/liblzma/simple/arm.c | 76 + 10711 src/liblzma/simple/armthumb.c | 81 + 10712 src/liblzma/simple/ia64.c | 117 ++ 10713 src/liblzma/simple/powerpc.c | 80 + 10714 src/liblzma/simple/simple_coder.c | 306 ++++ 10715 src/liblzma/simple/simple_coder.h | 68 + 10716 src/liblzma/simple/simple_private.h | 86 ++ 10717 src/liblzma/simple/sparc.c | 88 ++ 10718 src/liblzma/simple/x86.c | 161 ++ 10719 src/liblzma/subblock/Makefile.am | 33 + 10720 src/liblzma/subblock/subblock_decoder.c | 681 +++++++++ 10721 src/liblzma/subblock/subblock_decoder.h | 29 + 10722 src/liblzma/subblock/subblock_decoder_helper.c | 80 + 10723 src/liblzma/subblock/subblock_decoder_helper.h | 36 + 10724 src/liblzma/subblock/subblock_encoder.c | 841 +++++++++++ 10725 src/liblzma/subblock/subblock_encoder.h | 28 + 10726 src/lzma/Makefile.am | 63 + 10727 src/lzma/alloc.c | 106 ++ 10728 src/lzma/alloc.h | 42 + 10729 src/lzma/args.c | 566 +++++++ 10730 src/lzma/args.h | 64 + 10731 src/lzma/error.c | 156 ++ 10732 src/lzma/error.h | 67 + 10733 src/lzma/hardware.c | 99 ++ 10734 src/lzma/hardware.h | 31 + 10735 src/lzma/help.c | 178 +++ 10736 src/lzma/help.h | 32 + 10737 src/lzma/io.c | 664 +++++++++ 10738 src/lzma/io.h | 60 + 10739 src/lzma/list.c | 477 ++++++ 10740 src/lzma/main.c | 254 ++++ 10741 src/lzma/options.c | 346 +++++ 10742 src/lzma/options.h | 46 + 10743 src/lzma/private.h | 55 + 10744 src/lzma/process.c | 458 ++++++ 10745 src/lzma/process.h | 30 + 10746 src/lzma/suffix.c | 145 ++ 10747 src/lzma/suffix.h | 25 + 10748 src/lzma/util.c | 182 +++ 10749 src/lzma/util.h | 32 + 10750 src/lzmadec/Makefile.am | 27 + 10751 src/lzmadec/lzmadec.c | 515 +++++++ 10752 src/scripts/Makefile.am | 24 + 10753 src/scripts/lzdiff | 67 + 10754 src/scripts/lzdiff.1 | 51 + 10755 src/scripts/lzgrep | 123 ++ 10756 src/scripts/lzgrep.1 | 61 + 10757 src/scripts/lzmore | 74 + 10758 src/scripts/lzmore.1 | 55 + 10759 tests/Makefile.am | 43 + 10760 tests/test_block.c | 59 + 10761 tests/test_block_header.c | 352 +++++ 10762 tests/test_check.c | 90 ++ 10763 tests/test_filter_flags.c | 326 +++++ 10764 tests/test_index.c | 43 + 10765 tests/test_info.c | 717 +++++++++ 10766 tests/test_stream_flags.c | 191 +++ 10767 tests/tests.h | 148 ++ 10768 239 files changed, 42513 insertions(+), 0 deletions(-) 10769