Eric House
64b89536b0
Test whether game is on device before starting process of opening it.
...
Fixes problem caused by relay sending messages for games that have
been deleted.
2013-07-30 07:43:52 -07:00
Eric House
4ce2368e90
remove unused variable and functions that set it
2013-07-30 07:35:13 -07:00
Eric House
b40533230a
fix OS warning by unregistering SMS receivers in onDestroy
2013-07-29 07:50:01 -07:00
Eric House
d8a4b5ce29
include udp maxInterval, the number of seconds the relay's configured
...
to assume an address is still good when it hasn't heard from it, in
reg response reply, send that reply always, and read and log the new
field on clients. It will eventually be used to implement a
keepalive.
2013-07-29 07:27:30 -07:00
Eric House
27d9f3de45
Don't enable chat when more than 128 messages are in queue to prevent
...
an extremely unlikely cause of stalls -- and make tests trip over full
queues less often.
2013-07-18 07:37:45 -07:00
Eric House
bf39f9194c
kill service after 3 minutes of no socket activity
2013-07-17 06:42:54 -07:00
Eric House
3d9539b42b
don't stop comms before every save, but only when stopping
2013-07-16 08:06:23 -07:00
Eric House
5571816339
enable udp by default
2013-07-16 08:05:46 -07:00
Eric House
403401745e
network connection stuff must not be run on main/UI thread, so to
...
preserve socket connection completing before startup of read and write
threads, move it and start of write thread to beginning of read
thread.
2013-07-16 08:01:59 -07:00
Eric House
b7e00bfc0c
log when unable open game based on rowid -- which may happen if
...
e.g. relay is sending packets to wrong device.
2013-07-16 07:56:56 -07:00
Eric House
cd728853b9
check for case where rowid doesn't exist (rather than NPE)
2013-07-15 07:51:15 -07:00
Eric House
a522266ce4
add message checksumming for android too by making it part of util
...
(compiled out by default)
2013-07-10 08:05:47 -07:00
Eric House
d50c808f96
Merge branch 'android_branch' into gtk_multigame
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java
xwords4/common/comms.c
xwords4/linux/cursesmain.c
xwords4/linux/cursesmain.h
xwords4/linux/gtkmain.c
xwords4/linux/gtkmain.h
xwords4/linux/linuxmain.c
xwords4/linux/main.h
xwords4/linux/scripts/discon_ok2.sh
xwords4/relay/xwrelay.cpp
(Note: The curses app crashes on exit with mempool assertions, but that's a problem before the merge.)
2013-07-09 07:18:00 -07:00
Eric House
db26c32c3e
revert accidental part of commit
2013-07-08 07:14:42 -07:00
Eric House
7d968f8502
target is now hard-coded since I reliably can't derive it from the
...
manifest file.
2013-07-08 07:13:48 -07:00
Eric House
7e36171046
add comment
2013-07-08 07:13:04 -07:00
Eric House
11994d06f8
quote variable to make shell happy
2013-07-08 07:09:03 -07:00
Eric House
e7d20fd2a3
change API version configured by build script to be what I'm using now
2013-07-08 07:03:57 -07:00
Eric House
008cce8f37
Revert "pass additional param into java world so don't show toast every time connect to relay"
...
This reverts commit e9615cb154
.
2013-07-08 06:30:26 -07:00
Eric House
bb68b25429
remove suggestion I don't have permission to use icons!
2013-07-07 19:53:12 -07:00
Eric House
e9615cb154
pass additional param into java world so don't show toast every time connect to relay
2013-07-07 13:31:49 -07:00
Eric House
0f104db88c
list another change
2013-07-07 13:07:12 -07:00
Eric House
2c5ac1c293
remove excess logging
2013-07-07 13:07:02 -07:00
Eric House
fb32c847ae
more changes from translator
2013-07-05 21:37:38 -07:00
Eric House
7419e3506a
add missing string to translation
2013-07-05 06:19:28 -07:00
Eric House
cd1886a751
changes from translator
2013-07-04 20:46:59 -07:00
Eric House
3f2548dcce
Merge branch 'fix_tablets' into android_branch
...
Conflicts:
xwords4/android/XWords4/res/raw/changes
2013-06-27 08:04:03 -07:00
Eric House
4a49c49e87
changes for second tablet fix release. This time I've confirmed they
...
work on the google store.
2013-06-27 07:58:02 -07:00
Eric House
79293503fd
Merge branch 'from_beta_60' into android_branch
...
Conflicts:
xwords4/android/XWords4/AndroidManifest.xml
xwords4/android/XWords4/project.properties
xwords4/android/XWords4/res/raw/changes
2013-06-25 21:25:03 -07:00
Eric House
8cb89976cb
new quickie release to fix Play Store filtering out devices without
...
phones -- or so I think. Make SMS optional, and up version strings.
2013-06-25 21:14:14 -07:00
Eric House
ed1e2a0812
fix formatting -- no code change
2013-06-05 21:14:51 -07:00
Eric House
00be532c96
fix formatting -- no code change
2013-06-05 21:11:37 -07:00
Eric House
6a9c0bf5d4
up version strings for next beta
2013-06-05 20:56:59 -07:00
Eric House
6b2ec193c2
cleanup
2013-06-05 08:04:00 -07:00
Eric House
280154a12c
fix bad message when dict deleted by using the right rowid variable -- duh.
2013-06-05 08:03:13 -07:00
Eric House
f9676f5ffd
set focusableInTouchMode on wordlist browser's layout. This is the
...
only way I can find to prevent the soft keyboard from coming up on
launch.
2013-06-05 07:34:31 -07:00
Eric House
ca8a37d822
move less-used buttons to right where they may be off-screen
2013-06-05 07:33:31 -07:00
Eric House
c6d06e5fa4
bring up new popup on tap rather than long-tap of browser button to
...
make it easier to discover. Long-tap now opens the wordlist directly.
2013-06-05 06:59:08 -07:00
Eric House
bb130a9b9f
new feature: long-click on wordlist button in BoardActivity brings up
...
a popup of all wordlists so you can browse one that's not in use,
e.g. to see if a word's legal in a larger wordlist. Uses PopupMenu
class that was introduced in API 11, so 11's the target now and the
interface trick is used to prevent crashing on older devices (which
get a "needs newer Android" alert.)
2013-06-04 07:29:40 -07:00
Eric House
c32df1a487
use alpha to dim pending score rather than mucking with the rgb values
2013-06-01 08:10:03 -07:00
Eric House
9d40930fff
pass new param into java, and when it's not the player's turn draw
...
pending points with his color at half-intensity.
2013-05-31 07:40:42 -07:00
Eric House
d41c1a4ca8
add new param so pending text can be drawn differently when it's not
...
the player's turn.
2013-05-30 07:17:13 -07:00
Eric House
a1b6641067
catch and ignore exception from malformed user-provided url
2013-05-24 21:17:22 -07:00
Eric House
f4c18a78ac
clear game-launched flag in onNewIntent so that one game can replace
...
another via a Notification- or other-sourced Intent
2013-05-23 07:51:03 -07:00
Eric House
6c7cf1fa97
fix bug where two quick taps on a game will launch two copies (or
...
crash a slower device) by tracking whether an open's in progress
2013-05-23 06:48:40 -07:00
Eric House
cc2ecdc5b2
two post-conflicted-merge changes git didn't pick up for some reason (emacs?)
2013-05-22 07:03:08 -07:00
Eric House
31c443e4b1
Merge branch 'android_branch' into gtk_multigame
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/GCMIntentService.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayService.java
2013-05-22 07:01:08 -07:00
Eric House
2e30ccd4c6
expect array of message bodies rather than just one
2013-05-22 06:45:34 -07:00
Eric House
120748416b
handle GCM messages containing data, changing clientVers so server
...
knows we can. And send to relay in AsyncTask rather than UI thread.
2013-05-22 06:44:01 -07:00
Eric House
076b1b7543
remove logging
2013-05-22 06:44:01 -07:00