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: kill blockoff
2012-10-09
P
e
tr Tesarik
c
leanup
:
kil
l
blockoff
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
cleanup
:
ki
l
l fil
e
_size()
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
cleanup: ki
l
l file_blocks()
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tesar
i
k
F
i
x byte string search in b
l
ocks
w
ith non-z
e
ro
data
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix non-swa
p
co
n
f
iguratio
n
s
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
opti
m
ize: use up
d
ate_curso
r
s
i
nstead of
move_curs
o
rs
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
rik
Cl
e
ar las
t
l
oaded
b
lock after EOF
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesarik
cleanu
p
: fix cast to pointer fr
o
m
in
t
e
ger of differ
e
nt
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
Fix i
n
se
r
t b
e
yond EOF
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
F
i
x replace beyond EOF
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesa
r
ik
clean
u
p: update t
h
e descri
p
tion of prepare_m
o
dify()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesar
i
k
Fix block
i
nsertion in replace_chunk
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: remove l
a
st field fr
o
m
struc
t
h
ed_
t
r
e
e
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
Ch
a
ng
e
in
s
ert_into_tree
s
o it
i
nse
r
ts *b
e
fore* t
h
e
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
es
a
ri
k
cleanup:
r
ena
m
e blockoff -> curs
o
r for l
o
w-level routines
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
Re-implement first_block
(
) and la
s
t_block()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
rik
A
dd self address
to the swap file header
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
Op
t
im
i
ze t
h
e
s
play
t
r
ee implementation for fil
e
blocks
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesarik
c
l
ean
u
p: use t
h
e
b
loc
k
address directly
in hed
_
f
i
le_er
a
se
_
block
commit
|
commitdiff
|
tree
2012-10-09
Petr Te
s
arik
cleanup
:
remove tree/file
parameter where
possible
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
rik
c
lean
u
p: remove tree parameter where
p
ossible
commit
|
commitdiff
|
tree
2012-10-09
Petr
T
esarik
cleanu
p
:
remove append_to_tree()
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
T
e
sar
i
k
Rewri
t
e the block list without
a null node
commit
|
commitdiff
|
tree
2012-10-08
Petr
Tesarik
c
leanup
:
r
e
move u
n
u
s
ed iterati
o
n mac
r
o
s
commit
|
commitdiff
|
tree
2012-10-08
Petr Tesarik
Use HED_B
L
OCK
_
EOF flag to
t
erminate l
o
o
ps over bl
o
c
k
s
commit
|
commitdiff
|
tree
2012-10-04
Petr
Tesarik
cleanup
:
renam
e
hed_t
r
e
e_
h
ead to hed_t
r
ee_nod
e
commit
|
commitdiff
|
tree
2012-10-04
P
e
tr
Te
s
arik
Install
t
he lib
r
ary a
n
d
p
u
b
l
ic heade
r
f
iles
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix ano
t
her
o
ff-by-
o
ne in cache
_
co
m
pa
c
t
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix an off-by-one in reorde
r
_elements
commit
|
commitdiff
|
tree
2012-10-03
Petr
Tes
a
ri
k
S
a
ne behavi
o
ur of hed_get_cursor
commit
|
commitdiff
|
tree
2012-10-03
Pe
t
r Tesarik
cl
e
anup: move
p
hy
s
end
computation
t
o
i
t
s own function
commit
|
commitdiff
|
tree
2012-10-03
Petr T
e
sarik
cleanup: co
n
stify arguments
t
o read-only methods
commit
|
commitdiff
|
tree
2012-10-03
Petr
T
es
a
rik
Fix
se
a
rch for first
block
i
n
load_blocks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix reuse_l
o
aded_data()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesa
r
ik
Add
n
e
x
t
_n
o
nzero_bl
o
ck() and
rewrite bl
o
ckoff_ne
x
t_bloc
k
()
commit
|
commitdiff
|
tree
2012-10-02
P
e
t
r Tesarik
Fix hed_bloc
k
_is_after_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix types in BDEBUG messages
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
F
ix
f
inal shrinking of i
n
sert blocks
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r Te
s
a
r
ik
D
o
not dest
r
oy
curs
o
rs
in an eras
e
d area
commit
|
commitdiff
|
tree
2012-10-02
P
e
tr Tesa
r
i
k
Fix hed_curs
o
r_d
a
t
a
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r Tesari
k
Fi
x
hed_file_insert_b
e
gin
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
Fix ma
x
imum file size off by one
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
c
l
eanup: separate publ
i
c
and
p
r
i
vate interface fo
r
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Optimize hed_cursor_dat
a
commit
|
commitdiff
|
tree
2012-10-02
Petr
T
esarik
clean
u
p: get ri
d
of most legacy macro
s
in
f
ile
.
c
commit
|
commitdiff
|
tree
2012-10-01
Petr T
e
sa
r
ik
Convert Boyer-Moore limits to unsig
n
ed typ
e
s
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Split
Boyer-Moore forwar
d
a
nd backw
a
rd search
commit
|
commitdiff
|
tree
2012-10-01
Petr
T
esarik
Micro-optimi
z
e find_bytest
r
()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tes
a
rik
Fix
backw
a
rd searching
of
o
ne-by
t
e expressions
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix a SIGSEGV
w
hen sea
r
chin
g
backwards
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesari
k
O
p
en-code find_cpin()
i
n find_bytestr
(
)
commit
|
commitdiff
|
tree
2012-10-01
P
e
t
r Tesarik
O
p
ti
m
ize main l
o
op in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix find_bytes
t
r()
commit
|
commitdiff
|
tree
2012-09-28
P
etr
Tesarik
Skip bad blocks
in
sear
c
h
and fix a S
I
GSEGV
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesa
r
ik
F
i
x non-constant s
e
arch
commit
|
commitdiff
|
tree
2012-09-28
P
e
tr Tesarik
Mark bad blocks with HED_BLOCK_BAD
commit
|
commitdiff
|
tree
2012-09-28
Petr
T
e
s
a
ri
k
prep
a
re_mo
d
ify: Use block flag
s
to check if a cursor
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
P
et
r
Tesarik
A
l
low extra flags to be se
t
for a block
created by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Te
s
arik
cle
a
nup: file_new_block -> new_block
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Better re
c
over
y
f
r
om read errors
commit
|
commitdiff
|
tree
2012-09-27
Pe
t
r Tesa
r
i
k
Fix v
a
r
ious signed
n
ess issues in the swap code
commit
|
commitdiff
|
tree
2012-09-27
Petr
T
es
a
rik
Fi
x
incorrect
m
a
ski
n
g i
n
s
w
p_getmapp
i
ng()
commit
|
commitdiff
|
tree
2012-09-27
Petr Te
s
arik
cleanup:
m
ake
all physical po
s
it
i
ons unsigned
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
c
l
ea
n
up:
define
sys_pag
e
_
shift and sy
s
_page_size
in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
P
etr Tesarik
Fix signedne
s
s
of FILE_BLOCK_xxx
commit
|
commitdiff
|
tree
2012-09-26
Petr Tesar
i
k
cleanup: reformat new_vir
t
_block
a
nd new_data_
b
lock
commit
|
commitdiff
|
tree
2012-09-26
Petr Te
s
arik
alloc_block -> new_data_block
commit
|
commitdiff
|
tree
2012-09-26
P
e
tr Tesa
r
i
k
Alw
a
ys
declare struct remap_control
commit
|
commitdiff
|
tree
2012-09-26
Petr
Tesarik
cleanup: in
c
lude ty
p
es
.
h a
n
d swap
.
h
f
rom ca
c
he
.
h
commit
|
commitdiff
|
tree
2012-09-26
Pe
t
r Tes
a
r
i
k
cleanup: do not require @d
a
ta a
r
gument for rema
p
_i
n
it
commit
|
commitdiff
|
tree
2012-09-25
P
etr Tesar
i
k
cleanup
:
Co
n
stify t
h
e first
c
ursor par
a
meter to hed_file_ins
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tes
a
rik
c
leanup: save one derefer
e
nce in _block_
d
ata_free
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
c
l
eanu
p
: Merge
b
lock_data_new with block_data_new
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cle
a
n
u
p: move load_blocks clo
s
er to file_load_dat
a
commit
|
commitdiff
|
tree
2012-09-25
Petr T
e
sa
r
ik
cleanup:
m
ov
e
replace_
c
h
u
n
k
close
r
t
o other
block-
h
an
d
ling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesari
k
cleanup: do not re-compute the readahead distance from
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
Tesar
i
k
cleanup: get rid o
f
the
"fil
e
" ma
c
ro define
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
Merge
r
emap_
c
aches w
i
t
h alloc_caches
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
Tesarik
Rew
r
ite readahead cod
e
commit
|
commitdiff
|
tree
2012-09-25
Petr
T
e
sarik
Add hed_cursor_phys_pos
to the
API
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
cleanup: use hed_c
u
rsor_t in se
a
r
c
h
_data()
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
cleanup: use
h
e
d
_cursor_t
i
nstead of b
l
ock
+
off pair
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesarik
cl
e
anup: mo
v
e
file_ra_xxx macros near the top of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr T
e
sarik
cleanup: file_move_rel
_
fast -> move_rel_fast
commit
|
commitdiff
|
tree
2012-09-22
Petr Tesarik
c
l
eanup: BLKGETSIZE
r
eturns uns
i
g
n
ed long, not a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanup: kill hed_file_next_bloc
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
ri
k
Ma
r
k
u
nreadable portions of a fi
l
e
with
a
red XX
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tesarik
Rew
r
ite find_expr wi
t
hout he
d
_file_ne
x
t_block
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
T
e
sa
r
ik
Mer
g
e he
d
_cursor_chunk_len
with hed_prepa
r
e_rea
d
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
Ad
d
hed_curs
o
r_c
h
unk_len to the API
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
e
s
arik
Add
h
ed_cursor_span() to the AP
I
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Re
w
rit
e
calls to hed_file_f
e
tch_blo
c
k() and
kill the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Add hed_cursor_data(
)
to the API
commit
|
commitdiff
|
tree
2012-09-21
P
e
t
r Tesari
k
Mark file_access
_
ini
t
as i
n
ter
n
a
l
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanup: rew
r
i
te remap
h
e
lpers
commit
|
commitdiff
|
tree
2012-09-21
P
etr Te
s
a
rik
M
e
rge
f
ixup
.
h with access
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesa
r
ik
c
l
ean
u
p: Kill hed_file
_
rea
d
_begin
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
s
a
r
ik
Rewrit
e
t
h
e SIG
B
US handler
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cache: initialize h
e
d_block_data's
d
ata to NULL if
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
C
l
e
a
r the modifi
e
d f
l
ag after
a su
c
cessful file_commit()
commit
|
commitdiff
|
tree
next