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"
2012-10-11
P
e
tr T
e
sarik
cleanup: re
m
ov
e
no lo
n
ger needed cruf
t
f
r
om hed_file
_
f
ind
_
expr()
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Rewrite the hed_expr API
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Re-i
m
pl
e
ment
r
egister ca
l
lba
c
k
outside lib
h
ed
commit
|
commitdiff
|
tree
2012-10-11
P
etr Tesarik
Separate expressio
n
c
ompile fro
m
initialization
commit
|
commitdiff
|
tree
2012-10-11
Petr
T
esarik
Ma
k
e hed_expr_compile
more
s
trict and
allow
e
mpty
expressions
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
cleanup: add hed_expr2off() sho
r
than
d
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Change hed_e
x
pr_eva
l
call signature
commit
|
commitdiff
|
tree
2012-10-11
Pet
r
Tesar
i
k
R
e
w
r
i
te find_bytestr for faster code
commit
|
commitdiff
|
tree
2012-10-10
P
etr Tesarik
Fix
B
o
y
er-
M
oore
backward
s
earch
commit
|
commitdiff
|
tree
2012-10-10
Pe
t
r Tesarik
Fix searching
for null bytes
beyond EOF
commit
|
commitdiff
|
tree
2012-10-10
P
e
tr T
e
sarik
Fix
he
d
e
x
p
ression length in find_by
t
estr()
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
cleanup: kill file_bl
o
ck
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
c
l
eanup: kill blockoff
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cl
e
anu
p
: kill file_size()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
cleanup: kill fi
l
e
_
blocks()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
Fix byte s
t
r
in
g
search in block
s
with
n
on-z
e
ro data
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
Fix non-swap configurations
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tes
a
rik
opt
i
mize: us
e
up
d
ate_cursors instead of move_cursors
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesa
r
ik
C
l
e
ar last loaded
block
a
fter
E
O
F
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
T
esar
i
k
cl
e
anup: fix
cast to p
o
in
t
er f
r
om i
n
teger o
f
d
i
fferen
t
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
Fix
i
ns
e
rt beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
Fix replace beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
cleanup:
u
p
d
ate
t
he descr
i
ption of
prepar
e
_
modify()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix block inser
t
ion in replace_chunk
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esar
i
k
cleanup: remove last field from struct hed_tree
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
Ch
a
n
g
e insert_into_
t
ree so
it
i
n
s
e
r
ts
*bef
o
re*
t
he
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
cleanup: r
e
n
a
me
b
lockoff ->
cursor f
o
r
low-level rou
t
ines
commit
|
commitdiff
|
tree
2012-10-09
P
etr T
e
sarik
Re-
i
m
plemen
t
first_block
(
) and
last_block()
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
Add self address to th
e
swap file hea
d
er
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Te
s
arik
O
p
timi
z
e
t
he sp
l
ay tr
e
e impl
e
mentat
i
on f
o
r
file blo
c
k
s
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
cleanup: us
e
the
b
lock address directl
y
in hed_file_e
r
ase_block
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: remove tree/file pa
r
ameter where
possible
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
rik
clea
n
up: remove
tree para
m
eter
w
here possible
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
cleanup: remove append_to_tree()
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
Rewrite the block list without a n
u
ll nod
e
commit
|
commitdiff
|
tree
2012-10-08
Petr Tesar
i
k
c
l
eanup: remove unu
s
ed iteratio
n
macros
commit
|
commitdiff
|
tree
2012-10-08
Pe
t
r Te
s
arik
U
se HED_BLOCK_EOF flag to
t
e
r
minate loop
s
ov
e
r bl
o
ck
s
commit
|
commitdiff
|
tree
2012-10-04
Petr Te
s
arik
cleanup:
r
e
name
hed_tree_h
e
ad
to
hed_tree_no
d
e
commit
|
commitdiff
|
tree
2012-10-04
Petr Tes
a
rik
In
s
tall the library a
n
d p
u
blic
header
files
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
F
i
x another off-by-on
e
in
c
ac
h
e_compact
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fi
x
an off-by-one in reorder_elements
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesar
i
k
Sane behavi
o
ur of hed
_
get_curso
r
commit
|
commitdiff
|
tree
2012-10-03
Petr
T
e
sarik
clean
u
p: mo
v
e
phy
s
end computation to its own funct
i
on
commit
|
commitdiff
|
tree
2012-10-03
P
e
tr Tesari
k
cleanup
:
con
s
tify
arguments
t
o read-only me
t
hods
commit
|
commitdiff
|
tree
2012-10-03
P
e
tr Tesarik
F
ix sea
r
ch for firs
t
block in load_blocks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix reuse_loade
d
_data()
commit
|
commitdiff
|
tree
2012-10-02
Petr Te
s
arik
Add next_nonzero_block() and
r
e
w
rite
blockoff_ne
x
t_block(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
ix hed_block_is_after_
e
rase()
commit
|
commitdiff
|
tree
2012-10-02
Petr T
e
sarik
F
i
x types in BDEBUG me
s
sages
commit
|
commitdiff
|
tree
2012-10-02
P
e
t
r
Te
s
a
r
ik
F
i
x fin
a
l
shrin
k
ing
of
insert blo
c
ks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Do
n
o
t destroy
cursors in an erased area
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix h
e
d
_
cursor_
d
a
ta
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix hed_file_inse
r
t_begin
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesari
k
Fi
x
maximum file size off
b
y one
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r
Tesarik
cleanup:
s
ep
a
rate
p
ublic a
n
d
private interface for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Optimize hed_cursor_data
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tesa
r
ik
cleanup:
g
et r
i
d of most le
g
acy
macr
o
s
in file
.
c
commit
|
commitdiff
|
tree
2012-10-01
Pe
t
r
Tesarik
Convert Boyer-M
o
ore limits
t
o uns
i
gn
e
d
types
commit
|
commitdiff
|
tree
2012-10-01
Pe
t
r Tesarik
Sp
l
it Boyer-
M
oore forward an
d
b
ackw
a
r
d
search
commit
|
commitdiff
|
tree
2012-10-01
Petr Te
s
arik
M
icro-optimize
f
ind_byt
e
s
tr()
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
Tesar
i
k
Fix backw
a
rd search
i
ng
o
f one-b
y
te e
x
pressions
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
F
i
x a SIGSEGV when s
e
archi
n
g bac
k
w
a
r
ds
commit
|
commitdiff
|
tree
2012-10-01
Petr
T
esarik
Open-code fin
d
_
c
pin
(
) in f
i
nd
_
byt
e
str()
commit
|
commitdiff
|
tree
2012-10-01
Pe
t
r
Tesa
r
ik
Opti
m
ize main loop
i
n
f
i
n
d
_b
y
te
s
tr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix find_by
t
e
s
tr()
commit
|
commitdiff
|
tree
2012-09-28
P
etr T
e
sa
r
i
k
S
k
ip bad
b
locks in
s
e
arch an
d
fix a SIG
S
EGV
commit
|
commitdiff
|
tree
2012-09-28
Pet
r
T
es
a
rik
Fix no
n
-con
s
tant search
commit
|
commitdiff
|
tree
2012-09-28
P
e
tr Tesarik
Mar
k
bad blo
c
ks with HED_BLOCK_BAD
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
prepare_modify: Use blo
c
k
flags to ch
e
ck
i
f a curs
o
r
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
P
e
tr Tesarik
A
l
l
ow extra flags to be set for a block c
r
e
a
ted by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesa
r
i
k
cleanup
:
fi
l
e
_
ne
w
_block -
>
new_
b
loc
k
commit
|
commitdiff
|
tree
2012-09-27
P
e
t
r
T
e
s
arik
Bett
e
r
r
ecovery from read errors
commit
|
commitdiff
|
tree
2012-09-27
P
e
t
r Tesarik
Fi
x
v
a
ri
o
us signedness issues in the swap code
commit
|
commitdiff
|
tree
2012-09-27
P
e
tr
Tes
a
rik
Fix incorre
c
t masking in swp
_
getmapping()
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
cleanup: make all physical posit
i
ons unsign
e
d
commit
|
commitdiff
|
tree
2012-09-27
Petr T
e
sarik
cleanup: define sy
s
_page_shift and sys_page_size
in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Fix sig
n
edness of FILE
_
BLOCK_
x
xx
commit
|
commitdiff
|
tree
2012-09-26
Petr
T
esa
r
ik
cl
e
anup
:
refor
m
a
t
new_virt_block and new_data_block
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
alloc_b
l
o
ck -> new_data_block
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
Always de
c
lare str
u
ct remap_co
n
t
rol
commit
|
commitdiff
|
tree
2012-09-26
P
e
tr Tesarik
clean
u
p: include types
.
h and swap
.
h
f
rom cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesar
i
k
c
leanup: do not require @dat
a
a
r
g
ument
for remap_init
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr
Tesarik
cle
a
nup: Co
n
stify the f
i
r
st
cu
r
sor
p
arame
t
er
t
o
h
ed_f
i
le_
i
ns
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
cleanup: save
one de
r
e
ference
in _bl
o
ck_
d
a
ta_free
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesari
k
cleanu
p
: Merge block_d
a
ta_
n
ew with block_data_
n
e
w
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
c
l
eanup: move load_blocks close
r
to
file_load_data
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
ik
c
l
ean
u
p
: m
o
ve
r
eplace
_
chunk closer to other block-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
c
l
eanup: do n
o
t re-compute the readah
e
a
d
distance from
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup
:
g
e
t
ri
d
of the "fil
e
" macro define
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
Mer
g
e remap_caches wi
t
h alloc_caches
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
Rewri
t
e
readahead code
commit
|
commitdiff
|
tree
2012-09-25
P
etr Te
s
arik
Add hed_cursor_phys_pos to t
h
e
AP
I
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
clea
n
up: use hed_cursor_
t
i
n
s
earch
_
data(
)
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesarik
clea
n
up: use hed_curso
r
_t ins
t
ead of
b
lock+off
pair
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sarik
c
l
eanup: mov
e
file_ra_xxx macros near the top of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Tesarik
c
leanup
:
file_
m
ove_rel_fast -> move_rel_fast
commit
|
commitdiff
|
tree
2012-09-22
Petr Tesarik
cleanu
p
:
BLKGET
S
IZE retur
n
s unsigned long
,
not a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesa
r
i
k
cleanu
p
: kill hed
_
file_next_blo
c
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Mark unreadable port
i
ons of a file with a red
X
X
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
esarik
R
e
write f
i
nd_expr without he
d
_fil
e
_next
_
b
lock
commit
|
commitdiff
|
tree
next