Commit graph

167 commits

Author SHA1 Message Date
Sheldon Gill
caa931adb4 -[NSString unicharString] rename to -[NSString UTF16String] and start using it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/mswin-ng@23978 72102866-910b-0410-8b05-ffd578937521
2006-10-28 08:28:16 +00:00
Sheldon Gill
00f6762e2d Merged GSVersionMacros.h change from trunk/HEAD
Corrected FSF location layout. All very cosmetic


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/mswin-ng@23929 72102866-910b-0410-8b05-ffd578937521
2006-10-21 09:49:18 +00:00
Sheldon Gill
8b1ef1ab48 Declare module private things static.
More fixing string encodings


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/mswin-ng@23902 72102866-910b-0410-8b05-ffd578937521
2006-10-18 05:14:04 +00:00
Richard Frith-MacDonald
79c2ae503c Implement missing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23487 72102866-910b-0410-8b05-ffd578937521
2006-09-13 07:31:38 +00:00
Richard Frith-MacDonald
f03b968a46 more threading fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23448 72102866-910b-0410-8b05-ffd578937521
2006-09-10 13:30:05 +00:00
Richard Frith-MacDonald
caa74e2108 minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23327 72102866-910b-0410-8b05-ffd578937521
2006-08-25 14:15:45 +00:00
Richard Frith-MacDonald
e40074f3db Tidied up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22977 72102866-910b-0410-8b05-ffd578937521
2006-05-24 08:27:39 +00:00
Richard Frith-MacDonald
60878d7d2c NSString restructuring and bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22924 72102866-910b-0410-8b05-ffd578937521
2006-05-14 18:01:13 +00:00
Richard Frith-MacDonald
ff7e63c376 Add bundleWithIdentifier:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22897 72102866-910b-0410-8b05-ffd578937521
2006-05-11 10:16:55 +00:00
Richard Frith-MacDonald
5dac5f97a9 Added experimental stacktrace printing support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22878 72102866-910b-0410-8b05-ffd578937521
2006-05-08 15:30:52 +00:00
Richard Frith-MacDonald
db4d168095 Find library bundles for debug/profile library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22867 72102866-910b-0410-8b05-ffd578937521
2006-05-07 07:49:45 +00:00
Richard Frith-MacDonald
f7d0a2e48b NSBundle improvements for bundles created using bundleForLibrary:
or bundleForClass:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22859 72102866-910b-0410-8b05-ffd578937521
2006-05-05 11:06:57 +00:00
Jeremy Bettis
7d20644264 NSBundle.m: objc_executable_location(): A cast was obsuring a misuse of fileSystemRepresentation
NSFileManager.m: isExecutableFileAtPath: Added a comment
NSPropertyList.m: propertyListFromData:mutabilityOption:format:errorDescription: Don't call memcmp if the data is smaller than 8 bytes.
objc-load.m: mingw unicode
win32-load.h: mingw unicode
NSUserDefaultsWin32.m: Write defaults to registry as unicode strings, read in either unicode(REG_SZ) or ascii(REG_BINARY).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22782 72102866-910b-0410-8b05-ffd578937521
2006-04-12 19:52:10 +00:00
Richard Frith-MacDonald
9526fb065f Attempt to warn about non-portable character encodings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22739 72102866-910b-0410-8b05-ffd578937521
2006-04-02 18:07:21 +00:00
Richard Frith-MacDonald
48d81791bc Fix error copying directories.
Fix bundle for base library.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22621 72102866-910b-0410-8b05-ffd578937521
2006-03-08 14:25:55 +00:00
Richard Frith-MacDonald
c2e8c881e7 Some cleanup in preparation for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22618 72102866-910b-0410-8b05-ffd578937521
2006-03-08 11:28:59 +00:00
Richard Frith-MacDonald
1c89b5daed Implement lazy evaluation of path to executable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22523 72102866-910b-0410-8b05-ffd578937521
2006-02-21 09:19:59 +00:00
Richard Frith-MacDonald
87e0726363 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
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