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 an off-by-one in reorder_elements
2012-10-03
Petr Tes
a
r
i
k
Fix an
o
ff-by-one in re
o
r
d
er_elements
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Sane behaviou
r
of hed
_
get_
c
ursor
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesa
r
ik
cleanu
p
: move phys
e
nd c
o
mput
a
tion t
o
its own function
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesar
i
k
cle
a
nup: c
o
nstify a
r
gum
e
nts to
r
ead-only met
h
ods
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesar
i
k
F
i
x
search
for first block
in lo
a
d_blocks
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tesarik
Fix re
u
se_loaded_data
(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
A
d
d next_nonzero_block()
and r
e
wr
i
te blo
c
koff_ne
x
t_bl
o
ck(
)
commit
|
commitdiff
|
tree
2012-10-02
P
et
r
Tesarik
Fix hed_block_i
s
_af
t
er_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix
t
ypes in BDEB
U
G m
e
ss
a
ges
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix fi
n
al
s
hrinking of
insert
b
l
o
c
ks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Do not destroy
c
ursors in
an eras
e
d area
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esarik
Fix hed_curs
o
r_data
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix
hed_file_insert_begin
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesari
k
Fix maximum
fi
l
e size off
b
y o
n
e
commit
|
commitdiff
|
tree
2012-10-02
Petr T
e
s
arik
cleanup:
separate public
a
nd
p
r
ivate i
n
terface for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Pet
r
Tesari
k
Optimize hed_curso
r
_dat
a
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
cleanu
p
: g
e
t
rid of mos
t
l
egacy macros in file
.
c
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
Tesarik
Con
v
ert Boyer-Moore
limits t
o
unsigned types
commit
|
commitdiff
|
tree
2012-10-01
P
e
t
r Tes
a
rik
Spl
i
t Boyer-Moor
e
forward and backward search
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Micro-optimize find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
Tesa
r
i
k
Fix
b
a
c
kward
s
e
arching of
o
n
e-byte
e
x
pressions
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix a S
I
G
SEGV
w
hen se
a
r
chi
n
g
b
ackwards
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Open-
c
od
e
find_cpi
n
() in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Te
s
arik
Optimize main loop i
n
fin
d
_
bytestr()
commit
|
commitdiff
|
tree
2012-10-01
P
e
tr T
e
s
a
rik
Fix find_bytestr()
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesa
r
ik
Skip b
a
d blocks i
n
search and
f
ix a SIGSEG
V
commit
|
commitdiff
|
tree
2012-09-28
P
etr
T
esarik
Fix non-consta
n
t
s
earch
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
Mark b
a
d bloc
k
s with
HED_B
L
OCK_BAD
commit
|
commitdiff
|
tree
2012-09-28
Pet
r
Tesari
k
p
repare_modify:
U
se bloc
k
fla
g
s
to
check if a cursor
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
P
et
r
Tesar
i
k
Allow extra flags
to
be set for a block
c
reat
e
d
by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesar
i
k
cleanu
p
:
file_n
e
w_block
-> new_block
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Better recovery from rea
d
errors
commit
|
commitdiff
|
tree
2012-09-27
P
e
t
r
Tesari
k
Fix v
a
rio
u
s signed
n
ess issues in the
s
wap code
commit
|
commitdiff
|
tree
2012-09-27
P
etr Tesarik
Fi
x
i
ncorrect masking in swp_getmapping()
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
c
leanup
:
make
a
l
l
physical positi
o
ns u
n
s
igned
commit
|
commitdiff
|
tree
2012-09-27
Petr Te
s
a
rik
cleanup: define
s
ys_page_shift and
s
ys_pag
e
_size
in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesa
r
ik
Fix
s
ignedne
s
s
of
F
ILE_BLOCK_x
x
x
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r Tesarik
clean
u
p: refo
r
mat n
e
w_virt_bloc
k
and
new_dat
a
_bloc
k
commit
|
commitdiff
|
tree
2012-09-26
P
e
t
r Tesarik
alloc_bloc
k
-> new_
d
ata_blo
c
k
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesar
i
k
A
l
ways
d
eclare s
t
ruct remap_
c
o
ntrol
commit
|
commitdiff
|
tree
2012-09-26
Pet
r
Tesarik
cleanup
:
in
c
lude ty
p
es
.
h and s
w
ap
.
h from cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cleanup: do not requir
e
@data argum
e
nt for remap_ini
t
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
clea
n
up:
C
o
nst
i
fy the first cu
r
sor para
m
eter to hed_file_ins
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesar
i
k
cleanup: save one
d
erefere
n
ce in _block_data_free
commit
|
commitdiff
|
tree
2012-09-25
P
e
t
r Tesarik
clean
u
p: Merge blo
c
k_d
a
ta_new with block_data_ne
w
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: mo
v
e load_blocks closer to
f
i
le_
l
oad_data
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: move rep
l
ace_chunk close
r
to
ot
h
er block-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
clea
n
up: do
not re-com
p
ute the rea
d
ahead distance from
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r T
e
sarik
cleanup:
g
e
t
rid of t
h
e "file" macro define
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sarik
Merge r
e
ma
p
_caches
w
i
t
h
all
o
c_caches
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
Rewrit
e
r
eadahead c
o
d
e
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esari
k
Ad
d
h
ed_cursor_phys_pos to the API
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
clea
n
up: use hed
_
cursor_t in search_data()
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
cleanup:
u
se hed_curs
o
r_t instead of b
l
ock
+
off pair
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
Tesar
i
k
cleanu
p
: move file
_
ra_xxx
m
acros ne
a
r the top
o
f t
h
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
P
etr Te
s
a
r
ik
cleanup: f
i
le_m
o
v
e_rel_fast -> move_rel
_
f
ast
commit
|
commitdiff
|
tree
2012-09-22
Petr Tesarik
cleanup: BLKGET
S
IZE returns
unsig
n
ed l
o
ng,
n
ot a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesar
i
k
clean
u
p: kill hed_fi
l
e_next
_
block
commit
|
commitdiff
|
tree
2012-09-21
P
e
t
r Tesarik
M
a
r
k
u
nreadable port
i
o
n
s
of a f
i
le
w
ith a re
d
XX
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
T
esarik
Rewri
t
e fin
d
_
e
x
p
r without hed_fil
e
_next
_
bloc
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesa
r
ik
Merge hed_cursor_chunk_
l
en with hed
_
p
r
epa
r
e_read
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tesarik
Add hed_cursor_chun
k
_len
t
o th
e
API
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r Tesari
k
Add hed_
c
u
rsor_span() to the
A
PI
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesar
i
k
Rewrite calls to hed_fil
e
_fetch_block()
a
nd
k
ill th
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesarik
Add hed_c
u
rsor_d
a
ta()
to the API
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
Mark
f
ile_acc
e
ss_init as inte
r
nal
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
c
l
e
a
nup: rewrite r
e
map
helpers
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
T
e
s
ari
k
Merge fixup
.
h with acc
e
s
s
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanup: Kill hed_fil
e
_read_begin
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Re
w
rite the SIGBU
S
handler
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
c
a
c
he
:
initialize
h
ed_b
l
o
ck
_
data's data to NULL
i
f
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esarik
Clear the modif
i
ed fl
a
g
a
fter a successful fi
l
e_com
m
i
t
()
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesarik
swap
.
h: repl
a
ce trivial macros
w
i
t
h
trivia
l
in
l
ine
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
P
etr
T
esarik
Remove
m
ain
.
c dependen
c
y on libhed configuration
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Remove off_
t
from the
p
ublic libh
e
d API
commit
|
commitdiff
|
tree
2012-09-20
P
et
r
Tesarik
D
efine feature test
macros in
the appropriate C files
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesa
r
ik
Separate out libhed configuration
f
r
o
m the main c
o
nfig
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
M
a
ke hed_expr_len and he
d
_expr_flags inline
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esarik
Rem
o
ve type defines from tree
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Remove
t
ype defin
e
s from expr
.
c
commit
|
commitdiff
|
tree
2012-09-20
P
e
t
r
Tesarik
Do
c
ument public and pri
v
ate libhed he
a
der files
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Te
s
arik
Ren
a
me file_
d
ata
-> block_d
a
t
a
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Rename
hed_
f
ile_cache -> hed_cache
commit
|
commitdiff
|
tree
2012-09-20
P
etr Tesari
k
Avoid linker namespace pollution
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
Move private
.
h d
e
c
laration
s
to file
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
Make
s
play/
u
nsplay static
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
P
u
t expression-rel
a
ted types to expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr T
e
s
a
rik
Sanitiz
e
li
b
h
e
d
/expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
Rename eval
.
[ch] ->
e
xpr
.
[ch]
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesari
k
Sanitize the file A
P
I
commit
|
commitdiff
|
tree
2012-09-19
P
e
tr Tesarik
Sanitize hed_block int
e
rface
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesa
r
ik
NULL_CURSOR -> H
E
D_NULL
_
CURSOR
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
S
a
nitiz
e
h
e
d_block fla
g
s
commit
|
commitdiff
|
tree
2012-09-19
Petr Tes
a
rik
Rename h
e
d
_
bl
o
ckoff_t -
>
hed_cursor_t
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sari
k
Sanitize
t
ype
names in publ
i
c
head
e
rs
commit
|
commitdiff
|
tree
2012-09-19
P
etr Tesa
r
ik
clean
u
p: adjust nam
e
s of macros guard
i
ng dou
b
le inclusi
o
n
commit
|
commitdiff
|
tree
2012-09-19
Petr
T
esari
k
Merge branch 'clean
u
ps' into li
b
hed
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r Tesarik
Remo
v
e s
w
a
p
.
h f
r
om the p
u
b
l
ic interface
commit
|
commitdiff
|
tree
2012-09-19
P
etr Tesarik
Move (mo
s
t) publ
i
c types to libhed/t
y
pes
.
h
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sa
r
ik
Move
file
_
put_blo
c
kof
f
to file
.
c
commit
|
commitdiff
|
tree
next