Commit Graph

1446 Commits

Author SHA1 Message Date
Hans-Christoph Steiner fbf9932be3 rework setting locale from pref to have a lighter touch and be dynamic
This leaves the default Locale unchanged, i.e. Locale.setDefault().  This
also will immediately change the language after the user selects it in the
pref.
2015-06-05 17:09:10 -04:00
Hans-Christoph Steiner 807b51fb43 include proxy config info when returning from START_TOR Intent
The recommended way to send a START_TOR Intent is using
startActivityWithResult() so that the sender knows when Tor is actually
started.  The return includes an Intent that can also include the config
info for the proxies that Orbot runs.  Right now, this is based on the
app defaults, but ultimately, it should dynamically get the port numbers
for cases like Samsung devices where there is a port conflict.
2015-06-05 15:24:23 -04:00
Hans-Christoph Steiner d43a6cd2b2 switch language/locale preference to use Languages utility class
The Languages utility class merges the techniques from ChatSecure and
Courier.  It fetches the supported locales from the APK itself, and fetches
the native names of the languages from the system.
2015-06-05 15:19:57 -04:00
Hans-Christoph Steiner fba09263b4 update SettingsActivity to use simpler findPreferences() method 2015-06-05 15:16:08 -04:00
Hans-Christoph Steiner 237366cd27 no need to override methods with nothing 2015-06-05 15:14:40 -04:00
Hans-Christoph Steiner d85a2e87c9 remove global NumberFormat for more flexible Locale handling 2015-06-05 13:11:00 -04:00
n8fr8 541410447d Merge pull request #9 from eighthave/reboot-and-reproducible
Reboot and reproducible
2015-06-05 10:24:13 -04:00
Hans-Christoph Steiner 2372b186c6 add script to compare APKs for the reproducible process 2015-06-04 17:58:53 -04:00
Hans-Christoph Steiner cd48dd2774 ignore build products in the submodules (ignore = dirty) 2015-06-04 17:50:25 -04:00
Hans-Christoph Steiner 6989f9b2b0 add standard ./make-release-build script 2015-06-04 17:50:25 -04:00
Hans-Christoph Steiner 6775f86b65 add custom ant rules for automating the release process 2015-06-04 17:50:25 -04:00
Hans-Christoph Steiner e66b5a039e ignore all build products from submodules 2015-06-04 17:50:25 -04:00
Hans-Christoph Steiner 2f1ad74538 put up error notification if Orbot cannot kill a process
There are a couple of different times when Orbot will be unable to kill the
running processes.  One example is when Orbot is running, then uninstalled,
then installed again.

closes #5254 https://dev.guardianproject.info/issues/5254
2015-06-04 17:50:25 -04:00
Hans-Christoph Steiner 81cf67f955 remove unused icons to save space
These are all reported by `ant debug lint` as unused.
2015-06-04 13:40:24 -04:00
Hans-Christoph Steiner 7787a3f427 run ./fix-translations 2015-06-04 13:40:24 -04:00
Hans-Christoph Steiner d55c7b7eaf ./fix-translations script to fix common problems in the strings.xml 2015-06-04 13:40:24 -04:00
Hans-Christoph Steiner 333343fd3d remove Firefox ProxyMob recommendation, ProxyMob is no longer supported
This removes the translations after the originals were removed in
0e6ba61ac0
2015-06-04 13:40:24 -04:00
Hans-Christoph Steiner e58a15ebd7 Promo Apps: choose "all apps" URL based on which app store is installed
Since most people using devices without Google Play will be in China, where
Google is generally blocked, instead direct people to f-droid.org unless
they have Google Play installed.
2015-06-04 13:40:24 -04:00
Hans-Christoph Steiner 545afe7f6d Promo Apps: use Play or FDroid links, fallback to https://f-droid.org
This automatically detects whether Google Play or FDroid is installed, if
so, clicking the promo app button will take the user straight to the
install page.  If neither is installed, then the user is taken to the page
for that app on https://f-droid.org
2015-06-04 13:32:58 -04:00
Hans-Christoph Steiner 0e6ba61ac0 remove Firefox ProxyMob recommendation, ProxyMob is no longer supported 2015-06-04 13:32:26 -04:00
Hans-Christoph Steiner cf43fa247d switch to standard NDK env var: ANDROID_NDK_HOME
ANDROID_NDK_HOME is hardcoded in gradle as the name of the env var:
https://android.googlesource.com/platform/tools/build/+/master/gradle/src/main/groovy/com/android/build/gradle/internal/Sdk.groovy
2015-06-04 13:32:26 -04:00
Hans-Christoph Steiner 663cade62d ./jenkins-build script for standard Guardian Project Jenkins build 2015-06-04 13:32:26 -04:00
Hans-Christoph Steiner 3c26f67392 update ant setup script to get all settings from their original sources
* target comes from project.properties

