2376 Commits

Author SHA1 Message Date
Daniel Martí
74e34ee695 Run remove-unused-trans 2015-08-24 11:04:56 -07:00
Daniel Martí
d250f4cafb Run remove-empty-trans 2015-08-24 11:04:47 -07:00
Daniel Martí
8c45250f78 Update the changelog 2015-08-24 11:03:57 -07:00
Daniel Martí
ef56f8db88 Revert "Add timeout for Http request" merge
See !117 and #387

This reverts commit e895d1f0d3d6b333eeaa3e82e58392b58d647c33, reversing
changes made to 8d5c7abe89f98d4c8248e0b50eb8857f2a31f049.
2015-08-24 11:02:54 -07:00
Daniel Martí
0515948055 Rename COPYING to LICENSE. Fixes #384 2015-08-24 10:35:55 -07:00
Daniel Martí
888760e6ee Update HACKING, rename it to CONTRIBUTING
See #384
2015-08-24 10:34:38 -07:00
Daniel Martí
5c00c4463c README: mention building from source 2015-08-24 10:34:06 -07:00
F-Droid Translatebot
63761ead27 Translation updates 2015-08-24 10:16:20 +00:00
Nico Alt
625c306b2f Merge branch 'revertBetaUpdates' into 'master'
Revert "Prompt for beta updates"

This reverts commit 92f8678b3d2da18ad93bac6af0ae83984cf74714.

I read the logs on IRC and agree that we should revert this for stable.

CC @pserwylo

See merge request !122
2015-08-22 19:52:13 +00:00
Nico Alt
4331fa4047 Revert "Prompt for beta updates"
This reverts commit 92f8678b3d2da18ad93bac6af0ae83984cf74714.
2015-08-22 10:04:42 +02:00
Daniel Martí
478ff88a82 Don't crash if we couldn't generate a certificate
Another crash workaround for #334. Even though this null check should be left
there, since getCertificate() may return null for whatever reason.
2015-08-20 21:14:38 -07:00
Daniel Martí
d8b4fc403d Bump to 0.96-alpha3 v0.96-alpha3 2015-08-20 19:32:41 -07:00
Daniel Martí
1f41bbdc0d Replace printStackTrace with proper Log.e calls 2015-08-20 19:28:30 -07:00
Daniel Martí
8669fddd70 Properly log exceptions 2015-08-20 19:21:50 -07:00
Daniel Martí
ce8c928337 Move some Log.i to debug logs
These don't look like they will be useful to users at all.
2015-08-20 19:09:27 -07:00
Daniel Martí
c9cdc1a5dc Remove all Log.d calls from release builds 2015-08-20 18:59:14 -07:00
Daniel Martí
d04f26b6e4 Raise some log message priorities 2015-08-20 18:59:13 -07:00
Daniel Martí
96014a7365 Simplify debugging logging via Utils 2015-08-20 18:37:25 -07:00
Daniel Martí
4c75f6078d Disable lint warnings in command-line builds
There are just too many now, and they hide actual compilation errors.

They can still be viewed in the HTML report.
2015-08-20 18:05:34 -07:00
Daniel Martí
2d14e3c1c4 Temporarily work-around for repo update crashes
On certain locales, F-Droid would crash at startup due to #334.

This isn't a proper fix, but rather a workaround that logs what happened and
links to the issue, instead of making F-Droid crash entirely.
2015-08-20 17:49:57 -07:00
Daniel Martí
f0481ffa14 Support libs will never be built from source
We can't rely on their plugin versions to be compatible with ours. Besides,
they require tons of Android SDK targets to be installed to build.

They are already bundled with the SDK, so you can build them as part of the
SDK from source if you want to.
2015-08-20 10:35:18 -07:00
Daniel Martí
4f40160c40 A root build.gradle file is now common 2015-08-20 10:35:10 -07:00
Daniel Martí
487da9615f Some changelog rewordings 2015-08-20 10:33:35 -07:00
Daniel Martí
05285d23b7 Replace fdroid.org with f-droid.org 2015-08-20 10:06:01 -07:00
Daniel Martí
0283962ed2 We were still pointing at the old issue tracker?! 2015-08-20 10:05:47 -07:00
Daniel Martí
e4527da122 Prepare for sdk level 23 2015-08-20 09:56:57 -07:00
Peter Serwylo
133cabeed8 Let user select wifi network. Prevent "Send F-Droid" if no bluetooth.
Include support for libaccesspoint to control the WiFiAP of a device.

Selecting wifi networks i snow possible by touching the name of the
wifi network in the "Start Swap" screen (sometimes it will say
"No network yet"). This exhibits the same behaviour as the "Join Wifi"
screen used to (and still does) do.

