OSDN Git Service

android-x86/packages-apps-CMFileManager.git
11 years agoCheck size of assets to conform Android design guidelines (issues #12
jruesga [Thu, 25 Oct 2012 23:12:51 +0000 (01:12 +0200)]
Check size of assets to conform Android design guidelines (issues #12
and #15)

11 years agoRemove unused drawables (issue #11)
jruesga [Thu, 25 Oct 2012 22:34:48 +0000 (00:34 +0200)]
Remove unused drawables (issue #11)

11 years agoAdd smooth scrollbar to execution dialog
jruesga [Thu, 25 Oct 2012 22:31:36 +0000 (00:31 +0200)]
Add smooth scrollbar to execution dialog

11 years agoAdd EXEC mime category to editor
jruesga [Thu, 25 Oct 2012 22:31:06 +0000 (00:31 +0200)]
Add EXEC mime category to editor

11 years agoNew image for the actions button (issue #11)
jruesga [Thu, 25 Oct 2012 21:50:33 +0000 (23:50 +0200)]
New image for the actions button (issue #11)

* Added a new image for actions menu item on navigation view and search
results
* Remove action menu from icons layout mode. Now the default
long-click action is show actions menu (Default long-click setting
doesn't apply to this layout)

11 years agoAdd cancel button to dialogs
DvTonder [Thu, 25 Oct 2012 21:29:46 +0000 (17:29 -0400)]
Add cancel button to dialogs

Change-Id: Ib32320fe4ae7878a245a7e74e2ddc0d0ef3fb90b

11 years agoFix copyright
jruesga [Thu, 25 Oct 2012 19:59:31 +0000 (21:59 +0200)]
Fix copyright

11 years agoAdded a check for detect binary files.
jruesga [Thu, 25 Oct 2012 19:57:20 +0000 (21:57 +0200)]
Added a check for detect binary files.

Once a binary file is detected, the editor change his mode to read-only

11 years agoFix Inverted variable
jruesga [Thu, 25 Oct 2012 19:12:45 +0000 (21:12 +0200)]
Fix Inverted variable

11 years agoSupport of Internal Editors (Issue #4)
jruesga [Thu, 25 Oct 2012 18:36:09 +0000 (20:36 +0200)]
Support of Internal Editors (Issue #4)

* This changes add a internal editor to view and edit root and non-root
files.
* Also add the logic to add internal editors to Associations Dialog
without make persistent the user selection.

11 years agoTypo
jruesga [Thu, 25 Oct 2012 00:59:21 +0000 (02:59 +0200)]
Typo

11 years agoBetter search related strings
DvTonder [Thu, 25 Oct 2012 00:34:04 +0000 (21:34 -0300)]
Better search related strings

11 years agoMore strings cleanup
DvTonder [Thu, 25 Oct 2012 00:24:11 +0000 (21:24 -0300)]
More strings cleanup

11 years agoMerge branch 'master' of git+ssh://git@github.com/jruesga/CMExplorer.git
jruesga [Thu, 25 Oct 2012 00:10:23 +0000 (02:10 +0200)]
Merge branch 'master' of git+ssh://git@github.com/jruesga/CMExplorer.git

11 years agoFix issue #9
jruesga [Thu, 25 Oct 2012 00:07:17 +0000 (02:07 +0200)]
Fix issue #9

Remove double separator from overflow menu.

11 years agoFix issue #3
jruesga [Thu, 25 Oct 2012 00:05:09 +0000 (02:05 +0200)]
Fix issue #3

Change writable execution to allow leave the filesystem mounted, because
write, compress and uncompress operation need it mounted until the
operation is complete. Create a wrapper over the async listener to
detect the end of the execution.

11 years agoMerge pull request #13 from jruesga/dvt
DvTonder [Wed, 24 Oct 2012 23:58:19 +0000 (16:58 -0700)]
Merge pull request #13 from jruesga/dvt

Update settings and strings to conform to design guidelines

11 years agoUpdate settings and strings to conform to design guidelines
DvTonder [Wed, 24 Oct 2012 23:55:14 +0000 (19:55 -0400)]
Update settings and strings to conform to design guidelines

Change-Id: I2d80eb37130c83777ab11d232898dcb2c18af45a

11 years agoReset buffers after data is parsed
jruesga [Wed, 24 Oct 2012 22:17:51 +0000 (00:17 +0200)]
Reset buffers after data is parsed

This bugs affects the all asynchronous commands. Now the received all
the buffer every time, causing duplicate info (like in search).
This changes clears the buffer every time the
"onRequestParsePartialResult" method is called.

11 years agoStrings cleanup part 2
DvTonder [Wed, 24 Oct 2012 21:58:34 +0000 (18:58 -0300)]
Strings cleanup part 2

11 years agoInitial Strings Cleanup
DvTonder [Wed, 24 Oct 2012 21:50:33 +0000 (18:50 -0300)]
Initial Strings Cleanup

11 years agoRevert "Initial strings cleanup"
DvTonder [Wed, 24 Oct 2012 21:47:52 +0000 (17:47 -0400)]
Revert "Initial strings cleanup"

This reverts commit 1538c33b6dfd5700f4f729a449ae2fec125bf749.

11 years agoInitial strings cleanup
DvTonder [Wed, 24 Oct 2012 21:46:17 +0000 (17:46 -0400)]
Initial strings cleanup

More work is needed but this covers most of the main changes

11 years agoMerge pull request #1 from DvTonder/master
DvTonder [Wed, 24 Oct 2012 20:31:10 +0000 (13:31 -0700)]
Merge pull request #1 from DvTonder/master

Naming fixes

11 years agoUpdate AndroidManifest.xml
DvTonder [Wed, 24 Oct 2012 20:29:41 +0000 (17:29 -0300)]
Update AndroidManifest.xml

Fix naming

11 years agoUpdate res/values/styles.xml
DvTonder [Wed, 24 Oct 2012 20:27:45 +0000 (17:27 -0300)]
Update res/values/styles.xml

Fix naming

11 years agoNew action "Add shortcut"
jruesga [Tue, 23 Oct 2012 23:32:48 +0000 (01:32 +0200)]
New action "Add shortcut"

This action allow to add a folder or file as a shortcut in the
device desktop.

11 years agoRemove onConfigurationChanged from Application
jruesga [Tue, 23 Oct 2012 21:18:58 +0000 (23:18 +0200)]
Remove onConfigurationChanged from Application

This is causing recreate the console on orientation and other changes.
We don't need it here.

11 years agoForce landscape as same as other activity
jruesga [Tue, 23 Oct 2012 21:17:21 +0000 (23:17 +0200)]
Force landscape as same as other activity

11 years agoDestroy the process after stream closing
jruesga [Tue, 23 Oct 2012 21:17:02 +0000 (23:17 +0200)]
Destroy the process after stream closing

11 years agoFix action menu button listener
jruesga [Tue, 23 Oct 2012 00:09:14 +0000 (02:09 +0200)]
Fix action menu button listener

When the mode of the search activity is RESTORE the menu listener was
not set, and not action is fired.
Set the listener to the adapter in RESTORE mode too.

11 years agoVoiceSearch is not showing the icon
jruesga [Tue, 23 Oct 2012 00:07:52 +0000 (02:07 +0200)]
VoiceSearch is not showing the icon

This could be a bug in CM. Need to test in a standalone app

11 years agoCleanUp
jruesga [Mon, 22 Oct 2012 23:44:02 +0000 (01:44 +0200)]
CleanUp

11 years agoComplete support for Java console (WIP)
jruesga [Mon, 22 Oct 2012 23:41:30 +0000 (01:41 +0200)]
Complete support for Java console (WIP)

* New Read and Write commands
* Remove Compress and Extract actions from ActionDialog for chrooted
mode, because this requires the use of an external library. Not
implemented for now.

11 years agoMore support for Java console (WIP)
jruesga [Mon, 22 Oct 2012 23:01:13 +0000 (01:01 +0200)]
More support for Java console (WIP)

* Remove unnecessary change onwer and permissions commands. Not used in
chrooted mode
* Fix copy command
* Improve listing fso detection
* JavaConsole: support for asynchronous command
* New find command
* New folder usage command

11 years agoAdded chrooted mode to the description of search directory
jruesga [Mon, 22 Oct 2012 22:57:41 +0000 (00:57 +0200)]
Added chrooted mode to the description of search directory

* Added chrooted mode to the description of search directory
* Expect a list or a single fso in partial results

11 years agoFix incorrect chrooted mode in user defined bookmarks
jruesga [Mon, 22 Oct 2012 22:56:12 +0000 (00:56 +0200)]
Fix incorrect chrooted mode in user defined bookmarks

11 years agoFix incorrect set of advanced setting
jruesga [Mon, 22 Oct 2012 22:55:15 +0000 (00:55 +0200)]
Fix incorrect set of advanced setting

11 years agoAdded support for Java console (WIP)
jruesga [Mon, 22 Oct 2012 01:05:28 +0000 (03:05 +0200)]
Added support for Java console (WIP)

Added initial support for Java console, a non-privileged-chrooted
console, based on a the Java api, with some unsupported operations like
(cancellation, groups, ids, ...) and limited asynchronous commands.

11 years agoUse public method to build the non-privileged console
jruesga [Sun, 21 Oct 2012 22:21:25 +0000 (00:21 +0200)]
Use public method to build the non-privileged console

11 years agoAdd mounts file to overlay. Set non translatable
jruesga [Sun, 21 Oct 2012 21:45:12 +0000 (23:45 +0200)]
Add mounts file to overlay. Set non translatable

11 years agoTypo
jruesga [Sun, 21 Oct 2012 21:22:37 +0000 (23:22 +0200)]
Typo

11 years agoTypo
jruesga [Sun, 21 Oct 2012 19:11:23 +0000 (21:11 +0200)]
Typo

11 years agoBy default don't show symlinks
jruesga [Sun, 21 Oct 2012 19:03:22 +0000 (21:03 +0200)]
By default don't show symlinks

11 years agoDon't allow advanced mode if device is not rooted
jruesga [Sun, 21 Oct 2012 19:00:19 +0000 (21:00 +0200)]
Don't allow advanced mode if device is not rooted

11 years agoExpose to the app if the device is rooted
jruesga [Sun, 21 Oct 2012 18:52:08 +0000 (20:52 +0200)]
Expose to the app if the device is rooted

11 years agoAvoid using internal commands in ShellExecutableCreator
jruesga [Sun, 21 Oct 2012 18:02:49 +0000 (20:02 +0200)]
Avoid using internal commands in ShellExecutableCreator

11 years agoFix ChRooted mode. Don't show parent directory on root storage volume.
jruesga [Sun, 21 Oct 2012 17:43:52 +0000 (19:43 +0200)]
Fix ChRooted mode. Don't show parent directory on root storage volume.

11 years agoCleanUp
jruesga [Sun, 21 Oct 2012 17:42:52 +0000 (19:42 +0200)]
CleanUp

11 years agoClose consoles when need to call to finish
jruesga [Sun, 21 Oct 2012 17:18:58 +0000 (19:18 +0200)]
Close consoles when need to call to finish

11 years agoSeparate shell files from binary/executable files
jruesga [Sun, 21 Oct 2012 17:18:27 +0000 (19:18 +0200)]
Separate shell files from binary/executable files

11 years agoFix exec command: Invalid -c option
jruesga [Sun, 21 Oct 2012 17:17:25 +0000 (19:17 +0200)]
Fix exec command: Invalid -c option

11 years agoDetect debuggable mode, and set different execution timeouts
jruesga [Sun, 21 Oct 2012 16:17:51 +0000 (18:17 +0200)]
Detect debuggable mode, and set different execution timeouts

11 years agoMinor changes to console
jruesga [Sun, 21 Oct 2012 16:09:51 +0000 (18:09 +0200)]
Minor changes to console

* Capture other exceptions to notify broken I/O threads
* Exposed if the console is active

11 years agoFix invalid message in advanced mode. Fix translations.
jruesga [Sun, 21 Oct 2012 15:40:53 +0000 (17:40 +0200)]
Fix invalid message in advanced mode. Fix translations.

11 years agoExtract destroy method of console. Remove :main from process name.
jruesga [Sun, 21 Oct 2012 15:38:01 +0000 (17:38 +0200)]
Extract destroy method of console. Remove :main from process name.

11 years agoDon't allow to change the permissions of a Symlink
jruesga [Sun, 21 Oct 2012 15:22:18 +0000 (17:22 +0200)]
Don't allow to change the permissions of a Symlink

11 years agoRename jail room terms for a more convenient chrooted
jruesga [Sun, 21 Oct 2012 14:05:48 +0000 (16:05 +0200)]
Rename jail room terms for a more convenient chrooted

11 years agoFix getFileInfo calls. The return of this function must be checked
jruesga [Sun, 21 Oct 2012 13:52:59 +0000 (15:52 +0200)]
Fix getFileInfo calls. The return of this function must be checked

11 years agoRemove support dependency
jruesga [Sun, 21 Oct 2012 12:00:26 +0000 (14:00 +0200)]
Remove support dependency

For now support-v4 is not necessary (probably in the future but not now)

11 years agoFix AssociationDialog
jruesga [Sun, 21 Oct 2012 11:51:18 +0000 (13:51 +0200)]
Fix AssociationDialog

Now AssociationDialog dialog can save the selected application. This
dialog clears the preferences for the actual preferred app and register
the selected one. This only can be done when the app is signed with the
platform certificate.

11 years agoProguard: Keep preference's classes
jruesga [Sun, 21 Oct 2012 09:44:31 +0000 (11:44 +0200)]
Proguard: Keep preference's classes

11 years agoFix size of spinners of FsoPropertiesDialog
jruesga [Sun, 21 Oct 2012 01:29:07 +0000 (03:29 +0200)]
Fix size of spinners of FsoPropertiesDialog

11 years agoFix detection of compression files without extension
jruesga [Sun, 21 Oct 2012 00:01:31 +0000 (02:01 +0200)]
Fix detection of compression files without extension

11 years agoMake StorageHelper independent from AOSP and CM10
jruesga [Sat, 20 Oct 2012 23:52:30 +0000 (01:52 +0200)]
Make StorageHelper independent from AOSP and CM10

Fix compilation issues and resolve at runtime with reflection.

11 years agoNew activity "Picker Activity"
jruesga [Sat, 20 Oct 2012 23:13:44 +0000 (01:13 +0200)]
New activity "Picker Activity"

This activity allows third party application to browse and get the
content using GET_CONTENT action and a mime/type.
This activity used the NavigationView in jail room mode and it's only
capable of pick a file (actions like open or others are not permitted)

* CleanUp

11 years agoJail room mode
jruesga [Sat, 20 Oct 2012 18:13:05 +0000 (20:13 +0200)]
Jail room mode

This is the mode by default of the application. This change create an
non-privileged space (like a jail) from which the user can not exit,
This zone is the storage volumes.
This hides all advanced functionalities that could give access to
another filesystem zones and actions that could damage the system.

* CleanUp

11 years agoFix transparent inverted color
jruesga [Sat, 20 Oct 2012 15:35:25 +0000 (17:35 +0200)]
Fix transparent inverted color

11 years agoRevert check_on_normal_inverted drawable
jruesga [Sat, 20 Oct 2012 15:27:31 +0000 (17:27 +0200)]
Revert check_on_normal_inverted drawable

11 years agoRemove obsolete resource
jruesga [Sat, 20 Oct 2012 11:22:20 +0000 (13:22 +0200)]
Remove obsolete resource

11 years agoCleanUp
jruesga [Sat, 20 Oct 2012 11:20:54 +0000 (13:20 +0200)]
CleanUp

11 years agoWelcome message
jruesga [Sat, 20 Oct 2012 11:20:24 +0000 (13:20 +0200)]
Welcome message

11 years agoCleanUp
jruesga [Sat, 20 Oct 2012 10:48:10 +0000 (12:48 +0200)]
CleanUp

11 years agoNew search action "Open parent"
jruesga [Sat, 20 Oct 2012 00:09:31 +0000 (02:09 +0200)]
New search action "Open parent"

11 years agoNew fso and global actions "Compress" and "Compress selection" + CleanUp
jruesga [Fri, 19 Oct 2012 23:38:23 +0000 (01:38 +0200)]
New fso and global actions "Compress" and "Compress selection" + CleanUp

11 years agoNew drawables for compression mime/type and dialog icon
jruesga [Fri, 19 Oct 2012 23:36:11 +0000 (01:36 +0200)]
New drawables for compression mime/type and dialog icon

11 years agoReorganize ActionsPolicy to make it clearly
jruesga [Fri, 19 Oct 2012 16:24:02 +0000 (18:24 +0200)]
Reorganize ActionsPolicy to make it clearly

11 years agoNew fso action "Extract"
jruesga [Thu, 18 Oct 2012 23:05:28 +0000 (01:05 +0200)]
New fso action "Extract"

11 years agoFix uncompress command bugs
jruesga [Thu, 18 Oct 2012 23:04:55 +0000 (01:04 +0200)]
Fix uncompress command bugs

11 years agoAdd a method to check if the current console is privileged
jruesga [Thu, 18 Oct 2012 23:03:41 +0000 (01:03 +0200)]
Add a method to check if the current console is privileged

11 years agoAdd zip as a supported uncompress method
jruesga [Thu, 18 Oct 2012 23:03:11 +0000 (01:03 +0200)]
Add zip as a supported uncompress method

11 years agoCheck getFileInfo is null
jruesga [Thu, 18 Oct 2012 23:02:29 +0000 (01:02 +0200)]
Check getFileInfo is null

11 years agoNew uncompress command
jruesga [Wed, 17 Oct 2012 22:50:03 +0000 (00:50 +0200)]
New uncompress command

11 years agoCleanUp
jruesga [Wed, 17 Oct 2012 22:49:33 +0000 (00:49 +0200)]
CleanUp

11 years agoAdd new compress mime/type formats
jruesga [Wed, 17 Oct 2012 22:49:08 +0000 (00:49 +0200)]
Add new compress mime/type formats

11 years agoNew compress command
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

11 years agoCleanUp comment
jruesga [Tue, 16 Oct 2012 23:24:59 +0000 (01:24 +0200)]
CleanUp comment

11 years agoResolve extension of tar.gz, tar.bz2 and tar.lzma
jruesga [Tue, 16 Oct 2012 19:53:01 +0000 (21:53 +0200)]
Resolve extension of tar.gz, tar.bz2 and tar.lzma

11 years agoRemove older comments
jruesga [Tue, 16 Oct 2012 19:52:07 +0000 (21:52 +0200)]
Remove older comments

11 years agoNew action "Execute"
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

11 years agoAdd clear history to HistoryActivity menu
jruesga [Sun, 14 Oct 2012 00:48:55 +0000 (02:48 +0200)]
Add clear history to HistoryActivity menu

11 years agoAdd file category to fso properties dialog
jruesga [Sat, 13 Oct 2012 23:34:03 +0000 (01:34 +0200)]
Add file category to fso properties dialog

11 years agoFix incorrect call to parsePartialResult (for async programs)
jruesga [Sat, 13 Oct 2012 22:56:30 +0000 (00:56 +0200)]
Fix incorrect call to parsePartialResult (for async programs)

11 years agoBetter handling of FolderUsage
jruesga [Sat, 13 Oct 2012 22:54:57 +0000 (00:54 +0200)]
Better handling of FolderUsage

11 years agoList command requires do no check No such file or directory when error
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

11 years agoVarious: new commands and buffer management
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.

11 years agoFix problem with buffered readers and writers (don't use)
jruesga [Fri, 12 Oct 2012 21:43:16 +0000 (23:43 +0200)]
Fix problem with buffered readers and writers (don't use)

11 years agoAllow to programs request write to the stdout
jruesga [Fri, 12 Oct 2012 21:39:46 +0000 (23:39 +0200)]
Allow to programs request write to the stdout

11 years agoEnvironment.getRootDirectory doesn't return the root directory
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.

11 years agoFix TestCases
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