Eric House
|
b8660470f7
|
include timestamp in "new day" post-crash line
|
2014-12-05 06:35:31 -08:00 |
|
Eric House
|
9ba9d258f3
|
If client provides its index, honor that when placing it in game. This
allows a game where indices have already been established over some
transport other than relay to start using the relay mid-game.
|
2014-12-04 06:03:42 -08:00 |
|
Eric House
|
f3828ab7c9
|
merge android_branch -> android_multi2
|
2014-11-22 17:15:22 -08:00 |
|
Eric House
|
83a79963d4
|
Merge remote branch 'origin/android_branch' into android_branch
|
2014-11-22 17:11:40 -08:00 |
|
Eric House
|
4b635791d7
|
crash fix: provide missing param to format string
|
2014-11-22 17:08:17 -08:00 |
|
Eric House
|
e82589a526
|
replace overloaded method with diff-named one, avoiding call to wrong
one when compiled on old 32-bit Atom. 32-bit issue, or what? This is
quick and sure to fix it. Should be grafted back to main branch.
|
2014-11-10 06:43:42 -08:00 |
|
Eric House
|
94cfaecfb1
|
replace overloaded method with diff-named one, avoiding call to wrong
one when compiled on old 32-bit Atom. 32-bit issue, or what? This is
quick and sure to fix it. Should be grafted back to main branch.
|
2014-11-08 23:07:34 -08:00 |
|
Eric House
|
68e7f303b0
|
oops -- here's the relay md5sum logging. app side went in prior.
|
2014-11-05 21:42:45 -08:00 |
|
Eric House
|
c516e1f77c
|
add code to log md5 sums of udp packets sent and received. These match
relaycon logging to be added shortly.
|
2014-11-05 21:42:03 -08:00 |
|
Eric House
|
19573af533
|
a more elegant way of building up params to pass to PQexecParams
|
2014-04-25 18:45:51 -07:00 |
|
Eric House
|
6eaf7a57b5
|
fix crash when there's a "'" in model name
|
2014-04-25 07:41:58 -07:00 |
|
Eric House
|
4de894627a
|
fix infinite loop -- duh
|
2014-04-18 06:01:03 -07:00 |
|
Eric House
|
0e4f24dfe9
|
use fixed string for model rather than clearing it
|
2014-04-17 08:24:09 -07:00 |
|
Eric House
|
6f0b5c1bea
|
empty the model string if the client version's lower than what I'm
about to release and there's non-ascii stuff in it.
|
2014-04-17 08:13:01 -07:00 |
|
Eric House
|
f05b1e0525
|
log model -- can remove later
|
2014-04-17 07:44:32 -07:00 |
|
Eric House
|
0897ae2ba9
|
log the bad query
|
2014-04-17 07:43:58 -07:00 |
|
Eric House
|
ad0f882335
|
change port to live server's so recovery can be faster
|
2014-03-12 19:47:14 -07:00 |
|
Eric House
|
5f34fe3317
|
first cut at script to fetch messages for a game
|
2014-03-12 19:45:07 -07:00 |
|
Eric House
|
27a5990283
|
log out-of-date token
|
2014-02-24 08:00:52 -08:00 |
|
Eric House
|
cd31cd432a
|
tweak column display
|
2014-02-24 08:00:43 -08:00 |
|
Eric House
|
b840f7d708
|
add filter for rooms
|
2014-02-24 08:00:21 -08:00 |
|
Eric House
|
1f698eae6d
|
use ccache for relay build too
|
2014-01-25 19:03:50 -08:00 |
|
Eric House
|
0fb4c19ca7
|
fix syntax error in table creation sql
|
2014-01-07 07:17:48 -08:00 |
|
Eric House
|
b43855a313
|
fix curses build for 64bit compile and to use common layout (meaning
tray is now under the board unstead of to the right). Works on 64-bit
system at least for non-networked games.
|
2014-01-05 13:04:59 -08:00 |
|
Eric House
|
b5bec1e2cd
|
ignore valgrind core files
|
2013-11-14 21:48:06 -08:00 |
|
Eric House
|
91b54dd66a
|
use delete to free what's allocated using new
|
2013-10-25 06:16:17 -07:00 |
|
Eric House
|
a33f04e077
|
fix shutdown to work (by sending signal)
|
2013-10-25 06:16:17 -07:00 |
|
Eric House
|
e8616735b6
|
move .o files into an obj directory
|
2013-10-21 18:52:12 -07:00 |
|
Eric House
|
9efb044c4f
|
simplify construction of one query
|
2013-10-09 21:13:22 -07:00 |
|
Eric House
|
ec468ef3ba
|
printf -> catf missed because in ifdef
|
2013-10-09 20:40:21 -07:00 |
|
Eric House
|
bb246fd7e7
|
rename printf -> catf; no other changes
|
2013-10-09 20:20:45 -07:00 |
|
Eric House
|
c34fb48a2c
|
oops -- init mutex. This may be why the relay's hanging after a
crash.
|
2013-10-09 20:08:29 -07:00 |
|
Eric House
|
7290a41913
|
tweak; add limit
|
2013-10-01 00:01:39 -07:00 |
|
Eric House
|
b3723897d5
|
to prevent duplicate UDP packets (I hope), bind the UDP socket to a
single ip address rather than INADDR_ANY. Get that address at runtime
for an interface provided in the config file.
|
2013-09-30 23:40:12 -07:00 |
|
Eric House
|
945c41c615
|
Merge remote branch 'origin/android_branch' into android_branch
|
2013-09-27 05:46:43 -07:00 |
|
Eric House
|
9f38ded122
|
new script
|
2013-09-27 05:46:06 -07:00 |
|
Eric House
|
4202f24091
|
don't allow reregister with a RELAY_ID (a client bug)
|
2013-09-26 08:37:21 -07:00 |
|
Eric House
|
c1f94681bb
|
when a message sent via udp from cref isn't acked, add it to stored
messages so gcm loop can pick it up.
|
2013-09-26 07:14:24 -07:00 |
|
Eric House
|
63067dc374
|
oops: the test is equality with 'epoch'
|
2013-09-25 07:33:41 -07:00 |
|
Eric House
|
31fa2ea442
|
turn on feature where sent messages are marked rather than deleted.
Make default 'epoch' rather than NULL so constraint will work to
prevent duplicates, and fix insertion SQL to not violate constraint.
|
2013-09-25 06:38:10 -07:00 |
|
Eric House
|
fb59aa4907
|
use epoch rather than null as default so constraint will work
|
2013-09-24 08:37:18 -07:00 |
|
Eric House
|
8862c5f750
|
move include file up
|
2013-09-24 08:37:18 -07:00 |
|
Eric House
|
a4de87cfeb
|
fix constraint, and add stime to it
|
2013-09-24 08:37:18 -07:00 |
|
Eric House
|
f59a7db85d
|
update to work with either udp or tcp-sourced stored messages
|
2013-09-23 07:18:00 -07:00 |
|
Eric House
|
e1a5a2d53a
|
remove excess logging
|
2013-09-22 20:35:32 -07:00 |
|
Eric House
|
2e6d49303b
|
remove logging around hasNoMessages stuff -- too much
|
2013-09-20 04:54:05 -07:00 |
|
Eric House
|
e12069b45d
|
fix to work with devids and devtypes being arrays
|
2013-09-19 06:38:37 -07:00 |
|
Eric House
|
5d49b9b5d6
|
oops: don't default to clearing relayid
|
2013-09-18 08:04:12 -07:00 |
|
Eric House
|
9650000fce
|
add filter option -- sometimes want to see devices not in a current game.
|
2013-09-18 07:03:25 -07:00 |
|
Eric House
|
af44c6d190
|
only append to mtimes when appending a new devid
|
2013-09-15 12:54:47 -07:00 |
|