chromium/deps/libmtp.git
2 months agoAdd LIBMTP_Get_Children() to read the list of raw IDs of a folder. master
kinaba@chromium.org [Wed, 23 Jul 2014 09:24:05 +0000 (09:24 +0000)]
Add LIBMTP_Get_Children() to read the list of raw IDs of a folder.

BUG=385307
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/365823004

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@284892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

15 months agoAdd an OWNERS file to third_party/libmtp. factory-4455.B factory-pit-4471.B firmware-leon-4389.26.B firmware-pit-4482.B firmware-wolf-4389.24.B release-R29-4319.B release-R30-4537.B stabilize-4443.B stabilize-4512.B stabilize-spring-4100.53.B toolchainB
thestig@chromium.org [Sat, 15 Jun 2013 01:51:01 +0000 (01:51 +0000)]
Add an OWNERS file to third_party/libmtp.

R=jorgelo@chromium.org

Review URL: https://codereview.chromium.org/17108008

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@206535 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoFix a leak in libmtp's LIBMTP_Release_Device().
thestig@chromium.org [Thu, 24 Jan 2013 22:27:48 +0000 (22:27 +0000)]
Fix a leak in libmtp's LIBMTP_Release_Device().
Review URL: https://codereview.chromium.org/12047095

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@178673 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agolibmtp: Fix some leaks in common code paths.
thestig@chromium.org [Thu, 24 Jan 2013 00:48:33 +0000 (00:48 +0000)]
libmtp: Fix some leaks in common code paths.
Review URL: https://codereview.chromium.org/12041060

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@178447 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agolibmtp: Rename patches/15_read_chunks.diff to patches/15_read_chunks.patch.
thestig@chromium.org [Thu, 24 Jan 2013 00:48:27 +0000 (00:48 +0000)]
libmtp: Rename patches/15_read_chunks.diff to patches/15_read_chunks.patch.
Review URL: https://codereview.chromium.org/12047064

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@178446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoAdd LIBMTP_Get_File_Chunk() to read an arbitrary amount of data into memory. The...
thestig@chromium.org [Thu, 15 Nov 2012 02:59:18 +0000 (02:59 +0000)]
Add LIBMTP_Get_File_Chunk() to read an arbitrary amount of data into memory. The existing APIs only allow reading the entire file with a progress indicator callback.

BUG=160860
Review URL: https://codereview.chromium.org/11312222

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@167836 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoFix libmtp build. Forgot to apply patches/14_libusb1_header.patch.
thestig@chromium.org [Tue, 13 Nov 2012 23:05:28 +0000 (23:05 +0000)]
Fix libmtp build. Forgot to apply patches/14_libusb1_header.patch.
Review URL: https://codereview.chromium.org/11361250

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@167505 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoUpdate libmtp from pre 1.1.4 git to 1.1.5 release.
thestig@chromium.org [Tue, 13 Nov 2012 20:17:39 +0000 (20:17 +0000)]
Update libmtp from pre 1.1.4 git to 1.1.5 release.
Review URL: https://codereview.chromium.org/11358153

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@167447 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoChange libmtp to include libusb from the right location.
thestig@chromium.org [Sat, 20 Oct 2012 16:58:42 +0000 (16:58 +0000)]
Change libmtp to include libusb from the right location.

TBR=vandebo
Review URL: https://codereview.chromium.org/11227014

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@163169 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoChange the libmtp gyp file to build a shared library instead of a static one.
thestig@chromium.org [Wed, 17 Oct 2012 20:00:19 +0000 (20:00 +0000)]
Change the libmtp gyp file to build a shared library instead of a static one.
Review URL: https://codereview.chromium.org/11185017

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@162499 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agolibmtp: Cherrypick upstream commit 15d18e31458be5006eb229df68869df2fff9 to fix device...
thestig@chromium.org [Tue, 16 Oct 2012 23:53:19 +0000 (23:53 +0000)]
libmtp: Cherrypick upstream commit 15d18e31458be5006eb229df68869df2fff9 to fix device detection for some Android devices.

