459 Commits

Author SHA1 Message Date
F-Droid Translatebot
1b3080c07d Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz    Catalan
Ajeje Brazorf            Sardinian
Alberto Moshpirit        Spanish
Allan Nordhøy            Norwegian Bokmål
Enol Puente              Asturian
Kalle Lampila            Finnish
Marcelo Santana          Portuguese (Brazil)
Mladen Pejaković         Serbian
naofum                   Japanese
Tobias Bannert           German
Андрій Бандура           Ukrainian
Саша Петровић            Serbian
2015-12-29 12:03:44 +01:00
Daniel Martí
b22466ee66 Add opt-in crash reporting via ACRA
Fixes #398.
2015-12-26 23:35:48 +01:00
Peter Serwylo
c36529f445 Renaming id -> packageName in local variables/method args/comments/etc. 2015-12-26 15:12:58 +11:00
Daniel Martí
9baad0fc3e Run remove-unused-trans 2015-12-24 17:25:36 +01:00
F-Droid Translatebot
2c2b826640 Pull translation updates from Weblate
Translators:

Enol Puente                Asturian
Martin Lacina              Slovak
Massimiliano Caniparoli    Italian
2015-12-24 17:18:23 +01:00
Daniel Martí
4bbd0d83ef Add new language zh-rTW to settings list 2015-12-21 10:14:10 +01:00
F-Droid Translatebot
753e983339 Pull translation updates from Weblate
Translators:

Ajeje Brazorf              Sardinian
Green Lunar                Hebrew
Ldm Public                 French
lucnsy                     Chinese (China)
Massimiliano Caniparoli    Italian
Mladen Pejaković           Serbian
naofum                     Japanese
Nordlenningen              Norwegian Bokmål
Sérgio Marques             Portuguese (Portugal)
Tobias Bannert             German
Vdragon, V字龍            Chinese (Taiwan)
2015-12-21 09:58:45 +01:00
relan
8b89b52d2b Show appropriate message when search results are empty
Closes #512.
2015-12-19 15:35:15 +03:00
Peter Serwylo
1a5b60f654 Merge branch 'fix-323--improved-search' into 'master'
Search as the user types

Fixes #323.

This does away with the separate `SearchResult` and instead applies the search to the currently viewed tab on the main screen (Available, Installed, Updates). When filtering the Available list, it filters the currently selected category.

