Commit graph

1866 commits

Author SHA1 Message Date
Andrew McCallum
0ffadf7405 (_NSUncaughtExceptionHandler): Don't declare it static. (Reported by
John Hethcox <johnhe@vnet.net>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2013 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:11:02 +00:00
Andrew McCallum
fea767affa (BITSPERBYTE): If it hasn't been defined after #include's guess that
it's 8.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2012 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:09:19 +00:00
Andrew McCallum
b520b58351 (GNUSTEP_MFILES): Added NSLog.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2011 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:06:06 +00:00
Andrew McCallum
aa74ded3fb Add NSLog definitions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2010 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:05:50 +00:00
Andrew McCallum
f1c28c8008 Completely rewritten by Adam Fedor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2009 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:04:07 +00:00
Andrew McCallum
4a5428113a Include <gnustep/base/config.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2008 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:00:31 +00:00
Andrew McCallum
c6a38091e2 Use NSDefaultMallocZone() instead of 0. And cosmetic changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2007 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:44:55 +00:00
Andrew McCallum
1f69623c87 Use constructor attribute with initialize().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2006 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:38:10 +00:00
Andrew McCallum
f6a5d7b97f Complete rewrite by Yoo C. Chung.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2005 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:35:52 +00:00
Andrew McCallum
db631fa048 Use valloc() in NSAllocateMemoryPages().
Cosmetic style changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2004 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:35:19 +00:00
Andrew McCallum
101fbead74 Use NSDefaultMallocZone() instead of 0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2003 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:35:01 +00:00
Andrew McCallum
f4dff61e12 Use NSDefaultMallocZone() instead of NS_NOZONE.
Use NSZoneFromPointer() instead of NSZoneFromPtr().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2002 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:34:06 +00:00
Andrew McCallum
f7ea36c75b * src/DelegatePool.m:
Use NSDefaultMallocZone() instead of NS_NOZONE.
	* src/NSProcessInfo.m: Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2001 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:33:32 +00:00
