Eric House
43b979ff46
cleanup: logging and method rename
2019-01-15 12:29:45 -08:00
Eric House
cf3d3bc156
cleanup from review of diffs (nothing significant)
2019-01-15 07:44:38 -08:00
Eric House
73a469a428
make logging respect force-on preference
2019-01-14 16:58:00 -08:00
Eric House
788113ee28
up versions strings for new release
2019-01-14 13:12:39 -08:00
Eric House
c976b3f595
show BT-troubleshooting hint when scan finds no devices
2019-01-14 12:20:27 -08:00
Eric House
23e58524a1
in invite dialog, confirm before deleting BT devices
2019-01-14 12:08:07 -08:00
Eric House
0da5d9dd28
improve gcm-debug toast message
2019-01-13 21:56:59 -08:00
Eric House
e378647e36
put back explanatory progress text
2019-01-12 09:04:40 -08:00
Eric House
bfbf17252e
use ProgressBar instead of Dialog for BT invite scans
...
I wanted to show progress, and it was just as easy to replace the
deprecated ProgressDialog as to add a timer to the thing.
2019-01-11 21:06:15 -08:00
Eric House
bdbd5bc1ee
disable logging for tagged release builds
2019-01-09 20:00:20 -08:00
Eric House
1625ec9062
Merge branch 'android_branch' into android_translate
2019-01-09 19:03:21 -08:00
Eric House
48a9e830b8
remove empty string -- not legal
2019-01-09 19:02:29 -08:00
Eric House
d2cbcf1e71
tweak BT background notification icon and expl. text
...
The BT icon part was too thick. And the explanation was TMI.
2019-01-09 18:57:50 -08:00
Eric House
d257369639
use same invite prefix for all variants
...
I want to be able to invite one app to the other's games to better test
relay. Since I'm the only one using the Dbg variant should be no impact.
2019-01-09 18:25:52 -08:00
Eric House
011825e4a9
cleanup
2019-01-09 18:18:27 -08:00
Eric House
302a3a5025
accept invite even if same-gameID game open
...
more dev-only code, likely: if the game that's sending the invitation is
open when the invitation arrives, should still check if it's a dupe or
should be accepted.
2019-01-09 09:51:15 -08:00
Eric House
250583caea
log when invite response comes back
2019-01-08 20:34:22 -08:00
Eric House
a665df7840
cleanup: test's done already
2019-01-08 20:31:27 -08:00
Eric House
f18a957ed5
kill progress when owner view goes away
...
BT Invite progress was sticking around when Board left because it wasn't
foreground.
2019-01-08 20:31:27 -08:00
Eric House
2c73f4ca77
don't handle duplicate invitations in DEBUG case
...
Was creating a second game in some cases in response to duplicated
invitations. Add a test for forceChannel: if there's already a game with
the same gameID *and* forceChannel assume the invitation is a dupe and
drop it.
2019-01-08 20:02:01 -08:00
Eric House
e0f4a028d1
remove a bunch of unused methods
2019-01-08 19:42:44 -08:00
Eric House
24fad52cd8
use second resolution in bt device display
...
Useful to see that a scan really did just happen
2019-01-08 11:52:31 -08:00
Eric House
7c7b80deae
add net-stats dialog to log-tap games menu
...
So I don't have to open a game to see e.g. how it's connecting, refactor
the network status stuff so it can be called from both board and
gameslist views. Then add new context menuitem that calls it.
2019-01-08 11:37:57 -08:00
Eric House
e9e03a06a3
show toast when GameLock fails to lock (some cases)
2019-01-08 10:09:43 -08:00
Eric House
4fcc5fd99b
turn off faker device (but make easy to enable)
2019-01-08 09:49:10 -08:00
Eric House
c87161307c
When rematching an Archived game save in default new-game group
2019-01-08 09:41:23 -08:00
Eric House
db641c4664
log gameSeed; generate on linux too
...
I'm seeing a rare case where a game connectes to relay specifying a room
and somehow gets both slots, having provided different gameSeeds the two
times. This means an opponent won't connect, the room being full in that
game. I can't reproduce, so am logging seed changes better and switching
linux client to leave seed generation to comms as Android does.
2019-01-08 08:16:50 -08:00
Eric House
454e3da578
fix to compile when #define not defined
2019-01-08 07:41:22 -08:00
Eric House
7cccd1a1e6
make the fake result random
2019-01-06 17:12:11 -08:00
Eric House
59f1e1696e
remove unused constant (enum)
2019-01-06 17:04:36 -08:00
Eric House
0953772673
cleanup: don't need wrapper around a List<>
2019-01-06 16:58:30 -08:00
Eric House
2a845da9b6
use List instead of array
2019-01-06 16:29:52 -08:00
Eric House
83340567b2
add and implement remove button for btinvite dialog
2019-01-06 15:20:36 -08:00
Eric House
853578eb7d
don't drop known BT devices on every scan
...
Instead, keep them forever (for now), sorted by how long since they were
last seen. A Delete button's probably needed to prevent ex-partners from
sticking around too long. :-)
2019-01-06 14:34:43 -08:00
Eric House
c7f9fc465f
persist and display most recent scan time
2019-01-06 13:40:49 -08:00
Eric House
2f508c0b5c
persist BT invitee dev scan results
...
Only launch the scan automatically when the persisted list is empty.
2019-01-06 12:30:31 -08:00
Eric House
3a0e67c7b3
remove unreachable code
2019-01-06 12:05:30 -08:00
Eric House
d868fef0d2
revert space-only change
2019-01-06 12:04:51 -08:00
Eric House
aecce2826e
revert change making userError() take an enum
...
The set's open-ended on the C side, meaning that an int can't be
converted to an enum reliably. Yay for asserts that caught this.
2019-01-06 11:12:59 -08:00
Eric House
5da32d93f7
fix double-launch of SMSInvite activity
...
Adding a second permission a while back resulted in two Actions being
received and acted on. Needed instead to group the two and receive a
single Action IFF both were granted.
2019-01-06 10:58:12 -08:00
Eric House
5a64b3b92f
Fix problems inviting SMS on emulator
...
Likely no-ops on real devices
2019-01-06 08:59:38 -08:00
Eric House
105e8e2623
add logging
...
Keep some stuff added to debug problem with dict checksums on server.
2019-01-05 18:54:48 -08:00
Eric House
cace99818d
remove dead code
2019-01-05 18:48:26 -08:00
Eric House
3cf8d7571b
fix md5sum calc for non-utf8 wordlists
...
And use apache logging
2019-01-05 18:46:58 -08:00
Eric House
e77b830157
replace assert with what it was to remind me to add
2019-01-01 19:43:44 -08:00
Eric House
e30497f336
catch another exception
2018-12-29 19:56:56 -08:00
Eric House
5a7d5b80da
punctuation
2018-12-29 19:52:11 -08:00
Eric House
4a90792dec
If game's in Spanish, don't require 7 tiles for trade.
...
Put up an error message if too many tiles selected for trade
(a condition that couldn't exist when the pool was guaranteed to
have at least 7 in it.) (It's a hack: there's not even an enum
giving Spanish's code, and the lang_locale stuff in info.txt isn't
making it into the .xwd format.)
2018-12-29 18:47:48 -08:00
Eric House
e9ae36f68d
fix invite via relayID (linux test app)
...
I broke it adding SMS invite support?
2018-12-29 07:41:03 -08:00
Eric House
e58f51a523
log, rather than toast, too-frequent debug message
2018-12-28 07:15:40 -08:00