1
2010-01-30 Linus Walleij <triad@df.lth.se>
3
* examples/connect.c: bad prototype for sendtrack_.
4
* examples/sentr.c: bad prototype.
5
* src/ptp.c: sync to upstream.
7
* src/ptp-pack.c: dito.
9
2010-01-19 Linus Walleij <triad@df.lth.se>
11
* src/libmtp.c: handle a root folder with a number of
12
0xffffffffU (-1), even if the spec says that 0x00000000
13
is the root folder. Add some warnings.
14
* src/libmtp.c: patch from Kevin Hester to fix the erroneous
15
setting of genre or release date to NULL on some devices.
16
* src/libusb-glue.c: patch to fix a bug in some multithread
17
contexts affecting e.g. Rhythmbox, also by Kevin Hester.
18
* examples/Makefile.am: fix the bad prefixing that came in
19
as part of the Windows fixes. Keep $(EXEEXT).
21
2010-01-07 Linus Walleij <triad@df.lth.se>
23
* src/libmtp.c: detect "My_Foo" default folders as well
24
as "My Foo" (underscore) as well.
26
2010-01-01 Linus Walleij <triad@df.lth.se>
28
* src/libmtp.h.in: we use time_t so include <time.h>
30
2009-12-16 Linus Walleij <triad@df.lth.se>
32
* src/libusb-glue.c: don't complain so much about the
33
response to command 2.
35
2009-11-30 Linus Walleij <triad@df.lth.se>
37
* src/libusb-glue.c: bus detection fix for libusb -
38
bus->location was not properly initialized.
40
2009-10-10 Linus Walleij <triad@df.lth.se>
42
* src/libmtp.h.in: move debugmacros to util.h
44
* libmtp.pc.in: erroneouse Libs.private, lacking ":"
46
2009-09-28 Nicolas VIVIEN <nicolas@vivien.fr>
48
* examples/albumart.c : add d option, to enable or not debug
50
* examples/albums.c : dito.
51
* examples/detect.c : dito.
52
* src/libmtp.c : Add LIBMTP_Set_Debug function.
53
* src/libmtp.h.in : Add LIBMTP_Set_Debug function to API.
54
* src/libmtp.sym : Add LIBMTP_Set_Debug function to exported symbol.
55
* src/libusb-glue.h : Add LIBMTP_USB_DEBUG / LIBMTP_DATA_DEBUG macros.
56
* src/libusb-glue.c : Use previous macros inside of printf.
57
* src/playlist-spl.c : Add LIBMTP_PLST_DEBUG macro.
59
2009-09-25 Linus Walleij <triad@df.lth.se>
61
* src/libusb-glue.c: some more BlackBerry fixing from
63
* examples/albumart.c: add p and s switches, to support
64
storage and parent ID:s. (Nicolas)
65
* examples/newplaylist.c: dito. (Nicolas)
67
2009-09-23 Linus Walleij <triad@df.lth.se>
69
* src/libmtp.c: patch from Nyall Dawson to make all
70
filenames unique if the device requires this.
71
* src/libusb-glue.h: dito.
72
* src/device-flags.h: dito.
73
* src/music-players.h: dito.
75
2009-09-23 Linus Walleij <triad@df.lth.se>
77
* src/libusb-glue.c: several patches from Nicolas Vivien to
78
support the BlackBerry Storm.
79
* src/device-flags.h: add special flag for the BlackBerry
80
"switch mode" command.
81
* src/libusb-glue.h: dito.
82
* src/music-players.h: tag the BlackBerry with this flag.
84
2009-09-21 Linus Walleij <triad@df.lth.se>
86
* examples/sendtr.c: patch from Andrea Grillini to support
89
2009-09-12 Linus Walleij <triad@df.lth.se>
91
* src/libusb-glue.c: skip interfaces with != 3 endpoints
92
and make sure we locate 1 bulk in, 1 bulk out and 1 interrupt
93
endpoint on the interface, else SKIP IT. Based on a patch
94
from Nicolas Vivien <nicolas@vivien.fr>.
1
96
2009-09-12 Linus Walleij <triad@df.lth.se>
3
98
* configure.ac: bump version to libmtp 1.0.1 and release!
660
755
* src/libmtp.c: only look for default folders in the
661
756
primary storage, and only try to put files there
662
757
if they are targetting the primary storage.
664
759
2008-06-08 Linus Walleij <triad@df.lth.se>
666
761
* configure.ac: check for the langinfo.h header.
667
762
* examples/connect.c: check charset properly.
668
763
* examples/sendtr.c: dito.
669
764
* src/music-players.h: new devices galore.
671
766
2008-06-03 Linus Walleij <triad@df.lth.se>
673
768
* src/device-flags.h: new device flag for devices that
820
915
2008-03-02 Linus Walleij <triad@df.lth.se>
822
917
* configure.ac: prepare 0.2.6 release.
823
* src/Makefile.am: bump to compatible interface,
918
* src/Makefile.am: bump to compatible interface,
824
919
* src/ptp.c: sync in upstream, a Sansa fix!
825
920
* src/ptp.h: sync in upstream.
826
921
* doc/Doxyfile.in: retire obsoleted parameters.
827
922
* Release this as 0.2.6!
829
924
2008-02-24 Richard Low <richard@wentnet.com>
831
926
* src/music-players.h: add DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL
1057
1152
* src/libmtp.c: devices which represented file size with a
1058
1153
32bit value (some Creative devices) would return a bananas
1059
1154
file size. Fixed it up by...
1060
* src/libmtp.h.in: recycling the uint8_t "interface"
1061
field in the device struct as a holder of the object size
1062
for the device. This will make the new library binary
1063
compatible with version 0.2.1 since no-one should *ever*
1064
dereference that value (which used to be the USB interface
1155
* src/libmtp.h.in: recycling the uint8_t "interface"
1156
field in the device struct as a holder of the object size
1157
for the device. This will make the new library binary
1158
compatible with version 0.2.1 since no-one should *ever*
1159
dereference that value (which used to be the USB interface
1065
1160
number and is now the object size).
1066
1161
* examples/files.c: display 64bit file sizes in hex correctly.
1216
1311
are ranges or enums, rounding and twiddling if need be. This is
1217
1312
needed because some new devices (like the TrekStor Sweez,
1218
1313
has duration defined as a range: MIN 0, MAX 65535000, STEP 1
1219
and Sandisk Sansa c240 has duration as range: MIN 0, MAX 2147483000,
1314
and Sandisk Sansa c240 has duration as range: MIN 0, MAX 2147483000,
1220
1315
STEP 1000) whereas old devices would just accept any value.
1222
1317
2007-08-16 Richard Low <richard@wentnet.com>
1477
1572
* src/libmtp.c: refactored MTP property list handling code to make
1478
1573
things simple. Removed the flag for MTP enhanced: there are devices
1479
that will not work without MTP enhanced (for example the Samsung
1480
YP-K5 will only support setting object property lists, not
1481
individual object properties, leaving out parts of the MTP basic
1482
subset), thus we are allowed to reverse-engineer and implement this
1483
for interoperability. I also made the output from
1484
LIBMTP_Dump_Device_Info() considerably more verbose, plotting out
1485
the ranges and possible enumerated values of all object properties.
1486
For example you can see that the secret values associated with
1487
Audible.com property 0xda01 is an enumerated value that can be
1574
that will not work without MTP enhanced (for example the Samsung
1575
YP-K5 will only support setting object property lists, not
1576
individual object properties, leaving out parts of the MTP basic
1577
subset), thus we are allowed to reverse-engineer and implement this
1578
for interoperability. I also made the output from
1579
LIBMTP_Dump_Device_Info() considerably more verbose, plotting out
1580
the ranges and possible enumerated values of all object properties
1581
For example you can see that the secret values associated with
1582
Audible.com property 0xda01 is an enumerated value that can be
1488
1583
2, 3 or 4 (etc).
1490
1585
2007-03-22 Richard Low <richard@wentnet.com>
1512
1607
2007-03-12 Linus Walleij <triad@df.lth.se>
1514
1609
* Makefile.am: cleanup patch from Rafael Laboissiere.
1515
* src/libusb-glue.c: refactored device detection code to
1516
immediately test if the device is in the known devices list if it
1517
does not feature a MTP device descriptor. This fixes the problem
1518
of not being able to mix devices with proper descriptors and
1610
* src/libusb-glue.c: refactored device detection code to
1611
immediately test if the device is in the known devices list if it
1612
does not feature a MTP device descriptor. This fixes the problem
1613
of not being able to mix devices with proper descriptors and
1519
1614
non-detected devices.
1521
1616
2007-03-07 Linus Walleij <triad@df.lth.se>
1583
1678
2007-02-28 Linus Walleij <triad@df.lth.se>
1585
1680
* src/ptp.h: Upstream accepted our patch so synced it in.
1587
1682
2007-02-27 Linus Walleij <triad@df.lth.se>
1589
* src/ptp.c: Synced in upstream version which removes the
1684
* src/ptp.c: Synced in upstream version which removes the
1590
1685
offending line.
1591
1686
* src/libmtp.c: replaces strcmp() for strcasecmp() in folder
1592
1687
detection since Windows and some devices (such as iRivers)
1593
1688
ignore case and user capital letters for default folders.
1595
1690
2007-02-22 Ted Bullock <tbullock@canada.com>
1597
* src/ptp.c: Comment out line in ptp_exit_fd_handler that was
1598
closing a file descriptor. This is not the responsibility of
1692
* src/ptp.c: Comment out line in ptp_exit_fd_handler that was
1693
closing a file descriptor. This is not the responsibility of
1599
1694
the PTP Layer. Defect and solution found by Rob Reardon
1601
1696
2007-02-26 Linus Walleij <triad@df.lth.se>
1603
* src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
1604
in the LIBMTP_Update_Track_Metadata() function, there are
1605
obviously devices that do not support this, but only
1606
PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
1607
but we haven't implemented that yet. Problems are
1698
* src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
1699
in the LIBMTP_Update_Track_Metadata() function, there are
1700
obviously devices that do not support this, but only
1701
PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
1702
but we haven't implemented that yet. Problems are
1608
1703
atleast reported correctly now.
1610
1705
2007-02-24 Richard Low <richard@wentnet.com>
1668
1763
* examples/folders.c: Updated to use new multi device code
1669
1764
* src/libmtp.c: Fixed potential memory leaks
1670
* src/libusb-glue.c: Fixed potential memory leaks and fixed device
1765
* src/libusb-glue.c: Fixed potential memory leaks and fixed device
1671
1766
release segfault for multiple devices
1673
1768
2007-02-14 Ted Bullock <tbullock@canada.com>
1675
* src/libusb-glue.c: Wrote three new recursive functions to avoid
1676
extreme levels of multiple indirection and to clean the code up
1770
* src/libusb-glue.c: Wrote three new recursive functions to avoid
1771
extreme levels of multiple indirection and to clean the code up
1677
1772
a bit for multiple devices.
1678
* examples/detect.c: Adjusted function calls to use new multiple
1773
* examples/detect.c: Adjusted function calls to use new multiple
1680
1775
* src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
1682
1777
2007-02-12 Ted Bullock <tbullock@canada.com>
1684
* src/libmtp.c: Two new functions (create_usb_mtp_devices and
1779
* src/libmtp.c: Two new functions (create_usb_mtp_devices and
1685
1780
LIBMTP_Get_Connected_Devices) to add support for multiple devices
1686
1781
to client applications
1687
1782
* src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
2032
2127
2006-11-30 Matthew Wilcox <matthew@wil.cx>
2034
* src/ptp.c: on some devices, surplus packet data is
2129
* src/ptp.c: on some devices, surplus packet data is
2035
2130
sometimes returned during read, i.e. a header of the
2036
next package is typically attacked to the incoming
2037
data, as if someone was sending several packets at
2131
next package is typically attacked to the incoming
2132
data, as if someone was sending several packets at
2038
2133
once. If this happens we buffer the surplus packet.
2039
2134
* src/libusb-glue.c: revert my own mistakes by making
2040
2135
them Windows-only.
2240
2335
2006-10-11 Linus Walleij <triad@df.lth.se>
2242
* examples/delfile.c: patch from Chris Debenham
2337
* examples/delfile.c: patch from Chris Debenham
2243
2338
straingtening out the command-line interface a bit
2246
2341
2006-10-10 Linus Walleij <triad@df.lth.se>
2248
* examples/delfile.c: patch from Chris Debenham to make
2249
this command take an optional filename as parameter
2343
* examples/delfile.c: patch from Chris Debenham to make
2344
this command take an optional filename as parameter
2250
2345
instead of file ID.
2252
2347
2006-09-26 Linus Walleij <triad@df.lth.se>