3170 Commits

Author SHA1 Message Date
Daniel Martí
1d44a5f2e6 Merge branch 'ci-image' into 'master'
CI: Bump docker image

Also use a specific tag instead of latest, so that pushing latest on
Docker Hub won't break older branches and tags.

See merge request !229
2016-03-17 12:05:17 +00:00
Daniel Martí
3b76db0227 tools: check-string-format is python3
This has always been python3, so it was probably a typo. Fixes CI since
we may no longer have python2 installed.
2016-03-16 16:15:07 +00:00
Daniel Martí
fded4c9f2e CI: Bump docker image
Also use a specific tag instead of latest, so that pushing latest on
Docker Hub won't break older branches and tags.
2016-03-16 16:15:07 +00:00
F-Droid Translatebot
87d73e2d01 Pull translation updates from Weblate
Translators:

Ajeje Brazorf          Sardinian
Danial Behzadi         Persian
nikos                  Greek
Olexandr Nesterenko    Ukrainian
Sérgio Marques         Portuguese (Portugal)
Svetoslav Yordanov     Bulgarian
2016-03-15 21:08:54 +00:00
Daniel Martí
5ed4977b9d Merge branch 'master' into 'master'
gitlab-ci: enable lint, log posting, and caching

Some work to improve the CI functions, and first stab at getting parts running in parallel.

See merge request !211
2016-03-15 20:33:10 +00:00
Hans-Christoph Steiner
d4992831c0 gitlab-ci: enable lint and run tools scripts in parallel
* splitting out the tools script allows less things to happen on the
  main job, and runs the tools script in parallel, which should speed
  things up.

* `gradle check` also runs lint, and anything else we might add to
  that meta-target.

* `gradle build` also runs tests, `gradle assemble` does not
2016-03-15 20:54:29 +01:00
Hans-Christoph Steiner
e18e7a7067 gitlab-ci: cache downloaded things between builds
This stores the Android SDK tarball and gradle caches between builds
to speed things up.  Since the unpacked SDK gets unpacked very time,
updating the version is just a matter of changing the variable.  Since
only the gradle caches are stored, i.e. the jars and gradle binaries,
updates there will only add more files to the cache.
2016-03-15 14:29:28 +01:00
Daniel Martí
8bba6670a0 Merge branch 'fix-repository' into 'master'
UI: disabled repo name if apk is incompatible



See merge request !226
2016-03-13 15:51:31 +00:00
Paresh Chouhan
c34ceeffe4 UI : Repository : *Repo Name* is disabled if apk is incompatible. 2016-03-13 20:10:32 +05:30
Daniel Martí
4c9012557e Merge branch 'inconsistent-code-style' into 'master'
Code Style : Changed variable names to be consistent with other variable names

variable names are inconsistent in other files as well. At some places it is `mVariableName` and in some places it is `variableName`.  

suggestion : rename all public variables to `publicVaraible` and all private variables to `mPrivateVariable` ?  

we can use http://udacity.github.io/android-nanodegree-guidelines/index.html

See merge request !225
2016-03-11 16:39:54 +00:00
Daniel Martí
d5f0a6397f Remove empty translation that slipped through v0.100-alpha1 2016-03-10 17:17:40 +00:00
Daniel Martí
0655abe3b9 Bump to 0.100-alpha1
Also update CONTRIBUTING, since we're now going to use three digits in
the version codes for the second part in each version.
2016-03-10 16:53:01 +00:00
F-Droid Translatebot
8f24759a33 Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz      Catalan
Adrià García-Alzórriz      Spanish
Benedikt Volkmer           German
Irvan Kurniawan            Indonesian
Licaon Kter                Romanian
Marcelo Santana            Portuguese (Brazil)
Massimiliano Caniparoli    Italian
Mladen Pejaković           Serbian
Mohamad Hasan Al Banna     Indonesian
naofum                     Japanese
Pander                     Dutch
Phạm Nguyễn Hoàng          Vietnamese
riotism                    Chinese (Hong Kong)
Tobias Bannert             German
Verdulo                    Esperanto
Verdulo                    Polish
2016-03-10 16:48:08 +00:00
Paresh Chouhan
c5aa3f91b1 CodeStyle : Fixed inconsistent variable name, changed mctx to mCtx 2016-03-08 12:47:35 +05:30
Daniel Martí
35e791543a README: Use new CI badge url 2016-03-07 20:56:05 +00:00
Peter Serwylo
da8c0e0e16 Merge branch 'gradle-updates' into 'master'
Misc gradle, lint and markdown updates



