Commit graph

11492 commits

Author SHA1 Message Date
Eric House
d90314b153 fix formatter specifiers in Japanese 2020-03-24 16:50:51 -07:00
Eric House
53bc8ecdb0 Merge branch 'android_branch' into android_translate 2020-03-24 16:27:25 -07:00
Eric House
cd0cf0c3f2 tweaks to logging 2020-03-24 15:59:33 -07:00
Eric House
8bd623d91a fix NFC
A change in how sendMsg() figured out what address types to use dropped
NFC, breaking sending on Android. Fix.
2020-03-24 15:58:06 -07:00
Eric House
2451b0c53c fix formatting exception in rarely-seen string
I have no idea how to fix the translated strings, of course, so just
stuck the missing specifier in at the beginning.
2020-03-24 11:04:48 -07:00
Cassio Lamarck Silva Freitas
f8fe45323f
Translated using Weblate (Portuguese)
Currently translated at 47.3% (391 of 825 strings)
2020-03-23 04:46:59 +01:00
Eric House
acfca164ca fix reversed arrow icons 2020-03-20 19:36:40 -07:00
Eric House
5611d17849 fix so games don't stall after undo
With these changes the test script no longer produces games that don't
finish. I think they are recovering from the problems produced by one
device doing an undo while another is making a move, or other problems
produced by undo being allowed to happen on any device at any time, but
haven't analyzed the games beyond the test script's verifying that they
all finish with a Winner after all tiles are consumed.
2020-03-19 16:53:44 -07:00
Eric House
3c1a748272 fix dictionary sum checking server-side 2020-03-18 22:28:58 -07:00
Eric House
b3a3d38ca4 remove unused (I think) icons 2020-03-18 16:56:23 -07:00
Eric House
224f2a29da convert two more .svg files 2020-03-18 16:27:47 -07:00
Eric House
a7862d2efe replace .png arrows with .svg 2020-03-18 16:11:10 -07:00
Eric House
0df0878c0a use DrawableVector for middle square marker 2020-03-18 13:35:24 -07:00
Eric House
197c7e61b0 convert to using VectorDrawable for two files
Proof-of-concept. I hate that this can't be automated readily using
stuff in ubuntu, but we'll see how it works.
2020-03-18 12:51:39 -07:00
Eric House
7f8f0d096c make arrows more pointed 2020-03-18 12:31:38 -07:00
Grace Guo
e3b471cbdb
Translated using Weblate (Japanese)
Currently translated at 100.0% (825 of 825 strings)
2020-03-18 08:36:28 +01:00
Eric House
5cae732a60 fix release builds 2020-03-17 20:33:24 -07:00
Eric House
6e27196aed specify svg files to be used as sources
To move away from generating .png files, I need to be able to specify
which of the .svg files is used as a source at build time. (The rest
will be converted manually into .xml files that are checked in.)
2020-03-17 20:25:33 -07:00
Eric House
dbb897826e tweak logging 2020-03-14 19:33:58 -07:00
katianderic
1d8bb1d0db fix Android build (requires adding new comms method) 2020-03-14 18:52:28 -07:00
katianderic
b1f7b13e78 toward fixing stalls when undo used
There are still some stalls turning up when running the test script,
especially with more than two players in a game, but but it'll be
easier to do the final debugging off my pathetic travel-only
chromebook. And things are already much better. :-)
2020-03-14 14:47:26 -07:00
katianderic
901b70a5f2 get rid of legacy "incorrect" stuff around hashing 2020-03-14 13:44:56 -07:00
katianderic
1a082f7f15 let move stack determine whose turn it is
When something goes wrong with a move (typically because of undo), the
move stack and server's idea of whose turn it is get out of
sync. Since it being my turn means it's up to me to put the next move
on the stack, let the stack own "next turn". (Can probably eventually
get rid of the ServerCtxt variable that tracks it.)
2020-03-14 13:44:56 -07:00
katianderic
781021d6ca trivial changes to aid debugging 2020-03-14 13:44:56 -07:00
katianderic
5d6c2514fd include milliseconds in log timestamps 2020-03-14 13:43:43 -07:00
katianderic
126172220f changes to fix curses app test script
especially on the 'sms' side it was broken. Now Android's broken for sure.
2020-03-14 13:43:43 -07:00
katianderic
0486b956c8 better display of "sms" message passing 2020-03-14 13:43:42 -07:00
Eric House
c54eba2ee5 make core file pattern specifiable 2020-03-14 13:32:47 -07:00
Michal Biesiada
23b28cfec8
Translated using Weblate (Polish)
Currently translated at 88.2% (728 of 825 strings)
2020-02-20 23:32:48 +01:00
katianderic
96236e8713 fix broken android build
Was missing new logging macro. And remove assert firing when undo
happens in curses app.
2020-02-18 07:57:22 +01:00
katianderic
38a4e494a4 make sms work via invitations too 2020-02-16 22:34:33 -08:00
katianderic
c7c1946793 use deviceID to invite via relay; make 3- and 4-device games work 2020-02-16 19:12:22 -08:00
katianderic
b1bd506e22 harvest relaydevid (for use in invitations later) 2020-02-16 19:12:21 -08:00
katianderic
e5255f59eb add flag without which new game isn't created by default 2020-02-16 19:12:15 -08:00
naofum
e3e5d58438 Translated using Weblate (Japanese)
Currently translated at 100.0% (778 of 778 strings)
2020-02-11 11:09:07 -08:00
eehouse111999
35f18955ae improve logging on linux 2020-02-09 21:01:39 -08:00
eehouse111999
b5b01b75f7 fix to compile with latest ndk 2020-02-09 20:02:01 -08:00
eehouse111999
845370c9ca cleanup and fix test script stalls
Old code always had client trying to connect. So do that here
too. Seems to fix test script stalling.
2020-02-07 23:11:20 -08:00
eehouse111999
fe48a7c107 tweaks for small screen 2020-02-07 16:34:41 -08:00
eehouse111999
c50e85f34a improve scripts' contribution to setup 2020-02-07 14:37:27 -08:00
Eric House
ac4baff7e7 fix crashes and bugs in linux apps 2020-02-05 22:03:29 -08:00
Eric House
6b41628fbf dup: fix to call informMove(); make strings localizable
Was relying incorrectly on showRobotScores, which is FALSE on linux by default.
2020-02-05 22:03:12 -08:00
Eric House
7076501710 cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
Eric House
4c19a00263 cleanup 2020-02-02 19:52:51 -08:00
Eric House
2031dec216 implement drawTimer for curses; allow invite-to-self 2020-02-02 19:12:35 -08:00
Eric House
97c0a58fff make gtk timer stuff work for both
It's glib-based, so why not. And curses implemention didn't work.
2020-02-02 19:03:10 -08:00
Eric House
94137322b7 add missing callbacks (and assert all there) 2020-02-02 17:57:30 -08:00
Eric House
dd0ad8f479 fix linux side to compile without DEBUG on 2020-02-02 15:29:14 -08:00
Eric House
03faeecd0b add new log macro that includes file name and function 2020-02-02 15:29:14 -08:00
Eric House
d36f5e7e49 make same-device invites work on gtk
Added a confirm alert so accidental resends won't create useless games.
2020-02-02 15:29:14 -08:00