1
0
mirror of https://github.com/phatina/simple-mtpfs synced 2025-01-13 02:12:46 +00:00
Commit Graph

111 Commits

Author SHA1 Message Date
Jimmy Ohn
f9b33f305d fix return value for removeTmpDir 2020-01-06 09:46:48 +09:00
Peter Hatina
c9518f345f
Merge pull request #70 from Henneberg-Systemdesign/support-for-get-partial-object
Support for get partial object
2019-11-05 21:51:58 +01:00
Jochen Henneberg
2bcc4551e9 Added support for get/sendPartialObject
If the caps flags are enabled for both get and send of partial object
this method is used instead of file push and pull. This makes many file
operations much faster and is widely supported throughout mobile
devices.

We still use the tmp file, not for storing data but to keep a unique
file handler for all the fuse file operations.

No caching happens at the moment, we could cache in the tmp file and
keep a table of offsets and sizes of the file that we already cached,
however, using the kernel file system cache is much better.
2019-11-02 09:20:17 +01:00
Jochen Henneberg
e121556851 Removed unused private methods from header 2019-11-02 09:19:36 +01:00
Peter Hatina
c9a691fc52 Bump release version to 0.3.0 2016-12-25 13:24:21 +01:00
Peter Hatina
6934037257 Bump release version to 0.2.1 2016-11-27 16:12:57 +01:00
Peter Hatina
ad83f1e39f Replace mktemp(1) by mkdtemp(3) 2016-11-27 15:40:34 +01:00
Peter Hatina
fead6a764f Drop device reset (fixes #47) 2016-11-27 15:35:26 +01:00
Peter Hatina
ea08fdb129 copyright update 2016-04-13 15:54:55 +02:00
Peter Hatina
a7ab64c7e4 Merge pull request #41 from wulf7/master
Thanks for your work! Looks good to me.
2015-09-03 14:20:09 +02:00
Vladimir Kondratiev
eaa116a43f Fix typo 2015-08-24 14:34:39 +03:00
Vladimir Kondratiev
4febe686c0 Support mounting by device file on non Linux OS
- it`s possible to supply device path sscanf format string
  at configure stage. FreeBSD`s one supplied
- it`s possible to use <bus>/<device> format as a fallback option
2015-08-24 14:34:39 +03:00
Vladimir Kondratiev
c117d9e1ac Remove extraneous #ifdef 2015-08-23 13:57:17 +03:00
Vladimir Kondratiev
a924098f97 Support for <device file> option when doing --device-list
- simple-mtpfs can be used as lightweight crossplatform mtp-probe
- at current state simple-mtpfs does not respect libmtp device quirks
  when connecting via device file. That leads to errors on some devices
  This issue can be workarounded now with following command:
     simple-mtpfs --device `simple-mtpfs <device file> -l | cut -f1 -d:` <mount point>
2015-08-23 13:55:52 +03:00
Vladimir Kondratiev
8a971b0ba7 Support for mounting by device file when libusb1 is missing 2015-08-23 13:55:44 +03:00
Vladimir Kondratiev
5357ae6422 Fix linux-izm in shebang 2015-08-21 12:17:14 +03:00
Peter Hatina
7452ff8cc2 simplify --with-tmpdir option (fixes #32) 2015-05-31 17:14:39 +02:00
Peter Hatina
7efc34b5ba fix MacOS X build
Homebrew build fixes: #30
2015-05-04 08:53:07 +02:00
Peter Hatina
76be403170 copyright update 2015-01-08 17:29:00 +01:00
Peter Hatina
427e2ade20 fix month value in log's timestamp 2015-01-04 15:01:45 +01:00
Peter Hatina
a00250fda6 introduce device capabilities in --list-devices
This is preparation for direct object modification.
2014-11-12 09:29:34 +01:00
Peter Hatina
7a5f10fe54 drop debug messages from LIBMTP_Init() 2014-11-05 18:08:23 +01:00
Peter Hatina
6441a5d7e5 move mutex calls to private section of MTPDevice 2014-11-05 17:39:08 +01:00
Peter Hatina
33bcca49f4 Merge pull request #35 from Phasip/master
Show correct folder timestamp
2014-10-27 07:44:26 +01:00
Pasi Saarinen
6408baa792 Show correct folder timestamp 2014-10-24 16:31:05 +02:00
Peter Hatina
74dfce65eb copyright update 2014-07-09 12:34:00 +02:00
Peter Hatina
776baebfbf Merge pull request #34 from KlavsKlavsen/master
fix debian packaging
2014-05-07 14:00:17 +02:00
Klavs Klavsen
9efaefc71c fixedup badly formatted line in changelog and corrected dependency from fuse-utils to just fuse - which works for ubuntu 13.10 and onwards atleast 2014-05-07 13:47:48 +02:00
Daniel Risacher
cef92acaee handle nulls from libmtp in vendor/product name 2014-04-07 21:26:00 +02:00
Peter Hatina
d4105f8fe0 use default usb context in smtpfs_raw_device_new() 2014-02-09 19:18:20 +01:00
Peter Hatina
5535446a7a reset device before every connection
We reset a usb device before issuing LIBMTP_Open_Raw_Device_Uncached(), so we do not timeout, when libmtp can't properly open the usb device.
2014-02-09 19:16:26 +01:00
David Mohr
a5499dea4f fix output error message, when no storage found 2014-01-13 19:16:29 +01:00
David Mohr
c0e76ed848 fix missing CLI option 2014-01-13 19:15:22 +01:00
Peter Hatina
80784a0c8c bump release version to 0.2 2013-12-03 22:02:39 +01:00
Peter Hatina
351554319b polish help message, executable path 2013-12-03 21:12:02 +01:00
Peter Hatina
ea9746c7db fix error log messages when connecting 2013-12-03 20:30:33 +01:00
Peter Hatina
6194d98049 update readme file 2013-12-03 19:52:12 +01:00
Peter Hatina
41cfc9bace introduce reference counting within temporary files 2013-11-26 21:32:21 +01:00
Peter Hatina
34e9c8ffb3 temporary storage rewrite 2013-11-25 22:26:29 +01:00
Peter Hatina
01c28b1e53 add error messages in SMTPFileSystem 2013-11-25 20:44:31 +01:00
Peter Hatina
55f7586e6a fix set mount, when LIBUSB1 not present 2013-11-25 20:23:02 +01:00
Peter Hatina
12f8f22454 fix build, when LIBUSB1 not present 2013-11-25 20:22:58 +01:00
Peter Hatina
59208ce6c6 fix typo in log message when using dev-file 2013-11-25 19:37:03 +01:00
Eugene San
7984d9cbab disable fdatasync on OSX 2013-11-25 19:22:42 +01:00
Eugene San
a96c692861 lower fuse version for osxfuse compatibility 2013-11-25 19:22:16 +01:00
Eugene San
4a962f35f9 fix text encoding of simple-mtpfs-sha1.* 2013-11-25 19:20:32 +01:00
Peter Hatina
863b1b2616 updated README wrt configurable tmpdir 2013-11-18 20:30:38 +01:00
Peter Hatina
22a010b70a update INSTALL notice 2013-11-18 20:23:17 +01:00
Peter Hatina
d78b3bed2c inline TmpFilesPool::addFile() 2013-11-18 20:19:56 +01:00
Peter Hatina
9dacdc22cd introduce configure script summary 2013-11-18 20:12:26 +01:00