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
Rewrite find_bytestr for faster code
2012-10-11
Petr Tesarik
Rewrite fi
n
d_bytest
r
fo
r
fast
e
r code
commit
|
commitdiff
|
tree
2012-10-10
Petr
T
esa
r
ik
Fix Boy
e
r
-Moore
b
ac
k
ward
s
e
a
rch
commit
|
commitdiff
|
tree
2012-10-10
Petr Tesarik
Fix search
i
ng for n
u
ll
b
ytes beyo
n
d
EOF
commit
|
commitdiff
|
tree
2012-10-10
Pe
t
r Tes
a
r
ik
Fix hed exp
r
essi
o
n length in fi
n
d
_
b
y
test
r
()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: kill file_block
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesa
r
ik
c
lean
u
p: k
i
l
l
blockoff
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clea
n
up: kill file_
s
i
ze()
commit
|
commitdiff
|
tree
2012-10-09
P
etr
T
esarik
cleanup: kill
file_blocks()
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
T
esarik
Fix byte string
s
earc
h
in
b
locks with non-ze
r
o da
t
a
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
Fix
n
o
n-swap
c
o
nfiguration
s
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
optimize: use update_curso
r
s
instea
d
of mo
v
e_
c
urs
o
rs
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Clear la
s
t
l
oaded block aft
e
r
EOF
commit
|
commitdiff
|
tree
2012-10-09
P
etr Te
s
a
r
i
k
cleanup
:
fix cast to pointer f
r
o
m
in
t
eger of d
i
fferent
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix insert beyo
n
d EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix re
p
l
ace beyond
EOF
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
clean
u
p: up
d
ate the
d
e
scription of p
r
epare_modify()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix block in
s
ertion in replace_chunk
commit
|
commitdiff
|
tree
2012-10-09
P
etr T
e
s
arik
clean
u
p: remove last field
from
s
truct
hed_tree
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sari
k
Cha
n
ge insert_into_tree so it ins
e
rts *b
e
fore* the
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
rik
cleanup: rename blocko
f
f -> cursor for low
-
level
r
ou
t
ines
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Re-
i
mplement first_bl
o
c
k() and
l
ast_
b
lock()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Ad
d
self
address to the swa
p
f
ile header
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Opt
i
mize the splay
t
ree implementat
i
o
n for file blocks
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
cleanup: use the blo
c
k address dir
e
c
t
ly in hed_
f
ile_e
r
ase_block
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clean
u
p:
remove t
r
e
e
/f
i
le parameter wher
e
po
s
sible
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesari
k
cleanup
:
remove tree pa
r
amete
r
where
possible
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clea
n
up: remove appen
d
_to_tree()
commit
|
commitdiff
|
tree
2012-10-09
P
etr
Tes
a
r
i
k
Rew
r
ite
t
h
e block
l
ist without a null node
commit
|
commitdiff
|
tree
2012-10-08
Petr T
e
sarik
cleanup: remove unused iteration macros
commit
|
commitdiff
|
tree
2012-10-08
Petr T
e
sarik
U
s
e HED_BLOCK_
E
OF f
l
ag to terminate l
o
ops over
blocks
commit
|
commitdiff
|
tree
2012-10-04
Petr Tesarik
c
l
ea
n
up: r
e
na
m
e hed_tr
e
e_head to
he
d
_tree
_
node
commit
|
commitdiff
|
tree
2012-10-04
P
etr Tesa
r
ik
I
nstall the library a
n
d p
u
blic head
e
r files
commit
|
commitdiff
|
tree
2012-10-03
Pe
t
r Tesarik
Fix another
o
ff-
b
y
-
one i
n
cache_co
m
pact
commit
|
commitdiff
|
tree
2012-10-03
Pe
t
r Tesarik
Fix
a
n off-by-one
i
n re
o
rder_ele
m
e
n
t
s
commit
|
commitdiff
|
tree
2012-10-03
Petr Te
s
arik
Sa
n
e behaviour
o
f hed_get
_
c
ursor
commit
|
commitdiff
|
tree
2012-10-03
P
etr Tesarik
cleanup: move phys end computation to it
s
own
function
commit
|
commitdiff
|
tree
2012-10-03
Petr
Tesarik
c
l
eanup: constify arguments to
r
ead
-
o
nly methods
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesa
r
ik
Fix
s
ea
r
ch
for first block
i
n load_blocks
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tesarik
Fix re
u
se_loaded_data()
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tes
a
rik
Add next_nonzero_block()
and rewrite
b
lockoff_
n
ext_b
l
o
c
k(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix he
d
_blo
c
k_is_after_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix types in BDEBUG
m
essages
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tesa
r
ik
Fix
final shrinking of insert blo
c
k
s
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Do n
o
t de
s
troy cursors
in
a
n
erased
a
rea
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix hed_cu
r
so
r
_
d
ata
commit
|
commitdiff
|
tree
2012-10-02
Petr Te
s
arik
Fix hed_file_insert_begin
commit
|
commitdiff
|
tree
2012-10-02
P
etr Tesarik
Fix maxim
u
m file size off b
y
one
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
cleanup: separate
public and priva
t
e
interface f
o
r
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r
Tesarik
Op
t
imi
z
e hed_cursor_data
commit
|
commitdiff
|
tree
2012-10-02
Petr T
e
sari
k
c
leanup:
g
et rid of most lega
c
y
macros in file
.
c
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
Te
s
arik
Convert Boyer-Moore limi
t
s to unsig
n
ed types
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Sp
l
i
t
B
o
yer-Moore forward and b
a
ckwar
d
search
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Micro-optimi
z
e find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
T
esa
r
ik
F
ix backward searching of one-byte expressions
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesar
i
k
F
ix a SIGSEGV when search
i
ng ba
c
k
w
a
r
ds
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
O
p
en
-
code find_cpi
n
() i
n
find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
P
e
tr
T
esarik
Optimiz
e
m
ain loop
i
n find_by
t
estr()
commit
|
commitdiff
|
tree
2012-10-01
P
etr Tesarik
Fix f
i
n
d
_bytestr()
commit
|
commitdiff
|
tree
2012-09-28
P
etr Tesarik
Skip bad blo
c
ks
i
n search
and f
i
x a SIGSEGV
commit
|
commitdiff
|
tree
2012-09-28
Pe
t
r
Tesarik
Fix non-constant search
commit
|
commitdiff
|
tree
2012-09-28
Petr T
e
sarik
Mark
b
a
d
blocks with HED
_
B
LOCK_BAD
commit
|
commitdiff
|
tree
2012-09-28
Petr T
e
s
arik
prep
a
re_modify: Use bloc
k
f
l
ags to
c
h
e
ck
i
f a cursor
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
Allow extra flags to
b
e set for
a block created by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr
Tesarik
clea
n
u
p
: file_n
e
w
_
block ->
new_block
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesar
i
k
Bet
t
er recovery from rea
d
errors
commit
|
commitdiff
|
tree
2012-09-27
P
e
tr Tesarik
Fix var
i
ous signedness issues in
t
he swap
c
ode
commit
|
commitdiff
|
tree
2012-09-27
Pet
r
Te
s
arik
Fix i
n
correct masking in
swp_getmapp
i
ng()
commit
|
commitdiff
|
tree
2012-09-27
P
e
t
r
Tesarik
cleanup: make all physical positions unsigned
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
cleanup: define sys_
p
age_shift
and sys_page_si
z
e
i
n
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Fix sign
e
dness
o
f
F
I
L
E
_BLO
C
K_xxx
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cle
a
nup: reformat new_
v
irt_bl
o
ck
a
nd new_data_block
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
all
o
c_
b
lock -> new_data_block
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
Always declar
e
str
u
ct remap_con
t
rol
commit
|
commitdiff
|
tree
2012-09-26
Petr Tes
a
r
i
k
cleanu
p
: include
t
ype
s
.
h and swap
.
h from c
a
c
he
.
h
commit
|
commitdiff
|
tree
2012-09-26
Petr Te
s
arik
cleanup: d
o
not
requir
e
@data argument for remap_init
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
s
arik
c
leanup: Consti
f
y the first cursor par
a
me
t
er to hed_file_ins
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesar
i
k
cleanup: save
o
ne derefe
r
e
nce in _bloc
k
_data_free
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
ar
i
k
cleanup: Merge block_data
_
n
ew wi
t
h block_data
_
n
ew
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
cleanu
p
:
m
ove loa
d
_bl
o
c
ks closer
to file_load_da
t
a
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cle
a
nup: m
o
ve re
p
lace_ch
u
n
k
closer to ot
h
er block-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esar
i
k
cleanup: do
n
ot
re-compute the readahead dis
t
ance f
r
om
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
P
e
t
r Tes
a
rik
c
le
a
nu
p
:
g
e
t rid of th
e
"file" macro defi
n
e
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sarik
Merge re
m
ap_caches wi
t
h allo
c
_cache
s
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sarik
Rewr
i
t
e
readahead
code
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
Add hed_cursor_phys
_
pos to the API
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
c
lean
u
p: use
h
ed_curs
o
r_t
i
n search_da
t
a()
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tes
a
rik
cleanup: us
e
hed
_
c
ursor_t instead of block
+
o
f
f
pair
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: move file_ra_xxx mac
r
os near the
top of
t
he
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Te
s
arik
cleanup
:
file_move_rel_fast
-> m
o
ve_rel_fast
commit
|
commitdiff
|
tree
2012-09-22
Petr
T
esa
r
ik
cleanup
:
BLKGETS
I
Z
E
re
t
u
rns un
s
igned long, not a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanup: kill hed_file_next_block
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesarik
Mark un
r
eadable p
o
rtions of a f
i
le with a red XX
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Rewrite find_ex
p
r wi
t
h
o
u
t hed_
f
ile_next_block
commit
|
commitdiff
|
tree
2012-09-21
P
etr
T
e
s
arik
M
e
r
g
e
hed_curso
r
_
ch
u
nk_len with hed_prepare_read
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
sari
k
Ad
d
hed_cu
r
sor_chunk_len to the API
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesarik
Add
h
ed_c
u
rso
r
_span() t
o
t
h
e API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Rewr
i
te
calls
t
o hed_fil
e
_fetch_bloc
k
()
an
d
kill
the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Ad
d
he
d
_cursor_data
(
) to the API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Mark f
i
le_a
c
cess_init as internal
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tes
a
rik
clea
n
up:
rewrite remap
h
elp
e
rs
commit
|
commitdiff
|
tree
next