Commit graph

455 commits

Author SHA1 Message Date
Adam Fedor
643c232713 New implementation of NSSortDescriptor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21690 72102866-910b-0410-8b05-ffd578937521
2005-08-30 14:54:43 +00:00
Richard Frith-Macdonald
b04d24f664 Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21520 72102866-910b-0410-8b05-ffd578937521
2005-07-23 13:43:31 +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
9754469069 Added partial implementation os KVO to match the accidentally comitted makefile changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21395 72102866-910b-0410-8b05-ffd578937521
2005-07-01 21:26:46 +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
Richard Frith-Macdonald
5df69742e7 Fix error in last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21348 72102866-910b-0410-8b05-ffd578937521
2005-06-23 22:12:06 +00:00
Richard Frith-Macdonald
a7134408de Minor documentation fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21347 72102866-910b-0410-8b05-ffd578937521
2005-06-23 16:36:03 +00:00
Richard Frith-Macdonald
ac5ecec04f Fix for bug #13482
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21341 72102866-910b-0410-8b05-ffd578937521
2005-06-22 09:09:40 +00:00
Richard Frith-Macdonald
c3d27c1061 Fix for last update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21329 72102866-910b-0410-8b05-ffd578937521
2005-06-18 15:45:54 +00:00
Adam Fedor
f0512c406e * Remove objc/Protocol.h include from NSObject to avoid warnings
with conflicting method signatures.
* Headers/Foundation/NSConnection.h: Change Object categories
to NSObject.
* Source/NSConnection.m: Idem.
* Headers/Foundation/NSObject.h: Don't include objc/Protocol.h
add a few missing things.
* Source/NSDate.m ([NSDate -isEqual:]): Use isKindOfClass.
* Source/NSDistantObject.m, Source/NSProtocolChecker.m:
Include objc/Protocol.h
* Source/NSSerializer.m: Add method sig for performv::


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21322 72102866-910b-0410-8b05-ffd578937521
2005-06-17 14:51:57 +00:00
Richard Frith-Macdonald
ab9a50e0d1 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21286 72102866-910b-0410-8b05-ffd578937521
2005-06-05 05:24:45 +00:00
Richard Frith-Macdonald
9330a41df9 Improve versioning macros
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21279 72102866-910b-0410-8b05-ffd578937521
2005-06-04 10:55:38 +00:00
Richard Frith-Macdonald
d1d17bc387 win32 path handling simplifications (and some bug fixes).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21276 72102866-910b-0410-8b05-ffd578937521
2005-06-04 07:22:51 +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
84af14b495 Proof of concept updates for autogsdoc to get more detailed versioning
information from macros.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21205 72102866-910b-0410-8b05-ffd578937521
2005-05-09 09:01:06 +00:00
Richard Frith-Macdonald
ff16c50d5a Add a few methods from tiger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21197 72102866-910b-0410-8b05-ffd578937521
2005-05-08 07:08:28 +00:00
Richard Frith-Macdonald
58692a1d62 MacOS-X compatibility and security updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21096 72102866-910b-0410-8b05-ffd578937521
2005-04-12 09:48:04 +00:00
Richard Frith-Macdonald
71ce433dad Documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21027 72102866-910b-0410-8b05-ffd578937521
2005-04-01 10:57:35 +00:00
Richard Frith-Macdonald
8f0bd54874 More tweaks to isAbsolute
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21023 72102866-910b-0410-8b05-ffd578937521
2005-03-31 19:47:41 +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
7602f504b2 Add new files to separate extension functions from main base library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20910 72102866-910b-0410-8b05-ffd578937521
2005-03-15 08:11:04 +00:00
Adam Fedor
6292a363bc * Continuation of NSPathUtilities patches
* configure.ac: Add config-file option
* Headers/Foundation/NSPathUtilities.h: Add GSFindNamedFile, more
NSSearchPathDirectory enums.
* Source/GNUmakefile: Don't install Win32 headers.
* Source/NSPathUtilities.m (InitializePathUtilities, ...): Add
support for reading standard path locations from a configuration
file. Various support functions added/removed to fit.
(GSFindNamedFile): New function.
(GSSetUserName): Do nothing if the user is the same.
(NSHomeDirectoryForUser): Use Windows utilities to get user name
(on Windows, of course).
(NSFullUserName): Default to NSUserName on Windows.
(GSSystemRootDirectory): Mark as deprecated.
(GSDefaultsRootForUser): Correctly return the actual defaults
directory, not the user directory.
(GSStandardPathPrefixes): Mark as deprecated.
(NSSearchPathForDirectoriesInDomains): Add platform paths and
additional search directories.
* Source/NSUserDefaults (pathForUser): Correct use of
GSDefaultsRootForUser. Remove obsolete path checking and
defaults location checking. (Patches from Sheldon Gill
with some modifications).

