summaryrefslogtreecommitdiff
path: root/src/core/attr.c
Commit message (Collapse)AuthorAgeFilesLines
* unsigned long -> uint32_t, signed long and long -> int32_t, plus collateral ↵Daniel Silverstone2012-09-101-4/+4
| | | | fixes. Test suite does not pass
* When retrieving attribute values, if the attribute has a single child, said ↵Daniel Silverstone2012-03-261-1/+10
| | | | | | child is a text node, and has a value, then just ref that string and return it. svn path=/trunk/libdom/; revision=13722
* C89 for BeOS build.François Revel2012-03-241-15/+23
| | | | svn path=/trunk/libdom/; revision=13581
* Reduce padding in dom_attr struct.Michael Drake2012-02-151-5/+4
| | | | svn path=/trunk/libdom/; revision=13445
* Fix reference leakJohn Mark Bell2012-02-061-3/+2
| | | | svn path=/trunk/libdom/; revision=13432
* Merge branches/jmb/dom-alloc-purge back to trunkJohn Mark Bell2011-12-211-44/+38
| | | | svn path=/trunk/libdom/; revision=13316
* s/struct dom_string/dom_string/gJohn Mark Bell2011-04-071-10/+10
| | | | svn path=/trunk/libdom/; revision=12172
* Fix copy constructors to actually copy all members, instead of leaving the ↵John Mark Bell2010-12-061-1/+10
| | | | | | majority of them uninitialised svn path=/trunk/libdom/; revision=11023
* Merge branches/struggleyb/libdom-html to trunk.John Mark Bell2010-08-301-3/+263
| | | | | | A few additional fixes to reduce the number of regressions to single figures. svn path=/trunk/dom/; revision=10724
* Some formatting problem.Bo Yang2009-08-231-4/+4
| | | | svn path=/trunk/dom/; revision=9408
* Merge the branches/struggleyb/libdom-remain back to trunk.Bo Yang2009-08-111-72/+270
| | | | svn path=/trunk/dom/; revision=9191
* Fix the spelling initialize -> initialise.Bo Yang2009-03-201-1/+1
| | | | svn path=/trunk/dom/; revision=6809
* Convert DOM document interface to use vtable structure.Bo Yang2009-03-191-1/+0
| | | | svn path=/trunk/dom/; revision=6802
* Change the our dom to use vtable method. The first step: Bo Yang2009-03-121-17/+34
| | | | | | | convert the dom_node/dom_attr. And, this is my first commit. Great && Exciting! svn path=/trunk/dom/; revision=6780
* Rationalise dom_string (some consideration is required as to what happens ↵John Mark Bell2009-03-031-1/+1
| | | | | | | | | wrt interning -- lwc_strings should probably be used) Purge charset handling -- a) documents are always converted to utf-8 b) use parserutils for utf-8 handling Fix Hubbub binding to compile. svn path=/trunk/dom/; revision=6682
* Make the dom string class more useful.John Mark Bell2007-10-031-81/+23
| | | | | | | | Purge all trace of dom_string_get_data() from outside the dom string implementation. Port affected code to new, more useful, APIs. This also fixes the interned node name strings mentioned in the previous commit. svn path=/trunk/dom/; revision=3621
* Modify dom_node_initialise() API to permit specification of namespace URI ↵John Mark Bell2007-09-271-5/+8
| | | | | | | | and prefix. Fix up everything else to cope. svn path=/trunk/dom/; revision=3599
* Replace implementation of dom_attr_get_name() with call to ↵John Mark Bell2007-09-261-9/+3
| | | | | | dom_node_get_node_name(), which implements the gory details. svn path=/trunk/dom/; revision=3597
* Add dom_entity_reference_get_textual_representation() as an internal library ↵John Mark Bell2007-09-231-3/+117
| | | | | | | | function. Implement dom_attr_get_value() svn path=/trunk/dom/; revision=3588
* Fix compilation errors. It helps if you compile things before committing them...John Mark Bell2007-09-231-4/+5
| | | | svn path=/trunk/dom/; revision=3583
* Partial implementation of dom_attr_get_name()John Mark Bell2007-09-231-15/+56
| | | | | | | Implement dom_attr_set_value() Rework dom_attr_get_owner() to make use of base class' parent pointer rather than having an explicit owner pointer (the base class' parent pointer would be unused, otherwise, and the Node class is aware that attributes have no parent, so this is safe) svn path=/trunk/dom/; revision=3582
* Finalisation and destruction of nodesJohn Mark Bell2007-07-281-0/+47
| | | | svn path=/trunk/dom/; revision=3467
* Implement type-specific node constructors and veneer the appropriate ↵John Mark Bell2007-07-261-0/+48
| | | | | | Document APIs onto them. svn path=/trunk/dom/; revision=3463
* Add Element.John Mark Bell2007-07-111-1/+1
| | | | | | Fix Attr's get_schema_type_info to have the right name. svn path=/trunk/dom/; revision=3400
* Fix TypeInfo -> type_info conversionJohn Mark Bell2007-07-111-5/+5
| | | | svn path=/trunk/dom/; revision=3399
* Add NodeList and string comparison APIJohn Mark Bell2007-07-101-0/+2
| | | | svn path=/trunk/dom/; revision=3394
* Purge all trace of the ballache that was dom_ctx.John Mark Bell2007-07-061-30/+14
| | | | | | Document the functions in document.c svn path=/trunk/dom/; revision=3385
* Import DOM library.John Mark Bell2007-07-061-0/+173
This is mainly stub functions atm (and is missing a number of key interfaces). svn path=/trunk/dom/; revision=3384