Commit graph

10836 commits

Author SHA1 Message Date
Richard Frith-Macdonald
38fc2bde82 Remove --enable-objc-nonfragile-abi because David says it's obsolete and
doesn't work as expected.
2017-12-20 13:25:41 +00:00
Richard Frith-Macdonald
b5bea3f3a7 Changes preparing for release 2017-12-19 13:52:16 +00:00
Richard Frith-Macdonald
f319725536 copying the local time zone just, returns it 2017-12-19 11:42:53 +00:00
davidchisnall
242eb7165b
Merge pull request #15 from iamleeg/json-signed-integers
fix overflow of integer types when writing large unsigned long longs …

Fixes #12
2017-12-18 13:08:10 +00:00
Graham Lee
d19e211fdb
Merge branch 'master' into json-signed-integers 2017-12-18 12:57:14 +00:00
Graham Lee
186d840ce6
Merge branch 'master' into json-signed-integers 2017-12-18 12:56:28 +00:00
David Chisnall
8a89579e15 Duplicate some data from an easy-to-find location to a less helpful one. 2017-12-17 10:57:25 +00:00
David Chisnall
25e67bd107 Refactor weak symbol usage.
The Linux run-time linker doesn't allow weak references in one library
to be overridden by ones in another.  To work around this, we now
declare the runtime functions as weak and perform dynamic checks on
whether the symbols have been resolved and call the fallbacks as local
static functions if they are not present.
2017-12-17 10:57:25 +00:00
davidchisnall
640972f2ae
Merge pull request #19 from gnustep/refcountrefactor
Refactor refcount usage.
2017-12-17 09:47:35 +00:00
Richard Frith-Macdonald
d311dbe3d5 Update to latest timezone info 2017-12-15 14:12:39 +00:00
David Chisnall
7a7b18a090 Fix typo in test. 2017-12-13 18:56:32 +00:00
David Chisnall
e35eb61dbc Make object allocation and deallocation use the runtime.
All objects are now created and destroyed by the runtime, so we have
clean layering between -base and libobjc.
2017-12-13 18:22:08 +00:00
David Chisnall
c3921ee1f7 Refactor refcount usage.
This makes it easier for the runtime to change how reference counts are
stored by removing any refcount manipulation from -base when the runtime
provides accessors.  This should have no functionality change with
existing runtimes, but will let newer runtimes drop in alternative
representations easily.
2017-12-13 17:19:43 +00:00
David Chisnall
98205ac266 Fix a bug in NSMapTable.
In the simple constructors, we were using the pointer functions that use
pointer equality and a hash derrived from the pointer, rather than -isEqual:
and -hash.  This led to some subtle and confusingly broken behavior.
2017-12-11 16:30:18 +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
Graham Lee
910f086e26 add test 2017-11-26 08:40:28 +00:00
Graham Lee
05184a7e1a fix overflow of integer types when writing large unsigned long longs to JSON 2017-11-25 21:23:46 +00:00
davidchisnall
4b56172ac8
Merge pull request #13 from zenny-chen/master
Get compatible with Apple LLVM API
2017-11-24 20:03:17 +00:00
Zenny Chen
fd5744356f
Update blocks_runtime.m 2017-11-19 13:14:17 +08:00
Zenny Chen
d0d7238172
Update GSBlocks.m
Compatible to the new-updated GSBlocks.h
2017-11-19 01:19:44 +08:00
Zenny Chen
4c0dc51305
Update blocks_runtime.m
Get compatible with new-updated Blocks API
2017-11-19 01:01:39 +08: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
Richard Frith-Macdonald
9bbcd75d16 Fix for failure to check insertion point is at an existing item. 2017-11-16 14:56:20 +00:00
fredkiefer
7c68c30928 Protect against GSPrivateNativeCStringEncoding() corrupting the return
value of setlocale(). Bug #52331 reported by Jakub Wilk <jwilk@jwilk.net>.
2017-11-04 23:53:12 +01:00
stefanbidi
ded6cf852a * ChangeLog: Include ChangeLog entry for previous commit. 2017-10-26 11:06:08 -04:00
stefanbidi
8eed1d780c * Source/NSDateFormatter.m: Fix how UDateFormat is created. Fixes bug #52011. 2017-10-24 18:15:44 -04:00
Richard Frith-Macdonald
8bd7c048ac Improve handling of messaging to blocked thread 2017-09-06 09:32:07 +01:00
fredkiefer
78ce414d7d Merge pull request #10 from theiostream/more-defs
Add more definitions for WebKit
2017-08-27 17:30:47 +02:00
Stefan Bidigaray
952884dd6a Fix bug in NSLocale ISO codes methods. 2017-08-24 11:03:11 -04:00
Daniel Ferreira
f07da76c12 Update ChangeLog 2017-08-24 05:14:34 +10: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
Richard Frith-Macdonald
10b865e2d5 Merge branch 'master' of ssh://github.com/gnustep/libs-base
Conflicts:
	ChangeLog
2017-08-21 11:27:13 +01:00
Richard Frith-Macdonald
f170693bca Fix error with Location header 2017-08-21 11:25:44 +01:00
Daniel Ferreira
9fe015296b Update ChangeLog 2017-08-05 04:15:44 +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
Wolfgang Lux
4e383e19d0 Fix incorrect unicode escape sequence, use common smiley character 2017-07-10 15:06:13 +02:00
Wolfgang Lux
bc285396da Characters outside the BMP cannot be converted to Latin 1 string encoding 2017-07-10 10:16:27 +02:00
Riccardo
6b455a589d Fix GetTickCount()/GetTickCount64() for different Windows versions 2017-07-07 10:50:10 +02:00
Richard Frith-Macdonald
99a3655108 surrogate pair test 2017-07-06 16:15:51 +01:00
Richard Frith-Macdonald
b19b4af0b0 ChaneLog entry for recent NSObject.m change 2017-07-04 09:16:09 +01:00
Richard Frith-Macdonald
cc2ee1d59b Improve diagnostic if reference count is incremented too far. 2017-07-03 14:33:32 +01:00
Richard Frith-Macdonald
c82dd20280 Avoid bogus compiler warning about string literal comparison 2017-06-30 07:37:05 +01:00
Daniel Ferreira
a8c2c4965d Update ChangeLog 2017-06-29 21:18:16 +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
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