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
U
se c
o
rrect
typ
e
s f
o
r
c
u
rsor absolute an
d
relative
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Ad
j
u
st h
e
d_cursor
_
chunk_len() for m
a
x
-size
d
blocks
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Add asse
r
t() c
a
lls
to
e
n
s
u
r
e consistent handling of
.
.
.
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr T
e
sa
r
i
k
Mov
e
all
b
l
ock si
z
e red
u
ctions to s
h
rink_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Simp
l
ify undirty_b
l
ocks()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tes
a
r
ik
Add
a
flag b
i
t
f
or emp
t
y blo
c
k
s
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
P
etr Tesarik
D
e
bug: Improve data dump in dump_bloc
k
()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Cleanup: F
i
x wrong de
s
cr
i
pti
o
n of HED_BLO
C
K_EOF
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Optimize: Al
w
ays i
n
itialize
curs_ins->off to zero
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
In
i
tiali
z
e maxoff of
a
newl
y
inser
t
ed block
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
P
etr Tesarik
Cleanup: R
e
move
confusi
n
g com
m
ents in find_in_tree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pe
t
r Tesarik
Clea
n
up: R
e
n
a
me chain_block_befor
e
() to chain_block()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesar
i
k
Cleanup: Remo
v
e a
re
f
e
r
ence to append_to_tree()
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Pe
t
r Tesarik
Store block last
o
f
fs
e
t
in
s
t
e
ad of block
size
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesar
i
k
Cleanup:
U
se he
d
_bl
o
ck_size() where possible
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2018-05-15
Petr Te
s
arik
Fix
c
rash on c
u
r
sor move near
b
e
g
i
n
ni
n
g of file
Signed-off-by: Petr Tesarik <
petr@tesarici.cz
>
commit
|
commitdiff
|
tree
2013-03-08
Petr Tesarik
Update the
installa
t
ion
i
nstructions
commit
|
commitdiff
|
tree
2012-12-09
P
e
tr Te
s
arik
replace_chunk: f
i
x
w
r
ong sign-ext
e
nsion
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesar
i
k
f
i
xu
p
_cursor_slow: al
w
ays stop at termin
a
l
block
commit
|
commitdiff
|
tree
2012-11-13
Pet
r
Tesarik
Skip bad blocks i
n
s
e
arch
commit
|
commitdiff
|
tree
2012-11-09
P
e
t
r
T
esarik
copy_
i
n: s
t
op
on read
erro
r
s
commit
|
commitdiff
|
tree
2012-11-07
Petr
Tesarik
cleanup: avo
i
d gcc war
n
i
ngs with
-Wmaybe-uninitialized
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
l
o
a
d
_blocks: handle block allocation
failure
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
rik
cl
e
anup load
_
bl
o
cks
:
ma
k
e the comm
o
n error
p
at
h
m
ore
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Petr Te
s
arik
file_load_data: fix err
o
r handling
commit
|
commitdiff
|
tree
2012-11-02
P
etr
Te
s
a
rik
cle
a
nup: loo
p
con
d
ition in clean_spa
n
()
commit
|
commitdiff
|
tree
2012-11-02
P
etr Te
s
ar
i
k
optim
i
ze hed_file_commit: Kill commit_c
u
rrent()
commit
|
commitdiff
|
tree
2012-11-02
P
e
tr Tesarik
Rewrite
h
e
d
_file_co
m
mit()
commit
|
commitdiff
|
tree
2012-10-24
P
etr Te
s
arik
optim
i
ze: ta
k
e
c
all to is_allz
e
ro() outs
i
de the sear
c
h
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr Tesa
r
ik
cle
a
nup: rename hed_block_is_inner_vi
r
tual
-
> block_is
_
loadable
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
esarik
cleanup: rewrite replace_chunk u
s
i
n
g
s
plit_block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesari
k
optimi
z
e:
u
se
E
OF fl
a
g
instead of comparin
g
phys pos
commit
|
commitdiff
|
tree
2012-10-22
Petr Te
s
ari
k
Fix SEGV
in sear
c
h
e
s over virtual
b
loc
k
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesar
i
k
Report
B
A
D
and EOF flags in d
u
mp_blocks
(
)
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r
T
es
a
rik
Set EOF flag corre
c
tly for newly modifie
d
blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Ig
n
ore HED_BLOCK_EOF in data
sea
r
ch
e
s
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr T
e
sa
r
ik
Set correct
EO
F
fl
a
g for inserted blocks
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Te
s
arik
Fix block merging in kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesari
k
Rewrite kill_block_
i
f_empty using kill_block
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
Re
m
ove
r
ecursion
f
ro
m
kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesar
i
k
cleanu
p
: rename
file_kil
l
_block
-
> kill_block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesa
r
ik
Rewrite file
_
k
ill_blo
c
k
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
Updat
e
HED_BLOC
K
_ALLOCMASK and
H
ED_BLOCK_STATE
M
ASK
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Dif
f
erent
i
ate EOF blocks a
n
d the terminal bloc
k
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
F
i
x file commit
when the
f
i
l
e
size grows
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
T
esarik
expr
.
c: f
i
x compilation wi
t
hout -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesarik
Simplify blo
c
k shift
c
a
lculation
commit
|
commitdiff
|
tree
2012-10-21
Pe
t
r Te
s
a
r
ik
c
leanup
:
open
-
code
m
ove_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Tes
a
rik
hed_file_commit: create t
h
e file when opening the read fd
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesar
i
k
c
l
eanup: ind
e
nting, grouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
Petr Te
s
ar
i
k
Take dataoff into
a
c
c
o
u
n
t for hed
_
file_in
s
e
r
t_block
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Create inserted blocks as dir
t
y
commit
|
commitdiff
|
tree
2012-10-20
P
e
t
r Tesarik
Shorten EOF
bl
o
ck when
i
nser
t
ing
commit
|
commitdiff
|
tree
2012-10-20
Pet
r
Tesarik
Fix
hed
_
f
ile_inse
r
t()
f
o
r blocks > FILE_BLOCK_SIZE
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesarik
Op
t
imize EOF check in f
i
l
e
_se
t
_block and file_set_bytes
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tes
a
rik
Optimize EOF chec
k
ing in hed_file_se
t
_
byte
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Optimize EOF check in hed
_
file_erase_bl
o
ck
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
cle
a
n
u
p: remove file argument from shrink_at_xxx
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
Tesarik
cleanup: r
e
mov
e
the t
r
ee argument f
r
om first_loa
d
_
block()
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesa
r
ik
cleanu
p
:
block_phys_size()
d
oesn'
t
need the file argumen
t
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
Fix bl
o
c
k
d
e
bug
g
ing
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sari
k
c
lean
u
p: r
e
mov
e
file ar
g
ument of slid
e
_cursors(
)
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tes
a
rik
c
leanup: mo
v
e s
t
ruct h
e
d_
t
re
e
into tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
P
etr Te
s
arik
Separate out priva
t
e fie
l
ds of
s
truct hed_file
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
T
es
a
r
i
k
A
lways provide s
w
ap
-
r
el
a
ted functions
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
i
k
Fix builds without HED_CONFIG
_
READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
Always p
r
ovide hed_file_set_read
a
h
e
a
d
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esar
i
k
Mov
e
m
ark
s
o
ut of t
h
e library
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesar
i
k
Move hed_file_blocks() to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr
Tesar
i
k
Se
p
arate h
e
d_expr private fields f
r
om publ
i
c fi
e
lds
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sar
i
k
par
s
e_num
b
er_dec: leng
t
h is alwa
y
s no
n
-zero
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Fix
doc
u
mentation
of
nu
m
bers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Move checks for vali
d
hex
/
bin nu
m
bers t
o
the helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
s
arik
A
d
d bi
n
ary notat
i
on f
o
r
numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
i
k
R
eje
c
t
zer
o
-size
d
hex nu
m
bers
('0x')
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Kill atom_bytestr
.
len
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
a
r
ik
Sh
r
in
k
he
x
adecimal
n
umbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Get r
i
d
of doubl
e
a
l
location in p
a
r
s
e
_number()
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
Optimiz
e
free_atom()
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
a
ri
k
Optimize atom_e
v
al
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Handl
e
expre
s
sion e
r
rors in r
e
gis
t
e
r offset
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r Tesarik
Split val
_
parse() i
n
to type-specific helpers
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesar
i
k
Fix a memory
l
eak on invalid expressions
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
O
ptimize pre
c
edence handling
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesa
r
i
k
D
o
c
u
m
e
n
t
o
p
e
rator preceden
c
e
i
n the manpag
e
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
Give operators pr
e
cedence using the
s
hu
n
ting-yard algorithm
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Fix nested binary op
e
rations
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Fix sw
a
p byt
e
s exampl
e
in the manpage
commit
|
commitdiff
|
tree
2012-10-12
Petr T
e
sarik
Constify ope
r
ato
r
arrays
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesari
k
Do not try
t
o recover fro
m
parse errors in
a
t
om_parse()
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Add err
o
r handl
i
ng for a
l
loc_
a
t
o
m()
f
ailure
s
commit
|
commitdiff
|
tree
2012-10-12
Petr Te
s
arik
optimi
z
e
:
mark
s
kip_
w
hite as inline
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Implement
size
s
uffixes
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Upda
t
e the ma
n
ual pa
g
e
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Add a new spec
i
al ma
r
k @
.
for
c
urrently
m
atch
e
d
con
t
ent
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Rena
m
e
",
(
content und
e
r c
u
rsor)
to "
$
commit
|
commitdiff
|
tree
2012-10-11
Pet
r
T
e
sarik
Documentation
f
i
xes
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
cl
e
anup: remove no
l
onger needed c
r
uft from hed_file_find_e
x
p
r()
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Rewri
t
e
t
he
hed_expr
API
commit
|
commitdiff
|
tree
2012-10-11
Petr T
e
sarik
Re-implem
e
n
t
register cal
l
b
a
ck outside libhed
commit
|
commitdiff
|
tree
next