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 the hed_expr API
2012-10-11
Petr Tesarik
R
ewr
i
te
the hed_expr API
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesa
r
ik
R
e-implement regist
e
r c
a
ll
b
ack outside libhed
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Separate
e
xpres
s
ion
com
p
i
le from initialization
commit
|
commitdiff
|
tree
2012-10-11
Petr Te
s
arik
Ma
k
e
hed_expr_com
p
ile more stri
c
t and
a
llow empty
e
xpressions
commit
|
commitdiff
|
tree
2012-10-11
P
e
tr Tesa
r
ik
cleanup: add hed_expr2off()
shorthand
commit
|
commitdiff
|
tree
2012-10-11
Petr T
e
sarik
Ch
a
n
g
e
he
d
_expr_eval call signatu
r
e
commit
|
commitdiff
|
tree
2012-10-11
P
et
r
T
e
sarik
R
ewrite f
i
nd_bytestr for fa
s
t
er c
o
de
commit
|
commitdiff
|
tree
2012-10-10
Petr Tesarik
Fix Boyer-
M
oore
b
ackward
search
commit
|
commitdiff
|
tree
2012-10-10
P
e
tr Tesari
k
Fix sear
c
h
i
ng fo
r
null bytes b
e
yond
E
O
F
commit
|
commitdiff
|
tree
2012-10-10
P
etr Tesarik
Fix
h
e
d exp
r
ession
l
ength in fin
d
_by
t
estr()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesa
r
ik
clean
u
p
:
k
ill file_
b
lock
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
cleanup: kil
l
blockoff
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Te
s
arik
cleanup:
kill file_size
(
)
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clea
n
up
:
kill fil
e
_blocks()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix by
t
e string sea
r
ch in b
l
oc
k
s with non-zero data
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
e
s
arik
Fix non-
s
wap c
o
n
f
i
gu
r
a
tions
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
o
pti
m
ize: use update_cursors instead of
m
o
ve_cursors
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
Clear
l
ast loade
d
block
a
ft
e
r
EOF
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesa
r
i
k
c
leanup: f
i
x
cast to p
o
in
t
er from in
t
e
ger of diff
e
rent
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesa
r
ik
Fix insert beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
T
e
s
a
rik
Fix re
p
l
a
c
e beyond
E
OF
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesarik
cleanup: u
p
dat
e
the
d
escr
i
ption of
prepare_modif
y
(
)
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix block inse
r
tion
i
n repl
a
ce_c
h
unk
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesar
i
k
cleanup:
remove last
field f
r
om struct hed_tre
e
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Te
s
arik
Cha
n
ge insert_into
_
tree so it ins
e
rts *bef
o
re* the
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: rename
b
locko
f
f ->
c
u
rs
o
r for lo
w
-leve
l
routin
e
s
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesarik
Re-imp
l
ement first_bl
o
ck() an
d
las
t
_
bloc
k
()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
A
d
d
se
l
f addre
s
s to the swap file header
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Op
t
imi
z
e th
e
splay tre
e
implementation for f
i
l
e
block
s
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup
:
use the block
address directly in
h
e
d_fi
l
e_erase_bl
o
ck
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
cleanup: r
e
mov
e
tree/file
p
arameter w
h
e
re
p
ossible
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
clea
n
up: remove
tree p
a
rameter where p
o
ss
i
b
l
e
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clea
n
up: re
m
ove append
_
to_tree()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesa
r
ik
Rewrite the block
l
ist
without a null node
commit
|
commitdiff
|
tree
2012-10-08
Petr Tesari
k
cleanup:
r
emov
e
unused iteration macr
o
s
commit
|
commitdiff
|
tree
2012-10-08
P
e
tr Tesarik
Use HED_BLOCK_EO
F
f
l
ag to t
e
rm
i
na
t
e
l
o
o
ps o
v
er
blocks
commit
|
commitdiff
|
tree
2012-10-04
Petr Tesarik
cleanu
p
: rename hed_tree_he
a
d
to hed_tree_no
d
e
commit
|
commitdiff
|
tree
2012-10-04
Petr Tesa
r
ik
In
s
tall the
l
ib
r
ary and
p
u
blic
header
f
iles
commit
|
commitdiff
|
tree
2012-10-03
Petr
Te
s
arik
F
ix another off-by-one in cache_comp
a
ct
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
F
i
x
an off-b
y
-one i
n
reord
e
r_elements
commit
|
commitdiff
|
tree
2012-10-03
Petr Te
s
a
rik
Sane
be
h
aviour of
h
ed_g
e
t_cursor
commit
|
commitdiff
|
tree
2012-10-03
Petr
T
esarik
c
l
eanup: move phys
e
n
d computati
o
n to its own functio
n
commit
|
commitdiff
|
tree
2012-10-03
P
e
tr T
e
sarik
cleanup: c
o
nst
i
f
y arguments to read-only methods
commit
|
commitdiff
|
tree
2012-10-03
Petr
T
e
s
arik
Fix search
f
or firs
t
block i
n
load_
b
locks
commit
|
commitdiff
|
tree
2012-10-02
P
etr
Tesarik
Fix reu
s
e
_
l
o
a
ded_data()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Add next_
n
onz
e
ro_
b
lock()
and rewrite blocko
f
f_next_block()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix hed_block_is_a
f
t
er_eras
e
()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
Fix types in BDE
B
UG m
e
ssages
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
ix fin
a
l shrinking of inser
t
blocks
commit
|
commitdiff
|
tree
2012-10-02
Pet
r
Tesarik
Do not destroy
cursors in an erased area
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesa
r
ik
Fix hed_cursor_da
t
a
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
i
x
h
ed_file_insert_be
g
in
commit
|
commitdiff
|
tree
2012-10-02
P
etr Tes
a
r
i
k
Fix max
i
m
u
m file size off by one
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r Tesarik
clea
n
up: separate public a
n
d
p
rivat
e
interface for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
Opti
m
ize hed_cursor_d
a
t
a
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
cl
e
a
n
up:
get rid of most leg
a
c
y macros in file
.
c
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesa
r
ik
Conv
e
rt Boye
r
-Mo
o
re limits to unsigned t
y
p
e
s
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesa
r
ik
Split Boy
e
r
-Moore fo
r
ward and
backward s
e
arch
commit
|
commitdiff
|
tree
2012-10-01
Pe
t
r T
e
sarik
M
icro-o
p
timi
z
e find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
P
etr Te
s
arik
Fix backward searchi
n
g of one-byte expressions
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesar
i
k
Fi
x
a
SI
G
SE
G
V wh
e
n
searchin
g
backwards
commit
|
commitdiff
|
tree
2012-10-01
P
etr Tesarik
Op
e
n-
c
ode find_cpin() in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tes
a
rik
Optimize
ma
i
n loop in
find_
b
yt
e
str()
commit
|
commitdiff
|
tree
2012-10-01
P
et
r
Tes
a
rik
Fix fin
d
_b
y
t
e
st
r
()
commit
|
commitdiff
|
tree
2012-09-28
P
e
tr Tesarik
Skip bad
b
locks in search and
f
ix a
S
IGSEGV
commit
|
commitdiff
|
tree
2012-09-28
P
e
tr Tesarik
Fix non-consta
n
t sear
c
h
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
rik
Mark bad blocks with HED
_
BLOCK_BA
D
commit
|
commitdiff
|
tree
2012-09-28
P
e
tr Tesarik
prepare_modify: Use block flags to check if a
cursor
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
A
l
low extra flags to
b
e set for a block
cre
a
ted by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Pe
t
r Tesari
k
cleanup: file_new_block -
>
new_block
commit
|
commitdiff
|
tree
2012-09-27
P
etr Tesarik
Bet
t
e
r recovery
f
r
o
m read errors
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Fi
x
various signedness
i
s
sues in the
s
wap
code
commit
|
commitdiff
|
tree
2012-09-27
Petr Te
s
arik
Fix
i
n
c
orrec
t
masking in s
w
p
_getmapping(
)
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
cleanup: mak
e
all physical positio
n
s
u
n
s
igned
commit
|
commitdiff
|
tree
2012-09-27
P
etr Tesa
r
ik
c
leanup:
d
efine sys_pa
g
e_shift and sy
s
_page_si
z
e i
n
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Fix s
i
g
n
e
dness of FILE_BLOCK_xxx
commit
|
commitdiff
|
tree
2012-09-26
P
e
tr Te
s
a
rik
c
l
eanup
:
reformat new_vi
r
t_block and ne
w
_data_block
commit
|
commitdiff
|
tree
2012-09-26
P
e
tr Tesa
r
ik
alloc_block -
>
ne
w
_data_bl
o
c
k
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r Tesa
r
i
k
Always declare s
t
ruc
t
r
e
map_cont
r
ol
commit
|
commitdiff
|
tree
2012-09-26
P
e
tr Tesarik
clea
n
up:
i
nclude types
.
h and
swap
.
h from cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r Tes
a
rik
c
l
ean
u
p: do
n
ot require @data arg
u
m
en
t
f
o
r re
m
ap_in
i
t
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesar
i
k
cle
a
nu
p
: Constif
y
th
e
firs
t
cursor parameter to hed_file_in
s
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r T
e
sarik
cleanup:
s
av
e
o
n
e dereference in _b
l
oc
k
_dat
a
_f
r
ee
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup:
Merge block_data
_
new with block_data
_
new
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanu
p
:
move load_blocks closer to file_l
o
ad_dat
a
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
arik
cleanup: m
o
ve
replace_c
h
unk clo
s
er to other
bl
o
ck-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
clea
n
up: do not
r
e-compute the
r
eadahe
a
d distance from
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
e
sarik
cleanu
p
: get rid of
t
he "file" m
a
cro
define
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
arik
Merge re
m
ap_caches wit
h
alloc_caches
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
Rewrite
r
e
a
dahe
a
d
c
ode
commit
|
commitdiff
|
tree
2012-09-25
P
etr Tes
a
rik
Add hed_cursor_phys_po
s
to t
h
e
A
P
I
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tes
a
ri
k
cleanup: use hed_c
u
rso
r
_t in search_data()
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
T
e
sarik
cl
e
anu
p
: use
hed_c
u
rsor_t instead of block+off
p
air
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r T
e
sarik
c
lean
u
p: move f
i
le_ra_xxx macros near
t
h
e
top of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Te
s
arik
cleanu
p
:
file
_
m
ove_rel_fast
-> move_re
l
_fast
commit
|
commitdiff
|
tree
2012-09-22
Pe
t
r Tesar
i
k
cleanup: BLKGETSIZE returns un
s
igned
l
ong, not
a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
cl
e
anup: kil
l
hed_file_next_block
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesar
i
k
Mark
u
n
readabl
e
portions of
a
file
w
ith a red XX
commit
|
commitdiff
|
tree
2012-09-21
P
etr
T
e
sarik
R
ewrite f
i
nd_e
x
pr wit
h
out hed_file_next_
b
loc
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Mer
g
e hed_
c
urso
r
_
c
hunk_le
n
wit
h
hed
_
prepare_r
e
ad
commit
|
commitdiff
|
tree
next