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
Add assert() calls to ensure consistent handling of the empty flag
2018-05-17
Petr
Tes
a
rik
Add
a
ss
e
r
t() calls to ensure consistent h
a
n
dling of
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Move all block si
z
e
red
u
ctions
t
o
shr
i
nk_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Pe
t
r Tesari
k
S
implify
u
n
dirt
y
_bloc
k
s()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Add a fla
g
bit
f
or empty
b
locks
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
P
etr Tesa
r
ik
Debug
:
Improv
e
data dump in du
m
p_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Cle
a
nup: Fix
wrong description of HED_B
L
OCK_EOF
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
P
etr Tesarik
Optimize: Alw
a
y
s
i
nitialize
c
urs_ins->off to zero
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pe
t
r Tesarik
Ini
t
ialize max
o
ff of a newly i
n
ser
t
ed bl
o
ck
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
P
e
t
r Te
s
arik
C
leanup: Remo
v
e confusing comme
n
ts in find
_
in_tree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
C
l
eanup: Rename chai
n
_block_
b
efore()
t
o
c
hai
n
_
block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr
T
esarik
Cleanup: Remove a reference to append_to_tree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr
T
esarik
S
t
ore block l
a
st offset
i
nstead of
b
lock size
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pet
r
Tesarik
Cleanup: Us
e
hed_block_
s
ize() whe
r
e possible
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Te
s
arik
Fix crash on cursor move near beginning of f
i
le
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2013-03-08
Petr Tesarik
Update the installa
t
ion in
s
truct
i
o
ns
commit
|
commitdiff
|
tree
2012-12-09
Pet
r
Tesarik
replace
_
chunk
:
fix wr
o
ng sign-extension
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesarik
f
ixup_cursor_sl
o
w: a
l
ways sto
p
at terminal block
commit
|
commitdiff
|
tree
2012-11-13
Petr Te
s
arik
Ski
p
b
a
d b
l
ocks in search
commit
|
commitdiff
|
tree
2012-11-09
Petr Tesarik
copy
_
i
n: stop
on read errors
commit
|
commitdiff
|
tree
2012-11-07
Petr Tesarik
c
leanup: avoid gcc warnings with -Wm
a
ybe-
u
ninit
i
alized
commit
|
commitdiff
|
tree
2012-11-02
Pet
r
T
e
sarik
load_blocks: handle block
al
l
ocation failure
commit
|
commitdiff
|
tree
2012-11-02
Petr
T
esa
r
ik
clean
u
p
l
o
ad_blocks: make the c
o
m
m
on
error pat
h
mor
e
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
P
e
tr Tesar
i
k
file
_
load_dat
a
:
fix
error handli
n
g
commit
|
commitdiff
|
tree
2012-11-02
Petr
T
esarik
cleanup:
loop condit
i
o
n in
clean_span()
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
sari
k
optimize hed_file_comm
i
t: Kil
l
co
m
mit_
c
urr
e
nt()
commit
|
commitdiff
|
tree
2012-11-02
P
e
tr
Tesarik
Rewr
i
te hed_file
_
c
o
mmi
t
()
commit
|
commitdiff
|
tree
2012-10-24
Petr Tesarik
optimize: ta
k
e
ca
l
l to is_allze
r
o() o
u
tside th
e
search
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Pet
r
T
e
sa
r
ik
c
l
eanup: rename hed_block_is_inn
e
r_vi
r
t
ual
-> b
l
ock
_
is_load
a
ble
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tesarik
c
l
ean
u
p: rewr
i
te replace_chu
n
k using split_
b
lock
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
op
t
imize: use EOF flag
i
n
stead
o
f compa
r
in
g
phys pos
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r Tesarik
Fix SEGV in
s
earch
e
s
o
ver
virt
u
al blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sarik
R
e
port BAD and
E
OF fl
a
gs in du
m
p_
b
locks(
)
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tesarik
S
e
t EOF flag corr
e
ctly for newly modified bloc
k
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Igno
r
e HE
D
_BLOCK_EOF in data searches
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
S
et corr
e
ct EOF flag for inserted blocks
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r
T
esari
k
F
ix block
merg
i
ng in kill_
b
lock()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Rewrite kill_bl
o
ck_if_em
p
ty using
k
ill_block
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r Tesar
i
k
Remove re
c
ursion
f
rom
k
il
l
_block()
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
cleanup: re
n
ame
f
ile_kill_block -> kill_block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Rewrite file_kill_bl
o
c
k
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesa
r
ik
Update HE
D
_BLOCK_
A
LLOCMASK a
n
d
HED_BLOCK_STATEMASK
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesari
k
Differentiat
e
EO
F
b
locks and the terminal bloc
k
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fi
x
f
i
le
c
ommit wh
e
n the fi
l
e size g
r
ows
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r T
e
sarik
expr
.
c: fix c
o
mpilation
with
o
ut -
D
NDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesarik
Simp
l
ify block shif
t
calc
u
lation
commit
|
commitdiff
|
tree
2012-10-21
Pet
r
Tesarik
cleanup: open-co
d
e mov
e
_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Te
s
ari
k
hed_file_commit: create the file when ope
n
ing the read fd
commit
|
commitdiff
|
tree
2012-10-20
P
etr Tesarik
cleanu
p
:
i
ndent
i
ng, gr
o
upin
g
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr Tesari
k
T
a
ke dataoff into account
f
or hed_file_insert
_
b
lock
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesari
k
Create
in
s
erted blocks as dirt
y
commit
|
commitdiff
|
tree
2012-10-20
Pe
t
r Tesarik
Shor
t
e
n
E
OF b
l
o
c
k when insertin
g
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr Tes
a
r
i
k
Fix hed_f
i
le_insert() for blo
c
ks
>
F
ILE_BLOCK_SIZE
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Opti
m
ize
E
O
F
c
heck in fil
e
_s
e
t
_block and file_set
_
bytes
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimize
E
OF c
h
ecking in hed_
f
ile_
s
et_byte
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Opt
i
mize EOF check in hed_file
_
erase_
b
lock
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
cleanup
:
remove file argument from shrink
_
at_xxx
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
cleanup: remove the tree ar
g
ument from
f
irst_load_block(
)
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
cleanup: bl
o
ck_phys_si
z
e()
doesn'
t
need the file ar
g
u
men
t
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Fix blo
c
k
debugging
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
Tesar
i
k
clean
u
p
: re
m
ove file argu
m
ent
of slide_cursors()
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
clea
n
u
p
: move struct hed_tree into tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Te
s
arik
S
e
p
arat
e
o
u
t
priv
a
t
e
fields
o
f struct
h
ed_file
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Always provide swa
p
-relate
d
f
u
nctions
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tes
a
rik
Fix builds without HED_CONFIG_READA
H
E
A
D
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Alwa
y
s p
r
o
vide hed_fi
l
e_set_readahead
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr
Tesar
i
k
Move m
a
rks
o
u
t o
f
the li
b
r
a
ry
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
M
o
v
e hed
_
file_b
l
o
c
ks()
to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
T
esarik
S
ep
a
rate hed_expr priva
t
e fields fr
o
m
public
fields
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
parse_
n
u
mb
e
r_dec: length is always non-zero
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix documentation of
n
umbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Mo
v
e chec
k
s
fo
r
vali
d
hex/bi
n
numbers to the helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
A
d
d binary notation
f
or nu
m
bers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Rejec
t
z
e
ro-sized
hex
n
u
mbers (
'
0x')
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Te
s
arik
Kill atom_bytes
t
r
.
len
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tes
a
rik
Sh
r
ink hexa
d
ecimal numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Get
rid of double allo
c
atio
n
in pars
e
_
n
u
mber()
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesa
r
i
k
Optim
i
ze free_
a
tom()
commit
|
commitdiff
|
tree
2012-10-16
P
etr
T
esarik
Opti
m
ize atom_eval
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesar
i
k
Handle expres
s
i
o
n e
r
rors
i
n
regist
e
r
o
f
f
set
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Split
v
al_parse(
)
into type-
s
peci
f
ic
h
elpers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix a
memory leak on in
v
alid expres
s
ion
s
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r
Tesarik
Optimize
preced
e
nce
h
andling
commit
|
commitdiff
|
tree
2012-10-15
P
e
tr Tes
a
rik
Document operator precedence in
the
manpage
commit
|
commitdiff
|
tree
2012-10-15
Pet
r
Tes
a
rik
Give opera
t
ors precedence us
i
ng the shunting-yard
a
l
g
or
i
thm
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Fix neste
d
bi
n
a
r
y
o
peratio
n
s
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Fix swap bytes exa
m
ple i
n
th
e
m
anpage
commit
|
commitdiff
|
tree
2012-10-12
P
e
t
r T
e
sa
r
ik
Constify operator arrays
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
Te
s
arik
D
o
not t
r
y to recover from
parse error
s
i
n
at
o
m_pa
r
se
(
)
commit
|
commitdiff
|
tree
2012-10-12
Petr Te
s
a
ri
k
Add er
r
or handlin
g
fo
r
all
o
c_atom()
f
ai
l
u
r
e
s
commit
|
commitdiff
|
tree
2012-10-12
P
etr Tesarik
optimize: mark skip_white as
i
nl
i
ne
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
esarik
Im
p
le
m
ent size suffix
e
s
commit
|
commitdiff
|
tree
2012-10-12
P
etr Tes
a
ri
k
Upd
a
te
t
he man
u
al p
a
ge
commit
|
commitdiff
|
tree
2012-10-12
P
e
t
r Tesarik
Add a
ne
w
special mark @
.
for currently m
a
tched content
commit
|
commitdiff
|
tree
2012-10-11
Pe
t
r Tesarik
Rename ",
(content un
d
er
c
u
rsor) to
"$
commit
|
commitdiff
|
tree
2012-10-11
Petr
Tesarik
Docume
n
tation fix
e
s
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesari
k
cleanup:
remove n
o
l
o
nger needed cruft from hed_fi
l
e_find_expr()
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
R
ewrit
e
t
h
e
hed_expr
API
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Re-implement regi
s
ter callback o
u
tside libhed
commit
|
commitdiff
|
tree
2012-10-11
Petr
Tesa
r
ik
Separate ex
p
ression
compile
f
ro
m
in
i
tialization
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesa
r
ik
M
ake hed_expr_c
o
mpile mor
e
stri
c
t a
n
d al
l
ow empt
y
expressions
commit
|
commitdiff
|
tree
next