2150 Commits

Author SHA1 Message Date
Nico Alt
eaf04dd78e Don't mark as code in code block 2015-08-16 17:28:34 +02:00
Daniel Martí
ed2de37207 Merge branch 'master' into 'master'
Update string.xml

Use a less mathematical wording.

Hopefully, translators will follow this.

See merge request !120
2015-08-16 08:38:49 +00: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í
ad8896b2e8 Bump gradle plugin version to 1.3.1 2015-08-13 11:23:28 -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í
e48fb93c77 First changelog writeup 2015-08-10 17:27:50 -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í
8d5c7abe89 Add 0.95.1 changelog notes 2015-08-10 17:11:30 -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
Daniel Martí
97f5391567 Merge branch 'master' into 'master'
fix #361

![screenshot_2015-08-10_2139](https://gitlab.com/miku-nyan/fdroidclient/uploads/dd590898795124d8f36eac7601281265/screenshot_2015-08-10_2139.png)

See merge request !118
2015-08-10 18:55:47 +00: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
Daniel Martí
019c6019d7 Bump to 0.96-alpha1 v0.96-alpha1 2015-08-09 12:15:06 -07:00
Daniel Martí
31dad85da6 Forgot to bump targetSdkVersion with compileSdkVersion 2015-08-09 12:14:39 -07:00
Daniel Martí
d6dcf6bf7b Don't prompt users to install into system until it's stable
Right now there are multiple issues - #294, #346, #347, #348 - so telling
people to go through the process at startup should not happen yet.
2015-08-09 12:12:41 -07:00
Daniel Martí
d20ef02745 Re-add superuser permission to manifest (fixes #339) 2015-08-09 12:12:37 -07:00
Daniel Martí
56ff9d1353 Re-add lightWithDarkActionBar enum item (fixes #340)
Added it in the same position as it was originally.
2015-08-09 12:12:28 -07:00
Daniel Martí
51a0bb26fa Merge branch 'version-bumps' into 'master'
Target/Support version bumps

This is part of the (unmergeable as of now) !96. These changes are simple yet important enough for me to think that they deserve their own merge request.

I didn't push the changes directly because I haven't worked with the material stuff enough to notice whether anything is breaking or not. For all I can see, the app looks the same and the bumps just added lots more deprecation warnings (which is fine, they can be dealt with over time).

See merge request !109
2015-08-09 18:36:27 +00:00
Daniel Martí
9cafe80763 Merge branch 'betaUpdates' into 'master'
Prompt for beta updates

Ready to get merged. 👍

~~This MR is ready to get merged, the last thing that needs to be fixed is [this](72ed814a73 (note_1726274)).~~

This closes #313.

See merge request !112
2015-08-09 18:33:09 +00:00
Daniel Martí
8bd6e56065 Bump support libraries to 22.2.1 2015-08-08 23:40:52 -07:00
Daniel Martí
853d7ed047 Bump compileSdkVersion 2015-08-08 23:40:52 -07:00
Peter Serwylo
2b8a882933 Merge branch 'integration/mr-102-and-107' into 'master'
Integration branch containing both MR 102 and 107

Given both MR !102 and !107 both stood on eachothers feet to some extent, this branch contains all commits from both in an integration branch. If both @Nutomic and @eighthave are happy that it faithfully kept their changes during the minor merge conflict resolutions, then we can merge this instead of those two branches. 

* !102 changed download progress from events + listeners to broadcasts + receivers.
* !107 made use of download progress events + listeners to show a downloading UI that was embedded in the activity, rather than shown as a modal dialog.

The conflicts which arose while I merged these branches together were in `AppDetails`. I made it so that, to the best of my ability, it uses broadcast receivers instead of progress listeners when updating the progress bar. Other than that, the only other conflict was both trying to store a reference to the main button from the UI. The only changes were in naming (mainButton vs btMain) and also in the place where the local variable was assigned (onCreate() vs setupViews() which is called during onCreate() anyway).

After merging, I did some minor cleanups. This is because in the process of checking that my conflict resolution compiled, I thought it best to remove a bunch of warnings from `AppDetails` and others. Turns out that by doing so, I found a bug due to the integration (to do with the `AppDetails` querying the downloader for status in `onResume()` rather than waiting for a broadcast event) so I'm glad I did so.

Let me know what you think, and then after the next stable, we can go ahead and merge this if people are happy.

p.s. I have no idea why GitLab is showing @eighthave's commit at the top of the list of commits, after my integration related commits.

See merge request !114
2015-08-09 06:09:54 +00:00
xinxin
e3140573ac Add timeout for Http request 2015-08-08 19:04:16 -07:00
Daniel Martí
a777c89ef6 README: improve build instructions and add some building tips 2015-08-05 16:53:42 -07:00
Daniel Martí
94ace2e1af Get rid of support submodule
It is now unused. Was used for v7-appcompat in ant, which is no longer
supported.
2015-08-05 16:48:45 -07:00
Daniel Martí
20c3a50f3b Bump to 0.95 v0.95 2015-08-04 14:37:34 -07:00
Daniel Martí
91696f5ccb Fix versioning scheme for actual stable releases 2015-08-04 14:35:46 -07:00
Daniel Martí
f1901d75ac Remove leftover lightWithDarkActionBar enum item 2015-08-03 17:52:31 -07:00
Daniel Martí
bdb71d828f Have the light theme as the default throughout
It was changed in preferences.xml, but not in the manifest and in the default
case in the Java code.
2015-08-03 17:45:32 -07:00
Peter Serwylo
cbd8c977e2 Use annotations to remove lint warnings.
Also removed undocumented java doc.
2015-08-03 22:59:47 +10:00
Peter Serwylo
215dcc0dd9 Don't use Notification class, but rather NotificationCompat. 2015-08-03 22:59:46 +10:00
Peter Serwylo
f3a9581d89 Fix warnings in app details (remove progress thingo).
AppCompat no longer supports progress indicators in the action bar. So
this is not your everyday "Deprecated, but sure, keep using it" job.
Rather, it is "deprecated, and no, we wont even let you use it."

Also removed unused argument and extended AppCompatActivity.
2015-08-03 22:59:46 +10:00
Peter Serwylo
a0bf49d1ea Reinstate code to allow resumed activity to query download status (rather than wait for broadcasts). 2015-08-03 22:59:46 +10:00