Sam Tobin-Hochstadt
aad0fa5884
Fix init arg order for Message% type.
2014-11-19 10:57:08 -05:00
Asumu Takikawa
6c9172f50f
Fix tooltip test/contracts for TR contract mode
2014-11-18 21:38:39 -05:00
Asumu Takikawa
8bff995f41
Fix type tooltips for multiple values
...
This broke when I made the printing lazier using thunks.
Also use regexps for the tooltip tests.
2014-11-18 18:28:58 -05:00
Asumu Takikawa
f9e2231ce9
Add tests for TR's tooltip computation
2014-11-18 18:28:58 -05:00
Asumu Takikawa
1d86e173a5
Use the original syntax to guide tooltip shape
2014-11-18 18:07:28 -05:00
Asumu Takikawa
c170b8288c
Handle case-> types better for tooltips
...
The use of case-> can cause an expression to get
typechecked multiple times, so the tooltips should reflect
all of the passes.
2014-11-18 18:07:28 -05:00
Asumu Takikawa
c2abbc700d
Compute type tooltips better for macro expansions
...
Macros often expand into forms where the subforms have
the same syntax location as the entire form, which means
a naive approach gives confusing type tooltips on macro
expressions.
Instead, only keep the latest (outermost) type tooltip
for a given expression.
We could instead compute whether a given piece of syntax
is a subform of another at a given location or not, but
that check is expensive and we don't want to do that on
every update of the type table.
2014-11-18 18:07:28 -05:00
Sam Tobin-Hochstadt
a64dadc78c
Fix internal error.
...
Needs a real fix in the future to actually support this case.
Noted in a program from Matthias Felleisen.
Fixes PR 14841.
2014-11-18 17:49:27 -05:00
Asumu Takikawa
27132ee061
Relax parsing of All
types and type annotations
...
Closes PR 14839
2014-11-18 13:59:34 -05:00
Jay McCarthy
04be65f781
Improve serve/servlet docs re JBC
2014-11-18 13:56:55 -05:00
Jay McCarthy
2307c427d5
Fix test for new DrDr
2014-11-18 13:56:55 -05:00
Jay McCarthy
90bd44a622
Shrinking dependencies and moving enumerate tests
2014-11-18 13:56:55 -05:00
Matthew Butterick
0ae2a0fa87
Typo, fixed
2014-11-18 12:01:10 -05:00
Jay McCarthy
804599fe98
Adding dep that raco setup doesn't show on my machine
2014-11-18 10:44:20 -05:00
Ryan Culpepper
26fe66b141
syntax/parse: fix action patterns in splicing stxclass
...
closes PR 14837
2014-11-18 10:33:15 -05:00
Jay McCarthy
c4684c12e6
Fixing exports and actually adding docs
2014-11-18 08:38:42 -05:00
Jay McCarthy
8a9b9c006f
Adding documentation
2014-11-17 23:05:12 -05:00
Jay McCarthy
1b2c8ef2ef
Adding contracts to data/enumerate
2014-11-17 23:05:11 -05:00
Jay McCarthy
981a68bba6
Moving enumerator
2014-11-17 23:05:11 -05:00
Jay McCarthy
4128666660
Cleanup small errors
2014-11-17 23:05:11 -05:00
Jay McCarthy
6b73593631
Fixing JS insertion error. Thanks Tony
2014-11-17 23:05:11 -05:00
Jay McCarthy
fd8676d50f
Add some TLC
2014-11-17 23:05:11 -05:00
Robby Findler
26af633b1f
fix incorrect fix from 5495595535
for #:generate default arg
2014-11-17 06:57:40 -06:00
Robby Findler
5495595535
generalize the random contract generation APIs to allow
...
a more dynamic notion of failure
use that to try harder with and/c contracts. In particular,
the contract system now tries to generate the arguments
on their own and then uses the other arguments to filter
(when they are all flat contracts, of course)
closes PR 14832
2014-11-16 20:48:41 -06:00
Robby Findler
43229abf05
rewrite (and/c pair? (listof ...)) into (non-empty-listof ...)
...
related to PR 14832
2014-11-16 20:44:58 -06:00
Asumu Takikawa
18c1f095fc
Memoize static contracts and resulting contracts
...
This commit uses memoization not just for Name types
but for static contracts for all types. It also adjusts
how Name contracts are generated to increase sharing
across multiple type->contract calls.
2014-11-14 15:25:37 -05:00
Asumu Takikawa
4d46985e58
Remove dependency field from Name types
...
This was used for the old method of generating contracts
for these types but is no longer necessary.
2014-11-14 14:55:13 -05:00
Asumu Takikawa
49ba06b583
Simplify construction/matching on Name types
2014-11-14 14:08:59 -05:00
Asumu Takikawa
4b05d835f4
Minor optimizations in type-alias-helper
2014-11-14 13:43:57 -05:00
Asumu Takikawa
8978212588
Add tests for two closed TR PRs
2014-11-14 10:41:21 -05:00
Leif Andersen
b38c81139a
Fix a few edge cases for raco pkg new
...
Also fix typos/indentation
2014-11-13 17:29:40 -05:00
Leif Andersen
bfbce31382
Add raco pkg new utility for creating new packages
2014-11-13 14:57:18 -05:00
Matthew Flatt
80a7ff831f
read: reject non-Latin-1 characters in byte-string literals
...
This is a backward-incompatible change, but the old behavior (truncate
the character value to 8 bits) was never intended and seems clearly bad.
2014-11-13 09:46:27 -07:00
Ryan Culpepper
7ed82a5f15
db: even more error information for sqlite3 errors
2014-11-13 11:19:48 -05:00
Ryan Culpepper
395eee7598
macro-debugger: fix #%top in local-expand
...
closes PR 14822
2014-11-13 11:19:33 -05:00
Asumu Takikawa
7725262771
Don't print the type at the REPL for Bottom
...
Closes PR 14829
2014-11-12 17:55:14 -05:00
Matthew Flatt
1681126ed5
add {impersonate,chaperone}-procedure*
...
The new variants pass a "self" argument to the wrapper procedure in
the same way that `{impersonate,chaperone}-struct` provides a "self"
argument to redirection procedures.
2014-11-12 10:10:23 -07:00
Matthew Flatt
50a8863169
fix places-GC trigger when a large message is pending
...
A large message that hasn't been delivered can trigger a inter-place
GC. The intent is to force a GC to avoid messages piling up that can
never be delivered, but the GC didn't adjust to a state where messages
stay both undelivered and uncollected, and it would continuosly
trigger GCs. Trigger a GC only if the pending-message size has grown
relative to the previous GC.
2014-11-12 09:30:30 -07:00
Asumu Takikawa
16678aef6a
Add base-env type for symbol<?
2014-11-12 01:01:06 -05:00
Robby Findler
4c77742a14
add test case for 5ef7568
2014-11-11 10:03:24 -06:00
Sam Tobin-Hochstadt
731a98de64
Avoid creating impersonators/chaperones when not required in struct/dc.
2014-11-11 09:26:54 -05:00
Asumu Takikawa
b56eb43022
Add struct inheritance in type-environment
...
Use it to start adding types for a subset of
typed/racket/sandbox
2014-11-10 17:29:34 -05:00
Robby Findler
4e7f44b24c
explain the indentation preferences
2014-11-10 09:27:50 -06:00
Matthew Flatt
28b98beb6c
move raco make
test to a more sensible place
2014-11-09 08:47:18 -07:00
Matthew Flatt
de65bb5586
parallel-compile-files: fix docs and argument check for the handler callback
2014-11-09 08:39:41 -07:00
Matthew Flatt
c5a130454d
fix doc typos
2014-11-09 08:25:38 -07:00
Eric Dobson
37232a90fe
Fix error handling of parallel-compile-files.
...
Related to PR 14809.
2014-11-09 08:10:17 -07:00
Tony Garnock-Jones
b1c700dffc
Fix doc for dynamic-rerequire
2014-11-09 08:09:07 -07:00
Tony Garnock-Jones
9fb5346652
Keep track of (and return) a list of modules (re)loaded during dynamic-rerequire
2014-11-09 08:09:05 -07:00
Matthew Flatt
012e08cd74
fix docs for install-collection
"info.rkt" field
...
Closes PR 14831
2014-11-09 08:09:00 -07:00