Commit graph

295 commits

Author SHA1 Message Date
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
Dave Wetzel
e6b0fe0602 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
Fred Kiefer
0dbc651a6e 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
Richard Frith-Macdonald
19cf3829e4 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
Nicola Pero
c66d2c6427 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
Nicola Pero
3b76d5b727 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
Nicola Pero
1813380d88 Completely ignore categories in the load bundle callback
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12793 72102866-910b-0410-8b05-ffd578937521
2002-02-26 17:36:13 +00:00
Nicola Pero
092e1d508e Return nil when initializing a bundle with a non-existing or non-readable
path; fixed memory leak for nil path during init


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12759 72102866-910b-0410-8b05-ffd578937521
2002-02-25 15:28:06 +00:00
Richard Frith-Macdonald
0fd81a9591 Fix blocking in run loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12567 72102866-910b-0410-8b05-ffd578937521
2002-02-20 06:42:05 +00:00
Nicola Pero
a9fef76e1c Remove experimental +bundleForTool:, and modified +mainBundle to work
for tools as well instaed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12459 72102866-910b-0410-8b05-ffd578937521
2002-02-09 01:06:05 +00:00
Richard Frith-Macdonald
4ab22ac244 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12442 72102866-910b-0410-8b05-ffd578937521
2002-02-08 13:39:51 +00:00
Richard Frith-Macdonald
4c94e46acc New method to get executable paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12441 72102866-910b-0410-8b05-ffd578937521
2002-02-08 13:13:46 +00:00
Nicola Pero
0e2bd154dc Removed some debugging fprintfs which I had left over
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12122 72102866-910b-0410-8b05-ffd578937521
2002-01-16 13:54:11 +00:00
Nicola Pero
40d01b2df9 Fixed dynamical loading of frameworks ... incidentally producing a major
simplification of code (might load bundle faster too)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12120 72102866-910b-0410-8b05-ffd578937521
2002-01-16 13:52:39 +00:00
Nicola Pero
8e3628c668 Indentation changes - only code change is that the third argument of strncmp
should be 12 not 12*sizeof(char)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12118 72102866-910b-0410-8b05-ffd578937521
2002-01-16 13:03:45 +00:00
Nicola Pero
c23685096b Added +bundleForLibrary: and +bundleForTool:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11874 72102866-910b-0410-8b05-ffd578937521
2001-12-21 18:31:06 +00:00
Richard Frith-Macdonald
a0a6f5f346 Added date version and title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11814 72102866-910b-0410-8b05-ffd578937521
2001-12-18 16:54:15 +00:00
Richard Frith-Macdonald
5be36e089c Many minor fixes for autogsdoc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11787 72102866-910b-0410-8b05-ffd578937521
2001-12-17 14:31:42 +00:00
Adam Fedor
1e287c7727 Fix paths on Windows. Sparc gdb fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11166 72102866-910b-0410-8b05-ffd578937521
2001-10-17 03:45:32 +00:00
Adam Fedor
3e68ec5016 Headers and funcs for NeXT_RUNTIME
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10028 72102866-910b-0410-8b05-ffd578937521
2001-05-29 02:38:22 +00:00
Nicola Pero
7889de51e7 Do not crash is NSSearchPathForDirectoriesInDomain return nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9671 72102866-910b-0410-8b05-ffd578937521
2001-04-23 11:27:11 +00:00
Jonathan Gapen
9db551023e Path-finding updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9497 72102866-910b-0410-8b05-ffd578937521
2001-03-26 23:09:44 +00:00
Richard Frith-Macdonald
7c17c89a5e Bugfix ... use userLanguages again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9286 72102866-910b-0410-8b05-ffd578937521
2001-03-03 15:58:02 +00:00
Jonathan Gapen
568a83caf3 Configure script tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9259 72102866-910b-0410-8b05-ffd578937521
2001-03-01 11:03:39 +00:00
Richard Frith-MacDonald
5c8b61a934 Minor win32 fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8468 72102866-910b-0410-8b05-ffd578937521
2001-01-03 15:40:22 +00:00
Mirko Viviani
cee9b5401c added missed alloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8181 72102866-910b-0410-8b05-ffd578937521
2000-11-23 00:22:23 +00:00
Mirko Viviani
c72deb7ce3 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8180 72102866-910b-0410-8b05-ffd578937521
2000-11-23 00:20:12 +00:00
Richard Frith-MacDonald
73c7a73a05 Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8120 72102866-910b-0410-8b05-ffd578937521
2000-11-15 11:40:00 +00:00
Mirko Viviani
42ffe0b536 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): avoid crash
when called with Nil class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8074 72102866-910b-0410-8b05-ffd578937521
2000-11-10 10:57:36 +00:00
Richard Frith-MacDonald
1f4a646fa8 Some tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7965 72102866-910b-0410-8b05-ffd578937521
2000-11-01 12:31:21 +00:00
Mirko Viviani
bf7f7e8c36 * configure.in: added --with-libxml-include, --with-libxml-library
and --with-libiconv-library.
Added -I/usr/local/include and -L/usr/local/lib for FreeBSD.

