blob: 9e5f5dec0fc1a2849fb92dc3c7bb45c1124647d4 [file] [log] [blame]
Linus Walleij84072342009-06-24 08:08:26 +000012009-06-24 Linus Walleij <triad@df.lth.se>
2
3 * src/music-players.h: tag most all Samsung devices with
Linus Walleij6222f732009-06-24 08:27:08 +00004 the UNLOAD_DRIVER flag. Broken GET_ALL info in all
5 Creative devices.
Linus Walleij84072342009-06-24 08:08:26 +00006
Linus Walleij0e47b5a2009-06-20 12:37:46 +000072009-06-20 Linus Walleij <triad@df.lth.se>
8
9 * examples/pathutils.c: detect VCF files too.
10
Linus Walleij2f1b6402009-06-15 19:49:33 +0000112009-06-15 Marcus Meissner <meissner@suse.de>
12
13 * configure.ac: use the AC_SYS_LARGEFILE macro instead
14 of the ugly largefile hacks.
15 * src/libmtp.c: fix use of largefile back to the simple
16 functions instead.
17 * examples/albumart.c: dito.
18 * examples/sendfile.c: dito.
19 * examples/sendtr.c: dito.
20 * examples/thumb.c: dito.
21
Linus Walleijd4637502009-06-14 23:03:33 +0000222009-06-15 Linus Walleij <triad@df.lth.se>
23
24 * configure.ac: some buildsystem updates.
25 * INSTALL: some doc updates.
26
272009-06-15 Marcus Meissner <meissner@suse.de>
28
29 * src/libmtp.c: synced to new libgphoto2 code.
30 * src/device-flags.h: dito.
31 * src/ptp.h: sync to upstream.
32 * src/ptp.c: dito.
33 * src/ptp-pack.c: dito.
34
35 The handles, the PTPObjectInfo and the MTP proplists
36 are now consolidated into "PTPObject"s.
37
38 This and abstraction and the resulting helper functions
39 allow implementation of easier dynamic operations like
40 I need for libgphoto2.
41
42 Some corner stones:
43
44 - PTPParams now contains the device flags itself.
45 (from device-flags.h) This is needed due to
46 ptp_object_want() needing to decide whether it can call
47 GetObjPropList, and it makes it cleaner.
48
49 So the ptp-bugs and device-flags handling are unified.
50
51 - PTPObjects are sorted by object handle. This allows binary
52 search by handle.
53
54 - New generic helper functions.
55
56 * uint16_t ptp_object_find (PTPParams *params,
57 uint32_t handle, PTPObject **retob)
58 binary searches the handle in the object list and returns
59 a pointer to the object.
60
61 * uint16_t ptp_object_find_or_insert (PTPParams *params,
62 uint32_t handle, PTPObject **retob)
63 binary searches the handle in the object list, inserts it
64 if not there yet, and returns a pointer to the object.
65
66 * uint16_t ptp_object_want (PTPParams *params, uint32_t handle,
67 int want, PTPObject **retob)
68 The most magic function, which does the "on demand" loading
69 of objectinfos, mtp proplists (and more).
70 want is a flag mask of PTPOBJECT_*_LOADED
71 PTPOBJECT_OBJECTINFO_LOADED clear
72 PTPOBJECT_CANONFLAGS_LOADED (special canon flags)
73 PTPOBJECT_MTPPROPLIST_LOADED mtp properties for this object
74 loaded
75 PTPOBJECT_DIRECTORY_LOADED (only used by libgphoto2 currently)
76 PTPOBJECT_PARENTOBJECT_LOADED this and storageid are
77 interesting for directory based
78 lookups
79 PTPOBJECT_STORAGEID_LOADED and can be filled out by directory
80 loading
81
82 * void ptp_objects_sort (PTPParams *params);
83 Sort the objects list if you did any modification of your own
84 on it and the order of object handles might not be linear
85 anymore.
86
87 - Multiple object information loading strategies are possible.
88 libmtp uses getobjecthandles() /getobjectinfo() and
89 getobjectproplist() loading strategies for initial setup. This
90 stays of course, it will just fill out the PTPObject array.
91
92 libgphoto2 now uses a per-directory getobjecthandles() /
93 getobjectinfo() loading approach, and I will readd the
94 getobjectproplist() approach.
95
96 It is open what you chose to use here. For libmtp the "load all
97 handles at startup" is good, dynamic loading is better for
98 libgphoto2.
99
100 Only rule is: The objectlist must be in order of objecthandles!
101 (ptp_object_sort()).
102
Linus Walleij1d829652009-06-02 19:53:01 +00001032009-06-02 Linus Walleij <triad@df.lth.se>
104
105 * examples/hotplug.c: change the udev match rule from
106 ATTR{dev}!="?*" to ENV{MAJOR}!="?*" at the suggestion of
107 Alan Jenkins, this should be faster.
Linus Walleij21b2dde2009-06-02 19:55:34 +0000108 * src/libusb-glue.c: include config.h (Marcus Meissner found
109 this is needed when you're not using iconv().)
Linus Walleijd4637502009-06-14 23:03:33 +0000110
Linus Walleij6db174f2009-05-09 13:15:26 +00001112009-05-09 Linus Walleij <triad@df.lth.se>
112
113 * src/libmtp.c: include <config.h> for iconv() compatibility.
114 * src/unicode.c: dito. NOTE: this file needs fixing to work
115 without iconv!
116 * src/ptp.h: sync to upstream and get all the embedded support
117 for FREE!
118 * src/ptp.c: dito.
119 * src/ptp-pack.c: dito.
120
Linus Walleij6f050022009-05-06 21:14:41 +00001212009-05-06 Linus Walleij <triad@df.lth.se>
122
Linus Walleij7e756532009-05-06 21:25:09 +0000123 * src/ptp.h: sync to upstream.
124 * src/ptp.c: dito.
125 * src/ptp-pack.c: dito.
126
1272009-05-06 Linus Walleij <triad@df.lth.se>
128
Linus Walleij6f050022009-05-06 21:14:41 +0000129 A host of Windows fixes from
130 Carlo Bramini <carlo_bramini@users.sourcefore.net>
131 With this patch everything works fine with cygwin and
132 Debian 5.0. Unfortunately, with MSys the "make install"
133 still fails at the very last actions. It happens that
134 everything is re-linked (strange, but not a big problem)
135 and for some unknown reason it loops forever when executing
136 "examples/hotplug > libmtp.usermap". But hopefully the
137 simple "make" completes without errors.
Linus Walleijd4637502009-06-14 23:03:33 +0000138
Linus Walleij6f050022009-05-06 21:14:41 +0000139 * configure.ac:
140 * iconv is now detected with autotools, this makes libmtp
141 linkable on cygwin too (previously it was not).
142 * the presence of Microsoft LIB.EXE is checked; if it is
143 absent then the MSVC libraries won't be generated.
144 * Added checking for some include files not available on
145 Windows: arpa/inet.h, byteswap.h, sys/uio.h.
146 * Check for presence of mkstemp: a replacement has been
147 written for Windows.
148 * examples/Makefile.am: the creation of the links failed:
149 I added source path and $(EXEEXT) extension for executables.
150 This is tested and working with Mingw+MSys, Cygwin, Debian 5.0.
151 * examples/albumart.c: include sys/uio.h only if it's available.
152 * examples/trexist.c: u_int32_t does not exists, into almost all
153 other parts libmtp is using uint32_t so I fixed it in that
154 manner. (Same for u_int64_t/uint64_t).
155 * examples/getfile.c: dito.
156 * examples/pathutils.c: dito, plus rindex() does not exist under
157 Windows, we must user strrchr() instead.
158 * examples/pathutils.h: fixes for prototypes changes made into
159 examples/pathutils.c
160 * examples/thumb.c: include sys/uio.h only if it's available.
161 * src/Makefile.am:
162 * Several fixes because the check on the presence of LIB.EXE
163 libmtp.sym is now prefixed by $(srcdir), this allows to
164 configure libmtp outside the source tree in Windows too.
165 * Libraries are put into LIBADD instead of LDFLAGS, this is the
166 right place.
167 * Previously the linker crashed because there was -ws2_32
168 instead of -lws2_32.
169 * src/playlist-spl.c:
170 * include sys/uio.h only if it's available.
171 * include replacement for mkstemp() function.
172
Richard Lowa7de0182009-05-03 22:33:33 +00001732009-05-03 Richard Low <richard@wentnet.com>
174
175 * src/libmtp.c: add external property types just like file
176 types so any property can be retrieved/set. Add function
177 LIBMTP_Is_Property_Supported to determine if a property is
178 supported for a given object type. Add function
179 LIBMTP_Get_Allowed_Property_Values to get alowed range/enum
180 of a property value. Make
181 LIBMTP_Get_Representative_Sample_Format get the size parameter
182 to allow us to determine the maximum size for a representative
183 sample.
184 * src/libmtp.h.in: ditto
185 * src/libusb-glue.c: update to check the handler function return
186 value so the handler can return PTP_ERROR_CANCEL to cancel the
187 transfer.
188
Linus Walleij6f050022009-05-06 21:14:41 +00001892009-05-02 Richard Low <richard@wentnet.com>
Richard Lowa7de0182009-05-03 22:33:33 +0000190
191 * src/ptp-pack.c: add a NULL check
192
1932009-04-18 Richard Low <richard@wentnet.com>
194
195 * src/ptp-pack.c: add terminating NULL character
196
1972009-04-11 Richard Low <richard@wentnet.com>
198
199 * src/libusb-glue.c: Make get_playlist_extension return type
200 const char *
201 * src/libusb-glue.h: ditto
202 * src/libusb-glue.c: In probe_device_descriptor, check to see if
203 dev->config is NULL before going round the first loop
204 * src/libmtp.c: Add LIBMTP_Get_File_To_Handler,
205 LIBMTP_Send_File_From_Handler, LIBMTP_Get_Track_To_Handler,
206 LIBMTP_Send_Track_From_Handler functions to get/send files/tracks
207 from/to handler functions. Add modificationdate to file and track
208 structs. Add LIBMTP_FILETYPE_ALBUM and LIBMTP_FILETYPE_PLAYLIST
209 filetypes.
210
Linus Walleij4096c882009-03-16 23:32:34 +00002112009-03-17 Linus Walleij <triad@df.lth.se>
212
213 * src/device-flags.h: discovered a new device that cannot even
214 read out battery level but still claims to be able to. Sigh.
215 * src/libusb-glue.h: flag macro.
216 * src/music-players.h: flag the Slacker.
217 * src/libmtp.c: avoid battery level getting on these devices.
218 * configure.ac: preparing for 0.3.7.
219 * src/Makefile.am: preparing for 0.3.7 (libmtp.so.8.2.2)
Linus Walleijb7bd2452009-03-16 23:44:41 +0000220 * Release libmtp 0.3.7.
Linus Walleij4096c882009-03-16 23:32:34 +0000221
Linus Walleijd98e8972009-03-08 22:57:17 +00002222009-03-08 Linus Walleij <triad@df.lth.se>
223
224 * src/libmtp.c: refactored OGG extenstion check again, same
225 code in three places, broke it out and made it foolproof
226 (hopefully) in one single spot.
227
Linus Walleijb84b3852009-03-04 15:11:08 +00002282009-03-04 Linus Walleij <triad@df.lth.se>
229
230 * src/libusb-glue.c: patch from Marcus to fix an issue
231 with retransmit originally reported by Florent Pillet.
232
Linus Walleij5c1499e2009-02-21 06:54:29 +00002332009-02-21 Linus Walleij <triad@df.lth.se>
234
235 * src/libmtp.c: some additional NULL checks from
236 Florent Pillet.
237
Linus Walleij30b3e022009-02-18 22:41:20 +00002382009-02-18 Linus Walleij <triad@df.lth.se>
239
240 * src/libmtp.c: error report from RedHat BZ
241 http://bugzilla.redhat.com/show_bug.cgi?id=485627
242 led to strange code for detecting anonymous OGG files
243 being rewritten to handle NULL filenames and filenames
244 that do not exceed 4 chars.
245
Linus Walleijafac36b2009-01-30 20:39:13 +00002462009-01-30 Linus Walleij <triad@df.lth.se>
247
248 * src/libmtp.c: store albums and playlists in the default
249 music folder if no default folder for albums resp.
250 playlists has been detected.
251
Linus Walleijb17b9f12009-01-21 23:59:40 +00002522009-01-22 Linus Walleij <triad@df.lth.se>
253
254 * configure.ac: bump to 0.3.6 and release.
Linus Walleij4096c882009-03-16 23:32:34 +0000255 * src/Makefile.am: interface bump to libmtp.so.8.2.1
Linus Walleijb17b9f12009-01-21 23:59:40 +0000256
Linus Walleij7e3b3072009-01-19 22:51:17 +00002572009-01-16 Linus Walleij <triad@df.lth.se>
258
259 * src/ptp.c: sync to upstream.
260 * src/ptp.h: dito.
261
Linus Walleij2eaaff02009-01-15 21:30:36 +00002622009-01-15 Linus Walleij <triad@df.lth.se>
263
264 * src/libmtp.c: include fixes from Yuri Pankov for *BSD.
265 * src/playlist-spl.c: dito.
266 * examples/*.c: (more or less) dito.
267
Linus Walleijf67c1ad2009-01-14 21:39:50 +00002682009-01-14 Linus Walleij <triad@df.lth.se>
269
270 * src/device-flags.h: new device flag for broken
271 SendObjectPropList, as found broken in MEU202
272 * src/music-players.h: use the new flag.
273 * src/libmtp.c: implement this device flag.
274 * src/libusb-glue.h: dito.
275
Linus Walleij5b4a4d22009-01-10 12:18:14 +00002762009-01-10 Linus Walleij <triad@df.lth.se>
277
278 * src/libmtp.h.in: mingw32 fixes from James Ravenscroft.
Linus Walleija0e863b2009-01-10 22:15:57 +0000279 * src/libmtp.c: dito. Replaced "rindex" with "strrchr"
Linus Walleij5b4a4d22009-01-10 12:18:14 +0000280 * src/Makefile.am: dito.
281 * examples/albumart.c: dito.
282
Linus Walleijdd987c32009-01-06 00:35:05 +00002832009-01-06 Linus Walleij <triad@df.lth.se>
284
285 * src/Makefile.am: patch from Rafael Laboissiere removing a
286 build artifact in distclean.
287
Linus Walleij2242b022009-01-02 01:44:00 +00002882009-01-02 Linus Walleij <triad@df.lth.se>
289
290 * examples/connect.c: usage patch from Riley Patterson.
291 * examples/sendtr.c: dito. Plus only try to add track to an
292 album if and only if an album name was given.
293 * examples/newfolder.c: real bad bug fixed, didn't even work
294 due to bad args check.
295 * examples/sendfile.c: another bad bug...
296 * examples/common.h: include <config.h> not "config.h"
297 * src/unicode.h: no reason for this to include config.h!
298
Linus Walleijcb229572008-12-21 13:17:59 +00002992008-12-21 Linus Walleij <triad@df.lth.se>
300
301 * Release libmtp 0.3.5.
302
Linus Walleija89a7942008-12-14 23:19:34 +00003032008-12-15 Nathan Bullock <nathanbullock@gmail.com>
304
305 * src/libmtp.c: get folders to a flat list and we get O(n) searching
306 instead of the previous O(n^2) algorithm!
307
Linus Walleijb9255212008-12-13 22:26:26 +00003082008-12-13 Linus Walleij <triad@df.lth.se>
309
310 * examples/detect.c: make mtp-detect dump out default-capabilities.xml
311 if such a file exists on the device.
Linus Walleij2a84ca42008-12-14 00:00:23 +0000312 * m4/stdint.m4: update to newer macro from libgphoto2.
313 * m4/byteorder.m4: update to newer macro from libgphoto2.
314 We find these here:
315 http://gphoto.svn.sourceforge.net/viewvc/gphoto/trunk/m4/
316 * configure.ac: fix the renamed _stdint.h too.
317 * Doxyfile.in: some config option got obsolete.
Linus Walleijfc973122008-12-14 01:10:26 +0000318 * libmtp.c: start to use PTP error redirection to the libmtp error
319 stack. This also makes it possible to stop the annoying debug prints.
Linus Walleijd1e14e02008-12-14 01:07:30 +0000320 * libusb-glue.c: dito.
Linus Walleijfc973122008-12-14 01:10:26 +0000321 * ptp.c: sync to upstream.
322 * ptp.h: sync to upstream.
Linus Walleijb9255212008-12-13 22:26:26 +0000323
Linus Walleijd8a2fae2008-12-02 12:20:17 +00003242008-12-02 Linus Walleij <triad@df.lth.se>
325
326 * examples/util.c: another NULL check.
327
Linus Walleij73fecc42008-11-25 21:17:22 +00003282008-11-25 Linus Walleij <triad@df.lth.se>
329
330 * src/libmtp.c: fix a bug on handling folder children with an illegal
331 ID of 0. Occured in the ZEN Xi-Fi in the "Recordings" folder, when
332 that is created on the device.
333
alistair_boyle5e5fcb72008-11-17 14:38:19 +00003342008-11-17 Alistair Boyle <alistair.js.boyle@gmail.com>
335
alistair_boyle5e5fcb72008-11-17 14:38:19 +0000336 * configure.ac: change release to 0.3.5.
337 * libmtp.c: change metadata const*const to *const to allow playlist_id
338 to be modified by LIBMTP_Update_Playlist. (Samsung playlists)
339 * libmtp.h.in: match libmtp.c
340
Linus Walleij1ccd5862008-11-11 12:33:01 +00003412008-11-11 Linus Walleij <triad@df.lth.se>
342
343 * src/libmtp.c: allow for playlists with zero tracks on them,
344 also in update.
345
Linus Walleijd49955b2008-11-09 17:20:00 +00003462008-11-09 Linus Walleij <triad@df.lth.se>
347
348 * src/ptp.h: sync from upstream.
349 * src/ptp.c: sync from upstream.
350 * src/ptp-pack.c: sync from upstream.
351
Linus Walleij54c468c2008-11-07 22:36:15 +00003522008-11-07 Linus Walleij <triad@df.lth.se>
353
354 * Release libmtp 0.3.4.
355 * configure.ac: let's release 0.3.4.
356 * src/Makefile.am: compatible API and ABI.
357
Linus Walleij753a46a2008-11-05 09:10:52 +00003582008-11-05 Linus Walleij <triad@df.lth.se>
359
360 * src/libmtp.c: fix the association type problem on
361 LIBMTP_Create_Folder(). This causes folders not to
362 work properly on some devices!!
363
Linus Walleij3bc0d7f2008-11-01 23:06:24 +00003642008-11-01 Linus Walleij <triad@df.lth.se>
365
366 * src/ptp.h: sync to upstream.
367 * src/ptp.c: sync to upstream.
368 * src/ptp-pack.c: introduce Richards bugfix on top of
369 upstream and take advantage of the ptp_debug() function.
370 * src/libusb-glue.c: make ptp_debug() non-static since
371 ptp-pack.c needs it.
372
Linus Walleijcf8dc2b2008-10-21 13:58:36 +00003732008-10-21 Linus Walleij <triad@df.lth.se>
374
375 * src/device-flags.h: actually the SanDisks cannot handle
376 PTP_OPC_DateModified at ALL, not even as part of the
377 initial update so rename the flag to something sensible.
378 * src/music-players.h: consequental changes.
379 * src/libmtp.c: disable all use of PTP_OPC_DateModified if
380 flag is set, not just updates.
381
Linus Walleij37588142008-10-16 19:10:47 +00003822008-10-16 Linus Walleij <triad@df.lth.se>
383
384 * src/device-flags.h: new flag for broken updates of
385 PTP_OPC_DateModified.
386 * src/music-players.h: tag all SanDisk devices with this
387 flag. Bug appeared in them.
388 * libmtp.c: avoid updating PTP_OPC_DateModified on broken
389 devices.
390
Linus Walleijc8abc922008-09-28 18:38:42 +00003912008-09-28 Alvin <alvinbeach@gmail.com>
392
393 * src/libmtp.c: fix several bugs in Ogg filetype support.
394
Richard Lowff16bfa2008-09-26 19:23:08 +00003952008-09-26 Richard Low <richard@wentnet.com>
396
397 * src/libmtp.c: check propdesc before setting props in
398 create_new_abstract_list()
399
Linus Walleijf12e3052008-09-25 22:00:40 +00004002008-09-25 Linus Walleij <triad@df.lth.se>
401
402 * configure.ac: bump to 0.3.3.
403 * src/Makefile.am: interface to .so.8.1.0
404 * Release as 0.3.3.
405
Linus Walleij8d8c4352008-09-23 23:04:16 +00004062008-09-24 Linus Walleij <triad@df.lth.se>
407
408 * src/libmtp.h.in: add new filename setting functions, patch
409 from Florent Mertens <flomertens@gmail.com>.
410 * src/libmtp.c: implementation.
411 * src/playlist-spl.c: consequental changes.
412 * src/libmtp.sym: consequental changes.
Linus Walleijfb7212f2008-09-24 20:30:13 +0000413 * Fixup patch from Alvin later this day.
Linus Walleij8d8c4352008-09-23 23:04:16 +0000414 * Note to self: remember to bump soname to .so.8.1.0.
415
Richard Low4d9165f2008-09-23 20:13:17 +00004162008-09-23 Richard Low <richard@wentnet.com>
417
418 * src/libmtp.c: check for NULL storage
419 * src/libusb-glue.c: return PTP_RC_OK on zero read
420 * src/music-players.h: give Samsung YP-10 DEVICE_FLAG_NO_ZERO_READS
421
Linus Walleij97c351b2008-09-22 08:22:20 +00004222008-09-22 Linus Walleij <triad@df.lth.se>
423
424 * src/libmtp.c: make sure we don't try to fit a new file onto
425 a ROM storage. Add some pretty-print to FourCC codecs so
426 you can actually understand the enumerations.
427
Linus Walleij4347fda2008-09-19 22:28:45 +00004282008-09-20 Joe Nahmias <joe@nahmias.net>
429
430 * examples/sendtr.c: added option to specify which
431 storage_id the track should be copied.
432
Linus Walleijeb5d5fe2008-09-19 22:01:48 +00004332008-09-20 Linus Walleij <triad@df.lth.se>
434
435 * configure.ac: bump to 0.3.2.
436 * src/Makefile.am: bump to libmtp.so.8.0.2, compatible
437 interface.
438 * Release this as 0.3.2 mainly to get the Creative fixes out.
439
Linus Walleij2832a202008-09-17 18:58:20 +00004402008-09-17 Linus Walleij <triad@df.lth.se>
441
442 * src/libmtp.h.in: new helper macros from
443 Alvin <alvinbeach@gmail.com> plus some docs.
444
Linus Walleij780b3902008-09-11 22:17:00 +00004452008-09-12 Linus Walleij <triad@df.lth.se>
446
447 * src/music-players.h: drop bug flags off the Creative devices.
448 I am confident that the bugs they were masking have been
449 fixed now.
450
Richard Low4d93a992008-09-07 12:52:14 +00004512008-09-07 Richard Low <richard@wentnet.com>
452
453 * src/music-players.h: added Panasonic P905i
454
Linus Walleijb67fecc2008-09-05 10:41:30 +00004552008-09-05 Marcus Meissner <meissner@suse.de>
456
457 * src/libmtp.sym: update symbol export table.
458 * src/Makefile.am: fix up some magic for symbol export.
459
Linus Walleijf3296622008-09-04 20:53:56 +00004602008-09-04 Linus Walleij <triad@df.lth.se>
461
462 * src/libmtp.c: look up the filename for playlists if the name is
463 missing or not properly set. Not doing the same for albums -
464 these must have proper metadata.
465 * src/music-players.h: more players as usual.
466 * examples/sendtr.c: more warnings.
467
Linus Walleij9d00c1b2008-08-31 18:17:08 +00004682008-08-31 Linus Walleij <triad@df.lth.se>
469
470 * src/ptp.h: sync to upstream.
471 * src/ptp.c: sync to upstream.
472
Linus Walleij2f622812008-08-30 22:06:58 +00004732008-08-30 Chris Bagwell <chris@cnpbagwell.com>
474
475 * src/libusb-glue.c: make it possible to have per-command
476 or otherwise altered timeout values for different PTP
477 request/response sequences.
478 * src/libusb-glue.h: dito.
479 * src/libmtp.c: increase USB timeout to 30s when getting
480 a complete track listing off the device.
481 * src/music-players.h: as a consequence, the Sirus Stiletto
482 no longer needs any brokenness flag.
483
4842008-08-30 Linus Walleij <triad@df.lth.se>
485
486 * src/ptp.c: sync to upstream.
487
Linus Walleijeb144392008-08-28 14:43:38 +00004882008-08-28 Linus Walleij <triad@df.lth.se>
489
490 * examples/sendtr.c: fix non-strdup():ed strings to be
491 copied, patch courtesy of Juanan Pereira.
492
Linus Walleij5b17d8f2008-08-25 20:55:15 +00004932008-08-25 Linus Walleij <triad@df.lth.se>
494
495 * src/Makefile.am: bump interface a patchlevel. (Fully
496 compatible.)
497 * configure.ac: bump version to 0.3.1.
498 * Release as libmtp 0.3.1.
499
Linus Walleije1be4b92008-08-18 08:49:22 +00005002008-08-18 Linus Walleij <triad@df.lth.se>
501
502 * src/libusb-glue.c: some vartype and return flunkies.
Linus Walleij8b8c8502008-08-18 19:58:36 +0000503 * configure.ac: check for locale.h
504 * examples/util.c: set locale to pick up environment.
Linus Walleije1be4b92008-08-18 08:49:22 +0000505
Linus Walleij06e42322008-08-16 23:34:32 +00005062008-08-17 Linus Walleij <triad@df.lth.se>
507
508 * src/libusb-glue.c: some handling of ptp_usb_getdata()
509 when passed in data size was 0xffffffffU, data
510 sent in first transaction was ignored, fix by
511 Rob Woolley.
Linus Walleijdeddc342008-08-16 23:52:06 +0000512 * src/ptp-pack.c: sync in from upstream libgphoto2.
513 * src/README: move relevant stuff to README.
514 * README: see above.
Linus Walleij06e42322008-08-16 23:34:32 +0000515
Linus Walleijf3c44052008-08-16 21:14:56 +00005162008-08-15 Alistair Boyle <alistair.js.boyle@gmail.com>
517
518 * src/playlist-spl.c: added handling of Samsung's
519 proprietary .spl playlist format.
520 * src/playlist-spl.h: dito.
521 * src/device-flags.h: new flags for Samsung playlists.
522 * src/music-players.h: assign flags.
523 * src/libusb-glue.h: convenience macros.
524 * src/libmtp.c: integrate Samsung playlists.
525
Linus Walleij59765e82008-08-15 07:17:12 +00005262008-08-15 Linus Walleij <triad@df.lth.se>
527
528 * examples/Makefile.am: break out utility functions
529 (currently only checklang()) to a separate file.
530 * examples/util.h: dito.
531 * examples/util.c: dito.
532 * examples/detect.c: dito.
533 * examples/sendtr.c: dito.
534 * examples/connect.c: dito.
535
Linus Walleij25d5c212008-08-14 06:49:13 +00005362008-08-14 Linus Walleij <triad@df.lth.se>
537
538 * src/libmtp.c: add some documentation to file and track
539 listing functions to that it's clear that you have to
540 inspect storage_id and parent_id in order to group files
541 into storages and/or folders.
542
Linus Walleij07bb5382008-07-31 20:21:09 +00005432008-07-31 Linus Walleij <triad@df.lth.se>
544
545 * src/music-players.h: several new devices and flags.
546
Linus Walleije80d6bd2008-06-23 23:11:42 +00005472008-06-24 Linus Walleij <triad@df.lth.se>
548
549 * TODO: updates.
550 * src/Makefile.am: bump interface to libmtp.so.8.0.0.
551 It's NOT compatible!
552 * RELEASE libmtp 0.3.0 and let the apps developers have
553 their apps fixed!
554
Linus Walleijea68f1f2008-06-22 21:54:44 +00005552008-06-22 Linus Walleij <triad@df.lth.se>
556
557 * src/libmtp.h.in: removed the parenthandle argument from
558 LIBMTP_Send_File_From_File(),
559 LIBMTP_Send_File_From_File_Descriptor(),
560 LIBMTP_Send_Track_From_File(),
561 LIBMTP_Send_Track_From_File_Descriptor(),
562 LIBMTP_Create_New_Playlist() and
563 LIBMTP_Create_New_Album()
564 Now you must pass in parent ID from a metadata or
565 filedata set. Use the respective field of the
566 file, track, playlist or album struct to pass in
567 a parent handle when calling these functions from
568 now on. The bonus for changing your code is that you
569 can now also pass in a storage_id with any metadata
570 set! Consequently LIBMTP_Create_Folder() was
571 altered to accept THREE metadata arguments: name,
572 parent_id and storage_id. All calls to any of these
573 functions in any referring code need to be altered to
574 use this scheme. It should be quite self-evident for
575 most code and easy to perform.
576 * src/libmtp.c: changed outlined above were implemented.
577 * examples/newfolder.c: consequental changes.
578 * examples/sendfile.c: consequental changes.
579 * examples/sendtr.c: consequental changes.
580 * examples/albumart.c: consequental changes.
581 * examples/newplaylist.c: consequental changes.
582 * examples/files.c: consequental changes.
583 * examples/tracks.c: correct misleading strings.
584
Linus Walleij8f7f1aa2008-06-15 19:00:23 +00005852008-06-15 Linus Walleij <triad@df.lth.se>
586
587 * src/libmtp.c: only look for default folders in the
588 root folder on the primary storage, even.
589
Linus Walleijc40c9bf2008-06-13 23:24:17 +00005902008-06-14 Linus Walleij <triad@df.lth.se>
591
592 * src/libmtp.c: only look for default folders in the
593 primary storage, and only try to put files there
594 if they are targetting the primary storage.
595
Linus Walleij56c63952008-06-08 21:55:58 +00005962008-06-08 Linus Walleij <triad@df.lth.se>
597
598 * configure.ac: check for the langinfo.h header.
599 * examples/connect.c: check charset properly.
600 * examples/sendtr.c: dito.
601 * src/music-players.h: new devices galore.
602
Linus Walleij335a81c2008-06-02 23:01:00 +00006032008-06-03 Linus Walleij <triad@df.lth.se>
604
605 * src/device-flags.h: new device flag for devices that
606 always need to have their device descriptor probed.
607 * src/music-players.h: generously add this flag to all
608 SanDisk devices. The e280v2 and Fuze are known to be
609 especially problematic.
610 * src/libusb-glue.h: helper macro.
611 * src/libusb-glue.c: massage "OS Descriptor" on demand
612 when opening the device.
Linus Walleij5e202562008-06-03 11:35:05 +0000613 * src/music-players.h: detailed info and flags for the
614 SanDisk Sansa players. More to be done, probably.
Linus Walleij335a81c2008-06-02 23:01:00 +0000615
Linus Walleijfec4d562008-06-01 22:30:36 +00006162008-06-02 Linus Walleij <triad@df.lth.se>
617
618 * src/libusb-glue.c: refactor PTP_USB to use the raw
619 device and its contained deviceinfo to store and
620 retrieve the device flags. (This is starting to look
621 object oriented...)
622 * src/libusb-glue.h: accessor functions to simplify
623 switching on the device flags and increase the code
624 readability.
625 * src/libmtp.c: use the new accessor functions.
626
Linus Walleij64691b72008-05-31 22:55:18 +00006272008-06-01 Linus Walleij <triad@df.lth.se>
628
629 * src/libmtp.c: use LIBMTP_Detect_Raw_Devices() and
630 LIBMTP_Open_Raw_Device() inside
Linus Walleij3c643252008-05-31 23:22:28 +0000631 LIBMTP_Get_First_Device() refactoring. Move
632 params creation into this file.
633 * src/libusb-glue.c: move params creation away
634 from here.
Linus Walleij64691b72008-05-31 22:55:18 +0000635
Linus Walleij9b146182008-05-29 22:42:54 +00006362008-05-30 Linus Walleij <triad@df.lth.se>
637
638 * src/libusb-glue.c: unused variable.
639 * examples/detect.c: switch to using raw device
640 interface for opening devices.
641
Linus Walleij9d22ce02008-05-28 20:39:29 +00006422008-05-28 Linus Walleij <triad@df.lth.se>
643
Linus Walleija700d222008-05-28 23:06:14 +0000644 * src/libmtp.c: internally using the raw devices to
645 get a list of devices.
Linus Walleij9d22ce02008-05-28 20:39:29 +0000646 * src/ptp.c: sync to upstream.
647 * src/ptp.h: dito.
648 * src/ptp-pack.c: dito.
Linus Walleija700d222008-05-28 23:06:14 +0000649 * src/libmtp.h.in: move raw device detection to use
Linus Walleijbdb89bd2008-05-28 23:32:35 +0000650 error codes. Add interface to open a raw device!
Linus Walleija700d222008-05-28 23:06:14 +0000651 * src/libusb-glue.h: make the old device list internal,
652 use raw device in interface for configuring USB.
653 * src/libusb-glue.c: fix up error messages. Move the
654 raw device detection interface to use error codes.
655 * examples/detect.c: fix up error messages. Use error
656 codes for raw devices.
Linus Walleij9d22ce02008-05-28 20:39:29 +0000657
Linus Walleij817579a2008-05-23 21:21:40 +00006582008-05-23 Linus Walleij <triad@df.lth.se>
659
660 * src/libmtp.c: after sending a file, look up the
661 resulting file metadata from the cache to make sure
662 that parent_id is identical to that the file actually
663 gets on the device. If root folder (0) is selected, we
664 hardcode thing to 0xffffffffu to be used as parent,
665 but it will probably end up being 0 for example.
Linus Walleijfcb43422008-05-23 21:53:55 +0000666 Also fix an issue with ptp_mtp_getobjectproplist()
667 sometimes returning a NULL pointer while still
668 claiming there are props in the list.
Linus Walleija4e6bdc2008-05-23 22:31:53 +0000669 * src/libusb-glue.h: add a function to get the preferred
670 playlist extension.
Linus Walleij5ba40402008-05-23 21:36:54 +0000671 * src/libusb-glue.c: "written" variable in
672 ptp_usb_sendreq() may end up uninitialized if
673 ptp_write_func() fails. Initialize it to 0.
Linus Walleija4e6bdc2008-05-23 22:31:53 +0000674 Get the prefered playlist extension.
Linus Walleij817579a2008-05-23 21:21:40 +0000675
Richard Lowbb9fb4a2008-05-18 14:49:34 +00006762008-05-18 Richard Low <richard@wentnet.com>
677
678 * src/device-flags.h: added
679 DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS device flag
680 * src/music-players.h: ditto. Also set Samsung YH-999 to
681 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL based on users
682 experience.
683 * src/libmtp.c: added
684 DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS device flag
685
Linus Walleijf106aa62008-05-04 22:55:51 +00006862008-05-05 Linus Walleij <triad@df.lth.se>
687
688 * src/libusb-glue.c: assign device name and flags to
689 detected raw devices, slowly preparing to move to
690 using the raw device detection internally as well.
691
Linus Walleij10e0ce72008-05-04 19:20:33 +00006922008-05-04 Linus Walleij <triad@df.lth.se>
693
694 * src/libmtp.h.in: move useful filetype macros here so
695 external programs can use them.
696 * src/libmtp.c: consequental changes.
697 * examples/sendtr.c: use the new macro to detect track
698 content.
699
Linus Walleij31b74292008-05-02 23:29:06 +00007002008-05-03 Johannes Huber <johub1180@gmx.at>
701
702 * src/libmtp.h.in: add interface for setting album composer,
703 needed for classical albums, on abstract albums.
704 * src/libmtp.c: implement it.
705 * examples/albums.c: consequental changes.
706 * examples/connect.c: dito.
707 * examples/sendtr.c: dito.
708 * examples/tracks.c: dito.
709 * AUTHORS: new contributor.
710
Linus Walleij46651f32008-04-26 23:30:19 +00007112008-04-27 Linus Walleij <triad@df.lth.se>
712
713 * src/libmtp.c: recognize audio files as tracks, since this
714 is what WMP does. (e.g. it sets playlength on movies
715 to enable skip bar) also define macros for audio/video/both
716 types and tidy up a bit.
717
Linus Walleij63fd1e62008-04-23 23:49:43 +00007182008-04-24 Linus Walleij <triad@df.lth.se>
719
720 * src/libmtp.h.in: added preliminary interface for getting
721 raw devices.
722 * src/libusb-glue.c: the implementation is all here!
723 * src/libusb-glue.h: add some bus and device fields to the
724 internal device list.
725 * examples/detect.c: exercise the raw device detection code.
726
Linus Walleij88feb2e2008-03-26 00:26:20 +00007272008-03-26 Linus Walleij <triad@df.lth.se>
728
729 * examples/pathutils.c: fix a folder identification bug,
730 courtesy of Dr Nicholas Jacobs.
731
Linus Walleij5ce59db2008-03-12 21:22:58 +00007322008-03-12 Linus Walleij <triad@df.lth.se>
733
Linus Walleij161fcce2008-03-12 22:02:59 +0000734 * configure.ac: bad mailing list address. (Marcus) Bump to
735 version 0.3.0.
736 * examples/hotplug.c: switch from using "info.bus" to
737 using "info.subsystem" to identify USB events. (Marcus).
Linus Walleij5ce59db2008-03-12 21:22:58 +0000738 * src/libmtp.c: add parent_id to albums and playlists,
739 based on a patch by Ali Shah.
740 * src/libmtp.h.in: dito.
741 * examples/playlists.c: consequental changes.
742 * examples/albums.c: consequental changes.
743 * This will be a new major revision of the API/ABI no
744 matter what.
745
Linus Walleij1018c162008-03-07 23:11:58 +00007462008-03-08 Linus Walleij <triad@df.lth.se>
747
748 * src/libusb-glue.c: left debug prints on :-(
Linus Walleij907905b2008-03-07 23:33:02 +0000749 * configure.ac: set to 0.2.6.1
Linus Walleij1018c162008-03-07 23:11:58 +0000750 * Release as 0.2.6.1
751
Linus Walleijb8f78c72008-03-02 20:22:56 +00007522008-03-02 Linus Walleij <triad@df.lth.se>
753
754 * configure.ac: prepare 0.2.6 release.
755 * src/Makefile.am: bump to compatible interface,
756 * src/ptp.c: sync in upstream, a Sansa fix!
757 * src/ptp.h: sync in upstream.
758 * doc/Doxyfile.in: retire obsoleted parameters.
759 * Release this as 0.2.6!
760
Richard Low641d1e32008-02-24 20:47:20 +00007612008-02-24 Richard Low <richard@wentnet.com>
762
763 * src/music-players.h: add DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL
764 for a broken Philips player.
765
Linus Walleijc12e1752008-02-18 22:45:45 +00007662008-02-18 Linus Walleij <triad@df.lth.se>
767
768 * examples/pathutils.c: fix up item ID typing to uint32_t,
769 handle file names passed in as arguments at suggestion from
770 anonymous mail list user.
771 * examples/pathutils.h: move a function static.
772
Linus Walleij75fe2bf2008-02-12 07:34:35 +00007732008-02-12 Nicolas Pennequin <nicolas.pennequin@free.fr>
774
775 * examples/sendtr.c: add transferred tracks to albums if possible.
776
Linus Walleij3191bba2008-02-10 21:16:25 +00007772008-02-10 Scott Snyder <snyder@fnal.gov>
778
779 * src/libusb-glue.c: finally fix up the short header detection
780 to skip over zero packets when encountered.
781 * examples/pathutils.c: fix a problem where all files sent has
782 to include a "." (period).
783
Linus Walleijbebc6d52008-02-06 00:17:58 +00007842008-02-06 Linus Walleij <triad@df.lth.se>
785
786 * src/libusb-glue.c: wait for response > 0 instead of > 2.
787
Linus Walleijce245a82008-01-28 10:25:13 +00007882008-01-28 Linus Walleij <triad@df.lth.se>
789
Linus Walleij0801cd52008-01-29 22:19:15 +0000790 * src/libmtp.c: LIBMTP_Get_Filemetadata() return metadata for
791 folders (associations) too. There is really no reason why it
792 shouldn't and it's good for use internally.
793 LIBMTP_Get_Filelisting_With_Callback() will still not return
794 any associations however. We want to use the folder functions
795 for that.
796
7972008-01-28 Linus Walleij <triad@df.lth.se>
798
Linus Walleijce245a82008-01-28 10:25:13 +0000799 * src/libmtp.h.in: withdraw LIBMTP_Set_Object_Parent() function,
800 no known devices will support this.
Linus Walleij8be2c032008-01-28 21:23:47 +0000801 * src/libmtp.c: dito. Fix up some problems with the
802 LIBMTP_Set_Object_Filename() function.
Linus Walleijce245a82008-01-28 10:25:13 +0000803
Linus Walleij399807b2008-01-27 22:05:12 +00008042008-01-27 Linus Walleij <triad@df.lth.se>
805
806 * src/libmtp.c: fix up some minor things and documentation on
807 the object handling functions.
808
Linus Walleijde8193f2008-01-27 14:55:31 +00008092008-01-27 Florent Mertens <flomertens@gmail.com>
810
811 * src/libmtp.h.in: new functions to rename object filenames
812 and change object parents. Good when modifying the device
813 as a file system, LIBMTP_Set_Object_Filename(),
814 LIBMTP_Set_Object_Parent().
815 * src/libmtp.c: implementation.
816
Linus Walleij00411ee2008-01-27 12:24:51 +00008172008-01-27 Linus Walleij <triad@df.lth.se>
818
819 * src/libusb-glue.c: re-read response from device until
820 it atleast exceeds two bytes. This fixes a problem with
821 the Samsung YP-U3 when populated with many, many songs.
822
Richard Lowa11a6ad2008-01-21 17:23:55 +00008232008-01-21 Richard Low <richard@wentnet.com>
824
825 * src/music-players.h: add Thomson Lyrca HC308A, remove
826 incorrect ID for Creative Zen 8GB
827
Richard Low36e447c2008-01-20 15:24:55 +00008282008-01-20 Richard Low <richard@wentnet.com>
829
830 * src/libmtp.c: add LIBMTP_Get_Representative_Sample()
831 * src/libmtp.h.in: ditto
832
8332008-01-14 Linus Walleij <triad@df.lth.se>
Linus Walleij2350b712008-01-14 22:54:37 +0000834
835 * src/libmtp.c: add LIBMTP_Get_Manufacturername(). Remember
836 to bump soname (compatible) in 0.2.6 (or whatever we name it).
837 0.3.0 perhaps?
838 * src/libmtp.h.in: dito.
839 * src/libmtp.c: detect default folders named "Datacasts" and
840 "Texts".
841
Richard Low36e447c2008-01-20 15:24:55 +00008422008-01-11 Linus Walleij <triad@df.lth.se>
Linus Walleij7fcaa372008-01-11 00:48:06 +0000843
844 * examples/pathutils.c: recognize .bin files as firmware,
845 used by e.g. RockBox developers. Doesn't cost anything to
846 add.
847
Richard Low36e447c2008-01-20 15:24:55 +00008482008-01-08 Linus Walleij <triad@df.lth.se>
Linus Walleij89daa092008-01-08 22:35:39 +0000849
850 * configure.ac: bump to 0.2.5.
851 * src/Makefile.am: interface to libmtp.so.7.0.2
852 (compatible).
853 * Release as libmtp 0.2.5. Why not?
854
Linus Walleij0b75ab62007-12-28 00:47:34 +00008552007-12-28 Linus Walleij <triad@df.lth.se>
856
857 * src/libmtp.c: make libmtp use PTP_OPC_AlbumArtist on albums,
858 instead of the (seldom present) PTP_OPC_Artist tag. Use both
859 if both are supported. We're not setting AlbumArtist on regular
860 tracks though, what's the point, and what does it mean if this
861 differs from Artist??
862
Linus Walleija3544f62007-11-30 01:20:04 +00008632007-11-30 Linus Walleij <triad@df.lth.se>
864
865 * src/music-players.h: new flag for the YP-T10.
866 * src/device-flags.h: define the new flag, that is needed
867 to support Ogg files on these devices.
868 * src/libmtp.c: recognize and report Ogg support, set type
869 to unknown when transferring.
870
Linus Walleijcc2cf972007-11-22 20:23:43 +00008712007-11-22 Linus Walleij <triad@df.lth.se>
872
873 * configure.ac: bump to 0.2.4.
874 * src/Makefile.am: bump age of soversion (compatible).
875 * RELEASE 0.2.4 mainly to get some new device support out there.
876
Linus Walleijbc550bc2007-11-08 23:25:09 +00008772007-11-09 Linus Walleij <triad@df.lth.se>
878
879 * src/libusb-glue.c: avoid probing deeper into interfaces
880 that have a string describing them as "MTP" after a
881 suggested patch from Alexander Kanavin <ak@sensi.org>.
Linus Walleij20c3b672007-11-09 19:02:19 +0000882 * examples/albumart.c: patch from Chris Waters <xtifr@debian.org>
883 replacing calls to atoi() with calls to strtoul(). Since
884 object ID:s are unsigned long, atoi() would reject too
885 high object IDs. The patch also fix a few memory leaks.
886 THANKS DEBIAN! We love our downstream!
887 * examples/newplaylist.c: dito.
888 * examples/pathutils.c: dito.
889 * examples/thumb.c: dito.
Linus Walleijbc550bc2007-11-08 23:25:09 +0000890
Linus Walleij5f42ef42007-11-05 22:58:50 +00008912007-11-05 Linus Walleij <triad@df.lth.se>
892
893 * src/libmtp.c: use OPFF codes instead of DPFF codes,
894 we're dealing with objects, not device props.
895 * src/ptp.c: silence some OPFF freeing warnings.
896
Linus Walleij3e4b1142007-11-01 23:54:16 +00008972007-11-02 Linus Walleij <triad@df.lth.se>
898
899 * src/libusb-glue.c: try to repair header here instead of
900 ignoring error in ptp.c.
Linus Walleij1d0e84f2007-11-02 21:05:35 +0000901 * src/music-players.h: flag some more Creative devices as
902 broken getting all files.
903 * src/Makefile.am: reference the 2 new .h files.
Linus Walleij3e4b1142007-11-01 23:54:16 +0000904
Linus Walleij8f4bb042007-10-31 08:59:12 +00009052007-10-31 Linus Walleij <triad@df.lth.se>
906
907 * src/ptp.c: bring cache handling into this file.
908 * src/ptp.h: dito.
909 * src/libmtp.c: consequential changes.
910
Linus Walleij1a673de2007-10-29 23:10:05 +00009112007-10-30 Linus Walleij <triad@df.lth.se>
912
913 * src/music-players.h: split this off as a shared file
914 between us and libgphoto2 so we get out of the syncing
915 nightmare.
Linus Walleij3e667ae2007-10-29 23:29:39 +0000916 * src/device-flags.h: split out this as well, Marcus
917 might want it.
Linus Walleij8f4bb042007-10-31 08:59:12 +0000918 * src/libusb-glue.c: consequential movement.
Linus Walleij3e667ae2007-10-29 23:29:39 +0000919 * src/libmtp.c: reference new flag file.
Linus Walleij0b89a7e2007-10-30 22:21:15 +0000920 * src/ptp.c: sync in upstream.
921 * src/ptp.h: dito.
Linus Walleij1a673de2007-10-29 23:10:05 +0000922
Linus Walleij08c90082007-10-25 20:29:53 +00009232007-10-25 Linus Walleij <triad@df.lth.se>
924
925 * Release 0.2.3. Nice bunch of cleaned-up code, sad we had
926 too bump soversion but such is life.
927
Linus Walleijfb28b632007-10-23 21:56:18 +00009282007-10-23 Linus Walleij <triad@df.lth.se>
929
930 * src/libmtp.c: make LIBMTP_Send_File_From_File_Descriptor()
931 survive the case where device->storage is NULL. This happens
932 on the Nokia 3110c.
933
Linus Walleij7752b952007-10-19 20:11:46 +00009342007-10-19 Linus Walleij <triad@df.lth.se>
935
936 * src/libmtp.c: bring the cache handling code together at the
937 end of the file, refactor so as to avoid code duplication,
Linus Walleij4d0deea2007-10-19 21:27:48 +0000938 do things in one place only and looking good. Get folder
939 list recursively instead, this works better with fast dir
940 retrieveal I think.
Linus Walleij7752b952007-10-19 20:11:46 +0000941
Linus Walleij26d42da2007-10-18 14:02:02 +00009422007-10-18 Linus Walleij <triad@df.lth.se>
943
944 * src/libmtp.c: fix the deletion of cached properties when
945 removing objects. This code was seriously broken.
946
jefferaida9687e2007-10-16 16:44:15 +00009472007-10-16 Jeff Mitchell <kde-dev@emailgoeshere.com>
948
Linus Walleijc5908a02007-10-16 20:42:08 +0000949 * src/libusb-glue.c: remove the previously-concatenated vendor
950 and product string "name" field as it's now redundant
951 * src/Makefile.am: interface to libmtp.so.7.0.0 (incompatible,
952 device_entry_struct members changed)
953 * examples/hotplug.c: port to use vendor and product instead of
954 name, also some useful commenting in the fdi file
jefferaida9687e2007-10-16 16:44:15 +0000955
Linus Walleij06542122007-10-14 22:13:48 +00009562007-10-15 Linus Walleij <triad@df.lth.se>
957
958 * src/libusb-glue.c: repair headers, don't just ignore them.
Linus Walleijf9267e92007-10-15 21:07:37 +0000959 Add support for broken set object proplist devices. Motorola
960 RAZR2 V8 has this problem.
961 * src/libusb-glue.h: flag for broken set object proplist.
962 * libmtp.c: avoid broken set object proplist.
Linus Walleij06542122007-10-14 22:13:48 +0000963
jefferaida9687e2007-10-16 16:44:15 +00009642007-10-09 Jeff Mitchell <kde-dev@emailgoeshere.com>
965
Linus Walleijc5908a02007-10-16 20:42:08 +0000966 * src/libusb-glue.c: add separate vendor and product strings
967 in device entry structs
jefferaida9687e2007-10-16 16:44:15 +0000968 * src/libmtp.h.in: update device entry structs to reflect this
969
Linus Walleija91f8892007-10-04 21:25:22 +00009702007-10-04 Linus Walleij <triad@df.lth.se>
971
972 * src/libusb-glue.c: rm some pointless confusing defines
973 inherited from libgphoto2.
Linus Walleij2ec6ff52007-10-04 22:20:43 +0000974 * configure.ac: bump to 0.2.2
975 * src/Makefile.am: interface to libmtp.so.6.0.2 (compatible)
976 * Release as 0.2.2. Now is as good time as ever. Release
977 early and release often.
Linus Walleija91f8892007-10-04 21:25:22 +0000978
Linus Walleij41e75b22007-10-03 21:58:06 +00009792007-10-03 Linus Walleij <triad@df.lth.se>
980
981 * src/libusb-glue.c: tag the OLD Creative devices with
982 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL, after clear
983 indications that it was broken when retrieveing folders
984 on all those devices. The newer devices (those supporting
985 32bit object size) presumably does not have this limitation.
986
Linus Walleijca2a1702007-10-02 20:41:45 +00009872007-10-02 Linus Walleij <triad@df.lth.se>
988
989 * src/libmtp.c: devices which represented file size with a
990 32bit value (some Creative devices) would return a bananas
Linus Walleij1d877372007-10-02 21:21:57 +0000991 file size. Fixed it up by...
992 * src/libmtp.h.in: recycling the uint8_t "interface"
Linus Walleijddaba2f2007-10-02 21:20:30 +0000993 field in the device struct as a holder of the object size
994 for the device. This will make the new library binary
995 compatible with version 0.2.1 since no-one should *ever*
996 dereference that value (which used to be the USB interface
997 number and is now the object size).
Linus Walleijca2a1702007-10-02 20:41:45 +0000998 * examples/files.c: display 64bit file sizes in hex correctly.
999
Richard Low99a93e82007-09-29 08:16:08 +000010002007-09-29 Richard Low <richard@wentnet.com>
1001
1002 * src/libmtp.c: avoid crash on failed connect
1003
Linus Walleij8e3af002007-09-28 19:21:54 +000010042007-09-28 Linus Walleij <triad@df.lth.se>
1005
1006 * src/libusb-glue.h: introduce a new device flag for devices that
1007 have broken PTP headers, first encountered on the Creative
1008 ZEN 8GB.
1009 * src/libusb-glue.c: attempt to begin to work around the broken
1010 PTP headers.
1011
Linus Walleij29f03ba2007-09-25 19:22:12 +000010122007-09-25 Linus Walleij <triad@df.lth.se>
1013
1014 * src/libusb-glue.h: add a new device flag for devices that don't
1015 like it if you release the interface (or try to clear endpoints).
1016 * src/libusb-glue.c: dito, implement this flag, tag all SanDisk
1017 Sansa devices with it except for the Linux-based Sansa Connect.
1018
Richard Low61edc1a2007-09-23 10:35:48 +000010192007-09-23 Richard Low <richard@wentnet.com>
1020
1021 * src/libusb-glue.c: updated some device flags, removed second
1022 call to ptp_getdeviceinfo
1023 * src/libmtp.c: property cache fixes
1024
Linus Walleij7783b9b2007-09-22 22:10:44 +000010252007-09-23 Linus Walleij <triad@df.lth.se>
1026
1027 * src/libmtp.c: wrapped updating of playlists and albums into an
1028 abstract function so we do it consistently. Added support for
1029 tagging on modification date to files, tracks, playlists and
1030 albums.
1031
Linus Walleij580aff72007-09-21 13:02:19 +000010322007-09-21 Linus Walleij <triad@df.lth.se>
1033
1034 * src/libusb-glue.c: flag the Samsung YH-820 with
1035 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL after tests by Stephan
1036 Fabel.
1037
Linus Walleijda17cda2007-09-18 21:12:05 +000010382007-09-18 Linus Walleij <triad@df.lth.se>
1039
1040 * src/libusb-glue.c: stop the endpoint unhalting/unstalling when
1041 closing the USB device. It was AYBABTU the Samsungs
1042 (and others).
1043
Linus Walleij724f0102007-09-17 20:10:12 +000010442007-09-17 Linus Walleij <triad@df.lth.se>
1045
1046 * src/libusb-glue.c: silenced weirdo error message.
1047
Linus Walleijb644b412007-09-16 21:46:02 +000010482007-09-16 Linus Walleij <triad@df.lth.se>
1049
1050 * src/ptp.c: cancellation working *as it should*
1051 * src/ptp.h: dito.
1052 * src/libusb-glue.c: dito.
1053 * src/libusb-glue.h: dito.
1054 * src/libmtp.c: dito.
1055 * src/libmtp.h.in: new error code for cancellation.
1056
Richard Lowe9f205f2007-09-16 16:25:50 +000010572007-09-16 Richard Low <richard@wentnet.com>
1058
1059 * src/libusb-glue.c: only read descriptors for devices we
1060 don't know since it breaks on some devices
Richard Lowd7bcab52007-09-16 16:30:20 +00001061 * src/libmtp.c: a couple of bugs fixed in metadata retreival
Richard Lowe9f205f2007-09-16 16:25:50 +00001062
Linus Walleij3e418e22007-09-15 20:30:14 +000010632007-09-15 Linus Walleij <triad@df.lth.se>
1064
1065 * src/ptp.c: get cancellation of xfers working.
1066 * src/libusb-glue.c: dito.
1067 * src/libusb-glue.h: dito.
1068 * src/libmtp.c: dito.
1069
Linus Walleijf43558d2007-09-14 17:59:20 +000010702007-09-14 Linus Walleij <triad@df.lth.se>
1071
1072 * src/ptp.h: sync in upstream to get cancellation prototypes.
Linus Walleijbd3bf9e2007-09-14 19:31:54 +00001073 * src/libusb-glue.c: first try to implement cancellation.
Linus Walleij997d3ec2007-09-14 21:29:54 +00001074 * src/libmtp.c: dito. Bugfix to one of Marcus' realloc():s.
Linus Walleijf43558d2007-09-14 17:59:20 +00001075
Linus Walleij1e9a0332007-09-12 19:35:56 +000010762007-09-12 Marcus Meissner <meissner@suse.de>
1077
1078 * src/ptp-pack.c: sync to upstream, rewrote packing to use
1079 a static array to be qsort():ed when reading in proplists.
1080 * src/ptp.c: reflect changes.
1081 * src/ptp.h: reflect changes.
1082 * src/libmtp.c: reflect changes.
1083
Linus Walleij71b8c0f2007-09-06 09:09:14 +000010842007-09-06 Linus Walleij <triad@df.lth.se>
1085
1086 * examples/hotplug.c: edit up into a udev ruleset that is
1087 inexorably complicated but probably compatible with most
1088 udev versions out there. Now please DON'T update udev
1089 styles again!
1090
Richard Low17cec172007-09-05 20:43:51 +000010912007-09-05 Richard Low <richard@wentnet.com>
1092
1093 * src/libmtp.c: album fixups
1094
Linus Walleij50d47a52007-09-05 07:59:40 +000010952007-09-05 Linus Walleij <triad@df.lth.se>
1096
1097 * examples/hotplug.c: use old udev style by default, use new
1098 if requested explicitly by a -U switch.
1099
Linus Walleij6bf68b42007-09-03 22:50:02 +000011002007-09-04 Linus Walleij <triad@df.lth.se>
1101
1102 * src/libmtp.c: make sure we query recursively supplying each
1103 storage ID in turn, so we spin over storages. Also check
1104 what storage may be available to store a file, if the first
1105 one fails, try the next!
1106
Linus Walleija0b7d042007-08-31 23:57:31 +000011072007-09-01 Linus Walleij <triad@df.lth.se>
1108
1109 * src/ptp-pack.c: make the resulting MTP proplist sorted by
1110 object ID.
Linus Walleij70ac9772007-09-01 18:59:28 +00001111 * hotplug.sh.in: explicitly call BASH instead of just sh. Warn
1112 if script is not run as root.
Linus Walleija0b7d042007-08-31 23:57:31 +00001113
Linus Walleijf4592072007-08-29 10:19:25 +000011142007-08-29 Linus Walleij <triad@df.lth.se>
1115
1116 * examples/Makefile.am: move include define from AM_CFLAGS to
1117 AM_CPPFLAGS (as it should be) bug found by Petar Petrov
1118 <pesho.petrov@gmail.com>.
Linus Walleijb0ab5482007-08-29 21:08:54 +00001119 * src/libusb-glue.c: strange misleading message corrected. Fix
1120 up the horrid interface passing back-and-forward and confusing.
1121 * src/libusb-glue.h: dito.
1122 * src/libmtp.c: rid interface references, that's a USB issue!
1123 * src/libmtp.h.in: flag interface number in device struct as retired.
Linus Walleijf4592072007-08-29 10:19:25 +00001124
Linus Walleij1b87ea72007-08-28 07:53:09 +000011252007-08-28 Linus Walleij <triad@df.lth.se>
1126
1127 * src/libmtp.c: retire the horrid, broken, stream send facility that
1128 does not work on any device since they all want to know the file
Linus Walleij8533bf72007-08-28 10:03:59 +00001129 size in advance. Add in some code to fall back on the recursive
1130 metadata retrieveal if getting the whole long list fails.
Linus Walleij6d0cf972007-08-28 09:48:19 +00001131 * src/libusb-glue.c: tag all Sansas as having broken GetObjectPropList
Linus Walleijc4108242007-08-28 20:38:27 +00001132 when all tags for all objects are requested. Scan each INTERFACE
1133 of the device for device descriptors.
Linus Walleij1b87ea72007-08-28 07:53:09 +00001134
Linus Walleijd3b78572007-08-24 21:28:24 +000011352007-08-24 Linus Walleij <triad@df.lth.se>
1136
1137 * src/libusb-glue.h: new device flag to strip all non-7bit chars from
1138 filenames on some lame devices.
1139 * src/libusb-glue.c: tag the Philips Shoqbox with this flag.
1140 * src/libmtp.c: strip the non-7bit chars from filenames if that
1141 flag is set.
1142 * src/unicode.h: introduce a 7bit-strip helper function.
1143 * src/unicode.c: dito.
1144
Linus Walleij29559562007-08-22 21:38:04 +000011452007-08-22 Linus Walleij <triad@df.lth.se>
1146
1147 * src/libmtp.c: deal with setting of metadata sets for u16/u32:s that
1148 are ranges or enums, rounding and twiddling if need be. This is
1149 needed because some new devices (like the TrekStor Sweez,
1150 has duration defined as a range: MIN 0, MAX 65535000, STEP 1
1151 and Sandisk Sansa c240 has duration as range: MIN 0, MAX 2147483000,
1152 STEP 1000) whereas old devices would just accept any value.
1153
Richard Lowd47b9212007-08-16 21:14:23 +000011542007-08-16 Richard Low <richard@wentnet.com>
1155
1156 * src/ptp-pack.c: allow packing of NULL strings
1157
rreardon21a3a9d2007-08-15 10:56:31 +000011582007-08-15 Robert Reardon <rreardon@monkshatch.vispa.com>
1159
1160 * src/libmtp.c: return device max values for representative
rreardon65b47322007-08-15 15:17:54 +00001161 samples.
rreardon21a3a9d2007-08-15 10:56:31 +00001162
Richard Low92cb2692007-08-15 09:35:23 +000011632007-08-15 Richard Low <richard@wentnet.com>
1164
1165 * src/libusb-glue.c: added Philips Shoqbox
1166
Linus Walleij53c5f4e2007-08-13 08:27:58 +000011672007-08-13 Linus Walleij <triad@df.lth.se>
1168
1169 * src/ptp.c: sync to upstream.
1170
Linus Walleijdb906232007-08-07 15:59:09 +000011712007-08-07 Linus Walleij <triad@df.lth.se>
1172
1173 * configure.ac: bump to 0.2.1.
1174 * src/Makefile.am: interface to libmtp.so.6.0.1.
1175 * Release libmtp 0.2.1!
1176
Linus Walleijdbcc8242007-08-05 22:31:26 +000011772007-08-06 Linus Walleij <triad@df.lth.se>
1178
Linus Walleije23000a2007-08-06 20:47:17 +00001179 * configure.ac: tag on the large file support compilation flag.
Linus Walleij07795772007-08-06 18:44:06 +00001180 * src/libmtp.c: smack up the data file transfer function so it
1181 works again and *finally* should support 64bit sizes!
Linus Walleijd2778d12007-08-06 19:24:58 +00001182 Then wrapped the track sending function around the file
1183 sending function so there is no more pointless code duplication
Linus Walleij05358382007-08-06 20:46:35 +00001184 giving rise to ever more bugs. Enable LFS, Large File Support so
1185 we can handle 64bit files properly.
1186 * examples/sendtr.c: shape up print-outs, LFS support.
Linus Walleijd2778d12007-08-06 19:24:58 +00001187 * examples/sendfile.c: dito.
Linus Walleij07795772007-08-06 18:44:06 +00001188
11892007-08-06 Linus Walleij <triad@df.lth.se>
1190
Linus Walleijdbcc8242007-08-05 22:31:26 +00001191 * src/ptp.c: fixed a stray error print bug.
1192 * src/libmtp.c: overhaul of all proplist setting to follow the same
1193 design pattern. Probably fixed a few opd memory leaks along the road.
1194
Richard Lowfd86bd12007-08-05 09:41:06 +000011952007-08-05 Richard Low <richard@wentnet.com>
1196
1197 * src/libmtp.c: send 64 bit filesize
1198
Linus Walleijd9d28d52007-08-04 19:01:18 +000011992007-08-04 Linus Walleij <triad@df.lth.se>
1200
1201 * src/libmtp.c: fix up the 64bit filesize and tracksize support.
1202 There were some bugs...
Linus Walleij529d08f2007-08-04 19:20:00 +00001203 * src/Makefile.am: tweak interface revision so that we produce
1204 libmtp.so.6 now.
1205 * configure.ac: bump library revision to 0.2.0.
Linus Walleij2f049902007-08-04 20:02:39 +00001206 * examples/hotplug.c: switch to use ATTR{} instead of SYSFS{}
Linus Walleijdbcc8242007-08-05 22:31:26 +00001207 * Release libmtp 0.2.0!
Linus Walleijd9d28d52007-08-04 19:01:18 +00001208
Richard Low25bf8002007-08-04 08:36:53 +000012092007-08-04 Richard Low <richard@wentnet.com>
1210
1211 * src/libusb-glue.c: add Sansa m240 (a different ID to before)
1212 Give the Toshiba Gigabeat S
1213 DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL.
1214
12152007-08-03 Marcus Meissner <meissner@suse.de>
Linus Walleij960ebb62007-08-03 21:38:34 +00001216
1217 * m4/byteorder.m4: byteorder fixes.
1218
Richard Lowcc265902007-07-30 20:14:12 +000012192007-07-30 Richard Low <richard@wentnet.com>
1220
1221 * src/ptp-pack.c: fix up array packing
1222
Linus Walleijabf54752007-07-30 19:51:54 +000012232007-07-30 Linus Walleij <triad@df.lth.se>
1224
1225 * src/ptp-pack.c: try to get a uniform 64 bit
1226 support, use some old macro code.
1227
Richard Lowc3f5fc32007-07-29 09:40:50 +000012282007-07-29 Richard Low <richard@wentnet.com>
1229
1230 * src/libmtp.c: 64 bit filesize support for tracks
1231 * src/ptp-pack.c: ditto
1232 * src/ptp.h: ditto
1233
Richard Low39a147a2007-07-27 20:18:01 +000012342007-07-27 Richard Low <richard@wentnet.com>
1235
1236 * src/libmtp.c: Some better NULL checks
1237
Linus Walleijc51a4312007-07-27 06:28:39 +000012382007-07-27 Linus Walleij <triad@df.lth.se>
1239
1240 * examples/hotplug.c: changed subsystem from "usb_device"
1241 to "usb". Presumably a change in the kernel some time ago.
1242
Richard Lowbd14bf42007-07-21 11:25:11 +000012432007-07-21 Richard Low <richard@wentnet.com>
1244
1245 * src/libmtp.c: Correctly bail out of LIBMTP_Get_Storage
1246
Linus Walleij5d533bb2007-07-17 21:48:57 +000012472007-07-17 Linus Walleij <triad@df.lth.se>
1248
1249 * examples/reset.c: Add a device reset program.
1250 * src/libmtp.c: Add reset command.
1251 * src/ptp.c: dito, and sync in upstream changes.
1252 * src/ptp.h: dito, and sync in upstream changes.
1253 * src/ptp-pack.c: sync in upstream changes.
1254
Richard Low0fa83522007-07-17 20:05:08 +000012552007-07-17 Richard Low <richard@wentnet.com>
1256
1257 * src/libmtp.c: Added some more (paranoid) NULL checks
1258
Richard Low8e8d9d42007-07-14 10:36:50 +000012592007-07-14 Richard Low <richard@wentnet.com>
1260
1261 * src/libmtp.c: Add a NULL check
1262
12632007-07-13 Richard Low <richard@wentnet.com>
Richard Low14afeb72007-07-13 19:11:56 +00001264
1265 * src/libusb-glue.c: add Disney MixMax
1266
Linus Walleij9521e2b2007-07-10 21:50:42 +000012672007-07-11 Linus Walleij <triad@df.lth.se>
1268
1269 * src/libmtp.c: put in Tero's name in the preamble.
1270 * src/libusb-glue.c: make the dump function sump out the zuper zecret
1271 devize dezcriptorz in clear text hex.
1272
Linus Walleij3e13dda2007-07-09 22:42:17 +000012732007-07-10 Linus Walleij <triad@df.lth.se>
1274
Linus Walleijc51a4312007-07-27 06:28:39 +00001275 * examples/hotplug.c: force HAL OGG support on iriver devices.
1276 They all have it! Also force for two other devices that does
1277 this.
Linus Walleij3e13dda2007-07-09 22:42:17 +00001278
Linus Walleij2b218852007-07-07 20:16:36 +000012792007-07-07 Linus Walleij <triad@df.lth.se>
1280
1281 * src/libusb-glue.h: new flag for the case when getting the object
1282 property list of all metadata for all objects is broken.
1283 * src/libusb-glue.c: tentatively tag a Philips device with this flag.
1284 * src/libmtp.c: fixed usage of returned pointers from realloc(),
1285 introduce new flag.
1286
tsaarnia3eb60a2007-07-06 17:41:30 +000012872007-07-05 Tero Saarni <tero.saarni@gmail.com>
1288
1289 * src/libmtp.c: update cache when manipulating objects instead of
1290 always flushing the whole cache.
1291
Linus Walleij338ade42007-07-03 20:44:08 +000012922007-07-03 Linus Walleij <triad@df.lth.se>
1293
1294 * src/libmtp.c: use the params->proplist metadata cache. Help
1295 rid all flush_handles() you can in order to add even more to
1296 the efficiency of the cache.
1297
Linus Walleijf0bf4372007-07-01 21:47:38 +000012982007-07-01 Linus Walleij <triad@df.lth.se>
1299
1300 * src/ptp.c: sync to upstream gPhoto source.
1301 * src/ptp.h: dito.
1302 * src/ptp-pack.c: dito.
1303 * src/libmtp.c: use the params->objectinfo object info cache to
1304 speed things up considerably. This is exactly what libgphoto2
1305 does so now we move closer to upstream. I believe this also
1306 fixes quite a few memory leaks because we weren't freeing the
1307 strings inside the objectinfo previously.
1308
Linus Walleije60d56b2007-05-28 22:13:12 +000013092007-05-29 Linus Walleij <triad@df.lth.se>
1310
1311 * src/libmtp.c: use the set object prop list command to set album
1312 props if available. Follow metadata set design pattern used for
1313 tracks; check first if the object type can set name/artist/genre.
1314
jefferaida9687e2007-10-16 16:44:15 +000013152007-05-24 Jeff Mitchell <kde-dev@emailgoeshere.com>
jefferaif28f2a12007-05-24 23:07:41 +00001316
Linus Walleije60d56b2007-05-28 22:13:12 +00001317 * hotplug.sh.in: Properly install the HAL FDI rules if
jefferaie3f1bba2007-05-24 23:27:13 +00001318 the user so chooses to when prompted.
1319
jefferaida9687e2007-10-16 16:44:15 +000013202007-05-24 Jeff Mitchell <kde-dev@emailgoeshere.com>
jefferaie3f1bba2007-05-24 23:27:13 +00001321
Linus Walleije60d56b2007-05-28 22:13:12 +00001322 * examples/hotplug.c: Fix/update HAL output to conform
jefferaif28f2a12007-05-24 23:07:41 +00001323 to new specs. Fix whitespacing to be consistent.
1324
Richard Low34a624a2007-05-17 12:32:35 +000013252007-05-17 Richard Low <richard@wentnet.com>
1326
1327 * src/libusb-glue.c: added Samsung YH-920
1328
Linus Walleij99466e32007-05-11 21:42:53 +000013292007-05-11 Linus Walleij <triad@df.lth.se>
1330
1331 * examples/hotplug.c: output a usb.ids map if need be.
1332 * sync-usbids.sh: script to assist in comparing our device
1333 database to the linux-usb database so we can submit new
1334 entries to it more easily. Please extend this until it
1335 creates automated diff:s if you can!
1336
Linus Walleij229b24b2007-05-09 22:10:55 +000013372007-05-10 Linus Walleij <triad@df.lth.se>
1338
1339 * src/libusb-glue.c: some new devices, some rewording etc.
1340
Linus Walleij4fa9d5e2007-05-05 20:35:56 +000013412007-05-05 Linus Walleij <triad@df.lth.se>
1342
1343 * src/libusb-glue.h: removed the DUALMODE flag, it's pointless and
1344 equal to the problem solved by the UNLOAD_DRIVER flag.
1345 * src/libusb-glue.c: dito, move the only DUALMODE flag into an
Linus Walleij1327a852007-05-06 19:47:38 +00001346 UNLOAD_DRIVER flag. Added Archos Gmini.
Linus Walleij4fa9d5e2007-05-05 20:35:56 +00001347
Richard Low6711f442007-05-05 19:00:59 +000013482007-05-05 Richard Low <richard@wentnet.com>
1349
1350 * src/libusb-glue.c: added Philips PSA610
1351 * src/libmtp.c: code to recursively get object handles for each
1352 assoc.
Linus Walleij4fa9d5e2007-05-05 20:35:56 +00001353 * src/ptp.h: ditto
Richard Low6711f442007-05-05 19:00:59 +00001354
Richard Low1869d272007-04-28 13:55:17 +000013552007-04-28 Richard Low <richard@wentnet.com>
1356
1357 * src/libusb-glue.c: new device
1358
Linus Walleijeccaae02007-04-26 08:19:03 +000013592007-04-26 Linus Walleij <triad@df.lth.se>
1360
Linus Walleij4fa9d5e2007-05-05 20:35:56 +00001361 * src/libusb-glue.c: memory leak: dangling, unused pointer killed.
Linus Walleijeccaae02007-04-26 08:19:03 +00001362
Linus Walleijadce4a52007-04-23 07:28:11 +000013632007-04-23 Linus Walleij <triad@df.lth.se>
1364
1365 * src/libmtp.h.in: extend LIBMTP_album_t to include fields for
1366 artist and genre. This is sort of required so we must change
1367 the API to have it working properly.
1368 * src/libmtp.c: dito. Reflect changes in implementation.
1369
Linus Walleij953504f2007-04-18 19:01:11 +000013702007-04-18 Linus Walleij <triad@df.lth.se>
1371
1372 * src/ptp.c: sync to upstream gPhoto source.
1373 * src/ptp.h: dito.
1374
Richard Low3637e1a2007-04-17 21:25:10 +000013752007-04-17 Richard Low <richard@wentnet.com>
1376
1377 * src/libusb-glue.c: new device
1378
Richard Low856f3452007-04-13 11:21:26 +000013792007-04-13 Richard Low <richard@wentnet.com>
1380
1381 * src/libusb-glue.c: new devices
1382
Linus Walleijfd531632007-04-12 19:49:58 +000013832007-04-12 Linus Walleij <triad@df.lth.se>
1384
1385 * examples/hotplug.c: fix GOTO style in udev map.
1386
Linus Walleije73f74a2007-04-02 08:51:35 +000013872007-04-02 Linus Walleij <triad@df.lth.se>
1388
1389 * examples/files.c: some WIN32 64bit prefix fixup.
1390 * examples/tracks.c: dito.
1391
tedbullockcd9f4992007-03-29 06:00:40 +000013922007-03-28 Ted Bullock <tbullock@canada.com>
1393
Linus Walleije73f74a2007-04-02 08:51:35 +00001394 * examples/*.c: Print library version number on execution of examples.
1395 * src/libmtp.h.in: New version number string to aid version echoing.
tedbullockcd9f4992007-03-29 06:00:40 +00001396
Linus Walleij3968f362007-03-26 19:50:05 +000013972007-03-26 Linus Walleij <triad@df.lth.se>
1398
1399 * configure.ac: bump version to 0.1.5, release 0.1.5!
1400 * src/Makefile.am: bump lib interface revision to libmtp.so.5.2.1,
1401 backwards compatible to libmtp.so.5.
1402
Richard Low057ea772007-03-24 13:37:38 +000014032007-03-24 Richard Low <richard@wentnet.com>
1404
1405 * src/libusb-glue.c: fixed bug in zero read code
1406
Linus Walleije7df6532007-03-23 08:20:06 +000014072007-03-23 Linus Walleij <triad@df.lth.se>
1408
1409 * src/libmtp.c: refactored MTP property list handling code to make
1410 things simple. Removed the flag for MTP enhanced: there are devices
Linus Walleij3968f362007-03-26 19:50:05 +00001411 that will not work without MTP enhanced (for example the Samsung
1412 YP-K5 will only support setting object property lists, not
1413 individual object properties, leaving out parts of the MTP basic
1414 subset), thus we are allowed to reverse-engineer and implement this
1415 for interoperability. I also made the output from
1416 LIBMTP_Dump_Device_Info() considerably more verbose, plotting out
1417 the ranges and possible enumerated values of all object properties.
1418 For example you can see that the secret values associated with
1419 Audible.com property 0xda01 is an enumerated value that can be
1420 2, 3 or 4 (etc).
Linus Walleije7df6532007-03-23 08:20:06 +00001421
Richard Low15731fe2007-03-22 20:27:20 +000014222007-03-22 Richard Low <richard@wentnet.com>
1423
1424 * src/ptp.c: PTP_OC_MTP_SetObjPropList implementation
1425 * src/ptp.h: ditto
1426 * src/libmtp.c: Use PTP_OC_MTP_SetObjPropList when updating track
1427 metadata.
1428
Richard Lowbf2675c2007-03-18 18:20:26 +000014292007-03-18 Richard Low <richard@wentnet.com>
1430
1431 * src/libusb-glue.c: new devices. Some of the Samsung players may
Richard Low6c8fea42007-03-18 19:11:52 +00001432 need DEVICE_FLAG_NO_ZERO_READS to be set - I only know the YP-K5
1433 needs it.
Richard Lowbf2675c2007-03-18 18:20:26 +00001434
Linus Walleij2be40c72007-03-16 15:19:44 +000014352007-03-16 Linus Walleij <triad@df.lth.se>
1436
1437 * src/libusb-glue.h: introducing yet another device flag for the
1438 irivers bugged firmwares, this is for the Alzheimer disease that
1439 cause irivers to forget that OGG files are OGG files.
1440 * src/libmtp.c: dito.
1441 * src/libusb-glue.c: introduce this flag for all iriver devices.
1442 * examples/pathutils.c: found a (small) bug.
1443
Linus Walleijd1292842007-03-12 11:52:00 +000014442007-03-12 Linus Walleij <triad@df.lth.se>
1445
1446 * Makefile.am: cleanup patch from Rafael Laboissiere.
Linus Walleija4942fc2007-03-12 19:23:21 +00001447 * src/libusb-glue.c: refactored device detection code to
1448 immediately test if the device is in the known devices list if it
1449 does not feature a MTP device descriptor. This fixes the problem
1450 of not being able to mix devices with proper descriptors and
1451 non-detected devices.
Linus Walleijd1292842007-03-12 11:52:00 +00001452
Linus Walleijc2c96972007-03-07 08:12:31 +000014532007-03-07 Linus Walleij <triad@df.lth.se>
1454
1455 * src/libusb-glue.c: remove libgphoto2 functions that we
1456 don't use.
Linus Walleij45a86372007-03-07 09:36:19 +00001457 * src/libusb-glue.h: export the free_mtpdevice_list() function,
1458 new signature of find_usb_devices().
1459 * src/libmtp.c: shrink code, pass as list of devices instead of
1460 several huge arrays between libmtp.c and USB glue layer in
1461 libusb-glue.c using the nifty list struct defined in libusb-glue.h.
Linus Walleijd24a7ab2007-03-07 21:48:43 +00001462 * Eventually release libmtp 0.1.4.
Linus Walleijc2c96972007-03-07 08:12:31 +00001463
Linus Walleijbfcb7922007-03-06 20:14:04 +000014642007-03-06 Linus Walleij <triad@df.lth.se>
1465
1466 * src/libusb-glue.c: rewrote one more function to be
1467 non-recursive, perhaps I found the remaining bug, just
1468 cannot see that right now, will test tomorrow.
1469
Linus Walleijf27d1cd2007-03-05 14:23:00 +000014702007-03-05 Linus Walleij <triad@df.lth.se>
1471
1472 * src/libmtp.c: rewrite recursive function to linear.
1473 * src/libusb-glue.h: create a wrapper type for the
1474 device list instead of abusing the libusb device "next"
1475 field in our code.
1476 * src/libusb-glue.c: rewrite all recursive functions to
1477 linear, use wrapper objects, don't copy the libusb device
1478 struct, instead just store a pointer to it. This magically
1479 solved a bug...
1480
Linus Walleij82265222007-03-04 19:47:08 +000014812007-03-04 Linus Walleij <triad@df.lth.se>
1482
1483 * src/Makefile.am: bump library interface to libmtp.so.5.2.0
1484 backwards compatible with any libmtp.so.5 interface, for
1485 imminent libmtp 0.1.4 release.
1486
tedbullock848009b2007-03-03 23:20:12 +000014872007-03-03 Ted Bullock <tbullock@canada.com>
tedbullock36f2afb2007-03-03 22:16:44 +00001488
1489 * src/libusb-glue.c: Don't echo warnings about reading a single
Linus Walleij82265222007-03-04 19:47:08 +00001490 extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
1491 been set
tedbullock848009b2007-03-03 23:20:12 +00001492 * src/libmtp.c: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +00001493 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +00001494 * src/libmtp.h: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +00001495 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +00001496 * examples/detect.c: Use new API function to count number of devices
Linus Walleij82265222007-03-04 19:47:08 +00001497 that were detected
tedbullock36f2afb2007-03-03 22:16:44 +00001498
tedbullock848009b2007-03-03 23:20:12 +000014992007-03-03 Linus Walleij <triad@df.lth.se>
Linus Walleij049f50c2007-03-03 20:30:43 +00001500
1501 * src/libusb-glue.h: Tiresome ramblings to explain exactly what
tedbullock848009b2007-03-03 23:20:12 +00001502 the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
Linus Walleij049f50c2007-03-03 20:30:43 +00001503 means.
1504 * src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
1505 and being impressed by our ability to iron out the root cause
Linus Walleij4cec9872007-03-03 21:00:53 +00001506 of this kinda weird thing... Fix a few compile warnings.
Linus Walleij049f50c2007-03-03 20:30:43 +00001507
Richard Low4fd59d62007-03-03 16:34:37 +000015082007-03-03 Richard Low <richard@wentnet.com>
1509
1510 * src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
1511 get object prop lists for Clix since it appears to work.
1512 * src/libusb-glue.h: ditto
1513 * src/ptp.h: ditto
1514
Linus Walleij8a5b8852007-02-28 14:25:39 +000015152007-02-28 Linus Walleij <triad@df.lth.se>
1516
1517 * src/ptp.h: Upstream accepted our patch so synced it in.
1518
Linus Walleij07fde342007-02-27 06:09:46 +000015192007-02-27 Linus Walleij <triad@df.lth.se>
1520
1521 * src/ptp.c: Synced in upstream version which removes the
1522 offending line.
Linus Walleij56b037f2007-02-27 08:04:01 +00001523 * src/libmtp.c: replaces strcmp() for strcasecmp() in folder
1524 detection since Windows and some devices (such as iRivers)
1525 ignore case and user capital letters for default folders.
Linus Walleij07fde342007-02-27 06:09:46 +00001526
tedbullock6c060952007-02-26 19:07:23 +000015272007-02-22 Ted Bullock <tbullock@canada.com>
1528
Linus Walleij07fde342007-02-27 06:09:46 +00001529 * src/ptp.c: Comment out line in ptp_exit_fd_handler that was
1530 closing a file descriptor. This is not the responsibility of
1531 the PTP Layer. Defect and solution found by Rob Reardon
tedbullock6c060952007-02-26 19:07:23 +00001532
Linus Walleij304433d2007-02-26 08:02:47 +000015332007-02-26 Linus Walleij <triad@df.lth.se>
1534
Linus Walleij07fde342007-02-27 06:09:46 +00001535 * src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
1536 in the LIBMTP_Update_Track_Metadata() function, there are
1537 obviously devices that do not support this, but only
1538 PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
1539 but we haven't implemented that yet. Problems are
Linus Walleij304433d2007-02-26 08:02:47 +00001540 atleast reported correctly now.
1541
Richard Low4eb01122007-02-24 10:11:32 +000015422007-02-24 Richard Low <richard@wentnet.com>
1543
1544 * src/libusb-glue.c: Fix incorrect transfer sizes causing zero
1545 write issues
1546
Linus Walleij039d1dd2007-02-23 22:34:07 +000015472007-02-23 Linus Walleij <triad@df.lth.se>
1548
1549 * src/libmtp.c: Undeprecate getting first device code.
1550
Richard Low0f794762007-02-23 22:06:27 +000015512007-02-23 Richard Low <richard@wentnet.com>
1552
1553 * src/libmtp.c: Fix crash when no devices connected
1554
tedbullock2b45f2e2007-02-23 20:16:37 +000015552007-02-23 Ted Bullock <tbullock@canada.com>
1556
1557 * examples/detect.c: Stub out probe functionality
Richard Low0f794762007-02-23 22:06:27 +00001558 * src/libusb-glue.c: Remove old uni-device cruft code
1559 * src/libusb-glue.h: Remove old uni-device cruft code
tedbullock433d2172007-02-23 22:39:12 +00001560 * Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
1561 LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project
tedbullock2b45f2e2007-02-23 20:16:37 +00001562
tedbullock20eb8202007-02-23 00:33:36 +000015632007-02-22 Ted Bullock <tbullock@canada.com>
1564
1565 * examples/albums.c: Updated to use new multi device code
tedbullock51649202007-02-23 03:04:33 +00001566 * examples/tracks.c: Updated to use new multi device code
1567 * examples/files.c: Updated to use new multi device code
tedbullock20eb8202007-02-23 00:33:36 +00001568
tedbullocke7713642007-02-18 23:10:09 +000015692007-02-18 Ted Bullock <tbullock@canada.com>
1570
1571 * src/libmtp.c: Altered the function LIBMTP_Get_First_Device
Linus Walleij039d1dd2007-02-23 22:34:07 +00001572 to wrap around the multi device API. Also added deprecation
1573 warnings to avoid using this function
tedbullocke7713642007-02-18 23:10:09 +00001574
Richard Lowd284f072007-02-17 08:52:41 +000015752007-02-17 Richard Low <richard@wentnet.com>
1576
Richard Low02724f62007-02-17 09:47:26 +00001577 * src/libusb-glue.c: Debug output fixes and read/write sizes changed
Richard Low507e7fe2007-02-17 09:04:42 +00001578 * src/libmtp.c: memset params to 0 to avoid freeing unalloced
1579 memory
Richard Low02724f62007-02-17 09:47:26 +00001580 * src/ptp.h: read/write sizes changed
Richard Lowd284f072007-02-17 08:52:41 +00001581
rreardonbc730092007-02-15 14:32:20 +000015822007-02-15 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon34511b12007-02-15 14:27:56 +00001583
1584 * src/libmtp.c: Fix a segfault in new error handling code.
1585
Linus Walleij68b19c02007-02-15 11:50:37 +000015862007-02-15 Linus Walleij <triad@df.lth.se>
1587
1588 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +00001589 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
1590 * examples/playlists.c: LGPL boilerplate.
1591 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
1592 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
1593 Shaun, Enrique.
1594 * examples/thumb.c: LGPL boilerplate, crediting Robert.
1595 * examples/tracks.c: LGPL boilerplate.
1596 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +00001597
tedbullock69a445b2007-02-15 07:41:04 +000015982007-02-15 Ted Bullock <tbullock@canada.com>
1599
1600 * examples/folders.c: Updated to use new multi device code
1601 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +00001602 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
1603 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +00001604
tedbullock0f033cb2007-02-14 20:56:54 +000016052007-02-14 Ted Bullock <tbullock@canada.com>
1606
Linus Walleij57c2eff2007-02-15 12:02:04 +00001607 * src/libusb-glue.c: Wrote three new recursive functions to avoid
1608 extreme levels of multiple indirection and to clean the code up
1609 a bit for multiple devices.
1610 * examples/detect.c: Adjusted function calls to use new multiple
1611 device code.
tedbullock0f033cb2007-02-14 20:56:54 +00001612 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
1613
Linus Walleij2d3f7b82007-02-14 09:24:20 +000016142007-02-12 Ted Bullock <tbullock@canada.com>
1615
1616 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +00001617 LIBMTP_Get_Connected_Devices) to add support for multiple devices
1618 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +00001619 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +00001620 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +00001621 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
1622 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
1623
Linus Walleij2a1e3a42007-02-12 08:18:31 +000016242007-02-09 Ted Bullock <tbullock@canada.com>
1625
1626 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +00001627 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +00001628
Linus Walleij7b7a0e22007-02-05 18:22:27 +000016292007-02-05 Linus Walleij <triad@df.lth.se>
1630
1631 * src/libmtp.h.in: LGPL boilerplate.
1632 * src/libusb-glue.h: LGPL boilerplate.
1633 * src/unicode.h: LGPL boilerplate.
1634 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +00001635 * examples/albumart.c: LGPL boilerplate, crediting Andy.
1636 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
1637 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
1638 * examples/common.h: LGPL boilerplate.
1639 * examples/albums.c: LGPL boilerplate, crediting Chris.
1640 * examples/connect.c: LGPL boilerplate, crediting Chris.
1641 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
1642 * examples/detect.c: LGPL boilerplate.
1643 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
1644 * examples/files.c: LGPL boilerplate.
1645 * examples/folders.c: LGPL boilerplate.
1646 * examples/format.c: LGPL boilerplate.
1647 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
1648 * examples/getplaylist.c: LGPL boilerplate.
1649 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
1650 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +00001651
Linus Walleija8a19cc2007-02-02 22:13:17 +000016522007-02-02 Linus Walleij <triad@df.lth.se>
1653
1654 * src/ptp.c: sync upstream.
1655 * src/ptp.h: dito.
1656 * src/ptp-pack.c: dito.
1657 * src/libmtp.c: make changes necessary to handle
1658 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +00001659 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +00001660 clean-up functions. Fix LGPL boilerplate text.
1661 * src/unicode.c: Fix LGPL boilerplate text.
1662 * src/utils.c: Fix LGPL boilerplate text.
1663 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +00001664
Linus Walleij550d6d52007-01-24 14:32:51 +000016652007-01-24 Ted Bullock <tbullock@canada.com>
1666
1667 * src/libusb-glue.c: new function to retrieve multiple device
1668 instances.
1669 * src/libusb-glue.h: dito.
1670 * src/libmtp.h.in: new error codes.
1671
Linus Walleij070e9b42007-01-22 08:49:28 +000016722007-01-22 Linus Walleij <triad@df.lth.se>
1673
1674 * examples/albumart.c: use the new errostack.
1675 * examples/delfile.c: dito.
1676 * examples/detect.c: dito.
1677 * examples/emptyfolders.c: dito.
1678 * examples/format.c: dito.
1679 * examples/getfile.c: dito.
1680 * examples/getplaylist.c: dito.
1681 * examples/newfolder.c: dito.
1682 * examples/newplaylist.c: dito.
1683 * examples/playlists.c: dito.
1684 * examples/sendfile.c: dito.
1685 * examples/sendtr.c: dito.
1686 * examples/thumb.c: dito.
1687 * src/libmtp.c: add some errors to the stack so we can
1688 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +00001689 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
1690 function into this file cause it only return USB devices
1691 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
1692 (but let's not do that renaming since it would break the API).
1693 For now let's understand this is a USB-only function by
1694 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +00001695
16962007-01-22 Ted Bullock <tbullock@canada.com>
1697
1698 * src/libusb-glue.c: first hack at creating an interface
1699 to retrieve multiple devices.
1700 * src/libmtp.h.in: new error codes related to multiple devices.
1701
Richard Low7059ed42007-01-21 09:33:34 +000017022007-01-21 Richard Low <richard@wentnet.com>
1703
1704 * src/libusb-glue.c: more new devices
1705
Linus Walleij2715c442007-01-20 22:35:29 +000017062007-01-20 Linus Walleij <triad@df.lth.se>
1707
1708 * src/libmtp.h.in: error stack handling like in libnjb.
1709 just bare bones implementation as of now but the idea
1710 should be clearly visible. TODO: add a plethora of
1711 errors and adjust examples to make use of the error
1712 stack.
1713 * src/libmtp.c: dito.
1714
Richard Lowa98d0542007-01-20 12:31:07 +000017152007-01-20 Richard Low <richard@wentnet.com>
1716
1717 * src/libusb-glue.c: new device 'Philips PSA235'
1718
Linus Walleij85a4c032007-01-16 20:42:18 +000017192007-01-16 Linus Walleij <triad@df.lth.se>
1720
1721 * configure.ac: bump and release 0.1.3.
1722 * src/Makefile.am: bump interface REVISION. Nothing changed
1723 externally really.
1724
Linus Walleijd85d2bb2007-01-11 21:32:48 +000017252007-01-11 Linus Walleij <triad@df.lth.se>
1726
1727 * src/libmtp.sym: updated symbol table for mingw32 but does
1728 anyone use this? Also I believe one could auto-generate
1729 this some way, just haven't figured out how... Perhaps with
1730 a funky script that massage libmtp.h if nothing else.
1731
Richard Low4df32f82007-01-11 20:04:39 +000017322007-01-11 Richard Low <richard@wentnet.com>
1733
1734 * src/libusb-glue.c: a zero read fix
1735 * src/libmtp.c: fix spelling mistake
1736
Linus Walleijc49c6372007-01-09 00:18:51 +000017372007-01-09 Linus Walleij <triad@df.lth.se>
1738
1739 * src/libusb-glue.c: repair callbacks, structure the code just
1740 a little bit.
1741 * src/libmtp.c: don't assign values to writes or reads, use the
1742 PTP transport intrinsics instead.
1743
Linus Walleij15af8532007-01-07 12:45:20 +000017442007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
1745
1746 * src/ptp.h: Encoding profile.
1747 * src/ptp.c: Dito.
1748
Linus Walleij58b62792007-01-07 12:38:59 +000017492006-01-07 Linus Walleij <triad@df.lth.se>
1750
1751 * src/libusb-glue.c: (re)introduce de-halting of endpoints
1752 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +00001753 this causes problems for other archs! Problem was reported
1754 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +00001755
Linus Walleija0323272007-01-07 12:21:30 +000017562006-01-07 Marcus Meissner <meissner@suse.de>
1757
1758 * src/ptp.c: sync to upstream libgphoto2.
1759 * src/ptp.h: dito.
1760 * src/ptp-pack.c: dito.
1761 * libusb-glue.c: fixes to move low-level functions
1762 out of ptp.c and into this libmtp-specific portion.
1763 libgphoto2 has been similarly altered to use a usb.c
1764 file for the low-level stuff. (This was a long needed
1765 split anyway.)
1766
Linus Walleij58b62792007-01-07 12:38:59 +000017672007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +00001768
1769 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +00001770 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +00001771
Linus Walleij99ed83c2007-01-02 18:46:02 +000017722007-01-02 Linus Walleij <triad@df.lth.se>
1773
1774 * src/libusb-glue.c: fix up comments, remove things
1775 refering to stuff we don't have.
1776
Richard Lowb89ea942007-01-02 11:47:19 +000017772007-01-02 Richard Low <richard@wentnet.com>
1778
1779 * src/libmtp.c: another try at split headers/packet sizes
1780 * src/ptp.c: ditto
1781 * src/libusb-glue.c: ditto
1782
Linus Walleijc70a6df2007-01-01 22:19:08 +000017832007-01-01 Linus Walleij <triad@df.lth.se>
1784
1785 * src/libmtp.c: move default setting of split headers
1786 off to ptp.c open session.
1787 * src/ptp.c: dito.
1788
Richard Low021421e2007-01-01 18:08:57 +000017892007-01-01 Richard Low <richard@wentnet.com>
1790
1791 * src/libmtp.c: split headers/packet size fix
1792 * src/ptp.c: ditto
1793 * src/ptp.h: ditto
1794 * src/libusb-glue.c: ditto
1795
Linus Walleijfa2d1d12007-01-01 17:08:13 +000017962007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
1797
1798 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
1799 addition of AAVT error codes.
1800 * src/ptp.c: changes to reflect modifications done in ptp.h
1801
Linus Walleija5ab8c42006-12-31 09:25:36 +000018022006-12-31 Linus Walleij <triad@df.lth.se>
1803
1804 * configure.ac: bump to 0.1.2.
1805 * src/Makefile.am: bump interface revision. (Compatible.)
1806 * RELEASE 0.1.2.
1807
Linus Walleij02ee8802006-12-30 17:27:58 +000018082006-12-30 Linus Walleij <triad@df.lth.se>
1809
1810 * examples/pathutils.c: reflect new filetypes.
1811 * examples/sendtr.c: dito.
1812
Linus Walleij5fb47132006-12-30 15:35:48 +000018132006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
1814
1815 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
1816 codes. added more format object codes flac, m4a, 3gp, aac,
1817 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
1818 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
1819 Added more device property codes.
1820 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
1821 * src/ptp.c: added changes to reflect new extensions, object
1822 codes, device property codes.
1823 * src/libmtp.c: modified mp4 to reflect it is a container format
1824 not a codec. Added more descriptions in init_filemap(). mp4
1825 container format is ambiguous in
1826 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
1827 mp4 searched in video by default. Added comments about this.
1828 Added support for the new format object types.
1829 * src/libmtp.h.in: added constants to reflect changes to
1830 init_filemap().
1831
Richard Lowedd61832006-12-30 12:38:18 +000018322006-12-30 Richard Low <richard@wentnet.com>
1833
1834 * src/libusb-glue.c: fixed bug in debug printing
1835
Richard Lowa6c924c2006-12-29 17:44:28 +000018362006-12-29 Richard Low <richard@wentnet.com>
1837
1838 * src/libmtp.c: Made abstract list creation to be more
1839 WMP like
1840 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +00001841 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +00001842
Linus Walleij784ac3f2006-12-29 10:36:51 +000018432006-12-29 Marcus Meissner <meissner@suse.de>
1844
1845 * src/ptp.h: API changes for libgphoto2 to use the file
1846 retrieveal functions.
1847 * src/ptp.c: dito.
1848 * src/libusb-glue.c: changes in libmtp reflecting the new
1849 API for libgphoto2.
1850
Linus Walleij8609af32006-12-28 21:25:17 +000018512006-12-28 Linus Walleij <triad@df.lth.se>
1852
Linus Walleije2e21182006-12-28 22:36:59 +00001853 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +00001854 * src/Makefile.am: bump interface for release, also autotools.
1855 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +00001856
Linus Walleijd6735f72006-12-19 13:38:29 +000018572006-12-19 Matthew Wilcox <matthew@wil.cx>
1858
1859 * src/ptp.c: fix a (serious) short file bug.
1860
Richard Lowaf20b5d2006-12-17 18:00:59 +000018612006-12-17 Richard Low <richard@wentnet.com>
1862
1863 * src/libmtp.c: don't bail out on failures when setting
1864 metadata.
1865
Linus Walleij037a1252006-12-16 20:36:52 +000018662006-12-16 Linus Walleij <triad@df.lth.se>
1867
1868 * src/ptp.c: sync to upstream.
1869 * src/ptp.h: dito.
1870 * src/ptp-pack.c: dito.
1871
Linus Walleijf8491912006-12-15 10:23:30 +000018722006-12-15 Linus Walleij <triad@df.lth.se>
1873
1874 * src/libmtp.h.in: make the format function take a storage as
1875 parameter. Add comments to device storage.
1876 * src/libmtp.c: dito, fix up some code and docs.
1877 * examples/format.c: make the format command comply with
1878 the new API.
1879
Linus Walleije1ac07e2006-12-14 19:38:59 +000018802006-12-14 Linus Walleij <triad@df.lth.se>
1881
1882 * src/libmtp.c: make get_first_storage_freespace() always query
1883 the first storage when the space is requested. And some other
1884 janitorial stuff.
1885
Linus Walleijb01d18b2006-12-13 12:49:15 +000018862006-12-13 Linus Walleij <triad@df.lth.se>
1887
1888 * src/libusb-glue.c: one more device.
1889 * examples/detect.c: compilation warnings fixed.
1890
rreardon3d583062006-12-13 10:10:27 +000018912006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
1892
1893 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
1894 * src/ptp.h: ditto.
1895
Linus Walleijcd849362006-12-13 12:37:58 +000018962006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +00001897
1898 * src/libmtp.h.in: revamped storage API.
1899 * src/libmtp.c: dito.
1900 * examples/detect.c: dito.
1901
rreardon73d02c92006-12-12 16:45:30 +000019022006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +00001903
1904 * src/libmtp.c: Send_Representative_Sample() updated to
1905 set image height and width, or audio duration and size.
1906
Linus Walleijd0f67702006-12-07 09:56:46 +000019072006-12-07 Linus Walleij <triad@df.lth.se>
1908
Linus Walleija05b9802006-12-08 08:50:30 +00001909 * src/libmtp.h.in: support firmware object type. (Dangerous.)
1910 * src/libmtp.c: dito.
1911
19122006-12-07 Linus Walleij <triad@df.lth.se>
1913
Linus Walleijd0f67702006-12-07 09:56:46 +00001914 * src/libmtp.c: default text folder detection (used in Samsung
1915 Yepp T9) also add a few "My Foo" folder strings, remove the
1916 "remaining directories" kludge.
1917 * src/libmtp.h.in: default text folder.
1918
Linus Walleijf1b02f22006-12-06 09:03:23 +000019192006-12-06 Linus Walleij <triad@df.lth.se>
1920
1921 * src/libmtp.h.in: extend the respresentative sample API a bit.
1922 * src/libmtp.c: dito.
1923 * examples/albumart.c: free memory after use.
1924 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +00001925 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +00001926
Linus Walleijfdef4ae2006-12-05 16:15:51 +000019272006-12-04 Linus Walleij <triad@df.lth.se>
1928
1929 * src/ptp.c: enable split headers on sending object lists again.
1930
19312006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +00001932
1933 * src/libmtp.c: abstract Send_Representative_Sample() so
1934 it can send samples for any format that supports it
1935 * src/libmtp.h.in: same as above
1936 * examples/albumart.c: altered to use new abstract function above
1937 * example/thumb.c: sample program to upload thumbnails
1938 * example/Makefile.am: add sample thumbnail program
1939
Linus Walleijbdfaac22006-12-03 22:32:19 +000019402006-12-03 Linus Walleij <triad@df.lth.se>
1941
1942 * src/libmtp.c: check space on disk before sending
1943 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +00001944 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
1945 into LIBMTP_Send_Representative_Sample().
1946 * src/libmtp.c: dito.
1947 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +00001948
Linus Walleijfa3fbe32006-12-02 20:47:32 +000019492006-12-02 Marcus Meissner <meissner@suse.de>
1950
1951 * examples/Makefile.am: make sure symlinks really end
1952 up in the correct dir.
1953
Linus Walleij6eab3b32006-11-30 22:58:21 +000019542006-11-30 Linus Walleij <triad@df.lth.se>
1955
1956 * src/ptp.c: make Matthews patch thread-safe and fix it
1957 so it will handle more than one surplus packet.
1958 * src/ptp.h: dito.
1959
Richard Lowab0d22d2006-11-30 22:17:49 +000019602006-11-30 Richard Low <richard@wentent.com>
1961
1962 * src/libmtp.c: memset PTPObjectInfo structs to 0
1963
Linus Walleij4bf38dd2006-11-30 21:27:29 +000019642006-11-30 Matthew Wilcox <matthew@wil.cx>
1965
1966 * src/ptp.c: on some devices, surplus packet data is
1967 sometimes returned during read, i.e. a header of the
1968 next package is typically attacked to the incoming
1969 data, as if someone was sending several packets at
1970 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +00001971 * src/libusb-glue.c: revert my own mistakes by making
1972 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +00001973
Linus Walleij9901e222006-11-30 12:28:19 +000019742006-11-30 Linus Walleij <triad@df.lth.se>
1975
Linus Walleij2978f1a2006-11-30 14:00:26 +00001976 * configure.ac: this *is* gonna be libmtp 0.1.0!
1977 * src/Makefile.am: age interface to 4-0-0 to indicate that
1978 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +00001979 * src/libmtp.h.in: removed external object interface.
1980 * src/libmtp.c: dito. Made all object manipulation functions
1981 static.
1982
Richard Lowc7d48d22006-11-29 18:24:55 +000019832006-11-29 Richard Low <richard@wentnet.com>
1984
1985 * src/libusb-glue.c: added new devices
1986
Linus Walleij7beba572006-11-29 08:56:12 +000019872006-11-29 Linus Walleij <triad@df.lth.se>
1988
1989 * src/libusb-glue.c: remove some pointless #include <>
1990 clutter, call usb_set_configuration() as needed by
1991 Windows.
1992 * src/libmtp.c: various fixups to enable use of Windows
1993 <io.h> include file.
1994 * README.windows.txt: added a quick porting guide for
1995 MSVC by Farooq Zaman.
1996
Linus Walleijcf42f452006-11-28 08:32:49 +000019972006-11-28 Linus Walleij <triad@df.lth.se>
1998
1999 * src/libmtp.h.in: removed filetype mapping API. We can handle
2000 everything inside of libmtp now so no need for this.
2001 * src/libmtp.c: dito.
2002
Linus Walleij72e9c2b2006-11-28 08:14:00 +000020032006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +00002004
2005 * examples/files.c: unsigned int sized printout.
2006 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +00002007 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +00002008
Richard Low6c0a6ce2006-11-26 10:42:08 +000020092006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +00002010
Richard Low6c0a6ce2006-11-26 10:42:08 +00002011 * src/libmtp.c: object handles for proplists
2012 * src/ptp-pack.c: ditto
2013 * src/ptp.c: ditto
2014 * src/ptp.h: ditto
2015
Linus Walleijf73de152006-11-25 21:44:44 +000020162006-11-25 Marcus Meissner <marcus@jet.franken.de>
2017
2018 * examples/hotplug.c: adding HAL style XML output for
2019 the devices.
2020 * examples/Makefile.am: fixing a bug in the automake
2021 file (pathutils.h missing!)
2022 * Makefile.am: fix the problem with re-making sources
2023 (you had to run ./autogen.sh before!)
2024
Linus Walleijfe677ac2006-11-23 13:35:00 +000020252006-11-23 Linus Walleij <triad@df.lth.se>
2026
2027 * src/libusb-glue.h: add a new bug flag for devices that
2028 have broken PTP_OC_MTP_GetObjPropList implementations.
2029 * src/libusb-glue.c: state that all iRivers have this problem.
2030 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
2031 for these devices.
2032
20332006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +00002034
2035 * src/libmtp.c: set handle ids for new objects to 0 when
2036 creating new albums and playlists.
2037
Linus Walleij2f5ed5c2006-11-21 07:40:29 +000020382006-11-21 Linus Walleij <triad@df.lth.se>
2039
2040 * src/libmtp.c: enabled enhanced mode for metadata retrieval
2041 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +00002042 * src/libmtp.c: fixed the problem with sending files using
2043 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00002044
Linus Walleij277cd532006-11-20 14:57:46 +000020452006-11-20 Linus Walleij <triad@df.lth.se>
2046
2047 * src/ptp.h: sync to upstream libgphoto2
2048 * src/ptp.c: dito.
2049 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +00002050 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +00002051
20522006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +00002053
2054 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
2055 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +00002056 * examples/emptyfolders.c: new example program for pruning empty
2057 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +00002058
Linus Walleij277cd532006-11-20 14:57:46 +000020592006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +00002060
rreardonbbb4e562006-11-19 22:16:11 +00002061 * src/libmtp.c: use enhanced MTP commands to create playlists and
2062 send files
rreardon508705f2006-11-19 21:27:22 +00002063 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +00002064 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +00002065
Linus Walleijcd849362006-12-13 12:37:58 +000020662006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +00002067
2068 * src/libusb-glue.c: fix error on reconnect.
2069
Linus Walleij277cd532006-11-20 14:57:46 +000020702006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +00002071
2072 * src/ptp.c: tidy up ptp_usb_getdata
2073
Linus Walleij277cd532006-11-20 14:57:46 +000020742006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +00002075
2076 * src/libmtp.c: fixed parent handle for uploaded tracks
2077
Linus Walleij277cd532006-11-20 14:57:46 +000020782006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +00002079
2080 * src/libmtp.c: fixed up album art using enhanced commands.
2081
Linus Walleij277cd532006-11-20 14:57:46 +000020822006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +00002083
2084 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
2085 * src/ptp.c: ditto
2086 * src/ptp.h: ditto
2087 * src/ptp-pack.c: ditto
2088
Linus Walleij277cd532006-11-20 14:57:46 +000020892006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +00002090
Linus Walleijccf28ce2006-11-16 16:06:38 +00002091 * src/libmtp.c: use enhanced MTP commands to create albums and
2092 add detection of the default album folder.
2093 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +00002094
Linus Walleij277cd532006-11-20 14:57:46 +000020952006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +00002096
2097 * src/ptp-pack.c: set string buffer to correct size.
2098
Linus Walleij277cd532006-11-20 14:57:46 +000020992006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +00002100
2101 * examples/tracks.c: really use undeprecated API entry.
2102
Linus Walleij277cd532006-11-20 14:57:46 +000021032006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +00002104
2105 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +00002106 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +00002107 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +00002108 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +00002109 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +00002110 * examples/connect.c: ditto.
2111 * examples/detect.c: ditto.
2112 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +00002113 * src/ptp.c: working on getting object prop lists.
2114 * src/ptp.h: dito.
2115
Linus Walleij277cd532006-11-20 14:57:46 +000021162006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +00002117
2118 * src/libusb-glue.c: added Zen Vision W to devices
2119
Linus Walleij277cd532006-11-20 14:57:46 +000021202006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +00002121
2122 * src/libmtp.c: added checks for supported properties
2123
Linus Walleij277cd532006-11-20 14:57:46 +000021242006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +00002125
2126 * src/libmtp.c: added a check for NULL filenames in
2127 LIBMTP_Get_Folder_List.
2128
Linus Walleij99310d42006-11-01 08:29:39 +000021292006-11-01 Linus Walleij <triad@df.lth.se>
2130
2131 * src/libmtp.h.in: set/get uint8 to/from objects
2132 * src/libmtp.c: send object property list.
2133 * src/ptp.c: dito.
2134 * src/ptp.h: dito.
2135 * src/ptp-pack.c: dito.
2136
mopoke90be30e2006-10-30 08:47:41 +000021372006-10-29 Andy Kelk <andy@mopoke.co.uk>
2138
2139 * examples/albumart.c: simple tool for adding album art.
2140 * src/libmtp.c: graceful handling of players not supporting
2141 abstract album objects.
2142
Linus Walleij0c33ec02006-10-27 10:15:40 +000021432006-10-27 Linus Walleij <triad@df.lth.se>
2144
2145 * src/Makefile.am: bump library interface to reflect the new
2146 album methods.
2147 * configure.ac: bump to 0.0.22 for the next release.
2148
21492006-10-27 Andy Kelk <andy@mopoke.co.uk>
2150
2151 * src/libmtp.c: add support form abstract audio/video albums.
2152 * src/libmtp.h.in: dito.
2153
Linus Walleij7347d0f2006-10-23 07:23:39 +000021542006-10-23 Linus Walleij <triad@df.lth.se>
2155
2156 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
2157 * src/ptp.c: sync to upstream.
2158 * src/ptp.h: dito.
2159 * src/ptp-pack.c: dito.
2160
Linus Walleij9efe75f2006-10-20 09:09:45 +000021612006-10-20 Linus Walleij <triad@df.lth.se>
2162
2163 * Release 0.0.21 to get all the new device support out.
2164
Linus Walleij501ba4d2006-10-16 06:17:04 +000021652006-10-16 Linus Walleij <triad@df.lth.se>
2166
2167 * configure.ac: bump to 0.0.21.
2168 * src/libusb-glue.c: add code to unload a kernel driver for
2169 the primary interface if it is already in use under Linux.
2170 * src/libusb-glue.h: add a device flag to make this possible.
2171
Linus Walleij37253292006-10-11 08:38:14 +000021722006-10-11 Linus Walleij <triad@df.lth.se>
2173
2174 * examples/delfile.c: patch from Chris Debenham
2175 straingtening out the command-line interface a bit
2176 more.
2177
Linus Walleij43ff8fc2006-10-10 11:16:53 +000021782006-10-10 Linus Walleij <triad@df.lth.se>
2179
Linus Walleij37253292006-10-11 08:38:14 +00002180 * examples/delfile.c: patch from Chris Debenham to make
2181 this command take an optional filename as parameter
2182 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +00002183
Linus Walleij955e6ba2006-09-26 16:55:10 +000021842006-09-26 Linus Walleij <triad@df.lth.se>
2185
2186 * libmtp.pc.in: require libusb instead of just linking it.
2187 * configure.ac: bump release to 0.0.20 and release.
2188
Linus Walleijb1318d12006-09-25 14:59:26 +000021892006-09-25 Linus Walleij <triad@df.lth.se>
2190
2191 * examples/evolution-sync.sh: example script to illustrate
2192 to to transfer calendar, task and contact information
2193 to a device supporting this.
2194
Linus Walleij4ef39e62006-09-19 14:11:52 +000021952006-09-19 Linus Walleij <triad@df.lth.se>
2196
2197 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
2198 * src/libmtp.c: dito.
2199 * examples/sendfile.c: support vcard3.
2200
Linus Walleijf248fdd2006-09-16 20:11:40 +000022012006-09-16 Linus Walleij <triad@df.lth.se>
2202
2203 * configure.ac: bump to 0.0.19 and release. There are some
2204 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +00002205 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +00002206
Linus Walleijb8bfcb22006-09-13 12:14:28 +000022072006-09-13 Linus Walleij <triad@df.lth.se>
2208
2209 * examples/format.c: formatting test program.
2210 * examples.Makefile.am: added format.
2211
Linus Walleij13374a42006-09-13 11:55:30 +000022122006-09-13 Andy Kelk <andy@mopoke.co.uk>
2213
2214 * src/libmtp.h.in: added interface to format storage.
2215 * src/libmtp.c: dito.
2216 * src/ptp.c: dito.
2217 * src/ptp.h: dito.
2218
Linus Walleijd31e6192006-09-12 07:55:27 +000022192006-09-12 Linus Walleij <triad@df.lth.se>
2220
2221 * configure.ac: bump release. Released 0.0.18 yesterday.
2222 * src/libmtp.c: do not try to read battery max level unless
2223 the device supports it. (Bug occurred on Toshiba Gigabeat
2224 P10.)
2225
Linus Walleijd5d51c82006-09-11 06:57:50 +000022262006-09-11 Linus Walleij <triad@df.lth.se>
2227
2228 * src/libusb-glue.c: messed around a bit with device descriptor
2229 detection so as to bring closer to libgphoto2 detection algorithm.
2230 I've seen things that might be false positives, possibly USB mass
2231 storage devices with additional MSFT descriptors to indicate they
2232 have Janus DRM.
2233 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
2234 knows that UCS-2 is in machine endianness but Darwin and *BSD does
2235 not. Detect C library and switch accordingly.
2236 * src/unicode.c: retire old unicode code only keep things we cannot
2237 live without. Remove the own internal UCS-2 conversion engine and
2238 the internal iconv() engine and use the one already available in
2239 PTPParams.
2240 * src/unicode.h: dito.
2241
Linus Walleij0558ac52006-09-07 06:55:03 +000022422006-09-07 Linus Walleij <triad@df.lth.se>
2243
2244 * src/libusb-glue.h: added device flags so we can make
2245 the code behave differently on certain devices.
2246 * src/libusb-glue.c: dito, plus removed some debug prints.
2247 * src/libmtp.c: docs.
2248 * src/libmtp.h.in: added device_flags to device list struct.
2249 * src/Makefile.am: bumped to compatible library interface.
2250 * configure.ac: bump version to 0.0.18 (0.0.17 released
2251 yesterday).
2252
Richard Low6ec2cc12006-09-06 16:59:16 +000022532006-09-06 Richard Low <richard@wentnet.com>
2254
2255 * src/libusb-glue.c: changed packet sizes to improve
2256 transfer speeds.
2257 * src/libmtp.c: changed packet sizes to improve transfer
2258 transfer speeds. Also stopped extra ptp_getobjectinfo
2259 calls when getting directories on connect.
2260
Linus Walleij7f0c72e2006-09-06 13:01:58 +000022612006-09-06 Linus Walleij <triad@df.lth.se>
2262
2263 * src/libusb-glue.c: fixed some endpoint size detection
2264 and sending special file sizes stuff. Real hairy bug...
2265 Also messed around a bit with the callbacks.
2266 * src/libmtp.c: changes for callback size detection.
2267
Linus Walleija9310fa2006-09-04 06:47:42 +000022682006-09-04 Linus Walleij <triad@df.lth.se>
2269
2270 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
2271 instead of magic values.
2272
Linus Walleijd7aa5b22006-09-02 11:52:31 +000022732006-09-02 Linus Walleij <triad@df.lth.se>
2274
Linus Walleijcd3eb3d2006-09-02 21:33:22 +00002275 * src/libmtp.c: add some code to have
2276 LIBMTP_Send_File_From_File_Descriptor() accept a stream
2277 if size is set to (uint64_t) -1, plus documentation fixes.
2278 I don't think the streaming code will work but whoever want
2279 to experiment with it has a place to start.
2280 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +00002281
Linus Walleijda9500d2006-08-30 13:17:06 +000022822006-08-30 Linus Walleij <triad@df.lth.se>
2283
2284 * configure.ac: version bump.
2285 * src/libmtp.c: more debug prints.
2286 * src/libusb-glue.c: new iRiver device called Clix. By
2287 the way I released libmtp 0.0.16 yesterday.
2288
Linus Walleija823a702006-08-27 21:27:46 +000022892006-08-28 Linus Walleij <triad@df.lth.se>
2290
2291 * configure.ac: version bump.
2292 * src/ptp-pack.c: upstream has committed my patch giving full
2293 unicode support in libgphoto2 ptp2 camlib. No need for
2294 any more ugly workarounds, plus we now have full unicode
2295 filenames!
2296 * src/ptp.c: dito.
2297 * src/ptp.h: dito.
2298 * src/libmtp.c: revamp to use the new unicode support in
2299 libgphoto2.
2300 * src/unicode.c: remove unused functionality.
2301 * src/unicode.h: dito.
2302
Linus Walleijee73ef22006-08-27 19:56:00 +000023032006-08-27 Linus Walleij <triad@df.lth.se>
2304
2305 * configure.ac: version bump. Release all these fixes
2306 as 0.0.15.
2307 * src/libusb-glue.c: fixed sucky errors. Added callback
2308 code when reading files.
2309 * src/libusb-glue.h: const correctness.
2310 * src/libmtp.h.in: finally fixup the type on the callbacks.
2311 * src/libmtp.c: more accurate sending callbacks. Callbacks
2312 when getting files also, working correctly. Typeing of
2313 callbacks now OK.
2314 * examples/getfile.c: some display bar cosmetic fixup.
2315 * TODO: lots of the things todo are now done.
2316
Linus Walleijd214b9b2006-08-26 22:08:37 +000023172006-08-26 Linus Walleij <triad@df.lth.se>
2318
2319 * configure.ac: version bump.
2320 * src/libmtp.c: fix bug and reinstate callbacks.
2321 * src/libusb-glue.h: dito.
2322 * src/libusb-glue.c: dito.
2323
Linus Walleije7f44be2006-08-25 19:32:29 +000023242006-08-25 Linus Walleij <triad@df.lth.se>
2325
2326 * src/libmtp.c: use the new file descriptor sender function.
2327 Going to release this as 0.0.13.
2328 * src/ptp.c: upstream accepted patches synced in.
2329 * src/ptp.h: dito.
2330
Linus Walleijeab650b2006-08-21 23:26:37 +000023312006-08-22 Linus Walleij <triad@df.lth.se>
2332
Linus Walleij80d134a2006-08-22 21:41:37 +00002333 * src/libusb-glue.c: found a real nasty endpoint bug,
2334 code from libgphoto2 was assuming max packet size of
2335 512 bytes while it is 64 when a USB 2.0 device is
2336 plugged into an UHCI hub.
2337
23382006-08-22 Linus Walleij <triad@df.lth.se>
2339
Linus Walleijeab650b2006-08-21 23:26:37 +00002340 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
2341
Linus Walleij924236a2006-08-20 22:17:58 +000023422006-08-21 Linus Walleij <triad@df.lth.se>
2343
2344 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +00002345 as result of experiments by Gavin McCullagh. Upstream
2346 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +00002347 Move iconv() converters into device struct for thread
2348 safety.
Linus Walleij96c62432006-08-21 10:04:02 +00002349 * src/ptp.c: sync to upstream which merges patch to get
2350 file directly to file descriptor.
2351 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +00002352 * src/unicode.c: move iconv() converters into the device
2353 struct for thread safety.
2354 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +00002355
Linus Walleij30658792006-08-19 22:18:55 +000023562006-08-20 Linus Walleij <triad@df.lth.se>
2357
2358 * src/libmtp.h.in: set friendly name and sync partner,
2359 rename ownername to friendlyname.
2360 * src/libmtp.c: dito.
2361 * examples/detect.c: reflect changes.
2362 * src/Makefile.am: interface is incompatible so age it.
2363
Linus Walleijfae27482006-08-19 20:13:25 +000023642006-08-19 Linus Walleij <triad@df.lth.se>
2365
2366 * src/libmtp.h.in: add function to get syncronization
2367 partner for the device.
2368 * src/libmtp.c: dito.
2369 * examples/detect.c: use that function.
2370 * src/Makefile.am: backward-compatible interface bump.
2371
Linus Walleij16571dc2006-08-17 20:27:46 +000023722006-08-17 Linus Walleij <triad@df.lth.se>
2373
2374 * configure.ac: bump to 0.0.12 and require iconv.h.
2375
23762006-08-16 Linus Walleij <triad@df.lth.se>
2377
2378 * src/unicode.c: remove bigendian weirdness and switch
2379 to using iconv() instead.
2380 * src/unicode.h: dito.
2381 * src/libmtp.c: reflect changes.
2382
Linus Walleij3e188f12006-08-09 20:46:05 +000023832006-08-09 Linus Walleij <triad@df.lth.se>
2384
2385 * Release libmtp 0.0.11.
2386
Linus Walleij2eb884b2006-08-04 19:17:36 +000023872006-08-04 Linus Walleij <triad@df.lth.se>
2388
2389 * src/libmtp.c: patch from Dan Aloni to make sendfile
2390 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +00002391 * src/libusb-glue.c: patch from Andy Kelk to avoid
2392 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +00002393 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +00002394
Linus Walleijaa4b0752006-07-26 22:21:04 +000023952006-07-27 Linus Walleij <triad@df.lth.se>
2396
2397 * Release libmtp 0.0.10.
2398
Linus Walleij17b55ea2006-07-26 13:54:00 +000023992006-07-26 Linus Walleij <triad@df.lth.se>
2400
2401 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +00002402 * src/libmtp.c: only set metdata properties supported by
2403 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +00002404 * src/ptp.c: sync to upstream.
2405 * src/ptp.h: sync to upstream.
2406 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +00002407
Linus Walleijc187cb92006-06-22 17:58:13 +000024082006-06-22 Linus Walleij <triad@df.lth.se>
2409
2410 * Release libmtp 0.0.9.
2411
Linus Walleij8ab54262006-06-21 07:12:28 +000024122006-06-21 Linus Walleij <triad@df.lth.se>
2413
2414 * src/libmtp.h.in: added function to retrieve supported
2415 filetypes.
2416 * src/libmtp.c: ditto.
2417 * examples/detect.c: use that function.
2418
Linus Walleijcf223e62006-06-19 09:31:53 +000024192006-06-19 Linus Walleij <triad@df.lth.se>
2420
2421 * src/unicode.c: support all endianness, detect
2422 byte-order-mark
2423 * src/unicode.h: ditto.
2424 * src/libmtp.c: ditto.
2425 * examples/detect.c: use proper tempfile function.
2426 * src/libmtp.h.in: add some more track properties.
2427 * src/libmtp.c: ditto.
2428 * examples/tracks.c: ditto.
2429
Linus Walleij2e4b5f92006-06-16 14:00:49 +000024302006-06-16 Linus Walleij <triad@df.lth.se>
2431
2432 * src/libmtp.h.in: new interfaces for single metadata post
2433 retrieveal.
2434 * src/libmtp.c: ditto.
2435 * examples/playlists.c: display track info using the new
2436 individual track metadata retrieveal method.
2437 * examples/getplaylist.c: ditto.
2438
Linus Walleij05ccbe72006-06-13 07:46:58 +000024392006-06-13 Linus Walleij <triad@df.lth.se>
2440
2441 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +00002442 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +00002443 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +00002444 we can find them. Retrieve device secure time and cert
2445 out of sheer curiosity.
2446 * src/ptp.c: sync to libgphoto2 with my patches.
2447 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +00002448
Linus Walleij438bd7f2006-06-08 11:35:44 +000024492006-06-07 Linus Walleij <triad@df.lth.se>
2450
2451 * src/libmtp.h.in: new playlist API and refactorings.
2452 * src/libmtp.c: ditto, and refactorings.
2453 * src/unicode.h: const correctness.
2454 * src/unicode.c: ditto.
2455 * examples/playlists.c: new example program.
2456 * configure.ac: bump to 0.0.9
2457 * src/Makefile.am: bump library interface.
2458
Linus Walleij52e3ac52006-06-05 10:30:00 +000024592006-06-05 Linus Walleij <triad@df.lth.se>
2460
2461 * examples/sendtr.c: fixed annoying bug that made this
2462 program totally useless.
2463 * src/libmtp.c: cosmetics.
2464 * configure.ac: bump to 0.0.8.
2465
Linus Walleij345a3372006-06-03 20:55:25 +000024662006-06-03 Linus Walleij <triad@df.lth.se>
2467
2468 * src/libmtp.c: metadata bugs, album name and genre
2469 confused. Fixe it and released libmtp 0.0.7.
2470
Linus Walleijdc09dc02006-06-01 14:23:41 +000024712006-06-01 Linus Walleij <triad@df.lth.se>
2472
2473 * Released libmtp 0.0.6.
2474
Linus Walleij549ec4d2006-05-31 19:59:52 +000024752006-05-31 Linus Walleij <triad@df.lth.se>
2476
2477 * src/libmtp.c: fixed mapping for JPEG vs JFIF
2478 * src/libmtp.h.in: added proper type for JPEG
2479 * examples/sendfile.c: send proper JPEG type
2480
Linus Walleijd3fdd972006-05-30 15:51:37 +000024812006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
2482
2483 * src/libmtp.c: fixed a bug in update metadata due to
2484 bad use of return code.
2485 * src/libusb-glue.c: fixed a loop exiting problem with
2486 good 'ol GOTO.
2487
Linus Walleij9b1fcd92006-05-29 08:35:29 +000024882006-05-29 Linus Walleij <triad@df.lth.se>
2489
2490 * src/libusb-glue.c: one more device.
2491 * doc/examples.h: produce correct documentation.
2492 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +00002493 * src/ptp.c: sync to libgphoto2.
2494 * src/ptp.h: ditto.
2495 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +00002496 * src/libmtp.c: fixed all filetype API related functions
2497 not to use any PTP intrinsic defines at all, made all
2498 parameters to functions use the internal libmtp interface
2499 enumerations and definitions. Removed LIBMTP_Release():
2500 we can live with the memory lost during init. You're not
2501 supposed to re-initialize the device. Consequently removed
2502 the delete function that cleaned the filetype assoc list.
2503 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002504
ravelox088180b2006-05-26 23:55:40 +000025052006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
2506
2507 * src/libmtp.c: refactored object handling to be more generic
2508 * src/libmtp.h.in: ditto
2509 * examples/refactortest.c: Added simple example to use refactoring
2510 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +00002511 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
2512 for playlist handling
2513 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +00002514
Linus Walleij1fd2d272006-05-08 09:22:01 +000025152006-05-08 Linus Walleij <triad@df.lth.se>
2516
2517 * src/libmtp.h.in: add simple detection function.
2518 * src/libusb-glue.c: implement MTP "OS descriptor" for
2519 looking for MTP devices.
2520 * examples/detect.c: make it possible to do very
2521 rudimentary detection with "detect -p".
2522 * configure.ac: bump to 0.0.5.
2523
Linus Walleij685137f2006-05-07 18:09:02 +000025242006-05-07 Linus Walleij <triad@df.lth.se>
2525
2526 * COPYING: since we no longer use any parts of libptp2
2527 and only files from libgphoto2, we switch to the GNU
2528 Lesser General Public License (GNU LGPL). libptp2 is
2529 a derived work from libgphoto2, and so is libmtp, there
2530 are no remnants of libptp2 in libmtp anymore.
2531
Linus Walleij16c51f02006-05-04 13:20:22 +000025322006-05-04 Linus Walleij <triad@df.lth.se>
2533
2534 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +00002535 * src/libmtp.c: respectfully rearranged to use a filetype mapping
2536 table.
2537 * src/ptp-pack.c: real nasty unicode packing bug.
2538 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +00002539
Linus Walleijd6a49972006-05-02 08:24:54 +000025402006-05-02 Linus Walleij <triad@df.lth.se>
2541
2542 * src/libmtp.c: general shaping up for release. All track
2543 and file sending functions now respects a parent ID to be
2544 sent along with files and tracks.
2545 * src/libmtp.h.in: dito.
2546 * src/libusb-glue.c: dito.
2547 * examples/sendfile.c: interface dependency changes.
2548 * examples/sendtr.c: dito.
2549
Linus Walleijc60275a2006-04-30 10:58:11 +000025502006-04-30 Linus Walleij <triad@df.lth.se>
2551
2552 * src/ptp.c: sync upstream.
2553 * src/ptp.h: dito.
2554
Linus Walleij370c68d2006-04-27 14:19:01 +000025552006-04-27 Linus Walleij <triad@df.lth.se>
2556
2557 * examples/sendfile.c: first file sender program based
2558 on API implementation and changes by Chris Allegretta.
2559 * examples/Makefile.am: new program, new entry.
2560 * src/libmtp.c: reflect this new functionality.
2561 * src/libmtp.h.in: dito.
2562
Linus Walleijb02a0662006-04-25 08:05:09 +000025632006-04-25 Linus Walleij <triad@df.lth.se>
2564
2565 * Rebased the sources around libgphoto2 instead.
2566 This was a major revision...
2567 * src/ptp.c: imported libgphoto2 version verbatim.
2568 * src/ptp.h: imported libgphoto2 version, minor patch.
2569 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +00002570 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +00002571 * src/mtp.c: dropped, since all functions are now in ptp.c
2572 * src/mtp-pack.c: dropped, same reason.
2573 * src/mtp.h: dropped, same reason.
2574 * src/mtp-pack.h: dropped, same reason.
2575
Linus Walleije5f3ad42006-04-21 07:44:36 +000025762006-04-21 Linus Walleij <triad@df.lth.se>
2577
Linus Walleij902c0b92006-04-21 10:52:48 +00002578 * Released libmtp 0.0.3
2579 * Bumped source to 0.0.4
2580
25812006-04-21 Linus Walleij <triad@df.lth.se>
2582
Linus Walleije5f3ad42006-04-21 07:44:36 +00002583 * src/ptp-pack.c: GCC 4.x compilation patch from
2584 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00002585 * src/libusb-glue.c: New Samsung device and some
2586 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00002587 * src/ptp.h: some defines from libgphoto2 to get
2588 a bit more compatible.
2589 * src/libmtp.c: Added a folder API implementation by
2590 Dave "ravelox" Kelly.
2591 * src/libmtp.h.in: dito.
2592 * examples/folders.c: dito.
2593 * examples/newfolder.c: dito.
2594 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00002595
Linus Walleij6fd2f082006-03-28 07:19:22 +000025962006-03-28 Linus Walleij <triad@df.lth.se>
2597
2598 * m4/*: updated macros to work with GCC 4.1.0.
2599 * examples/hotplug.c: new program to create device
2600 ID lists.
2601 * libmtp.rules: now an auto-generated file.
2602 * libmtp.usermap: now an auto-generated file.
2603
Linus Walleijf6bc1782006-03-24 15:12:47 +000026042006-03-24 Linus Walleij <triad@df.lth.se>
2605
2606 * Beginning a file API, fixed some example program
2607 names and such.
2608
Linus Walleij6946ac52006-03-21 06:51:22 +000026092006-03-18 Linus Walleij <triad@df.lth.se>
2610
2611 * Fixed up callback interface to a simpler version,
2612 the old one was bloated stuff from libnjb anyway.
2613 Bump to 0.0.2.
2614
Linus Walleij9b28da32006-03-16 13:47:58 +000026152006-03-16 Linus Walleij <triad@df.lth.se>
2616
2617 * Fixed the .h file and implementation so you really only
2618 need this one .h file to interface the library.
2619
Linus Walleij80124062006-03-15 10:26:09 +000026202006-03-15 Linus Walleij <triad@df.lth.se>
2621
2622 * Added three device information retrieval functions.
2623
Linus Walleij15e344f2006-03-06 15:15:00 +000026242006-03-06 Linus Walleij <triad@df.lth.se>
2625
2626 * Moving some things around to structure the source. More
2627 will be needed...
2628
Linus Walleij93218602006-02-27 08:53:38 +000026292006-02-27 Linus Walleij <triad@df.lth.se>
2630
2631 * Release libmtp 0.0.1 so people have something to play with,
2632 what the heck. Probably saves someones day.
2633
Linus Walleij95698cd2006-02-24 10:40:40 +000026342006-02-24 Linus Walleij <triad@df.lth.se>
2635
2636 * Deltr example program to delete tracks, plus corresponding
2637 interface call.
2638
Linus Walleij17e39f72006-02-23 15:54:28 +000026392006-02-23 Linus Walleij <triad@df.lth.se>
2640
2641 * Fixed up sendtr program and metadata tagging function that is
2642 used after sending files.
2643
Linus Walleij394bbbe2006-02-22 16:10:53 +000026442006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00002645
Linus Walleij394bbbe2006-02-22 16:10:53 +00002646 * Untested gettr.c and sendtr.c programs to get and send tracks
2647 created.
2648
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000026492006-01-30 Linus Walleij <triad@df.lth.se>
2650
2651 * Created the initial GNU source directory structure.
2652 * Added the most basic files.