blob: 4f4337c596e0e63beec5982a5a2fbd4624ef4b51 [file] [log] [blame]
Linus Walleij955e6ba2006-09-26 16:55:10 +000012006-09-26 Linus Walleij <triad@df.lth.se>
2
3 * libmtp.pc.in: require libusb instead of just linking it.
4 * configure.ac: bump release to 0.0.20 and release.
5
Linus Walleijb1318d12006-09-25 14:59:26 +000062006-09-25 Linus Walleij <triad@df.lth.se>
7
8 * examples/evolution-sync.sh: example script to illustrate
9 to to transfer calendar, task and contact information
10 to a device supporting this.
11
Linus Walleij4ef39e62006-09-19 14:11:52 +0000122006-09-19 Linus Walleij <triad@df.lth.se>
13
14 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
15 * src/libmtp.c: dito.
16 * examples/sendfile.c: support vcard3.
17
Linus Walleijf248fdd2006-09-16 20:11:40 +0000182006-09-16 Linus Walleij <triad@df.lth.se>
19
20 * configure.ac: bump to 0.0.19 and release. There are some
21 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +000022 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +000023
Linus Walleijb8bfcb22006-09-13 12:14:28 +0000242006-09-13 Linus Walleij <triad@df.lth.se>
25
26 * examples/format.c: formatting test program.
27 * examples.Makefile.am: added format.
28
Linus Walleij13374a42006-09-13 11:55:30 +0000292006-09-13 Andy Kelk <andy@mopoke.co.uk>
30
31 * src/libmtp.h.in: added interface to format storage.
32 * src/libmtp.c: dito.
33 * src/ptp.c: dito.
34 * src/ptp.h: dito.
35
Linus Walleijd31e6192006-09-12 07:55:27 +0000362006-09-12 Linus Walleij <triad@df.lth.se>
37
38 * configure.ac: bump release. Released 0.0.18 yesterday.
39 * src/libmtp.c: do not try to read battery max level unless
40 the device supports it. (Bug occurred on Toshiba Gigabeat
41 P10.)
42
Linus Walleijd5d51c82006-09-11 06:57:50 +0000432006-09-11 Linus Walleij <triad@df.lth.se>
44
45 * src/libusb-glue.c: messed around a bit with device descriptor
46 detection so as to bring closer to libgphoto2 detection algorithm.
47 I've seen things that might be false positives, possibly USB mass
48 storage devices with additional MSFT descriptors to indicate they
49 have Janus DRM.
50 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
51 knows that UCS-2 is in machine endianness but Darwin and *BSD does
52 not. Detect C library and switch accordingly.
53 * src/unicode.c: retire old unicode code only keep things we cannot
54 live without. Remove the own internal UCS-2 conversion engine and
55 the internal iconv() engine and use the one already available in
56 PTPParams.
57 * src/unicode.h: dito.
58
Linus Walleij0558ac52006-09-07 06:55:03 +0000592006-09-07 Linus Walleij <triad@df.lth.se>
60
61 * src/libusb-glue.h: added device flags so we can make
62 the code behave differently on certain devices.
63 * src/libusb-glue.c: dito, plus removed some debug prints.
64 * src/libmtp.c: docs.
65 * src/libmtp.h.in: added device_flags to device list struct.
66 * src/Makefile.am: bumped to compatible library interface.
67 * configure.ac: bump version to 0.0.18 (0.0.17 released
68 yesterday).
69
Richard Low6ec2cc12006-09-06 16:59:16 +0000702006-09-06 Richard Low <richard@wentnet.com>
71
72 * src/libusb-glue.c: changed packet sizes to improve
73 transfer speeds.
74 * src/libmtp.c: changed packet sizes to improve transfer
75 transfer speeds. Also stopped extra ptp_getobjectinfo
76 calls when getting directories on connect.
77
Linus Walleij7f0c72e2006-09-06 13:01:58 +0000782006-09-06 Linus Walleij <triad@df.lth.se>
79
80 * src/libusb-glue.c: fixed some endpoint size detection
81 and sending special file sizes stuff. Real hairy bug...
82 Also messed around a bit with the callbacks.
83 * src/libmtp.c: changes for callback size detection.
84
Linus Walleija9310fa2006-09-04 06:47:42 +0000852006-09-04 Linus Walleij <triad@df.lth.se>
86
87 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
88 instead of magic values.
89
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000902006-09-02 Linus Walleij <triad@df.lth.se>
91
Linus Walleijcd3eb3d2006-09-02 21:33:22 +000092 * src/libmtp.c: add some code to have
93 LIBMTP_Send_File_From_File_Descriptor() accept a stream
94 if size is set to (uint64_t) -1, plus documentation fixes.
95 I don't think the streaming code will work but whoever want
96 to experiment with it has a place to start.
97 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +000098
Linus Walleijda9500d2006-08-30 13:17:06 +0000992006-08-30 Linus Walleij <triad@df.lth.se>
100
101 * configure.ac: version bump.
102 * src/libmtp.c: more debug prints.
103 * src/libusb-glue.c: new iRiver device called Clix. By
104 the way I released libmtp 0.0.16 yesterday.
105
Linus Walleija823a702006-08-27 21:27:46 +00001062006-08-28 Linus Walleij <triad@df.lth.se>
107
108 * configure.ac: version bump.
109 * src/ptp-pack.c: upstream has committed my patch giving full
110 unicode support in libgphoto2 ptp2 camlib. No need for
111 any more ugly workarounds, plus we now have full unicode
112 filenames!
113 * src/ptp.c: dito.
114 * src/ptp.h: dito.
115 * src/libmtp.c: revamp to use the new unicode support in
116 libgphoto2.
117 * src/unicode.c: remove unused functionality.
118 * src/unicode.h: dito.
119
Linus Walleijee73ef22006-08-27 19:56:00 +00001202006-08-27 Linus Walleij <triad@df.lth.se>
121
122 * configure.ac: version bump. Release all these fixes
123 as 0.0.15.
124 * src/libusb-glue.c: fixed sucky errors. Added callback
125 code when reading files.
126 * src/libusb-glue.h: const correctness.
127 * src/libmtp.h.in: finally fixup the type on the callbacks.
128 * src/libmtp.c: more accurate sending callbacks. Callbacks
129 when getting files also, working correctly. Typeing of
130 callbacks now OK.
131 * examples/getfile.c: some display bar cosmetic fixup.
132 * TODO: lots of the things todo are now done.
133
Linus Walleijd214b9b2006-08-26 22:08:37 +00001342006-08-26 Linus Walleij <triad@df.lth.se>
135
136 * configure.ac: version bump.
137 * src/libmtp.c: fix bug and reinstate callbacks.
138 * src/libusb-glue.h: dito.
139 * src/libusb-glue.c: dito.
140
Linus Walleije7f44be2006-08-25 19:32:29 +00001412006-08-25 Linus Walleij <triad@df.lth.se>
142
143 * src/libmtp.c: use the new file descriptor sender function.
144 Going to release this as 0.0.13.
145 * src/ptp.c: upstream accepted patches synced in.
146 * src/ptp.h: dito.
147
Linus Walleijeab650b2006-08-21 23:26:37 +00001482006-08-22 Linus Walleij <triad@df.lth.se>
149
Linus Walleij80d134a2006-08-22 21:41:37 +0000150 * src/libusb-glue.c: found a real nasty endpoint bug,
151 code from libgphoto2 was assuming max packet size of
152 512 bytes while it is 64 when a USB 2.0 device is
153 plugged into an UHCI hub.
154
1552006-08-22 Linus Walleij <triad@df.lth.se>
156
Linus Walleijeab650b2006-08-21 23:26:37 +0000157 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
158
Linus Walleij924236a2006-08-20 22:17:58 +00001592006-08-21 Linus Walleij <triad@df.lth.se>
160
161 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000162 as result of experiments by Gavin McCullagh. Upstream
163 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000164 Move iconv() converters into device struct for thread
165 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000166 * src/ptp.c: sync to upstream which merges patch to get
167 file directly to file descriptor.
168 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000169 * src/unicode.c: move iconv() converters into the device
170 struct for thread safety.
171 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000172
Linus Walleij30658792006-08-19 22:18:55 +00001732006-08-20 Linus Walleij <triad@df.lth.se>
174
175 * src/libmtp.h.in: set friendly name and sync partner,
176 rename ownername to friendlyname.
177 * src/libmtp.c: dito.
178 * examples/detect.c: reflect changes.
179 * src/Makefile.am: interface is incompatible so age it.
180
Linus Walleijfae27482006-08-19 20:13:25 +00001812006-08-19 Linus Walleij <triad@df.lth.se>
182
183 * src/libmtp.h.in: add function to get syncronization
184 partner for the device.
185 * src/libmtp.c: dito.
186 * examples/detect.c: use that function.
187 * src/Makefile.am: backward-compatible interface bump.
188
Linus Walleij16571dc2006-08-17 20:27:46 +00001892006-08-17 Linus Walleij <triad@df.lth.se>
190
191 * configure.ac: bump to 0.0.12 and require iconv.h.
192
1932006-08-16 Linus Walleij <triad@df.lth.se>
194
195 * src/unicode.c: remove bigendian weirdness and switch
196 to using iconv() instead.
197 * src/unicode.h: dito.
198 * src/libmtp.c: reflect changes.
199
Linus Walleij3e188f12006-08-09 20:46:05 +00002002006-08-09 Linus Walleij <triad@df.lth.se>
201
202 * Release libmtp 0.0.11.
203
Linus Walleij2eb884b2006-08-04 19:17:36 +00002042006-08-04 Linus Walleij <triad@df.lth.se>
205
206 * src/libmtp.c: patch from Dan Aloni to make sendfile
207 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000208 * src/libusb-glue.c: patch from Andy Kelk to avoid
209 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000210 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000211
Linus Walleijaa4b0752006-07-26 22:21:04 +00002122006-07-27 Linus Walleij <triad@df.lth.se>
213
214 * Release libmtp 0.0.10.
215
Linus Walleij17b55ea2006-07-26 13:54:00 +00002162006-07-26 Linus Walleij <triad@df.lth.se>
217
218 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000219 * src/libmtp.c: only set metdata properties supported by
220 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000221 * src/ptp.c: sync to upstream.
222 * src/ptp.h: sync to upstream.
223 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000224
Linus Walleijc187cb92006-06-22 17:58:13 +00002252006-06-22 Linus Walleij <triad@df.lth.se>
226
227 * Release libmtp 0.0.9.
228
Linus Walleij8ab54262006-06-21 07:12:28 +00002292006-06-21 Linus Walleij <triad@df.lth.se>
230
231 * src/libmtp.h.in: added function to retrieve supported
232 filetypes.
233 * src/libmtp.c: ditto.
234 * examples/detect.c: use that function.
235
Linus Walleijcf223e62006-06-19 09:31:53 +00002362006-06-19 Linus Walleij <triad@df.lth.se>
237
238 * src/unicode.c: support all endianness, detect
239 byte-order-mark
240 * src/unicode.h: ditto.
241 * src/libmtp.c: ditto.
242 * examples/detect.c: use proper tempfile function.
243 * src/libmtp.h.in: add some more track properties.
244 * src/libmtp.c: ditto.
245 * examples/tracks.c: ditto.
246
Linus Walleij2e4b5f92006-06-16 14:00:49 +00002472006-06-16 Linus Walleij <triad@df.lth.se>
248
249 * src/libmtp.h.in: new interfaces for single metadata post
250 retrieveal.
251 * src/libmtp.c: ditto.
252 * examples/playlists.c: display track info using the new
253 individual track metadata retrieveal method.
254 * examples/getplaylist.c: ditto.
255
Linus Walleij05ccbe72006-06-13 07:46:58 +00002562006-06-13 Linus Walleij <triad@df.lth.se>
257
258 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000259 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000260 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000261 we can find them. Retrieve device secure time and cert
262 out of sheer curiosity.
263 * src/ptp.c: sync to libgphoto2 with my patches.
264 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000265
Linus Walleij438bd7f2006-06-08 11:35:44 +00002662006-06-07 Linus Walleij <triad@df.lth.se>
267
268 * src/libmtp.h.in: new playlist API and refactorings.
269 * src/libmtp.c: ditto, and refactorings.
270 * src/unicode.h: const correctness.
271 * src/unicode.c: ditto.
272 * examples/playlists.c: new example program.
273 * configure.ac: bump to 0.0.9
274 * src/Makefile.am: bump library interface.
275
Linus Walleij52e3ac52006-06-05 10:30:00 +00002762006-06-05 Linus Walleij <triad@df.lth.se>
277
278 * examples/sendtr.c: fixed annoying bug that made this
279 program totally useless.
280 * src/libmtp.c: cosmetics.
281 * configure.ac: bump to 0.0.8.
282
Linus Walleij345a3372006-06-03 20:55:25 +00002832006-06-03 Linus Walleij <triad@df.lth.se>
284
285 * src/libmtp.c: metadata bugs, album name and genre
286 confused. Fixe it and released libmtp 0.0.7.
287
Linus Walleijdc09dc02006-06-01 14:23:41 +00002882006-06-01 Linus Walleij <triad@df.lth.se>
289
290 * Released libmtp 0.0.6.
291
Linus Walleij549ec4d2006-05-31 19:59:52 +00002922006-05-31 Linus Walleij <triad@df.lth.se>
293
294 * src/libmtp.c: fixed mapping for JPEG vs JFIF
295 * src/libmtp.h.in: added proper type for JPEG
296 * examples/sendfile.c: send proper JPEG type
297
Linus Walleijd3fdd972006-05-30 15:51:37 +00002982006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
299
300 * src/libmtp.c: fixed a bug in update metadata due to
301 bad use of return code.
302 * src/libusb-glue.c: fixed a loop exiting problem with
303 good 'ol GOTO.
304
Linus Walleij9b1fcd92006-05-29 08:35:29 +00003052006-05-29 Linus Walleij <triad@df.lth.se>
306
307 * src/libusb-glue.c: one more device.
308 * doc/examples.h: produce correct documentation.
309 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000310 * src/ptp.c: sync to libgphoto2.
311 * src/ptp.h: ditto.
312 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000313 * src/libmtp.c: fixed all filetype API related functions
314 not to use any PTP intrinsic defines at all, made all
315 parameters to functions use the internal libmtp interface
316 enumerations and definitions. Removed LIBMTP_Release():
317 we can live with the memory lost during init. You're not
318 supposed to re-initialize the device. Consequently removed
319 the delete function that cleaned the filetype assoc list.
320 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000321
ravelox088180b2006-05-26 23:55:40 +00003222006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
323
324 * src/libmtp.c: refactored object handling to be more generic
325 * src/libmtp.h.in: ditto
326 * examples/refactortest.c: Added simple example to use refactoring
327 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000328 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
329 for playlist handling
330 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000331
Linus Walleij1fd2d272006-05-08 09:22:01 +00003322006-05-08 Linus Walleij <triad@df.lth.se>
333
334 * src/libmtp.h.in: add simple detection function.
335 * src/libusb-glue.c: implement MTP "OS descriptor" for
336 looking for MTP devices.
337 * examples/detect.c: make it possible to do very
338 rudimentary detection with "detect -p".
339 * configure.ac: bump to 0.0.5.
340
Linus Walleij685137f2006-05-07 18:09:02 +00003412006-05-07 Linus Walleij <triad@df.lth.se>
342
343 * COPYING: since we no longer use any parts of libptp2
344 and only files from libgphoto2, we switch to the GNU
345 Lesser General Public License (GNU LGPL). libptp2 is
346 a derived work from libgphoto2, and so is libmtp, there
347 are no remnants of libptp2 in libmtp anymore.
348
Linus Walleij16c51f02006-05-04 13:20:22 +00003492006-05-04 Linus Walleij <triad@df.lth.se>
350
351 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000352 * src/libmtp.c: respectfully rearranged to use a filetype mapping
353 table.
354 * src/ptp-pack.c: real nasty unicode packing bug.
355 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000356
Linus Walleijd6a49972006-05-02 08:24:54 +00003572006-05-02 Linus Walleij <triad@df.lth.se>
358
359 * src/libmtp.c: general shaping up for release. All track
360 and file sending functions now respects a parent ID to be
361 sent along with files and tracks.
362 * src/libmtp.h.in: dito.
363 * src/libusb-glue.c: dito.
364 * examples/sendfile.c: interface dependency changes.
365 * examples/sendtr.c: dito.
366
Linus Walleijc60275a2006-04-30 10:58:11 +00003672006-04-30 Linus Walleij <triad@df.lth.se>
368
369 * src/ptp.c: sync upstream.
370 * src/ptp.h: dito.
371
Linus Walleij370c68d2006-04-27 14:19:01 +00003722006-04-27 Linus Walleij <triad@df.lth.se>
373
374 * examples/sendfile.c: first file sender program based
375 on API implementation and changes by Chris Allegretta.
376 * examples/Makefile.am: new program, new entry.
377 * src/libmtp.c: reflect this new functionality.
378 * src/libmtp.h.in: dito.
379
Linus Walleijb02a0662006-04-25 08:05:09 +00003802006-04-25 Linus Walleij <triad@df.lth.se>
381
382 * Rebased the sources around libgphoto2 instead.
383 This was a major revision...
384 * src/ptp.c: imported libgphoto2 version verbatim.
385 * src/ptp.h: imported libgphoto2 version, minor patch.
386 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000387 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000388 * src/mtp.c: dropped, since all functions are now in ptp.c
389 * src/mtp-pack.c: dropped, same reason.
390 * src/mtp.h: dropped, same reason.
391 * src/mtp-pack.h: dropped, same reason.
392
Linus Walleije5f3ad42006-04-21 07:44:36 +00003932006-04-21 Linus Walleij <triad@df.lth.se>
394
Linus Walleij902c0b92006-04-21 10:52:48 +0000395 * Released libmtp 0.0.3
396 * Bumped source to 0.0.4
397
3982006-04-21 Linus Walleij <triad@df.lth.se>
399
Linus Walleije5f3ad42006-04-21 07:44:36 +0000400 * src/ptp-pack.c: GCC 4.x compilation patch from
401 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000402 * src/libusb-glue.c: New Samsung device and some
403 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000404 * src/ptp.h: some defines from libgphoto2 to get
405 a bit more compatible.
406 * src/libmtp.c: Added a folder API implementation by
407 Dave "ravelox" Kelly.
408 * src/libmtp.h.in: dito.
409 * examples/folders.c: dito.
410 * examples/newfolder.c: dito.
411 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000412
Linus Walleij6fd2f082006-03-28 07:19:22 +00004132006-03-28 Linus Walleij <triad@df.lth.se>
414
415 * m4/*: updated macros to work with GCC 4.1.0.
416 * examples/hotplug.c: new program to create device
417 ID lists.
418 * libmtp.rules: now an auto-generated file.
419 * libmtp.usermap: now an auto-generated file.
420
Linus Walleijf6bc1782006-03-24 15:12:47 +00004212006-03-24 Linus Walleij <triad@df.lth.se>
422
423 * Beginning a file API, fixed some example program
424 names and such.
425
Linus Walleij6946ac52006-03-21 06:51:22 +00004262006-03-18 Linus Walleij <triad@df.lth.se>
427
428 * Fixed up callback interface to a simpler version,
429 the old one was bloated stuff from libnjb anyway.
430 Bump to 0.0.2.
431
Linus Walleij9b28da32006-03-16 13:47:58 +00004322006-03-16 Linus Walleij <triad@df.lth.se>
433
434 * Fixed the .h file and implementation so you really only
435 need this one .h file to interface the library.
436
Linus Walleij80124062006-03-15 10:26:09 +00004372006-03-15 Linus Walleij <triad@df.lth.se>
438
439 * Added three device information retrieval functions.
440
Linus Walleij15e344f2006-03-06 15:15:00 +00004412006-03-06 Linus Walleij <triad@df.lth.se>
442
443 * Moving some things around to structure the source. More
444 will be needed...
445
Linus Walleij93218602006-02-27 08:53:38 +00004462006-02-27 Linus Walleij <triad@df.lth.se>
447
448 * Release libmtp 0.0.1 so people have something to play with,
449 what the heck. Probably saves someones day.
450
Linus Walleij95698cd2006-02-24 10:40:40 +00004512006-02-24 Linus Walleij <triad@df.lth.se>
452
453 * Deltr example program to delete tracks, plus corresponding
454 interface call.
455
Linus Walleij17e39f72006-02-23 15:54:28 +00004562006-02-23 Linus Walleij <triad@df.lth.se>
457
458 * Fixed up sendtr program and metadata tagging function that is
459 used after sending files.
460
Linus Walleij394bbbe2006-02-22 16:10:53 +00004612006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000462
Linus Walleij394bbbe2006-02-22 16:10:53 +0000463 * Untested gettr.c and sendtr.c programs to get and send tracks
464 created.
465
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00004662006-01-30 Linus Walleij <triad@df.lth.se>
467
468 * Created the initial GNU source directory structure.
469 * Added the most basic files.