942 Commits

Author SHA1 Message Date
Daniel Martí
e8093a66f0 Replace preferences by settings in other strings 2015-10-20 23:40:57 +02:00
F-Droid Translatebot
70cb5cd94a Pull translation updates from Weblate
Translators:

ageru                French
agilob               Polish
Ajeje Brazorf        Sardinian
Alberto Moshpirit    Spanish
Enol Puente          Asturian
Green Lunar          Hebrew
2015-10-20 23:40:53 +02:00
Daniel Martí
1a60a7cfb7 Make remove-unused-trans remove empty strings
English is better than no text at all.
2015-10-19 09:49:14 +02:00
Daniel Martí
5b688d3c23 Rename Preferences to Settings
For consistency with Android and other apps.

Closes #464.
2015-10-19 09:48:05 +02:00
Daniel Martí
f349437334 Replace all tabs with spaces in string xml files
For consistency, and to keep weblate from adding even more tabs everywhere.
2015-10-19 09:35:57 +02:00
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
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 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í
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í
1e8bbbd1f9 checkstyle: Add curly checks 2015-10-09 11:40:50 +02:00
Daniel Martí
b60afa2dc0 checkstyle: Also check test sources 2015-10-09 11:19:41 +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í
bd68caa152 checkstyle: Add FallThrough
With bonus bugfix.
2015-10-08 23:33:29 +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í
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í
2b0e6dade1 checkstyle: enable ModifierOrder and apply it 2015-10-08 18:59:41 +02:00
Daniel Martí
d8a624b397 End AS formatting madness in build.gradle
This was changed to obey Android Studio's formatting of gradle files. Some of
what it did was fine, but removing all line spacing is bonkers.
2015-10-08 17:26:27 +02:00
Daniel Martí
1f973a7c88 checkstyle: Enable and apply AvoidNestedBlocks 2015-10-08 17:26:27 +02:00
Daniel Martí
b05ed99c74 Make F-Droid obey the easy checkstyle rules 2015-10-08 17:26:27 +02:00
Daniel Martí
42b7687cf9 Remove trailing whitespaces from zxing code 2015-10-08 17:26:27 +02:00
Daniel Martí
999fa6eb21 Add checkstyle with a small config
It doesn't include all of the Android style checks as found in Android Studio,
but it's a start.

Bump Gradle to 2.7 because the checkstyle plugin in earlier versions is just
not good enough.
2015-10-08 17:26:27 +02:00
Daniel Martí
bc283304df Fix tests compilation after 5c4de9a1 2015-10-08 13:28:35 +02:00
Daniel Martí
9225309191 Bump to 0.97-alpha5 2015-10-07 11:02:38 +02:00
F-Droid Translatebot
17f5fc67ec Pull translation updates from Weblate
Translators:

Ajeje Brazorf        Sardinian
Daniel Martí         Catalan
Enol Puente          Asturian
Mladen Pejaković     Serbian
naofum               Japanese
Phạm Nguyễn Hoàng    Vietnamese
relan                Russian
2015-10-07 11:01:05 +02:00