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
Rename hed_blockoff_t -> hed_cursor_t
2012-09-19
Pet
r
Tesar
i
k
Rena
m
e hed_bloc
k
of
f
_t ->
h
e
d
_curso
r
_t
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r Tesar
i
k
S
a
nitize type names in
p
ublic headers
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
cleanup: adju
s
t
nam
e
s of mac
r
os guarding double i
n
c
l
usio
n
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Merge branch 'clean
u
ps
'
into libhed
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
T
esarik
Rem
o
ve
s
wa
p
.
h
f
rom
t
he
public i
n
terfa
c
e
commit
|
commitdiff
|
tree
2012-09-19
P
e
tr
Tesarik
Mo
v
e (most) pu
b
lic type
s
to libhed
/
types
.
h
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Move file_put_b
l
o
c
koff
t
o file
.
c
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Separate o
u
t lib
h
ed files
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Remo
v
e fi
l
e/fixup
.
h from the public i
n
terface
commit
|
commitdiff
|
tree
2012-09-18
Pet
r
Te
s
arik
Remove file/acce
s
.
h fr
o
m the public inter
f
a
ce
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
M
ove global initial
i
zation to file_init()
commit
|
commitdiff
|
tree
2012-09-18
P
et
r
Tesarik
Re
n
ame file methods
t
o
f
ree up
the "file_init" name
commit
|
commitdiff
|
tree
2012-09-18
Pe
t
r Tesa
r
ik
Provide corr
e
ct
f
ixup stu
b
s
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesa
r
ik
Rem
o
ve l
a
s
t
depen
d
ency on FILE_BLOCK_SI
Z
E f
r
om fileshow
.
c
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesar
i
k
Kill file_pos
_
valid
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesa
r
ik
Move pr
i
va
t
e
def
i
nition
s
f
r
o
m
file/file
.
h to file/priv
a
te
.
h
commit
|
commitdiff
|
tree
2012-09-18
P
etr T
e
sarik
Add block
_
i
s_a
f
ter_insert
commit
|
commitdiff
|
tree
2012-09-18
Petr
Tes
a
rik
cleanup: co
n
soli
d
a
te ch2mark
and ch2reg
commit
|
commitdiff
|
tree
2012-09-14
Petr T
e
sar
i
k
cleanup: sim
p
lify is_insid
e
_
v
isual
commit
|
commitdiff
|
tree
2012-09-13
Petr
T
esarik
Merge
b
ranch 'maste
r
'
of git+ss
h
:/
/
repo
.
or
.
cz/srv/gi
t
/he
d
commit
|
commitdiff
|
tree
2012-09-12
P
e
tr Tesarik
Mark
v
isual b
l
ocks with
reve
r
se vide
o
commit
|
commitdiff
|
tree
2012-09-12
P
etr Tesarik
cl
e
anup: determine the hexview color
o
n
l
y
o
nce
commit
|
commitdiff
|
tree
2012-09-12
Petr
T
esarik
set initial
idm
a
rk to space if the mark goes t
o
the
.
.
.
commit
|
commitdiff
|
tree
2012-09-12
Pet
r
Tesari
k
cle
a
n
up: main
l
oop
i
n files
h
ow_redra
w
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesa
r
i
k
mmap swp_setsize: return success for
n
o swap
file
commit
|
commitdiff
|
tree
2011-10-04
P
etr Tes
a
ri
k
fi
l
e_swp_init: avoid
d
ou
b
le free o
f
the
sw
a
p f
i
lename
commit
|
commitdiff
|
tree
2011-10-04
Pe
t
r
T
e
s
arik
F
ix se
g
mentation fa
u
lt if file_init() fails
commit
|
commitdiff
|
tree
2011-09-29
P
e
tr Tesari
k
clea
n
up
:
Change ownership of
f
ile_cache
object
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesa
r
i
k
Use un
s
igned arithm
e
tic
f
or pos_column()
commit
|
commitdiff
|
tree
2011-09-29
Petr
T
esarik
Pr
o
v
ide a func
t
ion
t
o
compute the column
of a
f
ile
.
.
.
commit
|
commitdiff
|
tree
2011-09-29
Petr
Tes
a
rik
Use
b
it shi
f
ts for SWP_MAPEXTENT where pos
s
i
b
le
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Us
e
unsigned types for
page si
z
e and s
h
if
t
commit
|
commitdiff
|
tree
2011-09-29
P
e
tr Tesarik
Fi
x
g
e
tting swap
f
ile size on read
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesari
k
Us
e
FILE_B
L
OCK_SHIFT and SWAP_BLOCK_SHIFT where possible
commit
|
commitdiff
|
tree
2011-09-29
P
etr Tesarik
Provide FILE_BLOCK_SHIFT and SWAP_BLOCK_SHIFT
commit
|
commitdiff
|
tree
2011-09-29
Pe
t
r Tesarik
numbers
.
h: Ad
d
m
i
ssing includ
e
<
stdi
n
t
.
h>
commit
|
commitdiff
|
tree
2011-09-27
P
etr Tesarik
F
ix
s
wap block
s
ize handling
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
esarik
cle
a
nup: Get s
w
ap
f
i
le size with lseek()
instea
d
of
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesari
k
optimize: Change the list_empty() co
n
dition in
swp_bfree
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup:
Do not
m
ark swp_f
r
e
e
mappi
n
g as inline
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr
Tesar
i
k
cle
a
nup:
Call swp_
d
o
ne instead of swp
_
c
lose i
f
init
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: Kill struct swp_file flags
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tes
a
rik
swa
p
:
h
andle
f
ai
l
e
d
swp_page_alloc in
read_header
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cle
a
nup
:
(swp_split) Change
split po
i
nt ty
p
e to un
s
i
gned int
commit
|
commitdiff
|
tree
2011-09-27
Petr Tes
a
r
i
k
Try
to reallocat
e
all sizes
,
n
o
t j
u
s
t >=
F
I
LE_BL
O
C
K
_SIZE/4
commit
|
commitdiff
|
tree
2011-09-27
Petr
Tesarik
cleanu
p
:
R
emove f
i
rs
t
parameter of swp_split
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
T
e
sa
r
ik
swap: ma
k
e the alloca
t
ion sear
c
h more flexib
l
e
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr
Tes
a
rik
swap:
C
hunk c
o
mb
i
nin
g
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap: Keep the
fre
e
list s
o
r
ted by off
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
S
tore
swp_
a
llocs in a doubly-linked
l
i
st
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
esa
r
i
k
cleanup: Kill swp_
b
find
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swp_f
i
nd_alloc: initialize off to 0 t
o
sile
n
c
e a warning
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
s
w
p_
a
l
l
o
c
: Re
m
ove
the
b
lock field
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
esarik
swap: Change
t
he i
n
de
n
tin
g
i
n swp_dump to mak
e
outp
u
t
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tes
a
rik
swap: Maint
a
in per-block
f
ree lis
t
s
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap_alloc: Store block offset instead of
full
point
e
r
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
swap: sto
r
e swp_al
l
o
c
size in a
n
unsig
n
ed int
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
swap: Ma
i
n
t
ain per-bl
o
c
k alloc lists
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
Fix e
r
as
e
inside
virt
u
al blocks
commit
|
commitdiff
|
tree
2011-09-26
Petr Te
s
a
r
ik
Move
s
ize a
l
ignment to
s
wp
_
s
p
l
it
commit
|
commitdiff
|
tree
2011-09-26
P
et
r
Tesar
i
k
swp_shrink: Tr
y
to reallocate bi
g
chunks
commit
|
commitdiff
|
tree
2011-09-26
Pe
t
r Tesarik
Separate out
the
w
orkho
r
ses f
r
om swp_mall
o
c and swp_free
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
F
i
x
warning about ig
n
or
i
ng return value of realloc
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
D
o not mark mmap v
e
rsion of setsize and page
_
a
l
loc
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Re
n
a
m
e
the current swap f
i
le to
the normal swap file
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr Tesa
r
ik
Chec
k
onl
y
si
z
e and mtime on read_swap
commit
|
commitdiff
|
tree
2011-09-26
Petr
Tesar
i
k
Add CONFIG_SWAP_M
M
AP
commit
|
commitdiff
|
tree
2011-09-26
Petr
Tesarik
swap: Provide swp_p
a
ge_{read,write}
commit
|
commitdiff
|
tree
2011-09-26
Petr Te
s
arik
fi
x
swp_i
s
readonly
commit
|
commitdiff
|
tree
2011-09-26
P
e
t
r
T
e
sarik
swap
:
set
size
a
fter open
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
swap: add S
W
P_PAGE_INVALID
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
cleanup: Move rea
d
ahead field
in struct file
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesa
r
ik
Add C
O
N
FIG_SWAP
commit
|
commitdiff
|
tree
2011-09-26
Petr
Tesarik
Move swp fil
e
init/release to separate f
u
nctions
commit
|
commitdiff
|
tree
2011-09-26
Petr Tes
a
r
ik
I
nt
r
o
d
uce fil
e
_swp to access the swp file object
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
pre
p
a
re_mod
i
fy:
Always
crea
t
e
overlay blocks
commit
|
commitdiff
|
tree
2011-09-26
P
e
t
r
Tesarik
prepare_modify: G
r
ab a r
e
f
e
r
e
nce
o
n
a
reus
e
d
file_d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
P
e
t
r Te
s
ari
k
cleaunp: Convert vi
s
ua
l
mark
to
a blocko
f
f_t
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr T
e
sar
i
k
cleanup: call
s
et_cursor(0) for cmd_file_begin
commit
|
commitdiff
|
tree
2011-09-26
Petr
Tesa
r
ik
Int
r
oduc
e
is_inside_visual()
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr Tesa
r
ik
cl
e
an
u
p: Always in
c
rease e
o
f
b
lock
'
s
s
i
ze o
n
erase
commit
|
commitdiff
|
tree
2011-09-25
P
e
tr Tesarik
Change file_set_{block,bytes} to m
o
v
e
the bl
o
c
k
off
commit
|
commitdiff
|
tree
2011-09-25
P
e
tr Tesarik
cleanup:
K
i
ll bl
o
ck_bytedirty and file_data_
i
s_bytedi
r
t
y
commit
|
commitdiff
|
tree
2011-09-24
Petr
T
esar
i
k
c
l
eanu
p
:
Kil
l
block_{
s
et,clear}_bytedirty
commit
|
commitdiff
|
tree
2011-09-24
Pet
r
Tesari
k
cleanup:
Kill fi
l
e_data_
{
s
e
t,clear}_bytedirty
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
cleanup
:
Kill file_data_bytedirty
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
cl
e
a
nup: Kill FDF_CLON
E
D
commit
|
commitdiff
|
tree
2011-09-24
P
e
tr Tesarik
cleanup: Kill f
i
le_cach
e
_detach
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
cleanup: Kil
l
make_block_dirty
commit
|
commitdiff
|
tree
2011-09-24
P
et
r
Tesarik
Use dirty overlays for repl
a
cements
commit
|
commitdiff
|
tree
2011-09-24
P
e
tr
T
es
a
rik
Generalize devirtualize_ch
u
nk
t
o
r
eplace_chunk
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
s
h
rink_at_xxx:
remove the limitatio
n
t
o virtual blocks
commit
|
commitdiff
|
tree
2011-09-24
P
etr Tes
a
rik
Gen
e
ralize sea
r
ch_loaded_
d
ata
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesa
r
ik
cle
a
n
u
p:
r
e
name en
l
arge_at_xxx to shrink_at_xxx
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
o
ptimize sear
c
h_lo
a
ded_data (ignore b
l
oc
k
size)
commit
|
commitdiff
|
tree
2011-09-24
Petr
Te
s
a
rik
F
i
x uniniti
a
l
i
z
ed values
in the
file objec
t
commit
|
commitdiff
|
tree
2011-09-24
P
etr
T
es
a
r
ik
Use swp_zalloc wher
e
calloc was us
e
d originally
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesarik
Add zero
-
ini
t
i
a
lized swap allocation: sw
p
_zalloc
commit
|
commitdiff
|
tree
2011-09-24
Petr Tesa
r
ik
Fix searc
h
for loaded data
commit
|
commitdiff
|
tree
2011-09-23
Petr T
e
s
a
rik
sw
p
_
i
n
it_r
e
ad: fix error handling for read_header()
commit
|
commitdiff
|
tree
next