Commit Graph

1791 Commits

Author SHA1 Message Date
Robby Findler
eef5d7b712 fix tests for the "class:"-less object-name results
original commit: 58e15cc2c7ef7517326ef4ebac28d7db8779fb6f
2012-12-22 18:25:43 -06:00
Chenxiao
53c613bee6 Improve ftp client. Add upload, progress monitor and something else.
original commit: 4cc287f7e54c35ab4a5c9b358578a9535aaf1438
2012-12-13 07:09:04 -07:00
Eli Barzilay
1b363b32c6 A whole bunch of missing newlines at EOFs (and a few other spaceages).
original commit: cbfb1fdb370244c2cadcf327332f1c643d4588c0
2012-10-19 06:47:24 -04:00
Vincent St-Amour
685b828a82 Fix documentation for packages and mutable lists.
As suggested by Matthew.

original commit: 800a328fe6524cc9aaac3d258d8bdeee3fca9337
2012-07-31 17:12:30 -04:00
Vincent St-Amour
5d9dacd19b Move mutable list functions to the compatibility collect.
Mutable pair functions from racket/base are not moved.

original commit: 52439d528b78db6394798d9bdd39b2017de03a5e
2012-07-27 16:49:05 -04:00
Vincent St-Amour
a4f6e69328 Add a `compatibility' collect for compatibility with other languages.
It includes `defmacro' and Chez-style modules (packages).

original commit: ab2226a19e0b8112c219602f0d70f7503d125f26
2012-07-27 16:49:05 -04:00
Asumu Takikawa
46ebb5dac5 Move engines from mzlib/thread to racket/engine
(they were previously called "coroutines" but
 the term "engine" is less ambiguous)

original commit: 2dcf06077461175936616f21737fbed7b0c27eb0
2012-07-26 14:47:29 -04:00
Matthew Flatt
45606c4539 fix `syntax-local-get-shadower' for submodules
Closes PR 12926, 12928

Merge to v5.3

original commit: a0ba30d8e7c16fbd572856ea950e82d98ccca4be
2012-07-22 21:43:20 -05:00
Asumu Takikawa
97ff83ae1d Missed one Rackety in commit 3582b57
original commit: 40ea2befcee84e0c3eab27012a2b7a9d626b0983
2012-07-21 13:38:18 -04:00
Asumu Takikawa
cbd3cb590b Missing file for commit 3582b57
(my apologies to any future git bisect-ers)

original commit: 2f891c5d39c11696846c037d531bd5d3b12f1f2b
2012-07-20 17:58:31 -04:00
Asumu Takikawa
44c2d346e5 Move mzlib/integet-set => data/integer-set
original commit: 66e0564e2502a9db91d3cc0c81cee3c96c2c1849
2012-07-20 16:00:47 -04:00
Asumu Takikawa
188637b9dc Move mzlib/defmacro => racket/defmacro
With both @bold and @italics warning against its use.
No @blink though.

original commit: 3582b57bcc95455b3655c0492dd3a344a71908c0
2012-07-20 16:00:47 -04:00
Matthew Flatt
d1d8ee7cb1 doc fixups for struct' variants in scheme/unit', etc.
original commit: 3ded3934ee0a650fa2f3d180d7f3a56cab9af4b8
2012-07-17 11:00:46 -06:00
Asumu Takikawa
1ef7101d53 Moved some mzlib library implementations to racket
The libraries moved were:
  - mzlib/control      => racket/control
  - mzlib/date         => racket/date
  - mzlib/deflate      => file/gzip
  - mzlib/inflate      => file/gunzip
  - mzlib/port         => racket/port
  - mzlib/process      => racket/system
  - mzlib/runtime-path => racket/runtime-path
  - mzlib/shared       => racket/shared
  - mzlib/unit         => racket/unit
  - mzlib/unit-exptime => racket/unit-exptime
  - mzlib/zip          => file/zip

The old modules in mzlib are now pointers to the
new modules. These are all modules that were already
redirected in the documentation.

original commit: 403aaac7d4c32132223f06e059df439cceda7a2e
2012-07-11 18:26:10 -04:00
Matthew Flatt
c53585429a 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.

original commit: c11527494ed3a08d1ea6caf8e7ec6661f2505ef7
2012-06-24 07:38:09 -06:00
Eli Barzilay
71e83fb930 Random pickiness.
Spaces at EOFs, indentation, etc.

original commit: 7d6e79023cf9872e6f6af2f89961b742c6296f1d
2012-06-22 12:00:48 -04:00
Matthew Flatt
2ec1929ff3 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

original commit: d253b89ba87b4bb295fd652708642046f4b90676
2012-06-22 09:48:00 +08:00
Matthew Flatt
bd352c8455 further error message convention refinements
Add extra intitial-message lines, use "..." on a field name
to indicate that it could reasonably be hidden by default,
and refine some existing messages.

original commit: 1dc0072d036892e1fbc39891a8c3aaeadd451f80
2012-06-22 09:47:59 +08:00
Asumu Takikawa
3f831d6f4b racket/control: Racketize & remove trailing whitespace
original commit: ed9c612cae3ac53984445fbe6731ca0870915932
2012-06-21 16:08:33 -04:00
Asumu Takikawa
9b7e9c5feb 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.

original commit: 5d232f374884f31e0306d99b7b103da1c0381630
2012-06-14 17:33:43 -04:00
Robby Findler
3b0c11e22b 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)

original commit: b0607f04a90713d88e314d0a534ac28440bc77b7
2012-06-10 13:52:00 -05:00
Matthew Flatt
0f2664cdd9 more error-message conversions and repairs
original commit: a137459b65b54d65595e854101aae7440d9e65f6
2012-05-27 11:29:21 -06:00
Matthew Flatt
c40abf9b9f more error-message conversion
original commit: 6eeb8fccbd8b56f06f6a888523dbc17ac8fc22f8
2012-05-27 09:03:19 -06:00
Matthew Flatt
5500ad5b86 new error message convention
Add `raise-argument-error', `raise-result-error', `raise-arguments-error',
and `raise-range-error'.

