Commit graph

1839 commits

Author SHA1 Message Date
tibbi
014c2b951d clear Glide cache after rotating an image, to avoid some glitches 2017-11-09 13:57:24 +01:00
solokot
649a33b82a
Update strings.xml 2017-11-09 15:50:56 +03:00
tibbi
9141073ed6 try keeping old Last Modified after rotating when needed 2017-11-09 11:27:30 +01:00
Guillaume
400c693b2f
Updated Dutch 2017-11-09 01:23:14 +01:00
tibbi
4efdb1a47a fix saving rotated images on the internal storage 2017-11-08 23:40:19 +01:00
tibbi
28e1d77f1b disable GlideDecoder for now 2017-11-08 23:29:33 +01:00
tibbi
c7bbeddae8 allow password protecting the whole app 2017-11-08 23:13:02 +01:00
tibbi
43d49beca0 split the Rotate button to 3 orientations 2017-11-08 21:22:35 +01:00
tibbi
b41f1e97e6 add a button at fullscreen media for locking screen orientation 2017-11-08 21:10:43 +01:00
tibbi
1a3d52e1c2 adjusting sensitivity of rotating by Device Rotation 2017-11-08 20:46:28 +01:00
tibbi
e06c65163a add some strings related to un/locking device orientation 2017-11-08 20:43:03 +01:00
tibbi
19a0621cab let's try using GlideDecoder at fullscreen media 2017-11-08 20:35:35 +01:00
tibbi
d0f7eb9fb1 reordering some ViewPagerActivity functions 2017-11-08 12:09:48 +01:00
tibbi
3a23e2b0bf add a toggle for forcing English language, if it isnt the device language 2017-11-08 12:08:36 +01:00
Tibor Kaputa
f62ee277a4
show the "Saving..." toast only when SAF dialog is handled 2017-11-07 23:55:17 +01:00
Guillaume
9a90787dbd
Adding handleSAFDialog for EXIF rotation 2017-11-07 23:08:20 +01:00
alpenblauwtje
a57f608971
Update strings.xml
Change ´Gallerij' into correct Dutch 'Galerij'
2017-11-07 21:35:53 +01:00
tibbi
54dca20bdb initialize leak canary in debug build 2017-11-07 17:31:40 +01:00
tibbi
add3760ed2 fix #440, upgrade to Android Studio 3 2017-11-07 17:11:20 +01:00
tibbi
932fc628a3 use applicationContext at launching settings 2017-11-06 23:59:09 +01:00
tibbi
1e69561e84 use applicationContext at getting a Config instance 2017-11-06 23:54:31 +01:00
tibbi
a8f1b88859 update commons to 2.36.1 2017-11-06 21:09:56 +01:00
tibbi
283121a046 fix #428, try url encoding video path if it throws IOException 2017-11-06 18:43:36 +01:00
tibbi
733e9403dd fix #420, increase the max column count to 20 2017-11-06 17:59:54 +01:00
tibbi
5c929f43ed do the empty path check earlier at PhotoVideoActivity 2017-11-06 17:29:03 +01:00
tibbi
124d44dfb9 fix #438, properly handle GET_CONTENT intent 2017-11-06 17:17:23 +01:00
tibbi
09ff1779e8 do not grant write_uri_permission at get_content result intent 2017-11-06 16:45:40 +01:00
tibbi
f06fe6a299 make orientationEventListener nullable 2017-11-06 16:25:58 +01:00
tibbi
434b98b5e6 update commons to 2.35.7 2017-11-06 15:14:05 +01:00
Tibor Kaputa
035f1ed715
Merge pull request #437 from ltGuillaume/patch-2
Rotation button fix
2017-11-03 22:30:02 +01:00
Guillaume
b4e43d1c21
Brackets and position fixed 2017-11-03 22:05:56 +01:00
Guillaume
4844e2c2d8
One more deleteFile to remove
...now I understand `return@getFileOutputStream`.
2017-11-03 22:00:28 +01:00
Guillaume
598eeb154d
Improvements as suggested 2017-11-03 21:57:56 +01:00
Guillaume
1aa9ebe286
Rotation button fix
When rotating is initiated, show rotate button permanently to facilitate further rotation. Also, prevent accidental click on Delete when the option "replace share with rotate" is enabled.
2017-11-03 21:36:17 +01:00
Guillaume
63d39b589a
Working EXIF lossless on Internal & SD
Tested and works on both Internal Storage and External SD cards
2017-11-03 17:01:13 +01:00
tibbi
2ada4af2bf catch exceptions thrown by GifDrawable, load them as simple jpgs 2017-11-02 16:23:20 +01:00
Primokorn
ef284691dd
Update FR strings.xml 2017-11-02 10:30:35 +01:00
tibbi
9d8dd61dfa style update + wrap gifDrawables in try/catch 2017-11-02 09:43:49 +01:00
Sérgio Marques
56c9d09975
Update strings.xml 2017-11-01 22:41:51 +00:00
tibbi
b72686cefd updating the way photos are rotated and saved 2017-11-01 23:38:19 +01:00
Guillaume
1cecff008c
OCD :-P 2017-11-01 16:12:27 +01:00
Guillaume
5294997eef
Merge pull request #2 from SimpleMobileTools/master
isJpg()
2017-11-01 14:58:20 +01:00
Guillaume
76a9dfe6c7
.isJpg() 2017-11-01 14:52:49 +01:00
Guillaume
fdc1063838
Update ViewPagerActivity.kt
- Removed  `mRotationDegrees != 0f` check, because save buttton wouldn't have shown anyway
- Check if output file is written
- Added helpers functions (with `.toString()` instead of using `""+`)
2017-11-01 14:51:11 +01:00
tibbi
cb7d9ea108 adding a Malay strings file 2017-11-01 12:05:04 +01:00
Guillaume
25bd77bd12
Lossless rotation
Possible issue: even though most EXIF tags keep their original value, some of them are changed by android.media.ExifInterface. it.sephiroth.android.library.exif2.ExifInterface did the same, but to different values and/or with different results.
2017-11-01 04:52:29 +01:00
Phoenix1747
4157f1fb11
Update strings.xml 2017-10-31 14:38:05 +01:00
Oleg A
fc5e8cb9db
Update strings.xml 2017-10-30 23:06:32 +03:00
Tibor Kaputa
a68d4155b4
Merge pull request #423 from ltGuillaume/master
Uniformity between apps
2017-10-30 19:44:45 +01:00
Guillaume
4701e58b0e
Uniformity between apps 2017-10-30 19:41:47 +01:00
Pzqqt
25e5279696
Update strings.xml 2017-10-30 16:00:33 +08:00
Rodrigo
0fdd03cda2
Update strings.xml 2017-10-30 00:07:46 -02:00
tibbi
c20a814100 use the Keep last-modified setting text from Commons 2017-10-29 22:20:13 +01:00
tibbi
27476a0735 lets show Set As and Edit button at videos too, why not 2017-10-29 20:19:12 +01:00
tibbi
4c80ba98fb move a couple more intent handling to the Commons library 2017-10-29 19:08:45 +01:00
tibbi
437390cfa3 create a shareUris extension for sharing multiple media 2017-10-29 18:37:38 +01:00
tibbi
02dfcd63c0 reuse shareUri at shareMedium 2017-10-29 18:35:08 +01:00
tibbi
73856e6769 reuse the OpenFile intent handling from Commons 2017-10-29 18:28:28 +01:00
tibbi
972a1d4a39 show Properties button at PhotoVideoActivity only with file content uri 2017-10-29 12:51:04 +01:00
tibbi
809d9b81a2 some corrections to loading gifs 2017-10-29 12:27:26 +01:00
tibbi
b421dc273f replace MEDIUM constant with PATH in some intents 2017-10-29 11:41:31 +01:00
tibbi
d52eb60611 use REAL_FILE_PATH from the commons library 2017-10-29 11:26:14 +01:00
tibbi
96a5ead186 make mUri in PhotoVideoActivity nullable 2017-10-29 10:34:37 +01:00
tibbi
de1c418f78 catch exceptions thrown at getting mimetype from uri 2017-10-29 10:29:57 +01:00
Guillaume
b966b79b73
New string 2017-10-29 05:55:11 +01:00
tibbi
4f2b05c2a0 adding the new toggle to Whats New 2017-10-28 22:04:53 +02:00
tibbi
788885227a added a fake drag check at slideshow 2017-10-28 22:02:17 +02:00
tibbi
1dad41fdf7 show an error if the user tries sharing too much data 2017-10-28 19:56:33 +02:00
tibbi
75c9d28547 make sure the video fragment still exists when the video completes 2017-10-28 19:05:51 +02:00
tibbi
883e3ad6c1 add a check if the owner file from extended details exists 2017-10-28 19:04:30 +02:00
tibbi
b1019af51b fix #320, make orientation by "Device rotation" less sensitive 2017-10-28 18:39:26 +02:00
tibbi
7390a02589 remove some redundant imports 2017-10-28 17:55:36 +02:00
tibbi
05dfced1bc add a toggle in Settings to set keeping last-modified value 2017-10-28 17:50:50 +02:00
tibbi
729eb36ca5 do not set videoFragment visibility to false on pause 2017-10-28 16:22:44 +02:00
tibbi
f3eec9135c add a string for keeping old last-modified at copy/move/rename 2017-10-28 14:16:40 +02:00
tibbi
977edc1f34 some cleanup around thumbnail loading 2017-10-28 14:11:01 +02:00
tibbi
4b4869e845 init the viewpager orientation listener earlier 2017-10-28 13:46:53 +02:00
tibbi
4fedc05571 use GifDrawables at thumbnails too 2017-10-28 13:27:50 +02:00
tibbi
1c3aab82ff use a simple ImageView at photo fragments 2017-10-28 12:56:57 +02:00
tibbi
286955ab83 replace PhotoView with GifDrawable
it will replace zoomable gifs with smooth gifs
2017-10-28 11:02:02 +02:00
Tibor Kaputa
05386e4720
Merge pull request #415 from ltGuillaume/master
Dutch: 1 correction (string was too long)
2017-10-28 09:08:27 +02:00
Guillaume
9468a00657
1 correction (was too long) 2017-10-28 05:45:30 +02:00
tibbi
84263a3b10 never force chooser at Edit intent 2017-10-27 14:08:50 +02:00
tibbi
c9f6668fc1 force an app chooser at some openFile intents 2017-10-27 14:08:33 +02:00
tibbi
b6a266d436 always set saveUri at editor activity 2017-10-27 14:02:11 +02:00
tibbi
b3427c57ab adding a properties menu button to photovideoactivity 2017-10-27 11:47:00 +02:00
tibbi
0b352f1bc0 add a null check to intent extras at photovideoactivity 2017-10-27 10:56:36 +02:00
tibbi
c520c8c557 send real filepath as an extra with View intent 2017-10-27 10:54:49 +02:00
tibbi
4c0b773e94 handle sd card files with the fileprovider too 2017-10-27 10:40:21 +02:00
tibbi
98bee4022e replace sending real_file_path with extra_output at the editor 2017-10-27 10:34:16 +02:00
tibbi
f0af8777a3 send the real file path with edit intent 2017-10-27 10:07:58 +02:00
tibbi
b98b6e6cb9 add Set As to the media thumbnails view 2017-10-27 09:36:41 +02:00
tibbi
8e8c0b127d add an Open With menu button to media thumbnails view 2017-10-27 09:33:17 +02:00
tibbi
fa2a237593 update target SDK to 26 and handle fileprovider 2017-10-26 23:43:13 +02:00
tibbi
8686022c89 set initial mIsFragmentVisible to true at third party intents 2017-10-26 17:24:52 +02:00
Sérgio Marques
1d3ac6afb9 Update strings.xml 2017-10-26 13:28:01 +01:00
tibbi
7f10f67c7b fix #386, automatically append "_1" after the filename when saving in editor 2017-10-26 10:10:11 +02:00
tibbi
65f147bc01 updating Show Media Count german trnaslation 2017-10-25 22:06:34 +02:00
tibbi
e8645f34b7 use a color constant for setting adaptive icon background color 2017-10-25 17:57:10 +02:00
Tibor Kaputa
8f9688ec18 Merge pull request #410 from fiepi/master
add oreo adaptive icon
2017-10-25 17:54:28 +02:00
Tibor Kaputa
67e0616fd6 Merge pull request #409 from gcalzo/patch-1
Update strings.xml
2017-10-25 15:45:53 +02:00
Guillaume
c6c0fe9236 Dutch translation 2017-10-25 13:44:20 +02:00
fiepi
ba014d3293 add oreo adaptive icon 2017-10-25 18:17:58 +08:00
gcalzo
f3d1feb141 Update strings.xml
Translated the newest strings
2017-10-25 11:27:52 +02:00
tibbi
4220d32bfc remove a double closing tag at polish translation 2017-10-25 09:38:22 +02:00
gregory678
0140d222dd Updates for 2.16 2017-10-25 00:28:28 +02:00
tibbi
54515b47d8 adding the Folder media count toggle to Whats new 2017-10-24 23:36:44 +02:00
tibbi
3e7d67a3a2 update commons, use our custom map for determining file mimetype 2017-10-24 22:57:04 +02:00
tibbi
7ad578ec2e make sure we are selecting existing indexes at media and directory adapters 2017-10-24 22:20:50 +02:00
tibbi
498cd10ba6 add a medium null check at scrollStateChanged trigger 2017-10-24 21:53:28 +02:00
tibbi
aca83d7fad hide the Extended details if text is empty 2017-10-24 21:18:33 +02:00
tibbi
06b3c728ce no need to update last modified manually afer renaming on internal storage 2017-10-23 23:52:37 +02:00
tibbi
baed126550 fix some video playback issues on Android 7 2017-10-23 21:30:24 +02:00
tibbi
012e091349 minor code cleanup at videofragment 2017-10-23 19:39:43 +02:00
Pzqqt
a866014deb Update strings.xml 2017-10-24 01:16:52 +08:00
tibbi
5cd3fdf57f implement the Show Media Count toggle functionality 2017-10-23 17:26:33 +02:00
tibbi
2a2b77fc6b add a string for toggling media count visibility on main screen 2017-10-23 17:04:44 +02:00
tibbi
11e60390cf revert a chinese translation, it messes the string order
This reverts commit 83d4e75f0e.
2017-10-23 17:03:20 +02:00
tibbi
208d005139 update commons to 2.31.1 2017-10-23 12:09:55 +02:00
Tibor Kaputa
d8d11f3ebc Merge branch 'master' into patch-6 2017-10-23 08:42:50 +02:00
Rodrigo
4738d83340 Update strings.xml 2017-10-22 23:29:46 -02:00
Rodrigo
c39ad62fbf Update strings.xml 2017-10-22 23:10:55 -02:00
tibbi
608292a357 update Commons and use its way of getting mimetype of multiple uris 2017-10-22 22:57:53 +02:00
tibbi
a4b24a7deb update Commons for easy runtime permissions handling 2017-10-21 19:40:46 +02:00
xin
38e978a024 Update French translation 2017-10-21 11:18:52 +00:00
tibbi
801c7329f5 updating some German strings 2017-10-20 23:30:34 +02:00
Pzqqt
f0d46fbf76 New chinese translation for v2.16.0 2017-10-20 23:30:30 +08:00
Pzqqt
83d4e75f0e Chinese translation for v2.16.0 2017-10-20 23:14:45 +08:00
tibbi
f2538baceb updating release notes 2017-10-19 21:31:23 +02:00
tibbi
0400612f86 replace some GlobalLayoutListeners with the helper view extension 2017-10-19 21:24:32 +02:00
tibbi
fd6f709aac add a variable name for delete confirmation callback return value 2017-10-19 21:07:24 +02:00
tibbi
0c408f6cf0 add a checkbox for skiping confirmation dialog at delete in a session 2017-10-19 21:03:19 +02:00
tibbi
5441457611 do not finish the actionmode right after a delete attempt, because of saf 2017-10-19 20:25:56 +02:00
tibbi
1d56b2ac8b show a more specific error message when creating .nomedia file fails 2017-10-19 19:18:36 +02:00
tibbi
2dbbc2bbdb add an extra check at creating .nomedia file on the SD card 2017-10-19 19:13:12 +02:00
tibbi
7132e09047 allow selecting Cover photo from any folder 2017-10-19 18:08:37 +02:00
tibbi
021a1cbf74 rewrite the mediapicker dialog, make it work like picking directories 2017-10-19 17:24:14 +02:00
tibbi
906168c6b5 filter out videos from directory cover images immediately 2017-10-19 17:05:59 +02:00
tibbi
7fe9a27b84 fix #141, properly handle extended details view at toggling fullscreen 2017-10-19 15:49:27 +02:00
tibbi
bb9b194d2c recheck extended details if some fields changed 2017-10-19 14:17:38 +02:00
tibbi
d78068d697 display only the wanted extended details fields 2017-10-19 14:14:09 +02:00
tibbi
3f008960de add the dialog for customizing extended details 2017-10-18 23:38:35 +02:00
tibbi
3fffe1eef1 properly show/hide extended details after toggle 2017-10-18 22:00:27 +02:00
tibbi
2e339f08e4 show extended details at photos/videos if appropriate 2017-10-18 21:54:08 +02:00
tibbi
90e3d6c6f5 add a toggle for showing extended details over fullscreen media 2017-10-18 19:34:31 +02:00
tibbi
3033f611a1 allow sorting items by path 2017-10-18 17:56:14 +02:00
tibbi
f015984385 remove a Directory helper function addSize 2017-10-18 17:41:20 +02:00
Sérgio Marques
d0aca1024c Update strings.xml 2017-10-15 23:10:58 +01:00
datzuma
678d8b2d8e Added Finnish translations 2017-10-14 19:32:37 +03:00
xin
9f1e41d471 Update French translation 2017-10-13 16:51:13 +00:00