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
Fix prepare_modify() when splitting a max-sized block
2018-05-18
Pe
t
r T
e
sarik
Fix p
r
epa
r
e
_
modify(
)
when splitt
i
ng a
m
ax-
s
ized block
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-18
Pe
t
r Tesarik
F
i
x g
e
t_cursor
(
)
for max-s
i
z
e
d blo
c
k
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-18
Petr
Tesar
i
k
Revert "Store block last
o
ff
s
et instead of block size"
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tes
a
ri
k
Use
full hed_uoff_t range f
o
r file position
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Use un
s
i
gne
d
types for offset
s
i
n
expre
s
sion
s
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Use co
r
rec
t
types for c
u
rsor absolute and relative
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesari
k
Adjust h
e
d_c
u
rsor_chu
n
k_len(
)
f
or max-
s
ized blocks
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Add assert() calls to ensure con
s
istent handling of
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesar
i
k
Mo
v
e
a
ll block siz
e
r
educ
t
i
ons to shrink_bl
o
ck()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Te
s
arik
S
implify un
d
irty_
b
lock
s
()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Add
a flag bit for empty
blocks
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
P
et
r
Te
s
ar
i
k
Debug: Improve data
d
um
p
i
n
d
u
m
p
_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tes
a
r
i
k
Cleanup: Fix wro
n
g
description of
HE
D
_BLOCK_EO
F
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Opt
i
miz
e
: Always init
i
a
li
z
e cu
r
s_
i
ns->off to ze
r
o
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Initia
l
iz
e
maxo
f
f of
a
newly inserted
b
loc
k
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
P
etr
T
esarik
Cle
a
n
up: Remove c
o
nfusing comments
i
n
find_in_tree
(
)
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
P
etr Tesarik
Cle
a
n
u
p: Ren
a
m
e
c
h
ain_
b
lock_be
f
ore() to chain_block(
)
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Te
s
arik
Clea
n
up: Remove a reference to appe
n
d_t
o
_tree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pet
r
Tesarik
Store blo
c
k la
s
t
offset ins
t
ead o
f
block size
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Cleanup: Use hed_blo
c
k_
s
ize() where possible
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr T
e
sarik
F
i
x c
r
ash on
c
ursor move near be
g
inning
of file
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2013-03-08
Pe
t
r T
e
sarik
U
pdate the insta
l
lation instru
c
tions
commit
|
commitdiff
|
tree
2012-12-09
Petr Tesarik
replace_
c
hunk: fix wro
n
g s
i
gn-exte
n
sion
commit
|
commitdiff
|
tree
2012-11-13
Petr Te
s
arik
fixu
p
_cursor_slow: always
s
top
a
t te
r
minal
block
commit
|
commitdiff
|
tree
2012-11-13
P
e
t
r
Tesarik
Skip ba
d
block
s
in search
commit
|
commitdiff
|
tree
2012-11-09
Petr Tesarik
copy_
i
n: stop
o
n
r
ead errors
commit
|
commitdiff
|
tree
2012-11-07
Petr Tesarik
cleanup: av
o
id gcc warnings with -Wmaybe-un
i
nit
i
alized
commit
|
commitdiff
|
tree
2012-11-02
P
e
tr T
e
sarik
load_blo
c
ks: handle
bl
o
ck allocat
i
on failure
commit
|
commitdiff
|
tree
2012-11-02
Petr
T
esarik
c
leanup
load_blocks: make the common e
r
r
o
r path more
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Pet
r
Tesari
k
file_load_data: fix erro
r
handling
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
rik
cleanup:
l
oop conditi
o
n
i
n c
l
ean_span(
)
commit
|
commitdiff
|
tree
2012-11-02
P
e
tr Tesar
i
k
optimi
z
e he
d
_fil
e
_commi
t
: Kill commit_current()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
rik
Rewrite hed_file_commit()
commit
|
commitdiff
|
tree
2012-10-24
Petr Tesarik
optimize:
take call to
is_allzero() outside the searc
h
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
P
e
tr
Tesari
k
clean
u
p
:
rename
h
e
d
_
block_is_inner_virtual ->
block_is_load
a
ble
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
esarik
c
leanup:
r
e
write re
p
lace_c
h
u
n
k using s
p
lit_
b
lock
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
opti
m
ize: use EOF fl
a
g instead of co
m
p
aring phys p
o
s
commit
|
commitdiff
|
tree
2012-10-22
P
etr
T
esarik
Fix SEGV in searches over vi
r
tual blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr
Tesari
k
Report BAD and
EOF fla
g
s in
dump_
b
locks()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
Set
E
O
F
fl
a
g corr
e
ct
l
y fo
r
newl
y
modified blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
e
s
ar
i
k
Ignore HED_B
L
OCK_
E
OF in
data searches
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r
Tes
a
r
i
k
Set
c
orr
e
c
t
EOF flag for inserted blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fi
x
block
m
er
g
ing in k
i
ll_b
l
ock()
commit
|
commitdiff
|
tree
2012-10-22
Petr
Tesarik
Rewrite
k
ill_block_if_em
p
ty us
i
ng kill_block
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
R
e
move r
e
cursi
o
n from k
i
l
l
_block(
)
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tesarik
cleanup: rename file_
k
ill_bl
o
ck -
>
kill_bloc
k
commit
|
commitdiff
|
tree
2012-10-22
P
et
r
Tesa
r
i
k
Rew
r
ite
file_kill_bloc
k
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Up
d
ate HED_BLOCK
_
A
LLOCMASK
and H
E
D_BLOCK_STATE
M
A
S
K
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Te
s
arik
D
i
fferentia
t
e EOF blo
c
ks and the
t
ermi
n
al
b
lock
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix file commit
w
hen the
file size grow
s
commit
|
commitdiff
|
tree
2012-10-22
P
etr Te
s
arik
exp
r
.
c:
f
ix co
m
p
i
lat
i
on with
o
ut -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Pe
t
r Tesari
k
S
implif
y
bl
o
ck shift calculatio
n
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesarik
c
l
eanup: open-code move_to_next()
commit
|
commitdiff
|
tree
2012-10-21
P
etr
T
esarik
hed_file_
c
ommit: cr
e
ate
the file when opening
th
e
r
e
ad fd
commit
|
commitdiff
|
tree
2012-10-20
Petr
Tesarik
clean
u
p: indenting,
g
rouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Take data
o
ff i
n
to a
c
count for
h
ed_file_insert
_
block
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Cre
a
te inser
t
ed blocks
a
s di
r
ty
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr
Tesa
r
ik
S
h
orten EOF block wh
e
n in
s
erting
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr T
e
sarik
Fix hed_file_insert() for block
s
> FI
L
E_BLOCK_SIZE
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tes
a
rik
O
pti
m
i
ze EOF ch
e
ck in file_set_block
a
nd file_set_
b
yt
e
s
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r Tesari
k
Optimize EOF checking
i
n hed_f
i
le
_
set_byte
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
Opti
m
ize EOF check in hed_file
_
erase_bl
o
ck
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
e
sarik
c
l
eanup: remo
v
e fi
l
e argument
f
ro
m
shrink_at_xxx
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
cleanu
p
: r
e
move
t
he tre
e
a
rgument from
f
irst_l
o
ad_bloc
k
()
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r
Tesarik
c
l
e
anu
p
: blo
c
k_phys_size()
d
oesn't
n
eed
t
he file argument
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Te
s
ari
k
F
ix block debugging
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cleanup: rem
o
v
e
file argument of slide_cu
r
sors()
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
clea
n
up: m
o
ve struct hed_
t
ree into tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Separate ou
t
private fiel
d
s
of struct he
d
_file
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Always provide swap-related funct
i
o
n
s
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Fix builds withou
t
HED_CONF
I
G_R
E
A
DAHE
A
D
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Alwa
y
s provide hed_f
i
le_set_readah
e
ad
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Mo
v
e marks out
of the libra
r
y
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
M
ove hed_
f
ile_block
s
() to fil
e
.
c
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
T
e
sar
i
k
Separat
e
hed_expr privat
e
fiel
d
s
f
rom public fields
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
par
s
e_number_dec:
l
en
g
th is alwa
y
s non-z
e
ro
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix documentation of numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Move checks for va
l
id hex/bin n
u
mbers to th
e
h
elper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Ad
d
bi
n
a
r
y notation fo
r
numb
e
rs
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Reject zero-siz
e
d
hex numbers
('0x')
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
Kill atom_bytestr
.
len
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesa
r
i
k
Shrink hexadecimal nu
m
ber
s
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Get rid of doub
l
e
allocatio
n
in parse
_
number()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Optimize free_atom()
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
e
s
a
rik
Opti
m
ize
a
t
om_eval
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Handle expre
s
sion errors in r
e
gister
o
ffset
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Split val
_
parse(
)
into type-
s
p
e
cific
helpers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
i
k
Fi
x
a m
e
mory leak on in
v
a
lid expressions
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesarik
O
p
timize precedence handling
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesari
k
Document
operato
r
preced
e
nce in the manpage
commit
|
commitdiff
|
tree
2012-10-15
Pe
t
r
Tesa
r
ik
Give opera
t
ors prece
d
ence us
i
ng the
sh
u
nting-ya
r
d al
g
orithm
commit
|
commitdiff
|
tree
2012-10-12
P
e
tr Tesarik
Fi
x
n
ested bin
a
ry ope
r
ations
commit
|
commitdiff
|
tree
2012-10-12
Petr
Tesarik
F
i
x
swap byte
s
example in th
e
manpage
commit
|
commitdiff
|
tree
2012-10-12
Petr Te
s
arik
Consti
f
y operator arr
a
y
s
commit
|
commitdiff
|
tree
2012-10-12
Petr
Te
s
a
r
i
k
Do not
t
r
y to recover from parse
e
rr
o
rs in atom_pa
r
se()
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
es
a
r
ik
A
d
d e
r
r
o
r
handling for alloc_atom() failu
r
e
s
commit
|
commitdiff
|
tree
2012-10-12
P
etr Tesar
i
k
o
p
timize: mark skip_whit
e
as inl
i
ne
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
e
sarik
Implement siz
e
s
uffi
x
es
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Update t
h
e manual page
commit
|
commitdiff
|
tree
2012-10-12
Pe
t
r Tesarik
A
dd
a
new sp
e
cia
l
mar
k
@
.
for currently
m
a
t
ched content
commit
|
commitdiff
|
tree
next