Commit graph

9283 commits

Author SHA1 Message Date
Eric House
2f5ae51d3f experimental change toward fixing networking stalls: when the cache
thinks the network isn't up, check anyway. Probably needs to be done
on a backoff timer so we aren't checking every few milliseconds....
2015-12-29 07:14:27 -08:00
Eric House
299b8ddc70 assert when hashes don't match. This may be legit, but I need to
understand when it can happen because I think it's the cause of games
failing to communicate in the field
2015-12-29 07:11:05 -08:00
Eric House
78d435c8cc fix what are errors with new compiler 2015-12-29 07:09:50 -08:00
Eric House
ec9f233fdd fix assertion, and up version code since I already uploaded a beta to
google
2015-12-27 20:48:41 -08:00
Eric House
b4d919b3a1 remove logging 2015-12-22 11:46:19 -08:00
Eric House
285dedb75f fix NPE -- by inspection after a logged crash: can't reproduce 2015-12-21 22:31:27 -08:00
Eric House
49caf6505a up strings and changelog for new release 2015-12-21 18:50:04 -08:00
Eric House
7878fd8fcc fix test to hide menu when it'll otherwise cause an array
out-of-bounds exception. Thanks Aidan.
2015-12-21 18:23:41 -08:00
Eric House
3635abb17d changes in players matter for local games too 2015-12-21 18:22:04 -08:00
Eric House
ea4e437e94 fix, by inspection, NPE reported through the Play Store. 2015-12-21 18:21:59 -08:00
Eric House
c48580b4ba generated changes 2015-12-21 18:04:35 -08:00
Eric House
3da798f437 required by prev commit: follow api change to work around marshmallow
address change.
2015-12-21 18:00:41 -08:00
Eric House
f78cd0f656 fix another source of bad/marshmallow addresses, and add asserts to
catch any others.
2015-12-21 18:00:25 -08:00
Eric House
162ab11f12 fix, at least for most cases, Marshmallow change that doesn't let an
app know the BT/Mac addr of its own interface. The new bogus addr is
transmitted in common/ structs, and so sending code need to look up by
name when told to use that address.
2015-12-21 18:00:06 -08:00
Eric House
7cb1714568 fix compile -- new compiler, probably 2015-12-21 17:46:50 -08:00
Eric House
8e4867eccd add some logging about network state 2015-12-21 17:04:40 -08:00
Eric House
6677a3e402 launch networked rematch games on creation, not just local ones 2015-12-21 16:42:54 -08:00
Eric House
f7df11b923 required by prev commit: follow api change to work around marshmallow
address change.
2015-12-21 16:27:11 -08:00
Eric House
7805900c07 fix another source of bad/marshmallow addresses, and add asserts to
catch any others.
2015-12-21 16:26:30 -08:00
Eric House
79e1473bf6 fix, at least for most cases, Marshmallow change that doesn't let an
app know the BT/Mac addr of its own interface. The new bogus addr is
transmitted in common/ structs, and so sending code need to look up by
name when told to use that address.
2015-12-21 15:56:52 -08:00
Eric House
536d220ba7 remove some logging 2015-12-21 15:42:57 -08:00
Eric House
57ba6ab693 remove org.apache.http (as SDK 23 prefers) 2015-12-13 12:17:33 -08:00
Eric House
87c6b3e0fe use an enum for startActivityForResult requestCode to ensure they're
unique across the app.
2015-12-09 06:10:09 -08:00
Eric House
2a3bd60740 supply missing param 2015-12-08 07:15:26 -08:00
Eric House
db9c079356 fix to show files appearing in only one apk 2015-12-05 11:13:13 -08:00
Eric House
4e14477faf script to compare .apk files, meant to aid in confirming that gradle
and ant are producing the same thing.
2015-12-04 21:51:10 -08:00
Eric House
9d42d76ae0 collapse a couple of list-specific classes into their superclasses. 2015-11-24 08:15:27 -08:00
Eric House
87edd09ab6 Cleanup: get rid of ListActivity. Eventually all Activities need to
inherit from FragmentActivity since there's no List-aware equivalent,
so XWListActivity now extends XWActivity and nearly all its methods go
away. getListView() and friends are all I needed to implement --
apparently.
2015-11-24 08:01:16 -08:00
Eric House
e3e4ebd7de changes AS made 2015-11-23 07:51:54 -08:00
Eric House
97f24973e4 Rather than ask player for name on app install, ask every time he
creates a new game (but with a don't-ask-again check to avoid
annoying.) Make changes to DlgDelegate to support.
2015-11-23 07:51:31 -08:00
Eric House
0b0bd02e79 remove logging 2015-11-20 23:15:24 -08:00
Eric House
d468866a01 no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
Eric House
b7b664bee6 rename .apks to match the ant ones, including git revision info 2015-11-18 21:28:56 -08:00
Eric House
dc5b979e8a including .apk signing, and turn on proguard, for release gradle builds 2015-11-18 06:27:11 -08:00
Eric House
e0cb84a332 AS changes -- should I be tracking these files? 2015-11-17 07:37:21 -08:00
Eric House
8626fdf027 refactor: move inline tests for being on emulator into a static method 2015-11-17 07:19:37 -08:00
Eric House
a2e00794fa some stuff AS changed. I hope it stops doing this eventually 2015-11-12 07:30:09 -08:00
Eric House
6d948a33dd name debug .apk using my convention, to include git rev 2015-11-12 07:29:49 -08:00
Eric House
58bf3ba07b Merge remote-tracking branch 'maidu2/android_branch' into android_branch
Conflicts:
	xwords4/android/XWords4/.gitignore
	xwords4/android/XWords4/build.gradle
	xwords4/android/scripts/common_targets.xml
2015-11-11 22:36:19 -08:00
Eric House
aa11bb50de fix to work with modified script 2015-11-11 22:23:39 -08:00
Eric House
2f4fe1de72 some AS changes when run the first time. Source-level debugging of
java works!
2015-11-11 19:04:58 -08:00
Eric House
adbc3615c1 changes to run under gradle 2015-11-11 18:59:00 -08:00
Eric House
ca83f2ab8b add exactly as came from modified sample app 2015-11-11 18:55:24 -08:00
Mario Frasca
0d688ab80e Translated using Weblate (Slovak)
Currently translated at 69.0% (476 of 689 strings)
2015-11-09 21:45:04 +01:00
Eric House
46cb5404d0 fix so debug and release builds have the right setting passed to
ndk-build and keep their .o and .so files separate.
2015-11-06 21:10:45 -08:00
Eric House
9f28e5c350 more gradle improvements. Seems to build a usable .apk, but isn't
doing release/debug right yet.
2015-11-05 20:19:07 -08:00
Eric House
7aff11d7b0 files necessary for a gradle build (untested; need to commit and clone
elsewhere to be sure). I'm not moving things to the conventional
gradle locations yet -- want to keep the ant build working too for
now.
2015-11-04 06:28:57 -08:00
naofum
6a5462194e Translated using Weblate (Japanese)
Currently translated at 100.0% (689 of 689 strings)
2015-11-04 09:44:43 +01:00
naofum
153f6a75c3 Translated using Weblate (Japanese)
Currently translated at 100.0% (689 of 689 strings)
2015-10-31 07:47:53 +01:00
Eric House
5d82636c26 allow using env variables in ant files 2015-10-30 05:42:27 -07:00