Commit graph

422 commits

Author SHA1 Message Date
fedor
2dc1962a6b 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
fedor
09688f94b6 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
fedor
efb94a8834 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
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
59fed7cd35 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
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
b06580bbde 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
CaS
b436ef6553 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
CaS
edb678d5fe 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
fedor
5c7a02d672 * 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
CaS
813f640a49 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
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
CaS
257787f99e 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
fedor
db8fe0f10f * 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
fedor
5a08f449a7 * 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
fedor
a2f7e30285 * 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
CaS
524a852ed9 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
fedor
3718cbfdcd * 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
ayers
0e784f41d8 * 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
ayers
eb84dff7b8 * 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
ayers
12ba5fcd07 * 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
ayers
b42cad5549 * 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
ayers
9b216878ea * 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
CaS
8cdcd4c253 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
ayers
a53541a76b * 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
CaS
84b18cb39f 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
CaS
0eac73bef7 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
CaS
35b7fbf96e 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
fedor
46864153f0 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
CaS
0b2f72a36f 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
CaS
24c74732b4 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
CaS
a9fd37a6b6 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
CaS
bd58239a94 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
ayers
4e4df7b974 * 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
ayers
86f35c472c * 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
CaS
ba1698ff9c 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
CaS
89b08c9c88 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
nico
94b5776c9d 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
nico
eaa0dd8439 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
fedor
b8d2e9aee1 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
fedor
e089ba3bff 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
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
fedor
f145ad86ce 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
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
02aace51b0 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
CaS
4238376240 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
CaS
7e4ef0cdc9 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
ayers
57103df2fa * 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
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
fedor
bffcc46460 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