Gregory John Casamento
057b19f761
Added code from baseline.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/NibCompatibility@22951 72102866-910b-0410-8b05-ffd578937521
2006-05-20 13:24:53 +00:00
Gregory John Casamento
8fe86ac8e1
Merge from HEAD.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/NibCompatibility@22927 72102866-910b-0410-8b05-ffd578937521
2006-05-15 00:49:06 +00:00
Gregory John Casamento
b464e5a838
Merged from baseline.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/NibCompatibility@22884 72102866-910b-0410-8b05-ffd578937521
2006-05-10 03:18:08 +00:00
Gregory John Casamento
aa248d3860
Comitting changes from baseline to this branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/NibCompatibility@22812 72102866-910b-0410-8b05-ffd578937521
2006-04-25 03:28:59 +00:00
Gregory John Casamento
82d81e046e
Merging changes from base to nib compatibility branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/NibCompatibility@22769 72102866-910b-0410-8b05-ffd578937521
2006-04-09 16:16:07 +00:00
Gregory John Casamento
cba5e8a1a4
Merged changes to NibCompatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/NibCompatibility@22482 72102866-910b-0410-8b05-ffd578937521
2006-02-13 03:36:19 +00:00
Richard Frith-Macdonald
40bdc89439
Trivial debug log improvement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22050 72102866-910b-0410-8b05-ffd578937521
2005-11-20 20:26:32 +00:00
Richard Frith-Macdonald
8333380ff0
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
Adam Fedor
7a2eeb1de4
* Source/NSBundle.m (+pathsForResourcesOfType:inDirectory:,
...
-pathsForResourcesOfType:inDirectory:forLocalization:):
Implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21850 72102866-910b-0410-8b05-ffd578937521
2005-10-21 02:20:41 +00:00
Richard Frith-Macdonald
bfb6ebd9bc
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
Richard Frith-Macdonald
151f6ba9b9
Handle empty path nicely and be more tolerant of lack of resources.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21536 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:11:44 +00:00
Nicola Pero
ce3770a02c
Disabled versioning support for framework on Mingw (win32)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21465 72102866-910b-0410-8b05-ffd578937521
2005-07-13 14:51:57 +00:00
Nicola Pero
2d2a635967
Mangle/demangle framework names in NSFramework_xxx class names to support
...
'-' and '+' in framework names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21455 72102866-910b-0410-8b05-ffd578937521
2005-07-12 14:11:03 +00:00
Richard Frith-Macdonald
4aab090090
Add a comment explaining last change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21337 72102866-910b-0410-8b05-ffd578937521
2005-06-21 12:57:20 +00:00
Richard Frith-Macdonald
0782d3a2ab
Expand tilde in bundle path.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21336 72102866-910b-0410-8b05-ffd578937521
2005-06-21 12:55:30 +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
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
Adam Fedor
85adc3f11c
* 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
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
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
Adam Fedor
c5b59c788c
* 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
Richard Frith-Macdonald
db7b22a4fb
Tidy up use of white space so we have it after if/for/while and not after (
...
or before ) or padding at end of line.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +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
02f54e6dd7
A few NSBundle bugfixes and workaround for problem with using the pth
...
library in gdnc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20367 72102866-910b-0410-8b05-ffd578937521
2004-11-20 20:14:24 +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
c2ed783573
* Source/NSBundle.m (_bundle_name_first_match): Remove path
...
extension when comparing name (fixes #10611 )
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20222 72102866-910b-0410-8b05-ffd578937521
2004-10-14 04:08:24 +00:00
Wim (Willem Rein) Oudshoorn
49957806ae
([NSBundle +mainBundle]): on WIN32 strip .exe
...
extension from executable name when constructing mainBundle path.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18689 72102866-910b-0410-8b05-ffd578937521
2004-02-27 14:08:00 +00:00
Gregory John Casamento
db341559bf
Corrected spelling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18273 72102866-910b-0410-8b05-ffd578937521
2003-12-25 14:59:54 +00:00
Richard Frith-Macdonald
1c51fc5389
Windows path handling fixups by Roland Schwingel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17802 72102866-910b-0410-8b05-ffd578937521
2003-10-08 14:27:11 +00:00
Adam Fedor
35974a8188
loadingBundles fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17640 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:47:50 +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
Richard Frith-Macdonald
dacf96257f
Get rid of bogus warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17057 72102866-910b-0410-8b05-ffd578937521
2003-06-28 05:33:15 +00:00
Adam Fedor
d228cba99b
Change syntax of includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
Richard Frith-Macdonald
ee2cd8cc4c
Bundle fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16678 72102866-910b-0410-8b05-ffd578937521
2003-05-08 17:29:52 +00:00
Adam Fedor
9ca631d7e0
Filesystem change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16565 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:29:49 +00:00
Adam Fedor
c832eea8d3
* Source/NSBundle.m ([NSBundle -bundleIdentifier]): New.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16283 72102866-910b-0410-8b05-ffd578937521
2003-03-28 03:46:31 +00:00
Alexander Malmberg
c64089723a
(+initialize) [PROCFS_EXE_LINK]: Make sure that the link is a path before using it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16131 72102866-910b-0410-8b05-ffd578937521
2003-03-05 14:53:21 +00:00
Richard Frith-Macdonald
02e7c8047c
Minor addition
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15876 72102866-910b-0410-8b05-ffd578937521
2003-02-04 21:49:35 +00:00
Richard Frith-Macdonald
9e7fe6bf12
Tidied for gcc-3.4
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15476 72102866-910b-0410-8b05-ffd578937521
2003-01-03 20:14:47 +00:00
Mirko Viviani
9acedeaf63
* Source/NSBundle.m ([NSBundle +initialize]): check for linked
...
framework in two passes, first collect all the framework classes, then
add it. The previous routine failed to add all the frameworks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15236 72102866-910b-0410-8b05-ffd578937521
2002-12-03 20:30:08 +00:00
Adam Fedor
8fb4fc795d
Check for array with no objects
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15032 72102866-910b-0410-8b05-ffd578937521
2002-11-20 15:14:07 +00:00
Adam Fedor
2e72156fb0
NSBundle.m: New headers and docs
...
cifframe: Fix for structure returns.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15022 72102866-910b-0410-8b05-ffd578937521
2002-11-19 20:38:51 +00:00
Nicola Pero
e66cb4ed1b
Updated comment, tidied indentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14881 72102866-910b-0410-8b05-ffd578937521
2002-10-30 23:47:39 +00:00
Nicola Pero
b2b6c3d947
Implemented locating frameworks which are linked into the application (or
...
into a bundle, or another framework, which is loaded dynamically) by using
objc_get_symbol_path() if available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14880 72102866-910b-0410-8b05-ffd578937521
2002-10-30 23:04:06 +00:00
Mirko Viviani
7dbab5bdc9
2002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it>
...
* Source/NSBundle.m ([NSBundle -load]): set _codeLoaded before loading
the bundle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14839 72102866-910b-0410-8b05-ffd578937521
2002-10-25 15:12:35 +00:00
Mirko Viviani
6b214cdf3c
* Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): remove
...
the classes in the _loadingBundle that does not belong to it but with
frameworks linked with it.
([NSBundle +bundleForClass:]): construct a list of NSFramework_*
classes loaded with the bundle.
([NSBundle -load]): call _addFrameworkFromClass: for all linked
frameworks with the bundle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14761 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:29:54 +00:00
Richard Frith-Macdonald
5dae3b400b
Tidied and improved logging for read from and write to file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14638 72102866-910b-0410-8b05-ffd578937521
2002-10-04 09:08:09 +00:00
Richard Frith-Macdonald
ecbcc202a1
iPerformance and GC improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13726 72102866-910b-0410-8b05-ffd578937521
2002-05-28 05:23:36 +00:00
Richard Frith-Macdonald
b6987f112f
Fix warning when enumerating empty map table
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13719 72102866-910b-0410-8b05-ffd578937521
2002-05-27 10:00:05 +00:00