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
Makefile: Add missing -ltinfo
2022-08-19
Cy
r
il Hrub
i
s
Makefile: A
d
d
m
issing -ltin
f
o
commit
|
commitdiff
|
tree
2022-08-19
C
yr
i
l Hrubi
s
Mark
s
hared variab
l
e declarations with ex
t
e
r
n
commit
|
commitdiff
|
tree
2020-05-25
C
y
ri
l
H
r
ubis
ui: Ad
d
wq
c
ommand
commit
|
commitdiff
|
tree
2018-05-18
Petr Tes
a
rik
Fix build erro
r
on
SIGBUS handler
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr T
e
sarik
O
p
timiz
e
r
e
place_chun
k
(
)
f
o
r
replac
e
m
ents at th
e
end
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesari
k
Fix
prepare_modify() when splitt
i
ng a m
a
x
-sized
b
l
oc
k
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr
T
es
a
rik
Fix
g
et_cursor() for max-sized b
l
o
ck
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
R
e
v
e
r
t
"
S
to
r
e
block las
t
o
f
fset instea
d
of blo
c
k size"
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tes
a
rik
U
s
e full hed
_
uo
f
f_t rang
e
for
f
ile posit
i
o
n
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Te
s
a
rik
Use unsigned types fo
r
o
f
fsets in expression
s
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Use correct types
for c
u
rs
o
r absolute and
re
l
ative
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pe
t
r Tesarik
Adjus
t
hed_
c
ursor_chun
k
_len() for
max-size
d
blocks
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr T
e
sarik
A
d
d
a
s
sert()
c
a
lls t
o
ensur
e
c
ons
i
s
t
ent handling of
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Mov
e
a
l
l block
s
ize redu
c
tions to shrink_block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tes
a
rik
Simplify undirty_b
l
ocks()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesa
r
i
k
Add a f
l
ag bit for em
p
ty blocks
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tesarik
Debug: Impro
v
e da
t
a dump in dump_blo
c
k()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr T
e
sa
r
ik
Cleanup
:
Fix
w
rong description of HED_BLOCK_E
O
F
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
P
e
tr Tesarik
Optimize: Always ini
t
ia
l
ize curs
_
in
s
->off to zer
o
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Pet
r
Tesarik
Initial
i
ze maxoff of
a
n
e
w
l
y
insert
e
d block
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
P
et
r
Tesarik
Cleanup: Remove con
f
usin
g
comments
i
n fin
d
_in_tree()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesari
k
C
lea
n
up: Rename chain_block
_
b
e
f
o
r
e() to chain_block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Clea
n
u
p: Remove
a
re
f
erence to a
p
p
end_to_tree()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Te
s
arik
Store block last off
s
et instead of
b
lock
size
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesarik
Cl
e
anup: Use hed_bloc
k
_
si
z
e
(
) where
p
ossible
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
P
e
tr Tesarik
F
i
x
crash
on
c
urso
r
move near beginning of fil
e
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2013-03-08
Petr Tes
a
rik
Update the installation inst
r
uctions
commit
|
commitdiff
|
tree
2012-12-09
P
e
tr Tesarik
replace_c
h
unk: fi
x
w
r
o
ng sign-extension
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesarik
fixup_curs
o
r_slow:
always stop at terminal bl
o
c
k
commit
|
commitdiff
|
tree
2012-11-13
P
e
tr Tesarik
Ski
p
bad bl
o
cks in search
commit
|
commitdiff
|
tree
2012-11-09
Petr Te
s
arik
copy_in:
s
t
op on re
a
d errors
commit
|
commitdiff
|
tree
2012-11-07
P
e
tr Tesarik
clea
n
up: avoi
d
gcc w
a
rnin
g
s w
i
th -Wmaybe-un
i
nitial
i
zed
commit
|
commitdiff
|
tree
2012-11-02
Pet
r
Tesarik
load_blocks: handl
e
block all
o
cation f
a
ilure
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesar
i
k
cleanup l
o
a
d
_blocks: make t
h
e
common error path more
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
file_l
o
ad_data: fix err
o
r ha
n
dling
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
clean
u
p: loop co
n
dition in clean_span()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesar
i
k
opt
i
mize
hed_file_co
m
mi
t
:
K
ill co
m
mit_c
u
rrent()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
R
ewrit
e
hed_f
i
le_commit()
commit
|
commitdiff
|
tree
2012-10-24
Petr
T
esarik
o
p
timiz
e
: take
c
all to is_allze
r
o() outside the s
e
arch
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
Petr Te
s
ari
k
clea
n
up: rename h
e
d_block_i
s
_in
n
er_vi
r
tu
a
l -> block_is
_
loadable
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
cleanup:
r
ewrite rep
l
ace_chunk using split_block
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sarik
optimize: use EO
F
fla
g
instead of comp
a
r
i
ng phys p
o
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Fix SEGV in searc
h
es ov
e
r
virtual blocks
commit
|
commitdiff
|
tree
2012-10-22
P
etr Tesarik
Report BAD a
n
d
E
O
F flags in dump_blocks()
commit
|
commitdiff
|
tree
2012-10-22
P
e
t
r T
e
sar
i
k
Set EOF flag correc
t
ly for newly modified block
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Ignore HED_BLOCK_EOF in
data sea
r
ches
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesar
i
k
Set corre
c
t EOF flag fo
r
inserted bloc
k
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesa
r
i
k
F
i
x block me
r
ging in
kill_block()
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r Tes
a
rik
Rewrit
e
k
ill_block_if
_
e
m
pty usi
n
g kill_block
commit
|
commitdiff
|
tree
2012-10-22
P
etr
T
esarik
R
emove recursion from kil
l
_block()
commit
|
commitdiff
|
tree
2012-10-22
P
e
tr Tesarik
cleanup: rename f
i
le
_
ki
l
l_b
l
ock -> k
i
ll_bloc
k
commit
|
commitdiff
|
tree
2012-10-22
Petr
Tesarik
R
e
wri
t
e file_kill_block
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r
Tesa
r
ik
Updat
e
HED
_
B
L
OCK_
A
LL
O
CMAS
K
a
n
d HED_BLOCK_STAT
E
M
ASK
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Differentiate EOF blocks and the terminal bloc
k
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r T
e
sarik
Fix
fi
l
e comm
i
t w
h
en th
e
file si
z
e
g
row
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesar
i
k
expr
.
c: fix compilation without -DNDEBUG
commit
|
commitdiff
|
tree
2012-10-21
Pet
r
Tesarik
Simplify block shift
c
alcul
a
t
i
o
n
commit
|
commitdiff
|
tree
2012-10-21
Pet
r
T
e
s
arik
c
l
e
anup: open-code move_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr T
e
sarik
h
ed_file_commit: create the file when opening
t
he
r
ead fd
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
cleanup: indenti
n
g, g
r
ouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr Tesarik
Take dataoff into accoun
t
for hed_file_insert_block
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesar
i
k
C
r
eate ins
e
rted
b
loc
k
s
as dir
t
y
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
S
horten EOF
bl
o
ck when inserting
commit
|
commitdiff
|
tree
2012-10-20
P
etr Tesa
r
ik
Fix hed_file_insert()
for b
l
oc
k
s > FI
L
E_BLOCK_S
I
ZE
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
O
p
timiz
e
E
O
F check in file_set_block
a
nd file_set_by
t
es
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimize EOF ch
e
cking in hed_file_set_byte
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
Optimize EOF check in hed_fil
e
_eras
e
_block
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
cleanup: remove f
i
le argum
e
nt fr
o
m
shr
i
nk
_
a
t
_xxx
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr
T
esarik
cleanup
:
remove th
e
tree a
r
gument from firs
t
_load_block()
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sarik
cleanu
p
:
b
lock_phy
s
_size() does
n
'
t nee
d
the file argument
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
F
ix blo
c
k
d
ebu
g
ging
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
c
l
e
anup: re
m
ove
f
ile argume
n
t of slid
e
_cursors()
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
c
l
eanup: move
st
r
uct hed_tree int
o
tree
.
h
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesa
r
ik
Separate out pr
i
vate fields
o
f struct hed_file
commit
|
commitdiff
|
tree
2012-10-16
Petr T
e
sa
r
ik
A
l
w
ays
p
rovide swap-relat
e
d functions
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tes
a
rik
Fi
x
builds
w
ithout HED_CONFI
G
_READAHEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
i
k
Alw
a
y
s
provide he
d
_file_set_r
e
a
dahead
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesa
r
ik
M
o
v
e
m
a
rk
s
out
o
f the library
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
Mov
e
hed_file
_
blocks() to file
.
c
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesar
i
k
Separa
t
e hed
_
ex
p
r p
r
ivat
e
f
ields from
p
ublic fie
l
ds
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
parse_
n
umber_dec:
len
g
th is
always no
n
-z
e
ro
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
Fix docume
n
tation of
n
umbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
M
o
ve checks
f
or valid hex/bin numbers t
o
t
h
e helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
e
sarik
Add
b
inary
n
otation for numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Reject
zero-sized
h
e
x numbers ('0x')
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Kil
l
a
t
om_byte
s
tr
.
le
n
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
S
h
r
in
k
hexa
d
ecimal n
u
mber
s
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esarik
G
e
t rid of doub
l
e allocati
o
n
in pa
r
se_number()
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
es
a
rik
Op
t
i
miz
e
free_atom()
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesarik
O
ptimize atom_eval
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
Hand
l
e ex
p
ressi
o
n erro
r
s in register
offset
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tes
a
rik
Split
val_pa
r
se() into typ
e
-sp
e
c
ific helpers
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tes
a
rik
Fix a memory leak o
n
invali
d
expressi
o
ns
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r Tesarik
Op
t
imize pr
e
cedence handling
commit
|
commitdiff
|
tree
2012-10-15
Petr Tes
a
r
i
k
Document operat
o
r preced
e
n
ce in the manpage
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
Give
o
p
er
a
tors prec
e
denc
e
u
sin
g
the shunt
i
n
g
-
y
ard algorithm
commit
|
commitdiff
|
tree
2012-10-12
Petr Te
s
a
rik
Fi
x
n
e
s
t
e
d b
i
n
a
ry operations
commit
|
commitdiff
|
tree
2012-10-12
Petr
T
esar
i
k
Fix
s
wap bytes example in the m
a
npage
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesarik
C
o
nsti
f
y
o
perato
r
ar
r
a
ys
commit
|
commitdiff
|
tree
2012-10-12
P
e
tr Tesarik
Do not
t
ry to r
e
cover from pars
e
errors in ato
m
_pars
e
()
commit
|
commitdiff
|
tree
next