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
Add hed_cursor_span() to the API
2012-09-21
Petr Tesa
r
ik
Add hed_cursor
_
spa
n
()
to the API
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
esarik
Rewrite call
s
to hed_file_fetch_block() and
k
ill the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tesarik
A
dd
hed_cursor_data() t
o
t
h
e API
commit
|
commitdiff
|
tree
2012-09-21
P
etr Tes
a
ri
k
Mar
k
file_access_init as internal
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesarik
cleanup: r
e
write rema
p
h
elpers
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesar
i
k
Merg
e
f
i
x
up
.
h
with ac
c
ess
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr T
e
sa
r
ik
cleanup: Kill hed_file_read_begin
commit
|
commitdiff
|
tree
2012-09-21
P
etr
T
es
a
rik
Rewri
t
e the SIGBUS handler
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr Tesarik
c
a
che:
initializ
e
hed_block_dat
a
's data t
o
NULL if
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Tesarik
Clear t
h
e
modified flag aft
e
r a successf
u
l file_commit()
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
s
w
a
p
.
h: replace
tr
i
vial macros
with trivial inline
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesarik
Remove main
.
c dependency on libhed c
o
nfiguration
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Remove
o
f
f_t
f
rom th
e
public libhed API
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r
T
esarik
Defin
e
f
e
ature test ma
c
r
o
s in
t
he
ap
p
rop
r
iate C files
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
S
e
parate o
u
t libh
e
d
c
onfiguration fro
m
the ma
i
n config
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Te
s
arik
Make hed_expr_len and h
e
d_expr_flags inline
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
T
esarik
Remov
e
type define
s
from tree
.
c
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesa
r
ik
Remove type defines from expr
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esa
r
ik
Docu
m
ent public an
d
pr
i
vate libhed header f
i
les
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
R
e
name file_data -> bl
o
ck_data
commit
|
commitdiff
|
tree
2012-09-20
Petr Te
s
ari
k
Rename hed_f
i
le_cache -> hed_cache
commit
|
commitdiff
|
tree
2012-09-20
P
etr Tesari
k
Avoid linker namespace
po
l
lutio
n
commit
|
commitdiff
|
tree
2012-09-20
P
etr
Tesarik
Move private
.
h declarati
o
n
s to file
.
c
commit
|
commitdiff
|
tree
2012-09-20
P
etr Tesar
i
k
Make splay/un
s
play static
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Tesarik
Put exp
r
e
s
sion-re
l
ated types to expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
P
etr T
e
sarik
Sanitiz
e
libhed/exp
r
.
h
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesari
k
Rename eval
.
[ch] ->
expr
.
[
ch]
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Sanitize the
f
ile API
commit
|
commitdiff
|
tree
2012-09-19
P
e
tr Tesarik
S
a
nitize hed_block
i
n
terface
commit
|
commitdiff
|
tree
2012-09-19
Petr Te
s
arik
NU
L
L_CURSOR
-> HED_NULL_CU
R
SOR
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Sanit
i
z
e hed_blo
c
k fl
a
gs
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
R
e
n
a
me hed_blockoff_t -> h
e
d_cursor_t
commit
|
commitdiff
|
tree
2012-09-19
P
e
tr T
e
sarik
S
anitize type names in
publi
c
h
eader
s
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r Tesarik
clea
n
u
p
: adjust
n
ames
o
f
ma
c
r
os guarding doubl
e
inclusion
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Merge
b
ra
n
ch 'cleanups' into
l
ibhe
d
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Remove swap
.
h from
the public in
t
e
r
face
commit
|
commitdiff
|
tree
2012-09-19
Petr
T
e
sarik
M
o
ve (most) public types to libhed/
t
ypes
.
h
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesar
i
k
Move
file_put_bl
o
ckoff to file
.
c
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
T
e
sarik
Separate out libhed files
commit
|
commitdiff
|
tree
2012-09-18
Petr
T
e
sarik
Re
m
ove f
i
l
e/fixup
.
h from the
p
ublic interface
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesa
r
ik
Remov
e
file/
a
cce
s
.
h from th
e
publ
i
c
i
n
terface
commit
|
commitdiff
|
tree
2012-09-18
P
e
tr Tesarik
M
o
v
e global initializati
o
n to file_
i
nit(
)
commit
|
commitdiff
|
tree
2012-09-18
P
e
t
r
Te
s
arik
Rename file methods to fre
e
u
p t
h
e "file
_
init
"
name
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Provid
e
cor
r
ect fixup stub
s
commit
|
commitdiff
|
tree
2012-09-18
P
etr Tesarik
Remove last d
e
pende
n
cy on FILE_BLOCK_SIZ
E
from fileshow
.
c
commit
|
commitdiff
|
tree
2012-09-18
Petr Tes
a
rik
Kill fil
e
_pos_valid
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Mov
e
pri
v
ate
d
e
f
initions from file/file
.
h to
f
ile/private
.
h
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Add block_is_after_
i
n
sert
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesar
i
k
c
l
eanup: cons
o
lidate c
h
2mark and ch2re
g
commit
|
commitdiff
|
tree
2012-09-14
Petr Tes
a
rik
cleanup: simplify i
s
_inside_vis
u
al
commit
|
commitdiff
|
tree
2012-09-13
Petr Tesarik
M
e
r
g
e branc
h
'mas
t
er' of git+ssh://repo
.
or
.
cz
/
sr
v
/git/hed
commit
|
commitdiff
|
tree
2012-09-12
P
etr Tesar
i
k
Mark visu
a
l blocks
w
ith rever
s
e
video
commit
|
commitdiff
|
tree
2012-09-12
Pe
t
r
T
esa
r
ik
cleanup: determine the hexvie
w
color only o
n
ce
commit
|
commitdiff
|
tree
2012-09-12
Pet
r
Tesarik
set in
i
tial i
d
mark to
space
if the mark g
o
e
s
t
o the
.
.
.
commit
|
commitdiff
|
tree
2012-09-12
Pe
t
r Tesarik
cleanup: main loop
i
n fileshow_re
d
r
a
w
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesar
i
k
mm
a
p
s
w
p_set
s
ize: ret
u
rn s
u
ccess for no
swap f
i
le
commit
|
commitdiff
|
tree
2011-10-04
Pet
r
Tesarik
f
ile_swp_init:
avoid double free of th
e
s
wap
f
ilename
commit
|
commitdiff
|
tree
2011-10-04
P
e
tr Tes
a
r
ik
F
ix segmentation
fault if file_init() fails
commit
|
commitdiff
|
tree
2011-09-29
Petr Tes
a
ri
k
c
leanup: Chang
e
ownership of file_ca
c
he object
commit
|
commitdiff
|
tree
2011-09-29
Pe
t
r Tesarik
Use unsigned arithmetic
f
or pos_column()
commit
|
commitdiff
|
tree
2011-09-29
Petr Te
s
arik
Provide
a
funct
i
on to compute the co
l
u
m
n o
f
a fi
l
e
.
.
.
commit
|
commitdiff
|
tree
2011-09-29
Pet
r
Tesarik
Use
bit shifts
f
o
r SW
P
_MAPEXT
E
NT where possibl
e
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use unsi
g
n
e
d
t
y
pes for
page
size and shif
t
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesari
k
Fix getting swap fil
e
size
o
n
r
ea
d
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use
F
ILE_
B
LOCK
_
SHIFT and S
W
AP_B
L
OCK_SHIFT where poss
i
ble
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesa
r
ik
P
r
o
vide
FILE
_
BLO
C
K_SHIF
T
and
S
WAP_BLOCK_SHIFT
commit
|
commitdiff
|
tree
2011-09-29
Petr
Tesarik
numbers
.
h: Add missing inclu
d
e <
s
tdint
.
h>
commit
|
commitdiff
|
tree
2011-09-27
Petr Tes
a
ri
k
Fix swap block siz
e
handling
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: Get swap fil
e
s
i
ze wit
h
lseek() instead
o
f
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r
T
esarik
optimize: Chang
e
th
e
l
i
s
t
_empty()
condition
in
swp_
b
free
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesa
r
ik
c
leanup
:
Do not ma
r
k swp_fre
e
m
a
pping as inline
commit
|
commitdiff
|
tree
2011-09-27
P
e
t
r Tesarik
cleanup: C
a
ll
s
wp_done instea
d
of swp_close if init
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Te
s
ar
i
k
cleanup:
K
ill
s
truct swp_file flags
commit
|
commitdiff
|
tree
2011-09-27
P
e
t
r
Tesar
i
k
sw
a
p: handle failed s
w
p_page_alloc in read_header
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r
Tesa
r
i
k
c
lea
n
up: (swp_spl
i
t)
C
hange split poi
n
t type
to unsi
g
ned
in
t
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
Try to reallocate all sizes,
n
o
t just
>
= FILE_B
L
O
C
K_SIZE/4
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
cleanup: Remove fi
r
st parameter of swp_s
p
lit
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesa
r
ik
swap: make
t
h
e
allocation search more flexible
commit
|
commitdiff
|
tree
2011-09-27
Petr
Tes
a
rik
swap:
Chunk c
o
mbining
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesa
r
ik
swap:
Keep the free list sor
t
ed
b
y
off
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
Store
s
wp_allocs in a do
u
b
ly-linked list
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesa
r
ik
cl
e
anup: Kill swp_b
f
ind
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
sw
p
_
f
ind_alloc: initialize off t
o
0 to si
l
ence a w
a
rning
commit
|
commitdiff
|
tree
2011-09-27
Petr Tes
a
ri
k
swp_alloc: Remove
th
e
block field
commit
|
commitdiff
|
tree
2011-09-27
P
etr Tesa
r
ik
sw
a
p: Chang
e
the
i
n
denting in swp_dump to m
a
ke ou
t
put
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr
Tesari
k
swap: Maintain per-block
f
re
e
lists
commit
|
commitdiff
|
tree
2011-09-27
Petr T
e
sarik
swap_alloc: Stor
e
block offset instead
o
f full
p
oin
t
er
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap:
s
tore swp_alloc size i
n
an
unsig
n
ed int
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesarik
s
w
ap:
M
aintain p
e
r-block alloc
l
i
sts
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesari
k
F
i
x
er
a
se insid
e
virtual bl
o
cks
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Move size al
i
gnme
n
t
to swp_spl
i
t
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
s
wp_shrink: Try
t
o
r
ealloca
t
e
big chunks
commit
|
commitdiff
|
tree
2011-09-26
Petr Tes
a
rik
S
e
p
arate out the w
o
rkhorses f
r
o
m sw
p
_malloc and swp
_
free
commit
|
commitdiff
|
tree
2011-09-26
P
etr Tesa
r
ik
Fix warnin
g
about
i
gnoring return
v
alue of realloc
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Do not mar
k
mmap ve
r
s
i
o
n of
setsize and pa
g
e
_
al
l
oc
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
P
etr Tesarik
Rename the
c
u
rrent swap file
t
o the
normal sw
a
p file
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr Tes
a
rik
Check only
size a
n
d mtime on read_swa
p
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr T
e
sarik
Add
C
O
N
FIG_
S
W
AP_
M
MAP
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
swa
p
: Pr
o
vide swp_p
a
ge_{read,
w
rite}
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
fix
s
wp_isreadonly
commit
|
commitdiff
|
tree
next