Commit graph

2300 commits

Author SHA1 Message Date
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
Andrew McCallum
ca299156fa (SUBMINOR_VERSION): Version 0.2.11.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1924 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:28:01 +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
b00594169b ([Observer -gotNotificationFoo:]): Don't use %@ inside printf().
([Observer -gotNotificationFooNoObject:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1922 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:24:05 +00:00
Andrew McCallum
d7e6779a18 (main): Avoid adding 0 to the hashtable, because that is currently the
o_hash_not_an_element_marker.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1921 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:51:42 +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
45e7ab7263 Added new executables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1919 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:41:07 +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
15cff58634 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1917 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:40:28 +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
e73b241f82 Include gnustep/base/config.h instead of preface.h; otherwise we get
a dependancy loop on the definition on NSZone.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1910 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:59:49 +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