Laurent MONIN
26e1ee5810
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-04 00:36:05 +01:00
Laurent MONIN
8b7657deaf
Use PF_* instead of AF_* as first parameter of socket(2).
2006-01-04 00:32:58 +01:00
Jonas Fonseca
0bfb1d7742
Free nodes created on the SGML parsing stack
2006-01-04 00:29:10 +01:00
Jonas Fonseca
aa75cade23
Reinsert part of comment for nVDash; fixes 8e0eda5e4d
2006-01-03 23:38:37 +01:00
Jonas Fonseca
66cf866ab6
Cleanup the DOM stack flags; s/KEEP_NODES/FREE_NODES/
2006-01-03 20:35:32 +01:00
Jonas Fonseca
7a5f699a88
Drop unneeded -b arg to cmp, which isn't available in FreeBSD's version
2006-01-03 20:00:06 +01:00
Jonas Fonseca
146ca09c43
Improve support for running 'make test' when srcdir != builddir
...
Additionally, also make TESTDEPS conditionally contain memdebug object
binary only if CONFIG_DEBUG is yes.
2006-01-03 19:04:17 +01:00
Jonas Fonseca
a20d3e4bfe
Use addsuffix instead of patsubst
2006-01-03 18:54:51 +01:00
Jonas Fonseca
8c7a1dfecc
Simplify the dependency and recursion setup so it's easier to add new rules
2006-01-03 18:50:26 +01:00
Jonas Fonseca
b5065e7a17
Add header about where to get the SGML entity database from unicode.org
...
... and summon up the local changes made.
2006-01-03 17:20:50 +01:00
Jonas Fonseca
8f18d1c6c8
Rebuild the entity table with Unicode/gen-ent
2006-01-03 17:14:33 +01:00
Jonas Fonseca
8c684e8c73
Skip entities with unknown unicode (0x????)
2006-01-03 17:12:58 +01:00
Jonas Fonseca
395a64f569
Merge in the public entity set names from the unicode.org database
...
This also fixes b.delta to have the correct value 0x03B4. The main difference
to ELinks' entity database is:
- entities not in the unicode database from 1997:
Scomma, Tcomma, euro, scomma, tcomma
- obsolete entities kept for compatibility:
emdash, endash, hibar
2006-01-03 17:10:19 +01:00
Jonas Fonseca
8e0eda5e4d
Merge in the 0x???? chars and fix some incomplete descriptions
2006-01-03 16:48:11 +01:00
Jonas Fonseca
3e6c08ce12
Move the SGML entity database back to the format used by unicode.org
2006-01-03 16:43:31 +01:00
Jonas Fonseca
a5d71488a2
Merge with git+ssh://pasky/srv/git/elinks.git
2006-01-03 15:20:47 +01:00
Jonas Fonseca
7d4b2ee5ed
Do a much needed update of the man pages
2006-01-03 15:18:49 +01:00
Jonas Fonseca
e2a79aeacb
Fix parsing by filtering the header outputed by ELinks
...
Also improve matching of option 'titles'.
2006-01-03 15:17:23 +01:00
Jonas Fonseca
638e0406f1
Drop empty lines from option descriptions; doc/tools/help2doc don't like em
2006-01-03 15:15:36 +01:00
Jonas Fonseca
0a844e6534
Drop useless comment block now that CVS Id tags are gone
...
... also drop comment about hacking.txt being extended gradually. AsciiDoc
burps on it and it really is kind of a boot message.
2006-01-03 14:28:26 +01:00
Laurent MONIN
08928b3606
Fix update-po target which failed to notice a change in source tree.
2006-01-03 14:04:25 +01:00
Laurent MONIN
0cdc748331
French translation was updated.
2006-01-03 13:44:15 +01:00
Laurent MONIN
208d2b50fe
Update year to 2006 in Copying message.
2006-01-03 13:37:15 +01:00
Laurent MONIN
0c9d2c5a6f
Let ftp-parser displays usage information when called with no arg or
...
empty string, instead of core dump in debug mode.
2006-01-03 13:33:11 +01:00
Jonas Fonseca
50183bf5d8
Add support for recursively running all tests
2006-01-03 02:07:51 +01:00
Jonas Fonseca
5c091720f7
Sort TESTDEPS
2006-01-03 01:55:26 +01:00
Jonas Fonseca
c1eb5aa24f
Also test parsing of EPLF FTP reponses
2006-01-03 01:55:18 +01:00
Jonas Fonseca
feb076a84a
Add the ftp-parser test program
2006-01-03 01:32:43 +01:00
Jonas Fonseca
513c06f2d0
Remove last remains of the built-in FTP parser testing
2006-01-03 01:30:46 +01:00
Jonas Fonseca
90a1440c03
Make a test-ftp-parser test script and remove the 'built-in' one
2006-01-03 01:28:44 +01:00
Jonas Fonseca
ba5bdfec00
Move the 'make test' handling to Makefile.lib
...
The test rule is defined when TEST_PROGS is defined. Users should also set
TESTDEPS to get the correct object files linked in.
2006-01-03 00:45:22 +01:00
Jonas Fonseca
23f0085842
Move src/dom/test/libtest test/libtest.sh, put path to it in TEST_LIB
2006-01-03 00:34:10 +01:00
Jonas Fonseca
f88cbe6761
Add check of incomplete text
2006-01-02 22:35:03 +01:00
Jonas Fonseca
42156f4477
Change one test description to start with 'Parse ...'
2006-01-02 22:31:28 +01:00
Jonas Fonseca
c3c4dd12df
Merge with git+ssh://pasky/srv/git/elinks.git
2006-01-02 21:05:18 +01:00
Jonas Fonseca
f75ccffbc7
Fix SGML parsing and scanning so that all tests succeeds
...
This includes checking the return token of get_next_dom_scanner_token() and
fixing the calculated size of recovered processing instruction data tokens.
2006-01-02 21:04:51 +01:00
Jonas Fonseca
0160c0a464
Make it possible to test how incomplete input is parsed
...
Also fix the expected output of proc. instruction test.
2006-01-02 21:02:41 +01:00
Miciah Dashiel Butler Masters
97b5b9cfe1
Check for hooks.js before trying to load it.
...
Check file_exists(path) before calling smjs_do_file(path)
in smjs_load_hooks to fix an error message when there is no hooks.js,
reported by zas.
2006-01-02 18:53:13 +00:00
Jonas Fonseca
e78d43f1ac
Add mode where the SGML scanner checks for completeness
2006-01-02 17:46:09 +01:00
Jonas Fonseca
af72dd8435
Make parse_sgml() return the sgml_parser_code enum
...
It is mostly just ignored for now. The SGML parser test tool will however
return parser code.
2006-01-02 17:40:42 +01:00
Jonas Fonseca
29279e71b7
Add SGML_TOKEN_INCOMPLETE and handle it in the parser
2006-01-02 17:20:39 +01:00
Jonas Fonseca
2d813f2cbf
Introduce enum sgml_parser_code and make the parsers return something
2006-01-02 17:14:51 +01:00
Jonas Fonseca
fcf7677584
Skip spaces immediately when recognising '<?ident'
2006-01-02 16:58:48 +01:00
Jonas Fonseca
8c9324cc37
Add test for SGML such as, e.g. '<parent<child/></parent>'
2006-01-02 16:26:01 +01:00
Jonas Fonseca
0071ea696c
Fix logic in update_number_of_lines() and tell parse_sgml() src is complete
2006-01-02 14:59:54 +01:00
Jonas Fonseca
2664a11a68
Merge with git+ssh://pasky/srv/git/elinks.git
2006-01-02 14:59:42 +01:00
Laurent MONIN
3f3b18e53b
Indentation fix.
2006-01-02 10:50:49 +01:00
Jonas Fonseca
58c31f44a0
Clearify the code a bit
2006-01-02 03:06:47 +01:00
Jonas Fonseca
dc10be626e
The attribute parsing of proc. instruction nodes has the complete source
2006-01-02 02:44:01 +01:00
Jonas Fonseca
f608e2a0ae
Add the concept of completeness to strings being parsed and scanned
...
... not used yet.
2006-01-02 02:08:20 +01:00