Commit graph

1583 commits

Author SHA1 Message Date
Andrew McCallum
d39b518212 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1493 72102866-910b-0410-8b05-ffd578937521
1996-05-06 19:10:52 +00:00
Andrew McCallum
b00a575e5e All uses of @"" were crashing in Linux libc-5.3.9.
(arginfo_func): New function.
(handle_printf_atsign): Get the string object without va_arg().
([NSString +initialize]): Use new function.
(Reported and fixed by Kai-Uwe Sattler
<sattler@volker.cs.Uni-Magdeburg.DE>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1492 72102866-910b-0410-8b05-ffd578937521
1996-05-06 18:59:01 +00:00
Andrew McCallum
e74c56158b ([NSMutableArrayNonCore -removeObject:]): Replace with version that
removes all objects equal to argument.
([NSMutableArrayNonCore -removeObjectIdenticalTo:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1491 72102866-910b-0410-8b05-ffd578937521
1996-04-30 14:25:22 +00:00
Andrew McCallum
65531e035c (main): Patched from Scott Christley.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1490 72102866-910b-0410-8b05-ffd578937521
1996-04-30 14:19:39 +00:00
Andrew McCallum
5632a32d75 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1489 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:50:38 +00:00
Andrew McCallum
39858b855d GNU Archiver on OpenStep methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1488 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:50:13 +00:00
Andrew McCallum
2be42b3df1 Use Archiver, not NSArchiver, if GNU_ARCHIVING is true.
(SELF_REF_DECODE_SUBSTITUTES): New macro.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1487 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:49:54 +00:00
Andrew McCallum
f53895a37a (Coder): Make ivars public, so NSGArchiver can get at them.
(Encoder): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1486 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:17:52 +00:00
Andrew McCallum
f55677d2e5 ([TextCStream -encodeValueOfCType:at:withName:]): If name is nil or
zero-length, make it "Anonymous".


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1485 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:16:59 +00:00
Andrew McCallum
7e261d59d5 Add todo comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1484 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:16:24 +00:00
Andrew McCallum
66356eb508 (USE_OPENSTEP_STYLE_FORWARD_REFERENCES): New macro.
(NSGArchiverNullCStream): New class, interface and implementation.
([NSGArchiverNullCStream -decodeValueOfCType:at:withName:]): New method.
([NSGArchiverNullCStream -decodeValueOfCType:at:withName:]): New method.
([NSGArchiver -encodeRootObject:withName:]): New method.
([NSGArchiver -encodeConditionalObject:]): New method.
([NSGArchiver -_coderCreateReferenceForObject:]): New method.
([NSGArchiver -_coderCreateForwardReferenceForObject:]): New method.
([NSGArchiver -_coderForwardReferenceForObject:]): New method.
([NSGArchiver -_objectWillBeInProgress:]): New method.
([NSGArchiver -_objectNoLongerInProgress:]): New method.
([NSGArchiver -defaultDecoderClassname]): New method.
([NSGUnarchiver -_createReferenceBeforeInit]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1483 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:15:30 +00:00
Andrew McCallum
69b93a3648 ([NSUnarchiver +initialize]): Test self against NSUnarchiver class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1482 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:13:51 +00:00
Andrew McCallum
ffbdc162d3 (debug_coder): Make it a static var instead of a #define.
([Encoder -_objectWillBeInProgress:]): New method.
([Encoder -_objectNoLongerInProgress:]): New method.  Depending on
whether we are doing GNU or OpenStep style forward references one of
these two methods will create a backward reference to the object by
calling -_coderInternalCreateReferenceForObject:.  This will effect
whether encoding make forward or backward references to objects in
progress.  GNU uses forward references, which is robust even when the
object's -initWithCoder substitutes another object for self.
([Encoder -_encodeObject:withName:isBycopy:isForwardReference:]): Use
new methods.  Don't call -_coderInternalCreateReferenceForObject here,
let one of the ...InProgress methods do it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1481 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:12:59 +00:00
Andrew McCallum
b5526b907d (debug_coder): Make it a static var instead of a #define.
([Decoder -_coderCreateReferenceForObject:]): Add a debugging message.
([Decoder -_coderCreateReferenceForInterconnectedObject:]):
Autorelease the placeholder object.
([Decoder -_createReferenceBeforeInit]): New method.  By default
return NO, for the GNU-style forward references.
([Decoder -decodeObjectAt:anObjPtr:name]): [CODER_OBJECT]: Use new
method; if it returns true, then we are using non-GNU, OpenStep-style
forward references.  In this case: (1) don't try to decode the object by
sending +newWithCoder:, in fact, raise an error if the object wanted
to be decoded that way; (2) call _coderInternalCreateReferenceForObject
before sending -initWithCoder, not after; unfortunately this means
that -initWithCoder methods cannot substitute another object for self.
If it returns false, use the more robust GNU style forward references.
The NSGUnarchiver overrides this method to use the OpenStep style.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1480 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:05:57 +00:00
Andrew McCallum
e20d99bcd6 Include gnustep/base/Archiver.h.
([Coder +archivedDataWithRootObject:]): Use Archiver class, not
NSArchiver, it matters because now the two classes handle forward
references differently.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1479 72102866-910b-0410-8b05-ffd578937521
1996-04-19 22:59:11 +00:00
Andrew McCallum
58bd468503 NSGUnarchiver inherits from NSUnarchiver, not NSArchiver!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1478 72102866-910b-0410-8b05-ffd578937521
1996-04-19 22:11:28 +00:00
Andrew McCallum
30ef5ef7f4 Updated to work on NS3.3.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1477 72102866-910b-0410-8b05-ffd578937521
1996-04-18 14:04:36 +00:00
Andrew McCallum
39d7d5a0b3 (Foundation): Fix dependancy to force proper handling after a cvs
checkout.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1476 72102866-910b-0410-8b05-ffd578937521
1996-04-18 12:31:52 +00:00
Andrew McCallum
f2e7604890 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1475 72102866-910b-0410-8b05-ffd578937521
1996-04-18 12:22:46 +00:00
Andrew McCallum
1eed7bc8b9 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1474 72102866-910b-0410-8b05-ffd578937521
1996-04-18 02:25:15 +00:00
Andrew McCallum
816023aba3 Added information about DO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1473 72102866-910b-0410-8b05-ffd578937521
1996-04-18 02:24:38 +00:00
Andrew McCallum
30d8a4448d *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1472 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:57:08 +00:00
Andrew McCallum
b47ae41c48 (EXEEXT): New variable.
(OEXT): New variable.
(LIBEXT): New variable.
(SRCS): Remove port-{server,client}.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1471 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:56:19 +00:00
Andrew McCallum
dbdba55c4b Warn user that the file hasn't been converted to new collection
scheme, and comment out old code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1470 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:55:26 +00:00
Andrew McCallum
b591762987 (main): Beginnings of changes for new port scheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1469 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:54:33 +00:00
Andrew McCallum
e96f98277d ([SecondServer -addRemoteObject:]): Don't free the string returned;
mframe already does it!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1468 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:54:11 +00:00
Andrew McCallum
89caa7c8fa Include Foundation/NSString.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1467 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:53:29 +00:00
Andrew McCallum
e3b1d2f905 ([Decoder -decodeObjectAt:anObjPtr:name]): Decode the Unindent
*before* decoding the fref; as does Encoder!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1466 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:47:52 +00:00
Andrew McCallum
41199e2579 Include TcpPort.h, not SocketPort.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1465 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:00:51 +00:00
Andrew McCallum
bd479ca058 (../src/lib$(LIBRARY_NAME)$(LIBEXT)): New target.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1464 72102866-910b-0410-8b05-ffd578937521
1996-04-18 00:56:32 +00:00
Andrew McCallum
7ab37298f6 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1463 72102866-910b-0410-8b05-ffd578937521
1996-04-18 00:41:26 +00:00
Andrew McCallum
ff69c91f06 Include Makeconf.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1462 72102866-910b-0410-8b05-ffd578937521
1996-04-18 00:40:30 +00:00
Andrew McCallum
1a86c37454 Various text fixes and updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1461 72102866-910b-0410-8b05-ffd578937521
1996-04-18 00:37:51 +00:00
Andrew McCallum
43cb64b9be *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1460 72102866-910b-0410-8b05-ffd578937521
1996-04-18 00:35:04 +00:00
Andrew McCallum
7e98d506e6 Updated names from libobjects to libgnustep-base.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1459 72102866-910b-0410-8b05-ffd578937521
1996-04-18 00:23:58 +00:00
Andrew McCallum
75de7725a0 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1458 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:28:05 +00:00
Andrew McCallum
558563514c Updated entries for NSRunLoop, NSArchiver, NSThread, and others.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1457 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:22:15 +00:00
Andrew McCallum
1b2c5c89ff Change R. Andrew McCallum to post-marriage name: Andrew Kachites McCallum
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1456 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:17:45 +00:00
Andrew McCallum
ddd154e940 Remove R. from Andrew McCallum.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1455 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:13:57 +00:00
Andrew McCallum
8a87d785db Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1454 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:01:09 +00:00
Andrew McCallum
2e35092d95 (TEXI_FILES): Rename libobjects.texi to gnustep-base.texi.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1453 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:00:21 +00:00
Andrew McCallum
7683880034 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1452 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:00:00 +00:00
Andrew McCallum
05817bc168 Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1451 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:55:26 +00:00
Andrew McCallum
02f8653efb Change a comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1450 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:37:36 +00:00
Andrew McCallum
ade76d0fa7 (LIBRARY_VAR): New variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1449 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:37:18 +00:00
Andrew McCallum
c243ea11fa Rename all #ifndef macro names to ..GNUSTEP_BASE_INCLUDE.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1448 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:36:35 +00:00
Andrew McCallum
4b4e194333 Rename #ifndef macro name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1447 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:35:09 +00:00
Andrew McCallum
2b60d4a541 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1446 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:33:12 +00:00
Andrew McCallum
a131f7d913 Rename all objects_* to o_*.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1445 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:26:04 +00:00
Andrew McCallum
3a50890494 ([NSGSet -isEqual:]): Call isEqualToSet: (in superclass).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1444 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:21:57 +00:00