Eric House
041385049d
add a bit of space separating explanatory text from spinner
2013-11-30 00:28:43 -08:00
Eric House
b7e44195c6
replace ARGB_8888 with RGB_565 where possible to halve memory
...
footprint of bitmaps
2013-11-29 16:14:18 -08:00
Eric House
dd5aaa41fa
erase full divider rect to fix leftover tile bottom after it's been moved.
2013-11-29 10:21:06 -08:00
Eric House
9f22386bf6
another assert
2013-11-29 10:15:22 -08:00
Eric House
79b60ae895
cleanup
2013-11-29 08:48:13 -08:00
Eric House
60026b6ef2
move BoardDims into jni/
2013-11-29 08:43:34 -08:00
Eric House
26eff37c6b
move BoardDims into jni/
2013-11-29 08:43:21 -08:00
Eric House
69285d46a9
up version strings for release
2013-11-29 07:35:31 -08:00
Eric House
08b72bbc55
add asserts
2013-11-29 07:35:13 -08:00
Eric House
d3ce4aa4c7
fix NPE: jniThread gets turned to null sometimes, so test
2013-11-29 07:26:30 -08:00
Eric House
2dd56d08af
tweak string
2013-11-29 07:15:47 -08:00
Eric House
991c042e78
add newbie warning against using Firefox for wordlist downloads.
2013-11-28 19:01:07 -08:00
Eric House
6a6e5b2f4f
script to ... fetch screenshots
2013-11-28 11:42:07 -08:00
Eric House
69e050c8de
remove linefeeds; add synonyms
2013-11-27 17:14:38 -08:00
Eric House
11bde2b7fd
remove logging
2013-11-27 07:10:08 -08:00
Eric House
07a0e0ed93
fix crash: make thumbnail BEFORE closing game
2013-11-27 07:10:00 -08:00
Eric House
83bd5f773c
take snapshot after feeding background messages to game, which
...
required making snapshotting code work with a Context rather than a
full Activity. Untested with network play as the net's down now.
2013-11-27 06:09:49 -08:00
Eric House
f50badc428
rename script
2013-11-26 08:06:53 -08:00
Eric House
66eb96dce2
notify BoardCanvas when we're closing a game so that it won't try to
...
use, in callback on UI thread, a dict that may no longer be valid.
Theory is this is why I'm seeing odd crashes in the jni.
2013-11-26 08:06:38 -08:00
Eric House
8976d26f00
clear thumbnail after resetting game
2013-11-26 08:04:30 -08:00
Eric House
29a4634a40
add assertOnUIThread()
2013-11-26 07:59:20 -08:00
Eric House
15cbad340a
clear thumbnail after processing background move so it'll get redrawn.
...
Better would be to just draw it since the game is already open, but
that takes more changes.
2013-11-25 08:08:04 -08:00
Eric House
d02bbf2d50
up version strings
2013-11-25 08:03:57 -08:00
Eric House
42800851d3
combine thumbnail prefs to reduce nesting
2013-11-25 07:58:11 -08:00
Eric House
0b00f303bb
cleanup after code review
2013-11-25 07:46:25 -08:00
Eric House
538fa20ffd
fix broken deleteGroup()
2013-11-25 07:45:43 -08:00
Eric House
2491051f65
don't require NFC
2013-11-25 05:52:09 -08:00
Eric House
8260fb1437
fix NPE on older phones
2013-11-24 18:13:54 -08:00
Eric House
7743fc52d5
fix assertion: rowid of -1 means all
2013-11-24 18:13:36 -08:00
Eric House
97fbbf8897
changelog for next release
2013-11-23 15:33:08 -08:00
Eric House
478ed9a12a
change method name
2013-11-23 15:32:58 -08:00
Eric House
ba181221dd
select newly created game too on return of focus
2013-11-23 12:17:42 -08:00
Eric House
7876e2cded
use constant
2013-11-23 12:17:21 -08:00
Eric House
f85bb082fc
optimization: return null quickly if param is invalid
2013-11-23 12:16:38 -08:00
Eric House
6f4cb4b0ca
fix (I hope) OOM errors when there are a ton of games by doing
...
snapshot creation and loading sequentially on a single thread so that
peak memory consumed by bitmap operations is lower. Remove snapshots
from GameSummary: the db is the only source now.
2013-11-22 22:58:39 -08:00
Eric House
d2c87647cd
reverse test so games db can be loaded
2013-11-22 18:51:42 -08:00
Eric House
85a49885fb
sum percentages as sanity check
2013-11-22 18:51:17 -08:00
Eric House
14fa77cf2d
remove blank lines
2013-11-22 18:51:04 -08:00
Eric House
9a5408f5db
first cut at script to build new, larger wordlist from sourceforge
...
scrabble wordlist project
2013-11-21 19:20:56 -08:00
Eric House
25144b8e82
script to push a .xwd file onto a device -- or mine anyway
2013-11-21 19:20:23 -08:00
Eric House
f2ff596ff3
fix NPE by checking
2013-11-21 18:57:58 -08:00
Eric House
9820f6bf6b
set selection on children being reused
2013-11-21 18:57:32 -08:00
Eric House
4748d9f459
create groups opened
2013-11-21 08:08:44 -08:00
Eric House
ec2fb210be
on return from opening a game, select that game after clearing the selection
2013-11-21 08:00:59 -08:00
Eric House
8be57116ab
revert previous change: the right way to save selections is to add
...
screenSize to the list of changes handled so that Activities aren't
recreated each time, so do that instead.
2013-11-21 07:34:38 -08:00
Eric House
03b7a6d45f
preserve selection across orientation changes
2013-11-21 07:10:36 -08:00
Eric House
f88e7a89f0
tweak text
2013-11-21 06:47:00 -08:00
Eric House
75d9752024
use "pct." to indicate what thumb scale choices mean. '%' triggers a
...
known crasher in Android.
2013-11-21 06:44:19 -08:00
Eric House
7be3a3bef8
express thumb size as percent of screen with options, generated, in 5%
...
increments.
2013-11-21 06:27:09 -08:00
Eric House
b874406b7b
add newbie message about how NFC works
2013-11-21 05:53:38 -08:00
Eric House
c42271ee31
fix NPE
2013-11-21 05:26:45 -08:00
Eric House
08205637de
disable SMS play/invite on KitKat (until workarounds found)
2013-11-21 05:26:12 -08:00
Eric House
2d7c845ebb
Merge remote branch 'origin/android_branch' into android_branch
2013-11-21 05:25:23 -08:00
Eric House
8de638a047
update explaining kitkat
2013-11-21 05:24:36 -08:00
Eric House
24e015f259
don't make snapshots for non-expanded game list items; make when first
...
expanded instead.
2013-11-20 08:15:18 -08:00
Eric House
2e5e10ef6d
move dialog asking to enable NFC into NFCUtils, and use it when
...
creating a new game to be invited via (disabled) NFC
2013-11-20 07:56:05 -08:00
Eric House
5f7242f01b
tweak string
2013-11-20 07:34:11 -08:00
Eric House
b1ae563ae6
fix NPE when installed with existing SMS invites in inbox
2013-11-20 06:54:51 -08:00
Eric House
51a561077c
when action-bar-equipped device tries to hide title bar warn and then
...
disable pref.
2013-11-19 07:22:14 -08:00
Eric House
63ba7d45d3
use gameID as inviteID for non-NFC invites too
2013-11-19 06:37:39 -08:00
Eric House
0cef5fce50
display gameid as hex
2013-11-19 06:26:07 -08:00
Eric House
9fa715f096
add German to what thefreedictionary.com can look up
2013-11-19 05:42:00 -08:00
Eric House
45fcd19e6e
use gameID as inviteID, so that all devices in a game will be using
...
the same gameID -- and use that to reject as duplicates attempts to
use the same invitation more than once.
2013-11-18 21:38:59 -08:00
Eric House
d7239323bc
add gameid as option for what's shown in summary (debug only)
2013-11-18 07:25:40 -08:00
Eric House
6d06197c45
hide trade menuitem when board's in invite mode
2013-11-18 06:48:12 -08:00
Eric House
7ff9496d23
remove some logging
2013-11-18 06:33:59 -08:00
Eric House
03f532374b
put up NFC button even if turned off, and when it's used offer to turn
...
it on.
2013-11-18 06:27:24 -08:00
Eric House
37083c3ea1
fix menu titles -- were reversed
2013-11-18 06:17:26 -08:00
Eric House
3278b55819
return whether NFC *can* be enabled as well as whether it is
2013-11-17 21:21:06 -08:00
Eric House
e701af7262
tweak text
2013-11-17 21:18:33 -08:00
Eric House
0cc45ad865
add new field canHideRack to GameStateInfo and use it to disable menu.
2013-11-17 13:54:21 -08:00
Eric House
cae89a60a8
include hint in subtitle
2013-11-16 18:31:32 -08:00
Eric House
14c7b7370a
fix layout bug where board overlapped tray
2013-11-16 18:31:14 -08:00
Eric House
46a5f83bb1
shrink "netstat rect" to reasonable size
2013-11-16 18:25:09 -08:00
Eric House
0bf28c133d
always have board ready to send invite via NFC
2013-11-16 09:03:17 -08:00
Eric House
deff81cfd1
move query setup outside of synchronized blocks where possible
2013-11-16 06:30:34 -08:00
Eric House
f303fa2653
debug features and logging are always on/available for debug builds
2013-11-15 20:52:05 -08:00
Eric House
088dd1bd75
center board when it must be narrower than screen
2013-11-15 20:46:22 -08:00
Eric House
c0f6f6a959
don't enable delete menu when default group is among those selected
2013-11-15 19:14:51 -08:00
Eric House
e4e0f57676
put up different help text depending on whether user has buttons or
...
menus (since the text mentions them)
2013-11-15 19:02:13 -08:00
Eric House
d461268b8c
tweak newbie hint
2013-11-15 18:44:11 -08:00
Eric House
d8ea672f6c
now that getDefaultNewGameGroup works, allow/pass undefined group
...
further down where appropriate
2013-11-15 07:53:57 -08:00
Eric House
cd922ba8e2
fix getDefaultNewGameGroup to use a (new) DBUtils method that actually
...
works.
2013-11-15 07:47:14 -08:00
Eric House
3ba470573d
when there's no default new-game group, get *some* group from the DB
...
and make that the default, with caution to avoid any -1==groupID games
saved by previous buggy versions
2013-11-15 06:50:34 -08:00
Eric House
edadc962f8
rename generated file; set logging on by default for debug builds
2013-11-14 21:56:37 -08:00
Eric House
8488dc1055
script to fetch db from sd card
2013-11-14 21:56:37 -08:00
Eric House
5f346d94b0
scp automatically if the right ENV variable is set
2013-11-14 21:56:37 -08:00
Eric House
b5bec1e2cd
ignore valgrind core files
2013-11-14 21:48:06 -08:00
Eric House
53748e352a
fix games created after reset of prefs from disappearing: they were
...
being saved with groupid of -1, so now when the default's not been sit
choose and pass in the first group.
2013-11-14 21:47:01 -08:00
Eric House
5826f080be
don't hide titlebar for board if there's no menu key, since on such
...
devices there's no other way to get to the menu.
2013-11-14 08:07:00 -08:00
Eric House
85a533c74f
use interface trick to avoid NFC code crashing on 2.1
2013-11-14 08:03:28 -08:00
Eric House
7d1a1228f0
fix bug where scrolling used when shrinking would suffice
2013-11-14 06:56:11 -08:00
Eric House
bdf5a43686
always update nMissing so invite menuitem can go away
2013-11-14 06:19:04 -08:00
Eric House
e20a72e527
remove and turn off active rect stuff
2013-11-14 05:59:51 -08:00
Eric House
4d6a37b048
don't force NFC messages to ascii -- it breaks special chars and isn't
...
required, even with special chars.
2013-11-14 05:46:47 -08:00
Eric House
e9bdf3c4f8
don't show trade buttons when have actionbar since they're redundant
...
and the AB icons are visible; hide resign menuitem when in trade mode.
2013-11-13 19:00:34 -08:00
Eric House
3b5bc3a786
fix OOB per http://stackoverflow.com/questions/12133404/indexoutofboundsexception-in-a-baseexpandablelistadapter-implementing-sectionind
2013-11-13 18:39:03 -08:00
Eric House
2fbf0fca50
up sdk version
2013-11-13 07:55:41 -08:00
Eric House
64b783da38
ignore generated file
2013-11-13 07:52:52 -08:00
Eric House
263a4d7170
move action bar stuff into its own class; in wordlist browser, show
...
only one of download button and download menu
2013-11-13 07:42:51 -08:00