* framework.make: new file.
* common.make: added common frameworks defines (library, header paths).
* bundle.make: added ALL_FRAMEWORKS_DIRS
* rules.make: added frameworks headers flags. Prebuild framework
header dir. Set framework name/dir/version.
* subproject.make: build framework headers and resource files.
* target.make: added SHARED_FRAMEWORK_LINK_CMD
* tool.make: added ALL_FRAMEWORKS_DIRS
* ld_lib_path.csh: added paths for frameworks.
* ld_lib_path.sh (lib_paths): added paths for frameworks.
* GNUmakefile.in (MAKE_FILES): added framework.make

* Headers/gnustep/base/NSBundle.h: added ivar.
* Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): new private
method to parse NSFramework_* classes.
(_bundle_load_callback): added framework support. Wrap classes in a
NSValue to avoid implicit initialization.
([NSBundle +allBundles]): added framework support.
([NSBundle +allFrameworks]): implemented.
([NSBundle +bundleForClass:]): get classes from NSValue object.
([NSBundle -classNamed:]): likewise.

* Headers/gnustep/base/objc-load.h (LINKER_GETSYMBOL): new define.
* Source/objc-load.m (objc_get_symbol_path): get lib path of a Class
or Category.
* Source/simple-load.h (__objc_dynamic_get_symbol_path): indentifies
lib path of a symbol.
* Source/dld-load.h (__objc_dynamic_get_symbol_path): not supported.
* Source/hpux-load.h (__objc_dynamic_get_symbol_path): not implemented.

* Source/mframe/mframe.foot (mframe_get_arg): typ declaration fix.
(mframe_set_arg): idem

