Commit graph

3823 commits

Author SHA1 Message Date
fedor
8931774d38 * Source/NSBundle.m (_find_framework): New function.
[NSBundle +_addFrameworkFromClass:]): Use it. Based on patch
from Sheldon Gill.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21024 72102866-910b-0410-8b05-ffd578937521
2005-03-31 23:22:44 +00:00
CaS
e698f247ee 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
CaS
866ca7ae39 Treat relative UNC path as absolute on unix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21021 72102866-910b-0410-8b05-ffd578937521
2005-03-31 08:10:24 +00:00
CaS
1e9f91f2a6 Add comments suggested by David
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20964 72102866-910b-0410-8b05-ffd578937521
2005-03-22 10:40:37 +00:00
CaS
e7d9523a85 Add a load of charset aliases to make parsing more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20963 72102866-910b-0410-8b05-ffd578937521
2005-03-22 10:00:55 +00:00
CaS
3b50ab340e Removed iso-10646 ... after chacking with IANA I find it's a latin1 variant,
but it's not an alias for iso8859-1, so I assume it's a charset which doesn't
map to any encoding we support.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20962 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:45:58 +00:00
CaS
3dd6095acd More charset/encoding fixes and improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20961 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:16:22 +00:00
CaS
f623ee61ba Tweak encoding mappings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20959 72102866-910b-0410-8b05-ffd578937521
2005-03-22 06:14:55 +00:00
CaS
d8337a42c7 Simplify automatic charset selection for performance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20942 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:59:49 +00:00
CaS
bc1aa70ed4 Replace lost lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20941 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:51:52 +00:00
CaS
837f4a1ba5 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
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
fc826fc390 Fix indentation errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20925 72102866-910b-0410-8b05-ffd578937521
2005-03-18 15:26:18 +00:00
CaS
55c351cfdf Avoid recursion in NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20923 72102866-910b-0410-8b05-ffd578937521
2005-03-18 09:42:54 +00:00
CaS
51376a9b9e Tweak comments and indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20919 72102866-910b-0410-8b05-ffd578937521
2005-03-17 15:27:52 +00:00
CaS
669383fbc7 Don't log config problems repeatedly .. once is enough.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20918 72102866-910b-0410-8b05-ffd578937521
2005-03-17 15:07:57 +00:00
CaS
db9098d923 Lots of naming convention tidyups, plust a few minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20916 72102866-910b-0410-8b05-ffd578937521
2005-03-17 14:48:32 +00:00
CaS
ed0d53c973 Tweak for buggy/intolerant base64 decoders ... ensure that bas64 encoded
sections are terminated with crlf even though the RFC does not require it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20914 72102866-910b-0410-8b05-ffd578937521
2005-03-16 14:38:04 +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
cad70d0991 Tidied GSFindNamedFile a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20912 72102866-910b-0410-8b05-ffd578937521
2005-03-15 09:43:25 +00:00
CaS
62bd7f6782 Tidyups and fix in mingw drive handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20911 72102866-910b-0410-8b05-ffd578937521
2005-03-15 09:30:56 +00:00
CaS
81aaeead0c 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
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
61aee49c82 * 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
CaS
8f2b0c8bd2 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
CaS
3e4ebaab23 Some optimisation and argument validation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20897 72102866-910b-0410-8b05-ffd578937521
2005-03-11 12:58:54 +00:00
CaS
15a0ad2875 Handle nil objects in property list ... treat as strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20896 72102866-910b-0410-8b05-ffd578937521
2005-03-11 11:53:00 +00:00
dwetzel
fb8158c3c5 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
CaS
c0a5d9657d Fix crash when forming union
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20879 72102866-910b-0410-8b05-ffd578937521
2005-03-09 17:05:36 +00:00
CaS
9547275380 Simplify ISSET macro
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20877 72102866-910b-0410-8b05-ffd578937521
2005-03-09 06:16:32 +00:00
CaS
ac3258f493 Add support for long unicode characters (outside the base plane)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20874 72102866-910b-0410-8b05-ffd578937521
2005-03-08 11:32:24 +00:00
CaS
f92b8f24ef Tidyups to avoid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20863 72102866-910b-0410-8b05-ffd578937521
2005-03-07 11:19:34 +00:00
CaS
13ae894cb9 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
CaS
e2deb5cf61 Try to handle destruction of an autorelease pool more robustly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20860 72102866-910b-0410-8b05-ffd578937521
2005-03-06 15:08:12 +00:00
CaS
71c32633c1 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
CaS
563b6a4282 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
CaS
41c07070c3 Tidied for win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20846 72102866-910b-0410-8b05-ffd578937521
2005-03-05 06:03:03 +00:00
CaS
2a24fbacfc Correct position of an ifdef
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20845 72102866-910b-0410-8b05-ffd578937521
2005-03-04 16:04:25 +00:00
CaS
6904951cba Only build xmlrpc if we have libxml
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20844 72102866-910b-0410-8b05-ffd578937521
2005-03-04 16:01:49 +00:00
CaS
2dcfcebcda 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
fedor
a504a2adde 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
fedor
a36136aa98 * Source/NSFileManager.m (-createFileAtPath:...): Define var at
beginning to work on gcc 2.x compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20838 72102866-910b-0410-8b05-ffd578937521
2005-03-03 17:01:11 +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
a57d77a801 Make fixes suggested by David Ayers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20829 72102866-910b-0410-8b05-ffd578937521
2005-03-02 13:39:33 +00:00
CaS
a4219a7c74 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
fedor
0528b31e80 * Source/NSBundle.m (+gnustepBundle,
+pathForGNUstepResource:ofType:inDirectory:]): Add depreciated
log message.
* Source/NSNotificationQueue.m, Source/null-load.h:
Fix copyright message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20823 72102866-910b-0410-8b05-ffd578937521
2005-03-01 15:50:26 +00:00
nico
2782bd24fc 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
CaS
d05bb0584e Fix fosdem changes and a few bugs exposed by them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20811 72102866-910b-0410-8b05-ffd578937521
2005-02-28 17:18:54 +00:00
ayers
b2d1a0346a Acually commit the file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20810 72102866-910b-0410-8b05-ffd578937521
2005-02-28 15:46:11 +00:00
CaS
3bf7ab2863 MacOS-X compatibility update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20806 72102866-910b-0410-8b05-ffd578937521
2005-02-27 12:25:10 +00:00