Jonas Fonseca
|
6dfd7a5988
|
When searching DOM node lists store the subtype in the search struct's node
|
2005-12-22 23:29:07 +01:00 |
|
Jonas Fonseca
|
b64e122159
|
Change order of variables given to foreach_dom_node iterators
|
2005-12-19 02:57:00 +01:00 |
|
Jonas Fonseca
|
ef5d5fc27a
|
dom_node_cmp(): Only use element or attribute type ID if both are set
|
2005-12-15 22:02:02 +01:00 |
|
Jonas Fonseca
|
5ef041c051
|
Redo the assertm() message to just show the type of the node and parent
|
2005-12-13 20:08:58 +01:00 |
|
Jonas Fonseca
|
d1635d6970
|
Fix wrong assertion message string
You just cannot print dom_string structs with %s.
|
2005-12-13 16:33:50 +01:00 |
|
Jonas Fonseca
|
458fc5ee79
|
Review and change dom_string specific uint16_t value to size_t
|
2005-12-10 22:24:30 +01:00 |
|
Jonas Fonseca
|
cdc749def3
|
get_dom_node_value(): indent switch
|
2005-12-10 21:50:40 +01:00 |
|
Jonas Fonseca
|
86c9a37810
|
Factor out dom_string_casecmp()
|
2005-12-10 21:49:33 +01:00 |
|
Jonas Fonseca
|
0fab644bee
|
get_dom_node_value(): move non-compliant functionality to the tree renderer
Entity references are supposed to have a null value and the string
compression is for improving the tree view.
|
2005-12-10 21:37:47 +01:00 |
|
Jonas Fonseca
|
52f5276f92
|
get_dom_node_name(): indent switch statement
|
2005-12-10 20:05:01 +01:00 |
|
Jonas Fonseca
|
295679a5e6
|
get_dom_node_name(): return struct dom_string *
Also, simplify the rendering a bit for now.
|
2005-12-10 20:03:43 +01:00 |
|
Jonas Fonseca
|
2aedeb0a67
|
get_dom_node_type_name(): return struct dom_string *
|
2005-12-10 19:28:37 +01:00 |
|
Jonas Fonseca
|
5f69255cbc
|
get_dom_node_map_entry(): take name as a dom_string
Requires that dom_string->length becomes a size_t.
|
2005-12-10 19:21:12 +01:00 |
|
Jonas Fonseca
|
0546759b4b
|
Use struct dom_string for node->proc_instruction.instruction
|
2005-12-10 18:59:17 +01:00 |
|
Jonas Fonseca
|
ed7a292966
|
Use struct dom_string for node->attribute.value
|
2005-12-10 18:42:54 +01:00 |
|
Jonas Fonseca
|
ce3778c3c0
|
Add struct dom_string
In time it should be used for all strings in the DOM engine.
For now it is just used for node->string.
|
2005-12-10 18:37:47 +01:00 |
|
Jonas Fonseca
|
8f97dc8403
|
done_dom_node(): remove the node from all parent lists
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
|
2005-12-08 02:59:40 +01:00 |
|
Jonas Fonseca
|
93fb17ea2a
|
Indent switch statement
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
|
2005-12-08 02:32:23 +01:00 |
|
Jonas Fonseca
|
1c2f271782
|
Add parent member to dom_node
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
|
2005-12-08 01:35:48 +01:00 |
|
Laurent MONIN
|
df065ead80
|
Remove now useless $Id: lines.
|
2005-10-21 09:14:07 +02:00 |
|
Jonas Fonseca
|
50f4b46616
|
dom_node_cmp(): Minor optimization
|
2005-09-27 14:39:40 +02:00 |
|
Petr Baudis
|
0f6d4310ad
|
Initial commit of the HEAD branch of the ELinks CVS repository, as of
Thu Sep 15 15:57:07 CEST 2005. The previous history can be added to this
by grafting.
|
2005-09-15 15:58:31 +02:00 |
|