Jon Rafkind
62042beb50
[honu] wrap syntax with (semicolon ...) when a ; is present
2012-08-20 12:28:15 -06:00
Jon Rafkind
37dc999951
[honu] add primitive macro form
2012-08-20 12:28:15 -06:00
Jon Rafkind
60f1c85207
[honu] remove context argument from macro transformers
2012-08-20 12:28:14 -06:00
Sam Tobin-Hochstadt
4c0d605c43
Fix typo detected by optimizer.
2012-08-20 13:17:50 -04:00
Eric Dobson
b9408e545e
Wrap generated code in #%expression.
...
This allows tc-toplevel to hand it off to tc-expr, and not reimplement
the details of annotations.
2012-08-20 12:39:41 -04:00
Eric Dobson
8545f421ab
Add back ignore-some typechecking
2012-08-20 12:39:41 -04:00
Eric Dobson
533920480e
Add tests for make-predicate and cast, also add support for the top-level.
...
Closes PR 12939.
Closes PR 12201.
2012-08-20 12:39:41 -04:00
Eric Dobson
553c3a4f80
Added cast operator to typed racket
2012-08-20 12:39:40 -04:00
Eric Dobson
cc52e56fe6
Add way for code to attach typechecks to itself, and implemented make-predicate.
2012-08-20 12:39:40 -04:00
Eric Dobson
115345300d
Allow contract definitions created from expressions to be fixed up.
2012-08-20 12:39:40 -04:00
Eric Dobson
bb67e37c49
Make TR's ignore-some property work even if there isn't an internal form.
2012-08-20 12:39:40 -04:00
Sam Tobin-Hochstadt
9e5060ef5b
Make Typed Racket integration tests run in parallel.
...
Parallel speedup of approximately 4x when using 8 workers on a 12-core machine.
Closes PR 12911.
2012-08-20 12:25:50 -04:00
Eric Dobson
09d32d35e0
Add promise support to type->contract.
...
Closes PR13024.
2012-08-20 10:10:17 -04:00
Eric Dobson
a408d6bfbf
Cleanup builtin structs types.
2012-08-20 10:10:17 -04:00
Robby Findler
e38e959145
change the new 'find from selection' menu item so that it uses
...
cmd-alt-f on the mac (and control-alt-f on windows/unix, I believe)
2012-08-19 18:04:14 -05:00
Robby Findler
40121d2531
improve the menu redundancy test so it reports when there are
...
multiple menu items with the same shortcut
2012-08-19 17:09:16 -05:00
Robby Findler
1f090fa170
improve the distribution building portion of the docs to point
...
out that a 'raco planet link' helps with the docs building
2012-08-18 20:45:47 -05:00
Robby Findler
258f267508
remove 'planet' from plt/bin (raco planet does the same thing and
...
planet conflicted with another package in Debian)
2012-08-18 20:26:50 -05:00
Robby Findler
ec34fc6870
add a note about how to build documentation to the planet documentation building step
2012-08-18 09:04:06 -05:00
Asumu Takikawa
47cb06f842
Fix docs for reencode-input-port & reencode-output-port
...
Closes PR 10545
2012-08-18 00:34:54 -04:00
Asumu Takikawa
7d20e0cbe2
Fix docs for radio-box%
...
Closes PR 13005
2012-08-18 00:23:16 -04:00
Asumu Takikawa
6665053dad
Fix contracts on several I/O functions
...
Closes PR 12599
2012-08-18 00:22:21 -04:00
Asumu Takikawa
c20f1ec573
Fix guide section 14.6.2
...
Closes PR 13039
2012-08-17 23:26:59 -04:00
Robby Findler
b128ce4719
fix bug in commit 52f18ee37
2012-08-17 17:54:26 -05:00
Robby Findler
52f18ee370
adjust the expansion of class so that it tracks identifiers
...
that it drops from the expansion (like define/public) by
adding them to the origin syntax property (and sometimes
to disappeared-use; see the add-decl-props function
for details on those that aren't in the origin property)
this means that check syntax will now pick them up
so they'll show up in the blue boxes in drracket
Thanks Matthew, for some helpful advice and
comments on an initial version of the commit.
2012-08-17 17:24:03 -05:00
Asumu Takikawa
5a2c235739
Forge non-existent generic functions like write-proc
...
Closes PR 13014
2012-08-17 12:27:01 -04:00
Asumu Takikawa
087a13c712
racket/draw contracts: racket -> racket/base
2012-08-17 12:27:01 -04:00
Asumu Takikawa
798344d2c6
Additional guide fix by Lee Duhem
...
Relevant to PR 13034
2012-08-17 01:45:07 -04:00
Robby Findler
01e7edeff1
some performance improvements for the new drracket blueboxes
...
specifically, it doesn't trigger redrawing of the screen
as aggressively, which seems to make a little difference
under mac os x.
I'd have liked to be more sophisticated in the way redraws
are triggered, but I don't see how (see long comment in this
commit for details)
2012-08-16 19:16:57 -05:00
Robby Findler
25e4115f32
give the f2 keybinding a more useful name
...
(since it shows up in the keybindigns dialog box)
2012-08-16 19:16:57 -05:00
Robby Findler
afc2faf651
redirect compile-time io during online check syntax into the warning log
...
closes PR 13036
2012-08-16 19:16:57 -05:00
Robby Findler
a8da7e452f
increase the font size and increase the sampling
...
frequency in the profiler that drracket starts up
via the PLDRPROFILE environment variable
2012-08-16 19:16:57 -05:00
Robby Findler
49eb4ab11c
adjust the windows menu so that it doesn't rely on
...
various callbacks to keep its menu items straight, but
instead uses the on-demand callback to just get them
all right.
2012-08-16 19:16:57 -05:00
Matthew Flatt
3150b31eb7
bytecode optimizer improvement
...
Generalize splitting of `(let-values ([(x ...) (values e ...)]) ....)'
to `(let ([x e] ...) ....)' for any `e', since it's always equivalent.
Right?
(The old requirements on the `e's seem to be needed only for
`letrec-values' splitting and maybe mutable variables.)
2012-08-16 16:39:21 -06:00
Jay McCarthy
a1e855a035
adding an optional argument to get-pure-port/headers
2012-08-16 14:47:09 -06:00
Asumu Takikawa
65611c0ebb
Fix guide section 7.8.3
...
Closes PR 13035
2012-08-16 16:02:44 -04:00
Asumu Takikawa
99d63d1f08
Fix guide section 7.4
...
Closes PR 13034
2012-08-16 16:02:44 -04:00
Asumu Takikawa
02219bda91
Fix guide section 7.3.8
...
Closes PR 13033
2012-08-16 16:02:43 -04:00
Asumu Takikawa
b977ae339f
racket/snip/private/contract: racket -> racket/base
2012-08-16 16:02:43 -04:00
Matthew Flatt
902016265b
docs for `for/vector': warn about intreaction with continuations
2012-08-16 13:11:42 -06:00
Matthew Flatt
0452bd791d
bytecode optimizer improvement
...
Treat unsafe functional operations (which never raise an
exception) as omitable, which means that simple `let-values'
combinations can be split into `let' bindings, etc.
2012-08-16 13:11:41 -06:00
Matthew Flatt
65588b156b
fix `sqrt' on numbers with negative real and inexact-zero imag
...
Closes PR 13028
2012-08-16 04:46:01 -06:00
Robby Findler
5e839664c4
adjust the variables editor so that it does
...
not do word wrapping.
This avoids the performance problem mentioned
in PR 12633
2012-08-15 13:45:10 -05:00
Matthew Flatt
b95b1b9366
Revert "Fixing Rackunit tests after alignment"
...
This reverts commit 4497c8ce5e
,
because the tests were correctly reporting a bug that I
introduced.
2012-08-15 09:34:17 -06:00
Matthew Flatt
6e2bb58cce
add a #:fill' clause to
for/vector' et al.
2012-08-15 09:32:55 -06:00
Matthew Flatt
8a26d83651
adjust `for/vector' et al. to avoid intermediate lists
...
When a length is not specified, build the result by growing
a temporary vector to hold the results, instead of accumulating
them into a list.
2012-08-15 09:32:55 -06:00
Robby Findler
62fecb1b0b
fix mistakes in Guide 6.4
...
closes PR 13031
2012-08-15 09:24:32 -05:00
Robby Findler
85b326d1e7
guard path->relative-string/library call properly
2012-08-15 09:13:44 -05:00
Matthew Flatt
7b811bed1b
for/vector' and
for*/vector' repairs
...
Closes PR 13029, 13030
2012-08-15 07:41:50 -06:00
Matthew Flatt
02d2b4dd62
fix rackunit formatting
...
Repairs mistake in 36f519fe64
.
2012-08-15 07:41:49 -06:00
Mike Sperber
ae4613271c
Synch German string constants with latest.
2012-08-15 14:15:40 +02:00
Jay McCarthy
4497c8ce5e
Fixing Rackunit tests after alignment
2012-08-14 22:21:44 -06:00
Jay McCarthy
3ddaf5e32b
Fixing Racklog cut error found by Erik Dominikus
...
Basically, Racklog (and all versions of schelog) implement ! by
causing the failure continuation of the entire relation being
returned. They did not also cause the unification caused by the
relation to be un-done.
However, it is not easy to separate un-doing the local changes because
the unification just returns a failure continuation too. I had to call
that fail continuation but use state to communicate to its target that
the next clause should not be visited.
I don't know if this is correct. My test suite contains a lot of cut
tests that still pass. Erik's test passes too. But I'm not confident
that this really works.
2012-08-14 21:34:02 -06:00
Jay McCarthy
23226b41da
Preserve scheme, user, host, and port if the redirection doesn't have them
2012-08-14 21:34:02 -06:00
Jay McCarthy
2741356913
More flavor text
2012-08-14 21:34:02 -06:00
Jay McCarthy
eb2dc6c979
Clarify green buttons
2012-08-14 21:34:02 -06:00
Jay McCarthy
56b2e0754f
servlet errors should be code 500
2012-08-14 21:34:02 -06:00
Jay McCarthy
f2e0e0bfeb
get-port-port/headers should not remove status line
2012-08-14 21:34:01 -06:00
Jay McCarthy
7b9da83084
diff link order
2012-08-14 21:34:01 -06:00
Jay McCarthy
27fb60b5a4
Rearranging buttons
2012-08-14 21:34:01 -06:00
Jay McCarthy
cd0e4b8f8a
Adding next/prev change buttons
2012-08-14 21:34:01 -06:00
Jay McCarthy
d7fa57b8fb
correct email address for irc email
2012-08-14 21:34:01 -06:00
Robby Findler
f03274c8b7
adjust 'authors' from scriblib/autobib so that it
...
has a contract (which I'm inferring from the way
it is implemented so I might be getting it wrong)
related to PR 12966
2012-08-14 21:34:09 -05:00
Robby Findler
19ff5722d5
improve the error message for cases where there is
...
a substruct of a struct that got a contract via
provide/contract, and the subconstructor gets a value
that wouldn't have satisfied the original struct's contract
related to PR 12966
2012-08-14 21:14:22 -05:00
Robby Findler
b22f88eee1
pass the currently specified directory to get-directory
...
in the multi-file search parameters dialog
related to PR 12978
2012-08-14 18:59:22 -05:00
Robby Findler
23aa31fc6f
adjut check syntax so that it pays attention only
...
to syntax-original? identifiers
It used to pay attention to non-original identifiers if they
were in the disappeared-use or disappeared-binding
properties, but now that the 'syntax' macro is fixed
(commit f28e8a0
) it can ignore all non-original identifiers
2012-08-14 17:49:52 -05:00
Robby Findler
d34490d990
show docs for syntax-quoted identifiers
...
(when there are docs to show)
2012-08-14 16:20:48 -05:00
Robby Findler
d96d920cf9
rename contract-blueboxes.rktd to blueboxes.rktd
2012-08-14 16:20:47 -05:00
Eric Dobson
df6562c1de
Make promises like every other TR container.
2012-08-14 16:16:07 -04:00
Eric Dobson
ac493a6f44
Replaced infer-dummy with lazy-require.
2012-08-14 16:04:51 -04:00
Eric Dobson
9ef80edfef
Fix internal error for untyped kw functions.
...
Closes PR12932.
Closes PR12922.
2012-08-14 16:04:51 -04:00
Eric Dobson
fdd2966cf4
Removed deprecated printf/log.
2012-08-14 16:04:48 -04:00
Sam Tobin-Hochstadt
ade36c36c6
Don't special-case applications with instantiations.
...
Closes PR 13006.
2012-08-14 15:45:47 -04:00
Eric Dobson
3b6168de7d
Fix substitute and add test case.
2012-08-14 14:44:55 -04:00
Eric Dobson
2e3965e777
Make simple substitution happen all at once.
...
Closes pr12920.
2012-08-14 14:44:55 -04:00
Vincent St-Amour
f514550300
Fix type of expt.
...
Closes PR13026.
2012-08-14 14:37:18 -04:00
Vincent St-Amour
af8fc1f26a
Fix types of magnitude and angle.
...
Closes PR13025.
2012-08-14 14:37:18 -04:00
Matthew Flatt
36f519fe64
remove rackunit' dependency on
srfi/13'
...
Cuts the bytecode footprint of `rackunit' in half
(by more than 200 KB).
2012-08-14 09:48:56 -06:00
Matthew Flatt
cbd5fe910d
include root "contract-blueboxes.rktd" in distributions
2012-08-14 09:48:56 -06:00
Matthew Flatt
e9f522ba94
add "rackunit" to "mz" distribution
...
The `rackunit' library can be used for tests in any code.
The GUI portion of `rackunit' remains in the "plt"
distribution, only.
2012-08-14 09:48:56 -06:00
Robby Findler
185de3b6eb
remove unnecessary dependency from scribble on slideshow
2012-08-14 10:39:03 -05:00
Sam Tobin-Hochstadt
973da6a50c
Move define-struct/printer
to new file.
...
Avoids runtime dependency on `racket/generic`.
2012-08-14 10:31:22 -04:00
Sam Tobin-Hochstadt
fddd5c63ff
Minor printer refactoring.
2012-08-14 09:58:01 -04:00
Eric Dobson
cac47c0427
Make TR debug printer work again.
2012-08-14 09:45:01 -04:00
Eric Dobson
5f0717d278
Make disabling the custom printer work.
2012-08-14 09:45:01 -04:00
Eric Dobson
124707921f
Remove unused old printer.
2012-08-14 09:45:01 -04:00
Eric Dobson
c9afe15f56
Cleanup TR printer to use lazy-require.
2012-08-14 09:45:01 -04:00
Matthew Flatt
23bca99ba1
adjust `local-expand' to add 'submodule property
2012-08-13 17:11:20 -06:00
Matthew Flatt
b043da6ea6
SIGHUP and SIGTERM -> exn:break:hang-up' and
exn:break:terminate'
...
The default uncaught-exception handler calls `exit' when it receives
one of the new exceptions.
2012-08-13 17:11:20 -06:00
Matthew Flatt
0648556bea
racket/gui: internal cleanup
...
As suggested by Robby.
2012-08-13 17:11:20 -06:00
Ryan Culpepper
32ae484c72
syntax/parse: fix scoping of this-syntax (include formals)
2012-08-13 18:47:02 -04:00
Vincent St-Amour
0fb4ab947a
Remove documentation for methods that don't exist.
2012-08-13 17:58:44 -04:00
Sam Tobin-Hochstadt
6ae2a9d884
Fix internal require of typed submodules.
2012-08-13 17:20:20 -04:00
Ray Racine
2ff1927f6c
Add flvector-copy to TR base env.
2012-08-13 16:58:29 -04:00
Vincent St-Amour
11006d3b5e
Remove OC toolbar when the definitions change.
2012-08-13 16:58:29 -04:00
Vincent St-Amour
958ab7b570
Move definitions copying to its own function.
2012-08-13 16:58:29 -04:00
Robby Findler
a077857474
clarify star-polygon docs
...
closes PR 13017
2012-08-13 13:01:17 -05:00
Robby Findler
1b18499c69
make the blue box be cleared out less eagerly
2012-08-13 10:31:55 -05:00
Robby Findler
e6fc56a8b8
adjust the leak test so that it first runs with online
...
compilation disabled and then runs with it enabled
2012-08-13 10:31:54 -05:00
Matthew Flatt
bb3545ddf7
ffi/unsafe/custodian: #:atexit?' ->
#:at-exit?'
2012-08-12 20:25:47 -06:00