Commit graph

359 commits

Author SHA1 Message Date
theraven
d0b66e510d Made NSAllocateObject() and NSDeallocateObject() use / take id instead of NSObject*. This matches Apple's definition and gets rid of 'assignment / initialization from distinct Objective-C type' warnings when you use NSAllocateObject() to create an instance without an explicit cast.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29611 72102866-910b-0410-8b05-ffd578937521
2010-02-13 17:33:23 +00:00
rfm
1412e70c06 Coimplete operation queue implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29508 72102866-910b-0410-8b05-ffd578937521
2010-02-08 10:34:27 +00:00
rfm
55a9ce06d7 Fix error in class for zombie
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29259 72102866-910b-0410-8b05-ffd578937521
2010-01-11 11:29:44 +00:00
rfm
863022859d avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29258 72102866-910b-0410-8b05-ffd578937521
2010-01-11 11:23:03 +00:00
gcasa
e66625cfdf Conditionally compile weak attribute.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29159 72102866-910b-0410-8b05-ffd578937521
2009-12-22 22:12:56 +00:00
theraven
fffe50ffdc Added call to objc_create_block_classes_as_subclasses_of() in NSObject's +load method. This is called as soon as NSObject is loaded and creates the _NSBlock family of classes, which are statically allocated in the runtime but not statically initialised. If you create blocks without linking GNUstep-base, the isa pointer in the block will point to a class that has all of its fields set to 0.
Any blocks will have their isa pointer set to the two classes statically allocated in libobjc, but these classes can't be used for message lookup (or introspection) until after the call.  This means that you can't send messages to blocks until after NSObject's +load method has been called.  This shouldn't be a problem in most code, but if you use __attribute__((constructor)) instead of a +load method then be careful about sending messages to blocks (you can still call them as normal). 



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29144 72102866-910b-0410-8b05-ffd578937521
2009-12-20 16:59:41 +00:00
rfm
43cda8ed2c tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29049 72102866-910b-0410-8b05-ffd578937521
2009-11-23 18:07:25 +00:00
theraven
5e3de82c70 Added fall-back line for forwarding. Now -forwardingProxyForSelector: should work on all runtimes, with all ABIs, it will just be painfully slow on the GCC runtime and the legacy ABI.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29048 72102866-910b-0410-8b05-ffd578937521
2009-11-23 16:43:08 +00:00
rfm
d9749d603d Documentation generation improvments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29047 72102866-910b-0410-8b05-ffd578937521
2009-11-23 09:42:18 +00:00
wlux
56ba86ce4c Prevent potential deadlock in multithreaded programs due to an
allocation lock that was never unlocked.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28859 72102866-910b-0410-8b05-ffd578937521
2009-10-20 05:25:04 +00:00
rfm
1a11998ecf Cleanups and minor bugfixes for new code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28665 72102866-910b-0410-8b05-ffd578937521
2009-09-12 07:37:00 +00:00
theraven
023f3b5e17 Added implementations of the hooks provided by the new runtime. This brings
NSObject up to feature-parity with the OS X 10.5 implementation when using the
new runtime and up to feature-parity with the 10.6 implementation if you are
using the new runtime and compiling with clang.

