1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 19:31:30 +00:00
Commit graph

192 commits

Author SHA1 Message Date
Simon Frei
6de42634b3
Bump ndk to 25 2022-11-27 22:17:55 +01:00
Simon Frei
2942072594
Compile and target SDK version 31, increase min Sdk to 21 (#1864)
The upgraded compile SDK requires an upgrade of gradle, which introduces a
build error with api lvl <21:
   > Error while processing [...]/app/src/main/res/drawable/ic_close_24dp.xml :
     Invalid color value ?attr/colorControlNormal
Explanation: https://stackoverflow.com/a/49501629

Also minor NDK update
2022-11-27 20:27:54 +01:00
Simon Frei
abbe8afd2d
Set ndk path automatically in gradle (#1741) 2021-12-08 10:55:50 +01:00
Simon Frei
43a26ed855
build with java 11 2021-07-07 11:19:34 +02:00
dependabot-preview[bot]
4b5c393c07
Bump gradle-versions-plugin from 0.26.0 to 0.36.0
Bumps [gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin) from 0.26.0 to 0.36.0.
- [Release notes](https://github.com/ben-manes/gradle-versions-plugin/releases)
- [Commits](https://github.com/ben-manes/gradle-versions-plugin/compare/v0.26.0...v0.36.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-14 17:51:23 +02:00
dependabot-preview[bot]
d657bfdc09
Bump dependencies (AndroidX, com.github.triplet.play 2.7.5, gradle 3.6.3) (#1491)
* Bump com.github.triplet.play from 2.5.0 to 2.7.5

Bumps com.github.triplet.play from 2.5.0 to 2.7.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix com.github.triplet.play dependency setup

* gradle-wrapper.properties: Update gradle 6.0.1 > 6.2.2

from: 5ad55348b8

* build.gradle: Update "com.android.tools.build:gradle" from 3.5.3 to 3.6.3

* gradle.properties: + android.useAndroidX=true

* Migrate to AndroidX: import androidx.databinding.DataBindingUtil

* Create setenv.cmd

* Fix lint error: RtlCompat

Right-to-left text compatibility issues
../../src/main/res/layout/activity_firststart_slide1.xml:46: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 43             android:paddingLeft="@dimen/desc_padding"
 44             android:paddingRight="@dimen/desc_padding"
 45             android:text="@string/welcome_text"
 46             android:textAlignment="center"

 47             android:textColor="@android:color/white"
 48             android:textSize="@dimen/slide_desc" />
 49
../../src/main/res/layout/activity_firststart_slide2.xml:61: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 58             android:paddingLeft="@dimen/desc_padding"
 59             android:paddingRight="@dimen/desc_padding"
 60             android:text="@string/storage_permission_desc"
 61             android:textAlignment="center"

 62             android:textColor="@android:color/white"
 63             android:textSize="@dimen/slide_desc" />
 64
../../src/main/res/layout/activity_firststart_slide3.xml:61: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 58             android:paddingLeft="@dimen/desc_padding"
 59             android:paddingRight="@dimen/desc_padding"
 60             android:text="@string/location_permission_desc"
 61             android:textAlignment="center"

 62             android:textColor="@android:color/white"
 63             android:textSize="@dimen/slide_desc" />
 64
../../src/main/res/layout/fragment_external_versioning.xml:11: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
  8         android:layout_height="wrap_content"
  9         android:layout_margin="10dp"
 10         android:text="@string/command"
 11         android:textAlignment="center"

 12         android:textColor="@android:color/black"
 13         android:textSize="18sp"
 14         android:textStyle="bold" />
../../src/main/res/layout/fragment_simple_versioning.xml:23: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 20             android:layout_height="wrap_content"
 21             android:layout_margin="10dp"
 22             android:text="@string/keep_versions"
 23             android:textAlignment="center"

 24             android:textColor="@android:color/black"
 25             android:textSize="18sp"
 26             android:textStyle="bold" />
../../src/main/res/layout/fragment_staggered_versioning.xml:17: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 14             android:layout_width="match_parent"
 15             android:layout_height="wrap_content"
 16             android:text="@string/maximum_age"
 17             android:textAlignment="center"

 18             android:textColor="@android:color/black"
 19             android:textSize="18sp"
 20             android:textStyle="bold"
../../src/main/res/layout/fragment_staggered_versioning.xml:44: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
 41             android:layout_height="wrap_content"
 42             android:layout_margin="10dp"
 43             android:text="@string/versions_path"
 44             android:textAlignment="center"

 45             android:textColor="@android:color/black"
 46             android:textSize="18sp"
 47             android:textStyle="bold"
../../src/main/res/layout/fragment_trashcan_versioning.xml:23: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"

* AndroidManifest: Add permission ACCESS_FINE_LOCATION

Ref.: 5755ed45ad

* Migrate to AndroidX, solves lint error "IncompatibleGradle"

according to:
- b04489e062

* Fix lint error: MissingPermission, catch SecurityException

* Revert "Create setenv.cmd"

This reverts commit e39c460837.

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Catfriend1 <Catfriend1@users.noreply.github.com>
2020-05-17 15:04:32 +01:00
dependabot-preview[bot]
65d9ad4df8 Bump gradle from 3.5.2 to 3.5.3 (#1450)
Bumps gradle from 3.5.2 to 3.5.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-08 14:50:06 +01:00
dependabot-preview[bot]
f1d4aedb51 Bump gradle from 3.5.1 to 3.5.2 (#1440)
Bumps gradle from 3.5.1 to 3.5.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 07:12:05 +00:00
dependabot-preview[bot]
d797105fe3 Bump com.github.triplet.play from 2.4.2 to 2.5.0 (#1438)
Bumps com.github.triplet.play from 2.4.2 to 2.5.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-31 13:00:42 +00:00
dependabot-preview[bot]
527b63e468 Bump com.github.triplet.play from 2.4.1 to 2.4.2 (#1412)
Bumps com.github.triplet.play from 2.4.1 to 2.4.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 16:19:16 +02:00
dependabot-preview[bot]
bb22de4bd9 Bump gradle-versions-plugin from 0.25.0 to 0.26.0 (#1422)
Bumps [gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/ben-manes/gradle-versions-plugin/releases)
- [Commits](https://github.com/ben-manes/gradle-versions-plugin/compare/v0.25.0...v0.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 16:14:21 +02:00
dependabot-preview[bot]
24a7565873 Bump gradle from 3.5.0 to 3.5.1 (#1414)
Bumps gradle from 3.5.0 to 3.5.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04 19:51:53 +01:00
dependabot-preview[bot]
238bfcc24c Bump gradle-versions-plugin from 0.24.0 to 0.25.0 (#1406)
Bumps [gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/ben-manes/gradle-versions-plugin/releases)
- [Commits](https://github.com/ben-manes/gradle-versions-plugin/compare/v0.24.0...v0.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 09:20:54 +01:00
dependabot-preview[bot]
17dd437412 Bump com.github.triplet.play from 2.3.0 to 2.4.1 (#1404)
Bumps com.github.triplet.play from 2.3.0 to 2.4.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-11 18:49:27 +02:00
dependabot-preview[bot]
0353ccb261 Bump gradle-versions-plugin from 0.22.0 to 0.24.0 (#1388)
Bumps [gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin) from 0.22.0 to 0.24.0.
- [Release notes](https://github.com/ben-manes/gradle-versions-plugin/releases)
- [Commits](https://github.com/ben-manes/gradle-versions-plugin/compare/v0.22.0...v0.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 12:19:52 +03:00
dependabot-preview[bot]
b9b4188f72 Bump com.github.triplet.play from 2.2.1 to 2.3.0 (#1358)
Bumps com.github.triplet.play from 2.2.1 to 2.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 10:00:34 +02:00
dependabot-preview[bot]
6362fcc01a Bump gradle from 3.4.2 to 3.5.0 (#1383)
Bumps gradle from 3.4.2 to 3.5.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 08:07:17 +01:00
Simon Frei
4414dcc8a4
Bump gradle from 3.1.3 to 3.4.2 (#1381)
* Bump gradle from 3.1.3 to 3.4.2

Bumps gradle from 3.1.3 to 3.4.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix mistakes resulting in build errors after gradle upgrade
2019-08-15 11:48:23 +02:00
dependabot-preview[bot]
3090cdd67a Bump gradle-versions-plugin from 0.21.0 to 0.22.0 (#1379)
Bumps [gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/ben-manes/gradle-versions-plugin/releases)
- [Commits](https://github.com/ben-manes/gradle-versions-plugin/compare/v0.21.0...v0.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-15 10:59:34 +02:00
Simon Frei
a8be7cd6cd
Upgrade gradle play publisher to 2.2.1 (#1346) 2019-06-13 16:51:48 +02:00
dependabot-preview[bot]
d4e0548f8b Bump gradle-versions-plugin from 0.15.0 to 0.21.0 (#1341)
Bumps [gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin) from 0.15.0 to 0.21.0.
- [Release notes](https://github.com/ben-manes/gradle-versions-plugin/releases)
- [Commits](https://github.com/ben-manes/gradle-versions-plugin/compare/v0.15.0...v0.21.0)
2019-06-05 11:23:44 +02:00
dependabot-preview[bot]
208ef5444b Bump play-publisher from 1.2.0 to 1.2.2 (#1317)
Bumps [play-publisher](https://github.com/Triple-T/gradle-play-publisher) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/Triple-T/gradle-play-publisher/releases)
- [Changelog](https://github.com/Triple-T/gradle-play-publisher/blob/1.2.2/CHANGELOG.md)
- [Commits](https://github.com/Triple-T/gradle-play-publisher/compare/1.2.0...1.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-06-04 15:19:17 +02:00
Martin Carpella
a82aa49f52 Fix Android Studio 3.1.3 build-tool warnings (#1131) 2018-06-12 18:28:03 +01:00
40270f4da4 Update dependencies, clean code 2017-12-05 20:53:33 +09:00
473b2040fc Don't upgrade plugin to 3.0 yet, as it breaks lint
https://stackoverflow.com/a/47127584/1837158
2017-11-13 11:09:26 +09:00
9671bc584a Updated dependencies 2017-11-13 09:46:29 +09:00
485d76163e Revert "Revert build script changes"
This reverts commit 18c419b2ed.
2017-10-24 14:55:28 +09:00
bba3b5f927 Bumped version to 0.9.17 2017-10-19 12:41:10 +09:00
18c419b2ed Revert build script changes
This reverts commits 5749b98b92,
9559d0c2d9,
536c826fbb
2017-10-19 12:09:53 +09:00
9559d0c2d9 Divide project into submodules, compile with Clang 2017-10-17 12:59:13 +09:00
1660479b6e Build Syncthing with CGO and target android (fixes #873) 2017-10-17 09:13:06 +09:00
9840076f31 Update release scripts 2017-10-11 12:55:12 +09:00
432c666c0d Bumped version to 0.9.16 2017-10-11 12:33:26 +09:00
d74aba261d Add publish release script 2017-10-08 15:06:52 +09:00
a25579dc4e Bumped version to 0.9.15 2017-10-08 15:04:03 +09:00
4a4caa8d47 Update dependencies 2017-10-08 15:03:18 +09:00
e184c43c3a Use Dagger to inject SharedPreferences 2017-10-04 00:19:30 +09:00
f1102dcc02 Add more translations for Google Play listing 2017-10-03 18:35:11 +09:00
e9710cebee Change minimum Android version to 4.0, update dependencies 2017-09-20 12:12:28 +09:00
ee14aa321d Bumped version to 0.9.14 2017-09-20 01:38:38 +09:00
e371269ada Bumped version to 0.9.13 2017-09-06 00:07:13 +09:00
7b95baa2a3 Update dependencies 2017-09-05 09:07:19 +09:00
b2a3c7465c Bumped version to 0.9.12 2017-07-19 13:16:45 +09:00
f7032a832b Update dependencies 2017-07-19 12:37:47 +09:00
825a62b902 Bumped version to 0.9.11 2017-06-15 18:14:04 +09:00
Jessie Chatham Spencer
0c1abb3c9c Added support for all versioning types in the app UI. Addressing #718 (#896)
* Merge branch 'Fix718'
Merged fixes for issues #718, added functionality for all the file versioning types in the app UI.

* Basic theme is working

* GOt dialog working with setREsult.

* Addressed issues raised and fixed orientation change bug.
Adressed issues radied by nutomic:
- Changed the String concatenation so it uses String.format.
- Made members variables private that were not previously private by mistake.
- Changed name from FolderPathTextView to FolderPathTextViewFragment.
- Fixed typo in NumberPickerFragment
- Now uses TImeUnit for time conversion
- Changed from DialogFragment to a dialog themed Activity inorder to have correct themeing.

About the orientation change bug. When the dialog themed activity was open and the orientation was changed, it would cause the background activity(The FolderActivity) to
recreate itself. In the process of recreating itself it would reset the mFolder variable and then reinitialise it in the OnApiChange listener. However the result from the
Dialog was returned before the mFolder had been reinitialised and was still null, so inbetween the result being returned and the mFolder variable being reinitialised the new file versioning
configuration had to be stored and then applied to the mFolder variable in the onApiChange listener. The file versioning configuration is temporarily stored in the mVersioning variable which is
an instance of Folder.versioning.
This error only occurred when using an Activity as a dialog and using the startActivityForResult method for initialisling the activity. Before when using a dialogfragment and an interface to callback to
the parent activity, everything happend in the correct order.

* Fixed versioning dialog lag.
The initial updateFragmentView() is called in onCreate() and the
fragment is only updated when a new file versioning type is selected.

* Removed FolderPathTextViewFragment
The fragment is removed, and a helper method has been added to FolderPickerActivity to create an intent
to the the FolderPickerActivity for result.
2017-06-15 17:44:44 +09:00
81c7eb3acc Bumped version to 0.9.10 2017-05-30 16:59:42 +09:00
1b194d07b1 Bumped version to 0.9.9 2017-04-11 13:28:31 +09:00
9e914e5244 Updated dependencies 2017-04-11 13:17:39 +09:00
76b3ddad55 Bumped version to 0.9.8 2017-03-28 00:28:40 +09:00