Commit graph

7351 commits

Author SHA1 Message Date
Richard Frith-Macdonald
c82dd20280 Avoid bogus compiler warning about string literal comparison 2017-06-30 07:37:05 +01:00
Daniel Ferreira
270c1bcea9 NSFileManager: implement -attributesOfFileSystemForPath:withError:
Implement a method for getting attribytes of a file system path. Reuse
the implementation of -fileSystemAttributesAtPath: for this purpose but
export the last system errors to the caller. Make
-fileSystemAttributesAtPath: use the new implementation, without
exposing error info to the caller.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
7636967f30 api: generate stubs for new classes
Generate class stubs (without any method definition) for
NSFileCoordinator, NSFilePresenter, NSFileVersion and NSURLSession.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
8bd630f004 NSURLCredential: add stub for keychain-stored credential
Declare the NSURLCredentialPersistenceSynchronizable enumeration case to
NSURLCredential persistence options. Since GNUstep does not support
iCloud synchronization for credentials, this case will default to
NSURLCredentialPersistencePermanent.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
814c19ecce NSURLProtectionSpace: improve authentication method handling
Improve handling of NSURL authentication methods. Make "HTMLForm"
authentication a no-op as it should be instead of making it fall back to
Basic authentication.

Add stubs for NTLM and Negotiate IIS methods. They should be easily
implementable given the current framework for authentication methods.

Add stubs for ClientCertificate and ServerTrust authentication methods.
A blocker for supporting them is the lack of a Security.framework
implementation (since they rely on SecTrustRef). They would also require
additions to the current SSL handling code for GNUstep https requests.
Also stub the -distinguishedNames property of NSURLProtectionSpace,
which also deals with certificate-related authentication methods.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
d49db3ab29 NSProcessInfo: add stubs for new APIs
Add stubs for sudden termination APIs and for application activity
management methods.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
cbfa4d8cc9 NSProcessInfo: implement getting system uptime
Introduce the systemUptime property to NSProcessInfo, which can compute
platform-independently what is the uptime of the system.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
277ae581a6 NSHTTPCookie: fix bug in Set-Cookie parser
Fix a bug in NSHTTPCookie's Set-Cookie parser where it would fail to
parse more than one key-only cookie (such as "Secure; HTTPOnly;") in a
header.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
644b676949 NSHTTPCookie: add support for HTTPOnly cookies
Add support for parsing HTTPOnly cookies (those that cannot be accessed
by clients). Implement -[NSHTTPCookie isHTTPOnly].
2017-06-29 21:18:16 +01:00
Daniel Ferreira
3111003ca1 NSFileManager: create NSFileManagerDelegate
Create NSFileManagerDelegate, a more modern manner to verify whether to
proceed a file operation after an error or whether an operation should
actually be performed by NSFileManager.

No functionality using the delegate is yet implemented.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
2ec3c7bc27 NSURL: create stub for -getResourceValue:forKey:error:
Create an unimplemented stub for NSURL's -getResourceValue:... method,
which can gather a numerous set of information about a URL.

Define the constants which are passed into -getResourceValue:... for
requiring information so that a build that relies on this method does
not break.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
064df5ba69 NSURL: add stubs for alias functions
The OSX filesystem implements "aliases", a species of symlink which
tracks its source if it was moved. Create stubs for the NSURL functions
which handle these aliases.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
e813dde02c NSURL: implement +fileURLWithPath:isDirectory:
Implement +[NSURL fileURLWithPath:isDirectory:], a class method added in
OSX 10.5, which was missing from the implementation.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
314f437f43 NSCoder: implement NSSecureCoding stub
Implement stubs for NSSecureCoding which do not break projects that rely
on it.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
be874e5d8f NSDate: declare system clock change notification
Declare a system clock change notification. Base still does not emit
this notification, but this allows applications that wait for it not to
have their build broken.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
5ab00e2c49 NSCalendar: add new calendar identifier constants
Add new calendar identifier constants to NSCalendar, to add
compatibility for newer OSX applications. Some identifiers do not hold
parity with the older equivalents and have been left unimplemented, with
the gregorian calendar as a fallback.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
a9df1b104a NSGeometry: create NSEdgeInsets struct
Create the NSEdgeInsets struct in NSGeometry, introduced in OSX 10.7.
Add helper functions for creating these insets.

