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 Tesarik
Fix an off-by-
o
ne in reorder
_
elements
commit
|
commitdiff
|
tree
2012-10-03
P
et
r
T
e
sarik
S
a
ne behaviour of hed_get_
c
u
r
s
or
commit
|
commitdiff
|
tree
2012-10-03
Petr Te
s
arik
cleanup: move
p
hys end
c
omp
u
tation to its
o
wn
f
unction
commit
|
commitdiff
|
tree
2012-10-03
Petr
T
esarik
cleanup: con
s
tify arguments to read-only methods
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix search for first block in load_blocks
commit
|
commitdiff
|
tree
2012-10-02
P
etr
T
e
s
arik
F
ix reuse_l
o
aded_
d
ata
(
)
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesari
k
A
d
d
n
ext_nonzer
o
_block() a
n
d rew
r
ite blocko
f
f
_
n
ext_b
l
ock()
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r
Tesar
i
k
Fix hed_bl
o
ck_
i
s_after_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
ix types in BDEBUG messages
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix final
s
h
rinking o
f
in
s
ert blocks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Do
n
o
t destroy cursors
i
n
an erased area
commit
|
commitdiff
|
tree
2012-10-02
P
e
tr T
e
sarik
Fix hed_cursor_dat
a
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix
h
e
d_fi
l
e_insert_begin
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r Tesa
r
ik
F
i
x maximum file
size off by one
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
cleanup
:
separate public and private in
t
e
rfa
c
e for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Optimize hed_cursor_data
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
cleanup: get
rid of most legacy macr
o
s i
n
fil
e
.
c
commit
|
commitdiff
|
tree
2012-10-01
P
etr Tesarik
Convert Boy
e
r-Moore limits to unsigned type
s
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
T
e
s
a
r
ik
Spli
t
Bo
y
er-Moor
e
fo
r
ward and backward search
commit
|
commitdiff
|
tree
2012-10-01
Petr Tes
a
rik
Micro-opt
i
miz
e
find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Te
s
arik
Fix b
a
ckward sear
c
hin
g
of one-byte exp
r
essions
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix a SIGSEGV when s
e
ar
c
hing backw
a
rd
s
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesar
i
k
Open-co
d
e find_cpin
(
) in find
_
bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Pe
t
r Te
s
arik
Optimize main
l
oop in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
F
ix
f
ind_bytestr()
commit
|
commitdiff
|
tree
2012-09-28
Petr
T
esarik
Skip
bad blocks
in
searc
h
and fix a SIGSEGV
commit
|
commitdiff
|
tree
2012-09-28
Pet
r
Tesarik
Fi
x
non-consta
n
t
s
earch
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
rik
M
a
rk bad blocks with HED_BLOCK_BA
D
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
p
repare_mo
d
i
fy: Use block flags t
o
c
h
eck if a curso
r
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesa
r
ik
A
l
l
ow ex
t
r
a flags to
be
s
et for a blo
c
k created
by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr T
e
s
ari
k
c
l
eanup: file_ne
w
_
block ->
new_b
l
ock
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesari
k
Better recovery fro
m
read erro
r
s
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Fix
v
arious
s
ignedn
e
ss is
s
ues in th
e
swap code
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Fix incorrect
m
a
sking in swp
_
getmappi
n
g
(
)
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
cleanup: m
a
k
e
all ph
y
sical positions unsigned
commit
|
commitdiff
|
tree
2012-09-27
P
e
t
r
T
esarik
cleanup: def
i
ne sys_page_shift and
s
ys_pag
e
_size in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesa
r
ik
Fix sign
e
dnes
s
o
f
F
ILE_BLOCK_xxx
commit
|
commitdiff
|
tree
2012-09-26
P
e
t
r
Tesar
i
k
cleanup: r
e
f
orma
t
new_
v
irt_b
l
ock and new_data
_
block
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r Tesari
k
alloc
_
b
lock -> new_data_bl
o
ck
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
Always
d
eclare s
t
ru
c
t remap_co
n
trol
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r T
e
sarik
c
l
ea
n
u
p
: include t
y
p
es
.
h and sw
a
p
.
h from ca
c
he
.
h
commit
|
commitdiff
|
tree
2012-09-26
P
e
tr Te
s
arik
cleanu
p
: do
n
ot require @data argument for re
m
ap_init
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
clean
u
p: Constify the first
c
ursor par
a
meter to hed_file_ins
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tes
a
rik
clean
u
p: save
on
e
de
r
efer
e
nce
i
n _bloc
k
_data_fr
e
e
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
s
ar
i
k
c
l
e
a
nu
p
: M
e
rge block_data
_
new with block_data_new
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cl
e
anup: move
load_blocks closer to file_load_data
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r Tesarik
cle
a
n
u
p: move replace_ch
u
nk closer
to o
t
h
e
r
b
l
o
ck-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: do
no
t
re-c
o
m
p
ute the readahead di
s
tance fro
m
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup: get rid of the
"
fil
e
" ma
c
r
o
define
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesarik
Me
r
ge remap_ca
c
h
es
with alloc_caches
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
esarik
R
ewr
i
te readahead
code
commit
|
commitdiff
|
tree
2012-09-25
P
e
t
r Tesarik
Add hed_curs
o
r_ph
y
s_p
o
s to
the A
P
I
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr T
e
sa
r
ik
c
l
e
a
nup: use hed_cu
r
sor_t in search_data()
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
cl
e
anup: use hed_cursor_t instead of block
+
off pair
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup
:
m
o
v
e file_ra_xxx macr
o
s n
e
ar the top of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Tesarik
cleanup: file_move_rel_fast ->
move
_
rel_fast
commit
|
commitdiff
|
tree
2012-09-22
Petr Tesar
i
k
cleanup: BLKGETSIZE returns unsig
n
e
d
l
ong, not
a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanup: kill hed_fil
e
_next_bloc
k
commit
|
commitdiff
|
tree
2012-09-21
P
e
t
r
Tesa
r
ik
Ma
r
k u
n
reada
b
le portion
s
of a file with a red
XX
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Rewrite find_expr without hed_file_next_bl
o
ck
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
esarik
Merge h
e
d_curs
o
r_
c
h
u
nk_len with hed_prepare_read
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Add he
d
_cursor_chunk_l
e
n to th
e
API
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr Tesarik
A
dd hed_cursor_span() to the
API
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tesar
i
k
Rewrite calls to hed_file_fe
t
ch_bloc
k
() and kill the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r
Tesar
i
k
Add he
d
_cursor_data() to the
API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Mark file_access_init a
s
interna
l
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr Tesarik
c
leanup: rewrite remap
h
elpe
r
s
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesari
k
Merge fixup
.
h
with access
.
h
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr T
e
s
arik
cl
e
a
nup: Kill hed_file
_
read_be
g
in
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Rewrite the
S
IGBUS handler
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
sari
k
cache: initial
i
ze hed
_
b
l
o
ck_
d
ata
'
s data to
NULL
i
f
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr T
e
s
a
ri
k
Cle
a
r the mod
i
fied
f
l
a
g after a succe
s
sful f
i
le_commit()
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
ri
k
swap
.
h: rep
l
ace trivial mac
r
os wit
h
trivial i
n
line
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
R
e
move
m
a
in
.
c de
p
endency on libhed
configura
t
i
o
n
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Rem
o
v
e
off_t from the public libh
e
d
API
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Define feature te
s
t macros in th
e
appropriate C fi
l
es
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Tesar
i
k
Sepa
r
ate out libhed config
u
r
ation f
r
om the main config
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esarik
M
ake hed_expr_le
n
and h
e
d_expr_f
l
a
gs
inline
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesar
i
k
R
e
m
ove type defines from t
r
ee
.
c
commit
|
commitdiff
|
tree
2012-09-20
P
etr Tesar
i
k
Remove type defines
f
rom
e
xp
r
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Te
s
arik
Document public
and pri
v
ate
l
ibhed hea
d
er fi
l
es
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Rena
m
e
file_data ->
b
lock_data
commit
|
commitdiff
|
tree
2012-09-20
P
e
t
r
T
esarik
Ren
a
me hed_file_cache ->
h
e
d
_
c
ache
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesar
i
k
Av
o
id linker namespace poll
u
tion
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesa
r
ik
Move p
r
ivate
.
h declarations
t
o file
.
c
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
T
es
a
ri
k
Make s
p
lay/un
s
play static
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tes
a
rik
Put e
x
pressi
o
n-r
e
lated types t
o
expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
S
anitize
l
ibhe
d
/expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
R
ename eval
.
[ch] -> expr
.
[ch]
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr
T
esarik
San
i
t
i
ze
t
h
e file API
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
Tesarik
San
i
tize hed_block i
n
terface
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r Tesarik
NULL_CURSOR -> HED_NUL
L
_
C
URSOR
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sarik
S
ani
t
i
z
e
hed_block flags
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
R
en
a
me hed_b
l
ockoff_t -> h
e
d_curs
o
r_t
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r
T
esarik
S
a
nitize type na
m
es in
p
u
blic headers
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesar
i
k
cle
a
nup: adjust names of macros guardi
n
g double inclusion
commit
|
commitdiff
|
tree
2012-09-19
P
e
t
r
Tesarik
Merge branch
'
cleanups
'
i
n
to lib
h
ed
commit
|
commitdiff
|
tree
2012-09-19
P
etr T
e
sarik
Remove swap
.
h fr
o
m the public interface
commit
|
commitdiff
|
tree
2012-09-19
P
et
r
Tesarik
Move (most)
p
ub
l
ic types
t
o libhed/types
.
h
commit
|
commitdiff
|
tree
2012-09-19
P
etr T
e
sa
r
ik
Move file_
p
ut_blockoff to file
.
c
commit
|
commitdiff
|
tree
next