Home | Back
2011-01-19  Linus Walleij <triad@df.lth.se>

RETIRING THIS FILE! WE HAVE MIGRATED TO GIT WHICH
PROVIDES EASY ACCESS TO THE CHANGELOG, LETS GET RID
OF THIS ANCIENT CRUFT

2011-01-09  Linus Walleij <triad@df.lth.se>

* configure.ac: bump to 1.0.4
* src/Makefile.am: bump interface to libmtp.so.8.3.4
* Release libmtp 1.0.4

2010-12-07  Linus Walleij <triad@df.lth.se>

* configure.ac: make sure the prober only compiles for
  Linux.
* src/ptp.c: update to match upstream.
* src/ptp.h: dito.
* src/ptp-pack.c: dito.

2010-12-05  Linus Walleij <triad@df.lth.se>

* utils/mtp-probe.c: enhanced to use libmtp intrinsics
  and e.g. OS descriptor to probe new devices from
  udev.
* utils/mtp-hotplug.c: utilize mtp-probe.
* src/libmtp.h.in: add new interface used by the mtp-probe
  utility to probe a certain device in a certain bus.
* src/libusb-glue.c: introduce new function to probe a
  certain bus and device.
* examples/Makefile.am: reform the way of making all
  executable examples prefixed with "mtp-*" just set this
  name in the make target!
* configure.ac: drop the default "mtp-*" prefixing of all
  programs, instead I have renamed the executables.
* Makefile.am: install the mtp-probe script in the
  libexecdir, and FORCE this to be /lib/udev.
  We now also install the udev rules to
  $libexecdir/rules.d, which is thus also forced to
  be /lib/udev/rules.d.

2010-12-01  Linus Walleij <triad@df.lth.se>

* examples/hotplug.c: drop old udev style somewhat.
* utils/: move out mtp-hotplug into its own subdir,
  intend to put programs to probe devices here too.
* utils/mtp-hotplug.c: moved the hotplug program here.
* utils/check_mtp_device.sh: tentative script for
  checking MTP devices.
* utils/mtp-probe.c: C program intended to check if
  devices are MTP.

2010-11-24  Linus Walleij <triad@df.lth.se>

* examples/hotplug.c: set the music player environment
  variable for userspace programs watching udev output to
  determine what device is plugged in.

2010-10-31  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: only reset the device if a connection
  fails, then retry. We were resetting the device on every
  close() - not good.

