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
Clear last loaded block after EOF
2012-10-09
Pe
t
r Tesarik
Clear last loaded block after EOF
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesari
k
cl
e
a
n
up: fix
cast to p
o
i
nter from integer of different
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr
Te
s
arik
Fix insert beyond E
O
F
commit
|
commitdiff
|
tree
2012-10-09
Petr Tes
a
rik
Fix
replace b
e
yond EOF
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesarik
cleanup: u
p
date t
h
e de
s
cription of pr
e
pare_modi
f
y()
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tesarik
Fix block i
n
s
e
rtio
n
in
replace_chunk
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
c
l
ean
u
p: remove last
fiel
d
from
s
t
r
u
ct hed_t
r
ee
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
s
a
rik
Change inse
r
t
_in
t
o_
t
ree
s
o it inserts *before* the
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
P
et
r
Tesarik
cleanup: r
e
name blockoff -> cursor for low-level routin
e
s
commit
|
commitdiff
|
tree
2012-10-09
P
etr T
e
sarik
Re-implement fir
s
t_
b
lo
c
k() and last_block()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Add self a
d
dre
s
s
t
o
the
s
w
a
p
f
ile
he
a
der
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Opt
i
mize
the splay tree i
m
ple
m
entat
i
on for f
i
le blocks
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: use the block addres
s
dire
c
tly in hed_fi
l
e_eras
e
_block
commit
|
commitdiff
|
tree
2012-10-09
Pet
r
Tes
a
rik
cleanup: r
e
m
o
ve tre
e
/fi
l
e
parameter wh
e
re
p
ossible
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
cleanup: remo
v
e
tree para
m
eter whe
r
e poss
i
ble
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
clean
u
p: remove append_to_
t
ree()
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
R
e
wri
t
e the b
l
o
c
k li
s
t without a
null node
commit
|
commitdiff
|
tree
2012-10-08
Petr Tesarik
c
l
e
a
nup: remove
unused iteratio
n
m
a
cros
commit
|
commitdiff
|
tree
2012-10-08
Petr Tesarik
Use HED_BLOCK_EOF flag to termin
a
te l
o
ops ov
e
r block
s
commit
|
commitdiff
|
tree
2012-10-04
Petr Te
s
ar
i
k
cleanu
p
: r
e
name hed
_
tre
e
_
head to he
d
_
tree_node
commit
|
commitdiff
|
tree
2012-10-04
Petr
T
esarik
Install the library and
p
ublic header files
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix a
n
o
t
her
o
f
f
-by-one in
c
ache_com
p
act
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
Fix
a
n of
f
-by-one in
r
e
or
d
er_e
l
emen
t
s
commit
|
commitdiff
|
tree
2012-10-03
P
e
tr
Tesarik
Sane be
h
aviour of he
d
_
g
et_cur
s
or
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesari
k
cleanu
p
: move
phys end comput
a
tion
t
o its own fun
c
ti
o
n
commit
|
commitdiff
|
tree
2012-10-03
Petr Tesarik
c
leanup: constif
y
arguments to
read-
o
nly me
t
ho
d
s
commit
|
commitdiff
|
tree
2012-10-03
P
e
tr Tesarik
Fi
x
search for f
i
r
s
t blo
c
k in loa
d
_
b
locks
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesa
r
ik
Fix reuse_loaded_da
t
a()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesar
i
k
Add next_nonzero_blo
c
k() and rewrite blockoff_next
_
blo
c
k()
commit
|
commitdiff
|
tree
2012-10-02
Pe
t
r Te
s
ar
i
k
Fix
h
ed_block_is
_
a
fter_erase()
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix
t
ypes in
B
DEBUG messages
commit
|
commitdiff
|
tree
2012-10-02
Pet
r
Tesa
r
ik
Fix final s
h
rinking
o
f insert
blocks
commit
|
commitdiff
|
tree
2012-10-02
Petr
Tesar
i
k
Do not destr
o
y
cursors in a
n
erased are
a
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesarik
Fix hed
_
cursor_data
commit
|
commitdiff
|
tree
2012-10-02
P
et
r
Tesarik
Fix hed_file_insert_begin
commit
|
commitdiff
|
tree
2012-10-02
P
etr Tesarik
Fix maxim
u
m file size off by one
commit
|
commitdiff
|
tree
2012-10-02
Pet
r
T
e
sarik
c
l
eanup: separate publ
i
c
and
p
riva
t
e
in
t
erface
f
or
.
.
.
commit
|
commitdiff
|
tree
2012-10-02
Petr Tesa
r
ik
O
p
t
i
m
i
ze he
d
_cur
s
or_data
commit
|
commitdiff
|
tree
2012-10-02
Petr Te
s
arik
cleanup: g
e
t rid
o
f m
o
st legacy macro
s
in fil
e
.
c
commit
|
commitdiff
|
tree
2012-10-01
Petr
Tesarik
Co
n
ve
r
t Boyer-Moore limits to unsigned typ
e
s
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Split Bo
y
er-Mo
o
re forwar
d
and backw
a
rd
s
earch
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
M
icr
o
-opti
m
ize fin
d
_by
t
estr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
F
ix backward search
i
ng o
f
one-byte expressions
commit
|
commitdiff
|
tree
2012-10-01
Petr
T
esa
r
ik
Fix a S
I
G
SEG
V
when searching backwar
d
s
commit
|
commitdiff
|
tree
2012-10-01
P
etr
Tesarik
O
pen-code find_cpin() in find_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
P
e
tr Tesarik
Optimi
z
e main loop
in
f
ind_bytestr()
commit
|
commitdiff
|
tree
2012-10-01
Petr Tesarik
Fix f
i
nd_
b
ytestr()
commit
|
commitdiff
|
tree
2012-09-28
Pet
r
T
esarik
Sk
i
p bad blocks in search and fix a SIGSEGV
commit
|
commitdiff
|
tree
2012-09-28
Petr
Tesarik
Fix non-constant searc
h
commit
|
commitdiff
|
tree
2012-09-28
Petr
Tesarik
Mark ba
d
blocks
w
ith HED_BLOCK_BAD
commit
|
commitdiff
|
tree
2012-09-28
Petr
Tesarik
prepare
_
modify: Use blo
c
k flags to
c
h
e
c
k if a cur
s
or
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Petr Tesarik
Allow extra
f
lags to be
set for a blo
c
k created by
.
.
.
commit
|
commitdiff
|
tree
2012-09-28
Pet
r
Tesa
r
ik
c
lea
n
up: fi
l
e_ne
w
_block -> new_bloc
k
commit
|
commitdiff
|
tree
2012-09-27
Pet
r
Tesarik
B
e
tt
e
r recovery from r
e
ad error
s
commit
|
commitdiff
|
tree
2012-09-27
Petr
T
es
a
rik
Fix v
a
rious signedne
s
s
issue
s
in the swap code
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
Fix incorrect maskin
g
in swp_ge
t
mapping()
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesarik
cleanup: make all physical positions unsigned
commit
|
commitdiff
|
tree
2012-09-27
Petr Tesa
r
ik
cl
e
a
nup:
d
e
f
ine s
y
s
_
p
a
ge_shift and
s
ys_page_size in
.
.
.
commit
|
commitdiff
|
tree
2012-09-27
P
e
tr Tesarik
F
i
x signednes
s
of FILE_BLOCK_xxx
commit
|
commitdiff
|
tree
2012-09-26
Petr T
e
sarik
cleanup: reformat new_virt_blo
c
k and new_data_b
l
ock
commit
|
commitdiff
|
tree
2012-09-26
Petr T
e
sarik
all
o
c_b
l
ock ->
new_da
t
a_block
commit
|
commitdiff
|
tree
2012-09-26
Pet
r
T
esarik
Always declare st
r
uct remap_control
commit
|
commitdiff
|
tree
2012-09-26
P
e
tr Tesar
i
k
clean
u
p
: include
t
ypes
.
h and
s
wap
.
h from cache
.
h
commit
|
commitdiff
|
tree
2012-09-26
P
e
tr Tesarik
cleanup:
do not require @
d
ata argument for remap_i
n
it
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
ik
cleanup: Con
s
t
i
f
y the fir
s
t cursor parameter to hed
_
file_ins
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
arik
cleanup: save one dereference in _b
l
ock
_
dat
a
_
free
commit
|
commitdiff
|
tree
2012-09-25
P
etr Tesarik
cleanup
:
Merge block_
d
ata_new wit
h
b
l
ock_data_
n
ew
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesari
k
cleanup: mo
v
e load_blocks
closer to file_load_da
t
a
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cl
e
anup:
m
o
ve replace_chunk closer t
o
other bloc
k
-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
P
etr Tesarik
cleanup: do not re-com
p
ute t
h
e r
e
adahead distance fro
m
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
clea
n
up:
g
et rid of the "fi
l
e" macro d
e
fine
commit
|
commitdiff
|
tree
2012-09-25
P
e
t
r Tesarik
Merge rema
p
_caches with alloc_caches
commit
|
commitdiff
|
tree
2012-09-25
Petr Te
s
arik
Rewrite
r
ea
d
ahead co
d
e
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
Add hed_cursor_phys
_
pos to the API
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesarik
cleanup: u
s
e he
d
_cursor_t
i
n search_data()
commit
|
commitdiff
|
tree
2012-09-25
Pe
t
r T
e
sari
k
c
l
eanup: us
e
hed_cursor_t instead of block+off
pair
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesar
i
k
cle
a
nup: move
f
ile
_
ra_xx
x
macros
n
e
ar the to
p
of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Pet
r
Tesari
k
cleanup: file_move_rel_fast -> m
o
ve_rel_fast
commit
|
commitdiff
|
tree
2012-09-22
Pe
t
r Tesarik
cleanup: BLKGETSIZE
returns uns
i
g
ned
l
ong, not a
3
2
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Te
s
arik
cl
e
an
u
p:
k
ill hed_file
_
next_block
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tesa
r
ik
Mark unread
a
b
l
e por
t
ions
of a file with a red XX
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Rewrite find
_
expr without he
d
_file_next_block
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tes
a
rik
Merge he
d
_c
u
rsor_chunk_len w
i
th
h
ed_prepar
e
_read
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
sa
r
ik
Add hed_cursor_chunk_len
to
t
he
API
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r Tesari
k
Add hed_cursor
_
span() to the API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Rewrit
e
c
alls to hed_file_fetc
h
_block()
a
nd k
i
ll the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Add hed_cursor_da
t
a
(
) to the API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
M
ark file_
a
cce
s
s_init as in
t
ernal
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cl
e
a
n
up: rewrite rem
a
p
help
e
r
s
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Merge fixup
.
h with access
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
e
s
a
r
ik
cl
e
anup: K
i
ll hed_fil
e
_read_begin
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
esarik
Rew
r
it
e
the
S
I
GBU
S
h
a
n
dler
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
esa
r
i
k
cache:
in
i
tialize
h
ed_block_data's data to NULL
if
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
es
a
rik
Clear the
m
odif
i
e
d
flag after a successful fi
l
e_commit
(
)
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr T
e
sarik
s
w
a
p
.
h: replace trivia
l
macros with trivi
a
l inline
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Remove main
.
c
depe
n
d
ency on lib
h
e
d
configurat
i
on
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesari
k
Remove o
f
f
_t fro
m
the pub
l
i
c
l
ibh
e
d AP
I
commit
|
commitdiff
|
tree
2012-09-20
P
etr T
e
sarik
D
efine
fea
t
ure test macr
o
s in
t
he appropria
t
e C file
s
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
T
esarik
Separate out libhed configu
r
a
tio
n
from the mai
n
config
.
h
commit
|
commitdiff
|
tree
2012-09-20
P
etr Tesar
i
k
Make hed
_
expr_len and hed_e
x
p
r_flags inline
commit
|
commitdiff
|
tree
next