Commit Graph

1804 Commits

Author SHA1 Message Date
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
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