Eric House
|
431b24409f
|
Fix kitkat-only problem where expiring rects are clipped at top and left
|
2014-03-04 07:40:25 -08:00 |
|
Eric House
|
df771f50c4
|
add function that resends all pending (un-ackd, at the comms level) messages for unlocked games and, for testing mostly, a menuitem on the main activity to trigger it. Probably crashes if there's a message for a game connected by other than relay.
|
2014-03-04 07:05:55 -08:00 |
|
Eric House
|
60bce8f22b
|
add menuitems recently added to non-small-devices' menu
|
2014-03-02 20:34:58 -08:00 |
|
Eric House
|
9d174740c8
|
don't show "send pending messages" menuitem when there are none
|
2014-03-01 16:15:35 -08:00 |
|
Eric House
|
386c28e596
|
don't notify network change listeners unless a change is in fact a change and until there's been two seconds without changes. There's a lot of connection up-and-down spam when connecting and maybe with iffy connectivity, and no point in passing that through to code that will do stuff like stopping a send thread in response.
|
2014-03-01 15:17:14 -08:00 |
|
Eric House
|
23638310bc
|
register for net state changes, and toast/log on debug builds. This is toward resending from all games with packets pending on reconnect.
|
2014-03-01 14:59:17 -08:00 |
|
Eric House
|
c1e22dd3cf
|
add summary DB column and jni code to fetch it to store and display number of unacked messages a game has. And add debug-only option to display it in the main list. In the future I want to be able to iterate over all these games and resend their packets (without opening them visually) when an internet connection comes back up.
|
2014-02-28 18:59:12 -08:00 |
|
Eric House
|
1d85a74a6c
|
readd old assertions -- and fix compile error
|
2014-02-28 06:47:27 -08:00 |
|
Eric House
|
9a94663fb8
|
log when we drop a message because two possible receiving games are open
|
2014-02-28 06:13:52 -08:00 |
|
Eric House
|
61080e1b62
|
revert changes pausing instead of exiting JNI thread (and so not saving game data) from BoardActivity's onPause() when onFinishing() returned false. This is necessary because there are cases where moves were generated and sent without local state ever being saved because onPause() was called only once on what turned out to be activity termination.
|
2014-02-28 05:57:32 -08:00 |
|
Eric House
|
2f7839f7e0
|
cleanup
|
2014-02-28 04:35:39 -08:00 |
|
Eric House
|
5274a803b2
|
move menuitem
|
2014-02-27 19:13:22 -08:00 |
|
Eric House
|
29d08b95ce
|
expose comms_getStats() via a debug-build-only menu and dialog
|
2014-02-26 21:41:49 -08:00 |
|
Eric House
|
1f9a4180e8
|
remove misleading comments
|
2014-02-25 07:56:22 -08:00 |
|
Eric House
|
fc799449e9
|
save game and summary in a synchronized block so lock doesn't get released halfway through
|
2014-02-24 21:50:17 -08:00 |
|
Eric House
|
a72932486b
|
toward having networking and activity swaps work without fully
shutting down the game in onPause(): use pause() and resume() to
suspend the jnithread when the game's been unlocked.
|
2014-02-13 19:29:35 -08:00 |
|
Eric House
|
7c45e3c5b3
|
add pause() and resume()
|
2014-02-13 19:26:09 -08:00 |
|
Eric House
|
1e30582c3b
|
more logging
|
2014-02-13 07:50:21 -08:00 |
|
Eric House
|
802e798180
|
refactor
|
2014-02-13 06:44:57 -08:00 |
|
Eric House
|
89435fc688
|
fix to compile
|
2014-02-13 06:40:39 -08:00 |
|
Eric House
|
b3cce8c535
|
reduce verbosity and add info to GameLock logging
|
2014-02-13 06:33:30 -08:00 |
|
Eric House
|
44e52278a4
|
remove unused method
|
2014-02-12 07:52:39 -08:00 |
|
Eric House
|
218d232798
|
add dictNames() variant that takes a GameLock
|
2014-02-12 07:35:49 -08:00 |
|
Eric House
|
c0e7c0bf88
|
only log stack for first and last attempts to get lock
|
2014-02-11 22:11:16 -08:00 |
|
Eric House
|
80c3374728
|
add build timestamp to about dialog (needs better formatting)
|
2014-02-10 19:20:35 -08:00 |
|
Eric House
|
339e784d7c
|
fix compile warnings
|
2014-02-10 18:23:03 -08:00 |
|
Eric House
|
daa59ee03d
|
pass Context to CrashTrack
|
2014-02-10 07:14:00 -08:00 |
|
Eric House
|
f27394ca03
|
framework for calling Crashlytics from debug variant
|
2014-02-10 06:53:39 -08:00 |
|
Eric House
|
0d80511a1a
|
remove logging
|
2014-02-09 19:35:35 -08:00 |
|
Eric House
|
b56d990a04
|
go back to overriding onPause and onResume, but don't tear down the game unless isFinishing() returns true
|
2014-02-08 16:50:27 -08:00 |
|
Eric House
|
5e3c26d453
|
track current BoardActivity instance using HashSet rather than single instance since during transitions there can be two. Fixes asserts from recent commit.
|
2014-02-07 21:22:13 -08:00 |
|
Eric House
|
a4e65f667d
|
add ok button to about dialog
|
2014-02-07 07:59:34 -08:00 |
|
Eric House
|
a388351219
|
save/load games in onStop/onStart rather than onPause/onResume so we don't do it as often, and specifically not every time the LookupActivity is pushed. This is an experiment.
|
2014-02-07 07:40:34 -08:00 |
|
Eric House
|
d97784ba13
|
track which dialog is blocking rather than just that there is one
|
2014-02-07 07:38:07 -08:00 |
|
Eric House
|
048ae63802
|
make bad-words reporting dialog blocking so robot doesn't go ahead and move and put its moved dialog up on top of the bad words one before it's dismissed; also change name of string to reflect that it's a format.
|
2014-02-06 07:22:57 -08:00 |
|
Eric House
|
f6a1e06d41
|
create myGames group only on upgrade and only if there are existing games to put into it.
|
2014-02-05 19:46:42 -08:00 |
|
Eric House
|
ca57da44c6
|
fix duplicate column crash when upgrading
|
2014-02-05 19:34:42 -08:00 |
|
Eric House
|
18f31ad9d6
|
up strings for new version
|
2014-02-03 07:42:59 -08:00 |
|
Eric House
|
6dfaf8127f
|
fix reported crash: assertion copying non-network game
|
2014-02-03 07:28:38 -08:00 |
|
Eric House
|
f805d7309f
|
modify emacs compile command to use find-and-ant.sh
|
2014-02-02 11:40:40 -08:00 |
|
Eric House
|
babb02898e
|
credit BRS
|
2014-01-31 18:22:32 -08:00 |
|
Eric House
|
f65b5fda71
|
don't disable button after it's used: feels as if the device is hanging
|
2014-01-31 18:22:21 -08:00 |
|
Eric House
|
b29dcb1d2c
|
add debug-only logging toward figuring out occasional bad-dict crash
|
2014-01-31 07:55:07 -08:00 |
|
Eric House
|
57cd547078
|
remove apparently gratuitous second call to srandom
|
2014-01-31 07:54:43 -08:00 |
|
Eric House
|
dd38543398
|
add toast to confirm that word's been added
|
2014-01-31 07:25:28 -08:00 |
|
Eric House
|
cb574ca156
|
up version strings
|
2014-01-31 07:25:07 -08:00 |
|
Eric House
|
ff2615fbc6
|
Merge branch 'android_studylist' into android_branch
|
2014-01-31 06:43:36 -08:00 |
|
Eric House
|
c40cef2101
|
add newbie tip for studylist copy feature
|
2014-01-30 21:31:14 -08:00 |
|
Eric House
|
426b5b59b2
|
for better discoverability, always show the studylist menus when the feature's on and supply explantions when there's nothing to show
|
2014-01-30 19:16:00 -08:00 |
|
Eric House
|
9dc94c97b2
|
put some of DlgDelegate's methods into an interface that can be passed around to be called by non-activities.
|
2014-01-30 19:14:23 -08:00 |
|
Eric House
|
647282968a
|
hide the label and spinner when there's only one language
|
2014-01-30 08:15:43 -08:00 |
|
Eric House
|
433993a384
|
remove early -- should not have gone out
|
2014-01-30 07:30:34 -08:00 |
|
Eric House
|
3ea86e630d
|
add label before lang-pick spinner
|
2014-01-30 07:12:32 -08:00 |
|
Eric House
|
a8d01f6de2
|
remove mistaken break
|
2014-01-30 07:00:30 -08:00 |
|
Eric House
|
652ce75277
|
add actionbar icon for copy
|
2014-01-30 06:38:03 -08:00 |
|
Eric House
|
f78af55cd1
|
disable add-to-list button after adding so there's feedback
|
2014-01-30 06:26:40 -08:00 |
|
Eric House
|
8e3cbdc1e3
|
Merge branch 'android_branch' into android_studylist
|
2014-01-29 21:56:28 -08:00 |
|
Eric House
|
32ecd1d026
|
more studylist: add lookup-on-tap, show language in title bar, and add
menuitem to board menu too
|
2014-01-29 19:37:04 -08:00 |
|
Eric House
|
11767a41e4
|
show toast on successful paste
|
2014-01-29 07:49:57 -08:00 |
|
Eric House
|
21f2936e87
|
confirm before deleting all words
|
2014-01-29 07:43:45 -08:00 |
|
Eric House
|
b5d4b6b778
|
implement clear (without warning)
|
2014-01-29 07:36:05 -08:00 |
|
Eric House
|
2520fb4c05
|
add menu and implement copy-to-clipboard
|
2014-01-29 07:15:25 -08:00 |
|
Eric House
|
d02787f591
|
fix capitalization
|
2014-01-28 18:52:35 -08:00 |
|
Eric House
|
42f35cb3d9
|
populate study list, doing the sorting in the DB query for now
|
2014-01-28 07:48:08 -08:00 |
|
Eric House
|
3f8e456db2
|
populate language chooser
|
2014-01-28 07:15:59 -08:00 |
|
Eric House
|
4421472391
|
add (empty so far) studylist browser and menu to invoke it
|
2014-01-28 06:50:27 -08:00 |
|
Eric House
|
9d19bed3b7
|
add studyListLangCount()
|
2014-01-28 06:32:25 -08:00 |
|
Eric House
|
aab876bf6d
|
remove toast
|
2014-01-27 21:25:22 -08:00 |
|
Eric House
|
49d26dab07
|
rough out UI for adding selected or played words to study list DB. Next: add a UI for displaying it etc.
|
2014-01-27 21:24:57 -08:00 |
|
Eric House
|
af035962e6
|
revise release notes; up version code
|
2014-01-27 18:58:41 -08:00 |
|
Eric House
|
b3ebadfde5
|
test for null that should never happen but google play says does.
|
2014-01-25 19:03:22 -08:00 |
|
Eric House
|
e9ffcdbbc5
|
fix, by inspection, NPE reported via Play dev console
|
2014-01-25 18:04:32 -08:00 |
|
Eric House
|
843c6389cf
|
use the same key to set and get bundle item, probably fixing a couple of recent Dev Console-reported crashes.
|
2014-01-25 17:56:15 -08:00 |
|
Eric House
|
4499639d73
|
up version strings
|
2014-01-23 19:46:21 -08:00 |
|
Eric House
|
acb090154d
|
add rate-me menu
|
2014-01-23 19:32:06 -08:00 |
|
Eric House
|
cb9f095d93
|
remove unused variable
|
2014-01-23 07:48:02 -08:00 |
|
Eric House
|
e72beaa265
|
add and use isGooglePlayApp()
|
2014-01-23 07:47:32 -08:00 |
|
Eric House
|
710f9c68ff
|
don't launch intent if null
|
2014-01-23 07:46:58 -08:00 |
|
Eric House
|
1b185d1575
|
use ccache for jni if present
|
2014-01-21 07:20:51 -08:00 |
|
Eric House
|
5ea1a799ec
|
fail if script fails
|
2014-01-20 07:33:16 -08:00 |
|
Eric House
|
af801997ef
|
update name of target SDK version (but not the version itself)
|
2014-01-07 07:19:47 -08:00 |
|
Eric House
|
633a9d190a
|
up copyright for the new year
|
2014-01-07 07:07:22 -08:00 |
|
Eric House
|
e34cc9007d
|
fix problems with opening and using wordlists on 64-bit linux by
making XP_U32 32 rather than 64 bits. Duh. Do same on Android jni just
in case.
|
2014-01-07 06:58:20 -08:00 |
|
Eric House
|
29d5cc5d13
|
fix crash when incoming sms invite includes an apostrope in the room
name -- by using rawQuery()
|
2013-12-28 11:30:49 -08:00 |
|
Eric House
|
d25e20221b
|
update send success status
|
2013-12-06 08:00:16 -08:00 |
|
Eric House
|
be28630109
|
pass dict with bt invite and otherwise catch up with how invites work.
Can now invite and play a game.
|
2013-12-05 07:31:17 -08:00 |
|
Eric House
|
0c15a0000e
|
pass package to script so can work from variants
|
2013-12-04 20:32:15 -08:00 |
|
Eric House
|
ca428d6a63
|
fix NPEs occurring when loading in a games DB (debug feature) whose
groups were different: recreate GameListAdapter and make it correctly
deal with having no group selection data (as that's stored in prefs)
|
2013-12-03 08:30:47 -08:00 |
|
Eric House
|
7c2b3b3d15
|
add clearGroupPositions
|
2013-12-03 08:27:29 -08:00 |
|
Eric House
|
e9efc27d7a
|
toss cache after reading in new DB
|
2013-12-03 07:54:38 -08:00 |
|
Eric House
|
3ccc9ac0f1
|
use auto-generated BuildConstants class instead of my own act-alike
|
2013-12-03 07:15:03 -08:00 |
|
Eric House
|
b5d6c513a6
|
add canUndo to GameStateInfo and use to hide the undo menu
|
2013-12-03 07:06:48 -08:00 |
|
Eric House
|
fdc807ceb8
|
up version strings for new release
|
2013-12-03 06:41:45 -08:00 |
|
Eric House
|
24eb63f109
|
Revert "replace ARGB_8888 with RGB_565 where possible to halve memory"
This reverts commit b7e44195c6 .
|
2013-12-03 06:28:56 -08:00 |
|
Eric House
|
94216a5fb9
|
add canTrade to GameStateInfo, pass through to java world, and use to
determine whether to show trade menuitem
|
2013-12-01 21:53:41 -08:00 |
|
Eric House
|
ace545a682
|
up version strings
|
2013-12-01 21:11:43 -08:00 |
|
Eric House
|
17dcb5c4f0
|
remove comment not meant to be checked in
|
2013-12-01 20:49:38 -08:00 |
|
Eric House
|
a4fe0adb62
|
allow missing items -- since menus are different on different devices
|
2013-12-01 20:40:04 -08:00 |
|
Eric House
|
3e6791c66f
|
remove method and use existing Util static instead
|
2013-12-01 20:32:17 -08:00 |
|
Eric House
|
968b1ba321
|
fix crash on small-screen devices by adding missing menuitem
|
2013-12-01 20:31:35 -08:00 |
|