summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for 1.15.2 release1.15.2Tomas Bzatek2013-01-151-0/+8
|
* gvfs-test: Include */sbin in PATHTomas Bzatek2013-01-151-1/+1
| | | | | | | sbin directories may contain commands we use yet may not be included in $PATH. https://bugzilla.gnome.org/show_bug.cgi?id=691568
* Updated Galician translationsFran Diéguez2013-01-131-33/+105
|
* Updated Slovenian translationMatej Urbančič2013-01-131-113/+187
|
* Updated POTFILES.inPiotr Drąg2013-01-121-0/+1
|
* gvfs-test: Drop genisoimage dependencyMartin Pitt2013-01-122-12/+14
| | | | | | | | | | Some distros use the original cdrtools where it is called differently (mkisofs), and argument compatibility between the two is not guaranteed. Also, the Drive tests already use pre-generated images in test/files/, so pre-generate the remaining missing image (ISO9660 with Joliet extensions) instead of building them at test time. Part of https://bugzilla.gnome.org/show_bug.cgi?id=691568
* Updated Bulgarian translationAlexander Shopov2013-01-121-226/+230
|
* Merge branch 'mtp-backend'Philip Langdale2013-01-1117-1/+2648
|\ | | | | | | | | | | | | | | | | | | This merge brings in the libmtp based backend for MTP devices. Previously, MTP devices were handled, with limited success by the GPhoto2 backend as MTP is nominally backwards compatible with PTP. The most serious limitation was that the GPhoto2 backend operated in a way that doesn't work reliably with Android 4.x based devices. This problem is rectified by the new MTP backend.
| * MTP: Fix C++ comment.mtp-backendPhilip Langdale2013-01-111-1/+1
| |
| * MTP: Make recursive push work.Philip Langdale2013-01-111-29/+111
| | | | | | | | | | | | This introduces a path normalization helper that turns filenames into entity IDs where needed to allow the push of a directory to the device to work.
| * MTP: Fix segfault if client queries for non-existent file by name.Philip Langdale2013-01-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the client, usually Nautilus, ends up trying to find a file by name instead of ID, there might not be a match. We should return NOT_FOUND explicitly, as there is no libmtp error generated in this case. This situation arises after: * A file is renamed * A directory is created * A file is created (which actually fails) Refreshing the Nautilus view will get Nautilus back in sync.
| * MTP: Fix regression in thumbnail icon handling.Philip Langdale2013-01-111-4/+5
| | | | | | | | The preview icon and the main icon shouldn't get mixed up...
| * MTP: Review Feedback: Fix memory leaks and improve memory management.Philip Langdale2013-01-113-20/+16
| |
| * MTP: Review Feedback: Unconditional chain up finalize and dispose.Philip Langdale2013-01-113-8/+4
| |
| * MTP: Review Feedback: use GHashTable more efficiently.Philip Langdale2013-01-111-3/+3
| |
| * MTP: Review Feedback: Fix warnings.Philip Langdale2013-01-111-2/+3
| |
| * MTP: Review Feedback: Remove use of static buffer.Philip Langdale2013-01-111-1/+3
| | | | | | | | | | Use a dynamically allocated buffer instead to avoid any multi-threading dangers.
| * MTP: Review Feedback: Small cleanups.Philip Langdale2013-01-111-16/+4
| | | | | | | | | | * Use g_clear_object() * Remove unnecessary code.
| * MTP: Review Feedback: Use g_strv_length()Philip Langdale2013-01-111-16/+8
| |
| * MTP: Review Feedback: Add comment to all functions where mutex must be held.Philip Langdale2013-01-111-18/+55
| |
| * MTP: Review Feedback: AC_SUBST LIBMT_LIBS and LIBMTP_CFLAGS.Philip Langdale2013-01-111-0/+2
| | | | | | | | Whoops
| * MTP: Review Feedback: Correctly handle push/pull requests for directories.Philip Langdale2013-01-111-23/+8
| | | | | | | | | | | | | | | | | | Tomas explained the correct way to tell Nautilus to recurse directories and issue individual copy operations for the contents, and it works! Note that in the case of push, the contents don't copy correctly as the push path is incorrect (uses filename instead of file id). I can compensate for this, but that will be a separate change.
| * MTP: Review feedback: Remove redundant lines.Philip Langdale2013-01-111-2/+0
| |
| * MTP: Review feedback: Minimise event check thread race during shutdown.Philip Langdale2013-01-112-12/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Theoretically, the event check could fire during unmount, resulting in access to invalid backend state. We can try and minimise the chance of this happening but can't elimiate it completely as the LIBMTP_Read_Event call cannot occur with a lock or ref held as it blocks and cannot be interrupted as part of the shutdown process. If a lock was held, it would lead to a deadlock, and if a ref was held, the backend would never finalize. As it is, the race is now narrowed so that it's only applicable if the unmount occurs at the point between where the MTP device is looked up and when Read_Event is called. And even before this change the race was incredibly rare as you'd have to induce an MTP event in the middle of unmounting. Finally, crashing while trying to terminate isn't the end of the world.
| * MTP: Review feedback: Refactor device path derivation.Philip Langdale2013-01-111-29/+46
| | | | | | | | And fix reference leaks.
| * MTP: Review feedback: Use g_vfs_job_failed_literal.Philip Langdale2013-01-111-56/+52
| | | | | | | | Used in all appropriate locations.
| * MTP: do_query_info: Handle filename starting with digits.Philip Langdale2013-01-111-1/+3
| | | | | | | | | | Make sure that a file isn't named starting with valid digits before deciding whether a name based lookup is necessary.
| * MTP: Heartbeat callback to avoid connection timing out.Philip Langdale2013-01-112-0/+20
| |
| * MTP: Fix parentheses spacing.Philip Langdale2013-01-111-275/+290
| |
| * MTP: Fix parentheses spacing.Philip Langdale2013-01-111-4/+4
| |
| * MTP: More review feedback.Philip Langdale2013-01-111-2/+1
| |
| * MTP: Copy Storage type constants from ptp.hPhilip Langdale2013-01-111-4/+19
| |
| * MTP: Improve error messages.Philip Langdale2013-01-111-13/+14
| |
| * MTP: Use do_make_directory to handle an attempt to upload a directory.Philip Langdale2013-01-111-50/+57
| | | | | | | | It's better than nothing.
| * MTP: Fix review comments.Philip Langdale2013-01-111-10/+7
| |
| * MTP: Initial review feedback.Philip Langdale2013-01-111-29/+37
| | | | | | | | | | | | Added error translation Fixed some formatting Removed use of C++ comment
| * MTP: "Fix" pulling of directories.Philip Langdale2013-01-111-2/+5
| | | | | | | | | | | | | | | | | | | | No, this doesn't make recursive pull magically work, but it allows a pull on a directory to make that directory, or silently succeed if the directory exists already. This does have the beneficial effect that file-roller can now compress a directory from an mtp mount - if you ignore the fact that it doesn't use display names.
| * MTP: Use fail_job everywhere its needed.Philip Langdale2013-01-111-13/+3
| |
| * MTP: Finish cleaning up debug output.Philip Langdale2013-01-111-15/+51
| |
| * MTP: More clean up.Philip Langdale2013-01-111-82/+108
| | | | | | | | | | Starting to switch over to a DEBUG macro, and removed unnecessary try_mount method.
| * MTP: Remove unix permissions/ownership info.Philip Langdale2013-01-111-5/+0
| | | | | | | | | | Semantically, these shouldn't be set if they're not really there. It's better to let gvfs come up with the values.
| * MTP: Generic failed job error handling.Philip Langdale2013-01-111-24/+19
| |
| * MTP: Event handling.Philip Langdale2013-01-112-0/+37
| | | | | | | | | | | | | | This change adds an event listener to receive libmtp events. The primary use for this is detecting when stores appear after a phone is unlocked. That way you can plug it in, then unlock it, and then you'll see the stores appear automatically.
| * MTP: Don't leak LIBMTP_file_t objects everywhere.Philip Langdale2013-01-111-10/+28
| | | | | | | | | | The documentation isn't clear that you have to clean these up, but it's pretty obvious that you do.
| * MTP: Small Thumbnail clean up.Philip Langdale2013-01-111-2/+0
| | | | | | | | | | | | Removing the debug spew for each file with a thumbnail, and turned off LOCAL previews. The preview process is so costly that it should only be done if the user requests ALWAYS.
| * MTP: Add missing \n to some debug messages.Philip Langdale2013-01-111-4/+4
| |
| * MTP: Fix warnings.Philip Langdale2013-01-111-4/+0
| |
| * MTP: Add configure check for LIBMTP_GetThumbnail.Philip Langdale2013-01-112-0/+14
| |
| * MTP: Add support for using Representative Sample of Thumbnail fails.Philip Langdale2013-01-111-7/+19
| | | | | | | | | | I have no idea if this really works, as I don't have a device that uses it.
| * MTP: Clean up formatting and style for MTP Volume Monitor.Philip Langdale2013-01-113-167/+141
| | | | | | | | We can consider the volume monitor done at this point.