Commit graph

6633 commits

Author SHA1 Message Date
mccallum
3b43be1a80 Convert to new Coder scheme. Use -initWithCoder instead
of +newWithCoder where appropriate.  Remove arguments typed
(Coder*).  Replace +_newCollectionWithCoder with
-_initCollectionWithCoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@333 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:53:53 +00:00
mccallum
496bde0f95 (CommonCoding, Encoding, Decoding): New protocols.
(SelfCoding): New category of NSObject, interface only, no
implementation.  This takes the place of the Coding Protocol.
(Coding): Protocol removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@332 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:52:11 +00:00
mccallum
a887d1c2e7 Use ConstantIndexedCollecting protocol where appropriate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@331 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:38:21 +00:00
mccallum
ef5d805762 Use ConstantCollecting protocol where appropriate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@330 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:37:46 +00:00
mccallum
739755b9b4 Move protocol conformance to category to avoid bogus gcc complaints.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@329 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:36:17 +00:00
mccallum
376c788fa4 Fix vm_page_size for Linux.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@328 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:34:14 +00:00
mccallum
fc3a12b142 (-decodeObjectAt:withName:): Send newWithCoder: if the clsas
responds to it, otherwise send initWithCoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@327 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:32:33 +00:00
mccallum
a028846dec (GNUSTEP_MFILES): Added NSEnumerator.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@326 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:29:51 +00:00
mccallum
da85fc60b7 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@325 72102866-910b-0410-8b05-ffd578937521
1995-04-09 01:28:47 +00:00
mccallum
83e9bab0ae (-decodeObjectAt:withName:): Create the instance and send
-initWithCoder if the object doesn't respond to +newWithCoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@324 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:44:45 +00:00
mccallum
025a41bf53 (RemoteSelfCoding): Renamed category from RemoteCoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@323 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:28:31 +00:00
mccallum
7a80d561c9 Removed Coding protocol. It's already provided by NSObject.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@322 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:27:19 +00:00
mccallum
f9ebf536fb (ConnectedSelfCoding): Renamed protocol from ConnectedCoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@321 72102866-910b-0410-8b05-ffd578937521
1995-04-08 18:26:30 +00:00
mccallum
67498ed7cc (ConstantIndexedCollecting): New protocol extracted from
IndexedCollecting.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@320 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:05:21 +00:00
mccallum
e890363959 (ConstantKeyedCollecting): New protocol extracted from KeyedCollecting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@319 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:04:43 +00:00
mccallum
81cb984b2f (ConstantCollecting): New protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@318 72102866-910b-0410-8b05-ffd578937521
1995-04-08 17:04:07 +00:00
mccallum
ee24581534 (main): Fix serious bug by including `nil' at end of contents list.
Test forward and reverse enumerator objects.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@317 72102866-910b-0410-8b05-ffd578937521
1995-04-07 22:12:53 +00:00
mccallum
3557e6884b (-objectEnumerator, reverseObjectEnumerator): Implemented methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@316 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:39:43 +00:00
mccallum
0eda40c961 (GNUSTEP_MFILES): Added NSArrayEnumerator.m.
(GNUSTEP_HEADERS): Added foundation/NSArrayEnumerator.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@315 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:38:52 +00:00
mccallum
6caae079d1 (dealloc): Remove dealloc of remote_proxies contents.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@314 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:23:24 +00:00
mccallum
46cf45b928 (-componentsJoinedByString:): Implemented method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@313 72102866-910b-0410-8b05-ffd578937521
1995-04-07 21:01:59 +00:00
mccallum
3d1c766353 (initWithCapacity:): Make sure that capacity is greater than zero.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@312 72102866-910b-0410-8b05-ffd578937521
1995-04-07 20:56:20 +00:00
mccallum
17dbbe2248 (DIST_FILES): Added volunteers-gnustep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@311 72102866-910b-0410-8b05-ffd578937521
1995-04-07 20:36:01 +00:00
mccallum
4c8635f244 Add request for %@.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@310 72102866-910b-0410-8b05-ffd578937521
1995-04-06 21:05:42 +00:00
mccallum
1183ea0aaa Copyright date fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@309 72102866-910b-0410-8b05-ffd578937521
1995-04-06 21:03:32 +00:00
mccallum
de6a273c4d Added incomplete section for describing string objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@308 72102866-910b-0410-8b05-ffd578937521
1995-04-06 20:59:50 +00:00
mccallum
806ec1b54d (DIST_FILES): Added AUTHORS.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@307 72102866-910b-0410-8b05-ffd578937521
1995-04-06 20:13:05 +00:00
mccallum
91d400d3f8 (FILE_AUTHORS): New variable.
(AUTHORS): New target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@306 72102866-910b-0410-8b05-ffd578937521
1995-04-06 20:12:21 +00:00
mccallum
d9e81649f6 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@305 72102866-910b-0410-8b05-ffd578937521
1995-04-06 20:11:43 +00:00
mccallum
e26c983899 Added header comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@304 72102866-910b-0410-8b05-ffd578937521
1995-04-06 19:41:46 +00:00
mccallum
2a7dcebfbb (DIST_FILES): Add objective-c.texi objective-c.info.
(RCS_FILES): Add objective-c.texi.
(objective-c.info): New target.
(info): Add objective-c.info.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@303 72102866-910b-0410-8b05-ffd578937521
1995-04-06 19:11:11 +00:00
mccallum
6eead746c2 (-_encodeCollectionWithCoder:): Fix typo. Fix super call.
(+_newCollectionWithCoder:): Fix super call.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@302 72102866-910b-0410-8b05-ffd578937521
1995-04-06 18:47:08 +00:00
mccallum
e557d49efc (GNUSTEP_OTHER_SRCFILES): Added NSConcreteNumber.m, NSCTemplateValue.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@301 72102866-910b-0410-8b05-ffd578937521
1995-04-06 02:02:53 +00:00
mccallum
0e9aca23ba (GNU_HEADERS): Added objects/NSArray.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@300 72102866-910b-0410-8b05-ffd578937521
1995-04-06 01:57:07 +00:00
mccallum
9c93282c6d (OBJECTS_SUBMINOR_VERSION): Version 0.1.8.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@299 72102866-910b-0410-8b05-ffd578937521
1995-04-06 01:40:56 +00:00
mccallum
ceb98eede4 Explain changes after 0.1.7.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@298 72102866-910b-0410-8b05-ffd578937521
1995-04-06 01:39:58 +00:00
mccallum
6929e1d57d (NEXTSTEP_DERIVED_CFILES): New variable.
(NEXTSTEP_CFILES): NXStringTable_scan.c moved to above.
(NEXTSTEP_OBJS): Use NEXTSTEP_DERIVED_CFILES.
(DIST_FILES): Add NEXTSTEP_DERIVED_CFILES.
(objects/stdobjects.h): Target overhauled.
(libobjects.a): Add dependancy on objects/stdobjects.h.
(GNU_HEADERS): Remove objects/config.h, objects/stdobjects.h.
(INSTALL_HEADERS): Add objects/config.h, objects/stdobjects.h.
(NEXTSTEP_HEADERS): Removed README.
(GNUSTEP_HEADERS): Likewise.
(RCS_FILES): New variable.
(rcs-list-locked): New target.
(dynamic-load.h): Depend on config.status, for less re-making.
(version.texi): Depend on Makefile.in, not Makefile.
(realclean): Add objects/stdobjects.h objects/config.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@297 72102866-910b-0410-8b05-ffd578937521
1995-04-06 01:26:02 +00:00
mccallum
aa10142e38 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@296 72102866-910b-0410-8b05-ffd578937521
1995-04-06 01:16:37 +00:00
mccallum
285a172f98 First version of stdobjects.h.in. Previous versions were actually
stdobjects.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@295 72102866-910b-0410-8b05-ffd578937521
1995-04-06 00:55:48 +00:00
mccallum
7b110acea3 Added comment warning about delegatePoolLastMessageHadReceivers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@294 72102866-910b-0410-8b05-ffd578937521
1995-04-05 23:04:16 +00:00
mccallum
919cc219e1 (_last_message_had_receivers): New instance variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@293 72102866-910b-0410-8b05-ffd578937521
1995-04-05 21:58:12 +00:00
mccallum
0e21c3698f (-delegatePoolLastMessageHadReceivers): New method.
(-forward::, init): Set new ivar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@292 72102866-910b-0410-8b05-ffd578937521
1995-04-05 21:57:52 +00:00
mccallum
c2629d3f31 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@291 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:47:19 +00:00
mccallum
0602979ca9 Use @""-style strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@290 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:34:40 +00:00
mccallum
be56d6ad02 (CALL_METHOD_IN_CLASS): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@289 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:27:40 +00:00
mccallum
6d7cf36335 Added header comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@288 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:26:38 +00:00
mccallum
5d8d7ae911 Fixed indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@287 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:26:11 +00:00
mccallum
5f3aad08b8 (+initialize): Use static "done".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@286 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:25:08 +00:00
mccallum
7ed457b966 (allocWithZone): Removed method.
(arrayWithObjects:, initWithObjects:, initWithArray:, count,
indexOfObjectIdenticalTo:, indexOfObject:, isEqualToArray:,
makeObjectsPerform:, makeObjectsPerform:withObject:, lastObject,
firstObjectCommonWithArray:, arrayWithCapacity:, addObject:,
replaceObjectAtIndex:, removeLastObject, insertObject:atIndex:,
removeObjectAtIndex:, removeObjectIdenticalTo:, removeObject:,
removeAllObjects, addObjectsFromArray:,
removeObjectsFromIndices:numIndices:, removeObjectsInArray:,
copyWithZone:, mutableCopyWithZone:): Newly implemented or majorly
overhauled.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@285 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:23:03 +00:00
mccallum
45ed6fb8c2 (class_add_methods_if_not_there): Only put method implementation in
dtable if the dtable is already installed, otherwise, just add it to
the class's methods list and let
__objc_install_dispatch_table_for_class put it in.  Also, change
arguments.  All callers updated.
(check_class_methods): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@284 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:13:39 +00:00