OSDN Git Service

android-x86/packages-apps-CMFileManager.git
11 years agoUpdate Russian Translation-CMFileManager-CM10.1
pvolkov [Sat, 12 Jan 2013 17:44:34 +0000 (21:44 +0400)]
Update Russian Translation-CMFileManager-CM10.1

Update Russian Translation-CMFileManager

11 years agoAdd ability to toggle .nomedia file in storage locations
Nathan Grebowiec [Mon, 7 Jan 2013 21:23:30 +0000 (15:23 -0600)]
Add ability to toggle .nomedia file in storage locations

Patchset 1) Initial commit
Patchset 2) Fixed tabs and whitespace
Patchset 3) Moved everything to the properties dialog
Patchset 4) Clean up
Patchset 5) Added check for .nomedia dir
Patchset 6) Tab cleanup
Patchset 7)
    Rebase
    Regorganize FsoPropertiesDialog
    Refresh navigation listview if a .nomedia file was created or deleted
    Use FileHelper.deleteFolder instead of DeleteDirCommand
    Mark/Unmark checkbox when user response no or an error occurs (let checkbox as his initial status)
    Internationalize error messages
    Fix nomedia layout id
    Use match_layout instead of fill_parent (deprecated)
    Ensure that the fso is a canonical path
    Use File.exists() to detect the present of .nomedia
    Theme nomedia label
    Format code and clean Up
    Remove W.I.P
Patchset 8)
    Align .nomedia layout
    Split toggleNoMediaFile logic
    Ask user if .nomedia file is not empty
    Fix typos
Patchset 9) Fix typo

Change-Id: I048d1da75f24230380aa7503f2d2c9ad95f9b873

11 years agoMerge "Added missing hungarian translation" into cm-10.1
Marco Brohet [Thu, 10 Jan 2013 15:37:12 +0000 (07:37 -0800)]
Merge "Added missing hungarian translation" into cm-10.1

11 years agoMerge "CMFileManager: fixed typo in romanian translation" into cm-10.1
Marco Brohet [Thu, 10 Jan 2013 15:34:35 +0000 (07:34 -0800)]
Merge "CMFileManager: fixed typo in romanian translation" into cm-10.1

11 years agoAdded missing hungarian translation
Tamás Tóth [Thu, 10 Jan 2013 12:24:47 +0000 (13:24 +0100)]
Added missing hungarian translation

Change-Id: I5afacd2975c5396122c3cd8b763f20a61f42b36f

11 years agoCMFM: Fix typo
Jorge Ruesga [Wed, 9 Jan 2013 22:50:37 +0000 (23:50 +0100)]
CMFM: Fix typo

Change-Id: Ib42a83bde4611ba4bdd661a45b1dda6d25c58cdb
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoMerge "CMFM: Do not use cd and pwd commands" into cm-10.1
Jorge Ruesga [Wed, 9 Jan 2013 22:06:23 +0000 (14:06 -0800)]
Merge "CMFM: Do not use cd and pwd commands" into cm-10.1

11 years agoCMFileManager: fixed typo in romanian translation
igoriok [Wed, 9 Jan 2013 20:13:35 +0000 (22:13 +0200)]
CMFileManager: fixed typo in romanian translation

Change-Id: I031a4306a6f07a84c0772414564d8f05e74e1f4e
Signed-off-by: igoriok <igor_sorocean@hotmail.com>
11 years agoCMFileManager: Dutch translations
Marco Brohet [Mon, 7 Jan 2013 11:32:56 +0000 (12:32 +0100)]
CMFileManager: Dutch translations

Change-Id: I2ac748fd2678d7634741c0209b8887c1f73ca0b9

11 years agoCMFM: Do not use cd and pwd commands
Jorge Ruesga [Tue, 8 Jan 2013 23:56:18 +0000 (00:56 +0100)]
CMFM: Do not use cd and pwd commands

Remove cd and pwd commands and use / as working directory for shell process (this commands
are not used). This prevents that storage volumes from get busy on unmount file systems.
Signed-off-by: jruesga <jorge@ruesga.com>
Change-Id: I772866c00233351f505b61f53d43bac5de02a5e4

11 years agoMerge "CMFM: Ignore stderr from stat list command" into cm-10.1
Jorge Ruesga [Tue, 8 Jan 2013 23:14:39 +0000 (15:14 -0800)]
Merge "CMFM: Ignore stderr from stat list command" into cm-10.1

11 years agoCMFM: Ignore stderr from stat list command
Jorge Ruesga [Tue, 8 Jan 2013 22:19:21 +0000 (23:19 +0100)]
CMFM: Ignore stderr from stat list command

