blob: 9b018c399389e81c055207d4837ec4fddc90d8e2 [file] [log] [blame]
Linus Walleijd5d51c82006-09-11 06:57:50 +000012006-09-11 Linus Walleij <triad@df.lth.se>
2
3 * src/libusb-glue.c: messed around a bit with device descriptor
4 detection so as to bring closer to libgphoto2 detection algorithm.
5 I've seen things that might be false positives, possibly USB mass
6 storage devices with additional MSFT descriptors to indicate they
7 have Janus DRM.
8 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
9 knows that UCS-2 is in machine endianness but Darwin and *BSD does
10 not. Detect C library and switch accordingly.
11 * src/unicode.c: retire old unicode code only keep things we cannot
12 live without. Remove the own internal UCS-2 conversion engine and
13 the internal iconv() engine and use the one already available in
14 PTPParams.
15 * src/unicode.h: dito.
16
Linus Walleij0558ac52006-09-07 06:55:03 +0000172006-09-07 Linus Walleij <triad@df.lth.se>
18
19 * src/libusb-glue.h: added device flags so we can make
20 the code behave differently on certain devices.
21 * src/libusb-glue.c: dito, plus removed some debug prints.
22 * src/libmtp.c: docs.
23 * src/libmtp.h.in: added device_flags to device list struct.
24 * src/Makefile.am: bumped to compatible library interface.
25 * configure.ac: bump version to 0.0.18 (0.0.17 released
26 yesterday).
27
Richard Low6ec2cc12006-09-06 16:59:16 +0000282006-09-06 Richard Low <richard@wentnet.com>
29
30 * src/libusb-glue.c: changed packet sizes to improve
31 transfer speeds.
32 * src/libmtp.c: changed packet sizes to improve transfer
33 transfer speeds. Also stopped extra ptp_getobjectinfo
34 calls when getting directories on connect.
35
Linus Walleij7f0c72e2006-09-06 13:01:58 +0000362006-09-06 Linus Walleij <triad@df.lth.se>
37
38 * src/libusb-glue.c: fixed some endpoint size detection
39 and sending special file sizes stuff. Real hairy bug...
40 Also messed around a bit with the callbacks.
41 * src/libmtp.c: changes for callback size detection.
42
Linus Walleija9310fa2006-09-04 06:47:42 +0000432006-09-04 Linus Walleij <triad@df.lth.se>
44
45 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
46 instead of magic values.
47
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000482006-09-02 Linus Walleij <triad@df.lth.se>
49
Linus Walleijcd3eb3d2006-09-02 21:33:22 +000050 * src/libmtp.c: add some code to have
51 LIBMTP_Send_File_From_File_Descriptor() accept a stream
52 if size is set to (uint64_t) -1, plus documentation fixes.
53 I don't think the streaming code will work but whoever want
54 to experiment with it has a place to start.
55 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +000056
Linus Walleijda9500d2006-08-30 13:17:06 +0000572006-08-30 Linus Walleij <triad@df.lth.se>
58
59 * configure.ac: version bump.
60 * src/libmtp.c: more debug prints.
61 * src/libusb-glue.c: new iRiver device called Clix. By
62 the way I released libmtp 0.0.16 yesterday.
63
Linus Walleija823a702006-08-27 21:27:46 +0000642006-08-28 Linus Walleij <triad@df.lth.se>
65
66 * configure.ac: version bump.
67 * src/ptp-pack.c: upstream has committed my patch giving full
68 unicode support in libgphoto2 ptp2 camlib. No need for
69 any more ugly workarounds, plus we now have full unicode
70 filenames!
71 * src/ptp.c: dito.
72 * src/ptp.h: dito.
73 * src/libmtp.c: revamp to use the new unicode support in
74 libgphoto2.
75 * src/unicode.c: remove unused functionality.
76 * src/unicode.h: dito.
77
Linus Walleijee73ef22006-08-27 19:56:00 +0000782006-08-27 Linus Walleij <triad@df.lth.se>
79
80 * configure.ac: version bump. Release all these fixes
81 as 0.0.15.
82 * src/libusb-glue.c: fixed sucky errors. Added callback
83 code when reading files.
84 * src/libusb-glue.h: const correctness.
85 * src/libmtp.h.in: finally fixup the type on the callbacks.
86 * src/libmtp.c: more accurate sending callbacks. Callbacks
87 when getting files also, working correctly. Typeing of
88 callbacks now OK.
89 * examples/getfile.c: some display bar cosmetic fixup.
90 * TODO: lots of the things todo are now done.
91
Linus Walleijd214b9b2006-08-26 22:08:37 +0000922006-08-26 Linus Walleij <triad@df.lth.se>
93
94 * configure.ac: version bump.
95 * src/libmtp.c: fix bug and reinstate callbacks.
96 * src/libusb-glue.h: dito.
97 * src/libusb-glue.c: dito.
98
Linus Walleije7f44be2006-08-25 19:32:29 +0000992006-08-25 Linus Walleij <triad@df.lth.se>
100
101 * src/libmtp.c: use the new file descriptor sender function.
102 Going to release this as 0.0.13.
103 * src/ptp.c: upstream accepted patches synced in.
104 * src/ptp.h: dito.
105
Linus Walleijeab650b2006-08-21 23:26:37 +00001062006-08-22 Linus Walleij <triad@df.lth.se>
107
Linus Walleij80d134a2006-08-22 21:41:37 +0000108 * src/libusb-glue.c: found a real nasty endpoint bug,
109 code from libgphoto2 was assuming max packet size of
110 512 bytes while it is 64 when a USB 2.0 device is
111 plugged into an UHCI hub.
112
1132006-08-22 Linus Walleij <triad@df.lth.se>
114
Linus Walleijeab650b2006-08-21 23:26:37 +0000115 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
116
Linus Walleij924236a2006-08-20 22:17:58 +00001172006-08-21 Linus Walleij <triad@df.lth.se>
118
119 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000120 as result of experiments by Gavin McCullagh. Upstream
121 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000122 Move iconv() converters into device struct for thread
123 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000124 * src/ptp.c: sync to upstream which merges patch to get
125 file directly to file descriptor.
126 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000127 * src/unicode.c: move iconv() converters into the device
128 struct for thread safety.
129 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000130
Linus Walleij30658792006-08-19 22:18:55 +00001312006-08-20 Linus Walleij <triad@df.lth.se>
132
133 * src/libmtp.h.in: set friendly name and sync partner,
134 rename ownername to friendlyname.
135 * src/libmtp.c: dito.
136 * examples/detect.c: reflect changes.
137 * src/Makefile.am: interface is incompatible so age it.
138
Linus Walleijfae27482006-08-19 20:13:25 +00001392006-08-19 Linus Walleij <triad@df.lth.se>
140
141 * src/libmtp.h.in: add function to get syncronization
142 partner for the device.
143 * src/libmtp.c: dito.
144 * examples/detect.c: use that function.
145 * src/Makefile.am: backward-compatible interface bump.
146
Linus Walleij16571dc2006-08-17 20:27:46 +00001472006-08-17 Linus Walleij <triad@df.lth.se>
148
149 * configure.ac: bump to 0.0.12 and require iconv.h.
150
1512006-08-16 Linus Walleij <triad@df.lth.se>
152
153 * src/unicode.c: remove bigendian weirdness and switch
154 to using iconv() instead.
155 * src/unicode.h: dito.
156 * src/libmtp.c: reflect changes.
157
Linus Walleij3e188f12006-08-09 20:46:05 +00001582006-08-09 Linus Walleij <triad@df.lth.se>
159
160 * Release libmtp 0.0.11.
161
Linus Walleij2eb884b2006-08-04 19:17:36 +00001622006-08-04 Linus Walleij <triad@df.lth.se>
163
164 * src/libmtp.c: patch from Dan Aloni to make sendfile
165 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000166 * src/libusb-glue.c: patch from Andy Kelk to avoid
167 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000168 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000169
Linus Walleijaa4b0752006-07-26 22:21:04 +00001702006-07-27 Linus Walleij <triad@df.lth.se>
171
172 * Release libmtp 0.0.10.
173
Linus Walleij17b55ea2006-07-26 13:54:00 +00001742006-07-26 Linus Walleij <triad@df.lth.se>
175
176 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000177 * src/libmtp.c: only set metdata properties supported by
178 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000179 * src/ptp.c: sync to upstream.
180 * src/ptp.h: sync to upstream.
181 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000182
Linus Walleijc187cb92006-06-22 17:58:13 +00001832006-06-22 Linus Walleij <triad@df.lth.se>
184
185 * Release libmtp 0.0.9.
186
Linus Walleij8ab54262006-06-21 07:12:28 +00001872006-06-21 Linus Walleij <triad@df.lth.se>
188
189 * src/libmtp.h.in: added function to retrieve supported
190 filetypes.
191 * src/libmtp.c: ditto.
192 * examples/detect.c: use that function.
193
Linus Walleijcf223e62006-06-19 09:31:53 +00001942006-06-19 Linus Walleij <triad@df.lth.se>
195
196 * src/unicode.c: support all endianness, detect
197 byte-order-mark
198 * src/unicode.h: ditto.
199 * src/libmtp.c: ditto.
200 * examples/detect.c: use proper tempfile function.
201 * src/libmtp.h.in: add some more track properties.
202 * src/libmtp.c: ditto.
203 * examples/tracks.c: ditto.
204
Linus Walleij2e4b5f92006-06-16 14:00:49 +00002052006-06-16 Linus Walleij <triad@df.lth.se>
206
207 * src/libmtp.h.in: new interfaces for single metadata post
208 retrieveal.
209 * src/libmtp.c: ditto.
210 * examples/playlists.c: display track info using the new
211 individual track metadata retrieveal method.
212 * examples/getplaylist.c: ditto.
213
Linus Walleij05ccbe72006-06-13 07:46:58 +00002142006-06-13 Linus Walleij <triad@df.lth.se>
215
216 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000217 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000218 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000219 we can find them. Retrieve device secure time and cert
220 out of sheer curiosity.
221 * src/ptp.c: sync to libgphoto2 with my patches.
222 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000223
Linus Walleij438bd7f2006-06-08 11:35:44 +00002242006-06-07 Linus Walleij <triad@df.lth.se>
225
226 * src/libmtp.h.in: new playlist API and refactorings.
227 * src/libmtp.c: ditto, and refactorings.
228 * src/unicode.h: const correctness.
229 * src/unicode.c: ditto.
230 * examples/playlists.c: new example program.
231 * configure.ac: bump to 0.0.9
232 * src/Makefile.am: bump library interface.
233
Linus Walleij52e3ac52006-06-05 10:30:00 +00002342006-06-05 Linus Walleij <triad@df.lth.se>
235
236 * examples/sendtr.c: fixed annoying bug that made this
237 program totally useless.
238 * src/libmtp.c: cosmetics.
239 * configure.ac: bump to 0.0.8.
240
Linus Walleij345a3372006-06-03 20:55:25 +00002412006-06-03 Linus Walleij <triad@df.lth.se>
242
243 * src/libmtp.c: metadata bugs, album name and genre
244 confused. Fixe it and released libmtp 0.0.7.
245
Linus Walleijdc09dc02006-06-01 14:23:41 +00002462006-06-01 Linus Walleij <triad@df.lth.se>
247
248 * Released libmtp 0.0.6.
249
Linus Walleij549ec4d2006-05-31 19:59:52 +00002502006-05-31 Linus Walleij <triad@df.lth.se>
251
252 * src/libmtp.c: fixed mapping for JPEG vs JFIF
253 * src/libmtp.h.in: added proper type for JPEG
254 * examples/sendfile.c: send proper JPEG type
255
Linus Walleijd3fdd972006-05-30 15:51:37 +00002562006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
257
258 * src/libmtp.c: fixed a bug in update metadata due to
259 bad use of return code.
260 * src/libusb-glue.c: fixed a loop exiting problem with
261 good 'ol GOTO.
262
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002632006-05-29 Linus Walleij <triad@df.lth.se>
264
265 * src/libusb-glue.c: one more device.
266 * doc/examples.h: produce correct documentation.
267 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000268 * src/ptp.c: sync to libgphoto2.
269 * src/ptp.h: ditto.
270 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000271 * src/libmtp.c: fixed all filetype API related functions
272 not to use any PTP intrinsic defines at all, made all
273 parameters to functions use the internal libmtp interface
274 enumerations and definitions. Removed LIBMTP_Release():
275 we can live with the memory lost during init. You're not
276 supposed to re-initialize the device. Consequently removed
277 the delete function that cleaned the filetype assoc list.
278 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000279
ravelox088180b2006-05-26 23:55:40 +00002802006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
281
282 * src/libmtp.c: refactored object handling to be more generic
283 * src/libmtp.h.in: ditto
284 * examples/refactortest.c: Added simple example to use refactoring
285 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000286 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
287 for playlist handling
288 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000289
Linus Walleij1fd2d272006-05-08 09:22:01 +00002902006-05-08 Linus Walleij <triad@df.lth.se>
291
292 * src/libmtp.h.in: add simple detection function.
293 * src/libusb-glue.c: implement MTP "OS descriptor" for
294 looking for MTP devices.
295 * examples/detect.c: make it possible to do very
296 rudimentary detection with "detect -p".
297 * configure.ac: bump to 0.0.5.
298
Linus Walleij685137f2006-05-07 18:09:02 +00002992006-05-07 Linus Walleij <triad@df.lth.se>
300
301 * COPYING: since we no longer use any parts of libptp2
302 and only files from libgphoto2, we switch to the GNU
303 Lesser General Public License (GNU LGPL). libptp2 is
304 a derived work from libgphoto2, and so is libmtp, there
305 are no remnants of libptp2 in libmtp anymore.
306
Linus Walleij16c51f02006-05-04 13:20:22 +00003072006-05-04 Linus Walleij <triad@df.lth.se>
308
309 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000310 * src/libmtp.c: respectfully rearranged to use a filetype mapping
311 table.
312 * src/ptp-pack.c: real nasty unicode packing bug.
313 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000314
Linus Walleijd6a49972006-05-02 08:24:54 +00003152006-05-02 Linus Walleij <triad@df.lth.se>
316
317 * src/libmtp.c: general shaping up for release. All track
318 and file sending functions now respects a parent ID to be
319 sent along with files and tracks.
320 * src/libmtp.h.in: dito.
321 * src/libusb-glue.c: dito.
322 * examples/sendfile.c: interface dependency changes.
323 * examples/sendtr.c: dito.
324
Linus Walleijc60275a2006-04-30 10:58:11 +00003252006-04-30 Linus Walleij <triad@df.lth.se>
326
327 * src/ptp.c: sync upstream.
328 * src/ptp.h: dito.
329
Linus Walleij370c68d2006-04-27 14:19:01 +00003302006-04-27 Linus Walleij <triad@df.lth.se>
331
332 * examples/sendfile.c: first file sender program based
333 on API implementation and changes by Chris Allegretta.
334 * examples/Makefile.am: new program, new entry.
335 * src/libmtp.c: reflect this new functionality.
336 * src/libmtp.h.in: dito.
337
Linus Walleijb02a0662006-04-25 08:05:09 +00003382006-04-25 Linus Walleij <triad@df.lth.se>
339
340 * Rebased the sources around libgphoto2 instead.
341 This was a major revision...
342 * src/ptp.c: imported libgphoto2 version verbatim.
343 * src/ptp.h: imported libgphoto2 version, minor patch.
344 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000345 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000346 * src/mtp.c: dropped, since all functions are now in ptp.c
347 * src/mtp-pack.c: dropped, same reason.
348 * src/mtp.h: dropped, same reason.
349 * src/mtp-pack.h: dropped, same reason.
350
Linus Walleije5f3ad42006-04-21 07:44:36 +00003512006-04-21 Linus Walleij <triad@df.lth.se>
352
Linus Walleij902c0b92006-04-21 10:52:48 +0000353 * Released libmtp 0.0.3
354 * Bumped source to 0.0.4
355
3562006-04-21 Linus Walleij <triad@df.lth.se>
357
Linus Walleije5f3ad42006-04-21 07:44:36 +0000358 * src/ptp-pack.c: GCC 4.x compilation patch from
359 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000360 * src/libusb-glue.c: New Samsung device and some
361 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000362 * src/ptp.h: some defines from libgphoto2 to get
363 a bit more compatible.
364 * src/libmtp.c: Added a folder API implementation by
365 Dave "ravelox" Kelly.
366 * src/libmtp.h.in: dito.
367 * examples/folders.c: dito.
368 * examples/newfolder.c: dito.
369 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000370
Linus Walleij6fd2f082006-03-28 07:19:22 +00003712006-03-28 Linus Walleij <triad@df.lth.se>
372
373 * m4/*: updated macros to work with GCC 4.1.0.
374 * examples/hotplug.c: new program to create device
375 ID lists.
376 * libmtp.rules: now an auto-generated file.
377 * libmtp.usermap: now an auto-generated file.
378
Linus Walleijf6bc1782006-03-24 15:12:47 +00003792006-03-24 Linus Walleij <triad@df.lth.se>
380
381 * Beginning a file API, fixed some example program
382 names and such.
383
Linus Walleij6946ac52006-03-21 06:51:22 +00003842006-03-18 Linus Walleij <triad@df.lth.se>
385
386 * Fixed up callback interface to a simpler version,
387 the old one was bloated stuff from libnjb anyway.
388 Bump to 0.0.2.
389
Linus Walleij9b28da32006-03-16 13:47:58 +00003902006-03-16 Linus Walleij <triad@df.lth.se>
391
392 * Fixed the .h file and implementation so you really only
393 need this one .h file to interface the library.
394
Linus Walleij80124062006-03-15 10:26:09 +00003952006-03-15 Linus Walleij <triad@df.lth.se>
396
397 * Added three device information retrieval functions.
398
Linus Walleij15e344f2006-03-06 15:15:00 +00003992006-03-06 Linus Walleij <triad@df.lth.se>
400
401 * Moving some things around to structure the source. More
402 will be needed...
403
Linus Walleij93218602006-02-27 08:53:38 +00004042006-02-27 Linus Walleij <triad@df.lth.se>
405
406 * Release libmtp 0.0.1 so people have something to play with,
407 what the heck. Probably saves someones day.
408
Linus Walleij95698cd2006-02-24 10:40:40 +00004092006-02-24 Linus Walleij <triad@df.lth.se>
410
411 * Deltr example program to delete tracks, plus corresponding
412 interface call.
413
Linus Walleij17e39f72006-02-23 15:54:28 +00004142006-02-23 Linus Walleij <triad@df.lth.se>
415
416 * Fixed up sendtr program and metadata tagging function that is
417 used after sending files.
418
Linus Walleij394bbbe2006-02-22 16:10:53 +00004192006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000420
Linus Walleij394bbbe2006-02-22 16:10:53 +0000421 * Untested gettr.c and sendtr.c programs to get and send tracks
422 created.
423
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00004242006-01-30 Linus Walleij <triad@df.lth.se>
425
426 * Created the initial GNU source directory structure.
427 * Added the most basic files.