Updates for 1.19.2 release

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28540 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-08-25 11:13:00 +00:00
parent e7db98165f
commit ae54787ec6
12 changed files with 108 additions and 14 deletions

View file

@ -1,3 +1,18 @@
2009-08-25 Richard Frith-Macdonald <rfm@gnu.org>
* Version: bump to 1.19.2
* Documentation/news.texi: update
* Documentation/ReleaseNotes.gsdoc: update
* Source/DocMakefile: Avoid warning about WINAPI
* Source/NSURLDownload.m: Documentation cleanups
* Source/NSFileManager.m: ditto
* Source/Additions/GSCategories.m: ditto
* Source/Additions/GSMime.m: ditto
* Source/NSURLConnection.m: ditto
* Headers/Foundation/NSTimeZone.h: ditto
* Headers/Foundation/NSURLDownload.h: ditto
Make 1.19.2 release
2009-08-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:

View file

@ -29,6 +29,59 @@ notice and this notice are preserved.
migrate to using a newer version of the library.
</p>
<section>
<heading>Version 1.19.2</heading>
<p>This is a new unstable snapshot release of the base library.
It may contain minor binary incompatibilities with the previous
unstable release, but should generally work with software compiled
for that release.
</p>
<p>This is primarily intended as a bugfix release prior to major
rewrite of NSLock code by David Chisnall. As such, most changes
are bugfixes and performance tweaks. Some of the main ones are
listed below.
</p>
<deflist>
<term>NSCalendarDate</term>
<desc>
Add OSX compatible field widths in date formats.
</desc>
<term>NSCharacterSet</term>
<desc>
Uses a much more compact internal representation to decrease the
memory footprint of applications which make extensive use of
charactersets.
</desc>
<term>NSFileHandle</term>
<desc>
Fixes for socket connections on mswindows.
</desc>
<term>NSRunLoop</term>
<desc>
Adds OSX compatibility changes with timers acting like input
sources for determining blocking.
</desc>
<term>NSString</term>
<desc>
Performance improvements converting between 8bit and 16bit
character representations.
</desc>
<term>NSURL</term>
<desc>
Support file URLs on mswindows. Include 'Host' header in requests
to conform to W3C standards.
</desc>
<term>NSUserDefaults</term>
<desc>
Fixes for improved thread safety.
Now stores to file in XML format.
</desc>
<term>Key Value Coding/Observing</term>
<desc>
Various improvements for OSX compatibility.
</desc>
</deflist>
</section>
<section>
<heading>Version 1.19.1</heading>
<p>A great deal of improvements have occured recently. This includes
many improvements in garbage collection (first to get it working again).
@ -52,7 +105,8 @@ notice and this notice are preserved.
</desc>
<term>Garbage Collection</term>
<desc>
Get GC working again. Fixes in various classes to work better with GC.
Get GC working again. Fixes in various classes to work
better with GC.
</desc>
<term>Mac OS X 10.5 Return Types</term>
<desc>

View file

@ -11,6 +11,16 @@ The currently released version of the library is
See the @url{ReleaseNotes.html} document for more information.
@end ifclear
@section Noteworthy changes in version @samp{1.19.2}
@itemize @bullet
@item Various OSX compatibility improvements.
@item String handling performance improvements.
@item Several minor bugfixes.
@end itemize
@ifclear ANNOUNCE-ONLY
@section Noteworthy changes in version @samp{1.19.1}
@itemize @bullet
@ -20,8 +30,6 @@ See the @url{ReleaseNotes.html} document for more information.
@item Method return types and arguments have been changed for Mac OS X 10.5
@end itemize
@ifclear ANNOUNCE-ONLY
@section Noteworthy changes in version @samp{1.19.0}
@itemize @bullet

View file

@ -43,6 +43,7 @@ enum {
NSTimeZoneNameStyleShortDaylightSaving
};
typedef NSInteger NSTimeZoneNameStyle;
GS_EXPORT NSString * const NSSystemTimeZoneDidChangeNotification;
#endif
@interface NSTimeZone : NSObject
@ -98,8 +99,6 @@ typedef NSInteger NSTimeZoneNameStyle;
- (NSString *)localizedName: (NSTimeZoneNameStyle)style
locale: (NSLocale *)locale;
GS_EXPORT NSString * const NSSystemTimeZoneDidChangeNotification;
#endif
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)

View file

