Eric House
a6f5ea5f4a
sync after saving. Seems to improve recovery from TERMs sent by test scripts.
2010-09-28 18:06:05 -07:00
Eric House
a89520a377
use __func__
2010-09-28 18:04:31 -07:00
Andy2
953e4601b9
fetch public rooms using new class rather than hardcoding. With this
...
checkin game is possible based on public-room lookup.
2010-09-28 06:48:51 -07:00
Andy2
132321c9fd
new AsyncTask subclass to fetch public rooms list from relay
2010-09-28 06:47:58 -07:00
Andy2
89d20578b8
new class to create socket for talking to proxy
2010-09-28 06:47:21 -07:00
Andy2
39827ec894
add new pref for relay's proxy/device port
2010-09-28 06:43:04 -07:00
Andy2
1de029f3f0
skip public rooms if full. (Should do this in the query....)
2010-09-28 06:42:01 -07:00
eehouse@eehouse.org
ac74cc36a5
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-09-26 20:25:30 -07:00
Andy2
986ac4413f
parse reply to query for number of pending messages for games on
...
device. Not doing anything with the info yet.
2010-09-26 20:25:00 -07:00
Eric House
ae53ce5ea9
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-09-24 20:19:50 -07:00
Eric House
1bfdd1978e
move log directory away each time
2010-09-24 20:19:12 -07:00
Eric House
8f77886f72
make column name shorter
2010-09-24 20:18:20 -07:00
Andy2
14edbd7f18
implement setIsServer(). With this change I've been successful --
...
once -- having two games on the same device play against each other.
2010-09-24 18:49:34 -07:00
Andy2
31c594a06e
everybody starts out as client by default, same as on linux
2010-09-24 18:48:52 -07:00
Andy2
63ac6542c6
add new action to be called when relay make me a client. Seems
...
necessary to get server_initClientConnection connection called when
all's in the right state. It's not working consistently yet, though,
so may need changes.
2010-09-24 18:48:30 -07:00
Andy2
16001e61d0
image forgotten earlier -- for refresh public games list button
2010-09-24 18:46:14 -07:00
Andy2
4ea9ff8226
add server_reset and util_setIsServer to jni
2010-09-24 18:45:42 -07:00
Andy2
f7bad05390
send msg count query and print results
2010-09-24 05:51:42 -07:00
Andy2
b0c6e6da9c
add db method to count messages for connName/hid pairs and handle
...
query using it.
2010-09-24 05:50:02 -07:00
Andy2
c3e1b243b6
add timestamp to msgs db and set it on adding new records. I will
...
likely need to add periodic culling on the server for games that will
never fetch their messages.
2010-09-24 05:46:30 -07:00
Andy2
35ff5a7835
exit on logdir being gone before grepping it
2010-09-23 06:41:37 -07:00
Andy2
c44324a32a
log, for now as I've seen assertions failures suggesting a race, the
...
set of checked-out sockets at insert and remove time.
2010-09-23 06:34:18 -07:00
Andy2
40e1d29243
use new methods to store undeliverable messages in a db rather than in
...
memory. Confirmed that devices can hookup without ever being
connected at the same time and that the messages survive a relay
reboot. No further testing yet.
2010-09-23 06:32:57 -07:00
Andy2
74764a493b
create the new db
2010-09-23 06:31:42 -07:00
Andy2
eee41377f4
new methods for storing/retrieving messages in new db.
2010-09-23 06:31:29 -07:00
Andy2
451ced44ba
cleanup: shorter timeout; set aside games that finish correctly
2010-09-23 06:29:55 -07:00
Andy2
9a035c66ff
add assertion
2010-09-23 06:28:13 -07:00
eehouse@eehouse.org
acb52d11dc
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-09-23 05:34:43 -07:00
Andy2
85b4f3f075
move hostid assignment and tracking into db so it survives reboots and
...
recycling of crefs between when devices in a game connect. This plus
movement of messages into the DB will re-enable games played without
the two devices ever being connected at the same time.
2010-09-23 05:33:27 -07:00
Eric House
82825365d4
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-09-22 05:46:10 -07:00
Eric House
659278448b
changes to work against remote relay
2010-09-22 05:45:40 -07:00
Eric House
076b211cab
tweak to allow to specify host/port for use against remote relay
2010-09-21 20:38:54 -07:00
Andy2
1d0c207521
add test command for proxy feature to fetch for connNames whether
...
there are messages pending for them. Not handled yet on relay.
2010-09-21 18:28:31 -07:00
Andy2
e06baf566f
get public rooms from the db rather than stubbing it out.
2010-09-21 06:54:47 -07:00
Andy2
be23e06b60
use read_packet to replace duplicate code
2010-09-21 06:38:43 -07:00
Andy2
e7b5923883
finish first pass at sending open public room names -- but with actual
...
list harvesting stubbed out.
2010-09-21 06:27:31 -07:00
Andy2
2ec67c8ed1
finish rq to work with current format; add to makefile
2010-09-21 06:26:49 -07:00
Eric House
4ad735124c
add logging and assertions. There's a race condition in cref
...
recycling and may be one in tpool socket checking-out.
2010-09-20 22:11:13 -07:00
Eric House
b6ce74be1c
add timeout after which all games are killed
2010-09-20 22:08:51 -07:00
Eric House
c671f2ab05
plug memory leak
2010-09-20 22:07:10 -07:00
Eric House
047f41b516
send cookieid as part of [RE]CONNECT_RESPONSE in addition to ALL_COND (where it's now redundant).
2010-09-20 22:06:35 -07:00
Andy2
0df651027f
Merge branch 'android_branch' into relay_proxy
...
Conflicts:
xwords4/relay/crefmgr.cpp
2010-09-20 19:55:53 -07:00
Andy2
bca8300495
changes for b16: version strings and changes summary text.
2010-09-20 19:48:52 -07:00
Andy2
ddedcee3eb
remove commented out foo -- needed to save before prev submission.
2010-09-20 19:39:35 -07:00
Andy2
9b98d89722
add mimeType entry to data. This coupled with the right apache
...
AddType config means the browser doesn't get a chance to download
dicts, giving users one less way to get confused.
2010-09-20 19:38:26 -07:00
Andy2
0ac23458ba
use constant
2010-09-20 18:42:43 -07:00
Andy2
a549ade1fa
a bit more work on rc
2010-09-20 18:31:17 -07:00
Andy2
4e9d6e712e
escape apostrophe -- new SDK requires it.
2010-09-20 06:18:53 -07:00
Andy2
15cd3af62a
just a comment
2010-09-20 05:35:29 -07:00
Andy2
e1c99f53cd
work on detecting duplicate packets and devices that have reconnected
...
on a different socket; print all present seeds for debugging.
2010-09-20 05:35:19 -07:00
Andy2
ac8891016f
work on detecting duplicate packets and devices that have reconnected
...
on a different socket; print all present seeds for debugging.
2010-09-20 05:35:09 -07:00
Andy2
d199ec5168
account for possibility client apps won't exit on TERM
2010-09-20 05:33:58 -07:00
Andy2
84a26c2c1a
more to ignore
2010-09-20 05:32:17 -07:00
Andy2
430b033ae0
a bit of progress on cmdline tool
2010-09-20 04:59:09 -07:00
Andy2
6d6ad96cde
don't clear seed when changing roles from guest to host.
2010-09-20 04:56:19 -07:00
Andy2
00cdbc97d3
Install a no-op TERM handler at first then replace later with one that
...
just exits main loop. Do cleanup/file saving on exit from mainloop.
Fixes occasional crash where TERM came in before we were setup to
cleanup.
2010-09-20 04:55:35 -07:00
Andy2
df1ec1628a
replace killSocket(), which jumped right into crefmgr and could get
...
ahead of processing data arrived on the same socket, with EnqueueKill
that adds to same queue from which data's taken. So if device dies
immediately after sending data there won't be a race between closing
the cref (if this is the last open socket) and handling the data. I'm
still dying with assert fails when running 100 games at once, but much
less frequently
2010-09-18 08:47:56 -07:00
Andy2
a4913596db
remove logging
2010-09-18 08:42:15 -07:00
Andy2
c5d113a8da
remove _locked from name of method since it's not called when holding a lock.
2010-09-18 07:46:10 -07:00
Andy2
53b3d7c32f
enque sockets in new object that contains type so later other events
...
(e.g. socket closes) can also be queued; track what sockets are
currently being handled so no two threads are ever processing events
on same socket. This makes running 'NGAMES=50
./scripts/discon_ok2.sh' crash very infrequently rather than every
time, but the race condition in crefmgr remains. Queuing socket
closes should help.
2010-09-18 07:44:14 -07:00
Andy2
54512b9e11
put logs in own dir
2010-09-18 07:35:16 -07:00
Andy2
eec07649a6
put logs in own dir; echo every time game ends successfully.
2010-09-18 07:35:02 -07:00
Andy2
9c8889b429
get rid of mutex guarding reconnect. There shouldn't be any need
...
since game slots are already assigned, and it's slowing down
reconnects in their race with kills.
2010-09-18 05:07:23 -07:00
Andy2
7e1066dbcc
vary room names
2010-09-16 22:20:43 -07:00
Eric House
bb1e46fa81
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-09-16 20:13:54 -07:00
Eric House
d0e707a48e
get started with test/cmdline app to query relay's new proxy interface.
2010-09-16 20:13:24 -07:00
Andy2
c5eef29bcc
some suspicious crashes and subsequent reading say that multiple
...
threads can't share the same db connection. So synchronize all
queries. Multiple threads *can* access the db concurrently as long as
each has its own connection, so I could add connections to the tpool
threads. But this will probably be performant enough for the first
10K simultaneous users. :-)
2010-09-16 20:08:32 -07:00
Andy2
1490b2def9
simplify state table, getting rid of a bunch of states: we never leave
...
ALLCOND until it's time to kill the cref. When one device connects
and leaves the cref is recycled, so when a new device joins and is
assigned the same game and a new cref is initialized the number of
players already registered must be set from the db entry; do that.
2010-09-16 18:59:56 -07:00
Andy2
76e7459a6d
various improvements, e.g. random sleeps before and after starting
2010-09-16 18:56:34 -07:00
Andy2
50c387d75e
remove players from db as well as runtime when ack times out
2010-09-16 06:49:35 -07:00
Andy2
ca6039e890
new test script attempting to mimic real-world usage
2010-09-16 05:39:50 -07:00
Andy2
25c1824c45
fix broken assertion and add missing state transitions to fix crashes.
2010-09-16 05:39:25 -07:00
Andy2
2b702b48d6
need to clear CID of record in DB when killing corresponding in-memory
...
cref or reconnect will fail.
2010-09-16 04:47:17 -07:00
Andy2
452e3fc86b
timeout in milliseconds instead of seconds
2010-09-16 04:46:04 -07:00
Andy2
fa50bd00f1
timeout final scores alert
2010-09-16 03:42:57 -07:00
Andy2
d1a9c3962a
rename cookie->room in db; reposition columns.
2010-09-16 03:30:24 -07:00
Andy2
b25579b893
greatly simplify state machine for connections. Now (with DEVACK=20
...
on conf file) newrelay.sh will complete running 50 4-device gtk games.
Haven't tested reconnect case which I almost certianly broke.
2010-09-16 01:53:43 -07:00
Andy2
0d7165f881
add ability to run gtk from newrelay.sh. Trying to run 50 instances
...
crashes the relay as ACKs take too long to come back.
2010-09-16 01:44:54 -07:00
Andy2
06c8fdc67f
stop tracking seeds separately until have a use for 'em separate from
...
HostRec. This fixes failure to reconnect so that now a complete game
is possible (gtk version) without the two devices every being
connected at the same time.
2010-09-16 01:13:26 -07:00
Andy2
a870cac86d
break connect and reconnect into separate paths to simplify. Be
...
consistent: nJoined in DB tracks players "ever seen and issued
connName" rather than "currently connected". Next step: debug game
between two devices never connected at same time.
2010-09-15 14:05:51 -07:00
Andy2
8961910263
field name change
2010-09-15 14:03:59 -07:00
Eric House
b8a431cf01
fix bug in sql statement
2010-09-14 21:28:18 -07:00
Eric House
54d268b718
pass through to database whether room is public
2010-09-14 21:20:11 -07:00
Eric House
e3053370d0
add cmd to build the database and main table
2010-09-14 21:18:04 -07:00
Eric House
ddcc338ed7
don't break out of loop without unlocking mutex
2010-09-14 21:16:16 -07:00
Eric House
56a920740a
remove unused funtion declaraion
2010-09-14 21:15:24 -07:00
Eric House
9fc39a55ed
add params to set public-room-related booleans; add timeout option on
...
modal dialogs so gtk version can run unattended.
2010-09-14 21:13:45 -07:00
Andy2
3b5b5f0241
factor dbmgr code; add and call method to zero CIDs on boot.
2010-09-15 01:14:28 -07:00
Andy2
821e4d9c39
add ACK to protocol, returned by device after gets connName on initial
...
connection. Space is held for device on assumption ack will come
back, then given up if it fails.
2010-09-14 13:54:52 -07:00
Andy2
f8c1c016cc
remove special-case states and handling of first connect; track number
...
of players sought in the cref itself, adding in constructor, and not
in HostRec instances. This is cleanup with no behavior change.
2010-09-13 13:49:13 -07:00
Andy2
100ed8532f
timestamp records on creation
2010-09-12 05:04:52 -07:00
Andy2
ded6e22180
do finding of open games using database rather than cref list, which
...
requires updating the number of players when new devices join. Drop
requirement that cid be unique.
2010-09-12 04:49:03 -07:00
Andy2
663551fcb5
improve db, adding uniqueness contraints. Pass in connName so can
...
meet that constraint. Figure out next cid using a query at startup.
2010-09-12 03:57:23 -07:00
Andy2
86a1e943ca
make dict settable too
2010-09-12 03:53:39 -07:00
Eric House
c1da64b96a
instantiate and use the new dbmgr class
2010-09-11 19:45:04 -07:00
Eric House
87de53cf96
add new class to interface with postgres database in an experiment to
...
simplify things by using a db to survive a crash/reboot. So far (with
next checkin) manages to update a db. Next need to do queries instead
of searches through in-memory data.
2010-09-11 19:44:37 -07:00
eehouse@eehouse.org
0b46455044
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-09-12 02:34:20 -07:00
Andy2
54d49d450a
add back state and table entries to get rid of an unused cref.
2010-09-11 01:40:40 -07:00
Andy2
8908ca5b1d
ignore new test script's log files
2010-09-11 01:40:05 -07:00
Andy2
1cd2d542f7
new test script
2010-09-11 01:39:20 -07:00
Andy2
d5f2a72227
note that file's out-of-date
2010-09-11 01:28:04 -07:00
Andy2
463e9c3ccf
pass langCode in reconnect case too
2010-09-11 01:23:39 -07:00
Andy2
bd71a15ddc
turn off heartbeats on client side
2010-09-11 01:23:13 -07:00
Andy2
dc957e1a92
add match test on language code and number of players
2010-09-10 13:45:40 -07:00
Eric House
54611df679
nuke unused variable
2010-09-10 05:55:59 -07:00
Andy2
e60495ff93
read, pass, store and display langCode. Not yet used to route
...
connections to crefs.
2010-09-10 01:59:37 -07:00
Andy2
b3d3673dc9
read the langcode out of dict and into common struct
2010-09-10 01:57:22 -07:00
Andy2
2ee9031fdc
langcode belongs in connect, not reconnect, message
2010-09-10 01:56:58 -07:00
Andy2
20312144dd
tons of changes, still rough, snapshoted here: a gtk device vs device
...
game works to completion with both signing up as guests (no -s) with
one local and one remote player (identical commandlines.) Not yet
tested: if any signs up as a host, reconnecting rather than
connecting, etc. This is just a snapshot.
2010-09-10 01:30:40 -07:00
Andy2
34a94f23a0
fix error message to not specify host or guest
2010-09-10 01:24:42 -07:00
Andy2
f7c5ff619d
turn off heartbeats
2010-09-10 01:24:03 -07:00
eehouse@eehouse.org
a79f50053b
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-09-09 04:21:02 -07:00
Eric House
89e7a506a4
reduce amount of logging
2010-09-08 20:28:14 -07:00
Eric House
90d505abea
call accept() in main thread rather than in thread proc to fix
...
long-standing bug where main thread kept finding socket to be readable
and forking new threads to call accept() on it and then block forever.
2010-09-08 20:24:36 -07:00
Eric House
a64b67a54f
reduce amount of logging
2010-09-08 20:17:32 -07:00
Eric House
f8ca35f9b6
call accept() in main thread rather than in thread proc to fix
...
long-standing bug where main thread kept finding socket to be readable
and forking new threads to call accept() on it and then block forever.
2010-09-08 20:16:57 -07:00
Andy2
01fe388f85
remove logging accidentally checked in
2010-09-03 06:40:17 -07:00
Andy2
e6545d8d57
set and save new booleans, etc. Relay params UI seems to work now
...
except for listing public rooms (still hard-coded)
2010-09-03 06:39:46 -07:00
Andy2
b742c7dbb7
add new booleans to relay address record around public rooms
2010-09-03 06:38:46 -07:00
Andy2
e20c63f38c
move toward the UI I want: show public room browser or edittext for
...
new room name depending on checkbox, etc. Still not fully wired.
2010-09-02 05:46:35 -07:00
Andy2
0b91e9634e
save/restore new dictLang field; up stream version
2010-09-01 06:51:44 -07:00
Andy2
c6c1a93de5
copy new dictLang field java<->c
2010-09-01 06:51:09 -07:00
Andy2
6d7ff11dcc
add and set new field, dictLang
2010-09-01 06:50:33 -07:00
Andy2
73746e3664
first cut at relay config section, inline this time, with refresh
...
button and make-public checkbox. Neither wired up nor hidden in
non-networked case.
2010-09-01 06:49:01 -07:00
Andy2
cad2854d08
fix bug by always enabling set of widgets for local player in case
...
prev invocation of dialog hid it.
2010-08-31 06:21:46 -07:00
Andy2
784b5c8cdf
tweak strings
2010-08-31 06:20:48 -07:00
Andy2
4d1d7ae7ce
put space between "Player 1" and "(robot)"
2010-08-31 06:20:29 -07:00
Andy2
9367251b33
lots of changes, still needing cleanup and a bit of debugging, to
...
simplify game settings dialog and remove role: a game is now
standalone or not. Games will be matched on the relay (or over BT, I
assume) based on how many players they provide vs. need -- and other
settings like dictionary
2010-08-31 05:43:41 -07:00
Andy2
adf9c28e0d
make games list item as tall without delete button as is with.
2010-08-30 20:44:01 -07:00
Andy2
785ae531db
add language name to dict names in GameConfig's menu too
2010-08-27 06:26:25 -07:00
Andy2
092236b0dd
cleanup; do formatting inside DictLangCache
2010-08-27 06:25:56 -07:00
Andy2
40e266dda0
move lang strings into cache and add method to get 'em
2010-08-26 18:43:59 -07:00
eehouse@eehouse.org
ecd0280353
Merge branch 'android_branch' into relay_proxy
2010-08-26 18:36:55 -07:00
Andy2
5ddbef7829
update for b15
2010-08-26 18:33:22 -07:00
Andy2
0f3867b995
up constants/version for beta 15
2010-08-26 18:22:18 -07:00
Andy2
d1f6057987
fix stupid typo that meant crosshairs started on top row was only
...
three cols wide at first.
2010-08-26 18:20:24 -07:00
Andy2
0313421634
Add new class to cache lang codes for dicts to prevent expensive
...
operation of loading them each time. Will have other uses later.
2010-08-26 18:14:14 -07:00
Andy2
40d8aede88
use new jni method and array of names to append language to name of dict
2010-08-25 06:34:54 -07:00
Andy2
51e2c61962
add array mapping lang code (the proprietary code stored in dicts) to
...
language name. (Names should be translated.)
2010-08-25 06:34:29 -07:00
Andy2
cf6d8efb29
new jni method to get lang code. Takes a dict's raw bytes and builds
...
a dict object just to fetch the code, which is pretty inefficient, so
caching should be added later on the java side.
2010-08-25 06:33:16 -07:00
Andy2
4208c33ecf
make lang code support non-conditional
2010-08-25 06:31:38 -07:00
Andy2
3dba8ba13b
Fix bug reported by user: if robot finishes a search but fails to find
...
a move it's still done with its turn and must trade or pass.
2010-08-24 18:38:12 -07:00
Andy2
3b52f7bbd0
don't connect proxy unless there's at least one relay game
2010-08-23 18:53:11 -07:00
Andy2
33d60452a3
fork a thread to handle proxy connects. Later may want to use thread
...
pool as for game threads.
2010-08-23 18:52:52 -07:00
Andy2
b586fa1a34
add preference controlling how often proxy connects to relay. Still
...
need to add way to change timer when interval pref is changed and
other cleanup.
2010-08-23 18:39:47 -07:00
Andy2
a34ccb424f
device now passes list of "relayID"s, consisting of connName plus
...
device id, to relay, one for each stored game that's communicating via
the relay. Relay parses out each relayID. Next relay can use these
to look up whether messages are available and reply with that, and
device can put up a notification.
2010-08-22 12:16:57 -07:00
Andy2
56b6a425e2
proxy now writes one byte to relay and reads one byte reply.
2010-08-19 18:34:28 -07:00
Andy2
48ac79be51
GamesList starts a repeating alarm that invokes a new activity that
...
launches the service. Service can now do a single check with the
relay, notify if needed, and exit (but doesn't yet.)
2010-08-19 08:45:18 -07:00
Andy2
25e7889c28
checkpoint: add service that's launched at app start and spawns a
...
thread that stops itself immediately. Eventually that thread will
check the relay for pending moves, put up a notification offering to
open the game that has moves pending, and schedule itself to run again
later before stopping itself.
2010-08-19 07:47:11 -07:00
Andy2
019da83d60
meant to check this in
2010-08-12 06:42:59 -07:00
Andy2
416b379781
add second class of socket to be listened on, meant for per-device
...
rather than per-game connection, and when adding connected sockets to
active set track the type.
2010-08-12 06:42:33 -07:00
Andy2
38ed6e4054
add missing close tag
2010-08-11 21:10:10 -07:00
eehouse@eehouse.org
a791b0e53e
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-08-11 20:00:38 -07:00
Andy2
ac022ea5a5
add java version of new crosshairs flags; draw crosshairs 1/3
...
width/height of cells instead of reusing focus code to color
background.
2010-08-11 18:53:12 -07:00
Andy2
d44b08b609
remove unused and confusing duplicate flags.
2010-08-11 18:51:33 -07:00
Andy2
2d69d8f2b0
use new crosshairs flags to draw a cross in the middle third of cells
2010-08-11 18:51:09 -07:00
Andy2
09bc83429e
add and set new flags for crosshairs so platforms can do better than
...
fill cells as is done for focus.
2010-08-11 18:50:16 -07:00
Andy2
81ad7719b1
list changes since b13
2010-08-10 21:34:44 -07:00
Andy2
fc603645d1
make changes dialog launchable from About dialog (so reachable other
...
than immediately after upgrade)
2010-08-10 20:33:33 -07:00
Andy2
e720fe79ab
wrap in ScrollView so can scroll
2010-08-10 20:32:04 -07:00
Andy2
287ab2485f
add changes summary dialog shown on first launch after an upgrade.
2010-08-10 18:48:19 -07:00
Andy2
269bd15a45
change constants for beta 14
2010-08-10 06:12:09 -07:00
Andy2
205723e03b
add missing event to logging
2010-07-30 17:44:20 -07:00
Andy2
13596f8538
synchronize read and write of files, fixing a race condition between
...
BoardActivity shutdown (save) and GamesList refresh (open) that
resulted in zero-length byte array being passed into the jni. It's
now possible for the list to win the race and display old data, so a
better solution would be to check-out the file in such a way that the
list couldn't read it until it was update, but at least now we won't
crash.
2010-07-30 17:40:46 -07:00
Andy2
d07d90761f
remove logging
2010-07-30 17:38:07 -07:00
Andy2
b4f7a6917f
wrap time in brackets for readability
2010-07-30 07:16:24 -07:00
Andy2
f9afcc0e6f
add ability to tag events as UI or not. CMD_DO is not. Only UI
...
events in queue prevent engine from continuing. This fixes bug where
server running engine on behalf of robot would starve the UI thread by
looping forever seeing the engine bail because a CMD_DO was in the
queue and then adding a CMD_DO to try running the engine yet again.
2010-07-30 06:43:56 -07:00
eehouse@eehouse.org
3b7abc2a31
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-07-29 21:13:00 -07:00
Eric House
e857b01783
ignore logs and core files
2010-07-29 21:07:20 -07:00
Eric House
d7a3795355
add static decl
2010-07-29 21:04:33 -07:00
Eric House
d7d2a7523b
kill cref when in bad state.
2010-07-29 19:46:52 -07:00
Andy2
396a277cb4
dispose of progress dialog if it's been shown, even if Activity is
...
going away. This stops runtime complaints about leaking windows.
2010-07-29 18:11:54 -07:00
Andy2
51d759569a
call srand with current time (attempting to fix what may be duplicate
...
seeds on relay, possible if rand() always starts with same sequence on
different devices in new process); add commented-out logging util_rand
implementation.
2010-07-29 06:53:06 -07:00
Andy2
6be5105eff
don't put up progress dialog (from runnable) after activity pauses.
2010-07-29 06:49:30 -07:00
eehouse@eehouse.org
13ecb2f929
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-07-29 05:41:48 -07:00
Eric House
b170a04dec
drop duplicate [re]connect packets before they enter the state
...
machine. Fixes problems where crefs get stuck in the
XWS_CHK_ALLHERE_2 state. Still should probably kill a cref where
there's no state table entry.
2010-07-28 22:21:01 -07:00
Eric House
f70b9e1d10
use constructor to save some code; no behavior change
2010-07-28 20:17:54 -07:00
Andy2
d67e421541
get rid of excess logging
2010-07-27 21:36:14 -07:00
eehouse@eehouse.org
958ec15a19
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-07-27 21:32:17 -07:00
Eric House
ad1be65236
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-07-27 20:47:42 -07:00
Eric House
b335151172
log when no event pushed while adding players -- this may be how state machine is getting screwed up
2010-07-27 20:47:04 -07:00
Andy2
51ffdce185
comment out pthread_create failure log; seeing it too often and it's
...
just for the web view.
2010-07-26 18:37:44 -07:00
Andy2
9eb424201d
Add credits to About; use style to remove duplicates; credit Sarah.
2010-07-18 19:16:46 -07:00
Andy2
d0a632d3ff
up version to b13 so can be tagged to match.
2010-07-18 14:40:53 -07:00
Andy2
ad1eb053ca
a few final tweaks from Sarah
2010-07-18 14:39:46 -07:00
Andy2
b1f027ce00
latest from Sarah
2010-07-17 21:50:44 -07:00
Andy2
5b3e41f4e9
fix bug: allow switch *to* player whose turn it is even if allowPeek
...
is off (typically because it was turned off after game was loaded and
while non-turn player's tiles are visible)
2010-07-17 07:11:46 -07:00
Andy2
fb8692fb9f
add preference for allowPeek
2010-07-17 07:06:33 -07:00
Andy2
639feb8965
nuke extra line -- change I forgot to save
2010-07-17 06:23:14 -07:00
Andy2
6dc21ae7a8
pass (hard-coded) param controlling non-turn board switching
2010-07-17 06:22:42 -07:00
Andy2
5b8cf716b3
add pref controlling whether can switch to look at tray of user whose
...
turn it isn't
2010-07-17 06:21:24 -07:00
Andy2
8da9a1e8fa
dis/enable shuffle and add-player buttons based on number of players present
2010-07-17 06:03:30 -07:00
Andy2
6ffed8750a
Make delete button smaller and at other end of screen from text.
2010-07-17 05:58:29 -07:00
Andy2
cd20883df3
draw bonus hint summaries using minimum font height even when cells
...
are larger -- keeps from distracting so much from words
2010-07-17 05:42:50 -07:00
eehouse@eehouse.org
f93f6222b2
Merge branch 'android_branch' into toolbar
2010-07-16 21:19:44 -07:00
Andy2
a91c665c45
latest from translator
2010-07-16 21:18:39 -07:00
Andy2
2e15650c4d
button-based zoom by 4, not 8
2010-07-16 21:01:52 -07:00
Andy2
2bf3cbd7e2
turn on CROSSHAIRS -- somehow lost during merge.
2010-07-16 19:18:55 -07:00
Andy2
dbed23e240
change definition of movement during drag to include not just drag of
...
a tile but motion on the board which will include crosshairs. This
prevents miniwindow from coming up and stopping crosshairs movement
when it happened to start on a bonus square.
2010-07-16 18:57:08 -07:00
Andy2
e4feef9bbc
reverse sense of -I since hint region unsupported on Android
2010-07-16 18:24:17 -07:00
Andy2
81694f8392
Sarah's latest icons, converted from .psd using imagemagick
2010-07-16 18:18:37 -07:00
Andy2
a99e8142b0
Merge branch 'android_branch' into toolbar
...
Conflicts:
xwords4/android/XWords4/jni/Android.mk
xwords4/android/XWords4/jni/xwjni.c
xwords4/android/XWords4/res/values/strings.xml
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/XwJNI.java
2010-07-16 06:32:32 -07:00
Andy2
f05bfcb3d8
log when dropping message that would mess up cref player counts
2010-07-16 06:23:20 -07:00
Andy2
73980a3c50
use delete button in XWListItem instead of context menu item for DictsActivity too.
2010-07-16 06:19:19 -07:00
Andy2
f9a561bd2a
first cut at putting a delete button next to players in config list
2010-07-16 05:50:20 -07:00
eehouse@eehouse.org
ea2b6b6df9
Revert "add util_turnChanged"
...
This reverts commit 55d86b15d2
.
zoom isn't set up on this branch to go immediately all the way out, so wait for toolbar branch
2010-07-16 05:19:52 -07:00
Eric House
55d86b15d2
add util_turnChanged
2010-07-15 18:27:00 -07:00
Eric House
a52fc5a4fd
don't call removeSocket when none was added
2010-07-15 18:21:32 -07:00
Eric House
8e5abb189b
add mutex for reconns too; log socket and ip addr connecting on it
2010-07-15 18:14:44 -07:00
Eric House
5ea1f3b470
list newest crefs first
2010-07-15 18:13:01 -07:00
Eric House
e2c663622f
ignore dicts
2010-07-15 18:09:40 -07:00
Eric House
78f965b979
replace asserts that have been firing on integrating reconn events
...
with dropping the reconn messages; move log of state table lookup failure
into cref so cref id can be included
2010-07-14 21:32:19 -07:00
eehouse@eehouse.org
f9d8df8cea
don't track xwrelay.conf so local changes don't show as local mods
2010-07-14 06:29:50 -07:00
Andy2
f3ffbd94af
remove focus-color pref; add crosshairs-color pref in same place
2010-07-14 06:21:55 -07:00
Andy2
55be90dd12
add preference controlling whether bonus "summaries" are shown on top
...
of bonus squares.
2010-07-13 22:39:45 -07:00
Andy2
7176c7036e
add localizable "pts" to the in-tray pending score display
2010-07-13 18:57:48 -07:00
Andy2
15f2a46279
fix miniwindow getting erased as soon as drawn. Problem was that
...
board code invalidated crosshairs cells in timer callback after
drawing miniwindow but board_draw isn't supposed to get called until
after penup. But java miniwindow drawing code was pushing DRAW event
to get the canvas updated. Instead I'm just invalidating the view
which copies the canvas without calling board_draw().
2010-07-13 18:47:29 -07:00
Andy2
6cb2638a50
if tap-to-play is set, remove play-game item from context menu
2010-07-13 18:09:43 -07:00
Andy2
44907a29a6
cleanup: factor to init in loop from an array
2010-07-13 06:36:33 -07:00
Andy2
f4e0c5f1ad
turn on crosshairs feature
2010-07-13 06:27:07 -07:00
Andy2
a76cdac0c5
don't put up mini window when have penned-down on a draggable tile.
2010-07-13 06:26:55 -07:00
Andy2
d4a23bbaca
fix spacing (whitespace only)
2010-07-12 21:42:04 -07:00
Eric House
7352cd5449
fix so bonus strings are in right order
2010-07-12 21:40:40 -07:00
Andy2
e55bb462d9
include bonus square summaries in grey
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java
2010-07-12 21:40:23 -07:00
Andy2
c0819c5a9f
up constants for beta 12
2010-07-12 19:16:11 -07:00
Andy2
f2674ed27c
XWFEATURE_RAISETILE is off by default
2010-07-12 19:11:42 -07:00
Andy2
21d705c6e7
make wrap code for popping tile up above cursor hotspot (or finger)
...
conditionally compiled. I probably want it off on Android now that I
have crosshairs.
2010-07-12 19:11:24 -07:00
Andy2
2f34fc0d35
fix list item not getting updated after its game configuration is changed.
2010-07-12 18:52:11 -07:00
Andy2
0957c95c8e
write and read dummy values to/from stream when KEYBOARD_NAV isn't
...
defined so that the versions are compatible. This will let existing
saved games be read if I turn this off on Android.
2010-07-12 18:49:36 -07:00
Andy2
de32e514ab
cherry-pick three revisions from toolbar branch ( d1c7d4097c
, f848473c1a
and 6484a2fb9b
) and manually fix conflicts.
2010-07-12 18:48:03 -07:00
Andy2
19ea138f8e
turn on crosshairs feature, which seems to work
2010-07-12 18:24:41 -07:00
Andy2
fd9464b909
first cut at crosshairs: drawing in focus color the entire column and
...
row that's currently being touched/dragged through. Meant to aid
users of capacitive touch screens in figuring out what cell they're
on.
2010-07-12 06:39:46 -07:00
Eric House
8d3ea709e0
add CMD_TOGGLEZOOM so zoom state doesn't have to be maintained
2010-07-11 08:05:23 -07:00
Eric House
546ddf33ae
add util_turnChanged
2010-07-10 17:05:17 -07:00
Eric House
177af25617
fix so bonus strings are in right order
2010-07-10 16:54:41 -07:00
Eric House
cedc00c9a6
include bonus square summaries in grey
2010-07-10 16:17:13 -07:00
Andy2
d3548aafb2
Make backgrounds transparent. By me: the artist is not to blame. :-)
2010-07-09 23:02:19 -07:00
Andy2
d1c7d4097c
remove focus-related code and declarations
2010-07-09 18:52:14 -07:00
Andy2
8172e38cef
write and read dummy values to/from stream when KEYBOARD_NAV isn't
...
defined so that the versions are compatible. This will let existing
saved games be read if I turn this off on Android.
2010-07-09 18:21:05 -07:00
Andy2
f848473c1a
turn off KEYBOARD_NAV
2010-07-09 06:51:34 -07:00
Andy2
6484a2fb9b
fix to compile (with or without KEYBOARD_NAV undefined)
2010-07-09 06:50:39 -07:00
Andy2
6b9b97231a
fix to compile with KEYBOARD_NAV undefined
2010-07-09 06:49:32 -07:00
Andy2
2bbdcf46c3
make progress dialog cancellable. Still may want to abort the search
...
when it's cancelled.
2010-07-09 06:14:43 -07:00
Andy2
d7110824df
make undo button the last; make vertical and horizontal toolbar
...
orderings the same. (Really should have just one toolbar and set it's
orientation on the fly.)
2010-07-08 18:42:22 -07:00
Andy2
d68d597c49
Sarah Chu's first cut at icons.
2010-07-08 18:41:03 -07:00
Andy2
3976738990
put up indeterminate progress dialog when engine starts and at least
...
one blank's involved. Still needs to be made cancellable.
2010-07-08 18:26:17 -07:00
Andy2
1c218513f1
define SHOW_PROGRESS: when blanks present search takes too long not to
...
show some sort of progress indicator
2010-07-08 07:04:40 -07:00
Andy2
7595b36037
add engineStopping and engineStarting (stubbed out so far)
2010-07-08 07:03:56 -07:00
Andy2
567d5f4d70
add and connect values button. It's visible when there are any tiles
...
at all on the board.
2010-07-08 06:39:48 -07:00
Andy2
40323b03d2
board_canFlip -> board_visTileCount
2010-07-08 06:38:51 -07:00
Eric House
3716218a1d
ignore files in dawg/
2010-07-07 23:18:14 -07:00
Eric House
48946996b8
ignore file in dawg/
2010-07-07 23:17:13 -07:00
eehouse@eehouse.org
586e0d25f9
Merge branch 'android_branch' into toolbar
2010-07-07 20:44:33 -07:00
Andy2
41f8f574b1
use git describe for version info/stamp
2010-07-07 20:26:25 -07:00
Andy2
5365ea4f4e
fix crash when empty string given on ctrl port
2010-07-07 18:59:48 -07:00
Andy2
f8d1ebd075
use board_canHint to set hint buttons state so buttons don't show for
...
remote or robot players
2010-07-07 18:48:35 -07:00
Andy2
af2d2c71b5
add board_canHint to jni
2010-07-07 18:47:22 -07:00
Andy2
ac6dc400ce
add board_canHint
2010-07-07 18:47:02 -07:00
Andy2
a2e4fd09c4
add missing apostrophe
2010-07-07 18:27:29 -07:00
Andy2
445f6877b6
fix list item not getting updated after its game configuration is changed.
2010-07-07 18:16:55 -07:00
Andy2
b8c905204e
hook up prev hint button -- and finally fix infinite loop that
...
happened when you clicked hint while a hint was being calculated.
2010-07-07 06:51:46 -07:00
Andy2
c98451c62a
remove excess logging
2010-07-07 06:50:47 -07:00
Andy2
07940099ed
add new param to board_requestHint
2010-07-07 06:49:36 -07:00
Andy2
a7c77785f6
return false if no move found -- to really fix the crash
2010-07-07 06:40:34 -07:00
Andy2
5725f36db8
detect when no moves found that meet criteria to fix (I think) crash
...
when iterating from highest to lowest move using prevMove.
2010-07-07 06:33:01 -07:00
Andy2
4425ff838c
add buttons (gtk) to test new prev-move feature; modify to fit new api
...
(curses).
2010-07-07 05:29:04 -07:00
Andy2
992f45e1bf
new feature: previous move. Modify engine to traverse the set of all
...
possible moves in either order both within a cached subset and when
building cached subsets. Still a bit buggy (shows the same move twice
when moving backwards and reaches the top-scoring move) and not well
tested.
2010-07-07 05:27:57 -07:00
Andy2
210a3f033b
disable hint buttons when hint feature's turned off
2010-07-05 09:52:19 -07:00
Andy2
93eca7b936
add layout_weight so buttons expand to fill toolbar. I really want
...
available space distributed as space between rather than as wider
buttons but this is an improvement.
2010-07-05 09:47:26 -07:00
Andy2
b163b45abe
Merge branch 'android_branch' into toolbar
...
Conflicts:
xwords4/android/XWords4/AndroidManifest.xml
xwords4/android/XWords4/res/values/strings.xml
xwords4/android/XWords4/res/xml/xwprefs.xml
xwords4/android/XWords4/src/org/eehouse/android/xw4/XWConstants.java
2010-07-04 13:28:47 -07:00
Andy2
f0a5fa6034
up version numbers/strings for beta 11
2010-07-04 12:56:59 -07:00
Andy2
c2aaa04517
move colors editing prefs screen into appearance prefs screen
2010-07-04 12:53:45 -07:00
Andy2
dfe1d5f245
break separate menu handling from context-menu stuff so can call from
...
onclick handler, then use new preference to decide whether to launch
game or drop context menu on click
2010-07-04 12:52:36 -07:00
Andy2
6264327d63
formatting change; whitespace only
2010-07-04 12:30:09 -07:00
Andy2
ce2182e214
fix crash when copying a new game by testing for null scores array
2010-07-04 12:09:22 -07:00
Andy2
2c2e0b9029
export to jni and use new functions for redoing pending tiles and
...
testing whether undo/redo is possible.
2010-07-03 11:51:27 -07:00
Andy2
3452666231
use board_canTogglePending to disable button
2010-07-03 11:39:10 -07:00
Andy2
5f92491ca3
add and implement board_canTogglePending
2010-07-03 11:38:37 -07:00
Andy2
d44b9907cf
save redoable pending tiles -- and up stream version since format's
...
changed
2010-07-03 11:25:01 -07:00
Andy2
57e246da3b
handle blanks as well in redo of undone pending tiles
2010-07-02 22:44:50 -07:00
Andy2
592d99ba80
add new button and handler to test redo of undone pending moves.
2010-07-02 18:53:37 -07:00
Andy2
f77cf0e23d
add board_redoReplacedTiles and model_redoPendingTiles. The latter
...
works as long as no blanks are involved. And new state isn't being
saved so will be lost unless format changed.
2010-07-02 18:52:55 -07:00
Andy2
5b336146c8
add preference, as yet unused, to control whether tap drops context
...
menu or opens game (as it used to do).
2010-07-02 18:08:22 -07:00
Andy2
4b14e4aeb9
break most top-level prefs into behavior or appearance
2010-07-02 07:14:48 -07:00
Andy2
e22479ba03
add "play game" item to context menu, and invoke that menu on item
...
click. This fixes problem with users apparently not knowing about
long-tap and context menu and so not knowing they can configure a
game. Unfortunately I can't figure out how to disable long-tap
also bringing up the context menu. Yet another preference might be the fix.
2010-07-02 07:04:37 -07:00
Andy2
9b3463c8e0
use local OnClickListener rather than have Activity implement interface
2010-07-02 06:25:10 -07:00
Andy2
e2925ba50a
wire board_canShuffle() to button visibility
2010-07-01 18:57:26 -07:00
Andy2
b5bf895874
let the compiler build the arrays for me
2010-07-01 18:56:41 -07:00
Andy2
6946cbc499
export board_canShuffle via jni
2010-07-01 18:56:18 -07:00
Andy2
491cfe7616
add board_canShuffle and implement
2010-07-01 18:55:49 -07:00
Andy2
0d2ba57186
move more knowledge from Board Activity to Toolbar
2010-07-01 18:45:33 -07:00
Andy2
7895325f74
hook flip button up with board_canFlip result after every draw() call.
...
Begin process of moving knowledge of button layout into Toolbar.
2010-07-01 18:20:53 -07:00
Andy2
2f59836fc4
export board_canFlip
2010-07-01 06:37:22 -07:00
Andy2
650d9f5b45
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into toolbar
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java
2010-07-01 05:54:43 -07:00
Andy2
3b9240ca84
up version strings/numbers
2010-06-30 21:24:17 -07:00
Andy2
e150db29ee
use board_canFlip() to prototype disabling flip button when useless.
2010-06-30 20:25:56 -07:00
Andy2
43c34aa466
add board_canFlip and model_canFlip -- which seem to work though
...
there's no test that when a single tile is on the board it's not in
the middle. Sue me.
2010-06-30 20:25:34 -07:00
Andy2
2b23c50a70
change default phonies key name so upgrading users will still get the
...
new value.
2010-06-30 19:35:18 -07:00
Andy2
769d9a6a23
tweak strings
2010-06-30 06:45:37 -07:00
Andy2
0eab25eec9
make warn-phonies the default. Users are complaining about bogus
...
words being accepted; this may may the feature easier to find.
2010-06-30 06:32:21 -07:00
Andy2
cf5f94ffc7
fix crash by providing title id expected by warn-phonies dialog.
2010-06-30 06:31:40 -07:00
Andy2
b83867ff13
Configure -> Game settings
2010-06-30 06:16:23 -07:00
Andy2
6a4e9f2c43
up versions in preparation for new release
2010-06-29 21:15:19 -07:00
Eric House
30087845b5
add preference to hide title bar
2010-06-29 19:25:15 -07:00
Andy2
3998a23f84
add undo button; reorder menus; fix show-values menuitem
2010-06-29 18:26:37 -07:00
Andy2
e218cb7639
add prev hint button triggering notImpl; hide title bar. Really want
...
to hide it only for landscape orientation, but that seems impossible
without having separate layout and reloading whole activity on
orientation change. If you hide it after adding content to the
activity you get a runtime exception. Better way than hiding title,
BTW, is a theme that hides it in AndroidManifest.xml.
2010-06-29 06:51:45 -07:00
Andy2
45b5bef414
new prev_hint button with left-facing arrow
2010-06-29 06:48:20 -07:00
Andy2
953b2bcc55
cleanup; allow setting NUM_SAVED_ENGINE_MOVES per-platform
2010-06-28 21:08:13 -07:00
Andy2
c9dd0c2ddf
use my dummy icons instead of irrelevant builtins
2010-06-28 18:52:20 -07:00
Andy2
d1b2602b42
disable hint button when hints not allowed; cleanup. Still have at
...
least one button to add.
2010-06-28 18:51:41 -07:00
Andy2
cf0c7c9770
"First hint" replaces "Hint" for, I hope, more clarity
2010-06-28 18:49:42 -07:00
Andy2
99d41083bd
xml file not needed now that buttons are declared as part of board
2010-06-28 18:48:16 -07:00
Andy2
521852ddf5
more proof-of-concept icons
2010-06-28 18:47:47 -07:00
Andy2
375111d0f1
draw blank-marking circle white-on-black for pending tiles --
...
otherwise it's invisible.
2010-06-28 18:21:53 -07:00
Andy2
6026ad31ba
nuke remaining zoom-controller artifact
2010-06-28 06:31:15 -07:00
Andy2
29aa4627e9
get rid of zoom controller. Will be replaced by toolbar button.
2010-06-28 06:29:27 -07:00
Andy2
85679dcb2a
(re)add padding on sides and at top
2010-06-28 06:26:49 -07:00
Andy2
4b80dedde7
moving toward ImageButtons rather than (text) Buttons, and toward
...
having them declared in the layout rather than added at runtime. Add
temporary references to built-in ImageButtons, and a one-dimentional
one of my own. Toolbar reduced to handling the orientation change
(and likely to disappear altogether soon.)
2010-06-27 21:48:01 -07:00
Andy2
5b04bc6382
add zoom button that toggles between zooming in and out
2010-06-27 13:13:30 -07:00
Andy2
0c852981e7
make zoomBy param passed to board_zoom give distance rather than just
...
direction.
2010-06-27 13:12:30 -07:00
Andy2
85745d8ab4
add more buttons; rearrange menus on assumption those that duplicate
...
button functionality can be burried.
2010-06-26 22:02:02 -07:00
Andy2
06a7c56ca9
template for toolbar buttons.
2010-06-26 17:53:00 -07:00
Andy2
ad2fce6519
remove built-in buttons from board.xml; add addButton method on
...
Toolbar and call it from BoardActivity to produce a working hint
button. Am using text labels instead of icons for now.
2010-06-26 17:52:36 -07:00
Andy2
6536699dd5
remove unused import
2010-06-26 17:49:23 -07:00
Andy2
1c910d5169
turn off debugging so device builds can be from unmodified source.
2010-06-26 12:40:04 -07:00
Andy2
29ba0cf4f2
add Toolbar class and use it to hide whichever toolbar isn't wanted in
...
the current screen orientation.
2010-06-26 12:39:10 -07:00
Andy2
3e9c94118a
put toolbars at right and bottom. Next step is to hide the one we
...
don't want.
2010-06-25 20:14:15 -07:00
Andy2
1866c5ccab
add toolbar at bottom to test spacing
2010-06-25 08:14:18 -07:00
Andy2
7b52f36925
remove unused string
2010-06-25 08:05:07 -07:00
Andy2
05a208594c
cache games list item views in hashmap by file path, and inval
...
individual items when their views need to change. This seems to
significantly speed [re]rendering the list.
2010-06-25 06:38:00 -07:00
Andy2
10286e0109
explicit mention in about text that it's FOSS
2010-06-21 07:55:00 -07:00
Andy2
8012cbdcd6
beta 8 since b7 was in the about box for prev (first) Market release.
2010-06-21 07:17:44 -07:00
Andy2
8d01060599
gitignores for wince
2010-06-20 22:58:59 -07:00
Eric House
3be95e5d7e
up version string and code
2010-06-20 10:02:53 -07:00
Eric House
f1eecd78fa
nuke debugging echo
2010-06-20 09:31:21 -07:00
Eric House
3d22d9e1b0
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-06-20 09:29:45 -07:00
Eric House
d5eca2027a
remove local.properties, and add a script, run from build.xml before
...
local.properties is loaded, to generate it with a path to sdk
appropriate to the installation.
2010-06-20 09:29:13 -07:00
andy
ddc1d419b2
nuke CVSROOT
2010-06-20 09:23:33 -07:00
eehouse@eehouse.org
1fdf1e1a41
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-06-17 20:40:13 -07:00
Eric House
a6b4e424ba
Merge branch 'android_branch' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into android_branch
2010-06-17 20:36:25 -07:00
Eric House
afb3f4040a
fix to compile in non-debug mode
2010-06-17 20:35:54 -07:00
Andy2
12cc45617e
don't use query title for informative dialogs reporting robot actions.
2010-06-17 18:56:51 -07:00
Andy2
38ef891268
new preference, on by default, controlling sorting of new tray tiles.
2010-06-17 18:51:46 -07:00
Andy2
adfb4d7a6a
bug: wasn't passing changed prefs to server, only to board. So rather
...
than export server_prefsChanged via jni replace board_prefsChanged
with a new method that calls both.
2010-06-17 18:51:10 -07:00
Andy2
80aa22b2d1
add common prefs field sortNewTiles and way to set on linux cmdline
2010-06-17 18:10:32 -07:00
Andy2
e0dd3701a0
Add model_sortTiles(); use it; fix some comments and const decls.
...
Sorting always happens now when tiles added; needs to be based on a
preference.
2010-06-17 06:43:16 -07:00
Andy2
529f3df726
fix seekbar style so thumb's fully visible on 2.1 (was ok on 1.6); and
...
rename style for clarity.
2010-06-16 18:44:19 -07:00
Andy2
660d86c121
menuitem text change
2010-06-16 18:33:08 -07:00
Andy2
df3ab84b80
shrink rem and timer text to a size between cur player and remaining
...
players. Looks better not so huge.
2010-06-16 18:30:27 -07:00
Andy2
448cb63891
remove TODO
2010-06-16 18:26:37 -07:00