* Documentation/Base.gsdoc: Update documentation.
* Headers/Additions/GNUstepBase/Win32_Utilities.h,
Source/win32/Win32_Utilities.m: Fix function arguments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20908 72102866-910b-0410-8b05-ffd578937521
2005-03-15 04:24:26 +00:00
Richard Frith-Macdonald
5a1564af5d Minor mingw fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20875 72102866-910b-0410-8b05-ffd578937521
2005-03-08 12:17:00 +00:00
Richard Frith-Macdonald
7dd02e80e3 More characterset tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20862 72102866-910b-0410-8b05-ffd578937521
2005-03-07 10:47:10 +00:00
Matt Rice
f954dc9176 * Headers/Foundation/NSRunLoop.h: Reorder RunLoopEventType for binary
compatibility.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20861 72102866-910b-0410-8b05-ffd578937521
2005-03-07 01:11:38 +00:00
Richard Frith-Macdonald
51480e59e8 More characterset tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20858 72102866-910b-0410-8b05-ffd578937521
2005-03-06 10:39:10 +00:00
Richard Frith-Macdonald
59851fd34f remove reference to NSBotmapCharacterSet
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20857 72102866-910b-0410-8b05-ffd578937521
2005-03-06 10:21:18 +00:00
Richard Frith-Macdonald
75b7f015ea More changes to build in standard bitmaps,
update the charset data from the latest usincode,
add 0x85 to the whitespace and newline set
add the capitalizedLetterCharacterSet


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20856 72102866-910b-0410-8b05-ffd578937521
2005-03-06 09:15:08 +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
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
38c4bd4bd7 Remove unused ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20820 72102866-910b-0410-8b05-ffd578937521
2005-03-01 08:00:59 +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
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
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
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
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
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
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
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
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
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
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
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
Richard Frith-Macdonald
1260b16a5a Add macros to warn once ... eg for deprecated methods/functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19395 72102866-910b-0410-8b05-ffd578937521
2004-05-24 16:08:03 +00:00
Richard Frith-Macdonald
6b8f60d133 Added NSError
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19360 72102866-910b-0410-8b05-ffd578937521
2004-05-17 09:24:29 +00:00
Richard Frith-Macdonald
d0a274bd0d Documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19326 72102866-910b-0410-8b05-ffd578937521
2004-05-14 16:22:49 +00:00
Richard Frith-Macdonald
abc7709a49 Applied mingw fixes by Mateu Batle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19242 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:10: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
55e35306a2 Rewrite NSProtocolChecker stuff ... seemed largely broken
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19180 72102866-910b-0410-8b05-ffd578937521
2004-04-25 07:06:41 +00:00
Alexander Malmberg
13188ae768 Rename 'GNU' categories to 'GNUstep'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19131 72102866-910b-0410-8b05-ffd578937521
2004-04-16 23:21:26 +00:00
Richard Frith-Macdonald
a4728fc1d7 Retain/release fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19074 72102866-910b-0410-8b05-ffd578937521
2004-04-11 05:22:33 +00:00
Richard Frith-Macdonald
39af4cd1e9 Fix error in original commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18994 72102866-910b-0410-8b05-ffd578937521
2004-03-31 21:41:28 +00:00
Richard Frith-Macdonald
cf2564d36e Put NSKeyedArchiver.h in Foundation.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18989 72102866-910b-0410-8b05-ffd578937521
2004-03-31 13:33:37 +00:00
Adam Fedor
cd252810da Define types ifndef
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18966 72102866-910b-0410-8b05-ffd578937521
2004-03-30 04:34:09 +00:00
Richard Frith-Macdonald
8bb1aeb737 Support outgoing connections bound to a specific local address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18953 72102866-910b-0410-8b05-ffd578937521
2004-03-29 14:53:37 +00:00
Richard Frith-Macdonald
4fbce87abb Minor documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18938 72102866-910b-0410-8b05-ffd578937521
2004-03-28 11:13:36 +00:00
Richard Frith-Macdonald
99feb31a2d Trivial interface fix ... declare new nsdata methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18855 72102866-910b-0410-8b05-ffd578937521
2004-03-18 16:37:47 +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
Richard Frith-Macdonald
3559990368 Mostly skeletal implementation of NSIndexSet
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18650 72102866-910b-0410-8b05-ffd578937521
2004-02-24 21:23:53 +00:00
Fred Kiefer
7fce31a3fb Added renamed MacOSX methodAdded renamed MacOSX method..
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18648 72102866-910b-0410-8b05-ffd578937521
2004-02-24 19:43:34 +00:00
David Ayers
1767ef985f * Headers/Foundation/NSLock.h: Make types of _mutex and
_condition opaic to avoid including private thr-mach.h header.
        * Headers/Foundation/NSThread.h: Do not include private
	thr-mach.h header.
        * Source/thr-mach.h: Moved here from
        Headers/Additions/GNUstepBase/thr-mach.h.
        * Source/NSLock.m: Include private thr-mach.h header for
        apple-gnu-gnu.  Added defines for typing opaic instance
        variables and use them in various methods.
        * Source/NSThread.m: Include private thr-mach.h header for
        apple-gnu-gnu.
        * Source/thr-mach.m: Include private thr-mach.h header from
	new location.
        * Source/thr-pthread.m: Ditto.
        * Source/GNUmakefile: Do not install private thr-mach.h
	header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18607 72102866-910b-0410-8b05-ffd578937521
