Commit graph

8226 commits

Author SHA1 Message Date
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
f8be18c2df New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2221 72102866-910b-0410-8b05-ffd578937521
1997-03-04 16:03:51 +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
a27a62bc69 Describe what happens when libieee.a isn't available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2215 72102866-910b-0410-8b05-ffd578937521
1997-03-03 21:37:11 +00:00
Andrew McCallum
a01a151edb Remove obsolete AC_C_CROSS.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2214 72102866-910b-0410-8b05-ffd578937521
1997-03-03 21:32:37 +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
f67b552455 (TEXI_FILES): Added gnustep-zones.texi.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2208 72102866-910b-0410-8b05-ffd578937521
1997-03-03 20:04:52 +00:00
Andrew McCallum
6608b828a5 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2207 72102866-910b-0410-8b05-ffd578937521
1997-03-03 20:00:41 +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
f3b19ddb8d New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2204 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:52:11 +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
b6759e584d *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2199 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:30:24 +00:00
Andrew McCallum
ba110cd6c3 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2051 72102866-910b-0410-8b05-ffd578937521
1997-01-12 19:45:08 +00:00
Andrew McCallum
215bb61dcc (SUBMINOR_VERSION): Version 0.2.12.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2050 72102866-910b-0410-8b05-ffd578937521
1997-01-12 19:42:59 +00:00
Andrew McCallum
dd156f6a34 Include <Foundation/NSString.h> instead of <gnustep/base/String.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2049 72102866-910b-0410-8b05-ffd578937521
1997-01-12 19:28:07 +00:00
Andrew McCallum
76ecc3fa9e *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2048 72102866-910b-0410-8b05-ffd578937521
1997-01-12 19:04:12 +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
e482db36f0 (BinaryCStream): Declare new ivars for holding sizeof C types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2045 72102866-910b-0410-8b05-ffd578937521
1997-01-12 18:47:50 +00:00
Andrew McCallum
4cac0bc1f1 Declare designated method for reading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2044 72102866-910b-0410-8b05-ffd578937521
1997-01-12 18:47:10 +00:00
Andrew McCallum
c41f111e70 Include <gnustep/base/preface.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2043 72102866-910b-0410-8b05-ffd578937521
1997-01-12 18:46:34 +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
27ad4790b3 (main): Use NSDefaultMallocZone() instead of NS_NO_ZONE.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2040 72102866-910b-0410-8b05-ffd578937521
1997-01-11 21:34:55 +00:00
Andrew McCallum
ceee21c6a3 Include <Foundation/NSString.h> instead of <gnustep/base/String.h>.
(main): Use class NSString instead of String.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2039 72102866-910b-0410-8b05-ffd578937521
1997-01-09 21:52:58 +00:00
Andrew McCallum
5c21978c3c Include <Foundation/NSString.h> instead of <gnustep/base/String.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2038 72102866-910b-0410-8b05-ffd578937521
1997-01-09 21:50: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
6d1ccdb9eb (ZoneLock): Don't prepend OBJC_MUTEX_T with an underscore.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2028 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:56:16 +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