Commit graph

6432 commits

Author SHA1 Message Date
rfm
10c5815622 restructure for maintainability
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35598 72102866-910b-0410-8b05-ffd578937521
2012-09-24 09:07:55 +00:00
rfm
c5c25f4c8d variable initialisation fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35597 72102866-910b-0410-8b05-ffd578937521
2012-09-23 16:25:20 +00:00
rfm
83b4735655 cleanups for SSL/TLS support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35596 72102866-910b-0410-8b05-ffd578937521
2012-09-23 13:11:15 +00:00
rfm
f802c5ab4d Extend use of gnutls to older APIs so we don't need both gnutls and openssl
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35595 72102866-910b-0410-8b05-ffd578937521
2012-09-23 12:26:28 +00:00
thebeing
d5fb92517a Fix compilation with the non-fragile ABI and restore a line in
GSVersionMacros.h that seems to have been left commented out accidentally.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35594 72102866-910b-0410-8b05-ffd578937521
2012-09-23 08:29:17 +00:00
thebeing
c217368f95 Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35593 72102866-910b-0410-8b05-ffd578937521
2012-09-23 08:06:59 +00:00
rfm
0dcb206a54 Partial TLS support for file handles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35591 72102866-910b-0410-8b05-ffd578937521
2012-09-23 07:33:47 +00:00
rfm
0138c51065 Memory management nad documentation fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35584 72102866-910b-0410-8b05-ffd578937521
2012-09-21 10:27:05 +00:00
thebeing
6891e5699d More timsort bugfixes (seems to work much better now)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35583 72102866-910b-0410-8b05-ffd578937521
2012-09-20 18:54:15 +00:00
thebeing
1cc86b3e67 Fix bugs in the timsort implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35582 72102866-910b-0410-8b05-ffd578937521
2012-09-20 14:29:16 +00:00
rfm
d3dfb39dc9 fix quicksort implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35580 72102866-910b-0410-8b05-ffd578937521
2012-09-20 10:19:18 +00:00
rfm
31634bffde Changes to restore sorting functiionality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35579 72102866-910b-0410-8b05-ffd578937521
2012-09-20 09:32:00 +00:00
rfm
7c94635f24 fix goto's breaking exception handler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35575 72102866-910b-0410-8b05-ffd578937521
2012-09-19 16:40:22 +00:00
rfm
8ec0deff44 formatting/coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35574 72102866-910b-0410-8b05-ffd578937521
2012-09-19 14:20:01 +00:00
thebeing
b9b63476ef 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
gcasa
9407f87dea * Headers/Foundation/Foundation.h
* Headers/Foundation/NSScriptWhoseTests.h
	* Source/GNUmakefile
	* Source/NSObject+NSComparisonMethods.m: Move the
	comparison methods to the header for NSScriptWhoseTests.h,
	but don't define the abstract class since we don't support
	Apple script.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35570 72102866-910b-0410-8b05-ffd578937521
