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
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
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
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
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
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
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
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
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
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
ca2a85e3bd
(HAVE_REGISTER_PRINTF_FUNCTION): Move definition below #include's.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1923 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:24:43 +00:00
Andrew McCallum
69623bfb42
([BinaryCStream -encodeValueOfCType:at:withName:name]): Use
...
intermediate float value.
([BinaryCStream -decodeValueOfCType:at:withName:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1920 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:47:42 +00:00
Andrew McCallum
b4587beb3e
Added stringsfile files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1918 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:40:40 +00:00
Andrew McCallum
3f402144d1
Remove duplicated content.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1916 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:39:29 +00:00
Andrew McCallum
a698d2d70d
Fix typo. That's HAVE_STRERROR, not HAS_STRERROR.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1915 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:39:02 +00:00
Andrew McCallum
a577375cfa
([BinaryCStream -decodeValueOfCType:at:withName:]): Don't make float
...
and double `volatile'.
([BinaryCStream -encodeValueOfCType:at:withName:name]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1914 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:38:00 +00:00
Andrew McCallum
05027ef190
(DEFS): Add comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1913 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:11:18 +00:00
Andrew McCallum
e438dfdee0
Include Foundation/NSException.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1912 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:06:15 +00:00
Andrew McCallum
40ab288276
([NSCalendarDate -descriptionWithCalendarFormat:locale:]): Remove
...
unused variables MS and DS. Avoid warning by not trying to sprintf()
a zero-length string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1911 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:05:02 +00:00
Andrew McCallum
40400d83b3
Include gnustep/base/preface.h first.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1909 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:59:15 +00:00
Andrew McCallum
9acf2430d3
(HEADERS_INSTALL): Added include/config.h.
...
(install): Don't install include/config.h specially, it's now done
with the rest of the HEADERS_INSTALL files.
(ALL_CPPFLAGS): Don't pass `-include include/config.h' since
include/preface.h now does that.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1907 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:13:20 +00:00
Andrew McCallum
c26ef3e3d0
(NSUserName): Make is work for SOLARIS.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1905 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:05:14 +00:00
Andrew McCallum
e09ac871dd
([NSUserDefaults -initWithUser:]): Don't try to append to a immutable
...
string!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1904 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:04:41 +00:00
Andrew McCallum
efc429408f
([NSUserDefautls +standardUserDefaults]): When creating a new
...
defaults, return it, not nil!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1903 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:54:23 +00:00
Andrew McCallum
fca7d27283
([BinaryCStream -encodeValueOfCType:at:withName:name]): Use memcpy()
...
instead of assignment to get the floats and doubles from the `at:'
argument.
([BinaryCStream -decodeValueOfCType:at:withName:]): Likewise, for
setting the values. (Reported by M. Decugis
<mds@sepgifbr.sep.de.edf.fr>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1902 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:46:02 +00:00
Andrew McCallum
1381709a43
(getpagesize) [__SOLARIS__]: Define as macro making proper sysconf
...
call.
(NSPageSize): Remove the dependancy on __mach__ to a #define above.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1901 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:34:51 +00:00
Andrew McCallum
801adeb5c6
([MemoryStream -writeFormat:arguments:]): Use VSPRINTF_LENGTH.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1900 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:27:22 +00:00
Andrew McCallum
e7669db788
([NSString -initWithFormat:arguments:]): Use VSPRINTF_LENGTH.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1899 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:27:04 +00:00