This struct is not used in Base. Rather, it is used as part of newer
APIs in GUI.
2017-06-29 21:18:16 +01:00
Richard Frith-Macdonald
383c3246ee partial fix for compiler without properties 2017-06-25 15:17:12 +01:00
Richard Frith-Macdonald
e1e0315e34 Use new NSFileManager behavior rather than operating system specific calls. 2017-06-21 11:25:05 +01:00
Richard Frith-Macdonald
24d29934cf Fix directory creation to match actual OSX sematics as determined by adding
a few testcases ...
The basic method should fail if the directory already exists.
The intermediate directories method should fail if the directory exists unless
the option to create intermediate directories is selected, in which case a
pre-existing directory is counted as a success.
2017-06-18 09:13:57 +01:00
Richard Frith-Macdonald
ed721bf4da Fix directory creation to use low level methods which consider the presence
of an existing directory to be an error, rather than the NSFileManager methods
that consider it a success.  The logic of distributed locking requires us to
fail if a directory already exists.
2017-06-17 06:52:05 +01:00
Richard Frith-MacDonald
a5a2e85423 improve debug log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40510 72102866-910b-0410-8b05-ffd578937521
2017-05-19 16:20:17 +00:00
Richard Frith-MacDonald
9400f9105d Make TLS client certificate issuer/owner names available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40508 72102866-910b-0410-8b05-ffd578937521
2017-05-19 11:38:48 +00:00
Richard Frith-MacDonald
1f786ad7a8 fixes for #47618
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40462 72102866-910b-0410-8b05-ffd578937521
2017-04-09 12:45:18 +00:00
Richard Frith-MacDonald
073fb54804 apply bug #49021
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40461 72102866-910b-0410-8b05-ffd578937521
2017-04-09 09:56:55 +00:00
Richard Frith-MacDonald
c6b8f4fb03 fix memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40433 72102866-910b-0410-8b05-ffd578937521
2017-04-03 20:23:31 +00:00
Riccardo Mottola
b5b9126290 Correct format specifier to char*
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40432 72102866-910b-0410-8b05-ffd578937521
2017-04-01 14:09:01 +00:00
Richard Frith-MacDonald
71d1d5c42b implement methods to create a stream to read from a URL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40420 72102866-910b-0410-8b05-ffd578937521
2017-03-27 09:44:13 +00:00
Richard Frith-MacDonald
173079f8f5 fix swapped arguments (spotted by Fred in testplant changes)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40419 72102866-910b-0410-8b05-ffd578937521
2017-03-27 09:27:12 +00:00
Richard Frith-MacDonald
7c9d7acafa Update NSComparisonResult to use NS_ENUM
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40418 72102866-910b-0410-8b05-ffd578937521
2017-03-27 09:00:35 +00:00
Riccardo Mottola
b19d076452 Skip file if no valid filename could be retrieved most probably due to Charset mismatches, this is is more a last resort: probably a lossy conversion should be attempted before
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40397 72102866-910b-0410-8b05-ffd578937521
2017-03-17 14:11:14 +00:00
Richard Frith-MacDonald
d28ab9eaac Implement OSX compatible non-lossy ascii encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40395 72102866-910b-0410-8b05-ffd578937521
2017-03-17 12:04:19 +00:00
Richard Frith-MacDonald
343ceb58a8 fix to build on osx
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40392 72102866-910b-0410-8b05-ffd578937521
2017-03-17 09:28:01 +00:00
Wolfgang Lux
e3caba204b Fix a serious misunderstanding of the icu string access API: The value
of nativeIndexingLimit must not exceed the length of the current chunk.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40333 72102866-910b-0410-8b05-ffd578937521
2017-02-11 14:24:58 +00:00
Richard Frith-MacDonald
31772e50c5 fix for bug #50032
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40289 72102866-910b-0410-8b05-ffd578937521
2017-01-12 10:34:23 +00:00
Richard Frith-MacDonald
60a86946d3 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40282 72102866-910b-0410-8b05-ffd578937521
2016-12-29 20:35:55 +00:00
Wolfgang Lux
80a0d3f28d Fix an off by 1 calculation which meant that weekOfYear would return 2
for the first week of a year whenever the first Thursday of that year
is 7 Jan, for instance 2016.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40239 72102866-910b-0410-8b05-ffd578937521
2016-11-28 09:01:04 +00:00
Richard Frith-MacDonald
af09204ffb typdef for refcount when no atimics available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40225 72102866-910b-0410-8b05-ffd578937521
2016-11-18 06:49:16 +00:00
Richard Frith-MacDonald
07e0609e42 Additions ot last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40209 72102866-910b-0410-8b05-ffd578937521
2016-11-10 11:31:33 +00:00
Richard Frith-MacDonald
f5b4336181 Fix for error decoding archives made on machine with different word size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40208 72102866-910b-0410-8b05-ffd578937521
2016-11-10 10:23:14 +00:00
Richard Frith-MacDonald
e0267770ef fix crash and other memory management tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40196 72102866-910b-0410-8b05-ffd578937521
2016-11-08 10:21:00 +00:00
Richard Frith-MacDonald
5c3acb5693 Fail quietly when asked to read non-existent file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40188 72102866-910b-0410-8b05-ffd578937521
2016-11-01 21:02:31 +00:00
Niels Grewe
fe155240e7 Re-enable fast-ARC mode when possible.
Define _ARCCompliantRetainRelease on 32bit platforms and when
we have copmiler intrinsics for atomic operations that allow us
to extend the refcount field to match libobjc2.

