repo.or.cz
/
elinks
/
images.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Implement matching of element relations for DOM selection
2005-12-25
Jo
n
as Fonseca
Implement matching
o
f
element relatio
n
s for D
O
M
se
l
e
ction
commit
|
commitdiff
|
tree
2005-12-25
Jonas Fonseca
Intro
d
u
ce
g
et_dom_
n
ode_list_
i
n
d
ex() to lookup the inde
x
.
.
.
commit
|
commitdiff
|
tree
2005-12-25
Jonas Fo
n
s
eca
get
_
dom_select_dat
a
(): Move macro neare
r
to
i
t
s users
commit
|
commitdiff
|
tree
2005-12-25
Jo
n
as Fonseca
Remove
u
nneed
e
d U
n
icode/
.
gi
t
i
g
nore
commit
|
commitdiff
|
tree
2005-12-25
Jonas Fonsec
a
M
a
ke
E
CMAScript b
r
ow
s
er scripting
configurable
commit
|
commitdiff
|
tree
2005-12-25
Jonas F
o
n
seca
Fix
c
l
eanall by includ
i
n
g $(SUBDI
R
S
-)
an
d
$(OBJS-)
.
.
.
commit
|
commitdiff
|
tree
2005-12-24
Jona
s
Fon
s
eca
A
d
d example
of how to
c
o
n
f
igure colo
r
s used for HTML
.
.
.
commit
|
commitdiff
|
tree
2005-12-24
Jonas Fonseca
elinks_goto_url(
)
: Remove evil g
o
t
o
and simplify matte
r
s
commit
|
commitdiff
|
tree
2005-12-24
Jonas Fonsec
a
Compile
f
i
x
commit
|
commitdiff
|
tree
2005-12-23
Jona
s
Fonse
c
a
Merge with git+ssh://pasky/srv/
g
it/elinks
.
g
it
commit
|
commitdiff
|
tree
2005-12-23
Jona
s
Fonseca
The child node list
can be NULL whe
n
m
a
tchi
n
g
f
or the
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
F
i
x mat
c
hing of the :root structural pseudo-c
l
ass
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
Tidyup
commit
|
commitdiff
|
tree
2005-12-22
Jo
n
as
F
o
ns
e
ca
Oop
s
, c
o
m
pi
l
e
fix
commit
|
commitdiff
|
tree
2005-12-22
Jonas F
o
nseca
Factor out c
o
de to n
e
w
match_element_selector(
)
commit
|
commitdiff
|
tree
2005-12-22
Jo
n
as Fonseca
match
_
attr
i
b
ute_s
e
le
c
t
o
r
s(): F
a
c
tor
o
ut matching of
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
D
r
o
p unused ge
t
_do
m
_no
d
e_a
t
tributes(
)
,
comment get_dom_n
o
de
_
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jona
s
F
o
nseca
dom_sel
e
c
t
_push_e
l
e
ment(): Use dom_no
d
e_casecmp() a
n
d
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jona
s
Fonsec
a
Renam
e
dom_node_cmp() to dom_no
d
e_casecmp() and make
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
d
o
m_no
d
e_cmp(): Make
i
t i
n
to a general node comparer
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fo
n
s
eca
W
h
en searching DOM
n
ode lists st
o
r
e the s
u
b
t
y
pe
in
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
search_dom_stack():
Use dom_str
i
ng_c
a
secmp()
f
or compari
s
on
commit
|
commitdiff
|
tree
2005-12-22
Jo
n
a
s
Fons
e
ca
Move c
o
de for
the fina
l
s
o
urce hig
h
light flushing to
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fo
n
se
c
a
parse_sgml(): A
f
t
er p
a
rsing pop the
stack back to the
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jo
n
as Fonseca
Add a few comm
e
nt and remove an obsolete one
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
Renam
e
t
he DOM tree renderer
t
o
DOM s
t
ack tra
c
er
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fon
s
eca
Mak
e
i
t so
t
h
a
t
t
h
e
i
ndent string
u
sed by the
t
r
e
e
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
J
o
nas Fonseca
O
o
ps, do not define DOM_T
R
E
E
_
RENDERER by def
a
ult
commit
|
commitdiff
|
tree
2005-12-22
Jona
s
Fonseca
Ad
d
FIXME
about optimizing walk
_
dom_nodes()
commit
|
commitdiff
|
tree
2005-12-22
Jona
s
Fonseca
Ad
d
lots of comments and
F
IXMEs
commit
|
commitdiff
|
tree
2005-12-21
J
onas F
o
nsec
a
Use get_opt_co
d
e
p
age_
t
ree()
commit
|
commitdiff
|
tree
2005-12-21
J
onas
Fonseca
Mis
c
DOM s
e
lect fixe
s
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
Make the DOM tree renderer
t
h
i
ng usabl
e
wi
t
hout a d
o
m_rend
e
r
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jo
n
as Fo
n
sec
a
Turn the DOM tr
e
e
renderer into a debug module
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
Fix
the
DOM tree re
n
derer
t
o wo
r
k
with
t
he new
s
ta
c
k
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas
F
o
n
s
e
ca
get
_
dom_stack_state_data(): Make static
inline and
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
sea
r
ch_dom_stack(): N
o
need to in
l
ine this at le
a
st
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
Improve comments
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fo
n
seca
Reorder some struct and fix s
o
me com
m
ents
commit
|
commitdiff
|
tree
2005-12-21
Jona
s
Fonseca
In
t
roduce enum do
m
_st
a
c
k
_
flag t
o
make init_d
o
m
_
s
tack
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jon
a
s F
o
nseca
i
nit_dom_sta
c
k
(
)
: Drop unu
s
ed object_
s
ize argument
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
Move the s
t
ate_objects to the DOM
stack contexts
commit
|
commitdiff
|
tree
2005-12-21
J
onas Fonseca
R
emo
v
e the now unused
DOM stack
data member
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
Use
a
(f
o
r
now
bogus) DOM stac
k
context for holding
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
J
onas Fonseca
Use a (
f
or n
o
w bogus) DOM stack cont
e
xt for holding
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fons
e
ca
Define co
n
vinience macros fo
r
getting parser
a
nd parser
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas
F
o
nseca
Dr
o
p
data mem
b
er from st
r
u
ct
sgml_
p
ar
s
e
r
it
is at stack
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
J
o
n
a
s
F
onseca
Add current membe
r
to struct
d
o
m_Stack whic
h
holds
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
J
onas Fonseca
Add a dat
a
mem
b
er to struct dom_stack
_
co
n
text (not
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
Introduce
struct
dom_Stack_context
commit
|
commitdiff
|
tree
2005-12-21
Jo
n
as
F
onseca
Rename: add_do
m
_
stack_cal
l
backs() -
>
add_dom_stack_
c
ontext()
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
Rename: struct dom_s
t
ack_callbacks
->
struct dom_stack_conte
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
Remove
-
-no-print-
d
ir
e
c
t
ory flag for the
r
ecursiv
e
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fo
n
seca
An
d
the SGML parser
s
houl
d
not add any callbacks a
n
ymore
commit
|
commitdiff
|
tree
2005-12-20
Jonas F
o
n
seca
Make the DOM
r
enderer add its
own DOM
s
t
ack callbacks
commit
|
commitdiff
|
tree
2005-12-20
Jonas F
o
nseca
Create the SGML parser
-
>root n
o
de
o
n demand
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
Allow f
o
r
multiple
callbac
k
s
to be
a
t
tached to th
e
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jonas
Fons
e
c
a
Introd
u
ce call_
d
o
m_stack_c
a
llb
a
cks as a common way
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jon
a
s Fonseca
Drop the return value from dom_sta
c
k_call
b
a
c
k
_T
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
C
o
m
bine D
O
M s
t
ack
p
ush and
p
o
p
callbacks into one s
t
ruct
commit
|
commitdiff
|
tree
2005-12-20
J
o
na
s
Fonseca
Ass
o
ciate
.
rss fil
e
extension with a
p
plication/rss+
x
ml
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fo
n
seca
Remove Cygwin binary addres
s
(
retur
n
s
404)
commit
|
commitdiff
|
tree
2005-12-20
Jonas F
o
nseca
Retire sp
e
cial
i
zed
p
r
o
c-instructio
n
DOM
r
enderer callback
commit
|
commitdiff
|
tree
2005-12-20
Jonas F
o
nsec
a
Only
consider application/r
s
s+xml inte
r
nal w
i
t
h
CONFIG_DOM
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonsec
a
A
dd basic su
p
p
ort for RSS parsin
g
for
ap
p
lic
a
tion/rss
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
J
o
n
a
s Fonseca
DOM
s
elect
:
Completely rewrite the parser fo
r
nt
h
arg
u
ments
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fo
n
seca
get_chil
d
_dom
_
select_n
o
de(): Use
t
he f
o
reach_d
o
m_node
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jon
a
s Fonseca
M
ake
the SGML parser ready
fo
r
(s
p
e
cializing)
d
octypes
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fonseca
Rem
o
ve some in
c
l
u
d
es w
h
ich a
r
e no l
o
ng
e
r
needed
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fo
n
seca
Misc clean
u
ps and imp
r
ovements
commit
|
commitdiff
|
tree
2005-12-19
J
o
nas
F
on
s
eca
match_attribute_selectors():
F
ix w
a
rn
i
ng about uninitialize
d
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fonseca
Add basic functionalit
y
for
selecting DOM nodes
based
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fo
n
seca
Change order of
var
i
ables g
i
ven to f
o
reach_dom_node
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fons
e
c
a
Ren
a
me DOM s
t
ack iterators
and make th
e
m
inclu
d
e all
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
J
ona
s
Fonseca
Ad
d
boolean immutable f
l
ag
t
o
t
he
D
O
M stack state
commit
|
commitdiff
|
tree
2005-12-19
Jona
s
Fo
n
s
eca
Merge
with git+ssh://pasky/srv/git/elinks
.
git
commit
|
commitdiff
|
tree
2005-12-19
Jo
n
as Fonseca
Rename: do
m
_sta
c
k_has_
p
arents() -> d
o
m_stack_is_empty
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
J
o
na
s
Fo
n
s
eca
do_pop_dom_node
(
): move dom_stack_has_p
a
ren
t
s() to
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fonseca
Retire the SEE-based *
.
js scrip
t
i
ng
b
ac
k
end
commit
|
commitdiff
|
tree
2005-12-18
Jonas
F
onseca
Merge with git+ssh://pasky
.
o
r
.
cz/s
r
v/git/
e
links
.
gi
t
commit
|
commitdiff
|
tree
2005-12-18
Jon
a
s Fonseca
#in
c
lude "src/scripting/smjs/
c
ache_obj
e
ct
.
h"
commit
|
commitdiff
|
tree
2005-12-18
Jonas Fonseca
M
a
ke all global
v
ar
i
a
bles expo
r
t
ed by
s
rc/script
i
ng
.
.
.
commit
|
commitdiff
|
tree
2005-12-17
Jonas Fonseca
Fix orde
r
of args passed t
o
SEE_string_sprint
f
("%
.
*s")
commit
|
commitdiff
|
tree
2005-12-17
Jonas Fonseca
One
m
ore compile fix for e
v
hook
_
use_
p
aram() macro usage
commit
|
commitdiff
|
tree
2005-12-17
Jonas
Fonseca
Compile
f
ix for arg
u
sage
macro
commit
|
commitdiff
|
tree
2005-12-15
Jonas
Fonseca
Merge with git+ss
h
://pa
s
k
y
/
s
rv/git/el
i
nks
.
git
commit
|
commitdiff
|
tree
2005-12-15
Jo
n
as Fo
n
seca
p
op_dom_state(): Drop unu
s
ed l
e
ft-ov
e
r ar
g
um
e
nt
commit
|
commitdiff
|
tree
2005-12-15
Jonas Fons
e
ca
dom_
n
ode_
c
m
p(): On
l
y use
e
lement o
r
a
tt
r
ibute
type
.
.
.
commit
|
commitdiff
|
tree
2005-12-15
Jo
n
a
s Fonse
c
a
Rename:
nav -
>
sta
c
k
commit
|
commitdiff
|
tree
2005-12-13
Jo
n
as Fon
s
eca
Merge with 5ef041c051e1b
2
86
b
1af3fbde
8
0
593d51
0
eab95b
commit
|
commitdiff
|
tree
2005-12-13
Jonas Fonseca
Redo the assertm() message to just show t
h
e type of
.
.
.
commit
|
commitdiff
|
tree
2005-12-13
Jonas Fonse
c
a
Prepare the CSS s
c
anner f
o
r tok
e
nizing ~
and +
a
s char
.
.
.
commit
|
commitdiff
|
tree
2005-12-13
Jonas Fonseca
F
ix wron
g
assertion m
e
ssage
string
commit
|
commitdiff
|
tree
2005-12-13
Jona
s
Fonseca
Don'
t
try MIME hand
l
e
r
s
for application/x-bittorrent
commit
|
commitdiff
|
tree
2005-12-13
Jon
a
s Fonseca
Compi
l
e
fi
x
, rep
o
rted b
y
za
s
commit
|
commitdiff
|
tree
2005-12-13
Jo
n
as Fonseca
Add k
e
y parame
t
er to the tracke
r
a
n
nounce
U
RI
commit
|
commitdiff
|
tree
2005-12-13
Jo
n
as Fon
s
eca
Add DOM_N
O
DE_
U
NKNOWN node type
f
or inter
n
al purposes
.
.
.
commit
|
commitdiff
|
tree
2005-12-13
Jonas Fonse
c
a
Pr
e
par
e
t
h
e CS
S
scanner for parsing [foo{|,*
,
^,$,}
.
.
.
commit
|
commitdiff
|
tree
2005-12-12
Jona
s
Fonseca
set_dom_str
i
ng(): take
len
g
th a
s
size_t; -1 means u
s
e
.
.
.
commit
|
commitdiff
|
tree
2005-12-12
J
o
nas Fonseca
Make the DOM
s
tack and
t
he
S
GML parser
i
n
t
e
r
fa
c
e more
.
.
.
commit
|
commitdiff
|
tree
next