2010-02-18 16:18:54 +00:00
|
|
|
/*
|
|
|
|
Global include file for the GNUstep Base Library.
|
|
|
|
|
|
|
|
Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
Written by: Scott Christley <scottc@net-community.com>
|
|
|
|
Date: Sep 1997
|
2010-09-10 13:20:06 +00:00
|
|
|
|
2010-02-18 16:18:54 +00:00
|
|
|
This file is part of the GNUstep Base Library.
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2 of the License, or (at your option) any later version.
|
2010-09-10 13:20:06 +00:00
|
|
|
|
2010-02-18 16:18:54 +00:00
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Library General Public License for more details.
|
2010-09-10 13:20:06 +00:00
|
|
|
|
2010-02-18 16:18:54 +00:00
|
|
|
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.
|
2010-09-10 13:20:06 +00:00
|
|
|
*/
|
2010-02-18 16:18:54 +00:00
|
|
|
|
|
|
|
#ifndef __Foundation_h_GNUSTEP_BASE_INCLUDE
|
|
|
|
#define __Foundation_h_GNUSTEP_BASE_INCLUDE
|
|
|
|
|
|
|
|
#import <GNUstepBase/GSVersionMacros.h>
|
|
|
|
#import <objc/objc.h>
|
|
|
|
|
|
|
|
#import <Foundation/FoundationErrors.h>
|
|
|
|
#import <Foundation/NSObjCRuntime.h>
|
|
|
|
#import <GNUstepBase/GSConfig.h>
|
|
|
|
#import <Foundation/NSDebug.h>
|
|
|
|
#import <Foundation/NSObject.h>
|
|
|
|
|
|
|
|
#import <Foundation/NSAffineTransform.h>
|
|
|
|
#import <Foundation/NSArchiver.h>
|
|
|
|
#import <Foundation/NSArray.h>
|
|
|
|
#import <Foundation/NSAttributedString.h>
|
|
|
|
#import <Foundation/NSAutoreleasePool.h>
|
|
|
|
#import <Foundation/NSBundle.h>
|
|
|
|
#import <Foundation/NSByteOrder.h>
|
|
|
|
#import <Foundation/NSCache.h>
|
2010-12-15 00:04:51 +00:00
|
|
|
#import <Foundation/NSCalendar.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSCalendarDate.h>
|
|
|
|
#import <Foundation/NSCharacterSet.h>
|
|
|
|
#import <Foundation/NSClassDescription.h>
|
|
|
|
#import <Foundation/NSCoder.h>
|
|
|
|
#import <Foundation/NSComparisonPredicate.h>
|
|
|
|
#import <Foundation/NSCompoundPredicate.h>
|
|
|
|
#import <Foundation/NSConnection.h>
|
|
|
|
#import <Foundation/NSData.h>
|
|
|
|
#import <Foundation/NSDateFormatter.h>
|
|
|
|
#import <Foundation/NSDate.h>
|
|
|
|
#import <Foundation/NSDecimalNumber.h>
|
|
|
|
#import <Foundation/NSDictionary.h>
|
|
|
|
#import <Foundation/NSDistantObject.h>
|
|
|
|
#import <Foundation/NSDistributedLock.h>
|
|
|
|
#import <Foundation/NSDistributedNotificationCenter.h>
|
|
|
|
#import <Foundation/NSEnumerator.h>
|
|
|
|
#import <Foundation/NSError.h>
|
|
|
|
#import <Foundation/NSException.h>
|
|
|
|
#import <Foundation/NSExpression.h>
|
2017-06-21 00:03:43 +00:00
|
|
|
#import <Foundation/NSFileCoordinator.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSFileHandle.h>
|
|
|
|
#import <Foundation/NSFileManager.h>
|
2017-06-21 00:03:43 +00:00
|
|
|
#import <Foundation/NSFilePresenter.h>
|
|
|
|
#import <Foundation/NSFileVersion.h>
|
2019-09-11 17:20:10 +00:00
|
|
|
#import <Foundation/NSFileWrapper.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSFormatter.h>
|
|
|
|
#import <Foundation/NSGarbageCollector.h>
|
|
|
|
#import <Foundation/NSGeometry.h>
|
|
|
|
#import <Foundation/NSHashTable.h>
|
|
|
|
#import <Foundation/NSHost.h>
|
|
|
|
#import <Foundation/NSHTTPCookie.h>
|
|
|
|
#import <Foundation/NSHTTPCookieStorage.h>
|
|
|
|
#import <Foundation/NSIndexPath.h>
|
|
|
|
#import <Foundation/NSIndexSet.h>
|
|
|
|
#import <Foundation/NSInvocation.h>
|
2013-07-09 18:59:38 +00:00
|
|
|
#import <Foundation/NSInvocationOperation.h>
|
2011-07-25 15:50:51 +00:00
|
|
|
#import <Foundation/NSJSONSerialization.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSKeyedArchiver.h>
|
|
|
|
#import <Foundation/NSKeyValueCoding.h>
|
|
|
|
#import <Foundation/NSKeyValueObserving.h>
|
Added implementation of NSRegularExpression, from iOS 4 Foundation.
This class is a thin wrapper around libicu regular expressions, so if we don't
have libicu we simply don't compile it at all. This will give people a linker
failure, rather than a nonfunctional class if they try to use GNUstep without
ICU with code that requires it.
The Apple documentation says that this class has a primitive method that takes
a block as an argument and that this method is called by others, so subclasses
can replace that block method without touching the convenience methods. We
mimic this behaviour when compiling with block, but when compiling without them
it's a problem. The current code contains some ugly hacks that will work in
normal usage but break with subclassing when not compiling with blocks.
This commit also includes a partial implementation of NSTextCheckingResult,
implementing the subset of its functionality required for NSRegularExpression
to work.
It also includes numerous fixes to GSICUString. This is heavily used by
NSRegularExpression, to avoid copying strings when mapping between UText for
libicu and NSString for GNUstep.
Note: I don't have a copy of iOS anywhere to test this against, so it's
entirely possible that there are significant discrepancies between this
implementation of NSRegularExpression and the iOS version. This version should
function exactly as the iOS one is described as functioning, but I think we've
all seen that Apple documentation refers more to hopes than facts. Any testing
that someone who does have an ip{hone,od,ad} can do is very welcome.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31635 72102866-910b-0410-8b05-ffd578937521
2010-11-19 22:06:18 +00:00
|
|
|
#import <Foundation/NSLock.h>
|
2010-11-20 17:04:41 +00:00
|
|
|
#import <Foundation/NSLocale.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSMapTable.h>
|
2012-11-19 03:15:09 +00:00
|
|
|
#import <Foundation/NSMetadata.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSMethodSignature.h>
|
|
|
|
#import <Foundation/NSNotification.h>
|
|
|
|
#import <Foundation/NSNotificationQueue.h>
|
|
|
|
#import <Foundation/NSNetServices.h>
|
|
|
|
#import <Foundation/NSNull.h>
|
|
|
|
#import <Foundation/NSNumberFormatter.h>
|
|
|
|
#import <Foundation/NSOperation.h>
|
2019-05-16 17:55:57 +00:00
|
|
|
#import <Foundation/NSOrderedSet.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSPathUtilities.h>
|
|
|
|
#import <Foundation/NSPointerArray.h>
|
|
|
|
#import <Foundation/NSPointerFunctions.h>
|
|
|
|
#import <Foundation/NSPortCoder.h>
|
|
|
|
#import <Foundation/NSPortMessage.h>
|
|
|
|
#import <Foundation/NSPortNameServer.h>
|
|
|
|
#import <Foundation/NSPredicate.h>
|
|
|
|
#import <Foundation/NSProcessInfo.h>
|
2019-08-10 05:40:09 +00:00
|
|
|
#import <Foundation/NSProgress.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSProtocolChecker.h>
|
|
|
|
#import <Foundation/NSProxy.h>
|
|
|
|
#import <Foundation/NSRange.h>
|
2013-04-15 09:07:19 +00:00
|
|
|
#import <Foundation/NSRegularExpression.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSRunLoop.h>
|
|
|
|
#import <Foundation/NSScanner.h>
|
2012-09-17 16:05:06 +00:00
|
|
|
#import <Foundation/NSScriptWhoseTests.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSSerialization.h>
|
|
|
|
#import <Foundation/NSSet.h>
|
|
|
|
#import <Foundation/NSSortDescriptor.h>
|
|
|
|
#import <Foundation/NSSpellServer.h>
|
|
|
|
#import <Foundation/NSStream.h>
|
|
|
|
#import <Foundation/NSString.h>
|
|
|
|
#import <Foundation/NSTask.h>
|
2014-04-12 04:38:13 +00:00
|
|
|
#import <Foundation/NSTextCheckingResult.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSThread.h>
|
|
|
|
#import <Foundation/NSTimer.h>
|
|
|
|
#import <Foundation/NSTimeZone.h>
|
2019-07-03 08:11:44 +00:00
|
|
|
#import <Foundation/NSUbiquitousKeyValueStore.h>
|
2019-07-03 08:36:24 +00:00
|
|
|
#import <Foundation/NSUndoManager.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#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/NSURL.h>
|
|
|
|
#import <Foundation/NSURLHandle.h>
|
|
|
|
#import <Foundation/NSURLProtectionSpace.h>
|
|
|
|
#import <Foundation/NSURLProtocol.h>
|
|
|
|
#import <Foundation/NSURLRequest.h>
|
|
|
|
#import <Foundation/NSURLResponse.h>
|
2017-06-21 00:03:43 +00:00
|
|
|
#import <Foundation/NSURLSession.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSUserDefaults.h>
|
2014-01-31 14:29:04 +00:00
|
|
|
#import <Foundation/NSUserNotification.h>
|
2015-01-13 20:46:32 +00:00
|
|
|
#import <Foundation/NSUUID.h>
|
2010-02-18 16:18:54 +00:00
|
|
|
#import <Foundation/NSValue.h>
|
|
|
|
#import <Foundation/NSValueTransformer.h>
|
|
|
|
#import <Foundation/NSXMLDocument.h>
|
|
|
|
#import <Foundation/NSXMLDTD.h>
|
|
|
|
#import <Foundation/NSXMLDTDNode.h>
|
|
|
|
#import <Foundation/NSXMLElement.h>
|
|
|
|
#import <Foundation/NSXMLNode.h>
|
|
|
|
#import <Foundation/NSXMLNodeOptions.h>
|
|
|
|
#import <Foundation/NSXMLParser.h>
|
|
|
|
#import <Foundation/NSZone.h>
|
|
|
|
|
2019-05-14 10:59:13 +00:00
|
|
|
#ifdef __has_include
|
|
|
|
# if __has_include(<CoreFoundation/CoreFoundation.h>)
|
|
|
|
# include <CoreFoundation/CoreFoundation.h>
|
|
|
|
# endif
|
|
|
|
# if __has_include(<dispatch/dispatch.h>)
|
|
|
|
# include <dispatch/dispatch.h>
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2010-02-18 16:18:54 +00:00
|
|
|
#endif /* __Foundation_h_GNUSTEP_BASE_INCLUDE */
|