See merge request !223
2016-03-07 14:00:27 +00:00
Daniel Martí
ea6b0340d9 Merge branch 'fix-554--content-resolver-reference' into 'master'
Ensure `getContentResolver()` is not requested from `null` object.

Should fix #554, however I couldn't reproduce this. At the very least, I fail to see how it is possible with this new change for a `null` to get passed to `AppProvider.Helper.categories`, whereas it could've before.

In the process, I also made the database query run on the background thread, then update the UI on the UI thread.

See merge request !224
2016-03-07 13:52:55 +00:00
Peter Serwylo
0f64f2c181 Clarify threading when loading categories
Previously, it was not explicit that the `onCreate` happened to be invoked
in the UI thread. Now it is, due to passing `new Handler(Looper.getMainLooper())`.
Also, the categories are now loaded in a background task, and then the UI is
updated on the UI thread.
2016-03-07 23:46:06 +11:00
Peter Serwylo
7421d33c3a Expand null check to include isAdded() check
Also, don't call `getActivity()` in the separate thread. Instead, use the
`Activity` which we have already checked and ensured is not null.
2016-03-07 23:45:58 +11:00
Daniel Martí
b8ce62e3ef README: Fix badge link
The old /ci site is gone. Link to the builds page, which at least shows
something related to CI.
2016-03-05 23:39:30 +00:00
Daniel Martí
26d60aa9ae Fix gradlew references in markdown files
Use gradlew consistently. Also, fix its calling after the cd.
2016-03-05 23:33:52 +00:00
Daniel Martí
80a3faa4d5 Explicitly set fullBackupContent to true
An F-Droid backup should contain all the app's data.
2016-03-05 23:27:18 +00:00
Daniel Martí
b534bba440 Bump targetSdkVersion to 23
compileSdkVersion in the build.gradle file was already bumped, but we
forgot about this one.
2016-03-05 23:27:00 +00:00
Daniel Martí
25a9360a58 Fix ScrollViewSize lint warnings 2016-03-05 23:21:15 +00:00
Daniel Martí
28988b9fdd Bump libsuperuser to the latest version 2016-03-05 23:15:47 +00:00
Daniel Martí
ccf858f960 CHANGELOG: Start writing upcoming release 2016-03-05 23:01:10 +00:00
Daniel Martí
3c33e55fd3 Merge branch 'add-repo-url' into 'master'
Enhancement : Repo URL added to apk's on AppDetailsActivity.

Fixes issue #527.
Adds repo URL to apk's present on AppDetails.

Samples  
![sample](/uploads/0d603cf7242f6f45348c78009f811623/sample.png)![sampl2](/uploads/31efab104bd52cecc9f2ea1e923116c6/sampl2.png)

See merge request !222
2016-03-05 21:50:48 +00:00
Paresh Chouhan
683ba8d20f Enhancement|UI : Repository URL added to APK's on AppDetails Activity.
Fixes issue #527.
Repository URL's now shown as Provided By domain.name/repo
2016-03-06 01:23:13 +05:30
Peter Serwylo
018a8231d6 Merge branch 'pmd' into 'master'
Add PMD



See merge request !221
2016-03-04 22:14:22 +00:00
F-Droid Translatebot
37ef67e1b8 Pull translation updates from Weblate
Translators:

