Commit graph

21 commits

Author SHA1 Message Date
Doug Simons
01ed308814 add methods to keep the entire tree from getting deallocated while there are any external references to any object in the tree
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34579 72102866-910b-0410-8b05-ffd578937521
2012-01-18 20:12:27 +00:00
Gregory John Casamento
e1ac9467bf * Source/NSXMLDTDNode.m: Remove uneeded releases in dealloc.
* Source/NSXMLPrivate.h: Remove ivars from NSXMLDTDNode.h



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34578 72102866-910b-0410-8b05-ffd578937521
2012-01-18 17:53:11 +00:00
Gregory John Casamento
f3a158c77f * Source/NSXMLNode.m: Add code in initWithKind
* Source/NSXMLDTDNode.m: Remove attributes, use libxml2 structures
	instead.
	* Source/NSXMLPrivate.h: Add define for MY_DTD.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34577 72102866-910b-0410-8b05-ffd578937521
2012-01-18 17:48:19 +00:00
Gregory John Casamento
6a39289591 * Source/NSXMLNode.m
* Source/NSXMLPrivate.h: Implement XPath query.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34540 72102866-910b-0410-8b05-ffd578937521
2012-01-15 15:48:44 +00:00
Gregory John Casamento
db0fefff04 Remove uneeded ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34516 72102866-910b-0410-8b05-ffd578937521
2012-01-13 22:10:41 +00:00
Gregory John Casamento
3fd92857a4 Cleanup of ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34514 72102866-910b-0410-8b05-ffd578937521
2012-01-13 19:44:55 +00:00
Doug Simons
f7aff866ac added subNodes ivar to track ownership of nodes in a tree
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34513 72102866-910b-0410-8b05-ffd578937521
2012-01-13 19:24:44 +00:00
Doug Simons
a9e3ce01aa cleaned up some more things
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34507 72102866-910b-0410-8b05-ffd578937521
2012-01-12 22:41:55 +00:00
Doug Simons
8772885b71 added XMLStringCopy to properly copy NSStrings as xml strings; use it for setting name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34505 72102866-910b-0410-8b05-ffd578937521
2012-01-12 18:50:56 +00:00
Doug Simons
d9db64516a defined StringFromXMLString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34489 72102866-910b-0410-8b05-ffd578937521
2012-01-11 01:12:35 +00:00
Doug Simons
4096c0a471 NSXMLDocument is starting to compile now
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34485 72102866-910b-0410-8b05-ffd578937521
2012-01-10 22:25:22 +00:00
Gregory John Casamento
7566c5da55 Changes for NSXML (DOES NOT COMPILE)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34484 72102866-910b-0410-8b05-ffd578937521
2012-01-10 20:42:32 +00:00
Richard Frith-MacDonald
1c23e5145d Make sure code passes testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34456 72102866-910b-0410-8b05-ffd578937521
2012-01-07 13:08:03 +00:00
Richard Frith-MacDonald
42f0192c2c Rewrite hierarchy handling to match OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34441 72102866-910b-0410-8b05-ffd578937521
2012-01-06 12:22:30 +00:00
Richard Frith-MacDonald
40f0d0425c add a feew comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34414 72102866-910b-0410-8b05-ffd578937521
2012-01-04 13:00:04 +00:00
Richard Frith-MacDonald
ded72b8e75 Fix NSXML ABI breakage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34412 72102866-910b-0410-8b05-ffd578937521
2012-01-04 12:41:45 +00:00
Gregory John Casamento
fa4435dec6 * Headers/Foundation/NSXMLElement.h: Change _attributes to be
a NSMutableDictionary instead of an NSMutableArray.
	* Source/NSXMLElement.m: Change implementation of some methods
	to use an NSMutableDictionary instead of arrays.  Initialize
	ivars in initializer.
	* Source/NSXMLPrivate.h: Remove redundant method.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34394 72102866-910b-0410-8b05-ffd578937521
2012-01-03 03:28:25 +00:00
Gregory John Casamento
7b7b2a6f9d First cut at NSXMLDocument changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34371 72102866-910b-0410-8b05-ffd578937521
2011-12-30 21:40:12 +00:00
Richard Frith-MacDonald
4a5cb96bef For the avoidance of confusion, remove references to obsolete header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33562 72102866-910b-0410-8b05-ffd578937521
2011-07-15 13:53:45 +00:00
Richard Frith-MacDonald
21d597e740 merge back reorganisation branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29615 72102866-910b-0410-8b05-ffd578937521
2010-02-14 10:48:10 +00:00
Richard Frith-MacDonald
910deff1a6 Add skeletal NSXML work as requested.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27824 72102866-910b-0410-8b05-ffd578937521
2009-02-09 16:16:11 +00:00