sixel-sys 0.5.0

FFI bindings to libsixel
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
2020-01-12  Hayaki Saito <saitoha@me.com>

  * converters/Makefile.am, converters/Makefile.in, src/loader.c: More tweaks
  for vpath build

2020-01-11  Hayaki Saito <saitoha@me.com>

  * Makefile.am, Makefile.in, configure.ac, converters/Makefile.am,
  converters/Makefile.in, python/libsixel/__init__.py, src/Makefile.am,
  src/Makefile.in: Additional fixes for VPATH build(#56)

  * python/libsixel/__init__.py: Fix broken python interface

2020-01-09  Hayaki Saito <saitoha@me.com>

  * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in,
  src/Makefile.am, src/Makefile.in: Initial support for VPATH build(#56)

2020-01-03  Hayaki Saito <saitoha@me.com>

  * NEWS: Update NEWS

  * ChangeLog: Update ChangeLog

  * include/sixel.h.in, python/libsixel/__init__.py: Update python interface

2020-01-01  Hayaki Saito <saitoha@me.com>

  * .travis.yml: travis: drop "--with-gdk-pixbuf2" build on osx

  * src/frame.c, src/fromsixel.c: Prevent an integer overflow problem(#127)

2019-12-30  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: Fix for CVE-2019-20056, assertion failure problem(#126).
  Thanks to @sleicasper

2020-01-01  Hayaki Saito <saitoha@me.com>

  * config.h.in, configure, configure.ac, src/allocator.c, src/chunk.c,
  src/decoder.c, src/dither.c, src/encoder.c, src/frame.c, src/fromgif.c,
  src/frompnm.c, src/fromsixel.c, src/loader.c, src/malloc_stub.c,
  src/output.c, src/pixelformat.c, src/quant.c, src/scale.c, src/status.c,
  src/tests.c, src/tosixel.c, src/tty.c, src/writer.c: Build fixes

2019-12-31  Hayaki Saito <saitoha@me.com>

  * Makefile.in, config.h.in, configure, configure.ac, src/chunk.c,
  src/decoder.c, src/fromsixel.c, src/malloc_stub.c, src/pixelformat.c,
  src/status.c, src/stb_image.h, src/tests.c, src/tosixel.c, src/tty.c: Minor
  update of configure checks

2019-12-29  Hayaki Saito <saitoha@me.com>

  * include/sixel.h.in, src/frompnm.c, src/writer.c: Add some input param
  checks to sixel_helper_write_image_file()

  * src/tosixel.c: Add some input param checks to sixel_encode()

  * ChangeLog: Update Changelog

2019-12-28  Hayaki Saito <saitoha@me.com>

  * src/encoder.c, src/loader.c, src/output.c, src/pixelformat.c: Strip
  trailing spaces

  * configure, configure.ac, package.json: Bump version

  * ChangeLog, Makefile.in: Update ChangeLog

2019-12-27  Hayaki Saito <saitoha@me.com>

  * Makefile.in, config.h.in, configure, configure.ac, src/loader.c: Avoid
  illegal longjump() call (#124)

  * Makefile.in, configure, configure.ac: Strip unnecessary CFLAGS options

2019-12-25  Hayaki Saito <saitoha@me.com>

  * src/fromgif.c: GIF loader: avoid segfault caused by an integer overflow
  problem(#125, reported by @cuanduo).

  * src/loader.c: Image loader: normalize requested colors to prevent integer
  overflow

2019-12-23  Hayaki Saito <saitoha@me.com>

  * include/sixel.h.in, src/allocator.c: Introduce SIXEL_ALLOCATE_BYTES_MAX
  macro and limit allocation size to 128MB(#74)

  * config.h.in, configure, configure.ac, src/loader.c: Make stb_image errors
  more detailed

  * src/fromgif.c: Minor fixes in load_gif().

  * src/fromgif.c: GIF loader: check bad image separator, ensure left/top
  offset of image don't reach image margins (#122)

  * include/sixel.h.in, src/fromgif.c: GIF loader: set default gif delay

  * src/fromgif.c: GIF loader: skip unknown extension block

  * src/fromgif.c: Avoid a buffer overflow problem on reading graphic control
  extension block

  * Makefile.in, converters/Makefile.am, converters/Makefile.in,
  src/fromgif.c: GIF loader: consider frame-local color table for deciding the
  number of output colors

  * src/fromgif.c: Strip first flag check in LZW compression function for
  issue #118

2019-12-21  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: Fix memory leak in STBI PSD loader

2019-12-20  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: Fix memory leak problem in fromsixel.c (#120)

2019-12-21  Hayaki Saito <saitoha@me.com>

  * Makefile.am: Fix coveralls optoins

  * src/dither.c: Fix broken unittest

2019-12-19  Hayaki Saito <saitoha@me.com>

  * NEWS: Update NEWS

  * ChangeLog: Update ChangeLog

  * src/fromsixel.c: sixel decoder: extend image width and height separately

2019-12-18  Hayaki Saito <saitoha@me.com>

  * Makefile.in, configure, configure.ac, package.json: Bump the package
  version

  * ChangeLog: Update ChangeLog

  * src/fromsixel.c: Suppress gcc -Wsign-conversion warnings

  * README.md: Update README

  * src/stb_image.h: Raise an error instead of assert() when wrong color mask
  is detected (#89)

  * src/fromsixel.c: Prevent integer overflow reported in #118, thanks to
  @SuhwanSong

2019-12-17  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: Fix typo

  * converters/sixel2png.c: sixel2png: fix misssing error handling

  * src/tosixel.c: Add additional error message for SIXEL_BAD_INTEGER_OVERFLOW

  * src/frompnm.c: Fix for infinite recursive loop problem in load_pnm()
  (#85), Thanks to @Loginsoft-Research

  * src/loader.c: Try to suppress gcc -Wclobbered warnings again

  * Makefile.in, config.h.in, configure, configure.ac, src/loader.c: Check
  availability of -Wclobbered

  * src/loader.c: Try to suppress gcc -Wclobbered warnings again

  * Makefile.in, src/loader.c: Suppress gcc -Werror=clobbered warnings

2019-12-16  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: Add error message for 1377517

  * src/fromsixel.c: Make safe_addition_for_params() as a static function

  * Makefile.in, src/fromsixel.c: Add error message for 9c013f2

  * README.md: Update README: add more projects using sixels

  * src/tosixel.c: Fix access violation problem on high color mode (#116),
  Thanks to SuhwanSong

  * src/dither.c: Use SIXEL_PALETTE_MAX instead of 256

  * src/fromsixel.c: Use SIXEL_PALETTE_MAX instead of 256

2019-12-15  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: Add invalid parameter check at image_buffer_init() /
  image_buffer_resize() (#107)

  * Makefile.in, src/fromsixel.c: Avoid huge memory allocation caused by
  integer overflow problems

  * src/loader.c: Handle libpng error message (#73), thanks to HongxuChen

  * src/dither.c: Avoid illegal memory access problem with 1 color paletted
  png(#73), Thanks to HongxuChen.

  * Makefile.in, aclocal.m4, configure, converters/Makefile.in,
  include/Makefile.in, m4/ax_gcc_builtin.m4, python/Makefile.in,
  src/Makefile.in, tools/Makefile.in: Add missing m4 macro
  m4/ax_gcc_builtin.m4

  * README.md: Update README

  * README.md: Update README

  * configure, configure.ac, package.json: Bump version

  * README.md, converters/img2sixel.1: Update contributers section

  * NEWS: Update NEWS

  * ChangeLog: Update ChangeLog

2019-12-13  Hayaki Saito <saitoha@me.com>

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * src/loader.c: Suppress glib deprecated warnings

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

  * .travis.yml: Ammend fix for e18ebe6

  * .travis.yml: Drop mingw32 build

2019-12-02  pwd <weidangpeng@gmail.com>

  * src/fromsixel.c: use function safe_addition_for_params to check integer
  overflow

  * src/frompnm.c: fix issue that the width and the deps miss checks

  * include/sixel.h.in, src/status.c: define macro SIXEL_BAD_INTEGER_OVERFLOW
  for integer

  * src/tosixel.c: check integer overflow in 'map[pix * width + x] |= (1 <<
  i);'

2019-08-29  Takatsugu Nokubi <takatsugu.nokubi@robotfund.co.jp>

  * src/loader.c: check jpeg decoder error

  * src/fromsixel.c: check size, fix issue #83

2019-08-01  Takatsugu Nokubi <takatsugu.nokubi@robotfund.co.jp>

  * include/sixel.h.in, src/decoder.c: add limitation to width and height

2019-07-25  Takatsugu Nokubi <takatsugu.nokubi@robotfund.co.jp>

  * src/fromsixel.c: position error check

2019-07-24  Takatsugu Nokubi <takatsugu.nokubi@robotfund.co.jp>

  * src/fromsixel.c: prevent to access heap overflow

2019-07-23  Takatsugu Nokubi <takatsugu.nokubi@robotfund.co.jp>

  * src/stb_image.h: assign default error message

2019-07-08  Takatsugu Nokubi <takatsugu.nokubi@robotfund.co.jp>

  * src/allocator.c: Add malloc size check

  * src/fromsixel.c: size check

2019-07-07  Takatsugu Nokubi <takatsugu.nokubi@robotfund.co.jp>

  * src/status.c: no op when message is NULL

2018-08-06  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: stb_image: fix for #76 POC h050. detect bad PSD file.

2018-08-05  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: stb_image: fix for #76 POC h010. detect bad PSD file
  which has fake size declaration in its image header

  * src/stb_image.h: stb_image: fix for #76 POC h002. detect bad TGA file
  which has fake size declaration in its image header

  * src/fromgif.c: GIF loader: fix for #76 POC h001. don't believe image size
  declared in the header, use actual size.
  https://github.com/saitoha/libsixel/issues/76

2018-08-03  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: Quickfix for issue #72: validate huffman code
  https://github.com/saitoha/libsixel/issues/72

2018-08-02  Hayaki Saito <saitoha@me.com>

  * src/fromgif.c: gif loader: add some comments

  * src/fromgif.c: gif loader: check LZW code size (Issue #75)

2018-07-23  Hayaki Saito <saitoha@me.com>

  * src/Makefile.am, src/Makefile.in: Amend travis build fixes again

  * src/Makefile.am, src/Makefile.in: Amend fix for travis build

  * src/Makefile.am, src/Makefile.in: Travis build fixes

  * NEWS: Update NEWS

  * README.md: Update README.md

  * README.md: Update README.md

  * README.md: Update README.md

  * Makefile.in, README.md, aclocal.m4, compile, config.guess, config.sub,
  configure, configure.ac, converters/Makefile.in, depcomp,
  include/Makefile.in, install-sh, missing, package.json, py-compile,
  python/Makefile.in, src/Makefile.in, tools/Makefile.in: Bump version 1.8.2

  * NEWS: Update NEWS

  * ChangeLog: Update ChangeLog

2018-06-10  Hayaki Saito <saitoha@me.com>

  * converters/img2sixel.1: Fix a typo: a_dither -> x_dither(issue #66)

2018-07-23  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: Quickfix for issue #69: allocate buffer more 1 lines to
  prevent heap-buffer-overflow

2018-07-22  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: Quickfix for issue #70
  https://github.com/saitoha/libsixel/issues/70

  * src/frompnm.c: Fix again for #71
  https://github.com/saitoha/libsixel/issues/71

  * src/encoder.c: Fix a memory leak problem in encoder caused by bad
  reference counting

  * src/decoder.c: Fix memory leak problems reported in #67
  https://github.com/saitoha/libsixel/issues/67

  * src/dither.c, src/encoder.c, src/quant.c: Add some comments

  * src/dither.c, src/quant.c: Issue #68: check invalid color number(<1)
  https://github.com/saitoha/libsixel/issues/68

  * src/quant.c: Issue #68: fix for a bug detect color number of 1x1 image as
  0 https://github.com/saitoha/libsixel/issues/68

  * src/frompnm.c: Prevent stack-buffer-overflow reported in #71
  https://github.com/saitoha/libsixel/issues/71

2018-06-25  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: Prevent occurence of UndefinedBehaviorSanitizer in
  stb_image

2018-06-19  Hayaki Saito <saitoha@me.com>

  * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac,
  converters/Makefile.in, include/Makefile.in, python/Makefile.in,
  src/Makefile.in, src/fromsixel.c, tools/Makefile.in: Add missing default
  case in RGB to HLS converter

2018-06-18  Hayaki Saito <saitoha@me.com>

  * README.md: Add ax_gcc_builtin.m4 for checking GCC built-in functions

2018-06-17  Hayaki Saito <saitoha@me.com>

  * src/encoder.c, src/loader.c, src/output.c, src/pixelformat.c: Strip
  trailing spaces

2018-06-14  Hayaki Saito <saitoha@me.com>

  * examples/opengl/main.c: example/opengl: use high level API,
  sixel_encoder_encode_bytes() instead of sixel_encode()

2018-06-10  Hayaki Saito <saitoha@me.com>

  * converters/img2sixel.1: Fix a typo: a_dither -> x_dither(issue #66)

  * Makefile.in, config.h.in, configure, configure.ac, package.json: Bump
  version: 1.8.1

  * src/quant.c: Fix critical bug: sixel_dither_set_diffusion_type() (called
  from img2sixel -d option) doesn't work well

2018-06-09  Hayaki Saito <saitoha@me.com>

  * src/chunk.c: Suppress an uninitialized warning on GCC-4.1

  * src/chunk.c: Move pragma GCC diagnostic to outside functions because it's
  not allowed on gcc44

2018-06-05  Hayaki Saito <saitoha@me.com>

  * README.md: Update README, add Fedora Copr

2018-06-04  Hayaki Saito <saitoha@me.com>

  * README.md: Update README.md

  * README.md: Update README.md

2018-06-03  Hayaki Saito <saitoha@me.com>

  * NEWS: Update NEWS

  * src/loader.c: Add some debug message to png loader

  * README.md: Update README: GNUPLOT's "sixel" driver is renamed as
  "sixeltek"

2017-06-10  Hayaki Saito <saitoha@me.com>

  * README.md: Update README for adding some language bindings

2017-05-18  Hayaki Saito <saitoha@me.com>

  * README.md: README: add mention for forth-sixel

2018-06-03  Hayaki Saito <saitoha@me.com>

  * include/sixel.h.in, python/LICENSE, python/Makefile.am,
  python/Makefile.in, python/libsixel/__init__.py, python/setup.py: Add python
  interface to missing pixelformat constants,
  SIXEL_PIXELFORMAT_{BGRA,ABGR}8888

  * NEWS: Update NEWS, added announcement for package maintainers

2018-06-02  Hayaki Saito <saitoha@me.com>

  * LICENSE.pnmcolormap, converters/img2sixel.c: Minor fixes

2018-06-01  Hayaki Saito <saitoha@me.com>

  * src/encoder.c: Avoid memory access violation with img2sixel -v option

2018-05-28  Hayaki Saito <saitoha@me.com>

  * NEWS, README.md, compile, config.guess, config.h.in, config.sub,
  configure, configure.ac, converters/Makefile.am, converters/img2sixel.1,
  converters/img2sixel.c, depcomp, install-sh, missing, py-compile,
  src/allocator.c, src/chunk.c, src/decoder.c, src/dither.c, src/encoder.c,
  src/frame.c, src/fromgif.c, src/loader.c, src/pixelformat.c, src/quant.c,
  src/status.c, src/stb_image.h, src/writer.c: Add __declspec(dllexport) to
  test routines for MinGW

  * Makefile.in, configure, configure.ac, converters/Makefile.am: Suppress
  strict-overflow warnings on MinGW

2018-05-27  Hayaki Saito <saitoha@me.com>

  * src/stb_image.h: Suppress unused function waringns (nothings/stb pull
  request #610)

  * src/stb_image.h: Upgrade stb_image to v2.19

  * NEWS, README.md, converters/Makefile.am, converters/img2sixel.1,
  converters/img2sixel.c: Marks -D option (read source images from stdin
  continuously) as deprecated

  * Makefile.in, compile, config.guess, config.h.in, config.sub, configure,
  configure.ac, depcomp, install-sh, missing, py-compile, src/encoder.c: Use
  nanosleep(2) instead of usleep(2)

  * configure, configure.ac: Define _BSD_SOURCE to use uleep(2)

  * configure.ac: Define _BSD_SOURCE to use uleep(2)

  * configure, configure.ac, src/stb_image.h: Fix warnings on gcc-4.7/4.8/4.9

  * .travis.yml: Fix typo s/--enable--tests/enable-tests/g

  * configure, configure.ac, src/quant.c: Don't use variable length array in
  sixel_quant_apply_palette()

  * configure, configure.ac, src/encoder.c: Add -D_POSIX_C_SOURCE=200809L
  compiler option to use usleep

  * configure.ac: Define _POSIX_SOURCE

  * src/chunk.c: Use S_ISDIR macro instead of S_IFDIR

  * src/chunk.c: Add missing sys/select.h inclusion

  * src/quant.c: Initialize function pointer variables for suppressing
  warnings -Wmaybe-uninitialized

  * Makefile.in, aclocal.m4, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, python/Makefile.in, src/Makefile.in, tools/Makefile.in:
  Add compiler flag -std=c99

  * src/tosixel.c: Remove comma at end of the enumerator PALETTE_CHANGE

  * src/fromsixel.c: Remove comma at end of enumerator list parse_state

  * include/sixel.h.in: Remove comma at end of enumerator list for suppressing
  -Wpedantic warnings.

  * NEWS: Update NEWS

  * ChangeLog, converters/img2sixel.1: Update ChangeLog

2017-06-22  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: Fix wrong HLS color handling

2018-05-11  IWAMOTO Kouichi <sue@iwmt.org>

  * src/tosixel.c: fix to use dcs_end_size with dcs_start  use dcs_start_size
  instead of dcs_end_size.

2018-04-04  Yusuke Endoh <mame@ruby-lang.org>

  * src/fromgif.c: Allow a deferred clear code in a GIF format  img2sixel says
  `corrupt GIF(reason: too many codes)` but this is a wrong behavior.  GIF
  decoder must do nothing when the table is full. See Section "DEFERRED CLEAR
  CODE IN LZW COMPRESSION" in [this
  document](https://www.w3.org/Graphics/GIF/spec-gif89a.txt).

2018-03-17  Hayaki Saito <saitoha@me.com>

  * Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure,
  converters/Makefile.in, depcomp, include/Makefile.in, install-sh, missing,
  py-compile, python/Makefile.in, src/Makefile.in, tools/Makefile.in: Update
  autotools version

2017-06-22  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: Fix wrong HLS color handling

2017-06-23  Hayaki Saito <saitoha@me.com>

  * LICENSE.xterm, src/fromsixel.c: Rewrinte HLS handling function
  hls_to_rgb()

  * include/sixel.h.in, src/dither.c, src/dither.h, src/quant.c, src/quant.h,
  src/tosixel.c: Introduce new meta type sixel_index_t (now equals unsigned
  char)

  * src/output.h, src/tosixel.c: sixel_node_t::map should be represented as
  7bit character, not 8bit

  * src/encoder.c, src/quant.c: Add annotations for some fixed buffer size

  * src/dither.c, src/encoder.c, src/quant.c, src/tosixel.c: Respect to
  constant value SIXEL_PALETTE_MAX

  * src/tosixel.c: Prevent HLS saturation parameter overflow(>100)

2017-06-22  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: Fix wrong HLS color handling

2017-06-10  Hayaki Saito <saitoha@me.com>

  * README.md: Update README for adding some language bindings

  * examples/drawing/main.c, examples/opengl/main.c, src/output.c: Example:
  Minor fixes

2017-06-03  Hayaki Saito <saitoha@me.com>

  * examples/opengl/main.c: demo/opengl: don't use deplecated API functions

2017-05-18  Hayaki Saito <saitoha@me.com>

  * README.md: README: add mention for forth-sixel

  * converters/Makefile.am, converters/Makefile.in: Minor fixes

2017-05-03  Hayaki Saito <saitoha@me.com>

  * README.md: Fix stupid typo, a_dither -> x_dither.

  * converters/shell-completion/bash/img2sixel,
  converters/shell-completion/zsh/_img2sixel: Add shell completion info -d
  option arguments a_dither/x_dither.

  * converters/img2sixel.c: Fix typo a_dither -> x_dither

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Mark -D,
  --pipe-mode option as deprecated.

  * .travis.yml: Reduce test cases for OSX.

  * src/encoder.c: Fix for Issue #57, lack of O_TRUNC when open() is called.
  Thanks to @set135.

2017-05-02  Hayaki Saito <saitoha@me.com>

  * Makefile.in, aclocal.m4, config.h.in, configure, converters/Makefile.am,
  converters/Makefile.in: Add tests for a_dither/x_dither

  * src/encoder.c, src/quant.c, src/tosixel.c: Style fixes

  * converters/img2sixel.c, include/sixel.h.in, python/libsixel/__init__.py,
  src/encoder.c: Update comments and help information

  * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac,
  package.json: Update package version to 1.8.0

  * NEWS: Update NEWS

  * include/sixel.h.in, python/libsixel/__init__.py: Add constants
  SIXEL_DIFFUSE_{A,X}_DITHER to python interface

  * src/loader.c: Minor fix

  * Makefile.in, aclocal.m4, config.h.in, configure: pkg-config v0.29.2

  * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac,
  src/loader.c, src/stb_image.h: Use stb_image v2.15

2017-04-25  Hayaki Saito <saitoha@me.com>

  * src/tosixel.c: Fixed a bug that makes 15bpp dither no effect.

  * src/tosixel.c: Strip trailing spaces

2017-04-21  Hayaki Saito <saitoha@me.com>

  * converters/sixel2png.c: Show error details when sixel2png fails

  * README.md: Amend fixes

  * README.md: More information

2017-04-19  Hayaki Saito <saitoha@me.com>

  * README.md: Additional catching-up

  * README.md: Catching up

2017-04-11  Hayaki Saito <saitoha@me.com>

  * src/sixel.5: Fix a type fixed a typo pointed out by @silverhammermba(#58).

  * converters/img2sixel.c, converters/sixel2png.c, src/loader.c: Print
  configuration info about libsixel, with "img2sixel -V"

2016-12-18  Hayaki Saito <saitoha@me.com>

  * README.md: Update README

2016-12-10  Hayaki Saito <saitoha@me.com>

  * ChangeLog, Makefile.in: Update ChangeLog

  * converters/Makefile.am, converters/Makefile.in: Amend

2016-12-09  Hayaki Saito <saitoha@me.com>

  * .travis.yml: Fix travis build

  * .travis.yml, converters/Makefile.am, converters/Makefile.in: Avoid travis
  Build times out problem

2016-12-08  Hayaki Saito <saitoha@me.com>

  * Makefile.in, README.md, configure, configure.ac, package.json: Update
  package version to 1.7.3

2016-11-12  Turenar <sora@turenar.xyz>

  * src/decoder.c: fix wrong ref counting in sixel_decoder_decode

2016-10-11  Hayaki Saito <saitoha@me.com>

  * .travis.yml: travis: change --prefix path to /usr/local in OSX build

2016-10-08  Øyvind Kolås <pippin@gimp.org>

  * include/sixel.h.in, src/encoder.c, src/quant.c, src/tosixel.c: add
  positional/ordered dithers a_dither and x_dither  These are dithering
  methods arising from searching the paramater spaces for simple 2d pattern /
  pseudo random number generators - optimizing a fitness metric of both
  statistical measures and human perceptual preference - see
  http://pippin.gimp.org/a_dither/ - these dithering methods are similar to
  other AM/FM hybrid digital halftoning methods.

2016-10-10  Hayaki Saito <saitoha@me.com>

  * src/tosixel.c: Small fix for wrong error message

  * configure, configure.ac: Build with -Bsymbolic option if it's available

2016-10-01  Hayaki Saito <saitoha@me.com>

  * src/sixel.5: manpage: fix wrong description of Xterm's ./configure option
  (#51, Thanks to @nilqed)

  * README.md: README: fix wrong description of Xterm's ./configure option
  (#51, Thanks to @nilqed) "--enable-sixel" -> "--enable-sixel-graphics"

2016-09-14  Hayaki Saito <saitoha@me.com>

  * README.md: README: minor fixes

  * README.md: Update README

2016-09-12  Hayaki Saito <saitoha@me.com>

  * examples/drawing/main.c: Ensure 256 color sixel register is available in
  drawing demo

  * src/fromgif.c: Fix dangling pointer access in GIF loader

  * configure, configure.ac, package.json: Update version to 1.7.2

2016-09-10  Hayaki Saito <saitoha@me.com>

  * src/tty.c: Suppress unused-label warning

2016-09-09  Hayaki Saito <saitoha@me.com>

  * src/tty.c: Suppress warning on mingw environment

2016-09-08  Hayaki Saito <saitoha@me.com>

  * Makefile.in: Rebuild

  * src/tty.c: Fix wrong error handling after calling select(2)

  * src/tty.c: Additional inclusion of sys/time.h and sys/types.h for
  traditional systems

  * src/tty.c: Fix a typo: selet -> select

2016-08-11  Hayaki Saito <saitoha@me.com>

  * converters/img2sixel.c, converters/malloc_stub.c,
  converters/malloc_stub.h, converters/sixel2png.c, include/sixel.h.in,
  ruby/ext/libsixel/libsixel.c, src/allocator.c, src/allocator.h, src/chunk.c,
  src/chunk.h, src/decoder.c, src/decoder.h, src/dither.c, src/dither.h,
  src/encoder.h, src/frame.c, src/frame.h, src/fromgif.c, src/fromgif.h,
  src/frompnm.c, src/frompnm.h, src/fromsixel.c, src/loader.c, src/loader.h,
  src/malloc_stub.c, src/malloc_stub.h, src/output.c, src/output.h,
  src/pixelformat.c, src/pixelformat.h, src/quant.c, src/quant.h, src/scale.c,
  src/status.c, src/status.h, src/stb_image_write.c, src/tests.c,
  src/tosixel.c, src/tty.c, src/tty.h, src/writer.c, src/writer.h: Correct
  file variables for emacs

2016-09-14  Hayaki Saito <saitoha@me.com>

  * README.md: README: minor fixes

  * README.md: Update README

2016-09-12  Hayaki Saito <saitoha@me.com>

  * examples/drawing/main.c: Ensure 256 color sixel register is available in
  drawing demo

  * Makefile.in, src/fromgif.c: Fix dangling pointer access in GIF loader

  * configure, configure.ac, package.json: Update version to 1.7.2

2016-09-10  Hayaki Saito <saitoha@me.com>

  * src/tty.c: Suppress unused-label warning

2016-09-09  Hayaki Saito <saitoha@me.com>

  * src/tty.c: Suppress warning on mingw environment

2016-09-08  Hayaki Saito <saitoha@me.com>

  * Makefile.in: Rebuild

  * src/tty.c: Fix wrong error handling after calling select(2)

  * src/tty.c: Additional inclusion of sys/time.h and sys/types.h for
  traditional systems

  * src/tty.c: Fix a typo: selet -> select

2016-08-23  Hayaki Saito <saitoha@me.com>

  * NEWS: Update README

2016-08-22  Hayaki Saito <saitoha@me.com>

  * README.md: Fix wrong description about xterm -ti option

  * src/loader.c: loader: minor fix in load_jpeg()

2016-08-13  Hayaki Saito <saitoha@me.com>

  * LICENSE.mesa, examples/opengl/Makefile.am, examples/opengl/Makefile.in,
  examples/opengl/README.md, examples/opengl/main.c: Add missing license terms
  for examples/opengl/main.c I've forgotten some parts of it are derived from
  glxpbdemo.c

  * examples/opengl/main.c: OpenGL example: scroll more 1 line before emit
  SIXELs

  * examples/python/Makefile: Add a Makefile to python example

  * examples/python/converter.py: PIL use Image.tobytes() insted of deprecated
  Image.tostring()

2016-08-12  Hayaki Saito <saitoha@me.com>

  * .travis.yml: travis: remove "brew install pkg-config"

  * .travis.yml: travis: prevent duplicated installation of pkg-config

  * .travis.yml: Correct brew package name: "libgdk-pixbuf" -> "gdk-pixbuf"

  * .travis.yml: travis: amend fix

  * .travis.yml: travis: "brew update" before osx build

  * .travis.yml: travis: use include:

  * .travis.yml: travis: use build matrix

2016-08-11  Hayaki Saito <saitoha@me.com>

  * .travis.yml: test commit

  * src/loader.c: Don't use GIF/PNM loader in stb_image.h

  * converters/img2sixel.1: Update manpage of img2sixel

  * converters/img2sixel.c, converters/malloc_stub.c,
  converters/malloc_stub.h, converters/sixel2png.c, include/sixel.h.in,
  ruby/ext/libsixel/libsixel.c, src/allocator.c, src/allocator.h, src/chunk.c,
  src/chunk.h, src/decoder.c, src/decoder.h, src/dither.c, src/dither.h,
  src/encoder.h, src/frame.c, src/frame.h, src/fromgif.c, src/fromgif.h,
  src/frompnm.c, src/frompnm.h, src/fromsixel.c, src/loader.c, src/loader.h,
  src/malloc_stub.c, src/malloc_stub.h, src/output.c, src/output.h,
  src/pixelformat.c, src/pixelformat.h, src/quant.c, src/quant.h, src/scale.c,
  src/status.c, src/status.h, src/stb_image_write.c, src/tests.c,
  src/tosixel.c, src/tty.c, src/tty.h, src/writer.c, src/writer.h: Correct
  file variables for emacs

2016-08-06  Hayaki Saito <saitoha@me.com>

  * Makefile.in, src/dither.c: Minor fixes

  * include/sixel.h.in: Add more comments to sixel.h

2016-08-03  Hayaki Saito <saitoha@me.com>

  * configure, configure.ac, converters/Makefile.in, package.json: Rebuild

  * converters/Makefile.am: Amend fix

2016-08-02  Hayaki Saito <saitoha@me.com>

  * .gitignore: Update .gitignore for ignoreing libsixel-config

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in:
  Fix for cygport compilation

2016-07-04  Hayaki Saito <saitoha@me.com>

  * examples/drawing/README.md, examples/python/README.md: Update README for
  examples

  * README.md: Update README

2016-06-16  Hayaki Saito <saitoha@me.com>

  * ChangeLog: Update ChangeLog

2016-06-15  Hayaki Saito <saitoha@me.com>

  * python/setup.py: Update Python interface version

  * setup.py: Update Python interface version

  * NEWS, README.md: Update README

  * converters/Makefile.am, converters/Makefile.in: Add missing '$(WINE)' in
  Makefile to prevent access violation error in mingw-w64 build

  * .travis.yml: display log with tail -n50

  * .travis.yml: travis: display whole error log

2016-06-12  Hayaki Saito <saitoha@me.com>

  * README.md: Minor fixes

  * examples/drawing/README.md, examples/opengl/README.md: Minor fixes

  * NEWS: Update NEWS

  * configure, configure.ac, package.json: Update package version to 1.7.0,
  libtool version to 1.6.0

  * ChangeLog: Update ChangeLog

  * examples/python/README.md: Update README.md of python example

  * examples/drawing/README.md: Update README.md of drawing example

  * converters/Makefile.am, converters/Makefile.in: converters: replace
  relative path "../" to $(top_srcdir)

  * src/Makefile.am, src/Makefile.in: Add -no-undefined option to LDFLAGS of
  libsixel

2016-06-07  Hayaki Saito <saitoha@me.com>

  * Makefile.in: Update ChangeLog

  * ChangeLog, python/Makefile.in: Update ChangeLog

2016-06-06  Hayaki Saito <saitoha@me.com>

  * examples/python/README.md, examples/python/converter.py: Add python
  example

  * ChangeLog: Update ChangeLog

  * src/fromsixel.c: Don't skip image finalization

  * src/dither.c, src/encoder.c: Minor fixes

  * src/encoder.c: Minor fixes

  * ChangeLog: Update ChangeLog

  * src/fromsixel.c: Change default allocation size of image object to 1x1

  * src/fromsixel.c: Strip an unused case label

  * src/fromsixel.c: Style fix

  * src/fromsixel.c: Fix a conditional expression detecting sixel characters

2016-06-05  Hayaki Saito <saitoha@me.com>

  * ChangeLog: Update ChangeLog

  * python/libsixel/__init__.py: Add
  sixel_dither_get_palette()/sixel_dither_set_palette()

  * libsixel/__init__.py: Add
  sixel_dither_get_palette()/sixel_dither_set_palette()

  * src/dither.c: Set pixelformat in sixel_dither_get()

2016-05-30  Hayaki Saito <saitoha@me.com>

  * libsixel/__init__.py: Add python interfaces for dither object

  * python/libsixel/__init__.py: Add python interfaces for dither object

  * src/dither.c, src/tosixel.c: Fix for loading G1/G2/G4 pixel format

  * include/sixel.h.in, src/encoder.c: Drop
  sixel_encoder_encode_bytes_to_output()

  * NEWS: Update NEWS

2016-05-23  Hayaki Saito <saitoha@me.com>

  * python/libsixel/__init__.py: Add sixel_output_* functions to python
  interface

  * libsixel/__init__.py: Add sixel_output_* functions to python interface

2016-05-22  Hayaki Saito <saitoha@me.com>

  * src/encoder.c, src/fromsixel.c: Minor fixes

2016-05-11  Hayaki Saito <saitoha@me.com>

  * ChangeLog: Update ChangeLog

  * README.md: Update README

2016-05-10  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: Style fix

  * src/fromsixel.c: Fix wrong DCS parameter parsing

  * src/fromsixel.c: Add missing default case for switching by parser state

2016-05-08  Hayaki Saito <saitoha@me.com>

  * src/fromsixel.c: decoder: parse SIXEL without forward tracking to prevent
  access violation

2016-05-07  Hayaki Saito <saitoha@me.com>

  * converters/img2sixel.1: Fix typoed email address

2016-05-05  Hayaki Saito <user@zuse.jp>

  * src/fromsixel.c: Suppress a sign-conversion warning

  * src/fromsixel.c: Introduce parser_context_t structure for internal use in
  sixel_decode_raw()

  * src/fromsixel.c: Remove external linkage of image_buffer_* functions

  * src/fromsixel.c: Tune buffer resize operations

  * src/Makefile.in, src/fromsixel.c: Introduce image_buffer_t structure for
  internal use in sixel_decode_raw()

2016-05-04  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Change function name: sixel_encoder_without_macro to
  sixel_encoder_output_without_macro

2016-05-03  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Minor fix

  * examples/drawing/Makefile, examples/drawing/main.c: drawing example: clean
  up

  * examples/drawing/README.md: Update README

  * examples/drawing/Makefile, examples/drawing/main.c: drawing example: fix
  for linux

  * examples/drawing/main.c, src/Makefile.in: drawing example: scroll on
  demand before drawing canvas

2016-05-02  Hayaki Saito <user@zuse.jp>

  * examples/drawing/Makefile, examples/drawing/README.md,
  examples/drawing/main.c, examples/opengl/README.md: Add drawing example

  * libsixel/__init__.py: Process list-based palette correctly in
  encode.encode_bytes()

  * python/libsixel/__init__.py: Process list-based palette correctly in
  encode.encode_bytes()

2016-05-01  Hayaki Saito <user@zuse.jp>

  * libsixel/__init__.py: Accept string buffer as 1st argument of
  encoder.encode_bytes()

  * python/libsixel/__init__.py: Accept string buffer as 1st argument of
  encoder.encode_bytes()

  * python/Makefile.am, python/Makefile.in, src/encoder.c: Suppress a
  sign-conversion warning on OSX

  * Makefile.am, Makefile.in: Suppress a sign-conversion warning on OSX

  * libsixel/__init__.py, libsixel/encoder.py: Add encoder.encode_bytes method
  introduced from libsixel 1.6

  * python/libsixel/__init__.py, python/libsixel/encoder.py: Add
  encoder.encode_bytes method introduced from libsixel 1.6

  * python/libsixel/encoder.py: Fix a typo pointed out by @ignisan

  * libsixel/encoder.py: Fix a typo pointed out by @ignisan

2016-05-01  vagrant <vagrant@ubuntu-16.localdomain>

  * src/Makefile.in, src/chunk.c, src/decoder.c, src/encoder.c, src/fromgif.c,
  src/loader.c, src/quant.c, src/tty.c, src/writer.c: Suppress sign-conversion
  warnings in MinGW environment

  * src/Makefile.am, src/Makefile.in, src/allocator.c, src/malloc_stub.c,
  src/malloc_stub.h: Add missing rpl_malloc()/rpl_free() function

2016-04-30  Hayaki Saito <user@zuse.jp>

  * Makefile.in, configure, configure.ac, src/quant.c: Suppress
  sign-conversion warnings in MinGW environment

  * src/writer.c: Suppress -Wsign-conversion in 3rd argument of fwrite()

  * src/chunk.c: Avoid a warning when using FD_SET() with -Wsign-conversion
  and _FORTIFY_SOURCE

  * src/pixelformat.c: Suppress -Wsign-conversion in 3rd argument of memcpy()

  * src/frame.c: Suppress -Wsign-conversion in 3rd argument of memmove()

  * src/quant.c: Minor fix

  * src/dither.c, src/quant.c: Suppress -Wsign-conversion in 2rd argument of
  sixel_allocator_calloc()

  * src/dither.c, src/encoder.c, src/fromgif.c, src/frompnm.c,
  src/fromsixel.c, src/loader.c, src/quant.c, src/tosixel.c: Suppress
  -Wsign-conversion in 3rd argument of memcpy()/memset()

2016-04-29  Hayaki Saito <user@zuse.jp>

  * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac,
  include/sixel.h.in, src/chunk.c, src/decoder.c, src/dither.c, src/encoder.c,
  src/frame.c, src/fromgif.c, src/frompnm.c, src/fromsixel.c, src/loader.c,
  src/quant.c, src/quant.h, src/scale.c, src/stb_image_write.c, src/tosixel.c,
  src/tty.c, src/writer.c: Add -Wsign-conversion compile flags and fix
  implicit type sign-conversions

2016-04-20  Hayaki Saito <user@zuse.jp>

  * LICENSE.sixel: Update README

2016-04-03  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * src/stb_image_write.h: Update stb_image_write to v1.02

  * README.md, converters/img2sixel.1: Update manpage and README

  * src/stb_image.h: Update stb_image to v2.12

2016-03-26  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

2016-03-25  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

  * src/fromgif.c: Fix broken -S option

  * README.md: Add a notaion for avoiding xterm's color register limitation
  (suggested by @ismail in #47)

  * src/stb_image_write.c: Ignore -Wdouble-promotion warnings during including
  stb_image_write.h

2016-03-24  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Don't reset encoder->pixel{width,height} in clipping
  function

  * src/encoder.c: Don't reset encoder->pixel{width,height} in scaling
  function

  * src/fromgif.c: Fix broken resize feature for animated GIF

2016-03-23  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in: Suppress a warning(-Wundef) when including sixel.h

2016-03-09  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: cleanup

2016-03-07  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: update ABI version

2016-03-06  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Update ABI version

  * include/sixel.h.in, src/frame.c, src/pixelformat.c, src/writer.c: Add
  support for new pixelformat ABGR/BGRA

  * NEWS: Update NEWS

  * ChangeLog: Update ChangeLog

  * ChangeLog: Update ChangeLog

  * Makefile.in, README.md, converters/img2sixel.1,
  converters/shell-completion/bash/img2sixel,
  converters/shell-completion/zsh/_img2sixel: Add -R option stuff to README,
  manpage, shell-completion

2016-03-05  Hayaki Saito <user@zuse.jp>

  * README.md, converters/img2sixel.1, converters/sixel2png.1: Update
  descriptions in README and manpage for stbi/stbiw

  * converters/img2sixel.1, converters/sixel2png.1: Update contributors
  section of manpages

2016-03-03  Hayaki Saito <user@zuse.jp>

  * Makefile.in, configure, configure.ac, package.json: Update ABI version

  * converters/img2sixel.c, include/sixel.h.in, src/encoder.c, src/encoder.h:
  New option -R, --gri-limit

  * Makefile.in, include/sixel.h.in, src/output.c: New API:
  sixel_output_set_gri_arg_limit()

  * Makefile.in, configure, configure.ac, package.json: Update ABI version

  * include/sixel.h.in, src/encoder.c, src/loader.c, src/tosixel.c: Add new
  API: sixel_encoder_encode_bytes

2016-02-29  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * README.md: Add @hattya to contributers list

2016-02-27  Hayaki Saito <user@zuse.jp>

  * Makefile.in, src/output.c, src/output.h, src/quant.c, src/quant.h,
  src/tosixel.c: Introduce DECGRI('!') compatibility flag

2016-02-27  Akinori Hattori <hattya@gentoo.org>

  * configure, configure.ac: Fix check for gdImageCreateFromPngPtr
  availability

2016-02-22  Hayaki Saito <user@zuse.jp>

  * src/tty.c: Fix compile error on MinGW environment

  * src/Makefile.am, src/Makefile.in, src/encoder.c, src/tty.c, src/tty.h: Add
  tty.c and tty.h

  * converters/Makefile.am, converters/Makefile.in, include/sixel.h.in,
  src/encoder.c, src/encoder.h: Solve encoder option confliction between
  -m/-e/-I/-b

2016-02-21  Hayaki Saito <user@zuse.jp>

  * src/allocator.c, src/chunk.c, src/decoder.c: Add more tests

  * src/encoder.c: Minor fixes in encoder.c

  * src/decoder.c: Add more tests for decoder.c

  * src/decoder.c: Fix bad initialization check of decoder object

  * Makefile.in, src/decoder.c: Add more tests for decoder.c

  * include/sixel.h.in, src/decoder.c: Minor fixes for decoder.c

  * src/decoder.c, src/decoder.h, src/tests.c: Add tests for decoder.c

  * include/sixel.h.in, src/allocator.c: Add an allocation test with bad
  allocator

  * src/decoder.c: Fix bad initalization problem of decoder object

2016-02-20  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in, src/allocator.c: Publish bad allocators to test
  functions

  * src/stb_image_write.c: Ignore strict-overflow warnings in
  stb_image_write.h

  * src/stb_image_write.c, src/writer.c: Amend fix of 39042435e

  * src/writer.c: Suppress GCC warnings against stb_image_write.h

  * src/loader.c: Suppress warnings caused by shadowing global declarations

  * src/writer.c: Suppress a warning caused by missing default case in switch
  statement

  * src/encoder.c, src/scale.c: Suppress warnings caused by shadowing global
  declarations

  * src/fromgif.c: Suppress a warning caused by missing default case in switch
  statement

  * src/frompnm.c: Suppress warnings caused by shadowing global declarations

  * config.h.in, configure, configure.ac, src/loader.c: Amend fix for
  suppressing GCC warnings against stb_image.h

  * Makefile.in, config.h.in, configure, configure.ac, src/encoder.c,
  src/loader.c: Suppress GCC warnings against stb_image.h

  * src/quant.c: Suppress warnings caused by shadowing global declarations

  * src/fromsixel.c: Suppress a warning caused by missing default case in
  switch statement

  * include/sixel.h.in, src/decoder.c, src/encoder.c, src/frame.c,
  src/output.c: Add some comments to functions

  * README.md: Update README

  * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Update
  copyright notice

  * LICENSE, converters/img2sixel.c, converters/malloc_stub.c,
  converters/malloc_stub.h, converters/sixel2png.c,
  python/libsixel/__init__.py, python/libsixel/decoder.py,
  python/libsixel/encoder.py, src/allocator.c, src/allocator.h, src/chunk.c,
  src/chunk.h, src/decoder.c, src/decoder.h, src/dither.c, src/dither.h,
  src/encoder.c, src/encoder.h, src/frame.c, src/frame.h, src/fromgif.c,
  src/fromgif.h, src/frompnm.c, src/frompnm.h, src/loader.c, src/loader.h,
  src/output.c, src/output.h, src/pixelformat.c, src/pixelformat.h,
  src/quant.c, src/quant.h, src/scale.c, src/status.c, src/status.h,
  src/stb_image_write.c, src/tests.c, src/writer.c, src/writer.h: Update
  copyright notice

  * src/encoder.c: Minor improvements for encoder.c

  * Makefile.in, configure, configure.ac: Add some gcc/clang warning option
  flags to CFLAGS

  * converters/img2sixel.c: Fix a overlength-strings warnings

  * src/loader.c: Fix for a warning with gcc -Wpedantic option

  * src/decoder.c, src/encoder.c: Fix warnings of declaration shadows a local
  variable

  * LICENSE.stb: Update LICENSE file of stb project

  * src/stb_image_write.h: Upgrade stb_image_write.h to v1.01

  * src/stb_image.h: Upgrade stb_image to 2.10

  * src/quant.c: Fix a gnu-folding-constant warning

  * src/quant.c: Fix warnings of declaration shadows a local variable

2016-02-17  Hayaki Saito <user@zuse.jp>

  * README.md: README Minor fixes

2015-09-05  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

  * configure, configure.ac, package.json: Update version

2015-09-04  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Let it build without python

  * tools/libsixel-config.in: Add --datarootdir option to libsixel-config

2015-08-30  Hayaki Saito <user@zuse.jp>

  * LICENSE, README.rst, setup.py: Merge commit
  '6a63778c44312484bdef9b3a3d394272f8bc98d3'

  * LICENSE, README.rst, setup.py: Include license file

  * LICENSE, package.xml, package2.xml, php_sixel.h, sixel.c, sixel.xml:
  Change the license to MIT

2015-08-26  Hayaki Saito <user@zuse.jp>

  * setup.py: Update version

  * README.rst, libsixel/__init__.py, libsixel/decoder.py,
  libsixel/encoder.py, setup.py: Merge commit
  '99bac207a2032e77717e376b17aec29fbac46727'

  * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Support
  various python versions, 2.5 to 3.4

  * README.rst: Update README

  * libsixel/decoder.py: Fix inconsistent use of tabs and spaces in
  indentation

2015-08-22  Hayaki Saito <user@zuse.jp>

  * ChangeLog, configure, configure.ac, package.json: Update version

  * NEWS: Update NEWS

  * sixel.c, sixel.xml: Use sixel_encoder_new() instead of
  sixel_encoder_create()

  * README.md: Update README

2015-08-08  Hayaki Saito <user@zuse.jp>

  * MANIFEST: Update MANIFEST

  * lib/Image/LibSIXEL.xs: Use sixel_encoder_new/sixel_decoder_new

  * builder/MyBuilder.pm, minil.toml: Add custom builder

2015-08-07  Hayaki Saito <user@zuse.jp>

  * ext/libsixel/libsixel.c, lib/libsixel/version.rb: Use
  sixel_encoder_new/sixel_decoder_new

2015-08-04  Hayaki Saito <user@zuse.jp>

  * src/chunk.c, src/decoder.c, src/writer.c: Use fixed error message in some
  case to prevent buffer overflow

  * src/decoder.c, src/encoder.c, src/fromgif.c, src/frompnm.c,
  src/fromsixel.c, src/loader.c, src/output.c, src/tosixel.c: Set additional
  messages when bad allocation error occured

2015-08-03  Hayaki Saito <user@zuse.jp>

  * libsixel/decoder.py, libsixel/encoder.py, setup.py: Update version

  * src/loader.c: Suppress warning for using deprecated function

  * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Merge
  commit 'ed4631fe8bcd0f777eb012a0c1661da7f31d6a35' into develop

  * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Add some
  wrapper functions and constants

2015-08-02  Hayaki Saito <user@zuse.jp>

  * README.md, include/sixel.h.in: Update README

  * README.md, include/sixel.h.in, src/loader.c: Make sixel_decode() as
  deprecated

  * include/sixel.h.in, src/encoder.c, src/frame.c: Make sixel_frame_create()
  as deprecated

  * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/encoder.c:
  Make sixel_dither_create() as deprecated

  * include/sixel.h.in, src/dither.c, src/encoder.c: Mark
  sixel_dither_create() function as deprecated

  * include/sixel.h.in, src/frame.c, src/scale.c: Use allocator object in
  scale.c

  * include/sixel.h.in, src/encoder.c, src/output.c, src/output.h: Use
  allocator object in output.c

  * src/tosixel.c: Use allocator object in tosixel.c

  * include/sixel.h.in, src/decoder.c, src/fromsixel.c, src/writer.c: Use
  allocator object in writer.c

  * src/fromsixel.c: Use allocator object in fromsixel.c

  * src/chunk.c: Suppress a sign-compare warnings

  * src/frompnm.c, src/frompnm.h, src/loader.c: Use allocator object in
  frompnm.c

  * src/loader.c: Use allocator object in STBI loader

  * src/dither.c, src/quant.c, src/quant.h: Use allocator object in quant.c

  * src/allocator.c, src/dither.c: Amend fix for miss-operation of reference
  counter

  * src/fromgif.c, src/fromgif.h, src/loader.c: Use allocator object in
  fromgif.c

  * include/sixel.h.in, src/allocator.c, src/allocator.h, src/chunk.c,
  src/decoder.c, src/dither.c, src/dither.h, src/encoder.c, src/frame.c,
  src/status.c, src/tests.c: Add new allocator API: sixel_allocator_calloc()

2015-07-29  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, src/chunk.c, src/loader.c: Add more handlers for
  libcurl errors

  * src/chunk.c, src/decoder.c, src/encoder.c: Fix leaks and segmentation
  faults

  * src/chunk.c: Fix leaks around chunk object initialization

  * include/sixel.h.in, src/decoder.c, src/frame.c, src/frame.h: Use allocator
  in frame.c

  * src/loader.c: Use allocator in loader.c

2015-07-28  Hayaki Saito <user@zuse.jp>

  * src/chunk.c: Minor fixes around chunk.c

  * converters/img2sixel.c: Use sixel_encoder_new() in img2sixel

  * converters/sixel2png.c, include/sixel.h.in, src/decoder.c, src/decoder.h:
  Introduce sixel_decoder_new(), the constructor of decoder with custom
  allocator

2015-07-25  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Additional test for encoder.c

  * src/encoder.c: Minor fixes

2015-07-23  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in, src/allocator.c, src/encoder.c: Fix memory access
  violation issue

2015-07-22  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in, src/allocator.c, src/encoder.c: Add APIs for calling
  custom allocator functions

  * include/sixel.h.in, src/allocator.c, src/allocator.h, src/encoder.c,
  src/tests.c: Introduce reference counter to allocator object

2015-07-21  Hayaki Saito <user@zuse.jp>

  * Makefile.in, config.h.in, configure, configure.ac, converters/img2sixel.c,
  include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/allocator.c,
  src/allocator.h, src/chunk.c, src/chunk.h, src/encoder.c, src/encoder.h,
  src/loader.c: Introduce allocator object

2015-07-20  Hayaki Saito <user@zuse.jp>

  * src/tests.c: Enable tests for chunk.c

  * include/sixel.h.in, src/decoder.c, src/decoder.h, src/encoder.c,
  src/encoder.h, src/frame.c, src/frame.h, src/tests.c: Minor fixes

  * include/sixel.h.in, src/dither.h, src/fromsixel.c, src/output.c,
  src/output.h, src/tosixel.c: Minor fixes

  * src/chunk.c, src/chunk.h, src/loader.c, src/tests.c: Suppress build
  warning: implicit-function-declaration

  * converters/Makefile.am, converters/Makefile.in: Fix travis build again

2015-07-19  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Try to fix broken travis
  build

  * LICENSE.stb: Add license notice of src/fromgif.c

  * converters/img2sixel.1: Add documentation for the environment variables
  $SIXEL_COLORS

  * src/encoder.c: Introduce SIXEL_COLORS environment (for Issue #27)

  * converters/img2sixel.c: Minor fix

2015-07-18  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Ammend fixes

  * src/encoder.c: Minor fixes

  * src/encoder.c: Minor fixes for encoder.c

2015-07-14  Hayaki Saito <user@zuse.jp>

  * src/dither.c, src/encoder.c, src/frame.c, src/fromgif.c, src/fromgif.h,
  src/frompnm.c, src/frompnm.h, src/fromsixel.c, src/loader.c, src/loader.h,
  src/output.c, src/output.h, src/quant.c, src/scale.c, src/status.h,
  src/tosixel.c: Minor fixes

2015-07-13  Hayaki Saito <user@zuse.jp>

  * src/loader.c: Add missing stdio.h inclusion to loader.c

  * src/Makefile.am, src/Makefile.in, src/chunk.c, src/chunk.h, src/frame.h,
  src/loader.c: Add chunk.c/chunk.h

  * src/loader.c: Minor fixes around sixel_chunk_t

2015-07-12  Hayaki Saito <user@zuse.jp>

  * src/writer.c: Minor fixes

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Add
  documentation of the environment variables $SIXEL_BGCOLOR

  * src/decoder.c: Add missing header io.h to decoder.c

  * converters/sixel2png.c: Add missing header io.h to sixel2png.c

  * ChangeLog: Update ChangeLog

  * Makefile.in, src/Makefile.in: Rebuild

  * config.h.in, configure, configure.ac, src/loader.c: Add missing header:
  _setmode() requires <io.h> inclusion

  * config.h.in, configure, configure.ac, converters/loader.c: Add missing
  header: _setmode() requires <io.h> inclusion

  * Makefile.in, configure, configure.ac, package.json: Update version

  * ChangeLog: Update ChangeLog

  * Makefile.in, configure, configure.ac: Hotfix for broken
  libcurl/libpng/libjpeg detection

  * src/encoder.c: Build fix for MinGW environment

  * src/encoder.c: Add error handling for sixel_write_callback() and sprintf()

2015-07-11  Hayaki Saito <user@zuse.jp>

  * src/frame.c, src/loader.c: Minor fixes

  * src/fromgif.c: Fix broken GIF loader

2015-07-05  Hayaki Saito <user@zuse.jp>

  * src/fromgif.c: Minor fixes

  * src/loader.c: Suppress gcc warnings

  * src/loader.c: Don't test memory_write() function if libcurl integration is
  not enabled

  * src/fromgif.c: Add missing "config.h" inclusion to fromgif.c

  * src/encoder.c, src/fromgif.c, src/fromgif.h, src/quant.c, src/tests.c:
  Minor fixes

  * include/sixel.h.in, src/encoder.c: Add more tests for encoder.c

  * src/encoder.c: Add more tests for encoder.c

  * include/sixel.h.in, src/encoder.c, src/frame.h: Add tests for encoder.c

  * include/sixel.h.in, src/Makefile.am, src/decoder.h, src/encoder.h,
  src/loader.c, src/loader.h, src/tests.c: Add initial tests for loader.c

  * Makefile.in, config.h.in, configure, configure.ac, src/frame.c,
  src/loader.c, src/writer.c: Checks availability of #pragma GCC diagnostic
  ignored "-Wtypedef-redefinition"

  * ChangeLog: Update ChangeLog

  * converters/img2sixel.c, examples/opengl/main.c, src/encoder.c: Minor fixes

2015-07-01  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Fix a bug of returning wrong status in
  prepare_builtin_palette()

2015-06-30  Hayaki Saito <user@zuse.jp>

  * src/fromgif.c, src/loader.c, src/quant.c: Minor improvements

2015-06-29  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Use sixel_helper_set_additional_message() instead of using
  stderr printing

  * src/decoder.c, src/dither.c, src/encoder.c, src/loader.c: Minor
  improvements

2015-06-28  Hayaki Saito <user@zuse.jp>

  * src/encoder.c, src/frame.c, src/loader.c, src/pixelformat.c: Minor
  improvements

  * src/writer.c: Add more tests for status.c

  * src/status.c: Strip extra free() call

  * src/status.c: Strip extra '"' character

  * src/status.c: Update tests

  * src/writer.c: Add more error handling and tests to writer.c

  * src/status.c: Update tests in status.c

  * src/status.c, src/writer.c: Update tests

  * src/Makefile.am, src/Makefile.in, src/status.c, src/status.h, src/tests.c,
  src/writer.c: Add more tests

  * ChangeLog: Update ChangeLog

  * src/loader.c: Fix segmentation error when set -e option with loading 1/2/4
  bpp grayscale image

  * converters/Makefile.am, converters/Makefile.in: Add tests for -B option

  * Makefile.in, config.h.in, configure, configure.ac, src/tosixel.c: Check
  ldiv() availability with ./configure script

2015-06-27  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Ammend fix

  * src/encoder.c: Set pixelformat to dither context when input format is
  grayscale

  * src/loader.c, src/status.c: Fix regression of returning invalid status
  when using libjpeg

  * src/tosixel.c: Use builtin functions instead of sprintf()

2015-06-26  Hayaki Saito <user@zuse.jp>

  * META.json, META.yml: Update META.json/META.yml

  * Build.PL: Update Build.PL for linking to libsixel

  * lib/Image/LibSIXEL.xs: Remove debugging code

  * lib/Image/LibSIXEL.xs: Remove include derective "ppport.h"

  * Build.PL, Changes, META.json, README.md, minil.toml: Add missing files:
  minil.toml and Changes

  * perl/Build.PL, perl/MANIFEST, perl/META.yml, perl/README.md,
  perl/lib/Image/{Sixel.pm => LibSIXEL.pm}, perl/lib/Image/{Sixel.xs =>
  LibSIXEL.xs}, perl/lib/Image/LibSIXEL/Decoder.pm,
  perl/lib/Image/LibSIXEL/Encoder.pm, perl/lib/Image/Sixel/Decoder.pm,
  perl/lib/Image/Sixel/Encoder.pm, perl/t/{sixel.t => libsixel.t}: perl:
  change module name: Image::Sixel -> Image::LibSIXEL

  * Build.PL, MANIFEST, META.yml, README.md, lib/Image/{Sixel.pm =>
  LibSIXEL.pm}, lib/Image/{Sixel.xs => LibSIXEL.xs},
  lib/Image/LibSIXEL/Decoder.pm, lib/Image/LibSIXEL/Encoder.pm,
  lib/Image/Sixel/Decoder.pm, lib/Image/Sixel/Encoder.pm, t/{sixel.t =>
  libsixel.t}: perl: change module name: Image::Sixel -> Image::LibSIXEL

2015-06-25  Hayaki Saito <user@zuse.jp>

  * php/README, php/sixel/.cvsignore, php/sixel/CREDITS,
  php/sixel/EXPERIMENTAL, php/sixel/README, php/sixel/config.m4,
  php/sixel/config.w32, php/sixel/manual/file-entities.ent,
  php/sixel/manual/functions.xml, php/sixel/manual/manual.xml.in,
  php/sixel/manual/sixel/configure.xml, php/sixel/manual/sixel/constants.xml,
  php/sixel/manual/sixel/ini.xml, php/sixel/manual/sixel/reference.xml,
  php/sixel/package.xml, php/sixel/package2.xml, php/sixel/php_sixel.h,
  php/sixel/sixel.c, php/sixel/sixel.dsp, php/sixel/sixel.xml,
  php/sixel/tests/SixelEncoder____construct.phpt,
  php/sixel/tests/SixelEncoder____destruct.phpt,
  php/sixel/tests/SixelEncoder__encode.phpt,
  php/sixel/tests/SixelEncoder__setopt.phpt: Remove php extension directory

  * .gitmodules, ruby: Remove submodule directory

2015-06-23  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in: core: Add SIXEL_OPTFLAG_xxx definitions

  * .gitignore, CREDITS, EXPERIMENTAL, LICENSE, README, config.m4, config.w32,
  manual/Makefile, manual/file-entities.ent, manual/functions.xml,
  manual/manual.xml.in, manual/sixel/configure.xml,
  manual/sixel/constants.xml, manual/sixel/ini.xml,
  manual/sixel/reference.xml, package.xml, package2.xml, php_sixel.h, sixel.c,
  sixel.dsp, sixel.xml, tests/SixelEncoder____construct.phpt,
  tests/SixelEncoder____destruct.phpt, tests/SixelEncoder__encode.phpt,
  tests/SixelEncoder__setopt.phpt: Initial commit

  * NEWS: Update NEWS

  * README.md: Update README

  * .gitmodules, ruby: Add dubmodule libsixel-ruby

2015-06-22  Hayaki Saito <user@zuse.jp>

  * ruby/README, ruby/images/egret.jpg, ruby/images/egret.six, ruby/setup.rb,
  ruby/sixel.c: Drop Ruby interface

  * .gitignore, .travis.yml, Gemfile, LICENSE.txt, README.md, Rakefile,
  ext/libsixel/extconf.rb, ext/libsixel/libsixel.c, ext/libsixel/libsixel.h,
  images/egret.jpg, images/egret.six, lib/libsixel.rb,
  lib/libsixel/version.rb, libsixel-ruby.gemspec, test/minitest_helper.rb,
  test/test_libsixel.rb: Initial commit

2015-06-16  Hayaki Saito <user@zuse.jp>

  * src/writer.c: Fix build error caused by calling undeclared function

  * NEWS: Update README

  * ruby/sixel.c: ruby: show detailed error messages

  * NEWS: Update NEWS

  * ruby/sixel.c: Minor fix

  * src/status.c: Add missing file: src/status.c

  * converters/img2sixel.c, include/sixel.h.in, src/decoder.c, src/encoder.c,
  src/loader.c, src/writer.c: Improve error handling

  * Makefile.in, configure, configure.ac, converters/img2sixel.c,
  include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/loader.c:
  Introduce newv APIs for semantic error handling: -
  sixel_helper_set_additional_message() -
  sixel_helper_get_additional_message() - sixel_helper_format_error()

2015-06-15  Hayaki Saito <user@zuse.jp>

  * src/loader.c: Supperss uninitialized warnings caused by MinGW gcc

2015-06-14  Hayaki Saito <user@zuse.jp>

  * ruby/README, ruby/images/egret.jpg, ruby/images/egret.six, ruby/setup.rb,
  ruby/sixel.c: Add initial implementation of ruby interface

  * src/decoder.c, src/encoder.c: Handle some ignored allocation errors

  * converters/img2sixel.c, converters/sixel2png.c: Do semantic error handling
  (on progress)

  * src/loader.c: Suppress unused-label GCC warning

  * src/encoder.c: Do semantic error handling (on progress)

  * include/sixel.h.in, src/loader.c: Handle curl errors

  * src/encoder.c, src/loader.c: Do semantic error handling (on progress)

  * src/loader.c: Fix compile errors caused by missing symbol

  * README.md, converters/Makefile.am, converters/Makefile.in,
  converters/img2sixel.c, converters/shell-completion/bash/img2sixel,
  converters/shell-completion/zsh/_img2sixel, src/encoder.c: Add new -b option
  values: gray1/2/4/8

  * include/sixel.h.in, src/dither.c, src/encoder.c: Add new built-in palette
  profiles, gray1/2/4/8

  * src/encoder.c, src/loader.c: Do semantic error handling (on progress)

  * examples/opengl/main.c, include/sixel.h.in, src/dither.c, src/tosixel.c:
  Do semantic error handling (on progress)

2015-06-13  Hayaki Saito <user@zuse.jp>

  * src/dither.c, src/encoder.c: Do semantic error handling (on progress)

  * include/sixel.h.in, src/encoder.c, src/fromgif.c, src/loader.c: Introduce
  SIXELSTATUS and related macros

  * include/sixel.h.in: Define LIBSIXEL_VERSION and LIBSIXEL_ABI_VERSION as
  string

  * include/sixel.h.in: Correct typoed version macro

  * include/sixel.h.in: Correct typoed version macro

2015-06-12  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

2015-06-11  Hayaki Saito <user@zuse.jp>

  * src/Makefile.am, src/Makefile.in: Add rgblookup.gprf to distributed files

  * src/Makefile.am, src/Makefile.in, src/rgblookup.h: Re-generate rgblookup.h

  * src/rgblookup.gperf: Add gperf file generated from X11's rgb.txt

2015-06-10  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Fix segfault occurs when environment variable
  $SIXEL_BGCOLOR is not set

  * src/Makefile.am, src/Makefile.in, src/encoder.c, src/rgblookup.h: Parse
  X11 color name which is specified with -B option

  * src/encoder.c: Introduce SIXEL_BGCOLOR environment (for Issue #27)

  * src/encoder.c: Strip unneeded substitution to palette type option when -B
  option is specified

  * NEWS: Update README

2015-06-09  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

  * NEWS: Update NEWS for release 1.5

  * README.md: Update README: update version of stb_image.h/stb_image_write.h

  * LICENSE.stb: Update license file of stb

  * src/fromgif.c: gif loader: cleanup

  * src/fromgif.c: gif loader: update license notice

  * src/fromsixel.c: Minor fix

  * patches/applied/stb_image.h.diff: Remove directory "patches"

  * src/loader.c, src/stb_image.h: Update stb_image to version 2.06

2015-06-08  Hayaki Saito <user@zuse.jp>

  * LICENSE: Update LICENCE file

  * include/sixel.h.in, src/decoder.c, src/dither.c, src/encoder.c,
  src/frame.c, src/fromgif.c, src/frompnm.c, src/loader.c, src/output.c,
  src/pixelformat.c, src/quant.c, src/scale.c, src/tosixel.c, src/writer.c:
  Use constant symbols which start with the prefix SIXEL_

  * cpanfile: Add cpanfile for perl interface

  * perl/cpanfile: Add cpanfile for perl interface

  * README.md, lib/Image/Sixel.pm: Update README and POD of perl interface

  * perl/README.md, perl/lib/Image/Sixel.pm: Update README and POD of perl
  interface

2015-06-07  Hayaki Saito <user@zuse.jp>

  * README.md, t/sixel.t: Minor fixes

  * perl/README.md, perl/t/sixel.t: Minor fixes

  * MANIFEST, README => README.md: Rename the README of perl module

  * perl/MANIFEST, perl/{README => README.md}: Rename the README of perl
  module

  * README: Update README of perl module

  * perl/README: Update README of perl module

  * README.md: Update README

2015-06-06  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Update version to 1.4.12

2015-06-05  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

  * src/loader.c: Fix segmentation fault caused by previous commit

  * converters/loader.c: Copy gdk's pixbuf memory to libsixel-internal chunk
  with attention to image stride (reported by @ttdoda, Issue #43)

2015-06-02  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

2015-05-30  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

2015-05-29  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Correct wrong help string of ./configure

  * tools/Makefile.am, tools/Makefile.in, tools/libsixel-config.in: Add
  missing build files

  * Build.PL, MANIFEST, MANIFEST.SKIP, META.yml, Makefile.PL, README,
  images/egret.jpg, images/egret.six, lib/Image/Sixel.pm, lib/Image/Sixel.xs,
  lib/Image/Sixel/Decoder.pm, lib/Image/Sixel/Encoder.pm, lib/Image/ppport.h,
  t/sixel.t: Initial commit of libsixel perl interface

  * perl/Build.PL, perl/MANIFEST, perl/MANIFEST.SKIP, perl/META.yml,
  perl/Makefile.PL, perl/README, perl/images/egret.jpg, perl/images/egret.six,
  perl/lib/Image/Sixel.pm, perl/lib/Image/Sixel.xs,
  perl/lib/Image/Sixel/Decoder.pm, perl/lib/Image/Sixel/Encoder.pm,
  perl/lib/Image/ppport.h, perl/t/sixel.t: Initial commit of libsixel perl
  interface

  * Makefile.am, Makefile.in, configure, configure.ac: Add a helper tool
  libsixel-config

2015-05-28  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Don't close STDOUT with -o option

2015-05-27  Hayaki Saito <user@zuse.jp>

  * README.rst: Show python package path after ./configure is succeeded

  * configure, configure.ac, python/README.rst, src/Makefile.am,
  src/Makefile.in: Show python package path after ./configure is succeeded

  * README.rst: Update README of python bindings

  * python/README.rst: Update README of python bindings

  * Makefile.am, Makefile.in: Add test-output.png to CLEANFILES

  * src/Makefile.am, src/Makefile.in: Add src/tests to CLEANFILES

  * python/README.rst: Fix syntax errors of README.rst

  * README.rst: Fix syntax errors of README.rst

  * python/Makefile.am, python/Makefile.in: Add python/Makefile.am
  python/Makefile.in

  * Makefile.am, Makefile.in: Add python/Makefile.am python/Makefile.in

  * python/sample1.py: Remove a trivial sample file

  * sample1.py: Remove a trivial sample file

  * py-compile: Add py-compile, distributed under special exception to the GNU
  General Public License

  * setup.py: Add setup.py for python bindings

  * python/setup.py: Add setup.py for python bindings

  * README.rst: Add README.rst for python bindings

  * python/README.rst: Add README.rst for python bindings

  * libsixel/__init__.py, libsixel/decoder.py, libsixel/encoder.py: Add
  license blocks to python modules

  * python/libsixel/__init__.py, python/libsixel/decoder.py,
  python/libsixel/encoder.py: Add license blocks to python modules

  * Makefile.am, Makefile.in, aclocal.m4, configure, configure.ac,
  converters/Makefile.in, include/Makefile.in, src/Makefile.in: Build and
  install python bindings by 'make install'

  * libsixel/__init__.py, libsixel/decoder.py, libsixel.py =>
  libsixel/encoder.py: Update python modules

  * python/libsixel/__init__.py, python/libsixel/decoder.py,
  python/{libsixel.py => libsixel/encoder.py}: Update python modules

2015-05-26  Hayaki Saito <user@zuse.jp>

  * src/encoder.c, src/encoder.h: Aggregate a sixel_dither_t instance to
  encoder object

  * examples/opengl/Makefile.in, examples/opengl/aclocal.m4,
  examples/opengl/compile, examples/opengl/config.guess,
  examples/opengl/config.h.in, examples/opengl/config.sub,
  examples/opengl/configure, examples/opengl/configure.ac,
  examples/opengl/depcomp, examples/opengl/install-sh, examples/opengl/main.c,
  examples/opengl/missing: Update OpenGL example: add on-demand scrolling
  feature

  * Makefile.in, converters/Makefile.am, converters/Makefile.in, src/dither.c,
  src/encoder.c, src/frame.c, src/pixelformat.c, src/quant.c, src/tests.c,
  src/writer.c: Add more tests for quant.c and encoder.c

2015-05-25  Hayaki Saito <user@zuse.jp>

  * src/frame.c: Add more tests for frame.c

2015-05-24  Hayaki Saito <user@zuse.jp>

  * Makefile.in, converters/Makefile.am, converters/Makefile.in: Add
  'testfile' to CLEANFILES

2015-05-21  Hayaki Saito <user@zuse.jp>

  * Makefile.in, converters/Makefile.in, src/frame.c: Add more tests for
  frame.c

  * src/frame.c: Drop unused function sixel_frame_set_palette()

  * src/quant.c, src/quant.h, src/tests.c, src/writer.c: Add initial tests for
  quant.c

2015-05-20  Hayaki Saito <user@zuse.jp>

  * src/encoder.c: Strip extra debug code

  * converters/Makefile.am, converters/Makefile.in, src/encoder.c: Fix broken
  -B option test

  * src/Makefile.am, src/Makefile.in, src/writer.c: Add more test cases for
  writer.c

  * src/Makefile.am, src/Makefile.in, src/tests.c, src/writer.c, src/writer.h:
  Add initial tests for writer.c

  * converters/Makefile.am, converters/Makefile.in: sixel2png: Add test of
  specifing invalid output file name

  * converters/Makefile.in, src/frame.c: Add more tests for frame.c

2015-05-19  Hayaki Saito <user@zuse.jp>

  * src/dither.h, src/frame.c, src/frame.h, src/tests.c: Add initial test of
  frame.c

  * src/pixelformat.c: Add more tests for pixelformat.c

  * ChangeLog: Update ChangeLog

  * Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure,
  converters/Makefile.in, depcomp, include/Makefile.in, install-sh, ltmain.sh,
  m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
  m4/lt~obsolete.m4, missing, src/Makefile.in: Rebuild

  * configure.ac: Evaluate arguments of --with-xxx option of ./configure more
  strictly

2015-05-18  Hayaki Saito <user@zuse.jp>

  * src/pixelformat.h: Add missing header file pixelformat.h

  * src/pixelformat.c: Add more tests for pixelformat.c

  * Makefile.in, src/Makefile.am, src/Makefile.in, src/dither.h,
  src/encoder.c, src/encoder.h, src/pixelformat.c, src/tests.c: Add tests for
  pixelformat

  * Makefile.am, Makefile.in: Run unittests on travis

2015-05-17  Hayaki Saito <user@zuse.jp>

  * Makefile.in, configure, configure.ac, src/fromgif.c, src/fromgif.h:
  Cleanup

  * converters/Makefile.in: Minor fix

  * converters/Makefile.am: Drop a surplus test for -k option

  * src/loader.c: Suppress an unused-parameter gcc warning

  * converters/Makefile.am: Add tests for invalid permission file

  * package.json.in.in: Strip --with-curl from package.json

  * include/sixel.h.in, src/decoder.c, src/dither.c, src/encoder.c,
  src/frame.c, src/fromsixel.c, src/loader.c, src/output.c, src/pixelformat.c,
  src/quant.c, src/scale.c, src/tosixel.c, src/writer.c: Add __declspec for
  mingw

  * converters/Makefile.am: Add test cases for -B and -o option

  * src/Makefile.am, src/Makefile.in, src/{easy_decode.c => decoder.c},
  src/{easy_decode.h => decoder.h}, src/{easy_encode.c => encoder.c},
  src/{easy_encode.h => encoder.h}: Rename files: easy_encode.c -> encoder.c,
  easy_decode -> decoder.c

  * ChangeLog: Update ChangeLog

  * libsixel.py: Update python-ctypes binding

  * python/libsixel.py: Update python-ctypes binding

  * php/sixel/package.xml, php/sixel/package2.xml, php/sixel/php_sixel.h,
  php/sixel/sixel.c, php/sixel/sixel.xml, ..._easy_encode.phpt =>
  SixelEncoder__encode.phpt}, ...ncode_setopt.phpt =>
  SixelEncoder__setopt.phpt}: Update php extension

  * src/loader.c: Fix segmentation error when cancel_flag is not set

  * src/easy_encode.c: Drop sixel_callback_context_t

  * include/sixel.h.in, src/easy_decode.c, src/easy_encode.c: Add const
  qualifier to some arguments of sixel_{en,de}coder_setopt()

  * converters/img2sixel.c, include/sixel.h.in, src/easy_encode.c,
  src/easy_encode.h: Add new API sixel_encoder_set_cancel_flag()

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c,
  src/loader.c: Wait input data with select() only if input file is a tty
  device

  * include/sixel.h.in, src/easy_encode.c: Use sixel_write_callback() instead
  of printf() to fix broken -n option

2015-05-16  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c, converters/sixel2png.c, include/sixel.h.in,
  src/easy_decode.c, src/easy_decode.h, src/easy_encode.c, src/easy_encode.h:
  Rename easy encoder/decoder structures and releated APIs

  * src/easy_encode.c: Suppress warnings in MinGW environment

  * converters/shell-completion/zsh/_img2sixel: Update zsh completion file

  * converters/shell-completion/bash/img2sixel: Update bash completion file

  * converters/img2sixel.1: Update manpage of img2sixel

  * src/loader.c: Minor fixes

  * src/loader.c: Suppress gcc unused-parameter warnings

2015-05-15  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in, src/easy_encode.c, src/loader.c: Passes cancel flag to
  image loader

  * src/easy_encode.c, src/loader.c: Minor fix

  * src/easy_encode.c: Don't close stdout/stderr on exit

2015-05-14  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c, src/easy_encode.c, src/easy_encode.h,
  src/loader.c: Implement -o(--outfile) option

2015-05-12  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Add pngsuite background
  tests

  * Makefile.in, aclocal.m4, compile, config.guess, config.sub, configure,
  converters/Makefile.in, depcomp, include/Makefile.in, install-sh, missing,
  src/Makefile.in: Rebuild with automake-1.15

  * src/fromgif.c: Fix leaks around GIF loader

  * converters/img2sixel.c: Stop memory leaks

2015-05-11  Hayaki Saito <user@zuse.jp>

  * php/README, php/sixel/.cvsignore, php/sixel/CREDITS,
  php/sixel/EXPERIMENTAL, php/sixel/README, php/sixel/config.m4,
  php/sixel/config.w32, php/sixel/manual/file-entities.ent,
  php/sixel/manual/functions.xml, php/sixel/manual/manual.xml.in,
  php/sixel/manual/sixel/configure.xml, php/sixel/manual/sixel/constants.xml,
  php/sixel/manual/sixel/ini.xml, php/sixel/manual/sixel/reference.xml,
  php/sixel/package.xml, php/sixel/package2.xml, php/sixel/php_sixel.h,
  php/sixel/sixel.c, php/sixel/sixel.dsp, php/sixel/sixel.xml,
  php/sixel/tests/SixelEncoder____construct.phpt,
  php/sixel/tests/SixelEncoder____destruct.phpt,
  .../tests/SixelEncoder__sixel_easy_encode.phpt,
  .../SixelEncoder__sixel_easy_encode_setopt.phpt: Add php extension

2015-05-10  Hayaki Saito <user@zuse.jp>

  * Makefile.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4,
  m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4, package.json,
  src/Makefile.in: Update package version and libtool version

  * Makefile.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4,
  m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4, src/Makefile.in: Update
  package version and libtool version

  * src/easy_encode.c: Fix segmentation errors around evaluating cancel_flag

2015-05-06  Hayaki Saito <user@zuse.jp>

  * src/fromgif.c: Add missing memset() initialization of the structure
  stbi__gif (for Issue #42, reported by @msmhrt)

2015-05-05  Hayaki Saito <user@zuse.jp>

  * src/Makefile.am, src/Makefile.in, src/loader.c: Use built-in gif loader

  * src/easy_encode.c, src/loader.c: Minor fixes

  * src/fromgif.c, src/fromgif.h: Add new file fromgif.{c,h}

2015-05-04  Hayaki Saito <user@zuse.jp>

  * src/easy_encode.c: Emit CAN(\x18) when received signals

  * src/easy_encode.c: Minor fix around auto-scrolling

  * src/easy_encode.c: Fix a memory leak

2015-05-02  Hayaki Saito <user@zuse.jp>

  * libsixel.py: Rename python class names

  * python/libsixel.py: Rename python class names

  * src/easy_encode.c: Suppress a gcc warning [-Werror=unused-variable]

  * src/easy_decode.c, src/easy_decode.h: Add missing files,
  src/easy_decode.{c,h}

  * src/loader.c: Respect fuse_palette flag when decoding GIF images

2015-04-30  Hayaki Saito <user@zuse.jp>

  * libsixel.py, sample1.py: Add ctypes(ffi) python binding examples

  * python/libsixel.py, python/sample1.py: Add ctypes(ffi) python binding
  examples

  * src/easy_encode.c: Minor fixes

  * src/loader.c: Fix leak around playing GIF animation

  * src/frame.c: Resize PAL8 formatted pixel buffer correctly

  * src/easy_encode.c: Strip unused code around resize/crop

  * src/easy_encode.c: Minor fix

  * src/easy_encode.c: Allow NULL as 2nd argument in sixel_easy_encode()

  * converters/sixel2png.c, include/sixel.h.in: Abolish cancel_flag argument
  of sixel_easy_decode()

  * src/easy_encode.c: Allow NULL as cancel_flag argument in
  sixel_easy_encode()

  * converters/sixel2png.c, include/sixel.h.in, src/Makefile.am,
  src/Makefile.in, src/easy_encode.c, src/easy_encode.h: Add easy decode API
  set

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c,
  include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/easy_encode.c,
  src/easy_encode.h, src/frame.c, src/frame.h: Add easy converter API set

2015-04-29  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Clean up

  * Makefile.in: Rebuild

  * src/loader.c: Load paletted PNG with keycolor (for Issue #28)

  * include/sixel.h.in, src/loader.c: Cleanup

  * converters/img2sixel.c, include/sixel.h.in, src/frame.c, src/frame.h:
  Minor fixes

  * converters/img2sixel.c, include/sixel.h.in, src/Makefile.am,
  src/Makefile.in, src/loader.c: Introduce frame API

  * src/frame.c, src/frame.h: Add frame.c/frame.h

  * include/sixel.h.in: Add reference counter to struct sixel_frame_t

2015-04-28  Hayaki Saito <user@zuse.jp>

  * libsixel.pc.in: Strip -lsixel-imageio from libsixel.pc

2015-04-26  Hayaki Saito <user@zuse.jp>

  * src/loader.c: Respect -B option regarding with GIF images with transparent
  index (for Issue #25)

  * src/loader.c: Prevent segmentation fault when receiving SIGINT during
  playing gif animation

  * converters/img2sixel.c: Handle SIGINT correctly

2015-04-25  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Minor fix

  * src/tosixel.c: Don't output palette definition of the keycolor

  * src/loader.c: Set default transparent color index in with_load_gdkpixbuf()
  and load_with_gd()

  * converters/img2sixel.c, src/loader.c: Pass the keycolor of gif to the
  encoder by using sixel_dither_set_transpaernt()

  * include/sixel.h.in, src/dither.c: Add new API:
  sixel_dither_set_transparent()

  * include/sixel.h.in, src/loader.c: Retrieve transparent color index from
  gif

2015-04-22  Hayaki Saito <user@zuse.jp>

  * src/loader.c: Convert PIXELFORMAT_ARGB8888 into PIXELFORMAT_RGB888 in
  sixel_strip_alpha()

2015-04-19  Hayaki Saito <user@zuse.jp>

  * src/loader.c, src/stb_image.h: Load gif as PAL8 pixelformat

2015-04-13  Hayaki Saito <user@zuse.jp>

  * Makefile.in: Rebuild

  * converters/img2sixel.c: Fix a gcc warning (unused parameter)

  * Makefile.in, converters/img2sixel.c: Set timeout on waiting CPR response

  * config.h.in, configure, configure.ac, converters/img2sixel.c: Check the
  availability of isatty(), termios.h, sys/ioctl.h

  * converters/img2sixel.c: Scroll the terminal on demand when playing gif
  animation

2015-04-12  Hayaki Saito <saitoha@me.com>

  * converters/img2sixel.c, include/sixel.h.in, src/loader.c, src/stb_image.h:
  Detect if the image has multi-frames by builtin gif loader

  * converters/img2sixel.c, src/loader.c: Fix a double free error in
  gdk-pixbuf loader

  * src/loader.c: Minor fix

  * src/loader.c: Suppress a GCC warning when specified --with-gdk-pixbuf2
  configure option

  * converters/img2sixel.c, src/pixelformat.c: Fix broken
  sixel_helper_normalize_pixelforma(), return dst_pixelformat correctly

2015-04-11  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Update .travis.yml to check --without-png configure option
  correctly

  * converters/img2sixel.c: Fix a memory leak found in cropping routine

  * converters/img2sixel.c: Fix a segmentation error occurs when resizing

  * src/loader.c: Suppress GCC warnings

  * Makefile.in: Rebuild

  * src/loader.c: Support callback loader API with libgd loader

  * src/loader.c: Support callback loader API with gdk-pixbuf loader

2015-04-09  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Implement macro invocation with callback

  * converters/img2sixel.c, include/sixel.h.in, src/loader.c: Fix loop control
  without macro

  * converters/img2sixel.c, include/sixel.h.in, src/loader.c: Fix broken
  animation without macro

  * converters/Makefile.am, converters/Makefile.in: Update tests

2015-04-05  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Update version

  * ChangeLog: Update ChangeLog

  * converters/stb_image.h: Fix an existing bug in stb_image v1.41 of building
  color palette, reported by @msmhrt (for Issue #41)

  * converters/img2sixel.c: Don't use fuse_palette flag when using fixed
  palette

  * converters/img2sixel.c, include/sixel.h.in, src/loader.c: Load image frame
  with callback function (on progress)

  * Makefile.in, configure, configure.ac, converters/Makefile.am,
  converters/Makefile.in, include/Makefile.in, src/Makefile.in: Add tests for
  pngsuite basic images

2015-03-20  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Rebuild multi-frame data when expanding 1/2/4bpp
  image

2015-03-17  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Support cropping for 1/2/4bpp images (Issue #38)

  * converters/img2sixel.c: Expand pixelformat to RGB888 before resizing (for
  Issue #34)

2015-03-16  Hayaki Saito <user@zuse.jp>

  * src/dither.c: Omit an extra malloc() call

  * Makefile.in, configure, configure.ac: Add libjpeg check with
  PKG_CHECK_MODULES

2015-03-13  saitoha <user@zuse.jp>

  * src/loader.c: Handle depth=1 returned by stb_image v2.0

2015-03-13  Hayaki Saito <user@zuse.jp>

  * Makefile.in, src/loader.c: Add more debug logs

  * .travis.yml: Update .travis.yml

  * src/loader.c: Handle depth=4 returned by stb_image v2.0

  * src/loader.c: Fix typo: unknwon -> unknown

  * configure, configure.ac: Don't override env variable xxx_CFLAGS/xxx_LIBS
  (Issue #35)

2015-03-10  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Update version

  * ChangeLog: Update ChangeLog

2015-03-07  Hayaki Saito <user@zuse.jp>

  * converters/frompnm.c, converters/frompnm.h, converters/loader.c: Resolve
  confliction of parameter declarations of load_pnm(), reported by
  @tautschnig. (for Issue #40)

2015-03-05  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.h: Parse GIF application extension block correctly
  (Issue #39)

  * src/stb_image.h: Parse GIF application extension block correctly (Issue
  #39)

  * src/loader.c: Prevent segmentation fault reported by @msmhrt (Issue #39)

2015-02-28  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

  * configure, configure.ac, package.json: Update package version to 1.4.9

  * Makefile.in, package.json: Rebuild

  * configure, configure.ac: Fix miss-detection for libcurl/libpng (for Issue
  #35)

  * converters/loader.c: Workaround for libpng 1.2 with grayscale-alpha PNG
  (for Issue #36)

2015-02-27  saitoha <user@zuse.jp>

  * converters/loader.c: Workaround for libpng 1.2 (for Issue #34)

2015-02-26  Hayaki Saito <user@zuse.jp>

  * src/loader.c: Fix inverted test condition added in 3d6ca7d6 (for Issue
  #32)

  * converters/img2sixel.c: Fix wrong boundary test added by 19417c6 (for
  Issue #33).

2015-02-25  Hayaki Saito <user@zuse.jp>

  * Makefile.in, converters/loader.c: Fix broken -p option with 8bpp grayscale
  PNG (concerned with Issue #34)

  * Makefile.in, converters/loader.c: Fix broken -p option with 8bpp grayscale
  PNG (concerned with Issue #34)

  * converters/loader.c: Fix broken resize option(-w/-h) with 1/2/4bpp
  grayscale png (for Issue #34)

2015-02-24  Hayaki Saito <user@zuse.jp>

  * package.json: Update package.json

  * Makefile.in, configure, configure.ac: Clear additional CFLAGS/LIBS when
  ./configure --with-libcurl=auto and libcurl is missing

  * src/Makefile.am, src/Makefile.in: Add some lines to Makefile.am, for fix
  build from tarballs created by 'make dist'

  * configure, configure.ac: Update version in configure.ac

  * src/loader.c: Style fixes

2015-02-23  Hayaki Saito <user@zuse.jp>

  * src/loader.c: Add missing error handler for load_jpeg() and load_png()

  * configure, configure.ac: Respect prefix path specified with --with-gd
  configure option

  * Makefile.in, configure, configure.ac: Check whether --with-xxx options are
  directories

  * src/frompnm.c, src/frompnm.h, src/loader.c: Don't use component depth
  internally

  * Makefile.in: Rebuild

2015-02-22  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: More strict validation for -c option

  * configure, configure.ac: Respect prefix path specified with --with-png
  configure option

  * configure, configure.ac: Respect prefix path specified with --with-jpeg
  configure option

  * configure, configure.ac: Respect prefix path specified with --with-libcurl
  configure option

  * config.h.in, configure, configure.ac, src/loader.c: Check whether given
  filename is a directory

  * LICENSE.pngsuite, README.md, images/pngsuite/background/bgai4a08.png,
  images/pngsuite/background/bgai4a16.png,
  images/pngsuite/background/bgan6a08.png,
  images/pngsuite/background/bgan6a16.png,
  images/pngsuite/background/bgbn4a08.png,
  images/pngsuite/background/bggn4a16.png,
  images/pngsuite/background/bgwn6a08.png,
  images/pngsuite/background/bgyn6a16.png, images/pngsuite/basic/basn0g01.png,
  images/pngsuite/basic/basn0g02.png, images/pngsuite/basic/basn0g04.png,
  images/pngsuite/basic/basn0g08.png, images/pngsuite/basic/basn0g16.png,
  images/pngsuite/basic/basn2c08.png, images/pngsuite/basic/basn2c16.png,
  images/pngsuite/basic/basn3p01.png, images/pngsuite/basic/basn3p02.png,
  images/pngsuite/basic/basn3p04.png, images/pngsuite/basic/basn3p08.png,
  images/pngsuite/basic/basn4a08.png, images/pngsuite/basic/basn4a16.png,
  images/pngsuite/basic/basn6a08.png, images/pngsuite/basic/basn6a16.png,
  images/pngsuite/chunk/ccwn2c08.png, images/pngsuite/chunk/ccwn3p08.png,
  images/pngsuite/chunk/cdfn2c08.png, images/pngsuite/chunk/cdhn2c08.png,
  images/pngsuite/chunk/cdsn2c08.png, images/pngsuite/chunk/cdun2c08.png,
  images/pngsuite/chunk/ch1n3p04.png, images/pngsuite/chunk/ch2n3p08.png,
  images/pngsuite/chunk/cm0n0g04.png, images/pngsuite/chunk/cm7n0g04.png,
  images/pngsuite/chunk/cm9n0g04.png, images/pngsuite/chunk/cs3n2c16.png,
  images/pngsuite/chunk/cs3n3p08.png, images/pngsuite/chunk/cs5n2c08.png,
  images/pngsuite/chunk/cs5n3p08.png, images/pngsuite/chunk/cs8n2c08.png,
  images/pngsuite/chunk/cs8n3p08.png, images/pngsuite/chunk/ct0n0g04.png,
  images/pngsuite/chunk/ct1n0g04.png, images/pngsuite/chunk/cten0g04.png,
  images/pngsuite/chunk/ctfn0g04.png, images/pngsuite/chunk/ctgn0g04.png,
  images/pngsuite/chunk/cthn0g04.png, images/pngsuite/chunk/ctjn0g04.png,
  images/pngsuite/chunk/ctzn0g04.png, images/pngsuite/corrupted/xc1n0g08.png,
  images/pngsuite/corrupted/xc9n2c08.png,
  images/pngsuite/corrupted/xcrn0g04.png,
  images/pngsuite/corrupted/xcsn0g01.png,
  images/pngsuite/corrupted/xd0n2c08.png,
  images/pngsuite/corrupted/xd3n2c08.png,
  images/pngsuite/corrupted/xd9n2c08.png,
  images/pngsuite/corrupted/xdtn0g01.png,
  images/pngsuite/corrupted/xhdn0g08.png,
  images/pngsuite/corrupted/xlfn0g04.png,
  images/pngsuite/corrupted/xs1n0g01.png,
  images/pngsuite/corrupted/xs2n0g01.png,
  images/pngsuite/corrupted/xs4n0g01.png,
  images/pngsuite/corrupted/xs7n0g01.png, images/pngsuite/filter/f00n0g08.png,
  images/pngsuite/filter/f00n2c08.png, images/pngsuite/filter/f01n0g08.png,
  images/pngsuite/filter/f01n2c08.png, images/pngsuite/filter/f02n0g08.png,
  images/pngsuite/filter/f02n2c08.png, images/pngsuite/filter/f03n0g08.png,
  images/pngsuite/filter/f03n2c08.png, images/pngsuite/filter/f04n0g08.png,
  images/pngsuite/filter/f04n2c08.png, images/pngsuite/filter/f99n0g04.png,
  images/pngsuite/gamma/g03n0g16.png, images/pngsuite/gamma/g03n2c08.png,
  images/pngsuite/gamma/g03n3p04.png, images/pngsuite/gamma/g04n0g16.png,
  images/pngsuite/gamma/g04n2c08.png, images/pngsuite/gamma/g04n3p04.png,
  images/pngsuite/gamma/g05n0g16.png, images/pngsuite/gamma/g05n2c08.png,
  images/pngsuite/gamma/g05n3p04.png, images/pngsuite/gamma/g07n0g16.png,
  images/pngsuite/gamma/g07n2c08.png, images/pngsuite/gamma/g07n3p04.png,
  images/pngsuite/gamma/g10n0g16.png, images/pngsuite/gamma/g10n2c08.png,
  images/pngsuite/gamma/g10n3p04.png, images/pngsuite/gamma/g25n0g16.png,
  images/pngsuite/gamma/g25n2c08.png, images/pngsuite/gamma/g25n3p04.png,
  images/pngsuite/interlacing/basi0g01.png,
  images/pngsuite/interlacing/basi0g02.png,
  images/pngsuite/interlacing/basi0g04.png,
  images/pngsuite/interlacing/basi0g08.png,
  images/pngsuite/interlacing/basi0g16.png,
  images/pngsuite/interlacing/basi2c08.png,
  images/pngsuite/interlacing/basi2c16.png,
  images/pngsuite/interlacing/basi3p01.png,
  images/pngsuite/interlacing/basi3p02.png,
  images/pngsuite/interlacing/basi3p04.png,
  images/pngsuite/interlacing/basi3p08.png,
  images/pngsuite/interlacing/basi4a08.png,
  images/pngsuite/interlacing/basi4a16.png,
  images/pngsuite/interlacing/basi6a08.png,
  images/pngsuite/interlacing/basi6a16.png, images/pngsuite/odd/s01i3p01.png,
  images/pngsuite/odd/s01n3p01.png, images/pngsuite/odd/s02i3p01.png,
  images/pngsuite/odd/s02n3p01.png, images/pngsuite/odd/s03i3p01.png,
  images/pngsuite/odd/s03n3p01.png, images/pngsuite/odd/s04i3p01.png,
  images/pngsuite/odd/s04n3p01.png, images/pngsuite/odd/s05i3p02.png,
  images/pngsuite/odd/s05n3p02.png, images/pngsuite/odd/s06i3p02.png,
  images/pngsuite/odd/s06n3p02.png, images/pngsuite/odd/s07i3p02.png,
  images/pngsuite/odd/s07n3p02.png, images/pngsuite/odd/s08i3p02.png,
  images/pngsuite/odd/s08n3p02.png, images/pngsuite/odd/s09i3p02.png,
  images/pngsuite/odd/s09n3p02.png, images/pngsuite/odd/s32i3p04.png,
  images/pngsuite/odd/s32n3p04.png, images/pngsuite/odd/s33i3p04.png,
  images/pngsuite/odd/s33n3p04.png, images/pngsuite/odd/s34i3p04.png,
  images/pngsuite/odd/s34n3p04.png, images/pngsuite/odd/s35i3p04.png,
  images/pngsuite/odd/s35n3p04.png, images/pngsuite/odd/s36i3p04.png,
  images/pngsuite/odd/s36n3p04.png, images/pngsuite/odd/s37i3p04.png,
  images/pngsuite/odd/s37n3p04.png, images/pngsuite/odd/s38i3p04.png,
  images/pngsuite/odd/s38n3p04.png, images/pngsuite/odd/s39i3p04.png,
  images/pngsuite/odd/s39n3p04.png, images/pngsuite/odd/s40i3p04.png,
  images/pngsuite/odd/s40n3p04.png, images/pngsuite/order/oi1n0g16.png,
  images/pngsuite/order/oi1n2c16.png, images/pngsuite/order/oi2n0g16.png,
  images/pngsuite/order/oi2n2c16.png, images/pngsuite/order/oi4n0g16.png,
  images/pngsuite/order/oi4n2c16.png, images/pngsuite/order/oi9n0g16.png,
  images/pngsuite/order/oi9n2c16.png, images/pngsuite/palette/pp0n2c16.png,
  images/pngsuite/palette/pp0n6a08.png, images/pngsuite/palette/ps1n0g08.png,
  images/pngsuite/palette/ps1n2c16.png, images/pngsuite/palette/ps2n0g08.png,
  images/pngsuite/palette/ps2n2c16.png,
  images/pngsuite/transparency/tbbn0g04.png,
  images/pngsuite/transparency/tbbn2c16.png,
  images/pngsuite/transparency/tbbn3p08.png,
  images/pngsuite/transparency/tbgn2c16.png,
  images/pngsuite/transparency/tbgn3p08.png,
  images/pngsuite/transparency/tbrn2c08.png,
  images/pngsuite/transparency/tbwn0g16.png,
  images/pngsuite/transparency/tbwn3p08.png,
  images/pngsuite/transparency/tbyn3p08.png,
  images/pngsuite/transparency/tm3n3p02.png,
  images/pngsuite/transparency/tp0n0g08.png,
  images/pngsuite/transparency/tp0n2c08.png,
  images/pngsuite/transparency/tp0n3p08.png,
  images/pngsuite/transparency/tp1n3p08.png,
  images/pngsuite/zlib/z00n2c08.png, images/pngsuite/zlib/z03n2c08.png,
  images/pngsuite/zlib/z06n2c08.png, images/pngsuite/zlib/z09n2c08.png: Import
  PngSuite images and add its license description

  * configure, configure.ac, converters/img2sixel.c, converters/sixel2png.c,
  include/Makefile.am, include/Makefile.in, include/sixel-imageio.h.in,
  include/sixel.h.in, src/loader.c, src/writer.c: Aggregate sixel-imageio.h
  and sixel.h into the one header

  * Makefile.in, converters/Makefile.am, converters/Makefile.in,
  src/Makefile.am, src/Makefile.in: Combine libsixel-imageio with core library

2015-02-21  Hayaki Saito <user@zuse.jp>

  * Makefile.in, converters/Makefile.am, converters/Makefile.in: Add
  convenient tests for -B option (issue #25)

  * converters/img2sixel.c: Raise error if invalid -B option is given

  * converters/img2sixel.c, converters/loader.h, converters/malloc_stub.c,
  converters/malloc_stub.h, converters/sixel2png.c,
  include/sixel-imageio.h.in, include/sixel.h.in, src/dither.c, src/dither.h,
  src/frompnm.c, src/frompnm.h, src/loader.c, src/output.c, src/output.h,
  src/pixelformat.c, src/quant.c, src/quant.h, src/scale.c,
  src/stb_image_write.c, src/writer.c: Update copyright notice

  * include/sixel.h.in, src/dither.c, src/dither.h, src/pixelformat.c,
  src/scale.c, src/tosixel.c, src/writer.c: Integrate some duplicated code
  around sixel_helper_normalize_pixelformat()

  * src/loader.c: Apply default background color to paletted PNG with tRNS
  chunk

  * src/loader.c: Suppress printf() formatter warings

  * src/dither.c: Add some parentheses for suppressing GCC warnings

  * src/stb_image.h: Retrive delay information from animated GIF correctory

  * src/loader.c: Add some malloc() error handlings and fix leaks

2015-02-20  Hayaki Saito <user@zuse.jp>

  * src/dither.c, src/dither.h, src/tosixel.c: Change the signature of
  sixel_normalize_pixelformat()

  * src/dither.c: Fixes for passing PngSuite odd sizes test (for Issue #25)
  http://www.schaik.com/pngsuite/pngsuite_siz_png.html

  * src/dither.c: Logging to stderr instead of stdout

  * src/loader.c: Expand grayscale PNG to RGB format if needed

  * converters/loader.c: Add more logs

  * src/dither.c: Expand 1/2/4 bpp palette with considering surplus bits

  * converters/loader.c: Reset bitdepth after calling png_set_strip_16()

2015-02-19  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Suppress printf() formatter warings

  * ChangeLog: Update ChangeLog

  * Makefile.in: Rebuild

  * converters/loader.c, src/dither.c: Add logging

  * converters/img2sixel.1: Add descriptions about source image formats to
  manpage of img2sixel(for Issue #24)

2015-02-18  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Call png_set_strip_alpha() when expanding paletted
  PNG to RGB888 pixelformat (for Issue #29)

Mon Feb 16 00:41:06 2015 +0900  saitoha <user@zuse.jp>

  * converters/loader.c: Squashed commit of the following:  commit
  808aeaedf18532f04210c7c35ed1c9b74496e52a  Use png_set_packing to expand
  1/2/4bpp paletted PNG (for Issue #29)  commit
  cb53ae183c25b140e9e0c53bc9318d97f04827fc  Revert "libpng loader: expand
  1/2/4bpp palette to 8bpp (for issue #29)"  This reverts commit
  b6748d1a49477200a7dfb93c767207d96aec53d5.  commit
  b6748d1a49477200a7dfb93c767207d96aec53d5  libpng loader: expand 1/2/4bpp
  palette to 8bpp (for issue #29)

2015-02-17  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Use png_set_packing to expand 1/2/4bpp paletted PNG
  (for Issue #29)

  * converters/loader.c: Revert "libpng loader: expand 1/2/4bpp palette to
  8bpp (for issue #29)"  This reverts commit
  b6748d1a49477200a7dfb93c767207d96aec53d5.

2015-02-16  Hayaki Saito <user@zuse.jp>

  * converters/sixel2png.c, include/sixel-imageio.h.in, src/writer.c: Fix
  sixel2png available (for issue #30)

  * converters/loader.c: Always set background color and respect bKGD chunk
  again (for Issue #31)

2015-02-16  saitoha <user@zuse.jp>

  * converters/loader.c: libpng loader: expand 1/2/4bpp palette to 8bpp (for
  issue #29)

2015-02-15  Hayaki Saito <user@zuse.jp>

  * converters/loader.c, converters/stb_image.h: Respect -B option regarding
  with GIF images with transparent index (for Issue #25)

  * src/loader.c: Blend background color to RGBA image pixels with respecting
  alpha channel

  * converters/loader.c: libpng loader: background color support for
  glayscale-alpha PNG (for issue #25)

  * converters/img2sixel.c: Pass PLTE chunk of 1/2/4 bpp paletted PNG
  specified by -m option directly to dither object

  * converters/img2sixel.c, converters/loader.c, include/sixel.h.in,
  src/dither.c, src/tosixel.c: libpng loader: Support 4bpp paletted PNG with
  tRNS chunk (for issue #25)

  * converters/img2sixel.c, converters/loader.c, include/sixel.h.in,
  src/dither.c, src/tosixel.c: libpng loader: Support 1bpp paletted PNG with
  tRNS chunk (for issue #25)

  * converters/img2sixel.c, converters/loader.c, include/sixel.h.in,
  src/dither.c, src/tosixel.c: libpng loader: Support 2bpp paletted PNG with
  tRNS chunk (for issue #25)

  * converters/loader.c: Don't check bKGD chunk before setting background
  color

  * converters/loader.c: Respect -B/--bgcolor option in libpng loader when PNG
  color type is RGB (for issue #25)

  * converters/img2sixel.1, converters/sixel2png.1: Update CONTRIBUTERS
  section of man pages

  * converters/sixel2png.c, include/sixel-imageio.h.in, src/loader.c,
  src/writer.c: Minor fixes

2015-02-14  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Add test case whether
  stb_image can load a progressive jpeg (for issue #24)

  * README.md: README.md: add @msmhrt to the contributer section

  * Makefile.in: Rebuild Makefile.in

  * converters/img2sixel.c: histogram_colors should be initialized after
  sixel_dither_initialize() function call

  * ChangeLog: Update ChangeLog

  * ChangeLog: Update ChangeLog

  * Makefile.in, converters/img2sixel.c: Add some parentheses arithmetic
  operator '|', for suppressing GCC warnings

  * converters/stb_image.h: Fix GCC a warning caused by comparison of signed
  and unsigned type in conditional expression

  * Makefile.in, config.h.in, configure, configure.ac, src/dither.c,
  src/quant.c: Check strtoul and <limits.h> availability

  * converters/img2sixel.c: Parse X11 color spec without strtoul/strtoull

2015-02-13  Hayaki Saito <user@zuse.jp>

  * Makefile.in, converters/img2sixel.c: Fix a syntax error caused by a typo

2015-02-12  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Fix a leak around parsing -B option

  * converters/img2sixel.c: Fix a typo in the output of -H

  * converters/img2sixel.c: Fix a tiny memory leak when duplicated -m option
  are specified

2015-02-11  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Minor style fix

  * converters/shell-completion/bash/img2sixel,
  converters/shell-completion/zsh/_img2sixel: Add -B option to shell
  completion settings

2015-02-10  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Background color support for 8bpp paletted PNG with
  tRNS chunk using libpng (for Issue #25)

2015-02-09  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Consider the behavior of libpng1.2 around background
  color support(for Issue #25)

2015-02-08  Hayaki Saito <user@zuse.jp>

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Add the brief
  of -B option to README and manpage

  * converters/loader.c: Fix build error when --without-png configure option
  is specified

  * converters/img2sixel.c, converters/loader.c, converters/loader.h: Add
  -B/--bgcolor option (for Issue #25)

  * converters/img2sixel.c: Fix noise problem when applying palette (for issue
  #26)

  * src/quant.c: Correct wrong histgram processing (for Issue #26)

2015-02-05  Hayaki Saito <user@zuse.jp>

  * Makefile.in, converters/Makefile.am, converters/Makefile.in: Minor fixes

2015-02-04  Hayaki Saito <user@zuse.jp>

  * converters/loader.c, converters/stb_image.h,
  patches/applied/stb_image.h.diff: Update stb_image to v2.02 (for Issue #24)

  * ChangeLog: Update ChnageLog

2015-02-03  Hayaki Saito <user@zuse.jp>

  * examples/opengl/README.md: Add README of OpenGL example

  * examples/opengl/main.c: Minor fix

  * .gitignore: Update gitignore

  * converters/Makefile.am, converters/Makefile.in: Add
  converters/unittest.log to clean targets

  * Makefile.in, configure, configure.ac: Detect availabilies for GD functions
  correctly if gd.h is not in default include path

2015-02-02  Hayaki Saito <user@zuse.jp>

  * config.h.in, converters/loader.c: Fix some wrong config.h declaration:
  HAVE_XXX -> HAVE_DECL_XXX (for #23)

  * config.h.in, configure, configure.ac, converters/loader.c, ltmain.sh,
  m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
  m4/lt~obsolete.m4: Check availability of png_set_{,expand_}gray_1_2_4_to_8
  (#23)

2015-02-02  saitoha <user@zuse.jp>

  * converters/loader.c: Workaround for 1/2/4bpp grayscaled image with
  libpng1.2, reported by @msmhrt(#23)

2015-02-01  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

  * NEWS: Update NEWS

  * converters/loader.c: Fix wrong bit depth handling issue reported by
  @msmhrt (#22)

2015-01-27  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

  * examples/opengl/main.c: OpenGL example: performance improvement

2015-01-24  Hayaki Saito <user@zuse.jp>

  * src/fromsixel.c: Fix a bad allocation error

  * examples/opengl/config.guess, examples/opengl/config.sub: Add missing
  config.sub and config.guess

  * examples/opengl/Makefile.am, examples/opengl/Makefile.in,
  examples/opengl/config.h.in, examples/opengl/configure,
  examples/opengl/configure.ac, examples/opengl/main.c: Detect CGL/GLX
  availability in opengl example configuration

  * src/writer.c: Fix mingw build

  * src/fromsixel.c: Do not free temporary buffer allocated by custom
  allocator

2015-01-23  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * examples/opengl/Makefile.am, examples/opengl/Makefile.in,
  examples/opengl/aclocal.m4, examples/opengl/compile,
  examples/opengl/config.h.in, examples/opengl/configure,
  examples/opengl/configure.ac, examples/opengl/depcomp,
  examples/opengl/install-sh, examples/{osx/opengl/opengl.c => opengl/main.c},
  examples/opengl/missing, examples/osx/opengl/Makefile: Use osmesa for
  opengl-sixel demo

2015-01-13  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in,
  src/loader.c: Add check-am target to makefiles

2014-12-30  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Update version

  * ChangeLog, NEWS: Update NEWS and ChangeLog

  * src/dither.c: Add a comment block regarding the behavior of VT340
  palette(Issue #12)

  * src/dither.c: Hotfix for VT-340's rotated palette(Issue #12)

  * converters/Makefile.am, converters/Makefile.in, converters/sixel2png.c,
  include/sixel-imageio.h.in, src/Makefile.am, src/Makefile.in, src/loader.c,
  {converters => src}/stb_image_write.c, {converters =>
  src}/stb_image_write.h, src/writer.c: Add new API:
  sixel_helper_write_image_file

  * converters/Makefile.am, converters/Makefile.in, converters/sixel2png.c,
  src/Makefile.am, src/Makefile.in, src/loader.c: Cleanup sixel2png.c

  * src/fromsixel.c: Arrange palette with 3byte per color format

  * src/Makefile.am, src/Makefile.in: Build fix for MinGW

  * converters/Makefile.am, converters/Makefile.in: Build fix

2014-12-29  Hayaki Saito <user@zuse.jp>

  * src/Makefile.am, src/Makefile.in: Add -lm to LDADD of libsixel

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: Minor fixes

  * include/sixel-imageio.h.in: Add missing sixel-imageio.h.in

  * libsixel.pc.in: Update libsixel.pc.in

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: Remove unused dependencies from LIBADD and LDADD

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in,
  converters/img2sixel.c, converters/loader.h, converters/stb_image.c,
  include/Makefile.am, include/Makefile.in, src/Makefile.am, src/Makefile.in,
  {converters => src}/frompnm.c, {converters => src}/frompnm.h, {converters =>
  src}/loader.c, {converters => src}/stb_image.h: Add new API:
  sixel_helper_load_image_file

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c,
  converters/scale.h, include/sixel.h.in, src/Makefile.am, src/Makefile.in,
  {converters => src}/scale.c: Add new API sixel_helper_scale_image

  * converters/img2sixel.c, converters/loader.c, converters/loader.h,
  src/pixelformat.c: Cleanup loader.c

  * Makefile.am, Makefile.in: Make sure to remove test.log in clean target

  * converters/img2sixel.c, converters/scale.c, converters/scale.h,
  include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/dither.c,
  src/pixelformat.c, src/quant.c, src/tosixel.c: Add new API
  sixel_helper_compute_depth and sixel_helper_normalize_pixelformat

  * converters/img2sixel.c, converters/scale.c, converters/scale.h: Cleanup
  scale.c

2014-12-28  Hayaki Saito <user@zuse.jp>

  * converters/tests.c: Add missing tests.c

  * .travis.yml, Makefile.am, Makefile.in, converters/Makefile.am,
  converters/Makefile.in, src/dither.c, src/dither.h: Add basic tests of
  dither.c

2014-12-26  Hayaki Saito <user@zuse.jp>

  * config.h.in, configure, configure.ac: Add --enable-tests configure option

  * converters/img2sixel.c: Minor style improvement

  * converters/img2sixel.c: Strip an unreached return statement

2014-12-24  Hayaki Saito <user@zuse.jp>

  * ChangeLog, configure, configure.ac, package.json: Update version

  * converters/img2sixel.c: Fix wrong crop option(-c) behavior

  * src/tosixel.c: Fix memory leak and segmentation fault in rare cases

  * src/tosixel.c: Minor fixes

2014-12-19  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Bump version

  * ChangeLog, NEWS: Update ChangeLog and NEWS

  * Makefile.in, configure, configure.ac, converters/Makefile.am,
  converters/Makefile.in, include/Makefile.in, src/Makefile.in: Define
  _ALL_SOURCE only in Interix environment

2014-12-18  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c:
  Prohibit use of -8 and -P options at same time

  * src/tosixel.c: Cleanup

  * src/tosixel.c: Avoid using magic strings

  * src/tosixel.c: Define some macros for DCS processing

2014-12-18  IWAMOTO Kouichi <sue@iwmt.org>

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: fix include path priority.

2014-12-09  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Fix the typo of
  preprocesser definition _ALL_SOURCE

2014-12-08  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Don't define the variable 'lag' if usleep(3) is
  not available

2014-12-07  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c, converters/sixel2png.c: Don't use unportable
  strdup(3)

  * ChangeLog, NEWS: Update ChangeLog

  * converters/Makefile.am, converters/Makefile.in: Don't use unportable grep
  arguments for test

  * converters/Makefile.am, converters/Makefile.in: Don't use shell-builtin
  '!'

  * Makefile.am, Makefile.in: Don't use -C option of make command, for the
  portability

  * converters/Makefile.am, converters/Makefile.in: Add definition
  _ALL_SOURCES for some platforms

  * config.h.in, converters/img2sixel.c, converters/sixel2png.c: Add support
  for strdup-missing environments

  * configure, configure.ac: Check strdup availability

2014-12-06  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Build fix for Interix

  * Makefile.in, configure, configure.ac, converters/Makefile.am,
  converters/Makefile.in, include/Makefile.in, src/Makefile.am,
  src/Makefile.in: Checks the availability of some C compiler warning flags

  * configure, configure.ac: Add conditional variable for makefile:
  HAVE_GETOPT_LONG

  * converters/Makefile.am, converters/Makefile.in: Fix tests as respecting
  POSIX compliant behavior of getopt

  * converters/img2sixel.c: Minor style fixes

2014-12-05  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c, converters/sixel2png.c: Suppress warnings for
  Interix build(without HAVE_GEtOPT_LONG)

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in:
  Fix tests for some environments that have not getopt_long

  * src/tosixel.c: Replace integer literals 32768 to 'maxcolors'

  * src/tosixel.c: Move a long case statement to a new function

  * converters/loader.c: Suppress a clang warning: -Wunused-parameter

  * configure, configure.ac, package.json: Bump version

  * ChangeLog: Update ChangeLog

  * NEWS: Update NEWS

  * converters/loader.c, src/fromsixel.c: Style fixes

2014-12-04  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Fix a stupid typo

  * README.md, converters/Makefile.am, converters/Makefile.in,
  converters/img2sixel.1, converters/img2sixel.c, converters/loader.c,
  converters/loader.h, converters/shell-completion/bash/img2sixel,
  converters/shell-completion/zsh/_img2sixel: Introduce -k, --insecure option
  for libcurl integration

  * converters/Makefile.am, converters/Makefile.in: Add test for SSL access
  with libcurl

2014-12-03  OBATA Akio <obata@lins.jp>

  * configure, configure.ac: Kill bashizm  '=' operator for test(1) is not
  portable.

2014-12-01  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

  * ChangeLog, configure, configure.ac, package.json: Bump version

  * converters/img2sixel.c: Build fix

  * converters/img2sixel.c, converters/loader.c: Fix broken -m(--mapfile
  option)

  * README.md: Revert "Update README"  This reverts commit
  4dfed12be17c10d0161c51eca0b38369e93023d4.

  * README.md: Update README

  * README.md: Update README

  * include/sixel.h.in, src/dither.c: A bit of fixes of API signature

2014-11-30  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

  * converters/Makefile.am, converters/Makefile.in: Minor fix

  * NEWS: Update NEWS

  * README.md: Add a link to @arakiken's document(libsixel.pdf) to README

  * src/fromsixel.c: Minor style fix

2014-11-30  saitoha <user@zuse.jp>

  * converters/img2sixel.c: Fix a segmentation error caused by illigal depth
  dealing

2014-11-30  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Add tests for some edge
  cases of sixel decoding

  * converters/Makefile.am, converters/Makefile.in: Ammend fix for DCS
  parameter parsing tests

  * converters/Makefile.am, converters/Makefile.in: Fix test for wine
  environment

  * converters/Makefile.am, converters/Makefile.in: Add a test of parsing
  sixel DCS parameters

  * converters/Makefile.am, src/fromsixel.c: Add a test of decoding big sixel

  * src/tosixel.c: Add a pair of ref/unref call for output context

  * converters/img2sixel.c: Don't trust loop_count report of gdk-pixbuf loader

  * converters/Makefile.am, converters/Makefile.in: Add tests for
  -E(--encode-policy) option

  * converters/Makefile.am, converters/Makefile.in: Add a test for option "-l
  auto"

  * converters/Makefile.am, converters/Makefile.in: Add a test for combination
  of options, -u and -g

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c,
  converters/loader.c, converters/loader.h: If input data is empty or 1byte
  LF, the loader ignores it and returns successfully

2014-11-30  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Search a next node from nodes after a current node instead
  of context->node_top in sixel_encode_body().

2014-11-30  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Add tests for applying
  vt340 built-in palette

  * converters/img2sixel.c: Separate convert_sixel into 3 functions

  * converters/Makefile.am, converters/Makefile.in: Fix pipe-mode test for
  mingw build

  * converters/Makefile.am, converters/Makefile.in: Don't test -D option(pipe
  mode) in wine environment

2014-11-30  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Search a next node from nodes after a current node instead
  of context->node_top in sixel_encode_body().

2014-11-30  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Add tests for applying
  vt340 built-in palette

  * NEWS: Update NEWS

  * converters/img2sixel.c: Separate convert_sixel into 3 functions

  * converters/Makefile.am, converters/Makefile.in: Fix pipe-mode test for
  mingw build

  * converters/Makefile.am, converters/Makefile.in: Don't test -D option(pipe
  mode) in wine environment

  * README.md, configure, configure.ac, package.json: Update minor version

  * configure, configure.ac: Update libtool version to 1.3.0

  * NEWS: Update NEWS

  * ChangeLog: Update ChangeLog

  * NEWS: Update NEWS

  * src/quant.c: Minor change of mehod of creating histogram

  * converters/Makefile.am: Add some tests of loading grayscaled PNG

  * converters/img2sixel.c: Make palette from grayscaled PNG with -m option

  * converters/loader.c: Expand 8bpp grayscale input into 24bit colors if it
  is needed

  * README.md, converters/img2sixel.1, converters/img2sixel.c,
  converters/shell-completion/bash/img2sixel,
  converters/shell-completion/zsh/_img2sixel: Add new argument definitions of
  -b option, vt340mono and vt340color

  * include/sixel.h.in, src/dither.c: Add new built-in palette definition,
  VT340 mono and VT340 color

  * src/dither.c: Style improvement

2014-11-29  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: libpng loader supports 8bit grayscale as an output
  format

  * converters/img2sixel.c: 8bit grayscale input format is supported
  internally by img2sixel

  * src/tosixel.c: Accept grayscaled input correctly

  * images/snake-monochrome.png: Add a monochrome test image

  * include/sixel.h.in: Reserve some new grayscale pixelformats

  * .travis.yml, converters/stb_image_write.h: Revert 2ab568c, 52129e9

  * .travis.yml: Update .travis.yml

  * converters/stb_image_write.h: Suppress warnings of breaking
  strict-aliasing rules on i586-mingw32msvc build target

  * converters/loader.c: Make sure the local variable 'stride' is initialized

2014-11-28  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.h: Fix acesss violation error on 32bit mingw build

2014-11-27  Hayaki Saito <user@zuse.jp>

  * src/quant.c: Enable detailed trace if img2sixel is built with
  --enable-debug option

2014-11-26  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.h: Retrive bit depth of indexed PNG from IHDR chunk

  * .travis.yml, converters/Makefile.am, converters/Makefile.in: Print more
  detailed logs on travis

  * converters/stb_image.h: Load 4bpp indexed PNG without libpng loader

  * converters/img2sixel.c: Fix warnings of ordered comparison of pointer with
  integer zero

  * converters/img2sixel.c, converters/loader.c, converters/loader.h: Don't
  use internal indexed processing if less number of colors than the source
  palette are specified by -p option

  * converters/img2sixel.c: Don't use indexed processing if -m,-e,-I,-b
  options are specified

  * converters/img2sixel.c: Strip trailing spaces

  * converters/img2sixel.c: Crop images with preserving PAL8 pixel format

  * converters/Makefile.am, converters/Makefile.in: Add tests for internal
  indexed processing

2014-11-25  Hayaki Saito <user@zuse.jp>

  * images/map8.six, images/snake.six: Add test sixel images

  * converters/loader.c: Move the sixel loader process as a separated function

  * converters/img2sixel.c, converters/loader.c: SIXEL loader preserves PAL8
  pixel format if possible

  * converters/img2sixel.c, converters/loader.c, converters/loader.h: Pass
  pixelformat value returned by loader component to dithering context
  initializer

  * converters/loader.c: Add missing break statement

2014-11-24  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Retrive pixelformat from png loader

  * converters/frompnm.c, converters/frompnm.h, converters/loader.c: Change
  the signature of pnm loader to retrive pixelformat

  * converters/frompnm.c, converters/loader.c: Style improvements

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c,
  converters/loader.c, converters/loader.h, include/sixel.h.in, src/dither.c,
  src/tosixel.c: Support paletted input

  * images/map16-palette.png, images/map8-palette.png,
  images/snake-palette.png: Add paletted PNG images

2014-11-23  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in,
  images/snake-grayscale.jpg, images/snake-grayscale.png: Add tests of loading
  grayscaled jpeg/png images

  * ChangeLog, configure, configure.ac, package.json: Bump version

  * converters/loader.c: Fix a segmentation fault while loading grayscaled PNG

  * converters/shell-completion/bash/img2sixel: Update bash completion file

  * converters/shell-completion/zsh/_img2sixel: Update zsh completion file

2014-11-22  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in: Add tests for completion

  * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/dither.h,
  src/quant.c, src/tosixel.c: Chenage symbols of enum pixelFormat

2014-11-20  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c, converters/sixel2png.c,
  examples/osx/opengl/opengl.c: Fix for DCL20-C compliant: "Explicitly specify
  void when a function accepts no arguments" https://www.securecoding.cert.org
  /confluence/display/seccode/DCL20-C.++Explicitly+specify+void+when+a+functio
  n+accepts+no+arguments

  * NEWS: Update NEWS

  * converters/Makefile.am, converters/Makefile.in: Add more tests for -b
  option

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c:
  Add invalid option handler for -b option

  * converters/Makefile.am, converters/Makefile.in: Add some tests for -b
  option

2014-11-19  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Fix a bug which outputs sixel sequence exceeding the size
  of an original image if encode_policy is ENCODEPOLICY_SIZE.

2014-11-19  Hayaki Saito <user@zuse.jp>

  * ChangeLog, configure, configure.ac, package.json: Bump micro version

  * converters/img2sixel.c: Suppress color expansion on loading mapfiles

2014-11-18  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.in: Rebuild

2014-11-18  saitoha <user@zuse.jp>

  * converters/Makefile.am: Fix test for MinGW environment

2014-11-18  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Update .travis.yml

2014-11-17  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Update .travis.yml

2014-11-17  saitoha <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.1:
  Fix for passing manpage test

2014-11-17  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Amend fixes for -b option

  * converters/img2sixel.c: Update optstring which is passed to getopt()

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.1:
  Add the explanation of -E option to manpage

  * converters/Makefile.am, converters/Makefile.in: Add a test for avoid
  forgetting to write about new options in manpage

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Add missing
  options in manpage

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Introduce
  -b/--builtin-palette option instead of -x/-y options

2014-11-16  arakiken <arakiken@users.sf.net>

  * converters/img2sixel.c: Fix help message.

  * converters/img2sixel.c, include/sixel.h.in, src/output.c, src/output.h,
  src/tosixel.c: Add -E, --encode-policy mode.

2014-11-16  saitoha <user@zuse.jp>

  * src/quant.c: Minor style improvement

2014-11-16  Hayaki Saito <user@zuse.jp>

  * src/quant.c: Prevent memory access violation

  * src/quant.c: Reduce working memory allcation size during prepare histogram

2014-11-15  Hayaki Saito <user@zuse.jp>

  * src/dither.c: Skip memcpy only when pixelformat is RGB888

  * src/quant.c: Add missing parameter type definition

  * src/dither.c, src/quant.c, src/quant.h: Pass pixelformat instead of depth
  to sixel_quant_make_palette

  * src/dither.c, src/quant.c, src/quant.h: Rename functions prefixed by 'LSQ'
  to sixel_quant_xxx

  * src/dither.c, src/tosixel.c: convert pixelformat in
  sixel_dither_apply_palette

  * src/tosixel.c: Use dither->pixelformat internally

  * include/sixel.h.in, src/dither.c, src/tosixel.c: Introduce new API:
  sixel_dither_set_pixelformat

  * src/dither.c, src/dither.h: Introduce a new member for dithering context
  object: pixelformat

  * src/dither.c, src/dither.h, src/tosixel.c: Rename internal API
  sixel_apply_palette to sixel_dither_apply_palette

2014-11-15  saitoha <user@zuse.jp>

  * converters/loader.c: Fix a maybe-uninitialized GCC warning

2014-11-15  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Get rid of unused variables

2014-11-15  saitoha <user@zuse.jp>

  * src/fromsixel.c: Revert "Fix overflow issue in sixel_decode"  This reverts
  commit 0ae94a3e6fcfc574c7a32fc3e9c80594de4d778b.

  * converters/loader.c, converters/sixel2png.c: Don't use setjmp for the
  future because it's thread-unsafe

  * converters/loader.c: Make PNG loader using libpng as a separated function

  * converters/stb_image.h: Suppress an -Wsigned error in
  converters/stb_image.h

  * converters/loader.c: Strip an unused local variable

  * converters/img2sixel.c: Strip an extra conditional directive

  * converters/img2sixel.c: Strip an extra conditional clause

2014-11-15  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in: Add dummy members to some structs in sixel.h because
  empty struct is a GNU extension

  * converters/img2sixel.c, src/quant.c, src/tosixel.c: Suppress sign-compare
  and unused-parameter warnings by clang

  * src/fromsixel.c: Fix overflow issue in sixel_decode

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: Build with extra waning flags

2014-11-14  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Optimize encoding to sixel sequence.
  (http://mlterm.sf.net/optimize-sixel.png)

2014-11-14  Hayaki Saito <user@zuse.jp>

  * src/quant.c: Apply dither to more pixels in the edge

2014-11-13  Hayaki Saito <user@zuse.jp>

  * src/dither.c, src/dither.h, src/tosixel.c: Change symbol names: 'bitfield'
  -> 'pixelformat'

  * .travis.yml: Update .travis.yml

  * converters/sixel2png.c: Correct wrong correspondence between short and
  long options: --help/--version

  * src/dither.c: Suppress GCC warnings

  * converters/Makefile.am, converters/Makefile.in: Add more tests

  * converters/loader.c: Use malloc instead of calloc

  * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/dither.h,
  src/quant.c, src/quant.h, src/tosixel.c: Add new API:
  sixel_dither_set_optimize_palette

  * src/quant.c: Improve dithering performance

2014-11-12  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in: Reformat sixel.h.in

2014-11-11  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c:
  Cleanup

2014-11-11  saitoha <user@zuse.jp>

  * aclocal.m4, config.guess, config.h.in, config.sub, configure,
  configure.ac, converters/loader.c, ltmain.sh, m4/libtool.m4: Don't include
  setjmp.h

2014-11-10  Hayaki Saito <user@zuse.jp>

  * config.h.in, converters/Makefile.am, converters/Makefile.in: Update tests

  * README.md, converters/img2sixel.1: Update documents

  * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/quant.c:
  Implement new quality mode: full

  * src/quant.c: Fix broken lookup_normal strategy function

  * converters/quant.h: Remove an unused file

  * src/quant.c, src/tosixel.c: Style improvements

  * src/fromsixel.c: Change default background color of sixel2png to 15

2014-11-09  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in,
  converters/loader.c, converters/sixel2png.c: Check setjmp availability

  * src/quant.c: Correct reversed test condition for HAVE_CALLOC

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c:
  Test -s option more efficiently

  * converters/Makefile.am: Add tests for loading big sixel image

  * converters/Makefile.am, converters/Makefile.in: Update tests

  * converters/Makefile.am: Update tests

  * converters/Makefile.in: Update tests

  * converters/Makefile.am, converters/Makefile.in: Update tests

  * converters/Makefile.am, converters/Makefile.in, images/seq2gif.gif: Add
  tests for GIF animation rendering

2014-11-08  Hayaki Saito <user@zuse.jp>

  * converters/frompnm.c: Cherry-picked edd88d0: Make img2sixel enable to load
  pbm files

2014-11-09  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Prevent segfault with -m option in libpng loader

  * configure, configure.ac, package.json: Bump version

  * converters/loader.c: Fix segfault on using gdk-pixbuf loader with -m
  option

2014-11-09  OBATA Akio <obata@lins.jp>

  * configure, configure.ac: Kill bashizm  '=' operator for test(1) is not
  portable.

2014-11-09  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Update .travis.yml

  * .travis.yml, converters/Makefile.am, converters/Makefile.in: Update
  .travis.yml

  * converters/Makefile.am, converters/Makefile.in: Update .travis.yml

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in,
  converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/tosixel.c:
  Rename the option "-F,--fullcolor" to "-I,--high-color"

2014-11-08  Hayaki Saito <user@zuse.jp>

  * converters/frompnm.c: Make img2sixel enable to load pbm files

  * converters/Makefile.in: Update tests

  * converters/Makefile.am: Update tests

  * images/snake-ascii.pbm, images/snake-ascii.pgm, images/snake-ascii.ppm,
  images/snake.pbm, images/snake.pgm, images/{snake.pnm => snake.ppm}: Add
  various ppm images for testing

  * converters/Makefile.in: Update tests

  * converters/img2sixel.c: Fix leaks for the combinated case that 15bpp mode
  and pipe mode are enabled

  * converters/Makefile.am: Update tests

  * converters/img2sixel.c: Build fix for some system which don't provide
  clock or usleep

  * ChangeLog, configure, configure.ac, package.json: Update version

  * converters/Makefile.am, converters/Makefile.in, src/dither.c: Update tests

  * aclocal.m4, configure, converters/Makefile.am, converters/Makefile.in:
  Update tests

  * converters/img2sixel.c, src/dither.c: Enable some options(-f, -s, and -q)
  ignored unintentionally

  * converters/Makefile.am, converters/Makefile.in: Add some tests

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c,
  src/tosixel.c: Cleanup

2014-11-08  saitoha <user@zuse.jp>

  * .travis.yml: Update .travis.yml

2014-11-08  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Build with --enable-debug on travis

  * converters/sixel2png.c: Don't include stb_image_write.h if libpng is used

  * converters/Makefile.am, converters/Makefile.in, converters/sixel2png.c:
  Add failure cases to tests

  * src/fromsixel.c: ColTab -> color_table

  * src/fromsixel.c: Fix leaks on some error cases

  * .travis.yml: Update .travis.yml

  * converters/Makefile.am, converters/Makefile.in, src/quant.c: Update tests

  * .travis.yml, converters/Makefile.am: Add more tests

  * converters/Makefile.am, converters/Makefile.in: Add tests for various
  options

2014-11-07  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in:
  Add a test for libcurl integration

  * converters/Makefile.am, converters/Makefile.in: Add tests for various
  image formats

  * converters/Makefile.am, converters/Makefile.in: Add tests for pipe-mode

2014-11-07  saitoha <user@zuse.jp>

  * .travis.yml: Update .travis.yml

  * aclocal.m4, configure, configure.ac, converters/img2sixel.c: Various fixes
  for MinGW build

2014-11-06  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Implement various dithering method for 15bpp mode

2014-11-05  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Apply floyd steinberg dithering with 15bpp output mode

  * src/tosixel.c: Cleanup

2014-11-05  saitoha <user@zuse.jp>

  * converters/malloc_stub.c, src/tosixel.c: Suppress warings on MinGW
  environment

2014-11-04  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Remove unnecessary variables 'src' and 'orig_src'.

  * src/tosixel.c: Allocate 'rgbhit' and 'rgb2pal' on heap instead of stack.

  * src/tosixel.c: Remove an extra space.

2014-11-04  Hayaki Saito <user@zuse.jp>

  * src/dither.c, src/quant.c: Amend fix for suppressing GCC warnings

  * src/dither.c, src/quant.c: Revert "Suppress GCC 4.9.1 warnings"  This
  reverts commit 289b2d7ec4f0e06fe5fc85a8b11eafe536331e04.

  * src/dither.c, src/quant.c: Suppress GCC 4.9.1 warnings

  * converters/img2sixel.c: Include sys/types.h to use fd_set

  * converters/img2sixel.c: Minor fix

  * config.h.in, configure, configure.ac, converters/img2sixel.c: Include
  sys/select.h to fix build on MinGW environment

2014-11-03  Hayaki Saito <user@zuse.jp>

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Update document
  for --pipe-mode

2014-11-03  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Remove a performance hack which inserts '\n' after palette
  definition.

2014-11-03  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Bump version

  * converters/loader.c: Interpret an image expanded by png_set_palette_to_rgb
  as a 3-channel image

  * converters/img2sixel.1: Delete duplicated contributers

  * config.h.in, configure, configure.ac, converters/img2sixel.c,
  converters/loader.c, converters/loader.h: Use clearerr instead of fseek

  * config.h.in, configure, configure.ac, converters/img2sixel.c,
  converters/loader.c, converters/loader.h: Use fseek instead of rewind, and
  check the availability of fseek

  * converters/img2sixel.c, converters/loader.c: Add pipe mode
  feature(-D/--pipe-mode)

  * converters/img2sixel.c: Avoid scanf buffer overflow

  * converters/img2sixel.c: Add missing options in brevity help

  * ChangeLog: Update ChangeLog

  * configure, configure.ac, package.json: Update version

  * converters/loader.c: Fix a segmentation fault occurs when using libpng
  loader

  * src/output.h, src/tosixel.c: Drop unnecessary variable
  sixel_output_t::conv_palette

2014-11-02  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Remove unnecessary check. (nwrite <= 0) Cherry-picked from
  cf00bed  Conflicts: src/tosixel.c

2014-11-03  Hayaki Saito <user@zuse.jp>

  * src/fromsixel.c: Strip unused variables

  * converters/loader.c: Replace some indent tabs to spaces

  * include/sixel.h.in, src/dither.c: Fix a typo of API signature(#10). old
  one is still remained.

2014-11-02  arakiken <arakiken@users.sf.net>

  * src/tosixel.c: Separate sixel_encode_impl() into sixel_encode_header(),
  sixel_encode_body() and sixel_encode_footer(). Cherry-picked from 339d958.
  Conflicts: src/tosixel.c

  * src/tosixel.c: Remove unnecessary check. (nwrite <= 0)

  * src/tosixel.c: Separate sixel_encode_impl() into sixel_encode_header(),
  sixel_encode_body() and sixel_encode_footer().

  * src/tosixel.c: Remove a trailing space. Add sixel_dither_unref() before
  return (-1).

  * src/dither.c: Replace indent tabs to spaces.

  * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/tosixel.c:
  Support 15bpp color sixel. (-F option)

2014-11-01  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

2014-10-29  Hayaki Saito <user@zuse.jp>

  * src/image.c: Remove unused source file image.c

2014-10-28  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.1: Add contributers

  * converters/img2sixel.1: Correct swapped explanation of dithering methods
  atkinson and fs

2014-10-27  Vertis Sidus <vrtsds@users.noreply.github.com>

  * converters/img2sixel.c: Added command line options to use XTERM palettes.

2014-10-26  Hayaki Saito <user@zuse.jp>

  * NEWS: Update NEWS

  * configure, configure.ac, package.json: Bump version

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

  * NEWS: Update NEWS

  * ChangeLog: Update ChangeLog

  * converters/shell-completion/bash/img2sixel: Update bash completion file

  * converters/shell-completion/zsh/_img2sixel: Update zsh completion file

  * README.md, converters/img2sixel.1: Update manpage and README.md

  * converters/img2sixel.c: Update help

  * converters/sixel2png.c: Write png data using libpng by sixel2png

  * converters/sixel2png.c: Fix a typo

  * converters/sixel2png.c: Cleanup

  * converters/loader.c: Accepts sixel as input format by img2sixel

  * README.md: Update README

  * configure, configure.ac, package.json: Bump version

  * ChangeLog: Update ChangeLog

  * converters/img2sixel.c: Fix segmentation fault on quitting GIF animation
  with -u option

  * ChangeLog, NEWS: Update ChangeLog and NEWS

  * converters/img2sixel.c, src/tosixel.c: Support HLS palette

2014-10-25  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Don't terminate configure process if
  --with-libcurl=auto

  * .travis.yml: Update .travis.yml

  * .travis.yml: Update .travis.yml

  * configure, configure.ac: Don't check pkg-config availability if
  $cross_compile == yes

  * Makefile.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, src/Makefile.in: Use $PKG_CONFIG environment variable
  instead of $have_pkg_config

  * configure, configure.ac: Don't use system pkg-config if $cross_compile ==
  "yes"

  * .travis.yml: Update .travis.yml

  * .travis.yml: Update .travis.yml

  * .travis.yml, configure, configure.ac: Update .travis.yml

  * .travis.yml: Update .travis.yml

  * configure, configure.ac: Checks zlib availability with libpng, workaround
  for MinGW build

  * README.md, configure, configure.ac: Links libcurl automatically

  * Makefile.in, NEWS, configure, configure.ac, converters/Makefile.am,
  converters/Makefile.in, include/Makefile.in, src/Makefile.in: Build with
  libjpeg/libpng automatically

  * converters/loader.c: Strip alpha in png loader

2014-10-22  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in,
  images/snake.png: Add test for loading png with libpng

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in,
  images/snake-progressive.jpg: Add a test for loading progressive jpeg

  * include/sixel.h.in, src/output.c, src/output.h: Add new API
  sixel_output_set_palette_type

  * converters/img2sixel.c, include/sixel.h.in: Add --palette-type option

2014-10-20  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * README.md: Update README

  * configure, configure.ac, include/sixel.h.in, src/dither.c, src/dither.h,
  src/tosixel.c: Add new API, sixel_dither_set_body_only

  * converters/img2sixel.c: Update usage

  * ChangeLog, NEWS, README.md: Update README and ChangeLog

  * configure: Minor fix

  * configure, configure.ac: Minor fix

  * configure.ac: Fix build error

  * converters/loader.c: Fix build error

  * converters/loader.c: Use libpng reader

  * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.am,
  converters/Makefile.in, include/Makefile.in, src/Makefile.in: Add --with-png
  configure option

  * LICENSE.xterm, README.md, src/fromsixel.c: Fix wrong HLS-to-RGB conversion
  routine

2014-10-19  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

2014-10-18  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Introduce --verbose option

  * src/fromsixel.c: Rename some functions as snake case

  * src/fromsixel.c: Rename some functions as snake case

2014-10-17  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Bump version

  * README.md: Update README

  * src/tosixel.c: Omit DCS parameters by default

  * src/tosixel.c: Strip an extra DECGNL character at the end of output data

  * src/tosixel.c: Strip an extra LF character from output data

  * converters/loader.c: Suppress gdk-pixbuf assersion on processing some GIF
  images, reported by @ttdoda

2014-10-14  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Bump version

  * LICENSE.sdump, Makefile.in, README.md, config.h.in, configure,
  configure.ac, converters/Makefile.am, converters/Makefile.in,
  converters/loader.c, include/Makefile.in, src/Makefile.in: Add libjpeg
  support with --with-jpeg configure option

2014-10-12  Hayaki Saito <user@zuse.jp>

  * package.json.in.in: clib integration: add --with-libcurl option by default

  * NEWS: Add missing items to NEWS

  * converters/loader.c: Include errno.h in loader.c

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: Add -Werror to CFLAGS when --enable-debug configure option
  is specified

  * config.h.in, configure, configure.ac: Introduce --enable-debug configure
  option

  * converters/img2sixel.c: Fix a double free error

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

2014-10-11  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * NEWS, README.md: Document updates

  * README.md: Update README

  * converters/loader.c, src/quant.c: Suppress some compiler wanings

  * src/quant.c: Fix a bug caused by an uninitialized variable

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: Add missing -Wall option to cflags to privent stupid bugs
  like #9

  * converters/loader.c: Quick fix for Issue #9

  * README.md: Update README

  * README.md: Update README

2014-10-11  Bruce Mitchener <bruce.mitchener@gmail.com>

  * converters/loader.c, converters/shell-completion/bash/img2sixel,
  converters/sixel2png.1, include/sixel.h.in, src/output.c: Remove whitespace
  at EOL.

  * ChangeLog, README.md, converters/img2sixel.1, converters/img2sixel.c,
  converters/quant.h, converters/shell-completion/bash/img2sixel,
  converters/shell-completion/zsh/_img2sixel, include/sixel.h.in,
  src/dither.h, src/quant.c: Fix typos.

  * converters/img2sixel.c: Fix uninitialized variable.

  * converters/img2sixel.c, converters/scale.c: Remove unused functions.

  * converters/img2sixel.c, converters/loader.c, converters/sixel2png.c,
  src/quant.c, src/tosixel.c: Remove unused variables.

  * include/sixel.h.in, src/output.c, src/quant.c: Remove invalid const
  specifier on return type.

2014-10-11  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * README.md: Update README

  * Makefile.in, NEWS: Add NEWS

2014-10-09  Hayaki Saito <user@zuse.jp>

  * converters/shell-completion/bash/img2sixel: Update bash completion file

  * converters/shell-completion/zsh/_img2sixel: Update zsh completion file

  * converters/img2sixel.1: Add missing descriptions to img2sixel manpage

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Update
  documents

  * data/example_opengl.gif, data/ffmpeg.png, data/gnuplot.png, data/gs.png,
  data/libsixel-1.png, data/q_libsixel.png, data/q_ppmtosixel.png,
  data/q_ppmtosixel2.png, data/q_sixel.png, data/q_sixelconv.png,
  data/qemu.png, data/sixel.gif, data/w3m-sixel.png, data/wesnoth.png,
  data/xsdl.png, data/xsixel.png, data/zx81.png: Remove data directory

2014-10-08  Hayaki Saito <user@zuse.jp>

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Update
  documents

  * converters/img2sixel.c, converters/loader.c, converters/loader.h:
  Introduce --static option

  * converters/img2sixel.c: @uobikiemukot's patch in the conversation of #8

  * include/sixel.h.in: Keep compatibility

2014-10-07  Hayaki Saito <user@zuse.jp>

  * src/dither.c: Swap bytes if depth == 2

  * ChangeLog: Update ChangeLog

  * configure, configure.ac, package.json: Bump version

  * converters/img2sixel.c: Fix for animation GIF quality degradation

  * include/sixel.h.in, src/dither.c, src/dither.h, src/tosixel.c: Apply
  @uobikiemukot's patch (various pixel-format support)
  https://gist.github.com/uobikiemukot/7adab29310caf0be6f7a

2014-10-06  Hayaki Saito <user@zuse.jp>

  * LICENSE.sixel, README.md: Add a mention about the License of kmiya's sixel

  * ChangeLog: Update ChangeLog

2014-10-05  Hayaki Saito <user@zuse.jp>

  * README.md: Update README.md

  * configure, configure.ac, package.json: Bump version

  * converters/stb_image.h: Skip an unknown code(0x3c) at GIF decoder

2014-10-02  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update Changelog

2014-10-01  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Update libtool minor version

  * configure, configure.ac: Update libtool micro version

  * LICENSE.stb: Declare patches/applied/stb_image.h.diff is in public domain

  * configure, configure.ac, package.json: Bump version

  * .gitignore: Update .gitignore

  * Makefile.am, Makefile.in, configure, configure.ac, package.json.in =>
  package.json.in.in: Issue #7: prevent to erase package.json in "make
  distclean" target

  * Makefile.am, Makefile.in: Issue #7: Add test.log to CLEANFILES

  * converters/Makefile.am, converters/Makefile.in: Issue #7: correct wrong
  CLEANFILES definition

2014-09-29  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Merge arakiken's amend patch:
  http://mlterm.sourceforge.net/libsixel-penetrate2.patch

  * converters/img2sixel.c: Print short usage explanation if invalid option is
  given.

  * src/dither.c: Change the behavior of sixel_dither_set_diffusion_type,
  improvement for sdump.

2014-09-28  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c, include/sixel.h.in, src/dither.c, src/dither.h,
  src/quant.c, src/quant.h: Introduce -C(complexion score) option and
  implement complexion correction

  * include/sixel.h.in, src/tosixel.c: Fix build broken by fb1cd8a

  * converters/img2sixel.c, src/output.c, src/output.h, src/tosixel.c: Apply
  arakiken's patch for GNU Screen integration:
  http://mlterm.sourceforge.net/libsixel-penetrate.patch

  * converters/img2sixel.c, include/sixel.h.in, src/output.c, src/output.h,
  src/tosixel.c: Introduce new APIs: sixel_output_{get,set}_skip_dcs_envelope

  * configure, configure.ac, package.json: Bump version

  * src/Makefile.am, src/Makefile.in, src/dither.c, src/dither.h, src/image.c,
  src/image.h, src/tosixel.c: Drop sixel_image_t object and related functions

2014-09-27  Hayaki Saito <user@zuse.jp>

  * src/dither.c, src/output.c: Add NULL checks

  * src/dither.c, src/output.c: Add NULL checks

  * src/dither.c, src/image.c: Add input parameter validation for some
  functions

2014-09-26  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Fix a compile error

  * converters/img2sixel.c: Fix a compile error

  * src/image.c: Fix a regression bug introduced by 0221665

  * sixel_orig/Makefile, sixel_orig/frompnm.c, sixel_orig/fromsixel.c,
  sixel_orig/main.c, sixel_orig/tosixel.c: Remove original sixel (kmiya's
  sixel), Mirror repo is now here: https://github.com/saitoha/sixel

  * converters/img2sixel.c, src/dither.c, src/image.c: Fix Issue #6: Remove
  unnecessary null pointer checks

2014-09-25  Hayaki Saito <user@zuse.jp>

  * converters/sixel2png.c: Fix for some environment missing "getopt_long"

  * configure, configure.ac, package.json: Update version

  * converters/sixel2png.c, src/image.c: Issue #5: Completion of error
  handling

2014-09-24  Hayaki Saito <user@zuse.jp>

  * ChangeLog: Update ChangeLog

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Fix typos

  * configure, configure.ac, package.json: Bump version

  * converters/shell-completion/bash/img2sixel: Update bash completion file

  * converters/shell-completion/zsh/_img2sixel: Update zsh completion file

2014-09-24  mattn <mattn.jp@gmail.com>

  * converters/loader.c: Avoid crash

2014-09-24  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Do cropping after resizing by changing the order
  of arguments

2014-09-23  Hayaki Saito <user@zuse.jp>

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Update
  documents

  * README.md: Fix a typo

  * README.md: Update README

  * README.md: Update README

  * data/w3m-sixel.png, data/xsdl.png, data/xsixel.png: Add some images

  * configure, configure.ac: Bump version

  * converters/img2sixel.c: Apply clipping region before scaling process

  * converters/img2sixel.c: Apply arakiken's patch to add clipping options
  http://mlterm.sourceforge.net/libsixel-addcopton.patch

2014-09-09  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

2014-09-02  Hayaki Saito <user@zuse.jp>

  * config.h.in, configure, configure.ac, package.json: v1.0.3 revert
  stb_image.h to 1.41

  * configure, configure.ac, package.json: v1.0.3 revert stb_image.h to 1.41

  * README.md, converters/stb_image.h: Revert stb_image.h to 1.41 for
  preventing segfault

2014-09-01  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

2014-08-29  Hayaki Saito <user@zuse.jp>

  * README.md: Fix a typo

  * data/qemu.png, data/wesnoth.png: Add some images for README

  * configure, configure.ac, package.json: Update version

  * README.md: Update README

  * converters/shell-completion/bash/img2sixel: Update bash completion file

2014-08-25  Hayaki Saito <user@zuse.jp>

  * converters/shell-completion/zsh/_img2sixel: Update zsh completion file

  * patches/applied/stb_image.h.diff: Add an applied patch file for original
  stb_image.h

  * README.md, converters/stb_image.h: Update stb_image.h version to 1.44

2014-08-23  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Bump version

  * src/dither.c, src/quant.c: Don't create cache table when it is not needed

  * src/quant.c: Make faster monochrome dithering

  * converters/img2sixel.c: Fix a typo of --quality option value

2014-08-17  Hayaki Saito <user@zuse.jp>

  * src/dither.c, src/dither.h, src/quant.c, src/quant.h: Add quant.h and fix
  signature confusion of some functions

  * README.md: Update README

  * README.md, data/ffmpeg.png: Update README

  * configure, configure.ac, package.json: Bump version: 1.0.0

  * README.md, data/example_opengl.gif, examples/osx/opengl/Makefile,
  examples/osx/opengl/opengl, include/sixel.h.in: Update README

  * src/output.h: Add a missing header

  * Makefile.in, aclocal.m4, configure, configure.ac, converters/Makefile.in,
  converters/img2sixel.c, converters/sixel2png.c, examples/osx/opengl/opengl,
  examples/osx/opengl/opengl.c, include/Makefile.in, include/sixel.h.in,
  src/Makefile.in, src/dither.c, src/dither.h, src/fromsixel.c, src/image.c,
  src/image.h, src/output.c, src/quant.c, src/tosixel.c: ABI version 1.0.0

  * src/dither.c, src/dither.h: Add missing files

  * configure, configure.ac, converters/img2sixel.c,
  examples/osx/opengl/opengl, examples/osx/opengl/opengl.c,
  include/sixel.h.in, src/Makefile.am, src/Makefile.in, src/image.c,
  src/output.c, src/quant.c, src/tosixel.c: ABI version 0.3.0

2014-08-16  Hayaki Saito <user@zuse.jp>

  * include/sixel.h.in, src/quant.c: Performance optimization

  * converters/img2sixel.c, examples/osx/opengl/opengl.c, include/sixel.h.in,
  src/quant.c: Minor update

  * converters/img2sixel.c, converters/loader.c, include/sixel.h,
  include/sixel.h.in, src/quant.c: Add new function sixel_dither_get

  * converters/img2sixel.c, converters/sixel2png.c,
  examples/osx/opengl/opengl, examples/osx/opengl/opengl.c, include/sixel.h,
  include/sixel.h.in, src/image.c, src/quant.c, src/tosixel.c: Update
  interface symbols

  * src/quant.c: Fix a bug of memory layout of palette structure

  * converters/loader.c: Minor fix

  * src/quant.c, src/tosixel.c: Minor fix

2014-08-15  Hayaki Saito <user@zuse.jp>

  * src/quant.c: Keep compatiblity with abi-1.0.0 branch

  * Makefile.in, README.md, aclocal.m4, config.h.in, configure, configure.ac,
  converters/Makefile.in, include/Makefile.in, include/sixel.h,
  include/sixel.h.in, m4/ax_gcc_func_attribute.m4, m4/ax_gcc_var_attribute.m4,
  src/Makefile.in: Add deprecated attribute to some functions

  * configure, configure.ac, converters/img2sixel.c, converters/loader.c,
  include/sixel.h, src/image.c, src/quant.c, src/tosixel.c: ABI version 0.2.0

  * converters/frompnm.c: Prevent invalid memory access

  * examples/osx/opengl/opengl, examples/osx/opengl/opengl.c: Add an example:
  opengl test

2014-08-13  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Reset active palette by every frame

2014-08-08  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * src/tosixel.c: Minor fix

2014-08-07  Hayaki Saito <user@zuse.jp>

  * config.h.in, configure, configure.ac, include/sixel.h, src/output.c,
  src/tosixel.c: +

  * src/quant.c, src/tosixel.c: Minor fixes

2014-08-06  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c, include/sixel.h, src/quant.c: Allocate cache table
  only once to improve performance

  * converters/img2sixel.c: Strip extra malloc

  * converters/img2sixel.c, include/sixel.h, src/quant.c: Minor fix of
  applying palette

  * src/quant.c: Improve performance

2014-08-04  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in: Minor fix

  * Makefile.am, Makefile.in: Update .travis.yml

  * Makefile.am: Remove needless workarounds for coveralls

2014-08-03  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * .travis.yml: Ignore segmentation fault of coveralls command

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in,
  converters/img2sixel.c, include/sixel.h, src/Makefile.am, src/Makefile.in,
  {converters => src}/quant.c: Move quantization APIs to library domain

  * .travis.yml: Update .travis.yml

  * ChangeLog: Add ChangeLog

  * .travis.yml: Update .travis.yml

  * README.md, converters/img2sixel.c, converters/sixel2png.c: Add --version
  and --help option

  * configure, configure.ac, package.json: Bump version

  * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, src/Makefile.in, {src => wic}/wic.cc,
  wic_install.reg.in => wic/wic_install.reg.in, wic_uninstall.reg.in =>
  wic/wic_uninstall.reg.in: Temporary drop wic integration

  * README.md: Update README

  * README.md, data/gnuplot.png, data/gs.png, data/libsixel-1.png,
  data/q_libsixel.png, data/q_ppmtosixel.png, data/q_ppmtosixel2.png,
  data/q_sixel.png, data/q_sixelconv.png, data/sixel.gif, data/zx81.png:
  Update README

2014-08-02  Hayaki Saito <user@zuse.jp>

  * config.h.in, configure, configure.ac: Bump version

  * README.md, converters/img2sixel.c: Add --macro-number option

2014-08-01  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Minor fix

2014-07-28  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Update version

  * config.h.in, configure, configure.ac, converters/img2sixel.c: Improve time
  precision of animation rendering

  * configure, configure.ac, package.json: Update micro version

  * converters/img2sixel.c: Do not insert delay after drawing frames, but
  before doing

  * README.md: Update README

2014-07-27  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Fix a double free error

  * converters/loader.c: Fix an error when glib version < 2.36

  * converters/loader.c: Revert "Fix static image processing with gdk-pixbuf2"
  This reverts commit 5e5f2aed34dc1356c151513d5e31d9f14ce64c8e.

  * converters/loader.c: Fix static image processing with gdk-pixbuf2

2014-07-26  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Fix build error

  * converters/loader.c: Strip an unneeded malloc call

  * converters/loader.c: Fix a typo

  * converters/img2sixel.c: Fix segfault of accessing delay value

  * converters/img2sixel.c, converters/loader.c, converters/loader.h: Respect
  delay by each frame

  * configure, configure.ac, package.json: Bump version

  * src/tosixel.c: Reset parser state before parsing each frames

2014-07-25  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Bump version

  * src/tosixel.c: Always reset active palette no

2014-07-24  Hayaki Saito <user@zuse.jp>

  * src/output.c: Minor fix

  * LICENSE.images, LICENSE.stb: Minor update of LICENSE files

  * configure, configure.ac, package.json: Bump version

2014-07-23  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Minor fix

  * converters/img2sixel.c: Minor fix

  * configure, configure.ac, package.json: Bump version

  * converters/img2sixel.c: Strip a pair of malloc/free

2014-07-22  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Emit DECDMAC sequence more faster (apply the patch
  written by @arakiken) http://mlterm.sourceforge.net/img2sixel-fixhex.patch

2014-07-21  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac, package.json: Bump version

  * README.md, converters/img2sixel.1: Add some descriptions for new options
  to documents

  * converters/img2sixel.c: Add --ignore-delay option

  * converters/img2sixel.c, converters/loader.c, converters/stb_image.h:
  Initial implementation for --use-macro option

  * converters/img2sixel.c: Improve the color sampling method for makeing
  adaptive palette

2014-07-19  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Fix a stupid typo

  * converters/shell-completion/zsh/_img2sixel: Add zsh completion candidates
  for --loop-control option

  * converters/shell-completion/bash/img2sixel: Add bash completion candidates
  of --loop-control option

  * configure, configure.ac, package.json: Bump version

  * converters/img2sixel.c: Fix the wrong option for getopt

  * configure, configure.ac, package.json: Update version

  * README.md, converters/img2sixel.1: Update document

  * README.md, converters/img2sixel.1: Update img2sixel document

  * package.json: Rebuild

  * converters/img2sixel.c: Enable delay only if delay value < 100

  * converters/loader.c: Reset BMP component value to 3

  * converters/loader.c: Fix build of gdk-pixbuf integration

  * config.h.in, configure, configure.ac, converters/img2sixel.c: Check
  usleep(3) availabiliey

  * converters/img2sixel.c: Fix a memory leak issue

  * converters/img2sixel.c, converters/loader.c, converters/loader.h: Respect
  "delay time" setting in GIF header

  * converters/stb_image.h: Retrieve "delay time" from GIF header

  * converters/img2sixel.c, converters/loader.c, converters/loader.h:
  Implement "loop control" option

2014-07-17  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.h: Retrive loop count of GIF animation

  * converters/img2sixel.c, converters/loader.c, converters/loader.h: Add new
  CLI argument: --loop-control

  * config.h.in, configure, configure.ac, converters/img2sixel.c: Checks
  availability of SIGINT/SIGTERM/SIGHUP

  * converters/img2sixel.c: Handle SIGTERM instead of SIGKILL

  * Makefile.am, Makefile.in: Except libsixel.pc from CLEANFILES

  * configure, configure.ac: Style improvement

  * config.h.in, configure, configure.ac, converters/img2sixel.c: Checks
  signal(3) availability

  * converters/img2sixel.c: Emit ST when we catch SIGINT/SIGHUP/SIGTERM

  * configure, configure.ac: Bump version

2014-07-17  saitoha <user@zuse.jp>

  * converters/loader.c: Fix a segmentation error when loading GIF with
  setting requested component = 4

2014-07-16  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Minor fix

  * converters/loader.c: Don't load GIF with GD backend

  * converters/loader.c: Load animation GIF with gdk-pixbuf2

  * converters/img2sixel.c: Move to (1, 1) if loaded image is an animation
  file

  * converters/loader.c: Prevent overrun

  * converters/img2sixel.c: Implement multiple frame output

  * converters/loader.c: Minor fix

  * converters/loader.c: Do GIF specific processing

  * converters/loader.c: Change the signature of load_with_builtin

  * converters/loader.c: Add GIF detector function

  * converters/loader.c: Add the chunk initializer function

  * converters/img2sixel.c, converters/loader.c, converters/loader.h: Change
  the signature of load_image_file

  * converters/Makefile.am, converters/Makefile.in, converters/loader.c:
  Include stb_image.h into loader.c

2014-07-09  Hayaki Saito <user@zuse.jp>

  * package.json: Rebuild

  * configure, configure.ac: Update version

  * package.json: Minor fix

  * package.json: Add package.json

  * libsixel.pc.in: Updaate the pkg-config file

  * Makefile.in, configure, converters/Makefile.in, include/Makefile.in,
  src/Makefile.in: Rebuild build files

  * configure.ac, package.json.in: clib's package.json integration

  * configure.ac: Add new macro PACKAGE_DESCRIPTION

  * configure, configure.ac: Bump version

2014-07-01  Hayaki Saito <user@zuse.jp>

  * src/sixel.5: Minor fix of sixel(5) manpage

2014-06-27  Hayaki Saito <user@zuse.jp>

  * configure: Rebuild configure script

  * configure.ac: Bump version

  * converters/stb_image.h: Update stb_image.h version to 1.41

2014-06-21  Hayaki Saito <user@zuse.jp>

  * src/sixel.5: Update the manpage of sixel(5)

  * LICENSE.images: Update license notation file for test images

2014-06-20  Hayaki Saito <user@zuse.jp>

  * LICENSE.stb, LICENSE.stbi, LICENSE.stbiw: Update some LICENSE files

  * configure, configure.ac: Fix a typo

  * configure, configure.ac: Fix linker error: gdImageCreateFromTiffPtr not
  found in ArchLinux

  * configure, configure.ac: Bump version

2014-06-19  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Do PKG_PROG_PKG_CONFIG out of if-clause

  * converters/stb_image.h: Revert "Apply the fix for 1bpp PNG (adb44619)
  again"  This reverts commit 5229d3d8f0139f407be79ea427e5e4f45dc23d84.

  * converters/stb_image.h: Fix a merge misstake

  * configure, configure.ac: Bump version

  * converters/stb_image.h: Apply the fix for 1bpp PNG (adb44619) again

2014-06-18  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Bump version

  * Makefile.am, Makefile.in: Fix travis build

  * config.guess, config.h.in, config.sub, configure, ltmain.sh,
  m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4: Update libtool version to
  2.4.2

  * configure, configure.ac: Fix wrong AC_ARG_WITH option parsing, reported by
  @ttdoda

  * Makefile.am, Makefile.in: Fix a typo in valgrind target

2014-06-16  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in: Fix travis build

2014-06-15  Hayaki Saito <user@zuse.jp>

  * configure: Rebuild configure script

  * configure.ac: Minor fix

  * Makefile.am, Makefile.in: Minor fix

  * Makefile.in, configure, configure.ac, include/Makefile.in,
  src/Makefile.in: Add new configure option, --with-zshcompletiondir

  * converters/Makefile.am, converters/Makefile.in: Add a zsh completion file
  to install target

  * converters/shell-completion/zsh/_img2sixel: Add zsh completion file for
  img2sixel

  * converters/stb_image_write.h: Strip trailing spaces

  * converters/sixel2png.c, converters/stb_image_write.h: Update
  stb_image_write version to 0.94

  * configure, configure.ac: Update version

  * Makefile.in, config.guess, config.h.in, config.sub, configure,
  configure.ac, include/Makefile.in, ltmain.sh, m4/libtool.m4,
  m4/ltoptions.m4, m4/ltversion.m4, src/Makefile.in: Add new configure option,
  --with-bashcompletiondir

  * converters/Makefile.am, converters/Makefile.in: Add bash-completion file
  to install target

  * converters/shell-completion/bash/img2sixel: Add bash-completion definition
  file

  * configure, configure.ac: Update version

  * images/snake.gif: Add a test GIF image

  * converters/stb_image.h: Do be sure to rewind in bitmap test, to fix broken
  GIF loader

2014-06-14  Hayaki Saito <user@zuse.jp>

  * README.md: Mention yaft, as a sixel-featured terminal

2014-06-11  Hayaki Saito <user@zuse.jp>

  * configure: Rebuild configure script

  * configure.ac: Bump version

  * images/snake.tga, images/snake.tiff: Add TGA/TIFF test images

  * images/snake.bmp: Add a bmp v5 test image

  * converters/stb_image.h: Support to load bitmap v5 header

  * README.md: Update coverage status badge

  * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in:
  Update tests

  * images/snake.pnm: Add new test image snake.pnm

  * converters/Makefile.am, converters/Makefile.in: Minor fixes

  * configure: Rebuild configure script

  * Makefile.am, Makefile.in: Minor fix

  * Makefile.am, Makefile.in: Update makefile

  * Makefile.am, Makefile.in: Allow "possibly lost" and "still reachable" on
  checking leaks with valgrind

  * Makefile.am: Add --show-leachable=no option to valgrind

  * converters/loader.c: Strip surplus g_object_ref/g_object_unref pair

2014-06-11  saitoha <user@zuse.jp>

  * converters/quant.c: Fix invalid memory access warnings reported by
  valgrind

2014-06-10  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in: Strip garbage output from valgrind.log

  * converters/loader.c: Fix a typo

  * converters/loader.c: Handle the error if malloc is failed in load_with_gd

  * .travis.yml: Update .travis.yml

  * converters/loader.c: Dereference gdk-pixbuf loader after using it

  * .travis.yml: Amend fix of .travis.yml

  * .travis.yml: Update .travis.yml cat valgrind.log if valgrind test fails

  * .travis.yml: Use libgd2-xpm-dev package instead of libgd2-devel

  * .travis.yml: Install libgd-dev when --with-gd option is enabled

  * converters/loader.c: Use GLIB_CHECK_VERSION to detect that g_type_init is
  deprecated

  * converters/loader.c: Call g_type_init() before using gdk-pixbuf

  * aclocal.m4, configure: Update configure script

  * configure.ac: Bump version

  * Makefile.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, src/Makefile.in: Fix a configuration bug where
  gdk-pixbuf flags are not set

  * .travis.yml: Update .travis.yml

  * .travis.yml: Update .travis.yml

2014-06-10  saitoha <user@zuse.jp>

  * .travis.yml: Install pkg-config when configuring with gdk-pixbuf

2014-06-10  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Update .travis.yml

2014-06-10  saitoha <user@zuse.jp>

  * .travis.yml, Makefile.am, Makefile.in, aclocal.m4, configure,
  src/tosixel.c: Add --disable-shared configure option with gcov target

2014-06-09  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.h: Parse application extension block when loading GIF

2014-06-10  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in: Remove valgrind.log in clean target

  * .travis.yml: Install libyaml-dev in .travis.yml

  * .travis.yml, Makefile.am, Makefile.in: Add valgrind target to Makefile

  * Makefile.am: Update makefile

  * Makefile.in, converters/Makefile.in: Minor fixes

  * .travis.yml: Install PyYAML when running coveralls on travis

  * .gitignore: Update gitignore

  * Makefile.am, converters/Makefile.am: Add some CLEANFILES

  * Makefile.am: Minor fix

  * Makefile.am, Makefile.in: Add workaround for a cpp-coveralls problem

  * converters/.coveralls.yml => .coveralls.yml, Makefile.am, Makefile.in,
  converters/Makefile.am, converters/Makefile.in, src/Makefile.am: Fix travis
  build

  * .travis.yml: Update .travis.yml

  * .travis.yml: Update .travis.yml: add --enable-gcov build target

  * README.md: Add coveralls badge to README

  * Makefile.am, Makefile.in, converters/Makefile.am, converters/Makefile.in,
  src/Makefile.am: Add coveralls tqrget to makefiles

2014-06-09  Hayaki Saito <user@zuse.jp>

  * converters/.coveralls.yml: Add .coveralls.yml

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in,
  src/Makefile.am, src/Makefile.in: Add new configure option --enable-gcov

  * converters/loader.c, converters/stb_image.c, converters/stb_image.h:
  Headerify stb_image

2014-06-08  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.c: Update stb_image version to 1.38

  * sixel_orig/tosixel.c, src/tosixel.c: Add workarounds for old version of
  mlterm

2014-06-07  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * LICENSE.tw, converters/quant.c: Drop unused pattern-dither function

2014-06-06  Hayaki Saito <user@zuse.jp>

  * .gitignore: Update gitigore

  * converters/frompnm.c, converters/loader.c: Fix linker error for mingw
  environment

  * configure.ac: Bump version

  * Makefile.in, configure, configure.ac, wic_install.reg =>
  wic_install.reg.in, wic_uninstall.reg => wic_uninstall.reg.in: Add new
  configure output target: wic_install.reg/wic_uninstall.reg

  * Makefile.in, config.guess, config.h.in, config.sub, configure,
  configure.ac, converters/Makefile.in, include/Makefile.in, ltmain.sh,
  m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4, src/Makefile.in: Update
  build files

2014-06-06  U-WIN-FOH0MAR4FJ6\user <user@WIN-FOH0MAR4FJ6.(none)>

  * configure.ac: Minor fix

  * configure.ac: Minor fix

2014-06-05  Hayaki Saito <user@zuse.jp>

  * src/wic.cc, wic_install.reg, wic_uninstall.reg: Add some files for WIC
  integration

  * Makefile.in, config.h.in, configure, converters/Makefile.in,
  include/Makefile.in, src/Makefile.in: Update build files

  * configure.ac: Check libs for WIC integration

  * configure.ac: Add new configure option --with-wic

  * configure, configure.ac: Update configure script

  * build-gdkpixbuf.sh: Drop unused build script build-gdkpixbuf.sh

2014-06-04  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * images/vimperator3.png: Add an additional test image

2014-05-30  Hayaki Saito <user@zuse.jp>

  * config.h.in, configure, configure.ac: Add a config.h definition which
  represents getopt_long avilability

  * converters/img2sixel.c: Support some environments lack getopt_long

  * configure: Rebuild configure script

  * configure.ac: Bump version

  * configure: Rebuild

  * converters/Makefile.in: Rebuild Makefile.in

  * converters/Makefile.am: Add some private header files to the source
  distribution

  * config.h.in: Rebuild config.h.in

  * configure: Rebuild

  * converters/loader.c: Use standard jpeg loader if available

  * configure.ac: Check standard jpeg loader with GD integration

  * configure, configure.ac: Check libiconv avilability if --with-gd is
  specified

  * configure, configure.ac: Check host environment

  * converters/loader.c: Compile loader module without missing GD symbols

  * configure.ac: Check each of gdImageCreateFromXXX availabilities

  * converters/loader.c: Revert "Don't compile unused code in stbi_image.c
  such as stbi_load_from_file"  This reverts commit
  9415149ac20f5ab26b8e97b26c8d9989bdd61572.

  * converters/loader.c: Don't compile unused code in stbi_image.c such as
  stbi_load_from_file

  * configure: Rebuild configure script

  * converters/stb_image.c: Fix a segmentation fault issue reported by
  @arakiken

2014-05-28  Hayaki Saito <user@zuse.jp>

  * configure: Rebuild configure script

  * configure, configure.ac: Continue to configure without pkg-config if
  GDK_PIXBUF_CFLAGS and GDK_PIXBUF_LIBS is set

  * configure.ac: Bump version

  * configure, configure.ac: Don't use addition assingment operator in
  configure, it's an extension of bash. reported by @ttdoda

2014-05-26  Hayaki Saito <user@zuse.jp>

  * configure: Rebuild

  * configure.ac: Bump version

  * converters/loader.c: Fix an error caused by duplicated free

  * converters/loader.c: Load pnm more efficiently

  * converters/loader.c: Minor fix

  * converters/loader.c: Minor fix

  * converters/loader.c: Minor fix

2014-05-25  Hayaki Saito <user@zuse.jp>

  * src/sixel.5: Update reference section

  * converters/img2sixel.1, converters/sixel2png.1: Update "See Also" section
  of img2sixel/sixel2png

  * src/Makefile.in: Rebuild Makefile.in

  * src/Makefile.am: Install sixel(5) by default

  * src/sixel.5: Add new manpage "sixel(5)"

  * Makefile.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, src/Makefile.in: Rebuild

  * Makefile.am: Update Makefile.am

  * configure.ac: Add new configure option, --with-pkgconfigdir

  * Makefile.in, configure: Rebuild

  * configure.ac: Add new config file libsixel.pc

  * libsixel.pc.in: Add a template file for pkg-config integration

  * converters/malloc_stub.c, converters/stb_image.c: Fix for some environment
  lacks memory.h

  * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, src/Makefile.in: Drop unused gio-2.0 detection

  * configure: Rebuild configure script

  * configure.ac: Update minor version

  * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in,
  converters/loader.c, include/Makefile.in, src/Makefile.in: Fix segmentation
  errors when loading stdin with gdk-pixbuf

  * converters/loader.c: Fix a GDK error caused by loading image from stdin
  with gdk-pixbuf

  * converters/img2sixel.1: Update manpage of img2sixel

  * converters/loader.c: Issue #2 Fix segmentation faults caused when libcurl
  integration is enabled

  * converters/loader.c: Minor fix

  * converters/loader.c: Do not use stbi loader if image format is pnm/sixel

  * converters/loader.c: Add functions detect pnm/sixel image format

  * converters/loader.c: Don't use stbi_load_from_file

  * converters/Makefile.am, converters/Makefile.in: Build with frompnm.c

  * converters/scale.h: Minor fix

  * converters/loader.c: Enable pnm format loader in loader.c

  * converters/frompnm.c, converters/frompnm.h: Add PNM loader imported from
  kmiya's sixel

2014-05-24  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Cleanup

  * config.h.in, configure: Rebuild configure script

  * converters/malloc_stub.c, converters/malloc_stub.h: Drop unused
  posix_memalign stub function

  * configure.ac: Drop the preparation for SIMD enhancement

  * configure: Rebuild configure script

  * configure.ac: Bump version

  * Makefile.in, configure, converters/Makefile.am, converters/Makefile.in,
  include/Makefile.in, src/Makefile.in: Update build scripts

  * configure.ac: Improve configure script avilability

2014-05-23  Hayaki Saito <user@zuse.jp>

  * configure.ac: Fix for environments that do not have pkg-config

2014-05-22  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Fix build

2014-05-21  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.1: Update manpage of img2sixel

  * configure, configure.ac: Minor fix

  * README.md: Update README

  * configure: Update configure script

  * configure.ac: Update minor version

  * converters/img2sixel.c, converters/loader.c: Fix segfault when source
  image is GIF

2014-05-20  Hayaki Saito <user@zuse.jp>

  * converters/loader.c: Add test for HDR format

  * converters/loader.c: Add detection for PSD file format

  * converters/loader.c: Add missing include directive

  * converters/loader.c: Minor fix

  * configure: Rebuild

  * configure.ac: Minor fix

  * configure, configure.ac: Display configure summary

  * README.md: Update README

  * README.md: Update README

  * src/fromsixel.c, src/tosixel.c: Cleanup

  * converters/loader.c: Minor fix

  * converters/img2sixel.1: Update manpage

  * README.md: Update README

  * converters/img2sixel.1: Update manpage

  * converters/img2sixel.c: Use free() indted of stbi_image_free

  * configure: Rebuild

  * configure.ac: Update version

  * converters/loader.c: Minor fix

  * converters/loader.c: Fallback other loader if loading process fails

  * converters/loader.c: Add header/footer comments

  * converters/Makefile.am, converters/Makefile.in, converters/img2sixel.c,
  converters/loader.c, converters/loader.h: Add loader.c

  * converters/img2sixel.c: Linting

  * .travis.yml: Update .travis.yml

  * .travis.yml: Add some new travis build targets

  * converters/img2sixel.c: Add integration for when both of gdlib and libcurl
  are enabled

  * converters/img2sixel.c: Fix run-time errors

  * converters/img2sixel.c: Fix some build error

  * config.h.in: Add HAVE_GD definition

  * converters/img2sixel.c: Initial implementation of gd integration

2014-05-19  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Search package gdlib not but libgd

  * Makefile.in, configure, configure.ac, converters/Makefile.am,
  converters/Makefile.in, include/Makefile.in, src/Makefile.in: Add --with-gd
  option

  * .gitignore, .travis.yml, configure, configure.ac: Up to date

  * .travis.yml: Update .travis.yml

  * configure.ac: Change configure options: --enable-gdk-pixbuf to
  --with-gdk-pixbuf --enable-libcurl to --with-libcurl

  * configure.ac: Cleanup

  * .travis.yml: Fix travis test with using wine

  * .travis.yml: Add --prefix=/usr to configure option in travis script

  * .travis.yml: Check memory leaks and access violation only when WINE is not
  used

  * configure: Rebuild configure script

  * configure.ac: Bump version

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in:
  Raise errors if gdk-pixbuf/libcurl are not available when they are enabled

  * .travis.yml: Update .travis.yml

  * converters/img2sixel.c: Minor fix

  * configure, configure.ac: Add new configure options, --enable-gdk-pixbuf2
  and --enable-libcurl

  * build-gdkpixbuf.sh: Drop build-gdkpixbuf.sh

  * converters/img2sixel.c: Minor fix

  * converters/Makefile.am, converters/Makefile.in: Update CFLAGS and LDADD
  for img2sixel

  * Makefile.in, aclocal.m4, config.h.in, configure, configure.ac,
  converters/Makefile.in, include/Makefile.in, src/Makefile.in: Check
  gdk-pixbuf2 and libcurl availability

  * build-gdkpixbuf.sh, converters/img2sixel.c: Integrate libcurl only if
  gdk-pixbuf is not available

2014-05-18  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Minor fix

  * converters/img2sixel.c: Minor fix

  * build-gdkpixbuf.sh, converters/img2sixel.c: * img2sixel.c: Use gdk-pixbuf
  and libcurl. * build-gdkpixbuf.sh: Added. this commit is imported from
  arakiken/libsixel. https://bitbucket.org/arakiken/libsixel/commits/fda0bcab1
  ec2598bada3d102d8f0cf35d848f6ff

  * build-gdkpixbuf.sh, converters/img2sixel.c: * img2sixel.c: Use gdk-pixbuf
  and libcurl. * build-gdkpixbuf.sh: Added. this commit is imported from
  arakiken/libsixel. https://bitbucket.org/arakiken/libsixel/commits/fda0bcab1
  ec2598bada3d102d8f0cf35d848f6ff

  * configure: Rebuild

  * configure.ac: Update version

  * converters/img2sixel.c: Fixup for the effect of invert option

  * src/tosixel.c: Assume default SIXEL palette as fore-color

2014-05-17  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Fixup for correcting getopt option

  * README.md, converters/img2sixel.1: Update manpage and README

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Fix typos:
  sence -> sense

  * converters/img2sixel.c: Add invert option

  * converters/quant.c: Minor fix

  * README.md, configure: Rebuild

  * configure.ac: Update minor version

  * converters/img2sixel.c: Enable missing -q/--quality option

  * .gitignore: Update .gitignore

2014-05-16  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Update version

  * converters/Makefile.am, converters/Makefile.in: Add some smoke tests

2014-05-15  Hayaki Saito <user@zuse.jp>

  * src/tosixel.c: Define and select color index #1 when monochrome sixel mode

  * converters/quant.c: Improve the quality of monochrome dithering

  * .travis.yml: Update .travis.yml

  * .travis.yml: Amend fix of yml syntax error

  * .travis.yml: Update .travis.yml

  * converters/quant.c: Revert "Omit some needless conditions", to fix access
  violations  This reverts commit 2cb46ca69a68a9eb837e0696080e27708286915c.

2014-05-14  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Integrate valgrind to .travis.yml

  * configure: Rebuild

  * configure.ac: Update version

  * converters/quant.c: Omit some needless conditions

  * converters/img2sixel.c: Load map file with high quality mode

  * README.md: Update README

  * configure, configure.ac: Update version

  * converters/img2sixel.1: Update manpage

  * README.md: Add tw license notice to README

  * LICENSE.tw: Add license file of arakiken's tw

  * converters/img2sixel.c, converters/quant.c: Use pattern dither when doing
  monochrome quantization

  * converters/img2sixel.1: Update manpage

  * README.md, converters/img2sixel.c: Minor fix

  * README.md: Update README

  * converters/quant.c: Handle some out of memory errors

  * converters/img2sixel.c, converters/quant.c: Minor fix

  * converters/img2sixel.c, converters/quant.c, converters/quant.h: Implement
  --quality option

2014-05-13  Hayaki Saito <user@zuse.jp>

  * converters/quant.c: Catch unhandled errors

  * README.md, converters/img2sixel.1, converters/img2sixel.c,
  converters/quant.c, converters/scale.c, converters/scale.h: Add welsh
  resampling filter

2014-05-12  Hayaki Saito <user@zuse.jp>

  * converters/quant.c: Minor fix

  * README.md, converters/img2sixel.1: Add reference notations of ImageMagick

2014-05-11  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Bump version

  * converters/img2sixel.c: Implement options, --width=auto/--height=auto

  * converters/img2sixel.1: Update manpage

  * README.md, converters/img2sixel.c: Update README

  * converters/img2sixel.c: Accept units(%/px) with -w and -h options

  * config.h.in, configure, configure.ac, converters/malloc_stub.c,
  converters/malloc_stub.h: Prepare for SSE2 extension

2014-05-11  hsaito <hsaito@MacBook-Pro.local>

  * converters/quant.c: Optimize dithering

2014-05-10  Hayaki Saito <user@zuse.jp>

  * converters/quant.c: Fix a worng comment

  * configure, configure.ac: Update version

  * converters/quant.c: Fix bugs caused by some typos

  * README.md, converters/img2sixel.1, converters/img2sixel.c,
  converters/quant.c, converters/quant.h: Add burkes' dithering method

  * README.md, converters/img2sixel.1, converters/img2sixel.c,
  converters/quant.c, converters/quant.h: Add stucki's dithering method

  * configure, configure.ac: Bump version

  * README.md: Update README

  * converters/img2sixel.1, converters/img2sixel.c, converters/quant.c,
  converters/quant.h: Add Bill Atkinson's dithering method

2014-05-09  Hayaki Saito <user@zuse.jp>

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: Strip -O3 option

  * converters/scale.c: Make nearest neighbor method faster

  * README.md, converters/img2sixel.1, converters/img2sixel.c,
  converters/scale.c, converters/scale.h: Add gaussian/hanning/hamming filter
  for resampling

2014-05-08  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Update version

  * README.md, converters/img2sixel.1, converters/img2sixel.c: Add and
  implement -f and -s option

  * converters/img2sixel.c, converters/quant.c, converters/quant.h,
  converters/scale.c, converters/scale.h: Cleanup

  * converters/img2sixel.c, converters/quant.c: Cleanup

  * converters/quant.c: Minor fix of lookup method

  * converters/img2sixel.c, converters/quant.h: Minor fix for processing
  options, -d and -r

  * src/tosixel.c: Strip unused code

  * .travis.yml: Update .travis.yml

  * README.md, converters/img2sixel.1, converters/img2sixel.c,
  converters/scale.c: Change default re-sampling option to bilinear method

  * configure, configure.ac: Update version

  * converters/img2sixel.c, converters/quant.c, converters/quant.h: Add
  "foptimize" strategy option to LSQ_ApplyPalette

  * converters/img2sixel.1: Update manpage

  * converters/img2sixel.1: Update manpage

  * README.md: Update README

  * converters/img2sixel.c: Fix an incompatible type argument substitution

  * converters/img2sixel.c: Minor fix

  * converters/img2sixel.c: Fix a segmentation error

  * converters/img2sixel.c: Fix a memory leak

  * converters/img2sixel.c: Add missing argument for getopt

  * converters/img2sixel.c: Implement --resampling option

  * converters/img2sixel.c: Cleanup

  * converters/img2sixel.c: Add -r/--resampling option to img2sixel

  * converters/scale.c: Make LSS_scale enable to switch scaling method

  * converters/scale.c: Minor fix of normalize function

  * converters/scale.c: Add various resampling functions

  * converters/scale.c: Add missing include delective

  * converters/scale.c: Workaround for the environment where M_PI is not
  defined

  * converters/img2sixel.c, converters/quant.c, converters/scale.c,
  converters/scale.h: Add methodForResampling argument to LSS_scale signature

  * converters/scale.h: Add enum definition identifying methods for
  re-sampling

  * converters/img2sixel.1: Strip a trailing space

2014-05-07  Hayaki Saito <user@zuse.jp>

  * converters/quant.c: Minor fix around switching diffusion method

  * converters/Makefile.am, converters/Makefile.in, src/Makefile.am,
  src/Makefile.in: Add -O3 to CFLAGS

  * converters/img2sixel.c, converters/scale.c, converters/scale.h: Fix the
  signature of LSS_Scale

  * converters/quant.c: Handle out-of-memory errors

  * converters/quant.c: Fix memory leak

  * converters/quant.c: Optimization for applying palette

  * converters/Makefile.am, converters/Makefile.in: enable HDR image format

  * converters/Makefile.am, converters/Makefile.in: Fix build

  * README.md, converters/img2sixel.1: Update README and manpage

  * converters/img2sixel.c: Update --help description

  * converters/Makefile.am, converters/Makefile.in: Rebuild

  * converters/img2sixel.c: Implement --width/--height using LSS_scale

  * converters/img2sixel.c: Add new options, --width and --height

  * converters/scale.c: Add missing include derectives

  * converters/scale.c, converters/scale.h: Add the image resizing function

2014-05-04  Hayaki Saito <user@zuse.jp>

  * config.h.in, converters/Makefile.in: Update configure script

  * converters/Makefile.am: Add manpages to distributed files

  * converters/sixel2png.1: Add the manpage of sixel2png

  * converters/img2sixel.1: Add the manpage of img2sixel

  * converters/img2sixel.c: Fix --help descriptions

2014-05-02  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Remove amd64-mingw32msvc target

  * .travis.yml: Add new targets {i586,amd64}-mingw32msvc

  * converters/img2sixel.c: Cleanup

  * README.md: Add travis status image to README.md

Fri May 2 09:57:59 2014 +0900  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Squashed commit of the following:  commit
  ff949f9d7e3118634c6c8aed513f0709fe6a05bc  Fix a typo  commit
  d551b421e9cfae2e2dc5eedea83c2d3fae2edbe9  Update travis build  commit
  d98e174afe4cc353ff5aa154f3e0c55b65c8d6e6  Update travis build  commit
  bccc8145faa03b2fd56c777ace7aedd38cd5a0b6  Fix travis build  commit
  53c98ad4740eeffaf179e314c21a690d3a0524f9  Fix travis build  commit
  aef80bdbbdb36d51073326477894c837672975f6  Update .travis.yml

2014-05-02  Hayaki Saito <user@zuse.jp>

  * .travis.yml: Fix a typo

  * .travis.yml: Update travis build

  * .travis.yml: Update travis build

  * .travis.yml: Fix travis build

  * .travis.yml: Fix travis build

  * .travis.yml: Update .travis.yml

  * converters/sixel2png.c: Fix a segmentation error

  * .travis.yml: Minor fix

  * .travis.yml: Update .travis.yml

  * .travis.yml: Update .travis.yml

  * .travis.yml: Update .travis.yml

  * .travis.yml: Update .travis.yml

  * .travis.yml: Fix travis build errors

  * .travis.yml: Add .travis.yml

  * converters/quant.h: Minor fix

  * configure, configure.ac: Bump version

  * configure: Update configure script

  * configure.ac, converters/img2sixel.c, converters/sixel2png.c: Fix broken
  build for non-win32 environment

2014-05-01  Hayaki Saito <user@zuse.jp>

  * config.h.in, configure, converters/Makefile.in: Rebuild configure script

  * converters/sixel2png.c: Fix build for some environment which have only
  _O_BINARY

  * configure.ac: Checks also _O_BINARY

  * Makefile.am, Makefile.in, converters/Makefile.am: Add new target winetest

  * converters/quant.c, converters/sixel2png.c: Get rid of utf8_t

  * converters/sixel2png.c: Improve error handling

  * converters/sixel2png.c: Support STDIN on windows console

  * converters/img2sixel.c, converters/sixel2png.c,
  converters/stb_image_write.h: Respect HAVE_O_BINARY, HAVE_SET_MODE,
  HAVE__SET_MODE

  * converters/img2sixel.c, converters/sixel2png.c: Respect HAVE_ERRNO_H

  * config.h.in, configure: Rebuild configure script

  * configure.ac: Check errno.h

  * configure.ac: Check O_BINARY definition

  * converters/Makefile.am, converters/Makefile.in, converters/sixel2png.c:
  Link malloc_stub.c with sixel2png

  * config.h.in, configure, configure.ac, converters/img2sixel.c: Don't use
  _O_BINARY to prevent build error

  * converters/img2sixel.c: Fix for reading STDIN of windows console

  * converters/img2sixel.c, converters/quant.c: Include malloc_stub.h

  * converters/Makefile.am, converters/Makefile.in: Add malloc_stub.c to
  target source files

  * converters/malloc_stub.c, converters/malloc_stub.h: Add malloc stub files

  * converters/img2sixel.c, converters/sixel2png.c: Implement
  rpl_malloc/rpl_realloc for mingw target

  * converters/img2sixel.c: Define STBI_HEADER_FILE_ONLY more explicitly

  * README.md, converters/img2sixel.c: Fix wrong english

2014-04-30  Hayaki Saito <user@zuse.jp>

  * configure, configure.ac: Initial package relase

  * configure, configure.ac, converters/Makefile.am, converters/Makefile.in:
  Update configure option

2014-04-28  Hayaki Saito <user@zuse.jp>

  * Makefile.in, config.h.in, configure, configure.ac, converters/Makefile.in,
  include/Makefile.in, src/Makefile.am, src/Makefile.in: Start to define ABI
  version

  * converters/Makefile.am, converters/Makefile.in: img2sixel, sixel2png: stop
  ambiguous link using LDADD instead of using -l and -L flags

2014-04-24  Hayaki Saito <user@zuse.jp>

  * configure: Rebuild ./configure

  * configure.ac: Update version

  * converters/img2sixel.c, src/tosixel.c: Implement 7bit/8bit mode

  * converters/img2sixel.c: Fix a typo (reported by @arakiken)

  * src/fromsixel.c, src/tosixel.c: Minor fix

  * src/tosixel.c: Minor fix

  * include/sixel.h, src/output.c: Add some compatibility options to
  LSOutputContext structure

  * converters/quant.c: Minor fix

  * configure: Rebuild

  * configure.ac: Bump version

  * include/sixel.h, src/tosixel.c: Add error handling, and change the
  signature of LibSixel_LSImageToSixel

  * src/tosixel.c: Style fix

  * src/tosixel.c: Drop unused function, GetColIdx

  * src/tosixel.c: Minor fix

  * configure, configure.ac, converters/quant.c, src/fromsixel.c, src/image.c,
  src/tosixel.c: Don't use stdint.h for old compilers

  * converters/img2sixel.c: Propagate the result of convert_to_sixel and
  return correct exit status code

2014-04-20  Hayaki Saito <user@zuse.jp>

  * converters/quant.c, converters/quant.h: Linting

2014-04-16  Hayaki Saito <user@zuse.jp>

  * README.md: Update document

2014-04-18  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.c: Experimental support for 1bpp PNG

2014-04-17  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Cleanup

2014-04-16  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Minor fix

  * converters/img2sixel.c: Print stbi_failure_reason when stbi_load failed

  * converters/img2sixel.c: Implement --diffusion option

  * converters/img2sixel.c: Free diffusion argument

  * converters/img2sixel.c: Update help string

  * converters/img2sixel.c: Change the signature of convert_to_sixel

  * converters/img2sixel.c: Add --diffusion option

  * converters/img2sixel.c: Minor fix

2014-04-14  Hayaki Saito <user@zuse.jp>

  * src/Makefile.am, src/Makefile.in: Fix a build error (sixel.h is missing,
  reported by @ttdoda).

  * configure: Rebuild

  * configure.ac: Update version

  * converters/Makefile.in, include/Makefile.in: Add missing build files

  * README.md, converters/img2sixel.c, converters/sixel2png.c: Update usage
  description

  * src/tosixel.c: Implement monochrome option

  * converters/quant.c: Fix a style issue

  * converters/img2sixel.c: Add monochrome option

  * converters/img2sixel.c: Use diffusion when -m option is enabled

  * config.h.in, configure, configure.ac, converters/img2sixel.c,
  converters/sixel2png.c: Support long options

2014-04-18  Hayaki Saito <user@zuse.jp>

  * converters/stb_image.c: Experimental support for 1bpp PNG

2014-04-17  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Cleanup

2014-04-16  Hayaki Saito <user@zuse.jp>

  * README.md: Update document

  * converters/img2sixel.c: Minor fix

  * converters/img2sixel.c: Print stbi_failure_reason when stbi_load failed

  * converters/img2sixel.c: Implement --diffusion option

  * converters/img2sixel.c: Free diffusion argument

  * converters/img2sixel.c: Update help string

  * converters/img2sixel.c: Change the signature of convert_to_sixel

  * converters/img2sixel.c: Add --diffusion option

  * converters/img2sixel.c: Minor fix

2014-04-14  Hayaki Saito <user@zuse.jp>

  * src/Makefile.am, src/Makefile.in: Fix a build error (sixel.h is missing,
  reported by @ttdoda).

  * configure: Rebuild

  * configure.ac: Update version

  * converters/Makefile.in, include/Makefile.in: Add missing build files

  * README.md, converters/img2sixel.c, converters/sixel2png.c: Update usage
  description

  * src/tosixel.c: Implement monochrome option

  * converters/quant.c: Fix a style issue

  * converters/img2sixel.c: Add monochrome option

  * converters/img2sixel.c: Use diffusion when -m option is enabled

  * config.h.in, configure, configure.ac, converters/img2sixel.c,
  converters/sixel2png.c: Support long options

2014-04-13  Hayaki Saito <user@zuse.jp>

  * converters/img2sixel.c: Enable diffusion with -m option

  * converters/img2sixel.c, converters/quant.c, converters/quant.h: Use
  Floyd-Steinberg diffusion method only if original colors is more than
  reduced colors

  * configure, configure.ac: Add new configure switch --disable-img2sixel
  --disable-sixel2png

  * converters/Makefile.am, include/Makefile.am: Add new Makefiles for
  separated directories

2014-04-10  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in, config.h.in, configure, configure.ac, {src =>
  converters}/img2sixel.c, {src => converters}/quant.c, {src =>
  converters}/quant.h, {src => converters}/sixel2png.c, {src =>
  converters}/stb_image.c, {src => converters}/stb_image_write.c, {src =>
  converters}/stb_image_write.h, src/Makefile.am, src/Makefile.in: Move source
  files of converter programs to new directory converters/

  * Makefile.am, Makefile.in, configure, configure.ac, {src =>
  include}/sixel.h, src/Makefile.am, src/Makefile.in: Move the include file
  sixel.h to separated directory

2014-04-09  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

2014-04-04  saitoha <user@zuse.jp>

  * src/img2sixel.c, src/stb_image_write.c: Use bcopy/bmove if memcpy/memmove
  is not availabe

  * config.h.in, configure: Update ./configure

  * configure.ac: Check memset availability in ./configure

2014-04-04  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

2014-04-02  Hayaki Saito <user@zuse.jp>

  * src/fromsixel.c, src/image.c, src/sixel.h: Remove uint8_t from public
  interface

  * src/sixel.h: Strip needless extern

  * configure: Rebuild ./configure

  * configure.ac: Update version

  * src/fromsixel.c, src/img2sixel.c, src/output.c, src/sixel.h,
  src/sixel2png.c, src/tosixel.c: Change interface signature of output.c

  * configure: Rebuild ./configure

  * configure.ac: Bump version

  * src/quant.c: Respect methodForLargest and methodForRep when choosing
  adaptive palette

  * src/quant.c: Respect methodForDiffuse when applying palette

  * src/img2sixel.c, src/quant.c, src/quant.h: Change interface signature of
  quant.c

  * Makefile.in, src/Makefile.in: Rebuild

  * src/Makefile.am: Makefile tweak

  * src/Makefile.am: Don't install stb_image_write.h to system include
  directory

  * Makefile.am: Makefile tweak

  * src/quant.c: Minor fix

  * src/quant.c: Fix a memory leak problem

  * src/quant.c: Redule malloc invokation

  * src/img2sixel.c: Fix a style issue

  * src/img2sixel.c: Fix a memory leak

  * src/img2sixel.c, src/quant.c: Include quant.h and change signatures
  exported from quant.c

  * src/quant.h: Add new header quant.h

  * src/quant.c: Fix style issues

  * src/img2sixel.c: Fix a memory leak when exiting

  * src/img2sixel.c: Initialize image object with proper parameter

  * src/image.c: Fix a memory leak when setting pixel to image object

  * src/image.c: Fix style

  * src/image.c: Minor fix around creating paletted image object

2014-04-01  Hayaki Saito <user@zuse.jp>

  * src/quant.c: Linting

2014-03-31  Hayaki Saito <user@zuse.jp>

  * src/image.c, src/quant.c, src/stb_image.c, src/stb_image_write.h: Strip
  trailing spaces

  * src/stb_image.c, src/stb_image_write.h: Change end of line style of some
  files, CRLF to LF

  * src/stb_image.c: Read and discard stdin data only when fseek failed

2014-03-30  Hayaki Saito <user@zuse.jp>

  * src/img2sixel.c: Free palette image

  * src/img2sixel.c: Add some statements that print error messages

  * src/stb_image.c: Apply the patch from arakiken which prevents to seek
  STDIN http://mlterm.sourceforge.net/libsixel-fixstb.patch

  * src/quant.c: Make it enable to skip dithering process

  * src/quant.c: Change the signature of the helper function for dithering

  * src/quant.c: Add new enum for selecting dithering method

  * src/quant.c: Minor fix for the process applying palette

  * src/quant.c: Add new function for dithering

  * src/quant.c: Minor fix for creating palette

  * src/quant.c: Minor fix around creating histgram

  * src/quant.c: Add new parameter for selecting method for detecting largest
  splitting dimention

  * src/quant.c: Import largestByLuminosity function from pnmcolormap.c

2014-03-29  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * src/quant.c: Minor fix for color mapping

  * src/quant.c: Fix a memory leak problem

  * src/tosixel.c: Comment out unused code which makes histgram

  * src/quant.c: Minor fix

  * src/tosixel.c: Disable palette number shuffling

  * src/quant.c: Change palette order

  * configure, configure.ac: Rebuild

  * Makefile.am, Makefile.in, config.h.in, configure, configure.ac,
  src/Makefile.am, src/Makefile.in: Update version

  * src/quant.c: Add a debug trace statement

  * src/quant.c: Fix a duplicated memory allocation bug

  * src/quant.c: Fix a stupid bug which causes illegal memory access

  * src/quant.c: Expand freqTotal function

  * src/quant.c: Fix for the case tupletable memory allocation failed

  * src/quant.c: Expand MIN/MAX macro

  * src/quant.c: Add pragma pack(1) for preventing memory corruption

  * Makefile.am, Makefile.in, config.h.in, configure, configure.ac,
  src/Makefile.am, src/Makefile.in, fromsixel.c => src/fromsixel.c, image.c =>
  src/image.c, img2sixel.c => src/img2sixel.c, output.c => src/output.c,
  quant.c => src/quant.c, sixel.h => src/sixel.h, sixel2png.c =>
  src/sixel2png.c, stb_image.c => src/stb_image.c, stb_image_write.c =>
  src/stb_image_write.c, stb_image_write.h => src/stb_image_write.h, tosixel.c
  => src/tosixel.c: Move source files to src directory

  * Makefile.am, Makefile.in, images/map8.png, quant.c: Minor fix

  * img2sixel.c: Strip debug code

  * README.md, quant.c: Update README

  * img2sixel.c: Minor fix

  * README.md: Update README

  * README.md, images/map16.png, images/map8.png: Add color map image files

  * fromsixel.c, img2sixel.c, quant.c: Tweak for applying palette

2014-03-28  Hayaki Saito <user@zuse.jp>

  * quant.c: Reduce sample pixels for creating histgram

  * quant.c: Improve the allocation method for creating histgram

  * quant.c: Minor fix

  * tosixel.c: Do palette definition after emitting header section

  * LICENSE.pnmquant => LICENSE.pnmcolormap: Rename a license file

  * LICENSE.sixel_original_version => LICENSE.sixel, {sixel_original_version
  => sixel_orig}/Makefile, {sixel_original_version => sixel_orig}/frompnm.c,
  {sixel_original_version => sixel_orig}/fromsixel.c, {sixel_original_version
  => sixel_orig}/main.c, {sixel_original_version => sixel_orig}/tosixel.c:
  Rename the directory of sixel original version

  * configure, configure.ac: Fix typo

2014-03-27  Hayaki Saito <user@zuse.jp>

  * configure: Minor fix

  * configure.ac: Minor fix

  * configure, configure.ac: Minor fix

  * configure, configure.ac: Minor fix

  * Makefile.in, aclocal.m4, config.guess, config.sub, configure,
  configure.ac, ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4,
  missing: Update timestamps of some files during running configure script

  * m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
  m4/lt~obsolete.m4: Add m4 directory again

2014-03-26  Hayaki Saito <user@zuse.jp>

  * config.guess, config.sub, install-sh, missing: Rebuild

  * configure.ac: AD LT_PREREQ

  * Makefile.in, aclocal.m4, configure, configure.ac, ltmain.sh: Recreate
  build files in automake-1.14/libtool-2.4 environment

  * Makefile.in, aclocal.m4, configure, configure.ac: Revert "Rebuild"  This
  reverts commit 7ade769de10cacf4600e3c8a210cde4e5e61502b.

  * m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
  m4/lt~obsolete.m4: Revert "Add m4 scripts"  This reverts commit
  5a5009899499b7dd18a978fb39b867f039b97947.

  * aclocal.m4, configure, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4,
  m4/ltversion.m4, m4/lt~obsolete.m4: Rebuild

  * Makefile.in, aclocal.m4, configure, configure.ac: Rebuild

  * m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
  m4/lt~obsolete.m4: Add m4 scripts

  * img2sixel.c: Add -m option (specify fixed palette)

  * fromsixel.c, quant.c: Linting

  * configure: Rebuild

  * Makefile.in: Rebuild Makefile.in

  * Makefile.am, Makefile.in, config.h.in, configure, configure.ac, image.c,
  img2sixel.c, quant.c, sixel2png.c, tosixel.c: Minor fix

2014-03-24  Hayaki Saito <user@zuse.jp>

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

  * README.md: Update README

  * aclocal.m4, configure: Rebuild

  * README.md: Update README

  * configure: Rebuild configure script

  * configure.ac: Update version

  * quant.c: Disable the debug trace function

  * LICENSE.pnmquant, README.md: Add license notice of pnmquant.c

  * img2sixel.c, quant.c: Imported mediancut algorithm implementation from
  pnmquant.c of netpbm

2014-03-23  Hayaki Saito <user@zuse.jp>

  * aclocal.m4, configure, configure.ac: Build fix for ubuntu jessy
  environment

  * sixel.h: Minor fix

  * README.md: Update README

  * images/egret.jpg, images/snake.jpg: Resize images

  * configure: Rebuild

  * configure.ac: Update version

  * README.md: Update README

  * img2sixel.c: Minor fix

  * tosixel.c: Separate color designation from color definition

  * tosixel.c: Minor fix

  * configure: Rebuild

  * configure.ac: Update version

  * image.c: Fix an off-by-one issue of fillrectangle implementation

  * fromsixel.c, tosixel.c: Linting

  * configure: Rebuild

  * configure.ac: Bump version

  * img2sixel.c, sixel.h, sixel2png.c, tosixel.c: Drop OutputContext::fn_puts

  * Makefile.am, Makefile.in: Update makefile

  * output.c: Add output.c

  * configure: Rebuild

  * configure.ac: Update version to 0.2.1

  * image.c, img2sixel.c, quant.c, sixel.h, sixel2png.c: Add license blocks

  * stb_image_write.c: Add stb_image_write.c

  * Makefile.am, Makefile.in: Update makefile

2014-03-22  Hayaki Saito <user@zuse.jp>

  * Makefile.am, Makefile.in: Build tweak

  * configure: Rebuild

  * configure.ac: Bump version

  * fromsixel.c, image.c, img2sixel.c, sixel.h, sixel2png.c, tosixel.c: Rename
  public symbols

  * LICENSE: Update LICENSE

  * .gitignore: Update gitignore

  * Makefile.am, Makefile.in: Add missing LD flag -lm

  * fromsixel.c, image.c, img2sixel.c, quant.c, sixel.h, sixel2png.c,
  tosixel.c: Add some modlines for editors

  * Makefile.am, Makefile.in: Add test target

  * Makefile.am: Add missing file Makefile.am

  * Makefile.in, aclocal.m4, compile, config.guess, config.h.in, config.sub,
  configure, configure.ac, depcomp, ltmain.sh, missing: Use automake

  * configure, configure.ac: Bump version

  * sixel.h, tosixel.c: Fix for the case putchar is implemented as macro

  * Makefile.in, img2sixel.c: Fix for cygwin environment

2014-03-22  saitoha <user@zuse.jp>

  * Makefile.in, fromsixel.c, image.c, img2sixel.c, quant.c, sixel.h,
  sixel2png.c, tosixel.c: Build fix for linux environment

2014-03-22  Hayaki Saito <user@zuse.jp>

  * sixel2png.c: Minor fix

  * Makefile.in, sixel2png.c: Implement -i and -o option for sixel2png

  * Makefile.in: update Makefile

  * fromsixel.c, image.c, quant.c, sixel.h, sixel2png.c, tosixel.c: Linting

  * Makefile.in: Update makefile to build sixel2png

  * fromsixel.c, image.c, img2sixel.c, sixel.h, sixel2png.c: Add sixel2png.c

  * fromsixel.c, sixel.h: Minor fix

  * fromsixel.c, image.c, img2sixel.c, sixel.h, tosixel.c: Linting

  * Makefile.in: Makefile tweak

2014-03-21  Hayaki Saito <user@zuse.jp>

  * Makefile.in: Add missing Makefile.in

  * install-sh: Add install-sh

  * README.md: Minor fix

  * README.md: Update README

  * README.md: Update README

  * Makefile, config.h.in, configure, configure.ac: Use autoconf

  * fromsixel.c, img2sixel.c, tosixel.c: use uint8_t insted of unsigned char

  * Makefile, fromsixel.c, image.c, sixel.h: Add image.c

  * .gitignore: Update gitignore

  * LICENSE.sixel_original_version, LICENSE.stb_image, LICENSE.stbi, Makefile,
  fromsixel.c, main.c => img2sixel.c, sixel.h, tosixel.c: Minor fix

  * LICENSE.images, images/egret.jpg, images/snake.jpg: Add test images

  * LICENSE.stbiw, stb_image_write.h: Add stb_image_write.h and license file

  * LICENSE, LICENSE.sixel_original_version, LICENSE.stb_image, tosixel.c: Add
  license files

  * Makefile, main.c, quant.c: Minor fix

  * sixel_original_version/Makefile, sixel_original_version/frompnm.c,
  sixel_original_version/fromsixel.c, sixel_original_version/main.c,
  sixel_original_version/tosixel.c: Add original version (2014-3-2) of sixel

  * Makefile, main.c: implement -p option

  * quant.c: Add quant.c

2014-03-20  Hayaki Saito <user@zuse.jp>

  * Makefile: Add makefile

  * main.c: Add main.c

  * tosixel.c: Minor fix

  * sixel.h: Minor fix

  * tosixel.c: Independent from GD

  * sixel.h: Add sixel.h

2014-03-19  Hayaki Saito <user@zuse.jp>

  * fromsixel.c: Drop sixel decoder

  * fromsixel.c, tosixel.c: Import sixel encoder/decoder written by kmiya
  http://nanno.dip.jp/softlib/man/rlogin/sixel.tar.gz

  * stb_image.c: Import stbi-1.33 from http://www.nothings.org/

2013-08-20  Hayaki Saito <user@zuse.jp>

  * .gitignore, LICENSE, README.md: Initial commit