Andy2
d3e644db83
stop requiring 1.6 sdk when runs fine on 1.5
2010-11-10 06:57:45 -08:00
Andy2
c8d7ca40a5
use \1 instead of \n as delimiter -- in case somebody passes as string
...
containing a \n.
2010-11-09 18:02:22 -08:00
Andy2
0f111ab363
use PQexecParams instead of PQexec for queries involving strings from
...
users (i.e. room names) to avoid crashes when the contain apostrophes
-- and in general to be safer.
2010-11-09 17:27:33 -08:00
Andy2
b49015c9a1
map out-of-range lang codes to 0. Otherwise we get outOfBounds
...
exceptions once Hex dict is installed.
2010-11-07 15:42:09 -08:00
Andy2
1e5ac393c1
update for b18 (but leave b17 description below since that represents
...
two months of work and b18 two hours.)
2010-11-07 14:13:04 -08:00
Andy2
6da013af9d
up constants for beta-18
2010-11-07 14:04:37 -08:00
Andy2
c2472c0cb5
don't call java code if rect width is 0. Fixes crash (but not design
...
problem) where first to connect in room specifies a timer and second
does not. Second eventually gets message saying there's a timer but
has not layed out space in the board and java freaks out when later
asked to make a 0-width image. This fix leaves the device not drawing
the timer until the game is reopened. The better fix would trigger a
re-layout as soon as the change is made.
2010-11-07 14:03:24 -08:00
Andy2
cfd4345287
remove too-frequent logging
2010-11-07 13:31:43 -08:00
Andy2
99a557a604
fix blanks-first option to assign one blank per tray rather than all
...
to first. Makes for more realistic test.
2010-11-07 12:20:39 -08:00
Andy2
83f6ebca79
work around bug -- or design flaw -- where when timer is set hint or
...
robot with blank in tray keeps flashing the in-progress indicator by
flagging CMD_TIMER_FIRED as a non-ui event so busy() won't return when
it's what's on the queue. Problem with that is that the timer stops
advancing during a hint which is clearly not what's happened.
2010-11-07 12:13:07 -08:00
Andy2
2c95179050
don't complain about empty room name for standalone game
2010-11-07 11:50:01 -08:00
Andy2
57838c0436
improve script. Allow pass either branch or tag on commandline,
...
defaulting to branch of tree from which called. Add usage(). set -u
-e and deal with [ -n "$1" ] being an error in that case.
2010-11-07 08:16:36 -08:00
Andy2
46a01ace56
work around occasional crash in on-device testing by checking for 0
...
before passing to getString. Not sure of the circumstances but the
crash is coming from restoreManagedDialogs() -- might be related to
screen orientation changes.
2010-11-06 21:34:16 -07:00
Andy2
dd3bd1f661
don't show hint buttons until there are tiles assigned
2010-11-06 21:31:53 -07:00
Andy2
a6a7f1899d
remove logging
2010-11-06 21:01:50 -07:00
Andy2
2fc48cbd97
nuke unused constant
2010-11-06 21:01:29 -07:00
Andy2
92ec742f90
script to build from a clean tree. I'm getting emacs and git tmpfile
...
picked up by the android build system and incorporated into .apks;
this will avoid that.
2010-11-06 20:19:07 -07:00
Andy2
d2782af487
do case-insensitive comparison of room names
2010-11-06 18:52:10 -07:00
Andy2
73d7c7a27b
use new field to determine if simple relay config dialog can handle
...
the game or if user's already changed it enough that the full-on
dialog is required.
2010-11-06 18:26:09 -07:00
Andy2
f36b253ae7
add number of players to GameSummary. Changes DB but it's already
...
changed since last beta so I'm not upping the version.
2010-11-06 18:24:44 -07:00
Andy2
9fccbcc6b4
Problem with new minimal-config relay dialog: user can accidentally
...
tap "play game" and wind up connecting and creating an empty-room-name
game; or can dismiss the dialog and be confused because there's no way
back to it. Solution: define empty-room-name as an illegal case.
Check for it when "play game" is tapped in either config dialog and
raise an alert. And when user wants to open a game from the GamesList
activity go to the minimal config dialog if it's a relay game without
a room name.
2010-11-06 16:41:12 -07:00
Andy2
8213c9a5c1
add showOKOnlyDialog
2010-11-06 16:38:33 -07:00
Andy2
248c758b1c
add a bit of space around bullet items
2010-11-06 16:37:59 -07:00
Andy2
b7fc678e3d
tweak changes, removing steps to create networked game since that's
...
part of the UI now.
2010-11-06 15:29:05 -07:00
eehouse@eehouse.org
58317afb28
Merge branch 'android_branch' into relay_proxy
2010-11-06 15:06:08 -07:00
Andy2
ceec9eda28
set m_invalPath so new network game will be drawn correctly first time
...
back in GamesList
2010-11-06 15:01:06 -07:00
Andy2
a72e029f40
add name field to and use a style for bulleted items in simplified
...
relay-connect dialog; remove not-again text and dialog attached to
new-relay-game button; tweak text.
2010-11-06 14:55:57 -07:00
eehouse@eehouse.org
8dad8750ba
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-11-06 14:43:57 -07:00
Andy2
d6adc84ee3
tweak two prefs strings
2010-11-06 14:40:28 -07:00
Eric House
98716b755a
get rid of menuitem that was there only for development testing
2010-11-06 08:30:45 -07:00
Andy2
c125edd2cb
make text bulleted -- easier to read/follow
2010-11-05 05:53:28 -07:00
eehouse@eehouse.org
fc739e2c67
Merge branch 'android_branch' into relay_proxy
2010-11-05 05:19:16 -07:00
eehouse@eehouse.org
6d205011f5
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-11-05 05:12:59 -07:00
Andy2
145ab6f356
remove wordy explanation
2010-11-05 05:11:40 -07:00
eehouse@eehouse.org
64cc199e1a
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-11-05 05:10:24 -07:00
Eric House
0d863d2d3f
fix casting error caught by compiler
2010-11-05 05:06:24 -07:00
Eric House
7b3691662a
version of build.xml modified to pass -xline to javac. For future use...
2010-11-05 05:06:04 -07:00
Andy2
2f38ce3d92
add button leading to the main config dialog plus an explanation of
...
what it's for.
2010-11-04 20:37:59 -07:00
Andy2
23924ff74e
add new activity that's popped up on creation of a networked game to
...
ask only for the room name to make it as easy as possible to
get started.
2010-11-04 19:48:46 -07:00
Andy2
c9239fc921
make method public
2010-11-04 19:46:05 -07:00
Andy2
9c48c91156
init room name to current text -- duh! -- preventing close process
...
from thinking a change has been made (room name nulled) when none had
been.
2010-11-04 06:36:28 -07:00
eehouse@eehouse.org
d04a5870af
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-11-03 21:00:43 -07:00
Andy2
c630697c59
Fix crash on 2.2 emulator by turning of ipv6 on emulator. per
...
workarounds found online. Suggested fix is to use io instead of nio.
2010-11-03 20:54:35 -07:00
Andy2
d1fcdb69da
double max room name len since the old value was too small -- only
...
filled half a text field on android
2010-11-03 18:38:43 -07:00
Andy2
e2ee0755cb
set max len for roomname field (with comment that it should be kept in
...
sync with the C constant)
2010-11-03 18:38:13 -07:00
Andy2
c7febf0d10
nuke unused constant
2010-11-03 18:30:05 -07:00
Andy2
9e05e6c2b3
add lastMsgRcd to status printout
2010-11-03 18:28:54 -07:00
Andy2
c039b92339
don't send 0-length message
2010-11-03 18:26:20 -07:00
Andy2
0148a93f3e
add a constraint to the stored messages table to avoid dupes. Then
...
remove the artificial limit on number of stored messages. This seems
to fix problems where lots of chats in a row clog up the relay so that
messages never get flowing again. Works more cleanly than
artificially ACKing.
2010-11-03 18:14:19 -07:00
Andy2
633d4c95a7
fix buffer overflow sql error with large messages; combine logged messages.
2010-11-03 18:12:26 -07:00