710 Commits

Author SHA1 Message Date
Daniel Martí
bc77804eee Add a small padding to the "found x applications matching..." string in SearchResults 2013-07-26 00:14:42 +02:00
Daniel Martí
47575b5c56 Add search results label 2013-07-26 00:10:48 +02:00
Daniel Martí
cb2bf7945b Add AppDetails activity label as well 2013-07-26 00:07:24 +02:00
Daniel Martí
1d72c31557 Set Preferences label for the ActionBar 2013-07-25 23:49:14 +02:00
Daniel Martí
a5492cac35 Revert "Hide ActionBar title on AppDetails to make space"
This reverts commit 2b4147ed9fee4557723804df093e5a3bd838cfb4.
There's no need to make more space.
2013-07-25 23:18:04 +02:00
Daniel Martí
c032cae0ff Don't show remove/run buttons on incompatible apps 2013-07-25 23:08:23 +02:00
Daniel Martí
03ca3e0e05 CV == 0 means none recommended. No CV declared means latest compatible apk recommended. 2013-07-23 18:19:04 +02:00
Daniel Martí
0c1b854b69 Remove "reset" from the preferences page.
Currently, removing the cache does the job much better. The only thing
clearing the cache doesn't do which "reset" did is removing the databases. But
we don't want to do that anyway.