We don't need "No such file or directory" from path/.* or path/* because
is previously checked by ls, and it is only returned when no matches were found,
which indeed it is not an error.
Signed-off-by: jruesga <jorge@ruesga.com>
Change-Id: I4fa0ef947a30e42a4cccd0c95855c4953a34e874

11 years agoCMFM: Fix race condition
Jorge Ruesga [Tue, 8 Jan 2013 21:52:25 +0000 (22:52 +0100)]
CMFM: Fix race condition

Change-Id: I3ed0d38665b12aa39313c55f7daaa63bd80875a0
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoCMFM: Read hidden files with new stat listing method
Jorge Ruesga [Mon, 7 Jan 2013 22:41:36 +0000 (23:41 +0100)]
CMFM: Read hidden files with new stat listing method

Change-Id: I421586d8deb4e59b6b2abb80ed7c846479f3bd2d
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoMerge "CMFM: Fix FC caused by accessing ui outside of UI thread" into cm-10.1
Jorge Ruesga [Mon, 7 Jan 2013 21:55:29 +0000 (13:55 -0800)]
Merge "CMFM: Fix FC caused by accessing ui outside of UI thread" into cm-10.1

11 years agoCMFM: Fix FC caused by accessing ui outside of UI thread
Jorge Ruesga [Mon, 7 Jan 2013 21:45:27 +0000 (22:45 +0100)]
CMFM: Fix FC caused by accessing ui outside of UI thread

Patchset 2: Formatting

Change-Id: I1323b4f92a64dd23afe4aa28d3569ce01d72c039
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoCMFM: Fix AsyncResultProgram deadlock
Jorge Ruesga [Mon, 7 Jan 2013 21:41:26 +0000 (22:41 +0100)]
CMFM: Fix AsyncResultProgram deadlock

Change-Id: Idd32ef7902eaf86e573728f7e442c281a47249fc
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoCMFM: es_ES - update missing translations
Jorge Ruesga [Mon, 7 Jan 2013 12:35:52 +0000 (13:35 +0100)]
CMFM: es_ES - update missing translations

Change-Id: I47c6f5c9d9958b294068092539b7257e43178ce7
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoMerge "CMFM: Fix sync object" into cm-10.1
Jorge Ruesga [Mon, 7 Jan 2013 11:27:19 +0000 (03:27 -0800)]
Merge "CMFM: Fix sync object" into cm-10.1

11 years agoMerge "CMFM: Fix NPE when parent dir is null" into cm-10.1
Jorge Ruesga [Mon, 7 Jan 2013 11:26:59 +0000 (03:26 -0800)]
Merge "CMFM: Fix NPE when parent dir is null" into cm-10.1

11 years agoMerge "CMFM: Fix navigation view fade effect" into cm-10.1
Jorge Ruesga [Mon, 7 Jan 2013 11:26:40 +0000 (03:26 -0800)]
Merge "CMFM: Fix navigation view fade effect" into cm-10.1

11 years agoCMFM: Display new fso datetimes props
Jorge Ruesga [Sun, 6 Jan 2013 18:52:53 +0000 (19:52 +0100)]
CMFM: Display new fso datetimes props

Add to FsoPropertiesDialog the new fso datetimes properties:
- Last accessed
- Last modified
- Last changed

Remove old fso_properties_dialog_date string from translations.

Change-Id: I881658ae0fbc6c935995ffb4ad7a02172d06bb2c
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoMerge "CMFM: Use filesystem type instead of auto on remount" into cm-10.1
Jorge Ruesga [Mon, 7 Jan 2013 10:43:05 +0000 (02:43 -0800)]
Merge "CMFM: Use filesystem type instead of auto on remount" into cm-10.1

11 years agoCMFM: Fix sync object
Jorge Ruesga [Sun, 6 Jan 2013 23:22:18 +0000 (00:22 +0100)]
CMFM: Fix sync object

Change-Id: I32db52a17fa1c0a3f31010e16b5cf2a697be7f6d
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoCMFM: Fix NPE when parent dir is null
Jorge Ruesga [Sun, 6 Jan 2013 22:57:10 +0000 (23:57 +0100)]
CMFM: Fix NPE when parent dir is null

Change-Id: Ic31130412d332a486df7e0e891f6097e2d1f9276
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoCMFM: Use filesystem type instead of auto on remount
Jorge Ruesga [Sun, 6 Jan 2013 20:21:06 +0000 (21:21 +0100)]
CMFM: Use filesystem type instead of auto on remount

Use the filesystem type obtained from /proc/mounts to remount the filesystem
instead of use the auto type

