Eric House
|
5d32fce43e
|
don't allocate new Runnable on every draw
|
2014-03-20 05:18:40 -07:00 |
|
Eric House
|
673ab53a61
|
go back to extending XWListAdapter
|
2014-03-20 05:11:52 -07:00 |
|
Eric House
|
3717035150
|
include number to be deleted in comfirm message
|
2014-03-19 22:56:17 -07:00 |
|
Eric House
|
c7818bd364
|
build query a bit more effeciently
|
2014-03-19 22:52:33 -07:00 |
|
Eric House
|
38fe8ec3fd
|
invalidate menubar when might change
|
2014-03-19 22:39:21 -07:00 |
|
Eric House
|
426e939b61
|
hook up onClick to launch lookup
|
2014-03-19 22:25:14 -07:00 |
|
Eric House
|
64a5aab456
|
hook up long click to [de]select
|
2014-03-19 21:36:49 -07:00 |
|
Eric House
|
fd817a98da
|
implement menus, including adding crappy placeholder icons
|
2014-03-19 21:29:20 -07:00 |
|
Eric House
|
aa6fbf8605
|
snapshot on the way to making studylists editable: add checkbox to xwlistitem. It's to be an alterative to long tap to select. Implement selectAll and deselectAll.
|
2014-03-19 20:42:29 -07:00 |
|
Eric House
|
e7708ef439
|
fix NPE when serializing
|
2014-03-19 20:17:53 -07:00 |
|
Eric House
|
c333e561af
|
use a global enum for DlgDelegate actions -- should be no real code change
|
2014-03-18 06:06:21 -07:00 |
|
Eric House
|
12e77e8c47
|
get rid of three Utils.format calls
|
2014-03-17 08:20:43 -07:00 |
|
Eric House
|
a5f0c797bb
|
use one message for deletion of groups, whether one or many
|
2014-03-17 07:45:09 -07:00 |
|
Eric House
|
37b2458140
|
add number being reset to message
|
2014-03-17 06:56:10 -07:00 |
|
Eric House
|
cb5bb00ef0
|
remove LookupActivity
|
2014-03-14 19:21:31 -07:00 |
|
Eric House
|
94a838d88e
|
give lookup alert a title
|
2014-03-14 18:55:06 -07:00 |
|
Eric House
|
be440c8abf
|
try, again, making lookup dialog an alert rather than an activity. It's a much better experience on a nexus 5 but I've lost my records of why I made it an activity in the first place -- what phones it sucked on as an alert. Still probably doesn't bundle itself correctly and is missing a title.
|
2014-03-14 18:41:54 -07:00 |
|
Eric House
|
d4930e157b
|
make method private
|
2014-03-14 07:12:53 -07:00 |
|
Eric House
|
ea189c5717
|
turn study lists on by default
|
2014-03-14 06:45:17 -07:00 |
|
Eric House
|
94d9a03d51
|
add enum to hold all dialogIDs so they're forced to be unique across the app. (The diff's big but there's no behavior change.)
|
2014-03-14 06:37:32 -07:00 |
|
Eric House
|
1ee16ca09d
|
remove unnecessary import
|
2014-03-11 22:01:30 -07:00 |
|
Eric House
|
640837f318
|
up strings for new release
|
2014-03-11 19:16:41 -07:00 |
|
Eric House
|
dee75f5a0a
|
don't ref dicts from dmgr_get()
|
2014-03-10 21:50:06 -07:00 |
|
Eric House
|
f601f2bf57
|
use dictmgr in java. This requires jni globals that live across boards being opened and that include a mempool dicts will be allocated out of. Seems to work, and to get ref counts as high as 6 or so before they drop down to one when all boards are closed. (The final is held by the dictmgr which won't give it up until the app itself is GC'd)
|
2014-03-10 19:14:59 -07:00 |
|
Eric House
|
a2671f5ef0
|
add global mempool that can survive individual games, and include it every game's globals. Use it instead of game's mempool to create dictionaries so they can outlive a game and not trip asserts on pool delete. Wrap dicts in a java class that refcounts them when BoardCanvas wants to keep one so that, I hope, the bug using a deleted dict will go away.
|
2014-03-09 14:46:33 -07:00 |
|
Eric House
|
9f5d470c07
|
no need for final
|
2014-03-09 14:39:18 -07:00 |
|
Eric House
|
9d9c822bb8
|
save, commented out, how to call the contstructor of a nested class -- in case I go back to doing things that way.
|
2014-03-09 14:23:24 -07:00 |
|
Eric House
|
a7c114e3f9
|
refcount dicts. Model "owns" its copy and so increments the refcount when gaining one and decrements the count on any being replaced (and on all on exit). This is setting up the real change, which is to let the java world wrap dicts in objects that hang onto them until they're destroyed, which should fix problems where dicts are referenced after they've been destroyed.
|
2014-03-08 20:57:27 -08:00 |
|
Eric House
|
e0c17c50b3
|
catch off-thrown exception. This should prevent a crash, but the fix is probably to figure out why it's happening -- later.
|
2014-03-08 12:55:46 -08:00 |
|
Eric House
|
fb7c1682b4
|
tweak string
|
2014-03-07 19:10:06 -08:00 |
|
Eric House
|
3b971e0153
|
tweak build timestamp format
|
2014-03-06 22:11:13 -08:00 |
|
Eric House
|
c31c9cb365
|
don't show resend menuitem unless there are moves to resend
|
2014-03-06 07:43:20 -08:00 |
|
Eric House
|
c982fb54d9
|
up strings and notes for new release
|
2014-03-06 06:47:43 -08:00 |
|
Eric House
|
3daa877bee
|
Send from resend asyncTask using factored-out code in CommsTransport. Works for SMS at least.
|
2014-03-05 07:15:34 -08:00 |
|
Eric House
|
923ac6db98
|
show loadDB menuitem only when nothing's selected
|
2014-03-05 06:37:02 -08:00 |
|
Eric House
|
45ace48490
|
tweak string
|
2014-03-05 06:32:03 -08:00 |
|
Eric House
|
bcfd27ee7f
|
don't crash when there's a SMS game with pending messages
|
2014-03-04 21:38:22 -08:00 |
|
Eric House
|
5ebbf87c24
|
don't kick off async task if there's nothing to send
|
2014-03-04 21:13:23 -08:00 |
|
Eric House
|
811be34a20
|
remove logging
|
2014-03-04 21:12:40 -08:00 |
|
Eric House
|
cfee7ef8ac
|
resend all messages from the network change broadcast receiver itself instead of GamesList, which will not be listening if another activity is in front or if the app's in the background.
|
2014-03-04 19:03:39 -08:00 |
|
Eric House
|
3c0b4a899f
|
resend all unacked messages each time we regain network, but only up to four times/hour.
|
2014-03-04 18:36:46 -08:00 |
|
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
|
0a601a73a4
|
(commented out) line to cause ndk to be built without optimization for better source-level debugging
|
2014-03-04 07:07:44 -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
|
56c05869da
|
allow to run from bin directory, which turns out to be useful
|
2014-03-01 12:39:51 -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 |
|