mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-06 14:40:43 +00:00
minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12385 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7146af96f0
commit
1e3a06a03c
2 changed files with 25 additions and 14 deletions
|
@ -4,6 +4,8 @@
|
||||||
reference counts.
|
reference counts.
|
||||||
* Source/NSMapTable.m: Improve warning logging for dodgy practices.
|
* Source/NSMapTable.m: Improve warning logging for dodgy practices.
|
||||||
* Source/NSHashTable.m: ditto
|
* Source/NSHashTable.m: ditto
|
||||||
|
* Tools/AGSHtml.m: A couple of minor fixes for systems where the xml
|
||||||
|
parser does not discard whitespace as it should.
|
||||||
|
|
||||||
2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
|
2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -1234,16 +1234,19 @@ static NSMutableSet *textNodes = nil;
|
||||||
[buf appendString: @"<b>Standards:</b>"];
|
[buf appendString: @"<b>Standards:</b>"];
|
||||||
while (tmp != nil)
|
while (tmp != nil)
|
||||||
{
|
{
|
||||||
if (first == YES)
|
if ([tmp type] == XML_ELEMENT_NODE)
|
||||||
{
|
{
|
||||||
first = NO;
|
if (first == YES)
|
||||||
[buf appendString: @" "];
|
{
|
||||||
|
first = NO;
|
||||||
|
[buf appendString: @" "];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
[buf appendString: @", "];
|
||||||
|
}
|
||||||
|
[buf appendString: [tmp name]];
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
[buf appendString: @", "];
|
|
||||||
}
|
|
||||||
[buf appendString: [tmp name]];
|
|
||||||
tmp = [tmp next];
|
tmp = [tmp next];
|
||||||
}
|
}
|
||||||
[buf appendString: @"<br />\n"];
|
[buf appendString: @"<br />\n"];
|
||||||
|
@ -1657,10 +1660,13 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
|
||||||
[self incIndent];
|
[self incIndent];
|
||||||
while (t != nil)
|
while (t != nil)
|
||||||
{
|
{
|
||||||
[buf appendString: indent];
|
if ([t type] == XML_ELEMENT_NODE)
|
||||||
[buf appendString: @"<li>"];
|
{
|
||||||
[buf appendString: [t name]];
|
[buf appendString: indent];
|
||||||
[buf appendString: @"</li>\n"];
|
[buf appendString: @"<li>"];
|
||||||
|
[buf appendString: [t name]];
|
||||||
|
[buf appendString: @"</li>\n"];
|
||||||
|
}
|
||||||
t = [t next];
|
t = [t next];
|
||||||
}
|
}
|
||||||
[self decIndent];
|
[self decIndent];
|
||||||
|
@ -1699,9 +1705,12 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
|
||||||
to: buf];
|
to: buf];
|
||||||
[buf appendString: indent];
|
[buf appendString: indent];
|
||||||
[buf appendString: @"<hr width=\"50%\" align=\"left\" />\n"];
|
[buf appendString: @"<hr width=\"50%\" align=\"left\" />\n"];
|
||||||
while (node != nil && [[node name] isEqual: @"method"] == YES)
|
while (node != nil)
|
||||||
{
|
{
|
||||||
[self outputNode: node to: buf];
|
if([[node name] isEqual: @"method"] == YES)
|
||||||
|
{
|
||||||
|
[self outputNode: node to: buf];
|
||||||
|
}
|
||||||
node = [node next];
|
node = [node next];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue