586 Commits

Author SHA1 Message Date
Ciaran Gultnieks
3c0ccf2f4f Tidied up some file-related stuff 2012-09-14 09:24:08 +01:00
Ciaran Gultnieks
cd44c8b80b Tidy up installed version stuff 2012-09-14 08:03:40 +01:00
Ciaran Gultnieks
bc4251248b Suppresses API lint warnings for EclairChecker
That class is only instantiated on API 5+
2012-09-14 08:02:37 +01:00
Ciaran Gultnieks
161cc23f8f Restores case insensitive sorting of applications by name
I broke this in 0.34-test
2012-09-14 07:12:57 +01:00
Ciaran Gultnieks
ff8dde9cc7 Stops attempting to get signatures for not-installed packages
This only wastes a negligible amount of time, but causes silly
log messages.
2012-09-14 07:12:25 +01:00
Ciaran Gultnieks
0efc4c6794 Performence improvements, work in progress 2012-09-13 21:28:19 +01:00
Ciaran Gultnieks
003d65627e Fix crash when rotating screen in App Details 2012-09-12 21:52:52 +01:00
Ciaran Gultnieks
2ecfb9d5a0 Don't re-read database when switching categories 2012-09-12 17:19:52 +01:00
Ciaran Gultnieks
a2de56e2a5 Better reporting of update errors 2012-09-12 16:56:04 +01:00
Ciaran Gultnieks
951bf603fd Avoid UI clash between changed repos and empty update 2012-09-12 16:55:43 +01:00
Ciaran Gultnieks
64c8ed5507 More efficient memory usage when processing repo index 2012-09-12 00:02:27 +01:00
Michele Azzolari
905af06124 Go straight to updates tab in response to notification 2012-09-11 16:00:15 +01:00
Ciaran Gultnieks
2d397c8611 Improved update handling:
Database is locked for much less time - only briefly before starting an
update sequence, and again after all downloads and parsing are complete.
Also, when the same app is defined in multiple repos, the apks are
merged rather than just having one take priority.
2012-09-10 22:46:45 +01:00
Ciaran Gultnieks
0623801474 Reorganise database access to prevent locking issues 2012-09-10 21:01:39 +01:00
Ciaran Gultnieks
568b615ecf Take notice of HTTP response code when downloading icons 2012-09-10 21:00:03 +01:00
Ciaran Gultnieks
0d52290a26 Removed some unused imports 2012-09-07 17:15:26 +01:00
Ciaran Gultnieks
c98aa9f6dc Overhauled repository update to resolve multiple problems 2012-08-31 16:33:51 +01:00
Ciaran Gultnieks
75898b7b0c Fixed another update problem 2012-08-26 14:06:23 +01:00
Ciaran Gultnieks
bb89fc6c1b Fixed update bug 2012-08-26 10:46:53 +01:00
Ciaran Gultnieks
8323aacc7e Add "What's New" and "Recently Updated" categories 2012-08-26 09:31:59 +01:00
Kevin Everets
6d0b5d2d8e Add "added" information to the Apk list in AppDetails if available
Just place it below the status for the time being until a more pleasing
layout can be created.
2012-07-16 15:08:17 -04:00
Kevin Everets
d6015fe77c Parse and store the "added" and "lastupdated" for Apps and "added" for Apks
This bumps the database version to 14 in order to store these extra
strings.
2012-07-16 15:08:17 -04:00
Ciaran Gultnieks
15904928ae Send client version when requesting index.jar
This will allow us to deal with future incompatibilities if necessary,
and also to determine how far back we need to support.
2012-01-12 17:30:51 +00:00
Kevin Everets
5c87a5c425 Show the currently installed version (if installed) and current version (if hasUpdate) 2012-01-11 10:48:51 +00:00
Ciaran Gultnieks
c17b6fdcc6 Enable fast scroll on app lists 2012-01-10 16:41:06 +00:00
Ciaran Gultnieks
ba2861dcc8 Probable fix to notification problem 2011-12-05 17:06:50 +00:00
Ciaran Gultnieks
23109ca778 Cleaned up the update process a bit 2011-11-29 17:51:11 +00:00
Ciaran Gultnieks
1fd7fa835c Merge commit 'refs/merge-requests/6' of git://gitorious.org/f-droid/fdroidclient into merge-requests/6 2011-10-11 13:49:46 +01:00
Ciaran Gultnieks
a6ee656afb Additional debug output for diagnosing feature incompatibility 2011-10-11 13:47:35 +01:00
Ivo Ugrina
9359509e2c added antiNoneFreeDep 2011-10-08 00:20:51 +02:00
Paul Sokolovsky
0ee34076af Handle actual list filtering based on category dropdown selection. 2011-08-16 21:45:46 +03:00
Paul Sokolovsky
8a5dbaf001 Add category dropdown at the top of main form (above tabs). 2011-08-16 21:45:35 +03:00
Paul Sokolovsky
fd3866cdd0 Parse <category> element. 2011-08-16 21:03:27 +03:00
Paul Sokolovsky
34064fde90 Trim whitespace from cdata, work with pretty-printed XML. 2011-08-16 21:03:14 +03:00
Paul Sokolovsky
223ad42959 Add category property to DB. 2011-08-14 22:03:23 +03:00
Henrik Tunedal
63c573b28b Add landscape layout for AppDetails 2011-03-30 01:39:36 +02:00
Henrik Tunedal
9c3da557fa Fix bug in DownloadHandler
If an error occurred or the user cancelled the download, the message
(toast) would be redisplayed on every rotation from there on.

