Commit Graph

25323 Commits

Author SHA1 Message Date
Matthew Flatt
17f2822a63 remove debugging `log-error' 2013-04-17 12:28:49 -06:00
Robby Findler
c50005870f adjust case-> so that the blame context information includes
which case of the case-> happened
2013-04-16 18:40:48 -05:00
Robby Findler
a46e4c71b6 fix case-> to not abuse procedure-chaperone
closes PR 13697
2013-04-16 18:40:48 -05:00
Robby Findler
d1e7841f84 add File|New, File|Open... and File|Open Recent menu items to the
bug report form window

related to PR 13698
2013-04-16 18:40:48 -05:00
Jay McCarthy
b2463815d6 Adding pkgs-all 2013-04-16 13:53:37 -06:00
Jay McCarthy
d3f8c75de9 Adding pkgs/all 2013-04-16 13:53:37 -06:00
Matthew Flatt
d2b1dc6c63 raco pkg remove: only setup needed collections
That is, limit the ending `raco setup' to the same collections
as the corresponding `raco pkg install' (droppping collections
that no longer exist afterward, of course).
2013-04-16 13:17:05 -06:00
Matthew Flatt
6fe2861877 DrRacket: if any file in package X is open, treat X as "in development"
... for the purpose of "populate 'compiled' directories" --- but only if
the user has write permission for the package directory.

This change may or may not be a good idea. The idea is that installed
packages generally should be treated in the same way as the main
"collects" tree (e.g., avoiding debugging instrumentation), but if you
happen to be developing a package, then you want it treated like things
that are not in the main "collects" tree. So, how do you pick? Maybe
opening a file in the package is a good way to pick.
2013-04-16 12:51:54 -06:00
Matthew Flatt
7e91a00648 remove accidentally added files 2013-04-16 12:27:20 -06:00
Matthew Flatt
551fd1c68d DrRacket: disable "compiled/drracket" during skipped-file load
If DrRacket decides to skip a file for "populate compiled",
then there may exist a file in "compiled/drracket", anyway,
or there may be such a file for some depenency of the skipped
file. Before this patch, that situation was considered to be a
broken installation, and things would go bad in the likely
case that the "compiled/drracket" files were out of date.

To avoid that problem, parameterize `used-compiled-file-paths'
to drop the DrRacket "populate compiled" target while loading
the skipped file.

This change sets up a more selective "populate compiled" where
a package's modules might switch between eligible and
ineligible for compilation by DrRacket.
2013-04-16 11:23:16 -06:00
Matthew Flatt
fe9350ea62 DrRacket: treat installed packages like "collects" directories
... for the purpose of "populate 'compiled' directories".
2013-04-16 11:04:28 -06:00
Matthew Flatt
25ddfcbfb3 ffi/com: repairs for parameterized-property setting and for date values
Merge to v5.3.4
2013-04-16 10:02:37 -06:00
Matthew Flatt
10e53e3bf4 pkg/lib: lock clean-up, and add `path->pkg'
Make the installed-package database lock reentrant, change some
functions to take the lock, and fix the documentation on when a
lock is expected to be taken outside of functions.
2013-04-16 08:58:19 -06:00
Matthew Flatt
267ac03279 pkg/lib: clean up names and package-scope parameter
More consistent exported names and parameters that better match the
three scope choices (installation, user, or shared) --- cleaning up
after myself.
2013-04-16 08:58:19 -06:00
Matthew Flatt
44d59702c0 racket/gui cocoa: fix `list-box%' visble-cell calculations
There were especially problems with header columns, but
also intercell spacing was not taken into account.

Merge to v5.3.4
2013-04-16 08:58:19 -06:00
Asumu Takikawa
d4927e917b Fix old style contracts 2013-04-16 10:52:55 -04:00
Asumu Takikawa
7d4b162181 Fix imap-list-child-mailboxes to match contract
Closes PR 13658
2013-04-16 10:52:55 -04:00
Asumu Takikawa
c7d878c009 Fix parsing when CNAME is provided for MX query
The code was assuming that the record type was
MX even though this could be false. Also adjusted
some code to also make it easier to test.

Note: the behavior when MX records are missing
is probably still not right.

Closes PR 13654
2013-04-16 10:52:55 -04:00
Robby Findler
ffd7b8fde3 another attempt to handle the #:important flag properly for blame objects
related to PR 13692
2013-04-15 22:12:46 -05:00
Robby Findler
11f74fc571 track dependencies from files with errors separately
from when the file doesn't have an error

