212 Commits

Author SHA1 Message Date
Daniel Martí
a5c66a8c6e New setting: "Small screen" to avoid ellipsizing on small screens 2014-01-10 22:12:57 +01:00
Daniel Martí
350d77aec6 Merge branch 'master' into development 2014-01-09 12:25:35 +01:00
Daniel Martí
c0fad0fe26 Fix: Don't crash if an app has no categories 2014-01-09 12:25:20 +01:00
Daniel Martí
7279dfacac ViewHolder classes are now private 2014-01-08 14:59:07 +01:00
Daniel Martí
943253084b Use a ViewHolder for the ApkList too 2014-01-08 10:35:30 +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í
50f68d34b9 Support minSdk info in version list views 2014-01-03 02:44:24 +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
Daniel Martí
1e4fe9fa2c Add basic dogecoin donation support 2013-12-31 12:11:03 +01:00
Daniel Martí
70fd272871 Replace * and -> with UTF symbols 2013-12-31 11:03:34 +01:00
Daniel Martí
03f2869281 Always load incompatible apks on memory 2013-12-25 22:48:12 +01:00
Daniel Martí
f3b247dc81 Don't override old DisplayImageOptions entirely 2013-12-25 20:11:26 +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í
a0a2fe4cf0 A few variable type fixes 2013-12-12 00:32:35 +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
Ciaran Gultnieks
2e21f8abba Support for displaying UpstreamNonFree 2013-11-27 11:26:52 +00:00
Hans-Christoph Steiner
240f03d372 add "proper" Java decorators that Android ADT insists on adding
Everytime I save a java file with Android ADT, it adds @Override decorators
and throws errors if a method is called that is not supported in API 4. My
setup might be more sensitive since its setup with the official Android
style plugin for Eclipse.  But the decorators are "correct" Java style, so
it would be nice to have them in F-Droid.
2013-11-23 13:39:26 -05:00
Ciaran Gultnieks
1b8ea8f3d5 Handle unrecognises antifeatures more gracefully
This allows us to add new ones without making a mess in the client.
Prior to this change it would add empty lines, and also if the only
antifeature was an unrecognised one, would enable the antifeature view
box but with nothing in it. It should now ignore them completely.
2013-11-17 11:33:05 +00:00
Daniel Martí
afb5762a71 Save ignore settings in onPause, fixes #409 2013-11-16 23:26:03 +01:00
Paul Sokolovsky
f7b3e0b81c finish(): Check for app non-null before accessing it.
finish() may be called from reset() which sets app to null. This issues
hits for example when clicking on wiki-link of an app which doesn't
currenty exist in client index, throws:

E/AndroidRuntime(17630): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.fdroid.fdroid/org.fdroid.fdroid.AppDetails}: java.lang.NullPointerException
E/AndroidRuntime(17630): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
E/AndroidRuntime(17630): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
E/AndroidRuntime(17630): 	at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime(17630): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
E/AndroidRuntime(17630): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(17630): 	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(17630): 	at android.app.ActivityThread.main(ActivityThread.java:3691)
E/AndroidRuntime(17630): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(17630): 	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(17630): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
E/AndroidRuntime(17630): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
E/AndroidRuntime(17630): 	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(17630): Caused by: java.lang.NullPointerException
E/AndroidRuntime(17630): 	at org.fdroid.fdroid.AppDetails.finish(AppDetails.java:1012)
E/AndroidRuntime(17630): 	at org.fdroid.fdroid.AppDetails.reset(AppDetails.java:353)
E/AndroidRuntime(17630): 	at org.fdroid.fdroid.AppDetails.onCreate(AppDetails.java:243)
E/AndroidRuntime(17630): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime(17630): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
2013-11-16 19:32:30 +02:00
Daniel Martí
080bab482d Fix possible crashes when entering AppDetails 2013-11-10 18:55:35 +01:00
Daniel Martí
a6507bcc8c Small fixes 2013-11-04 12:30:30 +01:00
Daniel Martí
a76a465cf1 Re-add theming, much better this time 2013-11-03 16:12:22 +01:00
Daniel Martí
ed49eced45 Change setting "Incompatible apps" to "Incompatible versions"
Rather large rewrite, basically doing:
* Always show incompatible apps
* Don't fetch incompatible apks if the new setting is off
* Start using result codes when returning from PreferencesActivity
2013-11-02 18:27:02 +01:00
Kevin Everets
b3f0034140 Change wording in App Details from "Update" to "Upgrade"
An "Update" in that context implies that the details will update, not
that the app itself will be upgraded.
2013-10-25 15:27:32 -04:00
Daniel Martí
804496b50b Set label for ACCESS_SUPERUSER if the system doesn't have it yet 2013-10-23 00:52:54 +02:00
Daniel Martí
19712433bc Always show apps with AFs; Always display AF list in bold red at top of AppDetails 2013-10-23 00:52:25 +02:00
Daniel Martí
bae65cb49a Actually show the Donate submenu in app details 2013-10-15 14:38:24 +02:00
Daniel Martí
6ada30118e Don't crash when updating, handle "ignore this" between updates 2013-10-13 21:29:03 +02:00
Daniel Martí
ae95ef1b74 Spacings after html lists are fixed. Better paddings. 2013-10-11 18:59:40 +02:00
Daniel Martí
31afbe0423 AppDetails Apk layout tweaks, show ABIs in expert mode 2013-10-11 18:20:23 +02:00
Daniel Martí
36ecacc021 Consistency in order of includes
1. Native java
2. Third party java
3. Native android
4. Third party android
5. Ours
2013-10-11 16:46:14 +02:00
Daniel Martí
1d319009c4 Only calculate the current Apk (recommended version) once 2013-10-11 16:20:07 +02:00
Daniel Martí
f205b67cd5 Fix ActionBar Home button issues on 3.X-4.0.X 2013-10-10 21:58:03 +02:00
Daniel Martí
f2500bec15 New feature: "Ignore This Update". 2013-10-10 17:49:31 +02:00
Daniel Martí
1e5cda97c3 Send icon for "Donate", no icons for its submenu entries 2013-10-10 17:49:04 +02:00
Daniel Martí
9ea8eca7d5 Mark the AFs which block apks from being shown in bright red 2013-10-09 23:59:58 +02:00
Daniel Martí
9bf73529a7 Add support for Litecoin donations 2013-10-09 22:49:23 +02:00
Daniel Martí
eabf9cd654 Add a space after every bullet in a <li> element 2013-10-08 15:32:23 +02:00
Daniel Martí
5609b88250 Remove unnecessary space at the end of description 2013-10-08 15:32:23 +02:00
Daniel Martí
6e622e59ab Initial Anti-Feature list implementation
Also, move visibility stuff from onResume to onCreate (they are only affected
by preferences, i.e. onCreate will always be run since the preferences button
is only in our main activity).
2013-10-08 15:32:22 +02:00
Daniel Martí
78ba64c2ec Add App.toUpdate as the filter result of App.hasUpdates (fixes #372) 2013-10-08 12:57:58 +02:00
Daniel Martí
a6128a3e47 Remove "Google Play"/"Market" menu button 2013-10-03 19:10:32 +02:00
Daniel Martí
953512cac9 Revert some icon changes, go back to using <icon> from the index 2013-09-29 20:45:47 +02:00
Daniel Martí
5aa2710362 Leave repo uri scheme handling for later, fix search schemes 2013-09-29 20:27:49 +02:00
Daniel Martí
78e2e1bcc4 Avoid crashes when appid or repoUri are empty 2013-09-26 20:16:08 +02:00