Commit graph

4934 commits

Author SHA1 Message Date
ForgottenUmbrella
9877cbaf2c Remove unreachable branches in video completion handling
It is never the case that `loopVideos == true` in the `videoCompleted` handler,
since enabling that preference sets `repeatMode`, which in turn prevents the
player from reaching `STATE_ENDED`. Thus, the branches are unreachable.
2020-01-29 01:52:44 +11:00
ForgottenUmbrella
e83db406a9 Reset progress views on video loop
The previous loop method of seeking to the beginning at video completion ensured
that the seekbar and current time text were immediately reset. Using ExoPlayer's
own implementation of video looping means that `Player.STATE_ENDED` is no longer
reached, thus the UI no longer accurately tracks progress. Restore the old
behaviour by resetting the views on position discontinuity.
2020-01-29 01:52:44 +11:00
ForgottenUmbrella
f8315438d8 Let ExoPlayer handle video looping seamlessly
Now that videos are replacing the inefficient GIF format, gapless loops are
important. ExoPlayer's built-in mechanism prebuffers the video to enable this,
whereas the current implementation of seeking to the start presents a short but
noticeable delay between each loop.

Note that this change introduces an incompatibility with current behaviour: due
to google/ExoPlayer#6459, certain videos with broken audio tracks that played
fine before will no longer start. Disabling the audio track is a workaround to
re-enable looping playback, but ExoPlayer does not appear to expose a way to
check if the audio track is short enough to produce the bug.
2020-01-29 01:52:44 +11:00
tibbi
035d0363e3 fix #1723, recognize panoramic photos by a new xml tag too 2020-01-27 23:15:47 +01:00
tibbi
3e7f99fc01 fix #1725, properly remember last video playback position, if paused 2020-01-27 23:04:18 +01:00
tibbi
f4c02d1168 fix #1545, properly sort Favorites by date taken 2020-01-27 21:22:10 +01:00
tibbi
650a985a9c make the Date Taken from Fix Date Taken value be higher priority than mediastore 2020-01-27 21:05:05 +01:00
tibbi
2517170aeb store the fixed Date Taken values in the new table 2020-01-27 20:48:37 +01:00
tibbi
665690c819 removing an unused debug function 2020-01-27 20:34:59 +01:00
tibbi
817229a697 lets set wereFavoritesMigrated earlier to avoid some crashlooping 2020-01-27 17:22:16 +01:00
tibbi
409be79489 migrate favorites in the new table on app upgrade 2020-01-27 15:17:46 +01:00
tibbi
9d2239d1c1 really clear all Favorites at deleting the given folder 2020-01-27 15:05:17 +01:00
tibbi
7b1dfb7318 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2020-01-27 14:47:38 +01:00
tibbi
86db0b8f19 fix unselecting invalid favorite items 2020-01-27 14:47:17 +01:00
Tibor Kaputa
58ccebf260
Merge pull request #1727 from AioiLight/master
Japanese translation
2020-01-26 22:14:31 +01:00
tibbi
4d7e95d72a shortening the czech app title 2020-01-26 19:18:43 +01:00
AioiLight
1c2d23c57d fix escape missing 2020-01-26 19:05:20 +09:00
AioiLight
76571aab9a updating Japanese translation(some strings) 2020-01-26 18:31:49 +09:00
AioiLight
fef507e16d updating Japanese translation(New editor strings) 2020-01-26 17:56:16 +09:00
AioiLight
ea187e117e updating the app description from original language 2020-01-26 17:22:52 +09:00
herkul-s
9607348b50
updating czech strings 2020-01-25 18:43:41 +01:00
tibbi
29a521d107 update Favorite too at updating a medium 2020-01-25 11:50:09 +01:00
tibbi
e578036a22 delete favorites at deleting media 2020-01-25 11:11:23 +01:00
tibbi
3ca8e685b8 shortening some code related to getting DAOs 2020-01-25 10:56:08 +01:00
tibbi
b9369139f1 renaming some DAO to Dao 2020-01-25 09:51:28 +01:00
tibbi
61c4db155d removing the favorite paths getting function from MediumDao 2020-01-25 09:39:56 +01:00
tibbi
a7b7881d73 moving the favorite toggling function into FavoritesDao 2020-01-25 09:34:33 +01:00
tibbi
fb0badeca5 adding a few more favorites related queries 2020-01-24 23:29:03 +01:00
tibbi
b867d2a2eb at deleting a file path from db, delete it from favorites too 2020-01-24 23:10:40 +01:00
tibbi
56d721b68a moving the isFavorite function at FavoritesDAO 2020-01-24 22:47:42 +01:00
tibbi
e93eade241 update version to 6.11.8 2020-01-19 10:51:36 +01:00
tibbi
6b95c58559 try flipping some migration lines to avoid working on nonexistent tables 2020-01-18 23:29:03 +01:00
tibbi
89790ebdfe reverting Glide back to 4.10.0 2020-01-18 23:27:40 +01:00
tibbi
90b4ab470d limit the file loading settings item label length to avoid some glitches 2020-01-18 19:06:08 +01:00
tibbi
4c080a5119 update version to 6.11.7 2020-01-16 23:29:18 +01:00
tibbi
55f55624c7 moving Nepali strings from np to ne 2020-01-16 23:29:11 +01:00
tibbi
659b808a42 update commons to 5.21.24 2020-01-16 23:16:12 +01:00
solokot
6131c7fb5d
Updated Russian language 2020-01-16 23:38:45 +03:00
tibbi
631e9dea34 adding the actual DateTaken value column 2020-01-16 21:00:37 +01:00
tibbi
f1b380e6fa rename file_name column to filename 2020-01-16 20:57:12 +01:00
tibbi
daf87be965 adding 16:10 crop ratio, used mostly on tablets 2020-01-16 18:58:55 +01:00
tibbi
8035d90e36 store the file name in the date takens and favorites tables too 2020-01-16 11:28:01 +01:00
tibbi
402fccbc21 create an own table for storing favorite items too 2020-01-16 11:26:13 +01:00
tibbi
ca6b84be81 adding an index on DateTakens table 2020-01-15 23:00:52 +01:00
tibbi
aa0c21a209 change last_fixed field in DateTakens to int 2020-01-15 22:48:43 +01:00
tibbi
2daf7e045f fix #1715, properly edit png files, do not convert them to jpgs 2020-01-15 22:42:53 +01:00
tibbi
8b02b93161 create an own table DateTakens to be used at sorting 2020-01-15 21:43:39 +01:00
tibbi
39ed883479 updating Glide to 4.11.0 2020-01-15 21:07:30 +01:00
tibbi
9a6d1535ba do not show the portrait stripe at fullscreen view 2020-01-15 20:49:44 +01:00
tibbi
e3b921db4d adding some crashfixes related to extended details 2020-01-15 20:44:31 +01:00
fricyo
2b6b46de25
Update Translation 2020-01-14 10:40:28 +08:00
tibbi
386c52a0ff fix some empty portrait photos creating blank thumbnails 2020-01-13 22:53:54 +01:00
Tibor Kaputa
aac6ef6ac1
Merge pull request #1718 from fscholdei/patch-1
Add German strings
2020-01-13 13:33:46 +01:00
Florian Scholdei
6286746b35
Add German strings 2020-01-13 12:41:46 +01:00
Tibor Kaputa
e5f6648116
Merge pull request #1716 from dipenSan/patch-1
adding Nepali Strings
2020-01-13 10:53:03 +01:00
Florian Scholdei
1f6977bd84
Update strings.xml
adding german strings
2020-01-12 21:09:32 +01:00
dipenSan
416c564658
adding Nepali Strings 2020-01-12 23:14:43 +05:45
tibbi
29352e65f0 update version to 6.11.6 2020-01-11 17:18:46 +01:00
tibbi
146b7628b7 fixing a german typo 2020-01-10 22:53:42 +01:00
tibbi
b2d0dff131 properly show the Portraits title at thumbnail grouping 2020-01-10 22:37:03 +01:00
tibbi
13a3f90595 optimize Portrait photo checking for better performance 2020-01-10 22:30:21 +01:00
tibbi
3db5db5569 updating some slovak strings 2020-01-10 21:17:15 +01:00
tibbi
fa402c24b1 allow excluding the root folder again 2020-01-10 20:21:25 +01:00
tibbi
d2aa5f9f11 fixing some double escaped newlines 2020-01-10 20:19:37 +01:00
tibbi
3185e3eea9 fix #1705, hide the keyboard at clicking path on Save As dialog 2020-01-10 19:43:35 +01:00
Tibor Kaputa
d980dc12bd
Merge pull request #1708 from hevesij/patch-15
Update strings.xml
2020-01-10 17:20:03 +01:00
Tibor Kaputa
a1a1526c78
restoring some emptylines 2020-01-10 17:19:41 +01:00
tibbi
45c262996e updating the app icon, make it flatter 2020-01-09 19:53:57 +01:00
tibbi
e68a4ae99b decode the file path UI after editing an image 2020-01-09 10:08:41 +01:00
Solatec Informàtica
d8af54b538
Update strings.xml 2020-01-07 10:33:22 +01:00
Guillaume
305264654a
Dutch 2020-01-06 19:50:04 +01:00
Hevesi János
3a10166b8a
Update strings.xml 2020-01-06 17:32:38 +01:00
spkprs
26162cc665
Update strings.xml 2020-01-06 15:24:26 +03:00
tibbi
21722b0c3a tweaking the apps short description, make it longer 2020-01-06 12:16:59 +01:00
tibbi
3055a50516 update version to 6.11.5 2020-01-04 17:50:18 +01:00
tibbi
c0194d5db6 update commons to 5.21.19 2020-01-04 17:40:30 +01:00
Tibor Kaputa
334d655e11
Merge pull request #1702 from unbranched/master
Italian translation update
2020-01-04 15:41:53 +01:00
Solatec Informàtica
f55593700f
Update strings.xml 2020-01-04 15:29:02 +01:00
unbranched
d4047e6d76 Merge branch 'master' of https://github.com/SimpleMobileTools/Simple-Gallery 2020-01-04 12:02:37 +01:00
unbranched
38bd15bd2c Italian translation update 2020-01-04 11:59:59 +01:00
tibbi
68880a4fed update commons to 5.21.17 2020-01-03 21:13:59 +01:00
tibbi
f2d4d81d1b adding a new proguard rule for renderscript 2020-01-03 19:17:07 +01:00
siswonugroho
79c5e239e9
Update Indonesian translation
Translated new editor strings
2020-01-03 18:17:08 +07:00
tibbi
9d5565be96 do not show Favorites and Recycle bin at the copy destination picker 2020-01-02 23:20:53 +01:00
tibbi
b1b9d11148 do not rely on SOURCE_IMAGE_PATH from the editor, store the original path 2020-01-02 19:25:13 +01:00
tibbi
6234050c7f fix #1668, properly delete empty folders when appropriate 2020-01-02 17:37:41 +01:00
tibbi
fbb20477d6 update commons to 5.21.14 2020-01-02 17:11:19 +01:00
Tibor Kaputa
2d90b88f18
Merge pull request #1696 from matheusvictor/master
update strings pt-BR
2020-01-02 16:57:46 +01:00
Matheus Victor
d50eaf0c6e update strings pt-BR 2020-01-02 12:33:58 -03:00
tibbi
307e887fc5 fix #1695, do not allow filtering out all file types 2020-01-02 16:30:24 +01:00
fricyo
73e035c557
Update Translation 2020-01-01 12:12:40 +08:00
Fatih Fırıncı
5e00bb6d62
Update strings.xml 2019-12-31 04:40:21 +03:00
tibbi
b910f0b640 a couple small string updates 2019-12-29 18:21:50 +01:00
AlbatorV
bf0a738133
Update strings.xml 2019-12-29 17:26:42 +01:00
AlbatorV
69bce78001
Update strings.xml 2019-12-29 15:16:08 +01:00
Tibor Kaputa
c2ed1cb080
Merge pull request #1684 from hevesij/patch-14
Update strings.xml
2019-12-29 13:33:31 +01:00
Tibor Kaputa
7489709e49
tweaking the file a bit 2019-12-29 13:29:56 +01:00
Tibor Kaputa
a4e2f1e4f3
Merge pull request #1685 from pcpepik/patch-1
Update cs strings.xml
2019-12-29 13:27:04 +01:00
tibbi
2159cee994 adding a vietnamese app translation 2019-12-29 12:22:12 +01:00
pcpepik
b80390ce8f
Update cs strings.xml
- Translate new strings to Czech
2019-12-28 16:31:19 +01:00
Hevesi János
a4f9fe4eba
Update strings.xml 2019-12-28 09:52:46 +01:00
tibbi
f8b5bd4f3c update version to 6.11.4 2019-12-27 21:59:07 +01:00
tibbi
69fb5e1977 update commons to 5.21.8 2019-12-27 21:59:00 +01:00
tibbi
6fe62ee83b move the Focus editor tool at the end, show the best tools first 2019-12-27 20:08:11 +01:00
spkprs
7be46e2d22
Update strings.xml 2019-12-27 13:56:18 +03:00
tibbi
97662e1b59 adding vietnamese strings 2019-12-27 11:45:34 +01:00
tibbi
c0cbbef748 adding a new crop aspect ratio 37:18 to be used instead of 18.5x9 2019-12-25 13:06:26 +01:00
tibbi
c8e9620651 update version to 6.11.3 2019-12-25 12:16:20 +01:00
tibbi
c48cf7c26c adding a few missed editor modules 2019-12-25 12:09:39 +01:00
tibbi
212ede449b properly handle SAF dialog in case the source of a copy/move is on sd 2019-12-24 23:37:52 +01:00
tibbi
3930f8ab6a adding a proguard rule to keep parcelables 2019-12-24 22:27:51 +01:00
tibbi
04abffddb7 show an error message if editing fails 2019-12-24 19:05:19 +01:00
solokot
27a7941533
Translate Editor module to Russian language 2019-12-24 17:31:21 +03:00
Guillaume
e076f1da3f
Dutch 2019-12-24 01:40:46 +01:00
tibbi
f54fdda014 updating the slovak strings related to the new editor 2019-12-23 23:34:10 +01:00
tibbi
2b0902aac2 removing an empty string 2019-12-23 23:27:44 +01:00
tibbi
9685d11807 found a few more strings to be translated for the new photo editor 2019-12-23 23:18:52 +01:00
FTno
eee1aebb53
Update strings.xml
Norwegian (nb) translation update
2019-12-23 12:54:01 +01:00
tibbi
91da11573d make building the app easier, do not require a release version 2019-12-22 22:58:17 +01:00
spkprs
7c22d0282e
Update strings.xml
*these commons strings showup in Eng !!! if I try close editor with changes.
190    <string name="undo_changes">Αναίρεση αλλαγών</string>
    <string name="undo_changes_confirmation">Είστε βέβαιοι ότι θέλετε να αναιρέσετε τις αλλαγές σας?</string>
    <string name="save_before_closing">Έχετε αλλαγές που δεν έχουν αποθηκευτεί. Αποθήκευση πριν από την έξοδο?</string>
