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
Make hed_expr_len and hed_expr_flags inline
2012-09-20
P
e
t
r Tesarik
Ma
k
e h
e
d_expr_len a
n
d hed_ex
p
r_flags i
n
line
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Re
m
ov
e
type
d
e
fines from tr
e
e
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esarik
Remove type defines
f
r
om expr
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
Document public and pri
v
ate libhed h
e
ader
files
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesarik
Rena
m
e file_da
t
a
-
>
bloc
k
_data
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesarik
Rename hed_file_ca
c
he -> hed_
c
ache
commit
|
commitdiff
|
tree
2012-09-20
Petr T
e
sarik
Avoid linker
n
a
mespa
c
e
pollution
commit
|
commitdiff
|
tree
2012-09-20
Petr Te
s
arik
Move p
r
ivat
e
.
h
d
ec
l
a
r
a
tions to file
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Make splay
/
unsplay static
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Te
s
ari
k
P
u
t
ex
p
ression-rel
a
t
e
d types to exp
r
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Sanitiz
e
libhed/expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Re
n
ame eval
.
[ch] -> expr
.
[
ch]
commit
|
commitdiff
|
tree
2012-09-20
P
etr Tesarik
Sanitize
t
he file API
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Sani
t
i
z
e
hed_block
i
n
te
r
face
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
NULL_CU
R
S
O
R
-> HED_
N
ULL_CURSOR
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
T
e
sar
i
k
S
a
nitize he
d
_blo
c
k
flags
commit
|
commitdiff
|
tree
2012-09-19
Petr
Tes
a
rik
Rename he
d
_blockoff_t -> hed_
c
u
r
sor_t
commit
|
commitdiff
|
tree
2012-09-19
Petr
T
e
sa
r
ik
Sanitize type names in public heade
r
s
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
T
e
sarik
cl
e
anu
p
: adju
s
t names o
f
macros guarding doub
l
e inclusion
commit
|
commitdiff
|
tree
2012-09-19
P
etr
Tesarik
Merge branch 'cl
e
anups' into libhed
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesa
r
ik
Remo
v
e
s
wap
.
h
f
rom the pub
l
i
c inter
f
ace
commit
|
commitdiff
|
tree
2012-09-19
Petr
T
esar
i
k
Move (most)
pub
l
ic typ
e
s to
l
i
bh
e
d/types
.
h
commit
|
commitdiff
|
tree
2012-09-19
P
e
tr T
e
sarik
Move
fi
l
e_put_blockoff to file
.
c
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r Tesarik
Separ
a
t
e
o
ut libh
e
d
files
commit
|
commitdiff
|
tree
2012-09-18
Petr T
e
sarik
Remove
f
ile/f
i
x
u
p
.
h from the public i
n
terface
commit
|
commitdiff
|
tree
2012-09-18
P
e
t
r
Tesarik
R
e
move file/acce
s
.
h from the pu
b
l
i
c int
e
rface
commit
|
commitdiff
|
tree
2012-09-18
Petr
Tesarik
Move global initial
i
zation to file_init()
commit
|
commitdiff
|
tree
2012-09-18
Petr Tes
a
rik
Rename file m
e
tho
d
s to f
r
ee
u
p the "file_init" name
commit
|
commitdiff
|
tree
2012-09-18
P
e
tr Tesari
k
P
rovide cor
r
ect fix
u
p stubs
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesa
r
ik
Remo
v
e la
s
t dependenc
y
o
n
FILE
_
BLOCK_SI
Z
E fr
o
m fil
e
show
.
c
commit
|
commitdiff
|
tree
2012-09-18
Petr T
e
sa
r
i
k
K
ill file_pos_valid
commit
|
commitdiff
|
tree
2012-09-18
Petr T
e
sarik
Move pri
v
at
e
de
f
inition
s
fr
o
m file/
f
il
e
.
h to file/
p
riv
a
te
.
h
commit
|
commitdiff
|
tree
2012-09-18
Petr Tes
a
r
ik
Add block_is
_
after_
i
nsert
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
c
l
e
an
u
p
:
consolidate ch2mark
and ch2reg
commit
|
commitdiff
|
tree
2012-09-14
Petr Tes
a
ri
k
cleanup: simplif
y
is
_
ins
i
de_visual
commit
|
commitdiff
|
tree
2012-09-13
P
e
tr Tesa
r
ik
M
e
rg
e
branch '
m
aster'
of git+ssh://re
p
o
.
or
.
cz/srv/git/he
d
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesarik
Mark visual bloc
k
s with
r
everse v
i
deo
commit
|
commitdiff
|
tree
2012-09-12
Petr
Tesarik
cl
e
anup: determine the he
x
view col
o
r only onc
e
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesarik
set
i
nitia
l
idmark to space i
f
th
e
mar
k
goes
to t
h
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesarik
clea
n
up: mai
n
loop i
n
fileshow_
r
edra
w
commit
|
commitdiff
|
tree
2011-10-04
Petr Tes
a
rik
m
m
ap
s
wp_setsize: retu
r
n succ
e
ss for no swap fi
l
e
commit
|
commitdiff
|
tree
2011-10-04
Petr Te
s
a
ri
k
fil
e
_swp
_
init: avoid doub
l
e free of the swap filename
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesar
i
k
Fix segmentation fault if
f
ile_init() fails
commit
|
commitdiff
|
tree
2011-09-29
Petr
T
es
a
rik
c
l
eanup
:
C
hange ownership
of file_cache object
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use unsigned arith
m
etic for
pos_column()
commit
|
commitdiff
|
tree
2011-09-29
Petr Te
s
a
r
ik
Provide
a function
to compute th
e
c
olumn o
f
a fi
l
e
.
.
.
commit
|
commitdiff
|
tree
2011-09-29
P
e
tr Tesarik
Use bit
s
hifts for SWP_MAPEXTENT
w
here pos
s
ible
commit
|
commitdiff
|
tree
2011-09-29
P
etr
T
es
a
rik
Use unsigned types for page
s
ize and shift
commit
|
commitdiff
|
tree
2011-09-29
P
e
tr Tesar
i
k
Fix
g
e
tting
s
w
a
p file size on read
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use FILE_BLOCK_SHIFT and S
W
AP_
B
LOCK_S
H
IFT where possible
commit
|
commitdiff
|
tree
2011-09-29
Pet
r
Tesari
k
Provi
d
e FIL
E
_BLOCK_S
H
IFT
an
d
SWAP_BLOCK_S
H
IFT
commit
|
commitdiff
|
tree
2011-09-29
Petr T
e
sarik
n
umbers
.
h: Add mis
s
ing
include <
s
tdint
.
h
>
commit
|
commitdiff
|
tree
2011-09-27
P
e
t
r
T
esarik
F
i
x swap b
l
ock
size handling
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
clean
u
p: Get swap file size
w
i
t
h lse
e
k() in
s
tead of
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesari
k
optimize: Chang
e
t
he lis
t
_
empty() condition in swp_bfree
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tesarik
clea
n
up
:
D
o not ma
r
k
s
wp_freemappin
g
as inli
n
e
commit
|
commitdiff
|
tree
2011-09-27
P
e
t
r T
e
sari
k
cleanup: Call swp
_
done instead
o
f swp_close if
i
nit
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
cleanu
p
: Kill struct
s
wp_file flags
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr
T
es
a
rik
s
w
ap: h
a
n
d
le failed swp_page
_
a
l
loc
in r
e
ad_header
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: (swp_split) Chan
g
e sp
l
it point type to
unsigned int
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesarik
Try to reallocate
a
ll sizes,
n
ot jus
t
>= FILE
_
BLOCK_SIZE/4
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: Remove f
i
r
s
t parameter
of swp_s
p
lit
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesari
k
swap: make the a
l
loca
t
ion search more fle
x
ible
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap: Chunk com
b
ini
n
g
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tesarik
swap: Keep
t
he free list sorted by off
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
Store swp_
a
l
l
ocs i
n
a dou
b
ly-lin
k
ed list
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
cleanup
:
Kill swp_b
f
ind
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesari
k
swp_find_
a
ll
o
c: i
n
iti
a
li
z
e off
to
0
to silence a
warning
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesa
r
ik
swp_alloc: Remo
v
e the block
f
i
eld
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap: Change
t
h
e indenting in
swp_du
m
p
to make output
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r
Te
s
arik
swap: Main
t
ain per-blo
c
k
f
r
ee lists
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesar
i
k
sw
a
p_alloc: S
t
ore
b
lock
offse
t
in
s
tead of full po
i
nter
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap
:
s
tore swp_al
l
oc
s
ize in
an unsigned in
t
commit
|
commitdiff
|
tree
2011-09-27
Petr Te
s
arik
swap:
Maintain
p
er-block alloc lists
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
esarik
Fix era
s
e in
s
ide virtual blocks
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
esarik
Move size
a
l
ignm
e
n
t to swp
_
split
commit
|
commitdiff
|
tree
2011-09-26
Pe
t
r Te
s
ari
k
swp_shrink: Try
to reallocate
b
ig chunks
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Separate out the wor
k
hors
e
s from swp_malloc and swp_free
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesari
k
Fix
war
n
in
g
about ignoring ret
u
rn value of realloc
commit
|
commitdiff
|
tree
2011-09-26
Pet
r
Tesar
i
k
Do not mark mmap
version
o
f s
e
tsize a
n
d pag
e
_alloc
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
R
e
name the c
u
r
rent swap fi
l
e to the nor
m
al swap fil
e
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
P
et
r
T
esarik
Chec
k
only
s
ize and mtime on read_swap
commit
|
commitdiff
|
tree
2011-09-26
P
etr
Tesarik
A
dd
C
ONFIG_SWAP_M
M
AP
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
e
s
a
rik
swap: Prov
i
de swp_pag
e
_{read,wri
t
e}
commit
|
commitdiff
|
tree
2011-09-26
Petr Tes
a
r
ik
fix s
w
p
_
isreado
n
ly
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
swap: set size after open
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
swap: add SWP_PAGE_I
N
VALID
commit
|
commitdiff
|
tree
2011-09-26
Pe
t
r Tesari
k
cleanup: Move rea
d
ah
e
ad field in st
r
uct file
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesar
i
k
A
d
d CONFIG_S
W
AP
commit
|
commitdiff
|
tree
2011-09-26
P
etr Tesarik
Move swp f
i
le init/r
e
lease t
o
separate function
s
commit
|
commitdiff
|
tree
2011-09-26
Pe
t
r Tesarik
Introduce f
i
l
e
_
swp to access the
s
wp file object
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
prepare_modify: Alw
a
ys create overlay blocks
commit
|
commitdiff
|
tree
2011-09-26
Pet
r
Tesarik
prepare_modify: Grab a re
f
e
r
e
nce on a r
e
used file
_
data
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr Tes
a
r
i
k
cle
a
u
np: Conv
e
rt vi
s
ual mark to a blo
c
ko
f
f_t
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
es
a
rik
cleanup:
c
all set_
c
u
rso
r
(0) for
c
md_file_
b
egin
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
I
ntrod
u
ce is_insi
d
e_visual()
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
cleanup: Always increase eof block's s
i
ze on
erase
commit
|
commitdiff
|
tree
2011-09-25
P
e
tr T
e
sarik
Chang
e
fi
l
e_set
_
{block,bytes} t
o
move the blo
c
koff
commit
|
commitdiff
|
tree
2011-09-25
Petr
T
e
s
arik
cleanup: Kill b
l
ock_bytedirty
an
d
fi
l
e_data_
i
s
_
bytedirty
commit
|
commitdiff
|
tree
2011-09-24
Pet
r
Tes
a
rik
cleanup: Kill
b
lock_{se
t
,clear}_
b
yt
e
di
r
ty
commit
|
commitdiff
|
tree
next