If someone wants to do that, they can just deactivate or remove a repo, and it
will get wiped from the database.
2013-07-23 17:02:35 +02:00
Daniel Martí
4de47bd810 Only fetch local_path if necessary 2013-07-23 13:40:50 +02:00
Daniel Martí
36ff25a95c Merge commit 'refs/merge-requests/53' of gitorious.org:f-droid/fdroidclient 2013-07-23 12:11:20 +02:00
Daniel Martí
38f2cadb80 Don't recommend incompatible versions (closes: #311) 2013-07-23 11:21:18 +02:00
Peter Serwylo
65244e6784 Refactored the compact layout preference in AppListAdapter.
Moved it to a getter, instead of directly accessing the property
throughout.
2013-07-23 09:03:02 +10:00
Daniel Martí
5761f32935 Never star vercodes larger than the current as recommended 2013-07-22 17:59:46 +02:00
Daniel Martí
38c0ae1972 Sharing apps now has a better plaintext structure
SUBJECT: "Android App: [name]"
TEXT: "[name] ([summary]) - [link]"
2013-07-22 16:57:24 +02:00
Daniel Martí
ff0f3a27f9 Use https when sharing an app 2013-07-22 16:19:41 +02:00
Daniel Martí
e44f8b67a7 Disabling repos now clears their apks as well
The current method is quite ugly, mainly because enabling and disabling repos
uses SQL and the list item click function does not tell us whether a repo is
being enabled or disabled. For now it works, but there's room for improvement.
2013-07-22 14:59:22 +02:00
Daniel Martí
632f18c4a2 Fix getAppsBasic
versionName was always null, hence hasUpdates was always false.
2013-07-22 14:57:40 +02:00
Daniel Martí
3ea7226330 Also open https links to apps 2013-07-22 11:35:30 +02:00
Daniel Martí
6bfcb338d4 Use the new /app/app.id uri scheme
Also, differentiate between market://details and http://f-droid.org/app
better.
2013-07-22 11:33:21 +02:00
Daniel Martí
f3ee1201e4 Use INDEX_CAN_UPDATE rather than its hard-coded id 2013-07-22 10:51:17 +02:00
Daniel Martí
25968d181d Remove "X updates available" notification when entering the updates tab
Both in the old and new tab managers, when entering or programmatically
selecting the third tab (id 2) the notification with id 1 (updates
notification) will be cancelled i.e. deleted.
2013-07-21 19:01:07 +02:00
Daniel Martí
930cf7d613 Don't list apps with zero apks
After removing one or more repos, remove all the apps which don't have any
apks listed from the database.
2013-07-21 17:49:56 +02:00
Daniel Martí
4b32f92777 Get rid of unnecessary indentations 2013-07-21 17:03:26 +02:00
Daniel Martí
96f358d94c New getAppsBasic to avoid retrieving unnecessary data 2013-07-21 17:00:05 +02:00
Daniel Martí
07a161c0a9 Don't crash if no apks are listed 2013-07-21 13:20:42 +02:00
Daniel Martí
b9d5e8f701 Invalidate app/apk cache when removing repos 2013-07-21 13:15:01 +02:00
Daniel Martí
c545139927 Forgot to default hasUpdates to false (fixes: #297) 2013-07-21 11:18:37 +02:00
Peter Serwylo
c8fa5303c4 Fixed issues with api version differences.
I moved the Utils.hasApi to the protected method in Compatibility.
It was misleading having it in Utils, because it is not as simple as
putting a "if(Utils.hasApi(11)) callApi_11_method()" there.

The problem isn't when the method is executed during runtime, it is when
the class is loaded into the VM using the classloader. At that point, it
tries to verify that indeed every method you call from your class
exists, so the conditional check doesn't work, hence VerifyError's and
breakage.

The appropriate way to do it is the same way as the Android support
library does it. The goal is to have an interface which only one
implementation is every loaded at runtime. Any implementations for
versions that your device doesn't support will never get loaded, so no
VerifyErrors. If you have the support library installed in your
Android SDK, check out
extras/android/support/v4/src/java/android/support/v4/view/MenuItemCompat.java
to see how the pattern works.
2013-07-21 08:14:57 +10:00
Peter Serwylo
d2e2b492fb Added missing > in XML. 2013-07-21 07:20:53 +10:00
Daniel Martí
44824fa6cf Make install and run to be always shown in AB 2013-07-19 23:24:54 +02:00
Daniel Martí
86464608d7 Use f-droid.org rather than fdroid.org 2013-07-18 12:36:55 +02:00
Daniel Martí
d315521c7d Remove rtl layout support (WIP in rtl-layout branch) 2013-07-18 12:06:04 +02:00
Daniel Martí
577a4250b6 Share via http://fdroid.org/app?id=app.id
Advantages:
- http links are linkified everywhere
- web browser request will fall back to our web repo
- we don't have to use our own scheme
2013-07-18 11:56:52 +02:00
Daniel Martí
d22acac8a5 Make fdroid.app: browsable too 2013-07-18 11:56:39 +02:00
Daniel Martí
a17a5edff2 fdroid:// and market:// are browsable 2013-07-18 11:36:05 +02:00
Daniel Martí
bc5379d305 Switch to the newer android-support-v4 r13 lib 2013-07-16 15:13:26 +02:00
Daniel Martí
de82ab4e1d Typo in proposed code for selections 2013-07-16 15:08:27 +02:00
Daniel Martí
35d30e148e Disable text selection as it didn't allow links.
Possible but wonky solution suggested in the source code comments.
2013-07-16 15:03:01 +02:00
Ciaran Gultnieks
9941e543ed Merge branch 'master' of gitorious.org:f-droid/fdroidclient 2013-07-15 22:32:17 +01:00
Ciaran Gultnieks
63e37a879f Better attempt at fixing boot crash when SD card is not ready? 2013-07-15 22:32:09 +01:00
Daniel Martí
77449ac165 Revert "Disable scrollbars altogether on the three main tabs"
This reverts commit c78ff5df303689341ea040847d5d2c53b56c9533.
2013-07-15 23:02:53 +02:00
Daniel Martí
89f8630f12 Add share (via fdroid://details?id=app.id) button 2013-07-15 16:49:03 +02:00
Daniel Martí
234b39acb7 Add support for fdroid://details?id=app.id uris
Also, launch them from inside AppDetails directly
2013-07-15 15:37:24 +02:00
Ciaran Gultnieks
1764ceb55a Version 0.47-test 0.47-test 2013-07-11 13:56:49 +01:00
Ciaran Gultnieks
79b789d2c0 Merge branch 'master' of gitorious.org:f-droid/fdroidclient 2013-07-11 13:55:40 +01:00
Daniel Martí
c78ff5df30 Disable scrollbars altogether on the three main tabs 2013-07-11 13:03:22 +02:00
Daniel Martí
a46b8e8663 Revert all the fast scroll always enabled changes 2013-07-11 12:45:13 +02:00
Ciaran Gultnieks
d01afa4cb6 Use icons from old .fdroid rather than downloading if possible 2013-07-10 17:51:06 +01:00
Daniel Martí
2b4147ed9f Hide ActionBar title on AppDetails to make space 2013-07-10 15:51:58 +02:00
Daniel Martí
efb37e459f Remove unnecessary padding.
On 3.0+, the scrollbar padding already leaves some space.
2013-07-10 14:52:15 +02:00