Commit Graph

165 Commits

Author SHA1 Message Date
akwizgran
e73dc148c3 Avoid using a deprecated API if possible. 2013-11-19 23:13:35 +00:00
akwizgran
a56516f8a6 Changed target SDK version to 19. 2013-11-19 22:57:14 +00:00
akwizgran
ab5389ce1f Bumped expiry date of build to 30 November 2013. 2013-11-19 16:36:54 +00:00
akwizgran
38c1b4eb97 Changed 'groups' to 'forums' in the Android UI. 2013-09-27 18:25:39 +01:00
akwizgran
0a153acd02 Removed peer moderation (may be restored after beta testing). 2013-09-27 18:04:27 +01:00
akwizgran
b94954544d Removed restricted groups (may be restored after beta testing). 2013-09-27 15:11:04 +01:00
akwizgran
1e5e067df7 Removed ratings from the Android UI. 2013-09-21 19:28:53 +01:00
akwizgran
bf13d3155c Raised the target SDK version to 18. 2013-09-21 19:10:34 +01:00
akwizgran
beb9750ca1 Removed blogs from the Android UI. 2013-09-21 19:10:11 +01:00
akwizgran
e06b883d20 Replaced "Connecting" with "Searching" in invitation UI. 2013-08-01 10:39:47 +01:00
akwizgran
c868764244 Separate FileUtils implementations for Android and desktop builds.
The method used by Commons IO to get the available disk space fails on
Android devices that lack a df binary - use the Android API instead.
2013-07-27 20:50:05 +01:00
akwizgran
0941697922 Bumped the expiry date of the alpha build to 31 July 2013. 2013-07-26 19:57:46 +01:00
akwizgran
d02266d827 Moved Android-specific plugin code into briar-android project.
This removes the other projects' dependency on the Android API.
2013-06-27 16:26:52 +01:00
akwizgran
7b3dd28e18 Updated the expiry date of the alpha build to 15 July 2013. 2013-06-27 15:06:20 +01:00
akwizgran
f2b25a5bf1 Wrong text was being shown in CreateGroupActivity. Fixes bug #22. 2013-06-27 11:36:44 +01:00
akwizgran
3e0c16b59a Removed all uses of JCE so we can use full-strength crypto on all JVMs. 2013-06-17 16:29:46 +01:00
akwizgran
8a039f0747 Updated the expiry date of the alpha build to 1 July 2013. 2013-06-17 12:41:17 +01:00
akwizgran
08b11412fb Allow plugins to use different maximum frame lengths. 2013-06-05 14:16:44 +01:00
akwizgran
77e778c58f Hide the progress bar after loading if no conversations were loaded. 2013-05-31 14:33:36 +01:00
akwizgran
91dba5f6f2 Bumped the expiry date of the alpha to 15 June 2013. 2013-05-30 14:05:36 +01:00
akwizgran
37e68d5e9e Register the DatabaseUiExecutor for shutdown by the LifecycleManager.
See issue #3612607.
2013-05-16 15:39:41 +01:00
akwizgran
1692e5a695 Invitation protocol was proceeding after confirmation timed out.
Both sides now close the connection after exchanging confirmation
results unless both results are positive.
2013-05-16 15:10:16 +01:00
akwizgran
91ccdfd8d7 Created Android-specific LAN TCP plugin in order to enable multicast.
Some Android devices require a lock to be held while using multicast, to
disable the packet filter that normally filters out multicast packets.
2013-05-16 13:48:42 +01:00
akwizgran
14e045db9b More frequent UI feedback during invitation process.
Fixes issue #3611924.
2013-05-16 12:13:36 +01:00
akwizgran
2f898d6d44 Reset connected flag when resetting activity's state. 2013-05-15 18:29:42 +01:00
akwizgran
a32cf485fb Made some classes package-private that don't need to be public. 2013-05-15 18:27:23 +01:00
akwizgran
635973c845 Provide earlier feedback in the UI when connecting to a new contact.
Partially addresses issue #3611924.
2013-05-15 18:22:04 +01:00
akwizgran
07ab659c6b Fixed crash when rotating screen with dialog visible.
Fixes issue #3612299.
2013-05-15 13:45:48 +01:00
akwizgran
147d044dcf Don't use the term widget, it has a specific meaning on Android. 2013-05-15 12:45:36 +01:00
akwizgran
fd5dcd4893 Removed override annotations from overridden abstract methods. 2013-05-15 12:38:43 +01:00
akwizgran
630cfde81e Executors and Services register themselves with the LifecycleManager.
Fixes issue #3612607.
2013-05-15 12:26:56 +01:00
akwizgran
673d7fa0c3 Moved lifecycle management into briar-core and reconfigured executors.
CryptoExecutor and DatabaseExecutor now use bounded thread pools with
unbounded queues, since running too many tasks in parallel is likely to
harm performance; IncomingConnectionExecutor, PluginExecutor and
ReliabilityExecutor use unbounded thread pools with direct handoff,
since their tasks may run indefinitely. There are no longer any bounded
executors, and all executors discard tasks when shutting down, which
fixes issue #3612189.