*
2015-06-04 13:32:25 -04:00
Nathan Freitas 77d1b82411 adding patch for iptables building on x86 2015-05-13 12:17:54 -04:00
Nathan Freitas 20bf4c7ec6 update Makefile 2015-05-13 11:55:41 -04:00
Nathan Freitas e3244a7f1e update translations 2015-05-13 11:55:34 -04:00
Nathan Freitas 8479a9940c 15.0.1-alpha-1 2015-05-12 02:27:43 -04:00
Nathan Freitas d6ff4131db update Makefile with a few tweaks 2015-05-12 02:27:07 -04:00
Nathan Freitas 2f8c130f02 update to 15.0.1-beta-1 and update openssl to 1.0.2a 2015-05-12 00:38:24 -04:00
Nathan Freitas d6bfed06a9 update for 15.0.1 2015-05-11 22:09:44 -04:00
Nathan Freitas 3a3f701441 Merge branch 'aelmahmoudy-build_system' 2015-05-11 15:46:51 -04:00
Nathan Freitas 4163fc14d7 Merge branch 'build_system' of https://github.com/aelmahmoudy/orbot into aelmahmoudy-build_system 2015-05-11 15:44:29 -04:00
Nathan Freitas fa533e9d52 fix handle intent for hidden service API request 2015-05-11 15:41:43 -04:00
أحمد المحمودي (Ahmed El-Mahmoudy) d5e937d2a0 Fix build for mips* archs.
OpenSSL's 'make depend' fails if _MIPS_SZLONG is not set
2015-04-29 22:57:13 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy) 8d7c32c84b Update OpenSSL to 1.0.2a
Also, disable rc4 cipher for 64-bit archs, to avoid this link error for
tor:
external/lib/libcrypto.a(e_rc4_hmac_md5.o):e_rc4_hmac_md5.c:function rc4_hmac_md5_cipher: error: undefined reference to 'rc4_md5_enc'
2015-04-29 17:48:28 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy) 81a945e632 Patch libevent to compile for 64-bit archs. 2015-04-29 15:29:28 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy) ebe85e55bc Add iptables-clean prerequisite to clean target 2015-04-29 15:25:49 +02:00
أحمد المحمودي (Ahmed El-Mahmoudy) adb9a19367 Add support for variable arch builds to support mips & 64-bit archs 2015-04-29 15:25:49 +02:00
Nathan Freitas 84c6645220 fixing flag typo 2015-04-15 10:15:38 -04:00
Nathan Freitas dbe3024dfc fix PIE_FLAGS variable to allow for override
also, standardize use of STRIP command
2015-04-15 09:58:02 -04:00
Nathan Freitas 1bc427b50e handle NPE on number format instance 2015-04-13 10:25:58 -04:00
Nathan Freitas ec24428915 fix NPE crash if VPN prepare Intent is null on boot 2015-04-13 10:24:03 -04:00
Nathan Freitas ddecd0ce82 update changelog for v15 rc 3 2015-04-13 08:37:28 -04:00
Nathan Freitas b941a1c7d5 show warning about bridge limits on Intel x86/ATOM devices 2015-04-13 08:36:01 -04:00
Nathan Freitas 325ca1f809 only ARM chips can support the new Obfs4, Meek bridges
so hide the UI options that promote them, and just request
standard bridges
2015-04-12 22:56:16 -04:00
Nathan Freitas 8cbdf18733 update to v15 RC3 2015-04-11 21:20:52 -04:00
Nathan Freitas 3c6f173ede make buttons not resize weirdly with long strings 2015-04-11 21:19:42 -04:00
Nathan Freitas 421764bf33 make socksbypass local port random 2015-04-11 21:16:56 -04:00
Nathan Freitas 4ab1854848 update resource installer to handle different architecture 2015-04-11 21:16:41 -04:00
Nathan Freitas e7a7d8c7cd support variable arch builds to support x86
move asset builds to /assets folder
2015-04-11 21:16:20 -04:00