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 Tesarik
Add assert() calls to e
n
sure co
n
sistent h
a
ndling of
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Pe
t
r
T
e
s
ari
k
Move
all block size
r
eductions to shr
i
nk_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tesarik
Simplify undirty_blocks()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr
T
esarik
Add a fl
a
g bit
for empty blo
c
ks
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tesarik
D
eb
u
g: Imp
r
ove d
a
ta dump in dump_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
P
e
tr Tesarik
Cle
a
nup: Fix w
r
ong
description of
H
ED_BLOCK_EOF
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Te
s
arik
O
ptimize: Always i
n
iti
a
lize
curs_ins->off to zero
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pe
t
r Tesarik
Initia
l
iz
e
maxoff o
f
a newly inserted block
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Te
s
arik
Cleanu
p
: Remove con
f
using comments in f
i
nd
_
in_tre
e
(
)
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tes
a
ri
k
Cleanup: Rename cha
i
n_bl
o
ck_before() t
o
chain_block
(
)
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pe
t
r Tesarik
Cleanup: Rem
o
ve a
r
eferenc
e
t
o
append_to_tr
e
e
(
)
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pet
r
T
esarik
S
to
r
e
block last off
s
et instead of blo
c
k size
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesa
r
ik
Clean
u
p: Use
h
ed_
b
loc
k
_si
z
e() whe
r
e
p
oss
i
ble
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr
Tesarik
Fix c
r
ash on
c
urs
o
r mov
e
n
e
ar
beginning
o
f fil
e
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2013-03-08
Petr Tesarik
Upd
a
t
e the installation instructions
commit
|
commitdiff
|
tree
2012-12-09
Petr Te
s
arik
replace_chunk: fi
x
wr
o
ng
sig
n
-
e
xtension
commit
|
commitdiff
|
tree
2012-11-13
Pe
t
r
Tesarik
f
i
xup_cu
r
sor_slow:
always s
t
op at termin
a
l bl
o
c
k
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesa
r
ik
Skip bad blocks
i
n se
a
rch
commit
|
commitdiff
|
tree
2012-11-09
Petr
T
esarik
cop
y
_in: st
o
p
o
n read e
r
rors
commit
|
commitdiff
|
tree
2012-11-07
P
etr Tes
a
rik
c
leanu
p
:
avoid gcc warnings with -Wmaybe-uninitiali
z
ed
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
s
a
rik
load_blocks:
han
d
le block alloc
a
tion
failure
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
cleanup lo
a
d
_
blocks: make
t
h
e co
m
mon
error path more
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
P
etr Tesar
i
k
file_lo
a
d_data: fix error handling
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
r
i
k
cleanup: lo
o
p co
n
d
i
tion in
c
lean_span()
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
sarik
o
p
t
i
mize
h
ed_file_c
o
mmit: Kill co
m
mit_current()
commit
|
commitdiff
|
tree
2012-11-02
Petr Te
s
arik
Rewrite hed_file_c
o
mmi
t
()
commit
|
commitdiff
|
tree
2012-10-24
Pe
t
r Tes
a
rik
optimize: tak
e
call to is_all
z
ero() ou
t
side the sea
r
ch
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr Tesarik
cle
a
nup: rename hed_b
l
ock_is_in
n
e
r
_virtual -> bl
o
ck_is_loadab
l
e
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
cleanup:
re
w
rite replace_chunk usi
n
g split_block
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
T
e
sarik
op
t
imize: use EO
F
flag inste
a
d of comparin
g
phys
pos
commit
|
commitdiff
|
tree
2012-10-22
Petr Te
s
ari
k
F
i
x SEGV
i
n
searches over virt
u
al block
s
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesar
i
k
Report BAD and EO
F
f
l
ags in dump_blocks()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
Set EOF flag
c
o
r
r
ectly for
n
e
wly modi
f
ied blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
Ignore HED_BLOC
K
_
EOF in
d
a
t
a searches
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
S
e
t correct
EOF
fla
g
f
o
r
ins
e
rted bl
o
cks
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tesarik
Fix block
m
erging in kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tesarik
Rewrite k
i
ll_block_i
f
_em
p
ty using kill_block
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
Remove recursion
from
kill_blo
c
k()
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r
T
e
sarik
cleanup:
re
n
ame
file_kill_b
l
ock
-> ki
l
l_block
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesarik
Rewrite file_ki
l
l
_
block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Update
HE
D
_BLOCK_ALLOCMASK a
n
d HED_BL
O
C
K
_STATEMASK
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Differen
t
i
ate EOF b
l
ock
s
and the terminal bloc
k
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
F
i
x file c
o
mmit when the file size grows
commit
|
commitdiff
|
tree
2012-10-22
Petr
Tesarik
expr
.
c
:
f
i
x compilation with
o
ut -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Petr Tes
a
ri
k
Simplify block shift calculati
o
n
commit
|
commitdiff
|
tree
2012-10-21
Petr
T
esari
k
c
leanup: open-code move_to_n
e
xt()
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesarik
hed_file_c
o
mmit: create the f
i
le
wh
e
n opening
th
e
read fd
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
cleanup: indent
i
ng
,
grouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr
Tesa
r
i
k
Take dataoff into ac
c
o
u
nt fo
r
h
e
d_
f
ile_insert_block
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesar
i
k
Creat
e
inserted
b
locks as di
r
ty
commit
|
commitdiff
|
tree
2012-10-20
P
etr Tesarik
Shorte
n
EOF block
w
hen ins
e
r
t
ing
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
F
ix he
d
_file
_
inse
r
t() for bloc
k
s >
F
I
LE_BLOC
K
_
S
IZE
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
Optimize
E
OF check
i
n
f
ile_s
e
t
_b
l
ock and f
i
le_set_bytes
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesa
r
i
k
Optimize EOF checking in hed_file_
s
et_b
y
t
e
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimize E
O
F check in hed_
f
ile_er
a
s
e_block
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cleanup
:
r
e
m
ove file argume
n
t from
s
h
r
in
k
_at_x
x
x
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
clea
n
u
p: rem
o
ve the tree argument
f
rom first_loa
d
_block()
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesari
k
clean
u
p: blo
c
k_phys_size() does
n
't need th
e
file argument
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Fix block
d
ebugging
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
clean
u
p: rem
o
ve file ar
g
ument of slid
e
_curso
r
s()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
c
leanup: mo
v
e
s
truct h
e
d_tree into tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
Separa
t
e out pri
v
a
t
e fi
e
lds of struct
h
e
d_file
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
A
l
ways provide swap-related functions
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Te
s
a
rik
Fix builds without HED_C
O
N
F
IG_READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
A
lwa
y
s provide hed_fi
l
e_set_readahead
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
M
o
ve m
a
r
k
s
o
ut of the li
b
rary
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Move hed_file_
b
locks()
t
o
file
.
c
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Sepa
r
ate he
d
_expr privat
e
fields
fr
o
m public field
s
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
p
a
rse_
n
umbe
r
_
d
ec
:
length is always non-zero
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesarik
Fix do
c
umentation of
numbe
r
s
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
Move checks for v
a
li
d
he
x
/bin n
u
mbers to the helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
A
dd binary
nota
t
ion for n
u
mber
s
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesar
i
k
Reject zero-siz
e
d
h
e
x
n
umbe
r
s
('0x')
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Kill
at
o
m_bytestr
.
len
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Shrink hexadecim
a
l
n
umbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Get rid
o
f do
u
ble a
l
location
in pars
e
_num
b
e
r(
)
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesarik
O
pt
i
mize free_
a
tom()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
O
ptimize atom_eval
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
T
es
a
rik
Handle
e
x
pression error
s
i
n
register of
f
s
e
t
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
Split
val_par
s
e() into type-spec
i
f
i
c helpers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
F
ix a mem
o
ry leak on invalid expressions
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optim
i
ze precedenc
e
ha
n
d
l
ing
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
D
o
cu
m
ent operator precedence in t
h
e
m
anpage
commit
|
commitdiff
|
tree
2012-10-15
P
e
tr Tes
a
rik
Give o
p
erat
o
rs precedenc
e
us
i
ng the sh
u
n
ting-yard
a
l
gorithm
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Fix nested b
i
nary operatio
n
s
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
Tesarik
Fix swap by
t
e
s
ex
a
mple
i
n
the manpa
g
e
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
Te
s
arik
Cons
t
ify op
e
rat
o
r arrays
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
Tesarik
Do not tr
y
t
o
recover from pars
e
errors
i
n atom_pars
e
()
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesar
i
k
Add
er
r
or ha
n
dling for alloc_atom()
f
a
ilures
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
optimize: mark skip_white as inline
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Impl
e
ment size suf
f
ixe
s
commit
|
commitdiff
|
tree
2012-10-12
P
etr
T
esarik
Update
t
he m
a
nu
a
l
pag
e
commit
|
commitdiff
|
tree
2012-10-12
P
e
tr
Tesarik
Add a ne
w
s
pecial m
a
rk @
.
for current
l
y matched co
n
te
n
t
commit
|
commitdiff
|
tree
2012-10-11
Petr
Tesarik
R
e
name ", (content und
e
r
c
u
rsor)
to
"$
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Documen
t
atio
n
fixes
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
cleanup: remove no longer needed cruft from hed_file_fi
n
d_expr(
)
commit
|
commitdiff
|
tree
2012-10-11
Petr
T
es
a
rik
Rewrite the hed_ex
p
r API
commit
|
commitdiff
|
tree
2012-10-11
Petr Te
s
arik
Re-implement
register callback
o
ut
s
id
e
libhed
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesar
i
k
Separate e
x
pression compile
from in
i
tializ
a
tion
commit
|
commitdiff
|
tree
2012-10-11
Pe
t
r Tesarik
Make hed_ex
p
r_compile m
o
re
s
tri
c
t and allow em
p
ty expression
s
commit
|
commitdiff
|
tree
next