Commit graph

12189 commits

Author SHA1 Message Date
Eric House
f6414998c8 show in toast how many .apk files need deleting
I'll delete them later
2020-09-01 17:08:24 -07:00
Eric House
10cf96aa46 remove redundant intent opening
This might be the reason there are sometimes two windows getting opened.
2020-09-01 16:06:21 -07:00
Eric House
07704969af get rid of wordlist numbering even for DEBUG 2020-09-01 14:50:38 -07:00
Eric House
e0d291ae0e open wordlists browser even without Storage permission
and add a na-key to rationale for storage permissions so don't
ask forever when user wants to decline.
2020-09-01 14:48:08 -07:00
Eric House
b5bc784431 make filter config scrollable
If you're using a monster font and have the keyboard up you might not be
able to touch the "apply filter" button without dismissing the
keyboard. (Hi Deb :.) So make it possible to scroll it into view. Won't
ever become scrollable for most people, and seems to play well with the
scrolling wordlist regardless.
2020-09-01 12:13:40 -07:00
Eric House
783b4efdeb fix to compile on non-cutting-edge glib 2020-08-31 18:33:20 -07:00
Eric House
d9f54181a3 tweak a couple of na-tutorial strings 2020-08-31 18:27:20 -07:00
Eric House
58dfc32a6e use new glib datetime api (replaces deprecated) 2020-08-31 17:17:52 -07:00
Eric House
53563236e4 offer to open game when rejecting invite as dup 2020-08-29 17:17:49 -07:00
Eric House
46752af0cd have release build check daily for upgrades
(Applies to github and sourceforge releases only)
2020-08-29 16:56:08 -07:00
Eric House
a0beecafc3 Don't accept invitation again for same channel
Do away with debug setting to accept duplicate invitations. Change
definition of duplicate to mean specifying a channel and gameID that
already exist. So now send-to-self works without a debug
preference. Accidentally clicking on the same emailed invite twice will
still be blocked. There will be problems if a game's been deleted but
those have probably always been here.
2020-08-29 16:11:24 -07:00
Eric House
42575f1380 cleanup: never return null 2020-08-29 13:38:32 -07:00
Eric House
34d5ef291c save downloaded .apks in private dir
Don't need File permission now. Files will pile up unseen now,
so need to add delete logic eventually.
2020-08-28 12:21:46 -07:00
Eric House
99f0c09d06 make params private so can't assign without check
All array elems must be Serializable and I want to check in Debug
builds when new uses are added.
2020-08-28 12:21:29 -07:00
Eric House
a580335fea remove obsolete method 2020-08-28 09:58:28 -07:00
Eric House
20766631d5 remove crashlytics
Hadn't worked in a while anyway. There's a replacement I can add
separately when it makes sense.
2020-08-28 09:17:23 -07:00
Eric House
5e2122d81b add to change log 2020-08-28 08:35:26 -07:00
Eric House
73b6d0519f fix NPE
There was a way to get to the sender before its handler had been
initialized. That can only happen on UI thread, so just drop the send
rather than figure out a better way (for now).
2020-08-28 08:32:23 -07:00
Eric House
193383bfa6 don't use newer API for gratuitous animation
Fixing NoSuchMethod exception from play store
2020-08-28 08:26:41 -07:00
Eric House
22582f247d work around fast-scrolling eating taps for nearby objects
As happened with expander arrows on the right when I turned on fast
scrolling, the on-left-side scrollbar was preventing selecting rows when
there were enough list elements for fast scrolling to be enabled. So use
a listener to turn it on only after the user starts to scroll. And move the
bar back to the right side since that's where people expect it.
2020-08-27 22:55:25 -07:00
Eric House
5998132d4b fix standalone hang introduced by 15f95b52a 2020-08-27 19:47:10 -07:00
Eric House
942604e2bd up version strings and changelog 2020-08-27 12:36:54 -07:00
Eric House
adacee5503 tweak player edit layout (add margins) 2020-08-27 12:36:54 -07:00
Eric House
02287b8909 tweak to display more info
Script still needs a ton of work to be useful
2020-08-27 11:39:43 -07:00
Eric House
f9ceacdfa7 remove warning about setting room name 2020-08-26 21:28:00 -07:00
Eric House
15f95b52a9 hack to recover from stalled by-room-name games 2020-08-26 13:04:02 -07:00
Eric House
5c150d2f58 don't save isServer in comms
Pass it in so don't have to keep two state locations in sync
2020-08-25 22:27:43 -07:00
Eric House
19f4ebc727 add advisement not to use connect-by-room-name 2020-08-25 19:18:26 -07:00
Eric House
b641be30e7 tweak string 2020-08-25 17:00:55 -07:00
Eric House
14cad646e3 don't crash when setTitle called with id of 0 2020-08-25 15:54:33 -07:00
Eric House
b0f7176b6c fix relay game failure to change roles
If a configured-as-host game joined an existing game the relay would
make it a guest. The android util_ callback for that change was only
implemented in BoardDelegate and so the change was dropped unless the
game was open/visible. Because comms recorded the change, though, the
callback would never be called again and so the game never learned to
behave as a guest and never registered: permanent failure to join game!
Implemented with a new server state so initClientConnection can be
called from server_do() instead of inside comms while processing an
incoming packet.
2020-08-25 14:53:33 -07:00
Eric House
15fde8044f make server_initClientConnection() make its own stream 2020-08-25 14:53:28 -07:00
Eric House
da639af7c3 change what must be a mistaken assert 2020-08-25 08:25:44 -07:00
Eric House
1534298422 up client version
There's no change that matters, but on relay I want to see the upgrade
rate.
2020-08-25 08:24:30 -07:00
Eric House
b1f6ac7088 changelog 2020-08-24 17:02:49 -07:00
Eric House
d10d2597d4 add logging; cleanup
I'm chasing a relay problem that's hard to repro and need more info when
it's happened. (These won't show up in shipping builds.)
2020-08-24 17:02:49 -07:00
Eric House
a7acc37395 adding logging 2020-08-24 12:10:25 -07:00
Eric House
7cb2560b2d restore some default after download cancelled
Don't leave the text "download more" as the spinner's value when
onActivityResult() is called with a cancel.
2020-08-24 08:52:10 -07:00
Eric House
99d47fd067 log number of channels 2020-08-23 20:09:21 -07:00
Eric House
2d00a3e30f systemd file to run the fcm loop 2020-08-23 20:08:15 -07:00
Eric House
55c50ca8b6 don't try to send via mqtt when to dest address 2020-08-23 19:08:29 -07:00
Eric House
3f92b879de change player name when [un]made a robot 2020-08-23 14:18:41 -07:00
Eric House
12e8328e83 remove password edit in usual cases
Keep it around only where there's more than one local player
2020-08-23 14:06:29 -07:00
Eric House
587735f607 make gameID's random
using current clock might lead to conflicts
2020-08-23 09:08:40 -07:00
Eric House
60e7bb21fb Merge branch 'android_translate' of github.com:eehouse/xwords into android_translate 2020-08-23 08:44:45 -07:00
Eric House
0f61a6d9f4 pass and use mqttid in game-connection code
To avoid inviteless relay games not having an mqtt channel (and so
yielding a crappy experience) pass the mqtt devid when device registers
and when server replies with all-here.
2020-08-23 08:34:12 -07:00
Eric House
bd53824d95 replace assert fail with message rejection
Some relay bug (I think) misroutes or duplicates packets. Don't assert
as that means test scripts fail to finish. Instead drop the
message. Scripts seem to recover ok with this change and I've never seen
the assert on a device so suspect it's test-world only
2020-08-23 08:22:21 -07:00
Eric House
97e7a4de69 use https for changelog
won't load on newer Android versions otherwise
2020-08-22 20:33:03 -07:00
Eric House
dc7064a168 fix bug resulting in invitation droppage
Recent changes in how nli address sets were stored led to rejecting
incoming invitations when BT had been removed (e.g. on emulator) because
I didn't notice the removal when validating.
2020-08-22 12:36:31 -07:00
Eric House
f8f3082c0f fix NPE introduced by 458872c88 2020-08-21 17:58:45 -07:00