Eric House
ba712046a2
add git version to file in assets/ so can tell .apk's version in
...
filesystem (before it's installed).
2016-01-03 19:27:33 -08:00
Eric House
22dde029c8
Merge tag 'android_beta_100' into android_branch
...
ready for release
2016-01-03 11:36:37 -08:00
Eric House
a51b01491d
up strings for new version, and copyright for new year
2016-01-02 09:21:59 -08:00
Eric House
929141f36d
fix compiler warning
2016-01-01 21:13:35 -08:00
Eric House
8dfddea508
up initial client vers id sent to relay
2016-01-01 21:09:10 -08:00
Eric House
ccb86f0358
0 len is ok
2016-01-01 21:05:28 -08:00
Eric House
6a0bcaee26
add missing parameter
2016-01-01 19:48:22 -08:00
Eric House
8c26cf726a
file for new French wordlist (not publicly available yet)
2016-01-01 19:32:32 -08:00
Eric House
a4a135b953
up CV version for testing
2016-01-01 19:30:35 -08:00
Eric House
ebcae1a523
move hashing into memstream impl, and reintroduce the old/broken
...
treatment of the final 8 bits. I'll need to release a version that
still produces the incorrect hash for compatibility with existing
clients that expect it, but that also looks for the correct hash. When
that's out there I can do a new release that sends the correct hash.
2016-01-01 17:57:14 -08:00
Eric House
4813c95976
cleanup: rename function and remove unused param
2015-12-31 15:47:48 -08:00
Eric House
02d5d26c60
when a move comes in whose hash doesn't match the top of the move
...
stack, go down the stack looking for a match. If it's found, pop down
to that point then apply the move. This fixes stalls in the test
engine when undo is enabled, and so I assume that undos and turns are
somehow coming in out-of-order. Should be rare that this happens.
2015-12-31 06:04:55 -08:00
Eric House
dd242c3ff5
make undo ratio operate on 1/1000 scale -- and even with this it's
...
overwhelming when more than 40 clients are running.
2015-12-30 21:23:29 -08:00
Eric House
9ddee9790d
Merge tag 'android_beta_99' into android_branch
...
ready for fix-marshmallow-bt release
2015-12-30 06:41:39 -08:00
Eric House
c9264eecac
add debug-only code to assert that the hash on the move stack remains
...
unchanged across a push and pop. Was used to verify memstream.c change
just committed.
2015-12-30 06:31:02 -08:00
Eric House
0a91f852cc
add commented-out flag
2015-12-30 05:59:52 -08:00
Eric House
a2ca381890
remove assert when hashes don't match. As currently implemented, this
...
can happen when somebody does an undo, since the ordering of undos and
moves is not assured. The result is a temporary (I think) stall, where
a move is rejected because the hash doesn't match, but that will be
accepted later when the undo's been processed and the hash will now
match.
2015-12-30 05:59:06 -08:00
Eric House
89138edae1
when dumping stream, preserve the subset of bits in the last word
...
that's real data. This fixes assertions that after popping a move off
the move stack the hash is the same as before it was pushed. It may or
may not be sufficient to fix reported stalls, but it's certainly
necessary.
2015-12-30 05:56:01 -08:00
Eric House
6ce1fbe465
add red Dbg to the middle of variant's icon
2015-12-30 05:53:37 -08:00
Eric House
4ed843a529
start UDP at 100% by default since all clients will be that way now
2015-12-29 19:01:15 -08:00
Eric House
c96861b329
wrap hash-related logging in ifdefs so can be easily turned on
2015-12-29 19:00:30 -08:00
Eric House
e3d6cb74fc
for some reason log files are now considered binary by grep, so -a option's needed
2015-12-29 18:59:52 -08:00
Eric House
5e3f7d0731
remove logging
2015-12-29 18:58:28 -08:00
Eric House
2f5ae51d3f
experimental change toward fixing networking stalls: when the cache
...
thinks the network isn't up, check anyway. Probably needs to be done
on a backoff timer so we aren't checking every few milliseconds....
2015-12-29 07:14:27 -08:00
Eric House
299b8ddc70
assert when hashes don't match. This may be legit, but I need to
...
understand when it can happen because I think it's the cause of games
failing to communicate in the field
2015-12-29 07:11:05 -08:00
Eric House
78d435c8cc
fix what are errors with new compiler
2015-12-29 07:09:50 -08:00
Eric House
ec9f233fdd
fix assertion, and up version code since I already uploaded a beta to
...
google
2015-12-27 20:48:41 -08:00
Eric House
b4d919b3a1
remove logging
2015-12-22 11:46:19 -08:00
Eric House
285dedb75f
fix NPE -- by inspection after a logged crash: can't reproduce
2015-12-21 22:31:27 -08:00
Eric House
49caf6505a
up strings and changelog for new release
2015-12-21 18:50:04 -08:00
Eric House
7878fd8fcc
fix test to hide menu when it'll otherwise cause an array
...
out-of-bounds exception. Thanks Aidan.
2015-12-21 18:23:41 -08:00
Eric House
3635abb17d
changes in players matter for local games too
2015-12-21 18:22:04 -08:00
Eric House
ea4e437e94
fix, by inspection, NPE reported through the Play Store.
2015-12-21 18:21:59 -08:00
Eric House
c48580b4ba
generated changes
2015-12-21 18:04:35 -08:00
Eric House
3da798f437
required by prev commit: follow api change to work around marshmallow
...
address change.
2015-12-21 18:00:41 -08:00
Eric House
f78cd0f656
fix another source of bad/marshmallow addresses, and add asserts to
...
catch any others.
2015-12-21 18:00:25 -08:00
Eric House
162ab11f12
fix, at least for most cases, Marshmallow change that doesn't let an
...
app know the BT/Mac addr of its own interface. The new bogus addr is
transmitted in common/ structs, and so sending code need to look up by
name when told to use that address.
2015-12-21 18:00:06 -08:00
Eric House
7cb1714568
fix compile -- new compiler, probably
2015-12-21 17:46:50 -08:00
Eric House
8e4867eccd
add some logging about network state
2015-12-21 17:04:40 -08:00
Eric House
6677a3e402
launch networked rematch games on creation, not just local ones
2015-12-21 16:42:54 -08:00
Eric House
f7df11b923
required by prev commit: follow api change to work around marshmallow
...
address change.
2015-12-21 16:27:11 -08:00
Eric House
7805900c07
fix another source of bad/marshmallow addresses, and add asserts to
...
catch any others.
2015-12-21 16:26:30 -08:00
Eric House
79e1473bf6
fix, at least for most cases, Marshmallow change that doesn't let an
...
app know the BT/Mac addr of its own interface. The new bogus addr is
transmitted in common/ structs, and so sending code need to look up by
name when told to use that address.
2015-12-21 15:56:52 -08:00
Eric House
536d220ba7
remove some logging
2015-12-21 15:42:57 -08:00
Eric House
57ba6ab693
remove org.apache.http (as SDK 23 prefers)
2015-12-13 12:17:33 -08:00
Eric House
87c6b3e0fe
use an enum for startActivityForResult requestCode to ensure they're
...
unique across the app.
2015-12-09 06:10:09 -08:00
Eric House
2a3bd60740
supply missing param
2015-12-08 07:15:26 -08:00
Eric House
db9c079356
fix to show files appearing in only one apk
2015-12-05 11:13:13 -08:00
Eric House
4e14477faf
script to compare .apk files, meant to aid in confirming that gradle
...
and ant are producing the same thing.
2015-12-04 21:51:10 -08:00
Eric House
9d42d76ae0
collapse a couple of list-specific classes into their superclasses.
2015-11-24 08:15:27 -08:00