ageru              French
Danial Behzadi     Persian
enolp              Asturian
ezjerry liao       Chinese (Taiwan)
Fr Translation     French
Hsiu-Ming Chang    Chinese (Taiwan)
Jonatan            Swedish
relan              Russian
riotism            Chinese (Hong Kong)
2016-03-04 17:04:38 +00:00
Daniel Martí
d3ca6020dc CI: Run pmd too 2016-03-01 17:46:49 +00:00
Daniel Martí
85ba537d95 PMD: Add a few rulesets that we already obey 2016-03-01 17:46:38 +00:00
Daniel Martí
fbeb6d140f PMD: Enable java-android, fix issues 2016-03-01 17:46:38 +00:00
Daniel Martí
78d15dd4a8 Add PMD, for now with no rules
Unlike findbugs, PMD is very easy to configure. Should be very useful as
long as we set a correct ruleSet.
2016-03-01 17:46:38 +00:00
Daniel Martí
580723fa64 CI: No need to install dependencies any more
They all come in mvdan/fdroid-ci. Same as in the other two repos.
2016-03-01 11:21:19 +00:00
Daniel Martí
e698e1557c Merge branch 'target-23' into 'master'
Bump target SDK and support libs to 23

Android 6.0 brought some changes that affect F-Droid client:

1. [Apache HTTP client removal](https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-apache-http-client)
2. [PackageInfo.REQUESTED_PERMISSION_REQUIRED removal](https://developer.android.com/sdk/api_diff/23/changes/android.content.pm.PackageInfo.html)

Closes #518.

See merge request !214
2016-03-01 11:20:28 +00:00
relan
e2b81c6b77 Permit deprecated Apache HTTP Client
This is a temporary solution. All code that uses Apache HTTP Client
should be rewritten.
2016-03-01 12:34:20 +03:00
relan
21a78054d5 Bump target SDK to 23
Also update Support Library components to 23.2.0.
2016-03-01 12:34:20 +03:00
relan
77074f83e2 Remove PackageInfo.REQUESTED_PERMISSION_REQUIRED
This flag existed in Android 4.2-5.1 and has always been set. Stop
checking it.
2016-03-01 12:33:21 +03:00
Daniel Martí
90e64badf3 Merge branch 'ci-image' into 'master'
CI: Use our docker image, print out test coverage



See merge request !220
2016-02-29 21:45:27 +00:00
Daniel Martí
26ce365c22 Enable test coverage for Gitlab CI 2016-02-29 20:11:29 +00:00
Daniel Martí
d6de4eb58b CI: Use our docker image 2016-02-29 14:35:16 +00:00
Daniel Martí
4aa44cb150 Bump to 0.99 v0.99 2016-02-28 22:46:53 +00:00
F-Droid Translatebot
91482e05f0 Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz    Catalan
Adrià García-Alzórriz    Spanish
Ajeje Brazorf            Sardinian
Alberto Moshpirit        Spanish
Alex Kalles              Greek
jetamkadlec              Czech
Ldm Public               French
Licaon Kter              Romanian
Mladen Pejaković         Serbian
naofum                   Japanese
Olexandr Nesterenko      Ukrainian
Verdulo                  Esperanto
Verdulo                  Polish
2016-02-28 22:41:02 +00:00
Hans-Christoph Steiner
b22c20ece3 Merge branch 'lint-checkstyle' into 'master'
Lint fixes and checkstyle update



See merge request !219
2016-02-28 22:25:15 +00:00
Daniel Martí
a203545e48 Bump checkstyle to 6.16
Due to fixes and improvements, some new checkstyle changes are due.
2016-02-28 16:44:44 +00:00
Daniel Martí
d061dafcd7 Remove a few extra spaces that checkstyle missed
There's also a change in a SQL string, but it should be safe.
2016-02-28 14:29:51 +00:00
Daniel Martí
3af5f55abd Remove unused repo field
Found by Android Studio.
2016-02-28 14:22:27 +00:00
Daniel Martí
9c86655af0 Make some declaration accesses weaker
As suggested by Android Studio.
2016-02-28 14:19:02 +00:00
Daniel Martí
982bf42a4b Remove unused resources from old search screen
We didn't remove the search results class until after reworking the
feature, which is probably why this was kept around.
2016-02-28 14:04:15 +00:00