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
Makefile: Add missing -ltinfo
2018-05-18
Petr Tesarik
Fi
x
build error on
SIGBUS handler
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesari
k
Optimize r
e
place_chu
n
k() for re
p
lace
m
ents at
t
he e
n
d
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesar
i
k
Fix prepare_modif
y
() when
sp
l
itti
n
g
a
max-sized
b
lock
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Pe
t
r Tesa
r
i
k
Fix get_c
u
rsor
(
) for max-size
d
bloc
k
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Reve
r
t "Store
b
lock last offset instead of block siz
e
"
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
U
s
e
full hed_uof
f
_t ra
n
ge
for file
p
osition
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
P
e
tr
T
esa
r
ik
Use unsigne
d
types
f
o
r o
f
fse
t
s in expressions
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
P
e
tr Tesarik
Use co
r
rect types
f
or curs
o
r
abs
o
lute and relative
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Te
s
arik
Adjus
t
hed_cursor_chunk_len() for ma
x
-sized bloc
k
s
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr
T
esarik
Add assert() calls to ensure con
s
istent hand
l
ing of
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
P
et
r
Tesarik
Move
a
l
l
bl
o
ck size reduct
i
on
s
to s
h
r
i
nk_block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesar
i
k
Simplify undir
t
y_blocks()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pe
t
r Tesarik
Add a flag bit for empty blocks
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
D
e
bug: Impr
o
ve da
t
a
d
ump
in dump_b
l
ock()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Cleanup:
F
ix w
r
ong d
e
scriptio
n
of HED_BLOCK_
E
OF
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
T
es
a
r
ik
O
p
timi
z
e: Always initia
l
i
ze curs_
i
ns->
o
ff to zero
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Te
s
arik
I
n
itialize
m
a
x
off of
a newl
y
ins
e
rt
e
d block
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr T
e
sari
k
Cleanu
p
:
Remove confusi
n
g comments i
n
find_in_tree(
)
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Cleanup
:
R
ename chain_block_
b
efore
(
) to cha
i
n
_
block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr
Te
s
a
r
ik
Cleanup: Remo
v
e a refe
r
e
nce to
append_to
_
tree()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Store
b
lock
last off
s
et instead
o
f bloc
k
size
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Pe
t
r Te
s
a
r
ik
Clean
u
p: Use he
d
_
b
lock_s
i
z
e
() wh
e
re possible
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Fix
cr
a
sh
on cu
r
sor mo
v
e n
e
a
r
b
eginni
n
g o
f
file
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2013-03-08
Petr Tesarik
U
p
date
t
he i
n
stall
a
tion ins
t
ructions
commit
|
commitdiff
|
tree
2012-12-09
Petr
T
esarik
r
e
place_ch
u
nk: fi
x
w
rong sign-extension
commit
|
commitdiff
|
tree
2012-11-13
Pet
r
T
esarik
f
i
xup_cursor_slow: a
l
ways stop a
t
te
r
minal block
commit
|
commitdiff
|
tree
2012-11-13
P
e
tr Tesarik
Skip bad blocks in search
commit
|
commitdiff
|
tree
2012-11-09
Petr
T
e
sarik
copy_in: stop on read err
o
rs
commit
|
commitdiff
|
tree
2012-11-07
Petr Tesarik
cleanup: av
o
id gcc warnings with
-Wmay
b
e-u
n
ini
t
iali
z
ed
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
s
arik
load_
b
l
o
cks:
h
andle
block alloca
t
i
o
n
f
ailur
e
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
rik
cleanup load_blocks:
m
a
k
e
t
h
e
co
m
m
on
e
rror
p
ath mor
e
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesa
r
ik
fi
l
e_
l
oad_data: fix error handling
commit
|
commitdiff
|
tree
2012-11-02
P
e
tr Tesarik
cleanup: loop conditi
o
n
i
n
clean_span()
commit
|
commitdiff
|
tree
2012-11-02
Petr Te
s
arik
optimize
h
ed_file_commit: Kill
commit_current()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
r
ik
Rewrit
e
h
ed_f
i
le_co
m
m
it
(
)
commit
|
commitdiff
|
tree
2012-10-24
Pet
r
Te
s
arik
optim
i
ze: ta
k
e call to i
s
_allzero() outside the se
a
rch
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr Tesarik
cleanup: rename hed_block_is_inner_virtual
-
> blo
c
k_is_loada
b
le
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
c
l
e
anup:
rewrite replace_chunk usi
n
g
sp
l
it
_
block
commit
|
commitdiff
|
tree
2012-10-22
P
etr
T
esarik
optimize
:
u
se EOF
f
lag instead
o
f compar
i
ng phys
po
s
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sarik
F
i
x SEGV i
n
searche
s
over virtua
l
blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Re
p
o
rt
B
AD and EOF flags in dum
p
_blo
c
ks()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
S
et EO
F
flag correctl
y
for newl
y
modified blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Igno
r
e
HED_BLOCK_
E
O
F i
n
data sear
c
h
e
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
Set cor
r
e
ct EOF flag for i
n
serted blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix block m
e
r
gin
g
in
k
i
ll_block()
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
Rewrite kill_bl
o
ck_if_em
p
t
y using kill_block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Remov
e
recursion from kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
clean
u
p: rename file_kill_
b
l
o
ck
-> kill_bl
o
ck
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
R
e
w
rite
f
ile_kill_block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesari
k
U
pdate H
E
D_B
L
OCK_ALLO
C
MASK and
H
ED_BLOCK_ST
A
T
EMASK
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Differenti
a
te EOF
blocks and the terminal block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
F
i
x fil
e
comm
i
t whe
n
the file size
g
rows
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
expr
.
c
:
fix compilation without -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesa
r
ik
Sim
p
lify
bloc
k
shift cal
c
ulation
commit
|
commitdiff
|
tree
2012-10-21
Petr
T
esarik
clean
u
p: open-code move_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesarik
hed_file_commit:
create the file when opening the
re
a
d fd
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
cleanup: ind
e
ntin
g
, grouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
T
ake dataoff in
t
o ac
c
o
u
nt for h
e
d_fil
e
_i
n
sert
_
b
l
ock
commit
|
commitdiff
|
tree
2012-10-20
Pe
t
r Tesarik
Cre
a
te inse
r
ted blocks as dirty
commit
|
commitdiff
|
tree
2012-10-20
Pet
r
Tesarik
Shorte
n
E
O
F
block when
i
nse
r
tin
g
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Fi
x
hed
_
fil
e
_ins
e
rt() for blocks
>
FILE_BLOCK_SIZE
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
O
p
timize
E
OF
check in file_set_b
l
ock and file_set
_
bytes
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
O
p
timiz
e
EOF checking
i
n h
e
d_fi
l
e
_
s
e
t_byte
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesar
i
k
Opt
i
mize EOF c
h
eck in hed_file_erase_
b
lock
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cl
e
anup: remove f
i
le
arg
u
ment from shrink_at_xxx
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
c
leanup
:
remove the tr
e
e argument from first_l
o
ad_block()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
cleanup: block_phys_si
z
e
(
) doesn't need
t
h
e
file argument
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesa
r
ik
Fix block debu
g
g
ing
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
cle
a
nup:
remove file argument
o
f slide_curso
r
s
(
)
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
ari
k
c
l
eanup: move
struct hed_tree
i
nto
t
ree
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
S
e
pa
r
ate ou
t
pri
v
ate fields
o
f struct h
e
d_file
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Te
s
arik
Alw
a
ys prov
i
de
swap-rel
a
ted f
u
n
c
tions
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix builds without HED_
C
ONFIG_READAH
E
AD
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
ar
i
k
Alwa
y
s provi
d
e hed_fi
l
e_set_re
a
dahead
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesa
r
i
k
Move marks
o
ut o
f
the library
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
M
ove hed_f
i
l
e_blocks()
to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
S
eparat
e
h
e
d
_
expr p
r
ivate fields from
p
ublic fi
e
lds
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
p
arse_number_dec:
l
ength is always
non-z
e
ro
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
F
i
x
d
ocumentat
i
on of
n
umbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Move
c
he
c
k
s
fo
r
valid hex/bin num
b
ers to the hel
p
e
r
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Add binary n
o
tation for numbers
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Te
s
arik
Re
j
ec
t
z
ero-si
z
ed
hex numbers ('0x')
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esa
r
ik
Kill atom_b
y
testr
.
l
en
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Te
s
arik
Shrink
h
exade
c
i
mal numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Get rid of d
o
uble
allocati
o
n
i
n parse_num
b
er()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Optimize free_atom()
commit
|
commitdiff
|
tree
2012-10-16
P
etr
Tesar
i
k
Optimi
z
e atom_
e
v
a
l
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesar
i
k
Hand
l
e
expressio
n
e
r
ror
s
in
r
e
g
i
s
t
er offse
t
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
S
p
l
it val_parse() in
t
o type-specific helpers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Fix a memory leak on invalid expressions
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Optimize
pr
e
c
e
d
e
n
c
e
h
a
ndling
commit
|
commitdiff
|
tree
2012-10-15
Pet
r
Tesarik
D
oc
u
ment operator preceden
c
e in
t
h
e
manpage
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
Give ope
r
ators precedence usi
n
g
t
he shunting-ya
r
d
algorit
h
m
commit
|
commitdiff
|
tree
2012-10-12
Petr Te
s
arik
Fix nested binar
y
operations
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Fi
x
swap
bytes exam
p
le in the man
p
ag
e
commit
|
commitdiff
|
tree
2012-10-12
P
e
tr
Tesari
k
C
o
n
stify operator arrays
commit
|
commitdiff
|
tree
2012-10-12
P
et
r
Tes
a
rik
Do not try to recover fro
m
parse erro
r
s in atom_parse()
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesar
i
k
Add erro
r
handl
i
ng for alloc_a
t
om() failu
r
es
commit
|
commitdiff
|
tree
2012-10-12
Petr T
e
sarik
o
p
timize: mark skip_whit
e
as
i
nline
commit
|
commitdiff
|
tree
2012-10-12
P
etr
Te
s
ar
i
k
Imple
m
ent size
suffi
x
e
s
commit
|
commitdiff
|
tree
next