664 Commits

Author SHA1 Message Date
Daniel Martí
8411dd4f9c Use the same DateFormat for the DB and XML parsing, English locale 2014-01-08 12:55:48 +01:00
Daniel Martí
fe41108ed6 Always use Locale.ENGLISH for hashes/fingerprints 2014-01-08 11:58:26 +01:00
Daniel Martí
98d574afbf Switch was added in the sdk level 14, not 11 2014-01-08 11:39:26 +01:00
Daniel Martí
c274752477 Actually use the compat class in ClipboardCompat and SwitchCompat 2014-01-08 11:29:03 +01:00
Daniel Martí
f1c7846605 Refactor cpuAbis to compat/SupportedArchitectures
Changes:

* Use HashSet instead of ArrayList
* Print all the abis on Log.d instead of just the first one
* Get rid of lintian warnings
2014-01-08 11:21:35 +01:00
Daniel Martí
5296bf1477 Remove *.orig files 2014-01-08 10:36:39 +01:00
Daniel Martí
943253084b Use a ViewHolder for the ApkList too 2014-01-08 10:35:30 +01:00
Daniel Martí
db01c9c476 Merge branch 'master' into development 2014-01-07 23:36:38 +01:00
Daniel Martí
d3686de3cd Support /icons-* per-density icon folders (repo version 11) 2014-01-07 18:23:26 +01:00
Daniel Martí
9709b4f51c No need to use String.format explicitly 2014-01-07 17:50:36 +01:00
Daniel Martí
e8337aad30 Revert "getApps(): Start Map size with the number of apps we have"
This reverts commit 21747dcf408bef108187588c5ba8b8d72c4b34dc.
2014-01-07 08:55:32 +01:00
Peter Serwylo
c1ccdcfca8 Merge branch 'master' into development
Conflicts:
	src/org/fdroid/fdroid/DB.java
	src/org/fdroid/fdroid/FDroid.java
	src/org/fdroid/fdroid/RepoXMLHandler.java
2014-01-06 15:05:37 +11:00
Peter Serwylo
1bed5ff87c Removed update repo from AB. Fix for new installs with repo version. 2014-01-06 11:17:25 +11:00
Peter Serwylo
5591104c21 Refactored DBHelper out of DB class.
This will be required for ContentProviders, because the need
SQLiteOpenHelpers (or whatever they are called) in order to work,
and having it as a subclass of DB wouldn't quite work for that.
2014-01-05 20:11:54 +11:00
Peter Serwylo
66cde1d88b Fix bug causing incorrect repos to silently be enabled. 2014-01-05 19:41:07 +11:00
Peter Serwylo
d80f2d58ad Merge branch 'development' into experimental/refactor-update
Conflicts:
	src/org/fdroid/fdroid/RepoXMLHandler.java
	src/org/fdroid/fdroid/Utils.java
2014-01-05 19:22:30 +11:00
Peter Serwylo
b863802479 Merge branch 'master' into experimental/refactor-update 2014-01-05 09:54:42 +11:00
Peter Serwylo
70576c72be Reinsted accidentally removed code. Removed refresh repos action item. 2014-01-05 09:35:50 +11:00
Peter Serwylo
783d6aa4d1 Minor fix after conflict resolution. 2014-01-04 21:30:09 +11:00
Peter Serwylo
3731ed8f23 Merge remote-tracking branch 'upstream/master' into improvement/16/manage-repos
Conflicts:
	res/values/strings.xml
	src/org/fdroid/fdroid/DB.java
	src/org/fdroid/fdroid/ManageRepo.java
	src/org/fdroid/fdroid/RepoXMLHandler.java
	src/org/fdroid/fdroid/Utils.java
2014-01-04 20:45:52 +11:00
Peter Serwylo
ffa2c962dc Merge branch 'master' into improvement/16/manage-repos
Conflicts:
	res/layout/appdetails.xml
	res/values/strings.xml
	src/org/fdroid/fdroid/DB.java
	src/org/fdroid/fdroid/FDroid.java
	src/org/fdroid/fdroid/ManageRepo.java
