Commit graph

1921 commits

Author SHA1 Message Date
mccallum
078d6ae082 Method removed and put into Streaming protocol. Included from
objects/Streaming.h.
(mode): Instance variable removed.
(STREAM_READONLY, STREAM_WRITEONLY, STREAM_READWRITE): enum removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@371 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:55:43 +00:00
mccallum
b994945be5 (mode): New instance variable, to replace one removed from Stream class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@370 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:53:44 +00:00
mccallum
6f0bc21bcb (-setStreamBufferCapacity:): Renamed from -setStreamBufferSize.
(-streamBufferCapacity): Renamed from -streamBufferSize.
(-isWriteable): New method.
(-streamBufferPrefix): Renamed from -streamPrefix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@369 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:52:36 +00:00
mccallum
145826e50f Change names from "Concrete"-style to "G"-style.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@368 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:48:46 +00:00
mccallum
c8e02b7a87 (-isWriteable): New method.
(-initWithCoder): Renamed and rewritten from +newWithCoder.
(-isAtEof): Renamed from -streamEof.
(-initWithFilePointer:fmode:): Use new mode ivar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@367 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:45:41 +00:00
mccallum
5536bc56b3 Fixed typos, and implemented many methods to call behavior methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@366 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:42:36 +00:00
mccallum
8c44818294 Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@365 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:41:39 +00:00
mccallum
f1bf552b50 New protocol <MemoryStreaming>. Make MemoryStream class conform to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@364 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:41:24 +00:00
mccallum
eb33924a45 include NSSerialization.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@363 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:40:40 +00:00
mccallum
14a4337ace Fixed typos. Implemented -init.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@362 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:40:19 +00:00
mccallum
2a6015020f Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@361 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:39:49 +00:00
mccallum
437bd9228e Fixed typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@360 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:39:41 +00:00
mccallum
801c6fec5a Added beginnings of an implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@359 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:38:52 +00:00
mccallum
bb24584d13 (GNUSTEP_MFILES): Added NSArchiver.m, NSGArchiver.m, NSGData.m,
NSGUnarchiver.m, NSUnarchiver.m.
(GNUSTEP_HEADERS): Added foundation/NSArchiver.h,
foundation/NSGArchiver.h, foundation/NSGData.h,
foundation/NSGUnarchiver.h, foundation/NSUnarchiver.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@358 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:36:49 +00:00
mccallum
9a69268611 (SRCS): Added nsarchiving.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@357 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:06:33 +00:00
mccallum
b6f72a61ae Renamed appropriate files for NSG prefix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@356 72102866-910b-0410-8b05-ffd578937521
1995-04-15 18:12:56 +00:00
mccallum
5b85d9b483 (+enableRelease:, +enableDoubleReleaseCheck:,
+setPoolCountThreshhold:): Declare new methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@355 72102866-910b-0410-8b05-ffd578937521
1995-04-14 15:01:37 +00:00
mccallum
30a2cbe9be (+enableRelease:, +enableDoubleReleaseCheck:,
+setPoolCountThreshhold:): New methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@354 72102866-910b-0410-8b05-ffd578937521
1995-04-14 15:01:24 +00:00
mccallum
46e8f3d6ec (GNUSTEP_MFILES): Removed NSDate.m; it cause a bunch of compilation
errors.
(GNUSTEP_OTHER_SRCFILES): Added NSDate.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@353 72102866-910b-0410-8b05-ffd578937521
1995-04-14 14:59:39 +00:00
mccallum
c181e9a782 Fixed indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@352 72102866-910b-0410-8b05-ffd578937521
1995-04-13 22:13:59 +00:00
mccallum
079f58417c (GNUSTEP_HEADERS): Added foundation/NSDate.h.
(GNUSTEP_MFILES): Added NSDate.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@351 72102866-910b-0410-8b05-ffd578937521
1995-04-13 21:58:29 +00:00
mccallum
b1914e9c6f Fixed indentation. Added some calls to -notImplemented:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@350 72102866-910b-0410-8b05-ffd578937521
1995-04-13 21:57:29 +00:00
mccallum
fc1923b186 Updated for changes since addition of string classes and
retain/release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@349 72102866-910b-0410-8b05-ffd578937521
1995-04-13 20:49:22 +00:00
mccallum
8f4adb1942 (-getBytes:range:): Implemented.
(-isEqual:): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@348 72102866-910b-0410-8b05-ffd578937521
1995-04-13 15:03:10 +00:00
mccallum
e5556679e7 (removeElement:): Fix bug whereby the deleted node's parent still had
the deleted node as a right child.  (Reported by Stephen Peters
<SPETERS@us.oracle.com>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@347 72102866-910b-0410-8b05-ffd578937521
1995-04-12 15:34:39 +00:00
mccallum
39fbf08e75 (write:, read:): Put back these old-style archiving methods.
(From Stephen Peters <SPETERS@us.oracle.com>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@346 72102866-910b-0410-8b05-ffd578937521
1995-04-12 15:15:53 +00:00
mccallum
730b7fffe3 Fix copyright date and indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@345 72102866-910b-0410-8b05-ffd578937521
1995-04-10 00:34:30 +00:00
mccallum
6cf19304d8 (GNUSTEP_MFILES): Added NSAssertionHandler.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@344 72102866-910b-0410-8b05-ffd578937521
1995-04-10 00:12:19 +00:00
mccallum
60f5637bbf * foundaton/NSException.h: Added NSAssert macros and
NSAssertionHandler interface.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@343 72102866-910b-0410-8b05-ffd578937521
1995-04-10 00:11:24 +00:00
mccallum
1fb05e5b81 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@342 72102866-910b-0410-8b05-ffd578937521
1995-04-10 00:10:51 +00:00
mccallum
d67cd1a278 (objectForAddress:): Return nil if address is not maintained by a
MallocAddress object. (Used to simply die.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@341 72102866-910b-0410-8b05-ffd578937521
1995-04-09 17:55:27 +00:00
mccallum
9bac9e88a5 (GNUSTEP_OTHER_SRCFILES): Added files NSArchiver.m,
foundation/NSArchiver.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@340 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:42:57 +00:00
mccallum
a6096bca8f Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@339 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:42:37 +00:00
mccallum
8e15e68333 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@338 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:35:28 +00:00
mccallum
2f5ed759b4 (GNUSTEP_MFILES): Added NSGNUCoder.m.
(GNUSTEP_HEADERS): Added foundation/NSGNUCoder.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@337 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:31:55 +00:00
mccallum
9dedd4a652 Rearranged source variables to put GNU/NEXTSTEP/GNUStep files close
together.
(GNUSTEP_OTHER_SRCFILES): Added NSData.m, foundation/NSData.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@336 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:26:27 +00:00
mccallum
66b85d1af8 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@335 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:20:37 +00:00
mccallum
73559b8788 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@334 72102866-910b-0410-8b05-ffd578937521
1995-04-09 02:06:39 +00:00
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