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
Revert "Store block last offset instead of block size"
2018-05-18
Pe
t
r Tes
a
rik
Revert "S
t
ore b
l
o
ck last o
f
fset instead
o
f blo
c
k size"
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Use full hed_
u
off_t range for file position
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-18
Pe
t
r T
e
sarik
U
se unsigned
types for o
f
f
s
et
s
in
express
i
o
ns
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Use c
o
rr
e
ct types fo
r
cursor absolute
a
nd
relative
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
P
etr Tesarik
Adjust
h
e
d_cu
r
so
r
_c
h
unk
_
len() for max-sized bloc
k
s
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
T
esarik
A
dd ass
e
r
t() calls to ensur
e
consis
t
ent handling
of
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr
Tesarik
M
ove all
block size r
e
ductions to shrink
_
block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr
Te
s
arik
Si
m
plify undirty_blocks()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tes
a
rik
Add a fl
a
g
b
i
t
for empty blocks
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Pe
t
r
Tesa
r
i
k
D
eb
u
g
:
I
m
prove data dump in dump_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesa
r
ik
Cleanup: Fix wrong
d
escription
o
f
HE
D
_BL
O
C
K
_
EOF
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
P
etr Tesa
r
ik
O
pt
i
miz
e
:
Always initiali
z
e curs_ins->off to z
e
ro
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Te
s
arik
I
n
i
tialize maxoff of
a new
l
y insert
e
d block
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Clean
u
p
: Remo
v
e confusing comments in find_in_
t
ree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
P
e
tr Tesa
r
i
k
Cleanup: Re
n
ame chain_block_before()
t
o ch
a
i
n
_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pet
r
Tes
a
ri
k
Cleanup: Remove a reference
t
o app
e
nd_to_tree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Sto
r
e block last o
f
fset instead o
f
blo
c
k size
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr
Tesarik
Cl
e
anup: Use hed_blo
c
k_size() wher
e
po
s
sible
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tes
a
rik
F
i
x cra
s
h on
c
u
rsor
m
o
v
e
near beg
i
n
n
i
ng of f
i
le
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2013-03-08
Petr Te
s
ar
i
k
Update
t
he installation instr
u
ctio
n
s
commit
|
commitdiff
|
tree
2012-12-09
Petr Tes
a
rik
replace_ch
u
nk: fix wro
n
g
si
g
n-
e
xtension
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesarik
fixup
_
cursor_slow: always stop at
t
erm
i
nal bloc
k
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesarik
Skip bad blocks in search
commit
|
commitdiff
|
tree
2012-11-09
Pet
r
T
e
s
a
r
ik
copy_in: stop on rea
d
e
r
rors
commit
|
commitdiff
|
tree
2012-11-07
Petr Tesar
i
k
c
l
e
anup: avoid gc
c
warnings
w
ith
-Wm
a
ybe-uni
n
i
t
ialized
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
sarik
load_block
s
: handle block allocation failure
commit
|
commitdiff
|
tree
2012-11-02
Petr
T
e
sari
k
cleanup load_blocks: ma
k
e the common err
o
r path more
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
sarik
file
_
load_d
a
ta
:
fi
x
error han
d
ling
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
sar
i
k
cleanup:
l
oo
p
c
o
n
dition in clean_
s
pan()
commit
|
commitdiff
|
tree
2012-11-02
Petr
T
esarik
optimize
hed_file_commit
:
K
ill comm
i
t_
c
urrent()
commit
|
commitdiff
|
tree
2012-11-02
P
etr
T
esarik
Rewr
i
te hed_fi
l
e
_
c
o
m
m
it()
commit
|
commitdiff
|
tree
2012-10-24
Petr Tesarik
o
p
timize: t
a
ke call to
i
s_allzero() outside the search
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr T
e
s
arik
clea
n
up
:
rename
h
ed_b
l
ock
_
is_i
n
n
e
r_vi
r
tual -> block_is_loadab
l
e
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Te
s
arik
cleanup:
r
ewrit
e
r
e
p
lace_chunk usin
g
s
plit_block
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesarik
optimize:
u
se
EOF flag instea
d
of
c
ompar
i
n
g
ph
y
s
pos
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix SEG
V
in searches over
virtual blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Report BAD and
E
OF flags i
n
dum
p
_block
s
()
commit
|
commitdiff
|
tree
2012-10-22
Petr Te
s
arik
Set EO
F
fl
a
g
correctly for n
e
wly modified blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sari
k
Ignor
e
HED_BLOCK_E
O
F
in data searc
h
es
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
r
i
k
Set
co
r
rect EO
F
flag for insert
e
d blo
c
k
s
commit
|
commitdiff
|
tree
2012-10-22
P
etr T
e
sarik
Fix block merging in kil
l
_bl
o
ck()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Rewrite
kill
_
block_if_empty using k
i
ll_blo
c
k
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
R
emove
r
ecur
s
io
n
fr
o
m kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesarik
c
leanup:
r
ename file_kill_blo
c
k
-
> kill
_
block
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Te
s
ar
i
k
R
ewrite file_kill_blo
c
k
commit
|
commitdiff
|
tree
2012-10-22
P
etr
T
esarik
Updat
e
HED_
B
LOCK_ALLOCMASK a
n
d HE
D
_BLOCK_ST
A
TEMASK
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
D
ifferentiate EOF blocks and the terminal block
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Te
s
arik
Fix f
i
le co
m
mit when the file siz
e
grows
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
ex
p
r
.
c: fix compilation with
o
ut -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
P
e
t
r
Tesarik
Simplify block shift ca
l
culation
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesarik
cleanup: open-code m
o
ve_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Te
s
arik
hed_file
_
commit: cr
e
ate the
file
when o
p
ening the re
a
d fd
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
cleanup: indenting
,
g
r
ouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
P
etr Tes
a
rik
Take
data
o
f
f
i
n
to acc
o
unt for he
d
_file_
i
nse
r
t_block
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Create ins
e
rted blocks as dirty
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr Tesarik
Shorten
E
OF
b
l
ock wh
e
n inserting
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Fix hed_file_insert() for
blocks >
FILE_BLOCK_SIZE
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
T
esa
r
ik
Optimize EOF check in file_set_block and file_set_bytes
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimi
z
e EOF c
h
ecking in h
e
d
_
file
_
set_b
y
te
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
Optimize EOF
che
c
k
in hed_file_erase_block
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
c
l
ean
u
p: remo
v
e
f
i
le a
r
gumen
t
from shrink_at_xxx
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
cle
a
nup: remove the tree a
r
g
umen
t
from first_load_
b
lock()
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
cleanup: block_phys_size()
doesn't need
t
he file argume
n
t
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr T
e
sarik
Fix block debugging
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
r
ik
cleanup: remove file argument
of slide_cursors()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cl
e
an
u
p:
m
ove struct hed_tree into
tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
s
a
r
i
k
Separat
e
o
ut private fields of
s
truct hed_f
i
le
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
e
sarik
Always pro
v
ide swa
p
-related fun
c
tions
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esa
r
ik
Fix builds w
i
thout HED_CONF
I
G_READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Always provide hed_
f
ile_set_readahead
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esari
k
Move marks out of the li
b
rary
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
M
o
ve hed_fi
l
e_bloc
k
s()
to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
es
a
r
ik
Separa
t
e he
d
_ex
p
r private fiel
d
s from p
u
blic fields
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tes
a
rik
parse_number_de
c
: length is
alway
s
non
-
zero
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Fi
x
docu
m
entatio
n
of num
b
ers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Move
checks for valid hex/
b
in numbers
t
o
t
he helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Te
s
a
rik
Add binary no
t
ati
o
n for
n
u
m
bers
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Reject zero-sized hex numbers ('0
x
')
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Kil
l
a
t
om_b
y
t
e
str
.
l
e
n
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r T
e
sarik
Shrink hexad
e
cimal numb
e
rs
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
Get rid of
double allocat
i
on in parse_
n
umber()
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Optimize fre
e
_atom()
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
ar
i
k
Optimize
atom_eval
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesarik
Handle e
x
pression err
o
rs in register
o
ffset
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
Split val_parse() into
type-specific helpers
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esar
i
k
Fix a memory leak on invalid
express
i
ons
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
O
p
timize pr
e
cedence
h
a
n
dling
commit
|
commitdiff
|
tree
2012-10-15
Petr
Tesarik
D
o
c
u
ment operator precedence i
n
t
he manpage
commit
|
commitdiff
|
tree
2012-10-15
Petr
Tesarik
Give operators pr
e
c
e
dence using the
s
hunt
i
ng-yard
a
lgorithm
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesar
i
k
Fi
x
n
e
s
t
ed binar
y
o
p
erati
o
ns
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
es
a
rik
Fix swap bytes example in
the manpage
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesar
i
k
C
o
nstify
o
perator arrays
commit
|
commitdiff
|
tree
2012-10-12
Petr Te
s
arik
D
o
n
ot try to recove
r
from
p
arse
e
rrors in atom
_
p
a
rse
(
)
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesa
r
ik
Add erro
r
ha
n
dling for
alloc_atom() failure
s
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
op
t
im
i
ze: mark ski
p
_white as inline
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
e
sarik
I
m
ple
m
ent size s
u
f
fixes
commit
|
commitdiff
|
tree
2012-10-12
P
etr Tesarik
Update the manua
l
page
commit
|
commitdiff
|
tree
2012-10-12
P
etr Tesarik
Add a new special mark @
.
f
o
r
curre
n
tly matc
h
ed
c
ontent
commit
|
commitdiff
|
tree
2012-10-11
P
e
tr T
e
sarik
R
e
name ", (content
un
d
er curs
o
r) to "$
commit
|
commitdiff
|
tree
2012-10-11
P
etr Tesarik
Documentation fixes
commit
|
commitdiff
|
tree
next