BUG=156143
Review URL: https://codereview.chromium.org/11183017

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@162285 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoCheck for failures from libusb_init() in the libusb-1.0 glue code.
thestig@chromium.org [Thu, 4 Oct 2012 20:45:13 +0000 (20:45 +0000)]
Check for failures from libusb_init() in the libusb-1.0 glue code.

BUG=chromium-os:35038
Review URL: https://codereview.chromium.org/11038043

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@160216 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoAdd header and gyp files to make libmtp build on Linux.
thestig@chromium.org [Thu, 4 Oct 2012 19:06:18 +0000 (19:06 +0000)]
Add header and gyp files to make libmtp build on Linux.
Review URL: https://codereview.chromium.org/11031036

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@160184 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agolibmtp: Remove the Nexus S from the list of known MTP devices.
thestig@chromium.org [Thu, 2 Aug 2012 21:53:32 +0000 (21:53 +0000)]
libmtp: Remove the Nexus S from the list of known MTP devices.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10850027

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@149713 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agolibmtp: Add license headers to pass Chromium's licensecheck.py.
thestig@chromium.org [Wed, 1 Aug 2012 19:49:03 +0000 (19:49 +0000)]
libmtp: Add license headers to pass Chromium's licensecheck.py.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10827105

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@149471 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agolibmtp: Do not build and install bits we don't need - udev utilities and examples.
thestig@chromium.org [Wed, 1 Aug 2012 00:24:08 +0000 (00:24 +0000)]
libmtp: Do not build and install bits we don't need - udev utilities and examples.
Review URL: https://chromiumcodereview.appspot.com/10825123

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@149328 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoEnable PTP support in libmtp's libusb1 glue code. We don't use the libusb0.1 or libop...
thestig@chromium.org [Tue, 31 Jul 2012 21:34:21 +0000 (21:34 +0000)]
Enable PTP support in libmtp's libusb1 glue code. We don't use the libusb0.1 or libopenusb versions.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10831026

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@149281 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFix strcpy() in ptp_unpack_PTPTIME() in libmtp.
thestig@chromium.org [Tue, 31 Jul 2012 19:41:48 +0000 (19:41 +0000)]
Fix strcpy() in ptp_unpack_PTPTIME() in libmtp.

BUG=139248
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10820045

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@149246 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoDisable ptp_canon_eos_setdevicepropvalue() in libmtp. It's not being used anyway.
thestig@chromium.org [Tue, 31 Jul 2012 06:47:32 +0000 (06:47 +0000)]
Disable ptp_canon_eos_setdevicepropvalue() in libmtp. It's not being used anyway.

BUG=139248
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10827066

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@149144 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoMake a warning in libmtp prettier.
thestig@chromium.org [Thu, 26 Jul 2012 23:19:34 +0000 (23:19 +0000)]
Make a warning in libmtp prettier.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10820026

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@148648 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoCheck for NULL descriptor in the input to parse_extension_descriptor.
thestig@chromium.org [Thu, 26 Jul 2012 23:18:17 +0000 (23:18 +0000)]
Check for NULL descriptor in the input to parse_extension_descriptor.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10831027

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@148645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFix libmtp to check whether certain operations are supported before calling them.
thestig@chromium.org [Thu, 26 Jul 2012 19:37:38 +0000 (19:37 +0000)]
Fix libmtp to check whether certain operations are supported before calling them.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10820025

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@148607 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoMinor build fixes for libmtp.
thestig@chromium.org [Thu, 26 Jul 2012 18:50:57 +0000 (18:50 +0000)]
Minor build fixes for libmtp.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10834025

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@148597 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoDisable unneeded playlist code in libmtp.
thestig@chromium.org [Thu, 26 Jul 2012 18:36:20 +0000 (18:36 +0000)]
Disable unneeded playlist code in libmtp.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10827033

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@148593 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdd libmtp version da25de0358e4291f213490b7f38d98436fe2ed14 to deps/third_party.
thestig@chromium.org [Thu, 26 Jul 2012 04:48:09 +0000 (04:48 +0000)]
Add libmtp version da25de0358e4291f213490b7f38d98436fe2ed14 to deps/third_party.

BUG=none
TEST=none

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libmtp@148515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c