* Headers/gnustep/base/config.h.in: added HAVE_DLADDR
* aclocal.m4 (OBJC_SYS_DYNAMIC_LINKER): test for dladdr()
* configure.in: added --with-libxml-include and --with-libxml-library,
added -I/usr/local/include and -L/usr/local/lib for FreeBSD.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7918 72102866-910b-0410-8b05-ffd578937521
2000-10-28 21:58:48 +00:00
Adam Fedor
7d97016299 Bundle match fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6761 72102866-910b-0410-8b05-ffd578937521
2000-06-21 15:25:30 +00:00
Adam Fedor
257c752b86 Better DLL handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6679 72102866-910b-0410-8b05-ffd578937521
2000-06-14 04:03:56 +00:00
Adam Fedor
90f99a043c Remove non-Openstep classes. More WIN32 changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6669 72102866-910b-0410-8b05-ffd578937521
2000-06-13 14:50:40 +00:00
Adam Fedor
7066b8e47f Mingw update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6666 72102866-910b-0410-8b05-ffd578937521
2000-06-12 05:17:41 +00:00
Adam Fedor
420a803031 Fix name search so full path is returned
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6643 72102866-910b-0410-8b05-ffd578937521
2000-06-06 22:12:39 +00:00
Adam Fedor
9de41b06f6 Fixes for Windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6641 72102866-910b-0410-8b05-ffd578937521
2000-06-06 16:50:52 +00:00
Richard Frith-MacDonald
f728e7771f Thread safety fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6623 72102866-910b-0410-8b05-ffd578937521
2000-05-27 05:05:10 +00:00
Adam Fedor
d9201252dc Update pathc check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6609 72102866-910b-0410-8b05-ffd578937521
2000-05-23 16:26:40 +00:00
Adam Fedor
64235f4fa4 gnustep_bundle fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6591 72102866-910b-0410-8b05-ffd578937521
2000-05-11 04:03:51 +00:00
Adam Fedor
98a2cf5435 bundle fix. Update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6517 72102866-910b-0410-8b05-ffd578937521
2000-04-26 03:43:08 +00:00
Adam Fedor
c5fb445c87 mainBundle patch fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6482 72102866-910b-0410-8b05-ffd578937521
2000-04-18 21:34:59 +00:00
Richard Frith-MacDonald
2b534ae637 Fixes for nsbundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6100 72102866-910b-0410-8b05-ffd578937521
2000-02-24 22:16:53 +00:00
Richard Frith-MacDonald
7fe9cf7400 Improve error message if localization table isn't found.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5185 72102866-910b-0410-8b05-ffd578937521
1999-11-15 07:17:05 +00:00
Adam Fedor
078e46d305 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
Richard Frith-MacDonald
818b4aad92 Fixed [NSProcessInfo -processName] and updated places that used it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4809 72102866-910b-0410-8b05-ffd578937521
1999-09-03 08:59:07 +00:00
Richard Frith-MacDonald
79efb3ad6e Fixed test of default NSShowNonLocalizedStrings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4681 72102866-910b-0410-8b05-ffd578937521
1999-08-01 06:21:15 +00:00
Richard Frith-MacDonald
05f1595344 Fixed error in release of bundles that shouldn't be deallocated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4239 72102866-910b-0410-8b05-ffd578937521
1999-05-11 10:11:48 +00:00
Richard Frith-MacDonald
0e724b3880 Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4225 72102866-910b-0410-8b05-ffd578937521
1999-05-07 13:51:37 +00:00
Richard Frith-MacDonald
a7505ae333 optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4223 72102866-910b-0410-8b05-ffd578937521
1999-05-07 12:20:35 +00:00
Richard Frith-MacDonald
8420776152 Improve performance of [-release]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4220 72102866-910b-0410-8b05-ffd578937521
1999-05-07 09:02:43 +00:00
Richard Frith-MacDonald
1dbd6cc410 Performance improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4215 72102866-910b-0410-8b05-ffd578937521
1999-05-06 19:37:45 +00:00
Richard Frith-MacDonald
c12d0a9fb8 Prevent recursion when fetching localised strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4122 72102866-910b-0410-8b05-ffd578937521
1999-04-23 13:56:22 +00:00
Adam Fedor
5d1757497b Localization fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4119 72102866-910b-0410-8b05-ffd578937521
1999-04-23 02:54:45 +00:00
Richard Frith-MacDonald
4dc88aa719 Improvements for localisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4116 72102866-910b-0410-8b05-ffd578937521
1999-04-22 21:26:10 +00:00
Richard Frith-MacDonald
7245fcb161 Updated localisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4115 72102866-910b-0410-8b05-ffd578937521
1999-04-22 21:01:38 +00:00
Richard Frith-MacDonald
05f1223db3 Generally improved launching of programs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4076 72102866-910b-0410-8b05-ffd578937521
1999-04-14 10:34:56 +00:00
Richard Frith-MacDonald
a7f9d28f0d Implemented allBundles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4075 72102866-910b-0410-8b05-ffd578937521
1999-04-14 08:48:32 +00:00
Richard Frith-MacDonald
05286efbe9 Support for flattened directory structure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4073 72102866-910b-0410-8b05-ffd578937521
1999-04-13 21:56:03 +00:00
Richard Frith-MacDonald
3ef8f9a0da Added new debugging macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3897 72102866-910b-0410-8b05-ffd578937521
1999-03-11 11:07:21 +00:00
Adam Fedor
52f6bc90ae Makefile changes to compile thinkg in place.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3496 72102866-910b-0410-8b05-ffd578937521
1998-12-20 21:27:47 +00:00
Richard Frith-MacDonald
22e6600970 Minor feature fix - Info.plist -> Info-gnustep.plist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3315 72102866-910b-0410-8b05-ffd578937521
1998-11-24 03:46:21 +00:00
Richard Frith-MacDonald
5777121734 Replace assert with NSAssert
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3248 72102866-910b-0410-8b05-ffd578937521
1998-11-19 21:26:27 +00:00
Adam Fedor
b9d90bf382 Add methods from Rhapsody.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3220 72102866-910b-0410-8b05-ffd578937521
1998-11-16 19:36:51 +00:00
Adam Fedor
b84d76cf33 Better configuration, gui will compile without DPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2954 72102866-910b-0410-8b05-ffd578937521
1998-09-03 14:35:49 +00:00
Richard Frith-MacDonald
d41656115a Update reading of environment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2919 72102866-910b-0410-8b05-ffd578937521
1998-08-12 15:07:03 +00:00
Richard Frith-MacDonald
72f05b6a88 * src/NSBundle: ([+initialize]) modified to take account of the
environment variables GNUSTEP_TARGET_DIR, GNUSTEP_TARGET_CPU,
        GNUSTEP_TARGET_OS, and LIBRARY_COMBO to override the defaults.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2918 72102866-910b-0410-8b05-ffd578937521
