File: ChangeLog

package info (click to toggle)
wget2 2.2.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,296 kB
  • sloc: ansic: 121,144; sh: 11,559; makefile: 878; xml: 182; sed: 16
file content (21586 lines) | stat: -rw-r--r-- 684,818 bytes parent folder | download | duplicates (2)
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
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
2024-11-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (http_receive_response): Check conn param for non-NULL

2024-11-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (pages): add apt-get update

2024-11-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Prepare release v2.2.0

2024-11-18 Michal Ruprich <mruprich@redhat.com>

     * src/options.c: do not truncate when -c is used
     
     Copyright-paperwork-exempt: Yes

2024-11-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Don't try to build tests/ without GnuTLS

2024-11-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/bar.c: Make var terminate_thread volatile

2024-11-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Improve summary output for pandoc and doxygen

2024-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_parse): Check for port number validity

2024-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Avoid -Wc11-c2x-compat (issue in config.h)

2024-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Amend license section (fix syntax-check)

2024-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix safe_write, safe_read return types

2024-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Suppress several warnings coming with gnulib 01.11.2024

2024-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c (ShowX509): Add semicolon to end of XFREE()
     
     Fixes https://github.com/rockdaboot/wget2/issues/351

2024-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib
     
     * gnulib: Update git module.
     * bootstrap: Update from gnulib.

2024-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (program_deinit): Minor cleanup

2024-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix parameter names in function prototypes

2024-10-03 Michael Weiser <michael.weiser@gmx.de>

     Wake the main thread on downloader shutdown
     
     * src/wget.c (downloader_thread): Signal main() on exit.
     
     Without this, the main thread may get stuck waiting for signals from
     downloaders while those have already exited and will never signal it.
     Observed with --wait.
     
     Fixes: https://github.com/rockdaboot/wget2/issues/348
     
     Copyright-paperwork-exempt: Yes

2024-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Wait for progress thread during test runs

2024-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/valgrind-suppressions: Suppress libc6 2.40 getaddrinfo/memmove

2024-02-27 harshmohan07 <code.harshmohan@gmail.com>

     Don't log URI userinfo to logs
     
     * include/wget/wget.h (struct wget_iri_st): Add safe_uri member.
     * libwget/iri.c: New function create_safe_uri(),
       (wget_iri_unescape_url_inline): Check iri->userinfo,
       (wget_iri_parse): Likewise,
       (wget_iri_clone): Likewise,
       (wget_iri_relative_to_abs): Remove debug logs,
       (wget_iri_set_scheme): Check iri->userinfo.
     * src/blacklist.c: Log safe_uri instead of uri.
     * src/host.c: Likewise.
     * src/options.c: Likewise.
     * src/stats_site.c: Likewise.
     * src/wget.c: Likewise,
       (queue_url_from_remote): Move redirection check further down.
     * unit-tests/test.c (test_iri_parse): Add checks for safe_uri,
       (test_iri_parse): Add safe_uri to IRI comparison,
       Print safe_uri and password.
     
     Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>

2024-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Count 0 as an error for SSL_read and SSL_write, per documentation
     
     * libwget/ssl_openssl.c (ssl_transfer): Take 0 as error,
       slightly refactor code.
     
     Fixes https://github.com/rockdaboot/wget2/issues/342
     
     Reported-by: Tobias Brick (he/him) <tobiasb@microsoft.com>
     Co-authored-by: Tobias Brick (he/him) <tobiasb@microsoft.com>

2024-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix error message for unknown --compression types
     
     * src/options.c (parse_compression): Fix error messages.
     
     Fixes https://github.com/rockdaboot/wget2/issues/346

2024-09-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Add empty line after header with --save-headers
     
     * libwget/http.c (wget_http_get_response_cb): Remove adding empty line.
     * src/wget.c (prepare_file): Add empty line to headers.
     
     Fixes https://github.com/rockdaboot/wget2/issues/347

2024-09-16 Tobias Brick (he/him) <tobiasb@microsoft.com>

     set debug_skip_body for OCSP requests in openssl tls provider

2024-09-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix downloading multiple files via HTTP/2
     
     * include/wget/wget.h: New function declaration wget_http_connection_receive_only().
     * libwget/http.c: New function definition wget_http_connection_receive_only().
     * libwget/http.h (struct wget_http_connection_st): Add member goaway.
     * libwget/http2.c (struct http2_stream_context): Add member conn,
       (on_frame_recv_callback): Handle NGHTTP2_GOAWAY,
       (wget_http2_send_request): Initialize conn member.
     * src/host.c (_release_job): Don't release parts if in 'done' state.
     * src/wget.c (process_response_header): Remove handling of LINK headers,
       (process_response): Add handling of LINK headers,
       (downloader_thread): Handle pending responses correctly.
     
     This patch fixes two related issues:
     1. With HTTP/2, servers sometimes limit the number of requests per connection.
        Beforethis patch, the connection was closed too early after GOAWAY and pending
        responses weren't received.
     2. In _release_job(), already downloaded parts of a file were erroneous released.
        This caused successful metalink and chunked downloads to fail in combination with
        a GOAWAY or a remotely closed connection.

2024-09-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Update progress report line every second
     
     * src/wget.c: Add new function progress_report(),
       add new declaration progress_report().
     * src/wget.c (main): Start thread progress_report().
     * src/bar.c: Increase BAR_THREAD_SLEEP_DURATION from 125 to 1000 millseconds.
     * libwget/bar.c (bar_update_slot): Limit ratio to 100%, add TODO.

2024-09-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not overwrite wget-log for 2+ instances
     
     * src/wget.c: Add new function create_unique(),
       (fork_to_background): Make use of create_unique().
     
     Fixes https://github.com/rockdaboot/wget2/issues/330

2024-09-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix redirections with --no-parent
     
     * src/wget.c: Add new functions add_parent(), is_parent(), matches_parent().
     * src/wget.c (queue_url_from_remote): Add redirected URL to parents if
       origin is a parent.
     * src/wget.c (queue_url_from_remote): Do not apply robots.txt to redirected
       URL if origin was requested by user.
     
     Fixes https://github.com/rockdaboot/wget2/issues/331

2024-09-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Support connecting with HTTP/1.0 proxies
     
     * libwget/http.c (establish_proxy_connect): Allow HTTP/1.0 responses
     
     Fixes https://gitlab.com/gnuwget/wget2/-/issues/666

2024-09-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Ignore 1xx HTTP responses
     
     * libwget/http.c (wget_http_get_response_cb): Ignore 1xx responses.
     
     Fixes https://github.com/rockdaboot/wget2/issues/340

2024-09-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not spell-check NEWS and bootstrap.conf

2024-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix status 8 for failed redirection of robots.txt
     
     * src/wget.c (queue_url_from_remote): Copy job->robotstxt flag for redirections"
     * tests/test-redirection.c: Add test for correct status code after robots redirection fails"
     
     Fixes https://gitlab.com/gnuwget/wget2/-/issues/677

2024-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix confusing error message on Win32 "No CAs were found in ..."
     
     * libwget/ssl.c (wget_ssl_default_ca_bundle_path): Check if file exists

2024-08-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (program_init): Move console and signal handler setup up

2024-07-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix buffer overflow in progress bar
     
     * libwget/bar.c (bar_set_progress): Check for minimum bar size.

2024-07-13 Roger Marco Hernandez <bluntun@gmail.com>

     Consider connect timeout only when set
     
     * libwget/net.c (set_socket_options): Skip SO_SNDTIMEO if connect timeout is <= 0.
     
     Copyright-paperwork-exempt: Yes

2024-07-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix ignoring connect timeout (regression)
     
     * libwget/net.c (set_socket_options): Set SO_SNDTIMEO for socket
     
     Reported-by: https://gitlab.com/plvalerio
     Co-authored-by: https://gitlab.com/RogerMarcoHernandez

2024-07-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/Dockerfile.win32.static: Remove brotli

2024-06-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Disable TCP Fast Open by default
     
     * docs/wget2.md: Amended description of --tcp-fastopen.
     * src/options.c (struct config config): Disabled TFO.

2024-06-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Connect using synchronous socket
     
     * libwget/dns.c (getaddrinfo_merging, resolve): Code cleanup.
     * libwget/net.c (wget_tcp_connect): Connect first, then set socket to async.
     
     Connecting asynchronously prevented wget2 to fallback to the next IP address
     of a host when a connect error occurred.
     
     Reported at https://github.com/rockdaboot/wget2/issues/325

2024-06-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --dns-cache-preload for IPv6
     
     * src/options.c (preload_dns_cache): Fix parsing IPv6 addresses

2024-06-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (main): Disable progress bar for non-verbose and debug mode

2024-06-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/bar.c (bar_init): Write info text above progress bar

2024-06-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c: Add new function wget_bar_write_line_ext()

2024-06-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (main): Do not switch off info text when progress is enabled

2024-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am (oss-fuzz): Add -lgmp

2024-05-21 Tim Rühsen <tim.ruehsen@gmx.de>

     .gitlab-ci.yml (pages): Install pandoc, doxygen, texinfo

2024-05-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (pages): Explicitly clean docs (required to build HTML)

2024-05-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (pages): Explicitly create HTML docs

2024-05-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (pages): Use make-coverage-badge from git source tree

2023-08-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Restructuring

2024-05-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/valgrind-suppressions: Drop libgpgme version from suppression

2024-05-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/Makefile.am: Add suppression files

2024-05-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Add valgrind-suppressions to EXTRA_DIST

2024-05-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c (getline_internal): Clear memory to not trigger valgrind

2024-05-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Accept --progress=dot:... for backwards compatibility
     
     * src/options.c (parse_progress_type): Fix checking dot options.
     * tests/test-wget-1.c: Add check for --progress variants.

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Ignore geninfo errors

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (verify_certificate_callback): Fix gcc warning -Wjump-misses-init

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Move Win32 console save/restore from libwget into wget.c.
     
     * libwget/init.c: Remove Win32 console code.
     * src/wget.c: Add Win32 console code.

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (verify_certificate_callback): Fix 'do not translate debug strings'

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (verify_certificate_callback): Warn about OCSP privacy leak

2024-04-18 Taylan Gökkaya <insomnimus@proton.me>

     Windows: handle ctrl+break to restore console modes
     
     * libwget/init.c: Add HandleCtrlEvent(),
       (global_exit): Restore console modes,
       (global_init): Save console modes.
     
     Copyright-paperwork-exempt: Yes

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Let Valgrind runners use more cores

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Fix two memleaks

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (verify_ocsp): Fix segfault when OCSP response is missing

2024-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Disable explicit OCSP requests by default for TLS library functions
     
     * libwget/ssl_openssl: Disable explicit OCSP requests by default.
     * libwget/ssl_gnutls: Likewise.
     * libwget/ssl_wolfssl.c: Likewise.

2024-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use faster CI runners for MinGW builds

2024-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Remove -Wuseless-cast (gcc 14) from manywarnings

2024-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Remove superfluous casts

2024-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove 'tags' (breaking changes in Gitlab 1.7)

2024-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Improve messages for OCSP stapling

2024-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Disable explicit OCSP requests by default
     
     * docs/wget2.md: Document --ocsp default value as 'off'.
     * src/options.c (struct config): Disable .ocsp by default.
     
     OCSP validation of the server certificate implies privacy issues:
       - The OCSP request tells the CA which web service the client tries to reach.
       - The OCSP requests are sent via unencrypted HTTP, so every "listener in the
         middle" can see which web service the client tries to connect.
     Additionally, the OCSP requests slow down operation and may cause unexpected
     network traffic, which may trigger security alarms unnecessarily.
     
     Due to these issues we explicitly disable OCSP by default.

2024-05-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix tests/test-ocsp-server
     
     * tests/libtest.c: Handle > 1 OCSP responses.
     * tests/libtest.h: Rename WGET_TEST_OCSP_RESP_FILE to WGET_TEST_OCSP_RESP_FILES.
     * tests/test-ocsp-server.c: Make use of WGET_TEST_OCSP_RESP_FILES.

2024-05-12 Tim Rühsen <tim.ruehsen@gmx.de>

     -* libwget/ssl_gnutls.c (cert_verify_ocsp): Fix segfault when OCSP response is missing

2024-05-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix OCSP verification of first intermediate certificate.
     
     * libwget/ssl_gnutls.c (verify_certificate_callback): Fix off-by-one check.
     
     See https://gitlab.com/gnuwget/wget2/-/issues/664#note_1901610438

2024-05-10 Romain Geissler <romain.geissler@amadeus.com>

     Allow option --no-tcp-fastopen to work on Linux kernels >= 4.11.
     
     * libwget/net.c (set_socket_options): Add check for tcp->tcp_fastopen.
     
     Copyright-paperwork-exempt: Yes

2024-05-05 harshmohan07 <code.harshmohan@gmail.com>

     * src/wget.c (add_statistics): Don't account already downloaded files as error
     
     Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>

2024-04-29 Darshit Shah <git@darnir.net>

     * src/wget.c: Remove trailing space

2024-04-29 Darshit Shah <git@darnir.net>

     Limit cases where methods are redirected to GET
     
     * tests/test-spider-r.c: Add new test for redirections with spider
     * src/wget.c(process_response_header): Prevent changing the request
       method during a redirection to GET.
     
     Fixes: #660

2024-04-29 Darshit Shah <git@darnir.net>

     * contrib/check_options: Replace deprecated use of egrep

2024-04-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c (cookie_db_load): Fix return value

2024-04-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c (wget_update_load_fn): Fix parameter name

2024-04-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --no-clobber + --no-parent including a possible deadlock
     
     * src/wget.c (queue_url_from_local): Move parents handling further up,
       (queue_url_from_remote): Fix check for parse_localfile(),
       (html_parse): Fix locking for known_urls,
       (sitemap_parse_xml): Fix locking for known_urls,
       (add_urls): Fix locking for known_urls.

2024-04-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (set_file_metadata): Fix http:// to https:// in comment

2024-04-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (parse_localfile): Fix xattr reading of user.mime_type

2024-04-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (struct config): Use 'Wget' as user-agent
     
     Some websites use browser sniffing, and a 'Wget' user agent header
     is likely to be more compatible than 'Wget2'.
     
     See https://github.com/rockdaboot/wget2/issues/314

2024-04-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove FreeBSD runner

2024-04-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2024-04-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix progress bar for multiple downloads
     
     * libwget/bar.c (wget_bar_slot_begin): Remove numfiles handling,
       (struct bar_slot): Remove member 'numfiles'.
     
     Report: https://github.com/rockdaboot/wget2/issues/307

2024-04-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_connect): Fix return code on resolve failure

2024-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Switch some variables from int to bool
     
     * src/plugin.c: Use bool for global variables "initialized" and
       "plugin_help_forwarded".
     * src/wget_plugin.h (plugin_db_help_forwarded): Use bool for return type.

2024-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xml.c (xml_context): Add docs to member fields

2024-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --no-parent for denormalized paths
     
     * libwget/iri.c (wget_iri_parse): Normalize path part of URL.
     * unit-tests/test.c (test_iri_parse): Add test with denormalized path.

2024-03-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib link libraries
     
     * fuzz/Makefile.am: Update gnulib link libraries.
     * libwget/Makefile.am: Likewise.
     * src/Makefile.am: Likewise.
     * tests/Makefile.am: Likewise.
     * unit-tests/Makefile.am: Likewise.

2024-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Skip failing OCSP tests with WolfSSL
     
     * tests/test-ocsp-server.c: Skip failing tests.
     * tests/test-ocsp-stap.c: Likewise.

2024-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     gnulib: Update

2024-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (version_text): Fix copyright year

2024-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_robots): Fix memory leak

2022-04-20 Avinash Sonawane <rootkea@gmail.com>

     * configure.ac: Remove redundant sanitizer warnings

2024-01-10 Avinash Sonawane <rootkea@gmail.com>

     * .gitignore: Ignore generated files in VPATH builds

2022-06-25 Avinash Sonawane <rootkea@gmail.com>

     * libwget/robots.c: Fix robots.txt parser
     
     Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>

2022-07-28 Avinash Sonawane <rootkea@gmail.com>

     * unit-tests/test.c (test_robots): Add new tests

2024-01-12 Avinash Sonawane <rootkea@gmail.com>

     * bootstrap.conf: Replace `\e` with portable `\033`

2024-01-10 Avinash Sonawane <rootkea@gmail.com>

     * bootstrap: Do not edit auto-generated file

2024-02-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add SECURITY.md [skip ci]

2024-01-27 Tim Rühsen <tim.ruehsen@gmx.de>

     tests/test-page-requisites.c: Add HTML source/srcset to tests

2024-01-13 Avinash Sonawane <rootkea@gmail.com>

     * tests/test-timestamping.c: Pass correct type to variadic function

2024-01-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/log.c (log_init): Redirect INFO logs to stderr with -O-

2024-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c (cookie_db_load): Fix EOL removal

2024-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Update copyright year

2024-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     fuzz/libwget_cookie_fuzzer.c: Randomize keeping session cookies

2024-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix double free in cookie_db_load().
     
     Fixes #650
     
     * libwget/cookie.c (cookie_db_load): Call wget_cookie_init() at top of read loop.

2024-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/ssl_wolfssl.c (wget_ssl_init): Combine CA cert directory and file

2024-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/ssl_wolfssl.c (wget_ssl_init): Use wolfSSL_CTX_load_system_CA_certs()

2023-12-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix IPv6 address representation
     
     * libwget/dns.c (resolve): Fix IPv6 in debug message,
       (wget_dns_cache_ip): Fix IPv6 in error message,
       (wget_dns_resolve): Fix IPv6 in debug message.
     * libwget/dns_cache.c (wget_dns_cache_get): Fix IPv6 in debug message.
     * libwget/hsts.c (hsts_db_add_entry): Fix IPv6 in debug message.
     * libwget/http.c (wget_http_create_request): Fix IPv6 in Host header,
       (establish_proxy_connect): Fix IPv6 in CONNECT and in Host header.
     * libwget/ip.c (wget_ip_is_family): Cosmetic change.
     * libwget/iri.c (wget_iri_get_connection_part): Fix IPv6 in URL creation.
     * libwget/net.c (debug_addr): Fix IPv6 in debug message.
     * src/options.c (stats_callback_dns): Fix IPv6 in output.
     * src/wget.c (test_modify_hsts): Fix IPv6 in console output,
       (http_create_request): Fix IPv6 in Referer header.
     * unit-tests/test.c (test_iri_parse): Add two IPv6 parsing tests.
     * libwget/Makefile.am (libwget_dnscache.la): Link with libwget_ip.la,
       (libwget_hsts.la): Link with libwget_ip.la.

2023-12-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_restrict_names): Avoid false positive for -Wjump-misses-init

2023-12-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/utils.c (wget_restrict_file_name): Remove forgotten info_printf()

2023-12-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --restrict-file-names to be backwards compatible wot wget 1.x
     
     * src/options.c (parse_restrict_names): Allow comma-separated list of arguments.
     * src/utils.c (wget_restrict_file_name): Support combinations of modes.

2023-11-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/netrc.c (wget_netrc_db_load): Add fetchmail compatibility (user and passwd)

2023-11-17 Ander Juaristi <a@juaristi.eus>

     Rename internal functions

2023-10-31 Ander Juaristi <a@juaristi.eus>

     Rename internal functions

2023-10-25 Ander Juaristi <a@juaristi.eus>

     Remove empty guard

2023-10-15 Ander Juaristi <a@juaristi.eus>

     Fix NULLABLES

2023-10-11 Ander Juaristi <a@juaristi.eus>

     Update POTFILES

2023-08-20 Ander Juaristi <a@juaristi.eus>

     Extract common HTTP functions
     
      * libwget/http.h: new functions wget_http_connection_is_aborted,
        wget_http_fix_broken_server_encoding,
        wget_decompress_get_body_cb, wget_decompress_error_handler_cb,
        wget_http2_open, wget_http2_close, wget_http2_send_request,
        wget_http2_get_response_cb
      * libwget/http2.c: new file

2023-11-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c: Make http_isseparator an inline function

2023-11-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c: Add tests for wget_http_parse_full_date()

2023-11-15 Curtis Doty <Curtis@GreenKey.net>

     Add support for another non-standard cookie timstamp format
     
      - example: Sun Nov 26 2023 21:24:47
     
     * libwget/http_parse.c (wget_http_parse_full_date): Parse additional format.

2023-11-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Fix lcov command line

2023-11-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (pages): Install libcapture-tiny-perl and libdatetime-perl

2023-10-23 Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>

     Add libproxy support
     
     Add support for libproxy, which is capable to extract desktop
     environment proxy configurations from dozens of systems and platforms.
     This also enables wget to handle pac/wpad proxy server.
     
     * configure.ac: Add check for libbproxy.
     * libwget/http.c (wget_http_open): Retrieve proxy via libproxy.
     
     Copyright-paperwork-exempt: Yes

2023-11-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix minor typo comment

2023-11-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix minor typos in comments

2023-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Add instructions on how to build wget2.exe
     
     * ../README.md: Add new section.
     * Dockerfile.win32.static: Remove cp command.

2023-10-12 Durgesh kumar prajapati <98798977+Durgesh4993@users.noreply.github.com>

     * README.md: Add table of contents
     
     Copyright-paperwork-exempt: Yes

2023-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix typos in comments

2023-10-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Fxuix 'make syntax-check'

2023-10-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (http_create_request): Use 'Accept: */*' for single file downloads

2023-10-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (MinGW64-static): Add configure flag --enable-threads=windows
     
     This allows multi-threading on Windows.

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * gitlab-ci.yml: Enable Gitlab SAST

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (tls_exit): Fix syntax-check

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Fix NULLABLE issues

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c: Fix NULLABLE issues

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c (add_mirror): Fix NULLABLE issue

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie_parse.c: Fix NULLABLE issues

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c (html_get_url): Fix NULLABLE issue

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp_db.c: Fix NULLABLE issues

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c: Fix NULLABLE issues

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/css_url.c (urls_to_absolute): Silence clang nullability checks

2023-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (wget_ssl_open): Check ctx for NULL

2023-09-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (tls_exit): Don't call CRYPTO_free_ex_index() when build with LibreSSL

2023-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Exclude docs/announce*.txt from trailing blank check

2023-09-11 Ander Juaristi <a@juaristi.eus>

     announce: Remove trailing spaces
     
     Trailing spaces are causing the first stage of the pipeline to fail.

2023-09-03 Ander Juaristi <a@juaristi.eus>

     fuzz: Fix http_client fuzzer
     
     Properly free the addrinfo structs, assuming there could be more than
     one.

2023-09-02 Ander Juaristi <a@juaristi.eus>

     dns: Merge SOCK_STREAM and SOCK_DGRAM addrinfo lists
     
     We want resolve() to return both, TCP and UDP sockets.
     
     On Linux, we could set .ai_socktype = 0 on the getaddrinfo() hints which
     would return us all the socket types available. However, that is not
     accepted on Windows. Instead, we ask for TCP and UDP sockets separately
     and then merge the two lists.

2023-08-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/release: Fix GPG key selection

2023-08-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mk_authors: Use previous tag instead of current release tag"

2023-08-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix typos
     
     * NEWS: HTMP -> HTML.
     * docs/announce_2.1.0.txt: Likewise.

2023-08-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Release v2.1.0

2023-08-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Update copyrights

2023-08-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/dns.c (resolve): Restrict socket type to SOCK_STREAM on Windows

2023-08-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix parsing HTMP/XML entities in URLs from HTML/XML
     
     * libwget/xml.c (wget_xml_decode_entities_inline): Fix decoding of &#dddd; and &#xhhhh;.
     * tests/test-base.c (main): Add test case for &#dddd; and &#xhhhh;.
     
     Reported-by: Michael Roosz

2023-08-13 Ander Juaristi <a@juaristi.eus>

     dns: Return all kinds of socket types available
     
     The resolve() function only returned SOCK_STREAM (TCP) sockets. We lift
     that limitation here, such that it will now return all socket types
     available in the system, both SOCK_STREAM and SOCK_DGRAM. And we let the
     calling function choose the socket type they want. We make this change
     to adapt for the upcoming QUIC code, which works entirely over UDP.
     
      * libwget/dns.c (resolve): Remove SOCK_STREAM constraint, return all
        kinds of sock types available.
      * libwget/net.c (wget_tcp_connect): select SOCK_STREAM socket types
        only
        (tcp_connect): new function to establish TCP connections.

2023-08-14 Mitch Capper <mitch.capper@gmail.com>

     gcc specific C constructor/destructors support for MSVC
     
     * libwget/private.h: Define INITIALIZER to support constructors with MSVC.
     * libwget/dns.c: Use INITIALIZER for library constructor.
     * libwget/http.c: Likewise.
     * libwget/init.c: Likewise.
     * libwget/random.c: Likewise.
     * libwget/ssl_gnutls.c: Likewise.
     * libwget/ssl_openssl.c: Likewise.
     * libwget/ssl_wolfssl.c: Likewise.
     
     Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.e

2023-08-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Set Mitch Capper to ASSGN [skip ci]

2023-08-14 Mitch Capper <mitch.capper@gmail.com>

     Add better default cert/bundle paths for Windows
     
     * include/wget/wget.h: New function wget_ssl_default_cert_dir,
       new function wget_ssl_default_ca_bundle_path.
     * libwget/Makefile.am: Add ssl.c.
     * libwget/ssl.c: New file for common ssl/tls code.
     * libwget/ssl_gnutls.c (tls_init): Initialize cert paths.
     * libwget/ssl_openssl.c (tls_init): Likewise.
     * libwget/ssl_wolfssl.c (tls_init): Likewise.
     * src/options.c (struct config): Init ca_cert,
       (init): Allocate / dup config.ca_cert.
     
     Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.d

2023-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (print_version): Work around MSVC preprocessor issue

2023-08-14 Mitch Capper <mitch.capper@gmail.com>

     Don't enable debug logging with wolfssl unless defined prior to including the options file
     
     * libwget/ssl_wolfssl.c: Test for DEBUG_WOLFSSL

2023-08-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: New stages

2023-08-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c (wget_update_file): Fix file name generation for Windows

2023-08-04 Carles Pina i Estany <carles@pina.cat>

     * docs/wget2.md: Wrap short options with backtick
     
     Copyright-paperwork-exempt: Yes

2023-08-04 Carles Pina i Estany <carles@pina.cat>

     * docs/wget2.md: Wrap long options with backtick
     
     Copyright-paperwork-exempt: Yes

2023-08-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c (wget_update_file): Fix MinGW compilation

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Disable several new syntax checks

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Call clone_wiki() early to init the wiki submodule

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update (Fixes -Wundef)

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap: Update

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (wget_ssl_init): Check for heap allocation failure

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_send_request): Remove unused variables

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Silence -Wvla in gnulib regex.h

2023-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Replace VLA in http2 code

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Enable VLA warnings

2023-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-timestamping.c: Replace VLA

2023-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-include-and-exclude-directories.c: Replace VLA

2023-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-metalink.c: Replace VLA

2023-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Replace VLA

2023-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp_db.c: Replace VLA

2023-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashfile.c: Replace VLA

2023-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hash_printf.c: Replace VLA

2023-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ocsp.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/tls_session.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xml.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test-parse-html.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test-dl.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test-decompress.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/main.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/utils.c: Replace VLA

2023-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Replace VLA

2023-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/blacklist.c (get_local_filename_real): Replace VLA

2023-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Silence -Wvla when including gettext.h
     
     * libwget/private.h: Disable -Wvla for #include <gettext.h>.
     * src/wget_main.h: Likewise.

2023-07-28 Mitch Capper <mitch.capper@gmail.com>

     Enable native VT support on windows (fixes cmdhost etc usages)
     
     * libwget/console.c: New function SetupConsoleHandle(),
       (wget_console_init): Call SetupConsoleHandle().
     * src/wget.c: New function is_tty(),
       (main): Call is_tty() instead of isatty().
     
     disable progress bar if VT mode is not supported (unless force is used)

2023-06-14 Mitch Capper <mitch.capper@gmail.com>

     Fix alternate port requests to proxies
     
     * include/wget/wget.h (wget_http_request_to_buffer): Add param 'port'.
     * libwget/http.c (wget_http_request_to_buffer): Likewise,
       (wget_http_send_request): Call wget_http_request_to_buffer with
       connection port.
     
     Copyright-paperwork-exempt: Yes

2023-06-12 Mitch Capper <mitch.capper@gmail.com>

     * libwget/private.h: Gate GCC pragma to avoid compiler warnings in MSVC
     
     Copyright-paperwork-exempt: Yes

2023-06-13 Mitch Capper <mitch.capper@gmail.com>

     Windows console width detection and update checks
     
     * libwget/utils.c (wget_get_screen_size): Add implementation for _WIN32.
     * src/bar.c (bar_update_thread): Add implementation for _WIN32.
     
     Copyright-paperwork-exempt: Yes
     Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de

2023-07-09 Mitch Capper <mitch.capper@gmail.com>

     * libwget/bar.c (bar_update_slot): Set filesize = bytes downloaded when completed
     
     Copyright-paperwork-exempt: Yes

2023-06-14 Mitch Capper <mitch.capper@gmail.com>

     bar: Reset filesize and bytes downloaded for one file in the slot
     
     * libwget/bar.c (wget_bar_slot_begin): Reset filesize and bytes_downloaded.
     
     Copyright-paperwork-exempt: Yes

2023-06-14 Mitch Capper <mitch.capper@gmail.com>

     Turn off WOLFSSL debugging if wget debugging is off
     
     * libwget/ssl_wolfssl.c (wget_ssl_init): Call wolfSSL_Debugging_OFF()
       if the debug flag is switched off.
     
     Copyright-paperwork-exempt: Yes

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Fix

2023-06-14 Mitch Capper <mitch.capper@gmail.com>

     Add a more reliable solution for Windows
     
     Fixes broken downloads on windows when poll returns early.
     
     * libwget/io.c (wget_ready_2_transfer): Call poll_retry on _WIN32,
       (poll_retry): New function.

2023-06-12 Mitch Capper <mitch.capper@gmail.com>

     Use after free fix around output document name (when colliding with existing)
     
     * src/wget.c (get_header): Correctly set dest and name.
     
     Copyright-paperwork-exempt: Yes

2023-06-12 Mitch Capper <mitch.capper@gmail.com>

     In debug mode warn if progress=bar that the info logstream is turned off
     
     * src/wget.c (main): Print info message if info logstream is turned off.
     
     Copyright-paperwork-exempt: Yes

2023-06-12 Mitch Capper <mitch.capper@gmail.com>

     Avoid setting non-supported options to remove log warnings
     
     * src/options.c (init): Avoid superfluous calls to wget_ssl_set_config_int().
     
     Copyright-paperwork-exempt: Yes

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c (ShowX509): Fix buffer overflow

2023-06-12 Mitch Capper <mitch.capper@gmail.com>

     WolfSSL: Only log certificate to console when debug is active
     
     * libwget/ssl_wolfssl.c (ShowX509): Check if debug logge ris active.
     
     Copyright-paperwork-exempt: Yes

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_connect): Use bool type

2023-06-12 Mitch Capper <mitch.capper@gmail.com>

     Fix wolfssl on windows by passing correct SOCKET descriptor
     
     * libwget/ssl_wolfssl.c: Use FD_TO_SOCKET where needed.
     
     Copyright-paperwork-exempt: Yes

2023-06-12 Mitch Capper <mitch.capper@gmail.com>

     Don't try to set file timestamps on ttys
     
     Avoids errors to console.
     
     * src/wget.c (set_file_mtime): Skip futimens if fd is a TTY.
     
     Copyright-paperwork-exempt: Yes

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Improve DNS library initialization
     
     * libwget/dns.c (net_init): Rename to dns_init(),
       (net_exit): Rename to dns_exit(),
       (wget_dns_init): Call dns_init(),
       extend docs,
       (wget_dns_free): Call dns_exit(),
       extends docs.

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (Full+VPATH/Debian): Make syntax-check

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/announce_template.txt: Fix sc_trailing_blank

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Fix sc_prohibit_empty_lines_at_EOF

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix code to silence sc_gettext_printf
     
     * libwget/http.c: Add _() around error messages where missing.
     * libwget/net.c: Likewise.
     * libwget/ssl_gnutls.c: Likewise.
     * libwget/ssl_openssl.c: Likewise.
     * src/wget.c: Likewise.

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Skip sc_error_message_uppercase

2023-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     tests/libtest.c (wget_test): Don't use backslash in path for MINGW32

2023-07-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Silence spell checker
     
     * contrib/spell-checker: Add 'anull' to exclude list.
     * libwget/ssl_gnutls.c: Fix verication to verification.
     * src/options.c: Fix pysical to physical.

2023-07-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_urls): Improve recursive RSS/Atom processing

2023-07-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_write): Fix missing argument of print_error()

2023-06-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (check_ocsp_response): Initialize time_t values

2023-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Makefile.am (fuzz-coverage): Exchange lcov --directory order

2023-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (options[]): Fix arguments for --filter-urls
     
     Reported as https://github.com/rockdaboot/wget2/issues/281 by @troy-daniel

2023-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c (wget_ssl_init): Explicitly set SSL_VERIFY_PEER

2023-06-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Add CIDR support in 'no_proxy' for IPv6
     
     * include/wget/wget.h: Fix http_get_no_proxy -> wget_http_get_no_proxy.
     * libwget/http.c: New function cidr_v6_match(),
       check for ipv6 CIDRs in wget_http_match_no_proxy().
     * unit-tests/test.c (test_match_no_proxy): Add IPv6 CIDR tests.

2023-06-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Silence clang-16+ warnings when using manywarnings
     
     * configure.ac: Add -Wno-unsafe-buffer-usage and
       -Wno-cast-function-type-strict to $WARN_CFLAGS

2023-05-29 Brahmajit Das <brahmajit.xyz@gmail.com>

     * libwget/thread.c (wget_thread_self): Fix build issues with clang-16
     
     With clang 16, specially on with musl libc, it would result in an
     incompatible pointer to integer conversion error. As clang 16 has made a
     few options default, including -Wincompatible-function-pointer-types.
     This patch fixes that error.
     
     First discovered on Gentoo's musl llvm profile. Please refer
     https://bugs.gentoo.org/898058.
     
     Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
     
     Copyright-paperwork-exempt: Yes

2023-05-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-parse-css.c (main): Add data url to test

2023-05-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (queue_url_from_remote): info_printf() instead of debug_printf()

2023-05-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/decompressor.c: Explicitly include stdint.h before lzlib.h

2023-05-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (parse_no_proxies): Skip leading whitespace

2023-03-28 harshmohan07 <code.harshmohan@gmail.com>

     CIDR support added for no_proxy
     
     * libwget/http.c: Add function wget_http_cidr_match to support
       CIDR IP method for no_proxy
     * unit-tests/test.c: Add testcases to verify the functionality
       of the above function
     
     Fixes #615

2023-05-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Remove -Wstrict-flex-arrays for gcc-13

2023-04-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Use real destination port for DANE verification
     
     * libwget/net.h (struct wget_tcp_st): New member remote_port.
     * libwget/net.c (wget_tcp_connect): Set tcp->remote_port.
     * libwget/ssl_gnutls.c (struct session_context): New member port,
       (wget_ssl_open): Set ctx->port,
       (verify_certificate_callback): Use ctx->port for DANE verification.

2023-04-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Either CA or DANE verification is required

2023-04-15 Tim Rühsen <tim.ruehsen@gmx.de>

     New option --dane
     
     * configure.ac: Enable DANE if libgnutls-dane is installed,
       add option --without-libdane.
     * docs/wget2.md: Add docs for option --dane.
     * include/wget/wget.h: Add WGET_SSL_DANE.
     * libwget/ssl_gnutls.c: Include include <gnutls/dane.h> if requested,
       (struct config): New member 'dane',
       (wget_ssl_set_config_int): Set value for dane via WGET_SSL_DANE,
       (wget_ssl_open): Call dane_verify_session_crt().
     * src/options.c (options): Add entry for --dane,
       (init): Set config.dane via wget_ssl_set_config_int().
     * src/wget_options.h (struct config): Add member 'dane'.

2023-02-22 kuukunen <kuukunen@kuukunen.net>

     Fix accidentally removing fragments when converting links.
     
     * src/wget.c (convert_links): Take the link fragment from the IRI
       instead of blacklist entry.
     
     Copyright-paperwork-exempt: Yes
     
     Fixes #623

2023-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix duplicate downloads for Link headers with rel=duplicate
     
     * src/wget.c (process_response_header): Remove check for 302+metalink,
       Use highest priority alternative link instead of Location,
       (process_response): Remove rel=duplicate code from metalink check.

2022-12-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (get_header): Fix segmentation fault (deref NULL)

2022-12-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new option --follow-sitemaps
     
     * docs/wget2.md: Add section for --follow-sitemaps.
     * src/options.c (struct config config): Set follow_sitemaps = true,
       (options[]): Add "follow-sitemaps".
     * src/wget.c (process_response): Only parse sitemaps if config.follow_sitemaps is set.

2022-12-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (pages): Remove superfluous semicolons at EOL

2022-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove python->python3 symbolic link

2022-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Decode numeric XML entities
     
     * libwget/xml.c (wget_xml_decode_entities_inline): Decode numeric entities.
     * tests/test-base.c (main): Add test.

2022-11-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Use CONNECT for https_proxy
     
     * libwget/http.c (establish_proxy_connect): New function,
       (wget_http_open): Use CONNECT method for HTTPS proxying.
     
     Fixes #616

2022-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (queue_url_from_remote): Do some checks earlier

2022-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (init): Switch progress bar off when using -o/--output-file

2022-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (wget_ssl_read_timeout): Check for NULL error msg

2022-10-18 Ander Juaristi <a@juaristi.eus>

     Remove unused fields from vflags

2022-10-18 Ander Juaristi <a@juaristi.eus>

     Fix warnings

2022-10-14 Ander Juaristi <a@juaristi.eus>

     Remove unneeded ex_data indexes

2022-10-09 Ander Juaristi <a@juaristi.eus>

     Fix: Pass per-connection user data to OCSP callback

2022-10-09 Ander Juaristi <a@juaristi.eus>

     Check HPKP at the end

2022-10-09 Ander Juaristi <a@juaristi.eus>

     Fix memory leak

2022-09-30 Ander Juaristi <a@juaristi.eus>

     Rewrite find_issuer_cert
     
      * libwget/ssl_openss.c (find_issuer_cert): rewrite function to make it
        more concise

2022-09-30 Ander Juaristi <a@juaristi.eus>

     Remove unused variables

2022-08-07 Ander Juaristi <a@juaristi.eus>

     Do not request on-line OCSP for stapled responses

2022-08-03 Ander Juaristi <a@juaristi.eus>

     Better way to find issuer cert

2022-09-24 Ander Juaristi <a@juaristi.eus>

     Check OCSP at the end of handshake

2022-10-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Change arguments of wget_iri_compare to const
     
     * include/wget/wget.hi (wget_iri_compare): Add 'const' to arguments.
     * libwget/iri.c (wget_iri_compare): Likewise.

2022-10-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashmap.c (wget_hashmap_clear): Fix memory leak

2022-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Extend network error messages with hostname and IP address
     
     * libwget/net.c: New function print_error(),
       new function print_error_host(),
       (wget_tcp_connect): Use new functions for error messages,
       (wget_tcp_read): Likewise,
       (wget_tcp_write): Likewise.

2022-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add host information to tcp structure
     
     * libwget/net.c (wget_tcp_connect): Set tcp.host,
       (wget_tcp_close): Free tcp.host.
     * libwget/net.h (struct wget_tcp_st): Add new member 'host'.

2022-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer_printf.c (read_precision,read_field_width): Use bool arg

2022-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer_printf.c (copy_string): Use strnlen if precision is given

2022-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer_printf.c (read_precision): Remove superfluous initialization

2022-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Add -lz to fuzzer libs

2022-09-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix spelling Warmup -> Warm-up
     
     * benchmarks/benches/http1.sh: Likewise
     * benchmarks/benches/http2.sh: Likewise

2022-09-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Introduce XML function to decode entities
     
     * include/wget/wget.h: Add wget_xml_decode_entities_inline().
     * libwget/iri.c (iri_unescape_inline): Remove decoding of XML entities.
     * libwget/xml.c: Add wget_xml_decode_entities_inline().
     * src/wget.c (normalize_uri): Call wget_xml_decode_entities_inline().

2022-08-10 Michael Lee <imichael2e2@gmail.com>

     Support compilation of wget.h from C++
     
     * include/wget/wget.h: Replace restrict with __restrict
     
     Copyright-paperwork-exempt: Yes

2022-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (MinGW64): Set CFLAGS to $CFLAGS_DEFAULT

2022-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/bar.c (bar_deinit): Fix segfault (joining not initialized thread)

2022-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/valgrind-suppressions: Suppress memleak in gpgme_data_new_from_mem()

2022-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Remove obsolete module strpbrk

2022-07-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/spell-checker: Fix some shellcheck issues [skip ci]

2022-07-03 DalmeGNU <dalmemail@gmail.com>

     Implement --check-certificate=quiet
     
     * include/wget/wget.h: Add WGET_SSL_REPORT_INVALID_CERT macro
     * libwget/ssl_gnutls.c: Change certificate related error_printf() calls, for error_printf_check()
     * libwget/ssl_openssl.c: Consider the case WGET_SSL_REPORT_INVALID_CERT in wget_ssl_set_config_int()
     * libwget/ssl_wolfssl.c: Change certificate related error_printf() calls, for error_printf_check()
     * src/options.c: Admit quiet as a valid value on --check-certificate
     * src/wget_options.h: Move check_certificate from bool to an enum type (with enabled, disabled and log_disabled as values)

2022-07-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (verify_certificate_callback): Fix -Werror=dangling-else

2022-07-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (Minimal/Debian): Fix configure flag

2022-07-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_robots): Fix test error message [skip ci]

2022-07-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Handle comments in robots.txt correctly
     
     * libwget/robots.c (wget_robots_parse): Check for # as terminator.
     * unit-tests/test.c (test_robots): Fix tests, add new test for comments.

2022-07-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_highlevel.c (stream_callback): Log 'Failed to fwrite' instead of 'Failed to write'

2022-07-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_write): Log 'Failed to send' instead of 'Failed to write'

2022-07-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix status code for 5xx errors
     
     * src/wget.c (process_response_header): Set EXIT_STATUS_REMOTE on 5xx.
     * tests/test-i-https.c: New test to check 503 behavior.
     * tests/test-wget-1.c: Likewise.

2022-06-14 DalmeGNU <dalmemail@gmail.com>

     * libwget/bar.c: Redraw all slots of progress bar when resizing the window
     * libwget/bar.c: Set minimum width to bar decorations size, to avoid crashing when resizing terminal

2022-04-22 Avinash Sonawane <rootkea@gmail.com>

     * fuzz/libwget_http_client_fuzzer.c: Silence clang warning

2022-06-23 Avinash Sonawane <rootkea@gmail.com>

     * .gitlab-ci.yml: Add scan-build for `make check`

2022-04-27 Avinash Sonawane <rootkea@gmail.com>

     Fix wget_buffer_trim() for strings with only whitespaces
     
     * libwget/buffer.c: Don't access `start - 1`
     * unit-tests/test.c: Add tests
     
     Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>

2022-04-28 Avinash Sonawane <rootkea@gmail.com>

     Remove redunadnt memcpy() calls and refactor
     
     * libwget/iri.c: Remove redundant memcpy() calls
     * libwget/iri.c: Refactor
     * libwget/dns_cache.c: Refactor

2022-04-27 Avinash Sonawane <rootkea@gmail.com>

     * examples/getstream.c: Initialize array to avoid strduping random memory

2022-04-27 Avinash Sonawane <rootkea@gmail.com>

     * libwget/http_parse.c: Fix sscanf return value check

2022-06-14 Avinash Sonawane <rootkea@gmail.com>

     * unit-tests/test.c (check): Exit if any of the basic tests fail
     
     Found-by: scan-build

2022-06-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_buffer): Add new test

2022-04-28 Avinash Sonawane <rootkea@gmail.com>

     Refactor and fix code formatting
     
     * libwget/vector.c: Refactor
     * libwget/xml.c: Refactor
     * tests/test-include-and-exclude-directories.c: Refactor
     * tests/libtest.c: Fix code formatting

2022-04-28 Avinash Sonawane <rootkea@gmail.com>

     Remove redundant checks and update docs
     
     * libwget/list.c (wget_list_remove): Remove redundant checks
     * libwget/list.c (docs): Specify that it's a circular doubly linked list

2022-04-27 Avinash Sonawane <rootkea@gmail.com>

     * libwget/cookie.c: Don't call memset if cookie_db arg is NULL

2022-04-27 Avinash Sonawane <rootkea@gmail.com>

     Remove memset() calls
     
     * examples/batch_loader.c (main): Likewise
     * examples/check_url_types.c (main): Likewise
     * libwget/metalink.c (add_file_hash): Likewise
     * src/wget.c (program_init): Likewise

2022-04-21 Avinash Sonawane <rootkea@gmail.com>

     * .gitignore: Ignore all executables in libwget/

2022-06-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/Makefile.am: Remove linking of libgnu.la

2022-06-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * Add -Wno-declaration-after-statement to clang-14+ manywarnings

2022-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (convert_links): Remove unused loop variable

2022-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add -Wno-declaration-after-statement to clang-15 manywarnings

2022-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Drop -Wc90-c99-compat -Wlong-long from manywarnings (gcc-12)

2022-06-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md (--progress): Fix the docs for --progress

2022-06-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_progress_type): Improve Wget compatibility

2022-06-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (config): Use PROGRESS_TYPE_BAR as default

2022-06-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add defines for PROGRESS_TYPE_(BAR|NONE)
     
     * src/bar.c: Make use of PROGRESS_TYPE defines.
     * src/wget.c: Likewise.
     * src/wget_bar.h: Define PROGRESS_TYPE_BAR and PROGRESS_TYPE_NONE.

2022-06-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Fix .wgetrc to .wget2rc

2022-05-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/announce_template.txt: New file [skip ci]

2022-05-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Fix pages

2022-05-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Release v2.0.1

2022-05-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Move static wget2.exe to https://gnuwget.gitlab.io/wget2/wget2.exe

2022-05-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (wget_ssl_open): Silence sc_useless_cpp_parens

2022-05-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_get_escaped_resource): Fix escaping space in query part
     
     Examples and explanation in https://gitlab.com/gnuwget/wget/-/issues/10

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: mkdir public for static MinGW build

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: mkdir /public for static MinGW build

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: unset CC for MinGW static

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     i* .gitlab-ci.yml: Fix MinGW static build

2022-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Build static wget2.exe
     
     The static exe should be available from
       https://gnuwget.gitlab.io/wget2/wget2-latest.exe

2022-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (downloader_thread): Only set EXIT_STATUS_NETWORK on error for the try

2022-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests for --level
     
     * tests/Makefile.am: Add test-level.c.
     * tests/test-level.c: New file with tests for --level.

2022-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-robots.c (main): Add a test for --no-robots

2022-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_urls): Amend info message

2022-03-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (wget_ssl_open): Check for X509_CHECK_FLAG_NEVER_CHECK_SUBJECT (introduced in OpenSSL >= 1.1)

2022-03-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Disable building manylibs by default
     
     * .gitlab-ci.yml: Add --enable-manylibs to Full tests.
     * configure.ac: --disable-manylibs is default.

2022-03-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Use libwget_libadd for *_LIBADD

2022-03-04 Andreas Hubel <andreas.hubel@br.de>

     * libwget/Makefile.am: Add INTL_MACOSX_LIBS to LIBADDs
     
     Copyright-paperwork-exempt: Yes

2022-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * */Makefile.am: Reorder link libraries (libgnu.la first)

2022-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (print_help): Fix warning about missing case in switch

2022-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2022-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (print_help): Remove unreachable code

2022-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * gitlab-ci.yml: Switch off git CA verification on FreeBSD globally

2022-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * gitlab-ci.yml: Switch off git CA verification on FreeBSD

2022-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Extend error messages with URL

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Skip sc_indent in 'make syntax-check'

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (print_openssl_time): Use _() around error message

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix storage files in help text and in the docs
     
     * docs/wget2.md: Fix ~/.wget-* to $XDG_DATA_HOME/wget/.wget-*
     * src/options.c: Likewise.

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix copyright statements

2022-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Update copyright year

2022-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/dns.c (wget_dns_cache_ip): Put '' around host/ip in error message

2022-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix -k/--convert-links fragment
     
     * src/wget.c (convert_link_file_only): Use wget_debug_printf instead of wget_info_printf,
       (convert_links): Add fragment.
     * tests/test-k.c: Add fragment to test.

2022-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Properly escape URLs with -k/--convert-links
     
     * src/wget.c (convert_link_whole): Use wget_iri_escape_path() instead of wget_buffer_strcat().
     * tests/test-k.c (main): Add test of URL with query part including escaped characters.

2022-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test--*.c: Rename to test-*.c

2022-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix issue reported by scan-build
     
     * include/wget/wget.h: /// -> //.
     * libwget/netrc.c (unescape_password): Check wget_malloc() return against NULL.
     * libwget/xml.c (wget_xml_parse_file): Likewise.

2022-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_cookies): Fix false reporting of a PSL error

2022-02-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --directory-prefix with --content-disposition
     
     * src/blacklist.c (get_local_filename): Remove static from definition.
     * src/wget_blacklist.h (get_local_filename): Add declaration.
     * src/wget.c (process_response): Use get_local_filename() to process
       the filename from Content-Disposition,
       (get_header): Likewise.
     * tests/Makefile.am: Add new test file test-directory-prefix.c.
     * tests/test-directory-prefix.c: New test file.

2022-02-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Allow spaces and \ escaping in passwords in .netrc
     
     This is Wget1.x compatible.
     
     * docs/wget2.md: Document the new behavior.
     * libwget/netrc.c (wget_netrc_db_load): Amended the code to allow \ and "".
     * unit-tests/test.c (test_netrc): Add tests.

2022-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (prepare_file): Use wget_strdup instead of wget_asprintf

2022-01-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix obscure Windows (Win11) recv() issue (returns 0 without a reason)
     
     * libwget/http.c (wget_http_get_response_cb): Continue HTTP/2 loop if recv()
       return 0.
     
     Fixes https://github.com/rockdaboot/wget2/issues/256

2022-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Amend debug output [skip ci]

2022-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw.static: Add build instructions for zlib-ng [skip ci]

2022-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw.static: Add build instructions for nghttp2 [skip ci]

2022-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_cookies): Check wget_cookie_db_load_psl() return value

2022-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Unlink output document when --unlink is given

2022-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     WolfSSL: Fix buffer overflow in SHA512 hashing
     
     * libwget/hashfile.c (wget_hash_deinit, WOLFSSL): Include wolfssl/options.h.

2022-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix deflate decompression when server omits the header
     
     * libwget/decompressor.c (gzip_decompress): Retry decompression without header

2022-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Remove -no-whole-archive (due to the previous commit reversion)

2022-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "build: Use -Wl,--no-whole-archive"
     
     This reverts commit acfa50d31c453bca61620306e0aeeb577b4533c0.

2022-01-01 Ander Juaristi <a@juaristi.eus>

     OpenSSL: OCSP: Be more realistic with update times

2022-01-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update due to busybox sed issue

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use Debian testing for the pages runner

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c: Comment out unneeded code

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c (wget_ssl_open): Fix memory leak

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/valgrind-suppressions: Suppress glibc false positive in dynnamic loading

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Add --gen-suppressions=all to valgrind options

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use DEBIAN_TESTING_BUILD for Full+VPATH/Debian

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add support for unquoted HTML attribute values
     
     * libwget/xml.c (getHTMLValue): New function.
       (getValue): Call getHTMLValue if parsing HTML.
     * tests/test-base.c: Use an unquoted HREF value to trigger the new code.

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (check_ocsp_response): Print issue and update time

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Code cleanup

2022-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (check_ocsp_response): Fix OCSP checks

2021-12-30 Ander Juaristi <a@juaristi.eus>

      * libwget/ssl_openssl.c: Use SHA-1 for OCSP signature

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Continue after OCSP failed other than REVOKED

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (read_ocsp_uri_from_certificate): Free string stack after use

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (read_ocsp_uri_from_certificate): Rewrite implementation of OCSP URI retrieval

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use Debian stable instead of Debian stretch

2021-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (check_cert_chain_for_ocsp): Fix number of ignored OCSP responses

2021-12-30 Ander Juaristi <a@juaristi.eus>

     openssl: Do not check max time in stapled OCSP

2021-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/utils.c: Enable debug logs if mkdir() fails, except for errno=EEXIST

2021-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/utils.c: Reduce debugging for calls to mkdir()

2021-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Do not treat 'Cannot resolve URI' as error

2021-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_response_header): Use keep-alive for HTTP/1.1 and higher as default

2021-12-24 Tim Rühsen <tim.ruehsen@gmx.de>

      src/wget.c (nop): Call exit() instead abort() on SIGTERM

2021-12-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (nop): Call exit() instead abort() on 2nd CTRL-C

2021-12-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (http_create_request): Fix replacing Content-Type: headers

2021-12-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (process_response_header): Fix NULL pointer access

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (iri_unescape_inline): Avoid harmless integer overflow

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Avoid function pointer casts to different type
     
     * libwget/hpkp_db.c (hpkp_save_pin, hpkp_save): Change parameter types.
     * libwget/hsts.c (hsts_save): Likewise.
     * libwget/ocsp.c (ocsp_save_fingerprint, ocsp_save_host): Likewise.
     * libwget/tls_session.c (tls_session_save): Likewise.
     * src/host.c (_search_host_for_free_job): Likewise.

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (ssl_writev): Suppress clang's -Wcast-function-type

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Use sa_handler instead of sa_sigaction
     
     * examples/batch_loader.c (main): Use sa_handler instead of sa_sigaction.
     * examples/check_url_types.c (main): Likewise.
     * src/wget.c (program_init): Likewise.

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Amend warnings for clang 12+ and 13+

2021-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Add --disable-full-test-suite to gnutls configure options

2021-11-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Move syntax-check to CI
     
     * .gitlab-ci.yml: Add `make syntax-check` to Full runner.
     * Makefile.am: Remove syntax-check from `make check`.

2021-11-18 Dmitry Marakasov <amdmi3@amdmi3.ru>

     * configure.ac: Fix OpenSSL library name
     
     If pkg-config check fails (which is the case on FreeBSD where system openssl does not have pkgconfig files), check for libssl library instead of incorrect libopenssl.
     
     Copyright-paperwork-exempt: Yes

2021-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Error if xattr have been requested but are not available

2021-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Don't build with lzma on default

2021-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Don't build with bzip2 on default

2021-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix fallback to AC_SEARCH_LIBS

2021-10-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw.static: New script to build a static wget2.exe

2021-10-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Replace gnutls_free() with free()
     
     I did this after having issues to build a static MinGW Wget2.exe.
     gnutls_free() was not properly exported by libgnutls.a.

2021-10-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Replace gnutls_free() with free()
     
     I did this after having issues to build a static MinGW Wget2.exe.
     gnutls_free() was not properly exported by libgnutls.a.

2021-10-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Update MinGW build script
     
     * .gitlab-ci.yml: Remove copying pthread_sigmask.c.mingw.
     * contrib/mingw: Update for latest dependency versions.
     * pthread_sigmask.c.mingw: Remove file.

2021-09-28 orbea <orbea@riseup.net>

     contrib: Remove unused libtool patch
     
     After the previous commit it now uses -Wl,--no-whole-archive
     instead of patching libtool in the build system. This is more
     portable for other libtool implementations other than the one
     by GNU.

2021-09-28 orbea <orbea@riseup.net>

     build: Use -Wl,--no-whole-archive
     
     This fixes the build with slibtool which does not have
     -no-whole-archive and avoids having to patch libtool
     in the build system.
     
     Since this is a linker argument and not a libtool argument
     it should be passed explicitly to the linker with -Wl.

2021-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Don't escape double quotes in AC_MSG_ERROR

2021-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix bashism == in if expression

2021-09-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix --without-lzip

2021-09-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Add contrib/libtool.patch to EXTRA_DIST

2021-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/announce_2.0.0.txt: Add list of noteworthy changes

2021-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/release: Add symlink for latest tarball [skip ci]

2021-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * NEWS: Set date + month of 2.0.0 release

2021-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     NEWS: Prepare for release v2.0.0

2021-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/announce_2.0.0.txt: New file

2021-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Update versions

2021-08-07 Jeffrey Marius <getjff@gmail.com>

     Fix issue #467 Adding wiki as submodule to repo
     
     * bootstrap.conf: Add clone_wiki() and call it from
       bootstrap_post_import_hook().
     
     Signed-off-by: Jeffrey Marius <getjff@gmail.com>

2021-08-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test--page-requisites.c: Add tests for new rel parsing

2021-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix the rel attribute handling for link tags

2021-07-07 Michael Roosz <michael.roosz@check24.de>

     * libwget/http.c (wget_http_response_cb): Fix chunked transfer

2020-11-22 Sergei Litvin <litvindev@gmail.com>

     Fix parsing comments in <style> content
     
     * libwget/xml.c: Add new function getStyleContent(),
       (parseXML): Use getStyleContent() instead of getContent(),
       update link in comment.

2021-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_html_url_fuzzer.dict: Add 'data:' to dictionary

2021-05-30 Michael Roosz <michael.roosz@check24.de>

     * libwget/html_url.c (html_get_url): Support data: URL in srcset attribute

2021-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Mention that -P creates the prefix directory

2021-05-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c: Free memory in test_parse_header_line()

2021-05-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix request path escaping
     
     * include/wget/wget.h: Remove function wget_iri_isunreserved_path().
     * libwget/iri.c: Remove function wget_iri_isunreserved_path().
       (iri_ctype): Extend array with unreserved characters.
       (wget_iri_isunreserved): Simplify code.
       (wget_iri_escape): Use macro iri_isunreserved instead of wget_iri_isunreserved().
       (wget_iri_escape_path): Add RFC links to function comment,
       Fix check whether char needs percent-encoding or not,
       Use macro iri_isunreserved instead of wget_iri_isunreserved().

2021-03-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c: Remove old comment from RFC 2183.

2021-03-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Add test case for Content-Disposition
     
     * libwget/http_parse.c: Update comment with BNF of RFC 6266.
     * unit-tests/test.c: Add test for a filename containing space.

2021-02-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Drop manywarnings and SSL support on FreeBSD CI

2021-02-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Include openssl/asn1.h for ASN1* functions.

2021-02-07 Michael Roosz <michael.roosz@check24.de>

     * src/wget.c (prepare_file): Skip file name filter if config.filter_urls is active

2021-02-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix building without TLS library
     
     This changes configure semantics to fail if no TLS library
     is found and no --with-ssl=none was explicitly requested.
     It protects users from accidentally building without TLS.
     
     * .gitlab-ci.yml: Tarball build using --with-ssl=none.
     * configure.ac: Stop with error if no TLS was found and --with-ssl
       was not used.
     * tests/libtest.c: Fix issues with conditionally declared variables.

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Allow failure for FreeBSD runner

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Fix for openssl/clang

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-ocsp-server.c: Skip cert revocation check for WolfSSL

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-post-handshake-auth.c (main.c): Fix warning when building with non-gnutls libraries

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Separate GnuTLS in wget2 and in test suite
     
     * configure.ac: Separate GnuTLS in wget2 and in test suite.
     * tests/libtest.c: Use WITH_GNUTLS_OCSP insteadof WITH_OCSP.

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Improve searching for SSL/TLS libraries

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2021-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (get_tls_version): Fix error in case construct for LibreSSL

2021-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-chunked.c: Extend test with hand-crafted chunked pattern

2021-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Remove superfluous space in debug msg

2021-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hsts.c (hsts_db_add_entry): Fix possible NULL access

2021-01-24 Michael Roosz <michael.roosz@check24.de>

     * libwget/http.c (wget_http_get_response_cb): Fix NULL ptr access

2021-01-24 Michael Roosz <michael.roosz@check24.de>

     * libwget/http.c (wget_http_response): Fix buffer overflow

2021-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Detect unresolved AX_ macros

2021-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Use noyywrap for AC_PROG_LEX

2020-12-29 Michael Roosz <michael.roosz@check24.de>

     Fixed error log for non-fatal inflate() return code Z_BUF_ERROR
     
     * libwget/decompressor.c (gzip_decompress): Return 0 for Z_BUF_ERROR.

2021-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix for autoconf 2.70

2021-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap: Update from gnulib

2021-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2021-01-22 Darshit Shah <darnir@gnu.org>

     Update copyright year

2021-01-03 Darshit Shah <git@darnir.net>

     Update POTFILES.in

2021-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Michael Heerklotz [skip ci]

2021-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Michael Roosz [skip ci]

2021-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.yml: Remove unneeded packages for Linux

2021-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Small cleanups

2021-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Remove superfluous 'x' ahead of variables

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix combination of redirections with --retry-on-http-error
     
     * src/wget.c: Move some code logic around.
     * tests/test-interrupt-response.c: Correct expected wget2 exit status.
     * tests/test-redirection.c: Add tests for --retry-on-http-error.
     
     Reported-by: Sergei Litvin

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (print_version): Print https and ssl properly for OpenSSL and WolfSSL

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Reduce duplicated code in check_status_code_list().
     
     * src/wget.c (check_status_code_list): Call check_statuscode_list().

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (downloader_thread): Add check_statuscode_list() for readability

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename config.http_retry_on_error to config.retry_on_http_error
     
     * src/options.c (options,deinit): Rename.
     * src/wget.c (downloader_thread): Rename.
     * src/wget_options.h (struct config): Rename.

2020-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Add --tries=1 to wget2 command line

2020-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Sergei Litvin

2020-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test_start_server): Fix warning 'break will never be executed'

2020-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test_start_server): Fix unused variable warning

2020-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Use AC_CONFIG_MACRO_DIR only once
     
     This fixes #547 (autotools 2.70 is more restrictive).
     Reported by: Gabriele Balducci

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix clang 11 warnings in WolfSSL code.
     
     * libwget/hashfile.c (wget_hash_fast): Cast size_t to unsigned int.
       (wget_hash): Likewise.
     * libwget/ssl_wolfssl.c (ShowX509): Use XFREE without trailing semicolon.
       (wget_ssl_open): Use 64bit to 32bit casts to pacify clang 11.

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix findings from scan-build 11
     
     * libwget/dns.c (wget_dns_resolve): 'rc' was set but not used.
     * libwget/http.c (wget_http_get_response_cb): 'rc' was set but not used.
     * libwget/net.c (wget_tcp_connect): 'rc' was set but not used.
     * libwget/ssl_gnutls.c (send_ocsp_request): 'rc' was set but not used.

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix findings from scan-build 11
     
     * examples/batch_loader.c (_normalize_location): 'rc' was set but not used.
     * examples/check_url_types.c (_normalize_location): 'rc' was set but not used.

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix findings from scan-build 11
     
     * src/job.c (job_validate_file): 'rc' was set but not used.
     * src/options.c (parse_proxy): Fix return value.
     * src/wget.c (input_thread): 'rc' was set but not used.

2020-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix findings from scan-build 11
     
     * tests/libtest.c (_parse_hostname): Fix += into +.
       (_answer_to_connection): Limit scope of body_len.

2020-12-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_response_header): Fix (harmless !?) UB

2020-12-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add -Wno-implicit-int-float-conversion for clang >= 11

2020-12-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix type warnings on 32bit systems
     
     * libwget/http.c (wget_http_get_response_cb): Fix printf format from %lX to %zX.
     * libwget/ssl_openssl.c (wget_ssl_deinit): Fix sesslen to size_t.
     * src/stats_site.c (print_csv_entry): Use %lld and cast to long long.

2020-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Test for bashisms in Debian Testing

2020-10-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix configure.ac bashisms
     
     Reported-by: Brian Inglis

2020-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Remove python as dependency
     
     /usr/bin/python don't exist here any more. 'python2' and 'python3' do
     exist.

2020-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2020-10-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix contrib/mingw

2020-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.yml: libunistring0 -> libunistring

2020-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use brew upgrade for Travis CI OSX

2020-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Update Travis CI to bionic

2020-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.sh: Output tail -1000 of test logs

2020-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashmap.c (wget_hashmap_iterator_next): Fix segfault

2020-08-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Implement --download-attr=[strippath|usepath]
     
     * docs/wget2.md: Amend docs.
     * src/options.c: Add parse_download_attr(),
       amend option --download-attr.
     * src/wget.c (queue_url_from_remote): Strip path if
       DOWNLOAD_ATTR_STRIPPATH is set.
     * src/wget_options.h: Add enum download_attr_mode.
     * tests/test-download-attr.c: Test strippath and usepath.

2020-08-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Fix indentation, remove leading _ from variable

2020-06-06 Ander Juaristi <a@juaristi.eus>

     Update OCSP responses and certs
     
     tests/certs/ocsp/*: Fix the cert stack for the testing HTTPS+OCSP server.

2020-06-06 Ander Juaristi <a@juaristi.eus>

     libtest: send normal cert chain in OCSP stapling HTTPS server
     
      * tests/libtest.c (_ocsp_stap_cert_callback): rename variable
        'pcert' -> 'certs'.
        (_http_server_start): send normal cert chain in responses.

2020-05-23 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Enable test-ocsp-stap
     
     This commit enables the test `test-ocsp-stap`
     
     It was previously skipped for OpenSSL since OCSP stapling was not
     yet implemented in OpenSSL.
     
     This commit also modifies these tests to pass the --no-ocsp-date flag to
     wget2.
     
      * tests/test-ocsp-stap.c (main): remove ifdef clause; pass
        --no-ocsp-date flag.

2020-05-09 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Implement OCSP stapling
     
     * libwget/ssl_openssl.c (ocsp_resp_cb): new function: stapled OCSP
       response callback.
       (check_ocsp_response): do not check OCSP nonce here.
       (verify_ocsp): check OCSP nonce here.
       (openssl_init): set stapled OCSP callback function, ocsp_resp_cb.
       (openssl_open): send status_request extension in handshake.
     * tests/libtest.c (_http_server_start): Fix callback macro

2020-08-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Create /usr/bin/python before bootstrap

2020-08-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2020-07-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Fix MHD 0.97.1 ABI/API breakage

2020-07-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (init): Fix spelling

2020-06-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Fix crash introduced in fa3c71c85

2020-05-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/decompressor.c (zstd_decompress): Avoid calls to sink with 0 length
     
     Calls to sink() with length == 0 made -S output the header several times when
     Content-Encoding was zstd.

2020-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (wget_ssl_init): Add debug msgs regarding system cert store

2020-04-26 huangzsh7 <huangzsh7@gmail.com>

     Delete obsolete code comment
     
     * src/wget.c (test_modify_hsts): Delete obsolete code comment

2020-04-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove CR and LF from URLs
     
     * libwget/iri.c (iri_unescape_inline): Remove CR/LF from URL.
     * tests/test-base.c: Add CR+LF into URL.
     
     References
     https://gitlab.com/gnuwget/wget2/-/issues/522

2020-04-19 huangzsh7 <huangzsh7@gmail.com>

     Create test cases
     
     * tests/test-wget-1.c (main): Create test cases for --chunk-size with --progress

2020-04-19 huangzsh7 <huangzsh7@gmail.com>

     Add name in AUTHORS for CommitCheck

2020-04-19 huangzsh7 <huangzsh7@gmail.com>

     Fix segmentation faults when chunk-size and progress=bar are present
     
     * src/wget.c (http_send_request): Keep the received response header when use chunk-size and progress=bar

2020-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix warning when converting void * to function pointer
     
     * unit-tests/test-dl.c (test_fn_check): Add #pragma to suppress
       -pedantic when converting void * to function pointer.
     
     POSIX requires a conversion from 'void *' into a function pointer to work.
     But -pedantic throws 'ISO C forbids conversion of object pointer to function
     pointer type'.

2020-04-11 Andreas Schwab <schwab@suse.de>

     Fix strict aliasing violation
     
     * unit-tests/test-dl.c (test_fn_check): Avoid strict aliasing
     violation.

2020-04-11 Andreas Schwab <schwab@suse.de>

     Fix undefined behaviour in test_buffer_printf
     
     * unit-tests/test.c (test_buffer_printf): Cast argument to printf
     function to correct type.

2020-03-25 Ander Juaristi <a@juaristi.eus>

     test-ocsp-stap: Skip
     
     OCSP stapling is not yet supported in OpenSSL.
     
      * tests/test-ocsp-stap.c (main): skip this test in OpenSSL

2020-01-12 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Update stats
     
      * libwget/ssl_openssl.c (openssl_revocation_check_fn): update stats
        (wget_ssl_open): update stats

2019-09-16 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Add OCSP support
     
      * libwget/ssl_gnutls.c: replace _config with config
      * libwget/ssl_openssl.c (wget_ssl_set_config_int): new options
        WGET_SSL_OCSP_NONCE and WGET_SSL_OCSP_DATE.
        (openssl_revocation_check_fn): implement OCSP in the OpenSSL backend,
        and update stats
        (ssl_set_alpn_selected_protocol): update stats
        (verify_hpkp): update stats
        (wget_ssl_open): update stats

2019-10-19 Ander Juaristi <a@juaristi.eus>

     Include serverAuth extension in OCSP certificates
     
     Since the OCSP tests use the same certificate chain for both the OCSP server and
     the HTTPS server, the 'serverAuth' flags needs to be added, in addition to the OCSP flags.
     
     OpenSSL will refuse to run a TLS handshake for HTTPS if that flag is not present.
     
      * tests/certs/ocsp/demoCA/*, tests/certs/ocsp/*.pem: change testing certificates
      * tests/certs/ocsp/ocsp_resp_revoked.der,
        tests/certs/ocsp/ocsp_stapled_resp.der
        tests/certs/ocsp/ocsp_resp_ok.der: update OCSP responses to contain
        the new certificates
      * tests/certs/ocsp/interm.cnf: add the serverAuth extension
      * tests/certs/ocsp/root-template.txt: likewise

2019-09-16 Ander Juaristi <a@juaristi.eus>

     Adapt configure.ac to support multiple SSL/TLS backends
     
     This patch modifies `configure.ac` to support GnuTLS, OpenSSL and wolfSSL as the SSL/TLS backends.
     
     Either of these can be enabled at compile time the `configure` switch `--with-ssl`. Example:
     
         ./configure --with-ssl=openssl
     
     If `--with-ssl` is omitted, the default behavior will be to build with GnuTLS if available, and without
     TLS if not. TLS can be explicitly disabled with `--without-ssl`.
     
     Regardless of which specific backend has been selected, the TLS and OCSP tests will always be built with GnuTLS,
     as that is the only backend currently supported in the test suite.
     
     It renames the constant `HAVE_GNUTLS_OCSP_H` to a more generic `WITH_OCSP`, that captures
     the notion that OCSP has been enabled at compile-time, hiding the specific backend.
     
     Changed files
     
      * configure.ac: honor --with-ssl option, but keep on testing for GnuTLS
        for the test suite.
      * libwget/ssl_gnutls.c: replace HAVE_GNUTLS_OCSP_H with WITH_OCSP
      * libwget/ssl_openssl.c: likewise
      * tests/libtest.c: replace HAVE_GNUTLS_OCSP_H with WITH_OCSP.
        Check for WITH_GNUTLS_IN_TESTSUITE.

2020-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Remove undefining FILE_SYSTEM_PREFIX_LEN

2020-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2020-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/dns_cache.c (wget_dns_cache_add): Fix bitwise to logical OR (cppcheck)

2020-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h (wget_hsts_host_match_fn): Fix argument names (cppcheck)

2020-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Work around redundant define in gnulib

2020-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (struct _stats_data_t): Remove unused struct

2020-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c (add_mirror): Code cleanup

2020-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c (metalink_parse): Check return value of wget_strmemcpy_a

2020-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c (html_get_url): Check return value of wget_strmemcpy_a

2020-03-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_set_bind_address): Simplify code

2020-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (options): Fix indentation and alignment

2020-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix indentation for some tests
     
     * tests/test-parse-css.c: Fix indentation.
     * tests/test-parse-html-css.c: Likewise.
     * tests/test-parse-rss.c: Likewise.

2020-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests for --download-attr
     
     * tests/Makefile.am: Add tests/test-download-attr.c.
     * tests/test-download-attr.c: New file.

2020-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new option --download-attr
     
     * src/options.c (options): Add new option --download-attr.
     * src/wget.c (html_parse): Check for config.download_attr.
     * src/wget_options.h (struct config): Add new member download_attr.

2020-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Implement HTML download attribute
     
     * bootstrap.conf: Add gnulib module 'filename'.
     * src/blacklist.c (get_local_filename_real): Remove const from return type.
       (get_local_filename): Likewise.
     * src/wget.c: Include "filename.h".
       (queue_url_from_remote): Add param 'download_name'.
       (queue_url_from_remote): Change local filename to that given by 'download' tag.
       (html_parse): Create C string from 'download' value.
     * src/wget_blacklist.h (blacklist_entry): Remove const from local_filename.

2020-02-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Parse HTML download attribute
     
     * examples/print_html_urls.c: Print download attribute.
     * include/wget/wget.h (wget_html_parsed_url): Add download member.
     * libwget/html_url.c (html_get_url): Parse download attribute.

2020-03-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_send_request): Fix unused variable without WITH_LIBNGHTTP2

2020-02-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Implement data upload for HTTP/2

2020-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/printf.c (wget_vsnprintf): Fix size in call to wget_buffer_init

2020-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xml.c (parseXML): Remove use of VLA

2020-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c (wget_ssl_open): Safer code with wget_strmemcpy_a

2020-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/printf.c (wget_printf): Optimize code

2020-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_set_bind_address): Safer code with wget_strmemcpy_a

2020-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c (add_mirror): Safer code with wget_strmemcpy_a

2020-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (parse_proxies): Safer code with wget_strmemcpy

2020-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c (html_get_url): Simplify code with wget_strmemcpy_a

2020-02-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/valgrind-suppressions: Add GnuTLS suppression

2020-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (sitemap_parse_text): Simplify code by using wget_strmemcpy_a

2020-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (struct optionw): Use fixed length for long_name
     
     This reduces reallocations in the executable, reducing size by ~4k (stripped).

2020-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new function wget_strmemcpy_a
     
     * include/wget/wget.h: Add prototype of wget_strmemcpy_a.
     * src/mem.c: Implement wget_strmemcpy_a.
     * libwget/http_parse.c (wget_http_parse_header_line): Use wget_strmemcpy_a.
     * src/utils.c (mkdir_path): Likewise.

2020-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Let wget_strmemcpy return the number of copied bytes
     
     * include/wget/wget.h: Set return type of wget_strmemcpy to size_t.
     * libwget/mem.c (wget_strmemcpy): Return length of destination string.
     * unit-tests/test.c: Amend tests of wget_strmemcpy.

2020-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (Scan-Build/Debian): Do not use security checker
     
     The security checker complains about not using the C11 _s functions.
     We don't want to use them, see also
     http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1969.htm

2019-12-09 Suhas K S <suhasks123@gmail.com>

     Add option --bind-interface
     
     * libwget/net.h (wget_tcp_st): New variable
       const char *bind_interface.
     * libwget/net.c: Add function wget_tcp_bind_interface().
       (set_socket_options): Add parameter wget_tcp *tcp and
       implement binding of tcp to bind_interface.
     * libwget/init.c (wget_global_init): Call wget_tcp_bind_interface().
     * include/wget/wget.h: Add wget_tcp_bind_interface() and
       WGET_BIND_INTERFACE.
     * src/options.c: Add --bind-interface handling.
       (init): Call wget_tcp_bind_interface().
     * src/wget2_options.h (config): Add const char *bind_interface.
     * docs/wget2.md: Add documentation for --bind-interface.
     
     This finishes task #430

2020-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     tests/valgrind-suppressions: Add GnuTLS suppression

2020-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Amend docs regarding -q -O- [skip ci]

2020-02-16 Tim Rühsen <tim.ruehsen@gmx.de>

     New configure switch --disable-manylibs
     
     * NEWS: Add --disable-manylibs
     * configure.ac: Implement --disable-manylibs
     * libwget/Makefile.am: Likewise
     
     This switches off building small libraries from libwget functionality groups.

2019-08-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_decompress
     
     * libwget/Makefile.am: Add libwget_decompress.la
     * libwget/test_linking_compress.c: New file

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_netrc
     
     * libwget/Makefile.am: Add libwget_netrc.la
     * libwget/test_linking_netrc.c: New file

2019-08-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_metalink
     
     * libwget/Makefile.am: Add libwget_metalink.la
     * libwget/test_linking_metalink.c: New file

2019-08-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_xml
     
     * libwget/Makefile.am: Add libwget_xml.la
     * libwget/test_linking_xml.c: New file

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_http_parse
     
     * libwget/Makefile.am: Add libwget_http_parse.la
     * libwget/test_linking_htp_parse.c: New file

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_tls_session
     
     * libwget/Makefile.am: Add libwget_tls_session.la
     * libwget/test_linking_tls_session.c: New file

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_ocsp
     
     * libwget/Makefile.am: Add libwget_ocsp.la
     * libwget/test_linking_ocsp.c: New file

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_hsts
     
     * libwget/Makefile.am: Add libwget_hsts.la
     * libwget/test_linking_hsts.c: New file

2019-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_robots
     
     * libwget/Makefile.am: Add libwget_robots.la

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_dns
     
     * libwget/Makefile.am: Add libwget_dns.la
     * libwget/test_linking_dns.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_dnscache
     
     * libwget/Makefile.am: Add libwget_dnscache.la
     * libwget/test_linking_dnscache.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_logger
     
     * libwget/Makefile.am: Add libwget_logger.la
     * libwget/test_linking_logger.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_hpkp_db
     
     * libwget/Makefile.am: Add libwget_hpkp_db.la
     * libwget/test_linking_hpkp_db.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_hashfile
     
     * libwget/Makefile.am: Add libwget_hashfile.la
     * libwget/test_linking_hashfile.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_io
     
     * libwget/Makefile.am: Add libwget_io.la
     * libwget/test_linking_io.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_progress
     
     * libwget/Makefile.am: Add libwget_progress.la
     * libwget/test_linking_progress.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_thread
     
     * libwget/Makefile.am: Add libwget_thread.la
     * libwget/test_linking_thread.c: New file

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_css
     
     * libwget/Makefile.am: Add libwget_css.la
     * libwget/test_linking_css.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_iri
     
     * libwget/Makefile.am: Add libwget_iri.la
     * libwget/test_linking_iri.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_encoding
     
     * libwget/Makefile.am: Add libwget_encoding.la
     * libwget/test_linking_encoding.c: New file

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_common
     
     * libwget/Makefile.am: Add libwget_common.la
     * libwget/test_linking_common.c: New file

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_ip
     
     * libwget/Makefile.am: Add libwget_ip.la

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate library libwget_alloc
     
     * libwget/Makefile.am: Add libwget_alloc.la

2019-05-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Patch libtool to add -no-whole-archive
     
     * cfg.mk: Exclude contrib/libtool.patch from 'make syntax-check'
     * configure.ac: Patch libtool
     * contrib/libtool.patch: New file
     * lib/Makefile.am: Unset $LIBS
     * libwget/Makefile.am: Use -no-whole-archive
     
     This patch keeps the libwget libraries short by not adding
     *everything* from lib/libgnu.a.

2020-02-12 Rohan Fletcher <rohfle@gmail.com>

     Skip HTTP/2 testing for test-interrupt-response
     
     * tests/test-interrupt-response.c: Set WGET_TEST_SKIP_H2

2020-02-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Fix badge for Build Status [skip ci]

2020-02-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Build own badges for coverage and fuzz-coverage
     
     * contrib/make-coverage-badge: Add script to create badges
     * .gitlab-ci.yml: Create coverage and fuzz-covrage badges
     * README.md: Display badges

2020-02-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*_fuzer.in/*: Update OSS-Fuzz corpora from upstream

2020-02-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Remove -all-static from AM_LDFLAGS

2020-02-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/README.md: Update docs

2020-02-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add 'linux' to 'tags:'

2020-02-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Make more use of 'restrict' keyword

2020-02-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (safe_ctime): Suppress -Wformat-y2k around strftime %c

2020-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (http_receive_response): Set mtime to last_modified-1 on partial download

2020-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-interrupt-response.c: Fix for wget2, add one more test

2020-01-29 Rohan Fletcher <rohfle@gmail.com>

     Added test simulations of aborts while sending response body
     
     * tests/Makefile.am: add tests/test-interrupt-response test
     * tests/libtest.c (_callback_interruptable, _answer_to_connection):
       add interruptable response callback, enable in wget_test_url_t
       settings
     * tests/libtest.h: added interrupt_response_mode and
       interrupt_response_after_nbytes to wget_test_url_t
     * tests/test-interrupt-response.c: add test for interruptable
       responses and interrupt of responses while timestamping active

2020-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/gpg/pubring.kbx: Update

2020-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Reduce timeout from 10s to 3s

2020-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Amend error output to be more informative / prominent

2020-01-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Amend retry strategy for job failures
     
     This introduces retries and and pauses for JOBs.
     Formerly, we only had a host failure strategy.
     
     * src/wget_job.h (struct JOB): Add retry_ts and failures
     * src/host.c (_search_queue_for_free_job): Check for pause after failure
     * src/wget.c (downloader_thread): Rearrange code for job retry strategy

2020-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Rohan Fletcher [skip ci]

2020-01-27 Suhas K S <suhasks123@gmail.com>

     Add --background support for Windows
     
     * src/wget.c: Add function make_section_name(),
       fake_fork_child(), fake_fork(), fork_to_background().
       Add struct fake_fork_info.
     * docs/wget2.md: Remove [Not Supported on Windows yet]
       from --background.
     
     Closes issue #457
     
     Copyright-paperwork-exempt: Yes

2020-01-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use tag 'linux' instead 'docker'

2020-01-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib to fix FreeBSD CI runner
     
     * gnulib: Update
     * .gitlab-ci.yml: Remove --enable-threads=isoc from ./configure

2020-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update to fix use-after-free in glob()
     
     This fixes OSS-Fuzz issue 20176.

2020-01-10 Darshit Shah <darnir@gnu.org>

     * Update copyright year to 2020

2020-01-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.-yml: Add --enable-threads=isoc to FreeBSD configure run

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Do not use -Werror for ./configure run

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Update Makefile.am for latest gnulib
     
     * examples/Makefile.am: Amend LDADD assignment
     * fuzz/Makefile.am: Likewise
     * libwget/Makefile.am: Likewise
     * src/Makefile.am: Likewise
     * tests/Makefile.am: Likewise
     * unit-tests/Makefile.am: Likwise

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix clang warning '-Wunreachable-code' in tests/
     
     * tests/test--https-enforce-hard3.c: Ignore warning via #pragma
     * tests/test--https-enforce-soft2.c: Likewise

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Suppress clang warning '-Watomic-implicit-seq-cst'

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/css_tokenizer.lex: Suppress clang warning '-Wextra-semi-stmt'

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: CFLAGS_DEFAULT: -O1 -g -ggdb3
     
     The sanitizer does not work with -O0, changed to -O1.

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove manual copying of gnulib directory

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2020-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Move sanitizer CI runner to Debian unstable

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Enable more sanitizer options for UBSAN and ASAN

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bitmap.c: Fix clang sanitizer's false positive (buffer overflow)

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/gpgme.c: Fix implicit conversion

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Fix implicit conversion

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix implicit conversion -1 to size_t

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c: Fix implicit conversions -1 to size_t

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer_printf: Fix implicit conversionsi (use unsigned flag values)

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer_printf: Fix implicit conversions

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Fix implicit conversion -1 to size_t

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_numbytes): Fix 8.35133e+19 outside long long range

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/base64.c (wget_base64_decode): Fix implicit conversion 218 to char

2020-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_parse_base): Fix implicit conversion -1 to size_t

2019-12-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_numbytes): Fix implicit conversion to double

2019-12-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_mem): Fix buffer overflow in test

2019-12-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/commit-check: Don't say 'not found' if found [skip ci]

2019-12-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Fix old types in comments [skip ci]

2019-12-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-cut-get-vars.c: Add three more test variations

2019-12-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --cut-file-get-vars creating dirs on single file download
     
     * tests/test-cut-get-vars.c: Amend to reproduce issue #490.
     * src/blacklist.c (get_local_filename_real): Generate basename
       instead of filename, without query.
     * include/wget/wget.h: Add flag WGET_IRI_WITH_QUERY.
       Add param 'flags' to wget_iri_get_basename.
     * libwget/iri.c: Add param 'flags' to wget_iri_get_basename.
       Implement flag WGET_IRI_WITH_QUERY.
     * fuzz/libwget_iri_fuzzer.c (test): Use WGET_IRI_WITH_QUERY.
     
     Closes #490

2019-12-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/Makefile.am: Add test-cut-get-vars

2019-12-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_iri_get_filename -> wget_iri_get_basename
     
     * fuzz/libwget_iri_fuzzer.c: Likewise.
     * include/wget/wget.h: Likewise.
     * libwget/iri.c: Likewise.
     * src/blacklist.c: Likewise.

2019-12-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix OpenSSL for Win32
     
     * libwget/ssl_openssl.c (wget_ssl_open): Use FD_TO_SOCKET to
       convert POSIX fd to WIN32 socket.
       (ssl_transfer): Use SOCKET_TO_FD to convert WIN32 socket to POSIX fd.
     
     Reported-by: Gisle Vanem

2019-12-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Code cleanup
     
     * src/plugin.c (plugin_db_forward_downloaded_file):
       Change size from uint64_t to int64_t.
     * src/wget_plugin.h (plugin_db_forward_downloaded_file):
       Likewise.
     * src/wget.c (process_response): Likewise.
       Remove n_recurse_iris.

2019-12-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add two new tests for -c
     
     * tests/test-wget-1.c: Test -c with existing empty file.
       Test -c with existing complete file.

2019-12-03 TheAlakazam <piyushjaipuriyar@gmail.com>

     Fix -c with existing zero-length file
     
     * src/wget.c (prepare_file): Replace `> 0` by `>= 0`.
       (wget_http_request): Likewise.
     
     Copyright-paperwork-exempt: Yes

2019-12-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove usage of strerror_r due to diverting GNU/POSIX behavior
     
     * libwget/http_highlevel.c: Likewise
     * libwget/net.c: Likewise
     * src/wget.c: Likewise

2019-11-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update
     
     Fixes #492 (library -lnsl-lintl: not found)

2019-11-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Replace strerror() by strerror_r() in multi-threaded code
     
     * libwget/http_highlevel.c: Likewise
     * libwget/net.c: Likewise
     * src/wget.c: Likewise

2019-11-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix for 'Error on unknown value for --with-ssl'

2019-11-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix for LibreSSL
     
     * libwget/ssl_openssl.c: Some small fixes for LibreSSL
     
     For LibreSSL you need to './configure --with-ssl=openssl'.

2019-11-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Error on unknown value for --with-ssl

2019-11-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * NEWS: Update

2019-11-05 Darshit Shah <darnir@gnu.org>

     Support terminal hyperlinks in output
     
     Some terminal emulators now allow printing hyperlinks through escape
     sequences. See
     https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda for
     more information.
     
     Hyperlink support cannot be gauged accurately. And while most terminals
     just ignore the extra escape sequences, older versions of vte actually
     print the URI along with some garbage. So, in this patch, the hyperlink
     support is disabled by default and used only if the user explicitly
     requests it. Once there is a way to query for feature support in
     terminals, this can be intelligently enabled automatically.
     
     * bootstrap.conf: Add new module xgethostname
     * src/wget_options.h: Add a new option hyperlink and a global variable
       hostname
     * src/options.c: Add a new command line option --hyperlink. This is the
       same option name as `ls` from coreutils for consistency across
       programs
       (init): If the user requests hyperlink support, get the hostname and
       store it. This is to prevent having to get the hostname for each
       downloaded file
     * src/wget.c (prepare_file): Print the filename with a hyperlink if the
       user requests it.
     * docs/wget2.md: Add documentation entry for hyperlinks

2019-10-28 Archit Pandey <archpndy@gmail.com>

     Added --convert-file-only handling
     
     * src/options.c: Add --convert-file-only handling
     * src/wget_options.h (config): Add bool convert_file_only
     * src/wget.c (html_parse): conversions initialized when
     convert_file_only is set
     (main): Call convert_links when config.convert_file_only
     (convert_links): move conversion logic to convert_link_whole and
     convert_link_file_only
     New function convert_link_whole: convert whole URL
     New function convert_link_file_only: convert filename part of URLs
     * tests/test-convert-file-only.c: testcase for --convert-file-only
     with -E
     * tests/Makefile.am: add test-convert-file-only object
     * docs/wget2.md: Removed [unimplemented-option] from
     --convert-file-only

2019-11-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix

2019-11-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Fix output, make use of wget_read_file()

2019-11-02 Archit Pandey <archpndy@gmail.com>

     Add --ignore-length handling
     
     * include/wget/wget.h (wget_http_request): Add bool
     response_ignorelength
     (wget_http_response): Add bool length_inconsistent
     * src/options.c: Add --ignore-length handling
     * src/wget_options.h (config): Add bool ignore_length
     (exit_status_e): Add WGET_EXIT_INCONSISTENT_LENGTH
     * libwget/http.c (wget_http_response_cb): Set length_inconsistent
     when mismatch with Content-Length
     * src/wget.c (wget_send_request): Set ignore-length in request
     * tests/test-ignore-length.c: test --ignore-length
     * tests/Makefile.am: add test-ignore-length
     * docs/wget2.md: Removed [unimplemented-option] from
     --ignore-length

2019-10-20 Darshit Shah <darnir@gnu.org>

     src/libwget.doxy.in: Update doxygen file

2019-10-20 Darshit Shah <darnir@gnu.org>

     Explicitly set the FILE_PATTERNS for doxygen
     
     * docs/libwget.doxy.in: Set FILE_PATTERNS to workaround bug in doxygen
       1.8.16
     
     Fix-by: Tim Ruehsen <rockdaboot@gmail.com>

2019-10-03 Darshit Shah <darnir@gnu.org>

     Add license text to files

2019-09-13 Darshit Shah <darnir@gnu.org>

     Fix license of all tests
     
     All the tests in tests/ are part of Wget2 the binary, not libwget. Fix
     the license and copyright information accordingly.
     
     * tests/libtest.c: libwget -> Wget. LGPLv3+ -> GPLv3+
     * tests/test--accept.c: Same
     * tests/test--filter-mime-type.c: Same
     * tests/test--follow-tags.c: Same
     * tests/test--https-enforce-hard1.c: Same
     * tests/test--https-enforce-hard2.c: Same
     * tests/test--https-enforce-hard3.c: Same
     * tests/test--https-enforce-soft1.c: Same
     * tests/test--https-enforce-soft2.c: Same
     * tests/test--https-enforce-soft3.c: Same
     * tests/test--page-requisites.c: Same
     * tests/test--post-file.c: Same
     * tests/test--save-content-on.c: Same
     * tests/test--spider-r.c: Same
     * tests/test-E-k.c: Same
     * tests/test-auth-basic.c: Same
     * tests/test-auth-digest.c: Same
     * tests/test-bad-chunk.c: Same
     * tests/test-base.c: Same
     * tests/test-c-r.c: Same
     * tests/test-chunked.c: Same
     * tests/test-compression.c: Same
     * tests/test-cut-dirs.c: Same
     * tests/test-cut-get-vars.c: Same
     * tests/test-directory-clash.c: Same
     * tests/test-ftp.c: Same
     * tests/test-ftps.c: Same
     * tests/test-gpg-bad.c: Same
     * tests/test-gpg-invalid.c: Same
     * tests/test-gpg-missing.c: Same
     * tests/test-gpg-save-failed.c: Same
     * tests/test-gpg-styles.c: Same
     * tests/test-gpg-valid.c: Same
     * tests/test-gpg-verify-no-file.c: Same
     * tests/test-gzip.c: Same
     * tests/test-i-http.c: Same
     * tests/test-i-https.c: Same
     * tests/test-idn-cmd.c: Same
     * tests/test-idn-meta.c: Same
     * tests/test-idn-robots.c: Same
     * tests/test-include-and-exclude-directories.c: Same
     * tests/test-iri-disabled.c: Same
     * tests/test-iri-forced-remote.c: Same
     * tests/test-iri-list.c: Same
     * tests/test-iri-percent.c: Same
     * tests/test-iri-subdir.c: Same
     * tests/test-iri.c: Same
     * tests/test-k.c: Same
     * tests/test-limit-rate-http2.c: Same
     * tests/test-limit-rate.c: Same
     * tests/test-meta-robots.c: Same
     * tests/test-metalink.c: Same
     * tests/test-np.c: Same
     * tests/test-ocsp-server.c: Same
     * tests/test-ocsp-stap.c: Same
     * tests/test-p-nc.c: Same
     * tests/test-parse-css.c: Same
     * tests/test-parse-html-css.c: Same
     * tests/test-parse-rss.c: Same
     * tests/test-plugin-dummy.c: Same
     * tests/test-plugin-failure.c: Same
     * tests/test-plugin-interception.c: Same
     * tests/test-plugin-nonexistance.c: Same
     * tests/test-plugin.c: Same
     * tests/test-post-handhshake-auth.c: Same
     * tests/test-redirection.c: Same
     * tests/test-restrict-ascii.c: Same
     * tests/test-robots.c: Same
     * tests/test-stats-dns.c: Same
     * tests/test-stats-ocsp.c: Same
     * tests/test-stats-server.c: Same
     * tests/test-stats-site.c: Same
     * tests/test-stats-tls.c: Same
     * tests/test-timestamping.c: Same
     * tests/test-unlink.c: Same
     * tests/test-wget-1.c: Same

2019-09-13 Darshit Shah <darnir@gnu.org>

     * README: Symlink to README.md

2019-09-13 Darshit Shah <darnir@gnu.org>

     * README.md: Add license information

2019-10-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h (wget_bar_slot_begin): Set 'filename' not NONNULL

2019-10-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Switch off Content-Length sanity checks in MHD

2019-10-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test_start_server): Print MHD info

2019-10-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_http_server_start): Fix checks for MHD options

2019-10-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_send_request): Fix hard-coded GET for HTTP/2

2019-10-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Fix CI failure

2019-10-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_http_server_start): Make use of MHD_OPTION_SERVER_INSANITY

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Add wget_test_set_executable() to test suite
     
     * tests/libtest.h: Add declaration of wget_test_set_executable()
     * tests/libtest.c: Add definition of wget_test_set_executable(),
       add global variable 'global_executable',
       (wget_test): Use 'global_executable' to initialize 'executable',
       (wget_test): Use 'executable' if set

2019-10-27 Archit Pandey <archpndy@gmail.com>

     Added options --method, --body-data, --body-file
     
     * src/wget_options.h (config): Added method, body_data, body_file
     * src/options.c (options): Added --method, --body-data, --body-file
     handling
     * src/wget_job.h (JOB): New variable bool redirect_get
     * src/wget.c (http_create_request): Added support for user
     provided HTTP method and request body
     (process_response_header): Set redirect_get to TRUE for 30x
     response codes
     * tests/test-redirection.c: Added test for redirection with
     --method=POST
     * docs/wget2.md: Removed [unimplemented-option] for --method,
     --body-data, --body-file

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Add method check for test suite
     
     * tests/libtest.h: Add expected_method to wget_test_url_t
     * tests/libtest.c (_answer_to_connection): Check method against expected_method

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Free query.params

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix typo: test-post-handhshake-auth -> test-post-handshake-auth
     
     * tests/Makefile.am: Fix typo in handhshake -> handshake
     * tests/test-post-handhshake-auth.c: Rename to tests/test-post-handshake-auth.c

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): More code cleanup

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Simplify URL expansion

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Code cleanup

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-unlink.c (main): Remove double entry from urls

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Set given status code for response

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-metalink.c: Fix test for HTTP/2

2019-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-E-k.c: Fix for HTTP/2 test

2019-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     SKIP tests failing with MHD 0.9.67
     
     * tests/test--https-enforce-hard3.c: Likewise
     * tests/test--https-enforce-soft2.c: Likewise

2019-10-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Fix loading CA certs when 'system' is not supported

2019-10-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix cookie file header to be recognized by 'file'
     
     * libwget/cookie.c: Use uppercase 'Cookie' and 'File'
     * tests/test-cookies.c: Likewise

2019-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new test file test-E-k.c
     
     * tests/Makefile.am: Add test-E-k.c to tests
     * tests/test-E-k.c: New file

2019-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix conversion (-k) in combination with -E
     
     * src/wget.c (prepare_file): Adjust filename in blacklist if changed,
       (conversions): Change type to wget_stringmap,
       (convert_links): Use stringmap instead of vector,
       (hash_conversion): New function to hash conversion key,
       (compare_conversion): New function to compare conversion entries,
       (remember_for_conversion): Use stringmap instead of vector

2019-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new function blacklist_set_filename()
     
     * src/blacklist.c: Implement blacklist_set_filename()
     * src/wget_blacklist.h: Add declaration of blacklist_set_filename()

2019-10-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix type of 2nd param of wget_stringmap_iterator_next() to void **
     
     * include/wget/wget.h: Likewise
     * unit-tests/test.c: Likewise

2019-10-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Make metalink->iri 'const'
     
     * include/wget/wget.h: Make metalink->iri 'const'
     * libwget/metalink.c (add_mirror): Code cleanup
     * src/wget.c (establish_connection): Skip HTTP mirrors if HTTPS requested,
       (queue_url_from_local): Lock mutex a bit later

2019-10-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Move applying HSTS to queue_url*() functions
     
     * src/wget.c: Add new function test_modify_hsts(),
       (queue_url_from_local): Call test_modify_hsts(),
       (queue_url_from_remote): Call test_modify_hsts(),
       (try_connection): Remove code for applying HSTS

2019-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Use const wget_iri instances
     
     * src/wget_host.h (host_add, host_get): Add 'const' to param
     * src/host.c: Likewise
     * src/stats_site.c: Add 'const' to wget_iri types
     * src/wget.c: Likewise
     * src/wget_job.h (struct JOB): Add 'const' to 'iri'

2019-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Amend job_init() to take blacklist_entry instead of wget_iri
     
     * src/wget_job.h: Amend job_init() to take blacklist_entry instead of wget_iri
     * src/job.c: Likewise
     * src/host.c (host_add_robotstxt_job): Amend call to job_init()
     * src/wget.c (queue_url_from_local): Likewise,
       (queue_url_from_remote): Likewise

2019-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Deduplicate code for creating robots.txt jobs
     
     * src/wget.c (queue_url_from_local): Remove duplicated code,
       (queue_url_from_remote): Likewise,
       (set_file_metadata): Amend calling wget_iri_get_connection_part()
     * include/wget/wget.h (wget_iri_parse_base): Add 'const' to 'base' param,
       (wget_iri_get_connection_part): Add 'const' to 'iri' param,
       add second param 'buf'
     * fuzz/libwget_iri_fuzzer.c (test): Amend calling wget_iri_get_connection_part()
     * libwget/iri.c (wget_iri_get_connection_part): Add param 'buf',
       add 'const' to 'iri' param, amend docs,
       (wget_iri_relative_to_abs): Add 'const' to 'base' param,
       amend calling wget_iri_get_connection_part(),
       (wget_iri_parse_base): Add 'const' to 'iri' param
     * src/host.c (host_add_robotstxt_job): Add code removed in wget.c
     * src/wget_host.h: Don't include wget_blacklist.h,
       amend signature of host_add_robotstxt_job()
     * src/wget_job.h (struct JOB): Add 'const' to 'blacklist_entry'

2019-10-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Blacklist changes
     
     * src/wget_main.h: Remove decalration of get_local_filename()
     * src/wget_job.h (struct JOB): Remove local_filename, add blacklist_entry
     * src/wget_host.h: Amend declaration of host_add_robotstxt_job()
     * src/wget_blacklist.h (struct blacklist_entry): Add const to iri,
       add const to param of blacklist_add(),
       add declaration of blacklist_get()
     * src/job.c (job_free): Do not free job->local_filename
     * src/host.c (host_add_robotstxt_job): Param blacklist_entry instead of wget_iri
     * src/gpgme.c (determine_base_file): Fix calls to determine_base_file()
     * src/blacklist.c: Add new function blacklist_get(),
       (blacklist_add): Add const to param, call get_local_filename(),
       (blacklist_init): Amend destructors,
       Remove free_key(),
       Add free_value(),
       Add function get_local_filename(),
       Add function get_local_filename_real()
     * src/wget.c: Remove function get_local_filename(),
       Remove function get_local_filename_real(),
       Use blacklist_entry instead of local_filename

2019-10-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Rename add_url() -> queue_url_from_remote()

2019-10-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Rename add_url_to_queue() -> queue_url_from_local()

2019-10-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Cleanup blacklist code
     
     * src/wget_blacklist.h: Add new structure 'blacklist_entry',
       change return type of blacklist_add() to 'blacklist_entry *'
     * src/blacklist.c: Store 'blacklist_entry' instead of 'wget_iri',
       remove mutexes
     * src/wget.c: Amend code in add_url_to_queue() and add_url()

2019-10-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_blacklist.h: Remove unused declaration of in_blacklist()

2019-10-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add pkg-config support for GPGME

2019-10-22 Archit Pandey <archpndy@gmail.com>

     Using --robots=off downloads robots.txt
     
     * src/wget.c (add_url_to_queue): remove config.robots check,
       (add_url): add config.robots check when disallowing URLs
     * tests/test-robots-off.c: New file to test --robots=off behavior
     * tests/Makefile.am: Added test-robots-off
     * tests/test-iri-percent.c: Add check for robots.txt
     * docs/wget2.md: Describe --robots=off behaviour

2019-10-21 Archit Pandey <archpndy@gmail.com>

     Moved WGET_E_GPG_* definitions out of libwget
     
     * libwget/error.c (wget_strerror): Remove WGET_E_GPG_* symbols
     * include/wget/wget.h (wget_error): Remove WGET_E_GPG_* symbol definitions
     * src/wget_gpgme.h: New enum wget_gpg_error to hold WGET_E_GPG_* symbol definitions
     * AUHOTRS: Add archpndy [at] gmail.com
     
     Copyright-paperwork-exempt: Yes

2019-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (prepare_file): Fix regression from commit 3c6f61a8

2019-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (prepare_file): Check '.htm' for -E/--adjust-extension

2019-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (prepare_file): Simplify code to append extension (-E)

2019-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add automated coverity scan
     
     This only works on a branch called 'coverity-scan'

2019-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test_check_file_system): Use memcmp() instead of strcmp()

2019-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Add WGET_GCC_UNUSED_RESULT to wget_hashmap_get and wget_stringmap_get

2019-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats_site.c (stats_site_add): Check return value of wget_stringmap_get()

2019-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (in_directory_pattern_list): Return false if fname is NULL

2019-10-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix NULL dereference in html_parse()
     
     * src/wget.c (html_parse): Add 'filename' to list of params
     
     Under certain conditions (--convert-links) existing files are
     scanned for URLs with 'job' being NULL. We still need a filename
     without getting it from job->local_filename, which would cause a
     NULL pointer dereference.

2019-10-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hsts.c (new_hsts): Check memory allocation

2019-10-08 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/http.c (wget_http_get_response_cb): Don't ignore response body on header callback failure

2019-10-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix directory clash with --no-clobber
     
     * src/wget.c: New functions is_file() and is_directory(),
       (prepare_file): Tune clash checks
     * tests/test-directory-clash.c: Add two more tests

2019-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_connection): Allow list of tokens
     
     This change detects the keep-alive flag in headers like
       Connection: Upgrade, Keep-Alive

2019-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (html_parse): Limit to page requisites only for leaf pages

2019-10-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename --retry-on-http-status to --retry-on-http-error
     
     * docs/wget2.md: Likewise
     * libwget/http.c: Likewise
     * src/options.c: Likewise
     * src/wget.c: Likewise
     * src/wget_options.h: Likewise
     
     Needed for backward compatibility with Wget 1.x.

2019-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-compression.c: Replace malloc() by fixed size array

2019-10-03 Darshit Shah <darnir@gnu.org>

     * configure.ac: Update minimum required version

2019-10-03 Darshit Shah <darnir@gnu.org>

     Update Gnulib
     
     * gnulib: Update submodule
     * bootstrap.conf: Add module access

2019-09-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix bug in wget_dns_cache_add()
     
     * libwget/dns_cache.c (wget_dns_cache_add):
       wget_hashmap_get() gets a cache_entry, not a addrinfo

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove leading WG_ from exit_status_e enums
     
     * src/wget_options.h: Likewise
     * src/wget.c: Likewise
     * src/options.c: Likewise

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Introduce enum type gpg_verify_mode
     
     * src/wget_options.h: Add enum type gpg_verify_mode,
       remove leading WGET_ from GPG_VERIFY enums
     * src/options.c: Use new enum type
     * src/wget.c: Likewise

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_options.h (struct config): Move members from char to bool

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_options.h: Use bool for ocsp_date and ocsp_nonce

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Introduce enum type https_enforce_mode
     
     * src/options.h: Add enum type https_enforce_mode,
       remove leading WGET_ from HTTPS_ENFORCE enums
     * src/options.c: Use new enum type
     * src/wget.c: Likewise

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_stats.h: Remove unused macros

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats_site.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/plugin.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/log.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/job.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/gpgme.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/bar.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xml.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c: Improve C99 compliancy

2019-09-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: Rely on gnulib poll module

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/sitemap_url.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/rss_url.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/random.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/logger.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/log.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/init.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_highlevel.c: Improve C99 compliancy

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Use int64_t for time_t to fix 32bit time_t limitations
     
     * include/wget/wget.h: Use int64_t instead of time_t
     * libwget/hpkp.c: Likewise
     * libwget/hsts.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/tls_session.c: Likewise
     * src/options.c: Likewise
     * src/stats_site.c: Likewise
     * src/wget.c: Likewise
     * tests/libtest.c: Likewise
     * tests/libtest.h: Likewise
     * tests/test-plugin-dummy.c: Likewise
     * unit-tests/test.c: Likewise

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/decompressor.c (lzip_decompress): Fix warning

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix http date functions to use int64_t instead of time_t
     
     * include/wget/wget.h: Change time_t -> int64_t for wget_http_print_date()
       and for wget_http_parse_full_date()
     * libwget/http_parse.c: Likewise

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Print expected+real content of diverting files

2019-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix time_t to int64_t in cookie code
     
     * libwget/cookie.c: Likewise
     * libwget/cookie.h: Likewise

2019-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test-dl.c: Add missing len param to plugin function call

2019-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add Valgrind/i386 runner

2019-09-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Add unit test test-decompress.c
     
     * unit-tests/Makefile.am: Add test-decompress.c
     * unit-tests/test-decompress.c: New file

2019-09-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/decompressor.c (wget_decompress_open): Fix xz decompression

2019-09-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Modify wget_decompress() 2nd arg to const
     
     * include/wget/wget.h: Likewise
     * libwget/decompressor.c: Likewise

2019-09-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/decompressor.c: Make use LZ_decompress_finish()

2019-09-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Add OSS-Fuzz badge [skip ci]

2019-09-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Implement Accept-Encoding: lzip including decompressor
     
     * README.md: Mention lzip
     * configure.ac: Detect lzip
     * docs/wget2.md: Document 'lzip'
     * include/wget/wget.h: Add wget_content_encoding_lzip
     * libwget/decompressor.c: Implement lzip decompression
     * libwget/http_parse.c (wget_http_parse_content_encoding): Add "lzip"
     * src/options.c: Add code to support lzip
     * src/wget.c (http_create_request): Add lzip to Accept-Encoding: if available
     * tests/test-compression.c: Add test vector for lzip decompression

2019-09-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mk_authors: Simplify getting the latest git tag [skip ci]

2019-09-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mk_authors: Fix getting the latest git tag [skip ci]

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashmap.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashfile.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/dns_cache.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/dns.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/css_url.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/console.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer_printf.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/base64.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove use of !! in src/
     
     * src/host.c: Change return type of _search_host_for_free_job() to bool
     * src/options.c (selftest_options): Make use of bool
     * src/stats_site.c (stats_site_add): Use '!= 0' instead of !!
     * src/wget.c: (_get_local_filename): Change type of directories to bool
     * src/wget_options.h (struct config): Change type of recursive to bool

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/atom_url.c: Improve C99 compliancy

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change type to bool for wget_tcp_set_ssl/wget_tcp_get_ssl
     
     * include/wget/wget.h: Likewise
     * libwget/net.c: Likewise

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Use '!= 0' instead of 'git commit --amend' in libwget/ssl_gnutls.c
     
     * include/wget/wget.h (wget_tls_stats_data): Change type of tfo and false_start to bool
     * libwget/ssl_gnutls.c: Use bool in _session_context,
       remove use of !!

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change return type of wget_tcp_get_tls_false_start() to bool
     
     * include/wget/wget.h: Likewise
     * libwget/net.c: Likewise

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change second param type of wget_tcp_set_tls_false_start() to bool
     
     * include/wget/wget.h: Likewise
     * libwget/net.c: Likewise
     * src/wget_options.h (struct config): Change type of tls_false_start to bool

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change return type of wget_tcp_get_tcp_fastopen() to bool
     
     * include/wget/wget.h: Likewise
     * libwget/net.c: Likewise

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change second param type of wget_tcp_set_tcp_fastopen() to bool
     
     * include/wget/wget.h: Likewise
     * libwget/net.c: Likewise
     * libwget/init.c (wget_global_init): Fix param type to wget_tcp_set_tcp_fastopen()
     * src/wget_options.h (struct config): Change type of tcp_fastopen to bool

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/logger.c: Use '!= 0' instead of !!

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/init.c: Use '!= 0' instead of !!

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Use '!= 0' instead of !!

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Use bool instead of char in HSTS code
     
     * include/wget/wget.h: Change param to bool in wget_hsts_db_add_fn(),
       (struct wget_http_response_st): Use bool for hsts_include_subdomains and keep_alive,
       change param to bool in wget_http_parse_strict_transport_security(),
       change param to bool in wget_http_parse_connection()
     * libwget/hsts.c: change param to bool in new_hsts(),
       change param to bool in wget_hsts_db_add()
     * libwget/http_parse.c: change param to bool in wget_http_parse_strict_transport_security(),
       change param to bool in wget_http_parse_connection()
     * tests/test-plugin-dummy.c: change param to bool in test_hsts_db_add()
     * unit-tests/test.c (test_hsts): Change type of include_subdomains to bool

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change return type of wget_str_needs_encoding() to bool
     
     * include/wget/wget.h: Likewise
     * libwget/encoding.c: Likewise

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie_parse.c (cookie_normalize_cookie): Use '!= 0' instead of !!

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Use bool param for wget_cookie_set_keep_session_cookies()
     
     * include/wget/wget.h: Change second param of wget_cookie_set_keep_session_cookies() to bool
     * libwget/cookie.c: Likewise
     * libwget/init.c (struct _CONFIG): Use bool for cookies_enabled, keep_session_cookies

2019-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/base64.c (_isbase64): Use '!= 0' instead of !!

2019-09-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new cookie test
     
     * tests/Makefile.am: Add test-cookies
     * tests/test-cookies.c: New file

2019-09-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new wget_test() option WGET_TEST_CLEAN_DIRECTORY
     
     * tests/libtest.c: Implement WGET_TEST_CLEAN_DIRECTORY
     * tests/libtest.h: Add WGET_TEST_CLEAN_DIRECTORY

2019-09-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix for reproducible builds
     
     * .gitignore: Remove src/version-text.h
     * cfg.mk: Add rule to update copyright in src/options.c
     * configure.ac: Remove YEAR
     * src/Makefile.am: Remove version-text.h.in
     * src/options.c: Add version text
     * src/version-text.h.in: Deleted
     
     Reported-by: Bernhard M. Wiedemann

2019-09-14 Darshit Shah <darnir@gnu.org>

     * libwget/cookie_parse.c: Fix spelling issue

2019-09-13 Darshit Shah <darnir@gnu.org>

     Don't call libwget as Wget / Wget2.
     
     Functions in Libwget may be called from other client applications as
     well. They should not report that the job was done by Wget / Wget2, but
     instead they should state that it was doen by libwget.
     
     * libwget/bar.c(_bar_update): Remove reference to Wget
     * libwget/list.c: Same
     * libwget/cookie.c(cookie_db_save): Wget -> libwget
     * libwget/error.c(wget_strerror): Same
     * libwget/hpkp_db.c(hpkp_db_save): Same
     * libwget/hsts.c(hsts_db_save): Same
     * libwget/ocsp.c(ocsp_db_save_hosts): Same
     * libwget/printf.c: Same
     * libwget/ssl_gnutls.c(wget_ssl_open: Same
     * libwget/tls_session.c(tls_session_db_save): Same

2019-09-12 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Release cert chain (more memleaks)
     
      * libwget/ssl_openssl.c (_openssl_revocation_check_fn): free
        cert chain in all error paths

2019-09-04 Ander Juaristi <a@juaristi.eus>

     OpenSSL: fix memory leaks

2019-09-11 Darshit Shah <darnir@gnu.org>

     Remove gettext support in tests/
     
     * tests/libtest.h: Remove gettext support entirely
     * tests/test-iri-subdir.c: Needs the string.h header
     * tests/test-limit-rate-http2.c: Same
     * tests/test-limit-rate.c: Same
     * tests/test-metalink.c: Same
     * tests/gpg-test-util.h: Same
     * tests/test-gpg-save-failed.c: Same
     * tests/test-include-and-exclude-directories.c: Same

2019-09-10 Darshit Shah <darnir@gnu.org>

     Use gnulib's update-copyright module
     
     * bootstrap.conf: Add update-copyright module
     * cfg.mk: Setup environment for update-copyright
     * contrib/update_copyright: Remove script no longer used
     * libwget/ssl_openssl: Fix copyright year
     * tests/test-post-handshare-auth.c: Fix copyright years
     * contrib/commit-check: Add copyright and license
     * contrib/mail.sh: Same
     * src/version-text.h.in: Same

2019-09-08 Darshit Shah <darnir@gnu.org>

     Update Copyright statements to be compatible with update-copyright module

2019-09-10 Darshit Shah <darnir@gnu.org>

     Update cfg.mk. Add comments for future
     
     * cfg.mk: Multiple changes.
       (sc_GPL_version): Don't exclude all files when only one has a parsing
       issue
       (sc_po_check): Tests should always output English. Their output is for
       developers, not users
       (sc_prohibit_magic_number_exit): tests/test-plugin.c has a parsing
       issue that has been reported to gnulib. Others should be checked.
       (sc_trailing_blank): Fixed the relevant files instead of ignoring them
       (sc_two_space_separator_in_usage): Doesn't seem to trigger on removal
       (sc_prohibit_empty_lines_at_EOF): Same
       (sc_prohibit_sprintf): Same
       (sc_prohibit_printf): Re-arrange within file
       (sc_prohibit_free): Same
       (sc_prohibit_alloc): Same
       (sc_gettext_printf): Same
     * docs/DoxygenLayout.xml: Remove trailing whitespaces
     * docs/libwget.doxy.in: Same
     * tests/libtest.c: Don't internationalize test suite strings
     * tests/test-*.c: Use EXIT_FAILURE and EXIT_SUCCESS instead of 1 and 0

2019-09-10 Darshit Shah <darnir@gnu.org>

     * cfg.mk: We don't cast arguments to free anywhere

2019-09-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "* cfg.mk: We don't need to exclude gnulib from syntax-check" [ci skip]
     
     This reverts commit 074983606b3536d0cf2677beb0ed523dd43145e3.
     
     Also added a comment in cfg.mk to explain why

2019-08-22 Ander Juaristi <a@juaristi.eus>

     * libwget/ssl_openssl.c: Implement ALPN

2019-09-07 Darshit Shah <darnir@gnu.org>

     * cfg.mk: We don't need to exclude gnulib from syntax-check

2019-09-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/init.c (wget_global_get_ptr): Fix return type for WGET_COOKIE_DB

2019-09-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/dns.c: Add constructor & destructor for global mutex

2019-09-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/http_get.c: Use https:// instead of http://

2019-09-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_html_parsed_url.dir -> wget_html_parsed_url.tag
     
     * include/wget/wget.h: Rename wget_html_parsed_url.dir -> wget_html_parsed_url.tag
     * examples/print_html_urls.c: Likewise
     * libwget/html_url.c: Likewise
     * src/wget.c: Likewise

2019-09-01 Ander Juaristi <a@juaristi.eus>

     OpenSSL: Fix CRL checking
     
     Check CRLs properly on the OpenSSL backend. CRLs were previously bypassed
     because OpenSSL's internal certificate verification function was being overridden.
     
     We need to provide our own verification callback for HPKP and OCSP, but this callback is now
     introduced later in the verification chain, so that it does no longer override OpenSSL's checks.
     
     This commit also re-enables a CRL test on OpenSSL, which would previously only run on the GnuTLS backend.
     
     * libwget/ssl_openssl.c (openssl_init): Register verification callback, rather than revocation one.
       (_openssl_revocation_check_fn): Adhere to verification callback interface.
     * tests/test-i-https.c: Enable CRL test for OpenSSL (but keep it disabled for wolfSSL)
     
     Signed-off-by: Ander Juaristi <a@juaristi.eus>

2019-08-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Add script to generate list of authors by # of commits
     
     * .mailmap: Map authors when using different names/email addresses
     * contrib/mk_authors: Create list of authors sorted by # of commits
     * contrib/release: Mention contrib/mk_authors

2019-08-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Release 1.99.2 (beta)

2019-08-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Only use clang's Nullability feature with enabled manywarnings

2019-08-21 Darshit Shah <darnir@gnu.org>

     * bootstrap.conf: Add gnulib modules for non-portable function calls

2019-08-21 Darshit Shah <darnir@gnu.org>

     Remove portability warnings from configure
     
     * configure.ac: Don't warn when we use GNU Make extensions.
     We have already dug into this by disabling the relevant syntax-check
     rule as well. The recent commit adding support for gcov based code
     coverage adds more GNU make specific rules.

2019-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix hashing with Gcrypt backend

2019-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix hashing with Nettle backend

2019-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix hashing with OpenSSL backend

2019-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix hashing with GnuTLS backend
     
     * libwget/hashfile.c: Fix the GnuTLS functions

2019-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashfile.c (wget_hash_file_fd): Do not close fd on error

2019-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix hashing with WolfTLS backend
     
     * include/wget/wget.h: Change param for wget_hash_init(),
       change param and return type for wget_hash_deinit()
     * libwget/hashfile.c: Rewrite hashing functions for WITH_LIBWOLFCRYPT
     * unit-tests/test.c: Add tests for incremental hashing

2019-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix TLS/hashing detection

2019-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-i-https.c: CRL test only for GnuTLS

2019-08-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Update test suite certs and build script
     
     * tests/certs/revoked-template.txt: New file
     * tests/certs/ca-template.txt: Update
     * tests/certs/generate_certs.sh: Use revoked-template.txt
     * tests/certs/server-template.txt: Update
     * tests/certs/*.pem: Update, generated by generate_certs.sh

2019-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Fix some assignment warnings

2019-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Apply fixes due to rebasing

2019-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashfile.c: Make use of WGET_E_UNSUPPORTED

2019-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/error.c (wget_strerror): Add WGET_E_UNSUPPORTED

2019-08-22 Ander Juaristi <ajuaristi@gmx.es>

     Add more hash backends

2019-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Do not translate debug messages

2019-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (verify_hpkp): Add switch default

2019-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Fix indentation

2019-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (openssl_load_trust_files_from_directory): Cleanup

2019-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add OpenSSL runner

2019-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Fix WolfSSL CI build

2019-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c (openssl_load_trust_file): Use buffer printf instead of VLA

2019-07-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_openssl.c: Rebase for new stats API

2019-06-17 Ander Juaristi <a@juaristi.eus>

     Rebase wolfssl branch
     
     * configure.ac: Pretty print 'SSL/TLS support'
     * libwget/Makefile.am: Cleanup logic

2019-06-15 Ander Juaristi <a@juaristi.eus>

     * configure.ac: Add SSL/TLS option wolfssl

2018-09-16 Ander Juaristi <a@juaristi.eus>

     SSL/TLS: Add OpenSSL support
     
     * configure.ac: Add --with-ssl=[no,openssl,gnutls], remove --without-gnutls
     * libwget/Makefile.am: Add ssl_openssl.c
     * libwget/ssl_openssl.c: New file
     * po/POTFILES.in: Add libwget/ssl_openssl.c

2019-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add -Wno-used-but-marked-unused to GNULIB_WARN_FLAGS

2019-08-27 DalmeGNU <dalmemail@gmail.com>

     * benchmarks/sources/curl.bench.sh: Build curl with GnuTLS, in order to have SSL support

2019-08-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (_preload_dns_cache): Don't wait for stdin while testing

2019-08-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/spell-checker: Do not check tests/certs/README.md

2019-08-25 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/certs/README.md: Added README for certificate generation

2019-08-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Regenerating certificates for openssl compatibility
     
     * tests/certs/generate_certs.sh: Script for certificate generation
     * tests/certs/x509-ca-cert.pem: CA certificate
     * tests/certs/x509-ca-key.pem: CA key
     * tests/certs/x509-server-cert.pem: Server certificate
     * tests/certs/x509-server-key.pem: Server key
     * tests/certs/x509-server-crl.pem: CRL for the server certificate
     * tests/certs/ca-template.txt: Template for CA Certificate
     * tests/certs/server-template.txt: Template for Server Certificate

2019-08-23 DalmeGNU <dalmemail@gmail.com>

     Recursive mode now works with -N --no-if-modified-since
     
     * src/wget.c: Likewise
     * tests/test-timestamping.c: Added tests for -N -r (with If-Modified-Since) and amended the ones without If-Modified-Since
     * tests/test-include-and-exclude-directories.c: Amended tests that use -N --no-if-modified-since -r
     * tests/test--filter-mime-type.c: Amended tests that use -N --no-if-modified-since -r

2019-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Update NEWS

2019-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Fix typos

2019-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/spell-checker: Abort on error (set -e)

2019-08-22 DalmeGNU <dalmemail@gmail.com>

     Consider files as 'application/octet-stream' if MIME is not present
     
     * src/wget.c: Likewise, following RFC 7231
     * tests/test--filter-mime-type.c: Added tests to ensure this behavior is present
     * docs/wget2.md: Added this new behavior to the docs

2019-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.h: Include netdb.h for struct addrinfo [skip ci]

2019-08-18 DalmeGNU <dalmemail@gmail.com>

     Implement --no-if-modified-since
     
     * src/options.c: Added new option --if-modified-since, and prevented certain combination of flags
     * src/wget.c: Added -N --no-if-modified-since implementation itself
     * src/wget_job.h: Added bool 'recursive_send_head' to JOB structure
     * src/wget_options.h: Added char 'if_modified_since' to config structure
     * tests/test--accept.c: Added tests that make use of -N --no-if-modified-since
     * tests/test--filter-mime-type.c: Added tests that make use of -N --no-if-modified-since
     * tests/test-include-and-exclude-directories.c: Added tests that make use of -N --no-if-modified-since
     * tests/test-timestamping.c: Added tests for -N --no-if-modified-since
     * docs/wget2.md: Unmarked --no-if-modified-since as "Not Implemented Yet"

2019-08-17 DalmeGNU <dalmemail@gmail.com>

     * src/options.c: Prevent certain combination of flags with -N (as in wget1.x)

2019-08-15 DalmeGNU <dalmemail@gmail.com>

     Move -N mode tests into a separate file
     
     * tests/test-wget-1.c: Removed -N (timestamping) tests
     * tests/test-timestamping.c: Added -N tests from tests/test-wget-1.c
     * tests/Makefile.am: Added tests/test-timestamping.c to Makefile

2019-08-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use --disable-threads on FreeBSD instead MinGW CI runner

2019-08-20 DalmeGNU <dalmemail@gmail.com>

     * tests/libtest.c: Create directories if needed when creating WGET_TEST_EXISTING_FILES

2019-08-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/utils.c (mkdir_path): Do not write 'fname' param

2019-08-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/Makefile.am: Add -DMALLOC_RETURNS_NONNULL to AM_CFLAGS

2019-08-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: AC_SUBST BZ2_LIBS

2019-08-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/decompressor.c: Improve C99 compliance, check memory allocation

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_insert_ports): Fix for reject_https_connection

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --https-enforce tests
     
     * tests/test--https-enforce-hard3.c: Add --default-http-port={{port}}
     * tests/test--https-enforce-soft1.c: Use WGET_TEST_HTTPS_REJECT_CONNECTIONS
     * tests/test--https-enforce-soft2.c: Use WGET_TEST_HTTP_REJECT_CONNECTIONS
     * tests/test--https-enforce-soft3.c: Remove space (cleanup only)

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test--https-enforce-hard2.c: Allow error code 4 and 5

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Add WGET_TEST_EXPECTED_ERROR_CODE2

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test--https-enforce-hard3.c: Make test behave stable

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test--https-enforce-hard2.c: Make test behave stable

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Add WGET_TEST_HTTP_REJECT_CONNECTIONS to test suite
     
     * tests/libtest.h: Add WGET_TEST_HTTP_REJECT_CONNECTIONS
     * tests/libtest.c: Implement WGET_TEST_HTTP_REJECT_CONNECTIONS

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_set_scheme): Fix amending https port

2019-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Fix 'make code-coverage-capture' for gcc 9

2019-08-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer.c (wget_buffer_deinit): Fix NONNULL issue

2019-08-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (sitemap_parse_xml_gz): Use stack memory for wget_buffer

2019-08-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xml.c (wget_xml_parse_file): Use stack memory for wget_buffer

2019-08-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/css.c (wget_css_parse_file): Use stack memory for wget_buffer

2019-08-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer.c: Add examples to documentation

2019-08-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Cleanup + amend return vales of buffer functions
     
     * include/wget/wget.h: Add wget_buffer.error
     * libwget/buffer.c: Amend docs,
       change return type of wget_buffer_init(),
       amend wget_buffer_alloc(),
       set buf.error in _buffer_realloc()
     * libwget/printf.c: Check buf.error, return (size_t)-1
     * unit-tests/test.c: Amend tests appropriately

2019-08-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer.c (_buffer_realloc): Make use of realloc() if possible

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix more docs [skip ci]

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix docs for wget_bitmap_init() [skip ci]

2019-08-14 DalmeGNU <dalmemail@gmail.com>

     Improvements on the progress bar
     
     * docs/wget2.md: There is no default progress value
     * src/options.c: If no progress type specifier is given return an error
     * src/wget.c: Set global file size and already downloaded amount when continuing a download

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix checking return value of wget_vector_find()
     
     * src/options.c: Likewise
     * src/wget.c: Likewise

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Fix clang build on FreeBSD

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bitmap.c: Small cleanup

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/Makefile.am: Add -DMALLOC_RETURNS_NONNULL to AM_CFLAGS and AM_CPPFLAGS

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Introduce WGET_E_IO
     
     * include/wget/wget.h: Introduce WGET_E_IO
     * libwget/error.c: Add WGET_E_IO to wget_strerror()
     * libwget/hashfile.c: Make use of WGET_E_IO
     * libwget/io.c: Likewise

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_match_no_proxy): Check value from wget_vector_get()

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename WGET_E_OPEN_FILE -> WGET_E_OPEN
     
     * include/wget/wget.h: Rename WGET_E_OPEN_FILE -> WGET_E_OPEN
     * libwget/io.c: Likewise
     * libwget/netrc.c: Likewise

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Cleanup vector functions and docs

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/test_linking.c: Don't give NULL to wget_plugin_get_name()

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_response_header): Check memory allocation

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_highlevel.c (wget_http_get): Check vector creation

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_create_request): Check memory allocation

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp_db.c (hpkp_db_load): Check memory allocations

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/vector.c: Check memory allocation

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Add NULLABLE to more functions

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: Fix return values, add memory check

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/job.c (job_validate_file): Fix check for wget_truncate() return

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_parse): Avoid casts to suppress warning

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_parse): Return NULL on unknown scheme

2019-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_parse): Set scheme to -1 if unknown

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/netrc.c (wget_netrc_db_load): Check memory allocation

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_header_line): Check memory allocation

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (_parse_no_proxies): Check memory allocation

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie_parse.c (cookie_normalize_cookie): Check memory allocation

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/batch_loader.c: Check return value of wget_strmemdup()

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/check_url_types.c: Check return value of wget_strmemdup()

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Nullable wget_memdup, wget_strdup, wget_strmemdup

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (Debian/HTTP2): Allow failure set to true

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/Makefile.am: Add -DMALLOC_RETURNS_NONNULL to AM_CFLAGS and AM_CPPFLAGS

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test-dl.c (string_vector_check): Fix va_list leak

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/tls_session.c: Check memory allocations

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c: Check memory allocations

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/netrc.c: Check memory allocations

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ocsp.c: Check memory allocations

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hsts.c: Check memory allocations

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c: Check memory allocations

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: Check memory allocations

2019-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/encoding.c (wget_memiconv): Check memory allocations, return WGET_E_* codes

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_init): Check malloc return value

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Introduce nullability support for clang's static analyzer
     
     * configure.ac: Add -Wno-nullability-extension -Wno-nullability-completeness to WARN_CFLAGS
     * include/wget/wget.h: Add CLANG_VERSION_AT_LEAST,
       fix attribute defines for clang,
       make use of attributes by using static inline functions for wget allocation,
       define NULLABLE for clang
     * libwget/xalloc.c: Rename wget allocation function pointers
     * src/options.c: Likewise
     * unit-tests/test.c: Likewise

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_highlevel.c (wget_http_get): Fix va_list leakage

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use clang and enable valist checker with scan-build

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/test_linking.c: Fix clang warning (needless semicolon)

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/test_linking.c: Make use of return value of wget_strdup()

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Add -DBUILDING_LIBWGET to AM_CFLAGS

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Define WGET_GCC_RETURNS_NONNULL for clang as well

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (wget_ssl_open): Avoid 0 size VLA

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (http_send_request): Fix possible NULL ptr issue

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_parse_hostname): Silence clang's scan-build

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml (FreeBSD.x86_64): Do not retry after failure

2019-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add convenience library for src/utils.c
     
     * src/Makefile.am: Add libtest-utils.la
     * tests/Makefile.am: Add libtest-utils.la to libtest_la_LIBADD

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (_add_authorize_header): Print error if wget_netrc_db_load() fails

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/netrc.c: Code cleanup

2019-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new error code WGET_E_OPEN_FILE

2019-08-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c: Make code more C99 compliant

2019-08-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Split hpkp.c into hpkp_db.c, hpkp.c and hpkp.h
     
     * libwget/Makefile.am: Add hpkp.h and hpkp_db.c
     * libwget/hpkp.c: Move HPKP database code to hpkp_db.c
     * libwget/hpkp.h: New file
     * libwget/hpkp_db.c: New file

2019-08-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Split cookie.c into cookie_parse.c, cookie.c and cookie.h
     
     * libwget/Makefile.am: Add cookie.h and cookie_parse.c
     * libwget/cookie.c: Move cookie parsing code to cookie_parse.c
     * libwget/cookie.h: New file
     * libwget/cookie_parse.c: New file

2019-08-14 DalmeGNU <dalmemail@gmail.com>

     * src/options.c: Don't accept negative numbers as a valid byte amount

2019-08-13 DalmeGNU <dalmemail@gmail.com>

     Implement --start-pos option
     
     * src/wget.c: Added --start-pos implementation
     * src/options.c: Added --start-pos option and resolved flag combination with --continue
     * src/wget_options.h: Added start_pos to the config structure
     * docs/wget2.md: Removed "Not Implemented Yet" label from --start-pos documentation

2019-08-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c: Cast enums to avoid warnings with clang

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Change return type of wget_hpkp_get_n_pins() to int
     
     * include/wget/wget.h: Change return type of wget_hpkp_get_n_pins() to int
     * libwget/hpkp.c: Likewise
     * unit-tests/test.c: Adjust code, cleanup

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove global wget_iri_schemes[], add wget_iri_scheme enum
     
     * include/wget/wget.h: Remove global wget_iri_schemes[],
       add wget_iri_scheme enum
     * libwget/iri.c: Add struct iri_scheme,
       remove wget_iri_schemes and iri_ports,
       new function wget_iri_scheme_get_name(),
       fix code
     * examples/check_url_types.c: Use comparison instead of wget_strcasecmp
     * fuzz/libwget_iri_fuzzer.c: Use WGET_IRI_SCHEME_HTTPS instead of string
     * libwget/http.c: Use wget_iri_scheme_get_name()
     * libwget/http.h: Change scheme from string to wget_iri_scheme
     * libwget/http_parse.c: Fix wget_http_get_scheme()
     * src/blacklist.c: Fix hash_iri()
     * src/host.c: Fix _host_hash()
     * src/options.c: Use WGET_IRI_SCHEME_* instead of string
     * src/stats_server.c: Use wget_iri_scheme for scheme member
     * src/wget.c: Fix code
     * src/wget_host.h: Use wget_iri_scheme fro scheme member
     * unit-tests/test.c: Fix tests

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Use more bool in HPKP code
     
     * include/wget/wget.h: Use bool for HPKP functions where possible
     * libwget/hpkp.c: Use bool where possible
     * libwget/http_parse.c: Use bool for HPKP functions

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/tls_session.c: Improve C99 compliance and cleanup

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Use more bool in OCSP code
     
     * include/wget/wget.h (wget_ocsp_db_add_fingerprint_fn): bool for last param
     * libwget/ocsp.c: Use bool where possible
     * libwget/ssl_gnutls.c: Use bool for OCSP functions

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/ocsp.c: Improve C99 compliance and cleanup

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/hsts.c: Improve C99 compliance and cleanup

2019-08-13 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/hpkp.c: Improve C99 compliance and cleanup

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add FreeBSD runner

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove variadic macro for wget_printf()
     
     * include/wget/wget.h: Remove variadic macro for wget_printf(),
       add prototype for wget_printf()
     * libwget/printf.c Implement wget_printf(),
       fix some wrongly documented return types

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Make post_handshake_auth static

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Move server stats code from library into wget2 tool
     
     * fuzz/Makefile.am: Add src/stats_server.c
     * src/Makefile.am: Likewise
     * unit-tests/Makefile.am: Likewise
     * include/wget/wget.h: Move `wget_server_stats_data` to src/stats_server.c,
       change wget_server_stats_callback,
       change wget_server_set_stats_callback(),
       add wget_tcp_get_ip(),
       remove host_ips_free()
     * libwget/http.c: Move stats code to src/stats_server.c
     * libwget/net.c: Add wget_tcp_get_ip()
     * src/options.c: Move _hpkp_string() and stats_callback_server() to src/stats_server.c
     * src/wget.c (main): Remove call to host_ips_free()
     * src/wget_stats.h: Add prototypes of stats_server_add, server_stats_init, server_stats_exit

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix variables to wget_stats_format
     
     * src/options.c (parse_stats): Use wget_stats_format instead of char
     * src/wget_options.h (stats_args): Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix variable types of wget_report_speed
     
     * src/options.c (parse_report_speed_type): Fix pointer type
     * src/wget_options.h (struct config): Amend type of report_speed

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add typedef 'wget_transfer_encoding'
     
     * include/wget/wget.h: Add typedef 'wget_transfer_encoding'
     * libwget/http_parse.c: Make use of wget_transfer_encoding

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename HTTP parse callback types
     
     * include/wget/wget.h: Rename HTTP parse callback types
     * examples/getstream.c: Likewise
     * libwget/http.c: Likewise
     * libwget/http_highlevel.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_xml_callback_t -> wget_xml_callback
     
     * include/wget/wget.h: Rename wget_xml_callback_t -> wget_xml_callback
     * libwget/xml.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename CSS parse callback types
     
     * include/wget/wget.h: Rename CSS parse callback types
     * libwget/css.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_decompressor types
     
     * include/wget/wget.h: Rename wget_decompressor types
     * libwget/decompressor.c: Likewise
     * libwget/http.c: Likewise
     * src/options.c: Likewise
     * src/wget_options.h: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_stringmap types
     
     * include/wget/wget.h: Rename wget_stringmap types
     * unit-tests/stringmap_perf.c: Likewise
     * unit-tests/test.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_hashmap types
     
     * include/wget/wget.h: Rename wget_hashmap types
     * libwget/dns_cache.c: Likewise
     * libwget/hashmap.c: Likewise
     * libwget/hpkp.c: Likewise
     * libwget/hsts.c: Likewise
     * libwget/http.c: Likewise
     * libwget/netrc.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/stringmap.c: Likewise
     * libwget/tls_session.c: Likewise
     * src/blacklist.c: Likewise
     * src/host.c: Likewise
     * src/wget.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_vector_destructor_t -> wget_vector_destructor
     
     * include/wget/wget.h: Rename wget_vector_destructor_t -> wget_vector_destructor
     * libwget/http.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/vector.c: Likewise
     * src/options.c: Likewise
     * src/plugin.c: Likewise
     * unit-tests/test.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_vector_browse_t -> wget_vector_browse_fn
     
     * include/wget/wget.h: Rename wget_vector_browse_t -> wget_vector_browse_fn
     * libwget/hpkp.c: Likewise
     * libwget/vector.c: Likewise
     * src/stats_site.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_vector_find_t -> wget_vector_find_fn
     
     * include/wget/wget.h: Rename wget_vector_find_t -> wget_vector_find_fn
     * libwget/vector.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_vector_compare_t -> wget_vector_compare_fn
     
     * include/wget/wget.h: Rename wget_vector_compare_t -> wget_vector_compare_fn
     * libwget/cookie.c: Likewise
     * libwget/hpkp.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/metalink.c: Likewise
     * libwget/vector.c: Likewise
     * src/options.c: Likewise
     * tests/test-plugin-dummy.c: Likewise
     * unit-tests/test-dl.c: Likewise
     * unit-tests/test.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_logger_func_t -> wget_logger_func
     
     * include/wget/wget.h: Rename wget_logger_func_t -> wget_logger_func
     * libwget/init.c: Likewise
     * libwget/logger.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h (wget_buffer): Fix typo

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_list_browse_t -> wget_list_browse_fn
     
     * include/wget/wget.h: Rename wget_list_browse_t -> wget_list_browse_fn
     * libwget/list.c: Likewise
     * src/host.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_update_(load|save)_t -> wget_update_(load|save)_fn
     
     * include/wget/wget.h: Rename wget_update_(load|save)_t -> wget_update_(load|save)_fn
     * libwget/cookie.c: Likewise
     * libwget/hpkp.c: Likewise
     * libwget/hsts.c: Likewise
     * libwget/io.c: Likewise
     * libwget/tls_session.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_global_get_func_t -> wget_global_func
     
     * include/wget/wget.h: Rename wget_global_get_func_t -> wget_global_func
     * libwget/init.c: Likewise

2019-08-12 Tim Rühsen <tim.ruehsen@gmx.de>

     examples/http_get2.c: Cleanup

2019-08-09 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/test-ocsp-server: Modified to test without OCSP responder's URL

2019-08-10 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Freed read response in-case no request is received by the responder

2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Name unnamed enum to wget_report_speed
     
     * include/wget/wget.h: Name unnamed enum to wget_report_speed,
       use wget_report_speed for param of wget_bar_set_speed_type()
     * libwget/bar.c: use wget_report_speed for param of wget_bar_set_speed_type()

2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/error.c (wget_strerror): Add missing WGET_E_MEMORY handling

2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>

     wget_strerror(int) -> wget_strerror(wget_error)
     
     * include/wget/wget.h: wget_strerror(int) -> wget_strerror(wget_error)
     * libwget/error.c: Likewise

2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Rename wget_error_t -> wget_error

2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Remove unused commented code

2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Remove unused WGET_PREFIX

2019-08-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (wget_ssl_init): Print priorities correctly on error

2019-08-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Changed G_GNUC_WGET prefix to WGET_GCC
     
     * include/wget/wget.h: Changed G_GNUC_WGET prefix to WGET_GCC
     * */*.[ch]: Likewise

2019-08-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Add examples/relative_to_absolute_url.c

2019-08-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Allow -1 as len parameter to wget_iri_relative_to_abs()
     
     * libwget/http_highlevel.c (wget_http_get): Use -1 as len
     * libwget/iri.c (wget_iri_parse_base): Likewise
     * src/wget.c (process_response_header): Likewise
     * unit-tests/test.c (test_iri_relative_to_absolute): Likewise

2019-08-07 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/test-ocsp-stap.c: Removed redundant comment

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Save coverage for HTTP/2 runner as artifact

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/Makefile.am: Add CODE_COVERAGE flags

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename stats types (remove trailing _t)
     
     * include/wget/wget.h: Rename stats types (remove trailing _t)
     * libwget/dns.c: Likewise
     * libwget/http.c: Likewise
     * libwget/net.h: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/ssl_none.c: Likewise
     * libwget/ssl_wolfssl.c: Likewise
     * src/options.c: Likewise

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Fix type in two comments

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_hsts_db_t -> wget_hsts_db
     
     * include/wget/wget.h: Rename wget_hsts_db_t -> wget_hsts_db,
     * fuzz/libwget_hsts_fuzzer.c: Likewise
     * libwget/hsts.c: Likewise
     * src/wget_options.h: Likewise
     * tests/test-plugin-dummy.c: Likewise
     * unit-tests/test.c: Likewise

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Replace outdated docs for plugins

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_hpkp_db_t -> wget_hpkp_db and wget_hpkp_t -> wget_hpkp
     
     * include/wget/wget.h: Rename wget_hpkp_db_t -> wget_hpkp_db,
       rename wget_hpkp_t -> wget_hpkp
     * fuzz/libwget_hpkp_fuzzer.c: Likewise
     * libwget/hpkp.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/ssl_wolfssl.c: Likewise
     * src/wget_options.h: Likewise
     * tests/test-plugin-dummy.c: Likewise
     * unit-tests/test.c: Likewise

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Rework HPKP DB plugin code
     
     * include/wget/wget.h: Add typedefs for HPKP DB functions,
       remove wget_hpkp_db_st,
       rewrite wget_hpkp_db_vtable,
       add wget_hpkp_set_plugin()
     * libwget/hpkp.c: Add one function table for all exposed functions,
       implement wget_hpkp_set_plugin(),
       call plugin functions if set
     * libwget/plugin.c: Remove wget_plugin_add_hpkp_db()
     * src/plugin.c: Remove impl_add_hpkp_db()
     * tests/test-plugin-dummy.c: Implement dummy hsts db API,
       initialize test_hpkp_db_vtable,
       call wget_hpkp_set_plugin() in plugin initializer

2019-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Rework OCSP DB plugin code
     
     * include/wget/wget.h: Add typedefs for OCSP DB functions,
       remove wget_ocsp_db_st,
       rewrite wget_ocsp_db_vtable,
       add wget_ocsp_set_plugin()
     * libwget/ocsp.c: Add one function table for all exposed functions,
       implement wget_ocsp_set_plugin(),
       call plugin functions if set
     * libwget/plugin.c: Remove wget_plugin_add_ocsp_db()
     * src/plugin.c: Remove impl_add_ocsp_db()
     * tests/test-plugin-dummy.c: Implement dummy hsts db API,
       initialize test_ocsp_db_vtable,
       call wget_ocsp_set_plugin() in plugin initializer

2019-08-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Rework HSTS DB plugin code
     
     * include/wget/wget.h: Ad typedefs for HSTS DB functions,
       remove wget_hsts_db_st,
       rewrite wget_hsts_db_vtable,
       add wget_hsts_set_plugin()
     * libwget/hsts.c: Add one function table for all exposed functions,
       implement wget_hsts_set_plugin(),
       call plugin functions if set
     * libwget/plugin.c: Remove wget_plugin_add_hsts_db()
     * src/plugin.c: Remove impl_add_hsts_db()
     * tests/test-plugin-dummy.c: Implement dummy hsts db API,
       initialize test_hsts_db_vtable,
       call wget_hsts_set_plugin() in plugin initializer

2019-08-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename plugin types
     
     * include/wget/wget.h: Rename plugin types
     * libwget/plugin.c: Likewise
     * src/plugin.c: Likeiwse
     * src/wget_plugin.h: Likewise
     * tests/test-plugin-dummy.c: Likewise

2019-08-05 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added support for ax_code_coverage version 32
     
     * Makefile.am: Add code coverage rules as documented in ax_code_coverage.m4
     * cfg.mk: Exclude m4 files from sc_GPL_version
     * configure.ac: Add AX_CODE_COVERAGE
     * fuzz/Makefile.am: Add coverage flags
     * libwget/Makefile.am: Likewise
     * src/Makefile.am: Likewise
     * tests/Makefile.am: Likewise
     * m4/ax_ac_append_to_file.m4: New file
     * m4/ax_ac_print_to_file.m4: New file
     * m4/ax_add_am_macro_static.m4: New file
     * m4/ax_am_macros_static.m4: New file
     * m4/ax_check_gnu_make.m4: New file
     * m4/ax_code_coverage.m4: New file
     * m4/ax_file_escapes.m4: New file

2019-08-04 DalmeGNU <dalmemail@gmail.com>

     Background support for fork() compatible OS
     
     * src/wget.c: Added fork_to_background(), in order to implement --background
     * src/options.c: Added "--background" to the options list
     * src/wget_options.h: Added background member to structure config
     * docs/wget2.md: Background option marked as "Not supported on Windows"

2019-08-04 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Changed validity time for OCSP Stapled Response
     
     * tests/certs/ocsp/generate_stap.sh: Modified to generate longer validity response
     * tests/certs/ocsp/ocsp_stapled_resp.der: Regenerated for longer validity

2019-07-27 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Resolved tests failure due to OCSP

2019-06-22 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Add test-limit-rate-http2
     
     * tests/Makefile.am: Added test-limit-rate-http2
     * tests/test-limit-rate-http2.c: Cloned 'test-limit-rate' to test for h2 only

2019-06-22 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * .gitlab-ci.yml: Add Gitlab CI runner for HTTP/2

2019-06-21 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Making failing tests work on Second Pass
     
     * tests/test--https-enforce-soft3.c:
     * tests/test-bad-chunk.c:
     * tests/test-chunked.c:
     * tests/test-limit-rate.c:
     * tests/test-post-handshake-auth.c: Skipped for Second Pass
     
     * tests/test-i-https.c: Added '--no-ca-certificate' in options for expected failure for h2
     
     * tests/test-idn-cmd.c:
     * tests/test-idn-meta.c:
     * tests/test-idn-robots.c: Dynamic port replacement for http/https proxies
     
     * tests/test-iri.c:
     * tests/test-parse-css.c:
     * tests/test-parse-html-css.c: Dynamic port replacement for hostname

2019-06-21 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Adding support for running both http/1.1 and h2 tests
     
     * configure.ac: Modified to have check for availability of MHD-http2
     * tests/libtest.c: Modified to run both protocols on existing tests
     * tests/libtest.h: Added macros for h2 and modified wget_test_url_t data structure

2019-06-20 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Modified Range Header key check to be case-insensitive

2019-06-20 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Modified to have compatibility with MHD-http2

2019-07-25 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/test-ocsp-server.c: Added Revoked OCSP test with --no-check-certificate

2019-07-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/getstream.c: Fix call to wget_http_get()

2019-07-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix parsing Location header with trailign digits
     
     * libwget/http_parse.c (wget_http_parse_location): Replace
       c_isdigits() by c_isblank()

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/certs/ocsp/README.md: Added README for generating generating certificates and response

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Splitting certs/resp generator script
     
     * tests/certs/ocsp/generate_certs.sh: Added to generate certificates
     * tests/certs/ocsp/generate_resp.sh: Added to generate stapled response

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Removed redundant priority from MHD daemon initialization

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Added file loading checks for OCSP Stapling PEM/DER files

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Moved PEM/DER loading out of _ocsp_stap_cert_callback()

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Dynamically allocating 'privkey_stap'

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Enforced gnutls_certificate_retrieve_function3 type for _ocsp_stap_cert_callback()

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Removed ampersand from MHD_OPTION_HTTPS_CERT_CALLBACK2 value

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added templates, records, and script for OCSP stapling PEM/DER files
     
     * tests/certs/ocsp/demoCA/*: Openssl certificate signing records for root and intermediate
     * tests/certs/ocsp/generate_stap.sh: Added script for generating required certificates and response
     * tests/certs/ocsp/interm-template.txt: Added template for intermediate certificate
     * tests/certs/ocsp/interm.cnf: Added openssl config for intermediate certificate signing
     * tests/certs/ocsp/root-template.txt: Added template for root certificate
     * tests/certs/ocsp/server-template.txt: Added template for server certificate

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/libtest.c: Moved break into preprocessor else block

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added required certificates and response
     
     * tests/certs/ocsp/ocsp_stapled_resp.der: Added OCSP stapled response
     * tests/certs/ocsp/x509-interm-cert.pem: Added intermediate certificate
     * tests/certs/ocsp/x509-interm-key.pem: Added intermediate private key
     * tests/certs/ocsp/x509-root-cert.pem: Added root CA certificate
     * tests/certs/ocsp/x509-root-key.pem: Added root CA private key
     * tests/certs/ocsp/x509-server-cert.pem: Added server certificate
     * tests/certs/ocsp/x509-server-key.pem: Added server private key

2019-07-24 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added skeleton OCSP Stapling
     
     * tests/Makefile.am: Added test-ocsp-stap
     * tests/libtest.c: Added an MHD daemon to send OCSP stapled response
     * tests/libtest.h: Added macro WGET_TEST_FEATURE_OCSP_STAPLING
     * tests/test-ocsp-stap.c: Added test for OCSP stapling

2019-07-23 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     * tests/certs/ocsp/README.md: Added README for generating generating certificates and responses

2019-07-23 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Splitting certs/resps generator script
     
     * tests/certs/ocsp/generate_certs.sh: Added to generate certificates
     * tests/certs/ocsp/generate_resp.sh: Added to generate responses

2019-07-21 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Making OCSP Response Global
     
     * tests/libtest.c: Added 'struct ocsp_resp_t' and moved OCSP response to global scope

2019-07-21 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added templates, records, and script for OCSP Responder PEM/DER files
     
     * tests/certs/ocsp/demoCA/*: Openssl certificate signing records for root and intermediate
     * tests/certs/ocsp/generate_resp.sh: Added script for generating required certificates and responses
     * tests/certs/ocsp/interm-template.txt: Added template for intermediate certificate
     * tests/certs/ocsp/interm.cnf: Added openssl config for intermediate certificate signing
     * tests/certs/ocsp/root-template.txt: Added template for root certificate
     * tests/certs/ocsp/server-template.txt: Added template for server certificate

2019-07-21 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added required certificates and response
     
     * tests/certs/ocsp/ocsp_resp_ok.der: Added OCSP verified response
     * tests/certs/ocsp/ocsp_resp_revoked.der: Added OCSP revoked response
     * tests/certs/ocsp/x509-interm-cert.pem: Added intermediate certificate
     * tests/certs/ocsp/x509-interm-key.pem: Added intermediate private key
     * tests/certs/ocsp/x509-root-cert.pem: Added root CA certificate
     * tests/certs/ocsp/x509-root-key.pem: Added root CA private key
     * tests/certs/ocsp/x509-server-cert.pem: Added server certificate
     * tests/certs/ocsp/x509-server-key.pem: Added server private key

2019-07-21 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added test-ocsp-server
     
     * tests/Makefile.am: Modified to run the test
     * tests/test-ocsp-server: Added for testing OCSP verified/revoked responses

2019-07-20 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added OCSP Responder to the test library
     
     * tests/libtest.c: Added the skeleton responder
     * tests/libtest.h: Added required macros and function prototype

2019-07-20 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added option --ocsp-date
     
     * docs/wget2.md: Added documentation for --ocsp-date
     * include/wget/wget.h: Added macro WGET_SSL_OCSP_DATE
     * libwget/ssl_gnutls.c: Modified to use option
     * src/options.c: Added option handler
     * src/wget_options.h: Declared bool for option

2019-07-20 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added option --ocsp-nonce
     
     * docs/wget2.md: Added documentation for --ocsp-nonce
     * include/wget/wget.h: Added macro WGET_SSL_OCSP_NONCE
     * libwget/ssl_gnutls.c: Modified to use option
     * src/options.c: Added option handler
     * src/wget_options.h: Declared bool for option

2019-07-20 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Added option --ocsp-server
     
     * docs/wget2.md: Added documentation for --ocsp-server
     * libwget/ssl_gnutls.c: Modified to use value from option parameter
     * src/options.c: Added option handler
     * src/wget_options.h: Declared storage for option parameter

2019-07-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (safe_ctime): Fix buffer size

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_console_color_t -> wget_console_color
     
     * include/wget/wget.h: Rename wget_console_color_t -> wget_console_color
     * libwget/console.c: Likewise
     * src/log.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_bar_t -> wget_bar
     
     * include/wget/wget.h: Rename wget_bar_t -> wget_bar
     * fuzz/libwget_bar_fuzzer.c: Likewise
     * libwget/bar.c: Likewise
     * src/bar.c: Likewise
     * src/wget_bar.h: Likewise
     * unit-tests/test.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_robots_t -> wget_robots
     
     * include/wget/wget.h: Rename wget_robots_t -> wget_robots
     * fuzz/libwget_robots_parse_fuzzer.c: Likewise
     * libwget/robots.c: Likewise
     * libwget/test_linking_robots.c: Likewise
     * src/wget_host.h: Likewise
     * unit-tests/test.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_metalink_*_t -> wget_metalink_*
     
     * include/wget/wget.h: Rename wget_metalink_*_t -> wget_metalink_*
     * libwget/metalink.c: Likewise
     * src/job.c: Likewise
     * src/wget.c: Likewise
     * src/wget_job.h: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_digest_algorithm_t -> wget_digest_algorithm
     
     * include/wget/wget.h: Rename wget_digest_algorithm_t -> wget_digest_algorithm
     * libwget/hash_printf.c: Likewise
     * libwget/hashfile.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_hash_hd_t -> wget_hash_hd
     
     * include/wget/wget.h: Rename wget_hash_hd_t -> wget_hash_hd
     * libwget/hashfile.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_http_connection_t -> wget_http_connection
     
     * include/wget/wget.h: Rename wget_http_connection_t -> wget_http_connection
     * examples/check_url_types.c: Likewise
     * examples/http_get.c: Likewise
     * examples/http_get2.c: Likewise
     * examples/http_multi_get.c: Likewise
     * examples/websequencediagram.c: Likewise
     * examples/websequencediagram_high.c: Likewise
     * fuzz/libwget_http_client_fuzzer.c: Likewise
     * libwget/http.c: Likewise
     * libwget/http_highlevel.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * src/wget.c: Likewise
     * src/wget_job.h: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_http_request_t -> wget_http_request
     
     * include/wget/wget.h: Rename wget_http_request_t -> wget_http_request
     * examples/http_get2.c: Likewise
     * examples/http_multi_get.c: Likewise
     * examples/websequencediagram.c: Likewise
     * fuzz/libwget_http_client_fuzzer.c: Likewise
     * libwget/http.c: Likewise
     * libwget/http_highlevel.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * src/wget.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_http_response_t -> wget_http_response
     
     * include/wget/wget.h: Rename wget_http_response_t -> wget_http_response
     * examples/batch_loader.c: Likewise
     * examples/check_url_types.c: Likewise
     * examples/getstream.c: Likewise
     * examples/http_get.c: Likewise
     * examples/http_get2.c: Likewise
     * examples/http_multi_get.c: Likewise
     * examples/websequencediagram.c: Likewise
     * examples/websequencediagram_high.c: Likewise
     * fuzz/libwget_http_client_fuzzer.c: Likewise
     * fuzz/libwget_http_parse_fuzzer.c: Likewise
     * libwget/http.c: Likewise
     * libwget/http_highlevel.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * src/gpgme.c: Likewise
     * src/stats_site.c: Likewise
     * src/wget.c: Likewise
     * src/wget_gpgme.h: Likewise
     * src/wget_stats.h: Likewise
     * tests/test-cookies-http_state.c: Likewise
     * unit-tests/test-cookies-http_state.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename transfer_encoding_* -> wget_transfer_encoding_*
     
     * include/wget/wget.h: Rename transfer_encoding_* -> wget_transfer_encoding_*
     * libwget/http.c: Likewise
     * libwget/http_parse.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_http_challenge_t -> wget_http_challenge
     
     * include/wget/wget.h: Rename wget_http_challenge_t -> wget_http_challenge
     * libwget/http.c: Likewise
     * libwget/http_parse.c: Likewise
     * src/options.c: Likewise
     * src/wget.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_http_digest_t -> wget_http_digest
     
     * include/wget/wget.h: Rename wget_http_digest_t -> wget_http_digest
     * libwget/http_parse.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_http_link_t -> wget_http_link
     
     * include/wget/wget.h: Rename wget_http_link_t -> wget_http_link
     * libwget/http_parse.c: Likewise
     * src/wget.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_http_header_param_t -> wget_http_header_param
     
     * include/wget/wget.h: Rename wget_http_header_param_t -> wget_http_header_param
     * libwget/http.c: Likewise
     * libwget/http_highlevel.c: Likewise
     * libwget/http_parse.c: Likewise
     * src/options.c: Likewise
     * src/wget.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_tcp_t -> wget_tcp
     
     * include/wget/wget.h: Rename wget_tcp_t -> wget_tcp
     * libwget/http.h: Likewise
     * libwget/net.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/ssl_none.c: Likewise
     * libwget/ssl_wolfssl.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_dns_t -> wget_dns
     
     * include/wget/wget.h: Rename wget_dns_t -> wget_dns
     * libwget/dns.c: Likewise
     * libwget/net.c: Likewise
     * libwget/net.h: Likewise
     * src/options.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_dns_cache_t -> wget_dns_cache
     
     * include/wget/wget.h: Rename wget_dns_cache_t -> wget_dns_cache
     * libwget/dns.c: Likewise
     * libwget/dns_cache.c: Likewise
     * libwget/init.c: Likewise
     * src/options.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_html_tag_t -> wget_html_tag
     
     * include/wget/wget.h: Rename wget_html_tag_t -> wget_html_tag
     * libwget/html_url.c: Likewise
     * src/options.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_html_parsed_result_t -> wget_html_parsed_result
     
     * include/wget/wget.h: Rename wget_html_parsed_result_t -> wget_html_parsed_result
     * examples/check_url_types.c: Likewise
     * examples/print_html_urls.c: Likewise
     * fuzz/libwget_html_url_fuzzer.c: Likewise
     * libwget/html_url.c: Likewise
     * src/wget.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_html_parsed_url_t -> wget_html_parsed_url
     
     * include/wget/wget.h: Rename wget_html_parsed_url_t -> wget_html_parsed_url
     * examples/check_url_types.c: Likewise
     * examples/print_html_urls.c: Likewise
     * libwget/html_url.c: Likewise
     * src/wget.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_string_t -> wget_string
     
     * include/wget/wget.h: Rename wget_string_t -> wget_string
     * examples/batch_loader.c: Likewise
     * examples/check_url_types.c: Likewise
     * examples/print_html_urls.c: Likewise
     * libwget/atom_url.c: Likewise
     * libwget/robots.c: Likewise
     * libwget/rss_url.c: Likewise
     * libwget/sitemap_url.c: Likewise
     * src/host.c: Likewise
     * src/wget.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_css_parsed_url_t -> wget_css_parsed_url
     
     * include/wget/wget.h: Rename wget_css_parsed_url_t -> wget_css_parsed_url
     * examples/print_css_urls3.c: Likewise
     * libwget/css_url.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_netrc_t -> wget_netrc
     
     * include/wget/wget.h: Rename wget_netrc_t -> wget_netrc
     * libwget/netrc.c: Likewise
     * src/wget.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_netrc_db_t -> wget_netrc_db
     
     * include/wget/wget.h: Rename wget_netrc_db_t -> wget_netrc_db
     * fuzz/libwget_netrc_fuzzer.c: Likewise
     * libwget/netrc.c: Likewise
     * src/wget_options.h: Likewise
     * unit-tests/test.c: Likewise

2019-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_ocsp_db_t -> wget_ocsp_db
     
     * include/wget/wget.h: Rename wget_ocsp_db_t -> wget_ocsp_db
     * examples/http_multi_get.c: Likewise
     * fuzz/libwget_ocsp_fuzzer.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/plugin.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/ssl_wolfssl.c: Likewise
     * src/plugin.c: Likewise
     * src/wget_options.h: Likewise
     * src/wget_plugin.h: Likewise
     * tests/test-plugin-dummy.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_tls_session_db_t -> wget_tls_session_db
     
     * include/wget/wget.h: Rename wget_tls_session_db_t -> wget_tls_session_db
     * fuzz/libwget_tlssess_fuzzer.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/ssl_wolfssl.c: Likewise
     * libwget/tls_session.c: Likewise
     * src/wget_options.h: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_tls_session_t -> wget_tls_session
     
     * include/wget/wget.h: Rename wget_tls_session_t -> wget_tls_session
     * libwget/tls_session.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_cookie_t -> wget_cookie
     
     * include/wget/wget.h: Rename wget_cookie_t -> wget_cookie
     * fuzz/libwget_cookie_fuzzer.c: Likewise
     * libwget/cookie.c: Likewise
     * libwget/http_parse.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_cookie_db_t -> wget_cookie_db
     
     * include/wget/wget.h: Rename wget_cookie_db_t -> wget_cookie_db
     * examples/http_get2.c: Likewise
     * fuzz/libwget_cookie_fuzzer.c: Likewise
     * libwget/cookie.c: Likewise
     * libwget/http_highlevel.c: Likewise
     * libwget/init.c: Likewise
     * src/wget_options.h: Likewise
     * tests/test-cookies-http_state.c: Likewise
     * unit-tests/test-cookies-http_state.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_iri_t -> wget_iri
     
     * include/wget/wget.h: Rename wget_iri_t -> wget_iri
     * examples/*.c: Likewise
     * fuzz/*.c: Likewise
     * libwget/*.c: Likewise
     * src/*.c: Likewise
     * tests/*.c: Likewise
     * unit-tests/*.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_decompressor_t -> wget_decompressor
     
     * include/wget/wget.h: Rename wget_decompressor_t -> wget_decompressor
     * libwget/decompressor.c: Likewise
     * libwget/http.c: Likewise
     * src/wget.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_thread_cond_t -> wget_thread_cond
     
     * include/wget/wget.h: Rename wget_thread_cond_t -> wget_thread_cond
     * libwget/thread.c: Likewise
     * src/wget.c: Likewise
     * src/wget_job.h: Likewise
     * unit-tests/test-cond.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_thread_mutex_t -> wget_thread_mutex
     
     * include/wget/wget.h: Rename wget_thread_mutex_t -> wget_thread_mutex
     * libwget/*.c: Likewise
     * src/*.c: Likewise
     * unit-tests/test-cond.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_thread_id_t -> wget_thread_id
     
     * include/wget/wget.h: Rename wget_thread_id_t -> wget_thread_id
     * libwget/thread.c: Likewise
     * src/host.c: Likewise
     * src/wget_job.h: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_thread_t -> wget_thread
     
     * include/wget/wget.h: Rename wget_thread_t -> wget_thread
     * examples/batch_loader.c: Likewise
     * libwget/thread.c: Likewise
     * src/*.c: Likewise
     * unit-tests/test-cond.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_stringmap_iterator_t -> wget_stringmap_iterator
     
     * include/wget/wget.h: Likewise
     * unit-tests/test.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_stringmap_t -> wget_stringmap
     
     * include/wget/wget.h: Rename wget_stringmap_t -> wget_stringmap
     * libwget/stringmap.c: Likewise
     * src/options.c: Likewise
     * src/plugin.c: Likewise
     * src/wget.c: Likewise
     * unit-tests/stringmap_perf.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_hashmap_iterator_t -> wget_hashmap_iterator
     
     * include/wget/wget.h: Rename wget_hashmap_iterator_t -> wget_hashmap_iterator
     * libwget/hashmap.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_hashmap_t -> wget_hashmap
     
     * include/wget/wget.h: Rename wget_hashmap_t -> wget_hashmap
     * libwget/*.c: Likewise
     * src/*.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_vector_t -> wget_vector
     
     * include/wget/wget.h: Rename wget_vector_t -> wget_vector
     * examples/print_css_urls3.c: Likewise
     * fuzz/*.c: Likewise
     * libwget/*.c: Likewise
     * src/*.c: Likewise
     * tests/*.c: Likewise
     * unit-tests/*.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_logger_t -> wget_logger
     
     * include/wget/wget.h: Rename wget_logger_t -> wget_logger
     * libwget/log.c: Likewise
     * libwget/logger.c: Likewise
     * libwget/logger.h: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_buffer_t -> wget_buffer
     
     * include/wget/wget.h: Rename wget_buffer_t -> wget_buffer
     * examples/*.c: Likewise
     * fuzz/libwget_iri_fuzzer.c: Likewise
     * libwget/*.c: Likewise
     * src/*.c: Likewise
     * tests/*.c: Likewise
     * unit-tests/*.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_bitmap_t -> wget_bitmap
     
     * include/wget/wget.h: Likewise
     * libwget/bitmap.c: Likewise
     * unit-tests/test.c: Likewise

2019-07-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_list_t -> wget_list
     
     * include/wget/wget.h: Likewise
     * libwget/list.c: Likewise
     * libwget/test_linking.c: Likewise
     * src/wget_host.h: Likewise
     * src/wget_job.h: Likewise

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Add prototype for _get_body

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove wget_tcp_set_stats_site() function
     
     * include/wget/wget.h: Remove wget_stats_callback_t and
       wget_tcp_set_stats_site()
     * libwget/http.c: Remove wget_tcp_set_stats_site()

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_server_stats_callback_t not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedef
     * libwget/http.c: Amend casts and variable types

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_tls_stats_callback_t not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedef
     * libwget/ssl_gnutls.c: Amend casts and variable types
     * libwget/ssl_wolfssl.c: Likewise

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_ocsp_stats_callback_t not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedef
     * libwget/ssl_gnutls.c: Amend casts and variable types
     * libwget/ssl_wolfssl.c: Likewise

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_dns_stats_callback_t not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedef
     * libwget/dns.c: Amend casts and variable types

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef plugin functions not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedefs
     * libwget/plugin.c: Amend casts and variable types
     * src/plugin.c: Likewise

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef http callback functions not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedefs
     * libwget/http.c: Amend casts and variable types
     * libwget/http_highlevel.c: Likewise

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef XML parse functions not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedef
     * libwget/xml.c: Amend casts and variable types

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef CSS parse functions not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedefs
     * libwget/css.c: Amend casts and variable types

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef decompressor functions not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedefs
     * libwget/decompressor.c: Likewise, Amend casts

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add CI runner for Debian unstable

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef vector functions not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedefs
     * libwget/*.c: Amend casts
     * src/*.c: Likewise
     * tests/*.c: Likewise
     * unit-tests/*.c: Likewise

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_logger_func_t not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedef
     * libwget/init.c: Amend va_arg params
     * libwget/logger.c: Amend function params

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_* alloc functions not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedefs
     * libwget/xalloc.c: Amend declarations

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_list_browse_t not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedef
     * libwget/list.c: Amend wget_list_browse() argument
     * src/host.c: Amend cast

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_update_[load|save]_t not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedefs
     * libwget/*.c: Amend casts

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef wget_global_get_func_t not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedef
     * libwget/init.c: Amend function definition

2019-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Typedef hashmap functions not as pointer
     
     * include/wget/wget.h: Remove '*' signature from function typedefs
     * libwget/*.c: Amend casts
     * src/*.c: Likewise
     * unit-tests/stringmap_perf.c: Likewise

2019-07-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c (_bar_update_speed_stats): Fix division by 0

2019-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats_site.c (site_stats_init): Always free resources

2019-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_stats): Fix stats options
     
     Stats options wrote to stdout when a filename was given without format.

2019-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*.in: Update fuzz corpora from OSS-Fuzz

2019-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/README.md: clang-6.0 -> clang

2019-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (init): Do not write stats to files when fuzzing

2019-07-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/Makefile.am: Add README.md to DISTCLEANFILES unconditionally

2019-07-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis_setup.sh: Add GNU grep and gawk for OSX

2019-07-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.sh: Fix sed -i for OSX on TravisCI

2019-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_mem): Fix buffer overflow detected by ASAN

2019-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c (wget_ssl_init): Exit gracefully on error

2019-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Add new syntax-check rule 'sc_gettext_printf'

2019-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix missing gettext/translation for string literals
     
     * libwget/robots.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/ssl_wolfssl.c: Likewise
     * src/gpgme.c: Likewise
     * src/host.c: Likewise
     * src/options.c: Likewise
     * src/wget.c: Likewise

2019-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Add new syntax-check rule 'sc_prohibit_gettext_debug'

2019-06-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/Makefile.am: Replace $< from explicit rule

2019-06-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Replace $< from explicit rule

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (_add_tag): Fix OSS-Fuzz issue 15526

2019-06-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add pkg-config check for libnettle

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c (wget_strnglob): Return NULL if malloc fails

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Indentation cleanups

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_bar_st -> wget_bar_st
     
     * include/wget/wget.h: Likewise
     * libwget/bar.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_hash_hd_st -> wget_hash_hd_st
     
     * include/wget/wget.h: Likewise
     * libwget/hashfile.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_http_connection_st -> wget_http_connection_st
     
     * include/wget/wget.h: Likewise
     * libwget/http.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_netrc_db_st -> wget_netrc_db_st
     
     * include/wget/wget.h: Likewise
     * libwget/netrc.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_tls_session_db_st -> wget_tls_sessione_db_st
     
     * include/wget/wget.h: Likewise
     * libwget/tls_session.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_tls_session_st -> wget_tls_sessione_st
     
     * include/wget/wget.h: Likewise
     * libwget/tls_session.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Remove comment line

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_hpkp_st -> wget_hpkp_st
     
     * include/wget/wget.h: Likewise
     * libwget/hpkp.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_cookie_st -> wget_cookie_st
     
     * include/wget/wget.h: Likewise
     * libwget/cookie.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_options.h (struct config): wget_cookie_db_st -> wget_cookie_db_t

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_cookie_db_st -> wget_cookie_db_st
     
     * include/wget/wget.h: Likewise
     * libwget/cookie.c: Likewise
     * src/wget_options.h: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_decompressor_st -> wget_decompressor_st
     
     * include/wget/wget.h: Likewise
     * libwget/decompressor.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_thread_cond_st -> wget_thread_cond_st
     
     * include/wget/wget.h: Likewise
     * libwget/thread.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_thread_mutex_st -> wget_thread_mutex_st
     
     * include/wget/wget.h: Likewise
     * libwget/thread.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_thread_st -> wget_thread_st
     
     * include/wget/wget.h: Likewise
     * libwget/thread.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_hashmap_iterator_st -> wget_hashmap_iterator_st
     
     * include/wget/wget.h: Likewise
     * libwget/hashmap.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_hashmap_st -> wget_hashmap_st
     
     * include/wget/wget.h: Likewise
     * libwget/hashmap.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_logger_st -> wget_logger_st
     
     * include/wget/wget.h: Likewise
     * libwget/logger.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename _wget_list_st -> wget_list_st
     
     * include/wget/wget.h: Likewise
     * libwget/list.c: Likewise

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Rename _WGET_PREFIX -> WGET_PREFIX

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Add G_GNUC_WGET_MALLOC to wget_read_file()

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/robots.c (wget_robots_parse): Fix corner-case memleak

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Check OOM in wget_http_add_header*()
     
     * include/wget/wget.h: Return int for wget_http_add_header(),
       return int for wget_http_add_header_param()
     * libwget/http.c; New static function http_add_header(),
       (wget_http_add_header_vprintf): Use http_add_header(),
       (wget_http_add_header): Return int, use http_add_header(),
       (wget_http_add_header_param): Return int, use http_add_header()

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_highlevel.c (wget_http_get): Check return value of wget_vector_add_memdup()

2019-06-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Add memory checks to wget_http_add_header_vprintf()
     
     * include/wget/wget.h: return int for wget_http_add_header_vprintf(),
       return int for wget_http_add_header_printf()
     * libwget/http.c (wget_http_add_header_vprintf):
       check for memory allocations and return error code,
       (wget_http_add_header_printf): Return error code

2019-06-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c (_html_get_url): Set url.link_inline

2019-06-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c (_css_parse_uri): Use malloc + wget_vector_add

2019-06-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/sitemap_url.c (_sitemap_get_url): Use malloc + wget_vector_add

2019-06-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/rss_url.c (_rss_get_url): Use malloc + wget_vector_add

2019-06-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/css_url.c (_css_get_url): Use calloc + wget_vector_add

2019-06-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/atom_url.c (_atom_get_url): Use malloc + wget_vector_add

2019-06-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Simplify vector API
     
     * libwget/vector.c: Use wget_free as default destructor,
       renamed _vec_insert_private() -> insert_element,
       (insert_element): removed args 'size' and 'alloc',
       removed the _noalloc() API,
       removed the 'size' argument from functions,
       added wget_vector_add_memdup() as convenience function,
       renamed _compare() -> compare_element
     * include/wget/wget.h: Removed _noalloc() functions
     * fuzz/libwget_cookie_fuzzer.c: Amended to new API
     * libwget/*.c: Likewise
     * src/*.c: Likewise
     * tests/*.c: Likewise
     * unit-tests/*.c: Likewise

2019-06-24 Gisle Vanem <gisle.vanem@gmail.com>

     * libwget/ssl_gnutls.c: Fix Doxygen indenting of bullet list
     
     Seems Doxgen gets confused unless all bullet-ed items in a list have the same number of spaced.
     And the generated HTML looks jagged.

2019-06-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Gisle Vanem

2019-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Add sc_prohibit_alloc to 'make syntax-check'
     
     * cfg.mk: Add sc_prohibit_alloc rule plus exceptions
     * src/options.c: Tag exceptions
     * unit-tests/test.c: Likewise
     
     This rule checks for calling malloc()/calloc()/realloc(). Instead, either
     use wget_malloc(), wget_calloc() or wget_realloc().

2019-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Add sc_prohibit_free to 'make syntax-check'
     
     * cfg.mk: Add sc_prohibit_free rule plus exceptions
     * examples/print_css_urls3.c: Remove unneeded comment
     * fuzz/libwget_base64_fuzzer.c: Use wget_free() instead of free()
     * fuzz/libwget_cookie_fuzzer.c: Likewise
     * fuzz/libwget_css_url_fuzzer.c: Likewise
     * fuzz/libwget_http_client_fuzzer.c: Likewise
     * fuzz/libwget_utils_fuzzer.c: Likewise
     * libwget/vector.c: Likewise
     * src/options.c: Likewise
     * src/wget_main.h: Likewise
     * tests/test-compression.c: Likewise
     * tests/test-cookies-http_state.c: Likewise
     * tests/test-metalink.c: Likewise
     * unit-tests/stringmap_perf.c: Likewise
     
     This rule checks for calling free(). Instead, either use wget_free() or
     the convenience macro xfree().

2019-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * m4/wget_manywarnings.m4: Remove -Werror-... options

2019-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Fix compiler warning on MinGW

2019-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/wget_options_fuzzer.c: Fix compiler warning on MinGW

2019-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/Makefile.am: Avoid using unportable .o reference with libtool

2019-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove need for C11 thread local storage
     
     * configure.ac: Remove check for threads.h
     * libwget/ssl_gnutls.c: Remove need for C11 thread local storage

2019-06-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_http_client_fuzzer.c: Add emulation of freeaddrinfo()

2019-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Add const to conn_info

2019-06-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/Makefile.am: Use top_srcdir instead of .. to fix VPATH build

2019-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (deinit): Fix OSS-Fuzz issue 15443

2019-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_stats): Fix OSS-Fuzz issue 15438

2019-06-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/Makefile.am: Use top_srcdir instead of .. to fix VPATH build

2019-06-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Inline most of stringmap API
     
     * include/wget/wget.h: Add stringmap API (mostly) as static inline functions
     * libwget/stringmap.c: Remove stringmap implementation (mostly)

2019-06-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Add memory checks and error return value to hashmap API
     
     * include/wget/wget.h: wget_hashmap_sethashfunc() returns int
     * libwget/hashmap.c: Check memory allocations
     * libwget/stringmap.c: wget_stringmap_sethashfunc() returns int

2019-06-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Simplify hashmap and stringmap API
     
     * include/wget/wget.h: Replace _put() by _put_noalloc() functions to
       keep memory allocations outside the library functions.
     * libwget/stringmap.c: Likewise
     * libwget/hashmap.c: Likewise
     * libwget/*.c: Likewise
     * src/*.c: Likewise
     * unit-tests/*.c: Likewise

2019-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Separate DNS and DNS caching
     
     * include/wget/wget.h: Rewrite parts of the DNS / DNS caching API
     * libwget/dns.c: Likewise
     * libwget/dns_cache.c: Likewise
     * libwget/init.c (wget_global_init): Amend WGET_DNS_CACHING
     * libwget/net.c: Cleanup and amend for the new API
     * libwget/net.h: Cleanup
     * src/options.c: Use DNS caching instance if caching is requested

2019-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove --stats-all
     
     * docs/wget2.md Remove docs for --stats-all
     * src/options.c: Remove --stats-all and parse_stats_all()
     * fuzz/wget_options_fuzzer.dict: remove --stats-all
     * tests/Makefile.am: Remove test-stats-all
     * tests/test-stats-all.c: Remove file

2019-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Rewrite Site statistics --stats-site
     
     * fuzz/Makefile.am: Remove ../src/stats_site.o
     * include/wget/wget.h: Remove wget_stats_type_t
     * po/POTFILES.in. Remove src/stats.c
     * src/Makefile.am: Remove stats_site.c
     * src/options.c (parse_stats_all): Remove site stats code,
       (init): Add DNS stats code,
       (deinit): Cleanup dns stats code
     * src/stats.c: Remove file
     * src/stats_site.c: iFix for new stats code
     * src/wget.c (main): stats_print -> site_stats_print,
       (add_statistics): config.stats_site -> config.stats_site_args,
       (process_response): Likewise
     * src/wget_options.h (struct config): Remove stats_site, add stats_site_args
     * src/wget_stats.h: Remove stats_opt_t,
       remove stats_print_func_t,
       remove stats_callback_setter_t,
       remove struct stats_opts,
       remove stats_site_opts,
       rename stats_init -> site_stats_init,
       rename stats_exit -> site_stats_exit,
       rename stats_print -> site_stats_print
     * unit-tests/Makefile.am: Remove ../src/stats.o

2019-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Amend --stats-* syntax
     
     * docs/wget2.md: Amend docs for --stats-*
     * src/options.c: Amend option syntax for --stats-*
     * tests/stats-test-util.h: Amend tests to succeed

2019-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Rewrite Server statistics --stats-server
     
     * fuzz/Makefile.am: Remove ../src/stats_server.o
     * include/wget/wget.h:
       remove wget_server_stats_t,
       rename wget_stats_callback_t -> wget_server_stats_callback_t,
       rename wget_tcp_set_stats_server -> wget_server_set_stats_callback,
       add wget_server_stats_data_t,
       add wget_server_stats_callback_t,
     * libwget/http.c: Remove _stats_data_t,
       add server_stats_callback,
       add server_stats_ctx
     * src/Makefile.am: Remove stats_server.c
     * src/options.c (parse_stats_all): Remove server stats code,
       add stats_callback_server(),
       (init): Add DNS stats code,
       (deinit): Cleanup dns stats code
     * src/stats.c (stats_print_func_t): Remove print_server[],
       remove WGET_STATS_TYPE_SERVER
     * src/stats_server.c: Remove file
     * src/wget_options.h (struct config): Remove stats_server, add stats_server_args
     * src/wget_stats.h: Remove stats_server_opts
     * unit-tests/Makefile.am: Remove ../src/stats_server.o

2019-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Rewrite TLS statistics --stats-tls
     
     * fuzz/Makefile.am: Remove ../src/stats_tls.o
     * include/wget/wget.h: Add wget_tls_stats_data_t,
       add wget_tls_stats_callback_t,
       add wget_ssl_set_stats_callback_tls,
       remove WGET_STATS_TYPE_TLS,
       remove wget_tls_stats_t,
       remove wget_tcp_set_stats_tls(),
       remove wget_tcp_get_stats_tls()
     * libwget/ssl_gnutls.c: Remove old stats code, add new stats code
     * libwget/ssl_none.c: Add/remove function stubs
     * libwget/ssl_wolfssl.c: Remove old stats code, add new stats code
     * src/Makefile.am: Remove stats_tls.c
     * src/options.c (parse_stats_all): Remove TLS stats code,
       add stats_callback_tls(),
       (init): Add TLS stats code,
     * src/stats.c (stats_print_func_t): Remove print_tls[],
       remove WGET_STATS_TYPE_TLS
     * src/stats_tls.c: Remove file
     * src/wget_options.h (struct config): Remove stats_tls, add stats_tls_args
     * src/wget_stats.h: Remove stats_tls_opts
     * unit-tests/Makefile.am: Remove ../src/stats_tls.o

2019-06-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Rewrite OCSP statistics --stats-ocsp
     
     * fuzz/Makefile.am: Remove ../src/stats_ocsp.o
     * include/wget/wget.h: Add wget_ocsp_stats_data_t,
       add wget_ocsp_stats_callback_t,
       add wget_ssl_set_stats_callback_ocsp,
       remove WGET_STATS_TYPE_OCSP,
       remove wget_ocsp_stats_t,
       remove wget_tcp_set_stats_ocsp(),
       remove wget_tcp_get_stats_ocsp()
     * libwget/ssl_gnutls.c: Remove old stats code, add new stats code
     * libwget/ssl_none.c: Add/remove function stubs
     * libwget/ssl_wolfssl.c: Remove old stats code, add new stats code
     * src/Makefile.am: Remove stats_ocsp.c
     * src/options.c (parse_stats_all): Remove OCSP stats code,
       add stats_callback_ocsp(),
       (init): Add OCSP stats code,
     * src/stats.c (stats_print_func_t): Remove print_ocsp[],
       remove WGET_STATS_TYPE_OCSP
     * src/stats_ocsp.c: Remove file
     * src/wget_options.h (struct config): Remove stats_ocsp, add stats_ocsp_args
     * src/wget_stats.h: Remove stats_ocsp_opts
     * unit-tests/Makefile.am: Remove ../src/stats_ocsp.o

2019-06-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Rewrite DNS statistics --stats-dns
     
     * fuzz/Makefile.am: Remove ../src/stats_dns.o
     * include/wget/wget.h: Add wget_dns_stats_data_t,
       add wget_dns_stats_callback_t,
       add wget_dns_set_stats_callback,
       remove WGET_STATS_TYPE_DNS,
       remove wget_dns_stats_t,
       remove wget_dns_set_stats(),
       remove wget_dns_get_stats()
     * libwget/dns.c: Remove _stats_data_t,
       amend struct wget_dns_st,
       add wget_dns_set_stats_callback(),
       remove wget_dns_get_stats()
     * src/Makefile.am: Remove stats_dns.c
     * src/options.c (parse_stats_all): Remove DNS stats code,
       add stats_callback_dns(),
       (init): Add DNS stats code,
     * src/stats.c (stats_print_func_t): Remove print_dns[],
       remove WGET_STATS_TYPE_DNS
     * src/stats_dns.c: Remove file
     * src/wget_options.h (struct config): Remove stats_dns, add stats_dns_args
     * src/wget_stats.h: Remove stats_dns_opts
     * tests/stats-test-util.h: Remove "human"
     * unit-tests/Makefile.am: Remove ../src/stats_ocsp.o

2019-05-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Put resolver/dns code into own source file
     
     * docs/Makefile.am: Add libwget-dns.3 man page
     * examples/batch_loader.c: Remove call to wget_tcp_set_dns_timeout()
     * examples/check_url_types.c: Use wget_dns_set_timeout()
     * include/wget/wget.h: Add wget_dns_ API
     * libwget/Makefile.am: Add dns.c
     * libwget/dns.c: New file
     * libwget/init.c: Use wget_dns_set_caching()
     * libwget/net.c: Remove DNS functions
     * libwget/net.h (wget_tcp_st): Add dns member
     * po/POTFILES.in: Add libwget/dns.c
     * src/options.c: Use new DNS API
     * src/stats.c: Add some checks
     * src/stats_dns.c: Use wget_dns_get_stats()

2019-05-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/thread.c: Manually inline wget_get_timemillis() into wget_thread_cond_wait()

2019-05-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Move wget_restrict_file_name() to src/utils.c
     
     * fuzz/libwget_utils_fuzzer.c: Remove test code for wget_restrict_file_name()
     * include/wget/wget.h: Remove wget_restrict_file_name() prototype
     * libwget/utils.c: Remove wget_restrict_file_name()
     * src/utils.c: Add wget_restrict_file_name()
     * src/wget_utils.h: Add wget_restrict_file_name() prototype
     * tests/Makefile.am: Add ../src/utils.c to libtest_la_SOURCES
     * tests/libtest.c: Include ../src/wget_utils.h

2019-06-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix several forgotten xmalloc -> wget_malloc
     
     * libwget/css.c (wget_css_parse_file): Rename xmalloc->wget_malloc
     * libwget/hashfile.c (wget_hash_init): Likewise
     * libwget/ssl_gnutls.c (_cert_verify_hpkp): Likewise
     * libwget/xml.c (wget_xml_parse_file): Likewise

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashmap.c (hashmap_rehash): Fix for wget_calloc()

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove xrealloc define for wget_realloc
     
     * libwget/private.h: Remove #define
     * libwget/*.c: Replace xrealloc by wget_realloc

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove xcalloc define for wget_calloc
     
     * libwget/private.h: Remove #define
     * libwget/*.c: Replace xcalloc by wget_calloc

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove xmalloc define for wget_malloc
     
     * libwget/private.h: Remove #define
     * libwget/*.c: Replace xmalloc by wget_malloc

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/vector.c (wget_vector_create): Check result of malloc()

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/thread.c: Check result of malloc()

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/mem.c: Check result of malloc()

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/list.c (wget_list_append): Check result of malloc()

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_parse,wget_iri_clone): Check result of malloc()

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (_server_stats_add): Check result of malloc()

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c (wget_cookie_create_request_header): Check result of malloc()

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Add LIBWGET_WARN_UNUSED_RESULT

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Don't ignore wget_malloc() return value
     
     * libwget/test_linking.c: Don't ignore wget_malloc() return value

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Add G_GNUC_WGET_RETURNS_NONNULL in wget.h
     
     * include/wget/wget.h: Add G_GNUC_WGET_RETURNS_NONNULL
     * src/Makefile.am: Add -DMALLOC_RETURNS_NONNULL
     * src/options.c: Use G_GNUC_WGET_RETURNS_NONNULL for own alloc functions

2019-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/base64.c: Check for malloc failures

2019-06-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Amend buffer functions to handle failed memory allocations
     
     * include/wget/wget.h: wget_buffer_ensure_capacity() returns int
     * libwget/buffer.c (wget_buffer_init): Return NULL if malloc fails,
       (_buffer_realloc): Return error if malloc fails
     * libwget/http.c (wget_http_get_response_cb): Check return value of
       wget_buffer_ensure_capacity()
     * unit-tests/test.c (test_buffer): Add asserts

2019-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Make wget allocation functions overridable function pointers
     
     * include/wget/wget.h: Remove allocation function prototypes,
       add function pointer types and 'extern' globals
     * libwget/private.h: Use wget_free() instead of free()
     * libwget/xalloc.c: Remove function definitions,
       add global function pointer variables
     * src/options.c: Add own allocation functions
     * unit-tests/test.c: Test that function pointers are overridable

2019-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change OOM callback implementation

2019-06-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix robots.txt code for stand-alone library API
     
     * fuzz/libwget_robots_parse_fuzzer.c: Amend API call
     * include/wget/wget.h: Amend wget_robots_parse() API
     * libwget/robots.c: Amend wget_robots_parse() API,
       check memory allocations
     * libwget/test_linking_robots.c: New file
     * src/wget.c (process_response): Amend call to wget_robots_parse()
     * unit-tests/test.c (test_robots): Amend call to wget_robots_parse()

2019-06-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Add robots.txt functions, make wget_robots_t opaque

2019-05-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Fix syntax-check (bindtextdomain)

2019-06-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Cleanup bitmap API
     
     * wget.h: Add WGET_E_MEMORY = -2,
       amend function interface of wget_bitmap_allocate,
       rename wget_bitmap_allocate -> wget_bitmap_init
     * libwget/bitmap.c: Likewise
     * unit-tests/test.c: Amend bitmap tests appropriate

2019-06-18 Darshit Shah <darnir@gnu.org>

     * gnulib: Update gnulib

2019-06-15 Darshit Shah <darnir@gnu.org>

     Don't check for always true headers
     
     * cfg.mk: Enable checking for always_true_header_tests
     * libwget/http.c,net.c,ssl_gnutls.c: Don't check for HAVE_SYS_SOCKET_H.
       The gnulib module always provides it.
     * libwget/ssl_gnutls.c: Don't check for HAVE_SYS_UIO_H. The gnulib
       module always provides it.
     * bootstrap.conf: Add header sys_uio
     * configure.ac: Remove check for sys/uio.h

2019-06-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Add sc_prohibit_sprintf and sc_prohibit_printf and fix code
     
     * cfg.mk: New syntax rules sc_prohibit_sprintf and sc_prohibit_printf
     * fuzz/*.c: Apply rules
     * libwget/*.c: Likewise
     * src/*.c: Likewise
     * tests/*.[ch]: Likewise
     * unit-tests/*.c: Likewise

2019-06-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: #define wget_printf()

2019-06-15 Darshit Shah <darnir@gnu.org>

     * cfg.mk: Our makefiles make judicious use of $<, skip the check

2019-06-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Add gnulib module arpa_inet
     
     On Debian unstable, after updating gnulib there was:
     
     In file included from ../lib/arpa/inet.h:46,
                      from ip.c:27:
     /usr/include/arpa/inet.h:34:8: error: unknown type name 'in_addr_t'
      extern in_addr_t inet_addr (const char *__cp) __THROW;

2019-06-15 Darshit Shah <darnir@gnu.org>

     * bootstrap: Patch script to use the python tool

2019-06-15 Darshit Shah <darnir@gnu.org>

     * bootstrap: Update the bootstrap script from gnulib

2019-06-15 Darshit Shah <darnir@gnu.org>

     * gnulib: Update gnulib

2019-06-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix --https-enforce=hard for metalink

2019-06-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Make read_xattr_metadata() easier and safer to use

2019-06-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix -nc/--no-clobber
     
     * src/wget.c: New function parse_local_file(),
       (add_url_to_queue): Parse local file if needed,
       (add_url): Likewise
     
     Closes #451

2019-06-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Moev _fix_broken_server_encoding() outside HTTP/2 code

2019-06-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Fix call to _fix_broken_server_encoding() for HTTP/2

2019-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Add --http2-only to resist on HTTP/2
     
     * docs/wget2.md: Document --http2-only
     * libwget/ssl_gnutls.c (wget_ssl_open): Error if server doesn't accept h2
     * src/options.c: Add --http2-only
     * src/wget_options.h: Add config.http2_only

2019-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Fix WolfSSL CI runner

2019-06-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Add WITH_TLS as define and conditional
     
     * configure.ac: Add WITH_TLS as define and conditional
     * tests/libtest.c: Use WITH_TLS for conditional code

2019-06-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-post-handhshake-auth.c: Check for WITH_GNUTLS

2019-05-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Enable SSL/TLS tests for WolfSSL

2019-05-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-i-https.c: Skip CRL test for WolfSSL

2019-05-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_wolfssl.c (wget_ssl_open): Fix return code for testing

2019-05-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add SSL/TLS engine 'none'
     
     * libwget/Makefile.am: Add building ssl_none.c
     * libwget/ssl_gnutls.c: Remove #ifdef WITH_GNUTLS
     * libwget/ssl_wolfssl.c: Likewise
     * libwget/ssl_none.c: Stub routines for 'no SSL/TLS support'

2019-05-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci-yml: Test WolfSSL build on Debian Unstable

2019-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     WolfSSL: Add ALPN and thus HTTP/2
     
     * libwget/ssl_wolfssl.c (wget_ssl_init): Fix setting minimal TLS version,
       (wget_ssl_open): Set ALPN for HTTP/2, add result to statistics

2019-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Initial implementation of WolfSSL as TLS backend
     
     * README.md: Mention WolfSSL
     * configure.ac: Check for WolfSSL
     * libwget/Makefile.am: Conditionally add WolfSSL to libwget
     * libwget/ssl_wolfssl.c: New file with WolfSSL implementation
     * po/POTFILES.in: Add libwget/ssl_wolfssl.c
     
     ./configure --without-gnutls --with-wolfssl

2019-05-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.sh: Set gettext version to 0.18.2

2019-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Publish tarball via Gitlab CI
     
     * .gitlab-ci.yml: Create https://gnuwget.gitlab.io/wget2/wget2-latest.tar.gz
     * README.md: Instruction to download and build wget2 from tarball

2019-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Explicitly set source_base and test_base

2019-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Update spell-checker and fix more typos
     
     * contrib/spell-checker: Update to python3 version of codespell
     * libwget/robots.c: Fix typo(s)
     * src/plugin.c: Likewise
     * src/wget_plugin.h: Likewise
     * tests/test-plugin-nonexistance.c: Likewise

2019-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/.gitignore: Update

2019-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Work around VPATH issue

2019-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/main.c: Fix paths for WIN32

2019-05-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Update gettext version to 0.19.3

2019-05-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix checks to include C11 threads.h
     
     * configure.ac: Check for threads.h
     * libwget/ssl_gnutls.c: Add check for HAVE_THREADS_H

2019-05-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Fix position of _Thread_local

2019-05-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c: Replace sprintf/snprintf by wget_ functions

2019-05-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/thread.c: Remove #include timespec.h

2019-05-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap: Fallback to gnulib-tool if python version errors

2019-05-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Use thread-safe ctime() replacement

2019-05-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Silence gcc-9 -Wchkp

2019-04-29 sebma <sebma@users.noreply.github.com>

     Test if doxygen OR pandoc is present to build the docs
     
     * configure.ac: Logically split checking for doxygen and pandoc
     
     Copyright-paperwork-exempt: Yes

2019-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new option --unlink
     
     * bootstrap.conf: Add gnulib module 'link'
     * docs/wget2.md: Remove the 'unimplemented' tag for --unlink
     * src/options.c: Add --unlink option
     * src/wget.c (_prepare_file): Unlink file if requested
     * src/wget_options.h (struct config): Add 'unlink' member
     * tests/Makefile.am: Add test-unlink
     * tests/libtest.c (wget_test): Implement hardlink feature
     * tests/libtest.h (wget_test_file_t): Add 'hardlink' member
     * tests/test-unlink.c: New file with tests for --unlink

2019-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Fix memleaks from XDG and homedir functions

2019-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (get_config_files): Fix memleaks

2019-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Mark unimplemented options with '[Not implemented yet]'

2019-04-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-limit-rate.c: Increase tolerance from 200 to 500 ms
     
     Valgrind tests on Travis needed the higher value

2019-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/wget_options_fuzzer.c: Slightly change magic number
     
     Libfuzzer is too clever and detects the magic number used in the fuzzer.
     This leads to weird behavior and false positives.

2019-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*.in: Update fuzz corpora from OSS-fuzz

2019-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/get_ossfuzz_corpora: mkdir *.in directories

2019-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/get_ossfuzz_corpora: Remove -f from unzip

2019-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (_iri_unescape_inline): Fix integer overflow (harmless)

2019-04-18 Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

     Add TLS 1.3 post-handshake authentication
     * tests/Makefile.am: Loading post-handshake-auth test
     * tests/libtest.c:
     Added execution of 'WGET_TEST_POST_HANDSHAKE_AUTH' key.
     Value: other than 0 (Check for post handshake authentication)
     Value: 0 (Don't check)
     * tests/libtest.h: Defined 'WGET_TEST_POST_HANDSHAKE_AUTH'
     * tests/test-post-handhshake-auth.c: Added to test post handshake authentication support

2019-04-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix heap buffer overflow introduced in previous commit
     
     * libwget/iri.c (_iri_unescape_inline): Add missing 'continue'
     
     Found by OSS-FUZZ (Issue 14428)

2019-04-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Add basic HTML entity decoding
     
     * libwget/iri.c (_iri_unescape_inline): Decode basic HTML entities
     * tests/test-base.c: Add test for &amp;, #ddd; and #xHH;
     
     This only cares for the basic HTML entities mentioned in RFC1866.
     This commit closes Gitlab issue 44, though it is not a full handling
     of entities. But not sure if anyone ever requests it.
     
     Fixes #44

2019-04-22 Rohan Fletcher <rohfle@gmail.com>

     Added tests for limit-rate
     
     * tests/test-limit-rate.c: new test file for limit-rate
     * tests/Makefile.am: added tests/test-limit-rate.c to build

2019-04-22 Rohan Fletcher <rohfle@gmail.com>

     Progress bar speed now calculated earlier
     
     * libwget/bar.c: added ring_used to _bar_slot_t.
       speed calculations now use the first slot while the ring is filling

2019-04-20 Rohan Fletcher <rohfle@gmail.com>

     Added limit-rate feature (#408)
     
     * src/options.c: new --limit-rate command-line args
     * src/wget_options.h: new config variable for limit-rate cli arg
     * src/wget.c: new limit_transfer_rate function. Added limit rate state
       vars to struct _body_callback_context
       (_get_body): add call to limit_transfer_rate when limit-rate enabled
       (http_send_request): init limit rate state vars

2019-04-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix parsing float values for CLI options
     
     * src/options.c: New function _parse_double_modifier(),
       (parse_numbytes): use _parse_double_modifier() instead of sscanf(),
       (parse_timeout): Likewise
     
     Fixes #432

2019-03-21 Kumar Mallikarjuna <kumarmallikarjuna314@gmail.com>

     Fix for -p -nc Bug
     
     * src/wget.c: Modified to stop redownload if document already exists
     * tests/test-p-nc.c: Added test for '-p -nc'
     * tests/Makefile.am: Modified to include test-p-nc.c while testing.
     
     Fixes #209

2019-04-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Kumar Mallikarjuna [ci skip]

2019-04-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use buildenv-fedora for FEDORA_BUILD

2019-04-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change /builds/common to /usr/local

2019-04-15 Kumar Mallikarjuna <kumarmallikarjuna314@gmail.com>

     Fix for --stats-all not working
     * src/options.c: Modified 'parse_stats_all()' for 'val' to be non-null.

2019-04-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add TCP FastOpen Linux 4.11+ style
     
     * libwget/net.c: #define TCP_FASTOPEN_LINUX_411,
       (_set_socket_options): Set TCP_FASTOPEN_CONNECT socket option,
       (wget_tcp_connect): Add code for Linux 4.11+

2019-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Move WINPATH further up

2019-04-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Fix pkg-config and gnutls

2019-04-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/spell-checker: Fix for 'te' in example URL

2019-04-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Skip blacklisting URLs from STDIN + tty
     
     * src/wget.c: Add URL_FLG_NO_BLACKLISTING,
       (add_url_to_queue): New param 'flags', skip blacklisting
       when URL_FLG_NO_BLACKLISTING is given,
       (input_thread): Add description, use URL_FLG_NO_BLACKLISTING
     
     This change allows us to use interactive services like
      (b="http://te.ttr.is:8003"; echo $b; \
       while read -sN1 a; do echo "$b/$a"; done) | wget2 --input-file=- -qO-
     (h,j,k,l = left, down, turn, right; ctrl-c = stop)

2019-04-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (input_thread): Fix communication with main thread

2019-03-31 Darshit Shah <darnir@gnu.org>

     Add Last-Modified and Content-Type to CSV stats
     
     * src/stats_site.c(struct site_stats_t): Add members last_modified and
     mime_type to store the last modified time and content-type respectively
     (stats_site_add): Store the mime type and last modification time of the
     file into the stats
     (free_stats): Free the heap-allocated mime_type field
     (print_csv): Add columns for last-modified and content-type to CSV
     header
     (print_csv_entry): Add the data for the above two columns

2019-03-26 Darshit Shah <darnir@gnu.org>

     Support XDG Desktop Specification for config files
     
     Adds functionality to Wget2 to support the XDG Base Directory
     Specification[1]. Also marks as deprecated the old location of the
     config file.
     
     * docs/wget2.md: Explicitly mark `$HOME/.wget2rc` as deprecated.
     * po/potfiles.in: utils.c now has a translateable stirng
     * src/options.c(read_config): Use bool instead of int
     (get_config_files): Now takes config_home and user_home as input.
     `user_home` is only temporary and will be removed once support for
     ~/.wget2rc is removed.
     (get_xdg_data_home): Derives the location where the data files are to be
     stored according to [1].
     (get_xdg_config_home): Derives the location where the config files are
     to be stored according to [1].
     (init): Store all the data files in $XD_DATA_HOME
     * src/wget.c(mkdir_path): Move function to utils.c
     * src/utils.c(mkdir_path): Move function from wget.c. Can now handle
       both file and directory paths.
     * src/utils.h: Add declaration for mkdir_path
     
     [1]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

2019-02-16 Darshit Shah <darnir@gnu.org>

     Improve handling of initialization files
     
     * docs/wget2.md: Add section on initialization files and the order in
     which they are read.
     * src/options.c(struct config config): Set system_config to the default
     value of "SYSCONFDIR/wget2rc"
     (struct optionw): --config now maps to config.user_config and update the
     value of the default path
     (read_config): Read the configuration for system and user configs, if
     they're set
     (get_config_files): New function that sets the values for
     config.system_config and config.user_config. For the system config it
     picks either the file in `$SYSTEM_WGET2RC` or at
     `/usr/local/etc/wget2rc`. For the user config, it picks the first file from
     `--config`, `$WGET2RC`, `$XDG_CONFIG_HOME/wget/wget2rc`,
     `~/.config/wget/wget2rc` or `$HOME/.wget2rc`.
     (init): Remove the code for finding all the config files and move it to
     `get_config_file`.
     (deinit): Free config.user_config and config.system_config. Remove
     config.config_files.
     * src/wget_options.h(struct config): New char * user_config and
     system_config. Remove config.config_files

2019-02-16 Darshit Shah <darnir@gnu.org>

     Get system wget2rc file
     
     * src/Makefile.am: Don't create a separate directory for Wget2 in
     SYSCONFDIR
     * src/options.c: If SYSTEM_WGET2RC is not set, then try to read the
     global Wget2rc from SYSCONFDIR

2019-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/encoding.c (wget_str_to_ascii): Use IDN2_USE_STD3_ASCII_RULES
     
     We convert hostnames and thus have to apply IDN2_USE_STD3_ASCII_RULES.
     If we don't do, the result could contain any ascii characters,
     e.g. 'evil.c\u2100.example.com' will be converted into
     'evil.ca/c.example.com', which seems no good idea.

2019-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_http_client_fuzzer.c: Fix for OpenBSD

2019-02-16 Darshit Shah <darnir@gnu.org>

     * docs/wget2.md: Fix typo in identation of --dns-cache

2019-02-16 Darshit Shah <darnir@gnu.org>

     * Pull gnulib forward

2019-02-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Correct --logfile -> --output-file

2019-01-23 Leon Klingele <git@leonklingele.de>

     * docs/wget2.md: --no-cache also sets the 'Cache-Control: no-cache' header
     
     Copyright-paperwork-exempt: Yes

2019-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Don't enable valgridn tests for Arch runner

2019-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Do not call pacman -Q

2019-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Prerequisite 'rsync' removed

2019-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix YAML syntax error

2019-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add Debian Testing CI runner

2019-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Really use Arch runner in CI

2019-01-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c (test_stringmap): Fix warning (shadowed variable)

2019-01-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix hashmap + stringmap docs
     
     * include/wget/wget.h: Add docs for hashmap/stringmap typedefs,
       fix argument of wget_hashmap_iterator_free()
     * libwget/hashmap.c: Add docs, fix wget_hashmap_iterator_free()
     * libwget/stringmap.c: Add docs
     * unit-tests/test.c: Fix call to wget_stringmap_iterator_free()

2019-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add iterators for hashmap and stringmap
     
     * include/wget/wget.h: New functions wget_hashmap_iterator_alloc(),
       wget_hashmap_iterator_free(), wget_hashmap_iterator_next(),
       also for stringmap.
     * libwget/hashmap.c: Implementation of the above functions
     * libwget/stringmap.c: Add wget_stringmap_iterator_next()
     * unit-tests/test.c: Add tests using stringmap iterator
     
     This functionality is sometimes more handy than the *_browse() API
     with callback functions and context variables.

2019-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_add_credentials): Code cleanup

2019-01-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename container set functions
     
     * include/wget/wget.h:
       rename wget_vector_set_growth_policy() to wget_vector_set_resize_factor(),
       rename wget_hashmap_set_growth_policy() to wget_hashmap_set_resize_factor(),
       rename wget_hashmap_setloadfactor() to wget_hashmap_set_load_factor(),
       rename wget_stringmap_setloadfactor() to wget_stringmap_set_load_factor(),
       rename wget_stringmap_set_growth_policy() to wget_stringmap_set_resize_factor().
     * libwget/hashmap.c: Likewise
     * libwget/stringmap.c: Likewise
     * libwget/vector.c: Likewise

2019-01-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Simplify hasmap/stringmap/vector API
     
     * include/wget/wget.h: Remove wget_hashmap_get_null() and
       wget_stringmap_get_null(),
       change params and return value of wget_hashmap_get() and
       wget_stringmap_get().
     * libwget/hashmap.c: Remove wget_hashmap_get_null(),
       change params and return value of wget_hashmap_get(),
       simplify hashmap_find_entry().
     * libwget/stringmap.c: Remove wget_stringmap_get(),
       change params and return value of wget_stringmap_get().
     * libwget/dns_cache.c: Amend for new API
     * libwget/hpkp.c: Likewise
     * libwget/hsts.c: Likewise
     * libwget/http.c: Likewise
     * libwget/netrc.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/tls_session.c: Likewise
     * src/host.c: Likewise
     * src/options.c: Likewise
     * src/plugin.c: Likewise
     * src/stats_site.c: Likewise
     * unit-tests/test.c: Likewise

2019-01-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Use float for container growth policy
     
     * include/wget/wget.h: Use float for *_set_growth_policy()
     * libwget/hashmap.c: Use float for wget_hashmap_set_growth_policy()
     * libwget/stringmap.c: Use float for wget_stringmap_set_growth_policy()
     * libwget/vector.c: Use float for wget_vector_set_growth_policy()
     
     Additionally, the +/- logic has been reversed in the above functions.

2019-01-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Update copyrigght to 2019

2019-01-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/version-text.h.in: Use ASCII only chars

2018-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix xattr behavior (CVE-2018-20483)
     
     * src/options.c (config): Disable --xattr by default
     * src/wget.c (set_file_metadata): Store origin URL without user/pw,
       store referer just as scheme/host/port

2018-12-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Spell check

2018-12-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix typos found by contrib/spell-checker

2018-12-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/spell-checker: Add script for spell checking

2018-12-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Fix order of libraries for linking [skip ci]

2018-12-27 Rafael Fontenelle <rafaelff@gnome.org>

     Fix misspellings

2018-12-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Add libzstd as optional dependency

2018-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c: Cleanup wget_match_tail(_nocase)

2018-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-redirection.c: Add test for Location URI with spaces in filename

2018-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Allow 3xx for redirection

2018-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (src/wget.c): Small code cleanups

2018-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_location): Being more lenient
     
     Some servers don't percent encode the URI in a Location: header.
     Having spaces in the URI leads to magled file names and likely 404.
     
     Fixes #420

2018-12-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Handle ldconfig for unprivileged users

2018-12-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Call 'ldconfig' at the end of 'make install'

2018-12-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "Fix -k/--convert-links"
     
     This reverts commit 89ff57ee937e6c70d3927c00a9dda75f33947238.
     
     The commit fixed a bug by generating a regression at another place.
     See https://gitlab.com/gnuwget/wget2/issues/415#note_124641970

2018-12-12 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/http.c (wget_http_add_credentials): Compare case independent
     
     Fixes an issue with MHD 9.62 that uses a lowercase 'md5' string.

2018-12-03 Leif Ryge <leif@synthesize.us>

     * docs/wget2.md: Fix typo s/exists/exits
     
     Copyright-paperwork-exempt: Yes

2018-11-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_xattr.h: Fix getxattr args on OSX/FreeBSD

2018-11-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Do remove css_tokenizer.c with 'make clean'

2018-11-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/check_options: Exit if not run in bash

2018-11-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add CI tarball build on basic Alpine

2018-11-17 Darshit Shah <darnir@gnu.org>

     Fix VPATH build broken in earlier commit
     
     * tests/Makefile.am: Add new file plugin_tests.h to DIST Files
     * tests/plugin_tests.h: Use BUILDDIR not SRCDIR for .libs location

2018-11-14 Darshit Shah <darnir@gnu.org>

     Fix bug in dns_cache_preload
     
     * src/options.c(options): --dns-cache-preload does expect a value. It is
     not an option.

2018-11-14 Darshit Shah <darnir@gnu.org>

     Use a common header file to deduplicate plugin test boilerplate
     
     * tests/test_plugin.h: Add the OBJECT_DIR and other defines in a single
     common file for all plugin tests
     * tests/test-plugin*.c: Remove boilerplate code and include
     "test_plugin.h"

2018-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Ad -r to example for --filter-mime-type [skip ci]

2018-10-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Use extended file attributes for server's file timestamp
     
     * src/wget_xattr.h: Add fgetxattr definitions (Linux, Apple, FreeBSD)
     * src/wget.c (set_file_metadata): Save "user.last_modified" attribute,
      (read_xattr_metadata): Add function,
      (write_xattr_metadata): Cleanup code,
      (http_create_request): Get timestamp from xattr if available

2018-10-16 Josef Moellers <jmoellers@suse.de>

     Handle wide characters in download progress bar
     
     * bootstrap.conf: Add gnulib module 'wcwidth'
     * libwget/bar.c: New function inspect_multibyte(),
       (_bar_update_slot): Make use of inspect_multibyte()

2018-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (init): Avoid error msg if HSTS preload file isn't given

2018-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix -k/--convert-links
     
     When different URLs result in the same local file so that
     -k converts a file several times, that file becomes corrupted.
     
     This commit fixes it and adds a test case.
     
     Reported-by: rgpublic on Gitab.com
     Fixes #411

2018-10-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Add valgrind suppressions for TravisCI (due to old libidn)
     
     * fuzz/valgrind-suppressions: Add suppression
     * tests/valgrind-suppressions: Add suppression

2018-10-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Suppress some leaks detected by valgrind in fuzz/
     
     * fuzz/main.c: Use --suppressions and --gen-suppressions
     * fuzz/valgrind-suppressions: New suppression file
     
     Some library's memory can't be freed. So we suppress what is needed
     to let the CIs survive.

2018-10-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*_fuzzer.in/*: Update fuzzer copora from OSS-Fuzz

2018-10-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/get_ossfuzz_corpora: Use faster corpus download from OSS-Fuzz

2018-10-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitignore: Add fuzz/*_fuzer.new directories

2018-10-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (deinit): Free config.accept_regex and config.reject_regex

2018-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/csv2tree: Remove superfluous 'import json' [skip ci]

2018-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Fix documentation of HPKP return values

2018-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * .lgtm.yml: Classify test directories

2018-10-18 Darshit Shah <darnir@gnu.org>

     Fix progress bar display in VTE Terminals
     
     GNOME VTE removed support for VT-100 sequences to save and restore
     cursor position that libwget progress display was using. Their suggested
     approach is to use the DECSC/DECRC sequences from VT-520 instead of the
     SCOSC/SCORC sequences from VT-100. Since the DECSC/DECRC sequences are
     also supported by all other terminal emulators, we make the switch here
     in order to suport VTE emulators as well.
     Upstream Report: https://gitlab.gnome.org/GNOME/vte/issues/48
     
     * libwget/bar.c(_bar_print_slot): Use ESC 7 (DECSC) instead of CSI s (SCOSC)
     (wget_bar_write_line): Same
     (_restore_cursor_position): Use ESC 8 (DECRC) instead of SCI u (SCORC)

2018-10-17 Darshit Shah <darnir@gnu.org>

     * benchmarks/benches/convert.gp: Add generated file warning
     
     [ci skip]

2018-10-14 Darshit Shah <darnir@gnu.org>

     Remove old benchmark scripts
     
     * benchmarks/bench_https_*: Deleted. Superceded by new scripts
     * benchmarks/benchmark.sh: Deleted. Superceded by new scripts
     * benchmarks/new_benchmark.sh: Renamed to benchmark.sh
     
     [ci skip]

2018-10-14 Darshit Shah <darnir@gnu.org>

     Add a small harness for Benchmarking code
     
     [ci skip]
     This set of script works through the new_benchmark.sh script.
     I've tried to keep everything modular, extensible and clean.
     
     * benchmarks/new_benchmark.sh: New benchmark harness
     * benchmarks/sources/*.bench.sh: Program specification files
     * benchmarks/benches/http{1,2}.sh: Benchmark specification files
     * benchmarks/benches/convert.gp: A gnuplot script to convert the 2
     column data into four columns for making the errorbars plot

2018-10-16 Darshit Shah <darnir@gnu.org>

     * .gitignore: Ignore version-text.h, a generated file

2018-10-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * .lgtm.yml: Exclude unit-tests/files

2018-08-17 jmoellers <jmoellers@suse.de>

     Fix issue with the number of bytes downloaded vs accounted for in the progress bar.
     
     * include/wget/wget.h(wget_bar_slot_begin): Now accepts another
     parameter, `new_file`.
     * libwget/bar.c(wget_bar_slot_begin): Support `new_file` parameter.
     Allows calling mehod multiple times for the same file.
     * src/bar.c(bar_slot_begin): Same
     * src/wget_bar.h: Same
     * src/wget.c(_get_body): Pass only the difference (number of bytes
     actually downloaded since last call) to the progress routines

2018-08-17 jmoellers <jmoellers@suse.de>

     Fix a bug in HTTP/2 downloads that caused incorrect progress display
     
     * libwget/bar.c(wget_bar_slot_begin): Display filename when only 1 file
     per slot. Else, display total number of files in that slot.
     (wget_bar_slot_downloaded): The length now represents an incremental
     value, not the absolute number of bytes.
     * src/wget.c(_get_body): Same.

2018-10-14 Darshit Shah <darnir@gnu.org>

     * .gitlab-ci.yml: Skip downloading po files during bootstrap

2018-10-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (deinit): Free config.hsts_preload_file

2018-10-13 Darshit Shah <darnir@gnu.org>

     * bootstrap: Update script from gnulib

2018-10-13 Darshit Shah <darnir@gnu.org>

     Update gnulib

2018-10-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Use rm -f to avoid error messages

2018-10-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add copyright,license and mailing list info to --version
     
     * configure.ac: Add creating src/version-text.h from .in file
     * src/Makefile.am: Add version-text.h to wget2_SOURCES
     * src/options.c (print_version): Print text from version-text.h
     * src/version-text.h.in: New template file

2018-10-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add zstd decompression (RFC8478)
     
     * README.md: Mention zstandard
     * configure.ac: Check for libzstd
     * docs/wget2.md: Document new --compression type
     * include/wget/wget.h: Add wget_content_encoding_zstd
     * libwget/decompressor.c: Implement the zstd decompressor
     * libwget/http_parse.c (wget_http_parse_content_encoding): Add zstd
     * src/options.c (print_version): Add +/-zstd for --version,
       (parse_compression): Check for wget_content_encoding_zstd,
       (options): Add zstd to help text
     * src/wget.c (http_create_request): Add zstd to Accept-Encoding:
     * tests/test-compression.c: Add test for zstd

2018-09-22 Darshit Shah <darnir@gnu.org>

     Remove support for libunistring and libidn2 < 0.14
     
     * configure.ac: Remove support for libidn2 < 0.14 and libunistring
     * libwget/encoding.c: Same
     * README.md: Same

2018-10-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-include-and-exclude-directories.c: Use double quote

2018-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Fix check for non-200 status codes

2018-07-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Add option --save-content-on
     
     * docs/wget2.md: Add docs for --save-content-on
     * src/options.c (options): Add "save-content-on"
     * src/wget.c:
     * src/wget_options.h (struct config): Add save_content_on member
     * tests/Makefile.am: Add tests/test--save-content-on.c
     * tests/test--save-content-on.c: New test file

2018-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add support for Chromium's HSTS Preload List
     
     * README.md: Add libhsts as optional dependency
     * configure.ac: Add test for libhsts
     * docs/wget2.md: Add text for --hsts-preload and --hsts-preload-file
     * libwget/init.c:
     * src/options.c (print_version): Add +/-hsts for --version,
       (options): Add --hsts-preload and --hsts-preload-file,
       (init): Load the HSTS peload list,
       (deinit): Unload the HSTS preload list
     * src/wget.c (try_connection): Eventually change http to https
     * src/wget_options.h (config): Add hsts_preload and hsts_preload_file

2018-10-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Add libpcre + libpcre2 as optional deps [skip ci]

2018-09-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_url): Fix -H / --span-hosts

2018-09-25 DalmeGNU <dalmemail@gmail.com>

     * docs/wget2.md: Fixed broken link on guide index
2018-09-23 Darshit Shah <darnir@gnu.org>

     * tests/valgrind-suppressions: Suppress issues from GPGME library

2018-09-21 Darshit Shah <darnir@gnu.org>

     * src/wget.c (process_response): Just an aesthetic improvement to the code

2018-09-21 Darshit Shah <darnir@gnu.org>

     Ensure that robots.txt is honoured even with -c
     
     There was a bug that prevented the robots.txt from being parsed when
     resuming an incomplete download. This would cause the robots rules to
     not be honoured when resuming a broken download.
     
     * src/wget.c (process_response): Move the robots check out of the
     conditional, so it runs in all valid cases
     (http_create_request): In case -c has been passed and we see an existing
     robots.txt, remove it. As a result, we will always download a fresh
     copy of the robots.txt file
     * tests/test-robots.c: Add a new test to ensure the robots file is
     always being parsed

2018-08-24 Darshit Shah <darnir@gnu.org>

     Add some debug messages when a URI is not added to queue
     
     * src/wget.c: Likewise
     * src/blacklist.c: Likewise

2018-09-21 Darshit Shah <darnir@gnu.org>

     Minor changes to the commit-check script

2018-09-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix searching for libpcre2

2018-09-19 DalmeGNU <dalmemail@gmail.com>

     Add Building with alternate GnuTLS version doc

2018-09-16 DalmeGNU <dalmemail@gmail.com>

     Add URL Encoding documentation

2018-09-16 DalmeGNU <dalmemail@gmail.com>

     Update TestSuite.md & fix pipeline

2018-09-16 DalmeGNU <dalmemail@gmail.com>

     Add test suite documentation

2018-09-14 DalmeGNU <dalmemail@gmail.com>

     Add Contributing Guide

2018-09-14 DalmeGNU <dalmemail@gmail.com>

     Add OptionHandling documentation

2018-09-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (options): List all TLS options for --secure-protocol

2018-09-16 Ander Juaristi <a@juaristi.eus>

     Fix SSL/TLS Doxygen documentation

2018-09-16 Ander Juaristi <a@juaristi.eus>

     Update AUTHORS file

2018-09-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/commit-check: Add support for companies (e.g. redhat.com)

2018-08-31 DalmeGNU <dalmemail@gmail.com>

     Update documentation about how to add a new command line option
     
     * src/options.c: Update comments on how to add a new option
     * docs/faq.md: Document how to add a new CLI-option

2018-09-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix buffer overflow in -X/-I parsing
     
     * src/options.c (set_char_prefix): Fix backslash handling
     * fuzz/wget_options_fuzzer.in/: Add reproducer
     
     This bug was introduced yesterday by commit
     756e470de942ec830a9a424a2340b7e986e9fe7c
     
     Found by oss-fuzz (issue 10163).

2018-09-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix buffer overflow in -X/-I parsing
     
     * src/options.c (set_char_prefix): Fix scratch buffer size
     * fuzz/wget_options_fuzzer.in/: Add reproducer
     
     This bug was introduced yesterday by commit
     756e470de942ec830a9a424a2340b7e986e9fe7c
     
     Found by oss-fuzz (issue 10159).

2018-04-10 Dan <dalmemail@gmail.com>

     Add -X/--exclude-directories and -I/--include-directories
     
     * docs/wget2.md: Add docs for -I/--include-directories=list
       and -X/--exclude-directories=list
     * src/options.c: New function _strchrnul_esc(),
       new function _strmemdup_esc(),
       (parse_stringlist_expand): Use new functions from above,
       new function set_char_prefix(), parse_included_directories()
       and parse_excluded_directories,
       (options): add exclude-directories and --include-directories
     * src/wget.c: New functions match_subdir() and in_directory_pattern_list(),
       (add_url): check if path matches directory patterns,
       (_prepare_file): add new param 'path',
     * src/wget_options.h (struct config): Add member 'exclude_directories'
     * tests/Makefile.am: Add 'test-include-and-exclude-directories'
     * tests/test-include-and-exclude-directories.c: New file

2018-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename --dns-caching to --dns-cache (Wget1.x compatibility)
     
     * docs/wget2.md: --dns-caching -> --dns-cache
     * src/options.c (options): Likewise

2018-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/Makefile.am: Add README.md to DISTCLEANFILES

2018-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Improve online documentation
     
     * README.md: Move some dev info to faq.md
     * docs/Makefile.am: Generate introduction from README.md
     * docs/faq.md: Started with User and Dev sections
     * docs/libwget.doxy.in: Remove mainpage, use README.md instead
     * docs/mainpage.md: Remove
     * docs/wget2.md: Amended intro to options that take lists

2018-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_base64_fuzzer.c: Silence scan-build

2018-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Document wget_base64_get_(en|de)coded_length() and move to base64.c
     
     * include/wget/wget.h: Declare both function as pure
     * libwget/base64.c: Add both functions incl. documentation,
       (wget_base64_decode_alloc): Remove hard-coded calculation,
       (wget_base64_encode_alloc): Likewise.
     * libwget/tls_session.c (_tls_session_save):
       Use wget_base64_get_encoded_length() instead hard-coded calculation
     * fuzz/libwget_base64_fuzzer.c:
       Avoid both functions to be optimized out

2018-08-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/POTFILES.in: Add libwget/error.c

2018-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Set tries to 1 on HTTPS errors when built without TLS support

2018-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/gpgme.c (_verify_detached_sig): Return WGET_E_GPG_VER_FAIL on signatue failure

2018-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     New function wget_strerror()
     
     * docs/Makefile.am: Add man page build for error functions
     * include/wget/wget.h: Make WGET_E_* an enum wget_error_t,
       declare new function wget_strerror()
     * libwget/Makefile.am: Add error.c
     * libwget/error.c: New file

2018-08-17 Darshit Shah <darnir@gnu.org>

     * src/wget_options.h: Add the const qualifier to valid options

2018-08-17 Darshit Shah <darnir@gnu.org>

     * libwget/http.c(_print_frame_type): Don't print anything when frame type is DATA

2018-08-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Add base64 URL/file safety
     
     * include/wget/wget.h: Add wget_base64_urlencode()
     * libwget/base64.c: New function wget_base64_urlencode(),
       new function _wget_base64_encode(),
       (base64_2_bin): add charactes '-' and '_'.

2018-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Fix name of Josef Möllers

2018-08-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/commit-check: Don't check the name
     
     The name can't easily be used as an identifier.
     E.g. my name is different through commits: 'Tim Ruehsen' or 'Tim Rühsen'
     
     Checking the email address used for the FSF assignment is enough.

2018-08-16 Darshit Shah <darnir@gnu.org>

     * AUTHORS: Josef Moellers has copyrights assigned
     
     [skip ci]

2018-08-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile: Perform checks in check-local unconditionally

2018-08-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Fix local-check for VPATH build

2018-08-12 Darshit Shah <darnir@gnu.org>

     * Makefile.am: Make check-local fail on error

2018-08-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Add Aniketh Gireesh

2018-08-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add description for --dns-caching

2018-08-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new option --dns-cache-preload
     
     * include/wget/wget.h: New function wget_tcp_dns_cache_add()
     * libwget/dns_cache.c (wget_dns_cache_add): Fix docs
     * libwget/net.c (_wget_tcp_resolve): Changed params,
       new function wget_tcp_dns_cache_add()
     * src/options.c (options): Add --dns-cache-preload,
       new function _preload_dns_cache(),
       (init): Call _preload_dns_cache()
     * src/wget_options.h (struct config): Add member dns_cache_preload

2018-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_url): Don't follow redirects when --max-redirects=0

2018-08-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (process_response_header): Prevent read of uninitialized data

2018-08-05 DalmeGNU <dalmemail@gmail.com>

     Add information related to the build process in Haiku [skip ci]
2018-08-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Add example batch_loader
     
     * examples/Makefile.am: Add batch_loader.c
     * examples/batch_loader.c: New example code
     
     This example uses 500 threads to process domains / URLS from
     stdin. It downloads the URL and creates a stats entry in out.csv.
     Check the source for details.

2018-08-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove usage of getaddrinfo_a() and gai_* functions
     
     The glibc async functions turned out to be unstable and
     error-prone. They also use threads to implement timeouts.
     If we need DNS timeouts and/or async DNS lookups, we should
     have a look at external resolver libraries.

2018-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix calling error handler for uncompressing
     
     * ../libwget/decompressor.c (wget_decompress): Fix argument to
       error_handler()
     * ../libwget/http.c (_on_stream_close_callback): Set stream context
       to NULL when freeing

2018-08-04 Darshit Shah <darnir@gnu.org>

     * src/wget.c (main): Add comment explaining why there are nthreads+2 slots

2018-08-01 Darshit Shah <darnir@gnu.org>

     * src/options.c: Remove dot progress from help text

2018-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Mention 'setarch x86' on Haiku [skip ci]

2018-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Remove -Wabi, too loud with gcc 8

2018-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (downloader_thread): Fix buffer overflow

2018-07-29 Darshit Shah <darnir@gnu.org>

     Rewrte the speed reporting codepath
     
     * include/wget/wget.h (wget_human_readable): Function is not a const
     * libwget/bar.c (_BAR_SETTINGS): Remove SPEED_REDRAW_TIME
     (struct _speed_report): Remove and add relevant fields to _bar_slot_t
     (_bar_update_speed): Removed
     (_bar_update_speed_stats): New function to populate the speed ring and
     fill in the speed_buf buffer
     (_bar_set_progress): Remove old commented out code
     (_bar_update_slot): Speed computation is moved to
     `_bar_update_speed_stats`.
     (wget_bar_set_slots): No longer need to realloc speed ring buffers
     (wget_bar_slot_begin): Initialize the ring_pos and the speed rings
     (wget_bar_deinit): Variable `speed_r` no longer used
     
     In this implementation, I've made a few functional changes and some
     other design changes to how the speed report is computed. First, I've
     removed the assumption that the progress bar is updated every 125ms.
     This is part of the client side logic and we can't assume that in the
     library. Instead, the speed report is computed every time the progress
     bar is refreshed. The size of the speed ring and how the computation is
     done is documented to allow the library users to make a decision on how
     they want to use the progress bar.
     
     While, I've currently removed SPEED_REDRAW_TIME, I do plan to bring it
     back soon. This will most likely be done alongside support for computing
     the ETA of the download.
     
     In this commit, I have also made it such that the speed is shown only
     after the speed ring is filled in entirely. This most likely needs to
     change such that we show the speed immediately. However, we document
     that it will jitter a lot while the speed ring is being populated.

2018-07-26 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c(_bar_update_speed): Get time only once

2018-07-23 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c(_BAR_DECOR_SIZE): Account for extra space at end

2018-07-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/tls_session.c: Only update/write when really changed

2018-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove --gnutls-options
     
     * docs/wget2.md: Remove docs for --gnutls-options
     * include/wget/wget.h: Remove WGET_SSL_DIRECT_OPTIONS
     * libwget/ssl_gnutls.c: Remove use of WGET_SSL_DIRECT_OPTIONS
     * src/options.c: Remove --gnutls-options
     * src/wget_options.h: Remove config.gnutls_options
     
     This option was obsoleted by --secure-protocol where you can
     also set an explicit priority/cipher string.

2018-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Add TLSv1_x to --secure-protocol
     
     * docs/wget2.md: Extend docs for --secure-protocol
     * libwget/ssl_gnutls.c (wget_ssl_init): Add priority handling
     
     This commit adds TLSv1_1, TLSv1_2 and TLSv1_3.

2018-07-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Extend OOM handling
     
     * include/wget/wget.h: Amend type of wget_oom_callback_t
     * libwget/xalloc.c: Amend OOM handling
     * src/options.c (_no_memory): Return EXIT_FAILURE
     * unit-tests/test.c (main): Cast to avoid warning
     
     The OOM callback can now return 0 and the allocation function is tried again.

2018-07-05 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c: Set the speed modifier globally
     
     This reduces the number of computations that need to be done on each bar
     slot update. The modifier is set only at startup, so we don't need to
     recompute it everytime

2018-07-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Increase version of cache

2018-07-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Add wget_bitmap_t
     
     * include/wget/wget.h: Add bitmap prototypes
     * libwget/Makefile.am: Add libwget/bitmap.c
     * libwget/bitmap.c: New file for bitmap implementation
     * docs/Makefile.am: Add man pages for bitmap functions
     * unit-tests/test.c: Add tests for bitmap functions
     
     First version was written by Aniketh Girish

2018-07-04 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c: Use enums for constants instead of defines

2018-07-04 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c: Add a space to empty speed report

2018-06-11 DalmeGNU <dalmemail@gmail.com>

     Implementation of the --retry-on-http-status option
     
     * src/wget_options.h: Add http_retry_on_status (wget_vector_t) to config structure
     * src/options.c: Add --retry-on-http-status option
     * src/wget.c: Modify downloader_thread() in order to retry a download following the --retry-on-http-status option
     * docs/wget2.md: Add documentation for the --retry-on-http-status option

2018-06-11 DalmeGNU <dalmemail@gmail.com>

     * libwget/bar.c: Don't print zero as speed when we can't calculate it

2018-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new option --keep-extension
     
     * src/options.c: Add option --keep-extension
     * src/wget.c (_open_unique): Add code for --keep-extension
     * src/wget_options.h (struct config): Add keep_extension member
     * docs/wget2.md: Add docs for --keep-extension
     
     The new option --keep-extension changes the behavior for creating a
     unique filename if a file already exists.
     The standard (default) pattern is to generate <filename>.<N>, the new
     pattern is <basename>_<N>.<ext>.
     
     The idea is use such files without renaming when the use depends on the
     extension, like on Windows.

2018-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Allow MinGW runner to fail
     
     The MinGW runner fails due to GnuTLS randomizer failing.
     See https://gitlab.com/gnutls/gnutls/issues/486
     
     When fixed, we will revert this commit.

2018-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add config.h to MinGW artifacts

2018-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Fix clang warning

2018-06-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (_add_authorize_header): Fix tests for auth scheme name
     
     Reported-by: @Con7e (gitlab.com)

2018-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix http2 slowness issue
     
     We saw many WINDOW_UPDATE frames while debugging, so we tried to
     fix the window sizes for connection and stream windows to a large value.
     
     This patch also simplifies the receive loop.

2018-06-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_verify_certificate_callback): Fix grammar of error msg
     
     Reported-by: Nicholas Sielicki

2018-06-10 DalmeGNU <dalmemail@gmail.com>

     * libwget/bar.c (wget_bar_slot_begin): Reset speed ring buffer
     
     This fixes wrong (huge) values for small files on the progress bar.

2018-05-27 Neil Locketz <neil@nlocketz.com>

     Document new arguments
     
     * docs/wget2.md: Document the change in behavior, and what each option
       means.

2018-05-31 Neil Locketz <neil@nlocketz.com>

     Add verify-sig missing signature file behavior test.
     
     * tests/Makefile.am: Add new test.
     * tests/test-gpg-verify-no-fail.c: Test behavior of the new missing
     signature stuff.

2018-05-27 Neil Locketz <neil@nlocketz.com>

     Add arguments fail / nofail to --verify-sig
     
     * src/options.c: Change flag to parse out the signature options.
     * src/wget_options.h: Change verify_sig to allow more information
       (selected option rather then a boolean value).
     * src/wget.c: Check for missing signature behavior before failing for
       missing signature.
     * src/job.c: Added additional memory cleanup
     * src/wget_job.h: Shuffled some fields to make new behavior cleaner and
       more convinient. Also added list for remaining signatures that need to
       be attempted.
     
     Allows fine-tuning Wget2's behavior when signature files are not found.

2018-06-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Enable syncing with translationproject.org

2018-06-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not localize debug_printf format strings
     
     * libwget/cookie.c: Likewise
     * libwget/css_url.c: Likewise
     * libwget/hsts.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/tls_session.c: Likewise
     * unit-tests/test.c: Likewise
     
     Reported-by: Rafael Fontenelle

2018-06-02 Yuri Chornoivan <yurchor@ukr.net>

     Fix minor typos
     
     * docs/wget2.md: sperated -> separated
     * src/bar.c (bar_init): progess -> progress
     
     Copyright-paperwork-exempt: Yes

2018-05-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Add libpsl build + cleanup

2018-05-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Skip -np/--no-parent for CSS URLs
     
     * src/wget.c: Use URL_FLG_REQUISITE for all CSS URLs
     * tests/test--page-requisites.c: Add tests for @import and url() in CSS

2018-05-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Add URL_FLG_REQUISITE to add_url()
     
     * src/wget.c: Add flag URL_FLG_REQUISITE, call add_url() with
       URL_FLG_REQUISITE in case of page requisites.

2018-05-03 Tsukasa OI <floss_wget@irq.a4lg.com>

     Add test case to fail -p with -np
     
     * tests/test--page-requisites.c: Add test case to fail

2018-05-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Escape dots in path components

2018-05-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/POTFILES.in: Remove libwget/html_url.c

2018-05-06 sameeran joshi <joshisameeran17@gmail.com>

     * libwget/html_url.c(_urls_to_absolute): Remove unused function

2018-05-04 Darshit Shah <darnir@gnu.org>

     Update AUTHORS
     
     [skip-ci]

2018-05-04 Tsukasa OI <floss_wget@irq.a4lg.com>

     * contrib/commit-check: Detect Copyright-paperwork-exempt correctly

2018-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove unconditionally set warning flags for GCC
     
     * configure.ac: Add -W(no-)unused-macros and -Wno-missing-field-initializers
       to gcc/clang compiler flags
     * libwget/Makefile.am: Remove -Wno-unused-macros
     * tests/Makefile.am: Remove -Wno-missing-field-initializers
     * unit-tests/Makefile.am: Likewise
     
     Reported-by: Dagobert Michelsen

2018-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/Makefile.am: Add $(EXEEXT) where missing

2018-05-03 Tsukasa OI <floss_wget@irq.a4lg.com>

     Fix null-pointer dereference on -r -np
     
     * src/wget.c (add_url): Fix null-pointer dereference on -r -np
     * tests/test-np.c: Modify test case to detect this condition
     
     Copyright-paperwork-exempt: Yes

2018-05-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Small cleanup

2018-05-01 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c(_bar_set_progress): Fix off by one error

2018-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Prepare Release 1.99.1 (alpha)

2018-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/fuzzer.h: Disable pedantic and unused warnings

2018-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Update copyright to 2018

2018-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/update_copyright: Update to 2018

2018-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Add scripts for testing on gcc and OpenCSW buildfarm
     
     * ci-test: New script with generic code
     * ci-test.d/gcc110.fsffrance.org.sh: Script with special code for gcc110 (CentOS 7.4)
     * ci-test.d/gcc70.fsffrance.org.sh: Script with special code for gcc70 (NetBSD 5.1)
     * ci-test.d/login.opencsw.org.sh: Script with special code for OpenCSW (Solaris)

2018-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Don't do syntax-check + check_options in tarball build

2018-04-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/valgrind-suppressions: Ignore pthread leak from gai_misc.c

2018-04-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Add G_GNUC_WGET_UNUSED to fuzz code
     
     * fuzz/libwget_xml_parse_buffer_fuzzer.c: Likewise
     * fuzz/main.c: Likewise

2018-04-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Remove hard-coded compiler flags

2018-04-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove _GL_INLINE from functions
     
     * libwget/hashmap.c: Likewise
     * libwget/iri.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/utils.c: Likewise
     
     Gcc 4.1.3 on NetBSD 5.1 errors when duplicate _GL_INLINE is given as a
     function attribute.
     From the gnulib manual: "C code ordinarily should not use inline. Typically it
     is better to let the compiler figure out whether to inline, as compilers are
     pretty good about optimization nowadays. In this sense, inline is like
     register, another keyword that is typically no longer needed"

2018-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Exclude fuzz corpora from tarball
     
     * fuzz/Makefile.am: Do not include corpora in tarball
     * fuzz/main.c: SKIP if corpora directory isn't found (make check)
     
     The fuzz corpora are thousands of files, not needed for a standard build
     from a distribution tarball. The reproducers of former issues are being
     included for regression testing.

2018-04-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Add --retry-connrefused
     
     * src/options.c: Add --retry-connrefused
     * src/wget.c (establish_connection): Skip final failure
     * src/wget_options.h (struct config): Add retry_connrefused

2018-04-27 Darshit Shah <darnir@gnu.org>

     * tests/valgrind-suppressions: Update suppressions for Glibc 2.27

2018-04-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mail.sh: Assume bash, print email to file if msmtp not found

2018-04-17 Darshit Shah <darnir@gnu.org>

     * contrib/mail.sh: File got deleted accidentally in an earlier commit

2018-04-16 Darshit Shah <darnir@gnu.org>

     Update the AUTHORS list

2018-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * .lgtm.yml: Call ./bootstrap

2018-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Dont't recognize %3A as colon in relative URLs
     
     * include/wget/wget.h: New function wget_iri_unescape_url_inline()
     * libwget/iri.c: Likewise
     * src/wget.c (_normalize_uri): Use wget_iri_unescape_url_inline()
     * examples/check_url_types.c: Likewise
     * tests/test-base.c: Add test case
     * unit-tests/test.c (test_iri_relative_to_absolute): Add test case
     
     Relative URLS like in href='foo%3A/' have been detected and parsed
     as absolute URL with (unknown) scheme 'foo:'.
     This commit fixes it.

2018-04-11 Bas van Schaik <github@s.traiectum.net>

     * .lgtm.yml: Remove unnneeded package installation and ./bootstrap
     
     - no need to install gnutls-dev; it's installed automatically during the
       build/analysis process
     - however, the lgtm.yml I used for setting wget2 up on lgtm.com does
       install two other packages that are not auto-detected: lzip and
       libgpgme11-dev
     - no need to run ./bootstrap either; LGTM will do that automatically :)

2018-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .lgtm.yml: New file for static analysis on lgtm.com [ci skip]

2018-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xml.c: Fix copyright date (test lgtm.com automatism) [ci skip]

2018-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Fix header guard (found by lgtm.com)

2018-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_do_handshake): Fix error value for older GnuTLS on OSX

2018-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile: Make css_tokenizer.c generation more portable

2018-03-15 Jiading Guo <zingdle@gmail.com>

     Add --[no-]compression=TYPE
     
     * src/options.c: Add compression option support
     * src/wget.c: Generate 'Accept-Encoding' headers accordingly
     * src/wget_options.h: Add compression variables
     * libwget/decompressor.c: Add xz and "none" types
     * include/wget/wget.h: Add xz types
     * docs/wget2.md: Add compression option document
     * tests/Makefile.am: Add compression test
     * tests/libtest.c: Add request header test support
     * tests/libtest.h: Add request header test support
     * tests/test-compression.c: Add compression test

2018-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_do_handshake): Fix error value for older GnuTLS

2018-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_connect): Use WGET_E_* return code

2018-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add Jiading Guo to AUTHORS [ci skip]

2018-04-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_job.h: Fix typo in comment [ci skip]

2018-04-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_prefer_family): Fix pointer type
     
     Fixes #373

2018-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Enable hashing fallback to nettle

2018-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix scan-build for gnulib hash code
     
     * .gitlab-ci.yml: Obsolete configure cache
     * include/wget/wget.h: Add WGET_DIGTYPE_MAX
     * libwget/hashfile.c: Fix code

2018-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashfile.c: Fix warnings

2018-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix detection of gnutls/crypto.h
     
     Some versions of GnuTLS do not provide a crypto.h, so we have
     to check for it's presence.
     This check fails with some versions of GnuTLS since crypto.h
     lacks the #include <gnutls/gnutls.h>.

2018-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Add fix for lib/pthread_sigmask.c

2018-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Remove gcc's -Wno-incompatible-pointer-types when cross-compiling

2018-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Fix misalignment, found by oss-fuzz

2018-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*.in: Update oss-fuzz corpora

2018-04-02 Darshit Shah <darnir@gnu.org>

     * .gitlab-ci.yml: Add new Arch CI which is run only on schedules
     
     [ci skip]

2018-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Check for gnutls/crypto.h
     
     * configure.ac: Check for gnutls/crypto.h
     * libwget/hashfile.c: Need HAVE_GNUTLS_CRYPTO_H to include gnutls/crypto.h
     
     Found this problem on the OpenCSW Solaris build farm

2018-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c: Don't define _U, already defined on Solaris

2018-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Remove gperf from dependency list

2018-04-02 Darshit Shah <darnir@gnu.org>

     * configure.ac: Add comment explaining IDNA support

2018-04-02 Darshit Shah <darnir@gnu.org>

     * bootstrap.conf: Update dependencies

2018-04-01 Darshit Shah <darnir@gnu.org>

     * .gitlab-ci.yml: Switch commitcheck script to basic alpine container

2018-04-01 Darshit Shah <darnir@gnu.org>

     * .gitlab-ci.yml: Remove flawfinder and change valgrind to Debian

2018-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Do not build lzip tarball

2018-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Copy gnulib subdir instead using git [skip ci]

2018-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Use wget_snprintf() in src/*.c
     
     * src/options.c: Use wget_snprintf() instead of snprintf()"
     * src/wget.c: Likewise

2018-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Use libwget's print-like functions instead the stdio ones
     
     * include/wget/wget.h: Amend return type of wget_bar_print(), wget_bar_vprintf()
     * libwget/Makefile.am: Replace fprintf in generated css_tokenizer.c
     * libwget/bar.c: Replace *printf by wget_*printf,
       (_bar_set_progress): Generate progress bar with memcpy/memset
     * libwget/hpkp.c: Replace *printf by wget_*printf
     * libwget/cookie.c: Likewise
     * libwget/hpkp.c: Likewise
     * libwget/hsts.c: Likewise
     * libwget/http.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/io.c: Likewise
     * libwget/net.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/pipe.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/utils.c: Likewise
     * libwget/xml.c: Likewise
     
     The intention is to not pull in (large) code parts from libc when
     linking statically, the performance is better and we have no
     portability issues on non-POSIX platforms (e.g. Windows).

2018-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Add more printf-like functions
     
     * include/wget/wget.h: Add wget_vfprintf(), wget_fprintf(),
       wget_vsnprintf(), wget_snprintf()
     * libwget/printf.c: Likewise

2018-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/strscpy.c: Fix return value of strscpy()

2018-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test.c: Add tests for strscpy()

2018-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/Makefile.am: Build man pages for hashmap/stringmap API

2018-03-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Document hashmap and stringmap
     
     * include/wget/wget.h: Cleanups
     * libwget/hashmap.c: Documentation + cleanups
     * libwget/stringmap.c: Documentation + cleanups
     * libwget/vector.c: Fix doxygen issue

2018-03-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/vector.c: Small cleanups

2018-03-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove param 'off' from wget_vector_create()
     
     * libwget/vector.c (wget_vector_create): Remove param 'off',
       (wget_vector_set_growth_policy): Add new function
     * include/wget/wget.h: Add prototype for wget_vector_set_growth_policy()
     * */*.c: Remove param 'off' from calls to wget_vector_create()

2018-03-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for vector routines
     
     * docs/Makefile.am: Add man page
     * include/wget/wget.h: Amend some vector functions
     * libwget/vector.c: Add checks for parameters,
       add documentation

2018-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove stages, fix configure cache

2018-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add testing on Alpine (musl/busybox)

2018-03-23 Darshit Shah <darnir@gnu.org>

     Merge the Full/Debian and VPATH Runners into one

2018-03-23 Darshit Shah <darnir@gnu.org>

     More efficient use of CI Pipelines
     
     * .gitlab-ci.yml: Split CI runners into 3 stages, build, test and
     deploy. Stages are executed in that order. So any breakage will save the
     later stages from executing.

2018-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Exclude tests/gpg and tests/certs from any syntax checks

2018-03-23 Darshit Shah <darnir@gnu.org>

     Fix GPGME detection in configure

2018-03-23 Darshit Shah <darnir@gnu.org>

     Update gnulib submodule
     
     * gnulib: Update submodule
     * bootstrap: Update script from gnulib submodule

2018-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-iri-subdir.c: Add runtime test for working SHIFT_JIS->UTF-8 transcoding

2018-02-24 Darshit Shah <darnir@gnu.org>

     New script to ensure that patches without copyright assignment aren't merged
     
         * AUTHORS: Update file with all known contributors to date. Update
         FSF Copyright Assignment status in the first column
         * contrib/commit-check: New script. This is to be run on each merge
         request to master to ensure that the copyright assignment process
         has been completed.
         * .gitlab-ci.yml: Add a new CommitCheck CI which ensures that the
         author has completed their Copyright Assignments. This runner is
         allowed to fail, so it won't affect the CI runners for all forks.

2018-02-26 Darshit Shah <darnir@gnu.org>

     Add new scripts to send Copyright assignment mails
     
         * contrib/assignment_template.txt: Template header text for email
         * contrib/mail.sh: Script that composes and sends an email to a new
         contributor for Copyright Assignment
         * cfg.mk: Add exceptions for assignment_template.txt to syntax-check

2018-02-25 Darshit Shah <darnir@gnu.org>

     Allow a list of possible signature-extensions
     
     * stc/options.c: Modify old option signature-extension to now be a
     stringlist. Also rename it to signature-extensions
     * src/wget_options.h: Move sig_ext from char* to wget_vector_t
     * src/wget.c: Iterate over all signature extensions and request a
     signature file
     * tests/test-gpg-styles.c: Add new test for signature extensions
     * docs/wget2.md: Update documentation for signature-extensions

2018-03-15 Jiading Guo <zingdle@gmail.com>

     Fix lzma  decompressor init
     
     * libwget/decompressor.c: Use lzma_auto_decoder() instead to auto detect lzma/xz format.

2018-03-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Add pkg-config as dependency

2018-03-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix decompress_open argument type
     
     * include/wget/wget.h: Fix 'encoding' to wget_content_encoding_type_t,
       make wget_content_encoding_by_name() PURE,
       make wget_content_encoding_to_name() PURE.
     * libwget/decompressor.c: Fix struct _wget_decompressor_st encoding to
       wget_content_encoding_type_t,
       fix wget_content_encoding_to_name() for 'identity'.

2018-03-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Add type<->name functions for content-encoding types
     
     * include/wget/wget.h: AdD typedef wget_content_encoding_type_t,
       add wget_content_encoding_unknown,
       add prototypes for wget_content_encoding_by_name() and
       wget_content_encoding_to_name().
     * libwget/decompressor.c: Implement wget_content_encoding_by_name() and
       wget_content_encoding_to_name().

2018-03-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Increase GnuTLS version from 2.10.0 to 3.3, 3.5 or 3.6

2018-02-27 Jay <jbhv12@gmail.com>

     error handling in XML parsing
     
     * include/wget/wget.h: removed nonnull attribute and defined error code
     * libwget/metalink.c: wget_metalink_parse returns null if XML is malformed
     * libwget/xml.c: added coditions to detect malformed XML in parseXML
     * po/POTFILES.in: localization support for metalink.c

2018-03-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-gzip.c: Fix unused define w/o WITH_ZLIB

2018-03-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test_start_server): Fix unused var w/o WITH_GNUTLS

2018-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add -Werror to appropriate runners

2018-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add -Wno-error to gnulib compiler flags

2018-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats_site.c (print_human): Fix unused-but-used warning

2018-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_tcp_set_stats_site): Fix unused argument

2018-03-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Add dlfcn-win32 build

2018-03-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_http_server_start): Check MHD_OPTION_STRICT_FOR_CLIENT

2018-03-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_http_server_start): Enable strict MHD client mode
     
     Will not allow spaces in the GET target URI from the next release.

2018-02-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/http_parse.c (wget_http_parse_response_header): Remove unneeded comment

2018-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-gzip.c: Add tests for broken server gzip Content-Encoding

2018-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/http.c (wget_http_get_response_cb): Add gzip workarounds

2018-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Support binary content in test suite
     
     * tests/libtest.h (wget_test_file_t): Add content_length member
     * tests/libtest.c (_answer_to_connection): Support content_length member

2018-02-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix ignorant server's Content-Encoding
     
     * libwget/decompressor.c: Fix segfault on unexpected Content-Encoding
     * tests/Makefile.am: Add test-gzip.c
     * tests/test-gzip.c: New test
     
     Reported-by: Jiading Guo
      

2018-03-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix header guards
     
     * include/wget/wget.h: Likewise
     * include/wget/wgetver.h.in: Likewise
     * libwget/*.h: Likewise
     * src/*.h: Likewise
     * tests/libtest.h: Likewise
     
     Header guards should not start with _.
     Private headers now reflect the path within the project.
     The two public headers reflect the releative install directory.

2018-03-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix doxygen syntax
     
     * src/wget_gpgme.h: Likewise
     * libwget/thread.c: Likewise
     * src/wget_gpgme.h: Likewise

2018-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_get_escaped_resource): Escape space in query

2018-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Add links about request line format

2018-02-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix oss-fuzz build
     
     * fuzz/Makefile.am: Add ../src/stats_server.o ../src/stats_site.o to oss-fuzz rule
     * fuzz/libwget_http_client_fuzzer.c: Fix pedantic C++ errors

2018-02-23 DalmeGNU <dalmemail@gmail.com>

     * src/wget.c: Avoid printing two times the number of errors in the same bar_printf()
2018-02-21 Vijo Cherian <codervijo@gmail.com>

     * src/options.c: Improve --help output

2018-02-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Check config.metalink before executing metalink code

2018-02-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/ssl_gnutls.c (_do_handshake): Check for GNUTLS_E_PREMATURE_TERMINATION

2018-02-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix stats and add docs for stats
     
     * docs/wget2.md: Extend docs for --stats-*
     * include/wget/wget.h: Rename WGET_STATS_TLS_TCP_PROTO to WGET_STATS_TLS_HTTP_PROTO,
       add WGET_STATS_OCSP_STAPLING.
     * libwget/ssl_gnutls.c: add stapling stats member, cleanup variables
     * po/POTFILES.in: Remove rsrc/stats_server.c
     * src/stats_dns.c: Cleanup
     * src/stats_ocsp.c: Add stapling to stats
     * src/stats_server.c: Cleanup
     * src/stats_site.c: Rename STATS_SCHEME_* to STATS_METHOD_*
     * src/stats_tls.c: Cleanup
     * src/wget_stats.h: Remove memory alloc from NULL_TO_DASH()

2018-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats_site: Change PGP verification status in CSV output

2018-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats_site.c: Avoid double entries when signature checking is on

2018-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/gpgme.c: Add and use _print_gpg_error()

2018-02-20 Darshit Shah <darnir@gnu.org>

     * src/wget.c(_get_body): Remove leftover debugging statement

2018-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/gpgme.c: Some fixes and cleanups

2018-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/gpgme.c (wget_verify_job): Always initialize info structure

2018-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/csv2tree: New file

2018-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/csv2json: New file

2018-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove JSON format for stats options
     
     * include/wget/wget.h: Remove WGET_STATS_FORMAT_JSON
     * src/stats.c: Remove JSON code
     * src/stats_dns.c: Likewise
     * src/stats_ocsp.c: Likewise
     * src/stats_server.c: Likewise
     * src/stats_site.c: Likewise
     * src/stats_tls.c: Likewise
     * src/wget_stats.h: Likewise
     * tests/stats-test-util.h: Remove JSON tests
     We will provide an extra tool to convert CSV into JSON.

2018-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove tree statistics
     
     * docs/wget2.md: Remove 'tree' format from --stats-site
     * po/POTFILES.in: Remove src/stats_site.c
     * src/host.c: Remove host_docs, tree_docs
     * src/job.c: Add a unique ID for each job
     * src/stats.c: Remove TREE stuff
     * src/stats_dns.c: Likewise
     * src/stats_ocsp.c: Likewise
     * src/stats_server.c: Likewise
     * src/stats_tls.c: Likewise
     * src/stats_site.c: Likewise,
       add site_stats_t, cleanup CSV and HUMAN output
     * src/wget.c: Set job ID and ParentID, remove TREE stuff
     * src/wget_host.h: Remove TREE stuff
     * src/wget_job.h: add id and parent_id to struct JOB
     * src/wget_stats.h: Add json_stats
     * tests/stats-test-util.h: Remove TREE test
     We decided to provide an external tool to generate TREE and other
     formatted output from Wget2's CSV output.

2018-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * stats_*.c: Add missing entry for WGET_STATS_FORMAT_TREE

2018-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Move external stats_opts_t from stat.c to wget_stats.h
     
     * src/stats.c: Remove external stats_opts_t
     * src/wget_stats.h: Add external stats_opts_t

2018-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c (stats_init): Fix memory leak

2018-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c (stats_exit): Only deinit after init

2018-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Move Site stats code to own source file

2018-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Move Server stats code to own source file

2018-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Move OCSP stats code to own source file

2018-02-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Move TLS stats code to own source file

2018-02-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Clean up DNS stats code
     
     * src/stats_dns.c: Renames and cleanups
     * src/wget_stats.h: Likewise

2018-02-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Move _shell_expand() into own source file
     
     * src/Makefile.am: Add utils.c and wget_utils.h
     * src/options.c: Remove _shell_expand()
     * src/stats.c: Likewise
     * src/utils.c: New file with shell_expand()
     * src/wget_utils.h: Header file for shell_expand()
     * fuzz/Makefile.am: Add utils.o
     * unit-tests/Makefile.am: Likewise

2018-02-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Move dns stats code into stats_dns.c

2018-02-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix stats tests

2018-02-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Refactorings on stats option parsing and printing

2018-02-14 Darshit Shah <darnir@gnu.org>

     Set callback for stats_site and allow freeing non-init mutex

2018-02-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Refactoring of stats callback functions

2018-02-13 Darshit Shah <darnir@gnu.org>

     Handle tree stats case

2018-02-13 Darshit Shah <darnir@gnu.org>

     Some more cleanups

2018-02-13 Darshit Shah <darnir@gnu.org>

     Replace dns data and mutex

2018-02-13 Darshit Shah <darnir@gnu.org>

     Improve stats printing

2018-02-21 Darshit Shah <darnir@gnu.org>

     * src/options.c(print_version): Add gpgme info to wget2 --version

2018-02-20 Darshit Shah <darnir@gnu.org>

     Handle case where wget_bar_init() fails

2018-02-20 Jay <jbhv12@gmail.com>

     added error in progress report

2018-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (process_response): Collect site stats only when requested

2018-02-17 zingdle <zingdle@gmail.com>

     * src/stats.c: Fix handling of output location for stats code

2018-02-15 Darshit Shah <darnir@gnu.org>

     * src/stats.c: Initialize all stats modules, always
     
     This is a terrible hack. But it's the smallest solution I can come up
     with, with the existing stats code to fix the problem that none of the
     stats are being reported.
     
     The problem is that stats_init() must be called before the command line
     is parsed. But stats_init() depends on the command line parsing code to
     set the status flags for which stats to report. Hence, it always sees
     them all as negative.
     
     This commit will initialize all the stats modules, always. So, the stats
     are always collected. Only, we decide at the very end, what, if
     anything, to display. As is obvious, this is terrible. It's a waste of
     resources to compute all these stats that are simply not required. But,
     till the stats code is re-written cleanly, this is what we have to deal
     with

2018-02-15 Darshit Shah <darnir@gnu.org>

     * .gitignore: Update gitignore file

2018-02-15 Darshit Shah <darnir@gnu.org>

     Revert "* libwget/thread.c(pthread_mutex_destroy): Survive destroying a non-initialized mutex"
     
     This reverts commit c46669387bcb4caffa792d2d6360b09685bf3449.

2018-02-15 Darshit Shah <darnir@gnu.org>

     * bootstrap.conf: Clean up some files that gnulib-tool.py creates

2018-02-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c (stats_print): Fix possible memory leak

2018-02-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "Delay stats_init till after comand line parsing"
     
     This reverts commit 33e3322a718a330fb6b426c6a640a0f3f7746d36.

2018-02-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2018-02-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module limits-h
     
     * bootstrap.conf: Add limits-h
     * libwget/cookie.c: Include limits.h
     * libwget/metalink.c: Likewise

2018-02-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/POTFILES.in: Remove lib/openat-die.c

2018-02-14 Darshit Shah <darnir@gnu.org>

     * libwget/thread.c(pthread_mutex_destroy): Survive destroying a non-initialized mutex

2018-02-13 Darshit Shah <darnir@gnu.org>

     * src/stats.c: Print to stderr not stdout

2018-02-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Use realpath() instead of canonicalize_filename_mode()
     
     * bootstrap.conf: Use canonicalize-lgpl module
     * src/gpgme.c: Likewise
     
     Using realpath() reduces extra code from gnulib.

2018-02-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix help text for --enable-fuzzing

2018-02-13 Darshit Shah <darnir@gnu.org>

     Delay stats_init till after comand line parsing
     
     The stats module depends on the command line parser to set some of its
     values. Without that, the module is initialized incorrectly.

2018-02-09 Darshit Shah <darnir@gnu.org>

     src/wget.c(main): Honor --quiet for progress bar

2018-02-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix make dist with --disable-doc
     
     * configure.ac: Unconditionally process docs/*.in files
     * docs/Makefile.am: Unconditionally put DoxygenLayout.xml into EXTRA_DIST

2018-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix --disable-docs for make distcheck

2018-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix --disable-doc configure option

2018-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove continuation slashes

2018-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add pipeline (gcc full and gcc minial build)

2018-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Exclude .gitlab-ci.yml from sc_two_space_separator_in_usage

2018-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Remove obsolete dummy functions

2018-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/gpgme.c (wget_verify_get_base_file): Fix to build w/o WITH_GPGME

2018-02-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix manywarnings for gcc 8
     
     * configure.ac: Amend for gcc-8
     * m4/wget_manywarnings.m4: Amend for gcc-8

2018-02-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Fix undefined behavior

2018-02-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Use getaddrinfo() for fuzzing

2017-11-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_http_client_fuzzer
     
     * fuzz/Makefile.am: Add libwget_http_client_fuzzer
     * fuzz/libwget_http_client_fuzzer.c: New file
     * fuzz/libwget_http_client_fuzzer.in: Initial corpora
     * fuzz/run-clang.sh: Small cleanup

2018-01-30 Tim Rühsen <tim.ruehsen@gmx.de>

     More tests for --https-enfore
     
     * src/options.c: Add debug lines, fix exit_status to exit_status_t
     * src/wget_options.h: Amend prototype of get_exit_status()
     * tests/test--https-enforce-soft2.c: New test
     * tests/test--https-enforce-soft3.c: New test
     * tests/Makefile.am: Add new tests
     * src/wget.c (_fallback_to_http): Skip robotstxt jobs
     * tests/libtest.c: New option WGET_TEST_HTTPS_REJECT_CONNECTIONS
       for wget_test_start_server()

2018-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Add test test--https-enforce-hard3.c

2018-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Allow {{port}} in options

2018-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Add options --default-http-port and --default-https-port
     
     * docs/wget2.md: Add docs for the two options
     * include/wget/wget.h: Prototype for wget_iri_set_defaultport()
     * libwget/iri.c: New function wget_iri_set_defaultport()
     * src/options.c: New options --default-http-port and --default-https-port
     * src/wget_options.h (struct config): Add default_http_port and default_https_port

2018-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix exit code for TLS connect errors
     
     * libwget/ssl_gnutls.c (_do_handshake): Return WGET_E_CONNECT on connect errors
     * src/wget.c (establish_connection): Set WG_EXIT_STATUS_NETWORK on connect errors

2018-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_https_enforce): Fix wrong casts

2018-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests for --https-enforce
     
     * tests/Makefile.am: Add new tests
     * tests/libtest.c: Code cleanup,
       (_answer_to_connection): implement protocol specific urls,
       (wget_test_start_server): implement WGET_TEST_HTTP(S)_ONLY,
       (wget_test): Allow absolute URLS for WGET_TEST_REQUEST_URL(S)
     * tests/libtest.h (wget_test_url_t): Add https_only and http_only

2018-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix --https-enforce=soft --recursive

2018-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Add http:// to URIs without scheme
     
     * libwget/iri.c (wget_iri_parse): Add http:// to uri without scheme
     * include/wget/wget.h (wget_iri_t): Add member msize
     
     This commit also fixes a buffer overflow in wget_iri_set_scheme in
     combination with wget_iri_clone.

2018-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Simplify code for --https-enforce
     
     * libwget/iri.c (wget_iri_set_scheme): Cleanup
     * src/host.c (host_add_robotstxt_job): Add param http_fallback
     * src/wget_host.h: Likewise
     * src/job.c (job_init): Add param http_fallback
     * src/wget_job.h: Likewise
     * src/wget.c: Remove http_fallback_urls and http_fallback_urls_mutex,
       (add_url_to_queue): Set http_fallback for new jobs,
       (add_url): Likewise

2018-01-18 DalmeGNU <dalmemail@gmail.com>

     Add new option --https-enforce
     
     * docs/wget2.md: Add docs
     * src/options.c: Add --https-enforce and parse_https_enforce()
     * src/wget.c:
     * src/wget_options.h: Add config.https_enforce and WGET_HTTPS_ENFORCE_*

2018-01-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (_wget_tcp_resolve): Handle EAI_ALLDONE

2018-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Save artifacts for the VPATH build

2018-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix testing options
     
     * Makefile.am: Add wget2 executable from builddir
     * contrib/check_options: Use given command line arguments

2018-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Suppress ASAN leak detection in getaddrinfo_a()
     
     * .gitlab-ci.yml: export LSAN_OPTIONS=suppression=...
     * tests/Makefile.am: Add suppression file to TESTS_ENVIRONMENT
     * tests/clang-asan-suppressions: New file with leak suppression
     
     getaddrinfo_a() has leak(s) that we have to suppress when using
     the address sanitizer.

2018-01-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (downloader_thread): Pause on error with --disable-threads

2018-01-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/valgrind-suppressions: Add leaks in glibc's getaddrinfo_a()

2018-01-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Add 10s timeout to wget2 command line

2018-01-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use persistent ccache and configure cache

2018-01-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: #undef select for _WIN32 build
     
     Reported-by: Gisle Vanem

2018-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/wget_options_fuzzer.dict: Update with new options

2018-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/wget_options_fuzzer.in: Add new corpora

2018-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_regex_type): Return error instead of exit()

2018-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (main): Minor cleanup

2018-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/host.c (host_queue_free): Fix double free with --debug

2018-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add --http2-request-window to set max. # of parallel HTTP/2 streams
     
     * docs/wget2.md: Docs for --http2-request-window
     * src/options.c: Add --http2-request-window
     * src/wget_options.h: Remove unused config.http1_request_window

2018-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/release: Fix and add more checks

2018-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix option checking
     
     * Makefile.am: Add contrib/check_options to EXTRA_DIST
     * contrib/check_options: Fix paths

2018-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Add SECTION_PLUGIN and move plugin options into it

2018-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/check_options: Force /bin/bash to have shopt

2018-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Remove WARC and FTP stuff

2018-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2_md2man.sh.in: Remove set -o pipefail (incompatible)

2018-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for plugin options

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --local-db, --input-encoding=encoding

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Amend text for --secure-protocol

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --gnutls-options

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --fsync-policy, --hpkp, --hpkp-file

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --dns-caching, --http2, --metalink

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --cookie-suffixes

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Update link to public_suffix_list.dat

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/check_options: Enable/fix pattern matching for case

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --robots

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Fix syntax of --private-key

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Don't display -n compat option on --help

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Fix --inet*, Add text for --tcp-fastopen

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/check_options: Amend collecting options

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove --config-file in favor of --config
     
     * docs/wget2.md: Amend docs
     * src/options.c: Remove option --config-file

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Fix option syntax

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/check_options: Adjust search patter

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --ocsp, --ocsp-stapling and --ocsp-file

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --tls-session-file and --tls-false-start

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --http-proxy and --https-proxy

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add space before --tries and --output-document

2018-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --check-hostname

2018-01-11 Darshit Shah <darnir@gnu.org>

     * docs/wget2_md2man.sh.in: Add bash error flags to script

2018-01-11 Darshit Shah <darnir@gnu.org>

     * docs/wget2.md: Add documentation for --signature-extension

2018-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Check wget2 options against wget2 manual
     
     * Makefile.am: Call contrib/check_options in 'make check'
     * contrib/check_options: New script to check options

2018-01-10 Neil Locketz <neil@nlocketz.com>

     Delete signature file, and delete files that fail signature validation.
     
     * docs/wget2.md: Added documentation for new '--verify-save-failed'
     * src/gpgme.c: Exposed function to determine base downloaded file from
       signature JOB.
     * src/options.c: Added '--verify-save-failed' to allow users to keep downloaded
       files that fail validation.
     * src/wget.c: Logic for unlinking signatures, and files failing validation.
     * src/wget_gpgme.c: Declaration for new function that determine base downloaded
       files.
     * tests/Makefile.am: Added New test code, fixed missing SOURCES.
     * tests/gpg-test-util.h: Conditionally expect a saved base file if exit
       code == 0, never expect a saved signature file.
     * tests/test-gpg-save-failed.c: A test that tests the '--verify-save-failed'
       flag.
     * tests/test-gpg-style.s: Remove signature file from expected output.
     
     Added flag '--verify-save-failed' to disable the "fail delete" behavior.

2018-01-12 Avinash Sonawane <rootkea@gmail.com>

     * README.md: Add libgpgme to build requirements

2016-11-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Prepare alpha release

2018-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib

2018-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix warnings
     
     * configure.ac: Add -Wno-assign-enum -Wno-unreachable-code to gnulib warnings
     * libwget/thread.c: Add #pragmas to silence warnings from gnulib includes
     * libwget/utils.c: Likewise
     * src/log.c: Likewise
     * src/wget.c: Likewise
     * src/bar.c: Make _terminate_thread static
     * tests/test-gpg-styles.c: Make urls static

2018-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add -Wno-float-conversion to gnulib compilation

2018-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Make strings translatable for error_printf()
     
     * libwget/*.c: Likewise
     * src/*.c: Likewise
     * po/POTFILES.in: Add source files

2018-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove data/ directory
     
     * Makefile.am: Remove data/ from SUBDIRS
     * configure.ac: Remove data/Makefile from AC_CONFIG_FILES
     * tests/Makefile.am: Remove WGET_DATADIR from DEFS
     * unit-tests/Makefile.am: Likewise
     * data/effective_tld_names.dat: Move to unit-tests/files/public_suffix_list.dat
       and update from upstream
     * unit-tests/test.c (test_cookies): Use public_suffix_list.dat

2018-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2.md: Add text for --xattr

2018-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Add man pages to tarball

2018-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix building docs
     
     * Makefile.am: Add README.md to EXTRA_DIST
     * configure.ac: Generate conditionals WITH_DOXYGEN and WITH_PANDOC
     * docs/Makefile.am: Use conditionals for building

2018-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Check for pandoc in ./configure
     
     * configure.ac: Check for pandoc
     * docs/Makefile.am: Use $(PANDOC)
     * docs/wget2_md2man.sh.in: Use $PANDOC shell variable

2018-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate .texi and .info from markdown manual
     
     * Makefile.am: Convert .md to .texi and .info
     * mainpage.md: Rename wget2_manual.md to wget2.md
     * wget2_manual.md: Renamed to wget2.md

2018-01-09 Darshit Shah <darnir@gnu.org>

     Add a space after section header string in md manual

2018-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate wget2 man page
     
     * .gitignore: Add auto-generated docs/wget2_md2man
     * README.md: Add pandoc
     * configure.ac: Generate docs/wget2_md2man
     * docs/Makefile.am: Build wget2.1
     * docs/wget2_manual.md: Fix things for a better man page experience
     * docs/wget2_md2man.sh.in: Template file for docs/wget2_md2man

2018-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/POTFILES.in: Add src/stats.c

2018-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix calls to info_printf() for translation
     
     * src/stats.c: Add _() around static text
     * src/wget.c: Likewise

2018-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: 'make' before 'make distcheck' in VPATH build

2018-01-09 Neil Locketz <neil@nlocketz.com>

     GPG signature information now presented in --site-stats
     
     * src/stats.c: Site stats output contains relevant GPG signature information
     * stc/wget.c: Now exits with just a generic GPG error if any sigs fail validation.
     More information presented in --site-stats output.
     * src/wget_host.h: Added signature information to DOC struct.
     * src/wget_options.h: Removed old exit codes in favor of single GPG error exit code.
     * tests/Makefile.am: Added test-gpg-bad to Makefile
     * tests/gpg/helloworld.txt.bad.sig: A corrupted signature (I just deleted a byte somewhere)
     * tests/test-gpg-bad.c: A test for a bad (corrupted) signature.
     * tests/test-gpg-invalid.c: Changed exit code to the single GPG error exit code.

2017-12-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Use hashmap instead of vector for DNS caching
     
     * libwget/dns_cache.c: Likewise

2017-12-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Refactor DNS chaching code out of net.c
     
     * include/wget/wget.h: Add missing wget_dns_cache declarations
     * libwget/Makefile.am: Add dns_cache.c
     * libwget/dns_cache.c: New file
     * libwget/net.c: Remove DNS chaching code

2018-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix MinGW compilation without threads
     
     * .gitlab-ci.yml: Test without multi-threading
     * pthread_sigmask.c.mingw: New file with patch for MinGW
     
     Wine/MinGW seems to have a multi-threadign issue (sometimes hangs).
     Disabling threads using ./configure --disable-threads needs a change in
     gnulib. It has been reported, but not worked on currently.
     So we provide our own solution.

2018-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2018-01-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_print_info): Amend printed error messages

2018-01-04 Darshit Shah <darnir@gnu.org>

     Eliminate redundant variable config.head_progress

2018-01-04 Darshit Shah <darnir@gnu.org>

     Unify functions to print progress stats and progress_head stats

2018-01-04 Darshit Shah <darnir@gnu.org>

     * libwget/iri.c: Don't percent encode the query portion of a IRI

2018-01-02 Darshit Shah <darnir@gnu.org>

     Add support to change the GPG signature file extension
     
     * src/wget_options.h: Define a new option, --signature-extension
     * src/options.c: Guard the SECTION_GPG in help_section_t with ifdef's.
       Set new option as a string and give it a default value
     * src/wget.c(process_response): Use the value in config.sig_ext to
       decide the extension of the signature file
     * tests/Makefile.am: Add new tests to Makefile
     * tests/test-gpg-styles.c: New test file

2018-01-02 Darshit Shah <darnir@gnu.org>

     * src/options.c: Put GPG options in their own help section

2018-01-04 Darshit Shah <darnir@gnu.org>

     * src/wget.c: Gracefully disable progress when built without threads

2018-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix build to work without multi-threading
     
     * libwget/thread.c: Fix wget_thread_start() and wget_thread_join()
     * src/wget.c: Fix typo
     * tests/libtest.c: Don't skip tests when multi-threading is disabled

2018-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --without-plugin-support build
     
     * configure.ac: Check for dlsym and introduce $FUZZ_LIBS
     * fuzz/Makefile.am: Use $FUZZ_LIBS instead of $LIBS

2018-01-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/Makefile.am: Do not build/run GPG tests if gpgme isn't installed

2018-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add test for --filter-mime-type
     
     * tests/Makefile.am: Add test--filter-mime-type
     * tests/test--filter-mime-type.c: New test

2017-12-30 DalmeGNU <dalmemail@gmail.com>

     Add --filter-mime-type option
     
     * src/wget.c: Add mime type check before downloading a file
     * src/options.c: Add --filter-mime-type option
     * src/wget_options.h: Add mime_types to the config structure
     * docs/wget2_manual.md: Add documentation related to the new option

2018-01-01 Darshit Shah <darnir@gnu.org>

     Cleaner error messages for GPG Verification
     
     * src/wget.c(process_response): Remove some info_printf statements. They
     are printed from gpgme now
     * src/gpgme.c: Pass the filename of the signature file (if any) ad use
     it to print an error message to the screen. This prevents the double
     error messages that were printed and works well with the progress bar

2017-12-25 Neil Locketz <neil@nlocketz.com>

     Fixed problems pointed out in MR. Added tests and doxygen documentation.
     
     * bootstrap.conf: Add canonicalize module.
     * cfg.mk: Added exclusions to no new line at EOF for binary files used in tests.
     * configure.ac: Check for libgpgme
     * docs/wget2_manual.md: Added manual entries for --verify-sig, --gnupg-homedir, and new exit codes.
     * fuzz/Makefile.am: Amend linker options
     * include/wget/wget.h: Add error codes for GPG signature verification.
     * po/POTFILES.in: Add new files.
     * src/Makefile.am: Add src/gpgme.c and src/wget_gpgme.h
     * src/gpgme.c: Using new error codes, and better signature verification failure detection.
     * src/job.c (job_free): Free sig_filename
     * src/options.c: Add new options --gnupg-homedir and --verify-sig
     * src/wget.c: Verify the signature if possible, exit with the proper status code,
       print error messages
     * src/wget_gpgme.h: Add documentation.
     * src/wget_job.h: Extend struct JOB
     * src/wget_options.h: Add new status codes, add new members to struct config
     * tests/Makefile.am: Added new tests.
     * tests/gpg-test-util.h: Common GPG testing functionality (tries to verify a signature, expects exit code ... etc).
     * tests/gpg/helloworld.txt: Text that has been signed in the .sig files.
     * tests/gpg/helloworld.txt.{invalid,no-pub,missing,trusted}.sig: Signatures on helloworld.txt with properties described by their names.
     * tests/gpg/openpgp-revocs.d/*: Revocation certs for the fake "homedir"
     * tests/gpg/private-keys-v1.d/*: The not-so-private private keys used to sign the test file.
     * tests/gpg/pubring.kbx: Fake gnupg homedir public key ring.
     * tests/gpg/test-gpg-*.c: Tests.
     * tests/valgrind-supressions: Supress failures due to oddness with GPGME.
     * unit-tests/Makefile.am: Add src/gpgme.o to BASE_OBJS

2018-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: Exclude *gnulib/*.c from sc_copyright_check

2018-01-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/thread.c: Fix typos (make syntax-check)

2017-12-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove unused function wget_vector_deinit()
     
     * include/wget/wget.h: Likewise
     * libwget/vector.c: Likewise

2017-12-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c (_free_tree_docs_entry): Use wget_vector_free()

2017-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for thread functions
     
     * docs/Makefile.am: Add man page
     * libwget/thread.c: Add documentation

2017-12-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Extend list of dependencies

2017-12-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/main.c: Fix path separator on MinGW

2017-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "* .gitlab-ci.yml: Remove MinGW CI runner"
     
     This reverts commit 89166a38d428ccb02eb263394130dd4acada2b51.
     
     At least on Debian unstable the MinGW build works stable now.
     This might be due to the latest fixes in the threading area.

2017-12-30 DalmeGNU <dalmemail@gmail.com>

     * docs/wget2_manual.md: Remove duplicate documentation on the --report-speed option and change it a bit
2017-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c (wget_bar_set_slots): Fix memleak when adding more slots

2017-12-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (main): Fix read overflow on progress+spider without TTY

2017-12-23 DalmeGNU <dalmemail@gmail.com>

     Fix the filename encoding for the progress bar in spider mode
     
     * src/wget.c: Use functions from wget2 to get the filename,
       refactor get_local_filename(). Shorten the progress info
       line
     * src/wget_main.h: Use const for get_local_filename() param

2017-12-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/thread.c: Suppress -Wundef warnings in gnulib includes

2017-12-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Avoid copying initialized glthread structures
     
     * libwget/thread.c: Use malloc+init instead init+memdup
     
     Memdup'ing the glthread structures broke internal pointers,
     at least on Windows.
     
     Reported-by: Gisle Vanem

2017-12-23 DalmeGNU <dalmemail@gmail.com>

     Print progress info related to headers when spider+progress are set
     
     * src/options.c: Set config.head_progress if spider+progress are set
     * src/wget.c: New function print_head_progress_report(),
       new function get_filename()
     * src/wget_options.h: New var config.head_progress

2017-12-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/bar.c: Let progress thread stop
     
     Glthreads don't have a cancel or kill function, so we use
     a global termination flag.

2017-12-10 DalmeGNU <dalmemail@gmail.com>

     Improve progress speed display
     
     * include/wget/wget.h: Use enum for WGET_REPORT_SPEED_*
     * libwget/bar.c: Add ringbuffer for smoother speed calculations
     * src/wget.c (main): Replace call to print_progress_report() by
       call to bar_printf()

2017-12-20 Darshit Shah <darnir@gnu.org>

     libwget/bar.c: Ensure all progress bars have the same size

2017-12-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Add test for multi-threading
     
     * unit-tests/Makefile.am: Add test-cond
     * unit-tests/test-cond.c: New test

2017-12-17 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/build_fuzzers: Print out a small info

2017-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Thread abstraction via gnulib thread wrapper (glthread)
     
     * bootstrap.conf: Add modules cond, lock and thread,
       remove module pthread
     * include/wget/wget.h: Remove pthread code,
       add new wget_thread_* functions,
       amend params of wget_thread_* functions,
       add init and exit functions for mutex initialization
     * */*.[ch]: Amend threading to new API
     
     This change let libwget work with different kinds of
     threading libraries incl. pthreads and windows threads.

2017-12-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Reduce warnings from gnulib code

2017-12-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix some more URLs from http:// to https://
     
     * .travis.sh: Likewise
     * .travis_setup.sh: Likewise
     * COPYING: Likewise
     * COPYING.LESSER: Likewise
     * bootstrap: Likewise
     * include/wget/wget.h: Likewise
     * include/wget/wgetver.h.in: Likewise
     * libwget/atom_url.c: Likewise
     * libwget/iri.c: Likewise

2017-12-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix race condition(s) in downloader logic
     
     * src/host.c: Use new flag job.done,
       add more documentation,
       protect some debugging lines with hosts_mutex
     * src/wget.c: Use job.done instead of job.inuse
     * src/wget_host.h: Use void return for host_add_job()
       and host_add_robotstxt_job()
     * src/wget_job.h (struct JOB): Add job.done
     
     The job.inuse flag has been used for two purposes. This
     resulted in sporadic conflicts between threads. While one was
     destroying a job structure another got this structure from the
     job queue. Best reproducible with '-r --spider' combination.

2017-12-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix deadlock in host_remove_job()
     
     * src/host.c (_host_remove_job): New function fixes deadlock
     
     Fixes #314

2017-12-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*_fuzzer.in/*: Update fuzzer corpora

2017-12-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/build_fuzzers: Add new helper script to build fuzzers

2017-12-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/get_ossfuzz_corpora: Fix script to handle many corpora

2017-12-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix clang warning about 64/32 conversion

2017-12-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Fix clang warning about 64/32 conversion

2017-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2017-11-30 DalmeGNU <dalmemail@gmail.com>

     Implement speed reporting in the progress bar and the --report-speed switch
     
     * docs/wget2_manual.md: Add documentation for the --report-speed switch
     * include/wget/wget.h: Define the report speed types, add reference to wget_bar_set_speed_type()
     * libwget/bar.c: Modify the wget2 progress bar to print speed information
     * src/bar.c: Add code to set the type of speed reporting
     * src/options.c: Add the --report-speed switch and a function to parse the legal types
     * src/wget_options.h: Add 'report_speed' in the config structure
     * src/wget.c: Print speed reports at the end of a download thread

2017-12-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix several issues foudn by cppcheck
     
     * libwget/bar.c (_wget_bar_st): Remove unused member screen_width
     * libwget/css.c: Reduce scope of variables
     * libwget/encoding.c: Likewise
     * libwget/hpkp.c: Likewise
     * libwget/http.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/iri.c: Likewise
     * libwget/net.c: Likewise
     * libwget/sitemap_url.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/vector.c: Likewise
     * src/dl.c: Likewise

2017-12-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add VPATH build

2017-12-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Use BUILDDIR for popen() in test suite
     
     * tests/Makefile.am: Set BUILDDIR
     * tests/libtest.c: Use BUILDDIR for executable path

2017-12-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Update link libraries in Makefiles
     
     * fuzz/Makefile.am: Update link libraries and remove redundant code
     * libwget/Makefile.am: Likewise
     * src/Makefile.am: Likewise
     * tests/Makefile.am: Likewise
     * unit-tests/Makefile.am: Likewise

2017-12-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/POTFILES.in: Add lib/regcomp.c

2017-12-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Fix -Wundef warning on Win32

2017-12-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Include getpass.h

2017-12-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Add modules pipe-posix, regex
     
     # Conflicts:
     #	bootstrap.conf

2017-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Use new Fedora27 CI image

2017-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c: Silence doxygen

2017-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c: Add missing documentation

2017-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashfile.c: Use doxygen 'ingroup' instead of 'defgroup'

2017-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Fix end of doxygen file

2017-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix some doxygen issues
     
     * libwget/hash_printf.c: Fix name of param
     * libwget/hpkp.c: Document missing param,
       (wget_hpkp_db_add): Rename param
     * libwget/ssl_gnutls.c: Fix \ref syntax warnings
     * libwget/strscpy.c: Fix param usage in docs

2017-08-19 Ander Juaristi <a@juaristi.eus>

     doxygen: Document SSL/TLS engine

2017-11-30 DalmeGNU <dalmemail@gmail.com>

     * docs/wget2_manual.md: Add documentation for --max-threads and --chunk-size switches

2017-11-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add make distcheck

2017-11-29 Dan <dalmemail@amaya.tk>

     * src/options.c: Prevert --max-threads & --chunk-size flags combination

2017-11-28 DalmeGNU <dalmemail@gmail.com>

     * src/options.c: Don't allow wget2 to show any password dialogs if there are no URL arguments

2017-11-28 Akash Rawal <argmlac@gmail.com>

     * unit-tests/Makefile.am: Make libwget usable in dummy libraries

2017-11-24 Akash Rawal <argmlac@gmail.com>

     Fix 'make distcheck' for VPATH build
     
     * fuzz/Makefile.am: Use $(srcdir) to find files
     * tests/Makefile.am: Add stats-test-util.h to *_SOURCES where needed

2017-11-24 Akash Rawal <argmlac@gmail.com>

     * .travis.yml: Fix travis-ci build

2017-11-28 DalmeGNU <dalmemail@gmail.com>

     * src/wget.c: Let the user know if file is completely retrieved after a 416 HTTP error

2017-11-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/wget_options_fuzzer.c: Fix for C++ building

2017-11-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Fix building for oss-fuzz

2017-11-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add testmode to avoid interactive functions when testing
     
     * fuzz/Makefile.am: Link options fuzzer with testing.o
     * fuzz/wget_options_fuzzer.c: Set test mode
     * src/Makefile.am: Add testing.c and wget_testing.h
     * src/options.c (prompt_for_password, run_use_askpass):
       Check for testing mode
     * src/testing.c: New file
     * src/wget_testing.h: New file
     * unit-tests/Makefile.am: Link with testing.o

2017-11-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hsts.c: Check some function arguments against NULL

2017-11-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test--accept.c: Fix new tests for Windows
     
     Reported-by: Gisle Vanem

2017-11-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Fix reading passwords for fuzzing

2017-11-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix resource leaks
     
     * src/options.c (prompt_for_password): Fix indentation,
       (run_use_askpass): Add file actions to close pipe fds in child,
       (init): Free config.password before calling prompt_for_password(),
       (deinit): Free config.use_askpass_bin

2017-11-14 Avinash Sonawane <rootkea@gmail.com>

     Fix warnings
     
     * src/wget.c : Declare 'nthreads' as static variable
     * src/wget.c (regex_match_pcre): explicit typecast to PCRE2_SPTR

2017-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-stats-tls.c: Remove superfluous include

2017-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/stats-test-util.h: Fix free() on arbitrary stack content

2017-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (run_use_askpass): Remove warning

2017-11-13 Neil Locketz <neil@nlocketz.com>

     Hosts gathered from metalinks are added to hosts hashmap
     
     * src/wget.c: Add metalink mirrors to hosts hashmap

2017-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix check for WITH_LIBPCRE

2017-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (run_use_askpass): Use const for 'question'

2017-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (init): Fix memleak (harmless)

2017-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Add lzip to list of prerequisites

2017-11-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Cleanups, prevent resource leaks in --use-askpass

2017-11-11 DalmeGNU <dalmemail@gmail.com>

     Disable TLS Session Resumption by default
     
     * src/options.c: Set config.tls_resume to false/zero by default
     
     * docs/wget2_manual.md: Add docs for --tls-resume

2017-11-06 DalmeGNU <dalmemail@gmail.com>

     Implementation of --use-askpass switch
     
     * bootstrap.conf: Add 'posix_spawn' and 'spawn-pipe' gnulib modules
     * docs/wget2_manual.md: Add docs for --use-askpass
     * src/options.c: Add implementation of --use-askpass
     * src/wget_options.h (struct config): Add 'use_askpass_bin' member

2017-11-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap.conf: Add more prerequisites

2017-11-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: More documentation added

2017-11-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Add Cache-Control: no-cache if --no-cache is given

2017-11-06 Neil Locketz <neil@nlocketz.com>

     Response Time Site Statistic
     
     * include/wget/wget.h: first_data_back field added to represent the time of first bytes received back.
     * libwget/http.c: Assigning first_data_back at the appropriate time.
     * stc/wget_host.h: Added response_time field to DOC, holds response time for document.
     * src/stats.c: Logic to calculate response_time for DOCs, and stat printing.

2017-11-06 Neil Locketz <neil@nlocketz.com>

     Transfer time site statistic
     
     * include/wget/wget.h: Added request_start, and response_end to wget_http_request_t, and wget_http_response_t respectively.
     * libwget/http.c: New fields initialized/set with their corresponding values at the right time.
     * stc/wget_host.h: Added timestamps to DOC for request timeframes.
     * src/stats.c: Logic to calculate request_start and response_end for DOCs. Stats writing.

2017-11-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Skip DNS resolve for bind address for fuzz/ tests

2017-11-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_statistics): Count status 303, 307, 308 as redirects

2017-11-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response_cb): Improve gzip workaround

2017-10-31 DalmeGNU <dalmemail@gmail.com>

     Implement --ask-password switch to enable a password prompt
     
     * bootstrap.conf: Add 'getpass' gnulib module
     * docs/wget2_manual.md: Amend docs for --ask-password
     * src/options.c: Add implementation of --ask-password
     * src/wget_options.h (struct config): Add 'password' member

2017-11-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Add some struct member documentation

2017-11-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix out-of-memory issue in option parsing
     
     * src/options.c (parse_stringlist_expand): Limit number
       entries in vector table.
     
     And endless loop situation when reading config files lead
     to an out-of-memory situation.
     
     Found by oss-fuzz (issue 4015).
     Bug existed since a long time.

2017-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/wget_options_fuzzer.in: Update fuzzer corpora

2017-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Let plugin_db_load_from_envvar() return error
     
     * src/options.c (init): Return error if plugin_db_load_from_envvar() fails
     * src/plugin.c (plugin_db_load_from_envvar): Return error instead of void
     * src/wget_plugin.h (plugin_db_load_from_envvar): Likewise

2017-10-23 Neil Locketz <neil@nlocketz.com>

     Split up plugin tests into several files
     
     * tests/Makefile.am: Add new files
     * tests/test-plugin-failure.c: New file with tests based on invalid input
     * tests/test-plugin-interception.c: New file for testing the various things
       plugins can intercept
     * tests/test-plugin-nonexistance.c: New file for tests with plugins that don't exist)
     * tests/test-plugin.c: Moved tests to the above new files

2017-10-23 Neil Locketz <neil@nlocketz.com>

     Split individual stats tests into their own files
     
     * tests/Makefile.am: Add new files
     * tests/stats-test-util.h: New file
     * tests/test-stats-all.c: New file
     * tests/test-stats-dns.c: DNS stats tests
     * tests/test-stats-ocsp.c: OCSP stats tests
     * tests/test-stats-server.c: Server stats tests
     * tests/test-stats-site.c: Site stats tests
     * tests/test-stats-tls.c: TLS stats tests

2017-11-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix memory leak in wget2
     
     * src/options.c (init): Free config.logfile before assignment
     
     Found by oss-fuzz (issue 3963).
     Bug existed since a long time.
     Bug is not relevant except for testing.

2017-10-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix buffer overflow in option parser
     
     * src/options.c (_parse_option): Add end-of-string check
     
     Found by oss-fuzz (issue 3950).
     Bug existed since a long time.

2017-10-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Add support for RFC 7616 HTTP Digest Access Authentication
     
     * docs/Makefile.am: Remove libwget-md5.3
     * include/wget/wget.h: Remove wget_md5_printf_hex(),
       add wget_hash_printf_hex()
     * libwget/Makefile.am: Rename md5.c to hash_printf.c
     * libwget/hash_printf.c: New file with wget_hash_printf_hex()
     * libwget/http.c (wget_http_add_credentials): Remove hardcoded MD5 algo
     * tests/test-metalink.c: Use wget_hash_printf_hex()
     
     RFC 7616 adds/replaces the MD5 digest algorithm with SHA-256.

2017-04-13 Michael Heerklotz <michael.heerklotz@check24.de>

     Added new setting --filter-urls
     
     * docs/wget2_manual.md: Added doc for new setting
     * src/options.c: Added new setting
     * src/wget.c: Added code for new setting.
     * src/wget_options.h: Added new setting
     
     This commit hasn't been copyright-assigned to the FSF.

2017-04-13 Michael Heerklotz <michael.heerklotz@check24.de>

     Added regex filters (--accept-regex, --reject-regex, --regex-type)
     
     * configure.ac: Added detection of libpcre and libpcre2
     * include/wget/wget.h: Added regex_type defines
     * src/options.c: Added the new options
     * src/wget.c: Added regex code
     * src/wget_options.h: Added the new options
     * tests/test--accept.c: Added tests for the new options
     
     This commit hasn't been copyright-assigned to the FSF.

2017-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Fixes for oss-fuzz
     
     * fuzz/Makefile.am: Extend oss-fuzz make script
     * fuzz/wget_options_fuzzer.c: Do not opendir() in init()
     * src/wget_options.h: Tell C++ that functions are C
     * src/wget_plugin.h: Likewise

2017-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Add wget_options_fuzzer
     
     * Makefile.am: Fix make target 'fuzz-coverage'
     * configure.ac: Enable building static library by default,
       add option --enable-fuzzing
     * fuzz/Makefile.am: Add wget_options_fuzzer,
       check for FUZZING (set with --enable-fuzzing)
     * fuzz/README.md: Amend the text
     * fuzz/main.c: Use printf() instead of wget_info_printf()
     * fuzz/run-clang.sh: Use fuzzer binaries built by 'make'
     * fuzz/wget_options_fuzzer.c: New fuzzer
     * fuzz/wget_options_fuzzer.dict: New fuzzer dictionary
     * fuzz/wget_options_fuzzer.in/*: Initial fuzz corpora
     * libwget/net.c: Skip IP address resolution when fuzzing
     * src/log.c: Don't create files when fuzzing,
       don't print to console when fuzzing
     * src/options.c: Add set_exit_status() and get_exit_status(),
       don't print --help / --version to console when fuzzing,
       do not call exit() - return error instead,
       fix recursion level in _read_config(),
       don't create files when fuzzing,
       fix memory leaks in deinit()
     * src/stats.c: Don't create files when fuzzing
     * src/wget.c: Remove set_exit_status()
     * src/wget_main.h: Remove exit_status_t
     * src/wget_options.h: Add exit_status_t
     * tests/test-plugin.c: Fix expected exit codes from 1 to 2
     
     This is for application fuzzing (namely code from src/).
     The code in src/ had to be prepared in certain ways, but it
     doesn't add significant overhead, even makes the code cleaner
     in some ways. Several of these changes have already been committed
     into the master branch.

2017-10-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename WGET_HTML_PARSED_RESULT to wget_html_parsed_result_t
     
     * examples/check_url_types.c: Likewise
     * examples/print_html_urls.c: Likewise
     * fuzz/libwget_html_url_fuzzer.c: Likewise
     * include/wget/wget.h: Likewise
     * libwget/html_url.c: Likewise
     * src/wget.c: Likewise

2017-10-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename WGET_HTML_PARSED_URL to wget_html_parsed_url_t
     
     * examples/check_url_types.c: Likewise
     * examples/print_html_urls.c: Likewise
     * include/wget/wget.h: Likewise
     * libwget/html_url.c: Likewise
     * src/wget.c: Likewise

2017-10-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename WGET_PARSED_URL to wget_css_parsed_url_t
     
     * examples/print_css_urls3.c: Likewise
     * include/wget/wget.h: Likewise
     * libwget/css_url.c: Likewise

2017-10-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename ROBOTS to wget_robots_t
     
     * fuzz/libwget_robots_parse_fuzzer.c: Rename ROBOTS to wget_robots_t
     * include/wget/wget.h: Likewise
     * libwget/robots.c: Likewise
     * src/wget_host.h: Likewise
     * unit-tests/test.c: Likewise

2017-10-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Replace ROBOTS_PATH by wget_string_t
     
     * include/wget/wget.h: Remove struct ROBOTS_PATH
     * libwget/robots.c: Replace ROBOTS_PATH by wget_string_t
     * src/host.c: Likewise
     * src/wget.c: Likewise
     * unit-tests/test.c: Likewise

2017-10-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (_read_config): Fix buffer underflow

2017-10-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update for glob() buffer overflows

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_timeout): Fix two integer overflows

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_numbytes): Fix integer overflow

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Cleanup dl_error* functions
     
     * src/dl.c: Deduplicate code, use const where needed
     * src/wget_dl.h: Use const attribute for dl_error_t.msg

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_plugin.h: Include needed header files

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (get_home_dir): Allow free'ing 'home' outside the function

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (_read_config): Add errno and strerror to error message

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * unit-tests/test-dl.c: Fix memory leak

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_set_bind_address): Fix allocation policy flag

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (_wget_tcp_resolve): Fix read of uninitialized stack memory

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (_parse_no_proxies): Remove wrong destructor from vector 'proxies'

2017-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2017-10-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Fine-tune help output

2017-10-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add wget_strscpy()
     
     * include/wget/wget.h: Add wget_strscpy()
     * libwget/strscpy.c: New file
     * libwget/Makefile.am: Add strscpy.c
     * libwget/html_url.c: Use wget_strscpy() instead of wget_strlcpy()
     * libwget/http.c: Likewise
     * libwget/iri.c: Likewise
     * libwget/metalink.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/test_linking.c: Likewise
     * src/job.c: Likewise
     * src/plugin.c: Likewise
     * src/wget.c: Likewise

2017-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use MHD_free in test suite if available
     
     * configure.ac: Check for MHD_free(),
       fallback to AC_SEARCH_LIBS if pkg-config not available
     * tests/libtest.c: Call MHD_free() where appropriate,
       small cleanups

2017-10-10 Avinash Sonawane <rootkea@gmail.com>

     * .gitlab-ci/yml: Add scan-build for fuzz/*, tests/* and unit-tests/*

2017-10-10 Avinash Sonawane <rootkea@gmail.com>

     * .gitlab-ci.yml: Generate flawfinder report

2017-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Cleanup test library
     
     * tests/libtest.c (_http_server_start): Use wget_error_printf instead of printf,
       simplify some code,
       gettextize some printf strings,
       (wget_test): generate WIN32 command line

2017-10-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix usage of wget_global_init() and wget_http_get()
     
     * examples/*.c: Use 0 instead of NULL as terminating param
     * fuzz/main.c: Likewise
     * include/wget/wget.h: Remove G_GNUC_WGET_NULL_TERMINATED from
       wget_global_init() and wget_http_get().

2017-10-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Fix free'ing of certain variables

2017-10-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Fix usage of G_GNUC_WGET_NONNULL for clang-cl (Windows)

2017-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_local_db): Let --local-db be a master switch

2017-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Add --no-local-db to test suite
     
     * tests/libtest.c: Add --no-local-db to wget2 options
     * tests/test-plugin.c: Fix test

2017-09-27 Dan <dalmemail@amaya.tk>

     Implement '--local-db' option
     
     * src/options.c: New function parse_local_db(),
       new option '--local-db',
       (init): Check for config settings
     * src/wget_options.h (struct config): Add local_db

2017-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Fix scan-build

2017-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (wget_iri_relative_to_abs): Fix null pointer dereference

2017-09-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Implement --dns-timeout using getaddrinfo_a()
     
     * configure.ac: Check for getaddrinfo_a() in libanl
     * libwget/net.c: Implement _wget_tcp_resolve() with timeout
     
     Currently, there seems to be memory leak in getaddrinfo_a().
     Needs investigation and a bug report.

2017-10-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Generate scan-build report (clang static analyzer)

2017-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (send_ocsp_request): Fix null ptr dereference

2017-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_bar.h: Remove unneeded G_GNUC_WGET_NONNULL_ALL from bar_slot_begin()

2017-10-07 Avinash Sonawane <rootkea@gmail.com>

     Use snprintf() instead of sprintf()
     
     * tests/libtest.c: Likewise
     * unit-tests/test.c: Likewise

2017-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget_xattr.h: Move #include into guarded area

2017-10-05 Avinash Sonawane <rootkea@gmail.com>

     Fix issues reported by clang static analyzer
     
     * unit-tests/test-dl-dummy.c: use wget_strlcpy() intead of strcpy()
     * src/plugin.c: Likewise
     * tests/libtest.c: Get rid of strcpy()
     * unit-tests/test.c: Fix out-of-bound array access

2017-10-05 Avinash Sonawane <rootkea@gmail.com>

     Reduce variable scope
     
     * examples/print_html_urls.c: Likewise
     * fuzz/libwget_cookie_fuzzer.c: Likewise
     * fuzz/main.c: Likewise
     * tests/libtest.c: Likewise
     * unit-tests/test.c: Likewise
     
     Found by: cppcheck

2017-10-07 Avinash Sonawane <rootkea@gmail.com>

     Remove dead assignments
     
     * libwget/http.c: Likewise
     * libwget/net.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * src/wget.c: Likewise
     
     Found by: Clang static analyzer (scan-build)

2017-10-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-plugin.c: Fix check for skipping the test

2017-09-28 Josef Moellers <jmoellers@suse.de>

     Terminate http request on response status code 416.
     
     * libwget/http.c (wget_http_get_response_cb): Stop download on
       status code 416, cleanup using HTTP status defines.
     * libwget/http.h: Add HTTP status defines from Wget1.x
     
     HTTP status response 416 Requested Range Not Satisfiable.
     This sometimes happens when a server responds incorrectly to a range request.
     There is not enough information available (Range of the request) to properly
     handle this case. If it were, the case that the file has already been
     completely downloaded could be detected and an appropriate message could be
     generated. I also took the liberty to port the status codes from the old wget
     source to libwget/http.h to make the code more readable.

2017-10-05 Avinash Sonawane <rootkea@gmail.com>

     Reduce scope of variables
     
     * libwget/bar.c: Likewise
     * libwget/console.c: Likewise
     * libwget/encoding.c: Likewise
     * libwget/hashmap.c: Likewise
     * libwget/io.c: Likewise
     * libwget/md5.c: Likewise
     * libwget/netrc.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * libwget/xml.c: Likewise
     * src/job.c: Likewise
     * src/plugin.c: Likewise
     * libwget/hashfile.c: Include local private.h
     * src/host.c: Remove unused find_free_job_context struct
     
     Found by: cppcheck

2017-10-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove testing for MHD in test suite
     
     * tests/libtest.c: Likewise
     * tests/libtest.h: Likewise
     
     Reported-by: Gisle Vanem

2017-10-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*.in: Update fuzzer corpora

2017-10-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*: Fix clang-5.0 to clang-6.0

2017-10-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Skip plugin tests if shared build is disabled
     
     The use of -shared in the LDFLAGS for the plugins does not work
     with './configure --disable-shared'. Instead of failing the build
     this patch SKIPs the plugin tests.

2017-10-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/main.c: Remove libtool prefix 'lt-' from directory names

2017-10-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove -static from AM_LDFLAGS in test directories
     
     * fuzz/Makefile.am: Remove -static from AM_LDFLAGS
     * tests/Makefile.am: Likewise
     * unit-tests/Makefile.am: Likewise
     
     'make check' didn't work on CygWin with these settings.
     Also, GnuTLS removed these a short time ago from the fuzz/
     directory since there were build issues.

2017-10-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Cleanup

2017-10-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Set values for enum actions

2017-10-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Add libiconv to dependencies

2017-10-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Extend plugin loading for CygWIN
     
     * src/dl.c: Add PATTERN for CygWin
     * tests/test-plugin.c: Define LOCAL_NAME for CygWin
     * unit-tests/test-dl.c: Define BUILD_NAME and LOCAL_NAME for CygWin

2017-10-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Make fuzzers survive on CygWin
     
     * fuzz/libwget_hpkp_fuzzer.c: Check for RTLD_NEXT
     * fuzz/libwget_hsts_fuzzer.c: Likewise
     * fuzz/libwget_netrc_fuzzer.c: Likewise
     * fuzz/libwget_ocsp_fuzzer.c: Likewise
     * fuzz/libwget_tlssess_fuzzer.c: Likewise
     
     On CygWin RTLD_NEXT doesn't exist, so we can't overwrite/preload fopen().

2017-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Flush stderr after each write

2017-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove MinGW CI runner
     
     Due to several instabilities / hangs we temporarily remove
     the MinGW CI runner. One problem is the buggy behavior of
     MinGW pthread_cond_broadcast() that doesn't wake up every thread.
     As a result Wget2 sometimes hangs and so does the test suite.

2017-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     .gitlab-ci.yml: grep posix version of libgcc_s_seh-1.dll

2017-09-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove --enable-static configure flag from MinGW build

2017-09-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Fix WINEPATH

2017-09-22 Avinash Sonawane <rootkea@gmail.com>

     * tests/libtest.c (_http_server_start): Remove explicit type conversion
2017-09-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/netrc.c (wget_netrc_db_load): Use wget_strncasecmp_ascii()

2017-09-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Add GNU extensions to .netrc parsing
     
     * include/wget/wget.h (wget_netrc_t): Add port and force
     * libwget/netrc.c (wget_netrc_db_load): Parse port and force

2017-09-22 DalmeGNU <dalmemail@gmail.com>

     Replace error_printf() with debug_printf() in order to solve #254
2017-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Test MinGW with -j1

2017-09-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Use type bool instead of char
     
     * include/wget/wget.h: Use type bool instead of char
     * libwget/bar.c: Likewise
     * libwget/base64.c: Likewise
     * libwget/cookie.c: Likewise
     * libwget/encoding.c: Likewise
     * libwget/hsts.c: Likewise
     * libwget/http.h: Likewise
     * libwget/http_highlevel.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/ip.c: Likewise
     * libwget/iri.c: Likewise
     * libwget/logger.c: Likewise
     * libwget/net.h: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/tls_session.c: Likewise
     * libwget/vector.c: Likewise
     * src/plugin.c: Likewise
     * src/wget_host.h: Likewise
     * src/wget_job.h: Likewise
     * src/wget_plugin.h: Likewise
     * tests/test-plugin-dummy.c: Likewise

2017-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix HPKP checking
     
     * libwget/ssl_gnutls.c (_verify_certificate_callback): PIN check the
       whole cert chain.
     
     We used only cert #0 for HPKP checking. This broke connectivity
     to github.com.
     Now checking the whole cert chain.
     
     Fixes #293

2017-09-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/thread.c: Do not call pthread functions with NULL thread value

2017-09-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix HTTPS functionality on _WIN32
     
     * libwget/ssl_gnutls.c: Add _win32_send() and _win32_recv(),
       set those functions as push and pull functions on _WIN32.
     
     Sets the GnuTLS pull and push functions to make gnulib sockets work.
     Tested only on MinGW64.

2017-09-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove obsolete server code from library and test suite
     
     * include/wget/wget.h: Remove wget_tcp_listen(), wget_tcp_accept(),
       wget_ssl_server_init(), wget_ssl_server_deinit(), wget_ssl_server_open(),
       wget_ssl_server_close().
     * libwget/net.c: Remove wget_tcp_listen(), wget_tcp_accept(),
       remove tcp->passive,
       amend wget_tcp_tls_start() and wget_tcp_tls_stop().
     * libwget/net.h: Remove tcp->passive.
     * libwget/ssl_gnutls.c: Remove server variables, wget_ssl_server_init(),
       wget_ssl_server_deinit(), wget_ssl_server_open(), wget_ssl_server_close().
     * tests/libtest.c: Remove FTP(S) code and obsolete test server code.
     * tests/libtest.h: Remove FTP flags, structures, functions.

2017-09-08 Avinash Sonawane <rootkea@gmail.com>

     * doc/wget2_manual.md: Add docs for --stats-* options

2017-09-17 Avinash Sonawane <rootkea@gmail.com>

     Fix --stats-* for chunked download
     
     * src/stats.c (stats_docs_add): For chunked download add chunk sizes to print total size
     * src/stats.c (stats_tree_docs_add): Point to doc with non-HEAD method in case of collision

2017-09-15 Avinash Sonawane <rootkea@gmail.com>

     Add tests for --stats-*=format:file
     
     * tests/test-stats.c: test --stats-site=tree:file
     * tests/test-stats.c: test --stats-all=csv:file

2017-09-15 Avinash Sonawane <rootkea@gmail.com>

     * src/stats.c: Refactor stats code

2017-09-14 Avinash Sonawane <rootkea@gmail.com>

     Add HTTP status to --stats-site=csv and --stats-site=json
     
     * src/wget_host.h: Add 'status' to struct DOC
     * src/stats.c (print_*_site_entry): Print status

2017-09-14 Avinash Sonawane <rootkea@gmail.com>

     Add new format 'tree' for --stats-site
     
     * include/wget/wget.h: Add WGET_STATS_FORMAT_TREE to wget_stats_format_t enum
     * src/options.c (parse_stats): Accept format 'tree' for --stats-site switch
     * src/stats.c (stats_print_tree): Print tree-ish o/p for format WGET_STATS_FORMAT_TREE

2017-09-14 Avinash Sonawane <rootkea@gmail.com>

     * src/stats.c (stats_print): For --stats-all=csv:foo, save stats in separate files

2017-09-12 Avinash Sonawane <rootkea@gmail.com>

     Add --stats-all switch as a shorthand to turn ON all the stats-* switches
     
     * src/wget_options.h (struct config): Add member 'stats_all'
     * src/options.c: Add new function parse_stats_all to parse --stats-all
     * tests/test-stats.c (stats_options[]): Add "--stats-all"
     * src/stats.c (stats_print): Append to file if --stats-all is provided

2017-09-11 Avinash Sonawane <rootkea@gmail.com>

     Fix --stats-site o/p for --spider
     
     * src/wget_host.h (struct HOST_DOCS): change datatype of 'docs' from wget_vector_t to wget_hashmap_t
     * src/stats.c (stats_docs_add): For --spider replace contents of 'doc' with 'resp' of second GET request

2017-09-10 Avinash Sonawane <rootkea@gmail.com>

     Consolidate --stats-site CSV and JSON o/p
     
     * src/stats.c: Consolidate print_csv() and print_json()
     * src/stats.c: Consolidate print_site_stats_csv() and print_site_stats_json()
     * src/wget_stats.h: Move stats_format_t enum to include/wget/wget.h

2017-09-09 Avinash Sonawane <rootkea@gmail.com>

     Fix --stats-* JSON o/p
     
     * src/wget_host.h: Add 'json_stats' context struct
     * src/stats.c: Pass 'ctx' stats_print_*_entry()s

2017-09-09 Avinash Sonawane <rootkea@gmail.com>

     * src/stats.c: Consolidate code from stats_print_*() functions in stats_print()

2017-09-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c (stats_set_option): Fix memory leak

2017-09-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --stats-site hashing
     
     * src/stats.c (_host_docs_hash): Disable integer sanitizer checks,
       avoid memory allocation.
       (stats_docs_add): Use calloc instead of malloc.

2017-09-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c: More consolidation

2017-09-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Detangle src/hosts.c and src/stats.c
     
     * src/host.c: Move stuff to src/stats.c
     * src/options.c (init): Save --stats-site status in config
     * src/stats.c: Insert stuff rom src/host.c
     * src/wget.c: Cleaup regarding the above changes
     * src/wget_host.h: Add structs and prototypes
     * src/wget_options.h: Add config.stats_site
     * src/wget_stats.h: Add prototypes
     * unit-tests/Makefile.am: Link stats.o where needed

2017-09-07 Avinash Sonawane <rootkea@gmail.com>

     Add JSON o/p for --stats-site
     
     * src/wget_host.h: Add print_site_stats_json() prototype declaration
     * src/stats.c (stats_print_json): Handle WGET_STATS_TYPE_SITE case
     * src/host.c: Add print_site_stats_json(), hosts_hashmap_json() and
     print_json() functions

2017-09-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Detangle stats from options.c
     
     * src/options.c (parse_stats): Call stats_set_option() to set values,
       (deinit): Call stats_exit()
     * src/stats.c: Move stats_opts here,
       new functions stats_set_option() and stats_exit()
     * src/wget_options.h: Remove stats_format_t, stats_opts_t, stats_opts
     * src/wget_stats.h: Add stats_format_t,
       add prototypes for stats_exit() and stats_set_option()

2017-09-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c: Cleanup stats output dispatching

2017-09-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c (stats_server_hpkp): Add G_GNUC_WGET_PURE attribute

2017-09-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c: Reduce number of memory allocations

2017-09-06 Avinash Sonawane <rootkea@gmail.com>

     Add CSV o/p for --stats-site
     
     I'll amend this later.

2017-09-06 Avinash Sonawane <rootkea@gmail.com>

     Collect site stats only if --stats-site switch is supplied
     
     * src/wget.c (wget_tcp_set_stats_site): Set 'stats-site' flag
     * src/wget.c (add_statistics): Collect Site stats only if `stats_site` is set
     * src/stats.c (stats_init): Call wget_tcp_set_stats_site if --stats-site is supplied
     * include/wget/wget.h: Add wget_tcp_set_stats_site() prototype declaration

2017-09-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Rearrange stats struct members to avoid padding
     
     * src/wget_stats.h: Likewise
     * libwget/ssl_gnutls.c: Likewise

2017-09-05 Avinash Sonawane <rootkea@gmail.com>

     Add docs
     
     * libwget/http.c: Document wget_tcp_set_stats_server() and wget_tcp_get_stats_server()
     * libwget/net.c: Document wget_tcp_set_stats_dns() and wget_tcp_get_stats_dns()
     * libwget/ssl_gnutls.c: Document wget_tcp_set_stats_tls() and wget_tcp_get_stats_tls()
     * libwget/ssl_gnutls.c: Document wget_tcp_set_stats_ocsp() and wget_tcp_get_stats_ocsp()

2017-09-05 Avinash Sonawane <rootkea@gmail.com>

     Add robots.txt as child of first doc having same host as robots.txt
     
     * src/host.c (tree_docs_add): Likewise
     * src/host.c (print_treeish): Backtrack once all children have been printed
     * src/wget.c: Remove commented code
     * scr/wget_job.h: Remove not needed 'cloned_robot_iri' and 'previous_robot_job'
     * src/wget_host.h: Remove not needed 'bool robot_iri'

2017-09-04 Avinash Sonawane <rootkea@gmail.com>

     Add robot_iri to blacklist and do not free it explicitly
     
     * src/wget.c (add_url_to_queue): Likewise
     * src/wget.c (add_url): Likewise
     * src/host.c (host_remove_job): Don't free robot_iri explicitly

2017-09-04 Avinash Sonawane <rootkea@gmail.com>

     * tests/test-stats.c: Add tests for -r with --stats-* options

2017-09-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add test 'test-stats' for new stats options
     
     * tests/Makefile.am: Add test-stats.c
     * tests/test-stats.c: New file

2017-09-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (downloader_thread): Add missing brackets around else case

2017-09-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/stats.c: Reduce # of allocations in stats_print_* functions

2017-09-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/host.c (print_encoding): Add 'const' attribute to function

2017-09-03 Avinash Sonawane <rootkea@gmail.com>

     Do not print sizes in human-readable form
     
     * src/host.c (host_docs_hashmap): Likewise
     * libwget/http.c (_free_host_entry): Fix parenhesis
     * src/options.c: Amend help text to reflect the progress

2017-09-02 Avinash Sonawane <rootkea@gmail.com>

     * src/host.c (print_treeish): Use context variable instead of local static variable

2017-09-01 Avinash Sonawane <rootkea@gmail.com>

     Assign enum values explicitly
     
     * include/wget/wget.h: Likewise
     * src/stats.c (stats_print_human): Remove commented code

2017-09-01 Avinash Sonawane <rootkea@gmail.com>

     * src/stats.c (stats_print_csv): Use buffer to print CSV header

2017-09-01 Avinash Sonawane <rootkea@gmail.com>

     Refactor --stats-tls code
     
     * src/wget_stats.h: Change datatype of 'tls_con' and 'resumed' from char to bool
     * libwget/ssl_gnutls.c (stats_data_t struct): Likewise
     * src/stats.c (stats_print_*): Use WGET_HTTP_PROTOCOL_* instead of hard-coded values

2017-09-01 Avinash Sonawane <rootkea@gmail.com>

     Add port to DNS stats
     
     * include/wget/wget.h: Add WGET_STAST_DNS_PORT to wget_stats_dns_t enum
     * libwget/netc. (wget_tcp_resolve): store port in _stats_data_t struct
     * src/wget_stats.h: Add 'port' to dns_stats_t struct
     * src/stats.c (stats_callback): Collect port into dns_stats_t struct
     * src/stats.c (stats_print_*): Print port

2017-08-29 Avinash Sonawane <rootkea@gmail.com>

     * libwget/http.c: Suppress clang warning about integer overflow

2017-08-23 Avinash Sonawane <rootkea@gmail.com>

     Add parent child relationships and print them in tree-ish form
     
     * include/wget/wget.h: Add prototype for wget_vector_deinit()
     * libwget/vector.c: Add wget_vector_deinit() to free 'v->entry'
     (can be used for vector maintaining references)
     * src/host.c: Refactor tree_docs_add()
     * src/host.c: Add hosts_hashmap_tree() and print_treeish() to print tree-ish o/p
     * wget/host.h: Add 'root' and 'robot' to HOST struct
     * src/wget_job.h (JOB struct): Add 'previous_robot_job' and 'clonned_robot_iri'

2017-08-20 Avinash Sonawane <rootkea@gmail.com>

     Add data structures and functions for tree-ish o/p
     
     * src/wget_host.h: Add tree_docs hashmap to HOST struct
     * src/wget_host.h: Add TREE_DOCS struct
     * src/host.c: Add _tree_docs_hash() as hash function for 'tree_docs' hashmap
     * src/host.c: Add _tree_docs_compare() as compare function for 'tree_docs' hashmap
     * src/host.c: Add _free_tree_docs_entry() as destructor for 'tree_docs' hashmap
     * src/host.c: (tree_docs_add): Add entry to 'tree_docs' hashmap
     * src/host.c: (tree_docs_get): Get entry from 'tree_docs' hashmap

2017-08-17 Avinash Sonawane <rootkea@gmail.com>

     Add doc_size and content-encoding to --stats-site
     
     * src/wget_host.h (DOC struct): Add size_downloaded, size_decompressed and encoding
     * src/wget.c (_prepare_file): Simplify code
     * src/options.c: Amend --stats-* help text
     * src/host.c (host_docs_add): Collect size_downloded, size_decompressed and encoding

2017-08-16 Avinash Sonawane <rootkea@gmail.com>

     * src/host.c: Suppress clang warning about integer overflow

2017-07-31 Avinash Sonawane <rootkea@gmail.com>

     Add --stats-site switch
     
     * include/wget/wget.h: Add WGET_STATS_TYPE_SITE to wget_stats_type_t enum
     * src/options.h: Increase stats_opts[] size to 5
     * src/options.c: Add --stats-site
     * src/wget_host.h: Add 'robot_iri' to DOC struct
     * src/host.c: Add new functions print_site_stats(), hosts_hashmap() and host_docs_hashmap()
     * src/stats.c (stats_print_human): Print site stats
     * src/wget.c: Call host_add() as soon as scheme changes due to HSTS
     * src/wget.c: Clone robot_iri
     * src/wget_stats.h: Fix indentation

2017-07-31 Avinash Sonawane <rootkea@gmail.com>

     Assign enum values explicitly
     
     * src/wget_options.h (stats_format_t enum): Likewise
     * src/options.c (help_section_t enum): Likewise
     * libwget/css_tokenizer.h: Likewise
     * libwget/bar.c (_bar_slot_status_t enum): likewise
     * src/host.c (host_docs_get): Initialize 'host_docsp'
     * src/wget.c (add_statistics): Add call to host_docs_add()

2017-07-30 Avinash Sonawane <rootkea@gmail.com>

     Add WGET_STATS_HPKP_ERROR to handle HPKP error
     
     * include/wget/wget.h: Add WGET_STATS_HPKP_ERROR to wget_hpkp_stats_t enum
     * src/wget_stats.h (server_stats_t struct): Change datatype of 'hpkp' from char to wget_hpkp_stats_t
     * libwget/ssl_gnutls.c (_cert_verify_hpkp): Store WGET_STATS_HPKP_ERROR for error
     * src/stats.c (stats_server_hpkp): Return appropriate message depending on 'hpkp' value

2017-07-28 Avinash Sonawane <rootkea@gmail.com>

     Collect --stats-server for unique servers(IPs) only
     
     * src/wget_stats.h: Add member 'scheme' to server_stats_t struct
     * src/stats.c (stats_callback): Collect 'scheme' in server_stats_t struct
     * src/stats.c (stats_print_*): Print 'scheme'
     * include/wget/wget.h: Add WGET_STATS_SERVER_SCHEME to wget_server_stats_t enum
     * libwget/hashmap.c (wget_hashmap_contains): Add check for 'h' being non-NULL
     * libwget/http.c: Add _host_hash() as hash function for 'hosts' hashmap
     * libwget/http.c: Add _host_compare() as compare function for 'hosts' hashmap
     * libwget/http.c: Add _free_host_entry() destructor for 'hosts' hashmap
     * libwget/http.c (host_add): Add host to 'hosts' hashmap

2017-07-28 Avinash Sonawane <rootkea@gmail.com>

     * include/wget/wget.h: Set explicit enum values

2017-07-28 Avinash Sonawane <rootkea@gmail.com>

     Add IP to --stats-server
     
     * src/wget_stats.h: Add 'ip' to 'server_stats_t' struct
     * src/stats.c (stats_callback): Collect IP
     * src/stats.c (stats_print_*): Print IP
     * src/stats.c (free_server_stats): Free 'ip'
     * libwget/net.h (wget_tcp_st struct): Add 'ip'
     * libwget/net.c (wget_tcp_connect): Store IP in tcp->ip
     * libwget/http.c: Collect IP from conn->tcp->ip

2017-07-27 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c: Amend the help text for --stats-* options

2017-07-26 Avinash Sonawane <rootkea@gmail.com>

     Collect site-based stats
     
     * src/wget_host.h: Add  HOST_DOCS and DOC structs
     * src/host.c (_host_docs_compare): Add compare function for host_docs hashmap
     * src/host.c (_host_docs_hash): Add hash function for host_docs hashmap
     * src/host.c (_free_host_docs_entry): Add destructor for host_docs hashmap
     * src/host.c (host_docs_add): Add function to add stats in host_docs hashmap
     * src/host.c (host_docs_get): Add function to retrieve doc from host_docs hashmap
     * src/wget.c (process_response_header): Add call to host_docs_add()

2017-07-21 Avinash Sonawane <rootkea@gmail.com>

     Assign default value if wget_tcp_get_stats_* return NULL
     
     * src/stats.c (stats_callback): Likewise
     * src/wget_stats.h: Change datatype of cert_chain_size, nvalid,
     ignored, nrevoked from size_t to int
     * src/wget_stats.h: Change datatype of hpkp from wget_hpkp_stats_t
     to char
     * src/options.c (parse_stats): Exit if unknown stats format
     * libwget/net.c (wget_tcp_resolve): Initialize 'before_millisecs'
     * libwget/ssl_gnutls.c: Add function definitions for wget_tcp_*_stats_ocsp()

2017-07-20 Avinash Sonawane <rootkea@gmail.com>

     Add support for --stats-*[=[format:]filename]
     
     * src/options.c: Add parse_stats() function to parse --stats-*[=[format:]filename]
     * src/wget_options.h: Add stats_format_t enum and stats_opts_t struct
     * src/stats.c: Add stats_print_human() for "human" formatted output
     
     3 case-insensitive formats: json, csv and human (default)
     'stdout' is the default file. '-' stands for 'stdout'.

2017-07-12 Avinash Sonawane <rootkea@gmail.com>

     * src/stats.c: Fix --stats-server and --stats-ocsp JSON output

2017-07-12 Avinash Sonawane <rootkea@gmail.com>

     Add flag tls_stats to separate --stats-tls from --stats-ocsp
     
     * libwget/ssl_gnutls.c: Likewise
     * src/http.c (wget_http_open): Add check to see whether stats_callback is non-NULL

2017-07-12 Avinash Sonawane <rootkea@gmail.com>

     * src/stats.c (free_server_stats): free server_stats_t members

2017-07-11 Avinash Sonawane <rootkea@gmail.com>

     Print Server stats and OCSP stats in CSV and JSON format
     
     * src/stats.c: Likewise
     * src/wget_stats.h: Remove stats_print*() function declarations

2017-07-11 Avinash Sonawane <rootkea@gmail.com>

     Print --stats-server, if asked, for HPKP_NOMATCH
     
     * libwget/http.c (wget_http_open): Call stats_callback() even for WGET_E_CERTIFICATE, if asked
     * src/wget_stats.h (server_stats_t struct): Fix indentation
     * src/stats.c (stats_print): Fix info_printfs() for server stats

2017-07-10 Avinash Sonawane <rootkea@gmail.com>

     Add HPKP_NEW to --stats-server
     
     * src/wget_stats.h: Add hpkp_new to server_stats_t struct
     * src/stats.c (stats_callback): Collect hpkp_new
     * src/stats.c (stats_print): Print hpkp_new
     * libwget/http.c (wget_http_get_response_cb): Collect hpkp_new stats
     * include/wget/wget.h: Add WGET_STATS_SERVER_HPKP_NEW to wget_server_stats_t enum

2017-07-10 Avinash Sonawane <rootkea@gmail.com>

     Add IGNORED to --stats-ocsp
     
     * libwget/ssl_gnutls.c (_verify_certificate_callback): Add nignored to stats
     * src/stats.c (stats_callback): Collect nignored
     * src/stast.c (stats_print): Print nignored

2017-07-08 Avinash Sonawane <rootkea@gmail.com>

     Add HPKP stats and hostname to --stats-server
     
     * libwget/ssl_gnutls.c: Collect HPKP stats in tcp struct via session_context
     * libwget/http.c: Collect hostname and HPKP stats in _stats_data_t struct
     * src/stats.c: Collect hostname in stats_callback() and print it

2017-07-08 Avinash Sonawane <rootkea@gmail.com>

     Add --stats-ocsp option
     
     * src/wget_stats.h: Add ocsp_stats_t struct
     * src/stats.c: Add ocsp_stats_v vector to store OCSP stats
     * src/stats.c: Add OCSP stats code in stats_init(), stats_callback() and stats_print()
     * src/wget_options.h: Add stats_ocsp to struct config
     * src/options.c: Add --stats-ocsp
     * include/wget/wget.h: Add wget_ocsp_stats_t enum
     * include/wget/wget.h: Add WGET_STATS_TYPE_OCSP to wget_stats_type_t enum
     * libwget/ssl_gnutls.c: Add wget_tcp_set_stats_ocsp() and wget_tcp_get_stats_ocsp()

2017-07-07 Avinash Sonawane <rootkea@gmail.com>

     Print stats in CSV and JSON format
     
     * src/wget_stats.h: Add prototypes for stats_printcsv() and stats_printjson()
     * src/stats.c: Add stats_printcsv() and stats_printjson() functions
     * libwget/ssl_gnutls.c: Change datatype of cert_chain_size from unsigned int to size_t

2017-07-06 Avinash Sonawane <rootkea@gmail.com>

     Add --stats-server option
     
     * src/wget_stats.h: Add server_stats_t struct
     * src/stats.c: Add server_stats_v vector to store server stats
     * src/stats.c: Add server stats code in stats_init(), stats_callback and stats_print()
     * src/stats.c: Add free_server_stats() destructor
     * src/wget_options.h: Add stats_server to struct config
     * src/options.c: Add --stats-server
     * include/wget/wget.h: Add wget_server_stats_t and wget_hpkp_stats_t enums
     * include/wget/wget.h: Add WGET_STATS_TYPE_SERVER to wget_stats_type_t enum
     * libwget/http.c: Add wget_tcp_set_stats_server() and wget_tcp_get_stats_server()
     * libwget/http_parse.c: Check for "Content-Security-Policy" header
     * libwget/ssl_gnutls.c: Collect HPKP stats in wget_tcp_t struct
     * libwget/net.h: Add hpkp to wget_tcp_st struct

2017-06-16 Avinash Sonawane <rootkea@gmail.com>

     Add --stats-dns and --stats-tls options
     
     * src/wget_stats.h: Add dns_stats_t and tls_stats_t structs
     * src/stats.c: Add stats_init(), stats_callback() and stats_print() functions
     * src/stats.c: Add dns_stats_v and tls_stats_v vectors
     * src/stats.c: Add free_tls_stats() and free_tls_stats() functions
     * src/wget_options.h: Add stats_dns and stats_tls in config struct
     * src/options.c: Add --stats-dns and --stats-tls
     * src/wget.c: Add call to stats_init() and stats_print() functions
     * src/Makefile.am: Add stats.c and wget_stats.h files
     * include/wget/wget.h: Add prototypes for wget_tcp_set_stats_dns() and wget_tcp_set_stats_tls()
     * include/wget/wget.h: Add prototypes for wget_tcp_get_stats_dns() and wget_tcp_get_stats_tls()
     * include/wget/wget.h: Add wget_stats_type_t, wget_dns_stats_t and wget_tls_stats_t enums
     * libwget/ssl_gnutls.c: Add wget_tcp_set_stats_tls() and wget_tcp_get_stats_tls()
     * libwget/net.h: Add TLS stats in wget_tcp_st struct
     * libwget/net.c: Add wget_tcp_set_stats_dns() and wget_tcp_get_stats_dns()

2017-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_answer_to_connection): Fix memleaks found by coverity

2017-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Fix warnings on _WIN32

2017-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/log.c: Fix unused param warning on _WIN32

2017-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_print_info): Remove call to deprecated GnuTLS function

2017-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change __WIN32 to _WIN32
     
     * tests/test-idn-cmd.c: Likewise
     * tests/test-idn-robots.c: Likewise

2017-09-18 Darshit Shah <darnir@gnu.org>

     * tests/libtest.h: Add WGET_TEST_FEATURE_FTP to satisfy clang

2017-09-18 Darshit Shah <darnir@gnu.org>

     Revert "* libwget/net.c: Remove port variable from DNS cache"
     
     This reverts commit b9006672dcbbffb3995a78918d04bfe009f29e2d.
     We cannot remove the port variable from the DNS cache. The struct
     addrinfo structure contains the port information and hence causes issues
     during HTTP->HTTPS redirects

2017-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Cleanups

2017-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix configure ans Makefile.am for MHD
     
     * Makefile.am: Add tests to SUBDIRS only with MHD
     * configure.ac: Fix MHD detection

2017-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix two IDN tests for MinGW/Windows
     
     * tests/test-idn-cmd.c: Skip UTF-8 on command line
     * tests/test-idn-robots.c: Likewise
     
     MinGW mangles UTF-8 characters on the command line, so we skip
     those tests.

2017-09-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Add Wget2 dependencies to mingw script

2017-09-16 Darshit Shah <darnir@gnu.org>

     * libwget/net.c: Remove port variable from DNS cache

2017-09-17 Darshit Shah <darnir@gnu.org>

     Use Feature Flags to SKIP unsupported tests
     
     * tests/libtest.{c,h}: Add support for feature flags during test
     startup. Check if Wget2 is compiled with the feature and conditionally
     SKIP the tests
     * tests/test-*.c: Pass the right feature flags for each test. MHD for
     HTTP, FTP for FTP, IDN and PLUGIN when applicable

2017-09-17 Darshit Shah <darnir@gnu.org>

     * configure.ac: Support compiling without MHD support

2017-09-18 Darshit Shah <darnir@gnu.org>

     * .gitlab-ci.yml: The Fedora runner should use GCC

2017-09-18 Darshit Shah <darnir@gnu.org>

     * .gitlab-ci.yml: Use new MingW Docker Image

2017-09-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Adjust WINEPATH, remove CXX

2017-09-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c (_add_file_hash): Skip spaces at begin of mirror URL

2017-09-16 Darshit Shah <darnir@gnu.org>

     Fix bug with combination of host-directories and cut-dirs
     
     * libwget/iri.c(wget_iri_get_path): Change API so that a path separator
     is added _only_ if one does not already exist at the end of the buffer.
     This should be a non-breaking change.
     * src/wget.c(get_local_filename): Append a "/" at the end of the
     hostname, always.

2017-09-16 Darshit Shah <darnir@gnu.org>

     * tests/test-cut-dir: Add two new tests with host directories

2017-09-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer_printf.c (wget_buffer_vprintf_append): Reset precision after use

2017-09-08 Didik Setiawan <ds@didiksetiawan.com>

     Fix socket handle issue on MinGW64 build
     
     Helped-by: Akash Rawal
     Helped-by: Tim Rühsen

2017-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_http_server_start): Do not use real randomness

2017-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Adjust build flags

2017-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Add /usr/x86_64-w64-mingw32/lib/pkgconfig to PKG_CONFIG_PATH

2017-08-17 Didik Setiawan <ds@didiksetiawan.com>

     Add digest authentication test
     
     * tests/Makefile.am: Add test 'test-auth-digest'
     * tests/libtest.c: Fix HTTP server to handle digest
       authentication
     * tests/libtest.h: Add opaque for digest authentication
     * tests/test-auth-digest.c: Add new test to prove digest
       authentication functionality

2017-09-11 Darshit Shah <darnir@gnu.org>

     * configure.ac: MHD is used only in tests. Don't link to Wget2

2017-09-12 Akash Rawal <argmlac@gmail.com>

     * .gitlab-ci.yml (MinGW64): Remove hardcoded path to wget2 clone

2017-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Include building libmicrohttpd

2017-09-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove MHD clone & bootstrap (now in docker build)

2017-09-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove MHD install, moved into docker build

2017-09-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use gnulib-tool.py to speed up ./bootstrap
     
     * README.md: Add python to optional dependencies
     * bootstrap: Use gnulib-tool.py if possible
     * gnulib: Update
     
     gnulib-tool.py is much faster than the old gnulib-tool.

2017-09-10 Avinash Sonawane <rootkea@gmail.com>

     * src/wget.c: If not -r then don't send second GET request for --spider

2017-09-10 Didik Setiawan <ds@didiksetiawan.com>

     Fix Clang warnings on MHD code
     
     Reported-by: Avinash Sonawane

2017-09-05 Darshit Shah <darnir@gnu.org>

     * .gitlab-ci.yaml: Set default CFLAGS to retain the human readable symbols

2017-09-05 Darshit Shah <darnir@gnu.org>

     Prevent heap-use-after-free of default_challenges
     
     * src/wget_job.h: Add new field to JOB struct, challenges_alloc. This
     field indicates whether the JOB object owns the challenges struct.
     * src/job.c(job_free): Free the challenges struct of the job only if it
     is owned. Else, let the owner handle freeing it.
     * src/wget.c: Mark the challenges vector as owned when it is taken from
     the response. If it is the default vector, it is not owned.

2017-09-03 Didik Setiawan <ds@didiksetiawan.com>

     Remove redundant debugging option
     
     * tests/test--post-file.c: Remove redundant debugging option
     * tests/test-auth-basic.c: Likewise
     * tests/test-metalink.c: Likewise
     * tests/test-redirection.c: Likewise
     * tests/test-wget-1.c: Likewise
     
     Debugging option already provided in tests/libtest.c, so we don't need
     to adding it in each test file

2017-09-03 Didik Setiawan <ds@didiksetiawan.com>

     Fix expected error code regarding wrong authentication test
     
     * tests/test-auth-basic.c: Fix expected error code regarding wrong
       authentication test which use basic scheme

2017-09-03 Didik Setiawan <ds@didiksetiawan.com>

     * test/libtest.c: Remove unnecessary old http server code

2017-09-03 Didik Setiawan <ds@didiksetiawan.com>

     * test/libtest.c: Ensure dinfo variable to be initialized before usage

2017-08-23 Didik Setiawan <ds@didiksetiawan.com>

     * tests/libtest.c: Add server info into HTTP header

2017-08-04 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server to handle chunked transfer encoding
     
     * tests/libtest.c: Fix HTTP server to handle chunked
       transfer encoding
     * tests/test-bad-chunk.c: Modify test to conform with new
       server
     * tests/test-chunked.c: Likewise

2017-07-19 Didik Setiawan <ds@didiksetiawan.com>

     * tests/libtest.c: Fix -Wunused-param caused by MHD API

2017-07-14 Didik Setiawan <ds@didiksetiawan.com>

     * tests/libtest.c: Add HTTPS server handler

2017-07-13 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server to handle basic authentication
     
     * tests/libtest.c: Add basic authentication test handler
     * tests/test-auth-basic.c: Add test for wrong credentials

2017-07-11 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server response to handle 302 redirection
     
     * tests/libtest.c: Fix HTTP server response to handle 302
       status code

2017-07-10 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server response to handle 404 Not Found
     
     * tests/libtest.c: Fix HTTP server response to handle 404
       Not Found status code with non-empty body

2017-07-09 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server response to handle Byte serving
     
     * tests/libtest.c: Fix HTTP server response to handle Byte
       serving

2017-07-05 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server response to handle If-Modified-Since
     
     * tests/libtest.c: Fix HTTP server response to handle
       If-Modified-Since

2017-06-25 Didik Setiawan <ds@didiksetiawan.com>

     Fix requested URL query string which contains space
     
     * tests/libtest.c: Fix requested URL query string which
       contains space

2017-06-23 Didik Setiawan <ds@didiksetiawan.com>

     Fix empty requested URL regarding IDN hostname
     
     * tests/libtest.c: Fix empty requested URL by redirect
       default page to index.html regarding IDN hostname

2017-06-22 Didik Setiawan <ds@didiksetiawan.com>

     Fix empty requested URL
     
     * tests/libtest.c: Fix empty requested URL by redirect
       default page to index.html

2017-06-21 Didik Setiawan <ds@didiksetiawan.com>

     Fix remote URL to handle IRI object
     
     * tests/libtest.c: Fix remote URL which contains IRI object
       using Libmicrohttpd function (MHD_http_unescape)

2017-06-18 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server response to handle directory creation
     
     * tests/libtest.c: Fix HTTP server response regarding
       directory creation on recursive download

2017-06-18 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server response to include available header
     
     * tests/libtest.c: Fix HTTP server response to include
       available header. This solved many cases which involving
       proper HTTP header response such as for Chunked
       "Transfer-Encoding" and "Redirection"

2017-06-17 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server to get available port
     
     * tests/libtest.c: Automatically get available port for HTTP
       server using Libmicrohttpd function

2017-06-16 Didik Setiawan <ds@didiksetiawan.com>

     Fix requested URL which contains query string
     
     * tests/libtest.c: Fix requested URL which contains
       query string

2017-06-14 Didik Setiawan <ds@didiksetiawan.com>

     Fix HTTP server response to handle 404 Not Found
     
     * tests/libtest.c: Fix HTTP server response to handle 404
       Not Found status code with empty body

2017-06-13 Didik Setiawan <ds@didiksetiawan.com>

     * tests/libtest.c: Create Libmicrohttpd function wrapper

2017-06-05 Didik Setiawan <ds@didiksetiawan.com>

     Initial system preparation for Libmicrohttpd integration
     
     * .gitlab-ci.yml: Add Libmicrohttpd package for CI testing
       using Debian/gcc, Fedora/clang and MinGW64
     * .travis.sh: Add Libmicrohttpd package for OSX/clang
     * .travis_setup.sh: Add Libmicrohttpd package for Debian/gcc
       and clang
     * README.md: Add info which mentioning Libmicrohttpd as
       optional requirement
     * configure.ac: Check for Libmicrohttpd availability

2017-09-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2_manual.md: Fix several small things

2017-09-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove redundant pointer syntax from function pointer calls
     
     * libwget/hsts.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/plugin.c: Likewise
     * src/plugin.c: Likewise

2017-09-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/plugin.c (plugin_db_finalize): Check if initialized

2017-09-05 Tim Rühsen <tim.ruehsen@gmx.de>

     README.md: document clang not working with 'make check-coverage'

2017-09-04 Akash Rawal <argmlac@gmail.com>

     Fix clang warnings
     
     * include/wget/wget.h: Add new function wget_ssl_set_config_object()
     * libwget/ssl_gnutls.c: Likewise
     * src/options.c: Use wget_ssl_set_config_object()
     * libwget/ssl_gnutls.c (wget_ssl_write_timeout): Remove unreachable code
                            not required by syntax
     * src/wget.c (downloader_thread): Likewise
     * unit-tests/test.c (test_hpkp): Remove unnecessary variable with same
                                      name

2017-09-03 Akash Rawal <argmlac@gmail.com>

     Add plugin APIs for custom HSTS, HPKP and OCSP databases
     
      * include/wget/wget.h: Add plugin API declarations
      * libwget/hsts.c: Make wget_hsts_db_t extensible
      * libwget/hpkp.c: Make wget_hpkp_db_t extensible
      * libwget/ocsp.c: Make wget_ocsp_db_t extensible
      * libwget/plugin.c: Add virtual functions for plugin API
      * src/plugin.c: Add plugin API implementation
      * src/wget_plugin.h: Likewise
      * src/option.c: Add code to call the implementation
      * src/wget.c: Likewise
      * tests/test-plugin-dummy: Add plugin with dummy databases for testing
      * tests/Makefile.am: Add target libplugindb.la
      * tests/test-plugin.c: Add tests for custom databases
      * unit-tests/test.c: Add tests for new HPKP functions
      * libwget/ssl_gnutls.c: Adapt to API changes
      * examples/http_multi_get.c: Likewise
      * fuzz/libwget_hpkp_fuzzer.c: Likewise
      * fuzz/libwget_hsts_fuzzer.c: Likewise
      * fuzz/libwget_ocsp_fuzzer.c: Likewise
     
     This feature implemented as per the specifications at
     https://gitlab.com/akash_rawal/wget2/wikis/Stage-4

2017-09-03 Akash Rawal <argmlac@gmail.com>

     Add plugin APIs for intercepting downloaded files.
     
     Merged from branch tmp-akash_rawal-stage3 into master
     
      * include/wget/wget.h: Add function declarations
      * libwget/plugin.c: Add virtual functions
      * configure.ac: Check for fmemopen()
      * src/plugin.c: Add implementation
      * src/wget_plugin.h: Likewise
      * src/wget.c: Add code that calls the implementation
      * tests/test-plugin-dummy.c (pluginapi): Add option 'parse-rot13',
        'only-rot13' and 'test-pp'
      * tests/test-plugin.c: Add tests
      * tests/libtest.c: Load files into dynamic memory instead of stack,
        enables testing with large files.
     
     Plugin APIs for intercepting downloaded files have been implemented
     as per specifications at https://gitlab.com/akash_rawal/wget2/wikis/Stage-3

2017-09-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Include sys/uio.h for writev()
     
     * configure.ac: Check for sys/uio.h
     * libwget/ssl_gnutls.c: Include sys/uio.h for writev() if available
     
     Fixes #260
     Reported-by: Gabriele Balducci
      

2017-09-01 Darshit Shah <darnir@gnu.org>

     Call strerror() to get Error message with some errors

2017-09-01 Darshit Shah <darnir@gnu.org>

     * libwget/http.c(wget_http_send_request): Fix printf specifier data type

2017-08-31 Darshit Shah <darnir@gnu.org>

     Remove magic numbers when setting exit codes
     
     Magic numbers are bad, they make the code very difficult to read since
     one must guess their intention. Which is why this commit eliminates all
     the magic numbers for setting the exit status and replaces them with a
     structured enum. This has the added benefit of having these values as
     symbols in the final symbol table.
     
     * src/wget.c: Replace all calls to set_exit_status() to use the
     exit_status_t enum values
     * src/wget_main.h: Define the exit_status_t enum and associated exit
     error code values

2017-08-31 Darshit Shah <darnir@gnu.org>

     * src/wget.c(process_response_header): Remove dead (commented) code

2017-08-31 Darshit Shah <darnir@gnu.org>

     * src/wget.c(process_response_header): Clean up auth failure pathways

2017-08-31 Avinash Sonawane <rootkea@gmail.com>

     Do not print request body if it's an OCSP request
     
     * include/wget/wget.h: Add 'debug_skip_body' flag to 'wget_http_request_t'
     * libwget/ssl_gnutls.c: set 'debug_skip_body' flag if it's an OCSP request
     * libwget/http.c: Do not print 'req->body' if 'debug_skip_body' is set

2017-08-31 Avinash Sonawane <rootkea@gmail.com>

     * src/wget.c: Fix regression of having extra '/' in filename

2017-08-23 Darshit Shah <darnir@gnu.org>

     New benchmark script

2017-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Improve fuzzer helper scripts
     
     * fuzz/get_ossfuzz_corpora: Improve description text
     * fuzz/view-coverage.sh: Allow 1+ arguments

2017-08-23 Darshit Shah <darnir@gnu.org>

     Add counter for authorization failures
     
     Fixes #259

2017-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Use clang for sanitizer CI
     
     * .gitlab-ci.yml: Use clang for sanitizing, remove memory sanitizer
     * configure.ac: Do not combine leak and memory sanitizer for clang
     
     Memory sanitizer only makes sense when all dependencies are built with it.
     Else we will see many false positives.

2017-08-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib

2017-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_do_handshake): Entangle code

2017-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/README.md: Add sanitizer options

2017-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib

2017-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix 'deflate' content-type decompression
     
     * ../libwget/decompressor.c (deflate_init): Fix deflate initialization
     
     Fixes: #251
     Reported-by: Avinash Sonawane

2017-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix possible buffer read underflow
     
     * libwget/cookie.c (_path_match): Fix underflow
     
     Fixes: #253
     Reported-by: Avinash Sonawane

2017-08-15 Avinash Sonawane <rootkea@gmail.com>

     * Suppress clang warning about integer overflow
     
     * src/host.c: Likewise
     * src/blacklist.c: Likewise
     * src/wget.c: Likewise

2017-08-15 Avinash Sonawane <rootkea@gmail.com>

     * libwget/utils.c: Fix unsigned integer overflow
     
     * wget_match_tail: Likewise
     * wget_match_tail_nocase: Likewise
     
     Found by fuzzing

2017-08-13 Didik Setiawan <ds@didiksetiawan.com>

     Fix DATADIR clash when build using MinGW64
     
     * tests/Makefile.am: Change DATADIR to WGET_DATADIR
     * unit-tests/Makefile.am: Likewise
     * unit-tests/test.c: Likewise
     
     When build Wget2 using MinGW64 and embedding other library
     (Libmicrohttpd), DATADIR macro from Wget2 clash with MinGW64
     header.

2017-08-09 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c(_bar_set_progress): Fix progress bar printf command to fit total size

2017-08-08 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c: Deduplicate code in function wget_bar_set_slots

2017-08-07 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c: SPlit duplicated code into function

2017-08-07 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c: Replace redundant variable bar->max_slots with bar->nslots

2017-08-07 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c(wget_bar_init): Fix progress bar memory allocation value

2017-08-01 Darshit Shah <darnir@gnu.org>

     Add documentation for wget_bar_set_slots

2017-08-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Hide internal structures/defines from doxygen
     
     * include/wget/wget.h: Use _ as prefix for internals
     * libwget/atom_url.c: Likewise
     * libwget/cookie.c: Likewise
     * libwget/iri.c: Likewise
     * libwget/net.c: Likewise
     * libwget/rss_url.c: Likewise
     * libwget/sitemap_url.c: Likewise
     * src/wget_options.h: Likewise

2017-08-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for xml parsing functions.
     
     * libwget/xml.c: Rename XML_CONTEXT to _xml_context,
       document wget_* functions
     * docs/Makefile.am: Sort order of man page files,
       add building of libwget-xml.3

2017-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Improve ASAN and UBSAN sanitizer flags

2017-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*.in/*: Update fuzzer corpora

2017-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c: Fix param name in docs of wget_strnglob()

2017-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Document 'protocol' for wget_tcp_set_protocol()

2017-08-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer_printf.c: Do not document internal defines

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Add -Wno-pedantic to suppress dlsym() warnings

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_tlssess_fuzzer
     
     * fuzz/Makefile.am: Add libwget_tlssess_fuzzer
     * fuzz/libwget_tlssess_fuzzer.c: New file
     * fuzz/libwget_tlssess_fuzzer.in/*: Add fuzz corpora
     * libwget/tls_session.c: Prepare code for fuzzing

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_ocsp_fuzzer
     
     * fuzz/Makefile.am: Add libwget_ocsp_fuzzer
     * fuzz/libwget_ocsp_fuzzer.c: New file
     * fuzz/libwget_ocsp_fuzzer.in/*: Add fuzz corpora

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ocsp.c: Suppress clang warning about integer overflow

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_netrc_fuzzer
     
     * fuzz/Makefile.am: Add libwget_netrc_fuzzer
     * fuzz/libwget_netrc_fuzzer.c: New file
     * fuzz/libwget_netrc_fuzzer.dict: Add dictionary
     * fuzz/libwget_netrc_fuzzer.in/*: Add fuzz corpora

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/netrc.c: Suppress clang warning about integer overflow in hash function

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_response_header): Fix 1-byte-read-buffer-overflow
     
     Fix oss-fuzz issue #2823.

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_content_disposition): Fix NULL ptr dereference
     
     Fix oss-fuzz issue #2822.

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_hsts_fuzzer
     
     * fuzz/Makefile.am: Add libwget_hsts_fuzzer
     * fuzz/libwget_hsts_fuzzer.c: New file
     * fuzz/libwget_hsts_fuzzer.in/*: Add fuzz corpora

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix HSTS code regarding time_t overflow
     
     * libwget/hsts.c: Use int64_t instead of time_t,
       (wget_hsts_new): Fix possible integer overflow,
       (_hsts_db_load): Likewise.
     
     Same type of changes that we applied to HPKP code,
     to fix the integer over/underflows found by fuzzing.

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/strlcpy.c: Add documentation

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/stringmap.c: Suppress clang warning about integer overflow
     
     The hash functions rely on integer overflow.
     Found by fuzzing.

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*.in/*: Update fuzzer corpora from oss-fuzz

2017-08-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c (wget_hpkp_set_maxage): Fix integer overflow
     
     Fix oss-fuzz issue #2820.

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/strlcpy.c: Always include string.h

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Check for fmemopen()
     
     * configure.ac: Check for fmemopen()
     * fuzz/libwget_hpkp_fuzzer.c: Skip corpora load if fmemopen is missing

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_hpkp_fuzzer.c: Skip corpora loading on WIN32

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_hpkp_fuzzer.c: Remove assert.h (syntax-check)

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix DNS caching (regression)
     
     * libwget/net.c: Add 'port' param where needed
     
     Reported-by: Avinash Sonawane

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/README.md: Add undefined sanitizer to CFLAGS

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     New fuzzer 'libwget_hpkp_fuzzer'
     
     * fuzz/Makefile.am: Add libwget_hpkp_fuzzer
     * fuzz/libwget_hpkp_fuzzer.c: New fuzzer
     * fuzz/libwget_hpkp_fuzzer.in/*: Add fuzzer corpora

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix integer overflows in HPKP code
     
     * libwget/hpkp.c: Use int64_t instead of time_t,
       (_hash_hpkp): Suppress integer overflow detection,
       (_hpkp_db_load): Avoid integer overflow
     
     Two integer overflows detected by fuzzing. One is wanted and thus
     we suppress detection by clang. The other was unwanted and is fixed.

2017-07-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Build all fuzzers with 'make oss-fuzz'

2017-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_http_parse_fuzzer
     
     * fuzz/Makefile.am: Add libwget_http_parse_fuzzer
     * fuzz/libwget_http_parse_fuzzer.c: New fuzzer
     * fuzz/libwget_http_parse_fuzzer.dict: New dictionary
     * fuzz/libwget_http_parse_fuzzer.in/*: Fuzzer corpora
     * fuzz/run-clang.sh: Use all availbale cores for fuzzing

2017-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_content_disposition): Fix memleak (found by fuzzing)

2017-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_link): Fix memleak (found by fuzzing)

2017-07-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix off-by-one buffer read in wget_hpkp_pin_add()
     
     * libwget/hpkp.c (wget_hpkp_pin_add): Fix pinsize value,
       (_compare_pin): Fix off-by-one buffer read
     * libwget/base64.c (wget_base64_decode_alloc): Add outlen param
     * include/wget/wget.h (wget_base64_decode_alloc): Likewise
     * fuzz/libwget_base64_fuzzer.c: Add 3rd param to wget_base64_decode_alloc()
     
     Found by local fuzzing

2017-07-30 Darshit Shah <darnir@gnu.org>

     * libwget/http.c: Disable some very verbose debug statements

2017-07-30 Darshit Shah <darnir@gnu.org>

     Support Wget 1.x `--auth-no-challenge` switch
     
     * src/job.c(job_init): Set default value of challenges_alloc to false
     (job_free): Free the challenges vector only if the current job owns it
     * src/options.c: Add new switch "--auth-no-challenge"
     * src/wget.c(add_url_to_queue): Honor the config.auth_no_challenge
     option
     (add_url): Same
     (process_response_header): Fallback to Server provided challenges if
     defaults don't work

2017-07-29 Darshit Shah <darnir@gnu.org>

     Fix make syntax-check due to double word

2017-07-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_parse_header_line): Fix memleaks (found by fuzzing)

2017-07-29 Darshit Shah <darnir@gnu.org>

     * fuzz/libwget_utils_fuzzer.c: Fix call to wget_strglob

2017-07-29 Darshit Shah <darnir@gnu.org>

     Revert "Prevent tiny memory allocations when globbing"
     
     This reverts commit 2d7fe3e9fc364f282c945f372b9a78f8a56d66ff.
     
     With the above patch, a tiny memory allocation is avoided, but in doing
     so, it misses an important case. The glob(3) call never returns a
     success when the file does not already exist at the given path.

2017-07-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Move to Fedora 26

2017-07-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix more clang warnings
     
     * libwget/css_tokenizer.lex: Skip -Wsuggest-attribute=pure for clang
     * libwget/iri.c (wget_iri_parse): Explicit cast
     * src/dl.c: Use 'int' for vector size
     * src/options.c: Likewise,
       remove 'return' after call to exit(),
       (set_long_option): Rename local var 'env' to 'path'
     * src/plugin.c: Make global vars 'static',
       Use 'int' for vector size

2017-07-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix more clang warnings
     
     * tests/test-plugin-dummy.c: Make options 'static'
     * unit-tests/test-dl.c (string_vector_check): Make vector index 'int'
     * unit-tests/test-dl.c (string_vector_dump): Likewise
     * unit-tests/test.c (test_hsts): Make port 'uint16_t'

2017-07-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix clang warnings
     
     * libwget/css.c (wget_css_parse_buffer): Explicitly typecast 'len' to int
     * libwget/http.c (_send_callback): Change datatype of 'rc' from int to ssize_t
     * libwget/http.c (_recv_callback): Likewise
     * libwget/http.c (wget_http_match_no_proxy): Change param name from 'no_proxies' to
       'no_proxies_vec' to not to shadow global 'no_proxies'
     * libwget/ssl_gnutls.c (check_ocsp_response): Explicit type conversion to unsigned int
     * libwget/net.c (wget_tcp_listen): Move declaration of variable 'on' in #ifdef block where it's used
     * src/options.c (set_long_option): Change datatypes of 'invert', 'char_insensitive'
       and 'value_present' from int to char
     
     Reported-by: Avinash Sonawane

2017-07-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_cookie_fuzzer.in/*: Update corpora

2017-07-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/get_all_corpora: Work even if fuzzers are not pre-built

2017-07-26 Akash Rawal <argmlac@gmail.com>

     * libwget/iri.c (iri_ports): Remove redundant const

2017-07-25 Akash Rawal <argmlac@gmail.com>

     Make wget_iri_set_scheme() update iri->uri
     
     * include/wget/wget.h (wget_iri_st): Add field uri_allocated
     * libwget/iri.c: Make wget_iri_set_scheme() update iri->uri

2017-07-24 Akash Rawal <argmlac@gmail.com>

     Fix recursive downloads with '-c' option
     
     * bootstrap.conf: Enable safe-read module
     * src/wget.c: Fix recursive downloads with '-c' option
     * tests/Makefile.am: Add test-c-r.c
     * tests/test-c-r.c: Add tests

2017-07-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix fuzzer regression test for WIN32
     
     * fuzz/main.c: Adjust slash and remove .exe
     
     Reported-by: Gisle Vanem

2017-07-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fail fuzzers if *.in directory does not exist
     
     * fuzz/Makefile.am: Set -DTEST_RUN
     * fuzz/main.c: Error on non-exisiting *.in directory

2017-07-23 Darshit Shah <darnir@gnu.org>

     Use C99 bool instead of unsigned int in IRI struct and code

2017-07-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Change type of port numbers from char * to uint16_t
     
     * include/wget/wget.h: Amend struct wget_iri_st,
       amend API
     * libwget/hsts.c: Amend port type to uint16_t
     * libwget/http.c: Likewise
     * libwget/http.h: Likewise
     * libwget/http_highlevel.c: Likewise
     * libwget/http_parse.c: Likewise
     * libwget/iri.c: Likewise
     * libwget/net.c: Likewise
     * src/blacklist.c: Likewise
     * src/host.c: Likewise
     * src/wget.c: Likewise
     * src/wget_host.h: Likewise
     * tests/libtest.c: Likewise
     * unit-tests/test.c: Likewise

2017-07-23 Darshit Shah <darnir@gnu.org>

     Clean up .gitignore and sort

2017-07-23 Darshit Shah <darnir@gnu.org>

     Remove unneeded make variables

2017-07-22 Darshit Shah <darnir@gnu.org>

     * libwget/{hsts,hpkp}.c: Don't print all contents as debug messages

2017-07-23 Darshit Shah <darnir@gnu.org>

     Fix heap-use-after-free bug in IRI
     
     * libwget/http.c(wget_http_open): iri maybe free'd far before the
     connection is closed. Hence, strdup the relevant fields
     * libwget/http.c(wget_http_close): Free the newly strdup'ed memory

2017-07-22 Darshit Shah <darnir@gnu.org>

     * include/wget/wget.h: Improve setting of noreturn attribute to functions

2017-07-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c (_compare_cookie2): Fix code to avoid warnings and undefined behavior

2017-05-02 Avinash Sonawane <rootkea@gmail.com>

     Implement --force-progress to force show progress bar
     
     * bootstrap.conf: Add isatty module
     * src/options.c: Add force_progress option
     * src/wget.c: if force_progress then turn on progress bar
     * src/wget_options.h: Add force_progress in config struct

2017-05-02 Avinash Sonawane <rootkea@gmail.com>

     * src/wget.c: Disable progress bar if output isn't TTY
     
     Reported By: Darshit Shah

2017-07-22 Didik Setiawan <ds@didiksetiawan.com>

     Fix digest authentication when server omits algorithm value
     
     * libwget/http.c: Fix digest authentication mechanism when
       server omits algorithm value

2017-07-20 Avinash Sonawane <rootkea@gmail.com>

     Fix doxygen warnings
     
     * README.md: Mark options
     * docs/wget2_manual.md: Mark URLs
     * libwget/bar.c: Fix doc for bar_init(),
       add doxygen close tag at end of file
     * libwget/buffer.c: Fix doc for wget_buffer_reset()
     * libwget/console.c: Move unused tag to front of param
     * libwget/hpkp.c: Fix documented params for wget_hpkp_new()
     * libwget/iri.c: Fix doc for wget_iri_supported()
     * libwget/net.c: Fix doc for wget_tcp_printf()
     * libwget/utils.c: Move unused tag to front of param

2017-07-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Add missing param to print_plugin_help

2017-07-08 Akash Rawal <argmlac@gmail.com>

     Add plugin APIs for intercepting URLs
     
      * include/wget/wget.h: Add function declarations
      * libwget/plugin.c: Add virtual functions
      * src/plugin.c: Add implementation
      * src/wget_plugin.h: Likewise
      * src/wget.c: Add code that calls the implementation
      * src/wget_job.h: Add a variable to store 'accept' action
      * tests/Makefile.am: Add libpluginapi.la
      * tests/test-plugin-dummy.c: Add a test plugin for testing
      * tests/test-plugin.c: Add tests
     
     Plugin API for intercepting URLs has been implemented as per
     specifications at https://gitlab.com/akash_rawal/wget2/wikis/Stage-2

2017-07-16 Akash Rawal <argmlac@gmail.com>

     * src/dl.c: Fix gcc warnings when compiled without plugin support

2017-07-16 Akash Rawal <argmlac@gmail.com>

     * src/dl.c (convert_to_path_if_not): Use wget_aprintf() and simplify the code

2017-06-12 Akash Rawal <argmlac@gmail.com>

     Add command line option forwarding for plugins
     
     * include/wget/wget.h: Add API for command line option forwarding
     * libwget/plugin.c: Likewise
     * libwget/test_linking: Add function from libwget/plugin.c
     * src/dl.c: Remove unused dl_search1() and dl_list1(),
                 use wget_vector_t for pointer arrays
     * src/wget_dl.h: Likewise
     * src/plugin.c: Implement option forwarding
     * src/wget_plugin.h: Likewise
     * src/options.c: Add options '--plugin-opt=', '--plugin-help'
     * unit-tests/test-dl.c: Use dl_list() instead of dl_list1()
     * tests/Makefile.am: Add test plugins pluginoption, pluginfaulty1,
                          pluginfaulty2
     * tests/test-plugin-dummy.c: Implement additional test plugins
     * tests/test-plugin.c: Extend tests for testing option processing
     
     Command line option forwarding has been implemented as per
     specifications at https://gitlab.com/akash_rawal/wget2/wikis/Stage-1
     
     Several style issues were also fixed (Thanks Ander Juaristi)

2017-07-19 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c : Push 'invert' handling from set_long_option() to parse functions
     * src/options.c : Make --mirror boolean
     * src/options.c (parse_proxy): Modify --proxy to have behavior described below:
                                    1) --proxy is boolean which means inherit proxies from environment
                                    2) --no-proxy is boolean which means don't inherit proxies from environment
                                    3) --proxy=<addrs> sets http_proxy and https_proxy to <addrs> (shorthand!)
                                    4) --no-proxy=<addrs> makes wget2 to not use proxy while dealing with <addrs>

2017-07-19 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c (set_long_option): Check if opt->var is NULL before accessing *(opt->var)

2017-07-19 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c (set_long_option): Allow empty string i.e. "" to be argument of an option
     * src/options.c (parse_bool): If value is an empty string then set opt->var to 0

2017-07-19 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c (opt_compare_config_linear): Skip '_' or '-' from s1 only if there is '-' or '_' in s2
     * src/options.c (set_long_option): Invert value for boolean option with the prefix --no- even if the
     option argument is false/0/off e.g. --no-cache=off
     * src/options.c (set_long_option): For long options with value separated by '=', treat empty string("") argument
     as if no argument was given

2017-07-17 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c (set_long_option): Remove linear search
     
     * src/options.c (_parse_option): Accept command with '_' char e.g. http_proxy
     * src/options.c (set_long_option): Remove unnecessary linear search
     * src/options.c (set_long_option): options are case-, underscore- and minus-insensitive.

2017-07-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add -fdiagnostics-color only for gcc >= 5

2017-07-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Add libwget_html_url_fuzzer
     
     * fuzz/Makefile.am: Add libwget_html_url_fuzzer
     * fuzz/libwget_html_url_fuzzer.dict: Add dictionary
     * fuzz/libwget_html_url_fuzzer.in/*: New copora

2017-07-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib

2017-07-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "* libwget/http_parse.c (wget_http_print_date): Fix gmtime crash with Wine"
     
     This reverts commit 11d413476bac87d9315727f8ce127e7acdde2066.
     This has been fixed by gnulib.

2017-07-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "* src/log.c (_write_out): Fix localtime crash with Wine"
     
     This reverts commit e7c78f2e3049c6f862ed06da4424a5b2980ed616.
     This has been fixed by gnulib.

2017-07-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Use pkg-config to find libidn2 config

2017-07-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Use FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION from oss-fuzz
     
     * fuzz/Makefile.am: Remove -DTEST_RUN from AM_CPPFLAGS
     * fuzz/main.c: Use #ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION

2017-07-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Check for fuzzer build in helper scripts
     
     * fuzz/get_ossfuzz_corpora: Check if fuzzer were build for fuzzing
     * fuzz/run-clang.sh: Likewise

2017-07-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/get_all_corpora: New script to update oss-fuzz corpora

2017-07-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/*_fuzzer.in/*: Update fuzzer corpora from oss-fuzz

2017-07-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix buffer_printf() when char type is unsigned
     
     Sometimes 'char' is not enough. C doesn't specify if it is
     signed or unsigned. Here we had to explicitly use 'signed char'
     instead of 'char'.
     Gcc can be switched to unsigned char with -funsigned-char.
     
     Reported-by: Michael <michael@cyber-dome.com>

2017-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Fix static build of libwget_cookie_fuzzer

2017-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Consolidate response header parsing
     
     * include/wget/wget.h: New prototype wget_http_parse_header_line()
     * libwget/http.c (_on_header_callback): Use wget_http_parse_header_line()
     * libwget/http_parse.c: New function wget_http_parse_header_line(),
       (wget_http_parse_response_header): Use wget_http_parse_header_line()
     
     We had doubled code for HTTP/1.1 and HTTP/2 response header parsing.
     Now merged into one function.
     
     Reported-by: Avinash Sonawane

2017-07-10 Akash Rawal <argmlac@gmail.com>

     Fix broken Travis-CI builds
     
     * .travis.sh: Print fuzz/test-suite.log on failure
     * .travis.yml: Install libunistring-dev

2017-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Add password parsing to wget_iri_parse()
     
     * libwget/iri.c (wget_iri_parse): Find and set password
     * unit-tests/test.c: Test password parsing

2017-07-09 Akash Rawal <argmlac@gmail.com>

     Fix const-correctness issue with wget_iri_clone
     
     * include/wget/wget.h: Add 'const' to wget_iri_clone's parameter
     * libwget/iri.c: Likewise

2017-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/run-clang.sh: Needs bash for ctrl-c handling

2017-07-07 Darshit Shah <darnir@gnu.org>

     Fix recursive downloads when using HTTP2
     
     * src/wget.c (downloader_thread): Ensure that the job->original_url
     field is always set before attempting a download

2017-07-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Set default read timeout to 900s

2017-07-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not use ALPN when not build with HTTP/2 support
     
     * libwget/ssl_gnutls.c (struct _config): Conditionally set .alpn
     * src/options.c (init): Set ALPN string only when build with HTTP/2 support

2017-07-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/log.c (_write_out): Fix localtime crash with Wine

2017-07-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_parse.c (wget_http_print_date): Fix gmtime crash with Wine

2017-07-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Add link libraries to build cookie fuzzer

2017-07-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Disable plugin tests when plugins are disabled
     
     * configure.ac: Add conditional PLUGIN_SUPPORT
     * tests/Makefile.am: Enable plugin testing only if PLUGIN_SUPPORT exists
     * unit-tests/Makefile.am: Likewise

2017-07-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Fix static linking with libidn2

2017-07-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove h2-14 and h2-16 from ALPN
     
     * libwget/ssl_gnutls.c: Remove h2-14 and h2-16 from default ALPN offer
     * examples/http_multi_get.c: Set ALPN to h2,http/1.1
     * src/options.c: Likewise
     
     h2-14 and h2-16 were some HTTP/2 drafts, should not be relevant in
     the real world now.

2017-07-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Fix oss-fuzz target for new cookie fuzzer

2017-07-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Enhance memtohex fuzzer, rename it to utils fuzzer
     
     * Makefile.am: Rename libwget_memtohex_fuzzer to libwget_utils_fuzzer
     * libwget_memtohex_fuzzer.c: Renamed to libwget_utils_fuzzer.c
     * libwget_utils_fuzzer.c: New file
     * libwget_utils_fuzzer.in/*: Test corpora
     * run-clang.sh: Add merge step in ctrl-c handler

2017-06-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_memtohex_fuzzer.c: Add all functions from utils.c

2017-06-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Update fuzzer with latest corpora from oss-fuzz
     
     * fuzz/get_ossfuzz_corpora: Enhance corpora merging
     * fuzz/libwget_*fuzzer.in/*: Updated fuzz corpora

2017-06-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib submodule

2017-06-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Update fuzz corpora from OSS-Fuzz
     
     * fuzz/get_ossfuzz_corpora: New file to download and merge corpora
     * fuzz/*.in/*: New corpora
     * fuzz/run-clang.sh: Updated to work with get_ossfuzz_corpora

2017-06-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Switch MinGW64 build to Debian

2017-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_cert_verify_hpkp): Fix code for GnuTLS < 3.1.3

2017-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Correctly include config.h into css_tokenizer
     
     * libwget/css_tokenizer.lex: Add config.h via %top directive
     * libwget/Makefile.am: Remove sed from make target

2017-06-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c (wget_cookie_parse_setcookie): Avoid maxage integer overflow

2017-06-23 Avinash Sonawane <rootkea@gmail.com>

     *configure.ac: Fix warning about 'AM_PROG_MKDIR_P' macro being deprecated
     * README.md: Update gettext required version

2017-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Increase fuzz coverage for cookie code
     
     * fuzz/libwget_cookie_fuzzer.c: Add more function calls
     * fuzz/libwget_cookie_fuzzer.in/*: Add test corpora

2017-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_xml_parse_buffer_fuzzer.c: Don't hang when readng from stdin

2017-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c (wget_update_file): Fix leak found by fuzzing

2017-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix issues in cookie code found by fuzzing
     
     * libwget/cookie.c (wget_cookie_db_load_psl): Fix memleak when
       psl_load_file() fails,
       (_compare_cookie): Fix strcmp() NULL pointer crash,
       (_wget_cookie_normalize_cookie): Fix memleak

2017-06-22 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c: Fix array index out of bounds runtime error

2017-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Enhance creating of libwget/css_tokenizer.c
     
     * Makefile.am: Remove '<stdout>' special handling in coverage rules
     * libwget/Makefile.am: Generate css_tokenizer.c with proper automake
       macros, prepend include line using sed.

2017-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_xml_parse_buffer_fuzzer.c: Increase fuzz code coverage

2017-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_base64_fuzzer.c: Add coverage for wget.h inline functions

2017-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Let CI create online fuzz coverage report
     
     * .gitlab-ci.yml: Place fuzz coverage report in public area
     * Makefile.am: Use 'make check' in fuzz directory
     * README.md: Add link to fuzz coverage report
     * fuzz/Makefile.am: Remove make target 'fuzz-coverage'
     * fuzz/coverage.sh: Remove file

2017-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/POTFILES.in: Add libwget/http_parse.c

2017-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_cookie_fuzzer.c: Add forgotten file

2017-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_cookie_fuzzer
     
     * fuzz/Makefile.am: Add libwget_cookie_fuzzer
     * fuzz/libwget_cookie_fuzzer.c: New fuzzer
     * fuzz/libwget_cookie_fuzzer.in/*: Corpora
     * fuzz/run-clang.sh: Add -lpsl and -lgnutls

2017-06-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Move parsing from libwget/http.c to libwget/http_parse.c
     
     * libwget/Makefile.am: Add http_parse.c
     * libwget/http.c: Remove parse functions
     * libwget/http_parse.c: New file with parse functions

2017-06-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_base64_fuzzer
     
     * fuzz/Makefile.am: Add libwget_base64_fuzzer
     * fuzz/libwget_base64_fuzzer.c: New fuzzer
     * fuzz/libwget_base64_fuzzer.in/*: Corpora

2017-06-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Increase fuzz coverage for bar.c and rss_url.c
     
     * fuzz/libwget_atom_url_fuzzer.c: Add RSS parsing
     * fuzz/libwget_atom_url_fuzzer.dict: Add RSS tags
     * fuzz/libwget_bar_fuzzer.c: Increase fuzz code coverage
     * fuzz/*.in/*: Update corpora

2017-06-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Check slot value in wget_bar_slot_deregister()
     
     * libwget/bar.c (wget_bar_init): Remove redundant xfree()s,
       (wget_bar_slot_downloaded): Check value of 'slot' param

2017-06-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix issues in IRI code found by fuzzing
     
     * include/wget/wget.h: Remove nonnull attribute from wget_iri_compare()
     * libwget/iri.c (wget_iri_clone): Fix possible crashes due to random free(),
       (wget_iri_compare): Check input arguments against NULL,
       (wget_iri_set_scheme): Use string compare instead of pointer compare

2017-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_iri_fuzzer
     
     * fuzz/Makefile.am: Add libwget_sitemap_url_fuzzer
     * fuzz/libwget_iri_fuzzer.c: New fuzzer
     * fuzz/libwget_iri_fuzzer.dict: New dictionary
     * fuzz/libwget_iri_fuzzer.in/*: Corpora

2017-06-15 Ander Juaristi <a@juaristi.eus>

     Fix MinGW compatibility issues
     
      * libwget/buffer_printf.c (_read_precision): do not pass a va_list
        as argument.
        (_read_field_width): likewise.

2017-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_sitemap_url_fuzzer
     
     * fuzz/Makefile.am: Add libwget_sitemap_url_fuzzer
     * fuzz/libwget_sitemap_url_fuzzer.c: New fuzzer
     * fuzz/libwget_sitemap_url_fuzzer.dict: New dictionary
     * fuzz/libwget_sitemap_url_fuzzer.in/*: Corpora
     * fuzz/run-clang.sh: Add -jobs and -workers

2017-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c: Fix param in docs of wget_strglob()

2017-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove nonnnull attribute from functions
     
     * include/wget/wget.h: Remove G_GNUC_WGET_NONNULL from several functions
     * libwget/buffer.c: Add explicit checks for NULL
     * libwget/buffer_printf.c (wget_buffer_vprintf_append): Likewise
     * libwget/net.c: Likewise
     
     The nonnull attribute removes the NULL checks under certain conditions.
     That might turn out as a security flaw.

2017-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c: Avoid calling memcpy with src=NULL

2017-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_css_url_fuzzer
     
     * fuzz/Makefile.am: Add libwget_css_url_fuzzer
     * fuzz/libwget_css_url_fuzzer.c: New fuzzer
     * fuzz/libwget_css_url_fuzzer.dict: New dictionary
     * fuzz/libwget_css_url_fuzzer.in/*: Corpora

2017-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/css.c (wget_css_parse_buffer): Fix length calculation

2017-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_atom_url_fuzzer.dict: Remove empty line at EOF

2017-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new fuzzer libwget_atom_url_fuzzer
     
     * fuzz/Makefile.am: Add libwget_atom_url_fuzzer
     * fuzz/libwget_atom_url_fuzzer.c: New fuzzer
     * fuzz/libwget_atom_url_fuzzer.dict: New dictionary
     * fuzz/libwget_atom_url_fuzzer.in/*: Corpora

2017-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add fuzz corpora from OSS-Fuzz
     
     * *.in/*: New copora
     * run-clang.sh: Add needed libraries to fuzzer executables (regression)

2017-06-12 Ander Juaristi <a@juaristi.eus>

     docs: Inline docs for net.c

2017-06-12 Ander Juaristi <a@juaristi.eus>

     docs: Inline docs for IRI/URI API

2017-06-12 Ander Juaristi <a@juaristi.eus>

     docs: Inline docs for buffer and buffer_printf

2017-06-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_add_credentials): Remove debug printf

2017-06-13 Tim Rühsen <tim.ruehsen@gmx.de>

     New options --http-proxy-user and --http-proxy-passord
     
     * docs/wget2_manual.md: Amend description of user/password options
     * docs/wget2_manual.md: Add new param to wget_http_add_credentials()
     * libwget/http.c (wget_http_parse_response_header): Add Proxy-Authenticate
       HTTP header,
       (wget_http_add_credentials): Add Proxy-Authorization HTTP header,
       (_on_header_callback): Add Proxy-Authenticate HTTP header
     * libwget/http_highlevel.c: Amend call to wget_http_add_credentials()
     * src/job.c (job_free): Free proxy_challenges
     * src/options.c: Add --http-proxy-password and --http-proxy-user
     * src/wget.c (process_response_header): Add status code 407,
       (_add_authorize_header): New function,
       (http_create_request): Use _add_authorize_header()
     * src/wget_job.h: Add JOB.proxy_challenges
     * src/wget_options.h: Add config.http_proxy_username and config.http_proxy_password
     * unit-tests/test.c: Amend call to wget_http_add_credentials()

2017-06-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Debug output for certain OCSP warnings

2017-06-11 Akash Rawal <argmlac@gmail.com>

     * src/options.c (set_long_option): Fix behavior for options that don't accept arguments and are not boolean

2017-06-11 Akash Rawal <argmlac@gmail.com>

     Allow setting destructor to keys to wget_stringmap_t
     
     * include/wget/wget.h: Add wget_stringmap_key_destructor_t and
                            wget_stringmap_set_key_destructor() declaration.
     * libwget/stringmap.c: Add wget_stringmap_set_key_destructor()
                            definition.

2017-06-11 Akash Rawal <argmlac@gmail.com>

     Remove rarely used parameter 'off' from wget_hashmap_create()
     
     * libwget/hashmap.c: Remove 'off' parameter, now defaults to -2,
                          Add wget_hashmap_set_growth_policy() to set 'off'
     * include/wget/wget.h: likewise
     * libwget/hpkp.c: Adapt to the change in wget_hashmap_create()
     * libwget/hsts.c: Likewise
     * libwget/netrc.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/stringmap.c: Likewise
     * libwget/test_linking.c: Likewise
     * libwget/tls_session.c: Likewise
     * src/blacklist.c: Likewise
     * src/host.c: Likewise
     * src/wget.c: Likewise

2017-06-11 Avinash Sonawane <rootkea@gmail.com>

     * unit-tests/test.c: Add tests for wget_http_parse_response_header()

2017-06-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix integer overflow in metalink code found by OSS-Fuzz
     
     * fuzz/libwget_metalink_parse_fuzzer.repro/5268760606801920:
       Reproducer from oss-fuzz
     * libwget/metalink.c (_add_piece): Avoid integer overflow

2017-06-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/fuzzer.h: Add extern 'C'

2017-06-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/README.md: Add code coverage section

2017-06-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Add clean-local make target

2017-06-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Increase fuzz coverage of wget_metalink_parse()
     
     * libwget_metalink_parse_fuzzer.c: Call wget_metalink_sort_mirrors()
     * libwget_metalink_parse_fuzzer.dict: Add keywords
     * libwget_metalink_parse_fuzzer.in/xml1: Add content

2017-06-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Add script for fast checking of fuzz coverage
     
     * fuzz/view-coverage.sh: New helper script

2017-06-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Add more fuzz corpora for wget_xml_parse_buffer()
     
     * fuzz/libwget_xml_parse_buffer_fuzzer.in/*: New files

2017-06-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Increase fuzz coverage for wget_xml_parse_buffer()
     
     * libwget_xml_parse_buffer_fuzzer.c: Increase fuzz coverage
     * libwget_xml_parse_buffer_fuzzer.dict: Add 'style' keyword

2017-06-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Use C instead of C++ for fuzzer targets
     
     * configure.ac: Remove AC_PROG_CXX
     * fuzz/Makefile.am: Amend *_SOURCES for .c fuzzer targets,
       Remove non-portable EXTRA_DIST wildcards,
       Add dist-hook to include fuzzer target files,
       Add oss-fuzz make target.
     * fuzz/fuzzer.h: New file
     * fuzz/*cc: Rename to C, include fuzzer.h
     * fuzz/main.c: Include fuzzer.h
     * fuzz/run-clang.sh: Build and run fuzzer targets made with clang/libFuzzer

2017-06-07 Akash Rawal <argmlac@gmail.com>

     Fix name clashes with gnulib
     
     * tests/test-plugin.c: Rename setenv and unsetenv to setenv_rpl
                            and unsetenv_rpl respectively.
     * unit-tests/test-dl.c: Rename rpl_remove to remove_rpl.
     
     Reported by @gvanem

2017-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/Makefile.am: Remove buffer_printf_perf, stringmap_perf from check_PROGRAMS

2017-06-06 Akash Rawal <argmlac@gmail.com>

     Fix sanitizer builds
     
     * .gitlab-ci.yml: Separate sanitizer build from `make distcheck` and
                       use clang++ as c++ compiler in clang/Fedora build
     * .travis.sh: Use clang++ as c++ compiler if CC=clang and
                   disable sanitizer builds (unstable on Travis-CI)
     * .travis.yml: Add lzip package
     * .travis_setup.sh: Likewise

2017-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove obsolete files from tests/
     
     * tests/buffer_printf_perf.c: Remove
     * tests/stringmap_perf.c: Remove
     
     Reported-by: Gisle Vanem

2017-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Parallel 'make check' for Debian image

2017-05-30 Akash Rawal <argmlac@gmail.com>

     Add basic plugin loading mechanism
     
     * configure.ac: Add configure time tests for plugin support backend.
     * include/wget/wget.h: Add basic plugin API
     * libwget/Makefile.am: Add new file plugin.c to libwget.la
     * libwget/plugin.c: Add plugin API functions (new file)
     * src/Makefile.am: Add new files dl.c, wget_dl.h, plugin.c, wget_plugin.h
                        to wget2
     * src/dl.c: Add abstraction for dynamic loading of object files
     * src/wget_dl.h: Likewise
     * src/plugin.c: Add implementation for loading plugins
     * src/wget_plugin.h: likewise
     * src/options.c: Add options `--plugin=`, `--local-plugin=`,
                      `--plugin-dirs=`, `--list-plugins`
     * src/wget.c: Add function calls to initialize and finalize plugin
                   support system
     * unit-tests/Makefile.am: Add test-dl, libalpha.la, and libbeta.la
     * unit-tests/test-dl.c: Add unit test for src/dl.c
     * unit-tests/test-dl-dummy.c: Likewise
     * tests/Makefile.am: Add test-plugin, libpluginname.la, and
                          libpluginexit.la
     * tests/test-plugin.c: Add tests for plugin support
     * tests/test-plugin-dummy.c: Likewise
     * libwget/test-linking.c: Fix warnings with --enable-manywarnings
     * unit-tests/test.c: likewise
     
     Plugin loading mechanism has been implemented as per specifications
     at https://gitlab.com/akash_rawal/wget2/wikis/Stage-0

2017-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Add test corpora to tarball

2017-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Use dist-lzip instead of dist-xz

2017-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Set CXXFLAGS for --enable-sanitize-... options

2017-06-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: YAML doesn't like paths starting with */

2017-06-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Add OSS-Fuzz reproducers to test suite
     
     * cfg.mk: Exclude *.repro/* from syntax-check
     * fuzz/Makefile.am: Add *.repro/* to EXTRA_DIST
     * fuzz/libwget_metalink_parse_fuzzer.repro/clusterfuzz-testcase-minimized-5103826937839616:
         Reproducer for OSS-Fuzz issue #1915
     * fuzz/libwget_xml_parse_buffer_fuzzer.repro/clusterfuzz-testcase-minimized-4704516446355456:
         Reproducer for OSS-Fuzz issue #2041
     * fuzz/main.c: Scan and test all files from *.repro/

2017-06-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xml.c (getScriptContent): Fix read-off-by-one found by OSS-Fuzz (#2041)

2017-06-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Add all .log files to artifacts

2017-06-04 Akash Rawal <argmlac@gmail.com>

     * .travis.sh: Fix printing logs when build fails

2017-06-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile.am: Remove lib/ from include directories

2017-06-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Use fuzz targets as unit tests for 'make check'
     
     * Makefile.am: Add 'fuzz' directory to SUBDIRS,
       tune 'fuzz-coverage' make target,
       print info on how to view coverage report.
     * configure.ac: Add AC_PROG_CXX for C++ code in fuzz/
     * fuzz/Makefile: Removed
     * fuzz/Makefile.am: New file
     * fuzz/libwget_bar_fuzzer.cc: Fix memleak
     * fuzz/main.c: Add code for unit testing
     
     The OSS-Fuzz targets will now be taken for unit testing as well.
     
     That is, they will be tested by 'make check' including our sanitizer
     and valgrind checks. The fuzz tests will be run once with each test
     corpus from the corresponding '.in' directory.
     
     A 'make fuzz-coverage' generates a coverage report for running all
     fuzz targets against their corpora.

2017-06-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/libwget_memtohex_fuzzer.cc: Add two test vectors

2017-06-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add make target 'fuzz-coverage'
     
     * Makefile.am: Add target 'fuzz-coverage' to generate a coverage
       report for fuzz targets.
     * fuzz/Makefile: Add target 'fuzz-coverage'
     * fuzz/coverage.sh: New script to call a fuzz target with each corpus.
     * fuzz/libwget_metalink_parse_fuzzer.cc: Add check for max input length.
     * fuzz/libwget_xml_parse_buffer_fuzzer.cc: Likewise
     * fuzz/libwget_robots_parse_fuzzer.cc: Add comment
     * fuzz/libwget_robots_parse_fuzzer.in/user_agent2: Amend for max coverage
     * fuzz/main.c: selfmade __AFL_LOOP() returns 0 after first invocation.
     * fuzz/libwget_memtohex.in: Rename to fuzz/libwget_memtohex_fuzzer.in
     * fuzz/libwget_metalink_parse.in: Rename to fuzz/libwget_metalink_parse_fuzzer.in
     * fuzz/libwget_robots_parse.in: Rename to fuzz/libwget_robots_parse_fuzzer.in
     * fuzz/libwget_xml_parse_buffer.in: Rename to fuzz/libwget_xml_parse_buffer_fuzzer.in
     * fuzz/libwget_xml_parse_buffer.options: Removed
     * fuzz/libwget_metalink_parse_fuzzer.options: Removed

2017-06-01 Avinash Sonawane <rootkea@gmail.com>

     Use HTTPS url instead of SSH to clone the repo
2017-05-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Move unit tests from tests/ to unit-tests/
     
     * Makefile.am: Add unit-tests
     * cfg.mk: Make syntax-check work with unit-tests/
     * configure.ac: Add unit-tests/Makefile
     * tests/Makefile.am: Remove unit tests
     * unit-tests/Makefile.am: New file with unit test rules
     * unit-tests/*.c: Moved from tests/
     * unit-tests/files: Moved from tests/
     
     unit-tests/ is for library/API unit testing.
     tests/ is for testing wget2 utility.

2017-05-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Enhance fuzz code
     
     * fuzz/*_fuzzer.cc: Use malloc() instead of stack memory to help
       sanitizers.
     * fuzz/libwget_robots_parse.in/user_agent1: Increase code coverage.
     * fuzz/main.c: define __AFL_LOOP() is not already defined.

2017-05-31 Akash Rawal <argmlac@gmail.com>

     Silence GCC warnings
     
     * tests/test.c (test_parser): Replace hardcoded array size with an expression
     * tests/test-parse-html.c (test_parse_files): Likewise

2017-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xml.c (getValue): Fix memleak
     
     Found locally via fuzzing.

2017-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (metalink_parse_localfile): Fix memleak
     
     Found locally via fuzzing.

2017-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c (_metalink_parse): Fix memleak
     
     Found locally via fuzzing.

2017-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     .gitignore: Add generated files from fuzz/ directory

2017-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Add two fuzz corpora
     
     * fuzz/libwget_metalink_parse.in/tag1: New file
     * fuzz/libwget_xml_parse_buffer.in/tag1: New file

2017-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix off-by-one read in XML code
     
     * libwget/xml.c (getToken): Fix off-by-one read
     
     Reported-by: oss-fuzz
     https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1915

2017-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix fuzz minimizing command
     
     * fuzz/README.md: Fix build recipe
     * fuzz/run-afl.sh: Fix check whether to call afl-tmin

2017-05-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * fuzz/Makefile: Forgot to add to repo

2017-05-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Add *.options files to fuzzer
     
     * fuzz/libwget_metalink_parse.options: New file
     * fuzz/libwget_xml_parse_buffer.options: New file
     
     Max input len is 64 for OSS-Fuzz, we need larger input for
     some fuzz targets.

2017-05-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Enhance fuzzing
     
     * cfg.mk: Let make-syntax-check survive
     * fuzz/libwget_metalink_parse.dict: New dictionary
     * fuzz/libwget_robots_parse.dict: New dictionary
     * fuzz/libwget_xml_parse_buffer.dict: New dictionary
     * fuzz/libwget_robots_parse.in/disallowed1: Obsolete by afl-cmin
     * fuzz/libwget_robots_parse.in/user_agent3: Likewise
     * fuzz/libwget_xml_parse_buffer.in/index.html: Removed redundant HTML tags
     * fuzz/run-afl.sh: Auto-optimize corpora with afl-tmin

2017-05-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Add initial fuzzing code
     
     * fuzz/*: New files
     
     README.md contains instructions how to build and run single fuzzers.
     Currently we have fuzzers and corpora for
       - wget_memtohex()
       - wget_metalink_parse()
       - wget_robots_parse()
       - wget_xml_parse_buffer()
     
     * fuzz/libwget_bar.in/123456: New file

2017-05-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test.c: Add test_strlcpy to cover wget_strlcpy()

2017-05-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test.c: Add test for wget_strmemcpy for 100% coverage

2017-05-28 Ander Juaristi <a@juaristi.eus>

     Make wget_buffer_realloc static
     
      * libwget/buffer.c (wget_buffer_realloc): rename to _buffer_realloc,
        and make it static.
        (_buffer_realloc): new function.
     
     This function may overflow if incorrectly used so we make it internal to
     'buffer.c'. All the functions there that rely on it know how to use it
     correctly.

2017-05-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix wget_strmemcpy() and add tests for mem.c
     
     * include/wget/wget.h: Remove nonnull attribute from wget_strmemcpy
     * libwget/mem.c: Check input values for wget_strmemcpy
     * tests/test.c: Add tests for functions of mem.c

2017-05-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Updated contributor list

2017-05-26 Akash Rawal <argmlac@gmail.com>

     * .gitlab-ci.yml: Enable MinGW64 build

2017-05-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix clang -Wconversion warnings
     
     * include/wget/wget.h (wget_ready_2_transfer): Change 'mode' to int
     * libwget/io.c: Likewise
     * libwget/hpkp.c: Explicit int to bit conversion
     * libwget/http.c: Likewise
     * libwget/net.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * tests/libtest.c: Likewise
     * libwget/iri.c (wget_iri_unescape_inline): Explicit int to char conversion
     * libwget/utils.c: Likewise

2017-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Fix CPPFLAGS for libcsstokenizer

2017-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Remove macro warnings

2017-05-22 Didik Setiawan <ds@didiksetiawan.com>

     Add support to save file extended attributes
     
     * configure.ac: Check for xattr availability
     * src/Makefile.am: Add wget_xattr.h
     * src/options.c: Add new config 'xattr',
       (parse_execute): Add new option 'xattr
     * src/wget.c: (_prepare_file): Add condition for 'xattr',
       (http_send_request): Add parameter 'original_url',
       (add_url): Assign 'original_url' with proper value,
       (download_thread): Add variable 'original_url',
       (write_xattr_metadata): New function,
       (set_file_metadata): New function
     * src/wget_job.h: Add variable 'original_url'
     * src/wget_options.h: Add new config 'xattr'
     * src/wget_xattr.h: Add new function declaration 'set_file_metadata',
       Add fsetxattr() if defined in operating system
     
     These attributes provide a lightweight method of later determining
     where a file was downloaded from. Adapted from Wget 1.x.
     
     This patch changes:
     *   autoconf detects whether extended attributes are available and
         enables the code if they are.
     *   The new flags --xattr and --xattr=no control whether xattr is enabled.
     *   The original and redirected URLs are recorded as shown below.
     *   This works for both single fetches and recursive mode.
     
     The attributes that are set are:
     user.xdg.origin.url: The URL that the content was fetched from.
     user.xdg.referrer.url: The URL that was originally requested.
     user.mime_type: Two-part identifier for file formats and format contents.
     user.charset: File encoding.
     
     For example, where http://lwn.net redirects to https://lwn.net:
     $ wget2 --xattr http://lwn.net
     ...
     $ getfattr -d index.html
     user.charset:"UTF-8"
     user.mime_type:="text/html"
     user.xdg.origin.url="https://lwn.net/"
     user.xdg.referrer.url="http://lwn.net/"

2017-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix build for non-Windows envs without poll()
     
     * bootstrap.conf: Add module msvc-nothrow
     * libwget/io.c: Include msvc-nothrow.h on _WIN32,
       (wget_ready_2_transfer): Fix code for non-Windows envs

2017-05-24 Tim Rühsen <tim.ruehsen@gmx.de>

     MinGW cleanup
     
     * include/wget/wget.h: Add const to first param of wget_restrict_file_name
     * libwget/utils.c: Likewise
     * tests/libtest.c: Remove debug output, start/stop ftp server thread,
       popen() without 'b'.
     * tests/test-iri.c: Skip test on _WIN32

2017-05-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix more tests for MinGW build
     
     * include/wget/wget.h: Fixed indentation
     * tests/libtest.h (wget_test_file_t): Add restricted_mode member
     * tests/libtest.c (_scan_for_unexpected): Respect 'restricted_mode' value,
       (wget_test): Likewise.
     * test-iri-percent.c: Set WGET_RESTRICT_NAMES_NOCONTROL to expected filename
     * tests/test-iri.c: Likewise
     * tests/test-iri-subdir.c: Skip test on Windows build

2017-05-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/mingw: Fix WINEPATH and ./configure options

2017-05-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (_get_header): Restrict file name from Content-Disposition

2017-05-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c (wget_restrict_file_name): Explicitely use signed char

2017-05-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix test-directory-clash on MinGW+Wine
     
     * ../src/wget.c (_prepare_file): Check for EACCESS in unique loop
     
     Reported-by: Akash Rawal

2017-05-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (wget_test): Sync output streams to avoid garbled output

2017-05-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Make _restrict_file_name() public as wget_restrict_file_name()
     
     * include/wget/wget.h: Add wget_restrict_file_name() declaration,
       add WGET_RESTRICT_* defines.
     * libwget/utils.c: Add wget_restrict_file_name() definition.
     * src/options.c (parse_restrict_names): Use WGET_RESTRICT_*,
       default to WGET_RESTRICT_NAMES_WINDOWS in _WIN32.
     * src/wget.c: Remove restrict_file_name(),
       (get_local_filename): Use wget_restrict_file_name().
     * src/wget_options.h: Remove RESTRICT_NAMES_* defines.
     * tests/libtest.c (_scan_for_unexpected): Use wget_restrict_file_name(),
       (wget_test): Use wget_restrict_file_name().
     
     Reported-by: Akash Rawal

2017-05-22 Akash Rawal <argmlac@gmail.com>

     Disabled /dev/full test on non-linux systems
     
     * tests/test-wget-1.c: Test full disc only if __linux__ is defined

2017-05-22 Akash Rawal <argmlac@gmail.com>

     Fix detecting directories on _WIN32
     
     * src/wget.c (_prepare_file): Check for dir on errno = EACCES
     
     _WIN32 set errno=EACCES on open(<directory>) while Linux sets
     errno=EISDIR.

2017-05-22 Akash Rawal <argmlac@gmail.com>

     Fix test--accept.c and test--follow-tags.c on Win32
     
     * tests/test--accept.c: Use " instead of ' on command line
     * tests/test--follow-tags.c: Remove unneeded ' on command line
     
     Win32 doesn't like 'xxx' on the command line, wants "xxx".

2017-05-20 Akash Rawal <argmlac@gmail.com>

     * tests/libtest.c (_write_msg): Flush stderr
     
     Without flushing, the output messages are garbled on
     MinGW / Win32 builds.

2017-05-22 Akash Rawal <argmlac@gmail.com>

     Fix select() for _WIN32
     
     * libwget/io.c: Include io.h and winsock2.h,
       use OS socket descriptor for select()

2017-05-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c: Start/Stop HTTPS server again

2017-05-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Open files in binary mode where needed
     
     * examples/websequencediagram.c: Use binary mode on file open
     * libwget/css.c: Likewise
     * libwget/hashfile.c: Likewise
     * libwget/http_highlevel.c: Likewise
     * libwget/io.c: Likewise
     * libwget/xml.c: Likewise
     * src/job.c: Likewise
     * src/options.c: Likewise
     * src/wget.c: Likewise
     * tests/libtest.c: Likewise
     * tests/stringmap_perf.c: Likewise
     
     This fixes discrepancies between stat/st_size and read bytes on
     MinGW / Wine / Windows.

2017-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Let test suite finish with MinGW + Wine
     
     * contrib/mingw: Amend the MinGW recipe
     * libwget/io.c (wget_ready_2_transfer): Wait 10ms before select() on MinGW
     * tests/libtest.c: Make 'terminate' a volatile sig_atomic_t.
       (_http_server_thread): Add debug output.
       (_empty_directory): Fix recursive removing directories.
       (wget_test_stop_server): Use wget_thread_cancel() instead of
         pthread_kill() + wget_thread_join().

2017-05-17 Akash Rawal <argmlac@gmail.com>

     * tests/libtest.c: Remove stray EXEEXT from the command line construction

2017-05-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Use convenience library to avoid unused macro warnings

2017-05-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Remove explicit 'make syntax-check'

2017-05-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Add 'make syntax-check' to 'make check'

2017-05-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove nonnull attribute from some functions
     
     * include/wget/wget.h: Remove nonnull attribute from some functions
     * libwget/encoding.c: Add explicit checks for NULL
     * libwget/io.c: Likewise
     * libwget/pipe.c: Likewise
     * libwget/strlcpy.c: Likewise
     * libwget/utils.c: Likewise

2017-05-12 Gianluca Varisco <gianluca.varisco@gmail.com>

     * README: Fixed typo "Accept-Encdoing" -> "Accept-Encoding"

2017-05-12 Akash Rawal <argmlac@gmail.com>

     Remove redundant VGSUPPFILE macro
     
      * tests/Makefile.am: Remove VGSUPPFILE macro from libtest.la
      * tests/libtest.c: Replace VGSUPPFILE with an expression using SRCDIR

2017-05-03 Vijo Cherian <codervijo@gmail.com>

     Moved help strings into options structure
     
     * src/options.c: New enum help_section_t,
       new functions print_first() and print_next(),
       moved all help strings to struct options.
     
     Print help strings such that it fits in 80 columns

2017-05-03 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c (set_long_option): Remove redundant bsearch call

2017-05-03 Avinash Sonawane <rootkea@gmail.com>

     * libwget/http.c: Reorder switch cases in ascending order

2017-05-03 Avinash Sonawane <rootkea@gmail.com>

     * libwget/http.c: Implement Wayback Machine's X-Archive-Orig-last-modified HTTP header

2017-05-03 Akash Rawal <argmlac@gmail.com>

     Make wget_http_connection_t an abstract type
     
      * include/wget/wget.h: Convert wget_http_connection_t to forward declaration
      * libwget/http.h: Move wget_http_connection_t definition here
      * libwget/Makefile.am: Add new file http.h
      * libwget/http.c: Include http.h and add accessor functions
      * libwget/http_highlevel.c: Include http.h
      * src/wget.c: Replace access to wget_http_connection_t with accessor function calls

2017-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xalloc.c: Satisfy syntax-check

2017-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/getstream.c (header_callback): Use wget_malloc() instead of malloc()

2017-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new function wget_free()
     
     * examples/check_url_types.c: Use wget_xfree() instead of free()
     * examples/http_get2.c: Likewise
     * examples/print_css_urls2.c: Likewise
     * examples/print_html_urls.c: Likewise
     * include/wget/wget.h: Add wget_free() and define wget_xfree()
     * libwget/xalloc.c: Implement wget_free()
     
     * include/wget/wget.h: Add declaration for wget_free()
     * libwget/xalloc.c: Implement wget_free()

2017-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Enable syntax-check

2017-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Remove trailing whitespace

2017-05-02 Avinash Sonawane <rootkea@gmail.com>

     * tests/libtest.c: Use --no-proxy for wget2 invocation in test-suite

2017-05-02 Avinash Sonawane <rootkea@gmail.com>

     Implement `--proxy` switch to import env proxy vars
     
     * src/wget_options.h: Add `--proxy` option
     * src/options.c(init): Import env proxy var by default and only if no
       corresponding proxy variable is specified on command-line

2017-05-03 Akash Rawal <argmlac@gmail.com>

     * src/options.c: Implement optional arguments and separate handling for --no-<option>

2017-05-02 Tim Rühsen <tim.ruehsen@gmx.de>

     *libwget/strlcpy.c: Fix wget_strlcpy on OSX / BSD

2017-05-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename strlcpy to wget_strlcpy
     
     * include/wget/wget.h: Rename and remove gnulib deps.
     * libwget/strlcpy.c: Rename function and fall back to strlcpy.
     * */*.c: Rename strlcpy to wget_strlcpy.

2017-05-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Amend --http-proxy and --https-proxy behavior
     
     * libwget/http.c (_parse_proxies): Alloc vector on demand
     * src/options.c (wget_http_set_http_proxy): Return # of proxies
       successfully parsed,
       (wget_http_set_https_proxy). Likewise.
     * src/options.c (init): Empty and undefined proxy variable is the same.
     * tests/test.c (test_set_proxy): Amend tests.

2017-05-02 Avinash Sonawane <rootkea@gmail.com>

     Remove unnecessary `while` loop & add test
     
     * libwget/http.c (_parse_proxies): Remove non-required `while`
     * tests/test.c (test_set_proxy): Add test with leading whitespaces

2017-05-01 Avinash Sonawane <rootkea@gmail.com>

     Add tests for wget_http_set_http(s)_proxy() functions
     
     * tests/test.c (test_set_proxy): Add tests for wget_http_set_http_proxy()
     * tests/test.c (test_set_proxy): Add tests for wget_http_set_https_proxy()
     * libwget/http.c (wget_http_set_http_proxy): Return length of http_proxies if no parse error
     * libwget/http.c (wget_http_set_https_proxy): Return length of https_proxies if no parse error

2017-05-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Remove WIN32 futimens() implementation
     
     The newest gnulib brings WIN32 futimens().

2017-05-01 Tim Rühsen <tim.ruehsen@gmx.de>

     *gnulib: Update

2017-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix syntax-check 'sc_prohibit_have_config_h'
     
     * cfg.mk: Remove sc_prohibit_have_config_h from local-checks-to-skip
     * libwget/*.c: Include <config.h> unconditionally
     * src/*.c: Likewise
     * tests/*.c: Likewise

2017-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove useless parens (syntax-check)
     
     * include/wget/wget.h: Remove useless parens
     * libwget/ssl_gnutls.c: Likewise

2017-04-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove gnulib dependencies from examples and wget.h
     
     * cfg.mk: Add examples as excludes for config.h
     * examples/Makefile.am: Remove -I to srcdir and builddir
     * examples/*.c: Remove #include <config.h>
     * include/wget/wget.h: Remove gettext include and defines
     * libwget/private.h: Add gettext include and defines
     * src/wget_main.h: Likewise
     * tests/libtest.h: Likewise
     * src/log.c: Add #include <string.h>

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * cfg.mk: New file with rules for 'make syntax-check'

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove useless cpp parens (syntax-check)

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove trailing whitespaces (syntax-check)

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix space-tab sequences (syntax-check)

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Satisfy sc_require_config_h (syntax-check)

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * bootstrap: Update to version 19

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove == from scripts (syntax-check)
     
     * .travis.sh: == -> =
     * .travis_setup.sh: Likewise
     * contrib/gen_option_diff.sh: Likewise

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not include unused strings.h
     
     * examples/getstream.c: Remove #include <strings.h>
     * libwget/css.c: Likewise
     * libwget/encoding.c: Likewise
     * libwget/hashfile.c: Likewise
     * libwget/metalink.c: Likewise
     * libwget/net.c: Likewise
     * libwget/robots.c: Likewise
     * src/wget.c: Likewise

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Use EXIT_SUCCESS (syntax-check)

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Remove double colons (syntax-check)

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/POTFILES.in: Update (syntax-check)

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Spell filesystem 'file system' (syntax-check)
     
     * docs/wget2_manual.md: filesystem -> file system
     * tests/libtest.c: Likewise
     * tests/libtest.h: Likewise
     * tests/test-wget-1.c: Likewise

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Use O_NONBLOCK instead of O_NDELAY (syntax-check)

2017-04-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add --disable-doc / --enable-doc (default)

2017-04-27 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c: Allocate all memory for progress display together

2017-04-27 Darshit Shah <darnir@gnu.org>

     Prevent tiny memory allocations when globbing
     
     * libwget/utils.c: Rename wget_strnglob to wget_strglob. It now calls
     glob on the entire string.
     * include/wget/wget.h: Change protoype of wget_strnglob
     * src/options.c: Change calls to wget_strnglob to use new wget_strglob
     calls

2017-04-27 Darshit Shah <darnir@gnu.org>

     Improve the benchmark scripts slightly

2017-04-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Add error handler for decompression
     
     * include/wget/wget.h: New functions wget_decompress_set_error_handler()
       and wget_decompress_get_context().
     * libwget/decompressor.c: New functions wget_decompress_set_error_handler()
       and wget_decompress_get_context().
     * libwget/http.c: Implement and set decompressor error handler.

2017-04-13 Michael Heerklotz <michael.heerklotz@check24.de>

     Added a more detailed logging for HTTP errors
     * src/wget.c: More detailed logging for HTTP response code

2017-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Remove double 'help' option

2017-04-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/encoding.c (wget_str_to_ascii): Fall back to TR46 transitional on error

2017-04-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * .gitlab-ci.yml: Create coverage report and online docs

2017-04-24 Darshit Shah <darnir@gnu.org>

     Updated CI configuration

2017-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Update

2017-04-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Add Gitlab CI (Debian)
     
     * .gitlab-ci.yml: New file

2017-04-22 Darshit Shah <darnir@gnu.org>

     * libwget/buffer_printf.c: Cast output of va_arg correctly

2017-04-21 Avinash Sonawane <rootkea@gmail.com>

     * src/options.c (print_version): Remove redundant preprocessor check
2017-04-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --chunk-size with missing Content-Length
     
     * src/wget.c (process_head_response): Don't release job after HEAD
     * tests/libtest.c: Implement WGET_TEST_SERVER_SEND_CONTENT_LENGTH
     * tests/libtest.h: Define WGET_TEST_SERVER_SEND_CONTENT_LENGTH
     * tests/test-wget-1.c: Add new tests for --chunk-size

2017-04-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/job.c (job_validate_file): Fix --chunk-size for partially existing files

2017-04-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Hide wget_cookie_st
     
     * include/wget/wget.h: Remove struct wget_cookie_st declaration,
       add wget_cookie_to_setcookie(),
       add wget_cookie_parse_setcookie(),
       change wget_http_parse_setcookie() cookie param.
     * libwget/cookie.c: Add struct wget_cookie_st declaration,
       (wget_cookie_init): Use xcalloc(),
       (wget_cookie_to_setcookie): New function,
       (wget_cookie_parse_setcookie): New function,
       (_wget_cookie_normalize_cookie): Fix host_only flag.
     * libwget/http.c (wget_http_parse_setcookie): Code moved to
       wget_http_parse_setcookie(),
       (wget_http_parse_response_header): Amend cookie handling.
     * tests/test.c (test_cookies): Amend test code and test data.

2017-04-17 Darshit Shah <darnir@gnu.org>

     * src/options.c: Handle --version similar to --help

2017-04-18 Michael Heerklotz <michael.heerklotz@check24.de>

     Ignore all anchor links instead of only '#'
     
     * examples/check_url_types.c: Modified _normalize_uri() to ignore all anchor links
     * examples/print_css_urls2.c: Removed check for anchor links
     * src/wget.c: Modified _normalize_uri() and _convert_links() to ignore all anchor links

2017-04-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix spelling issues found by ka7/misspell_fixer
     
     * include/wget/wget.h: Fix typo
     * libwget/base64.c: Likewise
     * libwget/http.c: Likewise
     * src/wget.c: Likewise

2017-04-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Mention 'bash ./bootstrap'

2017-04-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/encoding.c (wget_memiconv): Treat non-reversible conversion as error

2017-04-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix -c --chunk-size if the file is already complete
     
     * src/wget.c (process_response_header): Check for status 416
     * tests/test-wget-1.c: Added 2 tests

2017-04-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (_body_callback_context): Change size of max_memory and length to 64bit

2017-04-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * benchmarks/bench_https_http*: Add warmup runs

2017-04-13 Michael Heerklotz <michael.heerklotz@check24.de>

     Added settings --cut-url-get-vars and --cut-file-get-vars and fixed --backups
     
     * docs/wget2_manual.md: Added doc for the new settings
     * src/options.c: Fixed --backups and added --cut-url-get-vars and --cut-file-get-vars
     * src/wget.c: Added --cut-url-get-vars and --cut-file-get-vars
     * src/wget_options.h: Added --cut-url-get-vars and --cut-file-get-vars
     * tests/Makefile.am: Added test-cut-get-vars
     * test-cut-get-vars.c: New file

2017-04-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c (_css_parse_uri): Fix -Wunused-param

2017-04-13 Michael Heerklotz <michael.heerklotz@check24.de>

     Fixed crash in convert-links code introduced with html css parsing
     
     * include/wget/wget.h: Removed unused variable.
     * libwget/html_url.c: Updated code to always return pointer inside "html" variable.
     * test/test-k.c: Updated test to cover the bug.

2017-04-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c: Remove empty _css_parse_encoding()

2017-04-13 Darshit Shah <darnir@gnu.org>

     * libwget/html_url.c: Remove some trailing whitespaces

2017-04-12 Michael Heerklotz <michael.heerklotz@check24.de>

     Added support for html css style tag and attribute
     
     * include/wget/wget.h: Add 'size_t len' to wget_css_parse_buffer()
       and wget_css_get_urls()
     * libwget/css.c (wget_css_parse_buffer): Use yy_scan_bytes() instead
       of yy_scan_string()
     * libwget/css_url.c: Add param to wget_css_get_urls() and
       wget_css_parse_buffer()
     * libwget/html_url.c: Add _css_parse_encoding() and _css_parse_uri(),
       (_html_get_url): Deal with 'style' attribute,
       (wget_html_free_urls_inline): Free url if needed
     * libwget/test_linking.c: Add param to wget_css_parse_buffer()
     * libwget/xml.c (parseXML): Add check for 'style'
     * src/wget.c (css_parse): Add param 'size_t len'
     * tests/Makefile.am: Add new test test-parse-html-css
     * tests/test-parse-html-css.c: New file

2017-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Follow link:rel=preload with --page-requisites
     
     * libwget/html_url.c (_html_get_url): Add rel=preload to be followed
     * tests/test--page-requisites.c: Add a test href for rel=preload

2017-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --page-requisites <link> handling
     
     * libwget/html_url.c: Add helper ctx->uri_index,
       fix "icon shortcut" -> "shortcut icon",
       fix check for "stylesheet"
     * src/wget.c (html_parse): Check for !html_url->link_inline
     * tests/test--page-requisites.c: Add 'not.txt' URL and reference

2017-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add special HTML to test--page-requisites.c
     
     * tests/test--page-requisites.c: Add HTML code
     
     With --page-requisites shortcut icons should not be followed.
     Link with rel="stylesheet" should be followed.

2017-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix progress bar when off_t is 32 bits
     
     * include/wget/wget.h: Amend prototype of wget_human_readable()
     * libwget/bar.c: Use uint64_t instead of off_t
     * libwget/utils.c (wget_human_readable): Change 3rd param off_t -> uint64_t

2017-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/init.c (wget_global_init): Init console

2017-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/console.c (_reset_color): Do not reset color if stdout is not a TTY

2017-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-cut-dirs.c: Add more tests

2017-04-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (_prepare_file): Case-insensitive check for WIN32 NUL file

2017-04-12 Michael Heerklotz <michael.heerklotz@check24.de>

     Fix --cut-dirs
     
     * src/wget.c (get_local_filename): Add / after host part
     * tests/Makefile.am: Add new test 'test-cut-dirs'
     * tests/test-cut-dirs.c: New file

2017-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Add empty line to ChangeLog after date/author

2017-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/libtest.c (_ftp_server_thread): Remove redundant check for WIN64

2017-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/pipe.c: Remove redundant check for WIN64

2017-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix handling of -O /dev/null
     
     * src/wget.c (_prepare_file): Return -2 if filename is /dev/null,
       (http_receive_response): Check outfd for >= 0
     
     Reported-by: Gisle Vanem

2017-04-11 Darshit Shah <darnir@gnu.org>

     Prevent wget2rc from being read during tests
     
     * src/options.c: Treat parse_filename{,s} as string vectors and clear
     them with a no-* command line option
     * tests/libtest.c: Pass --no-config to all the tests by default

2017-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/css_tokenizer.lex: Use clang #pragma for -Wshorten-64-to-32

2017-04-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --chunk-size / -O combination
     
     * src/wget.c (process_head_response): Set metalink->name if
       config.output_document is set.
     
     Reported-by: Gisle Vanem
     Fixes: #177

2017-04-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate prettier ChangeLog from git log
     
     * Makefile.am (gen_changelog): Use git log directly without
       additional gnulib tools.

2017-04-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (_prepare_file): Skip saving to '/dev/null' resp. 'NUL' on WIN32

2017-04-10 Avinash Sonawane <rootkea@gmail.com>

     * configure.ac: Add "-fPIC -pie" for Thread sanitizer

2017-04-10 Avinash Sonawane <rootkea@gmail.com>

     * configure.ac: Fix test for asan and tsan being mutually exclusive
     * configure.ac: Fix test for asan and tsan being mutually exclusive
     * configure.ac: Make `./configure --help` document about msan and tsan being mutually exclusive

2017-04-09 Avinash Sonawane <rootkea@gmail.com>

     * configure.ac: Check for msan and tsan being mutually exclusive

2017-04-09 Avinash Sonawane <rootkea@gmail.com>

     * configure.ac: Check for Valgrind and Sanitizers being mutually exclusive
     
     * configure.ac: Check for valgrind and Sanitizers being mutually exclusive
     * configure.ac: Make ./configure --help document above check
     * configure.ac: Make ./configure --help document the existing check of asan and msan

2017-04-08 Darshit Shah <darnir@gnu.org>

     * docs/libwget.doxy: Fix path to libwget header file for documentation

2017-04-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/css_tokenizer.lex: Suppress clang warnings

2017-04-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/check_url_types.c: Fix clang warning

2017-04-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Support TCP Fast Open on OSX via connectx()

2017-04-07 Darshit Shah <darnir@gnu.org>

     * configure.ac: Don't complain when exhaustive switch has default case

2017-04-07 Darshit Shah <darnir@gnu.org>

     *libwget/http.c: Remove unused attribute from used parameters

2017-04-07 Darshit Shah <darnir@gnu.org>

     *libwget/net.c: Silence clang's -Wconditional-uninitialized

2017-04-07 Darshit Shah <darnir@gnu.org>

     src/options.c (parse_command_line): Silence compiler warning for precision loss

2017-04-07 Darshit Shah <darnir@gnu.org>

     * src/log.c: Silence -Wunused-parameter when not on Windows

2017-04-07 Darshit Shah <darnir@gnu.org>

     * configure.ac: Prevent some useless clang warnings

2017-04-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_open): Disable push for HTTP/2 connections

2017-04-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "* libwget/net.c: Silence -Wundef if TCP_FASTOPEN is undefined"
     
     This reverts commit 2c17f6fc429f4e1edf78b329ff3509d1ed22f392.

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix libraries to use libtool variables
     
     * examples/Makefile.am: Use $(LTLIBICONV) $(LTLIBINTL) $(LTLIBTHREAD)
     * src/Makefile.am: Likewise
     * tests/Makefile.am: Likewise

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c (wget_get_screen_size): Fix return value

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     gnulib: Update

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Silence -Wbad-function-cast in WIN32 futimens()

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Silence -Wunused-parameter if GnuTLS isn't available

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c: Silence -Wunused-parameter if HAVE_IOCTL is undefined

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Silence -Wundef if TCP_FASTOPEN is undefined

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashfile.c: Silence -Wundef from gnulib's hash code

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c: Silence -Wunused-parameter if without LIBPSL

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Silence -Wundef from gnulib's gettext.h

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Reduce warnings from gnulib code

2017-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     gnulib: Update

2017-04-05 Darshit Shah <darnir@gnu.org>

     * .gitignore: Update gitignore file with new tests and examples executables

2017-04-05 Darshit Shah <darnir@gnu.org>

     * src/options.c: Ensure --hpkp-file is tilde expanded as well

2017-04-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix -Wundef warnings
     
     * libwget/decompressor.c: #if -> #ifdef
     * libwget/http.c: Likewise
     * libwget/net.c: Likewise
     * src/wget.c: Likewise

2017-04-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * m4/wget_manywarnings.m4: Fix for MinGW

2017-04-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Remove -Wformat when cross-compiling

2017-04-05 Darshit Shah <darnir@gnu.org>

     * src/options.c: Add hpkp-file to output of wget2 --help

2017-04-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Only read 'no_proxy' if proxy settings exist

2017-04-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Add support for 'no_proxy' environment variable
     
     * include/wget/wget.h: Add flag 'proxied' to wget_http_connection_t,
       add arg 'proxied' to wget_http_request_to_buffer(),
       add new function declaration wget_http_set_no_proxy(),
       add new function declaration wget_http_match_no_proxy().
     * libwget/http.c: Add variable 'no_proxies',
       (wget_http_open): Check host against 'no_proxy' and set 'conn->proxied'
       when appropriate,
       (wget_http_send_request): Call wget_http_request_to_buffer() with
        conn->proxied,
       (wget_http_request_to_buffer): Check 'proxied',
       (_parse_proxies): Cleanup,
       (_parse_no_proxies): New function,
       (wget_http_set_no_proxy): New function,
       (wget_http_match_no_proxy): New function
     * libwget/init.c (wget_global_deinit): Free no_proxy memory
     * libwget/ip.c: Add code in comments (for later use)
     * libwget/utils.c (wget_match_tail, wget_match_tail_nocase): Cleanup
     * src/options.c (init): Handle 'no_proxy' env variable
     * src/wget_options.h (struct config): Add no_proxy member

2017-04-04 Didik Setiawan <ds@didiksetiawan.com>

     Fix illegal memory access when parsing null-terminated string

2017-03-28 Didik Setiawan <ds@didiksetiawan.com>

     * tests/test.c: Add wget_robots_parse unit test

2017-04-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Add futimens() implementation for _WIN32
     
     * src/wget.c: Add futimens() if _WIN32 is defined
     
     Reported-by: Gisle Vanem
     Fixes: #167

2017-04-04 Avinash Sonawane <rootkea@gmail.com>

     Use time_t instead of long
     
     * include/wget/wget.h : Use time_t instead of long
     
     Reported-by : Gisle Vanem

2017-04-04 Avinash Sonawane <rootkea@gmail.com>

     Use https:// instead of git://
     
     * .gitmodule: Use https:// instead of git:// to support proxy environments
2017-04-02 Akash Rawal <argmlac@gmail.com>

     * libwget/http.c: Avoid signed integer overflow due to intermediate ptrdiff_t by casting operands to uintptr_t

2017-03-31 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Add section about clang's CFI

2017-03-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-metalink.c: Free allocated memory to satisfy leak sanitizer

2017-03-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --enable-fsanitize-msan for gcc
     
     * configure.ac: Add -fsanitize=leak if available

2017-03-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix logical operator in brotli code
     
     * libwget/decompressor.c (brotli_decompress): Fix expression
     
     Reported-by: Coverity Scan (cid: 165234)

2017-03-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix possible NULL ptr dereference
     
     * src/wget.c (process_response): Check value for wget_metalink_parse()
     
     Reported-by: Coverity Scan (cid: 149094)

2017-03-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix VPATH issue for test suite
     
     * tests/Makefile.am: Set SRCDIR to $(abs_srcdir)
     * tests/libtest.c: Remove '../' in front of SRCDIR
     * tests/test-i-https.c: Likewise
     
     Reported-by: Akash Rawal

2017-03-29 Akash Rawal <argmlac@gmail.com>

     Fix path of valgrind-suppressions in vpath build
     
     * tests/Makefile.am: For libtests.la, define VGSUPPFILE to absolute path to
       tests/valgrind-suppressions
     * tests/libtest.c: Use VGSUPPFILE macro instead of hardcoded path to
       valgrind-suppressions

2017-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix documentation of wget_vaprintf and wget_aprintf
     
     * libwget/printf.c: Both functions do not return NULL.

2017-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add -Wdeclaration-after-statement to unwanted options (C89 only)

2017-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * m4/wget_manywarnings.m4: Call gcc instead of gcc

2017-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * m4/wget_manywarings.m4: Add extra options only for gcc >= 6

2017-03-29 Avinash Sonawane <rootkea@gmail.com>

     Use atoll() instead of atol() for time_t variables
     
     * libwget/cookie.c: Use atoll() instead of atol()
     * libwget/hsts.c: Likewise
     * libwget/http.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/tls_session.c: Likewise
     * libwget/hpkp.c: Change type of maxage from long to time_t

2017-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis.sh: Set CFLAGS to '-O0 -g'

2017-03-29 Avinash Sonawane <rootkea@gmail.com>

     Read and write time_t as long long int
     
     * libwget/cookie.c: Write time_t as long long int
     * libwget/hsts.c:   Likewise
     * libwget/ocsp.c:   Likewise
     * libwget/tls_session.c: Likewise
     * libwget/hpkp.c:   Read and write time_t as long long int
     
     Reported-By: Tim Rühsen

2017-03-28 Darshit Shah <darnir@gnu.org>

     Prevent a NULL pointer dereference
     
     * src/options.c (parse_header): Prevent derefencing a potential NULL
     pointer
     
     Reported-by: Coverity Scan (cid: 165230)

2017-03-28 Darshit Shah <darnir@gnu.org>

     Fix resource leak
     
     * libwget/http.c (_on_header_callback): Prevent leaking memory when
     there is an empty HTTP2 response
     
     Reported-by: Coverity Scan (cid: 165231)

2017-03-28 Darshit Shah <darnir@gnu.org>

     Prevent resource leak
     
     * src/wget.c (_normalize_uri): Prevent leaking resource urlpart when the
     url is just "#".
     
     Reported-by: Coverity Scan (cid: 165232)

2017-03-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Skip IDNA tests when IDNA not available
     
     * libwget/encoding.c: Fix #ifdef
     * tests/test-idn-cmd.c: Skip if IDNA not available
     * tests/test-idn-meta.c: Likewise
     * tests/test-idn-robots.c: Likewise
     * tests/test.c (test_iri_parse): Skip IDN test

2017-03-25 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/check_url_types.c: Move #include <signal.h> further to the top

2017-03-26 Akash Rawal <argmlac@gmail.com>

     Fix vpath builds
     
     * examples/Makefile.am: Add -DWGETVER_FILE to AM_CPPFLAGS
     * libwget/Makefile.am: Likewise
     * src/Makefile.am: Likewise
     * tests/Makefile.am: Likewise
     * include/wget/wget.h: Include WGETVER_FILE if defined

2017-03-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix regression regarding chunked transfer-encoding
     
     * libwget/http.c (wget_http_get_response_cb): Save data when chunk
       complete in one data packet.
     * tests/Makefile.am: Add new test 'test-chunked'
     * tests/test-chunked.c: New test

2017-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/encoding.c: Include idn-free.h on _WIN32

2017-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xalloc.c (wget_calloc): Init *p explicit (_noreturn issue)

2017-03-23 Gisle Vanem <gvanem@yahoo.no>

     * libwget/xalloc.c (wget_realloc): Initialize variable p to NULL

2017-03-23 Avinash Sonawane <rootkea@gmail.com>

     Fix misuse of libidn & libidn2 memory
     
     * libwget/encoding.c (wget_str_to_ascii):
       Free libidn memory with idn_free(),
       Free libidn2 memory with idn2_free()

2017-03-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix chunk overflow in HTTP download for 32bit systems
     
     * libwget/http.c: Check for pointer overflow
     * tests/test-bad-chunk.c: Adjust tests
     
     Reported-by: Dagobert Michelsen

2017-03-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/random.c: Include process.h on Windows

2017-03-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix console colors for Windows
     
     * include/wget/wget.h: Add WGET_CONSOLE_COLOR_MAGENTA
     * libwget/console.c: Add WGET_CONSOLE_COLOR_MAGENTA
     * src/log.c: Add colors to write functions
     
     Reported-by: Gisle Vanem

2017-03-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/html_url.c (_html_get_url): Fix commented info_printf line

2017-03-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Do not include wordexp.h

2017-03-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/console.c (wget_console_set_fg_color): Fix WIN32 code

2017-03-21 Tim Rühsen <tim.ruehsen@gmx.de>

     NEWS: Mention brotli compression support

2017-03-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Use IDNA2008 + TR46 non-transitional for IRIs
     
     * libwget/encoding.c: Fix unistring includes,
       (wget_str_to_ascii): Check for libidn2 version
     * src/options.c (init): Remove "unistring" output for --version

2017-03-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-k.c: Test link within <script> tag

2017-03-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Update AUTHORS and NEWS

2017-03-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Check NULL value param in wget_iri_escape()
     
     * include/wget/wget.h: Remove G_GNUC_WGET_NONNULL_ALL from wget_iri_escape
     * libwget/iri.c (wget_iri_escape): Check 'src' for NULL value

2017-03-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/check_url_types.c (html_parse): Fix possible crash

2017-03-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Check for invalid 'BASE' URLs in HTML
     
     * src/wget.c (html_parse): Check if 'base' parses correctly
     * tests/test-base.c: Add test with invalid base URL

2017-03-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/tls_session.c: Make code similar to hsts.c

2017-03-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c: Make code similar to hsts.c

2017-03-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hsts.c: Be compliant with Wget 1.x

2017-03-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c (wget_hpkp_db_add): NULLify freed pointer

2017-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Improve msg for invalid OCSP stapling status

2017-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix .netrc parsing
     
     * include/wget/wget.h (_wget_netrc_db_st): Rename .key to .host
     * libwget/netrc.c (wget_netrc_db_add): Fix parsing
     * tests/test.c: New function test_netrc()

2017-03-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (process_response_header): Fix formatting

2017-03-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_verify_certificate_callback): Use GnuTLS error printing

2017-03-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c (_hpkp_db_load): Fix parsing host entries

2017-03-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test.c: Remove call of wget_hpkp_set_port()

2017-03-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove port from HPKP code
     
     * include/wget/wget.h: Remove wget_hpkp_set_port()
     * libwget/hpkp.c (struct _wget_hpkp_st): Remove 'port'
     * src/wget.c (process_response_header): Do not call wget_hpkp_set_port()

2017-03-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add examples/check_url_types.c
     
     * examples/Makefile.am: Add rule for examples/check_url_types
     * examples/check_url_types.c: New file
     
     This adds a Alexa top-X scanner to find out the numbers of
     http:// links in landing pages retrieved via https://.
     It follows and counts redirections separated by secure and insecure
     ones, flags if the landing page was completely secure, counts links
     in the landing HTML page (same-page, external, http, https).

2017-03-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http_highlevel.c (wget_http_get): Do not loop forever on repeating 401 responses

2017-03-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_verify_certificate_callback): Fix #ifdefs

2017-03-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix crash on unexpected server PUSH PROMISE (http/2)
     
     * libwget/http.c (_on_frame_recv_callback): Check for valid context,
       (_on_header_callback): Likewise

2017-03-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Allow new 'expires' format for Set-Cookie header
     
     * libwget/http.c (wget_http_parse_full_date): Allow format
       '1 Mar 2027 09:23:12 GMT'
     * tests/test.c (test_cookies): Test new format

2017-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (_on_frame_recv_callback): Fix decompressor init

2017-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/init.c (wget_global_deinit): Free more resources

2017-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2017-02-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix URL encoding issue in requests
     
     * libwget/iri.c (wget_iri_escape_query): Do not escape ampersand,
       (wget_iri_get_escaped_resource): Use wget_iri_escape_query()
     * tests/test-base.c: Add test URLs with spacing in path, query and param

2017-02-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix URLs to HTTPS where possible

2017-02-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/websequencediagram_high.c: Use https URLs

2017-02-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c (wget_http_get_response): Check if body member is set

2017-02-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/websequencediagram.c: Use HTTPS, fix functionality

2017-02-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix http to https
     
     * README.md: Fix http to https
     * bootstrap.conf: Likewise
     * configure.ac: Likewise

2017-02-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Exclude some URLs from recursive download with -p.
     
     * include/wget/wget.h: Add link_inline to WGET_HTML_PARSED_URL
     * libwget/html_url.c: Add link_inline to _html_context_t,
       (_html_get_url): Set ctx->link_inline
     * src/wget.c (html_parse): Exclude action and formaction URLs,
       exclude certain 'link' URLs from download

2017-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Mention HPKP and brotli support

2017-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Add brotli decompression, Accept-Encoding 'br'

2017-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * wget.c (_css_parse_uri): Fix previous commit

2017-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     * wget.c (_css_parse_uri): Fix charset conversion for CSS parsing

2017-02-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix charset conversion for HTML parsing
     
     * src/wget.c: New helper function _normalize_uri()
       (sitemap_parse_text): Check size before allocating stack space
     * tests/Makefile.am: Add test-iri-subdir
     * tests/test-iri-subdir.c: Add new test

2017-02-23 Tim Rühsen <tim.ruehsen@gmx.de>

     *src/wget.c,src/wget_main.h: Include wget.h in wget_main.h

2017-02-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Restore --config being a list of filenames
     
     * src/options.c: New functions parse_stringlist_expand(),
       parse_filenames().
       Use parse_filenames() for --config / --config-file.

2016-12-03 Darshit Shah <darnir@gnu.org>

     Support tilde expansion of filenames from wgetrc
     
     * src/options.c (_shell_expand): New function to perform tilde
     expansion on a given string
     (parse_filename): Parse the input string and perform shell expansion on
     it using _shell_expand
     (parse_string): Set the parser functions for various options that may be
     set from a config file to use parse_filename
     (wget_strnglob): Run glob() on only the specified part of the string

2017-02-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Print headers before body with -S

2017-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     HPKP: Drop/reject expired entries on save/load
     
     * libwget/hpkp.c: Check max_age on load/save.

2017-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove HPKP entries with zero PINs
     
     * libwget/hpkp.c (wget_hpkp_db_check_pubkey): Fix subdomain default,
       (wget_hpkp_db_add): Remove entry on zero PINs
     * src/wget.c: Remove comment line
     * tests/test.c (test_hpkp): Test this feature

2017-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (_cert_verify_hpkp): Fix for GnuTLS < 3.1.3

2017-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix memleak in HPKP
     
     * include/wget/wget.h: Changed declaration of wget_hpkp_free()
     * libwget/hpkp.c: Use wget_hpkp_free() as destructor function
     * libwget/http.c (wget_http_free_hpkp_entries): Amended
     * tests/test.c: Fix typos

2017-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/certs/README: Add info on how to create pin-sha256 values for HPKP

2017-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test.c: Add unit testing for HPKP

2017-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c (_wget_hpkp_compare_pins): Implement 'includeSubDomains'

2017-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c (wget_hpkp_set_host): Free host before assignment

2017-02-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Implement HPKP checking
     
     * include/wget/wget.h: Add function wget_hpkp_db_check_pubkey(),
       add WGET_SSL_HPKP_CACHE
     * libwget/hpkp.c: Implement wget_hpkp_db_check_pubkey()
     * libwget/ssl_gnutls.c: Implement and use _cert_verify_hpkp()
     * src/options.c (init): Set WGET_SSL_HPKP_CACHE

2017-02-17 Tim Rühsen <tim.ruehsen@gmx.de>

     HPKP API redesign

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Fix position of hpkp options in array

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c (wget_hpkp_db_load): Fix -Wformat=

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (init): Fix calls of wget_str_asprintf()

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     libwget/hpkp.c (wget_hpkp_db_load): Fix -Wsign-compare

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Fix HPKP function declarations

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c: Fix signed/unsigned format warnings

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hpkp.c (wget_hpkp_new): Fix -Wold-style-definition

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Use WGETAPI for hpkp function declarations

2017-01-09 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: version the HPKP file, for the future
     
      * libwget/hpkp.c (wget_hpkp_db_save): write the version number
         (wget_hpkp_db_load): check the version number == 1
2017-01-09 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: Check file is regular or symlink
     
      * libwget/hpkp.c (wget_hpkp_db_save): check if file is regular or symlink. If symlink, resolve it since unlink(2) does not follow symlinks.
2017-01-08 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: Fix memory leaks
     
      * src/wget.c (main, process_response_header): add debug traces
      * libwget/http.c (wget_http_parse_public_key_pins): fix memory leaks
      * libwget/hpkp.c (__wget_hpkp_free, wget_hpkp_db_load): fix memory
        leaks

2017-01-05 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: inline docs

2017-01-05 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: return WGET_HPKP_ENTRY_EXISTS

2017-01-04 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: Define return values.

2017-01-04 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: use vector rather than linked list for b64 pins

2016-12-28 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: add log traces + fix bugs
     

2016-12-27 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: hpkp complete
     

2016-12-13 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: fix wget_hpkp_db_save()
     
      * src/wget.c (main): call wget_hpkp_db_save() at the end (params
        inverted).
      * include/wget/wget.h: export wget_hpkp_db_save().
      * libwget/hpkp.c (__hashtable_browse_cb): fix fprintf format string.
        (wget_hpkp_db_save): check filename is not an empty string.
        (wget_hpkp_db_load): likewise.

2016-12-13 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: new option --hpkp-file
     
      * src/wget_options.h (struct config): new string hpkp_file.
      * src/options.c (struct options): new command-line option --hpkp-file.
        (init): set --hpkp-file default to $HOME/.wget-hpkp.
        (deinit): free config.hpkp_file.
      * src/wget.c (main): call wget_hpkp_db_save() at the end.

2016-12-13 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: new option --hpkp-file
     

2016-12-09 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: functions to load & save the database file
     
      * libwget/hpkp.c (__wget_hpkp_new): new function. NO-OP, NEEDS
        IMPLEMENTATION.
        (__vector_browse_cb): new callback function to browse the vector.
        (__hashtable_browse_cb): new callback function to browse the hash
        table.
        (wget_hpkp_db_save): new function.
        (__wget_hpkp_parse_host_line): new function.
        (__wget_hpkp_parse_pin_line): new function.
        (wget_hpkp_db_load): new function.

2016-11-12 Ander Juaristi <ajuaristi@gmx.es>

     Prototype HPKP functions
     
      * include/wget/wget.h: new public function wget_hpkp_db_init().
      * libwget/hpkp.c: new file.

2016-11-12 Ander Juaristi <ajuaristi@gmx.es>

     Merge from upstream/master
     
     Conflicts: libwget/Makefile.am

2016-11-12 Ander Juaristi <ajuaristi@gmx.es>

     HPKP boilerplate
     
      * libwget/Makefile.am: new file hpkp.c.
      * src/options.c (print_help, struct options): new command line option '--hpkp'.
        (init): initialize HPKP database with wget_hpkp_db_init().
      * src/wget_options.h (struct config): new handle 'hpkp' to the HPKP
        database.

2016-10-25 Ander Juaristi <ajuaristi@gmx.es>

     HPKP: initial commit

2017-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test.c (test_buffer): Add more tests

2017-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/buffer.c (wget_buffer_free_data): Set size to 0

2017-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Fix 'make check-coverage'

2017-02-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix memleak in cookie code
     
     * examples/http_get2.c: Use wget_cookie_db_free() to free cookie db
     * libwget/cookie.c (wget_cookie_db_init): Fix #ifdef around PSL code
     * libwget/init.c (wget_global_deinit): Use wget_cookie_db_free()

2017-02-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * contrib/release: Update

2017-02-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add xz archive format

2017-02-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix possible file name truncation
     
     * tests/test-parse-html.c: Increase buffer for filename
     * tests/test.c: Likewise

2017-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     New function wget_logger_is_active()
     
     * include/wget/wget.h: Add prototype
     * libwget/Makefile.am: Add logger.h
     * libwget/log.c: Include logger.h
     * libwget/logger.c: Include logger.h, add wget_logger_is_active()
     * libwget/net.c: Use wget_logger_is_active()
     * libwget/private.h: Remove struct _wget_logger_st

2017-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Use typedefs for function pointer arguments
     
     * include/wget/wget.h: Add typedefs
     * libwget/cookie.c: Use typedefs
     * libwget/css.c: Likewise
     * libwget/css_url.c: Likewise
     * libwget/decompressor.c: Likewise
     * libwget/hashmap.c: Likewise
     * libwget/hsts.c: Likewise
     * libwget/http.c: Likewise
     * libwget/init.c: Likewise
     * libwget/io.c: Likewise
     * libwget/list.c: Likewise
     * libwget/logger.c: Likewise
     * libwget/metalink.c: Likewise
     * libwget/net.c: Likewise
     * libwget/netrc.c: Likewise
     * libwget/ocsp.c: Likewise
     * libwget/private.h: Likewise
     * libwget/robots.c: Likewise
     * libwget/stringmap.c: Likewise
     * libwget/tls_session.c: Likewise
     * libwget/vector.c: Likewise
     * libwget/xml.c: Likewise
     * src/blacklist.c: Likewise
     * src/host.c: Likewise
     * src/options.c: Likewise
     * src/wget.c: Likewise
     * tests/stringmap_perf.c: Likewise
     * tests/test.c: Likewise

2017-01-20 Tim Rühsen <tim.ruehsen@gmx.de>

     base46: Use size_t as string length param

2017-01-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (restrict_file_name): Fix clang warning

2017-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Add typedef for wget_vector_browse() callback function
     
     * include/wget/wget.h: Add typedef wget_list_browse_cb_t
     * libwget/list.c: Use wget_list_browse_cb_t

2017-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Add typedef for wget_update() callback functions
     
     * include/wget/wget.h: Add typedef wget_update_cb_t
     * libwget/cookie.c: Use wget_update_cb_t
     * libwget/hsts.c: Likewise
     * libwget/tls_session.c: Likewise

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     gnulib: Update

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c (wget_ready_2_transfer): Fix INF timeout for select()

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "* .travis_setup.sh: Install graphiz and libidn2 on OSX"
     
     This reverts commit 31c287f2ce90593e493c25581b351d7b944b8ff4.

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * .travis_setup.sh: Install graphiz and libidn2 on OSX

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix search for '-e' commands
     
     * src/options.c (set_long_option): Fallback to unsharp linear search,
       (opt_compare_execute): Amend params.

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Fallback to select() if poll() not available
     
     * bootstrap.conf: Add module select
     * libwget/io.c (wget_ready_2_transfer): Add fallback code

2017-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (http_receive_response): Small code cleanup

2017-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Add console color abstraction
     
     * docs/Makefile.am: Add libwget-console.3
     * include/wget/wget.h: Add console routines
     * libwget/Makefile.am: Add libwget/console.c
     * libwget/console.c: New file with console functions
     * src/log.c: Add WIN32 and console function calls

2017-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Add function wget_truncate()
     
     * bootstrap.conf: Ad gnulib module ftruncate
     * include/wget/wget.h: Add wget_truncate
     * libwget/io.c: Add wget_truncate
     * src/job.c: Call wget_truncate instead of truncate
     
     The truncate() function is not covered by gnulib.
     wget_truncate() is a wrapper around ftruncate(), which is covered
     by gnulib.

2017-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/stringmap_perf.c: Use wget_malloc if mmap not available

2017-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c (_cookie_db_save): Fix ferror() check
     
     Reported-by: Gisle Vanem

2017-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * gnulib: Update

2017-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/Makefile.am: Add more libs to LDADD

2017-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (downloader_thread): Slow down on connection errors

2017-01-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Let MSVC compile libwget/init.c (wget_global_init)
     
     Reported-by: Gisle Vanem

2017-01-05 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (init): Call wget_net_init()

2017-01-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove redundant check for _WIN64

2017-01-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Add network init function to bootstrap sockets on Windows
     
     * bootstrap.conf: Add gnulib module 'sockets'
     * examples/http_get2.c: Call wget_net_init()
     * include/wget/wget.h: Add wget_net_init() and wget_net_deinit()
     * libwget/init.c (wget_global_init): Call wget_net_init(),
       (wget_global_deinit): Call wget_net_deinit()
     * libwget/net.c: Add wget_net_init() and wget_net_deinit()

2016-12-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget_str_[v]asprintf to wget_[v]aprintf
     
     * include/wget/wget.h: Rename wget_str_[v]asprintf to wget_[v]aprintf
     * libwget/http.c: Likewise
     * libwget/iri.c: Likewise
     * libwget/printf.c: Likewise
     * libwget/vector.c: Likewise
     * src/options.c: Likewise
     * tests/test-metalink.c: Likewise

2016-12-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Adjust GnuTLS priorities
     
     * libwget/ssl_gnutls.c (wget_ssl_init): Use system defaults for
       secure_protocol "auto".
       (wget_ssl_open): Set compatibility mode for "auto".

2016-12-21 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/cookie.c (wget_cookie_db_init): Fix argument of psl_latest()

2016-12-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Reduce redundant code by using strchrnul()
     
     * bootstrap.conf: Add gnulib module strchrnul
     * libwget/http.c (_parse_proxies): Remove redundant code
     * libwget/ssl_gnutls.c (wget_ssl_open): Likewise

2016-12-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2_manual.md: Add description for --config-file

2016-12-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Read $SYSTEM_WGET2RC, $WGET2RC and ~/.wget2rc as config file
     
     This patch separates the config files of wget and wget2.
     Config files are read in the order they appear on the command line.
     
     Fixes #132

2016-12-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (parse_stringlist): Remove redundant code

2016-12-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/thread.c: Return a value in dummy wget_thread_cancel()
     
     Reported-by: Gisle Vanem

2016-12-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (process_response): Ignore sitemaps with --page-requisites

2016-12-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c (selftest_options): Clear config.headers before and after use

2016-12-13 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Relax CLI and config file parser regarding spaces

2016-12-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Take advantage of libpsl 0.16+
     
     * libwget/cookie.c (wget_cookie_db_init): Use psl_latest() if possible

2016-12-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-bad-chunk.c: Remove WGET_TEST_KEEP_TMPFILES

2016-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests with bad chunk size in the HTTP response
     
     * tests/Makefile.am: Add test-bad-chunk.c
     * tests/test-bad-chunk.c: New file with 3 tests

2016-12-02 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Ignore Transfer-Encoding for HTTP/2 requests

2016-11-30 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Respect WGETRC and SYSTEM_WGETRC env vars

2016-11-16 Darshit Shah <darnir@gnu.org>

     * docs/wget2_manual.md: Update description of -O

2016-11-16 Darshit Shah <darnir@gnu.org>

     Make the visibiity attribute preceed the prototype
     
     * include/wget/wget.h: Make library symbol export attribute
     ((__visibility__)) preceed the function prototype to work on Windows
     with MSVC
     * tests/libtest.h: Same
     
     Reported-by: Gisle Vanem

2016-11-16 Darshit Shah <darnir@gnu.org>

     Rename LIBWGET_EXPORT to WGETAPI
     
     * include/wget/wget.t: Rename LIBWGET_EXPORT to WGETAPI
     * tests/libtest.h: Same

2016-11-16 Darshit Shah <darnir@gnu.org>

     Export symbols only from wget.h
     
     * libwget/iri.c: Move exporting of symbol wget_iri_schemes from here
     * include/wget/wget.h: To here

2016-11-16 Darshit Shah <darnir@gnu.org>

     Replace x{malloc,calloc} calls with wget_* methods
     
     * include/wget/wget.h: Remove preprocessor definitions for xmalloc,
     xcalloc and xrealloc
     * src/job.c(job_validate_file): Replace xcalloc with wget_calloc
     * src/wget.c(main): Same
     (process_head_response): Same
     (_prepare_file): Same
     (http_send_request): Same

2016-11-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix integer overflow in ratio calculation
     
     * libwget/bar.c (_bar_update_slot): Fix integer overflow in ratio calculation
     
     Fixes #125

2016-11-15 Darshit Shah <darnir@gnu.org>

     Fix timestamp in If-Modified-Since header
     
     * src/wget.c(http_create_request): Use mtime instead of mtime+1
     
     According to RFC 7238, section 3.3, an origin server may use exact
     timestamp matching to implement conditional requests. Hence, Wget must
     not modify the mtime at all

2016-11-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/bar.c (bar_init): Disable progress bar if threading is not available

2016-11-12 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c (_bar_set_progress): Typecast the right value to integer

2016-11-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Move m4 wget_ functions to m4/
     
     * .gitignore: Add exception m4/wget_manywarnings.m4
     * configure.ac: Remove manywarnings m4 code
     * m4/wget_manywarnings.m4: Add manywarnings m4 code here

2016-11-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Define and use wget_MANYWARNINGS m4 macro

2016-11-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ip.c: Fix syntax error in docs

2016-11-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: Use open() instead of creat()
     
     open() is covered by gnulib, creat() not.

2016-11-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Use defines for O_CREAT perms instead
     
     * src/log.c (_write_out): Use S_* defines instead of 0644 for perms
     * src/wget.c (_prepare_file): Likewise

2016-11-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/thread.c: Add missing wget_thread_cancel() dummy

2016-11-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * AUTHORS: Update

2016-11-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c: Include sys/ioctl.h on Windows.
       (_set_async): Use ioctl() instead of ioctlsocket().
     
     Reported-by: Gisle Vanem

2016-11-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget.h: G_GNUC_WGET_PRINT_FORMAT -> G_GNUC_WGET_PRINTF_FORMAT

2016-11-06 Ander Juaristi <ajuaristi@gmx.es>

     New function to check for literal IPv4/IPv6 addresses
     
     * bootstrap.conf: Add gnulib module 'inet_pton'
     * docs/Makefile.am: Add man page libwget-ip.3
     * wget/wget.h (struct wget_iri_st): New field 'is_ip_address'.
     * libwget/Makefile.am: Add new file ip.c
     * libwget/ip.c: New file defining new function wget_ip_is_family()
     * libwget/iri.c (wget_iri_parse): Check for literal IP address
     * src/wget.c: Do not add to HSTS if literal IP address

2016-11-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Remove old commented code

2016-11-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib

2016-11-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Use gnulib basename
     
     * bootstrap.conf: Add gnulib module 'dirname'
     * libwget/io.c: Use base_name() to get file basename

2016-11-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Fix compilation error

2016-11-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/wget/wget.h: Define empty LIBWGET_EXPORT if LIBWGET_STATIC is defined

2016-11-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/xalloc.c (wget_realloc): Call OOM callback if size is 0

2016-11-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Do not check for munmap()

2016-11-06 Ander Juaristi <ajuaristi@gmx.es>

     New inline function to compute length of base64 decoded string
     
      * include/wget/wget.h (wget_base64_get_decoded_length): new function
      * libwget/tls_session.c (_tls_session_db_load): use
        wget_base64_get_decoded_length().

2016-11-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Use wget_strdup() instead of strdup()
     
     * examples/getstream.c: Use wget_strdup().
     * libwget/cookie.c: Likewise.
     * libwget/encoding.c: Likewise.
     * libwget/http.c: Likewise.
     * libwget/iri.c: Likewise.
     * libwget/netrc.c: Likewise.
     * src/options.c: Likewise.
     * src/wget.c: Likewise.
     * tests/test.c: Likewise.

2016-11-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashmap_old.c: Removed

2016-11-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Understand 'Debian clang' and 'gcc-x.y' for

2016-11-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix gcc/clang warnings from the new manywarnings feature
     
     * configure.ac: Suppress -Wunsuffixed-float-constants for gcc,
       add -Wno-disabled-macro-expansion to clang flags
     * examples/getstream.c: Removed 'unused' attributes from argc and argv.
     * include/wget/wget.h: Fix slot to int for bar functions.
     * libwget/bar.c: Fix slot to int for bar functions, cast to int,
       change type of bitfield 'redraw' to unsigned.
     * libwget/hsts.c (wget_hsts_new): Fix int to bitfield conversion.
     * libwget/http.c: Cast printf %p format to (void *).
     * src/wget.c: Cast printf %p format to (void *),
       remove ACTION_DONE from enum actions.
     * src/wget_host.h: Fix double declaration of host_remove_job()
     * tests/libtest.c (wget_test_check_filesystem): Fix type of 'rc'.
     * tests/test-idn-robots.c: Fix comma to semikolon at end of line.
     * tests/test.c (test_strcasecmp_ascii): Fix type of loop variable.

2016-11-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Replace manywarnings module by our own code
     
     * bootstrap.conf: Remove manywarnings, add warnings
     * configure.ac: Replace manywarnings code
     
     The new code works on recent gcc and clang with an overhead of
     ~100ms instead of ~9s here (without -C).
     This is meant for developers only and is activated by either
     --enable-gcc-warnings or by touching .manywarnings.

2016-10-23 Darshit Shah <darnir@gnu.org>

     Fix parse_header() and add more tests
     
     * src/options.c (parse_header): Fix bug where empty string did not clear
     out all the headers
     * src/options.c (selftest_options): Fix testcase for parse_header and
     add more tests

2016-10-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Check for gcrypt.h
     
     * configure.ac: Check for gcrypt.h
     * libwget/hashfile.c: Check for HAVE_GCRYPT_H

2016-10-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib digest hash fallback
     
     * bootstrap.conf: Add md2, md5, sha1, sha256, sha512 modules
     * libwget/hashfile.c: Add code branch to use gnulib functions if needed

2016-10-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-iri.c: Fix test to work on non-UTF-8 locales

2016-10-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-iri-percent.c: Fix test to work on non-UTF-8 locales

2016-10-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test-restrict-ascii.c: Fix test to work on non-UTF-8 locales

2016-10-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/hashfile.c: Remove unused defines

2016-10-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Make --header replace wget's standard headers
     
     * libwget/http.c (wget_http_create_request): Add 'Host' header
       to header list,
       (wget_http_send_request): Do not add 'Host' hard-coded,
       (wget_http_request_to_buffer): Special treatment of 'Content-Length'
     * src/wget.c (http_create_request): Replace wget's HTTP headers by
       user-provided headers, except 'Cookie' headers which will be appended.

2016-10-13 Darshit Shah <darnir@gnu.org>

     Support --header option
     
     * src/options.c: Add new --header option and a new parse_header()
     parsing function for that. Also add self tests for parsing
     * src/wget_options.h: Same
     * src/wget.c (http_create_request): Add the user added headers to the
     HTTP Request
     * src/test-wget-1.c: Add a test for the --header option

2016-10-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Separate progress bar logic into library and application parts
     
     * include/wget/wget.h: Remove struct _wget_bar_ctx and wget_bat_ctx_t,
       amend prototypes of wget_bar functions,
       new function wget_bar_write_line()
     * libwget/bar.c: Bunch of cleanups and code rearrangements
     * src/wget_progress.h: Remove
     * src/Makefile.am: Remove src/wget_progress.h
     * src/bar.c: Remove mutex usage,
       (_error_write) call wget_bar_write_line
     * src/log.c: Remove redundant param checks
     * src/wget.c: Add struct _body_callback_context,
       always call bar_slot_begin() on begin of new download,
       use downloader->id as progress slot
     * src/wget_bar.h: Amend prototypes of bar_ functions

2016-10-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Call bar_update_slot() from main thread
     
     * libwget/bar.c: Fix typos,
       (wget_bar_set_slots): Init mem only when needed,
       add comments describing Escape sequences
     * src/bar.c (bar_update_slots): Take nslots as param
     * src/wget.c: Move call to bar_update_slots() from worker to main thread
     * src/wget_bar.h: Amend prototype of bar_update_slots()

2016-10-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/wget2_manual.md: More changes for Wget2

2016-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix quota calculation

2016-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Fix update of downloaded bytes for progress bar

2016-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Print debug messages using debug_printf()

2016-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Amend Wget2 banner string

2016-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/host.c (host_queue_free): Also free robots.txt job

2016-10-07 Darshit Shah <darnir@gnu.org>

     * configure.ac: Ignore the Stack Protector warnings

2016-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Support compression for HTTP/2

2016-10-07 Darshit Shah <darnir@gnu.org>

     Improved testing on Travis
     
     * .travis.sh: Rewrite for clarity and speed. Testing shows that valgrind
     and ASan don't play well together. So split their executions.
     * .travis.yml: Enable ccache for builds. Also try to update libc6 if
     possible
     * .travis.yml: Do not run on OSX with CC=gcc. This is because on OSX,
     gcc is only a wrapper around clang.
     * .travis_setup.sh: Cosmetic changes only
     * Makefile.am (check-coverage): Explcicitly disable valgrind tests when
     checking coverage
     * tests/libtest.c (wget_test): Use a provided suppressions file for
     valgrind. This is required since the valgrind version on Travis seems to
     be out of sync with libc. This causes valgrind to report a memory bug
     falsely.
     * tests/valgrind-suppressions: New file with some valgrind suppressions.
     Included suppressions are for a valgrind/libc bug and to suppress
     reachable memory messages from within gnutls

2016-10-06 Darshit Shah <darnir@gnu.org>

     Revert "Test travis"
     
     This reverts commit 75daf2cdc791d1d01892aae9138c103e405a1f53.
     I screwed up. Pushed to the wrong repository

2016-10-06 Darshit Shah <darnir@gnu.org>

     Test travis

2016-10-05 Darshit Shah <darnir@gnu.org>

     * src/wget.c (nop): Add ifddef guards around SIGWINCH

2016-10-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix progress bar details
     
     * include/wget/wget.h: wget_get_screen_size() must not be pure
     * libwget/bar.c (_bar_get_width): Leave one space right to avoid linebreaks
     * libwget/utils.c (wget_human_readable): Align # of bytes
     * src/bar.c (wget_get_screen_size): Fix return value

2016-10-04 Darshit Shah <darnir@gnu.org>

     Export a new function for determining screen dimensions
     
     * include/wget/wget.h: New function wget_get_screen_size. Replaces old
     wget_determine_screen_width
     * libwget/bar.c (_bar_get_width): Use wget_get_screen_size instead of
     wget_determine_screen_width
     * libwget/utils.c: Replace function wget_determine_screen_width with a
     more generic wget_get_screen_size.

2016-10-04 Darshit Shah <darnir@gnu.org>

     Handle SIGWINCH for progress bar
     
     * include/wget/wget.h: New function wget_bar_screen_resized, as an
     indicator that the screen size may have changed. Also, wget_bar_update
     may now modify the *bar parameter
     * libwget/bar.c: Move detection code for screen size into a separate
     function called _bar_get_width.
       (wget_bar_update): Check if the screen width has changed and
     reallocate more space if necessary
     * src/wget.c: Install a new signal handler for SIGWINCH

2016-10-03 Darshit Shah <darnir@gnu.org>

     Move window size detection to libwget
     
     * include/wget/wget.h: Declare new function wget_determine_screen_width.
     Also change prototype of wget_bar_init to not accept a max_width
     parameter
     * src/utils.c: Move function determine_screen_width from here ...
     * libwget/utils.c: ... to here.
     * src/utils.{c,h}: Delete empty file
     * src/Makefile.am: Remove source files utils.{c,h}
     * src/bar.c: Move detection of screen width from here ...
     * libwget/bar.c: ... to here
     * tests/test.c: wget_bar_init() no longer takes a max_width parameter

2016-10-03 Darshit Shah <darnir@gnu.org>

     Cleaner API for progress bar within libwget
     
     * include/wget/wget.h (_wget_bar_ctx): Remove unused elements
     expected_size and filename. Rename slotpos to _slotpos to reflect that
     it should not be used by the client.
     * include/wget/wget.h: Remove declaration for old API functions
     bar_register and bar_deregister. Define declarations for
     wget_bar_slot_begin, wget_bar_slot_register and
     wget_bar_slot_deregister.
     * libwget/bar.c (_bar_slot_status_t): Define new enum to store the
     status of a slot of the progress bar.
       (_bar_slot_t): Remove unused element last_ctx. Also, define slot
       elements: filename, file_size, bytes_downloaded and status.
       (wget_bar_slot_begin): Define new function. Invoked when the client
       has started downloading a new file.
       (wget_bar_slot_register): New function to register a new file in a
       progress bar slot.
       (wget_bar_deregister): Remove old function
       (wget_bar_slot_deregister): New function, called after file has
       finished downloading. Successfully or unsuccessfully.
       (wget_bar_deregister): Remove old function
       (_bar_set_progress): last_ctx is no longer used. Instead data is
       stored within the slot struct itself
       (_bar_update_slot): Same
       (_bar_print_final): Same
       (wget_bar_deinit): Free the filename stored in the slot
     * src/bar.c: Edit to reflect the changes in libwget API
     * src/wget.c (_get_header): Same
       (http_send_request): Same
       (http_receive_response): Same
     * src/wget_bar.h: Same

2016-10-03 Darshit Shah <darnir@gnu.org>

     * libwget/bar.c: Remove mutex stdout
     
     The mutex stdout was meant to ensure that multiple routines don't write
     to the screen concurrently. However, this mutex is not required, since
     such syncronization should be handled by the client using the library.
     All other library methods for the progress avoid any form
     synchronization primitives for this reason

2016-10-03 Darshit Shah <darnir@gnu.org>

     * src/bar.c: Rename mutex to bar_mutex

2016-10-02 Darshit Shah <darnir@gnu.org>

     * libwget/http.c: Remove unused struct _body_callback_context

2016-09-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Better code coverage for HTML parsing
     
     * tests/test-idn-meta.c: Add HTML5 meta charset
     * tests/test-meta-robots.c: Add meta robots 'all' and 'follow'

2016-09-30 Darshit Shah <darnir@gnu.org>

     Mark some functions as pure
     
     * libwget/cookie.c (_compare_cookie{,2}): Mark as pure
     * libwget/encoding.c (_utf8_is_valid): Same
     * libwget/hsts.c (_compare_hsts): Same
     * libwget/ocsp.c (_compare_ocsp): Same
     * libwget/netrc.c (_compare_netrc): Same
     * libwget/tls_session.c (_compare_tls_session): Same

2016-09-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename include/libwget.h to include/wget/wget.h+wgetver.h

2016-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests for CSS parsing
     
     * tests/Makefile.am: Add test-parse-css.c
     * tests/test-parse-css.c: New file including two tests

2016-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Remove unwanted stuff from coverage report

2016-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Reduce Travis OSX build overhead

2016-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test.c: Add wget_bar_* unit test

2016-09-29 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/bar.c: Cosmetics, param check for wget_bar_init()

2016-09-28 Darshit Shah <darnir@gnu.org>

     Don't dereference NULL pointer when copying filename
     
     * libwget/bar.c (wget_bar_deregister): Make sure filename is not NULL
     before calling strdup() on it

2016-09-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Check WITH_LIBNGHTTP2 before referring nghttp2_nv

2016-09-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix race condition when pipelining reuqests
     
     * libwget/http.c: Add streamid to debug messages
     * src/progress.h: Remove member downloader and head from _body_callback_context
     * src/wget.c (downloader_thread): Keep track of locking,
       (_get_header): Remove reference to downloader,
       (http_send_request): Replace downloader with job
     
     With HTTP/2 pipelining (parallel streams per connection) is active.
     The bug fixed stops file descriptor leaks and writing data into wrong
     files.

2016-09-27 Dagobert Michelsen <dam@opencsw.org>

     * README.md: Add build status for OpenCSW

2016-09-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/net.c (wget_tcp_resolve): Fix mutex unlocking

2016-09-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_url, process_response): Fix NULL pointer dereference
     
     Reported-by: Coverity

2016-09-26 Darshit Shah <darnir@gnu.org>

     * src/wget.c (establish_coneection): Don't crash when no mirrors defined for metalink file

2016-09-26 Darshit Shah <darnir@gnu.org>

     * libwget/net.c (wget_tcp_resolve): Don't sleep with an acquired mutex

2016-09-27 Darshit Shah <darnir@gnu.org>

     Support dynamic thread allocation in progress bar
     
     * include/libwget.h.in: Add new function wget_bar_set_slots
     * libwget/bar.c (_wget_bar_st): Add new struct member max_slots to store
     the maximum number of slots of the progress bar
       (wget_bar_init): Initialize the memory for all the possible
     progress_bars
       (wget_bar_set_slots): New function to modify the number of progress
     slots at runtime. Can only increase the number of slots, not decrease.
     * src/bar.c(bar_init): Remove unneeded variable lf. bar_init() is
     invoked before any threads are created, hence do not print the required
     newlines. This is now done by wget_bar_set_slots
       (bar_update_slots): Wget2 interface for libwget's wget_bar_set_slots
       (_error_write): Fix the position of acquiring the mutex. Don't make
       changes to the screen while some other progress bar function may be
       running
     * src/bar.h: New function bar_update_slots
     * src/wget.c: Create global variable nthreads.
       (downloader_thread): Update the number of progress bar slots
     * src/wget.h: New global variable nthreads

2016-09-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Simplify dynamic creation of threads
     
     * src/bar.c (bar_init): Use config.max_threads
     * src/options.c: Remove config.num_threads
     * src/options.h: Remove config.num_threads
     * src/wget.c (main): Use config.max_threads, remove async_urls

2016-09-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (main): Fix main loop
     
     This also fixes the CTRL-C issue.

2016-09-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix unescaping of '+' in URL
     
     * libwget/iri.c (wget_iri_unescape_inline): Do not touch '+'.
       (wget_iri_parse): Replace '+' by ' ' in query part.
     * tests/test.c (test_iri_parse): Add more tests

2016-09-26 Darshit Shah <darnir@gnu.org>

     Make wget_bar_update update the entire progress

2016-09-26 Darshit Shah <darnir@gnu.org>

     Draw animated progress bar for unknown file size
     
     * libwget/bar.c: Use a tick counter and draw an animated progress bar,
     similar to Wget 1.x when the file size is unknown

2016-09-26 Darshit Shah <darnir@gnu.org>

     * configure.ac: Enable support for disabling assertions

2016-09-26 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Add Coverity and Coveralls.io badge

2016-09-25 Darshit Shah <darnir@gnu.org>

     Update travis script to psuh to coveralls.io
     
     * .travis.sh: Run `make check-coverage` when running with CC=gcc
     * .travis.yml: Use the newer trusty tahir builds for updated packages
     * .travis.yml: Refactor. Split out the OSX installation steps into
     .travis_setup.sh
     . .travis_setup.sh: Same
     * Makefile.am: Add --ignore-errors source to lcov command line

2016-09-25 Darshit Shah <darnir@gnu.org>

     * Makefile.am: Add targets for checking code coverage

2016-09-23 Darshit Shah <darnir@gnu.org>

     Improved progress bar functioning

2016-09-23 Darshit Shah <darnir@gnu.org>

     Clean up progress bar code
     
     Saving the max, cols and ratio to the slot structure was an optimization
     used to prevent unneeded refreshes of the progress bar on slow
     connections. However, with the asynchronous progress bar, this
     optimization is no longer necessary as we refresh the progress bar far
     fewer times already. Also, as other elements like the ETA are added to
     the progress bar, these checks will only cause more problems as the ETA
     would need to be updated even if no data has been downloaded in some
     time.
     
     * libwget/bar.c: Remove ratio, max, cur, cols and first from the
     _wget_slot_st struct and eliminate all references to them.

2016-09-23 Darshit Shah <darnir@gnu.org>

     Print a different progress bar when size is unknown
     
     * libwget/bar.c(_wget_bar_st): New struct members known_size and
     unknown_size to denote the character with which the progress bar is
     filled in these two cases
       (wget_bar_init): Initialize the new struct members with the right data
       (wget_bar_update): Choose and print the right character based on
       whether the size is known or not.
       (_bar_print_final): Same
       (wget_bar_deinit): Free the struct members

2016-09-23 Darshit Shah <darnir@gnu.org>

     * src/bar.c(_error_write): Fix another potential race condition
     
     In this case, the lock acquisition and release is done around the for
     loop instead instead of around the call to wget_bar_update. By creating
     such a coarse critical section, we ensure that the entire screen has
     been redrawn for the user before any further changes to it are made.
     This is especially the case when error_printf() is invoked in quick
     succession which would cause multiple instances of wget_update_thread()
     to run simultaneously, greatly increasing the lock contention.

2016-09-23 Darshit Shah <darnir@gnu.org>

     * src/bar.c (_bar_update_thread): Fix a potential race condition

2016-09-20 Darshit Shah <darnir@gnu.org>

     Improve accuracy of wget_human_readable
     
     * libwget/utils.c (wget_human_readable): Set acc to 1000 and print to 2
     decimal places. This is similar to the settings used in Wget 1.x.
     * libwget/bar.c (_bar_slot_t): Define element human_size to be as large
     as _BAR_DOWNBYTES_SIZE.

2016-09-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Use wget_human_readable() from Wget1.x
     
     * bootstrap.conf: Remove module 'human'
     * include/libwget.h.in: Amend wget_human_readable()
     * libwget/bar.c: Use new function wget_human_readable()
     * libwget/utils.c: Replace wget_human_readable()
     * src/wget.c: Use new function wget_human_readable()

2016-09-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Print human readable total number of bytes in progress bar
     
     * include/libwget.h.in: Add wget_human_readable_alloc()
     * libwget/utils.c: Add wget_human_readable_alloc()
     * libwget/bar.c: Use wget_human_readable_alloc()
     * src/bar.c (bar_init): Set log function after call to wget_bar_init()
     * src/wget.c (main): Use wget_human_readable() to print bottom line of bar

2016-09-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Use libwget alloc functions in CSS parser
     
     * libwget/css.c: New wrapper functions yyalloc() and yyrealloc()
     * libwget/css_tokenizer.lex: Set options noyyalloc and noyyrealloc

2016-09-19 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c: Fix calculation of quota

2016-09-19 Darshit Shah <darnir@gmail.com>

     * README.md: Fix typo

2016-09-17 Darshit Shah <darnir@gmail.com>

     Retain a copy of download context for progress bar
     
     When the screen is scrolled or resized, we often need to redraw the
     entire progress bar. However, when some threads have completed
     downloading, this can cause those progress slots to become blank since
     their contexts were deleted and hence lost. To prevent this, keep a copy
     of the last context in the slot, so we can access it later for printing
     the progress bar.
     
     * libwget/bar.c (_bar_slot_t): New member, last_ctx
       (wget_bar_deregister): Create a copy of the context just before we
       deregister. This ensures that we copy the latest data for printing
       (wget_bar_update): If no context is registered, then try printing the
       last context available
       (_bar_print_final): Make the method signature similar to
       wget_bar_update for consistency

2016-09-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix Robots Exclusion Standard
     
     * include/libwget.h.in: Add function wget_list_getnext().
     * libwget/list.c: Add function wget_list_getnext().
     * libwget/robots.c: Fix memory leak.
     * src/host.c (host_remove_job): Cleanup queue after downloading and
       scanning robots.txt.
     * src/job.h (struct JOB): Add flag 'requested_by_user'.
     * src/wget.c (add_url_to_queue): Set 'requested_by_user',
       (add_url): Fix checking for disallowed paths.
     * tests/Makefile.am: Add test 'test-robots'.
     * tests/test-robots.c: New test to prove robots functionality.
     
     Special handling for automatic robots.txt jobs
     ==============================================
     What can happen with --recursive and --span-hosts is that a document from hostA
     has links to hostB. All these links might go into the hostB queue before robots.txt
     is downloaded and parsed. To avoid downloading of 'disallowed' documents, the queue
     for hostB has to be cleaned up right after downloading and parsing robots.txt.
     Any links links that have been explicitly requested by the user are still downloaded.

2016-09-14 Darshit Shah <darnir@gmail.com>

     Use gnulib human module for human readable file size
     
     * bootstrap.conf: Add the human module and its dependency unistd
     * include/libwget.h.in: Replace method signature for wget_human_readable
     * libwget/bar.c (_bar_slot_t): Add a new struct memeber for storing the
     human readable string that it printed on the progress bar
       (wget_bar_init): Initialise the new human_size struct member
       (wget_bar_update): Use the new wget_human_readable() method
       (_bar_print_final): Same
       (wget_bar_deinit): Free the allocated memory for each slot
     * libwget/utils.c (wget_human_readable): Replace the old function with a
     call to the human_readable() method from gnulib

2016-09-14 Darshit Shah <darnir@gmail.com>

     Handle return value of wget_thread_create
     
     * src/bar.c: Handle return value of wget_bar_create and fallback to
     quiet mode if progress bar cannot be drawn

2016-09-14 Darshit Shah <darnir@gmail.com>

     Update gnulib module

2016-09-11 Darshit Shah <darnir@gmail.com>

     Split logging functions into stdout and stderr

2016-09-10 Darshit Shah <darnir@gmail.com>

     Fix location of error messages in progress bar
     
     * src/bar.c (_error_write): New logging callback function for error
     messages which will print the messages to the top of the progress bars
     * src/log.c (log_write_error): New public method for writing error
     messages to screen
     * src/log.h: Same

2016-09-14 Darshit Shah <darnir@gmail.com>

     Separate out the last update of the progress bar
     
     When the progress bar is updated for the last time (whether exiting due
     to error, or download complete), we may want to print information not
     normally presented in the progress bar, like total time taken. To allow
     this, separate out the printing of the last update of the progress bar
     
     * include/libwget.h.in (_wget_bar_ctx): Remove unused members, final and
     cond
     * libwget/bar.c: Separate out the bar slot selection for reuse.
     (_bar_print_final): New method for printing the last update of a
     progress bar

2016-08-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix wget_bar_free()

2016-08-07 Darshit Shah <darnir@gmail.com>

     Better naming of functions

2016-08-08 Darshit Shah <darnir@gmail.com>

     Separate out bar_deinit and free'ing memory
     
     * libwget/bar.c (wget_bar_init): Invoke wget_bar_deinit() to free up the
     memory allocated to the various progress bar sections. Similarly, invoke
     wget_bar_free() to free up the memory allocated to the progress bar
     itself

2016-09-14 Darshit Shah <darnir@gmail.com>

     Use xfree, xmalloc and xcalloc
     
     * libwget/bar.c: Replace all calls to free(), malloc() and calloc() with
     xfree(), xmalloc() and xcalloc() respectively
     * libwget/hashmap.c: Same

2016-08-07 Darshit Shah <darnir@gmail.com>

     Change tabs to spaces when not at Beginning of line

2016-08-07 Tim Ruehsen <tim.ruehsen@gmx.de>

     Fix compiler warnings when IOCTL is not avaialble
     
     * src/utils.c (determine_screen_width): Make sure there are no unused
     variables when IOCTL is not available

2016-08-07 Darshit Shah <darnir@gmail.com>

     Make compiler happy about strict-prototypes and shadowed variables

2016-08-06 Darshit Shah <darnir@gmail.com>

     Use pthread_cancel to kill a thread
     
     * include/libwget.h.in: Export new function wget_thread_cancel to kill
     an existing thread nicely.
     * libwget/thread.c: Same
     * src/bar.c: Use the cleaner wget_thread_cancel() method to kill the
     progress bar instead of polling for a variable.

2016-07-28 Darshit Shah <darnir@gmail.com>

     Create an asynchronous progress bar
     
     Give the progress bar its own thread and let it update the entire
     display asynchronously at a specified time interval. The existing
     implementation refreshes the progress bar for each network packet
     downloaded. Over multiple downloader threads and a high speed network
     connection this can lead to far too many redrawings of the screen. Also,
     each of the downloader threads will block while trying to acquire the
     thread mutex because another thread just retrieved a packet. While I
     haven't profiled it, it seems like there would be extremely high lock
     contention in the existing implementation. Instead, with a separate
     thread, we can update all the progress bar slots simultaneously at
     regular intervals.
     
         * bootstrap.conf: Include Gnulib module "ioctl"
         * include/libwget.h.in: Define always_inline, flatten and deprecated
     	compiler attributes for both GCC and Clang
         * include/libwget.h.in: Export new functions wget_human_readable,
     	wget_bar_register and wget_bar_deregister.
         * include/libwget.h.in (wget_http_response_t): Add new element
     	"cur_downloaded" to struct. This element keeps a track of the raw
     	number of bytes downloaded in the response
             (_wget_bar_ctx): Define new struct for storing the progress bar
     	context.
         * libwget/bar.c: Fix display of downloaded ratio. Ensure it does not
     	exceed 100% by comparing the raw downloaded bytes instead of
     	uncompressed downloaded bytes.
     	Add support for printing the filename and downloaded bytes to the
     	progress bar.
         * libwget/http.c (wget_http_response_cb): Store the raw number of
     	bytes downloaded from the network in the response data
         * libwget/utils.c (wget_human_readable): New function to convert an
     	int value to a human readable string
         * src/bar.c: Use the entire screen width instead of just 70 columns
     	for the progress bar.
     	Provide methods to register and deregister a progress bar
     	context
     	(wget_bar_update_thread): New method for the progress bar thread
     	to update the output periodically.
         * src/bar.h: Same
         * src/job.h: Move definition of struct DOWNLOADER from main.c to
             here
         * src/progress.h: Move definition of _body_callback_context from
             main.c to here
         * src/utils.c: Add new method to determine the width of the screen
         * src/utils.h: Same
         * src/wget.c: Use the new progress bar contexts. Update, register
         and deregister them
             (main): Deinit the progress bar only if it was enabled
         * src/Makefile.am: Add new files, progress.h, utils.c, utils.h

2016-09-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix following relative links
     
     * src/wget.c (html_parse): Add only absolute URLs to 'known_urls'.
     * tests/test-base.c: Test that the changes work.
     
     Reported-by: Jaaap@github.com

2016-09-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c (_normalize_path): Fix return value

2016-09-16 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_url): Check pattern list for URL domain earlier.
     
     This avoids wrong messages about why not following an URL.

2016-09-15 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c (wget_update_file): Add comment regarding owner
       flags when using mkstemp().

2016-09-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (add_url): Avoid theoretical NULL ptr dereference
     
     Reported-by: Coverity

2016-09-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/wget.c (process_response_part): Fix NULL pointer dereference
     
     Reported-by: Coverity

2016-09-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/encoding.c (wget_memiconv): Fix memleak
     
     Reported-by: Coverity

2016-09-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/print_html_urls.c (html_parse_localfile): Fix memleak
     
     Reported-by: Coverity

2016-09-10 Darshit Shah <darnir@gmail.com>

     Fix segfault in case of Basic Authentication
     
     * src/wget.c(downloader_thread): Remove job only if it exists

2016-09-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/encoding.c: Use ICONV_CONST to avoid cc warning

2016-09-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix fnmatch() on Solaris
     
     * bootstrap.conf: Add fnmatch-gnu
     * configure.ac: Add AC_GNU_SOURCE

2016-09-09 Tim Rühsen <tim.ruehsen@gmx.de>

     * examples/websequencediagram.c (main): Fix printf format string

2016-09-04 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Enable color diagnostics with ccache

2016-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     * tests/test.c: Fix cookie tests for when libpsl not available

2016-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Support cookie prefixes __Secure- and __Host-
     
     * libwget/cookie.c (_wget_cookie_normalize_cookie): Add checks
       for __Secure- and __Host- prefixes.
     * tests/test.c (test_cookies): Add test cases for the prefixes.
     
     This change implements proposals from draft-ietf-httpbis-cookie-prefixes-00
     as modern browsers do.

2016-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * include/libwget.h.in: Add attribute const to wget_hash_get_len()

2016-08-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib submodule

2016-07-28 Darshit Shah <darnir@gmail.com>

     Make compiler happy about using uninitialized vars
     
         * tests/test.c(test_striconv): Explcitly initialize variables to
         NULL to make compiler happy.

2016-07-28 Darshit Shah <darnir@gmail.com>

     Add configure support for Thread Sanitizer as well
     
         * configure.ac: Add configure option to enable Thread Sanitizer.
         Enabling this option currently causes all tests to fil due to
         various data races. Some of the races can be fixed, while others are
         false positives.
         [ci skip]

2016-07-28 Darshit Shah <darnir@gmail.com>

     Reduce the depth of git clone on travis to 3
     
         * .travis.yml: We don't need any git operations on Travis. Reduce
         the clone depth.
         [ci skip]

2016-07-28 Darshit Shah <darnir@gmail.com>

     Make ASan happy about dangling memory in test-metalink
     
         * tests/test-metalink.c: Explicitly free() heap allocated memory

2016-07-23 Darshit Shah <darnir@gmail.com>

     Enable fsanitize options when running on Travis
     
         * .travis.sh: Enable UBSan and ASan sanitizers on Travis

2016-06-16 Darshit Shah <darnir@gmail.com>

     Fix a ubsan warning due to zero length VLA

2016-07-23 Darshit Shah <darnir@gmail.com>

     Add configure option to enable compiler sanitizers
     
         Compiler sanitization options allow the code to be instrumented at
         compile time. They add instructions to detect various behaviours at
         runtime. These options usually cause significant slowdown and will
         often cause the program to crash. Hence, do *not* use them on
         production systems. They are meant to be used only by the developers
         for testing purposes. Three sanitization options are added to the
         configure options in this commit:
           1. Undefined Behaviour Sanitizer (ubsan): Detect issues in the code
           that are undefined behaviour according to the C specification
           2. Address Sanitizer (ASan): Detect addressing issues and memory
           leaks at runtime. Slightly similar to Valgrind, but using compiler
           added instrumentation
           3. Memory Sanitizer (MSan): Detect uninitialized memory reads.
     
         The Address Sanitizer and Memory Sanitizer options are mutually
         exclusive, and hence a check for the same is added to the configure
         script.
     
         MSan additionally requires that all libraries be instrumented too.
         Without that, MSan is nearly unusable due to various false
         positives.
     
         * configure.ac: Add option to enable UBSan, ASan and MSan fsanitize
         options at compile time.

2016-07-22 Darshit Shah <darnir@gmail.com>

     Update documentation to reflect actual behavior of -O
     
         * docs/wget2_manual.md: Update documentation. -O does not act as a
         shell redirection.

2016-07-22 Darshit Shah <darnir@gmail.com>

     Fix issue when -C and -O are passed together
     
         * src/wget.c(http_create_request): When -c and -O are passed
         togther, ensure that the output_document is continued and not the
         local_filename

2016-07-22 Darshit Shah <darnir@gmail.com>

     Add new test to check for continue and -O options
     
         * tests/test-wget-1.c: Add new test. If the remote filename
         exists locally, then Wget2 tries to conitnue downloading that file
         despite being given an explicit output document. This test checks
         for such behaviour.

2016-07-22 Tim Rühsen <tim.ruehsen@gmx.de>

     * src/options.c: Add linefeeds to --help output

2016-07-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Update README
     
     * README.md: Update text to current status.
     * docs/mainpage.md: Likewise.

2016-07-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Add TLS Session Resumption with persistent cache
     
     * include/libwget.h.in: Add wget_tls_session_* set of functions,
       add new define WGET_SSL_SESSION_CACHE
     * libwget/Makefile.am: Add tls_session.c to libwget
     * libwget/ssl_gnutls.c (struct _config): Add tls_session_cache.
       (struct _session_context): Add delayed_session_data.
       (wget_ssl_set_config_string): Handle WGET_SSL_SESSION_CACHE.
       (wget_ssl_open): Add False Start debug messages,
       Set session data if cound in cache,
       Write session data into cache.
       (wget_ssl_read_timeout): Write session data into cache when
         False Start has been activated.
     * libwget/tls_session.c: New file with session data cache implementation
     * src/options.c (print_help): Add new options --tls-resume and
       --tls-session-file.
       (config): Set tls_resume activated by default.
       (options[]): Add tls-resume and tls-session-file.
       (init): Create session file name, init session data cache,
       Set session cache for TLS layer.
       (deinit): Free session cache and session cache filename.
     * src/options.h (struct config): Add tls_session_db, tls_session_file,
       tls_resume.
     * src/wget.c (main): Save session cache if changed.
     
     TLS Session Resumption speeds up TLS handshake by 1xRTT.
     Together with TCP Fast Open (enabled by default), we are down at
     1xRTT TLS handshake overhead. To get down to 0 RTT we need a different
     TLS protocol - TLS v1.3 will hopefully soon be standardized.

2016-07-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Beautify TLS certificate information printout
     
     * libwget/ssl_gnutls.c (_print_x509_certificate_info):
       Beautify printout.
       (_print_info): Likewise.

2016-07-20 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (wget_ssl_open): Fix #elif

2016-07-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Add support for TLS False Start
     
     * include/libwget.h.in: New declaration wget_tcp_set_tls_false_start()
       and wget_tcp_get_tls_false_start()
     * libwget/net.c: New functions wget_tcp_set_tls_false_start() and
       wget_tcp_get_tls_false_start()
     * libwget/net.h: Add tls_false_start to struct wget_tcp_st
     * libwget/ssl_gnutls.c (_do_handshake): Print TLS False Start status.
       (wget_ssl_open): Enable TLS False Start for GnuTLS >= 3.5.0.
     * src/options.c: Add description for --tls-false-start.
       (struct option options): Add option --tls-false-start.
       (init): Call wget_tcp_set_tls_false_start().
     * src/options.h (struct config): Add member tls_false_start.

2016-07-14 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c (wget_ssl_close): Retry TLS shutdown on error

2016-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/Makevars: Removed from git repo

2016-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Generate distributed ChangeLog from git log
     
     * bootstrap.conf: Add gnulib module 'gitlog-to-changelog'.
     * Makefile.am: Generate the ChangeLog file from the git log.

2016-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     * configure.ac: Add parallel-tests and gnu to automake options

2016-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Declare wget_iri_is(un)reserved() as const
     
     * include/libwget.h.in: Declare wget_iri_isunreserved() and
       wget_iri_isunreserved_path() with attribute 'const'

2016-07-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Refactor downloader main loop into a state machine
     
     * src/host.c (_search_queue_for_free_job): Set 'used_by' for
       allocated job.
       (_search_host_for_free_job): Same.
       New function _release_job().
       New function host_release_jobs().
       New function host_add_robotstxt_job().
       (host_remove_job): Fix queue size calculation.
       Added several debug lines.
     * src/host.h: Declare host_add_robotstxt_job() and host_release_jobs()
     * src/job.h: New variable 'used_by' for PART,
       New variables 'used_by','downloader' for JOB.
     * src/options.c: Default config.http2_request_window to 30.
       Default config.http1_request_window to 10.
       (deinit): Free config.accept_patterns and config.reject_patterns.
     * src/options.h: Add 'http2_request_window' and 'http1_request_window'
       to 'struct config'.
     * src/wget.c (add_url_to_queue): Call host_add_robotstxt_job().
       (add_url): Call host_add_robotstxt_job().
       Refactor downloader_thread(), process_response_header(),
       process_head_response(), process_response_part(), process_response().

2016-07-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Use TCP Fast Open (TFO) within TLS handshake
     
     * include/libwget.h.in: New declaration wget_tcp_get_tcp_fastopen()
     * libwget/net.c: New function wget_tcp_get_tcp_fastopen(),
       (wget_tcp_connect): Support TFO
     * libwget/ssl_gnutls.c: New function _ssl_writev()
       (wget_ssl_open): Set _ssl_writev() as push function in TFO requested

2016-06-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Add benchmark scripts
     
     * benchmarks/README: New file, short description
     * benchmarks/bench_https_http1: New file, HTTPS via HTTP/1.1
     * benchmarks/bench_https_http2: New file, HTTPS via HTTP/2.0

2016-06-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Refactoring to separate send, receive and HTTP state machine
     
     * examples/websequencediagram.c (main): Call wget_http_request_set_body()
       and wget_http_send_request() instead of wget_http_send_request_with_body().
     * include/libwget.h.in: Add WGET_HTTP_USER_DATA, wget_get_timemillis(),
       extend wget_thread_cond_wait(), add body, user_data, body_length to
       wget_http_request_t, remove wget_http_send_request_with_body(),
       add wget_http_request_get_int(), wget_http_request_set_ptr(),
       wget_http_request_get_ptr(), wget_http_request_set_body().
     * libwget/http.c: Add wget_http_request_get_int(),
       wget_http_request_set_ptr(), wget_http_request_get_ptr(),
       wget_http_request_set_body(),
       remove wget_http_send_request_with_body(),
       (wget_http_request_to_buffer): add body to request buffer.
     * libwget/http_highlevel.c (wget_http_get): Replace
       wget_http_send_request_with_body()
     * libwget/iri.c: Use c-ctype.h instead of ctype.h
       (wget_iri_parse): Allow any numbers of / after scheme:
       (wget_iri_parse): Catch URIs without /after scheme:
     * libwget/list.c (wget_list_browse): Small code rearrangement
     * libwget/metalink.c (_add_mirror): Check mirror.iri for NULL
     * libwget/ssl_gnutls.c (send_ocsp_request): Replace
       wget_http_send_request_with_body()
     * libwget/thread.c (wget_thread_cond_signal): Add timeout param
     * libwget/utils.c: New function wget_get_timemillis()
     * src/blacklist.c: Include wget.h instead of log.h
     * src/blacklist.h: Fix indentation
     * src/host.c: Add queueing stuff
     * src/host.h: Reflect changes in host.c
     * src/job.c: Remove queueing stuff
     * src/job.h: Reflect changes in job.c
     * src/log.c: Sync stdout/stderr to correct output order
     * src/log.h: Remove shortcuts of print functions
     * src/wget.c: Remove download_part() and http_get().
       Add http_send_request(), http_receive_response(), try_connection(),
       establish_connection(), add_statistics(), process_response_header().
       Amend downloader_thread() to reflect the changes.
     * src/wget.h: Add shortcut defines for print functions.
     * tests/libtest.c (_http_server_thread): Fix compiler warning,
       fix debug message.
       New function _write_msg() to print server messages yellow.
       (wget_test) Add -d to wget command line.
     * tests/test-metalink.c (main): Add tests for V3 and V4 metalink
       files read from command line (-i, --force-metalink)
     * tests/test.c (test_iri_parse): Add test for slash-less mailto: URI

2016-06-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Use bitfields in structs where possible

2016-07-11 Tim Rühsen <tim.ruehsen@gmx.de>

     * Makefile.am: Fix EXTRA_DIST config.rpath to build-aux/config.rpath

2016-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     * README.md: Fix repo cloning instructions

2016-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Move ignored po/ files to po/.gitignore
     
     * .gitignore: Remove po/ files
     * po/.gitignore: New file

2016-07-07 Ander Juaristi <ajuaristi@gmx.es>

     Remove references to autogen.sh. Set SKIP_PO.
     
     * bootstrap.conf: add SKIP_PO=1, so that we don't have to pass
       the --skip-po flag every time we run bootstrap.
     * README.md, contrib/check-hard, contrib/mingw, docs/mainpage.md,
       .travis.sh: amend references to autogen.sh.
     * autogen.sh: Removed
     * .gitignore: Add build-aux
     * po/Makevars: Remove auto-generated file from repo

2016-06-26 Ander Juaristi <ajuaristi@gmx.es>

     Use bootstrap
     
      * bootstrap, bootstrap.conf: new files.
      * configure.ac: invoke AC_CONFIG_MACRO_DIR and
        AC_CONFIG_AUX_DIR.

2016-06-16 Tim Rühsen <tim.ruehsen@gmx.de>

     API changes for HTTP/2 parallel/async requests
     
     * .gitignore: New entry examples/http_multi_get
     * Makefile.am: Move subdir 'examples' before 'src'
     * examples/Makefile.am: Add http_multi_get
     * examples/http_get2.c (main): Adapt code to API changes
     * examples/http_multi_get.c: New example to show async/parallel
       requests
     * examples/websequencediagram.c (main): Adapt code to API changes
     * include/libwget.h.in: New functions wget_http_request_set_header_cb,
         wget_http_request_set_body_cb, wget_http_request_set_int.
       Changed params of wget_http_get_response.
       Removed wget_http_get_response_func, wget_http_get_response_stream,
         wget_http_get_response_fd.
       Changed params of wget_http_get_response_cb.
       Add members pending_requests, received_http2_responses,
         pending_http2_requests to wget_http_connection_t.
       Add member req to wget_http_response_t.
       Add members header_callback, body_callback, header_user_data,
         body_user_data, response_keepheader to wget_http_request_t.
       New function types wget_http_header_callback_t and
         wget_http_body_callback_t.
     * libwget/http.c: Implementation of the changes in include/libwget.h.in.
     * libwget/http_highlevel.c: Adapt code to API changes
     * libwget/ssl_gnutls.c: Fixed defaults for SNI, OCSP and
       ALPN.
       Adapt code to API changes.
     * src/options.c: Reflect changes in libwget/ssl_gnutls.c
     * src/wget.c: Adapt code to API changes

2016-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix compiler warnings
     
     * include/libwget.h.in: Declare wget_tcp_get_protocol as PURE
     * libwget/base64.c (wget_base64_decode, wget_base64_encode): Fix
       warning about missing switch() default
     * libwget/http.c (_on_header_callback): Add switch default case,
       (wget_http_request_to_buffer): Remove unused variable 'use_proxy'
     * libwget/ssl_gnutls.c (_print_info): Add switch default case
     * libwget/vector.c (wget_vector_findext): Replace switch by if/else
     * src/wget.c (_get_body): Check EAGAIN != EWOULDBLOCK via cpp

2016-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix compiler warnings in test suite
     
     * tests/libtest.c (wget_test_check_filesystem): Fix printf
       format warning
     * tests/test-parse-html.c (html_dump): Add switch default case,
       fix printf format warning

2016-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Suppress warning in auto-generated css_tokenizer.c
     
     * libwget/css_tokenizer.lex: Add GCC pragmas to suppress warnings
       when compiling libwget/css_tokenizer.c

2016-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Use gnutls_transport_[gs]et_int() in GnuTLS code if possible
     
     * configure.ac: Check for gnutls_transport_get_int()
     * libwget/ssl_gnutls.c: Use gnutls_transport_[gs]et_int() if possible
     
     Avoid int <-> pointer conversions

2016-06-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Use less warnings for gnulib compilation on --enable-gcc-warnings
     
     * autogen.sh: Add option --makefile-name=gnulib.mk to gnulib-tool
     * configure.ac: Add 'subdir-objects' to AM_INIT_AUTOMAKE,
       add macro 'gl_GCC_VERSION_IFELSE' from coreutils project,
       enable extra gcc warnings by default when running from Git repo,
       disable several warnings for gnulib compilation
     * lib/Makefile.am: New file

2016-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add colors to debug and error output
     
     * src/log.c: Add _write_out(), _write_error(), _write_info()
     
     Errors are printed red (if output is a TTY), debug output is
     magenta/purple. Not configurable yet.

2016-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Print blacklist entries as debug messages
     
     * src/blacklist.c (_blacklist_print): Call debug_printf()

2016-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix printf format warnings
     
     * tests/buffer_printf_perf.c: Fix printf format warnings
     * tests/stringmap_perf.c: Likewise
     * tests/test.c: Likewise

2016-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix printf format warnings
     
     * libwget/http.c: Fix printf format warnings
     * libwget/http_highlevel.c: Likewise
     * libwget/io.c: Likewise
     * libwget/ssl_gnutls.c: Likewise
     * src/wget.c: Likewise

2016-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove warnings from gcc's -Wjump-misses-init
     
     * libwget/ssl_gnutls.c (_verify_certificate_callback):
      Move variable initialization upwards
     * src/wget.c (html_parse): Move variable initialization upwards

2016-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not inline _no_memory()
     
     * libwget/xalloc.c: Remove _GL_INLINE from _no_memory()

2016-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module 'manywarnings'
     
     * autogen.sh: Add module manywarnings
     * configure.ac: Add ./configure option --enable-gcc-warnings to enable
      many warnings
     * examples/Makefile.am: Add WERROR_CFLAGS and WARN_CFLAGS to AM_CFLAGS
     * libwget/Makefile.am: Likewise
     * src/Makefile.am: Likewise
     * tests/Makefile.am: Likewise

2016-06-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Update gnulib to latest master
     
     * gnulib: Sync with upstream

2016-06-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix FTP PASV listening in test suite
     
     * tests/libtest.c: Fix FTP PASV listening

2016-05-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "Support direct mpeg streams in examples/getstream.c"
     
     This reverts commit d3d7342e8063be0428549ebe4df66560b030074c.

2016-05-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Support direct mpeg streams in examples/getstream.c
     
     * examples/getstream.c: Support direct mpeg streams

2016-05-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Support audio/x-scpls in examples/getstream.c
     
     * examples/getstream.c (main): Fix m3u parsing, Add audio/x-scpls

2016-05-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Let test suite survive on case-sensitive filesystems (e.g. HFS+)
     
     * tests/libtest.c: New function wget_test_check_filesystem(),
       (_empty_directory, _remove_directory): Do not print
       errors about missing directories.
     * tests/libtest.h: Add define WGET_TEST_FS_CASEMATTERS
     * tests/test--accept.c: Renamed files to avoid casing problems
     * tests/test-wget-1.c: Skip casing tests on case-sensitive filesystem

2016-05-16 Tim Rühsen <tim.ruehsen@gmx.de>

     Check value of --progress option
     
     * src/options.c: New parse function parse_progress_type
     * src/options.h: Change type of config.progress to char

2016-05-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix and enhance examples/getstream.c
     
     * autogen.sh: Add gnulib module 'c-strcasestr'
     * examples/getstream.c: Support several playlist formats
     
     getstream.c now supports .m3u, .wax, .asx, .pls, xspf playlist formats.
     Playlist parsing is partly hackish - it is just an example after all.
     
     The title information is displayed on stderr, the audio goes to stdout to
     allow piping to mpg321, sox, etc. For details see the top comment in the
     source file.

2016-05-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Support ICY response (shoutcast response)
     
     * libwget/http.c(wget_http_parse_response_header): Check for ICY response

2016-05-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add option --content-on-error
     
     * src/options.c: Add --content-on-error to options and to help text
     * src/options.h: Add content_on_error to struct config
     * src/wget.c: Check config.content_on_error
     * tests/test-wget-1.c: Add tests for --content-on-error

2016-05-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not use Proxy-Connection header field (RFC 7230 A.1.2.)
     
     * libwget/http.c (wget_http_request_to_buffer): Do not create
       Proxy-Connection header field for requests.

2016-05-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Add MinGW recipe/script
     
     * contrib/mingw: New file

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Adjust LDFLAGS for MinGW
     
     * examples/Makefile.am: Add -no-install to AM_LDFLAGS
     * libwget/Makefile.am: Add -no-undefined to libwget_la_LDFLAGS

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Add EXEEXT to test suite executables
     
     * tests/Makefile.am: Add $(EXEEXT) to executable names
     * tests/libtest.c: Add EXEEXT to wget2 executable,
       add support for EMULATOR env variable - e.g. to test with wine

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Determine home directory in a portable fashion
     
     * src/options.c (get_home_dir): Use gnulib glob() to get home directory

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix includes for Windows
     
     * libwget/http.c: Include ws2tcpip.h instead of sys/socket.h when available
     * libwget/net.c: Likewise

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix warnings
     
     * libwget/http.c (wget_http_add_credentials): Fix snprintf format warnings

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix async sockets for Windows
     
     * libwget/net.c (_set_async): Add code path for Windows

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Add missing gnulib modules
     
     * autogen.sh: Add gnulib modules fsync, recv, recvfrom, socklen

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix build for systems without getuid()
     
     * configure.ac: Check for getuid()
     * libwget/io.c (wget_update_file): Check for HAVE_GETUID

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix --enable-bzip2/--disable-bzip2
     
     * configure.ac: Fix AC_ARG_WITH for bzip2

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix wget_srandom()
     
     * include/libwget.h.in: Adjust wget_random() return type to int
     * libwget/random.c (libwget/random.c): Use initstate_r() for seeding,
       (wget_srandom): Use initstate_r() for seeding

2016-05-08 Tim Rühsen <tim.ruehsen@gmx.de>

     gnulib: sync from upstream

2016-05-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Add --force-* options to docs
     
     * wget2_manual.md: Add description for --force-css, --force-sitemap,
       --force-atom, --force-rss, -force-metalink

2016-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix docs for wget_srandom()
     
     * libwget/random.c: Fix param description

2016-04-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for robots.txt parsing
     
     * libwget/robots.c: Add Doxygen docs
     * docs/Makefile.am: Add rule for man page

2016-04-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Support parsing of UTF-16 HTML documents
     
     * examples/print_html_urls.c (html_parse_localfile):
       Detect BOM (Byte Order Mark), convert UTF-16 to UTF-8 before parsing.
     * include/libwget.h.in: Remove wget_charset_transcode(),
       add wget_memiconv() and wget_striconv().
     * libwget/encoding.c: Implement wget_memiconv() and wget_striconv()
     * src/wget.c (html_parse): Add 'html_len' param,
       convert UTF-16 to UTF-8 before parsing.
     * tests/test.c: New test for wget_memiconv().

2016-04-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for Atom and Sitemap URL extraction functions
     
     * libwget/atom_url.c: Add Doxygen docs
     * libwget/sitemap_url.c: Add Doxygen docs
     * docs/Makefile.am: Add rules for man pages
     * libwget/base64.c: Fix text

2016-04-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for base64 functions
     
     * libwget/base64.c: Add Doxygen docs
     * docs/Makefile.am: Add rule for man page

2016-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Add option --fsync-policy
     
     * src/options.c (print_help): Add short description,
       (options): Add new option
     * src/options.h (struct config): Add fsync_policy
     * src/wget.c (http_get): Check config.fsync_policy before fsync()
     
     --fsync-policy calls fsync() for each downloaded file.
     This effectively waits until all data is written to hard disk before
     wget continues. It slows down the performance - depending on the
     speed of your storage.

2016-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Write files non-blocking
     
     * src/wget.c (_prepare_file): Use O_NONBLOCK for open(),
       (_get_header): Likewise,
       (_get_body): Wait for writability if needed,
       (http_get): Code cleanups

2016-04-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/net.c (wget_tcp_read): Use recvfrom() instead of write()

2016-04-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix error message
     
     * libwget/http.c (wget_http_get_response_cb): Fix message about
       incomplete download

2016-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     * po/POTFILES.in: libwget/compat.c -> libwget/strlcpy.c

2016-04-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Renamed libwget/compat.c -> libwget/strlcpy.c

2016-04-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename --follow-metalink to --metalink
     
     * src/options.c, src/options.h, src/wget.c, tests/test-metalink.c:
       Rename --follow-metalink to --metalink, rename config.follow_metalink
       to config.metalink.

2016-04-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Share code for Metalink V3 and V4
     
     * libwget/metalink.c: New functions _add_piece, _add_file_hash,
       _add_mirror called by metalink V3 + V4 code in _metalink_parse().

2016-04-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests for RFC 6249 Metalink in HTTP headers
     
     * tests/test-metalink.c: Add tests

2016-04-02 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix memory leak in Metalink V3 parser
     
     * libwget/metalink.c (_metalink_parse): Set destructor for mirror vector

2016-03-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests for Metalink
     
     * tests/Makefile.am: Add test-metalink
     * tests/test-metalink.c: New file
     
     This new tests are
     - --no-follow-metalink
     - metalink v3, without pieces
     - metalink v4, without pieces
     - metalink v4, with pieces

2016-03-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Add --force-metalink
     
     * libwget.h.in: Remove metalink3_parse, metalink4_parse,
       Add wget_metalink_parse
     * libwget/metalink.c: Merge metalink4_parse() and metalink3_parse()
       into wget_metalink_parse(),
       Only store HTTP and HTTPS mirrors
     * src/job.c: Adjust debug message
     * src/options.c: Add --force-options
     * src/options.h: Add config.force_metalink
     * src/wget.c: New function metalink_parse_localfile()

2016-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     *src/options.c: Allow --(no-)follow-metalink without argument

2016-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not use hard-coded user-agent in robots library code
     
     * include/libwget.h.in: Update prototype of wget_robots_parse()
     * libwget/robots.c (wget_robots_parse): Add client name as parameter
     * src/wget.c: Call wget_robots_parse() with PACKAGE_NAME as client name

2016-03-29 Tim Rühsen <tim.ruehsen@gmx.de>

     Set default User-Agent: to PACKAGE_NAME"/"PACKAGE_VERSION
     
     * src/options.c: Set PACKAGE_NAME"/"PACKAGE_VERSION as user agent

2016-03-28 Giuseppe Scrivano <gscrivan@redhat.com>

     wget: new option --follow-metalink
     
     * src/options.h (struct config): Define follow_metalink.
     * src/options.c (print_help): Add description for follow-metalink.
     (struct options): Add follow-metalink.
     (struct config): Initialize follow_metalink.
     (init): do not follow metalink files when --mirror is used.
     * src/wget.c (downloader_thread): Skip following metalinks when follow_metalink is off.
     (_get_header): Store the metalink file when follow_metalink is false.

2016-03-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Allow options and URLs in any order
     
     * src/options.c (parse_command_line): Reorder URLs after options
     * src/options.h: Fix init() prototype
     * src/wget.c, tests/test-parse-html.c, tests/test.c:
       Fix main() argv argument

2016-03-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix metalink code to download files without pieces
     
     * src/job.c (job_validate_file): Accept files without pieces

2016-03-27 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/metalink.c (_metalink4_parse): Set piece.position to 0

2016-03-26 Giuseppe Scrivano <gscrivan@redhat.com>

     src/wget.c (_get_header): Do not store metalink files
     
     Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

2016-03-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs in markdown format
     
     * DoxygenLayout.xml: Set mainpage title
     * libwget.doxy.in: Scan docs, add mainpage.md as main page
     * mainpage.md: New file
     * faq.md: New file
     * wget2_manual.md: New file, derived from wget.texi

2016-03-24 Giuseppe Scrivano <gscrivan@redhat.com>

     http: fix multi part files
     
     * src/wget.c (download_part): Read temp part for the temporary files.
     (_get_header): Write part file to the destination file.
     (http_get): Keep a temporary fd for the file parts.
     (struct _body_callback_context): Add 'head' and 'part'.
     
     Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

2016-03-20 Giuseppe Scrivano <gscrivan@redhat.com>

     Fix compiler warnings
     
     * include/libwget.h.in (wget_bar_init, wget_bar_update,
     wget_bar_print): Change types to int and off_t.
     * libwget/bar.c (wget_bar_init, wget_bar_update,
     wget_bar_print): Change types to int and off_t.
     * src/wget.c (_prepare_file): Add prototype.  Change type of rc to
     size_t.
     
     Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

2016-03-19 Giuseppe Scrivano <gscrivan@redhat.com>

     wget: use safe_write module from gnulib
     
     * autogen.sh: Add module 'safe-write'.
     * src/wget.c (_prepare_file): Use safe_write instead of write.
     (_get_body): Likewise.
     
     Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

2016-03-18 Giuseppe Scrivano <gscrivan@redhat.com>

     Do not parse more than 10M and stream directly to disk
     
     * src/wget.c (downloader_thread): drop code to save/append to file.
     (_prepare_file): New function based on _save_file. Open the fd and
     don't write any payload.
     (_body_callback_context): Add outfd, max_memory, length.
     (_get_header): Set the destination file here and keep the fd.
     (_get_body): Keep in memory only what was specified, stream the rest
     directly to file.
     (http_get): Always use wget_http_get_response_cb instead of
     wget_http_get_response.  Close the file fd that was opened in
     _prepare_file.
     
     Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

2016-03-16 Giuseppe Scrivano <gscrivan@redhat.com>

     Use size_t instead of int for progress bar status
     
     * include/libwget.h.in (wget_bar_init): Change type of nslots and max
     from int to size_t.
     (wget_bar_deinit): Likewise.
     (wget_bar_update): Likewise.
     (wget_bar_print): Likewise.
     (wget_bar_vprintf): Likewise.
     (wget_bar_printf): Likewise.
     * libwget/bar.c (wget_bar_init): Change type of nslots and max
     from int to size_t.
     (wget_bar_deinit): Likewise.
     (wget_bar_update): Likewise.
     (wget_bar_print): Likewise.
     (wget_bar_vprintf): Likewise.
     (wget_bar_printf): Likewise.
     * src/bar.h (bar_init): Change type of nslots and max from
     int to size_t.
     (bar_deinit): Likewise.
     (bar_update): Likewise.
     (bar_print): Likewise.
     (bar_vprintf): Likewise.
     (bar_printf): Likewise.
     * src/bar.c (bar_init): Change type of nslots and max from
     int to size_t.
     (bar_deinit): Likewise.
     (bar_update): Likewise.
     (bar_print): Likewise.
     (bar_vprintf): Likewise.
     (bar_printf): Likewise.
     
     Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

2016-03-16 Giuseppe Scrivano <gscrivan@redhat.com>

     libwget/http.c: Rename HTTP_CTYPE_SEPERATOR to HTTP_CTYPE_SEPARATOR
     
     Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

2016-03-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Tune cookie parsing
     
     * include/libwget.h.in: Add sort_age to struct wget_cookie_st
     * libwget/cookie.c: Many code enhancements
     * libwget/http.c (wget_http_parse_setcookie): Relax parsing,
       (wget_http_parse_setcookie): Allow \n and \r\n as EOL
     * libwget/private.h: Add missing #includes
     * tests/Makefile.am: Add disabled test-cookies-http_state
     * tests/test-cookies-http_state.c: New cookie test
     
     There still 30 out of 220 tests failing, before this commit we had
     135 failing. The left over tests are mainly corner cases, but feel free
     to work on it. When all tests pass, we enable test-cookies-http_state
     in Makefile.am.

2016-03-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Update .gitignore
     
     * .gitignore: Updated

2016-03-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new examples websequencediagram[_highlevel]
     
     * examples/websequencediagram.c: New file
     * examples/websequencediagram_high.c: New file
     * examples/Makefile.am: Add websequencediagram[_highlevel]
     
     These examples show how to do two requests on one connection,
     a POST and a GET, saving the downloaded body to disk.
     websequencediagram uses the low-level API.
     websequencediagram_highlevel uses the high-level API.

2016-03-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Add WGET_HTTP_SCHEME, WGET_HTTP_BODY, WGET_HTTP_BODY_SAVEAS for wget_http_get()
     
     * include/libwget.h.in: Add WGET_HTTP_SCHEME, WGET_HTTP_BODY,
       WGET_HTTP_BODY_SAVEAS
     * src/http_highlevel.c: Implement WGET_HTTP_SCHEME, WGET_HTTP_BODY,
       WGET_HTTP_BODY_SAVEAS

2016-03-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Use wget2 without libtool wrapper for test suite
     
     * src/Makefile.am: Add wget2_noinstall target
     * src/wget.c: On exit, only release memory within test suite
     * tests/libtest.c: Call wget2_noinstall for testing

2016-03-14 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix superfluous 'Unsupported cookie-av' message
     
     * libwget/http.c (wget_http_parse_setcookie): Break on end-of-string

2016-03-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add 'make check-valgrind' to simplify valgrind checking
     
     * Makefile.am: Add rule 'check-valgrind'

2016-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Add support for HTML5 srcset attribute in IMG tags
     
     * libwget/html_url.c: Add scanning srcset values
     * tests/test--page-requisites.c: Add srcset test cases

2016-03-01 Tim Rühsen <tim.ruehsen@gmx.de>

     Use TravisCI .svg image
     
     * README.md: Use TravisCI .svg image

2016-02-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove unneeded variable in options.c
     
     * src/options.c (main): Remove varibale 'truncated'

2016-02-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for memory functions
     
     * libwget/mem.c: Add docs
     * docs/Makefile.am: Add rule for man pages
     * include/libwget.h.in: Cosmetic adjustments

2016-02-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for MD5 convenience functions
     
     * libwget/md5.c: Add docs
     * docs/Makefile.am: Add rule for man pages

2016-02-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/http.c: Remove #define MD5_DIGEST_LENGTH

2016-02-07 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: Remove bug introduced when fixing Coverity

2016-02-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix / silence some Coverity findings

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/Makefile.am: Remove redundant list of man files

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/iri.c: Make iri_ports static

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * docs/Makefile.am: Add rule for xalloc man page

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Fix the fix of 48c1f0961ee566287543f4149dbfc7fb5ba2b7bf

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/io.c: Fix some small glitches in Doxygen area

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/encoding.c: Use '#ifdef WITH_LIBIDN' instead of '#if'

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for printf functions
     
     * libwget/printf.c: Convert GTK-DOC format into Doxygen
     * docs/Makefile.am: Add rule for man pages

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/ssl_gnutls.c: Fix clang warnings

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for memory functions
     
     * libwget/xalloc.c: Convert GTK-DOC format into Doxygen
     * docs/Makefile.am: Add rule for man pages

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     * libwget/utils.c: Fix docs, rename function param

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix argument to srandom()
     
     * libwget/random.c: Cast argument to unsigned int

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix docs for wget_srandom()
     
     * libwget/random.c: Fix docs for wget_srandom()

2016-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix check for BUILDING_LIBWGET
     
     * include/libwget.h.in: Use '#if defined' instead of '#if'

2016-02-03 Tim Rühsen <tim.ruehsen@gmx.de>

     Cosmetics
     
     * libwget/thread.c: Fix comment after #endif
     * src/wget.c (main): Remove unwanted spaces in if clause

2016-02-03 Giuseppe Scrivano <gscrivan@redhat.com>

     autogen.sh: add 'stdbool' to libwget_gnulib_modules

2016-02-02 Giuseppe Scrivano <gscrivan@redhat.com>

     Honor --disable-threads and support no threading
     
     * include/libwget.h.in: Include <stdbool.h>.
     Define wget_thread_support().
     * libwget/thread.c: Change condition to check
     for threading support.
     (wget_thread_support): New function.
     (wget_thread_start): [!USE_POSIX_THREADS && !USE_PTH_THREADS]
     Invoke directly the function.
     * src/wget.c (main): If no threads are supported then set the
     number of max threads to 1.  If the queue is not empty, call again the
     downloader function.  It will be used only in case no threads are
     available.
     (downloader_thread): Do not wait for new elements in the queue
     when there are no threads.
     * tests/libtest.c (wget_test_start_server): Skip the test if
     there is no threads support.

2016-02-02 Giuseppe Scrivano <gscrivan@redhat.com>

     Fix build when threads are not used
     
     * include/libwget.h.in: [! PTHREAD_MUTEX_INITIALIZER]: Define
     WGET_THREAD_COND_INITIALIZER.

2016-01-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Set default for --waitretry to 10s
     
     src/options.c (struct config config): Init .waitretry with
       10000 milliseconds.

2016-01-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Check for CTRL-C in timer loops
     
     * src/wget.c (downloader_thread, download_part): Abort on CTRL-C

2016-01-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Updated copyright year for all relevant files

2016-01-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Add helper script for updating copyright dates
     
     contrib/update_copyright: New file

2016-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Disable valgrind tests on Travis CI for Mac OS X
     
     * .travis.yml: Do not install valgrind in OS X
     * .travis.sh: Disable valgrind tests for OS X

2016-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Install valgrind for Travis CI on linux
     
     * .travis.yml: Add valgrind to packages
     * .travis.sh: Output tests/test.log

2016-01-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Switch to Travis-CI valgrind testing
     
     * .travis.sh: Add --enable-valgrind-tests to ./configure,
       export VALGRIND_TESTS=1
     * .travis.yml: Install valgridn on Mac OS X
     * tests/libtest.c: Add --max-threads=1 --prefer-family=ipv4 to wget2 command

2016-01-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Add $(LIB_PTHREAD) to makefiles
     
     * examples/Makefile.am, libwget/Makefile.am, src/Makefile.am,
       tests/Makefile.am: Add $(LIB_PTHREAD)

2016-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Add thread-safe wrapper code around random() and srandom()
     
     * docs/Makefile.am: Add wget_random and wget_srandom to docs
     * include/libwget.h.in: Add wget_random and wget_srandom
     * libwget/Makefile.am: Add random.c
     * libwget/http.c: Use wget_random()
     * libwget/random.c: New file with wget_random and wget_srandom
     * src/options.c: Remove call to srandom()

2016-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix Travis-CI files for Mac OS X
     
     * .travis.sh: Remove 'allow_failures', Call .travis.sh script,
       Install needed packages via 'brew', Remove configuration, building, testing
     * .travis.sh: Add configuration, building, testing

2016-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix test suite for Mac OSX
     
     * tests/libtest.c (_http_server_thread): Accept HTTP msg when chunked,
       Fix removing test directories,
       (wget_test_start_server) Remove stale test directories,
       Prefer IPv4, Start FTPS thread only if needed,
       (_scan_for_unexpected) Skip test for unexpected files on Mac OSX,
       (wget_test) Add --max-threads and --prefer-family=ipv4 to wget2 command,
       Remove MSWindows conditional code

2016-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove libpthread check from configure.ac
     
     * configure.ac: Remove check for libpthread
     * include/libwget.h.in: Check HAVE_PTHREAD_H,
       Do not undefine gettext
     * libwget/thread.c: Check HAVE_PTHREAD_H
     
     This check is done by gnulib 'pthread' module.

2016-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Use gnulib gettime() instead of clock_gettime()
     
     * src/log.c, src/wget.c: Call gettime() instead of clock_gettime()

2016-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib modules gettime and pthread
     
     * autogen.sh: Add gnulib modules gettime and pthread

2016-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix DNS caching
     
     * libwget/net.c (_wget_dns_cache_add): Allow NULL for port
       Remove several #ifdefs (should be handled by gnulib now)

2016-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Let mkdir() be handled by gnulib
     
     * src/wget.c: Remove conditional around mkdir()

2016-01-19 Giuseppe Scrivano <gscrivan@redhat.com>

     Fix the /dev/null usage
     
     * src/wget.c: do not create the directory if the first character is
     '/'.
     * tests/test-base.c: add test for -O/dev/null.

2016-01-19 Giuseppe Scrivano <gscrivan@redhat.com>

     Fix compiler warning
     
     * libwget/ssl_gnutls.c (_print_info): Always consider GNUTLS_CRD_SRP

2016-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for utils functions
     
     * docs/Makefile.am: Add libwget-utils.3
     * libwget/utils.c: Add utils function docs

2016-01-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for I/O functions
     
     * docs/Makefile.am: Add libwget-io.3
     * libwget/io.c: Add I/O function docs

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add docs for hash functions
     
     * docs/Makefile.am: Add libwget-hash.3
     * include/libwget.h.in: Remove hash function docs
     * libwget/hashfile.c: Add hash function docs

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not sort document members
     
     * docs/libwget.doxy.in: Set SORT_MEMBER_DOCS = NO

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Enable reading of config.h for docs generation
     
     * docs/libwget.doxy.in: Enable reading of config.h

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Extend .gitignore
     
     * .gitignore: Add entries and sort with LC_ALL=C

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add contrib/check-hard for maintainer testing
     
     * contrib/check-hard: New file

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add logo to HTML docs
     
     * docs/gen-logo.sh: Add script to generate logo via imagemagick
     * docs/wget-logo.png: Add generated logo
     * docs/libwget.doxy.in: Include logo into docs

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add wget_list_t to docs group libwget-list
     
     * include/libwget.h.in: Add wget_list_t to docs group libwget-list

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove NULL check in list code
     
     * libwget/list.c (wget_list_remove): Remove checking first param for NULL.
     
     Since the function is declared with the first param being NON-NULL, gcc will
     silently remove the check anyways. Clang even complains about the check.

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove NULL check in vector code
     
     * libwget/vector.c (wget_vector_add_str): Remove checking second param
       for NULL.
     
     Since the function is declared with 's' being NON-NULL, gcc will silently
     remove the check anyways. Clang even complains about the check.

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix resource leak when using libgcrypt for hashing
     
     * libwget/hashfile.c (wget_hash_deinit): Close gcrypt context

2016-01-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Add error code WGET_E_TLS_DISABLED
     
     * include/libwget.h.in: New define for WGET_E_TLS_DISABLED

2016-01-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Tweak doxygen config file
     
     * docs/libwget.doxy.in: Hide absolute path in file names,
       exclude private header files of libwget/,
       exclude symbols starting with _

2016-01-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Use README.md as main page in HTML docs
     
     * docs/libwget.doxy.in: Add README.md to INPUT

2016-01-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Use doxygen instead of gtk-doc
     
     * Removed all gtk-doc files and references.
     * Added doxygen files and rules

2016-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix double linkage finally
     
     * tests/Makefile.am: Link only once per lib to avoid warnings

2016-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix wrong argument fetch in buffer printf routine
     
     * libwget/buffer_printf.c (wget_buffer_vprintf_append): Fetch long value
       from stack instead of long long with %l[dioux]
     
     Found on Solaris 11 SPARC

2016-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix Solaris issue in tests/Makefile.am
     
     * tests/Makefile.am: Link only once per lib to avoid warnings

2016-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix libwget/Makefilea. for Solaris
     
     * libwget:/Makefile.am: Add ../lib/libgnu.la to test_linking_LDADD

2016-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module progname
     
     Without this we have an unresolved symbol 'program_name' on
     Solaris.

2016-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Include config.h on top in css_tokenizer.c
     
     * libwget/Makefile.am: Add #include "config.h" to top of css_tokenizer.c
     
     Found this issue on OpenSolaris

2016-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Add symbol visibility control to libwget
     
     * autogen.sh: Add gnulib module lib-symbol-visibility,
       add --libtool to gnulib-tool invokation
     * examples/Makefile.am: Remove -static from AM_LDFLAGS,
       remove ../lib/libgnu.a from LDADD
     * include/libwget.h.in: Define LIBWGET_EXPORT,
       add LIBWGET_EXPORT to all visible symbols
     * libwget/Makefile.am: Remove AM_CPPFLAGS and LDADD,
       add libwget_la_CPPFLAGS and libwget_la_LIBADD,
       add test_linking_CPPFLAGS, fix test_linking_LDADD
     * libwget/iri.c: Add LIBWGET_EXPORT to wget_iri_schemes and iri_ports
     * src/Makefile.am: Remove wget2_LDFLAGS, fix wget2_LDADD
     * tests/Makefile.am: Fix LDADD, fix test_LDADD, fix test_parse_html_LDADD,
       fix libtest_la_CPPFLAGS and libtest_la_LIBADD
     * tests/libtest.h: Add LIBWGET_EXPORT to symbols

2016-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Exclude private header files from gtk-doc parsing
     
     * docs/libwget/Makefile.am: Add net.h and css_tokenizer.h to IGNORE_HFILES

2016-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove vasprintf from configure.ac
     
     * configure.ac: Remove vasprintf from AC_CHECK_FUNCS

2016-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Add more gnulib modules
     
     * autogen.sh: Add more gnulib modules
     
     What came across my eyes:
     closedir
     fclose
     fdopen
     fflush
     fopen
     fstat
     mkstemp
     opendir
     spawn-pipe
     popen
     random_r (change random() -> random_r() in a follow-up commit)
     readdir
     rename
     stat
     strtoll
     time_r
     unlink

2016-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Removed redundant buffer print routines
     
     Removed wget_buffer_vprintf_append, wget_buffer_printf_append,
     wget_buffer_vprintf2 and wget_buffer_printf2.
     Renamed their *2 counterpart to their old names.

2016-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Added printf-style functions
     
     * libwget/printf.c: New file
     * docs/libwget/Makefile.am: Add libwget-printf.3
     * docs/libwget/libwget-docs.sgml: Add printf section
     * docs/libwget/libwget-sections.txt: Add SECTION libwget-printf
     * include/libwget.h.in: Add function prototypes
     * libwget/Makefile.am: Add printf.c
     * libwget/base64.c, libwget/http.c, libwget/iri.c, libwget/logger.c,
       libwget/md5.c, libwget/vector.c, src/options.c:
       Use new functions instead of asprintf/vasprintf

2016-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Use c-ctype.h where possible
     
     * libwget/atom_url.c, libwget/buffer_printf.c, libwget/css.c,
       libwget/html_url.c, libwget/http.c, libwget/rss_url.c, libwget/sitemap_url.c,
       src/options.c src/wget.c, tests/libtest.c, tests/test-parse-html.c:
       Use c-ctype.h where possible

2016-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Use ASCII comparison fpr file extensions
     
     * src/wget.c (_save_file): Use wget_strcasecmp_ascii

2016-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Replace strcpy
     
     * libwget/net.c (_wget_dns_cache_add, wget_tcp_set_bind_address):
       Replace strcpy by memcpy
     * src/wget.c (_convert_links): Replace strcpy by snprintf
     * src/wget.c (downloader_thread): Replace strcpy by C99 initializer
     * src/wget.c (_save_file): Replace strcpy by memcpy
     * tests/test-wget-1.c (main): Replace strcpy by memcpy

2016-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove redundant code from buufer routines
     
     * libwget/buffer.c (wget_buffer_strcpy, wget_buffer_strcat):
       Remove redundant code

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib modules memchr, memmove, memset, mkdir, strerror, strstr
     
     * autogen.sh: Add gnulib modules memchr, memmove, memset, mkdir, strerror, strstr
     * configure.ac: Remove checks for memchr, memmove, memset, mkdir,
       strerror, strstr, strchr, strrchr

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module inline
     
     * autogen.sh: Add gnulib module inline
     * configure.ac: Remove AC_C_INLINE
     * libwget/hashmap.c: Replace inline by _GL_INLINE
     * libwget/iri.c: Replace inline by _GL_INLINE
     * libwget/ssl_gnutls.c: Replace inline by _GL_INLINE
     * libwget/utils.c: Replace inline by _GL_INLINE
     * libwget/xalloc.c: Replace inline by _GL_INLINE,
       include config.h

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib modules calloc-posix, malloc-posix, realloc-posix
     
     * autogen.sh: Add gnulib modules calloc-posix, malloc-posix, realloc-posix
     * configure.ac: Remove two comment lines
     * libwget/xalloc.c: Remove rpl_malloc() and rpl_realloc()

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module setlocale
     
     * autogen.sh: Add gnulib module setlocale
     * configure.ac: Remove searching for setlocale, locale.h, sys/time.h
     * src/wget.c: Move #include <locale.h> (cosmetics)
     * examples/Makefile.am: Add $(LIBTHREAD), @INTL_MACOSX_LIBS@ to LDADD
     * libwget/Makefile.am: Add to $(LTLIBTHREAD), @INTL_MACOSX_LIBS@ LDADD
     * src/Makefile.am: Add $(LIBTHREAD), @INTL_MACOSX_LIBS@ to LDADD
     * tests/Makefile.am: Add $(LIBTHREAD), @INTL_MACOSX_LIBS@ to LDADD

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module sys_stat, sys_file, sys_types
     
     * autogen.sh: Add gnulib module sys_stat, sys_file, sys_types

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module sys_time
     
     * autogen.sh: Add gnulib module sys_time

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module errno
     
     * autogen.sh: Add gnulib module errno

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module langinfo
     
     * autogen.sh: Add gnulib module langinfo
     * configure.ac: Remove searching for stringprep.h and langinfo.h
     * libwget/encoding.c: Remove conditional code

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module iconv
     
     * autogen.sh: Add gnulib module iconv
     * configure.ac: Remove AM_ICONV
     * examples/Makefile.am: Add $(LIBICONV) to LDADD
     * libwget/Makefile.am: Add $(LIBICONV) to LDADD
     * src/Makefile.am: Add $(LIBICONV) to LDADD
     * tests/Makefile.am: Add $(LIBICONV) to LDADD

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Cover network functions with gnulib modules
     
     * autogen.sh: Add accept, bind, close, connect, getaddrinfo, getsockname,
       listen, netdb, netinet_in, open, read, send, sendto, servent, setsockopt,
       socket, sys_socket, write to modules
     * configure.ac: Remove searching for ws2_32, libsocket, libnsl, netdb.h,
       netinet/in.h, sys/socket.h, socket.
       Add searching for netinet/tcp.h.
     * examples/Makefile.am: Add additional libs.
     * libwget/Makefile.am: Add additional libs.
     * src/Makefile.am: Add additional libs.
     * tests/Makefile.am: Add additional libs.
     * libwget/http.c: Remove conditional code.
     * libwget/net.c: Remove conditional code. Use c_isdgit().
     * libwget/net.h: Remove conditional code.

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Use gnulib module strdup-posix instead of strdup
     
     * autogen.sh: Replace strdup by strdup-posix

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Check if gcc __sync_fetch_and_add works with long long
     
     * configure.ac: Check if gcc __sync_fetch_and_add works with long long
     * src/wget.c (_fetch_and_add_longlong): Check WITH_SYNC_FETCH_AND_ADD_LONGLONG

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add compatibility to older flex versions
     
     * libwget/Makefile.am: Remove space between -o and filename

2016-01-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add header file gnulib modules
     
     * autogen.sh: Add gettext-h, inttypes, stdarg, stddef, stdint
     * configure.ac: Remove check for inttypes.h, libintl.h, stddef.h
       Remove AC_TYPE_* checks
     * include/libwget.h.in: Include gnulib gettext.h
     * examples/Makefile.am: Fix AM_CPPFLAGS, add $(LIBINTL) to LDADD
     * libwget/Makefile.am: Fix LDADD and test_linking_LDADD
     * src/Makefile.am: Add $(LIBINTL) to wget2_LDADD
     * tests/Makefile.am: Fix AM_CPPFLAGS and libtest_la_CPPFLAGS,
       add $(LIBINTL) to LDADD, test_LDADD and test_parse_html_LDADD

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove detection of select() from configure.ac
     
     * configure.ac: Remove detection of select()
     * src/wget.c: Remove commented include directives

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add $(LIB_POLL) to *_LDADD
     
     * examples/Makefile.am, src/Makefile.am, tests/Makefile.am:
       Add $(LIB_POLL) to *_LDADD

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module poll
     
     * autogen.sh: Add gnulib module poll
     * configure.ac: Remove searching for poll.h and sys/poll.h
     * libwget/io.c: Remove conditional code

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use stdlib.h and unistd.h from gnulib
     
     * configure.ac: Remove searching for stdlib.h and unistd.h

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module pwrite
     
     * autogen.sh: Add gnulib module pwrite
     * configure.ac: Remove searching for pwrite
     * src/wget.c(download_part): Remove conditional code

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module qsort_r
     
     * autogen.sh: Add gnulib module qsort_r
     * configure.ac: Remove qsort_r code
     * libwget/vector.c: Remove conditional code

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Call wget_str(n)casecmp_ascii instead of str(n)casecmp
     
     * examples/print_css_urls2.c, libwget/cookie.c, libwget/css.c,
       libwget/html_url.c, libwget/http.c, libwget/iri.c, libwget/metalink.c,
       libwget/net.c, libwget/robots.c, libwget/ssl_gnutls.c,
       libwget/stringmap.c, libwget/xml.c, src/job.c, src/options.c, src/wget.c:
       Call wget_str(n)casecmp_ascii instead of str(n)casecmp

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib modules c-strcase, c-ctype and strcase
     
     * autogen.sh: Add gnulib modules c-strcase, c-ctype and strcase
     * configure.ac: Remove search for string.h, strings.h, str(n)casecmp
     * libwget/utils.c: Use c_str(n)casecmp, c_isupper, c_isxdigit

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Update po/POTFILES.in
     
     * po/POTFILES.in: Add src/bar.c and src/options.c,
       Remove libwget/printf.c

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove libwget/printf.c
     
     * configure.ac: Remove check for dprintf
     * include/libwget.h.in: Remove dprintf/vdprintf prototypes
     * libwget/Makefile.am: Remove printf.c from file list
     * libwget/printf.c: Remove file

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use dup2 gnulib fallback
     
     * autogen.sh: Add dup2 to gnulib modules
     * configure.ac: Remove searching for dup2()
     * libwget/pipe.c: Remove commented includes

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove usage of alloca()
     
     * libwget/hashfile.c (wget_hash_file_fd): Do not use alloca()
     * src/options.c (_read_config): Do not use alloca()

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add $(LIB_CLOCK_GETTIME) to tests
     
     * tests/Makefile.am: Add $(LIB_CLOCK_GETTIME)

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use strndup gnulib fallback
     
     * autogen.sh: Add strndup to gnulib modules
     * configure.ac: Remove searching for strndup()
     * include/libwget.h.in: Remove conditional code

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove searching for usleep
     
     * configure.ac: Remove searching for usleep()

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use glob gnulib fallback
     
     * autogen.sh: Add glob to gnulib modules
     * configure.ac: Remove searching for glob() and glob.h
     * src/options.c: Remove conditional code

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use nanosleep gnulib fallback
     
     * autogen.sh: Add nanosleep to gnulib modules
     * configure.ac: Remove searching for nanosleep
     * examples/Makefile.am: Add $(LIBSOCKET) $(LIB_NANOSLEEP) $(LIB_SELECT)
     * src/Makefile.am: Add $(LIBSOCKET) $(LIB_NANOSLEEP) $(LIB_SELECT)
     * tests/Makefile.am: Add $(LIBSOCKET) $(LIB_NANOSLEEP) $(LIB_SELECT)
     * libwget/utils.c: Remove conditional code

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Use futimens gnulib fallback
     
     * autogen.sh: Add futimens to gnulib modules
     * configure.ac: Remove searching for futimens
     * src/wget.c: Remove conditional code

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Replace gettimeofday by clock_gettime
     
     * configure.ac: Remove check for gettimeofday
     * src/log.c: Remove #include <sys/time>
     * src/log.c (_write_debug): Use clock_gettime instead of gettimeofday

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove searching for fnmatch and fnmatch.h
     
     * configure.ac: Remove searching for fnmatch and fnmatch.h

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove searching for fcntl.h
     
     * configure.ac: Remove searching for fcntl.h

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix AC_CHECK_FUNCS for gnutls functions
     
     * configure.ac: Remove 'gnutls' from AC_CHECK_FUNCS()

2016-01-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib module clock-time
     
     * autogen.sh: Add clock-time to gnulib modules
     * configure.ac: Remove searching for clock_gettime
     * src/Makefile.am: Add $(LIB_CLOCK_GETTIME) to wget2_LDADD
     * src/wget.c (set_file_mtime): Remove conditional code

2016-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Replace fnmatch function by gnulib fnmatch
     
     * src/compat_fnmatch.c: Removed
     * src/compat_fnmatch.h: Removed
     * autogen.sh: Add fnmatch to gnulib modules
     * src/Makefile.am: Remove compat_fnmatch.[ch]
     * src/wget.c: Unconditionally include fnmatch.h

2016-01-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove test-ftp and test-ftps from test suite
     
     * tests/Makefile.am: Remove test-ftp and test-ftps
     
     These test were introduced as helpers for FTPS integration for
     Wget1.x (GSOC 2015 project). We disable them until Wget2 supports
     FTP/FTPS.

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix branch name in Travis-CI icon URL

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add Travis-CI status icon

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Really fix return code of wget_str(n)casecmp_ascii
     
     * libwget/utils.c (wget_strcasecmp_ascii, wget_strncasecmp_ascii):
       Fix return value

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix return code of wget_strcasecmp_ascii and wget_strncasecmp_ascii
     
     * libwget/utils.c (wget_strcasecmp_ascii, wget_strncasecmp_ascii):
       Fix return value

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Link with libgnu.a
     
     * libwget/Makefile.am: Add lib/ to AM_CPPFLAGS, add libgnu.a to *_LDADD
     * src/Makefile.am: Same
     * tests/Makefile.am: Same, rename object files to link with tests

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix OpenSolaris libidn include directory
     
     * configure.ac: Search for idn/idna.h
     * libwget/encoding.c: Include idn/idna.h if found

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add flock to gnulib modules
     
     * autogen.sh: Add flock to gnulib modules

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix Name + Libs in pkg-config file
     
     * libwget.pc.in: Set Name to libwget and change -llibwget to -lwget

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove API version from library file names
     
     * .gitignore, Makefile.am, configure.ac, examples/Makefile.am,
       libwget.pc.in, libwget/Makefile.am, src/Makefile.am, tests/Makefile.am:
       Remove API version from library file names

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Build shared library by default
     
     * configure.ac: Add disable-static to LT_INIT

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Hook gnulib into project

2016-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add gnulib as submodule

2016-01-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Add error code WGET_E_TLS_DISABLED
     
     * libwget/ssl_gnutls.c: If TLS is not compiled in, return WGET_E_TLS_DISABLED
       from wget_ssl_open() and wget_ssl_server_open().

2016-01-05 Darshit Shah <darnir@gmail.com>

     Fix .travis.yml file for Linux systems
     
         * .travis.yml: Container based architecture doesn't allow Sudo.
         Migrate file to support container based architecture
         * .travis.sh: Same

2016-01-08 Darshit Shah <darnir@gmail.com>

     Do not print responses in tests
     
     * tests/test.c (check_cookie): Do not print responses. We want
       this test to expose memory leaks, but printing the response of
       wget_cookie_create_request_header isn't needed.

2016-01-08 Darshit Shah <darnir@gmail.com>

     Use absolute pathanme to find PSL data
     
         * tests/Makefile.am: PSL DATADIR should be the absolute pathname to
         allow us to run tests from any directory.

2016-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Add support for gcrypt hashing
     
     * configure.ac: Add libgcrypt as fallback for libnettle
     * libwget/hashfile.c: Add gcrypt hash functions

2016-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix hash functions for use with libnettle
     
     * src/hashfile: Add needed includes (nettle 3.1.1 and 2.7)
     * src/hashfile (wget_hash_deinit): Call digest() instead of update()

2016-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Skip HTTPS tests when no HTTPS available
     
     * tests/test-i-https.c: Skip test when no HTTPS available

2016-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not descend into subdomains if not requested
     
     * src/wget.c (in_host_pattern_list): Fix arguments of wget_match_tail()

2016-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Auto-generate version defines for library header file
     
     * include/libwget.h: Removed
     * include/libwget.h.in: Added

2016-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename LIBWGET_API_VERSION to LIBWGET_VERSION

2016-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix hashing with GnuTLS
     
     * libwget/ssl_gnutls.c: Do not skip automatic library initialization
     * libwget/md5.c (wget_md5_printf_hex): Print message on error
     * tests/test.c: New tests for hashing functionality
     
     GnuTLS automatically initializes on application startup.
     This wastes CPU cycles when not using HTTPS.
     Switched off, simple functionality like MD5 fail (needed for metalink and
     authorization). We have to implement hashing via -lcrypt or -lgcrypt
     later - and than we could  use GNUTLS_SKIP_GLOBAL_INIT again.

2016-01-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Do not percent unescape query
     
     * tests/test.c: Test query parsing in API
     * tests/test-base.c: Test query handling of wget2
     * include/libwget.h: Add flags to wget_iri_t,
       add function wget_iri_unescape_inline()
     * libwget/iri.c: Add function wget_iri_unescape_inline(),
       fix wget_iri_parse() to not percent unescape query
       do not add fragment in wget_iri_get_escaped_resource()

2015-12-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix iconv conversion
     
     * libwget/encoding.c: Kick out the last character from iconv().
     
     Thanks to Eli Zaretskii <eliz@gnu.org> for suggesting the fix.
     Reported-by: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>

2015-12-13 Ander Juaristi <ajuaristi@gmx.es>

     Fix error return value in I/O code
     
     * libwget/io.c: fix return value of __read() in case of error

2015-11-30 Ander Juaristi <ajuaristi@gmx.es>

     Complete docs in I/O API
     
      * libwget/http.c (wget_http_get_response_cb): removed unused variable
        (compiler warning).
      * libwget/io.c
        (wget_fdgetline,wget_getline,wget_read_file,wget_update_file): added
        source docs. Refactor: avoid code repetition.
        (wget_ready_2_transfer): fixed HTML rendering of docs.
      * docs/libwget/libwget-sections.txt: added new functions to GTK-Doc.

2015-11-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix return value in HSTS and Cookie code
     
     * libwget/cookie.c (wget_cookie_db_load, wget_cookie_db_save):
       Fix return value
     * libwget/hsts.c (wget_hsts_db_load, wget_hsts_db_save):
       Fix return value

2015-11-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Disable 'unused' warnings in CSS tokenizer
     
     * libwget/css_tokenizer.lex: Disable GCC warnings unused-parameter
       and unused-function

2015-11-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Cleanup cookie code
     
     Cookies: Add new function wget_cookie_set_keep_session_cookies()
              and adjust wget_cookie_db_load() and wget_cookie_db_save().
              Use wget_update_file() for loading and saving.

2015-11-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Add check for function param in HSTS  code
     
     * libwget/hsts.c (wget_hsts_db_save): Check hsts_db for NULL,
       (wget_hsts_db_load): Fix typo in error message

2015-11-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix typo in OSCP error message
     
     * libwget/ocsp.c (wget_ocsp_db_load): Fix typo

2015-11-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Adjust OCSP and HSTS default file names
     
     * src/options.c (print_help, init): Use ~/.wget-hsts and ~/.wget-ocsp

2015-11-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix test suite for CygWin
     
     * New CygWin specific code for removing/cleaning test directory

2015-11-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix tests/test.c for non-GNU standard C libraries
     
     * tests/test.c (test_buffer_printf): Skip left zero padding strings

2015-11-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Avoid implicit gloabl initialization by GnuTLS
     
     * libwget/ssl_gnutls.c: Use GNUTLS_SKIP_GLOBAL_INIT if defined

2015-11-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix basename in wget_update_file()
     
     * libwget/io.c (wget_update_file): Fxi basename

2015-11-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new options --netrc and --netrc-file
     
     * libwget/netrc.c: New file for netrc API functions
     * include/libwget.h: Add netrc function prototypes
     * libwget/Makefile.am: Add netrc.c
     * libwget/test_linking.c (main): Add call to wget_netrc_deinit()
     * src/options.c: Add --netrc and --netrc-file
     * src/options.h: Add config.netrc and config.netrc_file
     * src/wget.c (http_get): Get login/password from netrc data
     * tests/test-auth-basic.c (main): Add test for --netrc-file

2015-11-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Add define ascii_isspace and ascii_isalpha
     
     * libwget/xml.c: Add and use defines here

2015-11-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Replace strlpcy by memcpy
     
     * src/options.c (set_long_option): Replace strlcpy()

2015-11-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Replace calls to strncpy by memcpy
     
     * libwget/xml.c (parseXML): Replace calls to strncpy()

2015-11-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Replaced strndup() by wget_strmemdup()
     
     * examples/getstream.c, examples/print_css_urls2.c, libwget/cookie.c,
       libwget/css_url.c, libwget/encoding.c, libwget/hsts.c,
       libwget/html_url.c, libwget/http.c, libwget/metalink.c,
       libwget/ocsp.c, libwget/robots.c, libwget/ssl_gnutls.c,
       src/options.c, src/wget.c, tests/stringmap_perf.c,
       tests/test-wget-1.c
     
     Strndup() calls an additional strlen() on the input string.
     This is normally not needed, and thus just consumes CPU cycles.
     All calls to strndup() could be replaced by wget_strmemdup, which
     basically allocates len+1 memory, calls memcpy and terminates with
     a 0 byte.

2015-11-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add type of file for OCSP databases
     
     * libwget/ocsp.c (_ocsp_db_save_hosts): Add type of file to database
       files.

2015-11-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Amend message when successfully updating files
     
     * libwget/io.c (wget_update_file): Amend message

2015-11-09 Ander Juaristi <ajuaristi@gmx.es>

     Avoid potential race condition in HSTS code
     
     * libwget/hsts.c (_hsts_db_load): new internal function.
       (wget_hsts_db_load): moved code to _hsts_db_load() internal function.
       (wget_hsts_db_save): lock the file before saving, to avoid race
       conditions. Reload only if access time greater than last read time.

2015-11-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Use wget_update_file() in OCSP code
     
     * libwget/ocsp.c: Rearranged code to use wget_update_file

2015-11-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new function wget_update_file()
     
     * include/libwget.h: Add wget_update_file()
     * libwget/io.c: Add wget_update_file()
     
     Add a function to care about locking, temp files, opening
     overhead for our typical updating file database procedure.
     Useful for HSTS, OCSP and Cookie file databases.

2015-11-08 Tim Rühsen <tim.ruehsen@gmx.de>

     Close va_start() with va_end()
     
     * tests/libtest.c (wget_test): Add va_end()

2015-11-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Adjust HSTS unit tests to latest changes
     
     * tests/test.c (test_hsts): Adjust port 80 test, new port 8080 test

2015-11-04 Tim Rühsen <tim.ruehsen@gmx.de>

     Use logic or instead of binary or
     
     * libwget/atom_url.c (_atom_get_url): Use logic or

2015-10-31 Ander Juaristi <ajuaristi@gmx.es>

     Fixed HSTS policy application
     
      * include/libwget.h (wget_iri_set_scheme): new function.
      * libwget/hsts.c (wget_hsts_host_match): HTTP default port -> HTTPS
        default port
      * libwget/iri.c (wget_iri_set_scheme): new function.
      * src/wget.c (http_get): when changing the scheme, change the port
        number as well (call wget_iri_set_scheme).

2015-10-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Add function wget_global_get_func()
     
     * include/libwget.h: Add wget_global_get_func() prototype
     * libwget/init.c: Add function wget_global_get_func()

2015-10-30 Tim Rühsen <tim.ruehsen@gmx.de>

     Adjust package name and version
     
     * configure.ac: Adjust package name and version

2015-10-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix HTTP2 in combination with --progress=bar
     
     * src/wget.c (http_get): Call wget_http_get_response_cb()

2015-10-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Some cleanups
     
     * src/options.c (read_config): Check for config.config_file
                     (get_home_dir): Cleanup
                     (init): Check for readability of config.config_file

2015-10-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Free config.config_file on exit
     
     * src/options.c (deinit): Free config.config_file

2015-10-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Exit early on 0 URLs to process
     
     * src/wget.c (main): Exit if no URLs found to process

2015-10-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Print error for unsupported CLI URLs
     
     * src/wget.c (add_url_to_queue): Print error message

2015-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename --dns-cache to --dns-caching
     
     * src/options.c: Rename --dns-cache to --dns-caching,
       Remove double entry from help text

2015-10-27 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename --continue-download to --continue
     
     * src/options.c: Rename --continue-download to --continue

2015-10-26 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix default_page to default-page in help text
     
     * src/options.c: Fix default_page to default-page

2015-10-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix HTML BASE with absolute path
     
     * src/wget.c (html_parse): Fix HTML BASE with absolute path
     * tests/Makefile.am: Add test-base.c
     * tests/test-base.c: New file

2015-10-25 Tim Rühsen <tim.ruehsen@gmx.de>

     Add download statistics
     
     * src/wget.c: New structure _statistics_t,
       New function _fetch_and_add_longlong(),
       (main): Print stats
       (http_get): Collect stats

2015-10-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove unused argument argv from option parser functions
     
     * src/options.c (struct option): Remove argv from parser()
       (print_help, parse_integer, parse_numbytes, parse_string,
        parse_stringset, parse_stringlist, parse_taglist, parse_bool,
        parse_mirror, parse_timeout, parse_cert_type, parse_restrict_names,
        parse_n_option, parse_prefer_family, parse_execute, parse_execute):
       Remove unused argument argv.
     * src/options.c (set_long_option): Adjust calls to parser functions.

2015-10-24 Tim Rühsen <tim.ruehsen@gmx.de>

     Comment code for broken servers and document it
     
     * libwget/src (wget_http_parse_response_header): Comment code
       for broken servers and document it.

2015-10-24 Darshit Shah <darnir@gmail.com>

     Ensure atleast one downloader thread
     
     * src/options.c (init): The check for the minimum number of downloader
     threads should be done on config.max_threads not config.num_threads.

2015-10-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Abort on SIGTERM or on 2x CTRL-C
     
     i* src/wget.c (nop): Abort on SIGTERM or on 2x CTRL-C

2015-10-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Add --config option for backwards compatibility
     
     * src/options.c: Add --config

2015-10-23 Giuseppe Scrivano <gscrivan@redhat.com>

     Exit immediately if cannot set http_proxy or https_proxy
     
     * src/wget.c (main): Exit immediately on an "init()" error.
     * src/options.c (init): Raise an error if cannot set http_proxy or https_proxy.
     * tests/test-parse-html.c (main): Check for "init" errors.
     * tests/test.c (main): Check for "init" errors.

2015-10-23 Giuseppe Scrivano <gscrivan@redhat.com>

     set_http_proxy and set_https_proxy can return an error
     
     * libwget/http.h (wget_http_set_http_proxy): change the return type to int.
     (wget_http_set_https_proxy): change the return type to int
     * libwget/http.c (wget_http_set_http_proxy): return an error if cannot set the proxies.
     (wget_http_set_https_proxy): return an error if cannot set the proxies.

2015-10-22 Giuseppe Scrivano <gscrivan@redhat.com>

     Indent C preprocessor directives
     
     * libwget/css_tokenizer.h: Indent C preprocessor directives.
     * libwget/net.h: Likewise.
     * libwget/private.h: Likewise.
     * src/bar.h: Likewise.
     * src/blacklist.h: Likewise.
     * src/compat_fnmatch.h: Likewise.
     * src/host.h: Likewise.
     * src/job.h: Likewise.
     * src/log.h: Likewise.
     * src/options.h: Likewise.
     * src/wget.h: Likewise.

2015-10-22 Giuseppe Scrivano <gscrivan@redhat.com>

     .dir-locals.el: new file

2015-10-22 Giuseppe Scrivano <gscrivan@redhat.com>

     Fix function prototypes
     
     * src/bar.h: Fix function prototype.
     * src/blacklist.h: Fix function prototype.
     * src/compat_fnmatch.h: Fix function prototype.
     * src/host.h: Fix function prototype.
     * src/job.h: Fix function prototype.
     * src/log.h: Fix function prototype.
     * src/options.h: Fix function prototype.

2015-10-22 Giuseppe Scrivano <gscrivan@redhat.com>

     Check for wget_iri_parse errors
     
     * libwget/ssl_gnutls.c (send_ocsp_request): Check for wget_iri_parse errors.
     * libwget/http_highlevel.c (wget_http_get): Check for wget_iri_parse errors.
     * libwget/http.c (_parse_proxies): Check for wget_iri_parse errors.

2015-10-21 Ander Juaristi <ajuaristi@gmx.es>

     Documented hashing functions

2015-10-20 Ander Juaristi <ajuaristi@gmx.es>

     Typos

2015-10-20 Ander Juaristi <ajuaristi@gmx.es>

     Initial docs for hashing utils

2015-10-23 Darshit Shah <darnir@gmail.com>

     Fix compiler warning about unused return code
     
     * src/options.c (init): Clang complains about an unused return code from
     asprintf. So, we check to ensure that asprintf() actually managed to
     allocate the said string.

2015-10-23 Darshit Shah <darnir@gmail.com>

     Allow recursive downloads to be more concurrent
     
     * src/wget.c (main): In cases where the queue_size is not known at
     startup, spawn the maximum allowed threads for the thread pool.

2015-10-22 Darshit Shah <darnir@gmail.com>

     Add option to explicitly set path to wgetrc file
     
     * src/options.c (print_help, config, init, options): Add new option
     --config-file.
     * src/options.h: Same as above
     * src.options.c (read_config): Use the config.config_file value instead
     of a hard coded file path for wgetrc

2015-10-22 Darshit Shah <darnir@gmail.com>

     OCSP and HSTS files should be stored to ~/.wget_*
     
     * src/options.c: Include the pwd.h file to get access to pwd routines
     * src/options.c (get_home_dir): New function that return strdup'ed
     string containing location of directory for storing config files
     * src/options.c (init): Initialize the config.hsts_file and
     config.ocsp_file values correctly using get_home_dir()
     * src/options.h (config): Move hsts_file and ocsp_file from being const
     char* storages to only char* storages.

2015-10-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Add new test tests/test-redirection.c

2015-10-20 Tim Rühsen <tim.ruehsen@gmx.de>

     Add extension of test suite port variables in response headers
     
     * tests/libtest.h: Add member header_alloc to wget_test_url_t
     * tests/libtest.c: Extend port vars in response headers

2015-10-19 Tim Rühsen <tim.ruehsen@gmx.de>

     On CTRL-C save downloaded data before exit
     
     * include/libwget.h: New declaration wget_http_abort_connection()
     * libwget/http.c: New function wget_http_abort_connection()
     * src/wget.c: Call wget_http_abort_connection() on CTRL-C

2015-10-19 Giuseppe Scrivano <gscrivan@redhat.com>

     gnutls: check for gnutls_srp_server_get_username function

2015-10-18 Darshit Shah <darnir@gmail.com>

     Rename option --num-threads to --max-threads
     
     * src/options.[ch]: Rename the option --num-threads to --max-threads
     which better describes the content it holds. We keep the --num-threads
     config option around, since it will be used to hold the *actual* number
     of threads in this instance of Wget2.
     * src/wget.c (main): Initialize the value of config.num_threads. This
     value is atmost config.max_threads or the number of URLs to download,
     whichever is lower.

2015-10-18 Tim Rühsen <tim.ruehsen@gmx.de>

     Change 'git branch' into 'git checkout'
     
     * README.md: Change 'git branch' into 'git checkout'

2015-10-17 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix TLS read timeout issue with GnuTLS 3.4.x
     
     * libwget/ssl_gnutls.c (wget_ssl_read_timeout): Comment out
       code path for GnuTLS >= 0x030107

2015-10-16 Darshit Shah <darnir@gmail.com>

     Fix issue when --debug is the first option passed
     
         * src/options.c (init): set_long_option() expects only a the option
         name without the preceeding --. Ensure that we remove those when
         passing the --debug flag.

2015-10-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix shell in contrib/gen_option_diff.sh
     
     * contrib/gen_option_diff.sh: Explicitly use /bin/bash

2015-10-15 Tim Rühsen <tim.ruehsen@gmx.de>

     Add contrib/gen_option_diff.sh
     
     * contrib/gen_option_diff.sh: New script file

2015-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove mentioning SPDY from README.md
     
     * README.md: Remove mentioning SPDY

2015-10-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Rename wget executable to wget2
     
     * .gitignore: Replace src/wget by src/wget2
     * src/Makefile.am: Rename wget to wget2
     * tests/Makefile.am: Link wget2-* objects
     * tests/libtest.c: Execute wget2 instead of wget

2015-09-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Handle TLS rehandshakes
     
     * libwget/ssl_gnutls.c: New static function _do_handshake()
     * libwget/ssl_gnutls.c (wget_ssl_open): Move handshake code to _do_handshake()
     * libwget/ssl_gnutls.c (wget_ssl_server_open): Use _do_handshake()
     * libwget/ssl_gnutls.c (wget_ssl_read_timeout): Handle rehandshake
     * libwget/ssl_gnutls.c (wget_ssl_write_timeout): Handle rehandshake

2015-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     Add copyright notes to NEWS
     
     * NEWS: Add copyright notes

2015-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Print number of downloaded files and bytes when done
     
     * src/wget.c: Print number of downloaded files and bytes when done

2015-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix SPDY incompatibility
     
     * src/options.c: Remove spdy/3.1 from ALPN offer

2015-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix README
     
     * README: Fix to wget2

2015-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix README.md
     
     * README.md: Fix to wget2

2015-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Transfer copyright to Free Software Foundation, Inc.

2015-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix mailing list and website in configure.ac
     
     * configure.ac: Fix mailing list and website in AC_INIT

2015-09-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Add ABOUT-NLS and INSTALL to .gitignore
     
     * .gitignore: Add ABOUT-NLS and INSTALL

2015-09-21 Tim Rühsen <tim.ruehsen@gmx.de>

     Add fallback code for GnuTLS < 3.1.7
     
     * libwget/ssl_gnutls.c (wget_ssl_read_timeout): Add fallback code for
       older versions of GnuTLS.

2015-09-19 Tim Rühsen <tim.ruehsen@gmx.de>

     Transform Mget into Wget

2015-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     More HTTP/2 related code, new option --(no-)http2

2015-09-13 Tim Rühsen <tim.ruehsen@gmx.de>

     Fixed cookie test routine

2015-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Added missing breaks to switch in libtest.c

2015-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix resource leak in new HTTP/2 code

2015-09-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix compilation without nghttp2

2015-09-11 Tim Rühsen <tim.ruehsen@gmx.de>

     HTTP/2 download is working

2015-09-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix res->encoding in _html_get_url()

2015-09-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix typo in comment

2015-09-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Rearrange HTTP header API

2015-09-07 Tim Rühsen <tim.ruehsen@gmx.de>

     Request HTTP/1.1 and HTTP/2.0 via ALPN

2015-08-31 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix Content-Disposition filename retrieval

2015-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix filename when charset conversion fails #2

2015-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove iconv() from AC_CHECK_FUNCS

2015-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Include sys/types.h in libmget.h

2015-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix filename when charset conversion fails

2015-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Unify mget_ssl_server_open and mget_ssl_open

2015-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add AUTH command to FTP test suite

2015-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add tests/test-ftps.c

2015-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove INSTALL from git

2015-07-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Add mget_tcp_tls_start() and mget_tcp_tls_stop()

2015-07-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Add FTPS server to test suite

2015-07-11 Tim Rühsen <tim.ruehsen@gmx.de>

     Allow ordered and unordered I/O for FTP test suite

2015-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Add --inet4-only to tests/test-ftp.c

2015-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Added EPSV to tests/libtest.c

2015-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Include sys/wait.h for WIF* macros

2015-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove tests/.test_* with make clean

2015-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove unused variables from tests/libtest.c

2015-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove GNU make specialty from libmget/Makefile.am

2015-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Remove qsort_r trampoline version

2015-07-10 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix tests/libtest.c crash recently introduced

2015-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add first FTP testing capability

2015-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Don't cache automatic server ports

2015-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add Travis CI OSX check

2015-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix typo in libmget/encoding.c

2015-07-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Work around a libidn 1.30 vulnerability

2015-07-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Revert "Bump GETTEXT to version 0.19.1"
     
     This reverts commit 469e501859c33ab0cb842eb5928698ed29ed9f9e.

2015-07-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Allow NULL for mget_http_parse_setcookie()i cookie param

2015-07-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Bump GETTEXT to version 0.19.1

2015-07-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Avoid tautological check warnings from clang

2015-07-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Avoid printf format warning

2015-07-06 Tim Rühsen <tim.ruehsen@gmx.de>

     Add check and support for BSD style qsort_r

2015-07-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Fix check for HAVE_DPRINTF in libmget/printf.c

2015-05-04 Tim Ruehsen <tim.ruehsen@gmx.de>

     Fix waste of CPU cycles in mget_iri_relative_to_abs()

2015-05-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     prepared for release

2015-03-22 Tim Ruehsen <tim.ruehsen@gmx.de>

     use random/srandom instead weak functions rand/srand

2015-03-18 Tim Rühsen <tim.ruehsen@gmx.de>

     added .gitignore

2015-03-13 Tim Rühsen <tim.ruehsen@gmx.de>

     fixing two more Coverity issues

2015-03-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixing more Coverity issues

2015-03-09 Tim Rühsen <tim.ruehsen@gmx.de>

     fixing more Coverity issues

2015-03-08 Tim Ruehsen <tim.ruehsen@gmx.de>

     changes in hashmap handling

2015-03-07 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix several issues found by Coverity

2015-03-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     comment unused mget_bsprintf functions

2015-03-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix possible buffer overflow

2015-03-01 Tim Ruehsen <tim.ruehsen@gmx.de>

     added Coverity Scan Status

2015-02-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix strndup() compat function

2015-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     replace logger vsprintf, Solaris *printf can't handle NULL arguments

2015-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     add comment regarding Solaris sprintf behaviour

2015-02-27 Tim Rühsen <tim.ruehsen@gmx.de>

     add link to Solaris (p)thread docs

2015-02-26 Tim Rühsen <tim.ruehsen@gmx.de>

     check for Solaris encoding '646'

2015-02-26 Tim Rühsen <tim.ruehsen@gmx.de>

     convert pid to int

2015-02-26 Tim Rühsen <tim.ruehsen@gmx.de>

     added %c to mget_buffer_vprintf_append2

2015-02-26 Tim Rühsen <tim.ruehsen@gmx.de>

     add -pthread compiler option

2015-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     use mget_buffer_vprintf2 in logger

2015-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     make %s work with NULL values in mget_buffer_printf2()-like functions

2015-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     added libmget/net.h to Makefile.am

2015-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     fixed memleak in mget_http_parse_challenge()

2015-02-24 Tim Rühsen <tim.ruehsen@gmx.de>

     fixed Mget return value for HTTPS failures

2015-02-22 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed tests/Makefile.am

2015-02-22 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated tests/certs (old certs expired on 11.2.2015)

2015-02-20 Tim Rühsen <tim.ruehsen@gmx.de>

     added ALPN for TLS sessions

2015-02-06 Tim Ruehsen <tim.ruehsen@gmx.de>

     added missing files to src/Makefile.am

2015-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     add @LTLIBICONV@ @LTLIBINTL@ to tests

2015-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     add LTLIBICONV and LTLIBINTL to LDADD for Solaris

2015-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     check for FNM_CASEFOLD

2015-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     include alloca.h

2015-02-06 Tim Rühsen <tim.ruehsen@gmx.de>

     check for libsocket and libnsl on Solaris

2015-02-05 Tim Rühsen <tim.ruehsen@gmx.de>

     fix compiler warnings

2015-02-05 Tim Rühsen <tim.ruehsen@gmx.de>

     include libintl.h before redefinition of gettext functions

2015-02-04 Tim Rühsen <tim.ruehsen@gmx.de>

     added Resources in comment of libmget/ssl_gnutls.c

2015-01-30 Tim Rühsen <tim.ruehsen@gmx.de>

     include alloca.h if available

2015-01-30 Tim Rühsen <tim.ruehsen@gmx.de>

     require gettext 0.18.1

2015-01-30 Tim Rühsen <tim.ruehsen@gmx.de>

     fix configure and doc stuff

2015-01-30 Tim Rühsen <tim.ruehsen@gmx.de>

     fix compilation with older GnuTLS (without OCSP)

2015-01-29 Tim Rühsen <tim.ruehsen@gmx.de>

     added full cert chain OCSP check

2015-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     fix building man pages

2015-01-22 Tim Rühsen <tim.ruehsen@gmx.de>

     fix conditional HAVE_PO in configure.ac

2015-01-16 Tim Rühsen <tim.ruehsen@gmx.de>

     OCSP check the whole certificate chain

2015-01-15 Tim Rühsen <tim.ruehsen@gmx.de>

     added OCSP fix from GnuTLS project
     
     https://gitorious.org/gnutls/gnutls/commit/11eebe14b232ec198d1446a3720e6ed78d118c4b

2015-01-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix mget_tcp_set_tcp_fastopen()

2015-01-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     removed two indentations in configure.ac

2015-01-13 Tim Rühsen <tim.ruehsen@gmx.de>

     added --tcp-fastopen to enable/disable TCP Fast Open

2015-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     removed --load-hsts and --save-hsts

2015-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     add creation time to OCSP entries

2015-01-09 Tim Rühsen <tim.ruehsen@gmx.de>

     fix loading/saving OCSP cache

2015-01-08 Tim Rühsen <tim.ruehsen@gmx.de>

     added OCSP response caching

2015-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     OCSP code tuning

2015-01-07 Tim Rühsen <tim.ruehsen@gmx.de>

     added linefeed in --help text

2015-01-05 Tim Rühsen <tim.ruehsen@gmx.de>

     mention autopoint as build requisite

2015-01-05 Tim Rühsen <tim.ruehsen@gmx.de>

     Skip po directory if GETTEXT not available

2014-12-31 Tim Rühsen <tim.ruehsen@gmx.de>

     fix OCSP request condition

2014-12-30 Tim Rühsen <tim.ruehsen@gmx.de>

     list pkg-config in Requirements

2014-12-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     added more tests for parsing challenges

2014-12-18 Tim Ruehsen <tim.ruehsen@gmx.de>

     added test for WWW-Authenticate challenge parsing

2014-12-18 Tim Rühsen <tim.ruehsen@gmx.de>

     new options --ocsp and --ocsp-stapling

2014-12-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     Check for gnutls/ocsp.h to compile on older systems

2014-12-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     First experimental commit with OCSP (stapling+non-stapling) support

2014-12-09 Tim Rühsen <tim.ruehsen@gmx.de>

     tail match instead of full match for --domains/-D/--exclude-domains

2014-12-09 Tim Rühsen <tim.ruehsen@gmx.de>

     Add wildcard support for -D/--domains and --exclude-domains

2014-11-23 Tim Ruehsen <tim.ruehsen@gmx.de>

     add +/-psl to --version output

2014-11-14 Tim Rühsen <tim.ruehsen@gmx.de>

     added pkg-config support for library searching

2014-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     check GnuTLS version for OCSP functionality

2014-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     fix compilation error, add OCSP stapling status report

2014-11-12 Tim Rühsen <tim.ruehsen@gmx.de>

     Cert messages slightly amended

2014-11-10 Tim Rühsen <tim.ruehsen@gmx.de>

     check for qsort_r()

2014-10-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --crl-file for CRL certificates

2014-10-18 Tim Ruehsen <tim.ruehsen@gmx.de>

     moved basic progress bar routines to libmget

2014-10-13 Tim Rühsen <tim.ruehsen@gmx.de>

     fixed race condition when having a filename / directory clash

2014-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     added port to Referer: HTTP header

2014-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     changed valgrind testing

2014-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     better result code compatibility with Wget

2014-10-10 Tim Rühsen <tim.ruehsen@gmx.de>

     more pedantic scheme check for IRI parsing

2014-10-07 Tim Ruehsen <tim.ruehsen@gmx.de>

     removed css_tokenizer.c from po/POTFILES.in

2014-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     use AM_TESTS_ENVIRONMENT for valgrind testing

2014-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     suppress lex warnings

2014-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     building docs with distcheck -jn randomly failed, now using .NOTPARALLEL

2014-10-07 Tim Rühsen <tim.ruehsen@gmx.de>

     tuned makefiles

2014-09-23 Tim Rühsen <tim.ruehsen@gmx.de>

     use ASCII-only string case comparison

2014-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     added --post-data and --post-file

2014-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     added --backups

2014-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     removed debugging from test-directory-clash

2014-09-22 Tim Rühsen <tim.ruehsen@gmx.de>

     fixed directory clashes and added test-directory-clash

2014-09-18 Tim Rühsen <tim.ruehsen@gmx.de>

     added threaded progress bar (--progress=bar)

2014-09-12 Tim Rühsen <tim.ruehsen@gmx.de>

     added progrsss bar code

2014-09-09 Tim Rühsen <tim.ruehsen@gmx.de>

     added --follow-tags and --ignore-tags

2014-09-07 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix for 'unsigned char' architectures

2014-09-05 Tim Rühsen <tim.ruehsen@gmx.de>

     fixed clang detections

2014-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     rearranged some metalink code

2014-08-29 Tim Rühsen <tim.ruehsen@gmx.de>

     make cross-compilable with MinGW on Linux

2014-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     added some first MinGW compatibility code

2014-08-28 Tim Rühsen <tim.ruehsen@gmx.de>

     updated PSL file effective_tld_names.dat

2014-08-27 Tim Rühsen <tim.ruehsen@gmx.de>

     amended NEWS

2014-08-27 Tim Rühsen <tim.ruehsen@gmx.de>

     prepared for release

2014-08-27 Tim Rühsen <tim.ruehsen@gmx.de>

     added -m / --mirror

2014-08-27 Tim Rühsen <tim.ruehsen@gmx.de>

     added link to Wikipedia comparison of file systems

2014-08-27 Tim Rühsen <tim.ruehsen@gmx.de>

     added descriptions of options to --help

2014-08-20 Tim Rühsen <tim.ruehsen@gmx.de>

     removed unneeded libpsl reference in src/options.h

2014-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     increased version number in configure.ac

2014-08-15 Tim Rühsen <tim.ruehsen@gmx.de>

     prepared for release

2014-07-17 Tim Rühsen <tim.ruehsen@gmx.de>

     added -k/--convert-links and -K/--backup-converted

2014-07-14 Tim Rühsen <tim.ruehsen@gmx.de>

     fix tests for when not having libpsl support

2014-07-11 Tim Rühsen <tim.ruehsen@gmx.de>

     use libpsl for cookie checking against Public Suffix List

2014-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     update PSL data

2014-07-09 Tim Rühsen <tim.ruehsen@gmx.de>

     more cleanups to configure.ac

2014-07-08 Tim Rühsen <tim.ruehsen@gmx.de>

     cleaned up configure.ac

2014-07-03 Tim Rühsen <tim.ruehsen@gmx.de>

     added new test test--accept.c

2014-07-03 Tim Rühsen <tim.ruehsen@gmx.de>

     added --accept, --reject, --ignore-case

2014-06-29 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed race-condition on 'known_urls' variable

2014-06-25 Tim Ruehsen <tim.ruehsen@gmx.de>

     make distcheck without -j4

2014-06-25 Tim Ruehsen <tim.ruehsen@gmx.de>

     check for HTTP/HTTPS in add_url()

2014-06-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     removed two lines of debugging output

2014-06-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed HTML parsing of uppercase attributes (fixes issue #21)

2014-05-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     do not keep tmpfiles in test--page-requisites.c

2014-05-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     added test--page-requisites and fixed -p/--page-requisites

2014-04-04 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix some clang warnings

2014-03-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     removed psl.c from examples

2014-03-20 Tim Ruehsen <tim.ruehsen@gmx.de>

     changes on psl.c

2014-03-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     make cookies and tests working with new PSL

2014-03-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     working on example/psl.c

2014-03-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed up cookie code

2014-03-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     added experimental PSL code

2014-03-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated public suffixes list

2014-03-08 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix sigfault in cookie functions

2014-03-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --gnutls-options to NEWS file

2014-03-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --gnutls-otpions to directly set a GnuTLS priority string

2014-03-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added error messages if requested CAs or keys are not found

2014-02-26 Tim Ruehsen <tim.ruehsen@gmx.de>

     improved cookie API

2014-02-20 Tim Ruehsen <tim.ruehsen@gmx.de>

     tuned HSTS API

2014-02-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     added support for RFC 6266 Content-Disposition

2014-02-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed two threading race-conditions

2014-02-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     make HTTPS tests work with GnuTLS 2.12

2014-02-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix system ca_directory for GnuTLS < 3

2014-02-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed HTTPS testing to succeed distcheck

2014-02-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     added HTTPS server code for the test suite

2014-02-11 Tim Ruehsen <tim.ruehsen@gmx.de>

     added i/o helper routines to documentation

2014-02-08 Tim Ruehsen <tim.ruehsen@gmx.de>

     added make distcheck to .travis.yml

2014-02-08 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix docs/libmget/Makefile.am again

2014-02-07 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed man page generation and make distcheck

2014-02-06 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed generating man pages, added some documentation

2014-02-05 Tim Ruehsen <tim.ruehsen@gmx.de>

     small docs changes

2014-02-05 Tim Ruehsen <tim.ruehsen@gmx.de>

     added plg-config, brushed up configure.ac and Makefiles

2014-02-05 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix type naming to mget type naming convention

2014-02-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated gettext

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed minor clang warnings

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed some minor warnings

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added Travis CI .travis.yml

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed minor clang warnings

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed some minor warnings

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     extended .travis.yml

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix .travis.yml, typo in configure.ac string

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix .travis.yml

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix .travis.yml

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix .travis.yml

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added Travis CI .travis.yml

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added test routine for HSTS feature

2014-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix possible endless loop in http_parse_param()

2014-02-01 Tim Ruehsen <tim.ruehsen@gmx.de>

     added support for RFC 6797 HTTP Strict Transport Security (HSTS)

2014-02-01 Tim Ruehsen <tim.ruehsen@gmx.de>

     Do not download robots.txt twice for HTTP and HTTPS if --protocol-directories is not given

2014-01-31 Tim Ruehsen <tim.ruehsen@gmx.de>

     working on RFC 6797 HSTS (HTTP Strict Transport Security)

2014-01-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     removed failing tests of not yet implemented options

2014-01-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     compile check for available hash functions in libnettle

2014-01-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     use libnettle for checksumming if libgnutls not available or too old

2014-01-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed check for libunistring

2014-01-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed warning in ssl_gnutls.c

2014-01-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     gtk-doc optional, project tested on Cygwin

2014-01-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     edited AUTHORS and NEWS

2014-01-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     brushed up README.md

2014-01-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     added Contacts to README.md

2014-01-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     put mailing list address into configure.ac

2014-01-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed 'make distcheck'

2014-01-11 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed some clang 3.4 warnings

2014-01-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     added example print_html_url.c (scanning and printing URLs from HTML files)

2014-01-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix mailing list address in README.md 2nd

2014-01-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix mailing list address in README.md

2014-01-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added support for bzip2 Content-Encoding / Accept-Encoding type

2014-01-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added 'lzma' to Content-Encoding

2013-12-31 Tim Ruehsen <tim.ruehsen@gmx.de>

     added support for XZ Content-Encoding / Accept-Encoding type

2013-12-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     extended --adjust-extension to attach .rss and .atom

2013-12-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --waitretry, new function mget_millisleep()

2013-12-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --wait/-w, --random-wait and -tries/-t

2013-12-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     allow m, h and d modifiers for timeout options

2013-12-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     disable valgrind testing by default, just needed by developers

2013-12-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     use valgrind to check invocations of mget in test suite (and not the test suite itself, as before)

2013-12-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     add IRI that triggers robots.txt to blacklist, create local filename for --continue-download

2013-12-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed test-iri-forced-remote

2013-12-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed test-iri-list

2013-12-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     added new option --input-encoding

2013-12-25 Tim Ruehsen <tim.ruehsen@gmx.de>

     added RSS parsing test

2013-12-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     added parsing RSS 2.0 feeds

2013-12-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed compilation error in atom_url.c

2013-12-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     added parsing Atom 1.0 feeds

2013-12-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     refactored basic sitemap parsing into libmget

2013-11-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     new option --force-sitemap to scan URLs from a local Sitemap XML file

2013-11-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix: added query twice if query contained slash(es)

2013-11-25 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed two more tests

2013-11-25 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed proxy destruction

2013-11-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     added sitemap parsing

2013-11-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix some compiler warnings

2013-11-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     Support arbitrary number of proxies for parallel downloads

2013-11-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed some warnings of clang 3.4

2013-10-31 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --chunk-size to allow multithreaded downloads of single files

2013-10-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --(no-)check-hostname to disable certificate hostname checking only

2013-10-22 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix po/POTFILES.in

2013-10-22 Tim Ruehsen <tim.ruehsen@gmx.de>

     update po/POTFILES.in

2013-10-22 magemore <alex@magemore.com>

     fix help: wget replaced with mget
2013-10-22 Tim Ruehsen <tim.ruehsen@gmx.de>

     mention package name zlibg1 in README.md

2013-10-07 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated README.md

2013-10-06 Tim Ruehsen <tim.ruehsen@gmx.de>

     small cleanups regarding use of buffer functions

2013-10-05 Tim Ruehsen <tim.ruehsen@gmx.de>

     check for NULL iri in add_url()

2013-10-04 Tim Ruehsen <tim.ruehsen@gmx.de>

     pull in libunistring if using libidn2

2013-10-04 Tim Ruehsen <tim.ruehsen@gmx.de>

     removed including stringprep.h from examples

2013-10-04 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed clang 3.4 analyzer issues

2013-10-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed double free in mget.c

2013-10-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed memory leak in hashmap_put_noalloc

2013-10-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     Use Etag in spider mode to prevent double downloading

2013-10-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     use HEAD request in spider mode

2013-10-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     added support for IDNA2008 using Libidn2

2013-10-01 Tim Ruehsen <tim.ruehsen@gmx.de>

     started libidn2 usage

2013-10-01 Tim Ruehsen <tim.ruehsen@gmx.de>

     convert / to %2F instead of %2f

2013-10-01 Tim Ruehsen <tim.ruehsen@gmx.de>

     check if url needs utf-8 encoding

2013-10-01 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed --restrict-file-names=uppercase

2013-09-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --restrict-file-names

2013-09-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed crash on non-valid cookie names

2013-09-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     new file host.c, refactored from mget.c

2013-09-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     moved robots routines to new file robots.c

2013-09-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed up ROBOTS/META

2013-09-25 Tim Ruehsen <tim.ruehsen@gmx.de>

     fine tuning on some library functions

2013-09-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --trust-server-names and --restrict-file-names

2013-09-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     preparing for utf-16 support

2013-09-23 Tim Ruehsen <tim.ruehsen@gmx.de>

     recognize 'none' keyword in META/ROBOTS

2013-09-23 Tim Ruehsen <tim.ruehsen@gmx.de>

     added support for name=ROBOTS in META tag

2013-09-23 Tim Ruehsen <tim.ruehsen@gmx.de>

     added src/host.h

2013-09-22 Tim Ruehsen <tim.ruehsen@gmx.de>

     added support for robots.txt Robots Exclusion Standard

2013-09-20 Tim Ruehsen <tim.ruehsen@gmx.de>

     added option --(no-)parent

2013-09-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     more work on the test suite

2013-09-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --https-only

2013-09-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     added -e/--execute

2013-09-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     test code tweaking

2013-09-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed test suite issues

2013-09-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     some tweaks on encoding

2013-09-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     better handling of non-ASCII URLs and filenames

2013-09-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     adjust README/README.md

2013-09-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     prepared for listing/scanning directories

2013-09-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix memleak in cookie handling

2013-09-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     more work done

2013-09-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     moved metalink stuff to library code

2013-09-09 Tim Ruehsen <tim.ruehsen@gmx.de>

     reenabled metalink3

2013-09-09 Tim Ruehsen <tim.ruehsen@gmx.de>

     threading model reimplemented to put more load onto the workers

2013-08-18 Tim Ruehsen <tim.ruehsen@gmx.de>

     tune xml.c

2013-08-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     mention --secure-protocol=SECURE in help text

2013-08-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     xml parser rewritten to output len and pos of values

2013-08-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     simplified some calls to mget_buffer_init() using C99

2013-08-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix GnuTLS crash on handshake errors

2013-08-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --secure-protocol=secure to force Perfect Forward Secrecy

2013-08-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     small corrections in ssl_gnutls.c

2013-07-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     prefer Digest over Basic authentication if server offers both

2013-07-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     add -fPIC to CFLAGS, remove private path from tests

2013-07-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     added test-auth-basic.c

2013-07-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     more tests

2013-05-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     use TCP Fastopen if available

2013-05-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix bug in hashmap.c

2013-04-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     highlevel improvement

2013-04-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     escape / in query for filename generation

2013-04-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     tuned getstream.c example

2013-04-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     added support for metalink3

2013-04-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated Requirements in README.rst

2013-04-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     handle metalink mirror redirections

2013-04-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     changed part download message

2013-04-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     renamed option --base-url to --base

2013-04-09 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed stringmap/hashmap usage in mget.c and blacklist.c

2013-04-07 Tim Ruehsen <tim.ruehsen@gmx.de>

     getstream.c example now handles Shoutcast metainfo

2013-03-29 Tim Ruehsen <tim.ruehsen@gmx.de>

     cleaned up hashmap/stringmap API

2013-03-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     let HTTP test server understand Range headers

2013-03-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     converted more tests from Perl to C IV

2013-03-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     converted more tests from Perl to C III

2013-03-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     converted more tests from Perl to C II

2013-03-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     converted more tests from Perl to C

2013-03-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     work on test suite

2013-03-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --content-disposition

2013-03-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     new C testsuite

2013-03-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed double free in blacklist.c

2013-03-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     added option -p and -l

2013-02-06 Benoit Goudreault-Emond <bgoudreault@webmd.net>

     Ensure the m4 directory is created, or builds won't work out of the box.

2013-02-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     new example getting a stream from a .m3u URL

2013-02-02 Tim Ruehsen <tim.ruehsen@gmx.de>

     new abstract thread functions

2013-01-30 Benoit Goudreault-Emond <bgoudreault@webmd.net>

     Fix errors in potfile.in that made makefile fail

2013-01-29 Tim Ruehsen <tim.ruehsen@gmx.de>

     put work into high level example http_get.c

2013-01-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     added libmget/md5.c

2013-01-18 Tim Ruehsen <tim.ruehsen@gmx.de>

     Updated README.rst

2013-01-18 Tim Ruehsen <tim.ruehsen@gmx.de>

     moved http.c and md5.c into library

2013-01-18 rockdaboot <tim.ruehsen@gmx.de>

     Update README.rst
2013-01-18 rockdaboot <tim.ruehsen@gmx.de>

     Update README.rst
2013-01-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix more stuff

2013-01-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     more basic work on libmget

2013-01-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     new examples folder

2013-01-13 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix make distcheck

2013-01-11 Tim Ruehsen <tim.ruehsen@gmx.de>

     more stuff moved into libmget

2013-01-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     more stuff moved into libmget

2013-01-07 Tim Ruehsen <tim.ruehsen@gmx.de>

     added two doc files to git

2013-01-04 Tim Ruehsen <tim.ruehsen@gmx.de>

     more documentation stuff

2013-01-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     started gtk-docs

2013-01-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated README.rst

2013-01-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     more auto* stuff

2012-12-31 Tim Ruehsen <tim.ruehsen@gmx.de>

     use LGPL for libmget

2012-12-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     step forward to libmget

2012-12-26 Tim Ruehsen <tim.ruehsen@gmx.de>

     HTTP basic/digest authentication, send Referer HTTP header

2012-12-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     started Authentication

2012-12-20 Tim Ruehsen <tim.ruehsen@gmx.de>

     use gcc -Wsign-compare option

2012-12-20 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed --secure-protocol=SSLv2/SSLv3

2012-12-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     added -D/--domains and --exclude-domains

2012-12-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     added 'deflate' Content-Encoding

2012-12-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     IDN / international domain support finished

2012-12-11 Tim Ruehsen <tim.ruehsen@gmx.de>

     removed an URI test that had no host host part

2012-12-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     added IDN conversion for locally provided URIs

2012-12-09 Tim Ruehsen <tim.ruehsen@gmx.de>

     started with IDN / URI encoding

2012-12-08 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --bind-address, fixed parsing IPv6 numeric addresses

2012-12-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     added -Q/--quota, added configure script

2012-11-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     started with -Q

2012-11-30 Tim Ruehsen <tim.ruehsen@gmx.de>

     added -i, -F, -B, --force-css

2012-11-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --default_page

2012-11-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     added -E/--adjust-extension/--html-extension, C89 NONNULL macro

2012-11-28 Tim Ruehsen <tim.ruehsen@gmx.de>

     removed variadic macros

2012-11-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated README.rst

2012-11-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     using autotools

2012-11-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     directory structure changes

2012-11-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     some hashmap optimization

2012-11-20 Tim Ruehsen <tim.ruehsen@gmx.de>

     fixed double free in hashmap_put_noalloc for key/value identity

2012-11-19 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --referer

2012-11-18 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --save-headers

2012-11-18 Tim Ruehsen <tim.ruehsen@gmx.de>

     check for gnutls version number when using *ECDH* stuff

2012-11-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated BSD compatibility

2012-11-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --clobber / -nc

2012-11-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --cache to enable/disable server cache

2012-11-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --inet4-only, --inet6-only, --prefer-family

2012-11-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --delete-after

2012-11-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     added -n options

2012-11-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --strict-comments as dummy option

2012-11-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     added directory options and timestamping

2012-11-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --continue / -c

2012-11-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     added --server-response / -S

2012-11-12 Tim Ruehsen <tim.ruehsen@gmx.de>

     added proxy support

2012-11-09 Tim Ruehsen <tim.ruehsen@gmx.de>

     added blacklist.(c|h) and stringmap.(c|h)

2012-11-08 Tim Ruehsen <tim.ruehsen@gmx.de>

     added hashmap functions

2012-11-06 Tim Ruehsen <tim.ruehsen@gmx.de>

     cookie support incl. Mozilla Public Suffix List

2012-10-05 Tim Ruehsen <tim.ruehsen@gmx.de>

     url escaping

2012-09-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     buffer_printf routines

2012-09-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     more internal work

2012-08-29 Tim Ruehsen <tim.ruehsen@gmx.de>

     more gnutls debugging output

2012-08-27 Tim Ruehsen <tim.ruehsen@gmx.de>

     HTTPS options to achieve wget compatibility

2012-08-24 Tim Ruehsen <tim.ruehsen@gmx.de>

     more test functions

2012-08-22 Tim Ruehsen <tim.ruehsen@gmx.de>

     added buffer functions

2012-08-21 Tim Ruehsen <tim.ruehsen@gmx.de>

     more tests, some fixes

2012-08-17 Tim Ruehsen <tim.ruehsen@gmx.de>

     added options -o and -a

2012-08-16 Tim Ruehsen <tim.ruehsen@gmx.de>

     added option -q

2012-08-15 Tim Ruehsen <tim.ruehsen@gmx.de>

     fix gnutls

2012-08-14 Tim Ruehsen <tim.ruehsen@gmx.de>

      * fixed vector.c / vec_insert_sorted_noalloc()
      * added test for vec_insert_sorted_noalloc()
      * fixed css.c / css_parse_file()

2012-08-14 Tim Ruehsen <tim.ruehsen@gmx.de>

     implemented DNS lookup cache, --dns-cache=on|off

2012-08-13 Ant Bryan <anthonybryan@gmail.com>

     README.rst typos

2012-08-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     some refactoring, handle relative Location:

2012-08-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated README.rst

2012-08-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     updated README.rst

2012-08-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     new README.rst

2012-08-10 Tim Ruehsen <tim.ruehsen@gmx.de>

     * HTTPS via gnutls
     * Many bug fixes and enhancements

2012-08-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     Updated README

2012-08-03 Tim Ruehsen <tim.ruehsen@gmx.de>

     Repository created