Commit graph

150 commits

Author SHA1 Message Date
rfm
d684f59787 ignore framework version on windows ... not supported
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22448 72102866-910b-0410-8b05-ffd578937521
2006-02-08 07:57:07 +00:00
CaS
9e37bd13d7 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
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
fedor
66e7354c1a * 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
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
6299b1f9b4 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
nico
8ec2358a96 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
nico
5abd5a81b4 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
CaS
e7c655ac4b 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
CaS
b71746b96d 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
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
304fce01db 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
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
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
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
CaS
0708409c1b 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
ratmice
652609e55d 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
CaS
ddc3ee78c2 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
fedor
ee92fa6367 * 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
fedor
f67c563d8e * 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
59f45702c8 ([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
uid65715
8b5050e0a2 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
CaS
c019ce0f9e 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
fedor
e2566a2247 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
ayers
73dc4cb9f6 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
CaS
dd58f52371 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
fedor
0e59d4552d 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
CaS
9bfcd9ce42 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
fedor
32ae9a0f45 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
fedor
0293df79c7 * 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
alexm
afc3fc9316 (+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
CaS
1f71d07b8d 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
CaS
d64578fc3e 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
4cce9f58b6 * 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
fedor
b1d1b629bc 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
fedor
cd7ded7aca 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
nico
15fe275c10 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
nico
80d7109d6c 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
bca5e26929 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
46ab731b39 * 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
CaS
72d997aa58 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
CaS
e7b980cdda 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
CaS
97d4a3e0d0 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
dwetzel
be5c099357 mainBundle works now with GSWeb (.gswa and .woa wrapper names)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13669 72102866-910b-0410-8b05-ffd578937521
2002-05-21 12:53:46 +00:00
FredKiefer
d252ff1a30 Use fileSystemRepresentation instead of cString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13612 72102866-910b-0410-8b05-ffd578937521
2002-05-08 23:19:22 +00:00
CaS
79f3f57034 Fixes to get stuff to work after autoconf changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13578 72102866-910b-0410-8b05-ffd578937521
2002-05-02 21:22:06 +00:00
nico
8b35de5603 Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13360 72102866-910b-0410-8b05-ffd578937521
2002-04-05 01:09:41 +00:00
nico
5e8872f5a6 Removed custom retain counting; retain all loaded bundles so that
bundleForClass: works; replace for efficiency [NSBundle method] with
[self method] when possible


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12796 72102866-910b-0410-8b05-ffd578937521
2002-02-26 18:06:51 +00:00