Eric House
ec698c4c62
remove empty strings (currently an error)
2017-12-17 11:17:23 -08:00
Eric House
de8993c2e5
Merge branch 'android_translate' into android_branch
2017-12-17 11:13:32 -08:00
Eric House
771c9ba4a6
add three navbar icons from The Noun Project
...
with attribution of course.
2017-12-17 11:07:43 -08:00
Eric House
dc964ea6c1
catch up small-board menu
2017-12-16 08:17:15 -08:00
Eric House
39dbe67929
add archive menuitem
...
As with Rematch, you should have the option once you've dismissed the
special alert that comes up when finished games are opened.
2017-12-16 08:06:20 -08:00
Eric House
da1c3f992a
Merge branch 'android_branch' into relay_via_http
2017-12-15 07:20:53 -08:00
Eric House
b0befa62e3
remove logging
2017-12-15 07:17:14 -08:00
Eric House
2db67ed339
try send via udp, then web
...
Send each packet via UDP if that's thought to be working (always is,
now) and start a 10-second timer. If it hasn't been ack'd by then,
resend via Web API. Tested by configuring to use a UDP socket that the
relay isn't listening on. Only problem is that the backoff timers are
broken: never stops sending every few seconds.
2017-12-15 07:12:14 -08:00
Eric House
c7a635285c
change text and names around native-vs-web choice
...
The plan's to use the native relay protocol first, then to fall back to
the slower but more reliable (esp. on paranoid/block-everything wifi
networks) webAPI. This is the name change without behavior
change (except that the native kill() to report deleted games is gone.)
2017-12-14 06:47:03 -08:00
Eric House
bda545fc8e
comment out iface
...
On Linode anyway the relay's unreachable from python scripts unless I do
this, and it seems harmless in local tests too.
2017-12-14 06:39:40 -08:00
Eric House
e96a982f24
get rid of moved file already
2017-12-12 06:59:31 -08:00
Bernard Massot
70aeef6c8e
Translated using Weblate (French)
...
Currently translated at 99.1% (737 of 743 strings)
2017-12-11 17:46:23 +01:00
Eric House
ddadee9bef
copy in changes from dev branch
2017-12-11 07:09:44 -08:00
Eric House
4746f153e3
add assertion
...
Need to revisit that join() call; this'll help.
2017-12-11 06:56:53 -08:00
Eric House
4fa8079bf0
log outgoing "post" params json
2017-12-11 06:55:25 -08:00
Eric House
d1a5a94740
fix crash processing multiple packets
...
When grouping to allow multiple packets per outbound API call I forgot
that some are there to mark the end-of-queue: can't be sent! Trying
caused a NPE. Now if any EOQ is found in the queue that batch is dropped
and the thread's exited.
2017-12-11 06:42:35 -08:00
Eric House
701e6968de
file to pull an apk
...
app-id is hardcoded for now.
2017-12-10 11:56:52 -08:00
Eric House
fc4e577f1b
bring changes over from dev branch
...
old tests pass without any socket leakage
2017-12-10 08:21:22 -08:00
Eric House
2e71aedc02
fix --game-dict option
2017-12-09 21:32:05 -08:00
Eric House
8d10dca23e
pull in test scripts from dev branch
2017-12-09 20:39:16 -08:00
Eric House
afda9ce446
add assertion
2017-12-09 13:30:25 -08:00
Eric House
530e0181e5
list open sockets
2017-12-09 13:30:08 -08:00
Eric House
811c8f535e
add socket refcounting
...
AddrInfo now has ref()/unref() and keeps a global socket->refcount map
(since actual AddrInfo instances come and go.) When the
count drops to 0, the existing CloseSocket() method is called. This
seems to fix a bunch of race conditions that had a socket being closed
and reused while old code was still expecting to write to the device
attached to the socket the first time (along with lots of calls to close()
already-closed sockets, attempts to write() to closed sockets, etc.)
2017-12-07 07:18:09 -08:00
Eric House
dbf38f7759
don't use mlock in config; don't close socket
...
Use of mutex logging recurses infinitely if config uses mlock, so remove
that. And don't free sockets after handling their messages as they may
be in use elsewhere. This likely introduces a leak of sockets.
2017-12-06 19:11:32 -08:00
Eric House
243eb213bb
make reply messages a param within result
...
Makes it easier to debug by adding stuff on the relay end
2017-12-06 18:57:48 -08:00
Eric House
70dea02efc
cleanup; fix possible socket drop
...
Haven't seen it happen, but I think there was a bug that could have led
to all the sockets coming back as ready from poll() being dropped. Fixed
that and added/cleaned up some logging.
2017-12-04 20:40:44 -08:00
Eric House
d5c4ecabce
rename class; add some logging
...
Rename class that's no longer just about UDP as it began. Add a bit of
logging. This commit *should* not change behavior at all.
2017-12-03 19:18:36 -08:00
Eric House
fd5549014a
fix logging
2017-12-03 18:52:06 -08:00
Eric House
17d3f14d9e
kill script when no change for two minutes
...
by default -- there's a flag for that too.
2017-12-03 17:05:02 -08:00
Eric House
e485af925f
log milliseconds: seconds not enough.
2017-12-03 16:07:30 -08:00
Weblate
6ffd4d4a37
Merge remote-tracking branch 'origin/android_translate' into android_translate
2017-12-01 04:25:46 +01:00
Eric House
45bb36e66c
pad log and db file names for better sorting
2017-11-30 07:43:04 -08:00
Eric House
f1b91f4df2
exit if tile line hasn't change in 2 minutes
2017-11-29 20:39:15 -08:00
Eric House
12ab4bdc5c
print total runtime on exit
2017-11-29 20:02:27 -08:00
Eric House
db0d5ef746
tweak display; add signal handler for clean shutdown
2017-11-29 19:32:27 -08:00
Eric House
f9c92ca34f
tweak device-in-game summary
...
Group devices by game so connectivity is easier to watch.
2017-11-28 07:08:41 -08:00
Eric House
4b81b784fc
Merge branch 'android_branch' into relay_via_http
2017-11-28 06:24:09 -08:00
Eric House
8e37551f8a
up changelog for new release
2017-11-27 20:40:16 -08:00
Eric House
455373343a
remove requirement for gcm.jar
...
remove from xw4d version too since it can't work anyway.
2017-11-27 20:40:16 -08:00
Eric House
af81342021
create new fdroid variant
2017-11-27 20:40:06 -08:00
Eric House
503702c0e4
log unack'd packets
2017-11-26 20:56:38 -08:00
Eric House
0d8aef06f3
keep packets until ack'd for retry and better logging
2017-11-26 20:11:25 -08:00
Allan Nordhøy
9572cdca1b
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 55.6% (411 of 738 strings)
2017-11-26 15:49:40 +01:00
Eric House
58eafd5fd1
fix glitches in XML strings for Norwegian
2017-11-20 22:04:42 -08:00
Eric House
3216ef8a5c
Merge branch 'android_branch' into android_translate
2017-11-20 06:53:34 -08:00
Eric House
b6124ca2d1
change version strings and changelog
2017-11-19 20:10:54 -08:00
Eric House
4698c0e54b
add not-again explanation for new archive feature
2017-11-19 20:00:45 -08:00
Eric House
039dcdf0cc
print how long run has left
2017-11-19 19:40:29 -08:00
Eric House
ae98425c21
output game progress as a table
2017-11-17 08:06:23 -08:00
Eric House
e7d00cbad4
fix TIMEOUT calculation
2017-11-16 08:29:22 -08:00