Commit graph

655 commits

Author SHA1 Message Date
rfm
212861c931 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
rfm
3a7b1a4c36 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
wlux
9a92a90256 Add missing class declaration for new methods in NSStream.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40445 72102866-910b-0410-8b05-ffd578937521
2017-04-04 07:44:00 +00:00
rfm
08d08634c8 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
rfm
7d385002ae 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
rfm
6c388830da improve comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40179 72102866-910b-0410-8b05-ffd578937521
2016-10-26 11:34:11 +00:00
rfm
7dd229e394 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
rfm
0c1d87020d 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
thebeing
c769cdec87 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
thebeing
0f1c3841ec 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
thebeing
f8531b4d43 Add NS_DESIGNATED_INITIALIZER macro
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39986 72102866-910b-0410-8b05-ffd578937521
2016-07-12 14:30:21 +00:00
rfm
e15c98fde9 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
rfm
43915998cc 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
rfm
133a6f0ba0 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
thebeing
ac9cba5ad6 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
rfm
7e84a2bf86 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
rfm
c3d867e649 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
gcasa
42044de582 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
rfm
08453a1872 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
rfm
03952f1e96 Stuff for new release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39569 72102866-910b-0410-8b05-ffd578937521
2016-03-20 13:54:19 +00:00
thebeing
9cc4c939bb Include NSString.h
So that code including the NSPredicate header will know
about NSString confirming to NSCopying.

Reported by Bertrand Dekoninck 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39527 72102866-910b-0410-8b05-ffd578937521
2016-03-11 11:29:43 +00:00
wlux
97433a8701 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
rmottola
5a7429eea6 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39509 72102866-910b-0410-8b05-ffd578937521
2016-03-09 17:25:03 +00:00
rmottola
f42a2ecdc5 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
thebeing
55f0869fb7 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
thebeing
2bdd09154a Implement [NSPredicate predicateWithBlock:].
Fixes https://savannah.gnu.org/bugs/?46418


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39493 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:19:35 +00:00
rfm
20db4a26dd fix 64bit issue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39452 72102866-910b-0410-8b05-ffd578937521
2016-03-04 14:58:01 +00:00
thebeing
883503d3b3 Declare a FOUNDATION_EXPORT macro as an alias for GS_EXPORT.
Improves Cocoa compatibility


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39418 72102866-910b-0410-8b05-ffd578937521
2016-02-26 12:52:31 +00:00
rfm
fcb50dc11d Apply patch by Patrick Laurent and tidy a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39411 72102866-910b-0410-8b05-ffd578937521
2016-02-24 07:41:20 +00:00
thebeing
d50d5dac36 Modify the interfaces of all collection classes to be compatible with the
new lightweight generics implemenation. (Newer MacOS X/iOS code assuming 
the presence of the generics annotations can otherwise not be compiled with
GNUstep). This should be well-behaved under clang and gcc both. 

Fix NSCache which was copying the cache keys when it really shouldn't
have. Added a few test cases for eviction behaviour.

Few smaller tweaks to avoid compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39406 72102866-910b-0410-8b05-ffd578937521
2016-02-22 21:04:18 +00:00
rfm
547d717d02 Use defaults cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39373 72102866-910b-0410-8b05-ffd578937521
2016-02-15 10:10:39 +00:00
thebeing
300b8b5ca8 Add macros for non-null assumed sections
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39361 72102866-910b-0410-8b05-ffd578937521
2016-02-12 09:00:10 +00:00
thebeing
27de2178a1 Implement -components:fromDate:toDate:options:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39202 72102866-910b-0410-8b05-ffd578937521
2015-11-30 10:06:04 +00:00
thebeing
10f496447b Implement the NS_ENUM AND NS_OPTIONS macros to (hopefully) work both on gcc
and clang.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39029 72102866-910b-0410-8b05-ffd578937521
2015-10-05 18:43:44 +00:00
rfm
82e7f44a2c changes intended to allow use of _Bool throughout
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39010 72102866-910b-0410-8b05-ffd578937521
2015-09-22 09:46:10 +00:00
rmottola
4759a9616a Add some 10.6 URL errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38994 72102866-910b-0410-8b05-ffd578937521
2015-09-18 07:36:13 +00:00
rmottola
0b5ee81ef5 define type more traditional GS way or gcc didn't like it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38988 72102866-910b-0410-8b05-ffd578937521
2015-09-16 07:41:49 +00:00
rmottola
2ec70cee86 Add simple (files only and no keys handling) implementation of 10.6 method contentsOfDirectoryAtURL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38987 72102866-910b-0410-8b05-ffd578937521
2015-09-16 00:53:30 +00:00
rfm
457dfb02d2 File handle deallocation fix suggested by David
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38937 72102866-910b-0410-8b05-ffd578937521
2015-08-28 09:21:45 +00:00
rfm
bd7a7fd0e4 fdix minor buglet
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38774 72102866-910b-0410-8b05-ffd578937521
2015-07-09 11:44:20 +00:00
rfm
8f2ccfe42e Thread diagnositc changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38768 72102866-910b-0410-8b05-ffd578937521
2015-07-08 12:54:15 +00:00
rfm
781c9c6118 Tidy to match conding conventions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38721 72102866-910b-0410-8b05-ffd578937521
2015-06-30 08:41:38 +00:00
rmottola
517389fc48 base64EncodedDataWithOptions, base64EncodedStringWithOptions: first implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38634 72102866-910b-0410-8b05-ffd578937521
2015-06-14 16:17:17 +00:00
rfm
49bcc6d940 Various updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38599 72102866-910b-0410-8b05-ffd578937521
2015-06-04 09:18:52 +00:00
rmottola
36aa478b39 Add firstObject: method existing since 10.6
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38595 72102866-910b-0410-8b05-ffd578937521
2015-06-01 17:43:37 +00:00
znek
50201762bf exposed NSUUID.h in Foundation.h, similar to OSX's Foundation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38290 72102866-910b-0410-8b05-ffd578937521
2015-01-13 20:46:32 +00:00
rfm
daf60f9a4d reinstate deleted code (bug #42405)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37904 72102866-910b-0410-8b05-ffd578937521
2014-05-22 16:55:18 +00:00
rfm
dc4d18ba28 Improve memory management debug functionality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37873 72102866-910b-0410-8b05-ffd578937521
2014-05-09 08:04:58 +00:00
rfm
ede27c3f8c added -localizedName
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37801 72102866-910b-0410-8b05-ffd578937521
2014-04-18 20:03:31 +00:00
rfm
cdcb7a0310 Mimic OSX handling of what appears to be an ICU bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37793 72102866-910b-0410-8b05-ffd578937521
2014-04-12 04:38:13 +00:00