liimee
0b8042747e
Translated using Weblate (Indonesian)
...
Currently translated at 27.8% (249 of 895 strings)
2021-07-20 11:33:21 +02:00
Anna Malinovskaia
b7af5e577e
Translated using Weblate (Russian)
...
Currently translated at 0.6% (6 of 895 strings)
2021-07-20 11:33:20 +02:00
Zhou Nan
7833d15c94
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 4.6% (42 of 895 strings)
2021-07-20 11:33:20 +02:00
Eric House
7a63a97259
changelog and version codes
2021-07-18 15:19:34 -07:00
Eric House
34f2a853d6
make bonus hints smaller
2021-07-18 15:19:29 -07:00
Eric House
6439f6d223
don't crash when BT's off
2021-07-17 13:31:08 -07:00
Eric House
b49792c750
make cell line width settable
2021-07-16 12:21:49 -07:00
Eric House
e19f1042cb
add option to force number of tiles in tray
2021-07-16 12:15:49 -07:00
Eric House
694953c820
add support for trays with up to 9 tiles
2021-07-16 12:15:46 -07:00
Eric House
8f83a390f1
a bit o' cleanup
2021-06-30 11:47:26 -07:00
Hosted Weblate
d8ee3f5de7
Merge branch 'origin/android_branch' into Weblate.
2021-06-29 16:33:27 +02:00
liimee
5ce616ebdc
Translated using Weblate (Indonesian)
...
Currently translated at 27.3% (245 of 895 strings)
2021-06-29 16:33:24 +02:00
Eric House
9d1214d604
hide dup details when no dupe games present
2021-06-28 12:58:55 -07:00
Eric House
44152f6c36
fix wasm build a bit
...
Still doesn't seem to work on new install
2021-06-28 12:58:55 -07:00
liimee
29bc7ad029
Translated using Weblate (Indonesian)
...
Currently translated at 19.8% (178 of 895 strings)
2021-06-27 17:32:17 +02:00
liimee
60dd623b69
Translated using Weblate (Indonesian)
...
Currently translated at 12.4% (111 of 895 strings)
2021-06-24 05:32:15 +02:00
liimee
15142779db
Translated using Weblate (Indonesian)
...
Currently translated at 6.7% (60 of 895 strings)
2021-06-22 17:33:33 +02:00
liimee
d5e231299c
Added translation using Weblate (Indonesian)
2021-06-21 16:38:06 +02:00
Wellington Terumi Uemura
21b21bd708
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (895 of 895 strings)
2021-06-17 11:32:41 +02:00
ssantos
1800a647ec
Translated using Weblate (Portuguese)
...
Currently translated at 99.7% (893 of 895 strings)
2021-06-17 11:32:41 +02:00
Bernard Massot
aeed1d316c
Translated using Weblate (French)
...
Currently translated at 99.4% (890 of 895 strings)
2021-06-17 11:32:40 +02:00
Hosted Weblate
0ed6611f83
Merge branch 'origin/android_branch' into Weblate.
2021-06-14 22:33:34 +02:00
Wellington Terumi Uemura
b8a11e6153
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (893 of 893 strings)
2021-06-14 22:33:31 +02:00
ssantos
d294084193
Translated using Weblate (Portuguese)
...
Currently translated at 97.7% (873 of 893 strings)
2021-06-14 22:33:31 +02:00
Eric House
5764a752a7
add default mqtt server to test app
2021-05-30 16:39:55 -07:00
Eric House
e667291da5
show invitee name where possible
...
When I've invited a Known Player, use that player's name in parens in
scoreboard and games list elem/summary until a remote device connects
(usually in response to an invitation) and provides an actual player
name. Makes it much easier to tell one pending game from another. And
doesn't really work (yet) where there's more than one remote player in
a game.
2021-05-30 13:31:33 -07:00
Eric House
6352958066
update changelog and version strings for release
2021-05-27 12:26:59 -07:00
Eric House
e18b2d5c75
avoid crash by dropping GAME_OVER event
...
Play Store reports say I'm getting this event when I don't have a
valid jni game instance to work with. So test for that, and drop the
event. If it's a race condition this should fix it. If not I'll get
some other crash report that might be more useful.
2021-05-27 10:56:21 -07:00
Eric House
dd8e7584e6
fix NPE
...
Needed to init globals first
2021-05-27 10:49:20 -07:00
Eric House
3d1ec565b0
add two ways to launch web view of game traffic
...
This'll should it a lot easier to look at what's going on e.g. for a
stalled game
2021-05-23 18:39:28 -07:00
Liu Tao
881d600b9b
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 4.4% (40 of 893 strings)
2021-05-23 12:31:59 +02:00
Hosted Weblate
6c6765871b
Merge branch 'origin/android_branch' into Weblate.
2021-05-19 20:33:02 +02:00
Eugenia Russell
1e216ca0f1
Translated using Weblate (Greek)
...
Currently translated at 0.6% (6 of 893 strings)
2021-05-19 20:32:58 +02:00
Eric House
9e4a889b6c
update commented-out log statements
2021-05-17 17:26:30 -07:00
Eric House
515a253028
changelog and version codes
2021-05-17 12:50:22 -07:00
Eric House
3fd6303f9e
add assert toward tracking crash on Play Store
2021-05-17 12:50:22 -07:00
Eric House
8f5484c5a6
fix crash opening BT game when BT disabled
2021-05-16 08:29:57 -07:00
Eric House
3f332480fb
switch menu positions
2021-05-15 20:55:05 -07:00
Eric House
be698069a4
cleanup of recent changes
2021-05-14 11:34:15 -07:00
Hosted Weblate
c63dacfa36
Merge branch 'origin/android_branch' into Weblate.
2021-05-13 19:33:15 +02:00
ssantos
22fcb6db95
Translated using Weblate (Portuguese)
...
Currently translated at 97.6% (872 of 893 strings)
2021-05-13 19:33:12 +02:00
Eric House
0881566209
restore relay for release builds
...
I want to do a release, and the no-relay stuff isn't sufficiently
tested.
2021-05-13 08:44:44 -07:00
ssantos
301f16b100
Translated using Weblate (Portuguese)
...
Currently translated at 93.7% (837 of 893 strings)
2021-05-12 17:33:33 +02:00
Joan Araujo
1377b59c7d
Translated using Weblate (Spanish)
...
Currently translated at 21.3% (191 of 893 strings)
2021-05-10 19:33:48 +02:00
yokodos 2003
c42d12b48c
Translated using Weblate (Spanish)
...
Currently translated at 21.3% (191 of 893 strings)
2021-05-10 19:33:47 +02:00
ssantos
fda272d6e6
Translated using Weblate (Portuguese)
...
Currently translated at 93.6% (836 of 893 strings)
2021-05-10 19:33:46 +02:00
Hosted Weblate
b8a073cc71
Merge branch 'origin/android_branch' into Weblate.
2021-05-05 16:32:15 +02:00
phlostically
79480174b6
Translated using Weblate (Esperanto)
...
Currently translated at 4.4% (40 of 893 strings)
2021-05-05 16:32:12 +02:00
Eric House
03c9d92368
remove typo apparently introduced by translator
2021-05-02 19:33:58 -07:00
Eric House
9a2fa9534a
moving metadata to see if weblate picks it up
2021-05-02 19:19:58 -07:00
Hosted Weblate
b2fd3533f3
Merge branch 'origin/android_branch' into Weblate.
2021-05-02 21:40:29 +02:00
ssantos
7a97d66a2f
Translated using Weblate (Portuguese)
...
Currently translated at 93.2% (833 of 893 strings)
2021-05-02 21:40:29 +02:00
Jakub Fabijan
886be38c70
Added translation using Weblate (Esperanto)
2021-05-02 21:40:09 +02:00
Eric House
fab7a7befe
fix Oreo-only crash by not setting screen orientation
...
This may hurt Oreo users in some other way, but I'm not taking the time
right now to figure out what's special about DwnldActivity that it
crashes when setting screen orientation on Oreo. It's only 5% of my
users anyway.
2021-05-02 07:11:36 -07:00
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
Eric House
afc3ff156e
make game ask for dicts when needed
...
It's awkward for platform code to create a dictionary prior to opening a
game whose data contains the information about what dict to open. So add
a dutil method to fetch a dict, and call it from inside game opening
code. Makes linux code better at least.
2021-03-19 14:27:04 -07:00
Eric House
7924c046d6
fix linux compile
2021-03-19 14:27:04 -07:00
Eric House
5e9863adaf
snapshot: downloading wordlist seems to work
2021-03-19 14:27:04 -07:00
Eric House
2ab2f5642e
add name button and store wordlist
...
As a p.o.c., load the built-in wordlist into storage once, and
thereafter use it from there rather than as a file. Now it can go away
and a wordlist for the user's locale be downloaded and stored instead.
2021-03-19 14:27:04 -07:00
Eric House
c829017150
comment out logging
2021-03-19 14:27:04 -07:00
Eric House
0508fe1418
hide device buttons sometimes
2021-03-19 14:27:04 -07:00
Eric House
46ec7e5e3e
remove removed file
2021-03-19 14:27:04 -07:00
Eric House
06b530c443
add notion of index to storage
...
I'm heading toward being able to know what all the games are by how
they're stored in a xplatform way. This is a start. Adding a second key
to storage, and looking at grouping everything where one key or the
other matches.
2021-03-19 14:27:04 -07:00
Eric House
39161a1170
just some notes
2021-03-19 14:27:04 -07:00
Eric House
c9ea5c1f69
remove stuff from html
2021-03-19 14:27:04 -07:00
Eric House
4eede76780
add callback called when window regains focus
...
I need to redraw the canvas then, but haven't figured out yet.
2021-03-19 14:27:04 -07:00
Eric House
fa8bcd3c2c
url-decode args prior to passing to main()
2021-03-19 14:27:04 -07:00
Eric House
6b650907b2
regression: notify remote when deleted game messaged
2021-03-19 14:27:04 -07:00
Eric House
c801243dd5
hide game buttons when no game visible
2021-03-19 14:27:04 -07:00
Eric House
ffc42ed5e0
remove deleted games from games list
...
Was getting crashes since they could still be looked up
2021-03-19 14:27:04 -07:00
Eric House
61be81cf1a
invite known players
2021-03-19 14:27:04 -07:00
Eric House
30e6182c7a
sort game names in opengames dialog
2021-03-19 14:27:04 -07:00
Eric House
280390990f
use new scheme to simplify blank picking
2021-03-19 14:27:04 -07:00
Eric House
ae05e62a5a
Don't fail when two games have same name
...
Needed to change how callbacks worked, and that temporarily killed
sorting. Will fix.
2021-03-19 14:27:04 -07:00
Eric House
ab6abea6a7
use a callback instead of malloc inside js
2021-03-19 14:27:04 -07:00
Eric House
534e245048
change load-from-storage to not require free()
2021-03-19 14:27:04 -07:00
Eric House
03d76fbacd
use name from invitation
2021-03-19 14:27:04 -07:00
Eric House
523c9b270a
keep games open and switch between them
...
Motiviation was to be able to deliver a message in the background, but
at least for now it's easier not to close games again. Can always do
that later if it's a memory problem.
2021-03-19 14:27:04 -07:00
Eric House
5cd4b31648
fix to do num-based comparison
2021-03-19 14:27:04 -07:00
Eric House
c8f22f5fb1
register with mqtt host
2021-03-19 14:27:04 -07:00
Eric House
033290bd69
cleanup, esp around js callbacks
2021-03-19 14:27:04 -07:00
Eric House
940e2569c9
fix exiting when another tab opened. And cleanup.
2021-03-19 14:27:04 -07:00
Eric House
41cd3d8f39
open game to receive message
2021-03-19 14:27:04 -07:00
Eric House
e2beccc85c
sort games, fix buttons
2021-03-19 14:27:04 -07:00
Eric House
5b645abae8
cleanup
2021-03-19 14:27:04 -07:00
Eric House
3d87d4f60a
name the closed game
2021-03-19 14:27:04 -07:00
Eric House
208a6b764c
don't report as deleted a game that's just closed
2021-03-19 14:27:04 -07:00
Eric House
b386abcf9d
make stuff better
2021-03-19 14:27:04 -07:00
Eric House
d5b1e429ea
fix assertion failure
2021-03-19 14:27:04 -07:00
Eric House
79433de160
sending invites works
...
though play after it still glitchy
2021-03-19 14:27:04 -07:00
Eric House
43874a6a5d
new game works
...
Only two options: local game with one robot, or networked needing to
invite someone.
2021-03-19 14:27:04 -07:00
Eric House
57783756d6
rename and open seem to work
2021-03-19 14:27:04 -07:00
Eric House
0c99b8490b
implement new game and open game (roughly)
2021-03-19 14:27:04 -07:00
Eric House
9ec8952fdb
move game stuff into separate struct
2021-03-19 14:27:04 -07:00
Eric House
3a0d0befc7
toward allowing multiple games
2021-03-19 14:27:04 -07:00
Eric House
c79d634458
add blank-picker dialog
2021-03-19 14:27:04 -07:00
Eric House
b80f3fdf06
implement wasm_util_remSelected
2021-03-19 14:27:04 -07:00
Eric House
be1042559a
draw scoreboard larger for current turn player
2021-03-19 14:27:04 -07:00
Eric House
23cb7bb85d
unsigned->signed to fix drawing garbage in empty tiles
2021-03-19 14:27:04 -07:00
Eric House
07d5bd9883
refactor: one method for rows of buttons
2021-03-19 14:27:04 -07:00
Eric House
ae4985e518
ask for username if not provided
2021-03-19 14:27:04 -07:00
Eric House
5abf13c4a2
new files to make EM_JS stuff sharable
2021-03-19 14:27:04 -07:00
Eric House
007e1e4acb
add alert for asking user for string
2021-03-19 14:27:04 -07:00
Eric House
52773c577f
make dialogs stackable
2021-03-19 14:27:04 -07:00
Eric House
540cf73496
cleanup: fetch checkboxes rather than pass in
2021-03-19 14:27:04 -07:00
Eric House
88e44d45ff
fix so keyboard input works
...
Emscripen was hogging all keyboard events even when canvas didn't have
focus. There's an arcane way to fix that in js.
2021-03-19 14:27:04 -07:00
Eric House
74109ce172
fix to send after connect
2021-03-19 14:27:04 -07:00
Eric House
d53ab92af3
show game-over details
2021-03-19 14:27:04 -07:00
Eric House
5a061f5786
notify, and stop using, when another tab starts up
...
I'm wrestling with how to have concurrent tabs open. They can't be on
the same game because both can't connect using same MQTT dev id (and
they'd quickly get the saved state screwed up.) Only problem is
sometimes a tab in a new window doesn't have access to localstorage and
so is able to connect on its own. But later that state isn't reachable
any more: relaunch firefox and you get back the to the older state.
2021-03-19 14:27:04 -07:00
Eric House
dc90823e9b
move alert to on top of board
2021-03-19 14:27:04 -07:00
Eric House
eec86e099d
make alert and confirm non-blocking
...
Using a custom div and callbacks. TODO: make it floating so it's more
dialog-like. But that's just css at this point.
2021-03-19 14:27:04 -07:00
Eric House
76139c43f6
move most of my js into separate file
2021-03-19 14:27:04 -07:00
Eric House
9852142a2d
draw letters centered
2021-03-19 14:27:04 -07:00
Eric House
7dc949fb38
choose font sizes to fit
...
Make on demand rather than guessing. Only wind up with six or so, so the
linear search is probably ok.
2021-03-19 14:27:04 -07:00
Eric House
fddac79dd8
rebase, and handle changed draw api
2021-03-19 14:27:04 -07:00
Eric House
96829b5478
fix so release build builds
...
without MEMDEBUG defined that is
2021-03-19 14:27:04 -07:00
Eric House
02a193902f
get trade working
2021-03-19 14:26:18 -07:00
Eric House
bf5db08357
get rid of sGlobals!
2021-03-19 14:26:18 -07:00
Eric House
b368d0b801
pass closure from js to avoid global
2021-03-19 14:26:18 -07:00
Eric House
880bff747d
use js runtime for timers too
2021-03-19 14:26:18 -07:00
Eric House
1813552b5e
use native js for idle (timers next)
2021-03-19 14:26:18 -07:00
Eric House
40e72f8b29
snapshot (with textfield broken)
2021-03-19 14:26:18 -07:00
Eric House
c57471364f
get URL-encoded invitation receipt working
2021-03-19 14:26:18 -07:00
Eric House
1b5cdce72c
don't try to send when not connected
2021-03-19 14:26:18 -07:00
Eric House
7efc4b29bf
get mqtt working again
2021-03-19 14:26:18 -07:00
Eric House
a1d6f25fc6
tweak makefile
2021-03-19 14:26:18 -07:00
Eric House
d586ccf67f
work with WASM=1 and shell template to pass argv from url
2021-03-19 14:26:18 -07:00
Eric House
2eff5ebc7b
cleanup
2021-03-19 14:26:18 -07:00
Eric House
4612ca70c7
snapshot: message exchange mostly works
2021-03-19 14:26:18 -07:00
Eric House
e3814bf0eb
snapshot: sends message to inviter
2021-03-19 14:26:18 -07:00
Eric House
551765b120
launch asap
2021-03-19 14:26:18 -07:00
Eric House
40468d8a1b
load existing game on launch
2021-03-19 14:26:18 -07:00
Eric House
c5aea32227
save game on changed
2021-03-19 14:26:18 -07:00
Eric House
3cb1183e96
Makefile tweaks
2021-03-19 14:26:18 -07:00
Eric House
9bc72d0745
move stream storage into super
2021-03-19 14:26:18 -07:00
Eric House
2c7568723f
add missing files
2021-03-19 14:26:18 -07:00
Eric House
7dc309cc3d
get local storage working
2021-03-19 14:26:18 -07:00
Eric House
b236b80a71
setup so load/store get called
2021-03-19 14:26:18 -07:00
Eric House
d7d3f293e7
cleanup
2021-03-19 14:26:18 -07:00
Eric House
cd614004ae
two-robot game works
2021-03-19 14:26:18 -07:00
Eric House
15ae9da08b
refactor so game init is repeatable (untested)
2021-03-19 14:26:18 -07:00
Eric House
ec9570ab81
improve drawCell()
2021-03-19 14:26:18 -07:00
Eric House
66a422e2a2
cleanup so building .html works again
2021-03-19 14:26:18 -07:00
Eric House
d620461574
fix so all compile
2021-03-19 14:26:18 -07:00
Eric House
ed274d9835
run naked, and add buttons for hints etc
2021-03-19 14:26:18 -07:00
Eric House
c2b56c8d32
modify to run "naked"
2021-03-19 14:26:18 -07:00
Eric House
656f433d57
snapshot: using alert() and confirm()
2021-03-19 14:26:18 -07:00
Eric House
3c791b0f3c
git confirm working
2021-03-19 14:26:18 -07:00
Eric House
1d87c3facd
snapshot: tile dragging works, timers don't
2021-03-19 14:26:18 -07:00
Eric House
9b4328d6dc
snapshot
2021-03-19 14:26:18 -07:00
Eric House
a047a9c865
start changing colors
2021-03-19 14:26:18 -07:00