Commit Graph

29105 Commits

Author SHA1 Message Date
Eric Dobson
4310f04eaf Consolidate the rest of the syntax properties in TR. 2013-05-28 20:22:55 -07:00
Eric Dobson
a325e38046 Centralized typechecker:ignore properties. 2013-05-28 20:21:58 -07:00
Eric Dobson
df07151cb9 Centralize the definition of the plambda syntax property. 2013-05-28 20:21:57 -07:00
Eric Dobson
84d3051fee Make resolve actually do all the necessary resolutions. 2013-05-28 20:21:31 -07:00
Sam Tobin-Hochstadt
499bcefa1d Register scoped type variables for internal def. annotations.
Closes PR 13793.
2013-05-28 18:03:41 -04:00
Sam Tobin-Hochstadt
64df4cef13 Use submodules instead of marking tricks for identifiers in docs. 2013-05-28 17:28:42 -04:00
Vincent St-Amour
0e7940ab49 Fix broken test, again. 2013-05-28 15:45:09 -04:00
Burke Fetscher
99548825ff add a parameter to adjust random generation methods
- also remove an obsolete function and some other cleanups
2013-05-28 13:29:43 -05:00
Stephen Bloch
9b2f087365 Added some checks for user errors.
Removed some error-checks that can't happen.
Added a bunch of test cases.
Reorganized test cases to be after each function, rather than all in one place.
2013-05-28 13:37:27 -04:00
Vincent St-Amour
069ff59a4b Fix broken test. 2013-05-28 13:08:00 -04:00
Vincent St-Amour
d9264525bd Don't splice in vector creation when optimizing vector-length.
Closes PR13788.
2013-05-28 11:57:00 -04:00
Vincent St-Amour
a2c964dbdd Allow the profiler's sampler to collect user-specified continuation marks. 2013-05-28 09:42:42 -04:00
Eric Dobson
ac8fd2cd38 Fix doc typo. 2013-05-27 17:39:58 -07:00
Asumu Takikawa
e6503c5df6 Fix broken internal error 2013-05-27 11:34:43 -04:00
Robby Findler
404a314887 add GUI support for compile-enforce-module-constants to DrRacket
closes PR 13781
2013-05-26 22:36:41 -05:00
Robby Findler
5b09ea16fb minor improvement to class/c: generate a little bit less code 2013-05-26 15:49:41 -05:00
Robby Findler
429000fe3b minor clarification to class/c contract spec 2013-05-26 14:34:50 -05:00
Robby Findler
e94f443def missed a spot for the vector => exn-info change
also update the commented type spec

this fixes a bug in commit 3474d091
2013-05-26 08:12:57 -05:00
Robby Findler
6e7c6f2f45 when the package installer has a parent, don't
recenter the dialog

(should this be mac os x specific?)
2013-05-25 21:22:53 -05:00
Robby Findler
3474d09138 adjust DrRacket's online compilation to recognize exn:missing-module?
exceptions and offer to install
2013-05-25 21:22:52 -05:00
Eric Dobson
b9b1eb14ba Minor whitespace fix. 2013-05-25 18:09:47 -07:00
Robby Findler
56cb3d7b66 only include --force when the checkbox isn't disabled
related to PR 13777
2013-05-25 19:03:12 -05:00
Robby Findler
b929b73590 adjust DrRacket to offer installation of packages
based on exn:missing-module?
2013-05-25 17:09:29 -05:00
Eric Dobson
01a88f8db1 Make scoped type vars work only for explict Alls and annotations.
Solves major issue disscussed on PR 13586.
Closes PR 13622.
Solves issue when typechecking lambdas with types like (All (a) Any).
Closes PR 13596.
Closes PR 13539.
Closes PR 13703.
2013-05-25 13:01:02 -07:00
Robby Findler
334052cb51 fix check in memory limit in drr's GUI (and fix
error message in custodian-limit-memory)