@ -105,10 +105,11 @@ extern "C" {
/**
* Sets the path to which the file is downloaded.<br />
* May be called (once only) after initialisation of the receiver or when the
* delegate receives a -decideDestinationWithSuggestedFilename: message.<br />
* delegate receives a -download:decideDestinationWithSuggestedFilename:
* message.<br />
* Appends a number to the filename if allowOverwrite is NO and a file
* already exists at path.<br />
* See -didCreateDestination: also.
* See -download:didCreateDestination: also.
*/
- (void) setDestination: (NSString *)path allowOverwrite: (BOOL)allowOverwrite;

View file

@ -662,7 +662,7 @@ static void MD5Transform (uint32_t buf[4], uint32_t const in[16])
*/
- (BOOL) uudecodeInto: (NSMutableData*)decoded
name: (NSString**)namePtr
mode: (int*)modePtr
mode: (NSInteger*)modePtr
{
const unsigned char *bytes = (const unsigned char*)[self bytes];
unsigned length = [self length];
@ -810,7 +810,7 @@ static void MD5Transform (uint32_t buf[4], uint32_t const in[16])
*/
- (BOOL) uuencodeInto: (NSMutableData*)encoded
name: (NSString*)name
mode: (int)mode
mode: (NSInteger)mode
{
const unsigned char *bytes = (const unsigned char*)[self bytes];
int length = [self length];

View file

@ -664,7 +664,7 @@ wordData(NSString *word)
* </p>
* <p>If you need to parse faulty documents (eg where a faulty mail client
* has produced an email which does not conform to the MIME standards), you
* should look at the -setBuggyQotes: and -setDefaultCharset: methods, which
* should look at the -setBuggyQuotes: and -setDefaultCharset: methods, which
* are designed to cope with the most common faults.
* </p>
*/

View file

@ -174,6 +174,7 @@ Base_AGSDOC_FLAGS = \
GS_RANGE_SCOPE=extern;GS_RANGE_ATTR="";\
GS_ZONE_SCOPE=extern;GS_ZONE_ATTR="";\
INLINE=inline;\
WINAPI="";\
}' -Up Base
BaseAdditions_AGSDOC_FLAGS = \

View file

@ -2025,7 +2025,7 @@ static NSStringEncoding defaultEncoding;
(const GSNativeChar*)[path cStringUsingEncoding: NSUnicodeStringEncoding];
}
- (NSString*) stringWithFileSystemRepresentation: (const GSNativeChar*)string
length: (unsigned int)len
length: (NSUInteger)len
{
return [NSString stringWithCharacters: string length: len];
}

View file

@ -263,15 +263,18 @@ typedef struct {
- (void) connection: (NSURLConnection *)connection
didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge
{
return;
}
- (void) connection: (NSURLConnection *)connection
didFailWithError: (NSError *)error
{
return;
}
- (void) connectionDidFinishLoading: (NSURLConnection *)connection
{
return;
}
- (void) connection: (NSURLConnection *)connection
@ -284,11 +287,13 @@ typedef struct {
- (void) connection: (NSURLConnection *)connection
didReceiveData: (NSData *)data
{
return;
}
- (void) connection: (NSURLConnection *)connection
didReceiveResponse: (NSURLResponse *)response
{
return;
}
- (NSCachedURLResponse *) connection: (NSURLConnection *)connection

View file

@ -132,44 +132,53 @@ typedef struct {
- (void) downloadDidBegin: (NSURLDownload *)download
{
return;
}
- (void) downloadDidFinish: (NSURLDownload *)download
{
return;
}
- (void) download: (NSURLDownload *)download
decideDestinationWithSuggestedFilename: (NSString *)filename
{
return;
}
- (void) download: (NSURLDownload *)download
didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge
{
return;
}
- (void) download: (NSURLDownload *)download
didCreateDestination: (NSString *)path
{
return;
}
- (void) download: (NSURLDownload *)download didFailWithError: (NSError *)error
{
return;
}
- (void) download: (NSURLDownload *)download
didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge
{
return;
}
- (void) download: (NSURLDownload *)download
didReceiveDataOfLength: (NSUInteger)length
{
return;
}
- (void) download: (NSURLDownload *)download
didReceiveResponse: (NSURLResponse *)response
{
return;
}
- (BOOL) download: (NSURLDownload *)download
@ -182,6 +191,7 @@ typedef struct {
willResumeWithResponse: (NSURLResponse *)response
fromByte: (long long)startingByte
{
return;
}
- (NSURLRequest *) download: (NSURLDownload *)download
@ -209,7 +219,7 @@ typedef struct {
- (void) URLProtocol: (NSURLProtocol *)protocol
cachedResponseIsValid: (NSCachedURLResponse *)cachedResponse
{
return;
}
- (void) URLProtocol: (NSURLProtocol *)protocol
@ -221,6 +231,7 @@ typedef struct {
- (void) URLProtocol: (NSURLProtocol *)protocol
didLoadData: (NSData *)data
{
return;
}
- (void) URLProtocol: (NSURLProtocol *)protocol

View file

@ -7,9 +7,9 @@ GCC_VERSION=2.9.5
# The version number of this release.
MAJOR_VERSION=1
MINOR_VERSION=19
SUBMINOR_VERSION=1
SUBMINOR_VERSION=2
# numeric value should match above
VERSION_NUMBER=119.1
VERSION_NUMBER=119.2
GNUSTEP_BASE_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${SUBMINOR_VERSION}
VERSION=${GNUSTEP_BASE_VERSION}