Commit graph

1240 commits

Author SHA1 Message Date
mccallum
dd57f3567a ([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
mccallum
e9d5d003d7 *** 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
mccallum
0d0c3ea496 *** 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
mccallum
06040ad95f ([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
mccallum
edfbd1df97 ([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
mccallum
3c56f6583d ([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
mccallum
c02426d692 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
mccallum
83fc572410 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
mccallum
9806790d47 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
mccallum
9cd3003d2c 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
mccallum
5483034afc 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
mccallum
5a579198a6 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
mccallum
6aa057e1d8 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
mccallum
b37766bcfb 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
mccallum
10809f3222 (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
mccallum
716944318c ([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
mccallum
4487b20f10 (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
mccallum
51ec9677bd ([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
mccallum
1af4190861 (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
mccallum
00f3e36143 (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
mccallum
3825155a98 ([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
mccallum
40e4d68474 ([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
mccallum
460aa41820 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
mccallum
67869fb4e0 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
mccallum
c14b5e539b ([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
mccallum
8586953444 ([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
mccallum
6d33811e4a ([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
mccallum
330386bee2 (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
mccallum
056e3d4cad (-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
mccallum
d925b12d82 (-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
mccallum
0bd07c5ee6 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
mccallum
5c5bd427dc ([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
mccallum
cd0f233c55 [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
mccallum
f66456b319 ([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
mccallum
d0e79b54c9 (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
mccallum
5b8ea53689 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
mccallum
f25cb10514 * 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
mccallum
b5f8117ecf * 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
mccallum
4a657ff30c * 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
mccallum
bd119c71f6 ([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
mccallum
d9a8faf644 (_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
mccallum
15d5f586d9 (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
mccallum
bf5c3ebfd4 (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
mccallum
b5b84194f3 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
mccallum
0051a4adcb 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
mccallum
526914ba8a 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
mccallum
9047ffbd44 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
mccallum
0d4b1db0e4 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
mccallum
6abe3e01ec 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
mccallum
e1a87cc04b 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
mccallum
56c962b4a3 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
mccallum
84088a8468 * 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
mccallum
965ff7e9f2 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
mccallum
279445c32e ([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
mccallum
cec7d4bb60 ([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
mccallum
9bcfb8509d ([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
mccallum
93c73b7124 (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
mccallum
9c1198ff9f 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
mccallum
630e258c7a 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
mccallum
d862849914 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
mccallum
8d6d910056 ([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
mccallum
93ef8014a1 ([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
mccallum
d6e386bc54 ([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
mccallum
1429025e5d ([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
mccallum
898ed24d5f ([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
mccallum
7202be0561 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
mccallum
182592f4a1 *** 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
mccallum
88cc9b584a (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
mccallum
74a42c0111 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
mccallum
21f68135ac ([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
mccallum
8799c5c79d ([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
mccallum
3489581c8b (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
mccallum
f84022e180 (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
mccallum
a449b8c087 ([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
mccallum
5c7a09275b 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
mccallum
7171085c19 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
mccallum
da7162794b 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
mccallum
07a1e26de2 ([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
mccallum
297904426b (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
mccallum
6846b44ffe 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
mccallum
f5d9592554 ([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
mccallum
bcde49ee60 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
mccallum
fa685f6548 (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
mccallum
ce608bb99a (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
mccallum
3490aab20e ([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
mccallum
25e416ece3 ([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
mccallum
ea23788183 ([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
mccallum
fb7db67bd1 (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
mccallum
d0c5e632cd ([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
mccallum
7ace9421da ([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
mccallum
f4e558af65 ([String -initWithFormat:arguments:]): Use VSPRINTF_LENGTH.
([String -initWithCFormat:arguments:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1898 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:26:39 +00:00
mccallum
5e164ac2a5 Changes from Richard Frith-Macdonald. See Oct 31 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1894 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:02:23 +00:00
mccallum
1fb5ff28ae ([RunLoop -limitDateForMode:]): Bracket timer firing with a
retain/release of the MIN_TIMER.  (Reported by Richard Frith-Macdonald
<richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1892 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:59:25 +00:00
mccallum
1c3b575999 Added implementation of new methods for notification of readiness of
file descriptors for reading and writing.  Done by Richard
Frith-Macdonald <richard@brainstorm.co.uk>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1890 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:54:57 +00:00
mccallum
d6a7c91bf9 Changes from Scott Christley. See Oct 23 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1888 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:28:15 +00:00
mccallum
d1eacbcc7e Changes from Scott Christley. See Oct 18 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1887 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:22:04 +00:00
mccallum
ac8727dedb Changes from Adam Fedor. See Oct 15 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1886 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:17:59 +00:00
mccallum
a1e578ebc0 Changes from Scott Christley. See Oct 16 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1885 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:14:00 +00:00
mccallum
785831bde1 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1884 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:13:12 +00:00
mccallum
c732d498e5 (method_types_get_next_argument): Do weird argframe workaround not
just on m68k, but on all NeXT systems.  (Reported by
Richard Frith-Macdonald <richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1883 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:09:27 +00:00