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
Jonas Fo
n
seca
Im
p
l
e
ment m
a
tching
of element relat
i
o
n
s
for
D
OM selection
commit
|
commitdiff
|
tree
2005-12-25
J
onas Fonseca
Introduce get_do
m
_node_list_index
(
) to lookup the index
.
.
.
commit
|
commitdiff
|
tree
2005-12-25
Jonas
Fonseca
g
e
t_dom_select_data(): Move macr
o
nearer to its u
s
ers
commit
|
commitdiff
|
tree
2005-12-25
Jonas
F
o
nseca
Re
m
o
ve unneeded Unicode/
.
git
i
gnor
e
commit
|
commitdiff
|
tree
2005-12-25
Jonas Fonseca
Make ECMA
S
c
ript
b
rows
e
r
scripting co
n
f
i
gu
r
able
commit
|
commitdiff
|
tree
2005-12-25
Jonas
F
o
n
seca
Fix cleanall by including $(SUBDIRS-) and $(OBJS-)
.
.
.
commit
|
commitdiff
|
tree
2005-12-24
Jonas F
o
nse
c
a
Add example of how to c
o
nfigure
colors us
e
d
f
or HTML
.
.
.
commit
|
commitdiff
|
tree
2005-12-24
Jonas
F
on
s
eca
elinks_goto_url(): Remove e
v
il go
t
o
and simplify matters
commit
|
commitdiff
|
tree
2005-12-24
J
o
n
as Fonseca
Com
p
il
e
fix
commit
|
commitdiff
|
tree
2005-12-23
Jonas Fonseca
Merg
e
w
i
t
h git
+
ss
h
://pasky/srv/git/
e
links
.
g
it
commit
|
commitdiff
|
tree
2005-12-23
Jon
a
s Fonsec
a
Th
e
child nod
e
list can be NULL when
m
at
c
hin
g
for the
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
J
onas Fonseca
Fix
matching of t
h
e
:root
st
r
uct
u
ral pseudo-cla
s
s
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fo
n
seca
Tidyup
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
Oops,
c
omp
i
le fix
commit
|
commitdiff
|
tree
2005-12-22
Jonas
Fonseca
F
a
ctor
out code
t
o
n
e
w
match_element
_
sele
c
tor()
commit
|
commitdiff
|
tree
2005-12-22
Jona
s
Fo
n
seca
m
a
tc
h
_attribute_selectors(
)
: Factor o
u
t matching of
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
Drop unused g
e
t_dom_node_attributes(), com
m
e
n
t g
e
t_dom_no
d
e
_
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas F
o
nseca
dom_s
e
lect
_
push_element(): Use dom_nod
e
_casecmp() and
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
R
e
nam
e
dom_node_cmp(
)
to dom_
n
od
e
_casecm
p
() and make
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
d
om_node_cmp(): Make i
t
i
n
t
o a general node c
o
mparer
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
When searching DOM
n
ode lis
t
s sto
r
e
the
s
ubty
p
e in
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas
F
o
n
seca
search_dom_stack(): Use dom_
s
t
r
ing_casecmp() for comparison
commit
|
commitdiff
|
tree
2005-12-22
Jona
s
Fon
s
eca
Move code
for the fina
l
source
h
i
ghlig
h
t
f
lu
s
hi
n
g
to
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
J
o
na
s
F
onseca
pars
e
_sgml(): A
f
t
er par
s
ing
p
op the
s
t
a
ck b
a
c
k
to t
h
e
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fon
s
ec
a
Add a few
comme
n
t
a
nd re
m
o
v
e
an obsolete one
commit
|
commitdiff
|
tree
2005-12-22
Jonas Fonseca
Rename
the
D
OM tree
r
enderer
t
o DOM stack tracer
commit
|
commitdiff
|
tree
2005-12-22
Jonas F
o
nse
c
a
Make it so tha
t
the ind
e
n
t string
u
sed b
y
the tree
.
.
.
commit
|
commitdiff
|
tree
2005-12-22
J
on
a
s Fonseca
O
o
p
s
, do not
d
e
f
ine
DO
M
_TREE_RENDE
R
ER by d
e
faul
t
commit
|
commitdiff
|
tree
2005-12-22
Jo
n
as
Fo
n
seca
Add FIXME
about o
p
timizi
n
g walk
_
dom_n
o
des()
commit
|
commitdiff
|
tree
2005-12-22
Jonas
Fonseca
Add lots of comment
s
and F
I
XME
s
commit
|
commitdiff
|
tree
2005-12-21
Jona
s
Fons
e
ca
U
s
e
g
et_opt_codepag
e
_
t
ree(
)
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fons
e
ca
Misc
DO
M
s
e
lect
fixes
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonsec
a
Make the DOM tr
e
e renderer thi
n
g usable withou
t
a
d
om_render
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas
F
onseca
Turn the DOM
tre
e
renderer in
t
o
a
debug modul
e
commit
|
commitdiff
|
tree
2005-12-21
Jona
s
Fonseca
Fix the
DOM tree ren
d
erer to work with th
e
ne
w
stack
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fon
s
eca
get_dom_stack
_
state_data(): Make static
i
n
li
n
e
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas
Fons
e
ca
se
a
rch_dom_stack(): N
o
need to inl
i
ne thi
s
at
least
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jo
n
as
F
onseca
Improve
comme
n
ts
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonse
c
a
R
e
or
d
er so
m
e struct and fix
s
ome commen
t
s
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonse
c
a
I
n
troduce e
n
um dom
_
st
a
ck_flag to make
i
nit_dom_stack
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fo
n
s
eca
i
nit_dom
_
s
tack(): Drop unused object_si
z
e
a
rgumen
t
commit
|
commitdiff
|
tree
2005-12-21
Jo
n
as Fonseca
Move the state_objects
to the DOM stack contexts
commit
|
commitdiff
|
tree
2005-12-21
Jonas
Fonsec
a
R
emove the now unused
D
OM stack data membe
r
commit
|
commitdiff
|
tree
2005-12-21
J
o
na
s
Fonsec
a
Use a (for now bogus)
DOM stack context for holdin
g
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas
F
onseca
Use a (fo
r
now bogus) DOM stack context f
o
r
h
olding
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
Define
convinience macros
f
or getting parser a
n
d pa
r
ser
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jo
n
as Fon
s
eca
D
rop data member from
s
t
ruct sgm
l
_parser it is at stack
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas
F
onseca
Add current memb
e
r to
s
tru
c
t
d
o
m
_Stack which holds
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas
F
onseca
Add a
d
ata member to st
r
uct dom_stack_co
n
t
ext (not
.
.
.
commit
|
commitdiff
|
tree
2005-12-21
Jonas Fonseca
Introduce struct dom_
S
ta
c
k_context
commit
|
commitdiff
|
tree
2005-12-21
Jonas
F
onsec
a
R
e
n
ame: add_dom_s
t
ack_call
b
acks() -> add
_
do
m
_stack
_
context()
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
R
ename: struct
d
om_stack_cal
l
b
a
cks ->
str
u
ct
dom_st
a
ck_conte
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
Remove -
-
no-p
r
int
-
directory flag for the recursive
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jonas
F
onseca
An
d
the SGML p
a
r
ser should not add any call
b
acks an
y
more
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
M
a
ke the
D
O
M rend
e
rer add its ow
n
DOM stack
c
allbacks
commit
|
commitdiff
|
tree
2005-12-20
J
onas Fon
s
e
c
a
C
r
eate the SGML pa
r
ser->roo
t
n
o
d
e on
d
emand
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
A
l
low
f
o
r multiple callbacks to be
a
t
t
ached to the
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
J
o
nas Fonseca
Int
r
o
duce call_dom
_
stack_cal
l
b
a
c
ks as
a
common
w
a
y
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jona
s
F
o
nseca
Dro
p
the
r
eturn
value from d
o
m
_
stack_callback_T
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
Combi
n
e DOM stac
k
p
ush
a
n
d
p
o
p callbacks in
t
o
one s
t
ruct
commit
|
commitdiff
|
tree
2005-12-20
J
onas Fon
s
e
ca
Assoc
i
at
e
.
rss
file extension
wi
t
h
application
/
rss+xml
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonseca
Remove
C
ygwin bina
r
y addres
s
(returns 404)
commit
|
commitdiff
|
tree
2005-12-20
Jonas
Fonseca
Ret
i
re s
p
eciali
z
ed proc
-
instruction DOM
rende
r
er callback
commit
|
commitdiff
|
tree
2005-12-20
J
o
nas Fonseca
Only consider application/rss+xml internal with CONFIG_DOM
commit
|
commitdiff
|
tree
2005-12-20
J
o
nas Fon
s
e
c
a
Add ba
s
ic support for RSS parsing for ap
p
licat
i
on/rss
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jona
s
F
onseca
DOM
s
elect: Comp
l
etely rewrite the
p
arser f
o
r
nth arguments
commit
|
commitdiff
|
tree
2005-12-20
Jonas
F
onseca
get_child_do
m
_
select_node
(
): Use th
e
f
o
reach_dom_node
.
.
.
commit
|
commitdiff
|
tree
2005-12-20
Jonas Fonse
c
a
Make the SGML pa
r
ser read
y
for (specializing) doctypes
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fonseca
Remove som
e
incl
u
des
w
h
ic
h
are no longer need
e
d
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fonseca
Misc
c
leanups and
imp
r
ovements
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fons
e
c
a
match_attribu
t
e
_selectors(): Fix
warning about
uni
n
itialized
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jona
s
Fonseca
Add
basic functionality for se
l
ecting DOM nodes
b
a
sed
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jonas
F
o
ns
e
c
a
Chang
e
order of
v
ariables given to foreach_dom_node
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jo
n
as Fons
e
c
a
Rename D
O
M stack iterato
r
s
a
nd ma
k
e
t
hem include all
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jon
a
s Fonseca
Add boolean immutable flag to
t
h
e DO
M
stack state
commit
|
commitdiff
|
tree
2005-12-19
Jonas
F
onseca
Merge wi
t
h
git+ssh://pa
s
k
y/s
r
v/g
i
t/elinks
.
git
commit
|
commitdiff
|
tree
2005-12-19
Jonas Fonseca
Rename: dom_st
a
ck_has_parents() -> d
o
m_stack_is_
e
m
p
ty
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
J
onas
Fons
e
ca
do_pop_do
m
_
no
d
e(): move dom_stack_has_pare
n
ts() to
.
.
.
commit
|
commitdiff
|
tree
2005-12-19
Jo
n
a
s Fonseca
Re
t
i
r
e the S
E
E-base
d
*
.
j
s scr
i
pt
i
ng
b
a
c
ke
n
d
commit
|
commitdiff
|
tree
2005-12-18
Jonas Fonseca
Merg
e
with git+ssh://pasky
.
o
r
.
cz/srv
/
git/elinks
.
git
commit
|
commitdiff
|
tree
2005-12-18
Jonas Fo
n
seca
#incl
u
d
e
"src/sc
r
ipting/smjs/cache_object
.
h"
commit
|
commitdiff
|
tree
2005-12-18
J
onas Fonseca
Make all global variables
e
x
p
orted by src/
s
cripting
.
.
.
commit
|
commitdiff
|
tree
2005-12-18
W
i
t
o
ld Filipczyk
F
i
x p
r
obl
e
m with doub
l
e decomp
r
ession of
l
ocal file
s
commit
|
commitdiff
|
tree
2005-12-17
Jonas Fonsec
a
Fix order of args p
a
ssed to SE
E
_string_sprintf("%
.
*s"
)
commit
|
commitdiff
|
tree
2005-12-17
Jo
n
as
Fonseca
O
ne more compile fix for evhook_use_param() macro us
a
ge
commit
|
commitdiff
|
tree
2005-12-17
Jo
n
as Fonseca
Comp
i
le
f
ix
f
o
r arg usag
e
m
acro
commit
|
commitdiff
|
tree
2005-12-15
Jo
n
as Fonseca
M
erge with git+ssh
:
/
/
p
a
sky/srv/git/elinks
.
git
commit
|
commitdiff
|
tree
2005-12-15
J
onas Fonseca
pop_dom_state(): Drop un
u
s
ed left-o
v
er argum
e
nt
commit
|
commitdiff
|
tree
2005-12-15
J
onas Fonseca
dom_node_cmp():
O
nly us
e
element or
a
t
t
r
i
bute type
.
.
.
commit
|
commitdiff
|
tree
2005-12-15
Jonas Fo
n
s
eca
Rena
m
e: nav -> st
a
ck
commit
|
commitdiff
|
tree
2005-12-13
Jonas
Fonseca
M
erge with 5
e
f041c0
5
1
e
1b286b1af
3
f
b
de80
5
9
3
d
510eab
9
5b
commit
|
commitdiff
|
tree
2005-12-13
Jonas Fonseca
Redo the assert
m
() messa
g
e to just sho
w
the type of
.
.
.
commit
|
commitdiff
|
tree
2005-12-13
Jonas Fonseca
Prepare
the C
S
S scanner for tokeniz
i
ng ~
and + as char
.
.
.
commit
|
commitdiff
|
tree
2005-12-13
Jonas Fons
e
c
a
F
i
x
wr
o
ng assert
i
on message strin
g
commit
|
commitdiff
|
tree
2005-12-13
J
o
nas Fonseca
Don't try
M
I
ME h
a
ndlers for application/x-bit
t
o
r
rent
commit
|
commitdiff
|
tree
2005-12-13
J
o
nas Fonseca
Compile fix,
r
eporte
d
b
y
zas
commit
|
commitdiff
|
tree
2005-12-13
J
on
a
s Fo
n
seca
Add key parameter to t
h
e
t
racke
r
announce URI
commit
|
commitdiff
|
tree
2005-12-13
Jonas
Fonseca
Add
D
OM_NODE_UNKNOW
N
no
d
e ty
p
e for
interna
l
purposes
.
.
.
commit
|
commitdiff
|
tree
2005-12-13
J
o
na
s
Fonseca
Pr
e
pare the C
S
S scanner fo
r
par
s
ing [foo{|,*,^,$,}
.
.
.
commit
|
commitdiff
|
tree
2005-12-12
Jonas Fon
s
eca
set_
d
om_string(): take length as size_t; -1 means
u
s
e
.
.
.
commit
|
commitdiff
|
tree
next