+2005-04-23 Helge Hess <helge.hess@opengroupware.org>
+
+ * fixed loads of @protocol related gcc 4.0 warnings (v4.5.14)
+
2004-12-14 Marcus Mueller <znek@mulle-kybernetik.com>
* DOM.xcode: minor cleanup
/* attributes */
-- (id)ownerElement {
+- (IDOMElement)ownerElement {
return self->element;
}
-- (id)ownerDocument {
+- (IDOMDocument)ownerDocument {
return [[self ownerElement] ownerDocument];
}
return DOM_ATTRIBUTE_NODE;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return nil;
}
-- (id)nextSibling {
+- (id<NSObject,DOMNode>)nextSibling {
return nil;
}
-- (id)previousSibling {
+- (id<NSObject,DOMNode>)previousSibling {
return nil;
}
- (BOOL)hasChildNodes {
return NO;
}
-- (id)childNodes {
+- (id<NSObject,DOMNodeList>)childNodes {
return nil;
}
-- (id)appendChild:(id)_node {
+- (id<NSObject,DOMNode>)appendChild:(id<NSObject,DOMNode>)_node {
return nil;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
/* the node's parent was deallocated */
self->parent = nil;
}
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return self->parent;
}
- (BOOL)hasChildNodes {
return NO;
}
-- (id)childNodes {
+- (id<NSObject,DOMNodeList>)childNodes {
return nil;
}
-- (id)appendChild:(id)_node {
+- (id<NSObject,DOMNode>)appendChild:(id<NSObject,DOMNode>)_node {
return nil;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
/* attributes */
-- (id)doctype {
+- (id<NSObject,DOMDocumentType>)doctype {
return self->doctype;
}
- (DOMImplementation *)implementation {
return self->dom;
}
-- (id)documentElement {
+- (id<NSObject,DOMElement>)documentElement {
id children;
unsigned i, count;
return DOM_DOCUMENT_NODE;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
-- (DOMDocument *)ownerDocument {
+- (IDOMDocument)ownerDocument {
return nil;
}
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
/* document cannot be nested */
return nil;
}
-- (id)nextSibling {
+- (id<NSObject,DOMNode>)nextSibling {
/* document cannot be nested */
return nil;
}
-- (id)previousSibling {
+- (id<NSObject,DOMNode>)previousSibling {
/* document cannot be nested */
return nil;
}
[(NSMutableArray *)[_walker context] addObject:node];
}
-- (id)getElementsByTagName:(NSString *)_tagName {
+- (id<NSObject,DOMNodeList>)getElementsByTagName:(NSString *)_tagName {
/* introduced in DOM2, should return a *live* list ! */
NSMutableArray *array;
DOMNodePreorderWalker *walker;
return [[array copy] autorelease];
}
-- (id)getElementsByTagName:(NSString *)_tagName namespaceURI:(NSString *)_uri {
+- (id<NSObject,DOMNodeList>)getElementsByTagName:(NSString *)_tagName
+ namespaceURI:(NSString *)_uri
+{
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-- (id)getElementById:(NSString *)_eid {
+- (id<NSObject,DOMElement>)getElementById:(NSString *)_eid {
/*
Introduced in DOM2
return [self->dom domEntityReferenceClass];
}
-- (id)createElement:(NSString *)_tagName {
+- (id<NSObject,DOMElement>)createElement:(NSString *)_tagName {
id elem;
elem = [[[self domElementClass]
alloc]
initWithTagName:_tagName];
return [elem autorelease];
}
-- (id)createElement:(NSString *)_tagName namespaceURI:(NSString *)_uri {
+- (id<NSObject,DOMElement>)createElement:(NSString *)_tagName
+ namespaceURI:(NSString *)_uri
+{
id elem;
elem = [[[self domElementNSClass]
alloc]
return [elem autorelease];
}
-- (id)createDocumentFragment {
+- (id<NSObject,DOMDocumentFragment>)createDocumentFragment {
id elem;
elem = [[[self domDocumentFragmentClass] alloc] init];
return [elem autorelease];
}
-- (id)createTextNode:(NSString *)_data {
+- (id<NSObject,DOMText>)createTextNode:(NSString *)_data {
id elem;
elem = [[[self domTextNodeClass] alloc] initWithString:_data];
return [elem autorelease];
}
-- (id)createComment:(NSString *)_data {
+- (id<NSObject,DOMComment>)createComment:(NSString *)_data {
id elem;
elem = [[[self domCommentClass] alloc] initWithString:_data];
return [elem autorelease];
}
-- (id)createCDATASection:(NSString *)_data {
+- (id<NSObject,DOMCDATASection>)createCDATASection:(NSString *)_data {
id elem;
elem = [[[self domCDATAClass] alloc] initWithString:_data];
return [elem autorelease];
}
-- (id)createProcessingInstruction:(NSString *)_target data:(NSString *)_data {
+- (id<NSObject,DOMProcessingInstruction>)createProcessingInstruction:
+ (NSString *)_target data:(NSString *)_data
+{
id elem;
elem = [[[self domProcessingInstructionClass]
alloc]
return [elem autorelease];
}
-- (id)createAttribute:(NSString *)_name {
+- (id<NSObject,DOMAttr>)createAttribute:(NSString *)_name {
id elem;
elem = [[[self domAttributeClass]
alloc]
initWithName:_name];
return [elem autorelease];
}
-- (id)createAttribute:(NSString *)_name namespaceURI:(NSString *)_uri {
+- (id<NSObject,DOMAttr>)createAttribute:(NSString *)_name
+ namespaceURI:(NSString *)_uri
+{
id elem;
elem = [[[self domAttributeNSClass]
alloc]
return [elem autorelease];
}
-- (id)createEntityReference:(NSString *)_name {
+- (id<NSObject,DOMEntityReference>)createEntityReference:(NSString *)_name {
id elem;
elem = [[[self domEntityReferenceClass] alloc] initWithName:_name];
return [elem autorelease];
- (BOOL)hasChildNodes {
return NO;
}
-- (id)childNodes {
+- (id<NSObject,DOMNodeList>)childNodes {
return nil;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
/* the node's parent was deallocated */
self->parent = nil;
}
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return self->parent;
}
[(NSMutableArray *)[_walker context] addObject:node];
}
-- (id)getElementsByTagName:(NSString *)_tagName {
+- (id<NSObject,DOMNodeList>)getElementsByTagName:(NSString *)_tagName {
/* introduced in DOM2, should return a *live* list ! */
NSMutableArray *array;
DOMNodePreorderWalker *walker;
[walker release]; walker = nil;
return [[array copy] autorelease];
}
-- (id)getElementsByTagName:(NSString *)_tagName namespaceURI:(NSString *)_uri {
+- (id<NSObject,DOMNodeList>)getElementsByTagName:(NSString *)_tagName
+ namespaceURI:(NSString *)_uri
+{
// TODO: implement
[self doesNotRecognizeSelector:_cmd];
return nil;
return [[self attributeNode:_localName namespaceURI:_ns] value];
}
-- (id)setAttributeNodeNS:(id)_attrNode {
+- (id<NSObject, DOMAttr>)setAttributeNodeNS:(id<NSObject, DOMAttr>)_attrNode {
id key, oldNode;
if (_attrNode == nil)
withObject:_attrNode];
[self->keyToAttribute setObject:_attrNode forKey:key];
- [_attrNode _domNodeRegisterParentNode:self];
+ [(id)_attrNode _domNodeRegisterParentNode:self];
[self _attributeSetChanged];
return _attrNode;
[self->keyToAttribute setObject:_attrNode forKey:key];
[self->attributes addObject:_attrNode];
- [_attrNode _domNodeRegisterParentNode:self];
+ [(id)_attrNode _domNodeRegisterParentNode:self];
[self _attributeSetChanged];
// NSLog(@"added attr %@, elem %@", _attrNode, self);
[self removeAttributeNodeNS:node];
}
-- (id)removeAttributeNodeNS:(id)_attrNode {
+- (id<NSObject,DOMAttr>)removeAttributeNodeNS:(id<NSObject,DOMAttr>)_attrNode {
id key, oldNode;
if (_attrNode == nil)
[self->keyToAttribute removeObjectForKey:key];
[self->attributes removeObjectIdenticalTo:_attrNode];
- [_attrNode _domNodeForgetParentNode:self];
+ [(id)_attrNode _domNodeForgetParentNode:self];
[self _attributeSetChanged];
return _attrNode;
return nil;
}
-- (id)setAttributeNode:(id)_attrNode {
+- (id<NSObject,DOMAttr>)setAttributeNode:(id<NSObject,DOMAttr>)_attrNode {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-- (id)removeAttributeNode:(id)_attrNode {
+- (id<NSObject,DOMAttr>)removeAttributeNode:(id<NSObject,DOMAttr>)_attrNode {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
return DOM_ELEMENT_NODE;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
/* returns a named-node-map */
if (self->attrNodeMap == nil) {
self->attrNodeMap =
/* the node's parent was deallocated */
self->parent = nil;
}
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return self->parent;
}
return [self->element _attributeNodeAtIndex:_idx];
}
-- (id)namedItem:(NSString *)_name {
+- (IDOMNode)namedItem:(NSString *)_name {
NSString *nsuri;
_checkValid(self);
return [self->element attributeNode:_name];
}
-- (id)setNamedItem:(id)_node {
+- (IDOMNode)setNamedItem:(IDOMNode)_node {
_checkValid(self);
- return [self->element setAttributeNode:_node];
+
+ // TODO: is the cast correct?
+ return [self->element setAttributeNode:(id<NSObject,DOMAttr>)_node];
}
-- (id)removeNamedItem:(NSString *)_name {
+- (IDOMNode)removeNamedItem:(NSString *)_name {
NSString *nsuri;
id node;
/* DOM2 access */
-- (id)namedItem:(NSString *)_name namespaceURI:(NSString *)_uri {
+- (IDOMNode)namedItem:(NSString *)_name namespaceURI:(NSString *)_uri {
return [self->element attributeNode:_name namespaceURI:_uri];
}
-- (id)setNamedItemNS:(id)_node {
+- (IDOMNode)setNamedItemNS:(IDOMNode)_node {
_checkValid(self);
- return [self->element setAttributeNodeNS:_node];
+ // TODO: is the cast correct?
+ return [self->element setAttributeNodeNS:(id<NSObject,DOMAttr>)_node];
}
-- (id)removeNamedItem:(NSString *)_name namespaceURI:(NSString *)_uri {
+- (IDOMNode)removeNamedItem:(NSString *)_name namespaceURI:(NSString *)_uri {
id node;
_checkValid(self);
}
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
/* parent node */
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return nil;
}
-- (id)nextSibling {
+- (id<NSObject,DOMNode>)nextSibling {
return nil;
}
-- (id)previousSibling {
+- (id<NSObject,DOMNode>)previousSibling {
return nil;
}
return DOM_ENTITY_REFERENCE_NODE;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
/* the node's parent was deallocated */
self->parent = nil;
}
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return self->parent;
}
/* owner */
-- (DOMDocument *)ownerDocument {
+- (IDOMDocument)ownerDocument {
id node;
for (node = [self parentNode]; node; node = [node parentNode]) {
/* element attributes */
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
/* returns a NamedNodeList */
return [self subclassResponsibility:_cmd];
}
return NO;
}
-- (id)removeChild:(id)_node {
+- (id<NSObject,DOMNode>)removeChild:(id<NSObject,DOMNode>)_node {
return nil;
}
-- (id)appendChild:(id)_node {
+- (id<NSObject,DOMNode>)appendChild:(id<NSObject,DOMNode>)_node {
return nil;
}
/* navigation */
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return [self subclassResponsibility:_cmd];
}
-- (id)previousSibling {
+- (id<NSObject,DOMNode>)previousSibling {
DOMNode *parent;
if ((parent = (DOMNode *)[self parentNode]) == nil) return nil;
if (![parent respondsToSelector:@selector(_domNodeBeforeNode:)]) return nil;
return [parent _domNodeBeforeNode:self];
}
-- (id)nextSibling {
+- (id<NSObject,DOMNode>)nextSibling {
DOMNode *parent;
if ((parent = (DOMNode *)[self parentNode]) == nil) return nil;
return [parent _domNodeAfterNode:self];
}
-- (id)childNodes {
+- (id<NSObject,DOMNodeList>)childNodes {
return nil;
}
- (BOOL)hasChildNodes {
return NO;
}
-- (id)firstChild {
+- (id<NSObject,DOMNode>)firstChild {
return nil;
}
-- (id)lastChild {
+- (id<NSObject,DOMNode>)lastChild {
return nil;
}
/* navigation */
-- (id)childNodes {
+- (id<NSObject,DOMNodeList>)childNodes {
[self _ensureChildNodes];
- return self->childNodes;
+
+ /* casting NSMutableArray to DOMNodeList */
+ return (id<NSObject,DOMNodeList>)self->childNodes;
}
- (BOOL)hasChildNodes {
return [self->childNodes count] > 0 ? YES : NO;
}
-- (id)firstChild {
+- (id<NSObject,DOMNode>)firstChild {
return [self->childNodes count] > 0
? [self->childNodes objectAtIndex:0]
: nil;
}
-- (id)lastChild {
+- (id<NSObject,DOMNode>)lastChild {
unsigned count;
return (count = [self->childNodes count]) > 0
/* modification */
-- (id)removeChild:(id)_node {
+- (id<NSObject,DOMNode>)removeChild:(id<NSObject,DOMNode>)_node {
unsigned idx;
if (self->childNodes == nil)
[[_node retain] autorelease];
[self->childNodes removeObjectAtIndex:idx];
- [_node _domNodeForgetParentNode:self];
+ [(id)_node _domNodeForgetParentNode:self];
return _node;
}
-- (id)appendChild:(id)_node {
+- (id<NSObject,DOMNode>)appendChild:(id<NSObject,DOMNode>)_node {
if (_node == nil)
/* adding a 'nil' node ?? */
return nil;
[self _ensureChildNodes];
[self->childNodes addObject:_node];
- [_node _domNodeRegisterParentNode:self];
+ [(id)_node _domNodeRegisterParentNode:self];
}
/* return the node 'added' */
- (BOOL)hasChildNodes {
return NO;
}
-- (id)childNodes {
+- (id<NSObject,DOMNodeList>)childNodes {
return nil;
}
-- (id)appendChild:(id)_node {
+- (id<NSObject,DOMNode>)appendChild:(id<NSObject,DOMNode>)_node {
return nil;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
/* parent node */
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return nil;
}
-- (id)nextSibling {
+- (id<NSObject,DOMNode>)nextSibling {
return nil;
}
-- (id)previousSibling {
+- (id<NSObject,DOMNode>)previousSibling {
return nil;
}
return DOM_PROCESSING_INSTRUCTION_NODE;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
/* PI's have no children ! */
return NO;
}
-- (id)childNodes {
+- (id<NSObject,DOMNodeList>)childNodes {
/* PI's have no children ! */
return nil;
}
-- (id)appendChild:(id)_node {
+- (id<NSObject,DOMNode>)appendChild:(id<NSObject,DOMNode>)_node {
/* PI's have no children ! */
return nil;
}
/* the node's parent was deallocated */
self->parent = nil;
}
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
return self->parent;
}
DOM_TEXT_NODE = 12
} DOMNodeType;
+// TODO: find out which GCC version started to have forward protocols decls ...
+//#define HAVE_FORWARD_PROTOCOLS 1
+
#if HAVE_FORWARD_PROTOCOLS
@protocol DOMNode;
@protocol DOMAttr, DOMCDATASection, DOMComment, DOMDocumentFragment;
@protocol DOMDocument, DOMDocumentType, DOMElement, DOMEntity;
@protocol DOMEntityReference, DOMNotation, DOMProcessingInstruction;
@protocol DOMText;
+
+// NOTE: _ONLY_ use those defines for forward declarations!
+
+#define IDOMNode id<NSObject,DOMNode>
+#define IDOMDocument id<NSObject,DOMDocument>
+#define IDOMElement id<NSObject,DOMElement>
+
+#else
+#define IDOMNode id
+#define IDOMDocument id
+#define IDOMElement id
#endif
@protocol DOMNodeList
- (unsigned)length;
- (id)objectAtIndex:(unsigned)_idx; // returns the proper attribute node
-#if HAVE_FORWARD_PROTOCOLS
-- (id<NSObject,DOMNode>)namedItem:(NSString *)_name;
-- (id<NSObject,DOMNode>)setNamedItem:(id<NSObject,DOMNode>)_node;
-- (id<NSObject,DOMNode>)removeNamedItem:(NSString *)_name;
+- (IDOMNode)namedItem:(NSString *)_name;
+- (IDOMNode)setNamedItem:(IDOMNode)_node;
+- (IDOMNode)removeNamedItem:(NSString *)_name;
/* DOM2 access */
-- (id<NSObject,DOMNode>)namedItem:(NSString *)_name
- namespaceURI:(NSString *)_uri;
-- (id<NSObject,DOMNode>)setNamedItemNS:(id<NSObject,DOMNode>)_node;
-- (id<NSObject,DOMNode>)removeNamedItem:(NSString *)_name
- namespaceURI:(NSString *)_uri;
-#else
-- (id)namedItem:(NSString *)_name;
-- (id)setNamedItem:(id)_node;
-- (id)removeNamedItem:(NSString *)_name;
-
-/* DOM2 access */
-
-- (id)namedItem:(NSString *)_name namespaceURI:(NSString *)_uri;
-- (id)setNamedItemNS:(id)_node;
-- (id)removeNamedItem:(NSString *)_name namespaceURI:(NSString *)_uri;
-#endif
+- (IDOMNode)namedItem:(NSString *)_name namespaceURI:(NSString *)_uri;
+- (IDOMNode)setNamedItemNS:(IDOMNode)_node;
+- (IDOMNode)removeNamedItem:(NSString *)_name namespaceURI:(NSString *)_uri;
@end /* DOMNamedNodeMap */
/* owner */
-#if HAVE_FORWARD_PROTOCOLS
-- (id<NSObject,DOMDocument>)ownerDocument;
-#else
-- (id)ownerDocument;
-#endif
+- (IDOMDocument)ownerDocument;
@end /* DOMNode */
/* owner */
-#if HAVE_FORWARD_PROTOCOLS
-- (id<NSObject,DOMElement>)ownerElement;
-#else
-- (id)ownerElement;
-#endif
+- (IDOMElement)ownerElement;
@end /* DOMAttr */
- (void)appendData:(NSString *)_data;
- (void)insertData:(NSString *)_data offset:(unsigned)_offset;
- (void)deleteData:(unsigned)_offset count:(unsigned)_count;
-- (void)replaceData:(unsigned)_offset count:(unsigned)_count with:(NSString *)_s;
+- (void)replaceData:(unsigned)_offs count:(unsigned)_count with:(NSString *)_s;
@end /* DOMCharacterData */
- (BOOL)hasChildNodes {
return NO;
}
-- (id)childNodes {
+- (id<NSObject,DOMNodeList>)childNodes {
return nil;
}
-- (id)appendChild:(id)_node {
+- (id<NSObject,DOMNode>)appendChild:(id<NSObject,DOMNode>)_node {
return nil;
}
-- (id)attributes {
+- (id<NSObject,DOMNamedNodeMap>)attributes {
return nil;
}
#define __DOMTreeWalker_H__
#import <Foundation/NSObject.h>
+#include <DOM/DOMProtocols.h>
@class NSArray;
/* operations */
-- (id)parentNode;
-- (id)firstChild;
-- (id)lastChild;
-- (id)previousSibling;
-- (id)nextSibling;
+- (id<NSObject,DOMNode>)parentNode;
+- (id<NSObject,DOMNode>)firstChild;
+- (id<NSObject,DOMNode>)lastChild;
+- (id<NSObject,DOMNode>)previousSibling;
+- (id<NSObject,DOMNode>)nextSibling;
-- (id)previousNode;
-- (id)nextNode;
+- (id<NSObject,DOMNode>)previousNode;
+- (id<NSObject,DOMNode>)nextNode;
@end
return [a objectAtIndex:(count - 1)];
}
-- (id)_visibleParentNode {
- id node;
+- (id<NSObject,DOMNode>)_visibleParentNode {
+ id<NSObject,DOMNode> node;
- for (node = [[self currentNode] parentNode]; node; node = [node parentNode]) {
+ for (node = [[self currentNode] parentNode]; node; node =[node parentNode]) {
if ([self _isVisibleNode:node])
return node;
return nil;
}
-- (id)_nextVisibleSibling {
- id node;
+- (id<NSObject,DOMNode>)_nextVisibleSibling {
+ id<NSObject,DOMNode> node;
for (node = [[self currentNode] nextSibling];
node;
}
return nil;
}
-- (id)_previousVisibleSibling {
- id node;
+- (id<NSObject,DOMNode>)_previousVisibleSibling {
+ id<NSObject,DOMNode> node;
for (node = [[self currentNode] previousSibling];
node;
/* operations */
-- (id)parentNode {
+- (id<NSObject,DOMNode>)parentNode {
id parent;
if ((parent = [self _visibleParentNode])) {
return nil;
}
-- (id)firstChild {
+- (id<NSObject,DOMNode>)firstChild {
if ([self _hasVisibleChildren]) {
id child;
return nil;
}
-- (id)lastChild {
+- (id<NSObject,DOMNode>)lastChild {
if ([self _hasVisibleChildren]) {
id child;
return nil;
}
-- (id)previousSibling {
+- (id<NSObject,DOMNode>)previousSibling {
id node;
if ((node = [self _previousVisibleSibling])) {
return nil;
}
-- (id)nextSibling {
+- (id<NSObject,DOMNode>)nextSibling {
id node;
if ((node = [self _nextVisibleSibling])) {
return nil;
}
-- (id)previousNode {
+- (id<NSObject,DOMNode>)previousNode {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-- (id)nextNode {
+- (id<NSObject,DOMNode>)nextNode {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
#define __DOMXMLOutputter_H__
#import <Foundation/NSObject.h>
+#include <DOM/DOMNode.h>
+
+/*
+ DOMXMLOutputter
+
+ Class to generate a text representation of an DOM node to stdout.
+*/
@class NSMutableArray;
unsigned indent;
}
-- (void)outputNode:(id)_node to:(id)_target;
+- (void)outputNode:(id<DOMNode>)_node to:(id)_target;
- (void)outputDocument:(id)_document to:(id)_target;
@end
break;
}
}
-- (void)outputNodeList:(id)_nodeList to:(id)_target {
+- (void)outputNodeList:(id<DOMNodeList>)_nodeList to:(id)_target {
id children;
unsigned i, count;
# version file
-SUBMINOR_VERSION:=13
+SUBMINOR_VERSION:=14
+2005-04-23 Helge Hess <helge.hess@opengroupware.org>
+
+ * SaxMethodCallHandler.m: fixed a gcc 4.0 warning (v4.5.50)
+
2005-03-23 Marcus Mueller <znek@mulle-kybernetik.com>
* SaxObjectDecoder.m: fixed remaining leaks (v4.5.49)
if ((len = [_s cStringLength]) == 0)
return;
- cstr = [_s cString];
+ cstr = (const unsigned char *)[_s cString];
for (i = 0; i < len; i++) {
register unsigned char c = cstr[i];
}
buf[j] = '\0';
- s = [[NSString alloc] initWithCString:buf length:j];
+ s = [[NSString alloc] initWithCString:(char *)buf length:j];
[self->selName appendString:s];
[s release];
}
# version file
-SUBMINOR_VERSION:=49
+SUBMINOR_VERSION:=50