mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 02:41:00 +00:00
Fix formatting to GNUstep standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40303 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3cad9a330e
commit
43709beb7c
1 changed files with 549 additions and 570 deletions
|
@ -259,9 +259,6 @@
|
|||
- (void) parser: (NSXMLParser*)parser
|
||||
foundCharacters: (NSString*)string
|
||||
{
|
||||
#if defined(DEBUG_XIB)
|
||||
NSWarnMLog(@"elementName: %@ string: %@", [currentElement type], string);
|
||||
#endif
|
||||
[currentElement setValue: string];
|
||||
}
|
||||
|
||||
|
@ -275,9 +272,6 @@ didStartElement: (NSString*)elementName
|
|||
andAttributes: attributeDict];
|
||||
NSString *key = [attributeDict objectForKey: @"key"];
|
||||
NSString *ref = [attributeDict objectForKey: @"id"];
|
||||
#if defined(DEBUG_XIB)
|
||||
NSWarnMLog(@"elementName: %@ namespaceURI: %@ qName: %@ attrs: %@", elementName, namespaceURI, qualifiedName, attributeDict);
|
||||
#endif
|
||||
|
||||
// FIXME: We should use proper memory management here
|
||||
AUTORELEASE(element);
|
||||
|
@ -315,10 +309,6 @@ didStartElement: (NSString*)elementName
|
|||
namespaceURI: (NSString*)namespaceURI
|
||||
qualifiedName: (NSString*)qName
|
||||
{
|
||||
#if defined(DEBUG_XIB)
|
||||
NSWarnMLog(@"%s:elementName: %@ namespaceURI: %@ qName: %@", __PRETTY_FUNCTION__,
|
||||
elementName, namespaceURI, qName);
|
||||
#endif
|
||||
if (![@"archive" isEqualToString: elementName] &&
|
||||
![@"data" isEqualToString: elementName])
|
||||
{
|
||||
|
@ -530,9 +520,7 @@ didStartElement: (NSString*)elementName
|
|||
return nil;
|
||||
|
||||
NSDebugLLog(@"XIB", @"decoding element %@", element);
|
||||
#if defined(DEBUG_XIB)
|
||||
NSWarnMLog(@"decoding element type: %@ id: %@ key: %@", [element type], [element attributeForKey: @"id"], [element attributeForKey: @"key"]);
|
||||
#endif
|
||||
|
||||
objID = [element attributeForKey: @"id"];
|
||||
if (objID)
|
||||
{
|
||||
|
@ -737,12 +725,6 @@ didStartElement: (NSString*)elementName
|
|||
forClassName: classname
|
||||
withID: objID];
|
||||
}
|
||||
#if 0
|
||||
else
|
||||
{
|
||||
NSLog(@"Unknown element type %@", elementName);
|
||||
}
|
||||
#endif
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
@ -828,9 +810,6 @@ didStartElement: (NSString*)elementName
|
|||
- (id) decodeObjectForKey: (NSString*)aKey
|
||||
{
|
||||
GSXibElement *element = [currentElement elementForKey: aKey];
|
||||
#if defined(DEBUG_XIB)
|
||||
NSWarnMLog(@"aKey: %@ currentElement: %@ element: %@", aKey, [currentElement type], element);
|
||||
#endif
|
||||
|
||||
if (element == nil)
|
||||
return nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue