blob: 2c6edc63d2fec20fee210db42e241d6f70a911e4 [file] [log] [blame]
Linus Walleijb8bfcb22006-09-13 12:14:28 +000012006-09-13 Linus Walleij <triad@df.lth.se>
2
3 * examples/format.c: formatting test program.
4 * examples.Makefile.am: added format.
5
Linus Walleij13374a42006-09-13 11:55:30 +000062006-09-13 Andy Kelk <andy@mopoke.co.uk>
7
8 * src/libmtp.h.in: added interface to format storage.
9 * src/libmtp.c: dito.
10 * src/ptp.c: dito.
11 * src/ptp.h: dito.
12
Linus Walleijd31e6192006-09-12 07:55:27 +0000132006-09-12 Linus Walleij <triad@df.lth.se>
14
15 * configure.ac: bump release. Released 0.0.18 yesterday.
16 * src/libmtp.c: do not try to read battery max level unless
17 the device supports it. (Bug occurred on Toshiba Gigabeat
18 P10.)
19
Linus Walleijd5d51c82006-09-11 06:57:50 +0000202006-09-11 Linus Walleij <triad@df.lth.se>
21
22 * src/libusb-glue.c: messed around a bit with device descriptor
23 detection so as to bring closer to libgphoto2 detection algorithm.
24 I've seen things that might be false positives, possibly USB mass
25 storage devices with additional MSFT descriptors to indicate they
26 have Janus DRM.
27 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
28 knows that UCS-2 is in machine endianness but Darwin and *BSD does
29 not. Detect C library and switch accordingly.
30 * src/unicode.c: retire old unicode code only keep things we cannot
31 live without. Remove the own internal UCS-2 conversion engine and
32 the internal iconv() engine and use the one already available in
33 PTPParams.
34 * src/unicode.h: dito.
35
Linus Walleij0558ac52006-09-07 06:55:03 +0000362006-09-07 Linus Walleij <triad@df.lth.se>
37
38 * src/libusb-glue.h: added device flags so we can make
39 the code behave differently on certain devices.
40 * src/libusb-glue.c: dito, plus removed some debug prints.
41 * src/libmtp.c: docs.
42 * src/libmtp.h.in: added device_flags to device list struct.
43 * src/Makefile.am: bumped to compatible library interface.
44 * configure.ac: bump version to 0.0.18 (0.0.17 released
45 yesterday).
46
Richard Low6ec2cc12006-09-06 16:59:16 +0000472006-09-06 Richard Low <richard@wentnet.com>
48
49 * src/libusb-glue.c: changed packet sizes to improve
50 transfer speeds.
51 * src/libmtp.c: changed packet sizes to improve transfer
52 transfer speeds. Also stopped extra ptp_getobjectinfo
53 calls when getting directories on connect.
54
Linus Walleij7f0c72e2006-09-06 13:01:58 +0000552006-09-06 Linus Walleij <triad@df.lth.se>
56
57 * src/libusb-glue.c: fixed some endpoint size detection
58 and sending special file sizes stuff. Real hairy bug...
59 Also messed around a bit with the callbacks.
60 * src/libmtp.c: changes for callback size detection.
61
Linus Walleija9310fa2006-09-04 06:47:42 +0000622006-09-04 Linus Walleij <triad@df.lth.se>
63
64 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
65 instead of magic values.
66
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000672006-09-02 Linus Walleij <triad@df.lth.se>
68
Linus Walleijcd3eb3d2006-09-02 21:33:22 +000069 * src/libmtp.c: add some code to have
70 LIBMTP_Send_File_From_File_Descriptor() accept a stream
71 if size is set to (uint64_t) -1, plus documentation fixes.
72 I don't think the streaming code will work but whoever want
73 to experiment with it has a place to start.
74 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +000075
Linus Walleijda9500d2006-08-30 13:17:06 +0000762006-08-30 Linus Walleij <triad@df.lth.se>
77
78 * configure.ac: version bump.
79 * src/libmtp.c: more debug prints.
80 * src/libusb-glue.c: new iRiver device called Clix. By
81 the way I released libmtp 0.0.16 yesterday.
82
Linus Walleija823a702006-08-27 21:27:46 +0000832006-08-28 Linus Walleij <triad@df.lth.se>
84
85 * configure.ac: version bump.
86 * src/ptp-pack.c: upstream has committed my patch giving full
87 unicode support in libgphoto2 ptp2 camlib. No need for
88 any more ugly workarounds, plus we now have full unicode
89 filenames!
90 * src/ptp.c: dito.
91 * src/ptp.h: dito.
92 * src/libmtp.c: revamp to use the new unicode support in
93 libgphoto2.
94 * src/unicode.c: remove unused functionality.
95 * src/unicode.h: dito.
96
Linus Walleijee73ef22006-08-27 19:56:00 +0000972006-08-27 Linus Walleij <triad@df.lth.se>
98
99 * configure.ac: version bump. Release all these fixes
100 as 0.0.15.
101 * src/libusb-glue.c: fixed sucky errors. Added callback
102 code when reading files.
103 * src/libusb-glue.h: const correctness.
104 * src/libmtp.h.in: finally fixup the type on the callbacks.
105 * src/libmtp.c: more accurate sending callbacks. Callbacks
106 when getting files also, working correctly. Typeing of
107 callbacks now OK.
108 * examples/getfile.c: some display bar cosmetic fixup.
109 * TODO: lots of the things todo are now done.
110
Linus Walleijd214b9b2006-08-26 22:08:37 +00001112006-08-26 Linus Walleij <triad@df.lth.se>
112
113 * configure.ac: version bump.
114 * src/libmtp.c: fix bug and reinstate callbacks.
115 * src/libusb-glue.h: dito.
116 * src/libusb-glue.c: dito.
117
Linus Walleije7f44be2006-08-25 19:32:29 +00001182006-08-25 Linus Walleij <triad@df.lth.se>
119
120 * src/libmtp.c: use the new file descriptor sender function.
121 Going to release this as 0.0.13.
122 * src/ptp.c: upstream accepted patches synced in.
123 * src/ptp.h: dito.
124
Linus Walleijeab650b2006-08-21 23:26:37 +00001252006-08-22 Linus Walleij <triad@df.lth.se>
126
Linus Walleij80d134a2006-08-22 21:41:37 +0000127 * src/libusb-glue.c: found a real nasty endpoint bug,
128 code from libgphoto2 was assuming max packet size of
129 512 bytes while it is 64 when a USB 2.0 device is
130 plugged into an UHCI hub.
131
1322006-08-22 Linus Walleij <triad@df.lth.se>
133
Linus Walleijeab650b2006-08-21 23:26:37 +0000134 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
135
Linus Walleij924236a2006-08-20 22:17:58 +00001362006-08-21 Linus Walleij <triad@df.lth.se>
137
138 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000139 as result of experiments by Gavin McCullagh. Upstream
140 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000141 Move iconv() converters into device struct for thread
142 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000143 * src/ptp.c: sync to upstream which merges patch to get
144 file directly to file descriptor.
145 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000146 * src/unicode.c: move iconv() converters into the device
147 struct for thread safety.
148 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000149
Linus Walleij30658792006-08-19 22:18:55 +00001502006-08-20 Linus Walleij <triad@df.lth.se>
151
152 * src/libmtp.h.in: set friendly name and sync partner,
153 rename ownername to friendlyname.
154 * src/libmtp.c: dito.
155 * examples/detect.c: reflect changes.
156 * src/Makefile.am: interface is incompatible so age it.
157
Linus Walleijfae27482006-08-19 20:13:25 +00001582006-08-19 Linus Walleij <triad@df.lth.se>
159
160 * src/libmtp.h.in: add function to get syncronization
161 partner for the device.
162 * src/libmtp.c: dito.
163 * examples/detect.c: use that function.
164 * src/Makefile.am: backward-compatible interface bump.
165
Linus Walleij16571dc2006-08-17 20:27:46 +00001662006-08-17 Linus Walleij <triad@df.lth.se>
167
168 * configure.ac: bump to 0.0.12 and require iconv.h.
169
1702006-08-16 Linus Walleij <triad@df.lth.se>
171
172 * src/unicode.c: remove bigendian weirdness and switch
173 to using iconv() instead.
174 * src/unicode.h: dito.
175 * src/libmtp.c: reflect changes.
176
Linus Walleij3e188f12006-08-09 20:46:05 +00001772006-08-09 Linus Walleij <triad@df.lth.se>
178
179 * Release libmtp 0.0.11.
180
Linus Walleij2eb884b2006-08-04 19:17:36 +00001812006-08-04 Linus Walleij <triad@df.lth.se>
182
183 * src/libmtp.c: patch from Dan Aloni to make sendfile
184 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000185 * src/libusb-glue.c: patch from Andy Kelk to avoid
186 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000187 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000188
Linus Walleijaa4b0752006-07-26 22:21:04 +00001892006-07-27 Linus Walleij <triad@df.lth.se>
190
191 * Release libmtp 0.0.10.
192
Linus Walleij17b55ea2006-07-26 13:54:00 +00001932006-07-26 Linus Walleij <triad@df.lth.se>
194
195 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000196 * src/libmtp.c: only set metdata properties supported by
197 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000198 * src/ptp.c: sync to upstream.
199 * src/ptp.h: sync to upstream.
200 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000201
Linus Walleijc187cb92006-06-22 17:58:13 +00002022006-06-22 Linus Walleij <triad@df.lth.se>
203
204 * Release libmtp 0.0.9.
205
Linus Walleij8ab54262006-06-21 07:12:28 +00002062006-06-21 Linus Walleij <triad@df.lth.se>
207
208 * src/libmtp.h.in: added function to retrieve supported
209 filetypes.
210 * src/libmtp.c: ditto.
211 * examples/detect.c: use that function.
212
Linus Walleijcf223e62006-06-19 09:31:53 +00002132006-06-19 Linus Walleij <triad@df.lth.se>
214
215 * src/unicode.c: support all endianness, detect
216 byte-order-mark
217 * src/unicode.h: ditto.
218 * src/libmtp.c: ditto.
219 * examples/detect.c: use proper tempfile function.
220 * src/libmtp.h.in: add some more track properties.
221 * src/libmtp.c: ditto.
222 * examples/tracks.c: ditto.
223
Linus Walleij2e4b5f92006-06-16 14:00:49 +00002242006-06-16 Linus Walleij <triad@df.lth.se>
225
226 * src/libmtp.h.in: new interfaces for single metadata post
227 retrieveal.
228 * src/libmtp.c: ditto.
229 * examples/playlists.c: display track info using the new
230 individual track metadata retrieveal method.
231 * examples/getplaylist.c: ditto.
232
Linus Walleij05ccbe72006-06-13 07:46:58 +00002332006-06-13 Linus Walleij <triad@df.lth.se>
234
235 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000236 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000237 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000238 we can find them. Retrieve device secure time and cert
239 out of sheer curiosity.
240 * src/ptp.c: sync to libgphoto2 with my patches.
241 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000242
Linus Walleij438bd7f2006-06-08 11:35:44 +00002432006-06-07 Linus Walleij <triad@df.lth.se>
244
245 * src/libmtp.h.in: new playlist API and refactorings.
246 * src/libmtp.c: ditto, and refactorings.
247 * src/unicode.h: const correctness.
248 * src/unicode.c: ditto.
249 * examples/playlists.c: new example program.
250 * configure.ac: bump to 0.0.9
251 * src/Makefile.am: bump library interface.
252
Linus Walleij52e3ac52006-06-05 10:30:00 +00002532006-06-05 Linus Walleij <triad@df.lth.se>
254
255 * examples/sendtr.c: fixed annoying bug that made this
256 program totally useless.
257 * src/libmtp.c: cosmetics.
258 * configure.ac: bump to 0.0.8.
259
Linus Walleij345a3372006-06-03 20:55:25 +00002602006-06-03 Linus Walleij <triad@df.lth.se>
261
262 * src/libmtp.c: metadata bugs, album name and genre
263 confused. Fixe it and released libmtp 0.0.7.
264
Linus Walleijdc09dc02006-06-01 14:23:41 +00002652006-06-01 Linus Walleij <triad@df.lth.se>
266
267 * Released libmtp 0.0.6.
268
Linus Walleij549ec4d2006-05-31 19:59:52 +00002692006-05-31 Linus Walleij <triad@df.lth.se>
270
271 * src/libmtp.c: fixed mapping for JPEG vs JFIF
272 * src/libmtp.h.in: added proper type for JPEG
273 * examples/sendfile.c: send proper JPEG type
274
Linus Walleijd3fdd972006-05-30 15:51:37 +00002752006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
276
277 * src/libmtp.c: fixed a bug in update metadata due to
278 bad use of return code.
279 * src/libusb-glue.c: fixed a loop exiting problem with
280 good 'ol GOTO.
281
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002822006-05-29 Linus Walleij <triad@df.lth.se>
283
284 * src/libusb-glue.c: one more device.
285 * doc/examples.h: produce correct documentation.
286 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000287 * src/ptp.c: sync to libgphoto2.
288 * src/ptp.h: ditto.
289 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000290 * src/libmtp.c: fixed all filetype API related functions
291 not to use any PTP intrinsic defines at all, made all
292 parameters to functions use the internal libmtp interface
293 enumerations and definitions. Removed LIBMTP_Release():
294 we can live with the memory lost during init. You're not
295 supposed to re-initialize the device. Consequently removed
296 the delete function that cleaned the filetype assoc list.
297 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000298
ravelox088180b2006-05-26 23:55:40 +00002992006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
300
301 * src/libmtp.c: refactored object handling to be more generic
302 * src/libmtp.h.in: ditto
303 * examples/refactortest.c: Added simple example to use refactoring
304 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000305 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
306 for playlist handling
307 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000308
Linus Walleij1fd2d272006-05-08 09:22:01 +00003092006-05-08 Linus Walleij <triad@df.lth.se>
310
311 * src/libmtp.h.in: add simple detection function.
312 * src/libusb-glue.c: implement MTP "OS descriptor" for
313 looking for MTP devices.
314 * examples/detect.c: make it possible to do very
315 rudimentary detection with "detect -p".
316 * configure.ac: bump to 0.0.5.
317
Linus Walleij685137f2006-05-07 18:09:02 +00003182006-05-07 Linus Walleij <triad@df.lth.se>
319
320 * COPYING: since we no longer use any parts of libptp2
321 and only files from libgphoto2, we switch to the GNU
322 Lesser General Public License (GNU LGPL). libptp2 is
323 a derived work from libgphoto2, and so is libmtp, there
324 are no remnants of libptp2 in libmtp anymore.
325
Linus Walleij16c51f02006-05-04 13:20:22 +00003262006-05-04 Linus Walleij <triad@df.lth.se>
327
328 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000329 * src/libmtp.c: respectfully rearranged to use a filetype mapping
330 table.
331 * src/ptp-pack.c: real nasty unicode packing bug.
332 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000333
Linus Walleijd6a49972006-05-02 08:24:54 +00003342006-05-02 Linus Walleij <triad@df.lth.se>
335
336 * src/libmtp.c: general shaping up for release. All track
337 and file sending functions now respects a parent ID to be
338 sent along with files and tracks.
339 * src/libmtp.h.in: dito.
340 * src/libusb-glue.c: dito.
341 * examples/sendfile.c: interface dependency changes.
342 * examples/sendtr.c: dito.
343
Linus Walleijc60275a2006-04-30 10:58:11 +00003442006-04-30 Linus Walleij <triad@df.lth.se>
345
346 * src/ptp.c: sync upstream.
347 * src/ptp.h: dito.
348
Linus Walleij370c68d2006-04-27 14:19:01 +00003492006-04-27 Linus Walleij <triad@df.lth.se>
350
351 * examples/sendfile.c: first file sender program based
352 on API implementation and changes by Chris Allegretta.
353 * examples/Makefile.am: new program, new entry.
354 * src/libmtp.c: reflect this new functionality.
355 * src/libmtp.h.in: dito.
356
Linus Walleijb02a0662006-04-25 08:05:09 +00003572006-04-25 Linus Walleij <triad@df.lth.se>
358
359 * Rebased the sources around libgphoto2 instead.
360 This was a major revision...
361 * src/ptp.c: imported libgphoto2 version verbatim.
362 * src/ptp.h: imported libgphoto2 version, minor patch.
363 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000364 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000365 * src/mtp.c: dropped, since all functions are now in ptp.c
366 * src/mtp-pack.c: dropped, same reason.
367 * src/mtp.h: dropped, same reason.
368 * src/mtp-pack.h: dropped, same reason.
369
Linus Walleije5f3ad42006-04-21 07:44:36 +00003702006-04-21 Linus Walleij <triad@df.lth.se>
371
Linus Walleij902c0b92006-04-21 10:52:48 +0000372 * Released libmtp 0.0.3
373 * Bumped source to 0.0.4
374
3752006-04-21 Linus Walleij <triad@df.lth.se>
376
Linus Walleije5f3ad42006-04-21 07:44:36 +0000377 * src/ptp-pack.c: GCC 4.x compilation patch from
378 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000379 * src/libusb-glue.c: New Samsung device and some
380 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000381 * src/ptp.h: some defines from libgphoto2 to get
382 a bit more compatible.
383 * src/libmtp.c: Added a folder API implementation by
384 Dave "ravelox" Kelly.
385 * src/libmtp.h.in: dito.
386 * examples/folders.c: dito.
387 * examples/newfolder.c: dito.
388 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000389
Linus Walleij6fd2f082006-03-28 07:19:22 +00003902006-03-28 Linus Walleij <triad@df.lth.se>
391
392 * m4/*: updated macros to work with GCC 4.1.0.
393 * examples/hotplug.c: new program to create device
394 ID lists.
395 * libmtp.rules: now an auto-generated file.
396 * libmtp.usermap: now an auto-generated file.
397
Linus Walleijf6bc1782006-03-24 15:12:47 +00003982006-03-24 Linus Walleij <triad@df.lth.se>
399
400 * Beginning a file API, fixed some example program
401 names and such.
402
Linus Walleij6946ac52006-03-21 06:51:22 +00004032006-03-18 Linus Walleij <triad@df.lth.se>
404
405 * Fixed up callback interface to a simpler version,
406 the old one was bloated stuff from libnjb anyway.
407 Bump to 0.0.2.
408
Linus Walleij9b28da32006-03-16 13:47:58 +00004092006-03-16 Linus Walleij <triad@df.lth.se>
410
411 * Fixed the .h file and implementation so you really only
412 need this one .h file to interface the library.
413
Linus Walleij80124062006-03-15 10:26:09 +00004142006-03-15 Linus Walleij <triad@df.lth.se>
415
416 * Added three device information retrieval functions.
417
Linus Walleij15e344f2006-03-06 15:15:00 +00004182006-03-06 Linus Walleij <triad@df.lth.se>
419
420 * Moving some things around to structure the source. More
421 will be needed...
422
Linus Walleij93218602006-02-27 08:53:38 +00004232006-02-27 Linus Walleij <triad@df.lth.se>
424
425 * Release libmtp 0.0.1 so people have something to play with,
426 what the heck. Probably saves someones day.
427
Linus Walleij95698cd2006-02-24 10:40:40 +00004282006-02-24 Linus Walleij <triad@df.lth.se>
429
430 * Deltr example program to delete tracks, plus corresponding
431 interface call.
432
Linus Walleij17e39f72006-02-23 15:54:28 +00004332006-02-23 Linus Walleij <triad@df.lth.se>
434
435 * Fixed up sendtr program and metadata tagging function that is
436 used after sending files.
437
Linus Walleij394bbbe2006-02-22 16:10:53 +00004382006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000439
Linus Walleij394bbbe2006-02-22 16:10:53 +0000440 * Untested gettr.c and sendtr.c programs to get and send tracks
441 created.
442
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00004432006-01-30 Linus Walleij <triad@df.lth.se>
444
445 * Created the initial GNU source directory structure.
446 * Added the most basic files.