2004-02-17 12:55:02 +00:00
Alexander Malmberg
3c7cd0b0ba Remove uses of the 'casts as lvalues' gcc extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18534 72102866-910b-0410-8b05-ffd578937521
2004-02-04 00:14:00 +00:00
Richard Frith-Macdonald
24d6fe34b0 Minor naming consistency tidyups, and a fix to let java code using property
lists work with a base library that includes the new
NSPropertyListSerialisation class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18526 72102866-910b-0410-8b05-ffd578937521
2004-02-02 12:26:59 +00:00
Richard Frith-Macdonald
1c24d6feb9 Several minor bugfixes in handling BOOL values, fix crash in shrinking
mutable data.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18507 72102866-910b-0410-8b05-ffd578937521
2004-01-30 11:30:56 +00:00
Richard Frith-Macdonald
94ac212556 Added a couple of new initialisers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18505 72102866-910b-0410-8b05-ffd578937521
2004-01-30 07:17:30 +00:00
Richard Frith-Macdonald
412c677079 More keyed coding updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18495 72102866-910b-0410-8b05-ffd578937521
2004-01-28 07:33:20 +00:00
Richard Frith-Macdonald
bace205183 Minor keyed archiving fixes, also expose a couple of internal methods ...
not sure we should do this ... perhaps they should only be exposed to
other classes within the base library?


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18490 72102866-910b-0410-8b05-ffd578937521
2004-01-27 11:31:41 +00:00
Richard Frith-Macdonald
edd7107294 Added keyed geometry encoding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18472 72102866-910b-0410-8b05-ffd578937521
2004-01-24 20:40:44 +00:00
Richard Frith-Macdonald
8e7eb96e77 Partial implementation of unarchiver code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18458 72102866-910b-0410-8b05-ffd578937521
2004-01-22 20:38:24 +00:00
Richard Frith-Macdonald
de07b9271b Inital commit of partial implementation of MacOS-X compatible keyed archiving.
Experimental ... archiving is implemented aand tested for xml format output.
Unarchiving is not yet implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18450 72102866-910b-0410-8b05-ffd578937521
2004-01-22 09:37:07 +00:00
Manuel Guesdon
63ba83e121 2004-01-06 Manuel Guesdon <mguesdon@orange-concept.com>
* Headers/Foundation/NSArray.h/.m: added -setValue:forKey:
	      and -valueForKey: to comply to Mac OS X v10.3 and
		  later documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18322 72102866-910b-0410-8b05-ffd578937521
