repo.or.cz
/
eleutheria.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'exp-hash' into exp-fsm
2007-09-19
St
a
th
i
s Kam
p
eris
Merge branch 'e
x
p-
h
ash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kamperis
Fix
typo in comment
commit
|
commitdiff
|
tree
2007-09-18
St
a
this Kamperi
s
U
se sizeo
f
object instead of sizeof(type)
commit
|
commitdiff
|
tree
2007-09-18
St
a
t
h
is
K
amperis
A
dd enumeration con
s
tants f
o
r fsm_vali
d
ate()
commit
|
commitdiff
|
tree
2007-09-18
Stathis Kamperi
s
Add stubs for fsm_v
a
lidate()
commit
|
commitdiff
|
tree
2007-09-18
Stath
i
s Kamperis
Add
TODO file
commit
|
commitdiff
|
tree
2007-09-18
Stathis Kamperis
Add state_get_k
e
y() funct
i
on
commit
|
commitdiff
|
tree
2007-09-18
Stathis Kamperis
S
i
mplify pointer expre
s
s
ion
commit
|
commitdiff
|
tree
2007-09-17
Stathis Kamperis
Ada
p
t Makefile to
n
ew na
m
e rmcom
commit
|
commitdiff
|
tree
2007-09-17
Stathis
Kamperis
Rename main
.
c
t
o rmcom
.
c file
commit
|
commitdiff
|
tree
2007-09-17
S
tat
h
is
K
amperis
Remove bog
u
s functions
commit
|
commitdiff
|
tree
2007-09-17
S
t
a
t
hi
s
Kamperis
A
d
d -g f
l
ag
t
o
gcc optio
n
s
commit
|
commitdiff
|
tree
2007-09-17
St
a
this Kamperis
F
S
M
example t
o
r
e
m
ove comments from a
C expr
e
ssion
.
.
.
commit
|
commitdiff
|
tree
2007-09-17
S
t
ath
i
s Kamperis
Add f
s
m
_
get_s
t
ate
(
) function
commit
|
commitdiff
|
tree
2007-09-15
Stat
h
is Kamper
i
s
fsm_process_event() should pass d
a
ta to
e
vent handler
commit
|
commitdiff
|
tree
2007-09-15
Sta
t
his Kamperis
Don'
t
ex
e
cute event handler if it's NULL
commit
|
commitdiff
|
tree
2007-09-15
Stath
i
s Kamper
i
s
Add
void *data
a
rg in fsm_pro
c
e
ss_event()
commit
|
commitdiff
|
tree
2007-09-14
Stathis Ka
m
peris
Stress test in main
.
c
commit
|
commitdiff
|
tree
2007-09-14
St
a
this
K
a
mperis
Fi
x
a ty
p
o in poi
n
ter
commit
|
commitdiff
|
tree
2007-09-14
Stathis
K
amperis
F
ix a
typo i
n
pointer
commit
|
commitdiff
|
tree
2007-09-14
Sta
t
his Kamp
e
ris
I
mplement fsm_set_st
a
te()
a
n
d
fsm_process_event()
commit
|
commitdiff
|
tree
2007-09-14
S
tat
h
is Kamper
i
s
Ada
p
t to new f
r
ee(
)
api in
regard t
o
HT_FREE* f
l
a
g
s
commit
|
commitdiff
|
tree
2007-09-14
Stathis
Ka
m
peris
Merge branc
h
'exp-hash' into exp
-
fsm
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kampe
r
i
s
Add flags
H
T_FREEKEY a
n
d
HT_FRE
E
DAT
A
in ht
a
b
l
e_f
r
e
e
_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis K
a
mperis
U
s
e temp ha
c
k in htab
l
e
_free_*()
commit
|
commitdiff
|
tree
2007-09-11
Stath
i
s
K
amperis
F
i
x typo in c
o
mm
e
nt
commit
|
commitdiff
|
tree
2007-09-11
Stathi
s
Kamp
e
ris
Ma
k
e
c
a
llback f
u
nctions sta
t
ic
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
Add
so
m
e warning
f
lags to Makefi
l
e
commit
|
commitdiff
|
tree
2007-09-11
St
a
this Kamperis
Merge branc
h
'e
x
p-hash
'
into exp-fsm
commit
|
commitdiff
|
tree
2007-09-11
Stathi
s
Kamp
e
ris
hta
b
le_free_
o
bject
s
(
)
-> htable_free_all_obj() in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
printf callback ->
m
yprintf so as no
t
to shadow stdio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
F
ix casts to honour const ke
y
word
commit
|
commitdiff
|
tree
2007-09-11
Stathi
s
Kamperis
A
d
d
Ma
k
efile
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamper
i
s
Merge
branch 'e
x
p-has
h
' into
e
xp
-
f
s
m
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
i
s
Kamperis
Remove redundant
,
w
hen in en
u
meration list
commit
|
commitdiff
|
tree
2007-09-11
S
t
at
h
is Kamperis
state_init() tak
e
s a ** as
a
n arg now
commit
|
commitdiff
|
tree
2007-09-11
S
t
a
this Kamperis
I
n
i
tial import of
f
sm_
*
() fa
m
ily
f
unctio
n
s
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
eris
H
T_REPLAC
E
D -> HT
_
EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
eris
Merge
branch 'exp-hash' i
n
to exp-fs
m
commit
|
commitdiff
|
tree
2007-09-10
Stathis Ka
m
peris
HT_REPLAC
E
D ->
HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Ka
m
peris
Ada
p
t state inte
r
face to new ht
a
ble memo
r
y
manag
e
m
e
n
t
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis
Kamp
e
ris
M
e
rge
b
ranch 'exp-hash
'
into ex
p
-fsm
commit
|
commitdiff
|
tree
2007-09-10
Stathis
Kamper
i
s
Implement htable_free_obj() function
commit
|
commitdiff
|
tree
2007-09-10
St
a
t
h
is Kamperis
htable_ins
e
rt()
d
o
e
sn't
o
vewrite e
x
is
t
ing
data
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis
Kamperis
h
t
able_i
n
sert() retur
n
s HT_R
E
PLA
C
E
D if key already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Fix state_remove
(
) in regard to k
e
y
commit
|
commitdiff
|
tree
2007-09-10
St
a
t
h
is Kamperis
Merge bra
n
ch
'exp-has
h
'
i
nto exp-fsm
commit
|
commitdiff
|
tree
2007-09-10
St
a
t
h
i
s Kam
p
eris
Free hn_key
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Ka
m
peris
Allocat
e
mem
o
ry for h
n
_k
e
y
simi
l
ar
to h
n
_da
t
a
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is Kampe
r
is
Merge branch 'exp-hash' i
n
to exp-fsm
commit
|
commitdiff
|
tree
2007-09-10
S
tathis Kamperi
s
F
r
ee old data
wh
e
n ins
e
rting new e
n
tr
y
with existing key
commit
|
commitdiff
|
tree
2007-09-10
Stath
i
s Kam
p
e
r
is
du
m
my
commit
|
commitdiff
|
tree
2007-09-09
St
a
this Kam
p
e
ris
Call htabl
e
_f
r
ee_objects() in state
_
free()
commit
|
commitdiff
|
tree
2007-09-09
Stat
h
i
s Kamp
e
ris
Merg
e
b
ranch
'exp-ha
s
h'
i
nto exp-fsm
commit
|
commitdiff
|
tree
2007-09-09
Stathis
K
amperis
Add ht
a
ble_free_objects()
tha
f
rees pnode->
d
a
ta
commit
|
commitdiff
|
tree
2007-09-09
Stathis
Kamperis
Us
e
us
i
gned int da
t
a
t
y
pe for key
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis Ka
m
peris
Ad
d
ST_NOTFO
U
ND in stret_t enum
commit
|
commitdiff
|
tree
2007-09-09
S
t
ath
i
s
Kampe
r
is
A
d
d state_rem_ev
t
()
an
d
a
s
tu
b
f
or
state
_
fr
e
e
(
)
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Gener
a
l
c
leanup
commit
|
commitdiff
|
tree
2007-09-09
Stathis K
a
mperi
s
Change state_cmpf(
)
t
o be more r
e
adable
commit
|
commitdiff
|
tree
2007-09-09
Stat
h
is Kamperis
Initial im
p
ort
of
fsm files
commit
|
commitdiff
|
tree
2007-09-09
S
tathi
s
Ka
m
per
i
s
M
er
g
e branch 'exp-hash'
i
nt
o
exp-fsm
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Pass
c
all
b
a
c
k f
u
nctio
n
in htable_in
i
t()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ris
M
e
rge
b
r
a
nch 'exp-hash' into
exp-fsm
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperi
s
#includ
e
<
s
t
ddef
.
h> in htable
.
h for
size_t type
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
htable_gro
w
(
)
sho
u
ld return H
T
_OK on success
commit
|
commitdiff
|
tree
2007-09-08
S
tathis Kamperis
Fix a typo in co
m
ment
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kamper
i
s
Merg
e
b
ranch 'exp-hash'
commit
|
commitdiff
|
tree
2007-09-08
Sta
t
his Kamperis
Add co
m
ment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperi
s
Constify
vari
a
ble in hta
b
le_p
r
int()
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
K
amp
e
r
is
Add
htabl
e
_grow()
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s
K
amperis
u_int
-
>
unsigned i
n
t
commit
|
commitdiff
|
tree
2007-09-08
S
t
ath
i
s
Kamperis
Add com
m
ent in main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperi
s
ch
a
n
ges in djb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s
K
amper
i
s
Constify some varia
b
les
commit
|
commitdiff
|
tree
2007-09-08
S
tathis Kamperis
Add a hhead_t typedef
for
st
r
uc
t
ht
a
blehead
commit
|
commitdiff
|
tree
2007-09-08
S
t
athis Kamperi
s
Add
p
roper error
h
and
l
ing in htable_*() f
u
nction
s
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
mperis
ptabl
e
-> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
St
a
t
h
i
s Kamperis
Add htable_free() and
don't fo
r
get
t
o upd
a
te
h
t_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
R
e
name htable_
d
elete() to htable_remove()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix t
y
p
o
and remove whitespace
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamperis
F
i
x comme
n
t in pre
v
ious commit
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
Kamp
e
r
is
Add htable_delete() f
u
nction
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamp
e
ris
str ->
k
ey in djb_hash() func
t
ion
commit
|
commitdiff
|
tree
2007-09-07
Stathis K
a
m
p
eris
Include arguments' names in
f
uncti
o
n p
r
ototypes
commit
|
commitdiff
|
tree
2007-09-07
S
t
ath
i
s Kamperis
pa
s
s
v
o
id *key ar
g
ument in h
t
a
b
l
e_print()
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
K
amperis
Add
c
omme
n
ts
f
or
h
t_s
i
z
e
v
a
riable
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
amperis
C
o
nstif
y
variable in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamp
e
r
i
s
a
d
d
T
O
D
O
entr
y
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Move
h
table
f
iles
t
o htable/ s
u
bdirectory
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kamperi
s
Split htable
imp
l
ementation t
o
htable
.
c
and htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
St
a
th
i
s Kamperis
Add some comments
commit
|
commitdiff
|
tree
2007-09-07
Stathi
s
K
amperis
Constify some variables
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
ht_printf()
h
as
a void
*data a
r
gu
m
ent
commit
|
commitdiff
|
tree
2007-09-07
Stathis
ht_cmpf() ret
u
rns 0 if args a
r
e
equ
a
l
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Add
callb
a
ck functions for has
h
, co
m
pare and print
commit
|
commitdiff
|
tree
2007-09-06
Stathis
A
d
d htable_lookup()
commit
|
commitdiff
|
tree
2007-09-06
S
tathis
Fix a s
e
gfault
commit
|
commitdiff
|
tree
2007-09-06
Stathis
Fix buffer ove
r
runs
commit
|
commitdiff
|
tree
2007-09-06
S
ta
t
hi
s
Con
s
tify varia
b
le
commit
|
commitdiff
|
tree
next