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
C
yril Hrub
i
s
Makefile: Add missing -lti
n
fo
commit
|
commitdiff
|
tree
2022-08-19
Cyri
l
Hr
u
bis
M
ar
k
sh
a
red variable declarations w
i
th extern
commit
|
commitdiff
|
tree
2020-05-25
Cyri
l
Hrubi
s
ui: Add wq command
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Fix bu
i
ld error on
S
IGB
U
S handler
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr T
e
s
a
rik
O
p
t
imize repl
a
ce_chu
n
k() for replace
m
ents
a
t the
e
nd
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr T
e
sarik
Fix prepare_modify() when splitting
a
m
ax-size
d
b
l
ock
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesa
r
i
k
F
ix
g
et_curs
o
r() for ma
x
-sized
block
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesarik
Revert "Store block last o
f
f
set ins
t
ead of block size"
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
P
etr Tesari
k
Us
e
full hed_uoff_t ra
n
ge f
o
r file position
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
Petr Tesa
r
i
k
Use u
n
signed types for
offsets in expressions
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-18
P
e
t
r
Tesarik
U
se
c
o
rr
e
ct types fo
r
cursor absolute and
rela
t
ive
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr
T
esarik
Adjus
t
hed_cursor_chunk_len() for max-sized block
s
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
P
e
tr Tesar
i
k
Ad
d
a
ssert() ca
l
l
s
to ensure
c
onsistent handl
i
ng
of
.
.
.
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
P
e
tr
Tesarik
Mo
v
e
a
ll b
l
ock size re
d
u
c
tions to shrink
_
block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tesarik
S
i
mpli
f
y undirty_bl
o
c
k
s()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr
Tesarik
Ad
d
a flag bit
f
o
r empty b
l
ock
s
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
P
et
r
Tesarik
Debug: Impr
o
ve data dump
in dump_bloc
k
()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Pet
r
Tesa
r
ik
Cleanup
:
Fix wr
o
n
g descr
i
ption of HE
D
_
B
LOCK_EOF
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-17
Petr Tesarik
Optimiz
e
: Al
w
ays initializ
e
curs_ins->off to zero
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Te
s
arik
Initial
i
ze
maxoff of a newly inse
r
ted blo
c
k
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr
T
esa
r
ik
Clean
u
p: Remov
e
confusing c
o
mmen
t
s
i
n fi
n
d_in_t
r
ee()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesari
k
Cleanup:
R
e
name chain
_
b
loc
k
_
before()
to c
h
ain_block()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr
Tesa
r
ik
Cleanup: R
e
m
ove a reference to append_
t
o_tree()
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
Petr Tesa
r
ik
Stor
e
block last offset
i
n
st
e
ad of b
l
oc
k
size
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
P
etr Tesarik
Cleanup: Us
e
hed_block_siz
e
() where possible
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2018-05-15
P
etr Tesari
k
F
ix crash on curs
o
r move near beginning
of fi
l
e
Signed-off-by:
Petr Tesarik
<petr@tesarici.cz>
commit
|
commitdiff
|
tree
2013-03-08
Petr
Tesarik
Update the install
a
t
i
o
n instr
u
ctions
commit
|
commitdiff
|
tree
2012-12-09
Petr Tesarik
repla
c
e_chu
n
k: fix wrong s
i
gn-extens
i
on
commit
|
commitdiff
|
tree
2012-11-13
Pet
r
Te
s
a
rik
fixu
p
_cu
r
sor_
s
l
o
w: alwa
y
s
s
top at
termi
n
al block
commit
|
commitdiff
|
tree
2012-11-13
Petr Tesar
i
k
Skip
b
a
d blocks in search
commit
|
commitdiff
|
tree
2012-11-09
Pe
t
r T
e
s
a
r
ik
co
p
y_in: sto
p
on
r
ead errors
commit
|
commitdiff
|
tree
2012-11-07
Petr Tesari
k
c
leanup: avoid
gcc warnin
g
s with -Wmaybe
-
uniniti
a
lized
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
load_blocks: handle block
a
llo
c
ation fail
u
r
e
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
c
l
eanup loa
d
_blocks: make th
e
c
o
mmon error p
a
th mor
e
.
.
.
commit
|
commitdiff
|
tree
2012-11-02
Petr T
e
sa
r
ik
fil
e
_load_da
t
a: fix error ha
n
dling
commit
|
commitdiff
|
tree
2012-11-02
P
etr Tesarik
cle
a
nup: loop condition in
clean_span()
commit
|
commitdiff
|
tree
2012-11-02
Petr Tesarik
optimi
z
e hed_file_commit: K
i
l
l
c
o
mmit_current()
commit
|
commitdiff
|
tree
2012-11-02
P
etr Tesa
r
ik
Rewrit
e
hed
_
file_c
o
mmit()
commit
|
commitdiff
|
tree
2012-10-24
Petr
Tesarik
opt
i
mize: take
call to is_allzero() out
s
id
e
the search
.
.
.
commit
|
commitdiff
|
tree
2012-10-23
P
e
tr
Tesar
i
k
cleanup:
r
ename hed_blo
c
k_is_inne
r
_vir
t
ual -> block_is_loada
b
le
commit
|
commitdiff
|
tree
2012-10-22
Petr T
e
sarik
cleanu
p
: rewrite
r
e
place_chunk using split_
b
lock
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
optimize:
u
se
E
OF
f
la
g
instead of c
o
mpar
i
ng phys pos
commit
|
commitdiff
|
tree
2012-10-22
P
etr Te
s
a
ri
k
Fi
x
SEGV in sear
c
hes over
v
i
rtual blocks
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r
T
e
s
a
rik
Repo
r
t BAD a
n
d
EOF flags in d
u
mp_blocks()
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
esarik
S
e
t EOF flag c
o
r
r
e
c
tly for
newly
modified bl
o
c
k
s
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesa
r
i
k
Ignor
e
HED
_
BLOCK_EOF in data searches
commit
|
commitdiff
|
tree
2012-10-22
Petr
T
e
sari
k
Set corr
e
ct EOF fl
a
g for inser
t
e
d
bl
o
cks
commit
|
commitdiff
|
tree
2012-10-22
Pet
r
Tesarik
Fix
block merging in
kill_bl
o
ck()
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
R
ew
r
ite kill_blo
c
k
_
if_empty using kill_
b
loc
k
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesarik
Remove r
e
cur
s
ion
f
r
om
kill
_
block()
commit
|
commitdiff
|
tree
2012-10-22
Petr Te
s
arik
c
leanup: rename f
i
le_kill_block -> kill_block
commit
|
commitdiff
|
tree
2012-10-22
Petr
Tesarik
Rewrite
f
ile_kill_block
commit
|
commitdiff
|
tree
2012-10-22
Petr Tesa
r
ik
Updat
e
HED_BLOCK_ALLOCMASK and HED
_
BLOCK_STATEM
A
SK
commit
|
commitdiff
|
tree
2012-10-22
Petr Tes
a
rik
Dif
f
e
ren
t
iate EOF bloc
k
s a
n
d the terminal bloc
k
commit
|
commitdiff
|
tree
2012-10-22
Pe
t
r
Tesarik
Fix
f
ile commit when the file s
i
ze
g
rows
commit
|
commitdiff
|
tree
2012-10-22
P
etr
T
es
a
rik
ex
p
r
.
c: fix com
p
ilatio
n
without -D
N
DEBUG
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesari
k
Simp
l
i
f
y
blo
c
k
shift calcu
l
a
t
ion
commit
|
commitdiff
|
tree
2012-10-21
Pe
t
r Tesarik
clean
u
p: open-code move_to_next()
commit
|
commitdiff
|
tree
2012-10-21
Petr Tesa
r
ik
hed
_
file
_
commi
t
:
c
reate the file when openi
n
g the read fd
commit
|
commitdiff
|
tree
2012-10-20
Pet
r
Tesarik
clea
n
up: indenting,
grouping
.
.
.
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Tak
e
dat
a
o
f
f
into accoun
t
for hed_file_inse
r
t_bl
o
ck
commit
|
commitdiff
|
tree
2012-10-20
P
e
tr Tesarik
Cre
a
te ins
e
r
ted blocks as dirty
commit
|
commitdiff
|
tree
2012-10-20
Petr Tesarik
Short
e
n EOF
block w
h
en insertin
g
commit
|
commitdiff
|
tree
2012-10-20
Petr
T
esarik
Fix hed_file_ins
e
rt()
for
blo
c
ks
>
F
I
L
E_BLOCK
_
SIZE
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tesarik
O
p
timize
E
OF chec
k
in f
i
le_set_block and file_set_b
y
tes
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimize
E
OF checking in h
e
d_file_set_byte
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Te
s
a
r
ik
O
p
tim
i
ze EOF check in hed_file_erase_block
commit
|
commitdiff
|
tree
2012-10-16
Petr Te
s
arik
c
l
eanup: remove file arg
u
ment f
r
om shrink_at_xxx
commit
|
commitdiff
|
tree
2012-10-16
Petr
Tesarik
cleanup: re
m
ove the tree argument fr
o
m
f
irst_load_block()
commit
|
commitdiff
|
tree
2012-10-16
Pet
r
Tesarik
cleanup: bloc
k
_
p
hys
_
s
i
ze
(
)
d
oesn't
need the file argument
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix
b
lock debugging
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
cleanup:
r
emove file ar
g
ume
n
t of slide
_
c
u
rs
o
r
s()
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
c
leanup: move struct
h
e
d_tre
e
int
o
t
ree
.
h
commit
|
commitdiff
|
tree
2012-10-16
P
etr Tes
a
rik
Separate out private
f
ields
o
f struct hed_file
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Always prov
i
de swap-related
f
u
n
ction
s
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Fix builds wi
t
h
o
ut
HED
_
CONFIG_READ
A
HEAD
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Al
w
ays
provide hed
_
fi
l
e_set_reada
h
ead
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Move
marks ou
t
o
f t
h
e library
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Move hed_fil
e
_blocks() to
file
.
c
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesari
k
Separate hed_
e
xpr private fields from public fields
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
rik
pars
e
_nu
m
ber_d
e
c: length is alwa
y
s
n
on-zero
commit
|
commitdiff
|
tree
2012-10-16
P
e
tr Tesarik
F
i
x
docu
m
en
t
ation o
f
numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Move checks for v
a
lid
h
e
x
/bin numbers
t
o the helper
.
.
.
commit
|
commitdiff
|
tree
2012-10-16
Petr Tes
a
ri
k
Add binary notation for numb
e
rs
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Reject ze
r
o-
s
ized hex
n
u
mbers ('
0
x')
commit
|
commitdiff
|
tree
2012-10-16
P
etr
T
esarik
Kill atom_by
t
est
r
.
len
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Shrink hexad
e
cimal numbers
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
esa
r
i
k
Get rid of double allocation i
n
parse_number(
)
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Optimize
f
r
ee_atom()
commit
|
commitdiff
|
tree
2012-10-16
Petr
T
e
sarik
O
ptimize atom_
e
val
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesarik
Handle expression err
o
rs in register offs
e
t
commit
|
commitdiff
|
tree
2012-10-16
P
e
t
r Te
s
ari
k
Split val_
p
arse() in
t
o type-specific helpers
commit
|
commitdiff
|
tree
2012-10-16
Petr Tesar
i
k
Fi
x
a memory leak
o
n invalid expressi
o
n
s
commit
|
commitdiff
|
tree
2012-10-16
Pe
t
r Tesar
i
k
Optimize prec
e
dence handling
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
Document
op
e
rator prece
d
e
n
ce in the manpage
commit
|
commitdiff
|
tree
2012-10-15
Petr Tesarik
Give operators
precedenc
e
usi
n
g the sh
u
nting-yard algo
r
ithm
commit
|
commitdiff
|
tree
2012-10-12
Petr Tesa
r
ik
Fix nested binary operations
commit
|
commitdiff
|
tree
2012-10-12
Pet
r
T
e
sa
r
ik
Fix swap bytes exam
p
le
i
n
the manpage
commit
|
commitdiff
|
tree
2012-10-12
Petr Tes
a
rik
Con
s
ti
f
y o
p
erator a
r
rays
commit
|
commitdiff
|
tree
2012-10-12
P
etr Tesar
i
k
Do n
o
t try to recover
f
rom par
s
e er
r
ors in atom_
p
a
rse()
commit
|
commitdiff
|
tree
next