Change-Id: I791e099a51fec1f9f75ce94a3e879b8a6f594e4e
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoCMFM: Fix navigation view fade effect
Jorge Ruesga [Sun, 6 Jan 2013 19:57:15 +0000 (20:57 +0100)]
CMFM: Fix navigation view fade effect

Use OnRelaunchCommandResult listener to finish the fade effect instead of doing in
the async task, to ensure that cancels and failures results will finalize the fade effect.

Change-Id: I872a4f468670dc425d96c9c7dfd5fe05b8d86b89
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoMerge "CMFileManager: Dutch translations" into cm-10.1
Marco Brohet [Sun, 6 Jan 2013 19:29:38 +0000 (11:29 -0800)]
Merge "CMFileManager: Dutch translations" into cm-10.1

11 years agoCMFileManager: Dutch translations
Marco Brohet [Sun, 6 Jan 2013 11:58:23 +0000 (12:58 +0100)]
CMFileManager: Dutch translations

Change-Id: If75a666185b0b5cae56632b552a818da5c70bb9c

11 years agoMerge "CMFM: Fix name and parent for root directory" into cm-10.1
Jorge Ruesga [Sun, 6 Jan 2013 15:13:29 +0000 (07:13 -0800)]
Merge "CMFM: Fix name and parent for root directory" into cm-10.1

11 years agoCMFM: Fix name and parent for root directory
Jorge Ruesga [Sun, 6 Jan 2013 13:09:42 +0000 (14:09 +0100)]
CMFM: Fix name and parent for root directory

Change-Id: I56aed1dff9fda651e30d0eb29e488d3736e42900
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoCMFM: Fix filesystem and fso dialog layouts
Jorge Ruesga [Sun, 6 Jan 2013 13:06:39 +0000 (14:06 +0100)]
CMFM: Fix filesystem and fso dialog layouts

Change-Id: Ie48a897a1fdae74f34fb7f4ea004b95821ab177e
Signed-off-by: jruesga <jorge@ruesga.com>
11 years agoCMFM: Fixes and Improvements
Jorge Ruesga [Sat, 5 Jan 2013 17:07:56 +0000 (18:07 +0100)]
CMFM: Fixes and Improvements

* 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>
11 years agoMerge "Update Russian Translation-CMFileManager-CM10.1" into cm-10.1
Jorge Ruesga [Sat, 5 Jan 2013 15:23:29 +0000 (07:23 -0800)]
Merge "Update Russian Translation-CMFileManager-CM10.1" into cm-10.1

11 years agoAdd mime type for exported settings of K9.
Danny Baumann [Thu, 3 Jan 2013 15:50:31 +0000 (16:50 +0100)]
Add mime type for exported settings of K9.

There should be quite a number of our users who have those files.

Change-Id: I6e7a7c7893349bbf8bb095ae46467f35b2bfc09d

11 years agoMerge "Fall back to showing all files for unknown mime types." into cm-10.1
Jorge Ruesga [Fri, 4 Jan 2013 23:06:57 +0000 (15:06 -0800)]
Merge "Fall back to showing all files for unknown mime types." into cm-10.1

11 years agoFall back to showing all files for unknown mime types.
Danny Baumann [Thu, 3 Jan 2013 15:48:13 +0000 (16:48 +0100)]
Fall back to showing all files for unknown mime types.

It's better to let the user select among all files than not presenting
him any files at all.

Patchset 2: simplify the logic
Patchset 3: Revert to patchset 1. Verify mime type regexp name instead of mime type name.

Change-Id: I372f00cccce1c9bb69d5d2668bb33c7882580e08

11 years agoUpdate Russian Translation-CMFileManager-CM10.1
pvolkov [Fri, 4 Jan 2013 18:35:39 +0000 (22:35 +0400)]
Update Russian Translation-CMFileManager-CM10.1

11 years agoCMFileManager: Updated menu strings to reduce confusion regarding copy & move
Roman Barczyński [Wed, 2 Jan 2013 20:38:58 +0000 (21:38 +0100)]
CMFileManager: Updated menu strings to reduce confusion regarding copy & move

Changed menu strings should help users understand that files will be moved
to current folder.

msgs_operation_not_allowed_in_current_directory change should make clear
that it is "move a to a" issue rather than missing root access or insufficient
privileges.

Change-Id: I007bbec91c89f5e0eb4caefc721cfb6facdd0a0f

11 years agoPT-BR: Fixes to translation
Gustavo [Sun, 30 Dec 2012 20:59:07 +0000 (12:59 -0800)]
PT-BR: Fixes to translation