The effective maximum reference count is still 2^24 - 1 in either
case.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40183 72102866-910b-0410-8b05-ffd578937521
2016-10-28 08:30:16 +00:00
Wolfgang Lux
4cdf4004e8 Don't tell a lie. The retain count representation of gnustep-base and
libobjc2 differs, so we cannot use the ARC retain/release implementation
for now.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40181 72102866-910b-0410-8b05-ffd578937521
2016-10-27 15:00:17 +00:00
Richard Frith-MacDonald
1ab80b3f58 Fixes for problems spotted by Wolfgang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40171 72102866-910b-0410-8b05-ffd578937521
2016-10-24 10:22:43 +00:00
Richard Frith-MacDonald
3d9ffaf168 Misc tidyuups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40165 72102866-910b-0410-8b05-ffd578937521
2016-10-21 15:32:31 +00:00
Richard Frith-MacDonald
57c16fcd8a Fix a few places to use NSUInteger
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40153 72102866-910b-0410-8b05-ffd578937521
2016-10-18 08:45:26 +00:00
Richard Frith-MacDonald
6b68c9a1ca gnutls memory management fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40148 72102866-910b-0410-8b05-ffd578937521
2016-10-14 07:57:57 +00:00
Niels Grewe
6509aeb2de Fix handling of incorrect replacement patterns.
The error code from trying to apply a replacement pattern was not checked,
resulting in a crash inside libicu. This also fixes a few memory leaks
(replacement string objects not correctly autoreleased before returning them
 to the caller).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40142 72102866-910b-0410-8b05-ffd578937521
