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
Petr Tesari
k
Make
h
e
d
_
expr
_
le
n
a
n
d h
e
d
_
expr_
f
lags inline
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesar
i
k
Remove ty
p
e
defines from tree
.
c
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Te
s
ari
k
Re
m
ove typ
e
defin
e
s from e
x
p
r
.
c
commit
|
commitdiff
|
tree
2012-09-20
P
etr
T
esari
k
Do
c
ument public
a
nd private
libhed h
e
ader
f
iles
commit
|
commitdiff
|
tree
2012-09-20
P
e
t
r
T
e
s
arik
Ren
a
me file_data -> block_d
a
ta
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Rename hed_fil
e
_ca
c
he ->
h
ed_cac
h
e
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Avoi
d
l
inker nam
e
s
pace po
l
lution
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesarik
Move
p
riva
t
e
.
h declar
a
tions
to file
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
esarik
Make
splay/un
s
play static
commit
|
commitdiff
|
tree
2012-09-20
Petr
T
e
s
a
r
i
k
Put expression-relate
d
types t
o
expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesarik
Sanit
i
z
e
libhe
d
/
e
x
pr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Tesarik
Rename eval
.
[
ch] -> expr
.
[
c
h]
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
Sani
t
ize
the file API
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Sanitize h
e
d_
b
lock i
n
t
e
rface
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r
T
esarik
NULL_
C
URSOR -> H
E
D
_NULL_CURS
O
R
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Sanitize
h
e
d_block flags
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Rename hed
_
blockoff
_
t -> hed_cursor_t
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Sanitize t
y
pe
nam
e
s
i
n public heade
r
s
commit
|
commitdiff
|
tree
2012-09-19
Petr
T
esari
k
clea
n
u
p
: adjust nam
e
s
of macros
guarding double inclusio
n
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
Merge branch '
c
leanups'
into
l
ibhed
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
Tesarik
Remove swap
.
h
from
t
h
e
public inter
f
ace
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sarik
Move (most) publ
i
c
types to libh
e
d/typ
e
s
.
h
commit
|
commitdiff
|
tree
2012-09-19
P
etr Tesa
r
ik
M
o
ve file_put_blockoff
to fi
l
e
.
c
commit
|
commitdiff
|
tree
2012-09-19
P
etr Tesarik
Separate out
l
i
bhed
f
iles
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesa
r
i
k
Remov
e
file/fixup
.
h from the pu
b
lic interface
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesa
r
ik
Re
m
ove file/acces
.
h
f
r
o
m t
h
e pub
l
ic interface
commit
|
commitdiff
|
tree
2012-09-18
Petr
T
esarik
Move global initi
a
lization to
f
ile
_
in
i
t()
commit
|
commitdiff
|
tree
2012-09-18
Petr Tes
a
r
ik
Ren
a
me fil
e
me
t
hods
to free up th
e
"file_in
i
t
"
name
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
P
r
ovi
d
e co
r
r
e
ct fixup st
u
b
s
commit
|
commitdiff
|
tree
2012-09-18
Petr T
e
sar
i
k
Re
m
o
ve last d
e
p
e
n
dency on FILE_B
L
OC
K
_SIZE fr
o
m file
s
h
ow
.
c
commit
|
commitdiff
|
tree
2012-09-18
P
e
tr Tesarik
Kill file_pos_
v
alid
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Move private defini
t
ions f
r
om fi
l
e/f
i
le
.
h to fi
l
e
/
private
.
h
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Add block_is_after_insert
commit
|
commitdiff
|
tree
2012-09-18
P
e
tr Tesarik
cleanup: consolida
t
e ch2mark and
c
h
2
reg
commit
|
commitdiff
|
tree
2012-09-14
Petr Tesari
k
cl
e
anup: simplify i
s
_
inside_visual
commit
|
commitdiff
|
tree
2012-09-13
P
etr Te
s
arik
M
erg
e
bran
c
h 'm
a
ster'
of git+ss
h
://repo
.
or
.
cz/srv/g
i
t/hed
commit
|
commitdiff
|
tree
2012-09-12
P
e
tr T
e
s
arik
Mark
visual bloc
k
s wit
h
r
e
v
erse video
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesarik
cl
e
anup
:
determine th
e
hexview color
o
n
ly once
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesarik
set initial idmark to space if
the mar
k
goes to the
.
.
.
commit
|
commitdiff
|
tree
2012-09-12
Pet
r
Tesar
i
k
cleanup:
m
ain loop in fileshow_redraw
commit
|
commitdiff
|
tree
2011-10-04
P
e
tr Te
s
ar
i
k
mmap
s
wp_setsize
:
ret
u
rn succe
s
s for no sw
a
p file
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesarik
file
_
sw
p
_
i
n
it: avoid
double free of the
s
wap filename
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesa
r
ik
Fix s
e
gmentation fault
if file_in
i
t
(
) fails
commit
|
commitdiff
|
tree
2011-09-29
Pe
t
r Tesarik
cleanup: Cha
n
ge
ownership of file_cache object
commit
|
commitdiff
|
tree
2011-09-29
P
e
t
r Tesarik
Use uns
i
gned ar
i
t
h
met
i
c for po
s
_column
(
)
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Provide a function to compute
the col
u
m
n of a file
.
.
.
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesar
i
k
Use b
i
t shifts f
o
r SWP
_
MAPEXTEN
T
wher
e
p
o
ssible
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use unsi
g
ned types for
page siz
e
and shi
f
t
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesar
i
k
F
i
x
getting
s
wap file size
o
n rea
d
commit
|
commitdiff
|
tree
2011-09-29
Petr T
e
sarik
U
se
F
ILE_BLOCK_
S
HIFT and SWAP_BLO
C
K_SHIFT w
h
ere p
o
s
s
i
b
le
commit
|
commitdiff
|
tree
2011-09-29
Pe
t
r
Tesarik
Provide FILE_BL
O
CK_SHIFT and S
W
AP_B
L
OCK_SHIFT
commit
|
commitdiff
|
tree
2011-09-29
Pet
r
Tesarik
numbe
r
s
.
h
: Add missing
in
c
lude <stdint
.
h>
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
e
s
arik
F
i
x swap block size handling
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesarik
cleanu
p
:
G
et swap fi
l
e size with lseek() inste
a
d of
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
es
a
rik
opt
i
mize
:
Change
t
h
e li
s
t_empty() condit
i
on
i
n
sw
p
_bfre
e
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tesarik
cleanup: Do not mark swp_
f
reemapping
a
s i
n
lin
e
commit
|
commitdiff
|
tree
2011-09-27
Petr
Tesari
k
c
leanup: Call swp
_
d
o
n
e
inste
a
d
of swp_close if init
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
esarik
clea
n
u
p: K
i
ll str
u
ct swp_file f
l
ags
commit
|
commitdiff
|
tree
2011-09-27
P
etr Tesarik
swap:
h
and
l
e failed swp_page_alloc in read_header
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: (sw
p
_split
)
C
h
a
n
ge split point ty
p
e
to unsigned int
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
T
ry to reallo
c
ate all sizes, not
j
u
s
t >= FILE_B
L
OCK_SIZE/4
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
c
leanup: Remov
e
fir
s
t parameter of sw
p
_s
p
lit
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
e
sarik
swap:
m
a
ke the alloc
a
tion searc
h
mo
r
e flexible
commit
|
commitdiff
|
tree
2011-09-27
Petr T
e
sarik
swap: Ch
u
nk combining
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesari
k
swap: Kee
p
t
h
e free
list sorte
d
by off
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
Tesarik
St
o
re swp_allocs i
n
a doubly-link
e
d list
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cle
a
nup: Kill swp_bfind
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
s
wp_find_a
l
loc: initialize
off to
0 t
o
silence a w
a
rning
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
s
wp_alloc: Remove
t
h
e
b
lo
c
k field
commit
|
commitdiff
|
tree
2011-09-27
Petr
Tesarik
sw
a
p:
C
hange the indenting in
s
wp_dump to make
o
u
t
put
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap: Maintai
n
p
er-block free
l
ists
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
e
s
arik
swap_
a
llo
c
: Store block offset
i
ns
t
ead of f
u
ll pointer
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
esarik
swap:
store swp_alloc size in an unsign
e
d int
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesari
k
s
wap: Mai
n
tain per-block alloc list
s
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
Fix erase inside v
i
r
t
u
al b
l
ock
s
commit
|
commitdiff
|
tree
2011-09-26
P
e
t
r
Tesarik
Mo
v
e size align
m
e
n
t
to sw
p
_split
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesa
r
ik
s
w
p_shr
i
nk: Try to rea
l
l
o
ca
t
e
b
i
g chunk
s
commit
|
commitdiff
|
tree
2011-09-26
P
e
t
r Tesarik
Separ
a
te out th
e
wor
k
ho
r
ses
from
sw
p
_
malloc
a
nd
s
w
p_free
commit
|
commitdiff
|
tree
2011-09-26
Pe
t
r Tesar
i
k
Fix w
a
rn
i
ng about ignoring r
e
t
urn value of realloc
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
es
a
r
i
k
Do
n
ot mark
m
m
ap versio
n
of setsize and page_allo
c
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr
T
e
sarik
R
ena
m
e th
e
current swap
f
ile to th
e
nor
m
al swap file
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesari
k
Check only si
z
e
and mtime on read_
s
w
a
p
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesa
r
ik
Add CONFIG
_
SWAP_MMAP
commit
|
commitdiff
|
tree
2011-09-26
P
etr
Tesarik
swa
p
: Provide swp_page_{read,write}
commit
|
commitdiff
|
tree
2011-09-26
Petr T
e
sarik
f
i
x swp
_
isreado
n
ly
commit
|
commitdiff
|
tree
2011-09-26
P
e
t
r Tesarik
swa
p
:
set size a
f
ter open
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
swap:
a
dd
S
WP_PAGE_INVA
L
ID
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
cleanu
p
: Move re
a
dahead field in s
t
ruct
f
ile
commit
|
commitdiff
|
tree
2011-09-26
Pet
r
Tesarik
Add CON
F
I
G_SWAP
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
Mo
v
e swp
file init/
r
e
lea
s
e to separate f
u
nc
t
ions
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesarik
In
t
r
o
duce file_swp to access the s
w
p
f
ile objec
t
commit
|
commitdiff
|
tree
2011-09-26
Pe
t
r Tesari
k
prepa
r
e_modify:
Alw
a
ys create overlay block
s
commit
|
commitdiff
|
tree
2011-09-26
Pet
r
Tesarik
p
r
epare_
m
odify: Gra
b
a
ref
e
r
ence
on a reused file_data
.
.
.
commit
|
commitdiff
|
tree
2011-09-26
Petr T
e
sarik
cl
e
aunp
:
Convert visu
a
l m
a
rk to a blockoff_t
commit
|
commitdiff
|
tree
2011-09-26
Pe
t
r Tesarik
cleanup: call set_cursor(0)
f
or cmd_
f
ile_begi
n
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr Tesarik
Introduc
e
i
s
_insid
e
_visual()
commit
|
commitdiff
|
tree
2011-09-26
P
e
tr Tesarik
cleanup: Always in
c
rease eo
f
block's
size on erase
commit
|
commitdiff
|
tree
2011-09-25
Petr Tesarik
C
han
g
e
file
_
set_{b
l
ock,byt
e
s} to mov
e
the blockoff
commit
|
commitdiff
|
tree
2011-09-25
Petr Tesarik
cleanup: Kill blo
c
k_by
t
edirty and file_da
t
a
_
is_
b
yt
e
d
irty
commit
|
commitdiff
|
tree
2011-09-24
Pet
r
Tesarik
cleanup: Ki
l
l block_{set,c
l
ear}_bytedirty
commit
|
commitdiff
|
tree
next