4485 Commits

Author SHA1 Message Date
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
Daniel Martí
194cb24d2c Move the "Uninstall" button to the Action Bar 2013-07-10 14:23:51 +02:00
Daniel Martí
78e7810c14 Recover description scrollbar only when in portrait 2013-07-10 14:19:58 +02:00
Daniel Martí
c1d023de0f Disable scrollbars on AppDetails 2013-07-10 12:59:47 +02:00
Ciaran Gultnieks
9d51cd72ac Use proper cache storage location (issue #239) 2013-07-10 11:34:19 +01:00
Daniel Martí
ed54b028a9 Make the icon spacing a lot easier 2013-07-09 23:33:05 +02:00
Daniel Martí
91aa4610a1 Align summary with app name on compact layout. 2013-07-09 23:25:21 +02:00
Daniel Martí
80437abcc0 Fast scroll always on and with padding only on APIs >= 11 2013-07-09 16:36:21 +02:00
Daniel Martí
3caa411390 Fast scrolling always enabled. Also, add some padding. 2013-07-09 15:22:30 +02:00
Ciaran Gultnieks
8eda160a30 Translation updates 2013-07-08 17:27:49 +01:00
Daniel Martí
2d11283db5 Enable fast scrolling for the search results 2013-07-08 15:45:44 +02:00
Daniel Martí
5230da8d68 Fix crashes on APIs <= 16 using compactlayout 2013-07-08 14:54:42 +02:00
Daniel Martí
8762efb86b Load compactlayout setting only once. Buildfix. 2013-07-08 14:51:28 +02:00
Daniel Martí
09d21740c8 Updates/Insalled icons in compact layout need to be updated 2013-07-08 14:32:41 +02:00
Daniel Martí
0c259673d8 non-compact stuff is now hidden by default via xml
Also, forgot to add the backwards compatibility for END_OF
2013-07-08 14:26:07 +02:00
Daniel Martí
74ca3c2aa5 Fix layouts for APIs <= 16 2013-07-08 13:03:10 +02:00
Daniel Martí
4d0c4babe6 Various speedups in the app views. Compact layout still needs restarting. 2013-07-08 12:54:44 +02:00
Daniel Martí
b05e38d761 Move the search function from the menu to the actionbar in SearchResults 2013-07-08 11:46:01 +02:00
Daniel Martí
66d16bf875 Add refreshApps header 2013-07-08 11:33:30 +02:00
Daniel Martí
3ce8cbf5bd Restore old invalidations after apk installs/uninstalls. Do not refresh the same app multiple times. 2013-07-08 11:21:36 +02:00
Daniel Martí
f5785c3de0 Add very basic support for RTL languages 2013-07-07 12:12:29 +02:00
Daniel Martí
4add713ab8 Bump targetSdk to support the parent activity features 2013-07-07 11:22:12 +02:00
Daniel Martí
686403d978 Add back to home function to the actionbar icon for apis >=11 (fixes #291) 2013-07-07 11:10:03 +02:00
Daniel Martí
948dfa55ec We handle market:// now, so open play.google.com directly 2013-07-07 10:27:37 +02:00
Daniel Martí
eaa94bdf83 No need to move around app ids around any more 2013-07-07 10:20:57 +02:00
Daniel Martí
9c4aa9127f Drastically improve performance after installs/uninstalls.
- Only reload those apps that actually need reloading, not all of them
- Reloading all the stuff inside DB.App is not necessary - only the install
  information can be changed
2013-07-07 00:27:12 +02:00