mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
fix spelling errors / typos (patch by heintzmann.eric@free.fr)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39774 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e73330ea22
commit
7622a2618e
9 changed files with 22 additions and 22 deletions
|
@ -6301,7 +6301,7 @@ Wed Jun 5 17:46:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
* Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure
|
* Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure
|
||||||
that returned memory is allocated from specified zone, rather than
|
that returned memory is allocated from specified zone, rather than
|
||||||
returning internal buffer.
|
returning internal buffer.
|
||||||
* Tools/AGSIndex.m: When a string missmatch is found when merging,
|
* Tools/AGSIndex.m: When a string mismatch is found when merging,
|
||||||
update the output to the new string as well as warning.
|
update the output to the new string as well as warning.
|
||||||
* Tools/autogsdoc.m: Don't automatically include refs to installed
|
* Tools/autogsdoc.m: Don't automatically include refs to installed
|
||||||
copies of the project being documented.
|
copies of the project being documented.
|
||||||
|
|
|
@ -1106,7 +1106,7 @@ NeXT-compatible zone functions.
|
||||||
|
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@section Noteworthy changes in verion @samp{940524}
|
@section Noteworthy changes in version @samp{940524}
|
||||||
|
|
||||||
@itemize @bullet
|
@itemize @bullet
|
||||||
|
|
||||||
|
|
|
@ -307,7 +307,7 @@ NS_AUTOMATED_REFCOUNT_UNAVAILABLE
|
||||||
* Default value is maxint.
|
* Default value is maxint.
|
||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
+ (void) setPoolCountThreshhold: (unsigned)c;
|
+ (void) setPoolCountThreshold: (unsigned)c;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the number of objects in this pool.
|
* Return the number of objects in this pool.
|
||||||
|
|
4
NEWS
4
NEWS
|
@ -994,8 +994,8 @@ made on GNUSTEP.
|
||||||
in List and HashTable. New files zone.[hc] containing dummy stubs
|
in List and HashTable. New files zone.[hc] containing dummy stubs
|
||||||
for NeXT-compatible zone functions.
|
for NeXT-compatible zone functions.
|
||||||
|
|
||||||
1.77 Noteworthy changes in verion '940524'
|
1.77 Noteworthy changes in version '940524'
|
||||||
==========================================
|
===========================================
|
||||||
|
|
||||||
* A NeXT-compatible NXStringTable object, thanks to Adam Fedor
|
* A NeXT-compatible NXStringTable object, thanks to Adam Fedor
|
||||||
<adam@bastille.rmnug.org>.
|
<adam@bastille.rmnug.org>.
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
[NSException raise: NSInternalInconsistencyException
|
[NSException raise: NSInternalInconsistencyException
|
||||||
format: @"Unsupported socks verion: %@", version];
|
format: @"Unsupported socks version: %@", version];
|
||||||
return nil; // Avoid spurious compiler warning
|
return nil; // Avoid spurious compiler warning
|
||||||
}
|
}
|
||||||
return [[concreteClass alloc] initWithConfiguration: aConfiguration
|
return [[concreteClass alloc] initWithConfiguration: aConfiguration
|
||||||
|
|
|
@ -51,12 +51,12 @@
|
||||||
static BOOL autorelease_enabled = YES;
|
static BOOL autorelease_enabled = YES;
|
||||||
|
|
||||||
/* When the _released_count of a pool gets over this value, we raise
|
/* When the _released_count of a pool gets over this value, we raise
|
||||||
an exception. This can be adjusted with +setPoolCountThreshhold */
|
an exception. This can be adjusted with +setPoolCountThreshold */
|
||||||
static unsigned pool_count_warning_threshhold = UINT_MAX-1;
|
static unsigned pool_count_warning_threshold = UINT_MAX-1;
|
||||||
|
|
||||||
/* When the number of pools in a thread gets over this value, we raise
|
/* When the number of pools in a thread gets over this value, we raise
|
||||||
an exception. This can be adjusted with +setPoolNumberThreshhold */
|
an exception. This can be adjusted with +setPoolNumberThreshold */
|
||||||
static unsigned pool_number_warning_threshhold = 10000;
|
static unsigned pool_number_warning_threshold = 10000;
|
||||||
|
|
||||||
/* The size of the first _released array. */
|
/* The size of the first _released array. */
|
||||||
#define BEGINNING_POOL_SIZE 32
|
#define BEGINNING_POOL_SIZE 32
|
||||||
|
@ -198,7 +198,7 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
|
||||||
_parent->_child = self;
|
_parent->_child = self;
|
||||||
}
|
}
|
||||||
tv->current_pool = self;
|
tv->current_pool = self;
|
||||||
if (level > pool_number_warning_threshhold)
|
if (level > pool_number_warning_threshold)
|
||||||
{
|
{
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"Too many (%u) autorelease pools ... leaking them?", level];
|
format: @"Too many (%u) autorelease pools ... leaking them?", level];
|
||||||
|
@ -297,7 +297,7 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
|
||||||
_parent->_child = self;
|
_parent->_child = self;
|
||||||
}
|
}
|
||||||
tv->current_pool = self;
|
tv->current_pool = self;
|
||||||
if (level > pool_number_warning_threshhold)
|
if (level > pool_number_warning_threshold)
|
||||||
{
|
{
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"Too many (%u) autorelease pools ... leaking them?", level];
|
format: @"Too many (%u) autorelease pools ... leaking them?", level];
|
||||||
|
@ -389,10 +389,10 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
|
||||||
if (!autorelease_enabled)
|
if (!autorelease_enabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_released_count >= pool_count_warning_threshhold)
|
if (_released_count >= pool_count_warning_threshold)
|
||||||
{
|
{
|
||||||
[NSException raise: NSGenericException
|
[NSException raise: NSGenericException
|
||||||
format: @"AutoreleasePool count threshhold exceeded."];
|
format: @"AutoreleasePool count threshold exceeded."];
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get a new array for the list, if the current one is full. */
|
/* Get a new array for the list, if the current one is full. */
|
||||||
|
@ -662,15 +662,15 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
|
||||||
free_pool_cache(ARP_THREAD_VARS);
|
free_pool_cache(ARP_THREAD_VARS);
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (void) setPoolCountThreshhold: (unsigned)c
|
+ (void) setPoolCountThreshold: (unsigned)c
|
||||||
{
|
{
|
||||||
if (c >= UINT_MAX) c = UINT_MAX - 1;
|
if (c >= UINT_MAX) c = UINT_MAX - 1;
|
||||||
pool_count_warning_threshhold = c;
|
pool_count_warning_threshold = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (void) setPoolNumberThreshhold: (unsigned)c
|
+ (void) setPoolNumberThreshold: (unsigned)c
|
||||||
{
|
{
|
||||||
pool_number_warning_threshhold = c;
|
pool_number_warning_threshold = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -2578,7 +2578,7 @@ static NSLock *cached_proxies_gate = nil;
|
||||||
if (GSSelectorTypesMatch(encoded_types, type) == NO)
|
if (GSSelectorTypesMatch(encoded_types, type) == NO)
|
||||||
{
|
{
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"NSConection types (%s / %s) missmatch for %s",
|
format: @"NSConection types (%s / %s) mismatch for %s",
|
||||||
encoded_types, type, sel_getName(selector)];
|
encoded_types, type, sel_getName(selector)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -414,13 +414,13 @@ static NSMapTable *globalClassMap = 0;
|
||||||
if (strcmp([o type], type) != 0)
|
if (strcmp([o type], type) != 0)
|
||||||
{
|
{
|
||||||
[NSException raise: NSInvalidUnarchiveOperationException
|
[NSException raise: NSInvalidUnarchiveOperationException
|
||||||
format: @"[%@ +%@]: type missmatch for %@",
|
format: @"[%@ +%@]: type mismatch for %@",
|
||||||
NSStringFromClass([self class]), NSStringFromSelector(_cmd), o];
|
NSStringFromClass([self class]), NSStringFromSelector(_cmd), o];
|
||||||
}
|
}
|
||||||
if ([o count] != expected)
|
if ([o count] != expected)
|
||||||
{
|
{
|
||||||
[NSException raise: NSInvalidUnarchiveOperationException
|
[NSException raise: NSInvalidUnarchiveOperationException
|
||||||
format: @"[%@ +%@]: count missmatch for %@",
|
format: @"[%@ +%@]: count mismatch for %@",
|
||||||
NSStringFromClass([self class]), NSStringFromSelector(_cmd), o];
|
NSStringFromClass([self class]), NSStringFromSelector(_cmd), o];
|
||||||
}
|
}
|
||||||
NSGetSizeAndAlignment(type, 0, &size);
|
NSGetSizeAndAlignment(type, 0, &size);
|
||||||
|
|
|
@ -2106,7 +2106,7 @@ fail:
|
||||||
|
|
||||||
if ([a1 isEqual: a2] == NO)
|
if ([a1 isEqual: a2] == NO)
|
||||||
{
|
{
|
||||||
[self log: @"Function %@ args missmatch - "
|
[self log: @"Function %@ args mismatch - "
|
||||||
@"%@ %@", name, a1, a2];
|
@"%@ %@", name, a1, a2];
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue