Jonas Fonseca
|
c24c67ce59
|
Make it possible to initialise a scanner in a specific state
|
2005-12-29 18:20:03 +01:00 |
|
Jonas Fonseca
|
889a0f16f8
|
Fix the expected output of processing instruction parsing
Spaces after the target should be skipped.
|
2005-12-29 18:00:26 +01:00 |
|
Jonas Fonseca
|
ba5dbd3a18
|
Add test_output_equals helper and add a few more tests
The last one fails for now. Incorrect parsing of processing instructions.
|
2005-12-29 06:54:41 +01:00 |
|
Jonas Fonseca
|
23f21f1924
|
Fine tune how some of the nodes are printed, fix string compressing
|
2005-12-29 06:50:51 +01:00 |
|
Jonas Fonseca
|
602d2d8a66
|
Add README for the test infrastructure mostly pasted from git/t/README
|
2005-12-29 05:12:36 +01:00 |
|
Jonas Fonseca
|
d394cb0bc1
|
Grab GITs shell script-based test infrastructure and add "Hello world" test
|
2005-12-29 04:44:03 +01:00 |
|
Jonas Fonseca
|
f42b39ee3c
|
Fix indentation so that things are printed at the start of the line
|
2005-12-29 04:39:20 +01:00 |
|
Jonas Fonseca
|
8dcbaa76f3
|
sgml-parser: Make it possible to specify the URL and the source to parse
|
2005-12-29 04:29:13 +01:00 |
|
Jonas Fonseca
|
c475f1fc0c
|
Drop linking with util/string.o, since memdebug no longer requires it
|
2005-12-28 23:07:06 +01:00 |
|
Jonas Fonseca
|
4feba6d515
|
Use stdio when printing enhanced values instead of allocating first
|
2005-12-28 23:02:45 +01:00 |
|
Jonas Fonseca
|
4bbc25c532
|
Remove dependency on util/string.h from dom/string.h
|
2005-12-28 21:20:55 +01:00 |
|
Jonas Fonseca
|
9bd346c295
|
dom_scanner_token_contains(): Use strcasecmp() instead of strlcasecmp()
|
2005-12-28 21:18:08 +01:00 |
|
Jonas Fonseca
|
fb6ca9a390
|
Use dom_string for storing the name member of dom_scanner_string_mapping
|
2005-12-28 21:10:05 +01:00 |
|
Jonas Fonseca
|
f1015f8a6a
|
Make files include dom/string.h instead of util/string.h directly
|
2005-12-28 20:45:55 +01:00 |
|
Jonas Fonseca
|
e34d0d3de4
|
Initialize the string->length in init_dom_string()
|
2005-12-28 19:49:22 +01:00 |
|
Jonas Fonseca
|
1b71368459
|
Add proof-of-concept stand-alone test binary which just prints Hello World
May it multiply in great numbers and help to stabilize the DOM
implementation.
|
2005-12-28 17:10:01 +01:00 |
|
Jonas Fonseca
|
1bd0c8758e
|
Make the DOM node creators take dom_string structs
|
2005-12-28 16:47:28 +01:00 |
|
Jonas Fonseca
|
ec7b293e4e
|
Some minor cleanup of token string access
|
2005-12-28 16:34:42 +01:00 |
|
Jonas Fonseca
|
6e163b186c
|
Make the dom_scanner_token store it's string in a dom_string struct
|
2005-12-28 16:23:36 +01:00 |
|
Jonas Fonseca
|
97c702c674
|
Make init_dom_select() take dom_string struct
|
2005-12-28 15:57:37 +01:00 |
|
Jonas Fonseca
|
2e4e404145
|
Make init_dom_scanner() take the source string as a dom_string struct
|
2005-12-28 15:55:21 +01:00 |
|
Jonas Fonseca
|
62d981c551
|
Store struct dom_scan_table_info data in a dom_string
|
2005-12-28 15:51:31 +01:00 |
|
Jonas Fonseca
|
73785bee02
|
Remove some unneeded #includes
|
2005-12-28 15:36:58 +01:00 |
|
Jonas Fonseca
|
dbf0948062
|
Do not decode entity references and fix the tree tracer for document nodes
The idea is to make the DOM thing not depend on too many external things.
|
2005-12-28 15:27:05 +01:00 |
|
Jonas Fonseca
|
d1e275be52
|
Make parse_sgml() take buffer as dom_string struct
|
2005-12-28 15:21:45 +01:00 |
|
Jonas Fonseca
|
11e168aba4
|
Make init_sgml_parser() take URI as dom_string struct
|
2005-12-28 15:19:10 +01:00 |
|
Jonas Fonseca
|
71533eef9a
|
Elute all DOM-related code and put it in src/dom
|
2005-12-28 14:05:14 +01:00 |
|