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
Eli Barzilay
7d6e79023c
Random pickiness.
...
Spaces at EOFs, indentation, etc.
2012-06-22 12:00:48 -04:00
Matthew Flatt
d253b89ba8
racket/port: fix read-bytes-evt' and
read-string-evt'
...
As the documentation says, it's supposed to be ok to use the
same evt multiple times or in multiple threads, but an internal
buffer was allocated incorrectly, so that multiple/concurrent
uses could go wrong.
Closes PR 12860
2012-06-22 09:48:00 +08:00
Asumu Takikawa
ed9c612cae
racket/control: Racketize & remove trailing whitespace
2012-06-21 16:08:33 -04:00
Asumu Takikawa
893ebc6ee6
mzlib/class100: deprecation notice
2012-06-21 16:08:33 -04:00
Asumu Takikawa
5d232f3748
racket/control: add aliases and update %/fcontrol
...
Added alises for call-with-continuation-prompt,
abort-current-continuation, and call-with-composable-continuation.
Also allow % and fcontrol to take an optional prompt tag argument.
2012-06-14 17:33:43 -04:00
Robby Findler
b0607f04a9
shrink the dependencies from racket/runtime-path (remove mzscheme
...
and pull out the one things from mzlib/etc that it uses into a separate,
private file)
2012-06-10 13:52:00 -05:00
Matthew Flatt
a137459b65
more error-message conversions and repairs
2012-05-27 11:29:21 -06:00
Robby Findler
7221d01483
refactored contract opters so they return structs instead
...
of (8!) multiple values
2012-05-10 21:59:39 -05:00
Eli Barzilay
17090fca4f
A bunch of fprintf' ->
eprintf' conversions (and a few related things).
2012-05-06 12:06:00 -04:00
Stevie Strickland
4d99b83df8
Removing mzlib/class-traced.
...
Both Carl and Matthias have signed off on removing this code.
2012-05-02 19:15:53 -04:00
Danny Yoo
0cfb3f1d39
fix flush for `make-pipe-with-specials'
...
Closes PR 12659
2012-03-29 14:55:13 -06:00
Jay McCarthy
dfb4bc112d
Removing the thread previously introduced which is now no longer necessary given the real problem
2012-03-23 10:47:56 -06:00
Jay McCarthy
9b579d8c2a
Fixing the error message from PR12443
2012-03-23 10:44:43 -06:00
Matthew Flatt
8eef24be87
mzlib/traceld: show submodule
2012-03-10 10:51:56 -07:00
Matthew Flatt
3d69dfab86
first cut at submodules
2012-03-09 10:34:56 -07:00
Matthew Flatt
f9247ff3a5
fix zip/gzip bug
...
Closes PR 12605
2012-02-27 08:34:26 -05:00
Robby Findler
4b2f78477a
added nand, nor, and implies to racket/bool
2012-02-19 08:05:11 -06:00
Matthew Flatt
084278fabc
handle-evt' cannot wrap
handle-evt'
...
The prohbition against `handle-evt' on `handle-evt' is as
document and as originally intended. I'm not sure why it
was allowed.
Existing programs that use `handle-evt' incorrectly
can break. I found and fixed one incorrect use and one
questionable use in the Racket tree (which is a small
minority of the uses of `handle-evt' in the tree).
2012-02-15 18:59:24 -07:00
Jay McCarthy
022ce2d8d7
Fixing PR12443
...
There is a big comment in thread.rkt that explains the problem and the
"fix". I think something better could and should be done, but I don't
know what it is.
2012-01-03 15:05:37 -07:00
Matthew Flatt
0772cdf2e3
fix `print-convert' on cyclic hash key
...
Closes PR 12373
2011-11-26 17:09:23 -07:00
Matthew Flatt
c7464dcbd3
mzlib/pconvert: `add-make-prefix-to-constructor' parameter
...
Defaults to #f, which fixes constructor-style printing in `plai'
and `racket', and is set to #t for the HtDP languages.
2011-11-22 19:42:35 -07: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
e01e46b772
Removed the `plot' collection, in preparation for adding the new one instead.
2011-10-05 04:09:10 -04:00
Ryan Culpepper
afc9210599
revert some (require racket/pretty) to (require scheme/pretty)
2011-09-28 19:01:27 -06:00
Ryan Culpepper
c7f86d276c
removed useless requires
2011-09-27 19:28:44 -06:00
Matthew Flatt
0197902309
add var-ref->mod-decl-insp' and switch
cur-code-insp' uses
...
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.
The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Kevin Tew
b6972a3b7f
dynamic-place now pipes standard io to standard out and error much like system.
2011-09-15 14:53:58 -06:00
Matthew Flatt
d3c56c9f13
generalized `begin-for-syntax'
2011-09-08 14:06:00 -06:00
Sam Tobin-Hochstadt
43c0177895
Fix minor formatting error.
2011-09-06 11:14:57 -04:00
Matthew Flatt
495c0da189
fix define-runtime-paths' and
raco exe'
...
Cross-module optimization started inlining the `#f'
value for the table that `raco exe' replaces.
2011-08-25 09:15:29 -06:00
Eli Barzilay
d61eb53686
Lots of documentation formatting.
...
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Matthew Flatt
001cb75bac
syntax-taint repairs
...
for problems exposed by more agressive arming of `lambda'
and `#%app'
2011-08-09 16:33:17 -06:00
Eli Barzilay
d952a05ea9
Make mzlib/etc' reprovide
identity' from `racket/function'.
2011-08-06 20:59:16 -04:00
Matthew Flatt
2146a020c0
another error-message fix
2011-07-31 05:09:49 -06:00
Eli Barzilay
61f628f2c6
fix error reporting in `reencode-output-port'
...
Closes PR 12077
2011-07-25 23:46:16 -04:00
Matthew Flatt
e01ee43300
fix error reporting in `reencode-input-port'
...
Closes PR 12076
2011-07-25 13:11:05 -04:00
Robby Findler
7820db9f8d
missed a spot in the addition of chaperone info for opt/c
2011-07-21 09:38:22 -05:00
Carl Eastlund
2e6a608539
Corrected documentation of quote-module-name to indicate that it does not
...
produce collection and planet-relative paths on its own. Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.
2011-07-09 14:46:58 -04:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
59731368fc
add ffi/winapi; use it in mzlib/os
...
Closes PR 12007
2011-07-01 10:42:17 -06:00
Robby Findler
69b5daa9e6
remove docs tests that no one was interested in
2011-07-01 11:38:09 +08:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
a38f384a00
Finish converting scheme' ->
racket'.
...
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04: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
f34a31cac9
"under <platform>" -> "on <platform>"; "X" -> "Unix"
...
I originally picked "under" as the preposition to go before
a platform name, but obviously you should build "on" a
platform, and "under" suddenly annoys me. The choice of "on"
is now codified in the documentation style guide. Meanwhile,
"Unix" insted of "X" seems more clear and consistent in the
`racket/gui' docs.
More usefully, this patch also fixes a few out-of-date
platform-specific claims.
2011-06-17 18:54:43 -06:00
Matthew Flatt
7089a17ba2
fix `make-limited-input-port' limit tracking for committed peeks
...
and make the port thread-safe
2011-06-17 11:14:50 -06:00