2016-10-12 13:43:32 +00:00
Niels Grewe
f9540e172e Improve support for loading encrypted private keys
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40139 72102866-910b-0410-8b05-ffd578937521
2016-10-11 11:59:04 +00:00
Richard Frith-MacDonald
28de617ef6 Check for file modification during copy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40137 72102866-910b-0410-8b05-ffd578937521
2016-10-08 07:02:06 +00:00
Richard Frith-MacDonald
0fe344d12a Partial fix/update for noncharacter codepoints,
also check for task exit more consistently


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40125 72102866-910b-0410-8b05-ffd578937521
2016-10-05 17:44:00 +00:00
Niels Grewe
b1c979898d Fix detection of the charset in XML data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40090 72102866-910b-0410-8b05-ffd578937521
2016-09-19 15:56:51 +00:00
Wolfgang Lux
ef5fd8a497 Add missing checks to avoid calling caseInsensitiveCompare: with nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40086 72102866-910b-0410-8b05-ffd578937521
2016-09-16 12:28:05 +00:00
Niels Grewe
e6cef4a7f9 Fix a problem removing certificate data mapped to file names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40085 72102866-910b-0410-8b05-ffd578937521
2016-09-16 07:56:48 +00:00
Richard Frith-MacDonald
85b02833b1 scanHexLongLong inspider by Abbas Raza
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40070 72102866-910b-0410-8b05-ffd578937521
2016-09-06 07:57:17 +00:00
Richard Frith-MacDonald
4a3058fd5b omit some diagnostic on older versions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40069 72102866-910b-0410-8b05-ffd578937521
2016-09-05 09:57:02 +00:00
Richard Frith-MacDonald
efdf2a674f improve certificate debug output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40068 72102866-910b-0410-8b05-ffd578937521
2016-09-02 08:56:09 +00:00
Richard Frith-MacDonald
e5f00ce4cc Add diagnostic code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40067 72102866-910b-0410-8b05-ffd578937521
2016-09-02 07:59:08 +00:00
Richard Frith-MacDonald
08f141ad80 patch by <abbas.raza.1707@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40066 72102866-910b-0410-8b05-ffd578937521
2016-08-30 13:20:34 +00:00
Richard Frith-MacDonald
ead1505a3c Fix typo causing preamature termination of long headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40065 72102866-910b-0410-8b05-ffd578937521
2016-08-28 09:53:38 +00:00
Niels Grewe
1c5b12c8fe Fix bug #48882
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40063 72102866-910b-0410-8b05-ffd578937521
2016-08-24 13:05:43 +00:00
Richard Frith-MacDonald
33ed35331b Various configure/build tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40062 72102866-910b-0410-8b05-ffd578937521
2016-08-19 12:20:24 +00:00
Richard Frith-MacDonald
116e5f8211 add some more debug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40058 72102866-910b-0410-8b05-ffd578937521
2016-08-10 13:44:13 +00:00
Richard Frith-MacDonald
a6bce78c64 First attempt at GSMimeSerializer for more controlled serialisation of
documents so we can choose between a form suitable for old SMTP MTAs, or
for modern binary-safe transports.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40049 72102866-910b-0410-8b05-ffd578937521
2016-08-03 09:24:53 +00:00
Richard Frith-MacDonald
06669a434a add --GNU-Debug=RMC to log remote method call handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40046 72102866-910b-0410-8b05-ffd578937521
2016-08-01 11:10:38 +00:00
Richard Frith-MacDonald
945ca4abfb use fairStart to get a fairer distribution of I/O across multiple handles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40045 72102866-910b-0410-8b05-ffd578937521
2016-08-01 07:40:36 +00:00
Richard Frith-MacDonald
6f890a5095 added diagnostics
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40043 72102866-910b-0410-8b05-ffd578937521
2016-07-29 13:48:00 +00:00
Richard Frith-MacDonald
32eff75b6a fix stupid typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40042 72102866-910b-0410-8b05-ffd578937521
2016-07-28 10:25:18 +00:00
Richard Frith-MacDonald
de3e9739ab A case insensitive compare with self is always NSOrderedSame
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40041 72102866-910b-0410-8b05-ffd578937521
2016-07-28 05:21:01 +00:00
Niels Grewe
3e654a6b09 Fix warnings for compilers without blocks support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40039 72102866-910b-0410-8b05-ffd578937521
2016-07-27 12:39:59 +00:00
Niels Grewe
2e18a14485 Avoid reallocating objects post-hoc based on the initializer used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40038 72102866-910b-0410-8b05-ffd578937521
2016-07-27 07:02:42 +00:00
Niels Grewe
1b82abd967 Don't leak the deallocator block
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40037 72102866-910b-0410-8b05-ffd578937521
2016-07-26 23:52:53 +00:00
Niels Grewe
ad428b99d5 Fix -getObjects:andKeys:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40036 72102866-910b-0410-8b05-ffd578937521
2016-07-26 23:24:56 +00:00
Niels Grewe
c2be055c3e Add [NSData initWithBytesNoCopy:length:deallocator:]
This new initializer allows customising the deallocation behaviour
through user-supplied blocks. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40035 72102866-910b-0410-8b05-ffd578937521
2016-07-26 23:01:11 +00:00
Richard Frith-MacDonald
525d467e18 Fixups for file descriptor leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40034 72102866-910b-0410-8b05-ffd578937521
2016-07-26 09:56:22 +00:00
Richard Frith-MacDonald
205f26ec86 Thread deadlock fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40033 72102866-910b-0410-8b05-ffd578937521
2016-07-26 08:20:09 +00:00
Richard Frith-MacDonald
eb497bf67e tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40013 72102866-910b-0410-8b05-ffd578937521
2016-07-19 12:23:40 +00:00
Richard Frith-MacDonald
27899e4d66 patch by Larry Campbell plus removal of some garbage collection vestiges
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40008 72102866-910b-0410-8b05-ffd578937521
2016-07-18 10:50:28 +00:00
Richard Frith-MacDonald
9188a050ef fix for bug #47926
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40007 72102866-910b-0410-8b05-ffd578937521
2016-07-18 09:51:35 +00:00
Richard Frith-MacDonald
9f0d813aef remove unused ivar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40001 72102866-910b-0410-8b05-ffd578937521
2016-07-16 08:27:21 +00:00
Richard Frith-MacDonald
f8f4bb51e3 fix bad return value when polling for windows messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40000 72102866-910b-0410-8b05-ffd578937521
2016-07-16 08:25:24 +00:00
Richard Frith-MacDonald
39cc09e2ca Sort algorithms should always be built, and be selectable at runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39998 72102866-910b-0410-8b05-ffd578937521
2016-07-15 11:30:07 +00:00
Richard Frith-MacDonald
f56e1bdd0c tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39997 72102866-910b-0410-8b05-ffd578937521
2016-07-15 10:07:50 +00:00
Richard Frith-MacDonald
25df4a6efb fix logic error in case where we have a nil date supplied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39996 72102866-910b-0410-8b05-ffd578937521
2016-07-13 10:51:29 +00:00
Richard Frith-MacDonald
4f05189210 More OSX compatibility changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39995 72102866-910b-0410-8b05-ffd578937521
2016-07-13 08:58:23 +00:00
Niels Grewe
c9e0bddfd3 Fixup breakage introduced by r39762 and r39764, which apparently were never attempted to compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39990 72102866-910b-0410-8b05-ffd578937521
2016-07-12 21:41:27 +00:00
Richard Frith-MacDonald
769ce88f43 Some behavior changes based on testing on OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39983 72102866-910b-0410-8b05-ffd578937521
2016-07-12 11:31:45 +00:00
Richard Frith-MacDonald
d05eee4fda Change incorrect use of unsigned integers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39977 72102866-910b-0410-8b05-ffd578937521
2016-07-12 08:18:35 +00:00
Wolfgang Lux
fc436a1ea4 Fix unsigned comparison to properly detect integer underflows in
UTextNSStringAccess.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39976 72102866-910b-0410-8b05-ffd578937521
2016-07-12 07:31:22 +00:00
Gregory John Casamento
fbdb451bf5 Temporary change to fix the build so that 'make distclean' no longer fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39971 72102866-910b-0410-8b05-ffd578937521
2016-07-10 04:27:42 +00:00
Wolfgang Lux
62b2fb95b8 Fix bug where a UText structure owned by the icu library is incorrectly
closed, which was causing a crash when -pattern is called more than once
for the same NSRegularExpression.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39960 72102866-910b-0410-8b05-ffd578937521
2016-07-06 08:08:51 +00:00
Richard Frith-MacDonald
1ed4da510b Locking simplifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39958 72102866-910b-0410-8b05-ffd578937521
2016-07-02 18:56:02 +00:00
Richard Frith-MacDonald
197fdeaecb Optimisation for ICU access to immutable NSString objects ... we don't need to
call -length every time because we can keep the length in the UText state.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39956 72102866-910b-0410-8b05-ffd578937521
2016-07-01 15:22:02 +00:00
Wolfgang Lux
d725240fbd Make use of local variables that have been assigned already.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39955 72102866-910b-0410-8b05-ffd578937521
2016-07-01 12:33:11 +00:00
Richard Frith-MacDonald
670d202b1a ICU string access rewrite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39951 72102866-910b-0410-8b05-ffd578937521
2016-06-30 14:21:32 +00:00
Richard Frith-MacDonald
6f1ac918fa msys2/64bit fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39942 72102866-910b-0410-8b05-ffd578937521
2016-06-28 14:01:55 +00:00
Richard Frith-MacDonald
89c92b4f4e avoid compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39941 72102866-910b-0410-8b05-ffd578937521
2016-06-28 13:30:04 +00:00
Richard Frith-MacDonald
3c6f32b4d2 tidied a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39939 72102866-910b-0410-8b05-ffd578937521
2016-06-28 11:17:25 +00:00
Richard Frith-MacDonald
5b360d8a83 Remove the obsolete openssl bundle code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39937 72102866-910b-0410-8b05-ffd578937521
2016-06-28 10:40:33 +00:00
Richard Frith-MacDonald
fda234553c windows fixup for pthread exit with null pointer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39935 72102866-910b-0410-8b05-ffd578937521
2016-06-27 20:21:11 +00:00
Richard Frith-MacDonald
7f0fc86fc7 more msys2/64bit tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39934 72102866-910b-0410-8b05-ffd578937521
2016-06-27 19:31:02 +00:00
Richard Frith-MacDonald
9592363863 msys 64bit tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39933 72102866-910b-0410-8b05-ffd578937521
2016-06-27 19:06:12 +00:00
Richard Frith-MacDonald
e43c12542a Don't use windows atomics unless compiler ones aren't available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39932 72102866-910b-0410-8b05-ffd578937521
2016-06-27 19:05:40 +00:00
Richard Frith-MacDonald
066fb2558a msys2 64bit tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39931 72102866-910b-0410-8b05-ffd578937521
2016-06-27 18:04:30 +00:00
Richard Frith-MacDonald
2dbc4d0d20 msys2 64bit tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39930 72102866-910b-0410-8b05-ffd578937521
2016-06-27 16:38:51 +00:00
Richard Frith-MacDonald
c7d295a43f -stringByResolvingSymlinksInPath should return the expanded string rather than
the original string on failure of link resolution.  The tilde should get
expanded even if the resulting directory does not actually exist.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39929 72102866-910b-0410-8b05-ffd578937521
2016-06-27 11:52:31 +00:00
Richard Frith-MacDonald
1b7d7e81e1 More careful check for bad/missing home directory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39928 72102866-910b-0410-8b05-ffd578937521
2016-06-27 06:42:50 +00:00
Richard Frith-MacDonald
96d39e79bc If we don't have a home directory, we can't expand a '~' in a path.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39926 72102866-910b-0410-8b05-ffd578937521
2016-06-26 12:04:23 +00:00
Richard Frith-MacDonald
23f92b6399 fix spelling errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39925 72102866-910b-0410-8b05-ffd578937521
2016-06-26 10:10:20 +00:00
Richard Frith-MacDonald
04406427e3 Add newere method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39924 72102866-910b-0410-8b05-ffd578937521
2016-06-26 05:56:10 +00:00
Richard Frith-MacDonald
39c966a12f Work around missing getsockopt support in hurd.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39922 72102866-910b-0410-8b05-ffd578937521
2016-06-25 19:00:43 +00:00
Richard Frith-MacDonald
5d272a49e5 Fixup error in return value when buffer too small
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39920 72102866-910b-0410-8b05-ffd578937521
2016-06-25 18:27:33 +00:00
Richard Frith-MacDonald
01377d55ee socket fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39919 72102866-910b-0410-8b05-ffd578937521
2016-06-25 15:57:06 +00:00
Richard Frith-MacDonald
ecfbd24d8e Changed to restructure subdirectory layout for binaries and system dependent
resources in a non-flattened installation.  First step towards seamless
Debian multiarch support.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39918 72102866-910b-0410-8b05-ffd578937521
2016-06-25 07:12:41 +00:00
Richard Frith-MacDonald
124afa845a Improve reliability on a slow system where there is no gdnc daemon (eg when
running regression tests for an uninstalled copy of gnustep).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39917 72102866-910b-0410-8b05-ffd578937521
2016-06-24 10:44:40 +00:00
Richard Frith-MacDonald
c4b05fa213 Optimise fetching ascii or utf8 from literal string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39915 72102866-910b-0410-8b05-ffd578937521
2016-06-23 18:27:22 +00:00
Richard Frith-MacDonald
8fd0387e36 Tiny code simplification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39905 72102866-910b-0410-8b05-ffd578937521
2016-06-22 13:21:04 +00:00
Richard Frith-MacDonald
1b63746799 Thread-safety fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39902 72102866-910b-0410-8b05-ffd578937521
2016-06-22 09:09:29 +00:00
Richard Frith-MacDonald
0c7237ec08 s390x portability fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39901 72102866-910b-0410-8b05-ffd578937521
2016-06-22 07:54:16 +00:00
Richard Frith-MacDonald
78097d25b0 Improve error message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39884 72102866-910b-0410-8b05-ffd578937521
2016-06-20 06:38:05 +00:00
Richard Frith-MacDonald
c3b5fd3e65 Depend on libffi to provide the types with the correct size for the buffer used
for small scalar values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39880 72102866-910b-0410-8b05-ffd578937521
2016-06-19 11:36:12 +00:00
Richard Frith-MacDonald
776631838d fix for big endian LP64 systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39878 72102866-910b-0410-8b05-ffd578937521
2016-06-19 07:42:36 +00:00
Richard Frith-MacDonald
21d242b151 Fix retain/release error which caused a crash on removal of an old operation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39877 72102866-910b-0410-8b05-ffd578937521
2016-06-19 07:37:58 +00:00
Richard Frith-MacDonald
00cec80391 Unchedule I/O events when entering an error state
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39875 72102866-910b-0410-8b05-ffd578937521
2016-06-18 06:42:12 +00:00
Richard Frith-MacDonald
6382c48c0f use strlen to get length of string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39874 72102866-910b-0410-8b05-ffd578937521
2016-06-17 17:03:13 +00:00
Richard Frith-MacDonald
8183cd9557 Try to ensure that headers with non-ascii characters are encoded properly (and at least don't cause an exception).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39873 72102866-910b-0410-8b05-ffd578937521
2016-06-17 12:36:20 +00:00
Niels Grewe
0d98f56eca Implement resource limits for regular expression evaluation. Tweaked
to roughly match the Cocoa behaviour, but can be changed through 
the GSRegularExpressionWorkLimit user default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39872 72102866-910b-0410-8b05-ffd578937521
2016-06-17 09:04:04 +00:00
Niels Grewe
ac2d08d2a1 Implement -isEqual: and -hash on NSRegularExpression, so that copies are
actually equal


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39871 72102866-910b-0410-8b05-ffd578937521
2016-06-17 07:43:51 +00:00
Richard Frith-MacDonald
d60587e6bb Fixes for failure of connect() system call
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39862 72102866-910b-0410-8b05-ffd578937521
2016-06-14 07:10:44 +00:00
Richard Frith-MacDonald
be34f6dc07 when a connect fails, we still want the stream scheduled to generate events
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39861 72102866-910b-0410-8b05-ffd578937521
2016-06-13 15:14:21 +00:00
Richard Frith-MacDonald
8ace6e9fbd Add check for sibling having failed when opening.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39860 72102866-910b-0410-8b05-ffd578937521
2016-06-13 14:24:51 +00:00
Richard Frith-MacDonald
8180e928f0 tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39853 72102866-910b-0410-8b05-ffd578937521
2016-06-08 11:49:42 +00:00
Richard Frith-MacDonald
5cf471c70f add fallbacks for string conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39852 72102866-910b-0410-8b05-ffd578937521
2016-06-08 11:29:38 +00:00
Richard Frith-MacDonald
209146a7a4 improve header capitalisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39850 72102866-910b-0410-8b05-ffd578937521
2016-06-07 18:12:13 +00:00
Richard Frith-MacDonald
407d06d7b4 tweak again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39849 72102866-910b-0410-8b05-ffd578937521
2016-06-07 16:45:56 +00:00
Richard Frith-MacDonald
73f18a6998 Fixup encoding issue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39848 72102866-910b-0410-8b05-ffd578937521
2016-06-07 16:38:37 +00:00
Richard Frith-MacDonald
751e998014 fixup bad commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39843 72102866-910b-0410-8b05-ffd578937521
2016-06-07 07:20:12 +00:00
Richard Frith-MacDonald
48ab2e60e0 fixup conversion to 7bit-safe
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39842 72102866-910b-0410-8b05-ffd578937521
2016-06-07 07:12:25 +00:00
Richard Frith-MacDonald
0adeacda9a Improve API for making doc 7bit safe
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39841 72102866-910b-0410-8b05-ffd578937521
2016-06-06 21:16:30 +00:00
Richard Frith-MacDonald
124908fd1d mingw64 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39780 72102866-910b-0410-8b05-ffd578937521
2016-05-19 07:27:26 +00:00
Richard Frith-MacDonald
8a9d9597b0 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39779 72102866-910b-0410-8b05-ffd578937521
2016-05-19 07:21:36 +00:00
Richard Frith-MacDonald
544a43092e attempt fiox for bug #47619
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39776 72102866-910b-0410-8b05-ffd578937521
2016-05-18 13:11:45 +00:00
Richard Frith-MacDonald
7622a2618e fix spelling errors / typos (patch by heintzmann.eric@free.fr)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39774 72102866-910b-0410-8b05-ffd578937521
2016-05-18 06:11:00 +00:00
Richard Frith-MacDonald
414b6be1b0 fix typos etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39768 72102866-910b-0410-8b05-ffd578937521
2016-05-15 10:25:34 +00:00
Richard Frith-MacDonald
1d2c5edcf1 avoid a couple of compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39764 72102866-910b-0410-8b05-ffd578937521
2016-05-14 15:06:32 +00:00
Richard Frith-MacDonald
f5288bdf6b Simplify bfd code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39763 72102866-910b-0410-8b05-ffd578937521
2016-05-14 14:47:43 +00:00
Richard Frith-MacDonald
71941dd24d cleanup changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39762 72102866-910b-0410-8b05-ffd578937521
2016-05-14 09:34:01 +00:00
Richard Frith-MacDonald
dcec9dd0ab fgix for problem spotted by Wolfgang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39753 72102866-910b-0410-8b05-ffd578937521
2016-05-13 13:19:22 +00:00
Richard Frith-MacDonald
bca2d77fe5 Fix bug encoding long headers without spaces
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39752 72102866-910b-0410-8b05-ffd578937521
2016-05-13 11:08:46 +00:00
Richard Frith-MacDonald
4a6d6225b9 tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39738 72102866-910b-0410-8b05-ffd578937521
2016-05-10 17:03:02 +00:00
Gregory John Casamento
a4200029bd Add containsString: implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39731 72102866-910b-0410-8b05-ffd578937521
2016-05-06 22:04:07 +00:00
Richard Frith-MacDonald
542825f621 Improve checks for attempted use of a deallocate/cached autorelease pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39708 72102866-910b-0410-8b05-ffd578937521
2016-04-29 07:31:48 +00:00
Richard Frith-MacDonald
51f4463702 Add check and exception for repeated deallocation of a pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39706 72102866-910b-0410-8b05-ffd578937521
2016-04-28 20:35:00 +00:00
Richard Frith-MacDonald
de8428ab4a Fixup Setting TLS properties
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39694 72102866-910b-0410-8b05-ffd578937521
2016-04-26 11:07:25 +00:00
Richard Frith-MacDonald
bdf7fb89d8 Improve logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39693 72102866-910b-0410-8b05-ffd578937521
2016-04-25 14:55:19 +00:00
Marcus Müller
cb3f465c10 Avahi-based NSNetServices did crash upon publishing if Avahi daemon did not
run. Hardened code for this case which also works correctly if daemon is
started later on.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39689 72102866-910b-0410-8b05-ffd578937521
2016-04-23 15:44:31 +00:00
Richard Frith-MacDonald
dbe7cef25d avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39683 72102866-910b-0410-8b05-ffd578937521
2016-04-19 08:07:53 +00:00
Richard Frith-MacDonald
41c920a83d avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39682 72102866-910b-0410-8b05-ffd578937521
2016-04-19 08:02:13 +00:00
Richard Frith-MacDonald
42e10e52cd avoid compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39681 72102866-910b-0410-8b05-ffd578937521
2016-04-19 07:12:31 +00:00
Richard Frith-MacDonald
0d0b2b4503 avoid spurious compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39674 72102866-910b-0410-8b05-ffd578937521
2016-04-17 15:18:43 +00:00
Richard Frith-MacDonald
8a57dc7e10 Avoid spurious compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39673 72102866-910b-0410-8b05-ffd578937521
2016-04-17 15:14:34 +00:00
Richard Frith-MacDonald
2d99b4b95d avoid compiler warnings and stasndardise a few declarations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39672 72102866-910b-0410-8b05-ffd578937521
2016-04-17 15:07:38 +00:00
Richard Frith-MacDonald
506824d1fd Use posix locale for numeric sort ... we really need a proper fix so that the
system locale works for all collations.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39670 72102866-910b-0410-8b05-ffd578937521
2016-04-14 16:10:12 +00:00
Richard Frith-MacDonald
7ecccf47e9 partial revert
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39669 72102866-910b-0410-8b05-ffd578937521
2016-04-14 15:56:08 +00:00
Richard Frith-MacDonald
e3c429dfee Fix use of locale for numeric sort/comparison
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39668 72102866-910b-0410-8b05-ffd578937521
2016-04-14 15:00:50 +00:00
Richard Frith-MacDonald
d53b94baba If we are doing a numeric search, use the superclass method (with ICU numeric collation).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39662 72102866-910b-0410-8b05-ffd578937521
2016-04-13 12:45:03 +00:00
Richard Frith-MacDonald
3aa0288d37 Locale fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39655 72102866-910b-0410-8b05-ffd578937521
2016-04-09 05:49:16 +00:00
Richard Frith-MacDonald
5f5196e87e comment last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39652 72102866-910b-0410-8b05-ffd578937521
2016-04-08 17:32:07 +00:00
Richard Frith-MacDonald
a577d2d316 Only get default locale at the point when it's actually needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39651 72102866-910b-0410-8b05-ffd578937521
2016-04-08 17:28:05 +00:00
Richard Frith-MacDonald
f306de43e8 add some consistency checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39650 72102866-910b-0410-8b05-ffd578937521
2016-04-08 14:01:24 +00:00
Richard Frith-MacDonald
d220beeab2 Use memory management macros
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39649 72102866-910b-0410-8b05-ffd578937521
2016-04-08 11:34:21 +00:00
Richard Frith-MacDonald
a71619bf6d Remove redundant code. Log domain names only when debug is enabled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39647 72102866-910b-0410-8b05-ffd578937521
2016-04-08 10:23:05 +00:00
Riccardo Mottola
e291dd28fa remove accidental commit of debug NSLog()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39646 72102866-910b-0410-8b05-ffd578937521
2016-04-08 10:15:45 +00:00
Riccardo Mottola
d1df54727a Skip nil domains explicitely and do not use nil values to look them up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39645 72102866-910b-0410-8b05-ffd578937521
2016-04-08 09:56:14 +00:00
Richard Frith-MacDonald
31aef40e46 Add -getValue: implementation for BOOL number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39644 72102866-910b-0410-8b05-ffd578937521
2016-04-08 08:17:00 +00:00
Niels Grewe
c0282c4073 If libdispatch provides integration hooks for the main queue
(i.e. nickhutchinson/libdispatch), use these to drain the main
queue using the main run loop.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39617 72102866-910b-0410-8b05-ffd578937521
2016-04-04 08:17:08 +00:00
Richard Frith-MacDonald
29d4e2981e More GC removal updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39611 72102866-910b-0410-8b05-ffd578937521
2016-03-26 05:10:00 +00:00
Richard Frith-MacDonald
bc7634464d Check for corrupt archive or unsupported number types as suggested by Fred
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39609 72102866-910b-0410-8b05-ffd578937521
2016-03-25 11:42:23 +00:00
Richard Frith-MacDonald
d40d219015 removal of garbage collection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39608 72102866-910b-0410-8b05-ffd578937521
2016-03-25 11:15:28 +00:00
Richard Frith-MacDonald
f04167c678 attempt to fix archiving endianness issue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39604 72102866-910b-0410-8b05-ffd578937521
2016-03-25 08:37:36 +00:00
Richard Frith-MacDonald
d5e55c0470 minor property list generation improvement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39595 72102866-910b-0410-8b05-ffd578937521
2016-03-23 10:47:24 +00:00
Riccardo Mottola
28893e01ae fix trivial typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39572 72102866-910b-0410-8b05-ffd578937521
2016-03-20 18:42:24 +00:00
Richard Frith-MacDonald
1ee226b495 light tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39568 72102866-910b-0410-8b05-ffd578937521
2016-03-20 11:53:01 +00:00
Richard Frith-MacDonald
bc2927bd2d retain/release cleanups inspidered by testplant
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39567 72102866-910b-0410-8b05-ffd578937521
2016-03-19 08:47:20 +00:00
Richard Frith-MacDonald
52de4bf68b make sure to unlock after an exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39565 72102866-910b-0410-8b05-ffd578937521
2016-03-18 14:56:55 +00:00
Richard Frith-MacDonald
dcd8f5a610 User defaults changes to cope better with slow systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39564 72102866-910b-0410-8b05-ffd578937521
2016-03-18 12:40:08 +00:00
Richard Frith-MacDonald
d27923f0fa allow filesystem locks to wait a lot longer in case we are on a very slow system
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39561 72102866-910b-0410-8b05-ffd578937521
2016-03-17 20:11:29 +00:00
Richard Frith-MacDonald
67e4c0581d standardise -setDebug: extension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39554 72102866-910b-0410-8b05-ffd578937521
2016-03-17 08:12:45 +00:00
Richard Frith-MacDonald
1db866fde7 on 32bit systems constrain dates to fit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39549 72102866-910b-0410-8b05-ffd578937521
2016-03-15 19:04:51 +00:00
Richard Frith-MacDonald
a2ed652ca2 consistency fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39547 72102866-910b-0410-8b05-ffd578937521
2016-03-15 18:22:57 +00:00
Richard Frith-MacDonald
1608002709 Fix a few variables which should be NSInteger
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39544 72102866-910b-0410-8b05-ffd578937521
2016-03-15 17:23:13 +00:00
Richard Frith-MacDonald
6f6538543e Add some diagnostics for defaults locking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39537 72102866-910b-0410-8b05-ffd578937521
2016-03-14 08:26:41 +00:00
Richard Frith-MacDonald
ade4852ce3 defaults tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39532 72102866-910b-0410-8b05-ffd578937521
2016-03-12 08:32:21 +00:00
Richard Frith-MacDonald
402792e8b2 experimental in-process locking of the distributed locking methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39531 72102866-910b-0410-8b05-ffd578937521
2016-03-11 18:11:43 +00:00
Richard Frith-MacDonald
6e18501b77 stack trace tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39529 72102866-910b-0410-8b05-ffd578937521
2016-03-11 16:48:31 +00:00
Richard Frith-MacDonald
a0c97c1ddd deprecate confusing extension in favour of simpler ARC-complient method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39520 72102866-910b-0410-8b05-ffd578937521
2016-03-10 16:50:41 +00:00
Wolfgang Lux
afc8ff1c47 Add method +[NSLocale localeWithLocaleIdentifier:], which was
introduced in OS X 10.6.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39516 72102866-910b-0410-8b05-ffd578937521
2016-03-10 08:48:40 +00:00
Riccardo Mottola
e5ef35a150 Add some new path values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39508 72102866-910b-0410-8b05-ffd578937521
2016-03-09 17:22:31 +00:00
Niels Grewe
fcbbe0431f Implement -evaluateWithObject:substitutionVariables: (OS X 10.5 method),
and mark one of the GSBlockPredicate tests as hopeful on OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39506 72102866-910b-0410-8b05-ffd578937521
2016-03-09 15:38:32 +00:00