Commit Graph

627 Commits

Author SHA1 Message Date
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
tibbi c079bbb699 use MyScalableRecyclerView from Commons 2017-06-20 22:30:22 +02:00
tibbi 9d17c5a568 add a Select All button 2017-06-20 20:39:13 +02:00
tibbi dc595c5a0e refactor ItemsAdapter 2017-06-19 23:26:19 +02:00
tibbi 8c9f7bf050 fix #64, ask for SD card write permission at creating new items 2017-06-19 21:16:31 +02:00
tibbi c65f960704 update commons to 2.21.4 2017-06-19 18:16:08 +02:00
tibbi e60e3e043e add some proguard rules for keeping line numbers 2017-06-14 23:11:13 +02:00
tibbi a65426499e update commons, kotlin, gradle 2017-06-14 23:10:46 +02:00
Lukáš Hajn f19c0b6143 Czech translation 2017-05-28 14:54:33 +02:00
aligitor 59bf1e9380 Updated hu (Hungarian) translation
Commit made via Stringlate
2017-04-25 09:37:32 +02:00
tibbi 61aeb4b875 update version to 2.2.2 2017-04-24 19:08:37 +02:00
tibbi 333cacfd03 fix #61, properly show root folder content 2017-04-24 19:03:54 +02:00
tibbi fee95bd35c update version to 2.2.1 2017-04-19 21:16:34 +02:00
tibbi 8c457f0a4c remove the leftovers of the previous copy/move dialog 2017-04-19 21:13:36 +02:00
tibbi 69aacd57d3 use the copy function of the Commons library 2017-04-19 20:46:30 +02:00
Nikola Trubitsyn 0a1d1077a1 Finish Russian translation 2017-04-19 20:25:42 +03:00
tibbi 1e67bc9823 remove some redundant function 2017-04-18 18:13:26 +02:00
tibbi a9520ef182 reset the actMode on destroy 2017-04-17 23:12:12 +02:00
tibbi 248595cde2 adding a null check to listFiles() 2017-04-17 23:08:50 +02:00
tibbi db42e1ed26 update commons to 2.16.9 2017-04-17 23:05:54 +02:00
tibbi d781ffed15 update version to 2.2.0 2017-04-08 00:11:28 +02:00
tibbi b57c8da986 dont do anything on Home press when we are home 2017-04-08 00:11:01 +02:00
tibbi 84bc826988 update gradle and commons 2017-04-08 00:08:12 +02:00
Rodrigo 6fb203d4dc Update strings.xml 2017-03-28 17:34:36 -03:00
tibbi d2ecebba24 make activity at fillItems nullable 2017-03-28 22:32:36 +02:00
tibbi b11cf0a525 adding a brazil portuguese file 2017-03-28 20:28:15 +02:00
anthologist 06c5a71fb2 Update strings.xml 2017-03-23 14:27:53 +01:00
Sérgio Marques 467368e668 Portuguese update 2017-03-21 16:12:32 +00:00
tibbi b7815d1d44 update commons to 2.13.7 2017-03-19 20:49:05 +01:00
tibbi 3b3e920cfa use the default version of Portugal language 2017-03-19 20:06:23 +01:00
tibbi 129ce686e0 adding the sorting in release notes 2017-03-19 11:53:25 +01:00
tibbi 2f4119faac adding file sorting 2017-03-19 11:50:57 +01:00
tibbi 12d234d0d5 make item displaying asynchronous 2017-03-19 10:58:21 +01:00
tibbi c2fe859e94 change sorting by "Date taken" to "Extension" 2017-03-19 10:39:47 +01:00
tibbi 6ccd49337a add some initial sorting related things 2017-03-19 10:06:57 +01:00
tibbi 6026f39171 update version to 2.1.0 2017-03-18 20:32:08 +01:00
tibbi e39c2955e7 update Release notes 2017-03-18 20:31:39 +01:00
tibbi 3e7fec4f72 show the total file count at long press selection too 2017-03-18 20:27:54 +01:00
tibbi 348a19657e update commons to 2.13.0 2017-03-18 20:22:14 +01:00
tibbi 2d9428f19a add fastscroller 2017-03-18 20:03:45 +01:00
tibbi 402ec7d8ab show file thumbnails with glide 2017-03-18 19:57:32 +01:00
tibbi bfb79e315d update commons to 2.12.9 2017-03-18 19:54:39 +01:00
tibbi 26d7b50475 set cache type to Source at gifs 2017-03-18 19:11:29 +01:00
tibbi fde83fdc5a add a menu item for Adding favorites at the manage favorites screen 2017-03-18 19:02:08 +01:00
tibbi 54b13bb54e show a placeholder text when theres no favorite folders 2017-03-18 18:47:54 +01:00
tibbi ac4d65c69d show the Go To Favorite button only if there are any favorites 2017-03-18 18:44:35 +01:00
tibbi 9327542b7a list favorite folders in the Manage favorites activity 2017-03-18 18:41:14 +01:00
tibbi 20bfd48e3f add an activity for managing favorite items 2017-03-18 18:02:42 +01:00
tibbi f250fee69c never show Go to favorite as an action 2017-03-18 17:54:38 +01:00
tibbi e76023ee26 implement the Go To Favorite dialog 2017-03-18 17:52:40 +01:00
tibbi 3f6683ee09 do not notify dataset change on resume 2017-03-18 17:42:07 +01:00
tibbi 2f3695c753 stop loading thumbnails of recycled views 2017-03-18 17:34:47 +01:00
tibbi 7b175c2e0d refresh the icons at resume 2017-03-18 17:32:46 +01:00
tibbi fbb3f2a717 update commons and kotlin 2017-03-18 17:23:53 +01:00
tibbi e3d1633f17 add a button for Go to favorites 2017-03-18 17:09:01 +01:00