Commit graph

167 commits

Author SHA1 Message Date
gcasa
8b51b9c39c * Source/NSUserDefaults.m: Corrected previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26871 72102866-910b-0410-8b05-ffd578937521
2008-09-24 21:25:39 +00:00
gcasa
0871d54a82 Explicitly roll over to zero when the element isn't found.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26870 72102866-910b-0410-8b05-ffd578937521
2008-09-24 12:29:15 +00:00
rfm
e0711a3b8d allow developers more time to adapt to LGPLv3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
rfm
13fee270ce Minor optimisation for getting dictionary representation of defaults.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26604 72102866-910b-0410-8b05-ffd578937521
2008-06-07 06:00:26 +00:00
rfm
62564278d7 Fix deadlock and revert previous change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26603 72102866-910b-0410-8b05-ffd578937521
2008-06-07 05:44:58 +00:00
rfm
220bf8f040 Simplification ... remove internal private functiuon and use public method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26602 72102866-910b-0410-8b05-ffd578937521
2008-06-07 05:32:15 +00:00
rfm
6079944b00 Configuration system improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25915 72102866-910b-0410-8b05-ffd578937521
2008-01-10 11:14:30 +00:00
rfm
ab9404b6a3 Minor thread safety fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25774 72102866-910b-0410-8b05-ffd578937521
2007-12-21 14:37:37 +00:00
rfm
69fce99d3e catch exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25722 72102866-910b-0410-8b05-ffd578937521
2007-12-11 14:23:04 +00:00
rfm
3aa7189ddb Improve MacOS-X compatibility of headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25638 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:53:26 +00:00
rfm
87edda35d7 Minor macos-x compatibility tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25547 72102866-910b-0410-8b05-ffd578937521
2007-10-31 11:24:30 +00:00
rfm
cd46236028 Update to GPL3 and LGPL3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25482 72102866-910b-0410-8b05-ffd578937521
2007-09-14 11:36:11 +00:00
nicola
56b7d94f6a Fixed and tidied up lookup of language information in NSUserDefaults
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24905 72102866-910b-0410-8b05-ffd578937521
2007-03-20 18:30:51 +00:00
nicola
e8ee87fd0d Remove the NSBundle.h include after last change removed dependency on NSBundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24870 72102866-910b-0410-8b05-ffd578937521
2007-03-14 13:22:29 +00:00
nicola
66ad962d5d Fixed bootstrap problem where NSBundle +initialize would use NSUserDefaults +standardDefaults to create the _gnustep_bundle, and NSUserDefaults +standardDefaults would use NSBundle's _gnustep_bundle to lookup resources
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24869 72102866-910b-0410-8b05-ffd578937521
2007-03-14 13:01:16 +00:00
nicola
661c84a01d Implemented experimental library resource bundle versioning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24841 72102866-910b-0410-8b05-ffd578937521
2007-03-09 19:09:08 +00:00
rfm
8bb559b207 drop .exe extension for process name on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24832 72102866-910b-0410-8b05-ffd578937521
2007-03-09 08:48:09 +00:00
rfm
24b2d3538f Don't count '.exe' as part of program name on mswindows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24778 72102866-910b-0410-8b05-ffd578937521
2007-03-06 11:40:17 +00:00
rfm
f6b873822c Add minor debug tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24413 72102866-910b-0410-8b05-ffd578937521
2007-01-25 09:41:42 +00:00
rfm
cfb72ce971 Fix potential deadlock
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24412 72102866-910b-0410-8b05-ffd578937521
2007-01-25 04:24:15 +00:00
rfm
f37b00aa8f Support xml property list parsing when libxml2 is not available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24266 72102866-910b-0410-8b05-ffd578937521
2006-12-27 08:16:37 +00:00
rfm
87c5bf8cfb convert to using OS_API_VERSION() to tager method compatibility info.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23998 72102866-910b-0410-8b05-ffd578937521
2006-10-30 06:01:20 +00:00
rfm
9e7b96ab0e More code tidyups and NSError updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
2006-10-20 10:56:27 +00:00
rfm
6ba4584136 More tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23914 72102866-910b-0410-8b05-ffd578937521
2006-10-19 13:51:19 +00:00
rfm
799955caff Experiment with function visibility ... try caching locale dictionary to be
accessed from a function yet invisible outside the base library even when
caching is done in the Additions subproject.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23903 72102866-910b-0410-8b05-ffd578937521
2006-10-18 15:36:52 +00:00
rfm
31342aef09 Updates to reduce global namespace pollution. Plenty more remaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
2006-10-09 14:00:01 +00:00
rfm
401e64c806 Allow configuration of extra keys in :INTERNAL: domain.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23112 72102866-910b-0410-8b05-ffd578937521
2006-06-27 19:06:44 +00:00
rfm
3c59f7f609 tested and fixed mingw error in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22567 72102866-910b-0410-8b05-ffd578937521
2006-02-23 15:25:18 +00:00
rfm
14876f5b80 Reorganize to do lazy creation of defaults database.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22566 72102866-910b-0410-8b05-ffd578937521
2006-02-23 15:13:36 +00:00
rfm
0d2f432fab Further config enhancements ... fix a couple of static declarations,
use GNUstep.conf in defaults system, and allow external defaults to
be disabled.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22518 72102866-910b-0410-8b05-ffd578937521
2006-02-19 21:49:21 +00:00
CaS
398d3a9e77 Restore some reverted changes. Tidy up a bit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22021 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:44:44 +00:00
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
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
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
8ba0f9a906 More path handling tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21860 72102866-910b-0410-8b05-ffd578937521
2005-10-23 11:27:32 +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
7b4766b748 More moves towards making registry usable on win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21842 72102866-910b-0410-8b05-ffd578937521
2005-10-18 16:19:08 +00:00
CaS
7a43bb1ba9 Start work to apply patch to hold user defaults in registry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21840 72102866-910b-0410-8b05-ffd578937521
2005-10-18 05:28:44 +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
f843cb8155 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
CaS
6d0751af3e 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
CaS
9ac16024f5 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
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
2a5a2dca5a Sync up to get retries working
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21161 72102866-910b-0410-8b05-ffd578937521
2005-04-26 16:15:55 +00:00
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
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
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
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
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
89dd47ec16 Minor enhancement to improve debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20775 72102866-910b-0410-8b05-ffd578937521
2005-02-22 14:06:28 +00:00