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
Fix prepare_modify() when splitting a max-sized block
2018-05-18
Petr Tesarik
Fix prepare_m
o
dify
(
)
when splitti
n
g a max-sized block
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Pet
r
Tesarik
Fix
get_curso
r
()
fo
r
max
-
s
i
z
e
d blo
c
k
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Revert "Store block
last offset i
n
stead of block s
i
ze"
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Pe
t
r
Tesarik
Use full hed_uoff_t range
f
or
f
ile posit
i
on
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr
T
esarik
Use unsi
g
ned t
y
pes for
of
f
set
s
in
express
i
ons
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Te
s
ar
i
k
Use cor
r
ect type
s
f
o
r
curs
o
r a
b
s
o
lute and relativ
e
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr T
e
s
a
rik
A
d
just hed_curs
o
r_c
h
unk
_
l
e
n
() for
max
-
sized blocks
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
P
etr Tesa
r
ik
Add assert
(
) call
s
to e
n
sure consi
s
tent hand
l
i
ng
of
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tes
a
rik
Move al
l
block size reductions to shri
n
k
_block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tesarik
Simp
l
ify undirty_blo
c
ks()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr T
e
sarik
A
d
d a
f
l
a
g bit for
e
mpty
b
locks
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesa
r
i
k
Debug
:
I
m
pr
o
ve data
d
u
mp in du
m
p_block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
P
etr Tesarik
C
leanup:
F
ix w
r
ong description of HED_
B
LOCK_EOF
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Opt
i
mize:
A
l
ways ini
t
i
a
lize curs
_
ins->off to ze
r
o
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
P
e
t
r
Te
s
a
r
ik
Initialize max
o
ff of a
n
ewly inserte
d
block
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Cleanup: Remov
e
c
o
n
fusing comments in find_in_tr
e
e()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tes
a
rik
Cleanup: Rename chain_block_before() to chain_blo
c
k()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesa
r
i
k
Cleanup
:
Remove a re
f
er
e
nce
t
o
ap
p
e
n
d
_
t
o
_
t
r
ee()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Store block
last off
s
et instead of
b
lock size
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Pe
t
r
T
esarik
C
l
eanup
:
Use hed_block_
s
ize() where
possible
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr
Tesarik
F
ix crash on cursor m
o
ve near
beginni
n
g of fi
l
e
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2013-03-08
Petr
Tesarik
Update
the inst
a
llati
o
n instructions
commit
|
commitdiff
|
tree
2012-12-09
Petr
Tesa
r
i
k
r
e
place_chunk: fix wron
g
sign-extension
commit
|
commitdiff
|
tree
2012-11-13
Petr Te
s
arik
fixup_cursor_slo
w
: alw
a
ys sto
p
at
t
e
rmina
l
b
lock
commit
|
commitdiff
|
tree
2012-11-13
Pe
t
r Tes
a
rik
Sk
i
p bad blocks
in search
commit
|
commitdiff
|
tree
2012-11-09
Petr T
e
s
a
rik
co
p
y
_
i
n: stop on read error
s
commit
|
commitdiff
|
tree
2012-11-07
P
etr
Tesarik
cleanup
:
avoid
gcc warnings with -Wmaybe
-
un
i
ni
t
i
alized
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
load_bl
o
cks
:
handle block allocati
o
n fai
l
u
r
e
commit
|
commitdiff
|
tree
2012-11-02
Pet
r
Tes
a
ri
k
cleanup load_blocks: make the co
m
m
o
n error path mor
e
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Petr Te
s
arik
fi
l
e_load_data: fix err
o
r handling
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
rik
c
l
eanup: l
o
op condition in
clean_span()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
op
t
imiz
e
hed_
f
i
l
e_commit:
K
ill
comm
i
t_
c
urrent()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tes
a
rik
Rewrite he
d
_file
_
commit()
commit
|
commitdiff
|
tree
2012-10-24
Petr Te
s
arik
o
p
t
i
m
i
ze: tak
e
call to is_
a
llzero() outsid
e
the search
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr T
e
sarik
clea
n
u
p
: rena
m
e hed
_
b
lock_is_inne
r
_v
i
rtual ->
b
lock_is_loadabl
e
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r T
e
sarik
cleanup: rew
r
ite repl
a
c
e_chunk using split_
b
lock
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
optimize: use
EOF flag instead of comparing phys pos
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sarik
Fix SEG
V
in
searche
s
over virtual blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
Re
p
o
r
t BAD and EOF flags in dump_blocks(
)
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Set EO
F
fla
g
correctly f
o
r new
l
y modified
b
locks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Igno
r
e H
E
D_
B
L
O
CK
_
EOF in data searc
h
es
commit
|
commitdiff
|
tree
2012-10-22
Petr Te
s
arik
Se
t
correct E
O
F
f
la
g
for inserted blocks
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
Fix block merging in kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Rew
r
ite ki
l
l_block_if_empty using kill_block
commit
|
commitdiff
|
tree
2012-10-22
P
et
r
Tesarik
Remove
rec
u
rs
i
o
n
from
kill_
b
lock()
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Te
s
arik
cleanup: rena
m
e file
_
kill_block -> kill
_
block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Rewrite fi
l
e_
k
ill_block
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r
Tesarik
Update HED_B
L
O
C
K_
A
L
L
OCMASK an
d
HED_
B
LOCK_STATE
M
ASK
commit
|
commitdiff
|
tree
2012-10-22
Petr Te
s
arik
D
ifferen
t
iate EOF
blocks
a
nd the terminal block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix fi
l
e commit when the f
i
le
s
i
ze grows
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tesarik
expr
.
c: fix compilat
i
on witho
u
t -DND
E
BUG
commit
|
commitdiff
|
tree
2012-10-21
P
e
t
r
T
e
sar
i
k
Simplify
b
lock s
h
ift calculation
commit
|
commitdiff
|
tree
2012-10-21
Petr T
e
sarik
cleanup
:
o
p
en-code mov
e
_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesarik
hed_file_c
o
mmit: cre
a
te the
file
w
h
en opening the read fd
commit
|
commitdiff
|
tree
2012-10-20
P
etr Tesarik
c
leanup: i
n
d
enting
,
grouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
Petr
Tesar
i
k
T
ake data
o
f
f into account f
o
r hed_file_insert_
b
l
o
ck
commit
|
commitdiff
|
tree
2012-10-20
Petr
Tesa
r
ik
C
r
eate inserted bloc
k
s
as d
i
rty
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Shorten EOF block
w
hen inserting
commit
|
commitdiff
|
tree
2012-10-20
Petr Tes
a
rik
Fix hed_file_insert() for b
l
ocks > FILE_B
L
OCK_SIZ
E
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Optimize EOF check in f
i
le_set_bl
o
ck an
d
file_se
t
_bytes
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Optimize EOF c
h
eck
i
n
g
in hed_file_set_byte
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
e
sarik
Opti
m
ize EOF chec
k
in hed_fi
l
e_erase_block
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
c
leanup:
r
e
m
ove file argument from shri
n
k
_
at_x
x
x
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
cleanup: remove the tree argu
m
ent from fi
r
st_load_bl
o
ck()
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r T
e
s
arik
cle
a
nup: b
l
o
ck_
p
h
ys_size() doe
s
n'
t
need th
e
file argument
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix block debuggi
n
g
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cleanup: remove file argum
e
nt o
f
s
l
ide_cursors()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
c
l
eanup: move stru
c
t h
e
d
_t
r
ee into t
r
ee
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
S
e
p
arate out private fields of struct h
e
d_fi
l
e
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
r
ik
Always
provide swap-rela
t
ed funct
i
o
ns
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Fix builds without HED_CO
N
F
I
G_READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
A
l
w
ays provi
d
e hed_file_s
e
t_rea
d
ahead
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Move marks
out of
the librar
y
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Move hed_
f
ile_blocks() to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
Separate hed_
e
xpr private field
s
from public fi
e
l
d
s
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
e
s
a
rik
parse_number_dec: length is always non-ze
r
o
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix docum
e
ntation
of
n
u
mbers
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Move check
s
f
o
r valid hex/bin n
u
mbers
t
o
th
e
help
e
r
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
A
dd binary notati
o
n
fo
r
num
b
ers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
R
e
j
e
c
t zero-sized hex numbers
(
'0x')
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Kill atom_bytestr
.
l
e
n
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
Shrink hexadec
i
m
al numb
e
rs
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
Get rid
o
f doubl
e
allocation
i
n parse_number()
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r
T
esarik
Optimize free_atom()
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r T
e
sarik
Optimize
a
tom_eval
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesarik
Handle expression err
o
rs in registe
r
offset
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
S
p
lit
val_parse() i
n
to
type
-
specifi
c
helper
s
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix
a
m
e
mory leak on invalid expressions
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
r
ik
Opti
m
ize precedence handl
i
ng
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesari
k
Document operator
p
re
c
edence in the manpage
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
G
ive opera
t
ors prec
e
de
n
ce u
s
ing t
h
e shunting-yard algorithm
commit
|
commitdiff
|
tree
2012-10-12
Petr Tes
a
rik
Fix nested
b
inary
o
perat
i
on
s
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
esarik
Fix swap byt
e
s example in the manpage
commit
|
commitdiff
|
tree
2012-10-12
Pe
t
r Tesarik
Constify operator a
r
rays
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesar
i
k
Do
no
t
try t
o
recov
e
r
f
rom pa
r
se err
o
rs in a
t
om_
p
a
r
s
e
()
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Add e
r
r
o
r
h
a
ndling for alloc_atom() failure
s
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
optimize: ma
r
k ski
p
_white as inl
i
ne
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesari
k
Implem
e
nt size su
f
fixes
commit
|
commitdiff
|
tree
2012-10-12
Petr
Tesarik
Update
the manual page
commit
|
commitdiff
|
tree
2012-10-12
Petr T
e
s
a
r
ik
Add
a
new special mark @
.
fo
r
c
u
r
r
ently matc
h
ed
content
commit
|
commitdiff
|
tree
next