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
2012-10-11
Petr Tes
a
rik
S
eparate expr
e
ssion compi
l
e from initiali
z
ation
commit
|
commitdiff
|
tree
2012-10-11
Petr Tes
a
rik
Make hed_e
x
pr_c
o
mpile more str
i
ct and allow empty expression
s
commit
|
commitdiff
|
tree
2012-10-11
Petr
Tesarik
cleanup
:
add hed_expr2
o
ff() short
h
and
commit
|
commitdiff
|
tree
2012-10-11
Petr T
e
sarik
C
hange hed_expr_eval call signature
commit
|
commitdiff
|
tree
2012-10-11
Petr Te
s
a
rik
R
ewrit
e
find_b
y
testr
for faster code
commit
|
commitdiff
|
tree
2012-10-10
Petr T
e
sarik
Fix Boyer-Moo
r
e backward search
commit
|
commitdiff
|
tree
2012-10-10
Petr T
e
sarik
Fix sear
c
hing for null
b
ytes
b
eyond
E
OF
commit
|
commitdiff
|
tree
2012-10-10
Petr T
e
sarik
F
ix hed expressio
n
length in fin
d
_b
y
t
estr()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clea
n
u
p: kill file_block
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
cle
a
n
up: ki
l
l
b
lockoff
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
c
l
eanup:
k
ill file_size()
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
cl
e
anup:
k
i
l
l file_blocks()
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
a
r
i
k
Fix byte st
r
ing
searc
h
in blo
c
ks
with n
o
n-
z
ero da
t
a
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
Fix non-swap configura
t
ions
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
optimize: use up
d
ate
_
cursors instead of move_cursor
s
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
Clear last loaded block after EOF
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesar
i
k
cleanup
:
fix cast to point
e
r from in
t
eger of diffe
r
e
n
t
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesa
r
ik
Fix insert beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
s
arik
Fix rep
l
a
c
e b
e
yond EO
F
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clean
u
p: upda
t
e
the description of p
r
epare_modify()
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
Fix block in
s
er
t
i
o
n in repl
a
ce_c
h
unk
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
cleanup: remove last field from struct hed
_
tr
e
e
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesa
r
ik
Chan
g
e insert_into_tree
so it inse
r
ts *bef
o
re* the
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
c
leanup:
re
n
ame blockoff -> c
u
rsor for l
o
w
-level r
o
utines
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r
Tes
a
rik
R
e-imple
m
ent first_bl
o
ck() an
d
last
_
block()
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
Add self addre
s
s
to the
s
w
ap
f
il
e
header
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
Opt
i
mize th
e
splay tree
i
mplementation for file
blocks
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
cle
a
nup:
u
se the block address directly in hed_
f
ile_
e
rase_block
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesarik
cleanup: remove tre
e
/file parameter whe
r
e
p
ossible
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
cle
a
nup
:
re
m
o
v
e
t
ree parameter
w
here possib
l
e
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
cleanup: remove append_to_tree()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
Rewrite
the
b
lock list wi
t
hou
t
a null node
commit
|
commitdiff
|
tree
2012-10-08
P
e
tr Tesarik
c
l
eanup:
r
emove u
n
used itera
t
i
on ma
c
ros
commit
|
commitdiff
|
tree
2012-10-08
Pe
t
r
Tesar
i
k
Use H
E
D_BLO
C
K_EOF flag
t
o
ter
m
inate loops over
blocks
commit
|
commitdiff
|
tree
2012-10-04
Petr Tesarik
cleanup: rename h
e
d_
t
r
e
e_head to hed_tree
_
node
commit
|
commitdiff
|
tree
2012-10-04
Petr
T
esarik
Instal
l
the
l
ibrary and p
u
blic he
a
der files
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix a
n
o
ther off-by-one in
c
ache_compact
commit
|
commitdiff
|
tree
2012-10-03
Pet
r
Tesarik
Fix an of
f
-b
y
-o
n
e i
n
re
o
rde
r
_
elem
e
nt
s
commit
|
commitdiff
|
tree
2012-10-03
Pet
r
Tesarik
S
ane behaviour of hed_get_cursor
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesar
i
k
cleanup: move phys end co
m
puta
t
ion to
its own funct
i
o
n
commit
|
commitdiff
|
tree
2012-10-03
P
etr Tesarik
cleanup
:
c
o
nstify ar
g
um
e
nt
s
to read-o
n
l
y
m
ethods
commit
|
commitdiff
|
tree
2012-10-03
Petr T
e
sarik
Fi
x
search for fir
s
t
block in load_blocks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
i
x
r
e
u
se_loaded_data
(
)
commit
|
commitdiff
|
tree
2012-10-02
P
e
tr Tesarik
Add next_non
z
ero_block()
and rew
r
ite
b
lockoff_next_bl
o
ck(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esarik
F
i
x
h
ed_block_
i
s_after_erase
(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix
t
ypes
i
n BDEBUG messages
commit
|
commitdiff
|
tree
2012-10-02
P
e
tr Te
s
ari
k
Fix final
s
hrinking of insert blocks
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r
T
es
a
rik
D
o n
o
t destroy cursors in an erased area
commit
|
commitdiff
|
tree
2012-10-02
P
e
tr T
e
sarik
Fix hed_c
u
rsor_
d
ata
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix hed_
f
ile
_
insert_begin
commit
|
commitdiff
|
tree
2012-10-02
Petr Te
s
ar
i
k
Fix maximum fil
e
s
ize off
by one
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tesarik
clea
n
up: sep
a
rate publi
c
and private int
e
rfa
c
e for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
P
etr
T
esa
r
i
k
Optimize hed_c
u
rsor_data
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r Tesarik
clean
u
p: ge
t
rid of most legacy mac
r
o
s
in file
.
c
commit
|
commitdiff
|
tree
2012-10-01
Petr Te
s
arik
Convert Boy
e
r
-
Moore
li
m
its to
u
nsigned types
commit
|
commitdiff
|
tree
2012-10-01
Petr Tes
a
ri
k
Split
Boyer-Moore forward and
backward
sea
r
ch
commit
|
commitdiff
|
tree
2012-10-01
Petr
Tesarik
Micro-opt
i
mize find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix
back
w
a
r
d
searchi
n
g of one-b
y
te
expressi
o
n
s
commit
|
commitdiff
|
tree
2012-10-01
Pe
t
r Tesarik
F
i
x a SIGSEG
V
when searching
backward
s
commit
|
commitdiff
|
tree
2012-10-01
Petr T
e
sari
k
Open-code f
i
nd_cpin() in fin
d
_byte
s
tr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Optimize
m
ain l
o
op in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix fi
n
d
_byt
e
str()
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
rik
S
kip
bad
blocks in search
a
nd f
i
x a S
I
GSEGV
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
Fix
non-con
s
t
a
nt search
commit
|
commitdiff
|
tree
2012-09-28
Petr
T
e
s
arik
Mark bad blocks with HE
D
_BLOCK_BAD
commit
|
commitdiff
|
tree
2012-09-28
Petr
T
esarik
pr
e
pare_modify
:
Use block flags t
o
c
h
eck
i
f
a
cu
r
sor
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Pet
r
Te
s
arik
A
l
low ext
r
a flags to b
e
set for
a bl
o
ck crea
t
ed by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
rik
cl
e
anup: file_
n
ew_
b
l
o
ck -> n
e
w
_
block
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Better recovery from read errors
commit
|
commitdiff
|
tree
2012-09-27
Petr
T
esarik
Fix
v
arious sign
e
dness issues
i
n the swap code
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesar
i
k
F
ix incorrect mas
k
ing in swp_getmappi
n
g()
commit
|
commitdiff
|
tree
2012-09-27
P
e
tr
Tesarik
cl
e
anu
p
: make
all physical positions u
n
signed
commit
|
commitdiff
|
tree
2012-09-27
Petr Te
s
arik
cleanup: de
f
ine sys_pa
g
e_shift a
n
d
sys_page_size in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
P
e
t
r
Tesa
r
ik
Fix signedness of FILE_BLOCK_xxx
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
clean
u
p: r
e
for
m
at new_virt_
b
lo
c
k and new_da
t
a_b
l
o
c
k
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesar
i
k
alloc_block -
>
n
e
w
_data_block
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
Always declar
e
struct remap_co
n
trol
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cle
a
nup: incl
u
de
t
ypes
.
h and
s
wap
.
h
from
cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
Petr Tes
a
rik
cleanup:
d
o not req
u
ire
@da
t
a argument for r
e
ma
p
_init
commit
|
commitdiff
|
tree
2012-09-25
P
e
t
r
Tesarik
cleanup: Constify th
e
first cursor parameter
to
hed_fil
e
_i
n
s
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tesarik
cleanup:
s
a
v
e
on
e
dereferenc
e
in _b
l
o
c
k_data_free
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanu
p
: Merge blo
c
k_
d
ata_n
e
w wi
t
h b
l
ock_data_ne
w
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr
T
esarik
cleanup: m
o
v
e load_blocks clo
s
er
t
o file
_
load_d
a
ta
commit
|
commitdiff
|
tree
2012-09-25
P
etr Te
s
arik
cleanup:
m
ove replace_chunk closer to oth
e
r block-ha
n
d
ling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesarik
cleanup:
d
o not re-comp
u
te the
reada
h
ead distanc
e
from
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
P
etr Te
s
ar
i
k
cl
e
a
nup:
g
et
r
i
d
o
f the "fi
l
e" mac
r
o d
e
fine
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tes
a
r
i
k
Merge
r
e
m
a
p
_
caches with
a
ll
o
c_caches
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
R
e
wr
i
te readahead
c
ode
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
A
d
d hed_cursor_phys
_
pos to the API
commit
|
commitdiff
|
tree
2012-09-25
P
etr Tesarik
cleanup:
u
se hed_cursor
_
t in
s
earch_data
(
)
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
cleanup: use h
e
d_curs
o
r_t
ins
t
ead of
block+of
f
p
air
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
clea
n
up:
move file_ra
_
xxx
m
acro
s
n
ear the top o
f
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Te
s
a
r
ik
cleanup: file_move_rel_
f
ast ->
m
ove_rel_f
a
st
commit
|
commitdiff
|
tree
2012-09-22
Pe
t
r T
e
sarik
clean
u
p: BLKGET
S
IZE re
t
urns uns
i
gned long
,
not a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r Tesarik
cleanup: kill hed_file_ne
x
t_bl
o
ck
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
T
esar
i
k
Mark u
n
readable port
i
on
s
of a file with a red XX
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesari
k
R
e
write find_expr wi
t
hout
hed
_
file_next_
b
lock
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr Tesari
k
Me
r
ge hed_cu
r
sor_c
h
unk
_
len with hed_prep
a
r
e
_
r
e
a
d
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr Tesarik
Add
h
ed
_
cursor_ch
u
nk_len to the
A
PI
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Add hed_c
u
rso
r
_span() to the API
commit
|
commitdiff
|
tree
next