Change-Id: I02052951410184c53cbf8615552ab5037a942ff0

11 years agoCMFileManager: Dutch translations
Marco Brohet [Fri, 28 Dec 2012 10:03:35 +0000 (11:03 +0100)]
CMFileManager: Dutch translations

Change-Id: Ifad1b5eb6247df1d8a1850725e6d357a058f60be

11 years agoCMFileManager: Add RealVideo and Matroska mime-types
Jorge Ruesga [Sun, 23 Dec 2012 10:15:45 +0000 (11:15 +0100)]
CMFileManager: Add RealVideo and Matroska mime-types

Change-Id: I4886cd713f18b2f9c961237cc9ec84e53bc35f6b

11 years agoMerge "Fix german translation for disk usage warning level." into cm-10.1
Jorge Ruesga [Sat, 22 Dec 2012 15:08:20 +0000 (07:08 -0800)]
Merge "Fix german translation for disk usage warning level." into cm-10.1

11 years agoFix german translation for disk usage warning level.
Danny Baumann [Sat, 22 Dec 2012 12:17:48 +0000 (13:17 +0100)]
Fix german translation for disk usage warning level.

Change-Id: Ide793be814c8bf214f45d7f423220f765fd69ec0

11 years agoCMFileManager: Make groups command optional
Jorge Ruesga [Sun, 16 Dec 2012 01:31:38 +0000 (02:31 +0100)]
CMFileManager: Make groups command optional

Groups command command is causing problems on some implementations (maybe toolbox?)
which don't recognize the root AID and returns an error, and avoid to get root access.

Patchset 2: Fix typo

Change-Id: Idc17b18c34b8be263a1739dbad2921f60101fa09

11 years agoCMFileManager: Change manifests to API 17
Jorge Ruesga [Tue, 11 Dec 2012 23:11:51 +0000 (00:11 +0100)]
CMFileManager: Change manifests to API 17

Change project manifests to match AOSP 4.2 (API 17)

Change-Id: I2f66a185d8a78612ad7e542ed10c52e49c9eaeef

11 years agoIssue 6795: File Manager selected file actions vanish on navigation to parent directory
Jorge Ruesga [Wed, 5 Dec 2012 22:15:39 +0000 (23:15 +0100)]
Issue 6795: File Manager selected file actions vanish on navigation to parent directory

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6795

The issue is relate to back navigation (nor to ahead navigation). In this case the history
parcelable info data is recovery (which has a invalid selection data).
On back navigation, replace the selection data parcelable info with the current selection
of the navigation view.
Added notifyDataSetChanged() when toogle visibility, needed to refresh the view and repaint
the items.

Change-Id: Ib281c6fbc33274f6e81cc6b588cde420d6ceb19f

11 years agoupdated italian translation
Giulio Cervera [Mon, 3 Dec 2012 10:56:29 +0000 (11:56 +0100)]
updated italian translation

Change-Id: Ia788ea90c7841803b587a0892c17da2fa6c4ef18

11 years agoIssue 6769: The bottom bar of pop-up boxes in CM File Manager should be “Done” or...
Jorge Ruesga [Mon, 3 Dec 2012 22:13:52 +0000 (23:13 +0100)]
Issue 6769: The bottom bar of pop-up boxes in CM File Manager should be “Done” or “OK” rather than “Cancel”

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6769

Changed "Cancel" to "Ok" in FsoPropertiesDialog and FilesystemInfoDialog.

Change-Id: Id92ea897afae69e059da661a13350bc7020509c4

11 years agoCMFileManager: pt-pt translations
João Ventura [Sun, 25 Nov 2012 15:59:07 +0000 (15:59 +0000)]
CMFileManager: pt-pt translations

Patchset 1: initial translations
Patchset 2: dark theme translation

Change-Id: I3e2873f4574207eddfe5666180521d79a1c19e34

11 years agoPT-BR: Added missing translations + Issue 6676 fix
Gustavo [Fri, 23 Nov 2012 02:55:01 +0000 (18:55 -0800)]
PT-BR: Added missing translations + Issue 6676 fix

jruesga: Fix themes/res/values-pt-rBR/strings.xml file mode to 0644

Change-Id: I3ddefe0ef5c71314f17845df0db4a3fa022e6ec2

11 years agoIssue 6743: CM FileManager can't recognize file types if named with capital suffix
Jorge Ruesga [Tue, 27 Nov 2012 23:39:07 +0000 (00:39 +0100)]
Issue 6743: CM FileManager can't recognize file types if named with capital suffix

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6743

Added case compare to extension and mime/types.

