| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Multiple instances of ActionsDialog are created if the user
clicks the menu too quickly.
Do not create an instance if a dialog has already been displayed.
CRs-Fixed: 960229, 970649
Change-Id: I610331cf71cb1b59aef6f89d8fdcb1c6ccda6044
|
| |
|
|
|
| |
Change-Id: I31f568c04dae870d0108e915dd05071461b3196d
Issue-Id: FEIJ-1360
|
| |
|
|
|
|
|
|
|
|
| |
Instead of falling back to the editor activity as a last resort for "Send",
remove the option if there's no potential candidate. The editor activity won't
handle the ACTION_SEND/ACTION_SEND_MULTIPLE intent anyway. This stops an error
from popping up in the editor if the file cannot be sent from any other activity.
FEIJ-1380
Change-Id: I2330299e0cb8b6f3c93d5a190067b8bfe6a3f56f
|
| |
|
|
|
|
|
|
|
| |
Changed how the java console handles detecting if a file rename
collides with another file to more represent how the particular
filesystem implementation handles it (I'm looking at you vfat).
Change-Id: I6ac9ae848ee47fa33f02225c310c92f2a03fb50d
(cherry picked from commit bd4178a860ab7da89549036c6a4815239b903b61)
|
| |
|
|
|
|
|
|
|
| |
It just don't support it currently as it requires
the UI to ask for password first.
FEIJ-825
Change-Id: I7ef4199d99110652b3f13fe9fed8336bf07f59f4
|
| |
|
|
|
|
|
|
|
| |
Ideally we would allow the properties action to appear and
ask the user to unlock the directory first, but that seems
to be nigh impossible without refactoring SecureConsole.
Change-Id: If619062d3c3db1855ac865811cf6b48e5ae5812f
issue-id: FEIJ-692
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Converting to using the system resolver. The logic has changed slightly
in the following cases:
Open -- Tries to start activity, falls back to EditorActivity on failure
Open With -- Uses Chooser and populates Editor if not already there
Falls back to EditorActivity on failure
Click on FSObject -- Same as Open
Sending Object -- Same as Open
Cleaned up code around this a little since there were unused parameters.
Note: The Chooser will only show EXTRA_INITIAL_INTENTS if there are
other options as well, which is why we have to do the check up front
to see if we need to add it, and falling back to just using the Editor
if nothing exists to handle it.
Issue-Id: CYNGNOS-1236
Change-Id: I803b86cf6bfec80bbc886025be43ce800afd3be1
|
| |
|
|
|
|
|
|
| |
Previously, this would result in multiple bookmarks
of the same location
Ticket: QRDL-989
Change-Id: I0f19045bc7a6d5fa98c9ef4ee1a8ccda9c501eb1
|
| |
|
|
| |
Change-Id: I1702cf147b8ebc68f3a24175fa34cf397d823280
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds support for virtual filesystems and implements a SecureStorage
filesystem (a password protected area) mounted in /storage or /sdcard/storage
(in chrooted environments).
Also includes a better print support and a cleanup of the code and design of
the menu drawer.
Bump version to 2.0.0
Required: https://github.com/jruesga/android_external_libtruezip located
in external/libtruezip
Patchset 4: Fix selection of unmounted virtual storages.
Fix actions on virtual mount points folders.
Fix strings and typos. Change drop for delete secure storage.
Patchset 5: Move actionbar buttons to navigation drawer
Remove history position
Patchset 6: Update theme preview images
Fix filesystem status image on theme change
Patchset 7: Fix binary file detection in editor (including unicode files)
Patchset 8: Fix unsafe operations in virtual mountpoint logic
Patchset 9: Rebase
Change-Id: I65511352ca649dcbf238c8b07cf8c22465296e8e
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
| |
|
|
|
|
|
| |
If single file is selected, send appropriate info.
If multiple files are selected, don't show properties menu
Change-Id: I5149cce2f82fae11aa8e3500a274f750f177117a
|
| |
|
|
|
| |
Change-Id: Ie10eb390e787d769efd12f669fa6015f6726e0d9
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* used a modified version of DrawerLayout from the Support Library
* moved bookmarks and history there -> always accessible
* added a drawer icon
* made all themeable
* removed the BookmarksActivity and HistoryActivity
* removed the BookmarksAdapter and HistoryAdapter as they are useless
for LinearLayouts. I couldn't use ListViews because they scroll
vertically - as well as the drawer itself.
* removed the layouts for bookmarks and history
Patch Set 2: tab cleanup and reset code I didn't touch
Patch Set 3: fixed a FC after changing the theme when settings
were opened by the drawer's overflow menu
Patch Set 4: updated commit message
Patch Set 5: updated commit message
Patch Set 6: disabled "clear history" ActionBar action when
history is empty
Patch Set 7: fixed code style, fixed theme change issue with history
items in the drawer, updated theme previews
Patch Set 8: remove trailing whitespaces
Change-Id: I215211e771ec7c96a2a669cdcc440556c310d6db
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Some performance improvements:
- Use stat instead of ls. This allow improve listing of directories with
symlinks. Symlinks are resolved by File.getCanonicalFile.
- Simplify ls, fileinfo, find and readlink command
- Simplify the parsing of FolderUsage (only type, size and category is
required), and avoid to load a lot of on unused objects
- Add new file datetime information from stat: access, change and modify
- Improve list, find and resolvelink java commands
* FadeEffect and symlink handling
* Remove context from AIDHelper and add new helpful methods
* New getAbsolutePath method
* Use file separator for paths and ROOT_DIRECTORY for root directory path
* Organize startup
- Initialize variables prior to register receivers
- Load AID data for improve performance through caching
- Load the theme base used by AOSP widgets
* Allow Editor to show zero-length files
Allow the editor to load zero-length files (like /proc/mounts) and
change the buffer type to no editable in binary files.
* Invert allowed mount points detection.
This change inverts the algorithm for prevent unmount needed rw
filesystems. Now uses known restricted filesystems instead of known
allowed filesystems. Now filesystems like yaffs2, fuse, and other linux
filesystems are allowed by default.
* Remove unused xliff namespace
* Add flagNoFullscreen to EditText widgets
* Fix listview selectors of history and bookmarks
* Fix race condition
When the command was executed prior to block the execution, the thread
wait for the timeout. Add a sync access check to ensure that prior to
lock and wait the program executed is not finished.
* Fix for async programs
When the partial buffer received for an async program is not complete
(ends with a EOL), the partial buffer was discarded. Add a new buffer
with this lost chars to complete this bytes next time
* Fix list command
Use -n1 for xargs in list command to prevent "argument line too long"
* If parent is null then assume that it is the root folder
* Use only name and parent for equals method on FileSystemObject
A FileSystemObject is the same if his name and path are the same.
* Increase performance of adapters
Use argument data when possible to avoid call the adapter methods
* Do not clear selection on some actions
Actions like create new file/folder, show properties and other actions
that explicit requires clear the active selection, shouldn't removed the
active selection.
* Add a new additional line to dialog messages to fill the dialog
* Fix spanish translations
* Fix theme roulette on tablets
* Clean NLS and Override warnings
* Fix parse size data with dots
* Add listeners after set the values to avoid raising triggers
* Increase performance of adapters.
Notify the data changed at the end of the changes, and only to super
adapters (the internal structure has already been updated)
* Ensure that all the Cursor references were closed after used them.
* Remove unused SuppressLint
* Clean up
Change-Id: I4326e97cbc942c767829f1a0ff6b380ad768cfef
Signed-off-by: jruesga <jorge@ruesga.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change enabled the theme support, and added a new dark theme under the package
CMFileManagerThemes. To compile under build system, it must be enabled in
vendor/cm/config/common.mk or vendor/cm/config/themes_common.mk (this was
requested in change http://review.cyanogenmod.org/#/c/26311/)
Themes were enabled in a new settings option. Under this setting the application
show the user the available themes installed in the system.
--------------------
For build new themes, developers should:
- Create a new package that contains an activity with:
* Permission: com.cyanogenmod.filemanager.permissions.READ_THEME
* Action: com.cyanogenmod.filemanager.actions.MAIN_THEME
* Category: com.cyanogenmod.filemanager.categories.THEME
- Define the themes_ids, themes_names and themes_descriptions arrays-strings
definitions for the themes that the package support.
- Create a xxx_theme.xml for every theme that the package support, where the
xxx is the id of the theme. Put your resources in this file, prefixing the
resource with the id of the theme (xxx_). For a list of all supported
resources see theme.xml in res/values of CMFileManager project.
-------------------
Other fixes:
* Protect console buffers from NPE
* Fix code style of xmls (layouts, drawables, ...)
Patchset 2: Fixed code style and added Christian suggestion
Patchset 3: Added forgotten READ_THEME permission check as described in the
note above.
Patchset 4: Use centerInside in theme preview for better image fit
Change-Id: I4142da6d9ed1b06318e47ff9c05f9a874c62f3ae
|
| |
|
|
|
| |
Remove create copy y rename when there is not a selection listener
(search activity) because we need a list of the current files for
give a name suggestion.
|
| |
|
|
|
| |
This allow the use of left to right swipe gesture to delete files or
folders.
Add a new setting to control this behaviour (active by default)
|
| |
|
|
|
|
|
| |
* New dialog title mode (no icons, except were they are needed [welcome
and picker])
* Title text without allCaps
* New title color
* Remove unused drawables
|
| | |
|
|
|
Full refactoring of package from explorer to filemanager
|