blob: 2b05401b56d4e845a403f92a48b701929c7db0da [file] [log] [blame]
Linus Walleijf248fdd2006-09-16 20:11:40 +000012006-09-16 Linus Walleij <triad@df.lth.se>
2
3 * configure.ac: bump to 0.0.19 and release. There are some
4 new devices as well.
5
Linus Walleijb8bfcb22006-09-13 12:14:28 +000062006-09-13 Linus Walleij <triad@df.lth.se>
7
8 * examples/format.c: formatting test program.
9 * examples.Makefile.am: added format.
10
Linus Walleij13374a42006-09-13 11:55:30 +0000112006-09-13 Andy Kelk <andy@mopoke.co.uk>
12
13 * src/libmtp.h.in: added interface to format storage.
14 * src/libmtp.c: dito.
15 * src/ptp.c: dito.
16 * src/ptp.h: dito.
17
Linus Walleijd31e6192006-09-12 07:55:27 +0000182006-09-12 Linus Walleij <triad@df.lth.se>
19
20 * configure.ac: bump release. Released 0.0.18 yesterday.
21 * src/libmtp.c: do not try to read battery max level unless
22 the device supports it. (Bug occurred on Toshiba Gigabeat
23 P10.)
24
Linus Walleijd5d51c82006-09-11 06:57:50 +0000252006-09-11 Linus Walleij <triad@df.lth.se>
26
27 * src/libusb-glue.c: messed around a bit with device descriptor
28 detection so as to bring closer to libgphoto2 detection algorithm.
29 I've seen things that might be false positives, possibly USB mass
30 storage devices with additional MSFT descriptors to indicate they
31 have Janus DRM.
32 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
33 knows that UCS-2 is in machine endianness but Darwin and *BSD does
34 not. Detect C library and switch accordingly.
35 * src/unicode.c: retire old unicode code only keep things we cannot
36 live without. Remove the own internal UCS-2 conversion engine and
37 the internal iconv() engine and use the one already available in
38 PTPParams.
39 * src/unicode.h: dito.
40
Linus Walleij0558ac52006-09-07 06:55:03 +0000412006-09-07 Linus Walleij <triad@df.lth.se>
42
43 * src/libusb-glue.h: added device flags so we can make
44 the code behave differently on certain devices.
45 * src/libusb-glue.c: dito, plus removed some debug prints.
46 * src/libmtp.c: docs.
47 * src/libmtp.h.in: added device_flags to device list struct.
48 * src/Makefile.am: bumped to compatible library interface.
49 * configure.ac: bump version to 0.0.18 (0.0.17 released
50 yesterday).
51
Richard Low6ec2cc12006-09-06 16:59:16 +0000522006-09-06 Richard Low <richard@wentnet.com>
53
54 * src/libusb-glue.c: changed packet sizes to improve
55 transfer speeds.
56 * src/libmtp.c: changed packet sizes to improve transfer
57 transfer speeds. Also stopped extra ptp_getobjectinfo
58 calls when getting directories on connect.
59
Linus Walleij7f0c72e2006-09-06 13:01:58 +0000602006-09-06 Linus Walleij <triad@df.lth.se>
61
62 * src/libusb-glue.c: fixed some endpoint size detection
63 and sending special file sizes stuff. Real hairy bug...
64 Also messed around a bit with the callbacks.
65 * src/libmtp.c: changes for callback size detection.
66
Linus Walleija9310fa2006-09-04 06:47:42 +0000672006-09-04 Linus Walleij <triad@df.lth.se>
68
69 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
70 instead of magic values.
71
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000722006-09-02 Linus Walleij <triad@df.lth.se>
73
Linus Walleijcd3eb3d2006-09-02 21:33:22 +000074 * src/libmtp.c: add some code to have
75 LIBMTP_Send_File_From_File_Descriptor() accept a stream
76 if size is set to (uint64_t) -1, plus documentation fixes.
77 I don't think the streaming code will work but whoever want
78 to experiment with it has a place to start.
79 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +000080
Linus Walleijda9500d2006-08-30 13:17:06 +0000812006-08-30 Linus Walleij <triad@df.lth.se>
82
83 * configure.ac: version bump.
84 * src/libmtp.c: more debug prints.
85 * src/libusb-glue.c: new iRiver device called Clix. By
86 the way I released libmtp 0.0.16 yesterday.
87
Linus Walleija823a702006-08-27 21:27:46 +0000882006-08-28 Linus Walleij <triad@df.lth.se>
89
90 * configure.ac: version bump.
91 * src/ptp-pack.c: upstream has committed my patch giving full
92 unicode support in libgphoto2 ptp2 camlib. No need for
93 any more ugly workarounds, plus we now have full unicode
94 filenames!
95 * src/ptp.c: dito.
96 * src/ptp.h: dito.
97 * src/libmtp.c: revamp to use the new unicode support in
98 libgphoto2.
99 * src/unicode.c: remove unused functionality.
100 * src/unicode.h: dito.
101
Linus Walleijee73ef22006-08-27 19:56:00 +00001022006-08-27 Linus Walleij <triad@df.lth.se>
103
104 * configure.ac: version bump. Release all these fixes
105 as 0.0.15.
106 * src/libusb-glue.c: fixed sucky errors. Added callback
107 code when reading files.
108 * src/libusb-glue.h: const correctness.
109 * src/libmtp.h.in: finally fixup the type on the callbacks.
110 * src/libmtp.c: more accurate sending callbacks. Callbacks
111 when getting files also, working correctly. Typeing of
112 callbacks now OK.
113 * examples/getfile.c: some display bar cosmetic fixup.
114 * TODO: lots of the things todo are now done.
115
Linus Walleijd214b9b2006-08-26 22:08:37 +00001162006-08-26 Linus Walleij <triad@df.lth.se>
117
118 * configure.ac: version bump.
119 * src/libmtp.c: fix bug and reinstate callbacks.
120 * src/libusb-glue.h: dito.
121 * src/libusb-glue.c: dito.
122
Linus Walleije7f44be2006-08-25 19:32:29 +00001232006-08-25 Linus Walleij <triad@df.lth.se>
124
125 * src/libmtp.c: use the new file descriptor sender function.
126 Going to release this as 0.0.13.
127 * src/ptp.c: upstream accepted patches synced in.
128 * src/ptp.h: dito.
129
Linus Walleijeab650b2006-08-21 23:26:37 +00001302006-08-22 Linus Walleij <triad@df.lth.se>
131
Linus Walleij80d134a2006-08-22 21:41:37 +0000132 * src/libusb-glue.c: found a real nasty endpoint bug,
133 code from libgphoto2 was assuming max packet size of
134 512 bytes while it is 64 when a USB 2.0 device is
135 plugged into an UHCI hub.
136
1372006-08-22 Linus Walleij <triad@df.lth.se>
138
Linus Walleijeab650b2006-08-21 23:26:37 +0000139 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
140
Linus Walleij924236a2006-08-20 22:17:58 +00001412006-08-21 Linus Walleij <triad@df.lth.se>
142
143 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000144 as result of experiments by Gavin McCullagh. Upstream
145 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000146 Move iconv() converters into device struct for thread
147 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000148 * src/ptp.c: sync to upstream which merges patch to get
149 file directly to file descriptor.
150 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000151 * src/unicode.c: move iconv() converters into the device
152 struct for thread safety.
153 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000154
Linus Walleij30658792006-08-19 22:18:55 +00001552006-08-20 Linus Walleij <triad@df.lth.se>
156
157 * src/libmtp.h.in: set friendly name and sync partner,
158 rename ownername to friendlyname.
159 * src/libmtp.c: dito.
160 * examples/detect.c: reflect changes.
161 * src/Makefile.am: interface is incompatible so age it.
162
Linus Walleijfae27482006-08-19 20:13:25 +00001632006-08-19 Linus Walleij <triad@df.lth.se>
164
165 * src/libmtp.h.in: add function to get syncronization
166 partner for the device.
167 * src/libmtp.c: dito.
168 * examples/detect.c: use that function.
169 * src/Makefile.am: backward-compatible interface bump.
170
Linus Walleij16571dc2006-08-17 20:27:46 +00001712006-08-17 Linus Walleij <triad@df.lth.se>
172
173 * configure.ac: bump to 0.0.12 and require iconv.h.
174
1752006-08-16 Linus Walleij <triad@df.lth.se>
176
177 * src/unicode.c: remove bigendian weirdness and switch
178 to using iconv() instead.
179 * src/unicode.h: dito.
180 * src/libmtp.c: reflect changes.
181
Linus Walleij3e188f12006-08-09 20:46:05 +00001822006-08-09 Linus Walleij <triad@df.lth.se>
183
184 * Release libmtp 0.0.11.
185
Linus Walleij2eb884b2006-08-04 19:17:36 +00001862006-08-04 Linus Walleij <triad@df.lth.se>
187
188 * src/libmtp.c: patch from Dan Aloni to make sendfile
189 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000190 * src/libusb-glue.c: patch from Andy Kelk to avoid
191 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000192 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000193
Linus Walleijaa4b0752006-07-26 22:21:04 +00001942006-07-27 Linus Walleij <triad@df.lth.se>
195
196 * Release libmtp 0.0.10.
197
Linus Walleij17b55ea2006-07-26 13:54:00 +00001982006-07-26 Linus Walleij <triad@df.lth.se>
199
200 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000201 * src/libmtp.c: only set metdata properties supported by
202 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000203 * src/ptp.c: sync to upstream.
204 * src/ptp.h: sync to upstream.
205 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000206
Linus Walleijc187cb92006-06-22 17:58:13 +00002072006-06-22 Linus Walleij <triad@df.lth.se>
208
209 * Release libmtp 0.0.9.
210
Linus Walleij8ab54262006-06-21 07:12:28 +00002112006-06-21 Linus Walleij <triad@df.lth.se>
212
213 * src/libmtp.h.in: added function to retrieve supported
214 filetypes.
215 * src/libmtp.c: ditto.
216 * examples/detect.c: use that function.
217
Linus Walleijcf223e62006-06-19 09:31:53 +00002182006-06-19 Linus Walleij <triad@df.lth.se>
219
220 * src/unicode.c: support all endianness, detect
221 byte-order-mark
222 * src/unicode.h: ditto.
223 * src/libmtp.c: ditto.
224 * examples/detect.c: use proper tempfile function.
225 * src/libmtp.h.in: add some more track properties.
226 * src/libmtp.c: ditto.
227 * examples/tracks.c: ditto.
228
Linus Walleij2e4b5f92006-06-16 14:00:49 +00002292006-06-16 Linus Walleij <triad@df.lth.se>
230
231 * src/libmtp.h.in: new interfaces for single metadata post
232 retrieveal.
233 * src/libmtp.c: ditto.
234 * examples/playlists.c: display track info using the new
235 individual track metadata retrieveal method.
236 * examples/getplaylist.c: ditto.
237
Linus Walleij05ccbe72006-06-13 07:46:58 +00002382006-06-13 Linus Walleij <triad@df.lth.se>
239
240 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000241 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000242 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000243 we can find them. Retrieve device secure time and cert
244 out of sheer curiosity.
245 * src/ptp.c: sync to libgphoto2 with my patches.
246 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000247
Linus Walleij438bd7f2006-06-08 11:35:44 +00002482006-06-07 Linus Walleij <triad@df.lth.se>
249
250 * src/libmtp.h.in: new playlist API and refactorings.
251 * src/libmtp.c: ditto, and refactorings.
252 * src/unicode.h: const correctness.
253 * src/unicode.c: ditto.
254 * examples/playlists.c: new example program.
255 * configure.ac: bump to 0.0.9
256 * src/Makefile.am: bump library interface.
257
Linus Walleij52e3ac52006-06-05 10:30:00 +00002582006-06-05 Linus Walleij <triad@df.lth.se>
259
260 * examples/sendtr.c: fixed annoying bug that made this
261 program totally useless.
262 * src/libmtp.c: cosmetics.
263 * configure.ac: bump to 0.0.8.
264
Linus Walleij345a3372006-06-03 20:55:25 +00002652006-06-03 Linus Walleij <triad@df.lth.se>
266
267 * src/libmtp.c: metadata bugs, album name and genre
268 confused. Fixe it and released libmtp 0.0.7.
269
Linus Walleijdc09dc02006-06-01 14:23:41 +00002702006-06-01 Linus Walleij <triad@df.lth.se>
271
272 * Released libmtp 0.0.6.
273
Linus Walleij549ec4d2006-05-31 19:59:52 +00002742006-05-31 Linus Walleij <triad@df.lth.se>
275
276 * src/libmtp.c: fixed mapping for JPEG vs JFIF
277 * src/libmtp.h.in: added proper type for JPEG
278 * examples/sendfile.c: send proper JPEG type
279
Linus Walleijd3fdd972006-05-30 15:51:37 +00002802006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
281
282 * src/libmtp.c: fixed a bug in update metadata due to
283 bad use of return code.
284 * src/libusb-glue.c: fixed a loop exiting problem with
285 good 'ol GOTO.
286
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002872006-05-29 Linus Walleij <triad@df.lth.se>
288
289 * src/libusb-glue.c: one more device.
290 * doc/examples.h: produce correct documentation.
291 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000292 * src/ptp.c: sync to libgphoto2.
293 * src/ptp.h: ditto.
294 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000295 * src/libmtp.c: fixed all filetype API related functions
296 not to use any PTP intrinsic defines at all, made all
297 parameters to functions use the internal libmtp interface
298 enumerations and definitions. Removed LIBMTP_Release():
299 we can live with the memory lost during init. You're not
300 supposed to re-initialize the device. Consequently removed
301 the delete function that cleaned the filetype assoc list.
302 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000303
ravelox088180b2006-05-26 23:55:40 +00003042006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
305
306 * src/libmtp.c: refactored object handling to be more generic
307 * src/libmtp.h.in: ditto
308 * examples/refactortest.c: Added simple example to use refactoring
309 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000310 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
311 for playlist handling
312 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000313
Linus Walleij1fd2d272006-05-08 09:22:01 +00003142006-05-08 Linus Walleij <triad@df.lth.se>
315
316 * src/libmtp.h.in: add simple detection function.
317 * src/libusb-glue.c: implement MTP "OS descriptor" for
318 looking for MTP devices.
319 * examples/detect.c: make it possible to do very
320 rudimentary detection with "detect -p".
321 * configure.ac: bump to 0.0.5.
322
Linus Walleij685137f2006-05-07 18:09:02 +00003232006-05-07 Linus Walleij <triad@df.lth.se>
324
325 * COPYING: since we no longer use any parts of libptp2
326 and only files from libgphoto2, we switch to the GNU
327 Lesser General Public License (GNU LGPL). libptp2 is
328 a derived work from libgphoto2, and so is libmtp, there
329 are no remnants of libptp2 in libmtp anymore.
330
Linus Walleij16c51f02006-05-04 13:20:22 +00003312006-05-04 Linus Walleij <triad@df.lth.se>
332
333 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000334 * src/libmtp.c: respectfully rearranged to use a filetype mapping
335 table.
336 * src/ptp-pack.c: real nasty unicode packing bug.
337 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000338
Linus Walleijd6a49972006-05-02 08:24:54 +00003392006-05-02 Linus Walleij <triad@df.lth.se>
340
341 * src/libmtp.c: general shaping up for release. All track
342 and file sending functions now respects a parent ID to be
343 sent along with files and tracks.
344 * src/libmtp.h.in: dito.
345 * src/libusb-glue.c: dito.
346 * examples/sendfile.c: interface dependency changes.
347 * examples/sendtr.c: dito.
348
Linus Walleijc60275a2006-04-30 10:58:11 +00003492006-04-30 Linus Walleij <triad@df.lth.se>
350
351 * src/ptp.c: sync upstream.
352 * src/ptp.h: dito.
353
Linus Walleij370c68d2006-04-27 14:19:01 +00003542006-04-27 Linus Walleij <triad@df.lth.se>
355
356 * examples/sendfile.c: first file sender program based
357 on API implementation and changes by Chris Allegretta.
358 * examples/Makefile.am: new program, new entry.
359 * src/libmtp.c: reflect this new functionality.
360 * src/libmtp.h.in: dito.
361
Linus Walleijb02a0662006-04-25 08:05:09 +00003622006-04-25 Linus Walleij <triad@df.lth.se>
363
364 * Rebased the sources around libgphoto2 instead.
365 This was a major revision...
366 * src/ptp.c: imported libgphoto2 version verbatim.
367 * src/ptp.h: imported libgphoto2 version, minor patch.
368 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000369 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000370 * src/mtp.c: dropped, since all functions are now in ptp.c
371 * src/mtp-pack.c: dropped, same reason.
372 * src/mtp.h: dropped, same reason.
373 * src/mtp-pack.h: dropped, same reason.
374
Linus Walleije5f3ad42006-04-21 07:44:36 +00003752006-04-21 Linus Walleij <triad@df.lth.se>
376
Linus Walleij902c0b92006-04-21 10:52:48 +0000377 * Released libmtp 0.0.3
378 * Bumped source to 0.0.4
379
3802006-04-21 Linus Walleij <triad@df.lth.se>
381
Linus Walleije5f3ad42006-04-21 07:44:36 +0000382 * src/ptp-pack.c: GCC 4.x compilation patch from
383 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000384 * src/libusb-glue.c: New Samsung device and some
385 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000386 * src/ptp.h: some defines from libgphoto2 to get
387 a bit more compatible.
388 * src/libmtp.c: Added a folder API implementation by
389 Dave "ravelox" Kelly.
390 * src/libmtp.h.in: dito.
391 * examples/folders.c: dito.
392 * examples/newfolder.c: dito.
393 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000394
Linus Walleij6fd2f082006-03-28 07:19:22 +00003952006-03-28 Linus Walleij <triad@df.lth.se>
396
397 * m4/*: updated macros to work with GCC 4.1.0.
398 * examples/hotplug.c: new program to create device
399 ID lists.
400 * libmtp.rules: now an auto-generated file.
401 * libmtp.usermap: now an auto-generated file.
402
Linus Walleijf6bc1782006-03-24 15:12:47 +00004032006-03-24 Linus Walleij <triad@df.lth.se>
404
405 * Beginning a file API, fixed some example program
406 names and such.
407
Linus Walleij6946ac52006-03-21 06:51:22 +00004082006-03-18 Linus Walleij <triad@df.lth.se>
409
410 * Fixed up callback interface to a simpler version,
411 the old one was bloated stuff from libnjb anyway.
412 Bump to 0.0.2.
413
Linus Walleij9b28da32006-03-16 13:47:58 +00004142006-03-16 Linus Walleij <triad@df.lth.se>
415
416 * Fixed the .h file and implementation so you really only
417 need this one .h file to interface the library.
418
Linus Walleij80124062006-03-15 10:26:09 +00004192006-03-15 Linus Walleij <triad@df.lth.se>
420
421 * Added three device information retrieval functions.
422
Linus Walleij15e344f2006-03-06 15:15:00 +00004232006-03-06 Linus Walleij <triad@df.lth.se>
424
425 * Moving some things around to structure the source. More
426 will be needed...
427
Linus Walleij93218602006-02-27 08:53:38 +00004282006-02-27 Linus Walleij <triad@df.lth.se>
429
430 * Release libmtp 0.0.1 so people have something to play with,
431 what the heck. Probably saves someones day.
432
Linus Walleij95698cd2006-02-24 10:40:40 +00004332006-02-24 Linus Walleij <triad@df.lth.se>
434
435 * Deltr example program to delete tracks, plus corresponding
436 interface call.
437
Linus Walleij17e39f72006-02-23 15:54:28 +00004382006-02-23 Linus Walleij <triad@df.lth.se>
439
440 * Fixed up sendtr program and metadata tagging function that is
441 used after sending files.
442
Linus Walleij394bbbe2006-02-22 16:10:53 +00004432006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000444
Linus Walleij394bbbe2006-02-22 16:10:53 +0000445 * Untested gettr.c and sendtr.c programs to get and send tracks
446 created.
447
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00004482006-01-30 Linus Walleij <triad@df.lth.se>
449
450 * Created the initial GNU source directory structure.
451 * Added the most basic files.