The old convention was designed for reporting on a single (sometimes very
long line). The new convention is

 <name>: <short message>
   <field>: <detail>
   ...

If <detail> is long or itself spans multiple lines, then it may
also use the form

   <field>:
    <detail>

where each line of <detail> is indented by 3 spaces.

Backtrace information is shown as a multi-line "context" field.

original commit: 9e7548de615610a5be2adb33c4cf6ee10f9e7589
2012-05-25 15:08:05 -06:00
Robby Findler
71d054cc1f refactored contract opters so they return structs instead
of (8!) multiple values

original commit: 7221d01483eb92086ae98a16c63ae716e97ae267
2012-05-10 21:59:39 -05:00
Eli Barzilay
d8e0ca691a A bunch of fprintf' -> eprintf' conversions (and a few related things).
original commit: 17090fca4f19298f01d03fea419edb20f315d040
2012-05-06 12:06:00 -04:00
Eli Barzilay
28a3257f7f A bunch of scheme' -> racket' conversions.
I think that there are no user-visible changes from these changes.

original commit: 2b76d9e5b03ea97b8de155d2dda63e64256a3212
2012-04-19 16:02:03 -04:00
Matthew Flatt
21917f7b45 fix mzlib contract name test
Merge to 5.3

original commit: c64c55b86fd4a2b70caf814a2b06e27db78fcf71
2012-04-10 15:57:50 -06:00
Danny Yoo
29a27fd9cd fix flush for `make-pipe-with-specials'
Closes PR 12659

original commit: 0cfb3f1d396bb3d7bc817494b937063f5e8782ad
2012-03-29 14:55:13 -06:00
Jay McCarthy
0cb4ef4c3e Removing the thread previously introduced which is now no longer necessary given the real problem
original commit: dfb4bc112d3947566282d6e16ddb60ed72acac5e
2012-03-23 10:47:56 -06:00
Jay McCarthy
3f6a5bb5ef Fixing the error message from PR12443
original commit: 9b579d8c2aa8548e6b49c9aeec0a7a4cf107bd58
2012-03-23 10:44:43 -06:00
Eli Barzilay
2147d288a1 Remove no-longer used net/cgi exceptions.
original commit: 818e434c607a091704d65bca0a6c89c30eac29b0
2012-03-16 02:55:35 -04:00
Matthew Flatt
0ff0006120 mzlib/traceld: show submodule
original commit: 8eef24be8748c556e18cecf4a164a6e2924fce57
2012-03-10 10:51:56 -07:00
Matthew Flatt
e4759d6931 first cut at submodules
original commit: 3d69dfab863c116439ce5b747dbc69852db74938
2012-03-09 10:34:56 -07:00
Eli Barzilay
e8c17f99a1 Big newline at EOF scan.
original commit: f7c67b49a49a723534454ce561cd060e63889480
2012-02-29 00:28:11 -05:00
Matthew Flatt
a2ce5dbafd fix zip/gzip bug
Closes PR 12605

original commit: f9247ff3a5a772c8a314a4c9444e449c5b113053
2012-02-27 08:34:26 -05:00
Robby Findler
b2faf6534a added nand, nor, and implies to racket/bool
original commit: 4b2f78477a2f6144044fc2645750f07be923d85d
2012-02-19 08:05:11 -06:00
Matthew Flatt
0bc53ba416 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).

original commit: 084278fabcb3416250d7155faef674a31dac60b6
2012-02-15 18:59:24 -07:00
Jay McCarthy
fbea030c27 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.

original commit: 022ce2d8d7de60d63d21eb67119466283d9e8be3
2012-01-03 15:05:37 -07:00
Eli Barzilay
2410b71326 Revise `net/sendmail'.
* Move the `X-Mailer' header to the top, so that the interesting headers
  are all together at the bottom (the top gets littered by server
  headers anyway).

* Use `subprocess' directly (`process*' wasn't really doing anything
  more than that).

