482 Commits

Author SHA1 Message Date
Nico Alt
4331fa4047 Revert "Prompt for beta updates"
This reverts commit 92f8678b3d2da18ad93bac6af0ae83984cf74714.
2015-08-22 10:04:42 +02:00
Daniel Martí
478ff88a82 Don't crash if we couldn't generate a certificate
Another crash workaround for #334. Even though this null check should be left
there, since getCertificate() may return null for whatever reason.
2015-08-20 21:14:38 -07:00
Daniel Martí
d8b4fc403d Bump to 0.96-alpha3 2015-08-20 19:32:41 -07:00
Daniel Martí
1f41bbdc0d Replace printStackTrace with proper Log.e calls 2015-08-20 19:28:30 -07:00
Daniel Martí
8669fddd70 Properly log exceptions 2015-08-20 19:21:50 -07:00
Daniel Martí
ce8c928337 Move some Log.i to debug logs
These don't look like they will be useful to users at all.
2015-08-20 19:09:27 -07:00
Daniel Martí
c9cdc1a5dc Remove all Log.d calls from release builds 2015-08-20 18:59:14 -07:00
Daniel Martí
d04f26b6e4 Raise some log message priorities 2015-08-20 18:59:13 -07:00
Daniel Martí
96014a7365 Simplify debugging logging via Utils 2015-08-20 18:37:25 -07:00
Daniel Martí
4c75f6078d Disable lint warnings in command-line builds
There are just too many now, and they hide actual compilation errors.

They can still be viewed in the HTML report.
2015-08-20 18:05:34 -07:00
Daniel Martí
2d14e3c1c4 Temporarily work-around for repo update crashes
On certain locales, F-Droid would crash at startup due to #334.

This isn't a proper fix, but rather a workaround that logs what happened and
links to the issue, instead of making F-Droid crash entirely.
2015-08-20 17:49:57 -07:00
Daniel Martí
f0481ffa14 Support libs will never be built from source
We can't rely on their plugin versions to be compatible with ours. Besides,
they require tons of Android SDK targets to be installed to build.

They are already bundled with the SDK, so you can build them as part of the
SDK from source if you want to.
2015-08-20 10:35:18 -07:00
Daniel Martí
05285d23b7 Replace fdroid.org with f-droid.org 2015-08-20 10:06:01 -07:00
Daniel Martí
e4527da122 Prepare for sdk level 23 2015-08-20 09:56:57 -07:00
Daniel Martí
3f5b5ffc93 Avoid package receiver NPE crashes. Fixes #380. 2015-08-19 11:19:59 -07:00
Daniel Martí
968b35f324 Update notes about discontinued libraries 2015-08-18 19:42:01 -07:00
Daniel Martí
33e09cc344 Don't use multi-arg compiles in gradle
Easier to keep line changes simpler this way.
2015-08-18 19:32:38 -07:00
Daniel Martí
780f77dab9 Don't show menu item to enable NFC if not available
Follow-up to #379
2015-08-18 14:16:50 -07:00
Daniel Martí
997b4a4698 Run remove-unused-trans.py 2015-08-18 13:16:02 -07:00
Daniel Martí
fd7f942595 Avoid NPE crash on devices without NFC. Fixes #379. 2015-08-18 13:14:13 -07:00
Daniel Martí
fa929a4cf4 Bump buildToolsVersion 2015-08-18 10:24:52 -07:00
relan
0d864a866c Use the red color suggested by the Material Design spec
See http://www.google.com/design/spec/patterns/errors.html#errors-user-input-errors
2015-08-17 14:29:51 +03:00
relan
83c8d6d303 Move the red color constant from styles.xml to colors.xml
Because this is the proper place for colors definitions.
2015-08-17 14:25:58 +03:00
relan
f25dafe913 Use system constant for the white color 2015-08-17 13:14:45 +03:00
relan
a49ea5c3c3 Remove unused constant for the black color 2015-08-17 13:11:35 +03:00
relan
1b81267841 Use system constant for the transparent color 2015-08-17 13:11:06 +03:00
Daniel Martí
a6b1f21ce5 Bump to 0.96-alpha2 2015-08-16 13:20:15 -07:00
Hartmut Goebel
9d4bfe0f63 Update string.xml
Use a less mathematical wording
2015-08-16 07:44:23 +00:00
Daniel Martí
d9ed0ffb0d Merge branch 'installer-patches' 2015-08-15 14:01:03 -07:00
Daniel Martí
944fb46aa5 Add proguard rules for support-v7, fixes #372 2015-08-15 14:00:24 -07:00
Daniel Martí
7bff114602 Re-enable proguard for release builds
It can be disabled for stables if it's not reliable.

