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: save one dereference in _block_data_free
2012-09-25
Pet
r
T
esarik
cle
a
nup: save one der
e
ference in
_bloc
k
_data_free
commit
|
commitdiff
|
tree
2012-09-25
P
e
tr Tesarik
cl
e
anup: Merg
e
block_data_new with
block_
d
ata_new
commit
|
commitdiff
|
tree
2012-09-25
P
etr Tesarik
cleanup: move load_bl
o
c
k
s
closer to
f
ile_load_data
commit
|
commitdiff
|
tree
2012-09-25
Petr
Tesarik
clea
n
up: move
r
eplace_chunk clos
e
r to other block-handling
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
i
k
cle
a
nup: do not re-compute the readahead dista
n
ce f
r
o
m
.
.
.
commit
|
commitdiff
|
tree
2012-09-25
Petr Tes
a
rik
c
le
a
n
up: get ri
d
of
the
"file" ma
c
r
o
defin
e
commit
|
commitdiff
|
tree
2012-09-25
Petr Tes
a
rik
Merg
e
remap_caches with alloc_
c
aches
commit
|
commitdiff
|
tree
2012-09-25
Pet
r
Tesarik
R
ewrite r
e
ada
h
ead co
d
e
commit
|
commitdiff
|
tree
2012-09-25
P
e
t
r
T
esarik
A
d
d h
e
d_cursor_phys_pos to the A
P
I
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
c
leanup: use hed_cursor_t in s
e
arc
h
_d
a
ta()
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cleanup
:
use
hed_cursor_t
i
n
s
t
ead of block+off pair
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesa
r
ik
cle
a
nup
:
move file_ra_xxx
macros near the
top
o
f
the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Petr Tesarik
clean
u
p: file_move_rel_fast ->
move_rel_fast
commit
|
commitdiff
|
tree
2012-09-22
Pe
t
r Tesarik
cl
e
an
u
p: BLK
G
ETS
I
ZE re
t
urns unsigned long, not a
32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesar
i
k
cleanup: kill hed_file_next
_
block
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesa
r
ik
Mar
k
unreadable port
i
ons of a file with a red XX
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
Rew
r
ite f
i
n
d_expr without hed
_
file_next_b
l
ock
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Merge
hed_cursor_chunk
_
l
en with
h
ed_prepare_read
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Add
hed_cursor_chunk_len to the
API
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesa
r
ik
Add hed_cursor_span() to t
h
e API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesa
r
ik
Rewrite
c
alls to hed_f
i
le_fetch_block() and kill the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
sarik
A
d
d h
e
d
_cursor_data() to the API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Mar
k
fi
l
e_access_init as int
e
rnal
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
clea
n
up
:
rewrit
e
remap h
e
l
pers
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
T
esarik
Merge
fix
u
p
.
h with access
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr Te
s
arik
cleanu
p
: Kill hed_file_read
_
begin
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesa
r
ik
Rewrite th
e
SIGBU
S
h
andle
r
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
cache: initialize hed_bloc
k
_data's
d
ata to
NULL if
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esar
i
k
Cl
e
ar
t
he mod
i
fied flag afte
r
a
s
ucces
s
ful fi
l
e_com
m
it()
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
swap
.
h: rep
l
ace triv
i
al macros wi
t
h trivial
i
nline
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Te
s
ari
k
Remove mai
n
.
c depe
n
dency on libhed conf
i
gurat
i
o
n
commit
|
commitdiff
|
tree
2012-09-20
P
e
t
r
Tes
a
rik
Remove off_t from the
p
ublic libhed API
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesarik
Define
f
e
a
t
ure test macros in th
e
appropriate C
f
i
les
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Separate out l
i
b
he
d
c
onfigu
r
ation from t
h
e
m
a
in config
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
M
a
k
e
hed_
e
x
p
r_len and h
e
d_
e
xpr_flags in
l
ine
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesar
i
k
Remove t
y
pe defines f
r
o
m tree
.
c
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Tesa
r
i
k
Re
m
ove type def
i
n
e
s fr
o
m e
x
pr
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Document public and private
l
i
b
hed h
e
ader files
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Rena
m
e file_da
t
a -> block_data
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesarik
Rename hed_fi
l
e_
c
ache
-
>
h
e
d
_cache
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesarik
Avoid
l
inker name
s
pace
pollution
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
Move private
.
h declaratio
n
s
to file
.
c
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesarik
Mak
e
s
p
lay/
u
n
splay
s
ta
t
i
c
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tes
a
r
ik
Pu
t
e
xpressi
o
n-re
l
ated types to expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Tesarik
Sanitize libhe
d
/
e
xpr
.
h
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr
T
esarik
R
ename
eval
.
[ch
]
-> expr
.
[ch]
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Sanitize the file API
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Sanit
i
z
e he
d
_bloc
k
interface
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesa
r
ik
N
U
L
L
_CURSOR -> HED_NULL_CURSOR
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sar
i
k
Sa
n
itize
hed
_
block flags
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Rena
m
e hed_blockoff_t -> hed_curs
o
r_t
commit
|
commitdiff
|
tree
2012-09-19
P
e
tr
T
esarik
Sanitize type names in p
u
blic headers
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesar
i
k
c
l
eanup: ad
j
u
st
names o
f
macros gu
a
rding double
i
nclusion
commit
|
commitdiff
|
tree
2012-09-19
P
e
tr T
e
sarik
Me
r
ge branch 'cleanups' into libhed
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Remove swap
.
h from
t
he pu
b
l
i
c interface
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Move
(most)
p
u
blic types to lib
h
ed/types
.
h
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesar
i
k
Mo
v
e file_put_blo
c
koff to f
i
le
.
c
commit
|
commitdiff
|
tree
2012-09-19
P
e
t
r Tesarik
S
e
para
t
e out
l
ib
h
ed files
commit
|
commitdiff
|
tree
2012-09-18
Pet
r
Tesari
k
Remove
f
il
e
/fixup
.
h from the public interface
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Remove file/acces
.
h fro
m
the
p
ublic
in
t
erface
commit
|
commitdiff
|
tree
2012-09-18
Pe
t
r T
e
s
arik
M
ove
glo
b
al initiali
z
ati
o
n to file_init()
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesa
r
ik
Rename fi
l
e m
e
thods to free up t
h
e "file_init
"
n
a
me
commit
|
commitdiff
|
tree
2012-09-18
P
et
r
Tesarik
P
r
ov
i
de
c
o
r
r
ect fixup stubs
commit
|
commitdiff
|
tree
2012-09-18
Pe
t
r Tesa
r
ik
Remove la
s
t dependency
on FILE_BLOCK_SIZE from fi
l
eshow
.
c
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
K
ill file_p
o
s_valid
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Move private definit
i
o
n
s from file/fi
l
e
.
h
to fil
e
/privat
e
.
h
commit
|
commitdiff
|
tree
2012-09-18
Petr Te
s
ar
i
k
Add block_is_after_in
s
ert
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
cleanup: consolidate ch2mark and ch
2
reg
commit
|
commitdiff
|
tree
2012-09-14
Petr
Te
s
arik
cleanup:
s
implify is_ins
i
de_visual
commit
|
commitdiff
|
tree
2012-09-13
Petr Tes
a
rik
Merge branch 'master
'
of git+ssh://repo
.
or
.
cz/srv/git/hed
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesarik
Mark visua
l
blocks wit
h
reverse video
commit
|
commitdiff
|
tree
2012-09-12
Petr
Tesarik
clea
n
up: determine the
h
exv
i
ew color only once
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesa
r
ik
set
i
nitial idmark to spac
e
if the m
a
rk goes to the
.
.
.
commit
|
commitdiff
|
tree
2012-09-12
P
e
t
r T
e
sa
r
ik
cleanup: main
loop in
f
i
l
esho
w
_redraw
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesarik
mmap swp_setsize: return
succes
s
f
or no swap f
i
le
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesarik
file_
s
w
p
_init:
avoid double free of
t
he
s
wap filename
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesarik
F
ix segm
e
ntation
f
ault if file
_
init() fail
s
commit
|
commitdiff
|
tree
2011-09-29
Pe
t
r Tesarik
c
leanup: Chan
g
e ownership of file_cache
object
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use unsigned arithme
t
ic
for pos_column
(
)
commit
|
commitdiff
|
tree
2011-09-29
P
e
t
r
Tesarik
P
r
ovide a f
u
nction to c
o
mpute the column of a file
.
.
.
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesa
r
ik
Use bit sh
i
fts for SWP_MAPEXTENT w
h
er
e
possib
l
e
commit
|
commitdiff
|
tree
2011-09-29
Petr
Tesarik
U
s
e
u
nsi
g
ned
t
y
pes
for page size and shift
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Fix
g
e
t
ting
swap file size
o
n read
commit
|
commitdiff
|
tree
2011-09-29
Petr T
e
sarik
Use FILE
_
BLOCK_SH
I
F
T
a
nd SWAP_BLOCK_SHIFT where p
o
ssi
b
l
e
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesar
i
k
Provide
F
ILE_BLOCK_SHIFT
and SWA
P
_B
L
OCK_SHIFT
commit
|
commitdiff
|
tree
2011-09-29
P
e
tr Te
s
a
ri
k
numbers
.
h
: Add missing
i
n
c
l
ude
<stdint
.
h>
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
Fix swap block size ha
n
dling
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Te
s
arik
cle
a
n
up: Get swap file si
z
e with lseek(
)
i
n
st
e
ad of
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesarik
optimize:
C
hange the list_empty() condition in swp_bfree
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanu
p
: Do not m
a
rk
swp_fre
e
mapping as inline
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: Call s
w
p_done instead
of swp_
c
lose if init
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cle
a
nup: Kill struct swp_f
i
l
e flags
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r Tesa
r
ik
swap: handle failed swp_pag
e
_a
l
loc
in read_header
commit
|
commitdiff
|
tree
2011-09-27
P
etr Tes
a
rik
clea
n
up
:
(sw
p
_s
p
l
it) Change spli
t
poi
n
t type to u
n
signed int
commit
|
commitdiff
|
tree
2011-09-27
P
etr
T
esarik
Try to re
a
l
l
o
c
a
te all sizes, not ju
s
t >
=
FI
L
E_
B
LO
C
K_SIZE/4
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
c
l
eanup:
R
e
move first
p
arameter of
s
wp_spli
t
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r Tesarik
swap: m
a
ke t
h
e
a
llocation search more
fle
x
ib
l
e
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
swap: C
h
un
k
combining
commit
|
commitdiff
|
tree
2011-09-27
Petr Tes
a
rik
swap: Keep the free lis
t
s
o
rted by
o
ff
commit
|
commitdiff
|
tree
2011-09-27
P
etr Tesarik
Store swp_allocs in a doubly-lin
k
ed list
commit
|
commitdiff
|
tree
next