blob: c63f652be4dd4314967c02d7f52352d0e57f0fe0 [file] [log] [blame]
Linus Walleij7f0c72e2006-09-06 13:01:58 +000012006-09-06 Linus Walleij <triad@df.lth.se>
2
3 * src/libusb-glue.c: fixed some endpoint size detection
4 and sending special file sizes stuff. Real hairy bug...
5 Also messed around a bit with the callbacks.
6 * src/libmtp.c: changes for callback size detection.
7
Linus Walleija9310fa2006-09-04 06:47:42 +000082006-09-04 Linus Walleij <triad@df.lth.se>
9
10 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
11 instead of magic values.
12
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000132006-09-02 Linus Walleij <triad@df.lth.se>
14
Linus Walleijcd3eb3d2006-09-02 21:33:22 +000015 * src/libmtp.c: add some code to have
16 LIBMTP_Send_File_From_File_Descriptor() accept a stream
17 if size is set to (uint64_t) -1, plus documentation fixes.
18 I don't think the streaming code will work but whoever want
19 to experiment with it has a place to start.
20 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +000021
Linus Walleijda9500d2006-08-30 13:17:06 +0000222006-08-30 Linus Walleij <triad@df.lth.se>
23
24 * configure.ac: version bump.
25 * src/libmtp.c: more debug prints.
26 * src/libusb-glue.c: new iRiver device called Clix. By
27 the way I released libmtp 0.0.16 yesterday.
28
Linus Walleija823a702006-08-27 21:27:46 +0000292006-08-28 Linus Walleij <triad@df.lth.se>
30
31 * configure.ac: version bump.
32 * src/ptp-pack.c: upstream has committed my patch giving full
33 unicode support in libgphoto2 ptp2 camlib. No need for
34 any more ugly workarounds, plus we now have full unicode
35 filenames!
36 * src/ptp.c: dito.
37 * src/ptp.h: dito.
38 * src/libmtp.c: revamp to use the new unicode support in
39 libgphoto2.
40 * src/unicode.c: remove unused functionality.
41 * src/unicode.h: dito.
42
Linus Walleijee73ef22006-08-27 19:56:00 +0000432006-08-27 Linus Walleij <triad@df.lth.se>
44
45 * configure.ac: version bump. Release all these fixes
46 as 0.0.15.
47 * src/libusb-glue.c: fixed sucky errors. Added callback
48 code when reading files.
49 * src/libusb-glue.h: const correctness.
50 * src/libmtp.h.in: finally fixup the type on the callbacks.
51 * src/libmtp.c: more accurate sending callbacks. Callbacks
52 when getting files also, working correctly. Typeing of
53 callbacks now OK.
54 * examples/getfile.c: some display bar cosmetic fixup.
55 * TODO: lots of the things todo are now done.
56
Linus Walleijd214b9b2006-08-26 22:08:37 +0000572006-08-26 Linus Walleij <triad@df.lth.se>
58
59 * configure.ac: version bump.
60 * src/libmtp.c: fix bug and reinstate callbacks.
61 * src/libusb-glue.h: dito.
62 * src/libusb-glue.c: dito.
63
Linus Walleije7f44be2006-08-25 19:32:29 +0000642006-08-25 Linus Walleij <triad@df.lth.se>
65
66 * src/libmtp.c: use the new file descriptor sender function.
67 Going to release this as 0.0.13.
68 * src/ptp.c: upstream accepted patches synced in.
69 * src/ptp.h: dito.
70
Linus Walleijeab650b2006-08-21 23:26:37 +0000712006-08-22 Linus Walleij <triad@df.lth.se>
72
Linus Walleij80d134a2006-08-22 21:41:37 +000073 * src/libusb-glue.c: found a real nasty endpoint bug,
74 code from libgphoto2 was assuming max packet size of
75 512 bytes while it is 64 when a USB 2.0 device is
76 plugged into an UHCI hub.
77
782006-08-22 Linus Walleij <triad@df.lth.se>
79
Linus Walleijeab650b2006-08-21 23:26:37 +000080 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
81
Linus Walleij924236a2006-08-20 22:17:58 +0000822006-08-21 Linus Walleij <triad@df.lth.se>
83
84 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +000085 as result of experiments by Gavin McCullagh. Upstream
86 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +000087 Move iconv() converters into device struct for thread
88 safety.
Linus Walleij96c62432006-08-21 10:04:02 +000089 * src/ptp.c: sync to upstream which merges patch to get
90 file directly to file descriptor.
91 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +000092 * src/unicode.c: move iconv() converters into the device
93 struct for thread safety.
94 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +000095
Linus Walleij30658792006-08-19 22:18:55 +0000962006-08-20 Linus Walleij <triad@df.lth.se>
97
98 * src/libmtp.h.in: set friendly name and sync partner,
99 rename ownername to friendlyname.
100 * src/libmtp.c: dito.
101 * examples/detect.c: reflect changes.
102 * src/Makefile.am: interface is incompatible so age it.
103
Linus Walleijfae27482006-08-19 20:13:25 +00001042006-08-19 Linus Walleij <triad@df.lth.se>
105
106 * src/libmtp.h.in: add function to get syncronization
107 partner for the device.
108 * src/libmtp.c: dito.
109 * examples/detect.c: use that function.
110 * src/Makefile.am: backward-compatible interface bump.
111
Linus Walleij16571dc2006-08-17 20:27:46 +00001122006-08-17 Linus Walleij <triad@df.lth.se>
113
114 * configure.ac: bump to 0.0.12 and require iconv.h.
115
1162006-08-16 Linus Walleij <triad@df.lth.se>
117
118 * src/unicode.c: remove bigendian weirdness and switch
119 to using iconv() instead.
120 * src/unicode.h: dito.
121 * src/libmtp.c: reflect changes.
122
Linus Walleij3e188f12006-08-09 20:46:05 +00001232006-08-09 Linus Walleij <triad@df.lth.se>
124
125 * Release libmtp 0.0.11.
126
Linus Walleij2eb884b2006-08-04 19:17:36 +00001272006-08-04 Linus Walleij <triad@df.lth.se>
128
129 * src/libmtp.c: patch from Dan Aloni to make sendfile
130 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000131 * src/libusb-glue.c: patch from Andy Kelk to avoid
132 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000133 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000134
Linus Walleijaa4b0752006-07-26 22:21:04 +00001352006-07-27 Linus Walleij <triad@df.lth.se>
136
137 * Release libmtp 0.0.10.
138
Linus Walleij17b55ea2006-07-26 13:54:00 +00001392006-07-26 Linus Walleij <triad@df.lth.se>
140
141 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000142 * src/libmtp.c: only set metdata properties supported by
143 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000144 * src/ptp.c: sync to upstream.
145 * src/ptp.h: sync to upstream.
146 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000147
Linus Walleijc187cb92006-06-22 17:58:13 +00001482006-06-22 Linus Walleij <triad@df.lth.se>
149
150 * Release libmtp 0.0.9.
151
Linus Walleij8ab54262006-06-21 07:12:28 +00001522006-06-21 Linus Walleij <triad@df.lth.se>
153
154 * src/libmtp.h.in: added function to retrieve supported
155 filetypes.
156 * src/libmtp.c: ditto.
157 * examples/detect.c: use that function.
158
Linus Walleijcf223e62006-06-19 09:31:53 +00001592006-06-19 Linus Walleij <triad@df.lth.se>
160
161 * src/unicode.c: support all endianness, detect
162 byte-order-mark
163 * src/unicode.h: ditto.
164 * src/libmtp.c: ditto.
165 * examples/detect.c: use proper tempfile function.
166 * src/libmtp.h.in: add some more track properties.
167 * src/libmtp.c: ditto.
168 * examples/tracks.c: ditto.
169
Linus Walleij2e4b5f92006-06-16 14:00:49 +00001702006-06-16 Linus Walleij <triad@df.lth.se>
171
172 * src/libmtp.h.in: new interfaces for single metadata post
173 retrieveal.
174 * src/libmtp.c: ditto.
175 * examples/playlists.c: display track info using the new
176 individual track metadata retrieveal method.
177 * examples/getplaylist.c: ditto.
178
Linus Walleij05ccbe72006-06-13 07:46:58 +00001792006-06-13 Linus Walleij <triad@df.lth.se>
180
181 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000182 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000183 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000184 we can find them. Retrieve device secure time and cert
185 out of sheer curiosity.
186 * src/ptp.c: sync to libgphoto2 with my patches.
187 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000188
Linus Walleij438bd7f2006-06-08 11:35:44 +00001892006-06-07 Linus Walleij <triad@df.lth.se>
190
191 * src/libmtp.h.in: new playlist API and refactorings.
192 * src/libmtp.c: ditto, and refactorings.
193 * src/unicode.h: const correctness.
194 * src/unicode.c: ditto.
195 * examples/playlists.c: new example program.
196 * configure.ac: bump to 0.0.9
197 * src/Makefile.am: bump library interface.
198
Linus Walleij52e3ac52006-06-05 10:30:00 +00001992006-06-05 Linus Walleij <triad@df.lth.se>
200
201 * examples/sendtr.c: fixed annoying bug that made this
202 program totally useless.
203 * src/libmtp.c: cosmetics.
204 * configure.ac: bump to 0.0.8.
205
Linus Walleij345a3372006-06-03 20:55:25 +00002062006-06-03 Linus Walleij <triad@df.lth.se>
207
208 * src/libmtp.c: metadata bugs, album name and genre
209 confused. Fixe it and released libmtp 0.0.7.
210
Linus Walleijdc09dc02006-06-01 14:23:41 +00002112006-06-01 Linus Walleij <triad@df.lth.se>
212
213 * Released libmtp 0.0.6.
214
Linus Walleij549ec4d2006-05-31 19:59:52 +00002152006-05-31 Linus Walleij <triad@df.lth.se>
216
217 * src/libmtp.c: fixed mapping for JPEG vs JFIF
218 * src/libmtp.h.in: added proper type for JPEG
219 * examples/sendfile.c: send proper JPEG type
220
Linus Walleijd3fdd972006-05-30 15:51:37 +00002212006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
222
223 * src/libmtp.c: fixed a bug in update metadata due to
224 bad use of return code.
225 * src/libusb-glue.c: fixed a loop exiting problem with
226 good 'ol GOTO.
227
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002282006-05-29 Linus Walleij <triad@df.lth.se>
229
230 * src/libusb-glue.c: one more device.
231 * doc/examples.h: produce correct documentation.
232 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000233 * src/ptp.c: sync to libgphoto2.
234 * src/ptp.h: ditto.
235 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000236 * src/libmtp.c: fixed all filetype API related functions
237 not to use any PTP intrinsic defines at all, made all
238 parameters to functions use the internal libmtp interface
239 enumerations and definitions. Removed LIBMTP_Release():
240 we can live with the memory lost during init. You're not
241 supposed to re-initialize the device. Consequently removed
242 the delete function that cleaned the filetype assoc list.
243 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000244
ravelox088180b2006-05-26 23:55:40 +00002452006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
246
247 * src/libmtp.c: refactored object handling to be more generic
248 * src/libmtp.h.in: ditto
249 * examples/refactortest.c: Added simple example to use refactoring
250 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000251 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
252 for playlist handling
253 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000254
Linus Walleij1fd2d272006-05-08 09:22:01 +00002552006-05-08 Linus Walleij <triad@df.lth.se>
256
257 * src/libmtp.h.in: add simple detection function.
258 * src/libusb-glue.c: implement MTP "OS descriptor" for
259 looking for MTP devices.
260 * examples/detect.c: make it possible to do very
261 rudimentary detection with "detect -p".
262 * configure.ac: bump to 0.0.5.
263
Linus Walleij685137f2006-05-07 18:09:02 +00002642006-05-07 Linus Walleij <triad@df.lth.se>
265
266 * COPYING: since we no longer use any parts of libptp2
267 and only files from libgphoto2, we switch to the GNU
268 Lesser General Public License (GNU LGPL). libptp2 is
269 a derived work from libgphoto2, and so is libmtp, there
270 are no remnants of libptp2 in libmtp anymore.
271
Linus Walleij16c51f02006-05-04 13:20:22 +00002722006-05-04 Linus Walleij <triad@df.lth.se>
273
274 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000275 * src/libmtp.c: respectfully rearranged to use a filetype mapping
276 table.
277 * src/ptp-pack.c: real nasty unicode packing bug.
278 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000279
Linus Walleijd6a49972006-05-02 08:24:54 +00002802006-05-02 Linus Walleij <triad@df.lth.se>
281
282 * src/libmtp.c: general shaping up for release. All track
283 and file sending functions now respects a parent ID to be
284 sent along with files and tracks.
285 * src/libmtp.h.in: dito.
286 * src/libusb-glue.c: dito.
287 * examples/sendfile.c: interface dependency changes.
288 * examples/sendtr.c: dito.
289
Linus Walleijc60275a2006-04-30 10:58:11 +00002902006-04-30 Linus Walleij <triad@df.lth.se>
291
292 * src/ptp.c: sync upstream.
293 * src/ptp.h: dito.
294
Linus Walleij370c68d2006-04-27 14:19:01 +00002952006-04-27 Linus Walleij <triad@df.lth.se>
296
297 * examples/sendfile.c: first file sender program based
298 on API implementation and changes by Chris Allegretta.
299 * examples/Makefile.am: new program, new entry.
300 * src/libmtp.c: reflect this new functionality.
301 * src/libmtp.h.in: dito.
302
Linus Walleijb02a0662006-04-25 08:05:09 +00003032006-04-25 Linus Walleij <triad@df.lth.se>
304
305 * Rebased the sources around libgphoto2 instead.
306 This was a major revision...
307 * src/ptp.c: imported libgphoto2 version verbatim.
308 * src/ptp.h: imported libgphoto2 version, minor patch.
309 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000310 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000311 * src/mtp.c: dropped, since all functions are now in ptp.c
312 * src/mtp-pack.c: dropped, same reason.
313 * src/mtp.h: dropped, same reason.
314 * src/mtp-pack.h: dropped, same reason.
315
Linus Walleije5f3ad42006-04-21 07:44:36 +00003162006-04-21 Linus Walleij <triad@df.lth.se>
317
Linus Walleij902c0b92006-04-21 10:52:48 +0000318 * Released libmtp 0.0.3
319 * Bumped source to 0.0.4
320
3212006-04-21 Linus Walleij <triad@df.lth.se>
322
Linus Walleije5f3ad42006-04-21 07:44:36 +0000323 * src/ptp-pack.c: GCC 4.x compilation patch from
324 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000325 * src/libusb-glue.c: New Samsung device and some
326 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000327 * src/ptp.h: some defines from libgphoto2 to get
328 a bit more compatible.
329 * src/libmtp.c: Added a folder API implementation by
330 Dave "ravelox" Kelly.
331 * src/libmtp.h.in: dito.
332 * examples/folders.c: dito.
333 * examples/newfolder.c: dito.
334 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000335
Linus Walleij6fd2f082006-03-28 07:19:22 +00003362006-03-28 Linus Walleij <triad@df.lth.se>
337
338 * m4/*: updated macros to work with GCC 4.1.0.
339 * examples/hotplug.c: new program to create device
340 ID lists.
341 * libmtp.rules: now an auto-generated file.
342 * libmtp.usermap: now an auto-generated file.
343
Linus Walleijf6bc1782006-03-24 15:12:47 +00003442006-03-24 Linus Walleij <triad@df.lth.se>
345
346 * Beginning a file API, fixed some example program
347 names and such.
348
Linus Walleij6946ac52006-03-21 06:51:22 +00003492006-03-18 Linus Walleij <triad@df.lth.se>
350
351 * Fixed up callback interface to a simpler version,
352 the old one was bloated stuff from libnjb anyway.
353 Bump to 0.0.2.
354
Linus Walleij9b28da32006-03-16 13:47:58 +00003552006-03-16 Linus Walleij <triad@df.lth.se>
356
357 * Fixed the .h file and implementation so you really only
358 need this one .h file to interface the library.
359
Linus Walleij80124062006-03-15 10:26:09 +00003602006-03-15 Linus Walleij <triad@df.lth.se>
361
362 * Added three device information retrieval functions.
363
Linus Walleij15e344f2006-03-06 15:15:00 +00003642006-03-06 Linus Walleij <triad@df.lth.se>
365
366 * Moving some things around to structure the source. More
367 will be needed...
368
Linus Walleij93218602006-02-27 08:53:38 +00003692006-02-27 Linus Walleij <triad@df.lth.se>
370
371 * Release libmtp 0.0.1 so people have something to play with,
372 what the heck. Probably saves someones day.
373
Linus Walleij95698cd2006-02-24 10:40:40 +00003742006-02-24 Linus Walleij <triad@df.lth.se>
375
376 * Deltr example program to delete tracks, plus corresponding
377 interface call.
378
Linus Walleij17e39f72006-02-23 15:54:28 +00003792006-02-23 Linus Walleij <triad@df.lth.se>
380
381 * Fixed up sendtr program and metadata tagging function that is
382 used after sending files.
383
Linus Walleij394bbbe2006-02-22 16:10:53 +00003842006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000385
Linus Walleij394bbbe2006-02-22 16:10:53 +0000386 * Untested gettr.c and sendtr.c programs to get and send tracks
387 created.
388
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00003892006-01-30 Linus Walleij <triad@df.lth.se>
390
391 * Created the initial GNU source directory structure.
392 * Added the most basic files.