* Allow the sender to be `#f', leaving the header out.  This makes all
  sendmails that I've used use the username that is running the process.

* Just search for a sendmail program: don't barf on windows, so it can
  be used in case there is a sendmail.exe executable there.

* Remove `no-mail-recipients' to make it in-line with other racket code
  that doesn't raise super-specific exceptions.

* Use port counting instead of doing the counts manually, much simpler
  code.

original commit: f9d07d84009e69a0202390fd828c00d330c19611
2011-12-20 15:53:40 -05:00
Matthew Flatt
d2112c9652 enable R5RS map' & for-each' (i.e., mmap' and mfor-each') inlining
original commit: 4b1f74671429f6d8955c6afa98569821fec9e8c7
2011-12-18 07:27:32 -07:00
Matthew Flatt
5a80a3b6e4 add datum-case', etc. as syntax/datum'
This library is used by Redex, which wants a `syntax'-like template
language, but for datum values instead of syntax objects. Using
`datum-case' and `datum' generates much less code. Redex uses
only a small part of the general functionality, so adding
`syntax/datum' could be overkill. It's implemented by generalizing
the `syntax-case' and `syntax' pattern matching and template
constructing code, though; it's not a lot of extra code, and it's
easiest to generalize completely. We may find other uses for
datum templates, too.

original commit: 25dd8727cb8aca54dc7c5cbf1814f2049234ad1d
2011-12-12 08:13:20 -07:00
Matthew Flatt
56a3841aa8 fix `print-convert' on cyclic hash key
Closes PR 12373

original commit: 0772cdf2e37a6ce4a634704816fef784d19d58cd
2011-11-26 17:09:23 -07:00
Robby Findler
4c1e4fd288 add add-make-prefix-to-constructor tests
original commit: c87cd47c64e443f11155d9dd78bf33c9281de11a
2011-11-24 09:42:55 -06:00
Matthew Flatt
d2604d85bb fix pconvert test
original commit: a40d0f0dd100214bbfff01ddd5a6b9a0e3d19275
2011-11-24 05:58:30 -07:00
Robby Findler
2d0fbd1f0c 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

original commit: d00aed6f1b2934f591204ea9b97199fae698ceae
2011-11-03 17:13:17 -05:00
Eli Barzilay
fff213f279 Removed the `plot' collection, in preparation for adding the new one instead.
original commit: e01e46b7728cbf52a79f46b873fce009a8291f12
2011-10-05 04:09:10 -04:00
Matthew Flatt
e85c17b090 add date*' and exn:fail:syntax:unbound'
The `date*' structure type is an extension of `date' with
`nanosecond' and `time-zone-name' fields.

The `seconds->date' function now accepts a real and returns a
`date*'. The fractional part of its argument goes into the
`nanosecond' field.

original commit: ac8990d5195312fa7c71966bdfaa925905902ca8
2011-09-29 09:22:10 -06:00
Ryan Culpepper
ee460be5b2 revert some (require racket/pretty) to (require scheme/pretty)
original commit: afc9210599b6abf3f4c2c62d57249ccda88f80c2
2011-09-28 19:01:27 -06:00
Ryan Culpepper
e3d2327c7c removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00