Change-Id: I394472e03b5a92590088fdebbb75dd13ee4bade2

11 years agoIssue 6722: CM File Manager can not Play/Start files recorded with CM embedded Soundr...
Jorge Ruesga [Sun, 25 Nov 2012 19:53:23 +0000 (20:53 +0100)]
Issue 6722: CM File Manager can not Play/Start files recorded with CM embedded Soundrekorder

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6722

Updated "video/3gpp" and "video/3gpp2" mime/types extensions

Change-Id: I5c04a582ea5f961dd6387602613d5b2248a9ff5e

11 years agoCMFileManager: Add Japanese translation
Takuo Kitame [Thu, 22 Nov 2012 04:55:59 +0000 (13:55 +0900)]
CMFileManager: Add Japanese translation

 - Initial Japanese translation for FileManager.
 - patch-2: Add translation for theme.
 - patch-3: Revised translation for theme.

Change-Id: Ie234334b2c09e2093976410046bdc990acd8ad9d

11 years agoCMFileManager: Fix quickfoldersearch command for files with whitespaces
Jorge Ruesga [Sat, 24 Nov 2012 20:58:21 +0000 (21:58 +0100)]
CMFileManager: Fix quickfoldersearch command for files with whitespaces

This change fixed the quickfoldersearch command used by InlineAutocompleteTextView
widget, when retrieve items with some whitespace in its name.
Replace awk by cut command, and redirect stderr output of ls to /dev/null.

Change-Id: Id039e573dc5e6ae5755b3251f014f34cd104f426

11 years agoCMFileManager: Compress type selection dialog has an invalid background
Jorge Ruesga [Sat, 24 Nov 2012 19:59:25 +0000 (20:59 +0100)]
CMFileManager: Compress type selection dialog has an invalid background

The background dialog for selecting the compression type has an invalid color.
The valid color is the background color of the dialog.

Change-Id: Ib5ecf1c59e5c99ccd6ed8707646b718ca88dbcd9

11 years agoCMFileManager: PickerActivity: debug requested paremeters
Jorge Ruesga [Sat, 24 Nov 2012 19:40:12 +0000 (20:40 +0100)]
CMFileManager: PickerActivity: debug requested paremeters

Add requested parameters to logcat for better debugging.

Change-Id: I52e362ca8ad4b3687b78ee92e18e3015a6e645e0

11 years agoCMFileManager: Formatting
Jorge Ruesga [Sat, 24 Nov 2012 19:31:09 +0000 (20:31 +0100)]
CMFileManager: Formatting

Change-Id: Ia3e72bdad1882afbb151d2f04340a1af88c20682

11 years agoCMFileManager: Check shell commands on startup
Jorge Ruesga [Mon, 19 Nov 2012 23:17:36 +0000 (00:17 +0100)]
CMFileManager: Check shell commands on startup

This change improved the detection of CM rooted devices with support for all the
commands used by CMFM. In case of one of this command was not detected, the app start
in chrooted-java mode (with limited support).

Change-Id: Ie0f61d74f9619f476ea517c1b3c03ec453e033f3

11 years agoCMFileManager: Escape $ on prepared arguments
Jorge Ruesga [Thu, 22 Nov 2012 01:44:45 +0000 (02:44 +0100)]
CMFileManager: Escape $ on prepared arguments

Escape $ character when passing arguments to shell. xe: create new file with  name "$My Documents"

Change-Id: I939d830beaa4c372aa679f3d27f7c691a29c421e

11 years agoCMFileManager: Add Greek translation
Michael Bestas [Mon, 19 Nov 2012 20:29:36 +0000 (22:29 +0200)]
CMFileManager: Add Greek translation

Patchset 2: Remove untranslatable strings

Patchset 3: Add missing themes translation

Change-Id: Ica0afe84cdd9fac9c243c817eb407a5d098e2410

11 years agoCMFileManager: updated romanian translation
igoriok [Wed, 21 Nov 2012 17:38:53 +0000 (19:38 +0200)]
CMFileManager: updated romanian translation

Change-Id: Ie230346ac607626432a41bcc36ad445ac16da520
Signed-off-by: igoriok <igor_sorocean@hotmail.com>
11 years agoCMFileManager: Fix ReadCommand incompatible buffer
Jorge Ruesga [Mon, 19 Nov 2012 23:05:35 +0000 (00:05 +0100)]
CMFileManager: Fix ReadCommand incompatible buffer

Replace Reader buffer for InputStream buffer for avoid incomplatible char[] -> byte[] conversion.

Change-Id: Ic916f55e5b0be96d1b4ffef36ddd5d5858ea3fdc

