blob: be8cfde4d531aa5b5d7f4a9997ae986543e68d5c [file] [log] [blame]
Linus Walleija9310fa2006-09-04 06:47:42 +000012006-09-04 Linus Walleij <triad@df.lth.se>
2
3 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
4 instead of magic values.
5
Linus Walleijd7aa5b22006-09-02 11:52:31 +000062006-09-02 Linus Walleij <triad@df.lth.se>
7
Linus Walleijcd3eb3d2006-09-02 21:33:22 +00008 * src/libmtp.c: add some code to have
9 LIBMTP_Send_File_From_File_Descriptor() accept a stream
10 if size is set to (uint64_t) -1, plus documentation fixes.
11 I don't think the streaming code will work but whoever want
12 to experiment with it has a place to start.
13 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +000014
Linus Walleijda9500d2006-08-30 13:17:06 +0000152006-08-30 Linus Walleij <triad@df.lth.se>
16
17 * configure.ac: version bump.
18 * src/libmtp.c: more debug prints.
19 * src/libusb-glue.c: new iRiver device called Clix. By
20 the way I released libmtp 0.0.16 yesterday.
21
Linus Walleija823a702006-08-27 21:27:46 +0000222006-08-28 Linus Walleij <triad@df.lth.se>
23
24 * configure.ac: version bump.
25 * src/ptp-pack.c: upstream has committed my patch giving full
26 unicode support in libgphoto2 ptp2 camlib. No need for
27 any more ugly workarounds, plus we now have full unicode
28 filenames!
29 * src/ptp.c: dito.
30 * src/ptp.h: dito.
31 * src/libmtp.c: revamp to use the new unicode support in
32 libgphoto2.
33 * src/unicode.c: remove unused functionality.
34 * src/unicode.h: dito.
35
Linus Walleijee73ef22006-08-27 19:56:00 +0000362006-08-27 Linus Walleij <triad@df.lth.se>
37
38 * configure.ac: version bump. Release all these fixes
39 as 0.0.15.
40 * src/libusb-glue.c: fixed sucky errors. Added callback
41 code when reading files.
42 * src/libusb-glue.h: const correctness.
43 * src/libmtp.h.in: finally fixup the type on the callbacks.
44 * src/libmtp.c: more accurate sending callbacks. Callbacks
45 when getting files also, working correctly. Typeing of
46 callbacks now OK.
47 * examples/getfile.c: some display bar cosmetic fixup.
48 * TODO: lots of the things todo are now done.
49
Linus Walleijd214b9b2006-08-26 22:08:37 +0000502006-08-26 Linus Walleij <triad@df.lth.se>
51
52 * configure.ac: version bump.
53 * src/libmtp.c: fix bug and reinstate callbacks.
54 * src/libusb-glue.h: dito.
55 * src/libusb-glue.c: dito.
56
Linus Walleije7f44be2006-08-25 19:32:29 +0000572006-08-25 Linus Walleij <triad@df.lth.se>
58
59 * src/libmtp.c: use the new file descriptor sender function.
60 Going to release this as 0.0.13.
61 * src/ptp.c: upstream accepted patches synced in.
62 * src/ptp.h: dito.
63
Linus Walleijeab650b2006-08-21 23:26:37 +0000642006-08-22 Linus Walleij <triad@df.lth.se>
65
Linus Walleij80d134a2006-08-22 21:41:37 +000066 * src/libusb-glue.c: found a real nasty endpoint bug,
67 code from libgphoto2 was assuming max packet size of
68 512 bytes while it is 64 when a USB 2.0 device is
69 plugged into an UHCI hub.
70
712006-08-22 Linus Walleij <triad@df.lth.se>
72
Linus Walleijeab650b2006-08-21 23:26:37 +000073 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
74
Linus Walleij924236a2006-08-20 22:17:58 +0000752006-08-21 Linus Walleij <triad@df.lth.se>
76
77 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +000078 as result of experiments by Gavin McCullagh. Upstream
79 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +000080 Move iconv() converters into device struct for thread
81 safety.
Linus Walleij96c62432006-08-21 10:04:02 +000082 * src/ptp.c: sync to upstream which merges patch to get
83 file directly to file descriptor.
84 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +000085 * src/unicode.c: move iconv() converters into the device
86 struct for thread safety.
87 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +000088
Linus Walleij30658792006-08-19 22:18:55 +0000892006-08-20 Linus Walleij <triad@df.lth.se>
90
91 * src/libmtp.h.in: set friendly name and sync partner,
92 rename ownername to friendlyname.
93 * src/libmtp.c: dito.
94 * examples/detect.c: reflect changes.
95 * src/Makefile.am: interface is incompatible so age it.
96
Linus Walleijfae27482006-08-19 20:13:25 +0000972006-08-19 Linus Walleij <triad@df.lth.se>
98
99 * src/libmtp.h.in: add function to get syncronization
100 partner for the device.
101 * src/libmtp.c: dito.
102 * examples/detect.c: use that function.
103 * src/Makefile.am: backward-compatible interface bump.
104
Linus Walleij16571dc2006-08-17 20:27:46 +00001052006-08-17 Linus Walleij <triad@df.lth.se>
106
107 * configure.ac: bump to 0.0.12 and require iconv.h.
108
1092006-08-16 Linus Walleij <triad@df.lth.se>
110
111 * src/unicode.c: remove bigendian weirdness and switch
112 to using iconv() instead.
113 * src/unicode.h: dito.
114 * src/libmtp.c: reflect changes.
115
Linus Walleij3e188f12006-08-09 20:46:05 +00001162006-08-09 Linus Walleij <triad@df.lth.se>
117
118 * Release libmtp 0.0.11.
119
Linus Walleij2eb884b2006-08-04 19:17:36 +00001202006-08-04 Linus Walleij <triad@df.lth.se>
121
122 * src/libmtp.c: patch from Dan Aloni to make sendfile
123 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000124 * src/libusb-glue.c: patch from Andy Kelk to avoid
125 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000126 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000127
Linus Walleijaa4b0752006-07-26 22:21:04 +00001282006-07-27 Linus Walleij <triad@df.lth.se>
129
130 * Release libmtp 0.0.10.
131
Linus Walleij17b55ea2006-07-26 13:54:00 +00001322006-07-26 Linus Walleij <triad@df.lth.se>
133
134 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000135 * src/libmtp.c: only set metdata properties supported by
136 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000137 * src/ptp.c: sync to upstream.
138 * src/ptp.h: sync to upstream.
139 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000140
Linus Walleijc187cb92006-06-22 17:58:13 +00001412006-06-22 Linus Walleij <triad@df.lth.se>
142
143 * Release libmtp 0.0.9.
144
Linus Walleij8ab54262006-06-21 07:12:28 +00001452006-06-21 Linus Walleij <triad@df.lth.se>
146
147 * src/libmtp.h.in: added function to retrieve supported
148 filetypes.
149 * src/libmtp.c: ditto.
150 * examples/detect.c: use that function.
151
Linus Walleijcf223e62006-06-19 09:31:53 +00001522006-06-19 Linus Walleij <triad@df.lth.se>
153
154 * src/unicode.c: support all endianness, detect
155 byte-order-mark
156 * src/unicode.h: ditto.
157 * src/libmtp.c: ditto.
158 * examples/detect.c: use proper tempfile function.
159 * src/libmtp.h.in: add some more track properties.
160 * src/libmtp.c: ditto.
161 * examples/tracks.c: ditto.
162
Linus Walleij2e4b5f92006-06-16 14:00:49 +00001632006-06-16 Linus Walleij <triad@df.lth.se>
164
165 * src/libmtp.h.in: new interfaces for single metadata post
166 retrieveal.
167 * src/libmtp.c: ditto.
168 * examples/playlists.c: display track info using the new
169 individual track metadata retrieveal method.
170 * examples/getplaylist.c: ditto.
171
Linus Walleij05ccbe72006-06-13 07:46:58 +00001722006-06-13 Linus Walleij <triad@df.lth.se>
173
174 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000175 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000176 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000177 we can find them. Retrieve device secure time and cert
178 out of sheer curiosity.
179 * src/ptp.c: sync to libgphoto2 with my patches.
180 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000181
Linus Walleij438bd7f2006-06-08 11:35:44 +00001822006-06-07 Linus Walleij <triad@df.lth.se>
183
184 * src/libmtp.h.in: new playlist API and refactorings.
185 * src/libmtp.c: ditto, and refactorings.
186 * src/unicode.h: const correctness.
187 * src/unicode.c: ditto.
188 * examples/playlists.c: new example program.
189 * configure.ac: bump to 0.0.9
190 * src/Makefile.am: bump library interface.
191
Linus Walleij52e3ac52006-06-05 10:30:00 +00001922006-06-05 Linus Walleij <triad@df.lth.se>
193
194 * examples/sendtr.c: fixed annoying bug that made this
195 program totally useless.
196 * src/libmtp.c: cosmetics.
197 * configure.ac: bump to 0.0.8.
198
Linus Walleij345a3372006-06-03 20:55:25 +00001992006-06-03 Linus Walleij <triad@df.lth.se>
200
201 * src/libmtp.c: metadata bugs, album name and genre
202 confused. Fixe it and released libmtp 0.0.7.
203
Linus Walleijdc09dc02006-06-01 14:23:41 +00002042006-06-01 Linus Walleij <triad@df.lth.se>
205
206 * Released libmtp 0.0.6.
207
Linus Walleij549ec4d2006-05-31 19:59:52 +00002082006-05-31 Linus Walleij <triad@df.lth.se>
209
210 * src/libmtp.c: fixed mapping for JPEG vs JFIF
211 * src/libmtp.h.in: added proper type for JPEG
212 * examples/sendfile.c: send proper JPEG type
213
Linus Walleijd3fdd972006-05-30 15:51:37 +00002142006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
215
216 * src/libmtp.c: fixed a bug in update metadata due to
217 bad use of return code.
218 * src/libusb-glue.c: fixed a loop exiting problem with
219 good 'ol GOTO.
220
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002212006-05-29 Linus Walleij <triad@df.lth.se>
222
223 * src/libusb-glue.c: one more device.
224 * doc/examples.h: produce correct documentation.
225 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000226 * src/ptp.c: sync to libgphoto2.
227 * src/ptp.h: ditto.
228 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000229 * src/libmtp.c: fixed all filetype API related functions
230 not to use any PTP intrinsic defines at all, made all
231 parameters to functions use the internal libmtp interface
232 enumerations and definitions. Removed LIBMTP_Release():
233 we can live with the memory lost during init. You're not
234 supposed to re-initialize the device. Consequently removed
235 the delete function that cleaned the filetype assoc list.
236 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000237
ravelox088180b2006-05-26 23:55:40 +00002382006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
239
240 * src/libmtp.c: refactored object handling to be more generic
241 * src/libmtp.h.in: ditto
242 * examples/refactortest.c: Added simple example to use refactoring
243 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000244 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
245 for playlist handling
246 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000247
Linus Walleij1fd2d272006-05-08 09:22:01 +00002482006-05-08 Linus Walleij <triad@df.lth.se>
249
250 * src/libmtp.h.in: add simple detection function.
251 * src/libusb-glue.c: implement MTP "OS descriptor" for
252 looking for MTP devices.
253 * examples/detect.c: make it possible to do very
254 rudimentary detection with "detect -p".
255 * configure.ac: bump to 0.0.5.
256
Linus Walleij685137f2006-05-07 18:09:02 +00002572006-05-07 Linus Walleij <triad@df.lth.se>
258
259 * COPYING: since we no longer use any parts of libptp2
260 and only files from libgphoto2, we switch to the GNU
261 Lesser General Public License (GNU LGPL). libptp2 is
262 a derived work from libgphoto2, and so is libmtp, there
263 are no remnants of libptp2 in libmtp anymore.
264
Linus Walleij16c51f02006-05-04 13:20:22 +00002652006-05-04 Linus Walleij <triad@df.lth.se>
266
267 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000268 * src/libmtp.c: respectfully rearranged to use a filetype mapping
269 table.
270 * src/ptp-pack.c: real nasty unicode packing bug.
271 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000272
Linus Walleijd6a49972006-05-02 08:24:54 +00002732006-05-02 Linus Walleij <triad@df.lth.se>
274
275 * src/libmtp.c: general shaping up for release. All track
276 and file sending functions now respects a parent ID to be
277 sent along with files and tracks.
278 * src/libmtp.h.in: dito.
279 * src/libusb-glue.c: dito.
280 * examples/sendfile.c: interface dependency changes.
281 * examples/sendtr.c: dito.
282
Linus Walleijc60275a2006-04-30 10:58:11 +00002832006-04-30 Linus Walleij <triad@df.lth.se>
284
285 * src/ptp.c: sync upstream.
286 * src/ptp.h: dito.
287
Linus Walleij370c68d2006-04-27 14:19:01 +00002882006-04-27 Linus Walleij <triad@df.lth.se>
289
290 * examples/sendfile.c: first file sender program based
291 on API implementation and changes by Chris Allegretta.
292 * examples/Makefile.am: new program, new entry.
293 * src/libmtp.c: reflect this new functionality.
294 * src/libmtp.h.in: dito.
295
Linus Walleijb02a0662006-04-25 08:05:09 +00002962006-04-25 Linus Walleij <triad@df.lth.se>
297
298 * Rebased the sources around libgphoto2 instead.
299 This was a major revision...
300 * src/ptp.c: imported libgphoto2 version verbatim.
301 * src/ptp.h: imported libgphoto2 version, minor patch.
302 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000303 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000304 * src/mtp.c: dropped, since all functions are now in ptp.c
305 * src/mtp-pack.c: dropped, same reason.
306 * src/mtp.h: dropped, same reason.
307 * src/mtp-pack.h: dropped, same reason.
308
Linus Walleije5f3ad42006-04-21 07:44:36 +00003092006-04-21 Linus Walleij <triad@df.lth.se>
310
Linus Walleij902c0b92006-04-21 10:52:48 +0000311 * Released libmtp 0.0.3
312 * Bumped source to 0.0.4
313
3142006-04-21 Linus Walleij <triad@df.lth.se>
315
Linus Walleije5f3ad42006-04-21 07:44:36 +0000316 * src/ptp-pack.c: GCC 4.x compilation patch from
317 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000318 * src/libusb-glue.c: New Samsung device and some
319 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000320 * src/ptp.h: some defines from libgphoto2 to get
321 a bit more compatible.
322 * src/libmtp.c: Added a folder API implementation by
323 Dave "ravelox" Kelly.
324 * src/libmtp.h.in: dito.
325 * examples/folders.c: dito.
326 * examples/newfolder.c: dito.
327 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000328
Linus Walleij6fd2f082006-03-28 07:19:22 +00003292006-03-28 Linus Walleij <triad@df.lth.se>
330
331 * m4/*: updated macros to work with GCC 4.1.0.
332 * examples/hotplug.c: new program to create device
333 ID lists.
334 * libmtp.rules: now an auto-generated file.
335 * libmtp.usermap: now an auto-generated file.
336
Linus Walleijf6bc1782006-03-24 15:12:47 +00003372006-03-24 Linus Walleij <triad@df.lth.se>
338
339 * Beginning a file API, fixed some example program
340 names and such.
341
Linus Walleij6946ac52006-03-21 06:51:22 +00003422006-03-18 Linus Walleij <triad@df.lth.se>
343
344 * Fixed up callback interface to a simpler version,
345 the old one was bloated stuff from libnjb anyway.
346 Bump to 0.0.2.
347
Linus Walleij9b28da32006-03-16 13:47:58 +00003482006-03-16 Linus Walleij <triad@df.lth.se>
349
350 * Fixed the .h file and implementation so you really only
351 need this one .h file to interface the library.
352
Linus Walleij80124062006-03-15 10:26:09 +00003532006-03-15 Linus Walleij <triad@df.lth.se>
354
355 * Added three device information retrieval functions.
356
Linus Walleij15e344f2006-03-06 15:15:00 +00003572006-03-06 Linus Walleij <triad@df.lth.se>
358
359 * Moving some things around to structure the source. More
360 will be needed...
361
Linus Walleij93218602006-02-27 08:53:38 +00003622006-02-27 Linus Walleij <triad@df.lth.se>
363
364 * Release libmtp 0.0.1 so people have something to play with,
365 what the heck. Probably saves someones day.
366
Linus Walleij95698cd2006-02-24 10:40:40 +00003672006-02-24 Linus Walleij <triad@df.lth.se>
368
369 * Deltr example program to delete tracks, plus corresponding
370 interface call.
371
Linus Walleij17e39f72006-02-23 15:54:28 +00003722006-02-23 Linus Walleij <triad@df.lth.se>
373
374 * Fixed up sendtr program and metadata tagging function that is
375 used after sending files.
376
Linus Walleij394bbbe2006-02-22 16:10:53 +00003772006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000378
Linus Walleij394bbbe2006-02-22 16:10:53 +0000379 * Untested gettr.c and sendtr.c programs to get and send tracks
380 created.
381
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00003822006-01-30 Linus Walleij <triad@df.lth.se>
383
384 * Created the initial GNU source directory structure.
385 * Added the most basic files.