2019-12-22 23:40:21 +03:00
tibbi
4dc0da9151 update version to 6.11.2 2019-12-22 11:11:32 +01:00
Tibor Kaputa
575df0cdd2
Merge pull request #1670 from smarquespt/patch-20
Update strings.xml
2019-12-21 09:45:20 +01:00
Guillaume
28ad1da058
Dutch 2019-12-21 01:31:07 +01:00
Sérgio Marques
7213ab13ce
Update strings.xml 2019-12-20 22:32:18 +00:00
tibbi
b60ee07ea4 adding 5:4 and 4:5 crop aspect ratios 2019-12-20 22:25:37 +01:00
tibbi
679a469a33 updating the slovak new editor strings 2019-12-20 22:17:21 +01:00
tibbi
57e4fe2430 adding some new editor related strings 2019-12-20 21:53:42 +01:00
tibbi
bc4b088569 removing some old editor related shared preferences 2019-12-20 21:04:58 +01:00
tibbi
9b27a8fd75 remember the last used editor brush settings 2019-12-20 21:03:19 +01:00
tibbi
2c37b23e1e adding a 19:9 aspect ratio crop too 2019-12-20 20:40:26 +01:00
tibbi
58cedd24f6 adding a 2:1 crop aspect ratio 2019-12-20 20:38:32 +01:00
tibbi
3957532c72 fix #1669, add a workaround for refreshing file thumbnail after edit 2019-12-20 19:42:28 +01:00
tibbi
f2fd6c29a7 make building the debug app version easier 2019-12-19 21:54:43 +01:00
tibbi
83c9bcc46c update version to 6.11.1 2019-12-18 11:21:41 +01:00
tibbi
74612341f3 do not use Text Design module at the editor, it takes up too much space 2019-12-18 10:13:47 +01:00
tibbi
705785d385 update version to 6.11.0 2019-12-17 23:12:18 +01:00
tibbi
98df2e84c6 changing our editor screen background to black 2019-12-17 22:58:38 +01:00
tibbi
0b5b1925af adding the new editor in release notes 2019-12-17 22:51:05 +01:00
tibbi
24266e46eb updating gestureviews and subsamplingscale 2019-12-17 22:22:36 +01:00
tibbi
99765a3735 more editor cleanup 2019-12-17 19:02:04 +01:00
tibbi
552dc97aa6 removing the unused parts of the old editor, use it only for crop intents 2019-12-17 18:44:46 +01:00
tibbi
68f9ceeea3 replacing the home made photo editor with PhotoEditorSDK 2019-12-17 18:16:30 +01:00
tibbi
0b03a23e2c update version to 6.10.8 2019-12-17 18:09:50 +01:00
Tibor Kaputa
3996202e63
Merge pull request #1667 from LuisAlfredo92/patch-1
Update strings.xml
2019-12-17 17:56:39 +01:00
tibbi
37cb4f2608 updating commons to 5.21.0 2019-12-17 17:43:52 +01:00
Luis Alfredo Figueroa Bracamontes
ceb3347031
Update strings.xml
Fix a little error
2019-12-16 21:24:27 -06:00
Luis Alfredo Figueroa Bracamontes
60772f2288
Update strings.xml
I've translated the long description of the app and corrected some things
I hope I've done it good
2019-12-16 21:06:56 -06:00
Guillaume
0b72305000
Dutch 2019-12-16 22:05:26 +01:00
tibbi
290ff6f993 adding extra null checks at extended details fetching 2019-12-16 20:54:34 +01:00
Tibor Kaputa
d730278659
Merge pull request #1664 from Solatec/patch-63
Update strings.xml
2019-12-16 18:57:33 +01:00