2715 Commits

Author SHA1 Message Date
F-Droid Translatebot
9f7380691b Pull translation updates from Weblate
Translators:

ageru     French
Osoitz    Basque
Sylvie    Dutch
2015-10-19 09:27:27 +02:00
Daniel Martí
abf4528d02 Get rid of many tabs for consistency 2015-10-19 09:23:35 +02:00
Daniel Martí
0b2aac253b Merge branch 'bump-appcompat-v7' into 'master'
Bump appcompat-v7 library to 22.2.1

This is the proper fix for #356.

See merge request !156
2015-10-19 06:54:48 +00:00
relan
b1a1bedc68 Bump support appcompat-v7 library to 22.2.1
Let it be the same version as other support libraries.
2015-10-19 07:56:50 +03:00
relan
68de2356c5 Fix default textColor for TextView
TextView respects textViewStyle since appcompat-v7:22.2:

     public AppCompatTextView(Context context, AttributeSet attrs) {
-        this(context, attrs, 0);
+        this(context, attrs, android.R.attr.textViewStyle);
     }

This change in appcompat-v7 breaks previous behaviour by applying
textColorSecondary to TextViews: text becomes grey after upgrading
appcompat-v7 to 22.2.

See https://code.google.com/p/android/issues/detail?id=170476
2015-10-19 07:56:41 +03:00
F-Droid Translatebot
8bf0b1df91 Pull translation updates from Weblate
Translators:

agilob             Polish
Marcelo Santana    Portuguese (Brazil)
Michal Čihař       Bulgarian
relan              Russian
Rubén Santos       Galician
2015-10-17 13:36:44 +02:00
Daniel Martí
41cfc67d4a Bump to 0.97-alpha6 v0.97-alpha6 2015-10-13 22:49:05 +02:00
F-Droid Translatebot
127be67c79 Pull translation updates from Weblate
Translators:

Alberto Moshpirit     Spanish
Laura Arjona Reina    Spanish
Marcelo Santana       Portuguese (Brazil)
moshpirit             Spanish
Sérgio Marques        Portuguese
Sérgio Marques        Portuguese (Portugal)
zmni                  Indonesian
2015-10-13 22:32:40 +02:00
Daniel Martí
dfe72b30ce gradle: debug is already debuggable 2015-10-13 22:30:02 +02:00
Daniel Martí
9586c159a3 Deduplicate gradle code 2015-10-13 22:28:55 +02:00
Daniel Martí
bbeef3cd8d Bump libsuperuser 2015-10-13 22:17:57 +02:00
Daniel Martí
ed978ba785 Downloader: Don't use DownloadManager if null
If getSystemService(Context.DOWNLOAD_SERVICE) returns null, we should not go
ahead with using AsyncDownloaderFromAndroid. This would result in NPE and
crashes.

Fixes #442.
2015-10-12 13:02:32 +02:00
Daniel Martí
52e9e79fad README: Clarify that we now use Gradle 2.7 2015-10-12 12:48:54 +02:00
Daniel Martí
7b8f577fd4 Keep apk downloads from crashing on 2.2
Use a temporary quick fix for the crash until a better solution is in place.
This is explained in the TODO.

Fixes #448.
2015-10-12 12:45:27 +02:00
Daniel Martí
8d4e785185 Simplify a few elses
Mostly just dropping them after returns.
2015-10-12 12:37:39 +02:00
Daniel Martí
603a5b25e4 lint: disable LocaleFolder check 2015-10-11 01:43:08 +02:00
Daniel Martí
f1c3e5ee32 Add id to list of languages and add in link
As per #139.
2015-10-11 01:35:45 +02:00
F-Droid Translatebot
0f17901d9d Pull translation updates from Weblate
Translators:

