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
0012ff61d2
* Testing/nsmethodsignature.m: Add more testing utilities.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19883 72102866-910b-0410-8b05-ffd578937521
2004-08-18 13:18:13 +00:00
David Ayers
b6706ad3bc
* Testing/GNUmakefile: Reactivate nsinvocation test.
...
* Testing/nsmethodsignature.m
(large/smallStruct_id:uchar:ushort:uint...): Correct name.
(void_float:double:): New test.
(void_double:float:): New test.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19877 72102866-910b-0410-8b05-ffd578937521
2004-08-17 20:57:39 +00:00
David Ayers
95ce8fe2b2
* Testing/nsmethodsignature.m: New test.
...
* Testing/GNUmakefile: Add new test.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19825 72102866-910b-0410-8b05-ffd578937521
2004-08-04 15:06:43 +00:00
Richard Frith-Macdonald
97b8ebd06a
Fix bug removing from index set.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19615 72102866-910b-0410-8b05-ffd578937521
2004-06-25 06:53:15 +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
Richard Frith-Macdonald
a23a6bcf33
Fix for malloc of non-freeable zones
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19449 72102866-910b-0410-8b05-ffd578937521
2004-06-03 14:46:41 +00:00
Richard Frith-Macdonald
720b25f4a3
Added test for unarchiving with switched class names.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19441 72102866-910b-0410-8b05-ffd578937521
2004-06-02 05:29:13 +00:00
Richard Frith-Macdonald
c6df2e3852
Restructuring and various optimisations to drastically improve appendFormat:
...
performance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19307 72102866-910b-0410-8b05-ffd578937521
2004-05-14 10:52:30 +00:00
Adam Fedor
4ee4567b24
Check time zone abbreviations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19203 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:59:03 +00:00
Richard Frith-Macdonald
894578ed1b
Completed rewrite with some testing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19181 72102866-910b-0410-8b05-ffd578937521
2004-04-25 07:40:19 +00:00
Richard Frith-Macdonald
86c0a0edf0
Attempt to make conformsToProtocol work for DO
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19155 72102866-910b-0410-8b05-ffd578937521
2004-04-19 19:29:15 +00:00
Richard Frith-Macdonald
b7c99a7d28
User language tidyups and performance enhancements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19079 72102866-910b-0410-8b05-ffd578937521
2004-04-12 04:55:43 +00:00
Richard Frith-Macdonald
3c513f8a67
NSIndexSet updates finally comitted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18853 72102866-910b-0410-8b05-ffd578937521
2004-03-18 06:56:12 +00:00
David Ayers
fe44315405
* Source/GSPrivate.h (GS_REPLACE_CONSTANT_STRING): New macro.
...
* Source/externs.m: Initialize constant strings statically.
(GSBuildStrings): Replace static strings with dynamic
versions.
* Testing/benchmark.m: Added tests for NSString -hash and
-copy. Aligned ouput.
* Testing/externs.m: New test.
* Testing/GNUmakefile: Added externs.m test. Activated
ADDITIONAL_TOOLS tests excluding gstcpport tests.
* Source/Additions/GSCategories.m: Adjust declared lock type.
Added comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18058 72102866-910b-0410-8b05-ffd578937521
2003-11-06 21:11:39 +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
Richard Frith-Macdonald
393e822402
Updates for improved reference count management over DO.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17983 72102866-910b-0410-8b05-ffd578937521
2003-10-27 13:41:01 +00:00
Richard Frith-Macdonald
bbb3b1786b
New testcase
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17948 72102866-910b-0410-8b05-ffd578937521
2003-10-21 14:28:34 +00:00
Nicola Pero
6ac9fdc5a3
Removed old obsolete code. Make sure we never install the LoadMe bundle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17880 72102866-910b-0410-8b05-ffd578937521
2003-10-15 10:45:07 +00:00
Nicola Pero
f2929b2017
Removed old obsolete code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17879 72102866-910b-0410-8b05-ffd578937521
2003-10-15 10:44:38 +00:00
Adam Fedor
7e1ee0cfa4
dd special check for sys/mount.h for NetBSD
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17811 72102866-910b-0410-8b05-ffd578937521
2003-10-10 03:48:18 +00:00
Adam Fedor
86080ad1f2
Various compile fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17709 72102866-910b-0410-8b05-ffd578937521
2003-09-24 01:39:55 +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
Adam Fedor
859a97b7ca
Include last encoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17471 72102866-910b-0410-8b05-ffd578937521
2003-08-13 03:29:13 +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
Richard Frith-Macdonald
cfe8d9e881
Tidyups etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17380 72102866-910b-0410-8b05-ffd578937521
2003-07-28 10:53:18 +00:00
Richard Frith-Macdonald
54b5983408
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17372 72102866-910b-0410-8b05-ffd578937521
2003-07-27 08:59:08 +00:00
Richard Frith-Macdonald
48f9df8091
lockBeforeDate improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17263 72102866-910b-0410-8b05-ffd578937521
2003-07-20 06:37:25 +00:00
David Ayers
76568f1f5c
* Testing/nstimer.m ([TestDouble -sayCount]): Quit test after
...
20 invocations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17169 72102866-910b-0410-8b05-ffd578937521
2003-07-07 11:20:03 +00:00
Richard Frith-Macdonald
2a99982e1a
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
Adam Fedor
6af892791a
In NSTimeZones
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17012 72102866-910b-0410-8b05-ffd578937521
2003-06-24 03:47:19 +00:00
Adam Fedor
2fbdef5e25
Test fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17011 72102866-910b-0410-8b05-ffd578937521
2003-06-24 03:46:13 +00:00
Adam Fedor
a2f5796468
Fix warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16837 72102866-910b-0410-8b05-ffd578937521
2003-05-30 02:54:49 +00:00
Adam Fedor
8217aaae40
* configure.ac: Pass on original CPPFLAGS to config.mak.
...
* config/objc-con-autoload.m4: Test for constructors directly.
* config/objc-sys-dynamic.m4: Check for dl lib if we are using dladdr.
* Source/objc-load.m (objc_get_uninstalled_dtable): Remove unused.
* Source/Additions/GSXML.m (unparsedEntityDeclFunction): Add block
around START so it will compile on GCC 2.
* Testing/nsbundle.m: Errors to stdout.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16836 72102866-910b-0410-8b05-ffd578937521
2003-05-30 02:50:28 +00:00
Adam Fedor
49667f3514
Test info
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16803 72102866-910b-0410-8b05-ffd578937521
2003-05-27 02:27:04 +00:00
Adam Fedor
9ca631d7e0
Filesystem change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16565 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:29:49 +00:00
Richard Frith-Macdonald
0b6406fcc3
Implement linking
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16479 72102866-910b-0410-8b05-ffd578937521
2003-04-17 11:23:29 +00:00
Richard Frith-Macdonald
393a8d266d
Added more thorough structure handling tests and removed some old ones.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16418 72102866-910b-0410-8b05-ffd578937521
2003-04-10 16:28:07 +00:00
Richard Frith-Macdonald
d1e9050ec3
Tidyups and fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16384 72102866-910b-0410-8b05-ffd578937521
2003-04-07 08:26:40 +00:00
Richard Frith-Macdonald
53fb05e44e
NSConnection bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16358 72102866-910b-0410-8b05-ffd578937521
2003-04-04 14:15:30 +00:00
Richard Frith-Macdonald
9f7fa664d7
Added some invocation support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16349 72102866-910b-0410-8b05-ffd578937521
2003-04-04 10:03:08 +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
2a0f02df73
Add a category for week of year.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15570 72102866-910b-0410-8b05-ffd578937521
2003-01-09 16:03:50 +00:00
Richard Frith-Macdonald
5bbbb1b94c
New stuff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15286 72102866-910b-0410-8b05-ffd578937521
2002-12-12 15:14:13 +00:00
Richard Frith-Macdonald
3eb602cc99
Bufix sorting array.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15273 72102866-910b-0410-8b05-ffd578937521
2002-12-10 05:44:56 +00:00
Richard Frith-Macdonald
e4005a929c
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15020 72102866-910b-0410-8b05-ffd578937521
2002-11-19 15:50:31 +00:00
Richard Frith-Macdonald
f0705e979e
Added more property list support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14967 72102866-910b-0410-8b05-ffd578937521
2002-11-10 10:20:05 +00:00
Richard Frith-Macdonald
aa8d9f3fb8
simplifications and bugfixes of perform code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14909 72102866-910b-0410-8b05-ffd578937521
2002-11-03 15:52:54 +00:00
Richard Frith-Macdonald
08574129cb
fix for old compilers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14785 72102866-910b-0410-8b05-ffd578937521
2002-10-15 04:55:51 +00:00