Commit graph

12748 commits

Author SHA1 Message Date
Eric House
a11db395d5 fix invite alert not being dismissed on game connect
At least where QR was being used, it didn't go away. Not sure why, but a
global was getting nulled when it shouldn't have been. Race condition I
guess.
2021-03-22 12:22:53 -07:00
Hosted Weblate
da85904a21
Merge branch 'origin/android_branch' into Weblate. 2021-03-22 19:14:50 +01:00
Eric House
177bb28a67 Squashed commit including:
commit 1f8a46156f
Author: Bernard Massot <bmassot@free.fr>
Date:   Sun Mar 21 22:03:07 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.2% (885 of 892 strings)
2021-03-22 10:45:52 -07:00
Eric House
561c5c9eb1 cleanup 2021-03-22 10:43:34 -07:00
Hosted Weblate
a3524ddefa
Merge branch 'origin/android_branch' into Weblate. 2021-03-22 18:42:09 +01:00
Bernard Massot
1f8a46156f
Translated using Weblate (French)
Currently translated at 99.2% (885 of 892 strings)
2021-03-22 18:42:09 +01:00
Eric House
1e2509163d listen on window resizes -- print only for now 2021-03-22 08:28:52 -07:00
Eric House
3060def376 add and use NULL_XWE 2021-03-21 20:16:09 -07:00
Eric House
4d88634865 draw board dimmed when in tile-trade mode 2021-03-21 17:57:56 -07:00
Eric House
bdb081d0e3 cleanup: remove version test and tweak strings
There's no point in checking if I'm running on a version the Play Store
hasn't supported for years.
2021-03-21 17:29:08 -07:00
Hosted Weblate
965583d091
Merge branch 'origin/android_branch' into Weblate. 2021-03-21 21:54:38 +01:00
Eric House
64246f2463 Squashed commit (irrelevant pruned):
commit aaa8346e29
Author: Bernard Massot <bmassot@free.fr>
Date:   Fri Mar 19 21:47:26 2021 +0000

    Translated using Weblate (French)

    Currently translated at 99.4% (884 of 889 strings)
2021-03-21 13:53:16 -07:00
Hosted Weblate
cb13297d4e
Merge branch 'origin/android_branch' into Weblate. 2021-03-21 21:42:41 +01:00
Eric House
3102271840 turn "known players" on for all 2021-03-21 13:40:17 -07:00
Eric House
4f8ae02bbe regression: don't offer to archive archived game 2021-03-21 13:25:47 -07:00
Eric House
1869557f12 when a move is dropped for lack of dict, alert user
Better to encourage deletion so the remote player knows what's up. This
will not happen often but it has bitten me so....
2021-03-21 10:33:49 -07:00
Eric House
637c47e506 add another as-generated vector asset
Can't figure out how to change the color on the untrade one, so it'll
wait.
2021-03-20 20:05:13 -07:00
Bernard Massot
aaa8346e29
Translated using Weblate (French)
Currently translated at 99.4% (884 of 889 strings)
2021-03-20 23:18:06 +01:00
Eric House
21b4f51648 swap menuitem positions 2021-03-20 13:46:02 -07:00
Eric House
677abe6fb8 remember prev dict choice and use for longtap
Often I want to view a different wordlist from what's in use in the
game. So make the in-board long-tap shortcut to a wordlist remember what
the short-tap gesture chose most recently and use that instead of
assuming the game's list is what's wanted. Remember the choice on a
per-language rather than per-game basis.
2021-03-20 13:29:22 -07:00
Eric House
e1712f4560 when KP is deleted, remove record of its being expanded
I'm tired of having a record recreated and showing up expanded first
thing. Better to save less garbage.
2021-03-20 08:49:41 -07:00
Eric House
e3ba122ca0 fix to compile with XWFEATURE_RELAY undefined
Didn't change the stream format. That will wait!
2021-03-19 18:51:34 -07:00
Eric House
88e76af7ab put scores alert on backstack too
It also should go away when board is dismissed.
2021-03-19 18:14:00 -07:00
Eric House
521a5b57b8 put gameover alert on backstack
This seems to do what I want: cause it to be dismissed whenever the
board fragment behind it (that launched it) goes away, e.g. because the
remote deleted first and local got a deleted-elsewhere-so-delete-here?
alert.
2021-03-19 18:04:52 -07:00
Eric House
b1532f19a4 move getDict from dutil to util
It's in the context of a game, and we might want info about the game
when notifying the user. For wasm, though, I just download after failure
to open. User has to try again to open the game. Good enough for now
since missing a wordlist shouldn't happen if you're not me changing
where they're stored.
2021-03-19 17:27:17 -07:00
Eric House
87621c3b51 fix compile 2021-03-19 17:26:48 -07:00
Eric House
e86626d7be don't crash if remote doesn't support chat 2021-03-19 14:30:17 -07:00
Eric House
bbb5f821c2 tweaks 2021-03-19 14:30:17 -07:00
Eric House
1aa3ddcde0 cleanup and tweaks 2021-03-19 14:30:17 -07:00
Eric House
f48c7ce0f3 turn on COMMSACK 2021-03-19 14:29:49 -07:00
Eric House
e1bbd8f14f fix problem upgrading from old dicts storage path 2021-03-19 14:29:49 -07:00
Eric House
01c7bcf9e3 fix get-string dialog 2021-03-19 14:29:49 -07:00
Eric House
af5c116a78 new game choices stored for next time; change dicts path
Lots of tweaks. Main was from realizing that storing special-names files
and can-be-anything files in the same directory isn't good.
2021-03-19 14:29:49 -07:00
Eric House
b50ac07271 add option to disable hints 2021-03-19 14:29:49 -07:00
Eric House
585f55c040 use notifications and other tweaks 2021-03-19 14:29:49 -07:00
Eric House
0d7b81ac72 tweak UI for small screens 2021-03-19 14:29:49 -07:00
Eric House
1b0acd87ee prevent dbg and rel from conflicting 2021-03-19 14:29:49 -07:00
Eric House
99baf4bf3b pass dbg and host info via register 2021-03-19 14:29:49 -07:00
Eric House
d03b1e5d7a tweaks 2021-03-19 14:29:49 -07:00
Eric House
d6d613e2aa move Games button to far left
It'll be most often used
2021-03-19 14:29:49 -07:00
Eric House
bf88c000b7 fix mempool tracking bug 2021-03-19 14:29:49 -07:00
Eric House
8b26d6bc4e plug a leak 2021-03-19 14:29:48 -07:00
Eric House
f3b76da8e1 add more info to game "buttons"
Toward a games-list substitute. New game_summarize method will get
fleshed out and eventually replace what's in jni?
2021-03-19 14:29:48 -07:00
Eric House
8c920d6537 don't complain of bad mqtt when cancelled 2021-03-19 14:29:48 -07:00
Eric House
502d58df6f offer lang name (not locale) in new game dialog 2021-03-19 14:29:48 -07:00
Eric House
3c770e023f also grab native wordlist 2021-03-19 14:29:48 -07:00
Eric House
1cfefc3671 improve startup/new user
Ask for username and download a wordlist on startup
2021-03-19 14:29:48 -07:00
Eric House
d9ebf69ab5 route logs to console.log, not .error 2021-03-19 14:29:48 -07:00
Eric House
e61e1e9fb2 set newgame choices to defaults 2021-03-19 14:29:48 -07:00
Eric House
b0cc6dd744 clear name on delete; remove logging 2021-03-19 14:29:48 -07:00