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
Use correct types for cursor absolute and relative offsets
2012-10-11
Petr Tesa
r
ik
S
e
p
a
ra
t
e
e
x
pression compile from
i
n
it
i
a
lizat
i
on
commit
|
commitdiff
|
tree
2012-10-11
P
e
tr Tesarik
Make he
d
_expr_compile
m
or
e
s
t
rict and al
l
ow emp
t
y expressions
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
cleanu
p
: add hed
_
expr2
o
ff() sh
o
rthand
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesa
r
i
k
Change hed_ex
p
r_eva
l
call s
i
g
n
ature
commit
|
commitdiff
|
tree
2012-10-11
P
e
t
r Tesarik
Rewrite find_byt
e
str for faster co
d
e
commit
|
commitdiff
|
tree
2012-10-10
Petr Tesa
r
ik
Fix Boy
e
r-Moore back
w
ar
d
search
commit
|
commitdiff
|
tree
2012-10-10
Pe
t
r
Tesari
k
F
i
x searchin
g
for null
b
ytes
b
eyond E
O
F
commit
|
commitdiff
|
tree
2012-10-10
Petr Tesarik
Fix hed expression length
in fi
n
d
_
bytestr()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
cleanup: kill file_block
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesarik
cleanup: kill
b
lockoff
commit
|
commitdiff
|
tree
2012-10-09
P
etr T
e
sarik
cleanup: kill file_
s
ize()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
c
leanup: kill file
_
blocks()
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
e
s
arik
F
i
x
byte string search i
n
b
lo
c
ks w
i
th non-zer
o
data
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
F
i
x no
n
-sw
a
p configura
t
io
n
s
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sa
r
i
k
opt
i
mize
:
use update
_
cursors
i
nstead of move_cursors
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
rik
Cle
a
r
l
ast
l
oaded b
l
ock after
EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
c
leanup: f
i
x c
a
st to pointer from int
e
ge
r
of differ
e
n
t
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
Fix in
s
ert bey
o
nd EOF
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesarik
Fix
r
e
place beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: update the des
c
ription of prepare_modify()
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
Fix block
i
nsertion in replace_chunk
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
ar
i
k
cleanup:
re
m
ove last f
i
eld f
r
om struct hed_t
r
ee
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
C
h
ange ins
e
rt_into_tree so it inserts *before* th
e
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanu
p
:
rename blo
c
kof
f
-
>
c
u
rsor for low-
l
evel
routines
commit
|
commitdiff
|
tree
2012-10-09
P
e
t
r
Tesarik
Re-imple
m
ent first
_
block() and last_b
l
ock()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
r
ik
Add self
a
ddress
t
o
t
he swap
file header
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sa
r
ik
Opt
i
m
i
ze the
s
play tree im
p
lementation
for file blocks
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
cl
e
anup
:
use the blo
c
k a
d
d
ress
d
irectly
i
n
he
d
_fil
e
_erase_b
l
ock
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clea
n
up:
re
m
ov
e
tree
/
f
i
le parameter where possible
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesarik
cleanup: remove tree par
a
meter where possib
l
e
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
cle
a
nup: remove ap
p
end
_
t
o
_tree()
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r
Tes
a
rik
Rewrit
e
the block list wi
t
hout a null node
commit
|
commitdiff
|
tree
2012-10-08
Petr Tesarik
cleanup: remove unused i
t
eration macros
commit
|
commitdiff
|
tree
2012-10-08
P
etr
T
esar
i
k
U
s
e
HED_B
L
O
C
K_EOF flag
to terminate loops over blocks
commit
|
commitdiff
|
tree
2012-10-04
Pet
r
Tesari
k
cle
a
nup: rename hed_tree_head to
h
ed_tr
e
e_node
commit
|
commitdiff
|
tree
2012-10-04
Petr Tesa
r
ik
Instal
l
the library
and pub
l
ic he
a
der f
i
les
commit
|
commitdiff
|
tree
2012-10-03
Petr T
e
s
arik
Fix anot
h
e
r off-
b
y-
o
ne in cache_compact
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fi
x
an
o
ff-by-one in reorder_elements
commit
|
commitdiff
|
tree
2012-10-03
P
e
tr
T
esarik
S
a
ne behaviour of hed_get_cursor
commit
|
commitdiff
|
tree
2012-10-03
Pe
t
r Tesarik
cleanup: mov
e
phys end computat
i
on t
o
i
ts own fu
n
cti
o
n
commit
|
commitdiff
|
tree
2012-10-03
Petr
Tesarik
cleanup: c
o
nstify argument
s
to read-only methods
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix
s
earch for
f
irst b
l
ock in lo
a
d_blocks
commit
|
commitdiff
|
tree
2012-10-02
P
etr T
e
sarik
Fi
x
reuse
_
load
e
d_data()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
A
dd
next_nonzero_
b
lock() and rewrite
blo
c
koff_ne
x
t_block()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
ix hed_block_
i
s_af
t
er_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esarik
Fi
x
typ
e
s in
BDEBUG messages
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
i
x final shrink
i
ng of ins
e
r
t
b
l
o
c
ks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Do not destroy curso
r
s in an e
r
ase
d
area
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix hed_cu
r
sor_
d
ata
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fi
x
hed
_
f
ile_insert_b
e
gin
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esa
r
ik
Fix maxi
m
um file size of
f
by one
commit
|
commitdiff
|
tree
2012-10-02
P
e
tr Tes
a
rik
c
leanup: se
p
ar
a
te public and p
r
i
vate interface for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Optimize
hed_cursor_
d
ata
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
cle
a
nup
:
get rid of mos
t
legacy macros in file
.
c
commit
|
commitdiff
|
tree
2012-10-01
Petr
T
e
sarik
Convert Boyer-Moore limits
t
o unsigned ty
p
e
s
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Split Boyer-Mo
o
re forward an
d
backward sea
r
ch
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Micro-opt
i
mize find_byt
e
str()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fi
x
backwa
r
d
s
earching of one-byte expr
e
ssions
commit
|
commitdiff
|
tree
2012-10-01
P
etr Tesarik
Fix a SIGSEGV when
s
e
a
rching backward
s
commit
|
commitdiff
|
tree
2012-10-01
P
et
r
Tesa
r
i
k
Ope
n
-cod
e
find_cpin() in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
P
etr Tesarik
O
ptimize mai
n
loop in find_by
t
estr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix find_bytestr()
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
Skip bad blocks
i
n s
e
ar
c
h and
f
ix a S
I
GSEGV
commit
|
commitdiff
|
tree
2012-09-28
Petr Te
s
arik
Fix
n
on-con
s
tant search
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
rik
Ma
r
k
bad
blo
c
ks with HED_
B
LOCK
_
BAD
commit
|
commitdiff
|
tree
2012-09-28
Petr Te
s
arik
prepare_modi
f
y: Use block
f
l
ags
to check if a curs
o
r
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Te
s
ari
k
A
llow
extra flags to
b
e set
for a b
l
o
c
k
created by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
clean
u
p: f
i
l
e
_new_
b
l
ock -> new_block
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Bette
r
recov
e
r
y
from
read err
o
r
s
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Fix
v
ar
i
o
us signedness is
s
ues in th
e
swap c
o
de
commit
|
commitdiff
|
tree
2012-09-27
Pet
r
Tesarik
Fix incorrect masking
i
n swp_g
e
t
m
apping()
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
cleanup:
make all physical positions u
n
signed
commit
|
commitdiff
|
tree
2012-09-27
Petr Te
s
arik
cleanup: define sys_page_
s
h
i
ft and
sys_page_s
i
z
e
i
n
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
Petr
T
esa
r
ik
Fix signedne
s
s of FILE_BLOCK_xxx
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r
Tesarik
cleanup:
r
eformat new_virt_
b
lock and
n
e
w_data
_
block
commit
|
commitdiff
|
tree
2012-09-26
Petr
Tesarik
alloc_block -> new_data_block
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
Al
w
a
ys decla
r
e stru
c
t r
e
m
a
p_control
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
clea
n
up
:
i
n
clude types
.
h and swap
.
h
fro
m
cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cl
e
anup: do not require @data argument for re
m
ap_init
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup
:
Constif
y
t
he first cursor parameter to hed_file_
i
n
s
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
clea
n
up: save one dereference in _block_d
a
ta_
f
ree
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup:
M
erge block_d
a
ta_new with block
_
data_ne
w
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
cleanu
p
: move load_
b
loc
k
s
closer to fi
l
e
_
load_data
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanu
p
: move replace_chunk clo
s
er to other block
-
han
d
ling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
a
r
ik
cleanup: do not re-compute the reada
h
ead distance
fro
m
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: get
r
id of the "file"
macro d
e
fine
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
Merge re
m
ap_caches wi
t
h
a
lloc_c
a
c
hes
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sarik
Rewrite
readahe
a
d
code
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
Add hed_cursor_p
h
y
s
_pos
to
t
he A
P
I
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
arik
cleanup: use hed_cursor_t in s
e
arch_data()
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tesarik
clea
n
up: use hed_cu
r
sor_t i
n
stead of
b
lo
c
k+off
pair
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sa
r
ik
cleanup:
move f
i
le_ra_x
x
x
macros
n
e
ar the top of
t
he
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Tesar
i
k
cleanup:
f
ile_move_rel_fast -> move
_
rel_fas
t
commit
|
commitdiff
|
tree
2012-09-22
Petr Tesari
k
cleanup
:
BLKGETSIZE retur
n
s
u
n
s
igned long, not
a
3
2
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesari
k
cleanup:
k
ill
hed_fil
e
_
n
ex
t
_block
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Mark unreadable
p
orti
o
n
s
o
f a f
i
l
e with a red X
X
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r Tesarik
Rewrite find_expr without hed_fil
e
_nex
t
_
b
lo
c
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Mer
g
e hed_cursor_chunk_len with
h
ed_prep
a
re
_
read
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
A
d
d hed_c
u
rsor_chunk_len
to the API
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
sarik
Add hed
_
cursor
_
span()
t
o t
h
e AP
I
commit
|
commitdiff
|
tree
next