mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Improve MacOS-X compatibility of headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25638 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
77bd4a2b4f
commit
3aa7189ddb
72 changed files with 537 additions and 429 deletions
76
ChangeLog
76
ChangeLog
|
@ -1,3 +1,79 @@
|
|||
2007-11-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSLocale.m:
|
||||
* Source/NSTimeZone.m:
|
||||
* Source/NSNetServices.m:
|
||||
* Source/NSURLCredential.m:
|
||||
* Source/NSPortCoder.m:
|
||||
* Source/NSURLAuthenticationChallenge.m:
|
||||
* Source/NSKeyValueCoding.m:
|
||||
* Source/NSBundle.m:
|
||||
* Source/NSURLHandle.m:
|
||||
* Source/NSPropertyList.m:
|
||||
* Source/NSAffineTransform.m:
|
||||
* Source/GSRunLoopWatcher.m:
|
||||
* Source/NSUserDefaults.m:
|
||||
* Source/GSArray.m:
|
||||
* Source/GSFFCallInvocation.m:
|
||||
* Source/NSArray.m:
|
||||
* Source/GSStream.m:
|
||||
* Source/NSDebug.m:
|
||||
* Source/unix/NSStream.m:
|
||||
* Source/NSKeyedUnarchiver.m:
|
||||
* Source/GSConcreteValue.m:
|
||||
* Source/NSURLDownload.m:
|
||||
* Source/GSHTTPURLHandle.m:
|
||||
* Source/NSURLCredentialStorage.m:
|
||||
* Source/GSFFIInvocation.m:
|
||||
* Source/GSDictionary.m:
|
||||
* Source/GSCountedSet.m:
|
||||
* Source/NSUnarchiver.m:
|
||||
* Source/win32/NSStreamWin32.m:
|
||||
* Source/NSURLResponse.m:
|
||||
* Source/NSURLProtocol.m:
|
||||
* Source/NSURLCache.m:
|
||||
* Source/GSAttributedString.m:
|
||||
* Source/NSException.m:
|
||||
* Source/NSURL.m:
|
||||
* Source/Additions/GSObjCRuntime.m:
|
||||
* Source/Additions/GSInsensitiveDictionary.m:
|
||||
* Source/GSSet.m:
|
||||
* Source/NSConnection.m:
|
||||
* Source/GSString.m:
|
||||
* Source/NSHost.m:
|
||||
* Source/NSURLProtectionSpace.m:
|
||||
* Source/GSValue.m:
|
||||
* Source/NSDictionary.m:
|
||||
* Source/GSHTTPAuthentication.m:
|
||||
* Source/NSURLRequest.m:
|
||||
* Source/NSCountedSet.m:
|
||||
* Source/GSFormat.m:
|
||||
* Source/GSFileHandle.m:
|
||||
* Source/NSSet.m:
|
||||
* Source/NSArchiver.m:
|
||||
* Source/NSPortNameServer.m:
|
||||
* Source/GSFTPURLHandle.m:
|
||||
* Source/NSEnumerator.m:
|
||||
* Source/GSURLPrivate.h:
|
||||
* Source/NSURLConnection.m:
|
||||
* Headers/Foundation/NSArray.h:
|
||||
* Headers/Foundation/NSFileManager.h:
|
||||
* Headers/Foundation/NSUtilities.h:
|
||||
* Tools/defaults.m:
|
||||
* Tools/make_strings/make_strings.m:
|
||||
* Tools/make_strings/StringsEntry.m:
|
||||
* Testing/nstimezone.m:
|
||||
* Testing/nsarray.m:
|
||||
* Testing/nsprocessinfo.m:
|
||||
* Testing/nsdictionary.m:
|
||||
* Testing/nsset.m:
|
||||
* Testing/nsarchiver.m:
|
||||
* Testing/call.m:
|
||||
* Testing/benchmark.m:
|
||||
* Testing/nsbundle.m:
|
||||
Remove use of deprecated NSUtilities.h header, and add explicit
|
||||
includes of NSDictionary.h, NSEnumerator.h etc.
|
||||
|
||||
2007-11-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSKeyValueCoding.m: Remove erroneous check for nil argument
|
||||
|
|
|
@ -26,13 +26,14 @@
|
|||
#define __NSArray_h_GNUSTEP_BASE_INCLUDE
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
#import <Foundation/NSRange.h>
|
||||
#import <Foundation/NSUtilities.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@class NSEnumerator;
|
||||
@class NSString;
|
||||
@class NSURL;
|
||||
@class NSIndexSet;
|
||||
|
|
|
@ -173,8 +173,8 @@
|
|||
#import <Foundation/NSObject.h>
|
||||
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
#import <Foundation/NSUtilities.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSEnumerator.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
|
@ -186,7 +186,7 @@ extern "C" {
|
|||
@class NSDate;
|
||||
@class NSArray;
|
||||
@class NSMutableArray;
|
||||
|
||||
@class NSEnumerator;
|
||||
@class NSDirectoryEnumerator;
|
||||
|
||||
@interface NSFileManager : NSObject
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#ifndef __NSUtilties_h_GNUSTEP_BASE_INCLUDE
|
||||
#define __NSUtilties_h_GNUSTEP_BASE_INCLUDE
|
||||
|
||||
#warning The use of NSUtilities.h is deprecated
|
||||
|
||||
#import <Foundation/NSObjCRuntime.h>
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "config.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSEnumerator.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSPortCoder.h"
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
|
||||
<title>GSObjCRuntime function and macro reference</title>
|
||||
$Date$ $Revision$
|
||||
|
|
|
@ -25,18 +25,20 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "GNUstepBase/GSObjCRuntime.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSPortCoder.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "GNUstepBase/GSObjCRuntime.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSPortCoder.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
// For private method _decodeArrayOfObjectsForKey:
|
||||
#include "Foundation/NSKeyedArchiver.h"
|
||||
#import "Foundation/NSKeyedArchiver.h"
|
||||
|
||||
#include "GSPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
static SEL eqSel;
|
||||
static SEL oaiSel;
|
||||
|
|
|
@ -44,18 +44,18 @@
|
|||
* attributes argument and use the values from the string.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "GNUstepBase/GSLock.h"
|
||||
#include "Foundation/NSAttributedString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSRange.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSThread.h"
|
||||
#include "Foundation/NSNotification.h"
|
||||
#include "Foundation/NSZone.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "GNUstepBase/GSLock.h"
|
||||
#import "Foundation/NSAttributedString.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSRange.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSThread.h"
|
||||
#import "Foundation/NSNotification.h"
|
||||
#import "Foundation/NSZone.h"
|
||||
|
||||
#define SANITY_CHECKS 0
|
||||
|
||||
|
|
|
@ -22,13 +22,13 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSObjCRuntime.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
|
||||
#define TYPE_ORDER 0
|
||||
#include "GSConcreteValueTemplate.m"
|
||||
|
|
|
@ -22,14 +22,14 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSSet.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSPortCoder.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSSet.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSPortCoder.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
|
||||
|
||||
#define GSI_MAP_RETAIN_VAL(M, X)
|
||||
|
|
|
@ -23,18 +23,18 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSPortCoder.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSPortCoder.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
// For private method _decodeArrayOfObjectsForKey:
|
||||
#include "Foundation/NSKeyedArchiver.h"
|
||||
#import "Foundation/NSKeyedArchiver.h"
|
||||
|
||||
#include "GNUstepBase/GSObjCRuntime.h"
|
||||
#import "GNUstepBase/GSObjCRuntime.h"
|
||||
|
||||
/*
|
||||
* The 'Fastmap' stuff provides an inline implementation of a mapping
|
||||
|
|
|
@ -21,16 +21,16 @@
|
|||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
*/
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSDistantObject.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "GSInvocation.h"
|
||||
#include <config.h>
|
||||
#include <objc/objc-api.h>
|
||||
#include <avcall.h>
|
||||
#include <callback.h>
|
||||
#include "callframe.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSDistantObject.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "GSInvocation.h"
|
||||
#import <config.h>
|
||||
#import <objc/objc-api.h>
|
||||
#import <avcall.h>
|
||||
#import <callback.h>
|
||||
#import "callframe.h"
|
||||
|
||||
#ifndef INLINE
|
||||
#define INLINE inline
|
||||
|
|
|
@ -21,16 +21,16 @@
|
|||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
*/
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSDistantObject.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "GSInvocation.h"
|
||||
#include <config.h>
|
||||
#include <objc/objc-api.h>
|
||||
#include "cifframe.h"
|
||||
#include "mframe.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSDistantObject.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "GSInvocation.h"
|
||||
#import <config.h>
|
||||
#import <objc/objc-api.h>
|
||||
#import "cifframe.h"
|
||||
#import "mframe.h"
|
||||
|
||||
#ifndef INLINE
|
||||
#define INLINE inline
|
||||
|
|
|
@ -22,22 +22,26 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSURL.h"
|
||||
#include "Foundation/NSURLHandle.h"
|
||||
#include "Foundation/NSNotification.h"
|
||||
#include "Foundation/NSRunLoop.h"
|
||||
#include "Foundation/NSByteOrder.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSFileHandle.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "GNUstepBase/GSMime.h"
|
||||
#include "GSPrivate.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSURL.h"
|
||||
#import "Foundation/NSURLHandle.h"
|
||||
#import "Foundation/NSNotification.h"
|
||||
#import "Foundation/NSRunLoop.h"
|
||||
#import "Foundation/NSByteOrder.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSFileHandle.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "GNUstepBase/GSMime.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
GS_EXPORT NSString * const GSTelnetNotification;
|
||||
GS_EXPORT NSString * const GSTelnetErrorKey;
|
||||
|
|
|
@ -24,27 +24,27 @@
|
|||
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
|
||||
#include "config.h"
|
||||
#import "config.h"
|
||||
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "Foundation/NSObject.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSFileHandle.h"
|
||||
#include "GNUstepBase/GSFileHandle.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSRunLoop.h"
|
||||
#include "Foundation/NSNotification.h"
|
||||
#include "Foundation/NSNotificationQueue.h"
|
||||
#include "Foundation/NSHost.h"
|
||||
#include "Foundation/NSByteOrder.h"
|
||||
#include "Foundation/NSProcessInfo.h"
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "GSPrivate.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "Foundation/NSObject.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSFileHandle.h"
|
||||
#import "GNUstepBase/GSFileHandle.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSRunLoop.h"
|
||||
#import "Foundation/NSNotification.h"
|
||||
#import "Foundation/NSNotificationQueue.h"
|
||||
#import "Foundation/NSHost.h"
|
||||
#import "Foundation/NSByteOrder.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
#include "../Tools/gdomap.h"
|
||||
#import "../Tools/gdomap.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
|
|
|
@ -52,29 +52,30 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSCharacterSet.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
#include "Foundation/NSFileManager.h"
|
||||
#include "Foundation/NSPortCoder.h"
|
||||
#include "Foundation/NSPathUtilities.h"
|
||||
#include "Foundation/NSRange.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSBundle.h"
|
||||
#include "Foundation/NSURL.h"
|
||||
#include "Foundation/NSMapTable.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSZone.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "GNUstepBase/GSLocale.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSCharacterSet.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSPortCoder.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#import "Foundation/NSRange.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSBundle.h"
|
||||
#import "Foundation/NSURL.h"
|
||||
#import "Foundation/NSMapTable.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSZone.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "GNUstepBase/GSLocale.h"
|
||||
|
||||
#include "GSPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
#include <string.h> // for strstr()
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -22,14 +22,15 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSScanner.h"
|
||||
#include "Foundation/NSSet.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "GNUstepBase/GSLock.h"
|
||||
#include "GNUstepBase/GSMime.h"
|
||||
#import "GSURLPrivate.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSScanner.h"
|
||||
#import "Foundation/NSSet.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "GNUstepBase/GSLock.h"
|
||||
#import "GNUstepBase/GSMime.h"
|
||||
|
||||
|
||||
static NSMutableDictionary *domainMap = nil;
|
||||
|
|
|
@ -23,29 +23,31 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSByteOrder.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSFileHandle.h"
|
||||
#include "Foundation/NSHost.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSMapTable.h"
|
||||
#include "Foundation/NSNotification.h"
|
||||
#include "Foundation/NSPathUtilities.h"
|
||||
#include "Foundation/NSProcessInfo.h"
|
||||
#include "Foundation/NSRunLoop.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSURL.h"
|
||||
#include "Foundation/NSURLHandle.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "GNUstepBase/GSMime.h"
|
||||
#include "GNUstepBase/GSLock.h"
|
||||
#include "NSCallBacks.h"
|
||||
#include "GSURLPrivate.h"
|
||||
#include "GSPrivate.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSByteOrder.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSFileHandle.h"
|
||||
#import "Foundation/NSHost.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSMapTable.h"
|
||||
#import "Foundation/NSNotification.h"
|
||||
#import "Foundation/NSPathUtilities.h"
|
||||
#import "Foundation/NSProcessInfo.h"
|
||||
#import "Foundation/NSRunLoop.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSURL.h"
|
||||
#import "Foundation/NSURLHandle.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "GNUstepBase/GSMime.h"
|
||||
#import "GNUstepBase/GSLock.h"
|
||||
#import "NSCallBacks.h"
|
||||
#import "GSURLPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
#include <string.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/GSLocale.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/GSLocale.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
|
||||
|
@ -34,10 +34,10 @@
|
|||
#ifdef HAVE_LANGINFO_H
|
||||
#include <langinfo.h>
|
||||
#endif
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
#include "Foundation/NSBundle.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSBundle.h"
|
||||
|
||||
#include "GSPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
/*
|
||||
* Function called by [NSObject +initialize] to setup locale information
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "config.h"
|
||||
#import "config.h"
|
||||
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "GSRunLoopWatcher.h"
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSPort.h>
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "GSRunLoopWatcher.h"
|
||||
#import <Foundation/NSException.h>
|
||||
#import <Foundation/NSPort.h>
|
||||
|
||||
@implementation GSRunLoopWatcher
|
||||
|
||||
|
|
|
@ -23,20 +23,20 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSSet.h"
|
||||
#include "GNUstepBase/GSObjCRuntime.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSPortCoder.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSSet.h"
|
||||
#import "GNUstepBase/GSObjCRuntime.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSPortCoder.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSObjCRuntime.h"
|
||||
// For private method _decodeArrayOfObjectsForKey:
|
||||
#include "Foundation/NSKeyedArchiver.h"
|
||||
#include "GSPrivate.h"
|
||||
#import "Foundation/NSKeyedArchiver.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
#define GSI_MAP_HAS_VALUE 0
|
||||
#define GSI_MAP_KTYPES GSUNION_OBJ
|
||||
|
|
|
@ -24,16 +24,18 @@
|
|||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSRunLoop.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
#include <Foundation/NSHost.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
#import <Foundation/NSData.h>
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSEnumerator.h>
|
||||
#import <Foundation/NSRunLoop.h>
|
||||
#import <Foundation/NSException.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
#import <Foundation/NSHost.h>
|
||||
#import <Foundation/NSDebug.h>
|
||||
|
||||
#include "GSStream.h"
|
||||
#include "GSPrivate.h"
|
||||
#import "GSStream.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
NSString * const NSStreamDataWrittenToMemoryStreamKey
|
||||
= @"NSStreamDataWrittenToMemoryStreamKey";
|
||||
|
|
|
@ -33,28 +33,28 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSCharacterSet.h"
|
||||
#include "Foundation/NSRange.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
#include "Foundation/NSKeyedArchiver.h"
|
||||
#include "GNUstepBase/GSObjCRuntime.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSCharacterSet.h"
|
||||
#import "Foundation/NSRange.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSObjCRuntime.h"
|
||||
#import "Foundation/NSKeyedArchiver.h"
|
||||
#import "GNUstepBase/GSObjCRuntime.h"
|
||||
#include <limits.h>
|
||||
|
||||
#include "GSPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
/* memcpy(), strlen(), strcmp() are gcc builtin's */
|
||||
|
||||
#include "GNUstepBase/Unicode.h"
|
||||
#import "GNUstepBase/Unicode.h"
|
||||
|
||||
static BOOL isByteEncoding(NSStringEncoding enc)
|
||||
{
|
||||
|
|
|
@ -27,30 +27,31 @@
|
|||
/*
|
||||
* Headers needed by many URL loading classes
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSHTTPCookie.h"
|
||||
#include "Foundation/NSHTTPCookieStorage.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSStream.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSURL.h"
|
||||
#include "Foundation/NSURLAuthenticationChallenge.h"
|
||||
#include "Foundation/NSURLCache.h"
|
||||
#include "Foundation/NSURLConnection.h"
|
||||
#include "Foundation/NSURLCredential.h"
|
||||
#include "Foundation/NSURLCredentialStorage.h"
|
||||
#include "Foundation/NSURLDownload.h"
|
||||
#include "Foundation/NSURLError.h"
|
||||
#include "Foundation/NSURLProtectionSpace.h"
|
||||
#include "Foundation/NSURLProtocol.h"
|
||||
#include "Foundation/NSURLRequest.h"
|
||||
#include "Foundation/NSURLResponse.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSHTTPCookie.h"
|
||||
#import "Foundation/NSHTTPCookieStorage.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSStream.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSURL.h"
|
||||
#import "Foundation/NSURLAuthenticationChallenge.h"
|
||||
#import "Foundation/NSURLCache.h"
|
||||
#import "Foundation/NSURLConnection.h"
|
||||
#import "Foundation/NSURLCredential.h"
|
||||
#import "Foundation/NSURLCredentialStorage.h"
|
||||
#import "Foundation/NSURLDownload.h"
|
||||
#import "Foundation/NSURLError.h"
|
||||
#import "Foundation/NSURLProtectionSpace.h"
|
||||
#import "Foundation/NSURLProtocol.h"
|
||||
#import "Foundation/NSURLRequest.h"
|
||||
#import "Foundation/NSURLResponse.h"
|
||||
|
||||
/*
|
||||
* Private accessors for URL loading classes
|
||||
|
|
|
@ -22,15 +22,15 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSZone.h"
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSZone.h"
|
||||
#import "Foundation/NSObjCRuntime.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
|
||||
@interface GSValue : NSValue
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#import "config.h"
|
||||
#include <math.h>
|
||||
|
||||
#import "Foundation/NSArray.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#import "config.h"
|
||||
/*
|
||||
* Setup for inline operation of pointer map tables.
|
||||
*/
|
||||
|
@ -47,7 +47,6 @@
|
|||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSString.h"
|
||||
|
||||
typedef unsigned char uchar;
|
||||
|
|
|
@ -30,28 +30,28 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSRange.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSRange.h"
|
||||
#include <limits.h>
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSThread.h"
|
||||
#include "Foundation/NSMapTable.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSNull.h"
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
#include "Foundation/NSIndexSet.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSThread.h"
|
||||
#import "Foundation/NSMapTable.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSNull.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSIndexSet.h"
|
||||
// For private method _decodeArrayOfObjectsForKey:
|
||||
#include "Foundation/NSKeyedArchiver.h"
|
||||
#include "GNUstepBase/GSCategories.h"
|
||||
#include "GSPrivate.h"
|
||||
#import "Foundation/NSKeyedArchiver.h"
|
||||
#import "GNUstepBase/GSCategories.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
static BOOL GSMacOSXCompatiblePropertyLists(void)
|
||||
{
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSEnumerator.h"
|
||||
#include "Foundation/NSProcessInfo.h"
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
|
|
|
@ -29,9 +29,10 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "GNUstepBase/GSLock.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "GNUstepBase/GSLock.h"
|
||||
|
||||
/*
|
||||
* Setup for inline operation of pointer map tables.
|
||||
|
|
|
@ -25,17 +25,17 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/GSLock.h"
|
||||
#include "Foundation/NSSet.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSNotification.h"
|
||||
#include "Foundation/NSThread.h"
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/GSLock.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSSet.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSNotification.h"
|
||||
#import "Foundation/NSThread.h"
|
||||
#import "Foundation/NSObjCRuntime.h"
|
||||
|
||||
@class GSCountedSet;
|
||||
@interface GSCountedSet : NSObject // Help the compiler
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
|
|
|
@ -25,10 +25,10 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
|
||||
/**
|
||||
* Simple class for iterating over a collection of objects, usually returned
|
||||
|
|
|
@ -24,19 +24,20 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include <Foundation/NSDebug.h>
|
||||
#include <Foundation/NSBundle.h>
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSNull.h"
|
||||
#include "Foundation/NSThread.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import <Foundation/NSDebug.h>
|
||||
#import <Foundation/NSBundle.h>
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSNull.h"
|
||||
#import "Foundation/NSThread.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#include <stdio.h>
|
||||
|
||||
typedef struct { @defs(NSThread) } *TInfo;
|
||||
|
@ -175,12 +176,9 @@ GSPrivateBaseAddress(void *addr, void **base)
|
|||
|
||||
- (oneway void) dealloc
|
||||
{
|
||||
[_module release];
|
||||
_module = nil;
|
||||
[_fileName release];
|
||||
_fileName = nil;
|
||||
[_functionName release];
|
||||
_functionName = nil;
|
||||
DESTROY(_module);
|
||||
DESTROY(_fileName);
|
||||
DESTROY(_functionName);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -212,10 +210,10 @@ GSPrivateBaseAddress(void *addr, void **base)
|
|||
function: (NSString*)function
|
||||
line: (int)lineNo
|
||||
{
|
||||
_module = [module retain];
|
||||
_module = RETAIN(_module);
|
||||
_address = address;
|
||||
_fileName = [file retain];
|
||||
_functionName = [function retain];
|
||||
_fileName = [file copy];
|
||||
_functionName = [function copy];
|
||||
_lineNo = lineNo;
|
||||
|
||||
return self;
|
||||
|
@ -256,8 +254,7 @@ GSPrivateBaseAddress(void *addr, void **base)
|
|||
|
||||
- (oneway void) dealloc
|
||||
{
|
||||
[_fileName release];
|
||||
_fileName = nil;
|
||||
DESTROY(_fileName);
|
||||
if (_abfd)
|
||||
{
|
||||
bfd_close (_abfd);
|
||||
|
@ -564,13 +561,13 @@ GSListModules()
|
|||
// grab the current stack
|
||||
- (id) init
|
||||
{
|
||||
#if defined(STACKSYMBOLS)
|
||||
int i;
|
||||
int n;
|
||||
|
||||
frames = [[NSMutableArray alloc] init];
|
||||
n = NSCountFrames();
|
||||
|
||||
#if defined(STACKSYMBOLS)
|
||||
for (i = 0; i < n; i++)
|
||||
{
|
||||
GSFunctionInfo *aFrame = nil;
|
||||
|
@ -631,12 +628,6 @@ GSListModules()
|
|||
[frames addObject: aFrame];
|
||||
}
|
||||
#else
|
||||
int i;
|
||||
int n;
|
||||
|
||||
frames = [[NSMutableArray alloc] init];
|
||||
n = NSCountFrames();
|
||||
|
||||
for (i = 0; i < n; i++)
|
||||
{
|
||||
void *address = NSReturnAddress(i);
|
||||
|
|
|
@ -27,16 +27,17 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSHost.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSSet.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#import "config.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSHost.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSSet.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <winsock2.h>
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSSet.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSEnumerator.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSZone.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
|
|
|
@ -23,15 +23,16 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSMapTable.h>
|
||||
#include <Foundation/NSNull.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSMapTable.h"
|
||||
#import "Foundation/NSNull.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
|
||||
#include "GSPrivate.h"
|
||||
#include "config.h"
|
||||
#import "GSPrivate.h"
|
||||
#import "config.h"
|
||||
|
||||
/*
|
||||
* Setup for inline operation of arrays.
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
*/
|
||||
|
||||
#import "Foundation/NSNetServices.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSNull.h"
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSPort.h"
|
||||
#include "Foundation/NSString.h"
|
||||
|
||||
|
|
|
@ -25,15 +25,16 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSPort.h"
|
||||
#include "Foundation/NSPortNameServer.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
#include "GSPortPrivate.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSPort.h"
|
||||
#import "Foundation/NSPortNameServer.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "GSPortPrivate.h"
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,32 +23,33 @@
|
|||
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#import "config.h"
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include "GNUstepBase/GSMime.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "GNUstepBase/GSMime.h"
|
||||
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSByteOrder.h"
|
||||
#include "Foundation/NSCalendarDate.h"
|
||||
#include "Foundation/NSCharacterSet.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSPropertyList.h"
|
||||
#include "Foundation/NSSerialization.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSTimeZone.h"
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "Foundation/NSNull.h"
|
||||
#include "Foundation/NSXMLParser.h"
|
||||
#include "GNUstepBase/Unicode.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSAutoreleasePool.h"
|
||||
#import "Foundation/NSByteOrder.h"
|
||||
#import "Foundation/NSCalendarDate.h"
|
||||
#import "Foundation/NSCharacterSet.h"
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSPropertyList.h"
|
||||
#import "Foundation/NSSerialization.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSTimeZone.h"
|
||||
#import "Foundation/NSUserDefaults.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
#import "Foundation/NSNull.h"
|
||||
#import "Foundation/NSXMLParser.h"
|
||||
#import "GNUstepBase/Unicode.h"
|
||||
|
||||
#include "GSPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
@class GSSloppyXMLParser;
|
||||
|
||||
|
@ -489,7 +490,7 @@ static void setupWhitespace(void)
|
|||
}
|
||||
|
||||
#ifdef HAVE_LIBXML
|
||||
#include "GNUstepBase/GSXML.h"
|
||||
#import "GNUstepBase/GSXML.h"
|
||||
static int XML_ELEMENT_NODE;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "Foundation/NSSet.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSEnumerator.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
|
|
|
@ -96,7 +96,6 @@
|
|||
#include "Foundation/NSProcessInfo.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSUserDefaults.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSZone.h"
|
||||
#include "Foundation/NSBundle.h"
|
||||
#include "Foundation/NSMapTable.h"
|
||||
|
|
|
@ -36,21 +36,21 @@ function may be incorrect
|
|||
* I've put 2 functions to make tests. You can add your own tests
|
||||
* Some functions are not implemented
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "Foundation/NSObject.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSFileManager.h"
|
||||
#include "Foundation/NSLock.h"
|
||||
#include "Foundation/NSMapTable.h"
|
||||
#include "Foundation/NSURLHandle.h"
|
||||
#include "Foundation/NSURL.h"
|
||||
#include "Foundation/NSRunLoop.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSZone.h"
|
||||
#import "config.h"
|
||||
#import "Foundation/NSObject.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSLock.h"
|
||||
#import "Foundation/NSMapTable.h"
|
||||
#import "Foundation/NSURLHandle.h"
|
||||
#import "Foundation/NSURL.h"
|
||||
#import "Foundation/NSRunLoop.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSZone.h"
|
||||
|
||||
NSString * const NSURLErrorDomain = @"NSURLErrorDomain";
|
||||
NSString * const NSErrorFailingURLStringKey = @"NSErrorFailingURLStringKey";
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#include "Foundation/NSError.h"
|
||||
#import "GSURLPrivate.h"
|
||||
#import "Foundation/NSError.h"
|
||||
|
||||
|
||||
// Internal data storage
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
|
||||
// FIXME ... locking and disk storage needed
|
||||
typedef struct {
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include <Foundation/NSRunLoop.h>
|
||||
#include "GSURLPrivate.h"
|
||||
#import <Foundation/NSRunLoop.h>
|
||||
#import "GSURLPrivate.h"
|
||||
|
||||
|
||||
@interface _NSURLConnectionDataCollector : NSObject <NSURLProtocolClient>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
|
||||
// Internal data storage
|
||||
typedef struct {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
|
||||
NSString *const NSURLCredentialStorageChangedNotification
|
||||
= @"NSURLCredentialStorageChangedNotification";
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
|
||||
@interface GSURLDownload : NSObject <NSURLProtocolClient>
|
||||
{
|
||||
|
|
|
@ -27,12 +27,11 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
|
||||
#include "Foundation/NSEnumerator.h"
|
||||
#include "Foundation/NSURLHandle.h"
|
||||
#include "Foundation/NSRunLoop.h"
|
||||
#include "Foundation/NSFileManager.h"
|
||||
#import "Foundation/NSURLHandle.h"
|
||||
#import "Foundation/NSRunLoop.h"
|
||||
#import "Foundation/NSFileManager.h"
|
||||
|
||||
|
||||
@class GSFTPURLHandle;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
|
||||
NSString * const NSURLProtectionSpaceFTPProxy = @"ftp";
|
||||
NSString * const NSURLProtectionSpaceHTTPProxy = @"http";
|
||||
|
|
|
@ -22,14 +22,14 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include <Foundation/NSError.h>
|
||||
#include <Foundation/NSHost.h>
|
||||
#include <Foundation/NSRunLoop.h>
|
||||
#import <Foundation/NSError.h>
|
||||
#import <Foundation/NSHost.h>
|
||||
#import <Foundation/NSRunLoop.h>
|
||||
|
||||
#include "GNUstepBase/GSMime.h"
|
||||
#import "GNUstepBase/GSMime.h"
|
||||
|
||||
#include "GSPrivate.h"
|
||||
#include "GSURLPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
|
||||
|
||||
@interface _NSAboutURLProtocol : NSURLProtocol
|
||||
|
|
|
@ -22,10 +22,10 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#include "GSPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
#include "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
|
||||
|
||||
// Internal data storage
|
||||
|
|
|
@ -22,13 +22,13 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "GSURLPrivate.h"
|
||||
#include "GSPrivate.h"
|
||||
#import "GSURLPrivate.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSScanner.h"
|
||||
#include "NSCallBacks.h"
|
||||
#include "GNUstepBase/GSMime.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSScanner.h"
|
||||
#import "NSCallBacks.h"
|
||||
#import "GNUstepBase/GSMime.h"
|
||||
|
||||
|
||||
// Internal data storage
|
||||
|
|
|
@ -25,12 +25,13 @@
|
|||
$Date$ $Revision$
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#import "config.h"
|
||||
#include <string.h>
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
#include "Foundation/NSZone.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSByteOrder.h"
|
||||
#import "Foundation/NSObjCRuntime.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSZone.h"
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSByteOrder.h"
|
||||
|
||||
/*
|
||||
* Setup for inline operation of arrays.
|
||||
|
@ -48,7 +49,6 @@
|
|||
#include "Foundation/NSAutoreleasePool.h"
|
||||
#include "Foundation/NSCoder.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include "Foundation/NSArray.h"
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
#include "Foundation/NSSet.h"
|
||||
#include "Foundation/NSThread.h"
|
||||
#include "Foundation/NSTimer.h"
|
||||
#include "Foundation/NSUtilities.h"
|
||||
#include "Foundation/NSValue.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#include "GNUstepBase/GSLocale.h"
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSRunLoop.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSError.h>
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSRunLoop.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSError.h>
|
||||
|
|
|
@ -370,7 +370,6 @@ void
|
|||
bench_number()
|
||||
{
|
||||
int i;
|
||||
int j;
|
||||
NSMutableDictionary *dict;
|
||||
NSNumber *n[MAX_COUNT*10];
|
||||
|
||||
|
|
|
@ -72,11 +72,15 @@ GS_EXPORT NSString * const GSTelnetTextKey;
|
|||
|
||||
if (i > 0 && ptr[i-1] == '\r')
|
||||
{
|
||||
s = [NSString stringWithUTF8String: ptr length: i-1];
|
||||
s = [[NSString alloc] initWithBytes: ptr
|
||||
length: i-1
|
||||
encoding: NSUTF8StringEncoding];
|
||||
}
|
||||
else
|
||||
{
|
||||
s = [NSString stringWithUTF8String: ptr length: i];
|
||||
s = [[NSString alloc] initWithBytes: ptr
|
||||
length: i
|
||||
encoding: NSUTF8StringEncoding];
|
||||
}
|
||||
len -= (i + 1);
|
||||
if (len > 0)
|
||||
|
@ -87,6 +91,7 @@ GS_EXPORT NSString * const GSTelnetTextKey;
|
|||
ptr = [buf mutableBytes];
|
||||
i = -1;
|
||||
[remote putTelnetLine: s];
|
||||
[s release];
|
||||
}
|
||||
}
|
||||
[ichan readInBackgroundAndNotify];
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <Foundation/NSSet.h>
|
||||
#include <Foundation/NSUtilities.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
#include <Foundation/NSDate.h>
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
*/
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSException.h>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#endif
|
||||
#include "Foundation/NSArray.h"
|
||||
#include "Foundation/NSBundle.h"
|
||||
#include "Foundation/NSDictionary.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSString.h"
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
This file is part of the GNUstep Base Library.
|
||||
*/
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSDate.h>
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
*/
|
||||
#include <Foundation/NSSet.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <assert.h>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSDate.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSTimeZone.h>
|
||||
#include <Foundation/NSCalendarDate.h>
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSProcessInfo.h>
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
#include <Foundation/NSObject.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSString.h>
|
||||
|
||||
#include "StringsEntry.h"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
|
||||
#include "make_strings.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue