Commit Graph

533 Commits

Author SHA1 Message Date
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 17ff2f6f78 updating changelog 2017-06-25 23:56:18 +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
Tibor Kaputa 401ab4f3e6 Merge pull request #71 from mople71/master
Czech translation
2017-05-28 21:13:22 +02:00
Lukáš Hajn f19c0b6143 Czech translation 2017-05-28 14:54:33 +02:00
tibbi 92ecf9fc26 update gradle to 2.3.2 2017-05-24 20:51:42 +02:00
Tibor Kaputa 55098d5af7 Merge pull request #69 from aligitor/master
Updated hu (Hungarian) translation
2017-04-25 09:57:31 +02:00
aligitor 59bf1e9380 Updated hu (Hungarian) translation
Commit made via Stringlate
2017-04-25 09:37:32 +02:00
tibbi 01e459d4d5 updating changelog 2017-04-24 19:08:42 +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 9e3207f1bb updating changelog 2017-04-19 21:18:02 +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
Tibor Kaputa 40ce55a55e Merge pull request #68 from trubitsyn/master
Finish Russian translation
2017-04-19 19:52:00 +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 9d7c0c74b8 updating changelog 2017-04-08 00:12:57 +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
Tibor Kaputa 8afee1f56b Merge pull request #65 from rodymacedo/patch-1
Update strings.xml
2017-03-28 22:41:03 +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
Tibor Kaputa e8eceece86 Merge pull request #63 from anthologist/master
Update italian
2017-03-23 15:02:11 +01:00
anthologist 06c5a71fb2 Update strings.xml 2017-03-23 14:27:53 +01:00