Commit Graph

1819 Commits

Author SHA1 Message Date
Matthew Flatt
a10568fa5e move mzscheme' and mzlib/unit200' from core to "compatibility-lib"
Also, move `mzlib/sandbox' to "compatibility-lib".

original commit: 72c91629893290cce4ea4082b08449b1a6914738
2013-07-10 12:57:02 -06:00
Sam Tobin-Hochstadt
a67635efb7 Use #lang info instead of #lang setup/infotab.
original commit: 5a7ca7ebb56b2215f2d395ed052c03ea740817ea
2013-07-04 16:46:32 -04:00
Sam Tobin-Hochstadt
87c14eaa6c Move most of the compiler collection to compiler-lib.
original commit: 3ad009070e063614f22a32fbbffa950a8d84e599
2013-07-01 12:08:42 -04:00
Sam Tobin-Hochstadt
b0043b013b Remove most uses of mzscheme in the core.
Remaining are:
 - parts of unit200 that Matthew plans to remove.
 - the `mzscheme` implementation itself.

The implementation of `mzscheme` has been moved
to the `mzscheme` collection (from the `racket` and
`scheme` collections). The `scheme/mzscheme`
language, which was undocumented, has been removed.

This is slightly backwards-incompatible, because
the `xform` handling of precompiled headers now
evaluates code in a `racket/base`-like namespace,
instead of in a `mzscheme`-like namespace.

original commit: d54c1e4e4942c26dcbaaebcc43d5c92d507a8112
2013-07-01 12:08:42 -04:00
Sam Tobin-Hochstadt
35c1d068c5 Move most of the net collection out of the core.
- Most units and signatures from the `net` collection
  are now in `compatibility-lib`.
- Most of the actual libraries are in the `net-lib`
  package.

original commit: 2b1fb036c63639bc5dbb65348c4f4e5802c95b53
2013-07-01 11:27:14 -04:00
Robby Findler
07ae599578 add compatibility package
original commit: 70dcd2ecf61da462d5b6fa3807ddd26c7fbb5f62
2013-06-29 20:25:32 -05:00
Robby Findler
c73e5f7b2b move mzlib docs attempt 2: adjust info.rkt files
original commit: 5f8eedcee0f53ffcb24192eba652b97d248fe15a
2013-06-29 20:25:32 -05:00
Robby Findler
1b52739553 move mzlib docs attempt 2: just move the files around
original commit: bbdd1f0107bf897cdae8aa28182fc22213442ecf
2013-06-29 20:25:31 -05:00
Matthew Flatt
33f404caea auto-fix dependencies in "pkgs"
Left one dependency broken: "drracket" currently depends on "htdp" for
a test. That needs to be fixed by removing the dependency (moving the
test to "htdp?), instead of changing the declared dependencies.

original commit: 51290fd2a95def6bb3b6d3d735cb62444e157553
2013-06-29 06:51:19 -06:00
Matthew Flatt
04114ad054 fill in some pkg `implies'
original commit: 5c42f46158248130a8179e7a563d16c5fc9d0d35
2013-06-29 06:51:18 -06:00
Matthew Flatt
05e9e866a3 Revert "move mzlib docs to the compatility pkg"
The "-lib" in "compatbility-lib" is meant to mean "no documentation"
-- and, more to the point, no dependency on documentation infrastructure.

Move later to a "compatibility-doc" package.

This reverts commit acce2d27d13a0bb2fffd4a4a5b844a2395b874f0.

original commit: 05dfce142b39e20d57598708cad501a8d9a14622
2013-06-29 06:19:09 -06:00
Robby Findler
666b3e3c31 freeze mzlib/contract exports from racket/contract/combinator
as they were in 5.3.5

original commit: b93cd5288b800476387c2571c7ba182839b9dbb4
2013-06-28 20:10:24 -05:00
Robby Findler
970f0e381a move mzlib docs to the compatility pkg
original commit: acce2d27d13a0bb2fffd4a4a5b844a2395b874f0
2013-06-28 20:10:23 -05:00
Robby Findler
be8882a7ab adjust mzlib/contract exports to more closely match 5.3.5's exports.
There are a number of formerly-exported identifiers that are now
no longer exported:

  provide/contract-transformer?
  true-provide/contract
  replace-provide/contract-transformer-positive-blame
  make-provide/contract-transformer