2004-01-06 19:43:29 +00:00
Fred Kiefer
748132fd61 Added Cocoa typedefs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18287 72102866-910b-0410-8b05-ffd578937521
2003-12-30 11:52:39 +00:00
Alexander Malmberg
74254e40b2 Fix spelling errors in comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18261 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:22:06 +00:00
Alexander Malmberg
8041f0f996 (NSContainsRect): Return NO if the second rect is empty. (NSIntegralRect): Calculate new width and height correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18258 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:11:14 +00:00
Adam Fedor
179a1e6d9e Change KoreanEUCEncoding to KoreanEUCStringEncoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18134 72102866-910b-0410-8b05-ffd578937521
2003-11-24 04:18:50 +00:00
David Ayers
a3601643a6 Based on patches by Philip Moetteli
<Philip.Moetteli@tele2.ch>.
	* Headers/Additions/GNUstepBase/GSCategories.h: Added
	NSKoreanEUCEncoding.
	* Headers/Additions/GNUstepBase/GSLock.h
	* Headers/Additions/GNUstepBase/GSLocale.h: Guard includes for
	NeXT_Foundation_LIBRARY.
	* Source/Additions/GSLock.m: Include GNUstepBase/GNUstep.h.
	* Headers/Additions/GNUstepBase/GSCategories.h
	* Headers/Foundation/NSString.h:
	(+[NSString stringWithFormat:arguments:]): Move declaration to
	GSCategories.
	* Source/NSString.m
	* Source/Additions/GSCategories.m:
	(+[NSString stringWithFormat:arguments:]): Move implementation
	to Additions.
	* macosx/config.h: Define HAVE_WCHAR_H.
	* macosx/gnustep.pbproj/project.pbxproj: Added GSLock files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18072 72102866-910b-0410-8b05-ffd578937521
2003-11-10 15:34:52 +00:00
Richard Frith-Macdonald
4d1f1825c1 Add support for server side ssl connections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18055 72102866-910b-0410-8b05-ffd578937521
2003-11-05 18:26:09 +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
45fb8a2fb2 * Source/NSConcreteNumber.h: Moved here from
Headers/Foundation/NSConcreteNumber.h.
        * Source/GNUmakefile: Make NSConcreteNumber.h private.
        * Source/NSConcreteNumber.m: Include NSConcreteNumber.h from
        new location.
        * Source/NSNumber.m: Ditto.
        * Source/NSURL.m: Include NSValue.h in favor of private
        NSConcreteNumber.h.
        * Source/NSURLHandle.m: Do not include NSConcreteNumber.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17954 72102866-910b-0410-8b05-ffd578937521
2003-10-22 16:26:02 +00:00
Richard Frith-Macdonald
9ecdf6cc0b Cleanups in preparation for experimental changes to retain/relase over DO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17949 72102866-910b-0410-8b05-ffd578937521
2003-10-21 17:05:36 +00:00
Richard Frith-Macdonald
7600946e41 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17804 72102866-910b-0410-8b05-ffd578937521
2003-10-08 16:26:59 +00:00
Richard Frith-Macdonald
7a9e11fdbf Memory leak fixes and a little new debug functionality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17803 72102866-910b-0410-8b05-ffd578937521
2003-10-08 15:03:58 +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
Adam Fedor
42b816ded4 Add Korean encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17639 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:36:49 +00:00
Alexander Malmberg
d950f019e2 Change return type of -initWithPath: to id.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17618 72102866-910b-0410-8b05-ffd578937521
2003-09-04 16:44:37 +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