Commit graph

1921 commits

Author SHA1 Message Date
mccallum
6687fc397a (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
mccallum
1e171d13a7 (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
mccallum
e16a142cde 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
mccallum
1f0051d810 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
mccallum
df98385294 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
mccallum
26d90fec56 (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
mccallum
2001544f1a 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
mccallum
8a8f409cc6 *** 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
mccallum
5fdb2ba814 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
mccallum
bc6361ed02 *** 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
mccallum
e6362b8885 (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
mccallum
129a20d3c2 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
mccallum
cc5d651fe8 (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
mccallum
c4658c729b ([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
mccallum
e22f4e890b 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
mccallum
986b9760cf ([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
mccallum
7122cfbd69 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
mccallum
3dda1810ce (../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
mccallum
04cf6e7672 *** 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
mccallum
c2758d1b0f 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
mccallum
d7e9dc143c 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
mccallum
ead689a2b6 *** 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
mccallum
aeffc25b6a 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
mccallum
96f91ec6db *** 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
mccallum
b447d8678e 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
mccallum
3228ed0477 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
mccallum
ed7a75e0df 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
mccallum
c9390386a4 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
mccallum
966c52501b (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
mccallum
598fa2b2b1 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
mccallum
dbe4613ced 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
mccallum
f3a4d65eb2 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
mccallum
5cbc6d216e (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
mccallum
158272c4e0 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
mccallum
8f3a22c741 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
mccallum
44a1b01f96 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
mccallum
2361a6f94f 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
mccallum
e819b08f9c ([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
mccallum
57ea00ebd5 Insert newline between test outputs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1443 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:12:39 +00:00
mccallum
1bb22b3bd4 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1442 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:10:40 +00:00
mccallum
6104690879 Fix inclusion of preface.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1441 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:09:43 +00:00
mccallum
1a12422aeb Include <Foundation/NSString.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1440 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:09:07 +00:00
mccallum
db3c8a5a51 Use preface.h instead of stdobjects.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1439 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:04:15 +00:00
mccallum
e667c9e3fa Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1438 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:02:37 +00:00
mccallum
82d3aa098e File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1437 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:01:47 +00:00
mccallum
2e03d0fb4d Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1436 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:01:22 +00:00
mccallum
27129f6452 ([CStream -writeSignature]): Use new version macro names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1435 72102866-910b-0410-8b05-ffd578937521
1996-04-17 18:59:34 +00:00
mccallum
9908f14d8f Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1434 72102866-910b-0410-8b05-ffd578937521
1996-04-17 18:46:15 +00:00
mccallum
2d16e08dba Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1433 72102866-910b-0410-8b05-ffd578937521
1996-04-17 18:40:03 +00:00
mccallum
4a6d8be847 (main): Define as gnustep_base_user_main, not LibobjectsMain.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1432 72102866-910b-0410-8b05-ffd578937521
1996-04-17 17:39:24 +00:00