Commit graph

1304 commits

Author SHA1 Message Date
Richard Frith-Macdonald
2983bafa33 Tiny tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/path-handling@21219 72102866-910b-0410-8b05-ffd578937521
2005-05-12 16:31:28 +00:00
Richard Frith-Macdonald
1661351869 Add path handling updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/path-handling@21216 72102866-910b-0410-8b05-ffd578937521
2005-05-12 05:11:50 +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
fed4566357 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20939 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:16:15 +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
fc96b0fdbe Patch to port GSXMLRPC to MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20902 72102866-910b-0410-8b05-ffd578937521
2005-03-12 17:38:18 +00:00
Dave Wetzel
2dd5efe31d Added setDefaultEncoding:
This is needed in GSWeb if you use utf-8 and faster than using a
String as encoding name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20893 72102866-910b-0410-8b05-ffd578937521
2005-03-11 09:12:53 +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
Richard Frith-Macdonald
7566f5535f Integrated XMLRPC support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20843 72102866-910b-0410-8b05-ffd578937521
2005-03-04 15:50:06 +00:00
Adam Fedor
9d92b8cef3 Fix some syntax errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20839 72102866-910b-0410-8b05-ffd578937521
2005-03-03 17:20:19 +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
Nicola Pero
7e5754884d Linking updates for MinGW
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20819 72102866-910b-0410-8b05-ffd578937521
2005-03-01 05:00:35 +00:00
Adam Fedor
2e9ff3b23b * configure.ac: Add test to check for poll emulation
* Source/NSRunLoop.h: Don't use poll if we're just emulating.
* Source/unix/GSRunLoopCtxt.m: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20788 72102866-910b-0410-8b05-ffd578937521
2005-02-23 22:17:54 +00:00
Richard Frith-Macdonald
37eda7e2db Added files accidentally missed from last check in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20787 72102866-910b-0410-8b05-ffd578937521
2005-02-23 21:43:18 +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
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