libs-base/Source
Niels Grewe f8fd11f3fd Completely overhaul how we do sorting in -base. GSSorting.h now defines an
interface that can be used for all sorting tasks in the library. The actual sort
algorithms to use are now plugable. Timsort is the new default sorting
algorithm, the existing algorithms, shellsort and quicksort, can still be
selected using a configure switch.

Also implement the new NSComparator (blocks) based sorting and insertion index
searching methods for NSMutableArray and NSArray.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35573 72102866-910b-0410-8b05-ffd578937521
2012-09-19 13:31:09 +00:00
..
Additions quadword number fix 2012-09-07 08:21:23 +00:00
ObjectiveC2 Fix problem as reported by James Cook <mokus@deepbondi.net> 2012-04-17 21:06:41 +00:00
unix Fix previous change to compile again when using select() instead of poll(). 2012-06-07 08:11:59 +00:00
win32 simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
.cvsignore Header reorganizsateion - Please refer to ChangeLog 2003-07-31 23:49:32 +00:00
callframe.h a bit step towards removing obsolete mframe code. 2009-10-04 15:26:07 +00:00
callframe.m include malloc.h for alloc() on platforms where it isn't in alloca.h 2010-03-16 06:11:00 +00:00
cifframe.h crude KVO setter for structs 2012-07-27 16:48:49 +00:00
cifframe.m crude KVO setter for structs 2012-07-27 16:48:49 +00:00
common.h simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
CompatibilityHeaders.make allow developers more time to adapt to LGPLv3 2008-06-08 10:38:33 +00:00
CXXException.m Register C++ exception handler correctly for little endian platforms as well as big endian ones. 2011-03-16 14:38:42 +00:00
dld-load.h avoid compiler/linker warnings 2011-03-07 11:34:17 +00:00
DocMakefile documentation cleanups 2011-10-17 10:59:02 +00:00
externs.m Start stuff for handling cleanup on process exit. 2011-06-19 09:26:03 +00:00
GNUmakefile Completely overhaul how we do sorting in -base. GSSorting.h now defines an 2012-09-19 13:31:09 +00:00
GSArray.m Completely overhaul how we do sorting in -base. GSSorting.h now defines an 2012-09-19 13:31:09 +00:00
GSAttributedString.m * Source/GSAttributedString.m: Throw an exception if the string object 2011-07-21 01:23:08 +00:00
GSAvahiClient.h attempt to get avahi code working without breaking abi. 2010-07-13 12:13:31 +00:00
GSAvahiClient.m a few more static analyser tweaks 2011-03-09 12:40:50 +00:00
GSAvahiNetService.m fix typo 2012-01-09 22:57:10 +00:00
GSAvahiNetServiceBrowser.m fix ivar errors and missing import 2010-07-13 11:21:46 +00:00
GSAvahiRunLoopIntegration.h Attempt to integrate Niels Grewe's avahi code 2010-07-13 10:35:13 +00:00
GSAvahiRunLoopIntegration.m trivial formating tweaks ... add missing white space 2012-01-01 07:38:53 +00:00
GSBlocks.m Cleanup: 2011-07-31 15:31:39 +00:00
GSConcreteValue.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
GSConcreteValueTemplate.m Fix suggested by Dag Agren in bug #35477 2012-02-08 15:34:48 +00:00
GSCountedSet.m Ooops, should have been -> const id[]. 2011-07-31 18:37:12 +00:00
GSDictionary.m Lots of little fixes to make -base compile with -Werror (now builds without warnings). 2011-07-24 13:09:22 +00:00
GSDispatch.h Detect the presence of libdispatch and, if available, use it for collection 2012-03-27 17:05:19 +00:00
GSeq.h Another use of tolower() found and removed ... retain tolower() when the 2012-08-09 18:57:20 +00:00
GSFastEnumeration.h Tidied up some compiler warnings in last commit. 2009-12-27 14:41:15 +00:00
GSFFCallInvocation.m Use GSSelectorTypesMatch() for types comparison where we are interested in types 2012-07-20 04:43:58 +00:00
GSFFIInvocation.m crude KVO setter for structs 2012-07-27 16:48:49 +00:00
GSFileHandle.h tidyup private api 2011-10-19 15:25:38 +00:00
GSFileHandle.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
GSFormat.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
GSFTPURLHandle.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
GSHTTPAuthentication.m add last night's changes based on static analyser results. 2011-03-09 10:24:18 +00:00
GSHTTPURLHandle.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
GSICUString.h Recommit tested changes. 2011-02-11 14:31:25 +00:00
GSICUString.m Recommit tested changes. 2011-02-11 14:31:25 +00:00
GSInternal.h Fix NSXML ABI breakage 2012-01-04 12:41:45 +00:00
GSInvocation.h Lots of little fixes to make -base compile with -Werror (now builds without warnings). 2011-07-24 13:09:22 +00:00
GSLocale.m * Source/GSLocale.m (GSDefaultLanguageLocale): Add missing check 2012-03-02 21:38:41 +00:00
GSMDNSNetServices.m whitespace tweaks 2012-01-04 12:38:18 +00:00
GSNetServices.h fix to compile on systems withut avahi 2011-03-01 18:14:21 +00:00
GSNetwork.h Apply fixes for a couple of bug reports. 2012-03-01 19:39:20 +00:00
GSNumberTypes.h Simplify the KVC getter code and make it return structs boxed in NSValues 2010-09-24 19:20:16 +00:00
GSPortPrivate.h generalize define from __MINGW32__ to __MINGW__ 2010-03-19 12:10:11 +00:00
GSPrivate.h crude KVO setter for structs 2012-07-27 16:48:49 +00:00
GSPThread.h Simplify source by usuing autoconf 2010-06-12 07:19:26 +00:00
GSQuickSort.m Completely overhaul how we do sorting in -base. GSSorting.h now defines an 2012-09-19 13:31:09 +00:00
GSRunLoopCtxt.h experimental change to try to avoid non-standard extensions 2012-03-01 09:14:08 +00:00
GSRunLoopWatcher.h experimental change to try to avoid non-standard extensions 2012-03-01 09:14:08 +00:00
GSRunLoopWatcher.m generalize define from __MINGW32__ to __MINGW__ 2010-03-19 12:10:11 +00:00
GSSet.m More ARC fixups: id* -> const id* in NSSet 2011-07-31 18:34:40 +00:00
GSShellSort.m Completely overhaul how we do sorting in -base. GSSorting.h now defines an 2012-09-19 13:31:09 +00:00
GSSocketStream.h windows compile fixes 2011-10-12 16:23:52 +00:00
GSSocketStream.m Fix the remaining compiler warnings. 2012-04-07 10:45:30 +00:00
GSSorting.h Completely overhaul how we do sorting in -base. GSSorting.h now defines an 2012-09-19 13:31:09 +00:00
GSStream.h Move NSStream addition declarations to separate file. 2010-03-05 12:41:40 +00:00
GSStream.m attempt to fix event generation/handing logic for data streams 2012-03-07 13:46:50 +00:00
GSString.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
GSTimSort.m Completely overhaul how we do sorting in -base. GSSorting.h now defines an 2012-09-19 13:31:09 +00:00
GSURLPrivate.h experimental change to try to avoid non-standard extensions 2012-03-01 09:14:08 +00:00
GSValue.m selector comparison fixes 2012-08-02 09:27:59 +00:00
hpux-load.h allow developers more time to adapt to LGPLv3 2008-06-08 10:38:33 +00:00
inet_ntop.m experimental change to try to avoid non-standard extensions 2012-03-01 09:14:08 +00:00
inet_pton.m solaris thread-saff errrno fix 2011-10-14 11:40:34 +00:00
libgnustep-base-entry.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
Makefile.postamble Try to tidy/simplify objc2 header support. 2012-01-08 14:25:56 +00:00
Makefile.preamble Use _POSIX_C_SOURCE=199506L 2011-10-15 05:02:22 +00:00
NSAffineTransform.m Fix the remaining compiler warnings. 2012-04-07 10:45:30 +00:00
NSArchiver.m fix for bug #36824 2012-07-11 04:51:42 +00:00
NSArray.m Completely overhaul how we do sorting in -base. GSSorting.h now defines an 2012-09-19 13:31:09 +00:00
NSAssertionHandler.m Try to clean up after last commit. 2011-07-24 20:47:36 +00:00
NSAttributedString.m * Source/GSAttributedString.m: Throw an exception if the string object 2011-07-21 01:23:08 +00:00
NSAutoreleasePool.m Fix a bug in the new autorelease pool implementation when pools are destroyed in the wrong order. 2012-04-23 12:47:09 +00:00
NSBundle.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSCache.m Fix release of the wrong object in NSCache. 2011-02-11 12:42:59 +00:00
NSCachedURLResponse.m add last night's changes based on static analyser results. 2011-03-09 10:24:18 +00:00
NSCalendar.m * Source\NSCalendar.m: Protect the name id. 2011-06-11 10:44:38 +00:00
NSCalendarDate.m OSX compatibility tweaks inspiered by testplant 2012-09-10 05:18:09 +00:00
NSCallBacks.h Adjust callback prototypes to use NSUInteger instead of unsigned int. 2011-05-31 14:19:26 +00:00
NSCallBacks.m minor map/hash table compatibility tweaks and simplify notification center 2011-05-31 06:46:17 +00:00
NSCharacterSet.m * Source/NSUserDefaults.m: 2012-03-06 03:05:23 +00:00
NSCharacterSetData.h OSX compatibility update for newline character set. 2010-01-09 07:45:18 +00:00
NSClassDescription.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSCoder.m fix for bug #36824 2012-07-11 04:51:42 +00:00
NSConcreteHashTable.m Replace the implementations of NSFastEnumeration in NSConcrete{Hash,Map}Table with ones that work and don't cause people to dereference pointers that are set to random integer values. 2011-08-09 08:43:54 +00:00
NSConcreteMapTable.m Replace the implementations of NSFastEnumeration in NSConcrete{Hash,Map}Table with ones that work and don't cause people to dereference pointers that are set to random integer values. 2011-08-09 08:43:54 +00:00
NSConcretePointerFunctions.h Make base do unintuitive and stupid things in the name of Apple compatibility (hopefully Apple will fix their implementation in 10.7.something...). 2011-08-03 09:04:12 +00:00
NSConcretePointerFunctions.m word size fixups 2012-01-09 08:28:27 +00:00
NSConnection.m Fix a few compiler warnings caused by type mismatches in NSLog statements. 2012-04-06 12:37:11 +00:00
NSCopyObject.m Replace old code directly referencing class_pointer ivar with calls to the new runtime API treating objects as opaque pointers. 2011-02-20 12:28:12 +00:00
NSCountedSet.m Lots of little fixes to make -base compile with -Werror (now builds without warnings). 2011-07-24 13:09:22 +00:00
NSData.m performance tweak for accumulating large amounts of data into a buffer. 2012-07-30 16:55:51 +00:00
NSDate.m OSX compatibility tweaks inspiered by testplant 2012-09-10 05:18:09 +00:00
NSDateFormatter.m Fix the build with the pure non-fragile ABI by declaring macros before using them. 2011-08-13 15:28:22 +00:00
NSDebug.m changes to support alternative header locations 2011-12-15 09:42:39 +00:00
NSDecimal.m double comparison fixes 2011-02-26 06:29:57 +00:00
NSDecimalNumber.m double comparison fixes 2011-02-26 06:29:57 +00:00
NSDictionary.m Support for collection subscripting (NSArray and NSDictionary). 2012-04-06 12:23:10 +00:00
NSDistantObject.m Changes to support clang's __attribute__((objc_root_class)). 2012-08-16 12:31:16 +00:00
NSDistributedLock.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSDistributedNotificationCenter.m Start stuff for handling cleanup on process exit. 2011-06-19 09:26:03 +00:00
NSEnumerator.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSError.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSException.m * Source/NSException.m (-raise): Only set the stack when the 2012-01-03 09:34:10 +00:00
NSFileHandle.m tidyup private api 2011-10-19 15:25:38 +00:00
NSFileManager.m Create directories only if it doesn't exist. 2012-09-09 21:29:38 +00:00
NSFormatter.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSGarbageCollector.m Small tweaks to NSGarbageCollector. 2011-06-29 11:46:45 +00:00
NSGeometry.m more header reorganisation 2010-02-25 08:36:34 +00:00
NSHashTable.m Silence some warnings caused by returning the result of a method that doesn't return. 2011-02-11 14:51:47 +00:00
NSHost.m small host lokup fixes 2012-01-25 19:52:34 +00:00
NSHTTPCookie.m Apply patches by Lubomir Rintel <lubo.rintel@gooddata.com> to enable cookies 2012-02-08 17:01:31 +00:00
NSHTTPCookieStorage.m preparation for osx compatibility fix 2012-08-10 08:36:09 +00:00
NSIndexPath.m Cleanup: 2011-07-31 15:31:39 +00:00
NSIndexSet.m fixes to conform to coding style 2012-08-29 08:54:46 +00:00
NSInvocation.m crude KVO setter for structs 2012-07-27 16:48:49 +00:00
NSJSONSerialization.m fix json quoting by copying from webservices library 2012-09-10 13:18:29 +00:00
NSKeyedArchiver.m fix for bug #36824 2012-07-11 04:51:42 +00:00
NSKeyedUnarchiver.m word size fixups 2012-01-09 08:28:27 +00:00
NSKeyValueCoding.m avoid a few warnings 2012-01-30 11:31:40 +00:00
NSKeyValueMutableArray.m Fix more unsigned int / int cases that should be NS[U]Integer 2010-09-16 02:55:24 +00:00
NSKeyValueMutableSet.m Fix more unsigned int / int cases that should be NS[U]Integer 2010-09-16 02:55:24 +00:00
NSKeyValueObserving.m fix for bug #36967 2012-07-27 19:00:17 +00:00
NSLocale.m Fix the build with the pure non-fragile ABI by declaring macros before using them. 2011-08-13 15:28:22 +00:00
NSLock.m solaris thread-saff errrno fix 2011-10-14 11:40:34 +00:00
NSLog.m Add support for logging to the QNX slog via NSLog(). 2012-08-25 23:55:51 +00:00
NSMapTable.m Silence some warnings caused by returning the result of a method that doesn't return. 2011-02-11 14:51:47 +00:00
NSMessagePort.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSMessagePortNameServer.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSMethodSignature.m Fix NSMethodSignature generating nonsense values when it encounters a type encoding including blocks. 2012-04-07 13:54:55 +00:00
NSNetServices.m a few more static analyser tweaks 2011-03-09 12:40:50 +00:00
NSNotification.m fixups for libobjc2 2010-02-25 18:49:31 +00:00
NSNotificationCenter.m avoid a few warnings 2012-01-30 11:31:40 +00:00
NSNotificationQueue.m improve comments 2010-08-17 07:35:20 +00:00
NSNull.m Cleanup: 2011-07-31 15:31:39 +00:00
NSNumber.m Add special small object class for floats. Previously, NSSmallRepeatableDouble 2012-04-01 07:33:38 +00:00
NSNumberFormatter.m Do not call unum_format* more than once. 2012-01-26 01:40:12 +00:00
NSNumberMethods.h Simplify the KVC getter code and make it return structs boxed in NSValues 2010-09-24 19:20:16 +00:00
NSObjCRuntime.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSObject+NSComparisonMethods.m * Headers/Foundation/Foundation.h 2012-09-17 16:05:06 +00:00
NSObject.m Changes to support clang's __attribute__((objc_root_class)). 2012-08-16 12:31:16 +00:00
NSOperation.m Remove leftover debugging statements. 2012-03-27 15:37:52 +00:00
NSPage.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSPathUtilities.m temporary directory improvement 2012-08-10 14:31:28 +00:00
NSPipe.m internal workaround for clang namespace pollution. 2011-10-14 15:46:13 +00:00
NSPointerArray.m Lots of little fixes to make -base compile with -Werror (now builds without warnings). 2011-07-24 13:09:22 +00:00
NSPointerFunctions.m Silence some warnings caused by returning the result of a method that doesn't return. 2011-02-11 14:51:47 +00:00
NSPort.m Cleanup: 2011-07-31 15:31:39 +00:00
NSPortCoder.m Attempt to sort out versioning of archives/DO to be more tolerant/flexible. 2012-04-27 11:58:56 +00:00
NSPortMessage.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSPortNameServer.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSPredicate.m fix use of preprocessor constants. 2010-11-18 09:46:51 +00:00
NSProcessInfo.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSPropertyList.m improve serialisation of booleans 2012-09-10 10:27:59 +00:00
NSProtocolChecker.m Use GSSelectorTypesMatch() for types comparison where we are interested in types 2012-07-20 04:43:58 +00:00
NSProxy.m Fixed missing oneway qualifier on -release return type. 2011-07-26 10:47:16 +00:00
NSRange.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSRegularExpression.m get code to compile/link again 2012-03-27 10:03:40 +00:00
NSRunLoop.m OSX compatibility tweaks inspiered by testplant 2012-09-10 05:18:09 +00:00
NSScanner.m OSX compatibility fix 2012-09-05 08:42:21 +00:00
NSSerializer.m casts to keep compiler happy 2011-03-29 09:40:14 +00:00
NSSet.m Detect the presence of libdispatch and, if available, use it for collection 2012-03-27 17:05:19 +00:00
NSSocketPort.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSSocketPortNameServer.m a few more static analyser tweaks 2011-03-09 12:40:50 +00:00
NSSortDescriptor.m Completely overhaul how we do sorting in -base. GSSorting.h now defines an 2012-09-19 13:31:09 +00:00
NSSpellServer.m preparation for osx compatibility fix 2012-08-10 08:36:09 +00:00
NSString.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSTask.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSTextCheckingResult.m Fixup version 2012-02-04 13:33:03 +00:00
NSThread.m Compatibility improvements for QNX. 2012-08-26 08:55:49 +00:00
NSTimer.m Make firing of timers more robust 2010-09-25 21:28:07 +00:00
NSTimeZone.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
nstzfile.h * configure.ac: Check for tzfile.h 2004-10-11 03:08:54 +00:00
NSUnarchiver.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
NSUndoManager.m use the _() macro for localisation within base 2011-02-15 06:25:54 +00:00
NSURL.m add support for data:,xxx style URL 2012-09-16 07:39:18 +00:00
NSURLAuthenticationChallenge.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSURLCache.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSURLConnection.m add some comments 2012-03-02 09:09:15 +00:00
NSURLCredential.m fixups for libobjc2 2010-02-25 18:49:31 +00:00
NSURLCredentialStorage.m fixups for libobjc2 2010-02-25 18:49:31 +00:00
NSURLDownload.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSURLHandle.m attempt fix for bug #36726 2012-07-08 12:03:09 +00:00
NSURLProtectionSpace.m Simplify header inclusion 2010-02-19 08:12:46 +00:00
NSURLProtocol.m Use NSLog consistently for debug output 2012-03-11 11:00:08 +00:00
NSURLRequest.m Apply patches by Lubomir Rintel <lubo.rintel@gooddata.com> to enable cookies 2012-02-08 17:01:31 +00:00
NSURLResponse.m Apply fixes for a couple of bug reports. 2012-03-01 19:39:20 +00:00
NSUserDefaults.m preparation for osx compatibility fix 2012-08-10 08:36:09 +00:00
NSValue.m Use GSSelectorTypesMatch() for types comparison where we are interested in types 2012-07-20 04:43:58 +00:00
NSValueTransformer.m * Source/NSValueTransformer.m 2011-11-07 15:28:30 +00:00
NSXMLDocument.m * Source/NSXMLDocument.m: 2012-04-06 22:27:55 +00:00
NSXMLDTD.m * Source/NSXMLDocument.m: 2012-04-06 22:27:55 +00:00
NSXMLDTDNode.m Fix the remaining compiler warnings. 2012-04-07 10:45:30 +00:00
NSXMLElement.m * Source/NSXMLDocument.m: 2012-04-06 22:27:55 +00:00
NSXMLNode.m OSX compatibility tweak 2012-07-27 18:02:11 +00:00
NSXMLParser.m Fix xml parse error 2011-06-17 13:47:24 +00:00
NSXMLPrivate.h include libxml2 headers early 2012-03-25 20:22:39 +00:00
NSZone.m simplification, including use of strtoull() everywhere 2012-09-03 13:36:45 +00:00
null-load.h allow developers more time to adapt to LGPLv3 2008-06-08 10:38:33 +00:00
objc-load.h Updated code to compile with GCC 4.6 and the new GNU Objective-C runtime 2010-12-23 02:23:05 +00:00
objc-load.m minor cleanups 2011-02-19 19:42:42 +00:00
preface.m Attempt to integrate Niels Grewe's avahi code 2010-07-13 10:35:13 +00:00
simple-load.h Use RTLD_NOLOAD, if it's supported. 2011-05-26 18:29:43 +00:00
win32-def.top allow developers more time to adapt to LGPLv3 2008-06-08 10:38:33 +00:00
win32-load.h allow developers more time to adapt to LGPLv3 2008-06-08 10:38:33 +00:00