Riccardo Mottola
879bd3bb55
include missing header
2019-11-14 21:34:19 +01:00
Gregory John Casamento
f2e8385c3f
Update MISSING file.
2019-11-13 04:18:13 -05:00
Gregory John Casamento
fe22c1f998
Add final files
2019-11-13 04:17:00 -05:00
Gregory John Casamento
2c1be24ac3
Add skeletons of NSXPCConnection.
2019-11-13 02:31:09 -05:00
Gregory John Casamento
d33e0f2605
NSItemProvider skeleton implementation.
2019-11-12 22:59:47 -05:00
Gregory John Casamento
814f492a55
Add headers to Foundation.h
2019-11-10 23:37:38 -05:00
Gregory John Casamento
3d9598e2a0
Make NSExtensionRequest conform to protocol
2019-11-10 23:02:59 -05:00
Gregory John Casamento
73bcd161cc
Add files
2019-11-10 18:43:12 -05:00
Gregory John Casamento
6b6a11aaa7
Skeleton of extension context
2019-11-10 16:48:48 -05:00
Gregory John Casamento
996b40ad34
Implement other formatting methods in terms of the main one
2019-11-07 03:55:31 -05:00
Gregory John Casamento
71dd282a1c
Update MISSING
2019-11-06 19:16:56 -05:00
Gregory John Casamento
d23af67ea7
Skeletons
2019-11-06 19:16:23 -05:00
Gregory John Casamento
d7b854a0d2
Add NSDateComponentsFormatter
2019-11-06 19:04:41 -05:00
Gregory John Casamento
ba3d60c5ab
Update stringForObjectValue:
2019-11-06 00:19:23 -05:00
Gregory John Casamento
9e96cbd1c8
Update MISSING file
2019-11-05 20:34:17 -05:00
Gregory John Casamento
4a3de6cb47
Implement simple methods
2019-11-05 19:59:03 -05:00
Gregory John Casamento
e424e8dcc9
Init and release instance vars
2019-11-05 05:50:21 -05:00
Gregory John Casamento
7fd7763408
Add forward declarations.
2019-11-05 04:23:57 -05:00
Gregory John Casamento
2203295a4e
Add NSOrthography
2019-11-05 04:22:40 -05:00
Gregory John Casamento
30162a9a1e
Add NSOrthography and NSLinguisticTagger
2019-11-05 04:04:59 -05:00
Gregory John Casamento
1fe061b1dc
Dummy implementation of NSHFSFileTypes
2019-11-01 21:17:36 -04:00
Gregory John Casamento
3b5016e54f
Add to foundation
2019-11-01 15:42:59 -04:00
Gregory John Casamento
32f0be6255
Update MISSING file
2019-11-01 15:34:45 -04:00
Gregory John Casamento
370d52e574
Class placeholders.
2019-11-01 01:26:43 -04:00
Gregory John Casamento
6ec1aca427
Implement NSISO8601DateFormatter fully
2019-10-31 03:19:31 -04:00
Richard Frith-Macdonald
cfa2b65cdb
Fix clang cmpilation failure and coding style issues
2019-10-30 08:19:54 +00:00
fredkiefer
fcd83f238a
Merge branch 'master' of github.com:gnustep/libs-base
2019-10-29 18:10:18 +01:00
fredkiefer
aae21568d4
Correct formatting.
...
Use import instead of include.
Add missing import.
Correct encoding strings.
Correct measurement conversion.
2019-10-29 18:09:37 +01:00
Gregory John Casamento
4e7bd58b8c
Clean compiling skeleton
2019-10-29 12:46:18 -04:00
Gregory John Casamento
59581f63aa
Compiling header
2019-10-29 12:17:19 -04:00
Gregory John Casamento
ebbe3f9081
Header corrections
2019-10-29 04:21:45 -04:00
Gregory John Casamento
bac06f2312
Fix compilation issue with duplicate keys
2019-10-29 02:01:55 -04:00
Gregory John Casamento
a23e54c107
NSMetadataAttributes constants
2019-10-29 01:54:05 -04:00
Gregory John Casamento
ab7f39d833
Merge branch 'master' of github.com:gnustep/libs-base
2019-10-29 00:32:21 -04:00
Gregory John Casamento
6ef18c3ec3
Start implementing scheduler
2019-10-28 14:31:42 -04:00
fredkiefer
c4c8035ae5
* Headers/Foundation/NSUnit.h,
...
* Source/NSUnit.m: Clean up code and fix bugs.
2019-10-27 23:32:03 +01:00
Gregory John Casamento
873e4edc47
Add block handling functions to NSTimer
2019-10-26 17:03:38 -04:00
Gregory John Casamento
3d6cd160b2
Skeletal implementation getters and setters
2019-10-26 08:20:20 -04:00
Gregory John Casamento
51fe0bc550
Compiling header
2019-10-26 08:10:01 -04:00
Gregory John Casamento
aa8f60c30e
Initial empty skeleton
2019-10-26 07:45:19 -04:00
Fred Kiefer
1df4587b13
Merge pull request #78 from triplef/nsmaptable-generics
...
Added generics support to NSMapTable
2019-10-25 17:56:47 +02:00
Fred Kiefer
5b84723e59
Merge pull request #77 from triplef/fix-nsdate-instancetype
...
Updated NSDate to use instancetype.
2019-10-25 17:49:39 +02:00
Frederik Seiffert
c22f24de73
Added generics support to NSMapTable
...
Also updated NSMapTable and NSHashTable to use "instancetype".
2019-10-25 11:19:26 +02:00
Gregory John Casamento
5f060018eb
Remove uneeded <NSCoding> declarations
2019-10-24 18:17:59 -04:00
Gregory John Casamento
d5bf551f37
Remove uneeded <NSCoding> declarations
2019-10-24 18:16:59 -04:00
Gregory John Casamento
19c305c06c
Remove uneeded <NSCoding> declarations
2019-10-24 18:15:37 -04:00
Gregory John Casamento
645fa0c094
Final implementations of formatters.
2019-10-24 17:06:06 -04:00
Gregory John Casamento
7accf04103
Simplify compare
2019-10-24 14:58:43 -04:00
Gregory John Casamento
ea21e48218
Implement length formatter in terms of NSMeasurementFormatter
2019-10-24 14:18:47 -04:00
Frederik Seiffert
287fd9dd14
Updated NSDate to use instancetype.
2019-10-24 15:31:45 +02:00
Gregory John Casamento
7092968ed5
NSMassFormatter skeleton
2019-10-23 23:42:50 -04:00
Gregory John Casamento
9ef1c7b0ac
Skeletal implementation
2019-10-23 16:49:50 -04:00
Gregory John Casamento
fd1fb807d0
Initial skeleton for NSLengthFormatter.
2019-10-23 16:03:52 -04:00
Gregory John Casamento
f46219ca3f
Remove end date
2019-10-23 11:01:15 -04:00
Gregory John Casamento
2103216abc
Add setters/getters
2019-10-22 15:00:43 -04:00
Gregory John Casamento
629a3c2d5c
Consistent header for NSDateIntervalFormatter.h
2019-10-20 09:21:22 -04:00
Gregory John Casamento
8dd3b32d90
Add init
2019-10-19 07:03:33 -04:00
Gregory John Casamento
9f36d5107e
Merge branch 'UnitsOfMeasure' of github.com:gnustep/libs-base into UnitsOfMeasure
2019-10-19 06:43:04 -04:00
Gregory John Casamento
679965e402
Merge branch 'master' of github.com:gnustep/libs-base into UnitsOfMeasure
2019-10-19 06:42:07 -04:00
Gregory John Casamento
94a80ec191
Add partial implementation of NSMeasurementFormatter
2019-10-17 09:28:44 -04:00
Gregory John Casamento
0041d85f5c
Fix issue with @required and @optional
2019-10-16 09:11:32 -04:00
Gregory John Casamento
58a7201645
Implementation of most functions.
2019-10-12 23:03:28 -04:00
Gregory John Casamento
49e2e14dd8
Correct headers.
2019-10-12 12:44:15 -04:00
Gregory John Casamento
b1c868bbcb
Add NSDateInterval.[hm] files.
2019-10-12 12:42:18 -04:00
Gregory John Casamento
e960b1be80
Implement add and subtract methods
2019-10-11 01:55:05 -04:00
Gregory John Casamento
1b8d5562a1
Update MISSING file
2019-10-09 11:46:05 -04:00
Gregory John Casamento
ac9a6850c8
Add new formatter skeletons.
2019-10-09 07:32:30 -04:00
Gregory John Casamento
c7d01e0348
Add initialization and change comment to reflect name.
2019-10-08 07:57:03 -04:00
Gregory John Casamento
41f827fae1
compiling nsmeasurement
2019-10-08 05:26:01 -04:00
Gregory John Casamento
05509ad74b
Implement NSUnitAcceleration
2019-10-06 11:48:21 -04:00
Gregory John Casamento
51d001ce96
jrmu suggested changing comment format
2019-10-05 23:09:12 -04:00
Gregory John Casamento
1e794f8d92
Skeletal implementation of Units
2019-10-03 22:29:00 -04:00
Gregory John Casamento
1b80522f63
Correct formatting
2019-10-02 07:09:32 -04:00
Gregory John Casamento
ea074469c1
Add predefined measurement classes
2019-10-02 05:47:03 -04:00
Gregory John Casamento
0dd8791f2e
Skeletal implementation of NSDimension
2019-10-02 05:08:37 -04:00
Gregory John Casamento
7aee0a7c6a
Implementation of Linear converter
2019-10-02 02:05:18 -04:00
Gregory John Casamento
b2f4495a75
Correction for coding... add base class for converter.
2019-10-02 00:57:17 -04:00
Gregory John Casamento
4c51378c0c
Implementation of copying and copy protocols for base class
2019-10-02 00:24:46 -04:00
Gregory John Casamento
4db9aa0298
Units of measure
2019-09-30 15:59:50 -04:00
Gregory John Casamento
11207f91b0
Update MISSING file
2019-09-29 18:45:41 -04:00
Gregory John Casamento
2e513bb2e3
Update MISSING
2019-09-28 03:08:17 -04:00
Gregory Casamento
f8bdca966f
Merge pull request #74 from gnustep/NSFile_changes_branch
...
NSFile changes branch
2019-09-28 01:29:34 -04:00
Gregory John Casamento
8f3f8c08df
Add init
2019-09-27 04:49:29 -04:00
Gregory John Casamento
09268f3e17
Add did and will implementations for when a file moves
2019-09-27 03:55:26 -04:00
Gregory John Casamento
1286af2365
Correct header
2019-09-26 11:18:55 -04:00
Gregory John Casamento
fac99a7752
Add missing file
2019-09-26 11:06:54 -04:00
Gregory John Casamento
b2bfca7569
Add Apple script stub
2019-09-26 09:52:02 -04:00
Gregory John Casamento
dceeaa37f2
Add User script task
2019-09-26 02:19:24 -04:00
Gregory John Casamento
81a82f8400
Add to Foundation.h
2019-09-26 01:39:24 -04:00
Gregory John Casamento
c4f2f94307
Add placeholder NSScript* classes
2019-09-26 01:32:57 -04:00
Frederik Seiffert
d23c5013bf
Added support for data directory on Android.
...
This makes GNUstep use the path returned by Context.getFilesDir() as the basis for storing data (e.g. NSUserDefaults) and when querying system directory paths (NSLibraryDirectory, NSApplicationSupportDirectory, etc.). Requires calling a new GSInitializeProcessAndroid() initialization function.
2019-09-25 12:11:50 +02:00
Gregory John Casamento
7a2e290d8c
Update MISSING file
2019-09-24 02:00:21 -04:00
Gregory John Casamento
9b144b7c13
Better initialization
2019-09-24 00:09:42 -04:00
Gregory John Casamento
0644317ab4
NSFileVersion additional methods.
2019-09-23 02:51:41 -04:00
Gregory John Casamento
1d04d0c9e9
Make conformant with coding format
2019-09-23 01:45:46 -04:00
Gregory John Casamento
587b5342a9
Fix issue with NSFilePresenter include
2019-09-23 01:43:09 -04:00
Gregory John Casamento
2a935c4d53
Add implementation of -cancel
2019-09-22 23:26:30 -04:00
Gregory John Casamento
62c0aeb1b2
Add initialize
2019-09-20 20:00:45 -04:00
Gregory John Casamento
34229ac72c
Add header for NSFileCoordinator
2019-09-20 05:07:41 -04:00
Gregory John Casamento
de062d44e9
Add attributed string method.
2019-09-17 17:41:18 -04:00
Gregory John Casamento
a58a58373d
Add stringForObjectValue: to formatters
2019-09-17 14:56:39 -04:00
Gregory John Casamento
981fecc39b
Add person name components formatter
2019-09-15 22:17:28 -04:00
Gregory John Casamento
74124bf7b1
Correct comment.
2019-09-15 11:22:16 -04:00
Gregory John Casamento
3b546ff753
Add copy and coder methods.
2019-09-15 11:17:26 -04:00
Gregory John Casamento
2d565bb30a
Make it compile cleanly
2019-09-15 01:13:21 -04:00
Gregory John Casamento
39d747f7e4
Add real headers for some NSFile* classes.
2019-09-14 21:30:00 -04:00
Gregory John Casamento
330ded1ea9
Add NSFileWrapper.h to Foundation.h
2019-09-11 13:20:10 -04:00
Gregory John Casamento
69d74e84aa
Remove entry from MISSING file.
2019-09-11 12:32:34 -04:00
Gregory John Casamento
7d6be5f5f4
Move NSFileWrapper to Foundation
2019-09-08 17:34:51 -04:00
Gregory John Casamento
5806cc483a
Fixes for existing issues reported by Algoriddim.
2019-08-14 04:58:21 -04:00
Gregory John Casamento
0f09fefac3
Fix crash due to dictionary
2019-08-14 04:30:52 -04:00
Gregory John Casamento
9c4d2ca982
Add NSProgress
2019-08-10 01:40:09 -04:00
Richard Frith-Macdonald
dd36855923
Improved memory usage reporting mechanisms
2019-08-08 17:20:25 +01:00
Richard Frith-Macdonald
2ca4f74af5
review code and make some whitespace consistency tweaks
2019-08-07 11:50:05 +01:00
Gregory Casamento
f958f5f45f
Merge pull request #63 from gnustep/NSProgress_branch
...
NSProgress branch
2019-08-06 11:13:31 -04:00
Gregory John Casamento
8334a4658e
Fix issues with assigning handler
2019-08-06 10:39:20 -04:00
Gregory Casamento
4a4da681dc
Merge pull request #62 from gnustep/NSURLComponents_branch
...
NSURLComponents branch
2019-08-06 10:11:37 -04:00
Gregory Casamento
7e76fbb565
Merge pull request #61 from gnustep/NSFileManager_branch
...
NSFileManager branch
2019-08-06 10:10:55 -04:00
Gregory Casamento
deda3fada9
Merge pull request #59 from gnustep/NSSortDescriptor_branch
...
NSSortDescriptor branch
2019-08-06 10:06:35 -04:00
Gregory John Casamento
334220845a
NSProgress current changes
2019-08-06 10:03:16 -04:00
Gregory John Casamento
fce4e2e30c
Revise to use NO_ARGS when needed. Add current to total progress
2019-08-06 09:24:21 -04:00
Gregory John Casamento
23292be3cc
Add header
2019-08-06 02:57:18 -04:00
Gregory John Casamento
3bdaaefc82
Implementation of NSURLComponents
2019-08-06 02:03:45 -04:00
Gregory John Casamento
69168d3661
Add new init method
2019-08-05 14:37:58 -04:00
Gregory John Casamento
8d35169311
Eliminate redundant _internal variable
2019-08-05 00:00:55 -04:00
Gregory John Casamento
4f02bb6f87
Change protection level on internal
2019-08-04 23:50:22 -04:00
Gregory John Casamento
b388b14df5
Eliminate duplicate
2019-08-04 23:44:49 -04:00
Gregory John Casamento
120c142d22
Fix issue with no parameters in block
2019-08-04 22:55:34 -04:00
Gregory John Casamento
12db1f62c7
Commit progress on NSFileManager
2019-08-04 22:19:28 -04:00
Gregory John Casamento
ac523fb169
Remove from MISSING those methods we are implementing
2019-08-02 15:41:26 -04:00
Gregory John Casamento
fe3968a9a1
Get initial skeleton to compile
2019-08-02 15:08:25 -04:00
Gregory John Casamento
30dc7ca832
Add method declarations for new mathods
2019-08-02 14:44:34 -04:00
Gregory John Casamento
2553b6d56d
Add addOperationWithBlock: to NSOperationQueue
2019-08-02 13:29:42 -04:00
Gregory John Casamento
bdc589ce79
Use comparator in sorting
2019-08-02 10:58:13 -04:00
Gregory John Casamento
adbd44470f
Add comparator to NSSortDescriptor
2019-08-02 09:41:55 -04:00
Gregory John Casamento
202f0ceed2
Add declration to header for NSSortDescriptor sortDescriptorWithKey:ascending:comparator:
2019-08-02 05:48:50 -04:00
Gregory John Casamento
88dd60a8fc
Complete code for NSBlockOperation, need to write tests
2019-08-02 05:20:59 -04:00
Gregory John Casamento
8771837ff8
New skelenton class compiles
2019-08-01 16:03:16 -04:00
Gregory John Casamento
a9577ec89f
Initial commit of template header for NSURLComponents
2019-07-31 18:32:35 -04:00
Gregory John Casamento
a983e7222d
More implementation of NSProgress
2019-07-31 17:11:58 -04:00
Gregory John Casamento
f8e181d875
Add NSProgress.m... compiling.
2019-07-29 22:32:55 -04:00
Gregory John Casamento
5a0a7ba9c0
Add header
2019-07-29 21:16:02 -04:00
Frederik Seiffert
7d5129a3be
Added generics support to NSHashTable.
2019-07-24 21:52:06 +02:00
Gregory John Casamento
252d6a9fec
Implement formatting
2019-07-19 07:29:11 -04:00
Gregory John Casamento
a8658d172f
Correct names in test output. Add initial coding in formatter
2019-07-19 06:22:30 -04:00
Gregory John Casamento
e26b902801
Merge branch 'master' of github.com:gnustep/libs-base into NSByteCountFormatter_branch
2019-07-19 03:39:11 -04:00
Fred Kiefer
2e9207c4e9
Merge branch 'master' into fix-nsarray-kvc-generics
2019-07-15 08:43:37 +02:00
Gregory John Casamento
bb117a17db
Add NSByteCountFormatter.[hm] class.
2019-07-14 01:28:42 -04:00
Gregory John Casamento
c44e2b5bf8
Remove NSUbiquitousKeyValueStore from list of missing headers
2019-07-10 23:50:24 -04:00
Gregory John Casamento
e0df104ba2
Merge branch 'NSUbiquitousKeyValueStore_branch'
2019-07-10 18:10:34 -04:00
Frederik Seiffert
ba7a9c0a8e
Fix NSArray and NSOrderedSet KVC method types to not use generic type.
...
These methods set/return properties of the elements, not the elements themselves.
2019-07-10 11:42:46 +02:00
Frederik Seiffert
51d97e9d98
Fix generics definition of NSMutableArray and NSMutableOrderedSet.
...
The generic element was not passed on to the superclass.
2019-07-09 17:19:22 +02:00
Gregory John Casamento
ee72e4b9c1
Fix issue with class method and correct test
2019-07-08 08:54:44 -04:00
Gregory John Casamento
882477426a
Merge branch 'master' into NSUbiquitousKeyValueStore_branch
2019-07-03 04:54:19 -04:00
Gregory John Casamento
f2d1c21d37
add new class and constants
2019-07-03 04:36:24 -04:00
Gregory John Casamento
eaa352d436
Get rid of superflous white space on top
2019-07-03 04:18:43 -04:00
Gregory John Casamento
80d7f5b2cb
Add NSUbiquitousKeyValueStore.h header
2019-07-03 04:11:44 -04:00
Gregory John Casamento
32b68045b8
Remove implemented methods/classes
2019-07-03 02:00:21 -04:00
Gregory John Casamento
688d409c4b
Merge branch 'master' of github.com:gnustep/libs-base into add_nsorderedset_classcluster
2019-06-28 20:14:56 -04:00
Gregory John Casamento
e2d3e67f16
Fixing comments by fred
2019-06-27 02:00:14 -04:00
Gregory John Casamento
353aa6c8e5
Remove white space
2019-06-17 12:15:26 -04:00
Gregory John Casamento
4edcc3f697
Fix #define issues.
2019-06-13 18:58:50 -04:00
Gregory John Casamento
9f4a5c80ed
Add exceptions to KVO methods for now
2019-06-13 07:37:31 -04:00
Richard Frith-Macdonald
3f7d54a33f
improve reportingn of memory usage
2019-06-11 14:07:10 +01:00
Gregory John Casamento
c4345dc19a
Clean compilation with GSIArray backing concrete class
2019-06-08 08:07:17 -04:00
Gregory John Casamento
2dccb2eee6
Add implementation of array and set methods.
2019-06-07 22:39:51 -04:00
Richard Frith-Macdonald
42b404c586
documentation fixups
2019-06-07 12:23:35 +01:00
Gregory John Casamento
b248ac8769
Fix spelling error in method name.. Implement more methods.
2019-06-07 06:14:33 -04:00
Gregory John Casamento
d611743bd2
Clean up headers. Remove improper reference to GSPrivate.h from public header.
2019-06-07 05:36:53 -04:00
Gregory John Casamento
b3e457cd1f
Merge branch 'master' of github.com:gnustep/libs-base into add_nsorderedset_classcluster
2019-06-07 04:55:25 -04:00
Richard Frith-Macdonald
2425c42ace
Cosmetic tweaks to match coding style
2019-06-06 14:16:30 +01:00
Gregory John Casamento
09bae157fe
Implement more methods
2019-05-28 05:40:22 -04:00
Gregory John Casamento
2b7152fcde
Remove errors and warnings.
2019-05-27 07:40:18 -04:00
Frederik Seiffert
9f01876102
Added option to specify Android asset reading mode.
2019-05-24 09:29:24 +02:00
Frederik Seiffert
3b60b1a8be
Added support for asset loading on Android.
...
Requires passing the activity's AssetManager object from Java to GNUstep by calling +[NSBundle setJavaAssetManager:withJNIEnv:], which then enables the following features:
- NSBundle main bundle resource paths support for Android assets, e.g. for pathForResource:ofType:, URLForResource:ofType: and related methods.
- NSBundle main bundle info dictionary support if Info.plist exists in Android assets.
- -initWithContentsOfFile: and related methods support for reading Android assets from main bundle in various classes (e.g. NSData, NSDictionary, NSArray, etc.).
- NSFileManager fileExistsAtPath:(isDirectory:) and isReadableFileAtPath: return YES for main bundle asset / asset directory paths.
- NSFileHandle support for reading Android assets from main bundle.
- NSDirectoryEnumerator support for enumerating Android assets from main bundle. Note that recursion into subdirectories is currently not supported by the native Android asset manager API (see https://issuetracker.google.com/issues/37002833 ).
Also adds support for automatic NSProcessInfo initialization on Android with a fake executable path "/data/data/<app identifier>/exe" (as Android apps don't have a real executable path), and tweaks main bundle initialization to allow that path. Main bundle resource paths are prefixed by "/data/data/<app identifier>/Resources".
2019-05-23 15:44:07 +02:00
Gregory John Casamento
5287a62909
Add skeletal implementation of keysSortyedByValue*** methods
2019-05-20 22:23:20 -04:00
rfm
5ce5899da2
Merge pull request #41 from triplef/swift-corelibs-libdispatch-compat
...
Add compatibility for Swift corelibs libdispatch release
2019-05-20 14:54:46 +01:00
Gregory John Casamento
d4428e8d6c
Clean compilation
2019-05-20 04:01:20 -04:00
Gregory John Casamento
9a516999c8
GSOrderedSet partial implementation
2019-05-20 01:43:06 -04:00
Gregory John Casamento
56785613f1
Implement NSCoding, add GSOrderedSet
2019-05-18 03:56:11 -04:00
Gregory John Casamento
d96ac7f32a
Barebones skeleton compiling now.
2019-05-17 20:17:10 -04:00
Gregory John Casamento
19f60afba3
Merge branch 'master' of github.com:gnustep/libs-base into add_nsorderedset_classcluster
2019-05-16 19:14:10 -04:00
Gregory John Casamento
ab366e4e8e
Add NSOrderedSet.h to Foundation.h header
2019-05-16 14:03:53 -04:00
Gregory John Casamento
10eeaea0f6
Add NSOrderedSet.h to Foundation.h header
2019-05-16 13:55:57 -04:00
Gregory John Casamento
672d4b11bd
NSOrderedSet header
2019-05-16 13:53:15 -04:00
Frederik Seiffert
1ff040df10
Include CoreFoundation and libdispatch in Foundation.h if available.
...
This more closely aligns Foundation.h with the Apple version if CoreBase and/or libdispatch are available.
2019-05-14 13:02:58 +02:00
Frederik Seiffert
43c5ccaef6
Add compatibility for Swift corelibs libdispatch release
...
This updates the libdispatch runloop integration to be compatible with the Swift corelibs libdispatch release:
https://github.com/apple/swift-corelibs-libdispatch
In that release, the main queue handle and drain functions have been renamed with a "_4CF" (for CoreFoundation) suffix and have moved to private.h, so we now check for the existance of this header and function names.
Note that libdispatch must be compiled with INSTALL_PRIVATE_HEADERS=YES.
Also fixes the checks for the HAVE_LIBDISPATCH_RUNLOOP define (was inverted) and ensures that both the handle and drain functions are available.
2019-05-10 16:17:53 +02:00
Gregory Casamento
6377b93726
Merge pull request #38 from gnustep/nsstring_and_nscharacterset_changes
...
NSString and NSCharacterSet changes
2019-04-13 07:48:43 -04:00
Gregory John Casamento
aa093ca1df
Readd guards
2019-04-13 05:00:54 -04:00
Gregory John Casamento
7895a8c0e7
Add versions
2019-04-13 04:38:59 -04:00
Gregory John Casamento
298f87d24e
All tests passing. Implementation of string and nscharacterset methods completed
2019-04-12 08:46:41 -04:00
Gregory John Casamento
51e0e3f45e
Some additional changes to the test
2019-04-10 05:43:25 -04:00
Gregory John Casamento
6e843573af
Add missing method and rename in header.
2019-04-09 05:27:28 -04:00
Gregory John Casamento
9e960dfcd2
Correct method names
2019-04-09 03:28:35 -04:00
Gregory John Casamento
41f4fa411a
Skeletal implementation of new characterset and screen methods.
2019-04-08 07:36:38 -04:00
Ivan VucÌŒica
9d67048ff0
GSTLS.h: Change guard to check for /value/ of GS_USE_GNUTLS.
...
Previously, code checked for whether its defined or not. This
preprocessor constant might be defined with a zero value
indicating desire not to use GnuTLS, which would still pass the
old check.
2019-02-12 19:19:01 +00:00
Richard Frith-Macdonald
d5db493e18
Fix preprocessor constant used to protect gnutls use
2019-01-16 16:20:42 +00:00
Richard Frith-Macdonald
6f3bd6ac97
Expose GNU TLS wrappers and add methods to get certificate expiry
2019-01-16 09:56:08 +00:00
David Chisnall
3847c54f3f
Add NSConstantString implementation for v2 ABI.
...
This is largely the version from the newabi branch, but with a few
cleanups made possible by other bug fixes in the GSString
implementations.
2018-12-27 13:44:45 +00:00
Wolfgang Lux
a27c577370
Remove reference to the copyWithZone: implementation of NSObject
2018-12-06 14:19:50 +01:00
Richard Frith-Macdonald
458b8a1e79
expose gnustep specific methods for old code
2018-12-05 10:43:59 +00:00
Richard Frith-Macdonald
280b2cbe83
Changes for keeping a connection in use
2018-12-04 13:34:53 +00:00
Fred Kiefer
a6106f550e
Merge branch 'master' into nscalendar-withIdentifier
2018-06-15 10:02:10 +02:00
Richard Frith-Macdonald
ed286536e2
Add GSTLSServerName option
2018-05-18 20:26:35 +01:00
Graham Lee
c5fac90b86
add +[NSCalendar calendarWithIdentifier:]
2018-04-30 18:02:28 +01:00
Riccardo Mottola
6f7e480913
Detect if platform is missing spin locks and provide an dummy implementation. Emit warning during compilation and runtime (in debug)
2018-04-23 20:37:28 +02:00
David Chisnall
970c8cbd05
Revert "Fix memory corruption in NSException."
...
Accidentally included unrelated changes.
This reverts commit 3b1e94ec5d
.
2018-04-07 20:03:33 +01:00
David Chisnall
3b1e94ec5d
Fix memory corruption in NSException.
...
If compiling without backtrace or BFD support, we initialise the
location to store return addresses incorrectly, leaving a dangling
pointer which we then right over.
Most consumers never read this, so it seemed to work most of the time by
just overwriting a random bit of memory.
This probably has security implications, because throwing an exception
can clobber random bits of memory, though not with attacker-controlled
data.
2018-04-07 11:02:04 +01:00
Richard Frith-Macdonald
cc7a146796
More changes to make lock tracking more robust
2018-04-04 14:42:20 +01:00
Richard Frith-Macdonald
d6612ef880
Fixes in experimental code
2018-03-27 09:55:29 +01:00
Richard Frith-Macdonald
76014b0983
add missing declaration
2018-03-26 20:12:50 +01:00
Richard Frith-Macdonald
05439fe15d
Experimental deadlock detection code
2018-03-26 15:20:48 +01:00
Richard Frith-Macdonald
81102fae85
improve logging of http comms and of deadlocks
2018-03-16 15:11:02 +00:00
Richard Frith-Macdonald
7c1b9b4d15
fix style errors
2018-03-15 14:09:14 +00:00
Richard Frith-Macdonald
1937b36b86
Update assertion macros to support multiple arguments
2018-02-06 09:35:34 +00:00
Richard Frith-Macdonald
d8e7607582
Tweaks to let comp[iler know that methods to raise an exception don't return.
2018-01-25 10:05:52 +00:00
Richard Frith-Macdonald
925f1dd5e1
Add Yavor Doganov's patches for tests and config. Add fixes for GSXML
...
validation of xml documents
2018-01-14 12:30:13 +00:00
Richard Frith-Macdonald
31257785d6
External entity resolution turned off by default for security
2018-01-11 16:39:21 +00:00
David Chisnall
6f206829f8
Avoid conflicts with runtime header.
...
Don't duplicate definitions from objc/blocks_runtime.h if it exists.
2017-12-11 16:30:18 +00:00
fredkiefer
97f9a02308
Add new symbolic link method to NSFileManager.
2017-12-03 21:55:33 +01:00
Zenny Chen
f5428c1616
Update blocks_runtime.h
...
Get compatible with Clang
2017-11-19 00:16:20 +08:00
Zenny Chen
eb2c218781
Update GSBlocks.h
...
Get compatible with Clang
2017-11-19 00:13:21 +08:00
Daniel Ferreira
0888a7761f
NSURLDownload: export NSURLDownloadDelegate protocol
...
As of macOS 10.7, NSURLDownloadDelegate is exposed formally as a
protocol. This adds the declaration to make this true for GNUstep.
2017-08-24 05:14:13 +10:00
Daniel Ferreira
6762a35539
NSTextCheckingResult: define missing constants
...
Define missing constants in the NSTextCheckingResult header.
2017-08-24 05:14:13 +10:00
Daniel Ferreira
49a8940156
NSObjCRuntime: add availability macro definitions
...
Add empty definitions for OSX Availability macros for compatibility
purposes.
2017-08-05 04:15:36 +10: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
e2831f34c1
NSURLConnection: expose NSURLConnectionDelegate as a protocol
...
Currently, NSURLConnectionDelegate methods were defined as a category of
an NSObject. The same definitions were copied over to a new
NSURLConnectionDelegate protocol, introduced in OSX 10.7.
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
aa70ff5300
NSURLRequest: add new values for NSURLCachePolicy
...
Add new values for the NSURLCachePolicy enum. Although
NSURLRequestReloadIgnoringLocalAndRemoteCacheData and
NSURLRequestReloadRevalidatingCacheData have been left unimplemented,
the same applies for the reference platform, so not supporting it does
not break API compatibility.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
8df9e6d73d
NSZone: implement NSMakeCollectable()
...
Implement NSMakeCollectable(), an interface which makes CoreFoundation
objects eligible for garbage collection.
Since garbage collection is a totally deprecated API, its implementation
is a no-op, which may cause objects that rely on it to leak. However, it
doesn't look like supporting actual garbage collection at this point
will bring a gain to the project -- and having this function available
will avoid breaking builds that rely on it.
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
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
fae4ff3371
NSHTTPCookie: make -isSessionOnly and -isSecure properties
...
Make -[NSHTTPCookie isSessionOnly] and -[NSHTTPCookie isSecure] methods
become properties if possible, so that they can be also queried as
`cookie.sessionOnly` and `cookie.secure`. This increases compatibility
with applications that rely on this notation.
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
41a00e1ad3
NSURL: create .fileURL property
...
Create the NSURL.fileURL property to increase compatibility with
applications that rely on this.
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
58db96f385
NSObjCRuntime: create NS_ROOT_CLASS macro
...
Create the NS_ROOT_CLASS macro, a wrapper around the objc_root_class
compiler attribute.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
ec9e4055dd
NSObjCRuntime: create stubs for Apple availability macros
...
Make NS_AVAILABLE and NS_CLASS_AVAILABLE macros no-ops so that their
absence does not break projects that rely on it.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
dc88164c94
NSCalendar: add new NSCalendarUnit definitions
...
Update NSCalendarUnit definitions with a newer specification from Cocoa.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
959415a236
NSCalendar: add NSCalendarOptions enum
...
Add the NSCalendarOptions enum to NSCalendar for compatibility purposes.
While NSCalendar does not yet know how to handle them, it will not
generate build errors in projects that attempt to use them.
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
Daniel Ferreira
47ecf6a90b
FoundationErrors: add "no file exists" error
...
Create a no-file-exists error to the FoundationErrors enums. No function
is yet implemented to throw this error, but it has been added for
compatibility with applications that handle it.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
1e8c1d3855
headers: define GS_HAS_DECLARED_PROPERTIES macro
...
To keep compatibility with compilers prior to Objective-C 2.0 support
(added in the GCC 4.6 series), we are unable to always declare @property
attributes in classes. However, compatibility with dot-syntax
applications require us to define properties if we can.
We already had some checks for the GS_HAS_DECLARED_PROPERTIES macro to
see whether we could or could not declare properties (or whether we
should fall back to manual getter/setter defining). However, it seems
this macro never got defined.
This commit adds this macro, checking whether we possess either GCC >=
4.6 or Clang.
2017-06-29 21:18:16 +01:00
Richard Frith-Macdonald
9b8f8a8444
Replace lost edit spotted by Fred.
2017-06-19 07:07:13 +01:00
Richard Frith-Macdonald
c494785630
Fix GSI_MAP_NODE_IS_EMPTY macros as suggested
...
by Daniel Ferreira <bnmvco@gmail.com>
2017-06-17 07:13:55 +01: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
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
Wolfgang Lux
6df2b6f4c9
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
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
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
Richard Frith-MacDonald
5e2d923b78
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
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
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
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
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
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
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
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
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
Niels Grewe
4b9f685eb9
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
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
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
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
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
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
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
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
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
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
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
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
2162c52990
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
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
cd3f29f2ea
Regenerate
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39530 72102866-910b-0410-8b05-ffd578937521
2016-03-11 16:52:21 +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
Niels Grewe
8616cbf474
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
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
0c0cc7aedc
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
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
Niels Grewe
6e6ee05a80
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
Richard Frith-MacDonald
4f9d5c0982
use compiler conventions to tell if we are on mswindows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39453 72102866-910b-0410-8b05-ffd578937521
2016-03-04 15:02:07 +00:00
Richard Frith-MacDonald
84613dbfde
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
Richard Frith-MacDonald
e9539579c3
fixed missing change in last revert
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39435 72102866-910b-0410-8b05-ffd578937521
2016-03-02 09:40:56 +00:00
Richard Frith-MacDonald
276e557f9c
tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39433 72102866-910b-0410-8b05-ffd578937521
2016-03-01 11:43:36 +00:00
Richard Frith-MacDonald
8352d4a919
tweaks for win64 by Seong Gu Lee <sgleehd@gmail.com>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39432 72102866-910b-0410-8b05-ffd578937521
2016-03-01 10:41:33 +00:00
Niels Grewe
5850d0aa38
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
Richard Frith-MacDonald
a51249a65d
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
Niels Grewe
28c824a78a
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