ChangeLog revision 219001
1219001Smmcommit 7232fcf96bf4bd5f9cd4fc6c93ca2912c665e004 2219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3219001SmmDate: Fri Jan 28 20:26:38 2011 +0200 4219001Smm 5219001Smm Bump package version and liblzma soname to 5.0.1. 6219001Smm 7219001Smmcommit 5fbce0b8d96dc96775aa0215e3581addc830e23d 8219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 9219001SmmDate: Fri Jan 28 20:16:57 2011 +0200 10219001Smm 11219001Smm Update NEWS for 5.0.1. 12219001Smm 13219001Smmcommit 03ebd1bbb314f9f204940219a835c883bf442475 14219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 15219001SmmDate: Wed Jan 26 12:19:08 2011 +0200 16219001Smm 17219001Smm xz: Fix --force on setuid/setgid/sticky and multi-hardlink files. 18219001Smm 19219001Smm xz didn't compress setuid/setgid/sticky files and files 20219001Smm with multiple hard links even with --force. This bug was 21219001Smm introduced in 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4. 22219001Smm 23219001Smm Thanks to Charles Wilson. 24219001Smm 25219001Smmcommit 7bd0a5e7ccc354f7c2e95c8bc27569c820f6a136 26219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 27219001SmmDate: Tue Jan 18 21:25:24 2011 +0200 28219001Smm 29219001Smm Updated THANKS. 30219001Smm 31219001Smmcommit f71c4e16e913f660977526f0ef8d2acdf458d7c9 32219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 33219001SmmDate: Tue Jan 18 21:23:50 2011 +0200 34219001Smm 35219001Smm Add alloc_size and malloc attributes to a few functions. 36219001Smm 37219001Smm Thanks to Cristian Rodr��guez for the original patch. 38219001Smm 39219001Smmcommit 316cbe24465143edde8f6ffb7532834b7b2ea93f 40219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 41219001SmmDate: Mon Dec 13 16:36:33 2010 +0200 42219001Smm 43219001Smm Scripts: Fix gzip and bzip2 support in xzdiff. 44219001Smm 45219001Smmcommit 9311774c493c19deab51ded919dcd2e9c4aa2829 46219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 47219001SmmDate: Sun Dec 12 21:23:55 2010 +0200 48219001Smm 49219001Smm Build: Enable ASM on DJGPP by default. 50219001Smm 51219001Smmcommit 4a42aaee282fc73b482581684d65110506d5efdd 52219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 53219001SmmDate: Sun Dec 12 16:09:42 2010 +0200 54219001Smm 55219001Smm Updated THANKS. 56219001Smm 57219001Smmcommit ce56f63c41ee210e6308090eb6d49221fdf67d6c 58219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 59219001SmmDate: Sun Dec 12 16:07:11 2010 +0200 60219001Smm 61219001Smm Add missing PRIx32 and PRIx64 compatibility definitions. 62219001Smm 63219001Smm This fixes portability to systems that lack C99 inttypes.h. 64219001Smm 65219001Smm Thanks to Juan Manuel Guerrero. 66219001Smm 67219001Smmcommit e6baedddcf54e7da049ebc49183565b99facd4c7 68219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 69219001SmmDate: Sun Dec 12 14:50:04 2010 +0200 70219001Smm 71219001Smm DOS-like: Treat \ and : as directory separators in addition to /. 72219001Smm 73219001Smm Juan Manuel Guerrero had fixed this in his XZ Utils port 74219001Smm to DOS/DJGPP. The bug affects also Windows and OS/2. 75219001Smm 76219001Smmcommit b7afd3e22a8fac115b75c738d40d3eb1de7e286f 77219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 78219001SmmDate: Tue Dec 7 18:52:04 2010 +0200 79219001Smm 80219001Smm Translations: Fix Czech translation of "sparse file". 81219001Smm 82219001Smm Thanks to Petr Huben�� and Marek ��ernock��. 83219001Smm 84219001Smmcommit 3e564704bc6f463cb2db11e3f3f0dbd71d85992e 85219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 86219001SmmDate: Mon Nov 15 14:28:26 2010 +0200 87219001Smm 88219001Smm liblzma: Document the return value of lzma_lzma_preset(). 89219001Smm 90219001Smmcommit 2964d8d691ed92abdcf214888d79ad6d79774735 91219001SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 92219001SmmDate: Fri Nov 12 15:22:13 2010 -0600 93219001Smm 94219001Smm Simplify paths in generated API docs 95219001Smm 96219001Smm Currently the file list generated by Doxygen has src/ at the 97219001Smm beginning of each path. Paths like common/sysdefs.h and 98219001Smm liblzma/api/lzma.h are easier to read without such a prefix. 99219001Smm 100219001Smm Builds from a separate build directory with 101219001Smm 102219001Smm mkdir build 103219001Smm cd build 104219001Smm ../configure 105219001Smm doxygen Doxyfile 106219001Smm 107219001Smm include an even longer prefix /home/someone/src/xz/src; this 108219001Smm patch has the nice side-effect of eliminating that prefix, too. 109219001Smm 110219001Smm Fixes: http://bugs.debian.org/572273 111219001Smm 112219001Smmcommit 37c25658efd25b034266daf87cd381d20d1df776 113219001SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 114219001SmmDate: Tue Oct 26 15:48:48 2010 +0300 115219001Smm 116219001Smm Build: Copy the example programs to $docdir/examples. 117219001Smm 118219001Smm The example programs by Daniel Mealha Cabrita were included 119219001Smm in the git repository, but I had forgot to add them to 120219001Smm Makefile.am. Thus, they didn't get included in the source 121219001Smm package at all by "make dist". 122219001Smm 123215187Smmcommit e45929260cd902036efd40c5610a8d0a50d5712b 124215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 125215187SmmDate: Sat Oct 23 17:25:52 2010 +0300 126215187Smm 127215187Smm Build: Fix mydist rule when .git doesn't exist. 128215187Smm 129215187Smmcommit 6e1326fcdf6b6209949be57cfe3ad4b781b65168 130215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 131215187SmmDate: Sat Oct 23 14:15:35 2010 +0300 132215187Smm 133215187Smm Add NEWS for 5.0.0. 134215187Smm 135215187Smmcommit b667a3ef6338a2c1db7b7706b1f6c99ea392221c 136215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 137215187SmmDate: Sat Oct 23 14:02:53 2010 +0300 138215187Smm 139215187Smm Bump version to 5.0.0 and liblzma version-info to 5:0:0. 140215187Smm 141215187Smmcommit 8c947e9291691629714dafb4536c718b6cc24fbd 142215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 143215187SmmDate: Sat Oct 23 12:30:54 2010 +0300 144215187Smm 145215187Smm liblzma: Make lzma_code() check the reserved members in lzma_stream. 146215187Smm 147215187Smm If any of the reserved members in lzma_stream are non-zero 148215187Smm or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible 149215187Smm that a new feature in the future is indicated by just setting 150215187Smm a reserved member to some other value, so the old liblzma 151215187Smm version need to catch it as an unsupported feature. 152215187Smm 153215187Smmcommit e61d85e082743ebd2dd0ff28fc0a82482ede0538 154215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 155215187SmmDate: Sat Oct 23 12:26:33 2010 +0300 156215187Smm 157215187Smm Windows: Use MinGW's stdio functions. 158215187Smm 159215187Smm The non-standard ones from msvcrt.dll appear to work 160215187Smm most of the time with XZ Utils, but there are some 161215187Smm corner cases where things may go very wrong. So it's 162215187Smm good to use the better replacements provided by 163215187Smm MinGW(-w64) runtime. 164215187Smm 165215187Smmcommit 23e23f1dc029146714c9a98313ab3ea93d71a2fc 166215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 167215187SmmDate: Sat Oct 23 12:21:32 2010 +0300 168215187Smm 169215187Smm liblzma: Use 512 as INDEX_GROUP_SIZE. 170215187Smm 171215187Smm This lets compiler use shifting instead of 64-bit division. 172215187Smm 173215187Smmcommit 613939fc82603b75b59eee840871a05bc8dd08e0 174215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 175215187SmmDate: Sat Oct 23 12:20:11 2010 +0300 176215187Smm 177215187Smm liblzma: A few ABI tweaks to reserve space in structures. 178215187Smm 179215187Smmcommit 68b83f252df3d27480a9f6f03445d16f6506fef1 180215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 181215187SmmDate: Thu Oct 21 23:16:11 2010 +0300 182215187Smm 183215187Smm xz: Make sure that message_strm() can never return NULL. 184215187Smm 185215187Smmcommit d09c5753e33ff96ee57edb6d1e98e34041203695 186215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 187215187SmmDate: Thu Oct 21 23:06:31 2010 +0300 188215187Smm 189215187Smm liblzma: Update the comments in the API headers. 190215187Smm 191215187Smm Adding support for LZMA_FINISH for Index encoding and 192215187Smm decoding needed tiny additions to the relevant .c files too. 193215187Smm 194215187Smmcommit 33c1c0e102eb529588503b8beea0903a45488fad 195215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 196215187SmmDate: Tue Oct 19 12:08:30 2010 +0300 197215187Smm 198215187Smm Update INSTALL.generic. 199215187Smm 200215187Smmcommit 0076e03641f201c4b77dddd5a6db5880be19a78c 201215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 202215187SmmDate: Tue Oct 19 11:44:37 2010 +0300 203215187Smm 204215187Smm Clean up a few FIXMEs and TODOs. 205215187Smm 206215187Smm lzma_chunk_size() was commented out because it is 207215187Smm currently useless. 208215187Smm 209215187Smmcommit ce34ec4f54ff8b753da236f371ad8dd23c8135c9 210215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 211215187SmmDate: Tue Oct 19 10:21:08 2010 +0300 212215187Smm 213215187Smm Update docs. 214215187Smm 215215187Smmcommit f0fa880d247e73264d2c04fe31fb3412318a0026 216215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 217215187SmmDate: Tue Oct 12 15:13:30 2010 +0300 218215187Smm 219215187Smm xz: Avoid raise() also on OpenVMS. 220215187Smm 221215187Smm This is similar to DOS/DJGPP that killing the program 222215187Smm with a signal will print a backtrace or a similar message. 223215187Smm 224215187Smmcommit ac462b1c47c451f5c62e428306314c4bdad8ae7f 225215187SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 226215187SmmDate: Mon Oct 11 21:26:19 2010 +0300 227215187Smm 228215187Smm xz: Avoid SA_RESTART for portability reasons. 229215187Smm 230215187Smm SA_RESTART is not as portable as I had hoped. It's missing 231215187Smm at least from OpenVMS, QNX, and DJGPP). Luckily we can do 232215187Smm fine without SA_RESTART. 233215187Smm 234213700Smmcommit d52b411716a614c202e89ba732492efb9916cd3f 235213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 236213700SmmDate: Sun Oct 10 17:58:58 2010 +0300 237213700Smm 238213700Smm xz: Use "%"PRIu32 instead of "%d" in a format string. 239213700Smm 240213700Smmcommit ae74d1bdeb075c3beefe76e1136c5741804e7e91 241213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 242213700SmmDate: Sun Oct 10 17:43:26 2010 +0300 243213700Smm 244213700Smm test_files.sh: Fix the first line. 245213700Smm 246213700Smm For some reason this prevented running the test only 247213700Smm on OS/2 and even on that it broke only recently. 248213700Smm 249213700Smm Thanks to Elbert Pol. 250213700Smm 251213700Smmcommit d492b80ddd6f9a13419de6d102df7374d8f448e8 252213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 253213700SmmDate: Sun Oct 10 16:49:01 2010 +0300 254213700Smm 255213700Smm lzmainfo: Use "%"PRIu32 instead of "%u" for uint32_t. 256213700Smm 257213700Smmcommit 825e859a9054bd91202e5723c41a17e72f63040a 258213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 259213700SmmDate: Sun Oct 10 16:47:01 2010 +0300 260213700Smm 261213700Smm lzmainfo: Use fileno(stdin) instead of STDIN_FILENO. 262213700Smm 263213700Smmcommit acbc4cdecbeec2a4dfaac04f185ece49b2ff17c8 264213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 265213700SmmDate: Sat Oct 9 23:20:51 2010 +0300 266213700Smm 267213700Smm lzmainfo: Use setmode() on DOS-like systems. 268213700Smm 269213700Smmcommit ef364d3abc5647111c5424ea0d83a567e184a23b 270213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 271213700SmmDate: Sat Oct 9 21:51:03 2010 +0300 272213700Smm 273213700Smm OS/2 and DOS: Be less verbose on signals. 274213700Smm 275213700Smm Calling raise() to kill xz when user has pressed C-c 276213700Smm is a bit verbose on OS/2 and DOS/DJGPP. Instead of 277213700Smm calling raise(), set only the exit status to 1. 278213700Smm 279213700Smmcommit 5629c4be07b6c67e79842b2569da1cedc9c0d69a 280213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 281213700SmmDate: Sat Oct 9 19:28:49 2010 +0300 282213700Smm 283213700Smm DOS: Update the Makefile, config.h and README. 284213700Smm 285213700Smm This is now simpler and builds only xz.exe. 286213700Smm 287213700Smmcommit f25a77e6b9bc48a243ddfbbd755b7960eec7e0ac 288213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 289213700SmmDate: Sat Oct 9 18:57:55 2010 +0300 290213700Smm 291213700Smm Windows: Put some license info into README-Windows.txt. 292213700Smm 293213700Smmcommit e75100f549f85d231df25c07aa94d63e78e2d668 294213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 295213700SmmDate: Sat Oct 9 18:57:04 2010 +0300 296213700Smm 297213700Smm Windows: Fix a diagnostics bug in build.bash. 298213700Smm 299213700Smmcommit efeb998a2b1025df1c1d202cc7d21d866cd1c336 300213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 301213700SmmDate: Sat Oct 9 13:02:15 2010 +0300 302213700Smm 303213700Smm lzmainfo: Add Windows resource file. 304213700Smm 305213700Smmcommit 389d418445f1623593dfdbba55d52fbb6d1205f5 306213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 307213700SmmDate: Sat Oct 9 12:57:25 2010 +0300 308213700Smm 309213700Smm Add missing public domain notice to lzmadec_w32res.rc. 310213700Smm 311213700Smmcommit 6389c773a4912dd9f111256d74ba1605230a7957 312213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 313213700SmmDate: Sat Oct 9 12:52:12 2010 +0300 314213700Smm 315213700Smm Windows: Update common_w32res.rc. 316213700Smm 317213700Smmcommit 71275457ca24c9b01721f5cfc3638cf094daf454 318213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 319213700SmmDate: Sat Oct 9 12:27:08 2010 +0300 320213700Smm 321213700Smm Windows: Make build.bash prefer MinGW-w32 over MinGW. 322213700Smm 323213700Smm This is simply for licensing reasons. The 64-bit version 324213700Smm will be built with MinGW-w64 anyway (at least for now), 325213700Smm so using it also for 32-bit build allows using the same 326213700Smm copyright notice about the MinGW-w64/w32 runtime. 327213700Smm 328213700Smm Note that using MinGW would require a copyright notice too, 329213700Smm because its runtime is not in the public domain either even 330213700Smm though MinGW's home page claims that it is public domain. 331213700Smm See <http://marc.info/?l=mingw-users&m=126489506214078>. 332213700Smm 333213700Smmcommit 3ac35719d8433af937af6491383d4a50e343099b 334213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 335213700SmmDate: Sat Oct 9 11:33:21 2010 +0300 336213700Smm 337213700Smm Windows: Copy COPYING-Windows.txt (if it exists) to the package. 338213700Smm 339213700Smm Also, put README-Windows.txt to the doc directory like 340213700Smm the other documentation files. 341213700Smm 342213700Smmcommit 7b5db576fd7a4a67813b8437a9ccd4dbc94bbaae 343213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 344213700SmmDate: Fri Oct 8 21:42:37 2010 +0300 345213700Smm 346213700Smm Windows: Fix build.bash again. 347213700Smm 348213700Smm 630a8beda34af0ac153c8051b1bf01230558e422 wasn't good. 349213700Smm 350213700Smmcommit d3cd7abe85ec7c2f46cf198b15c00d5d119df3dd 351213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 352213700SmmDate: Fri Oct 8 16:53:20 2010 +0300 353213700Smm 354213700Smm Use LZMA_VERSION_STRING instead of PACKAGE_VERSION. 355213700Smm 356213700Smm Those are the same thing, and the former makes it a bit 357213700Smm easier to build the code with other build systems, because 358213700Smm one doesn't need to update the version number into custom 359213700Smm config.h. 360213700Smm 361213700Smm This change affects only lzmainfo. Other tools were already 362213700Smm using LZMA_VERSION_STRING. 363213700Smm 364213700Smmcommit 084c60d318f2dbaef4078d9b100b4a373d0c3a7f 365213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 366213700SmmDate: Fri Oct 8 15:59:25 2010 +0300 367213700Smm 368213700Smm configure.ac: Remove two unused defines. 369213700Smm 370213700Smmcommit 11f51b6714357cb67ec7e56ed9575c199b5581fe 371213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 372213700SmmDate: Fri Oct 8 15:32:29 2010 +0300 373213700Smm 374213700Smm Make tests accommodate missing xz or xzdec. 375213700Smm 376213700Smmcommit b1c7368f95e93ccdefdd0748e04398c26766f47f 377213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 378213700SmmDate: Fri Oct 8 15:25:45 2010 +0300 379213700Smm 380213700Smm Build: Add options to disable individual command line tools. 381213700Smm 382213700Smmcommit 630a8beda34af0ac153c8051b1bf01230558e422 383213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 384213700SmmDate: Thu Oct 7 00:44:53 2010 +0300 385213700Smm 386213700Smm Windows: Make build.bash work without --enable-dynamic=no. 387213700Smm 388213700Smmcommit f9907503f882a745dce9d84c2968f6c175ba966a 389213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 390213700SmmDate: Tue Oct 5 14:13:16 2010 +0300 391213700Smm 392213700Smm Build: Remove the static/dynamic tricks. 393213700Smm 394213700Smm Most distros want xz linked against shared liblzma, so 395213700Smm it doesn't help much to require --enable-dynamic for that. 396213700Smm Those who want to avoid PIC on x86-32 to get better 397213700Smm performance, can still do it e.g. by using --disable-shared 398213700Smm to compile xz and then another pass to compile shared liblzma. 399213700Smm 400213700Smm Part of these static/dynamic tricks were needed for Windows 401213700Smm in the past. Nowadays we rely on GCC and binutils to do the 402213700Smm right thing with auto-import. If the Autotooled build system 403213700Smm needs to support some other toolchain on Windows in the future, 404213700Smm this may need some rethinking. 405213700Smm 406213700Smmcommit fda4724d8114fccfa31c1839c15479f350c2fb4c 407213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 408213700SmmDate: Tue Oct 5 12:18:58 2010 +0300 409213700Smm 410213700Smm configure.ac: Silence a warning from Autoconf 2.68. 411213700Smm 412213700Smmcommit 80b5675fa62c87426fe86f8fcd20feeabc4361b9 413213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 414213700SmmDate: Mon Oct 4 19:43:01 2010 +0300 415213700Smm 416213700Smm A few more languages files to the xz man page. 417213700Smm 418213700Smm Thanks to Jonathan Nieder. 419213700Smm 420213700Smmcommit f9722dbeca4dc4c43cfd15d122dafaac50b0a0bb 421213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 422213700SmmDate: Sat Oct 2 12:07:33 2010 +0300 423213700Smm 424213700Smm Update the FAQ. 425213700Smm 426213700Smmcommit 61ae593661e8dc402394e84d567ca2044a51572b 427213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 428213700SmmDate: Sat Oct 2 11:38:20 2010 +0300 429213700Smm 430213700Smm liblzma: Small fixes to comments in the API headers. 431213700Smm 432213700Smmcommit 9166682dc601fd42c1b9510572e3f917d18de504 433213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 434213700SmmDate: Tue Sep 28 11:40:12 2010 +0300 435213700Smm 436213700Smm Create the PDF versions of the man pages better. 437213700Smm 438213700Smmcommit 17d3c61edd35de8fa884944fc70d1db86daa5dd8 439213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 440213700SmmDate: Tue Sep 28 10:59:53 2010 +0300 441213700Smm 442213700Smm Move version.sh to build-aux. 443213700Smm 444213700Smmcommit 84af9d8770451339a692e9b70f96cf56156a6069 445213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 446213700SmmDate: Tue Sep 28 10:53:02 2010 +0300 447213700Smm 448213700Smm Update .gitignore. 449213700Smm 450213700Smmcommit 31575a449ac64c523da3bab8d0c0b522cdc7c780 451213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 452213700SmmDate: Tue Sep 28 01:17:14 2010 +0300 453213700Smm 454213700Smm Fix accomodate -> accommodate on the xz man page. 455213700Smm 456213700Smmcommit cec0ddc8ec4ce81685a51998b978e22167e461f9 457213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 458213700SmmDate: Mon Sep 27 23:29:34 2010 +0300 459213700Smm 460213700Smm Major man page updates. 461213700Smm 462213700Smm Lots of content was updated on the xz man page. 463213700Smm 464213700Smm Technical improvements: 465213700Smm - Start a new sentence on a new line. 466213700Smm - Use fairly short lines. 467213700Smm - Use constant-width font for examples (where supported). 468213700Smm - Some minor cleanups. 469213700Smm 470213700Smm Thanks to Jonathan Nieder for some language fixes. 471213700Smm 472213700Smmcommit 075257ab0416a0603be930082e31a5703e4ba345 473213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 474213700SmmDate: Sun Sep 26 18:10:31 2010 +0300 475213700Smm 476213700Smm Fix the preset -3e. 477213700Smm 478213700Smm depth=0 was missing. 479213700Smm 480213700Smmcommit 2577da9ebdba13fbe99ae5ee8bde35f7ed60f6d1 481213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 482213700SmmDate: Thu Sep 23 14:03:10 2010 +0300 483213700Smm 484213700Smm Add translations.bash and translation notes to README. 485213700Smm 486213700Smm translations.bash prints some messages from xz, which 487213700Smm hopefully makes it a bit easier to test translations. 488213700Smm 489213700Smmcommit a3c5997c57e5b1a20aae6d1071b584b4f17d0b23 490213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 491213700SmmDate: Fri Sep 17 22:14:30 2010 +0300 492213700Smm 493213700Smm xz: Update the Czech translation. 494213700Smm 495213700Smm Thanks to Marek ��ernock��. 496213700Smm 497213700Smmcommit a1766af582dc23fddd9da1eeb4b9d61e3eb4c2e6 498213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 499213700SmmDate: Thu Sep 16 23:40:41 2010 +0300 500213700Smm 501213700Smm xz: Add Italian translation. 502213700Smm 503213700Smm Thanks to Milo Casagrande and Lorenzo De Liso. 504213700Smm 505213700Smmcommit 21088018554e2b0e02914205377ceb6e34a090bd 506213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 507213700SmmDate: Wed Sep 15 00:34:13 2010 +0300 508213700Smm 509213700Smm xz: Edit a translators comment. 510213700Smm 511213700Smmcommit be16e28ece1b492b8f93382b7fa1cc4da23c6ff6 512213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 513213700SmmDate: Tue Sep 14 22:47:14 2010 +0300 514213700Smm 515213700Smm xz: Add German translation. 516213700Smm 517213700Smm Thanks to Andre Noll. 518213700Smm 519213700Smmcommit e23ea74f3240e6b69683f9e69d1716e0f9e9092b 520213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 521213700SmmDate: Fri Sep 10 14:30:25 2010 +0300 522213700Smm 523213700Smm Updated README. 524213700Smm 525213700Smmcommit 8dad2fd69336985adb9f774fa96dc9c0efcb5a71 526213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 527213700SmmDate: Fri Sep 10 14:30:07 2010 +0300 528213700Smm 529213700Smm Updated INSTALL. 530213700Smm 531213700Smmcommit 0b5f07fe3728c27cce416ddc40f7e4803ae96ac2 532213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 533213700SmmDate: Fri Sep 10 14:26:20 2010 +0300 534213700Smm 535213700Smm Updated the git repository address in ChangeLog. 536213700Smm 537213700Smmcommit a8760203f93a69bc39fd14520a6e9e7b7d70be06 538213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 539213700SmmDate: Fri Sep 10 14:09:33 2010 +0300 540213700Smm 541213700Smm xz: Add a comment to translators about "literal context bits". 542213700Smm 543213700Smmcommit bb0b1004f83cdc4d309e1471c2ecaf9f95ce60c5 544213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 545213700SmmDate: Fri Sep 10 10:30:33 2010 +0300 546213700Smm 547213700Smm xz: Multiple fixes. 548213700Smm 549213700Smm The code assumed that printing numbers with thousand separators 550213700Smm and decimal points would always produce only US-ASCII characters. 551213700Smm This was used for buffer sizes (with snprintf(), no overflows) 552213700Smm and aligning columns of the progress indicator and --list. That 553213700Smm assumption was wrong (e.g. LC_ALL=fi_FI.UTF-8 with glibc), so 554213700Smm multibyte character support was added in this commit. The old 555213700Smm way is used if the operating system doesn't have enough multibyte 556213700Smm support (e.g. lacks wcwidth()). 557213700Smm 558213700Smm The sizes of buffers were increased to accomodate multibyte 559213700Smm characters. I don't know how big they should be exactly, but 560213700Smm they aren't used for anything critical, so it's not too bad. 561213700Smm If they still aren't big enough, I hopefully get a bug report. 562213700Smm snprintf() takes care of avoiding buffer overflows. 563213700Smm 564213700Smm Some static buffers were replaced with buffers allocated on 565213700Smm stack. double_to_str() was removed. uint64_to_str() and 566213700Smm uint64_to_nicestr() now share the static buffer and test 567213700Smm for thousand separator support. 568213700Smm 569213700Smm Integrity check names "None" and "Unknown-N" (2 <= N <= 15) 570213700Smm were marked to be translated. I had forgot these, plus they 571213700Smm wouldn't have worked correctly anyway before this commit, 572213700Smm because printing tables with multibyte strings didn't work. 573213700Smm 574213700Smm Thanks to Marek ��ernock�� for reporting the bug about 575213700Smm misaligned table columns in --list output. 576213700Smm 577213700Smmcommit 639f8e2af33cf8a184d59ba56b6df7c098679d61 578213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 579213700SmmDate: Wed Sep 8 08:49:22 2010 +0300 580213700Smm 581213700Smm Update the Czech translation. 582213700Smm 583213700Smm Thanks to Marek ��ernock��. 584213700Smm 585213700Smmcommit 41bc9956ebfd7c86777d33676acf34c45e7ca7c7 586213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 587213700SmmDate: Tue Sep 7 12:31:40 2010 +0300 588213700Smm 589213700Smm xz: Add a note to translators. 590213700Smm 591213700Smmcommit 77a7746616e555fc08028e883a56d06bf0088b81 592213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 593213700SmmDate: Tue Sep 7 10:42:13 2010 +0300 594213700Smm 595213700Smm Fix use of N_() and ngettext(). 596213700Smm 597213700Smm I had somehow thought that N_() is usually used 598213700Smm as shorthand for ngettext(). 599213700Smm 600213700Smm This also fixes a missing \n from a call to ngettext(). 601213700Smm 602213700Smmcommit e6ad39335842343e622ab51207d1d3cb9caad801 603213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 604213700SmmDate: Mon Sep 6 19:43:12 2010 +0300 605213700Smm 606213700Smm Add missing files to POTFILES.in. 607213700Smm 608213700Smmcommit 58f55131820d2e08a1a6beb9ec0ee2378044eb30 609213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 610213700SmmDate: Mon Sep 6 10:16:24 2010 +0300 611213700Smm 612213700Smm xz: Improve a comment. 613213700Smm 614213700Smmcommit bcb1b898341f7073f51660d7052d7ed6c5461a66 615213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 616213700SmmDate: Sun Sep 5 21:34:29 2010 +0300 617213700Smm 618213700Smm xz: Update the comment about NetBSD in file_io.c. 619213700Smm 620213700Smm Thanks to Joerg Sonnenberger. 621213700Smm 622213700Smmcommit da014d55972f5addbf6b4360d3d8ed2ef4282170 623213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 624213700SmmDate: Sun Sep 5 21:11:33 2010 +0300 625213700Smm 626213700Smm xz: Use an array instead of pointer for stdin_filename. 627213700Smm 628213700Smm Thanks Joerg Sonnenberger. 629213700Smm 630213700Smmcommit 8c7d3d1a0781c296c6b6e2465becaffd2132f7ee 631213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 632213700SmmDate: Sun Sep 5 12:16:17 2010 +0300 633213700Smm 634213700Smm xz: Hopefully ease translating the messages in list.c. 635213700Smm 636213700Smmcommit ef840950ad99cf2955c754875af0e01acf125079 637213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 638213700SmmDate: Sat Sep 4 23:14:44 2010 +0300 639213700Smm 640213700Smm xz: Fix grammar. 641213700Smm 642213700Smmcommit c46afd6edc04ea140db6c59e8486f5707c810c13 643213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 644213700SmmDate: Sat Sep 4 23:12:20 2010 +0300 645213700Smm 646213700Smm xz: Use lzma_lzma_preset() to initialize the options structure. 647213700Smm 648213700Smmcommit 8fd3ac046d0b1416a2094fecc456d9e0f4d5d065 649213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 650213700SmmDate: Sat Sep 4 22:16:28 2010 +0300 651213700Smm 652213700Smm Don't set lc=4 with --extreme. 653213700Smm 654213700Smm This should reduce the cases where --extreme makes 655213700Smm compression worse. On the other hand, some other 656213700Smm files may now benefit slightly less from --extreme. 657213700Smm 658213700Smmcommit 474bac0c33e94aeaca8ada17ab19972b1424bc2b 659213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 660213700SmmDate: Sat Sep 4 22:10:32 2010 +0300 661213700Smm 662213700Smm xz: Minor improvements to --help and --long-help. 663213700Smm 664213700Smmcommit 373ee26f955617295c5c537b04a153a1969140d2 665213700SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 666213700SmmDate: Fri Sep 3 16:49:15 2010 -0500 667213700Smm 668213700Smm Adjust memory limits in test_compress.sh 669213700Smm 670213700Smm Testing compression at level -4 now requires 48 MiB of free store at 671213700Smm compression time and 5 MiB at decompression time. 672213700Smm 673213700Smm Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 674213700Smm 675213700Smmcommit 2fce9312f36727ea82f3430cc5d3a7d243c5f087 676213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 677213700SmmDate: Fri Sep 3 15:54:40 2010 +0300 678213700Smm 679213700Smm xz: Make -vv show also decompressor memory usage. 680213700Smm 681213700Smmcommit b4b1cbcb53624ab832f8b3189c74450dc7ea29b6 682213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 683213700SmmDate: Fri Sep 3 15:13:12 2010 +0300 684213700Smm 685213700Smm Tweak the compression presets -0 .. -5. 686213700Smm 687213700Smm "Extreme" mode might need some further tweaking still. 688213700Smm Docs were not updated yet. 689213700Smm 690213700Smmcommit 77fe5954cd3d10fb1837372684cbc133b56b6a87 691213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 692213700SmmDate: Fri Sep 3 12:28:41 2010 +0300 693213700Smm 694213700Smm liblzma: Adjust default depth calculation for HC3 and HC4. 695213700Smm 696213700Smm It was 8 + nice_len / 4, now it is 4 + nice_len / 4. 697213700Smm This allows faster settings at lower nice_len values, 698213700Smm even though it seems that I won't use automatic depth 699213700Smm calcuation with HC3 and HC4 in the presets. 700213700Smm 701213700Smmcommit fce69059cf901ce8075a78c7607d591f144a3b5a 702213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 703213700SmmDate: Fri Sep 3 11:11:25 2010 +0300 704213700Smm 705213700Smm xz: Make --help two lines shorter. 706213700Smm 707213700Smm At least for now, the --help option doesn't list any 708213700Smm options that take arguments, so "Mandatory arguments to..." 709213700Smm can be omitted. 710213700Smm 711213700Smmcommit a848e47ced6e5e2a564b5c454b2f5a19c2f40298 712213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 713213700SmmDate: Thu Sep 2 19:22:35 2010 +0300 714213700Smm 715213700Smm xz: Make setting a preset override a custom filter chain. 716213700Smm 717213700Smm This is more logical behavior than ignoring preset level 718213700Smm options once a custom filter chain has been specified. 719213700Smm 720213700Smmcommit b3ff7ba044eaeab3e424d7b51fe914daf681b1a3 721213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 722213700SmmDate: Thu Sep 2 19:09:57 2010 +0300 723213700Smm 724213700Smm xz: Always warn if adjusting dictionary size due to memlimit. 725213700Smm 726213700Smmcommit d5653ba8a1ea9c00de4fddc617aba3c51e18139d 727213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 728213700SmmDate: Tue Aug 10 11:04:30 2010 +0300 729213700Smm 730213700Smm Fix test_compress.sh. 731213700Smm 732213700Smm It broke when --memory option was removed from xzdec. 733213700Smm 734213700Smm Thanks to Jonathan Nieder. 735213700Smm 736213700Smmcommit 792331bdee706aa852a78b171040ebf814c6f3ae 737213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 738213700SmmDate: Sat Aug 7 20:45:18 2010 +0300 739213700Smm 740213700Smm Disable the memory usage limiter by default. 741213700Smm 742213700Smm For several people, the limiter causes bigger problems that 743213700Smm it solves, so it is better to have it disabled by default. 744213700Smm Those who want to have a limiter by default need to enable 745213700Smm it via the environment variable XZ_DEFAULTS. 746213700Smm 747213700Smm Support for environment variable XZ_DEFAULTS was added. It is 748213700Smm parsed before XZ_OPT and technically identical with it. The 749213700Smm intended uses differ quite a bit though; see the man page. 750213700Smm 751213700Smm The memory usage limit can now be set separately for 752213700Smm compression and decompression using --memlimit-compress and 753213700Smm --memlimit-decompress. To set both at once, -M or --memlimit 754213700Smm can be used. --memory was retained as a legacy alias for 755213700Smm --memlimit for backwards compatibility. 756213700Smm 757213700Smm The semantics of --info-memory were changed in backwards 758213700Smm incompatible way. Compatibility wasn't meaningful due to 759213700Smm changes in the memory usage limiter functionality. 760213700Smm 761213700Smm The memory usage limiter info is no longer shown at the 762213700Smm bottom of xz --long -help. 763213700Smm 764213700Smm The memory usage limiter support for removed completely from xzdec. 765213700Smm 766213700Smm xz's man page was updated to match the above changes. Various 767213700Smm unrelated fixes were also made to the man page. 768213700Smm 769213700Smmcommit 4a45dd4c39f75d25c7a37b6400cb24d4010ca801 770213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 771213700SmmDate: Fri Aug 6 20:22:16 2010 +0300 772213700Smm 773213700Smm Add missing const to a global constant in xz. 774213700Smm 775213700Smmcommit 01aa4869cb220b7fdad6d1acbabb2233045daa8f 776213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 777213700SmmDate: Wed Jul 28 11:44:55 2010 +0300 778213700Smm 779213700Smm Language fixes for man pages. 780213700Smm 781213700Smm Thanks to A. Costa and Jonathan Nieder. 782213700Smm 783213700Smmcommit ce1f0deafe8504e1492bf1b1efb3e3ec950b1a2b 784213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 785213700SmmDate: Tue Jul 27 20:47:12 2010 +0300 786213700Smm 787213700Smm Windows: Add a note about building a Git repository snapshot 788213700Smm 789213700Smmcommit 507a4a4dea1e5462f12f7ed4b076c34e02054a38 790213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 791213700SmmDate: Tue Jul 27 20:45:03 2010 +0300 792213700Smm 793213700Smm Windows: build.sh is a bash script so name it correctly. 794213700Smm 795213700Smmcommit b1cbfd40f049a646a639eb78a3e41e9e3ef73339 796213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 797213700SmmDate: Tue Jul 27 20:27:32 2010 +0300 798213700Smm 799213700Smm Windows: Don't strip liblzma.a too much. 800213700Smm 801213700Smmcommit a540198ffb25fad36380c5e92ac20c2d28eec46a 802213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 803213700SmmDate: Tue Jul 13 20:07:26 2010 +0300 804213700Smm 805213700Smm Updated THANKS. 806213700Smm 807213700Smmcommit bab0f01ed931f606b4675aa9f9331a17cec09bad 808213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 809213700SmmDate: Tue Jul 13 19:55:50 2010 +0300 810213700Smm 811213700Smm Add two simple example programs. 812213700Smm 813213700Smm Hopefully these help a bit when learning the basics 814213700Smm of liblzma API. I plan to write detailed examples about 815213700Smm both basic and advanced features with lots of comments, 816213700Smm but these two examples are good have right now. 817213700Smm 818213700Smm The examples were written by Daniel Mealha Cabrita. Thanks. 819213700Smm 820213700Smmcommit c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00 821213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 822213700SmmDate: Tue Jun 15 14:06:29 2010 +0300 823213700Smm 824213700Smm Add --no-adjust. 825213700Smm 826213700Smmcommit 2130926dd1c839280358172dfadd8d3054bde2b4 827213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 828213700SmmDate: Fri Jun 11 21:51:32 2010 +0300 829213700Smm 830213700Smm Updated THANKS. 831213700Smm 832213700Smmcommit bc612d0e0c9e4504c59d49168e87a7ae3e458443 833213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 834213700SmmDate: Fri Jun 11 21:48:32 2010 +0300 835213700Smm 836213700Smm Clarify the description of the default memlimit in the man page. 837213700Smm 838213700Smm Thanks to Denis Excoffier. 839213700Smm 840213700Smmcommit e1b6935d60a00405e6b5b455a3426d2248cc926c 841213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 842213700SmmDate: Fri Jun 11 21:43:28 2010 +0300 843213700Smm 844213700Smm Fix string to uint64_t conversion. 845213700Smm 846213700Smm Thanks to Denis Excoffier for the bug report. 847213700Smm 848213700Smmcommit 3e49c8acb0f5312948eddb2342dbb5802d4571d0 849213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 850213700SmmDate: Fri Jun 11 10:40:28 2010 +0300 851213700Smm 852213700Smm Put the git commit to the filename in mydist rule. 853213700Smm 854213700Smmcommit d8b41eedce486d400f701b757b7b5e4e32276618 855213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 856213700SmmDate: Wed Jun 2 23:13:55 2010 +0300 857213700Smm 858213700Smm Fix compiling with -Werror. 859213700Smm 860213700Smmcommit b5fbab6123a39c9a55cd5d7af410e9aae067d5f8 861213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 862213700SmmDate: Wed Jun 2 23:09:22 2010 +0300 863213700Smm 864213700Smm Silence a bogus Valgrind warning. 865213700Smm 866213700Smm When using -O2 with GCC, it liked to swap two comparisons 867213700Smm in one "if" statement. It's otherwise fine except that 868213700Smm the latter part, which is seemingly never executed, got 869213700Smm executed (nothing wrong with that) and then triggered 870213700Smm warning in Valgrind about conditional jump depending on 871213700Smm uninitialized variable. A few people find this annoying 872213700Smm so do things a bit differently to avoid the warning. 873213700Smm 874213700Smmcommit 29a7b250e685852f2f97615493ec49acaf528623 875213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 876213700SmmDate: Wed Jun 2 21:32:12 2010 +0300 877213700Smm 878213700Smm Fix a Windows-specific FIXME in signal handling code. 879213700Smm 880213700Smmcommit e89d987056cee7d4e279be3ef3a6cc690bfc0e6d 881213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 882213700SmmDate: Wed Jun 2 17:46:58 2010 +0300 883213700Smm 884213700Smm Adjust SA_RESTART workaround. 885213700Smm 886213700Smm I want to get a bug report if something else than 887213700Smm DJGPP lacks SA_RESTART. 888213700Smm 889213700Smmcommit e243145c84ab5c3be8259fd486ead0de5235b3f0 890213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 891213700SmmDate: Tue Jun 1 16:02:30 2010 +0300 892213700Smm 893213700Smm xz man page updates. 894213700Smm 895213700Smm - Concatenating .xz files and padding 896213700Smm - List mode 897213700Smm - Robot mode 898213700Smm - A few examples (but many more are needed) 899213700Smm 900213700Smmcommit ce6dc3c0a891f23a862f80ec08d3b6f0beb2a562 901213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 902213700SmmDate: Tue Jun 1 15:51:44 2010 +0300 903213700Smm 904213700Smm Major update to xz --list. 905213700Smm 906213700Smmcommit 905e54804a899e4ad526d38fdba7e803ab9b71bd 907213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 908213700SmmDate: Tue Jun 1 14:13:03 2010 +0300 909213700Smm 910213700Smm Rename message_filters_get() to message_filters_to_str(). 911213700Smm 912213700Smmcommit 4b346ae8af20045027ae5efb068c6d69da3324d2 913213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 914213700SmmDate: Tue Jun 1 14:09:12 2010 +0300 915213700Smm 916213700Smm Fix a comment. 917213700Smm 918213700Smmcommit 07dc34f6da45c9ab757dad7fd5eef522ad27d296 919213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 920213700SmmDate: Thu May 27 16:17:42 2010 +0300 921213700Smm 922213700Smm Fix lzma_block_compressed_size(). 923213700Smm 924213700Smmcommit 44d70cb154225e47eebf15a3cfbdf3794cbb4593 925213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 926213700SmmDate: Thu May 27 14:32:51 2010 +0300 927213700Smm 928213700Smm Take Cygwin into account in some #if lines. 929213700Smm 930213700Smm This change is no-op, but good to have just in case 931213700Smm for the future. 932213700Smm 933213700Smmcommit a334348dc02803241cf4e0a539eecdc0e7ad2cc7 934213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 935213700SmmDate: Thu May 27 13:42:44 2010 +0300 936213700Smm 937213700Smm Remove references to the Subblock filter in xz and tests. 938213700Smm 939213700Smm Thanks to Jonathan Nieder. 940213700Smm 941213700Smmcommit 70e5e2f6a7084e6af909deee88ceac2f6efa7893 942213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 943213700SmmDate: Thu May 27 13:35:36 2010 +0300 944213700Smm 945213700Smm Remove unused chunk_size.c. 946213700Smm 947213700Smm Thanks to Jonathan Nieder for the reminder. 948213700Smm 949213700Smmcommit 01a414eaf4be6352c06b48001b041b47e8202faa 950213700SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 951213700SmmDate: Thu May 27 02:31:33 2010 -0500 952213700Smm 953213700Smm Use my_min() instead of MIN() in src/xz/list.c 954213700Smm 955213700Smm This should have been done in 956213700Smm 920a69a8d8e4203c5edddd829d932130eac188ea. 957213700Smm 958213700Smmcommit 920a69a8d8e4203c5edddd829d932130eac188ea 959213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 960213700SmmDate: Wed May 26 10:36:46 2010 +0300 961213700Smm 962213700Smm Rename MIN() and MAX() to my_min() and my_max(). 963213700Smm 964213700Smm This should avoid some minor portability issues. 965213700Smm 966213700Smmcommit 019ae27c24d0c694545a6a46f8b9fb552198b015 967213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 968213700SmmDate: Wed May 26 10:30:20 2010 +0300 969213700Smm 970213700Smm Fix compilation of debug/known_sizes.c. 971213700Smm 972213700Smmcommit 98a4856a6ea84f79c790057a6eb89a25bc45b074 973213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 974213700SmmDate: Wed May 26 10:28:54 2010 +0300 975213700Smm 976213700Smm Remove references to Subblock filter in debug/sync_flush.c. 977213700Smm 978213700Smmcommit 703d2c33c095c41ae0693ee8c27c45e3847e4535 979213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 980213700SmmDate: Wed May 26 10:16:57 2010 +0300 981213700Smm 982213700Smm Better #error message. 983213700Smm 984213700Smmcommit d8a55c48b39703dd83f11089ad01e1ff2ac102e0 985213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 986213700SmmDate: Wed May 26 09:55:47 2010 +0300 987213700Smm 988213700Smm Remove the Subblock filter code for now. 989213700Smm 990213700Smm The spec isn't finished and the code didn't compile anymore. 991213700Smm It won't be included in XZ Utils 5.0.0. It's easy to get it 992213700Smm back once the spec is done. 993213700Smm 994213700Smmcommit b6377fc990f9b8651149cae0fecb8b9c5904e26d 995213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 996213700SmmDate: Sun May 16 18:42:22 2010 +0300 997213700Smm 998213700Smm Split message_filters(). 999213700Smm 1000213700Smm message_filters_to_str() converts the filter chain to 1001213700Smm a string. message_filters_show() replaces the original 1002213700Smm message_filters(). 1003213700Smm 1004213700Smm uint32_to_optstr() was also added to show the dictionary 1005213700Smm size in nicer format when possible. 1006213700Smm 1007213700Smmcommit d9986db782d6cf0f314342127280519339378fa0 1008213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1009213700SmmDate: Fri May 14 23:17:20 2010 +0300 1010213700Smm 1011213700Smm Omit lzma_restrict from the API headers. 1012213700Smm 1013213700Smm It isn't really useful so omitting it makes things 1014213700Smm shorter and slightly more readable. 1015213700Smm 1016213700Smmcommit 0d3489efca0a723dca0394809fa3e6170843af4b 1017213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1018213700SmmDate: Mon May 10 19:57:24 2010 +0300 1019213700Smm 1020213700Smm Updated INSTALL. 1021213700Smm 1022213700Smmcommit 3fb3d594a2b53886adee161b6261e92277f05f7c 1023213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1024213700SmmDate: Mon May 10 19:54:52 2010 +0300 1025213700Smm 1026213700Smm Updated THANKS. 1027213700Smm 1028213700Smmcommit 6548e304657e77d3a972053db3c41c5daf591113 1029213700SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1030213700SmmDate: Mon May 10 19:54:15 2010 +0300 1031213700Smm 1032213700Smm Updates to tuklib_physmem and tuklib_cpucores. 1033213700Smm 1034213700Smm Don't use #error to generate compile error, because some 1035213700Smm compilers actually don't take it as an error. This fixes 1036213700Smm tuklib_physmem on IRIX. 1037213700Smm 1038213700Smm Fix incorrect error check for sysconf() return values. 1039213700Smm 1040213700Smm Add AIX, HP-UX, and Tru64 specific code to detect the 1041213700Smm amount RAM. 1042213700Smm 1043213700Smm Add HP-UX specific code to detect the number of CPU cores. 1044213700Smm 1045213700Smm Thanks a lot to Peter O'Gorman for initial patches, 1046213700Smm testing, and debugging these fixes. 1047213700Smm 1048207753Smmcommit a290cfee3e23f046889c022aa96b4eca2016fdda 1049207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1050207753SmmDate: Mon Apr 12 21:55:56 2010 +0300 1051207753Smm 1052207753Smm Show both elapsed time and estimated remaining time in xz -v. 1053207753Smm 1054207753Smm The extra space for showing both has been taken from the 1055207753Smm sizes field. If the sizes grow big, bigger units than MiB 1056207753Smm will be used. It makes it slightly difficult to see that 1057207753Smm progress is still happening with huge files, but it should 1058207753Smm be OK in practice. 1059207753Smm 1060207753Smm Thanks to Trent W. Buck for <http://bugs.debian.org/574583> 1061207753Smm and Jonathan Nieder for suggestions how to fix it. 1062207753Smm 1063207753Smmcommit a1f7a986b8d708f9290da9799ca1b8d7082fad3e 1064207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1065207753SmmDate: Wed Mar 31 16:47:25 2010 +0300 1066207753Smm 1067207753Smm Add a simple tip to faq.txt about tar and xz. 1068207753Smm 1069207753Smm Thanks to Gilles Espinasse. 1070207753Smm 1071207753Smmcommit c737eec91d200d730aa82662affd6b06ebb0bff0 1072207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1073207753SmmDate: Mon Mar 22 21:03:03 2010 +0200 1074207753Smm 1075207753Smm Updated THANKS. 1076207753Smm 1077207753Smmcommit f4b2b52624b802c786e4e2a8eb6895794dd93b24 1078207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1079207753SmmDate: Sun Mar 7 19:52:25 2010 +0200 1080207753Smm 1081207753Smm Fix xzgrep to not break if filenames have spaces or quotes. 1082207753Smm 1083207753Smm Thanks to someone who reported the bug on IRC. 1084207753Smm 1085207753Smmcommit cf38da00a140bd3bd65b192390ae5553380fd774 1086207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1087207753SmmDate: Sun Mar 7 13:59:32 2010 +0200 1088207753Smm 1089207753Smm Treat all integer multiplier suffixes as base-2. 1090207753Smm 1091207753Smm Originally both base-2 and base-10 were supported, but since 1092207753Smm there seems to be little need for base-10 in XZ Utils, treat 1093207753Smm everything as base-2 and also be more relaxed about the case 1094207753Smm of the first letter of the suffix. Now xz will accept e.g. 1095207753Smm KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The 1096207753Smm recommended spelling of the suffixes are still KiB, MiB, and GiB. 1097207753Smm 1098207753Smmcommit 00fc1211ae7b687ac912098f4479112059deccbd 1099207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1100207753SmmDate: Sun Mar 7 13:50:23 2010 +0200 1101207753Smm 1102207753Smm Consistently round up the memory usage limit in messages. 1103207753Smm 1104207753Smm It still feels a bit wrong to round 1 byte to 1 MiB but 1105207753Smm at least it is now done consistently so that the same 1106207753Smm byte value is always rounded the same way to MiB. 1107207753Smm 1108207753Smmcommit 9886d436ff5615fc70eef32ff757b1e934069621 1109207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1110207753SmmDate: Sun Mar 7 13:34:34 2010 +0200 1111207753Smm 1112207753Smm Change the default of --enable-assume-ram from 32 to 128 MiB. 1113207753Smm 1114207753Smm This is to allow files created with "xz -9" to be decompressed 1115207753Smm if the amount of RAM cannot be determined. 1116207753Smm 1117207753Smmcommit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418 1118207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1119207753SmmDate: Sun Mar 7 13:29:28 2010 +0200 1120207753Smm 1121207753Smm Increase the default memory usage limit on "low-memory" systems. 1122207753Smm 1123207753Smm Previously the default limit was always 40 % of RAM. The 1124207753Smm new limit is a little bit more complex: 1125207753Smm 1126207753Smm - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used 1127207753Smm as the limit. 1128207753Smm 1129207753Smm - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit. 1130207753Smm 1131207753Smm - Otherwise 80 % of RAM is used as the limit. 1132207753Smm 1133207753Smm This should make it possible to decompress files created with 1134207753Smm "xz -9" on more systems. Swapping is generally more expected 1135207753Smm on systems with less RAM, so higher default limit on them 1136207753Smm shouldn't cause too bad surprises in terms of heavy swapping. 1137207753Smm Instead, the higher default limit should reduce the number of 1138207753Smm bad surprises when it used to prevent decompression of files 1139207753Smm created with "xz -9". The DoS prevention system shouldn't be 1140207753Smm a DoS itself. 1141207753Smm 1142207753Smm Note that even with the new default limit, a system with 64 MiB 1143207753Smm RAM cannot decompress files created with "xz -9" without user 1144207753Smm overriding the limit. This should be OK, because if xz is going 1145207753Smm to need more memory than the system has RAM, it will run very 1146207753Smm very slowly and thus it's good that user has to override the limit 1147207753Smm in that case. 1148207753Smm 1149207753Smmcommit 5527b7269a997e7f335d60f237a64bbf225d9dc7 1150207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1151207753SmmDate: Sat Mar 6 21:36:19 2010 +0200 1152207753Smm 1153207753Smm Updated THANKS. 1154207753Smm 1155207753Smmcommit d0d1c51aea4351288a7e533cce28cb7f852f6b05 1156207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1157207753SmmDate: Sat Mar 6 21:17:20 2010 +0200 1158207753Smm 1159207753Smm Fix missing initialization in lzma_strm_init(). 1160207753Smm 1161207753Smm With bad luck, lzma_code() could return LZMA_BUF_ERROR 1162207753Smm when it shouldn't. 1163207753Smm 1164207753Smm This has been here since the early days of liblzma. 1165207753Smm It got triggered by the modifications made to the xz 1166207753Smm tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f 1167207753Smm but only when decompressing .lzma files. Somehow I managed 1168207753Smm to miss testing that with Valgrind earlier. 1169207753Smm 1170207753Smm This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>. 1171207753Smm Thanks to Rafa�� Mu��y��o for helping to debug it on IRC. 1172207753Smm 1173207753Smmcommit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea 1174207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1175207753SmmDate: Fri Feb 12 13:16:15 2010 +0200 1176207753Smm 1177207753Smm Collection of language fixes to comments and docs. 1178207753Smm 1179207753Smm Thanks to Jonathan Nieder. 1180207753Smm 1181207753Smmcommit 4785f2021aa6a23f1caf724fcc823e562584f225 1182207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1183207753SmmDate: Fri Feb 12 12:41:20 2010 +0200 1184207753Smm 1185207753Smm Fix jl -> jb in ASM files. 1186207753Smm 1187207753Smmcommit 6b50c9429bf85521d355adc61745d06ee017f8c8 1188207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1189207753SmmDate: Fri Feb 12 12:31:22 2010 +0200 1190207753Smm 1191207753Smm Use __APPLE__ instead of __MACH__ in ASM files. 1192207753Smm 1193207753Smm This allows the files to work on HURD. 1194207753Smm 1195207753Smm Thanks to Jonathan Nieder. 1196207753Smm 1197207753Smmcommit 6503fde658a5cdbdd907a788865470dd64771601 1198207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1199207753SmmDate: Sun Feb 7 19:48:06 2010 +0200 1200207753Smm 1201207753Smm Subtle change to liblzma Block handling API. 1202207753Smm 1203207753Smm lzma_block.version has to be initialized even for 1204207753Smm lzma_block_header_decode(). This way a future version 1205207753Smm of liblzma won't allocate memory in a way that an old 1206207753Smm application doesn't know how to free it. 1207207753Smm 1208207753Smm The subtlety of this change is that all current apps 1209207753Smm using lzma_block_header_decode() will keep working for 1210207753Smm now, because the only possible version value is zero, 1211207753Smm and lzma_block_header_decode() unconditionally sets the 1212207753Smm version to zero even now. Unless fixed, these apps will 1213207753Smm break in the future if a new version of the Block options 1214207753Smm is ever needed. 1215207753Smm 1216207753Smmcommit dd7c3841ff78cb94ce02b0220c6e4748460970f7 1217207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1218207753SmmDate: Tue Feb 2 11:50:11 2010 +0200 1219207753Smm 1220207753Smm Fix wrong assertion. 1221207753Smm 1222207753Smm This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735. 1223207753Smm 1224207753Smmcommit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be 1225207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1226207753SmmDate: Mon Feb 1 22:48:42 2010 +0200 1227207753Smm 1228207753Smm Updated TODO. 1229207753Smm 1230207753Smmcommit fef6333f52c8801308c3b78acb7942988541d137 1231207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1232207753SmmDate: Mon Feb 1 22:47:54 2010 +0200 1233207753Smm 1234207753Smm Fix typos in comments. 1235207753Smm 1236207753Smmcommit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735 1237207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1238207753SmmDate: Mon Feb 1 22:46:56 2010 +0200 1239207753Smm 1240207753Smm Fix signal handling for --list. 1241207753Smm 1242207753Smmcommit 82220a149015616f75641ee8bbea415137535b9b 1243207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1244207753SmmDate: Mon Feb 1 11:44:45 2010 +0200 1245207753Smm 1246207753Smm Fix compression of symlinks with --force. 1247207753Smm 1248207753Smm xz --force accepted symlinks, but didn't remove 1249207753Smm them after successful compression. Instead, an error 1250207753Smm message was displayed. 1251207753Smm 1252207753Smmcommit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e 1253207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1254207753SmmDate: Mon Feb 1 10:20:57 2010 +0200 1255207753Smm 1256207753Smm Fix a comment. 1257207753Smm 1258207753Smmcommit f9dd797a423a148903cf345b4146cb1fe1eab11d 1259207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1260207753SmmDate: Sun Jan 31 23:43:54 2010 +0200 1261207753Smm 1262207753Smm Updated THANKS. 1263207753Smm 1264207753Smmcommit ee5ddb8b28419fe4923ded5c18a50570a762dcab 1265207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1266207753SmmDate: Sun Jan 31 23:41:29 2010 +0200 1267207753Smm 1268207753Smm Updated TODO. 1269207753Smm 1270207753Smmcommit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6 1271207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1272207753SmmDate: Sun Jan 31 23:35:04 2010 +0200 1273207753Smm 1274207753Smm Mention TODO in README. 1275207753Smm 1276207753Smmcommit 2901a8e7e82af05675b8cd8758a8ceddb111359f 1277207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1278207753SmmDate: Sun Jan 31 23:31:14 2010 +0200 1279207753Smm 1280207753Smm Updated INSTALL. 1281207753Smm 1282207753Smmcommit 8884e16864ba53fb4b58623d7537d7ef30c28e11 1283207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1284207753SmmDate: Sun Jan 31 23:28:51 2010 +0200 1285207753Smm 1286207753Smm Revise the Windows build files. 1287207753Smm 1288207753Smm The old Makefile + config.h was deleted, because it 1289207753Smm becomes outdated too easily and building with the 1290207753Smm Autotools based build system works fine even on Windows. 1291207753Smm 1292207753Smm windows/build.sh hasn't got much testing, but it should 1293207753Smm work to build 32-bit x86 and x86-64 versions of XZ Utils 1294207753Smm using MSYS, MinGW or MinGW-w32, and MinGW-w64. 1295207753Smm 1296207753Smm windows/INSTALL-Windows.txt describes what packages are 1297207753Smm needed and how to install them. 1298207753Smm 1299207753Smm windows/README-Windows.txt is a readme file for the binary 1300207753Smm package that build.sh hopefully builds. 1301207753Smm 1302207753Smm There are no instructions about using Autotools for now, 1303207753Smm so those using a git snapshot may want to run 1304207753Smm "autoreconf -fi && ./configure && make mydist" on a UN*X 1305207753Smm box and then copy the resulting .tar.gz to a Windows. 1306207753Smm 1307207753Smmcommit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c 1308207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1309207753SmmDate: Sun Jan 31 19:52:38 2010 +0200 1310207753Smm 1311207753Smm Select the default integrity check type at runtime. 1312207753Smm 1313207753Smm Previously it was set statically to CRC64 or CRC32 1314207753Smm depending on options passed to the configure script. 1315207753Smm 1316207753Smmcommit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1 1317207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1318207753SmmDate: Sun Jan 31 18:17:50 2010 +0200 1319207753Smm 1320207753Smm Improve displaying of the memory usage limit. 1321207753Smm 1322207753Smmcommit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2 1323207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1324207753SmmDate: Sun Jan 31 12:53:56 2010 +0200 1325207753Smm 1326207753Smm Don't use uninitialized sigset_t. 1327207753Smm 1328207753Smm If signal handlers haven't been established, then it's 1329207753Smm useless to try to block them, especially since the sigset_t 1330207753Smm used for blocking hasn't been initialized yet. 1331207753Smm 1332207753Smmcommit 231c3c7098f1099a56abb8afece76fc9b8699f05 1333207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1334207753SmmDate: Sun Jan 31 12:01:54 2010 +0200 1335207753Smm 1336207753Smm Delay opening the destionation file and other fixes. 1337207753Smm 1338207753Smm The opening of the destination file is now delayed a little. 1339207753Smm The coder is initialized, and if decompressing, the memory 1340207753Smm usage of the first Block compared against the memory 1341207753Smm usage limit before the destination file is opened. This 1342207753Smm means that if --force was used, the old "target" file won't 1343207753Smm be deleted so easily when something goes wrong very early. 1344207753Smm Thanks to Mark K for the bug report. 1345207753Smm 1346207753Smm The above fix required some changes to progress message 1347207753Smm handling. Now there is a separate function for setting and 1348207753Smm printing the filename. It is used also in list.c. 1349207753Smm 1350207753Smm list_file() now handles stdin correctly (gives an error). 1351207753Smm 1352207753Smm A useless check for user_abort was removed from file_io.c. 1353207753Smm 1354207753Smmcommit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105 1355207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1356207753SmmDate: Fri Jan 29 22:48:04 2010 +0200 1357207753Smm 1358207753Smm Add list.h to src/xz/Makefile.am. 1359207753Smm 1360207753Smm This should have been already in 1361207753Smm 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1. 1362207753Smm 1363207753Smmcommit b4b1a56e0cbd597157858264f5c7189201ac9018 1364207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1365207753SmmDate: Fri Jan 29 13:24:27 2010 +0200 1366207753Smm 1367207753Smm Add lzmainfo.1 to manfiles list to convert to .txt and .pdf. 1368207753Smm 1369207753Smmcommit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 1370207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1371207753SmmDate: Wed Jan 27 16:42:11 2010 +0200 1372207753Smm 1373207753Smm Silence two compiler warnings on DOS-like systems. 1374207753Smm 1375207753Smmcommit b063cc34a30a4edf109343ff373b2b62b8ca72d3 1376207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1377207753SmmDate: Wed Jan 27 13:31:03 2010 +0200 1378207753Smm 1379207753Smm Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 1380207753Smm 1381207753Smmcommit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f 1382207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1383207753SmmDate: Tue Jan 26 23:37:46 2010 +0200 1384207753Smm 1385207753Smm Add a missing space to an error message. 1386207753Smm 1387207753Smm Thanks to Robert Readman. 1388207753Smm 1389207753Smmcommit e5496f9628ff5979392a80421d0b63a4de8015b4 1390207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1391207753SmmDate: Tue Jan 26 22:53:37 2010 +0200 1392207753Smm 1393207753Smm Use past tense in error message in io_unlink(). 1394207753Smm 1395207753Smm Added a note to translators too. 1396207753Smm 1397207753Smm Thanks to Robert Readman. 1398207753Smm 1399207753Smmcommit d9a9800597ea540090e434132c3b511217df0a2b 1400207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1401207753SmmDate: Tue Jan 26 15:42:24 2010 +0200 1402207753Smm 1403207753Smm Fix too small static buffer in util.c. 1404207753Smm 1405207753Smm This was introduced in 1406207753Smm 0dd6d007669b946543ca939a44243833c79e08f4 two days ago. 1407207753Smm 1408207753Smmcommit d0b4bbf5da068503c099cd456e294d7673548cc0 1409207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1410207753SmmDate: Tue Jan 26 14:46:43 2010 +0200 1411207753Smm 1412207753Smm Minor comment fix. 1413207753Smm 1414207753Smmcommit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1 1415207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1416207753SmmDate: Sun Jan 24 23:50:54 2010 +0200 1417207753Smm 1418207753Smm Add initial version of xz --list. 1419207753Smm 1420207753Smm This is a bit rough but should be useful for basic things. 1421207753Smm Ideas (with detailed examples) about the output format are 1422207753Smm welcome. 1423207753Smm 1424207753Smm The output of --robot --list is not necessarily stable yet, 1425207753Smm although I don't currently have any plans about changing it. 1426207753Smm 1427207753Smm The man page hasn't been updated yet. 1428207753Smm 1429207753Smmcommit df254ce03be016e217b511e7acd5d493f9929ca5 1430207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1431207753SmmDate: Sun Jan 24 22:46:11 2010 +0200 1432207753Smm 1433207753Smm Add io_pread(). 1434207753Smm 1435207753Smm It will be used by --list. 1436207753Smm 1437207753Smmcommit ef68dd4a92976276304de2aedfbe34ae91a86abb 1438207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1439207753SmmDate: Sun Jan 24 22:45:14 2010 +0200 1440207753Smm 1441207753Smm Set LC_NUMERIC=C when --robot is used. 1442207753Smm 1443207753Smm It is to ensure that floating point numbers 1444207753Smm will always have a dot as the decimal separator. 1445207753Smm 1446207753Smmcommit 0dd6d007669b946543ca939a44243833c79e08f4 1447207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1448207753SmmDate: Sun Jan 24 16:57:40 2010 +0200 1449207753Smm 1450207753Smm Some improvements to printing sizes in xz. 1451207753Smm 1452207753Smmcommit 2a98fdffd68c66371279c211c29153c808ad5c1d 1453207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1454207753SmmDate: Wed Jan 20 22:02:35 2010 +0200 1455207753Smm 1456207753Smm Fix a typo in README. 1457207753Smm 1458207753Smm Thanks to R. Bijker. 1459207753Smm 1460207753Smmcommit 07a11dad44e041b01dcfc73e8d4e00731158c06d 1461207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1462207753SmmDate: Sun Jan 17 11:59:54 2010 +0200 1463207753Smm 1464207753Smm Updated windows/Makefile. 1465207753Smm 1466207753Smm Thanks to Dan Shechter for the patch. 1467207753Smm 1468207753Smm It is likely that windows/Makefile will be removed 1469207753Smm completely, because Autotols based build nowadays 1470207753Smm works well with both 32-bit and 64-bit MinGW (I 1471207753Smm just need to update the docs). 1472207753Smm 1473207753Smmcommit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3 1474207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1475207753SmmDate: Fri Jan 15 11:05:11 2010 +0200 1476207753Smm 1477207753Smm Update the xz man page to match the previous two commits. 1478207753Smm 1479207753Smmcommit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7 1480207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1481207753SmmDate: Wed Jan 13 19:10:25 2010 +0200 1482207753Smm 1483207753Smm Don't read compressed data from a terminal or write it 1484207753Smm to a terminal even if --force is specified. 1485207753Smm 1486207753Smm It just seems more reasonable this way. 1487207753Smm 1488207753Smm The new behavior matches bzip2. The old one matched gzip. 1489207753Smm 1490207753Smmcommit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4 1491207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1492207753SmmDate: Wed Jan 13 18:12:40 2010 +0200 1493207753Smm 1494207753Smm Don't compress or decompress special files unless writing 1495207753Smm to stdout even if --force is used. 1496207753Smm 1497207753Smm --force will still enable compression of symlinks, but only 1498207753Smm in case they point to a regular file. 1499207753Smm 1500207753Smm The new way simply seems more reasonable. It matches gzip's 1501207753Smm behavior while the old one matched bzip2's behavior. 1502207753Smm 1503207753Smmcommit cee12aa852ec0902983dc1f153346ef750157fb9 1504207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1505207753SmmDate: Tue Jan 12 16:30:33 2010 +0200 1506207753Smm 1507207753Smm Updated THANKS. 1508207753Smm 1509207753Smmcommit 153c7740c54b3c90129dbd3d6153ac1303c4d605 1510207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1511207753SmmDate: Tue Jan 12 16:18:14 2010 +0200 1512207753Smm 1513207753Smm Add IRIX-specific code to tuklib_physmem and tuklib_cpucores. 1514207753Smm 1515207753Smm This is untested but it will get tested soon and, if needed, 1516207753Smm fixed before 5.0.0. 1517207753Smm 1518207753Smm Thanks to Stuart Shelton. 1519207753Smm 1520207753Smmcommit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1 1521207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1522207753SmmDate: Fri Jan 1 00:29:10 2010 +0200 1523207753Smm 1524207753Smm Fix _memconfig() functions. 1525207753Smm 1526207753Smm This affects lzma_memusage() and lzma_memlimit_get(). 1527207753Smm 1528207753Smmcommit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691 1529207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1530207753SmmDate: Thu Dec 31 22:45:53 2009 +0200 1531207753Smm 1532207753Smm Revised the Index handling code. 1533207753Smm 1534207753Smm This breaks API and ABI but most apps are not affected 1535207753Smm since most apps don't use this part of the API. You will 1536207753Smm get a compile error if you are using anything that got 1537207753Smm broken. 1538207753Smm 1539207753Smm Summary of changes: 1540207753Smm 1541207753Smm - Ability to store Stream Flags, which are needed 1542207753Smm for random-access reading in multi-Stream files. 1543207753Smm 1544207753Smm - Separate function to set size of Stream Padding. 1545207753Smm 1546207753Smm - Iterator structure makes it possible to read the same 1547207753Smm lzma_index from multiple threads at the same time. 1548207753Smm 1549207753Smm - A lot faster code to locate Blocks. 1550207753Smm 1551207753Smm - Removed lzma_index_equal() without adding anything 1552207753Smm to replace it. I don't know what it should do exactly 1553207753Smm with the new features and what actually needs this 1554207753Smm function in the first place other than test_index.c, 1555207753Smm which now has its own code to compare lzma_indexes. 1556207753Smm 1557207753Smmcommit f29997a846e673cb3b8cbd57de47ed313b3978bb 1558207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1559207753SmmDate: Thu Dec 31 21:13:25 2009 +0200 1560207753Smm 1561207753Smm Remove c-format tag in cs.po. 1562207753Smm 1563207753Smm It was fixed in the C code earlier. 1564207753Smm 1565207753Smmcommit 097bad000363e0bf29f8274ad2d7ab59f7dbf644 1566207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1567207753SmmDate: Thu Dec 31 21:11:05 2009 +0200 1568207753Smm 1569207753Smm Add missing lzma_nothrow in filter.h. 1570207753Smm 1571207753Smmcommit b56cb1fc31fa2381f92eefc040df85667048d626 1572207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1573207753SmmDate: Wed Dec 9 18:13:44 2009 +0200 1574207753Smm 1575207753Smm Remove redefinition of _(msgid) macro from lzmainfo.c. 1576207753Smm 1577207753Smmcommit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2 1578207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 1579207753SmmDate: Tue Dec 8 19:41:57 2009 -0600 1580207753Smm 1581207753Smm update po/.gitignore 1582207753Smm 1583207753Smm Since the *.gmo files are deleted by the maintainer-clean target, 1584207753Smm I assume they are not meant to be tracked. 1585207753Smm 1586207753Smm Also add the other files listed in the Makefile���s clean targets 1587207753Smm (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they 1588207753Smm are not accidentally tracked. Most of these are intermediate 1589207753Smm files that would not appear unless a build is interrupted or 1590207753Smm fails. 1591207753Smm 1592207753Smm Split the list of untracked files by origin to make it easier to 1593207753Smm tell if files are missing in the future. 1594207753Smm 1595207753Smm Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> 1596207753Smm 1597207753Smmcommit f7e44c6c11f630519072971b8b07a5729c096c36 1598207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1599207753SmmDate: Wed Dec 9 00:38:55 2009 +0200 1600207753Smm 1601207753Smm Always rely on GCC's auto-import on Windows. 1602207753Smm 1603207753Smm I understood that this is nicer, because then people 1604207753Smm don't need to worry about the LZMA_API_STATIC macro. 1605207753Smm 1606207753Smm Thanks to Charles Wilson and Keith Marshall. 1607207753Smm 1608207753Smmcommit 7b76a3e2336f25088957cba92b0dbd854d9caa3c 1609207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1610207753SmmDate: Mon Dec 7 21:46:53 2009 +0200 1611207753Smm 1612207753Smm Fix file_io.c on DOS-like systems. 1613207753Smm 1614207753Smm The problem was introduced when adding sparse file 1615207753Smm support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902. 1616207753Smm 1617207753Smm Thanks to Charles Wilson. 1618207753Smm 1619207753Smmcommit 0696f5d268362221380e039bad48a86e29067c6a 1620207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1621207753SmmDate: Mon Dec 7 20:54:21 2009 +0200 1622207753Smm 1623207753Smm Add Czech translation. 1624207753Smm 1625207753Smm Thanks to Marek ��ernock��. 1626207753Smm 1627207753Smm Other people planning to translate xz: Note that the 1628207753Smm messages are a little bit in flux still. Translations 1629207753Smm are still welcome, just be prepared to some extra work 1630207753Smm in case there are changes. 1631207753Smm 1632207753Smmcommit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5 1633207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1634207753SmmDate: Mon Dec 7 20:32:08 2009 +0200 1635207753Smm 1636207753Smm Add a note for translators to add a bug reporting address 1637207753Smm for translation bugs. 1638207753Smm 1639207753Smmcommit 6db1c35be9e1e364cdacff6878910e1b7aac2a37 1640207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1641207753SmmDate: Mon Dec 7 20:07:02 2009 +0200 1642207753Smm 1643207753Smm Prevent xgettext from taking one regular string as a C format string. 1644207753Smm 1645207753Smm Thanks to Marek ��ernock��. 1646207753Smm 1647207753Smmcommit e0c2776b6ffbd2b1900fde353aceac734edc93d7 1648207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1649207753SmmDate: Sat Nov 28 17:45:22 2009 +0200 1650207753Smm 1651207753Smm Remove duplicate code in io_open_dest(). 1652207753Smm 1653207753Smm Fix a missing _() in the error message too. 1654207753Smm 1655207753Smmcommit f057a33c6f7c5992389479f2d4feabf2900ba7ee 1656207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1657207753SmmDate: Thu Nov 26 10:11:23 2009 +0200 1658207753Smm 1659207753Smm Typo fix to sysdefs.h. 1660207753Smm 1661207753Smm Thanks to Jonathan Nieder. 1662207753Smm 1663207753Smmcommit 8767b41534eafdf5e742e12190646bf5740b0cdb 1664207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1665207753SmmDate: Thu Nov 26 10:10:36 2009 +0200 1666207753Smm 1667207753Smm Fix a memory leak in test_index.c. 1668207753Smm 1669207753Smm This was introduced in 1670207753Smm bd13b04e202b6f495a68eb0766f97085b7c50a06. 1671207753Smm 1672207753Smm Thanks to Jim Meyering for noticing it. 1673207753Smm 1674207753Smmcommit 919fbaff860acdaa4bcd216500a0b1c960a6db92 1675207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1676207753SmmDate: Wed Nov 25 14:22:19 2009 +0200 1677207753Smm 1678207753Smm Add missing error check to coder.c. 1679207753Smm 1680207753Smm With bad luck this could cause a segfault due to 1681207753Smm reading (but not writing) past the end of the buffer. 1682207753Smm 1683207753Smmcommit bd13b04e202b6f495a68eb0766f97085b7c50a06 1684207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1685207753SmmDate: Wed Nov 25 13:04:10 2009 +0200 1686207753Smm 1687207753Smm Fix bugs in lzma_index_read() and lzma_index_cat(). 1688207753Smm 1689207753Smm lzma_index_read() didn't skip over Stream Padding 1690207753Smm if it was the first record in the Index. 1691207753Smm 1692207753Smm lzma_index_cat() didn't combine small Indexes correctly. 1693207753Smm 1694207753Smm The test suite was updated to check for these bugs. 1695207753Smm 1696207753Smm These bugs didn't affect the xz command line tool or 1697207753Smm most users of liblzma in any way. 1698207753Smm 1699207753Smmcommit 1f196909143b888e062bd9a0c4ba8c34d3019bfa 1700207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1701207753SmmDate: Wed Nov 25 12:52:56 2009 +0200 1702207753Smm 1703207753Smm Index decoder fixes. 1704207753Smm 1705207753Smm The Index decoder code didn't perfectly match the API docs, 1706207753Smm which said that *i will be set to point to the decoded Index 1707207753Smm only after decoding has succeeded. The docs were a bit unclear 1708207753Smm too. 1709207753Smm 1710207753Smm Now the decoder will initially set *i to NULL. *i will be set 1711207753Smm to point to the decoded Index once decoding has succeeded. 1712207753Smm This simplifies applications too, since it avoids dangling 1713207753Smm pointers. 1714207753Smm 1715207753Smmcommit 465d1b0d6518c5d980f2db4c2d769f9905bdd902 1716207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1717207753SmmDate: Wed Nov 25 11:19:20 2009 +0200 1718207753Smm 1719207753Smm Create sparse files by default when decompressing into 1720207753Smm a regular file. 1721207753Smm 1722207753Smm Sparse file creation can be disabled with --no-sparse. 1723207753Smm I don't promise yet that the name of this option won't 1724207753Smm change before 5.0.0. It's possible that the code, that 1725207753Smm checks when it is safe to use sparse output on stdout, 1726207753Smm is not good enough, and a more flexible command line 1727207753Smm option is needed to configure sparse file handling. 1728207753Smm 1729207753Smmcommit 37de544414fc2dc5039471d1002ebd015eb3e627 1730207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1731207753SmmDate: Sun Nov 22 12:43:06 2009 +0200 1732207753Smm 1733207753Smm Updated THANKS. 1734207753Smm 1735207753Smmcommit f1a28b96c900c658fe016852ff62f6c24d1f50fa 1736207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1737207753SmmDate: Sun Nov 22 12:05:33 2009 +0200 1738207753Smm 1739207753Smm Add missing consts to pointer casts. 1740207753Smm 1741207753Smmcommit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef 1742207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1743207753SmmDate: Sun Nov 22 12:00:30 2009 +0200 1744207753Smm 1745207753Smm Enable assembler code only if it is known to work 1746207753Smm on that operating system. 1747207753Smm 1748207753Smm I'm too lazy to think how to make a good Autoconf test 1749207753Smm for this and it's not that important anyway. 1750207753Smm 1751207753Smm No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64. 1752207753Smm Inline assembler (if any) is used if a macro like 1753207753Smm __i386__ or __x86_64__ is defined. 1754207753Smm 1755207753Smmcommit 0733f4c9994db696420a405810d5f02c79ebc404 1756207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1757207753SmmDate: Sun Nov 22 11:55:03 2009 +0200 1758207753Smm 1759207753Smm Make fastpos.h use tuklib_integer.h instead of bsr.h 1760207753Smm when --enable-small has been specified. 1761207753Smm 1762207753Smmcommit 7ac3985d891dcc5773543f84cc5bce6c14841b12 1763207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1764207753SmmDate: Sun Nov 22 11:52:30 2009 +0200 1765207753Smm 1766207753Smm Update tuklib_integer.h with bit scan functions. 1767207753Smm 1768207753Smm Thanks to Joachim Henke for the original patch. 1769207753Smm 1770207753Smmcommit c74c132f7f79a842c073c66575a4fdb985e4c2e3 1771207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1772207753SmmDate: Fri Nov 20 12:51:19 2009 +0200 1773207753Smm 1774207753Smm Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib, 1775207753Smm which now use AC_CACHE_CHECK. Using the cache variable, 1776207753Smm configure now warns if there is no method to detect the amount 1777207753Smm of RAM and recommends using --enable-assume-ram. 1778207753Smm 1779207753Smmcommit d315ca4930ff96e1428c6021c96f209e1abdd83e 1780207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1781207753SmmDate: Mon Nov 16 18:16:45 2009 +0200 1782207753Smm 1783207753Smm Add support for --info-memory and --robot to xz. 1784207753Smm 1785207753Smm Currently --robot works only with --info-memory and 1786207753Smm --version. --help and --long-help work too, but --robot 1787207753Smm has no effect on them. 1788207753Smm 1789207753Smm Thanks to Jonathan Nieder for the original patches. 1790207753Smm 1791207753Smmcommit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e 1792207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1793207753SmmDate: Sun Nov 15 12:54:45 2009 +0200 1794207753Smm 1795207753Smm Fix wrong indentation caused by incorrect settings 1796207753Smm in the text editor. 1797207753Smm 1798207753Smmcommit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 1799207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1800207753SmmDate: Sun Nov 15 12:40:17 2009 +0200 1801207753Smm 1802207753Smm Add lzma_physmem(). 1803207753Smm 1804207753Smm I had hoped to keep liblzma as purely a compression 1805207753Smm library as possible (e.g. file I/O will go into 1806207753Smm a different library), but it seems that applications 1807207753Smm linking agaisnt liblzma need some way to determine 1808207753Smm the memory usage limit, and knowing the amount of RAM 1809207753Smm is one reasonable way to help making such decisions. 1810207753Smm 1811207753Smm Thanks to Jonathan Nieder for the original patch. 1812207753Smm 1813207753Smmcommit cf39faca59083d38422058c6c97aa757ea7797d0 1814207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1815207753SmmDate: Sat Nov 14 20:21:19 2009 +0200 1816207753Smm 1817207753Smm Updated THANKS. 1818207753Smm 1819207753Smmcommit 2ddcae247c284cc2f396b6cfdab57790c7588b5f 1820207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1821207753SmmDate: Sat Nov 14 20:20:03 2009 +0200 1822207753Smm 1823207753Smm Some updates to xz man page. 1824207753Smm 1825207753Smmcommit 19b2674f07f8b588dfaf6638396b4b42866d7e23 1826207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1827207753SmmDate: Sat Nov 14 19:51:03 2009 +0200 1828207753Smm 1829207753Smm Fix description of --memory in --long-help. 1830207753Smm 1831207753Smmcommit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8 1832207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1833207753SmmDate: Sat Nov 14 19:45:39 2009 +0200 1834207753Smm 1835207753Smm Update the debug programs so that they compile again. 1836207753Smm 1837207753Smmcommit 418d64a32e8144210f98a810738fed5a897e8367 1838207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1839207753SmmDate: Sat Nov 14 18:59:19 2009 +0200 1840207753Smm 1841207753Smm Fix a design error in liblzma API. 1842207753Smm 1843207753Smm Originally the idea was that using LZMA_FULL_FLUSH 1844207753Smm with Stream encoder would read the filter chain 1845207753Smm from the same array that was used to intialize the 1846207753Smm Stream encoder. Since most apps wouldn't use 1847207753Smm LZMA_FULL_FLUSH, most apps wouldn't need to keep 1848207753Smm the filter chain available after initializing the 1849207753Smm Stream encoder. However, due to my mistake, it 1850207753Smm actually required keeping the array always available. 1851207753Smm 1852207753Smm Since setting the new filter chain via the array 1853207753Smm used at initialization time is not a nice way to do 1854207753Smm it for a couple of reasons, this commit ditches it 1855207753Smm and introduces lzma_filters_update(). This new function 1856207753Smm replaces also the "persistent" flag used by LZMA2 1857207753Smm (and to-be-designed Subblock filter), which was also 1858207753Smm an ugly thing to do. 1859207753Smm 1860207753Smm Thanks to Alexey Tourbin for reminding me about the problem 1861207753Smm that Stream encoder used to require keeping the filter 1862207753Smm chain allocated. 1863207753Smm 1864207753Smmcommit f0bf7634b77263a4dd02b20c71861ab67995da68 1865207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1866207753SmmDate: Sat Oct 17 11:11:58 2009 +0300 1867207753Smm 1868207753Smm Fix wrong function name in the previous commit. 1869207753Smm 1870207753Smm It was meant to be lzma_filters_copy(), not lzma_filters_dup(). 1871207753Smm 1872207753Smmcommit 6d118a0b9def82e96afba7386ec8d7da0b59649f 1873207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1874207753SmmDate: Sat Oct 17 01:47:07 2009 +0300 1875207753Smm 1876207753Smm Add lzma_filters_copy(). 1877207753Smm 1878207753Smm This will be needed internally by liblzma once I fix 1879207753Smm a design mistake in the encoder API. This function may 1880207753Smm be useful to applications too so it's good to export it. 1881207753Smm 1882207753Smmcommit 78e92c18470483e161388e679c1ee556adb3a691 1883207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 1884207753SmmDate: Thu Oct 15 20:44:13 2009 -0500 1885207753Smm 1886207753Smm Escape dashes in xzmore.1 1887207753Smm 1888207753Smm A minus sign is larger, easier to see in a printout, and more 1889207753Smm likely to use the same glyph as ASCII hyphen-minus in a terminal 1890207753Smm than a hyphen. Since broken manual pagers do not find hyphens 1891207753Smm when the user searches for a hyphen-minus, minus signs are also 1892207753Smm easier to search for. So use minus signs instead of hyphens to 1893207753Smm render sample terminal output. 1894207753Smm 1895207753Smmcommit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee 1896207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1897207753SmmDate: Fri Oct 16 20:35:39 2009 +0300 1898207753Smm 1899207753Smm Mention --check=none in --long-help. It was already in 1900207753Smm the man page though. 1901207753Smm 1902207753Smm Thanks to Jim Meyering for noticing this. 1903207753Smm 1904207753Smmcommit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24 1905207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1906207753SmmDate: Sun Oct 4 22:57:12 2009 +0300 1907207753Smm 1908207753Smm Use a tuklib module for integer handling. 1909207753Smm 1910207753Smm This replaces bswap.h and integer.h. 1911207753Smm 1912207753Smm The tuklib module uses <byteswap.h> on GNU, 1913207753Smm <sys/endian.h> on *BSDs and <sys/byteorder.h> 1914207753Smm on Solaris, which may contain optimized code 1915207753Smm like inline assembly. 1916207753Smm 1917207753Smmcommit 29fd321033276261b87da7be5223db33d879a4c7 1918207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1919207753SmmDate: Fri Oct 2 14:35:56 2009 +0300 1920207753Smm 1921207753Smm Add support for --enable-assume-ram=SIZE. 1922207753Smm 1923207753Smmcommit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25 1924207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1925207753SmmDate: Fri Oct 2 11:28:17 2009 +0300 1926207753Smm 1927207753Smm Use unaligned access (if possible) on both endiannesses 1928207753Smm in lz_encoder_hash.h. 1929207753Smm 1930207753Smmcommit c5f68b5cc79085a87f950fea53843e27f328068e 1931207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1932207753SmmDate: Fri Oct 2 11:03:26 2009 +0300 1933207753Smm 1934207753Smm Make liblzma produce the same output on both endiannesses. 1935207753Smm 1936207753Smm Seems that it is a problem in some cases if the same 1937207753Smm version of XZ Utils produces different output on different 1938207753Smm endiannesses, so this commit fixes that problem. The output 1939207753Smm will still vary between different XZ Utils versions, but I 1940207753Smm cannot avoid that for now. 1941207753Smm 1942207753Smm This commit bloatens the code on big endian systems by 1 KiB, 1943207753Smm which should be OK since liblzma is bloated already. ;-) 1944207753Smm 1945207753Smmcommit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a 1946207753SmmAuthor: Mike Frysinger <vapier@gentoo.org> 1947207753SmmDate: Sat Sep 26 12:51:50 2009 -0400 1948207753Smm 1949207753Smm add lzmainfo to gitignore 1950207753Smm 1951207753Smm Signed-off-by: Mike Frysinger <vapier@gentoo.org> 1952207753Smm 1953207753Smmcommit 188a1dcd0cc7867810ed3a55c598d0680922c63b 1954207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1955207753SmmDate: Sun Sep 27 11:53:36 2009 +0300 1956207753Smm 1957207753Smm Updated THANKS. 1958207753Smm 1959207753Smmcommit db9119b9181b307e7ac5d2bae82444d04b902b59 1960207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1961207753SmmDate: Sun Sep 27 11:48:54 2009 +0300 1962207753Smm 1963207753Smm Work around a bug in Interix header files. 1964207753Smm 1965207753Smm Thanks to Markus Duft for the patch. 1966207753Smm 1967207753Smmcommit b3d105e69786a45963176fd2193abe75e05ba738 1968207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1969207753SmmDate: Thu Sep 24 17:50:17 2009 +0300 1970207753Smm 1971207753Smm Fix an error in OpenVMS-specific code. 1972207753Smm 1973207753Smm Thanks to Jouk Jansen. 1974207753Smm 1975207753Smmcommit 5e000ff00d4d01e559397b49eb648ad3f159d496 1976207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1977207753SmmDate: Tue Sep 22 18:59:56 2009 +0300 1978207753Smm 1979207753Smm Added OpenVMS-specific information to INSTALL. 1980207753Smm 1981207753Smmcommit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4 1982207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1983207753SmmDate: Tue Sep 22 14:03:02 2009 +0300 1984207753Smm 1985207753Smm Better fixes for OpenVMS support. 1986207753Smm 1987207753Smm Thanks to Jouk Jansen. 1988207753Smm 1989207753Smmcommit 4c3630ec4179fe9265407a35c4db1374ffc82372 1990207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1991207753SmmDate: Tue Sep 22 13:40:19 2009 +0300 1992207753Smm 1993207753Smm Avoid non-standard preprocessor construct. 1994207753Smm 1995207753Smm Thanks to Jouk Jansen. 1996207753Smm 1997207753Smmcommit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 1998207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 1999207753SmmDate: Mon Sep 21 19:50:09 2009 +0300 2000207753Smm 2001207753Smm Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. 2002207753Smm 2003207753Smm Thanks to Charles Wilson. 2004207753Smm 2005207753Smmcommit e599bba4216c0edb8cc8f40adad3a6dba88685f4 2006207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2007207753SmmDate: Sat Sep 19 09:47:30 2009 +0300 2008207753Smm 2009207753Smm Various changes. 2010207753Smm 2011207753Smm Separate a few reusable components from XZ Utils specific 2012207753Smm code. The reusable code is now in "tuklib" modules. A few 2013207753Smm more could be separated still, e.g. bswap.h. 2014207753Smm 2015207753Smm Fix some bugs in lzmainfo. 2016207753Smm 2017207753Smm Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol 2018207753Smm for help. 2019207753Smm 2020207753Smm Add OpenVMS support into physmem. Add a few #ifdefs to ease 2021207753Smm building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the 2022207753Smm original patch. 2023207753Smm 2024207753Smmcommit 49cfc8d392cf535f8dd10233225b1fc726fec9ef 2025207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2026207753SmmDate: Tue Sep 15 21:07:23 2009 +0300 2027207753Smm 2028207753Smm Fix incorrect use of "restrict". 2029207753Smm 2030207753Smmcommit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c 2031207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2032207753SmmDate: Sat Sep 12 14:09:17 2009 +0300 2033207753Smm 2034207753Smm Fix GCC version check for nothrow attribute. 2035207753Smm 2036207753Smmcommit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224 2037207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2038207753SmmDate: Sat Sep 12 14:08:15 2009 +0300 2039207753Smm 2040207753Smm Updated THANKS. 2041207753Smm 2042207753Smmcommit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac 2043207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2044207753SmmDate: Sat Sep 12 14:07:36 2009 +0300 2045207753Smm 2046207753Smm A few grammar fixes. 2047207753Smm 2048207753Smm Thanks to Christian Weisgerber for pointing out some of these. 2049207753Smm 2050207753Smmcommit 8905a33daadcd2d6557c83c81c490b827d566c94 2051207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2052207753SmmDate: Fri Sep 11 17:08:15 2009 +0300 2053207753Smm 2054207753Smm Updated THANKS. 2055207753Smm 2056207753Smmcommit 68059334ff435300ab1ce2c616b0eee1b0d88dd9 2057207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2058207753SmmDate: Fri Sep 11 17:06:32 2009 +0300 2059207753Smm 2060207753Smm Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors. 2061207753Smm 2062207753Smmcommit 221be761f467da76875247bc02d7a1716682075d 2063207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2064207753SmmDate: Fri Sep 11 10:24:09 2009 +0300 2065207753Smm 2066207753Smm Use $(LN_EXEEXT) in symlinks to executables. 2067207753Smm 2068207753Smm This fixes "make install" on operating systems using 2069207753Smm a suffix for executables. 2070207753Smm 2071207753Smm Cygwin is treated specially. The symlink names won't have 2072207753Smm .exe suffix even though the executables themselves have. 2073207753Smm Thanks to Charles Wilson. 2074207753Smm 2075207753Smmcommit 18a4233a53d9b82abac7db7d7804684c5fea9c2c 2076207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2077207753SmmDate: Fri Sep 11 09:25:09 2009 +0300 2078207753Smm 2079207753Smm Fix a couple of warnings. 2080207753Smm 2081207753Smmcommit 429910b2ba67611d8df60d1a9da9641bdb5f82b4 2082207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2083207753SmmDate: Sat Sep 5 18:39:21 2009 +0300 2084207753Smm 2085207753Smm Add OS/2-specific code to physmem.h. 2086207753Smm 2087207753Smm Also move DJGPP-specific code near the code meant 2088207753Smm for other DOS-like systems. 2089207753Smm 2090207753Smmcommit 7aca7b3174bcbba4a4915682ff0cd405d63f5740 2091207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2092207753SmmDate: Sat Sep 5 01:21:15 2009 +0300 2093207753Smm 2094207753Smm Updated THANKS. 2095207753Smm 2096207753Smmcommit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071 2097207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2098207753SmmDate: Sat Sep 5 01:20:29 2009 +0300 2099207753Smm 2100207753Smm Use sysctl() != -1 instead of !sysctl() to check if 2101207753Smm the function call succeeded. 2102207753Smm 2103207753Smm NetBSD 4.0 returns positive values on success, but 2104207753Smm NetBSD Current and FreeBSD return zero. OpenBSD's 2105207753Smm man page doesn't tell what sysctl() returns on 2106207753Smm success. All these BSDs return -1 on error. 2107207753Smm 2108207753Smm Thanks to Robert Elz and Thomas Klausner. 2109207753Smm 2110207753Smmcommit 173368911cf09ab0b03fc4db8f3d4b81d86dce32 2111207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2112207753SmmDate: Wed Sep 2 09:43:51 2009 +0300 2113207753Smm 2114207753Smm Mention in INSTALL that --enable-small doesn't modify CFLAGS. 2115207753Smm 2116207753Smmcommit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc 2117207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2118207753SmmDate: Tue Sep 1 20:40:01 2009 +0300 2119207753Smm 2120207753Smm Refactored option parsing. 2121207753Smm 2122207753Smmcommit 25adaaa56e2e51a47a910a8d73452414619a2e53 2123207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2124207753SmmDate: Tue Sep 1 20:23:30 2009 +0300 2125207753Smm 2126207753Smm Fix options parsing bug in xz. 2127207753Smm 2128207753Smm xz used to reject "xz --lzma2=pb=2," while 2129207753Smm "xz --lzma2=pb=2,," worked. Now both work. 2130207753Smm 2131207753Smmcommit 5f6dddc6c911df02ba660564e78e6de80947c947 2132207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2133207753SmmDate: Tue Sep 1 20:20:19 2009 +0300 2134207753Smm 2135207753Smm Updated TODO. 2136207753Smm 2137207753Smmcommit 655457b9ada5ec7db398c5392e41290f3f332ea8 2138207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2139207753SmmDate: Mon Aug 31 21:59:25 2009 +0300 2140207753Smm 2141207753Smm Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 2142207753Smm and use a fix that works on all systems using 2143207753Smm GNU assembler. 2144207753Smm 2145207753Smm Maybe the assembler code is used e.g. on Solaris x86 2146207753Smm but let's worry about it if this doesn't work on it. 2147207753Smm 2148207753Smmcommit 162189c3477953805a28f96d3a75cb9ab9417928 2149207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2150207753SmmDate: Sun Aug 30 17:29:19 2009 +0300 2151207753Smm 2152207753Smm Updated THANKS. 2153207753Smm 2154207753Smmcommit 2331f5f97af3e5897e23da45d9df3d664099c7f8 2155207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2156207753SmmDate: Sun Aug 30 17:28:52 2009 +0300 2157207753Smm 2158207753Smm Add more OS/2 specific info to INSTALL. 2159207753Smm 2160207753Smmcommit 94c66b3297b3ad307eee93cf6b160e3c43997f11 2161207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2162207753SmmDate: Sat Aug 29 14:43:52 2009 +0300 2163207753Smm 2164207753Smm Use even more hackish way to support thousand separators. 2165207753Smm 2166207753Smm Seems that in addition on Windows and DOS, also OpenBSD 2167207753Smm lacks support for %'d style printf() format strings. 2168207753Smm So far that is the only modern POSIX-like system I know 2169207753Smm with this problem, but after this hack, the thousand 2170207753Smm separator shouldn't be a problem on any system. 2171207753Smm 2172207753Smm Maybe testing if a format string like %'d produces 2173207753Smm reasonable output is invoking undefined behavior on some 2174207753Smm systems, but so far all the problematic systems I've tried 2175207753Smm just print the raw format string (e.g. %'d prints 'd). 2176207753Smm 2177207753Smm Maybe Autoconf test would have been better, but this 2178207753Smm hack works also for cross-compilation, and avoids 2179207753Smm recompilation in case the system libc starts to support 2180207753Smm the thousand separator. 2181207753Smm 2182207753Smmcommit 3432e9c6aab851da1227b63dce645d7f190c04d8 2183207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2184207753SmmDate: Sat Aug 29 13:42:56 2009 +0300 2185207753Smm 2186207753Smm Updated THANKS. 2187207753Smm 2188207753Smmcommit 27414daadf5727e8ab942374b5ec1c8990122878 2189207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2190207753SmmDate: Sat Aug 29 13:39:21 2009 +0300 2191207753Smm 2192207753Smm Fix sysctl() usage. 2193207753Smm 2194207753Smm This fixes build on *BSDs and Darwin. 2195207753Smm 2196207753Smm Thanks to Jukka Salmi for the patches. 2197207753Smm Richard Koch reported the problem too. 2198207753Smm 2199207753Smmcommit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9 2200207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2201207753SmmDate: Sat Aug 29 13:35:23 2009 +0300 2202207753Smm 2203207753Smm Fix x86 assembler on GCC 3. 2204207753Smm 2205207753Smm Thanks to Karl Berry. 2206207753Smm 2207207753Smmcommit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8 2208207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2209207753SmmDate: Thu Aug 27 18:36:59 2009 +0300 2210207753Smm 2211207753Smm "make dist" fixes 2212207753Smm 2213207753Smmcommit c8c184db1c95bf70f78256ec6237845a57f342af 2214207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2215207753SmmDate: Thu Aug 27 17:08:33 2009 +0300 2216207753Smm 2217207753Smm Update xz man page date. 2218207753Smm 2219207753Smmcommit 9756fce565e98b8fa5fe6ead296d84e7601ec254 2220207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2221207753SmmDate: Thu Aug 27 17:00:22 2009 +0300 2222207753Smm 2223207753Smm Fix the debug directory. 2224207753Smm 2225207753Smm 6a2eb54092fc625d59921a607ff68cd1a90aa898 and 2226207753Smm 71f18e8a066a01dda0c8e5508b135ef104e43e4c required 2227207753Smm some changes that weren't applied in debug. 2228207753Smm 2229207753Smmcommit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea 2230207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2231207753SmmDate: Thu Aug 27 16:36:40 2009 +0300 2232207753Smm 2233207753Smm Add missing files to EXTRA_DIST. 2234207753Smm 2235207753Smmcommit 04dcbfdeb921e5f361a4487134e91e23fffbe09d 2236207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2237207753SmmDate: Thu Aug 27 16:21:22 2009 +0300 2238207753Smm 2239207753Smm Bumped version to 4.999.9beta. 2240207753Smm 2241207753Smmcommit fd7618611a22f42a6913bc8d518c9bbc9252d6b4 2242207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2243207753SmmDate: Thu Aug 27 16:17:47 2009 +0300 2244207753Smm 2245207753Smm Updated THANKS. 2246207753Smm 2247207753Smmcommit c29e76c0f910fca0a90a50b78d337f6c32623e9d 2248207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2249207753SmmDate: Thu Aug 27 16:12:52 2009 +0300 2250207753Smm 2251207753Smm .xz file format specification 1.0.4 (probably). 2252207753Smm 2253207753Smm Thanks to Christian von Roques, Peter Lawler, 2254207753Smm and Jim Meyering for the fixes. 2255207753Smm 2256207753Smmcommit 696d7ee3953beaf4f0ed18e78917ccf300431966 2257207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2258207753SmmDate: Thu Aug 27 15:43:54 2009 +0300 2259207753Smm 2260207753Smm Require GNU libtool 2.2. 2261207753Smm 2262207753Smmcommit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d 2263207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2264207753SmmDate: Thu Aug 27 15:34:45 2009 +0300 2265207753Smm 2266207753Smm Add "dos" to EXTRA_DIST. 2267207753Smm 2268207753Smmcommit 35b29e4424ced5a3ababf132283e519080c7b298 2269207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2270207753SmmDate: Thu Aug 27 15:23:27 2009 +0300 2271207753Smm 2272207753Smm Updated TODO. 2273207753Smm 2274207753Smmcommit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea 2275207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2276207753SmmDate: Thu Aug 27 15:17:00 2009 +0300 2277207753Smm 2278207753Smm Some xz man page improvements. 2279207753Smm 2280207753Smmcommit 371b04e19fc9051dbaeec51ec0badec6a1f0699d 2281207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2282207753SmmDate: Thu Aug 27 10:41:01 2009 +0300 2283207753Smm 2284207753Smm Removed doc/bugs.txt. 2285207753Smm 2286207753Smmcommit d88c4072b36d3a76f839185799fb1d91037a1b81 2287207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2288207753SmmDate: Thu Aug 27 10:40:25 2009 +0300 2289207753Smm 2290207753Smm Updated README. 2291207753Smm 2292207753Smm It now includes bug reporting instructions/tips. 2293207753Smm 2294207753Smmcommit 92e536d8b8d33a6b12d0802bcd7be4437046f13e 2295207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2296207753SmmDate: Thu Aug 27 10:21:18 2009 +0300 2297207753Smm 2298207753Smm Fix a typo in FAQ. 2299207753Smm 2300207753Smm Thanks to Jim Meyering. 2301207753Smm 2302207753Smm (From now on, I try to always remember to put 2303207753Smm the relevant thanks to commit messages.) 2304207753Smm 2305207753Smmcommit 3e2ba8b58585743e59251e69ad2783eb08357079 2306207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2307207753SmmDate: Thu Aug 27 10:13:46 2009 +0300 2308207753Smm 2309207753Smm Updates to liblzma API headers. 2310207753Smm 2311207753Smm Added lzma_nothrow for every function. It adds 2312207753Smm throw() when the header is used in C++ code. 2313207753Smm 2314207753Smm Some lzma_attrs were added or removed. 2315207753Smm 2316207753Smm Lots of comments were improved. 2317207753Smm 2318207753Smmcommit 8e8ebc17c535a1f8846718059b48417409c37050 2319207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2320207753SmmDate: Tue Aug 18 00:30:09 2009 +0300 2321207753Smm 2322207753Smm Install faq.txt. 2323207753Smm 2324207753Smmcommit b198e770a146e4a41f91a93f0b233713f2515848 2325207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2326207753SmmDate: Tue Aug 18 00:26:48 2009 +0300 2327207753Smm 2328207753Smm Updated faq.txt. 2329207753Smm 2330207753Smm Some questions worth answering were removed, because I 2331207753Smm currently don't have good up to date answers to them. 2332207753Smm 2333207753Smmcommit fe111a25cd788d31b581996e4533910388a7f0a9 2334207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2335207753SmmDate: Mon Aug 17 22:45:50 2009 +0300 2336207753Smm 2337207753Smm Some xz man changes. 2338207753Smm 2339207753Smmcommit 10242a21e9abda0c5c6a03501703cc40b8a699a5 2340207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2341207753SmmDate: Sun Aug 16 22:15:42 2009 +0300 2342207753Smm 2343207753Smm Updated THANKS. 2344207753Smm 2345207753Smmcommit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d 2346207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2347207753SmmDate: Sun Aug 16 22:15:13 2009 +0300 2348207753Smm 2349207753Smm Fix data corruption in LZ/LZMA2 encoder. 2350207753Smm 2351207753Smm Thanks to Jonathan Stott for the bug report. 2352207753Smm 2353207753Smmcommit 66da129c8ec33dd66acc92f113f7c1ca740ca81a 2354207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2355207753SmmDate: Thu Aug 13 15:15:37 2009 +0300 2356207753Smm 2357207753Smm Updated INSTALL and PACKAGERS to match the changes 2358207753Smm made in --enable-dynamic. 2359207753Smm 2360207753Smmcommit 8238c4b2402f952c4e492e5b778aa272e57b6705 2361207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2362207753SmmDate: Thu Aug 13 15:03:46 2009 +0300 2363207753Smm 2364207753Smm Link lzmainfo against shared liblzma by default. 2365207753Smm 2366207753Smmcommit 71f18e8a066a01dda0c8e5508b135ef104e43e4c 2367207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2368207753SmmDate: Thu Aug 13 15:00:21 2009 +0300 2369207753Smm 2370207753Smm Make --enable-dynamic a tristate option. 2371207753Smm 2372207753Smm Some programs will by default be linked against static 2373207753Smm liblzma and some against shared liblzma. --enable-dynamic 2374207753Smm now allows overriding the default to both directions 2375207753Smm (all dynamic or all static) even when building both 2376207753Smm shared and static liblzma. 2377207753Smm 2378207753Smm This is quite messy compared to how simple thing it is supposed 2379207753Smm to be. The complexity is mostly due to Windows support. 2380207753Smm 2381207753Smmcommit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61 2382207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2383207753SmmDate: Thu Aug 13 12:56:47 2009 +0300 2384207753Smm 2385207753Smm Fix xz Makefile.am for the man page. 2386207753Smm 2387207753Smm install-exec-hook -> install-data-hook 2388207753Smm 2389207753Smmcommit e51b4e49e800bd84e6d589dca2964d3985e88139 2390207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2391207753SmmDate: Thu Aug 13 12:55:45 2009 +0300 2392207753Smm 2393207753Smm Add lzmainfo for backward compatibility with LZMA Utils. 2394207753Smm 2395207753Smm lzmainfo now links against static liblzma. In contrast 2396207753Smm to other command line tools in XZ Utils, linking lzmainfo 2397207753Smm against static liblzma by default is dumb. This will be 2398207753Smm fixed once I have fixed some related issues in configure.ac. 2399207753Smm 2400207753Smmcommit a4165d0584376d948c213ec93c6065d24ff6a5e7 2401207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2402207753SmmDate: Thu Aug 13 12:42:36 2009 +0300 2403207753Smm 2404207753Smm Sync some error messages from xz to xzdec. 2405207753Smm 2406207753Smm Make xz error message translation usable outside 2407207753Smm xz (at least in upcoming lzmainfo). 2408207753Smm 2409207753Smmcommit df636eb4e066b4e154ce8e66e82c87ba1db652a6 2410207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2411207753SmmDate: Thu Aug 13 09:37:21 2009 +0300 2412207753Smm 2413207753Smm Add xz man page to manfiles in toplevel Makefile.am. 2414207753Smm 2415207753Smmcommit 180bdf58ea5bb07941e0a99b304d9aa832198748 2416207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2417207753SmmDate: Thu Aug 13 09:37:01 2009 +0300 2418207753Smm 2419207753Smm Fix first line of xz man page. 2420207753Smm 2421207753Smmcommit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4 2422207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2423207753SmmDate: Mon Aug 10 11:22:31 2009 +0300 2424207753Smm 2425207753Smm Added a rough version of the xz man page. 2426207753Smm 2427207753Smmcommit e71903fc6101f1c039d702e335b08aad1e1b4100 2428207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 2429207753SmmDate: Sun Aug 9 13:41:20 2009 -0500 2430207753Smm 2431207753Smm ���xzdiff a.xz b.xz��� always fails 2432207753Smm 2433207753Smm Attempts to compare two compressed files result in no output and 2434207753Smm exit status 2. 2435207753Smm 2436207753Smm Instead of going to standard output, ���diff��� output is being 2437207753Smm captured in the xz_status variable along with the exit status from 2438207753Smm the decompression commands. Later, when this variable is examined 2439207753Smm for nonzero status codes, numerals from dates in the ���diff��� output 2440207753Smm make it appear as though decompression failed. 2441207753Smm 2442207753Smm So let the ���diff��� output leak to standard output with another file 2443207753Smm descriptor. (This trick is used in all similar contexts elsewhere 2444207753Smm in xzdiff and in the analogous context in gzip���s zdiff script.) 2445207753Smm 2446207753Smmcommit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c 2447207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 2448207753SmmDate: Sun Aug 9 13:22:12 2009 -0500 2449207753Smm 2450207753Smm xzless: Support compressed standard input 2451207753Smm 2452207753Smm It can be somewhat confusing that 2453207753Smm 2454207753Smm less < some_file.txt 2455207753Smm 2456207753Smm works fine, whereas 2457207753Smm 2458207753Smm xzless < some_file.txt.xz 2459207753Smm 2460207753Smm does not. Since version 429, ���less��� allows a filter specified in 2461207753Smm the LESSOPEN environment variable to preprocess its input even if 2462207753Smm it comes from standard input, if $LESSOPEN begins with ���|-���. So 2463207753Smm set $LESSOPEN to take advantage of this feature. 2464207753Smm 2465207753Smm Check less���s version at runtime so xzless can continue to work 2466207753Smm with older versions. 2467207753Smm 2468207753Smmcommit a7f5d2fe4826ac68839d00059f05004fb81d5c69 2469207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2470207753SmmDate: Sun Aug 9 20:57:46 2009 +0300 2471207753Smm 2472207753Smm GPLv2+ not GPLv2 for Doxyfile.in is probably OK. 2473207753Smm 2474207753Smmcommit b735cde20cc14857136ae65a0e5d336ed7ddc862 2475207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2476207753SmmDate: Sun Aug 2 00:27:29 2009 +0300 2477207753Smm 2478207753Smm Added a copyright notice to Doxyfile.in since it contains 2479207753Smm lots of comments from Doxygen. 2480207753Smm 2481207753Smm It seems that the Doxygen authors' intent is to not apply 2482207753Smm their copyright on generated files, but since it doesn't 2483207753Smm matter for XZ Utils at all, better safe than sorry. 2484207753Smm 2485207753Smmcommit 0fd157cc008446adfc8f91394f5503868025a642 2486207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2487207753SmmDate: Sun Aug 2 00:11:37 2009 +0300 2488207753Smm 2489207753Smm Updated THANKS. 2490207753Smm 2491207753Smmcommit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f 2492207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2493207753SmmDate: Sun Aug 2 00:10:22 2009 +0300 2494207753Smm 2495207753Smm Updated TODO. 2496207753Smm 2497207753Smmcommit 669413bb2db954bbfde3c4542fddbbab53891eb4 2498207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2499207753SmmDate: Thu Jul 30 12:25:55 2009 +0300 2500207753Smm 2501207753Smm Updated THANKS. 2502207753Smm 2503207753Smmcommit dbbd8fb870ae789d96497911006c869d37148c15 2504207753SmmAuthor: Jonathan Nieder <jrnieder@gmail.com> 2505207753SmmDate: Tue Jul 28 17:37:24 2009 -0500 2506207753Smm 2507207753Smm xzdiff: add missing ;; to case statement 2508207753Smm 2509207753Smmcommit adbad2d16cb5909f85d4a429011005613ea62ffe 2510207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2511207753SmmDate: Fri Jul 24 13:15:06 2009 +0300 2512207753Smm 2513207753Smm Added history.txt to doc_DATA. 2514207753Smm 2515207753Smmcommit e0236f12569eb36f9b81ce7a1e52e0f73698ac27 2516207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2517207753SmmDate: Fri Jul 24 12:00:40 2009 +0300 2518207753Smm 2519207753Smm Updated .gitignore files. 2520207753Smm 2521207753Smmcommit 2f34fb269265e3aba43a2a9c734020a45268826d 2522207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2523207753SmmDate: Fri Jul 24 11:34:02 2009 +0300 2524207753Smm 2525207753Smm Minor improvements to COPYING. 2526207753Smm 2527207753Smmcommit 0db1befcfbc120377df4b89923762f16d25f548a 2528207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2529207753SmmDate: Thu Jul 23 19:10:55 2009 +0300 2530207753Smm 2531207753Smm Fix incorrect usage of getopt_long(), which caused 2532207753Smm invalid memory access if XZ_OPT was defined. 2533207753Smm 2534207753Smmcommit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48 2535207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2536207753SmmDate: Mon Jul 20 15:43:32 2009 +0300 2537207753Smm 2538207753Smm Avoid internal error with --format=xz --lzma1. 2539207753Smm 2540207753Smmcommit 99f9e879a6a8bb54a65da99c12e0f390216c152a 2541207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2542207753SmmDate: Sun Jul 19 13:14:20 2009 +0300 2543207753Smm 2544207753Smm Major documentation update. 2545207753Smm 2546207753Smm Installation and packaging instructions were added. 2547207753Smm README and other generic docs were revised. 2548207753Smm 2549207753Smm Some of the documentation files are now installed to $docdir. 2550207753Smm 2551207753Smmcommit ef4cf1851de89022cba5674784f1a8f6343c15b0 2552207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2553207753SmmDate: Sun Jul 19 11:09:31 2009 +0300 2554207753Smm 2555207753Smm Added missing author notice to xzless.in. 2556207753Smm 2557207753Smmcommit 4c9c989d45b188667799a7a1d6c728ed43f7bf77 2558207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2559207753SmmDate: Sat Jul 18 18:54:55 2009 +0300 2560207753Smm 2561207753Smm Use AC_CONFIG_AUX_DIR to clean up the toplevel directory 2562207753Smm a little. 2563207753Smm 2564207753Smm Fixed a related bug in the toplevel Makefile.am. 2565207753Smm 2566207753Smm Added the build-aux directory to .gitignore. 2567207753Smm 2568207753Smmcommit 366e436090a7a87215e9bf0e3ddcd55f05b50587 2569207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2570207753SmmDate: Sat Jul 18 14:34:08 2009 +0300 2571207753Smm 2572207753Smm Updated the totally outdated TODO file. 2573207753Smm 2574207753Smmcommit 64e498c89d8b9966e8663f43bf64d47c26c55c62 2575207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2576207753SmmDate: Sat Jul 18 11:26:39 2009 +0300 2577207753Smm 2578207753Smm Added public domain notice into a few files. 2579207753Smm 2580207753Smmcommit a35755c5de808df027675688855d1b621a4fb428 2581207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2582207753SmmDate: Tue Jul 14 21:10:36 2009 +0300 2583207753Smm 2584207753Smm Allow extra commas in filter-specific options on xz command line. 2585207753Smm 2586207753Smm This may slightly ease writing scripts that construct 2587207753Smm filter-specific option strings dynamically. 2588207753Smm 2589207753Smmcommit 98f3cac1ad31191c5160a7e48398bf85141e941c 2590207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2591207753SmmDate: Tue Jul 14 18:04:31 2009 +0300 2592207753Smm 2593207753Smm Accept --lzma2=preset=6e where "e" is equivalent to --extreme 2594207753Smm when no custom chain is in use. 2595207753Smm 2596207753Smmcommit d873a09e956363e54bf58c577c8f7e487b6fb464 2597207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2598207753SmmDate: Sun Jul 12 19:08:30 2009 +0300 2599207753Smm 2600207753Smm Add dist-hook to create ChangeLog from the commit log, 2601207753Smm and to conver the man pages to PDF and plain text, which 2602207753Smm may be convenient to those who cannot render man pages. 2603207753Smm 2604207753Smmcommit cd69a5a6c16c289f6f8e2823b03c72289472270f 2605207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2606207753SmmDate: Fri Jul 10 11:39:38 2009 +0300 2607207753Smm 2608207753Smm BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR. 2609207753Smm 2610207753Smm This is a quick and slightly dirty fix to make the code 2611207753Smm conform to the latest file format specification. Without 2612207753Smm this patch, it's possible to make corrupt files by 2613207753Smm specifying start offset that is not a multiple of the 2614207753Smm filter's alignment. Custom start offset is almost never 2615207753Smm used, so this was only a minor bug. 2616207753Smm 2617207753Smm The xz command line tool doesn't validate the start offset, 2618207753Smm so one will get a bit unclear error message if trying to use 2619207753Smm an invalid start offset. 2620207753Smm 2621207753Smmcommit eed9953732b801f6c97317fb3160445a8754180b 2622207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2623207753SmmDate: Fri Jul 10 11:33:21 2009 +0300 2624207753Smm 2625207753Smm Look for full command names instead of substrings 2626207753Smm like "un", "cat", and "lz" when determining if 2627207753Smm xz is run as unxz, xzcat, lzma, unlzma, or lzcat. 2628207753Smm 2629207753Smm This is to ensure that if xz is renamed (e.g. via 2630207753Smm --program-transform-name), it doesn't so easily 2631207753Smm work in wrong mode. 2632207753Smm 2633207753Smmcommit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658 2634207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2635207753SmmDate: Wed Jul 8 23:06:46 2009 +0300 2636207753Smm 2637207753Smm Updated THANKS. 2638207753Smm 2639207753Smmcommit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e 2640207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2641207753SmmDate: Wed Jul 8 23:05:29 2009 +0300 2642207753Smm 2643207753Smm Portability improvement to version.sh. 2644207753Smm 2645207753Smmcommit 3bdb53792c0e3e3febe9370e56eda5b08f89410f 2646207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2647207753SmmDate: Wed Jul 8 22:50:16 2009 +0300 2648207753Smm 2649207753Smm Remove --force from xzdec. 2650207753Smm 2651207753Smm It was ignored for compatibility with xz, but now that 2652207753Smm --decompress --stdout --force copies unrecognized files 2653207753Smm as is to stdout, simply ignoring --force in xzdec would 2654207753Smm be wrong. xzdec will not support copying unrecognized 2655207753Smm data as is to stdout, so it cannot support --force. 2656207753Smm 2657207753Smmcommit 5f16ef4abf220028a9ddbcb138217597a9455f62 2658207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2659207753SmmDate: Mon Jul 6 10:36:04 2009 +0300 2660207753Smm 2661207753Smm Use sed instead of $(SED) so that we don't need to 2662207753Smm use AC_PROG_SED. We don't do anything fancy with sed, 2663207753Smm so this should work OK. libtool 2.2 sets SED but 1.5 2664207753Smm doesn't, so $(SED) happened to work when using libtool 2.2. 2665207753Smm 2666207753Smmcommit 96e4b257e101d72072d43e144897d92920270669 2667207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2668207753SmmDate: Sun Jul 5 22:25:17 2009 +0300 2669207753Smm 2670207753Smm Major update to the xzgrep and other scripts based on 2671207753Smm the latest versions found from gzip CVS repository. 2672207753Smm 2673207753Smm configure will try to find a POSIX shell to be used by 2674207753Smm the scripts. This should ease portability on systems 2675207753Smm which have pre-POSIX /bin/sh. 2676207753Smm 2677207753Smm xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files. 2678207753Smm xzmore and xzless support only .xz and .lzma files. 2679207753Smm 2680207753Smm The name of the xz executable used in these scripts is 2681207753Smm now correct even if --program-transform-name has been used. 2682207753Smm 2683207753Smmcommit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100 2684207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2685207753SmmDate: Sun Jul 5 19:26:53 2009 +0300 2686207753Smm 2687207753Smm Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in. 2688207753Smm 2689207753Smmcommit 18c10c30d2833f394cd7bce0e6a821044b15832f 2690207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2691207753SmmDate: Sat Jul 4 00:40:44 2009 +0300 2692207753Smm 2693207753Smm Make "xz --decompress --stdout --force" copy unrecognized 2694207753Smm files as is to standard output. 2695207753Smm 2696207753Smm This feature is needed to be more compatible with gzip's 2697207753Smm behavior. This was more complicated to implement than it 2698207753Smm sounds, because the way liblzma is able to return errors with 2699207753Smm files of only a few bytes in size. xz now has its own file 2700207753Smm type detection code and no longer uses lzma_auto_decoder(). 2701207753Smm 2702207753Smmcommit 0a289c01ac821ea9c4250aa906b0ae3cfa953633 2703207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2704207753SmmDate: Thu Jul 2 14:30:38 2009 +0300 2705207753Smm 2706207753Smm Define PACKAGE_HOMEPAGE in configure.ac and use it in 2707207753Smm xz and xzdec. 2708207753Smm 2709207753Smm Use also PACKAGE_NAME instead of hardcoding "XZ Utils". 2710207753Smm 2711207753Smmcommit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c 2712207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2713207753SmmDate: Wed Jul 1 12:21:24 2009 +0300 2714207753Smm 2715207753Smm Avoid visibility related compiler warnings on Windows. 2716207753Smm 2717207753Smmcommit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e 2718207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2719207753SmmDate: Tue Jun 30 17:14:39 2009 +0300 2720207753Smm 2721207753Smm Use static liblzma by default also for tests. 2722207753Smm 2723207753Smmcommit f42ee981668b545ab6d06c6072e262c29605273c 2724207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2725207753SmmDate: Tue Jun 30 17:09:57 2009 +0300 2726207753Smm 2727207753Smm Build system fixes 2728207753Smm 2729207753Smm Don't use libtool convenience libraries to avoid recently 2730207753Smm discovered long-standing subtle but somewhat severe bugs 2731207753Smm in libtool (at least 1.5.22 and 2.2.6 are affected). It 2732207753Smm was found when porting XZ Utils to Windows 2733207753Smm <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html> 2734207753Smm but the problem is significant also e.g. on GNU/Linux. 2735207753Smm 2736207753Smm Unless --disable-shared is passed to configure, static 2737207753Smm library built from a set of convenience libraries will 2738207753Smm contain PIC objects. That is, while libtool builds non-PIC 2739207753Smm objects too, only PIC objects will be used from the 2740207753Smm convenience libraries. On 32-bit x86 (tested on mobile XP2400+), 2741207753Smm using PIC instead of non-PIC makes the decompressor 10 % slower 2742207753Smm with the default CFLAGS. 2743207753Smm 2744207753Smm So while xz was linked against static liblzma by default, 2745207753Smm it got the slower PIC objects unless --disable-shared was 2746207753Smm used. I tend develop and benchmark with --disable-shared 2747207753Smm due to faster build time, so I hadn't noticed the problem 2748207753Smm in benchmarks earlier. 2749207753Smm 2750207753Smm This commit also adds support for building Windows resources 2751207753Smm into liblzma and executables. 2752207753Smm 2753207753Smmcommit 89dac1db6f168d7469cfbc4432651d4724c5c0de 2754207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2755207753SmmDate: Mon Jun 29 22:19:51 2009 +0300 2756207753Smm 2757207753Smm Added a comment about "autoconf -fi" to autogen.sh. 2758207753Smm 2759207753Smmcommit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd 2760207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2761207753SmmDate: Sun Jun 28 10:04:24 2009 +0300 2762207753Smm 2763207753Smm Add -no-undefined to get shared liblzma on Windows. 2764207753Smm 2765207753Smmcommit 73f560ee5fa064992b76688d9472baf139432540 2766207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2767207753SmmDate: Sat Jun 27 22:57:15 2009 +0300 2768207753Smm 2769207753Smm Make physmem() work on Cygwin 1.5 and older. 2770207753Smm 2771207753Smmcommit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1 2772207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2773207753SmmDate: Sat Jun 27 17:28:01 2009 +0300 2774207753Smm 2775207753Smm Moved the Windows resource files outside the windows directory 2776207753Smm to prepare for building them with Autotools. 2777207753Smm 2778207753Smmcommit 449c634674f35336a4815d398172e447659a135e 2779207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2780207753SmmDate: Sat Jun 27 13:05:03 2009 +0300 2781207753Smm 2782207753Smm Added missing $(EXEEXT). 2783207753Smm 2784207753Smmcommit 792db79f27ad9ab1fb977e23be65c7761f545752 2785207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2786207753SmmDate: Sat Jun 27 12:32:40 2009 +0300 2787207753Smm 2788207753Smm Create correct symlinks even when 2789207753Smm --program-{prefix,suffix,transform} is passed to configure. 2790207753Smm 2791207753Smmcommit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b 2792207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2793207753SmmDate: Sat Jun 27 10:02:24 2009 +0300 2794207753Smm 2795207753Smm Silence a compiler warning on DOS-like systems. 2796207753Smm 2797207753Smmcommit ad12edc95254ede3f0cb8dec8645e8789e984c4f 2798207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2799207753SmmDate: Sat Jun 27 09:35:15 2009 +0300 2800207753Smm 2801207753Smm Updated the filenames in POTFILES.in too. 2802207753Smm 2803207753Smmcommit b2b1f867532732fe9969131f8713bdd6b0731763 2804207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2805207753SmmDate: Sat Jun 27 00:43:06 2009 +0300 2806207753Smm 2807207753Smm Hopefully improved portability of the assembler code in 2808207753Smm Autotools based builds on Windows. 2809207753Smm 2810207753Smmcommit c393055947247627a09b6a6b8f20aa0c32f9be16 2811207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2812207753SmmDate: Fri Jun 26 21:17:29 2009 +0300 2813207753Smm 2814207753Smm Updated THANKS (most of today's commits are based on 2815207753Smm Charles Wilson's patches). 2816207753Smm 2817207753Smmcommit da0af22e4b4139b8a10710945f8b245b3a77c97d 2818207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2819207753SmmDate: Fri Jun 26 21:00:35 2009 +0300 2820207753Smm 2821207753Smm Updated comments to match renamed files. 2822207753Smm 2823207753Smmcommit 65014fd211dfbd4be48685998cb5a12aaa29c8d2 2824207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2825207753SmmDate: Fri Jun 26 20:49:54 2009 +0300 2826207753Smm 2827207753Smm Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc] 2828207753Smm to avoid problems on systems with system headers with those 2829207753Smm names. 2830207753Smm 2831207753Smmcommit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8 2832207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2833207753SmmDate: Fri Jun 26 20:43:36 2009 +0300 2834207753Smm 2835207753Smm Rename process_file() to coder_run(). 2836207753Smm 2837207753Smmcommit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc 2838207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2839207753SmmDate: Fri Jun 26 20:36:45 2009 +0300 2840207753Smm 2841207753Smm Ugly hack to make it possible to use the thousand separator 2842207753Smm format character with snprintf() on POSIX systems but not 2843207753Smm on non-POSIX systems and still keep xgettext working. 2844207753Smm 2845207753Smmcommit fe378d47074b16c52b00fe184d119287c68ce2e7 2846207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2847207753SmmDate: Fri Jun 26 15:40:40 2009 +0300 2848207753Smm 2849207753Smm Added missing source files to windows/Makefile. 2850207753Smm 2851207753Smmcommit 390a6408563067613b29de895cb40e4d0386d62c 2852207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2853207753SmmDate: Fri Jun 26 15:37:53 2009 +0300 2854207753Smm 2855207753Smm Basic support for building with Cygwin and MinGW using 2856207753Smm the Autotools based build system. It's not good yet, more 2857207753Smm fixes will follow. 2858207753Smm 2859207753Smmcommit 1c9360b7d1197457aaad2f8888b99f1149861579 2860207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2861207753SmmDate: Fri Jun 26 14:47:31 2009 +0300 2862207753Smm 2863207753Smm Fix @variables@ to $(variables) in Makefile.am files. 2864207753Smm Fix the ordering of libgnu.a and LTLIBINTL on the linker 2865207753Smm command line and added missing LTLIBINTL to tests/Makefile.am. 2866207753Smm 2867207753Smmcommit d45615c555e250209ebb55aa3649abe790f1eeac 2868207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2869207753SmmDate: Fri Jun 26 14:20:02 2009 +0300 2870207753Smm 2871207753Smm Allow to explicitly specify autotool versions in autogen.sh. 2872207753Smm 2873207753Smmcommit eaf8367368a329afa48785380f9dca6b681f3397 2874207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2875207753SmmDate: Fri Jun 26 14:18:32 2009 +0300 2876207753Smm 2877207753Smm Add version.sh to EXTRA_DIST. 2878207753Smm 2879207753Smmcommit b317b218e2d383dd27a700094c0de4510540ea18 2880207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2881207753SmmDate: Wed Jun 24 20:14:10 2009 +0300 2882207753Smm 2883207753Smm Support HW_PHYSMEM64 2884207753Smm 2885207753Smmcommit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7 2886207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2887207753SmmDate: Wed Jun 24 13:01:59 2009 +0300 2888207753Smm 2889207753Smm Cast a char argument to isspace() to unsigned char. 2890207753Smm 2891207753Smmcommit 1735d31ea347210e914df038eeea4b2626e76e42 2892207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2893207753SmmDate: Fri Jun 5 13:46:26 2009 +0300 2894207753Smm 2895207753Smm A few more spelling fixes. Released the .xz spec 1.0.3. 2896207753Smm 2897207753Smmcommit 8ed156ce894966103e895aa08f2a9fb912f6fad5 2898207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2899207753SmmDate: Thu Jun 4 23:42:12 2009 +0300 2900207753Smm 2901207753Smm Added xzdec man page. 2902207753Smm 2903207753Smmcommit f6df39afaa84f71439507178a49b2a5dda6e824c 2904207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2905207753SmmDate: Thu Jun 4 23:26:47 2009 +0300 2906207753Smm 2907207753Smm Harmonized xzdec --memory with xz --memory and made 2908207753Smm minor cleanups. 2909207753Smm 2910207753Smmcommit 1774f27c61ce294a56712ca2f4785f90a62441bc 2911207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2912207753SmmDate: Thu Jun 4 22:59:55 2009 +0300 2913207753Smm 2914207753Smm Fix purporse -> purpose. Thanks to Andrew Dudman. 2915207753Smm Released .xz spec 1.0.2 due to this fix too. 2916207753Smm 2917207753Smmcommit cb613455642f48fb51059e22018615f64c59b70f 2918207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2919207753SmmDate: Mon Jun 1 14:53:57 2009 +0300 2920207753Smm 2921207753Smm The .xz file format version 1.0.1 2922207753Smm 2923207753Smmcommit 083c23c680ff844846d177cfc58bb7a874e7e6b9 2924207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2925207753SmmDate: Tue May 26 14:48:48 2009 +0300 2926207753Smm 2927207753Smm Make the raw value of the Check field available to applications 2928207753Smm via lzma_block structure. 2929207753Smm 2930207753Smm This changes ABI but not doesn't break API. 2931207753Smm 2932207753Smmcommit b4f5c814090dc07d4350453576305e41eb9c998d 2933207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2934207753SmmDate: Sat May 23 16:57:21 2009 +0300 2935207753Smm 2936207753Smm Remove undocumented alternative option names --bcj, --ppc, 2937207753Smm and --itanium. 2938207753Smm 2939207753Smmcommit b1edee2cdc7ef4411b1a21c07094ec763f071281 2940207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2941207753SmmDate: Sat May 23 15:12:23 2009 +0300 2942207753Smm 2943207753Smm Add support for specifying the BCJ filter start offset 2944207753Smm in the xz command line tool. 2945207753Smm 2946207753Smmcommit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb 2947207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2948207753SmmDate: Sat May 23 14:51:09 2009 +0300 2949207753Smm 2950207753Smm Updated THANKS. 2951207753Smm 2952207753Smmcommit dcedb6998cefeca6597dd1219328a3abf5acf66d 2953207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2954207753SmmDate: Fri May 22 16:40:50 2009 +0300 2955207753Smm 2956207753Smm Added support for --quiet and --no-warn to xzdec. 2957207753Smm Cleaned up the --help message a little. 2958207753Smm 2959207753Smmcommit 5f735dae80aa629853f4831d7b84ec1c614979eb 2960207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2961207753SmmDate: Fri May 22 15:11:52 2009 +0300 2962207753Smm 2963207753Smm Use the 40 % of RAM memory usage limit in xzdec too. 2964207753Smm 2965207753Smm Update the memory usage info text in --help to match 2966207753Smm the text in xz --long-help. 2967207753Smm 2968207753Smmcommit b60376249e0c586910c4121fab4f791820cc1289 2969207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2970207753SmmDate: Fri May 22 14:43:00 2009 +0300 2971207753Smm 2972207753Smm Add --no-warn. 2973207753Smm 2974207753Smmcommit b4f92f522d4b854c0adb7c38be7531e1a6a7b008 2975207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2976207753SmmDate: Fri May 22 14:27:40 2009 +0300 2977207753Smm 2978207753Smm Fix a comment. 2979207753Smm 2980207753Smmcommit 4dd21d23f22569285ae706b58b0e5904b8db1839 2981207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2982207753SmmDate: Fri May 22 14:21:20 2009 +0300 2983207753Smm 2984207753Smm Remove the --info option, which was an alias for --list. 2985207753Smm 2986207753Smmcommit 8836139b63ce774bdd62abf17ab69b290e08229e 2987207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2988207753SmmDate: Fri May 22 12:27:43 2009 +0300 2989207753Smm 2990207753Smm If xz is run as lzma, unlzma, or lzcat, simply imply 2991207753Smm --format=lzma. This means that xz emulating lzma 2992207753Smm doesn't decompress .xz files, while before this 2993207753Smm commit it did. The new way is slightly simpler in 2994207753Smm code and especially in upcoming documentation. 2995207753Smm 2996207753Smmcommit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d 2997207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 2998207753SmmDate: Fri May 22 11:29:50 2009 +0300 2999207753Smm 3000207753Smm Make the default memory usage limit 40 % of RAM for both 3001207753Smm compressing and decompressing. This should be OK now that 3002207753Smm xz automatically scales down the compression settings if 3003207753Smm they would exceed the memory usage limit (earlier, the limit 3004207753Smm for compression was increased to 90 % because low limit broke 3005207753Smm scripts that used "xz -9" on systems with low RAM). 3006207753Smm 3007207753Smm Support spcifying the memory usage limit as a percentage 3008207753Smm of RAM (e.g. --memory=50%). 3009207753Smm 3010207753Smm Support --threads=0 to reset the thread limit to the default 3011207753Smm value (number of available CPU cores). Use UINT32_MAX instead 3012207753Smm of SIZE_MAX as the maximum in args.c. hardware.c was already 3013207753Smm expecting uint32_t value. 3014207753Smm 3015207753Smm Cleaned up the output of --help and --long-help. 3016207753Smm 3017207753Smmcommit 071b825b23911a69dd1cd2f8cda004ef8a781fae 3018207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3019207753SmmDate: Thu May 21 17:22:01 2009 +0300 3020207753Smm 3021207753Smm Support special value "max" where xz and xzdec accept an integer. 3022207753Smm Don't round the memory usage limit in xzdec --help to avoid 3023207753Smm an integer overflow and to not give wrong impression that 3024207753Smm the limit is high enough when it may not actually be. 3025207753Smm 3026207753Smmcommit 03ca67fd37dd43fa7f590de340899cd497c10802 3027207753SmmAuthor: ABCD <en.abcd@gmail.com> 3028207753SmmDate: Wed May 20 17:31:18 2009 -0400 3029207753Smm 3030207753Smm Install lzdiff, lzgrep, and lzmore as symlinks 3031207753Smm 3032207753Smm This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install. 3033207753Smm It also installs symlinks for the manual pages and removes the new 3034207753Smm symlinks on uninstall. 3035207753Smm 3036207753Smmcommit a6f43e64128a6da5cd641de1e1e527433b3e5638 3037207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3038207753SmmDate: Sat May 2 16:10:14 2009 +0300 3039207753Smm 3040207753Smm Use a GCC-specific #pragma instead of GCC-specific 3041207753Smm -Wno-uninitialized to silence a bogus warning. 3042207753Smm 3043207753Smmcommit f6ce63ebdb45a857c8949960c83c9580ae888951 3044207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3045207753SmmDate: Sat May 2 14:46:50 2009 +0300 3046207753Smm 3047207753Smm Removed --disable-encoder and --disable-decoder. Use the values 3048207753Smm given to --enable-encoders and --enable-decoders to determine 3049207753Smm if any encoder or decoder support is wanted. 3050207753Smm 3051207753Smmcommit be06858d5cf8ba46557395035d821dc332f3f830 3052207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3053207753SmmDate: Fri May 1 11:28:52 2009 +0300 3054207753Smm 3055207753Smm Remove docs that are too outdated to be updated 3056207753Smm (rewrite will be better). 3057207753Smm 3058207753Smmcommit 0255401e57c96af87c6b159eca28974e79430a82 3059207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3060207753SmmDate: Fri May 1 11:21:46 2009 +0300 3061207753Smm 3062207753Smm Added documentation about the legacy .lzma file format. 3063207753Smm 3064207753Smmcommit 1496ff437c46f38303e0e94c511ca604b3a11f85 3065207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3066207753SmmDate: Fri May 1 11:20:23 2009 +0300 3067207753Smm 3068207753Smm Renamed the file format specification to xz-file-format.txt 3069207753Smm which is the filename used on the WWW. 3070207753Smm 3071207753Smmcommit 21c6b94373d239d7e86bd480fcd558e30391712f 3072207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3073207753SmmDate: Tue Apr 28 23:08:32 2009 +0300 3074207753Smm 3075207753Smm Fixed a crash in liblzma. 3076207753Smm 3077207753Smm liblzma tries to avoid useless free()/malloc() pairs in 3078207753Smm initialization when multiple files are handled using the 3079207753Smm same lzma_stream. This didn't work with filter chains 3080207753Smm due to comparison of wrong pointers in lzma_next_coder_init(), 3081207753Smm making liblzma think that no memory reallocation is needed 3082207753Smm even when it actually is. 3083207753Smm 3084207753Smm Easy way to trigger this bug is to decompress two files with 3085207753Smm a single xz command. The first file should have e.g. x86+LZMA2 3086207753Smm as the filter chain, and the second file just LZMA2. 3087207753Smm 3088207753Smmcommit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c 3089207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3090207753SmmDate: Wed Apr 15 14:13:38 2009 +0300 3091207753Smm 3092207753Smm Fix uint32_t -> size_t in ARM and ARM-Thumb filters. 3093207753Smm 3094207753Smm On 64-bit system it would have gone into infinite 3095207753Smm loop if a single input buffer was over 4 GiB (unlikely). 3096207753Smm 3097207753Smmcommit 31decdce041581e57c0d8a407d4795b114ef27ca 3098207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3099207753SmmDate: Tue Apr 14 11:48:46 2009 +0300 3100207753Smm 3101207753Smm Minor fixes to test files' README. 3102207753Smm 3103207753Smmcommit 4787d654434891c7df5b43959b0d2873718f06e0 3104207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3105207753SmmDate: Mon Apr 13 16:36:41 2009 +0300 3106207753Smm 3107207753Smm Updated history.txt. 3108207753Smm 3109207753Smmcommit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 3110207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3111207753SmmDate: Mon Apr 13 14:49:48 2009 +0300 3112207753Smm 3113207753Smm Quick & dirty update to support xz in diff/grep/more scripts. 3114207753Smm 3115207753Smmcommit 02ddf09bc3079b3e17297729b9e43f14d407b8fc 3116207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3117207753SmmDate: Mon Apr 13 11:27:40 2009 +0300 3118207753Smm 3119207753Smm Put the interesting parts of XZ Utils into the public domain. 3120207753Smm Some minor documentation cleanups were made at the same time. 3121207753Smm 3122207753Smmcommit e79c42d854657ae7f75613bd80c1a35ff7c525cb 3123207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3124207753SmmDate: Fri Apr 10 11:17:02 2009 +0300 3125207753Smm 3126207753Smm Fix off-by-one in LZ decoder. 3127207753Smm 3128207753Smm Fortunately, this bug had no security risk other than accepting 3129207753Smm some corrupt files as valid. 3130207753Smm 3131207753Smmcommit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af 3132207753SmmAuthor: Pavel Roskin <proski@gnu.org> 3133207753SmmDate: Tue Mar 31 12:15:01 2009 -0400 3134207753Smm 3135207753Smm Fix minor typos in README 3136207753Smm 3137207753Smmcommit 9bab5336ebd765ec4e12252f416eefdf04eba750 3138207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3139207753SmmDate: Tue Mar 31 21:52:51 2009 +0300 3140207753Smm 3141207753Smm Add a note and work-around instructions to README about 3142207753Smm problems detecting a C99 compiler when some standard 3143207753Smm headers are missing. 3144207753Smm 3145207753Smmcommit a0497ff7a06f9350349264fe9b52dfefc6d53ead 3146207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3147207753SmmDate: Wed Mar 18 16:54:38 2009 +0200 3148207753Smm 3149207753Smm Updated THANKS. 3150207753Smm 3151207753Smmcommit 390e69887fc5e0a108eb41203bed9acd100a3d76 3152207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3153207753SmmDate: Wed Mar 18 16:51:41 2009 +0200 3154207753Smm 3155207753Smm Fix wrong macro names in lc_cpucores.m4 and cpucores.h. 3156207753Smm Thanks to Bert Wesarg. 3157207753Smm 3158207753Smmcommit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6 3159207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3160207753SmmDate: Sun Mar 1 09:03:08 2009 +0200 3161207753Smm 3162207753Smm Test for Linux-specific sysinfo() only on Linux systems. 3163207753Smm Some other systems have sysinfo() with different semantics. 3164207753Smm 3165207753Smmcommit cf751edfde3ad6e088dc18e0522d31ae38405933 3166207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3167207753SmmDate: Sun Mar 1 09:00:06 2009 +0200 3168207753Smm 3169207753Smm Added AC_CONFIG_MACRO_DIR to configure.ac. 3170207753Smm 3171207753Smmcommit 63df14c57dee7c461717784287056688482a7eb9 3172207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3173207753SmmDate: Sun Mar 1 08:58:41 2009 +0200 3174207753Smm 3175207753Smm Fix the Autoconf test for getopt_long replacement. 3176207753Smm It was broken by e114502b2bc371e4a45449832cb69be036360722. 3177207753Smm 3178207753Smmcommit fd6a380f4eda4f00be5f2aa8d222992cd74a714f 3179207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3180207753SmmDate: Sun Feb 22 19:07:54 2009 +0200 3181207753Smm 3182207753Smm Add a rough explanation of --extreme to output of --help. 3183207753Smm 3184207753Smmcommit 68bf7ac2984d3627369a240ef0491934d53f7899 3185207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3186207753SmmDate: Sun Feb 22 18:52:49 2009 +0200 3187207753Smm 3188207753Smm Fixes to progress message handling in xz: 3189207753Smm 3190207753Smm - Don't use Windows-specific code on Windows. The old code 3191207753Smm required at least Windows 2000. Now it should work on 3192207753Smm Windows 98 and later, and maybe on Windows 95 too. 3193207753Smm 3194207753Smm - Use less precision when showing estimated remaining time. 3195207753Smm 3196207753Smm - Fix some small design issues. 3197207753Smm 3198207753Smmcommit 47c2e21f82242f50f18713a27d644c2c94ab3fea 3199207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3200207753SmmDate: Wed Feb 18 13:00:10 2009 +0200 3201207753Smm 3202207753Smm Added files missing from the previous commit. 3203207753Smm 3204207753Smmcommit 489a3dbaa0465f04400804e956a1cfbbee3654a2 3205207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3206207753SmmDate: Tue Feb 17 10:43:00 2009 +0200 3207207753Smm 3208207753Smm Added lzma_easy_buffer_encode(). Splitted easy.c into small 3209207753Smm pieces to avoid unneeded dependencies making statically 3210207753Smm linked applications bigger than needed. 3211207753Smm 3212207753Smmcommit 7494816ab08d82f4d6409788825930c4e43cfd0d 3213207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3214207753SmmDate: Sun Feb 15 15:48:45 2009 +0200 3215207753Smm 3216207753Smm Make physmem.h work on old Windows versions. 3217207753Smm Thanks to Hongbo Ni for the original patch. 3218207753Smm 3219207753Smmcommit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0 3220207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3221207753SmmDate: Sat Feb 14 20:44:52 2009 +0200 3222207753Smm 3223207753Smm Fix microsecond vs. nanosecond confusion in my_time(). 3224207753Smm 3225207753Smmcommit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7 3226207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3227207753SmmDate: Sat Feb 14 00:45:29 2009 +0200 3228207753Smm 3229207753Smm Cleanups to the code that detects the amount of RAM and 3230207753Smm the number of CPU cores. Added support for using sysinfo() 3231207753Smm on Linux systems whose libc lacks appropriate sysconf() 3232207753Smm support (at least dietlibc). The Autoconf macros were 3233207753Smm split into separate files, and CPU core count detection 3234207753Smm was moved from hardware.c to cpucores.h. The core count 3235207753Smm isn't used for anything real for now, so a problematic 3236207753Smm part in process.c was commented out. 3237207753Smm 3238207753Smmcommit 9c62371eab2706c46b1072f5935e28cb4cd9dca8 3239207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3240207753SmmDate: Fri Feb 13 18:23:50 2009 +0200 3241207753Smm 3242207753Smm Initial port to DOS using DJGPP. 3243207753Smm 3244207753Smmcommit 0dae8b7751d09e9c5a482d5519daaee4800ce203 3245207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3246207753SmmDate: Fri Feb 13 18:02:05 2009 +0200 3247207753Smm 3248207753Smm Windows port: Take advantage of the version number macros. 3249207753Smm Now the version number is not duplicated in the 3250207753Smm Windows-specific files anymore. 3251207753Smm 3252207753Smmcommit fdbc0cfa71f7d660855098a609175ba384259529 3253207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3254207753SmmDate: Fri Feb 13 18:00:03 2009 +0200 3255207753Smm 3256207753Smm Changed how the version number is specified in various places. 3257207753Smm Now configure.ac will get the version number directly from 3258207753Smm src/liblzma/api/lzma/version.h. The intent is to reduce the 3259207753Smm number of places where the version number is duplicated. In 3260207753Smm future, support for displaying Git commit ID may be added too. 3261207753Smm 3262207753Smmcommit 1d924e584b146136989f48c13fff2632896efb3d 3263207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3264207753SmmDate: Fri Feb 13 17:30:30 2009 +0200 3265207753Smm 3266207753Smm Fix handling of integrity check type in the xz command line tool. 3267207753Smm 3268207753Smmcommit 96c46df7deb231ea68a03d8d1da9de4c774e36d8 3269207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3270207753SmmDate: Fri Feb 13 17:29:02 2009 +0200 3271207753Smm 3272207753Smm Improve support for DOS-like systems. 3273207753Smm Here DOS-like means DOS, Windows, and OS/2. 3274207753Smm 3275207753Smmcommit b6a30ee8c2de60ecd722cd05223e4ba72f822e33 3276207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3277207753SmmDate: Wed Feb 11 20:02:32 2009 +0200 3278207753Smm 3279207753Smm Remove dead directories from .gitignore. 3280207753Smm 3281207753Smmcommit 1ec5b0027911d94cb6f98892cbc690f818d8a861 3282207753SmmAuthor: Jim Meyering <jim@meyering.net> 3283207753SmmDate: Wed Feb 11 14:45:14 2009 +0100 3284207753Smm 3285207753Smm .gitignore vs. Makefiles 3286207753Smm 3287207753Smm How about this for those of us who do srcdir builds? 3288207753Smm 3289207753Smmcommit 154f5aec2de201c674841de4fcc9804c2a87af07 3290207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3291207753SmmDate: Tue Feb 10 21:48:35 2009 +0200 3292207753Smm 3293207753Smm Removed Makefile from .gitignore since not all Makefiles 3294207753Smm in the repository are generated by Autotools. People 3295207753Smm should do test builds in a separate build directory anyway. 3296207753Smm 3297207753Smmcommit e605c2663691b0a4c307786aa368d124ea081daa 3298207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3299207753SmmDate: Tue Feb 10 21:48:05 2009 +0200 3300207753Smm 3301207753Smm Added resource files for the Windows build. 3302207753Smm 3303207753Smmcommit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476 3304207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3305207753SmmDate: Mon Feb 9 14:54:31 2009 +0200 3306207753Smm 3307207753Smm Let the user specify custom CFLAGS on the make command 3308207753Smm line. Previously custom CFLAGS worked only when they were 3309207753Smm passed to configure. 3310207753Smm 3311207753Smmcommit 53f7598998b1860a69c51243b5d2e34623c6bf60 3312207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3313207753SmmDate: Sun Feb 8 21:35:11 2009 +0200 3314207753Smm 3315207753Smm Fix aliasing issue in physmem.h. 3316207753Smm 3317207753Smmcommit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6 3318207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3319207753SmmDate: Sun Feb 8 18:24:50 2009 +0200 3320207753Smm 3321207753Smm Add a separate internal function to initialize the CRC32 3322207753Smm table, which is used also by LZ encoder. This was needed 3323207753Smm because calling lzma_crc32() and ignoring the result is 3324207753Smm a no-op due to lzma_attr_pure. 3325207753Smm 3326207753Smmcommit ae1ad9af54210c9a2be336b1316532da5071516c 3327207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3328207753SmmDate: Sun Feb 8 18:17:05 2009 +0200 3329207753Smm 3330207753Smm Make "xz --force" to write to terminal as the error 3331207753Smm message suggests. 3332207753Smm 3333207753Smmcommit 79e25eded48d2fe33f31441ab7a034f902e335f8 3334207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3335207753SmmDate: Sun Feb 8 10:37:50 2009 +0200 3336207753Smm 3337207753Smm Support both slash and backslash as path component 3338207753Smm separator on Windows when parsing argv[0]. 3339207753Smm 3340207753Smmcommit bc7c7109cc4410055a888c1c70cbd1c9445c4361 3341207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3342207753SmmDate: Sat Feb 7 23:18:13 2009 +0200 3343207753Smm 3344207753Smm Omit the wrong and (even if corrected) nowadays useless rm 3345207753Smm from autogen.sh. 3346207753Smm 3347207753Smmcommit edfc2031e56f8a2ccda063f02936b3a848d88723 3348207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3349207753SmmDate: Sat Feb 7 21:41:52 2009 +0200 3350207753Smm 3351207753Smm Updated THANKS. 3352207753Smm 3353207753Smmcommit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3 3354207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3355207753SmmDate: Sat Feb 7 21:17:07 2009 +0200 3356207753Smm 3357207753Smm Make it easy to choose if command line tools should be 3358207753Smm linked statically or dynamically against liblzma. The 3359207753Smm default is still to use static liblzma, but it can now 3360207753Smm be changed by passing --enable-dynamic to configure. 3361207753Smm Thanks to Mike Frysinger for the original patch. 3362207753Smm 3363207753Smm Fixed a few minor bugs in configure.ac. 3364207753Smm 3365207753Smmcommit 3f86532407e4ace3debb62be16035e009b56ca36 3366207753SmmAuthor: Mike Frysinger <vapier@gentoo.org> 3367207753SmmDate: Fri Feb 6 23:38:39 2009 -0500 3368207753Smm 3369207753Smm add gitignore files 3370207753Smm 3371207753Smm Signed-off-by: Mike Frysinger <vapier@gentoo.org> 3372207753Smm 3373207753Smmcommit bd7ca1dad5c146b6217799ffaa230c32d207a3e5 3374207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3375207753SmmDate: Sat Feb 7 17:07:52 2009 +0200 3376207753Smm 3377207753Smm Assume 32 MiB of RAM on unsupported operating systems like 3378207753Smm the comment in hardware.c already said. 3379207753Smm 3380207753Smmcommit d0ab8c1c73ae712adb0d26fbb9da762d99a63618 3381207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3382207753SmmDate: Sat Feb 7 16:26:58 2009 +0200 3383207753Smm 3384207753Smm MinGW support: Don't build fastpos_tablegen.c as part of 3385207753Smm liblzma. Build both static and dynamic liblzma, and also 3386207753Smm static and dynamic versions of the command line tools. 3387207753Smm 3388207753Smmcommit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45 3389207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3390207753SmmDate: Sat Feb 7 15:55:47 2009 +0200 3391207753Smm 3392207753Smm Support LZMA_API_STATIC in assembler files to 3393207753Smm avoid __declspec(dllexport) equivalent. 3394207753Smm 3395207753Smmcommit 3306cf3883492720b3c34baa02f4eb4227d91c73 3396207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3397207753SmmDate: Sat Feb 7 11:11:50 2009 +0200 3398207753Smm 3399207753Smm Introduced LZMA_API_STATIC macro, which the applications 3400207753Smm need to #define when linking against static liblzma on 3401207753Smm platforms like Windows. Most developers don't need to 3402207753Smm care about LZMA_API_STATIC at all. 3403207753Smm 3404207753Smmcommit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b 3405207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3406207753SmmDate: Fri Feb 6 16:55:45 2009 +0200 3407207753Smm 3408207753Smm Another grammar fix 3409207753Smm 3410207753Smmcommit fe5434f940f75fec3611cf9d9edf78c4da8ac760 3411207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3412207753SmmDate: Fri Feb 6 12:30:23 2009 +0200 3413207753Smm 3414207753Smm Grammar fix in README. 3415207753Smm 3416207753Smmcommit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245 3417207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3418207753SmmDate: Fri Feb 6 10:06:32 2009 +0200 3419207753Smm 3420207753Smm Some MSYS installations (e.g. MsysGit) don't include 3421207753Smm install.exe, so don't rely on it. 3422207753Smm 3423207753Smmcommit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31 3424207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3425207753SmmDate: Fri Feb 6 09:13:15 2009 +0200 3426207753Smm 3427207753Smm Recreated the BCJ test files for x86 and SPARC. The old files 3428207753Smm were linked with crt*.o, which are copyrighted, and thus the 3429207753Smm old test files were not in the public domain as a whole. They 3430207753Smm are freely distributable though, but it is better to be careful 3431207753Smm and avoid including any copyrighted pieces in the test files. 3432207753Smm The new files are just compiled and assembled object files, 3433207753Smm and thus don't contain any copyrighted code. 3434207753Smm 3435207753Smmcommit 094b1b09a531f0d201ec81f2b07346a995fd80b9 3436207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3437207753SmmDate: Thu Feb 5 21:21:27 2009 +0200 3438207753Smm 3439207753Smm Add the "windows" directory to EXTRA_DIST. 3440207753Smm 3441207753Smmcommit e1c3412eec7acec7ca3b32c9c828f3147dc65b49 3442207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3443207753SmmDate: Thu Feb 5 09:17:51 2009 +0200 3444207753Smm 3445207753Smm Added initial experimental makefile for use with MinGW. 3446207753Smm 3447207753Smmcommit 75905a9afc0ee89954ede7d08af70d1148bf0fd9 3448207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3449207753SmmDate: Thu Feb 5 09:12:57 2009 +0200 3450207753Smm 3451207753Smm Various code cleanups the the xz command line tool. 3452207753Smm It now builds with MinGW. 3453207753Smm 3454207753Smmcommit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe 3455207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3456207753SmmDate: Tue Feb 3 12:15:17 2009 +0200 3457207753Smm 3458207753Smm Another utime() fix. 3459207753Smm 3460207753Smmcommit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca 3461207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3462207753SmmDate: Tue Feb 3 10:41:11 2009 +0200 3463207753Smm 3464207753Smm Fix wrong filename argument for utime() and utimes(). 3465207753Smm This doesn't affect most systems, since most systems 3466207753Smm have better functions available. 3467207753Smm 3468207753Smmcommit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302 3469207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3470207753SmmDate: Mon Feb 2 21:19:01 2009 +0200 3471207753Smm 3472207753Smm Updated the x86 assembler code: 3473207753Smm - Use call/ret pair to get instruction pointer for PIC. 3474207753Smm - Use PIC only if PIC or __PIC__ is #defined. 3475207753Smm - The code should work on MinGW and Darwin in addition 3476207753Smm to GNU/Linux and Solaris. 3477207753Smm 3478207753Smmcommit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f 3479207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3480207753SmmDate: Mon Feb 2 20:14:03 2009 +0200 3481207753Smm 3482207753Smm Modify LZMA_API macro so that it works on Windows with 3483207753Smm other compilers than MinGW. This may hurt readability 3484207753Smm of the API headers slightly, but I don't know any 3485207753Smm better way to do this. 3486207753Smm 3487207753Smmcommit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65 3488207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3489207753SmmDate: Sun Feb 1 22:40:35 2009 +0200 3490207753Smm 3491207753Smm Fix a bug in lzma_block_buffer_decode(), although this 3492207753Smm function should be rewritten anyway. 3493207753Smm 3494207753Smmcommit 55fd41431e61fb8178858283d636b6781e33e847 3495207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3496207753SmmDate: Sun Feb 1 22:39:07 2009 +0200 3497207753Smm 3498207753Smm Added initial version of raw buffer-to-buffer coding 3499207753Smm functions, and cleaned up filter.h API header a little. 3500207753Smm May be very buggy, not tested yet. 3501207753Smm 3502207753Smmcommit 3e54ecee5cad30a5ca361a88a99230407abc0699 3503207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3504207753SmmDate: Sun Feb 1 00:11:20 2009 +0200 3505207753Smm 3506207753Smm Fix missing newlines in xzdec.c. 3507207753Smm 3508207753Smmcommit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35 3509207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3510207753SmmDate: Sun Feb 1 00:10:07 2009 +0200 3511207753Smm 3512207753Smm Use __cdecl also for function pointers in liblzma API when 3513207753Smm on Windows. 3514207753Smm 3515207753Smmcommit 6a2eb54092fc625d59921a607ff68cd1a90aa898 3516207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3517207753SmmDate: Sat Jan 31 11:01:48 2009 +0200 3518207753Smm 3519207753Smm Add LZMA_API to liblzma API headers. It's useful at least 3520207753Smm on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h 3521207753Smm has to be #included separately where needed. 3522207753Smm 3523207753Smmcommit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b 3524207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3525207753SmmDate: Sat Jan 31 10:13:09 2009 +0200 3526207753Smm 3527207753Smm Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. 3528207753Smm 3529207753Smmcommit 2dbdc5befb33c3703e4609809101047c67caf343 3530207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3531207753SmmDate: Sat Jan 31 10:02:52 2009 +0200 3532207753Smm 3533207753Smm Fix two lines in lzma.h on which the # wasn't at the 3534207753Smm beginning of the line. 3535207753Smm 3536207753Smmcommit 4ab760109106dc04f39dd81c97d50f528d1b51c1 3537207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3538207753SmmDate: Sat Jan 31 09:55:05 2009 +0200 3539207753Smm 3540207753Smm Add support for using liblzma headers in MSVC, which has no 3541207753Smm stdint.h or inttypes.h. 3542207753Smm 3543207753Smmcommit b2172cf823d3be34cb0246cb4cb32d105e2a34c9 3544207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3545207753SmmDate: Sat Jan 31 08:49:54 2009 +0200 3546207753Smm 3547207753Smm Fix # -> ## in a macro in lzma.h. 3548207753Smm 3549207753Smmcommit 1aae8698746d3c87a93f8398cdde2de9ba1f7208 3550207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3551207753SmmDate: Fri Jan 30 18:50:16 2009 +0200 3552207753Smm 3553207753Smm Updated README. 3554207753Smm 3555207753Smmcommit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb 3556207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3557207753SmmDate: Fri Jan 30 00:29:58 2009 +0200 3558207753Smm 3559207753Smm Remove dangling crc64_init.c. 3560207753Smm 3561207753Smmcommit 982da7ed314398420c38bf154a8f759d5f18b480 3562207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3563207753SmmDate: Wed Jan 28 17:16:38 2009 +0200 3564207753Smm 3565207753Smm The .xz file format specification version 1.0.0 is now 3566207753Smm officially released. The format has been technically the same 3567207753Smm since 2008-11-19, but now that it is frozen, people can start 3568207753Smm using it without a fear that the format will break. 3569207753Smm 3570207753Smmcommit c4683a660b4372156bdaf92f0cdc54a58f95ee6f 3571207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3572207753SmmDate: Wed Jan 28 08:45:59 2009 +0200 3573207753Smm 3574207753Smm Updated THANKS. 3575207753Smm 3576207753Smmcommit 3241317093595db9f79104faafe93cb989c9f858 3577207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3578207753SmmDate: Wed Jan 28 08:43:26 2009 +0200 3579207753Smm 3580207753Smm Fix uninitialized variables in alone_decoder.c. This bug was 3581207753Smm triggered by the previous commit, since these variables were 3582207753Smm not used by anything before support for a preset dictionary. 3583207753Smm 3584207753Smmcommit f76e39cf930f888d460b443d18f977ebedea8b2a 3585207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3586207753SmmDate: Tue Jan 27 18:36:05 2009 +0200 3587207753Smm 3588207753Smm Added initial support for preset dictionary for raw LZMA1 3589207753Smm and LZMA2. It is not supported by the .xz format or the xz 3590207753Smm command line tool yet. 3591207753Smm 3592207753Smmcommit 449b8c832b26c3633f3bec60095e57d2d3ada1f3 3593207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3594207753SmmDate: Mon Jan 26 20:09:17 2009 +0200 3595207753Smm 3596207753Smm Regenerate the CRC tables without trailing blanks. 3597207753Smm 3598207753Smmcommit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2 3599207753SmmAuthor: Jim Meyering <meyering@redhat.com> 3600207753SmmDate: Mon Jan 19 21:37:16 2009 +0100 3601207753Smm 3602207753Smm remove trailing blanks from all but .xz files 3603207753Smm 3604207753Smmcommit 667481f1aad34e1ed15738e7913a9c7e256b4cf5 3605207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3606207753SmmDate: Mon Jan 26 14:34:10 2009 +0200 3607207753Smm 3608207753Smm Add lzma_block_buffer_decode(). 3609207753Smm 3610207753Smmcommit 5fb34d8324d3e7e0061df25d0086b64c8726b19d 3611207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3612207753SmmDate: Mon Jan 26 14:33:28 2009 +0200 3613207753Smm 3614207753Smm Add more sanity checks to lzma_stream_buffer_decode(). 3615207753Smm 3616207753Smmcommit c129748675a5daa8838df92bde32cc04f6ce61ba 3617207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3618207753SmmDate: Mon Jan 26 14:33:13 2009 +0200 3619207753Smm 3620207753Smm Avoid hardcoded constant in easy.c. 3621207753Smm 3622207753Smmcommit 1859d22d75e072463db74c25bc3f5a7992e5fdf6 3623207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3624207753SmmDate: Mon Jan 26 13:06:49 2009 +0200 3625207753Smm 3626207753Smm Tiny bit better sanity check in block_util.c 3627207753Smm 3628207753Smmcommit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7 3629207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3630207753SmmDate: Sun Jan 25 01:35:56 2009 +0200 3631207753Smm 3632207753Smm Fix a dumb bug in Block decoder, which made it return 3633207753Smm LZMA_DATA_ERROR with valid data. The bug was added in 3634207753Smm e114502b2bc371e4a45449832cb69be036360722. 3635207753Smm 3636207753Smmcommit c81f13ff29271de7293f8af3d81848b1dcae3d19 3637207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3638207753SmmDate: Fri Jan 23 22:27:50 2009 +0200 3639207753Smm 3640207753Smm Added lzma_stream_buffer_decode() and made minor cleanups. 3641207753Smm 3642207753Smmcommit 0b3318661ce749550b8531dfd469639a08930391 3643207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3644207753SmmDate: Thu Jan 22 12:53:33 2009 +0200 3645207753Smm 3646207753Smm Fix a comment. 3647207753Smm 3648207753Smmcommit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec 3649207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3650207753SmmDate: Tue Jan 20 16:37:27 2009 +0200 3651207753Smm 3652207753Smm Add some single-call buffer-to-buffer coding functions. 3653207753Smm 3654207753Smmcommit d8b58d099340f8f4007b24b211ee41a7210c061c 3655207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3656207753SmmDate: Tue Jan 20 13:45:41 2009 +0200 3657207753Smm 3658207753Smm Block encoder cleanups 3659207753Smm 3660207753Smmcommit 0c09810cb3635cb575cb54e694d41523e7d0a335 3661207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3662207753SmmDate: Tue Jan 20 10:35:15 2009 +0200 3663207753Smm 3664207753Smm Use LZMA_PROG_ERROR in lzma_code() as documented in base.h. 3665207753Smm 3666207753Smmcommit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00 3667207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3668207753SmmDate: Mon Jan 19 22:53:18 2009 +0200 3669207753Smm 3670207753Smm Fix handling of non-fatal errors in lzma_code(). 3671207753Smm 3672207753Smmcommit 4810b6bc25087be872960b9dd1d11ff07735dc88 3673207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3674207753SmmDate: Mon Jan 19 14:00:33 2009 +0200 3675207753Smm 3676207753Smm Move some LZMA2 constants to lzma2_encoder.h so that they 3677207753Smm can be used outside lzma2_encoder.c. 3678207753Smm 3679207753Smmcommit 00be5d2e09f9c7a6a8563465ad8b8042866817a4 3680207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3681207753SmmDate: Mon Jan 19 13:52:36 2009 +0200 3682207753Smm 3683207753Smm Remove dead code. 3684207753Smm 3685207753Smmcommit 128586213f77c9bd82b7e9a62927f6d0c3769d85 3686207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3687207753SmmDate: Sat Jan 17 14:24:25 2009 +0200 3688207753Smm 3689207753Smm Beta was supposed to be API stable but I had forgot to rename 3690207753Smm lzma_memlimit_encoder and lzma_memlimit_decoder to 3691207753Smm lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( 3692207753Smm Now it is fixed. Hopefully it doesn't cause too much trouble 3693207753Smm to those who already thought API is stable. 3694207753Smm 3695207753Smmcommit b056379490be5c584c264a967f0540041a163a1e 3696207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3697207753SmmDate: Thu Jan 15 14:29:22 2009 +0200 3698207753Smm 3699207753Smm Updated THANKS. 3700207753Smm 3701207753Smmcommit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89 3702207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3703207753SmmDate: Thu Jan 15 14:27:32 2009 +0200 3704207753Smm 3705207753Smm Fixed a bug in 7z2lzma.bash to make it work with .7z files 3706207753Smm that use something else than 2^n as the dictionary size. 3707207753Smm Thanks to Dan Shechter for the bug report. 3708207753Smm 3709207753Smmcommit 8286a60b8f4bd5accfbc9d229d2204bac31994f2 3710207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3711207753SmmDate: Wed Jan 7 18:41:15 2009 +0200 3712207753Smm 3713207753Smm Use pthread_sigmask() instead of sigprocmask() when pthreads 3714207753Smm are enabled. 3715207753Smm 3716207753Smmcommit 4fd43cb3a906f6da2943f69239ee984c4787c9a9 3717207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3718207753SmmDate: Wed Dec 31 20:01:00 2008 +0200 3719207753Smm 3720207753Smm Bumped version to 4.999.8beta right after the release 3721207753Smm of 4.999.7beta. 3722207753Smm 3723207753Smmcommit 061748f5932719643cda73383db715167d543c22 3724207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3725207753SmmDate: Wed Dec 31 18:59:02 2008 +0200 3726207753Smm 3727207753Smm Disable Subblock filter from test_compress.sh since it is 3728207753Smm disabled by default in configure.ac. 3729207753Smm 3730207753Smmcommit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78 3731207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3732207753SmmDate: Wed Dec 31 17:44:20 2008 +0200 3733207753Smm 3734207753Smm Disable both Subblock encoder and decoder my default, 3735207753Smm since they are not finished and may have security issues too. 3736207753Smm 3737207753Smmcommit b59f1e98f50694cf6a8f1b342fd878feebdb2f88 3738207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3739207753SmmDate: Wed Dec 31 17:42:50 2008 +0200 3740207753Smm 3741207753Smm Update some files in debug directory. 3742207753Smm 3743207753Smmcommit d1d17a40d33a9682424ca37282813492f2cba6d0 3744207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3745207753SmmDate: Wed Dec 31 17:41:46 2008 +0200 3746207753Smm 3747207753Smm Prepare for 4.999.7beta release. 3748207753Smm 3749207753Smmcommit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3 3750207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3751207753SmmDate: Wed Dec 31 17:15:03 2008 +0200 3752207753Smm 3753207753Smm Cleaned up some comments in the API headers. 3754207753Smm 3755207753Smmcommit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40 3756207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3757207753SmmDate: Wed Dec 31 16:29:39 2008 +0200 3758207753Smm 3759207753Smm Renamed lzma_options_simple to lzma_options_bcj in the API. 3760207753Smm The internal implementation is still using the name "simple". 3761207753Smm It may need some cleanups, so I look at it later. 3762207753Smm 3763207753Smmcommit 7eea8bec3abfed883efba66264a1452a1c04f6b0 3764207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3765207753SmmDate: Wed Dec 31 00:57:27 2008 +0200 3766207753Smm 3767207753Smm Fixed missing quoting in configure.ac. 3768207753Smm 3769207753Smmcommit 28e75f7086dbe9501d926c370375c69dfb1236ce 3770207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3771207753SmmDate: Wed Dec 31 00:48:23 2008 +0200 3772207753Smm 3773207753Smm Updated src/liblzma/Makefile.am to use liblzma.pc.in, which 3774207753Smm should have been in the previous commit. 3775207753Smm 3776207753Smmcommit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90 3777207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3778207753SmmDate: Wed Dec 31 00:30:49 2008 +0200 3779207753Smm 3780207753Smm Remove lzma_init() and other init functions from liblzma API. 3781207753Smm Half of developers were already forgetting to use these 3782207753Smm functions, which could have caused total breakage in some future 3783207753Smm liblzma version or even now if --enable-small was used. Now 3784207753Smm liblzma uses pthread_once() to do the initializations unless 3785207753Smm it has been built with --disable-threads which make these 3786207753Smm initializations thread-unsafe. 3787207753Smm 3788207753Smm When --enable-small isn't used, liblzma currently gets needlessly 3789207753Smm linked against libpthread (on systems that have it). While it is 3790207753Smm stupid for now, liblzma will need threads in future anyway, so 3791207753Smm this stupidity will be temporary only. 3792207753Smm 3793207753Smm When --enable-small is used, different code CRC32 and CRC64 is 3794207753Smm now used than without --enable-small. This made the resulting 3795207753Smm binary slightly smaller, but the main reason was to clean it up 3796207753Smm and to handle the lack of lzma_init_check(). 3797207753Smm 3798207753Smm The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not 3799207753Smm sure if it works correctly and portably for static linking 3800207753Smm (Libs.private includes -pthread or other operating system 3801207753Smm specific flags). Hopefully someone complains if it is bad. 3802207753Smm 3803207753Smm lzma_rc_prices[] is now included as a precomputed array even 3804207753Smm with --enable-small. It's just 128 bytes now that it uses uint8_t 3805207753Smm instead of uint32_t. Smaller array seemed to be at least as fast 3806207753Smm as the more bloated uint32_t array on x86; hopefully it's not bad 3807207753Smm on other architectures. 3808207753Smm 3809207753Smmcommit 5cda29b5665004fc0f21d0c41d78022a6a559ab2 3810207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3811207753SmmDate: Sat Dec 27 19:40:31 2008 +0200 3812207753Smm 3813207753Smm Use 28 MiB as memory usage limit for encoding in test_compress.sh. 3814207753Smm 3815207753Smmcommit 050eb14d29e2537c014662e83599fd8a77f13c45 3816207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3817207753SmmDate: Sat Dec 27 19:32:20 2008 +0200 3818207753Smm 3819207753Smm Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680 3820207753Smm that was related to LZMA_MODE_FAST. The original code is slightly 3821207753Smm faster although it compresses slightly worse. But since it is fast 3822207753Smm mode, it is better to select the faster version. 3823207753Smm 3824207753Smmcommit 4820f10d0f173864f6a2ea7479663b509ac53358 3825207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3826207753SmmDate: Sat Dec 27 19:30:19 2008 +0200 3827207753Smm 3828207753Smm Some xz command line tool improvements. 3829207753Smm 3830207753Smmcommit e33194e79d8f5ce07cb4aca909b324ae75098f7e 3831207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3832207753SmmDate: Sat Dec 27 19:27:49 2008 +0200 3833207753Smm 3834207753Smm Bunch of liblzma tweaks, including some API changes. 3835207753Smm The API and ABI should now be very close to stable, 3836207753Smm although the code behind it isn't yet. 3837207753Smm 3838207753Smmcommit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074 3839207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3840207753SmmDate: Thu Dec 18 13:42:52 2008 +0200 3841207753Smm 3842207753Smm Updated Makefile.am that was missing from the previous commit. 3843207753Smm 3844207753Smmcommit 634636fa56ccee6e744f78b0abed76c8940f2f8f 3845207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3846207753SmmDate: Wed Dec 17 21:49:53 2008 +0200 3847207753Smm 3848207753Smm Remove the alignment functions for now. Maybe they will 3849207753Smm be added back in some form later, but the current version 3850207753Smm wasn't modular, so it would need fixing anyway. 3851207753Smm 3852207753Smmcommit 4fed98417d1687f5eccccb42a133fde3ec81216a 3853207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3854207753SmmDate: Wed Dec 17 20:11:23 2008 +0200 3855207753Smm 3856207753Smm xz message handling improvements 3857207753Smm 3858207753Smmcommit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d 3859207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3860207753SmmDate: Mon Dec 15 23:26:43 2008 +0200 3861207753Smm 3862207753Smm Fix a dumb bug in .lzma decoder which was introduced in 3863207753Smm the previous commit. (Probably the previous commit has 3864207753Smm other bugs too, it wasn't tested.) 3865207753Smm 3866207753Smmcommit 671a5adf1e844bfdd6fd327016c3c28694493158 3867207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3868207753SmmDate: Mon Dec 15 19:39:13 2008 +0200 3869207753Smm 3870207753Smm Bunch of liblzma API cleanups and fixes. 3871207753Smm 3872207753Smmcommit 17781c2c20fd77029cb32e77792889f2f211d69d 3873207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3874207753SmmDate: Mon Dec 15 14:26:52 2008 +0200 3875207753Smm 3876207753Smm The LZMA2 decoder fix introduced a bug to LZ decoder, 3877207753Smm which made LZ decoder return too early after dictionary 3878207753Smm reset. This fixes it. 3879207753Smm 3880207753Smmcommit f9f2d1e74398500724041f7fb3c38db35ad8c8d8 3881207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3882207753SmmDate: Mon Dec 15 11:20:22 2008 +0200 3883207753Smm 3884207753Smm Added two new test files. 3885207753Smm 3886207753Smmcommit ff7fb2c605bccc411069e07b9f11fb957aea2ddf 3887207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3888207753SmmDate: Mon Dec 15 10:01:59 2008 +0200 3889207753Smm 3890207753Smm Fix data corruption in LZMA2 decoder. 3891207753Smm 3892207753Smmcommit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613 3893207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3894207753SmmDate: Sat Dec 13 00:54:11 2008 +0200 3895207753Smm 3896207753Smm Name the package "xz" in configure.ac. 3897207753Smm 3898207753Smmcommit a94bf00d0af9b423851905b031be5a645a657820 3899207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3900207753SmmDate: Fri Dec 12 22:43:21 2008 +0200 3901207753Smm 3902207753Smm Some adjustments to GCC warning flags. The important change 3903207753Smm is the removal of -pedantic. It messes up -Werror (which I 3904207753Smm really want to keep so that I don't miss any warnings) with 3905207753Smm printf format strings that are in POSIX but not in C99. 3906207753Smm 3907207753Smmcommit 8582d392baacd2cdac07ca60041f8c661323676d 3908207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3909207753SmmDate: Wed Dec 10 01:31:00 2008 +0200 3910207753Smm 3911207753Smm Remove obsolete comment. 3912207753Smm 3913207753Smmcommit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1 3914207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3915207753SmmDate: Wed Dec 10 01:27:15 2008 +0200 3916207753Smm 3917207753Smm Use "decompression" consistently in --long-help. 3918207753Smm 3919207753Smmcommit 1ea9e7f15afd5d3981e2432710e932320597bca9 3920207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3921207753SmmDate: Wed Dec 10 01:23:58 2008 +0200 3922207753Smm 3923207753Smm Added preset=NUM to --lzma1 and --lzma2. This makes it easy 3924207753Smm to take a preset as a template and modify it a little. 3925207753Smm 3926207753Smmcommit bceb3918dbb21f34976bfdd4c171a81319de71f7 3927207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3928207753SmmDate: Tue Dec 9 17:43:31 2008 +0200 3929207753Smm 3930207753Smm Put the file format specification into the public domain. 3931207753Smm Same will be done to the actual code later. 3932207753Smm 3933207753Smmcommit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 3934207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3935207753SmmDate: Tue Dec 9 17:41:49 2008 +0200 3936207753Smm 3937207753Smm Make the memusage functions of LZMA1 and LZMA2 encoders 3938207753Smm to validate the filter options. Add missing validation 3939207753Smm to LZMA2 encoder when options are changed in the middle 3940207753Smm of encoding. 3941207753Smm 3942207753Smmcommit f20a03206b71ff01b827bb7a932411d6a6a4e06a 3943207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3944207753SmmDate: Tue Dec 9 10:36:24 2008 +0200 3945207753Smm 3946207753Smm Updated THANKS. 3947207753Smm 3948207753Smmcommit ef7890d56453dca1aeb2e12db29b7e418d93dde4 3949207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3950207753SmmDate: Mon Dec 1 23:04:12 2008 +0200 3951207753Smm 3952207753Smm In command line tool, take advantage of memusage calculation's 3953207753Smm ability to also validate the filter chain and options (not 3954207753Smm implemented yet for all filters). 3955207753Smm 3956207753Smmcommit ccd57afa09e332d664d6d6a7498702791ea5f659 3957207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3958207753SmmDate: Mon Dec 1 22:59:28 2008 +0200 3959207753Smm 3960207753Smm Validate the filter chain before checking filter-specific 3961207753Smm memory usage. 3962207753Smm 3963207753Smmcommit c596fda40b62fe1683d0ac34d0c673dcaae2aa15 3964207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3965207753SmmDate: Mon Dec 1 22:58:22 2008 +0200 3966207753Smm 3967207753Smm Make the memusage functions of LZMA1 and LZMA2 decoders 3968207753Smm to validate the filter options. 3969207753Smm 3970207753Smmcommit c58f469be5bb9b0bdab825c6687445fd553f4f3a 3971207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3972207753SmmDate: Mon Dec 1 22:55:18 2008 +0200 3973207753Smm 3974207753Smm Added the changes for Delta filter that should have been 3975207753Smm part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. 3976207753Smm 3977207753Smmcommit cd708015202dbf7585b84a8781462a20c42a324b 3978207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3979207753SmmDate: Mon Dec 1 22:50:28 2008 +0200 3980207753Smm 3981207753Smm LZMA2 decoder cleanups. Make it require new LZMA properties 3982207753Smm also in the first LZMA chunk after a dictionary reset in 3983207753Smm uncompressed chunk. 3984207753Smm 3985207753Smmcommit 656ec87882ee74b192c4ea4a233a235eca7b04d4 3986207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3987207753SmmDate: Mon Dec 1 16:30:11 2008 +0200 3988207753Smm 3989207753Smm Added lzma_delta_coder_memusage() which also validates 3990207753Smm the options. 3991207753Smm 3992207753Smmcommit 691a9155b7a28882baf37e9d1e969e32e91dbc7a 3993207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 3994207753SmmDate: Sat Nov 29 10:03:49 2008 +0200 3995207753Smm 3996207753Smm Automake includes the m4 directory, so don't add it in 3997207753Smm Makefile.am separately. 3998207753Smm 3999207753Smm Updated THANKS. 4000207753Smm 4001207753Smmcommit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0 4002207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4003207753SmmDate: Fri Nov 28 12:00:48 2008 +0200 4004207753Smm 4005207753Smm Tested using COLUMNS environment variable to avoid broken 4006207753Smm progress indicator but since COLUMNS isn't usually available, 4007207753Smm the code was left commented out. 4008207753Smm 4009207753Smmcommit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd 4010207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4011207753SmmDate: Thu Nov 27 19:28:59 2008 +0200 4012207753Smm 4013207753Smm Cleanups to message.c. 4014207753Smm 4015207753Smmcommit a8368b75cdcd5427299001cc42839287f27b244d 4016207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4017207753SmmDate: Tue Nov 25 02:37:47 2008 +0200 4018207753Smm 4019207753Smm Remove the nowadays unneeded memory limitting malloc() wrapper. 4020207753Smm 4021207753Smmcommit 69472ee5f055a2bb6f28106f0923e1461fd1d080 4022207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4023207753SmmDate: Sun Nov 23 15:09:03 2008 +0200 4024207753Smm 4025207753Smm VLI encoder and decoder cleanups. Made encoder return 4026207753Smm LZMA_PROG_ERROR in single-call mode if there's no output 4027207753Smm space. 4028207753Smm 4029207753Smmcommit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650 4030207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4031207753SmmDate: Sat Nov 22 17:44:33 2008 +0200 4032207753Smm 4033207753Smm Typo fix 4034207753Smm 4035207753Smmcommit 6d1d6f4598d121253dbe1084c6866b66e95c361b 4036207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4037207753SmmDate: Thu Nov 20 22:59:10 2008 +0200 4038207753Smm 4039207753Smm Support NetBSD's errno for O_NOFOLLOW. 4040207753Smm 4041207753Smmcommit f901a290eef67b8ea4720ccdf5f46edf775ed9d7 4042207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4043207753SmmDate: Thu Nov 20 18:05:52 2008 +0200 4044207753Smm 4045207753Smm Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz 4046207753Smm files and lzmadec only .lzma files. 4047207753Smm 4048207753Smmcommit 86a0ed8f01c8ed44721223f885e679c71b7bb94c 4049207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4050207753SmmDate: Thu Nov 20 11:01:29 2008 +0200 4051207753Smm 4052207753Smm Minor cleanups to xzdec. 4053207753Smm 4054207753Smmcommit 54f716ba8905d09752dcd1519455a40bd21d5317 4055207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4056207753SmmDate: Wed Nov 19 23:55:22 2008 +0200 4057207753Smm 4058207753Smm Added missing check for uint16_t. 4059207753Smm 4060207753Smmcommit 1880a3927b23f265f63b2adb86fbdb81ea09eb06 4061207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4062207753SmmDate: Wed Nov 19 23:52:24 2008 +0200 4063207753Smm 4064207753Smm Renamed lzma to xz and lzmadec to xzdec. We create symlinks 4065207753Smm lzma, unlzma, and lzcat in "make install" for backwards 4066207753Smm compatibility with LZMA Utils 4.32.x; I'm not sure if this 4067207753Smm should be the default though. 4068207753Smm 4069207753Smmcommit e114502b2bc371e4a45449832cb69be036360722 4070207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4071207753SmmDate: Wed Nov 19 20:46:52 2008 +0200 4072207753Smm 4073207753Smm Oh well, big messy commit again. Some highlights: 4074207753Smm - Updated to the latest, probably final file format version. 4075207753Smm - Command line tool reworked to not use threads anymore. 4076207753Smm Threading will probably go into liblzma anyway. 4077207753Smm - Memory usage limit is now about 30 % for uncompression 4078207753Smm and about 90 % for compression. 4079207753Smm - Progress indicator with --verbose 4080207753Smm - Simplified --help and full --long-help 4081207753Smm - Upgraded to the last LGPLv2.1+ getopt_long from gnulib. 4082207753Smm - Some bug fixes 4083207753Smm 4084207753Smmcommit 3c3905b53462ae235c9438d86a4dc51086410932 4085207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4086207753SmmDate: Thu Oct 9 11:12:29 2008 +0300 4087207753Smm 4088207753Smm Fixed the test that should have been fixed as part 4089207753Smm of 1e8e4fd1f3e50129b4541406ad765d2aa1233943. 4090207753Smm 4091207753Smmcommit 0f295bf7a3ece01f667caae318cc3e3424085886 4092207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4093207753SmmDate: Tue Oct 7 16:42:18 2008 +0300 4094207753Smm 4095207753Smm Fixed some help messages. 4096207753Smm 4097207753Smmcommit 1e8e4fd1f3e50129b4541406ad765d2aa1233943 4098207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4099207753SmmDate: Tue Oct 7 09:40:31 2008 +0300 4100207753Smm 4101207753Smm Made the preset numbering more logical in liblzma API. 4102207753Smm 4103207753Smmcommit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81 4104207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4105207753SmmDate: Fri Oct 3 19:36:09 2008 +0300 4106207753Smm 4107207753Smm Removed fi from po/LINGUAS. 4108207753Smm 4109207753Smmcommit fcfb86c7770328cfffa2e83b176af9a1ba2d9128 4110207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4111207753SmmDate: Fri Oct 3 07:06:48 2008 +0300 4112207753Smm 4113207753Smm Fixed suffix handling with --format=raw. 4114207753Smm 4115207753Smmcommit bd137524f2f50e30ba054f42f1f6536cd3cee920 4116207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4117207753SmmDate: Thu Oct 2 22:51:46 2008 +0300 4118207753Smm 4119207753Smm Initial changes to change the suffix of the new format to .xz. 4120207753Smm This also fixes a bug related to --suffix option. Some issues 4121207753Smm with suffixes with --format=raw were not fixed. 4122207753Smm 4123207753Smmcommit 4c321a41c482821aa3c4d64cdf886a6ed904d844 4124207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4125207753SmmDate: Tue Sep 30 17:43:55 2008 +0300 4126207753Smm 4127207753Smm Renamed the test files from .lzma suffix to .xz suffix. 4128207753Smm 4129207753Smmcommit 8e60c889a2816a63013a35c99ce26bf28f5b78eb 4130207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4131207753SmmDate: Tue Sep 30 13:57:44 2008 +0300 4132207753Smm 4133207753Smm Fixed Stream decoder to actually use the first_stream variable. 4134207753Smm 4135207753Smmcommit 3bdbc12c054d1961133ee19802af7dd3c3494543 4136207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4137207753SmmDate: Tue Sep 30 13:56:57 2008 +0300 4138207753Smm 4139207753Smm Added one more test file. 4140207753Smm 4141207753Smmcommit a6639022fdc536e5659b070a465221b4cf7c51fa 4142207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4143207753SmmDate: Tue Sep 30 13:34:07 2008 +0300 4144207753Smm 4145207753Smm Fixed uninitialized variable in Stream decoder. 4146207753Smm 4147207753Smmcommit ed3709000a3f17ecefab29b2235d7e2221b00003 4148207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4149207753SmmDate: Tue Sep 30 13:27:28 2008 +0300 4150207753Smm 4151207753Smm Added two test files. 4152207753Smm 4153207753Smmcommit ea560b0ea80525752bdcd0074d24f8dc170bbe29 4154207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4155207753SmmDate: Sat Sep 27 23:49:24 2008 +0300 4156207753Smm 4157207753Smm Fix conflicting Subblock helper filter's ID. 4158207753Smm 4159207753Smmcommit ad97483b6e55142fd8d5c041db057017a891cd95 4160207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4161207753SmmDate: Sat Sep 27 23:37:13 2008 +0300 4162207753Smm 4163207753Smm Changed magic bytes to match the updated spec. Filename 4164207753Smm suffix wasn't changed yet. 4165207753Smm 4166207753Smmcommit 7a57069167e9e63394e2b095ee3a63253fcb51c7 4167207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4168207753SmmDate: Sat Sep 27 23:16:09 2008 +0300 4169207753Smm 4170207753Smm Remove po/fi.po since I'm not keeping it updated for now. 4171207753Smm 4172207753Smmcommit 018ae09df8f2fee5a7374f307df4cb42fad0b81e 4173207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4174207753SmmDate: Sat Sep 27 23:13:54 2008 +0300 4175207753Smm 4176207753Smm Fix also test_compress.sh. 4177207753Smm 4178207753Smmcommit 3a62a5fb85d2eebd8666e64ed5d364d095062858 4179207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4180207753SmmDate: Sat Sep 27 23:01:15 2008 +0300 4181207753Smm 4182207753Smm Fixed compilation of test_filter_flags.c, which was broken by 4183207753Smm 1dcecfb09b55157b8653d747963069c8bed74f04. 4184207753Smm 4185207753Smmcommit c6ca26eef7cd07eba449035514e2b8f9ac3111c0 4186207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4187207753SmmDate: Sat Sep 27 19:11:02 2008 +0300 4188207753Smm 4189207753Smm Updated file format specification. It changes the suffix 4190207753Smm of the new format to .xz and removes the recently added 4191207753Smm LZMA filter. 4192207753Smm 4193207753Smmcommit 1dcecfb09b55157b8653d747963069c8bed74f04 4194207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4195207753SmmDate: Sat Sep 27 19:09:21 2008 +0300 4196207753Smm 4197207753Smm Some API changes, bug fixes, cleanups etc. 4198207753Smm 4199207753Smmcommit 5cc5064cae603b649c64c40125c7dd365de54c9d 4200207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4201207753SmmDate: Sat Sep 27 11:28:49 2008 +0300 4202207753Smm 4203207753Smm Added 7z2lzma.bash. 4204207753Smm 4205207753Smmcommit f147666a5cd15542d4e427da58629f4a71cc38e1 4206207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4207207753SmmDate: Wed Sep 17 22:11:39 2008 +0300 4208207753Smm 4209207753Smm Miscellaneous LZ and LZMA encoder cleanups 4210207753Smm 4211207753Smmcommit 13d68b069849e19c33822cd8996cd6447890abb1 4212207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4213207753SmmDate: Sat Sep 13 13:54:00 2008 +0300 4214207753Smm 4215207753Smm LZ decoder cleanup 4216207753Smm 4217207753Smmcommit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7 4218207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4219207753SmmDate: Sat Sep 13 12:10:43 2008 +0300 4220207753Smm 4221207753Smm Renamed constants: 4222207753Smm - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX 4223207753Smm - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN 4224207753Smm - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR 4225207753Smm 4226207753Smmcommit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080 4227207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4228207753SmmDate: Fri Sep 12 22:41:40 2008 +0300 4229207753Smm 4230207753Smm Improved the Stream Flags handling API. 4231207753Smm 4232207753Smmcommit ec490da5228263b25bf786bb23d1008468f55b30 4233207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4234207753SmmDate: Thu Sep 11 23:10:44 2008 +0300 4235207753Smm 4236207753Smm Simplified debug/known_sizes.c to match the relaxed 4237207753Smm requirements of Block encoder. 4238207753Smm 4239207753Smmcommit 16e8b98f2659347edfa74afdbbb9e73311153cb9 4240207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4241207753SmmDate: Thu Sep 11 23:09:24 2008 +0300 4242207753Smm 4243207753Smm Remove a check from Block encoder that should have already 4244207753Smm been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e. 4245207753Smm 4246207753Smmcommit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13 4247207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4248207753SmmDate: Thu Sep 11 20:02:38 2008 +0300 4249207753Smm 4250207753Smm Remove bogus #includes. 4251207753Smm 4252207753Smmcommit 01892b2ca5f69bed0ea746e04b604030d57806bb 4253207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4254207753SmmDate: Thu Sep 11 10:49:14 2008 +0300 4255207753Smm 4256207753Smm Updated THANKS. 4257207753Smm 4258207753Smmcommit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d 4259207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4260207753SmmDate: Thu Sep 11 10:48:12 2008 +0300 4261207753Smm 4262207753Smm Fix a compiler error on big endian systems that don't 4263207753Smm support unaligned memory access. 4264207753Smm 4265207753Smmcommit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671 4266207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4267207753SmmDate: Thu Sep 11 10:46:14 2008 +0300 4268207753Smm 4269207753Smm Silence a compiler warning. 4270207753Smm 4271207753Smmcommit 9373e81e18822db4972819442ea4c2cb9955470b 4272207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4273207753SmmDate: Wed Sep 10 19:16:32 2008 +0300 4274207753Smm 4275207753Smm Bumped version to 4.999.6alpha. 4276207753Smm 4277207753Smmcommit cb072b7c8442ba68bb0c62c0abbbe939794887a3 4278207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4279207753SmmDate: Wed Sep 10 17:02:00 2008 +0300 4280207753Smm 4281207753Smm Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. 4282207753Smm Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID 4283207753Smm is in the reserved range. This allows Block Header encoder to 4284207753Smm detect unallowed Filter IDs, which is good for Stream encoder. 4285207753Smm 4286207753Smmcommit 123ab0acec435c9e9866a99e30482116cfbd9ba5 4287207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4288207753SmmDate: Wed Sep 10 16:44:32 2008 +0300 4289207753Smm 4290207753Smm Filter handling cleanups 4291207753Smm 4292207753Smmcommit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1 4293207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4294207753SmmDate: Wed Sep 10 00:33:00 2008 +0300 4295207753Smm 4296207753Smm Comments 4297207753Smm 4298207753Smmcommit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e 4299207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4300207753SmmDate: Wed Sep 10 00:27:02 2008 +0300 4301207753Smm 4302207753Smm Cleaned up Block encoder and moved the no longer shared 4303207753Smm code from block_private.h to block_decoder.c. Now the Block 4304207753Smm encoder doesn't need compressed_size and uncompressed_size 4305207753Smm from lzma_block structure to be initialized. 4306207753Smm 4307207753Smmcommit 07efcb5a6bc5d7018798ebd728586f84183e7d64 4308207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4309207753SmmDate: Sun Sep 7 10:23:13 2008 +0300 4310207753Smm 4311207753Smm Changed Filter ID of LZMA to 0x20. 4312207753Smm 4313207753Smmcommit 32fe5fa541e82c08e054086279079ae5016bd8d8 4314207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4315207753SmmDate: Sat Sep 6 23:42:50 2008 +0300 4316207753Smm 4317207753Smm Comments 4318207753Smm 4319207753Smmcommit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84 4320207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4321207753SmmDate: Sat Sep 6 15:14:30 2008 +0300 4322207753Smm 4323207753Smm Some API cleanups 4324207753Smm 4325207753Smmcommit da98df54400998be2a6c3876f9655a3c51b93c10 4326207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4327207753SmmDate: Thu Sep 4 11:53:06 2008 +0300 4328207753Smm 4329207753Smm Added support for raw encoding and decoding to the command 4330207753Smm line tool, and made various cleanups. --lzma was renamed to 4331207753Smm --lzma1 to prevent people from accidentally using LZMA when 4332207753Smm they want LZMA2. 4333207753Smm 4334207753Smmcommit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd 4335207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4336207753SmmDate: Thu Sep 4 10:39:15 2008 +0300 4337207753Smm 4338207753Smm Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's 4339207753Smm simply nothing that would use it. Allow LZMA_FINISH to the 4340207753Smm decoders, which will usually ignore it (auto decoder and 4341207753Smm Stream decoder being exceptions). 4342207753Smm 4343207753Smmcommit bea301c26d5d52675e11e0236faec0492af98f60 4344207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4345207753SmmDate: Wed Sep 3 17:06:25 2008 +0300 4346207753Smm 4347207753Smm Minor updates to the file format specification. 4348207753Smm 4349207753Smmcommit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8 4350207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4351207753SmmDate: Tue Sep 2 19:33:32 2008 +0300 4352207753Smm 4353207753Smm Command line tool fixes 4354207753Smm 4355207753Smmcommit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4 4356207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4357207753SmmDate: Tue Sep 2 19:31:42 2008 +0300 4358207753Smm 4359207753Smm Auto decoder cleanup 4360207753Smm 4361207753Smmcommit 689602336d126a46b60d791a67decab65e1e81f5 4362207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4363207753SmmDate: Tue Sep 2 19:12:12 2008 +0300 4364207753Smm 4365207753Smm Updated auto decoder to handle LZMA_CONCATENATED when decoding 4366207753Smm LZMA_Alone files. Decoding of concatenated LZMA_Alone files is 4367207753Smm intentionally not supported, so it is better to put this in 4368207753Smm auto decoder than LZMA_Alone decoder. 4369207753Smm 4370207753Smmcommit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c 4371207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4372207753SmmDate: Tue Sep 2 14:56:52 2008 +0300 4373207753Smm 4374207753Smm Stream decoder cleanups 4375207753Smm 4376207753Smmcommit fc681657450ce57be1fe08f7a15d31dcc705e514 4377207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4378207753SmmDate: Tue Sep 2 11:45:39 2008 +0300 4379207753Smm 4380207753Smm Some fixes to LZ encoder. 4381207753Smm 4382207753Smmcommit ede675f9ac1ca82a7d7c290324adba672118bc8d 4383207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4384207753SmmDate: Sun Aug 31 11:47:01 2008 +0300 4385207753Smm 4386207753Smm Fix wrong pointer calculation in LZMA encoder. 4387207753Smm 4388207753Smmcommit 3b34851de1eaf358cf9268922fa0eeed8278d680 4389207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4390207753SmmDate: Thu Aug 28 22:53:15 2008 +0300 4391207753Smm 4392207753Smm Sort of garbage collection commit. :-| Many things are still 4393207753Smm broken. API has changed a lot and it will still change a 4394207753Smm little more here and there. The command line tool doesn't 4395207753Smm have all the required changes to reflect the API changes, so 4396207753Smm it's easy to get "internal error" or trigger assertions. 4397207753Smm 4398207753Smmcommit 57b9a145a527f0716822615e5ed536d33aebd3fc 4399207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4400207753SmmDate: Fri Jun 20 17:16:32 2008 +0300 4401207753Smm 4402207753Smm Fix test_filter_flags to match the new restriction of lc+lp. 4403207753Smm 4404207753Smmcommit eaafc4367c77ec1d910e16d11b4da293969d97a3 4405207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4406207753SmmDate: Fri Jun 20 16:19:54 2008 +0300 4407207753Smm 4408207753Smm Remove some redundant code from LZMA encoder. 4409207753Smm 4410207753Smmcommit 0809c46534fa5664fe35d9e98d95e87312ed130e 4411207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4412207753SmmDate: Thu Jun 19 16:35:08 2008 +0300 4413207753Smm 4414207753Smm Add limit of lc + lp <= 4. Now we can allocate the 4415207753Smm literal coder as part of the main LZMA encoder or 4416207753Smm decoder structure. 4417207753Smm 4418207753Smm Make the LZMA decoder to rely on the current internal API 4419207753Smm to free the allocated memory in case an error occurs. 4420207753Smm 4421207753Smmcommit d25ab1b96178f06a0e724f58e3cd68300b2b1275 4422207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4423207753SmmDate: Wed Jun 18 21:45:19 2008 +0300 4424207753Smm 4425207753Smm Comments 4426207753Smm 4427207753Smmcommit 6368a2fa5901c75864be5171dd57a50af7adbb41 4428207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4429207753SmmDate: Wed Jun 18 19:19:02 2008 +0300 4430207753Smm 4431207753Smm Delete old code that was supposed to be already deleted 4432207753Smm from test_block_header.c. 4433207753Smm 4434207753Smmcommit 7d17818cec8597f847b0a2537fde991bbc3d9e96 4435207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4436207753SmmDate: Wed Jun 18 18:02:10 2008 +0300 4437207753Smm 4438207753Smm Update the code to mostly match the new simpler file format 4439207753Smm specification. Simplify things by removing most of the 4440207753Smm support for known uncompressed size in most places. 4441207753Smm There are some miscellaneous changes here and there too. 4442207753Smm 4443207753Smm The API of liblzma has got many changes and still some 4444207753Smm more will be done soon. While most of the code has been 4445207753Smm updated, some things are not fixed (the command line tool 4446207753Smm will choke with invalid filter chain, if nothing else). 4447207753Smm 4448207753Smm Subblock filter is somewhat broken for now. It will be 4449207753Smm updated once the encoded format of the Subblock filter 4450207753Smm has been decided. 4451207753Smm 4452207753Smmcommit bf6348d1a3ff09fdc06940468f318f75ffa6af11 4453207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4454207753SmmDate: Tue Jun 17 15:03:46 2008 +0300 4455207753Smm 4456207753Smm Update the file format specification draft. The new one is 4457207753Smm a lot simpler than the previous versions, but it also means 4458207753Smm that the existing code will change a lot. 4459207753Smm 4460207753Smmcommit 803194ddd26f01ff60ba4e9924c6087a56b29827 4461207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4462207753SmmDate: Wed Jun 11 21:42:47 2008 +0300 4463207753Smm 4464207753Smm Fix uninitialized variable in LZMA encoder. This was 4465207753Smm introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f. 4466207753Smm 4467207753Smmcommit 0ea98e52ba87453497b1355c51f13bad55c8924a 4468207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4469207753SmmDate: Wed Jun 11 15:08:44 2008 +0300 4470207753Smm 4471207753Smm Improve command line integer parsing a little in lzma and 4472207753Smm lzmadec to make them accept also KiB in addition Ki etc. 4473207753Smm Fix also memory usage information in lzmadec --help. 4474207753Smm 4475207753Smmcommit 436fa5fae96d4e35759aed33066060f09ee8c6ef 4476207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4477207753SmmDate: Tue Jun 10 20:36:12 2008 +0300 4478207753Smm 4479207753Smm s/decompressed/compressed/ in the command line tool's 4480207753Smm error message. 4481207753Smm 4482207753Smmcommit 369f72fd656f537a9a8e06f13e6d0d4c242be22f 4483207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4484207753SmmDate: Sun Jun 1 12:48:17 2008 +0300 4485207753Smm 4486207753Smm Fix a buffer overflow in the LZMA encoder. It was due to my 4487207753Smm misunderstanding of the code. There's no tiny fix for this 4488207753Smm problem, so I also cleaned up the code in general. 4489207753Smm 4490207753Smm This reduces the speed of the encoder 2-5 % in the fastest 4491207753Smm compression mode ("lzma -1"). High compression modes should 4492207753Smm have no noticeable performance difference. 4493207753Smm 4494207753Smm This commit breaks things (especially LZMA_SYNC_FLUSH) but I 4495207753Smm will fix them once the new format and LZMA2 has been roughly 4496207753Smm implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all 4497207753Smm and won't be supported in the new .lzma format. This may 4498207753Smm change still but this is what it looks like now. 4499207753Smm 4500207753Smm Support for known uncompressed size (that is, LZMA or LZMA2 4501207753Smm without EOPM) is likely to go away. This means there will 4502207753Smm be API changes. 4503207753Smm 4504207753Smmcommit e55e0e873ce2511325749d415ae547d62ab5f00d 4505207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4506207753SmmDate: Fri May 30 11:53:41 2008 +0300 4507207753Smm 4508207753Smm Typo fixes from meyering. 4509207753Smm 4510207753Smmcommit ed6664146fcbe9cc4a3b23b31632182ed812ea93 4511207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4512207753SmmDate: Sun May 11 14:24:42 2008 +0300 4513207753Smm 4514207753Smm Remove support for pre-C89 libc versions that lack memcpy, 4515207753Smm memmove, and memset. 4516207753Smm 4517207753Smmcommit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63 4518207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4519207753SmmDate: Sun May 11 14:17:21 2008 +0300 4520207753Smm 4521207753Smm Improved C99 compiler detection in configure.ac. It will 4522207753Smm pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic 4523207753Smm should still give warnings about GNU extensions like before 4524207753Smm except with some special keywords like asm(). 4525207753Smm 4526207753Smmcommit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf 4527207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4528207753SmmDate: Tue May 6 15:15:07 2008 +0300 4529207753Smm 4530207753Smm Bunch of grammar fixes from meyering. 4531207753Smm 4532207753Smmcommit dc192b6343ae36276c85fcf7ef6006147816eadc 4533207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4534207753SmmDate: Tue May 6 13:41:05 2008 +0300 4535207753Smm 4536207753Smm Typo fix 4537207753Smm 4538207753Smmcommit 944b62b93239b27b338d117f2668c0e95849659b 4539207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4540207753SmmDate: Sun May 4 22:29:27 2008 +0300 4541207753Smm 4542207753Smm Don't print an error message on broken pipe unless --verbose 4543207753Smm is used. 4544207753Smm 4545207753Smmcommit 8e074349e47ea6832b8fdf9244e581d453733433 4546207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4547207753SmmDate: Wed Apr 30 22:16:17 2008 +0300 4548207753Smm 4549207753Smm Fix a crash with --format=alone if other filters than LZMA 4550207753Smm are specified on the command line. 4551207753Smm 4552207753Smmcommit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73 4553207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4554207753SmmDate: Mon Apr 28 17:08:27 2008 +0300 4555207753Smm 4556207753Smm Updated THANKS. 4557207753Smm 4558207753Smmcommit 3be21fb12f4cec2cf07799e8960382f4cb375369 4559207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4560207753SmmDate: Mon Apr 28 17:06:34 2008 +0300 4561207753Smm 4562207753Smm Fixed wrong spelling "limitter" to "limiter". This affects 4563207753Smm liblzma's API. 4564207753Smm 4565207753Smmcommit beeb81060821dfec4e7898e0d44b7900dcb2215e 4566207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4567207753SmmDate: Fri Apr 25 15:39:50 2008 +0300 4568207753Smm 4569207753Smm Prevent LZ encoder from hanging with known uncompressed 4570207753Smm size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream 4571207753Smm with known uncompressed size, but since it currently seems 4572207753Smm likely that support for encoding with known uncompressed 4573207753Smm size will go away anyway, I'm not fixing this problem now. 4574207753Smm 4575207753Smmcommit c324325f9f13cdeb92153c5d00962341ba070ca2 4576207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4577207753SmmDate: Fri Apr 25 13:58:56 2008 +0300 4578207753Smm 4579207753Smm Removed src/liblzma/common/sysdefs.h symlink, which was 4580207753Smm annoying, because "make dist" put two copies of sysdefs.h 4581207753Smm into the tarball instead of the symlink. 4582207753Smm 4583207753Smmcommit d3ba30243c75c13d094de1793f9c58acdbacc692 4584207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4585207753SmmDate: Fri Apr 25 13:41:29 2008 +0300 4586207753Smm 4587207753Smm Added memusage.c to debug directory. 4588207753Smm 4589207753Smmcommit 8f804c29aa8471ccd6438ddca254092b8869ca52 4590207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4591207753SmmDate: Fri Apr 25 13:32:35 2008 +0300 4592207753Smm 4593207753Smm Bumped version number to 4.999.3alpha. It will become 5.0.0 4594207753Smm once we have a stable release (won't be very soon). The 4595207753Smm version number is no longer related to version of LZMA SDK. 4596207753Smm 4597207753Smm Made some small Automake-related changes to toplevel 4598207753Smm Makefile.am and configure.ac. 4599207753Smm 4600207753Smmcommit c99037ea10f121cbacf60c37a36c29768ae53447 4601207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4602207753SmmDate: Thu Apr 24 20:25:39 2008 +0300 4603207753Smm 4604207753Smm Fix a memory leak by calling free(extra->data) in 4605207753Smm lzma_extra_free(). 4606207753Smm 4607207753Smmcommit 22ba3b0b5043fa481903482ce85015fe775939e5 4608207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4609207753SmmDate: Thu Apr 24 20:23:05 2008 +0300 4610207753Smm 4611207753Smm Make unlzma and lzcat symlinks. 4612207753Smm 4613207753Smmcommit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e 4614207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4615207753SmmDate: Thu Apr 24 20:20:27 2008 +0300 4616207753Smm 4617207753Smm Fixed a bug in command line option parsing. 4618207753Smm 4619207753Smmcommit 283f939974c32c47f05d495e8dea455ec646ed64 4620207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4621207753SmmDate: Thu Apr 24 20:19:20 2008 +0300 4622207753Smm 4623207753Smm Added two assert()s. 4624207753Smm 4625207753Smmcommit eb348a60b6e19a7c093f892434f23c4756973ffd 4626207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4627207753SmmDate: Thu Apr 24 19:22:53 2008 +0300 4628207753Smm 4629207753Smm Switch to uint16_t as the type of range coder probabilities. 4630207753Smm 4631207753Smmcommit 6c5306e312bcfd254cf654f88c04e34ba786df3d 4632207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4633207753SmmDate: Thu Apr 24 18:39:57 2008 +0300 4634207753Smm 4635207753Smm Fix wrong return type (uint32_t -> bool). 4636207753Smm 4637207753Smmcommit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8 4638207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4639207753SmmDate: Thu Apr 24 18:38:00 2008 +0300 4640207753Smm 4641207753Smm Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH. 4642207753Smm 4643207753Smmcommit bc04486e368d20b3027cde625267762aae063965 4644207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4645207753SmmDate: Thu Apr 24 17:33:01 2008 +0300 4646207753Smm 4647207753Smm Fix fastpos problem in Makefile.am when built with --enable-small. 4648207753Smm 4649207753Smmcommit 7ab493924e0ed590a5121a15ee54038d238880d3 4650207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4651207753SmmDate: Thu Apr 24 17:30:51 2008 +0300 4652207753Smm 4653207753Smm Use 64-bit integer as range encoder's cache size. This fixes a 4654207753Smm theoretical data corruption, which should be very hard to trigger 4655207753Smm even intentionally. 4656207753Smm 4657207753Smmcommit 641998c3e1ecc8b598fe0eb051fab8b9535c291b 4658207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4659207753SmmDate: Mon Mar 24 16:38:40 2008 +0200 4660207753Smm 4661207753Smm Replaced the range decoder optimization that used arithmetic 4662207753Smm right shift with as fast version that doesn't need 4663207753Smm arithmetic right shift. Removed the related check from 4664207753Smm configure.ac. 4665207753Smm 4666207753Smmcommit ad999efd279d95f1e7ac555b14170e8e9020488c 4667207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4668207753SmmDate: Sat Mar 22 14:39:34 2008 +0200 4669207753Smm 4670207753Smm Take advantage of arithmetic right shift in range decoder. 4671207753Smm 4672207753Smmcommit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d 4673207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4674207753SmmDate: Sat Mar 22 14:18:29 2008 +0200 4675207753Smm 4676207753Smm Added autoconf check to detect if we can use arithmetic 4677207753Smm right shift for optimizations. 4678207753Smm 4679207753Smmcommit 7521bbdc83acab834594a22bec50c8e1bd836298 4680207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4681207753SmmDate: Sat Mar 22 01:26:36 2008 +0200 4682207753Smm 4683207753Smm Update a comment to use the variable name rep_len_decoder. 4684207753Smm 4685207753Smm (And BTW, the previous commit actually did change the 4686207753Smm program logic slightly.) 4687207753Smm 4688207753Smmcommit 63b74d000eedaebb8485f623e56864ff5ab71064 4689207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4690207753SmmDate: Sat Mar 22 00:57:33 2008 +0200 4691207753Smm 4692207753Smm Demystified the "state" variable in LZMA code. Use the 4693207753Smm word literal instead of char for better consistency. 4694207753Smm There are still some names with _char instead of _literal 4695207753Smm in lzma_optimum, these may be changed later. 4696207753Smm 4697207753Smm Renamed length coder variables. 4698207753Smm 4699207753Smm This commit doesn't change the program logic. 4700207753Smm 4701207753Smmcommit e6eb0a26757e851cef62b9440319a8e73b015cb9 4702207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4703207753SmmDate: Fri Mar 14 23:16:11 2008 +0200 4704207753Smm 4705207753Smm Fix data corruption in LZMA encoder. Note that this bug was 4706207753Smm specific to liblzma and was *not* present in LZMA SDK. 4707207753Smm 4708207753Smmcommit 7d516f5129e4373a6d57249d7f608c634c66bf12 4709207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4710207753SmmDate: Fri Mar 14 21:32:37 2008 +0200 4711207753Smm 4712207753Smm Fix a comment API header. 4713207753Smm 4714207753Smmcommit 748d6e4274921a350bd0a317380309717441ef9c 4715207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4716207753SmmDate: Wed Mar 12 23:14:50 2008 +0200 4717207753Smm 4718207753Smm Make lzma_stream.next_in const. Let's see if anyone complains. 4719207753Smm 4720207753Smmcommit bfde3b24a5ae25ce53c854762b6148952386b025 4721207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4722207753SmmDate: Tue Mar 11 15:35:34 2008 +0200 4723207753Smm 4724207753Smm Apply a minor speed optimization to LZMA decoder. 4725207753Smm 4726207753Smmcommit f310c50286d9e4e9c6170bb65348c9bb430a65b4 4727207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4728207753SmmDate: Tue Mar 11 15:17:16 2008 +0200 4729207753Smm 4730207753Smm Initialize the last byte of the dictionary to zero so that 4731207753Smm lz_get_byte(lz, 0) returns zero. This was broken by 4732207753Smm 1a3b21859818e4d8e89a1da99699233c1bfd197d. 4733207753Smm 4734207753Smmcommit 5ead36cf7f823093672a4e43c3180b38c9abbaff 4735207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4736207753SmmDate: Mon Mar 10 15:57:55 2008 +0200 4737207753Smm 4738207753Smm Really fix the price count initialization. 4739207753Smm 4740207753Smmcommit d4d7feb83d1a1ded8f662a82e21e053841ca726c 4741207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4742207753SmmDate: Mon Mar 10 13:47:17 2008 +0200 4743207753Smm 4744207753Smm Updated THANKS. 4745207753Smm 4746207753Smmcommit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258 4747207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4748207753SmmDate: Mon Mar 10 13:46:48 2008 +0200 4749207753Smm 4750207753Smm Initialize align_price_count and match_price_count in 4751207753Smm lzma_encoder_init.c. While we don't call 4752207753Smm fill_distances_prices() and fill_align_prices() in 4753207753Smm lzma_lzma_encoder_init(), we still need to initialize 4754207753Smm these two variables so that the fill functions get 4755207753Smm called in lzma_encoder_getoptimum.c in the beginning 4756207753Smm of a stream. 4757207753Smm 4758207753Smmcommit 596fa1fac72823e4ef5bc26bb53f9090445bf748 4759207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4760207753SmmDate: Mon Mar 10 13:44:29 2008 +0200 4761207753Smm 4762207753Smm Always initialize lz->temp_size in lz_decoder.c. temp_size did 4763207753Smm get initialized as a side-effect after allocating a new decoder, 4764207753Smm but not when the decoder was reused. 4765207753Smm 4766207753Smmcommit 45e43e169527e7a98a8c8a821d37bf25822b764d 4767207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4768207753SmmDate: Mon Mar 10 13:41:25 2008 +0200 4769207753Smm 4770207753Smm Don't fill allocated memory with 0xFD when debugging is 4771207753Smm enabled. It hides errors from Valgrind. 4772207753Smm 4773207753Smmcommit c0e19e0662205f81a86da8903cdc325d50635870 4774207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4775207753SmmDate: Thu Feb 28 10:24:31 2008 +0200 4776207753Smm 4777207753Smm Remove two redundant validity checks from the LZMA decoder. 4778207753Smm These are already checked elsewhere, so omitting these 4779207753Smm gives (very) tiny speed up. 4780207753Smm 4781207753Smmcommit de7485806284d1614095ae8cb2ebbb5d74c9ac45 4782207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4783207753SmmDate: Wed Feb 6 13:25:32 2008 +0200 4784207753Smm 4785207753Smm Tiny clean up to file-format.txt. 4786207753Smm 4787207753Smmcommit 1a3b21859818e4d8e89a1da99699233c1bfd197d 4788207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4789207753SmmDate: Sat Feb 2 14:51:06 2008 +0200 4790207753Smm 4791207753Smm Don't memzero() the history buffer when initializing LZ 4792207753Smm decoder. There's no danger of information leak here, so 4793207753Smm it isn't required. Doing memzero() takes a lot of time 4794207753Smm with large dictionaries, which could make it easier to 4795207753Smm construct DoS attack to consume too much CPU time. 4796207753Smm 4797207753Smmcommit 7e796e312bf644ea95aea0ff85480f47cfa30fc0 4798207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4799207753SmmDate: Fri Feb 1 08:39:26 2008 +0200 4800207753Smm 4801207753Smm Do uncompressed size validation in raw encoder. This way 4802207753Smm it gets done for not only raw encoder, but also Block 4803207753Smm and LZMA_Alone encoders. 4804207753Smm 4805207753Smmcommit 7dd48578a3853e0cfab9f1830bc30927173ec4bc 4806207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4807207753SmmDate: Fri Feb 1 08:32:05 2008 +0200 4808207753Smm 4809207753Smm Avoid unneeded function call in raw_common.c. 4810207753Smm 4811207753Smmcommit b596fac963c3ff96f615d4d9b427a213ec341211 4812207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4813207753SmmDate: Sat Jan 26 21:42:38 2008 +0200 4814207753Smm 4815207753Smm Updated THANKS. 4816207753Smm 4817207753Smmcommit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2 4818207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4819207753SmmDate: Sat Jan 26 21:40:23 2008 +0200 4820207753Smm 4821207753Smm Added note.GNU-stack to x86 assembler files. It is needed 4822207753Smm when using non-executable stack. 4823207753Smm 4824207753Smmcommit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae 4825207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4826207753SmmDate: Sat Jan 26 19:12:50 2008 +0200 4827207753Smm 4828207753Smm Added api/lzma/easy.h. I had forgot to add this to the 4829207753Smm git repo. Thanks to Stephan Kulow. 4830207753Smm 4831207753Smmcommit 288b232f54c3692cd36f471d4042f51daf3ea79f 4832207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4833207753SmmDate: Sat Jan 26 11:09:17 2008 +0200 4834207753Smm 4835207753Smm Added more test files. 4836207753Smm 4837207753Smmcommit c467b0defccf233d0c79234407bc38d7d09574d3 4838207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4839207753SmmDate: Sat Jan 26 10:47:55 2008 +0200 4840207753Smm 4841207753Smm Added more test files. 4842207753Smm 4843207753Smmcommit f9842f712732c482f2def9f24437851e57dd83f8 4844207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4845207753SmmDate: Sat Jan 26 00:25:34 2008 +0200 4846207753Smm 4847207753Smm Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any 4848207753Smm of the so called simple filters. If there is demand, limited 4849207753Smm support for LZMA_SYNC_FLUSH may be added in future. 4850207753Smm 4851207753Smm After this commit, using LZMA_SYNC_FLUSH shouldn't cause 4852207753Smm undefined behavior in any situation. 4853207753Smm 4854207753Smmcommit e988ea1d1a286dd0f27af0657f9665d5cd8573aa 4855207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4856207753SmmDate: Fri Jan 25 23:50:35 2008 +0200 4857207753Smm 4858207753Smm Added more Multi-Block test files. Improved some 4859207753Smm descriptions in the test files' README. 4860207753Smm 4861207753Smmcommit 4441e004185cd4c61bda184010eca5924c9dec87 4862207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4863207753SmmDate: Fri Jan 25 23:12:36 2008 +0200 4864207753Smm 4865207753Smm Combine lzma_options_block validation needed by both Block 4866207753Smm encoder and decoder, and put the shared things to 4867207753Smm block_private.h. Improved the checks a little so that 4868207753Smm they may detect too big Compressed Size at initialization 4869207753Smm time if lzma_options_block.total_size or .total_limit is 4870207753Smm known. 4871207753Smm 4872207753Smm Allow encoding and decoding Blocks with combinations of 4873207753Smm fields that are not allowed by the file format specification. 4874207753Smm Doing this requires that the application passes such a 4875207753Smm combination in lzma_options_lzma; liblzma doesn't do that, 4876207753Smm but it's not impossible that someone could find them useful 4877207753Smm in some custom file format. 4878207753Smm 4879207753Smmcommit bf4200c818fcf9102e56328d39cde91bfa13cfb6 4880207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4881207753SmmDate: Fri Jan 25 19:21:22 2008 +0200 4882207753Smm 4883207753Smm Added test_memlimit.c. 4884207753Smm 4885207753Smmcommit 7b8fc7e6b501a32a36636dac79ecb57099269005 4886207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4887207753SmmDate: Fri Jan 25 19:20:28 2008 +0200 4888207753Smm 4889207753Smm Improved the memory limitter: 4890207753Smm - Added lzma_memlimit_max() and lzma_memlimit_reached() 4891207753Smm API functions. 4892207753Smm - Added simple estimation of malloc()'s memory usage 4893207753Smm overhead. 4894207753Smm - Fixed integer overflow detection in lzma_memlimit_alloc(). 4895207753Smm - Made some white space cleanups and added more comments. 4896207753Smm 4897207753Smm The description of lzma_memlimit_max() in memlimit.h is bad 4898207753Smm and should be improved. 4899207753Smm 4900207753Smmcommit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db 4901207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4902207753SmmDate: Fri Jan 25 13:55:52 2008 +0200 4903207753Smm 4904207753Smm Use more parenthesis in succeed() macro in tests/tests.h. 4905207753Smm 4906207753Smmcommit 1fd76d488179580d37f31ee11948f4932aed31fd 4907207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4908207753SmmDate: Thu Jan 24 14:49:34 2008 +0200 4909207753Smm 4910207753Smm Added more Multi-Block Stream test files. 4911207753Smm 4912207753Smmcommit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936 4913207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4914207753SmmDate: Thu Jan 24 00:46:05 2008 +0200 4915207753Smm 4916207753Smm Added bunch of test files containing Multi-Block Streams. 4917207753Smm 4918207753Smmcommit db9df0a9609c01a00a227329fb96e983971040f5 4919207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4920207753SmmDate: Wed Jan 23 23:43:00 2008 +0200 4921207753Smm 4922207753Smm Fix decoding of empty Metadata Blocks, that don't have 4923207753Smm even the Metadata Flags field. Earlier the code allowed 4924207753Smm such files; now they are prohibited as the file format 4925207753Smm specification requires. 4926207753Smm 4927207753Smmcommit 765f0b05f6e95ed9194fb90819cee189ebbac36b 4928207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4929207753SmmDate: Wed Jan 23 23:38:18 2008 +0200 4930207753Smm 4931207753Smm Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6. 4932207753Smm lzma_metadata.header_metadata_size was not properly set to 4933207753Smm zero if the Metadata had only the Metadata Flags field. 4934207753Smm 4935207753Smmcommit 3a7cc5c3dec7b078941f961b0393b86c418883b6 4936207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4937207753SmmDate: Wed Jan 23 23:35:49 2008 +0200 4938207753Smm 4939207753Smm Fix decoding of Extra Records that have empty Data. 4940207753Smm 4941207753Smmcommit e5fdec93e273855c1bcc2579b83cfb481a9a1492 4942207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4943207753SmmDate: Wed Jan 23 22:02:38 2008 +0200 4944207753Smm 4945207753Smm Add the trailing '\0' to lzma_extra.data as the API header 4946207753Smm already documents. 4947207753Smm 4948207753Smmcommit ed40dc5a2c28a8dfccab8c165b3780738eeef93e 4949207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4950207753SmmDate: Wed Jan 23 21:21:21 2008 +0200 4951207753Smm 4952207753Smm Added debug/full_flush.c. 4953207753Smm 4954207753Smmcommit ae0cd09a666a1682da8fc09487322227679e218d 4955207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4956207753SmmDate: Wed Jan 23 21:05:33 2008 +0200 4957207753Smm 4958207753Smm Return LZMA_STREAM_END instead of LZMA_OK if 4959207753Smm LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when 4960207753Smm there's no unfinished Block open. 4961207753Smm 4962207753Smmcommit 0e80ded13dfceb98f9494cbb5381a95eb44d03db 4963207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4964207753SmmDate: Wed Jan 23 20:05:01 2008 +0200 4965207753Smm 4966207753Smm Added bad-single-none-footer_filter_flags.lzma and 4967207753Smm bad-single-none-too_long_vli.lzma. 4968207753Smm 4969207753Smmcommit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd 4970207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4971207753SmmDate: Wed Jan 23 13:42:35 2008 +0200 4972207753Smm 4973207753Smm Fixed a typo. 4974207753Smm 4975207753Smmcommit 980f65a9a10160c4d105767871e3002b9aaba3e0 4976207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4977207753SmmDate: Wed Jan 23 13:40:45 2008 +0200 4978207753Smm 4979207753Smm Fix a memory leak in the Subblock encoder. 4980207753Smm 4981207753Smmcommit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6 4982207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 4983207753SmmDate: Wed Jan 23 13:36:07 2008 +0200 4984207753Smm 4985207753Smm Fix Size of Header Metadata Block handling. Now 4986207753Smm lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN 4987207753Smm is not allowed at all. To indicate missing Header Metadata 4988207753Smm Block, header_metadata_size must be set to zero. This is 4989207753Smm what Metadata decoder does after this patch too. 4990207753Smm 4991207753Smm Note that other missing fields in lzma_metadata are still 4992207753Smm indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as 4993207753Smm illogical as it sounds at first, because missing Size of 4994207753Smm Header Metadata Block means that Header Metadata Block is 4995207753Smm not present in the Stream. With other Metadata fields, 4996207753Smm a missing field means only that the value is unknown. 4997207753Smm 4998207753Smmcommit 58b78ab20c1bcced45cf71ae6684868fc90b4b81 4999207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5000207753SmmDate: Wed Jan 23 13:15:55 2008 +0200 5001207753Smm 5002207753Smm Fix a memory leak in metadata_decoder.c. 5003207753Smm 5004207753Smmcommit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae 5005207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5006207753SmmDate: Wed Jan 23 13:13:58 2008 +0200 5007207753Smm 5008207753Smm Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which 5009207753Smm just moved to problem. Now it's really fixed. 5010207753Smm 5011207753Smmcommit 67321de963ccf69410b3868b8e31534fe18a90de 5012207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5013207753SmmDate: Wed Jan 23 00:21:04 2008 +0200 5014207753Smm 5015207753Smm Take advantage of return_if_error() macro in 5016207753Smm lzma_info_metadata_set() in info.c. 5017207753Smm 5018207753Smmcommit 863028cb7ad6d8d0455fa69348f56b376d7b908f 5019207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5020207753SmmDate: Wed Jan 23 00:18:32 2008 +0200 5021207753Smm 5022207753Smm Fixed a dangling pointer that caused invalid free(). 5023207753Smm 5024207753Smmcommit cf49f42a6bd40143f54a6b10d6e605599e958c0b 5025207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5026207753SmmDate: Tue Jan 22 22:49:24 2008 +0200 5027207753Smm 5028207753Smm Added lzma_easy_* functions. These should make using 5029207753Smm liblzma as easy as using zlib, because the easy API 5030207753Smm don't require developers to know any fancy LZMA options. 5031207753Smm 5032207753Smm Note that Multi-Block Stream encoding is currently broken. 5033207753Smm The easy API should be OK, the bug(s) are elsewhere. 5034207753Smm 5035207753Smmcommit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a 5036207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5037207753SmmDate: Tue Jan 22 21:16:22 2008 +0200 5038207753Smm 5039207753Smm Fix Multi-Block Stream encoder's EOPM usage. 5040207753Smm 5041207753Smmcommit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 5042207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5043207753SmmDate: Tue Jan 22 00:15:11 2008 +0200 5044207753Smm 5045207753Smm Made lzma_extra pointers const in lzma_options_stream. 5046207753Smm 5047207753Smmcommit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4 5048207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5049207753SmmDate: Sun Jan 20 20:15:21 2008 +0200 5050207753Smm 5051207753Smm Updated debug/sync_flush.c. 5052207753Smm 5053207753Smmcommit d53e9b77054cfade6a643e77d085273a348b189c 5054207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5055207753SmmDate: Sun Jan 20 20:14:26 2008 +0200 5056207753Smm 5057207753Smm Added debug/repeat.c. 5058207753Smm 5059207753Smmcommit 107259e306bcfc2336a0fb870fb58034c28faa52 5060207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5061207753SmmDate: Sun Jan 20 20:12:58 2008 +0200 5062207753Smm 5063207753Smm Fix alignment handling bugs in Subblock encoder. 5064207753Smm 5065207753Smm This leaves one known alignment bug unfixed: If repeat count 5066207753Smm doesn't fit into 28-bit integer, the encoder has to split 5067207753Smm this to multiple Subblocks with Subblock Type `Repeating Data'. 5068207753Smm The extra Subblocks may have wrong alignment. Correct alignment 5069207753Smm is restored after the split Repeating Data has been completely 5070207753Smm written out. 5071207753Smm 5072207753Smm Since the encoder doesn't even try to fix the alignment unless 5073207753Smm the size of Data is at least 4 bytes, to trigger this bug you 5074207753Smm need at least 4 GiB of repeating data with sequence length of 5075207753Smm 4 or more bytes. Since the worst thing done by this bug is 5076207753Smm misaligned data (no data corruption), this bug simply isn't 5077207753Smm worth fixing, because a proper fix isn't simple. 5078207753Smm 5079207753Smmcommit e141fe18950400faaa3503ff88ac20eacd73e88c 5080207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5081207753SmmDate: Sat Jan 19 21:16:33 2008 +0200 5082207753Smm 5083207753Smm Implemented LZMA_SYNC_FLUSH support to the Subblock encoder. 5084207753Smm The API for handing Subfilters was changed to make it 5085207753Smm consistent with LZMA_SYNC_FLUSH. 5086207753Smm 5087207753Smm A few sanity checks were added for Subfilter handling. Some 5088207753Smm small bugs were fixed. More comments were added. 5089207753Smm 5090207753Smmcommit 23c227a864a3b69f38c6a74306161d4e6918d1cc 5091207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5092207753SmmDate: Sat Jan 19 15:19:21 2008 +0200 5093207753Smm 5094207753Smm Revised the Delta filter implementation. The initialization 5095207753Smm function is still shared between encoder and decoder, but the 5096207753Smm actual coding is in separate files for encoder and decoder. 5097207753Smm 5098207753Smm There are now separate functions for the actual delta 5099207753Smm calculation depending on if Delta is the last filter in the 5100207753Smm chain or not. If it is the last, the new code copies the 5101207753Smm data from input to output buffer and does the delta 5102207753Smm calculation at the same time. The old code first copied the 5103207753Smm data, then did the delta in the target buffer, which required 5104207753Smm reading through the data twice. 5105207753Smm 5106207753Smm Support for LZMA_SYNC_FLUSH was added to the Delta encoder. 5107207753Smm This doesn't change anything in the file format. 5108207753Smm 5109207753Smmcommit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73 5110207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5111207753SmmDate: Fri Jan 18 20:18:08 2008 +0200 5112207753Smm 5113207753Smm Added the debug directory and the first debug tool 5114207753Smm (sync_flush). These tools are not built unless the 5115207753Smm user runs "make" in the debug directory. 5116207753Smm 5117207753Smmcommit 0ae3208db94585eb8294b97ded387de0a3a07646 5118207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5119207753SmmDate: Fri Jan 18 20:13:00 2008 +0200 5120207753Smm 5121207753Smm Added test files to test usage of flush marker in LZMA. 5122207753Smm 5123207753Smmcommit ab5feaf1fcc146ef9fd39360c53c290bec39524e 5124207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5125207753SmmDate: Fri Jan 18 20:02:52 2008 +0200 5126207753Smm 5127207753Smm Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders. 5128207753Smm That code is now almost completely in LZ coder, where 5129207753Smm it can be shared with other LZ77-based algorithms in 5130207753Smm future. 5131207753Smm 5132207753Smmcommit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585 5133207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5134207753SmmDate: Fri Jan 18 17:21:24 2008 +0200 5135207753Smm 5136207753Smm Don't add -g to CFLAGS when --enable-debug is specified. 5137207753Smm It's the job of the user to put that in CFLAGS. 5138207753Smm 5139207753Smmcommit 61d1784d8f1761d979a6da6e223e279ca33815e6 5140207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5141207753SmmDate: Fri Jan 18 14:17:37 2008 +0200 5142207753Smm 5143207753Smm Set stdin and stdout to binary mode on Windows. This patch is 5144207753Smm a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068 5145207753Smm from lzma-utils-legacy.git. I don't know if the new code base 5146207753Smm builds on Windows, but this is a start. 5147207753Smm 5148207753Smmcommit c9cba976913e55ff9aac8a8133cc94416c7c1c9c 5149207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5150207753SmmDate: Fri Jan 18 00:50:29 2008 +0200 5151207753Smm 5152207753Smm Added test_compress.sh and bunch of files needed by it. 5153207753Smm This new set of tests compress and decompress several 5154207753Smm test files with many different compression options. 5155207753Smm This set of tests will be extended later. 5156207753Smm 5157207753Smmcommit 33be3c0e24d8f43376ccf71cc77d53671e792f07 5158207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5159207753SmmDate: Thu Jan 17 18:56:53 2008 +0200 5160207753Smm 5161207753Smm Subblock decoder: Don't exit the main loop in decode_buffer() 5162207753Smm too early if we hit End of Input while decoding a Subblock of 5163207753Smm type Repeating Data. To keep the loop termination condition 5164207753Smm elegant, the order of enumerations in coder->sequence were 5165207753Smm changed. 5166207753Smm 5167207753Smm To keep the case-labels in roughly the same order as the 5168207753Smm enumerations in coder->sequence, large chunks of code was 5169207753Smm moved around. This made the diff big and ugly compared to 5170207753Smm the amount of the actual changes made. 5171207753Smm 5172207753Smmcommit b254bd97b1cdb68d127523d91ca9e054ed89c4fd 5173207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5174207753SmmDate: Thu Jan 17 17:39:42 2008 +0200 5175207753Smm 5176207753Smm Fix wrong too small size of argument unfiltered_max 5177207753Smm in ia64_coder_init(). It triggered assert() in 5178207753Smm simple_coder.c, and could have caused a buffer overflow. 5179207753Smm 5180207753Smm This error was probably a copypaste mistake, since most 5181207753Smm of the simple filters use unfiltered_max = 4. 5182207753Smm 5183207753Smmcommit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a 5184207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5185207753SmmDate: Thu Jan 17 17:27:45 2008 +0200 5186207753Smm 5187207753Smm Added --delta to the output of "lzma --help". 5188207753Smm 5189207753Smmcommit f88590e0014b38d40465937c19f25f05f16c79ae 5190207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5191207753SmmDate: Thu Jan 17 13:14:20 2008 +0200 5192207753Smm 5193207753Smm Fix Subblock docoder: If Subblock filter was used with known 5194207753Smm Uncompressed Size, and the last output byte was from RLE, 5195207753Smm the code didn't stop decoding as it should have done. 5196207753Smm 5197207753Smmcommit bc0b945ca376e333077644d2f7fd54c2848aab8a 5198207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5199207753SmmDate: Wed Jan 16 16:33:37 2008 +0200 5200207753Smm 5201207753Smm Tiny non-technical edits to file-format.txt. 5202207753Smm 5203207753Smmcommit 7599bb7064ccf007f054595dedda7927af868252 5204207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5205207753SmmDate: Wed Jan 16 14:48:04 2008 +0200 5206207753Smm 5207207753Smm Plugged a memory leak in stream_decoder.c. 5208207753Smm 5209207753Smmcommit 0b581539311f3712946e81e747839f8fb5f441a7 5210207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5211207753SmmDate: Wed Jan 16 14:47:27 2008 +0200 5212207753Smm 5213207753Smm Added memory leak detection to lzmadec.c. 5214207753Smm 5215207753Smmcommit 5b5b13c7bb8fde6331064d21f3ebde41072480c4 5216207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5217207753SmmDate: Wed Jan 16 14:46:50 2008 +0200 5218207753Smm 5219207753Smm Added lzma_memlimit_count(). 5220207753Smm 5221207753Smmcommit 19389f2b82ec54fd4c847a18f16482e7be4c9887 5222207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5223207753SmmDate: Wed Jan 16 14:31:44 2008 +0200 5224207753Smm 5225207753Smm Added ARRAY_SIZE(array) macro. 5226207753Smm 5227207753Smmcommit 9bc33a54cbf83952130adbcb1be32c6882485416 5228207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5229207753SmmDate: Wed Jan 16 13:27:03 2008 +0200 5230207753Smm 5231207753Smm Make Uncompresed Size validation more strict 5232207753Smm in alone_decoder.c. 5233207753Smm 5234207753Smmcommit 01d71d60b79027e1ce3eb9c79ae5191e1407c883 5235207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5236207753SmmDate: Tue Jan 15 17:46:59 2008 +0200 5237207753Smm 5238207753Smm Free the allocated memory in lzmadec if debugging is 5239207753Smm enabled. This should make it possible to detect possible 5240207753Smm memory leaks with Valgrind. 5241207753Smm 5242207753Smmcommit 8235e6e5b2878f76633afcda9a334640db503ef5 5243207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5244207753SmmDate: Tue Jan 15 16:25:38 2008 +0200 5245207753Smm 5246207753Smm Fix memory leaks from test_block_header.c. 5247207753Smm 5248207753Smmcommit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6 5249207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5250207753SmmDate: Tue Jan 15 14:23:35 2008 +0200 5251207753Smm 5252207753Smm Use fastpos.h when encoding LZMA dictionary size in 5253207753Smm Filter Flags encoder. 5254207753Smm 5255207753Smmcommit e5728142a2048979f5c0c2149ce71ae952a092e1 5256207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5257207753SmmDate: Tue Jan 15 14:02:22 2008 +0200 5258207753Smm 5259207753Smm Revised the fastpos code. It now uses the slightly faster 5260207753Smm table-based version from LZMA SDK 4.57. This should be 5261207753Smm fast on most systems. 5262207753Smm 5263207753Smm A simpler and smaller alternative version is also provided. 5264207753Smm On some CPUs this can be even a little faster than the 5265207753Smm default table-based version (see comments in fastpos.h), 5266207753Smm but on most systems the table-based code is faster. 5267207753Smm 5268207753Smmcommit 10437b5b567f6a025ff16c45a572e417a0a9cc26 5269207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5270207753SmmDate: Tue Jan 15 13:32:13 2008 +0200 5271207753Smm 5272207753Smm Added bsr.h. 5273207753Smm 5274207753Smmcommit f3c88e8b8d8dd57f4bba5f0921eebf276437c244 5275207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5276207753SmmDate: Tue Jan 15 13:29:14 2008 +0200 5277207753Smm 5278207753Smm Fixed assembler detection in configure.ac, and added 5279207753Smm detection for x86_64. 5280207753Smm 5281207753Smmcommit 54ec204f58287f50d3976288295da4188a19192b 5282207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5283207753SmmDate: Tue Jan 15 12:20:41 2008 +0200 5284207753Smm 5285207753Smm Omit invalid space from printf() format string 5286207753Smm in price_table_gen.c. 5287207753Smm 5288207753Smmcommit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 5289207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5290207753SmmDate: Tue Jan 15 09:54:34 2008 +0200 5291207753Smm 5292207753Smm Removed a few unused macros from lzma_common.h. 5293207753Smm 5294207753Smmcommit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d 5295207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5296207753SmmDate: Tue Jan 15 08:37:42 2008 +0200 5297207753Smm 5298207753Smm Fix a typo in lzma_encoder.c. 5299207753Smm 5300207753Smmcommit 9f9b1983013048f2142e8bc7e240149d2687bedc 5301207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5302207753SmmDate: Tue Jan 15 08:36:25 2008 +0200 5303207753Smm 5304207753Smm Convert bittree_get_price() and bittree_reverse_get_price() 5305207753Smm from macros to inline functions. 5306207753Smm 5307207753Smmcommit 78e85cb1a7667c54853670d2eb09d754bcbda87d 5308207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5309207753SmmDate: Tue Jan 15 07:44:59 2008 +0200 5310207753Smm 5311207753Smm Fix CRC code in case --enable-small is used. 5312207753Smm 5313207753Smmcommit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0 5314207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5315207753SmmDate: Tue Jan 15 07:41:39 2008 +0200 5316207753Smm 5317207753Smm Fix typo in test_index.c. 5318207753Smm 5319207753Smmcommit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 5320207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5321207753SmmDate: Tue Jan 15 07:40:21 2008 +0200 5322207753Smm 5323207753Smm Added precomputed range coder probability price table. 5324207753Smm 5325207753Smmcommit 362dc3843b373c1007a50a4719f378981f18ae03 5326207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5327207753SmmDate: Mon Jan 14 13:42:43 2008 +0200 5328207753Smm 5329207753Smm Remove RC_BUFFER_SIZE from lzma_encoder_private.h 5330207753Smm and replace it with a sanity check. 5331207753Smm 5332207753Smmcommit e22b37968d153683fec61ad37b6b160cb7ca4ddc 5333207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5334207753SmmDate: Mon Jan 14 13:39:54 2008 +0200 5335207753Smm 5336207753Smm Major changes to LZ encoder, LZMA encoder, and range encoder. 5337207753Smm These changes implement support for LZMA_SYNC_FLUSH in LZMA 5338207753Smm encoder, and move the temporary buffer needed by range encoder 5339207753Smm from lzma_range_encoder structure to lzma_lz_encoder. 5340207753Smm 5341207753Smmcommit b59ef3973781f892c0a72b5e5934194567100be5 5342207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5343207753SmmDate: Mon Jan 14 13:34:29 2008 +0200 5344207753Smm 5345207753Smm Added one assert() to process.c of the command line tool. 5346207753Smm 5347207753Smmcommit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7 5348207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5349207753SmmDate: Mon Jan 14 12:09:52 2008 +0200 5350207753Smm 5351207753Smm Don't use coder->lz.stream_end_was_reached in assertions 5352207753Smm in match_c.h. 5353207753Smm 5354207753Smmcommit 3e09e1c05871f3757f759b801890ccccc9286608 5355207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5356207753SmmDate: Mon Jan 14 12:08:02 2008 +0200 5357207753Smm 5358207753Smm In lzma_read_match_distances(), don't use 5359207753Smm coder->lz.stream_end_was_reached. That variable 5360207753Smm will be removed, and the check isn't required anyway. 5361207753Smm Rearrange the check so that it doesn't make one to 5362207753Smm think that there could be an integer overflow. 5363207753Smm 5364207753Smmcommit a670fec8021e5962429689c194148a04c3418872 5365207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5366207753SmmDate: Mon Jan 14 11:56:41 2008 +0200 5367207753Smm 5368207753Smm Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders. 5369207753Smm 5370207753Smmcommit 3599dba9570a6972a16b6398d6c838e9b420e985 5371207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5372207753SmmDate: Mon Jan 14 11:54:56 2008 +0200 5373207753Smm 5374207753Smm More fixes to LZMA decoder's flush marker handling. 5375207753Smm 5376207753Smmcommit f73c2ab6079ed5675a42b39d584a567befbd4624 5377207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5378207753SmmDate: Thu Jan 10 17:13:42 2008 +0200 5379207753Smm 5380207753Smm Eliminate lzma_lz_encoder.must_move_pos. It's needed 5381207753Smm only in one place which isn't performance criticial. 5382207753Smm 5383207753Smmcommit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd 5384207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5385207753SmmDate: Wed Jan 9 20:05:57 2008 +0200 5386207753Smm 5387207753Smm Define HAVE_ASM_X86 when x86 assembler optimizations are 5388207753Smm used. This #define will be useful for inline assembly. 5389207753Smm 5390207753Smmcommit 0e70fbe4032351aab13a1cd8e5deced105c0b276 5391207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5392207753SmmDate: Wed Jan 9 12:06:46 2008 +0200 5393207753Smm 5394207753Smm Added good-single-none-empty_3.lzma and 5395207753Smm bad-single-none-empty.lzma. 5396207753Smm 5397207753Smmcommit 379fbbe84d922c7cc00afa65c6f0c095da596b19 5398207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5399207753SmmDate: Tue Jan 8 23:11:59 2008 +0200 5400207753Smm 5401207753Smm Take advantage of return_if_error() in block_decoder.c. 5402207753Smm 5403207753Smmcommit 97d5fa82077e57815dfad995dc393c2809a78539 5404207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5405207753SmmDate: Tue Jan 8 23:10:57 2008 +0200 5406207753Smm 5407207753Smm Updated tests/files/README. 5408207753Smm 5409207753Smmcommit 3bb9bb310936cba6a743b4f06739a397dec7c28f 5410207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5411207753SmmDate: Tue Jan 8 23:05:40 2008 +0200 5412207753Smm 5413207753Smm Added test files with empty Compressed Data. 5414207753Smm 5415207753Smmcommit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f 5416207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5417207753SmmDate: Tue Jan 8 22:58:42 2008 +0200 5418207753Smm 5419207753Smm Fix decoding of Blocks that have only Block Header. 5420207753Smm 5421207753Smmcommit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4 5422207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5423207753SmmDate: Tue Jan 8 22:27:46 2008 +0200 5424207753Smm 5425207753Smm Added good-single-subblock_implicit.lzma. 5426207753Smm 5427207753Smmcommit faeac7b7aca75f86afed1e7cc06279d9d497c627 5428207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5429207753SmmDate: Tue Jan 8 18:50:30 2008 +0200 5430207753Smm 5431207753Smm Disable CRC32 from Block Headers when --check=none 5432207753Smm has been specified. 5433207753Smm 5434207753Smmcommit a751126dbb656767ed4666cf0e5d3e17349d93d1 5435207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5436207753SmmDate: Tue Jan 8 13:36:29 2008 +0200 5437207753Smm 5438207753Smm Fixed encoding of empty files. Arguments to is_size_valid() 5439207753Smm were in wrong order in block_encoder.c. 5440207753Smm 5441207753Smmcommit 9080267603b1006c4867c823307dca9df8be0d20 5442207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5443207753SmmDate: Tue Jan 8 13:35:36 2008 +0200 5444207753Smm 5445207753Smm Added a few test files. 5446207753Smm 5447207753Smmcommit b4943ccf73b64fc93a90a23474509c316f55eb2b 5448207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5449207753SmmDate: Tue Jan 8 12:29:58 2008 +0200 5450207753Smm 5451207753Smm Avoid using ! in test_files.sh, because that doesn't work 5452207753Smm with some ancient /bin/sh versions. 5453207753Smm 5454207753Smmcommit e2417b2b9134f3f65e14b61e23cd3644d8954353 5455207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5456207753SmmDate: Tue Jan 8 00:48:30 2008 +0200 5457207753Smm 5458207753Smm More pre-C99 inttypes.h compatibility fixes. Now the code 5459207753Smm should work even if the system has no inttypes.h. 5460207753Smm 5461207753Smmcommit 5d227e51c23639423f4ade06aabb54e131f8505e 5462207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5463207753SmmDate: Mon Jan 7 23:25:32 2008 +0200 5464207753Smm 5465207753Smm Updated fi.po although it's currently pretty much crap. 5466207753Smm 5467207753Smmcommit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d 5468207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5469207753SmmDate: Mon Jan 7 23:14:25 2008 +0200 5470207753Smm 5471207753Smm Test for $GCC = yes instead of if it is non-empty. This 5472207753Smm way it is possible to use ac_cv_c_compiler_gnu=no to 5473207753Smm force configure to think it is using non-GNU C compiler. 5474207753Smm 5475207753Smmcommit 3dbbea82b74bb841c995ad332a3aeca613015e10 5476207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5477207753SmmDate: Mon Jan 7 21:49:41 2008 +0200 5478207753Smm 5479207753Smm Added test_files.sh to tests/Makefile.am so it gets 5480207753Smm included in the tarball with "make dist". 5481207753Smm 5482207753Smmcommit 2fd2d181543feab1b4003f3ac6e85625fbee04f0 5483207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5484207753SmmDate: Mon Jan 7 18:22:24 2008 +0200 5485207753Smm 5486207753Smm Cosmetic edit to test_files.sh. 5487207753Smm 5488207753Smmcommit 9a71d573100a990ceb30ce0bec6a9a15d795605f 5489207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5490207753SmmDate: Mon Jan 7 18:09:44 2008 +0200 5491207753Smm 5492207753Smm Added tests/files/README. 5493207753Smm 5494207753Smmcommit 47f48fe9936ed72617a60fbd015df7e0e47a1e43 5495207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5496207753SmmDate: Mon Jan 7 14:20:57 2008 +0200 5497207753Smm 5498207753Smm Tell in COPYING that everything in tests/files is 5499207753Smm public domain. 5500207753Smm 5501207753Smmcommit 3502b3e1d00251d3c8dda96079440705c28d8225 5502207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5503207753SmmDate: Mon Jan 7 14:19:05 2008 +0200 5504207753Smm 5505207753Smm Cleaned up the tests/files directory. 5506207753Smm 5507207753Smmcommit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c 5508207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5509207753SmmDate: Mon Jan 7 13:49:19 2008 +0200 5510207753Smm 5511207753Smm Added test_files.sh to test decoding of the files in 5512207753Smm the tests/files directory. It doesn't test the malicious 5513207753Smm files yet. 5514207753Smm 5515207753Smmcommit ecb2a6548f5978022a8fa931719dc575f5fd3bf6 5516207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5517207753SmmDate: Mon Jan 7 11:23:13 2008 +0200 5518207753Smm 5519207753Smm Updated README regarding the assembler optimizations. 5520207753Smm 5521207753Smmcommit eacb8050438d3e6146c86eb9732d3fb1ef1825cb 5522207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5523207753SmmDate: Mon Jan 7 10:58:00 2008 +0200 5524207753Smm 5525207753Smm Updated THANKS. 5526207753Smm 5527207753Smmcommit 1239649f96132b18e3b7e2dd152ecf53a195caa8 5528207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5529207753SmmDate: Sun Jan 6 21:47:17 2008 +0200 5530207753Smm 5531207753Smm Cosmetic changes to configure.ac. 5532207753Smm 5533207753Smmcommit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e 5534207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5535207753SmmDate: Sun Jan 6 19:46:38 2008 +0200 5536207753Smm 5537207753Smm Automatically disable assembler code on Darwin x86. 5538207753Smm Darwin has different ABI than GNU+Linux and Solaris, 5539207753Smm thus the assembler code doesn't assemble on Darwin. 5540207753Smm 5541207753Smmcommit c15a7abf66e3a70792f7444115e484c7981c8284 5542207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5543207753SmmDate: Sun Jan 6 19:45:27 2008 +0200 5544207753Smm 5545207753Smm With printf(), use PRIu64 with a cast to uint64_t instead 5546207753Smm of %zu, because some pre-C99 libc versions don't support %zu. 5547207753Smm 5548207753Smmcommit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb 5549207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5550207753SmmDate: Sun Jan 6 16:27:41 2008 +0200 5551207753Smm 5552207753Smm Introduced compatibility with systems that have pre-C99 5553207753Smm or no inttypes.h. This is useful when the compiler has 5554207753Smm good enough support for C99, but libc headers don't. 5555207753Smm 5556207753Smm Changed liblzma API so that sys/types.h and inttypes.h 5557207753Smm have to be #included before #including lzma.h. On systems 5558207753Smm that don't have C99 inttypes.h, it's the problem of the 5559207753Smm applications to provide the required types and macros 5560207753Smm before #including lzma.h. 5561207753Smm 5562207753Smm If lzma.h defined the missing types and macros, it could 5563207753Smm conflict with third-party applications whose configure 5564207753Smm has detected that the types are missing and defined them 5565207753Smm in config.h already. An alternative would have been 5566207753Smm introducing lzma_uint32 and similar types, but that would 5567207753Smm just be an extra pain on modern systems. 5568207753Smm 5569207753Smmcommit a71864f77dfb76b5d78a270641539947c312583a 5570207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5571207753SmmDate: Sat Jan 5 19:57:00 2008 +0200 5572207753Smm 5573207753Smm Fix typo in comment (INT64_MAX -> UINT64_MAX). 5574207753Smm 5575207753Smmcommit 072927905a3b66281c6311b4b351caa501d8b73a 5576207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5577207753SmmDate: Sat Jan 5 19:42:04 2008 +0200 5578207753Smm 5579207753Smm Rearranged testing of GCC-specific flags. 5580207753Smm 5581207753Smmcommit d160ee32598c6d1cd9054ef019e8c9331208b188 5582207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5583207753SmmDate: Sat Jan 5 01:20:24 2008 +0200 5584207753Smm 5585207753Smm Another bug fix for flush marker detection. 5586207753Smm 5587207753Smmcommit fc67f79f607cbfa78c6f47a69dec098d8659b162 5588207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5589207753SmmDate: Fri Jan 4 21:37:01 2008 +0200 5590207753Smm 5591207753Smm Fix stupid bugs in flush marker detection. 5592207753Smm 5593207753Smmcommit 0029cbbabe87d491fc046a55a629a6d556010baa 5594207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5595207753SmmDate: Fri Jan 4 21:30:33 2008 +0200 5596207753Smm 5597207753Smm Added support for flush marker, which will be in files 5598207753Smm that use LZMA_SYNC_FLUSH with encoder (not implemented 5599207753Smm yet). This is a new feature in the raw LZMA format, 5600207753Smm which isn't supported by old decoders. This shouldn't 5601207753Smm be a problem in practice, since lzma_alone_encoder() 5602207753Smm will not allow LZMA_SYNC_FLUSH, and thus not allow 5603207753Smm creating files on decodable with old decoders. 5604207753Smm 5605207753Smm Made lzma_decoder.c to require tab width of 4 characters 5606207753Smm if one wants to fit the code in 80 columns. This makes 5607207753Smm the code easier to read. 5608207753Smm 5609207753Smmcommit bbfd1f6ab058a7e661545205befcb7f70c5685ab 5610207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5611207753SmmDate: Fri Jan 4 20:45:05 2008 +0200 5612207753Smm 5613207753Smm Moved range decoder initialization (reading the first 5614207753Smm five input bytes) from LZMA decoder to range decoder 5615207753Smm header. Did the same for decoding of direct bits. 5616207753Smm 5617207753Smmcommit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc 5618207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5619207753SmmDate: Fri Dec 14 11:15:21 2007 +0200 5620207753Smm 5621207753Smm Added a note to README that --disable-assembler 5622207753Smm must be used on Darwin. 5623207753Smm 5624207753Smmcommit 44b333d4615b5aabc557a0e1b6bb0096da3fae24 5625207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5626207753SmmDate: Fri Dec 14 10:07:10 2007 +0200 5627207753Smm 5628207753Smm Use the filename suffix .S instead of .s for assembler files 5629207753Smm so that the preprocessor removes the /* */ style comments, 5630207753Smm which are not supported by some non-GNU assemblers (Solaris) 5631207753Smm that otherwise work with this code. 5632207753Smm 5633207753Smmcommit ec1c82b2e82f395f6e8e19ac212a639644330cd7 5634207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5635207753SmmDate: Fri Dec 14 09:59:05 2007 +0200 5636207753Smm 5637207753Smm Fixed wrong symbol name in crc64_x86.s. 5638207753Smm 5639207753Smmcommit 2881570df6803eed2fe550af34574e8e61794804 5640207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5641207753SmmDate: Fri Dec 14 09:53:24 2007 +0200 5642207753Smm 5643207753Smm Use .globl instead of .global in x86 assembler code for 5644207753Smm better portability. Still needs fixing the commenting. 5645207753Smm 5646207753Smmcommit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66 5647207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5648207753SmmDate: Thu Dec 13 20:14:37 2007 +0200 5649207753Smm 5650207753Smm Fixed a few short options that take an argument. 5651207753Smm short_opts[] was missing colons to indicate 5652207753Smm required argument. Thanks to Fabio Pedretti for 5653207753Smm the bug report. 5654207753Smm 5655207753Smmcommit 918bcb0e0728d2d976621e9f35b56f224f11d989 5656207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5657207753SmmDate: Tue Dec 11 17:08:04 2007 +0200 5658207753Smm 5659207753Smm Removed uncompressed size tracking from Delta encoder too. 5660207753Smm 5661207753Smmcommit 3e16d51dd645667b05ff826665b1fc353aa41cd9 5662207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5663207753SmmDate: Tue Dec 11 16:49:19 2007 +0200 5664207753Smm 5665207753Smm Remove uncompressed size tracking from the filter encoders. 5666207753Smm It's not strictly needed there, and just complicates the 5667207753Smm code. LZ encoder never even had this feature. 5668207753Smm 5669207753Smm The primary reason to have uncompressed size tracking in 5670207753Smm filter encoders was validating that the application 5671207753Smm doesn't give different amount of input that it had 5672207753Smm promised. A side effect was to validate internal workings 5673207753Smm of liblzma. 5674207753Smm 5675207753Smm Uncompressed size tracking is still present in the Block 5676207753Smm encoder. Maybe it should be added to LZMA_Alone and raw 5677207753Smm encoders too. It's simpler to have one coder just to 5678207753Smm validate the uncompressed size instead of having it 5679207753Smm in every filter. 5680207753Smm 5681207753Smmcommit 5286723e0d1ac386d5b07f08d78e61becf895a5a 5682207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5683207753SmmDate: Tue Dec 11 14:10:53 2007 +0200 5684207753Smm 5685207753Smm Get rid of no-NLS gnulib. I don't know how to get it 5686207753Smm working with Automake. People who want smaller lzmadec 5687207753Smm should use --disable-nls on non-GNU systems. 5688207753Smm 5689207753Smmcommit ce8b036a6c7a43b290356b673d953f6d76b2be64 5690207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5691207753SmmDate: Tue Dec 11 14:09:35 2007 +0200 5692207753Smm 5693207753Smm Fixed a typo in tests/Makefile.am which prevented 5694207753Smm building the tests if gnulib was needed. 5695207753Smm 5696207753Smmcommit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4 5697207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5698207753SmmDate: Tue Dec 11 11:18:58 2007 +0200 5699207753Smm 5700207753Smm Fixed wrong type of flags_size in Subblock encoder. 5701207753Smm 5702207753Smmcommit ce64df716243fdc40359090d1f6541f3a4f5f21a 5703207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5704207753SmmDate: Mon Dec 10 20:44:16 2007 +0200 5705207753Smm 5706207753Smm Bumped version number to 4.42.3alpha. 5707207753Smm 5708207753Smmcommit b499a0403ea5c41d6a25b40275eb6c57643052ce 5709207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5710207753SmmDate: Mon Dec 10 15:02:50 2007 +0200 5711207753Smm 5712207753Smm Disabled some unneeded warnings and made "make dist" work. 5713207753Smm 5714207753Smmcommit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172 5715207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5716207753SmmDate: Sun Dec 9 21:43:15 2007 +0200 5717207753Smm 5718207753Smm Added LZMA_SYNC_FLUSH support to the Copy filter. 5719207753Smm 5720207753Smmcommit 329c272d501e88793dda5540358d55c12428d194 5721207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5722207753SmmDate: Sun Dec 9 17:14:07 2007 +0200 5723207753Smm 5724207753Smm Added missing LZMA_API to the C versions of the CRC functions. 5725207753Smm The x86 assembler versions were already OK. 5726207753Smm 5727207753Smmcommit c90daf86ce683fa8cf80491d624ffb158dfbd9d7 5728207753SmmAuthor: Jim Meyering <meyering@redhat.com> 5729207753SmmDate: Sun Dec 9 15:34:25 2007 +0100 5730207753Smm 5731207753Smm * tests/test_block_header.c (test3): Remove duplicate initializer. 5732207753Smm 5733207753Smmcommit 07ac881779a8477f2c1ab112b91a129e24aa743c 5734207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5735207753SmmDate: Sun Dec 9 17:06:45 2007 +0200 5736207753Smm 5737207753Smm Take advantage of return_if_error() macro in more places. 5738207753Smm Cleaned Subblock filter's initialization code too. 5739207753Smm 5740207753Smmcommit 41338717964f510ee61d70b25bd4c502ec9f77cf 5741207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5742207753SmmDate: Sun Dec 9 12:13:01 2007 +0200 5743207753Smm 5744207753Smm Added a bunch of .lzma test files. 5745207753Smm 5746207753Smmcommit ff946ceb7975d4f11950afd33f6315b4d20d1a03 5747207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5748207753SmmDate: Sun Dec 9 11:24:48 2007 +0200 5749207753Smm 5750207753Smm Re-enabled the security checks in Subblock decoder 5751207753Smm that were disabled for debugging reasons. 5752207753Smm 5753207753Smmcommit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1 5754207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5755207753SmmDate: Sun Dec 9 11:03:28 2007 +0200 5756207753Smm 5757207753Smm Fixed the tests to build with -Werror. 5758207753Smm 5759207753Smmcommit 5d018dc03549c1ee4958364712fb0c94e1bf2741 5760207753SmmAuthor: Lasse Collin <lasse.collin@tukaani.org> 5761207753SmmDate: Sun Dec 9 00:42:33 2007 +0200 5762207753Smm 5763207753Smm Imported to git. 5764