Skip to content

Commit

Permalink
Project moved to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiehanson committed Nov 3, 2011
1 parent 337c21a commit 106081e
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 2 deletions.
23 changes: 22 additions & 1 deletion KissXML/DDXML.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
/**
* Welcome to KissXML.
*
* The project page has documentation if you have questions.
* https://github.com/robbiehanson/KissXML
*
* If you're new to the project you may wish to read the "Getting Started" wiki.
* https://github.com/robbiehanson/KissXML/wiki/GettingStarted
*
* KissXML provides a drop-in replacement for Apple's NSXML class cluster.
* The goal is to get the exact same behavior as the NSXML classes.
*
* For API Reference, see Apple's excellent documentation,
* either via Xcode's Mac OS X documentation, or via the web:
*
* https://github.com/robbiehanson/KissXML/wiki/Reference
**/

#import "DDXMLNode.h"
#import "DDXMLElement.h"
#import "DDXMLDocument.h"


// KissXML has rather straight-forward memory management:
// http://code.google.com/p/kissxml/wiki/MemoryManagementThreadSafety
// https://github.com/robbiehanson/KissXML/wiki/MemoryManagementThreadSafety
//
// There are 3 important concepts to keep in mind when working with KissXML:
//
Expand Down Expand Up @@ -90,6 +108,9 @@
// So everytime a DDXML wrapper objects is about to dereference it's pointer,
// it first ensures the linkage still exists in the table.
//
// Set to 1 to enable
// Set to 0 to disable (this is the default)
//
// The debugging macro adds a significant amount of overhead, and should NOT be enabled on production builds.

#define DDXML_DEBUG_MEMORY_ISSUES 0
17 changes: 17 additions & 0 deletions KissXML/DDXMLDocument.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
#import "DDXMLElement.h"
#import "DDXMLNode.h"

/**
* Welcome to KissXML.
*
* The project page has documentation if you have questions.
* https://github.com/robbiehanson/KissXML
*
* If you're new to the project you may wish to read the "Getting Started" wiki.
* https://github.com/robbiehanson/KissXML/wiki/GettingStarted
*
* KissXML provides a drop-in replacement for Apple's NSXML class cluster.
* The goal is to get the exact same behavior as the NSXML classes.
*
* For API Reference, see Apple's excellent documentation,
* either via Xcode's Mac OS X documentation, or via the web:
*
* https://github.com/robbiehanson/KissXML/wiki/Reference
**/

enum {
DDXMLDocumentXMLKind = 0,
Expand Down
17 changes: 17 additions & 0 deletions KissXML/DDXMLDocument.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
#import "DDXMLPrivate.h"
#import "NSString+DDXML.h"

/**
* Welcome to KissXML.
*
* The project page has documentation if you have questions.
* https://github.com/robbiehanson/KissXML
*
* If you're new to the project you may wish to read the "Getting Started" wiki.
* https://github.com/robbiehanson/KissXML/wiki/GettingStarted
*
* KissXML provides a drop-in replacement for Apple's NSXML class cluster.
* The goal is to get the exact same behavior as the NSXML classes.
*
* For API Reference, see Apple's excellent documentation,
* either via Xcode's Mac OS X documentation, or via the web:
*
* https://github.com/robbiehanson/KissXML/wiki/Reference
**/

@implementation DDXMLDocument

Expand Down
17 changes: 17 additions & 0 deletions KissXML/DDXMLElement.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
#import <Foundation/Foundation.h>
#import "DDXMLNode.h"

/**
* Welcome to KissXML.
*
* The project page has documentation if you have questions.
* https://github.com/robbiehanson/KissXML
*
* If you're new to the project you may wish to read the "Getting Started" wiki.
* https://github.com/robbiehanson/KissXML/wiki/GettingStarted
*
* KissXML provides a drop-in replacement for Apple's NSXML class cluster.
* The goal is to get the exact same behavior as the NSXML classes.
*
* For API Reference, see Apple's excellent documentation,
* either via Xcode's Mac OS X documentation, or via the web:
*
* https://github.com/robbiehanson/KissXML/wiki/Reference
**/

@interface DDXMLElement : DDXMLNode
{
Expand Down
17 changes: 17 additions & 0 deletions KissXML/DDXMLElement.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
#import "DDXMLPrivate.h"
#import "NSString+DDXML.h"

/**
* Welcome to KissXML.
*
* The project page has documentation if you have questions.
* https://github.com/robbiehanson/KissXML
*
* If you're new to the project you may wish to read the "Getting Started" wiki.
* https://github.com/robbiehanson/KissXML/wiki/GettingStarted
*
* KissXML provides a drop-in replacement for Apple's NSXML class cluster.
* The goal is to get the exact same behavior as the NSXML classes.
*
* For API Reference, see Apple's excellent documentation,
* either via Xcode's Mac OS X documentation, or via the web:
*
* https://github.com/robbiehanson/KissXML/wiki/Reference
**/

@implementation DDXMLElement

Expand Down
17 changes: 17 additions & 0 deletions KissXML/DDXMLNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@

@class DDXMLDocument;

/**
* Welcome to KissXML.
*
* The project page has documentation if you have questions.
* https://github.com/robbiehanson/KissXML
*
* If you're new to the project you may wish to read the "Getting Started" wiki.
* https://github.com/robbiehanson/KissXML/wiki/GettingStarted
*
* KissXML provides a drop-in replacement for Apple's NSXML class cluster.
* The goal is to get the exact same behavior as the NSXML classes.
*
* For API Reference, see Apple's excellent documentation,
* either via Xcode's Mac OS X documentation, or via the web:
*
* https://github.com/robbiehanson/KissXML/wiki/Reference
**/

enum {
DDXMLInvalidKind = 0,
Expand Down
19 changes: 18 additions & 1 deletion KissXML/DDXMLNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@
#import <libxml/xpath.h>
#import <libxml/xpathInternals.h>

/**
* Welcome to KissXML.
*
* The project page has documentation if you have questions.
* https://github.com/robbiehanson/KissXML
*
* If you're new to the project you may wish to read the "Getting Started" wiki.
* https://github.com/robbiehanson/KissXML/wiki/GettingStarted
*
* KissXML provides a drop-in replacement for Apple's NSXML class cluster.
* The goal is to get the exact same behavior as the NSXML classes.
*
* For API Reference, see Apple's excellent documentation,
* either via Xcode's Mac OS X documentation, or via the web:
*
* https://github.com/robbiehanson/KissXML/wiki/Reference
**/

@implementation DDXMLNode

Expand Down Expand Up @@ -1973,7 +1990,7 @@ static void MyErrorHandler(void * userData, xmlErrorPtr error)
// What is zombie tracking and how does it work?
//
// It is all explained in full detail here:
// http://code.google.com/p/kissxml/wiki/MemoryManagementThreadSafety
// https://github.com/robbiehanson/KissXML/wiki/MemoryManagementThreadSafety
//
// But here's a quick overview in case you're on a plane right now
// (and the plane doesn't have internet access, or charges some ridiculous amount and you don't want to pay for it.)
Expand Down

0 comments on commit 106081e

Please sign in to comment.