summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: b1fd6a3035a66ef7951842a6aaebd4b55ac530e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2011-01-19  Linus Walleij <triad@df.lth.se>

	RETIRING THIS FILE! WE HAVE MIGRATED TO GIT WHICH
	PROVIDES EASY ACCESS TO THE CHANGELOG, LETS GET RID
	OF THIS ANCIENT CRUFT

2011-01-09  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 1.0.4
	* src/Makefile.am: bump interface to libmtp.so.8.3.4
	* Release libmtp 1.0.4

2010-12-07  Linus Walleij <triad@df.lth.se>

	* configure.ac: make sure the prober only compiles for
	  Linux.
	* src/ptp.c: update to match upstream.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.

2010-12-05  Linus Walleij <triad@df.lth.se>

	* utils/mtp-probe.c: enhanced to use libmtp intrinsics
	  and e.g. OS descriptor to probe new devices from
	  udev.
	* utils/mtp-hotplug.c: utilize mtp-probe.
	* src/libmtp.h.in: add new interface used by the mtp-probe
	  utility to probe a certain device in a certain bus.
	* src/libusb-glue.c: introduce new function to probe a
	  certain bus and device.
	* examples/Makefile.am: reform the way of making all
	  executable examples prefixed with "mtp-*" just set this
	  name in the make target!
	* configure.ac: drop the default "mtp-*" prefixing of all
	  programs, instead I have renamed the executables.
	* Makefile.am: install the mtp-probe script in the
	  libexecdir, and FORCE this to be /lib/udev.
	  We now also install the udev rules to
	  $libexecdir/rules.d, which is thus also forced to
	  be /lib/udev/rules.d.

2010-12-01  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: drop old udev style somewhat.
	* utils/: move out mtp-hotplug into its own subdir,
	  intend to put programs to probe devices here too.
	* utils/mtp-hotplug.c: moved the hotplug program here.
	* utils/check_mtp_device.sh: tentative script for
	  checking MTP devices.
	* utils/mtp-probe.c: C program intended to check if
	  devices are MTP.

2010-11-24  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: set the music player environment
	  variable for userspace programs watching udev output to
	  determine what device is plugged in.

2010-10-31  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: only reset the device if a connection
	  fails, then retry. We were resetting the device on every
	  close() - not good.