This change fixes the bug (by removing the reference to the download
thread when it's finished) and encapsulates all interaction with the
download thread in DownloadHandler.
2011-03-29 02:01:19 +02:00
Henrik Tunedal
1ae3e604bd Use unfiltered application list for updates 2011-03-28 18:25:23 +02:00
Henrik Tunedal
c76da4e35f Display SHA-1 fingerprints for repositories
The fingerprint is divided into four groups for readability but
otherwise identical to what keytool displays.
2011-03-28 03:54:29 +02:00
Henrik Tunedal
33fa2debf9 Consolidate hex conversion functions 2011-03-28 03:49:48 +02:00
Henrik Tunedal
37732255b2 Log available device features 2011-03-26 17:29:29 +01:00
Henrik Tunedal
767f1a6866 Stop progress updates when in background 2011-03-22 23:27:46 +01:00
Henrik Tunedal
7c43b91502 Reset signature ID after uninstall 2011-03-22 23:27:46 +01:00
Henrik Tunedal
89dd64a210 Remove APK count from AppDetails
Rationale:
1) The string is competing for space with the license field.
2) It would need separate singular/plural versions to be correct.
3) It's unnecessary when the list of APKs is shown directly below.
2011-03-22 23:27:33 +01:00
Henrik Tunedal
030075925a Make rotation quicker
Traceview revealed that the call to DB.getApps() was by far the
slowest part of recreating the activity, followed by getPackageInfo().
By transferring the list contents and some other fields from the old
activity object, the time needed to create the new one can be
substantially reduced.
2011-03-22 21:42:52 +01:00
Henrik Tunedal
84f150ed6a Handle rotation in AppDetails activity
This moves the download thread from an anonymous inner class to the
class Downloader, which isn't tied to the activity.

The state of the progress dialog is updated by polling the download
thread at regular intervals - message passing seemed to need a bunch
of synchronized methods and shared variables anyway (to ensure that
all messages reached the right activity) so it was much simpler to
just take it out. But maybe my approach is completely backward.
2011-03-22 21:42:52 +01:00
Henrik Tunedal
fabea142da Tolerate multiple signatures on index 2011-03-18 18:51:21 +01:00
Henrik Tunedal
6950085b56 Support SHA-256 in addition to MD5
The client will now check the SHA-256 hash of an APK if it's provided
in the index but otherwise falls back to the MD5 hash.
2011-03-18 18:46:24 +01:00
Henrik Tunedal
ce3e4bd34f Merge branch 'compatcheck' 2011-03-09 00:22:31 +01:00
Henrik Tunedal
3502896e65 Check compatibility when determining current version 2011-03-08 20:06:43 +01:00