repo.or.cz
/
hed.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Report BAD and EOF flags in dump_blocks()
2012-10-22
P
e
tr Tesari
k
Report
BA
D
and EOF flags in
d
u
m
p
_blocks()
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
esarik
Set EOF flag correctly for newl
y
m
o
d
i
fied blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Ign
o
r
e HED_BLOC
K
_EOF in data
searches
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
Se
t
c
o
rrect EOF fla
g
for in
s
erted bloc
k
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesa
r
ik
Fix
b
lock m
e
rging in kill
_
block()
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesa
r
ik
Rewrite kill_blo
c
k_if_
e
mpty using kill_block
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tesarik
Re
m
ove
r
ecursion fr
o
m kill_block(
)
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesarik
cleanup: rename file_
k
ill_block
-
> kill
_
block
commit
|
commitdiff
|
tree
2012-10-22
Petr
Tesar
i
k
R
ew
r
ite file
_
ki
l
l
_
block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesa
r
ik
Update HED_BLOCK_A
L
LOCMAS
K
and HE
D
_BLOCK
_
STATEMASK
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Differentiate EOF blocks and the
t
e
r
minal bloc
k
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix fi
l
e commi
t
when the file size grows
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
exp
r
.
c: fix c
o
mpilation w
i
tho
u
t -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Petr Tes
a
r
i
k
Simplify bloc
k
s
hift calculat
i
on
commit
|
commitdiff
|
tree
2012-10-21
P
etr Tesarik
cleanup
:
open-code move
_
t
o
_next
(
)
commit
|
commitdiff
|
tree
2012-10-21
Pet
r
Tes
a
rik
hed_f
i
le_
c
o
m
m
i
t
:
create the file when
opening the read fd
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
cleanup:
indenting, gr
o
uping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr
T
esarik
T
ake
da
t
aoff into a
c
co
u
nt for
h
e
d_fil
e
_in
s
e
r
t
_block
commit
|
commitdiff
|
tree
2012-10-20
Petr T
e
sarik
C
reate inserted blo
c
ks as dir
t
y
commit
|
commitdiff
|
tree
2012-10-20
Petr T
e
sarik
S
horten E
O
F block whe
n
i
nserting
commit
|
commitdiff
|
tree
2012-10-20
Pet
r
Tes
a
rik
Fix hed_file_insert()
f
or blocks > FILE
_
BLO
C
K_SIZE
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
O
ptimize E
O
F chec
k
in file_set_b
l
ock and
f
i
le_set_bytes
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
Tesarik
Optimiz
e
EOF checking in hed_file_set_by
t
e
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Optimize EOF che
c
k
in hed_file_erase_
b
lock
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r Tesari
k
c
leanup: remove file argumen
t
from shrink_a
t
_xxx
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
c
l
eanup: remove the
t
ree
argument from first_
l
oad_block()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
cleanup: block_phys_size()
do
e
s
n
'
t need the file argument
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r
Tesarik
F
ix block d
e
buggin
g
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
a
rik
cleanu
p
:
remove file argument of sli
d
e_cursors()
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesa
r
i
k
cleanup: move stru
c
t
hed_tree in
t
o tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesa
r
ik
Se
p
arate out private f
i
e
l
ds
of
struct hed_fil
e
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Always
p
r
ovid
e
swap
-
r
e
lat
e
d functions
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tes
a
rik
Fix
buil
d
s without HED_
C
ONFIG_READ
A
HEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
Always provide hed_file_set_rea
d
a
head
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
Mo
v
e m
a
rks o
u
t of
t
he librar
y
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
Tesarik
Move hed_
f
ile_bloc
k
s(
)
to
fil
e
.
c
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Separate hed_expr private fields
f
rom public fields
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
parse_nu
m
b
er_dec: length is always non-zero
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
T
e
sari
k
Fix
d
ocume
n
tation
o
f numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Move checks for valid hex/bin numbe
r
s to the
helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Add bi
n
ar
y
notation for numbe
r
s
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
Reject
z
er
o
-siz
e
d hex nu
m
ber
s
('0
x
'
)
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
K
ill atom_bytestr
.
len
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Te
s
ar
i
k
Shrink
h
exadecimal numbers
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r T
e
sarik
Get rid of doubl
e
allocation
i
n
p
a
rse_n
u
mber()
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesar
i
k
Optimi
z
e free_atom()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
r
ik
Optimize ato
m
_
e
v
al
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Handle expression er
r
ors
i
n register offse
t
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
S
plit val_pars
e
() into
type-specific helpers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix a memory
l
eak on
invalid expressions
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Optimize precedence handlin
g
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
Document
o
p
e
rator precede
n
ce in
t
he manpage
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
Give
o
perators preced
e
nce
u
sing
t
he shunting-ya
r
d
a
lgorithm
commit
|
commitdiff
|
tree
2012-10-12
Petr
Tesarik
Fix neste
d
binary operations
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesa
r
ik
F
i
x
swap by
t
e
s
example in
the manpa
g
e
commit
|
commitdiff
|
tree
2012-10-12
P
e
t
r Tesarik
Const
i
fy
o
perator arrays
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Do not try t
o
recover from parse
errors in atom_par
s
e
(
)
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
A
d
d error handling f
o
r alloc_atom()
f
ailures
commit
|
commitdiff
|
tree
2012-10-12
Pe
t
r Tesari
k
optim
i
ze: mark ski
p
_white as inlin
e
commit
|
commitdiff
|
tree
2012-10-12
Pe
t
r
T
e
s
ari
k
Implement size suffixes
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
Tesarik
U
p
dat
e
the manual page
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Add
a new s
p
ecial m
a
rk @
.
for
c
u
rrently matche
d
content
commit
|
commitdiff
|
tree
2012-10-11
Petr
T
esarik
Rename ", (
c
o
ntent und
e
r cursor) to "$
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesar
i
k
Doc
u
mentation fixes
commit
|
commitdiff
|
tree
2012-10-11
P
e
tr Tesa
r
ik
c
l
eanu
p
: rem
o
ve no
lon
g
er need
e
d cruft from
h
ed_file_fin
d
_expr()
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
R
e
w
rite t
h
e hed_
e
x
p
r AP
I
commit
|
commitdiff
|
tree
2012-10-11
Petr Te
s
arik
Re-implement
register
c
allback outs
i
de libhed
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Separa
t
e
e
xpressio
n
compile from
i
nitial
i
zation
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesa
r
ik
Make hed_ex
p
r
_
c
o
mpile more strict and allow empty expressions
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
cleanup
:
a
dd hed_exp
r
2off() shorthand
commit
|
commitdiff
|
tree
2012-10-11
P
etr Tesarik
Ch
a
n
g
e hed_expr_e
v
al call
s
ignature
commit
|
commitdiff
|
tree
2012-10-11
Pe
t
r Tesarik
Re
w
rite fi
n
d_bytestr for faster code
commit
|
commitdiff
|
tree
2012-10-10
Petr Te
s
arik
Fix Boyer-Moore backward search
commit
|
commitdiff
|
tree
2012-10-10
P
e
tr Tesarik
Fix searching for null
b
ytes beyond EO
F
commit
|
commitdiff
|
tree
2012-10-10
Petr Tesarik
Fix hed e
x
p
r
e
s
sion le
n
g
t
h
in find_by
t
estr()
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesa
r
ik
cleanup:
k
ill
f
i
le_block
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
cl
e
anu
p
: kill blockoff
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
cleanup
:
ki
l
l f
i
le_siz
e
(
)
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
c
leanu
p
:
kill
f
ile_blo
c
ks()
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesarik
F
i
x b
y
te st
r
ing searc
h
in blocks with n
o
n
-zero data
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fi
x
non-sw
a
p configura
t
ions
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
op
t
im
i
ze: use u
p
dat
e
_cursors instead of
mov
e
_
c
u
rsors
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
s
ar
i
k
Cle
a
r l
a
st loaded
b
loc
k
afte
r
E
O
F
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
c
l
eanup: fix c
a
s
t
to p
o
inter from integer
of dif
f
erent
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
s
a
rik
Fix insert beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesa
r
ik
Fix replace beyon
d
EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
rik
cleanup
:
u
p
dat
e
th
e
description of prepare_m
o
dif
y
()
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
Fix block inserti
o
n in repla
c
e_ch
u
nk
commit
|
commitdiff
|
tree
2012-10-09
P
etr Te
s
arik
cl
e
anup: remove last fiel
d
fro
m
s
truct h
e
d_tree
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Ch
a
nge
insert_into_tree so it inserts *b
e
f
ore* th
e
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: rename
b
l
o
c
koff -
>
c
u
rsor for low-level routines
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
R
e
-implemen
t
fir
s
t_block(
)
and last_block()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Add
self addres
s
to the swa
p
f
i
le header
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
T
esari
k
Op
t
i
m
ize the spl
a
y
t
r
ee implementation
f
o
r fil
e
blocks
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
e
s
arik
cleanu
p
: use the bl
o
ck address directly in
hed_file_erase_bloc
k
commit
|
commitdiff
|
tree
2012-10-09
P
e
t
r Tesarik
cleanup: remove tree/file
p
arameter where p
o
ssible
commit
|
commitdiff
|
tree
2012-10-09
P
etr T
e
sarik
cleanup
:
r
emove tree par
a
meter wher
e
possible
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
cleanup: remove app
e
nd_to_tree(
)
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Rewrite the block list wit
h
ou
t
a
null node
commit
|
commitdiff
|
tree
2012-10-08
Petr T
e
sarik
cle
a
nu
p
: remove unused iteration macros
commit
|
commitdiff
|
tree
next