2014-01-04 20:19:27 +11:00
Daniel Martí
14d7ce38fd Specify what version_name means in the index.jar address 2014-01-04 01:25:45 +01:00
Daniel Martí
3b5e883397 Translation string format inconsistencies should not be caught in java
They should not exist at all, i.e. our translatebot should not allow them in
(they break things in other places, not just here)
2014-01-04 01:09:33 +01:00
Daniel Martí
fa08a8cfa4 Get rid of unused TargetApis 2014-01-04 01:04:40 +01:00
Daniel Martí
21747dcf40 getApps(): Start Map size with the number of apps we have 2014-01-03 22:55:03 +01:00
Daniel Martí
463561d971 Use a ViewHolder static class to avoid most findViewById calls 2014-01-03 22:18:11 +01:00
Daniel Martí
bd2e379073 Keep the same inflater in the AppListAdapter 2014-01-03 22:05:34 +01:00
Daniel Martí
e9abbfa743 Add 'repo.version' integer 2014-01-03 20:47:08 +01:00
Daniel Martí
eeeace080f Start cpuAbis at length 2, place secondary abi at second position 2014-01-03 20:29:02 +01:00
Daniel Martí
066f67bcd4 Default to minSdk version "1.0" 2014-01-03 17:55:33 +01:00
Daniel Martí
105390fa88 Revert "Add very basic support for <provides>"
This reverts commit bc74d97195417814193ce9ccfa838f0730310821.

Conflicts:
	src/org/fdroid/fdroid/DB.java
2014-01-03 07:40:42 +01:00
Daniel Martí
4d94295864 Switch to "apks" apk cache dir, use internal cache when external is not available 2014-01-03 06:55:28 +01:00
Daniel Martí
5cde91ef23 Show text in the update AB icon 2014-01-03 02:56:25 +01:00
Daniel Martí
50f68d34b9 Support minSdk info in version list views 2014-01-03 02:44:24 +01:00
Daniel Martí
9c61ccebdb Place the update repos button in the Action Bar 2014-01-03 01:16:24 +01:00
Peter Serwylo
fe7c77ad03 Merge branch 'master' into experimental/refactor-update
Conflicts:
	src/org/fdroid/fdroid/RepoXMLHandler.java

Only conflict was renaming "apps" to "appList" in a block of code
that I removed.
2014-01-03 08:01:13 +11:00
Peter Serwylo
535d343faf Fixed update code to work with signed repos that haven't changed. 2014-01-03 06:15:45 +11:00
Daniel Martí
b35bb9b1f5 Add TargetApi lines to compat/* to suppress many lint warnings 2014-01-01 22:30:01 +01:00
Daniel Martí
e8d3a7a4ef Raise minSdk to 5, UIL requires it 2014-01-01 22:22:21 +01:00
Daniel Martí
f4e23bb2ed Buildfix 2014-01-01 22:09:33 +01:00
Daniel Martí
cd00760cc4 Remove compact icons, replace installed with a symbol 2014-01-01 21:45:20 +01:00
Daniel Martí
753bc43452 Use AppDetails title as indicator where we come from 2014-01-01 21:34:41 +01:00
Daniel Martí
771947536e Add categories to AppDetails, layout tweaks 2014-01-01 21:08:41 +01:00
Peter Serwylo
2b1c335ea9 Refactored updating code to make future modifications easier.
Rebased several months of work, and attempted to resolve any conflicts.
The conflicts were a tad more difficult than usual to resolve because they
were in files where large blocks of code were refactored into different
files, and git didn't realise.

Conflicts:
	src/org/fdroid/fdroid/RepoXMLHandler.java
	src/org/fdroid/fdroid/UpdateService.java
2014-01-02 06:28:15 +11:00
Daniel Martí
214c920afd Do AddItems with addAll on AppListAdapter 2014-01-01 16:06:42 +01:00
Daniel Martí
219443b5a7 Fix support for 1.6 (4), fixes #414 2014-01-01 14:52:14 +01:00
Daniel Martí
56cb8ccdda Update summaries via methods, greatly decreasing source lines 2014-01-01 02:09:16 +01:00
Daniel Martí
962521947e Last pref summary: notifications 2014-01-01 01:47:10 +01:00
Daniel Martí
de40bed7e1 Do expert mode summary 2014-01-01 01:43:52 +01:00
Daniel Martí
6c9a375b27 Do db sync and apk cache settings summaries too 2014-01-01 01:32:33 +01:00