791 Commits

Author SHA1 Message Date
Daniel Martí
aaad028f3a Use OnSharedPreferenceChangeListener, recommended and easier to use 2013-12-31 21:29:38 +01:00
Daniel Martí
994610c516 TODO done: Use a HashMap when updating app lists 2013-12-31 20:46:21 +01:00
Daniel Martí
ea0eae6b11 Small changes to SearchResuts 2013-12-31 14:49:34 +01:00
Daniel Martí
d1d1201a6e Add missing dogecoin bit to RepoXMLHandler 2013-12-31 12:12:32 +01:00
Daniel Martí
1e4fe9fa2c Add basic dogecoin donation support db-version/32 2013-12-31 12:11:03 +01:00
Daniel Martí
a189ff6e4e Replace UnlimitedDiscCache with LimitedAgeDiscCache and 30 days (fixes #190) 2013-12-31 11:35:00 +01:00
Daniel Martí
67ec0f748c Separate status and license from name and summary in app lists 2013-12-31 11:27:19 +01:00
Daniel Martí
bc74d97195 Add very basic support for <provides> db-version/31 2013-12-31 11:16:46 +01:00
Daniel Martí
e437898e33 Further fixes to layouts 2013-12-31 11:03:34 +01:00
Daniel Martí
5ef87602ca Update UIL, release 1.9.1 2013-12-31 11:03:34 +01:00
Daniel Martí
fa02eb5733 Small tweaks to paddings and layouts 2013-12-31 11:03:34 +01:00
Daniel Martí
70fd272871 Replace * and -> with UTF symbols 2013-12-31 11:03:34 +01:00
Ciaran Gultnieks
47c0c2f6ab Remove invalid language 2013-12-29 13:28:42 +00:00
F-Droid Translatebot
d8e63240b6 Translation updates 2013-12-29 13:22:49 +00:00
F-Droid Translatebot
2db4f3f972 Translation updates 2013-12-29 12:55:24 +00:00
Daniel Martí
dc7df0fc5f Release 0.56-test 0.56-test 2013-12-26 00:12:46 +01:00
Daniel Martí
c306fe9157 Properly center elements in the app list views 2013-12-26 00:08:43 +01:00
Daniel Martí
03f2869281 Always load incompatible apks on memory 2013-12-25 22:48:12 +01:00
Daniel Martí
e3789631ba Restructure applistitem:
* Move it to the top right corner
* Don't let the app name overlap it
* Ellipsize version names to leave space for name
* Summary can now take two lines if it needs them
* Installed versions are now bold
2013-12-25 22:46:46 +01:00
Daniel Martí
f3b247dc81 Don't override old DisplayImageOptions entirely 2013-12-25 20:11:26 +01:00
Daniel Martí
960e04d425 Merge commit 'refs/merge-requests/55' of gitorious.org:f-droid/fdroidclient 2013-12-25 19:46:09 +01:00
Daniel Martí
5c722ff07b Update UIL 2013-12-25 19:36:27 +01:00
Daniel Martí
0df1426c8a Slightly more specific gitignore 2013-12-23 13:43:34 +01:00
Daniel Martí
7f09ff0c09 Bump gradle and build-tools versions 2013-12-22 14:15:17 +01:00
Daniel Martí
2651b81792 We should not encourage all caps urls 2013-12-16 10:23:21 +01:00
Daniel Martí
71be2d8e82 Avoid a couple possible NullPointerExceptions 2013-12-14 11:47:59 +01:00
Daniel Martí
e070883934 Remove empty overrides 2013-12-14 11:41:25 +01:00
Daniel Martí
744d46161e Remove unnecessary returns 2013-12-14 11:34:26 +01:00
Daniel Martí
2ee5226d62 Remove wanted id instead of hard-coded 1... 2013-12-12 00:32:35 +01:00
Daniel Martí
a0a2fe4cf0 A few variable type fixes 2013-12-12 00:32:35 +01:00
Daniel Martí
ccbfa2744e Replace iterator with foreach 2013-12-12 00:32:35 +01:00
Daniel Martí
00a0f4399f Avoid a couple possible NullPointerExceptions 2013-12-12 00:32:35 +01:00
Daniel Martí
10fa5108da Delete a bunch of unused imports 2013-12-12 00:32:29 +01:00
Daniel Martí
9522edda74 Remove a couple unused vars 2013-12-12 00:14:26 +01:00
Daniel Martí
d042ed7508 Multiple appends are better than an append of a concatenation 2013-12-12 00:13:09 +01:00
Daniel Martí
f4fa7db8c8 Make a couple FDroid variables local as per lint suggestion 2013-12-12 00:12:52 +01:00
Daniel Martí
23dcfadefa Don't crash if an apk exists for a non-existing app 2013-12-07 13:00:10 +01:00
Daniel Martí
901112b29d Update UIL 2013-12-07 12:25:48 +01:00
Ciaran Gultnieks
4d3b7967c4 Merge branch 'merge-requests/45' 2013-12-04 17:44:34 +00:00
Ciaran Gultnieks
831a1b40fa Merge commit 'refs/merge-requests/45' of git://gitorious.org/f-droid/fdroidclient into merge-requests/45 2013-12-04 17:44:31 +00:00
Ciaran Gultnieks
708518883a Merge branch 'merge-requests/44' 2013-12-04 17:42:32 +00:00
Hans-Christoph Steiner
1ad693931f if incoming repo Intent is handled, then return to the sending Activity 2013-12-02 21:55:55 -05:00
Hans-Christoph Steiner
f9d2fbb0ae if incoming repo already exists and is enabled, show Toast and hide dialog
No need to show the dialog if it won't let you take any action.
2013-12-02 21:50:08 -05:00
Hans-Christoph Steiner
c7b076e5ea add detailed checking of incoming repos based on fingerprint in DB
When a new repo is being added, whether manually or via an incoming Intent,
check the address and fingerprint against repos in the DB.  If the repo is
not in the DB, offer to add it.  If the repo address is in the DB, then do
more checks:

* If that address has no fingerprint in the DB, then offer to add the new
  repo including that fingerprint.  This might happen when upgrading a repo
  from unsigned to signed.
* if the incoming info matches a repo in the DB, offer to enable that repo
* if the address matches a repo in the DB but the incoming fingerprint does
  not match the fingerprint in the DB, warn the user, and tell them to
  delete the existing repo if they truly want to override the existing info
2013-12-02 21:50:08 -05:00
Hans-Christoph Steiner
711a1418b6 make DB.calcFingerprint() return null if pubkey is null
Handling it here seems to keep the flow simple.
2013-12-02 21:50:08 -05:00
Hans-Christoph Steiner
e063636d61 make all incoming repo URLs all lowercase 2013-12-02 21:50:08 -05:00
Hans-Christoph Steiner
ffc1f27e33 remove trailing spaces from .java files to placate the more finicky formats
the Eclipse Android mode loves to remove all trailing whitespaces quite
religiously.  This commit just removes trailing whitespace.  It was done
by running this:

sed -i 's/[[:space:]]*$//' *.java */*.java
2013-12-02 18:53:33 -05:00
Hans-Christoph Steiner
a3ac298ae4 narrowly tailor repo URL matching to avoid false matches
With so many patterns being matched, it is highly likely that there will be
false positives, i.e. random URLs will trigger the prompt of whether to use
F-Droid or not.  The updated set of patterns narrowly tailors the matches
so that it is highly unlikely to match URLs that are not fdroid repos, yet
still makes it useful both as a generic repo and a peer-to-peer
bootstrapping repo.

This set of patterns only matches URLs like this:

https://foo.org/fdroid/repo
https://foo.org/fdroid/repo/
https://foo.org/fdroid/repo/////

It does not match URLs like this:

https://f-droid.org/repo
https://myblog.com/thoughts-about-my-lovely-fdroid-repo
https://news.com/tag/repo
https://somesite.com/repo/this-is-my-stuff

It matches multiple slashes to since those are in effect the same URL, and
they sometimes show up as typos.  This does not include mvdan's proposal
for the 'fdroid-bootstrap' tag on the end because its not something that I
would use in this current project, so I don't know how best to apply it.  I
have no objection to the 'fdroid-bootstrap' proposal.
2013-12-02 15:37:49 -05:00
Daniel Martí
7dfe9eac24 Add basic gradle support 2013-11-27 15:47:13 +01:00
Daniel Martí
78caf63093 Update UIL to latest master 2013-11-27 15:23:55 +01:00