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
2012-10-11
P
e
tr Tesarik
Rename ", (content un
d
er
cursor) to "$
commit
|
commitdiff
|
tree
2012-10-11
Petr Te
s
arik
Docume
n
t
a
tion fixes
commit
|
commitdiff
|
tree
2012-10-11
P
e
tr Tesarik
c
l
eanup: remov
e
no longer needed cr
u
ft fr
o
m hed_file_find_e
x
pr(
)
commit
|
commitdiff
|
tree
2012-10-11
Petr
T
e
s
arik
Rewrit
e
the
h
ed_expr API
commit
|
commitdiff
|
tree
2012-10-11
Pet
r
Tesarik
Re-implement regis
t
er callback
outside
libhed
commit
|
commitdiff
|
tree
2012-10-11
Pe
t
r
Tes
a
r
i
k
S
e
parat
e
e
xpress
i
on co
m
pil
e
fr
o
m
i
nitialization
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Make hed_exp
r
_compile more str
i
ct and
al
l
o
w empty expre
s
sions
commit
|
commitdiff
|
tree
2012-10-11
P
e
t
r
Tesarik
cleanup:
add hed_expr
2
o
f
f
() sho
r
thand
commit
|
commitdiff
|
tree
2012-10-11
Petr
T
e
s
ar
i
k
Cha
n
ge hed_expr
_
e
val
c
a
l
l sign
a
ture
commit
|
commitdiff
|
tree
2012-10-11
Petr
T
esarik
Rewrite fi
n
d_bytestr
for faste
r
code
commit
|
commitdiff
|
tree
2012-10-10
P
e
tr Tesa
r
ik
Fix Boyer-Moore backward sea
r
c
h
commit
|
commitdiff
|
tree
2012-10-10
Petr T
e
sarik
F
ix search
i
ng for
null bytes
beyond EOF
commit
|
commitdiff
|
tree
2012-10-10
Pe
t
r Tesarik
Fi
x
hed
expression leng
t
h in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr T
e
sarik
cl
e
anup: kill file_bloc
k
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesa
r
ik
cleanup: kill blockof
f
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
a
rik
c
leanup: kill
f
ile_size()
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
a
r
ik
cle
a
nup:
ki
l
l
file_blocks()
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
e
s
a
r
ik
Fix byte s
t
ring se
a
r
c
h
i
n
block
s
w
i
th no
n
-zero dat
a
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix non-swap c
o
nfig
u
rati
o
ns
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
optimize: use update_cur
s
ors instead o
f
m
o
ve_c
u
rsors
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesa
r
ik
Clear last loa
d
ed block after E
O
F
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r
T
e
s
arik
cleanup:
f
ix cast to poin
t
er from inte
g
er of d
i
ffere
n
t
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesa
r
ik
Fix
i
n
s
e
rt beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesa
r
ik
Fix replace b
e
yond EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
c
l
e
a
nup: update the description o
f
prepare_modify()
commit
|
commitdiff
|
tree
2012-10-09
P
e
t
r
Tesarik
Fix bl
o
ck insertio
n
in
r
e
p
lace_chunk
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
cleanup: remove last field from struct hed_tree
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
C
h
ange insert_into_tree so it inserts
*before* the
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
clea
n
u
p:
r
ename b
l
oc
k
o
f
f -> cu
r
sor for low-level
routi
n
es
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Re-implement
f
irst_block() and last_block()
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
Add s
e
lf address to th
e
swap fi
l
e
h
e
ader
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
Optimize t
h
e splay tree imp
l
ementation
f
or fil
e
blocks
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: use
the block address d
i
r
e
ct
l
y in h
e
d
_
file_erase_block
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
clean
u
p: remove tree/file paramet
e
r
w
h
e
r
e possible
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup:
remove tree parameter where possible
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
cleanup:
remove append_to
_
tree
(
)
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Rewrite the block list without a null
n
ode
commit
|
commitdiff
|
tree
2012-10-08
Petr Tesarik
cleanup: re
m
ove
unus
e
d iterat
i
o
n
mac
r
os
commit
|
commitdiff
|
tree
2012-10-08
Pet
r
T
esarik
Use
H
ED_BLOCK_EOF flag to
t
erminate loops ove
r
blocks
commit
|
commitdiff
|
tree
2012-10-04
Petr Tesa
r
ik
cleanup: rename hed_tree_head to hed_tree_no
d
e
commit
|
commitdiff
|
tree
2012-10-04
Petr Tesarik
I
n
stall the
l
ibra
r
y a
n
d public he
a
d
e
r files
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix an
o
ther off-by-one in c
a
che_compact
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix an of
f
-by-one in reorder_elements
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
San
e
b
ehaviour
o
f hed
_
ge
t
_c
u
r
s
or
commit
|
commitdiff
|
tree
2012-10-03
Pet
r
Tesarik
clean
u
p
: mo
v
e p
h
ys end
c
omputation
t
o its own function
commit
|
commitdiff
|
tree
2012-10-03
Petr
Tesar
i
k
cleanup: const
i
f
y
a
rguments
to read
-
onl
y
methods
commit
|
commitdiff
|
tree
2012-10-03
Petr
T
es
a
rik
Fix
s
earch for first blo
c
k in load_blocks
commit
|
commitdiff
|
tree
2012-10-02
Pet
r
T
e
sarik
F
ix reuse_loaded_
d
a
t
a
()
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esarik
Add n
e
x
t
_nonzero_block() and rewrite
b
l
o
cko
f
f_ne
x
t_bloc
k
(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fi
x
hed_block_
i
s_after_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
Fix types
i
n
BDEBUG messages
commit
|
commitdiff
|
tree
2012-10-02
Petr T
e
s
a
rik
Fix final shrinking of insert blocks
commit
|
commitdiff
|
tree
2012-10-02
Pet
r
T
esari
k
D
o
not d
e
stroy curso
r
s i
n
an erased area
commit
|
commitdiff
|
tree
2012-10-02
Petr Te
s
a
r
ik
Fix he
d
_cursor_data
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix h
e
d
_file_insert_begin
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix maximum
f
i
le size
off b
y
one
commit
|
commitdiff
|
tree
2012-10-02
Petr Tes
a
rik
cl
e
anup: s
e
par
a
te public and private int
e
rface for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Opt
i
miz
e
hed_
c
ursor_dat
a
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tesarik
clea
n
up: get ri
d
of mos
t
legac
y
macros in
file
.
c
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesar
i
k
Conv
e
rt Boy
e
r-Moore limits to
unsigned t
y
pes
commit
|
commitdiff
|
tree
2012-10-01
P
e
tr Tesarik
S
pli
t
Boyer-Moore forward
and
b
a
ckwa
r
d search
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Micro-o
p
t
imize fi
n
d
_
bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tes
a
rik
Fi
x
backwar
d
sear
c
hing of
one-byte expre
s
sions
commit
|
commitdiff
|
tree
2012-10-01
Petr
T
e
s
ari
k
Fix a
S
IGSEGV whe
n
searchin
g
backwar
d
s
commit
|
commitdiff
|
tree
2012-10-01
Petr
T
e
sarik
Open
-
code find
_
cpin() in fi
n
d_byt
e
str()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
O
p
timize ma
i
n loo
p
in fi
n
d_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix find_
b
y
testr()
commit
|
commitdiff
|
tree
2012-09-28
Petr T
e
sarik
Skip bad blocks in se
a
rch and fix a SIGSEGV
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
Fix non-constant s
e
arch
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
Mark bad bl
o
c
k
s with HED_
B
LOCK_BAD
commit
|
commitdiff
|
tree
2012-09-28
P
etr T
e
s
ar
i
k
pre
p
are_modify: Use
b
lo
c
k
flags to check if a cursor
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr
Tes
a
rik
Allow extra
flags t
o
be set for a bl
o
ck c
r
eated by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr T
e
sarik
cleanup: file_new_
b
lock ->
n
e
w
_block
commit
|
commitdiff
|
tree
2012-09-27
Pet
r
Tesarik
Better recovery
f
rom
r
e
a
d errors
commit
|
commitdiff
|
tree
2012-09-27
Petr Tes
a
rik
Fix v
a
rious signedness
issues i
n
th
e
swap code
commit
|
commitdiff
|
tree
2012-09-27
Pet
r
T
e
s
a
rik
Fix incorrect masking in s
w
p_ge
t
mapp
i
ng()
commit
|
commitdiff
|
tree
2012-09-27
Pe
t
r Tesa
r
ik
cleanup: make all physi
c
al positions
uns
i
gned
commit
|
commitdiff
|
tree
2012-09-27
Petr
Tesarik
c
lean
u
p: define sy
s
_page_shif
t
and sys_page_size in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
P
etr Tesarik
Fix
signedn
e
ss of F
I
LE_BLOC
K
_
x
xx
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cleanup: reformat new_v
i
rt_blo
c
k and new_data_block
commit
|
commitdiff
|
tree
2012-09-26
Petr
T
es
a
rik
a
l
l
oc_blo
c
k -> new_dat
a
_bl
o
ck
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r Tes
a
rik
A
lways decl
a
re struct remap_c
o
ntrol
commit
|
commitdiff
|
tree
2012-09-26
P
etr Tesarik
cleanup:
include types
.
h and swap
.
h from
c
ache
.
h
commit
|
commitdiff
|
tree
2012-09-26
Pet
r
T
e
sarik
c
leanup: do not
req
u
ire @data
a
r
gum
e
n
t
fo
r
r
e
map_i
n
i
t
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
T
e
s
a
rik
cleanup: Con
s
t
if
y
the first cursor par
a
meter to hed_fil
e
_i
n
s
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
c
l
ean
u
p: save one derefere
n
ce in _block
_
data
_
free
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
clea
n
up:
M
e
rge b
l
ock_dat
a
_new
w
ith block
_
d
ata_new
commit
|
commitdiff
|
tree
2012-09-25
Petr Tes
a
r
i
k
cleanup: move load_blo
c
k
s
clos
e
r
to
fi
l
e_load_data
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
s
a
rik
clea
n
u
p:
m
o
ve
r
epl
a
c
e
_
chunk
c
loser to other bl
o
ck-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
P
etr Tesa
r
ik
cleanup: do not re-compute
the rea
d
a
h
ead di
s
tance from
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
cleanu
p
: get rid of th
e
"
file" ma
c
ro
def
i
ne
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r
T
esari
k
Merge remap_ca
c
hes with alloc_caches
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
e
s
arik
Rewrit
e
r
e
a
dahead code
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesar
i
k
Add hed_cursor_p
h
ys_
p
os t
o
t
he API
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esari
k
c
l
eanu
p
: us
e
hed
_
cursor
_
t
in sear
c
h_dat
a
()
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tesarik
cleanup: use he
d
_cursor_t inst
e
ad
o
f block+off
pai
r
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
e
s
a
rik
cle
a
n
up: move file_ra
_
x
xx macr
o
s near t
h
e top of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Tesarik
cle
a
nup: fi
l
e_mo
v
e
_
rel_fa
s
t -
>
move_rel_fast
commit
|
commitdiff
|
tree
2012-09-22
Petr T
e
s
a
rik
cleanup: BLKGETSIZE r
e
tur
n
s
u
n
sign
e
d long,
n
ot a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
cl
e
anup: kill hed_f
i
le
_
next_bl
o
ck
commit
|
commitdiff
|
tree
next