Note however that there are still times when the old style `SearchDialog` will be shown over the top of the action bar rather than the `SearchView` within the action bar. These times include:
 * When a user with a hardware keyboard starts typing from the main screen.
 * On older devices with a "search" hardware button.
 * Probably some other cases (I think when there is not enough screen real estate, but haven't seen that happen).

In cases where this dialog is shown, filtering the lists as you type does not seem to be an option. I tried to figure out how to do that, but failed. If someone else figures it out, that would be great. However, when the search is submitted, it will hide the `SearchDialog` and populate the `SearchView`, focus it, and apply the search appropriately.

There is a script in the `F-Droid/tools/` subdirectory which will consecutively send various intents to F-Droid relating to search. This includes Play, market, Amazon search links. For good measure, I also made it send intents to do with viewing app details. This should probably be made into a proper instrumented test at some point, but I didn't have the time to figure out how to do that. Maybe a project for future @pserwylo.

One unknown is the performance implications. There is no problems on my Nexus 4 with Android 5.0. My Chinese/ebay/$30/Android 2.3.4 device seems good enough too.

See merge request !177
2015-12-16 11:50:30 +00:00
Daniel Martí
00e832fbe3 Don't fetch language names from the system
The system's are sometimes wrong, e.g. unexpected names. This also helps
our support across different Android versions without having to worry as
much about the system's language support.

Fixes #503.
2015-12-16 12:03:32 +01:00
Daniel Martí
ef4221400b Fix format in values-nl count 2015-12-16 11:43:13 +01:00
F-Droid Translatebot
0f6e88d1a3 Pull translation updates from Weblate
Translators:

Dario Tordoni      Italian
Elia Argentieri    Italian
Enol Puente        Asturian
halcyonest         Korean
M2ck               French
relan              Russian
Tobias Bannert     German
Дмитрий Михирев    Russian
2015-12-16 11:41:32 +01:00
Peter Serwylo
35f73f3786 Also hide the coloured bar below the category spinner.
In addition, added a @Nullable constraint on the categorySpinner
and a null guard when resuming the fragment to handle possible
null cases (though I don't think there will be any).
2015-12-14 22:45:37 +11:00
Peter Serwylo
58205fefec Don't animate category spinner hiding
This caused the entire list view to e animated when navigating
back to the Available tab. Tried switching the `animateLayoutChanged=true`
to a child view only containing the category spinner, but this is not how
the animation handling works. It needs to animate both the thing being
hidden/shown, and also the next sibling of that thing to work properly.
Thus, moving the spinner to its own child and leaving the list didn't work.
2015-12-14 22:41:29 +11:00
Peter Serwylo
86fb652fc3 When searching "Available" tab, search all the things.
Removed the option to search the currently selected category, as suggested
by others on gitlab.
2015-12-14 22:41:29 +11:00
Daniel Martí
0cc6272664 Add Danish to the list of languages 2015-12-13 19:30:59 +01:00
F-Droid Translatebot
d9c48c28f6 Pull translation updates from Weblate
Translators:

Adrià García-Alzórriz      Catalan
agilob                     Polish
Ajeje Brazorf              Sardinian
bd339                      Danish
Benedikt Geißler           German
Danial Behzadi             Persian
Daniil Stryukov            Ukrainian
halcyonest                 Korean
ikmaak                     Dutch
Ldm Public                 French
Massimiliano Caniparoli    Italian
Mladen Pejaković           Serbian
Olexandr Nesterenko        Ukrainian
Phạm Nguyễn Hoàng          Vietnamese
relan                      Russian
Tobias Bannert             German
2015-12-13 19:24:38 +01:00
Daniel Martí
fee37d88cf Run remove-unused-trans.py 2015-12-07 20:46:34 +01:00
F-Droid Translatebot
4a77b057bd Pull translation updates from Weblate
Translators:

agilob                Polish
Ajeje Brazorf         Sardinian
Alberto Moshpirit     Spanish
Daniil Stryukov       Ukrainian
Enol Puente           Asturian
Jaroslav Lichtblau    Czech
Ldm Public            French
lucnsy                Chinese (China)
Marcelo Santana       Portuguese (Brazil)
Mladen Pejaković      Serbian
naofum                Japanese
relan                 Russian
2015-12-07 20:38:20 +01:00
Peter Serwylo
7c99b6ce91 Merge branch 'fix-324--memory-issue-repo-update' into 'master'
Fix 324 : Out of memory errors while updating repos.

Fixes #324, but in the process makes the updater take a lot longer. My benchmarks tell me that an update which used to take approx 30 seconds on my Nexus 4 now takes about 50-55 seconds. This is because it first inserts the apps into the database (in a temp table) and then subsequently copies that table to the actual table. This means there is a lot more disk access than before.

I'm open for discussion on whether this tradeoff is worth it - however I'll caution that there is always going to be a tradeoff between faster and more memory vs slower and less memory. This is the case with all software, and perhaps more so with memory constrained devices such as phones. Also, as the repo index grows (until perhaps we are able to extract the app descriptions in the future), this will become more of an issue.

I'd also like this to be CR'ed properly before merging, because it changes some important code around the repo updater. It is important because security, and it is also important because it is the main thing that F-Droid needs to do (get a list of apps to show the user).

See merge request !173
2015-12-07 13:57:14 +00:00
Daniel Martí
1e740cf72a Merge remote-tracking branch 'upstream/merge-requests/174' 2015-12-05 16:16:36 +01:00
F-Droid Translatebot
30a013a4d1 Pull translation updates from Weblate
Translators:

ageru                French
Ajeje Brazorf        Sardinian
Alberto Moshpirit    Spanish
enolp                Asturian
Ldm Public           French
lucnsy               Chinese (China)
Mladen Pejaković     Serbian
naofum               Japanese
2015-12-05 16:12:52 +01:00
relan
aef0d8be87 Remove unused string "about_desc" 2015-12-03 13:05:27 +03:00
relan
88c2774692 Refresh about dialog
Now it's vertically-oriented. Mention of Aptoide is removed because
F-Droid went far away from it.
2015-12-03 13:03:41 +03:00
relan
2ecb519a56 Rework styles for text caption and text body
Now they are reusable and include layout_with and layout_height
attributes.
2015-12-03 13:03:41 +03:00
Daniel Martí
f67527a86e Replace _i18n with _count in tab strings
All strings are internationalized. Use a name that actually says what
they mean.
2015-12-02 18:46:01 +01:00
Daniel Martí
aff3995475 tab fragments: use string resources consistently
Also, remove unnecessary "Installed" tab title duplicate.
2015-12-02 18:45:49 +01:00
F-Droid Translatebot
2154d37dc8 Pull translation updates from Weblate
Translators:

Ajeje Brazorf       Sardinian
Ldm Public          French
Mladen Pejaković    Serbian
naofum              Japanese
2015-12-02 18:37:18 +01:00
Ruben Roy
676d173cc9 Merge branch 'master' into 'master'
Add counter to "Installed" tab. Closes #497



See merge request !176
2015-12-02 00:30:23 +00:00
Ruben Roy
ab00d49737 Add counter to "Installed" tab. 2015-12-02 05:51:13 +05:30
Peter Serwylo
6969dcb90e Change "inserting" string to not include progress for last phase of update. 2015-11-30 18:16:11 +11:00
F-Droid Translatebot
e50a12731d Pull translation updates from Weblate
Translators:

Alberto Moshpirit      Spanish
naofum                 Japanese
Olexandr Nesterenko    Ukrainian
RACER                  Japanese
Rafał Michalski        Polish
Tobias Bannert         German
2015-11-29 19:52:32 +01:00
F-Droid Translatebot
2cbaa3eaed Pull translation updates from Weblate
Translators:

Ajeje Brazorf          Sardinian
enolp                  Asturian
Ldm Public             French
Marcelo Santana        Portuguese (Brazil)
Mladen Pejaković       Serbian
naofum                 Japanese
Nathan Follens         Dutch
Olexandr Nesterenko    Ukrainian
riotism                Chinese (Hong Kong)
Sergio Oller           Catalan
2015-11-23 13:13:09 +01:00
Peter Serwylo
b9342e909b Merge branch 'master' into 'master'
Improved support for HTTP Basic Authentication

Extended DownloaderFactory to support optional username & password parameters.

Extended HttpDownloader to check for HTTP 401 Authorization Required status code
and send a simple HTTP Basic Authentication header with all requests.

Extended ManageReposActivity to support repositories that use HTTP Basic
Authentication, added a dialog to prompt for username and password.

Extended RepoDetailsActivity to be able to display and modify the authentication
credentials.

See merge request !171
2015-11-23 06:43:49 +00:00
Daniel Martí
9dceb60786 Add english to list of locales to pick
Useful to make F-Droid be in English if the system language is
different.

Fixes issue brought up in https://f-droid.org/forums/topic/f-droid-0-97-language-selection/
2015-11-22 03:01:04 -08:00
Daniel Martí
69fdaf874e Add missing sq language to langs list 2015-11-22 02:53:40 -08:00
Daniel Martí
ecff5b1832 Replace phone with device in strings 2015-11-22 02:52:16 -08:00
F-Droid Translatebot
20666ba824 Pull translation updates from Weblate
Translators:

Jack Phoenix           Finnish
Jaroslav Lichtblau     Czech
Michalis               Greek
Olexandr Nesterenko    Ukrainian
riotism                Chinese (Hong Kong)
Sergio Oller           Catalan
2015-11-22 02:50:50 -08:00
Daniel Martí
35c65fbffa Remove UnusedResource usages in translations 2015-11-19 08:17:05 -08:00
Daniel Martí
6af08494a2 Revert "Suppress lint warnings about unused categories names"
This reverts commit 5c9e314c9bfdd8df97b702c16b729ba440964168.

Error in question:

https://stackoverflow.com/questions/19526945/android-gradle-merged-values-xml-uses-wrong-namespace
2015-11-19 08:16:55 -08:00
F-Droid Translatebot
e29ae6de1a Pull translation updates from Weblate
Translators:

Indrit Bashkimi        Albanian
Kiril LastName         Bulgarian
Olexandr Nesterenko    Ukrainian
relan                  Russian
Sergio Oller           Catalan
tactmayers             Chinese (Hong Kong)
zmni                   Indonesian
2015-11-19 08:06:38 -08:00
F-Droid Translatebot
46c066468a Pull translation updates from Weblate
Translators:

Benedikt Geißler     German
Ronalds              Latvian
Sergey Vladimirov    Russian
Tobias Bannert       German
2015-11-17 19:48:48 -08:00
Christian Morgner
34838fd0dc Added username & password fields to the REPO table, increased DB version to 52.
Extended DownloaderFactory to support optional username & password parameters.

Extended HttpDownloader to check for HTTP 401 Authorization Required status code
and send a simple HTTP Basic Authentication header with all requests.

Extended ManageReposActivity to support repositories that use HTTP Basic
Authentication, added a dialog to prompt for username and password.

Extended RepoDetailsActivity to be able to display and modify the authentication
credentials.
2015-11-15 13:04:23 +01:00
Daniel Martí
682cf58aa9 Merge branch 'search-widget' into 'master'
Replace search dialog with a search widget

SearchView is the recommended way to implement search UI. See https://developer.android.com/guide/topics/search/search-dialog.html#UsingSearchWidget

The UX is still far from ideal but looks much better now.

Before and after (Gingerbred):

![gingerbred-before](/uploads/f724afaf152aeef8ff9cb3e838427d22/gingerbred-before.png)
![gingerbred-after](/uploads/da67fe57d2a55e64cce7d0cba31aa181/gingerbred-after.png)

Before and after (Lollipop):

![lollipop-before](/uploads/4a50258993a8304d984450456d07e3bb/lollipop-before.png)
![lollipop-after](/uploads/4b49b2f802eca567c6713fe653b10331/lollipop-after.png)


See merge request !168
2015-11-13 17:22:19 +00:00
Daniel Martí
7581d8443e Merge branch 'lint-unused-resources' of https://gitlab.com/relan/fdroidclient
Fix some lint warnings about unused resources

No functional changes, just cleanups.
2015-11-13 18:19:13 +01:00
F-Droid Translatebot
3afe248159 Pull translation updates from Weblate
Translators:

AtomiKe                 French
Erwin Scheuch-Heilig    German
Ldm Public              French
Michal Čihař            Czech
pizzaiolo               Esperanto
2015-11-13 18:16:36 +01:00
relan
7458dff6e9 Remove unused string repo_icon 2015-11-13 09:14:45 +03:00
relan
0324631a4e Remove unused string repo_update 2015-11-13 09:14:44 +03:00
relan
bb5665ab23 Remove unused color 2015-11-13 08:58:06 +03:00
relan
5c9e314c9b Suppress lint warnings about unused categories names
They are actually used from the code.
2015-11-13 08:58:06 +03:00