More precisely, keep two sets of depndencies for a given
open tab. If the file expanded without error then we consider
that authoratative and keep that set of dependencies around
even if a later expansion fails. So there are two sets of
dependencies for each tab. When expansion succeeds, we reset
both of them, but if expansion fails then we reset only one,
preserving the set we got from the last successful expansion

please include in the release
2013-04-15 21:12:20 -05:00
Burke Fetscher
67daa276ff Remove uses of else in match.
Also, a few micellaneous fixes for the prototype trace browser
2013-04-15 18:17:57 -05:00
Robby Findler
15623d9341 export only contract-random-generate from racket/contract,
not the internal helper functions

Thanks to Asumu for catching this!
2013-04-15 15:44:33 -05:00
Robby Findler
a0cee1ba99 get rid of now-osolete opt/c code 2013-04-15 15:44:33 -05:00
Matthew Flatt
b47c1857b5 raco pkg: support platform-specific package dependencies
A platform-specific dependency is useful for triggering
installation of a platform-specific library only on the
platform where its needed.
2013-04-15 06:21:49 -06:00
Matthew Flatt
37aa091e1c raco pkg: add support for local package-index databases
Adds `pkg/pnr-db', `raco pkg index-copy', and `raco pkg index-show'.

Includes tools to build a database of modules that are supplied by
packages, which will be useful for a tool to recommend package
installs when a module is not found.

Also, document `pkg/lib' and add extra helper functions
for getting package information from a package name resolver.
2013-04-15 06:21:49 -06:00
Matthew Flatt
50ade25b28 net/url: support HTTP/1.1 connections 2013-04-15 06:21:49 -06:00
Robby Findler
c188be0441 move the call that sets the focus later so it actually happens
merge to the release branch, please
2013-04-14 18:48:07 -05:00
Eric Dobson
b8ab1334d9 Terminate typechecking on cyclic lists.
Closes PR 13687.
2013-04-13 20:23:19 -07:00
Robby Findler
7ea6a430f1 change promise/c docs to use defproc instead of defform
also fix a few "listof/c"s

closes PR 13694
2013-04-13 19:12:51 -05:00
Robby Findler
0d0334616f add one more leading space to contract error messages (covering the first field) 2013-04-13 18:45:39 -05:00
Robby Findler
24ee49b7a2 add an "contract on:" line for the case when an #:important argument
overrides the name of the value so we can keep that original name somewhere

related to PR 13692
2013-04-13 18:45:28 -05:00
Robby Findler
79955e1204 fix the sense of the blame aspects of the blame object has a #:important
closes PR 13692
2013-04-13 18:38:34 -05:00
Stevie Strickland
ab66b485e5 Revert "Check that init args mentioned in contracts are provided."
This reverts commit 27b4df3eb5.
2013-04-13 17:35:22 -04:00
Stevie Strickland
27b4df3eb5 Check that init args mentioned in contracts are provided.
Closes PR 13693.
2013-04-13 17:31:39 -04:00
Stevie Strickland
eb12d76769 Add two spaces before contract error message fields (Reference section 9.2.1). 2013-04-13 17:31:39 -04:00
Mike Sperber
3cb555a6c1 Synch German string constants with latest. 2013-04-13 14:37:54 +02:00
Matthew Flatt
69707c9255 racket/gui: gl-config fixes 2013-04-12 18:29:01 -06:00
Stephen Chang
b3ba324a92 fix typed racket named let: error when there are no binding types
closes PR 13691

include in release
2013-04-12 18:25:55 -04:00
Matthew Flatt
9a52894b8b racket/enter: fix exception handling & propagation for `enter!'
Merge to v5.3.4
2013-04-12 14:58:54 -06:00
Matthew Flatt
9420855879 racket/gui cocoa: delay `on-paint' if a GL context isn't ready
The relevant `on-paint' call is one that is forced for a GL
canvas to try to draw a frame's content before the frame is
shown. Sometimes, thread scheduling would let the frame get
sufficiently initialized at the Cocoa level before the `on-paint'
call happened, but sometimes not.
2013-04-12 14:58:53 -06:00
Matthew Flatt
fff88eeb92 ffi/unsafe/obj: fix use of ivar in rator position
Merge to v5.3.4
2013-04-12 14:58:53 -06:00
Jay Kominek
0562755be9 OpenGL context sharing 2013-04-12 14:58:53 -06:00
Matthias Felleisen
6642c114f7 reformat error message for implode, Closes PR 13690 2013-04-12 16:25:20 -04:00
Asumu Takikawa
fa80c53115 Fix #:methods regression at top-level
Please merge to v5.3.4
2013-04-12 16:10:27 -04:00
Claire Alvis
d84494dd44 Fixes strange error messages for invalid generic method definitions
Closes PR 13681

Please merge to v5.3.4
2013-04-12 16:10:27 -04:00
Matthias Felleisen
2d934e6a4f die to dice 2013-04-12 13:17:22 -04:00
Matthew Flatt
879a919973 fix dependency cycle in `picturing-programs' 2013-04-12 06:40:38 -06:00
Matthew Flatt
33700427f2 racket/gui: make list-box% columns more consistent across platforms
Cocoa: use ellipses instead of line wrapping
Gtk: allow column sizing below title width

