Eric House
f1123bebfc
played word lookup: skip choosing if only one choice
2021-04-26 08:16:24 -07:00
Eric House
53311acb7f
update linux README
2021-04-25 20:57:13 -07:00
Eric House
6f46220946
Squashed commit of the following:
...
commit 3815c8a9e8
Author: Bernard Massot <bmassot@free.fr>
Date: Fri Apr 23 19:59:31 2021 +0000
Translated using Weblate (French)
Currently translated at 99.4% (888 of 893 strings)
commit 4c930410b8
Author: Hosted Weblate <hosted@weblate.org>
Date: Fri Apr 23 17:02:05 2021 +0200
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
commit 585dc7ab4b
Merge: daf5894d7
3613b658f
Author: Hosted Weblate <hosted@weblate.org>
Date: Fri Apr 23 17:02:04 2021 +0200
Merge branch 'origin/android_branch' into Weblate.
commit 3613b658f9
Author: Bruno Oliveira Rosa <brunokauaoliveira@gmail.com>
Date: Sun Apr 11 19:21:19 2021 +0000
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (893 of 893 strings)
commit a2a47d4633
Author: Bernard Massot <bmassot@free.fr>
Date: Thu Apr 1 17:09:29 2021 +0000
Translated using Weblate (French)
Currently translated at 99.2% (886 of 893 strings)
commit 399971e82f
Merge: fbc7a70c4
23806627a
Author: Hosted Weblate <hosted@weblate.org>
Date: Thu Apr 1 02:33:17 2021 +0200
Merge branch 'origin/android_branch' into Weblate.
commit 23806627a3
Merge: 97962fcee
5b77a60de
Author: Hosted Weblate <hosted@weblate.org>
Date: Wed Mar 31 21:37:55 2021 +0200
Merge branch 'origin/android_branch' into Weblate.
commit 5b77a60de5
Author: Hosted Weblate <hosted@weblate.org>
Date: Thu Mar 25 23:46:57 2021 +0100
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
commit b6125b38f1
Merge: 0e7edd9dc
2bad54965
Author: Hosted Weblate <hosted@weblate.org>
Date: Thu Mar 25 23:46:56 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit 2bad549655
Author: Bernard Massot <bmassot@free.fr>
Date: Thu Mar 25 20:19:20 2021 +0000
Translated using Weblate (French)
Currently translated at 99.2% (886 of 893 strings)
commit e0810e2d05
Merge: 430750e23
1480b0a80
Author: Hosted Weblate <hosted@weblate.org>
Date: Thu Mar 25 20:11:15 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit 1480b0a804
Merge: 59acc5d61
3d6a265d7
Author: Hosted Weblate <hosted@weblate.org>
Date: Thu Mar 25 17:48:56 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit 3d6a265d76
Author: Bernard Massot <bmassot@free.fr>
Date: Mon Mar 22 20:30:12 2021 +0000
Translated using Weblate (French)
Currently translated at 99.2% (885 of 892 strings)
commit e6d3ca46bf
Merge: a11db395d
da85904a2
Author: Hosted Weblate <hosted@weblate.org>
Date: Mon Mar 22 20:24:11 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit da85904a21
Merge: 177bb28a6
a3524ddef
Author: Hosted Weblate <hosted@weblate.org>
Date: Mon Mar 22 19:14:50 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit a3524ddefa
Merge: bdb081d0e
1f8a46156
Author: Hosted Weblate <hosted@weblate.org>
Date: Mon Mar 22 18:42:09 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
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)
commit 965583d091
Merge: 64246f246
cb13297d4
Author: Hosted Weblate <hosted@weblate.org>
Date: Sun Mar 21 21:54:38 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit cb13297d4e
Merge: 310227184
aaa8346e2
Author: Hosted Weblate <hosted@weblate.org>
Date: Sun Mar 21 21:42:41 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
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)
commit 3cef9ca4ba
Merge: 073b5f6bf
d044c2cc4
Author: Hosted Weblate <hosted@weblate.org>
Date: Fri Mar 19 22:23:16 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit d044c2cc45
Merge: ca88d9c0b
f68186caf
Author: Hosted Weblate <hosted@weblate.org>
Date: Fri Mar 19 21:06:16 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit f68186cafb
Author: Bernard Massot <bmassot@free.fr>
Date: Sun Feb 21 19:22:45 2021 +0000
Translated using Weblate (French)
Currently translated at 99.4% (883 of 888 strings)
commit 76df89a517
Merge: 28e0dfe31
cd3cf2755
Author: Hosted Weblate <hosted@weblate.org>
Date: Sun Feb 21 20:58:22 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit cd3cf27559
Merge: 0df49bcb6
7c930c6e9
Author: Hosted Weblate <hosted@weblate.org>
Date: Sun Feb 21 20:25:45 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit 7c930c6e91
Author: Hosted Weblate <hosted@weblate.org>
Date: Sun Feb 21 20:05:02 2021 +0100
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
commit 4cadd85ce5
Merge: 18aacdefe
fabc29dfe
Author: Hosted Weblate <hosted@weblate.org>
Date: Sun Feb 21 20:05:01 2021 +0100
Merge branch 'origin/android_branch' into Weblate.
commit fabc29dfef
Author: Bernard Massot <bmassot@free.fr>
Date: Sun Feb 21 18:25:36 2021 +0000
Translated using Weblate (French)
Currently translated at 99.3% (882 of 888 strings)
commit b26f383d32
Author: Hosted Weblate <hosted@weblate.org>
Date: Sun Feb 21 19:09:29 2021 +0100
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2021-04-23 17:49:43 -07:00
Eric House
daf5894d79
call new web api to ack mqtt messages
...
This is toward debugging. Not sure it'll be use to add functionality yet.
2021-04-19 07:04:58 -07:00
Eric House
356280565a
ensure default addr type set never empty
2021-04-08 21:43:24 -07:00
Eric House
92200779ac
log connType in nli
2021-04-07 21:40:20 -07:00
Eric House
b9c34b2b31
don't include relay in rematch addressing
2021-04-01 13:26:25 -07:00
Eric House
a1cabd6c4c
don't add relay to new games -- mqtt only
2021-04-01 10:10:08 -07:00
Eric House
2d3f86a396
Merge branch 'from_android_beta_175' into android_branch
2021-03-31 16:59:31 -07:00
Eric House
ad3fd9342c
up strings for bug-fix release
2021-03-31 16:37:12 -07:00
Eric House
229ced9a29
add and use new string for networked case
2021-03-31 16:33:53 -07:00
Eric House
0e3cd7c9f5
upgrade to latest stable (LTS) NDK
2021-03-31 16:21:03 -07:00
Eric House
29261dd370
fix crash when no radio's been chosen
2021-03-31 16:19:19 -07:00
Eric House
60d6cf444a
fix crash when no radio's been chosen
2021-03-31 16:18:44 -07:00
Eric House
97962fceed
upgrade to latest stable (LTS) NDK
2021-03-29 18:26:05 -07:00
Eric House
d74161958e
cleanup: remove dead and use new code
2021-03-28 20:27:24 -07:00
Eric House
f13e81a4b5
Merge branch 'android_branch' into wasm
2021-03-28 18:39:07 -07:00
Eric House
9cf07b6327
remove unused json field
2021-03-28 10:28:47 -07:00
Eric House
2a20caa6d7
fix breakage caused by merge
2021-03-27 11:00:06 -07:00
Eric House
64ff2e5f69
Merge branch 'android_branch' into wasm
2021-03-27 10:27:14 -07:00
Eric House
61d580adeb
remove extra line-feeds
2021-03-26 22:19:00 -07:00
Eric House
f441ec18b3
changelog and version change for upgrade
2021-03-25 20:25:54 -07:00
Eric House
0e9a7f0434
capitalize variant
2021-03-25 20:25:54 -07:00
Eric House
0e7edd9dcf
fix build breakage by reusing rather than duplicating string
2021-03-25 15:45:53 -07:00
Eric House
430750e23a
Change text for blank-out-filter-config Clear, not Reset
...
Reset somehow makes me expect the filter to be re-applied after the
inputs are removed.
2021-03-25 12:10:49 -07:00
Eric House
59acc5d619
disable reset button unless there's state to clear
...
Using a timer seemed easier than adding listeners on a bunch of fields.
2021-03-25 09:41:43 -07:00
Eric House
ccd557658f
Squashed commit of e.g.
...
commit 3d6a265d76
Author: Bernard Massot <bmassot@free.fr>
Date: Mon Mar 22 20:30:12 2021 +0000
Translated using Weblate (French)
Currently translated at 99.2% (885 of 892 strings)
2021-03-24 21:21:25 -07:00
Eric House
b730253e6b
remove FLIP button; save/restore prefs
2021-03-24 17:52:17 -07:00
Eric House
7bd1153c13
appearance tweaks
2021-03-24 17:29:27 -07:00
Eric House
7a7a2db6ce
enable chat (without history)
2021-03-24 15:58:25 -07:00
Eric House
e7669c427e
size html elements based on window size
...
Should make things look better on different sized phone and tablet
screens.
2021-03-24 10:20:42 -07:00
Eric House
bcf85fa849
adjust board size based on window size
...
Seems to work adequately. Resizing buttons needs to happen too.
2021-03-22 19:39:39 -07:00
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
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
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
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
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
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
Eric House
21b8cc0d95
store langauge name, display in title
2021-03-19 14:29:48 -07:00
Eric House
575e61059c
make dict alloc its own storage
...
having it keep a ptr passed in is dumb
2021-03-19 14:29:48 -07:00
Eric House
829242c9bb
fix to deal with failed downloads
2021-03-19 14:29:48 -07:00
Eric House
52b1300d90
cleanup; remove dead code
2021-03-19 14:29:48 -07:00
Eric House
17311dc757
get rid of dict processing where possible
...
The old API required passing dict into game creation/loading. New
doesn't, but in some places I was doing other stuff there (like checking
existance), so can't remove there. Still code goes away.
2021-03-19 14:29:20 -07:00
Eric House
970c2f6f9a
make android compile/run with wasm changes
2021-03-19 14:29:20 -07:00
Eric House
34aee3d7d0
add remaining langs to code-to-lang table
2021-03-19 14:29:20 -07:00
Eric House
598565836d
separate indexeddb filesystems for dbg and rel
2021-03-19 14:29:20 -07:00
Eric House
ef673d8df0
prune some logging
2021-03-19 14:29:20 -07:00
Eric House
c859caae8d
cleanup (and get rid of constant JS error)
2021-03-19 14:29:20 -07:00
Eric House
430b6894f0
correctly render utf
...
Was using the wrong API. Also upgraded font to DejaVu Sans
2021-03-19 14:29:20 -07:00
Eric House
f0d8a71deb
split dict faces using js so utf8 chars are ok
...
As with java, the platform knows utf-8 better than vanilla C, so use a
JS inlined function to split a binary stream into its "face" components.
2021-03-19 14:29:20 -07:00
Eric House
b3e4bc24af
remove dead file
2021-03-19 14:28:34 -07:00
Eric House
c19d82541d
allow language selection in newgame dialog
2021-03-19 14:28:34 -07:00
Eric House
4f524d0bb0
download wordlists when needed for invitation
2021-03-19 14:28:34 -07:00
Eric House
3c0edb3531
use constant consistently
2021-03-19 14:27:04 -07:00
Eric House
39be910b13
tweaks
2021-03-19 14:27:04 -07:00
Eric House
567c3dbf9e
show mempool stats (DEBUG builds)
2021-03-19 14:27:04 -07:00
Eric House
4937d13273
use indexeddb for storage
2021-03-19 14:27:04 -07:00
Eric House
2a6931fdcf
add and start using indexeddb via emscripten APIs
...
Replace a couple of load/store actions with new APIs that do so
asynchronously (using indexeddb underneath, via emscripten APIs.)
Required restructuring how app starts. More changes to come. The idea is
to replace wordlist storage: this'll keep 'em smaller and not require
conversion to string.
2021-03-19 14:27:04 -07:00
Eric House
55f590ca0b
choose the smallest dict available
...
I'm running out of memory when using the largest English
dicts. Something other than LocalStorage will have to be used for
Polish, but for now limp along with smaller wordlists.
2021-03-19 14:27:04 -07:00
Eric House
dd78abb116
separate dbg and rel directories
2021-03-19 14:27:04 -07:00
Eric House
664913b2eb
fix NPE when len not initialized
...
Duh....
2021-03-19 14:27:04 -07:00
Eric House
d5e7dc4c97
game from a downloaded wordlist works!!!!
2021-03-19 14:27:04 -07:00