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
Use correct types for cursor absolute and relative offsets
2018-05-18
Petr Tesa
r
ik
Use
c
o
rrect type
s
f
o
r cursor
a
bsolute and r
e
la
t
iv
e
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Adjust h
e
d_
c
ursor_
c
hunk_len() for max-sized bl
o
c
ks
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Add assert() cal
l
s to
ensure consiste
n
t
h
andling of
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr
T
esarik
Move all bl
o
ck si
z
e
r
eductions t
o
shr
i
nk_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesar
i
k
S
i
mpli
f
y undirty_blocks()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tes
a
rik
A
dd a f
l
a
g
b
i
t for e
m
pty bloc
k
s
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
P
etr Tesarik
Debug
:
Impro
v
e data dump in dump_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tesarik
C
l
e
a
nup: Fix wr
o
ng d
e
scription of H
E
D_BLOCK_EOF
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Opti
m
ize: Always init
i
alize c
u
rs_ins->off t
o
zero
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
I
n
itialize
maxoff of a new
l
y inserted block
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
C
l
eanup:
Remove conf
u
si
n
g comments in
find_in_
t
ree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr
T
esarik
C
leanup: Rename chain_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
:
Remove a reference to append_to_tree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
P
et
r
Tesar
i
k
Store b
l
ock last offset
inste
a
d
of b
l
ock size
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Cleanup: Use hed_block_s
i
ze()
w
here possibl
e
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tes
a
r
ik
F
ix cr
a
sh on
c
urs
o
r
m
ove near beginning of file
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2013-03-08
Petr Te
s
a
r
ik
Update
t
he installation instructions
commit
|
commitdiff
|
tree
2012-12-09
Petr Tesarik
replace_ch
u
nk:
f
ix
w
rong sign
-
extension
commit
|
commitdiff
|
tree
2012-11-13
Petr
T
esari
k
fixu
p
_cursor_
s
l
ow: alwa
y
s stop at terminal bl
o
c
k
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesarik
Skip bad blocks in search
commit
|
commitdiff
|
tree
2012-11-09
P
etr Tesarik
copy_in:
s
t
op
on
r
ead e
r
ro
r
s
commit
|
commitdiff
|
tree
2012-11-07
Petr
T
esarik
cleanu
p
: avoi
d
gc
c
warnings with -Wmaybe-
u
ninitialized
commit
|
commitdiff
|
tree
2012-11-02
P
etr Tesarik
load_b
l
ocks:
handle
b
l
o
c
k alloca
t
ion fai
l
u
re
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
cleanup load_blocks: make the common
error path more
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesar
i
k
f
ile_load_data:
fix error
handling
commit
|
commitdiff
|
tree
2012-11-02
Petr
T
esarik
cleanu
p
: loop
c
onditio
n
in
cle
a
n_span()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
o
p
t
i
mi
z
e hed_fi
l
e_commit: Kill c
o
mmit_current()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
rik
Rewrit
e
hed_file
_
commit()
commit
|
commitdiff
|
tree
2012-10-24
Petr Tesarik
optimize: t
a
ke ca
l
l to i
s
_
allzero() outside the sear
c
h
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
P
etr
T
esarik
cleanup: rename hed_block
_
is_inner_virt
u
al ->
b
lock_is_loadable
commit
|
commitdiff
|
tree
2012-10-22
P
etr
Tesa
r
ik
c
l
eanup: re
w
rite replace_chunk using
s
plit_bloc
k
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
optimize:
use
E
O
F
fl
a
g instead of comparing phys pos
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
s
a
rik
Fix SEGV
in searches
o
ver
virtual blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Repo
r
t B
A
D
and EOF flags in dump_blocks()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
S
e
t
EOF fla
g
correct
l
y
for
n
ewly
modified
bl
o
cks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Ignore HED_BL
O
CK_EOF i
n
data sea
r
ches
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
Se
t
correc
t
EOF flag fo
r
i
n
s
erted
blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
e
sarik
Fix block mer
g
ing in kill_blo
c
k
(
)
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sar
i
k
Rewrite kill_block_
i
f_empty usi
n
g k
i
l
l
_block
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
esarik
Re
m
ove recursion
f
rom kil
l
_block()
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r T
e
sarik
cle
a
n
u
p: rena
m
e file
_
kil
l
_bl
o
ck -> kill_block
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
Rewrit
e
file_ki
l
l_block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
U
pd
a
te HED_BLOCK_ALLOCMASK and HED_BLOCK_STATEMASK
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Differentiate EOF blocks and the terminal block
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesa
r
ik
Fi
x
file
c
o
m
mit when the
f
ile size
grows
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
expr
.
c: fi
x
compilation without
-
D
NDEBUG
commit
|
commitdiff
|
tree
2012-10-21
P
etr Tesarik
Simplify block shift
c
alculation
commit
|
commitdiff
|
tree
2012-10-21
P
e
t
r
Tesarik
cleanup: ope
n
-code move_t
o
_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesarik
he
d
_file_c
o
mmit:
c
reate the file when o
p
ening the
r
ead
fd
commit
|
commitdiff
|
tree
2012-10-20
Petr
T
esarik
c
lea
n
up: indenti
n
g,
g
roup
i
ng
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
Pe
t
r Te
s
arik
T
a
ke d
a
t
a
off into account
for hed_fil
e
_in
s
ert_bl
o
ck
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr T
e
sa
r
ik
Create inserted bl
o
cks a
s
dirty
commit
|
commitdiff
|
tree
2012-10-20
Pe
t
r Tesarik
Shor
t
en EOF
block when
i
nser
t
i
n
g
commit
|
commitdiff
|
tree
2012-10-20
Petr
T
e
s
ar
i
k
Fix h
e
d_file_insert()
f
or blo
c
ks
>
FILE_BLOCK_SIZE
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimize
EOF check in
file_set_block and file_se
t
_bytes
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sari
k
Optimize EOF checking in hed_fi
l
e
_
set_byte
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimize E
O
F check in hed_file_eras
e
_bloc
k
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
r
ik
c
l
e
anup: remove
f
i
l
e argument
from
sh
r
in
k
_at_x
x
x
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
cleanu
p
: remove the tree
argument from first_load_block()
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
cleanup: block_phy
s
_siz
e
()
d
oesn't need th
e
file a
r
gu
m
ent
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r
T
e
sa
r
ik
Fix block debugging
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
cleanup:
r
emove fil
e
ar
g
ument of s
l
ide_c
u
rs
o
rs()
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
cleanup:
move
s
truct he
d
_tree in
t
o tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Sep
a
ra
t
e
out private fields of struct hed_f
i
le
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Always provide
s
wap-related
f
u
nctions
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
F
ix builds
withou
t
HED_CONFIG_READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
A
lw
a
ys provide
h
ed_file
_
set_
r
e
adahead
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r T
e
sarik
Move marks out of the l
i
brary
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
Tesari
k
Move
h
ed_file_blocks
(
) to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Separate hed_e
x
pr priva
t
e fields f
r
om
pub
l
ic fi
e
lds
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
pa
r
se_
n
umber_dec: length
i
s
a
l
ways non-z
e
ro
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Fix doc
u
mentation of num
b
er
s
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Mov
e
chec
k
s for
valid
h
ex/bin
numbers to the helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Add
bina
r
y notation for numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
Rej
e
ct zero-
s
iz
e
d
h
ex numbers ('0x')
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Kill
a
tom_bytestr
.
len
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Shrink hexa
d
ecimal
n
umbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Get rid of do
u
ble allocati
o
n in par
s
e_number()
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
Optimize
free_atom()
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Optimize atom_eva
l
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
H
andle expression
e
r
r
o
r
s
i
n
register offset
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Split val_parse()
i
n
to type-sp
e
c
ific helpers
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
F
i
x
a memory leak on invalid
e
x
p
ressions
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesa
r
i
k
Optimize prece
d
ence
handling
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesa
r
ik
Document oper
a
tor p
r
ecedence in the manpage
commit
|
commitdiff
|
tree
2012-10-15
Pet
r
Tesarik
Give
o
p
erators preced
e
nce using the
shunting-y
a
r
d
a
l
g
o
rithm
commit
|
commitdiff
|
tree
2012-10-12
P
etr Tesa
r
ik
Fix ne
s
ted binary
o
peratio
n
s
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Fix swap
b
ytes exam
p
le in the ma
n
pag
e
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesa
r
i
k
Constify operator
a
r
rays
commit
|
commitdiff
|
tree
2012-10-12
P
e
tr Tesarik
Do
n
ot try to r
e
c
o
ver from parse
erro
r
s i
n
at
o
m
_
parse()
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
e
s
arik
A
dd error handling for alloc
_
ato
m
()
fa
i
lur
e
s
commit
|
commitdiff
|
tree
2012-10-12
P
e
tr Tesarik
op
t
imize: ma
r
k skip_white as inl
i
n
e
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
I
mplement size
suffixes
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
esarik
Update th
e
m
anu
a
l
p
age
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesari
k
A
dd a new special mar
k
@
.
fo
r
currently matche
d
content
commit
|
commitdiff
|
tree
2012-10-11
Petr Tes
a
r
i
k
Renam
e
", (content under cursor) to "$
commit
|
commitdiff
|
tree
2012-10-11
Pet
r
Tesarik
Documentation fi
x
es
commit
|
commitdiff
|
tree
2012-10-11
P
etr Tesa
r
i
k
clea
n
up: remove no
l
onger n
e
eded cruft from hed_
f
i
le_f
i
nd_expr()
commit
|
commitdiff
|
tree
2012-10-11
Pe
t
r Tesarik
R
e
w
rite the hed_expr API
commit
|
commitdiff
|
tree
2012-10-11
P
etr Te
s
ari
k
R
e
-impl
e
ment regi
s
ter call
b
ack outside
libhed
commit
|
commitdiff
|
tree
next