akwizgran
46e5cef46c
Removed unnecessary final modifier.
2013-03-11 16:13:20 +00:00
akwizgran
21dfa6be84
Sort headers on the UI thread as the sorted list will be accessed there.
2013-03-11 16:12:47 +00:00
akwizgran
a75dd3a79a
Removed unnecessary final modifier.
2013-03-11 16:11:59 +00:00
akwizgran
5c7457fff0
Fields of immutable classes should be final.
2013-03-11 16:10:59 +00:00
akwizgran
035fb2ca9a
Make final copies of non-volatile fields when passing to other threads.
2013-03-11 15:58:22 +00:00
akwizgran
7f71c1d5e7
Show a spinner while Guice is initialising.
2013-03-11 14:24:43 +00:00
akwizgran
78ccebf357
If Bluetooth is enabled but not discoverable, warn but continue.
2013-03-11 13:56:12 +00:00
akwizgran
787c428874
Added contact name dropdown to message composition screen.
2013-03-11 13:35:38 +00:00
akwizgran
aa4f1cdfdd
Minor layout changes: padding and text size.
2013-03-11 12:33:09 +00:00
akwizgran
19a6178b54
Removed star icons, added padding around text, renamed boards -> groups.
2013-03-11 10:57:44 +00:00
akwizgran
056eaa2797
Bluetooth debugging and code cleanup.
...
Generate a random UUID instead of using a fixed UUID. Close sockets when
exceptions are thrown (not doing so can cause problems with subsequent
sockets on Android). Use a semaphore with tryAcquire() instead of a lock
when making alien calls, to avoid possible deadlocks.
2013-03-11 10:39:30 +00:00
akwizgran
cd5d922b5e
Cleaned up Android Bluetooth reflection code and added logging.
2013-03-11 10:35:14 +00:00
akwizgran
a02ca4b356
Close invitation connections after use.
2013-03-11 10:31:31 +00:00
akwizgran
4d590f4533
Accept any six-digit invitation/confirmation code.
...
Rejecting codes greater than 2^19 - 1 creates a confusing user
experience.
2013-03-11 10:30:20 +00:00
akwizgran
1ece8a05fb
Stricter verification of public keys.
2013-03-07 21:01:44 +00:00
akwizgran
ecfb4e98a1
Forgot to specify NoPadding for temporary storage cipher.
2013-03-07 10:20:07 +00:00
akwizgran
edaf4e4b23
Temporary storage crypto doesn't need AAD, so it can use a Cipher.
2013-03-06 23:01:01 +00:00
akwizgran
91a068c4bd
Created some utility classes for commonly used layouts.
2013-03-05 18:37:09 +00:00
akwizgran
050f2094cf
Added a border to separate the button bar from the content area.
2013-03-05 15:31:10 +00:00
akwizgran
c83b1b74e5
Previous message and next message buttons.
2013-03-05 15:02:21 +00:00
akwizgran
86925ef402
Hooked up star/unstar and read/unread buttons. Tinkered with layouts.
2013-03-05 14:28:09 +00:00
akwizgran
792d8cb071
Removed backgrounds from home screen buttons.
2013-03-05 14:19:59 +00:00
akwizgran
f549b6d818
Android UI for writing private messages (text only for now).
2013-03-05 01:57:15 +00:00
akwizgran
666499337c
Mark local messages read when they're added to the database.
2013-03-05 01:52:09 +00:00
akwizgran
7cfdacb0ae
Scroll to the first unread message, or the end of the list if all read.
2013-03-05 00:44:10 +00:00
akwizgran
706ca5d531
Added some more fake messages to test scrolling.
2013-03-05 00:43:27 +00:00
akwizgran
bdde79b2d9
Made the message body scrollable.
2013-03-05 00:19:43 +00:00
akwizgran
cabc13a701
Increased queue capacity of database executor.
2013-03-04 23:54:13 +00:00
akwizgran
f8aaa60907
Wait for the service to finish starting up before using the DB.
2013-03-04 23:24:29 +00:00
akwizgran
d71ec9809d
Android UI for reading a message (text/plain only for now).
2013-03-04 19:45:31 +00:00
akwizgran
a651e8ef73
Removed subject line from wire format, added content type.
2013-03-02 04:45:02 +00:00
akwizgran
882420ebc2
Added a method for getting one contact's private messages from the DB.
2013-03-02 03:31:39 +00:00
akwizgran
a5da3694f9
Conversation view for private messages.
2013-03-02 03:11:37 +00:00
akwizgran
e132564993
Seen flag was being set incorrectly for private messages.
2013-03-02 02:48:45 +00:00
akwizgran
63a520bae4
Show spinner when quitting, don't show time in ongoing notification.
2013-03-02 00:32:13 +00:00
akwizgran
e15731a8e3
Yellow stars for starred messages.
2013-03-02 00:16:45 +00:00
akwizgran
6ecb9012e3
Scaled status bar icon for different pixel densities.
2013-03-01 22:47:18 +00:00
akwizgran
fa3183b46a
Added convenience method for waiting for BriarService to start.
2013-03-01 22:46:49 +00:00
akwizgran
71e1dd9acb
Changed database cleaning constants to suit smaller devices.
2013-03-01 22:13:08 +00:00
akwizgran
1ce1cf6f63
Added conversation list screen, minor tweaks to contact list screen.
2013-03-01 20:59:53 +00:00
akwizgran
93beb6709c
Fixed an ambiguous column name in a SQL join.
2013-03-01 20:40:41 +00:00
akwizgran
7ed85c62c3
Fixed inconsistent locking in database.
...
Previously, when table A had a foreign key pointing to table B, we got
read locks on A and B to read A, a write lock on A and a read lock on
B to update A, and a write lock on B to update B (but this wasn't
applied consistently). Now we get a read lock on A to read A, a write
lock on A to update A, and write locks on A and B to update B. The
difference is small in practice, but clarifying the rules has helped to
catch some bugs.
2013-02-28 17:00:55 +00:00
akwizgran
43c8cfa248
Explanatory names for MessageFactory methods.
2013-02-28 13:08:35 +00:00
akwizgran
bfd4ee5e9f
Added columns to the DB to support retrieval of message headers.
2013-02-28 12:49:48 +00:00
akwizgran
88aea1bb72
Added buttons to the home screen, committed resources to git.
2013-02-27 23:13:50 +00:00
akwizgran
656c53cf00
Converted the home screen into a grid view.
2013-02-27 22:35:27 +00:00
akwizgran
06d32814ed
Show connection indicator and last connection time in contact list.
2013-02-27 19:15:51 +00:00
akwizgran
330889a439
Fixed an ambiguous column name and erroneous javadoc comments.
2013-02-27 18:09:49 +00:00
akwizgran
1e8a8d985d
Added lastConnected timestamp to Contact, for display in contact list.
2013-02-27 15:12:01 +00:00
akwizgran
b4de633823
Removed UNSIGNED from column declarations.
2013-02-27 14:48:55 +00:00