[dylan-lang/opendylan] 8bdb63: [io] buffered-stream generics specialize on <buffe...
GitHub <[email protected]> Sun, 11 Oct 2015 18:14:35 -0700
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <561b097bc794a_577c3fb64ecfb2c0727c7@hookshot-fe5-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/opendylan
Commit: 8bdb63da17b0de00c4eae06451fbc8e9f3082817
https://github.com/dylan-lang/opendylan/commit/8bdb63da17b0de00c4eae06451fbc8e9f3082817
Author: Bruce Mitchener <[email protected]>
Date: 2015-10-11 (Sun, 11 Oct 2015)
Changed paths:
M documentation/release-notes/source/2015.1.rst
M sources/io/library.dylan
M sources/io/streams/buffered-stream.dylan
M sources/io/streams/file-stream.dylan
M sources/io/streams/native-speed.dylan
Log Message:
-----------
[io] buffered-stream generics specialize on <buffered-stream>.
Some of the generics related to buffered streams were defined for
<stream> rather than <buffered-stream>. In addition,
copy-down-stream-definer was creating definitions for both regular
and buffered streams, which was not valid for the single use of
this macro (on <byte-string-stream> which is not buffered).
* sources/io/streams/buffered-stream.dylan
(do-next-input-buffer,
do-release-input-buffer,
do-input-available-at-source?,
do-get-output-buffer,
do-release-output-buffer,
force-output-buffers,
do-force-output-buffers): Specialize generic functions on
<buffered-stream> rather than <stream>.
* sources/io/streams/native-speed.dylan
(copy-down-stream-definer): Remove portions that deal with
buffered streams.
(copy-down-buffered-stream-definer): New macro that supplies
buffered stream definitions in addition to what copy-down-stream-definer
supplies.
* sources/io/streams/file-stream.dylan: Update commented out code
that used copy-down-stream for <byte-char-file-stream> and
<byte-file-stream> to use copy-down-buffered-stream instead.
We should look at enabling this code in the future.
* sources/io/library.dylan
(module streams-internals): Export copy-down-buffered-stream-definer.
* documentation/release-notes/source/2015.1.rst: Update.
Commit: 9e50e3571290045247d7528eaebd131c4c374ef4
https://github.com/dylan-lang/opendylan/commit/9e50e3571290045247d7528eaebd131c4c374ef4
Author: Peter S. Housel <[email protected]>
Date: 2015-10-11 (Sun, 11 Oct 2015)
Changed paths:
M documentation/release-notes/source/2015.1.rst
M sources/io/library.dylan
M sources/io/streams/buffered-stream.dylan
M sources/io/streams/file-stream.dylan
M sources/io/streams/native-speed.dylan
Log Message:
-----------
Merge pull request #994 from waywardmonkeys/buffered-stream
[io] buffered-stream generics specialize on <buffered-stream>.
Compare: https://github.com/dylan-lang/opendylan/compare/952517ee0d76...9e50e3571290
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter