blob: 90321a7ab99430d6b2fa24acb571d800230b61ce [file] [log] [blame]
Richard Low6ec2cc12006-09-06 16:59:16 +000012006-09-06 Richard Low <richard@wentnet.com>
2
3 * src/libusb-glue.c: changed packet sizes to improve
4 transfer speeds.
5 * src/libmtp.c: changed packet sizes to improve transfer
6 transfer speeds. Also stopped extra ptp_getobjectinfo
7 calls when getting directories on connect.
8
Linus Walleij7f0c72e2006-09-06 13:01:58 +000092006-09-06 Linus Walleij <triad@df.lth.se>
10
11 * src/libusb-glue.c: fixed some endpoint size detection
12 and sending special file sizes stuff. Real hairy bug...
13 Also messed around a bit with the callbacks.
14 * src/libmtp.c: changes for callback size detection.
15
Linus Walleija9310fa2006-09-04 06:47:42 +0000162006-09-04 Linus Walleij <triad@df.lth.se>
17
18 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
19 instead of magic values.
20
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000212006-09-02 Linus Walleij <triad@df.lth.se>
22
Linus Walleijcd3eb3d2006-09-02 21:33:22 +000023 * src/libmtp.c: add some code to have
24 LIBMTP_Send_File_From_File_Descriptor() accept a stream
25 if size is set to (uint64_t) -1, plus documentation fixes.
26 I don't think the streaming code will work but whoever want
27 to experiment with it has a place to start.
28 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +000029
Linus Walleijda9500d2006-08-30 13:17:06 +0000302006-08-30 Linus Walleij <triad@df.lth.se>
31
32 * configure.ac: version bump.
33 * src/libmtp.c: more debug prints.
34 * src/libusb-glue.c: new iRiver device called Clix. By
35 the way I released libmtp 0.0.16 yesterday.
36
Linus Walleija823a702006-08-27 21:27:46 +0000372006-08-28 Linus Walleij <triad@df.lth.se>
38
39 * configure.ac: version bump.
40 * src/ptp-pack.c: upstream has committed my patch giving full
41 unicode support in libgphoto2 ptp2 camlib. No need for
42 any more ugly workarounds, plus we now have full unicode
43 filenames!
44 * src/ptp.c: dito.
45 * src/ptp.h: dito.
46 * src/libmtp.c: revamp to use the new unicode support in
47 libgphoto2.
48 * src/unicode.c: remove unused functionality.
49 * src/unicode.h: dito.
50
Linus Walleijee73ef22006-08-27 19:56:00 +0000512006-08-27 Linus Walleij <triad@df.lth.se>
52
53 * configure.ac: version bump. Release all these fixes
54 as 0.0.15.
55 * src/libusb-glue.c: fixed sucky errors. Added callback
56 code when reading files.
57 * src/libusb-glue.h: const correctness.
58 * src/libmtp.h.in: finally fixup the type on the callbacks.
59 * src/libmtp.c: more accurate sending callbacks. Callbacks
60 when getting files also, working correctly. Typeing of
61 callbacks now OK.
62 * examples/getfile.c: some display bar cosmetic fixup.
63 * TODO: lots of the things todo are now done.
64
Linus Walleijd214b9b2006-08-26 22:08:37 +0000652006-08-26 Linus Walleij <triad@df.lth.se>
66
67 * configure.ac: version bump.
68 * src/libmtp.c: fix bug and reinstate callbacks.
69 * src/libusb-glue.h: dito.
70 * src/libusb-glue.c: dito.
71
Linus Walleije7f44be2006-08-25 19:32:29 +0000722006-08-25 Linus Walleij <triad@df.lth.se>
73
74 * src/libmtp.c: use the new file descriptor sender function.
75 Going to release this as 0.0.13.
76 * src/ptp.c: upstream accepted patches synced in.
77 * src/ptp.h: dito.
78
Linus Walleijeab650b2006-08-21 23:26:37 +0000792006-08-22 Linus Walleij <triad@df.lth.se>
80
Linus Walleij80d134a2006-08-22 21:41:37 +000081 * src/libusb-glue.c: found a real nasty endpoint bug,
82 code from libgphoto2 was assuming max packet size of
83 512 bytes while it is 64 when a USB 2.0 device is
84 plugged into an UHCI hub.
85
862006-08-22 Linus Walleij <triad@df.lth.se>
87
Linus Walleijeab650b2006-08-21 23:26:37 +000088 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
89
Linus Walleij924236a2006-08-20 22:17:58 +0000902006-08-21 Linus Walleij <triad@df.lth.se>
91
92 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +000093 as result of experiments by Gavin McCullagh. Upstream
94 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +000095 Move iconv() converters into device struct for thread
96 safety.
Linus Walleij96c62432006-08-21 10:04:02 +000097 * src/ptp.c: sync to upstream which merges patch to get
98 file directly to file descriptor.
99 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000100 * src/unicode.c: move iconv() converters into the device
101 struct for thread safety.
102 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000103
Linus Walleij30658792006-08-19 22:18:55 +00001042006-08-20 Linus Walleij <triad@df.lth.se>
105
106 * src/libmtp.h.in: set friendly name and sync partner,
107 rename ownername to friendlyname.
108 * src/libmtp.c: dito.
109 * examples/detect.c: reflect changes.
110 * src/Makefile.am: interface is incompatible so age it.
111
Linus Walleijfae27482006-08-19 20:13:25 +00001122006-08-19 Linus Walleij <triad@df.lth.se>
113
114 * src/libmtp.h.in: add function to get syncronization
115 partner for the device.
116 * src/libmtp.c: dito.
117 * examples/detect.c: use that function.
118 * src/Makefile.am: backward-compatible interface bump.
119
Linus Walleij16571dc2006-08-17 20:27:46 +00001202006-08-17 Linus Walleij <triad@df.lth.se>
121
122 * configure.ac: bump to 0.0.12 and require iconv.h.
123
1242006-08-16 Linus Walleij <triad@df.lth.se>
125
126 * src/unicode.c: remove bigendian weirdness and switch
127 to using iconv() instead.
128 * src/unicode.h: dito.
129 * src/libmtp.c: reflect changes.
130
Linus Walleij3e188f12006-08-09 20:46:05 +00001312006-08-09 Linus Walleij <triad@df.lth.se>
132
133 * Release libmtp 0.0.11.
134
Linus Walleij2eb884b2006-08-04 19:17:36 +00001352006-08-04 Linus Walleij <triad@df.lth.se>
136
137 * src/libmtp.c: patch from Dan Aloni to make sendfile
138 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000139 * src/libusb-glue.c: patch from Andy Kelk to avoid
140 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000141 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000142
Linus Walleijaa4b0752006-07-26 22:21:04 +00001432006-07-27 Linus Walleij <triad@df.lth.se>
144
145 * Release libmtp 0.0.10.
146
Linus Walleij17b55ea2006-07-26 13:54:00 +00001472006-07-26 Linus Walleij <triad@df.lth.se>
148
149 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000150 * src/libmtp.c: only set metdata properties supported by
151 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000152 * src/ptp.c: sync to upstream.
153 * src/ptp.h: sync to upstream.
154 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000155
Linus Walleijc187cb92006-06-22 17:58:13 +00001562006-06-22 Linus Walleij <triad@df.lth.se>
157
158 * Release libmtp 0.0.9.
159
Linus Walleij8ab54262006-06-21 07:12:28 +00001602006-06-21 Linus Walleij <triad@df.lth.se>
161
162 * src/libmtp.h.in: added function to retrieve supported
163 filetypes.
164 * src/libmtp.c: ditto.
165 * examples/detect.c: use that function.
166
Linus Walleijcf223e62006-06-19 09:31:53 +00001672006-06-19 Linus Walleij <triad@df.lth.se>
168
169 * src/unicode.c: support all endianness, detect
170 byte-order-mark
171 * src/unicode.h: ditto.
172 * src/libmtp.c: ditto.
173 * examples/detect.c: use proper tempfile function.
174 * src/libmtp.h.in: add some more track properties.
175 * src/libmtp.c: ditto.
176 * examples/tracks.c: ditto.
177
Linus Walleij2e4b5f92006-06-16 14:00:49 +00001782006-06-16 Linus Walleij <triad@df.lth.se>
179
180 * src/libmtp.h.in: new interfaces for single metadata post
181 retrieveal.
182 * src/libmtp.c: ditto.
183 * examples/playlists.c: display track info using the new
184 individual track metadata retrieveal method.
185 * examples/getplaylist.c: ditto.
186
Linus Walleij05ccbe72006-06-13 07:46:58 +00001872006-06-13 Linus Walleij <triad@df.lth.se>
188
189 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000190 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000191 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000192 we can find them. Retrieve device secure time and cert
193 out of sheer curiosity.
194 * src/ptp.c: sync to libgphoto2 with my patches.
195 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000196
Linus Walleij438bd7f2006-06-08 11:35:44 +00001972006-06-07 Linus Walleij <triad@df.lth.se>
198
199 * src/libmtp.h.in: new playlist API and refactorings.
200 * src/libmtp.c: ditto, and refactorings.
201 * src/unicode.h: const correctness.
202 * src/unicode.c: ditto.
203 * examples/playlists.c: new example program.
204 * configure.ac: bump to 0.0.9
205 * src/Makefile.am: bump library interface.
206
Linus Walleij52e3ac52006-06-05 10:30:00 +00002072006-06-05 Linus Walleij <triad@df.lth.se>
208
209 * examples/sendtr.c: fixed annoying bug that made this
210 program totally useless.
211 * src/libmtp.c: cosmetics.
212 * configure.ac: bump to 0.0.8.
213
Linus Walleij345a3372006-06-03 20:55:25 +00002142006-06-03 Linus Walleij <triad@df.lth.se>
215
216 * src/libmtp.c: metadata bugs, album name and genre
217 confused. Fixe it and released libmtp 0.0.7.
218
Linus Walleijdc09dc02006-06-01 14:23:41 +00002192006-06-01 Linus Walleij <triad@df.lth.se>
220
221 * Released libmtp 0.0.6.
222
Linus Walleij549ec4d2006-05-31 19:59:52 +00002232006-05-31 Linus Walleij <triad@df.lth.se>
224
225 * src/libmtp.c: fixed mapping for JPEG vs JFIF
226 * src/libmtp.h.in: added proper type for JPEG
227 * examples/sendfile.c: send proper JPEG type
228
Linus Walleijd3fdd972006-05-30 15:51:37 +00002292006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
230
231 * src/libmtp.c: fixed a bug in update metadata due to
232 bad use of return code.
233 * src/libusb-glue.c: fixed a loop exiting problem with
234 good 'ol GOTO.
235
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002362006-05-29 Linus Walleij <triad@df.lth.se>
237
238 * src/libusb-glue.c: one more device.
239 * doc/examples.h: produce correct documentation.
240 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000241 * src/ptp.c: sync to libgphoto2.
242 * src/ptp.h: ditto.
243 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000244 * src/libmtp.c: fixed all filetype API related functions
245 not to use any PTP intrinsic defines at all, made all
246 parameters to functions use the internal libmtp interface
247 enumerations and definitions. Removed LIBMTP_Release():
248 we can live with the memory lost during init. You're not
249 supposed to re-initialize the device. Consequently removed
250 the delete function that cleaned the filetype assoc list.
251 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000252
ravelox088180b2006-05-26 23:55:40 +00002532006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
254
255 * src/libmtp.c: refactored object handling to be more generic
256 * src/libmtp.h.in: ditto
257 * examples/refactortest.c: Added simple example to use refactoring
258 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000259 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
260 for playlist handling
261 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000262
Linus Walleij1fd2d272006-05-08 09:22:01 +00002632006-05-08 Linus Walleij <triad@df.lth.se>
264
265 * src/libmtp.h.in: add simple detection function.
266 * src/libusb-glue.c: implement MTP "OS descriptor" for
267 looking for MTP devices.
268 * examples/detect.c: make it possible to do very
269 rudimentary detection with "detect -p".
270 * configure.ac: bump to 0.0.5.
271
Linus Walleij685137f2006-05-07 18:09:02 +00002722006-05-07 Linus Walleij <triad@df.lth.se>
273
274 * COPYING: since we no longer use any parts of libptp2
275 and only files from libgphoto2, we switch to the GNU
276 Lesser General Public License (GNU LGPL). libptp2 is
277 a derived work from libgphoto2, and so is libmtp, there
278 are no remnants of libptp2 in libmtp anymore.
279
Linus Walleij16c51f02006-05-04 13:20:22 +00002802006-05-04 Linus Walleij <triad@df.lth.se>
281
282 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000283 * src/libmtp.c: respectfully rearranged to use a filetype mapping
284 table.
285 * src/ptp-pack.c: real nasty unicode packing bug.
286 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000287
Linus Walleijd6a49972006-05-02 08:24:54 +00002882006-05-02 Linus Walleij <triad@df.lth.se>
289
290 * src/libmtp.c: general shaping up for release. All track
291 and file sending functions now respects a parent ID to be
292 sent along with files and tracks.
293 * src/libmtp.h.in: dito.
294 * src/libusb-glue.c: dito.
295 * examples/sendfile.c: interface dependency changes.
296 * examples/sendtr.c: dito.
297
Linus Walleijc60275a2006-04-30 10:58:11 +00002982006-04-30 Linus Walleij <triad@df.lth.se>
299
300 * src/ptp.c: sync upstream.
301 * src/ptp.h: dito.
302
Linus Walleij370c68d2006-04-27 14:19:01 +00003032006-04-27 Linus Walleij <triad@df.lth.se>
304
305 * examples/sendfile.c: first file sender program based
306 on API implementation and changes by Chris Allegretta.
307 * examples/Makefile.am: new program, new entry.
308 * src/libmtp.c: reflect this new functionality.
309 * src/libmtp.h.in: dito.
310
Linus Walleijb02a0662006-04-25 08:05:09 +00003112006-04-25 Linus Walleij <triad@df.lth.se>
312
313 * Rebased the sources around libgphoto2 instead.
314 This was a major revision...
315 * src/ptp.c: imported libgphoto2 version verbatim.
316 * src/ptp.h: imported libgphoto2 version, minor patch.
317 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000318 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000319 * src/mtp.c: dropped, since all functions are now in ptp.c
320 * src/mtp-pack.c: dropped, same reason.
321 * src/mtp.h: dropped, same reason.
322 * src/mtp-pack.h: dropped, same reason.
323
Linus Walleije5f3ad42006-04-21 07:44:36 +00003242006-04-21 Linus Walleij <triad@df.lth.se>
325
Linus Walleij902c0b92006-04-21 10:52:48 +0000326 * Released libmtp 0.0.3
327 * Bumped source to 0.0.4
328
3292006-04-21 Linus Walleij <triad@df.lth.se>
330
Linus Walleije5f3ad42006-04-21 07:44:36 +0000331 * src/ptp-pack.c: GCC 4.x compilation patch from
332 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000333 * src/libusb-glue.c: New Samsung device and some
334 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000335 * src/ptp.h: some defines from libgphoto2 to get
336 a bit more compatible.
337 * src/libmtp.c: Added a folder API implementation by
338 Dave "ravelox" Kelly.
339 * src/libmtp.h.in: dito.
340 * examples/folders.c: dito.
341 * examples/newfolder.c: dito.
342 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000343
Linus Walleij6fd2f082006-03-28 07:19:22 +00003442006-03-28 Linus Walleij <triad@df.lth.se>
345
346 * m4/*: updated macros to work with GCC 4.1.0.
347 * examples/hotplug.c: new program to create device
348 ID lists.
349 * libmtp.rules: now an auto-generated file.
350 * libmtp.usermap: now an auto-generated file.
351
Linus Walleijf6bc1782006-03-24 15:12:47 +00003522006-03-24 Linus Walleij <triad@df.lth.se>
353
354 * Beginning a file API, fixed some example program
355 names and such.
356
Linus Walleij6946ac52006-03-21 06:51:22 +00003572006-03-18 Linus Walleij <triad@df.lth.se>
358
359 * Fixed up callback interface to a simpler version,
360 the old one was bloated stuff from libnjb anyway.
361 Bump to 0.0.2.
362
Linus Walleij9b28da32006-03-16 13:47:58 +00003632006-03-16 Linus Walleij <triad@df.lth.se>
364
365 * Fixed the .h file and implementation so you really only
366 need this one .h file to interface the library.
367
Linus Walleij80124062006-03-15 10:26:09 +00003682006-03-15 Linus Walleij <triad@df.lth.se>
369
370 * Added three device information retrieval functions.
371
Linus Walleij15e344f2006-03-06 15:15:00 +00003722006-03-06 Linus Walleij <triad@df.lth.se>
373
374 * Moving some things around to structure the source. More
375 will be needed...
376
Linus Walleij93218602006-02-27 08:53:38 +00003772006-02-27 Linus Walleij <triad@df.lth.se>
378
379 * Release libmtp 0.0.1 so people have something to play with,
380 what the heck. Probably saves someones day.
381
Linus Walleij95698cd2006-02-24 10:40:40 +00003822006-02-24 Linus Walleij <triad@df.lth.se>
383
384 * Deltr example program to delete tracks, plus corresponding
385 interface call.
386
Linus Walleij17e39f72006-02-23 15:54:28 +00003872006-02-23 Linus Walleij <triad@df.lth.se>
388
389 * Fixed up sendtr program and metadata tagging function that is
390 used after sending files.
391
Linus Walleij394bbbe2006-02-22 16:10:53 +00003922006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000393
Linus Walleij394bbbe2006-02-22 16:10:53 +0000394 * Untested gettr.c and sendtr.c programs to get and send tracks
395 created.
396
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00003972006-01-30 Linus Walleij <triad@df.lth.se>
398
399 * Created the initial GNU source directory structure.
400 * Added the most basic files.