Commit Graph

37 Commits

Author SHA1 Message Date
Matthew Flatt
cb95a99d68 change `transplant-{input,output}-port' to propagate buffering
Affects derived functions, such as `dup-output-port' and
`relocate-output-port', and uses in `pretty-print'.
2012-08-27 19:44:06 -06:00
Asumu Takikawa
47cb06f842 Fix docs for reencode-input-port & reencode-output-port
Closes PR 10545
2012-08-18 00:34:54 -04:00
Matthew Flatt
c11527494e racket/port: fix problems with `read-bytes!-evt'
See PR 12860; some of problem related to the PR were "fixed" by
adjusting the guarantees that are specified in the documentation.

Another problem was that non-consecutive bytes could be returned.
2012-06-24 07:38:09 -06:00
Robby Findler
d00aed6f1b fix the module reader for the case when there are non-ASCII unicode characters
in comments before the #lang line

also add an #:init-position argument to peeking-input-port
2011-11-03 17:13:17 -05:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
83d002a9aa fix interaction of `port-commit-peeked' and port positions
--- includes a small hack to the `make-input-port' protocol
     to specially handle a byte-string result as "true"
     from the `commit' proc
2011-06-16 08:17:14 -06:00
Matthew Flatt
0b496d5275 a round of doc corrections from Gwyth 2011-03-10 06:34:33 -06:00
Matthew Flatt
9325fe0f25 fix `peek-string-evt' and related docs
Closes PR 11748
2011-02-19 06:54:35 -07:00
Robby Findler
9f18589c4f Rackety 2011-02-09 15:20:15 -06:00
Robby Findler
16d96cf91e minor improvements to peeking-input-port docs
- added guarantee about file-position
  - add some examples that clarify a confusion I had
2011-02-09 15:19:36 -06:00
Matthew Flatt
ce2d6030c7 add filter-read-input-port' to racket/port' 2011-01-24 19:47:20 -07:00
Matthew Flatt
c92a6b0e3d fix long line 2010-11-27 16:39:25 -07:00
Jon Rafkind
f21a15aef1 add some examples for port functions 2010-10-27 12:39:21 -06:00
Robby Findler
fc22d10b49 fixed typos 2010-10-13 15:55:17 -05:00
Vincent St-Amour
c11a88f888 Added some indexes to the reference to make open-output-nowhere easier
to find.
2010-05-25 17:30:54 -04:00
Matthew Flatt
e4aab34656 Fix `at-exp' syntax colorer to handle non-text input
- added 'special-filter-input-port' to `racker/port'
 Merge to v5.0
2010-05-21 19:40:32 -06:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Matthew Flatt
c7e723eef7 somewhat rackety core docs 2010-04-22 15:10:25 -06:00
Sam Tobin-Hochstadt
653d0ccd66 Add in-port', port->list', `file->list'.
Add documentation, tests for above.
Allow procedure argument to `fold-files' to return 2 values in all cases.
Document, test.

svn: r16453
2009-10-29 18:49:34 +00:00
Stevie Strickland
dbf380208a read-line -> read-line-evt
svn: r16384
2009-10-20 17:37:19 +00:00
Matthew Flatt
4dd202b960 ,
svn: r12430
2008-11-13 21:11:48 +00:00
Matthew Flatt
4fe1da791c display-list[-to-file] to display-lines[-to-file]
svn: r12402
2008-11-12 03:25:24 +00:00
Matthew Flatt
a6d953b6f5 add port->string, file->string, etc.
svn: r12388
2008-11-11 17:55:14 +00:00
Matthew Flatt
077e5a4666 change reference and some other docs to use #f instead of false/c and or/c insteda of one-of/c
svn: r12023
2008-10-13 19:45:37 +00:00
Matthew Flatt
d9654f9a8a doc: scheme/port is not re-exported by scheme/main
svn: r11551
2008-09-05 12:14:49 +00:00
Matthew Flatt
2c813c53c5 fix '(nonnegative|positive)-exact-integer?' contracts (moving 'exact-' to the front where it belongs)
svn: r10960
2008-07-29 12:56:05 +00:00
Matthew Flatt
607c65fe4c doc fixes for transplant-input-port & related
svn: r10484
2008-06-28 02:47:11 +00:00
Matthew Flatt
5205f45c50 doc corrections
svn: r9857
2008-05-15 19:19:18 +00:00
Matthew Flatt
1dd30ca031 dup-{in,out}put-port and sandbox-error-output default
svn: r9617
2008-05-03 04:47:14 +00:00
Matthew Flatt
e6b2b19030 r6rs io/ports-6 repairs and tests
svn: r9523
2008-04-28 21:59:18 +00:00
Matthew Flatt
f579d40b82 'must-update file mode; R6RS tests and bug fixes
svn: r9511
2008-04-28 16:32:50 +00:00
Matthew Flatt
b3476706ec add newline handling to reencode-input/output-port; provide a streamlined path for custom-port buffering (via pipes); fix JIT bug related to updating the runstack pointer after a call that turns out to be a direct-native call
svn: r8851
2008-03-02 16:00:12 +00:00
Eli Barzilay
264af9a6d0 improved scribble syntax use
svn: r8720
2008-02-19 12:22:45 +00:00
Matthew Flatt
d1c61e5ef1 plt-r5rs exe and r5rs doc
svn: r8501
2008-02-02 04:14:04 +00:00
Matthew Flatt
fd1de94a48 change Scribble to complain about colliding tags
svn: r8025
2007-12-16 03:10:00 +00:00
Matthew Flatt
cd7157641c Scribble improvements: defmodule & co.
svn: r7902
2007-12-05 21:41:07 +00:00
Matthew Flatt
1858ceb76e doc scheme/port
svn: r7821
2007-11-23 16:56:55 +00:00