blob: ede07a0e8a10c8f97df782317ba9b9cbd146af80 [file] [log] [blame]
Linus Walleijde8193f2008-01-27 14:55:31 +000012008-01-27 Florent Mertens <flomertens@gmail.com>
2
3 * src/libmtp.h.in: new functions to rename object filenames
4 and change object parents. Good when modifying the device
5 as a file system, LIBMTP_Set_Object_Filename(),
6 LIBMTP_Set_Object_Parent().
7 * src/libmtp.c: implementation.
8
Linus Walleij00411ee2008-01-27 12:24:51 +000092008-01-27 Linus Walleij <triad@df.lth.se>
10
11 * src/libusb-glue.c: re-read response from device until
12 it atleast exceeds two bytes. This fixes a problem with
13 the Samsung YP-U3 when populated with many, many songs.
14
Richard Lowa11a6ad2008-01-21 17:23:55 +0000152008-01-21 Richard Low <richard@wentnet.com>
16
17 * src/music-players.h: add Thomson Lyrca HC308A, remove
18 incorrect ID for Creative Zen 8GB
19
Richard Low36e447c2008-01-20 15:24:55 +0000202008-01-20 Richard Low <richard@wentnet.com>
21
22 * src/libmtp.c: add LIBMTP_Get_Representative_Sample()
23 * src/libmtp.h.in: ditto
24
252008-01-14 Linus Walleij <triad@df.lth.se>
Linus Walleij2350b712008-01-14 22:54:37 +000026
27 * src/libmtp.c: add LIBMTP_Get_Manufacturername(). Remember
28 to bump soname (compatible) in 0.2.6 (or whatever we name it).
29 0.3.0 perhaps?
30 * src/libmtp.h.in: dito.
31 * src/libmtp.c: detect default folders named "Datacasts" and
32 "Texts".
33
Richard Low36e447c2008-01-20 15:24:55 +0000342008-01-11 Linus Walleij <triad@df.lth.se>
Linus Walleij7fcaa372008-01-11 00:48:06 +000035
36 * examples/pathutils.c: recognize .bin files as firmware,
37 used by e.g. RockBox developers. Doesn't cost anything to
38 add.
39
Richard Low36e447c2008-01-20 15:24:55 +0000402008-01-08 Linus Walleij <triad@df.lth.se>
Linus Walleij89daa092008-01-08 22:35:39 +000041
42 * configure.ac: bump to 0.2.5.
43 * src/Makefile.am: interface to libmtp.so.7.0.2
44 (compatible).
45 * Release as libmtp 0.2.5. Why not?
46
Linus Walleij0b75ab62007-12-28 00:47:34 +0000472007-12-28 Linus Walleij <triad@df.lth.se>
48
49 * src/libmtp.c: make libmtp use PTP_OPC_AlbumArtist on albums,
50 instead of the (seldom present) PTP_OPC_Artist tag. Use both
51 if both are supported. We're not setting AlbumArtist on regular
52 tracks though, what's the point, and what does it mean if this
53 differs from Artist??
54
Linus Walleija3544f62007-11-30 01:20:04 +0000552007-11-30 Linus Walleij <triad@df.lth.se>
56
57 * src/music-players.h: new flag for the YP-T10.
58 * src/device-flags.h: define the new flag, that is needed
59 to support Ogg files on these devices.
60 * src/libmtp.c: recognize and report Ogg support, set type
61 to unknown when transferring.
62
Linus Walleijcc2cf972007-11-22 20:23:43 +0000632007-11-22 Linus Walleij <triad@df.lth.se>
64
65 * configure.ac: bump to 0.2.4.
66 * src/Makefile.am: bump age of soversion (compatible).
67 * RELEASE 0.2.4 mainly to get some new device support out there.
68
Linus Walleijbc550bc2007-11-08 23:25:09 +0000692007-11-09 Linus Walleij <triad@df.lth.se>
70
71 * src/libusb-glue.c: avoid probing deeper into interfaces
72 that have a string describing them as "MTP" after a
73 suggested patch from Alexander Kanavin <ak@sensi.org>.
Linus Walleij20c3b672007-11-09 19:02:19 +000074 * examples/albumart.c: patch from Chris Waters <xtifr@debian.org>
75 replacing calls to atoi() with calls to strtoul(). Since
76 object ID:s are unsigned long, atoi() would reject too
77 high object IDs. The patch also fix a few memory leaks.
78 THANKS DEBIAN! We love our downstream!
79 * examples/newplaylist.c: dito.
80 * examples/pathutils.c: dito.
81 * examples/thumb.c: dito.
Linus Walleijbc550bc2007-11-08 23:25:09 +000082
Linus Walleij5f42ef42007-11-05 22:58:50 +0000832007-11-05 Linus Walleij <triad@df.lth.se>
84
85 * src/libmtp.c: use OPFF codes instead of DPFF codes,
86 we're dealing with objects, not device props.
87 * src/ptp.c: silence some OPFF freeing warnings.
88
Linus Walleij3e4b1142007-11-01 23:54:16 +0000892007-11-02 Linus Walleij <triad@df.lth.se>
90
91 * src/libusb-glue.c: try to repair header here instead of
92 ignoring error in ptp.c.
Linus Walleij1d0e84f2007-11-02 21:05:35 +000093 * src/music-players.h: flag some more Creative devices as
94 broken getting all files.
95 * src/Makefile.am: reference the 2 new .h files.
Linus Walleij3e4b1142007-11-01 23:54:16 +000096
Linus Walleij8f4bb042007-10-31 08:59:12 +0000972007-10-31 Linus Walleij <triad@df.lth.se>
98
99 * src/ptp.c: bring cache handling into this file.
100 * src/ptp.h: dito.
101 * src/libmtp.c: consequential changes.
102
Linus Walleij1a673de2007-10-29 23:10:05 +00001032007-10-30 Linus Walleij <triad@df.lth.se>
104
105 * src/music-players.h: split this off as a shared file
106 between us and libgphoto2 so we get out of the syncing
107 nightmare.
Linus Walleij3e667ae2007-10-29 23:29:39 +0000108 * src/device-flags.h: split out this as well, Marcus
109 might want it.
Linus Walleij8f4bb042007-10-31 08:59:12 +0000110 * src/libusb-glue.c: consequential movement.
Linus Walleij3e667ae2007-10-29 23:29:39 +0000111 * src/libmtp.c: reference new flag file.
Linus Walleij0b89a7e2007-10-30 22:21:15 +0000112 * src/ptp.c: sync in upstream.
113 * src/ptp.h: dito.
Linus Walleij1a673de2007-10-29 23:10:05 +0000114
Linus Walleij08c90082007-10-25 20:29:53 +00001152007-10-25 Linus Walleij <triad@df.lth.se>
116
117 * Release 0.2.3. Nice bunch of cleaned-up code, sad we had
118 too bump soversion but such is life.
119
Linus Walleijfb28b632007-10-23 21:56:18 +00001202007-10-23 Linus Walleij <triad@df.lth.se>
121
122 * src/libmtp.c: make LIBMTP_Send_File_From_File_Descriptor()
123 survive the case where device->storage is NULL. This happens
124 on the Nokia 3110c.
125
Linus Walleij7752b952007-10-19 20:11:46 +00001262007-10-19 Linus Walleij <triad@df.lth.se>
127
128 * src/libmtp.c: bring the cache handling code together at the
129 end of the file, refactor so as to avoid code duplication,
Linus Walleij4d0deea2007-10-19 21:27:48 +0000130 do things in one place only and looking good. Get folder
131 list recursively instead, this works better with fast dir
132 retrieveal I think.
Linus Walleij7752b952007-10-19 20:11:46 +0000133
Linus Walleij26d42da2007-10-18 14:02:02 +00001342007-10-18 Linus Walleij <triad@df.lth.se>
135
136 * src/libmtp.c: fix the deletion of cached properties when
137 removing objects. This code was seriously broken.
138
jefferaida9687e2007-10-16 16:44:15 +00001392007-10-16 Jeff Mitchell <kde-dev@emailgoeshere.com>
140
Linus Walleijc5908a02007-10-16 20:42:08 +0000141 * src/libusb-glue.c: remove the previously-concatenated vendor
142 and product string "name" field as it's now redundant
143 * src/Makefile.am: interface to libmtp.so.7.0.0 (incompatible,
144 device_entry_struct members changed)
145 * examples/hotplug.c: port to use vendor and product instead of
146 name, also some useful commenting in the fdi file
jefferaida9687e2007-10-16 16:44:15 +0000147
Linus Walleij06542122007-10-14 22:13:48 +00001482007-10-15 Linus Walleij <triad@df.lth.se>
149
150 * src/libusb-glue.c: repair headers, don't just ignore them.
Linus Walleijf9267e92007-10-15 21:07:37 +0000151 Add support for broken set object proplist devices. Motorola
152 RAZR2 V8 has this problem.
153 * src/libusb-glue.h: flag for broken set object proplist.
154 * libmtp.c: avoid broken set object proplist.
Linus Walleij06542122007-10-14 22:13:48 +0000155
jefferaida9687e2007-10-16 16:44:15 +00001562007-10-09 Jeff Mitchell <kde-dev@emailgoeshere.com>
157
Linus Walleijc5908a02007-10-16 20:42:08 +0000158 * src/libusb-glue.c: add separate vendor and product strings
159 in device entry structs
jefferaida9687e2007-10-16 16:44:15 +0000160 * src/libmtp.h.in: update device entry structs to reflect this
161
Linus Walleija91f8892007-10-04 21:25:22 +00001622007-10-04 Linus Walleij <triad@df.lth.se>
163
164 * src/libusb-glue.c: rm some pointless confusing defines
165 inherited from libgphoto2.
Linus Walleij2ec6ff52007-10-04 22:20:43 +0000166 * configure.ac: bump to 0.2.2
167 * src/Makefile.am: interface to libmtp.so.6.0.2 (compatible)
168 * Release as 0.2.2. Now is as good time as ever. Release
169 early and release often.
Linus Walleija91f8892007-10-04 21:25:22 +0000170
Linus Walleij41e75b22007-10-03 21:58:06 +00001712007-10-03 Linus Walleij <triad@df.lth.se>
172
173 * src/libusb-glue.c: tag the OLD Creative devices with
174 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL, after clear
175 indications that it was broken when retrieveing folders
176 on all those devices. The newer devices (those supporting
177 32bit object size) presumably does not have this limitation.
178
Linus Walleijca2a1702007-10-02 20:41:45 +00001792007-10-02 Linus Walleij <triad@df.lth.se>
180
181 * src/libmtp.c: devices which represented file size with a
182 32bit value (some Creative devices) would return a bananas
Linus Walleij1d877372007-10-02 21:21:57 +0000183 file size. Fixed it up by...
184 * src/libmtp.h.in: recycling the uint8_t "interface"
Linus Walleijddaba2f2007-10-02 21:20:30 +0000185 field in the device struct as a holder of the object size
186 for the device. This will make the new library binary
187 compatible with version 0.2.1 since no-one should *ever*
188 dereference that value (which used to be the USB interface
189 number and is now the object size).
Linus Walleijca2a1702007-10-02 20:41:45 +0000190 * examples/files.c: display 64bit file sizes in hex correctly.
191
Richard Low99a93e82007-09-29 08:16:08 +00001922007-09-29 Richard Low <richard@wentnet.com>
193
194 * src/libmtp.c: avoid crash on failed connect
195
Linus Walleij8e3af002007-09-28 19:21:54 +00001962007-09-28 Linus Walleij <triad@df.lth.se>
197
198 * src/libusb-glue.h: introduce a new device flag for devices that
199 have broken PTP headers, first encountered on the Creative
200 ZEN 8GB.
201 * src/libusb-glue.c: attempt to begin to work around the broken
202 PTP headers.
203
Linus Walleij29f03ba2007-09-25 19:22:12 +00002042007-09-25 Linus Walleij <triad@df.lth.se>
205
206 * src/libusb-glue.h: add a new device flag for devices that don't
207 like it if you release the interface (or try to clear endpoints).
208 * src/libusb-glue.c: dito, implement this flag, tag all SanDisk
209 Sansa devices with it except for the Linux-based Sansa Connect.
210
Richard Low61edc1a2007-09-23 10:35:48 +00002112007-09-23 Richard Low <richard@wentnet.com>
212
213 * src/libusb-glue.c: updated some device flags, removed second
214 call to ptp_getdeviceinfo
215 * src/libmtp.c: property cache fixes
216
Linus Walleij7783b9b2007-09-22 22:10:44 +00002172007-09-23 Linus Walleij <triad@df.lth.se>
218
219 * src/libmtp.c: wrapped updating of playlists and albums into an
220 abstract function so we do it consistently. Added support for
221 tagging on modification date to files, tracks, playlists and
222 albums.
223
Linus Walleij580aff72007-09-21 13:02:19 +00002242007-09-21 Linus Walleij <triad@df.lth.se>
225
226 * src/libusb-glue.c: flag the Samsung YH-820 with
227 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL after tests by Stephan
228 Fabel.
229
Linus Walleijda17cda2007-09-18 21:12:05 +00002302007-09-18 Linus Walleij <triad@df.lth.se>
231
232 * src/libusb-glue.c: stop the endpoint unhalting/unstalling when
233 closing the USB device. It was AYBABTU the Samsungs
234 (and others).
235
Linus Walleij724f0102007-09-17 20:10:12 +00002362007-09-17 Linus Walleij <triad@df.lth.se>
237
238 * src/libusb-glue.c: silenced weirdo error message.
239
Linus Walleijb644b412007-09-16 21:46:02 +00002402007-09-16 Linus Walleij <triad@df.lth.se>
241
242 * src/ptp.c: cancellation working *as it should*
243 * src/ptp.h: dito.
244 * src/libusb-glue.c: dito.
245 * src/libusb-glue.h: dito.
246 * src/libmtp.c: dito.
247 * src/libmtp.h.in: new error code for cancellation.
248
Richard Lowe9f205f2007-09-16 16:25:50 +00002492007-09-16 Richard Low <richard@wentnet.com>
250
251 * src/libusb-glue.c: only read descriptors for devices we
252 don't know since it breaks on some devices
Richard Lowd7bcab52007-09-16 16:30:20 +0000253 * src/libmtp.c: a couple of bugs fixed in metadata retreival
Richard Lowe9f205f2007-09-16 16:25:50 +0000254
Linus Walleij3e418e22007-09-15 20:30:14 +00002552007-09-15 Linus Walleij <triad@df.lth.se>
256
257 * src/ptp.c: get cancellation of xfers working.
258 * src/libusb-glue.c: dito.
259 * src/libusb-glue.h: dito.
260 * src/libmtp.c: dito.
261
Linus Walleijf43558d2007-09-14 17:59:20 +00002622007-09-14 Linus Walleij <triad@df.lth.se>
263
264 * src/ptp.h: sync in upstream to get cancellation prototypes.
Linus Walleijbd3bf9e2007-09-14 19:31:54 +0000265 * src/libusb-glue.c: first try to implement cancellation.
Linus Walleij997d3ec2007-09-14 21:29:54 +0000266 * src/libmtp.c: dito. Bugfix to one of Marcus' realloc():s.
Linus Walleijf43558d2007-09-14 17:59:20 +0000267
Linus Walleij1e9a0332007-09-12 19:35:56 +00002682007-09-12 Marcus Meissner <meissner@suse.de>
269
270 * src/ptp-pack.c: sync to upstream, rewrote packing to use
271 a static array to be qsort():ed when reading in proplists.
272 * src/ptp.c: reflect changes.
273 * src/ptp.h: reflect changes.
274 * src/libmtp.c: reflect changes.
275
Linus Walleij71b8c0f2007-09-06 09:09:14 +00002762007-09-06 Linus Walleij <triad@df.lth.se>
277
278 * examples/hotplug.c: edit up into a udev ruleset that is
279 inexorably complicated but probably compatible with most
280 udev versions out there. Now please DON'T update udev
281 styles again!
282
Richard Low17cec172007-09-05 20:43:51 +00002832007-09-05 Richard Low <richard@wentnet.com>
284
285 * src/libmtp.c: album fixups
286
Linus Walleij50d47a52007-09-05 07:59:40 +00002872007-09-05 Linus Walleij <triad@df.lth.se>
288
289 * examples/hotplug.c: use old udev style by default, use new
290 if requested explicitly by a -U switch.
291
Linus Walleij6bf68b42007-09-03 22:50:02 +00002922007-09-04 Linus Walleij <triad@df.lth.se>
293
294 * src/libmtp.c: make sure we query recursively supplying each
295 storage ID in turn, so we spin over storages. Also check
296 what storage may be available to store a file, if the first
297 one fails, try the next!
298
Linus Walleija0b7d042007-08-31 23:57:31 +00002992007-09-01 Linus Walleij <triad@df.lth.se>
300
301 * src/ptp-pack.c: make the resulting MTP proplist sorted by
302 object ID.
Linus Walleij70ac9772007-09-01 18:59:28 +0000303 * hotplug.sh.in: explicitly call BASH instead of just sh. Warn
304 if script is not run as root.
Linus Walleija0b7d042007-08-31 23:57:31 +0000305
Linus Walleijf4592072007-08-29 10:19:25 +00003062007-08-29 Linus Walleij <triad@df.lth.se>
307
308 * examples/Makefile.am: move include define from AM_CFLAGS to
309 AM_CPPFLAGS (as it should be) bug found by Petar Petrov
310 <pesho.petrov@gmail.com>.
Linus Walleijb0ab5482007-08-29 21:08:54 +0000311 * src/libusb-glue.c: strange misleading message corrected. Fix
312 up the horrid interface passing back-and-forward and confusing.
313 * src/libusb-glue.h: dito.
314 * src/libmtp.c: rid interface references, that's a USB issue!
315 * src/libmtp.h.in: flag interface number in device struct as retired.
Linus Walleijf4592072007-08-29 10:19:25 +0000316
Linus Walleij1b87ea72007-08-28 07:53:09 +00003172007-08-28 Linus Walleij <triad@df.lth.se>
318
319 * src/libmtp.c: retire the horrid, broken, stream send facility that
320 does not work on any device since they all want to know the file
Linus Walleij8533bf72007-08-28 10:03:59 +0000321 size in advance. Add in some code to fall back on the recursive
322 metadata retrieveal if getting the whole long list fails.
Linus Walleij6d0cf972007-08-28 09:48:19 +0000323 * src/libusb-glue.c: tag all Sansas as having broken GetObjectPropList
Linus Walleijc4108242007-08-28 20:38:27 +0000324 when all tags for all objects are requested. Scan each INTERFACE
325 of the device for device descriptors.
Linus Walleij1b87ea72007-08-28 07:53:09 +0000326
Linus Walleijd3b78572007-08-24 21:28:24 +00003272007-08-24 Linus Walleij <triad@df.lth.se>
328
329 * src/libusb-glue.h: new device flag to strip all non-7bit chars from
330 filenames on some lame devices.
331 * src/libusb-glue.c: tag the Philips Shoqbox with this flag.
332 * src/libmtp.c: strip the non-7bit chars from filenames if that
333 flag is set.
334 * src/unicode.h: introduce a 7bit-strip helper function.
335 * src/unicode.c: dito.
336
Linus Walleij29559562007-08-22 21:38:04 +00003372007-08-22 Linus Walleij <triad@df.lth.se>
338
339 * src/libmtp.c: deal with setting of metadata sets for u16/u32:s that
340 are ranges or enums, rounding and twiddling if need be. This is
341 needed because some new devices (like the TrekStor Sweez,
342 has duration defined as a range: MIN 0, MAX 65535000, STEP 1
343 and Sandisk Sansa c240 has duration as range: MIN 0, MAX 2147483000,
344 STEP 1000) whereas old devices would just accept any value.
345
Richard Lowd47b9212007-08-16 21:14:23 +00003462007-08-16 Richard Low <richard@wentnet.com>
347
348 * src/ptp-pack.c: allow packing of NULL strings
349
rreardon21a3a9d2007-08-15 10:56:31 +00003502007-08-15 Robert Reardon <rreardon@monkshatch.vispa.com>
351
352 * src/libmtp.c: return device max values for representative
rreardon65b47322007-08-15 15:17:54 +0000353 samples.
rreardon21a3a9d2007-08-15 10:56:31 +0000354
Richard Low92cb2692007-08-15 09:35:23 +00003552007-08-15 Richard Low <richard@wentnet.com>
356
357 * src/libusb-glue.c: added Philips Shoqbox
358
Linus Walleij53c5f4e2007-08-13 08:27:58 +00003592007-08-13 Linus Walleij <triad@df.lth.se>
360
361 * src/ptp.c: sync to upstream.
362
Linus Walleijdb906232007-08-07 15:59:09 +00003632007-08-07 Linus Walleij <triad@df.lth.se>
364
365 * configure.ac: bump to 0.2.1.
366 * src/Makefile.am: interface to libmtp.so.6.0.1.
367 * Release libmtp 0.2.1!
368
Linus Walleijdbcc8242007-08-05 22:31:26 +00003692007-08-06 Linus Walleij <triad@df.lth.se>
370
Linus Walleije23000a2007-08-06 20:47:17 +0000371 * configure.ac: tag on the large file support compilation flag.
Linus Walleij07795772007-08-06 18:44:06 +0000372 * src/libmtp.c: smack up the data file transfer function so it
373 works again and *finally* should support 64bit sizes!
Linus Walleijd2778d12007-08-06 19:24:58 +0000374 Then wrapped the track sending function around the file
375 sending function so there is no more pointless code duplication
Linus Walleij05358382007-08-06 20:46:35 +0000376 giving rise to ever more bugs. Enable LFS, Large File Support so
377 we can handle 64bit files properly.
378 * examples/sendtr.c: shape up print-outs, LFS support.
Linus Walleijd2778d12007-08-06 19:24:58 +0000379 * examples/sendfile.c: dito.
Linus Walleij07795772007-08-06 18:44:06 +0000380
3812007-08-06 Linus Walleij <triad@df.lth.se>
382
Linus Walleijdbcc8242007-08-05 22:31:26 +0000383 * src/ptp.c: fixed a stray error print bug.
384 * src/libmtp.c: overhaul of all proplist setting to follow the same
385 design pattern. Probably fixed a few opd memory leaks along the road.
386
Richard Lowfd86bd12007-08-05 09:41:06 +00003872007-08-05 Richard Low <richard@wentnet.com>
388
389 * src/libmtp.c: send 64 bit filesize
390
Linus Walleijd9d28d52007-08-04 19:01:18 +00003912007-08-04 Linus Walleij <triad@df.lth.se>
392
393 * src/libmtp.c: fix up the 64bit filesize and tracksize support.
394 There were some bugs...
Linus Walleij529d08f2007-08-04 19:20:00 +0000395 * src/Makefile.am: tweak interface revision so that we produce
396 libmtp.so.6 now.
397 * configure.ac: bump library revision to 0.2.0.
Linus Walleij2f049902007-08-04 20:02:39 +0000398 * examples/hotplug.c: switch to use ATTR{} instead of SYSFS{}
Linus Walleijdbcc8242007-08-05 22:31:26 +0000399 * Release libmtp 0.2.0!
Linus Walleijd9d28d52007-08-04 19:01:18 +0000400
Richard Low25bf8002007-08-04 08:36:53 +00004012007-08-04 Richard Low <richard@wentnet.com>
402
403 * src/libusb-glue.c: add Sansa m240 (a different ID to before)
404 Give the Toshiba Gigabeat S
405 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL.
406
4072007-08-03 Marcus Meissner <meissner@suse.de>
Linus Walleij960ebb62007-08-03 21:38:34 +0000408
409 * m4/byteorder.m4: byteorder fixes.
410
Richard Lowcc265902007-07-30 20:14:12 +00004112007-07-30 Richard Low <richard@wentnet.com>
412
413 * src/ptp-pack.c: fix up array packing
414
Linus Walleijabf54752007-07-30 19:51:54 +00004152007-07-30 Linus Walleij <triad@df.lth.se>
416
417 * src/ptp-pack.c: try to get a uniform 64 bit
418 support, use some old macro code.
419
Richard Lowc3f5fc32007-07-29 09:40:50 +00004202007-07-29 Richard Low <richard@wentnet.com>
421
422 * src/libmtp.c: 64 bit filesize support for tracks
423 * src/ptp-pack.c: ditto
424 * src/ptp.h: ditto
425
Richard Low39a147a2007-07-27 20:18:01 +00004262007-07-27 Richard Low <richard@wentnet.com>
427
428 * src/libmtp.c: Some better NULL checks
429
Linus Walleijc51a4312007-07-27 06:28:39 +00004302007-07-27 Linus Walleij <triad@df.lth.se>
431
432 * examples/hotplug.c: changed subsystem from "usb_device"
433 to "usb". Presumably a change in the kernel some time ago.
434
Richard Lowbd14bf42007-07-21 11:25:11 +00004352007-07-21 Richard Low <richard@wentnet.com>
436
437 * src/libmtp.c: Correctly bail out of LIBMTP_Get_Storage
438
Linus Walleij5d533bb2007-07-17 21:48:57 +00004392007-07-17 Linus Walleij <triad@df.lth.se>
440
441 * examples/reset.c: Add a device reset program.
442 * src/libmtp.c: Add reset command.
443 * src/ptp.c: dito, and sync in upstream changes.
444 * src/ptp.h: dito, and sync in upstream changes.
445 * src/ptp-pack.c: sync in upstream changes.
446
Richard Low0fa83522007-07-17 20:05:08 +00004472007-07-17 Richard Low <richard@wentnet.com>
448
449 * src/libmtp.c: Added some more (paranoid) NULL checks
450
Richard Low8e8d9d42007-07-14 10:36:50 +00004512007-07-14 Richard Low <richard@wentnet.com>
452
453 * src/libmtp.c: Add a NULL check
454
4552007-07-13 Richard Low <richard@wentnet.com>
Richard Low14afeb72007-07-13 19:11:56 +0000456
457 * src/libusb-glue.c: add Disney MixMax
458
Linus Walleij9521e2b2007-07-10 21:50:42 +00004592007-07-11 Linus Walleij <triad@df.lth.se>
460
461 * src/libmtp.c: put in Tero's name in the preamble.
462 * src/libusb-glue.c: make the dump function sump out the zuper zecret
463 devize dezcriptorz in clear text hex.
464
Linus Walleij3e13dda2007-07-09 22:42:17 +00004652007-07-10 Linus Walleij <triad@df.lth.se>
466
Linus Walleijc51a4312007-07-27 06:28:39 +0000467 * examples/hotplug.c: force HAL OGG support on iriver devices.
468 They all have it! Also force for two other devices that does
469 this.
Linus Walleij3e13dda2007-07-09 22:42:17 +0000470
Linus Walleij2b218852007-07-07 20:16:36 +00004712007-07-07 Linus Walleij <triad@df.lth.se>
472
473 * src/libusb-glue.h: new flag for the case when getting the object
474 property list of all metadata for all objects is broken.
475 * src/libusb-glue.c: tentatively tag a Philips device with this flag.
476 * src/libmtp.c: fixed usage of returned pointers from realloc(),
477 introduce new flag.
478
tsaarnia3eb60a2007-07-06 17:41:30 +00004792007-07-05 Tero Saarni <tero.saarni@gmail.com>
480
481 * src/libmtp.c: update cache when manipulating objects instead of
482 always flushing the whole cache.
483
Linus Walleij338ade42007-07-03 20:44:08 +00004842007-07-03 Linus Walleij <triad@df.lth.se>
485
486 * src/libmtp.c: use the params->proplist metadata cache. Help
487 rid all flush_handles() you can in order to add even more to
488 the efficiency of the cache.
489
Linus Walleijf0bf4372007-07-01 21:47:38 +00004902007-07-01 Linus Walleij <triad@df.lth.se>
491
492 * src/ptp.c: sync to upstream gPhoto source.
493 * src/ptp.h: dito.
494 * src/ptp-pack.c: dito.
495 * src/libmtp.c: use the params->objectinfo object info cache to
496 speed things up considerably. This is exactly what libgphoto2
497 does so now we move closer to upstream. I believe this also
498 fixes quite a few memory leaks because we weren't freeing the
499 strings inside the objectinfo previously.
500
Linus Walleije60d56b2007-05-28 22:13:12 +00005012007-05-29 Linus Walleij <triad@df.lth.se>
502
503 * src/libmtp.c: use the set object prop list command to set album
504 props if available. Follow metadata set design pattern used for
505 tracks; check first if the object type can set name/artist/genre.
506
jefferaida9687e2007-10-16 16:44:15 +00005072007-05-24 Jeff Mitchell <kde-dev@emailgoeshere.com>
jefferaif28f2a12007-05-24 23:07:41 +0000508
Linus Walleije60d56b2007-05-28 22:13:12 +0000509 * hotplug.sh.in: Properly install the HAL FDI rules if
jefferaie3f1bba2007-05-24 23:27:13 +0000510 the user so chooses to when prompted.
511
jefferaida9687e2007-10-16 16:44:15 +00005122007-05-24 Jeff Mitchell <kde-dev@emailgoeshere.com>
jefferaie3f1bba2007-05-24 23:27:13 +0000513
Linus Walleije60d56b2007-05-28 22:13:12 +0000514 * examples/hotplug.c: Fix/update HAL output to conform
jefferaif28f2a12007-05-24 23:07:41 +0000515 to new specs. Fix whitespacing to be consistent.
516
Richard Low34a624a2007-05-17 12:32:35 +00005172007-05-17 Richard Low <richard@wentnet.com>
518
519 * src/libusb-glue.c: added Samsung YH-920
520
Linus Walleij99466e32007-05-11 21:42:53 +00005212007-05-11 Linus Walleij <triad@df.lth.se>
522
523 * examples/hotplug.c: output a usb.ids map if need be.
524 * sync-usbids.sh: script to assist in comparing our device
525 database to the linux-usb database so we can submit new
526 entries to it more easily. Please extend this until it
527 creates automated diff:s if you can!
528
Linus Walleij229b24b2007-05-09 22:10:55 +00005292007-05-10 Linus Walleij <triad@df.lth.se>
530
531 * src/libusb-glue.c: some new devices, some rewording etc.
532
Linus Walleij4fa9d5e2007-05-05 20:35:56 +00005332007-05-05 Linus Walleij <triad@df.lth.se>
534
535 * src/libusb-glue.h: removed the DUALMODE flag, it's pointless and
536 equal to the problem solved by the UNLOAD_DRIVER flag.
537 * src/libusb-glue.c: dito, move the only DUALMODE flag into an
Linus Walleij1327a852007-05-06 19:47:38 +0000538 UNLOAD_DRIVER flag. Added Archos Gmini.
Linus Walleij4fa9d5e2007-05-05 20:35:56 +0000539
Richard Low6711f442007-05-05 19:00:59 +00005402007-05-05 Richard Low <richard@wentnet.com>
541
542 * src/libusb-glue.c: added Philips PSA610
543 * src/libmtp.c: code to recursively get object handles for each
544 assoc.
Linus Walleij4fa9d5e2007-05-05 20:35:56 +0000545 * src/ptp.h: ditto
Richard Low6711f442007-05-05 19:00:59 +0000546
Richard Low1869d272007-04-28 13:55:17 +00005472007-04-28 Richard Low <richard@wentnet.com>
548
549 * src/libusb-glue.c: new device
550
Linus Walleijeccaae02007-04-26 08:19:03 +00005512007-04-26 Linus Walleij <triad@df.lth.se>
552
Linus Walleij4fa9d5e2007-05-05 20:35:56 +0000553 * src/libusb-glue.c: memory leak: dangling, unused pointer killed.
Linus Walleijeccaae02007-04-26 08:19:03 +0000554
Linus Walleijadce4a52007-04-23 07:28:11 +00005552007-04-23 Linus Walleij <triad@df.lth.se>
556
557 * src/libmtp.h.in: extend LIBMTP_album_t to include fields for
558 artist and genre. This is sort of required so we must change
559 the API to have it working properly.
560 * src/libmtp.c: dito. Reflect changes in implementation.
561
Linus Walleij953504f2007-04-18 19:01:11 +00005622007-04-18 Linus Walleij <triad@df.lth.se>
563
564 * src/ptp.c: sync to upstream gPhoto source.
565 * src/ptp.h: dito.
566
Richard Low3637e1a2007-04-17 21:25:10 +00005672007-04-17 Richard Low <richard@wentnet.com>
568
569 * src/libusb-glue.c: new device
570
Richard Low856f3452007-04-13 11:21:26 +00005712007-04-13 Richard Low <richard@wentnet.com>
572
573 * src/libusb-glue.c: new devices
574
Linus Walleijfd531632007-04-12 19:49:58 +00005752007-04-12 Linus Walleij <triad@df.lth.se>
576
577 * examples/hotplug.c: fix GOTO style in udev map.
578
Linus Walleije73f74a2007-04-02 08:51:35 +00005792007-04-02 Linus Walleij <triad@df.lth.se>
580
581 * examples/files.c: some WIN32 64bit prefix fixup.
582 * examples/tracks.c: dito.
583
tedbullockcd9f4992007-03-29 06:00:40 +00005842007-03-28 Ted Bullock <tbullock@canada.com>
585
Linus Walleije73f74a2007-04-02 08:51:35 +0000586 * examples/*.c: Print library version number on execution of examples.
587 * src/libmtp.h.in: New version number string to aid version echoing.
tedbullockcd9f4992007-03-29 06:00:40 +0000588
Linus Walleij3968f362007-03-26 19:50:05 +00005892007-03-26 Linus Walleij <triad@df.lth.se>
590
591 * configure.ac: bump version to 0.1.5, release 0.1.5!
592 * src/Makefile.am: bump lib interface revision to libmtp.so.5.2.1,
593 backwards compatible to libmtp.so.5.
594
Richard Low057ea772007-03-24 13:37:38 +00005952007-03-24 Richard Low <richard@wentnet.com>
596
597 * src/libusb-glue.c: fixed bug in zero read code
598
Linus Walleije7df6532007-03-23 08:20:06 +00005992007-03-23 Linus Walleij <triad@df.lth.se>
600
601 * src/libmtp.c: refactored MTP property list handling code to make
602 things simple. Removed the flag for MTP enhanced: there are devices
Linus Walleij3968f362007-03-26 19:50:05 +0000603 that will not work without MTP enhanced (for example the Samsung
604 YP-K5 will only support setting object property lists, not
605 individual object properties, leaving out parts of the MTP basic
606 subset), thus we are allowed to reverse-engineer and implement this
607 for interoperability. I also made the output from
608 LIBMTP_Dump_Device_Info() considerably more verbose, plotting out
609 the ranges and possible enumerated values of all object properties.
610 For example you can see that the secret values associated with
611 Audible.com property 0xda01 is an enumerated value that can be
612 2, 3 or 4 (etc).
Linus Walleije7df6532007-03-23 08:20:06 +0000613
Richard Low15731fe2007-03-22 20:27:20 +00006142007-03-22 Richard Low <richard@wentnet.com>
615
616 * src/ptp.c: PTP_OC_MTP_SetObjPropList implementation
617 * src/ptp.h: ditto
618 * src/libmtp.c: Use PTP_OC_MTP_SetObjPropList when updating track
619 metadata.
620
Richard Lowbf2675c2007-03-18 18:20:26 +00006212007-03-18 Richard Low <richard@wentnet.com>
622
623 * src/libusb-glue.c: new devices. Some of the Samsung players may
Richard Low6c8fea42007-03-18 19:11:52 +0000624 need DEVICE_FLAG_NO_ZERO_READS to be set - I only know the YP-K5
625 needs it.
Richard Lowbf2675c2007-03-18 18:20:26 +0000626
Linus Walleij2be40c72007-03-16 15:19:44 +00006272007-03-16 Linus Walleij <triad@df.lth.se>
628
629 * src/libusb-glue.h: introducing yet another device flag for the
630 irivers bugged firmwares, this is for the Alzheimer disease that
631 cause irivers to forget that OGG files are OGG files.
632 * src/libmtp.c: dito.
633 * src/libusb-glue.c: introduce this flag for all iriver devices.
634 * examples/pathutils.c: found a (small) bug.
635
Linus Walleijd1292842007-03-12 11:52:00 +00006362007-03-12 Linus Walleij <triad@df.lth.se>
637
638 * Makefile.am: cleanup patch from Rafael Laboissiere.
Linus Walleija4942fc2007-03-12 19:23:21 +0000639 * src/libusb-glue.c: refactored device detection code to
640 immediately test if the device is in the known devices list if it
641 does not feature a MTP device descriptor. This fixes the problem
642 of not being able to mix devices with proper descriptors and
643 non-detected devices.
Linus Walleijd1292842007-03-12 11:52:00 +0000644
Linus Walleijc2c96972007-03-07 08:12:31 +00006452007-03-07 Linus Walleij <triad@df.lth.se>
646
647 * src/libusb-glue.c: remove libgphoto2 functions that we
648 don't use.
Linus Walleij45a86372007-03-07 09:36:19 +0000649 * src/libusb-glue.h: export the free_mtpdevice_list() function,
650 new signature of find_usb_devices().
651 * src/libmtp.c: shrink code, pass as list of devices instead of
652 several huge arrays between libmtp.c and USB glue layer in
653 libusb-glue.c using the nifty list struct defined in libusb-glue.h.
Linus Walleijd24a7ab2007-03-07 21:48:43 +0000654 * Eventually release libmtp 0.1.4.
Linus Walleijc2c96972007-03-07 08:12:31 +0000655
Linus Walleijbfcb7922007-03-06 20:14:04 +00006562007-03-06 Linus Walleij <triad@df.lth.se>
657
658 * src/libusb-glue.c: rewrote one more function to be
659 non-recursive, perhaps I found the remaining bug, just
660 cannot see that right now, will test tomorrow.
661
Linus Walleijf27d1cd2007-03-05 14:23:00 +00006622007-03-05 Linus Walleij <triad@df.lth.se>
663
664 * src/libmtp.c: rewrite recursive function to linear.
665 * src/libusb-glue.h: create a wrapper type for the
666 device list instead of abusing the libusb device "next"
667 field in our code.
668 * src/libusb-glue.c: rewrite all recursive functions to
669 linear, use wrapper objects, don't copy the libusb device
670 struct, instead just store a pointer to it. This magically
671 solved a bug...
672
Linus Walleij82265222007-03-04 19:47:08 +00006732007-03-04 Linus Walleij <triad@df.lth.se>
674
675 * src/Makefile.am: bump library interface to libmtp.so.5.2.0
676 backwards compatible with any libmtp.so.5 interface, for
677 imminent libmtp 0.1.4 release.
678
tedbullock848009b2007-03-03 23:20:12 +00006792007-03-03 Ted Bullock <tbullock@canada.com>
tedbullock36f2afb2007-03-03 22:16:44 +0000680
681 * src/libusb-glue.c: Don't echo warnings about reading a single
Linus Walleij82265222007-03-04 19:47:08 +0000682 extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
683 been set
tedbullock848009b2007-03-03 23:20:12 +0000684 * src/libmtp.c: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000685 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +0000686 * src/libmtp.h: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000687 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +0000688 * examples/detect.c: Use new API function to count number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000689 that were detected
tedbullock36f2afb2007-03-03 22:16:44 +0000690
tedbullock848009b2007-03-03 23:20:12 +00006912007-03-03 Linus Walleij <triad@df.lth.se>
Linus Walleij049f50c2007-03-03 20:30:43 +0000692
693 * src/libusb-glue.h: Tiresome ramblings to explain exactly what
tedbullock848009b2007-03-03 23:20:12 +0000694 the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
Linus Walleij049f50c2007-03-03 20:30:43 +0000695 means.
696 * src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
697 and being impressed by our ability to iron out the root cause
Linus Walleij4cec9872007-03-03 21:00:53 +0000698 of this kinda weird thing... Fix a few compile warnings.
Linus Walleij049f50c2007-03-03 20:30:43 +0000699
Richard Low4fd59d62007-03-03 16:34:37 +00007002007-03-03 Richard Low <richard@wentnet.com>
701
702 * src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
703 get object prop lists for Clix since it appears to work.
704 * src/libusb-glue.h: ditto
705 * src/ptp.h: ditto
706
Linus Walleij8a5b8852007-02-28 14:25:39 +00007072007-02-28 Linus Walleij <triad@df.lth.se>
708
709 * src/ptp.h: Upstream accepted our patch so synced it in.
710
Linus Walleij07fde342007-02-27 06:09:46 +00007112007-02-27 Linus Walleij <triad@df.lth.se>
712
713 * src/ptp.c: Synced in upstream version which removes the
714 offending line.
Linus Walleij56b037f2007-02-27 08:04:01 +0000715 * src/libmtp.c: replaces strcmp() for strcasecmp() in folder
716 detection since Windows and some devices (such as iRivers)
717 ignore case and user capital letters for default folders.
Linus Walleij07fde342007-02-27 06:09:46 +0000718
tedbullock6c060952007-02-26 19:07:23 +00007192007-02-22 Ted Bullock <tbullock@canada.com>
720
Linus Walleij07fde342007-02-27 06:09:46 +0000721 * src/ptp.c: Comment out line in ptp_exit_fd_handler that was
722 closing a file descriptor. This is not the responsibility of
723 the PTP Layer. Defect and solution found by Rob Reardon
tedbullock6c060952007-02-26 19:07:23 +0000724
Linus Walleij304433d2007-02-26 08:02:47 +00007252007-02-26 Linus Walleij <triad@df.lth.se>
726
Linus Walleij07fde342007-02-27 06:09:46 +0000727 * src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
728 in the LIBMTP_Update_Track_Metadata() function, there are
729 obviously devices that do not support this, but only
730 PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
731 but we haven't implemented that yet. Problems are
Linus Walleij304433d2007-02-26 08:02:47 +0000732 atleast reported correctly now.
733
Richard Low4eb01122007-02-24 10:11:32 +00007342007-02-24 Richard Low <richard@wentnet.com>
735
736 * src/libusb-glue.c: Fix incorrect transfer sizes causing zero
737 write issues
738
Linus Walleij039d1dd2007-02-23 22:34:07 +00007392007-02-23 Linus Walleij <triad@df.lth.se>
740
741 * src/libmtp.c: Undeprecate getting first device code.
742
Richard Low0f794762007-02-23 22:06:27 +00007432007-02-23 Richard Low <richard@wentnet.com>
744
745 * src/libmtp.c: Fix crash when no devices connected
746
tedbullock2b45f2e2007-02-23 20:16:37 +00007472007-02-23 Ted Bullock <tbullock@canada.com>
748
749 * examples/detect.c: Stub out probe functionality
Richard Low0f794762007-02-23 22:06:27 +0000750 * src/libusb-glue.c: Remove old uni-device cruft code
751 * src/libusb-glue.h: Remove old uni-device cruft code
tedbullock433d2172007-02-23 22:39:12 +0000752 * Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
753 LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project
tedbullock2b45f2e2007-02-23 20:16:37 +0000754
tedbullock20eb8202007-02-23 00:33:36 +00007552007-02-22 Ted Bullock <tbullock@canada.com>
756
757 * examples/albums.c: Updated to use new multi device code
tedbullock51649202007-02-23 03:04:33 +0000758 * examples/tracks.c: Updated to use new multi device code
759 * examples/files.c: Updated to use new multi device code
tedbullock20eb8202007-02-23 00:33:36 +0000760
tedbullocke7713642007-02-18 23:10:09 +00007612007-02-18 Ted Bullock <tbullock@canada.com>
762
763 * src/libmtp.c: Altered the function LIBMTP_Get_First_Device
Linus Walleij039d1dd2007-02-23 22:34:07 +0000764 to wrap around the multi device API. Also added deprecation
765 warnings to avoid using this function
tedbullocke7713642007-02-18 23:10:09 +0000766
Richard Lowd284f072007-02-17 08:52:41 +00007672007-02-17 Richard Low <richard@wentnet.com>
768
Richard Low02724f62007-02-17 09:47:26 +0000769 * src/libusb-glue.c: Debug output fixes and read/write sizes changed
Richard Low507e7fe2007-02-17 09:04:42 +0000770 * src/libmtp.c: memset params to 0 to avoid freeing unalloced
771 memory
Richard Low02724f62007-02-17 09:47:26 +0000772 * src/ptp.h: read/write sizes changed
Richard Lowd284f072007-02-17 08:52:41 +0000773
rreardonbc730092007-02-15 14:32:20 +00007742007-02-15 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon34511b12007-02-15 14:27:56 +0000775
776 * src/libmtp.c: Fix a segfault in new error handling code.
777
Linus Walleij68b19c02007-02-15 11:50:37 +00007782007-02-15 Linus Walleij <triad@df.lth.se>
779
780 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +0000781 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
782 * examples/playlists.c: LGPL boilerplate.
783 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
784 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
785 Shaun, Enrique.
786 * examples/thumb.c: LGPL boilerplate, crediting Robert.
787 * examples/tracks.c: LGPL boilerplate.
788 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +0000789
tedbullock69a445b2007-02-15 07:41:04 +00007902007-02-15 Ted Bullock <tbullock@canada.com>
791
792 * examples/folders.c: Updated to use new multi device code
793 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +0000794 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
795 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +0000796
tedbullock0f033cb2007-02-14 20:56:54 +00007972007-02-14 Ted Bullock <tbullock@canada.com>
798
Linus Walleij57c2eff2007-02-15 12:02:04 +0000799 * src/libusb-glue.c: Wrote three new recursive functions to avoid
800 extreme levels of multiple indirection and to clean the code up
801 a bit for multiple devices.
802 * examples/detect.c: Adjusted function calls to use new multiple
803 device code.
tedbullock0f033cb2007-02-14 20:56:54 +0000804 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
805
Linus Walleij2d3f7b82007-02-14 09:24:20 +00008062007-02-12 Ted Bullock <tbullock@canada.com>
807
808 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +0000809 LIBMTP_Get_Connected_Devices) to add support for multiple devices
810 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000811 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +0000812 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000813 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
814 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
815
Linus Walleij2a1e3a42007-02-12 08:18:31 +00008162007-02-09 Ted Bullock <tbullock@canada.com>
817
818 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +0000819 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +0000820
Linus Walleij7b7a0e22007-02-05 18:22:27 +00008212007-02-05 Linus Walleij <triad@df.lth.se>
822
823 * src/libmtp.h.in: LGPL boilerplate.
824 * src/libusb-glue.h: LGPL boilerplate.
825 * src/unicode.h: LGPL boilerplate.
826 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +0000827 * examples/albumart.c: LGPL boilerplate, crediting Andy.
828 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
829 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
830 * examples/common.h: LGPL boilerplate.
831 * examples/albums.c: LGPL boilerplate, crediting Chris.
832 * examples/connect.c: LGPL boilerplate, crediting Chris.
833 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
834 * examples/detect.c: LGPL boilerplate.
835 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
836 * examples/files.c: LGPL boilerplate.
837 * examples/folders.c: LGPL boilerplate.
838 * examples/format.c: LGPL boilerplate.
839 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
840 * examples/getplaylist.c: LGPL boilerplate.
841 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
842 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +0000843
Linus Walleija8a19cc2007-02-02 22:13:17 +00008442007-02-02 Linus Walleij <triad@df.lth.se>
845
846 * src/ptp.c: sync upstream.
847 * src/ptp.h: dito.
848 * src/ptp-pack.c: dito.
849 * src/libmtp.c: make changes necessary to handle
850 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +0000851 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +0000852 clean-up functions. Fix LGPL boilerplate text.
853 * src/unicode.c: Fix LGPL boilerplate text.
854 * src/utils.c: Fix LGPL boilerplate text.
855 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +0000856
Linus Walleij550d6d52007-01-24 14:32:51 +00008572007-01-24 Ted Bullock <tbullock@canada.com>
858
859 * src/libusb-glue.c: new function to retrieve multiple device
860 instances.
861 * src/libusb-glue.h: dito.
862 * src/libmtp.h.in: new error codes.
863
Linus Walleij070e9b42007-01-22 08:49:28 +00008642007-01-22 Linus Walleij <triad@df.lth.se>
865
866 * examples/albumart.c: use the new errostack.
867 * examples/delfile.c: dito.
868 * examples/detect.c: dito.
869 * examples/emptyfolders.c: dito.
870 * examples/format.c: dito.
871 * examples/getfile.c: dito.
872 * examples/getplaylist.c: dito.
873 * examples/newfolder.c: dito.
874 * examples/newplaylist.c: dito.
875 * examples/playlists.c: dito.
876 * examples/sendfile.c: dito.
877 * examples/sendtr.c: dito.
878 * examples/thumb.c: dito.
879 * src/libmtp.c: add some errors to the stack so we can
880 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +0000881 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
882 function into this file cause it only return USB devices
883 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
884 (but let's not do that renaming since it would break the API).
885 For now let's understand this is a USB-only function by
886 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +0000887
8882007-01-22 Ted Bullock <tbullock@canada.com>
889
890 * src/libusb-glue.c: first hack at creating an interface
891 to retrieve multiple devices.
892 * src/libmtp.h.in: new error codes related to multiple devices.
893
Richard Low7059ed42007-01-21 09:33:34 +00008942007-01-21 Richard Low <richard@wentnet.com>
895
896 * src/libusb-glue.c: more new devices
897
Linus Walleij2715c442007-01-20 22:35:29 +00008982007-01-20 Linus Walleij <triad@df.lth.se>
899
900 * src/libmtp.h.in: error stack handling like in libnjb.
901 just bare bones implementation as of now but the idea
902 should be clearly visible. TODO: add a plethora of
903 errors and adjust examples to make use of the error
904 stack.
905 * src/libmtp.c: dito.
906
Richard Lowa98d0542007-01-20 12:31:07 +00009072007-01-20 Richard Low <richard@wentnet.com>
908
909 * src/libusb-glue.c: new device 'Philips PSA235'
910
Linus Walleij85a4c032007-01-16 20:42:18 +00009112007-01-16 Linus Walleij <triad@df.lth.se>
912
913 * configure.ac: bump and release 0.1.3.
914 * src/Makefile.am: bump interface REVISION. Nothing changed
915 externally really.
916
Linus Walleijd85d2bb2007-01-11 21:32:48 +00009172007-01-11 Linus Walleij <triad@df.lth.se>
918
919 * src/libmtp.sym: updated symbol table for mingw32 but does
920 anyone use this? Also I believe one could auto-generate
921 this some way, just haven't figured out how... Perhaps with
922 a funky script that massage libmtp.h if nothing else.
923
Richard Low4df32f82007-01-11 20:04:39 +00009242007-01-11 Richard Low <richard@wentnet.com>
925
926 * src/libusb-glue.c: a zero read fix
927 * src/libmtp.c: fix spelling mistake
928
Linus Walleijc49c6372007-01-09 00:18:51 +00009292007-01-09 Linus Walleij <triad@df.lth.se>
930
931 * src/libusb-glue.c: repair callbacks, structure the code just
932 a little bit.
933 * src/libmtp.c: don't assign values to writes or reads, use the
934 PTP transport intrinsics instead.
935
Linus Walleij15af8532007-01-07 12:45:20 +00009362007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
937
938 * src/ptp.h: Encoding profile.
939 * src/ptp.c: Dito.
940
Linus Walleij58b62792007-01-07 12:38:59 +00009412006-01-07 Linus Walleij <triad@df.lth.se>
942
943 * src/libusb-glue.c: (re)introduce de-halting of endpoints
944 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +0000945 this causes problems for other archs! Problem was reported
946 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +0000947
Linus Walleija0323272007-01-07 12:21:30 +00009482006-01-07 Marcus Meissner <meissner@suse.de>
949
950 * src/ptp.c: sync to upstream libgphoto2.
951 * src/ptp.h: dito.
952 * src/ptp-pack.c: dito.
953 * libusb-glue.c: fixes to move low-level functions
954 out of ptp.c and into this libmtp-specific portion.
955 libgphoto2 has been similarly altered to use a usb.c
956 file for the low-level stuff. (This was a long needed
957 split anyway.)
958
Linus Walleij58b62792007-01-07 12:38:59 +00009592007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +0000960
961 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +0000962 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +0000963
Linus Walleij99ed83c2007-01-02 18:46:02 +00009642007-01-02 Linus Walleij <triad@df.lth.se>
965
966 * src/libusb-glue.c: fix up comments, remove things
967 refering to stuff we don't have.
968
Richard Lowb89ea942007-01-02 11:47:19 +00009692007-01-02 Richard Low <richard@wentnet.com>
970
971 * src/libmtp.c: another try at split headers/packet sizes
972 * src/ptp.c: ditto
973 * src/libusb-glue.c: ditto
974
Linus Walleijc70a6df2007-01-01 22:19:08 +00009752007-01-01 Linus Walleij <triad@df.lth.se>
976
977 * src/libmtp.c: move default setting of split headers
978 off to ptp.c open session.
979 * src/ptp.c: dito.
980
Richard Low021421e2007-01-01 18:08:57 +00009812007-01-01 Richard Low <richard@wentnet.com>
982
983 * src/libmtp.c: split headers/packet size fix
984 * src/ptp.c: ditto
985 * src/ptp.h: ditto
986 * src/libusb-glue.c: ditto
987
Linus Walleijfa2d1d12007-01-01 17:08:13 +00009882007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
989
990 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
991 addition of AAVT error codes.
992 * src/ptp.c: changes to reflect modifications done in ptp.h
993
Linus Walleija5ab8c42006-12-31 09:25:36 +00009942006-12-31 Linus Walleij <triad@df.lth.se>
995
996 * configure.ac: bump to 0.1.2.
997 * src/Makefile.am: bump interface revision. (Compatible.)
998 * RELEASE 0.1.2.
999
Linus Walleij02ee8802006-12-30 17:27:58 +000010002006-12-30 Linus Walleij <triad@df.lth.se>
1001
1002 * examples/pathutils.c: reflect new filetypes.
1003 * examples/sendtr.c: dito.
1004
Linus Walleij5fb47132006-12-30 15:35:48 +000010052006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
1006
1007 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
1008 codes. added more format object codes flac, m4a, 3gp, aac,
1009 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
1010 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
1011 Added more device property codes.
1012 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
1013 * src/ptp.c: added changes to reflect new extensions, object
1014 codes, device property codes.
1015 * src/libmtp.c: modified mp4 to reflect it is a container format
1016 not a codec. Added more descriptions in init_filemap(). mp4
1017 container format is ambiguous in
1018 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
1019 mp4 searched in video by default. Added comments about this.
1020 Added support for the new format object types.
1021 * src/libmtp.h.in: added constants to reflect changes to
1022 init_filemap().
1023
Richard Lowedd61832006-12-30 12:38:18 +000010242006-12-30 Richard Low <richard@wentnet.com>
1025
1026 * src/libusb-glue.c: fixed bug in debug printing
1027
Richard Lowa6c924c2006-12-29 17:44:28 +000010282006-12-29 Richard Low <richard@wentnet.com>
1029
1030 * src/libmtp.c: Made abstract list creation to be more
1031 WMP like
1032 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +00001033 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +00001034
Linus Walleij784ac3f2006-12-29 10:36:51 +000010352006-12-29 Marcus Meissner <meissner@suse.de>
1036
1037 * src/ptp.h: API changes for libgphoto2 to use the file
1038 retrieveal functions.
1039 * src/ptp.c: dito.
1040 * src/libusb-glue.c: changes in libmtp reflecting the new
1041 API for libgphoto2.
1042
Linus Walleij8609af32006-12-28 21:25:17 +000010432006-12-28 Linus Walleij <triad@df.lth.se>
1044
Linus Walleije2e21182006-12-28 22:36:59 +00001045 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +00001046 * src/Makefile.am: bump interface for release, also autotools.
1047 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +00001048
Linus Walleijd6735f72006-12-19 13:38:29 +000010492006-12-19 Matthew Wilcox <matthew@wil.cx>
1050
1051 * src/ptp.c: fix a (serious) short file bug.
1052
Richard Lowaf20b5d2006-12-17 18:00:59 +000010532006-12-17 Richard Low <richard@wentnet.com>
1054
1055 * src/libmtp.c: don't bail out on failures when setting
1056 metadata.
1057
Linus Walleij037a1252006-12-16 20:36:52 +000010582006-12-16 Linus Walleij <triad@df.lth.se>
1059
1060 * src/ptp.c: sync to upstream.
1061 * src/ptp.h: dito.
1062 * src/ptp-pack.c: dito.
1063
Linus Walleijf8491912006-12-15 10:23:30 +000010642006-12-15 Linus Walleij <triad@df.lth.se>
1065
1066 * src/libmtp.h.in: make the format function take a storage as
1067 parameter. Add comments to device storage.
1068 * src/libmtp.c: dito, fix up some code and docs.
1069 * examples/format.c: make the format command comply with
1070 the new API.
1071
Linus Walleije1ac07e2006-12-14 19:38:59 +000010722006-12-14 Linus Walleij <triad@df.lth.se>
1073
1074 * src/libmtp.c: make get_first_storage_freespace() always query
1075 the first storage when the space is requested. And some other
1076 janitorial stuff.
1077
Linus Walleijb01d18b2006-12-13 12:49:15 +000010782006-12-13 Linus Walleij <triad@df.lth.se>
1079
1080 * src/libusb-glue.c: one more device.
1081 * examples/detect.c: compilation warnings fixed.
1082
rreardon3d583062006-12-13 10:10:27 +000010832006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
1084
1085 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
1086 * src/ptp.h: ditto.
1087
Linus Walleijcd849362006-12-13 12:37:58 +000010882006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +00001089
1090 * src/libmtp.h.in: revamped storage API.
1091 * src/libmtp.c: dito.
1092 * examples/detect.c: dito.
1093
rreardon73d02c92006-12-12 16:45:30 +000010942006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +00001095
1096 * src/libmtp.c: Send_Representative_Sample() updated to
1097 set image height and width, or audio duration and size.
1098
Linus Walleijd0f67702006-12-07 09:56:46 +000010992006-12-07 Linus Walleij <triad@df.lth.se>
1100
Linus Walleija05b9802006-12-08 08:50:30 +00001101 * src/libmtp.h.in: support firmware object type. (Dangerous.)
1102 * src/libmtp.c: dito.
1103
11042006-12-07 Linus Walleij <triad@df.lth.se>
1105
Linus Walleijd0f67702006-12-07 09:56:46 +00001106 * src/libmtp.c: default text folder detection (used in Samsung
1107 Yepp T9) also add a few "My Foo" folder strings, remove the
1108 "remaining directories" kludge.
1109 * src/libmtp.h.in: default text folder.
1110
Linus Walleijf1b02f22006-12-06 09:03:23 +000011112006-12-06 Linus Walleij <triad@df.lth.se>
1112
1113 * src/libmtp.h.in: extend the respresentative sample API a bit.
1114 * src/libmtp.c: dito.
1115 * examples/albumart.c: free memory after use.
1116 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +00001117 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +00001118
Linus Walleijfdef4ae2006-12-05 16:15:51 +000011192006-12-04 Linus Walleij <triad@df.lth.se>
1120
1121 * src/ptp.c: enable split headers on sending object lists again.
1122
11232006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +00001124
1125 * src/libmtp.c: abstract Send_Representative_Sample() so
1126 it can send samples for any format that supports it
1127 * src/libmtp.h.in: same as above
1128 * examples/albumart.c: altered to use new abstract function above
1129 * example/thumb.c: sample program to upload thumbnails
1130 * example/Makefile.am: add sample thumbnail program
1131
Linus Walleijbdfaac22006-12-03 22:32:19 +000011322006-12-03 Linus Walleij <triad@df.lth.se>
1133
1134 * src/libmtp.c: check space on disk before sending
1135 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +00001136 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
1137 into LIBMTP_Send_Representative_Sample().
1138 * src/libmtp.c: dito.
1139 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +00001140
Linus Walleijfa3fbe32006-12-02 20:47:32 +000011412006-12-02 Marcus Meissner <meissner@suse.de>
1142
1143 * examples/Makefile.am: make sure symlinks really end
1144 up in the correct dir.
1145
Linus Walleij6eab3b32006-11-30 22:58:21 +000011462006-11-30 Linus Walleij <triad@df.lth.se>
1147
1148 * src/ptp.c: make Matthews patch thread-safe and fix it
1149 so it will handle more than one surplus packet.
1150 * src/ptp.h: dito.
1151
Richard Lowab0d22d2006-11-30 22:17:49 +000011522006-11-30 Richard Low <richard@wentent.com>
1153
1154 * src/libmtp.c: memset PTPObjectInfo structs to 0
1155
Linus Walleij4bf38dd2006-11-30 21:27:29 +000011562006-11-30 Matthew Wilcox <matthew@wil.cx>
1157
1158 * src/ptp.c: on some devices, surplus packet data is
1159 sometimes returned during read, i.e. a header of the
1160 next package is typically attacked to the incoming
1161 data, as if someone was sending several packets at
1162 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +00001163 * src/libusb-glue.c: revert my own mistakes by making
1164 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +00001165
Linus Walleij9901e222006-11-30 12:28:19 +000011662006-11-30 Linus Walleij <triad@df.lth.se>
1167
Linus Walleij2978f1a2006-11-30 14:00:26 +00001168 * configure.ac: this *is* gonna be libmtp 0.1.0!
1169 * src/Makefile.am: age interface to 4-0-0 to indicate that
1170 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +00001171 * src/libmtp.h.in: removed external object interface.
1172 * src/libmtp.c: dito. Made all object manipulation functions
1173 static.
1174
Richard Lowc7d48d22006-11-29 18:24:55 +000011752006-11-29 Richard Low <richard@wentnet.com>
1176
1177 * src/libusb-glue.c: added new devices
1178
Linus Walleij7beba572006-11-29 08:56:12 +000011792006-11-29 Linus Walleij <triad@df.lth.se>
1180
1181 * src/libusb-glue.c: remove some pointless #include <>
1182 clutter, call usb_set_configuration() as needed by
1183 Windows.
1184 * src/libmtp.c: various fixups to enable use of Windows
1185 <io.h> include file.
1186 * README.windows.txt: added a quick porting guide for
1187 MSVC by Farooq Zaman.
1188
Linus Walleijcf42f452006-11-28 08:32:49 +000011892006-11-28 Linus Walleij <triad@df.lth.se>
1190
1191 * src/libmtp.h.in: removed filetype mapping API. We can handle
1192 everything inside of libmtp now so no need for this.
1193 * src/libmtp.c: dito.
1194
Linus Walleij72e9c2b2006-11-28 08:14:00 +000011952006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +00001196
1197 * examples/files.c: unsigned int sized printout.
1198 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +00001199 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +00001200
Richard Low6c0a6ce2006-11-26 10:42:08 +000012012006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +00001202
Richard Low6c0a6ce2006-11-26 10:42:08 +00001203 * src/libmtp.c: object handles for proplists
1204 * src/ptp-pack.c: ditto
1205 * src/ptp.c: ditto
1206 * src/ptp.h: ditto
1207
Linus Walleijf73de152006-11-25 21:44:44 +000012082006-11-25 Marcus Meissner <marcus@jet.franken.de>
1209
1210 * examples/hotplug.c: adding HAL style XML output for
1211 the devices.
1212 * examples/Makefile.am: fixing a bug in the automake
1213 file (pathutils.h missing!)
1214 * Makefile.am: fix the problem with re-making sources
1215 (you had to run ./autogen.sh before!)
1216
Linus Walleijfe677ac2006-11-23 13:35:00 +000012172006-11-23 Linus Walleij <triad@df.lth.se>
1218
1219 * src/libusb-glue.h: add a new bug flag for devices that
1220 have broken PTP_OC_MTP_GetObjPropList implementations.
1221 * src/libusb-glue.c: state that all iRivers have this problem.
1222 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
1223 for these devices.
1224
12252006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +00001226
1227 * src/libmtp.c: set handle ids for new objects to 0 when
1228 creating new albums and playlists.
1229
Linus Walleij2f5ed5c2006-11-21 07:40:29 +000012302006-11-21 Linus Walleij <triad@df.lth.se>
1231
1232 * src/libmtp.c: enabled enhanced mode for metadata retrieval
1233 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +00001234 * src/libmtp.c: fixed the problem with sending files using
1235 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00001236
Linus Walleij277cd532006-11-20 14:57:46 +000012372006-11-20 Linus Walleij <triad@df.lth.se>
1238
1239 * src/ptp.h: sync to upstream libgphoto2
1240 * src/ptp.c: dito.
1241 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +00001242 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +00001243
12442006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +00001245
1246 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
1247 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +00001248 * examples/emptyfolders.c: new example program for pruning empty
1249 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +00001250
Linus Walleij277cd532006-11-20 14:57:46 +000012512006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +00001252
rreardonbbb4e562006-11-19 22:16:11 +00001253 * src/libmtp.c: use enhanced MTP commands to create playlists and
1254 send files
rreardon508705f2006-11-19 21:27:22 +00001255 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +00001256 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +00001257
Linus Walleijcd849362006-12-13 12:37:58 +000012582006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +00001259
1260 * src/libusb-glue.c: fix error on reconnect.
1261
Linus Walleij277cd532006-11-20 14:57:46 +000012622006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +00001263
1264 * src/ptp.c: tidy up ptp_usb_getdata
1265
Linus Walleij277cd532006-11-20 14:57:46 +000012662006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +00001267
1268 * src/libmtp.c: fixed parent handle for uploaded tracks
1269
Linus Walleij277cd532006-11-20 14:57:46 +000012702006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +00001271
1272 * src/libmtp.c: fixed up album art using enhanced commands.
1273
Linus Walleij277cd532006-11-20 14:57:46 +000012742006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +00001275
1276 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
1277 * src/ptp.c: ditto
1278 * src/ptp.h: ditto
1279 * src/ptp-pack.c: ditto
1280
Linus Walleij277cd532006-11-20 14:57:46 +000012812006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +00001282
Linus Walleijccf28ce2006-11-16 16:06:38 +00001283 * src/libmtp.c: use enhanced MTP commands to create albums and
1284 add detection of the default album folder.
1285 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +00001286
Linus Walleij277cd532006-11-20 14:57:46 +000012872006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +00001288
1289 * src/ptp-pack.c: set string buffer to correct size.
1290
Linus Walleij277cd532006-11-20 14:57:46 +000012912006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +00001292
1293 * examples/tracks.c: really use undeprecated API entry.
1294
Linus Walleij277cd532006-11-20 14:57:46 +000012952006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +00001296
1297 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +00001298 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +00001299 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +00001300 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +00001301 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +00001302 * examples/connect.c: ditto.
1303 * examples/detect.c: ditto.
1304 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +00001305 * src/ptp.c: working on getting object prop lists.
1306 * src/ptp.h: dito.
1307
Linus Walleij277cd532006-11-20 14:57:46 +000013082006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +00001309
1310 * src/libusb-glue.c: added Zen Vision W to devices
1311
Linus Walleij277cd532006-11-20 14:57:46 +000013122006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +00001313
1314 * src/libmtp.c: added checks for supported properties
1315
Linus Walleij277cd532006-11-20 14:57:46 +000013162006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +00001317
1318 * src/libmtp.c: added a check for NULL filenames in
1319 LIBMTP_Get_Folder_List.
1320
Linus Walleij99310d42006-11-01 08:29:39 +000013212006-11-01 Linus Walleij <triad@df.lth.se>
1322
1323 * src/libmtp.h.in: set/get uint8 to/from objects
1324 * src/libmtp.c: send object property list.
1325 * src/ptp.c: dito.
1326 * src/ptp.h: dito.
1327 * src/ptp-pack.c: dito.
1328
mopoke90be30e2006-10-30 08:47:41 +000013292006-10-29 Andy Kelk <andy@mopoke.co.uk>
1330
1331 * examples/albumart.c: simple tool for adding album art.
1332 * src/libmtp.c: graceful handling of players not supporting
1333 abstract album objects.
1334
Linus Walleij0c33ec02006-10-27 10:15:40 +000013352006-10-27 Linus Walleij <triad@df.lth.se>
1336
1337 * src/Makefile.am: bump library interface to reflect the new
1338 album methods.
1339 * configure.ac: bump to 0.0.22 for the next release.
1340
13412006-10-27 Andy Kelk <andy@mopoke.co.uk>
1342
1343 * src/libmtp.c: add support form abstract audio/video albums.
1344 * src/libmtp.h.in: dito.
1345
Linus Walleij7347d0f2006-10-23 07:23:39 +000013462006-10-23 Linus Walleij <triad@df.lth.se>
1347
1348 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
1349 * src/ptp.c: sync to upstream.
1350 * src/ptp.h: dito.
1351 * src/ptp-pack.c: dito.
1352
Linus Walleij9efe75f2006-10-20 09:09:45 +000013532006-10-20 Linus Walleij <triad@df.lth.se>
1354
1355 * Release 0.0.21 to get all the new device support out.
1356
Linus Walleij501ba4d2006-10-16 06:17:04 +000013572006-10-16 Linus Walleij <triad@df.lth.se>
1358
1359 * configure.ac: bump to 0.0.21.
1360 * src/libusb-glue.c: add code to unload a kernel driver for
1361 the primary interface if it is already in use under Linux.
1362 * src/libusb-glue.h: add a device flag to make this possible.
1363
Linus Walleij37253292006-10-11 08:38:14 +000013642006-10-11 Linus Walleij <triad@df.lth.se>
1365
1366 * examples/delfile.c: patch from Chris Debenham
1367 straingtening out the command-line interface a bit
1368 more.
1369
Linus Walleij43ff8fc2006-10-10 11:16:53 +000013702006-10-10 Linus Walleij <triad@df.lth.se>
1371
Linus Walleij37253292006-10-11 08:38:14 +00001372 * examples/delfile.c: patch from Chris Debenham to make
1373 this command take an optional filename as parameter
1374 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +00001375
Linus Walleij955e6ba2006-09-26 16:55:10 +000013762006-09-26 Linus Walleij <triad@df.lth.se>
1377
1378 * libmtp.pc.in: require libusb instead of just linking it.
1379 * configure.ac: bump release to 0.0.20 and release.
1380
Linus Walleijb1318d12006-09-25 14:59:26 +000013812006-09-25 Linus Walleij <triad@df.lth.se>
1382
1383 * examples/evolution-sync.sh: example script to illustrate
1384 to to transfer calendar, task and contact information
1385 to a device supporting this.
1386
Linus Walleij4ef39e62006-09-19 14:11:52 +000013872006-09-19 Linus Walleij <triad@df.lth.se>
1388
1389 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
1390 * src/libmtp.c: dito.
1391 * examples/sendfile.c: support vcard3.
1392
Linus Walleijf248fdd2006-09-16 20:11:40 +000013932006-09-16 Linus Walleij <triad@df.lth.se>
1394
1395 * configure.ac: bump to 0.0.19 and release. There are some
1396 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +00001397 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +00001398
Linus Walleijb8bfcb22006-09-13 12:14:28 +000013992006-09-13 Linus Walleij <triad@df.lth.se>
1400
1401 * examples/format.c: formatting test program.
1402 * examples.Makefile.am: added format.
1403
Linus Walleij13374a42006-09-13 11:55:30 +000014042006-09-13 Andy Kelk <andy@mopoke.co.uk>
1405
1406 * src/libmtp.h.in: added interface to format storage.
1407 * src/libmtp.c: dito.
1408 * src/ptp.c: dito.
1409 * src/ptp.h: dito.
1410
Linus Walleijd31e6192006-09-12 07:55:27 +000014112006-09-12 Linus Walleij <triad@df.lth.se>
1412
1413 * configure.ac: bump release. Released 0.0.18 yesterday.
1414 * src/libmtp.c: do not try to read battery max level unless
1415 the device supports it. (Bug occurred on Toshiba Gigabeat
1416 P10.)
1417
Linus Walleijd5d51c82006-09-11 06:57:50 +000014182006-09-11 Linus Walleij <triad@df.lth.se>
1419
1420 * src/libusb-glue.c: messed around a bit with device descriptor
1421 detection so as to bring closer to libgphoto2 detection algorithm.
1422 I've seen things that might be false positives, possibly USB mass
1423 storage devices with additional MSFT descriptors to indicate they
1424 have Janus DRM.
1425 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
1426 knows that UCS-2 is in machine endianness but Darwin and *BSD does
1427 not. Detect C library and switch accordingly.
1428 * src/unicode.c: retire old unicode code only keep things we cannot
1429 live without. Remove the own internal UCS-2 conversion engine and
1430 the internal iconv() engine and use the one already available in
1431 PTPParams.
1432 * src/unicode.h: dito.
1433
Linus Walleij0558ac52006-09-07 06:55:03 +000014342006-09-07 Linus Walleij <triad@df.lth.se>
1435
1436 * src/libusb-glue.h: added device flags so we can make
1437 the code behave differently on certain devices.
1438 * src/libusb-glue.c: dito, plus removed some debug prints.
1439 * src/libmtp.c: docs.
1440 * src/libmtp.h.in: added device_flags to device list struct.
1441 * src/Makefile.am: bumped to compatible library interface.
1442 * configure.ac: bump version to 0.0.18 (0.0.17 released
1443 yesterday).
1444
Richard Low6ec2cc12006-09-06 16:59:16 +000014452006-09-06 Richard Low <richard@wentnet.com>
1446
1447 * src/libusb-glue.c: changed packet sizes to improve
1448 transfer speeds.
1449 * src/libmtp.c: changed packet sizes to improve transfer
1450 transfer speeds. Also stopped extra ptp_getobjectinfo
1451 calls when getting directories on connect.
1452
Linus Walleij7f0c72e2006-09-06 13:01:58 +000014532006-09-06 Linus Walleij <triad@df.lth.se>
1454
1455 * src/libusb-glue.c: fixed some endpoint size detection
1456 and sending special file sizes stuff. Real hairy bug...
1457 Also messed around a bit with the callbacks.
1458 * src/libmtp.c: changes for callback size detection.
1459
Linus Walleija9310fa2006-09-04 06:47:42 +000014602006-09-04 Linus Walleij <triad@df.lth.se>
1461
1462 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
1463 instead of magic values.
1464
Linus Walleijd7aa5b22006-09-02 11:52:31 +000014652006-09-02 Linus Walleij <triad@df.lth.se>
1466
Linus Walleijcd3eb3d2006-09-02 21:33:22 +00001467 * src/libmtp.c: add some code to have
1468 LIBMTP_Send_File_From_File_Descriptor() accept a stream
1469 if size is set to (uint64_t) -1, plus documentation fixes.
1470 I don't think the streaming code will work but whoever want
1471 to experiment with it has a place to start.
1472 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +00001473
Linus Walleijda9500d2006-08-30 13:17:06 +000014742006-08-30 Linus Walleij <triad@df.lth.se>
1475
1476 * configure.ac: version bump.
1477 * src/libmtp.c: more debug prints.
1478 * src/libusb-glue.c: new iRiver device called Clix. By
1479 the way I released libmtp 0.0.16 yesterday.
1480
Linus Walleija823a702006-08-27 21:27:46 +000014812006-08-28 Linus Walleij <triad@df.lth.se>
1482
1483 * configure.ac: version bump.
1484 * src/ptp-pack.c: upstream has committed my patch giving full
1485 unicode support in libgphoto2 ptp2 camlib. No need for
1486 any more ugly workarounds, plus we now have full unicode
1487 filenames!
1488 * src/ptp.c: dito.
1489 * src/ptp.h: dito.
1490 * src/libmtp.c: revamp to use the new unicode support in
1491 libgphoto2.
1492 * src/unicode.c: remove unused functionality.
1493 * src/unicode.h: dito.
1494
Linus Walleijee73ef22006-08-27 19:56:00 +000014952006-08-27 Linus Walleij <triad@df.lth.se>
1496
1497 * configure.ac: version bump. Release all these fixes
1498 as 0.0.15.
1499 * src/libusb-glue.c: fixed sucky errors. Added callback
1500 code when reading files.
1501 * src/libusb-glue.h: const correctness.
1502 * src/libmtp.h.in: finally fixup the type on the callbacks.
1503 * src/libmtp.c: more accurate sending callbacks. Callbacks
1504 when getting files also, working correctly. Typeing of
1505 callbacks now OK.
1506 * examples/getfile.c: some display bar cosmetic fixup.
1507 * TODO: lots of the things todo are now done.
1508
Linus Walleijd214b9b2006-08-26 22:08:37 +000015092006-08-26 Linus Walleij <triad@df.lth.se>
1510
1511 * configure.ac: version bump.
1512 * src/libmtp.c: fix bug and reinstate callbacks.
1513 * src/libusb-glue.h: dito.
1514 * src/libusb-glue.c: dito.
1515
Linus Walleije7f44be2006-08-25 19:32:29 +000015162006-08-25 Linus Walleij <triad@df.lth.se>
1517
1518 * src/libmtp.c: use the new file descriptor sender function.
1519 Going to release this as 0.0.13.
1520 * src/ptp.c: upstream accepted patches synced in.
1521 * src/ptp.h: dito.
1522
Linus Walleijeab650b2006-08-21 23:26:37 +000015232006-08-22 Linus Walleij <triad@df.lth.se>
1524
Linus Walleij80d134a2006-08-22 21:41:37 +00001525 * src/libusb-glue.c: found a real nasty endpoint bug,
1526 code from libgphoto2 was assuming max packet size of
1527 512 bytes while it is 64 when a USB 2.0 device is
1528 plugged into an UHCI hub.
1529
15302006-08-22 Linus Walleij <triad@df.lth.se>
1531
Linus Walleijeab650b2006-08-21 23:26:37 +00001532 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
1533
Linus Walleij924236a2006-08-20 22:17:58 +000015342006-08-21 Linus Walleij <triad@df.lth.se>
1535
1536 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +00001537 as result of experiments by Gavin McCullagh. Upstream
1538 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +00001539 Move iconv() converters into device struct for thread
1540 safety.
Linus Walleij96c62432006-08-21 10:04:02 +00001541 * src/ptp.c: sync to upstream which merges patch to get
1542 file directly to file descriptor.
1543 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +00001544 * src/unicode.c: move iconv() converters into the device
1545 struct for thread safety.
1546 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +00001547
Linus Walleij30658792006-08-19 22:18:55 +000015482006-08-20 Linus Walleij <triad@df.lth.se>
1549
1550 * src/libmtp.h.in: set friendly name and sync partner,
1551 rename ownername to friendlyname.
1552 * src/libmtp.c: dito.
1553 * examples/detect.c: reflect changes.
1554 * src/Makefile.am: interface is incompatible so age it.
1555
Linus Walleijfae27482006-08-19 20:13:25 +000015562006-08-19 Linus Walleij <triad@df.lth.se>
1557
1558 * src/libmtp.h.in: add function to get syncronization
1559 partner for the device.
1560 * src/libmtp.c: dito.
1561 * examples/detect.c: use that function.
1562 * src/Makefile.am: backward-compatible interface bump.
1563
Linus Walleij16571dc2006-08-17 20:27:46 +000015642006-08-17 Linus Walleij <triad@df.lth.se>
1565
1566 * configure.ac: bump to 0.0.12 and require iconv.h.
1567
15682006-08-16 Linus Walleij <triad@df.lth.se>
1569
1570 * src/unicode.c: remove bigendian weirdness and switch
1571 to using iconv() instead.
1572 * src/unicode.h: dito.
1573 * src/libmtp.c: reflect changes.
1574
Linus Walleij3e188f12006-08-09 20:46:05 +000015752006-08-09 Linus Walleij <triad@df.lth.se>
1576
1577 * Release libmtp 0.0.11.
1578
Linus Walleij2eb884b2006-08-04 19:17:36 +000015792006-08-04 Linus Walleij <triad@df.lth.se>
1580
1581 * src/libmtp.c: patch from Dan Aloni to make sendfile
1582 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +00001583 * src/libusb-glue.c: patch from Andy Kelk to avoid
1584 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +00001585 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +00001586
Linus Walleijaa4b0752006-07-26 22:21:04 +000015872006-07-27 Linus Walleij <triad@df.lth.se>
1588
1589 * Release libmtp 0.0.10.
1590
Linus Walleij17b55ea2006-07-26 13:54:00 +000015912006-07-26 Linus Walleij <triad@df.lth.se>
1592
1593 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +00001594 * src/libmtp.c: only set metdata properties supported by
1595 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +00001596 * src/ptp.c: sync to upstream.
1597 * src/ptp.h: sync to upstream.
1598 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +00001599
Linus Walleijc187cb92006-06-22 17:58:13 +000016002006-06-22 Linus Walleij <triad@df.lth.se>
1601
1602 * Release libmtp 0.0.9.
1603
Linus Walleij8ab54262006-06-21 07:12:28 +000016042006-06-21 Linus Walleij <triad@df.lth.se>
1605
1606 * src/libmtp.h.in: added function to retrieve supported
1607 filetypes.
1608 * src/libmtp.c: ditto.
1609 * examples/detect.c: use that function.
1610
Linus Walleijcf223e62006-06-19 09:31:53 +000016112006-06-19 Linus Walleij <triad@df.lth.se>
1612
1613 * src/unicode.c: support all endianness, detect
1614 byte-order-mark
1615 * src/unicode.h: ditto.
1616 * src/libmtp.c: ditto.
1617 * examples/detect.c: use proper tempfile function.
1618 * src/libmtp.h.in: add some more track properties.
1619 * src/libmtp.c: ditto.
1620 * examples/tracks.c: ditto.
1621
Linus Walleij2e4b5f92006-06-16 14:00:49 +000016222006-06-16 Linus Walleij <triad@df.lth.se>
1623
1624 * src/libmtp.h.in: new interfaces for single metadata post
1625 retrieveal.
1626 * src/libmtp.c: ditto.
1627 * examples/playlists.c: display track info using the new
1628 individual track metadata retrieveal method.
1629 * examples/getplaylist.c: ditto.
1630
Linus Walleij05ccbe72006-06-13 07:46:58 +000016312006-06-13 Linus Walleij <triad@df.lth.se>
1632
1633 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +00001634 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001635 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +00001636 we can find them. Retrieve device secure time and cert
1637 out of sheer curiosity.
1638 * src/ptp.c: sync to libgphoto2 with my patches.
1639 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001640
Linus Walleij438bd7f2006-06-08 11:35:44 +000016412006-06-07 Linus Walleij <triad@df.lth.se>
1642
1643 * src/libmtp.h.in: new playlist API and refactorings.
1644 * src/libmtp.c: ditto, and refactorings.
1645 * src/unicode.h: const correctness.
1646 * src/unicode.c: ditto.
1647 * examples/playlists.c: new example program.
1648 * configure.ac: bump to 0.0.9
1649 * src/Makefile.am: bump library interface.
1650
Linus Walleij52e3ac52006-06-05 10:30:00 +000016512006-06-05 Linus Walleij <triad@df.lth.se>
1652
1653 * examples/sendtr.c: fixed annoying bug that made this
1654 program totally useless.
1655 * src/libmtp.c: cosmetics.
1656 * configure.ac: bump to 0.0.8.
1657
Linus Walleij345a3372006-06-03 20:55:25 +000016582006-06-03 Linus Walleij <triad@df.lth.se>
1659
1660 * src/libmtp.c: metadata bugs, album name and genre
1661 confused. Fixe it and released libmtp 0.0.7.
1662
Linus Walleijdc09dc02006-06-01 14:23:41 +000016632006-06-01 Linus Walleij <triad@df.lth.se>
1664
1665 * Released libmtp 0.0.6.
1666
Linus Walleij549ec4d2006-05-31 19:59:52 +000016672006-05-31 Linus Walleij <triad@df.lth.se>
1668
1669 * src/libmtp.c: fixed mapping for JPEG vs JFIF
1670 * src/libmtp.h.in: added proper type for JPEG
1671 * examples/sendfile.c: send proper JPEG type
1672
Linus Walleijd3fdd972006-05-30 15:51:37 +000016732006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
1674
1675 * src/libmtp.c: fixed a bug in update metadata due to
1676 bad use of return code.
1677 * src/libusb-glue.c: fixed a loop exiting problem with
1678 good 'ol GOTO.
1679
Linus Walleij9b1fcd92006-05-29 08:35:29 +000016802006-05-29 Linus Walleij <triad@df.lth.se>
1681
1682 * src/libusb-glue.c: one more device.
1683 * doc/examples.h: produce correct documentation.
1684 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +00001685 * src/ptp.c: sync to libgphoto2.
1686 * src/ptp.h: ditto.
1687 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +00001688 * src/libmtp.c: fixed all filetype API related functions
1689 not to use any PTP intrinsic defines at all, made all
1690 parameters to functions use the internal libmtp interface
1691 enumerations and definitions. Removed LIBMTP_Release():
1692 we can live with the memory lost during init. You're not
1693 supposed to re-initialize the device. Consequently removed
1694 the delete function that cleaned the filetype assoc list.
1695 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001696
ravelox088180b2006-05-26 23:55:40 +000016972006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
1698
1699 * src/libmtp.c: refactored object handling to be more generic
1700 * src/libmtp.h.in: ditto
1701 * examples/refactortest.c: Added simple example to use refactoring
1702 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001703 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
1704 for playlist handling
1705 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +00001706
Linus Walleij1fd2d272006-05-08 09:22:01 +000017072006-05-08 Linus Walleij <triad@df.lth.se>
1708
1709 * src/libmtp.h.in: add simple detection function.
1710 * src/libusb-glue.c: implement MTP "OS descriptor" for
1711 looking for MTP devices.
1712 * examples/detect.c: make it possible to do very
1713 rudimentary detection with "detect -p".
1714 * configure.ac: bump to 0.0.5.
1715
Linus Walleij685137f2006-05-07 18:09:02 +000017162006-05-07 Linus Walleij <triad@df.lth.se>
1717
1718 * COPYING: since we no longer use any parts of libptp2
1719 and only files from libgphoto2, we switch to the GNU
1720 Lesser General Public License (GNU LGPL). libptp2 is
1721 a derived work from libgphoto2, and so is libmtp, there
1722 are no remnants of libptp2 in libmtp anymore.
1723
Linus Walleij16c51f02006-05-04 13:20:22 +000017242006-05-04 Linus Walleij <triad@df.lth.se>
1725
1726 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +00001727 * src/libmtp.c: respectfully rearranged to use a filetype mapping
1728 table.
1729 * src/ptp-pack.c: real nasty unicode packing bug.
1730 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +00001731
Linus Walleijd6a49972006-05-02 08:24:54 +000017322006-05-02 Linus Walleij <triad@df.lth.se>
1733
1734 * src/libmtp.c: general shaping up for release. All track
1735 and file sending functions now respects a parent ID to be
1736 sent along with files and tracks.
1737 * src/libmtp.h.in: dito.
1738 * src/libusb-glue.c: dito.
1739 * examples/sendfile.c: interface dependency changes.
1740 * examples/sendtr.c: dito.
1741
Linus Walleijc60275a2006-04-30 10:58:11 +000017422006-04-30 Linus Walleij <triad@df.lth.se>
1743
1744 * src/ptp.c: sync upstream.
1745 * src/ptp.h: dito.
1746
Linus Walleij370c68d2006-04-27 14:19:01 +000017472006-04-27 Linus Walleij <triad@df.lth.se>
1748
1749 * examples/sendfile.c: first file sender program based
1750 on API implementation and changes by Chris Allegretta.
1751 * examples/Makefile.am: new program, new entry.
1752 * src/libmtp.c: reflect this new functionality.
1753 * src/libmtp.h.in: dito.
1754
Linus Walleijb02a0662006-04-25 08:05:09 +000017552006-04-25 Linus Walleij <triad@df.lth.se>
1756
1757 * Rebased the sources around libgphoto2 instead.
1758 This was a major revision...
1759 * src/ptp.c: imported libgphoto2 version verbatim.
1760 * src/ptp.h: imported libgphoto2 version, minor patch.
1761 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +00001762 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +00001763 * src/mtp.c: dropped, since all functions are now in ptp.c
1764 * src/mtp-pack.c: dropped, same reason.
1765 * src/mtp.h: dropped, same reason.
1766 * src/mtp-pack.h: dropped, same reason.
1767
Linus Walleije5f3ad42006-04-21 07:44:36 +000017682006-04-21 Linus Walleij <triad@df.lth.se>
1769
Linus Walleij902c0b92006-04-21 10:52:48 +00001770 * Released libmtp 0.0.3
1771 * Bumped source to 0.0.4
1772
17732006-04-21 Linus Walleij <triad@df.lth.se>
1774
Linus Walleije5f3ad42006-04-21 07:44:36 +00001775 * src/ptp-pack.c: GCC 4.x compilation patch from
1776 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00001777 * src/libusb-glue.c: New Samsung device and some
1778 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00001779 * src/ptp.h: some defines from libgphoto2 to get
1780 a bit more compatible.
1781 * src/libmtp.c: Added a folder API implementation by
1782 Dave "ravelox" Kelly.
1783 * src/libmtp.h.in: dito.
1784 * examples/folders.c: dito.
1785 * examples/newfolder.c: dito.
1786 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00001787
Linus Walleij6fd2f082006-03-28 07:19:22 +000017882006-03-28 Linus Walleij <triad@df.lth.se>
1789
1790 * m4/*: updated macros to work with GCC 4.1.0.
1791 * examples/hotplug.c: new program to create device
1792 ID lists.
1793 * libmtp.rules: now an auto-generated file.
1794 * libmtp.usermap: now an auto-generated file.
1795
Linus Walleijf6bc1782006-03-24 15:12:47 +000017962006-03-24 Linus Walleij <triad@df.lth.se>
1797
1798 * Beginning a file API, fixed some example program
1799 names and such.
1800
Linus Walleij6946ac52006-03-21 06:51:22 +000018012006-03-18 Linus Walleij <triad@df.lth.se>
1802
1803 * Fixed up callback interface to a simpler version,
1804 the old one was bloated stuff from libnjb anyway.
1805 Bump to 0.0.2.
1806
Linus Walleij9b28da32006-03-16 13:47:58 +000018072006-03-16 Linus Walleij <triad@df.lth.se>
1808
1809 * Fixed the .h file and implementation so you really only
1810 need this one .h file to interface the library.
1811
Linus Walleij80124062006-03-15 10:26:09 +000018122006-03-15 Linus Walleij <triad@df.lth.se>
1813
1814 * Added three device information retrieval functions.
1815
Linus Walleij15e344f2006-03-06 15:15:00 +000018162006-03-06 Linus Walleij <triad@df.lth.se>
1817
1818 * Moving some things around to structure the source. More
1819 will be needed...
1820
Linus Walleij93218602006-02-27 08:53:38 +000018212006-02-27 Linus Walleij <triad@df.lth.se>
1822
1823 * Release libmtp 0.0.1 so people have something to play with,
1824 what the heck. Probably saves someones day.
1825
Linus Walleij95698cd2006-02-24 10:40:40 +000018262006-02-24 Linus Walleij <triad@df.lth.se>
1827
1828 * Deltr example program to delete tracks, plus corresponding
1829 interface call.
1830
Linus Walleij17e39f72006-02-23 15:54:28 +000018312006-02-23 Linus Walleij <triad@df.lth.se>
1832
1833 * Fixed up sendtr program and metadata tagging function that is
1834 used after sending files.
1835
Linus Walleij394bbbe2006-02-22 16:10:53 +000018362006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00001837
Linus Walleij394bbbe2006-02-22 16:10:53 +00001838 * Untested gettr.c and sendtr.c programs to get and send tracks
1839 created.
1840
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000018412006-01-30 Linus Walleij <triad@df.lth.se>
1842
1843 * Created the initial GNU source directory structure.
1844 * Added the most basic files.