Commit Graph

581 Commits

Author SHA1 Message Date
tibbi 4b772a9bfb refresh items on resume 2017-10-23 12:54:58 +02:00
tibbi 24ae1241ca allow saving files in the file editor 2017-10-23 12:47:45 +02:00
tibbi cb4b63a836 add a Save menu button 2017-10-23 12:00:35 +02:00
tibbi b2434fb6f2 use an editable EditText at file editor 2017-10-23 11:52:26 +02:00
tibbi 5d13b65b03 make sure we have write storage permission before doing anything at editor 2017-10-23 11:38:32 +02:00
tibbi 357286f1c9 use out own method for getting mimetype from extension 2017-10-23 11:34:42 +02:00
tibbi f996cceb7a add a simple text file reader 2017-10-23 11:27:16 +02:00
tibbi a3f5d8f18d update commons to 2.30.14 2017-10-23 10:47:56 +02:00
tibbi f081f8039a handle picking multiple items at get_content too 2017-10-23 10:28:00 +02:00
tibbi 679d68fc26 handle get_content intent 2017-10-23 10:13:06 +02:00
tibbi e0703acd9d use the Commons way of determining mimetype of multiple uris 2017-10-22 22:56:40 +02:00
tibbi 2969314cc9 properly update all elements if some colors change 2017-10-22 21:34:29 +02:00
tibbi 72fb8256d1 keep updating a single fragment instead of creating new ones 2017-10-22 21:17:26 +02:00
tibbi c4ee6f868f fixing the link to the Commons repository 2017-10-22 17:46:02 +02:00
tibbi ccc1b8bade minor code style updates here and there 2017-10-22 17:40:37 +02:00
tibbi fd1faf3071 update Commons to 2.30.9 2017-10-22 17:20:16 +02:00
tibbi 44f7543ef1 make fragmentView nullable 2017-10-22 15:07:10 +02:00
tibbi feea6d3590 update build tools to 25.0.3 2017-10-22 14:57:52 +02:00
tibbi 64a671fec7 Merge branch 'master' of github.com:SimpleMobileTools/Simple-File-Manager 2017-10-18 16:19:59 +02:00
Nicola Spanti (RyDroid) 86311cd49a Translated some strings in French 2017-10-18 16:13:53 +02:00
tibbi 5645bfc9d6 use adapterPosition at the ItemsAdapter 2017-10-02 23:25:06 +02:00
tibbi a4129f1a14 store internal storage path asap 2017-10-02 21:20:21 +02:00
tibbi 5684fc273a update kotlin to 1.1.51 2017-10-02 21:17:49 +02:00
tibbi b35a8a74a0 make sure we dont trim out the slash of root folder 2017-10-02 21:11:47 +02:00
tibbi b8c1e9bdfb check if the rooted device has a Hard links column at LS command 2017-10-02 21:11:29 +02:00
tibbi f7156ace2b remove some redundant overrides 2017-10-01 22:36:59 +02:00
tibbi fbda19ecc1 update kotlin to 1.1.50 2017-09-27 22:25:42 +02:00
tibbi 81164edc27 update Commons to 2.28.7 for fingerprint protection 2017-09-27 22:25:18 +02:00
anthologist 8bcd2f8868 Updated italian 2017-09-17 11:22:44 +02:00
en2sv 5b6420eb94 Update Swedish translation 2017-09-10 10:22:31 +02:00
tibbi 1dd717898d update commons to 2.27.8 2017-09-04 19:58:07 +02:00
tibbi 44a16bf6cf update version to 2.4.0 (35) 2017-09-04 19:53:20 +02:00
tibbi 58f75e3b8a updating release notes 2017-09-04 19:50:13 +02:00
tibbi 9f69360004 add some handling for copying root items 2017-09-04 19:48:31 +02:00
tibbi 794f6cc462 make isPathOnRoot a context extension 2017-09-04 19:27:19 +02:00
tibbi 32ca1fdf70 improve root content deleting 2017-09-04 19:23:07 +02:00
tibbi 5cb9b6cc4f recheck at app launch if root permission hasnt been revoked 2017-09-04 18:58:15 +02:00
tibbi fa35107abe merge everything we need about root items into 1 command 2017-09-04 16:36:03 +02:00
tibbi 5f60827763 parse the root file sizes from the ls command 2017-09-04 11:29:11 +02:00
tibbi 1c3007d767 adding a missing import 2017-09-04 10:04:34 +02:00
Sérgio Marques f5a0371722 Update strings.xml 2017-09-03 22:51:43 +01:00
tibbi 641658ead6 properly fetch root filediritem children counts and file sizes 2017-09-03 23:05:58 +02:00
tibbi 4d5a4098b4 avoid duplicate folder initialization at app startup 2017-09-03 20:35:05 +02:00
tibbi 2532c43f7e list the root files that should be visible 2017-09-03 20:09:03 +02:00
tibbi 57aa9054f2 split file fetching between regular and root folders 2017-09-03 19:57:01 +02:00
tibbi 2ae28ca91b show the root access toggle only if root is available 2017-09-03 19:34:54 +02:00
tibbi c8d790b246 add a simple echo message at checking root access 2017-09-03 18:53:11 +02:00
tibbi 2aafa3344b add a switch for toggling root access 2017-09-03 18:26:48 +02:00
tibbi 2bf39803de move the super.commandOutput as the last function 2017-09-03 18:19:16 +02:00
tibbi 80d834e7eb add a helper function for fetching root items 2017-09-03 18:18:03 +02:00
tibbi 4ad01751af allow changing the destination of compressed file 2017-09-03 15:48:07 +02:00
tibbi 535b9ce33e catch exceptions at sharing files 2017-09-03 15:30:59 +02:00
tibbi 5f39a70be3 some updates related to file copy/move/de/compress 2017-09-03 12:59:52 +02:00
tibbi 0eb5228102 update commons to 2.27.7 2017-09-03 12:58:45 +02:00
tibbi f2628c5c1d update kotlin to 1.1.4-3 2017-09-03 11:17:42 +02:00
tibbi 9714d8cf32 add a null check at getting an sd card file output stream 2017-09-03 10:31:36 +02:00
tibbi ce63adf6f1 fix decompressing folders on sd cards 2017-09-03 10:23:32 +02:00
tibbi 21b8202fbc improve file unzipping on SD cards 2017-09-02 23:32:26 +02:00
tibbi 02acd5cc84 properly get the OutputStream at SD cards too 2017-09-02 23:02:35 +02:00
tibbi a9bf677e78 implement Decompressing 2017-09-02 22:20:35 +02:00
tibbi bc3b6ac70a show a Decompress actionmenu button when a selected file is a zip file 2017-09-02 21:30:15 +02:00
tibbi e3def060d8 add the root folder of zipped files in the zip file too 2017-09-02 20:16:11 +02:00
tibbi 5a0f6adff8 updating the code compression code 2017-09-02 17:47:21 +02:00
Sérgio Marques 74e3b95341 Update strings.xml 2017-09-01 23:01:13 +01:00
tibbi 9fa228d989 remove a duplicate part from zipping 2017-09-01 23:20:40 +02:00
tibbi b604af77ab improve the compression functionality 2017-08-31 16:11:14 +02:00
tibbi c89fcb8692 handle the compressing functionality 2017-08-31 11:18:30 +02:00
tibbi 1ef349384d add a dialog for setting the destination zip filename 2017-08-31 10:43:01 +02:00
tibbi 48d0a1885e fix sharing files 2017-08-31 09:38:46 +02:00
tibbi 3bacadac13 adding an initial implementation of compressing 2017-08-30 22:52:14 +02:00
tibbi 433d31385e misc code style updates 2017-08-30 20:53:51 +02:00
tibbi a6f6963834 adding Slovak translation + minor updates 2017-08-30 20:09:27 +02:00
tibbi 64eec1abc8 adding some Compression related strings 2017-08-30 20:01:51 +02:00
tibbi c988a8e226 update commons to 2.26.9 2017-08-30 18:22:49 +02:00
tibbi a35adc4f24 update kotlin to 1.1.4-2 2017-08-30 18:19:47 +02:00
hanjoong.cho 314331ab2a Added Korean translation 2017-08-24 17:43:52 +09:00
gregory678 45b2731580 Polish translation 2017-08-11 16:03:53 +02:00
tibbi 5c1c618d89 update version to 2.3.1 (34) 2017-08-07 22:46:07 +02:00
tibbi 902ccdabf1 add the password protection to release notes 2017-08-07 22:44:27 +02:00
tibbi acd0a559a8 disable lint for release builds 2017-08-07 22:30:47 +02:00
tibbi 5f50da2951 add a menu item for stoping temporarily showing hidden items 2017-08-07 22:28:57 +02:00
tibbi b6290c7c5e add password protection for showing hidden items 2017-08-07 22:24:07 +02:00
tibbi 9d81c1a667 add an activity check at filling items 2017-08-07 21:59:30 +02:00
Alberto Rodriguez 5c0a469528 Spanish translate
Excelente App!!
2017-07-19 20:52:10 -04:00
tibbi 035d112c1d flip "Go to favorite" and "Sort" 2017-07-12 20:29:57 +02:00
tibbi 1dcfb9e817 updating Commons and kotlin 2017-07-09 22:24:37 +02:00
en2sv ad1c1e483a Update Swedish translation 2017-07-09 20:33:58 +02:00
tibbi 0d61293a10 small edit to fetching children 2017-07-09 09:45:39 +02:00
Tibor Kaputa 2c4ef37f15 Merge pull request #75 from rsnitsch/improve_get_children_performance
Speed up directory listing by factor 4-5 by improving getChildren function
2017-07-09 09:43:46 +02:00
tibbi 49b8bd310a add the missing fastscroller vertical handle 2017-07-09 09:42:24 +02:00
Robert Nitsch 60fb26ab0a Speed up directory listing by factor 4-5 by improving getChildren function
The speed up is achieved by multiple changes:
1) Use list() instead of listFiles() function. The former only returns a String array
containing the relative pathnames, and therefore is faster and consumes less
memory.
2) The list() function should only be called once. In the previous implementation,
the function was called twice (for directories). The first time it was only checked
against null and then thrown away.
3) The Strings do not have a "isHidden" property, obviously. However, hidden
files can be easily distinguished by checking if the first character is a dot (".").

Performance tests were done in a directory with 12 sub-directories that have
about 900 children in total. The old implementation needed about 400-500 ms
to list the directory. With the new implementation, only 100ms are needed.
2017-07-08 15:11:56 +02:00
tibbi 1a1aa647c5 update commons to 2.21.15 2017-06-25 23:56:37 +02:00
tibbi 0a53d9d097 update version to 2.3.0 2017-06-25 23:56:13 +02:00
tibbi 419c1f501b add a menu button for temporarily showing hidden items 2017-06-21 23:16:23 +02:00
tibbi 362fa75b10 remove mdpi resources 2017-06-21 23:04:07 +02:00
tibbi 403615738a adding rounded launcher icon 2017-06-21 23:03:45 +02:00
tibbi f79b4d258b do not share hidden folder files if showing hidden is disabled 2017-06-21 19:37:48 +02:00
tibbi 4107d830a3 allow sharing folder content, related to #55 2017-06-21 19:27:59 +02:00
tibbi b67a9e56a2 use more advanced mimetype and action checking at sharing files 2017-06-21 18:55:55 +02:00
tibbi b27c9bb491 fix #73, add drag-selection to recycler view 2017-06-20 23:32:07 +02:00