Entity error fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14837 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-10-24 09:21:05 +00:00
parent 93168d9fe4
commit a2e8e98fc3
4 changed files with 31 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSOutput.m: ([-split:]) In links generated from class and
method specifications in square brackets, place a space between the
class and the method name.
* Tools/gsdoc-1_0_0.dtd: Corrected minor entity errors.
2002-10-21 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/unicode/thai.h: New file.

View file

@ -119,7 +119,7 @@ GS_EXPORT const char* GSDebugAllocationListAll();
/**
* Starts recording all allocated objects of a certain class.<br />
* Use with extreme carre ... this could slow down your application
* Use with extreme care ... this could slow down your application
* enormously.
*/
GS_EXPORT void GSDebugAllocationActiveRecordingObjects(Class c);

View file

@ -1961,6 +1961,14 @@ static BOOL snuggleStart(NSString *t)
if (sPos > 0)
{
start = [tmp substringToIndex: sPos];
if ([start isEqualToString: @"["] == YES)
{
start = nil;
}
else if ([start hasSuffix: @"["] == YES)
{
start = [start substringToIndex: [start length] - 1];
}
}
else
{
@ -1969,6 +1977,14 @@ static BOOL snuggleStart(NSString *t)
if (ePos < [tmp length])
{
end = [tmp substringFromIndex: ePos];
if ([end isEqualToString: @"]"] == YES)
{
end = nil;
}
else if ([end hasPrefix: @"]"] == YES)
{
end = [end substringFromIndex: 1];
}
}
else
{
@ -2015,6 +2031,8 @@ static BOOL snuggleStart(NSString *t)
ref = [NSString stringWithFormat:
@"<ref type=\"method\" id=\"%@\" class=\"%@\">",
mName, cName];
sub = [NSString stringWithFormat: @"[%@&nbsp;%@]",
cName, mName];
}
[a insertObject: ref atIndex: l++];
if (sub != nil)

View file

@ -38,10 +38,11 @@
<!--***** Character entities. *****-->
<!-- General purpose characters for gsdoc. -->
<!ENTITY copy "&#38;copy;"> <!-- copyright symbol -->
<!ENTITY tm "&#38;trade;"> <!-- trademark symbol -->
<!ENTITY dots "&#38;dots;"> <!-- ellipsis (...) -->
<!ENTITY nbsp "&#38;nbsp;"> <!-- non breakable space -->
<!ENTITY copy "&#169;"> <!-- copyright symbol -->
<!ENTITY tm "&#174;"> <!-- trademark symbol -->
<!ENTITY reg "&#174;">
<!ENTITY dots "&#8230;"> <!-- ellipsis (...) -->
<!ENTITY nbsp "&#160;"> <!-- non breakable space -->
<!ENTITY amp "&#38;#38;"> <!-- ampersand -->
<!ENTITY apos "&#39;"> <!-- apos -->
<!ENTITY quot "&#34;"> <!-- quotation mark (") -->