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
Petr Tesarik
R
e
vert "Store bl
o
ck last offset
i
nstead of
block siz
e
"
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Te
s
arik
U
se
fu
l
l hed_uoff_
t
range
for file posit
i
on
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr
Tesarik
Use unsign
e
d types for
o
ff
s
ets i
n
expres
s
ions
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Use correct typ
e
s
for cur
s
o
r absolute and relative
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Adj
u
st h
e
d_curs
o
r_chunk_le
n
() for max-sized blocks
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Add asse
r
t() calls to ensu
r
e con
s
istent handling of
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Te
s
ari
k
Move
all block size
reduc
t
ions to
shrink_bloc
k
()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pe
t
r Tesarik
S
im
p
l
ify u
n
di
r
ty_blocks()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr
T
esari
k
A
d
d
a flag bit for
empty b
l
oc
k
s
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Debug: Improve
d
ata dum
p
in dump_blo
c
k()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tesarik
C
l
eanup: Fix
wrong d
e
s
criptio
n
of HED_BLOCK_EOF
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tes
a
rik
Opt
i
mize: Always
i
nitia
l
ize curs_ins->
o
ff to zero
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesa
r
ik
Initialize ma
x
off
o
f a
newly inserted block
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Cleanup: Re
m
ove confusing comment
s
in find_i
n
_
t
ree()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Cleanup: R
e
name chain_block_before() to c
h
a
in_block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Cleanup: Rem
o
ve a reference to append_to_tree()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesa
r
i
k
Store
b
l
o
ck last of
f
set in
s
tead
of bl
o
ck
s
ize
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr
T
esarik
C
l
eanup
:
Use hed_block_size() whe
r
e
possibl
e
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesa
r
ik
Fi
x
crash o
n
cursor mo
v
e near beginning of file
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2013-03-08
Petr Tesa
r
ik
Update
t
h
e
in
s
tallation instructions
commit
|
commitdiff
|
tree
2012-12-09
Petr Te
s
ar
i
k
rep
l
ace_
c
hunk: fix wrong si
g
n-extension
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesar
i
k
fixup_cursor_slow: alway
s
stop
a
t
t
erminal block
commit
|
commitdiff
|
tree
2012-11-13
Petr
Tesarik
Skip
ba
d
blocks in search
commit
|
commitdiff
|
tree
2012-11-09
Pe
t
r Te
s
ar
i
k
copy_in: stop on read errors
commit
|
commitdiff
|
tree
2012-11-07
P
e
tr T
e
sarik
cleanup: avo
i
d
g
cc war
n
ings with -W
m
a
ybe-unin
i
t
i
a
lized
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
load_b
l
ocks: handle block
allocati
o
n
failure
commit
|
commitdiff
|
tree
2012-11-02
Petr
T
esari
k
c
l
e
an
u
p
l
o
ad_blocks: make the comm
o
n error path mo
r
e
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
P
etr Tesarik
f
i
le_load_data
:
f
ix
error handling
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
sarik
cle
a
nup
:
l
o
o
p
c
ondition
i
n clea
n
_span(
)
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
optimize hed_file_commit: Ki
l
l commi
t
_curr
e
nt()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
Rew
r
i
te he
d
_fil
e
_commit()
commit
|
commitdiff
|
tree
2012-10-24
Petr Tesarik
optimi
z
e:
ta
k
e call to is_al
l
zero() ou
t
s
i
d
e
the
s
e
arch
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr T
e
sarik
cleanup:
rename hed_bloc
k
_is_
i
nner_virtual -> b
l
ock_is_loadable
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
cleanup:
r
ewrit
e
repl
a
ce
_
chun
k
u
sing split_block
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r
T
esa
r
ik
o
ptimize: use EOF flag ins
t
ead of com
p
aring phys p
o
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix SEGV in searches ov
e
r
v
ir
t
ual bl
o
cks
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
Rep
o
rt BAD
a
nd
EOF flags in dump_blocks()
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
esarik
Set EOF flag correctly fo
r
newly modifi
e
d
bloc
k
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesa
r
ik
Ignore HED
_
BLOCK_EOF
i
n
d
a
t
a s
e
ar
c
hes
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
Set correct EOF f
l
ag
f
or inserted blocks
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesarik
Fix block m
e
rging in ki
l
l_block(
)
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Rewr
i
t
e ki
l
l_block_if
_
empty using kill
_
b
l
ock
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sarik
R
e
move recursion from ki
l
l
_
block(
)
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r
T
e
sarik
cl
e
an
u
p: rename file_kill_block -> kill_block
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesarik
R
e
writ
e
f
ile_
k
ill_block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Up
d
a
t
e
HED_B
L
OCK_
A
L
L
OCMASK
a
nd HE
D
_BL
O
CK_
S
TATEMA
S
K
commit
|
commitdiff
|
tree
2012-10-22
Petr Te
s
ar
i
k
Differentiate EOF block
s
and the
t
e
r
minal
block
commit
|
commitdiff
|
tree
2012-10-22
Petr
Tesa
r
ik
Fix file commit when
t
he file size grows
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
expr
.
c: fix compilation without
-
DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Pe
t
r Tesari
k
Simplify block shift
calculation
commit
|
commitdiff
|
tree
2012-10-21
Petr
T
esarik
cleanup:
o
pen-
c
ode move_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesari
k
hed_file_commit:
creat
e
the file w
h
en opening
the read fd
commit
|
commitdiff
|
tree
2012-10-20
Pet
r
T
esarik
cle
a
nup: indenting, group
i
ng
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
Pe
t
r
T
e
s
a
r
ik
Take dataoff
i
nto account for hed
_
file_i
n
s
e
rt_block
commit
|
commitdiff
|
tree
2012-10-20
P
e
t
r
Tesarik
C
r
eat
e
inserted blocks as dirty
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Shorten
EOF block when inse
r
ting
commit
|
commitdiff
|
tree
2012-10-20
P
etr
Tesarik
Fix hed_file_inser
t
() for blocks >
F
ILE_BLOCK_S
I
ZE
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesa
r
ik
Opti
m
ize
EOF check in file_set_block an
d
file_s
e
t_b
y
tes
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
O
ptimize EOF checking
i
n h
e
d
_file_set_byt
e
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Optimize
EOF check in hed_file_e
r
ase_block
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr
Tesarik
cleanup: remove file arg
u
men
t
from shrink_at_xxx
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
Tesarik
cleanup: remove the tree
argu
m
ent from
first_load
_
blo
c
k()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
clea
n
up: bl
o
ck
_
phys
_
s
i
ze() doe
s
n't need the f
i
l
e argu
m
ent
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
T
e
s
a
rik
Fix block d
e
bugging
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
cleanup: remove
f
ile argument of slide_c
u
rs
o
rs(
)
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesar
i
k
cleanup: mov
e
struct hed_tre
e
in
t
o tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Se
p
a
rate out private fields of str
u
c
t hed
_
file
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Alway
s
pro
v
i
de
s
wap-re
l
ated f
u
n
ctions
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesa
r
ik
Fix builds without HED_CONFIG_READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Alwa
y
s pr
o
vide hed_file_
s
et_readahead
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Move mar
k
s out
of the l
i
b
r
ary
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
M
o
ve hed_f
i
l
e_blocks() to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesari
k
Separate hed_expr private fi
e
lds fro
m
p
ubl
i
c fields
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr T
e
sar
i
k
pars
e
_
n
umber_dec: length is
always non-zero
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
ar
i
k
F
i
x d
o
cumentat
i
o
n
of numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
s
a
r
ik
M
o
ve checks for valid hex/bin
numbers
t
o the h
e
lper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
P
et
r
Tesari
k
Add bin
a
r
y
no
t
ation
for
n
umbers
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
es
a
rik
Rejec
t
zero-
s
ized
h
e
x
numbers ('0x
'
)
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
Tesarik
K
i
ll ato
m
_bytestr
.
len
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Shrink hexadecimal numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Get ri
d
of double
a
l
l
o
c
a
t
ion in parse_numbe
r
()
commit
|
commitdiff
|
tree
2012-10-16
P
etr T
e
sa
r
ik
Op
t
imize free_atom()
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Op
t
imize atom_eval
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Han
d
le exp
r
essi
o
n errors in regis
t
er offset
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr T
e
sarik
Sp
l
it
v
al_parse() i
n
t
o type-specific helpers
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
Fix a memory leak
on in
v
alid exp
r
essions
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Opt
i
mize prec
e
d
enc
e
handli
n
g
commit
|
commitdiff
|
tree
2012-10-15
Pet
r
Tesar
i
k
D
ocument operat
o
r pre
c
edence in the manpage
commit
|
commitdiff
|
tree
2012-10-15
Pe
t
r Tesari
k
Give operators pr
e
cedence using the shu
n
ting-yard
a
lgorithm
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
Tesarik
Fix n
e
s
ted binary operations
commit
|
commitdiff
|
tree
2012-10-12
P
etr
T
esari
k
F
i
x s
w
ap bytes example in the manpage
commit
|
commitdiff
|
tree
2012-10-12
Petr T
e
s
arik
Constify operator arr
a
ys
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
esarik
Do not try to recover fro
m
pars
e
e
rrors in atom_par
s
e()
commit
|
commitdiff
|
tree
2012-10-12
Pe
t
r Te
s
ari
k
Add error
ha
n
dling for alloc_ato
m
() failur
e
s
commit
|
commitdiff
|
tree
2012-10-12
Petr Te
s
arik
optimize: mark
sk
i
p_wh
i
te as i
n
l
ine
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Implement size
suffixes
commit
|
commitdiff
|
tree
2012-10-12
Petr
Tesarik
Update the manua
l
page
commit
|
commitdiff
|
tree
2012-10-12
P
e
tr
T
esarik
Add
a new
s
pecial ma
r
k
@
.
f
o
r
curr
e
n
tly matc
h
ed conten
t
commit
|
commitdiff
|
tree
2012-10-11
P
e
tr Tesarik
Rename
"
, (co
n
ten
t
under
c
urs
o
r
)
to
"
$
commit
|
commitdiff
|
tree
2012-10-11
Pet
r
Te
s
arik
Documentation fi
x
es
commit
|
commitdiff
|
tree
next