Commit graph

437 commits

Author SHA1 Message Date
Richard Frith-MacDonald
c927fca12a more reduction of externals symbols pollution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23846 72102866-910b-0410-8b05-ffd578937521
2006-10-11 05:26:14 +00:00
Richard Frith-MacDonald
eae859d1c7 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
Richard Frith-MacDonald
9d71af9cbf Update testsuite location
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23780 72102866-910b-0410-8b05-ffd578937521
2006-10-06 19:14:22 +00:00
Richard Frith-MacDonald
1f73d84b0d Cleanups and updates to be compatible with current MacOS-X
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23735 72102866-910b-0410-8b05-ffd578937521
2006-10-03 13:35:50 +00:00
Richard Frith-MacDonald
1f3cb80d08 Fixups for non-flattened filesystem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23055 72102866-910b-0410-8b05-ffd578937521
2006-06-14 09:12:30 +00:00
Richard Frith-MacDonald
f1449d61f5 Test wide character print
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22433 72102866-910b-0410-8b05-ffd578937521
2006-02-05 10:57:05 +00:00
Richard Frith-Macdonald
0814e1b8ad Minor tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22058 72102866-910b-0410-8b05-ffd578937521
2005-11-21 13:15:39 +00:00
Richard Frith-Macdonald
44d19385ed More mingw32 tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22000 72102866-910b-0410-8b05-ffd578937521
2005-11-14 09:25:31 +00:00
Richard Frith-Macdonald
c645bfbf5c Tweak a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21990 72102866-910b-0410-8b05-ffd578937521
2005-11-11 14:25:38 +00:00
Richard Frith-Macdonald
8aec641be4 More message port work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21986 72102866-910b-0410-8b05-ffd578937521
2005-11-11 10:07:03 +00:00
Richard Frith-Macdonald
478aa44107 Tidyups and a performance fix for networking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21932 72102866-910b-0410-8b05-ffd578937521
2005-10-31 20:50:25 +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
David Ayers
460d4a3e88 * Testing/benchmark.m: Add some NSMapTable tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21744 72102866-910b-0410-8b05-ffd578937521
2005-09-25 17:36:14 +00:00
Richard Frith-Macdonald
d7dcbb06b7 Improve performance of hash (for use as dictionary keys)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21691 72102866-910b-0410-8b05-ffd578937521
2005-08-31 09:34:33 +00:00
Richard Frith-Macdonald
905ff03796 Fix bug subtracting minutes from date.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21677 72102866-910b-0410-8b05-ffd578937521
2005-08-25 08:05:31 +00:00
Adam Fedor
2b9ed0e196 Further copyright/license updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21481 72102866-910b-0410-8b05-ffd578937521
2005-07-15 22:51:23 +00:00
Adam Fedor
fca5434f63 Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21435 72102866-910b-0410-8b05-ffd578937521
2005-07-08 19:44:39 +00:00
Adam Fedor
72e8dc3080 Add/fix copyright/licenses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21394 72102866-910b-0410-8b05-ffd578937521
2005-07-01 21:00:04 +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
a7f1ff64f9 Fix buggy behavior where if the uncaught exception handler was set to a
function which returned, the -raise method could return.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21389 72102866-910b-0410-8b05-ffd578937521
2005-07-01 08:53:32 +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
a339be4200 Path handling updates ... basically tolerate windows paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20935 72102866-910b-0410-8b05-ffd578937521
2005-03-21 12:29:02 +00:00
Richard Frith-Macdonald
e02b33b60b MacOS-X compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20913 72102866-910b-0410-8b05-ffd578937521
2005-03-15 16:40:07 +00:00
Richard Frith-Macdonald
c11eaba266 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20909 72102866-910b-0410-8b05-ffd578937521
2005-03-15 06:36:21 +00:00
Adam Fedor
26633b348b * Start on integrating Sheldon Gills NSPathUtilities patches.
* Headers/Foundation/NSPathUtilities.h: Depreciate
GSSystemRootDirectory, GSStandardPathPrefixes. Add
GSPreferencesDirectory to NSSearchPathDirectory enum. Enumerate
NSSearchPathDomainMask values.
* Headers/Additions/GNUStepBase/Win32Support.h,
Headers/Additions/GNUStepBase/Win32_Utilites.h: New files.
* Source/GNUmakefile: Add NSPathUtilities.m
* Source/NSUser.m: Move everything in here...
* Source/NSPathUtilities.m: to here.
* Source/win32/GNUmakefile: Add Win32Support.m, Win32_Utilities.m
* Source/win32Win32Support.m, Win32_Utilities.m: New files
* Testing/nspathutilites.m: New file.
(Files and patches from Sheldon Gill with minor modifications).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20837 72102866-910b-0410-8b05-ffd578937521
2005-03-03 16:04:22 +00:00
Richard Frith-Macdonald
2a9f4ec7c0 Apply modified patch to support windows native event handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20785 72102866-910b-0410-8b05-ffd578937521
2005-02-23 16:05:09 +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
Richard Frith-Macdonald
0de118ae76 Added trivbial test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20496 72102866-910b-0410-8b05-ffd578937521
2004-12-28 10:54:33 +00:00
Adam Fedor
4ea16407af * Source/NSTimeZone (NSInternalAbbrevDict): Remove class
(+abbreviationDictionary): Implement from new one-to-one plist.
* NStimeZones/NSTimeZone.tar: Added abbreviations.plist. Regenerated.
* Testing/nstimezone.m: New tests.

* Source/Additions/GNUmakefile: Remove duplicate Unicode.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20476 72102866-910b-0410-8b05-ffd578937521
2004-12-21 23:20:32 +00:00
Adam Fedor
830807a27f * configure.ac: Test for objc forwarding by compiling a program.
* config/config.forward.m: New file.
(Fixes bug #11188).

* Source/GSFormat.m (GSFormat): Assign wchar via var args from an
int (Fixes bug #10950).

* Testing/string.m: Tests for standardizing path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20427 72102866-910b-0410-8b05-ffd578937521
2004-12-08 16:22:51 +00:00
Adam Fedor
c1f9bd362f * configure.ac: Standardize order of flags and libs
Check for proper defs in tzfile.h. Add sub-configure options
so they are listed in help. Add generic include/lib flags option.
* config.mak.in: Add load flags variable
* base.make.in: Idem.
* SSL/configure.ac: Add generic include/lib flags option.

* Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install
* Source/Makefile.postamble (Info-gnustep.plist): New target.
* Testing/nsbundle.m: Additional tests.

* Source/NSTimeZone.m: Check for proper tzfile defs (Fixes #10724).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20261 72102866-910b-0410-8b05-ffd578937521
2004-10-26 19:08:17 +00:00
Richard Frith-Macdonald
8e9075305e Added pre-alpha NSXMLPzarser compatibility layer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20238 72102866-910b-0410-8b05-ffd578937521
2004-10-20 10:48:04 +00:00
Adam Fedor
42b269b0fc * configure.ac: Check for tzfile.h
* Source/NSTimeZone.m: Include system tzfile.h if found.
(abbreviationMap): Add abbreviation from systemTimeZone if not
already there.
(systemTimeZone): Update the search list to look for time zone in TZ,
then system location, then tznam.
(getTimeZoneFile:): Look for file in system directory first.
* Source/nstzfile.h: Renamed from tzfile.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20217 72102866-910b-0410-8b05-ffd578937521
2004-10-11 03:08:54 +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
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