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
optimize hed_file_commit: Kill commit_current()
2012-11-02
Petr
Tesarik
o
p
t
imize hed_file_c
o
mmit: Kil
l
c
o
mmit_curr
e
n
t
()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
Rewrite h
e
d_file_commit()
commit
|
commitdiff
|
tree
2012-10-24
P
e
t
r Tesarik
op
t
i
m
i
ze: tak
e
call to is_al
l
zero() ou
t
s
i
de the search
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr Tesarik
c
leanu
p
: ren
a
me hed_block_i
s
_inne
r
_virtu
a
l
-> block_is_l
o
adable
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
cle
a
nup:
r
ewrite r
e
place_chunk using split
_
b
l
ock
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tes
a
rik
optimize:
u
se EOF f
l
ag instead of comparing phys p
o
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix S
E
GV in searches over virtual block
s
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesa
r
ik
R
e
p
o
r
t BAD an
d
EOF flags i
n
dump_blocks(
)
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
esarik
S
e
t
EOF flag correctly f
o
r newly modifi
e
d blocks
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Ignore HE
D
_BLO
C
K_EO
F
in data searches
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
Se
t
cor
r
ect
EOF flag for i
n
sert
e
d blocks
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
Fix block me
r
ging
i
n k
i
ll_block()
commit
|
commitdiff
|
tree
2012-10-22
Petr Te
s
arik
Rewrite kill_block_if_empty usin
g
kill
_
bl
o
ck
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r
Tesar
i
k
Remov
e
re
c
u
rsion from kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
T
e
sarik
cle
a
nup: r
e
na
m
e file
_
kil
l
_b
l
ock -> kill_block
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
esarik
R
e
write fi
l
e_kill_bloc
k
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
Update HED_BLOCK_ALLOCMASK and H
E
D_BL
O
C
K
_STATEMAS
K
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Differentiate EOF block
s
and the
t
ermina
l
block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix
f
ile
c
omm
i
t when the file s
i
ze
gr
o
ws
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesa
r
ik
expr
.
c: fix compilation without -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesar
i
k
Simplify b
l
ock
shi
f
t calculation
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesar
i
k
cleanup: open-code move_t
o
_
n
ext
(
)
commit
|
commitdiff
|
tree
2012-10-21
P
etr Tesarik
hed_fil
e
_co
m
mit: create
t
h
e file when op
e
ning th
e
read fd
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesar
i
k
cleanup: inde
n
ting, grou
p
ing
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
P
etr Tesarik
Take dat
a
off i
n
to account for
hed
_
file_insert_block
commit
|
commitdiff
|
tree
2012-10-20
Pet
r
T
e
sarik
C
reate i
n
serted bloc
k
s
as dirty
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Shorten EOF block when in
s
e
rting
commit
|
commitdiff
|
tree
2012-10-20
P
e
t
r
Tesar
i
k
Fix hed_file_insert
(
)
f
or blocks > FILE_BLOCK_SIZE
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Optimize EOF check in file_set_block and file_set
_
b
yte
s
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Te
s
a
r
ik
Op
t
imiz
e
EOF checking in hed_fil
e
_set_byte
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
O
p
t
imize
EOF
chec
k
in hed_file_eras
e
_
b
lock
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
cleanup:
r
emo
v
e file
a
rgument from shrink_at_xxx
commit
|
commitdiff
|
tree
2012-10-16
P
etr
T
esari
k
cleanup: re
m
ove the
t
ree argumen
t
f
r
om first_load_
b
lock()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
cleanu
p
: block_phys_size() does
n
't
need
t
he f
i
le argument
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesar
i
k
Fix block
d
ebugging
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
cleanup: re
m
ove
file argument of slide_cursors()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cl
e
a
n
up: move struct hed_tree
i
n
to tre
e
.
h
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Separ
a
te out p
r
ivate fields
of
s
tr
u
ct he
d
_file
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Always provide swap-r
e
lated functions
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Fi
x
builds without
HED_CONFIG_READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esari
k
A
l
wa
y
s provide hed_file
_
s
e
t_readahead
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Mov
e
mar
k
s out of the li
b
rary
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Move hed_file_blocks()
to
f
ile
.
c
commit
|
commitdiff
|
tree
2012-10-16
P
etr Te
s
ar
i
k
S
ep
a
ra
t
e hed_ex
p
r pr
i
vate field
s
from
p
ublic fields
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
p
a
r
s
e_n
u
mbe
r
_
d
e
c: length is always non-zero
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
Fix
d
ocum
e
ntation o
f
numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Move c
h
ecks
f
or valid
hex/bin
n
umbers
to the helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sar
i
k
Add binary nota
t
ion for numb
e
rs
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Reject zero
-
sized hex
n
umbers ('0x')
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Kill atom_bytestr
.
len
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
Shrink hexadec
i
mal nu
m
bers
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Get rid of double al
l
oc
a
tion in parse_num
b
er()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimi
z
e free
_
ato
m
()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
O
p
t
imi
z
e a
t
om_ev
a
l
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
Handle expre
s
sion err
o
rs in register offset
commit
|
commitdiff
|
tree
2012-10-16
P
etr
T
esarik
Split val_par
s
e() into ty
p
e-spec
i
fic helpers
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr
T
e
s
arik
Fix a memory lea
k
on inva
l
id expre
s
s
i
ons
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Opti
m
ize prece
d
ence handling
commit
|
commitdiff
|
tree
2012-10-15
Pet
r
Tesarik
Document operator precedence in the manpage
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
Give
o
perators precedence using
the
s
hunting-yar
d
algorithm
commit
|
commitdiff
|
tree
2012-10-12
P
e
t
r
T
e
s
a
r
i
k
Fix ne
s
ted binary op
e
rations
commit
|
commitdiff
|
tree
2012-10-12
Petr T
e
sarik
Fi
x
swap bytes
ex
a
mp
l
e in the m
a
npage
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
T
e
sarik
Constif
y
ope
r
ator arrays
commit
|
commitdiff
|
tree
2012-10-12
Petr T
e
sari
k
Do
n
o
t
try to recover f
r
om parse
e
rrors i
n
atom_par
s
e()
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
Add
e
rror handling for
a
l
loc_a
t
om() failures
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
o
ptimize: mark skip_white
as
i
nline
commit
|
commitdiff
|
tree
2012-10-12
P
e
t
r
Tesarik
Implement size suffixes
commit
|
commitdiff
|
tree
2012-10-12
Pe
t
r
T
esarik
Upd
a
te the manual page
commit
|
commitdiff
|
tree
2012-10-12
P
e
tr Te
s
ar
i
k
Add a
n
ew
s
p
ecial mark @
.
for
currently matc
h
e
d
content
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
R
e
name ", (conte
n
t
u
n
der
c
ursor)
to "$
commit
|
commitdiff
|
tree
2012-10-11
P
etr Tesar
i
k
Documentation
fixes
commit
|
commitdiff
|
tree
2012-10-11
Petr Te
s
a
rik
cleanup:
r
e
m
ove no longer ne
e
de
d
cruft
from
h
e
d_
f
i
l
e_find_expr()
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesari
k
Rewrite the hed
_
expr API
commit
|
commitdiff
|
tree
2012-10-11
Pet
r
Tesarik
R
e-i
m
pleme
n
t
r
eg
i
s
t
er c
a
llback outsi
d
e libhed
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
Se
p
arat
e
expression compile
f
r
om
initia
l
ization
commit
|
commitdiff
|
tree
2012-10-11
Pe
t
r Tesari
k
Make hed
_
e
x
pr
_
comp
i
le m
o
re
s
trict
a
n
d al
l
ow
e
mpty ex
p
ressions
commit
|
commitdiff
|
tree
2012-10-11
Petr Tesarik
cleanup
:
add hed_exp
r
2off() shor
t
h
and
commit
|
commitdiff
|
tree
2012-10-11
P
e
t
r Tesarik
C
h
ange he
d
_expr_eval call signature
commit
|
commitdiff
|
tree
2012-10-11
Petr Te
s
a
rik
Rewrit
e
find_bytestr for fast
e
r
co
d
e
commit
|
commitdiff
|
tree
2012-10-10
Petr Tesarik
Fix Bo
y
e
r-Moor
e
backward search
commit
|
commitdiff
|
tree
2012-10-10
Petr Te
s
arik
Fix searching for
n
ul
l
bytes beyond EOF
commit
|
commitdiff
|
tree
2012-10-10
P
et
r
T
e
sa
r
ik
Fix hed
e
xpression length in find_byte
s
tr()
commit
|
commitdiff
|
tree
2012-10-09
P
e
t
r Tesarik
c
l
ea
n
up: kill file_block
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesa
r
ik
cl
e
a
n
up: kill blockoff
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
c
lean
u
p: kill
f
ile_s
i
ze
(
)
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr Tesarik
cleanup: kill
f
ile
_
b
l
ocks()
commit
|
commitdiff
|
tree
2012-10-09
P
e
t
r Te
s
arik
F
i
x byte str
i
ng s
e
arch in blocks with non-
z
e
ro
data
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
Fix
non-s
w
ap co
n
figura
t
ions
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr
Tesarik
optimize: use update_cursors
i
nstead
of move_cursors
commit
|
commitdiff
|
tree
2012-10-09
Petr
Tesarik
Clear las
t
l
oaded block
after EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup:
fix cast to p
o
inter from in
t
eger of different
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
Fix ins
e
rt b
e
yond EOF
commit
|
commitdiff
|
tree
2012-10-09
Petr T
e
sarik
Fix replace
b
eyond EO
F
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
cleanup: update the descript
i
on
o
f
p
r
ep
a
r
e_modi
f
y()
commit
|
commitdiff
|
tree
2012-10-09
Pe
t
r Tesarik
Fix block insertion in replac
e
_chunk
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
cleanup
:
remove la
s
t fie
l
d from stru
c
t hed_tree
commit
|
commitdiff
|
tree
2012-10-09
P
e
tr
T
es
a
rik
Ch
a
nge insert_i
n
to_tree so it i
n
serts *before* the
.
.
.
commit
|
commitdiff
|
tree
2012-10-09
P
etr Tes
a
rik
cleanup:
r
ename
blockoff -> cursor for l
o
w-leve
l
routines
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesarik
R
e-implement first_block() and
l
ast_
b
l
o
ck()
commit
|
commitdiff
|
tree
2012-10-09
Petr Tesari
k
A
dd
s
e
l
f addre
s
s to the s
w
ap file heade
r
commit
|
commitdiff
|
tree
next