2010-10-17  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: Windows file open fixes from Jelle Geerts.
* examples/sendfile.c: exit with 1 on error.
* examples/*: condensed connect subprograms to a single
  header and propagate error codes.

2010-09-18  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: NULL check on abstract lists, drop unused
  folder variable.

2010-07-25  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: if the Ogg or FLAC filetypes have been
  flagged as being stored as "unknown" and the device now
  indicates it supports them: remove the flag.
* src/libmtp.c: parse device extensions.
* src/libmtp.h.in: stack up device extensions in the
  device struct.

2010-06-19  Richard Low <richard@wentnet.com>

* src/music-players.h: add Apple devices as supported by
  PwnTunes

2010-05-23  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: don't probe HID equipment for device
  descriptors, some Kensington mice don't like that and
  there generally is not point either
* src/Makefile.am: interface libmtp.so.8.3.3
* configure.ac: libmtp 1.0.3
* Release 1.0.3

2010-05-16  Richard Low <richard@wentnet.com>

* src/libusb-glue.c: usb bus location fix for Mac and disable
  usb_set_altinterface on Mac

2010-04-25  Linus Walleij <triad@df.lth.se>

* src/ptp.c: sync to upstream.
* src/ptp.h: dito.
* src/playlist-spl.c: fix an issue with Samsung playlists disappearing
  since they were using a custom MTP type.
* src/libmtp.c: moan about PTP devices without MTP extension

2010-04-05  Linus Walleij <triad@df.lth.se>

* src/ptp.c: sync to upstream.
* src/ptp.h: dito.
* src/ptp-pack.c: dito.

2010-02-01  Linus Walleij <triad@df.lth.se>

* src/Makefile.am: interface libmtp.so.8.3.2
* configure.ac: libmtp 1.0.2
* Release 1.0.2.

2010-01-30  Linus Walleij <triad@df.lth.se>

* examples/connect.c: bad prototype for sendtrack_.
* examples/sentr.c: bad prototype.
* src/ptp.c: sync to upstream.
* src/ptp.h: dito.
* src/ptp-pack.c: dito.

2010-01-19  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: handle a root folder with a number of
  0xffffffffU (-1), even if the spec says that 0x00000000
  is the root folder. Add some warnings.
* src/libmtp.c: patch from Kevin Hester to fix the erroneous
  setting of genre or release date to NULL on some devices.
* src/libusb-glue.c: patch to fix a bug in some multithread
  contexts affecting e.g. Rhythmbox, also by Kevin Hester.
* examples/Makefile.am: fix the bad prefixing that came in
  as part of the Windows fixes. Keep $(EXEEXT).

2010-01-07  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: detect "My_Foo" default folders as well
  as "My Foo" (underscore) as well.

2010-01-01  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: we use time_t so include <time.h>

2009-12-16  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: don't complain so much about the
  response to command 2.

2009-11-30  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: bus detection fix for libusb -
  bus->location was not properly initialized.

2009-10-10  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: move debugmacros to util.h
* src/util.h: dito
* libmtp.pc.in: erroneouse Libs.private, lacking ":"

2009-09-28  Nicolas VIVIEN <nicolas@vivien.fr>

* examples/albumart.c : add d option, to enable or not debug
  ouput.
* examples/albums.c : dito.
* examples/detect.c : dito.
* src/libmtp.c : Add LIBMTP_Set_Debug function.
* src/libmtp.h.in : Add LIBMTP_Set_Debug function to API.
* src/libmtp.sym : Add LIBMTP_Set_Debug function to exported symbol.
* src/libusb-glue.h : Add LIBMTP_USB_DEBUG / LIBMTP_DATA_DEBUG macros.
* src/libusb-glue.c : Use previous macros inside of printf.
* src/playlist-spl.c : Add LIBMTP_PLST_DEBUG macro.

2009-09-25  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: some more BlackBerry fixing from
  Nicolas.
* examples/albumart.c: add p and s switches, to support
  storage and parent ID:s. (Nicolas)
* examples/newplaylist.c: dito. (Nicolas)

2009-09-23  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: patch from Nyall Dawson to make all
  filenames unique if the device requires this.
* src/libusb-glue.h: dito.
* src/device-flags.h: dito.
* src/music-players.h: dito.

2009-09-23  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: several patches from Nicolas Vivien to
  support the BlackBerry Storm.
* src/device-flags.h: add special flag for the BlackBerry
  "switch mode" command.
* src/libusb-glue.h: dito.
* src/music-players.h: tag the BlackBerry with this flag.

2009-09-21  Linus Walleij <triad@df.lth.se>

* examples/sendtr.c: patch from Andrea Grillini to support
  quiet mode operation.

2009-09-12  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: skip interfaces with != 3 endpoints
  and make sure we locate 1 bulk in, 1 bulk out and 1 interrupt
  endpoint on the interface, else SKIP IT. Based on a patch
  from Nicolas Vivien <nicolas@vivien.fr>.

2009-09-12  Linus Walleij <triad@df.lth.se>

* configure.ac: bump version to libmtp 1.0.1 and release!
* src/Makefile.am: bump soversion to libmtp.so.8.3.1

2009-09-11  Linus Walleij <triad@df.lth.se>

* src/music-players.h: tag all SONY NWZ walkmen with
  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST.

2009-08-27  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: modernize the album retrieveal functions
  so they work just as nicely as the track/playlist etc
  functions. Triggered by Nyalls excellent bug report that
  showed how libmtp tried to get "composer" info for an
  album eventhough the device didn't support it.

2009-08-27  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: bugfixes again...

2009-08-25  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: fix a bug where the metadata was cached
  twice, thx to Marcus for the patch!

2009-08-23  Linus Walleij <triad@df.lth.se>

* src/ptp.c: sync to upstream
* src/ptp.h: dito.
* src/libmtp.c: patch from Thomas Schweitzer to not use
  C++ reserved words like "private" and "new", this was
  changed to "priv" and "newlist" making C++ happy.
* src/libusb-glue.h: inclusion guard, export functions to
  C++ (whoever wants to do that...)
* src/libusb-glue.c: define USB_CLASS_PTP unless defined,
  out-commented code to detect all PTP devices as MTP
  devices as well.

2009-08-12  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: patch from Simon Berg to detect PTP
  interface descriptors.
* src/ptp.c: sync to upstream with correct MTP interface
  detection in accordance with MTP spec.
* src/ptp.h: dito.

2009-08-02  Linus Walleij <triad@df.lth.se>

* configure.ac: tag for libmtp 1.0.0!
* src/Makefile.am: bump to compatible API/ABI
  result = libmtp.so.8.3.0
* src/libmtp.c: missing flag fix from Marcus.

2009-07-24  Linus Walleij <triad@df.lth.se>

* src/device-flags.h: add a flag for unknown FLAC type.
* src/music-players.h: tag the Cowon iAudio S9 with this.
* src/libmtp.c: implement unknown FLAC type.

2009-07-24  Linus Walleij <triad@df.lth.se>

* src/music-players.h: a number of new devices.
* src/ptp.c: sync to upstream.
* src/ptp.h: sync to upstream.
* src/ptp-pack.c: sync to upstream.

2009-06-24  Linus Walleij <triad@df.lth.se>

* src/music-players.h: tag most all Samsung devices with
  the UNLOAD_DRIVER flag. Broken GET_ALL info in all
  Creative devices.

2009-06-20  Linus Walleij <triad@df.lth.se>

* examples/pathutils.c: detect VCF files too.

2009-06-15  Marcus Meissner <meissner@suse.de>

* configure.ac: use the AC_SYS_LARGEFILE macro instead
  of the ugly largefile hacks.
* src/libmtp.c: fix use of largefile back to the simple
  functions instead.
* examples/albumart.c: dito.
* examples/sendfile.c: dito.
* examples/sendtr.c: dito.
* examples/thumb.c: dito.

2009-06-15  Linus Walleij <triad@df.lth.se>

* configure.ac: some buildsystem updates.
* INSTALL: some doc updates.

2009-06-15  Marcus Meissner <meissner@suse.de>

* src/libmtp.c: synced to new libgphoto2 code.
* src/device-flags.h: dito.
* src/ptp.h: sync to upstream.
* src/ptp.c: dito.
* src/ptp-pack.c: dito.

The handles, the PTPObjectInfo and the MTP proplists
are now consolidated into "PTPObject"s.

This and abstraction and the resulting helper functions
allow implementation of easier dynamic operations like
I need for libgphoto2.

Some corner stones:

- PTPParams now contains the device flags itself.
  (from device-flags.h) This is needed due to
  ptp_object_want() needing to decide whether it can call
  GetObjPropList, and it makes it cleaner.

  So the ptp-bugs and device-flags handling are unified.

- PTPObjects are sorted by object handle. This allows binary
  search by handle.

- New generic helper functions.

  * uint16_t ptp_object_find (PTPParams *params,
    uint32_t handle, PTPObject **retob)
    binary searches the handle in the object list and returns
    a pointer to the object.

  * uint16_t ptp_object_find_or_insert (PTPParams *params,
    uint32_t handle, PTPObject **retob)
    binary searches the handle in the object list, inserts it
    if not there yet, and returns a pointer to the object.

  * uint16_t ptp_object_want (PTPParams *params, uint32_t handle,
    int want, PTPObject **retob)
    The most magic function, which does the "on demand" loading
    of objectinfos, mtp proplists (and more).
    want is a flag mask of PTPOBJECT_*_LOADED
    PTPOBJECT_OBJECTINFO_LOADED   clear
    PTPOBJECT_CANONFLAGS_LOADED   (special canon flags)
    PTPOBJECT_MTPPROPLIST_LOADED  mtp properties for this object
                                  loaded
    PTPOBJECT_DIRECTORY_LOADED    (only used by libgphoto2 currently)
    PTPOBJECT_PARENTOBJECT_LOADED this and storageid are
                                  interesting for directory based
                                  lookups
    PTPOBJECT_STORAGEID_LOADED    and can be filled out by directory
                                  loading

  * void ptp_objects_sort (PTPParams *params);
    Sort the objects list if you did any modification of your own
    on it and the order of object handles might not be linear
    anymore.

- Multiple object information loading strategies are possible.
  libmtp uses getobjecthandles() /getobjectinfo() and
  getobjectproplist() loading strategies for initial setup. This
  stays of course, it will just fill out the PTPObject array.

  libgphoto2 now uses a per-directory getobjecthandles() /
  getobjectinfo() loading approach, and I will readd the
  getobjectproplist() approach.

  It is open what you chose to use here. For libmtp the "load all
  handles at startup" is good, dynamic loading is better for
  libgphoto2.

  Only rule is: The objectlist must be in order of objecthandles!
  (ptp_object_sort()).

2009-06-02  Linus Walleij <triad@df.lth.se>

* examples/hotplug.c: change the udev match rule from
  ATTR{dev}!="?*" to ENV{MAJOR}!="?*" at the suggestion of
  Alan Jenkins, this should be faster.
* src/libusb-glue.c: include config.h (Marcus Meissner found
  this is needed when you're not using iconv().)

2009-05-09  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: include <config.h> for iconv() compatibility.
* src/unicode.c: dito. NOTE: this file needs fixing to work
  without iconv!
* src/ptp.h: sync to upstream and get all the embedded support
  for FREE!
* src/ptp.c: dito.
* src/ptp-pack.c: dito.

2009-05-06  Linus Walleij <triad@df.lth.se>

* src/ptp.h: sync to upstream.
* src/ptp.c: dito.
* src/ptp-pack.c: dito.

2009-05-06  Linus Walleij <triad@df.lth.se>

A host of Windows fixes from
Carlo Bramini <carlo_bramini@users.sourcefore.net>
With this patch everything works fine with cygwin and
Debian 5.0. Unfortunately, with MSys the "make install"
still fails at the very last actions. It happens that
everything is re-linked (strange, but not a big problem)
and for some unknown reason it loops forever when executing
"examples/hotplug > libmtp.usermap". But hopefully the
simple "make" completes without errors.

* configure.ac:
  * iconv is now detected with autotools, this makes libmtp
    linkable on cygwin too (previously it was not).
  * the presence of Microsoft LIB.EXE is checked; if it is
    absent then the MSVC libraries won't be generated.
  * Added checking for some include files not available on
    Windows: arpa/inet.h, byteswap.h, sys/uio.h.
  * Check for presence of mkstemp: a replacement has been
    written for Windows.
* examples/Makefile.am: the creation of the links failed:
  I added source path and $(EXEEXT) extension for executables.
  This is tested and working with Mingw+MSys, Cygwin, Debian 5.0.
* examples/albumart.c: include sys/uio.h only if it's available.
* examples/trexist.c: u_int32_t does not exists, into almost all
  other parts libmtp is using uint32_t so I fixed it in that
  manner. (Same for u_int64_t/uint64_t).
* examples/getfile.c: dito.
* examples/pathutils.c: dito, plus rindex() does not exist under
  Windows, we must user strrchr() instead.
* examples/pathutils.h: fixes for prototypes changes made into
  examples/pathutils.c
* examples/thumb.c: include sys/uio.h only if it's available.
* src/Makefile.am:
  * Several fixes because the check on the presence of LIB.EXE
    libmtp.sym is now prefixed by $(srcdir), this allows to
    configure libmtp outside the source tree in Windows too.
  * Libraries are put into LIBADD instead of LDFLAGS, this is the
    right place.
  * Previously the linker crashed because there was -ws2_32
    instead of -lws2_32.
* src/playlist-spl.c:
  * include sys/uio.h only if it's available.
  * include replacement for mkstemp() function.

2009-05-03  Richard Low <richard@wentnet.com>

* src/libmtp.c: add external property types just like file
  types so any property can be retrieved/set. Add function
  LIBMTP_Is_Property_Supported to determine if a property is
  supported for a given object type. Add function
  LIBMTP_Get_Allowed_Property_Values to get alowed range/enum
  of a property value. Make
  LIBMTP_Get_Representative_Sample_Format get the size parameter
  to allow us to determine the maximum size for a representative
  sample.
* src/libmtp.h.in: ditto
* src/libusb-glue.c: update to check the handler function return
  value so the handler can return PTP_ERROR_CANCEL to cancel the
  transfer.

2009-05-02 Richard Low <richard@wentnet.com>

* src/ptp-pack.c: add a NULL check

2009-04-18  Richard Low <richard@wentnet.com>

* src/ptp-pack.c: add terminating NULL character

2009-04-11  Richard Low <richard@wentnet.com>

* src/libusb-glue.c: Make get_playlist_extension return type
  const char *
* src/libusb-glue.h: ditto
* src/libusb-glue.c: In probe_device_descriptor, check to see if
  dev->config is NULL before going round the first loop
* src/libmtp.c: Add LIBMTP_Get_File_To_Handler,
  LIBMTP_Send_File_From_Handler, LIBMTP_Get_Track_To_Handler,
  LIBMTP_Send_Track_From_Handler functions to get/send files/tracks
  from/to handler functions. Add modificationdate to file and track
  structs. Add LIBMTP_FILETYPE_ALBUM and LIBMTP_FILETYPE_PLAYLIST
  filetypes.

2009-03-17  Linus Walleij <triad@df.lth.se>

* src/device-flags.h: discovered a new device that cannot even
  read out battery level but still claims to be able to. Sigh.
* src/libusb-glue.h: flag macro.
* src/music-players.h: flag the Slacker.
* src/libmtp.c: avoid battery level getting on these devices.
* configure.ac: preparing for 0.3.7.
* src/Makefile.am: preparing for 0.3.7 (libmtp.so.8.2.2)
* Release libmtp 0.3.7.

2009-03-08  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: refactored OGG extenstion check again, same
  code in three places, broke it out and made it foolproof
  (hopefully) in one single spot.

2009-03-04  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: patch from Marcus to fix an issue
  with retransmit originally reported by Florent Pillet.

2009-02-21  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: some additional NULL checks from
  Florent Pillet.

2009-02-18  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: error report from RedHat BZ
  http://bugzilla.redhat.com/show_bug.cgi?id=485627
  led to strange code for detecting anonymous OGG files
  being rewritten to handle NULL filenames and filenames
  that do not exceed 4 chars.

2009-01-30  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: store albums and playlists in the default
  music folder if no default folder for albums resp.
  playlists has been detected.

2009-01-22  Linus Walleij <triad@df.lth.se>

* configure.ac: bump to 0.3.6 and release.
* src/Makefile.am: interface bump to libmtp.so.8.2.1

2009-01-16  Linus Walleij <triad@df.lth.se>

* src/ptp.c: sync to upstream.
* src/ptp.h: dito.

2009-01-15  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: include fixes from Yuri Pankov for *BSD.
* src/playlist-spl.c: dito.
* examples/*.c: (more or less) dito.

2009-01-14  Linus Walleij <triad@df.lth.se>

* src/device-flags.h: new device flag for broken
  SendObjectPropList, as found broken in MEU202
* src/music-players.h: use the new flag.
* src/libmtp.c: implement this device flag.
* src/libusb-glue.h: dito.

2009-01-10  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: mingw32 fixes from James Ravenscroft.
* src/libmtp.c: dito. Replaced "rindex" with "strrchr"
* src/Makefile.am: dito.
* examples/albumart.c: dito.

2009-01-06  Linus Walleij <triad@df.lth.se>

* src/Makefile.am: patch from Rafael Laboissiere removing a
  build artifact in distclean.

2009-01-02  Linus Walleij <triad@df.lth.se>

* examples/connect.c: usage patch from Riley Patterson.
* examples/sendtr.c: dito. Plus only try to add track to an
  album if and only if an album name was given.
* examples/newfolder.c: real bad bug fixed, didn't even work
  due to bad args check.
* examples/sendfile.c: another bad bug...
* examples/common.h: include <config.h> not "config.h"
* src/unicode.h: no reason for this to include config.h!

2008-12-21  Linus Walleij <triad@df.lth.se>

* Release libmtp 0.3.5.

2008-12-15  Nathan Bullock <nathanbullock@gmail.com>

* src/libmtp.c: get folders to a flat list and we get O(n) searching
  instead of the previous O(n^2) algorithm!

2008-12-13  Linus Walleij <triad@df.lth.se>

* examples/detect.c: make mtp-detect dump out default-capabilities.xml
  if such a file exists on the device.
* m4/stdint.m4: update to newer macro from libgphoto2.
* m4/byteorder.m4: update to newer macro from libgphoto2.
  We find these here:
  http://gphoto.svn.sourceforge.net/viewvc/gphoto/trunk/m4/
* configure.ac: fix the renamed _stdint.h too.
* Doxyfile.in: some config option got obsolete.
* libmtp.c: start to use PTP error redirection to the libmtp error
  stack. This also makes it possible to stop the annoying debug prints.
* libusb-glue.c: dito.
* ptp.c: sync to upstream.
* ptp.h: sync to upstream.

2008-12-02  Linus Walleij <triad@df.lth.se>

* examples/util.c: another NULL check.

2008-11-25  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: fix a bug on handling folder children with an illegal
  ID of 0. Occured in the ZEN Xi-Fi in the "Recordings" folder, when
  that is created on the device.

2008-11-17  Alistair Boyle <alistair.js.boyle@gmail.com>

* configure.ac: change release to 0.3.5.
* libmtp.c: change metadata const*const to *const to allow playlist_id
  to be modified by LIBMTP_Update_Playlist. (Samsung playlists)
* libmtp.h.in: match libmtp.c

2008-11-11  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: allow for playlists with zero tracks on them,
  also in update.

2008-11-09  Linus Walleij <triad@df.lth.se>

* src/ptp.h: sync from upstream.
* src/ptp.c: sync from upstream.
* src/ptp-pack.c: sync from upstream.

2008-11-07  Linus Walleij <triad@df.lth.se>

* Release libmtp 0.3.4.
* configure.ac: let's release 0.3.4.
* src/Makefile.am: compatible API and ABI.

2008-11-05  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: fix the association type problem on
  LIBMTP_Create_Folder(). This causes folders not to
  work properly on some devices!!

2008-11-01  Linus Walleij <triad@df.lth.se>

* src/ptp.h: sync to upstream.
* src/ptp.c: sync to upstream.
* src/ptp-pack.c: introduce Richards bugfix on top of
  upstream and take advantage of the ptp_debug() function.
* src/libusb-glue.c: make ptp_debug() non-static since
  ptp-pack.c needs it.

2008-10-21  Linus Walleij <triad@df.lth.se>

* src/device-flags.h: actually the SanDisks cannot handle
  PTP_OPC_DateModified at ALL, not even as part of the
  initial update so rename the flag to something sensible.
* src/music-players.h: consequental changes.
* src/libmtp.c: disable all use of PTP_OPC_DateModified if
  flag is set, not just updates.

2008-10-16  Linus Walleij <triad@df.lth.se>

* src/device-flags.h: new flag for broken updates of
  PTP_OPC_DateModified.
* src/music-players.h: tag all SanDisk devices with this
  flag. Bug appeared in them.
* libmtp.c: avoid updating PTP_OPC_DateModified on broken
  devices.

2008-09-28  Alvin <alvinbeach@gmail.com>

* src/libmtp.c: fix several bugs in Ogg filetype support.

2008-09-26  Richard Low <richard@wentnet.com>

* src/libmtp.c: check propdesc before setting props in
  create_new_abstract_list()

2008-09-25  Linus Walleij <triad@df.lth.se>

* configure.ac: bump to 0.3.3.
* src/Makefile.am: interface to .so.8.1.0
* Release as 0.3.3.

2008-09-24  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: add new filename setting functions, patch
  from Florent Mertens <flomertens@gmail.com>.
* src/libmtp.c: implementation.
* src/playlist-spl.c: consequental changes.
* src/libmtp.sym: consequental changes.
* Fixup patch from Alvin later this day.
* Note to self: remember to bump soname to .so.8.1.0.

2008-09-23  Richard Low <richard@wentnet.com>

* src/libmtp.c: check for NULL storage
* src/libusb-glue.c: return PTP_RC_OK on zero read
* src/music-players.h: give Samsung YP-10 DEVICE_FLAG_NO_ZERO_READS

2008-09-22  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: make sure we don't try to fit a new file onto
  a ROM storage. Add some pretty-print to FourCC codecs so
  you can actually understand the enumerations.

2008-09-20  Joe Nahmias <joe@nahmias.net>

* examples/sendtr.c: added option to specify which
  storage_id the track should be copied.

2008-09-20  Linus Walleij <triad@df.lth.se>

* configure.ac: bump to 0.3.2.
* src/Makefile.am: bump to libmtp.so.8.0.2, compatible
  interface.
* Release this as 0.3.2 mainly to get the Creative fixes out.

2008-09-17  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: new helper macros from
  Alvin <alvinbeach@gmail.com> plus some docs.

2008-09-12  Linus Walleij <triad@df.lth.se>

* src/music-players.h: drop bug flags off the Creative devices.
  I am confident that the bugs they were masking have been
  fixed now.

2008-09-07  Richard Low <richard@wentnet.com>

* src/music-players.h: added Panasonic P905i

2008-09-05  Marcus Meissner <meissner@suse.de>

* src/libmtp.sym: update symbol export table.
* src/Makefile.am: fix up some magic for symbol export.

2008-09-04  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: look up the filename for playlists if the name is
  missing or not properly set. Not doing the same for albums -
  these must have proper metadata.
* src/music-players.h: more players as usual.
* examples/sendtr.c: more warnings.

2008-08-31  Linus Walleij <triad@df.lth.se>

* src/ptp.h: sync to upstream.
* src/ptp.c: sync to upstream.

2008-08-30  Chris Bagwell <chris@cnpbagwell.com>

* src/libusb-glue.c: make it possible to have per-command
  or otherwise altered timeout values for different PTP
  request/response sequences.
* src/libusb-glue.h: dito.
* src/libmtp.c: increase USB timeout to 30s when getting
  a complete track listing off the device.
* src/music-players.h: as a consequence, the Sirus Stiletto
  no longer needs any brokenness flag.

2008-08-30  Linus Walleij <triad@df.lth.se>

* src/ptp.c: sync to upstream.

2008-08-28  Linus Walleij <triad@df.lth.se>

* examples/sendtr.c: fix non-strdup():ed strings to be
  copied, patch courtesy of Juanan Pereira.

2008-08-25  Linus Walleij <triad@df.lth.se>

* src/Makefile.am: bump interface a patchlevel. (Fully
  compatible.)
* configure.ac: bump version to 0.3.1.
* Release as libmtp 0.3.1.

2008-08-18  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: some vartype and return flunkies.
* configure.ac: check for locale.h
* examples/util.c: set locale to pick up environment.

2008-08-17  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: some handling of ptp_usb_getdata()
  when passed in data size was 0xffffffffU, data
  sent in first transaction was ignored, fix by
  Rob Woolley.
* src/ptp-pack.c: sync in from upstream libgphoto2.
* src/README: move relevant stuff to README.
* README: see above.

2008-08-15  Alistair Boyle <alistair.js.boyle@gmail.com>

* src/playlist-spl.c: added handling of Samsung's
  proprietary .spl playlist format.
* src/playlist-spl.h: dito.
* src/device-flags.h: new flags for Samsung playlists.
* src/music-players.h: assign flags.
* src/libusb-glue.h: convenience macros.
* src/libmtp.c: integrate Samsung playlists.

2008-08-15  Linus Walleij <triad@df.lth.se>

* examples/Makefile.am: break out utility functions
  (currently only checklang()) to a separate file.
* examples/util.h: dito.
* examples/util.c: dito.
* examples/detect.c: dito.
* examples/sendtr.c: dito.
* examples/connect.c: dito.

2008-08-14  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: add some documentation to file and track
  listing functions to that it's clear that you have to
  inspect storage_id and parent_id in order to group files
  into storages and/or folders.

2008-07-31  Linus Walleij <triad@df.lth.se>

* src/music-players.h: several new devices and flags.

2008-06-24  Linus Walleij <triad@df.lth.se>

* TODO: updates.
* src/Makefile.am: bump interface to libmtp.so.8.0.0.
  It's NOT compatible!
* RELEASE libmtp 0.3.0 and let the apps developers have
  their apps fixed!

2008-06-22  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: removed the parenthandle argument from
  LIBMTP_Send_File_From_File(),
  LIBMTP_Send_File_From_File_Descriptor(),
  LIBMTP_Send_Track_From_File(),
  LIBMTP_Send_Track_From_File_Descriptor(),
  LIBMTP_Create_New_Playlist() and
  LIBMTP_Create_New_Album()
  Now you must pass in parent ID from a metadata or
  filedata set. Use the respective field of the
  file, track, playlist or album struct to pass in
  a parent handle when calling these functions from
  now on. The bonus for changing your code is that you
  can now also pass in a storage_id with any metadata
  set! Consequently LIBMTP_Create_Folder() was
  altered to accept THREE metadata arguments: name,
  parent_id and storage_id. All calls to any of these
  functions in any referring code need to be altered to
  use this scheme. It should be quite self-evident for
  most code and easy to perform.
* src/libmtp.c: changed outlined above were implemented.
* examples/newfolder.c: consequental changes.
* examples/sendfile.c: consequental changes.
* examples/sendtr.c: consequental changes.
* examples/albumart.c: consequental changes.
* examples/newplaylist.c: consequental changes.
* examples/files.c: consequental changes.
* examples/tracks.c: correct misleading strings.

2008-06-15  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: only look for default folders in the
  root folder on the primary storage, even.

2008-06-14  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: only look for default folders in the
  primary storage, and only try to put files there
  if they are targetting the primary storage.

2008-06-08  Linus Walleij <triad@df.lth.se>

* configure.ac: check for the langinfo.h header.
* examples/connect.c: check charset properly.
* examples/sendtr.c: dito.
* src/music-players.h: new devices galore.

2008-06-03  Linus Walleij <triad@df.lth.se>

* src/device-flags.h: new device flag for devices that
  always need to have their device descriptor probed.
* src/music-players.h: generously add this flag to all
  SanDisk devices. The e280v2 and Fuze are known to be
  especially problematic.
* src/libusb-glue.h: helper macro.
* src/libusb-glue.c: massage "OS Descriptor" on demand
  when opening the device.
* src/music-players.h: detailed info and flags for the
  SanDisk Sansa players. More to be done, probably.

2008-06-02  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: refactor PTP_USB to use the raw
  device and its contained deviceinfo to store and
  retrieve the device flags. (This is starting to look
  object oriented...)
* src/libusb-glue.h: accessor functions to simplify
  switching on the device flags and increase the code
  readability.
* src/libmtp.c: use the new accessor functions.

2008-06-01  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: use LIBMTP_Detect_Raw_Devices() and
  LIBMTP_Open_Raw_Device() inside
  LIBMTP_Get_First_Device() refactoring. Move
  params creation into this file.
* src/libusb-glue.c: move params creation away
  from here.

2008-05-30  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: unused variable.
* examples/detect.c: switch to using raw device
  interface for opening devices.

2008-05-28  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: internally using the raw devices to
  get a list of devices.
* src/ptp.c: sync to upstream.
* src/ptp.h: dito.
* src/ptp-pack.c: dito.
* src/libmtp.h.in: move raw device detection to use
  error codes. Add interface to open a raw device!
* src/libusb-glue.h: make the old device list internal,
  use raw device in interface for configuring USB.
* src/libusb-glue.c: fix up error messages. Move the
  raw device detection interface to use error codes.
* examples/detect.c: fix up error messages. Use error
  codes for raw devices.

2008-05-23  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: after sending a file, look up the
  resulting file metadata from the cache to make sure
  that parent_id is identical to that the file actually
  gets on the device. If root folder (0) is selected, we
  hardcode thing to 0xffffffffu to be used as parent,
  but it will probably end up being 0 for example.
  Also fix an issue with ptp_mtp_getobjectproplist()
  sometimes returning a NULL pointer while still
  claiming there are props in the list.
* src/libusb-glue.h: add a function to get the preferred
  playlist extension.
* src/libusb-glue.c: "written" variable in
  ptp_usb_sendreq() may end up uninitialized if
  ptp_write_func() fails. Initialize it to 0.
  Get the prefered playlist extension.

2008-05-18  Richard Low <richard@wentnet.com>

* src/device-flags.h: added
  DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS device flag
* src/music-players.h: ditto. Also set Samsung YH-999 to
  DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL based on users
  experience.
* src/libmtp.c: added
          DEVICE_FLAG_BROKEN_SET_SAMPLE_DIMENSIONS device flag

2008-05-05  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: assign device name and flags to
  detected raw devices, slowly preparing to move to
  using the raw device detection internally as well.

2008-05-04  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: move useful filetype macros here so
  external programs can use them.
* src/libmtp.c: consequental changes.
* examples/sendtr.c: use the new macro to detect track
  content.

2008-05-03  Johannes Huber <johub1180@gmx.at>

* src/libmtp.h.in: add interface for setting album composer,
  needed for classical albums, on abstract albums.
* src/libmtp.c: implement it.
* examples/albums.c: consequental changes.
* examples/connect.c: dito.
* examples/sendtr.c: dito.
* examples/tracks.c: dito.
* AUTHORS: new contributor.

2008-04-27  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: recognize audio files as tracks, since this
  is what WMP does. (e.g. it sets playlength on movies
  to enable skip bar) also define macros for audio/video/both
  types and tidy up a bit.

2008-04-24  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: added preliminary interface for getting
  raw devices.
* src/libusb-glue.c: the implementation is all here!
* src/libusb-glue.h: add some bus and device fields to the
  internal device list.
* examples/detect.c: exercise the raw device detection code.

2008-03-26  Linus Walleij <triad@df.lth.se>

* examples/pathutils.c: fix a folder identification bug,
  courtesy of Dr Nicholas Jacobs.

2008-03-12  Linus Walleij <triad@df.lth.se>

* configure.ac: bad mailing list address. (Marcus) Bump to
  version 0.3.0.
* examples/hotplug.c: switch from using "info.bus" to
  using "info.subsystem" to identify USB events. (Marcus).
* src/libmtp.c: add parent_id to albums and playlists,
  based on a patch by Ali Shah.
* src/libmtp.h.in: dito.
* examples/playlists.c: consequental changes.
* examples/albums.c: consequental changes.
* This will be a new major revision of the API/ABI no
  matter what.

2008-03-08  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: left debug prints on :-(
* configure.ac: set to 0.2.6.1
* Release as 0.2.6.1

2008-03-02  Linus Walleij <triad@df.lth.se>

* configure.ac: prepare 0.2.6 release.
* src/Makefile.am: bump to compatible interface,
* src/ptp.c: sync in upstream, a Sansa fix!
* src/ptp.h: sync in upstream.
* doc/Doxyfile.in: retire obsoleted parameters.
* Release this as 0.2.6!

2008-02-24  Richard Low <richard@wentnet.com>

* src/music-players.h: add DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL
  for a broken Philips player.

2008-02-18  Linus Walleij <triad@df.lth.se>

* examples/pathutils.c: fix up item ID typing to uint32_t,
  handle file names passed in as arguments at suggestion from
  anonymous mail list user.
* examples/pathutils.h: move a function static.

2008-02-12  Nicolas Pennequin <nicolas.pennequin@free.fr>

* examples/sendtr.c: add transferred tracks to albums if possible.

2008-02-10  Scott Snyder <snyder@fnal.gov>

* src/libusb-glue.c: finally fix up the short header detection
  to skip over zero packets when encountered.
* examples/pathutils.c: fix a problem where all files sent has
  to include a "." (period).

2008-02-06  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: wait for response > 0 instead of > 2.

2008-01-28  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: LIBMTP_Get_Filemetadata() return metadata for
  folders (associations) too. There is really no reason why it
  shouldn't and it's good for use internally.
  LIBMTP_Get_Filelisting_With_Callback() will still not return
  any associations however. We want to use the folder functions
  for that.

2008-01-28  Linus Walleij <triad@df.lth.se>

* src/libmtp.h.in: withdraw LIBMTP_Set_Object_Parent() function,
  no known devices will support this.
* src/libmtp.c: dito. Fix up some problems with the
  LIBMTP_Set_Object_Filename() function.

2008-01-27  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: fix up some minor things and documentation on
  the object handling functions.

2008-01-27  Florent Mertens <flomertens@gmail.com>

* src/libmtp.h.in: new functions to rename object filenames
  and change object parents. Good when modifying the device
  as a file system, LIBMTP_Set_Object_Filename(),
  LIBMTP_Set_Object_Parent().
* src/libmtp.c: implementation.

2008-01-27  Linus Walleij <triad@df.lth.se>

* src/libusb-glue.c: re-read response from device until
  it atleast exceeds two bytes. This fixes a problem with
  the Samsung YP-U3 when populated with many, many songs.

2008-01-21  Richard Low <richard@wentnet.com>

* src/music-players.h: add Thomson Lyrca HC308A, remove
  incorrect ID for Creative Zen 8GB

2008-01-20  Richard Low <richard@wentnet.com>

* src/libmtp.c: add LIBMTP_Get_Representative_Sample()
* src/libmtp.h.in: ditto

2008-01-14  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: add LIBMTP_Get_Manufacturername(). Remember
  to bump soname (compatible) in 0.2.6 (or whatever we name it).
  0.3.0 perhaps?
* src/libmtp.h.in: dito.
* src/libmtp.c: detect default folders named "Datacasts" and
  "Texts".

2008-01-11  Linus Walleij <triad@df.lth.se>

* examples/pathutils.c: recognize .bin files as firmware,
  used by e.g. RockBox developers. Doesn't cost anything to
  add.

2008-01-08  Linus Walleij <triad@df.lth.se>

* configure.ac: bump to 0.2.5.
* src/Makefile.am: interface to libmtp.so.7.0.2
  (compatible).
* Release as libmtp 0.2.5. Why not?

2007-12-28  Linus Walleij <triad@df.lth.se>

* src/libmtp.c: make libmtp use PTP_OPC_AlbumArtist on albums,
  instead of the (seldom present) PTP_OPC_Artist tag. Use both
  if both are