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 Tesarik
Use correct
types f
o
r cursor absolute a
n
d relative
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
A
djus
t
hed_cursor_chunk_len() for max-sized b
l
o
c
ks
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
T
esarik
Add asser
t
(
) calls to ensure consi
s
tent ha
n
dling of
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Move all
block size
reductions
to shrink_block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr
T
esarik
Simpli
f
y undirty_blocks
(
)
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Add a flag bit fo
r
empty bl
o
cks
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Debu
g
: Imp
r
ove data d
u
m
p
in
d
u
m
p
_
b
l
ock
(
)
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pe
t
r Tesarik
C
l
eanup: Fix wrong d
e
scr
i
ption of HED_BLOCK_EOF
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesar
i
k
Optimize: Alway
s
initialize curs_ins-
>
off to zer
o
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
I
nitialize m
a
xoff
o
f
a
newly ins
e
rted block
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr
Tesa
r
ik
Cleanup
:
R
e
mo
v
e c
o
nfusing comme
n
ts in find_in
_
tree
(
)
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Pet
r
Tesarik
Cleanup: Rename chain_block_before() to chain_block(
)
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr
T
esarik
Cleanup: Rem
o
ve a reference to append_
t
o
_
tree()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
P
etr
T
es
a
r
ik
St
o
re
b
lock last offset i
n
s
t
ead of b
l
o
c
k size
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr
Tesa
r
ik
C
l
e
a
nup: Use hed_block_si
z
e() where possible
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
P
e
tr Tesarik
Fix crash on cu
r
so
r
move near beg
i
n
ning of file
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2013-03-08
Petr Tesarik
U
p
date the i
n
stall
a
t
i
on instructions
commit
|
commitdiff
|
tree
2012-12-09
Petr Tesarik
r
ep
l
ace
_
chu
n
k:
f
ix
wrong
sign-
e
xten
s
ion
commit
|
commitdiff
|
tree
2012-11-13
Petr
T
esarik
f
ix
u
p
_
c
ursor_slow: alw
a
ys stop at
terminal block
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesarik
S
k
i
p
b
a
d b
l
ocks in search
commit
|
commitdiff
|
tree
2012-11-09
Petr Tesarik
copy_in:
stop on read err
o
rs
commit
|
commitdiff
|
tree
2012-11-07
Petr T
e
sarik
c
leanup: avoid gcc w
a
rnings
w
i
t
h
-Wmaybe-u
n
initialized
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
l
o
a
d_blo
c
ks
:
h
a
n
d
le block a
l
location failure
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
cl
e
anup load_blocks: make the
common error path more
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Pet
r
T
e
sarik
file_load_data: fix error handling
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
r
i
k
cleanup: l
o
op
condition i
n
clean_s
p
an()
commit
|
commitdiff
|
tree
2012-11-02
P
e
tr Tes
a
rik
opti
m
ize hed_file_commit: Kill c
o
mmit_cur
r
ent()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
Rewrite hed_file_co
m
mit()
commit
|
commitdiff
|
tree
2012-10-24
Petr Tesa
r
i
k
o
ptimize: take call
t
o is_a
l
lzero() outsid
e
t
h
e search
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr
Tesar
i
k
cleanup: renam
e
hed
_
block
_
i
s_inner_
v
ir
t
ual -
>
block_
i
s_loadable
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sarik
c
leanup:
r
ewrite repl
a
ce_chunk
u
sing sp
l
it
_
block
commit
|
commitdiff
|
tree
2012-10-22
Petr
Tesarik
o
p
timize: use EOF flag instead of comparing phys pos
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
e
sar
i
k
Fix SEGV in s
e
arches
o
ver virtual
b
locks
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r
Tesarik
Report BAD and EOF flags
i
n dump
_
blocks()
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesari
k
Set EOF flag
corr
e
ctly f
o
r newly modi
f
ied blocks
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesarik
Ignore H
E
D
_
BLOCK_EOF in
d
ata searches
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
S
e
t c
o
rrect EOF
f
lag
f
or in
s
erted blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
F
ix
block merging i
n
kill_b
l
o
c
k
()
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesa
r
ik
Rewrite kill_block_if_empty using
k
ill_bl
o
c
k
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Remove rec
u
rsi
o
n from kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
s
a
rik
cleanup: ren
a
me file_kill_bloc
k
-> kill_
b
lock
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tesarik
Rew
r
ite file_
k
i
l
l
_
block
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesa
r
ik
Update H
E
D_BLO
C
K
_ALLOCMASK and HED_B
L
OCK_STATEMA
S
K
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r
Tesarik
Differe
n
tiate
E
OF blocks and the ter
m
inal block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix
file comm
i
t w
h
e
n the
f
ile size grows
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
expr
.
c: fix compil
a
t
i
on wit
h
o
ut -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Pe
t
r Tesarik
S
i
m
plify block shift
c
al
c
ulation
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesa
r
ik
c
l
eanu
p
: ope
n
-code move_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Tes
a
rik
hed_f
i
l
e_commit: crea
t
e the file when o
p
ening
t
he r
e
ad fd
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr Tes
a
rik
cle
a
nup: inden
t
i
n
g, grouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
P
etr Tesarik
Take da
t
aoff into acco
u
nt
for hed_fi
l
e_insert_block
commit
|
commitdiff
|
tree
2012-10-20
Petr Te
s
arik
Crea
t
e
inserted blo
c
ks as dirty
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
S
horten
EOF block
when
inserting
commit
|
commitdiff
|
tree
2012-10-20
Pe
t
r
T
esarik
Fix h
e
d_file
_
inse
r
t
(
) for blo
c
k
s >
F
I
L
E_BLOCK_SIZE
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
Op
t
imize EOF
c
heck i
n
file
_
set_blo
c
k and file_s
e
t
_bytes
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesar
i
k
Optimiz
e
EOF
checking
i
n hed_
f
i
l
e_set_
b
yte
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
e
sarik
Optimize EOF chec
k
in
h
ed_f
i
l
e
_erase_block
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cleanup: remo
v
e file argumen
t
from shrink
_
at_xxx
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
i
k
cleanup: remove the tree argument
from fir
s
t_loa
d
_
b
lock(
)
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
cleanup
:
block_phys_si
z
e() doesn't need the fi
l
e argument
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r Tesarik
Fix block
d
ebug
g
ing
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
cleanup
:
remove fi
l
e ar
g
um
e
nt of
slide_cursors()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cleanup: move struct h
e
d
_
t
ree
into tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Sepa
r
ate out private fields o
f
s
t
ruct he
d
_file
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r T
e
sarik
Always prov
i
de swap-related func
t
ions
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix builds w
i
th
o
ut HED_CONFIG_READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Always provide hed_file_set_readahead
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esa
r
ik
Move m
a
rks out of the
l
i
b
ra
r
y
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
es
a
rik
Move hed_file_bloc
k
s() to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Sep
a
rate hed_expr private
f
ields from pu
b
lic field
s
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
p
arse_
n
umber_dec: length is
al
w
ays no
n
-zero
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix
d
ocumentation of
n
umbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
r
i
k
Move checks for valid he
x
/bin
n
u
mbers
to t
h
e h
e
lper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Add binary
n
o
t
ation
for numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Reject zero
-
siz
e
d hex numbers ('0x')
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Kill atom_bytestr
.
l
e
n
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esar
i
k
Shrink h
e
xadecim
a
l n
u
mbers
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
Get rid of doubl
e
allocatio
n
in parse_number()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimi
z
e free_atom()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimize atom_
e
v
a
l
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Handle expre
s
sion errors i
n
registe
r
offset
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Split val_pa
r
se() into
type
-
s
p
eci
f
ic he
l
pers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix a
me
m
ory leak on i
n
val
i
d
e
xpre
s
sions
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Optimize
p
r
e
ce
d
ence handli
n
g
commit
|
commitdiff
|
tree
2012-10-15
Petr Tes
a
r
i
k
D
o
c
u
men
t
op
e
rator prec
e
dence in
t
he m
a
npage
commit
|
commitdiff
|
tree
2012-10-15
P
e
tr Tesarik
Give
operators precedence using the shuntin
g
-yard algorithm
commit
|
commitdiff
|
tree
2012-10-12
Pe
t
r
Tesarik
F
ix nested bina
r
y ope
r
ations
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
Tesar
i
k
Fix swa
p
bytes example i
n
the ma
n
pag
e
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Consti
f
y operator
a
r
r
ay
s
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesa
r
ik
Do not try to
r
ec
o
ver from parse errors i
n
atom_parse()
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Add error
h
a
n
dli
n
g for al
l
o
c
_ato
m
() failures
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
optimize: mark skip_whi
t
e as inline
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Impl
e
m
e
nt size suffixes
commit
|
commitdiff
|
tree
2012-10-12
Petr T
e
sarik
Up
d
a
t
e the manual page
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
A
dd
a new special mark @
.
for
c
u
r
r
e
n
t
l
y mat
c
hed con
t
ent
commit
|
commitdiff
|
tree
2012-10-11
Petr Te
s
arik
Rename ", (content under c
u
rsor) t
o
"
$
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
D
o
cumen
t
ation fi
x
es
commit
|
commitdiff
|
tree
2012-10-11
Pe
t
r Tesarik
cleanup: r
e
move no
l
onger neede
d
cruft f
r
om
h
ed_file_find_expr()
commit
|
commitdiff
|
tree
2012-10-11
Pet
r
Tesa
r
ik
Rewrite the hed_expr API
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Re-implement reg
i
ster callbac
k
outside
libhed
commit
|
commitdiff
|
tree
next