Merge to v5.3.4
2013-04-12 06:36:51 -06:00
Stephen Bloch
c25ed7473c Moved error-message tests into a module+ in main source file. 2013-04-12 06:43:11 -04:00
Eli Barzilay
b5771e6ade Avoid loading modules in module->path' and known-module'.
This is particularly problematic for `require-reloadable'.

Closes PR 13688.
2013-04-12 01:23:19 -04:00
Robby Findler
a425ee5207 improve the name of recursive-contract (thanks, Asumu!)
closes PR 13686
2013-04-11 22:44:56 -05:00
Burke Fetscher
41d90c6dd5 redex: syntax error fix for define-relation
please merge to the release branch
2013-04-11 22:34:29 -05:00
Robby Findler
e6122d5fbd fix listof error reporting
closes PR 13685

please merge to the release branch
2013-04-11 19:35:09 -05:00
Robby Findler
6cc0581dcd add Burke to acks
please merge to release branch
2013-04-11 19:35:07 -05:00
Matthew Flatt
06c42f0887 equality for `define-cstruct'-generated wrappers
Closes PR 13650

Merge to v5.3.4
2013-04-11 14:48:26 -06:00
Robby Findler
e5ae68a0c2 Add Burke to redex responsibility
(and remove Casey)
2013-04-11 14:06:40 -05:00
Matthew Flatt
98c5209c95 ffi/unsafe: fix doc typo
From Tobias

Closes PR 13684

Merge to v5.3.4
2013-04-11 10:30:00 -06:00
Matthew Flatt
c1d9b0716e dist-spec fix for `raco setup' extra file 2013-04-11 10:11:58 -06:00
Matthew Flatt
d195e3889b raco pkg: fix `raco setup' sensitivity to package scope
Merge to v5.3.4
2013-04-11 09:54:17 -06:00
Matthew Flatt
ff324f9270 raco setup: remove any extra documentation dirs in installation
After uninstalling a package in installation scope, its documentation
should be removed. A new `raco setup' step takes care of that.

Merge to v5.3.4
2013-04-11 09:54:17 -06:00
Matthew Flatt
0b2c9af57c move handin-client' and handin-server' to `handin' package 2013-04-11 09:54:17 -06:00
Matthew Flatt
ef6639f4c7 pkg docs: add a tag for the "how to develop" section
Merge to v5.3.4
2013-04-11 09:54:17 -06:00
Jay McCarthy
f29a071774 Normalize max-waiting contracts 2013-04-11 08:33:29 -06:00
Jay McCarthy
1bdf6e67dd Adding max-waiting to serve/servlet, re dyoo 2013-04-11 08:33:29 -06:00
Jay McCarthy
f340939677 Changing default max-waiting to 511 re Apache 2013-04-11 08:33:29 -06:00
Jay McCarthy
7dd9cc9568 Adding link 2013-04-11 08:33:29 -06:00
Jay McCarthy
5c4952ba03 Fixing PR13683 2013-04-11 08:33:29 -06:00
Matthew Flatt
fd614991e6 code tweaks 2013-04-11 06:50:13 -06:00
Matthew Flatt
a9a20e9aa7 fix the name of `environment-variables-ref'
Also, fix use of unsetenv() to work with platforms where it returns
void.
2013-04-11 06:42:54 -06:00
Robby Findler
d710550f0a make opt/c use a more comprehensive list of known-to-be-good
predicate contracts

also make it just evaporate when the contract is unknown
(instead of leaving a wrapper behind around the contract)
2013-04-10 18:32:25 -05:00
Matthew Flatt
d4fa2766c2 performance tweaks for `for/{fx,fl,extfl}vector'
Also, provide a better error message when the body produces a
non-{fix,flo,extflo}num.
2013-04-10 17:26:38 -06:00
Burke Fetscher
3feb6cf039 add a consistency check on the final environment
Specifically, check that fully instantiated terms
with cstrs on them satisfy those cstrs.
2013-04-10 16:13:45 -05:00
Matthew Flatt
e49956e3ea fix hole in validator
The validator was not as smart as the compiler in determining
that a `let' expression could be relied on to produce a
constant-shaped function (without side effect or error) in the case
that a right-hand side expression is a call to a known structure
constructor or predicate.

Closes PR 13679

Merge to v5.3.4
2013-04-10 15:06:13 -06:00
Matthew Flatt
6ea9a2b3e3 add `make-environment-variables'
Swap order of argument for `environment-variables-get'
and `environment-variables-set!', so that the environment
variables come first --- which follows the usual order.
This change means that the parameter isn't used to get
the default environment variables, but that seems ok; the
convenient interface is `getenv' and `putenv'.