agilob               Polish
AtomiKe              French
Ferenc Nagy          Hungarian
Mário Castanheira    Portuguese (Portugal)
Sérgio Marques       Portuguese (Portugal)
zmni                 Indonesian
2015-10-11 01:32:28 +02:00
Daniel Martí
65e8087211 CI: Run checkstyle 2015-10-09 17:05:36 +02:00
Daniel Martí
1e8bbbd1f9 checkstyle: Add curly checks 2015-10-09 11:40:50 +02:00
Daniel Martí
8396eba8d9 checkstyle: Always wrap commas 2015-10-09 11:27:24 +02:00
Daniel Martí
b60afa2dc0 checkstyle: Also check test sources 2015-10-09 11:19:41 +02:00
Daniel Martí
6b573db3f4 checkstyle: Add more checks we already obey 2015-10-09 11:06:59 +02:00
Daniel Martí
65f292708c checkstyle: Add AvoidStaticImport
Plus bonus build fix (whoops).
2015-10-09 11:04:39 +02:00
Daniel Martí
2249ad59da checkstyle: Add StaticVariableName 2015-10-09 11:02:19 +02:00
Daniel Martí
caa91186cc checkstyle: Add LocalFinalVariableName 2015-10-09 10:59:44 +02:00
Daniel Martí
6ee3dba3ea checkstyle: Add LocalVariableName 2015-10-09 10:56:50 +02:00
Daniel Martí
b5f62c03cb checkstyle: Add MemberName 2015-10-09 10:55:27 +02:00
Daniel Martí
48b7096523 checkstyle: Enable some naming checks we obey 2015-10-09 10:50:13 +02:00
Daniel Martí
bd68caa152 checkstyle: Add FallThrough
With bonus bugfix.
2015-10-08 23:33:29 +02:00
Daniel Martí
638daf83cf checkstyle: Add OneStatementPerLine
Also OneTopLevelClass, but we're not there yet
2015-10-08 22:29:32 +02:00
Daniel Martí
d97319efb7 checkstyle: Add DefaultComesLast 2015-10-08 22:25:38 +02:00
Daniel Martí
7bbcbf25a6 checkstyle: Add EmptyLineSeparator 2015-10-08 22:23:10 +02:00
Daniel Martí
f5352eaf28 checkstyle: Add ArrayTrailingComma 2015-10-08 22:15:51 +02:00
Daniel Martí
3f8875ab9c checkstyle: Add EqualsAvoidNull 2015-10-08 22:09:51 +02:00
Daniel Martí
174e37e4e0 checkstyle: Add ExplicitInitialization 2015-10-08 22:01:09 +02:00
Daniel Martí
38cc95b035 checkstyle: Add StringLiteralEquality 2015-10-08 21:53:02 +02:00
Daniel Martí
0a13cf5c63 checkstyle: Add UnnecessaryParentheses 2015-10-08 21:50:46 +02:00
Daniel Martí
561d7833d1 checkstyle: Add indentation 2015-10-08 21:41:38 +02:00
Daniel Martí
04ea84640e Run dos2unix on BoundedInputStream.java 2015-10-08 20:01:58 +02:00
Daniel Martí
3eb758f1b2 checkstyle: Add WhitespaceAround 2015-10-08 20:01:37 +02:00
Daniel Martí
95b53706f9 checkstyle: Add NoWhitespace{Before,After} 2015-10-08 19:49:43 +02:00
Daniel Martí
793788eadf checkstyle: enable and apply WhitespaceAfter 2015-10-08 19:44:31 +02:00
Daniel Martí
5736c70dc8 checkstyle: enable and apply FinalClass 2015-10-08 19:29:04 +02:00
Daniel Martí
2211dc38bb Fix -PsourceDeps build
We can't do verification since spongycastle isn't imported in the sourceDeps
build, and witness complains about missing libs.
2015-10-08 19:22:15 +02:00
Daniel Martí
2d62c94b5f Rename extension into Privileged-Extension
The previous name, F-Droid-Privileged, made it look like it was a replacement
for F-Droid. The full name, F-Droid-Privileged-Extension, is too long.
2015-10-08 19:10:30 +02:00
Daniel Martí
5a8c68b8f8 Also add checkstyle to the privileged extension 2015-10-08 19:08:08 +02:00
Daniel Martí
2b0e6dade1 checkstyle: enable ModifierOrder and apply it 2015-10-08 18:59:41 +02:00
Daniel Martí
7c6888b5d4 checkstyle: remove rules that will never be used 2015-10-08 18:58:40 +02:00
Daniel Martí
a47e32d40f Mention checkstyle in CONTRIBUTING 2015-10-08 17:38:00 +02:00