1998-08-12 14:41:20 +00:00
Richard Frith-MacDonald
40241d9ba9 Have NSDebugLog() and NSDebugLLog()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2901 72102866-910b-0410-8b05-ffd578937521
1998-08-04 12:27:57 +00:00
Richard Frith-MacDonald
b45c31a805 Revised NSDebugLog() stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2899 72102866-910b-0410-8b05-ffd578937521
1998-08-04 10:45:43 +00:00
Adam Fedor
9a7f58d597 New split view, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2869 72102866-910b-0410-8b05-ffd578937521
1998-07-28 17:51:55 +00:00
Adam Fedor
99692ecb51 NSSet additions, better NSDebugLog, added defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2854 72102866-910b-0410-8b05-ffd578937521
1998-07-15 16:33:33 +00:00
Adam Fedor
c5ccc27038 Minor change name variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2799 72102866-910b-0410-8b05-ffd578937521
1998-05-15 21:01:11 +00:00
Adam Fedor
65b9b6186c Various fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2796 72102866-910b-0410-8b05-ffd578937521
1998-05-13 19:25:38 +00:00
Adam Fedor
d286ed38b2 Simplify configure, quiet warnings (from Wacko).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2674 72102866-910b-0410-8b05-ffd578937521
1997-12-11 19:09:56 +00:00
Adam Fedor
55b12328d1 Minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2620 72102866-910b-0410-8b05-ffd578937521
1997-11-06 18:26:51 +00:00
Scott Christley
369c38280a Remove dependency upon config.h by headers files and include
directly in source files because the config.h file is system
dependent, used just for compiling the source, and should
not be installed.
Some minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2619 72102866-910b-0410-8b05-ffd578937521
1997-11-06 00:51:23 +00:00
Scott Christley
a992701d88 Make the system root be the default installation root.
Use test.make for test programs so that they do not get installed.
Fix NSBundle so that it removes the library combo, target os, and
target cpu when determining the bundle's dir path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2592 72102866-910b-0410-8b05-ffd578937521
1997-10-30 22:23:50 +00:00
Adam Fedor
dd9eaaa18b Retain/Release and DO patches from Richard Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2571 72102866-910b-0410-8b05-ffd578937521
1997-10-28 14:34:49 +00:00
Scott Christley
9db12ac373 Get NSTimeZone to work in GNUstep directory structure.
Add GNUstep specific method to NSBundle which will search the GNUstep
directory structure for resource files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2528 72102866-910b-0410-8b05-ffd578937521
1997-10-18 19:49:50 +00:00
Scott Christley
7a235b4935 Fix NSDictionary and NSMutableDictionary implementation.
NSCharacterSet searches in appropriate places for resources.
NSBundle no longer supports GNUSTEP_LIBRARY_PATH variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2519 72102866-910b-0410-8b05-ffd578937521
1997-10-16 23:56:27 +00:00
Scott Christley
4a99922d47 Merge in changes from NET-Community.
Add DLL support on Windows platforms.
Numerous minor bug fixes related to Windows platforms.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2420 72102866-910b-0410-8b05-ffd578937521
1997-09-13 17:52:31 +00:00
Adam Fedor
25afcc3594 Patches submitted from May 20 to Aug 28 1997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
1997-09-01 21:59:51 +00:00
Andrew McCallum
e5722c2391 Temporarily comment out some code with #if 0/1 so it will compile.
Get Adam Fedor or someone to fix it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2331 72102866-910b-0410-8b05-ffd578937521
1997-05-03 21:04:39 +00:00
Andrew McCallum
5933e1ac9a Changes from Richard Frith-Macdonald. See ChangeLog Apr 25 01:30:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2313 72102866-910b-0410-8b05-ffd578937521
1997-05-03 19:22:17 +00:00
Andrew McCallum
2969f845d4 Changes from Scott Christley. See ChangeLog Mar 4 10:47:18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2295 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:25:25 +00:00
Andrew McCallum
89f78cc23b Changes from Scott Christley. See ChangeLog Feb 27 13:46:10
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2294 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:24:31 +00:00
Andrew McCallum
930eac70a3 ([NSBundle +pathForResource:ofType:inDirectory:]): Change it from an
instance method to a class method, in order to conform to spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2292 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:17:08 +00:00
Andrew McCallum
92c8adc87a Rearrange #include's a little.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2033 72102866-910b-0410-8b05-ffd578937521
1997-01-09 17:01:14 +00:00
Andrew McCallum
fbac142cfb Changes by Adam Fedor. See Nov 13 ChangeLog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2018 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:30:33 +00:00
Andrew McCallum
52441fecef Changes made in Rochester. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1650 72102866-910b-0410-8b05-ffd578937521
1996-07-15 18:41:44 +00:00
Andrew McCallum
168f431ba9 Change "Gnustep" to "GNUstep"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1521 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:56:10 +00:00
Andrew McCallum
05817bc168 Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1451 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:55:26 +00:00
Andrew McCallum
a8ae3dddbb Fix typo; it is preface.h, not prefix.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1420 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:34:35 +00:00
Andrew McCallum
838ac3681f Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1419 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:23:00 +00:00
Andrew McCallum
f744067833 ([NSBundle +setSystemLanguages:]): Comment out unused variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1270 72102866-910b-0410-8b05-ffd578937521
1996-03-26 00:28:39 +00:00
Andrew McCallum
c4950521ad Minor comment format fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1165 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:54:56 +00:00
Andrew McCallum
8c940cb2bb WinNT and thread-related odifications from Scott Christley
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@915 72102866-910b-0410-8b05-ffd578937521
1996-02-13 15:43:30 +00:00
Andrew McCallum
009510d132 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@743 72102866-910b-0410-8b05-ffd578937521
1996-01-21 01:36:47 +00:00
Andrew McCallum
2e9ca621e3 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@612 72102866-910b-0410-8b05-ffd578937521
1995-09-21 17:42:46 +00:00
Andrew McCallum
97d0500c5b Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@608 72102866-910b-0410-8b05-ffd578937521
1995-09-12 22:30:13 +00:00
Andrew McCallum
d2ab1155ef * src/NSBundle.m (bundle_object_name, bundle_resource_path,
[NSBundle +mainBundle], [NSBundle +setSystemLanguages:]): Remove
dependency on NSString for calculating paths.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@520 72102866-910b-0410-8b05-ffd578937521
1995-08-02 16:58:51 +00:00
Andrew McCallum
7699a66d17 Include from <Foundation/...>, not <foundation/...>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@391 72102866-910b-0410-8b05-ffd578937521
1995-04-17 21:13:20 +00:00
Andrew McCallum
3ff2cb8419 Second patch of Apr 3 from Adam Fedor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@252 72102866-910b-0410-8b05-ffd578937521
1995-04-03 21:20:29 +00:00
Andrew McCallum
139e97defa Apr 3 patch from Adam Fedor. See ChangeLog for details.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@249 72102866-910b-0410-8b05-ffd578937521
1995-04-03 20:07:18 +00:00
Andrew McCallum
3b6558d80d Don't include NSObjectPrivate.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@180 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:43:19 +00:00
Andrew McCallum
4e1e3b6d7d Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@161 72102866-910b-0410-8b05-ffd578937521
1995-03-18 17:15:15 +00:00