Eric House
6787fe1406
fix length byte
2017-10-22 21:29:16 -07:00
Eric House
4583b5d88d
use ! with struct instead of ntohs
2017-10-22 15:47:01 -07:00
Eric House
284888df44
add timeoutSecs param
2017-10-21 12:13:19 -07:00
Allan Nordhøy
ebe594ed1d
Added translation using Weblate (Norwegian Bokmål)
2017-10-19 11:48:34 +02:00
Eric House
7414e0eeae
param should be json array as string
2017-10-18 22:02:14 -07:00
Eric House
3ffef37d77
don't require myKey.py
2017-10-18 21:19:09 -07:00
Eric House
fbaa1f139e
add test method and implement query() endpoint
2017-10-18 21:18:30 -07:00
Eric House
c08be98fda
wip: include multiple packets in reponse json
2017-10-18 07:09:05 -07:00
Eric House
b86ffeb2b9
wip: data gets to relay and response handled
...
A device registers and a game can start. But we don't get to being
able to make a move yet.
2017-10-18 06:53:15 -07:00
Eric House
2dc80ac93f
talk to new python script to interface with relay
...
So far uses curl and json-c to send b64-encoded data to new script
which is able to echo the data. Next that script will need to open a
UDP socket to the relay and return results that appear before timeout.
2017-10-17 21:32:11 -07:00
Andreas Kleinert
b7c72dd1e6
Translated using Weblate (German)
...
Currently translated at 8.4% (62 of 738 strings)
2017-10-17 20:45:54 +02:00
Eric House
6b0fe35c8f
use readFully() rather than read()
...
readFully() blocks; read() can return with less than you expect.
2017-10-16 22:12:35 -07:00
Eric House
927c4f12a0
make tap on thumbnail select/deselect
...
Working around there being a border around the game-type image area.
With this change long-tapping works only on the right 2/3 of the
region. There might be a fix, but it's still better than there being
a hole (the border) in the thing where behavior's different.
2017-10-14 14:31:41 -07:00
Eric House
fd3220c1c2
Merge branch 'android_branch' of github.com:eehouse/xwords into android_branch
2017-10-12 21:15:08 -07:00
Eric House
1e38069b94
update script seen by those without the app installed
2017-10-12 21:14:07 -07:00
Eric House
0a774625a1
cleanup
2017-10-10 20:17:36 -07:00
Eric House
c9a86a23e0
remove GCM-related receiver from shared manifest
...
Duh. The .java file was removed, but the declaration that all apps can
handle an intent (that requires WakeLock they no longer all have) was
not. Should fix crashes I'm seeing.
2017-09-28 20:02:05 -07:00
Eric House
bbffe4caf1
Add assert prior to removing dead (?) code
...
There should no longer be a need for curThis(), but let's confim by
asserting for a while.
2017-09-28 06:51:59 -07:00
Eric House
a3bf942004
fix assertion by not handling Action
...
Was wrong to assert that unexpected Actions never arrived.
2017-09-28 06:51:24 -07:00
Eric House
79e852a9eb
change ID of duplicate menu
...
Board and Games List were using same menuid which meant that even when
chosen from Board's menu it would up getting handled by GamesList (in
dual-pane mode.)
2017-09-28 06:50:16 -07:00
Eric House
d3b9a98518
fix to serve the oldest release newer than current
...
Removing hard-coded list of release .apks in favor of picking them from
the file system based on version code reported by aapt.
2017-09-27 20:39:58 -07:00
Eric House
7b691dfd2f
offer to hide buttons when invoked from action bar
2017-09-26 07:34:54 -07:00
Eric House
604119f99b
stub out GCMIntentService for d variant
...
Somehow the d variant was crashing without the WAKELOCK permission, the
OS having invokes something GCM-related. This should ensure nothing
GCM-related can ever happen.
2017-09-26 07:01:55 -07:00
Eric House
6fa01eb971
move GCM-related permissions into new manifest
...
Create an AndroidManifest.xml specific for the xw4 variant, and move the
GCM-related permissions (including WakeLock) into it.
2017-09-25 06:17:44 -07:00
Eric House
fd7f564e11
add debug menu to copy git info to clipboard
...
Makes it easier to find out what the diffs were.
2017-09-24 14:40:31 -07:00
Eric House
096aa3bd0f
make GCM_SENDER_ID empty for xw4d variant build
...
This seems to fix that app, when built by me where GCM_SENDER_ID's set
in the environment, being a battery hog. Apparently google's code
doesn't handle being passed the wrong senderID very well.
2017-09-24 14:30:59 -07:00
Eric House
9bdf43a89e
remove duplicated BuildConfig entry
2017-09-22 06:55:02 -07:00
Eric House
5dc9327d31
record current git-diff in assets
2017-09-22 06:46:19 -07:00
Eric House
592a6429d4
up changelog and version strings
2017-09-20 06:40:42 -07:00
Eric House
39efbaa7f5
fix timer-draw NPE due to race condition
...
use runOnUiThread()....
2017-09-19 22:09:57 -07:00
Eric House
a328221b63
up version codes for new release
...
I somehow screwed up the last release, but google got the apk so
requires me to change the version number.
2017-09-19 07:46:17 -07:00
Eric House
dc29321b28
change strings for new release
2017-09-13 08:06:08 -07:00
Eric House
e98c25a81a
fix crash by removing assert I didn't need
...
Looks like what I was worried about wasn't an issue.
2017-09-13 07:39:07 -07:00
Eric House
ae25c6e014
fix list item breakage: no inputType for TextView
...
I'd added inputType="text" everywhere I added maxLines="1" but it turns
out that breaks touches being handled at least on some devices. And it
makes no sense to have an inputType for something user can't put into.
2017-09-12 07:56:40 -07:00
Eric House
058d3a7828
try to fix travis: copy over .enc file
2017-09-11 06:47:59 -07:00
Eric House
8efd608ac2
fold in (as diff, not merge) travis config
2017-09-11 06:16:47 -07:00
Eric House
54997f6db2
more EditText fixing
2017-09-07 07:51:57 -07:00
Eric House
2de54a2535
fix script for a gradle world
2017-09-07 07:45:33 -07:00
Eric House
d87a1ca7a8
fix EditText so monkey can't abuse it
...
Several EditText fields are configured so monkey breaks things, e.g. by
entering too much text in the default player name config. Fix. This
probably won't impact users but it lets the monkey tests move on to
other things that might.
2017-09-07 07:36:16 -07:00
Eric House
f161de2977
make menu consistent
2017-09-07 06:15:17 -07:00
Eric House
1ee5afd5cf
add inputType=text to singleline EditTexts
...
Turns out the maxLine="1" thing needs this accompaniment or it'll let
you add carriage returns, as adb monkey found.
2017-09-07 06:13:14 -07:00
Weblate
11368df086
Merge remote-tracking branch 'origin/android_translate' into android_translate
2017-09-06 11:49:19 +02:00
Eric House
6866887438
include last commit in change notes
2017-09-05 19:23:21 -07:00
Eric House
8971837d22
fix crash on Samsung Galaxy Note 3 running 4.4
...
Can't repro on Nexus emulator running 4.4 nor on Samsung running 4.4.4,
but the reporter says this fixes it. And from reading it appears
expecting older devices to load Material themes without an AppCompat
library is wrong.
2017-09-05 19:17:02 -07:00
Eric House
f5e66463f9
up release strings for new version
2017-09-03 14:15:43 -07:00
naofum
406ffca333
Translated using Weblate (Japanese)
...
Currently translated at 73.8% (545 of 738 strings)
2017-09-03 14:15:26 -07:00
Eric House
51ca1777e2
make the have-chat icon green
2017-09-03 13:28:37 -07:00
Eric House
4549c397ae
cleanup
...
don't check standalone games for chat messages
2017-09-03 10:38:54 -07:00
Eric House
2735144515
mark games with unread chat
2017-09-02 12:12:39 -07:00
Eric House
2616891608
remove/replace deprecated singleLine element
2017-09-02 12:12:39 -07:00