Jonas Fonseca
9e7b0d4fa3
Remove assertion logic from parse_sgml_attributes()
...
They are getting out of hand and making it hard to use the function in
'unusual' situations (like when resuming parsing inside elements).
2006-01-28 01:09:05 +01:00
Jonas Fonseca
1e104afbba
Improve error checking when adding nodes
...
Fail with SGML_PARSER_CODE_MEM_ALLOC.
2006-01-28 01:05:42 +01:00
Jonas Fonseca
74728cab05
Also set the node subtype for <?xml-stylesheet?>
2006-01-28 01:00:28 +01:00
Jonas Fonseca
bccf5512d6
Force an incomplete token for quoted attribute values when there's no end
2006-01-28 00:56:48 +01:00
Jonas Fonseca
a2376609e3
Expand the testing of incremental parsing
...
There are still some bugs to resolve.
2006-01-28 00:50:06 +01:00
Jonas Fonseca
0f8aa77ebb
Add test for incremental SGML parsing
...
It is a loop that parses the same small document with various read sizes.
The sgml-parser program is updated to take --stdin option taking a the read
size as a required parameter.
2006-01-27 07:49:15 +01:00
Jonas Fonseca
b25cd27232
Add support incremental parsing
...
That is, add the last parts that saves and resumes previous incomplete
parsing states. Now the parsing stack push handler checks if the parent has
a resume flag set. When set, the incomplete fragment to resume is restored
and the new source fragment appended and parsing is continued.
2006-01-27 07:47:17 +01:00
Jonas Fonseca
9d91994f3c
Propone updating the scanner->state until incompleteness has been checked
...
That way the scanner state is meaningful when resuming during incremental
parsing.
2006-01-27 07:41:42 +01:00
Jonas Fonseca
c18740b30d
Revert FreeBSD sed changes; they don't work for GNU sed
2006-01-27 02:52:44 +01:00
Jonas Fonseca
c4d22f9c24
Fix shell scripts to work better with FreeBSD's sed
2006-01-27 02:32:48 +01:00
Jonas Fonseca
20baf3b207
Newer versions of AsciiDoc (7.0.5 atleast) needs to be passed --unsafe
...
Detect this in configure and set ASCIIDOC_FLAGS accordingly.
2006-01-27 02:32:06 +01:00
Jonas Fonseca
3824ea99a7
Mention API docs, and how to build them
2006-01-27 01:06:59 +01:00
e8030e09fd
Set text/plain for errors
2006-01-26 18:35:58 +01:00
8d4f44f2f1
Content-Type handling
2006-01-26 18:20:13 +01:00
f47daa2291
Use slashes after directories. Blocks are not used where there is only
...
one instruction
2006-01-26 14:34:11 +01:00
Jonas Fonseca
20498d7140
Merge with git+ssh://pasky/srv/git/elinks.git
2006-01-25 23:17:13 +01:00
Jonas Fonseca
bea1a0c559
Handle <base href=""> for HTML source rendering
...
Requested by witekfl.
2006-01-25 23:16:30 +01:00
Jonas Fonseca
89a95a5fc5
Rename enum html_element_type to html_element_mortality_type
...
This name is reserved for DOM.
2006-01-25 23:13:10 +01:00
witekfl
e5dbbff398
Set returned value.
2006-01-25 22:22:10 +01:00
witekfl
ea2d7a3325
Simplification.
2006-01-25 20:19:55 +01:00
Jonas Fonseca
afb45aace5
Add support for scanning comment endings such as '--!>' correctly
2006-01-25 18:18:01 +01:00
Laurent MONIN
cda61d0176
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-25 17:21:11 +01:00
Laurent MONIN
cf8de45782
Cleanup and tidy up window.open workaround.
2006-01-25 17:20:47 +01:00
Laurent MONIN
f6f66a28c8
Fix warning: variable xxx might be clobbered by longjmp or vfork, that
...
occur with gcc 2.95.3.
2006-01-25 17:03:15 +01:00
Miciah Dashiel Butler Masters
4fda3ba828
Use <meta> refresh instead of elinks.location method.
...
Instead of assigning the URI for the video to elinks.location, instead
create a <meta> tag to automatically load the video. This way, the video
will still be automatically loaded when the document is loaded from cache.
2006-01-25 15:52:19 +00:00
Miciah Dashiel Butler Masters
8391080201
Reflow some logic in google_video.js.
2006-01-25 15:50:51 +00:00
Miciah Dashiel Butler Masters
8a4a18796b
Add a rewrite rule for video.google.com to automatically play videos
...
From the file:
Play videos at video.google.com with minimal niggling. Just follow
the link from the front page or the search page, and the video will
automatically be loaded.
2006-01-25 15:36:31 +00:00
witekfl
c204af75fe
Because of gradual rendering window.open is called many times with the same
...
arguments. This workaround remembers 8 last opened URLs and do not let
open them again.
2006-01-25 11:50:46 +01:00
c75fdeec39
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-22 10:27:13 +01:00
Jonas Fonseca
e117e41f99
List native FSP protocol, SEE ecmascript and crappy RSS renderer under NEWS
2006-01-22 06:20:58 +01:00
Jonas Fonseca
7e6f398602
Revert OBJECT_HEAD() part of tcc cleanups
...
The LIST_HEAD() change to OBJECT_HEAD() doesn't work when debuging is
enabled.
Fixes: d18809522e
2006-01-22 06:18:40 +01:00
Jonas Fonseca
ba3e4a611d
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-21 23:38:15 +01:00
61c43faacc
Do not include see/see.h in header files
2006-01-21 22:19:22 +01:00
d18809522e
Make elinks tcc (tiny C compiler) friendly.
...
If you want to try tcc use CC=tcc ./configure and make LD=tcc.
I built ELinks with tcc, but ELinks segfaults.
2006-01-21 21:33:23 +01:00
20f587a725
Do not link -lfsplib when FSP is not enabled
2006-01-21 20:46:37 +01:00
Jonas Fonseca
384a2d66e5
Fix inclusion of header files after CONFIG_{MD5,SHA1} were removed
...
Fixes: 206037eaa4
2006-01-21 08:44:19 +01:00
Jonas Fonseca
d5f6f198b1
Abandon usage of $(eval) for test dependency
...
They lead to problems with FreeBSD's gmake.
2006-01-21 08:37:13 +01:00
Jonas Fonseca
3f659f7876
Fix the mailcap test program's dependency on gettext
2006-01-21 08:32:17 +01:00
Jonas Fonseca
91e8fdf34b
Fix the EPLF FTP parser test to run FreeBSD
2006-01-21 08:28:57 +01:00
Jonas Fonseca
e960992d06
Try to cleanup the spidermonkey configuring
...
Remove the entry in features.log all devoted to spidermonkey.
2006-01-20 16:31:59 +01:00
Jonas Fonseca
98e51edde0
Don't contaminate CFLAGS with stuff from RUBY_CFLAGS
2006-01-20 16:17:09 +01:00
Jonas Fonseca
4570c4976e
Use CONFIG_ECMASCRIPT_SMJS in favour of CONFIG_SPIDERMONKEY, specificity!
2006-01-20 15:56:40 +01:00
witekfl
dcc07a7f68
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-20 15:27:23 +01:00
witekfl
943cbd1bc6
Do not link against -ljs when SEE is used and sm-scripting is disabled
2006-01-20 15:26:57 +01:00
Jonas Fonseca
2eba71d95b
Add support for testing normalization using the DOM configuration module
2006-01-20 02:08:46 +01:00
Jonas Fonseca
cc61578fcb
Fix node pushing in walk_dom_nodes()
2006-01-20 02:07:24 +01:00
Jonas Fonseca
22e647813e
Fix DOM_CONFIG_NORMALIZE_WHITESPACE comment
2006-01-20 02:06:41 +01:00
Jonas Fonseca
7fe214fbb2
Fix text node appending; fix DOM configuration parser
2006-01-19 04:54:30 +01:00
Jonas Fonseca
fe43bf8a4f
Fix leaks in the DOM stack tracer
2006-01-19 04:51:33 +01:00
Jonas Fonseca
126ae8c764
#include dom/node.h instead of dom/stack.h
2006-01-19 04:50:10 +01:00