Eric House
cdf7a88302
change method signature to be more clear what it's doing
2015-03-02 06:22:57 -08:00
Eric House
6964458c84
fix string
2015-03-02 06:20:17 -08:00
Eric House
e03be955a6
make ivar private
2015-03-02 06:19:47 -08:00
Eric House
25beb1b8d4
cleanup: remove unnecessary Context params
2015-02-28 19:36:07 -08:00
Eric House
13b3905458
fix so emailed invitations from current shipping version can be
...
received. I think NFC works too. Bluetooth doesn't, and isn't worth
the time to fix since users get a very clear "upgrade already"
message.
2015-02-26 21:39:21 -08:00
Eric House
3e27721ca4
cleanup
2015-02-26 21:35:45 -08:00
Eric House
6e7c1cb73f
include set of addresses in rematch so that even though invite by
...
relay doesn't work yet games can communicate that way.
2015-02-26 06:54:56 -08:00
Eric House
3cccb0cb11
move (effective) [de]serialization logic into class
2015-02-26 06:18:19 -08:00
Eric House
ed212801c8
first pass at enabling Rematch, which seems to work for SMS and
...
Bluetooth. Relay will take a bit more work, and there are rough edges
still.
2015-02-26 06:01:17 -08:00
Eric House
8538b1b293
remove assert. Not sure why I wanted it before.
2015-02-26 06:00:03 -08:00
Eric House
a3a88463a5
get and put new game summary extras in DB
2015-02-26 05:56:46 -08:00
Eric House
add93c83de
add methods for getting and putting strings as part of summary and
...
testing if any of them constitute rematch info
2015-02-26 05:56:08 -08:00
Eric House
187e55e4ad
add column for arbitrary & extensible data in GameSummary
2015-02-26 05:52:40 -08:00
Eric House
e2f3963667
wrap static Boolean to avoid NPE when uninitialized
2015-02-25 07:35:14 -08:00
Eric House
da3452f3fa
Merge remote-tracking branch 'sf/android_branch' into android_multi2
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-02-24 06:46:16 -08:00
Eric House
e9cab298d9
makefile for new Czech wordlist
2015-02-24 06:45:32 -08:00
Eric House
7229d110a0
go ahead an up the beta version number too
2015-02-23 21:51:25 -08:00
Eric House
64cf060c4e
up version code and add to changelist
2015-02-23 21:35:42 -08:00
Eric House
4d0a825e43
fix NPE downloading .xwd files
2015-02-23 21:16:53 -08:00
Eric House
f2f5fb22e6
use new comms header to transmit isServer bit
2015-02-23 18:28:31 -08:00
Eric House
dc1f08a7ac
up protocol number so old clients know to upgrade
2015-02-23 18:25:34 -08:00
Eric House
24de5cc486
change order, showing newest first
2015-02-23 18:24:01 -08:00
Eric House
eca87d3755
don't crash on null set
2015-02-23 18:19:16 -08:00
Eric House
d4515c4930
Merge remote-tracking branch 'sf/android_branch' into android_multi2
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java
2015-02-23 08:02:56 -08:00
Eric House
0cb549abcc
add another change summary item
2015-02-23 07:11:43 -08:00
Eric House
f9ddca8316
tweak explanation
2015-02-23 07:03:25 -08:00
Eric House
825577a762
manually bring in db71c4e4e2
: force
...
resend_all() when opening game
2015-02-21 17:37:10 -08:00
Eric House
958ca38002
don't log normal case as error
2015-02-20 07:53:24 -08:00
Eric House
6fe0940187
don't log normal case as error
2015-02-20 07:52:19 -08:00
Eric House
6d8f13df9e
Merge remote-tracking branch 'sf/android_branch' into android_multi2
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-02-19 06:45:11 -08:00
Eric House
59bf77c871
fix occasional assert by increasing buffer size
2015-02-19 06:39:32 -08:00
Eric House
5940a7e860
Merge remote-tracking branch 'sf/android_branch' into android_multi2
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-02-18 19:56:48 -08:00
Eric House
9fd5e71e3d
up client version so we can tell when adoption's getting close to complete
2015-02-18 19:55:40 -08:00
Eric House
86d8a46da2
Merge branch 'android_branch' into android_multi2
...
Conflicts:
xwords4/common/comms.c
2015-02-18 19:40:36 -08:00
Eric House
b89395ffb9
up strings for new release
2015-02-18 19:24:17 -08:00
Eric House
b23c4d0a73
change comms header format to add a version and flags, marking with an
...
almost unique 16-bit quantity. 1 in 2^16 new games will fail because
its connID will match, but that's ok in part because it can only
happen during the time between when this is released and follow-on
version that assumes all older versions are gone.
2015-02-18 19:19:36 -08:00
Eric House
3dd16b5883
alert on receiving phone when SMS sender is using older/incompatible protocol.
2015-02-18 06:49:43 -08:00
Eric House
159a1a8dd2
use TAGFMT stuff for comms_resendAll()
2015-02-17 20:45:39 -08:00
Eric House
7e8c30f2ab
add preference controlling whether radio-free short-circuiting is used
...
for SMS sends when sending and receiving number are the
same. Short-circuiting is faster and tests 99% of the code without
triggering Android's annoying OS-level too-many-sms-sends alerts, but
sometimes you need to test the radio too.
2015-02-17 20:16:44 -08:00
Eric House
1592ac3ede
cleanup -- no meaningful code change
2015-02-17 19:49:32 -08:00
Eric House
db71c4e4e2
force resend_all() when opening game. This unsticks some new games
...
that for some reason connected to having several ways of sending some
of which aren't working wind up running a backoff timer by the time
they want to connect. This fixes the cases I'm seeing. I don't know if
it's at the price of generating too much traffic, but at least it's
limited to when the user actually opens the game.
2015-02-17 19:46:54 -08:00
Eric House
1a87812f2b
don't check for updates on DEBUG builds as the server doesn't handle
...
that case (yet)
2015-02-17 06:59:40 -08:00
Eric House
749b9a5c19
changes in generated IDs: apparently different dev machines generate
...
different IDs, perhaps because they're running different SDK versions.
2015-02-17 06:52:36 -08:00
Eric House
d97dd6aff1
if fake-radio pref has changed to make something (SMS) unsupported,
...
try to recover from that (otherwise impossible) change in phone
capability by checking when fetching pref if it's all still possible.
2015-02-17 06:52:00 -08:00
Eric House
4d9465a3e2
fix crash on initial install, when pref won't be set yet
2015-02-17 06:49:34 -08:00
Eric House
eb1ad5cdc3
use fake radio preference in setting phone info, and rely on that for
...
isgsm test
2015-02-17 06:15:34 -08:00
Eric House
55714d81bf
remove unused method
2015-02-14 22:42:26 -08:00
Eric House
385220cf92
add debug preference, unused so far, for faking the type of radio I
...
have. Goal's to debug non-GSM devices correctly hiding all references
to play-via-SMS.
2015-02-13 18:52:13 -08:00
Eric House
98fe7eb343
if BT's off, offer to turn it on programatically rather than telling
...
user to do it himself
2015-02-13 18:38:24 -08:00
Eric House
49024ae070
offer to turn SMS on when setting the global pref too
2015-02-13 18:16:30 -08:00