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
cleanup: kill file_blocks()
2012-10-09
Petr Tesarik
cleanup:
k
ill file_bl
o
c
k
s
()
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
s
a
rik
Fix byte string
s
e
arch in blocks with no
n
-
zero data
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
P
e
t
r
T
esar
i
k
Fix no
n
-swap con
f
iguration
s
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tes
a
rik
optimize:
use updat
e
_curso
r
s inste
a
d of move_cursors
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Te
s
arik
Clear l
a
st
loaded
b
lock after EOF
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
c
leanup: fix cast to pointer
fro
m
i
nteger of
d
iffe
r
ent
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
Fix insert beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
F
ix replac
e
beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
P
e
t
r
T
esa
r
ik
cleanup: update the descript
i
on o
f
p
r
e
pare_modify()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
Fi
x
block insert
i
on in replace_
c
hunk
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
c
leanup: remo
v
e l
a
st fiel
d
from
struc
t
hed
_
tree
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sar
i
k
C
h
ange inser
t
_
into_tree so it inserts *befo
r
e
* the
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
P
e
t
r T
e
sarik
cleanup: rename blockoff -> cursor
f
or low-l
e
vel r
o
u
t
ines
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
Re-imple
m
ent fi
r
st
_
blo
c
k() and
last_bloc
k
(
)
commit
|
commitdiff
|
tree
2012-10-09
Petr
Te
s
ari
k
Add self add
r
ess t
o
t
h
e swa
p
file header
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
Optimize t
h
e splay tre
e
i
m
p
l
e
m
entation
for file blocks
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesari
k
c
leanup
:
use the bloc
k
ad
d
r
e
ss di
r
ec
t
ly in hed_
f
ile_erase_block
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: rem
o
ve tree/file parameter wh
e
r
e
pos
s
i
ble
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesa
r
ik
clean
u
p: remove tree
parameter w
h
ere
p
o
ssible
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cle
a
n
up
:
rem
o
v
e appe
n
d_to_tr
e
e()
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
Rewrite the block list witho
u
t
a null
n
o
de
commit
|
commitdiff
|
tree
2012-10-08
P
etr Tesa
r
ik
cleanup: remove unused iterati
o
n macro
s
commit
|
commitdiff
|
tree
2012-10-08
Petr T
e
s
a
rik
Use HED_BLOCK_EOF
f
lag t
o
terminate loops over block
s
commit
|
commitdiff
|
tree
2012-10-04
Petr Te
s
arik
clea
n
up: ren
a
me he
d
_tree_head to
hed_t
r
e
e_node
commit
|
commitdiff
|
tree
2012-10-04
Petr Tesarik
Install the library and public header files
commit
|
commitdiff
|
tree
2012-10-03
P
etr Tesarik
F
ix a
n
oth
e
r
off-by-one in ca
c
he_compact
commit
|
commitdiff
|
tree
2012-10-03
Petr
Tesarik
Fix an o
f
f
-
by-one in
r
e
o
r
d
er_ele
m
ents
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesar
i
k
Sane behaviou
r
of
h
ed_ge
t
_cur
s
or
commit
|
commitdiff
|
tree
2012-10-03
Petr
T
esarik
cleanup: move phys end
c
o
mputation to its own f
u
nction
commit
|
commitdiff
|
tree
2012-10-03
Petr
T
esarik
cleanup
:
constify
arguments to read-only methods
commit
|
commitdiff
|
tree
2012-10-03
Petr T
e
sarik
Fix search for first bloc
k
i
n
load_bl
o
cks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
Fix reuse_loa
d
ed_data()
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
es
a
r
ik
Add n
e
xt
_
nonze
r
o_b
l
oc
k
() and
r
ew
r
i
t
e bloc
k
off
_
next_block
(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
e
s
arik
Fix
hed_block_
i
s_after_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esarik
Fix ty
p
es in BDE
B
UG messa
g
es
commit
|
commitdiff
|
tree
2012-10-02
P
etr Tesarik
Fix final shrinki
n
g
of insert
b
locks
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r Tesarik
D
o
no
t
destroy cursors in a
n
erased area
commit
|
commitdiff
|
tree
2012-10-02
Petr Tes
a
rik
F
ix h
e
d_cursor_data
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r
Tesarik
Fix hed_file_insert_begin
commit
|
commitdiff
|
tree
2012-10-02
Petr T
e
s
a
rik
F
i
x ma
x
imum file size off by
o
ne
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esarik
clea
n
up: se
p
arate pu
b
lic
and private in
t
erface for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr T
e
sarik
Opt
i
mize hed_cur
s
or_data
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
clea
n
up
:
get r
i
d of most
le
g
a
c
y macros in file
.
c
commit
|
commitdiff
|
tree
2012-10-01
P
etr Tesarik
Convert Boye
r
-Moore limits to
uns
i
gned types
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Spl
i
t Boyer-Moore forward
and backward searc
h
commit
|
commitdiff
|
tree
2012-10-01
Petr T
e
sarik
Micro-optimize find_byte
s
tr()
commit
|
commitdiff
|
tree
2012-10-01
Pe
t
r Tesarik
Fix backward searching of one
-
b
yte expre
s
sions
commit
|
commitdiff
|
tree
2012-10-01
Petr Tes
a
rik
Fix a SIGSEGV when searc
h
ing b
a
ckw
a
rds
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Open-co
d
e find_c
p
in() in find_
b
ytestr()
commit
|
commitdiff
|
tree
2012-10-01
P
e
tr
T
esarik
Optimiz
e
main loop in
f
i
nd_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr
T
esarik
Fix find_by
t
es
t
r()
commit
|
commitdiff
|
tree
2012-09-28
Petr Te
s
ari
k
S
kip bad blocks
i
n search and fix a
SIGSEGV
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
ri
k
Fix
n
o
n
-co
n
stant sear
c
h
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
rik
M
a
rk bad bl
o
cks with HED_BLOC
K
_BAD
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
prepare_mo
d
i
f
y: Use block f
l
ags to check if a cursor
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
P
etr Tes
a
rik
Allow extra flags to be set for a block c
r
eate
d
by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Te
s
arik
cleanup: f
i
le_new_block ->
new_block
commit
|
commitdiff
|
tree
2012-09-27
P
etr Tesa
r
ik
Better r
e
co
v
er
y
from rea
d
errors
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesar
i
k
Fix various s
i
gnedn
e
ss i
s
sues in
t
he
swap cod
e
commit
|
commitdiff
|
tree
2012-09-27
Pet
r
T
e
sar
i
k
F
i
x incorrect
masking in swp_getmapping()
commit
|
commitdiff
|
tree
2012-09-27
P
etr Tesarik
cleanup:
m
ak
e
all physical positions unsigne
d
commit
|
commitdiff
|
tree
2012-09-27
P
e
t
r
Tesarik
cleanup:
d
efine
sys_page_shi
f
t
and sys_page_size in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
P
etr
T
esarik
Fix signedness of FILE_
B
LOCK_x
x
x
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cleanup
:
r
e
fo
r
mat new_virt_block and new_da
t
a_blo
c
k
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
alloc_block
-
>
n
ew_data
_
block
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
Always decl
a
re struct
remap_
c
ontrol
commit
|
commitdiff
|
tree
2012-09-26
Petr T
e
sarik
cleanup: include types
.
h and swap
.
h
from cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
P
etr Tesarik
cleanup
:
d
o not require @data argument for remap_init
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: C
o
n
s
t
i
fy th
e
f
i
rst cursor paramet
e
r
t
o hed_f
i
le_ins
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
i
k
c
leanup: s
a
ve one dereference in _b
l
ock_da
t
a_fr
e
e
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: Merg
e
block_data_new
wit
h
block_data_new
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: move load_block
s
closer to file_l
o
ad
_
data
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
ik
cleanup: move replac
e
_c
h
unk
c
l
oser to other bloc
k
-h
a
n
d
ling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
P
e
t
r Tesa
r
ik
cleanup: d
o
not re-compu
t
e the readahead distance from
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr
Te
s
a
ri
k
cleanup: get rid of th
e
"file" macro define
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
T
esa
r
ik
Merge
r
e
m
a
p_caches
w
it
h
alloc_caches
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
i
k
Rew
r
i
te readahead c
o
de
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
ik
A
d
d
h
e
d
_curso
r
_phys_po
s
to
t
he API
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
ik
cl
e
anu
p
:
use
hed_c
u
rs
o
r_t in search_
d
a
ta()
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cl
e
anu
p
: use hed_cursor_t instead of block+off pair
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
clean
u
p: move
f
ile_ra_xxx macros
near the top of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
P
e
tr T
e
sarik
cleanu
p
: fi
l
e_move_rel_fast
-> mo
v
e_rel
_
fast
commit
|
commitdiff
|
tree
2012-09-22
Pe
t
r Tesa
r
ik
cleanup: B
L
KGE
T
S
IZE retu
r
ns unsigned long, not a 3
2
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r Tesarik
cleanu
p
: kill
h
ed_f
i
le_next
_
b
l
ock
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesa
r
i
k
Mark unre
a
dable
po
r
tions of a file
w
i
th a red
XX
commit
|
commitdiff
|
tree
2012-09-21
Petr Te
s
a
r
ik
Rewrite find_expr without
h
e
d
_fi
l
e_next
_
block
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Mer
g
e h
e
d_cursor_
c
hunk_len wi
t
h hed_p
r
epare_read
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr Tesari
k
Add hed_cursor_chunk_len to the A
P
I
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
A
dd h
e
d_cursor_span() t
o
the
API
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
Rew
r
ite calls to hed_file_f
e
tch_block() and k
i
ll
th
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
A
d
d hed_cursor_data
(
) to the
API
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr Tesarik
Ma
r
k
f
ile_access
_
init as internal
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesar
i
k
c
l
eanup: rewrite remap helpers
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesari
k
Merg
e
fixup
.
h wi
t
h
access
.
h
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Te
s
a
r
i
k
clean
u
p:
Kill hed_fi
l
e_re
a
d_begin
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Rewrite the SI
G
B
U
S
handler
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tesa
r
ik
cache:
i
nitialize hed_block_data's
data to NU
L
L if
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
Cle
a
r
th
e
modifie
d
flag afte
r
a suc
c
essful
file_commit
(
)
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesar
i
k
s
w
ap
.
h:
r
eplace
trivial macros
w
ith tr
i
vial inline
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
T
e
sarik
Remove
m
ain
.
c
depende
n
cy on libhed configuration
commit
|
commitdiff
|
tree
next