Eric House
|
30d2c84dcc
|
so tests can continue, comment out an assertion that indicates a relay
bug that neverless doesn't prevent games from running to completion.
|
2014-12-15 16:43:24 -08:00 |
|
Eric House
|
26b01acf23
|
fix crash on duplicate connect packet: drop it, but keep the
connection alive if the duplicated packet set up addressing correctly.
|
2014-12-15 16:42:34 -08:00 |
|
Eric House
|
eb5ae9edd3
|
declare as little-a array so key will be listed in numeric order
|
2014-12-15 16:41:15 -08:00 |
|
Eric House
|
45ef4fcb65
|
add --dup-packets calling through to linux client
|
2014-12-15 16:14:59 -08:00 |
|
Eric House
|
92fd048eef
|
signature change: return void instead of always returning true
|
2014-12-15 15:33:12 -08:00 |
|
Eric House
|
4835afbe4a
|
simplify and print in order
|
2014-12-15 15:29:37 -08:00 |
|
Eric House
|
7560156351
|
summarize the number of tiles left every 20 passes to give better view
into games' progress
|
2014-12-15 15:11:29 -08:00 |
|
Eric House
|
1eb7d01be5
|
add option to turn on duplicate packets -- which fires an assert on
the relay instantly.
|
2014-12-11 20:23:51 -08:00 |
|
Eric House
|
ddc9f7994c
|
Merge remote-tracking branch 'sf/android_branch' into android_multi2
Conflicts:
xwords4/relay/crefmgr.h
|
2014-12-11 06:22:17 -08:00 |
|
Eric House
|
bf53481aad
|
log unexpected condition rather than asserting
|
2014-12-11 06:18:30 -08:00 |
|
Eric House
|
16c4e74e04
|
ignore client index of 0, since it means the device needs a slot
assigned.
|
2014-12-10 08:04:56 -08:00 |
|
Eric House
|
2e9c033a29
|
If client provides its index, honor that when placing it in game. This
allows a game where indices have already been established over some
transport other than relay to start using the relay mid-game.
|
2014-12-10 08:03:39 -08:00 |
|
Eric House
|
39b0d40e41
|
add local variable to prevent some dereferencing
|
2014-12-10 08:02:20 -08:00 |
|
Eric House
|
f0cf77d7d6
|
fix overwriting of addresses that happened for most (relay-only) games
run by my test script: match records based on channel number only.
This has yet to be tested on multi-addressing Android builds.
|
2014-12-10 07:54:50 -08:00 |
|
Eric House
|
00d19eada6
|
log a few more message checksums
|
2014-12-10 07:48:51 -08:00 |
|
Eric House
|
68441c60f6
|
add local variable to prevent some dereferencing
|
2014-12-10 07:48:38 -08:00 |
|
Eric House
|
9ff7cd1ff9
|
comment out dead code so I stop trying to debug it
|
2014-12-10 07:47:36 -08:00 |
|
Eric House
|
e961756f12
|
give up on hard-coding size of thread->env map: expand it as needed.
|
2014-12-08 20:43:24 -08:00 |
|
Eric House
|
97092e361c
|
update grepped string to match changes in logging
|
2014-12-08 06:23:18 -08:00 |
|
Eric House
|
c70fcf64a7
|
ignore client index of 0, since it means the device needs a slot
assigned.
|
2014-12-08 06:22:30 -08:00 |
|
Eric House
|
f84f9aa85f
|
include timestamp of switch to UDP -- in case it needs to be
correlated with logs
|
2014-12-08 06:20:47 -08:00 |
|
Eric House
|
a80293ba82
|
include timestamp in "new day" post-crash line
|
2014-12-05 06:39:10 -08:00 |
|
Eric House
|
b8660470f7
|
include timestamp in "new day" post-crash line
|
2014-12-05 06:35:31 -08:00 |
|
Eric House
|
5935681b82
|
in getDestID, deal with possibility game was consumated via a
non-relay channel, and allow client to use HOST_ID_SERVER.
|
2014-12-05 06:19:02 -08:00 |
|
Eric House
|
9ba9d258f3
|
If client provides its index, honor that when placing it in game. This
allows a game where indices have already been established over some
transport other than relay to start using the relay mid-game.
|
2014-12-04 06:03:42 -08:00 |
|
Eric House
|
a6f9f6608a
|
drop relay connect meta-messages (as well as game messages) when relay
send is disabled.
|
2014-12-02 06:52:48 -08:00 |
|
Eric House
|
b2b60d6c48
|
add commandline params that disable comms types on game creation so
relay not connecting initally can be tested.
|
2014-12-02 06:49:35 -08:00 |
|
Eric House
|
c8e55a85a3
|
use a constant; log a bit more for now
|
2014-12-02 06:08:58 -08:00 |
|
Eric House
|
a1b967033f
|
summarize role based on relay if in use, bt or sms otherwise
|
2014-12-02 06:08:18 -08:00 |
|
Eric House
|
73851b285e
|
fix a couple of NPEs
|
2014-12-01 07:01:10 -08:00 |
|
Eric House
|
fe76cfa1a1
|
remove logging
|
2014-11-26 07:21:27 -08:00 |
|
Eric House
|
9bdf9b2f5e
|
pass conType into java world from jni send proc, eliminating loops
e.g. sending relay setup traffic over BT.
|
2014-11-26 07:18:29 -08:00 |
|
Eric House
|
eac026a1a1
|
remove unused string
|
2014-11-25 07:18:16 -08:00 |
|
Eric House
|
0250f42b36
|
remove dead invite code
|
2014-11-25 07:17:52 -08:00 |
|
Eric House
|
8974407a67
|
setTitle: it's either networked or not
|
2014-11-25 07:17:03 -08:00 |
|
Eric House
|
2df8c68e60
|
remove commented-out logging
|
2014-11-25 07:16:43 -08:00 |
|
Eric House
|
938756a34f
|
switch for loop to using C99-style variable declarations; no other change
|
2014-11-25 06:09:18 -08:00 |
|
Eric House
|
53bfe9812d
|
add const
|
2014-11-24 07:52:03 -08:00 |
|
Eric House
|
363215841d
|
add assert
|
2014-11-24 07:50:54 -08:00 |
|
Eric House
|
a1cdef6ad8
|
fix log format
|
2014-11-24 06:30:58 -08:00 |
|
Eric House
|
f3828ab7c9
|
merge android_branch -> android_multi2
|
2014-11-22 17:15:22 -08:00 |
|
Eric House
|
83a79963d4
|
Merge remote branch 'origin/android_branch' into android_branch
|
2014-11-22 17:11:40 -08:00 |
|
Eric House
|
4b635791d7
|
crash fix: provide missing param to format string
|
2014-11-22 17:08:17 -08:00 |
|
Eric House
|
963b0e23cf
|
don't send bt pings on non-bt addresses
|
2014-11-21 23:00:16 -08:00 |
|
Eric House
|
142861656e
|
don't send when channel address doesn't have the right type yet
|
2014-11-21 22:53:48 -08:00 |
|
Eric House
|
80229376e9
|
include connection types string in header text
|
2014-11-21 08:02:55 -08:00 |
|
Eric House
|
38e37bfbb9
|
use gameID as inviteID when it's not provided. Originally it was a
relay-only thing, but it's associated with being not-standalone in
places and this seems like the easiest fix.
|
2014-11-21 08:02:18 -08:00 |
|
Eric House
|
67d41f34a3
|
remove loggin
|
2014-11-21 07:58:17 -08:00 |
|
Eric House
|
6c917f34ba
|
fix race-condition assert by dropping message. This needs a better fix.
|
2014-11-21 07:57:58 -08:00 |
|
Eric House
|
c3ca257a10
|
oops: new style
|
2014-11-20 19:13:15 -08:00 |
|