2010-10-17  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: Windows file open fixes from Jelle Geerts.
	* examples/sendfile.c: exit with 1 on error.
	* examples/*: condensed connect subprograms to a single
	  header and propagate error codes.

2010-09-18  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: NULL check on abstract lists, drop unused
	  folder variable.

2010-07-25  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: if the Ogg or FLAC filetypes have been
	  flagged as being stored as "unknown" and the device now
	  indicates it supports them: remove the flag.
	* src/libmtp.c: parse device extensions.
	* src/libmtp.h.in: stack up device extensions in the
	  device struct.

2010-06-19  Richard Low <richard@wentnet.com>

	* src/music-players.h: add Apple devices as supported by
	  PwnTunes

2010-05-23  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: don't probe HID equipment for device
	  descriptors, some Kensington mice don't like that and
	  there generally is not point either
	* src/Makefile.am: interface libmtp.so.8.3.3
	* configure.ac: libmtp 1.0.3
	* Release 1.0.3

2010-05-16  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: usb bus location fix for Mac and disable
	  usb_set_altinterface on Mac

2010-04-25  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream.
	* src/ptp.h: dito.
	* src/playlist-spl.c: fix an issue with Samsung playlists disappearing
	  since they were using a custom MTP type.
	* src/libmtp.c: moan about PTP devices without MTP extension

2010-04-05  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.

2010-02-01  Linus Walleij <triad@df.lth.se>

	* src/Makefile.am: interface libmtp.so.8.3.2
	* configure.ac: libmtp 1.0.2
	* Release 1.0.2.

2010-01-30  Linus Walleij <triad@df.lth.se>

	* examples/connect.c: bad prototype for sendtrack_.
	* examples/sentr.c: bad prototype.
	* src/ptp.c: sync to upstream.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.

2010-01-19  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: handle a root folder with a number of
	  0xffffffffU (-1), even if the spec says that 0x00000000
	  is the root folder. Add some warnings.
	* src/libmtp.c: patch from Kevin Hester to fix the erroneous
	  setting of genre or release date to NULL on some devices.
	* src/libusb-glue.c: patch to fix a bug in some multithread
	  contexts affecting e.g. Rhythmbox, also by Kevin Hester.
	* examples/Makefile.am: fix the bad prefixing that came in
	  as part of the Windows fixes. Keep $(EXEEXT).

2010-01-07  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: detect "My_Foo" default folders as well
	  as "My Foo" (underscore) as well.

2010-01-01  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: we use time_t so include <time.h>

2009-12-16  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: don't complain so much about the
	  response to command 2.

2009-11-30  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: bus detection fix for libusb -
	  bus->location was not properly initialized.

2009-10-10  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: move debugmacros to util.h
	* src/util.h: dito
	* libmtp.pc.in: erroneouse Libs.private, lacking ":"

2009-09-28  Nicolas VIVIEN <nicolas@vivien.fr>

	* examples/albumart.c : add d option, to enable or not debug
	  ouput.
	* examples/albums.c : dito.
	* examples/detect.c : dito.
	* src/libmtp.c : Add LIBMTP_Set_Debug function.
	* src/libmtp.h.in : Add LIBMTP_Set_Debug function to API.
	* src/libmtp.sym : Add LIBMTP_Set_Debug function to exported symbol.
	* src/libusb-glue.h : Add LIBMTP_USB_DEBUG / LIBMTP_DATA_DEBUG macros.
	* src/libusb-glue.c : Use previous macros inside of printf.
	* src/playlist-spl.c : Add LIBMTP_PLST_DEBUG macro.

2009-09-25  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: some more BlackBerry fixing from
	  Nicolas.
	* examples/albumart.c: add p and s switches, to support
	  storage and parent ID:s. (Nicolas)
	* examples/newplaylist.c: dito. (Nicolas)

2009-09-23  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: patch from Nyall Dawson to make all
	  filenames unique if the device requires this.
	* src/libusb-glue.h: dito.
	* src/device-flags.h: dito.
	* src/music-players.h: dito.

2009-09-23  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: several patches from Nicolas Vivien to
	  support the BlackBerry Storm.
	* src/device-flags.h: add special flag for the BlackBerry
	  "switch mode" command.
	* src/libusb-glue.h: dito.
	* src/music-players.h: tag the BlackBerry with this flag.

2009-09-21  Linus Walleij <triad@df.lth.se>

	* examples/sendtr.c: patch from Andrea Grillini to support
	  quiet mode operation.

2009-09-12  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: skip interfaces with != 3 endpoints
	  and make sure we locate 1 bulk in, 1 bulk out and 1 interrupt
	  endpoint on the interface, else SKIP IT. Based on a patch
	  from Nicolas Vivien <nicolas@vivien.fr>.

2009-09-12  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump version to libmtp 1.0.1 and release!
	* src/Makefile.am: bump soversion to libmtp.so.8.3.1

2009-09-11  Linus Walleij <triad@df.lth.se>

	* src/music-players.h: tag all SONY NWZ walkmen with
	  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST.

2009-08-27  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: modernize the album retrieveal functions
	  so they work just as nicely as the track/playlist etc
	  functions. Triggered by Nyalls excellent bug report that
	  showed how libmtp tried to get "composer" info for an
	  album eventhough the device didn't support it.

2009-08-27  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: bugfixes again...

2009-08-25  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: fix a bug where the metadata was cached
	  twice, thx to Marcus for the patch!

2009-08-23  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream
	* src/ptp.h: dito.
	* src/libmtp.c: patch from Thomas Schweitzer to not use
	  C++ reserved words like "private" and "new", this was
	  changed to "priv" and "newlist" making C++ happy.
	* src/libusb-glue.h: inclusion guard, export functions to
	  C++ (whoever wants to do that...)
	* src/libusb-glue.c: define USB_CLASS_PTP unless defined,
	  out-commented code to detect all PTP devices as MTP
	  devices as well.

2009-08-12  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: patch from Simon Berg to detect PTP
	  interface descriptors.
	* src/ptp.c: sync to upstream with correct MTP interface
	  detection in accordance with MTP spec.
	* src/ptp.h: dito.

2009-08-02  Linus Walleij <triad@df.lth.se>

	* configure.ac: tag for libmtp 1.0.0!
	* src/Makefile.am: bump to compatible API/ABI
	  result = libmtp.so.8.3.0
	* src/libmtp.c: missing flag fix from Marcus.

2009-07-24  Linus Walleij <triad@df.lth.se>

	* src/device-flags.h: add a flag for unknown FLAC type.
	* src/music-players.h: tag the Cowon iAudio S9 with this.
	* src/libmtp.c: implement unknown FLAC type.

2009-07-24  Linus Walleij <triad@df.lth.se>

	* src/music-players.h: a number of new devices.
	* src/ptp.c: sync to upstream.
	* src/ptp.h: sync to upstream.
	* src/ptp-pack.c: sync to upstream.

2009-06-24  Linus Walleij <triad@df.lth.se>

	* src/music-players.h: tag most all Samsung devices with
	  the UNLOAD_DRIVER flag. Broken GET_ALL info in all
	  Creative devices.

2009-06-20  Linus Walleij <triad@df.lth.se>

	* examples/pathutils.c: detect VCF files too.

2009-06-15  Marcus Meissner <meissner@suse.de>

	* configure.ac: use the AC_SYS_LARGEFILE macro instead
	  of the ugly largefile hacks.
	* src/libmtp.c: fix use of largefile back to the simple
	  functions instead.
	* examples/albumart.c: dito.
	* examples/sendfile.c: dito.
	* examples/sendtr.c: dito.
	* examples/thumb.c: dito.

2009-06-15  Linus Walleij <triad@df.lth.se>

	* configure.ac: some buildsystem updates.
	* INSTALL: some doc updates.

2009-06-15  Marcus Meissner <meissner@suse.de>

	* src/libmtp.c: synced to new libgphoto2 code.
	* src/device-flags.h: dito.
	* src/ptp.h: sync to upstream.
	* src/ptp.c: dito.
	* src/ptp-pack.c: dito.

	The handles, the PTPObjectInfo and the MTP proplists
	are now consolidated into "PTPObject"s.

	This and abstraction and the resulting helper functions
	allow implementation of easier dynamic operations like
	I need for libgphoto2.

	Some corner stones:

	- PTPParams now contains the device flags itself.
	  (from device-flags.h) This is needed due to
	  ptp_object_want() needing to decide whether it can call
	  GetObjPropList, and it makes it cleaner.

	  So the ptp-bugs and device-flags handling are unified.

	- PTPObjects are sorted by object handle. This allows binary
	  search by handle.

	- New generic helper functions.

	  * uint16_t ptp_object_find (PTPParams *params,
	    uint32_t handle, PTPObject **retob)
	    binary searches the handle in the object list and returns
	    a pointer to the object.

	  * uint16_t ptp_object_find_or_insert (PTPParams *params,
	    uint32_t handle, PTPObject **retob)
	    binary searches the handle in the object list, inserts it
	    if not there yet, and returns a pointer to the object.

	  * uint16_t ptp_object_want (PTPParams *params, uint32_t handle,
	    int want, PTPObject **retob)
	    The most magic function, which does the "on demand" loading
	    of objectinfos, mtp proplists (and more).
	    want is a flag mask of PTPOBJECT_*_LOADED
	    PTPOBJECT_OBJECTINFO_LOADED   clear
	    PTPOBJECT_CANONFLAGS_LOADED   (special canon flags)
	    PTPOBJECT_MTPPROPLIST_LOADED  mtp properties for this object
	                                  loaded
	    PTPOBJECT_DIRECTORY_LOADED    (only used by libgphoto2 currently)
	    PTPOBJECT_PARENTOBJECT_LOADED this and storageid are
	                                  interesting for directory based
	                                  lookups
	    PTPOBJECT_STORAGEID_LOADED    and can be filled out by directory
	                                  loading

	  * void ptp_objects_sort (PTPParams *params);
	    Sort the objects list if you did any modification of your own
	    on it and the order of object handles might not be linear
	    anymore.

	- Multiple object information loading strategies are possible.
	  libmtp uses getobjecthandles() /getobjectinfo() and
	  getobjectproplist() loading strategies for initial setup. This
	  stays of course, it will just fill out the PTPObject array.

	  libgphoto2 now uses a per-directory getobjecthandles() /
	  getobjectinfo() loading approach, and I will readd the
	  getobjectproplist() approach.

	  It is open what you chose to use here. For libmtp the "load all
	  handles at startup" is good, dynamic loading is better for
	  libgphoto2.

	  Only rule is: The objectlist must be in order of objecthandles!
	  (ptp_object_sort()).

2009-06-02  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: change the udev match rule from
	  ATTR{dev}!="?*" to ENV{MAJOR}!="?*" at the suggestion of
	  Alan Jenkins, this should be faster.
	* src/libusb-glue.c: include config.h (Marcus Meissner found
	  this is needed when you're not using iconv().)

2009-05-09  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: include <config.h> for iconv() compatibility.
	* src/unicode.c: dito. NOTE: this file needs fixing to work
	  without iconv!
	* src/ptp.h: sync to upstream and get all the embedded support
	  for FREE!
	* src/ptp.c: dito.
	* src/ptp-pack.c: dito.

2009-05-06  Linus Walleij <triad@df.lth.se>

	* src/ptp.h: sync to upstream.
	* src/ptp.c: dito.
	* src/ptp-pack.c: dito.

2009-05-06  Linus Walleij <triad@df.lth.se>

	A host of Windows fixes from
	Carlo Bramini <carlo_bramini@users.sourcefore.net>
	With this patch everything works fine with cygwin and
	Debian 5.0. Unfortunately, with MSys the "make install"
	still fails at the very last actions. It happens that
	everything is re-linked (strange, but not a big problem)
	and for some unknown reason it loops forever when executing
	"examples/hotplug > libmtp.usermap". But hopefully the
	simple "make" completes without errors.

	* configure.ac:
	  * iconv is now detected with autotools, this makes libmtp
	    linkable on cygwin too (previously it was not).
	  * the presence of Microsoft LIB.EXE is checked; if it is
	    absent then the MSVC libraries won't be generated.
	  * Added checking for some include files not available on
	    Windows: arpa/inet.h, byteswap.h, sys/uio.h.
	  * Check for presence of mkstemp: a replacement has been
	    written for Windows.
	* examples/Makefile.am: the creation of the links failed:
	  I added source path and $(EXEEXT) extension for executables.
	  This is tested and working with Mingw+MSys, Cygwin, Debian 5.0.
	* examples/albumart.c: include sys/uio.h only if it's available.
	* examples/trexist.c: u_int32_t does not exists, into almost all
	  other parts libmtp is using uint32_t so I fixed it in that
	  manner. (Same for u_int64_t/uint64_t).
	* examples/getfile.c: dito.
	* examples/pathutils.c: dito, plus rindex() does not exist under
	  Windows, we must user strrchr() instead.
	* examples/pathutils.h: fixes for prototypes changes made into
	  examples/pathutils.c
	* examples/thumb.c: include sys/uio.h only if it's available.
	* src/Makefile.am:
	  * Several fixes because the check on the presence of LIB.EXE
	    libmtp.sym is now prefixed by $(srcdir), this allows to
	    configure libmtp outside the source tree in Windows too.
	  * Libraries are put into LIBADD instead of LDFLAGS, this is the
	    right place.
	  * Previously the linker crashed because there was -ws2_32
	    instead of -lws2_32.
	* src/playlist-spl.c:
	  * include sys/uio.h only if it's available.
	  * include replacement for mkstemp() function.

2009-05-03  Richard Low <richard@wentnet.com>

	* src/libmtp.c: add external property types just like file
	  types so any property can be retrieved/set. Add function
	  LIBMTP_Is_Property_Supported to determine if a property is
	  supported for a given object type. Add function
	  LIBMTP_Get_Allowed_Property_Values to get alowed range/enum
	  of a property value. Make
	  LIBMTP_Get_Representative_Sample_Format get the size parameter
	  to allow us to determine the maximum size for a representative
	  sample.
	* src/libmtp.h.in: ditto
	* src/libusb-glue.c: update to check the handler function return
	  value so the handler can return PTP_ERROR_CANCEL to cancel the
	  transfer.

2009-05-02 Richard Low <richard@wentnet.com>

	* src/ptp-pack.c: add a NULL check

2009-04-18  Richard Low <richard@wentnet.com>

	* src/ptp-pack.c: add terminating NULL character

2009-04-11  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: Make get_playlist_extension return type
	  const char *
	* src/libusb-glue.h: ditto
	* src/libusb-glue.c: In probe_device_descriptor, check to see if
	  dev->config is NULL before going round the first loop
	* src/libmtp.c: Add LIBMTP_Get_File_To_Handler,
	  LIBMTP_Send_File_From_Handler, LIBMTP_Get_Track_To_Handler,
	  LIBMTP_Send_Track_From_Handler functions to get/send files/tracks
	  from/to handler functions. Add modificationdate to file and track
	  structs. Add LIBMTP_FILETYPE_ALBUM and LIBMTP_FILETYPE_PLAYLIST
	  filetypes.

2009-03-17  Linus Walleij <triad@df.lth.se>

	* src/device-flags.h: discovered a new device that cannot even
	  read out battery level but still claims to be able to. Sigh.
	* src/libusb-glue.h: flag macro.
	* src/music-players.h: flag the Slacker.
	* src/libmtp.c: avoid battery level getting on these devices.
	* configure.ac: preparing for 0.3.7.
	* src/Makefile.am: preparing for 0.3.7 (libmtp.so.8.2.2)
	* Release libmtp 0.3.7.

2009-03-08  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: refactored OGG extenstion check again, same
	  code in three places, broke it out and made it foolproof
	  (hopefully) in one single spot.

2009-03-04  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: patch from Marcus to fix an issue
	  with retransmit originally reported by Florent Pillet.

2009-02-21  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: some additional NULL checks from
	  Florent Pillet.

2009-02-18  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: error report from RedHat BZ
	  http://bugzilla.redhat.com/show_bug.cgi?id=485627
	  led to strange code for detecting anonymous OGG files
	  being rewritten to handle NULL filenames and filenames
	  that do not exceed 4 chars.

2009-01-30  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: store albums and playlists in the default
	  music folder if no default folder for albums resp.
	  playlists has been detected.

2009-01-22  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.3.6 and release.
	* src/Makefile.am: interface bump to libmtp.so.8.2.1

2009-01-16  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream.
	* src/ptp.h: dito.

2009-01-15  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: include fixes from Yuri Pankov for *BSD.
	* src/playlist-spl.c: dito.
	* examples/*.c: (more or less) dito.

2009-01-14  Linus Walleij <triad@df.lth.se>

	* src/device-flags.h: new device flag for broken
	  SendObjectPropList, as found broken in MEU202
	* src/music-players.h: use the new flag.
	* src/libmtp.c: implement this device flag.
	* src/libusb-glue.h: dito.

2009-01-10  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: mingw32 fixes from James Ravenscroft.
	* src/libmtp.c: dito. Replaced "rindex" with "strrchr"
	* src/Makefile.am: dito.
	* examples/albumart.c: dito.

2009-01-06  Linus Walleij <triad@df.lth.se>

	* src/Makefile.am: patch from Rafael Laboissiere removing a
	  build artifact in distclean.

2009-01-02  Linus Walleij <triad@df.lth.se>

	* examples/connect.c: usage patch from Riley Patterson.
	* examples/sendtr.c: dito. Plus only try to add track to an
	  album if and only if an album name was given.
	* examples/newfolder.c: real bad bug fixed, didn't even work
	  due to bad args check.
	* examples/sendfile.c: another bad bug...
	* examples/common.h: include <config.h> not "config.h"
	* src/unicode.h: no reason for this to include config.h!

2008-12-21  Linus Walleij <triad@df.lth.se>

	* Release libmtp 0.3.5.

2008-12-15  Nathan Bullock <nathanbullock@gmail.com>

	* src/libmtp.c: get folders to a flat list and we get O(n) searching
	  instead of the previous O(n^2) algorithm!

2008-12-13  Linus Walleij <triad@df.lth.se>

	* examples/detect.c: make mtp-detect dump out default-capabilities.xml
	  if such a file exists on the device.
	* m4/stdint.m4: update to newer macro from libgphoto2.
	* m4/byteorder.m4: update to newer macro from libgphoto2.
	  We find these here:
	  http://gphoto.svn.sourceforge.net/viewvc/gphoto/trunk/m4/
	* configure.ac: fix the renamed _stdint.h too.
	* Doxyfile.in: some config option got obsolete.
	* libmtp.c: start to use PTP error redirection to the libmtp error
	  stack. This also makes it possible to stop the annoying debug prints.
	* libusb-glue.c: dito.
	* ptp.c: sync to upstream.
	* ptp.h: sync to upstream.

2008-12-02  Linus Walleij <triad@df.lth.se>

	* examples/util.c: another NULL check.

2008-11-25  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: fix a bug on handling folder children with an illegal
	  ID of 0. Occurred in the ZEN Xi-Fi in the "Recordings" folder, when
	  that is created on the device.

2008-11-17  Alistair Boyle <alistair.js.boyle@gmail.com>

	* configure.ac: change release to 0.3.5.
	* libmtp.c: change metadata const*const to *const to allow playlist_id
	  to be modified by LIBMTP_Update_Playlist. (Samsung playlists)
	* libmtp.h.in: match libmtp.c

2008-11-11  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: allow for playlists with zero tracks on them,
	  also in update.

2008-11-09  Linus Walleij <triad@df.lth.se>

	* src/ptp.h: sync from upstream.
	* src/ptp.c: sync from upstream.
	* src/ptp-pack.c: sync from upstream.

2008-11-07  Linus Walleij <triad@df.lth.se>

	* Release libmtp 0.3.4.
	* configure.ac: let's release 0.3.4.
	* src/Makefile.am: compatible API and ABI.

2008-11-05  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: fix the association type problem on
	  LIBMTP_Create_Folder(). This causes folders not to
	  work properly on some devices!!

2008-11-01  Linus Walleij <triad@df.lth.se>

	* src/ptp.h: sync to upstream.
	* src/ptp.c: sync to upstream.
	* src/ptp-pack.c: introduce Richards bugfix on top of
	  upstream and take advantage of the ptp_debug() function.
	* src/libusb-glue.c: make ptp_debug() non-static since
	  ptp-pack.c needs it.

2008-10-21  Linus Walleij <triad@df.lth.se>

	* src/device-flags.h: actually the SanDisks cannot handle
	  PTP_OPC_DateModified at ALL, not even as part of the
	  initial update so rename the flag to something sensible.
	* src/music-players.h: consequental changes.
	* src/libmtp.c: disable all use of PTP_OPC_DateModified if
	  flag is set, not just updates.

2008-10-16  Linus Walleij <triad@df.lth.se>

	* src/device-flags.h: new flag for broken updates of
	  PTP_OPC_DateModified.
	* src/music-players.h: tag all SanDisk devices with this
	  flag. Bug appeared in them.
	* libmtp.c: avoid updating PTP_OPC_DateModified on broken
	  devices.

2008-09-28  Alvin <alvinbeach@gmail.com>

	* src/libmtp.c: fix several bugs in Ogg filetype support.

2008-09-26  Richard Low <richard@wentnet.com>

	* src/libmtp.c: check propdesc before setting props in
	  create_new_abstract_list()

2008-09-25  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.3.3.
	* src/Makefile.am: interface to .so.8.1.0
	* Release as 0.3.3.

2008-09-24  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: add new filename setting functions, patch
	  from Florent Mertens <flomertens@gmail.com>.
	* src/libmtp.c: implementation.
	* src/playlist-spl.c: consequental changes.
	* src/libmtp.sym: consequental changes.
	* Fixup patch from Alvin later this day.
	* Note to self: remember to bump soname to .so.8.1.0.

2008-09-23  Richard Low <richard@wentnet.com>

	* src/libmtp.c: check for NULL storage
	* src/libusb-glue.c: return PTP_RC_OK on zero read
	* src/music-players.h: give Samsung YP-10 DEVICE_FLAG_NO_ZERO_READS

2008-09-22  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: make sure we don't try to fit a new file onto
	  a ROM storage. Add some pretty-print to FourCC codecs so
	  you can actually understand the enumerations.

2008-09-20  Joe Nahmias <joe@nahmias.net>

	* examples/sendtr.c: added option to specify which
	  storage_id the track should be copied.

2008-09-20  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.3.2.
	* src/Makefile.am: bump to libmtp.so.8.0.2, compatible
	  interface.
	* Release this as 0.3.2 mainly to get the Creative fixes out.

2008-09-17  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: new helper macros from
	  Alvin <alvinbeach@gmail.com> plus some docs.

2008-09-12  Linus Walleij <triad@df.lth.se>

	* src/music-players.h: drop bug flags off the Creative devices.
	  I am confident that the bugs they were masking have been
	  fixed now.

2008-09-07  Richard Low <richard@wentnet.com>

	* src/music-players.h: added Panasonic P905i

2008-09-05  Marcus Meissner <meissner@suse.de>

	* src/libmtp.sym: update symbol export table.
	* src/Makefile.am: fix up some magic for symbol export.

2008-09-04  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: look up the filename for playlists if the name is
	  missing or not properly set. Not doing the same for albums -
	  these must have proper metadata.
	* src/music-players.h: more players as usual.
	* examples/sendtr.c: more warnings.

2008-08-31  Linus Walleij <triad@df.lth.se>

	* src/ptp.h: sync to upstream.
	* src/ptp.c: sync to upstream.

2008-08-30  Chris Bagwell <chris@cnpbagwell.com>

	* src/libusb-glue.c: make it possible to have per-command
	  or otherwise altered timeout values for different PTP
	  request/response sequences.
	* src/libusb-glue.h: dito.
	* src/libmtp.c: increase USB timeout to 30s when getting
	  a complete track listing off the device.
	* src/music-players.h: as a consequence, the Sirus Stiletto
	  no longer needs any brokenness flag.

2008-08-30  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream.

2008-08-28  Linus Walleij <triad@df.lth.se>

	* examples/sendtr.c: fix non-strdup():ed strings to be
	  copied, patch courtesy of Juanan Pereira.

2008-08-25  Linus Walleij <triad@df.lth.se>

	* src/Makefile.am: bump interface a patchlevel. (Fully
	  compatible.)
	* configure.ac: bump version to 0.3.1.
	* Release as libmtp 0.3.1.

2008-08-18  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: some vartype and return flunkies.
	* configure.ac: check for locale.h
	* examples/util.c: set locale to pick up environment.

2008-08-17  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: some handling of ptp_usb_getdata()
	  when passed in data size was 0xffffffffU, data
	  sent in first transaction was ignored, fix by
	  Rob Woolley.
	* src/ptp-pack.c: sync in from upstream libgphoto2.
	* src/README: move relevant stuff to README.
	* README: see above.

2008-08-15  Alistair Boyle <alistair.js.boyle@gmail.com>

	* src/playlist-spl.c: added handling of Samsung's
	  proprietary .spl playlist format.
	* src/playlist-spl.h: dito.
	* src/device-flags.h: new flags for Samsung playlists.
	* src/music-players.h: assign flags.
	* src/libusb-glue.h: convenience macros.
	* src/libmtp.c: integrate Samsung playlists.

2008-08-15  Linus Walleij <triad@df.lth.se>

	* examples/Makefile.am: break out utility functions
	  (currently only checklang()) to a separate file.
	* examples/util.h: dito.
	* examples/util.c: dito.
	* examples/detect.c: dito.
	* examples/sendtr.c: dito.
	* examples/connect.c: dito.

2008-08-14  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: add some documentation to file and track
	  listing functions to that it's clear that you have to
	  inspect storage_id and parent_id in order to group files
	  into storages and/or folders.

2008-07-31  Linus Walleij <triad@df.lth.se>

	* src/music-players.h: several new devices and flags.

2008-06-24  Linus Walleij <triad@df.lth.se>

	* TODO: updates.
	* src/Makefile.am: bump interface to libmtp.so.8.0.0.
	  It's NOT compatible!
	* RELEASE libmtp 0.3.0 and let the apps developers have
	  their apps fixed!

2008-06-22  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: removed the parenthandle argument from
	  LIBMTP_Send_File_From_File(),
	  LIBMTP_Send_File_From_File_Descriptor(),
	  LIBMTP_Send_Track_From_File(),
	  LIBMTP_Send_Track_From_File_Descriptor(),
	  LIBMTP_Create_New_Playlist() and
	  LIBMTP_Create_New_Album()
	  Now you must pass in parent ID from a metadata or
	  filedata set. Use the respective field of the
	  file, track, playlist or album struct to pass in
	  a parent handle when calling these functions from
	  now on. The bonus for changing your code is that you
	  can now also pass in a storage_id with any metadata
	  set! Consequently LIBMTP_Create_Folder() was
	  altered to accept THREE metadata arguments: name,
	  parent_id and storage_id. All calls to any of these
	  functions in any referring code need to be altered to
	  use this scheme. It should be quite self-evident for
	  most code and easy to perform.
	* src/libmtp.c: changed outlined above were implemented.
	* examples/newfolder.c: consequental changes.
	* examples/sendfile.c: consequental changes.
	* examples/sendtr.c: consequental changes.
	* examples/albumart.c: consequental changes.
	* examples/newplaylist.c: consequental changes.
	* examples/files.c: consequental changes.
	* examples/tracks.c: correct misleading strings.

2008-06-15  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: only look for default folders in the
	  root folder on the primary storage, even.

2008-06-14  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: only look for default folders in the
	  primary storage, and only try to put files there
	  if they are targetting the primary storage.

2008-06-08  Linus Walleij <triad@df.lth.se>

	* configure.ac: check for the langinfo.h header.
	* examples/connect.c: check charset properly.
	* examples/sendtr.c: dito.
	* src/music-players.h: new devices galore.

2008-06-03  Linus Walleij <triad@df.lth.se>

	* src/device-flags.h: new device flag for devices that
	  always need to have their device descriptor probed.
	* src/music-players.h: generously add this flag to all
	  SanDisk devices. The e280v2 and Fuze are known to be
	  especially problematic.
	* src/libusb-glue.h: helper macro.
	* src/libusb-glue.c: massage "OS Descriptor" on demand
	  when opening the device.
	* src/music-players.h: detailed info and flags for the
	  SanDisk Sansa players. More to be done, probably.

2008-06-02  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: refactor PTP_USB to use the raw
	  device and its contained deviceinfo to store and
	  retrieve the device flags. (This is starting to look
	  object oriented...)
	* src/libusb-glue.h: accessor functions to simplify
	  switching on the device flags and increase the code
	  readability.
	* src/libmtp.c: use the new accessor functions.

2008-06-01  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: use LIBMTP_Detect_Raw_Devices() and
	  LIBMTP_Open_Raw_Device() inside
	  LIBMTP_Get_First_Device() refactoring. Move
	  params creation into this file.
	* src/libusb-glue.c: move params creation away
	  from here.

2008-05-30  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: unused variable.
	* examples/detect.c: switch to using raw device
	  interface for opening devices.

2008-05-28  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: internally using the raw devices to
	  get a list of devices.
	* src/ptp.c: sync to upstream.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.
	* src/libmtp.h.in: move raw device detection to use
	  error codes. Add interface to open a raw device!
	* src/libusb-glue.h: make the old device list internal,
	  use raw device in interface for configuring USB.
	* src/libusb-glue.c: fix up error messages. Move the
	  raw device detection interface to use error codes.
	* examples/detect.c: fix up error messages. Use error
	  codes for raw devices.

2008-05-23  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: after sending a file, look up the
	  resulting file metadata from the cache to make sure
	  that parent_id is identical to that the file actually
	  gets on the device. If root folder (0) is selected, we
	  hardcode thing to 0xffffffffu to be used as parent,
	  but it will probably end up being 0 for example.
	  Also fix an issue with ptp_mtp_getobjectproplist()
	  sometimes returning a NULL pointer while still
	  claiming there are props in the list.
	* src/libusb-glue.h: add a function to get the preferred
	  playlist extension.
	* src/libusb-glue.c: "written" variable in
	  ptp_usb_sendreq() may end up uninitialized if
	  ptp_write_func() fails. Initialize it to 0.
	  Get the prefered playlist extension.

2008-05-18  Richard Low <richard@wentnet.com>

	* src/device-flags.h: added
	  DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS device flag
	* src/music-players.h: ditto. Also set Samsung YH-999 to
 	  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL based on users
	  experience.
	* src/libmtp.c: added
          DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS device flag

2008-05-05  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: assign device name and flags to
	  detected raw devices, slowly preparing to move to
	  using the raw device detection internally as well.

2008-05-04  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: move useful filetype macros here so
	  external programs can use them.
	* src/libmtp.c: consequental changes.
	* examples/sendtr.c: use the new macro to detect track
	  content.

2008-05-03  Johannes Huber <johub1180@gmx.at>

	* src/libmtp.h.in: add interface for setting album composer,
	  needed for classical albums, on abstract albums.
	* src/libmtp.c: implement it.
	* examples/albums.c: consequental changes.
	* examples/connect.c: dito.
	* examples/sendtr.c: dito.
	* examples/tracks.c: dito.
	* AUTHORS: new contributor.

2008-04-27  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: recognize audio files as tracks, since this
	  is what WMP does. (e.g. it sets playlength on movies
	  to enable skip bar) also define macros for audio/video/both
	  types and tidy up a bit.

2008-04-24  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: added preliminary interface for getting
	  raw devices.
	* src/libusb-glue.c: the implementation is all here!
	* src/libusb-glue.h: add some bus and device fields to the
	  internal device list.
	* examples/detect.c: exercise the raw device detection code.

2008-03-26  Linus Walleij <triad@df.lth.se>

	* examples/pathutils.c: fix a folder identification bug,
	  courtesy of Dr Nicholas Jacobs.

2008-03-12  Linus Walleij <triad@df.lth.se>

	* configure.ac: bad mailing list address. (Marcus) Bump to
	  version 0.3.0.
	* examples/hotplug.c: switch from using "info.bus" to
	  using "info.subsystem" to identify USB events. (Marcus).
	* src/libmtp.c: add parent_id to albums and playlists,
	  based on a patch by Ali Shah.
	* src/libmtp.h.in: dito.
	* examples/playlists.c: consequental changes.
	* examples/albums.c: consequental changes.
	* This will be a new major revision of the API/ABI no
	  matter what.

2008-03-08  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: left debug prints on :-(
	* configure.ac: set to 0.2.6.1
	* Release as 0.2.6.1

2008-03-02  Linus Walleij <triad@df.lth.se>

	* configure.ac: prepare 0.2.6 release.
	* src/Makefile.am: bump to compatible interface,
	* src/ptp.c: sync in upstream, a Sansa fix!
	* src/ptp.h: sync in upstream.
	* doc/Doxyfile.in: retire obsoleted parameters.
	* Release this as 0.2.6!

2008-02-24  Richard Low <richard@wentnet.com>

	* src/music-players.h: add DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL
	  for a broken Philips player.

2008-02-18  Linus Walleij <triad@df.lth.se>

	* examples/pathutils.c: fix up item ID typing to uint32_t,
	  handle file names passed in as arguments at suggestion from
	  anonymous mail list user.
	* examples/pathutils.h: move a function static.

2008-02-12  Nicolas Pennequin <nicolas.pennequin@free.fr>

	* examples/sendtr.c: add transferred tracks to albums if possible.

2008-02-10  Scott Snyder <snyder@fnal.gov>

	* src/libusb-glue.c: finally fix up the short header detection
	  to skip over zero packets when encountered.
	* examples/pathutils.c: fix a problem where all files sent has
	  to include a "." (period).

2008-02-06  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: wait for response > 0 instead of > 2.

2008-01-28  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: LIBMTP_Get_Filemetadata() return metadata for
	  folders (associations) too. There is really no reason why it
	  shouldn't and it's good for use internally.
	  LIBMTP_Get_Filelisting_With_Callback() will still not return
	  any associations however. We want to use the folder functions
	  for that.

2008-01-28  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: withdraw LIBMTP_Set_Object_Parent() function,
	  no known devices will support this.
	* src/libmtp.c: dito. Fix up some problems with the
	  LIBMTP_Set_Object_Filename() function.

2008-01-27  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: fix up some minor things and documentation on
	  the object handling functions.

2008-01-27  Florent Mertens <flomertens@gmail.com>

	* src/libmtp.h.in: new functions to rename object filenames
	  and change object parents. Good when modifying the device
	  as a file system, LIBMTP_Set_Object_Filename(),
	  LIBMTP_Set_Object_Parent().
	* src/libmtp.c: implementation.

2008-01-27  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: re-read response from device until
	  it atleast exceeds two bytes. This fixes a problem with
	  the Samsung YP-U3 when populated with many, many songs.

2008-01-21  Richard Low <richard@wentnet.com>

	* src/music-players.h: add Thomson Lyrca HC308A, remove
	  incorrect ID for Creative Zen 8GB

2008-01-20  Richard Low <richard@wentnet.com>

	* src/libmtp.c: add LIBMTP_Get_Representative_Sample()
	* src/libmtp.h.in: ditto

2008-01-14  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: add LIBMTP_Get_Manufacturername(). Remember
	  to bump soname (compatible) in 0.2.6 (or whatever we name it).
	  0.3.0 perhaps?
	* src/libmtp.h.in: dito.
	* src/libmtp.c: detect default folders named "Datacasts" and
	  "Texts".

2008-01-11  Linus Walleij <triad@df.lth.se>

	* examples/pathutils.c: recognize .bin files as firmware,
	  used by e.g. RockBox developers. Doesn't cost anything to
	  add.

2008-01-08  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.2.5.
	* src/Makefile.am: interface to libmtp.so.7.0.2
	  (compatible).
	* Release as libmtp 0.2.5. Why not?

2007-12-28  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: make libmtp use PTP_OPC_AlbumArtist on albums,
	  instead of the (seldom present) PTP_OPC_Artist tag. Use both
	  if both are supported. We're not setting AlbumArtist on regular
	  tracks though, what's the point, and what does it mean if this
	  differs from Artist??

2007-11-30  Linus Walleij <triad@df.lth.se>

	* src/music-players.h: new flag for the YP-T10.
	* src/device-flags.h: define the new flag, that is needed
	  to support Ogg files on these devices.
	* src/libmtp.c: recognize and report Ogg support, set type
	  to unknown when transferring.

2007-11-22  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.2.4.
	* src/Makefile.am: bump age of soversion (compatible).
	* RELEASE 0.2.4 mainly to get some new device support out there.

2007-11-09  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: avoid probing deeper into interfaces
	  that have a string describing them as "MTP" after a
	  suggested patch from Alexander Kanavin <ak@sensi.org>.
	* examples/albumart.c: patch from Chris Waters <xtifr@debian.org>
	  replacing calls to atoi() with calls to strtoul(). Since
	  object ID:s are unsigned long, atoi() would reject too
	  high object IDs. The patch also fix a few memory leaks.
	  THANKS DEBIAN! We love our downstream!
	* examples/newplaylist.c: dito.
	* examples/pathutils.c: dito.
	* examples/thumb.c: dito.

2007-11-05  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: use OPFF codes instead of DPFF codes,
	  we're dealing with objects, not device props.
	* src/ptp.c: silence some OPFF freeing warnings.

2007-11-02  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: try to repair header here instead of
	  ignoring error in ptp.c.
	* src/music-players.h: flag some more Creative devices as
	  broken getting all files.
	* src/Makefile.am: reference the 2 new .h files.

2007-10-31  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: bring cache handling into this file.
	* src/ptp.h: dito.
	* src/libmtp.c: consequential changes.

2007-10-30  Linus Walleij <triad@df.lth.se>

	* src/music-players.h: split this off as a shared file
	  between us and libgphoto2 so we get out of the syncing
	  nightmare.
	* src/device-flags.h: split out this as well, Marcus
	  might want it.
	* src/libusb-glue.c: consequential movement.
	* src/libmtp.c: reference new flag file.
	* src/ptp.c: sync in upstream.
	* src/ptp.h: dito.

2007-10-25  Linus Walleij <triad@df.lth.se>

	* Release 0.2.3. Nice bunch of cleaned-up code, sad we had
	  too bump soversion but such is life.

2007-10-23  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: make LIBMTP_Send_File_From_File_Descriptor()
	  survive the case where device->storage is NULL. This happens
	  on the Nokia 3110c.

2007-10-19  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: bring the cache handling code together at the
	  end of the file, refactor so as to avoid code duplication,
	  do things in one place only and looking good. Get folder
	  list recursively instead, this works better with fast dir
	  retrieveal I think.

2007-10-18  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: fix the deletion of cached properties when
	  removing objects. This code was seriously broken.

2007-10-16  Jeff Mitchell <kde-dev@emailgoeshere.com>

	* src/libusb-glue.c: remove the previously-concatenated vendor
	  and product string "name" field as it's now redundant
	* src/Makefile.am: interface to libmtp.so.7.0.0 (incompatible,
	  device_entry_struct members changed)
	* examples/hotplug.c: port to use vendor and product instead of
	  name, also some useful commenting in the fdi file

2007-10-15  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: repair headers, don't just ignore them.
	  Add support for broken set object proplist devices. Motorola
	  RAZR2 V8 has this problem.
	* src/libusb-glue.h: flag for broken set object proplist.
	* libmtp.c: avoid broken set object proplist.

2007-10-09  Jeff Mitchell <kde-dev@emailgoeshere.com>

	* src/libusb-glue.c: add separate vendor and product strings
	  in device entry structs
	* src/libmtp.h.in: update device entry structs to reflect this

2007-10-04  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: rm some pointless confusing defines
	  inherited from libgphoto2.
	* configure.ac: bump to 0.2.2
	* src/Makefile.am: interface to libmtp.so.6.0.2 (compatible)
	* Release as 0.2.2. Now is as good time as ever. Release
	  early and release often.

2007-10-03  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: tag the OLD Creative devices with
	  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL, after clear
	  indications that it was broken when retrieveing folders
	  on all those devices. The newer devices (those supporting
	  32bit object size) presumably does not have this limitation.

2007-10-02  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: devices which represented file size with a
	  32bit value (some Creative devices) would return a bananas
	  file size. Fixed it up by...
	* src/libmtp.h.in: recycling the uint8_t "interface"
	  field in the device struct as a holder of the object size
	  for the device. This will make the new library binary
	  compatible with version 0.2.1 since no-one should *ever*
	  dereference that value (which used to be the USB interface
	  number and is now the object size).
	* examples/files.c: display 64bit file sizes in hex correctly.

2007-09-29  Richard Low <richard@wentnet.com>

	* src/libmtp.c: avoid crash on failed connect

2007-09-28  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: introduce a new device flag for devices that
	  have broken PTP headers, first encountered on the Creative
	  ZEN 8GB.
	* src/libusb-glue.c: attempt to begin to work around the broken
	  PTP headers.

2007-09-25  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: add a new device flag for devices that don't
	  like it if you release the interface (or try to clear endpoints).
	* src/libusb-glue.c: dito, implement this flag, tag all SanDisk
	  Sansa devices with it except for the Linux-based Sansa Connect.

2007-09-23  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: updated some device flags, removed second
	  call to ptp_getdeviceinfo
	* src/libmtp.c: property cache fixes

2007-09-23  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: wrapped updating of playlists and albums into an
	  abstract function so we do it consistently. Added support for
	  tagging on modification date to files, tracks, playlists and
	  albums.

2007-09-21  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: flag the Samsung YH-820 with
	  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL after tests by Stephan
	  Fabel.

2007-09-18  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: stop the endpoint unhalting/unstalling when
	  closing the USB device. It was AYBABTU the Samsungs
	  (and others).

2007-09-17  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: silenced weirdo error message.

2007-09-16  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: cancellation working *as it should*
	* src/ptp.h: dito.
	* src/libusb-glue.c: dito.
	* src/libusb-glue.h: dito.
	* src/libmtp.c: dito.
	* src/libmtp.h.in: new error code for cancellation.

2007-09-16  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: only read descriptors for devices we
	  don't know since it breaks on some devices
	* src/libmtp.c: a couple of bugs fixed in metadata retreival

2007-09-15  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: get cancellation of xfers working.
	* src/libusb-glue.c: dito.
	* src/libusb-glue.h: dito.
	* src/libmtp.c: dito.

2007-09-14  Linus Walleij <triad@df.lth.se>

	* src/ptp.h: sync in upstream to get cancellation prototypes.
	* src/libusb-glue.c: first try to implement cancellation.
	* src/libmtp.c: dito. Bugfix to one of Marcus' realloc():s.

2007-09-12  Marcus Meissner <meissner@suse.de>

	* src/ptp-pack.c: sync to upstream, rewrote packing to use
	  a static array to be qsort():ed when reading in proplists.
	* src/ptp.c: reflect changes.
	* src/ptp.h: reflect changes.
	* src/libmtp.c: reflect changes.

2007-09-06  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: edit up into a udev ruleset that is
	  inexorably complicated but probably compatible with most
	  udev versions out there. Now please DON'T update udev
	  styles again!

2007-09-05  Richard Low <richard@wentnet.com>

	* src/libmtp.c: album fixups

2007-09-05  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: use old udev style by default, use new
	  if requested explicitly by a -U switch.

2007-09-04  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: make sure we query recursively supplying each
	  storage ID in turn, so we spin over storages. Also check
	  what storage may be available to store a file, if the first
	  one fails, try the next!

2007-09-01  Linus Walleij <triad@df.lth.se>

	* src/ptp-pack.c: make the resulting MTP proplist sorted by
	  object ID.
	* hotplug.sh.in: explicitly call BASH instead of just sh. Warn
	  if script is not run as root.

2007-08-29  Linus Walleij <triad@df.lth.se>

	* examples/Makefile.am: move include define from AM_CFLAGS to
	  AM_CPPFLAGS (as it should be) bug found by Petar Petrov
	  <pesho.petrov@gmail.com>.
	* src/libusb-glue.c: strange misleading message corrected. Fix
	  up the horrid interface passing back-and-forward and confusing.
	* src/libusb-glue.h: dito.
	* src/libmtp.c: rid interface references, that's a USB issue!
	* src/libmtp.h.in: flag interface number in device struct as retired.

2007-08-28  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: retire the horrid, broken, stream send facility that
	  does not work on any device since they all want to know the file
	  size in advance. Add in some code to fall back on the recursive
	  metadata retrieveal if getting the whole long list fails.
	* src/libusb-glue.c: tag all Sansas as having broken GetObjectPropList
	  when all tags for all objects are requested. Scan each INTERFACE
	  of the device for device descriptors.

2007-08-24  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: new device flag to strip all non-7bit chars from
	  filenames on some lame devices.
	* src/libusb-glue.c: tag the Philips Shoqbox with this flag.
	* src/libmtp.c: strip the non-7bit chars from filenames if that
	  flag is set.
	* src/unicode.h: introduce a 7bit-strip helper function.
	* src/unicode.c: dito.

2007-08-22  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: deal with setting of metadata sets for u16/u32:s that
	  are ranges or enums, rounding and twiddling if need be. This is
	  needed because some new devices (like the TrekStor Sweez,
	  has duration defined as a range: MIN 0, MAX 65535000, STEP 1
	  and Sandisk Sansa c240 has duration as range: MIN 0, MAX 2147483000,
	  STEP 1000) whereas old devices would just accept any value.

2007-08-16  Richard Low <richard@wentnet.com>

	* src/ptp-pack.c: allow packing of NULL strings

2007-08-15  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/libmtp.c: return device max values for representative
	  samples.

2007-08-15  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: added Philips Shoqbox

2007-08-13  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream.

2007-08-07  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.2.1.
	* src/Makefile.am: interface to libmtp.so.6.0.1.
	* Release libmtp 0.2.1!

2007-08-06  Linus Walleij <triad@df.lth.se>

	* configure.ac: tag on the large file support compilation flag.
	* src/libmtp.c: smack up the data file transfer function so it
	  works again and *finally* should support 64bit sizes!
	  Then wrapped the track sending function around the file
	  sending function so there is no more pointless code duplication
	  giving rise to ever more bugs. Enable LFS, Large File Support so
	  we can handle 64bit files properly.
	* examples/sendtr.c: shape up print-outs, LFS support.
	* examples/sendfile.c: dito.

2007-08-06  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: fixed a stray error print bug.
	* src/libmtp.c: overhaul of all proplist setting to follow the same
	  design pattern. Probably fixed a few opd memory leaks along the road.

2007-08-05  Richard Low <richard@wentnet.com>

	* src/libmtp.c: send 64 bit filesize

2007-08-04  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: fix up the 64bit filesize and tracksize support.
	  There were some bugs...
	* src/Makefile.am: tweak interface revision so that we produce
	  libmtp.so.6 now.
	* configure.ac: bump library revision to 0.2.0.
	* examples/hotplug.c: switch to use ATTR{} instead of SYSFS{}
	* Release libmtp 0.2.0!

2007-08-04  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: add Sansa m240 (a different ID to before)
	  Give the Toshiba Gigabeat S
	  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL.

2007-08-03  Marcus Meissner <meissner@suse.de>

	* m4/byteorder.m4: byteorder fixes.

2007-07-30  Richard Low <richard@wentnet.com>

	* src/ptp-pack.c: fix up array packing

2007-07-30  Linus Walleij <triad@df.lth.se>

	* src/ptp-pack.c: try to get a uniform 64 bit
	  support, use some old macro code.

2007-07-29  Richard Low <richard@wentnet.com>

	* src/libmtp.c: 64 bit filesize support for tracks
	* src/ptp-pack.c: ditto
	* src/ptp.h: ditto

2007-07-27  Richard Low <richard@wentnet.com>

	* src/libmtp.c: Some better NULL checks

2007-07-27  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: changed subsystem from "usb_device"
	  to "usb". Presumably a change in the kernel some time ago.

2007-07-21  Richard Low <richard@wentnet.com>

	* src/libmtp.c: Correctly bail out of LIBMTP_Get_Storage

2007-07-17  Linus Walleij <triad@df.lth.se>

	* examples/reset.c: Add a device reset program.
	* src/libmtp.c: Add reset command.
	* src/ptp.c: dito, and sync in upstream changes.
	* src/ptp.h: dito, and sync in upstream changes.
	* src/ptp-pack.c: sync in upstream changes.

2007-07-17  Richard Low <richard@wentnet.com>

	* src/libmtp.c: Added some more (paranoid) NULL checks

2007-07-14  Richard Low <richard@wentnet.com>

	* src/libmtp.c: Add a NULL check

2007-07-13  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: add Disney MixMax

2007-07-11  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: put in Tero's name in the preamble.
	* src/libusb-glue.c: make the dump function sump out the zuper zecret
	  devize dezcriptorz in clear text hex.

2007-07-10  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: force HAL OGG support on iriver devices.
	  They all have it! Also force for two other devices that does
	  this.

2007-07-07  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: new flag for the case when getting the object
	  property list of all metadata for all objects is broken.
	* src/libusb-glue.c: tentatively tag a Philips device with this flag.
	* src/libmtp.c: fixed usage of returned pointers from realloc(),
	  introduce new flag.

2007-07-05  Tero Saarni <tero.saarni@gmail.com>

	* src/libmtp.c: update cache when manipulating objects instead of
	  always flushing the whole cache.

2007-07-03  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: use the params->proplist metadata cache. Help
	  rid all flush_handles() you can in order to add even more to
	  the efficiency of the cache.

2007-07-01  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream gPhoto source.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.
	* src/libmtp.c: use the params->objectinfo object info cache to
	  speed things up considerably. This is exactly what libgphoto2
	  does so now we move closer to upstream. I believe this also
	  fixes quite a few memory leaks because we weren't freeing the
	  strings inside the objectinfo previously.

2007-05-29  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: use the set object prop list command to set album
	  props if available. Follow metadata set design pattern used for
	  tracks; check first if the object type can set name/artist/genre.

2007-05-24  Jeff Mitchell <kde-dev@emailgoeshere.com>

	* hotplug.sh.in: Properly install the HAL FDI rules if
	  the user so chooses to when prompted.

2007-05-24  Jeff Mitchell <kde-dev@emailgoeshere.com>

	* examples/hotplug.c: Fix/update HAL output to conform
	  to new specs. Fix whitespacing to be consistent.

2007-05-17  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: added Samsung YH-920

2007-05-11  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: output a usb.ids map if need be.
	* sync-usbids.sh: script to assist in comparing our device
	  database to the linux-usb database so we can submit new
	  entries to it more easily. Please extend this until it
	  creates automated diff:s if you can!

2007-05-10  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: some new devices, some rewording etc.

2007-05-05  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: removed the DUALMODE flag, it's pointless and
	  equal to the problem solved by the UNLOAD_DRIVER flag.
	* src/libusb-glue.c: dito, move the only DUALMODE flag into an
	  UNLOAD_DRIVER flag. Added Archos Gmini.

2007-05-05  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: added Philips PSA610
	* src/libmtp.c: code to recursively get object handles for each
	  assoc.
	* src/ptp.h: ditto

2007-04-28  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: new device

2007-04-26  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: memory leak: dangling, unused pointer killed.

2007-04-23  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: extend LIBMTP_album_t to include fields for
	  artist and genre. This is sort of required so we must change
	  the API to have it working properly.
	* src/libmtp.c: dito. Reflect changes in implementation.

2007-04-18  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream gPhoto source.
	* src/ptp.h: dito.

2007-04-17  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: new device

2007-04-13  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: new devices

2007-04-12  Linus Walleij <triad@df.lth.se>

	* examples/hotplug.c: fix GOTO style in udev map.

2007-04-02  Linus Walleij <triad@df.lth.se>

	* examples/files.c: some WIN32 64bit prefix fixup.
	* examples/tracks.c: dito.

2007-03-28  Ted Bullock <tbullock@canada.com>

	* examples/*.c: Print library version number on execution of examples.
	* src/libmtp.h.in: New version number string to aid version echoing.

2007-03-26  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump version to 0.1.5, release 0.1.5!
	* src/Makefile.am: bump lib interface revision to libmtp.so.5.2.1,
	  backwards compatible to libmtp.so.5.

2007-03-24  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: fixed bug in zero read code

2007-03-23  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: refactored MTP property list handling code to make
	  things simple. Removed the flag for MTP enhanced: there are devices
	  that will not work without MTP enhanced (for example the Samsung
	  YP-K5 will only support setting object property lists, not
	  individual object properties, leaving out parts of the MTP basic
	  subset), thus we are allowed to reverse-engineer and implement this
	  for interoperability. I also made the output from
	  LIBMTP_Dump_Device_Info() considerably more verbose, plotting out
	  the ranges and possible enumerated values of all object properties
	  For example you can see that the secret values associated with
	  Audible.com property 0xda01 is an enumerated value that can be
	  2, 3 or 4 (etc).

2007-03-22  Richard Low <richard@wentnet.com>

	* src/ptp.c: PTP_OC_MTP_SetObjPropList implementation
	* src/ptp.h: ditto
	* src/libmtp.c: Use PTP_OC_MTP_SetObjPropList when updating track
	  metadata.

2007-03-18  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: new devices. Some of the Samsung players may
	  need DEVICE_FLAG_NO_ZERO_READS to be set - I only know the YP-K5
	  needs it.

2007-03-16  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: introducing yet another device flag for the
	  irivers bugged firmwares, this is for the Alzheimer disease that
	  cause irivers to forget that OGG files are OGG files.
	* src/libmtp.c: dito.
	* src/libusb-glue.c: introduce this flag for all iriver devices.
	* examples/pathutils.c: found a (small) bug.

2007-03-12  Linus Walleij <triad@df.lth.se>

	* Makefile.am: cleanup patch from Rafael Laboissiere.
	* src/libusb-glue.c: refactored device detection code to
	  immediately test if the device is in the known devices list if it
	  does not feature a MTP device descriptor. This fixes the problem
	  of not being able to mix devices with proper descriptors and
	  non-detected devices.

2007-03-07  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: remove libgphoto2 functions that we
	  don't use.
	* src/libusb-glue.h: export the free_mtpdevice_list() function,
	  new signature of find_usb_devices().
	* src/libmtp.c: shrink code, pass as list of devices instead of
	  several huge arrays between libmtp.c and USB glue layer in
	  libusb-glue.c using the nifty list struct defined in libusb-glue.h.
	* Eventually release libmtp 0.1.4.

2007-03-06  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: rewrote one more function to be
	  non-recursive, perhaps I found the remaining bug, just
	  cannot see that right now, will test tomorrow.

2007-03-05  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: rewrite recursive function to linear.
	* src/libusb-glue.h: create a wrapper type for the
	  device list instead of abusing the libusb device "next"
	  field in our code.
	* src/libusb-glue.c: rewrite all recursive functions to
	  linear, use wrapper objects, don't copy the libusb device
	  struct, instead just store a pointer to it. This magically
	  solved a bug...

2007-03-04  Linus Walleij <triad@df.lth.se>

	* src/Makefile.am: bump library interface to libmtp.so.5.2.0
	  backwards compatible with any libmtp.so.5 interface, for
	  imminent libmtp 0.1.4 release.

2007-03-03  Ted Bullock  <tbullock@canada.com>

	* src/libusb-glue.c: Don't echo warnings about reading a single
	  extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
	  been set
	* src/libmtp.c: New API function to retrieve the number of devices
	  in a list of connected devices
	* src/libmtp.h: New API function to retrieve the number of devices
	  in a list of connected devices
	* examples/detect.c: Use new API function to count number of devices
	  that were detected

2007-03-03  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: Tiresome ramblings to explain exactly what
	  the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
	  means.
	* src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
	  and being impressed by our ability to iron out the root cause
	  of this kinda weird thing... Fix a few compile warnings.

2007-03-03  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
	  get object prop lists for Clix since it appears to work.
	* src/libusb-glue.h: ditto
	* src/ptp.h: ditto

2007-02-28  Linus Walleij <triad@df.lth.se>

	* src/ptp.h: Upstream accepted our patch so synced it in.

2007-02-27  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: Synced in upstream version which removes the
	  offending line.
	* src/libmtp.c: replaces strcmp() for strcasecmp() in folder
	  detection since Windows and some devices (such as iRivers)
	  ignore case and user capital letters for default folders.

2007-02-22  Ted Bullock  <tbullock@canada.com>

	* src/ptp.c: Comment out line in ptp_exit_fd_handler that was
	  closing a file descriptor.  This is not the responsibility of
	  the PTP Layer. Defect and solution found by Rob Reardon

2007-02-26  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
	  in the LIBMTP_Update_Track_Metadata() function, there are
	  obviously devices that do not support this, but only
	  PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
	  but we haven't implemented that yet. Problems are
	  atleast reported correctly now.

2007-02-24  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: Fix incorrect transfer sizes causing zero
	  write issues

2007-02-23  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: Undeprecate getting first device code.

2007-02-23  Richard Low <richard@wentnet.com>

	* src/libmtp.c: Fix crash when no devices connected

2007-02-23  Ted Bullock  <tbullock@canada.com>

	* examples/detect.c: Stub out probe functionality
	* src/libusb-glue.c: Remove old uni-device cruft code
	* src/libusb-glue.h: Remove old uni-device cruft code
	* Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
		LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project

2007-02-22  Ted Bullock  <tbullock@canada.com>

	* examples/albums.c: Updated to use new multi device code
	* examples/tracks.c: Updated to use new multi device code
	* examples/files.c: Updated to use new multi device code

2007-02-18  Ted Bullock  <tbullock@canada.com>

	* src/libmtp.c: Altered the function LIBMTP_Get_First_Device
	  to wrap around the multi device API. Also added deprecation
	  warnings to avoid using this function

2007-02-17  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: Debug output fixes and read/write sizes changed
	* src/libmtp.c: memset params to 0 to avoid freeing unalloced
	  memory
	* src/ptp.h: read/write sizes changed

2007-02-15  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/libmtp.c: Fix a segfault in new error handling code.

2007-02-15  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: Adding some sanity checks to error stack code.
	* examples/newplaylist.c: LGPL boilerplate, crediting Robert.
	* examples/playlists.c: LGPL boilerplate.
	* examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
	* examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
	  Shaun, Enrique.
	* examples/thumb.c: LGPL boilerplate, crediting Robert.
	* examples/tracks.c: LGPL boilerplate.
	* examples/trexist.c: LGPL boilerplate, crediting noone.

2007-02-15  Ted Bullock  <tbullock@canada.com>

	* examples/folders.c: Updated to use new multi device code
	* src/libmtp.c: Fixed potential memory leaks
	* src/libusb-glue.c: Fixed potential memory leaks and fixed device
	  release segfault for multiple devices

2007-02-14  Ted Bullock  <tbullock@canada.com>

	* src/libusb-glue.c: Wrote three new recursive functions to avoid
	  extreme levels of multiple indirection and to clean the code up
	  a bit for multiple devices.
	* examples/detect.c: Adjusted function calls to use new multiple
	  device code.
	* src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List

2007-02-12  Ted Bullock  <tbullock@canada.com>

	* src/libmtp.c: Two new functions (create_usb_mtp_devices and
	  LIBMTP_Get_Connected_Devices) to add support for multiple devices
	  to client applications
	* src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
	  accessible function
	*libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
	*libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices

2007-02-09  Ted Bullock  <tbullock@canada.com>

	* src/libusb-glue.c: Addressed a number of potential memory leaks in
	  the new multiple device code

2007-02-05  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: LGPL boilerplate.
	* src/libusb-glue.h: LGPL boilerplate.
	* src/unicode.h: LGPL boilerplate.
	* src/util.h: LGPL boilerplate.
	* examples/albumart.c: LGPL boilerplate, crediting Andy.
	* examples/pathutils.h: LGPL boilerplate, crediting Chris.
	* examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
	* examples/common.h: LGPL boilerplate.
	* examples/albums.c: LGPL boilerplate, crediting Chris.
	* examples/connect.c: LGPL boilerplate, crediting Chris.
	* examples/delfile.c: LGPL boilerplate, crediting me and Chris.
	* examples/detect.c: LGPL boilerplate.
	* examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
	* examples/files.c: LGPL boilerplate.
	* examples/folders.c: LGPL boilerplate.
	* examples/format.c: LGPL boilerplate.
	* examples/getfile.c: LGPL boilerplate, crediting me and Chris.
	* examples/getplaylist.c: LGPL boilerplate.
	* examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
	* examples/newfolder.c: LGPL boilerplate, crediting me and Chris.

2007-02-02  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync upstream.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.
	* src/libmtp.c: make changes necessary to handle
	  the new iconv(3) code in ptp-pack.c. People will have to
	  use recent stdlibc, glibc or libiconv. Also call new memory
	  clean-up functions. Fix LGPL boilerplate text.
	* src/unicode.c: Fix LGPL boilerplate text.
	* src/utils.c: Fix LGPL boilerplate text.
	* src/libusb-glue.c: Fix LGPL boilerplate text.

2007-01-24  Ted Bullock <tbullock@canada.com>

	* src/libusb-glue.c: new function to retrieve multiple device
	  instances.
	* src/libusb-glue.h: dito.
	* src/libmtp.h.in: new error codes.

2007-01-22  Linus Walleij <triad@df.lth.se>

	* examples/albumart.c: use the new errostack.
	* examples/delfile.c: dito.
	* examples/detect.c: dito.
	* examples/emptyfolders.c: dito.
	* examples/format.c: dito.
	* examples/getfile.c: dito.
	* examples/getplaylist.c: dito.
	* examples/newfolder.c: dito.
	* examples/newplaylist.c: dito.
	* examples/playlists.c: dito.
	* examples/sendfile.c: dito.
	* examples/sendtr.c: dito.
	* examples/thumb.c: dito.
	* src/libmtp.c: add some errors to the stack so we can
	  see how it's to be used. (Just a first try...)
	* src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
	  function into this file cause it only return USB devices
	  anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
	  (but let's not do that renaming since it would break the API).
	  For now let's understand this is a USB-only function by
	  simply putting it in the libusb-glue.c file.

2007-01-22  Ted Bullock <tbullock@canada.com>

	* src/libusb-glue.c: first hack at creating an interface
	  to retrieve multiple devices.
	* src/libmtp.h.in: new error codes related to multiple devices.

2007-01-21  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: more new devices

2007-01-20  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: error stack handling like in libnjb.
	  just bare bones implementation as of now but the idea
	  should be clearly visible. TODO: add a plethora of
	  errors and adjust examples to make use of the error
	  stack.
	* src/libmtp.c: dito.

2007-01-20  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: new device 'Philips PSA235'

2007-01-16  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump and release 0.1.3.
	* src/Makefile.am: bump interface REVISION. Nothing changed
	  externally really.

2007-01-11  Linus Walleij <triad@df.lth.se>

	* src/libmtp.sym: updated symbol table for mingw32 but does
	  anyone use this? Also I believe one could auto-generate
	  this some way, just haven't figured out how... Perhaps with
	  a funky script that massage libmtp.h if nothing else.

2007-01-11  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: a zero read fix
	* src/libmtp.c: fix spelling mistake

2007-01-09  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: repair callbacks, structure the code just
	  a little bit.
	* src/libmtp.c: don't assign values to writes or reads, use the
	  PTP transport intrinsics instead.

2007-01-07  Orson Teodoro <orsonteodoro@yahoo.com>

	* src/ptp.h: Encoding profile.
	* src/ptp.c: Dito.

2006-01-07  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: (re)introduce de-halting of endpoints
	  as this is needed by VMWare emulation. Must check whether
	  this causes problems for other archs! Problem was reported
	  by Orson Teodoro under i686 Gentoo, with a suggested patch.

2006-01-07  Marcus Meissner <meissner@suse.de>

	* src/ptp.c: sync to upstream libgphoto2.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.
	* libusb-glue.c: fixes to move low-level functions
	  out of ptp.c and into this libmtp-specific portion.
	  libgphoto2 has been similarly altered to use a usb.c
	  file for the low-level stuff. (This was a long needed
	  split anyway.)

2007-01-03  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: fix zero write bug
	* src/ptp.c: ditto

2007-01-02  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: fix up comments, remove things
	  refering to stuff we don't have.

2007-01-02  Richard Low <richard@wentnet.com>

	* src/libmtp.c: another try at split headers/packet sizes
	* src/ptp.c: ditto
	* src/libusb-glue.c: ditto

2007-01-01  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: move default setting of split headers
	  off to ptp.c open session.
	* src/ptp.c: dito.

2007-01-01  Richard Low <richard@wentnet.com>

	* src/libmtp.c: split headers/packet size fix
	* src/ptp.c: ditto
	* src/ptp.h: ditto
	* src/libusb-glue.c: ditto

2007-01-01  Orson Teodoro <orsonteodoro@yahoo.com>

	* src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
	  addition of AAVT error codes.
	* src/ptp.c: changes to reflect modifications done in ptp.h

2006-12-31  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.1.2.
	* src/Makefile.am: bump interface revision. (Compatible.)
	* RELEASE 0.1.2.

2006-12-30  Linus Walleij <triad@df.lth.se>

	* examples/pathutils.c: reflect new filetypes.
	* examples/sendtr.c: dito.

2006-12-30  Orson Teodoro <orsonteodoro@yahoo.com>

	* src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
	  codes. added more format object codes flac, m4a, 3gp, aac,
          xml, xls, ppt, etc.  0x9101-0x910B identfiers are infixed
	  with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
	  Added more device property codes.
	  Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
        * src/ptp.c: added changes to reflect new extensions, object
	  codes, device property codes.
	* src/libmtp.c: modified mp4 to reflect it is a container format
	  not a codec.  Added more descriptions in init_filemap(). mp4
          container format is ambiguous in
	  LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
	  mp4 searched in video by default.  Added comments about this.
          Added support for the new format object types.
	* src/libmtp.h.in: added constants to reflect changes to
          init_filemap().

2006-12-30  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: fixed bug in debug printing

2006-12-29  Richard Low <richard@wentnet.com>

	* src/libmtp.c: Made abstract list creation to be more
	  WMP like
	* src/libusb-glue.c: added Philips GoGear SA9200
	* src/ptp-pack.c: fixed packing bug in ptp_pack_OI

2006-12-29  Marcus Meissner <meissner@suse.de>

	* src/ptp.h: API changes for libgphoto2 to use the file
	  retrieveal functions.
	* src/ptp.c: dito.
	* src/libusb-glue.c: changes in libmtp reflecting the new
	  API for libgphoto2.

2006-12-28  Linus Walleij <triad@df.lth.se>

	* configure.ac: making older autotools happy. Bump to 0.1.1.
	* src/Makefile.am: bump interface for release, also autotools.
	* RELEASE libmtp 0.1.1.

2006-12-19  Matthew Wilcox <matthew@wil.cx>

	* src/ptp.c: fix a (serious) short file bug.

2006-12-17  Richard Low <richard@wentnet.com>

	* src/libmtp.c: don't bail out on failures when setting
	  metadata.

2006-12-16  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: sync to upstream.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.

2006-12-15  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: make the format function take a storage as
	  parameter. Add comments to device storage.
	* src/libmtp.c: dito, fix up some code and docs.
	* examples/format.c: make the format command comply with
	  the new API.

2006-12-14  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: make get_first_storage_freespace() always query
	  the first storage when the space is requested. And some other
	  janitorial stuff.

2006-12-13  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: one more device.
	* examples/detect.c: compilation warnings fixed.

2006-12-13  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/ptp.c: add 0xD901 flag as BuyNow property of objects.
	* src/ptp.h: ditto.

2006-12-12  Daniel Williams <danielw@iinet.net.au>

	* src/libmtp.h.in: revamped storage API.
	* src/libmtp.c: dito.
	* examples/detect.c: dito.

2006-12-12  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/libmtp.c: Send_Representative_Sample() updated to
	  set image height and width, or audio duration and size.

2006-12-07  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: support firmware object type. (Dangerous.)
	* src/libmtp.c: dito.

2006-12-07  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: default text folder detection (used in Samsung
	  Yepp T9) also add a few "My Foo" folder strings, remove the
	  "remaining directories" kludge.
	* src/libmtp.h.in: default text folder.

2006-12-06  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: extend the respresentative sample API a bit.
	* src/libmtp.c: dito.
	* examples/albumart.c: free memory after use.
	* examples/thumb.c: dito.
	* RELEASE this as libmtp 0.1.0!

2006-12-04  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: enable split headers on sending object lists again.

2006-12-04  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/libmtp.c: abstract Send_Representative_Sample() so
	  it can send samples for any format that supports it
	* src/libmtp.h.in: same as above
	* examples/albumart.c: altered to use new abstract function above
	* example/thumb.c: sample program to upload thumbnails
	* example/Makefile.am: add sample thumbnail program

2006-12-03  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: check space on disk before sending
	  tracks or files.
	* src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
	  into LIBMTP_Send_Representative_Sample().
	* src/libmtp.c: dito.
	* examples/albumart.c: dito.

2006-12-02  Marcus Meissner <meissner@suse.de>

	* examples/Makefile.am: make sure symlinks really end
	  up in the correct dir.

2006-11-30  Linus Walleij <triad@df.lth.se>

	* src/ptp.c: make Matthews patch thread-safe and fix it
	  so it will handle more than one surplus packet.
	* src/ptp.h: dito.

2006-11-30  Richard Low <richard@wentent.com>

	* src/libmtp.c: memset PTPObjectInfo structs to 0

2006-11-30  Matthew Wilcox <matthew@wil.cx>

	* src/ptp.c: on some devices, surplus packet data is
	  sometimes returned during read, i.e. a header of the
	  next package is typically attacked to the incoming
	  data, as if someone was sending several packets at
	  once. If this happens we buffer the surplus packet.
	* src/libusb-glue.c: revert my own mistakes by making
	  them Windows-only.

2006-11-30  Linus Walleij <triad@df.lth.se>

	* configure.ac: this *is* gonna be libmtp 0.1.0!
	* src/Makefile.am: age interface to 4-0-0 to indicate that
	  intefaces have been removed.
	* src/libmtp.h.in: removed external object interface.
	* src/libmtp.c: dito. Made all object manipulation functions
	  static.

2006-11-29  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: added new devices

2006-11-29  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: remove some pointless #include <>
	  clutter, call usb_set_configuration() as needed by
	  Windows.
	* src/libmtp.c: various fixups to enable use of Windows
	  <io.h> include file.
	* README.windows.txt: added a quick porting guide for
	  MSVC by Farooq Zaman.

2006-11-28  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: removed filetype mapping API. We can handle
	  everything inside of libmtp now so no need for this.
	* src/libmtp.c: dito.

2006-11-27  Linus Walleij <triad@df.lth.se>

	* examples/files.c: unsigned int sized printout.
	* examples/tracks.c: sort of the same.
	* Makefile.am: HAL style map output by default.

2006-11-26  Richard Low <richard@wentnet.com>

	* src/libmtp.c: object handles for proplists
	* src/ptp-pack.c: ditto
	* src/ptp.c: ditto
	* src/ptp.h: ditto

2006-11-25  Marcus Meissner <marcus@jet.franken.de>

	* examples/hotplug.c: adding HAL style XML output for
	  the devices.
	* examples/Makefile.am: fixing a bug in the automake
	  file (pathutils.h missing!)
	* Makefile.am: fix the problem with re-making sources
	  (you had to run ./autogen.sh before!)

2006-11-23  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: add a new bug flag for devices that
	  have broken PTP_OC_MTP_GetObjPropList implementations.
	* src/libusb-glue.c: state that all iRivers have this problem.
	* src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
	  for these devices.

2006-11-21  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/libmtp.c: set handle ids for new objects to 0 when
	  creating new albums and playlists.

2006-11-21  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: enabled enhanced mode for metadata retrieval
	  by default.
	* src/libmtp.c: fixed the problem with sending files using
	  enhanced commands.

2006-11-20  Linus Walleij <triad@df.lth.se>

	* src/ptp.h: sync to upstream libgphoto2
	* src/ptp.c: dito.
	* src/ptp-pack.c: dito.
	* src/libmtp.c: check for zerolength files/tracks.

2006-11-20  Andy Kelk <andy@mopoke.co.uk>

	* src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
	* src/libmtp.c: get "parent_id" property when reading tracks.
	* examples/emptyfolders.c: new example program for pruning empty
	  folders. (does a dummy run by default).

2006-11-19  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/libmtp.c: use enhanced MTP commands to create playlists and
	  send files
	* examples/newplaylist.c: demo program for creating new playlists
	* examples/Makefile.am: add demo newplaylists program

2006-11-19  Daniel Williams <danielw@iinet.net.au>

	* src/libusb-glue.c: fix error on reconnect.

2006-11-18  Richard Low <richard@wentnet.com>

	* src/ptp.c: tidy up ptp_usb_getdata

2006-11-17  Richard Low <richard@wentnet.com>

	* src/libmtp.c: fixed parent handle for uploaded tracks

2006-11-17  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/libmtp.c: fixed up album art using enhanced commands.

2006-11-16  Richard Low <richard@wentnet.com>

	* src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
	* src/ptp.c: ditto
	* src/ptp.h: ditto
	* src/ptp-pack.c: ditto

2006-11-16  Robert Reardon <rreardon@monkshatch.vispa.com>

	* src/libmtp.c: use enhanced MTP commands to create albums and
	  add detection of the default album folder.
	* src/libmtp.h.in: add a holder for album default folder.

2006-11-15  Richard Low <richard@wentnet.com>

	* src/ptp-pack.c: set string buffer to correct size.

2006-11-14  Richard Low <richard@wentnet.com>

	* examples/tracks.c: really use undeprecated API entry.

2006-11-13  Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
	  and LIBMTP_Get_Filelisting_With_Callback()
	* src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
	  and LIBMTP_Get_Filelisting()
	* examples/tracks.c: use undeprecated API entry.
	* examples/connect.c: ditto.
	* examples/detect.c: ditto.
	* examples/files.c: ditto.
	* src/ptp.c: working on getting object prop lists.
	* src/ptp.h: dito.

2006-11-12  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: added Zen Vision W to devices

2006-11-07  Richard Low <richard@wentnet.com>

	* src/libmtp.c: added checks for supported properties

2006-11-06  Richard Low <richard@wentnet.com>

	* src/libmtp.c: added a check for NULL filenames in
	  LIBMTP_Get_Folder_List.

2006-11-01  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: set/get uint8 to/from objects
	* src/libmtp.c: send object property list.
	* src/ptp.c: dito.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.

2006-10-29  Andy Kelk <andy@mopoke.co.uk>

	* examples/albumart.c: simple tool for adding album art.
	* src/libmtp.c: graceful handling of players not supporting
	  abstract album objects.

2006-10-27  Linus Walleij <triad@df.lth.se>

	* src/Makefile.am: bump library interface to reflect the new
	  album methods.
	* configure.ac: bump to 0.0.22 for the next release.

2006-10-27  Andy Kelk <andy@mopoke.co.uk>

	* src/libmtp.c: add support form abstract audio/video albums.
	* src/libmtp.h.in: dito.

2006-10-23  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: retire opcode rendering (moved to ptp.c)
	* src/ptp.c: sync to upstream.
	* src/ptp.h: dito.
	* src/ptp-pack.c: dito.

2006-10-20  Linus Walleij <triad@df.lth.se>

	* Release 0.0.21 to get all the new device support out.

2006-10-16  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.0.21.
	* src/libusb-glue.c: add code to unload a kernel driver for
	  the primary interface if it is already in use under Linux.
	* src/libusb-glue.h: add a device flag to make this possible.

2006-10-11  Linus Walleij <triad@df.lth.se>

	* examples/delfile.c: patch from Chris Debenham
	  straingtening out the command-line interface a bit
	  more.

2006-10-10  Linus Walleij <triad@df.lth.se>

	* examples/delfile.c: patch from Chris Debenham to make
	  this command take an optional filename as parameter
	  instead of file ID.

2006-09-26  Linus Walleij <triad@df.lth.se>

	* libmtp.pc.in: require libusb instead of just linking it.
	* configure.ac: bump release to 0.0.20 and release.

2006-09-25  Linus Walleij <triad@df.lth.se>

	* examples/evolution-sync.sh: example script to illustrate
	  to to transfer calendar, task and contact information
	  to a device supporting this.

2006-09-19  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: fixed attribute IDs to be 16bit.
	* src/libmtp.c: dito.
	* examples/sendfile.c: support vcard3.

2006-09-16  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.0.19 and release. There are some
	  new devices as well.
	* src/unicode.c: retire unused code.

2006-09-13  Linus Walleij <triad@df.lth.se>

	* examples/format.c: formatting test program.
	* examples.Makefile.am: added format.

2006-09-13  Andy Kelk <andy@mopoke.co.uk>

	* src/libmtp.h.in: added interface to format storage.
	* src/libmtp.c: dito.
	* src/ptp.c: dito.
	* src/ptp.h: dito.

2006-09-12  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump release. Released 0.0.18 yesterday.
	* src/libmtp.c: do not try to read battery max level unless
	  the device supports it. (Bug occurred on Toshiba Gigabeat
	  P10.)

2006-09-11  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: messed around a bit with device descriptor
	  detection so as to bring closer to libgphoto2 detection algorithm.
	  I've seen things that might be false positives, possibly USB mass
	  storage devices with additional MSFT descriptors to indicate they
	  have Janus DRM.
	* src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
	  knows that UCS-2 is in machine endianness but Darwin and *BSD does
	  not. Detect C library and switch accordingly.
	* src/unicode.c: retire old unicode code only keep things we cannot
	  live without. Remove the own internal UCS-2 conversion engine and
	  the internal iconv() engine and use the one already available in
	  PTPParams.
	* src/unicode.h: dito.

2006-09-07  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.h: added device flags so we can make
	  the code behave differently on certain devices.
	* src/libusb-glue.c: dito, plus removed some debug prints.
	* src/libmtp.c: docs.
	* src/libmtp.h.in: added device_flags to device list struct.
	* src/Makefile.am: bumped to compatible library interface.
	* configure.ac: bump version to 0.0.18 (0.0.17 released
	  yesterday).

2006-09-06  Richard Low <richard@wentnet.com>

	* src/libusb-glue.c: changed packet sizes to improve
	  transfer speeds.
	* src/libmtp.c: changed packet sizes to improve transfer
	  transfer speeds. Also stopped extra ptp_getobjectinfo
	  calls when getting directories on connect.

2006-09-06  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: fixed some endpoint size detection
	  and sending special file sizes stuff. Real hairy bug...
	  Also messed around a bit with the callbacks.
	* src/libmtp.c: changes for callback size detection.

2006-09-04  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
	  instead of magic values.

2006-09-02  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: add some code to have
	  LIBMTP_Send_File_From_File_Descriptor() accept a stream
	  if size is set to (uint64_t) -1, plus documentation fixes.
	  I don't think the streaming code will work but whoever want
	  to experiment with it has a place to start.
	* examples/refactortest.c: removed. Who uses this?

2006-08-30  Linus Walleij <triad@df.lth.se>

	* configure.ac: version bump.
	* src/libmtp.c: more debug prints.
	* src/libusb-glue.c: new iRiver device called Clix. By
	  the way I released libmtp 0.0.16 yesterday.

2006-08-28  Linus Walleij <triad@df.lth.se>

	* configure.ac: version bump.
	* src/ptp-pack.c: upstream has committed my patch giving full
	  unicode support in libgphoto2 ptp2 camlib. No need for
	  any more ugly workarounds, plus we now have full unicode
	  filenames!
	* src/ptp.c: dito.
	* src/ptp.h: dito.
	* src/libmtp.c: revamp to use the new unicode support in
	  libgphoto2.
	* src/unicode.c: remove unused functionality.
	* src/unicode.h: dito.

2006-08-27  Linus Walleij <triad@df.lth.se>

	* configure.ac: version bump. Release all these fixes
	  as 0.0.15.
	* src/libusb-glue.c: fixed sucky errors. Added callback
	  code when reading files.
	* src/libusb-glue.h: const correctness.
	* src/libmtp.h.in: finally fixup the type on the callbacks.
	* src/libmtp.c: more accurate sending callbacks. Callbacks
	  when getting files also, working correctly. Typeing of
	  callbacks now OK.
	* examples/getfile.c: some display bar cosmetic fixup.
	* TODO: lots of the things todo are now done.

2006-08-26  Linus Walleij <triad@df.lth.se>

	* configure.ac: version bump.
	* src/libmtp.c: fix bug and reinstate callbacks.
	* src/libusb-glue.h: dito.
	* src/libusb-glue.c: dito.

2006-08-25  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: use the new file descriptor sender function.
	  Going to release this as 0.0.13.
	* src/ptp.c: upstream accepted patches synced in.
	* src/ptp.h: dito.

2006-08-22  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: found a real nasty endpoint bug,
	  code from libgphoto2 was assuming max packet size of
	  512 bytes while it is 64 when a USB 2.0 device is
	  plugged into an UHCI hub.

2006-08-22  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.0.13, also released 0.0.12 now.

2006-08-21  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: fixup mmap() usage and add madvise()
	  as result of experiments by Gavin McCullagh. Upstream
	  accept patch to get files directly to file descriptor.
	  Move iconv() converters into device struct for thread
	  safety.
	* src/ptp.c: sync to upstream which merges patch to get
	  file directly to file descriptor.
	* src/ptp.h: dito.
	* src/unicode.c: move iconv() converters into the device
	  struct for thread safety.
	* src/unicode.h: dito.

2006-08-20  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: set friendly name and sync partner,
	  rename ownername to friendlyname.
	* src/libmtp.c: dito.
	* examples/detect.c: reflect changes.
	* src/Makefile.am: interface is incompatible so age it.

2006-08-19  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: add function to get synchronization
	  partner for the device.
	* src/libmtp.c: dito.
	* examples/detect.c: use that function.
	* src/Makefile.am: backward-compatible interface bump.

2006-08-17  Linus Walleij <triad@df.lth.se>

	* configure.ac: bump to 0.0.12 and require iconv.h.

2006-08-16  Linus Walleij <triad@df.lth.se>

	* src/unicode.c: remove bigendian weirdness and switch
	  to using iconv() instead.
	* src/unicode.h: dito.
	* src/libmtp.c: reflect changes.

2006-08-09  Linus Walleij <triad@df.lth.se>

	* Release libmtp 0.0.11.

2006-08-04  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: patch from Dan Aloni to make sendfile
	  use mmap and avoid memory drainage.
	* src/libusb-glue.c: patch from Andy Kelk to avoid
	  exit():ing when the interface cannot be claimed.
	* configure.ac: version bump.

2006-07-27  Linus Walleij <triad@df.lth.se>

	* Release libmtp 0.0.10.

2006-07-26  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: new SanDisk devices.
	* src/libmtp.c: only set metdata properties supported by
	  the device, duh.
	* src/ptp.c: sync to upstream.
	* src/ptp.h: sync to upstream.
	* configure.ac: bump to 0.0.10.

2006-06-22  Linus Walleij <triad@df.lth.se>

	* Release libmtp 0.0.9.

2006-06-21  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: added function to retrieve supported
	  filetypes.
	* src/libmtp.c: ditto.
	* examples/detect.c: use that function.

2006-06-19  Linus Walleij <triad@df.lth.se>

	* src/unicode.c: support all endianness, detect
	  byte-order-mark
	* src/unicode.h: ditto.
	* src/libmtp.c: ditto.
	* examples/detect.c: use proper tempfile function.
	* src/libmtp.h.in: add some more track properties.
	* src/libmtp.c: ditto.
	* examples/tracks.c: ditto.

2006-06-16  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: new interfaces for single metadata post
	  retrieveal.
	* src/libmtp.c: ditto.
	* examples/playlists.c: display track info using the new
	  individual track metadata retrieveal method.
	* examples/getplaylist.c: ditto.

2006-06-13  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: added default folders to device struct.
	  Add some new function prototypes.
	* src/libmtp.c: discover and use the default folders if
	  we can find them. Retrieve device secure time and cert
	  out of sheer curiosity.
	* src/ptp.c: sync to libgphoto2 with my patches.
	* src/ptp.h: ditto.

2006-06-07  Linus Walleij <triad@df.lth.se>

	* src/libmtp.h.in: new playlist API and refactorings.
	* src/libmtp.c: ditto, and refactorings.
	* src/unicode.h: const correctness.
	* src/unicode.c: ditto.
	* examples/playlists.c: new example program.
	* configure.ac: bump to 0.0.9
	* src/Makefile.am: bump library interface.

2006-06-05  Linus Walleij <triad@df.lth.se>

	* examples/sendtr.c: fixed annoying bug that made this
	  program totally useless.
	* src/libmtp.c: cosmetics.
	* configure.ac: bump to 0.0.8.

2006-06-03  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: metadata bugs, album name and genre
	  confused. Fixe it and released libmtp 0.0.7.

2006-06-01  Linus Walleij <triad@df.lth.se>

	* Released libmtp 0.0.6.

2006-05-31  Linus Walleij <triad@df.lth.se>

	* src/libmtp.c: fixed mapping for JPEG vs JFIF
	* src/libmtp.h.in: added proper type for JPEG
	* examples/sendfile.c: send proper JPEG type

2006-05-30  Flavien Lebarbe <flavien+libmtp@lebarbe.net>

	* src/libmtp.c: fixed a bug in update metadata due to
	  bad use of return code.
	* src/libusb-glue.c: fixed a loop exiting problem with
	  good 'ol GOTO.

2006-05-29  Linus Walleij <triad@df.lth.se>

	* src/libusb-glue.c: one more device.
	* doc/examples.h: produce correct documentation.
	* configure.ac: bump to 0.0.6.
	* src/ptp.c: sync to libgphoto2.
	* src/ptp.h: ditto.
	* src/ptp-pack.c: ditto.
	* src/libmtp.c: fixed all filetype API related functions
	  not to use any PTP intrinsic defines at all, made all
	  parameters to functions use the internal libmtp interface
	  enumerations and definitions. Removed LIBMTP_Release():
	  we can live with the memory lost during init. You're not
	  supposed to re-initialize the device. Consequently removed
	  the delete function that cleaned the filetype assoc list.
	* examples/refactortest.c: reflect changes.

2006-05-26  Dave Kelly <libmtp@ravelox.co.uk>

	* src/libmtp.c: refactored object handling to be more generic
	* src/libmtp.h.in: ditto
	* examples/refactortest.c: Added simple example to use refactoring
	* examples/getplaylist.c: Added example to extract playlist data
	* src/ptp.c: Re-added ptp_get/set_objectreferences to allow
	  for playlist handling
	* src/ptp.h: ditto

2006-05-08  Linus Walleij  <triad@df.lth.se>

	* src/libmtp.h.in: add simple detection function.
	* src/libusb-glue.c: implement MTP "OS descriptor" for
	  looking for MTP devices.
	* examples/detect.c: make it possible to do very
	  rudimentary detection with "detect -p".
	* configure.ac: bump to 0.0.5.

2006-05-07  Linus Walleij  <triad@df.lth.se>

	* COPYING: since we no longer use any parts of libptp2
	  and only files from libgphoto2, we switch to the GNU
	  Lesser General Public License (GNU LGPL). libptp2 is
	  a derived work from libgphoto2, and so is libmtp, there
	  are no remnants of libptp2 in libmtp anymore.

2006-05-04  Linus Walleij  <triad@df.lth.se>

	* examples/sendfile.c: fixes some more filetypes.
	* src/libmtp.c: respectfully rearranged to use a filetype mapping
	  table.
	* src/ptp-pack.c: real nasty unicode packing bug.
	* Release libmtp 0.0.4.

2006-05-02  Linus Walleij  <triad@df.lth.se>

	* src/libmtp.c: general shaping up for release. All track
	  and file sending functions now respects a parent ID to be
	  sent along with files and tracks.
	* src/libmtp.h.in: dito.
	* src/libusb-glue.c: dito.
	* examples/sendfile.c: interface dependency changes.
	* examples/sendtr.c: dito.

2006-04-30  Linus Walleij  <triad@df.lth.se>

	* src/ptp.c: sync upstream.
	* src/ptp.h: dito.

2006-04-27  Linus Walleij  <triad@df.lth.se>

	* examples/sendfile.c: first file sender program based
	  on API implementation and changes by Chris Allegretta.
	* examples/Makefile.am: new program, new entry.
	* src/libmtp.c: reflect this new functionality.
	* src/libmtp.h.in: dito.

2006-04-25  Linus Walleij  <triad@df.lth.se>

	* Rebased the sources around libgphoto2 instead.
	  This was a major revision...
	* src/ptp.c: imported libgphoto2 version verbatim.
	* src/ptp.h: imported libgphoto2 version, minor patch.
	* src/ptp-pack.c: imported libgphoto2 version, minor patch.
	* src/ptp-pack.h: dropped, libgphoto2 does not use it.
	* src/mtp.c: dropped, since all functions are now in ptp.c
	* src/mtp-pack.c: dropped, same reason.
	* src/mtp.h: dropped, same reason.
	* src/mtp-pack.h: dropped, same reason.

2006-04-21  Linus Walleij  <triad@df.lth.se>

	* Released libmtp 0.0.3
	* Bumped source to 0.0.4

2006-04-21  Linus Walleij  <triad@df.lth.se>

	* src/ptp-pack.c: GCC 4.x compilation patch from
	  Diego Pettenò.
	* src/libusb-glue.c: New Samsung device and some
	  from libgphoto2.
	* src/ptp.h: some defines from libgphoto2 to get
	  a bit more compatible.
	* src/libmtp.c: Added a folder API implementation by
	  Dave "ravelox" Kelly.
	* src/libmtp.h.in: dito.
	* examples/folders.c: dito.
	* examples/newfolder.c: dito.
	* examples/trexist.c: dito.

2006-03-28  Linus Walleij  <triad@df.lth.se>

	* m4/*: updated macros to work with GCC 4.1.0.
	* examples/hotplug.c: new program to create device
	  ID lists.
	* libmtp.rules: now an auto-generated file.
	* libmtp.usermap: now an auto-generated file.

2006-03-24  Linus Walleij  <triad@df.lth.se>

	* Beginning a file API, fixed some example program
	  names and such.

2006-03-18  Linus Walleij  <triad@df.lth.se>

	* Fixed up callback interface to a simpler version,
	  the old one was bloated stuff from libnjb anyway.
	  Bump to 0.0.2.

2006-03-16  Linus Walleij  <triad@df.lth.se>

	* Fixed the .h file and implementation so you really only
	  need this one .h file to interface the library.

2006-03-15  Linus Walleij  <triad@df.lth.se>

	* Added three device information retrieval functions.

2006-03-06  Linus Walleij  <triad@df.lth.se>

	* Moving some things around to structure the source. More
	  will be needed...

2006-02-27  Linus Walleij  <triad@df.lth.se>

	* Release libmtp 0.0.1 so people have something to play with,
	  what the heck. Probably saves someones day.

2006-02-24  Linus Walleij  <triad@df.lth.se>

	* Deltr example program to delete tracks, plus corresponding
	  interface call.

2006-02-23  Linus Walleij  <triad@df.lth.se>

	* Fixed up sendtr program and metadata tagging function that is
	  used after sending files.

2006-02-22  Linus Walleij  <triad@df.lth.se>

	* Untested gettr.c and sendtr.c programs to get and send tracks
	  created.

2006-01-30  Linus Walleij  <triad@df.lth.se>

	* Created the initial GNU source directory structure.
	* Added the most basic files.