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
Add -g flag to gcc options
2007-09-17
Stath
i
s Kamperi
s
Add -g
flag to gcc opti
o
ns
commit
|
commitdiff
|
tree
2007-09-17
S
t
a
t
his Kamperis
FSM
exa
m
ple to remove co
m
ments from a C expression
.
.
.
commit
|
commitdiff
|
tree
2007-09-17
Stathis K
a
mper
i
s
Add
f
s
m_get_state() function
commit
|
commitdiff
|
tree
2007-09-15
S
tathis Kam
p
eris
fsm_p
r
ocess_event() s
h
ould pass data
to event handl
e
r
commit
|
commitdiff
|
tree
2007-09-15
Stathis
Kamperis
D
o
n
'
t
execute event handler if it's
NULL
commit
|
commitdiff
|
tree
2007-09-15
Stathis Kamperis
Add v
o
i
d
*
data arg in f
s
m
_
proces
s
_eve
n
t()
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamperis
Stress
t
est
i
n
m
a
in
.
c
commit
|
commitdiff
|
tree
2007-09-14
St
a
t
his
Kamperis
Fix a typo in pointer
commit
|
commitdiff
|
tree
2007-09-14
Stat
h
i
s
Kamperis
Fi
x
a
t
y
p
o in
po
i
nter
commit
|
commitdiff
|
tree
2007-09-14
Stathis
K
amperis
Imple
m
ent fsm_set
_
stat
e
() and fsm_process_event
(
)
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamperis
Adapt to new f
r
ee()
api
i
n regard to H
T
_FREE* flags
commit
|
commitdiff
|
tree
2007-09-14
Sta
t
his Kamp
e
ris
M
e
r
g
e bran
c
h 'exp-
h
ash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-14
S
t
a
t
his Kamp
e
ris
Add flags HT_F
R
EEKEY and HT_FREEDATA in htable_f
r
ee_*()
commit
|
commitdiff
|
tree
2007-09-11
S
t
a
this Kamperis
Use temp hack
i
n
htable
_
fr
e
e_*()
commit
|
commitdiff
|
tree
2007-09-11
Stathis
K
am
p
eris
F
i
x ty
p
o
in comm
e
nt
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamper
i
s
Make
ca
l
lba
c
k funct
i
o
n
s static
commit
|
commitdiff
|
tree
2007-09-11
Sta
t
his Kamperis
A
d
d so
m
e war
n
ing flags to Makefil
e
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kamperis
Merge bra
n
ch 'ex
p
-hash' into
e
xp-fsm
commit
|
commitdiff
|
tree
2007-09-11
Stathis
K
a
m
peris
htable_free_objects() -> htable
_
fre
e
_
all
_
obj()
in main
.
c
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kam
p
eris
pr
i
ntf ca
l
lbac
k
-> mypri
n
tf so a
s
not to
s
had
o
w s
t
dio
.
.
.
commit
|
commitdiff
|
tree
2007-09-11
S
tathis
Kamper
i
s
F
ix casts to
hono
u
r const
k
eywor
d
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
is
K
amperis
Add Ma
k
efil
e
commit
|
commitdiff
|
tree
2007-09-11
Stathi
s
Ka
m
pe
r
i
s
M
e
rge branch 'exp-hash' into ex
p
-fsm
commit
|
commitdiff
|
tree
2007-09-11
Stat
h
is Kamperis
R
emove redundant ,
when in enum
e
ration list
commit
|
commitdiff
|
tree
2007-09-11
Stathi
s
Kamperis
state_
i
nit() take
s
a
** as an arg
now
commit
|
commitdiff
|
tree
2007-09-11
Stathis Kam
p
eris
Ini
t
ial import of fsm_*() fa
m
il
y
functions
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
HT_REPLACED
-
>
HT_
E
X
IST
S
commit
|
commitdiff
|
tree
2007-09-10
S
t
athis
K
amperis
Me
r
ge b
r
anch '
e
x
p
-hash' into exp-f
s
m
commit
|
commitdiff
|
tree
2007-09-10
St
a
this Ka
m
pe
r
i
s
H
T
_REPLACED -> HT_E
X
ISTS
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kam
p
eris
Adapt state interface to new ht
a
ble memor
y
m
anagement
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kampe
r
is
Merg
e
bran
c
h 'exp-hash'
i
n
to exp-fsm
commit
|
commitdiff
|
tree
2007-09-10
S
t
athi
s
Kam
p
eri
s
Imple
m
e
n
t htable_f
r
e
e
_
obj() functio
n
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kamperis
h
t
a
ble
_
insert(
)
doesn'
t
o
v
ewri
t
e e
x
i
sting data
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is K
a
mperis
hta
b
le_ins
e
r
t() retur
n
s
H
T
_REPLACED if key
a
l
r
eady
.
.
.
commit
|
commitdiff
|
tree
2007-09-10
Stat
h
is
K
amperis
Fix stat
e
_re
m
ov
e
()
in rega
r
d to key
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
h
is Kamp
e
ris
Me
r
g
e
branch 'e
x
p
-
hash'
in
t
o exp-fsm
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
his K
a
mperis
Free hn_
k
e
y
commit
|
commitdiff
|
tree
2007-09-10
Stathis K
a
mperis
Allocate memory for
hn_k
e
y similar to hn_data
commit
|
commitdiff
|
tree
2007-09-10
Stathis
Kamp
e
ris
M
e
rge bra
n
ch 'e
x
p
-
has
h
' into ex
p
-fsm
commit
|
commitdiff
|
tree
2007-09-10
Sta
t
h
i
s Kam
p
e
ris
F
ree old dat
a
wh
e
n ins
e
rting new entry with exis
t
ing key
commit
|
commitdiff
|
tree
2007-09-10
Stathis Kampe
r
is
d
ummy
commit
|
commitdiff
|
tree
2007-09-09
Stathis K
a
mperis
Call htable_free_
o
bjects() i
n
state_free()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
Merge branch 'exp-hash' into ex
p
-fsm
commit
|
commitdiff
|
tree
2007-09-09
Stathis Ka
m
peris
Add htable_free_ob
j
ects() t
h
a fr
e
es pnode->data
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s
K
amperis
Use u
s
igned int data type for key
commit
|
commitdiff
|
tree
2007-09-09
Stathis
K
amperis
Add
S
T_NOTFOUND i
n
s
t
ret
_
t
enum
commit
|
commitdiff
|
tree
2007-09-09
Stathis Ka
m
peris
Add
s
tate_
r
em_evt() an
d
a stu
b
for state_free()
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
General cleanup
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperi
s
Change state_cmpf() to b
e
more readable
commit
|
commitdiff
|
tree
2007-09-09
Stathi
s
Kamperi
s
I
n
i
tial import
o
f fsm files
commit
|
commitdiff
|
tree
2007-09-09
Stathis K
a
mper
i
s
Mer
g
e bran
c
h 'exp-has
h
'
i
nto exp-
f
sm
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
P
a
ss callback functi
o
n in htable_init()
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s Kamperis
Merge br
a
nc
h
'ex
p
-hash' in
t
o exp-fsm
commit
|
commitdiff
|
tree
2007-09-09
Stathis Kamperis
#inclu
d
e
<stddef
.
h> in htable
.
h for size_t
t
ype
commit
|
commitdiff
|
tree
2007-09-09
Stath
i
s
K
am
p
er
i
s
hta
b
le_grow() sh
o
ul
d
retu
r
n HT_OK on s
u
c
cess
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kamperis
Fi
x
a ty
p
o
i
n comment
commit
|
commitdiff
|
tree
2007-09-08
Stathis Ka
m
p
eri
s
M
e
rge br
a
nch
'
exp-hash'
commit
|
commitdiff
|
tree
2007-09-08
St
a
t
h
is
K
a
m
peris
A
dd c
o
m
men
t
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constify variabl
e
i
n
htabl
e
_pri
n
t()
commit
|
commitdiff
|
tree
2007-09-08
Stathis
K
amperis
Add htable_grow()
commit
|
commitdiff
|
tree
2007-09-08
S
ta
t
h
i
s K
a
mperis
u_in
t
-> u
n
signed int
commit
|
commitdiff
|
tree
2007-09-08
Stathis
Kamp
e
ris
Add comment
in
main()
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
chang
e
s
in
d
jb_hash
commit
|
commitdiff
|
tree
2007-09-08
Stathis Kamperis
Constif
y
s
ome varia
b
le
s
commit
|
commitdiff
|
tree
2007-09-08
Stathi
s
Kamperis
Add a h
h
ead_t typ
e
def fo
r
s
tru
c
t h
t
ablehead
commit
|
commitdiff
|
tree
2007-09-08
S
tathis Ka
m
peris
Add prop
e
r error h
a
ndling i
n
ht
a
b
le_*() functions
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
p
t
able -> htable in main
.
c
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Add htable_f
r
e
e
() and don't forge
t
to update ht_size
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
tathis Kamper
i
s
Rena
m
e ht
a
ble_de
l
ete() to
h
table_rem
o
ve()
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Fix t
y
po a
n
d remov
e
whitespac
e
commit
|
commitdiff
|
tree
2007-09-07
S
tathi
s
Kamperis
Fix comment in previou
s
com
m
it
commit
|
commitdiff
|
tree
2007-09-07
Stath
i
s Kamperis
Add htable_delete
(
) functi
o
n
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamper
i
s
str -> ke
y
in djb_hash()
function
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamp
e
ris
I
n
clude arguments' na
m
es in f
u
nction protot
y
pes
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kamperis
pass void *key argume
n
t in htable_print()
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamp
e
ris
Add comments f
o
r
ht_size variable
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Kamp
e
ris
Constify variab
l
e in htable_prin
t
()
commit
|
commitdiff
|
tree
2007-09-07
S
t
athis Kam
p
eris
ad
d
T
O
DO entry
commit
|
commitdiff
|
tree
2007-09-07
St
a
this Kamp
e
r
i
s
Move htable files to htable/ subdirector
y
commit
|
commitdiff
|
tree
2007-09-07
S
tath
i
s Kamperis
S
pli
t
htable imple
m
entati
o
n to htable
.
c an
d
htable
.
.
.
commit
|
commitdiff
|
tree
2007-09-07
S
tath
i
s Kamperis
Add some co
m
m
e
nts
commit
|
commitdiff
|
tree
2007-09-07
Stathis Kamperis
Constify
s
ome variabl
e
s
commit
|
commitdiff
|
tree
2007-09-07
Stat
h
is Ka
m
peris
ht_printf() ha
s
a
void *data arg
u
ment
commit
|
commitdiff
|
tree
2007-09-06
Stathis Kamperis
h
table_init(),
htable_ins
e
rt(), htabl
e
_print()
commit
|
commitdiff
|
tree
2007-09-06
Stathis Kamperis
Initial imp
o
rt of htable
.
c
commit
|
commitdiff
|
tree
2007-09-05
Stath
i
s
Kamperis
M
a
jor c
h
ang
e
s
,
it
n
ow compiles without segfaults
commit
|
commitdiff
|
tree
2007-09-04
Sta
t
his Kamperis
In
i
tial imp
o
r
t
of hash ta
b
le implementation
commit
|
commitdiff
|
tree
2007-08-30
Stat
h
i
s
K
a
mperis
Fix
a
memo
r
y
l
eak in tailq
.
c
commit
|
commitdiff
|
tree
2007-08-30
Stathis Kamperis
Merge branch 'master' of g
i
t+
s
sh://
B
e
k
et@repo
.
or
.
cz
.
.
.
commit
|
commitdiff
|
tree
2007-08-30
Stathis Ka
m
peris
Fix a
m
emory
l
eak in slinkedlist
.
c file
commit
|
commitdiff
|
tree
2007-08-30
Stathis
K
a
m
peri
s
Fix a memory
l
eak
in sli
n
kedlist
.
c
f
ile
commit
|
commitdiff
|
tree
2007-08-24
Stathis Kam
p
eris
Simpl
i
fy
in
s
ertion of
i
t
e
ms in t
a
ilq
commit
|
commitdiff
|
tree
2007-08-24
Stath
i
s Kampe
r
is
Reg
e
nerate CON
T
E
N
T
S
file
commit
|
commitdiff
|
tree
2007-08-24
Stathis Kamperis
Revert "Re
g
ene
r
ate CONTENTS f
i
l
e
to includ
e
t
ailq
.
c"
commit
|
commitdiff
|
tree
2007-08-24
Stat
h
is Kam
p
eris
Regenera
t
e
C
ONTE
N
T
S
fil
e
to inc
l
ude tail
q
.
c
commit
|
commitdiff
|
tree
2007-08-24
Stathis Ka
m
peris
A
d
d coment in rev
e
rse tr
a
versal
in tailq
.
c
commit
|
commitdiff
|
tree
2007-08-24
St
a
this Kamperis
I
nitia
l
imp
o
rt of tailq
.
c
commit
|
commitdiff
|
tree
2007-08-24
S
t
athis Kamperis
Remove bogus pointer to head o
f
l
ist
commit
|
commitdiff
|
tree
2007-08-24
Stathi
s
Kamperis
Fix a typo
commit
|
commitdiff
|
tree
2007-08-24
St
a
t
h
is Kamperis
C
onvert double
linked
list to singled linked list
commit
|
commitdiff
|
tree
next