11 years agoUpdate Hungarian translations
Tamás Tóth [Mon, 19 Nov 2012 09:17:56 +0000 (10:17 +0100)]
Update Hungarian translations

Change-Id: Iaccfae69ced0570d61661858d8803d0630826fd8

11 years agoIssue 6606: CM File Manager will not Remember Selection for "Open With" menu
Jorge Ruesga [Sun, 18 Nov 2012 03:08:59 +0000 (04:08 +0100)]
Issue 6606: CM File Manager will not Remember Selection for "Open With" menu

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6606

This patch makes the next changes:

* Make the internal editor exportable. Now it can be treated as another activity and can be mark
  as preferred activity, but only for text/* and some text mime/types. For undefined mime/types
  categories, the internal editor is still used in a non preferred mode (internal editor cannot
  be marked as preferred)
* When the internal editor in a non preferred mode is selected, 'remember' checkbox is hidden.
* Improve preferred activity resolution
* Allow clear a preferred activity on the open with dialog (when 'remember' checkbox is unchecked)
* For better compatibility, the internal editor now ignores the ACTION_EDIT action, so opened
  files are always editables (with the exception of binary files that they are opened always as
  read-only)
* Improved onIntentSelected with better NPE and internal editor checks

Change-Id: Ie42990a6c0ccbdd4bfab6ec23ae27cc808cac7b7

11 years agoCMFileManager: AOSP GET_CONTENT_DATA compatibility
Jorge Ruesga [Sat, 17 Nov 2012 00:56:01 +0000 (01:56 +0100)]
CMFileManager: AOSP GET_CONTENT_DATA compatibility

This change brings compatibility to GET_CONTENT_DATA for AOSP apps when
using the PickerActivity:

* Detect crop extra; use the com.android.camera.action.CROP action of Gallery3d
to crop and return the requested image. This gets compatilibity for example with
the contacts app, when a user try to set the image of a contact.
* Detect android.provider.MediaStore.Audio.Media.EXTRA_MAX_BYTES; when this extra
is present the PickerActivity only display (and allow select) files with a size lower
than requested.
* Detect Intent.EXTRA_LOCAL_ONLY; useless until CMFM allow access remote file systems.

Change-Id: I1020458505b236653e869ec1c1f532dd6d686633

11 years agoCMFileManager: Fix Typo
invisiblek [Tue, 11 Dec 2012 15:58:35 +0000 (09:58 -0600)]
CMFileManager: Fix Typo

Change-Id: I159e434573698e5e437aa63783a233cb96046f46

11 years agoCMFileManager: fr_FR - Remove unnecessary translatable string
Jorge Ruesga [Sun, 18 Nov 2012 03:35:48 +0000 (04:35 +0100)]
CMFileManager: fr_FR - Remove unnecessary translatable string

See comment on http://review.cyanogenmod.org/#/c/26616/

Change-Id: I71eafaad82c41bed56166518490f4dcd4d4d20a9

11 years agoCMFileManager: fr_FR - Remove unnecessary translatable tag
Jorge Ruesga [Sun, 18 Nov 2012 02:41:18 +0000 (03:41 +0100)]
CMFileManager: fr_FR - Remove unnecessary translatable tag

See comment on http://review.cyanogenmod.org/#/c/26417/8

Change-Id: I493dd23bc6987aa23d4c2758cc68733e27696fba

11 years agoMerge "CMFileManager : French translation correction" into jellybean
Jorge Ruesga [Sat, 17 Nov 2012 20:32:48 +0000 (12:32 -0800)]
Merge "CMFileManager : French translation correction" into jellybean

11 years agoCMFileManager : French translation correction
DelPETER [Tue, 13 Nov 2012 22:15:45 +0000 (23:15 +0100)]
CMFileManager : French translation correction

Patch 5: No-break spaces, update typo, more understandable, ...
Patch 6: Add themes
Patch 7: Dark theme, fichiers, ...

Change-Id: I092625fe29534c24f02476c8cafc9a81d79d67f1

11 years agoFix possible NPE, and log path of "not found" commands
Tanguy Pruvot [Sat, 17 Nov 2012 00:47:24 +0000 (01:47 +0100)]
Fix possible NPE, and log path of "not found" commands

Patchset 2: Added more log from https://github.com/tpruvot/android_packages_apps_CMFileManager/commit/6634611ba820f2a2c90f6ed9a7658f1d076bb32c

Change-Id: I1612e16b7e144f688909501434230f7e55d5d459

11 years agoCMFileManager: Remove duplicate code
Jorge Ruesga [Sat, 17 Nov 2012 01:04:40 +0000 (02:04 +0100)]
CMFileManager: Remove duplicate code

Remove duplicate code for creation of privileged console

Change-Id: I124286f6f33385f8c0faa98406b12fba67310775

11 years agoMerge "Issue 6624: CM File manager: Mount RW does not work if i slide the slider...
David van Tonder [Fri, 16 Nov 2012 00:48:15 +0000 (16:48 -0800)]
Merge "Issue 6624: CM File manager: Mount RW does not work if i slide the slider from ro to rw." into jellybean

11 years agoMerge "CMFileManager: Overlay activity must use overlay style" into jellybean
David van Tonder [Fri, 16 Nov 2012 00:43:48 +0000 (16:43 -0800)]
Merge "CMFileManager: Overlay activity must use overlay style" into jellybean

11 years agoMerge "CMFileManager: Fix invalid resource on create shortcut" into jellybean
David van Tonder [Fri, 16 Nov 2012 00:42:54 +0000 (16:42 -0800)]
Merge "CMFileManager: Fix invalid resource on create shortcut" into jellybean

11 years agoMerge "CMFileManager: Fixes for non-rooted devices" into jellybean
David van Tonder [Fri, 16 Nov 2012 00:40:43 +0000 (16:40 -0800)]
Merge "CMFileManager: Fixes for non-rooted devices" into jellybean

11 years agoCMFileManager: Fix invalid resource on create shortcut
Jorge Ruesga [Thu, 15 Nov 2012 22:56:40 +0000 (23:56 +0100)]
CMFileManager: Fix invalid resource on create shortcut

Resource must be drawable and not string. Otherwise the resource is not found
and shortcut is not created.
activities

Change-Id: I6f526b2e8ca4458e6fa8b1bd80667e153f664cec

11 years agoCMFileManager: Overlay activity must use overlay style
Jorge Ruesga [Thu, 15 Nov 2012 22:47:31 +0000 (23:47 +0100)]
CMFileManager: Overlay activity must use overlay style

Use FileManager.Theme.Holo.Light.Overlay and FileManager.Theme.Holo.Overlay for overlay
activities

Change-Id: I722b77e85753a81d360c87abc6b377acdbd147fd

11 years agoIssue 6624: CM File manager: Mount RW does not work if i slide the slider from ro...
Jorge Ruesga [Thu, 15 Nov 2012 20:52:00 +0000 (21:52 +0100)]
Issue 6624: CM File manager: Mount RW does not work if i slide the slider from ro to rw.

Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6624
Changed onClickListener for OnCheckedChangeListener for the switch control.
The OnCheckedChangeListener listener handles both events: click and slide.

Change-Id: I9b8c81d4d7489fce2cbef1f4799a12266cb14acf

11 years agoUpdate Hungarian translations
Buga Dániel [Wed, 14 Nov 2012 17:15:49 +0000 (18:15 +0100)]
Update Hungarian translations

Updated some Hungarian strings to be a bit easier to understand.
Added Dark Theme strings.

Change-Id: Id1469ee5a6f042ee875712e976775ce8e7c51720

11 years agoMerge "CMFileManager: updated romanian translation" into jellybean
Jorge Ruesga [Tue, 13 Nov 2012 20:57:03 +0000 (12:57 -0800)]
Merge "CMFileManager: updated romanian translation" into jellybean

11 years agoCMFileManager: updated romanian translation
igoriok [Mon, 12 Nov 2012 16:36:35 +0000 (18:36 +0200)]
CMFileManager: updated romanian translation

Change-Id: Ief7f6e63dd1f1eeacbbd55670a58e08e45fc1ed9
Signed-off-by: igoriok <igor_sorocean@hotmail.com>
11 years agoCMFileManager: Fixes for non-rooted devices
Jorge Ruesga [Tue, 13 Nov 2012 00:57:16 +0000 (01:57 +0100)]
CMFileManager: Fixes for non-rooted devices

Various fixes for non-rooted devices running under java console:

 * Improve navigation (caching unsused data on chrooted mode: aids, mountpoints, ...)
 * Editor: Don't ask user to gain privileges (non rooted devices never can gain privileged access)
 * Move common file operations to FileHelper
 * MoveCommand: As shell console, java console doesn't allow to move between filesystems. Use
   a copy-delete operation when renameTo is not allowed.
 * On non-rooted devices, not allow to change to other access mode.

Change-Id: I7ae8b4f4203fc8a20f498e43f45c0a956731b02e

11 years agoMerge "CMFileManager: Simplified Chinese Translations" into jellybean
Jorge Ruesga [Mon, 12 Nov 2012 22:09:34 +0000 (14:09 -0800)]
Merge "CMFileManager: Simplified Chinese Translations" into jellybean

11 years agoMerge "CMFileManager: Updated italian translation" into jellybean
Jorge Ruesga [Mon, 12 Nov 2012 21:33:03 +0000 (13:33 -0800)]
Merge "CMFileManager: Updated italian translation" into jellybean

11 years agoCMFileManager: Updated italian translation
rheeze [Mon, 12 Nov 2012 13:16:29 +0000 (14:16 +0100)]
CMFileManager: Updated italian translation

Added strings to match change:
"CMFileManager: Themes support + Dark theme"

Change-Id: I81fac139d38bdfbc01ca916bc97a19c58238c0a4

11 years agoGerman: Update translation
elektroschmock [Sun, 11 Nov 2012 21:42:48 +0000 (22:42 +0100)]
German: Update translation

Patch set 1 - Translation for: Theme support & Dark theme
              http://review.cyanogenmod.org/#/c/26279/4
Patch set 2 - Fix derp. Add translation for dark theme
Patch set 3 - Changed and shortend wording
Patch set 4 - Minor fix to be in line with the other translations

Change-Id: I4f41c0589a06b6edf8000bc148ace1bd227f4083

11 years agoMerge "es_ES: Added new translations" into jellybean
Jorge Ruesga [Mon, 12 Nov 2012 19:36:03 +0000 (11:36 -0800)]
Merge "es_ES: Added new translations" into jellybean

11 years agoes_ES: Added new translations
djMesias [Mon, 12 Nov 2012 11:39:32 +0000 (12:39 +0100)]
es_ES: Added new translations

PatchSet 2: Added Dark Theme translations
PatchSet 3: Translated theme's names

Change-Id: I9f965829b168c500fe4eba54c099dc7829de6612

11 years agoUpdate Russian Translation-CMFileManager-Themes support-CM10
pvolkov [Mon, 12 Nov 2012 13:08:36 +0000 (17:08 +0400)]
Update Russian Translation-CMFileManager-Themes support-CM10

11 years agoAdded hungarian traslation for CMFileManager (Done)
Tamás Tóth [Mon, 12 Nov 2012 09:18:18 +0000 (10:18 +0100)]
Added hungarian traslation for CMFileManager (Done)

Change-Id: Ia04ff9c9410f2302edf13a5c009583d1ae901762

11 years agoCMFileManager: Simplified Chinese Translations
Andrew Jiang [Mon, 12 Nov 2012 00:06:27 +0000 (19:06 -0500)]
CMFileManager: Simplified Chinese Translations

Added translations for the new themes feature.

Change-Id: I57ea6f9ed9172f05680574c925d706aee39be3b4

11 years agoCMFileManager: updated Czech translation
lipisak [Sun, 11 Nov 2012 21:40:37 +0000 (22:40 +0100)]
CMFileManager: updated Czech translation

Added new strings for Themes settings

Patchset 2: added translation for DarkTheme

Change-Id: If7e42fe2cc66648488e068eef81eae2c0e11e04b

11 years agoCMFileManager: Themes support + Dark theme
Jorge Ruesga [Sat, 10 Nov 2012 22:11:21 +0000 (23:11 +0100)]
CMFileManager: Themes support + Dark theme

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

11 years agoCMFileManager: Fix translation strings
Jorge Ruesga [Sat, 10 Nov 2012 12:48:55 +0000 (13:48 +0100)]
CMFileManager: Fix translation strings

Fix translation strings (license, ellips, ...)

Change-Id: Ie9270f93cf1f991372c2407702f67f1b3751c002

11 years agoMerge "PT-BR: Initial translation" into jellybean
David van Tonder [Fri, 9 Nov 2012 03:41:36 +0000 (19:41 -0800)]
Merge "PT-BR: Initial translation" into jellybean

11 years agoMerge "CMFileManager: update German translation" into jellybean
David van Tonder [Thu, 8 Nov 2012 22:57:36 +0000 (14:57 -0800)]
Merge "CMFileManager: update German translation" into jellybean

11 years agoMerge "CMFileManager: initial romanian translation" into jellybean
David van Tonder [Thu, 8 Nov 2012 22:53:31 +0000 (14:53 -0800)]
Merge "CMFileManager: initial romanian translation" into jellybean

11 years agoUpdate Russian Translation-CMFileManager (fix typo)-CM10
pvolkov [Thu, 8 Nov 2012 17:32:45 +0000 (21:32 +0400)]
Update Russian Translation-CMFileManager (fix typo)-CM10