On Windows, case-normalized environment variable names.

Also, change the implementation to use an immutable hash
internally.
2013-04-10 12:06:29 -06:00
Matthew Flatt
cfe9f447c8 fix sandbox test to avoid influence from other tests 2013-04-10 12:04:52 -06:00
Burke Fetscher
468d2b192e redex: elminate another #f/failure confusion 2013-04-10 12:59:15 -05:00
Asumu Takikawa
3946d7ff78 Fix environment variable doc typos 2013-04-10 12:50:46 -04:00
Matthew Flatt
6e0492dff0 fix a UDP multicast test to make it work on Windows XP 2013-04-10 09:11:28 -06:00
Matthew Flatt
7c0f35e138 reference: simplify some contractcs 2013-04-10 08:29:42 -06:00
Matthew Flatt
d5f32b649c racket/sandbox: add sandbox-make-environment-variables
By default, a sandbox gets a fresh environment variable set,
which means that it does not affect environment variables
outside the sandbox (which means that sandboxed code cannot
set the Racket process's OS-level environment variables).

Closes PR 13667
2013-04-10 06:59:33 -06:00
Matthew Flatt
3d1b0bd381 new environment-variable API
The `current-environment-variables' parameter determines the current
mutable "environment variable set". If that set is the initial one for
a Racket process, then using the set corresponds to working with OS
environment variables.  Otherwise, it's really just a hash table that
is packaged up as OS environment variables if a subprocess is created.

The new environment-variable interface works in terms of bytes, instead
of assuming that environment variable names and values fit in a string
encoding.

The string-based `getenv' and `putenv' are still available as
convenience wrappers. The checking on environment-variable names
for those wrappers is a little tighter, preventing any attempt to use a
name that contains "=".
2013-04-10 06:59:33 -06:00
Matthew Flatt
de9b77ad6d plai/{gc2/}mutator: doc fixes
A symptom of mismatched `for-label' imports was that searching for "<="
would show red-underlined links to the `plai/{gc2/}mutator' documentation.

Merge to v5.3.4
2013-04-10 06:59:33 -06:00
Robby Findler
2decc99b26 add forgotten piece to the opt/c -> fix 2013-04-09 22:23:01 -05:00
Robby Findler
4da6b0904e add something that tracks the size of .zo files over time
(this is for our benefit via drdr)
2013-04-09 22:02:49 -05:00
Robby Findler
011f47540d fix opt/c for -> contracts when the function accepts keyword arguments 2013-04-09 22:02:49 -05:00
Robby Findler
b8058b381a adjust mzlib contract test suite for fixed or/c names 2013-04-09 22:02:49 -05:00
Danny Yoo
075212d07c Correct typo. 2013-04-09 15:49:11 -06:00
Matthew Flatt
2295d16074 fix `raco setup -j' for a non-places build
When places are not enabled, then `raco setup' uses multiple
Racket processes that commuincate via pipes. Don't try to send
a place channel over a pipe.

Merge to v5.3.4
2013-04-09 12:20:13 -06:00
Matthew Flatt
8d7c231cd8 doc clarification 2013-04-09 10:55:21 -06:00
Robby Findler
b721565488 add #:error-name argument to opt/c
this makes it easier to stick opt/c implicitly into
various other contract using forms
2013-04-09 09:41:54 -05:00
Robby Findler
caad82f91e remove the code duplication in opt/c
The code duplication was there only to support
constructing the name for the optimized contract;
instead we actually just built the name as we go
(the old version actually built the old contract
 and then used that to get the name)

also:
 - racket/contract/base now requires basic-opters.rkt
   so all of the opters are registered when racket/contract/base
   is loaded, not just the non-basic ones
 - fix the ordering of the names of subcontracts in or/c
 - make opt-contracts print a more meaningful name
2013-04-09 09:41:46 -05:00
Eli Barzilay
436d9f25f9 Distribute all COPYING*.txt files. 2013-04-09 05:41:22 -04:00
Eli Barzilay
f57fbd94a6 Fix old pointers to COPYING.txt that should go to COPYING_LESSER.txt. 2013-04-09 05:41:07 -04:00
Eli Barzilay
bc7230bea2 Add missing responsible. 2013-04-09 05:15:57 -04:00
Matthew Flatt
8b5523bd10 fix `for/flvector', etc. unsafety
Closes PR 13675

Merge to v5.3.4
2013-04-08 17:45:02 -06:00
Tony Garnock-Jones
94e36c8193 Tests for UDP multicast primitives 2013-04-08 15:23:01 -06:00
Robby Findler
f093131607 adjust pick-a-maze based on Neil's comments
please include in the release
2013-04-08 16:09:55 -05:00
Matthew Flatt
d5ede87ae8 JIT for ARM
Includes switch from LGPL 2.1 to LGPL 3, since the ARM port
of GNU lightining is licensed under LGPL 3.
2013-04-08 14:43:30 -06:00
Matthew Flatt
bc5c89cbf0 fix a non-deterministic test 2013-04-08 14:43:29 -06:00
Burke Fetscher
495e5c94cf redex: bug fix for gerating terms including #f
please include in the release
2013-04-08 15:03:01 -05:00
Vincent St-Amour
aac22e1ce5 Better error message for non-existent generics groups.
Closes PR13671.
2013-04-08 14:43:29 -04:00
Robby Findler
1ebf66252f fix test suite to match earlier fix to obligation info
merge to release branch, please
2013-04-08 13:40:56 -05:00
Robby Findler
d9adb4e6e9 fix improper fraction display
closes PR 13558

please include in the release
2013-04-08 13:40:55 -05:00
Robby Findler
caec6d0711 shortcircuit some of the code involved in drawing the margin highlight
for online expansion errors

This avoids drawing the margin highlight when it isn't inside the
region being repainted and it avoids even figuring anything out about it
when there is currently no error range

NOT for the release branch
2013-04-08 13:40:55 -05:00
Asumu Takikawa
5735d37794 Use any/c for the ip-address-string? domain
Previously, it was `string?` which is needlessly
restrictive and caused premature contract failures.

Please merge into 5.3.4
2013-04-08 11:18:57 -04:00
Jay McCarthy
c396d1e435 Adding documentation notes re Eli 2013-04-08 06:41:14 -06:00
Robby Findler
ccda5a84ad fix box/c and vector/c obligations
closes PR 13673
2013-04-07 19:57:41 -05:00
Robby Findler
6f7c938c0b fix ->m for keyword arguments
closes PR 13674
2013-04-07 19:57:41 -05:00
Robby Findler
f735e6a17e Go to a 12x12 maze to make it slightly easier to win 2013-04-06 22:38:51 -05:00
Robby Findler
d045db0d8f Tally Maze 2013-04-06 22:21:50 -05:00
Robby Findler
d8f455158c make the get/extend extension more flexible
Specifically, allow a name to be specified with an
extension such that subsequent uses of those extensions
will replace mixins instead of adding new ones
2013-04-06 19:04:05 -05:00
Robby Findler
8ce213bf1c extend proc-doc to support optional arguments in an ->i contract
also refactor to be able to add some unit tests
2013-04-06 19:04:05 -05:00
Robby Findler
a72046285d fix bad call to raise-argument-error and use ->i instead of ->d
for the mixin contracts
2013-04-06 19:04:05 -05:00
Robby Findler
4632899b81 get a better name for certain contract error messages
related to PR 13665
2013-04-06 19:04:04 -05:00
Robby Findler
8231db1961 fix non-terminal reference 2013-04-06 19:04:04 -05:00
Jay McCarthy
47c1334f6d A few links 2013-04-06 15:07:07 -06:00
Jay McCarthy
259621f7cb Fixing PR13657 2013-04-06 15:07:07 -06:00
Jay McCarthy
06767ab8c3 Fixes PR13655 2013-04-06 15:07:06 -06:00
Burke Fetscher
a97ff69cd0 test-equal->test for better drdr source loc info 2013-04-06 15:20:15 -05:00
Matthew Flatt
88c7bb59d4 fix `udp-bind!' test 2013-04-06 10:50:02 -06:00
David Van Horn
213430f728 Add #:lang and input-program inputs to make-base-eval and friends.
This commit extends make-base-eval, make-base-eval-factory, and
make-eval-factory with an #:eval and input-program inputs so that
these functions are more like racket/sandbox make-evaluator.
2013-04-06 09:00:41 -06:00
Matthew Flatt
ee78b70e4a doc search: fix mismatch between generator and renderer
This change revisits commit eb7fa6f066. I think the problem
is not in the rendering of index entries but on the generation
side. The generator was converting Xexprs to strings, except
that strings were left as-is, which is inconsistent. So,
I've reverted commit eb7fa6f066 and fixed the generator.
2013-04-06 07:43:49 -06:00
Matthew Flatt
b82cadaf99 reference: fix grammar for cross-phase expressions 2013-04-06 07:42:59 -06:00
Matthew Flatt
7c4cfdd367 reference: adjust docs for UDP multicast
Minor style changes to better match the rest of the docs,
plus "HISTORY.txt" entry.
2013-04-06 07:22:31 -06:00
Tony Garnock-Jones
314bc49714 UDP Multicast primitives and documentation. 2013-04-06 06:49:13 -06:00
Tony Garnock-Jones
d78456b88b Support SO_REUSEADDR on (udp-bind!), for multicast use. 2013-04-06 06:49:13 -06:00
Matthew Flatt
f24b91a1cc fix interference of unboxing inference for different arguments 2013-04-06 06:42:01 -06:00
Robby Findler
77163fe8d1 add the ability to load in new mixins to DrRacket's
various get/extend:extend functions
2013-04-05 22:39:20 -05:00
Robby Findler
b05767ab13 add support for firing up a REPL to poke at DrRacket 2013-04-05 22:39:19 -05:00
Robby Findler
0ea2b61857 fix bug in online check syntax 2013-04-05 22:39:19 -05:00
Asumu Takikawa
9eaf5aaddb Remove unnecessary type->contract case 2013-04-05 16:56:50 -04:00
Asumu Takikawa
0161dfdf16 Translate Value types to ctcs with better names
e.g., True -> '#t  instead of
      True -> "#t" for a flat-named-contract
2013-04-05 16:56:50 -04:00
Vincent St-Amour
fe83da9bdf Eliminate intermediate lists. 2013-04-05 16:47:11 -04:00
Vincent St-Amour
f10e1fd58d Avoid duplicate work. 2013-04-05 16:47:11 -04:00
Vincent St-Amour
d3507c4c3e Preserve source location for struct constructor contracts. 2013-04-05 16:47:11 -04:00
Vincent St-Amour
ad9de1f325 Error message typo. 2013-04-05 16:47:11 -04:00
Ryan Culpepper
1d04ce2069 move unstable/redex to unstable/gui/redex to fix dist-specs
Also, don't use unsupported unicode chars.
(Should these be added to latex renderer?)
2013-04-05 16:01:50 -04:00
Robby Findler
cfe3a7d5bf Separate out mrlib/terminal from the rest of mrlib, dependencieswise
The mrlib/terminal library fits in the mrlib collection in that it is
a random library that uses our GUI system that doesn't belong in
racket/gui somewhere.

It also doesn't really fit into the framework as the framework is
supposed to be a colleciton of useful mixins for our racket/gui
classes.

It does, however, benefit from using the framework (and the string
constants library) so the best option seems to be to think of mrlib as
consisting of separate libraries that fit into two different layers
of the dependency hierarchy. So that's what this commit does.
2013-04-05 10:22:33 -05:00
Robby Findler
117819a5c9 Revert "adjust dependencies to allow mrlib/terminal to use the framework"
This reverts commit aa29fe01a8.

This change merges too much stuff into a high layer of the dependency structure
2013-04-05 10:22:33 -05:00
Robby Findler
e34e63b323 add support for updating packages via
drracket's "install package" menu item

It will infer whether to use 'raco pkg update' or
'raco pkg install' based on the currently installed
set of packages (but, of course, the details
section of the dialog lets you override this inference
if necessary)
2013-04-05 10:22:33 -05:00
Robby Findler
e3b580c200 add installed-pkg-names 2013-04-05 10:22:33 -05:00
Robby Findler
eb7c5ad84c add edit|copy and edit|select all menu items to mrlib/terminal frames 2013-04-05 10:22:33 -05:00
Eli Barzilay
26273db266 Avoid output in ftp tests.
Also add a note explaining why the output is not tested.
2013-04-05 02:23:43 -04:00
Eli Barzilay
6149134011 Misc improvements to net/dns' and net/private/ip'.
* Some racketisms.

* Use explicit `in-list' etc in for loops.

* Remove some redundant requires from `net/dns'.

* Move all tests to `tests/net', including a new `tests/net/ip'.  In the
  future there's a plan to have things like stripped zos etc for
  distribution, but we're not there yet, and the net collection is
  already organized nicely so this also makes it more uniform.

* Include the dns tests in the main test file.
2013-04-05 02:23:43 -04:00
Burke Fetscher
d00099dbdb Redex: pass language id through for term errors 2013-04-04 22:59:14 -05:00
Robby Findler
aa29fe01a8 adjust dependencies to allow mrlib/terminal to use the framework
Not sure if this is the right fix, but hopefully it will allow
the build to happen while we debate the right fix.
2013-04-04 22:04:12 -05:00
Burke Fetscher
4410ecceb2 Redex: fix term-let/#:lang keyword interaction
Account for the fact that define-language bindings may get
shadowed by term-let when using the same identifier as the language.
2013-04-04 20:38:08 -05:00
Asumu Takikawa
8483a1493f Fix the returned type of dns-get-mail-exchanger. 2013-04-04 16:11:28 -04:00
Asumu Takikawa
35e791be4e Adjust type for dns-get-address 2013-04-04 16:11:28 -04:00
Claire Alvis
04f535cadc Default implementations are only reached in the absence of method tables. 2013-04-04 15:31:51 -04:00
Vincent St-Amour
16a75761b0 Make TR-generated identifiers have the same name as original identifiers.
Makes error messages nicer, and makes it easier to correlate with source code.
2013-04-04 15:31:51 -04:00
Vincent St-Amour
ff3d785da2 Use locations from typed identifiers for type-generated contracts. 2013-04-04 15:31:51 -04:00
Vincent St-Amour
459c731bb9 Have Optimization Coach report unsound float division missed optimizations. 2013-04-04 15:31:50 -04:00
Asumu Takikawa
02989b23a1 Fix ipv4 check on addresses with a leading 0 2013-04-04 14:03:23 -04:00
Asumu Takikawa
0b55cf3df2 Refine contract check 2013-04-04 14:03:23 -04:00
Asumu Takikawa
e62bb05f05 Fix equality check 2013-04-04 14:03:23 -04:00
Asumu Takikawa
f904bd8ba5 Make IP addresses immutable 2013-04-04 14:03:23 -04:00
Ryan Culpepper
ffa589116f added unstable/redex with useful typesetting (rewriter) helpers 2013-04-04 13:28:01 -04:00
Ryan Culpepper
516f56fc83 added with-eval-preserve-source-locations to scribble/eval
Makes it possible to show examples of redex term->pict, etc.
2013-04-04 13:28:01 -04:00
Asumu Takikawa
92102a2f07 Use net/private/ip in net/dns
This simplifies the code by outsourcing IP
address functionality to net/private/ip.
2013-04-04 13:05:56 -04:00
Asumu Takikawa
4e76ae8c11 Add an IP address library
The library currently lives in a private subfolder so
that the interface can still be changed. The idea is to
eventually make it a top-level `net` library once it is
more mature.
2013-04-04 13:05:56 -04:00
Robby Findler
8246d073c0 adjust the package installation menu item in drracket to use mrlib/terminal 2013-04-04 11:10:30 -05:00
Eric Dobson
94861becd0 Fix untested contract generation code.
Closes PR 13449.
2013-04-04 08:29:15 -07:00
Eric Dobson
76de4d3cca Fix tc-apply to correctly generate expected ValueDots filters.
Closes PR 13649.
2013-04-04 07:45:15 -07:00
Eric Dobson
2b8efd6676 Fix contracts in TR. 2013-04-04 07:43:08 -07:00
Eric Dobson
17b9ed0a75 Fix prefix-of.
Closes PR 13448.
2013-04-04 07:42:45 -07:00
Eric Dobson
5ec7401f1f Add example of (List t ... bound).
Closes PR 11903.
2013-04-04 07:41:53 -07:00
Eric Dobson
c295608282 Add doc for #:no-optimize.
Closes PR 13001.
2013-04-04 07:41:53 -07:00
Vincent St-Amour
d00a579c5a Document not yet fixed optimizer bugs found using random testing. 2013-04-04 10:05:53 -04:00
Vincent St-Amour
a50d9bad7e Avoid unsound optimization for complex division.
Found using random testing.
2013-04-04 10:05:53 -04:00
Jay McCarthy
0003b737bd Doctrinal purity 2013-04-04 07:38:57 -06:00
Jay McCarthy
d630a09247 Add xrefs and advice re Robby 2013-04-04 07:38:57 -06:00
Jay McCarthy
2bd19d1604 Add xrefs and advice re Robby 2013-04-04 07:38:57 -06:00
Jay McCarthy
0cbf694468 Fixing error with uninitialized packages 2013-04-04 07:38:57 -06:00
Jay McCarthy
9df0c7c7b0 Changing breadcrumbs 2013-04-04 07:38:57 -06:00
Jay McCarthy
6a4af88d6a Setting up the conflict detection framework 2013-04-04 07:38:57 -06:00
Jay McCarthy
cd0e0266e2 Starting to store and display curation information 2013-04-04 07:38:57 -06:00
Robby Findler
13d7cc1184 fix careless error 2013-04-04 07:36:33 -05:00
Robby Findler
ecf2b16bf0 refactor the plt installation code in drracket to pull out
the GUI wrapper around command-line like utilities
2013-04-03 22:23:26 -05:00
Robby Findler
15abd8f9dd remove unused require 2013-04-03 22:23:26 -05:00
Eli Barzilay
af027020ba Adjust tests to x' instead of ×'. 2013-04-03 19:53:58 -04:00
Eli Barzilay
8ffd887847 Test for being able to customize struct printouts. 2013-04-03 18:10:22 -04:00
Eli Barzilay
448a62eae4 Avoid non-ascii character in numeric formats. 2013-04-03 18:10:22 -04:00
Danny Yoo
6e32a25253 Defensively check pos before subtraction in module-reader.rkt. 2013-04-03 14:26:16 -06:00
Eric Dobson
04ef9db1b3 Turn dynamic-requires into lazy-requires in TR.
Closes PR 13621.
2013-04-03 09:49:40 -07:00
Eric Dobson
6c2e75ac7e Make +,*,min,max support precise unary types.
Closes PR 13563.
2013-04-03 09:33:02 -07:00
Eric Dobson
0e0f1cd670 Adds subtyping for filters, and fixes -FS to be more precise.
Closes PR 12817.
2013-04-03 09:25:28 -07:00
Robby Findler
cce76eba00 fix bug in untar when unpacking a tar file with top-level files 2013-04-03 10:18:02 -05:00
Robby Findler
77a1b55c32 hide the testing of the close parens with an edit-sequence 2013-04-02 21:26:43 -05:00
Robby Findler
944602440c add response/output 2013-04-02 21:26:32 -05:00
Vincent St-Amour
ffc90239d0 Fix test for new complex division. 2013-04-02 17:32:29 -04:00
Tony Garnock-Jones
c5df74f662 Show the offending value when a TR-introduced Any contract fails 2013-04-02 16:29:11 -04:00
Tony Garnock-Jones
f2616b934c Avoid stripping location information from syntax object in warning message. 2013-04-02 16:29:11 -04:00
Vincent St-Amour
b808d2809e Fix optimization on exp of complex numbers.
Found using random testing.
2013-04-02 16:29:11 -04:00
Vincent St-Amour
8948388ec5 Fix another unsafe optimization of unsafe-fxmodulo.
Found using random testing.
2013-04-02 16:29:10 -04:00
Vincent St-Amour
f66ee7088f Fix type of tanh.
Found using random testing.
2013-04-02 16:29:10 -04:00
Vincent St-Amour
ed12b64bf7 Fix type of sinh.
Found using random testing.
2013-04-02 16:29:09 -04:00
Vincent St-Amour
51c94e26d3 Increase timeout for TR random tester. 2013-04-02 16:29:09 -04:00
Vincent St-Amour
6e10dd6a4d Imitate untyped division more closely.
Found using random testing.
2013-04-02 16:29:08 -04:00
Vincent St-Amour
5f9bcbca49 Abstract unboxing of complex division. 2013-04-02 16:29:08 -04:00