Responsibility for starting and stopping services has been moved from
BriarService in briar-android to LifecycleManagerImpl in briar-core.
However, BriarService is still responsible for stopping the
Android-specific executors, which is ugly. It would be better if
executors registered themselves with LifecycleManager.
2013-05-04 01:26:11 +01:00
akwizgran
c008340587 Added loading progress bars to all ListViews that load from the DB.
Fixes issue #3611923.
2013-05-01 16:49:35 +01:00
akwizgran
fae67ca32b Added a hook to wait for the DB without waiting for plugins to load. 2013-05-01 16:15:40 +01:00
akwizgran
4290e3d1e5 Fixed a receiver leak, added a FIXME. 2013-05-01 11:54:28 +01:00
akwizgran
d24d4adf7f Reference retrieved from reference manager may be null.
Fixes issue #3612379.
2013-05-01 00:08:33 +01:00
akwizgran
1aa701ceee Save and restore UI state when screen is rotated.
Fixes issue #3611920, but keep the issue open because more activities
will be added.
2013-04-30 17:24:04 +01:00
akwizgran
d5720c085f Removed bundle encryption.
Android doesn't currently store bundles persistently, so it's premature
to protect against accidental information leaks through persistent
bundle storage. Protecting against deliberate information leaks by the
OS is probably futile, so there's currently no need for bundle
encryption.
2013-04-30 15:05:23 +01:00
akwizgran
1d610209d0 Changed the expiry date to 1 June 2013. 2013-04-30 14:30:37 +01:00
akwizgran
3d9912b4ff Update invitation UI when Bluetooth or WiFi status changes.
Fixes issue #3611925.
2013-04-26 21:06:08 +01:00
akwizgran
421ce90469 Replaced a FIXME with an explanation of why it doesn't need to be fixed. 2013-04-26 18:50:55 +01:00
akwizgran
3787ed9e2f Progress spinners weren't shown when retrying invitation connections.
Fixes issue #3611959.
2013-04-26 18:43:30 +01:00
akwizgran
2c9ce014a5 Renamed a method and expanded the javadoc to be clear that it blocks. 2013-04-26 18:15:51 +01:00
akwizgran
ee641db600 Record the PID of the Tor process so we can make sure it gets killed. 2013-04-25 18:46:05 +01:00
akwizgran
6f206bf270 Use a shutdown hook to kill the Tor process if the plugin isn't stopped. 2013-04-25 15:37:20 +01:00
akwizgran
32b575d16a Stripped Tor binary, reducing APK size by a megabyte. 2013-04-25 14:47:00 +01:00
akwizgran
3939ae6d60 Tor plugin for Android using native Tor binary, jtorctl and jsocks.
Only the ARM binary is included at present. Better control of the Tor
process is needed - it's possible for it to be left running when Briar
exits, and if the cookie file is deleted it's no longer possible to stop
the process.
2013-04-25 05:09:25 +01:00
akwizgran
1e5e78cc44 Use Integer.parseInt(String) to get a primitive int. 2013-04-25 05:07:26 +01:00
akwizgran
178c486a4a Put Android plugins and Java SE plugins in separate modules. 2013-04-24 21:09:38 +01:00
akwizgran
79233a47ba Throw an exception if BriarService is (re)created without a password. 2013-04-22 16:00:08 +01:00