On emulators (is there other devices too?), Bluetooth is unavailable,
but the "Send F-Droid" is still there. I could remove it, but then
people may get confused as to why it is not there. Instead, there is
now a dialog which explains why it can't be sent (no Bluetooth).
2015-08-20 21:46:07 +10:00
Daniel Martí
3f5b5ffc93 Avoid package receiver NPE crashes. Fixes #380. 2015-08-19 11:19:59 -07:00
Daniel Martí
968b35f324 Update notes about discontinued libraries 2015-08-18 19:42:01 -07:00
Daniel Martí
33e09cc344 Don't use multi-arg compiles in gradle
Easier to keep line changes simpler this way.
2015-08-18 19:32:38 -07:00
Peter Serwylo
2182ff4c59 Comment out the "Help" icon in start swap screen for now.
In the future, this should be implemented with a relevant help screen,
but for now it is more than we have time for. It will require, not only
good content which is translatable, but also a generic approach so that
it can be used elsewhere in F-Droid too.
2015-08-19 08:44:55 +10:00
Daniel Martí
780f77dab9 Don't show menu item to enable NFC if not available
Follow-up to #379
2015-08-18 14:16:50 -07:00
Daniel Martí
997b4a4698 Run remove-unused-trans.py 2015-08-18 13:16:02 -07:00
Daniel Martí
fd7f942595 Avoid NPE crash on devices without NFC. Fixes #379. 2015-08-18 13:14:13 -07:00
Daniel Martí
fa929a4cf4 Bump buildToolsVersion 2015-08-18 10:24:52 -07:00
Peter Serwylo
b05080bbd9 Enable "Send F-Droid" in main swap screen. 2015-08-18 19:26:48 +10:00
Daniel Martí
ca06edd797 Merge branch 'master' into 'master'
Clean up colors definitions

Use system constants when possible; move the red color definition from `styles.xml` to `colors.xml` and tune it to match the [Material Design guidelines](http://www.google.com/design/spec/patterns/errors.html#errors-user-input-errors).

See merge request !121
2015-08-17 17:23:07 +00:00
Peter Serwylo
a82032d5d0 Fixing lint errors in swap WIP branch but not master. 2015-08-17 22:59:51 +10:00
relan
0d864a866c Use the red color suggested by the Material Design spec
See http://www.google.com/design/spec/patterns/errors.html#errors-user-input-errors
2015-08-17 14:29:51 +03:00
relan
83c8d6d303 Move the red color constant from styles.xml to colors.xml
Because this is the proper place for colors definitions.
2015-08-17 14:25:58 +03:00
relan
f25dafe913 Use system constant for the white color 2015-08-17 13:14:45 +03:00
relan
a49ea5c3c3 Remove unused constant for the black color 2015-08-17 13:11:35 +03:00
relan
1b81267841 Use system constant for the transparent color 2015-08-17 13:11:06 +03:00
Peter Serwylo
2008708cd9 Change bluetooth response to remove deprecated warning.
The StringBufferInputStream is deprecated, because it doesn't know the
encoding of the string it is buffering. This has been changed to use
a ByteArrayInputStream with UTF-8 encoding now.

Also made use of previously unused mimeType parameter to set the
Content-Type header of the response.
2015-08-17 17:15:42 +10:00
Peter Serwylo
99ebc84a91 Show message when touching the QRCode button, but swap isn't enabled.
Also cleaned up a doc comment in the swap activity, and minor
formatting of swap related strings in strings.xml.
2015-08-17 17:15:08 +10:00
Peter Serwylo
930c906460 Allow bluetooth:// URLs to be parsed by java.net.URL.
Sets a stream handler in FDroidApp which understands bluetooth://
URLs and returns a non-functioning URL handler for such URLs.
The reason it is  non-funcitoning is because the openConnection()
function is not being used by the BluetoothDownloader at this point.

In the absense of this, a MalformedURLException is thrown.

The bluetooth stuff is still broken, but it is not broken in
this way any more.
2015-08-17 08:08:49 +10:00
Daniel Martí
a6b1f21ce5 Bump to 0.96-alpha2 v0.96-alpha2 2015-08-16 13:20:15 -07:00
Nico Alt
d69021804d Use tabs instead of spaces
To do not indent the code
2015-08-16 17:32:48 +02:00
Nico Alt
eaf04dd78e Don't mark as code in code block 2015-08-16 17:28:34 +02:00
Peter Serwylo
6bfd76caf2 Search now works when choosing swapped apps to install.
Was incorrectly parsing the URI in order to build a query for the database.
2015-08-17 00:00:30 +10:00