Also removes the objc_mutex_wibble stuff from NSObject in favour of just using
NSLocks (which, with the new implementation, are now faster than using
objc_mutex_stuff).



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28657 72102866-910b-0410-8b05-ffd578937521
2009-09-10 20:14:42 +00:00
theraven
0e2e4aa752 * Source/NSObject:
- Tweaked NSObject to use atomic ops with LLVM as well as gcc (this
		  probably isn't actually needed)
		- Fixed SIGFPE problem on FreeBSD using proper interfaces instead of 
		an asm hack.
	* Removes various mframe things from being compiled when ffcall/libffi is
	used (mframe.m, NSConnection.m, NSInvocation.m)
	* Turned a nested function in make_strings.m into a macro.  

Tested by Gregory - blame him for any breakage...



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28462 72102866-910b-0410-8b05-ffd578937521
2009-08-15 21:44:21 +00:00
rfm
6e50741e9a Fix failed commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28434 72102866-910b-0410-8b05-ffd578937521
2009-08-04 06:13:37 +00:00
rmottola
de58729919 Atomic increment and decrement functions for m68k
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28310 72102866-910b-0410-8b05-ffd578937521
2009-05-29 23:10:15 +00:00
fredkiefer
912f62759a * Source/NSObject.m: Correct asm for PPC.
Patch by Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSObject.m: Add support for new gcc atomic build
ins. Currently still disabled.
Patch by David Chisnall <theraven@sucs.org>

M    Source/NSObject.m
M    ChangeLog


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28268 72102866-910b-0410-8b05-ffd578937521
2009-05-04 20:07:56 +00:00
rfm
09cccdbd3e Fix swizzle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28222 72102866-910b-0410-8b05-ffd578937521
2009-04-15 08:31:14 +00:00
rfm
cfb566ed22 more GC improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28220 72102866-910b-0410-8b05-ffd578937521
2009-04-15 08:03:19 +00:00
rfm
669d22f6d9 gc improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28192 72102866-910b-0410-8b05-ffd578937521
2009-04-10 08:25:03 +00:00
fedor
565c79f59d Revert previous patch (David to fix up later).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28174 72102866-910b-0410-8b05-ffd578937521
2009-04-03 14:56:41 +00:00
rfm
eba9ab6e75 Cleanups suggested/provided by David Chisnall
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28160 72102866-910b-0410-8b05-ffd578937521
2009-03-31 15:49:42 +00:00
rfm
4e2efb55dc use weak pointers for siblings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28128 72102866-910b-0410-8b05-ffd578937521
2009-03-24 10:53:38 +00:00
rfm
1549f5b5e7 Implement OSX10.5 NSMapTable API
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28086 72102866-910b-0410-8b05-ffd578937521
2009-03-16 10:54:59 +00:00
rfm
c14d95bfe0 GC tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28063 72102866-910b-0410-8b05-ffd578937521
2009-03-10 17:12:47 +00:00
rfm
38980826a4 gc tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28050 72102866-910b-0410-8b05-ffd578937521
2009-03-08 14:29:06 +00:00
rfm
c2bfae873f Remved some unused code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28047 72102866-910b-0410-8b05-ffd578937521
2009-03-06 11:01:42 +00:00
rfm
30cf8bf35b Updates for 10.5 API changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
2009-02-23 20:42:32 +00:00
rfm
d7c2ea71f7 MacOS-X compatibility fix for GC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27845 72102866-910b-0410-8b05-ffd578937521
2009-02-11 10:11:33 +00:00
rfm
962f660ada fix for bug #25543
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27830 72102866-910b-0410-8b05-ffd578937521
2009-02-10 12:49:06 +00:00
rfm
c41bdeb638 GC changes for MacOS-X compatiblity
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27630 72102866-910b-0410-8b05-ffd578937521
2009-01-19 11:00:33 +00:00
rfm
f8441e1092 Change finalization to match MacOS-X
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27581 72102866-910b-0410-8b05-ffd578937521
2009-01-12 18:36:37 +00:00
rfm
d304d9ee34 garbage collection fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27578 72102866-910b-0410-8b05-ffd578937521
2009-01-12 12:48:46 +00:00
rfm
69effed5ac Add check of method types in -methodSignatureForSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27135 72102866-910b-0410-8b05-ffd578937521
2008-11-26 09:20:34 +00:00
rfm
8658db87db Applied patch #6677
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27080 72102866-910b-0410-8b05-ffd578937521
2008-11-17 13:45:32 +00:00
rfm
e0711a3b8d allow developers more time to adapt to LGPLv3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
rfm
6dac2bfc68 Update atomic increment/decrement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26369 72102866-910b-0410-8b05-ffd578937521
2008-03-20 14:47:08 +00:00
rfm
cd46236028 Update to GPL3 and LGPL3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25482 72102866-910b-0410-8b05-ffd578937521
2007-09-14 11:36:11 +00:00
rfm
18b6d596bc Fix typo and add cast to avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24770 72102866-910b-0410-8b05-ffd578937521
2007-03-05 17:04:14 +00:00
rfm
18ce09000d fix error in declaration on mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24768 72102866-910b-0410-8b05-ffd578937521
2007-03-05 16:13:06 +00:00
rfm
1b933b6333 work around bug in mingw headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24767 72102866-910b-0410-8b05-ffd578937521
2007-03-05 16:09:46 +00:00
rfm
ebe0afc55d avoid some compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24765 72102866-910b-0410-8b05-ffd578937521
2007-03-05 16:02:25 +00:00
rfm
84f26e6805 Try using atomic increment/decrement for after retain/release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24764 72102866-910b-0410-8b05-ffd578937521
2007-03-05 15:41:09 +00:00
rfm
2b67e7ace4 ock contention fix added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24715 72102866-910b-0410-8b05-ffd578937521
2007-02-28 06:24:13 +00:00
fedor
10bb9dcc50 Apply BSD FPU fix on only x86
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24404 72102866-910b-0410-8b05-ffd578937521
2007-01-23 16:04:29 +00:00
ratmice
fa13ef9c99 * Source/NSObject.m: Fix typo.
* Headers/Foundation/NSException.h: Export
        NSObjectInaccessibleException.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24165 72102866-910b-0410-8b05-ffd578937521
2006-11-28 01:20:46 +00:00
rfm
f33c48a9ed Fix documentation version numbering
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24034 72102866-910b-0410-8b05-ffd578937521
2006-11-06 13:05:52 +00:00
rfm
9e7b96ab0e More code tidyups and NSError updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
2006-10-20 10:56:27 +00:00
rfm
799955caff Experiment with function visibility ... try caching locale dictionary to be
accessed from a function yet invisible outside the base library even when
caching is done in the Additions subproject.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23903 72102866-910b-0410-8b05-ffd578937521
2006-10-18 15:36:52 +00:00
rfm
31342aef09 Updates to reduce global namespace pollution. Plenty more remaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
2006-10-09 14:00:01 +00:00
rfm
a94904a806 Thread safety fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23408 72102866-910b-0410-8b05-ffd578937521
2006-09-07 11:47:45 +00:00
rfm
325987015c Implement CRASH_ON_ZOMBIE for memory debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23267 72102866-910b-0410-8b05-ffd578937521
2006-08-13 07:09:31 +00:00
rfm
85b1050160 Avoid some gcc-4.1 compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22932 72102866-910b-0410-8b05-ffd578937521
2006-05-15 12:07:35 +00:00
CaS
f57ca76cba Fixes for 64bit systems .. mostly cosmetic avoidance of compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22282 72102866-910b-0410-8b05-ffd578937521
2006-01-10 10:29:11 +00:00
CaS
1bf4c4c303 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22112 72102866-910b-0410-8b05-ffd578937521
2005-11-28 15:41:35 +00:00
CaS
15de84b232 Try reversion again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22017 72102866-910b-0410-8b05-ffd578937521
2005-11-15 13:07:09 +00:00
CaS
850facf3f5 Consistency improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22012 72102866-910b-0410-8b05-ffd578937521
2005-11-15 11:25:31 +00:00
CaS
5af2d9d0a2 Spelling fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21962 72102866-910b-0410-8b05-ffd578937521
2005-11-06 13:53:40 +00:00
CaS
620e39b898 Use __MINGW32__ rather than __MINGW__ because gcc does that too.
NB. It seems some recent patches put ___MINGW32__ in the public headers ...
that needs to be fixed as the headers should be system independent!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21795 72102866-910b-0410-8b05-ffd578937521
2005-10-11 19:09:26 +00:00
CaS
bec8a74a6e Fixes from Jeremy Bettis
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21535 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:00:52 +00:00
CaS
f843cb8155 Recommit gcc-4 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21431 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:48:37 +00:00
CaS
6d0751af3e Revert subtly broken change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21391 72102866-910b-0410-8b05-ffd578937521
2005-07-01 17:31:07 +00:00
CaS
9ac16024f5 Tweaks to avoid compiler warnings with gcc-4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
2005-07-01 12:29:50 +00:00
fedor
376e495dad * Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
CaS
0708409c1b Tidy up use of white space so we have it after if/for/while and not after (
or before ) or padding at end of line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
ayers
b803fe27a6 * Headers/Foundation/NSMethodSignature.h:
(NSArgumentInfo): Document limitations of NSArgumentInfo's
        offset and registier information.  Match size for NO_GNUSTEP.
        (NSMethodSignature): Match ivar name with runtime information.

        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m
        * Source/NSInvocation.m
        (gs_method_for_receiver_and_selector)
        ([-invokeWithTarget:]): Use GSGetMethod instead of deprecated
        GSGetInstanceMethod and GSGetClassMethod.
        * Source/NSConnection.m ([-_service_typeForSelector]): Ditto.
        * Source/NSDistantObject.m ([+respondsToSelector]): Ditto.
        * Source/NSObject.m ([+instanceMethodSignatureForSelector:])
        ([-methodSignatureForSelector:])
        ([+descriptionForInstanceMethod], [-descriptionForMethod]): Ditto.
        * Source/NSProtocolChecker.m ([-methodSignatureForSelector]): Ditto.
        * Source/NSProxy.m ([+methodSignatureForSelector])
        ([-methodSignatureForSelector]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19896 72102866-910b-0410-8b05-ffd578937521
2004-08-20 17:53:16 +00:00
CaS
a3499f8b23 Minor optimisation of hahs and improved output for old style plists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19863 72102866-910b-0410-8b05-ffd578937521
2004-08-11 05:24:55 +00:00
arobert
dbdfcfab37 added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
alexm
02964e7f8c Rename 'GNU' categories to 'GNUstep'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19131 72102866-910b-0410-8b05-ffd578937521
2004-04-16 23:21:26 +00:00
CaS
6c250f6d53 fix for ignoring of sigpipe.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18244 72102866-910b-0410-8b05-ffd578937521
2003-12-01 06:55:40 +00:00
CaS
d113f2549c New SIGPIPE behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17903 72102866-910b-0410-8b05-ffd578937521
2003-10-16 18:31:38 +00:00
nico
bd9830583d Do not #include signal.h when compiling NSObject.m ... it seems unused
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17901 72102866-910b-0410-8b05-ffd578937521
2003-10-16 14:56:35 +00:00
CaS
2d2d676969 Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17649 72102866-910b-0410-8b05-ffd578937521
2003-09-10 08:34:24 +00:00
ayers
38143e6e56 Various GSObjCRuntime usage cleanups.
See ChangeLog for details.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17533 72102866-910b-0410-8b05-ffd578937521
2003-08-24 23:07:41 +00:00
CaS
cfb39df8a1 Avoid trivial warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17510 72102866-910b-0410-8b05-ffd578937521
2003-08-22 10:31:16 +00:00
CaS
c12fefef3e Hacks to work around compiler/runtime bugs with protocols.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17482 72102866-910b-0410-8b05-ffd578937521
2003-08-15 13:20:50 +00:00
ayers
73dc4cb9f6 Header reorganizsateion - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:49:32 +00:00
CaS
60595000ea zombie fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17317 72102866-910b-0410-8b05-ffd578937521
2003-07-23 21:42:03 +00:00
CaS
a0be9f233d Tiny tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17116 72102866-910b-0410-8b05-ffd578937521
2003-07-04 20:01:17 +00:00
CaS
2f6c120a86 Quick runtime fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17099 72102866-910b-0410-8b05-ffd578937521
2003-07-04 11:18:51 +00:00
CaS
df90a32ded Fix for fetching type information from remote system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17095 72102866-910b-0410-8b05-ffd578937521
2003-07-04 09:33:53 +00:00
ayers
00981688aa * Source/GSFFCallInvocation.m
(gs_method_for_receiver_and_selector): Replace usage of
        class_get_instance/class_method with GSGetInstance/ClassMethod and
        Method_t with GSMethod.
        (gs_find_by_receiver_best_typed_sel): Ditto.
        (GSInvocationCallback): Ditto.
        ([GSFFCallInvocation -invokeWithTarget:]): Ditto.
        * Source/GSFFIInvocation.m
        (gs_method_for_receiver_and_selector): Ditto.
        (gs_find_by_receiver_best_typed_sel): Ditto.
        (GSFFIInvocationCallback): Ditto.
        ([GSFFIInvocation -invokeWithTarget:]): Ditto.
        * Source/NSConnection.m
        ([NSConnection -_service_typeForSelector:]): Ditto.
        * Source/NSInvocation.m
        ([NSInvocation -invokeWithTarget:]): Ditto.
        * Source/NSObject.m
        ([NSObject +instanceMethodSignatureForSelector:]): Ditto.
        ([NDObject -methodSignatureForSelector:]): Ditto.
        ([NSObject +descriptionForInstanceMethod:]): Ditto.
        ([NSOnject -descriptionForMethod:]: Ditto.
        * Source/NSProxy.m
        ([NSProxy +methodSignatureForSelector:]): Ditto.
        ([NSProxy -methodSignatureForSelector:]): Ditto.
        * Source/NSDistantObject.m
        ([NSObject -selectorTypeForProxy:]): Ditto.
        ([NSDistantObject +respondsToSelector:]): Ditto. Corrected
        implementation to check class methods instead of instance methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17016 72102866-910b-0410-8b05-ffd578937521
2003-06-25 10:26:29 +00:00
CaS
df9982acf3 Little tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16974 72102866-910b-0410-8b05-ffd578937521
2003-06-20 18:53:34 +00:00
fedor
0e59d4552d Change syntax of includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
fedor
225e2431c5 Remove GSAtExit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16761 72102866-910b-0410-8b05-ffd578937521
2003-05-21 19:14:00 +00:00
fedor
9a0532fde6 Version 1.7.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16751 72102866-910b-0410-8b05-ffd578937521
2003-05-20 03:32:20 +00:00
CaS
57c0ece231 MInor tidyup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16105 72102866-910b-0410-8b05-ffd578937521
2003-03-02 07:47:18 +00:00
CaS
bd9e478b7b Patch to permit null selectors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15995 72102866-910b-0410-8b05-ffd578937521
2003-02-18 11:43:57 +00:00
fedor
938106220c Move methods to Additions for use with gdl2 on MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15723 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:38:42 +00:00
CaS
d64578fc3e Tidied for gcc-3.4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15476 72102866-910b-0410-8b05-ffd578937521
2003-01-03 20:14:47 +00:00
fedor
b996c9bca5 Update def of GSSetLocale
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15249 72102866-910b-0410-8b05-ffd578937521
2002-12-05 04:24:43 +00:00
CaS
b8b64cb3e5 Property list updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14966 72102866-910b-0410-8b05-ffd578937521
2002-11-10 09:29:45 +00:00
CaS
b94ff9571e Tidyups ... non functional.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14961 72102866-910b-0410-8b05-ffd578937521
2002-11-09 16:40:00 +00:00
fedor
faf79d5743 Documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14851 72102866-910b-0410-8b05-ffd578937521
2002-10-27 01:38:30 +00:00
CaS
7e200afc11 Added method for returning immutable objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14776 72102866-910b-0410-8b05-ffd578937521
2002-10-14 08:52:39 +00:00
nico
16a2ec7128 Fixed typo in NSObject private method declaration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14434 72102866-910b-0410-8b05-ffd578937521
2002-09-12 09:09:54 +00:00
CaS
8be710069a Add thread priority and checking for selectors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14356 72102866-910b-0410-8b05-ffd578937521
2002-08-27 17:02:05 +00:00
CaS
c45f681d6d NSObject and NSRunLoop updates for MacOS-X compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14349 72102866-910b-0410-8b05-ffd578937521
2002-08-27 14:24:54 +00:00
CaS
1a42519b89 Improve documentation and remove unused code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14311 72102866-910b-0410-8b05-ffd578937521
2002-08-21 07:31:31 +00:00
alexm
f18bc3c84a Fix silly typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14303 72102866-910b-0410-8b05-ffd578937521
2002-08-20 15:32:13 +00:00
CaS
1ede313efa Fix typos etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14301 72102866-910b-0410-8b05-ffd578937521
2002-08-20 15:07:58 +00:00
CaS
b0d816ceaa Documentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14298 72102866-910b-0410-8b05-ffd578937521
2002-08-20 10:22:05 +00:00
CaS
e96009290b Some NSProxy fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14295 72102866-910b-0410-8b05-ffd578937521
2002-08-19 10:26:07 +00:00
CaS
18c22223ec Fix a variety of dumb bugs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14268 72102866-910b-0410-8b05-ffd578937521
2002-08-14 07:36:25 +00:00
CaS
22e7ca22dc Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14243 72102866-910b-0410-8b05-ffd578937521
2002-08-07 15:30:03 +00:00
CaS
f2b88ab690 Fix nul pointer error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13996 72102866-910b-0410-8b05-ffd578937521
2002-06-29 16:01:33 +00:00
CaS
e44f133476 Added some compatibility methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13883 72102866-910b-0410-8b05-ffd578937521
2002-06-14 08:59:28 +00:00
CaS
2b842968d6 Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13843 72102866-910b-0410-8b05-ffd578937521
2002-06-12 04:29:59 +00:00
CaS
70471a39f7 Implement -className
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13806 72102866-910b-0410-8b05-ffd578937521
2002-06-09 04:57:04 +00:00
CaS
704cd6227d NSURL fixes/rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13776 72102866-910b-0410-8b05-ffd578937521
2002-06-05 12:39:28 +00:00
CaS
e19665b7f0 Improve documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13757 72102866-910b-0410-8b05-ffd578937521
2002-06-02 09:05:11 +00:00
CaS
87a1583a59 Lots of documentation added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13748 72102866-910b-0410-8b05-ffd578937521
2002-06-01 08:55:19 +00:00
CaS
f90845f2b6 Fix for MacOS-X compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13747 72102866-910b-0410-8b05-ffd578937521
2002-06-01 05:08:10 +00:00
CaS
8473dcefa0 Minor portability fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13729 72102866-910b-0410-8b05-ffd578937521
2002-05-28 19:52:27 +00:00
CaS
e7b980cdda iPerformance and GC improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13726 72102866-910b-0410-8b05-ffd578937521
2002-05-28 05:23:36 +00:00
CaS
756b517706 heck that NSAllocateObject() is given a class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13585 72102866-910b-0410-8b05-ffd578937521
2002-05-03 10:10:38 +00:00
CaS
6fbf6d25ab Minor fix for zombies and new tool added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13363 72102866-910b-0410-8b05-ffd578937521
2002-04-05 16:26:47 +00:00
CaS
cd71e84dee Implemented NSZombie stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13247 72102866-910b-0410-8b05-ffd578937521
2002-03-27 09:55:57 +00:00
CaS
99957c9af6 Tidy key value coding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12742 72102866-910b-0410-8b05-ffd578937521
2002-02-25 07:05:58 +00:00
CaS
5b333c547b Key value fixes done ... needs testing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12740 72102866-910b-0410-8b05-ffd578937521
2002-02-25 06:14:31 +00:00
CaS
f40d164193 Various fixes towards standardising runtime API and to cope with
unarchiving better where a class referred to in the archive does
not exist in the executing program.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12625 72102866-910b-0410-8b05-ffd578937521
2002-02-21 13:31:13 +00:00
CaS
46a6237057 Performance tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12526 72102866-910b-0410-8b05-ffd578937521
2002-02-13 18:49:32 +00:00
CaS
ba15591db2 Fix maptable errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12381 72102866-910b-0410-8b05-ffd578937521
2002-02-02 07:10:51 +00:00
CaS
8807074b83 Rever to local refcounts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12375 72102866-910b-0410-8b05-ffd578937521
2002-02-01 22:22:26 +00:00
CaS
1585a094a9 Use new GSI api
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12359 72102866-910b-0410-8b05-ffd578937521
2002-02-01 10:41:00 +00:00
CaS
3e354cabb1 hashtable bugfix
GSI code version optional.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12358 72102866-910b-0410-8b05-ffd578937521
2002-02-01 10:19:56 +00:00
nico
cc9f20c222 Improved exception messages for methods non implemented etc - print out
if we are an instance or a class object


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12332 72102866-910b-0410-8b05-ffd578937521
2002-01-31 15:41:47 +00:00
CaS
c6b18d0898 put extra info in array, and allow retain/release macros to refer to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12324 72102866-910b-0410-8b05-ffd578937521
2002-01-31 07:20:16 +00:00
CaS
83b3e54646 Rewrite maptable code and clean up / simplify source.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12273 72102866-910b-0410-8b05-ffd578937521
2002-01-30 13:05:35 +00:00
fedor
82e1253dab Add void return
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12026 72102866-910b-0410-8b05-ffd578937521
2002-01-07 15:34:20 +00:00
CaS
18503e9b22 Tidied methods into correct categories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12004 72102866-910b-0410-8b05-ffd578937521
2002-01-06 11:26:49 +00:00
fedor
89f0569cbd Darwin constant string class fixes and compiling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11974 72102866-910b-0410-8b05-ffd578937521
2002-01-03 20:39:12 +00:00
fedor
9619360e8c Darwin fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11904 72102866-910b-0410-8b05-ffd578937521
2001-12-28 03:40:03 +00:00
nico
22a1a902af Fixed conformsToProtocol: which was failing for protocols implemented
in categories


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11819 72102866-910b-0410-8b05-ffd578937521
2001-12-18 20:04:50 +00:00
CaS
d4b9683acf Added date version and title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11814 72102866-910b-0410-8b05-ffd578937521
2001-12-18 16:54:15 +00:00
CaS
f0fae9cad7 Many minor autogsdoc improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11777 72102866-910b-0410-8b05-ffd578937521
2001-12-16 13:36:06 +00:00
fedor
9e0dd41e9d More defs for Darwin.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10791 72102866-910b-0410-8b05-ffd578937521
2001-08-28 18:45:17 +00:00
fedor
6698b28f49 Comment out decl on Darwin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10649 72102866-910b-0410-8b05-ffd578937521
2001-08-03 20:43:40 +00:00
CaS
ac06ffd150 Support for GCC 3.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10085 72102866-910b-0410-8b05-ffd578937521
2001-06-06 15:18:28 +00:00
CaS
9609221f1b General improvements in responsetoSelector and methodSig code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9923 72102866-910b-0410-8b05-ffd578937521
2001-05-12 06:25:46 +00:00
nico
52480af184 Fixed valueForKey: which was calling the wrong method to manage an
unbound key


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9856 72102866-910b-0410-8b05-ffd578937521
2001-05-06 15:47:01 +00:00
CaS
60ab41cfda portability fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9763 72102866-910b-0410-8b05-ffd578937521
2001-05-03 15:32:31 +00:00
mirko
991f3cfbd4 * Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
code bug introduced by the call of GSSetLocaleC().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9761 72102866-910b-0410-8b05-ffd578937521
2001-05-02 20:49:48 +00:00
CaS
3b093cfe4f Key-value update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9682 72102866-910b-0410-8b05-ffd578937521
2001-04-24 12:28:07 +00:00
CaS
0579e4668f Initialise locale early
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9665 72102866-910b-0410-8b05-ffd578937521
2001-04-23 08:55:58 +00:00
nico
c1bafe11b6 Implemented tracking and reporting all allocated instances of a certain
class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9627 72102866-910b-0410-8b05-ffd578937521
2001-04-19 16:10:23 +00:00
fedor
9628d301e9 Merged 1.0 branch into main.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9548 72102866-910b-0410-8b05-ffd578937521
2001-04-10 03:27:01 +00:00
CaS
097642b0d7 Improve reliability of methodSignatureForSelector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9310 72102866-910b-0410-8b05-ffd578937521
2001-03-07 21:21:10 +00:00
mirko
978d1a617b * Source/NSObjCRuntime.m (GSInstanceVariableInfo): fixes.
* Source/NSObject.m ([NSObject -handleQueryWithUnboundKey:]): raise an
exception.
([NSObject -handleTakeValue:forUnboundKey:]): changed exception.
([NSObject -unableToSetNilForKey:]): likewise.
([NSObject -storedValueForKey:]),
([NSObject -valueForKey:]): check for null selector before calling
respondsToSelector:
([NSObject -takeStoredValue:forKey:]),
([NSObject -takeValue:forKey:]): likewise. Call GSSetValue with correct
values.
(GSSetValue): fixed ivar implementation.
(GSGetValue): likewise.
([NSObject -methodSignatureForSelector:]): FreeBSD fix.
* Source/NSEnumerator.m|.h ([NSEnumerator -allObjects]): implemented.
* Source/Unicode.m (GetDefEncoding): do not emit the warning for
NSISOLatin1StringEncoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8467 72102866-910b-0410-8b05-ffd578937521
2001-01-03 11:22:59 +00:00
richard
ae574b39a5 key-value coding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8246 72102866-910b-0410-8b05-ffd578937521
2000-12-02 21:36:56 +00:00
richard
6b984115e0 Various minor modifications.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8245 72102866-910b-0410-8b05-ffd578937521
2000-12-02 11:47:30 +00:00