aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "CMFileManager : Dismiss shortcutActivity before proceeding" into cm-11.0Jorge Ruesga2013-11-171-0/+9
|\
| * CMFileManager : Dismiss shortcutActivity before proceedingDanesh M2013-11-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Issue reproduction steps : Create shortcut to a file Launch it Press back The shortcut activity never gets dismissed under certain conditions, this takes care of those. Change-Id: Ieca832fbb9f70ec54e1dbe22e9b1eac83f633baf
* | CMFM: Re-enable swipe to deleteJorge Ruesga2013-11-151-5/+5
| | | | | | | | | | | | | | This changes re-enables the hidden option "swipe to delete" Change-Id: I4a9f8664d96e6cf536f169eb797bf9d03f33bb6f Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Merge "CMFM: Remove orphan bookmarks" into cm-11.0Jorge Ruesga2013-11-153-1/+43
|\ \
| * | CMFM: Remove orphan bookmarksJorge Ruesga2013-11-153-1/+43
| | | | | | | | | | | | | | | Change-Id: I49a121af9745651bb6f96ba81313589da3c096c3 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | | Merge "CMFM: Fix deadlock" into cm-11.0Jorge Ruesga2013-11-151-0/+4
|\ \ \ | |/ / |/| |
| * | CMFM: Fix deadlockJorge Ruesga2013-11-151-0/+4
| |/ | | | | | | | | | | | | Change-Id: I89c45f03b2ce94666764fc63ca8c4668a71ef7e5 JIRA: CYAN-2650 Issue: https://jira.cyanogenmod.org/browse/CYAN-2650 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* / Select content uris vs file uris when open or send filesJorge Ruesga2013-11-154-11/+166
|/ | | | | | | Change-Id: Ie0773d3b1922992dccb90b29cd136eff3397dfee JIRA: CYAN-2649 Issue: https://jira.cyanogenmod.org/browse/CYAN-2649 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFileManager: Update Gallery crop activity component nameEthan Chen2013-10-241-3/+15
| | | | | | * Also handle errors incase we fail. Change-Id: If87fc5484373ddd122973de6e76fdf61f6706d98
* Merge "CMFM: Notify to media scanner when some file changed" into cm-10.2Jorge Ruesga2013-10-101-0/+43
|\
| * CMFM: Notify to media scanner when some file changedJorge Ruesga2013-10-091-0/+43
| | | | | | | | | | | | | | Patchset 2: Remove unnecessary calls to media scan Change-Id: Ie56ccdd992e2a93c63ab7587135de7cb63bff92e Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | Mount emulated storage in root mode.Danny Baumann2013-10-086-53/+85
|/ | | | | | | | Make sure to tell su to mount the emulated storage. As this means that the su shell lives in its own mount namespace, perform remount operations on both the foreground and the background console. Change-Id: I9372eefa1df91d1ecd3c89a25a391b977d77da45
* Fix a number of default locale issues.Danny Baumann2013-09-205-47/+40
| | | | | | See http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Change-Id: I1f1e8dba6bbe862fcefc4bbde7d3eb0dfaf15982
* Some optimizations spotted during profiling.Danny Baumann2013-09-2013-86/+75
| | | | Change-Id: Ice5cc24d2574894798370eaaae144713414eb6cf
* Implement showing of apk icon and image and video thumbs in listingJo De Boeck2013-09-2014-223/+876
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patchset 8: Move some stuff to MimeTypeHelper Add cache Add image and thumbail support Add setting for this (defaul false for improve performance) Patchset 9: Fixed icon derp display Same size for all drawables Patchset 10: Async drawable load Shrink cache Patchset 11: Use layout's width and height to scale the images Patchset 12: Music album thumbs Patchset 13: Added suggestions Fixed FC Patchset 14: Use content observer for icons Keep context in icon holder Fix scroll position being reset on thumbnail load Patchset 15: Additional fixes and optimizations Patchset 16: Do not saturate the ui with constants redrawing Do not send back events while changing to a new directory Fix FC on HistoryActivity (creation of a ContentObserver inside of a non-ui thread) Added normalized media paths Patchset 17: Use a HandlerThread to handle the preview loads Patchset 18: Optimizations Patchset 19: Fix deadlock Patchset 20: Remove debug leftover Patchset 21: Fix whitespace Patchset 22: Misc. cleanup Change-Id: I0a4ea801ff0cfbf31dda125b8925e7d35f4c3c99
* CMFileManager: Add a dismiss listener for the exceptions YesNo dialogsJorge Ruesga2013-09-191-0/+9
| | | | | Change-Id: I73842a09f87fa12ee5b7d7220627e889165c9f54 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFileManager: Enable symlinks by defaultDan Pasanen2013-09-171-3/+3
| | | | | | Patchset 2: Opt-in all view settings Change-Id: I5017806e7a63f956f7b24e298ae13381f8d7f9c5
* CMFileManager: Check write operationJorge Ruesga2013-09-071-49/+97
| | | | | | | | | | Check that write operation writes exactly the expected bytes to the backend filesystem. Otherway, retry the write operation. Change-Id: I69911d6ce2260b616ce28614fc9ca3a55d474105 JIRA: CYAN-2129 Issue: https://jira.cyanogenmod.org/browse/CYAN-2129 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFileManager: Simplify selection string creationHasso Tepper2013-07-301-6/+8
| | | | Change-Id: I583ca10561882a6768b8af91914bf4ca3224caa7
* Allow pluralization of selection string.Danny Baumann2013-07-221-9/+9
| | | | Change-Id: I5823488c80459a6d47ebc0e5f88c453951ebab9c
* CMFileManager: Make use of plurals correctlyHasso Tepper2013-07-222-32/+12
| | | | | | | | | | | | | | | * Make selection strings use of plurals allowing to translate these into languages where the logic of plurals is different than in English. * Rename some plurals as these are not used only in properties dialog any more. * Remove quantity="zero" cases from plurals as these are never used in English. * Remove now unused strings from translations and rename plurals. Change-Id: I8c07f1ba85b208d37626106e0e2f691468c1cbc4
* CMFileManager: Correct logic of string generationHasso Tepper2013-07-091-2/+7
| | | | | | | Add the code for previously uncovered case - 1 folder and 1 file. While there remove unnecessary '=' from some comparisons. Change-Id: I9e4bd03eebcc52c055db6355483b921a832e963b
* CMFM: Fix AssociationsDialog selection when have scrollingJorge Ruesga2013-05-261-1/+2
| | | | | | | Change-Id: I7f51e7a3225341e209e1b9b9c1f156ae9e9d55ef JIRA: CYAN-1224 Issue: https://jira.cyanogenmod.org/browse/CYAN-1224 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: File Manager lets you select a file more than onceJorge Ruesga2013-04-281-7/+16
| | | | | | | Change-Id: I84984b64c89f6b803c90376f7f20c3cb1c592883 JIRA: CYAN-950 Issue: https://jira.cyanogenmod.org/browse/CYAN-950 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Fix editor overflow icon on black themeJorge Ruesga2013-04-211-0/+2
| | | | | Change-Id: Ib159ac7a0993d9a71f19e8adac8b81346258f72c Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Fix shortcuts path initializationJorge Ruesga2013-04-211-51/+58
| | | | | | | | | | Applying initial directory was overriding the shortcut paths. Avoid double navigateTo call (initial dir and check intent). Patchset 2: Rebased Change-Id: I61519a89e2fc60044c7b08ac4f0596e8f9925893 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: User-defined date/time formatJorge Ruesga2013-04-197-25/+222
| | | | | | | | | Allow the user to select the date/time format to use. JIRA: CYAN-863 Issue: https://jira.cyanogenmod.org/browse/CYAN-863 Change-Id: I13730e8c82e5de96645c9c70f244535eb449e261 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Protect AssociationsDialog from NPEJunwen Sun2013-04-071-12/+10
| | | | | | | | | Patchset 2: Fixed author name Change-Id: Ice751c89f89f960ef87f89be446a33370ec9d4b8 JIRA: CYAN-786 Issue: https://jira.cyanogenmod.org/browse/CYAN-786 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "CMFM: Double click to open associated intent" into cm-10.1Danny Baumann2013-04-052-16/+28
|\
| * CMFM: Double click to open associated intentSun Junwen2013-04-052-16/+28
| | | | | | | | | | | | | | | | | | When an item is selected, then open the item if the user tap again over the item Change-Id: Ifd34d39b9b1393dc3bb8d83f1fc25efc8a34683b JIRA: https://jira.cyanogenmod.org/browse/CYAN-770 Bugfix: CYAN-770 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | CMFM: File manager SEND issuesJorge Ruesga2013-04-051-2/+2
|/ | | | | | | | | Always display registered apps for SEND and SEND_MULTIPLE actions. Change-Id: Ia4cd47b62699e25dd503bb3d4083d314f94af032 JIRA: https://jira.cyanogenmod.org/browse/CYAN-768 Bugfix: CYAN-768 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Fix hex viewer dark themeJorge Ruesga2013-03-311-2/+15
| | | | | Change-Id: Ia185f8debd6bebc8fa11b1d22c4739a8a1f74d39 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Editor initial highlight support + props syntax processor + others ↵Jorge Ruesga2013-03-2718-514/+1671
| | | | | | | | | | | | | | | | | | | | | | | features - This change enables support of syntax highlight in editor. Adds also the next syntax processors: * PropertiesSyntaxHighlightProcessor - Option for toggle "no suggestion" in editor - CleanUp Patchset 2: Theme color scheme support Patchset 3: Hexdump binary editor preference No suggestions editor preference Syntax Highlight color scheme Add android-syntax-highlight (CMFM) and color-picker-view libraries ColorPickerDialog and ColorPickerPreference Separate preference to its own file Extract themes strings from dark_theme.xml to strings.xml Rebased Change-Id: I9df65e6193d46ebafadee5d545dcde1fc5ce20e9 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Display hex format when open a binary fileJorge Ruesga2013-03-231-13/+145
| | | | | Change-Id: I375e41918f3ff9a4f42010746eeee43177c502fa Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Use holo style progress barJorge Ruesga2013-03-221-1/+5
| | | | | Change-Id: I877e130cbba31f4f800fcc6c6b9510ae7a947ec6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Ask to gain privileges for asynchronous commandsJorge Ruesga2013-03-227-106/+293
| | | | | Change-Id: I35c48174e2e6093ada8e45786fe9320193effb96 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Add word wrap supportJorge Ruesga2013-03-194-5/+222
| | | | | | | This changes adds support for toggle word wrap in editor Change-Id: Idd40d4d2b936fa1f3a4435df8c5ba35ede7d6041 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "CMFM: CYAN-200 - Archiving and Extracting .ZIP files in CM File ↵Jorge Ruesga2013-03-188-40/+258
|\ | | | | | | Manager" into cm-10.1
| * CMFM: CYAN-200 - Archiving and Extracting .ZIP files in CM File ManagerJorge Ruesga2013-03-178-40/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support for zip and unrar commands. Zip, unzip, unlzma, unxz, uncompress and unrar are now optional. Compress or uncompress of these types are only available if its commands are present in filesystem NOTE: This change requires that zip and unrar commands are present in the filesystem at /system/xbin, which actually don't. Patchset 2: Rebased Change-Id: I30667c802bc5b678015b28bb3170377ceb37a1b8 JIRA: https://jira.cyanogenmod.org/browse/CYAN-200 Bugfix: CYAN-200 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | CMFM: Fix checksum java commandJorge Ruesga2013-03-181-2/+2
|/ | | | | Change-Id: Icdda7cc7b5176ecac001087592fd404768ab97e6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: CYAN-285 - Add ability to calculate file checksumsJorge Ruesga2013-03-1611-14/+947
| | | | | | | | | | | Added support for compute MD5 and SHA1 file checksums Patchset 2: Remove trailing whitespaces Change-Id: I46cbd0d451eea76e259bdddc485774bbfd34cdc0 JIRA: https://jira.cyanogenmod.org/browse/CYAN-285 Bugfix: CYAN-285 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFileManager: Fix tar commandThiago Vinícius Freire de Araújo Ribeiro2013-03-111-1/+3
| | | | | | | | | Add -C parameter to tar command. If this is missing, any attempt to compress using tar will silently fail, creating an empty destination file, as the source files cannot be found at the working directory. Change-Id: I1eee8dee673790c92c43615eaffd1c9f8399373e
* CMFM: CYAN-533 - Increase timeout in File ManagerJorge Ruesga2013-03-1015-61/+296
| | | | | | | | | | | Fixed timeout problems with list, copy, move and delete commands. Check new data for list commands; use indefinitely wait for copy, move and delete commands. Tested with 5000 and 30000 files. Change-Id: I33cd6c9b7422966cdc4bc0c9cb265f74533ef161 JIRA: https://jira.cyanogenmod.org/browse/CYAN-533 Bugfix: CYAN-533 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Fix invalid initial directoryJorge Ruesga2013-03-092-46/+107
| | | | | | | | Some paths, like /data/media/0, are being reported as invalid by libcore. Use a double check to detect these invalid paths Change-Id: I0f578b3e60849ab53c877daaee7c9577fc0c83dc Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: fix broken toolbox ls commandJorge Ruesga2013-02-201-7/+18
| | | | | | | toolbox ls -alR is broken (only returns the first folder). Change to busybox ls applet. Change-Id: I5226b3911d0fb2890f7e1cc1cb7a439ea593b1bf Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Allow picking of directories.Danny Baumann2013-01-235-13/+174
| | | | | | | | | | | | | | | | | This is used e.g. by k-9 to select an attachment storage path. There are a number of intent filter conventions for picking directories. In k-9's code I found the following: - action org.openintents.action.PICK_DIRECTORY, scheme file - action com.estrongs.action.PICK_DIRECTORY, scheme file - action Intent.ACTION_PICK, scheme folder - action com.androidworkz.action.PICK_DIRECTORY, scheme file Implemented is the third variant, as it's the most generic way to describe the intention. Change-Id: I8752fe0db923a9ca169cc09eeee6a13bb5236626
* Don't prompt for superuser access when picking a file.Danny Baumann2013-01-225-35/+5
| | | | | | | The file picker is chrooted anyway, so it's confusing to the user to see a superuser prompt in that case. Change-Id: Ied492fc2270a343e17057efd252606f230d02180
* CMFM: Support for Intent.ACTION_SEND_MULTIPLEJorge Ruesga2013-01-143-3/+107
| | | | | | | | | | This changes allows to send multiple files through selecting multiple files. Add new "Send selection" global menu, that is shown when user has some selected files, and all of them are files (send multiple is not allowed for folders) Change-Id: I1a889c1188803a6639433d4613fec2246d90fc9b Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "CMFM: Fix select/unselect from menu dialog" into cm-10.1Jorge Ruesga2013-01-141-10/+3
|\
| * CMFM: Fix select/unselect from menu dialogJorge Ruesga2013-01-131-10/+3
| | | | | | | | | | | | | | Also, remove unused public toggleSelection method Change-Id: I455057234056f3b0d94447fac6bc9b29152b14b6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>