Eric House
1e6fdd1f70
remove logging
2019-06-23 10:10:49 -07:00
Eric House
0a50a721dd
fix malformed xml string
...
Weblate bug?
2019-06-23 10:10:49 -07:00
Eric House
aab36efdac
fix problems with RelayService
...
Darned thing was dropping packets, failing to connect games built in
response to invitations, and otherwise misbehaving. First was due to not
resheduling when exited with outbound packets in queue; second to not
overriding relayNoConnProc() (due to signature change.) Though it still
happens occasionally.... Also added timestamps to track how long it
takes a packet to be sent and ACK'd.
2019-06-23 10:10:00 -07:00
Eric House
0ad21783b8
add rowid to NoSuchGameException
2019-06-23 10:10:00 -07:00
Eric House
8ff23294e6
fix NPE (and tweak logging)
2019-06-23 10:10:00 -07:00
Eric House
fd122148b8
add flavor to toasted got-fcm message
...
So I can tell the apps apart
2019-06-23 10:10:00 -07:00
Eric House
ac5cbea83f
display latest FCM receipt as part of netstats for relay
2019-06-23 10:10:00 -07:00
Eric House
c67bda8683
use a constant jobID for enqueueWork()
...
That each VM instance had a different id might be why I was
crashing. We'll see.
2019-06-23 10:10:00 -07:00
Eric House
b5ab8803c4
remove debug-only assert I'm seeing
...
Good to know it's happening; now don't crash!
2019-06-23 10:10:00 -07:00
Eric House
40eab8690b
put back pref controlling whether FCM receives are Toasted
2019-06-23 10:10:00 -07:00
Eric House
272204223e
make md5sum calculation available everywhere
...
I want to log sums to see when they arrive on relay. And also add some
missing @Overrides I noticed.
2019-06-23 10:10:00 -07:00
Eric House
f28c21206c
put up toast when FCM message received
...
It's too useful to live without. So: tap into the static list of live
Delegates, and if any of them has an Activity available use it to run
Toast on UI thread. Otherwise there will be no display.
2019-06-23 10:10:00 -07:00
Eric House
6853b203a1
make https the default for prefs-alterable strings
...
And change the keys so all local changes get reset
2019-06-23 10:10:00 -07:00
Eric House
2c4ce83a5b
use https everywhere. And rewrite URLs if necessary.
2019-06-23 10:10:00 -07:00
Eric House
5d36470e50
add some logging around RelayService lifecycle
2019-06-23 10:10:00 -07:00
Eric House
bbe69f6398
Revert "toward compiling with gcc8"
...
This reverts commit d293517e7c
.
2019-06-23 10:10:00 -07:00
Eric House
e8ab9e0b8b
toward compiling with gcc8
...
My VSIZE is no longer legal, and apparently there's no workaround (no
way to safely figure the length of an array whose size is known at
compile time.) To avoid the risk of duplicating little constants, added
macros that define length in a way a new VSIZE can pick it up. Couldn't
make that work for struct field arrays, however, so there I'm using
constants.
2019-06-23 10:10:00 -07:00
Eric House
5f9d39ef8d
communicate variant to relay, and store in new column
2019-06-23 10:10:00 -07:00
Eric House
a49c8c89ba
fcm config file for xw4 variant
2019-06-23 10:09:59 -07:00
Eric House
d950ad695c
remove debug toast that can't work from that class
2019-06-23 10:09:59 -07:00
Eric House
0c52d4e550
remove sms permissions from play store variant
...
and from a new debug variant so that can be tested. Add explanation to
be shown users who try to use the now-unavailable features.
2019-06-23 10:09:59 -07:00
Eric House
6ecfd2f20b
add app-side support for firebase messaging
...
Works for xw4d variant only so far -- xw4 builds are broken!!!
2019-06-23 10:09:00 -07:00
Eric House
305f45dfc0
add variant option to build scripts
...
xw4 won't build for a while...
2019-06-23 10:09:00 -07:00
Eric House
7500e2f396
track and log lock owners correctly
...
Was assuming LIFO behavior, but with refcounting that's wrong and so I
was likely logging the wrong leaker in the case I'm trying to
duplicate. This simplifies the class while fixing that by tracking
owners as a Set.
2019-06-22 07:16:48 -07:00
WaldiS
6aad6d259b
Translated using Weblate (Polish)
...
Currently translated at 89.4% (683 of 764 strings)
2019-06-20 21:00:29 +02:00
WaldiS
c612570c12
Translated using Weblate (Polish)
...
Currently translated at 89.1% (681 of 764 strings)
2019-06-18 21:02:46 +02:00
Julio Yagami
6bf8fcef17
Translated using Weblate (Portuguese)
...
Currently translated at 51.6% (394 of 764 strings)
2019-06-18 21:01:45 +02:00
AB
36927380e2
Translated using Weblate (Ukrainian)
...
Currently translated at 0.5% (4 of 764 strings)
2019-06-18 21:01:44 +02:00
THANOS SIOURDAKIS
800292dfee
Translated using Weblate (Greek)
...
Currently translated at 0.9% (7 of 764 strings)
2019-06-18 21:01:43 +02:00
Eric House
63407ce5b5
wip: don't print stats header without stats
2019-06-14 16:37:29 -07:00
Eric House
93dd92c027
up strings for new release
2019-06-13 20:53:11 -07:00
Eric House
43c349cb2c
make fdroid's flag explicit for variant
2019-06-13 20:52:45 -07:00
Eric House
44612c7177
cleanup: remove logging and comment
2019-06-13 20:40:38 -07:00
WaldiS
1b2750ef4d
Translated using Weblate (Polish)
...
Currently translated at 26.8% (205 of 764 strings)
2019-06-13 10:30:08 -07:00
THANOS SIOURDAKIS
ab82aeb2c7
Added translation using Weblate (Greek)
2019-06-13 10:30:08 -07:00
AB
92f6eefc8d
Added translation using Weblate (Ukrainian)
2019-06-13 10:30:08 -07:00
WaldiS
5a38089702
Translated using Weblate (Polish)
...
Currently translated at 6.5% (50 of 764 strings)
2019-06-13 10:30:08 -07:00
WaldiS
315a801d1d
Translated using Weblate (Polish)
...
Currently translated at 6.4% (49 of 764 strings)
2019-06-13 10:30:08 -07:00
WaldiS
7b4654e522
Translated using Weblate (Polish)
...
Currently translated at 2.7% (21 of 764 strings)
2019-06-13 10:30:08 -07:00
Eric House
a8c45ee0ae
include service delay stats for DEBUG builds
...
A start at determining of often there's a problem with Service not
scheduling work quickly enough.
2019-06-10 18:25:36 -07:00
WaldiS
981baed19d
Translated using Weblate (Polish)
...
Currently translated at 26.8% (205 of 764 strings)
2019-06-09 12:01:14 +02:00
THANOS SIOURDAKIS
d610102f26
Added translation using Weblate (Greek)
2019-06-07 19:35:25 +02:00
Eric House
a90ce05cd4
fix race condition leading to NPE
2019-06-03 20:47:36 -07:00
Eric House
c211b95070
wip: cleanup (not related to duplicate)
2019-06-03 20:47:25 -07:00
Eric House
3a4a8baf70
offer to email when unable to lock game
...
Only on non-shipping builds. This is attempting to catch a non-repro
lock-forever I'm trying to fix.
2019-06-02 09:02:25 -07:00
AB
6688ef08f7
Added translation using Weblate (Ukrainian)
2019-06-02 09:24:42 +02:00
Eric House
52d2694bc7
add support for 64-bit ARM
...
Add a third processor type to the .so, and fix first compile-time
warnings and then a few dumb bugs based on assumptions about ptr sizes.
Works to play networked games and browse wordlists, but is not
extensively tested and needs to be before release.
2019-05-29 19:19:00 -07:00
Eric House
fb15039b60
assert refcount never climbs after reaching 0
...
Looking for a common but not-yet-reproducible situation where the
gamelock gets stuck preventing a game from being opened, usually related
to a move arriving. One thing that looked wrong is it seemed possible to
have the refcount drop to 0 then get increased again, causing somebody
to thing he has a lock when it's actually unlocked. So assert to try to
catch that case (and synchronize to make it much harder.)
2019-05-29 15:51:09 -07:00
Eric House
d92c2b87c8
show SMS status in (fixes always-red indicator)
...
(Not duplicate-specific)
2019-05-29 09:43:12 -07:00
Eric House
53e10ebafb
add DBUtils utility for saving/restoring Serializables
2019-05-22 18:51:16 -07:00