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
Use correct types for cursor absolute and relative offsets
2012-09-21
Petr Te
s
arik
Rewrite calls to he
d
_file
_
f
e
t
ch_blo
c
k() and ki
l
l the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesa
r
ik
Add
h
ed_cursor_data() to th
e
API
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr
T
e
sari
k
Mark file
_
acc
e
ss_init a
s
internal
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
s
a
rik
cleanup: rewrite remap
h
e
lp
e
r
s
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
M
e
rge f
i
xup
.
h wit
h
access
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tesarik
clea
n
up: Kill hed_file_re
a
d
_
begin
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Rewrite the SIGBUS h
a
nd
l
er
commit
|
commitdiff
|
tree
2012-09-21
Petr
Tes
a
rik
cache: initialize hed_
b
lock_
d
a
ta's d
a
ta
to
N
ULL if
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesarik
Clear
t
he mod
i
fied flag
a
fter a successful
file_com
m
it(
)
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesa
r
ik
s
w
ap
.
h: repl
a
ce trivia
l
ma
c
ros
with trivial i
n
lin
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr Te
s
arik
R
emove main
.
c depende
n
cy o
n
li
b
hed configur
a
tion
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesar
i
k
Remove
off_t from the public
l
ibhed AP
I
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Define feature
t
e
st macros in
t
he
a
pprop
r
iate C files
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesa
r
ik
S
eparate
o
ut libhed co
n
fi
g
urati
o
n from the main config
.
h
commit
|
commitdiff
|
tree
2012-09-20
P
e
t
r
Tesarik
Make
hed_expr_len and hed_expr_flags
i
nline
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesari
k
R
em
o
ve t
y
p
e def
i
ne
s
from tree
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esarik
Remove type
d
efi
n
es from expr
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Document p
u
blic and private
l
ibhed header fi
l
es
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
R
ename file_data -> bloc
k
_
data
commit
|
commitdiff
|
tree
2012-09-20
Petr T
e
sarik
Renam
e
hed_file_cac
h
e -> hed_cach
e
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr T
e
sarik
Avo
i
d linker nam
e
s
pa
c
e pol
l
ution
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Move private
.
h declar
a
t
i
ons to file
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
Ma
k
e splay/unsplay static
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Put expres
s
ion
-
related types to expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
Sanitize
l
ibhed
/
expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Rename eval
.
[ch] ->
expr
.
[
c
h]
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
S
ani
t
ize the fi
l
e API
commit
|
commitdiff
|
tree
2012-09-19
P
e
t
r Tesarik
Sa
n
i
t
i
ze hed_b
l
o
c
k in
t
erfac
e
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesar
i
k
NULL_CURSOR -
>
HED_NU
L
L_CURSO
R
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r Te
s
arik
Sanitize
hed_blo
c
k fl
a
g
s
commit
|
commitdiff
|
tree
2012-09-19
Petr Te
s
arik
Rename h
e
d_blockoff_
t
-
>
hed_curs
o
r
_t
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesari
k
Sa
n
itize
t
ype name
s
in
p
ublic headers
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
Tesarik
cleanup: adjust names of ma
c
ros guarding d
o
uble inc
l
usion
commit
|
commitdiff
|
tree
2012-09-19
Petr Tes
a
r
i
k
Merg
e
branch 'clean
u
ps' in
t
o
li
b
hed
commit
|
commitdiff
|
tree
2012-09-19
Petr
Tesarik
Remove
s
wap
.
h from
the p
u
blic inter
f
ace
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sar
i
k
Move (most) public ty
p
es t
o
libh
e
d/types
.
h
commit
|
commitdiff
|
tree
2012-09-19
Petr
T
esa
r
ik
Move file_put_bloc
k
off
t
o file
.
c
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r
Tesarik
Separate ou
t
l
i
bh
e
d fi
l
es
commit
|
commitdiff
|
tree
2012-09-18
Pet
r
Tesarik
Remove file/fi
x
up
.
h f
r
o
m
the public interface
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Re
m
ove file/acces
.
h from the pub
l
ic interface
commit
|
commitdiff
|
tree
2012-09-18
Petr T
e
sar
i
k
Move gl
o
bal initializat
i
on
to file_
i
nit()
commit
|
commitdiff
|
tree
2012-09-18
Petr
Tesarik
Rename file methods to f
r
ee up the "fil
e
_init"
name
commit
|
commitdiff
|
tree
2012-09-18
Petr T
e
sarik
Provide correct fixup
s
tubs
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Re
m
o
ve
last dependency on FILE_BLOCK_S
I
ZE
f
r
om
f
ileshow
.
c
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Ki
l
l fil
e
_pos_valid
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesar
i
k
Move private def
i
nitions from file/file
.
h
t
o
fi
l
e/priv
a
te
.
h
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Add b
l
ock_i
s
_after_insert
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesa
r
ik
cle
a
nup: consolidate ch2mark an
d
ch2r
e
g
commit
|
commitdiff
|
tree
2012-09-14
Petr
T
e
sa
r
ik
cleanup: simplif
y
i
s
_inside_visual
commit
|
commitdiff
|
tree
2012-09-13
Pet
r
Tesarik
Mer
g
e branch 'master' of git+ssh
:
//repo
.
or
.
cz/srv/git/hed
commit
|
commitdiff
|
tree
2012-09-12
Petr
T
e
s
arik
Mar
k
v
isual b
l
o
cks with
r
everse video
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesarik
clea
n
up: determine th
e
he
x
v
iew color
o
nly once
commit
|
commitdiff
|
tree
2012-09-12
Petr
T
e
sarik
set initi
a
l idmark to space if the ma
r
k goes
t
o th
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-12
P
e
tr Tesarik
cleanup: main
loo
p
in fil
e
sho
w
_re
d
raw
commit
|
commitdiff
|
tree
2011-10-04
Pet
r
Tesarik
mm
a
p swp_setsiz
e
:
return success for no swap f
i
l
e
commit
|
commitdiff
|
tree
2011-10-04
Petr
T
esarik
file_swp_init: avoid double
free of the swap filename
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesarik
Fix segmentation fault if
fil
e
_init(
)
f
a
il
s
commit
|
commitdiff
|
tree
2011-09-29
P
etr Tesarik
c
l
ean
u
p: Chan
g
e o
w
n
e
rship of file_cache object
commit
|
commitdiff
|
tree
2011-09-29
Petr T
e
sarik
Use u
n
signed
a
rithmetic for
pos_column()
commit
|
commitdiff
|
tree
2011-09-29
Petr
T
esari
k
Provide a functio
n
to compute the column of a file
.
.
.
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use bi
t
shift
s
for S
W
P_MAP
E
XTENT wh
e
re possible
commit
|
commitdiff
|
tree
2011-09-29
Pe
t
r Tesarik
Use unsigne
d
ty
p
es for page size an
d
s
h
ift
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Fix
getting sw
a
p f
i
le
s
ize on
read
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
U
s
e FILE_BLOCK_SH
I
FT
a
nd SWAP_BL
O
CK_SHIFT
where
p
ossible
commit
|
commitdiff
|
tree
2011-09-29
Petr
T
esarik
Pro
v
ide FI
L
E_BLOCK_S
H
IFT
and SWA
P
_BLOCK_S
H
IFT
commit
|
commitdiff
|
tree
2011-09-29
Petr T
e
sar
i
k
numb
e
rs
.
h: Add
m
issin
g
include <stdint
.
h>
commit
|
commitdiff
|
tree
2011-09-27
Petr Tes
a
rik
F
i
x
swap bl
o
ck si
z
e ha
n
dling
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
c
lean
u
p: Get swap fil
e
size with lseek
(
) instead
of
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r
Tesarik
optim
i
ze:
C
h
a
n
ge t
h
e list_emp
t
y
() con
d
ition
in s
w
p_bfree
commit
|
commitdiff
|
tree
2011-09-27
Petr Te
s
arik
c
l
eanup: Do not mar
k
swp_freemappin
g
as
i
n
line
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tesarik
cleanup: Call
s
wp_done instea
d
of swp_close i
f
init
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: Kill struct swp_fi
l
e flags
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r Tesarik
swap: handle failed swp_page_alloc in rea
d
_
h
eader
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesarik
cleanup:
(
s
wp_split)
Chan
g
e
s
p
l
it
p
oint ty
p
e
t
o
unsigned int
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tesarik
Try
t
o real
l
oca
t
e all size
s
,
not just >= FILE_BLOCK_SIZE/
4
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesarik
cleanup: Remove first
p
arameter of
swp_split
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesa
r
ik
swap: make th
e
allocation s
e
a
r
ch
more flexible
commit
|
commitdiff
|
tree
2011-09-27
P
e
t
r Tesarik
swa
p
: Chunk c
o
mbining
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
swap
:
Keep the
f
ree list sorted by off
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
e
s
arik
Store s
w
p_all
o
cs in a d
o
ubly-l
i
nked list
commit
|
commitdiff
|
tree
2011-09-27
P
e
t
r Tesarik
cleanup:
Kil
l
s
w
p
_bfind
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
swp_find_alloc
:
initializ
e
o
f
f to 0 to silence a warni
n
g
commit
|
commitdiff
|
tree
2011-09-27
Petr Te
s
arik
swp_al
l
o
c: Remov
e
t
he block f
i
e
ld
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesa
r
i
k
swa
p
:
Chang
e
th
e
indenting in swp
_
dump
t
o
m
a
ke
out
p
ut
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesarik
swa
p
: Maintain p
e
r-block free lis
t
s
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap
_
alloc: Store
b
l
o
ck
of
f
set instead of full pointer
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap: store swp_alloc s
i
z
e
in an unsigned
i
nt
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap: Mainta
i
n per-bl
o
c
k alloc
lists
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r Tesar
i
k
Fix
e
r
a
s
e
in
s
ide vir
t
ual blocks
commit
|
commitdiff
|
tree
2011-09-26
Petr Te
s
ar
i
k
Move size alignme
n
t to swp_split
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr Tesarik
swp_shrink:
Try
to r
e
a
llocate big chunks
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr Tesarik
Sep
a
r
at
e
out
the workhorse
s
from swp_mall
o
c and swp_free
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Fix warning ab
o
ut ignorin
g
re
t
urn
v
alue of rea
l
l
o
c
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr Tesarik
Do no
t
mark mmap version
o
f
s
etsize
and page_alloc
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Rename the current swap
file to the norma
l
swap
f
ile
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Check onl
y
s
ize and mti
m
e on r
e
ad_swap
commit
|
commitdiff
|
tree
2011-09-26
P
e
t
r
T
e
s
arik
Add CONF
I
G_SWAP_
M
MAP
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
es
a
rik
swap: Provide swp_page
_
{read,wri
t
e}
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
esarik
fix swp_isr
e
adonly
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
sw
a
p
: s
e
t
s
ize after ope
n
commit
|
commitdiff
|
tree
next