2665 Commits

Author SHA1 Message Date
Daniel Martí
ebb991d1c6 Remove unused/unwanted empty default_repo trans 2015-10-02 16:35:50 -07:00
Daniel Martí
8d87031f81 Remove some more unused resources 2015-10-02 16:32:15 -07:00
Daniel Martí
2509f6f869 Remove all duplicated drawables form drawable/
These already have density-specific versions in drawable-*/, so having a
fallback in drawable/ makes no sense.
2015-10-02 16:30:32 -07:00
Daniel Martí
fd48b504c8 Be consistent with log tags
They are private and just the class name everywhere else.
2015-10-02 16:18:38 -07:00
Daniel Martí
34ac244fdf Optimize imports 2015-10-02 16:16:30 -07:00
Daniel Martí
fc50fea18c Merge branch 'materialize-repository-details' into 'master'
Materialize repository details

Modernize the look of repo details. Enabled repo before and after:

![1a](https://gitlab.com/relan/fdroidclient/uploads/c3e7906508763081fcde5d0ebd1d7b7b/1a.png)
![1b](https://gitlab.com/relan/fdroidclient/uploads/6be4bd19cd375abf8df1f403464dfca0/1b.png)

Disabled repo before and after:

![2a](https://gitlab.com/relan/fdroidclient/uploads/6ff39317b598c3da3a814e60f74e75cb/2a.png)
![2b](https://gitlab.com/relan/fdroidclient/uploads/5354ec4c56dd3dc0958d7f002543ee9b/2b.png)


See merge request !148
2015-10-02 19:18:30 +00:00
Jeff Mixon
1daae076ec Return to SearchResults on "Up" navigation from AppDetails
When arriving to the AppDetails screen from SearchResults, the Up navigation should return to SearchResults screen and not its actual parent.
2015-10-02 11:39:16 +02:00
F-Droid Translatebot
3235ddd120 Pull translation updates from Weblate
Translators:

agilob                 Polish
Ajeje Brazorf          Sardinian
Enol Puente            Asturian
Full Name              Slovak
Lu Ca                  Sardinian
Marcelo Santana        Portuguese (Brazil)
Olexandr Nesterenko    Ukrainian
2015-10-01 20:07:53 -07:00
Daniel Martí
e87d4ac1e8 Rework README/CONTRIBUTING docs 2015-10-01 20:02:02 -07:00
Daniel Martí
c8f495ec16 Move wait-for-emulator out of F-Droid subdir
It doesn't specifically apply only to the client.
2015-10-01 19:50:37 -07:00
relan
b3ae79e5c2 Correct the fingerprint caption
Do not use the word "repo" in captions because all the info in the
activity is about a repository.
2015-10-01 17:49:31 +03:00
relan
f9feab57cc Use monospace font for repository fingerprint
Bytes look better when they are properly aligned.
2015-10-01 17:47:05 +03:00
relan
2cc6661979 Make repository details look more Material
See http://www.google.com/design/spec/style/typography.html

Remove useless attributes; add styles with proper paddings, size and color
for caption and body text. Unfortunately, line spacing attributes are
supported only since Jelly Bean.
2015-10-01 17:38:20 +03:00
relan
4b2089b790 Use primary text color for key fingerprint
No need to grey it out.
2015-10-01 07:26:58 +03:00
relan
6f6bd44a38 Use static title for repository details activity
Repository name is usually too long to fit into the title. Besides, it's
also shown in the activity, no need to duplicate it.
2015-10-01 07:26:58 +03:00
relan
77f0dbb65a Correct the message about disabled repo
Explain that repository should be enabled.
2015-10-01 07:26:58 +03:00
relan
f5906f320f Remove update button
It's confusing because it does not update the repo details view.
2015-10-01 07:26:58 +03:00
relan
dbd69444f1 Set side paddings in LinearLayout, not in ScrollView
This fixes scrollbar position.
2015-10-01 07:26:58 +03:00
relan
4ecb253c80 Remove useless RelativeLayout 2015-10-01 07:26:58 +03:00
relan
fe3a739fe3 Fix up indentation in repodetails.xml 2015-10-01 07:26:58 +03:00
Daniel Martí
998d99eee0 Be consistent about strings being capitalized
These strings aren't completely wrong being all lowercase, but better be
consistent.
2015-09-30 13:45:03 -07:00
Daniel Martí
be1b68153f Don't use emoticons in strings 2015-09-30 13:40:52 -07:00
Daniel Martí
ae6f71f482 Apply string changes from !145 to new translations 2015-09-30 13:26:48 -07:00
F-Droid Translatebot
03e98dbb10 Pull translation updates from Weblate
Translators:

agilob          Polish
Daniel Martí    Catalan
2015-09-30 13:21:18 -07:00
Daniel Martí
e856a9be3b Don't end setting summaries with periods 2015-09-30 13:20:35 -07:00
Daniel Martí
c57c73ec92 Update changelog 2015-09-30 11:50:33 -07:00
Daniel Martí
8f6af2be55 Merge branch 'improve-privileged' of https://gitlab.com/dschuermann/fdroidclient 2015-09-30 11:40:58 -07:00
Daniel Martí
d77fce9d80 Don't use DownloadManager on Android 2.3
Fixes apk downloads crashing on 2.3 devices as spotted in the comments at
issue #421.
2015-09-30 11:29:04 -07:00
Dominik Schürmann
6de7d9f3f0 proper const naming 2015-09-30 07:41:32 +02:00
Dominik Schürmann
3c9df2fc74 Improve constants 2015-09-30 07:41:32 +02:00
Dominik Schürmann
f27823adc8 sleep before folder removal 2015-09-30 07:41:32 +02:00
Dominik Schürmann
178eabfd01 Fix nullpointer 2015-09-30 07:41:32 +02:00
Dominik Schürmann
8f5a1850e9 Fix permissions check 2015-09-30 07:41:32 +02:00
Dominik Schürmann
2b0f2cfc67 Better error handling 2015-09-30 07:41:32 +02:00
Dominik Schürmann
50215356ae Privileged Install: improve strings, fix uninstall 2015-09-30 07:41:27 +02:00
Daniel Martí
9b3ede7a81 Get rid of all newly added Log.d calls
Some were wrapped in BuildConfig.DEBUG, some weren't. Move all of them to
debugLog.

The ones that require building complex strings are left with an explicit
BuildConfig.DEBUG if so that the strings aren't constructed.
2015-09-29 22:28:38 -07:00
Daniel Martí
12f98a64e4 Update changelog 2015-09-29 22:12:44 -07:00
Daniel Martí
80e9ff9994 Get rid of some elses after return/continue 2015-09-29 22:07:31 -07:00
Daniel Martí
12386570ff Remove unnecessary extra getter calls
These are especially to be avoided since they require casting, which means
really long lines everywhere.
2015-09-29 22:06:45 -07:00
Daniel Martí
07f528352a Simplify some more boolean inversions 2015-09-29 22:03:26 -07:00
Daniel Martí
d1d81d85fa RepoXMLHandler: tag handling simplification
* Don't have both curel and localName
* Check for empty content only once
* Don't convert curchars (StringBuilder) to String and trim unless necessary
2015-09-29 21:56:14 -07:00
Daniel Martí
c06c115f4d Pull translation updates from Weblate
Translators:

agilob               Polish
AtomiKe              French
Enol Puente          Asturian
Green Lunar          Hebrew
Lu Ca                Sardinian
Marcelo Santana      Portuguese (Brazil)
naofum               Japanese
Phạm Nguyễn Hoàng    Esperanto
Phạm Nguyễn Hoàng    Vietnamese
raspbiak             Slovak
2015-09-29 21:30:30 -07:00
relan
d535d9c6ae Use affirmative action in the "Delete repository?" dialog
"Delete" instead of "OK" more clearly indicates the outcome.
See http://www.google.com/design/spec/components/dialogs.html
2015-09-27 11:41:59 +03:00
relan
5046213f3c Make repositories list look more Material
See http://www.google.com/design/spec/components/lists.html
2015-09-27 11:41:59 +03:00
relan
3434d71569 Split "unsigned" and "unverified"
Since now we don't have problems with list item height, we can use two
different text labels for unsigned and unverified repositories
indication. Code now only switches visibility for them.
2015-09-27 11:41:59 +03:00
relan
38a19c305d Remove unused strings 2015-09-27 11:41:59 +03:00
relan
5f06910cf9 Remove last update header
This is technical detail that should not be exposed to users, at least
not before repositories list which are the main data in the activity.
Last update label didn't work properly anyway: it was not updated on
repositories refresh, just on activity creation.
2015-09-27 11:41:41 +03:00
relan
8b15fb4cb1 Define repo_item layout in XML instead of run time 2015-09-27 09:56:13 +03:00
relan
d3f7e9555e Fix repo_item layout parameters resolution
See http://www.doubleencore.com/2013/05/layout-inflation-as-intended
2015-09-27 09:56:13 +03:00
relan
c18900c242 Remove unused ImageView from repo_item 2015-09-27 09:56:13 +03:00