Adam Fedor
8ea47859cd
* Headers/Foundation/NSGeometry.h (NSContainsRect): Change behavior
...
to match Cocoa (sides of rects CAN touch).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20524 72102866-910b-0410-8b05-ffd578937521
2005-01-06 03:36:43 +00:00
Adam Fedor
a861c353bd
* Add support for systems that support unichar file paths (e.g.
...
Windows).
* Headers/Foundation/NSFileManager.h (-localFromOpenStepPath:,
_openStepPathFromLocal:): New methods.
(NSDirectoryEnumerator): Updated ivars.
* Source/NSFileManager.m: Idem.
(-changeCurrentDirectoryPath, changeFileAttributes:,
currentDirectoryPath, etc): Update for Windows unichar paths.
* Headers/Foundation/NSString.h: (-unicharString,
-localFromOpenStepPath:, _openStepPathFromLocal:): New methods.
* Source/NSString.m: Idem.
* Source/GSFileHandle.m (-initForReadingAtPath:,
-initForWritingAtPath, -initForUpdatingAtPath:): Update for Windows
unichar paths.
* Source/NSData.m (readContentsOfFile, -writeToFile:,
initWithContentsOfMappedFile:): Idem.
* Source/NSTask.m (NSConcreteWindowsTask): Update for Windows
unichar paths.
(Patch from Roland Schwingle <roland.schwingel@onevision.de>)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20502 72102866-910b-0410-8b05-ffd578937521
2004-12-29 04:21:37 +00:00
Matt Rice
e91474be65
2004-11-30 Matt Rice <ratmice@yahoo.com>
...
* Source/NSBundle.m (-principalClass): If the class specified in
NSPrincipalClass key is not found return the first class found.
* Headers/Foundation/NSBundle.h (-principalClass): Document the above.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20401 72102866-910b-0410-8b05-ffd578937521
2004-11-30 22:16:32 +00:00
Dave Wetzel
d29238c09d
added missing #include "GSObjCRuntime.h"
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20371 72102866-910b-0410-8b05-ffd578937521
2004-11-23 10:32:34 +00:00
Richard Frith-Macdonald
94a96ae889
Minor twekas to fix three bug reports.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20368 72102866-910b-0410-8b05-ffd578937521
2004-11-22 11:48:50 +00:00
Adam Fedor
1e96b65ae7
* Headers/Foundation/NSBundle.h (builtInPlugInsPath): New method.
...
* Source/NSBundle (builtInPlugInsPath): Imeplement (based on patch
#3483 ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20341 72102866-910b-0410-8b05-ffd578937521
2004-11-11 18:51:37 +00:00
Adam Fedor
e5674b2966
* Headers/Foundation/NSTimeZone.h, Source/NSTimeZone.m
...
(+knownTimeZoneNames:): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20295 72102866-910b-0410-8b05-ffd578937521
2004-11-05 03:47:03 +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
0bf0a5d5e4
Implement abort of parsing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20255 72102866-910b-0410-8b05-ffd578937521
2004-10-24 12:29:31 +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
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
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
Richard Frith-Macdonald
fe1c5e1890
Add a couple of methods for dealing with xml escape sequences
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20189 72102866-910b-0410-8b05-ffd578937521
2004-10-03 09:11:15 +00:00
Richard Frith-Macdonald
f8f6fccd2f
Map some more windows specific characters.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20187 72102866-910b-0410-8b05-ffd578937521
2004-10-02 06:37:28 +00:00
Richard Frith-Macdonald
963477c0b5
Fix missing comma
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20186 72102866-910b-0410-8b05-ffd578937521
2004-10-02 06:33:01 +00:00
Richard Frith-Macdonald
ee8298d74e
Minor lossy conversion tweak.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20185 72102866-910b-0410-8b05-ffd578937521
2004-10-02 05:54:37 +00:00
Adrian Robert
7d6e6c476c
comment cleanups to improve documentation output
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20094 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:24:36 +00:00
Adrian Robert
20cf63779e
declare constant strings as constant, and move values from source files into externs.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20092 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:19:53 +00:00
David Ayers
3bb04e95cd
* Headers/Additions/GNUstepBase/GSObjCRuntime.h: Define
...
encoding macros for the NeXT runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20070 72102866-910b-0410-8b05-ffd578937521
2004-09-16 08:08:08 +00:00
Richard Frith-Macdonald
d427f1afd3
Tolerate null pointer arguments for returning information.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20063 72102866-910b-0410-8b05-ffd578937521
2004-09-14 03:34:37 +00:00
Richard Frith-Macdonald
90a810065d
MacOS-X compatibility fixes and improved documentation about class cluster
...
initialisers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20012 72102866-910b-0410-8b05-ffd578937521
2004-09-07 05:43:20 +00:00
Adam Fedor
d617292eaa
* Version 1.10.0
...
* Source/GNUmakefile: Define INTERFACE_VERSON explicitly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19993 72102866-910b-0410-8b05-ffd578937521
2004-09-05 02:31:35 +00:00
David Ayers
eb86b59f21
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
(GS_ATTRIB_DEPRECATED): New macro to use for deprecation
attribute which can be deactivated for older compilers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19990 72102866-910b-0410-8b05-ffd578937521
2004-09-04 15:33:16 +00:00
Richard Frith-Macdonald
c1f55ee760
NSString mutability fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19927 72102866-910b-0410-8b05-ffd578937521
2004-08-26 13:43:34 +00:00
Richard Frith-Macdonald
e448a790ed
Fix mistake in property key names for certificate support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19926 72102866-910b-0410-8b05-ffd578937521
2004-08-26 10:41:04 +00:00
Adrian Robert
c66672ee1f
fixed unclosed <p> in first comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19924 72102866-910b-0410-8b05-ffd578937521
2004-08-26 02:04:02 +00:00
Richard Frith-Macdonald
9ecde501c6
Certificate usage support for https
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19911 72102866-910b-0410-8b05-ffd578937521
2004-08-24 09:16:58 +00:00
Richard Frith-Macdonald
ec6bac6449
Fix leak of handled when using DO between threads.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19910 72102866-910b-0410-8b05-ffd578937521
2004-08-24 08:08:14 +00:00
Richard Frith-Macdonald
e22620003a
Implement (and document) a MacOS-X compatibility behavior
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19909 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:20:40 +00:00
Richard Frith-Macdonald
71f88092d1
Add content location methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19903 72102866-910b-0410-8b05-ffd578937521
2004-08-23 14:29:50 +00:00
David Ayers
8cd30609bf
* 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
David Ayers
d1f347deb1
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
(GSFindInstanceVariable, GSGetVariable, GSSetVariable)
(GSGetValue, GSSetValue, GSObjCName, GSObjCSelectorName)
(GSObjCSelectorTypes, GSGetInstanceMethod, GSGetClassMethod)
(GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited):
Add deprecation markers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19894 72102866-910b-0410-8b05-ffd578937521
2004-08-20 15:58:30 +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
Richard Frith-Macdonald
284ce516b8
A couple of methods added for consistency.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19880 72102866-910b-0410-8b05-ffd578937521
2004-08-18 10:12:13 +00:00
Adrian Robert
966b2cb0c9
some cleanups and clarifications to documentation just added, suggested by Alexander Malmberg
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19817 72102866-910b-0410-8b05-ffd578937521
2004-08-02 18:10:58 +00:00
Adrian Robert
0d31eca394
documented functions, types, constants, and variables
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:30:47 +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
Richard Frith-Macdonald
20f3612fce
Regenerated NSTimeZones.tar
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19739 72102866-910b-0410-8b05-ffd578937521
2004-07-15 09:09:33 +00:00
Richard Frith-Macdonald
49d11595cd
Add a couple of MacOS-X methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19678 72102866-910b-0410-8b05-ffd578937521
2004-07-04 09:25:50 +00:00
David Ayers
1e7e1572e2
* Headers/Foundation/NSMethodSignature.h
...
* Source/NSMethodSignature.m
* Source/GSFFCallInvocation.m
* Source/GSFFIInvocation.m: Revert last mframe patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19667 72102866-910b-0410-8b05-ffd578937521
2004-07-02 08:04:54 +00:00
David Ayers
8712b7b537
* Headers/Foundation/NSMethodSignature.h
...
(_internalMethodTypes): New instance variable.
* Source/NSMethodSignature.m: ([+signatureWithObjCTypes]): Store
the runtime signature separately from the mframe signature.
Document.
([-dealloc]): Free new instance variable.
([-methodInfo]): Use _internalMethodTypes to build argument
information.
* Source/GSFFCallInvocation.m (GSInvocationCallback)
* Source/GSFFIInvocation.m (GSInvocationCallback): Use the
selector registered in the runtime for the receiver instead of
the constructed selector from the stack to avoid mismatches in the
runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19662 72102866-910b-0410-8b05-ffd578937521
2004-07-01 11:38:19 +00:00
Richard Frith-Macdonald
a0b07ade13
Added a couple of MacOS-X compatibility methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19651 72102866-910b-0410-8b05-ffd578937521
2004-06-29 10:31:05 +00:00
Adrian Robert
9e3ec7ecff
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@19586 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:27:39 +00:00
Adrian Robert
3e78bdb1e7
fixed typos in gsdoc that were causing autogsdoc errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19585 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:25:36 +00:00
Adam Fedor
1282b5a5f2
Fix kvm test. Uninstall
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19518 72102866-910b-0410-8b05-ffd578937521
2004-06-14 22:27:22 +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
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
955690403e
Improve handling of character sets in multipart/form-data
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19428 72102866-910b-0410-8b05-ffd578937521
2004-05-30 09:05:10 +00:00
Adam Fedor
a1e4d0770c
Add kvm config. Update docs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19410 72102866-910b-0410-8b05-ffd578937521
2004-05-28 19:44:29 +00:00
Richard Frith-Macdonald
70d9256a67
Fix problems defineing types on ssystems where they already exist as
...
typedefs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19401 72102866-910b-0410-8b05-ffd578937521
2004-05-26 13:45:37 +00:00