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
cleanup: use hed_cursor_t instead of block+off pair
2012-09-25
Petr
T
e
sarik
cl
e
anup: use hed_cursor_t instead of block+off pair
commit
|
commitdiff
|
tree
2012-09-25
Petr Tesarik
cl
e
anup: mo
v
e file_r
a
_xxx macros n
e
ar the to
p
of the
.
.
.
commit
|
commitdiff
|
tree
2012-09-24
Pe
t
r Tesarik
cleanu
p
: file
_
move_rel_f
a
st -> move_rel_fast
commit
|
commitdiff
|
tree
2012-09-22
Petr Tesa
r
ik
cleanup: BLKGETSIZE
returns
u
n
s
i
gned long, n
o
t
a 32
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r
T
e
s
arik
clean
u
p: kill hed_fil
e
_next_block
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Tesarik
Mark unreadable portions of
a
file w
i
t
h a red XX
commit
|
commitdiff
|
tree
2012-09-21
Pet
r
Te
s
a
rik
Rewrite find
_
ex
p
r
w
i
thout hed_file_next_bloc
k
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
r
i
k
Merge hed_curs
o
r_chunk
_
len wit
h
h
ed_prepare_read
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Add h
e
d_cursor_c
h
u
nk_l
e
n to the AP
I
commit
|
commitdiff
|
tree
2012-09-21
P
e
tr Tesarik
Add hed_
c
ursor_spa
n
() to
t
he API
commit
|
commitdiff
|
tree
2012-09-21
Petr Tes
a
rik
Re
w
rite calls to
hed_file_fetch_b
l
ock() and kill the
.
.
.
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
A
d
d hed
_
cursor_data() to t
h
e API
commit
|
commitdiff
|
tree
2012-09-21
Pe
t
r Tesarik
Mark file_acces
s
_init as
i
ntern
a
l
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanup: rewrit
e
remap helpe
r
s
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
Merge
fixup
.
h wit
h
acces
s
.
h
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
cleanu
p
: Kill hed_file_read_begin
commit
|
commitdiff
|
tree
2012-09-21
Petr
T
e
s
a
r
ik
Rewrite
t
he SIGBUS handler
commit
|
commitdiff
|
tree
2012-09-21
Petr Tesarik
ca
c
h
e
: initialize h
e
d_block_data's data to NULL if
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
P
et
r
Tesar
i
k
Clear the modified fla
g
after a
s
uccessful file_commit()
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
r
i
k
sw
a
p
.
h
: replace
t
rivial macr
o
s
w
ith tr
i
vial inline
.
.
.
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Remo
v
e
main
.
c dependen
c
y on libhed
configur
a
tion
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr
T
esar
i
k
R
emove off
_
t
from t
h
e public
li
b
h
e
d API
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r T
e
s
a
rik
Define feature test m
a
cros in the appro
p
r
i
ate
C files
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesar
i
k
S
e
parate o
u
t libhed
configur
a
tion from
the main config
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
M
ake hed_expr_l
e
n
and hed
_
exp
r
_flags inlin
e
commit
|
commitdiff
|
tree
2012-09-20
P
e
tr Tesarik
Remove
type
d
ef
i
n
e
s from
t
ree
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr T
e
sari
k
Remove type
d
efines
from expr
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tes
a
rik
D
o
cument publi
c
and priv
a
t
e
libhed header files
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tesarik
Rena
m
e file_data
-
>
block_data
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Rename hed
_
f
ile_cache
-
> hed_c
a
c
he
commit
|
commitdiff
|
tree
2012-09-20
Pe
t
r Tes
a
rik
Avoid linker names
p
ace pollution
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Move p
r
ivate
.
h
d
e
clarations to file
.
c
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesarik
Make splay
/
unsplay static
commit
|
commitdiff
|
tree
2012-09-20
P
et
r
Tesarik
P
ut expression-relate
d
type
s
to expr
.
h
commit
|
commitdiff
|
tree
2012-09-20
Petr Tesa
r
i
k
S
a
niti
z
e libhed/ex
p
r
.
h
commit
|
commitdiff
|
tree
2012-09-20
Pet
r
Te
s
arik
Rename eval
.
[ch] -> ex
p
r
.
[ch]
commit
|
commitdiff
|
tree
2012-09-20
Petr
Tesarik
Sanit
i
ze
the file A
P
I
commit
|
commitdiff
|
tree
2012-09-19
P
e
t
r
Tesarik
Sanitize hed_block interface
commit
|
commitdiff
|
tree
2012-09-19
P
e
t
r
T
e
sarik
N
ULL_CURSOR -> HE
D
_NULL_CURSOR
commit
|
commitdiff
|
tree
2012-09-19
P
etr Te
s
arik
Sanitize he
d
_block flags
commit
|
commitdiff
|
tree
2012-09-19
Petr Tes
a
rik
Rename hed
_
b
l
o
ckoff_t
-
>
hed_
c
u
r
s
o
r_
t
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
T
esarik
San
i
tize t
y
p
e
na
m
es
i
n public he
a
d
e
rs
commit
|
commitdiff
|
tree
2012-09-19
Petr Tesarik
cle
a
n
u
p: a
d
just names of macr
o
s
guardin
g
d
ouble inc
l
usio
n
commit
|
commitdiff
|
tree
2012-09-19
Petr T
e
sarik
M
erge bran
c
h '
c
l
e
anups' into lib
h
ed
commit
|
commitdiff
|
tree
2012-09-19
Petr
Tesarik
Remove swa
p
.
h from the p
u
b
l
ic int
e
rf
a
c
e
commit
|
commitdiff
|
tree
2012-09-19
Pe
t
r
T
e
sarik
Move (most) public types to
libhed/types
.
h
commit
|
commitdiff
|
tree
2012-09-19
Pet
r
Tes
a
r
ik
Move file_
p
ut_bl
o
ckoff to file
.
c
commit
|
commitdiff
|
tree
2012-09-19
Petr
Te
s
a
rik
Separate
out lib
h
ed files
commit
|
commitdiff
|
tree
2012-09-18
P
e
tr Tes
a
rik
Remove file/fixup
.
h from the publ
i
c interface
commit
|
commitdiff
|
tree
2012-09-18
Petr Te
s
ari
k
R
e
move
f
ile/acc
e
s
.
h fro
m
the publi
c
int
e
r
f
ace
commit
|
commitdiff
|
tree
2012-09-18
P
e
tr
Tesarik
Move
g
lo
b
al initialization to file_init()
commit
|
commitdiff
|
tree
2012-09-18
Petr T
e
sari
k
Rename file methods to free up t
h
e "file_ini
t
" n
a
m
e
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
Provide corre
c
t fixup stubs
commit
|
commitdiff
|
tree
2012-09-18
Petr
T
esarik
Remove
l
ast de
p
enden
c
y on FILE_B
L
OCK_SIZE from
fileshow
.
c
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesari
k
Kill file_pos_valid
commit
|
commitdiff
|
tree
2012-09-18
Petr
T
e
sarik
Move private definitions
f
rom file/
f
ile
.
h to file/p
r
i
vate
.
h
commit
|
commitdiff
|
tree
2012-09-18
P
et
r
Tesarik
Add b
l
ock_is_
a
fte
r
_insert
commit
|
commitdiff
|
tree
2012-09-18
Petr Tesarik
cl
e
anu
p
: consolidate ch2
m
a
rk and ch
2
reg
commit
|
commitdiff
|
tree
2012-09-14
P
etr
Tes
a
rik
cleanu
p
:
s
impl
i
fy is_ins
i
de_visual
commit
|
commitdiff
|
tree
2012-09-13
Petr Tesarik
Merge branc
h
'maste
r
' of g
i
t+ssh://
r
epo
.
or
.
cz/srv/git/hed
commit
|
commitdiff
|
tree
2012-09-12
P
e
tr Tes
a
rik
Mark
visual
b
locks with re
v
erse video
commit
|
commitdiff
|
tree
2012-09-12
P
e
tr
Tes
a
rik
clea
n
up: determi
n
e t
h
e
hexvie
w
color onl
y
once
commit
|
commitdiff
|
tree
2012-09-12
Petr
Tesa
r
ik
set initial idmark
t
o
s
p
a
c
e if
th
e
m
a
rk go
e
s
to t
h
e
.
.
.
commit
|
commitdiff
|
tree
2012-09-12
Petr Tesarik
cleanup: ma
i
n loop
i
n
fi
l
e
s
ho
w
_redraw
commit
|
commitdiff
|
tree
2011-10-04
Petr Tesarik
mmap swp_
s
etsi
z
e
:
return success for
no swap fi
l
e
commit
|
commitdiff
|
tree
2011-10-04
Petr Te
s
arik
file_s
w
p_init: avo
i
d double free of th
e
s
wa
p
f
ilename
commit
|
commitdiff
|
tree
2011-10-04
Petr
T
e
sarik
Fix segmentation
fault if file_init
(
) fails
commit
|
commitdiff
|
tree
2011-09-29
Petr T
e
s
a
rik
c
l
eanup
:
C
h
ange ow
n
ership of
f
i
le_cache
o
bj
e
ct
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use unsigned arithmetic for pos_column()
commit
|
commitdiff
|
tree
2011-09-29
Petr
T
esar
i
k
Provide a
f
unction to com
p
u
t
e the column of a f
i
le
.
.
.
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Us
e
bit shifts
f
or SWP_MAPEXTE
N
T
where possible
commit
|
commitdiff
|
tree
2011-09-29
Petr Te
s
a
r
i
k
U
se unsi
g
n
e
d types fo
r
pa
g
e s
i
ze and shi
f
t
commit
|
commitdiff
|
tree
2011-09-29
Pe
t
r Tesarik
Fix
getting
s
w
ap file
s
ize
on read
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
Use
F
ILE_BL
O
CK_SHIFT and SWAP_BLOCK_SHI
F
T whe
r
e
p
ossibl
e
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
P
rovide FILE_B
L
OCK_SHIF
T
and
SWAP_BLOCK
_
SHIFT
commit
|
commitdiff
|
tree
2011-09-29
Petr Tesarik
nu
m
b
e
rs
.
h: Add mis
s
in
g
includ
e
<
stdint
.
h>
commit
|
commitdiff
|
tree
2011-09-27
P
e
t
r Tesarik
Fix swap block size
handling
commit
|
commitdiff
|
tree
2011-09-27
Petr T
e
sarik
cle
a
nup: Get swap fi
l
e size with lseek
(
) instead
of
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tes
a
r
i
k
optimi
z
e: Change the
li
s
t
_
empty() condition
i
n swp_bfre
e
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup:
D
o not mar
k
s
w
p_freemapping a
s
inline
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup
:
Call swp_done instead of swp_close if i
n
it
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Pet
r
T
e
sa
r
ik
c
l
eanup:
K
il
l
struct swp_fi
l
e
f
lags
commit
|
commitdiff
|
tree
2011-09-27
Petr
Tesarik
swap: ha
n
dl
e
faile
d
swp_page_a
l
loc
i
n read_header
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: (swp_split)
Change split poi
n
t type to
u
nsign
e
d int
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesar
i
k
Try to real
l
oc
a
te all
s
i
z
es
,
not just >= FILE_BLOCK_SIZE/4
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
cleanup: Remove first parameter of swp_s
p
lit
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tesarik
swap: ma
k
e the allo
c
ation sea
r
ch
mor
e
fl
e
x
i
bl
e
commit
|
commitdiff
|
tree
2011-09-27
P
etr Tes
a
rik
swap:
Chunk combining
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
s
wap: Keep the
f
r
ee list sorted b
y
off
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
e
s
ar
i
k
Store swp_allocs in
a doubly
-
li
n
k
ed
l
ist
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tesari
k
c
lean
u
p:
K
ill s
w
p_bfind
commit
|
commitdiff
|
tree
2011-09-27
Pe
t
r Tesarik
swp_
f
ind_all
o
c: initiali
z
e off
to
0
to sil
e
nce
a
warn
i
n
g
commit
|
commitdiff
|
tree
2011-09-27
Petr
T
e
s
a
rik
sw
p
_
a
ll
o
c
:
Remove the block field
commit
|
commitdiff
|
tree
2011-09-27
P
e
tr Tesarik
swap: Cha
n
ge
t
he indent
i
ng in swp_dump to make output
.
.
.
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
s
wap: Maint
a
in
per-block free lists
commit
|
commitdiff
|
tree
2011-09-27
Petr Tes
a
rik
swap_
a
lloc: Sto
r
e bl
o
c
k offset
i
nst
e
ad of full pointer
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesarik
swap: store swp_alloc size in
an unsig
n
ed int
commit
|
commitdiff
|
tree
2011-09-27
Petr Te
s
arik
swa
p
: Maintain
per-block al
l
oc lists
commit
|
commitdiff
|
tree
2011-09-27
Petr Tesa
r
ik
Fix era
s
e inside virtual blocks
commit
|
commitdiff
|
tree
2011-09-26
Petr Tesari
k
Move size alignment to swp_
s
plit
commit
|
commitdiff
|
tree
next