closes PR 13778
2013-05-25 10:06:21 -05:00
Nadeem Abdul Hamid
f79dfb4caf Improve auto-parens mode implementation and behavior
including behavior of double quote typed in a string
so that it results in the string split into two strings or,
in case part of the string is already selected, three strings,
where the selection is retained in the latter situation.
Also redid implementation of insertion of open+close characters
so that it doesn't require adding in tokens to the editor,
testing the resulting state, and then undoing that to decide
whether to insert the pair or just the opening symbol.
2013-05-25 08:40:35 -05:00
Nadeem Abdul Hamid
b71e44ea9a Tweak auto-parens behavior of double quote typed in a string
so that it results in the string split into two strings or,
in case part of the string is already selected, three strings,
where the selection is retained in the latter situation.
2013-05-25 08:40:35 -05:00
Eric Dobson
803f1db884 Add a test which times TR module loading. 2013-05-24 20:42:01 -07:00
Robby Findler
f1bf982151 adjust Redex to disallow certain patterns that are guaranteed never to fail
When you have a named variable that is inside two different
mismatch-named ellipses, e.g.:

  (any_1 ..._!_1 any_1 .._!_1)

then this pattern cannot match anything, since the any_1 constraint
insists that they are bound to the same thing, but the ..._!_1
insists that whatever any_1 is bound to has different lengths
in the two places.

So, make this kind of situation be a syntax error instead.
2013-05-24 20:25:55 -05:00
Robby Findler
decde8f1b0 fix arity error
closes PR 13773
2013-05-24 20:25:54 -05:00
Matthew Flatt
70caf5f509 raco pkg create, raco setup: add support for built (source+binary) packages
This change removes `rendered-scribblings' as a recognized "info.rkt"
definition (which was added for binary packages, but now `scribblings'
serves both roles).

The `raco setup' changes involve support for moving pre-rendered
documentation into place (where "moving" may actually mean
leaving it in place but updating the "local-redirect.js" path),
but also allowing documentation to be re-rendered.
2013-05-24 14:55:39 -06:00
Matthew Flatt
4603315474 raco pkg create --binary: strip ".dep" files, ertain submodules, ~ files 2013-05-24 14:55:39 -06:00
Matthew Flatt
6178f2312f add `setup/collects' and use it for ".dep" file paths
This change makes ".dep" files more portable (in exchange for some
extra path work at the point of reading or writing ".dep" files.)
2013-05-24 14:55:39 -06:00
Matthew Flatt
bc0b50be96 scriblib/footnote: adjust environment to make output empty
Paragraph breaks within the footnote environment created whitespace
output, but the intent is to have no output.
2013-05-24 14:55:38 -06:00
Matthew Flatt
7645bacec1 scriblib/autbib: add `#:note' support 2013-05-24 14:55:38 -06:00
Matthew Flatt
7681cb0887 fix `tcp-listen' error-message construction 2013-05-24 14:55:38 -06:00
Ryan Culpepper
64666b2689 fix and export in-dict sequence syntax
closes PR 13772

Also add syntax for in-dict-{keys,values}.
2013-05-24 13:37:55 -04:00
Asumu Takikawa
eb82c717ba Fix minor doc typo for threads 2013-05-23 09:11:48 -04:00
Richard Wossal
68d906589e updated mitpress links 2013-05-23 07:11:56 -04:00
Robby Findler
c98f757d15 correct augment/override confusion in docs 2013-05-22 21:31:24 -05:00
Robby Findler
6596df6e97 add boolean to the set of things that redex's random generator
will generate for the any pattern
2013-05-22 21:31:23 -05:00
Eli Barzilay
9c4a009b1a Typo in error.
Fixes PR13769.
2013-05-22 14:10:05 -04:00
Eli Barzilay
a97181f024 Protect strings from regexps.
Fixes PR13768.
2013-05-22 13:19:13 -04:00
Eli Barzilay
c2280ed8dc Misc improvements to `net/uri-codec'.
Fix a bug in encoding strings with characters between 128 and 256, avoid
extra bindings for conversion vectors; remove calling `noels-tests' from
`main' since it's already called from `tests', etc.
2013-05-22 13:19:12 -04:00
Eli Barzilay
f16184d69f Update the instructions on configuring git's push.default. 2013-05-22 13:19:12 -04:00
Asumu Takikawa
a40a1341f6 Document :type better 2013-05-22 09:31:37 -04:00
Jay McCarthy
20a9660f11 Don't check name if not given 2013-05-22 07:20:20 -06:00
Jay McCarthy
a3d791495c Use random for changes 2013-05-22 07:20:19 -06:00
Jay McCarthy
7cc4488c56 indent 2013-05-22 07:20:19 -06:00
Robby Findler
f79c93f74a Re-enable redex's overlapping arrows src loc information
This reverts commit e5a84eff8d.
and also uses the property 'original-for-check-syntax
2013-05-21 18:45:25 -05:00