Commit graph

100 commits

Author SHA1 Message Date
CaS
15de84b232 Try reversion again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22017 72102866-910b-0410-8b05-ffd578937521
2005-11-15 13:07:09 +00:00
CaS
5c13560295 Tidied handling of config files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22013 72102866-910b-0410-8b05-ffd578937521
2005-11-15 12:11:47 +00:00
CaS
850facf3f5 Consistency improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22012 72102866-910b-0410-8b05-ffd578937521
2005-11-15 11:25:31 +00:00
CaS
bce6f267b3 Fix for GSSetUserName
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22002 72102866-910b-0410-8b05-ffd578937521
2005-11-14 11:45:43 +00:00
CaS
3f528e932a Actually, probably no reason why NSOpenStepRootDirectory() should be deprecated
other than the fact that people misuse it.  Probably better to clarify what
it's for.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21995 72102866-910b-0410-8b05-ffd578937521
2005-11-13 08:02:26 +00:00
CaS
a7921c09af Tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21994 72102866-910b-0410-8b05-ffd578937521
2005-11-13 07:45:52 +00:00
CaS
20d39d5242 Get rid of some unused code. Fix error in debug logs for unicode defaults key.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21965 72102866-910b-0410-8b05-ffd578937521
2005-11-07 07:46:44 +00:00
CaS
5af2d9d0a2 Spelling fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21962 72102866-910b-0410-8b05-ffd578937521
2005-11-06 13:53:40 +00:00
CaS
e58d611f10 Recognize windows registry defaults setup, andf don't prepend user directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21959 72102866-910b-0410-8b05-ffd578937521
2005-11-06 06:51:28 +00:00
CaS
e6fd4ca0d1 mingw32 unicode fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21955 72102866-910b-0410-8b05-ffd578937521
2005-11-05 16:20:19 +00:00
CaS
358d5b0799 More configuration updates to lock down the system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21899 72102866-910b-0410-8b05-ffd578937521
2005-10-28 22:21:36 +00:00
CaS
38382e37dd Move to using GNUstep.conf to specify built-in default paths at configure time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21887 72102866-910b-0410-8b05-ffd578937521
2005-10-27 12:00:38 +00:00
CaS
b5f9e2b593 Simplify and make behavior more consistent on ms-windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21886 72102866-910b-0410-8b05-ffd578937521
2005-10-27 08:39:53 +00:00
CaS
4f025234ab Settle on shell style config file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21876 72102866-910b-0410-8b05-ffd578937521
2005-10-26 13:13:29 +00:00
CaS
97ce2e5e03 Try to ensure basic directories exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21873 72102866-910b-0410-8b05-ffd578937521
2005-10-25 16:15:35 +00:00
CaS
6ebfe03cf3 Optionally store defaults in windows registry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21854 72102866-910b-0410-8b05-ffd578937521
2005-10-23 06:35:33 +00:00
CaS
ec9a5e0dc9 Fix default defaults directory for users other than the current one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21844 72102866-910b-0410-8b05-ffd578937521
2005-10-19 05:52:48 +00:00
CaS
a8d81baa70 Fix error in fallback setup for local root.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21835 72102866-910b-0410-8b05-ffd578937521
2005-10-17 05:53:49 +00:00
CaS
c1b01b94ef Tighter check on variable names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21834 72102866-910b-0410-8b05-ffd578937521
2005-10-17 05:47:46 +00:00
CaS
580adc06e1 More changes to keep make/base in sync.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21833 72102866-910b-0410-8b05-ffd578937521
2005-10-17 05:44:18 +00:00
CaS
2e15e7e8e6 Fix bug determining path of config file relative to base library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21832 72102866-910b-0410-8b05-ffd578937521
2005-10-16 15:24:51 +00:00
CaS
9a36fdd337 Fix error selecting config file whern relative to library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21831 72102866-910b-0410-8b05-ffd578937521
2005-10-16 15:07:10 +00:00
CaS
f3f1f15664 More relocation updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21830 72102866-910b-0410-8b05-ffd578937521
2005-10-16 14:20:14 +00:00
CaS
4269a0178a Handle './' at start of path as meaning that the path is relative to the
location of the system GNUstep.conf file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21829 72102866-910b-0410-8b05-ffd578937521
2005-10-16 11:48:54 +00:00
CaS
2afd4d453a Small bugfix to last set of changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21828 72102866-910b-0410-8b05-ffd578937521
2005-10-16 04:08:12 +00:00
CaS
ccd9fa4f7d More configuration tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21827 72102866-910b-0410-8b05-ffd578937521
2005-10-15 09:18:02 +00:00
CaS
2368855f8b More work on configuration system ... keeping more or less in sync with
make package changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21826 72102866-910b-0410-8b05-ffd578937521
2005-10-15 07:19:11 +00:00
CaS
679d8e46f0 Fix retain/release error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21825 72102866-910b-0410-8b05-ffd578937521
2005-10-15 04:34:30 +00:00
CaS
737fe24fb7 Make parsing more strict
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21824 72102866-910b-0410-8b05-ffd578937521
2005-10-14 14:03:13 +00:00
CaS
b8c539c9bc Rewrite config file parsing to match conventions of shell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21821 72102866-910b-0410-8b05-ffd578937521
2005-10-14 10:51:50 +00:00
CaS
6ffb338fcf iVarious rewriting for clarity and robustness
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21819 72102866-910b-0410-8b05-ffd578937521
2005-10-13 10:11:56 +00:00
CaS
ab857bbc68 emove deprecated functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21803 72102866-910b-0410-8b05-ffd578937521
2005-10-12 17:40:40 +00:00
CaS
0d8d221bd0 Insignificant tidyups ... avoid unneccessarily deep indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21798 72102866-910b-0410-8b05-ffd578937521
2005-10-12 08:40:48 +00:00
CaS
66d239f2de Guard against InitialisePathUtilities() when already initialised.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21797 72102866-910b-0410-8b05-ffd578937521
2005-10-12 07:03:18 +00:00
CaS
327e8d3dcb Hopefully clarify/simplify configuration file stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21796 72102866-910b-0410-8b05-ffd578937521
2005-10-12 06:15:15 +00:00
CaS
620e39b898 Use __MINGW32__ rather than __MINGW__ because gcc does that too.
NB. It seems some recent patches put ___MINGW32__ in the public headers ...
that needs to be fixed as the headers should be system independent!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21795 72102866-910b-0410-8b05-ffd578937521
2005-10-11 19:09:26 +00:00
CaS
e57988b685 Fix a few windows bugs with unicode strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21791 72102866-910b-0410-8b05-ffd578937521
2005-10-09 10:41:53 +00:00
CaS
6979f0d2fe Bugfix for returning paths on a non-flattened system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21577 72102866-910b-0410-8b05-ffd578937521
2005-07-31 08:18:19 +00:00
CaS
cee3dbee17 Bugfixes in returning paths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21533 72102866-910b-0410-8b05-ffd578937521
2005-07-25 05:18:19 +00:00
CaS
3fc6c34dd5 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
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
2e6a507ad5 Slight fix so that temporary directories are specific to the account which
owns them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21097 72102866-910b-0410-8b05-ffd578937521
2005-04-12 17:01:30 +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
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
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