summaryrefslogtreecommitdiff
path: root/Build/source/extra/xz/ChangeLog
blob: 3a47189cd6e06fedf74d445bd504d59acd7b1f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
commit b6377fc990f9b8651149cae0fecb8b9c5904e26d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-05-16 18:42:22 +0300

    Split message_filters().
    
    message_filters_to_str() converts the filter chain to
    a string. message_filters_show() replaces the original
    message_filters().
    
    uint32_to_optstr() was also added to show the dictionary
    size in nicer format when possible.

 src/xz/coder.c   |    2 +-
 src/xz/message.c |  187 ++++++++++++++++++++++++++++++++++-------------------
 src/xz/message.h |   14 ++++-
 3 files changed, 134 insertions(+), 69 deletions(-)

commit d9986db782d6cf0f314342127280519339378fa0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-05-14 23:17:20 +0300

    Omit lzma_restrict from the API headers.
    
    It isn't really useful so omitting it makes things
    shorter and slightly more readable.

 src/liblzma/api/lzma.h       |   12 ------------
 src/liblzma/api/lzma/index.h |    5 ++---
 src/liblzma/api/lzma/vli.h   |   11 +++++------
 3 files changed, 7 insertions(+), 21 deletions(-)

commit 0d3489efca0a723dca0394809fa3e6170843af4b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-05-10 19:57:24 +0300

    Updated INSTALL.

 INSTALL |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

commit 3fb3d594a2b53886adee161b6261e92277f05f7c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-05-10 19:54:52 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 6548e304657e77d3a972053db3c41c5daf591113
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-05-10 19:54:15 +0300

    Updates to tuklib_physmem and tuklib_cpucores.
    
    Don't use #error to generate compile error, because some
    compilers actually don't take it as an error. This fixes
    tuklib_physmem on IRIX.
    
    Fix incorrect error check for sysconf() return values.
    
    Add AIX, HP-UX, and Tru64 specific code to detect the
    amount RAM.
    
    Add HP-UX specific code to detect the number of CPU cores.
    
    Thanks a lot to Peter O'Gorman for initial patches,
    testing, and debugging these fixes.

 m4/tuklib_cpucores.m4        |   33 ++++++++++++++++---
 m4/tuklib_physmem.m4         |   72 ++++++++++++++++++++++++++++++++++++++++-
 src/common/tuklib_cpucores.c |   14 +++++++-
 src/common/tuklib_physmem.c  |   33 ++++++++++++++++++-
 4 files changed, 141 insertions(+), 11 deletions(-)

commit a290cfee3e23f046889c022aa96b4eca2016fdda
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-04-12 21:55:56 +0300

    Show both elapsed time and estimated remaining time in xz -v.
    
    The extra space for showing both has been taken from the
    sizes field. If the sizes grow big, bigger units than MiB
    will be used. It makes it slightly difficult to see that
    progress is still happening with huge files, but it should
    be OK in practice.
    
    Thanks to Trent W. Buck for <http://bugs.debian.org/574583>
    and Jonathan Nieder for suggestions how to fix it.

 THANKS           |    1 +
 src/xz/message.c |   86 ++++++++++++++++++++++++------------------------------
 2 files changed, 39 insertions(+), 48 deletions(-)

commit a1f7a986b8d708f9290da9799ca1b8d7082fad3e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-31 16:47:25 +0300

    Add a simple tip to faq.txt about tar and xz.
    
    Thanks to Gilles Espinasse.

 THANKS      |    1 +
 doc/faq.txt |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)

commit c737eec91d200d730aa82662affd6b06ebb0bff0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-22 21:03:03 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit f4b2b52624b802c786e4e2a8eb6895794dd93b24
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-07 19:52:25 +0200

    Fix xzgrep to not break if filenames have spaces or quotes.
    
    Thanks to someone who reported the bug on IRC.

 src/scripts/xzgrep.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit cf38da00a140bd3bd65b192390ae5553380fd774
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-07 13:59:32 +0200

    Treat all integer multiplier suffixes as base-2.
    
    Originally both base-2 and base-10 were supported, but since
    there seems to be little need for base-10 in XZ Utils, treat
    everything as base-2 and also be more relaxed about the case
    of the first letter of the suffix. Now xz will accept e.g.
    KiB, Ki, k, K, kB, and KB, and interpret them all as 1024. The
    recommended spelling of the suffixes are still KiB, MiB, and GiB.

 src/xz/util.c     |   53 +++++++++++++++++++++++------------------------------
 src/xz/xz.1       |   48 ++++++++++++++++++++++++++++--------------------
 src/xzdec/xzdec.c |   42 ++++++++++++++++--------------------------
 3 files changed, 67 insertions(+), 76 deletions(-)

commit 00fc1211ae7b687ac912098f4479112059deccbd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-07 13:50:23 +0200

    Consistently round up the memory usage limit in messages.
    
    It still feels a bit wrong to round 1 byte to 1 MiB but
    at least it is now done consistently so that the same
    byte value is always rounded the same way to MiB.

 src/xz/message.c  |    5 +++--
 src/xzdec/xzdec.c |    7 +++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

commit 9886d436ff5615fc70eef32ff757b1e934069621
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-07 13:34:34 +0200

    Change the default of --enable-assume-ram from 32 to 128 MiB.
    
    This is to allow files created with "xz -9" to be decompressed
    if the amount of RAM cannot be determined.

 INSTALL      |    5 ++---
 configure.ac |   11 ++++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

commit 2672bcc9f85ba28ff648e092e9eb4cd9e69ce418
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-07 13:29:28 +0200

    Increase the default memory usage limit on "low-memory" systems.
    
    Previously the default limit was always 40 % of RAM. The
    new limit is a little bit more complex:
    
      - If 40 % of RAM is at least 80 MiB, 40 % of RAM is used
        as the limit.
    
      - If 80 % of RAM is over 80 MiB, 80 MiB is used as the limit.
    
      - Otherwise 80 % of RAM is used as the limit.
    
    This should make it possible to decompress files created with
    "xz -9" on more systems. Swapping is generally more expected
    on systems with less RAM, so higher default limit on them
    shouldn't cause too bad surprises in terms of heavy swapping.
    Instead, the higher default limit should reduce the number of
    bad surprises when it used to prevent decompression of files
    created with "xz -9". The DoS prevention system shouldn't be
    a DoS itself.
    
    Note that even with the new default limit, a system with 64 MiB
    RAM cannot decompress files created with "xz -9" without user
    overriding the limit. This should be OK, because if xz is going
    to need more memory than the system has RAM, it will run very
    very slowly and thus it's good that user has to override the limit
    in that case.

 src/xz/hardware.c |   43 +++++++++++++++++++++++++++++++------------
 src/xz/xz.1       |   21 +++++++++++++++------
 src/xzdec/xzdec.1 |    8 ++++----
 src/xzdec/xzdec.c |   42 ++++++++++++++++++++++++++++++------------
 4 files changed, 80 insertions(+), 34 deletions(-)

commit 5527b7269a997e7f335d60f237a64bbf225d9dc7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-06 21:36:19 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit d0d1c51aea4351288a7e533cce28cb7f852f6b05
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-03-06 21:17:20 +0200

    Fix missing initialization in lzma_strm_init().
    
    With bad luck, lzma_code() could return LZMA_BUF_ERROR
    when it shouldn't.
    
    This has been here since the early days of liblzma.
    It got triggered by the modifications made to the xz
    tool in commit 18c10c30d2833f394cd7bce0e6a821044b15832f
    but only when decompressing .lzma files. Somehow I managed
    to miss testing that with Valgrind earlier.
    
    This fixes <http://bugs.gentoo.org/show_bug.cgi?id=305591>.
    Thanks to Rafał Mużyło for helping to debug it on IRC.

 src/liblzma/common/common.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit eb7d51a3faf9298c0c7aa9aaeae1023dcf9e37ea
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-12 13:16:15 +0200

    Collection of language fixes to comments and docs.
    
    Thanks to Jonathan Nieder.

 README                                         |    2 +-
 configure.ac                                   |    2 +-
 doc/faq.txt                                    |    2 +-
 extra/7z2lzma/7z2lzma.bash                     |    2 +-
 src/common/tuklib_progname.c                   |    2 +-
 src/common/tuklib_progname.h                   |    2 +-
 src/liblzma/api/lzma/base.h                    |    8 ++++----
 src/liblzma/api/lzma/bcj.h                     |    2 +-
 src/liblzma/api/lzma/block.h                   |    2 +-
 src/liblzma/api/lzma/check.h                   |    2 +-
 src/liblzma/api/lzma/filter.h                  |    4 ++--
 src/liblzma/api/lzma/index.h                   |    6 +++---
 src/liblzma/api/lzma/lzma.h                    |    2 +-
 src/liblzma/api/lzma/version.h                 |    2 +-
 src/liblzma/api/lzma/vli.h                     |    2 +-
 src/liblzma/common/block_header_encoder.c      |    2 +-
 src/liblzma/common/chunk_size.c                |    4 ++--
 src/liblzma/common/common.h                    |    4 ++--
 src/liblzma/common/filter_buffer_decoder.c     |    2 +-
 src/liblzma/common/filter_encoder.c            |    4 ++--
 src/liblzma/common/index.c                     |    6 +++---
 src/liblzma/common/index_encoder.c             |    2 +-
 src/liblzma/common/stream_encoder.c            |    2 +-
 src/liblzma/common/vli_decoder.c               |    2 +-
 src/liblzma/lz/lz_encoder.c                    |    2 +-
 src/liblzma/lz/lz_encoder.h                    |    2 +-
 src/liblzma/lzma/lzma2_encoder.c               |    2 +-
 src/liblzma/lzma/lzma_decoder.c                |    4 ++--
 src/liblzma/lzma/lzma_decoder.h                |    2 +-
 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |    2 +-
 src/liblzma/lzma/lzma_encoder_optimum_normal.c |    2 +-
 src/liblzma/lzma/lzma_encoder_private.h        |    2 +-
 src/liblzma/simple/simple_coder.c              |    2 +-
 src/liblzma/subblock/subblock_encoder.c        |    2 +-
 src/scripts/xzdiff.1                           |    2 +-
 src/scripts/xzless.1                           |   10 +++++-----
 src/xz/coder.c                                 |    2 +-
 src/xz/file_io.c                               |    2 +-
 src/xz/main.c                                  |    6 +++---
 src/xz/main.h                                  |    2 +-
 src/xz/message.c                               |   10 +++++-----
 src/xz/message.h                               |    2 +-
 src/xz/xz.1                                    |   16 ++++++++--------
 src/xzdec/lzmadec_w32res.rc                    |    2 +-
 src/xzdec/xzdec_w32res.rc                      |    2 +-
 tests/test_index.c                             |    2 +-
 windows/build.sh                               |    4 ++--
 47 files changed, 77 insertions(+), 77 deletions(-)

commit 4785f2021aa6a23f1caf724fcc823e562584f225
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-12 12:41:20 +0200

    Fix jl -> jb in ASM files.

 src/liblzma/check/crc32_x86.S |    2 +-
 src/liblzma/check/crc64_x86.S |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit 6b50c9429bf85521d355adc61745d06ee017f8c8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-12 12:31:22 +0200

    Use __APPLE__ instead of __MACH__ in ASM files.
    
    This allows the files to work on HURD.
    
    Thanks to Jonathan Nieder.

 src/liblzma/check/crc32_x86.S |    8 ++++----
 src/liblzma/check/crc64_x86.S |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

commit 6503fde658a5cdbdd907a788865470dd64771601
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-07 19:48:06 +0200

    Subtle change to liblzma Block handling API.
    
    lzma_block.version has to be initialized even for
    lzma_block_header_decode(). This way a future version
    of liblzma won't allocate memory in a way that an old
    application doesn't know how to free it.
    
    The subtlety of this change is that all current apps
    using lzma_block_header_decode() will keep working for
    now, because the only possible version value is zero,
    and lzma_block_header_decode() unconditionally sets the
    version to zero even now. Unless fixed, these apps will
    break in the future if a new version of the Block options
    is ever needed.

 src/liblzma/api/lzma/block.h        |   39 +++++++++++++++-------------------
 src/liblzma/common/stream_decoder.c |    3 ++
 2 files changed, 20 insertions(+), 22 deletions(-)

commit dd7c3841ff78cb94ce02b0220c6e4748460970f7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-02 11:50:11 +0200

    Fix wrong assertion.
    
    This was added in 455e68c030fde8a8c2f5e254c3b3ab9489bf3735.

 src/xz/main.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

commit 9d67588c1597849504a3e5ac8bf6f06e7d2ee8be
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-01 22:48:42 +0200

    Updated TODO.

 TODO |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

commit fef6333f52c8801308c3b78acb7942988541d137
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-01 22:47:54 +0200

    Fix typos in comments.

 src/xz/list.c    |    2 +-
 windows/build.sh |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 455e68c030fde8a8c2f5e254c3b3ab9489bf3735
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-01 22:46:56 +0200

    Fix signal handling for --list.

 src/xz/main.c |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

commit 82220a149015616f75641ee8bbea415137535b9b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-01 11:44:45 +0200

    Fix compression of symlinks with --force.
    
    xz --force accepted symlinks, but didn't remove
    them after successful compression. Instead, an error
    message was displayed.

 src/xz/file_io.c |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

commit d4da177d5ba3d2ef7323a6f1e06ca16e0478810e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-02-01 10:20:57 +0200

    Fix a comment.

 windows/build.sh |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

commit f9dd797a423a148903cf345b4146cb1fe1eab11d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 23:43:54 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit ee5ddb8b28419fe4923ded5c18a50570a762dcab
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 23:41:29 +0200

    Updated TODO.

 TODO |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

commit 11936ad3f5a2e97bda3463c7a56a2f4bb9265ea6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 23:35:04 +0200

    Mention TODO in README.

 README |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 2901a8e7e82af05675b8cd8758a8ceddb111359f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 23:31:14 +0200

    Updated INSTALL.

 INSTALL |   52 ++++++++++++++++++++++++++--------------------------
 1 files changed, 26 insertions(+), 26 deletions(-)

commit 8884e16864ba53fb4b58623d7537d7ef30c28e11
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 23:28:51 +0200

    Revise the Windows build files.
    
    The old Makefile + config.h was deleted, because it
    becomes outdated too easily and building with the
    Autotools based build system works fine even on Windows.
    
    windows/build.sh hasn't got much testing, but it should
    work to build 32-bit x86 and x86-64 versions of XZ Utils
    using MSYS, MinGW or MinGW-w32, and MinGW-w64.
    
    windows/INSTALL-Windows.txt describes what packages are
    needed and how to install them.
    
    windows/README-Windows.txt is a readme file for the binary
    package that build.sh hopefully builds.
    
    There are no instructions about using Autotools for now,
    so those using a git snapshot may want to run
    "autoreconf -fi && ./configure && make mydist" on a UN*X
    box and then copy the resulting .tar.gz to a Windows.

 windows/INSTALL-Windows.txt |  131 ++++++++++++++++++
 windows/Makefile            |  320 -------------------------------------------
 windows/README              |  155 ---------------------
 windows/README-Windows.txt  |  115 ++++++++++++++++
 windows/build.sh            |  189 +++++++++++++++++++++++++
 windows/config.h            |  170 -----------------------
 6 files changed, 435 insertions(+), 645 deletions(-)

commit 34eb5e201d62f7f46bbe6fe97cfe08cb31b3b88c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 19:52:38 +0200

    Select the default integrity check type at runtime.
    
    Previously it was set statically to CRC64 or CRC32
    depending on options passed to the configure script.

 src/xz/coder.c |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

commit 96a4f840e3b9ca5c81e5711ff9c267b194f93ef1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 18:17:50 +0200

    Improve displaying of the memory usage limit.

 src/xz/coder.c   |    8 +++-----
 src/xz/message.c |   37 +++++++++++++++++++++++++++++--------
 src/xz/util.c    |    7 +++++++
 src/xz/util.h    |    6 ++++++
 4 files changed, 45 insertions(+), 13 deletions(-)

commit b3cc4d8edd68a0250cc69680c99b9f7343f99cf2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 12:53:56 +0200

    Don't use uninitialized sigset_t.
    
    If signal handlers haven't been established, then it's
    useless to try to block them, especially since the sigset_t
    used for blocking hasn't been initialized yet.

 src/xz/signals.c |   34 ++++++++++++++++++++++++----------
 1 files changed, 24 insertions(+), 10 deletions(-)

commit 231c3c7098f1099a56abb8afece76fc9b8699f05
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-31 12:01:54 +0200

    Delay opening the destionation file and other fixes.
    
    The opening of the destination file is now delayed a little.
    The coder is initialized, and if decompressing, the memory
    usage of the first Block compared against the memory
    usage limit before the destination file is opened. This
    means that if --force was used, the old "target" file won't
    be deleted so easily when something goes wrong very early.
    Thanks to Mark K for the bug report.
    
    The above fix required some changes to progress message
    handling. Now there is a separate function for setting and
    printing the filename. It is used also in list.c.
    
    list_file() now handles stdin correctly (gives an error).
    
    A useless check for user_abort was removed from file_io.c.

 src/xz/coder.c   |   64 ++++++++++++++++++++++----------
 src/xz/file_io.c |  107 ++++++++++++++++++++++++++----------------------------
 src/xz/file_io.h |    8 +++-
 src/xz/list.c    |   28 +++++----------
 src/xz/message.c |   46 +++++++++++++----------
 src/xz/message.h |   29 ++++++++++-----
 6 files changed, 157 insertions(+), 125 deletions(-)

commit 0dbd0641db99d5e73d51d04ce7a71e52dc6b4105
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-29 22:48:04 +0200

    Add list.h to src/xz/Makefile.am.
    
    This should have been already in
    0bc9eab243dee3be764b3530433a7fcdc3f7c6a1.

 src/xz/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit b4b1a56e0cbd597157858264f5c7189201ac9018
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-29 13:24:27 +0200

    Add lzmainfo.1 to manfiles list to convert to .txt and .pdf.

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-27 16:42:11 +0200

    Silence two compiler warnings on DOS-like systems.

 src/common/tuklib_open_stdxxx.c |    6 +++++-
 src/xz/file_io.c                |    3 +++
 2 files changed, 8 insertions(+), 1 deletions(-)

commit b063cc34a30a4edf109343ff373b2b62b8ca72d3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-27 13:31:03 +0200

    Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE.

 configure.ac              |    9 ++-------
 src/liblzma/liblzma.pc.in |    2 +-
 src/lzmainfo/lzmainfo.c   |    2 +-
 src/xz/message.c          |    2 +-
 src/xzdec/xzdec.c         |    2 +-
 5 files changed, 6 insertions(+), 11 deletions(-)

commit 38b8035b5cb5f56457c5fa5a891d6900fcf5984f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-26 23:37:46 +0200

    Add a missing space to an error message.
    
    Thanks to Robert Readman.

 src/xz/args.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit e5496f9628ff5979392a80421d0b63a4de8015b4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-26 22:53:37 +0200

    Use past tense in error message in io_unlink().
    
    Added a note to translators too.
    
    Thanks to Robert Readman.

 THANKS           |    1 +
 src/xz/file_io.c |   14 ++++++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

commit d9a9800597ea540090e434132c3b511217df0a2b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-26 15:42:24 +0200

    Fix too small static buffer in util.c.
    
    This was introduced in
    0dd6d007669b946543ca939a44243833c79e08f4 two days ago.

 src/xz/util.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

commit d0b4bbf5da068503c099cd456e294d7673548cc0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-26 14:46:43 +0200

    Minor comment fix.

 src/xz/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 0bc9eab243dee3be764b3530433a7fcdc3f7c6a1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-24 23:50:54 +0200

    Add initial version of xz --list.
    
    This is a bit rough but should be useful for basic things.
    Ideas (with detailed examples) about the output format are
    welcome.
    
    The output of --robot --list is not necessarily stable yet,
    although I don't currently have any plans about changing it.
    
    The man page hasn't been updated yet.

 src/xz/Makefile.am |    1 +
 src/xz/list.c      |  988 +++++++++++++++++++++++++++++++++-------------------
 src/xz/list.h      |   18 +
 src/xz/main.c      |   19 +-
 src/xz/private.h   |    1 +
 5 files changed, 668 insertions(+), 359 deletions(-)

commit df254ce03be016e217b511e7acd5d493f9929ca5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-24 22:46:11 +0200

    Add io_pread().
    
    It will be used by --list.

 src/xz/file_io.c |   25 +++++++++++++++++++++++++
 src/xz/file_io.h |   17 +++++++++++++++++
 2 files changed, 42 insertions(+), 0 deletions(-)

commit ef68dd4a92976276304de2aedfbe34ae91a86abb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-24 22:45:14 +0200

    Set LC_NUMERIC=C when --robot is used.
    
    It is to ensure that floating point numbers
    will always have a dot as the decimal separator.

 src/xz/args.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 0dd6d007669b946543ca939a44243833c79e08f4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-24 16:57:40 +0200

    Some improvements to printing sizes in xz.

 src/xz/coder.c   |   56 ++++++++++++++-----------------------
 src/xz/message.c |   80 +++++++++++++++++-------------------------------------
 src/xz/message.h |    4 +++
 src/xz/util.c    |   72 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/xz/util.h    |   44 +++++++++++++++++++++++++++++
 5 files changed, 166 insertions(+), 90 deletions(-)

commit 2a98fdffd68c66371279c211c29153c808ad5c1d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-20 22:02:35 +0200

    Fix a typo in README.
    
    Thanks to R. Bijker.

 README |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 07a11dad44e041b01dcfc73e8d4e00731158c06d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-17 11:59:54 +0200

    Updated windows/Makefile.
    
    Thanks to Dan Shechter for the patch.
    
    It is likely that windows/Makefile will be removed
    completely, because Autotols based build nowadays
    works well with both 32-bit and 64-bit MinGW (I
    just need to update the docs).

 windows/Makefile |   38 +++++++++++++++++++++++++-------------
 windows/config.h |    2 ++
 2 files changed, 27 insertions(+), 13 deletions(-)

commit 37f31ead9d2b4e467df11450cf29ed7d7e3e25f3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-15 11:05:11 +0200

    Update the xz man page to match the previous two commits.

 src/xz/xz.1 |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

commit 3ffd5d81a43210c8da56da5c5b3637d3f8bc63c7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-13 19:10:25 +0200

    Don't read compressed data from a terminal or write it
    to a terminal even if --force is specified.
    
    It just seems more reasonable this way.
    
    The new behavior matches bzip2. The old one matched gzip.

 src/xz/main.c |   20 +++++++++-----------
 src/xz/util.c |    8 ++++----
 2 files changed, 13 insertions(+), 15 deletions(-)

commit 23ac2c44c3ac76994825adb7f9a8f719f78b5ee4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-13 18:12:40 +0200

    Don't compress or decompress special files unless writing
    to stdout even if --force is used.
    
    --force will still enable compression of symlinks, but only
    in case they point to a regular file.
    
    The new way simply seems more reasonable. It matches gzip's
    behavior while the old one matched bzip2's behavior.

 src/xz/file_io.c |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

commit cee12aa852ec0902983dc1f153346ef750157fb9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-12 16:30:33 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 153c7740c54b3c90129dbd3d6153ac1303c4d605
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-12 16:18:14 +0200

    Add IRIX-specific code to tuklib_physmem and tuklib_cpucores.
    
    This is untested but it will get tested soon and, if needed,
    fixed before 5.0.0.
    
    Thanks to Stuart Shelton.

 m4/tuklib_cpucores.m4        |   11 +++++++++--
 m4/tuklib_physmem.m4         |   22 +++++++++++++++++++++-
 src/common/tuklib_cpucores.c |    6 ++++++
 src/common/tuklib_physmem.c  |   19 +++++++++++++++++++
 4 files changed, 55 insertions(+), 3 deletions(-)

commit 8ea8dc754a7a5bc2d60db1eac201839cabdab6a1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2010-01-01 00:29:10 +0200

    Fix _memconfig() functions.
    
    This affects lzma_memusage() and lzma_memlimit_get().

 src/liblzma/api/lzma/index.h        |    7 -------
 src/liblzma/common/alone_decoder.c  |   11 +++++++----
 src/liblzma/common/index_decoder.c  |   10 ++++++----
 src/liblzma/common/stream_decoder.c |   11 +++++++----
 4 files changed, 20 insertions(+), 19 deletions(-)

commit 1a7ec87c8ee61dfc2e496d2e1fb7ab0939804691
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-31 22:45:53 +0200

    Revised the Index handling code.
    
    This breaks API and ABI but most apps are not affected
    since most apps don't use this part of the API. You will
    get a compile error if you are using anything that got
    broken.
    
    Summary of changes:
    
      - Ability to store Stream Flags, which are needed
        for random-access reading in multi-Stream files.
    
      - Separate function to set size of Stream Padding.
    
      - Iterator structure makes it possible to read the same
        lzma_index from multiple threads at the same time.
    
      - A lot faster code to locate Blocks.
    
      - Removed lzma_index_equal() without adding anything
        to replace it. I don't know what it should do exactly
        with the new features and what actually needs this
        function in the first place other than test_index.c,
        which now has its own code to compare lzma_indexes.

 src/liblzma/api/lzma/index.h               |  572 ++++++++---
 src/liblzma/common/index.c                 | 1553 ++++++++++++++++++----------
 src/liblzma/common/index.h                 |    6 +
 src/liblzma/common/index_decoder.c         |   12 +-
 src/liblzma/common/index_encoder.c         |   36 +-
 src/liblzma/common/index_encoder.h         |    2 +-
 src/liblzma/common/stream_buffer_encoder.c |    6 +-
 src/liblzma/common/stream_encoder.c        |    3 +-
 tests/test_index.c                         |  371 +++++---
 9 files changed, 1703 insertions(+), 858 deletions(-)

commit f29997a846e673cb3b8cbd57de47ed313b3978bb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-31 21:13:25 +0200

    Remove c-format tag in cs.po.
    
    It was fixed in the C code earlier.

 po/cs.po |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 097bad000363e0bf29f8274ad2d7ab59f7dbf644
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-31 21:11:05 +0200

    Add missing lzma_nothrow in filter.h.

 src/liblzma/api/lzma/filter.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit b56cb1fc31fa2381f92eefc040df85667048d626
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-09 18:13:44 +0200

    Remove redefinition of _(msgid) macro from lzmainfo.c.

 src/lzmainfo/lzmainfo.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

commit 171b03febfe09d9fae6ac8be6aa4518bcaf427d2
Author: Jonathan Nieder <jrnieder@gmail.com>
Date:   2009-12-08 19:41:57 -0600

    update po/.gitignore
    
    Since the *.gmo files are deleted by the maintainer-clean target,
    I assume they are not meant to be tracked.
    
    Also add the other files listed in the Makefile’s clean targets
    (stamp-poT, xz.po, xz.[12].po, *.new.po, xz.mo) to make sure they
    are not accidentally tracked.  Most of these are intermediate
    files that would not appear unless a build is interrupted or
    fails.
    
    Split the list of untracked files by origin to make it easier to
    tell if files are missing in the future.
    
    Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>

 po/.gitignore |   28 ++++++++++++++++++++++------
 1 files changed, 22 insertions(+), 6 deletions(-)

commit f7e44c6c11f630519072971b8b07a5729c096c36
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-09 00:38:55 +0200

    Always rely on GCC's auto-import on Windows.
    
    I understood that this is nicer, because then people
    don't need to worry about the LZMA_API_STATIC macro.
    
    Thanks to Charles Wilson and Keith Marshall.

 src/liblzma/api/lzma.h |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

commit 7b76a3e2336f25088957cba92b0dbd854d9caa3c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-07 21:46:53 +0200

    Fix file_io.c on DOS-like systems.
    
    The problem was introduced when adding sparse file
    support in 465d1b0d6518c5d980f2db4c2d769f9905bdd902.
    
    Thanks to Charles Wilson.

 src/xz/file_io.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 0696f5d268362221380e039bad48a86e29067c6a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-07 20:54:21 +0200

    Add Czech translation.
    
    Thanks to Marek Černocký.
    
    Other people planning to translate xz: Note that the
    messages are a little bit in flux still. Translations
    are still welcome, just be prepared to some extra work
    in case there are changes.

 THANKS     |    1 +
 po/LINGUAS |    1 +
 po/cs.po   |  637 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 639 insertions(+), 0 deletions(-)

commit 5e817a50d276f0a3607638c1c1d449d50b9aa4e5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-07 20:32:08 +0200

    Add a note for translators to add a bug reporting address
    for translation bugs.

 src/xz/message.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 6db1c35be9e1e364cdacff6878910e1b7aac2a37
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-12-07 20:07:02 +0200

    Prevent xgettext from taking one regular string as a C format string.
    
    Thanks to Marek Černocký.

 src/xz/message.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit e0c2776b6ffbd2b1900fde353aceac734edc93d7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-28 17:45:22 +0200

    Remove duplicate code in io_open_dest().
    
    Fix a missing _() in the error message too.

 src/xz/file_io.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

commit f057a33c6f7c5992389479f2d4feabf2900ba7ee
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-26 10:11:23 +0200

    Typo fix to sysdefs.h.
    
    Thanks to Jonathan Nieder.

 src/common/sysdefs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 8767b41534eafdf5e742e12190646bf5740b0cdb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-26 10:10:36 +0200

    Fix a memory leak in test_index.c.
    
    This was introduced in
    bd13b04e202b6f495a68eb0766f97085b7c50a06.
    
    Thanks to Jim Meyering for noticing it.

 tests/test_index.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 919fbaff860acdaa4bcd216500a0b1c960a6db92
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-25 14:22:19 +0200

    Add missing error check to coder.c.
    
    With bad luck this could cause a segfault due to
    reading (but not writing) past the end of the buffer.

 src/xz/coder.c |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

commit bd13b04e202b6f495a68eb0766f97085b7c50a06
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-25 13:04:10 +0200

    Fix bugs in lzma_index_read() and lzma_index_cat().
    
    lzma_index_read() didn't skip over Stream Padding
    if it was the first record in the Index.
    
    lzma_index_cat() didn't combine small Indexes correctly.
    
    The test suite was updated to check for these bugs.
    
    These bugs didn't affect the xz command line tool or
    most users of liblzma in any way.

 src/liblzma/common/index.c |   30 +++++++++++++++++++-----------
 tests/test_index.c         |   28 +++++++++++++++++++++++++---
 2 files changed, 44 insertions(+), 14 deletions(-)

commit 1f196909143b888e062bd9a0c4ba8c34d3019bfa
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-25 12:52:56 +0200

    Index decoder fixes.
    
    The Index decoder code didn't perfectly match the API docs,
    which said that *i will be set to point to the decoded Index
    only after decoding has succeeded. The docs were a bit unclear
    too.
    
    Now the decoder will initially set *i to NULL. *i will be set
    to point to the decoded Index once decoding has succeeded.
    This simplifies applications too, since it avoids dangling
    pointers.

 src/liblzma/api/lzma/index.h       |   23 ++++++++++++-----------
 src/liblzma/common/index_decoder.c |   26 ++++++++++++++++++++------
 2 files changed, 32 insertions(+), 17 deletions(-)

commit 465d1b0d6518c5d980f2db4c2d769f9905bdd902
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-25 11:19:20 +0200

    Create sparse files by default when decompressing into
    a regular file.
    
    Sparse file creation can be disabled with --no-sparse.
    I don't promise yet that the name of this option won't
    change before 5.0.0. It's possible that the code, that
    checks when it is safe to use sparse output on stdout,
    is not good enough, and a more flexible command line
    option is needed to configure sparse file handling.

 src/xz/args.c    |    6 ++
 src/xz/coder.c   |   33 ++++----
 src/xz/file_io.c |  243 ++++++++++++++++++++++++++++++++++++++++++++++--------
 src/xz/file_io.h |   34 ++++++--
 src/xz/message.c |    1 +
 src/xz/xz.1      |   11 +++
 6 files changed, 272 insertions(+), 56 deletions(-)

commit 37de544414fc2dc5039471d1002ebd015eb3e627
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-22 12:43:06 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit f1a28b96c900c658fe016852ff62f6c24d1f50fa
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-22 12:05:33 +0200

    Add missing consts to pointer casts.

 src/liblzma/check/crc32_fast.c |    4 ++--
 src/liblzma/check/crc64_fast.c |    5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-22 12:00:30 +0200

    Enable assembler code only if it is known to work
    on that operating system.
    
    I'm too lazy to think how to make a good Autoconf test
    for this and it's not that important anyway.
    
    No longer define HAVE_ASM_X86 or HAVE_ASM_X86_64.
    Inline assembler (if any) is used if a macro like
    __i386__ or __x86_64__ is defined.

 configure.ac |   26 ++++++++++++--------------
 1 files changed, 12 insertions(+), 14 deletions(-)

commit 0733f4c9994db696420a405810d5f02c79ebc404
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-22 11:55:03 +0200

    Make fastpos.h use tuklib_integer.h instead of bsr.h
    when --enable-small has been specified.

 src/liblzma/common/Makefile.inc |    1 -
 src/liblzma/common/bsr.h        |   60 ---------------------------------------
 src/liblzma/lzma/fastpos.h      |    5 +--
 3 files changed, 1 insertions(+), 65 deletions(-)

commit 7ac3985d891dcc5773543f84cc5bce6c14841b12
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-22 11:52:30 +0200

    Update tuklib_integer.h with bit scan functions.
    
    Thanks to Joachim Henke for the original patch.

 src/common/tuklib_integer.h |  189 +++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 181 insertions(+), 8 deletions(-)

commit c74c132f7f79a842c073c66575a4fdb985e4c2e3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-20 12:51:19 +0200

    Update tuklib_cpucores.m4 and tuklib_physmem.m4 from tuklib,
    which now use AC_CACHE_CHECK. Using the cache variable,
    configure now warns if there is no method to detect the amount
    of RAM and recommends using --enable-assume-ram.

 configure.ac          |   16 +++++++++++++++
 m4/tuklib_cpucores.m4 |   31 +++++++++++++++++------------
 m4/tuklib_physmem.m4  |   50 ++++++++++++++++++++++++++----------------------
 3 files changed, 61 insertions(+), 36 deletions(-)

commit d315ca4930ff96e1428c6021c96f209e1abdd83e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-16 18:16:45 +0200

    Add support for --info-memory and --robot to xz.
    
    Currently --robot works only with --info-memory and
    --version. --help and --long-help work too, but --robot
    has no effect on them.
    
    Thanks to Jonathan Nieder for the original patches.

 src/xz/args.c    |   85 +++++++++++++++++++++++++++++++----------------------
 src/xz/args.h    |    1 +
 src/xz/main.c    |   11 ++++--
 src/xz/message.c |   47 ++++++++++++++++++++++-------
 src/xz/message.h |    4 ++
 src/xz/xz.1      |   40 +++++++++++++++++++++++--
 6 files changed, 133 insertions(+), 55 deletions(-)

commit e330fb7e6b8162894280c8a3dc22fdc05cd2d85e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-15 12:54:45 +0200

    Fix wrong indentation caused by incorrect settings
    in the text editor.

 src/liblzma/lz/lz_decoder.c                    |   18 +++++++++---------
 src/liblzma/lzma/lzma2_encoder.c               |    6 +++---
 src/liblzma/lzma/lzma_encoder_optimum_normal.c |    2 +-
 3 files changed, 13 insertions(+), 13 deletions(-)

commit 93e418562cf127a9171e87bcd4e9af8e1bfcdae4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-15 12:40:17 +0200

    Add lzma_physmem().
    
    I had hoped to keep liblzma as purely a compression
    library as possible (e.g. file I/O will go into
    a different library), but it seems that applications
    linking agaisnt liblzma need some way to determine
    the memory usage limit, and knowing the amount of RAM
    is one reasonable way to help making such decisions.
    
    Thanks to Jonathan Nieder for the original patch.

 src/liblzma/Makefile.am               |    5 ++-
 src/liblzma/api/Makefile.am           |    1 +
 src/liblzma/api/lzma.h                |    3 ++
 src/liblzma/api/lzma/hardware.h       |   51 +++++++++++++++++++++++++++++++++
 src/liblzma/common/Makefile.inc       |    1 +
 src/liblzma/common/hardware_physmem.c |   25 ++++++++++++++++
 src/xz/Makefile.am                    |    1 -
 src/xz/hardware.c                     |    3 +-
 src/xzdec/Makefile.am                 |    6 +--
 src/xzdec/xzdec.c                     |    3 +-
 10 files changed, 88 insertions(+), 11 deletions(-)

commit cf39faca59083d38422058c6c97aa757ea7797d0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-14 20:21:19 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 2ddcae247c284cc2f396b6cfdab57790c7588b5f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-14 20:20:03 +0200

    Some updates to xz man page.

 src/xz/xz.1 |   54 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 49 insertions(+), 5 deletions(-)

commit 19b2674f07f8b588dfaf6638396b4b42866d7e23
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-14 19:51:03 +0200

    Fix description of --memory in --long-help.

 src/xz/message.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

commit 2291346f0cccf88e605d84b75c9c5aaaaddb5df8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-14 19:45:39 +0200

    Update the debug programs so that they compile again.

 debug/crc32.c      |    1 +
 debug/memusage.c   |    6 ++++--
 debug/sync_flush.c |   14 +++++++++-----
 3 files changed, 14 insertions(+), 7 deletions(-)

commit 418d64a32e8144210f98a810738fed5a897e8367
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-11-14 18:59:19 +0200

    Fix a design error in liblzma API.
    
    Originally the idea was that using LZMA_FULL_FLUSH
    with Stream encoder would read the filter chain
    from the same array that was used to intialize the
    Stream encoder. Since most apps wouldn't use
    LZMA_FULL_FLUSH, most apps wouldn't need to keep
    the filter chain available after initializing the
    Stream encoder. However, due to my mistake, it
    actually required keeping the array always available.
    
    Since setting the new filter chain via the array
    used at initialization time is not a nice way to do
    it for a couple of reasons, this commit ditches it
    and introduces lzma_filters_update(). This new function
    replaces also the "persistent" flag used by LZMA2
    (and to-be-designed Subblock filter), which was also
    an ugly thing to do.
    
    Thanks to Alexey Tourbin for reminding me about the problem
    that Stream encoder used to require keeping the filter
    chain allocated.

 src/liblzma/api/lzma/filter.h           |   30 ++++++++++++
 src/liblzma/api/lzma/lzma.h             |   13 -----
 src/liblzma/common/block_encoder.c      |   14 ++++++
 src/liblzma/common/common.c             |   20 ++++++++-
 src/liblzma/common/common.h             |   22 +++++++++
 src/liblzma/common/easy_encoder.c       |   63 ++------------------------
 src/liblzma/common/filter_common.c      |    3 +
 src/liblzma/common/filter_encoder.c     |   27 +++++++++++
 src/liblzma/common/filter_encoder.h     |    2 +-
 src/liblzma/common/stream_encoder.c     |   76 +++++++++++++++++++++++++++----
 src/liblzma/delta/delta_common.c        |    5 +--
 src/liblzma/delta/delta_decoder.c       |    3 +-
 src/liblzma/delta/delta_encoder.c       |   17 +++++++-
 src/liblzma/delta/delta_private.h       |    2 +-
 src/liblzma/lz/lz_encoder.c             |   17 +++++++
 src/liblzma/lz/lz_encoder.h             |    4 ++
 src/liblzma/lzma/lzma2_encoder.c        |   59 ++++++++++++++----------
 src/liblzma/lzma/lzma_encoder_presets.c |    1 -
 src/liblzma/simple/simple_coder.c       |   12 +++++
 src/xz/options.c                        |    1 -
 20 files changed, 273 insertions(+), 118 deletions(-)

commit f0bf7634b77263a4dd02b20c71861ab67995da68
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-10-17 11:11:58 +0300

    Fix wrong function name in the previous commit.
    
    It was meant to be lzma_filters_copy(), not lzma_filters_dup().

 src/liblzma/api/lzma/filter.h      |    2 +-
 src/liblzma/common/filter_common.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 6d118a0b9def82e96afba7386ec8d7da0b59649f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-10-17 01:47:07 +0300

    Add lzma_filters_copy().
    
    This will be needed internally by liblzma once I fix
    a design mistake in the encoder API. This function may
    be useful to applications too so it's good to export it.

 src/liblzma/api/lzma/filter.h      |   31 +++++++++++++
 src/liblzma/common/filter_common.c |   82 ++++++++++++++++++++++++++++++++++++
 2 files changed, 113 insertions(+), 0 deletions(-)

commit 78e92c18470483e161388e679c1ee556adb3a691
Author: Jonathan Nieder <jrnieder@gmail.com>
Date:   2009-10-15 20:44:13 -0500

    Escape dashes in xzmore.1
    
    A minus sign is larger, easier to see in a printout, and more
    likely to use the same glyph as ASCII hyphen-minus in a terminal
    than a hyphen.  Since broken manual pagers do not find hyphens
    when the user searches for a hyphen-minus, minus signs are also
    easier to search for.  So use minus signs instead of hyphens to
    render sample terminal output.

 src/scripts/xzmore.1 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 7b7fe902d98da28e5769e2aa1e0c08c92384f7ee
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-10-16 20:35:39 +0300

    Mention --check=none in --long-help. It was already in
    the man page though.
    
    Thanks to Jim Meyering for noticing this.

 src/xz/message.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit ebfb2c5e1f344e5c6e549b9dedaa49b0749a4a24
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-10-04 22:57:12 +0300

    Use a tuklib module for integer handling.
    
    This replaces bswap.h and integer.h.
    
    The tuklib module uses <byteswap.h> on GNU,
    <sys/endian.h> on *BSDs and <sys/byteorder.h>
    on Solaris, which may contain optimized code
    like inline assembly.

 configure.ac                              |   54 +-----
 m4/tuklib_integer.m4                      |   74 ++++++
 src/common/bswap.h                        |   52 -----
 src/common/integer.h                      |  170 --------------
 src/common/tuklib_config.h                |    8 +-
 src/common/tuklib_integer.h               |  350 +++++++++++++++++++++++++++++
 src/liblzma/check/check.c                 |    4 +-
 src/liblzma/check/crc32_fast.c            |    4 +-
 src/liblzma/check/crc32_tablegen.c        |    8 +-
 src/liblzma/check/crc64_fast.c            |    4 +-
 src/liblzma/check/crc64_tablegen.c        |    8 +-
 src/liblzma/check/crc_macros.h            |    2 -
 src/liblzma/check/sha256.c                |   18 +--
 src/liblzma/common/alone_encoder.c        |    2 +-
 src/liblzma/common/block_header_decoder.c |    2 +-
 src/liblzma/common/block_header_encoder.c |    2 +-
 src/liblzma/common/common.h               |    2 +-
 src/liblzma/common/stream_flags_decoder.c |    6 +-
 src/liblzma/common/stream_flags_encoder.c |    6 +-
 src/liblzma/lz/lz_encoder_hash.h          |    2 +-
 src/liblzma/lzma/lzma_decoder.c           |    2 +-
 src/liblzma/lzma/lzma_encoder.c           |    2 +-
 src/liblzma/lzma/lzma_encoder_private.h   |    2 +-
 src/liblzma/simple/simple_decoder.c       |    2 +-
 src/liblzma/simple/simple_encoder.c       |    2 +-
 tests/test_block_header.c                 |    4 +-
 tests/test_stream_flags.c                 |    6 +-
 tests/tests.h                             |    2 +-
 28 files changed, 467 insertions(+), 333 deletions(-)

commit 29fd321033276261b87da7be5223db33d879a4c7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-10-02 14:35:56 +0300

    Add support for --enable-assume-ram=SIZE.

 INSTALL           |   16 ++++++++++++++++
 configure.ac      |   24 ++++++++++++++++++++++++
 src/xz/hardware.c |    7 +++----
 src/xzdec/xzdec.c |    5 +++--
 4 files changed, 46 insertions(+), 6 deletions(-)

commit 3782b3fee4812b0dd4ffdfa6563ed49f73060f25
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-10-02 11:28:17 +0300

    Use unaligned access (if possible) on both endiannesses
    in lz_encoder_hash.h.

 src/liblzma/lz/lz_encoder_hash.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit c5f68b5cc79085a87f950fea53843e27f328068e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-10-02 11:03:26 +0300

    Make liblzma produce the same output on both endiannesses.
    
    Seems that it is a problem in some cases if the same
    version of XZ Utils produces different output on different
    endiannesses, so this commit fixes that problem. The output
    will still vary between different XZ Utils versions, but I
    cannot avoid that for now.
    
    This commit bloatens the code on big endian systems by 1 KiB,
    which should be OK since liblzma is bloated already. ;-)

 src/liblzma/check/crc32_tablegen.c     |   30 ++++++++++++++
 src/liblzma/lz/Makefile.inc            |    1 +
 src/liblzma/lz/lz_encoder.c            |    7 +++-
 src/liblzma/lz/lz_encoder_hash.h       |   35 +++++++++++------
 src/liblzma/lz/lz_encoder_hash_table.h |   68 ++++++++++++++++++++++++++++++++
 src/liblzma/lz/lz_encoder_mf.c         |    1 -
 6 files changed, 128 insertions(+), 14 deletions(-)

commit 4a84d1adfda35e4fb4d41ecf0feb8223b100517a
Author: Mike Frysinger <vapier@gentoo.org>
Date:   2009-09-26 12:51:50 -0400

    add lzmainfo to gitignore
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

 .gitignore |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 188a1dcd0cc7867810ed3a55c598d0680922c63b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-27 11:53:36 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit db9119b9181b307e7ac5d2bae82444d04b902b59
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-27 11:48:54 +0300

    Work around a bug in Interix header files.
    
    Thanks to Markus Duft for the patch.

 src/common/sysdefs.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit b3d105e69786a45963176fd2193abe75e05ba738
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-24 17:50:17 +0300

    Fix an error in OpenVMS-specific code.
    
    Thanks to Jouk Jansen.

 src/xz/file_io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 5e000ff00d4d01e559397b49eb648ad3f159d496
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-22 18:59:56 +0300

    Added OpenVMS-specific information to INSTALL.

 INSTALL |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

commit 932b2e204463d70f3eee5b8a1ea5a23bf9d001a4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-22 14:03:02 +0300

    Better fixes for OpenVMS support.
    
    Thanks to Jouk Jansen.

 src/xz/file_io.c |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

commit 4c3630ec4179fe9265407a35c4db1374ffc82372
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-22 13:40:19 +0300

    Avoid non-standard preprocessor construct.
    
    Thanks to Jouk Jansen.

 src/common/tuklib_common.h |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

commit 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-21 19:50:09 +0300

    Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
    
    Thanks to Charles Wilson.

 src/common/tuklib_common.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit e599bba4216c0edb8cc8f40adad3a6dba88685f4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-19 09:47:30 +0300

    Various changes.
    
    Separate a few reusable components from XZ Utils specific
    code. The reusable code is now in "tuklib" modules. A few
    more could be separated still, e.g. bswap.h.
    
    Fix some bugs in lzmainfo.
    
    Fix physmem and cpucores code on OS/2. Thanks to Elbert Pol
    for help.
    
    Add OpenVMS support into physmem. Add a few #ifdefs to ease
    building XZ Utils on OpenVMS. Thanks to Jouk Jansen for the
    original patch.

 THANKS                          |    1 +
 configure.ac                    |   12 +--
 m4/lc_cpucores.m4               |   57 ---------------
 m4/lc_physmem.m4                |   84 ----------------------
 m4/tuklib_common.m4             |   22 ++++++
 m4/tuklib_cpucores.m4           |   72 +++++++++++++++++++
 m4/tuklib_physmem.m4            |  119 +++++++++++++++++++++++++++++++
 m4/tuklib_progname.m4           |   25 +++++++
 src/common/cpucores.h           |   51 --------------
 src/common/open_stdxxx.h        |   49 -------------
 src/common/physmem.h            |  144 --------------------------------------
 src/common/sysdefs.h            |    4 -
 src/common/tuklib_common.h      |   67 ++++++++++++++++++
 src/common/tuklib_config.h      |    1 +
 src/common/tuklib_cpucores.c    |   46 ++++++++++++
 src/common/tuklib_cpucores.h    |   23 ++++++
 src/common/tuklib_exit.c        |   57 +++++++++++++++
 src/common/tuklib_exit.h        |   25 +++++++
 src/common/tuklib_gettext.h     |   44 ++++++++++++
 src/common/tuklib_open_stdxxx.c |   51 ++++++++++++++
 src/common/tuklib_open_stdxxx.h |   23 ++++++
 src/common/tuklib_physmem.c     |  146 +++++++++++++++++++++++++++++++++++++++
 src/common/tuklib_physmem.h     |   28 ++++++++
 src/common/tuklib_progname.c    |   50 +++++++++++++
 src/common/tuklib_progname.h    |   32 +++++++++
 src/lzmainfo/Makefile.am        |    5 +-
 src/lzmainfo/lzmainfo.c         |   65 +++++------------
 src/xz/Makefile.am              |    7 ++-
 src/xz/args.c                   |    8 +--
 src/xz/file_io.c                |   43 ++++++------
 src/xz/hardware.c               |    8 +-
 src/xz/main.c                   |  100 ++++++---------------------
 src/xz/main.h                   |    7 --
 src/xz/message.c                |   30 ++++----
 src/xz/message.h                |    8 +-
 src/xz/private.h                |   11 +--
 src/xz/signals.c                |    2 +
 src/xz/signals.h                |   17 ++---
 src/xz/suffix.c                 |    2 +-
 src/xzdec/Makefile.am           |   13 +++-
 src/xzdec/xzdec.c               |   55 ++++-----------
 41 files changed, 974 insertions(+), 640 deletions(-)

commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-15 21:07:23 +0300

    Fix incorrect use of "restrict".

 src/liblzma/api/lzma/vli.h       |    4 ++--
 src/liblzma/common/vli_decoder.c |    2 +-
 src/liblzma/common/vli_encoder.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

commit 15ffd675ab7af84592eb1c23b0e9f4699aa0fd8c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-12 14:09:17 +0300

    Fix GCC version check for nothrow attribute.

 src/liblzma/api/lzma.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 6bfdd3a88a819f04c8f202e7d3c6f88a01c7d224
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-12 14:08:15 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 4ab7b16b9573bdfa32279e4adadff684d5cd58ac
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-12 14:07:36 +0300

    A few grammar fixes.
    
    Thanks to Christian Weisgerber for pointing out some of these.

 src/liblzma/api/lzma.h                    |    4 ++--
 src/liblzma/api/lzma/vli.h                |    4 ++--
 src/liblzma/common/block_header_encoder.c |    2 +-
 src/liblzma/common/filter_common.c        |    2 +-
 src/liblzma/lz/lz_encoder.h               |   10 +++++-----
 src/xz/message.c                          |   22 +++++++++++-----------
 src/xzdec/xzdec.c                         |    2 +-
 7 files changed, 23 insertions(+), 23 deletions(-)

commit 8905a33daadcd2d6557c83c81c490b827d566c94
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-11 17:08:15 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 68059334ff435300ab1ce2c616b0eee1b0d88dd9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-11 17:06:32 +0300

    Add PACKAGE_HOMEPAGE to {windows,dos}/config.h to fix build errors.

 dos/config.h     |    3 +++
 windows/config.h |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

commit 221be761f467da76875247bc02d7a1716682075d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-11 10:24:09 +0300

    Use $(LN_EXEEXT) in symlinks to executables.
    
    This fixes "make install" on operating systems using
    a suffix for executables.
    
    Cygwin is treated specially. The symlink names won't have
    .exe suffix even though the executables themselves have.
    Thanks to Charles Wilson.

 configure.ac       |    9 +++++++++
 src/xz/Makefile.am |    4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

commit 18a4233a53d9b82abac7db7d7804684c5fea9c2c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-11 09:25:09 +0300

    Fix a couple of warnings.

 src/liblzma/common/stream_decoder.c            |    2 +-
 src/liblzma/lz/lz_encoder.c                    |    5 +----
 src/liblzma/lzma/lzma_encoder.c                |    2 +-
 src/liblzma/lzma/lzma_encoder_optimum_normal.c |    8 ++++----
 tests/tests.h                                  |    2 +-
 5 files changed, 8 insertions(+), 11 deletions(-)

commit 429910b2ba67611d8df60d1a9da9641bdb5f82b4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-05 18:39:21 +0300

    Add OS/2-specific code to physmem.h.
    
    Also move DJGPP-specific code near the code meant
    for other DOS-like systems.

 src/common/physmem.h |   32 +++++++++++++++++++++-----------
 1 files changed, 21 insertions(+), 11 deletions(-)

commit 7aca7b3174bcbba4a4915682ff0cd405d63f5740
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-05 01:21:15 +0300

    Updated THANKS.

 THANKS |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 60ccb80c9c4a0d771acc5b7d9d6f32b17fed1071
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-05 01:20:29 +0300

    Use sysctl() != -1 instead of !sysctl() to check if
    the function call succeeded.
    
    NetBSD 4.0 returns positive values on success, but
    NetBSD Current and FreeBSD return zero. OpenBSD's
    man page doesn't tell what sysctl() returns on
    success. All these BSDs return -1 on error.
    
    Thanks to Robert Elz and Thomas Klausner.

 src/common/cpucores.h |    2 +-
 src/common/physmem.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 173368911cf09ab0b03fc4db8f3d4b81d86dce32
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-02 09:43:51 +0300

    Mention in INSTALL that --enable-small doesn't modify CFLAGS.

 INSTALL |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 319a0fd7d7e9ebbb71ca6930abfc20777cb4aacc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-01 20:40:01 +0300

    Refactored option parsing.

 src/xz/options.c |   70 +++++++++++++++++++++++++++---------------------------
 1 files changed, 35 insertions(+), 35 deletions(-)

commit 25adaaa56e2e51a47a910a8d73452414619a2e53
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-01 20:23:30 +0300

    Fix options parsing bug in xz.
    
    xz used to reject "xz --lzma2=pb=2," while
    "xz --lzma2=pb=2,," worked. Now both work.

 src/xz/options.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

commit 5f6dddc6c911df02ba660564e78e6de80947c947
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-09-01 20:20:19 +0300

    Updated TODO.

 TODO |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 655457b9ada5ec7db398c5392e41290f3f332ea8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-31 21:59:25 +0300

    Revert 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
    and use a fix that works on all systems using
    GNU assembler.
    
    Maybe the assembler code is used e.g. on Solaris x86
    but let's worry about it if this doesn't work on it.

 src/liblzma/check/crc32_x86.S |    7 ++-----
 src/liblzma/check/crc64_x86.S |    7 ++-----
 2 files changed, 4 insertions(+), 10 deletions(-)

commit 162189c3477953805a28f96d3a75cb9ab9417928
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-30 17:29:19 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 2331f5f97af3e5897e23da45d9df3d664099c7f8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-30 17:28:52 +0300

    Add more OS/2 specific info to INSTALL.

 INSTALL |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit 94c66b3297b3ad307eee93cf6b160e3c43997f11
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-29 14:43:52 +0300

    Use even more hackish way to support thousand separators.
    
    Seems that in addition on Windows and DOS, also OpenBSD
    lacks support for %'d style printf() format strings.
    So far that is the only modern POSIX-like system I know
    with this problem, but after this hack, the thousand
    separator shouldn't be a problem on any system.
    
    Maybe testing if a format string like %'d produces
    reasonable output is invoking undefined behavior on some
    systems, but so far all the problematic systems I've tried
    just print the raw format string (e.g. %'d prints 'd).
    
    Maybe Autoconf test would have been better, but this
    hack works also for cross-compilation, and avoids
    recompilation in case the system libc starts to support
    the thousand separator.

 src/xz/util.c |   36 +++++++++++++++++++++++++-----------
 1 files changed, 25 insertions(+), 11 deletions(-)

commit 3432e9c6aab851da1227b63dce645d7f190c04d8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-29 13:42:56 +0300

    Updated THANKS.

 THANKS |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 27414daadf5727e8ab942374b5ec1c8990122878
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-29 13:39:21 +0300

    Fix sysctl() usage.
    
    This fixes build on *BSDs and Darwin.
    
    Thanks to Jukka Salmi for the patches.
    Richard Koch reported the problem too.

 m4/lc_cpucores.m4     |    2 +-
 m4/lc_physmem.m4      |    2 +-
 src/common/cpucores.h |    2 +-
 src/common/physmem.h  |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit 43f44160b1ddcbf7e5205c37db09b3bebe7226f9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-29 13:35:23 +0300

    Fix x86 assembler on GCC 3.
    
    Thanks to Karl Berry.

 src/liblzma/check/crc32_x86.S |    7 +++++--
 src/liblzma/check/crc64_x86.S |    7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

commit 682efdc1f9492fdd76c9ce82e7c00ca0768067e8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 18:36:59 +0300

    "make dist" fixes

 Makefile.am |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

commit c8c184db1c95bf70f78256ec6237845a57f342af
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 17:08:33 +0300

    Update xz man page date.

 src/xz/xz.1 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 9756fce565e98b8fa5fe6ead296d84e7601ec254
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 17:00:22 +0300

    Fix the debug directory.
    
    6a2eb54092fc625d59921a607ff68cd1a90aa898 and
    71f18e8a066a01dda0c8e5508b135ef104e43e4c required
    some changes that weren't applied in debug.

 debug/Makefile.am   |    5 +++--
 debug/full_flush.c  |    1 +
 debug/known_sizes.c |    1 +
 debug/memusage.c    |    1 +
 debug/sync_flush.c  |    1 +
 5 files changed, 7 insertions(+), 2 deletions(-)

commit 77007a7fb20187fcf3d1dd9839c79ace2d63f2ea
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 16:36:40 +0300

    Add missing files to EXTRA_DIST.

 Makefile.am |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

commit 04dcbfdeb921e5f361a4487134e91e23fffbe09d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 16:21:22 +0300

    Bumped version to 4.999.9beta.

 src/liblzma/api/lzma/version.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit fd7618611a22f42a6913bc8d518c9bbc9252d6b4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 16:17:47 +0300

    Updated THANKS.

 THANKS |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit c29e76c0f910fca0a90a50b78d337f6c32623e9d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 16:12:52 +0300

    .xz file format specification 1.0.4 (probably).
    
    Thanks to Christian von Roques, Peter Lawler,
    and Jim Meyering for the fixes.

 doc/xz-file-format.txt |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

commit 696d7ee3953beaf4f0ed18e78917ccf300431966
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 15:43:54 +0300

    Require GNU libtool 2.2.

 configure.ac |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

commit 4c3558aa8305a8f8b6c43b8569eb539717ca9e8d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 15:34:45 +0300

    Add "dos" to EXTRA_DIST.

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 35b29e4424ced5a3ababf132283e519080c7b298
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 15:23:27 +0300

    Updated TODO.

 TODO |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit 23414377192c21f3f34c84cdfe0ef0fbd06a1dea
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 15:17:00 +0300

    Some xz man page improvements.

 src/xz/xz.1 |   78 ++++++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 62 insertions(+), 16 deletions(-)

commit 371b04e19fc9051dbaeec51ec0badec6a1f0699d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 10:41:01 +0300

    Removed doc/bugs.txt.

 doc/bugs.txt |   46 ----------------------------------------------
 1 files changed, 0 insertions(+), 46 deletions(-)

commit d88c4072b36d3a76f839185799fb1d91037a1b81
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 10:40:25 +0300

    Updated README.
    
    It now includes bug reporting instructions/tips.

 README |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 55 insertions(+), 10 deletions(-)

commit 92e536d8b8d33a6b12d0802bcd7be4437046f13e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 10:21:18 +0300

    Fix a typo in FAQ.
    
    Thanks to Jim Meyering.
    
    (From now on, I try to always remember to put
    the relevant thanks to commit messages.)

 doc/faq.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 3e2ba8b58585743e59251e69ad2783eb08357079
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-27 10:13:46 +0300

    Updates to liblzma API headers.
    
    Added lzma_nothrow for every function. It adds
    throw() when the header is used in C++ code.
    
    Some lzma_attrs were added or removed.
    
    Lots of comments were improved.

 src/liblzma/api/lzma.h              |   20 +++++++
 src/liblzma/api/lzma/base.h         |   48 +++++++++--------
 src/liblzma/api/lzma/block.h        |   38 +++++++-------
 src/liblzma/api/lzma/check.h        |   22 ++++----
 src/liblzma/api/lzma/container.h    |   36 +++++++------
 src/liblzma/api/lzma/filter.h       |   81 ++++++++++++++++++-----------
 src/liblzma/api/lzma/index.h        |   97 +++++++++++++++++++++--------------
 src/liblzma/api/lzma/index_hash.h   |   14 +++--
 src/liblzma/api/lzma/lzma.h         |   87 ++++++++++++++++---------------
 src/liblzma/api/lzma/stream_flags.h |   12 ++--
 src/liblzma/api/lzma/version.h      |   10 ++--
 src/liblzma/api/lzma/vli.h          |    7 ++-
 12 files changed, 275 insertions(+), 197 deletions(-)

commit 8e8ebc17c535a1f8846718059b48417409c37050
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-18 00:30:09 +0300

    Install faq.txt.

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit b198e770a146e4a41f91a93f0b233713f2515848
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-18 00:26:48 +0300

    Updated faq.txt.
    
    Some questions worth answering were removed, because I
    currently don't have good up to date answers to them.

 doc/faq.txt |  239 ++++++++++++++++++-----------------------------------------
 1 files changed, 73 insertions(+), 166 deletions(-)

commit fe111a25cd788d31b581996e4533910388a7f0a9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-17 22:45:50 +0300

    Some xz man changes.

 src/xz/xz.1 |   88 +++++++++++++++++++++++++++++------------------------------
 1 files changed, 43 insertions(+), 45 deletions(-)

commit 10242a21e9abda0c5c6a03501703cc40b8a699a5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-16 22:15:42 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 3ce1916c83041113b9cad9ead5c97a527cf8aa1d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-16 22:15:13 +0300

    Fix data corruption in LZ/LZMA2 encoder.
    
    Thanks to Jonathan Stott for the bug report.

 src/liblzma/lz/lz_encoder.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 66da129c8ec33dd66acc92f113f7c1ca740ca81a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-13 15:15:37 +0300

    Updated INSTALL and PACKAGERS to match the changes
    made in --enable-dynamic.

 INSTALL   |   20 ++++++++++++++++----
 PACKAGERS |   11 ++++++-----
 2 files changed, 22 insertions(+), 9 deletions(-)

commit 8238c4b2402f952c4e492e5b778aa272e57b6705
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-13 15:03:46 +0300

    Link lzmainfo against shared liblzma by default.

 src/lzmainfo/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 71f18e8a066a01dda0c8e5508b135ef104e43e4c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-13 15:00:21 +0300

    Make --enable-dynamic a tristate option.
    
    Some programs will by default be linked against static
    liblzma and some against shared liblzma. --enable-dynamic
    now allows overriding the default to both directions
    (all dynamic or all static) even when building both
    shared and static liblzma.
    
    This is quite messy compared to how simple thing it is supposed
    to be. The complexity is mostly due to Windows support.

 configure.ac |   77 +++++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 57 insertions(+), 20 deletions(-)

commit 5aa4678b2342dcfc1d2b31aa9fa4f39c539e4b61
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-13 12:56:47 +0300

    Fix xz Makefile.am for the man page.
    
    install-exec-hook -> install-data-hook

 src/xz/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit e51b4e49e800bd84e6d589dca2964d3985e88139
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-13 12:55:45 +0300

    Add lzmainfo for backward compatibility with LZMA Utils.
    
    lzmainfo now links against static liblzma. In contrast
    to other command line tools in XZ Utils, linking lzmainfo
    against static liblzma by default is dumb. This will be
    fixed once I have fixed some related issues in configure.ac.

 configure.ac             |    1 +
 src/Makefile.am          |    2 +-
 src/lzmainfo/Makefile.am |   29 ++++++
 src/lzmainfo/lzmainfo.1  |   55 +++++++++++
 src/lzmainfo/lzmainfo.c  |  242 ++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 328 insertions(+), 1 deletions(-)

commit a4165d0584376d948c213ec93c6065d24ff6a5e7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-13 12:42:36 +0300

    Sync some error messages from xz to xzdec.
    
    Make xz error message translation usable outside
    xz (at least in upcoming lzmainfo).

 src/xz/main.c     |    4 ++--
 src/xzdec/xzdec.c |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

commit df636eb4e066b4e154ce8e66e82c87ba1db652a6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-13 09:37:21 +0300

    Add xz man page to manfiles in toplevel Makefile.am.

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 180bdf58ea5bb07941e0a99b304d9aa832198748
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-13 09:37:01 +0300

    Fix first line of xz man page.

 src/xz/xz.1 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit e1ce2291e759b50ebfcf7cbbcc04cd098f1705a4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-10 11:22:31 +0300

    Added a rough version of the xz man page.

 src/xz/Makefile.am |   15 +
 src/xz/xz.1        | 1206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 1221 insertions(+), 0 deletions(-)

commit e71903fc6101f1c039d702e335b08aad1e1b4100
Author: Jonathan Nieder <jrnieder@gmail.com>
Date:   2009-08-09 13:41:20 -0500

    “xzdiff a.xz b.xz” always fails
    
    Attempts to compare two compressed files result in no output and
    exit status 2.
    
    Instead of going to standard output, ‘diff’ output is being
    captured in the xz_status variable along with the exit status from
    the decompression commands.  Later, when this variable is examined
    for nonzero status codes, numerals from dates in the ‘diff’ output
    make it appear as though decompression failed.
    
    So let the ‘diff’ output leak to standard output with another file
    descriptor.  (This trick is used in all similar contexts elsewhere
    in xzdiff and in the analogous context in gzip’s zdiff script.)

 src/scripts/xzdiff.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 1d314b81aa5b0c4530638ffabd4e0edb52e5362c
Author: Jonathan Nieder <jrnieder@gmail.com>
Date:   2009-08-09 13:22:12 -0500

    xzless: Support compressed standard input
    
    It can be somewhat confusing that
    
    	less < some_file.txt
    
    works fine, whereas
    
    	xzless < some_file.txt.xz
    
    does not.  Since version 429, ‘less’ allows a filter specified in
    the LESSOPEN environment variable to preprocess its input even if
    it comes from standard input, if $LESSOPEN begins with ‘|-’.  So
    set $LESSOPEN to take advantage of this feature.
    
    Check less’s version at runtime so xzless can continue to work
    with older versions.

 src/scripts/xzless.in |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

commit a7f5d2fe4826ac68839d00059f05004fb81d5c69
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-09 20:57:46 +0300

    GPLv2+ not GPLv2 for Doxyfile.in is probably OK.

 Doxyfile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit b735cde20cc14857136ae65a0e5d336ed7ddc862
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-02 00:27:29 +0300

    Added a copyright notice to Doxyfile.in since it contains
    lots of comments from Doxygen.
    
    It seems that the Doxygen authors' intent is to not apply
    their copyright on generated files, but since it doesn't
    matter for XZ Utils at all, better safe than sorry.

 Doxyfile.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 0fd157cc008446adfc8f91394f5503868025a642
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-02 00:11:37 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit b198da96ff9ac8c89b466b4d196c5f3fe1c7904f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-08-02 00:10:22 +0300

    Updated TODO.

 TODO |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 669413bb2db954bbfde3c4542fddbbab53891eb4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-30 12:25:55 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit dbbd8fb870ae789d96497911006c869d37148c15
Author: Jonathan Nieder <jrnieder@gmail.com>
Date:   2009-07-28 17:37:24 -0500

    xzdiff: add missing ;; to case statement

 src/scripts/xzdiff.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit adbad2d16cb5909f85d4a429011005613ea62ffe
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-24 13:15:06 +0300

    Added history.txt to doc_DATA.

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit e0236f12569eb36f9b81ce7a1e52e0f73698ac27
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-24 12:00:40 +0300

    Updated .gitignore files.

 .gitignore    |   36 +++++++++++++++++++-----------------
 po/.gitignore |    3 +++
 2 files changed, 22 insertions(+), 17 deletions(-)

commit 2f34fb269265e3aba43a2a9c734020a45268826d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-24 11:34:02 +0300

    Minor improvements to COPYING.

 COPYING |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

commit 0db1befcfbc120377df4b89923762f16d25f548a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-23 19:10:55 +0300

    Fix incorrect usage of getopt_long(), which caused
    invalid memory access if XZ_OPT was defined.

 src/xz/args.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 8f8ec942d6d21ada2096eaf063411bc8bc7e2d48
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-20 15:43:32 +0300

    Avoid internal error with --format=xz --lzma1.

 src/xz/coder.c |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

commit 99f9e879a6a8bb54a65da99c12e0f390216c152a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-19 13:14:20 +0300

    Major documentation update.
    
    Installation and packaging instructions were added.
    README and other generic docs were revised.
    
    Some of the documentation files are now installed to $docdir.

 AUTHORS         |   35 ++++--
 ChangeLog       |    7 +-
 INSTALL         |  327 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 INSTALL.generic |  302 ++++++++++++++++++++++++++++++++++++++++++++++++++
 Makefile.am     |   11 ++
 PACKAGERS       |  278 ++++++++++++++++++++++++++++++++++++++++++++++
 README          |  263 +++++++++++++++++++-------------------------
 THANKS          |   17 ++--
 8 files changed, 1070 insertions(+), 170 deletions(-)

commit ef4cf1851de89022cba5674784f1a8f6343c15b0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-19 11:09:31 +0300

    Added missing author notice to xzless.in.

 src/scripts/xzless.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 4c9c989d45b188667799a7a1d6c728ed43f7bf77
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-18 18:54:55 +0300

    Use AC_CONFIG_AUX_DIR to clean up the toplevel directory
    a little.
    
    Fixed a related bug in the toplevel Makefile.am.
    
    Added the build-aux directory to .gitignore.

 .gitignore   |    1 +
 Makefile.am  |    1 -
 configure.ac |    3 ++-
 3 files changed, 3 insertions(+), 2 deletions(-)

commit 366e436090a7a87215e9bf0e3ddcd55f05b50587
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-18 14:34:08 +0300

    Updated the totally outdated TODO file.

 TODO |  117 +++++++++++++++--------------------------------------------------
 1 files changed, 27 insertions(+), 90 deletions(-)

commit 64e498c89d8b9966e8663f43bf64d47c26c55c62
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-18 11:26:39 +0300

    Added public domain notice into a few files.

 src/common/common_w32res.rc   |    9 ++++++++-
 src/liblzma/liblzma.pc.in     |    7 +++++++
 src/liblzma/liblzma_w32res.rc |    7 +++++++
 src/xz/xz_w32res.rc           |    7 +++++++
 src/xzdec/xzdec_w32res.rc     |    7 +++++++
 5 files changed, 36 insertions(+), 1 deletions(-)

commit a35755c5de808df027675688855d1b621a4fb428
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-14 21:10:36 +0300

    Allow extra commas in filter-specific options on xz command line.
    
    This may slightly ease writing scripts that construct
    filter-specific option strings dynamically.

 src/xz/options.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

commit 98f3cac1ad31191c5160a7e48398bf85141e941c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-14 18:04:31 +0300

    Accept --lzma2=preset=6e where "e" is equivalent to --extreme
    when no custom chain is in use.

 src/xz/options.c |   80 +++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 59 insertions(+), 21 deletions(-)

commit d873a09e956363e54bf58c577c8f7e487b6fb464
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-12 19:08:30 +0300

    Add dist-hook to create ChangeLog from the commit log,
    and to conver the man pages to PDF and plain text, which
    may be convenient to those who cannot render man pages.

 Makefile.am |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

commit cd69a5a6c16c289f6f8e2823b03c72289472270f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-10 11:39:38 +0300

    BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.
    
    This is a quick and slightly dirty fix to make the code
    conform to the latest file format specification. Without
    this patch, it's possible to make corrupt files by
    specifying start offset that is not a multiple of the
    filter's alignment. Custom start offset is almost never
    used, so this was only a minor bug.
    
    The xz command line tool doesn't validate the start offset,
    so one will get a bit unclear error message if trying to use
    an invalid start offset.

 src/liblzma/simple/arm.c            |    2 +-
 src/liblzma/simple/armthumb.c       |    2 +-
 src/liblzma/simple/ia64.c           |    2 +-
 src/liblzma/simple/powerpc.c        |    2 +-
 src/liblzma/simple/simple_coder.c   |    5 ++++-
 src/liblzma/simple/simple_private.h |    3 ++-
 src/liblzma/simple/sparc.c          |    2 +-
 src/liblzma/simple/x86.c            |    2 +-
 8 files changed, 12 insertions(+), 8 deletions(-)

commit eed9953732b801f6c97317fb3160445a8754180b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-10 11:33:21 +0300

    Look for full command names instead of substrings
    like "un", "cat", and "lz" when determining if
    xz is run as unxz, xzcat, lzma, unlzma, or lzcat.
    
    This is to ensure that if xz is renamed (e.g. via
    --program-transform-name), it doesn't so easily
    work in wrong mode.

 src/xz/args.c |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

commit 6f62fa88f4ff7ba78565c314c0e6e71c498fa658
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-08 23:06:46 +0300

    Updated THANKS.

 THANKS |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 1754b7e03e2aa7e2e0196807fe8b0f3f5a637b0e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-08 23:05:29 +0300

    Portability improvement to version.sh.

 version.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 3bdb53792c0e3e3febe9370e56eda5b08f89410f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-08 22:50:16 +0300

    Remove --force from xzdec.
    
    It was ignored for compatibility with xz, but now that
    --decompress --stdout --force copies unrecognized files
    as is to stdout, simply ignoring --force in xzdec would
    be wrong. xzdec will not support copying unrecognized
    data as is to stdout, so it cannot support --force.

 src/xzdec/xzdec.1 |    5 -----
 src/xzdec/xzdec.c |    5 +----
 2 files changed, 1 insertions(+), 9 deletions(-)

commit 5f16ef4abf220028a9ddbcb138217597a9455f62
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-06 10:36:04 +0300

    Use sed instead of $(SED) so that we don't need to
    use AC_PROG_SED. We don't do anything fancy with sed,
    so this should work OK. libtool 2.2 sets SED but 1.5
    doesn't, so $(SED) happened to work when using libtool 2.2.

 src/liblzma/Makefile.am |    2 +-
 src/scripts/Makefile.am |   28 ++++++++++++++--------------
 src/xz/Makefile.am      |    6 +++---
 src/xzdec/Makefile.am   |    6 +++---
 4 files changed, 21 insertions(+), 21 deletions(-)

commit 96e4b257e101d72072d43e144897d92920270669
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-05 22:25:17 +0300

    Major update to the xzgrep and other scripts based on
    the latest versions found from gzip CVS repository.
    
    configure will try to find a POSIX shell to be used by
    the scripts. This should ease portability on systems
    which have pre-POSIX /bin/sh.
    
    xzgrep and xzdiff support .xz, .lzma, .gz, and .bz2 files.
    xzmore and xzless support only .xz and .lzma files.
    
    The name of the xz executable used in these scripts is
    now correct even if --program-transform-name has been used.

 configure.ac            |   14 ++++
 m4/posix-shell.m4       |   63 +++++++++++++++
 src/scripts/Makefile.am |   24 +++---
 src/scripts/xzdiff      |   67 ----------------
 src/scripts/xzdiff.1    |   58 +++++++++-----
 src/scripts/xzdiff.in   |  172 +++++++++++++++++++++++++++++++++++++++++
 src/scripts/xzgrep      |  123 -----------------------------
 src/scripts/xzgrep.1    |   85 ++++++++++++--------
 src/scripts/xzgrep.in   |  196 +++++++++++++++++++++++++++++++++++++++++++++++
 src/scripts/xzless.1    |   66 ++++++++++++++++
 src/scripts/xzless.in   |   51 ++++++++++++
 src/scripts/xzmore      |   74 ------------------
 src/scripts/xzmore.1    |   64 ++++++---------
 src/scripts/xzmore.in   |   78 +++++++++++++++++++
 14 files changed, 766 insertions(+), 369 deletions(-)

commit 25cc7a6e8c2506a0d80084a4c1c67d33e7439100
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-05 19:26:53 +0300

    Use @PACKAGE_HOMEPAGE@ in liblzma.pc.in.

 src/liblzma/liblzma.pc.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 18c10c30d2833f394cd7bce0e6a821044b15832f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-04 00:40:44 +0300

    Make "xz --decompress --stdout --force" copy unrecognized
    files as is to standard output.
    
    This feature is needed to be more compatible with gzip's
    behavior. This was more complicated to implement than it
    sounds, because the way liblzma is able to return errors with
    files of only a few bytes in size. xz now has its own file
    type detection code and no longer uses lzma_auto_decoder().

 src/xz/coder.c |  213 ++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 178 insertions(+), 35 deletions(-)

commit 0a289c01ac821ea9c4250aa906b0ae3cfa953633
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-02 14:30:38 +0300

    Define PACKAGE_HOMEPAGE in configure.ac and use it in
    xz and xzdec.
    
    Use also PACKAGE_NAME instead of hardcoding "XZ Utils".

 configure.ac      |    5 +++++
 src/xz/message.c  |    4 ++--
 src/xzdec/xzdec.c |    4 ++--
 3 files changed, 9 insertions(+), 4 deletions(-)

commit 5cc99db5bae8633f85559e5cdaef4cd905a4ee9c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-07-01 12:21:24 +0300

    Avoid visibility related compiler warnings on Windows.

 configure.ac |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

commit 7653d1cf48080e63b189ed9d58dea0e82b6b1c5e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-30 17:14:39 +0300

    Use static liblzma by default also for tests.

 tests/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit f42ee981668b545ab6d06c6072e262c29605273c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-30 17:09:57 +0300

    Build system fixes
    
    Don't use libtool convenience libraries to avoid recently
    discovered long-standing subtle but somewhat severe bugs
    in libtool (at least 1.5.22 and 2.2.6 are affected). It
    was found when porting XZ Utils to Windows
    <http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
    but the problem is significant also e.g. on GNU/Linux.
    
    Unless --disable-shared is passed to configure, static
    library built from a set of convenience libraries will
    contain PIC objects. That is, while libtool builds non-PIC
    objects too, only PIC objects will be used from the
    convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
    using PIC instead of non-PIC makes the decompressor 10 % slower
    with the default CFLAGS.
    
    So while xz was linked against static liblzma by default,
    it got the slower PIC objects unless --disable-shared was
    used. I tend develop and benchmark with --disable-shared
    due to faster build time, so I hadn't noticed the problem
    in benchmarks earlier.
    
    This commit also adds support for building Windows resources
    into liblzma and executables.

 configure.ac                        |   34 ++++++++++-----
 src/liblzma/Makefile.am             |   79 +++++++++++++++++++++++++++-------
 src/liblzma/check/Makefile.am       |   47 ---------------------
 src/liblzma/check/Makefile.inc      |   51 ++++++++++++++++++++++
 src/liblzma/common/Makefile.am      |   78 ----------------------------------
 src/liblzma/common/Makefile.inc     |   67 +++++++++++++++++++++++++++++
 src/liblzma/common/common.h         |   16 ++++---
 src/liblzma/delta/Makefile.am       |   28 ------------
 src/liblzma/delta/Makefile.inc      |   23 ++++++++++
 src/liblzma/lz/Makefile.am          |   29 -------------
 src/liblzma/lz/Makefile.inc         |   21 +++++++++
 src/liblzma/lzma/Makefile.am        |   51 ----------------------
 src/liblzma/lzma/Makefile.inc       |   43 +++++++++++++++++++
 src/liblzma/rangecoder/Makefile.am  |   26 -----------
 src/liblzma/rangecoder/Makefile.inc |   21 +++++++++
 src/liblzma/simple/Makefile.am      |   51 ----------------------
 src/liblzma/simple/Makefile.inc     |   47 +++++++++++++++++++++
 src/liblzma/subblock/Makefile.am    |   26 -----------
 src/liblzma/subblock/Makefile.inc   |   20 +++++++++
 src/xz/Makefile.am                  |   11 ++++-
 src/xzdec/Makefile.am               |   20 ++++++++-
 21 files changed, 417 insertions(+), 372 deletions(-)

commit 89dac1db6f168d7469cfbc4432651d4724c5c0de
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-29 22:19:51 +0300

    Added a comment about "autoconf -fi" to autogen.sh.

 autogen.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 6e685aae4594bc0af1b5032e01bb37d0edaa3ebd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-28 10:04:24 +0300

    Add -no-undefined to get shared liblzma on Windows.

 src/liblzma/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 73f560ee5fa064992b76688d9472baf139432540
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-27 22:57:15 +0300

    Make physmem() work on Cygwin 1.5 and older.

 src/common/physmem.h |   77 ++++++++++++++++++++++++++------------------------
 1 files changed, 40 insertions(+), 37 deletions(-)

commit 7ff0004fbce24ae72eddfe392828ffd7d4639ed1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-27 17:28:01 +0300

    Moved the Windows resource files outside the windows directory
    to prepare for building them with Autotools.

 src/common/common_w32res.rc   |   46 +++++++++++++++++++++++++++++++++++++++++
 src/liblzma/liblzma_w32res.rc |    5 ++++
 src/xz/xz_w32res.rc           |    5 ++++
 src/xzdec/lzmadec_w32res.rc   |    5 ++++
 src/xzdec/xzdec_w32res.rc     |    5 ++++
 windows/Makefile              |   35 +++++++++++++++++--------------
 windows/common.rc             |   46 -----------------------------------------
 windows/liblzma.rc            |    5 ----
 windows/lzmadec.rc            |    5 ----
 windows/xz.rc                 |    5 ----
 windows/xzdec.rc              |    5 ----
 11 files changed, 85 insertions(+), 82 deletions(-)

commit 449c634674f35336a4815d398172e447659a135e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-27 13:05:03 +0300

    Added missing $(EXEEXT).

 src/xz/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 792db79f27ad9ab1fb977e23be65c7761f545752
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-27 12:32:40 +0300

    Create correct symlinks even when
    --program-{prefix,suffix,transform} is passed to configure.

 src/scripts/Makefile.am |   80 +++++++++++++++++++++++++++--------------------
 src/xz/Makefile.am      |   21 +++++++-----
 src/xzdec/Makefile.am   |    9 +++--
 3 files changed, 65 insertions(+), 45 deletions(-)

commit 0adc72feb84f5b903f6ad9d3f759b1c326fafc6b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-27 10:02:24 +0300

    Silence a compiler warning on DOS-like systems.

 src/xz/file_io.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit ad12edc95254ede3f0cb8dec8645e8789e984c4f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-27 09:35:15 +0300

    Updated the filenames in POTFILES.in too.

 po/POTFILES.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit b2b1f867532732fe9969131f8713bdd6b0731763
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-27 00:43:06 +0300

    Hopefully improved portability of the assembler code in
    Autotools based builds on Windows.

 src/liblzma/check/crc32_x86.S |    8 +++++++-
 src/liblzma/check/crc64_x86.S |    8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

commit c393055947247627a09b6a6b8f20aa0c32f9be16
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 21:17:29 +0300

    Updated THANKS (most of today's commits are based on
    Charles Wilson's patches).

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit da0af22e4b4139b8a10710945f8b245b3a77c97d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 21:00:35 +0300

    Updated comments to match renamed files.

 src/xz/coder.c   |    2 +-
 src/xz/coder.h   |    2 +-
 src/xz/file_io.c |    2 +-
 src/xz/file_io.h |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit 65014fd211dfbd4be48685998cb5a12aaa29c8d2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 20:49:54 +0300

    Rename process.[hc] to coder.[hc] and io.[hc] to file_io.[hc]
    to avoid problems on systems with system headers with those
    names.

 dos/Makefile       |    4 +-
 src/xz/Makefile.am |    8 +-
 src/xz/coder.c     |  488 +++++++++++++++++++++++++++++++++++
 src/xz/coder.h     |   57 ++++
 src/xz/file_io.c   |  716 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/xz/file_io.h   |   86 +++++++
 src/xz/io.c        |  716 ----------------------------------------------------
 src/xz/io.h        |   86 -------
 src/xz/private.h   |    4 +-
 src/xz/process.c   |  488 -----------------------------------
 src/xz/process.h   |   57 ----
 windows/Makefile   |    4 +-
 12 files changed, 1357 insertions(+), 1357 deletions(-)

commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 20:43:36 +0300

    Rename process_file() to coder_run().

 src/xz/main.c    |    6 +++---
 src/xz/process.c |    6 +++---
 src/xz/process.h |    5 ++---
 3 files changed, 8 insertions(+), 9 deletions(-)

commit cad62551c5fa9865dbe0841a0b3bc729c4fbe8fc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 20:36:45 +0300

    Ugly hack to make it possible to use the thousand separator
    format character with snprintf() on POSIX systems but not
    on non-POSIX systems and still keep xgettext working.

 dos/Makefile     |   16 +++-------------
 src/xz/message.c |   17 +++++++++--------
 src/xz/process.c |   30 +++++++++++++++---------------
 src/xz/util.c    |   34 ++++++++++++++++++++++++++++++++++
 src/xz/util.h    |   20 ++++++++++++++++++++
 windows/Makefile |   13 +++----------
 6 files changed, 84 insertions(+), 46 deletions(-)

commit fe378d47074b16c52b00fe184d119287c68ce2e7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 15:40:40 +0300

    Added missing source files to windows/Makefile.

 windows/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 390a6408563067613b29de895cb40e4d0386d62c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 15:37:53 +0300

    Basic support for building with Cygwin and MinGW using
    the Autotools based build system. It's not good yet, more
    fixes will follow.

 configure.ac                  |    7 +++++++
 src/liblzma/api/lzma.h        |    7 +++++--
 src/liblzma/check/crc32_x86.S |    7 ++++---
 src/liblzma/check/crc64_x86.S |    7 ++++---
 src/liblzma/common/common.h   |    2 +-
 windows/Makefile              |   16 +++++++---------
 6 files changed, 28 insertions(+), 18 deletions(-)

commit 1c9360b7d1197457aaad2f8888b99f1149861579
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 14:47:31 +0300

    Fix @variables@ to $(variables) in Makefile.am files.
    Fix the ordering of libgnu.a and LTLIBINTL on the linker
    command line and added missing LTLIBINTL to tests/Makefile.am.

 debug/Makefile.am                  |   12 ++++++------
 src/liblzma/check/Makefile.am      |    4 ++--
 src/liblzma/common/Makefile.am     |   16 ++++++++--------
 src/liblzma/delta/Makefile.am      |    4 ++--
 src/liblzma/lz/Makefile.am         |    6 +++---
 src/liblzma/lzma/Makefile.am       |    8 ++++----
 src/liblzma/rangecoder/Makefile.am |    4 ++--
 src/liblzma/simple/Makefile.am     |    4 ++--
 src/liblzma/subblock/Makefile.am   |    4 ++--
 src/xz/Makefile.am                 |   21 +++++++++++----------
 src/xzdec/Makefile.am              |   19 ++++++++++---------
 tests/Makefile.am                  |   12 +++++++-----
 12 files changed, 59 insertions(+), 55 deletions(-)

commit d45615c555e250209ebb55aa3649abe790f1eeac
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 14:20:02 +0300

    Allow to explicitly specify autotool versions in autogen.sh.

 autogen.sh |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

commit eaf8367368a329afa48785380f9dca6b681f3397
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-26 14:18:32 +0300

    Add version.sh to EXTRA_DIST.

 Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit b317b218e2d383dd27a700094c0de4510540ea18
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-24 20:14:10 +0300

    Support HW_PHYSMEM64

 src/common/physmem.h |   30 +++++++++++++++++++-----------
 1 files changed, 19 insertions(+), 11 deletions(-)

commit ae82dde5d9cc60c80cc89601b6c51cc1611d48e7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-24 13:01:59 +0300

    Cast a char argument to isspace() to unsigned char.

 src/xz/args.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

commit 1735d31ea347210e914df038eeea4b2626e76e42
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-05 13:46:26 +0300

    A few more spelling fixes. Released the .xz spec 1.0.3.

 doc/xz-file-format.txt |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

commit 8ed156ce894966103e895aa08f2a9fb912f6fad5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-04 23:42:12 +0300

    Added xzdec man page.

 src/xzdec/Makefile.am |   11 +++
 src/xzdec/xzdec.1     |  173 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 184 insertions(+), 0 deletions(-)

commit f6df39afaa84f71439507178a49b2a5dda6e824c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-04 23:26:47 +0300

    Harmonized xzdec --memory with xz --memory and made
    minor cleanups.

 src/xzdec/xzdec.c |   74 ++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 53 insertions(+), 21 deletions(-)

commit 1774f27c61ce294a56712ca2f4785f90a62441bc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-04 22:59:55 +0300

    Fix purporse -> purpose. Thanks to Andrew Dudman.
    Released .xz spec 1.0.2 due to this fix too.

 THANKS                    |    1 +
 doc/xz-file-format.txt    |    8 +++++---
 src/liblzma/liblzma.pc.in |    2 +-
 windows/Makefile          |    2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)

commit cb613455642f48fb51059e22018615f64c59b70f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-06-01 14:53:57 +0300

    The .xz file format version 1.0.1

 doc/xz-file-format.txt |   29 ++++++++++++++++++++++-------
 1 files changed, 22 insertions(+), 7 deletions(-)

commit 083c23c680ff844846d177cfc58bb7a874e7e6b9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-26 14:48:48 +0300

    Make the raw value of the Check field available to applications
    via lzma_block structure.
    
    This changes ABI but not doesn't break API.

 src/liblzma/api/lzma/block.h              |   17 ++++++++++++++
 src/liblzma/common/block_buffer_encoder.c |    1 +
 src/liblzma/common/block_decoder.c        |   34 ++++++++++++----------------
 src/liblzma/common/block_encoder.c        |   21 +++++++----------
 4 files changed, 42 insertions(+), 31 deletions(-)

commit b4f5c814090dc07d4350453576305e41eb9c998d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-23 16:57:21 +0300

    Remove undocumented alternative option names --bcj, --ppc,
    and --itanium.

 src/xz/args.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

commit b1edee2cdc7ef4411b1a21c07094ec763f071281
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-23 15:12:23 +0300

    Add support for specifying the BCJ filter start offset
    in the xz command line tool.

 src/xz/args.c    |   36 +++++++++++++++++++++---------------
 src/xz/message.c |   14 ++++++++------
 src/xz/options.c |   40 ++++++++++++++++++++++++++++++++++++++++
 src/xz/options.h |    7 +++++++
 4 files changed, 76 insertions(+), 21 deletions(-)

commit 72aa0e9c5f4289f10ef5bf240a9448d3017f1ceb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-23 14:51:09 +0300

    Updated THANKS.

 THANKS |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit dcedb6998cefeca6597dd1219328a3abf5acf66d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-22 16:40:50 +0300

    Added support for --quiet and --no-warn to xzdec.
    Cleaned up the --help message a little.

 src/xzdec/xzdec.c |   76 ++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 49 insertions(+), 27 deletions(-)

commit 5f735dae80aa629853f4831d7b84ec1c614979eb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-22 15:11:52 +0300

    Use the 40 % of RAM memory usage limit in xzdec too.
    
    Update the memory usage info text in --help to match
    the text in xz --long-help.

 src/xzdec/xzdec.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

commit b60376249e0c586910c4121fab4f791820cc1289
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-22 14:43:00 +0300

    Add --no-warn.

 src/xz/args.c    |    8 +++++++-
 src/xz/main.c    |   17 +++++++++++++++++
 src/xz/main.h    |    6 ++++++
 src/xz/message.c |    4 ++++
 4 files changed, 34 insertions(+), 1 deletions(-)

commit b4f92f522d4b854c0adb7c38be7531e1a6a7b008
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-22 14:27:40 +0300

    Fix a comment.

 src/xz/main.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 4dd21d23f22569285ae706b58b0e5904b8db1839
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-22 14:21:20 +0300

    Remove the --info option, which was an alias for --list.

 src/xz/args.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 8836139b63ce774bdd62abf17ab69b290e08229e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-22 12:27:43 +0300

    If xz is run as lzma, unlzma, or lzcat, simply imply
    --format=lzma. This means that xz emulating lzma
    doesn't decompress .xz files, while before this
    commit it did. The new way is slightly simpler in
    code and especially in upcoming documentation.

 src/xz/args.c |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

commit b0063023f8adb06ea735ec4af5c6f5b7bdb8e84d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-22 11:29:50 +0300

    Make the default memory usage limit 40 % of RAM for both
    compressing and decompressing. This should be OK now that
    xz automatically scales down the compression settings if
    they would exceed the memory usage limit (earlier, the limit
    for compression was increased to 90 % because low limit broke
    scripts that used "xz -9" on systems with low RAM).
    
    Support spcifying the memory usage limit as a percentage
    of RAM (e.g. --memory=50%).
    
    Support --threads=0 to reset the thread limit to the default
    value (number of available CPU cores). Use UINT32_MAX instead
    of SIZE_MAX as the maximum in args.c. hardware.c was already
    expecting uint32_t value.
    
    Cleaned up the output of --help and --long-help.

 src/xz/args.c     |   28 +++++++++++++----
 src/xz/hardware.c |   86 ++++++++++++++++++++++------------------------------
 src/xz/hardware.h |   10 +++---
 src/xz/message.c  |   28 ++++++++---------
 src/xz/process.c  |   18 ++++-------
 5 files changed, 82 insertions(+), 88 deletions(-)

commit 071b825b23911a69dd1cd2f8cda004ef8a781fae
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-21 17:22:01 +0300

    Support special value "max" where xz and xzdec accept an integer.
    Don't round the memory usage limit in xzdec --help to avoid
    an integer overflow and to not give wrong impression that
    the limit is high enough when it may not actually be.

 src/xz/util.c     |    4 ++++
 src/xzdec/xzdec.c |    6 +++++-
 2 files changed, 9 insertions(+), 1 deletions(-)

commit 03ca67fd37dd43fa7f590de340899cd497c10802
Author: ABCD <en.abcd@gmail.com>
Date:   2009-05-20 17:31:18 -0400

    Install lzdiff, lzgrep, and lzmore as symlinks
    
    This adds lzdiff, lzgrep, and lzmore to the list of symlinks to install.
    It also installs symlinks for the manual pages and removes the new
    symlinks on uninstall.

 src/scripts/Makefile.am |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

commit a6f43e64128a6da5cd641de1e1e527433b3e5638
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-02 16:10:14 +0300

    Use a GCC-specific #pragma instead of GCC-specific
    -Wno-uninitialized to silence a bogus warning.

 configure.ac                  |   13 -------------
 src/liblzma/check/Makefile.am |    5 -----
 src/liblzma/check/sha256.c    |    5 +++++
 3 files changed, 5 insertions(+), 18 deletions(-)

commit f6ce63ebdb45a857c8949960c83c9580ae888951
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-02 14:46:50 +0300

    Removed --disable-encoder and --disable-decoder. Use the values
    given to --enable-encoders and --enable-decoders to determine
    if any encoder or decoder support is wanted.

 configure.ac |   48 ++++++++----------------------------------------
 1 files changed, 8 insertions(+), 40 deletions(-)

commit be06858d5cf8ba46557395035d821dc332f3f830
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-01 11:28:52 +0300

    Remove docs that are too outdated to be updated
    (rewrite will be better).

 doc/liblzma-advanced.txt |  324 ----------------------------------------------
 doc/liblzma-hacking.txt  |  112 ----------------
 doc/liblzma-intro.txt    |  194 ---------------------------
 doc/liblzma-security.txt |  219 -------------------------------
 doc/lzma-intro.txt       |  107 ---------------
 5 files changed, 0 insertions(+), 956 deletions(-)

commit 0255401e57c96af87c6b159eca28974e79430a82
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-01 11:21:46 +0300

    Added documentation about the legacy .lzma file format.

 doc/lzma-file-format.txt |  166 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 166 insertions(+), 0 deletions(-)

commit 1496ff437c46f38303e0e94c511ca604b3a11f85
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-05-01 11:20:23 +0300

    Renamed the file format specification to xz-file-format.txt
    which is the filename used on the WWW.

 doc/file-format.txt    | 1127 ------------------------------------------------
 doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 1127 insertions(+), 1127 deletions(-)

commit 21c6b94373d239d7e86bd480fcd558e30391712f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-04-28 23:08:32 +0300

    Fixed a crash in liblzma.
    
    liblzma tries to avoid useless free()/malloc() pairs in
    initialization when multiple files are handled using the
    same lzma_stream. This didn't work with filter chains
    due to comparison of wrong pointers in lzma_next_coder_init(),
    making liblzma think that no memory reallocation is needed
    even when it actually is.
    
    Easy way to trigger this bug is to decompress two files with
    a single xz command. The first file should have e.g. x86+LZMA2
    as the filter chain, and the second file just LZMA2.

 src/liblzma/common/alone_decoder.c  |    2 +-
 src/liblzma/common/alone_encoder.c  |    4 ++--
 src/liblzma/common/auto_decoder.c   |    2 +-
 src/liblzma/common/block_decoder.c  |    2 +-
 src/liblzma/common/block_encoder.c  |    2 +-
 src/liblzma/common/common.h         |    4 ++--
 src/liblzma/common/easy_encoder.c   |    2 +-
 src/liblzma/common/index_decoder.c  |    2 +-
 src/liblzma/common/index_encoder.c  |    2 +-
 src/liblzma/common/stream_decoder.c |    2 +-
 src/liblzma/common/stream_encoder.c |    2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)

commit e518d167aa5958e469982f4fb3a24b9b6a2b5d1c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-04-15 14:13:38 +0300

    Fix uint32_t -> size_t in ARM and ARM-Thumb filters.
    
    On 64-bit system it would have gone into infinite
    loop if a single input buffer was over 4 GiB (unlikely).

 src/liblzma/simple/arm.c      |    2 +-
 src/liblzma/simple/armthumb.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 31decdce041581e57c0d8a407d4795b114ef27ca
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-04-14 11:48:46 +0300

    Minor fixes to test files' README.

 tests/files/README |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

commit 4787d654434891c7df5b43959b0d2873718f06e0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-04-13 16:36:41 +0300

    Updated history.txt.

 doc/history.txt |  123 +++++++++++++++++++++++++++++-------------------------
 1 files changed, 66 insertions(+), 57 deletions(-)

commit 2f0bc9cd40f709152a0177c8e585c0757e9af9c9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-04-13 14:49:48 +0300

    Quick & dirty update to support xz in diff/grep/more scripts.

 src/scripts/Makefile.am |   38 +++++++++-----
 src/scripts/lzdiff      |   67 -------------------------
 src/scripts/lzdiff.1    |   51 -------------------
 src/scripts/lzgrep      |  123 -----------------------------------------------
 src/scripts/lzgrep.1    |   61 -----------------------
 src/scripts/lzmore      |   74 ----------------------------
 src/scripts/lzmore.1    |   55 ---------------------
 src/scripts/xzdiff      |   67 +++++++++++++++++++++++++
 src/scripts/xzdiff.1    |   58 ++++++++++++++++++++++
 src/scripts/xzgrep      |  123 +++++++++++++++++++++++++++++++++++++++++++++++
 src/scripts/xzgrep.1    |   77 +++++++++++++++++++++++++++++
 src/scripts/xzmore      |   74 ++++++++++++++++++++++++++++
 src/scripts/xzmore.1    |   66 +++++++++++++++++++++++++
 13 files changed, 489 insertions(+), 445 deletions(-)

commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-04-13 11:27:40 +0300

    Put the interesting parts of XZ Utils into the public domain.
    Some minor documentation cleanups were made at the same time.

 COPYING                                        |   67 ++++++++++++++++++------
 ChangeLog                                      |    2 +-
 Doxyfile.in                                    |    8 ++-
 Makefile.am                                    |   13 +----
 autogen.sh                                     |    9 +++
 configure.ac                                   |   13 +----
 debug/Makefile.am                              |   13 +----
 debug/crc32.c                                  |   13 +----
 debug/full_flush.c                             |   13 +----
 debug/hex2bin.c                                |    7 +--
 debug/known_sizes.c                            |   13 +----
 debug/memusage.c                               |   13 +----
 debug/repeat.c                                 |   13 +----
 debug/sync_flush.c                             |   13 +----
 doc/faq.txt                                    |   38 +------------
 lib/Makefile.am                                |   18 +++---
 src/Makefile.am                                |   13 +----
 src/common/bswap.h                             |    7 +--
 src/common/cpucores.h                          |    7 +--
 src/common/integer.h                           |    7 +--
 src/common/mythread.h                          |    4 +-
 src/common/open_stdxxx.h                       |    7 +--
 src/common/physmem.h                           |    7 +--
 src/common/sysdefs.h                           |   13 +----
 src/liblzma/Makefile.am                        |   13 +----
 src/liblzma/api/Makefile.am                    |   13 +----
 src/liblzma/api/lzma.h                         |   38 ++++++++-----
 src/liblzma/api/lzma/base.h                    |   20 +++----
 src/liblzma/api/lzma/bcj.h                     |   18 +++----
 src/liblzma/api/lzma/block.h                   |   18 +++----
 src/liblzma/api/lzma/check.h                   |   18 +++----
 src/liblzma/api/lzma/container.h               |   18 +++----
 src/liblzma/api/lzma/delta.h                   |   18 +++----
 src/liblzma/api/lzma/filter.h                  |   18 +++----
 src/liblzma/api/lzma/index.h                   |   18 +++----
 src/liblzma/api/lzma/index_hash.h              |   22 +++-----
 src/liblzma/api/lzma/lzma.h                    |   18 +++----
 src/liblzma/api/lzma/stream_flags.h            |   18 +++----
 src/liblzma/api/lzma/subblock.h                |   18 +++----
 src/liblzma/api/lzma/version.h                 |   18 +++----
 src/liblzma/api/lzma/vli.h                     |   42 +++++++--------
 src/liblzma/check/Makefile.am                  |    8 +--
 src/liblzma/check/check.c                      |    7 +--
 src/liblzma/check/check.h                      |    7 +--
 src/liblzma/check/crc32_fast.c                 |   30 ++++------
 src/liblzma/check/crc32_small.c                |    7 +--
 src/liblzma/check/crc32_table.c                |    7 +--
 src/liblzma/check/crc32_tablegen.c             |    7 +--
 src/liblzma/check/crc32_x86.S                  |   21 +++++---
 src/liblzma/check/crc64_fast.c                 |   20 +++----
 src/liblzma/check/crc64_small.c                |    7 +--
 src/liblzma/check/crc64_table.c                |    7 +--
 src/liblzma/check/crc64_tablegen.c             |    7 +--
 src/liblzma/check/crc64_x86.S                  |   14 +++--
 src/liblzma/check/crc_macros.h                 |    9 ++--
 src/liblzma/check/sha256.c                     |   23 +++++---
 src/liblzma/common/Makefile.am                 |   13 +----
 src/liblzma/common/alone_decoder.c             |   13 +----
 src/liblzma/common/alone_decoder.h             |   13 +----
 src/liblzma/common/alone_encoder.c             |   13 +----
 src/liblzma/common/auto_decoder.c              |   13 +----
 src/liblzma/common/block_buffer_decoder.c      |   13 +----
 src/liblzma/common/block_buffer_encoder.c      |   13 +----
 src/liblzma/common/block_decoder.c             |   13 +----
 src/liblzma/common/block_decoder.h             |   13 +----
 src/liblzma/common/block_encoder.c             |   13 +----
 src/liblzma/common/block_encoder.h             |   13 +----
 src/liblzma/common/block_header_decoder.c      |   13 +----
 src/liblzma/common/block_header_encoder.c      |   13 +----
 src/liblzma/common/block_util.c                |   13 +----
 src/liblzma/common/bsr.h                       |    7 +--
 src/liblzma/common/chunk_size.c                |   13 +----
 src/liblzma/common/common.c                    |   13 +----
 src/liblzma/common/common.h                    |   13 +----
 src/liblzma/common/easy_buffer_encoder.c       |   13 +----
 src/liblzma/common/easy_decoder_memusage.c     |   13 +----
 src/liblzma/common/easy_encoder.c              |   13 +----
 src/liblzma/common/easy_encoder_memusage.c     |   13 +----
 src/liblzma/common/easy_preset.c               |   13 +----
 src/liblzma/common/easy_preset.h               |   13 +----
 src/liblzma/common/filter_buffer_decoder.c     |   13 +----
 src/liblzma/common/filter_buffer_encoder.c     |   13 +----
 src/liblzma/common/filter_common.c             |   13 +----
 src/liblzma/common/filter_common.h             |   13 +----
 src/liblzma/common/filter_decoder.c            |   13 +----
 src/liblzma/common/filter_decoder.h            |   13 +----
 src/liblzma/common/filter_encoder.c            |   13 +----
 src/liblzma/common/filter_encoder.h            |   13 +----
 src/liblzma/common/filter_flags_decoder.c      |   13 +----
 src/liblzma/common/filter_flags_encoder.c      |   13 +----
 src/liblzma/common/index.c                     |   13 +----
 src/liblzma/common/index.h                     |   13 +----
 src/liblzma/common/index_decoder.c             |   13 +----
 src/liblzma/common/index_encoder.c             |   13 +----
 src/liblzma/common/index_encoder.h             |   13 +----
 src/liblzma/common/index_hash.c                |   13 +----
 src/liblzma/common/stream_buffer_decoder.c     |   13 +----
 src/liblzma/common/stream_buffer_encoder.c     |   13 +----
 src/liblzma/common/stream_decoder.c            |   13 +----
 src/liblzma/common/stream_decoder.h            |   13 +----
 src/liblzma/common/stream_encoder.c            |   13 +----
 src/liblzma/common/stream_encoder.h            |   13 +----
 src/liblzma/common/stream_flags_common.c       |   13 +----
 src/liblzma/common/stream_flags_common.h       |   13 +----
 src/liblzma/common/stream_flags_decoder.c      |   13 +----
 src/liblzma/common/stream_flags_encoder.c      |   13 +----
 src/liblzma/common/vli_decoder.c               |   13 +----
 src/liblzma/common/vli_encoder.c               |   13 +----
 src/liblzma/common/vli_size.c                  |   13 +----
 src/liblzma/delta/Makefile.am                  |   13 +----
 src/liblzma/delta/delta_common.c               |   13 +----
 src/liblzma/delta/delta_common.h               |   13 +----
 src/liblzma/delta/delta_decoder.c              |   13 +----
 src/liblzma/delta/delta_decoder.h              |   13 +----
 src/liblzma/delta/delta_encoder.c              |   13 +----
 src/liblzma/delta/delta_encoder.h              |   13 +----
 src/liblzma/delta/delta_private.h              |   13 +----
 src/liblzma/lz/Makefile.am                     |   13 +----
 src/liblzma/lz/lz_decoder.c                    |   17 ++----
 src/liblzma/lz/lz_decoder.h                    |   17 ++----
 src/liblzma/lz/lz_encoder.c                    |   17 ++----
 src/liblzma/lz/lz_encoder.h                    |   17 ++----
 src/liblzma/lz/lz_encoder_hash.h               |   13 +----
 src/liblzma/lz/lz_encoder_mf.c                 |   17 ++----
 src/liblzma/lzma/Makefile.am                   |   13 +----
 src/liblzma/lzma/fastpos.h                     |   17 ++----
 src/liblzma/lzma/fastpos_tablegen.c            |   17 ++----
 src/liblzma/lzma/lzma2_decoder.c               |   17 ++----
 src/liblzma/lzma/lzma2_decoder.h               |   17 ++----
 src/liblzma/lzma/lzma2_encoder.c               |   17 ++----
 src/liblzma/lzma/lzma2_encoder.h               |   17 ++----
 src/liblzma/lzma/lzma_common.h                 |   17 ++----
 src/liblzma/lzma/lzma_decoder.c                |   17 ++----
 src/liblzma/lzma/lzma_decoder.h                |   17 ++----
 src/liblzma/lzma/lzma_encoder.c                |   17 ++----
 src/liblzma/lzma/lzma_encoder.h                |   17 ++----
 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |   13 +----
 src/liblzma/lzma/lzma_encoder_optimum_normal.c |   13 +----
 src/liblzma/lzma/lzma_encoder_presets.c        |   13 +----
 src/liblzma/lzma/lzma_encoder_private.h        |   17 ++----
 src/liblzma/rangecoder/Makefile.am             |   13 +----
 src/liblzma/rangecoder/price.h                 |   13 +----
 src/liblzma/rangecoder/price_tablegen.c        |   16 ++----
 src/liblzma/rangecoder/range_common.h          |   17 ++----
 src/liblzma/rangecoder/range_decoder.h         |   17 ++----
 src/liblzma/rangecoder/range_encoder.h         |   17 ++----
 src/liblzma/simple/Makefile.am                 |   13 +----
 src/liblzma/simple/arm.c                       |   17 ++----
 src/liblzma/simple/armthumb.c                  |   17 ++----
 src/liblzma/simple/ia64.c                      |   17 ++----
 src/liblzma/simple/powerpc.c                   |   17 ++----
 src/liblzma/simple/simple_coder.c              |   13 +----
 src/liblzma/simple/simple_coder.h              |   14 +----
 src/liblzma/simple/simple_decoder.c            |   13 +----
 src/liblzma/simple/simple_decoder.h            |   13 +----
 src/liblzma/simple/simple_encoder.c            |   13 +----
 src/liblzma/simple/simple_encoder.h            |   13 +----
 src/liblzma/simple/simple_private.h            |   13 +----
 src/liblzma/simple/sparc.c                     |   17 ++----
 src/liblzma/simple/x86.c                       |   17 ++----
 src/liblzma/subblock/Makefile.am               |   13 +----
 src/liblzma/subblock/subblock_decoder.c        |   13 +----
 src/liblzma/subblock/subblock_decoder.h        |   13 +----
 src/liblzma/subblock/subblock_decoder_helper.c |   13 +----
 src/liblzma/subblock/subblock_decoder_helper.h |   13 +----
 src/liblzma/subblock/subblock_encoder.c        |   13 +----
 src/liblzma/subblock/subblock_encoder.h        |   13 +----
 src/scripts/Makefile.am                        |    7 +++
 src/xz/Makefile.am                             |   13 +----
 src/xz/args.c                                  |   13 +----
 src/xz/args.h                                  |   13 +----
 src/xz/hardware.c                              |   13 +----
 src/xz/hardware.h                              |   13 +----
 src/xz/io.c                                    |   13 +----
 src/xz/io.h                                    |   13 +----
 src/xz/list.c                                  |   13 +----
 src/xz/main.c                                  |   13 +----
 src/xz/main.h                                  |   13 +----
 src/xz/message.c                               |   13 +----
 src/xz/message.h                               |   13 +----
 src/xz/options.c                               |   13 +----
 src/xz/options.h                               |   13 +----
 src/xz/private.h                               |   13 +----
 src/xz/process.c                               |   13 +----
 src/xz/process.h                               |   13 +----
 src/xz/signals.c                               |   13 +----
 src/xz/signals.h                               |   13 +----
 src/xz/suffix.c                                |   13 +----
 src/xz/suffix.h                                |   13 +----
 src/xz/util.c                                  |   13 +----
 src/xz/util.h                                  |   13 +----
 src/xzdec/Makefile.am                          |   13 +----
 src/xzdec/xzdec.c                              |   13 +----
 tests/Makefile.am                              |   13 +----
 tests/bcj_test.c                               |    7 +--
 tests/create_compress_files.c                  |   13 +----
 tests/test_block.c                             |   13 +----
 tests/test_block_header.c                      |   13 +----
 tests/test_check.c                             |   13 +----
 tests/test_compress.sh                         |   13 +----
 tests/test_files.sh                            |   13 +----
 tests/test_filter_flags.c                      |   13 +----
 tests/test_index.c                             |   13 +----
 tests/test_stream_flags.c                      |   13 +----
 tests/tests.h                                  |   13 +----
 windows/common.rc                              |    2 +-
 206 files changed, 866 insertions(+), 2021 deletions(-)

commit e79c42d854657ae7f75613bd80c1a35ff7c525cb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-04-10 11:17:02 +0300

    Fix off-by-one in LZ decoder.
    
    Fortunately, this bug had no security risk other than accepting
    some corrupt files as valid.

 src/liblzma/lz/lz_decoder.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 94eb9ad46f1fded6d8369cf3d38bb9754c1375af
Author: Pavel Roskin <proski@gnu.org>
Date:   2009-03-31 12:15:01 -0400

    Fix minor typos in README

 README |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 9bab5336ebd765ec4e12252f416eefdf04eba750
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-03-31 21:52:51 +0300

    Add a note and work-around instructions to README about
    problems detecting a C99 compiler when some standard
    headers are missing.

 README |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

commit a0497ff7a06f9350349264fe9b52dfefc6d53ead
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-03-18 16:54:38 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 390e69887fc5e0a108eb41203bed9acd100a3d76
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-03-18 16:51:41 +0200

    Fix wrong macro names in lc_cpucores.m4 and cpucores.h.
    Thanks to Bert Wesarg.

 m4/lc_cpucores.m4     |    4 ++--
 src/common/cpucores.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 0df9299e2478c2a0c62c05b1ae14a85a353e20d6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-03-01 09:03:08 +0200

    Test for Linux-specific sysinfo() only on Linux systems.
    Some other systems have sysinfo() with different semantics.

 m4/lc_physmem.m4 |   28 +++++++++++++++++++---------
 1 files changed, 19 insertions(+), 9 deletions(-)

commit cf751edfde3ad6e088dc18e0522d31ae38405933
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-03-01 09:00:06 +0200

    Added AC_CONFIG_MACRO_DIR to configure.ac.

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 63df14c57dee7c461717784287056688482a7eb9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-03-01 08:58:41 +0200

    Fix the Autoconf test for getopt_long replacement.
    It was broken by e114502b2bc371e4a45449832cb69be036360722.

 m4/getopt.m4 |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit fd6a380f4eda4f00be5f2aa8d222992cd74a714f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-22 19:07:54 +0200

    Add a rough explanation of --extreme to output of --help.

 src/xz/message.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 68bf7ac2984d3627369a240ef0491934d53f7899
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-22 18:52:49 +0200

    Fixes to progress message handling in xz:
    
      - Don't use Windows-specific code on Windows. The old code
        required at least Windows 2000. Now it should work on
        Windows 98 and later, and maybe on Windows 95 too.
    
      - Use less precision when showing estimated remaining time.
    
      - Fix some small design issues.

 src/xz/message.c |  483 ++++++++++++++++++++++++++++++++++--------------------
 src/xz/message.h |   28 ++-
 src/xz/process.c |   53 +++---
 3 files changed, 351 insertions(+), 213 deletions(-)

commit 47c2e21f82242f50f18713a27d644c2c94ab3fea
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-18 13:00:10 +0200

    Added files missing from the previous commit.

 src/liblzma/api/lzma/container.h |   33 +++++++++++++++++++++++++++++++++
 src/liblzma/common/Makefile.am   |    7 ++++++-
 2 files changed, 39 insertions(+), 1 deletions(-)

commit 489a3dbaa0465f04400804e956a1cfbbee3654a2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-17 10:43:00 +0200

    Added lzma_easy_buffer_encode(). Splitted easy.c into small
    pieces to avoid unneeded dependencies making statically
    linked applications bigger than needed.

 dos/Makefile                               |    6 +-
 src/liblzma/common/easy.c                  |  128 ----------------------------
 src/liblzma/common/easy_buffer_encoder.c   |   34 ++++++++
 src/liblzma/common/easy_decoder_memusage.c |   31 +++++++
 src/liblzma/common/easy_encoder.c          |   87 +++++++++++++++++++
 src/liblzma/common/easy_encoder_memusage.c |   31 +++++++
 src/liblzma/common/easy_preset.c           |   34 ++++++++
 src/liblzma/common/easy_preset.h           |   39 +++++++++
 windows/Makefile                           |    6 +-
 9 files changed, 266 insertions(+), 130 deletions(-)

commit 7494816ab08d82f4d6409788825930c4e43cfd0d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-15 15:48:45 +0200

    Make physmem.h work on old Windows versions.
    Thanks to Hongbo Ni for the original patch.

 src/common/physmem.h |   31 +++++++++++++++++++++++++++----
 1 files changed, 27 insertions(+), 4 deletions(-)

commit 11ae4ae35fd70182c713f2d914b7cb1143bc76f0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-14 20:44:52 +0200

    Fix microsecond vs. nanosecond confusion in my_time().

 src/xz/message.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-14 00:45:29 +0200

    Cleanups to the code that detects the amount of RAM and
    the number of CPU cores. Added support for using sysinfo()
    on Linux systems whose libc lacks appropriate sysconf()
    support (at least dietlibc). The Autoconf macros were
    split into separate files, and CPU core count detection
    was moved from hardware.c to cpucores.h. The core count
    isn't used for anything real for now, so a problematic
    part in process.c was commented out.

 configure.ac          |   89 +-----------------------------------------------
 m4/lc_cpucores.m4     |   57 +++++++++++++++++++++++++++++++
 m4/lc_physmem.m4      |   74 ++++++++++++++++++++++++++++++++++++++++
 src/common/cpucores.h |   52 ++++++++++++++++++++++++++++
 src/common/physmem.h  |   21 +++++++----
 src/xz/args.c         |    4 +-
 src/xz/hardware.c     |   50 ++++++++++++---------------
 src/xz/hardware.h     |   11 ++++--
 src/xz/message.c      |    5 ++-
 src/xz/process.c      |    2 +
 10 files changed, 235 insertions(+), 130 deletions(-)

commit 9c62371eab2706c46b1072f5935e28cb4cd9dca8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-13 18:23:50 +0200

    Initial port to DOS using DJGPP.

 dos/Makefile |  261 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 dos/README   |  113 +++++++++++++++++++++++++
 dos/config.h |  150 +++++++++++++++++++++++++++++++++
 3 files changed, 524 insertions(+), 0 deletions(-)

commit 0dae8b7751d09e9c5a482d5519daaee4800ce203
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-13 18:02:05 +0200

    Windows port: Take advantage of the version number macros.
    Now the version number is not duplicated in the
    Windows-specific files anymore.

 windows/Makefile  |    2 +-
 windows/common.rc |   16 ++++++++--------
 windows/config.h  |   15 ---------------
 3 files changed, 9 insertions(+), 24 deletions(-)

commit fdbc0cfa71f7d660855098a609175ba384259529
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-13 18:00:03 +0200

    Changed how the version number is specified in various places.
    Now configure.ac will get the version number directly from
    src/liblzma/api/lzma/version.h. The intent is to reduce the
    number of places where the version number is duplicated. In
    future, support for displaying Git commit ID may be added too.

 configure.ac                   |    3 +-
 src/liblzma/api/lzma/version.h |   70 ++++++++++++++++++++++++++++++++++++++--
 src/liblzma/common/common.c    |    2 +-
 src/xz/message.c               |    2 +-
 src/xzdec/xzdec.c              |    2 +-
 version.sh                     |   23 +++++++++++++
 6 files changed, 95 insertions(+), 7 deletions(-)

commit 1d924e584b146136989f48c13fff2632896efb3d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-13 17:30:30 +0200

    Fix handling of integrity check type in the xz command line tool.

 src/xz/args.c    |    9 ++++++++-
 src/xz/process.c |    4 ++++
 2 files changed, 12 insertions(+), 1 deletions(-)

commit 96c46df7deb231ea68a03d8d1da9de4c774e36d8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-13 17:29:02 +0200

    Improve support for DOS-like systems.
    Here DOS-like means DOS, Windows, and OS/2.

 src/common/physmem.h          |   12 ++++++++++++
 src/common/sysdefs.h          |    4 ++++
 src/liblzma/check/crc32_x86.S |    6 +++---
 src/liblzma/check/crc64_x86.S |    6 +++---
 src/xz/args.c                 |   13 +++++--------
 src/xz/io.c                   |   39 +++++++++++++++++++++++++--------------
 src/xz/main.c                 |   23 +++++++++++++++++++++++
 src/xz/message.c              |    3 +++
 src/xz/suffix.c               |    5 +++++
 src/xzdec/xzdec.c             |    5 +++--
 10 files changed, 86 insertions(+), 30 deletions(-)

commit b6a30ee8c2de60ecd722cd05223e4ba72f822e33
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-11 20:02:32 +0200

    Remove dead directories from .gitignore.

 .gitignore |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

commit 1ec5b0027911d94cb6f98892cbc690f818d8a861
Author: Jim Meyering <jim@meyering.net>
Date:   2009-02-11 14:45:14 +0100

    .gitignore vs. Makefiles
    
    How about this for those of us who do srcdir builds?

 .gitignore |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

commit 154f5aec2de201c674841de4fcc9804c2a87af07
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-10 21:48:35 +0200

    Removed Makefile from .gitignore since not all Makefiles
    in the repository are generated by Autotools. People
    should do test builds in a separate build directory anyway.

 .gitignore |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit e605c2663691b0a4c307786aa368d124ea081daa
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-10 21:48:05 +0200

    Added resource files for the Windows build.

 windows/Makefile   |   37 ++++++++++++++++++++++---------------
 windows/common.rc  |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 windows/liblzma.rc |    5 +++++
 windows/lzmadec.rc |    5 +++++
 windows/xz.rc      |    5 +++++
 windows/xzdec.rc   |    5 +++++
 6 files changed, 88 insertions(+), 15 deletions(-)

commit a3bbbe05d32b1f7ea9eb98805df4dda2e811b476
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-09 14:54:31 +0200

    Let the user specify custom CFLAGS on the make command
    line. Previously custom CFLAGS worked only when they were
    passed to configure.

 configure.ac                  |   58 +++++++++++++++++++++-------------------
 src/liblzma/check/Makefile.am |    2 +-
 2 files changed, 31 insertions(+), 29 deletions(-)

commit 53f7598998b1860a69c51243b5d2e34623c6bf60
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-08 21:35:11 +0200

    Fix aliasing issue in physmem.h.

 src/common/physmem.h |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

commit 0e27028d74c5c7a8e036ae2a9b8cecb0ac79d3a6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-08 18:24:50 +0200

    Add a separate internal function to initialize the CRC32
    table, which is used also by LZ encoder. This was needed
    because calling lzma_crc32() and ignoring the result is
    a no-op due to lzma_attr_pure.

 src/liblzma/check/check.h       |    1 +
 src/liblzma/check/crc32_small.c |   10 +++++++++-
 src/liblzma/lz/lz_encoder.c     |    4 ++--
 3 files changed, 12 insertions(+), 3 deletions(-)

commit ae1ad9af54210c9a2be336b1316532da5071516c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-08 18:17:05 +0200

    Make "xz --force" to write to terminal as the error
    message suggests.

 src/xz/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 79e25eded48d2fe33f31441ab7a034f902e335f8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-08 10:37:50 +0200

    Support both slash and backslash as path component
    separator on Windows when parsing argv[0].

 src/xz/args.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

commit bc7c7109cc4410055a888c1c70cbd1c9445c4361
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-07 23:18:13 +0200

    Omit the wrong and (even if corrected) nowadays useless rm
    from autogen.sh.

 autogen.sh |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)

commit edfc2031e56f8a2ccda063f02936b3a848d88723
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-07 21:41:52 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 880c3309386aac58fc4f3d7ca99bd31bcb1526a3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-07 21:17:07 +0200

    Make it easy to choose if command line tools should be
    linked statically or dynamically against liblzma. The
    default is still to use static liblzma, but it can now
    be changed by passing --enable-dynamic to configure.
    Thanks to Mike Frysinger for the original patch.
    
    Fixed a few minor bugs in configure.ac.

 configure.ac          |   39 +++++++++++++++++++++++++++++++++++++++
 src/xz/Makefile.am    |    8 +++-----
 src/xzdec/Makefile.am |    5 +++--
 3 files changed, 45 insertions(+), 7 deletions(-)

commit 3f86532407e4ace3debb62be16035e009b56ca36
Author: Mike Frysinger <vapier@gentoo.org>
Date:   2009-02-06 23:38:39 -0500

    add gitignore files
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

 .gitignore    |   32 ++++++++++++++++++++++++++++++++
 m4/.gitignore |   35 +++++++++++++++++++++++++++++++++++
 po/.gitignore |   12 ++++++++++++
 3 files changed, 79 insertions(+), 0 deletions(-)

commit bd7ca1dad5c146b6217799ffaa230c32d207a3e5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-07 17:07:52 +0200

    Assume 32 MiB of RAM on unsupported operating systems like
    the comment in hardware.c already said.

 src/xz/hardware.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit d0ab8c1c73ae712adb0d26fbb9da762d99a63618
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-07 16:26:58 +0200

    MinGW support: Don't build fastpos_tablegen.c as part of
    liblzma. Build both static and dynamic liblzma, and also
    static and dynamic versions of the command line tools.

 windows/Makefile |   92 ++++++++++++++++++++++++++++++++++++++++-------------
 windows/README   |   10 ------
 2 files changed, 69 insertions(+), 33 deletions(-)

commit bfd91198e44a52bd9bfe3cd6dcae5edab7c6eb45
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-07 15:55:47 +0200

    Support LZMA_API_STATIC in assembler files to
    avoid __declspec(dllexport) equivalent.

 src/liblzma/check/crc32_x86.S |    4 ++++
 src/liblzma/check/crc64_x86.S |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

commit 3306cf3883492720b3c34baa02f4eb4227d91c73
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-07 11:11:50 +0200

    Introduced LZMA_API_STATIC macro, which the applications
    need to #define when linking against static liblzma on
    platforms like Windows. Most developers don't need to
    care about LZMA_API_STATIC at all.

 src/liblzma/api/lzma.h      |   31 ++++++++++++++++++++++++-------
 src/liblzma/common/common.h |    2 +-
 2 files changed, 25 insertions(+), 8 deletions(-)

commit b719e63c5f4c91d2d5e2ea585d4c055ec3767d0b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-06 16:55:45 +0200

    Another grammar fix

 README |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit fe5434f940f75fec3611cf9d9edf78c4da8ac760
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-06 12:30:23 +0200

    Grammar fix in README.

 README |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 3dfa58a9eedf5a0e566452b078801c9cbcf7a245
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-06 10:06:32 +0200

    Some MSYS installations (e.g. MsysGit) don't include
    install.exe, so don't rely on it.

 windows/Makefile |   12 +++++++-----
 windows/README   |   11 ++++++-----
 2 files changed, 13 insertions(+), 10 deletions(-)

commit 975d8fd72a5148d46b2e1745f7a211cf1dfd9d31
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-06 09:13:15 +0200

    Recreated the BCJ test files for x86 and SPARC. The old files
    were linked with crt*.o, which are copyrighted, and thus the
    old test files were not in the public domain as a whole. They
    are freely distributable though, but it is better to be careful
    and avoid including any copyrighted pieces in the test files.
    The new files are just compiled and assembled object files,
    and thus don't contain any copyrighted code.

 tests/bcj_test.c                  |    2 +-
 tests/compress_prepared_bcj_sparc |  Bin 6804 -> 1240 bytes
 tests/compress_prepared_bcj_x86   |  Bin 4649 -> 1388 bytes
 tests/files/good-1-sparc-lzma2.xz |  Bin 2296 -> 612 bytes
 tests/files/good-1-x86-lzma2.xz   |  Bin 1936 -> 716 bytes
 5 files changed, 1 insertions(+), 1 deletions(-)

commit 094b1b09a531f0d201ec81f2b07346a995fd80b9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-05 21:21:27 +0200

    Add the "windows" directory to EXTRA_DIST.

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit e1c3412eec7acec7ca3b32c9c828f3147dc65b49
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-05 09:17:51 +0200

    Added initial experimental makefile for use with MinGW.

 windows/Makefile |  253 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 windows/README   |  164 +++++++++++++++++++++++++++++++++++
 windows/config.h |  180 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 597 insertions(+), 0 deletions(-)

commit 75905a9afc0ee89954ede7d08af70d1148bf0fd9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-05 09:12:57 +0200

    Various code cleanups the the xz command line tool.
    It now builds with MinGW.

 src/common/physmem.h |   13 ++++
 src/xz/Makefile.am   |    2 +
 src/xz/args.h        |    8 --
 src/xz/hardware.h    |   10 +---
 src/xz/io.c          |   93 +++++++++++++++++++-------
 src/xz/io.h          |   12 +--
 src/xz/main.c        |  132 ++-----------------------------------
 src/xz/main.h        |   22 ------
 src/xz/message.c     |   65 ++++++++++++++++--
 src/xz/message.h     |    6 --
 src/xz/options.h     |    8 --
 src/xz/private.h     |   18 ++++--
 src/xz/process.h     |   10 +---
 src/xz/signals.c     |  180 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/xz/signals.h     |   51 ++++++++++++++
 src/xz/suffix.h      |    5 --
 src/xz/util.c        |    5 +-
 src/xz/util.h        |    5 --
 18 files changed, 399 insertions(+), 246 deletions(-)

commit d0c0b9e94e0af59d1d8f7f4829695d6efe19ccfe
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-03 12:15:17 +0200

    Another utime() fix.

 src/xz/io.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

commit ccf92a29e8c7234284f1568c1ec0fd7cb98356ca
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-03 10:41:11 +0200

    Fix wrong filename argument for utime() and utimes().
    This doesn't affect most systems, since most systems
    have better functions available.

 src/xz/io.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 99c1c2abfae2e87f3c17e929783e6d1bb7a3f302
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-02 21:19:01 +0200

    Updated the x86 assembler code:
      - Use call/ret pair to get instruction pointer for PIC.
      - Use PIC only if PIC or __PIC__ is #defined.
      - The code should work on MinGW and Darwin in addition
        to GNU/Linux and Solaris.

 configure.ac                  |    6 ---
 src/liblzma/check/crc32_x86.S |   84 +++++++++++++++++++++++++++++++++++------
 src/liblzma/check/crc64_x86.S |   82 +++++++++++++++++++++++++++++++++++-----
 3 files changed, 144 insertions(+), 28 deletions(-)

commit 22a0c6dd940b78cdac2f4a4b4b0e7cc0ac15021f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-02 20:14:03 +0200

    Modify LZMA_API macro so that it works on Windows with
    other compilers than MinGW. This may hurt readability
    of the API headers slightly, but I don't know any
    better way to do this.

 src/liblzma/api/lzma.h                     |    6 ++--
 src/liblzma/api/lzma/base.h                |   11 ++++---
 src/liblzma/api/lzma/block.h               |   22 +++++++-------
 src/liblzma/api/lzma/check.h               |   10 +++---
 src/liblzma/api/lzma/container.h           |   22 +++++++-------
 src/liblzma/api/lzma/filter.h              |   28 ++++++++++----------
 src/liblzma/api/lzma/index.h               |   40 ++++++++++++++--------------
 src/liblzma/api/lzma/index_hash.h          |   10 +++---
 src/liblzma/api/lzma/lzma.h                |    6 ++--
 src/liblzma/api/lzma/stream_flags.h        |   10 +++---
 src/liblzma/api/lzma/version.h             |    4 +-
 src/liblzma/api/lzma/vli.h                 |    6 ++--
 src/liblzma/check/check.c                  |    4 +-
 src/liblzma/check/crc32_fast.c             |    2 +-
 src/liblzma/check/crc32_small.c            |    2 +-
 src/liblzma/check/crc64_fast.c             |    2 +-
 src/liblzma/check/crc64_small.c            |    2 +-
 src/liblzma/common/alone_decoder.c         |    2 +-
 src/liblzma/common/alone_encoder.c         |    2 +-
 src/liblzma/common/auto_decoder.c          |    2 +-
 src/liblzma/common/block_buffer_decoder.c  |    2 +-
 src/liblzma/common/block_buffer_encoder.c  |    4 +-
 src/liblzma/common/block_decoder.c         |    2 +-
 src/liblzma/common/block_encoder.c         |    2 +-
 src/liblzma/common/block_header_decoder.c  |    2 +-
 src/liblzma/common/block_header_encoder.c  |    4 +-
 src/liblzma/common/block_util.c            |    6 ++--
 src/liblzma/common/chunk_size.c            |    2 +-
 src/liblzma/common/common.c                |   16 +++++-----
 src/liblzma/common/common.h                |    2 +-
 src/liblzma/common/easy.c                  |    6 ++--
 src/liblzma/common/filter_buffer_decoder.c |    2 +-
 src/liblzma/common/filter_buffer_encoder.c |    2 +-
 src/liblzma/common/filter_decoder.c        |    8 +++---
 src/liblzma/common/filter_encoder.c        |   12 ++++----
 src/liblzma/common/filter_flags_decoder.c  |    2 +-
 src/liblzma/common/filter_flags_encoder.c  |    4 +-
 src/liblzma/common/index.c                 |   32 +++++++++++-----------
 src/liblzma/common/index_decoder.c         |    4 +-
 src/liblzma/common/index_encoder.c         |    4 +-
 src/liblzma/common/index_hash.c            |   10 +++---
 src/liblzma/common/stream_buffer_decoder.c |    2 +-
 src/liblzma/common/stream_buffer_encoder.c |    4 +-
 src/liblzma/common/stream_decoder.c        |    2 +-
 src/liblzma/common/stream_encoder.c        |    2 +-
 src/liblzma/common/stream_flags_common.c   |    2 +-
 src/liblzma/common/stream_flags_decoder.c  |    4 +-
 src/liblzma/common/stream_flags_encoder.c  |    4 +-
 src/liblzma/common/vli_decoder.c           |    2 +-
 src/liblzma/common/vli_encoder.c           |    2 +-
 src/liblzma/common/vli_size.c              |    2 +-
 src/liblzma/lz/lz_encoder.c                |    2 +-
 src/liblzma/lzma/lzma_encoder.c            |    2 +-
 src/liblzma/lzma/lzma_encoder_presets.c    |    2 +-
 54 files changed, 177 insertions(+), 176 deletions(-)

commit 8dd7b6052e18621e2e6c62f40f762ee88bd3eb65
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-01 22:40:35 +0200

    Fix a bug in lzma_block_buffer_decode(), although this
    function should be rewritten anyway.

 src/liblzma/common/block_buffer_decoder.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit 55fd41431e61fb8178858283d636b6781e33e847
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-01 22:39:07 +0200

    Added initial version of raw buffer-to-buffer coding
    functions, and cleaned up filter.h API header a little.
    May be very buggy, not tested yet.

 src/liblzma/api/lzma/filter.h              |   84 +++++++++++++++++++------
 src/liblzma/common/Makefile.am             |    2 +
 src/liblzma/common/filter_buffer_decoder.c |   94 ++++++++++++++++++++++++++++
 src/liblzma/common/filter_buffer_encoder.c |   61 ++++++++++++++++++
 4 files changed, 221 insertions(+), 20 deletions(-)

commit 3e54ecee5cad30a5ca361a88a99230407abc0699
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-01 00:11:20 +0200

    Fix missing newlines in xzdec.c.

 src/xzdec/xzdec.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit d64ca34f1b6f34e86adefc7f735b4eff8e6d4a35
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-02-01 00:10:07 +0200

    Use __cdecl also for function pointers in liblzma API when
    on Windows.

 src/liblzma/api/lzma.h      |   18 +++++++++++-------
 src/liblzma/api/lzma/base.h |    4 ++--
 src/liblzma/common/common.h |   18 +++++++-----------
 3 files changed, 20 insertions(+), 20 deletions(-)

commit 6a2eb54092fc625d59921a607ff68cd1a90aa898
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-31 11:01:48 +0200

    Add LZMA_API to liblzma API headers. It's useful at least
    on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h
    has to be #included separately where needed.

 src/common/sysdefs.h                |    2 -
 src/liblzma/api/lzma.h              |   17 ++++++++++++
 src/liblzma/api/lzma/base.h         |   10 +++---
 src/liblzma/api/lzma/block.h        |   25 ++++++++++--------
 src/liblzma/api/lzma/check.h        |   12 +++++---
 src/liblzma/api/lzma/container.h    |   23 +++++++++--------
 src/liblzma/api/lzma/filter.h       |   24 +++++++++---------
 src/liblzma/api/lzma/index.h        |   47 ++++++++++++++++++++---------------
 src/liblzma/api/lzma/index_hash.h   |   11 ++++---
 src/liblzma/api/lzma/lzma.h         |    8 +++--
 src/liblzma/api/lzma/stream_flags.h |   10 +++---
 src/liblzma/api/lzma/version.h      |    4 +-
 src/liblzma/api/lzma/vli.h          |   10 +++---
 src/liblzma/common/common.h         |   13 ++++++++-
 src/xz/private.h                    |    1 +
 src/xzdec/xzdec.c                   |    1 +
 tests/tests.h                       |    1 +
 17 files changed, 131 insertions(+), 88 deletions(-)

commit d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-31 10:13:09 +0200

    Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows.

 src/xzdec/xzdec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 2dbdc5befb33c3703e4609809101047c67caf343
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-31 10:02:52 +0200

    Fix two lines in lzma.h on which the # wasn't at the
    beginning of the line.

 src/liblzma/api/lzma.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 4ab760109106dc04f39dd81c97d50f528d1b51c1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-31 09:55:05 +0200

    Add support for using liblzma headers in MSVC, which has no
    stdint.h or inttypes.h.

 src/liblzma/api/lzma.h |   70 +++++++++++++++++++++++++++++++----------------
 1 files changed, 46 insertions(+), 24 deletions(-)

commit b2172cf823d3be34cb0246cb4cb32d105e2a34c9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-31 08:49:54 +0200

    Fix # -> ## in a macro in lzma.h.

 src/liblzma/api/lzma.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 1aae8698746d3c87a93f8398cdde2de9ba1f7208
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-30 18:50:16 +0200

    Updated README.

 README |   30 ++++++++++++++++++++----------
 1 files changed, 20 insertions(+), 10 deletions(-)

commit f54bcf6f80d585236bc03ce49f7c73e1abaa17eb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-30 00:29:58 +0200

    Remove dangling crc64_init.c.

 src/liblzma/check/crc64_init.c |   55 ----------------------------------------
 1 files changed, 0 insertions(+), 55 deletions(-)

commit 982da7ed314398420c38bf154a8f759d5f18b480
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-28 17:16:38 +0200

    The .xz file format specification version 1.0.0 is now
    officially released. The format has been technically the same
    since 2008-11-19, but now that it is frozen, people can start
    using it without a fear that the format will break.

 doc/file-format.txt |   84 +++++++++++++++++++++++++++++---------------------
 1 files changed, 49 insertions(+), 35 deletions(-)

commit c4683a660b4372156bdaf92f0cdc54a58f95ee6f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-28 08:45:59 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 3241317093595db9f79104faafe93cb989c9f858
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-28 08:43:26 +0200

    Fix uninitialized variables in alone_decoder.c. This bug was
    triggered by the previous commit, since these variables were
    not used by anything before support for a preset dictionary.

 src/liblzma/common/alone_decoder.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit f76e39cf930f888d460b443d18f977ebedea8b2a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-27 18:36:05 +0200

    Added initial support for preset dictionary for raw LZMA1
    and LZMA2. It is not supported by the .xz format or the xz
    command line tool yet.

 src/liblzma/lz/lz_decoder.c      |   35 +++++++++++++++++++++++++----------
 src/liblzma/lz/lz_decoder.h      |    9 ++++++++-
 src/liblzma/lz/lz_encoder.c      |   18 ++++++++++++++++--
 src/liblzma/lzma/lzma2_decoder.c |    9 ++++++---
 src/liblzma/lzma/lzma2_encoder.c |   12 +++++++-----
 src/liblzma/lzma/lzma_decoder.c  |   10 ++++++----
 src/liblzma/lzma/lzma_decoder.h  |    2 +-
 src/liblzma/lzma/lzma_encoder.c  |    9 ++++++++-
 8 files changed, 77 insertions(+), 27 deletions(-)

commit 449b8c832b26c3633f3bec60095e57d2d3ada1f3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-26 20:09:17 +0200

    Regenerate the CRC tables without trailing blanks.

 src/liblzma/check/crc32_table_be.h | 1008 ++++++++++++++++++------------------
 src/liblzma/check/crc32_table_le.h | 1008 ++++++++++++++++++------------------
 src/liblzma/check/crc64_table_be.h | 1016 ++++++++++++++++++------------------
 src/liblzma/check/crc64_table_le.h | 1016 ++++++++++++++++++------------------
 4 files changed, 2024 insertions(+), 2024 deletions(-)

commit 850f7400428dc9c5fd08a2f35a5bd2c9e45aede2
Author: Jim Meyering <meyering@redhat.com>
Date:   2009-01-19 21:37:16 +0100

    remove trailing blanks from all but .xz files

 debug/known_sizes.c                |    2 +-
 extra/scanlzma/scanlzma.c          |    5 ++---
 src/liblzma/check/crc32_tablegen.c |    2 +-
 src/liblzma/check/crc64_tablegen.c |    2 +-
 src/scripts/lzdiff.1               |    4 ++--
 src/scripts/lzmore.1               |    6 +++---
 tests/test_compress.sh             |    4 ++--
 7 files changed, 12 insertions(+), 13 deletions(-)

commit 667481f1aad34e1ed15738e7913a9c7e256b4cf5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-26 14:34:10 +0200

    Add lzma_block_buffer_decode().

 src/liblzma/api/lzma/block.h              |   41 ++++++++++++++
 src/liblzma/common/Makefile.am            |    1 +
 src/liblzma/common/block_buffer_decoder.c |   87 +++++++++++++++++++++++++++++
 3 files changed, 129 insertions(+), 0 deletions(-)

commit 5fb34d8324d3e7e0061df25d0086b64c8726b19d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-26 14:33:28 +0200

    Add more sanity checks to lzma_stream_buffer_decode().

 src/liblzma/common/stream_buffer_decoder.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

commit c129748675a5daa8838df92bde32cc04f6ce61ba
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-26 14:33:13 +0200

    Avoid hardcoded constant in easy.c.

 src/liblzma/common/easy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 1859d22d75e072463db74c25bc3f5a7992e5fdf6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-26 13:06:49 +0200

    Tiny bit better sanity check in block_util.c

 src/liblzma/common/block_util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 2c5fe958e4bbe9b147b10c255955dfe2827fb8e7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-25 01:35:56 +0200

    Fix a dumb bug in Block decoder, which made it return
    LZMA_DATA_ERROR with valid data. The bug was added in
    e114502b2bc371e4a45449832cb69be036360722.

 src/liblzma/common/block_decoder.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit c81f13ff29271de7293f8af3d81848b1dcae3d19
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-23 22:27:50 +0200

    Added lzma_stream_buffer_decode() and made minor cleanups.

 src/liblzma/api/lzma/block.h               |    3 +-
 src/liblzma/api/lzma/container.h           |   51 +++++++++++++++-
 src/liblzma/common/Makefile.am             |    1 +
 src/liblzma/common/stream_buffer_decoder.c |   91 ++++++++++++++++++++++++++++
 4 files changed, 144 insertions(+), 2 deletions(-)

commit 0b3318661ce749550b8531dfd469639a08930391
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-22 12:53:33 +0200

    Fix a comment.

 src/liblzma/common/common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 9ec80355a7212a0a2f8c89d98e51b1d8b4e34eec
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-20 16:37:27 +0200

    Add some single-call buffer-to-buffer coding functions.

 src/liblzma/api/lzma/block.h               |   57 +++++
 src/liblzma/api/lzma/container.h           |   56 +++++
 src/liblzma/api/lzma/index.h               |   70 ++++++-
 src/liblzma/common/Makefile.am             |    2 +
 src/liblzma/common/block_buffer_encoder.c  |  305 ++++++++++++++++++++++++++++
 src/liblzma/common/index_decoder.c         |   83 +++++++--
 src/liblzma/common/index_encoder.c         |   59 +++++-
 src/liblzma/common/stream_buffer_encoder.c |  138 +++++++++++++
 tests/test_index.c                         |   24 +++
 9 files changed, 768 insertions(+), 26 deletions(-)

commit d8b58d099340f8f4007b24b211ee41a7210c061c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-20 13:45:41 +0200

    Block encoder cleanups

 src/liblzma/common/block_encoder.c |   28 +++++++---------------------
 src/liblzma/common/block_encoder.h |   25 +++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 21 deletions(-)

commit 0c09810cb3635cb575cb54e694d41523e7d0a335
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-20 10:35:15 +0200

    Use LZMA_PROG_ERROR in lzma_code() as documented in base.h.

 src/liblzma/common/common.c |   24 ++++++++----------------
 1 files changed, 8 insertions(+), 16 deletions(-)

commit 2f1a8e8eb898f6c036cde55d153ad348bfab3c00
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-19 22:53:18 +0200

    Fix handling of non-fatal errors in lzma_code().

 src/liblzma/common/common.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

commit 4810b6bc25087be872960b9dd1d11ff07735dc88
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-19 14:00:33 +0200

    Move some LZMA2 constants to lzma2_encoder.h so that they
    can be used outside lzma2_encoder.c.

 src/liblzma/lzma/lzma2_encoder.c |   13 -------------
 src/liblzma/lzma/lzma2_encoder.h |   14 ++++++++++++++
 src/liblzma/lzma/lzma_encoder.c  |    3 ++-
 3 files changed, 16 insertions(+), 14 deletions(-)

commit 00be5d2e09f9c7a6a8563465ad8b8042866817a4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-19 13:52:36 +0200

    Remove dead code.

 src/liblzma/lzma/lzma_encoder.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

commit 128586213f77c9bd82b7e9a62927f6d0c3769d85
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-17 14:24:25 +0200

    Beta was supposed to be API stable but I had forgot to rename
    lzma_memlimit_encoder and lzma_memlimit_decoder to
    lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-(
    Now it is fixed. Hopefully it doesn't cause too much trouble
    to those who already thought API is stable.

 src/liblzma/api/lzma/filter.h       |    4 ++--
 src/liblzma/common/easy.c           |    4 ++--
 src/liblzma/common/filter_common.c  |    2 +-
 src/liblzma/common/filter_common.h  |    2 +-
 src/liblzma/common/filter_decoder.c |    4 ++--
 src/liblzma/common/filter_encoder.c |    4 ++--
 src/liblzma/common/stream_decoder.c |    2 +-
 src/xz/process.c                    |    6 +++---
 8 files changed, 14 insertions(+), 14 deletions(-)

commit b056379490be5c584c264a967f0540041a163a1e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-15 14:29:22 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit dc8f3be06d54ef6e6cfb5134dd3d25edd08cef89
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-15 14:27:32 +0200

    Fixed a bug in 7z2lzma.bash to make it work with .7z files
    that use something else than 2^n as the dictionary size.
    Thanks to Dan Shechter for the bug report.

 extra/7z2lzma/7z2lzma.bash |   47 ++++++++++++++++++++++---------------------
 1 files changed, 24 insertions(+), 23 deletions(-)

commit 8286a60b8f4bd5accfbc9d229d2204bac31994f2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2009-01-07 18:41:15 +0200

    Use pthread_sigmask() instead of sigprocmask() when pthreads
    are enabled.

 src/common/mythread.h |    6 ++++++
 src/xz/main.c         |    4 ++--
 src/xz/private.h      |    1 +
 3 files changed, 9 insertions(+), 2 deletions(-)

commit 4fd43cb3a906f6da2943f69239ee984c4787c9a9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 20:01:00 +0200

    Bumped version to 4.999.8beta right after the release
    of 4.999.7beta.

 configure.ac                   |    2 +-
 src/liblzma/api/lzma/version.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 061748f5932719643cda73383db715167d543c22
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 18:59:02 +0200

    Disable Subblock filter from test_compress.sh since it is
    disabled by default in configure.ac.

 tests/test_compress.sh |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

commit 9c45658ddc8bd4a7819ef8547d3e7ccf73203e78
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 17:44:20 +0200

    Disable both Subblock encoder and decoder my default,
    since they are not finished and may have security issues too.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit b59f1e98f50694cf6a8f1b342fd878feebdb2f88
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 17:42:50 +0200

    Update some files in debug directory.

 debug/full_flush.c |    2 --
 debug/memusage.c   |    2 --
 debug/sync_flush.c |    2 --
 3 files changed, 0 insertions(+), 6 deletions(-)

commit d1d17a40d33a9682424ca37282813492f2cba6d0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 17:41:46 +0200

    Prepare for 4.999.7beta release.

 AUTHORS                        |    4 ++--
 README                         |   34 +++++++++++++++++-----------------
 configure.ac                   |    4 ++--
 src/liblzma/api/lzma/version.h |    2 +-
 4 files changed, 22 insertions(+), 22 deletions(-)

commit 88d3e6b0b18e24142b6d3b41dc1b84b00c49fef3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 17:15:03 +0200

    Cleaned up some comments in the API headers.

 src/liblzma/api/lzma/check.h     |   23 +++++++++++------------
 src/liblzma/api/lzma/container.h |    2 +-
 src/liblzma/api/lzma/version.h   |    4 +++-
 3 files changed, 15 insertions(+), 14 deletions(-)

commit 322ecf93c961e45a1da8c4a794a7fdacefcd7f40
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 16:29:39 +0200

    Renamed lzma_options_simple to lzma_options_bcj in the API.
    The internal implementation is still using the name "simple".
    It may need some cleanups, so I look at it later.

 src/liblzma/api/Makefile.am         |    2 +-
 src/liblzma/api/lzma.h              |    2 +-
 src/liblzma/api/lzma/bcj.h          |   94 +++++++++++++++++++++++++++++++++++
 src/liblzma/api/lzma/simple.h       |   94 -----------------------------------
 src/liblzma/simple/simple_coder.c   |    2 +-
 src/liblzma/simple/simple_decoder.c |    4 +-
 src/liblzma/simple/simple_encoder.c |    4 +-
 tests/test_filter_flags.c           |    8 ++--
 8 files changed, 105 insertions(+), 105 deletions(-)

commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 00:57:27 +0200

    Fixed missing quoting in configure.ac.

 configure.ac |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)

commit 28e75f7086dbe9501d926c370375c69dfb1236ce
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 00:48:23 +0200

    Updated src/liblzma/Makefile.am to use liblzma.pc.in, which
    should have been in the previous commit.

 src/liblzma/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 7ed9d943b31d3ee9c5fb2387e84a241ba33afe90
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-31 00:30:49 +0200

    Remove lzma_init() and other init functions from liblzma API.
    Half of developers were already forgetting to use these
    functions, which could have caused total breakage in some future
    liblzma version or even now if --enable-small was used. Now
    liblzma uses pthread_once() to do the initializations unless
    it has been built with --disable-threads which make these
    initializations thread-unsafe.
    
    When --enable-small isn't used, liblzma currently gets needlessly
    linked against libpthread (on systems that have it). While it is
    stupid for now, liblzma will need threads in future anyway, so
    this stupidity will be temporary only.
    
    When --enable-small is used, different code CRC32 and CRC64 is
    now used than without --enable-small. This made the resulting
    binary slightly smaller, but the main reason was to clean it up
    and to handle the lack of lzma_init_check().
    
    The pkg-config file lzma.pc was renamed to liblzma.pc. I'm not
    sure if it works correctly and portably for static linking
    (Libs.private includes -pthread or other operating system
    specific flags). Hopefully someone complains if it is bad.
    
    lzma_rc_prices[] is now included as a precomputed array even
    with --enable-small. It's just 128 bytes now that it uses uint8_t
    instead of uint32_t. Smaller array seemed to be at least as fast
    as the more bloated uint32_t array on x86; hopefully it's not bad
    on other architectures.

 configure.ac                              |   29 ++++++++--
 src/common/mythread.h                     |   34 +++++++++++
 src/liblzma/api/Makefile.am               |    1 -
 src/liblzma/api/lzma.h                    |    1 -
 src/liblzma/api/lzma/init.h               |   85 ----------------------------
 src/liblzma/check/Makefile.am             |   29 +++------
 src/liblzma/check/check.c                 |   10 ++--
 src/liblzma/check/check.h                 |   25 +++-----
 src/liblzma/check/check_init.c            |   37 ------------
 src/liblzma/check/crc32.c                 |   88 -----------------------------
 src/liblzma/check/crc32_fast.c            |   88 +++++++++++++++++++++++++++++
 src/liblzma/check/crc32_init.c            |   55 ------------------
 src/liblzma/check/crc32_small.c           |   54 ++++++++++++++++++
 src/liblzma/check/crc32_tablegen.c        |   55 ++++++++++++++++--
 src/liblzma/check/crc64.c                 |   75 ------------------------
 src/liblzma/check/crc64_fast.c            |   75 ++++++++++++++++++++++++
 src/liblzma/check/crc64_small.c           |   54 ++++++++++++++++++
 src/liblzma/check/crc64_tablegen.c        |   55 ++++++++++++++++--
 src/liblzma/common/Makefile.am            |    3 -
 src/liblzma/common/common.h               |    1 +
 src/liblzma/common/init.c                 |   39 -------------
 src/liblzma/common/init_decoder.c         |   31 ----------
 src/liblzma/common/init_encoder.c         |   40 -------------
 src/liblzma/liblzma.pc.in                 |   12 ++++
 src/liblzma/lz/lz_encoder.c               |    6 ++
 src/liblzma/lzma.pc.in                    |   11 ----
 src/liblzma/rangecoder/Makefile.am        |    8 +--
 src/liblzma/rangecoder/price.h            |   16 +-----
 src/liblzma/rangecoder/price_table.c      |    2 +-
 src/liblzma/rangecoder/price_table_init.c |   55 ------------------
 src/liblzma/rangecoder/price_tablegen.c   |   51 ++++++++++++++--
 src/xz/Makefile.am                        |    5 +-
 src/xz/main.c                             |    3 -
 src/xzdec/xzdec.c                         |    3 -
 tests/test_block_header.c                 |    1 -
 tests/test_check.c                        |    2 -
 tests/test_filter_flags.c                 |    2 -
 tests/test_index.c                        |    2 -
 tests/test_stream_flags.c                 |    2 -
 tests/tests.h                             |    2 +-
 40 files changed, 519 insertions(+), 628 deletions(-)

commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-27 19:40:31 +0200

    Use 28 MiB as memory usage limit for encoding in test_compress.sh.

 tests/test_compress.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 050eb14d29e2537c014662e83599fd8a77f13c45
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-27 19:32:20 +0200

    Revert a change made in 3b34851de1eaf358cf9268922fa0eeed8278d680
    that was related to LZMA_MODE_FAST. The original code is slightly
    faster although it compresses slightly worse. But since it is fast
    mode, it is better to select the faster version.

 src/liblzma/lzma/lzma_encoder_optimum_fast.c |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)

commit 4820f10d0f173864f6a2ea7479663b509ac53358
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-27 19:30:19 +0200

    Some xz command line tool improvements.

 src/xz/args.c    |   23 ++++-----
 src/xz/message.c |    4 +-
 src/xz/options.c |    2 +-
 src/xz/process.c |  133 ++++++++++++++++++++++++++++++++++++++++++-----------
 src/xz/process.h |    3 +
 5 files changed, 121 insertions(+), 44 deletions(-)

commit e33194e79d8f5ce07cb4aca909b324ae75098f7e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-27 19:27:49 +0200

    Bunch of liblzma tweaks, including some API changes.
    The API and ABI should now be very close to stable,
    although the code behind it isn't yet.

 src/liblzma/api/lzma.h                    |    8 ++--
 src/liblzma/api/lzma/block.h              |   63 +++++++++++++++++++++++-
 src/liblzma/api/lzma/container.h          |   76 ++++++++++++++--------------
 src/liblzma/api/lzma/lzma.h               |   41 +++++++++-------
 src/liblzma/common/alone_decoder.c        |   36 +++++++-------
 src/liblzma/common/alone_encoder.c        |   22 +++-----
 src/liblzma/common/auto_decoder.c         |    2 +-
 src/liblzma/common/block_decoder.c        |   54 ++++++++++----------
 src/liblzma/common/block_decoder.h        |    4 +-
 src/liblzma/common/block_encoder.c        |   37 ++++++++------
 src/liblzma/common/block_encoder.h        |    4 +-
 src/liblzma/common/block_header_decoder.c |   41 ++++++++-------
 src/liblzma/common/block_header_encoder.c |   51 +++++++++----------
 src/liblzma/common/block_util.c           |    3 +-
 src/liblzma/common/easy.c                 |   45 ++++++-----------
 src/liblzma/common/stream_decoder.c       |    3 +-
 src/liblzma/common/stream_decoder.h       |    2 +-
 src/liblzma/common/stream_encoder.c       |    3 +-
 src/liblzma/common/stream_encoder.h       |    2 +-
 src/liblzma/common/stream_flags_decoder.c |    2 +-
 src/liblzma/common/stream_flags_encoder.c |    2 +-
 src/liblzma/lzma/lzma_encoder.c           |    2 +-
 src/liblzma/lzma/lzma_encoder_presets.c   |   53 ++++++--------------
 23 files changed, 294 insertions(+), 262 deletions(-)

commit 4d00652e75dd2736aedc3a3a8baff3dd0ea38074
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-18 13:42:52 +0200

    Updated Makefile.am that was missing from the previous commit.

 src/liblzma/common/Makefile.am |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 634636fa56ccee6e744f78b0abed76c8940f2f8f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-17 21:49:53 +0200

    Remove the alignment functions for now. Maybe they will
    be added back in some form later, but the current version
    wasn't modular, so it would need fixing anyway.

 src/liblzma/api/Makefile.am      |    1 -
 src/liblzma/api/lzma.h           |    1 -
 src/liblzma/api/lzma/alignment.h |   60 --------------------
 src/liblzma/common/alignment.c   |  114 --------------------------------------
 4 files changed, 0 insertions(+), 176 deletions(-)

commit 4fed98417d1687f5eccccb42a133fde3ec81216a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-17 20:11:23 +0200

    xz message handling improvements

 src/xz/message.c |  125 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 src/xz/message.h |    7 +++-
 src/xz/process.c |   28 +++++++++++-
 3 files changed, 146 insertions(+), 14 deletions(-)

commit 653e457e3756ef35e5d1b2be3523b3e4b1e9ee4d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-15 23:26:43 +0200

    Fix a dumb bug in .lzma decoder which was introduced in
    the previous commit. (Probably the previous commit has
    other bugs too, it wasn't tested.)

 src/liblzma/common/alone_decoder.c |   29 ++++++++++++++---------------
 1 files changed, 14 insertions(+), 15 deletions(-)

commit 671a5adf1e844bfdd6fd327016c3c28694493158
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-15 19:39:13 +0200

    Bunch of liblzma API cleanups and fixes.

 src/liblzma/api/lzma.h              |  122 +++++++++++---------
 src/liblzma/api/lzma/base.h         |  174 +++++++++++++++++++----------
 src/liblzma/api/lzma/block.h        |  211 +++++++++++++++++++++++------------
 src/liblzma/api/lzma/check.h        |   28 +++--
 src/liblzma/api/lzma/container.h    |  155 +++++++++++++-------------
 src/liblzma/api/lzma/delta.h        |   12 +-
 src/liblzma/api/lzma/filter.h       |   27 +++--
 src/liblzma/api/lzma/index.h        |   97 ++++++++++++++---
 src/liblzma/api/lzma/index_hash.h   |   26 +++-
 src/liblzma/api/lzma/init.h         |    2 +-
 src/liblzma/api/lzma/lzma.h         |   12 +-
 src/liblzma/api/lzma/simple.h       |    4 +-
 src/liblzma/api/lzma/stream_flags.h |   46 +++++---
 src/liblzma/api/lzma/version.h      |    6 +-
 src/liblzma/api/lzma/vli.h          |   17 +--
 src/liblzma/common/alone_decoder.c  |   47 ++++++---
 src/liblzma/common/auto_decoder.c   |   29 +++++
 src/liblzma/common/block_util.c     |   52 +++++----
 src/liblzma/common/common.c         |   58 ++++++++++
 src/liblzma/common/common.h         |    9 ++-
 src/liblzma/common/easy.c           |   33 ++++--
 src/liblzma/common/filter_common.c  |    2 +-
 src/liblzma/common/index.c          |   11 ++
 src/liblzma/common/index_decoder.c  |   46 +++++++-
 src/liblzma/common/stream_decoder.c |   47 +++++++-
 src/liblzma/lzma/lzma2_encoder.c    |    6 +-
 tests/test_index.c                  |   10 +-
 27 files changed, 863 insertions(+), 426 deletions(-)

commit 17781c2c20fd77029cb32e77792889f2f211d69d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-15 14:26:52 +0200

    The LZMA2 decoder fix introduced a bug to LZ decoder,
    which made LZ decoder return too early after dictionary
    reset. This fixes it.

 src/liblzma/lz/lz_decoder.c |   33 +++++++++++++++++++++++----------
 1 files changed, 23 insertions(+), 10 deletions(-)

commit f9f2d1e74398500724041f7fb3c38db35ad8c8d8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-15 11:20:22 +0200

    Added two new test files.

 tests/files/README            |    7 +++++++
 tests/files/bad-1-lzma2-8.xz  |  Bin 0 -> 464 bytes
 tests/files/good-1-lzma2-4.xz |  Bin 0 -> 464 bytes
 3 files changed, 7 insertions(+), 0 deletions(-)

commit ff7fb2c605bccc411069e07b9f11fb957aea2ddf
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-15 10:01:59 +0200

    Fix data corruption in LZMA2 decoder.

 src/liblzma/lz/lz_decoder.c      |   17 ++++++++++++++++-
 src/liblzma/lz/lz_decoder.h      |    8 +++++---
 src/liblzma/lzma/lzma2_decoder.c |   15 +++++++++++----
 3 files changed, 32 insertions(+), 8 deletions(-)

commit 1ceebcf7e1bd30b95125f0ad67a09fdb6215d613
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-13 00:54:11 +0200

    Name the package "xz" in configure.ac.

 configure.ac |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

commit a94bf00d0af9b423851905b031be5a645a657820
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-12 22:43:21 +0200

    Some adjustments to GCC warning flags. The important change
    is the removal of -pedantic. It messes up -Werror (which I
    really want to keep so that I don't miss any warnings) with
    printf format strings that are in POSIX but not in C99.

 configure.ac |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

commit 8582d392baacd2cdac07ca60041f8c661323676d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-10 01:31:00 +0200

    Remove obsolete comment.

 src/xz/message.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit b1ae6dd731ea3636c3c2bfc7aefa71457d3328f1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-10 01:27:15 +0200

    Use "decompression" consistently in --long-help.

 src/xz/message.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 1ea9e7f15afd5d3981e2432710e932320597bca9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-10 01:23:58 +0200

    Added preset=NUM to --lzma1 and --lzma2. This makes it easy
    to take a preset as a template and modify it a little.

 src/xz/message.c |    1 +
 src/xz/options.c |    8 ++++++++
 2 files changed, 9 insertions(+), 0 deletions(-)

commit bceb3918dbb21f34976bfdd4c171a81319de71f7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-09 17:43:31 +0200

    Put the file format specification into the public domain.
    Same will be done to the actual code later.

 doc/file-format.txt |   24 +++++++++---------------
 1 files changed, 9 insertions(+), 15 deletions(-)

commit 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-09 17:41:49 +0200

    Make the memusage functions of LZMA1 and LZMA2 encoders
    to validate the filter options. Add missing validation
    to LZMA2 encoder when options are changed in the middle
    of encoding.

 src/liblzma/lzma/lzma2_encoder.c |    5 +++-
 src/liblzma/lzma/lzma_encoder.c  |   44 +++++++++++++++++++++++++------------
 src/liblzma/lzma/lzma_encoder.h  |    2 +-
 3 files changed, 35 insertions(+), 16 deletions(-)

commit f20a03206b71ff01b827bb7a932411d6a6a4e06a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-09 10:36:24 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit ef7890d56453dca1aeb2e12db29b7e418d93dde4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-01 23:04:12 +0200

    In command line tool, take advantage of memusage calculation's
    ability to also validate the filter chain and options (not
    implemented yet for all filters).

 src/xz/process.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit ccd57afa09e332d664d6d6a7498702791ea5f659
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-01 22:59:28 +0200

    Validate the filter chain before checking filter-specific
    memory usage.

 src/liblzma/common/filter_common.c |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

commit c596fda40b62fe1683d0ac34d0c673dcaae2aa15
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-01 22:58:22 +0200

    Make the memusage functions of LZMA1 and LZMA2 decoders
    to validate the filter options.

 src/liblzma/lzma/lzma2_decoder.c |    7 ++-----
 src/liblzma/lzma/lzma_decoder.c  |   14 ++++++++++----
 src/liblzma/lzma/lzma_decoder.h  |    5 +++++
 3 files changed, 17 insertions(+), 9 deletions(-)

commit c58f469be5bb9b0bdab825c6687445fd553f4f3a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-01 22:55:18 +0200

    Added the changes for Delta filter that should have been
    part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.

 src/liblzma/common/filter_decoder.c |    2 +-
 src/liblzma/common/filter_encoder.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit cd708015202dbf7585b84a8781462a20c42a324b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-01 22:50:28 +0200

    LZMA2 decoder cleanups. Make it require new LZMA properties
    also in the first LZMA chunk after a dictionary reset in
    uncompressed chunk.

 src/liblzma/lzma/lzma2_decoder.c |   95 ++++++++++++++++---------------------
 1 files changed, 41 insertions(+), 54 deletions(-)

commit 656ec87882ee74b192c4ea4a233a235eca7b04d4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-12-01 16:30:11 +0200

    Added lzma_delta_coder_memusage() which also validates
    the options.

 src/liblzma/delta/Makefile.am     |    3 +-
 src/liblzma/delta/delta_common.c  |   28 +++++++++++++++++------
 src/liblzma/delta/delta_common.h  |   19 +---------------
 src/liblzma/delta/delta_decoder.c |    2 +-
 src/liblzma/delta/delta_decoder.h |    2 +-
 src/liblzma/delta/delta_encoder.c |   14 +++--------
 src/liblzma/delta/delta_encoder.h |    2 +-
 src/liblzma/delta/delta_private.h |   44 +++++++++++++++++++++++++++++++++++++
 8 files changed, 75 insertions(+), 39 deletions(-)

commit 691a9155b7a28882baf37e9d1e969e32e91dbc7a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-29 10:03:49 +0200

    Automake includes the m4 directory, so don't add it in
    Makefile.am separately.
    
    Updated THANKS.

 Makefile.am |    1 -
 THANKS      |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

commit c7007ddf06ac2b0e018d71d281c21b99f16e7ae0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-28 12:00:48 +0200

    Tested using COLUMNS environment variable to avoid broken
    progress indicator but since COLUMNS isn't usually available,
    the code was left commented out.

 src/xz/message.c |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

commit ae65dcfde27014e4d811e1a1308aa5d0fe8debbd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-27 19:28:59 +0200

    Cleanups to message.c.

 src/xz/message.c |   47 ++++++++++++++++++-----------------------------
 1 files changed, 18 insertions(+), 29 deletions(-)

commit a8368b75cdcd5427299001cc42839287f27b244d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-25 02:37:47 +0200

    Remove the nowadays unneeded memory limitting malloc() wrapper.

 src/liblzma/api/Makefile.am         |    1 -
 src/liblzma/api/lzma.h              |    1 -
 src/liblzma/api/lzma/memlimit.h     |  207 -------------------------
 src/liblzma/common/Makefile.am      |    1 -
 src/liblzma/common/memory_limiter.c |  288 -----------------------------------
 tests/Makefile.am                   |    2 -
 tests/test_memlimit.c               |  114 --------------
 7 files changed, 0 insertions(+), 614 deletions(-)

commit 69472ee5f055a2bb6f28106f0923e1461fd1d080
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-23 15:09:03 +0200

    VLI encoder and decoder cleanups. Made encoder return
    LZMA_PROG_ERROR in single-call mode if there's no output
    space.

 src/liblzma/common/vli_decoder.c |   15 +++++++++------
 src/liblzma/common/vli_encoder.c |   31 ++++++++++++++++++++++++-------
 2 files changed, 33 insertions(+), 13 deletions(-)

commit 4249c8c15a08f55b51b7012e6aaafce3aa9eb650
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-22 17:44:33 +0200

    Typo fix

 src/xz/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 6d1d6f4598d121253dbe1084c6866b66e95c361b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-20 22:59:10 +0200

    Support NetBSD's errno for O_NOFOLLOW.

 src/xz/io.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

commit f901a290eef67b8ea4720ccdf5f46edf775ed9d7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-20 18:05:52 +0200

    Build xzdec and lzmadec from xzdec.c. xzdec supports only .xz
    files and lzmadec only .lzma files.

 src/xzdec/Makefile.am |    7 +-
 src/xzdec/xzdec.c     |  311 +++++++++++++++++++++----------------------------
 2 files changed, 140 insertions(+), 178 deletions(-)

commit 86a0ed8f01c8ed44721223f885e679c71b7bb94c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-20 11:01:29 +0200

    Minor cleanups to xzdec.

 src/xzdec/xzdec.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

commit 54f716ba8905d09752dcd1519455a40bd21d5317
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-19 23:55:22 +0200

    Added missing check for uint16_t.

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 1880a3927b23f265f63b2adb86fbdb81ea09eb06
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-19 23:52:24 +0200

    Renamed lzma to xz and lzmadec to xzdec. We create symlinks
    lzma, unlzma, and lzcat in "make install" for backwards
    compatibility with LZMA Utils 4.32.x; I'm not sure if this
    should be the default though.

 configure.ac            |    4 +-
 po/POTFILES.in          |   21 +-
 src/Makefile.am         |    2 +-
 src/lzma/Makefile.am    |   72 ----
 src/lzma/args.c         |  500 --------------------------
 src/lzma/args.h         |   56 ---
 src/lzma/hardware.c     |  122 -------
 src/lzma/hardware.h     |   45 ---
 src/lzma/io.c           |  658 ----------------------------------
 src/lzma/io.h           |   97 -----
 src/lzma/list.c         |  477 -------------------------
 src/lzma/main.c         |  402 ---------------------
 src/lzma/main.h         |   60 ----
 src/lzma/message.c      |  892 -----------------------------------------------
 src/lzma/message.h      |  132 -------
 src/lzma/options.c      |  352 -------------------
 src/lzma/options.h      |   46 ---
 src/lzma/private.h      |   52 ---
 src/lzma/process.c      |  391 ---------------------
 src/lzma/process.h      |   70 ----
 src/lzma/suffix.c       |  213 -----------
 src/lzma/suffix.h       |   40 ---
 src/lzma/util.c         |  199 -----------
 src/lzma/util.h         |   71 ----
 src/lzmadec/Makefile.am |   29 --
 src/lzmadec/lzmadec.c   |  492 --------------------------
 src/xz/Makefile.am      |   74 ++++
 src/xz/args.c           |  500 ++++++++++++++++++++++++++
 src/xz/args.h           |   56 +++
 src/xz/hardware.c       |  122 +++++++
 src/xz/hardware.h       |   45 +++
 src/xz/io.c             |  658 ++++++++++++++++++++++++++++++++++
 src/xz/io.h             |   97 +++++
 src/xz/list.c           |  477 +++++++++++++++++++++++++
 src/xz/main.c           |  402 +++++++++++++++++++++
 src/xz/main.h           |   60 ++++
 src/xz/message.c        |  892 +++++++++++++++++++++++++++++++++++++++++++++++
 src/xz/message.h        |  132 +++++++
 src/xz/options.c        |  352 +++++++++++++++++++
 src/xz/options.h        |   46 +++
 src/xz/private.h        |   52 +++
 src/xz/process.c        |  391 +++++++++++++++++++++
 src/xz/process.h        |   70 ++++
 src/xz/suffix.c         |  213 +++++++++++
 src/xz/suffix.h         |   40 +++
 src/xz/util.c           |  199 +++++++++++
 src/xz/util.h           |   71 ++++
 src/xzdec/Makefile.am   |   29 ++
 src/xzdec/xzdec.c       |  492 ++++++++++++++++++++++++++
 tests/test_compress.sh  |   29 +-
 tests/test_files.sh     |    4 +-
 51 files changed, 5498 insertions(+), 5500 deletions(-)

commit e114502b2bc371e4a45449832cb69be036360722
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-11-19 20:46:52 +0200

    Oh well, big messy commit again. Some highlights:
      - Updated to the latest, probably final file format version.
      - Command line tool reworked to not use threads anymore.
        Threading will probably go into liblzma anyway.
      - Memory usage limit is now about 30 % for uncompression
        and about 90 % for compression.
      - Progress indicator with --verbose
      - Simplified --help and full --long-help
      - Upgraded to the last LGPLv2.1+ getopt_long from gnulib.
      - Some bug fixes

 THANKS                                       |    1 +
 configure.ac                                 |   48 +-
 debug/full_flush.c                           |    6 +-
 debug/known_sizes.c                          |    2 +-
 debug/memusage.c                             |    2 +-
 debug/sync_flush.c                           |   10 +-
 doc/file-format.txt                          |  260 +++++----
 lib/Makefile.am                              |   10 +-
 lib/getopt.c                                 |   14 +-
 lib/getopt.in.h                              |  226 +++++++
 lib/getopt1.c                                |    8 +-
 lib/getopt_.h                                |  226 -------
 lib/gettext.h                                |  240 -------
 m4/getopt.m4                                 |   64 +--
 src/common/bswap.h                           |   15 +-
 src/common/physmem.h                         |    4 +
 src/common/sysdefs.h                         |   12 +-
 src/liblzma/api/lzma/block.h                 |   47 +-
 src/liblzma/api/lzma/filter.h                |    8 +
 src/liblzma/api/lzma/index.h                 |   20 +-
 src/liblzma/api/lzma/index_hash.h            |    4 +-
 src/liblzma/common/block_decoder.c           |   59 +-
 src/liblzma/common/block_encoder.c           |   41 +-
 src/liblzma/common/block_header_decoder.c    |   31 +-
 src/liblzma/common/block_header_encoder.c    |   69 +--
 src/liblzma/common/block_util.c              |   45 +-
 src/liblzma/common/common.h                  |    8 -
 src/liblzma/common/filter_common.c           |    4 +-
 src/liblzma/common/index.c                   |  259 ++++----
 src/liblzma/common/index.h                   |   33 +-
 src/liblzma/common/index_decoder.c           |   31 +-
 src/liblzma/common/index_encoder.c           |   16 +-
 src/liblzma/common/index_hash.c              |   68 +-
 src/liblzma/common/stream_decoder.c          |    9 +-
 src/liblzma/common/stream_encoder.c          |    6 +-
 src/liblzma/lz/lz_decoder.h                  |    4 +-
 src/liblzma/subblock/subblock_decoder.c      |    3 +-
 src/lzma/Makefile.am                         |    9 +-
 src/lzma/alloc.c                             |  106 ---
 src/lzma/alloc.h                             |   42 --
 src/lzma/args.c                              |  531 +++++++---------
 src/lzma/args.h                              |   42 +-
 src/lzma/error.c                             |  162 -----
 src/lzma/error.h                             |   67 --
 src/lzma/hardware.c                          |   75 ++-
 src/lzma/hardware.h                          |   16 +-
 src/lzma/help.c                              |  170 -----
 src/lzma/help.h                              |   32 -
 src/lzma/io.c                                |  757 +++++++++++-----------
 src/lzma/io.h                                |   51 ++-
 src/lzma/main.c                              |  392 ++++++++----
 src/lzma/main.h                              |   60 ++
 src/lzma/message.c                           |  892 ++++++++++++++++++++++++++
 src/lzma/message.h                           |  132 ++++
 src/lzma/options.c                           |   42 +-
 src/lzma/options.h                           |    6 +-
 src/lzma/private.h                           |   28 +-
 src/lzma/process.c                           |  525 +++++++--------
 src/lzma/process.h                           |   40 ++
 src/lzma/suffix.c                            |   52 +-
 src/lzma/suffix.h                            |   17 +-
 src/lzma/util.c                              |  100 ++--
 src/lzma/util.h                              |   43 ++-
 src/lzmadec/lzmadec.c                        |   36 +-
 tests/files/README                           |   12 +-
 tests/files/bad-1-block_header-1.xz          |  Bin 64 -> 64 bytes
 tests/files/bad-1-block_header-2.xz          |  Bin 64 -> 64 bytes
 tests/files/bad-1-block_header-3.xz          |  Bin 68 -> 68 bytes
 tests/files/bad-1-block_header-4.xz          |  Bin 72 -> 76 bytes
 tests/files/bad-1-block_header-5.xz          |  Bin 0 -> 72 bytes
 tests/files/bad-1-check-crc32.xz             |  Bin 68 -> 68 bytes
 tests/files/bad-1-check-crc64.xz             |  Bin 72 -> 72 bytes
 tests/files/bad-1-check-sha256.xz            |  Bin 96 -> 96 bytes
 tests/files/bad-1-lzma2-1.xz                 |  Bin 64 -> 64 bytes
 tests/files/bad-1-lzma2-2.xz                 |  Bin 424 -> 424 bytes
 tests/files/bad-1-lzma2-3.xz                 |  Bin 424 -> 424 bytes
 tests/files/bad-1-lzma2-4.xz                 |  Bin 408 -> 408 bytes
 tests/files/bad-1-lzma2-5.xz                 |  Bin 408 -> 408 bytes
 tests/files/bad-1-lzma2-6.xz                 |  Bin 68 -> 68 bytes
 tests/files/bad-1-lzma2-7.xz                 |  Bin 408 -> 408 bytes
 tests/files/bad-1-stream_flags-1.xz          |  Bin 68 -> 68 bytes
 tests/files/bad-1-stream_flags-2.xz          |  Bin 68 -> 68 bytes
 tests/files/bad-1-stream_flags-3.xz          |  Bin 68 -> 68 bytes
 tests/files/bad-1-vli-1.xz                   |  Bin 72 -> 72 bytes
 tests/files/bad-1-vli-2.xz                   |  Bin 72 -> 76 bytes
 tests/files/bad-2-compressed_data_padding.xz |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-1.xz                 |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-2.xz                 |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-3.xz                 |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-4.xz                 |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-5.xz                 |  Bin 0 -> 92 bytes
 tests/files/good-1-3delta-lzma2.xz           |  Bin 528 -> 528 bytes
 tests/files/good-1-block_header-1.xz         |  Bin 72 -> 72 bytes
 tests/files/good-1-block_header-2.xz         |  Bin 68 -> 68 bytes
 tests/files/good-1-block_header-3.xz         |  Bin 68 -> 68 bytes
 tests/files/good-1-check-crc32.xz            |  Bin 68 -> 68 bytes
 tests/files/good-1-check-crc64.xz            |  Bin 72 -> 72 bytes
 tests/files/good-1-check-none.xz             |  Bin 64 -> 64 bytes
 tests/files/good-1-check-sha256.xz           |  Bin 96 -> 96 bytes
 tests/files/good-1-delta-lzma2.tiff.xz       |  Bin 51312 -> 51316 bytes
 tests/files/good-1-lzma2-1.xz                |  Bin 424 -> 424 bytes
 tests/files/good-1-lzma2-2.xz                |  Bin 424 -> 424 bytes
 tests/files/good-1-lzma2-3.xz                |  Bin 408 -> 408 bytes
 tests/files/good-1-sparc-lzma2.xz            |  Bin 2292 -> 2296 bytes
 tests/files/good-1-x86-lzma2.xz              |  Bin 1936 -> 1936 bytes
 tests/files/good-2-lzma2.xz                  |  Bin 92 -> 92 bytes
 tests/files/unsupported-block_header.xz      |  Bin 68 -> 68 bytes
 tests/files/unsupported-check.xz             |  Bin 68 -> 68 bytes
 tests/files/unsupported-filter_flags-1.xz    |  Bin 68 -> 68 bytes
 tests/files/unsupported-filter_flags-2.xz    |  Bin 68 -> 68 bytes
 tests/files/unsupported-filter_flags-3.xz    |  Bin 68 -> 68 bytes
 tests/test_block_header.c                    |   16 +-
 tests/test_index.c                           |   42 +-
 113 files changed, 3462 insertions(+), 2946 deletions(-)

commit 3c3905b53462ae235c9438d86a4dc51086410932
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-10-09 11:12:29 +0300

    Fixed the test that should have been fixed as part
    of 1e8e4fd1f3e50129b4541406ad765d2aa1233943.

 tests/test_block_header.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 0f295bf7a3ece01f667caae318cc3e3424085886
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-10-07 16:42:18 +0300

    Fixed some help messages.

 src/lzma/help.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 1e8e4fd1f3e50129b4541406ad765d2aa1233943
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-10-07 09:40:31 +0300

    Made the preset numbering more logical in liblzma API.

 src/liblzma/api/lzma/container.h        |   20 ++++++++++----------
 src/liblzma/api/lzma/lzma.h             |    2 +-
 src/liblzma/lzma/lzma_encoder_presets.c |    3 ++-
 src/lzma/args.c                         |    8 ++++----
 src/lzma/args.h                         |    2 +-
 5 files changed, 18 insertions(+), 17 deletions(-)

commit 5e4df4c3c09c82bbbb1a916784e3dc717ca4ff81
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-10-03 19:36:09 +0300

    Removed fi from po/LINGUAS.

 po/LINGUAS |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit fcfb86c7770328cfffa2e83b176af9a1ba2d9128
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-10-03 07:06:48 +0300

    Fixed suffix handling with --format=raw.

 src/lzma/suffix.c |   28 +++++++++++++++++++---------
 1 files changed, 19 insertions(+), 9 deletions(-)

commit bd137524f2f50e30ba054f42f1f6536cd3cee920
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-10-02 22:51:46 +0300

    Initial changes to change the suffix of the new format to .xz.
    This also fixes a bug related to --suffix option. Some issues
    with suffixes with --format=raw were not fixed.

 src/lzma/args.c        |   67 ++++++++++++++++++++++++++++++-------------
 src/lzma/args.h        |   13 ++++----
 src/lzma/help.c        |    4 +-
 src/lzma/process.c     |   24 +++++++++------
 src/lzma/suffix.c      |   74 +++++++++++++++++++++++++++++++++++++++--------
 tests/test_compress.sh |    3 +-
 6 files changed, 133 insertions(+), 52 deletions(-)

commit 4c321a41c482821aa3c4d64cdf886a6ed904d844
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-30 17:43:55 +0300

    Renamed the test files from .lzma suffix to .xz suffix.

 tests/files/README                             |  128 ++++++++++++------------
 tests/files/bad-0-backward_size.lzma           |  Bin 32 -> 0 bytes
 tests/files/bad-0-backward_size.xz             |  Bin 0 -> 32 bytes
 tests/files/bad-0-empty-truncated.lzma         |  Bin 31 -> 0 bytes
 tests/files/bad-0-empty-truncated.xz           |  Bin 0 -> 31 bytes
 tests/files/bad-0-footer_magic.lzma            |  Bin 32 -> 0 bytes
 tests/files/bad-0-footer_magic.xz              |  Bin 0 -> 32 bytes
 tests/files/bad-0-header_magic.lzma            |  Bin 32 -> 0 bytes
 tests/files/bad-0-header_magic.xz              |  Bin 0 -> 32 bytes
 tests/files/bad-0-nonempty_index.lzma          |  Bin 32 -> 0 bytes
 tests/files/bad-0-nonempty_index.xz            |  Bin 0 -> 32 bytes
 tests/files/bad-0cat-alone.lzma                |  Bin 55 -> 0 bytes
 tests/files/bad-0cat-alone.xz                  |  Bin 0 -> 55 bytes
 tests/files/bad-0cat-header_magic.lzma         |  Bin 64 -> 0 bytes
 tests/files/bad-0cat-header_magic.xz           |  Bin 0 -> 64 bytes
 tests/files/bad-0catpad-empty.lzma             |  Bin 69 -> 0 bytes
 tests/files/bad-0catpad-empty.xz               |  Bin 0 -> 69 bytes
 tests/files/bad-0pad-empty.lzma                |  Bin 37 -> 0 bytes
 tests/files/bad-0pad-empty.xz                  |  Bin 0 -> 37 bytes
 tests/files/bad-1-block_header-1.lzma          |  Bin 64 -> 0 bytes
 tests/files/bad-1-block_header-1.xz            |  Bin 0 -> 64 bytes
 tests/files/bad-1-block_header-2.lzma          |  Bin 64 -> 0 bytes
 tests/files/bad-1-block_header-2.xz            |  Bin 0 -> 64 bytes
 tests/files/bad-1-block_header-3.lzma          |  Bin 68 -> 0 bytes
 tests/files/bad-1-block_header-3.xz            |  Bin 0 -> 68 bytes
 tests/files/bad-1-block_header-4.lzma          |  Bin 72 -> 0 bytes
 tests/files/bad-1-block_header-4.xz            |  Bin 0 -> 72 bytes
 tests/files/bad-1-check-crc32.lzma             |  Bin 68 -> 0 bytes
 tests/files/bad-1-check-crc32.xz               |  Bin 0 -> 68 bytes
 tests/files/bad-1-check-crc64.lzma             |  Bin 72 -> 0 bytes
 tests/files/bad-1-check-crc64.xz               |  Bin 0 -> 72 bytes
 tests/files/bad-1-check-sha256.lzma            |  Bin 96 -> 0 bytes
 tests/files/bad-1-check-sha256.xz              |  Bin 0 -> 96 bytes
 tests/files/bad-1-lzma2-1.lzma                 |  Bin 64 -> 0 bytes
 tests/files/bad-1-lzma2-1.xz                   |  Bin 0 -> 64 bytes
 tests/files/bad-1-lzma2-2.lzma                 |  Bin 424 -> 0 bytes
 tests/files/bad-1-lzma2-2.xz                   |  Bin 0 -> 424 bytes
 tests/files/bad-1-lzma2-3.lzma                 |  Bin 424 -> 0 bytes
 tests/files/bad-1-lzma2-3.xz                   |  Bin 0 -> 424 bytes
 tests/files/bad-1-lzma2-4.lzma                 |  Bin 408 -> 0 bytes
 tests/files/bad-1-lzma2-4.xz                   |  Bin 0 -> 408 bytes
 tests/files/bad-1-lzma2-5.lzma                 |  Bin 408 -> 0 bytes
 tests/files/bad-1-lzma2-5.xz                   |  Bin 0 -> 408 bytes
 tests/files/bad-1-lzma2-6.lzma                 |  Bin 68 -> 0 bytes
 tests/files/bad-1-lzma2-6.xz                   |  Bin 0 -> 68 bytes
 tests/files/bad-1-lzma2-7.lzma                 |  Bin 408 -> 0 bytes
 tests/files/bad-1-lzma2-7.xz                   |  Bin 0 -> 408 bytes
 tests/files/bad-1-stream_flags-1.lzma          |  Bin 68 -> 0 bytes
 tests/files/bad-1-stream_flags-1.xz            |  Bin 0 -> 68 bytes
 tests/files/bad-1-stream_flags-2.lzma          |  Bin 68 -> 0 bytes
 tests/files/bad-1-stream_flags-2.xz            |  Bin 0 -> 68 bytes
 tests/files/bad-1-stream_flags-3.lzma          |  Bin 68 -> 0 bytes
 tests/files/bad-1-stream_flags-3.xz            |  Bin 0 -> 68 bytes
 tests/files/bad-1-vli-1.lzma                   |  Bin 72 -> 0 bytes
 tests/files/bad-1-vli-1.xz                     |  Bin 0 -> 72 bytes
 tests/files/bad-1-vli-2.lzma                   |  Bin 72 -> 0 bytes
 tests/files/bad-1-vli-2.xz                     |  Bin 0 -> 72 bytes
 tests/files/bad-2-compressed_data_padding.lzma |  Bin 92 -> 0 bytes
 tests/files/bad-2-compressed_data_padding.xz   |  Bin 0 -> 92 bytes
 tests/files/bad-2-index-1.lzma                 |  Bin 92 -> 0 bytes
 tests/files/bad-2-index-1.xz                   |  Bin 0 -> 92 bytes
 tests/files/bad-2-index-2.lzma                 |  Bin 92 -> 0 bytes
 tests/files/bad-2-index-2.xz                   |  Bin 0 -> 92 bytes
 tests/files/bad-2-index-3.lzma                 |  Bin 92 -> 0 bytes
 tests/files/bad-2-index-3.xz                   |  Bin 0 -> 92 bytes
 tests/files/bad-2-index-4.lzma                 |  Bin 92 -> 0 bytes
 tests/files/bad-2-index-4.xz                   |  Bin 0 -> 92 bytes
 tests/files/good-0-empty.lzma                  |  Bin 32 -> 0 bytes
 tests/files/good-0-empty.xz                    |  Bin 0 -> 32 bytes
 tests/files/good-0cat-empty.lzma               |  Bin 64 -> 0 bytes
 tests/files/good-0cat-empty.xz                 |  Bin 0 -> 64 bytes
 tests/files/good-0catpad-empty.lzma            |  Bin 68 -> 0 bytes
 tests/files/good-0catpad-empty.xz              |  Bin 0 -> 68 bytes
 tests/files/good-0pad-empty.lzma               |  Bin 36 -> 0 bytes
 tests/files/good-0pad-empty.xz                 |  Bin 0 -> 36 bytes
 tests/files/good-1-3delta-lzma2.lzma           |  Bin 528 -> 0 bytes
 tests/files/good-1-3delta-lzma2.xz             |  Bin 0 -> 528 bytes
 tests/files/good-1-block_header-1.lzma         |  Bin 72 -> 0 bytes
 tests/files/good-1-block_header-1.xz           |  Bin 0 -> 72 bytes
 tests/files/good-1-block_header-2.lzma         |  Bin 68 -> 0 bytes
 tests/files/good-1-block_header-2.xz           |  Bin 0 -> 68 bytes
 tests/files/good-1-block_header-3.lzma         |  Bin 68 -> 0 bytes
 tests/files/good-1-block_header-3.xz           |  Bin 0 -> 68 bytes
 tests/files/good-1-check-crc32.lzma            |  Bin 68 -> 0 bytes
 tests/files/good-1-check-crc32.xz              |  Bin 0 -> 68 bytes
 tests/files/good-1-check-crc64.lzma            |  Bin 72 -> 0 bytes
 tests/files/good-1-check-crc64.xz              |  Bin 0 -> 72 bytes
 tests/files/good-1-check-none.lzma             |  Bin 64 -> 0 bytes
 tests/files/good-1-check-none.xz               |  Bin 0 -> 64 bytes
 tests/files/good-1-check-sha256.lzma           |  Bin 96 -> 0 bytes
 tests/files/good-1-check-sha256.xz             |  Bin 0 -> 96 bytes
 tests/files/good-1-delta-lzma2.tiff.lzma       |  Bin 51312 -> 0 bytes
 tests/files/good-1-delta-lzma2.tiff.xz         |  Bin 0 -> 51312 bytes
 tests/files/good-1-lzma2-1.lzma                |  Bin 424 -> 0 bytes
 tests/files/good-1-lzma2-1.xz                  |  Bin 0 -> 424 bytes
 tests/files/good-1-lzma2-2.lzma                |  Bin 424 -> 0 bytes
 tests/files/good-1-lzma2-2.xz                  |  Bin 0 -> 424 bytes
 tests/files/good-1-lzma2-3.lzma                |  Bin 408 -> 0 bytes
 tests/files/good-1-lzma2-3.xz                  |  Bin 0 -> 408 bytes
 tests/files/good-1-sparc-lzma2.lzma            |  Bin 2292 -> 0 bytes
 tests/files/good-1-sparc-lzma2.xz              |  Bin 0 -> 2292 bytes
 tests/files/good-1-x86-lzma2.lzma              |  Bin 1936 -> 0 bytes
 tests/files/good-1-x86-lzma2.xz                |  Bin 0 -> 1936 bytes
 tests/files/good-2-lzma2.lzma                  |  Bin 92 -> 0 bytes
 tests/files/good-2-lzma2.xz                    |  Bin 0 -> 92 bytes
 tests/files/unsupported-block_header.lzma      |  Bin 68 -> 0 bytes
 tests/files/unsupported-block_header.xz        |  Bin 0 -> 68 bytes
 tests/files/unsupported-check.lzma             |  Bin 68 -> 0 bytes
 tests/files/unsupported-check.xz               |  Bin 0 -> 68 bytes
 tests/files/unsupported-filter_flags-1.lzma    |  Bin 68 -> 0 bytes
 tests/files/unsupported-filter_flags-1.xz      |  Bin 0 -> 68 bytes
 tests/files/unsupported-filter_flags-2.lzma    |  Bin 68 -> 0 bytes
 tests/files/unsupported-filter_flags-2.xz      |  Bin 0 -> 68 bytes
 tests/files/unsupported-filter_flags-3.lzma    |  Bin 68 -> 0 bytes
 tests/files/unsupported-filter_flags-3.xz      |  Bin 0 -> 68 bytes
 tests/test_files.sh                            |    6 +-
 116 files changed, 66 insertions(+), 68 deletions(-)

commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-30 13:57:44 +0300

    Fixed Stream decoder to actually use the first_stream variable.

 src/liblzma/common/stream_decoder.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit 3bdbc12c054d1961133ee19802af7dd3c3494543
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-30 13:56:57 +0300

    Added one more test file.

 tests/files/README                     |   15 +++++++++++----
 tests/files/bad-0cat-header_magic.lzma |  Bin 0 -> 64 bytes
 2 files changed, 11 insertions(+), 4 deletions(-)

commit a6639022fdc536e5659b070a465221b4cf7c51fa
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-30 13:34:07 +0300

    Fixed uninitialized variable in Stream decoder.

 src/liblzma/common/stream_decoder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit ed3709000a3f17ecefab29b2235d7e2221b00003
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-30 13:27:28 +0300

    Added two test files.

 tests/files/README                  |    6 ++++++
 tests/files/bad-0-footer_magic.lzma |  Bin 0 -> 32 bytes
 tests/files/bad-0-header_magic.lzma |  Bin 0 -> 32 bytes
 3 files changed, 6 insertions(+), 0 deletions(-)

commit ea560b0ea80525752bdcd0074d24f8dc170bbe29
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-27 23:49:24 +0300

    Fix conflicting Subblock helper filter's ID.

 src/liblzma/common/common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit ad97483b6e55142fd8d5c041db057017a891cd95
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-27 23:37:13 +0300

    Changed magic bytes to match the updated spec. Filename
    suffix wasn't changed yet.

 src/liblzma/common/auto_decoder.c              |    4 ++--
 src/liblzma/common/stream_flags_common.c       |    2 +-
 tests/files/bad-0-backward_size.lzma           |  Bin 32 -> 32 bytes
 tests/files/bad-0-empty-truncated.lzma         |  Bin 31 -> 31 bytes
 tests/files/bad-0-nonempty_index.lzma          |  Bin 32 -> 32 bytes
 tests/files/bad-0cat-alone.lzma                |  Bin 55 -> 55 bytes
 tests/files/bad-0catpad-empty.lzma             |  Bin 69 -> 69 bytes
 tests/files/bad-0pad-empty.lzma                |  Bin 37 -> 37 bytes
 tests/files/bad-1-block_header-1.lzma          |  Bin 64 -> 64 bytes
 tests/files/bad-1-block_header-2.lzma          |  Bin 64 -> 64 bytes
 tests/files/bad-1-block_header-3.lzma          |  Bin 68 -> 68 bytes
 tests/files/bad-1-block_header-4.lzma          |  Bin 72 -> 72 bytes
 tests/files/bad-1-check-crc32.lzma             |  Bin 68 -> 68 bytes
 tests/files/bad-1-check-crc64.lzma             |  Bin 72 -> 72 bytes
 tests/files/bad-1-check-sha256.lzma            |  Bin 96 -> 96 bytes
 tests/files/bad-1-lzma2-1.lzma                 |  Bin 64 -> 64 bytes
 tests/files/bad-1-lzma2-2.lzma                 |  Bin 424 -> 424 bytes
 tests/files/bad-1-lzma2-3.lzma                 |  Bin 424 -> 424 bytes
 tests/files/bad-1-lzma2-4.lzma                 |  Bin 408 -> 408 bytes
 tests/files/bad-1-lzma2-5.lzma                 |  Bin 408 -> 408 bytes
 tests/files/bad-1-lzma2-6.lzma                 |  Bin 68 -> 68 bytes
 tests/files/bad-1-lzma2-7.lzma                 |  Bin 408 -> 408 bytes
 tests/files/bad-1-stream_flags-1.lzma          |  Bin 68 -> 68 bytes
 tests/files/bad-1-stream_flags-2.lzma          |  Bin 68 -> 68 bytes
 tests/files/bad-1-stream_flags-3.lzma          |  Bin 68 -> 68 bytes
 tests/files/bad-1-vli-1.lzma                   |  Bin 72 -> 72 bytes
 tests/files/bad-1-vli-2.lzma                   |  Bin 72 -> 72 bytes
 tests/files/bad-2-compressed_data_padding.lzma |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-1.lzma                 |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-2.lzma                 |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-3.lzma                 |  Bin 92 -> 92 bytes
 tests/files/bad-2-index-4.lzma                 |  Bin 92 -> 92 bytes
 tests/files/good-0-empty.lzma                  |  Bin 32 -> 32 bytes
 tests/files/good-0cat-empty.lzma               |  Bin 64 -> 64 bytes
 tests/files/good-0catpad-empty.lzma            |  Bin 68 -> 68 bytes
 tests/files/good-0pad-empty.lzma               |  Bin 36 -> 36 bytes
 tests/files/good-1-3delta-lzma2.lzma           |  Bin 528 -> 528 bytes
 tests/files/good-1-block_header-1.lzma         |  Bin 72 -> 72 bytes
 tests/files/good-1-block_header-2.lzma         |  Bin 68 -> 68 bytes
 tests/files/good-1-block_header-3.lzma         |  Bin 68 -> 68 bytes
 tests/files/good-1-check-crc32.lzma            |  Bin 68 -> 68 bytes
 tests/files/good-1-check-crc64.lzma            |  Bin 72 -> 72 bytes
 tests/files/good-1-check-none.lzma             |  Bin 64 -> 64 bytes
 tests/files/good-1-check-sha256.lzma           |  Bin 96 -> 96 bytes
 tests/files/good-1-delta-lzma2.tiff.lzma       |  Bin 51312 -> 51312 bytes
 tests/files/good-1-lzma2-1.lzma                |  Bin 424 -> 424 bytes
 tests/files/good-1-lzma2-2.lzma                |  Bin 424 -> 424 bytes
 tests/files/good-1-lzma2-3.lzma                |  Bin 408 -> 408 bytes
 tests/files/good-1-sparc-lzma2.lzma            |  Bin 2292 -> 2292 bytes
 tests/files/good-1-x86-lzma2.lzma              |  Bin 1936 -> 1936 bytes
 tests/files/good-2-lzma2.lzma                  |  Bin 92 -> 92 bytes
 tests/files/unsupported-block_header.lzma      |  Bin 68 -> 68 bytes
 tests/files/unsupported-check.lzma             |  Bin 68 -> 68 bytes
 tests/files/unsupported-filter_flags-1.lzma    |  Bin 68 -> 68 bytes
 tests/files/unsupported-filter_flags-2.lzma    |  Bin 68 -> 68 bytes
 tests/files/unsupported-filter_flags-3.lzma    |  Bin 68 -> 68 bytes
 56 files changed, 3 insertions(+), 3 deletions(-)

commit 7a57069167e9e63394e2b095ee3a63253fcb51c7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-27 23:16:09 +0300

    Remove po/fi.po since I'm not keeping it updated for now.

 po/fi.po |  446 --------------------------------------------------------------
 1 files changed, 0 insertions(+), 446 deletions(-)

commit 018ae09df8f2fee5a7374f307df4cb42fad0b81e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-27 23:13:54 +0300

    Fix also test_compress.sh.

 tests/test_compress.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 3a62a5fb85d2eebd8666e64ed5d364d095062858
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-27 23:01:15 +0300

    Fixed compilation of test_filter_flags.c, which was broken by
    1dcecfb09b55157b8653d747963069c8bed74f04.

 tests/test_filter_flags.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

commit c6ca26eef7cd07eba449035514e2b8f9ac3111c0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-27 19:11:02 +0300

    Updated file format specification. It changes the suffix
    of the new format to .xz and removes the recently added
    LZMA filter.

 doc/file-format.txt |  125 +++++++++++++--------------------------------------
 1 files changed, 32 insertions(+), 93 deletions(-)

commit 1dcecfb09b55157b8653d747963069c8bed74f04
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-27 19:09:21 +0300

    Some API changes, bug fixes, cleanups etc.

 configure.ac                                   |   18 +-
 debug/full_flush.c                             |    7 +-
 debug/known_sizes.c                            |    6 +-
 debug/memusage.c                               |   22 ++--
 debug/sync_flush.c                             |   18 +-
 src/liblzma/Makefile.am                        |    2 +-
 src/liblzma/api/lzma/delta.h                   |    8 +-
 src/liblzma/api/lzma/lzma.h                    |  230 +++++++++++++++---------
 src/liblzma/common/alignment.c                 |    7 +-
 src/liblzma/common/alone_decoder.c             |   11 +-
 src/liblzma/common/alone_encoder.c             |    9 +-
 src/liblzma/common/chunk_size.c                |    2 +-
 src/liblzma/common/easy.c                      |   20 ++-
 src/liblzma/common/filter_common.c             |    4 +-
 src/liblzma/common/filter_decoder.c            |    4 +-
 src/liblzma/common/filter_encoder.c            |    4 +-
 src/liblzma/common/init_encoder.c              |    2 +-
 src/liblzma/delta/delta_common.c               |   12 +-
 src/liblzma/delta/delta_common.h               |    2 +-
 src/liblzma/delta/delta_decoder.c              |    2 +-
 src/liblzma/delta/delta_encoder.c              |    6 +-
 src/liblzma/lz/lz_encoder.c                    |   30 ++--
 src/liblzma/lz/lz_encoder.h                    |   26 ++--
 src/liblzma/lz/lz_encoder_mf.c                 |   30 ++--
 src/liblzma/lzma/Makefile.am                   |    4 +-
 src/liblzma/lzma/lzma2_decoder.c               |   10 +-
 src/liblzma/lzma/lzma2_encoder.c               |   27 +--
 src/liblzma/lzma/lzma_common.h                 |   26 +--
 src/liblzma/lzma/lzma_decoder.c                |   37 ++--
 src/liblzma/lzma/lzma_encoder.c                |   51 +++---
 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |   10 +-
 src/liblzma/lzma/lzma_encoder_optimum_normal.c |   20 +-
 src/liblzma/lzma/lzma_encoder_presets.c        |   50 ++++--
 src/liblzma/rangecoder/Makefile.am             |    4 +-
 src/liblzma/subblock/subblock_decoder.c        |    2 +-
 src/lzma/args.c                                |   33 +++--
 src/lzma/help.c                                |   17 +-
 src/lzma/options.c                             |   92 ++++++----
 tests/test_block_header.c                      |    9 +-
 tests/test_compress.sh                         |    4 +-
 tests/test_filter_flags.c                      |    2 +-
 41 files changed, 482 insertions(+), 398 deletions(-)

commit 5cc5064cae603b649c64c40125c7dd365de54c9d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-27 11:28:49 +0300

    Added 7z2lzma.bash.

 extra/7z2lzma/7z2lzma.bash |  114 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 114 insertions(+), 0 deletions(-)

commit f147666a5cd15542d4e427da58629f4a71cc38e1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-17 22:11:39 +0300

    Miscellaneous LZ and LZMA encoder cleanups

 src/liblzma/api/lzma/lzma.h              |   14 ------
 src/liblzma/lz/lz_encoder.c              |    8 +++-
 src/liblzma/lzma/Makefile.am             |    1 -
 src/liblzma/lzma/lzma_encoder.c          |   64 +++++++++++-------------------
 src/liblzma/lzma/lzma_encoder_features.c |   59 ---------------------------
 5 files changed, 29 insertions(+), 117 deletions(-)

commit 13d68b069849e19c33822cd8996cd6447890abb1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-13 13:54:00 +0300

    LZ decoder cleanup

 src/liblzma/lz/lz_decoder.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

commit 13a74b78e37f16c9096ba5fe1859cc04eaa2f9f7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-13 12:10:43 +0300

    Renamed constants:
      - LZMA_VLI_VALUE_MAX -> LZMA_VLI_MAX
      - LZMA_VLI_VALUE_UNKNOWN -> LZMA_VLI_UNKNOWN
      - LZMA_HEADER_ERRRO -> LZMA_OPTIONS_ERROR

 debug/full_flush.c                        |    2 +-
 debug/known_sizes.c                       |    2 +-
 debug/sync_flush.c                        |    2 +-
 src/liblzma/api/lzma/alignment.h          |    2 +-
 src/liblzma/api/lzma/base.h               |    4 +-
 src/liblzma/api/lzma/block.h              |   28 +++++++++++++-------------
 src/liblzma/api/lzma/container.h          |   12 +++++-----
 src/liblzma/api/lzma/filter.h             |   28 +++++++++++++-------------
 src/liblzma/api/lzma/index.h              |    2 +-
 src/liblzma/api/lzma/lzma.h               |    4 +-
 src/liblzma/api/lzma/simple.h             |    2 +-
 src/liblzma/api/lzma/stream_flags.h       |   20 +++++++++---------
 src/liblzma/api/lzma/vli.h                |   16 +++++++-------
 src/liblzma/common/alignment.c            |    6 ++--
 src/liblzma/common/alone_decoder.c        |    2 +-
 src/liblzma/common/auto_decoder.c         |    2 +-
 src/liblzma/common/block_decoder.c        |   12 +++++-----
 src/liblzma/common/block_encoder.c        |    6 ++--
 src/liblzma/common/block_header_decoder.c |   16 +++++++-------
 src/liblzma/common/block_header_encoder.c |   24 +++++++++++-----------
 src/liblzma/common/block_util.c           |    8 +++---
 src/liblzma/common/chunk_size.c           |    2 +-
 src/liblzma/common/easy.c                 |    4 +-
 src/liblzma/common/filter_common.c        |   22 ++++++++++----------
 src/liblzma/common/filter_decoder.c       |    6 ++--
 src/liblzma/common/filter_encoder.c       |   14 ++++++------
 src/liblzma/common/index.c                |   24 ++++++++++------------
 src/liblzma/common/index.h                |    2 +-
 src/liblzma/common/index_hash.c           |   13 +++++------
 src/liblzma/common/stream_decoder.c       |    4 +-
 src/liblzma/common/stream_encoder.c       |    4 +-
 src/liblzma/common/stream_flags_common.c  |    6 ++--
 src/liblzma/common/stream_flags_decoder.c |    6 ++--
 src/liblzma/common/stream_flags_encoder.c |    4 +-
 src/liblzma/common/vli_encoder.c          |    2 +-
 src/liblzma/common/vli_size.c             |    2 +-
 src/liblzma/delta/delta_common.c          |    2 +-
 src/liblzma/delta/delta_decoder.c         |    2 +-
 src/liblzma/delta/delta_encoder.c         |    2 +-
 src/liblzma/lz/lz_decoder.c               |    2 +-
 src/liblzma/lz/lz_encoder.c               |    2 +-
 src/liblzma/lzma/lzma2_decoder.c          |    6 ++--
 src/liblzma/lzma/lzma_decoder.c           |   14 ++++++------
 src/liblzma/lzma/lzma_encoder.c           |    8 +++---
 src/liblzma/simple/simple_coder.c         |    2 +-
 src/liblzma/simple/simple_decoder.c       |    2 +-
 src/liblzma/subblock/subblock_decoder.c   |    6 ++--
 src/liblzma/subblock/subblock_encoder.c   |   17 +++++++--------
 src/lzma/args.c                           |    2 +-
 src/lzma/error.c                          |    2 +-
 src/lzma/list.c                           |    6 ++--
 src/lzmadec/lzmadec.c                     |    2 +-
 tests/test_block.c                        |    8 +++---
 tests/test_block_header.c                 |   30 ++++++++++++++--------------
 tests/test_filter_flags.c                 |    2 +-
 tests/test_index.c                        |    2 +-
 tests/test_stream_flags.c                 |    8 +++---
 tests/tests.h                             |    2 +-
 58 files changed, 220 insertions(+), 224 deletions(-)

commit 320601b2c7b08fc7da9da18d5bf7c3c1a189b080
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-12 22:41:40 +0300

    Improved the Stream Flags handling API.

 src/liblzma/api/lzma/stream_flags.h       |   84 +++++++++++++++++++++++++++--
 src/liblzma/common/stream_decoder.c       |    5 +-
 src/liblzma/common/stream_encoder.c       |    2 +
 src/liblzma/common/stream_flags_common.c  |   28 +++++++---
 src/liblzma/common/stream_flags_common.h  |    9 +++
 src/liblzma/common/stream_flags_decoder.c |    3 +-
 src/liblzma/common/stream_flags_encoder.c |   10 +++-
 tests/test_stream_flags.c                 |    8 ++-
 8 files changed, 129 insertions(+), 20 deletions(-)

commit ec490da5228263b25bf786bb23d1008468f55b30
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-11 23:10:44 +0300

    Simplified debug/known_sizes.c to match the relaxed
    requirements of Block encoder.

 debug/known_sizes.c |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

commit 16e8b98f2659347edfa74afdbbb9e73311153cb9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-11 23:09:24 +0300

    Remove a check from Block encoder that should have already
    been removed in 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e.

 src/liblzma/common/block_encoder.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

commit 5a710c3805bdf6d7e3c92e954e4e4565b27bcb13
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-11 20:02:38 +0300

    Remove bogus #includes.

 src/liblzma/common/Makefile.am            |    1 -
 src/liblzma/common/stream_decoder.c       |    3 --
 src/liblzma/common/stream_encoder.c       |    1 -
 src/liblzma/common/stream_flags_decoder.h |   31 -----------------------------
 4 files changed, 0 insertions(+), 36 deletions(-)

commit 01892b2ca5f69bed0ea746e04b604030d57806bb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-11 10:49:14 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 962f2231d49409fe6852e44ffe8c5dbabb04bc7d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-11 10:48:12 +0300

    Fix a compiler error on big endian systems that don't
    support unaligned memory access.

 src/common/integer.h |   32 ++++++++++++++++++--------------
 1 files changed, 18 insertions(+), 14 deletions(-)

commit fa3ab0df8ae7a8a1ad55b52266dc0fd387458671
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-11 10:46:14 +0300

    Silence a compiler warning.

 src/lzma/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 9373e81e18822db4972819442ea4c2cb9955470b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-10 19:16:32 +0300

    Bumped version to 4.999.6alpha.

 configure.ac                   |    2 +-
 src/liblzma/api/lzma/version.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit cb072b7c8442ba68bb0c62c0abbbe939794887a3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-10 17:02:00 +0300

    Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
    Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
    is in the reserved range. This allows Block Header encoder to
    detect unallowed Filter IDs, which is good for Stream encoder.

 src/liblzma/common/filter_flags_encoder.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

commit 123ab0acec435c9e9866a99e30482116cfbd9ba5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-10 16:44:32 +0300

    Filter handling cleanups

 src/liblzma/api/lzma/filter.h       |  133 +++++++++++++++++++++++++++--------
 src/liblzma/common/filter_common.h  |    3 +
 src/liblzma/common/filter_decoder.c |   80 +++++++--------------
 src/liblzma/common/filter_decoder.h |    5 --
 src/liblzma/common/filter_encoder.c |   82 +++++++---------------
 src/liblzma/common/filter_encoder.h |    4 -
 6 files changed, 156 insertions(+), 151 deletions(-)

commit 9cfcd0c4f2f865d8fbbb46ea28344a9be0dd8ad1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-10 00:33:00 +0300

    Comments

 src/liblzma/common/stream_encoder.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

commit 2ba01bfa755e47ff6af84a978e3c8d63d7d2775e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-10 00:27:02 +0300

    Cleaned up Block encoder and moved the no longer shared
    code from block_private.h to block_decoder.c. Now the Block
    encoder doesn't need compressed_size and uncompressed_size
    from lzma_block structure to be initialized.

 src/liblzma/api/lzma/block.h       |    3 -
 src/liblzma/common/Makefile.am     |    1 -
 src/liblzma/common/block_decoder.c |   23 +++++++++-
 src/liblzma/common/block_encoder.c |   92 +++++++++++++++++-------------------
 src/liblzma/common/block_private.h |   47 ------------------
 5 files changed, 66 insertions(+), 100 deletions(-)

commit 07efcb5a6bc5d7018798ebd728586f84183e7d64
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-07 10:23:13 +0300

    Changed Filter ID of LZMA to 0x20.

 doc/file-format.txt         |    4 ++--
 src/liblzma/api/lzma/lzma.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit 32fe5fa541e82c08e054086279079ae5016bd8d8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-06 23:42:50 +0300

    Comments

 src/liblzma/api/lzma/base.h      |   81 +++++++++++++++++++++++++-------------
 src/liblzma/api/lzma/container.h |    6 ++-
 src/liblzma/lz/lz_encoder.c      |    3 +-
 src/liblzma/lz/lz_encoder.h      |   12 +++---
 src/liblzma/lz/lz_encoder_mf.c   |    2 +-
 5 files changed, 65 insertions(+), 39 deletions(-)

commit 0a31ed9d5e3cde4feb094b66f3a8b2c074605d84
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-06 15:14:30 +0300

    Some API cleanups

 src/liblzma/api/lzma/base.h         |  314 ++++++++++++++++++++++-------------
 src/liblzma/api/lzma/check.h        |   10 +
 src/liblzma/api/lzma/container.h    |   40 +++--
 src/liblzma/common/auto_decoder.c   |   18 +-
 src/liblzma/common/common.c         |    7 +
 src/liblzma/common/common.h         |   18 +-
 src/liblzma/common/easy.c           |    2 +-
 src/liblzma/common/stream_decoder.c |   31 ++--
 src/lzma/process.c                  |    2 +-
 src/lzmadec/lzmadec.c               |    6 +-
 tests/tests.h                       |   72 ++------
 11 files changed, 301 insertions(+), 219 deletions(-)

commit da98df54400998be2a6c3876f9655a3c51b93c10
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-04 11:53:06 +0300

    Added support for raw encoding and decoding to the command
    line tool, and made various cleanups. --lzma was renamed to
    --lzma1 to prevent people from accidentally using LZMA when
    they want LZMA2.

 src/lzma/args.c    |   17 +++++++++--------
 src/lzma/args.h    |    1 +
 src/lzma/help.c    |   24 ++++++------------------
 src/lzma/process.c |   42 ++++++++++++++++++++++++++++++++++--------
 4 files changed, 50 insertions(+), 34 deletions(-)

commit 2496aee8a7741a8a0d42987db41ff2cf1a4bdabd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-04 10:39:15 +0300

    Don't allow LZMA_SYNC_FLUSH with decoders anymore. There's
    simply nothing that would use it. Allow LZMA_FINISH to the
    decoders, which will usually ignore it (auto decoder and
    Stream decoder being exceptions).

 src/liblzma/common/alone_decoder.c  |    1 -
 src/liblzma/common/block_decoder.c  |    2 +-
 src/liblzma/common/filter_decoder.c |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

commit bea301c26d5d52675e11e0236faec0492af98f60
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-03 17:06:25 +0300

    Minor updates to the file format specification.

 doc/file-format.txt |  105 +++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 85 insertions(+), 20 deletions(-)

commit 9c75b089b4a9e0edcf4cf7970a4383768707d6c8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-02 19:33:32 +0300

    Command line tool fixes

 src/lzma/process.c |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

commit bab0590504b5aeff460ab4ca8c964dd7c1bad9e4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-02 19:31:42 +0300

    Auto decoder cleanup

 src/liblzma/common/auto_decoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 689602336d126a46b60d791a67decab65e1e81f5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-02 19:12:12 +0300

    Updated auto decoder to handle LZMA_CONCATENATED when decoding
    LZMA_Alone files. Decoding of concatenated LZMA_Alone files is
    intentionally not supported, so it is better to put this in
    auto decoder than LZMA_Alone decoder.

 src/liblzma/common/auto_decoder.c |   87 ++++++++++++++++++++++++++++++-------
 1 files changed, 71 insertions(+), 16 deletions(-)

commit 80c4158f19904026433eb6f5d5ca98a0ecd4f66c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-02 14:56:52 +0300

    Stream decoder cleanups

 src/liblzma/common/stream_decoder.c |   57 +++++++++++++++++++---------------
 1 files changed, 32 insertions(+), 25 deletions(-)

commit fc681657450ce57be1fe08f7a15d31dcc705e514
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-09-02 11:45:39 +0300

    Some fixes to LZ encoder.

 src/liblzma/lz/lz_encoder.c    |   56 +++++++++++++++++++----
 src/liblzma/lz/lz_encoder.h    |   18 ++++---
 src/liblzma/lz/lz_encoder_mf.c |   95 ++++++++++++++++------------------------
 3 files changed, 94 insertions(+), 75 deletions(-)

commit ede675f9ac1ca82a7d7c290324adba672118bc8d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-08-31 11:47:01 +0300

    Fix wrong pointer calculation in LZMA encoder.

 src/liblzma/lzma/lzma_encoder.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 3b34851de1eaf358cf9268922fa0eeed8278d680
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-08-28 22:53:15 +0300

    Sort of garbage collection commit. :-| Many things are still
    broken. API has changed a lot and it will still change a
    little more here and there. The command line tool doesn't
    have all the required changes to reflect the API changes, so
    it's easy to get "internal error" or trigger assertions.

 configure.ac                                       |  356 +++---
 debug/Makefile.am                                  |    5 +-
 debug/crc32.c                                      |   45 +
 debug/full_flush.c                                 |   14 +-
 debug/hex2bin.c                                    |   54 +
 debug/known_sizes.c                                |  135 ++
 debug/memusage.c                                   |    8 +-
 debug/sync_flush.c                                 |   20 +-
 src/common/integer.h                               |   26 +-
 src/common/sysdefs.h                               |   42 +-
 src/liblzma/Makefile.am                            |   17 +-
 src/liblzma/api/Makefile.am                        |    6 +-
 src/liblzma/api/lzma.h                             |  161 ++-
 src/liblzma/api/lzma/alignment.h                   |    6 +-
 src/liblzma/api/lzma/alone.h                       |   52 -
 src/liblzma/api/lzma/auto.h                        |   36 -
 src/liblzma/api/lzma/base.h                        |   61 +-
 src/liblzma/api/lzma/block.h                       |   38 +-
 src/liblzma/api/lzma/check.h                       |   41 +-
 src/liblzma/api/lzma/container.h                   |  252 ++++
 src/liblzma/api/lzma/delta.h                       |   36 +-
 src/liblzma/api/lzma/easy.h                        |  121 --
 src/liblzma/api/lzma/filter.h                      |   74 +-
 src/liblzma/api/lzma/index.h                       |   40 +-
 src/liblzma/api/lzma/index_hash.h                  |   12 +-
 src/liblzma/api/lzma/lzma.h                        |  222 ++--
 src/liblzma/api/lzma/memlimit.h                    |   15 +-
 src/liblzma/api/lzma/raw.h                         |   60 -
 src/liblzma/api/lzma/simple.h                      |    2 +-
 src/liblzma/api/lzma/stream.h                      |   53 -
 src/liblzma/api/lzma/stream_flags.h                |   17 +-
 src/liblzma/api/lzma/subblock.h                    |    4 +-
 src/liblzma/api/lzma/version.h                     |   10 +-
 src/liblzma/api/lzma/vli.h                         |  131 +--
 src/liblzma/check/check.c                          |  128 +--
 src/liblzma/check/check.h                          |   67 +-
 src/liblzma/check/sha256.c                         |   29 +-
 src/liblzma/common/Makefile.am                     |   51 +-
 src/liblzma/common/alignment.c                     |    4 +-
 src/liblzma/common/allocator.c                     |   58 -
 src/liblzma/common/alone_decoder.c                 |   49 +-
 src/liblzma/common/alone_decoder.h                 |    9 +-
 src/liblzma/common/alone_encoder.c                 |   13 +-
 src/liblzma/common/auto_decoder.c                  |   38 +-
 src/liblzma/common/block_decoder.c                 |   67 +-
 src/liblzma/common/block_decoder.h                 |    2 +-
 src/liblzma/common/block_encoder.c                 |   42 +-
 src/liblzma/common/block_encoder.h                 |    2 +-
 src/liblzma/common/block_header_decoder.c          |    6 +-
 src/liblzma/common/block_header_encoder.c          |    9 +-
 src/liblzma/common/block_util.c                    |   10 +-
 src/liblzma/common/code.c                          |  203 ---
 src/liblzma/common/common.c                        |  298 +++++
 src/liblzma/common/common.h                        |  237 ++--
 src/liblzma/common/delta_common.c                  |   66 -
 src/liblzma/common/delta_common.h                  |   44 -
 src/liblzma/common/delta_decoder.c                 |   61 -
 src/liblzma/common/delta_decoder.h                 |   28 -
 src/liblzma/common/delta_encoder.c                 |   98 --
 src/liblzma/common/delta_encoder.h                 |   28 -
 src/liblzma/common/easy.c                          |   18 +-
 src/liblzma/common/features.c                      |   66 -
 src/liblzma/common/filter_common.c                 |  262 ++++
 src/liblzma/common/filter_common.h                 |   52 +
 src/liblzma/common/filter_decoder.c                |  236 ++++
 src/liblzma/common/filter_decoder.h                |   35 +
 src/liblzma/common/filter_encoder.c                |  308 +++++
 src/liblzma/common/filter_encoder.h                |   38 +
 src/liblzma/common/filter_flags_decoder.c          |  185 +---
 src/liblzma/common/filter_flags_encoder.c          |  261 +----
 src/liblzma/common/index_decoder.c                 |   14 +-
 src/liblzma/common/index_encoder.c                 |   16 +-
 src/liblzma/common/index_hash.c                    |    8 +-
 src/liblzma/common/init_encoder.c                  |    2 +-
 src/liblzma/common/memory_usage.c                  |  112 --
 src/liblzma/common/next_coder.c                    |   65 -
 src/liblzma/common/raw_common.c                    |  127 --
 src/liblzma/common/raw_common.h                    |   30 -
 src/liblzma/common/raw_decoder.c                   |  116 --
 src/liblzma/common/raw_decoder.h                   |   29 -
 src/liblzma/common/raw_encoder.c                   |  111 --
 src/liblzma/common/raw_encoder.h                   |   29 -
 src/liblzma/common/stream_common.c                 |   23 -
 src/liblzma/common/stream_common.h                 |   31 -
 src/liblzma/common/stream_decoder.c                |  238 +++-
 src/liblzma/common/stream_decoder.h                |    4 +-
 src/liblzma/common/stream_encoder.c                |   35 +-
 src/liblzma/common/stream_encoder.h                |    2 +-
 src/liblzma/common/stream_flags_common.c           |   40 +
 src/liblzma/common/stream_flags_common.h           |   31 +
 src/liblzma/common/stream_flags_decoder.c          |    2 +-
 src/liblzma/common/stream_flags_encoder.c          |    2 +-
 src/liblzma/common/stream_flags_equal.c            |   36 -
 src/liblzma/common/version.c                       |   25 -
 src/liblzma/common/vli_decoder.c                   |   29 +-
 src/liblzma/common/vli_encoder.c                   |   23 +-
 src/liblzma/common/vli_size.c                      |   37 +
 src/liblzma/delta/Makefile.am                      |   34 +
 src/liblzma/delta/delta_common.c                   |   66 +
 src/liblzma/delta/delta_common.h                   |   44 +
 src/liblzma/delta/delta_decoder.c                  |   82 ++
 src/liblzma/delta/delta_decoder.h                  |   32 +
 src/liblzma/delta/delta_encoder.c                  |  119 ++
 src/liblzma/delta/delta_encoder.h                  |   30 +
 src/liblzma/lz/Makefile.am                         |   35 +-
 src/liblzma/lz/bt2.c                               |   27 -
 src/liblzma/lz/bt2.h                               |   31 -
 src/liblzma/lz/bt3.c                               |   29 -
 src/liblzma/lz/bt3.h                               |   31 -
 src/liblzma/lz/bt4.c                               |   30 -
 src/liblzma/lz/bt4.h                               |   31 -
 src/liblzma/lz/hc3.c                               |   30 -
 src/liblzma/lz/hc3.h                               |   31 -
 src/liblzma/lz/hc4.c                               |   31 -
 src/liblzma/lz/hc4.h                               |   31 -
 src/liblzma/lz/lz_decoder.c                        |  547 +++------
 src/liblzma/lz/lz_decoder.h                        |  308 +++---
 src/liblzma/lz/lz_encoder.c                        |  780 ++++++------
 src/liblzma/lz/lz_encoder.h                        |  334 ++++--
 src/liblzma/lz/lz_encoder_hash.h                   |  104 ++
 src/liblzma/lz/lz_encoder_mf.c                     |  780 ++++++++++++
 src/liblzma/lz/lz_encoder_private.h                |   40 -
 src/liblzma/lz/match_c.h                           |  412 ------
 src/liblzma/lz/match_h.h                           |   69 -
 src/liblzma/lzma/Makefile.am                       |   37 +-
 src/liblzma/lzma/fastpos.h                         |    8 +-
 src/liblzma/lzma/lzma2_decoder.c                   |  318 +++++
 src/liblzma/lzma/lzma2_decoder.h                   |   35 +
 src/liblzma/lzma/lzma2_encoder.c                   |  406 ++++++
 src/liblzma/lzma/lzma2_encoder.h                   |   34 +
 src/liblzma/lzma/lzma_common.h                     |  208 +++-
 src/liblzma/lzma/lzma_decoder.c                    | 1306 ++++++++++++--------
 src/liblzma/lzma/lzma_decoder.h                    |   21 +-
 src/liblzma/lzma/lzma_encoder.c                    |  576 +++++++--
 src/liblzma/lzma/lzma_encoder.h                    |   38 +-
 src/liblzma/lzma/lzma_encoder_features.c           |    2 +-
 src/liblzma/lzma/lzma_encoder_getoptimum.c         |  925 --------------
 src/liblzma/lzma/lzma_encoder_getoptimumfast.c     |  201 ---
 src/liblzma/lzma/lzma_encoder_init.c               |  228 ----
 src/liblzma/lzma/lzma_encoder_optimum_fast.c       |  193 +++
 src/liblzma/lzma/lzma_encoder_optimum_normal.c     |  875 +++++++++++++
 src/liblzma/lzma/lzma_encoder_presets.c            |   52 +-
 src/liblzma/lzma/lzma_encoder_private.h            |  174 +--
 src/liblzma/lzma/lzma_literal.c                    |   51 -
 src/liblzma/lzma/lzma_literal.h                    |   71 --
 src/liblzma/rangecoder/Makefile.am                 |   10 +-
 src/liblzma/rangecoder/price.h                     |  111 ++
 src/liblzma/rangecoder/price_table.c               |   84 +-
 src/liblzma/rangecoder/price_table_gen.c           |   55 -
 src/liblzma/rangecoder/price_table_init.c          |   33 +-
 src/liblzma/rangecoder/price_tablegen.c            |   56 +
 src/liblzma/rangecoder/range_common.h              |   17 +-
 src/liblzma/rangecoder/range_decoder.h             |  209 ++--
 src/liblzma/rangecoder/range_encoder.h             |   92 +--
 src/liblzma/simple/Makefile.am                     |   12 +
 src/liblzma/simple/simple_coder.c                  |    8 +-
 src/liblzma/simple/simple_decoder.c                |   47 +
 src/liblzma/simple/simple_decoder.h                |   29 +
 src/liblzma/simple/simple_encoder.c                |   45 +
 src/liblzma/simple/simple_encoder.h                |   30 +
 src/liblzma/subblock/Makefile.am                   |    4 +-
 src/liblzma/subblock/subblock_decoder.c            |   20 +-
 src/liblzma/subblock/subblock_decoder_helper.c     |    2 +-
 src/liblzma/subblock/subblock_encoder.c            |   28 +-
 src/lzma/args.c                                    |   35 +-
 src/lzma/args.h                                    |    4 +-
 src/lzma/options.c                                 |   14 +-
 src/lzma/process.c                                 |   88 +-
 src/lzmadec/lzmadec.c                              |  157 +--
 tests/Makefile.am                                  |    1 +
 tests/files/README                                 |  303 ++---
 tests/files/bad-0-backward_size.lzma               |  Bin 0 -> 32 bytes
 tests/files/bad-0-empty-truncated.lzma             |  Bin 0 -> 31 bytes
 tests/files/bad-0-nonempty_index.lzma              |  Bin 0 -> 32 bytes
 tests/files/bad-0cat-alone.lzma                    |  Bin 0 -> 55 bytes
 tests/files/bad-0catpad-empty.lzma                 |  Bin 0 -> 69 bytes
 tests/files/bad-0pad-empty.lzma                    |  Bin 0 -> 37 bytes
 tests/files/bad-1-block_header-1.lzma              |  Bin 0 -> 64 bytes
 tests/files/bad-1-block_header-2.lzma              |  Bin 0 -> 64 bytes
 tests/files/bad-1-block_header-3.lzma              |  Bin 0 -> 68 bytes
 tests/files/bad-1-block_header-4.lzma              |  Bin 0 -> 72 bytes
 tests/files/bad-1-check-crc32.lzma                 |  Bin 0 -> 68 bytes
 tests/files/bad-1-check-crc64.lzma                 |  Bin 0 -> 72 bytes
 tests/files/bad-1-check-sha256.lzma                |  Bin 0 -> 96 bytes
 tests/files/bad-1-lzma2-1.lzma                     |  Bin 0 -> 64 bytes
 tests/files/bad-1-lzma2-2.lzma                     |  Bin 0 -> 424 bytes
 tests/files/bad-1-lzma2-3.lzma                     |  Bin 0 -> 424 bytes
 tests/files/bad-1-lzma2-4.lzma                     |  Bin 0 -> 408 bytes
 tests/files/bad-1-lzma2-5.lzma                     |  Bin 0 -> 408 bytes
 tests/files/bad-1-lzma2-6.lzma                     |  Bin 0 -> 68 bytes
 tests/files/bad-1-lzma2-7.lzma                     |  Bin 0 -> 408 bytes
 tests/files/bad-1-stream_flags-1.lzma              |  Bin 0 -> 68 bytes
 tests/files/bad-1-stream_flags-2.lzma              |  Bin 0 -> 68 bytes
 tests/files/bad-1-stream_flags-3.lzma              |  Bin 0 -> 68 bytes
 tests/files/bad-1-vli-1.lzma                       |  Bin 0 -> 72 bytes
 tests/files/bad-1-vli-2.lzma                       |  Bin 0 -> 72 bytes
 tests/files/bad-2-compressed_data_padding.lzma     |  Bin 0 -> 92 bytes
 tests/files/bad-2-index-1.lzma                     |  Bin 0 -> 92 bytes
 tests/files/bad-2-index-2.lzma                     |  Bin 0 -> 92 bytes
 tests/files/bad-2-index-3.lzma                     |  Bin 0 -> 92 bytes
 tests/files/bad-2-index-4.lzma                     |  Bin 0 -> 92 bytes
 tests/files/bad-cat-single-none-pad_garbage_1.lzma |  Bin 65 -> 0 bytes
 tests/files/bad-cat-single-none-pad_garbage_2.lzma |  Bin 65 -> 0 bytes
 tests/files/bad-cat-single-none-pad_garbage_3.lzma |  Bin 65 -> 0 bytes
 tests/files/bad-multi-none-1.lzma                  |  Bin 54 -> 0 bytes
 tests/files/bad-multi-none-2.lzma                  |  Bin 53 -> 0 bytes
 tests/files/bad-multi-none-3.lzma                  |  Bin 53 -> 0 bytes
 tests/files/bad-multi-none-block_1.lzma            |  Bin 66 -> 0 bytes
 tests/files/bad-multi-none-block_2.lzma            |  Bin 66 -> 0 bytes
 tests/files/bad-multi-none-block_3.lzma            |  Bin 58 -> 0 bytes
 tests/files/bad-multi-none-extra_1.lzma            |  Bin 54 -> 0 bytes
 tests/files/bad-multi-none-extra_2.lzma            |  Bin 54 -> 0 bytes
 tests/files/bad-multi-none-extra_3.lzma            |  Bin 55 -> 0 bytes
 tests/files/bad-multi-none-header_1.lzma           |  Bin 57 -> 0 bytes
 tests/files/bad-multi-none-header_2.lzma           |  Bin 61 -> 0 bytes
 tests/files/bad-multi-none-header_3.lzma           |  Bin 59 -> 0 bytes
 tests/files/bad-multi-none-header_4.lzma           |  Bin 59 -> 0 bytes
 tests/files/bad-multi-none-header_5.lzma           |  Bin 58 -> 0 bytes
 tests/files/bad-multi-none-header_6.lzma           |  Bin 59 -> 0 bytes
 tests/files/bad-multi-none-header_7.lzma           |  Bin 59 -> 0 bytes
 tests/files/bad-multi-none-index_1.lzma            |  Bin 51 -> 0 bytes
 tests/files/bad-multi-none-index_2.lzma            |  Bin 49 -> 0 bytes
 tests/files/bad-multi-none-index_3.lzma            |  Bin 51 -> 0 bytes
 tests/files/bad-multi-none-index_4.lzma            |  Bin 51 -> 0 bytes
 tests/files/bad-single-data_after_eopm_1.lzma      |  Bin 55 -> 0 bytes
 tests/files/bad-single-data_after_eopm_2.lzma      |  Bin 56 -> 0 bytes
 tests/files/bad-single-lzma-flush_beginning.lzma   |  Bin 53 -> 0 bytes
 tests/files/bad-single-lzma-flush_twice.lzma       |  Bin 63 -> 0 bytes
 tests/files/bad-single-none-empty.lzma             |  Bin 19 -> 0 bytes
 .../files/bad-single-none-footer_filter_flags.lzma |  Bin 30 -> 0 bytes
 tests/files/bad-single-none-too_long_vli.lzma      |  Bin 39 -> 0 bytes
 tests/files/bad-single-none-truncated.lzma         |  Bin 29 -> 0 bytes
 tests/files/bad-single-subblock-padding_loop.lzma  |  Bin 43 -> 0 bytes
 tests/files/bad-single-subblock1023-slow.lzma      |  Bin 7886 -> 0 bytes
 tests/files/bad-single-subblock_subblock.lzma      |  Bin 26 -> 0 bytes
 tests/files/good-0-empty.lzma                      |  Bin 0 -> 32 bytes
 tests/files/good-0cat-empty.lzma                   |  Bin 0 -> 64 bytes
 tests/files/good-0catpad-empty.lzma                |  Bin 0 -> 68 bytes
 tests/files/good-0pad-empty.lzma                   |  Bin 0 -> 36 bytes
 tests/files/good-1-3delta-lzma2.lzma               |  Bin 0 -> 528 bytes
 tests/files/good-1-block_header-1.lzma             |  Bin 0 -> 72 bytes
 tests/files/good-1-block_header-2.lzma             |  Bin 0 -> 68 bytes
 tests/files/good-1-block_header-3.lzma             |  Bin 0 -> 68 bytes
 tests/files/good-1-check-crc32.lzma                |  Bin 0 -> 68 bytes
 tests/files/good-1-check-crc64.lzma                |  Bin 0 -> 72 bytes
 tests/files/good-1-check-none.lzma                 |  Bin 0 -> 64 bytes
 tests/files/good-1-check-sha256.lzma               |  Bin 0 -> 96 bytes
 tests/files/good-1-delta-lzma2.tiff.lzma           |  Bin 0 -> 51312 bytes
 tests/files/good-1-lzma2-1.lzma                    |  Bin 0 -> 424 bytes
 tests/files/good-1-lzma2-2.lzma                    |  Bin 0 -> 424 bytes
 tests/files/good-1-lzma2-3.lzma                    |  Bin 0 -> 408 bytes
 tests/files/good-1-sparc-lzma2.lzma                |  Bin 0 -> 2292 bytes
 tests/files/good-1-x86-lzma2.lzma                  |  Bin 0 -> 1936 bytes
 tests/files/good-2-lzma2.lzma                      |  Bin 0 -> 92 bytes
 tests/files/good-cat-single-none-pad.lzma          |  Bin 64 -> 0 bytes
 tests/files/good-multi-none-1.lzma                 |  Bin 75 -> 0 bytes
 tests/files/good-multi-none-2.lzma                 |  Bin 53 -> 0 bytes
 tests/files/good-multi-none-block_1.lzma           |  Bin 66 -> 0 bytes
 tests/files/good-multi-none-block_2.lzma           |  Bin 58 -> 0 bytes
 tests/files/good-multi-none-extra_1.lzma           |  Bin 51 -> 0 bytes
 tests/files/good-multi-none-extra_2.lzma           |  Bin 79 -> 0 bytes
 tests/files/good-multi-none-extra_3.lzma           |  Bin 55 -> 0 bytes
 tests/files/good-multi-none-header_1.lzma          |  Bin 58 -> 0 bytes
 tests/files/good-multi-none-header_2.lzma          |  Bin 66 -> 0 bytes
 tests/files/good-multi-none-header_3.lzma          |  Bin 59 -> 0 bytes
 tests/files/good-single-delta-lzma.tiff.lzma       |  Bin 51409 -> 0 bytes
 tests/files/good-single-lzma-empty.lzma            |  Bin 21 -> 0 bytes
 tests/files/good-single-lzma-flush_1.lzma          |  Bin 48 -> 0 bytes
 tests/files/good-single-lzma-flush_2.lzma          |  Bin 63 -> 0 bytes
 tests/files/good-single-lzma.lzma                  |  Bin 44 -> 0 bytes
 tests/files/good-single-none-empty_1.lzma          |  Bin 18 -> 0 bytes
 tests/files/good-single-none-empty_2.lzma          |  Bin 26 -> 0 bytes
 tests/files/good-single-none-empty_3.lzma          |  Bin 19 -> 0 bytes
 tests/files/good-single-none-pad.lzma              |  Bin 32 -> 0 bytes
 tests/files/good-single-none.lzma                  |  Bin 30 -> 0 bytes
 tests/files/good-single-sparc-lzma.lzma            |  Bin 2263 -> 0 bytes
 tests/files/good-single-subblock-lzma.lzma         |  Bin 50 -> 0 bytes
 tests/files/good-single-subblock_implicit.lzma     |  Bin 35 -> 0 bytes
 tests/files/good-single-subblock_rle.lzma          |  Bin 118 -> 0 bytes
 tests/files/good-single-x86-lzma.lzma              |  Bin 1909 -> 0 bytes
 tests/files/malicious-multi-metadata-64PiB.lzma    |  Bin 51 -> 0 bytes
 tests/files/malicious-single-subblock-256MiB.lzma  |  Bin 30 -> 0 bytes
 tests/files/malicious-single-subblock-64PiB.lzma   |  Bin 45 -> 0 bytes
 tests/files/malicious-single-subblock31-slow.lzma  |  Bin 1233 -> 0 bytes
 tests/files/unsupported-block_header.lzma          |  Bin 0 -> 68 bytes
 tests/files/unsupported-check.lzma                 |  Bin 0 -> 68 bytes
 tests/files/unsupported-filter_flags-1.lzma        |  Bin 0 -> 68 bytes
 tests/files/unsupported-filter_flags-2.lzma        |  Bin 0 -> 68 bytes
 tests/files/unsupported-filter_flags-3.lzma        |  Bin 0 -> 68 bytes
 tests/test_block_header.c                          |   28 +-
 tests/test_compress.sh                             |    4 +-
 tests/test_filter_flags.c                          |   51 +-
 tests/test_stream_flags.c                          |    4 +-
 tests/tests.h                                      |    8 +
 294 files changed, 9768 insertions(+), 8195 deletions(-)

commit 57b9a145a527f0716822615e5ed536d33aebd3fc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-20 17:16:32 +0300

    Fix test_filter_flags to match the new restriction of lc+lp.

 tests/test_filter_flags.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit eaafc4367c77ec1d910e16d11b4da293969d97a3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-20 16:19:54 +0300

    Remove some redundant code from LZMA encoder.

 src/liblzma/lzma/lzma_encoder.c |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

commit 0809c46534fa5664fe35d9e98d95e87312ed130e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-19 16:35:08 +0300

    Add limit of lc + lp <= 4. Now we can allocate the
    literal coder as part of the main LZMA encoder or
    decoder structure.
    
    Make the LZMA decoder to rely on the current internal API
    to free the allocated memory in case an error occurs.

 src/liblzma/api/lzma/lzma.h             |   10 +++++-
 src/liblzma/lzma/lzma_decoder.c         |   57 +++++++-----------------------
 src/liblzma/lzma/lzma_encoder_init.c    |   13 +++----
 src/liblzma/lzma/lzma_encoder_private.h |    2 +-
 src/liblzma/lzma/lzma_literal.c         |   39 ++++-----------------
 src/liblzma/lzma/lzma_literal.h         |   13 +++----
 6 files changed, 43 insertions(+), 91 deletions(-)

commit d25ab1b96178f06a0e724f58e3cd68300b2b1275
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-18 21:45:19 +0300

    Comments

 src/liblzma/lzma/lzma_encoder.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

commit 6368a2fa5901c75864be5171dd57a50af7adbb41
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-18 19:19:02 +0300

    Delete old code that was supposed to be already deleted
    from test_block_header.c.

 tests/test_block_header.c |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

commit 7d17818cec8597f847b0a2537fde991bbc3d9e96
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-18 18:02:10 +0300

    Update the code to mostly match the new simpler file format
    specification. Simplify things by removing most of the
    support for known uncompressed size in most places.
    There are some miscellaneous changes here and there too.
    
    The API of liblzma has got many changes and still some
    more will be done soon. While most of the code has been
    updated, some things are not fixed (the command line tool
    will choke with invalid filter chain, if nothing else).
    
    Subblock filter is somewhat broken for now. It will be
    updated once the encoded format of the Subblock filter
    has been decided.

 configure.ac                                   |   41 +-
 debug/full_flush.c                             |   16 +-
 debug/sync_flush.c                             |   15 +-
 src/common/bswap.h                             |   44 ++
 src/common/integer.h                           |  167 +++++
 src/liblzma/api/Makefile.am                    |    5 +-
 src/liblzma/api/lzma.h                         |    9 +-
 src/liblzma/api/lzma/alone.h                   |   32 +-
 src/liblzma/api/lzma/auto.h                    |    7 +-
 src/liblzma/api/lzma/base.h                    |   15 +
 src/liblzma/api/lzma/block.h                   |  304 +++-------
 src/liblzma/api/lzma/check.h                   |   18 +-
 src/liblzma/api/lzma/copy.h                    |   29 -
 src/liblzma/api/lzma/easy.h                    |   61 +--
 src/liblzma/api/lzma/extra.h                   |  114 ----
 src/liblzma/api/lzma/filter.h                  |    5 +-
 src/liblzma/api/lzma/index.h                   |  204 +++++-
 src/liblzma/api/lzma/index_hash.h              |   94 +++
 src/liblzma/api/lzma/info.h                    |  315 ---------
 src/liblzma/api/lzma/lzma.h                    |    2 +-
 src/liblzma/api/lzma/metadata.h                |  100 ---
 src/liblzma/api/lzma/raw.h                     |   20 +-
 src/liblzma/api/lzma/stream.h                  |  157 +----
 src/liblzma/api/lzma/stream_flags.h            |  146 ++---
 src/liblzma/api/lzma/version.h                 |    2 +-
 src/liblzma/api/lzma/vli.h                     |   83 ++--
 src/liblzma/check/Makefile.am                  |    1 -
 src/liblzma/check/check.c                      |   55 ++-
 src/liblzma/check/check.h                      |   47 +-
 src/liblzma/check/check_byteswap.h             |   43 --
 src/liblzma/check/crc32_init.c                 |    2 +-
 src/liblzma/check/crc64_init.c                 |    2 +-
 src/liblzma/check/crc_macros.h                 |    2 +-
 src/liblzma/check/sha256.c                     |   53 +-
 src/liblzma/common/Makefile.am                 |   31 +-
 src/liblzma/common/alignment.c                 |    5 +-
 src/liblzma/common/alone_decoder.c             |   77 ++-
 src/liblzma/common/alone_encoder.c             |   99 ++--
 src/liblzma/common/auto_decoder.c              |   18 +-
 src/liblzma/common/block_decoder.c             |  298 +++-------
 src/liblzma/common/block_encoder.c             |  228 ++-----
 src/liblzma/common/block_header_decoder.c      |  400 +++----------
 src/liblzma/common/block_header_encoder.c      |  207 +++----
 src/liblzma/common/block_private.h             |   51 +--
 src/liblzma/common/block_util.c                |   73 +++
 src/liblzma/common/common.h                    |   44 +-
 src/liblzma/common/copy_coder.c                |  144 -----
 src/liblzma/common/copy_coder.h                |   31 -
 src/liblzma/common/delta_common.c              |    4 -
 src/liblzma/common/delta_common.h              |    4 -
 src/liblzma/common/delta_decoder.c             |   55 +--
 src/liblzma/common/delta_encoder.c             |    7 +-
 src/liblzma/common/easy.c                      |  122 ++++
 src/liblzma/common/easy_common.c               |   54 --
 src/liblzma/common/easy_common.h               |   28 -
 src/liblzma/common/easy_multi.c                |  103 ---
 src/liblzma/common/easy_single.c               |   37 --
 src/liblzma/common/extra.c                     |   34 -
 src/liblzma/common/features.c                  |    4 -
 src/liblzma/common/filter_flags_decoder.c      |  384 +++--------
 src/liblzma/common/filter_flags_encoder.c      |  120 +---
 src/liblzma/common/index.c                     |  773 ++++++++++++++++++++---
 src/liblzma/common/index.h                     |   67 ++
 src/liblzma/common/index_decoder.c             |  252 ++++++++
 src/liblzma/common/index_encoder.c             |  222 +++++++
 src/liblzma/common/index_encoder.h             |   30 +
 src/liblzma/common/index_hash.c                |  340 ++++++++++
 src/liblzma/common/info.c                      |  814 ------------------------
 src/liblzma/common/memory_usage.c              |    1 -
 src/liblzma/common/metadata_decoder.c          |  578 -----------------
 src/liblzma/common/metadata_decoder.h          |   31 -
 src/liblzma/common/metadata_encoder.c          |  435 -------------
 src/liblzma/common/metadata_encoder.h          |   30 -
 src/liblzma/common/raw_common.c                |  178 ++----
 src/liblzma/common/raw_common.h                |    5 +-
 src/liblzma/common/raw_decoder.c               |   19 +-
 src/liblzma/common/raw_decoder.h               |    3 +-
 src/liblzma/common/raw_encoder.c               |  101 +---
 src/liblzma/common/raw_encoder.h               |    3 +-
 src/liblzma/common/stream_common.h             |    3 +
 src/liblzma/common/stream_decoder.c            |  458 ++++----------
 src/liblzma/common/stream_decoder.h            |   28 +
 src/liblzma/common/stream_encoder.c            |  282 ++++++++
 src/liblzma/common/stream_encoder.h            |   30 +
 src/liblzma/common/stream_encoder_multi.c      |  445 -------------
 src/liblzma/common/stream_encoder_multi.h      |   26 -
 src/liblzma/common/stream_encoder_single.c     |  219 -------
 src/liblzma/common/stream_flags_decoder.c      |  260 ++-------
 src/liblzma/common/stream_flags_encoder.c      |   56 +-
 src/liblzma/common/stream_flags_equal.c        |   36 +
 src/liblzma/common/vli_decoder.c               |   68 ++-
 src/liblzma/common/vli_encoder.c               |   59 +-
 src/liblzma/common/vli_reverse_decoder.c       |   55 --
 src/liblzma/lz/lz_decoder.c                    |    6 +-
 src/liblzma/lz/lz_decoder.h                    |   10 +-
 src/liblzma/lzma/lzma_decoder.c                |   13 +-
 src/liblzma/lzma/lzma_decoder.h                |   10 +-
 src/liblzma/simple/simple_coder.c              |   29 +-
 src/liblzma/simple/simple_private.h            |    4 -
 src/liblzma/subblock/subblock_decoder.c        |  106 +---
 src/liblzma/subblock/subblock_decoder_helper.c |    5 +-
 src/liblzma/subblock/subblock_encoder.c        |    8 +-
 src/lzma/args.c                                |   22 +-
 src/lzma/args.h                                |    2 -
 src/lzma/error.c                               |    6 +
 src/lzma/process.c                             |   26 +-
 src/lzmadec/lzmadec.c                          |    8 +-
 tests/Makefile.am                              |    5 +-
 tests/test_block_header.c                      |  411 +++++--------
 tests/test_compress.sh                         |   65 +--
 tests/test_filter_flags.c                      |  116 ++---
 tests/test_index.c                             |  504 ++++++++++++++-
 tests/test_info.c                              |  717 ---------------------
 tests/test_stream_flags.c                      |  134 ++--
 tests/tests.h                                  |   14 +-
 115 files changed, 4845 insertions(+), 8155 deletions(-)

commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-17 15:03:46 +0300

    Update the file format specification draft. The new one is
    a lot simpler than the previous versions, but it also means
    that the existing code will change a lot.

 doc/file-format.txt | 1794 +++++++++++++++------------------------------------
 1 files changed, 508 insertions(+), 1286 deletions(-)

commit 803194ddd26f01ff60ba4e9924c6087a56b29827
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-11 21:42:47 +0300

    Fix uninitialized variable in LZMA encoder. This was
    introduced in 369f72fd656f537a9a8e06f13e6d0d4c242be22f.

 src/liblzma/lzma/lzma_encoder_init.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 0ea98e52ba87453497b1355c51f13bad55c8924a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-11 15:08:44 +0300

    Improve command line integer parsing a little in lzma and
    lzmadec to make them accept also KiB in addition Ki etc.
    Fix also memory usage information in lzmadec --help.

 src/lzma/util.c       |   23 ++++++++++++++---------
 src/lzmadec/lzmadec.c |   31 ++++++++++++++++++-------------
 2 files changed, 32 insertions(+), 22 deletions(-)

commit 436fa5fae96d4e35759aed33066060f09ee8c6ef
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-10 20:36:12 +0300

    s/decompressed/compressed/ in the command line tool's
    error message.

 src/lzma/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 369f72fd656f537a9a8e06f13e6d0d4c242be22f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-06-01 12:48:17 +0300

    Fix a buffer overflow in the LZMA encoder. It was due to my
    misunderstanding of the code. There's no tiny fix for this
    problem, so I also cleaned up the code in general.
    
    This reduces the speed of the encoder 2-5 % in the fastest
    compression mode ("lzma -1"). High compression modes should
    have no noticeable performance difference.
    
    This commit breaks things (especially LZMA_SYNC_FLUSH) but I
    will fix them once the new format and LZMA2 has been roughly
    implemented. Plain LZMA won't support LZMA_SYNC_FLUSH at all
    and won't be supported in the new .lzma format. This may
    change still but this is what it looks like now.
    
    Support for known uncompressed size (that is, LZMA or LZMA2
    without EOPM) is likely to go away. This means there will
    be API changes.

 src/liblzma/lz/lz_encoder.c                    |  113 +-----
 src/liblzma/lz/lz_encoder.h                    |   18 +-
 src/liblzma/lzma/lzma_encoder.c                |  551 +++++++++++-------------
 src/liblzma/lzma/lzma_encoder_getoptimum.c     |   59 ++-
 src/liblzma/lzma/lzma_encoder_getoptimumfast.c |    4 +-
 src/liblzma/lzma/lzma_encoder_init.c           |    9 +-
 src/liblzma/lzma/lzma_encoder_private.h        |   15 +-
 src/liblzma/rangecoder/range_encoder.h         |  383 +++++++++--------
 8 files changed, 532 insertions(+), 620 deletions(-)

commit e55e0e873ce2511325749d415ae547d62ab5f00d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-05-30 11:53:41 +0300

    Typo fixes from meyering.

 doc/faq.txt              |    4 ++--
 doc/liblzma-advanced.txt |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit ed6664146fcbe9cc4a3b23b31632182ed812ea93
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-05-11 14:24:42 +0300

    Remove support for pre-C89 libc versions that lack memcpy,
    memmove, and memset.

 configure.ac                   |    2 +-
 src/common/sysdefs.h           |   15 ++-------------
 src/liblzma/common/allocator.c |    2 +-
 3 files changed, 4 insertions(+), 15 deletions(-)

commit b09464bf9ae694afc2d1dc26188ac4e2e8af0a63
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-05-11 14:17:21 +0300

    Improved C99 compiler detection in configure.ac. It will
    pass -std=gnu99 instead of -std=c99 to GCC now, but -pedantic
    should still give warnings about GNU extensions like before
    except with some special keywords like asm().

 configure.ac |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

commit 11de5d5267f7a0a7f0a4d34eec147e65eaf9f9cf
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-05-06 15:15:07 +0300

    Bunch of grammar fixes from meyering.

 doc/liblzma-security.txt        |    8 ++++----
 src/liblzma/api/lzma/memlimit.h |    6 +++---
 src/lzma/help.c                 |    2 +-
 tests/files/README              |    2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

commit dc192b6343ae36276c85fcf7ef6006147816eadc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-05-06 13:41:05 +0300

    Typo fix

 src/liblzma/api/lzma/init.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 944b62b93239b27b338d117f2668c0e95849659b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-05-04 22:29:27 +0300

    Don't print an error message on broken pipe unless --verbose
    is used.

 src/lzma/io.c |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

commit 8e074349e47ea6832b8fdf9244e581d453733433
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-30 22:16:17 +0300

    Fix a crash with --format=alone if other filters than LZMA
    are specified on the command line.

 src/lzma/args.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

commit 2f361ac19b7fd3abcd362de4d470e6a9eb495b73
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-28 17:08:27 +0300

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 3be21fb12f4cec2cf07799e8960382f4cb375369
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-28 17:06:34 +0300

    Fixed wrong spelling "limitter" to "limiter". This affects
    liblzma's API.

 doc/liblzma-security.txt             |   14 +-
 src/liblzma/api/lzma/base.h          |    4 +-
 src/liblzma/api/lzma/memlimit.h      |   10 +-
 src/liblzma/api/lzma/stream.h        |    4 +-
 src/liblzma/common/Makefile.am       |    2 +-
 src/liblzma/common/memory_limiter.c  |  288 ++++++++++++++++++++++++++++++++++
 src/liblzma/common/memory_limitter.c |  288 ----------------------------------
 src/lzma/list.c                      |    6 +-
 src/lzmadec/lzmadec.c                |   12 +-
 tests/test_memlimit.c                |    4 +-
 10 files changed, 316 insertions(+), 316 deletions(-)

commit beeb81060821dfec4e7898e0d44b7900dcb2215e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-25 15:39:50 +0300

    Prevent LZ encoder from hanging with known uncompressed
    size. The "fix" breaks LZMA_SYNC_FLUSH at end of stream
    with known uncompressed size, but since it currently seems
    likely that support for encoding with known uncompressed
    size will go away anyway, I'm not fixing this problem now.

 src/liblzma/lz/lz_encoder.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

commit c324325f9f13cdeb92153c5d00962341ba070ca2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-25 13:58:56 +0300

    Removed src/liblzma/common/sysdefs.h symlink, which was
    annoying, because "make dist" put two copies of sysdefs.h
    into the tarball instead of the symlink.

 src/liblzma/check/crc32_table.c |    2 +-
 src/liblzma/check/crc64_table.c |    2 +-
 src/liblzma/common/Makefile.am  |    1 -
 src/liblzma/common/common.h     |    2 +-
 src/liblzma/common/sysdefs.h    |    1 -
 5 files changed, 3 insertions(+), 5 deletions(-)

commit d3ba30243c75c13d094de1793f9c58acdbacc692
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-25 13:41:29 +0300

    Added memusage.c to debug directory.

 debug/Makefile.am |    3 +-
 debug/memusage.c  |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 1 deletions(-)

commit 8f804c29aa8471ccd6438ddca254092b8869ca52
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-25 13:32:35 +0300

    Bumped version number to 4.999.3alpha. It will become 5.0.0
    once we have a stable release (won't be very soon). The
    version number is no longer related to version of LZMA SDK.
    
    Made some small Automake-related changes to toplevel
    Makefile.am and configure.ac.

 Makefile.am                    |    7 +++++--
 README                         |   29 +++++++++++++++++++++++++++++
 configure.ac                   |    4 ++--
 src/liblzma/api/lzma/version.h |   22 ++++++++++------------
 4 files changed, 46 insertions(+), 16 deletions(-)

commit c99037ea10f121cbacf60c37a36c29768ae53447
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 20:25:39 +0300

    Fix a memory leak by calling free(extra->data) in
    lzma_extra_free().

 src/liblzma/common/extra.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 22ba3b0b5043fa481903482ce85015fe775939e5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 20:23:05 +0300

    Make unlzma and lzcat symlinks.

 src/lzma/Makefile.am |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

commit 17c36422d4cbc2c70d5c83ec389406f92cd9e85e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 20:20:27 +0300

    Fixed a bug in command line option parsing.

 src/lzma/options.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 283f939974c32c47f05d495e8dea455ec646ed64
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 20:19:20 +0300

    Added two assert()s.

 src/liblzma/lzma/lzma_encoder.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit eb348a60b6e19a7c093f892434f23c4756973ffd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 19:22:53 +0300

    Switch to uint16_t as the type of range coder probabilities.

 src/liblzma/rangecoder/range_common.h |   25 +++++++++++++++++++------
 1 files changed, 19 insertions(+), 6 deletions(-)

commit 6c5306e312bcfd254cf654f88c04e34ba786df3d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 18:39:57 +0300

    Fix wrong return type (uint32_t -> bool).

 src/liblzma/lz/lz_encoder.c |    2 +-
 src/liblzma/lz/lz_encoder.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 712cfe3ebfd24df24d8896b1315c53c3bc4369c8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 18:38:00 +0300

    Fix data corruption in LZ encoder with LZMA_SYNC_FLUSH.

 src/liblzma/lz/lz_encoder.c |   16 ++++++++++++++++
 src/liblzma/lz/lz_encoder.h |    4 ++++
 src/liblzma/lz/match_c.h    |   23 ++++++++++++++++++-----
 3 files changed, 38 insertions(+), 5 deletions(-)

commit bc04486e368d20b3027cde625267762aae063965
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 17:33:01 +0300

    Fix fastpos problem in Makefile.am when built with --enable-small.

 src/liblzma/lzma/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit 7ab493924e0ed590a5121a15ee54038d238880d3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-04-24 17:30:51 +0300

    Use 64-bit integer as range encoder's cache size. This fixes a
    theoretical data corruption, which should be very hard to trigger
    even intentionally.

 src/liblzma/rangecoder/range_encoder.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 641998c3e1ecc8b598fe0eb051fab8b9535c291b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-24 16:38:40 +0200

    Replaced the range decoder optimization that used arithmetic
    right shift with as fast version that doesn't need
    arithmetic right shift. Removed the related check from
    configure.ac.

 configure.ac                           |    1 -
 m4/ax_c_arithmetic_rshift.m4           |   36 ---------------------
 src/liblzma/rangecoder/range_decoder.h |   53 +++++++++----------------------
 3 files changed, 16 insertions(+), 74 deletions(-)

commit ad999efd279d95f1e7ac555b14170e8e9020488c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-22 14:39:34 +0200

    Take advantage of arithmetic right shift in range decoder.

 src/liblzma/rangecoder/range_decoder.h |   52 ++++++++++++++++++++++---------
 1 files changed, 37 insertions(+), 15 deletions(-)

commit 03e0e8a0d7228b6ff1f0af39e2c040a4e425973d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-22 14:18:29 +0200

    Added autoconf check to detect if we can use arithmetic
    right shift for optimizations.

 configure.ac                 |    1 +
 m4/ax_c_arithmetic_rshift.m4 |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 0 deletions(-)

commit 7521bbdc83acab834594a22bec50c8e1bd836298
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-22 01:26:36 +0200

    Update a comment to use the variable name rep_len_decoder.
    
    (And BTW, the previous commit actually did change the
    program logic slightly.)

 src/liblzma/lzma/lzma_decoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 63b74d000eedaebb8485f623e56864ff5ab71064
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-22 00:57:33 +0200

    Demystified the "state" variable in LZMA code. Use the
    word literal instead of char for better consistency.
    There are still some names with _char instead of _literal
    in lzma_optimum, these may be changed later.
    
    Renamed length coder variables.
    
    This commit doesn't change the program logic.

 src/liblzma/lzma/lzma_common.h             |   69 +++++++++++++++++++++-------
 src/liblzma/lzma/lzma_decoder.c            |   47 ++++++++++---------
 src/liblzma/lzma/lzma_encoder.c            |   14 +++---
 src/liblzma/lzma/lzma_encoder_getoptimum.c |   34 +++++++-------
 src/liblzma/lzma/lzma_encoder_init.c       |    5 +-
 src/liblzma/lzma/lzma_encoder_private.h    |    8 ++--
 6 files changed, 107 insertions(+), 70 deletions(-)

commit e6eb0a26757e851cef62b9440319a8e73b015cb9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-14 23:16:11 +0200

    Fix data corruption in LZMA encoder. Note that this bug was
    specific to liblzma and was *not* present in LZMA SDK.

 src/liblzma/lzma/lzma_encoder.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 7d516f5129e4373a6d57249d7f608c634c66bf12
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-14 21:32:37 +0200

    Fix a comment API header.

 src/liblzma/api/lzma/lzma.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 748d6e4274921a350bd0a317380309717441ef9c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-12 23:14:50 +0200

    Make lzma_stream.next_in const. Let's see if anyone complains.

 src/liblzma/api/lzma/base.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit bfde3b24a5ae25ce53c854762b6148952386b025
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-11 15:35:34 +0200

    Apply a minor speed optimization to LZMA decoder.

 src/liblzma/lzma/lzma_decoder.c |   85 ++++++++++++++++++++-------------------
 1 files changed, 43 insertions(+), 42 deletions(-)

commit f310c50286d9e4e9c6170bb65348c9bb430a65b4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-11 15:17:16 +0200

    Initialize the last byte of the dictionary to zero so that
    lz_get_byte(lz, 0) returns zero. This was broken by
    1a3b21859818e4d8e89a1da99699233c1bfd197d.

 src/liblzma/lz/lz_decoder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 5ead36cf7f823093672a4e43c3180b38c9abbaff
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-10 15:57:55 +0200

    Really fix the price count initialization.

 src/liblzma/lzma/lzma_encoder_init.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit d4d7feb83d1a1ded8f662a82e21e053841ca726c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-10 13:47:17 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 0541c5ea63ef3c0ff85eeddb0a420e56b0c65258
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-10 13:46:48 +0200

    Initialize align_price_count and match_price_count in
    lzma_encoder_init.c. While we don't call
    fill_distances_prices() and fill_align_prices() in
    lzma_lzma_encoder_init(), we still need to initialize
    these two variables so that the fill functions get
    called in lzma_encoder_getoptimum.c in the beginning
    of a stream.

 src/liblzma/lzma/lzma_encoder_init.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 596fa1fac72823e4ef5bc26bb53f9090445bf748
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-10 13:44:29 +0200

    Always initialize lz->temp_size in lz_decoder.c. temp_size did
    get initialized as a side-effect after allocating a new decoder,
    but not when the decoder was reused.

 src/liblzma/lz/lz_decoder.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

commit 45e43e169527e7a98a8c8a821d37bf25822b764d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-03-10 13:41:25 +0200

    Don't fill allocated memory with 0xFD when debugging is
    enabled. It hides errors from Valgrind.

 src/liblzma/common/allocator.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

commit c0e19e0662205f81a86da8903cdc325d50635870
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-02-28 10:24:31 +0200

    Remove two redundant validity checks from the LZMA decoder.
    These are already checked elsewhere, so omitting these
    gives (very) tiny speed up.

 src/liblzma/lzma/lzma_decoder.c |   23 ++++-------------------
 1 files changed, 4 insertions(+), 19 deletions(-)

commit de7485806284d1614095ae8cb2ebbb5d74c9ac45
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-02-06 13:25:32 +0200

    Tiny clean up to file-format.txt.

 doc/file-format.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 1a3b21859818e4d8e89a1da99699233c1bfd197d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-02-02 14:51:06 +0200

    Don't memzero() the history buffer when initializing LZ
    decoder. There's no danger of information leak here, so
    it isn't required. Doing memzero() takes a lot of time
    with large dictionaries, which could make it easier to
    construct DoS attack to consume too much CPU time.

 src/liblzma/lz/lz_decoder.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

commit 7e796e312bf644ea95aea0ff85480f47cfa30fc0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-02-01 08:39:26 +0200

    Do uncompressed size validation in raw encoder. This way
    it gets done for not only raw encoder, but also Block
    and LZMA_Alone encoders.

 src/liblzma/common/raw_encoder.c |   90 ++++++++++++++++++++++++++++++-------
 1 files changed, 73 insertions(+), 17 deletions(-)

commit 7dd48578a3853e0cfab9f1830bc30927173ec4bc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-02-01 08:32:05 +0200

    Avoid unneeded function call in raw_common.c.

 src/liblzma/common/raw_common.c |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

commit b596fac963c3ff96f615d4d9b427a213ec341211
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-26 21:42:38 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit e9f6e9c075ad93141a568d94f7d4eb0f2edbd6c2
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-26 21:40:23 +0200

    Added note.GNU-stack to x86 assembler files. It is needed
    when using non-executable stack.

 src/liblzma/check/crc32_x86.S |    9 +++++++++
 src/liblzma/check/crc64_x86.S |    9 +++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)

commit 4c7ad179c78f97f68ad548cb40a9dfa6871655ae
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-26 19:12:50 +0200

    Added api/lzma/easy.h. I had forgot to add this to the
    git repo. Thanks to Stephan Kulow.

 src/liblzma/api/lzma/easy.h |  174 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 174 insertions(+), 0 deletions(-)

commit 288b232f54c3692cd36f471d4042f51daf3ea79f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-26 11:09:17 +0200

    Added more test files.

 tests/files/README                       |   11 +++++++++++
 tests/files/bad-multi-none-header_7.lzma |  Bin 0 -> 59 bytes
 tests/files/good-single-sparc-lzma.lzma  |  Bin 0 -> 2263 bytes
 tests/files/good-single-x86-lzma.lzma    |  Bin 0 -> 1909 bytes
 4 files changed, 11 insertions(+), 0 deletions(-)

commit c467b0defccf233d0c79234407bc38d7d09574d3
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-26 10:47:55 +0200

    Added more test files.

 tests/files/README                       |    6 ++++++
 tests/files/bad-multi-none-block_3.lzma  |  Bin 0 -> 58 bytes
 tests/files/good-multi-none-block_2.lzma |  Bin 0 -> 58 bytes
 3 files changed, 6 insertions(+), 0 deletions(-)

commit f9842f712732c482f2def9f24437851e57dd83f8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-26 00:25:34 +0200

    Return LZMA_HEADER_ERROR if LZMA_SYNC_FLUSH is used with any
    of the so called simple filters. If there is demand, limited
    support for LZMA_SYNC_FLUSH may be added in future.
    
    After this commit, using LZMA_SYNC_FLUSH shouldn't cause
    undefined behavior in any situation.

 src/liblzma/api/lzma/simple.h     |    9 +++++++++
 src/liblzma/simple/simple_coder.c |    8 ++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)

commit e988ea1d1a286dd0f27af0657f9665d5cd8573aa
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-25 23:50:35 +0200

    Added more Multi-Block test files. Improved some
    descriptions in the test files' README.

 tests/files/README                       |   34 ++++++++++++++++++++++++-----
 tests/files/bad-multi-none-block_1.lzma  |  Bin 0 -> 66 bytes
 tests/files/bad-multi-none-block_2.lzma  |  Bin 0 -> 66 bytes
 tests/files/good-multi-none-block_1.lzma |  Bin 0 -> 66 bytes
 4 files changed, 28 insertions(+), 6 deletions(-)

commit 4441e004185cd4c61bda184010eca5924c9dec87
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-25 23:12:36 +0200

    Combine lzma_options_block validation needed by both Block
    encoder and decoder, and put the shared things to
    block_private.h. Improved the checks a little so that
    they may detect too big Compressed Size at initialization
    time if lzma_options_block.total_size or .total_limit is
    known.
    
    Allow encoding and decoding Blocks with combinations of
    fields that are not allowed by the file format specification.
    Doing this requires that the application passes such a
    combination in lzma_options_lzma; liblzma doesn't do that,
    but it's not impossible that someone could find them useful
    in some custom file format.

 src/liblzma/common/block_decoder.c |   37 +++++++++++----------------
 src/liblzma/common/block_encoder.c |   32 ++++------------------
 src/liblzma/common/block_private.h |   50 ++++++++++++++++++++++++++++++++++++
 3 files changed, 71 insertions(+), 48 deletions(-)

commit bf4200c818fcf9102e56328d39cde91bfa13cfb6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-25 19:21:22 +0200

    Added test_memlimit.c.

 tests/Makefile.am     |    2 +
 tests/test_memlimit.c |  114 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+), 0 deletions(-)

commit 7b8fc7e6b501a32a36636dac79ecb57099269005
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-25 19:20:28 +0200

    Improved the memory limitter:
      - Added lzma_memlimit_max() and lzma_memlimit_reached()
        API functions.
      - Added simple estimation of malloc()'s memory usage
        overhead.
      - Fixed integer overflow detection in lzma_memlimit_alloc().
      - Made some white space cleanups and added more comments.
    
    The description of lzma_memlimit_max() in memlimit.h is bad
    and should be improved.

 src/liblzma/api/lzma/memlimit.h      |   35 ++++++++++++
 src/liblzma/common/memory_limitter.c |   97 +++++++++++++++++++++++++++++-----
 2 files changed, 118 insertions(+), 14 deletions(-)

commit e0c3d0043da2f670cfdb1abbb3223d5a594ad8db
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-25 13:55:52 +0200

    Use more parenthesis in succeed() macro in tests/tests.h.

 tests/tests.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 1fd76d488179580d37f31ee11948f4932aed31fd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-24 14:49:34 +0200

    Added more Multi-Block Stream test files.

 tests/files/README                        |   23 +++++++++++++++++++++++
 tests/files/bad-multi-none-header_2.lzma  |  Bin 0 -> 61 bytes
 tests/files/bad-multi-none-header_3.lzma  |  Bin 0 -> 59 bytes
 tests/files/bad-multi-none-header_4.lzma  |  Bin 0 -> 59 bytes
 tests/files/bad-multi-none-header_5.lzma  |  Bin 0 -> 58 bytes
 tests/files/bad-multi-none-header_6.lzma  |  Bin 0 -> 59 bytes
 tests/files/good-multi-none-header_3.lzma |  Bin 0 -> 59 bytes
 7 files changed, 23 insertions(+), 0 deletions(-)

commit 6e27b1098a28f4ce09bfa6df68ad94182dfc2936
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-24 00:46:05 +0200

    Added bunch of test files containing Multi-Block Streams.

 tests/files/README                        |   53 +++++++++++++++++++++++++++++
 tests/files/bad-multi-none-1.lzma         |  Bin 0 -> 54 bytes
 tests/files/bad-multi-none-2.lzma         |  Bin 0 -> 53 bytes
 tests/files/bad-multi-none-3.lzma         |  Bin 0 -> 53 bytes
 tests/files/bad-multi-none-extra_1.lzma   |  Bin 0 -> 54 bytes
 tests/files/bad-multi-none-extra_2.lzma   |  Bin 0 -> 54 bytes
 tests/files/bad-multi-none-extra_3.lzma   |  Bin 0 -> 55 bytes
 tests/files/bad-multi-none-header_1.lzma  |  Bin 0 -> 57 bytes
 tests/files/bad-multi-none-index_1.lzma   |  Bin 0 -> 51 bytes
 tests/files/bad-multi-none-index_2.lzma   |  Bin 0 -> 49 bytes
 tests/files/bad-multi-none-index_3.lzma   |  Bin 0 -> 51 bytes
 tests/files/bad-multi-none-index_4.lzma   |  Bin 0 -> 51 bytes
 tests/files/good-multi-none-1.lzma        |  Bin 0 -> 75 bytes
 tests/files/good-multi-none-2.lzma        |  Bin 0 -> 53 bytes
 tests/files/good-multi-none-extra_1.lzma  |  Bin 0 -> 51 bytes
 tests/files/good-multi-none-extra_2.lzma  |  Bin 0 -> 79 bytes
 tests/files/good-multi-none-extra_3.lzma  |  Bin 0 -> 55 bytes
 tests/files/good-multi-none-header_1.lzma |  Bin 0 -> 58 bytes
 tests/files/good-multi-none-header_2.lzma |  Bin 0 -> 66 bytes
 19 files changed, 53 insertions(+), 0 deletions(-)

commit db9df0a9609c01a00a227329fb96e983971040f5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 23:43:00 +0200

    Fix decoding of empty Metadata Blocks, that don't have
    even the Metadata Flags field. Earlier the code allowed
    such files; now they are prohibited as the file format
    specification requires.

 src/liblzma/common/metadata_decoder.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 765f0b05f6e95ed9194fb90819cee189ebbac36b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 23:38:18 +0200

    Fix a bug related to 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6.
    lzma_metadata.header_metadata_size was not properly set to
    zero if the Metadata had only the Metadata Flags field.

 src/liblzma/common/metadata_decoder.c |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

commit 3a7cc5c3dec7b078941f961b0393b86c418883b6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 23:35:49 +0200

    Fix decoding of Extra Records that have empty Data.

 src/liblzma/common/metadata_decoder.c |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

commit e5fdec93e273855c1bcc2579b83cfb481a9a1492
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 22:02:38 +0200

    Add the trailing '\0' to lzma_extra.data as the API header
    already documents.

 src/liblzma/common/metadata_decoder.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit ed40dc5a2c28a8dfccab8c165b3780738eeef93e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 21:21:21 +0200

    Added debug/full_flush.c.

 debug/Makefile.am  |    3 +-
 debug/full_flush.c |  105 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 107 insertions(+), 1 deletions(-)

commit ae0cd09a666a1682da8fc09487322227679e218d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 21:05:33 +0200

    Return LZMA_STREAM_END instead of LZMA_OK if
    LZMA_SYNC_FLUSH or LZMA_FULL_FLUSH is used when
    there's no unfinished Block open.

 src/liblzma/common/stream_encoder_multi.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

commit 0e80ded13dfceb98f9494cbb5381a95eb44d03db
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 20:05:01 +0200

    Added bad-single-none-footer_filter_flags.lzma and
    bad-single-none-too_long_vli.lzma.

 tests/files/README                                 |    5 +++++
 .../files/bad-single-none-footer_filter_flags.lzma |  Bin 0 -> 30 bytes
 tests/files/bad-single-none-too_long_vli.lzma      |  Bin 0 -> 39 bytes
 3 files changed, 5 insertions(+), 0 deletions(-)

commit 8c8eb14055d8dd536b1b1c58fb284d34bb8ed1dd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 13:42:35 +0200

    Fixed a typo.

 src/liblzma/subblock/subblock_decoder_helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 980f65a9a10160c4d105767871e3002b9aaba3e0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 13:40:45 +0200

    Fix a memory leak in the Subblock encoder.

 src/liblzma/subblock/subblock_encoder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 99e12af4e2b866c011fe0106cd1e0bfdcc8fe9c6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 13:36:07 +0200

    Fix Size of Header Metadata Block handling. Now
    lzma_metadata.header_metadata_size == LZMA_VLI_VALUE_UNKNOWN
    is not allowed at all. To indicate missing Header Metadata
    Block, header_metadata_size must be set to zero. This is
    what Metadata decoder does after this patch too.
    
    Note that other missing fields in lzma_metadata are still
    indicated with LZMA_VLI_VALUE_UNKNOWN. This isn't as
    illogical as it sounds at first, because missing Size of
    Header Metadata Block means that Header Metadata Block is
    not present in the Stream. With other Metadata fields,
    a missing field means only that the value is unknown.

 src/liblzma/common/info.c             |   13 ++++---------
 src/liblzma/common/metadata_decoder.c |    6 ++++++
 src/liblzma/common/metadata_encoder.c |   11 +++++------
 tests/test_info.c                     |    4 ++--
 4 files changed, 17 insertions(+), 17 deletions(-)

commit 58b78ab20c1bcced45cf71ae6684868fc90b4b81
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 13:15:55 +0200

    Fix a memory leak in metadata_decoder.c.

 src/liblzma/common/metadata_decoder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 4d8cdbdab44400fd98f0f18a0f701e27cd1acdae
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 13:13:58 +0200

    Fix the fix 863028cb7ad6d8d0455fa69348f56b376d7b908f which
    just moved to problem. Now it's really fixed.

 src/liblzma/common/info.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit 67321de963ccf69410b3868b8e31534fe18a90de
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 00:21:04 +0200

    Take advantage of return_if_error() macro in
    lzma_info_metadata_set() in info.c.

 src/liblzma/common/info.c |   24 ++++++++----------------
 1 files changed, 8 insertions(+), 16 deletions(-)

commit 863028cb7ad6d8d0455fa69348f56b376d7b908f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-23 00:18:32 +0200

    Fixed a dangling pointer that caused invalid free().

 src/liblzma/common/info.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit cf49f42a6bd40143f54a6b10d6e605599e958c0b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-22 22:49:24 +0200

    Added lzma_easy_* functions. These should make using
    liblzma as easy as using zlib, because the easy API
    don't require developers to know any fancy LZMA options.
    
    Note that Multi-Block Stream encoding is currently broken.
    The easy API should be OK, the bug(s) are elsewhere.

 src/liblzma/api/Makefile.am               |    1 +
 src/liblzma/api/lzma.h                    |    1 +
 src/liblzma/common/Makefile.am            |    5 ++
 src/liblzma/common/easy_common.c          |   54 +++++++++++++++
 src/liblzma/common/easy_common.h          |   28 ++++++++
 src/liblzma/common/easy_multi.c           |  103 +++++++++++++++++++++++++++++
 src/liblzma/common/easy_single.c          |   37 ++++++++++
 src/liblzma/common/stream_encoder_multi.c |    3 +-
 src/liblzma/common/stream_encoder_multi.h |   26 +++++++
 9 files changed, 256 insertions(+), 2 deletions(-)

commit 1747b85a43abc1c3f152dbd349be2ef4089ecf6a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-22 21:16:22 +0200

    Fix Multi-Block Stream encoder's EOPM usage.

 src/liblzma/common/stream_encoder_multi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 0ed6f1adcea540fb9593ca115d36de537f7f0dc6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-22 00:15:11 +0200

    Made lzma_extra pointers const in lzma_options_stream.

 src/liblzma/api/lzma/stream.h             |    4 ++--
 src/liblzma/common/stream_encoder_multi.c |    8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

commit 305afa38f64c75af8e81c4167e2d8fa8d85b53a4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-20 20:15:21 +0200

    Updated debug/sync_flush.c.

 debug/sync_flush.c |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

commit d53e9b77054cfade6a643e77d085273a348b189c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-20 20:14:26 +0200

    Added debug/repeat.c.

 debug/Makefile.am |    1 +
 debug/repeat.c    |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)

commit 107259e306bcfc2336a0fb870fb58034c28faa52
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-20 20:12:58 +0200

    Fix alignment handling bugs in Subblock encoder.
    
    This leaves one known alignment bug unfixed: If repeat count
    doesn't fit into 28-bit integer, the encoder has to split
    this to multiple Subblocks with Subblock Type `Repeating Data'.
    The extra Subblocks may have wrong alignment. Correct alignment
    is restored after the split Repeating Data has been completely
    written out.
    
    Since the encoder doesn't even try to fix the alignment unless
    the size of Data is at least 4 bytes, to trigger this bug you
    need at least 4 GiB of repeating data with sequence length of
    4 or more bytes. Since the worst thing done by this bug is
    misaligned data (no data corruption), this bug simply isn't
    worth fixing, because a proper fix isn't simple.

 src/liblzma/subblock/subblock_encoder.c |  170 +++++++++++++++++++++---------
 1 files changed, 119 insertions(+), 51 deletions(-)

commit e141fe18950400faaa3503ff88ac20eacd73e88c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-19 21:16:33 +0200

    Implemented LZMA_SYNC_FLUSH support to the Subblock encoder.
    The API for handing Subfilters was changed to make it
    consistent with LZMA_SYNC_FLUSH.
    
    A few sanity checks were added for Subfilter handling. Some
    small bugs were fixed. More comments were added.

 src/liblzma/api/lzma/subblock.h         |   29 ++--
 src/liblzma/subblock/subblock_encoder.c |  263 +++++++++++++++++++++++--------
 2 files changed, 214 insertions(+), 78 deletions(-)

commit 23c227a864a3b69f38c6a74306161d4e6918d1cc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-19 15:19:21 +0200

    Revised the Delta filter implementation. The initialization
    function is still shared between encoder and decoder, but the
    actual coding is in separate files for encoder and decoder.
    
    There are now separate functions for the actual delta
    calculation depending on if Delta is the last filter in the
    chain or not. If it is the last, the new code copies the
    data from input to output buffer and does the delta
    calculation at the same time. The old code first copied the
    data, then did the delta in the target buffer, which required
    reading through the data twice.
    
    Support for LZMA_SYNC_FLUSH was added to the Delta encoder.
    This doesn't change anything in the file format.

 src/liblzma/common/Makefile.am     |   14 +++-
 src/liblzma/common/delta_coder.c   |  189 ------------------------------------
 src/liblzma/common/delta_coder.h   |   31 ------
 src/liblzma/common/delta_common.c  |   70 +++++++++++++
 src/liblzma/common/delta_common.h  |   48 +++++++++
 src/liblzma/common/delta_decoder.c |  102 +++++++++++++++++++
 src/liblzma/common/delta_decoder.h |   28 ++++++
 src/liblzma/common/delta_encoder.c |   97 ++++++++++++++++++
 src/liblzma/common/delta_encoder.h |   28 ++++++
 src/liblzma/common/raw_decoder.c   |    2 +-
 src/liblzma/common/raw_encoder.c   |    2 +-
 11 files changed, 387 insertions(+), 224 deletions(-)

commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-18 20:18:08 +0200

    Added the debug directory and the first debug tool
    (sync_flush). These tools are not built unless the
    user runs "make" in the debug directory.

 Makefile.am        |    1 +
 configure.ac       |    1 +
 debug/Makefile.am  |   30 +++++++++++++
 debug/README       |   17 ++++++++
 debug/sync_flush.c |  116 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 165 insertions(+), 0 deletions(-)

commit 0ae3208db94585eb8294b97ded387de0a3a07646
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-18 20:13:00 +0200

    Added test files to test usage of flush marker in LZMA.

 tests/files/README                               |   12 ++++++++++++
 tests/files/bad-single-lzma-flush_beginning.lzma |  Bin 0 -> 53 bytes
 tests/files/bad-single-lzma-flush_twice.lzma     |  Bin 0 -> 63 bytes
 tests/files/good-single-lzma-flush_1.lzma        |  Bin 0 -> 48 bytes
 tests/files/good-single-lzma-flush_2.lzma        |  Bin 0 -> 63 bytes
 5 files changed, 12 insertions(+), 0 deletions(-)

commit ab5feaf1fcc146ef9fd39360c53c290bec39524e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-18 20:02:52 +0200

    Fix LZMA_SYNC_FLUSH handling in LZ and LZMA encoders.
    That code is now almost completely in LZ coder, where
    it can be shared with other LZ77-based algorithms in
    future.

 src/liblzma/lz/lz_encoder.c     |   34 ++++++++++++++++++++++++++--------
 src/liblzma/lz/lz_encoder.h     |    1 +
 src/liblzma/lzma/lzma_encoder.c |   27 ++-------------------------
 3 files changed, 29 insertions(+), 33 deletions(-)

commit 079c4f7fc26b3d0b33d9ae7536697b45f3b73585
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-18 17:21:24 +0200

    Don't add -g to CFLAGS when --enable-debug is specified.
    It's the job of the user to put that in CFLAGS.

 configure.ac |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit 61d1784d8f1761d979a6da6e223e279ca33815e6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-18 14:17:37 +0200

    Set stdin and stdout to binary mode on Windows. This patch is
    a forward port of b7b22fcb979a16d3a47c8001f058c9f7d4416068
    from lzma-utils-legacy.git. I don't know if the new code base
    builds on Windows, but this is a start.

 src/lzmadec/lzmadec.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

commit c9cba976913e55ff9aac8a8133cc94416c7c1c9c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-18 00:50:29 +0200

    Added test_compress.sh and bunch of files needed by it.
    This new set of tests compress and decompress several
    test files with many different compression options.
    This set of tests will be extended later.

 tests/Makefile.am                 |   30 ++++--
 tests/bcj_test.c                  |   66 +++++++++++++
 tests/compress_prepared_bcj_sparc |  Bin 0 -> 6804 bytes
 tests/compress_prepared_bcj_x86   |  Bin 0 -> 4649 bytes
 tests/create_compress_files.c     |  164 +++++++++++++++++++++++++++++++++
 tests/test_compress.sh            |  183 +++++++++++++++++++++++++++++++++++++
 6 files changed, 433 insertions(+), 10 deletions(-)

commit 33be3c0e24d8f43376ccf71cc77d53671e792f07
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-17 18:56:53 +0200

    Subblock decoder: Don't exit the main loop in decode_buffer()
    too early if we hit End of Input while decoding a Subblock of
    type Repeating Data. To keep the loop termination condition
    elegant, the order of enumerations in coder->sequence were
    changed.
    
    To keep the case-labels in roughly the same order as the
    enumerations in coder->sequence, large chunks of code was
    moved around. This made the diff big and ugly compared to
    the amount of the actual changes made.

 src/liblzma/subblock/subblock_decoder.c |  272 ++++++++++++++++---------------
 1 files changed, 139 insertions(+), 133 deletions(-)

commit b254bd97b1cdb68d127523d91ca9e054ed89c4fd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-17 17:39:42 +0200

    Fix wrong too small size of argument unfiltered_max
    in ia64_coder_init(). It triggered assert() in
    simple_coder.c, and could have caused a buffer overflow.
    
    This error was probably a copypaste mistake, since most
    of the simple filters use unfiltered_max = 4.

 src/liblzma/simple/ia64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 8f5794c8f1a30e8e3b524b415bbe81af2e04c64a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-17 17:27:45 +0200

    Added --delta to the output of "lzma --help".

 src/lzma/help.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit f88590e0014b38d40465937c19f25f05f16c79ae
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-17 13:14:20 +0200

    Fix Subblock docoder: If Subblock filter was used with known
    Uncompressed Size, and the last output byte was from RLE,
    the code didn't stop decoding as it should have done.

 src/liblzma/subblock/subblock_decoder.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit bc0b945ca376e333077644d2f7fd54c2848aab8a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-16 16:33:37 +0200

    Tiny non-technical edits to file-format.txt.

 doc/file-format.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 7599bb7064ccf007f054595dedda7927af868252
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-16 14:48:04 +0200

    Plugged a memory leak in stream_decoder.c.

 src/liblzma/common/stream_decoder.c |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

commit 0b581539311f3712946e81e747839f8fb5f441a7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-16 14:47:27 +0200

    Added memory leak detection to lzmadec.c.

 src/lzmadec/lzmadec.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

commit 5b5b13c7bb8fde6331064d21f3ebde41072480c4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-16 14:46:50 +0200

    Added lzma_memlimit_count().

 src/liblzma/api/lzma/memlimit.h      |   10 ++++++++++
 src/liblzma/common/memory_limitter.c |   19 +++++++++++++++++++
 2 files changed, 29 insertions(+), 0 deletions(-)

commit 19389f2b82ec54fd4c847a18f16482e7be4c9887
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-16 14:31:44 +0200

    Added ARRAY_SIZE(array) macro.

 src/common/sysdefs.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 9bc33a54cbf83952130adbcb1be32c6882485416
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-16 13:27:03 +0200

    Make Uncompresed Size validation more strict
    in alone_decoder.c.

 src/liblzma/common/alone_decoder.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 01d71d60b79027e1ce3eb9c79ae5191e1407c883
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 17:46:59 +0200

    Free the allocated memory in lzmadec if debugging is
    enabled. This should make it possible to detect possible
    memory leaks with Valgrind.

 src/lzmadec/lzmadec.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

commit 8235e6e5b2878f76633afcda9a334640db503ef5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 16:25:38 +0200

    Fix memory leaks from test_block_header.c.

 tests/test_block_header.c |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

commit f10fc6a69d40b6d5c9cfbf8d3746f49869c2e2f6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 14:23:35 +0200

    Use fastpos.h when encoding LZMA dictionary size in
    Filter Flags encoder.

 src/liblzma/common/filter_flags_encoder.c |   40 +++++++++++++---------------
 1 files changed, 19 insertions(+), 21 deletions(-)

commit e5728142a2048979f5c0c2149ce71ae952a092e1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 14:02:22 +0200

    Revised the fastpos code. It now uses the slightly faster
    table-based version from LZMA SDK 4.57. This should be
    fast on most systems.
    
    A simpler and smaller alternative version is also provided.
    On some CPUs this can be even a little faster than the
    default table-based version (see comments in fastpos.h),
    but on most systems the table-based code is faster.

 src/liblzma/common/init_encoder.c          |    3 -
 src/liblzma/lzma/Makefile.am               |    4 +
 src/liblzma/lzma/fastpos.h                 |  156 +++++++++
 src/liblzma/lzma/fastpos_table.c           |  519 ++++++++++++++++++++++++++++
 src/liblzma/lzma/fastpos_tablegen.c        |   63 ++++
 src/liblzma/lzma/lzma_common.h             |    3 +-
 src/liblzma/lzma/lzma_encoder.c            |    1 +
 src/liblzma/lzma/lzma_encoder_getoptimum.c |    1 +
 src/liblzma/lzma/lzma_encoder_init.c       |   22 --
 src/liblzma/lzma/lzma_encoder_private.h    |   21 --
 10 files changed, 746 insertions(+), 47 deletions(-)

commit 10437b5b567f6a025ff16c45a572e417a0a9cc26
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 13:32:13 +0200

    Added bsr.h.

 src/liblzma/common/Makefile.am |    1 +
 src/liblzma/common/bsr.h       |   61 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 0 deletions(-)

commit f3c88e8b8d8dd57f4bba5f0921eebf276437c244
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 13:29:14 +0200

    Fixed assembler detection in configure.ac, and added
    detection for x86_64.

 configure.ac |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

commit 54ec204f58287f50d3976288295da4188a19192b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 12:20:41 +0200

    Omit invalid space from printf() format string
    in price_table_gen.c.

 src/liblzma/rangecoder/price_table_gen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 09:54:34 +0200

    Removed a few unused macros from lzma_common.h.

 src/liblzma/lzma/lzma_common.h |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

commit 19bd7f3cf25e4ff8487ef7098ca4a7b58681961d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 08:37:42 +0200

    Fix a typo in lzma_encoder.c.

 src/liblzma/lzma/lzma_encoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 9f9b1983013048f2142e8bc7e240149d2687bedc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 08:36:25 +0200

    Convert bittree_get_price() and bittree_reverse_get_price()
    from macros to inline functions.

 src/liblzma/lzma/lzma_encoder.c            |   19 +++----
 src/liblzma/lzma/lzma_encoder_getoptimum.c |   16 ++----
 src/liblzma/rangecoder/range_encoder.h     |   76 ++++++++++++++++------------
 3 files changed, 56 insertions(+), 55 deletions(-)

commit 78e85cb1a7667c54853670d2eb09d754bcbda87d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 07:44:59 +0200

    Fix CRC code in case --enable-small is used.

 src/liblzma/check/crc32_init.c    |    2 +-
 src/liblzma/check/crc64_init.c    |    2 +-
 src/liblzma/common/init_decoder.c |    2 --
 src/liblzma/common/init_encoder.c |    2 --
 tests/test_check.c                |    2 ++
 5 files changed, 4 insertions(+), 6 deletions(-)

commit 949d4346e2d75bcd9dcb66c394d8d851d8db3aa0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 07:41:39 +0200

    Fix typo in test_index.c.

 tests/test_index.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit d13d693155c176fc9e9ad5c50d48ccba27c2d9c6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-15 07:40:21 +0200

    Added precomputed range coder probability price table.

 src/liblzma/common/init_encoder.c         |    5 +-
 src/liblzma/rangecoder/Makefile.am        |    9 +++-
 src/liblzma/rangecoder/price_table.c      |   70 +++++++++++++++++++++++++++++
 src/liblzma/rangecoder/price_table_gen.c  |   55 ++++++++++++++++++++++
 src/liblzma/rangecoder/price_table_init.c |   48 ++++++++++++++++++++
 src/liblzma/rangecoder/range_common.h     |    4 +-
 src/liblzma/rangecoder/range_encoder.c    |   46 -------------------
 src/liblzma/rangecoder/range_encoder.h    |   21 ++++-----
 8 files changed, 197 insertions(+), 61 deletions(-)

commit 362dc3843b373c1007a50a4719f378981f18ae03
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-14 13:42:43 +0200

    Remove RC_BUFFER_SIZE from lzma_encoder_private.h
    and replace it with a sanity check.

 src/liblzma/lzma/lzma_encoder_private.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

commit e22b37968d153683fec61ad37b6b160cb7ca4ddc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-14 13:39:54 +0200

    Major changes to LZ encoder, LZMA encoder, and range encoder.
    These changes implement support for LZMA_SYNC_FLUSH in LZMA
    encoder, and move the temporary buffer needed by range encoder
    from lzma_range_encoder structure to lzma_lz_encoder.

 src/liblzma/lz/lz_encoder.c            |  138 +++++++++++++++++++++++++++-----
 src/liblzma/lz/lz_encoder.h            |   17 +++-
 src/liblzma/lzma/lzma_encoder.c        |   74 ++++++++++-------
 src/liblzma/rangecoder/range_encoder.h |  117 ++++++++-------------------
 4 files changed, 206 insertions(+), 140 deletions(-)

commit b59ef3973781f892c0a72b5e5934194567100be5
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-14 13:34:29 +0200

    Added one assert() to process.c of the command line tool.

 src/lzma/process.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 9547e734a00ddb64c851fa3f116e4f9e7d763ea7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-14 12:09:52 +0200

    Don't use coder->lz.stream_end_was_reached in assertions
    in match_c.h.

 src/liblzma/lz/match_c.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

commit 3e09e1c05871f3757f759b801890ccccc9286608
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-14 12:08:02 +0200

    In lzma_read_match_distances(), don't use
    coder->lz.stream_end_was_reached. That variable
    will be removed, and the check isn't required anyway.
    Rearrange the check so that it doesn't make one to
    think that there could be an integer overflow.

 src/liblzma/lzma/lzma_encoder_private.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit a670fec8021e5962429689c194148a04c3418872
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-14 11:56:41 +0200

    Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.

 src/liblzma/common/block_encoder.c         |    4 ++--
 src/liblzma/common/stream_encoder_single.c |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

commit 3599dba9570a6972a16b6398d6c838e9b420e985
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-14 11:54:56 +0200

    More fixes to LZMA decoder's flush marker handling.

 src/liblzma/lzma/lzma_decoder.c |   52 ++++++++++++++++++++++----------------
 1 files changed, 30 insertions(+), 22 deletions(-)

commit f73c2ab6079ed5675a42b39d584a567befbd4624
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-10 17:13:42 +0200

    Eliminate lzma_lz_encoder.must_move_pos. It's needed
    only in one place which isn't performance criticial.

 src/liblzma/lz/lz_encoder.c |    6 ++----
 src/liblzma/lz/lz_encoder.h |    4 ----
 2 files changed, 2 insertions(+), 8 deletions(-)

commit 382808514a42b2f4b4a64515e2dfb3fc1bc48ecd
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-09 20:05:57 +0200

    Define HAVE_ASM_X86 when x86 assembler optimizations are
    used. This #define will be useful for inline assembly.

 configure.ac |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit 0e70fbe4032351aab13a1cd8e5deced105c0b276
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-09 12:06:46 +0200

    Added good-single-none-empty_3.lzma and
    bad-single-none-empty.lzma.

 tests/files/README                        |    6 ++++++
 tests/files/bad-single-none-empty.lzma    |  Bin 0 -> 19 bytes
 tests/files/good-single-none-empty_3.lzma |  Bin 0 -> 19 bytes
 3 files changed, 6 insertions(+), 0 deletions(-)

commit 379fbbe84d922c7cc00afa65c6f0c095da596b19
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 23:11:59 +0200

    Take advantage of return_if_error() in block_decoder.c.

 src/liblzma/common/block_decoder.c |   23 +++++++----------------
 1 files changed, 7 insertions(+), 16 deletions(-)

commit 97d5fa82077e57815dfad995dc393c2809a78539
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 23:10:57 +0200

    Updated tests/files/README.

 tests/files/README |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

commit 3bb9bb310936cba6a743b4f06739a397dec7c28f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 23:05:40 +0200

    Added test files with empty Compressed Data.

 tests/files/README                        |    6 ++++++
 tests/files/good-single-lzma-empty.lzma   |  Bin 0 -> 21 bytes
 tests/files/good-single-none-empty_1.lzma |  Bin 0 -> 18 bytes
 tests/files/good-single-none-empty_2.lzma |  Bin 0 -> 26 bytes
 4 files changed, 6 insertions(+), 0 deletions(-)

commit 7054c5f5888ac6a7178cd43dc9583ce6c7e78c9f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 22:58:42 +0200

    Fix decoding of Blocks that have only Block Header.

 src/liblzma/common/block_decoder.c |   37 +++++++++++++----------------------
 1 files changed, 14 insertions(+), 23 deletions(-)

commit 753e4d95cd1cf29c632dfe1a670af7c67aeffbf4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 22:27:46 +0200

    Added good-single-subblock_implicit.lzma.

 tests/files/README                             |    2 ++
 tests/files/good-single-subblock_implicit.lzma |  Bin 0 -> 35 bytes
 2 files changed, 2 insertions(+), 0 deletions(-)

commit faeac7b7aca75f86afed1e7cc06279d9d497c627
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 18:50:30 +0200

    Disable CRC32 from Block Headers when --check=none
    has been specified.

 src/lzma/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit a751126dbb656767ed4666cf0e5d3e17349d93d1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 13:36:29 +0200

    Fixed encoding of empty files. Arguments to is_size_valid()
    were in wrong order in block_encoder.c.

 src/liblzma/common/block_encoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 9080267603b1006c4867c823307dca9df8be0d20
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 13:35:36 +0200

    Added a few test files.

 tests/files/README                                 |   21 +++++++++++++++++--
 tests/files/bad-cat-single-none-pad_garbage_1.lzma |  Bin 0 -> 65 bytes
 tests/files/bad-cat-single-none-pad_garbage_2.lzma |  Bin 0 -> 65 bytes
 tests/files/bad-cat-single-none-pad_garbage_3.lzma |  Bin 0 -> 65 bytes
 tests/files/bad-single-data_after_eopm.lzma        |  Bin 55 -> 0 bytes
 tests/files/bad-single-data_after_eopm_1.lzma      |  Bin 0 -> 55 bytes
 tests/files/bad-single-none-truncated.lzma         |  Bin 0 -> 29 bytes
 7 files changed, 18 insertions(+), 3 deletions(-)

commit b4943ccf73b64fc93a90a23474509c316f55eb2b
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 12:29:58 +0200

    Avoid using ! in test_files.sh, because that doesn't work
    with some ancient /bin/sh versions.

 tests/test_files.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit e2417b2b9134f3f65e14b61e23cd3644d8954353
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-08 00:48:30 +0200

    More pre-C99 inttypes.h compatibility fixes. Now the code
    should work even if the system has no inttypes.h.

 src/common/physmem.h               |   11 -----------
 src/liblzma/check/crc32_init.c     |    5 +----
 src/liblzma/check/crc32_tablegen.c |    7 ++-----
 src/liblzma/check/crc64_init.c     |    5 +----
 src/liblzma/check/crc64_tablegen.c |    7 ++-----
 5 files changed, 6 insertions(+), 29 deletions(-)

commit 5d227e51c23639423f4ade06aabb54e131f8505e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 23:25:32 +0200

    Updated fi.po although it's currently pretty much crap.

 po/fi.po |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

commit c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 23:14:25 +0200

    Test for $GCC = yes instead of if it is non-empty. This
    way it is possible to use ac_cv_c_compiler_gnu=no to
    force configure to think it is using non-GNU C compiler.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 3dbbea82b74bb841c995ad332a3aeca613015e10
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 21:49:41 +0200

    Added test_files.sh to tests/Makefile.am so it gets
    included in the tarball with "make dist".

 tests/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 2fd2d181543feab1b4003f3ac6e85625fbee04f0
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 18:22:24 +0200

    Cosmetic edit to test_files.sh.

 tests/test_files.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 9a71d573100a990ceb30ce0bec6a9a15d795605f
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 18:09:44 +0200

    Added tests/files/README.

 tests/files/README |  108 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 108 insertions(+), 0 deletions(-)

commit 47f48fe9936ed72617a60fbd015df7e0e47a1e43
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 14:20:57 +0200

    Tell in COPYING that everything in tests/files is
    public domain.

 COPYING |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 3502b3e1d00251d3c8dda96079440705c28d8225
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 14:19:05 +0200

    Cleaned up the tests/files directory.

 tests/files/bad-single-subblock-padding_loop.lzma  |  Bin 0 -> 43 bytes
 tests/files/bad-single-subblock1023-slow.lzma      |  Bin 0 -> 7886 bytes
 tests/files/malicious-single-subblock-loop.lzma    |  Bin 43 -> 0 bytes
 tests/files/malicious-single-subblock-lzma.lzma    |  Bin 505 -> 0 bytes
 .../files/malicious-single-subblock1023-slow.lzma  |  Bin 7886 -> 0 bytes
 5 files changed, 0 insertions(+), 0 deletions(-)

commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 13:49:19 +0200

    Added test_files.sh to test decoding of the files in
    the tests/files directory. It doesn't test the malicious
    files yet.

 tests/Makefile.am   |    4 +++-
 tests/test_files.sh |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 1 deletions(-)

commit ecb2a6548f5978022a8fa931719dc575f5fd3bf6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 11:23:13 +0200

    Updated README regarding the assembler optimizations.

 README |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

commit eacb8050438d3e6146c86eb9732d3fb1ef1825cb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-07 10:58:00 +0200

    Updated THANKS.

 THANKS |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 1239649f96132b18e3b7e2dd152ecf53a195caa8
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-06 21:47:17 +0200

    Cosmetic changes to configure.ac.

 configure.ac |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

commit 88ee301ec2e4506a30ec7ac9aaa2288e2dcadd0e
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-06 19:46:38 +0200

    Automatically disable assembler code on Darwin x86.
    Darwin has different ABI than GNU+Linux and Solaris,
    thus the assembler code doesn't assemble on Darwin.

 configure.ac |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

commit c15a7abf66e3a70792f7444115e484c7981c8284
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-06 19:45:27 +0200

    With printf(), use PRIu64 with a cast to uint64_t instead
    of %zu, because some pre-C99 libc versions don't support %zu.

 src/lzma/help.c       |   13 +++++++------
 src/lzmadec/lzmadec.c |    6 ++++--
 2 files changed, 11 insertions(+), 8 deletions(-)

commit 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-06 16:27:41 +0200

    Introduced compatibility with systems that have pre-C99
    or no inttypes.h. This is useful when the compiler has
    good enough support for C99, but libc headers don't.
    
    Changed liblzma API so that sys/types.h and inttypes.h
    have to be #included before #including lzma.h. On systems
    that don't have C99 inttypes.h, it's the problem of the
    applications to provide the required types and macros
    before #including lzma.h.
    
    If lzma.h defined the missing types and macros, it could
    conflict with third-party applications whose configure
    has detected that the types are missing and defined them
    in config.h already. An alternative would have been
    introducing lzma_uint32 and similar types, but that would
    just be an extra pain on modern systems.

 configure.ac                       |   13 +++++++-
 doc/liblzma-intro.txt              |   10 +++++-
 src/common/sysdefs.h               |   59 +++++++++++++++++++++++++++++++++++-
 src/liblzma/api/lzma.h             |   40 ++++++++++++++++--------
 src/liblzma/check/crc32_table.c    |    4 +--
 src/liblzma/check/crc32_table_be.h |    2 -
 src/liblzma/check/crc32_table_le.h |    2 -
 src/liblzma/check/crc32_tablegen.c |    1 -
 src/liblzma/check/crc64_table.c    |    4 +--
 src/liblzma/check/crc64_table_be.h |    2 -
 src/liblzma/check/crc64_table_le.h |    2 -
 src/liblzma/check/crc64_tablegen.c |    1 -
 src/lzma/private.h                 |    1 -
 13 files changed, 106 insertions(+), 35 deletions(-)

commit a71864f77dfb76b5d78a270641539947c312583a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-05 19:57:00 +0200

    Fix typo in comment (INT64_MAX -> UINT64_MAX).

 src/liblzma/api/lzma/vli.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 072927905a3b66281c6311b4b351caa501d8b73a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-05 19:42:04 +0200

    Rearranged testing of GCC-specific flags.

 configure.ac |   33 +++++++++++++++++++++++----------
 1 files changed, 23 insertions(+), 10 deletions(-)

commit d160ee32598c6d1cd9054ef019e8c9331208b188
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-05 01:20:24 +0200

    Another bug fix for flush marker detection.

 src/liblzma/lzma/lzma_decoder.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

commit fc67f79f607cbfa78c6f47a69dec098d8659b162
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-04 21:37:01 +0200

    Fix stupid bugs in flush marker detection.

 src/liblzma/lzma/lzma_decoder.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

commit 0029cbbabe87d491fc046a55a629a6d556010baa
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-04 21:30:33 +0200

    Added support for flush marker, which will be in files
    that use LZMA_SYNC_FLUSH with encoder (not implemented
    yet). This is a new feature in the raw LZMA format,
    which isn't supported by old decoders. This shouldn't
    be a problem in practice, since lzma_alone_encoder()
    will not allow LZMA_SYNC_FLUSH, and thus not allow
    creating files on decodable with old decoders.
    
    Made lzma_decoder.c to require tab width of 4 characters
    if one wants to fit the code in 80 columns. This makes
    the code easier to read.

 src/liblzma/lzma/lzma_common.h  |    4 +
 src/liblzma/lzma/lzma_decoder.c |  217 ++++++++++++++++++---------------------
 2 files changed, 104 insertions(+), 117 deletions(-)

commit bbfd1f6ab058a7e661545205befcb7f70c5685ab
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2008-01-04 20:45:05 +0200

    Moved range decoder initialization (reading the first
    five input bytes) from LZMA decoder to range decoder
    header. Did the same for decoding of direct bits.

 src/liblzma/lzma/lzma_decoder.c        |   42 ++-------------
 src/liblzma/rangecoder/range_decoder.h |   87 ++++++++++++++++++++++----------
 2 files changed, 66 insertions(+), 63 deletions(-)

commit 5db745cd2a74f6ed2e52f5c716c08ed0daf17ebc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-14 11:15:21 +0200

    Added a note to README that --disable-assembler
    must be used on Darwin.

 README |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 44b333d4615b5aabc557a0e1b6bb0096da3fae24
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-14 10:07:10 +0200

    Use the filename suffix .S instead of .s for assembler files
    so that the preprocessor removes the /* */ style comments,
    which are not supported by some non-GNU assemblers (Solaris)
    that otherwise work with this code.

 src/liblzma/check/Makefile.am |    4 +-
 src/liblzma/check/crc32_x86.S |  217 +++++++++++++++++++++++++++++++++++++++++
 src/liblzma/check/crc32_x86.s |  217 -----------------------------------------
 src/liblzma/check/crc64_x86.S |  203 ++++++++++++++++++++++++++++++++++++++
 src/liblzma/check/crc64_x86.s |  203 --------------------------------------
 5 files changed, 422 insertions(+), 422 deletions(-)

commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-14 09:59:05 +0200

    Fixed wrong symbol name in crc64_x86.s.

 src/liblzma/check/crc64_x86.s |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 2881570df6803eed2fe550af34574e8e61794804
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-14 09:53:24 +0200

    Use .globl instead of .global in x86 assembler code for
    better portability. Still needs fixing the commenting.

 src/liblzma/check/crc32_x86.s |    2 +-
 src/liblzma/check/crc64_x86.s |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 698470b8f33fc0e5f27dafa93b39b6dd5dde5a66
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-13 20:14:37 +0200

    Fixed a few short options that take an argument.
    short_opts[] was missing colons to indicate
    required argument. Thanks to Fabio Pedretti for
    the bug report.

 src/lzma/args.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 918bcb0e0728d2d976621e9f35b56f224f11d989
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-11 17:08:04 +0200

    Removed uncompressed size tracking from Delta encoder too.

 src/liblzma/common/delta_coder.c |   21 +++------------------
 1 files changed, 3 insertions(+), 18 deletions(-)

commit 3e16d51dd645667b05ff826665b1fc353aa41cd9
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-11 16:49:19 +0200

    Remove uncompressed size tracking from the filter encoders.
    It's not strictly needed there, and just complicates the
    code. LZ encoder never even had this feature.
    
    The primary reason to have uncompressed size tracking in
    filter encoders was validating that the application
    doesn't give different amount of input that it had
    promised. A side effect was to validate internal workings
    of liblzma.
    
    Uncompressed size tracking is still present in the Block
    encoder. Maybe it should be added to LZMA_Alone and raw
    encoders too. It's simpler to have one coder just to
    validate the uncompressed size instead of having it
    in every filter.

 src/liblzma/common/copy_coder.c         |   25 +------------------
 src/liblzma/simple/simple_coder.c       |   29 +++--------------------
 src/liblzma/subblock/subblock_encoder.c |   38 +++++--------------------------
 3 files changed, 12 insertions(+), 80 deletions(-)

commit 5286723e0d1ac386d5b07f08d78e61becf895a5a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-11 14:10:53 +0200

    Get rid of no-NLS gnulib. I don't know how to get it
    working with Automake. People who want smaller lzmadec
    should use --disable-nls on non-GNU systems.

 lib/Makefile.am         |   10 +---------
 src/lzma/Makefile.am    |    2 +-
 src/lzmadec/Makefile.am |    4 +++-
 3 files changed, 5 insertions(+), 11 deletions(-)

commit ce8b036a6c7a43b290356b673d953f6d76b2be64
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-11 14:09:35 +0200

    Fixed a typo in tests/Makefile.am which prevented
    building the tests if gnulib was needed.

 tests/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 7c1ad41eb611ed89e5bb8792a3beb533b7aa59f4
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-11 11:18:58 +0200

    Fixed wrong type of flags_size in Subblock encoder.

 src/liblzma/subblock/subblock_encoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit ce64df716243fdc40359090d1f6541f3a4f5f21a
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-10 20:44:16 +0200

    Bumped version number to 4.42.3alpha.

 configure.ac                   |    2 +-
 src/liblzma/api/lzma/version.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit b499a0403ea5c41d6a25b40275eb6c57643052ce
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-10 15:02:50 +0200

    Disabled some unneeded warnings and made "make dist" work.

 Makefile.am  |    9 +++------
 configure.ac |    9 ++++++---
 po/fi.po     |   47 ++++++++++++++++++++++++-----------------------
 3 files changed, 33 insertions(+), 32 deletions(-)

commit 2ab8adb5165a0b77114a7eb21f9ff1e6a266f172
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-09 21:43:15 +0200

    Added LZMA_SYNC_FLUSH support to the Copy filter.

 src/liblzma/common/copy_coder.c |   92 ++++++++++++++++++++++++---------------
 1 files changed, 57 insertions(+), 35 deletions(-)

commit 329c272d501e88793dda5540358d55c12428d194
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-09 17:14:07 +0200

    Added missing LZMA_API to the C versions of the CRC functions.
    The x86 assembler versions were already OK.

 src/liblzma/check/crc32.c |    2 +-
 src/liblzma/check/crc64.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit c90daf86ce683fa8cf80491d624ffb158dfbd9d7
Author: Jim Meyering <meyering@redhat.com>
Date:   2007-12-09 15:34:25 +0100

    * tests/test_block_header.c (test3): Remove duplicate initializer.

 autogen.sh                |    2 +-
 tests/test_block_header.c |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

commit 07ac881779a8477f2c1ab112b91a129e24aa743c
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-09 17:06:45 +0200

    Take advantage of return_if_error() macro in more places.
    Cleaned Subblock filter's initialization code too.

 src/liblzma/common/block_decoder.c         |   22 +++-------
 src/liblzma/common/delta_coder.c           |    8 +---
 src/liblzma/common/stream_decoder.c        |   17 +++-----
 src/liblzma/common/stream_encoder_multi.c  |   68 +++++++++------------------
 src/liblzma/common/stream_encoder_single.c |    8 +--
 src/liblzma/subblock/subblock_decoder.c    |   33 +++++---------
 src/liblzma/subblock/subblock_encoder.c    |   45 +++++-------------
 7 files changed, 63 insertions(+), 138 deletions(-)

commit 41338717964f510ee61d70b25bd4c502ec9f77cf
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-09 12:13:01 +0200

    Added a bunch of .lzma test files.

 tests/files/bad-single-data_after_eopm.lzma        |  Bin 0 -> 55 bytes
 tests/files/bad-single-data_after_eopm_2.lzma      |  Bin 0 -> 56 bytes
 tests/files/bad-single-subblock_subblock.lzma      |  Bin 0 -> 26 bytes
 tests/files/good-cat-single-none-pad.lzma          |  Bin 0 -> 64 bytes
 tests/files/good-single-delta-lzma.tiff.lzma       |  Bin 0 -> 51409 bytes
 tests/files/good-single-lzma.lzma                  |  Bin 0 -> 44 bytes
 tests/files/good-single-none-pad.lzma              |  Bin 0 -> 32 bytes
 tests/files/good-single-none.lzma                  |  Bin 0 -> 30 bytes
 tests/files/good-single-subblock-lzma.lzma         |  Bin 0 -> 50 bytes
 tests/files/good-single-subblock_rle.lzma          |  Bin 0 -> 118 bytes
 tests/files/malicious-multi-metadata-64PiB.lzma    |  Bin 0 -> 51 bytes
 tests/files/malicious-single-subblock-256MiB.lzma  |  Bin 0 -> 30 bytes
 tests/files/malicious-single-subblock-64PiB.lzma   |  Bin 0 -> 45 bytes
 tests/files/malicious-single-subblock-loop.lzma    |  Bin 0 -> 43 bytes
 tests/files/malicious-single-subblock-lzma.lzma    |  Bin 0 -> 505 bytes
 .../files/malicious-single-subblock1023-slow.lzma  |  Bin 0 -> 7886 bytes
 tests/files/malicious-single-subblock31-slow.lzma  |  Bin 0 -> 1233 bytes
 17 files changed, 0 insertions(+), 0 deletions(-)

commit ff946ceb7975d4f11950afd33f6315b4d20d1a03
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-09 11:24:48 +0200

    Re-enabled the security checks in Subblock decoder
    that were disabled for debugging reasons.

 src/liblzma/subblock/subblock_decoder.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 2bf36d22d2c24ac3f488e63b35564fa2f6dab8d1
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-09 11:03:28 +0200

    Fixed the tests to build with -Werror.

 tests/test_block_header.c |    2 +-
 tests/test_check.c        |    2 +-
 tests/test_filter_flags.c |    2 +-
 tests/test_index.c        |   14 +++++++-------
 tests/test_info.c         |    2 +-
 tests/test_stream_flags.c |    2 +-
 6 files changed, 12 insertions(+), 12 deletions(-)

commit 5d018dc03549c1ee4958364712fb0c94e1bf2741
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2007-12-09 00:42:33 +0200

    Imported to git.

 AUTHORS                                        |   18 +
 COPYING                                        |   24 +
 COPYING.GPLv2                                  |  339 +++++
 COPYING.GPLv3                                  |  674 +++++++++
 COPYING.LGPLv2.1                               |  504 +++++++
 ChangeLog                                      |    2 +
 Doxyfile.in                                    | 1229 ++++++++++++++++
 Makefile.am                                    |   38 +
 README                                         |  151 ++
 THANKS                                         |   23 +
 TODO                                           |  109 ++
 autogen.sh                                     |   38 +
 configure.ac                                   |  611 ++++++++
 doc/bugs.txt                                   |   46 +
 doc/faq.txt                                    |  247 ++++
 doc/file-format.txt                            | 1861 ++++++++++++++++++++++++
 doc/history.txt                                |  140 ++
 doc/liblzma-advanced.txt                       |  324 ++++
 doc/liblzma-hacking.txt                        |  112 ++
 doc/liblzma-intro.txt                          |  188 +++
 doc/liblzma-security.txt                       |  219 +++
 doc/lzma-intro.txt                             |  107 ++
 extra/scanlzma/scanlzma.c                      |   85 ++
 lib/Makefile.am                                |   40 +
 lib/getopt.c                                   | 1191 +++++++++++++++
 lib/getopt1.c                                  |  171 +++
 lib/getopt_.h                                  |  226 +++
 lib/getopt_int.h                               |  131 ++
 lib/gettext.h                                  |  240 +++
 m4/acx_pthread.m4                              |  279 ++++
 m4/getopt.m4                                   |   83 ++
 po/LINGUAS                                     |    1 +
 po/Makevars                                    |   46 +
 po/POTFILES.in                                 |   13 +
 po/fi.po                                       |  445 ++++++
 src/Makefile.am                                |   16 +
 src/common/open_stdxxx.h                       |   50 +
 src/common/physmem.h                           |   77 +
 src/common/sysdefs.h                           |  100 ++
 src/liblzma/Makefile.am                        |   47 +
 src/liblzma/api/Makefile.am                    |   39 +
 src/liblzma/api/lzma.h                         |  122 ++
 src/liblzma/api/lzma/alignment.h               |   60 +
 src/liblzma/api/lzma/alone.h                   |   82 ++
 src/liblzma/api/lzma/auto.h                    |   41 +
 src/liblzma/api/lzma/base.h                    |  410 ++++++
 src/liblzma/api/lzma/block.h                   |  409 ++++++
 src/liblzma/api/lzma/check.h                   |  128 ++
 src/liblzma/api/lzma/copy.h                    |   29 +
 src/liblzma/api/lzma/delta.h                   |   49 +
 src/liblzma/api/lzma/extra.h                   |  114 ++
 src/liblzma/api/lzma/filter.h                  |  166 +++
 src/liblzma/api/lzma/index.h                   |   84 ++
 src/liblzma/api/lzma/info.h                    |  315 ++++
 src/liblzma/api/lzma/init.h                    |   85 ++
 src/liblzma/api/lzma/lzma.h                    |  312 ++++
 src/liblzma/api/lzma/memlimit.h                |  157 ++
 src/liblzma/api/lzma/metadata.h                |  100 ++
 src/liblzma/api/lzma/raw.h                     |   72 +
 src/liblzma/api/lzma/simple.h                  |   85 ++
 src/liblzma/api/lzma/stream.h                  |  178 +++
 src/liblzma/api/lzma/stream_flags.h            |  142 ++
 src/liblzma/api/lzma/subblock.h                |  197 +++
 src/liblzma/api/lzma/version.h                 |   59 +
 src/liblzma/api/lzma/vli.h                     |  244 ++++
 src/liblzma/check/Makefile.am                  |   64 +
 src/liblzma/check/check.c                      |  160 ++
 src/liblzma/check/check.h                      |  102 ++
 src/liblzma/check/check_byteswap.h             |   43 +
 src/liblzma/check/check_init.c                 |   37 +
 src/liblzma/check/crc32.c                      |   88 ++
 src/liblzma/check/crc32_init.c                 |   58 +
 src/liblzma/check/crc32_table.c                |   22 +
 src/liblzma/check/crc32_table_be.h             |  527 +++++++
 src/liblzma/check/crc32_table_le.h             |  527 +++++++
 src/liblzma/check/crc32_tablegen.c             |   55 +
 src/liblzma/check/crc32_x86.s                  |  217 +++
 src/liblzma/check/crc64.c                      |   75 +
 src/liblzma/check/crc64_init.c                 |   58 +
 src/liblzma/check/crc64_table.c                |   22 +
 src/liblzma/check/crc64_table_be.h             |  523 +++++++
 src/liblzma/check/crc64_table_le.h             |  523 +++++++
 src/liblzma/check/crc64_tablegen.c             |   56 +
 src/liblzma/check/crc64_x86.s                  |  203 +++
 src/liblzma/check/crc_macros.h                 |   33 +
 src/liblzma/check/sha256.c                     |  203 +++
 src/liblzma/common/Makefile.am                 |   94 ++
 src/liblzma/common/alignment.c                 |  118 ++
 src/liblzma/common/allocator.c                 |   57 +
 src/liblzma/common/alone_decoder.c             |  197 +++
 src/liblzma/common/alone_decoder.h             |   24 +
 src/liblzma/common/alone_encoder.c             |  167 +++
 src/liblzma/common/auto_decoder.c              |  113 ++
 src/liblzma/common/block_decoder.c             |  405 +++++
 src/liblzma/common/block_decoder.h             |   29 +
 src/liblzma/common/block_encoder.c             |  375 +++++
 src/liblzma/common/block_encoder.h             |   29 +
 src/liblzma/common/block_header_decoder.c      |  373 +++++
 src/liblzma/common/block_header_encoder.c      |  211 +++
 src/liblzma/common/block_private.h             |   46 +
 src/liblzma/common/chunk_size.c                |   74 +
 src/liblzma/common/code.c                      |  203 +++
 src/liblzma/common/common.h                    |  271 ++++
 src/liblzma/common/copy_coder.c                |  143 ++
 src/liblzma/common/copy_coder.h                |   31 +
 src/liblzma/common/delta_coder.c               |  210 +++
 src/liblzma/common/delta_coder.h               |   31 +
 src/liblzma/common/extra.c                     |   33 +
 src/liblzma/common/features.c                  |   70 +
 src/liblzma/common/filter_flags_decoder.c      |  382 +++++
 src/liblzma/common/filter_flags_encoder.c      |  359 +++++
 src/liblzma/common/index.c                     |  140 ++
 src/liblzma/common/info.c                      |  823 +++++++++++
 src/liblzma/common/init.c                      |   39 +
 src/liblzma/common/init_decoder.c              |   33 +
 src/liblzma/common/init_encoder.c              |   44 +
 src/liblzma/common/memory_limitter.c           |  200 +++
 src/liblzma/common/memory_usage.c              |  113 ++
 src/liblzma/common/metadata_decoder.c          |  555 +++++++
 src/liblzma/common/metadata_decoder.h          |   31 +
 src/liblzma/common/metadata_encoder.c          |  436 ++++++
 src/liblzma/common/metadata_encoder.h          |   30 +
 src/liblzma/common/next_coder.c                |   65 +
 src/liblzma/common/raw_common.c                |  175 +++
 src/liblzma/common/raw_common.h                |   31 +
 src/liblzma/common/raw_decoder.c               |  127 ++
 src/liblzma/common/raw_decoder.h               |   30 +
 src/liblzma/common/raw_encoder.c               |  124 ++
 src/liblzma/common/raw_encoder.h               |   30 +
 src/liblzma/common/stream_common.c             |   23 +
 src/liblzma/common/stream_common.h             |   28 +
 src/liblzma/common/stream_decoder.c            |  454 ++++++
 src/liblzma/common/stream_encoder_multi.c      |  460 ++++++
 src/liblzma/common/stream_encoder_single.c     |  220 +++
 src/liblzma/common/stream_flags_decoder.c      |  258 ++++
 src/liblzma/common/stream_flags_decoder.h      |   31 +
 src/liblzma/common/stream_flags_encoder.c      |   75 +
 src/liblzma/common/sysdefs.h                   |    1 +
 src/liblzma/common/version.c                   |   25 +
 src/liblzma/common/vli_decoder.c               |   69 +
 src/liblzma/common/vli_encoder.c               |   81 +
 src/liblzma/common/vli_reverse_decoder.c       |   55 +
 src/liblzma/lz/Makefile.am                     |   63 +
 src/liblzma/lz/bt2.c                           |   27 +
 src/liblzma/lz/bt2.h                           |   31 +
 src/liblzma/lz/bt3.c                           |   29 +
 src/liblzma/lz/bt3.h                           |   31 +
 src/liblzma/lz/bt4.c                           |   30 +
 src/liblzma/lz/bt4.h                           |   31 +
 src/liblzma/lz/hc3.c                           |   30 +
 src/liblzma/lz/hc3.h                           |   31 +
 src/liblzma/lz/hc4.c                           |   31 +
 src/liblzma/lz/hc4.h                           |   31 +
 src/liblzma/lz/lz_decoder.c                    |  462 ++++++
 src/liblzma/lz/lz_decoder.h                    |  214 +++
 src/liblzma/lz/lz_encoder.c                    |  481 ++++++
 src/liblzma/lz/lz_encoder.h                    |  161 ++
 src/liblzma/lz/lz_encoder_private.h            |   40 +
 src/liblzma/lz/match_c.h                       |  401 +++++
 src/liblzma/lz/match_h.h                       |   69 +
 src/liblzma/lzma.pc.in                         |   11 +
 src/liblzma/lzma/Makefile.am                   |   43 +
 src/liblzma/lzma/lzma_common.h                 |  128 ++
 src/liblzma/lzma/lzma_decoder.c                |  844 +++++++++++
 src/liblzma/lzma/lzma_decoder.h                |   41 +
 src/liblzma/lzma/lzma_encoder.c                |  413 ++++++
 src/liblzma/lzma/lzma_encoder.h                |   35 +
 src/liblzma/lzma/lzma_encoder_features.c       |   59 +
 src/liblzma/lzma/lzma_encoder_getoptimum.c     |  893 ++++++++++++
 src/liblzma/lzma/lzma_encoder_getoptimumfast.c |  201 +++
 src/liblzma/lzma/lzma_encoder_init.c           |  245 ++++
 src/liblzma/lzma/lzma_encoder_presets.c        |   34 +
 src/liblzma/lzma/lzma_encoder_private.h        |  225 +++
 src/liblzma/lzma/lzma_literal.c                |   74 +
 src/liblzma/lzma/lzma_literal.h                |   74 +
 src/liblzma/rangecoder/Makefile.am             |   28 +
 src/liblzma/rangecoder/range_common.h          |   68 +
 src/liblzma/rangecoder/range_decoder.h         |  189 +++
 src/liblzma/rangecoder/range_encoder.c         |   46 +
 src/liblzma/rangecoder/range_encoder.h         |  317 ++++
 src/liblzma/simple/Makefile.am                 |   46 +
 src/liblzma/simple/arm.c                       |   76 +
 src/liblzma/simple/armthumb.c                  |   81 +
 src/liblzma/simple/ia64.c                      |  117 ++
 src/liblzma/simple/powerpc.c                   |   80 +
 src/liblzma/simple/simple_coder.c              |  306 ++++
 src/liblzma/simple/simple_coder.h              |   68 +
 src/liblzma/simple/simple_private.h            |   86 ++
 src/liblzma/simple/sparc.c                     |   88 ++
 src/liblzma/simple/x86.c                       |  161 ++
 src/liblzma/subblock/Makefile.am               |   33 +
 src/liblzma/subblock/subblock_decoder.c        |  681 +++++++++
 src/liblzma/subblock/subblock_decoder.h        |   29 +
 src/liblzma/subblock/subblock_decoder_helper.c |   80 +
 src/liblzma/subblock/subblock_decoder_helper.h |   36 +
 src/liblzma/subblock/subblock_encoder.c        |  841 +++++++++++
 src/liblzma/subblock/subblock_encoder.h        |   28 +
 src/lzma/Makefile.am                           |   63 +
 src/lzma/alloc.c                               |  106 ++
 src/lzma/alloc.h                               |   42 +
 src/lzma/args.c                                |  566 +++++++
 src/lzma/args.h                                |   64 +
 src/lzma/error.c                               |  156 ++
 src/lzma/error.h                               |   67 +
 src/lzma/hardware.c                            |   99 ++
 src/lzma/hardware.h                            |   31 +
 src/lzma/help.c                                |  178 +++
 src/lzma/help.h                                |   32 +
 src/lzma/io.c                                  |  664 +++++++++
 src/lzma/io.h                                  |   60 +
 src/lzma/list.c                                |  477 ++++++
 src/lzma/main.c                                |  254 ++++
 src/lzma/options.c                             |  346 +++++
 src/lzma/options.h                             |   46 +
 src/lzma/private.h                             |   55 +
 src/lzma/process.c                             |  458 ++++++
 src/lzma/process.h                             |   30 +
 src/lzma/suffix.c                              |  145 ++
 src/lzma/suffix.h                              |   25 +
 src/lzma/util.c                                |  182 +++
 src/lzma/util.h                                |   32 +
 src/lzmadec/Makefile.am                        |   27 +
 src/lzmadec/lzmadec.c                          |  515 +++++++
 src/scripts/Makefile.am                        |   24 +
 src/scripts/lzdiff                             |   67 +
 src/scripts/lzdiff.1                           |   51 +
 src/scripts/lzgrep                             |  123 ++
 src/scripts/lzgrep.1                           |   61 +
 src/scripts/lzmore                             |   74 +
 src/scripts/lzmore.1                           |   55 +
 tests/Makefile.am                              |   43 +
 tests/test_block.c                             |   59 +
 tests/test_block_header.c                      |  352 +++++
 tests/test_check.c                             |   90 ++
 tests/test_filter_flags.c                      |  326 +++++
 tests/test_index.c                             |   43 +
 tests/test_info.c                              |  717 +++++++++
 tests/test_stream_flags.c                      |  191 +++
 tests/tests.h                                  |  148 ++
 239 files changed, 42513 insertions(+), 0 deletions(-)