blob: 48b6e8a77c6ba2b7f11c9da941c54d7c3819afcd [file] [log] [blame]
Linus Walleijb1318d12006-09-25 14:59:26 +000012006-09-25 Linus Walleij <triad@df.lth.se>
2
3 * examples/evolution-sync.sh: example script to illustrate
4 to to transfer calendar, task and contact information
5 to a device supporting this.
6
Linus Walleij4ef39e62006-09-19 14:11:52 +000072006-09-19 Linus Walleij <triad@df.lth.se>
8
9 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
10 * src/libmtp.c: dito.
11 * examples/sendfile.c: support vcard3.
12
Linus Walleijf248fdd2006-09-16 20:11:40 +0000132006-09-16 Linus Walleij <triad@df.lth.se>
14
15 * configure.ac: bump to 0.0.19 and release. There are some
16 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +000017 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +000018
Linus Walleijb8bfcb22006-09-13 12:14:28 +0000192006-09-13 Linus Walleij <triad@df.lth.se>
20
21 * examples/format.c: formatting test program.
22 * examples.Makefile.am: added format.
23
Linus Walleij13374a42006-09-13 11:55:30 +0000242006-09-13 Andy Kelk <andy@mopoke.co.uk>
25
26 * src/libmtp.h.in: added interface to format storage.
27 * src/libmtp.c: dito.
28 * src/ptp.c: dito.
29 * src/ptp.h: dito.
30
Linus Walleijd31e6192006-09-12 07:55:27 +0000312006-09-12 Linus Walleij <triad@df.lth.se>
32
33 * configure.ac: bump release. Released 0.0.18 yesterday.
34 * src/libmtp.c: do not try to read battery max level unless
35 the device supports it. (Bug occurred on Toshiba Gigabeat
36 P10.)
37
Linus Walleijd5d51c82006-09-11 06:57:50 +0000382006-09-11 Linus Walleij <triad@df.lth.se>
39
40 * src/libusb-glue.c: messed around a bit with device descriptor
41 detection so as to bring closer to libgphoto2 detection algorithm.
42 I've seen things that might be false positives, possibly USB mass
43 storage devices with additional MSFT descriptors to indicate they
44 have Janus DRM.
45 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
46 knows that UCS-2 is in machine endianness but Darwin and *BSD does
47 not. Detect C library and switch accordingly.
48 * src/unicode.c: retire old unicode code only keep things we cannot
49 live without. Remove the own internal UCS-2 conversion engine and
50 the internal iconv() engine and use the one already available in
51 PTPParams.
52 * src/unicode.h: dito.
53
Linus Walleij0558ac52006-09-07 06:55:03 +0000542006-09-07 Linus Walleij <triad@df.lth.se>
55
56 * src/libusb-glue.h: added device flags so we can make
57 the code behave differently on certain devices.
58 * src/libusb-glue.c: dito, plus removed some debug prints.
59 * src/libmtp.c: docs.
60 * src/libmtp.h.in: added device_flags to device list struct.
61 * src/Makefile.am: bumped to compatible library interface.
62 * configure.ac: bump version to 0.0.18 (0.0.17 released
63 yesterday).
64
Richard Low6ec2cc12006-09-06 16:59:16 +0000652006-09-06 Richard Low <richard@wentnet.com>
66
67 * src/libusb-glue.c: changed packet sizes to improve
68 transfer speeds.
69 * src/libmtp.c: changed packet sizes to improve transfer
70 transfer speeds. Also stopped extra ptp_getobjectinfo
71 calls when getting directories on connect.
72
Linus Walleij7f0c72e2006-09-06 13:01:58 +0000732006-09-06 Linus Walleij <triad@df.lth.se>
74
75 * src/libusb-glue.c: fixed some endpoint size detection
76 and sending special file sizes stuff. Real hairy bug...
77 Also messed around a bit with the callbacks.
78 * src/libmtp.c: changes for callback size detection.
79
Linus Walleija9310fa2006-09-04 06:47:42 +0000802006-09-04 Linus Walleij <triad@df.lth.se>
81
82 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
83 instead of magic values.
84
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000852006-09-02 Linus Walleij <triad@df.lth.se>
86
Linus Walleijcd3eb3d2006-09-02 21:33:22 +000087 * src/libmtp.c: add some code to have
88 LIBMTP_Send_File_From_File_Descriptor() accept a stream
89 if size is set to (uint64_t) -1, plus documentation fixes.
90 I don't think the streaming code will work but whoever want
91 to experiment with it has a place to start.
92 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +000093
Linus Walleijda9500d2006-08-30 13:17:06 +0000942006-08-30 Linus Walleij <triad@df.lth.se>
95
96 * configure.ac: version bump.
97 * src/libmtp.c: more debug prints.
98 * src/libusb-glue.c: new iRiver device called Clix. By
99 the way I released libmtp 0.0.16 yesterday.
100
Linus Walleija823a702006-08-27 21:27:46 +00001012006-08-28 Linus Walleij <triad@df.lth.se>
102
103 * configure.ac: version bump.
104 * src/ptp-pack.c: upstream has committed my patch giving full
105 unicode support in libgphoto2 ptp2 camlib. No need for
106 any more ugly workarounds, plus we now have full unicode
107 filenames!
108 * src/ptp.c: dito.
109 * src/ptp.h: dito.
110 * src/libmtp.c: revamp to use the new unicode support in
111 libgphoto2.
112 * src/unicode.c: remove unused functionality.
113 * src/unicode.h: dito.
114
Linus Walleijee73ef22006-08-27 19:56:00 +00001152006-08-27 Linus Walleij <triad@df.lth.se>
116
117 * configure.ac: version bump. Release all these fixes
118 as 0.0.15.
119 * src/libusb-glue.c: fixed sucky errors. Added callback
120 code when reading files.
121 * src/libusb-glue.h: const correctness.
122 * src/libmtp.h.in: finally fixup the type on the callbacks.
123 * src/libmtp.c: more accurate sending callbacks. Callbacks
124 when getting files also, working correctly. Typeing of
125 callbacks now OK.
126 * examples/getfile.c: some display bar cosmetic fixup.
127 * TODO: lots of the things todo are now done.
128
Linus Walleijd214b9b2006-08-26 22:08:37 +00001292006-08-26 Linus Walleij <triad@df.lth.se>
130
131 * configure.ac: version bump.
132 * src/libmtp.c: fix bug and reinstate callbacks.
133 * src/libusb-glue.h: dito.
134 * src/libusb-glue.c: dito.
135
Linus Walleije7f44be2006-08-25 19:32:29 +00001362006-08-25 Linus Walleij <triad@df.lth.se>
137
138 * src/libmtp.c: use the new file descriptor sender function.
139 Going to release this as 0.0.13.
140 * src/ptp.c: upstream accepted patches synced in.
141 * src/ptp.h: dito.
142
Linus Walleijeab650b2006-08-21 23:26:37 +00001432006-08-22 Linus Walleij <triad@df.lth.se>
144
Linus Walleij80d134a2006-08-22 21:41:37 +0000145 * src/libusb-glue.c: found a real nasty endpoint bug,
146 code from libgphoto2 was assuming max packet size of
147 512 bytes while it is 64 when a USB 2.0 device is
148 plugged into an UHCI hub.
149
1502006-08-22 Linus Walleij <triad@df.lth.se>
151
Linus Walleijeab650b2006-08-21 23:26:37 +0000152 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
153
Linus Walleij924236a2006-08-20 22:17:58 +00001542006-08-21 Linus Walleij <triad@df.lth.se>
155
156 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000157 as result of experiments by Gavin McCullagh. Upstream
158 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000159 Move iconv() converters into device struct for thread
160 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000161 * src/ptp.c: sync to upstream which merges patch to get
162 file directly to file descriptor.
163 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000164 * src/unicode.c: move iconv() converters into the device
165 struct for thread safety.
166 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000167
Linus Walleij30658792006-08-19 22:18:55 +00001682006-08-20 Linus Walleij <triad@df.lth.se>
169
170 * src/libmtp.h.in: set friendly name and sync partner,
171 rename ownername to friendlyname.
172 * src/libmtp.c: dito.
173 * examples/detect.c: reflect changes.
174 * src/Makefile.am: interface is incompatible so age it.
175
Linus Walleijfae27482006-08-19 20:13:25 +00001762006-08-19 Linus Walleij <triad@df.lth.se>
177
178 * src/libmtp.h.in: add function to get syncronization
179 partner for the device.
180 * src/libmtp.c: dito.
181 * examples/detect.c: use that function.
182 * src/Makefile.am: backward-compatible interface bump.
183
Linus Walleij16571dc2006-08-17 20:27:46 +00001842006-08-17 Linus Walleij <triad@df.lth.se>
185
186 * configure.ac: bump to 0.0.12 and require iconv.h.
187
1882006-08-16 Linus Walleij <triad@df.lth.se>
189
190 * src/unicode.c: remove bigendian weirdness and switch
191 to using iconv() instead.
192 * src/unicode.h: dito.
193 * src/libmtp.c: reflect changes.
194
Linus Walleij3e188f12006-08-09 20:46:05 +00001952006-08-09 Linus Walleij <triad@df.lth.se>
196
197 * Release libmtp 0.0.11.
198
Linus Walleij2eb884b2006-08-04 19:17:36 +00001992006-08-04 Linus Walleij <triad@df.lth.se>
200
201 * src/libmtp.c: patch from Dan Aloni to make sendfile
202 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000203 * src/libusb-glue.c: patch from Andy Kelk to avoid
204 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000205 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000206
Linus Walleijaa4b0752006-07-26 22:21:04 +00002072006-07-27 Linus Walleij <triad@df.lth.se>
208
209 * Release libmtp 0.0.10.
210
Linus Walleij17b55ea2006-07-26 13:54:00 +00002112006-07-26 Linus Walleij <triad@df.lth.se>
212
213 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000214 * src/libmtp.c: only set metdata properties supported by
215 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000216 * src/ptp.c: sync to upstream.
217 * src/ptp.h: sync to upstream.
218 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000219
Linus Walleijc187cb92006-06-22 17:58:13 +00002202006-06-22 Linus Walleij <triad@df.lth.se>
221
222 * Release libmtp 0.0.9.
223
Linus Walleij8ab54262006-06-21 07:12:28 +00002242006-06-21 Linus Walleij <triad@df.lth.se>
225
226 * src/libmtp.h.in: added function to retrieve supported
227 filetypes.
228 * src/libmtp.c: ditto.
229 * examples/detect.c: use that function.
230
Linus Walleijcf223e62006-06-19 09:31:53 +00002312006-06-19 Linus Walleij <triad@df.lth.se>
232
233 * src/unicode.c: support all endianness, detect
234 byte-order-mark
235 * src/unicode.h: ditto.
236 * src/libmtp.c: ditto.
237 * examples/detect.c: use proper tempfile function.
238 * src/libmtp.h.in: add some more track properties.
239 * src/libmtp.c: ditto.
240 * examples/tracks.c: ditto.
241
Linus Walleij2e4b5f92006-06-16 14:00:49 +00002422006-06-16 Linus Walleij <triad@df.lth.se>
243
244 * src/libmtp.h.in: new interfaces for single metadata post
245 retrieveal.
246 * src/libmtp.c: ditto.
247 * examples/playlists.c: display track info using the new
248 individual track metadata retrieveal method.
249 * examples/getplaylist.c: ditto.
250
Linus Walleij05ccbe72006-06-13 07:46:58 +00002512006-06-13 Linus Walleij <triad@df.lth.se>
252
253 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000254 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000255 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000256 we can find them. Retrieve device secure time and cert
257 out of sheer curiosity.
258 * src/ptp.c: sync to libgphoto2 with my patches.
259 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000260
Linus Walleij438bd7f2006-06-08 11:35:44 +00002612006-06-07 Linus Walleij <triad@df.lth.se>
262
263 * src/libmtp.h.in: new playlist API and refactorings.
264 * src/libmtp.c: ditto, and refactorings.
265 * src/unicode.h: const correctness.
266 * src/unicode.c: ditto.
267 * examples/playlists.c: new example program.
268 * configure.ac: bump to 0.0.9
269 * src/Makefile.am: bump library interface.
270
Linus Walleij52e3ac52006-06-05 10:30:00 +00002712006-06-05 Linus Walleij <triad@df.lth.se>
272
273 * examples/sendtr.c: fixed annoying bug that made this
274 program totally useless.
275 * src/libmtp.c: cosmetics.
276 * configure.ac: bump to 0.0.8.
277
Linus Walleij345a3372006-06-03 20:55:25 +00002782006-06-03 Linus Walleij <triad@df.lth.se>
279
280 * src/libmtp.c: metadata bugs, album name and genre
281 confused. Fixe it and released libmtp 0.0.7.
282
Linus Walleijdc09dc02006-06-01 14:23:41 +00002832006-06-01 Linus Walleij <triad@df.lth.se>
284
285 * Released libmtp 0.0.6.
286
Linus Walleij549ec4d2006-05-31 19:59:52 +00002872006-05-31 Linus Walleij <triad@df.lth.se>
288
289 * src/libmtp.c: fixed mapping for JPEG vs JFIF
290 * src/libmtp.h.in: added proper type for JPEG
291 * examples/sendfile.c: send proper JPEG type
292
Linus Walleijd3fdd972006-05-30 15:51:37 +00002932006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
294
295 * src/libmtp.c: fixed a bug in update metadata due to
296 bad use of return code.
297 * src/libusb-glue.c: fixed a loop exiting problem with
298 good 'ol GOTO.
299
Linus Walleij9b1fcd92006-05-29 08:35:29 +00003002006-05-29 Linus Walleij <triad@df.lth.se>
301
302 * src/libusb-glue.c: one more device.
303 * doc/examples.h: produce correct documentation.
304 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000305 * src/ptp.c: sync to libgphoto2.
306 * src/ptp.h: ditto.
307 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000308 * src/libmtp.c: fixed all filetype API related functions
309 not to use any PTP intrinsic defines at all, made all
310 parameters to functions use the internal libmtp interface
311 enumerations and definitions. Removed LIBMTP_Release():
312 we can live with the memory lost during init. You're not
313 supposed to re-initialize the device. Consequently removed
314 the delete function that cleaned the filetype assoc list.
315 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000316
ravelox088180b2006-05-26 23:55:40 +00003172006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
318
319 * src/libmtp.c: refactored object handling to be more generic
320 * src/libmtp.h.in: ditto
321 * examples/refactortest.c: Added simple example to use refactoring
322 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000323 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
324 for playlist handling
325 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000326
Linus Walleij1fd2d272006-05-08 09:22:01 +00003272006-05-08 Linus Walleij <triad@df.lth.se>
328
329 * src/libmtp.h.in: add simple detection function.
330 * src/libusb-glue.c: implement MTP "OS descriptor" for
331 looking for MTP devices.
332 * examples/detect.c: make it possible to do very
333 rudimentary detection with "detect -p".
334 * configure.ac: bump to 0.0.5.
335
Linus Walleij685137f2006-05-07 18:09:02 +00003362006-05-07 Linus Walleij <triad@df.lth.se>
337
338 * COPYING: since we no longer use any parts of libptp2
339 and only files from libgphoto2, we switch to the GNU
340 Lesser General Public License (GNU LGPL). libptp2 is
341 a derived work from libgphoto2, and so is libmtp, there
342 are no remnants of libptp2 in libmtp anymore.
343
Linus Walleij16c51f02006-05-04 13:20:22 +00003442006-05-04 Linus Walleij <triad@df.lth.se>
345
346 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000347 * src/libmtp.c: respectfully rearranged to use a filetype mapping
348 table.
349 * src/ptp-pack.c: real nasty unicode packing bug.
350 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000351
Linus Walleijd6a49972006-05-02 08:24:54 +00003522006-05-02 Linus Walleij <triad@df.lth.se>
353
354 * src/libmtp.c: general shaping up for release. All track
355 and file sending functions now respects a parent ID to be
356 sent along with files and tracks.
357 * src/libmtp.h.in: dito.
358 * src/libusb-glue.c: dito.
359 * examples/sendfile.c: interface dependency changes.
360 * examples/sendtr.c: dito.
361
Linus Walleijc60275a2006-04-30 10:58:11 +00003622006-04-30 Linus Walleij <triad@df.lth.se>
363
364 * src/ptp.c: sync upstream.
365 * src/ptp.h: dito.
366
Linus Walleij370c68d2006-04-27 14:19:01 +00003672006-04-27 Linus Walleij <triad@df.lth.se>
368
369 * examples/sendfile.c: first file sender program based
370 on API implementation and changes by Chris Allegretta.
371 * examples/Makefile.am: new program, new entry.
372 * src/libmtp.c: reflect this new functionality.
373 * src/libmtp.h.in: dito.
374
Linus Walleijb02a0662006-04-25 08:05:09 +00003752006-04-25 Linus Walleij <triad@df.lth.se>
376
377 * Rebased the sources around libgphoto2 instead.
378 This was a major revision...
379 * src/ptp.c: imported libgphoto2 version verbatim.
380 * src/ptp.h: imported libgphoto2 version, minor patch.
381 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000382 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000383 * src/mtp.c: dropped, since all functions are now in ptp.c
384 * src/mtp-pack.c: dropped, same reason.
385 * src/mtp.h: dropped, same reason.
386 * src/mtp-pack.h: dropped, same reason.
387
Linus Walleije5f3ad42006-04-21 07:44:36 +00003882006-04-21 Linus Walleij <triad@df.lth.se>
389
Linus Walleij902c0b92006-04-21 10:52:48 +0000390 * Released libmtp 0.0.3
391 * Bumped source to 0.0.4
392
3932006-04-21 Linus Walleij <triad@df.lth.se>
394
Linus Walleije5f3ad42006-04-21 07:44:36 +0000395 * src/ptp-pack.c: GCC 4.x compilation patch from
396 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000397 * src/libusb-glue.c: New Samsung device and some
398 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000399 * src/ptp.h: some defines from libgphoto2 to get
400 a bit more compatible.
401 * src/libmtp.c: Added a folder API implementation by
402 Dave "ravelox" Kelly.
403 * src/libmtp.h.in: dito.
404 * examples/folders.c: dito.
405 * examples/newfolder.c: dito.
406 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000407
Linus Walleij6fd2f082006-03-28 07:19:22 +00004082006-03-28 Linus Walleij <triad@df.lth.se>
409
410 * m4/*: updated macros to work with GCC 4.1.0.
411 * examples/hotplug.c: new program to create device
412 ID lists.
413 * libmtp.rules: now an auto-generated file.
414 * libmtp.usermap: now an auto-generated file.
415
Linus Walleijf6bc1782006-03-24 15:12:47 +00004162006-03-24 Linus Walleij <triad@df.lth.se>
417
418 * Beginning a file API, fixed some example program
419 names and such.
420
Linus Walleij6946ac52006-03-21 06:51:22 +00004212006-03-18 Linus Walleij <triad@df.lth.se>
422
423 * Fixed up callback interface to a simpler version,
424 the old one was bloated stuff from libnjb anyway.
425 Bump to 0.0.2.
426
Linus Walleij9b28da32006-03-16 13:47:58 +00004272006-03-16 Linus Walleij <triad@df.lth.se>
428
429 * Fixed the .h file and implementation so you really only
430 need this one .h file to interface the library.
431
Linus Walleij80124062006-03-15 10:26:09 +00004322006-03-15 Linus Walleij <triad@df.lth.se>
433
434 * Added three device information retrieval functions.
435
Linus Walleij15e344f2006-03-06 15:15:00 +00004362006-03-06 Linus Walleij <triad@df.lth.se>
437
438 * Moving some things around to structure the source. More
439 will be needed...
440
Linus Walleij93218602006-02-27 08:53:38 +00004412006-02-27 Linus Walleij <triad@df.lth.se>
442
443 * Release libmtp 0.0.1 so people have something to play with,
444 what the heck. Probably saves someones day.
445
Linus Walleij95698cd2006-02-24 10:40:40 +00004462006-02-24 Linus Walleij <triad@df.lth.se>
447
448 * Deltr example program to delete tracks, plus corresponding
449 interface call.
450
Linus Walleij17e39f72006-02-23 15:54:28 +00004512006-02-23 Linus Walleij <triad@df.lth.se>
452
453 * Fixed up sendtr program and metadata tagging function that is
454 used after sending files.
455
Linus Walleij394bbbe2006-02-22 16:10:53 +00004562006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000457
Linus Walleij394bbbe2006-02-22 16:10:53 +0000458 * Untested gettr.c and sendtr.c programs to get and send tracks
459 created.
460
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00004612006-01-30 Linus Walleij <triad@df.lth.se>
462
463 * Created the initial GNU source directory structure.
464 * Added the most basic files.