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
cleanup: remove tree/file parameter where possible
2012-10-09
Petr Tesa
r
ik
cleanup: rem
o
ve tree/file parame
t
er where poss
i
ble
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesarik
cleanup: remo
v
e tree p
a
ramete
r
wh
e
re
possible
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
cleanup: re
m
ove
a
ppe
n
d_to_tree()
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesa
r
ik
Rewri
t
e
the b
l
oc
k
list w
i
thout
a
null node
commit
|
commitdiff
|
tree
2012-10-08
Pet
r
Tes
a
rik
c
l
eanup: re
m
ove unu
s
ed iterati
o
n macros
commit
|
commitdiff
|
tree
2012-10-08
Petr Tesarik
Use HED
_
BLOCK
_
EOF flag to
t
erminate
l
oops over blocks
commit
|
commitdiff
|
tree
2012-10-04
Petr
Tesarik
clean
u
p:
r
ename
hed_tree_he
a
d
t
o hed_tree
_
n
ode
commit
|
commitdiff
|
tree
2012-10-04
Petr T
e
sarik
Insta
l
l the
l
ibrary and public he
a
d
e
r
files
commit
|
commitdiff
|
tree
2012-10-03
Pe
t
r Tesarik
Fix another
off-by-one
i
n cach
e
_comp
a
c
t
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesari
k
Fix an off-by
-
o
n
e in
reor
d
er_elements
commit
|
commitdiff
|
tree
2012-10-03
Petr Tes
a
rik
Sane behaviour o
f
hed_get_cursor
commit
|
commitdiff
|
tree
2012-10-03
Pet
r
Tesarik
cleanu
p
: mo
v
e
ph
y
s
end computat
i
on
t
o its o
w
n function
commit
|
commitdiff
|
tree
2012-10-03
Petr Te
s
arik
c
l
e
anup: constify arguments
t
o
read-only metho
d
s
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fi
x
search for first block in load_blocks
commit
|
commitdiff
|
tree
2012-10-02
Pet
r
Tesarik
Fix reuse
_
l
oa
d
ed_data()
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esar
i
k
Ad
d
next_nonzer
o
_block() and re
w
ri
t
e blockoff_next_bl
o
c
k()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tes
a
rik
Fix hed_block_is_
a
ft
e
r_er
a
se
(
)
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r Tesarik
Fix types
in
BDEBUG messa
g
e
s
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
Fix fin
a
l shrinking
o
f insert
b
lock
s
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tesarik
Do not destr
o
y
c
ursors in an
e
rased area
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesari
k
Fix hed_cur
s
or_data
commit
|
commitdiff
|
tree
2012-10-02
Petr Te
s
arik
Fix hed_file_insert_be
g
i
n
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
ix
maximum
f
i
le size off b
y
one
commit
|
commitdiff
|
tree
2012-10-02
Petr T
e
sarik
cleanup: sep
a
rate publ
i
c and pri
v
ate interface for
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
e
sarik
Opt
i
mize hed_cursor_data
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r
Tes
a
rik
cleanu
p
: get rid
of
mo
s
t lega
c
y
mac
r
os
i
n
f
ile
.
c
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
Tesarik
C
onvert Boyer-Moore l
i
m
its to u
n
sign
e
d types
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Split Boye
r
-Moore forward a
n
d backward se
a
rch
commit
|
commitdiff
|
tree
2012-10-01
P
etr
T
esarik
Micro-optimize
f
ind
_
by
t
es
t
r()
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
Tesarik
Fix
b
a
c
k
w
ard searchin
g
o
f
one-byte
e
xpr
e
ssions
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
T
e
sari
k
Fix
a
SIG
S
E
G
V whe
n
searching backwa
r
d
s
commit
|
commitdiff
|
tree
2012-10-01
Petr Tes
a
rik
Open-code find_cpin() in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Pet
r
Tes
a
r
i
k
Optimize ma
i
n
lo
o
p
in
find_by
t
estr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tes
a
rik
Fi
x
find_bytestr(
)
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
rik
Sk
i
p bad blocks in
search
a
nd fix a SIGS
E
GV
commit
|
commitdiff
|
tree
2012-09-28
Petr Tes
a
rik
Fix non-constant se
a
rch
commit
|
commitdiff
|
tree
2012-09-28
Petr
T
e
sa
r
ik
Mark
b
ad blocks with
H
ED_BLOC
K
_
B
AD
commit
|
commitdiff
|
tree
2012-09-28
P
etr Tesarik
pr
e
pare_modify: Use block
f
l
ags
t
o check if
a cursor
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
Allow ext
r
a flags
to
b
e set for a
b
lock created by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr
T
esar
i
k
c
leanup: file
_
new_block -> new_bloc
k
commit
|
commitdiff
|
tree
2012-09-27
Petr
T
esarik
Better recovery from rea
d
erro
r
s
commit
|
commitdiff
|
tree
2012-09-27
Petr Te
s
arik
Fix vario
u
s signedness
issues in th
e
swap cod
e
commit
|
commitdiff
|
tree
2012-09-27
Petr
Te
s
ar
i
k
Fix incorrect masking in swp_getmapping
(
)
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
cleanup: make all physical
p
o
sitions unsi
g
ned
commit
|
commitdiff
|
tree
2012-09-27
Petr T
e
sarik
cleanup: define sys_page_shift and s
y
s_pag
e
_siz
e
in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
Petr
Tesarik
Fix signedne
s
s of FILE_BLOCK_
x
x
x
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cleanup:
r
eformat n
e
w_virt_block and
new_data_blo
c
k
commit
|
commitdiff
|
tree
2012-09-26
P
e
t
r Tesarik
alloc_blo
c
k -> new_data
_
block
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesar
i
k
Always decla
r
e struct
r
emap_con
t
rol
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesari
k
cleanup: includ
e
types
.
h a
n
d swap
.
h from cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesarik
cleanup:
d
o not requir
e
@
d
a
t
a arg
u
ment for remap_init
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup
:
Constify t
h
e fir
s
t
curs
o
r parame
t
er to hed_file
_
i
n
s
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
Tesar
i
k
cleanup: save one derefe
r
ence
i
n _block_data_free
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
e
sa
r
ik
clean
u
p
:
Merge
b
lock_data
_
new with block_data_new
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup
:
move lo
a
d
_
bloc
k
s cl
o
ser to file_load_data
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesarik
c
leanu
p
: m
o
ve repl
a
ce_chunk closer t
o
other block-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesar
i
k
cleanup
:
d
o
n
ot re-co
m
put
e
t
h
e readahead dist
a
n
c
e
f
rom
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
P
etr Tesar
i
k
cleanup: get ri
d
of the "fil
e
" macro def
i
ne
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesar
i
k
M
e
rge remap_caches with alloc_
c
aches
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
arik
Rewrite
re
a
dahead code
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
Tesar
i
k
Add hed_cursor_phys_pos to the API
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
e
s
ar
i
k
cleanup: use hed_cursor_t in sea
r
ch_data()
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
cleanup: u
s
e
hed_cursor_t instead
of block+off pair
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
ari
k
cl
e
anup:
m
ove fi
l
e_
r
a_xxx m
a
cros
n
ear
t
he top of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr T
e
sar
i
k
cleanup
:
f
i
le_
m
ov
e
_
r
e
l_fast -> move_rel
_
fa
s
t
commit
|
commitdiff
|
tree
2012-09-22
Petr Tesarik
cleanup: BLKGETSIZ
E
returns u
n
signed
l
ong,
n
ot a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Te
s
ari
k
cleanup:
k
ill hed
_
f
i
l
e
_
next_
b
lock
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesar
i
k
M
a
r
k
unr
e
adabl
e
portions of
a
file wi
t
h a red
XX
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tesarik
Rewrite find_
e
xpr without he
d
_fil
e
_next_bloc
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Merge hed_
c
ursor_chunk_le
n
with hed_prepare_read
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Add hed
_
c
u
rsor_chunk_
l
e
n to the API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
A
d
d
hed_cursor_span() to
the
A
PI
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Rewrite calls t
o
hed_file_fetch_bl
o
ck() and ki
l
l the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
s
a
rik
Add hed_cursor_
d
ata() to
the API
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
sar
i
k
Ma
r
k file_acc
e
ss_init a
s
i
nter
n
a
l
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanup: rewri
t
e re
m
ap helpers
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Merge fixup
.
h with access
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
clea
n
up: Kill hed_file_read_be
g
i
n
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r Te
s
arik
R
ewrite the SIGBUS han
d
ler
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cac
h
e: initialize hed_blo
c
k_data's data to NULL if
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Tesarik
Clear
the mod
i
f
i
ed flag after a
s
ucc
e
s
sf
u
l file_
c
omm
i
t
(
)
commit
|
commitdiff
|
tree
2012-09-20
P
etr Tesarik
swap
.
h:
replace trivial
m
a
cros with
t
ri
v
ial inline
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
Remo
v
e main
.
c depe
n
dency
o
n libhed co
n
figurat
i
on
commit
|
commitdiff
|
tree
2012-09-20
P
e
t
r
Tesari
k
Remov
e
o
f
f_t from the pub
l
ic libhed API
commit
|
commitdiff
|
tree
2012-09-20
P
etr
T
esarik
De
f
ine
feature test
m
acros
in the appropriate C f
i
l
e
s
commit
|
commitdiff
|
tree
2012-09-20
P
etr Tesa
r
ik
Se
p
arate out libhed configura
t
ion fr
o
m the main config
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesari
k
M
a
ke hed
_
e
x
p
r
_l
e
n a
n
d h
e
d
_e
x
pr_flags inline
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesarik
Remov
e
typ
e
defines from tree
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesari
k
Remove type defin
e
s from expr
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Document
p
ublic and private libhed
h
ead
e
r f
i
l
e
s
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesa
r
ik
R
e
name
file
_
d
a
t
a
-> block_dat
a
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tes
a
ri
k
Rename hed_file_cache -> hed_c
a
ch
e
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Te
s
a
r
ik
Avoid linke
r
namespace
p
ollution
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesar
i
k
Move
p
rivate
.
h declarati
o
n
s to file
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
M
a
ke splay/unsplay static
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Put
express
i
on-re
l
ated
t
y
pes to ex
p
r
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Sanitize libhe
d
/expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesarik
Rename eval
.
[c
h
] ->
ex
p
r
.
[ch]
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesari
k
San
i
t
i
ze the file A
P
I
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesar
i
k
Sanitize hed_block interface
commit
|
commitdiff
|
tree
next