Also enabled for debugging so that bugs don't slip into release builds.
2015-08-15 13:56:28 -07:00
Daniel Martí
3c35927085 Undo update repo button hiding in e984ed82ef3
The button can be hidden or entirely removed once users have an easy way to
trigger an index update, e.g. via pull to refresh.
2015-08-15 13:11:20 -07:00
Daniel Martí
0e3172b277 Use mkdir -p instead of mkdir to not error if already existing
See #364
2015-08-12 13:41:13 -07:00
Daniel Martí
98117b19c0 Make sure that our system folder is 755
See #364
2015-08-12 13:41:02 -07:00
Daniel Martí
e434f39839 Android Studio fixes 2015-08-12 13:33:43 -07:00
Daniel Martí
e895d1f0d3 Merge branch 'master' into 'master'
Add timeout for Http request

The timeout of HttpURLConnection is 0, which means the request would never return if either connection or read timeouts, and the code would never catch these exceptions.

This patch set explicit timeout value (10s for connection timeout and 40s for read timeout), so the code would catch and handle timeout exceptions as you would expect.

Best,

See merge request !117
2015-08-11 00:20:17 +00:00
Daniel Martí
14cd500121 Remove unnecessary uses of getString(int) 2015-08-10 17:11:51 -07:00
Daniel Martí
eab27d402b Update install/uninstall internal error codes to 5.1 2015-08-10 17:11:51 -07:00
Daniel Martí
816bd4b2e6 Start reporting proper install/uninstall error messages 2015-08-10 17:11:50 -07:00
Daniel Martí
79b1396e4a Disable uninstall button if the app cannot be uninstalled
Fixes #329
2015-08-10 17:11:50 -07:00
Daniel Martí
ba54e8b798 SystemInstaller: don't try to remove system apps without updates 2015-08-10 17:11:50 -07:00
Daniel Martí
4e0808449d InstallIntoSystem: Apks are fine being 644, no need for 655
See #364
2015-08-10 17:08:01 -07:00
Daniel Martí
052f411433 InstallIntoSystem: add missing trailing '/'
See #364
2015-08-10 16:54:50 -07:00
Daniel Martí
ddb94cc831 Cleanup "Downloading..." icon if download fails 2015-08-10 14:56:33 -07:00
Miku Nyan
05f2a76bc4 fixed privileged installer crash on Android < 3.0 2015-08-10 12:00:40 -07:00
Miku Nyan
a4fe44437a fix #361 2015-08-10 21:44:20 +03:00
Daniel Martí
1d47956bcf Run fix-ellipsis 2015-08-09 21:44:01 -07:00
Daniel Martí
e43355ce56 Limit lint output to HTML 2015-08-09 21:33:36 -07:00
Daniel Martí
939e3004b6 Reorganize buildTypes gradle config
* disable minify (proguard) on all build types
* explicitly disable resource shrinking on all build types
2015-08-09 19:10:27 -07:00
Daniel Martí
be3148d0e7 Hide all apk download progress views equally
Two views weren't hidden by default, so they were taking up space before they
were needed. The java code already takes care of showing them when necessary.
2015-08-09 18:39:20 -07:00