Commit graph

98 commits

Author SHA1 Message Date
rfm
241e2a47ca locking updates (fine grained locking rather than global lock) 2024-05-30 10:40:52 +01:00
Frederik Seiffert
61709e6101 Support building on Windows with Clang MSVC target 2021-02-03 15:02:27 +01:00
Richard Frith-Macdonald
190bafad72 declare external block as const void rather than void for consistency and to avoid compiler warning 2020-12-04 04:36:42 -05:00
Zenny Chen
fd5744356f
Update blocks_runtime.m 2017-11-19 13:14:17 +08:00
Zenny Chen
4c0dc51305
Update blocks_runtime.m
Get compatible with new-updated Blocks API
2017-11-19 01:01:39 +08: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
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
00963be77a minot inttype/stdint tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37326 72102866-910b-0410-8b05-ffd578937521
2013-10-30 03:51:32 +00:00
Richard Frith-MacDonald
d65b9254dd minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36839 72102866-910b-0410-8b05-ffd578937521
2013-07-05 20:31:54 +00:00
Richard Frith-MacDonald
360e1f6ec6 some small fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36616 72102866-910b-0410-8b05-ffd578937521
2013-05-13 07:09:41 +00:00
Richard Frith-MacDonald
97261ea781 Fix problem as reported by James Cook <mokus@deepbondi.net>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35088 72102866-910b-0410-8b05-ffd578937521
2012-04-17 21:06:41 +00:00
Richard Frith-MacDonald
5e74b70bff Try to tidy/simplify objc2 header support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34459 72102866-910b-0410-8b05-ffd578937521
2012-01-08 14:25:56 +00:00
Richard Frith-MacDonald
c879760fd5 fix formatting errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34301 72102866-910b-0410-8b05-ffd578937521
2011-12-16 07:28:05 +00:00
Richard Frith-MacDonald
e3588d2fc0 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34005 72102866-910b-0410-8b05-ffd578937521 2011-10-15 18:36:51 +00:00
Richard Frith-MacDonald
1d6c3a2a72 Portability tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33999 72102866-910b-0410-8b05-ffd578937521
2011-10-15 07:59:19 +00:00
Richard Frith-MacDonald
4cc58b721a Use _POSIX_C_SOURCE=199506L
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33998 72102866-910b-0410-8b05-ffd578937521
2011-10-15 05:02:22 +00:00
Richard Frith-MacDonald
341f74b871 threading portability improvement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33995 72102866-910b-0410-8b05-ffd578937521
2011-10-14 16:43:03 +00:00
Richard Frith-MacDonald
0142bf0f8a tweak minor problems in last changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33994 72102866-910b-0410-8b05-ffd578937521
2011-10-14 16:19:37 +00:00
Richard Frith-MacDonald
afc6974925 Provisional IPv6 support added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33933 72102866-910b-0410-8b05-ffd578937521
2011-10-03 16:03:19 +00:00
David Chisnall
16fc1c503c Remove spurious &s
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32985 72102866-910b-0410-8b05-ffd578937521
2011-05-05 11:25:12 +00:00
David Chisnall
a95b18e430 Added missing ivar access functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32939 72102866-910b-0410-8b05-ffd578937521
2011-04-28 18:41:01 +00:00
Riccardo Mottola
06de8db62b add directory of the local headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32761 72102866-910b-0410-8b05-ffd578937521
2011-04-01 12:40:52 +00:00
Richard Frith-MacDonald
7aee0158bc Cleanup and fix to build additipns library on apple systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32737 72102866-910b-0410-8b05-ffd578937521
2011-03-29 11:18:10 +00:00
Richard Frith-MacDonald
09bd40334c simplify header layout
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32545 72102866-910b-0410-8b05-ffd578937521
2011-03-13 12:52:37 +00:00
Richard Frith-MacDonald
53882ca6d3 fix dereferencing null pointer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32543 72102866-910b-0410-8b05-ffd578937521
2011-03-13 10:14:11 +00:00
Richard Frith-MacDonald
9ea5861683 separate building of blocks support from rest of compat code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32542 72102866-910b-0410-8b05-ffd578937521
2011-03-13 09:57:00 +00:00
Richard Frith-MacDonald
ee7872e6fd mingw block fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32540 72102866-910b-0410-8b05-ffd578937521
2011-03-13 09:38:37 +00:00
Richard Frith-MacDonald
6afda2b67a KVO tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32443 72102866-910b-0410-8b05-ffd578937521
2011-03-03 17:33:57 +00:00
Richard Frith-MacDonald
5168bd5e2e simplify typed selector usage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32396 72102866-910b-0410-8b05-ffd578937521
2011-02-27 23:29:25 +00:00
Richard Frith-MacDonald
7a55300d6b cleanup for next reelease
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32385 72102866-910b-0410-8b05-ffd578937521
2011-02-27 09:08:59 +00:00
Richard Frith-MacDonald
38670c0a08 OSX compatibility changes and other minor tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32279 72102866-910b-0410-8b05-ffd578937521
2011-02-22 07:05:36 +00:00
Richard Frith-MacDonald
0592b48e55 Raise when attempting to use unimplemented classes. Check for null pointers
in more runtime functions (probably still many cases where we crash if null
pointers are passed to the API and Apple behave more tolrantly).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32124 72102866-910b-0410-8b05-ffd578937521
2011-02-13 06:31:05 +00:00
Richard Frith-MacDonald
ef81066edc Fix to get compile working again on slightly older systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31548 72102866-910b-0410-8b05-ffd578937521
2010-10-22 07:25:57 +00:00
Gregory John Casamento
7795322965 Correct license text in sync.m and also correct the test to see if the ObjC compiler is working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31519 72102866-910b-0410-8b05-ffd578937521
2010-10-16 20:43:33 +00:00
Wolfgang Lux
2a5d060cfa Fix two unchecked pointer dereferences in the libobjc2 compatibility
code, which could cause crashes when attempting to invoke a selector
which is not implemented by the target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31384 72102866-910b-0410-8b05-ffd578937521
2010-09-20 18:13:48 +00:00
Richard Frith-MacDonald
d317aab108 fix occasional crash with proxies
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31291 72102866-910b-0410-8b05-ffd578937521
2010-09-10 10:40:07 +00:00
Eric Wasylishen
d7a7393a0b Minor build fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31271 72102866-910b-0410-8b05-ffd578937521
2010-09-09 17:02:19 +00:00
Eric Wasylishen
59ba8facf0 Change sel_getUid to call sel_registerName, in line with OS X behaviour since 10.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31270 72102866-910b-0410-8b05-ffd578937521
2010-09-09 16:43:29 +00:00
David Chisnall
db04df357a Add implementation of sel_registerTypedName_np() to ObjectiveC2 (libobjc2 nonportable function for registering / getting typed selectors).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31266 72102866-910b-0410-8b05-ffd578937521
2010-09-09 15:17:40 +00:00
Eric Wasylishen
345563c947 * Source/ObjectiveC2/runtime.h:
* Source/ObjectiveC2/runtime.m:
Implement protocol_copyMethodDescriptionList, protocol_copyProtocolList,
protocol_getMethodDescription, as well as a dummy version of
objc_copyProtocolList.
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Source/Additions/GSObjCRuntime.m:
Implement a convenience method, GSProtocolGetMethodDescriptionRecursive



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31254 72102866-910b-0410-8b05-ffd578937521
2010-09-08 20:30:19 +00:00
David Chisnall
daecca9270 Import feature test function from libobjc2 into ObjectiveC2 framework. Returns 0 for all of the new features. May return the wrong value for exception support, if the runtime is really ancient and does not support exceptions. Returns 1 for features that the framework adds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31252 72102866-910b-0410-8b05-ffd578937521
2010-09-08 14:10:01 +00:00
Jonathan Gillaspie
300d429113 * ObjectiveC2/sync.m -- Removed WEAK declaration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31201 72102866-910b-0410-8b05-ffd578937521
2010-08-25 17:38:13 +00:00
Richard Frith-MacDonald
20220c48f5 fixes for bug #29338
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31188 72102866-910b-0410-8b05-ffd578937521
2010-08-20 11:07:33 +00:00
Richard Frith-MacDonald
50662ad093 avoid some compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31107 72102866-910b-0410-8b05-ffd578937521
2010-08-10 10:38:50 +00:00
Niels Grewe
c86696f8f7 Add sel_getType_np() function to the ObjectiveC2 compatibility framework.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31001 72102866-910b-0410-8b05-ffd578937521
2010-07-19 09:11:07 +00:00
Niels Grewe
c7ef614806 Protect runtime.h from multiple inclusion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30898 72102866-910b-0410-8b05-ffd578937521
2010-06-30 04:44:03 +00:00
Richard Frith-MacDonald
f3fce06388 Use inttypes.h rather than stdint.h ... supported on more platforms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30888 72102866-910b-0410-8b05-ffd578937521
2010-06-29 08:23:52 +00:00
David Chisnall
16c3a7e11d Fixed #includes in NSBlocks.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30803 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:32:45 +00:00
David Chisnall
1a37e4936f Added missing source file - I guess that explains why it wasn't included in the make file...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30802 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:27:40 +00:00
David Chisnall
4c218bd770 Actually build blocks support...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30801 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:16:16 +00:00