These are internal bindings that should probably never have been
exported. (They weren't documented.)

There are two currently-exported identifiers that were not
exported before:

  blame-update
  contract-continuation-mark-key

The first comes because mzlib/contract re-exports
racket/contract/combinator and blame-update is a new export there (for
option contracts). The other is less clear and may be hidden
(it is also new to racket/contract).

original commit: 50a058b26954d1b63fa1f1b5cd82a73540ff0c40
2013-06-28 18:50:35 -05:00
Sam Tobin-Hochstadt
e22881601f Move mzlib/restart back to fix build.
original commit: 4d6bf3192dfbd462acc927d5233cef03b36e96c7
2013-06-27 23:37:33 -04:00
Robby Findler
6d76aefedf move mzlib/contract into compatibility-lib
original commit: 40b2b19089a6f42621a044719739d525ee8d3df5
2013-06-27 21:48:39 -05:00
Robby Findler
036b9c965e adjust mzlib/contract so that it doesn't require any racket/contract/private stuff
original commit: 000c74ced598c7c9805a829b17083955f39e22b0
2013-06-27 21:48:38 -05:00
Sam Tobin-Hochstadt
8df40cc4f0 Move much of mzlib to compatibility-lib package.
original commit: 7917f32d0c79ec71095e2e42bb41e981708129cc
2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
35debb4abf Move compatibility, pconvert, and mutable pairs to new packages.
original commit: 59c6519cd3899f2bc872f0f2105d9c65b536a682
2013-06-27 13:53:52 -04:00
Sam Tobin-Hochstadt
0a8e48410a Move racket/sandbox etc to sandbox-lib package.
original commit: 549310ea0c015488aac9757a0680115688c41394
2013-06-27 13:53:52 -04:00
Matthew Flatt
1a1139f587 a step toward single-collection packages as default
A package's "info.rkt" file should define `collection' as a
string to name a single-collection package's collection, or as
the symbol 'multi to declare the package as multi-collection.
If `collection' is 'same-as-pkg, then the package name is used
as the collection name.

The default for `collection' is 'multi for now, but the intent
is to change the default to 'same-as-pkg after a conversion
period. Also, support for a `single-collection' definition remains
in place, but it wil be removed.

original commit: c738a6aa3eee89a82d577dd35c70eca8ed32f5b4
2013-06-25 22:46:23 +02:00
Matthew Flatt
038f579b79 reorganize into core plus packages
The "racket" directory contains a pared-back version of the
repository, roughly.

The "pkgs" directory everything else in the repository, but
organized into packages.

original commit: b2ebb0a28bf8136e75cd98316c22fe54c30eacb2
2013-06-19 09:01:37 -06:00
Asumu Takikawa
ab3acf86c4 Remove memq, memv, member from #%kernel
These are now implmented purely in Racket on all
platforms.

original commit: c305dba649ff9b09872aa5d215c5da1929b52860
2013-06-11 11:57:22 -04:00
Matthew Flatt
1aae451383 raco pkg create: support "source" and "binary" bundling
Adds `--from-dir' and `--from-install' flags to select the interpretation
of the argument as a directory or as the name of an installed package.
Relevant to PR 13669

Adds `--as-is' (the default), `--source', and `--binary' flags to
select a pruning mode.

The `raco setup' tool recognizes a `rendered-scribblings' specification
in "info.rkt" to trigger moving rendered documentation into place,
registering its tags in the cross-reference database, and fixing up
references to "local-redirect.js"; the presence of a "synced.rktd"
indicates when those fixups have been performed (since, if the package
is installed in a user-specific scope, the documentation doesn't actually
move anywhere). Finally, "out<n>.sxref" needs to report paths relative to
the documentation's directory, and then the relative-directory references
need to be suitably resolved at derserialization; some support for such
relative paths was in place, but it wasn't quite general enough before.

original commit: 198a65a5fc79649ec167d2407c35815768a119ba
2013-05-16 11:50:04 -06:00
Robby Findler
f513d0660a adjust mzlib contract test suite for fixed or/c names
original commit: b8058b381abec667bc6e9fd2b8b515ff436ece12
2013-04-09 22:02:49 -05:00
Robby Findler
e9b2767472 update mzlib contract test suite to recent changes to racket/contract
original commit: 64849bddd2da981fdf3ed99045f3e6d357c9fec8
2013-03-24 07:24:32 -05:00
Eli Barzilay
b18941fd54 Fix lots of indentation mistakes.
(Found by my ayatollah script...)

original commit: af6be85ff576e475753a46bd3f1690eb8bf88a28
2013-03-14 10:55:47 -04:00
Matthew Flatt
5c93f3a38b add `file-truncate'
original commit: 48e0509381ece9a356a4f4d225767f5cdd079b88
2013-01-18 11:03:46 -06:00
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