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 search for first block in load_blocks
2012-10-03
Petr
T
e
s
ar
i
k
Fix se
a
rch for
f
ir
s
t block in l
o
ad_blocks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix
reuse_lo
a
d
ed_data(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Add next_
n
on
z
e
ro_block()
a
n
d
rewrite bloc
k
off
_
next_b
l
ock()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
i
x
h
ed_bloc
k
_is_after_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr T
e
s
a
ri
k
Fi
x
types in B
D
EBUG messages
commit
|
commitdiff
|
tree
2012-10-02
P
etr Tes
a
r
ik
Fix final shrinking
of i
n
sert block
s
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esarik
Do not destro
y
cursors
in an erased area
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
F
ix hed_cursor_da
t
a
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix hed_f
i
le_ins
e
rt_begin
commit
|
commitdiff
|
tree
2012-10-02
Pet
r
Tesarik
F
ix maximu
m
file size of
f
by one
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
cleanup
:
se
p
arate public and
pri
v
ate interface for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Opt
i
mi
z
e hed_cursor_data
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
cleanup: get ri
d
o
f
most le
g
acy ma
c
ros in file
.
c
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
Tesarik
Con
v
er
t
Boyer-Moore l
i
mits to u
n
sig
n
ed types
commit
|
commitdiff
|
tree
2012-10-01
Petr Te
s
arik
Split
Bo
y
e
r
-Moore forw
a
rd
and backwar
d
se
a
rch
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesar
i
k
Micro-optimi
z
e
f
ind_bytest
r
()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesa
r
ik
Fix backward searching of one-byte expre
s
sions
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix a
S
IGS
E
GV whe
n
searching backwards
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Open-code
f
i
nd_cpin() in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Optim
i
z
e
main loop in fin
d
_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
P
e
tr Te
s
arik
Fix find_b
y
t
estr()
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesa
r
ik
Skip b
a
d b
l
ocks in search and fix a SI
G
SEGV
commit
|
commitdiff
|
tree
2012-09-28
Petr T
e
sarik
Fi
x
non-constant s
e
arch
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
ri
k
Mark bad bl
o
cks with HED_BLOCK
_
BAD
commit
|
commitdiff
|
tree
2012-09-28
Pet
r
Tesari
k
pr
e
pare_modify
:
Use block flag
s
to check if a cur
s
or
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
P
e
tr Te
s
a
rik
A
llow ex
t
ra flags to be s
e
t
for a b
l
ock created by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr T
e
sarik
clea
n
up: f
i
le_
n
ew_block ->
new_block
commit
|
commitdiff
|
tree
2012-09-27
Petr
T
esarik
Better r
e
cover
y
fro
m
r
ead errors
commit
|
commitdiff
|
tree
2012-09-27
Pe
t
r Te
s
arik
Fix v
a
r
ious signedness
issues
i
n
the s
w
a
p c
o
de
commit
|
commitdiff
|
tree
2012-09-27
Petr Te
s
arik
F
ix incorrect mask
i
ng in
s
wp_g
e
tmapping()
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesa
r
i
k
cleanu
p
:
m
ake all physical
positions u
n
signed
commit
|
commitdiff
|
tree
2012-09-27
P
etr Tesarik
cleanup: defi
n
e sys_page_sh
i
ft
and sys_
p
a
g
e_size
i
n
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
Petr Tes
a
ri
k
Fix signedness o
f
FILE_
B
LOCK_xxx
commit
|
commitdiff
|
tree
2012-09-26
P
et
r
Tesarik
cleanup
:
r
efor
m
at new
_
virt_block and new_data_
b
l
o
ck
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r Tesarik
a
l
loc_block ->
new_data
_
b
l
ock
commit
|
commitdiff
|
tree
2012-09-26
Petr
Tesarik
A
l
ways
d
eclare struct r
e
map_control
commit
|
commitdiff
|
tree
2012-09-26
Petr T
e
sarik
cleanup: i
n
cl
u
d
e
types
.
h
a
nd swap
.
h from
cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cl
e
a
nup: do
not requ
i
re @data argu
m
ent for rema
p
_i
n
it
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesarik
clean
u
p: Const
i
fy the first cursor pa
r
amete
r
to he
d
_file
_
i
n
s
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sarik
clean
u
p:
save
o
ne dereference in _blo
c
k_
d
at
a
_free
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tesarik
cle
a
nup: Merge block_data_ne
w
with block_data_n
e
w
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
cleanup: move load_bloc
k
s closer to file_load_data
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tesarik
clean
u
p: move rep
l
ace
_
c
hunk close
r
to other block-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esari
k
cleanup: do not re-
c
om
p
u
t
e the
reada
h
e
a
d distance
f
rom
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sarik
clean
u
p: get
rid
o
f
the
"
file
"
ma
c
ro de
f
ine
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
Merge remap_caches with alloc_cach
e
s
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
Tesa
r
ik
Rewrite readahead c
o
de
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
Add he
d
_
c
urso
r
_phy
s
_pos
t
o
t
he API
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
clea
n
up: use hed_cursor_t in
s
earch
_
data
(
)
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
c
l
e
a
nup: use
h
e
d_cursor_t instead of
bloc
k
+o
f
f pair
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
Tesar
i
k
c
l
ean
u
p: move
file_
r
a_
x
xx macros
n
e
a
r the t
o
p o
f
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Tesarik
cleanup: file
_
move_rel_fast ->
move_rel_f
a
st
commit
|
commitdiff
|
tree
2012-09-22
Petr Tesarik
cleanup:
BLKGETSIZE returns unsign
e
d
lon
g
,
not a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
P
etr
T
esa
r
ik
cleanup:
k
i
l
l he
d
_fil
e
_next_blo
c
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Te
s
arik
Ma
r
k
u
nre
a
da
b
le porti
o
n
s of a file with a red XX
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
sarik
Rew
r
ite find_expr without hed_file_next_blo
c
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Merge h
e
d_cursor_chun
k
_le
n
with hed_prepare_read
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
T
e
sa
r
ik
Add hed
_
cursor
_
ch
u
nk_l
e
n to the A
P
I
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
e
s
arik
Ad
d
he
d
_cursor_span() to the API
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr
Tesarik
R
ewri
t
e calls to he
d
_file_fetch
_
block(
)
and k
i
ll the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
Add hed_cursor_data
(
) to the
AP
I
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr
T
esarik
Mark
f
ile
_
a
c
ces
s
_init as internal
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanu
p
: r
e
write
r
ema
p
h
e
l
p
e
rs
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr T
e
sarik
Merge fixup
.
h with access
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
esarik
cleanup: Kill hed_file_read_begin
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesar
i
k
Rewrite the SIGBUS handl
e
r
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
s
a
r
ik
cache: initialize hed_block_data
'
s
data to NULL
i
f
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Clear the modified flag
after
a
suc
c
essf
u
l file_commit()
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
sw
a
p
.
h
:
repla
c
e tri
v
ial macros with trivial i
n
line
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr
T
e
sar
i
k
Rem
o
ve main
.
c dependency on libhed conf
i
guration
commit
|
commitdiff
|
tree
2012-09-20
Petr Te
s
a
ri
k
Remove off
_
t
f
rom t
h
e pub
l
ic lib
h
e
d
API
commit
|
commitdiff
|
tree
2012-09-20
P
e
t
r
Tesarik
De
f
ine feature test macros
in th
e
appropriate C files
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Separate
out
libh
e
d configur
a
tion from the
m
ain
c
onfig
.
h
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Tesarik
Make hed_expr_len and
hed_expr_flag
s
inl
i
ne
commit
|
commitdiff
|
tree
2012-09-20
P
e
t
r
T
esari
k
Remov
e
type
d
efines from tree
.
c
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesa
r
i
k
Remo
v
e type de
f
ine
s
from expr
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
Document publ
i
c and private
l
ibhed header files
commit
|
commitdiff
|
tree
2012-09-20
P
etr
Tesarik
R
e
n
a
me fi
l
e_data -> bl
o
c
k
_dat
a
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esarik
R
e
n
a
m
e hed_
f
ile_cache -
>
h
e
d_cache
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesar
i
k
Av
o
id linker namespace p
o
llution
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Move private
.
h d
e
clarations
t
o fil
e
.
c
commit
|
commitdiff
|
tree
2012-09-20
P
etr T
e
sarik
Make sp
l
ay/unsplay static
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesa
r
ik
Put expressi
o
n-related typ
e
s to expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
P
etr T
e
sarik
Sanitize
l
ibhed/expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
R
e
na
m
e ev
a
l
.
[ch] -> ex
p
r
.
[ch]
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
Sanitize the
f
i
le API
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sa
r
ik
Sanitize hed_bloc
k
interface
commit
|
commitdiff
|
tree
2012-09-19
P
etr Tesa
r
ik
NULL_CU
R
SO
R
-
>
H
ED_NULL_CURSOR
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Sanitize hed_b
l
ock flags
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sari
k
Ren
a
me hed_blocko
f
f_t -> hed_cursor_t
commit
|
commitdiff
|
tree
2012-09-19
Petr Te
s
a
r
ik
S
anitize
t
ype names in p
u
b
l
ic headers
commit
|
commitdiff
|
tree
2012-09-19
Petr
T
e
s
ar
i
k
cleanu
p
: ad
j
ust n
a
m
es of macros gua
r
ding d
o
uble inclusion
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sarik
Merge branch 'cleanups' into li
b
hed
commit
|
commitdiff
|
tree
2012-09-19
Petr Tes
a
r
i
k
Remove swap
.
h from
the public in
t
erf
a
ce
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
Tesari
k
M
ove (most) p
u
b
l
ic t
y
pes to libhed/typ
e
s
.
h
commit
|
commitdiff
|
tree
2012-09-19
P
e
t
r Tesarik
M
ove f
i
le_
p
ut_bl
o
c
k
off
to file
.
c
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
S
epar
a
te out lib
h
e
d
files
commit
|
commitdiff
|
tree
2012-09-18
Petr Tes
a
rik
Remove fi
l
e
/f
i
xup
.
h
from the public interface
commit
|
commitdiff
|
tree
2012-09-18
Pe
t
r Tesarik
Remo
v
e file/acces
.
h
f
ro
m
the
p
ublic interface
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesar
i
k
Move global i
n
itialization t
o
f
i
le_in
i
t(
)
commit
|
commitdiff
|
tree
next