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-20
Stathis Kamperi
s
Merge b
r
anch '
e
xp-hash' into
exp-fsm
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamper
i
s
Don't c
h
eck < 0 for unsigned expression
commit
|
commitdiff
|
tree
2007-09-20
Stathi
s
Kamperis
Merge branch 'exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
ris
Merge htable_
g
et_first_
e
lm()
in htable_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
Merge bra
n
ch 'exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-20
S
t
athis
Kamperis
Ad
d
htable_get_firs
t
/next_element() functio
n
s
for htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
Remove bogus cas
t
for
s
tat
e
->st_ke
y
commit
|
commitdiff
|
tree
2007-09-19
Sta
t
his Kamp
e
ris
Rearrange function prototypes'
order
commit
|
commitdiff
|
tree
2007-09-19
Stathis Ka
m
peris
F
i
x typo in
comm
e
nt
commit
|
commitdiff
|
tree
2007-09-19
Stathis
Kamperis
fsm_valid
a
te
(
) checks if FSM is empty
commit
|
commitdiff
|
tree
2007-09-19
Stathis Ka
m
peris
Check if
t
he transition is made
t
o a
n
exist
e
nt sta
t
e
commit
|
commitdiff
|
tree
2007-09-19
St
a
t
h
is K
a
mperis
M
erge branch 'exp-has
h
'
i
nto exp-fsm
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Kampe
r
is
Add
t
e
s
t case for
h
table_
t
r
a
verse
commit
|
commitdiff
|
tree
2007-09-19
Stathi
s
Kamperis
Add htabl
e
_get_size
(
), ht
a
ble_ge
t
_used(
)
,
htable_
t
r
averse()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
M
erge
b
ranch 'exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis Kamperis
Add stub for hta
b
le_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kampe
r
is
Merge b
r
anch 'exp
-
ha
s
h' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s
Kamperis
F
ix t
y
po
i
n comment
commit
|
commitdiff
|
tree
2007-09-18
Stathis Kamperis
Use sizeof object instead of
s
ize
o
f(t
y
pe)
commit
|
commitdiff
|
tree
2007-09-18
Sta
t
his K
a
m
pe
r
is
Add enumeration c
o
nstants for fs
m
_valida
t
e()
commit
|
commitdiff
|
tree
2007-09-18
Stathis Kamperis
Add stubs for fsm_valid
a
t
e
()
commit
|
commitdiff
|
tree
2007-09-18
Stathis
K
amperis
A
d
d
T
O
D
O
file
commit
|
commitdiff
|
tree
2007-09-18
Stathi
s
Kampe
r
is
Add
stat
e
_
get_key() func
t
ion
commit
|
commitdiff
|
tree
2007-09-18
Stathis K
a
mperi
s
S
i
mpl
i
fy pointer expression
commit
|
commitdiff
|
tree
2007-09-17
Stathis Kamperis
Adapt Makefile to new
name rm
c
om
commit
|
commitdiff
|
tree
2007-09-17
Stathis Ka
m
peris
R
e
nam
e
ma
i
n
.
c to rmcom
.
c file
commit
|
commitdiff
|
tree
2007-09-17
Stathis
K
am
p
eris
Remove bogus functions
commit
|
commitdiff
|
tree
2007-09-17
Stath
i
s Kamperis
Add -
g
flag
to gcc options
commit
|
commitdiff
|
tree
2007-09-17
Stathi
s
K
a
mperis
FSM
e
xam
p
le to remove co
m
ments from a C
expression
.
.
.
commit
|
commitdiff
|
tree
2007-09-17
St
a
th
i
s
K
amp
e
ris
Add
fsm_get_state() function
commit
|
commitdiff
|
tree
2007-09-15
Stathis Kamperis
f
s
m_pr
o
cess_even
t
()
should pass data t
o
ev
e
nt handler
commit
|
commitdiff
|
tree
2007-09-15
Stathis Ka
m
per
i
s
Don't exec
u
te event handl
e
r
i
f it
'
s NULL
commit
|
commitdiff
|
tree
2007-09-15
S
tathi
s
Kamperis
Add void
*data
a
rg in fs
m
_process
_
event()
commit
|
commitdiff
|
tree
2007-09-14
S
t
athis Kamperis
Stress test in main
.
c
commit
|
commitdiff
|
tree
2007-09-14
Stathis Ka
m
peris
Fix a ty
p
o
i
n
pointer
commit
|
commitdiff
|
tree
2007-09-14
Stathis
K
am
p
eris
F
i
x
a t
y
p
o
in pointer
commit
|
commitdiff
|
tree
2007-09-14
Stathis
K
amperis
Implement fsm_
s
et_s
t
ate() and
fs
m
_process
_
e
vent()
commit
|
commitdiff
|
tree
2007-09-14
S
t
athis Kamp
e
ris
Adapt to
n
ew free() api in regard
to HT_FREE* flags
commit
|
commitdiff
|
tree
2007-09-14
Stath
i
s Kamperis
M
erge bran
c
h 'exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-14
S
t
athis Kamperis
Add fl
a
gs HT_FREEKEY and HT_FREEDAT
A
in ht
a
ble_free_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis K
a
mpe
r
i
s
Use temp
h
a
ck in htable_f
r
ee_*(
)
commit
|
commitdiff
|
tree
2007-09-11
Stathis
Kam
p
eris
Fix
typo
in co
m
ment
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
is Kam
p
eris
Make ca
l
lback
f
unct
i
on
s
s
t
atic
commit
|
commitdiff
|
tree
2007-09-11
Stathis Ka
m
peris
Ad
d
s
ome warnin
g
fl
a
gs to Makefile
commit
|
commitdiff
|
tree
2007-09-11
St
a
this Kamperis
Merge b
r
anch 'e
x
p
-
has
h
' into exp-
f
s
m
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
is Kamp
e
ris
htable_free_obj
e
c
ts() -> htable
_
free_all_obj(
)
in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
prin
t
f callback -> myprintf so as not to shadow s
t
dio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
is Kam
p
eris
F
i
x c
a
st
s
to
h
onour const keyword
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperi
s
Add M
a
kefile
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
is Ka
m
peris
Mer
g
e br
a
n
ch
'exp-hash
'
into
e
x
p-fs
m
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
Remove
r
edundant , when in
enumeration list
commit
|
commitdiff
|
tree
2007-09-11
St
a
thi
s
Kamper
i
s
state
_
init
(
) takes a *
*
a
s
an arg now
commit
|
commitdiff
|
tree
2007-09-11
St
a
this Kamperis
Initial
i
m
p
ort of fsm_*() family funct
i
ons
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is Ka
m
pe
r
is
HT_REPLACED
-
> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
this Kamperis
Merge b
r
anch
'exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-10
Stathis
Kamperis
HT_REPLACED -> HT_EXISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
A
dapt
s
tate interface to ne
w
htable memory management
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
S
t
a
t
his K
a
mperis
Mer
g
e
b
ranch 'exp-
h
a
s
h'
i
nto
ex
p
-fs
m
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
I
m
plement h
t
a
ble_free_o
b
j() func
t
i
o
n
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
e
r
is
hta
b
le_insert()
d
oesn't ovewrit
e
existing data
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis Kamperis
htable_in
s
ert()
r
etu
r
ns HT_R
E
PLA
C
ED if key already
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Fix state_remo
v
e() in re
g
a
rd
to key
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
e
ris
Merg
e
br
a
nch 'exp-h
a
sh
'
into exp-f
s
m
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
F
r
ee hn_
k
e
y
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Alloc
a
t
e
memor
y
for hn_key
similar
to hn_da
t
a
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Me
r
ge b
r
anch 'exp-hash' into e
x
p
-f
s
m
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
Free old data when
i
nser
t
ing new en
t
ry with e
x
isting k
e
y
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
d
u
mmy
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kam
p
e
r
i
s
C
all ht
a
ble_free_o
b
jects() in state_free()
commit
|
commitdiff
|
tree
2007-09-09
Stathis K
a
mperis
Merge br
a
n
c
h 'exp-ha
s
h' into
exp-fsm
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Add
h
table_free_obj
e
cts()
tha
f
r
ees p
n
ode->d
a
ta
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperi
s
U
se usigned
i
nt data ty
p
e for
key
commit
|
commitdiff
|
tree
2007-09-09
S
t
athis Kamperis
Add ST_NOTF
O
UND in s
t
r
et_t
enum
commit
|
commitdiff
|
tree
2007-09-09
St
a
this Kamperis
Ad
d
st
a
te_rem_evt() and a stub for
s
t
a
t
e_free()
commit
|
commitdiff
|
tree
2007-09-09
Sta
t
hi
s
Kamperis
Ge
n
era
l
clean
u
p
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ris
Change state_
c
mpf() to be
mo
r
e readable
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Initial
imp
o
rt of fsm fil
e
s
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Merge branch 'exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kampe
r
is
Pass
callba
c
k function in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kampe
r
is
M
e
rge branch '
e
xp-hash' into
e
x
p
-fsm
commit
|
commitdiff
|
tree
2007-09-09
St
a
this Kamperis
#include <stddef
.
h> in htabl
e
.
h for size_
t
t
ype
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamp
e
ris
htable
_
grow()
s
hould retur
n
HT_OK on success
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperis
Fix
a
typo
i
n comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kam
p
eris
Merg
e
branch 'exp-h
a
sh'
commit
|
commitdiff
|
tree
2007-09-08
St
a
this Kampe
r
is
Ad
d
comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
C
o
n
stif
y
variable
i
n
h
tabl
e
_
print()
commit
|
commitdiff
|
tree
2007-09-08
Stath
i
s Kamper
i
s
Add hta
b
le_grow
(
)
commit
|
commitdiff
|
tree
2007-09-08
Stathis K
a
mper
i
s
u
_int -
>
u
ns
i
gned in
t
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Add comment i
n
main()
commit
|
commitdiff
|
tree
2007-09-08
S
tathis K
a
mpe
r
i
s
c
h
anges
i
n djb_h
a
s
h
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constif
y
some var
i
ables
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperis
Add a hhea
d
_t typed
e
f
f
o
r struc
t
htablehead
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
peris
Add proper error h
a
n
d
ling in htable_*()
f
unction
s
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamp
e
r
i
s
ptable
-
> htable in
main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
a
mperis
Add
htable_free()
and don't forget to
update ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
Stathis Ka
m
peris
Rename htable_
d
elete() to htab
l
e_remo
v
e()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
F
ix t
y
p
o
and remove
w
hitespace
commit
|
commitdiff
|
tree
2007-09-07
Sta
t
his
Kamperis
Fix comment i
n
previous
c
ommit
commit
|
commitdiff
|
tree
2007-09-07
St
a
t
h
is Kamperis
Add h
t
able_
d
elete() function
commit
|
commitdiff
|
tree
2007-09-07
Stathis
K
a
m
peris
str -> key in djb_
h
ash(
)
function
commit
|
commitdiff
|
tree
next