OSDN Git Service
jruesga [Sat, 20 Oct 2012 15:35:25 +0000 (17:35 +0200)]
Fix transparent inverted color
jruesga [Sat, 20 Oct 2012 15:27:31 +0000 (17:27 +0200)]
Revert check_on_normal_inverted drawable
jruesga [Sat, 20 Oct 2012 11:22:20 +0000 (13:22 +0200)]
Remove obsolete resource
jruesga [Sat, 20 Oct 2012 11:20:54 +0000 (13:20 +0200)]
CleanUp
jruesga [Sat, 20 Oct 2012 11:20:24 +0000 (13:20 +0200)]
Welcome message
jruesga [Sat, 20 Oct 2012 10:48:10 +0000 (12:48 +0200)]
CleanUp
jruesga [Sat, 20 Oct 2012 00:09:31 +0000 (02:09 +0200)]
New search action "Open parent"
jruesga [Fri, 19 Oct 2012 23:38:23 +0000 (01:38 +0200)]
New fso and global actions "Compress" and "Compress selection" + CleanUp
jruesga [Fri, 19 Oct 2012 23:36:11 +0000 (01:36 +0200)]
New drawables for compression mime/type and dialog icon
jruesga [Fri, 19 Oct 2012 16:24:02 +0000 (18:24 +0200)]
Reorganize ActionsPolicy to make it clearly
jruesga [Thu, 18 Oct 2012 23:05:28 +0000 (01:05 +0200)]
New fso action "Extract"
jruesga [Thu, 18 Oct 2012 23:04:55 +0000 (01:04 +0200)]
Fix uncompress command bugs
jruesga [Thu, 18 Oct 2012 23:03:41 +0000 (01:03 +0200)]
Add a method to check if the current console is privileged
jruesga [Thu, 18 Oct 2012 23:03:11 +0000 (01:03 +0200)]
Add zip as a supported uncompress method
jruesga [Thu, 18 Oct 2012 23:02:29 +0000 (01:02 +0200)]
Check getFileInfo is null
jruesga [Wed, 17 Oct 2012 22:50:03 +0000 (00:50 +0200)]
New uncompress command
jruesga [Wed, 17 Oct 2012 22:49:33 +0000 (00:49 +0200)]
CleanUp
jruesga [Wed, 17 Oct 2012 22:49:08 +0000 (00:49 +0200)]
Add new compress mime/type formats
jruesga [Tue, 16 Oct 2012 23:26:36 +0000 (01:26 +0200)]
New compress command
archive: tar
compress: gz, bz2
archive+compress: tgz, tar.gz, tar.bz2
jruesga [Tue, 16 Oct 2012 23:24:59 +0000 (01:24 +0200)]
CleanUp comment
jruesga [Tue, 16 Oct 2012 19:53:01 +0000 (21:53 +0200)]
Resolve extension of tar.gz, tar.bz2 and tar.lzma
jruesga [Tue, 16 Oct 2012 19:52:07 +0000 (21:52 +0200)]
Remove older comments
jruesga [Mon, 15 Oct 2012 00:22:26 +0000 (02:22 +0200)]
New action "Execute"
The new fso action "Execute" allow execute a shell in the new
ExecutionDialog (a console like dialog), that display the ouput, time
and exit code of the execution.
It's only available for files with EXEC mime/type category.
* Added a new method to the async callback to return the exit code to
program caller.
* CleanUp
jruesga [Sun, 14 Oct 2012 00:48:55 +0000 (02:48 +0200)]
Add clear history to HistoryActivity menu
jruesga [Sat, 13 Oct 2012 23:34:03 +0000 (01:34 +0200)]
Add file category to fso properties dialog
jruesga [Sat, 13 Oct 2012 22:56:30 +0000 (00:56 +0200)]
Fix incorrect call to parsePartialResult (for async programs)
jruesga [Sat, 13 Oct 2012 22:54:57 +0000 (00:54 +0200)]
Better handling of FolderUsage
jruesga [Sat, 13 Oct 2012 21:44:12 +0000 (23:44 +0200)]
List command requires do no check No such file or directory when error
code == 0
jruesga [Sat, 13 Oct 2012 21:13:02 +0000 (23:13 +0200)]
Various: new commands and buffer management
* Change default buffer to 4096
* New commands: Read, send signal, terminate and write
* Background console now change to privileged when foreground console is
or change to privileged
* Fix cancel asynchronous programs launched on privileged consoles
(non-privileged background console is not able to kill or signal)
* Fix root directory default
* Allow send signal and terminate, in addition to cancel, for
AsyncResultExecutable programs
* Passing console trace status to commands (allow programs to use user
preference)
* Allow to programs to access the stdout to respond to programs (xe:
write to stdin of dd).
* Fix ResolveLinkCommand when src is the root directory
* Remove check of error code in checkStdErr of the shell. Determine the
errors based on the returned text. Error code is not necessary because
the check is over stderr, not stdin.
* Create separate methods for create privileged console (one with no
check and other for check and change to non-privileged on error)
* Fix detection of start of program on Shell
* No send string controls to asynchronous programs on parsePartial
method
(cut
buffers prior to invoke)
* Create static method on Permissions to load from raw and octals
strings.
* Fix disk usage and mount point info when no background console is
available
* Fix test app name. Changed to CMExplorerTest
* Fix exec test, once there are a write command. Now write the shell
program and execute to check results.
jruesga [Fri, 12 Oct 2012 21:43:16 +0000 (23:43 +0200)]
Fix problem with buffered readers and writers (don't use)
jruesga [Fri, 12 Oct 2012 21:39:46 +0000 (23:39 +0200)]
Allow to programs request write to the stdout
jruesga [Fri, 12 Oct 2012 11:55:26 +0000 (13:55 +0200)]
Environment.getRootDirectory doesn't return the root directory
Environment.getRootDirectory doesn't return the root directory. Instead
it returns the system directory. Use overlay parameter.
jruesga [Fri, 12 Oct 2012 11:00:38 +0000 (13:00 +0200)]
Fix TestCases
Still fails ExecCommandTest because we need a command to write content
in a file (the test script to execute). Now, we haven't permissions to
write to /data with standard java routines
jruesga [Fri, 12 Oct 2012 10:58:47 +0000 (12:58 +0200)]
Don't use -f flag in rm command.
Don't use -f flag in rm command, because we need the exception if rm
is applied over an inexistent file or folder
jruesga [Fri, 12 Oct 2012 10:57:09 +0000 (12:57 +0200)]
Remove trailing whitespace
jruesga [Fri, 12 Oct 2012 10:18:56 +0000 (12:18 +0200)]
Replace cancelled by canceled
jruesga [Fri, 12 Oct 2012 09:56:21 +0000 (11:56 +0200)]
Don't hardcode the root directory
jruesga [Fri, 12 Oct 2012 09:52:40 +0000 (11:52 +0200)]
Use overlay for root directory
jruesga [Fri, 12 Oct 2012 09:21:21 +0000 (11:21 +0200)]
Don't resolve link when apply user preference in sorting
jruesga [Fri, 12 Oct 2012 09:16:36 +0000 (11:16 +0200)]
No show create link if current directory is in storage volume
jruesga [Fri, 12 Oct 2012 02:04:59 +0000 (04:04 +0200)]
Various
* New fso and global action: Create Link
* Fix bold font in deleting message dialog
* Fix list command: when ther are only symlinks in a folder the list
doesn't return anything
* InputNameDialog: Allow return fso name
* InputNameDialog: Check name when no pass an fso
* ActionPolicy: Only move (nor rename) command should check current
directory
jruesga [Fri, 12 Oct 2012 00:23:35 +0000 (02:23 +0200)]
CleanUp
jruesga [Fri, 12 Oct 2012 00:19:52 +0000 (02:19 +0200)]
New command: ExecCommand (for execute commands)
jruesga [Thu, 11 Oct 2012 23:27:12 +0000 (01:27 +0200)]
New command: LinkCommand (for create symlinks)
jruesga [Thu, 11 Oct 2012 22:52:10 +0000 (00:52 +0200)]
Create StorageHelper, and redesign BookmarksActivity (II)
jruesga [Thu, 11 Oct 2012 22:51:28 +0000 (00:51 +0200)]
Create StorageHelper, and redesign BookmarksActivity
jruesga [Thu, 11 Oct 2012 22:21:06 +0000 (00:21 +0200)]
Revert refresh of new fso
jruesga [Thu, 11 Oct 2012 22:19:17 +0000 (00:19 +0200)]
New global actions "Paste selection" and "Move selection"
jruesga [Thu, 11 Oct 2012 21:56:14 +0000 (23:56 +0200)]
New global action "Delete Selection"
jruesga [Thu, 11 Oct 2012 21:55:46 +0000 (23:55 +0200)]
Deselect all items on an operation (create folder, delete file, ...)
jruesga [Wed, 10 Oct 2012 23:01:53 +0000 (01:01 +0200)]
Fix statistics computation for symlinks
jruesga [Wed, 10 Oct 2012 22:57:07 +0000 (00:57 +0200)]
Better resolve of symlinks in list command
jruesga [Wed, 10 Oct 2012 22:53:24 +0000 (00:53 +0200)]
Better history search drawable
jruesga [Wed, 10 Oct 2012 20:03:11 +0000 (22:03 +0200)]
Fix a bug in back of navigation activity when there is a search element
jruesga [Wed, 10 Oct 2012 00:59:21 +0000 (02:59 +0200)]
Better symlinks handle
Resolve symlinks with -> symbols in any of the names (link or real).
jruesga [Tue, 9 Oct 2012 21:51:05 +0000 (23:51 +0200)]
Sort the items by path to avoid delete parents fso prior to child fso
jruesga [Mon, 8 Oct 2012 23:44:07 +0000 (01:44 +0200)]
When no console available, ask the user prior to exit
When advanced console selection is disabled and a can't create a
console, the only way is restore to non-privileged console, which
includes reverts the superuser and advanced selection modes.
jruesga [Mon, 8 Oct 2012 23:18:51 +0000 (01:18 +0200)]
Restructure ActionsPolicy and other changes
* Restructure ActionsPolicy to allow doing operation in background and
with a progress dialog
* New rename, create copy, copy, move, and remove methods
* Fix add and remove commands to have force and recursive flags when
apply
* Fix readlink command because it exceeds the maximum arguments allowed
* Redesign MessageProgressDialog for a multipurpose use
* On refresh of navigation view, try to scroll to last position if
possible
* New dialog in DialogHelper
* ExceptionUtil now passed the cause in onFailed in
OnRelaunchCommandResult listener
* New helper methods
* Clean up
jruesga [Sun, 7 Oct 2012 14:52:05 +0000 (16:52 +0200)]
Not restrict MessageProgressDialog to number progress
This allow use the MessageProgressDialog as a message progress (xe. for
use on copy or move operations with filename progress)
jruesga [Sun, 7 Oct 2012 14:50:00 +0000 (16:50 +0200)]
Use -a flag in copy operations
jruesga [Sat, 6 Oct 2012 23:34:18 +0000 (01:34 +0200)]
Fix slash in paths for ListCommand
jruesga [Sat, 6 Oct 2012 23:33:52 +0000 (01:33 +0200)]
Fix InputNameDialog actions
* Fix Pass the files no selection
* New action: rename
jruesga [Sat, 6 Oct 2012 22:31:51 +0000 (00:31 +0200)]
Avoid read stdin when is null
jruesga [Sat, 6 Oct 2012 22:31:10 +0000 (00:31 +0200)]
Don't the method onSaveInstanceState and onRestoreInstanceState
NavigationActivity is singleTop, so when it is displayed no
other activities exists in the stack. This cause an issue with the saved
instance of this class, because if another activity is displayed, and
the process is killed, NavigationActivity is started and the saved
instance gets corrupted. For this reason the methods onSaveInstanceState
and onRestoreInstanceState are not implemented, and every time the app
is killed, is restarted from his initial state.
jruesga [Sat, 6 Oct 2012 19:45:15 +0000 (21:45 +0200)]
Implemented Allow Console Selection setting
This setting allow use the menu "Select Console" or deactivate the menu
using only a privileged console, without additional privileged messages,
but require su to run the app.
By default, allow not privileged console to avoid startup problems
jruesga [Sat, 6 Oct 2012 18:14:56 +0000 (20:14 +0200)]
Refresh the navigation view after back from the search view
* Refresh the navigation view after back from the search view
* Clean up
jruesga [Sat, 6 Oct 2012 17:53:41 +0000 (19:53 +0200)]
Redesign of some mime/type drawables
jruesga [Sat, 6 Oct 2012 17:04:22 +0000 (19:04 +0200)]
Redesign of bookmarks drawables
jruesga [Sat, 6 Oct 2012 16:16:14 +0000 (18:16 +0200)]
A bunch of changes.
* Add send action for file
* Add handler for open action on click in navigation, search and
bookmarks
* Allow file bookmarks
* Upload AssociationsDialog
* Fix root directory name in history
* Add controls to navigation and history for deleted folders
* Remove history of delete folders
* Add open with action for onLongClickListener handler
jruesga [Sat, 6 Oct 2012 10:23:03 +0000 (12:23 +0200)]
Open and Open with actions
Implementation of Open and Open with actions. This create a custom
dialog that allow show all registered application even when only one
application exists or has a preferred application.
This change requires a platform signature to allow use
addPreferredActivity or removePreferredActivity.
For this is not working. Need be tested and checked inside CM.
jruesga [Fri, 5 Oct 2012 23:34:55 +0000 (01:34 +0200)]
Revert Association Provider. Instead, use AOSP PreferredActivity api.
jruesga [Fri, 5 Oct 2012 23:14:34 +0000 (01:14 +0200)]
Allow dialogs with no icon
jruesga [Fri, 5 Oct 2012 23:14:09 +0000 (01:14 +0200)]
Lint warnings
jruesga [Fri, 5 Oct 2012 16:18:31 +0000 (18:18 +0200)]
Use new ObjectStringIdentifier to default preference
jruesga [Tue, 2 Oct 2012 23:42:50 +0000 (01:42 +0200)]
Improve DiskUsageGraph layout
jruesga [Tue, 2 Oct 2012 23:03:20 +0000 (01:03 +0200)]
Improve dialog layouts
jruesga [Tue, 2 Oct 2012 22:31:11 +0000 (00:31 +0200)]
Provider and model for associations (file, intents, ...)
jruesga [Mon, 1 Oct 2012 23:31:30 +0000 (01:31 +0200)]
for code style
jruesga [Mon, 1 Oct 2012 23:29:18 +0000 (01:29 +0200)]
Use hand-written counted loop for increase performance
http://developer.android.com/guide/practices/performance.html#foreach
jruesga [Mon, 1 Oct 2012 23:10:51 +0000 (01:10 +0200)]
Avoid use of internals getters and setters
http://developer.android.com/guide/practices/performance.html#internal_get_set
jruesga [Mon, 1 Oct 2012 23:07:25 +0000 (01:07 +0200)]
Remove synthetic-access for better access performance
http://developer.android.com/guide/practices/performance.html#package_inner
jruesga [Mon, 1 Oct 2012 22:40:06 +0000 (00:40 +0200)]
Shell improvements
* Change the shell console to better detect the cancel of a async
program
* Create start control command to clean buffer before start a new
command
* Add device specific buffer size
* Improve ListCommand, using Java to get the parent folder.
* Compute folder is disabled by default.
* Correct some bugs when using root directory
jruesga [Sun, 30 Sep 2012 23:27:58 +0000 (01:27 +0200)]
Some providers + Some actions
* Create new Bookmarks provider (database + providers). Replace old
shared preferences based.
* New actions "Add to bookmarks" (global + fso).
* Initial support for "open" and "open with" actions.
* Clean up
jruesga [Sun, 30 Sep 2012 17:35:56 +0000 (19:35 +0200)]
Global actions: Properties and Refresh
New global actions for show properties of the current folder and refresh
the current folder
jruesga [Sun, 30 Sep 2012 16:28:00 +0000 (18:28 +0200)]
Add refresh listener to SearchActivity
jruesga [Sun, 30 Sep 2012 16:09:06 +0000 (18:09 +0200)]
Delete file/folder action
jruesga [Sun, 30 Sep 2012 16:08:46 +0000 (18:08 +0200)]
Clean up
jruesga [Sun, 30 Sep 2012 15:22:07 +0000 (17:22 +0200)]
Reload fso prior to show actions dialog
Reload the fso reference prior to display the actions dialog of the
item, and remove from the listview if the item not exists.
jruesga [Sun, 30 Sep 2012 14:56:00 +0000 (16:56 +0200)]
ListCommand: Prevent to raise exception
Prevent to raise an exception if the absolute path can't be retrieved
from console. Instead of, use Java functions to try to resolve parent
path prior to raise the exception.
jruesga [Sun, 30 Sep 2012 14:20:37 +0000 (16:20 +0200)]
/etc menu is showing open and open with actions
Show open and open with only when the fso is not a directory, system
file or symlink to one of this. Apply to mime/type also.
jruesga [Sun, 30 Sep 2012 14:09:24 +0000 (16:09 +0200)]
More mime/types and drawables
jruesga [Sun, 30 Sep 2012 09:23:46 +0000 (11:23 +0200)]
More polished "Document" drawables
jruesga [Sun, 30 Sep 2012 00:02:22 +0000 (02:02 +0200)]
New setting for "compute folder statistics" option
jruesga [Sat, 29 Sep 2012 23:39:06 +0000 (01:39 +0200)]
Fix commands
* Fix cancelable commands
* New pid_shell and pid_cmd command
* New FolderUsage command
* New compute folder statistics in fso properties
* Add overlay file for device specific stuff
* Fix invalid executable drawable
* Clean up
jruesga [Sat, 29 Sep 2012 16:17:43 +0000 (18:17 +0200)]
Add category to mime/type raw file
jruesga [Sat, 29 Sep 2012 16:16:20 +0000 (18:16 +0200)]
Rename certificate drawable to security
jruesga [Sat, 29 Sep 2012 09:36:42 +0000 (11:36 +0200)]
Use a timeout to release the exit status
Release the exit flag after 3500 millis, so after this timeout the
exit flag is reseted and the toast is shown again to the user
jruesga [Fri, 28 Sep 2012 23:24:32 +0000 (01:24 +0200)]
Mime types and drawables
jruesga [Fri, 28 Sep 2012 14:10:16 +0000 (16:10 +0200)]
Use a highlighted text for overflow menu
jruesga [Fri, 28 Sep 2012 13:50:21 +0000 (15:50 +0200)]
Add show actions to list of default long-click actions