Andrew McCallum
ec7cf34014 Removed RCS keyword.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2000 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:06:20 +00:00
Andrew McCallum
aec1f5fad3 The definition of LABEL needed expanding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1999 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:02:08 +00:00
Andrew McCallum
89bb2685a6 ([NSString -componentsSeparatedByString:]): Didn't handle strings with
separators longer than a single character and in other cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1998 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:01:32 +00:00
Andrew McCallum
c04665b08e *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1997 72102866-910b-0410-8b05-ffd578937521
1997-01-05 23:26:25 +00:00
Andrew McCallum
3b1463f2c0 (init_autorelease_thread_vars): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1996 72102866-910b-0410-8b05-ffd578937521
1997-01-05 23:19:22 +00:00
Andrew McCallum
5993b04328 ([NSGMutableCString -insertString:atIndex:]): Use -cStringNoCopy
instead of the removed method -_cStringContents.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1995 72102866-910b-0410-8b05-ffd578937521
1997-01-05 23:17:52 +00:00
Andrew McCallum
123e54e55d Add awake.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1994 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:52:57 +00:00
Andrew McCallum
8e80d1d5f6 Don't include <gnustep/base/String.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1993 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:52:27 +00:00
Andrew McCallum
1f9cd218e1 (StreamException): Change type to NSString from id <String>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1992 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:52:15 +00:00
Andrew McCallum
5f14749807 (NSUserName, NSHomeDirectory, NSDirectoryForUser): Declare them
unconditionally; before it was conditioned on NEXT_FOUNDATION.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1991 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:51:22 +00:00
Andrew McCallum
5c2a679480 (NSUserName, NSHomeDirectory, NSDirectoryForUser): Change the return
types from (char*) to (NSString*).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1990 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:50:30 +00:00
Andrew McCallum
3493b03e40 (init_autorelease_thread_vars): Make it a macro instead of a static
inline function.  This avoids the warning with not optimizing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1989 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:49:30 +00:00
Andrew McCallum
4b18ef1a32 ([Decoder +readSignatureFromCStream:csgetClassname:
nameformatVersion:version]): Better commented.
([Decoder -_coderSubstituteObject:atReference:]): New method.
([Decoder -_coderPushRootObjectTable]): Better commented.
([Decoder -finishDecodingInterconnectedObjects]): Implement an
approach to root-object-based -awakeAfterUsingCoder.
([Decoder -decodeObjectAt:anObjPtr:name]): Send -awakeAfterUsingCoder:
here.  First see if the object actually responds to it, then send it
and make the object substitution if necessary.  Also make the
appropriate substitution in Decoder's internal tables matching
references numbers to objects.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1988 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:47:45 +00:00
Andrew McCallum
dd5068589e (DEFAULT_DEFAULT_FORMAT_VERSION): Renamed from DEFAULT_FORMAT_VERSION,
for clarity with variable by the same old name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1987 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:43:48 +00:00
Andrew McCallum
430fead4ac Add comment and move around headers for easier reading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1986 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:42:49 +00:00
Andrew McCallum
27f5292ecd New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1985 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:41:44 +00:00
Andrew McCallum
3fe6b4ca45 (CFLAGS): Remove -O, for easier debugging.
(SRCS): Added awake.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1984 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:41:36 +00:00
Andrew McCallum
96b3386f54 Fixed `Caveats' comment.
([NSString -commonPrefixWithString:options:]): Method implemeneted.
([NSString -capitalizedString]): Method implemented.
([NSString -lowercaseString]): Method implemented.
([NSString -uppercaseString]): Method implemented.
([NSString -stringByExpandingTildeInPath]): Method implemented.
([NSString -stringByAbbreviatingWithTildeInPath]): Method implemented.
([NSString -stringByStandardizingPath]): Method implemented.
([NSString -_cStringContents]): Method removed.  All callers changed
to use -cStringNoCopy.
([NSString -objectAtIndex:]): Method removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1955 72102866-910b-0410-8b05-ffd578937521
1996-11-24 21:04:24 +00:00
Andrew McCallum
82cae75734 Moved non-OpenStep methods aside, put some under STRICT_OPENSTEP,
others under NO_GNUSTEP.  Reordered declarations to match.
[NSString -_cStringContents]: Method removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1954 72102866-910b-0410-8b05-ffd578937521
1996-11-24 21:00:28 +00:00
Andrew McCallum
f26389edc0 Don't use old String methods; use NSString methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1953 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:31:13 +00:00
Andrew McCallum
98e315e3d0 Don't include <gnustep/base/String.h> and
<gnustep/base/IndexCollection.h>.
[!NO_GNUSTEP]: Declare -cStringNoCopy.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1952 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:30:48 +00:00
Andrew McCallum
2d332aac38 Don't include <gnustep/base/String.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1951 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:29:25 +00:00
Andrew McCallum
e9ec7a79a1 ([TextCStream -decodeName:name]): Don't use the non-existant
+stringWithCStringNoCopy:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1950 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:29:09 +00:00
Andrew McCallum
b36ccd098c ([Stream -readLine]): Don't use the non-existant
+stringWithCStringNoCopy:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1949 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:28:47 +00:00
Andrew McCallum
6c4fd98f95 ([NSString -cStringNoCopy]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1948 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:28:15 +00:00
Andrew McCallum
59a2c40008 ([NSGCString -emptyCopy]): Method removed. It was part of the
Collecting protocol.
([NSGMutableCString -emptyCopy:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1947 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:27:58 +00:00
Andrew McCallum
e506e46022 ([MemoryStream -readLine]): Don't use +stringWithCStringNoCopy:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1946 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:27:01 +00:00
Andrew McCallum
79194a56fa Substitute (NSString*) for (id <String>)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1945 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:30:39 +00:00
Andrew McCallum
ed85bf15d5 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1944 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:24:24 +00:00
Andrew McCallum
26d5358402 (GNU_MFILES): Remove CString.m, ConstantString.m, MutableString.m,
MutableCString.m, String.m.
(GNU_HEADERS): Remove include/String.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1943 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:21:45 +00:00
Andrew McCallum
59aa2070e4 Don't include <gnustep/base/String.h>.
([NSString +initialize]): Don't use static variable to prevent getting
run twice.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1942 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:20:45 +00:00
Andrew McCallum
270d614009 Removed classes NSBTreeBlock, NSBTreeCursor, NSByteStore, and
NSByteStoreFile since they are no longer part of the OpenStep
standard.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1935 72102866-910b-0410-8b05-ffd578937521
1996-11-18 16:30:36 +00:00
Andrew McCallum
de4b255a36 ([Decoder -_coderCreateReferenceForInterconnectedObject:]):
Autorelease the placeholder object to prevent memory leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1930 72102866-910b-0410-8b05-ffd578937521
1996-11-02 20:40:28 +00:00
Andrew McCallum
210c6a105d ([Connection -forwardForProxy:selector:argFrame:]): Add an assertion
that we processed all arguments and dismissed the ConnectedCoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1929 72102866-910b-0410-8b05-ffd578937521
1996-11-02 20:39:47 +00:00
Andrew McCallum
4ad0cffeae *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1927 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:30:15 +00:00
Andrew McCallum
cd145dbcad (DIST_FILES): Remove include/config-win32.sed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1926 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:29:55 +00:00
Andrew McCallum
1816b95a6f *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1925 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:28:10 +00:00