blob: f8c2d1002fea8730b71e7ab1801dd7a835f581da [file] [log] [blame]
Linus Walleijd7aa5b22006-09-02 11:52:31 +000012006-09-02 Linus Walleij <triad@df.lth.se>
2
Linus Walleijcd3eb3d2006-09-02 21:33:22 +00003 * src/libmtp.c: add some code to have
4 LIBMTP_Send_File_From_File_Descriptor() accept a stream
5 if size is set to (uint64_t) -1, plus documentation fixes.
6 I don't think the streaming code will work but whoever want
7 to experiment with it has a place to start.
8 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +00009
Linus Walleijda9500d2006-08-30 13:17:06 +0000102006-08-30 Linus Walleij <triad@df.lth.se>
11
12 * configure.ac: version bump.
13 * src/libmtp.c: more debug prints.
14 * src/libusb-glue.c: new iRiver device called Clix. By
15 the way I released libmtp 0.0.16 yesterday.
16
Linus Walleija823a702006-08-27 21:27:46 +0000172006-08-28 Linus Walleij <triad@df.lth.se>
18
19 * configure.ac: version bump.
20 * src/ptp-pack.c: upstream has committed my patch giving full
21 unicode support in libgphoto2 ptp2 camlib. No need for
22 any more ugly workarounds, plus we now have full unicode
23 filenames!
24 * src/ptp.c: dito.
25 * src/ptp.h: dito.
26 * src/libmtp.c: revamp to use the new unicode support in
27 libgphoto2.
28 * src/unicode.c: remove unused functionality.
29 * src/unicode.h: dito.
30
Linus Walleijee73ef22006-08-27 19:56:00 +0000312006-08-27 Linus Walleij <triad@df.lth.se>
32
33 * configure.ac: version bump. Release all these fixes
34 as 0.0.15.
35 * src/libusb-glue.c: fixed sucky errors. Added callback
36 code when reading files.
37 * src/libusb-glue.h: const correctness.
38 * src/libmtp.h.in: finally fixup the type on the callbacks.
39 * src/libmtp.c: more accurate sending callbacks. Callbacks
40 when getting files also, working correctly. Typeing of
41 callbacks now OK.
42 * examples/getfile.c: some display bar cosmetic fixup.
43 * TODO: lots of the things todo are now done.
44
Linus Walleijd214b9b2006-08-26 22:08:37 +0000452006-08-26 Linus Walleij <triad@df.lth.se>
46
47 * configure.ac: version bump.
48 * src/libmtp.c: fix bug and reinstate callbacks.
49 * src/libusb-glue.h: dito.
50 * src/libusb-glue.c: dito.
51
Linus Walleije7f44be2006-08-25 19:32:29 +0000522006-08-25 Linus Walleij <triad@df.lth.se>
53
54 * src/libmtp.c: use the new file descriptor sender function.
55 Going to release this as 0.0.13.
56 * src/ptp.c: upstream accepted patches synced in.
57 * src/ptp.h: dito.
58
Linus Walleijeab650b2006-08-21 23:26:37 +0000592006-08-22 Linus Walleij <triad@df.lth.se>
60
Linus Walleij80d134a2006-08-22 21:41:37 +000061 * src/libusb-glue.c: found a real nasty endpoint bug,
62 code from libgphoto2 was assuming max packet size of
63 512 bytes while it is 64 when a USB 2.0 device is
64 plugged into an UHCI hub.
65
662006-08-22 Linus Walleij <triad@df.lth.se>
67
Linus Walleijeab650b2006-08-21 23:26:37 +000068 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
69
Linus Walleij924236a2006-08-20 22:17:58 +0000702006-08-21 Linus Walleij <triad@df.lth.se>
71
72 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +000073 as result of experiments by Gavin McCullagh. Upstream
74 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +000075 Move iconv() converters into device struct for thread
76 safety.
Linus Walleij96c62432006-08-21 10:04:02 +000077 * src/ptp.c: sync to upstream which merges patch to get
78 file directly to file descriptor.
79 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +000080 * src/unicode.c: move iconv() converters into the device
81 struct for thread safety.
82 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +000083
Linus Walleij30658792006-08-19 22:18:55 +0000842006-08-20 Linus Walleij <triad@df.lth.se>
85
86 * src/libmtp.h.in: set friendly name and sync partner,
87 rename ownername to friendlyname.
88 * src/libmtp.c: dito.
89 * examples/detect.c: reflect changes.
90 * src/Makefile.am: interface is incompatible so age it.
91
Linus Walleijfae27482006-08-19 20:13:25 +0000922006-08-19 Linus Walleij <triad@df.lth.se>
93
94 * src/libmtp.h.in: add function to get syncronization
95 partner for the device.
96 * src/libmtp.c: dito.
97 * examples/detect.c: use that function.
98 * src/Makefile.am: backward-compatible interface bump.
99
Linus Walleij16571dc2006-08-17 20:27:46 +00001002006-08-17 Linus Walleij <triad@df.lth.se>
101
102 * configure.ac: bump to 0.0.12 and require iconv.h.
103
1042006-08-16 Linus Walleij <triad@df.lth.se>
105
106 * src/unicode.c: remove bigendian weirdness and switch
107 to using iconv() instead.
108 * src/unicode.h: dito.
109 * src/libmtp.c: reflect changes.
110
Linus Walleij3e188f12006-08-09 20:46:05 +00001112006-08-09 Linus Walleij <triad@df.lth.se>
112
113 * Release libmtp 0.0.11.
114
Linus Walleij2eb884b2006-08-04 19:17:36 +00001152006-08-04 Linus Walleij <triad@df.lth.se>
116
117 * src/libmtp.c: patch from Dan Aloni to make sendfile
118 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000119 * src/libusb-glue.c: patch from Andy Kelk to avoid
120 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000121 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000122
Linus Walleijaa4b0752006-07-26 22:21:04 +00001232006-07-27 Linus Walleij <triad@df.lth.se>
124
125 * Release libmtp 0.0.10.
126
Linus Walleij17b55ea2006-07-26 13:54:00 +00001272006-07-26 Linus Walleij <triad@df.lth.se>
128
129 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000130 * src/libmtp.c: only set metdata properties supported by
131 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000132 * src/ptp.c: sync to upstream.
133 * src/ptp.h: sync to upstream.
134 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000135
Linus Walleijc187cb92006-06-22 17:58:13 +00001362006-06-22 Linus Walleij <triad@df.lth.se>
137
138 * Release libmtp 0.0.9.
139
Linus Walleij8ab54262006-06-21 07:12:28 +00001402006-06-21 Linus Walleij <triad@df.lth.se>
141
142 * src/libmtp.h.in: added function to retrieve supported
143 filetypes.
144 * src/libmtp.c: ditto.
145 * examples/detect.c: use that function.
146
Linus Walleijcf223e62006-06-19 09:31:53 +00001472006-06-19 Linus Walleij <triad@df.lth.se>
148
149 * src/unicode.c: support all endianness, detect
150 byte-order-mark
151 * src/unicode.h: ditto.
152 * src/libmtp.c: ditto.
153 * examples/detect.c: use proper tempfile function.
154 * src/libmtp.h.in: add some more track properties.
155 * src/libmtp.c: ditto.
156 * examples/tracks.c: ditto.
157
Linus Walleij2e4b5f92006-06-16 14:00:49 +00001582006-06-16 Linus Walleij <triad@df.lth.se>
159
160 * src/libmtp.h.in: new interfaces for single metadata post
161 retrieveal.
162 * src/libmtp.c: ditto.
163 * examples/playlists.c: display track info using the new
164 individual track metadata retrieveal method.
165 * examples/getplaylist.c: ditto.
166
Linus Walleij05ccbe72006-06-13 07:46:58 +00001672006-06-13 Linus Walleij <triad@df.lth.se>
168
169 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000170 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000171 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000172 we can find them. Retrieve device secure time and cert
173 out of sheer curiosity.
174 * src/ptp.c: sync to libgphoto2 with my patches.
175 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000176
Linus Walleij438bd7f2006-06-08 11:35:44 +00001772006-06-07 Linus Walleij <triad@df.lth.se>
178
179 * src/libmtp.h.in: new playlist API and refactorings.
180 * src/libmtp.c: ditto, and refactorings.
181 * src/unicode.h: const correctness.
182 * src/unicode.c: ditto.
183 * examples/playlists.c: new example program.
184 * configure.ac: bump to 0.0.9
185 * src/Makefile.am: bump library interface.
186
Linus Walleij52e3ac52006-06-05 10:30:00 +00001872006-06-05 Linus Walleij <triad@df.lth.se>
188
189 * examples/sendtr.c: fixed annoying bug that made this
190 program totally useless.
191 * src/libmtp.c: cosmetics.
192 * configure.ac: bump to 0.0.8.
193
Linus Walleij345a3372006-06-03 20:55:25 +00001942006-06-03 Linus Walleij <triad@df.lth.se>
195
196 * src/libmtp.c: metadata bugs, album name and genre
197 confused. Fixe it and released libmtp 0.0.7.
198
Linus Walleijdc09dc02006-06-01 14:23:41 +00001992006-06-01 Linus Walleij <triad@df.lth.se>
200
201 * Released libmtp 0.0.6.
202
Linus Walleij549ec4d2006-05-31 19:59:52 +00002032006-05-31 Linus Walleij <triad@df.lth.se>
204
205 * src/libmtp.c: fixed mapping for JPEG vs JFIF
206 * src/libmtp.h.in: added proper type for JPEG
207 * examples/sendfile.c: send proper JPEG type
208
Linus Walleijd3fdd972006-05-30 15:51:37 +00002092006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
210
211 * src/libmtp.c: fixed a bug in update metadata due to
212 bad use of return code.
213 * src/libusb-glue.c: fixed a loop exiting problem with
214 good 'ol GOTO.
215
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002162006-05-29 Linus Walleij <triad@df.lth.se>
217
218 * src/libusb-glue.c: one more device.
219 * doc/examples.h: produce correct documentation.
220 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000221 * src/ptp.c: sync to libgphoto2.
222 * src/ptp.h: ditto.
223 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000224 * src/libmtp.c: fixed all filetype API related functions
225 not to use any PTP intrinsic defines at all, made all
226 parameters to functions use the internal libmtp interface
227 enumerations and definitions. Removed LIBMTP_Release():
228 we can live with the memory lost during init. You're not
229 supposed to re-initialize the device. Consequently removed
230 the delete function that cleaned the filetype assoc list.
231 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000232
ravelox088180b2006-05-26 23:55:40 +00002332006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
234
235 * src/libmtp.c: refactored object handling to be more generic
236 * src/libmtp.h.in: ditto
237 * examples/refactortest.c: Added simple example to use refactoring
238 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000239 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
240 for playlist handling
241 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000242
Linus Walleij1fd2d272006-05-08 09:22:01 +00002432006-05-08 Linus Walleij <triad@df.lth.se>
244
245 * src/libmtp.h.in: add simple detection function.
246 * src/libusb-glue.c: implement MTP "OS descriptor" for
247 looking for MTP devices.
248 * examples/detect.c: make it possible to do very
249 rudimentary detection with "detect -p".
250 * configure.ac: bump to 0.0.5.
251
Linus Walleij685137f2006-05-07 18:09:02 +00002522006-05-07 Linus Walleij <triad@df.lth.se>
253
254 * COPYING: since we no longer use any parts of libptp2
255 and only files from libgphoto2, we switch to the GNU
256 Lesser General Public License (GNU LGPL). libptp2 is
257 a derived work from libgphoto2, and so is libmtp, there
258 are no remnants of libptp2 in libmtp anymore.
259
Linus Walleij16c51f02006-05-04 13:20:22 +00002602006-05-04 Linus Walleij <triad@df.lth.se>
261
262 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000263 * src/libmtp.c: respectfully rearranged to use a filetype mapping
264 table.
265 * src/ptp-pack.c: real nasty unicode packing bug.
266 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000267
Linus Walleijd6a49972006-05-02 08:24:54 +00002682006-05-02 Linus Walleij <triad@df.lth.se>
269
270 * src/libmtp.c: general shaping up for release. All track
271 and file sending functions now respects a parent ID to be
272 sent along with files and tracks.
273 * src/libmtp.h.in: dito.
274 * src/libusb-glue.c: dito.
275 * examples/sendfile.c: interface dependency changes.
276 * examples/sendtr.c: dito.
277
Linus Walleijc60275a2006-04-30 10:58:11 +00002782006-04-30 Linus Walleij <triad@df.lth.se>
279
280 * src/ptp.c: sync upstream.
281 * src/ptp.h: dito.
282
Linus Walleij370c68d2006-04-27 14:19:01 +00002832006-04-27 Linus Walleij <triad@df.lth.se>
284
285 * examples/sendfile.c: first file sender program based
286 on API implementation and changes by Chris Allegretta.
287 * examples/Makefile.am: new program, new entry.
288 * src/libmtp.c: reflect this new functionality.
289 * src/libmtp.h.in: dito.
290
Linus Walleijb02a0662006-04-25 08:05:09 +00002912006-04-25 Linus Walleij <triad@df.lth.se>
292
293 * Rebased the sources around libgphoto2 instead.
294 This was a major revision...
295 * src/ptp.c: imported libgphoto2 version verbatim.
296 * src/ptp.h: imported libgphoto2 version, minor patch.
297 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000298 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000299 * src/mtp.c: dropped, since all functions are now in ptp.c
300 * src/mtp-pack.c: dropped, same reason.
301 * src/mtp.h: dropped, same reason.
302 * src/mtp-pack.h: dropped, same reason.
303
Linus Walleije5f3ad42006-04-21 07:44:36 +00003042006-04-21 Linus Walleij <triad@df.lth.se>
305
Linus Walleij902c0b92006-04-21 10:52:48 +0000306 * Released libmtp 0.0.3
307 * Bumped source to 0.0.4
308
3092006-04-21 Linus Walleij <triad@df.lth.se>
310
Linus Walleije5f3ad42006-04-21 07:44:36 +0000311 * src/ptp-pack.c: GCC 4.x compilation patch from
312 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000313 * src/libusb-glue.c: New Samsung device and some
314 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000315 * src/ptp.h: some defines from libgphoto2 to get
316 a bit more compatible.
317 * src/libmtp.c: Added a folder API implementation by
318 Dave "ravelox" Kelly.
319 * src/libmtp.h.in: dito.
320 * examples/folders.c: dito.
321 * examples/newfolder.c: dito.
322 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000323
Linus Walleij6fd2f082006-03-28 07:19:22 +00003242006-03-28 Linus Walleij <triad@df.lth.se>
325
326 * m4/*: updated macros to work with GCC 4.1.0.
327 * examples/hotplug.c: new program to create device
328 ID lists.
329 * libmtp.rules: now an auto-generated file.
330 * libmtp.usermap: now an auto-generated file.
331
Linus Walleijf6bc1782006-03-24 15:12:47 +00003322006-03-24 Linus Walleij <triad@df.lth.se>
333
334 * Beginning a file API, fixed some example program
335 names and such.
336
Linus Walleij6946ac52006-03-21 06:51:22 +00003372006-03-18 Linus Walleij <triad@df.lth.se>
338
339 * Fixed up callback interface to a simpler version,
340 the old one was bloated stuff from libnjb anyway.
341 Bump to 0.0.2.
342
Linus Walleij9b28da32006-03-16 13:47:58 +00003432006-03-16 Linus Walleij <triad@df.lth.se>
344
345 * Fixed the .h file and implementation so you really only
346 need this one .h file to interface the library.
347
Linus Walleij80124062006-03-15 10:26:09 +00003482006-03-15 Linus Walleij <triad@df.lth.se>
349
350 * Added three device information retrieval functions.
351
Linus Walleij15e344f2006-03-06 15:15:00 +00003522006-03-06 Linus Walleij <triad@df.lth.se>
353
354 * Moving some things around to structure the source. More
355 will be needed...
356
Linus Walleij93218602006-02-27 08:53:38 +00003572006-02-27 Linus Walleij <triad@df.lth.se>
358
359 * Release libmtp 0.0.1 so people have something to play with,
360 what the heck. Probably saves someones day.
361
Linus Walleij95698cd2006-02-24 10:40:40 +00003622006-02-24 Linus Walleij <triad@df.lth.se>
363
364 * Deltr example program to delete tracks, plus corresponding
365 interface call.
366
Linus Walleij17e39f72006-02-23 15:54:28 +00003672006-02-23 Linus Walleij <triad@df.lth.se>
368
369 * Fixed up sendtr program and metadata tagging function that is
370 used after sending files.
371
Linus Walleij394bbbe2006-02-22 16:10:53 +00003722006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000373
Linus Walleij394bbbe2006-02-22 16:10:53 +0000374 * Untested gettr.c and sendtr.c programs to get and send tracks
375 created.
376
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00003772006-01-30 Linus Walleij <triad@df.lth.se>
378
379 * Created the initial GNU source directory structure.
380 * Added the most basic files.