Richard Frith-MacDonald
16e2cea32d
GSSelectorFromName() should return 0 if not found
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29761 72102866-910b-0410-8b05-ffd578937521
2010-02-26 04:06:34 +00:00
Richard Frith-MacDonald
b1e904b3ae
move GNUstep.h into common.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29727 72102866-910b-0410-8b05-ffd578937521
2010-02-25 05:26:57 +00:00
Richard Frith-MacDonald
8da37b5bf9
move a few functions from header to source file
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29725 72102866-910b-0410-8b05-ffd578937521
2010-02-25 05:07:34 +00:00
Richard Frith-MacDonald
4497ba7bdd
Build with non-fragile ivars.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29715 72102866-910b-0410-8b05-ffd578937521
2010-02-24 10:23:47 +00:00
Richard Frith-MacDonald
8769dd8b6f
deprecates some gnustep runtime wrappers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29697 72102866-910b-0410-8b05-ffd578937521
2010-02-22 10:13:20 +00:00
Richard Frith-MacDonald
7cc69dfaae
Simplify header inclusion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
2010-02-19 08:12:46 +00:00
Richard Frith-MacDonald
14a557fcd7
avoid obsolete include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29667 72102866-910b-0410-8b05-ffd578937521
2010-02-18 16:27:32 +00:00
Richard Frith-MacDonald
21d597e740
merge back reorganisation branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29615 72102866-910b-0410-8b05-ffd578937521
2010-02-14 10:48:10 +00:00
Richard Frith-MacDonald
b662140e16
Apply patch to switch completely to using pthreads
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29367 72102866-910b-0410-8b05-ffd578937521
2010-01-23 17:00:13 +00:00
Richard Frith-MacDonald
20d59a0d7a
fix missing macro
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28817 72102866-910b-0410-8b05-ffd578937521
2009-10-12 19:04:21 +00:00
Richard Frith-MacDonald
d0bd5c8983
Fix files missed from last ocmmit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28780 72102866-910b-0410-8b05-ffd578937521
2009-10-07 14:54:37 +00:00
Richard Frith-MacDonald
e7ce602ad2
Apply patch by Eric Wasylishen for OSX compatibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28471 72102866-910b-0410-8b05-ffd578937521
2009-08-19 07:04:21 +00:00
Richard Frith-MacDonald
2f24254d4f
Fix for bug #25520
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27822 72102866-910b-0410-8b05-ffd578937521
2009-02-09 07:43:17 +00:00
Richard Frith-MacDonald
6bccff5fc7
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
Richard Frith-MacDonald
b313d1b576
Obscure thread-safety fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27209 72102866-910b-0410-8b05-ffd578937521
2008-12-04 18:04:00 +00:00
Richard Frith-MacDonald
b2b14398d2
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
Richard Frith-MacDonald
bac923f25d
Attempt fix for #22277
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26114 72102866-910b-0410-8b05-ffd578937521
2008-02-20 15:14:48 +00:00
Richard Frith-MacDonald
e980ba412c
Fixes for some minro thread-safety issues.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25759 72102866-910b-0410-8b05-ffd578937521
2007-12-19 14:39:44 +00:00
Richard Frith-MacDonald
d6cfc0e91c
Improve MacOS-X compatibility of headers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25638 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:53:26 +00:00
Richard Frith-MacDonald
62559023b9
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
Richard Frith-MacDonald
88059a4e6a
Version/availability corrections.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23804 72102866-910b-0410-8b05-ffd578937521
2006-10-09 18:32:11 +00:00
Richard Frith-MacDonald
48522ab8cd
Update/improve version/deprecation reporting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23797 72102866-910b-0410-8b05-ffd578937521
2006-10-09 15:13:44 +00:00
Richard Frith-MacDonald
a20550f7af
fix bug 17069
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23210 72102866-910b-0410-8b05-ffd578937521
2006-08-06 05:27:44 +00:00
Richard Frith-MacDonald
5eccbb6e66
Minor improvement for ease of debugging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22730 72102866-910b-0410-8b05-ffd578937521
2006-03-31 07:41:34 +00:00
Richard Frith-MacDonald
854cd456b0
Various bugfixes, portability fixes, and optimisations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22576 72102866-910b-0410-8b05-ffd578937521
2006-02-27 09:35:19 +00:00
Richard Frith-Macdonald
c9c6734169
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
Richard Frith-Macdonald
8333380ff0
mingw32 unicode fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21955 72102866-910b-0410-8b05-ffd578937521
2005-11-05 16:20:19 +00:00
Richard Frith-Macdonald
bfb6ebd9bc
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
Richard Frith-Macdonald
7c4a87c2c0
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
Richard Frith-Macdonald
9e292d78c1
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
Richard Frith-Macdonald
71e5005964
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
Adam Fedor
fcc13ccd0f
* 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
Richard Frith-Macdonald
826de16ee7
KVC updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20828 72102866-910b-0410-8b05-ffd578937521
2005-03-02 11:46:21 +00:00
Richard Frith-Macdonald
db7b22a4fb
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
Matt Rice
06a018b3db
2004-10-29 Matt Rice <ratmice@yahoo.com>
...
* Source/Additions/GSObjCRuntime.m (GSObjCAllSubclassesOfClass,
GSObjCDirectSubclassesOfClass): skip meta classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20268 72102866-910b-0410-8b05-ffd578937521
2004-10-29 19:31:06 +00:00
Matt Rice
95954a9914
2004-10-17 Matt Rice <ratmice@yahoo.com
...
* Source/objc-load.m (objc_load_module): resolve class links under GNU
runtime
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
(GSObjCAllSubclassesOfClass,GSObjCDirectSubclassesOfClass):
New functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20234 72102866-910b-0410-8b05-ffd578937521
2004-10-17 23:22:41 +00:00
David Ayers
de0c0eb2bb
Fix comments wrt runtime qualifier.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20075 72102866-910b-0410-8b05-ffd578937521
2004-09-16 16:13:16 +00:00
David Ayers
e8c51e43f5
* Source/Additions/GSObjCRuntime.m
...
(GSAppendMethodToList): Copy type information for the NeXT runtime.
(GSRemoveMethodFromList): Add comment about potential minor leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20074 72102866-910b-0410-8b05-ffd578937521
2004-09-16 15:43:40 +00:00
David Ayers
af75d36e34
* Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
...
Ignore structure names.
* Testing/nsmethodsignature.m: Added test for nested
structures. Reactivated test for signatures from older gcc
versions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19891 72102866-910b-0410-8b05-ffd578937521
2004-08-20 12:58:04 +00:00
David Ayers
977af9c25e
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
* Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
New Function.
(gs_skip_type_qualifier_and_layout_info): Ditto.
* Source/callframe.m (callframe_do_call): Use
GSSelectorTypesMatch instead of sel_types_match.
* Source/cifframe.m (cifframe_do_call): Ditto.
* Source/mframe.m (mframe_do_call): Ditto.
* Source/GSFFCallInvocation.m (GSInvocationCallback): Use
NSDebugFLog to NSWarnFLog.
* Source/GSFFIInvocation.m (GSFFIInvocationCallback): Ditto.
* Testing/nsmethodsignature.m: Use GSSelectorTypesMatch
instead of sel_types_match. Test it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19886 72102866-910b-0410-8b05-ffd578937521
2004-08-19 16:19:48 +00:00
David Ayers
d6c274320f
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
* Source/Additions/GSObjCRuntime.m: Make ObjC++ safe.
(GSObjCSuper, GSObjCIsKindOf, GSNameFromClass)
(GSTypesFromSelector, GSGetMethod, GSFlushMethodCacheForClass)
(GSCGetInstanceVariableDefinition)
(GSObjCGetInstanceVariableDefinition)
(GSMethodListForSelector, GSAddMethodList, GSRemoveMethodList)
(GSObjCVersion, GSObjCName, GSObjCSelectorName)
(GSObjCSelectorTypes, GSGetInstanceMethod, GSGetClassMethod)
(GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited)
(search_for_method_in_class, GSObjCAddMethods): Replace class
and this with cls or sel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19790 72102866-910b-0410-8b05-ffd578937521
2004-07-29 12:55:05 +00:00
David Ayers
9bcaae0c5c
* Source/Additions/GSObjCRuntime.m
...
(gs_revert_selector_names_in_list): New function.
(GSRemoveMethodList): Also revert selectors for first list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19759 72102866-910b-0410-8b05-ffd578937521
2004-07-21 18:58:21 +00:00
David Ayers
d966e21e26
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
* Source/Additions/GSObjCRuntime.m
(GSGetInstanceMethod, GSGetClassMethod)
(GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited):
Deprecate.
(GSGetMethod): New function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19486 72102866-910b-0410-8b05-ffd578937521
2004-06-08 16:52:34 +00:00
David Ayers
7f6f586bbd
(BDBGPrintf): Add space before last comma in macro older
...
compilers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19474 72102866-910b-0410-8b05-ffd578937521
2004-06-06 20:28:57 +00:00
David Ayers
28d280e337
(GSObjCAddClassBehavior): Add call to
...
GSFlushMethodCacheForClass after adding behavior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19472 72102866-910b-0410-8b05-ffd578937521
2004-06-06 13:49:02 +00:00
David Ayers
4bc5a26927
(GSGetClassMethodNotInherited): Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19470 72102866-910b-0410-8b05-ffd578937521
2004-06-06 12:14:00 +00:00
David Ayers
b54f0a878b
* Source/Additions/GSObjCRuntime.m
...
(GSObjCMethodNames): Unify implementation for both runtimes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19467 72102866-910b-0410-8b05-ffd578937521
2004-06-05 22:48:40 +00:00
David Ayers
4734fa0a7b
(GSObjCMethodNames, search_for_method_in_class, GSObjCAddMethods)
...
(search_for_method_in_class, GSObjCAddClassBehavior): Use
GSMethod and GSMethodList types instead of pointers to runtime
structures.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19466 72102866-910b-0410-8b05-ffd578937521
2004-06-05 21:11:00 +00:00
David Ayers
5ec2ddbd0f
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
* Source/Additions/GSObjCRuntime.m
(GSMethodList): Define new type.
(GSAllocMethodList, GSAppendMethodToList,
* GSRemoveMethodFromList)
(GSMethodListForSelector, GSMethodFromList)
(GSAddMethodList, GSRemoveMethodList): New functions.
* Testing/GNUmakefile
* Testing/gsbehavior.m: New tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19464 72102866-910b-0410-8b05-ffd578937521
2004-06-05 13:54:26 +00:00
David Ayers
f554633dce
(OBJC_VERSION): Move define to where it is needed.
...
(Runtime documenation references): Update links.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19458 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:58:36 +00:00
David Ayers
bf51bd1b9b
* Source/Additions/GSObjCRuntime.m (BDBGPrintf) New macro.
...
(GSObjCAddClassBehavior, GSObjCAddMethods): Use new macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19457 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:42:13 +00:00
David Ayers
3423dcf309
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
* Source/Additions//GSObjCRuntime.m
(GSProtocolFromName): New function.
(GSRegisterProtocol): Ditto.
(gs_string_hash): New internal function.
(gs_find_protocol_named_in_protocol_list): Ditto.
(gs_find_protocol_named): Ditto.
(gs_init_protocol_lock): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19274 72102866-910b-0410-8b05-ffd578937521
2004-05-09 19:29:16 +00:00
David Ayers
7cdd68b29e
* Headers/Additions/GNUstepBase/GSObjCRuntime.h/m:
...
(GSClassList): New function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19264 72102866-910b-0410-8b05-ffd578937521
2004-05-07 16:26:50 +00:00
David Ayers
7c202de0d1
* Headers/Additions/GNUstepBase/GSObjCRuntime.h/m
...
(GSAllocateMutexAt): New function.
(_GSObjCRuntimeInitializer): Define local support class.
* Headers/Additions/GNUstepBase/objc-gnu2next.h: Fixed minor
whitespace issues.
(objc_mutex_t, objc_mutex_allocate, objc_mutex_deallocate)
(objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
Declare
for the NeXT runtime.
* Source/Additions/GSNextRuntime.m
(objc_mutex_allocate, objc_mutex_deallocate)
(objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
Implement for NeXT runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19249 72102866-910b-0410-8b05-ffd578937521
2004-05-06 15:25:01 +00:00
Adam Fedor
4abb9b17fa
Include fixes for darwin
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18413 72102866-910b-0410-8b05-ffd578937521
2004-01-15 04:07:08 +00:00
Adam Fedor
3aed9afeb7
Add ifdefs to include only on MacOSX
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18395 72102866-910b-0410-8b05-ffd578937521
2004-01-12 19:44:48 +00:00
Adam Fedor
831216a9fe
Minor changes for baseadd compilation and compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18394 72102866-910b-0410-8b05-ffd578937521
2004-01-12 19:42:18 +00:00
David Ayers
c2b8811456
* Headers/Additions/GNUstepBase/GSLock.h: Added missing
...
forward declaration.
* Headers/Additions/GNUstepBase/GSCategories.h: Remove
declaraion of gnustep_global_lock.
(GS_INITIALIZED_LOCK): New macro.
(+[NSLock newLockAt:]): New method.
(+[NSRecursiveLock newLockAt:]): Ditto.
* Headers/Foundation/NSLock.h: Ditto.
* Source/Additions/GSCategories.m: Replace global lock with
local lock.
(_GSLockInitializer): New class to initialize local lock
safely.
(newLockAt): New static function shared by +newLockAt:
implementations to safely intialize lock variables.
(+[NSLock newLockAt:]): Implemented and documented.
(+[NSRecursiveLock newLockAt:]): Ditto.
* Source/Additions/GSCompatibility.m: Remove
gnustep_global_lock.
* Source/Additions/GSObjCRuntime.m: Remove superfluous
locking.
* Source/Additions/Unicode.m: Use new GS_INITIALIZED_LOCK
macro and replace global lock with local lock.
* Source/NSLock.m
(-[NSConditionLock lockWhenCondition:beforeDate:]):
Implemented.
* Testing/gslock.m: New test case.
* Testing/GNUmakefile: Add new test case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18010 72102866-910b-0410-8b05-ffd578937521
2003-10-30 13:44:55 +00:00
David Ayers
adf139cf68
* Headers/Additions/GNUstepBase/GSCategories.h: Move
...
declarations
from Source/Additions/GSCompatibility.h to here.
([NSObject -compare:]): Deprecate.
* Source/Additions/GSCompatibility.h: Move contents from here
to
Headers/Additions/GNUstepBase/GSCategories.h.
* Source/Additions/GSCategories.m:
([NSObject -compare:]): Deprecate.
* Headers/Foundation/NSObject.h
([NSObject -compare:]): Deprecate.
* Source/Additions/GCDictionary.m: Include
GNUstepBase/GSCategories.h rather than GSCompatibility.h.
* Source/Additions/GCObject.m: Ditto.
* Source/Additions/GSMime.m: Ditto.
* Source/Additions/GSObjCRuntime.m: Ditto.
* Source/Additions/GSXML.m: Ditto.
* Source/Additions/Unicode.m: Ditto.
* macosx/GNUstepBase/preface.h: Update include for new header
structure.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17664 72102866-910b-0410-8b05-ffd578937521
2003-09-13 22:42:50 +00:00
David Ayers
fda10c748a
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
David Ayers
ac30183cd6
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
Gregory John Casamento
e360fa5bf5
Corrected issue with GSObjCMethodNames function.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17374 72102866-910b-0410-8b05-ffd578937521
2003-07-27 14:57:47 +00:00
David Ayers
ab38554fd9
* Source/Additions/GSObjCRuntime.m
...
(GSCGetInstanceVariableDefinition): Make more robust.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17195 72102866-910b-0410-8b05-ffd578937521
2003-07-12 12:44:12 +00:00
David Ayers
e8cc1affaf
* Headers/gnustep/base/GSObjCRuntime.h:
...
* Source/Additions/GSObjCRuntime.m:
Added typedef for GSIVar.
(GSCGetInstanceVariableDefinition): New function.
(GSObjCGetInstanceVariableDefinition): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17168 72102866-910b-0410-8b05-ffd578937521
2003-07-07 10:31:59 +00:00
David Ayers
2b6fccdf85
include GSCompatibility.h in GSObjCRuntime.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17085 72102866-910b-0410-8b05-ffd578937521
2003-07-01 19:54:37 +00:00
David Ayers
f1fb026bb9
* Headers/gnustep/base/GSObjCRuntime.h/m (GSPrintf),
...
* Headers/gnustep/base/NSObjCRuntime.h (GSPrintf),
* Source/NSLog.m (GSPrintf): Moved implementation from NSLog.m
* to
GSObjCRuntime.m and declaration from NSObjCRuntime.h to
GSObjCRuntime.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17084 72102866-910b-0410-8b05-ffd578937521
2003-07-01 17:00:14 +00:00
David Ayers
15e69d06b5
* Headers/gnustep/base/objc-gnu2next.h: Remove simple mappings for
...
class_get_class_method they cannot work due to different
parameter expectations. Added mapping from NeXT->GNU runtime.
The other way does not work. Added simple mapping for internal
flush function __objc_update_dispatch_table_for_class and
_objc_flush_caches.
* Headers/gnustep/base/GSObjCRuntime.h/m:
Added typedef for GSMethod.
(GSGetInstanceMethod): New function.
(GSGetClassMethod): Ditto.
(GSGetInstanceMethodNotInherited): Ditto.
(GSGetClassMethodNotInherited): Ditto.
(GSFlushMethodCacheForClass): Ditto.
(flush_method_cache_for_class): Removed function which is replaced
by GSFlushMethodCacheForClass.
(GSObjCGetMethod): Removed function which is replaced by
GSGetInstanceMethod and GSGetClassMethod.
(GSObjCReplaceMethod): Removed function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16997 72102866-910b-0410-8b05-ffd578937521
2003-06-22 08:45:48 +00:00
David Ayers
68aaf34eb1
* Headers/gnustep/base/GSObjCRuntime.h
...
* Source/Additions/GSObjCRuntime.m : White space patch to better
conform with GNU coding standards and improve readability.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16878 72102866-910b-0410-8b05-ffd578937521
2003-06-07 09:45:51 +00:00
Adam Fedor
d228cba99b
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
Richard Frith-Macdonald
cb7d493886
New message handling features for libxml wrapper
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16773 72102866-910b-0410-8b05-ffd578937521
2003-05-22 17:00:03 +00:00
Adam Fedor
2f182f82b2
* Source/Additions/GCArray.m: Replace retain/release by
...
RETAIN/RELEASE macros.
* Source/Additions/GCDictionary.m: Idem.
* Source/Additions/GSCompatibility.h: Add NSBundle category.
* Source/Additions/GSCompatibility.m (GSEncodingName): New.
Add -[NSBundle pathForGNUstepResource:ofType:inDirectory:].
* Source/Additions/GSObjCRuntime.m: Include GNUstep.h.
(GSObjCMethodNames): Cast method_name to const char *.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16309 72102866-910b-0410-8b05-ffd578937521
2003-04-01 04:27:18 +00:00
David Ayers
ffcac98789
* Rename GSObjCReplaceImplementation to GSObjCReplaceMethod.
...
* Added GSObjCGetMethod.
* Added sanity checks in GSObjCRuntime.m
* Added includes to GSCategories.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16257 72102866-910b-0410-8b05-ffd578937521
2003-03-25 14:57:08 +00:00
David Ayers
4de07c1156
Fixed typo for NeXT runtime of last mod.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16254 72102866-910b-0410-8b05-ffd578937521
2003-03-25 10:03:19 +00:00
David Ayers
79462200b5
* Headers/gnustep/base/GSObjCRuntime.h
...
* Source/Additions/GSObjCRuntime.m (GSObjCReplaceImplementation):
Added new function.
* Source/Additions/GSObjCRuntime.m (search_for_method_in_class):
Renamed static function for NeXT runtime to better reflect
reality.
(GSObjCAddMethods): Updated usage.
(search_for_method_in_class): New static function for GNU runtime.
(flush_method_cache_for_class): New function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16252 72102866-910b-0410-8b05-ffd578937521
2003-03-25 09:49:39 +00:00
Richard Frith-Macdonald
5c49ef401a
Merged in 1.6.0 branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16228 72102866-910b-0410-8b05-ffd578937521
2003-03-23 07:06:27 +00:00
Richard Frith-Macdonald
58629e4f18
Trivial functions added.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16106 72102866-910b-0410-8b05-ffd578937521
2003-03-02 10:17:24 +00:00
Richard Frith-Macdonald
3a344ae100
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
Adam Fedor
9d78b79dce
Header fixups for MacOSX
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15864 72102866-910b-0410-8b05-ffd578937521
2003-02-03 04:15:27 +00:00
Adam Fedor
485132bf15
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
Adam Fedor
4667c84855
Port baseadd to MacOSX
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15199 72102866-910b-0410-8b05-ffd578937521
2002-12-03 02:50:07 +00:00
Richard Frith-Macdonald
f34d7a922a
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15183 72102866-910b-0410-8b05-ffd578937521
2002-11-29 14:31:23 +00:00
Richard Frith-Macdonald
3f2346e70d
Tidied function names
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15180 72102866-910b-0410-8b05-ffd578937521
2002-11-29 14:21:09 +00:00
Richard Frith-Macdonald
ce0b794ad5
Tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15165 72102866-910b-0410-8b05-ffd578937521
2002-11-28 09:35:36 +00:00
Manuel Guesdon
50324c7db1
2002-11-27 Manuel Guesdon <mguesdon@orange-concept.com>
...
* Source/Additions/GSObjCRuntime.m: fixed type call typo
in GSFindInstanceVariable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15155 72102866-910b-0410-8b05-ffd578937521
2002-11-27 20:17:19 +00:00
Richard Frith-Macdonald
7c09917f11
Further tidying of objc functions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15154 72102866-910b-0410-8b05-ffd578937521
2002-11-27 18:52:53 +00:00
Richard Frith-Macdonald
97ee138a2b
Tidy more GNUstep extensions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15137 72102866-910b-0410-8b05-ffd578937521
2002-11-27 12:52:29 +00:00