2012-09-17 16:05:06 +00:00
rfm
adc4c8d5e6 add support for data:,xxx style URL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35568 72102866-910b-0410-8b05-ffd578937521
2012-09-16 07:39:18 +00:00
rfm
7302652db0 fix json quoting by copying from webservices library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35559 72102866-910b-0410-8b05-ffd578937521
2012-09-10 13:18:29 +00:00
rfm
2a32245d60 improve serialisation of booleans
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35557 72102866-910b-0410-8b05-ffd578937521
2012-09-10 10:27:59 +00:00
rfm
ab65e628d3 OSX compatibility tweaks inspiered by testplant
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35555 72102866-910b-0410-8b05-ffd578937521
2012-09-10 05:18:09 +00:00
stoyan
064c5554f2 Create directories only if it doesn't exist.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35548 72102866-910b-0410-8b05-ffd578937521
2012-09-09 21:29:38 +00:00
wlux
546d35a421 Add missing variable declaration on big-endian systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35543 72102866-910b-0410-8b05-ffd578937521
2012-09-09 10:04:22 +00:00
rfm
653076acd4 quadword number fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35538 72102866-910b-0410-8b05-ffd578937521
2012-09-07 08:21:23 +00:00
rfm
36312c2475 forgot about turning off whitespace in plist element
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35534 72102866-910b-0410-8b05-ffd578937521
2012-09-06 15:06:12 +00:00
rfm
c9a3cb53bf tweak xml parsing to not ignore white space
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35533 72102866-910b-0410-8b05-ffd578937521
2012-09-06 12:58:25 +00:00
rfm
b9bcf33a8d OSX compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35532 72102866-910b-0410-8b05-ffd578937521
2012-09-05 08:42:21 +00:00
rfm
0623c0c0c2 simplification, including use of strtoull() everywhere
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35503 72102866-910b-0410-8b05-ffd578937521
2012-09-03 13:36:45 +00:00
rfm
4bea97360f fixes to conform to coding style
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35477 72102866-910b-0410-8b05-ffd578937521
2012-08-29 08:54:46 +00:00
rfm
bdec3a0c48 fix bug appending path to empty string on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35462 72102866-910b-0410-8b05-ffd578937521
2012-08-27 10:26:31 +00:00
thebeing
a99a5163fd Compatibility improvements for QNX.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35451 72102866-910b-0410-8b05-ffd578937521
2012-08-26 08:55:49 +00:00
thebeing
1e852b259e Add support for logging to the QNX slog via NSLog().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35450 72102866-910b-0410-8b05-ffd578937521
2012-08-25 23:55:51 +00:00
theraven
785044ffb2 Conditionally compile profiling / debugging code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35448 72102866-910b-0410-8b05-ffd578937521
2012-08-25 14:01:56 +00:00
theraven
dceedfb915 Fix the build on platforms without tiny string support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35447 72102866-910b-0410-8b05-ffd578937521
2012-08-25 12:31:41 +00:00
theraven
ccaefa05e8 Use tiny strings in a few more places.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35446 72102866-910b-0410-8b05-ffd578937521
2012-08-25 12:15:11 +00:00
thebeing
d10498bd01 Changes to support clang's __attribute__((objc_root_class)).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35412 72102866-910b-0410-8b05-ffd578937521
2012-08-16 12:31:16 +00:00
rfm
218132903e simplify directory creation code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35400 72102866-910b-0410-8b05-ffd578937521
2012-08-13 11:07:02 +00:00
rfm
78206d0b38 property list deserialisation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35395 72102866-910b-0410-8b05-ffd578937521
2012-08-10 19:09:44 +00:00
rfm
96a43795ee check for failure to create temporary directory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35394 72102866-910b-0410-8b05-ffd578937521
2012-08-10 15:56:45 +00:00
rfm
982982f631 temporary directory improvement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35393 72102866-910b-0410-8b05-ffd578937521
2012-08-10 14:31:28 +00:00
rfm
dc55974ec8 fix for bug #35672
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35392 72102866-910b-0410-8b05-ffd578937521
2012-08-10 09:25:38 +00:00
rfm
447db36958 preparation for osx compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35390 72102866-910b-0410-8b05-ffd578937521
2012-08-10 08:36:09 +00:00
rfm
133bdaea80 Another use of tolower() found and removed ... retain tolower() when the
internal 8bit encoding in not latin1 and uni_tolower() is therefore not
usable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35386 72102866-910b-0410-8b05-ffd578937521
2012-08-09 18:57:20 +00:00
rfm
c280ce26b5 fix bogus NSError generation when deserialising some property lists
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35382 72102866-910b-0410-8b05-ffd578937521
2012-08-09 12:58:01 +00:00
rfm
e0c4edf62b simplify case conversion options
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35364 72102866-910b-0410-8b05-ffd578937521
2012-08-08 16:54:08 +00:00
rfm
cbc74f3800 fix bad return inside exception block.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35363 72102866-910b-0410-8b05-ffd578937521
2012-08-08 15:10:13 +00:00
rfm
c767e8a8d3 literal string handling improvments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35359 72102866-910b-0410-8b05-ffd578937521
2012-08-08 09:46:08 +00:00
rfm
23f70314d9 selector comparison fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35336 72102866-910b-0410-8b05-ffd578937521
2012-08-02 09:27:59 +00:00
rfm
b193512857 chunked encoding optimisations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35331 72102866-910b-0410-8b05-ffd578937521
2012-07-31 06:53:02 +00:00
rfm
fc4ddb3960 performance tweak for accumulating large amounts of data into a buffer.
eg. megabytes added in incremets of a few bytes at a time.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35328 72102866-910b-0410-8b05-ffd578937521
2012-07-30 16:55:51 +00:00
rfm
407f20c518 fix for bug #36967
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35326 72102866-910b-0410-8b05-ffd578937521
2012-07-27 19:00:17 +00:00