repo.or.cz
/
pachi
/
json.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
slave_loop(): Add function process_reply() to clean the code.
2010-04-05
Jean-loup Gailly
slave_loop():
A
dd function proc
e
s
s
_reply()
to clean
.
.
.
commit
|
commitdiff
|
tree
2010-04-05
Jean-loup
Gailly
slave
_
loop():
Add fun
c
tion send_
c
ommand(
)
to
c
lean
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
J
e
an-loup G
a
illy
Di
s
tributed engine: always s
l
eep in the slave to avo
i
d
.
.
.
commit
|
commitdiff
|
tree
2010-04-04
J
ean
-
loup Ga
i
l
l
y
Move
uct_notif
y
() to slave
.
c
commit
|
commitdiff
|
tree
2010-04-04
Jean-loup Gailly
Merge branch 'master' into derm
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gailly
Distributed engine: support the kg
s
-
r
ule
s
command
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gailly
uct
_
genmo
v
es(
)
: call prepare_m
o
v
e
() earlier to avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Jean-
l
oup Gailly
Merge bra
n
ch 'master' into
d
erm
commit
|
commitdiff
|
tree
2010-04-03
Jean-loup Gailly
Distributed engine: exchange al
s
o am
a
f stats
b
e
tween
.
.
.
commit
|
commitdiff
|
tree
2010-04-03
Je
a
n-loup Gailly
Check all memo
r
y allocations to a
v
o
id core dum
p
w
h
en
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-l
o
u
p Gailly
Remove gtp_id in str
u
ct uct, not n
e
eded anymore
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-lo
u
p
G
ai
l
ly
Merge branch 'dist' into derm
commit
|
commitdiff
|
tree
2010-04-02
Jean-loup Gailly
tree_init: e
x
it cleanly i
n
st
e
ad of
c
ore
dump when runni
n
g
.
.
.
commit
|
commitdiff
|
tree
2010-04-02
Jean-lo
u
p
Gailly
D
ist
r
i
b
ute
d
engine: node received from master may not
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup
Gail
l
y
Avoid m
e
mory leak
i
n
uc
t
_genmove
s
()
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gailly
M
ake distribute
d
engine much
les
s
verbose by default
.
commit
|
commitdiff
|
tree
2010-04-01
J
e
a
n-loup Gailly
Distributed engine: exchange play
e
d
_game
s
be
t
ween ma
s
ter
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gai
l
ly
Distribut
e
d engin
e
: fi
x
incor
r
ect
s
tats a
c
co
u
nt
i
ng
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Jean-loup Gai
l
ly
Di
s
t
r
ibut
e
d en
g
ine: fi
x
keep_
l
o
o
kin
g
in slave to avoid
.
.
.
commit
|
commitdiff
|
tree
2010-04-01
Je
a
n-lou
p
Gailly
Dis
t
rib
u
ted en
g
in
e
code c
l
eanu
p
: split sel
e
ct_best_move
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gailly
D
i
stribute
d
engine: force waiting fo
r
a new com
m
a
nd
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
J
e
a
n
-loup Gailly
Di
s
tributed eng
i
ne se
l
ect_best_m
o
v
e
():
simplify code
.
commit
|
commitdiff
|
tree
2010-03-31
J
e
a
n
-l
o
up
Gai
l
ly
Distr
i
but
e
d eng
i
ne get_replies(): wait for at l
e
ast
.
.
.
commit
|
commitdiff
|
tree
2010-03-31
Jean-loup Gai
l
ly
Distr
i
bute
d
en
g
ine: acce
p
t reply to a prev
i
ous g
e
n
m
oves
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-loup Gailly
Distribut
e
d engine: remove s
u
pport
f
or temp r
e
plies
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-loup
Gailly
Distributed
engine: master sends regular
stats updat
e
s
.
.
.
commit
|
commitdiff
|
tree
2010-03-30
Jean-loup
G
ailly
D
istribute
d
engine: slaves
k
eep t
h
ink
i
n
g after genmoves
.
.
.
commit
|
commitdiff
|
tree
2010-03-25
Jean-loup Gailly
Dist
r
ib
u
ted engine: move time parsing to uct_gen
m
oves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
Jean
-
l
oup Gail
l
y
Distr
i
bute
d
engine: do not
f
orward time_le
f
t to slaves
.
.
.
commit
|
commitdiff
|
tree
2010-03-20
J
e
an-lou
p
Gai
l
ly
Set RUL
E
S
_CHINESE a
s
d
e
f
a
ul
t
.
commit
|
commitdiff
|
tree
2010-03-18
Jean-loup
Gailly
Merge b
r
anch 'mast
e
r' into derm
commit
|
commitdiff
|
tree
2010-03-18
Jean-loup Gaill
y
Dis
t
ributed
engine: unblock main
thread after
a
sla
v
e
.
.
.
commit
|
commitdiff
|
tree
2010-03-18
Je
a
n-loup
G
ailly
Limit worst thinking time f
o
r sudden death games, to
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
J
ean-loup G
a
illy
D
is
t
r
i
buted e
n
g
ine: avoid infi
n
it
e
lo
o
p
re
s
ending c
o
mmand
.
.
.
commit
|
commitdiff
|
tree
2010-03-16
Je
a
n-lou
p
G
a
illy
Fix the
6
e
c3ca4
fix: a late slave di
d
n't g
e
t correct
.
.
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-loup Gaill
y
Suppo
r
t th
e
"
kgs-rules"
g
tp
command
.
commit
|
commitdiff
|
tree
2010-03-15
Je
a
n-loup Gai
l
ly
di
s
tributed
.
c: ma
k
e
global
v
ariables
static
.
commit
|
commitdiff
|
tree
2010-03-15
Jean-lo
u
p Gaill
y
D
istrib
u
ted
e
ngine: slaves send tem
p
orary re
p
l
ies co
n
tinuously
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-lo
u
p Gail
l
y
z
zgo: always re
s
et the defau
l
t tim
e
for a new game
.
commit
|
commitdiff
|
tree
2010-03-11
J
e
an-
l
oup Gailly
get
_
rep
l
ies: avoi
d
uniniti
a
liz
e
d
variable "now"
.
commit
|
commitdiff
|
tree
2010-03-11
Jean-loup Ga
i
lly
Distributed master sends ti
m
e i
n
fo to slaves in
g
enm
o
ves
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
J
ean
-
l
oup Ga
i
lly
gtp
.
c
:
av
o
id compilation warning for
s
leep()
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-lo
u
p
G
a
illy
Display the
ownermap also for t
h
e
distribu
t
ed slav
e
.
commit
|
commitdiff
|
tree
2010-03-10
Jean
-
loup
G
a
i
lly
boa
r
d_pri
n
t_cu
s
t
o
m
: co
n
struct
a
str
i
n
g
and print it
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
Merge branch
'time
'
into derm
commit
|
commitdiff
|
tree
2010-03-10
Jean-loup Gailly
Do n
o
t waste t
i
me if we
a
re wi
n
ni
n
g
.
Spend up t
o
worst
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
Jean
-
l
oup
Gailly
Always use at leas
t
h
alf the
d
esired
t
ime
.
commit
|
commitdiff
|
tree
2010-03-10
Jean-l
o
up Gaill
y
Incr
e
ase
MI
N
_
MOVES
_
L
EFT from 10
to 30 to give mu
c
h
.
.
.
commit
|
commitdiff
|
tree
2010-03-10
J
e
a
n
-loup Gailly
Dis
t
ributed slave: do
n
o
t clear the
t
ree before m
o
ve
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
J
e
an-loup Gailly
Distr
i
buted eng
i
n
e
: lo
g
number of replies
and threads
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-lou
p
Gailly
Fix final_status_list argument (again
)
.
commit
|
commitdiff
|
tree
2010-03-09
Jean-
l
o
u
p Gail
l
y
S
e
nd genmove
and final_status
_
l
ist
i
n the dedicated
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Je
a
n-
l
o
u
p Gailly
F
i
x co
m
m
e
n
ts about com
m
and history
.
commit
|
commitdiff
|
tree
2010-03-09
J
ean
-
loup Gailly
Distribu
t
ed
e
n
gine:
resend only
pa
r
tial
command history
.
.
.
commit
|
commitdiff
|
tree
2010-03-09
Jea
n
-loup G
a
il
l
y
Me
r
ge branch 'm
a
ste
r
' into derm
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gailly
dist
r
ibuted e
n
gine: add
d
ebug info
when not g
e
tting
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup
G
ailly
Supp
o
rt the
k
gs-game_
o
ver co
m
mand
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gailly
If
sl
a
ve has ne
v
e
r seen boardsize or clear_board, ask
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-l
o
u
p Gailly
Me
r
g
e
bran
c
h
'mast
e
r' in
t
o
derm
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gaill
y
Set
boar
d
->size even if BOA
R
D
_SI
Z
E is defined, for
.
.
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup Gailly
Merge branc
h
'master
'
i
n
to derm
commit
|
commitdiff
|
tree
2010-03-08
Jean
-
loup Gailly
distribute
d
_notify
:
final_
s
tatus_
l
ist needs an
a
rgument
.
commit
|
commitdiff
|
tree
2010-03-08
Jean-loup
Gailly
Suppo
r
t ab
s
olute number of
games f
o
r
d
istri
b
uted engine
.
commit
|
commitdiff
|
tree
2010-03-07
Je
a
n-
l
o
up Gailly
Slave thread
:
check
f
or upd
a
ted command before
replyin
g
.
commit
|
commitdiff
|
tree
2010-03-07
Jean-loup Gail
l
y
d
i
stribut
e
d eng
i
n
e
: do not re
s
end history
continousl
y
.
commit
|
commitdiff
|
tree
2010-03-07
J
ean-loup Gailly
gtp_
p
a
r
se: do not
e
x
e
cute commands
t
h
at
the engine
.
.
.
commit
|
commitdiff
|
tree
2010-03-07
J
e
a
n-loup
Gail
l
y
Merg
e
b
ranch 'master' into derm
commit
|
commitdiff
|
tree
2010-03-06
Jean-
l
oup G
a
illy
open_c
l
i
e
nt_connectio
n
:
ch
e
ck
r
esult of get
h
ostbyna
m
e()
commit
|
commitdiff
|
tree
2010-03-06
Jean-lo
u
p Gaill
y
d
ist
r
ib
u
t
ed en
g
ine: format ip add
r
ess on
fixed
l
ength
.
.
.
commit
|
commitdiff
|
tree
2010-03-05
J
ean-lo
u
p
G
ailly
Remov
e
sp
u
rious br
e
ak for -
s
lave option
.
commit
|
commitdiff
|
tree
2010-03-05
Jean-loup Gailly
Merge branc
h
'dist' in
t
o
d
erm
commit
|
commitdiff
|
tree
2010-03-05
Je
a
n-loup
Gai
l
ly
Sl
a
ve part of the distributed
engine
.
commit
|
commitdiff
|
tree
2010-03-05
J
ean-lou
p
Gailly
Suppo
r
t log
p
roxy for the di
s
t
ribu
t
ed engi
n
e
.
commit
|
commitdiff
|
tree
2010-03-05
Jean-loup Gailly
Master
part of t
h
e
d
ist
r
ibuted
eng
i
ne
.
First
v
e
r
sion
.
.
.
commit
|
commitdiff
|
tree
2010-03-05
Jean-lou
p
Gaill
y
Support redirecting st
d
in, stdout & stderr to sockets
.
commit
|
commitdiff
|
tree
2010-02-24
Jean-loup Gailly
tree_
g
ar
b
age_collect: prune less agg
r
essive
l
y (
o
k
to
.
.
.
commit
|
commitdiff
|
tree
2010-02-23
Jean-lou
p
Gailly
tree_g
a
rbage_collec
t
:
r
e
m
ove arbitrary constant
2
0
.
commit
|
commitdiff
|
tree
2010-02-22
Jean-loup Ga
i
lly
Make max_tree_size work
e
v
e
n
if long is 32 bits
.
commit
|
commitdiff
|
tree
2010-02-21
J
e
an-loup
G
a
illy
For fast_allo
c
max_tree_
s
ize now includes the temp
.
.
.
commit
|
commitdiff
|
tree
2010-02-21
Jean-loup Gailly
Garbage coll
e
ct the tree by
prefere
n
c
e
when
po
n
d
e
ring
.
commit
|
commitdiff
|
tree
2010-02-21
Jean-lo
u
p Gailly
Garbage
collect the tree
ear
l
y
if t
h
e top n
o
de has
.
.
.
commit
|
commitdiff
|
tree
2010-02-19
J
ean-loup Gailly
Display the cha
n
ge in root
playouts to allow easier
.
.
.
commit
|
commitdiff
|
tree
2010-02-18
Jean-loup Gailly
Do
not prevent fut
u
re node e
x
pansion when p
r
uning
t
ree
.
commit
|
commitdiff
|
tree
2010-02-18
J
e
a
n-loup Gai
l
ly
Alert but do
no
t
crash o
n
te
m
p
tree
o
v
e
r
flow
.
commit
|
commitdiff
|
tree
2010-02-18
Jean-loup Gailly
Pres
e
rve relative or
d
er of
ch
i
ldren when garba
g
e collect
i
ng
.
.
.
commit
|
commitdiff
|
tree
2010-02-14
J
e
an-loup Gai
l
l
y
Add opt
i
on ter
r
itor
y
_scoring
to sup
p
ort Japanese rules
.
commit
|
commitdiff
|
tree
2010-02-14
Jean-loup Gailly
Forc
e
od
d
k
o
mi for Japanese rule
s
to avoid
l
o
sing a
.
.
.
commit
|
commitdiff
|
tree
2010-02-11
Jean-lou
p
Gailly
Add command l
i
ne opti
o
n fast_alloc
.
commit
|
commitdiff
|
tree
2010-02-11
Je
a
n-loup Gaill
y
P
r
une i
n
s
i
ngle
p
ass to sp
e
ed up
.
Ad
d
pl
a
yout threshold
.
.
.
commit
|
commitdiff
|
tree
2010-02-06
Jean-loup Gai
l
l
y
Use same t
e
s
t f
o
r fu
l
l tr
e
e i
n
t
r
e
e_fast_alloc_node
.
.
.
commit
|
commitdiff
|
tree
2010-02-04
Jean-loup Gail
l
y
F
o
r non-canadi
a
n byoyomi wit
h
N>1 periods, keep last
.
.
.
commit
|
commitdiff
|
tree
2010-02-04
Jean-
l
o
u
p
Gailly
Fi
x
ed bad
estim
a
t
e of max_time for non-canad
i
an byoyom
i
.
commit
|
commitdiff
|
tree
2010-02-04
Jean-loup
Ga
i
lly
For TD_GA
M
ES (no time
c
o
nt
r
ol), set
w
orst
_
playou
t
s
.
.
.
commit
|
commitdiff
|
tree
2010-02-04
J
ean
-
lou
p
Gailly
N
ew o
p
t
i
ona
l
fa
s
t
_
alloc mode, allo
c
a
t
ing all nodes
.
.
.
commit
|
commitdiff
|
tree
2010-02-04
Jean-loup Gail
l
y
Su
p
p
r
ess unused tree_get_node()
.
commit
|
commitdiff
|
tree
2010-02-04
Jean-loup Gailly
Use MIN_FREE_MEM_PERCENT instead of PONDERING_
M
AX_MEM_PE
R
CENT
.
commit
|
commitdiff
|
tree
2010-02-03
Jean
-
l
oup Ga
i
l
ly
F
ix
p
r
evious fix on
p
a
s
s_
l
imit
.
commit
|
commitdiff
|
tree
2010-02-01
Jean-loup Gailly
Do n
o
t use all
m
emo
r
y during pondering
.
commit
|
commitdiff
|
tree
2010-02-01
Jean
-
loup Gailly
Free nodes
in ba
c
k
g
round, to get accurate time con
t
rol
.
.
.
commit
|
commitdiff
|
tree
2010-02-01
J
e
an-l
o
up Gailly
Do not res
i
gn if we're so short o
f
time that ev
a
luatio
n
.
.
.
commit
|
commitdiff
|
tree
next