Commit graph

1259 commits

Author SHA1 Message Date
Andrew McCallum
4c5b9d86b8 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2311 72102866-910b-0410-8b05-ffd578937521
1997-05-03 19:18:21 +00:00
Andrew McCallum
baf1c51ca8 ([Decoder -decodeObjectAt:anObjPtr:name]) [CODER_OBJECT_REPEATED]:
Retain the object before returning it by reference.  (Reported by
Richard Frith-Macdonald <richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2307 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:20:16 +00:00
Andrew McCallum
8f627a8137 (NSNonRetainedObjectHashCallBacks): Renamed from
NSNonRetainedObjectsHashCallBacks to conform to spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2306 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:17:23 +00:00
Andrew McCallum
9c10f43dab Changes from Yoo C. Chung. See ChangeLog Mar 29 00:43:18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2305 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:15:44 +00:00
Andrew McCallum
839af2b8f9 Changes from Mark Kettenis. See ChangeLog Mar 23
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2304 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:13:17 +00:00
Andrew McCallum
5b252113a1 (UNICODE_HEADERS): New variable.
(DIST_FILES): Add UNICODE_HEADERS.
(copy-dist): Create directory for unicode.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2303 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:09:26 +00:00
Andrew McCallum
6690dfea9b Changes from Stevo Crvenkovski. See ChangeLog Mar 23 22:14:21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2302 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:05:21 +00:00
Andrew McCallum
60836e9864 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2301 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:04:21 +00:00
Andrew McCallum
e2e8741a81 Changes from Yoo C. Chung <wacko@power1.snu.ac.kr>. See ChangeLog Feb 9 20:28:00 to Feb 14 08:51:39
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2297 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:28:54 +00:00
Andrew McCallum
0f45fc53ee Changes from Scott Christley. See ChangeLog Mar 6 08:57:29
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2296 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:26:16 +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
4bbcf235d0 ([NSCharacterSet +_bitmapForSet:number:]): Revert last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2291 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:16:10 +00:00
Andrew McCallum
147720cc3a Changes from Jeremy Bettis. See ChangeLog Jan 21 17:09:09
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2290 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:05:57 +00:00
Andrew McCallum
e6a5490ab1 (GNUSTEP_HEADERS): Added include/NSHost.h.
(GNUSTEP_MFILES): Added NSHost.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2288 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:04:11 +00:00
Andrew McCallum
cbf0bfc40b ([NSCharacterSet +_bitmapForSet:number:]): Use NSBundle's
pathForResource:ofType:inDirectory method properly.  (Reported by
Stevo Crvenkovski <stevoc@lotus.mpt.com.mk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2287 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:01:57 +00:00
Andrew McCallum
6d8b053262 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2285 72102866-910b-0410-8b05-ffd578937521
1997-05-03 16:31:40 +00:00
Andrew McCallum
d27406e315 ([Connection -registerName:]): New method.
([Connection +newForInPort:outPort:ancestorConnection:]): Ask the
delegate for permission to create the new connection.  We were already
doing it GNUstep-style.  Do it OpenStep-style also.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2283 72102866-910b-0410-8b05-ffd578937521
1997-05-03 16:30:07 +00:00
Andrew McCallum
e49c1601ba ([NSGArchiver -archiverData]): New method. No implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2282 72102866-910b-0410-8b05-ffd578937521
1997-05-03 16:28:47 +00:00
Andrew McCallum
3d66c6339b *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2223 72102866-910b-0410-8b05-ffd578937521
1997-03-04 16:05:29 +00:00
Andrew McCallum
1aa9d5f2c8 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2222 72102866-910b-0410-8b05-ffd578937521
1997-03-04 16:04:17 +00:00
Andrew McCallum
62b2cc43a9 ([Connection -forwardForProxy:selector:argFrame:]): In nested function
decoder(), always set IP to -1 after sending it -dismiss, i.e. in both
cases.  Fix the assertion at the bottom so that IP is allowed to be
nil, which will be the case when mframe_build_return() never calls
decoder(), which will happen when we are returning void.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2220 72102866-910b-0410-8b05-ffd578937521
1997-03-04 15:53:52 +00:00
Andrew McCallum
be7036a1a0 ([Decoder -finishDecodingInterconnectedObjects]): Comment fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2219 72102866-910b-0410-8b05-ffd578937521
1997-03-04 15:51:57 +00:00
Andrew McCallum
fea0df7249 ([Proxy -awakeAfterUsingCoder:]): New method. Needed otherwise we get
an infinite loop with Decoder trying to send this message to a Proxy.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2218 72102866-910b-0410-8b05-ffd578937521
1997-03-04 15:51:20 +00:00
Andrew McCallum
ebfa059256 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2210 72102866-910b-0410-8b05-ffd578937521
1997-03-03 20:10:10 +00:00
Andrew McCallum
ab1693ff56 Changes by Scott Christley. See ChangeLog Feb 25
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2209 72102866-910b-0410-8b05-ffd578937521
1997-03-03 20:07:35 +00:00
Andrew McCallum
3e2ce5f1fd Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Feb 6
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2206 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:58:17 +00:00
Andrew McCallum
8a77b79ada Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Feb 4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2205 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:56:37 +00:00
Andrew McCallum
c5b0cb101c Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Jan 20,21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2203 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:51:04 +00:00
Andrew McCallum
c07f920c70 Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Jan 20
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2202 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:46:52 +00:00
Andrew McCallum
af908b993e Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2201 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:43:25 +00:00
Andrew McCallum
c03261dd56 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2200 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:40:50 +00:00
Andrew McCallum
076fa71db3 (PRE_SIZEOF_PREFIX_FORMAT_VERSION): New macro for old version number.
(CURRENT_FORMAT_VERSION): New macro.
(DEFAULT_FORMAT_VERSION): Changed from 0 to 1.
([BinaryCStream -_initForReadingFromPostSignatureStream:
withFormatVersion:]): New method.
([BinaryCStream -initForWritingToStream:swithFormatVersion:]): New
method.
(WRITE_SIGNED_TYPE0): Renamed from WRITE_SIGNED_TYPE.
(WRITE_SIGNED_TYPE1): New macro.
(WRITE_SIGNED_TYPE): New macro for choosing between them.
(READ_SIGNED_TYPE0): Renamed from READ_SIGNED_TYPE.
(READ_SIGNED_TYPE1): New macro.
(READ_SIGNED_TYPE): New macro for choosing between them.
(WRITE_UNSIGNED_TYPE0, WRITE_UNSIGNED_TYPE1, WRITE_SIGNED_UNTYPE,
READ_UNSIGNED_TYPE0, READ_UNSIGNED_TYPE1, READ_UNSIGNED_TYPE):
Likewise.
([BinaryCStream -encodeValueOfCType:at:withName:name]): Don't use
`unsigned' as part of the argument to the *_UNSIGNED_TYPE macros,
because the macros now include that themselves.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2047 72102866-910b-0410-8b05-ffd578937521
1997-01-12 18:59:14 +00:00
Andrew McCallum
4443c2fea3 ([CStream -_initForReadingFromPostSignatureStream:
withFormatVersion:]): New method.
([CStream +cStreamReadingFromStream:s]): Use it.
([CStream -initForReadingFromStream:swithFormatVersion:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2046 72102866-910b-0410-8b05-ffd578937521
1997-01-12 18:49:08 +00:00
Andrew McCallum
eaadce5a82 (NSCreateZone): Call initialize(), so that we won't crash if someone
tries to create an object before main() and before initialize() gets
called as a constructor.
(NSDefaultMallocZone): Likewise.
(initialize): Use a static variable to return immediately if we've
been run already.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2042 72102866-910b-0410-8b05-ffd578937521
1997-01-11 21:39:38 +00:00
Andrew McCallum
61ba3d1097 ([NSTimer -compare:]): New method, so they get properly sorted in a
Heap in RunLoop.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2041 72102866-910b-0410-8b05-ffd578937521
1997-01-11 21:35:35 +00:00
Andrew McCallum
ea4ac8b515 (STRVAL): Make it a macro instead of an inline function to avoid
warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2037 72102866-910b-0410-8b05-ffd578937521
1997-01-09 21:49:58 +00:00
Andrew McCallum
55bfffc819 (NSLogPageSize): Use NSPageSize() instead of ns_page_size().
(NSRoundDownToMultipleOfPageSize): Likewise.
(NSRoundUpToMultipleOfPageSize): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2036 72102866-910b-0410-8b05-ffd578937521
1997-01-09 19:13:50 +00:00
Andrew McCallum
bafa09946b ([NSString -copy]): Use NSDefaultMallocZone() instead of NS_NO_ZONE.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2035 72102866-910b-0410-8b05-ffd578937521
1997-01-09 19:12:56 +00:00
Andrew McCallum
a8b68ee7ca ([NSCharacterSet +_bitmapForSet:number:]): Remove last parameter from
calls to [NSBundle pathForResource...].  The method doesn't exist.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2034 72102866-910b-0410-8b05-ffd578937521
1997-01-09 17:02:56 +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
b3560edbc5 Changes from Scott Christley. See ChangeLog Dec 04 and Nov 21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2032 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:24:07 +00:00
Andrew McCallum
9d46f24e66 ([Connection -_getReceivedReplyRmcWithSequenceNumber:]): Break if the
RunLoop returns NO.  (Reported by Richard Frith-Macdonald
<richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2031 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:20:35 +00:00
Andrew McCallum
51e3defb59 ([NSDictionary +dictionaryWithContentsOfFile:]): Method implemented.
(From Scott Christley.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2030 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:05:09 +00:00
Andrew McCallum
caaf447fea ([NSString -initWithFormat:arguments:]): Increase BUFFER_EXTRA by a
factor of 500.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2029 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:01:52 +00:00
Andrew McCallum
31d6a86b85 (mframe_build_return): Change the way values of type smaller than
(int) are returned---don't offset into the int.  (Recommended by
Richard Frith-Macdonald <richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2027 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:45:08 +00:00
Andrew McCallum
ccda8c7cb6 (-dealloc): Added call to NSDeallocateObject() to ensure that the
memory used by the enumerator is released.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2026 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:39:41 +00:00
Andrew McCallum
d20d3fe7bc (-initForWritingToStream:withFormatVersion:cStreamClass:cStreamFormatVersion:):
Release stream after invoking initialisation method of super which
retains it.  To fix memory leaks.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2025 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:38:54 +00:00
Andrew McCallum
d0608bc69e Release packet after invoking initialisation method of super which
retains it.  To fix memory leaks.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2024 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:38:28 +00:00
Andrew McCallum
45dd488210 ([NSDictionary -initWithContentsOfFile:]): Implemented. (By David
Wetzel <dave@turbocat.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2022 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:43:08 +00:00
Andrew McCallum
02e668e975 [NSAssertionHandler -handleFailureInMethod:object:file:
lineNumber:description:]: Use the FORMAT argument!  (Reported by
Wolfgang Baron <wbaron@ixpoint.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2021 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:40:16 +00:00
Andrew McCallum
226e4baf5e ([NSString -hasPrefix:]): Fix logic to return correct value.
(Reported by David Wetzel <dave@turbocat.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2020 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:36:21 +00:00
Andrew McCallum
ce365fc853 (NSLogPageSize): Fix logic to return correct value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2019 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:34:37 +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
ccafde3c62 * src/mframe.m (mframe_build_return()):
Cooperate with [Connection forwardForProxy:selector:argFrame:] so
	that it's callback function is called to tell it dismiss the
	ConnectedDecoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2017 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:22:30 +00:00
Andrew McCallum
67423c4b62 * src/Connection.m ([Connection +rootProxyAtName:onHost:]):
Return nil if we fail to create a port for talking to a remote server.
        ([Connection forwardForProxy:selector:argFrame:]):
        Changes to ensure that ConnectedDecoder is correctly dismissed in the
	case where a DO method returns an object but does not have any
	parameter values returned.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2016 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:22:11 +00:00
Andrew McCallum
fc3e8b56a7 * src/RunLoop.m ([RunLoop -limitDateForMode:]):
Various changes to get timeouts working reliably.
	Ensure that _current_mode is restored correctly on exit.

        * src/RunLoop.m ([RunLoop -acceptInputForMode:beforeDate:]):
	Ensure that _current_mode is restored correctly on exit.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2015 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:21:02 +00:00
Andrew McCallum
6cc88537f8 ([NSString -description]): Free DEST to prevent memory leak!
(Reported by Wolfgang Baron <wbaron@ixpoint.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2014 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:14:35 +00:00
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