Matthew Flatt
8c10dc1579
fix a `subprocess' test
...
Merge to v5.3
2012-07-26 08:47:06 -06:00
Matthew Flatt
70ef4e6e57
racket/port: possible repair for `read-bytes-evt'
...
Also restore and add some tests.
Merge to v5.3
2012-07-26 08:39:58 -06:00
Matthew Flatt
4c3dd00d49
fix `port-commit-peeked' and mid-stream EOFs
2012-07-26 06:14:35 -06:00
Matthew Flatt
11be722a0f
typo
2012-07-25 21:58:18 -06:00
Matthew Flatt
ca3272bd45
racket/port: fix `make-limited-input-port' handling of progress evts
...
Merge to v5.3
2012-07-25 21:37:58 -06:00
Matthew Flatt
d1048406b5
typo
2012-07-25 21:32:33 -06:00
Matthew Flatt
df4fed7011
windows: fix `subprocess' for an empty argument
...
An empty argument must be quoted at the CreateProcess() level.
Merge to v5.3
2012-07-25 20:37:20 -06:00
Matthew Flatt
71045e255c
fix `for/vector' to really stop at size
...
Avoids an infinite loop for an infinite sequence, for example.
Also, expand via `for/fold/derived' to improve error reporting.
2012-07-25 20:07:23 -06:00
Matthew Flatt
7d894bfb63
Note require' of a
main' submodule for -t',
-l', and `-p'
...
In the output of `racket -h' and in the command-line docs.
Merge to v5.3
2012-07-25 20:07:23 -06:00
Vincent St-Amour
8bceeadaab
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
f50d64b3b2
Fix tab leak.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
144fd5bf05
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
406529c391
Close OC properly from the menu.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
dc6a81ad02
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
57568ae44c
Cleanup.
2012-07-25 16:32:51 -04:00
Vincent St-Amour
0bb133ea51
Move panel to the frame mixin instead of the tab mixin.
2012-07-25 16:32:51 -04:00
Vincent St-Amour
b2ce93ca94
Fix Optimization Coach menu entry point.
2012-07-25 16:32:51 -04:00
Vincent St-Amour
d9f97d079f
Refactoring.
2012-07-25 16:32:51 -04:00
Robby Findler
7b72ddb7bf
add big "definitions" and "interactions" labels to the drracket
...
definitions and interactions windows
2012-07-25 08:58:43 -05:00
Robby Findler
cdee10e2c0
fix error message wording
2012-07-25 03:02:30 -05:00
Robby Findler
4e6b38b956
adjust bitmap test
2012-07-24 23:27:07 -05:00
Vincent St-Amour
4933913cd6
Remove documentation for non-existent methods.
2012-07-24 17:22:43 -04:00
Vincent St-Amour
74a6518920
Refactoring.
2012-07-24 17:02:46 -04:00
Vincent St-Amour
b3e619e5ee
Have OC work on a copy of the definitions window.
2012-07-24 16:56:23 -04:00
Vincent St-Amour
b1577bd307
Fix type for add-between.
2012-07-24 16:41:52 -04:00
Vincent St-Amour
7ba7be1873
Show running man animation when OC is working.
2012-07-24 16:05:59 -04:00
Vincent St-Amour
f2ff88be4a
Add Optimization Coach right-click menu entry to existing menu.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
73942fcfa8
Wrap highlighting in an edit sequence.
...
Speeds up display.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
70f8f4d743
Avoid recreating panel and check-boxes when optimization coach is shown.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
cfc8fe5766
Fix spacing issue.
2012-07-24 13:48:05 -04:00
Matthew Flatt
289ae98c8e
add missing `super-new' from class100 conversion
...
Also, move relevant tests to a better place.
Merge to v5.3
2012-07-24 11:16:43 -05:00
Eli Barzilay
d7f0314c74
tex2page is gone, update installer tests.
2012-07-24 11:47:47 -04:00
Eli Barzilay
bc0e46227f
Update with new "scribble" flag.
2012-07-24 11:47:47 -04:00
Robby Findler
be2c7d7ada
finish removing the check-expect dock/undock menu items
2012-07-24 10:18:28 -05:00
Matthew Flatt
5a1bc5ad40
normalize module rename info to vector in ".zo" format
...
This is related to the receent repairs for submodules and
`variable-reference->namespace'.
Merge to v5.3
2012-07-24 07:22:57 -05:00
John Clements
4e47c669ca
repair hack for beginner-proc names
2012-07-24 06:42:19 -04:00
Robby Findler
fadd1d9714
fix debugger for the case when it decides not to annotate a file
...
related to PR 12937
This doesn't seem to fix the PR since the debugger is currently ignoring
the TR programs (not annotating them) but at least it does not crash now
Please merge to 5.3
2012-07-24 04:13:10 -05:00
Robby Findler
6e2fc2c138
remove a bunch of unnecessary fields (define => define/private
...
and lift out some pens and brushes to the module top-level)
2012-07-24 04:13:10 -05:00
Matthew Flatt
da66d4d559
adjust `case' expansion to work with Typed Racket
...
Relies on the new ad hoc optimization of `hash-ref' to preserve
performance.
2012-07-23 21:41:49 -05:00
Matthew Flatt
f7382b17c7
ad hoc optimization of `hash-ref'
...
Convert
(hash-ref <hash> <key-expr> (lambda () <literal>))
to
(hash-ref <hash> <key-expr> <literal>)
which is useful for making the `case' expansion fit
Typed Racket.
2012-07-23 21:41:49 -05:00
Matthew Flatt
22960b9c75
fix `subprocess' test
...
Merge to v5.3
2012-07-23 21:41:49 -05:00
Eli Barzilay
8e889cfdb1
Make some web server example code use a valid URL.
2012-07-23 20:54:41 -04:00
Matthew Flatt
5b6c65b6c9
tweaks to `case' implementation
...
Leave `eqv?' specialization to the compiler, generate
constants instead of vector and hash-table allocations,
and use a hash table for many values other than symbols,
keywords, and fixnums.
2012-07-23 18:56:33 -05:00
Matthew Flatt
eb6a6e7136
new test cases for `case'
...
Trigger binary-search and hash-table modes.
2012-07-23 18:56:33 -05:00
Jon Zeppieri
7ccf0efce9
new 'case' implementation
...
Based on Clinger's "Rapid Case Dispatch in Scheme"
2012-07-23 18:56:33 -05:00
Matthias Felleisen
f9724f389d
addex index entry for add/plus, multiply, and friends
...
Closes PR12895 -- well, except that index points to htdp-langs for all five occurrences of each (to be fixed)
merge to v5.3
2012-07-23 16:57:38 -04:00
Asumu Takikawa
2b173612e6
Fix guide description of when
...
Closes PR 12445
Merge to v5.3
2012-07-23 16:00:29 -04:00
Matthew Flatt
cd90510f07
ffi/com: AddRef on IUnknown arguments to COM methods
...
Merge to v5.3
2012-07-23 14:35:27 -05:00
Asumu Takikawa
ea1636d4f1
Doc fixes reported by Gary Baumgartner
...
The typo on 'redex.racket-lang.org' still remains.
Relevant to PR 12680
Merge to v5.3
2012-07-23 13:10:05 -04:00
Asumu Takikawa
e0e5f7dd28
Fix GUI doc typo reported by Kieron Hardy
...
Closes PR 12830
Merge to v5.3
2012-07-23 12:53:33 -04:00
Matthias Felleisen
94d472340d
add redundancy for scene? to universe docs; Closes PR12924
...
merge into v5.3
2012-07-23 11:36:00 -04:00
Matthias Felleisen
bf8c30727d
fixed small mistake in defform/none from conversion to syntax/parse
...
merge into v5.3 but ask Matthew for second opinion
2012-07-23 11:35:59 -04:00
Matthew Flatt
05495764ea
errortrace: fix profiling for phase >= 2 code
...
Closes PR 25050
Merge to v5.3
2012-07-23 07:05:40 -05:00
Matthew Flatt
a0ba30d8e7
fix `syntax-local-get-shadower' for submodules
...
Closes PR 12926, 12928
Merge to v5.3
2012-07-22 21:43:20 -05:00
James Swaine
ca360cdaed
Add test to track performance of code inside a future over time
2012-07-22 20:08:51 -05:00
James Swaine
087ec3890c
Fix block/sync counts in future visualizer and per-future block counts in creation graph mouseover
2012-07-22 20:04:34 -05:00
James Swaine
1355c711a8
Future visualizer - more performance improvement
2012-07-22 20:04:24 -05:00
James Swaine
0b5d574aae
Future visualizer performance improvements
2012-07-22 20:04:04 -05:00
James Swaine
5042b73fc8
Fix future visualizer drawing outside visible area (in y dimension)
2012-07-22 20:03:54 -05:00
James Swaine
0b8bccc8d4
Future visualizer - only redraw overlay when moused-over event changes
2012-07-22 20:03:42 -05:00
James Swaine
ee426f7ecb
Fix minor display issue in event details panel (future visualizer)
2012-07-22 20:03:41 -05:00
James Swaine
b6c4bece11
Improvements to mouseover performance in future visualizer
2012-07-22 20:03:41 -05:00
James Swaine
6eed135d02
Fix "dancing flags" issue with timeline ticks in future visualizer
2012-07-22 20:03:36 -05:00
James Swaine
06358fa19d
Performance improvements in future visualizer GUI (dragging, scrolling, sizing)
2012-07-22 20:03:35 -05:00
James Swaine
f0aaca0dde
Change future visualizer trace collection slightly to be more composable
2012-07-22 20:03:22 -05:00
James Swaine
e4f50997ad
Minor changes to future-visualizer/trace tests
2012-07-22 20:03:22 -05:00
James Swaine
5214995967
Add unit tests for future-visualizer/trace
2012-07-22 20:03:22 -05:00
James Swaine
df54f8460b
Fix future visualizer trace collection when running inside DrRacket
2012-07-22 20:03:21 -05:00
Robby Findler
d282843116
increase timeout for the sharing modules drracket test case
2012-07-22 19:51:19 -05:00
Robby Findler
519b69362f
fix bug in inline code
...
merge to the release branch, please
2012-07-22 19:51:19 -05:00
Eli Barzilay
476c270a66
Use a new evaluaor in "for.scrbl", have it require `racket/base' for syntax.
...
Also explicitly close the evaluator used in "block.scrbl".
Closes PR 12931.
2012-07-22 13:38:38 -04:00
Eli Barzilay
18883681a2
Convert all uses of (integer-in 0 255) to `byte?'.
2012-07-22 13:00:05 -04:00
Eli Barzilay
a6b20f01da
Use string-no-nuls?' and
bytes-no-nuls?' in more docs & error messages.
...
Also use `byte?' instead of (integer-in 0 255).
(This commit will most likely require some proof-reading.)
2012-07-22 13:00:05 -04:00
Matthew Flatt
d95ec4d454
fixes for submodules and `variable-reference->namespace'
...
Closes PR 12925
Merge to 5.3
2012-07-22 11:54:46 -05:00
Mike Sperber
0dd571ef53
Synch German string constants with latest.
2012-07-22 16:37:44 +02:00
Eli Barzilay
c2fe7c4e35
Quick typo fix.
2012-07-22 10:11:37 -04:00
Asumu Takikawa
40ea2befce
Missed one Rackety in commit 3582b57
2012-07-21 13:38:18 -04:00
Robby Findler
c4a768af00
add a Copy menu to the error message from the online expansion stuff
...
closes PR 12923
2012-07-21 12:23:08 -05:00
Robby Findler
df4508573a
adjust the interface reference in drracket for the new view menu
2012-07-21 11:34:13 -05:00
Matthias Felleisen
30cb1ce4f3
fixed minor typo
2012-07-21 11:07:32 -04:00
Robby Findler
5b96803273
fix a bug introduced by commit 05b88930c0
...
the symptom of the bug is that the red
error highlighting never worked
Please merge to the release branch
2012-07-21 07:23:47 -05:00
Vincent St-Amour
848a28266c
Replace fields with local-member-name accessors.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
95e117b7f5
Typo.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
c237cee025
Rename undo-thunks to clear-thunks.
...
They don't have anything to do with editors' undo.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
eda3e70670
Use local member names for Optimization Coach public methods.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
fceb3db69c
Refactoring.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
6af2e49db3
Delete trailing whitespace.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
f6feff3c51
Optimization Coach should not catch break exceptions.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
ea6ba36ccb
Update Optimization Coach documentation.
...
Please merge to release.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
031a2862d2
Typo.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
def9649688
Rename Optimization Coach menu item.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
7c0ef33bb7
Consistent capitalization with other menu items.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
24b314a40a
Only enable Optimization Coach button in Typed Racket.
...
Other languages can access it through the View menu.
Please merge to release.
2012-07-20 18:05:32 -04:00
Vincent St-Amour
d396b34b2d
Disable loop detection heuristic with too many false positives.
2012-07-20 18:05:32 -04:00
Vincent St-Amour
2e594d3606
Change Optimization Coach message.
2012-07-20 18:05:32 -04:00
Asumu Takikawa
2f891c5d39
Missing file for commit 3582b57
...
(my apologies to any future git bisect-ers)
2012-07-20 17:58:31 -04:00
Asumu Takikawa
66e0564e25
Move mzlib/integet-set => data/integer-set
2012-07-20 16:00:47 -04:00
Asumu Takikawa
3582b57bcc
Move mzlib/defmacro => racket/defmacro
...
With both @bold and @italics warning against its use.
No @blink though.
2012-07-20 16:00:47 -04:00
Sam Tobin-Hochstadt
4a90c6c1fe
Ensure that structs don't overlap with simple values.
...
Reported by Ray Racine.
Please merge to release.
2012-07-20 13:01:32 -04:00
Eli Barzilay
4bd42606bc
Some simplification of process error message contracts.
2012-07-20 12:57:28 -04:00
Eli Barzilay
2a075654d0
More ignore patterns for props verification.
2012-07-20 12:35:05 -04:00
Matthias Felleisen
6768136144
docs for revised system error message completed
2012-07-20 12:30:30 -04:00
Ryan Culpepper
510d3937a7
change id-tables so iterators not invalidated by mutation of existing keys
...
id-table fixes
test for id-table
2012-07-20 10:59:50 -04:00
Ryan Culpepper
abb616e6d6
don't run db web-test
2012-07-20 10:46:13 -04:00
Eli Barzilay
a2f94b49d3
Drop attempt to verify when running plainly.
...
Instead, require a "verify" verb, and adjust the props so drdr will use
it.
Also add some OS X & Windows patterns to be ignored.
2012-07-20 10:44:33 -04:00
Matthias Felleisen
f2b9cdaadd
fixed a somewhat awkward error message that made 'system' look awkward
2012-07-20 10:38:05 -04:00
Robby Findler
8ca24e9206
give more time to some timing out tests
2012-07-20 07:46:49 -05:00
Asumu Takikawa
f4300df8eb
Restore prop:force guard.
...
(this is desirable if this property is exposed, which
could happen if/when we define gen:force)
2012-07-19 22:46:14 -04:00
Asumu Takikawa
e14c5d61e9
Allow guards for impersonatable struct type properties
2012-07-19 22:46:14 -04:00
Matthew Flatt
d3677524b8
macro expander fix
...
Relevant to PR 12863
Merge to v5.3
2012-07-19 20:42:36 -05:00
Matthew Flatt
94498465e6
ffi/com: fix another instance of the `cast' bug
...
Overlooked it during the previous repair; this repair merges
the two formerly broken sites.
2012-07-19 20:20:33 -05:00
Matthew Flatt
c86ee5b6e2
ffi/com: fix an internal cast
...
Merge to v5.3
2012-07-19 19:02:54 -06:00
Robby Findler
774e254f3c
fixes the "not used in definition context" error in define/contract
...
related to PR 12863, but doesn't solve the infinite loop problem
2012-07-19 19:54:58 -05:00
Matthew Flatt
a45d13b52a
another `namespace-attach-module' repair for submodules
...
Merge to v5.3
2012-07-19 16:50:25 -05:00
Matthew Flatt
99dbc321f5
fix *SL errortrace to support higher phases
...
The new *SL implementations that refer to Scribble
can lead to phase-2 code when running without ".zo"s.
2012-07-19 16:50:25 -05:00
Sam Tobin-Hochstadt
df8e109c6a
Update to modern contract combinators.
2012-07-19 10:55:32 -04:00
Sam Tobin-Hochstadt
857a312e61
mzscheme
-> racket/base
in syntax/struct
2012-07-19 10:55:31 -04:00
Sam Tobin-Hochstadt
16923f4ad9
scheme/base
-> racket/base
2012-07-19 10:55:31 -04:00
Sam Tobin-Hochstadt
a589d02751
Document Struct
.
...
Merge to release.
2012-07-19 10:55:31 -04:00
Matthew Flatt
d44aa13c15
test case to finish repair for `racket/gui/init' load handler
...
Test case for b111241afe
.
2012-07-19 07:46:50 -05:00
Robby Findler
b342009e71
bring back drscheme/private/number-snip.ss since it may
...
appear in saved wxme format files
also, improve the testing support for testing snip loading
(before this, the testing infrastructure could let one test
"leak" into another one in a way that could mask failures)
please include in release branch
2012-07-19 07:29:42 -05:00
Robby Findler
ef5c2b825f
fixed repl-test-misc.rkt for the error message changes
...
please include on the release branch
2012-07-19 06:26:43 -05:00
Eli Barzilay
6565538b09
Disable the #:before-first' and
#:after-last' functionality in `add-between'.
...
Leave it working in splicing mode. I prefer doing that over always
splicing them, since that would make a less uniform interface, so I
rather keep all options open. There is no longer a `#:nothing' keyword,
which is the main point of this downgrade.
(See mailing list discussion on "no-argument" for the reason.)
2012-07-18 22:28:41 -04:00
Eli Barzilay
0814fd5fb5
Make it possible to use "~" or "~user" in the installer.
...
I've looked for a while, and it seems that there is no easy way to do
this, not even in bash, and worse with /bin/sh. So this is kind of
resorting to a simple parsing of the input, and using `eval' if it
starts with a tilde. Note the hack of not doing that when there is a
space, otherwise the `eval' thing will silently ignore it.
This hack means that it's easy to get into a mess if quotes are used
after a tilde, but that was already the case with the use of `eval' to
handle environment variables. It's not a real security issue, however,
since we're talking about a user who can just run any command anyway.
Also including a test file for the expansion functionality. If anyone
wants to improve this code, making the tests pass would reveal the
tricky issues.
[FWIW, I've asked on the #bash channel, and the only serious suggestion
was getting the paths as command-line arguments. This will, however,
defeat the point of being newbie friendly...]
Closes PR 12893.
2012-07-18 22:25:41 -04:00
Eli Barzilay
1635ac1bc5
Add missing meta information for the new "future-visualizer" collection.
2012-07-18 22:15:40 -04:00
Matthew Flatt
b111241afe
racket/gui/init: fix load handler
2012-07-18 03:52:20 -06:00
Matthew Flatt
a3b316c02f
typo
2012-07-18 03:52:20 -06:00
Robby Findler
17594ec804
module lang test now up to date with error message changes
...
please include in release branch
2012-07-17 22:33:56 -05:00
Robby Findler
d8204b1624
adjusted the repl test suite for the new error messages
...
and the change to the racket/gui load-handler
(unfortunately, there is still another problem that keeps
the test suite from passing)
please merge to the release branch
2012-07-17 21:59:05 -05:00
Robby Findler
8744cd7811
bring the language test up to date with the latest error messages
...
include in the release branch, please
2012-07-17 21:58:56 -05:00
Matthew Flatt
6b3e207ecd
fix related to recent module-resolver change
2012-07-17 15:32:42 -06:00
Matthew Flatt
949d12e2c6
revert use of lazy-require' in
racket/match' implementation
...
Using `lazy-require' under `begin-for-syntax' expands to a use of
`define-runtime-path' under `begin'for-syntax'. Unfortunately,
`define-runtime-path' doesn't yet work with `raco exe' when it
appears under `begin-for-syntax'. Although `define-runtime-path'
should be fixed, it may take a while. Meanwhile, reverting the
change allows programs that require `racket/gui/base' to work
with `raco exe'.
There's another `lazy-require' under `begin-for-syntax' that
doesn't seem to cause the same trouble, though.
2012-07-17 15:32:42 -06:00
Robby Findler
3b5eb1da41
add a View menu item for the optimization coach
2012-07-17 13:45:33 -05:00
Robby Findler
a66c735b82
removed the check syntax mode support
2012-07-17 13:07:41 -05:00
Robby Findler
3463f4233e
adjust the contract obligation aspect of check syntax
...
so that it uses tooltips instead of the modes
(so hopefully now people will actually see it ...)
2012-07-17 13:07:41 -05:00
Robby Findler
160eef8366
added a tooltip for set!'d variables
2012-07-17 13:07:41 -05:00
Robby Findler
36aeda60a4
fix sizing bug in tooltip windows
2012-07-17 13:07:41 -05:00
Robby Findler
70fac182c6
Add support to the show menu item to make ordering the items
...
simpler.
Use that support to adjust the Show menu to have a better
ordering for the built-in DrRacket items.
2012-07-17 13:07:41 -05:00
Robby Findler
83bae29b21
remove the "dock/undock test report" menu items from the show menu
...
(there are buttons in the window and this isn't really a show menu
type of thing)
2012-07-17 13:07:41 -05:00
Robby Findler
488cfed53a
typo
2012-07-17 13:07:40 -05:00
Matthew Flatt
3ded3934ee
doc fixups for struct' variants in
scheme/unit', etc.
2012-07-17 11:00:46 -06:00
Matthew Flatt
67936fcc52
fix prop
2012-07-17 10:20:07 -06:00
Matthew Flatt
5e4866e54c
fill in one more corner of submodules and `namespace-attach-module'
...
When submodules are not independently loaded, then pull submodule
declarations along when attaching a module to a namespace.
2012-07-17 10:16:32 -06:00
Matthew Flatt
c8f4ac6ae4
submodules: make .zo path stick for consistent independent loading
...
When a module is loaded from bytecode and then the value of
`use-compiled-file-paths' changes, an attempt to load a submodule
would fail, because source isn't used if the main module is
already declared, and the bytecode code is not used according to
`use-compiled-file-paths'. Make the bytecode path stick when it
is used once, so that submodule loads succeed, and make it work
even with `namespace-module-attach'.
The module-attach part of this protocol requires a change to the
API of a module name resolver: the notification mode gets two
arguments, instead of one, where the second argument is an
environment.
2012-07-17 09:47:05 -06:00
Matthew Flatt
cc2c701a7d
racket/gui/init: make load handler chain to original
...
For a non-WXME file, fall back to the original load handler,
instead of re-implementing it. This makes module caching work
the right way. Falling back to the original means closing
the port and then re-opening the file to load, but that seems
ok.
2012-07-17 06:19:15 -06:00
Matthew Flatt
5f1c8d3ec9
Revert "racket/gui/init: module caching in the load handler"
...
This reverts commit 5c02b1c95a
.
The caching table doesn't hold entries weakly, which means that
it can be a space leak.
2012-07-17 06:11:35 -06:00
Sam Tobin-Hochstadt
22904ef43e
Use lazy
instead of delay
, as recommended by Eli.
2012-07-17 07:11:23 -04:00
Matthew Flatt
8718a5dd62
doc and error-message fixes for module name resolver
2012-07-16 19:22:30 -06:00
Matthew Flatt
5c02b1c95a
racket/gui/init: module caching in the load handler
2012-07-16 19:22:30 -06:00
Sam Tobin-Hochstadt
8358420fcc
Use unstable/lazy-require
to dynamically-load the compile-time of match
.
2012-07-16 16:39:26 -04:00
James Swaine
b987be068e
Move racket/future/visualizer, racket/future/trace --> future-visualizer, future-visualizer/trace
2012-07-16 12:23:46 -05:00
Matthew Flatt
a605183a0a
more submodule repairs for `raco exe'
2012-07-16 10:02:13 -06:00
Eric Dobson
9dac995e36
Fix things broken by bad rebasing.
2012-07-15 19:21:26 -04:00
Eric Dobson
1df6165e9f
Clean up of typechecking for heterogeneous vectors and structs.
2012-07-15 19:21:26 -04:00
Eric Dobson
dd078dcb95
Clean up of tc-app.rkt.
2012-07-15 19:21:26 -04:00
Eric Dobson
779291c795
Remove special cases for - and fx- in tc-app.rkt.
2012-07-15 19:21:26 -04:00
Eric Dobson
8f98bb6d92
Added cond-check-below
2012-07-15 19:21:26 -04:00
Eric Dobson
3dfd4c52a9
Fix bad contract and clashing provides in TR when contracts are enabled.
2012-07-15 19:21:25 -04:00
Eric Dobson
030e56311e
Make TR compile cleanly with contracts enabled.
...
Added a couple of contracts and fixed some others up as well.
The two bugs were that with-contract was not imported, and that
subtype could be called with Values and Results.
2012-07-15 19:21:11 -04:00
Matthew Flatt
55a8445b0b
allow test to run if GL is unavailable
2012-07-15 10:36:36 -06:00
Matthew Flatt
73e901a262
fix optimizer bug
...
The lambda-lifting transformation needs to iterate to a fixpoint
where each lambda's added arguments and order are known. The
check for whether something changed was formerly just the number
of added arguments, but that's not good enough, because a binding
might get lifted away while another one acquires an extra argument.
The right test is to check the count and original bindings for the
added arguments.
Closes PR 12910
2012-07-15 10:32:45 -06:00
Matthew Flatt
c747af21e3
move commented-out tests to `test' submodule
2012-07-15 10:32:33 -06:00
Robby Findler
0ee8155527
use a more descriptive name in the identifier generated by define-on-demand
...
so when it shows up in an error message it doesn't take forever to figure
out which 'val' that is
2012-07-15 08:07:11 -05:00
Sam Tobin-Hochstadt
8c659d50ed
Properly handle quoted constants with bad expected types.
...
Closes PR 12874.
2012-07-14 23:06:13 -04:00
Sam Tobin-Hochstadt
1dca82784b
Handle arbitrary recursive contracts generated from Rec
types.
2012-07-14 22:45:08 -04:00
Sam Tobin-Hochstadt
2aaeec4520
Improve type of values
when applied to one argument.
...
Closes PR 12846.
2012-07-14 22:45:08 -04:00
Sam Tobin-Hochstadt
ccf79943ab
Fix special case for expected unions of vectors.
...
Closes PR 12845.
2012-07-14 21:56:44 -04:00
Sam Tobin-Hochstadt
2500dad8f1
Don't shortcut simple letrec
forms that aren't lambda
s.
...
Closes PR 12841.
2012-07-14 21:36:56 -04:00
Sam Tobin-Hochstadt
9e097866bf
Vector fixes.
...
- Allow indexing into a VectorTop, with result `Any`.
- Don't use special typing rules for applications when the operator
has an annotation or instantiation.
Closes PR 12887.
Closes PR 12888.
2012-07-14 21:30:26 -04:00
Sam Tobin-Hochstadt
49b030ac8d
Fix documentation of Sequenceof
type.
...
Closes PR 12831.
2012-07-14 21:30:26 -04:00
Sam Tobin-Hochstadt
f40c7f11a6
Mutable data at typed boundaries can't have flat contracts.
...
Closes PR 12884.
2012-07-14 20:43:35 -04:00
Sam Tobin-Hochstadt
546c12cf2a
Parse (Struct t)
as StructTop.
...
Close PR 12903.
2012-07-14 19:20:51 -04:00
Sam Tobin-Hochstadt
418a0c311b
Print StructTop
nicely.
...
Related to PR 12903.
2012-07-14 18:41:42 -04:00
Sam Tobin-Hochstadt
4cba6e010f
Intern Struct
types properly wrt. identifiers.
2012-07-13 17:10:50 -04:00
Sam Tobin-Hochstadt
e6697fe43f
Require binding of add-mod
.
2012-07-13 17:10:50 -04:00
Sam Tobin-Hochstadt
683f8e4e4b
Use promises for current-type-names
.
2012-07-13 17:10:50 -04:00
Asumu Takikawa
b33509bc0d
Remove old packages
...
The following packages were removed:
- combinator-parser
(see `asumu/combinator-parser` on PLaneT)
- tex2page
(see `asumu/tex2page` on PLaneT)
- test-box-recovery
2012-07-13 15:43:59 -04:00
Robby Findler
05b88930c0
improve how an after-insert callback behaves (specifically,
...
avoid redundant work when there are multiple inserts during
an edit sequence)
closes PR 12897
2012-07-13 10:50:13 -05:00
Robby Findler
0ca54bfe56
fix queue/stack confusion in the Guide
...
closes PR 12896
2012-07-13 10:50:13 -05:00
Matthew Flatt
e430463ea4
another submodule expansion repair
...
Relevant to PR 12902
2012-07-13 09:38:44 -06:00
Matthew Flatt
f729c6441c
racket/draw: fix gl-context<%> locking
...
The optional arguments for `call-as-current' for `gl-context<%>'
were not implemented, and the locking implementation didn't match
the documentation in other ways.
2012-07-13 07:45:21 -06:00
Jay McCarthy
e71cbbe7a9
new email setup
2012-07-12 19:32:17 -04:00
Jay McCarthy
0da1c82584
Changing contracts on gl-context<%> and applying it to the gl-context% object.
...
I updated and noticed that this was now failing because interface
contracts are not check structurally (any more?). Once I applied the
interface, the contract application failed because the documented two
additional arguments (alternative and enable-breaks?) are not actually
accepted. I look through all the implementations of gl-context% and
none of them accept these. Should I change the documentation or is
this a bad backwards incompatibility with the older versions?
2012-07-12 19:32:17 -04:00
Sam Tobin-Hochstadt
2dd9a43d1b
Fix tests for new type name declaration.
2012-07-12 17:41:12 -04:00
Sam Tobin-Hochstadt
396b04eb86
Reduce some dependencies of Typed Racket prims.
2012-07-12 17:41:12 -04:00
Sam Tobin-Hochstadt
5ab3827b48
Delay actual initialization of type environment.
2012-07-12 17:41:12 -04:00
Sam Tobin-Hochstadt
775dc67a3b
Rename type-decl
submodule to #%type-decl
.
2012-07-12 17:41:12 -04:00
Vincent St-Amour
f036b0bd12
Add scribble support for additional letters from the Czech alphabet.
2012-07-12 17:40:01 -04:00
Kevin Tew
d8861a6947
[Distributed Places] place functions now work with distributed places
2012-07-12 11:41:47 -06:00
Vincent St-Amour
1a7c9844ec
Disable Optimization Coach in the student languages.
...
Also disables it for other language menu languages.
2012-07-12 12:42:20 -04:00
James Swaine
fe26c07637
Fix future visualizer not showing requested size for allocation events
2012-07-12 10:05:22 -05:00
Eli Barzilay
5cbdf4dc76
Provide `main' too, since it's used by redex/tests/run-tests.
...
(Broken in 4c2940a6.)
2012-07-12 00:12:44 -04:00
Asumu Takikawa
68d550e2c3
Update props file for racket/private/shared-body.rkt
2012-07-11 21:46:30 -04:00
Asumu Takikawa
3158acd61d
Fix unit test broken by mzlib movement
2012-07-11 21:38:42 -04:00
Asumu Takikawa
403aaac7d4
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.
2012-07-11 18:26:10 -04:00
Asumu Takikawa
e414107748
Add deprecation notices to most mzlib libraries
2012-07-11 18:01:05 -04:00
Matthew Flatt
f747c086d8
fix checking for `syntax-local-lift-require'
...
Closes PR 12894
2012-07-11 14:03:31 -06:00
Vincent St-Amour
60a0f3b854
Rename Performance Report to Optimization Coach.
...
The new name is more accurate.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
decdea8806
Refactoring.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
9f12764d25
Have Performance Report popups be trigged by a right-click menu.
...
Taking over left-click in highlighted regions is bad style.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
c5d9f6a228
Refactoring.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
8b64dc8aef
Only highlight text, not empty space at the end of lines.
...
To play nicer with pop-up menus.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
d48762fa1d
Comment on tradeoff.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
895e3a94fa
Accept inliner log messages from unsaved editors.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
8eee1265b5
Refactoring / cleanup.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
fb67e5dc4c
Allow multiple PR instances for multiple tabs.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
ec90ca5146
Fix comment.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
1d084888fd
Filter reports by provenance (TR / mzc).
...
Can't easily combine with filtering by opt / missed opt, so I dropped it.
2012-07-11 10:59:35 -04:00
Vincent St-Amour
590a93725f
Refactoring.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
d350c70c98
Add button to dismiss PR.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
b4fb55dd2e
Have PR display options on a separate toolbar.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
e659e188ea
Typo.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
fe67b0f31d
Count functions with self out-of-fuel, but no unrollings, as loops.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
aaf7acb034
Performance Report is enabled for all languages, so don't enable it for TR.
...
Avoids duplicate buttons.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
284d772a95
Don't assume self-inline when in doubt.
...
This avoids cases where a non-recursive function would be considered
to be unrolled, which makes no sense.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
deaa8f61be
Have recommendations for inlining.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
69df0c4969
Display inlining analysis in a more user-friendly fashion.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
3ce4e0d0e7
Fix plural in inliner message.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
d3bad26766
Be more permissive wrt inliner output.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
e87272adb9
Add check-boxes to toggle the filtering.
2012-07-11 10:59:34 -04:00
Vincent St-Amour
31e36f4c6e
Allow filtering of reports.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
286cb96569
Separate log generation from log collapsing, to allow filtering in between.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
b4e4797e6a
Unrollings are reported separately from successes.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
742fb7844c
Detect unrollings of functions in the body of other functions.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
331d47eb09
Remove vestigial file.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
5ad4bb6f15
Use group-by from unstable/list.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
23646f86b9
Add a key argument to group-by.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
42fa91f688
Refactor output formatting.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
b5de31cc1b
Move more analysis logic to the post-processing phase.
...
This makes the analysis much cleaner, since we can do everything when the
whole log is available.
2012-07-11 10:59:33 -04:00
Vincent St-Amour
570c5ef0f4
Log fuel and closure size.
...
That way, we can detect close calls post facto.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
8e580b5c6f
Ignore out-of-fuels with unknown provenance.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
65dda11603
Report unrollings separately.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
87f7a55101
Simplify inlining info printing.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
38b91cf101
Restructure inlining log handling, to make further processing easier.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
a71565e77a
Parse inlining location information.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
2b739bd0ff
Make log parsing more robust.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
727420ee17
Make sure badness is non-zero any time we report a missed opt.
...
Also, fix irritant handling.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
24cb6fa0cd
Handle cases where the inliner gives us the name, but nothing else.
...
There's not much we can do with these, but at least we don't error.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
4538072df6
Add anchor to inliner messages.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
84feb3882d
Enable performance report no matter the language.
2012-07-11 10:59:32 -04:00
Vincent St-Amour
d9e0afab1c
Handle out-of-fuel messages.
2012-07-11 10:59:31 -04:00
Vincent St-Amour
c0c2d11809
Move inliner log processing to its own file.
2012-07-11 10:59:31 -04:00
Vincent St-Amour
83bf7532ec
Aggregate inliner log entries.
2012-07-11 10:59:31 -04:00
Vincent St-Amour
0e710c1618
Show inlining and failed inlinings in Performance Report.
2012-07-11 10:59:31 -04:00
James Swaine
91de1fae7c
Remove unused test file
2012-07-11 09:17:49 -05:00
Robby Findler
dcdc2aea02
allow promises to be impersonated and thus allow impersonator contracts
...
related to PR 12861
2012-07-10 22:23:26 -05:00
Eli Barzilay
3028099eae
Remove apparently redundant use of multiple values from `stream-map'.
2012-07-10 22:52:18 -04:00
Eli Barzilay
e262f66127
Fix typo in 404 page.
2012-07-10 22:12:43 -04:00
Matthew Flatt
daa98b4e33
syntax/location: repair after `variable-reference->module-source' fix
2012-07-10 18:35:03 -06:00
Matthew Flatt
506b70f71f
fix `variable-reference->module-source' for submodules
...
Unlike the `variable-reference->resolved-module-path', the module
source one doesn't include a submodule path.
2012-07-10 18:35:03 -06:00
Jay McCarthy
a7ea79040d
Fixing PR12881
2012-07-10 19:21:24 -04:00
Jay McCarthy
1685952b9b
Making key-code-symbol consistent with docs
2012-07-10 19:21:24 -04:00
Matthew Flatt
3f479a0556
*SL: avoid run-time dependency on Scribble
...
Instead, move the Scribble dependencies into generated documentation
submodules.
2012-07-10 15:55:18 -06:00
Matthew Flatt
428711bf93
another submodule-expansion repair
2012-07-10 15:05:40 -06:00
Neil Toronto
392d7bfbad
Added sequence typecheck tests
...
Added empty-sequence type (prints funny but works polymorphically; will submit bug report)
Loosened type of sequence-andmap (can't mimic andmap's predicate type)
2012-07-10 13:22:53 -07:00
Neil Toronto
3d1f2da3bc
Added #:add-ticks? arguments to 2d histogram functions
...
Added #:add-x-ticks? and #:add-y-ticks? arguments to 3d histogram functions
2012-07-10 11:22:26 -07:00
Neil Toronto
ef2bd3fc0a
Revert "Added #:add-ticks? argument to all 2d-renderer-producing functions"
...
I forgot that (plot-x-ticks no-ticks) does the same thing.
This reverts commit 8ae3ff48d8
.
2012-07-10 11:22:26 -07:00
Matthew Flatt
ffe39c5974
fix support code for some tests
2012-07-10 11:42:42 -06:00
Matthew Flatt
603e920538
syntax/location: fix and change `quote-submodule-{name,path}'
...
Paths are left as paths, instead of trying to convert them to strings
or byte strings. Submodule path elements should be unquoted -- in the
same form as a `submod' form. All extra parts are submodule path elements,
never module paths or ".".
2012-07-10 11:42:42 -06:00
Neil Toronto
8ae3ff48d8
Added #:add-ticks? argument to all 2d-renderer-producing functions
2012-07-10 10:40:22 -07:00
Sam Tobin-Hochstadt
6bf141513f
Revise type environment propagation to use submodules.
...
Each typed module now defines a submodule named `type-decl`.
This module performs the type environment initialization (along
with other environment updates) when invoked. Additionall,
every typed module, when invoked, performs a for-syntax addition
to a list specifying the submodules that need invocation.
This invocation is then performed by the `#%module-begin` from
Typed Racket.
The `type-decl` module always goes at the beginning of the
expanded module, so that it's available at syntax-time for all
the other submodules. This involved adding pre- and post-
syntaxes for the results of typechecking.
This allows significant runtime dependency reduction from the
main `typed/racket` and `typed/racket/base` languages (not yet
complete).
2012-07-10 12:49:27 -04:00
Sam Tobin-Hochstadt
88f5f4c836
Remove evcase
.
2012-07-10 12:49:27 -04:00
James Swaine
55b11bf365
Fix arity mismatch error in timeline-events
2012-07-10 11:45:57 -05:00
James Swaine
dbec8765e3
Futures visualizer - reorganize modules, expose formerly private stuff as public (and docs)
2012-07-10 10:55:19 -05:00
James Swaine
2b2070f7b2
Clean up code in futures visualizer
...
Remove mouseover display for creation graph nodes (for now)
2012-07-10 10:54:43 -05:00
James Swaine
39f42b753d
Futures visualizer - show name of jitted function for on_demand events
2012-07-10 10:54:43 -05:00
Burke Fetscher
7972adc97a
Futures visualizer - Various bug fixes
2012-07-10 10:54:43 -05:00
James Swaine
919d359e9a
Make sure future log buffers are cleared when starting to
...
trace for the futures visualizer
2012-07-10 10:54:42 -05:00
James Swaine
b6f71ec4be
Add futures visualizer, improvements to futures logging
2012-07-10 10:54:42 -05:00
Matthew Flatt
48e154e3cb
scriblib/autobib: first cut at configurable style
...
Adds `number-style' as an alternative to `author+date-style'.
2012-07-10 00:21:56 -06:00
Matthew Flatt
71fe28e5dc
scriblib/autobib: fixes in docs and related to disambiguation
...
Fixed problems related to sorting, more than two references for
one citation, and "specific" additions like page numbers.
Also, removed a set of parentheses around disambiguated dates
in the bibliography, because I don't think they belong there.
The doc format was confused; for example, square brackets don't mean
optional in a syntactic form documentation, but instead mean square
brackets.
2012-07-10 00:21:56 -06:00
Neil Toronto
419b59e88e
Added inline hint around `index?' definition; my own timing suggests 2x speedup
2012-07-09 19:15:35 -07:00
Neil Toronto
77655f9ade
Added types for single-value sequences
...
Fixed some printing types
2012-07-09 19:15:35 -07:00
Asumu Takikawa
8a166407ed
Remove old menu item from DrRacket docs
...
Closes github issue #101
2012-07-09 20:42:54 -04:00
Asumu Takikawa
9b46e7ab7d
racket/draw: Use interface contracts
...
Also removed `defclass` based runtime checks where
appropriate.
2012-07-09 18:04:33 -04:00
Asumu Takikawa
80ca36e6ab
racket/draw: clean up object name hacks
...
The only observable impact of this change is that
`the-color-database` will now print as
`(object:color-database% ...)` instead of
`(object:color-database<%> ...)`. The former makes more
sense anyway, given that you can't have an instance of
an interface. If we really want the latter though,
we can add `object-rename` for this purpose.
2012-07-09 17:15:33 -04:00
Asumu Takikawa
839f971912
Fix inconsistent docs
2012-07-09 15:19:16 -04:00
Asumu Takikawa
a1aedaff1e
Fix doc typos
2012-07-06 18:59:10 -04:00
Matthew Flatt
f9b4c6b226
scribble: add --dest-base flag
...
Also add the option to `render' from `racket/render', and
document the existing `render%' initialization argument.
2012-07-06 16:48:36 -06:00
Matthew Flatt
1d378186f4
repair to exn doc repairs
2012-07-06 16:48:36 -06:00
Eli Barzilay
75f710dc62
Some styling.
2012-07-06 16:07:30 -04:00
Eli Barzilay
2ebab9b93f
Redo text sculpturing.
2012-07-06 16:07:30 -04:00
Eli Barzilay
66ef365aa4
Add a "favicon.ico" copy, and a 404 page.
...
The 404 page doesn't work right yet -- it should always use absolute
links.
2012-07-06 16:07:30 -04:00
Matthew Flatt
4c469d5338
improve docs on gensym',
generate-temporaries', and compiled code
2012-07-06 13:17:35 -06:00
Matthew Flatt
2b9f57b01d
scribble/*-properties: allow literal bytes in *-additions
...
For example, a `tex-addition' structure can have literal bytes
to include in the generated Latex, instead of a path to a file that
holds the content.
2012-07-06 13:17:35 -06:00
Matthew Flatt
891b882ee6
doc clarification on exception handlers
2012-07-06 13:17:35 -06:00
Vincent St-Amour
dba49db078
Fix type of andmap and ormap on empty lists.
...
Closes PR 12882.
2012-07-06 12:28:37 -04:00
Danny Yoo
0a5e92c299
Correcting type error in latex-match: target-url-addr can be a path, which can't be consumed by regexp-replace
2012-07-06 12:03:47 -04:00
Matthew Flatt
f71037c775
also improve JIT support for unboxed flonums in non-tail-call
...
Applies to non-tail calls to immediate functions, which can be
generated by a `for' or `let loop' pattern in a non-tail
position.
2012-07-06 08:07:10 -06:00
Robby Findler
467bde3a25
fixed promise/c so it creates chaperone contracts when its
...
argument is a chaperone contract
closes PR 12861
2012-07-04 18:41:55 -05:00
Robby Findler
98c459c3d7
document the fact that resolve-planet-path is exported from
...
two different modules. Not sure who might be using this, so
it seems unwise to actually fix this problem.
Also document the fact that calling this function is unlikely
to be useful unless you know the package is already installed.
closes PR 12719
2012-07-04 17:40:16 -05:00
Robby Findler
d79db54a22
provide the color structs using (provide (struct-out ...))
...
closes PR 9867
2012-07-04 10:55:55 -05:00
Matthias Felleisen
983afd5355
added some more format examples; Closes PR 9879
2012-07-04 11:42:14 -04:00
Matthias Felleisen
89d6ebaab6
shifted eval code, probably not needed
2012-07-03 21:49:03 -04:00
Robby Findler
4cd26f828f
typo in error docs
2012-07-03 19:55:08 -05:00
Asumu Takikawa
9f83ba1c6f
Fix doc typos
2012-07-03 15:54:25 -04:00
Asumu Takikawa
414ed2597e
Reference: fix doc typos
2012-07-03 03:10:04 -04:00
Asumu Takikawa
e8dfd1d8df
Improve docs for exn:fail:contract:blame
2012-07-03 02:16:13 -04:00
Robby Findler
119d1ff9d3
fix the append-editor-font-menu-items and
...
append-editor-operation-menu-items docs
closes PR 12878
2012-07-02 18:59:38 -05:00
Matthew Flatt
e8d9d4e9ca
improve error handling for `defproc'
...
Closes PR 12780
2012-07-02 10:07:52 -06:00
Matthew Flatt
aa68692b37
allow `begin' wrapper on a submodule to re-expand
...
Closes PR 12835
2012-07-02 10:02:41 -06:00
Matthew Flatt
50ab977c51
doc correction
...
Closes PR 12872
2012-07-02 09:19:40 -06:00
Matthew Flatt
4ed8a88969
doc correction
...
Closes PR 12844
2012-07-02 09:08:05 -06:00
Matthew Flatt
b5189c8232
scribble: adjust `subsubsub*section' font size
...
Closes PR 12868
2012-07-02 09:00:08 -06:00
Matthew Flatt
addc5d4be7
sgl: avoid crashes on Mac OS X when no GL context is current
2012-07-02 08:31:05 -06:00
Matthew Flatt
814c974d01
scribble Latex: add \SNumberOfAuthors{} in output
2012-07-01 10:00:58 -06:00
Matthew Flatt
3662aee60b
*SL: fix `check-expect' syntax checking
...
Bug introduced during error-message conversion.
2012-07-01 09:25:12 -06:00
Matthew Flatt
c69ea5569f
`raco decompile' fix
2012-07-01 09:25:12 -06:00
Matthew Flatt
9eb4f0e278
typo
2012-07-01 09:25:12 -06:00
Asumu Takikawa
07d279e3ee
racket/class: doc fixes and improvements
...
- actually fixed the grammar this time
- examples for most class/object utils
- consistency with naming conventions
- interface ctc example
2012-06-30 15:13:53 -04:00
Vincent St-Amour
1d43b5a0db
Fix Performance Report on unsaved editors.
...
Closes PR12808.
2012-06-29 16:27:37 -04:00
Asumu Takikawa
9e97ea4cae
Fix class init grammar in docs
2012-06-29 14:40:27 -04:00
Asumu Takikawa
ad8b43e21f
Add examples for most class clauses.
2012-06-29 14:40:27 -04:00
Matthias Felleisen
a6e3c01f53
this is not the final word, see todo in provide-and-scribble; Closes PR 10498
2012-06-28 20:57:30 -04:00
Matthias Felleisen
15651fca6c
removed debug print; fixed ordering of section display; improved docs in advanced
2012-06-28 20:55:13 -04:00
Matthias Felleisen
f56d6447da
typos
2012-06-28 18:22:49 -04:00
Matthias Felleisen
004127bbc7
hashes scribblized, preliminary; SK may wish to add more examples
2012-06-28 18:22:49 -04:00
Matthew Flatt
eeb5f2778a
fix for/lists' to use the Racket-implemented
reverse'
2012-06-28 14:32:01 -06:00
Matthew Flatt
67cbd52e24
fix benchmark driver for running an old version
2012-06-28 14:32:01 -06:00
Sam Tobin-Hochstadt
20e95f8d8e
More refactoring and reduction of runtime dependencies.
2012-06-28 14:34:07 -04:00
Sam Tobin-Hochstadt
f075ecd36e
File splitting, dependency reduction.
2012-06-28 14:34:07 -04:00
Matthew Flatt
d181b32192
Guide: recycle sandbox for most regexp examples
2012-06-28 10:05:43 -06:00
Matthew Flatt
20aa70a6ef
doc fixups
2012-06-28 09:54:18 -06:00
Matthew Flatt
612c4ff524
scribble HTML render: avoid intermediate XML structure
...
As pointed out by Danny Yoo to save time during the rendering phase
2012-06-28 09:15:57 -06:00
Matthew Flatt
130618e946
tweaks to Danny's Scribble changes
2012-06-28 08:57:58 -06:00
Danny Yoo
d926f89cbe
Correcting content->string so that it does not concatenate strings in quadratic time
2012-06-28 08:39:14 -06:00
Danny Yoo
2f4671235c
Changing decode-string so it avoids allocation and interns the individual string components.
2012-06-28 08:39:03 -06:00
Robby Findler
5526efd744
Rackety (Matthew already broke the dependency that this commit was going to do)
2012-06-28 09:02:35 -05:00
Matthew Flatt
6379849755
remove dependency of *SL image functions on `racket/gui/base'
2012-06-28 07:18:17 -06:00
Stevie Strickland
d16c3f68fa
Add empty case for with-contract's clause for free variable contracts.
...
Also reorder the single and multiple cases to match result-spec's ordering.
2012-06-28 03:28:04 -04:00
Matthias Felleisen
379974fc6e
fixed some interactions, added up through hashes
2012-06-27 22:55:07 -04:00
Matthias Felleisen
22f3c6b509
added interactive examples up to I/O
2012-06-27 19:03:42 -04:00
Matthias Felleisen
397cd540ab
added interactions to all but one beginner functions to illustrate what they do
2012-06-27 19:03:41 -04:00
Matthew Flatt
f05e6fa9c0
fix and improve some syntax-error messages for `struct'
2012-06-27 13:38:36 -06:00
Matthew Flatt
1d25f698da
doc clarifications
2012-06-27 13:20:18 -06:00
Matthew Flatt
ec6f3fd610
racket/draw: avoid callback-based PNG writing
...
Doc rendering has been occasionally crashing in Pixman/Cairo. It might
have something to do with a non-atomic callback, so let's try avoiding
that, first. (If that doesn't work, the next step is to avoid using
Cairo in a multi-threaded way, for which this is a first step, too.)
2012-06-27 12:29:52 -06:00
Matthew Flatt
5f3f3e8c54
scribble/eval: remove bogus top-level `namespace-require'
2012-06-27 12:28:17 -06:00
Matthew Flatt
0d1056dbed
fix potential bad interaction of module caching and JIT assumption
...
The JIT wants to detect calls to functions bound to module-level
variables that are always instantiated to a procedure of a particular
arity, in which case it can avoid some checks. The problem is that
bytecode and JITted code can be shared via the module cache across
namespaces that use different modules to implement a particular module
path or that enable the JIT differently. In particular, starting with
one that has a procedure binding and then using one (in a different
namespace) that has a non-procedure binding could lead to a crash.
Defend against this possibility by never treating imported variables
as constant in that sense. The JIT detects imported variables through
a new import map in the prefix.
This change may slow code. My guess is that it will have no
performance impact in practice, due to cross-module inlining,
although I can construct a microbenchmark that slows by 20%.
2012-06-27 09:57:50 -06:00
Matthew Flatt
e0bf863b21
BSL and BSL+: fix an error message
2012-06-27 09:57:50 -06:00
Matthew Flatt
8655a6856e
errortrace: hack to recover `with-continuation-mark' optimization
2012-06-27 09:57:50 -06:00
Matthew Flatt
577cf4592e
fix problems with references to bindings at higher phases
2012-06-27 09:57:50 -06:00
Matthew Flatt
edce1b0406
fix optimizer for impersonated continuation mark keys
...
The optimizer can no longer reduce
(with-continuation-mark _id _v-expr _expr)
to just
_expr
when _v-expr and _expr are simple enough, because _id
might be bound to a continuation mark key with an
impersonator that checks the result of _v-expr.
The loss of an optimization can have a significant affect on
errortrace of microbenchmarks, such as
(for ([i (in-range 10000000)])
i)
2012-06-27 09:57:50 -06:00
Vincent St-Amour
db6c2e7737
Update types of string-join and add-between.
2012-06-27 11:39:15 -04:00
Eli Barzilay
fb2b5418df
More files for all sites.
...
Two verification files for google/bing website tools, and also add a
no-op robots.txt file to avoid error-log lines.
2012-06-27 09:26:29 -04:00
Eli Barzilay
06f67b30f3
Improve resource-files code.
...
Makes it easy to add more files without more bindings.
2012-06-27 09:26:28 -04:00
Eli Barzilay
9d8b0b3051
Add rel="nofollow" to short example links.
...
The examples make up the majority of the front page, and it turns out
that google used some of these links in "sitelinks" in search result.
These links should be the main entry points, and we ended up having such
gems as "Printf" be there. They provide a way to "demote" URLS so they
won't show there, but doing that for one link means that another will
pop in (and there's a limit of a 100 such demotions). So add this in an
attempt to make it not consider them as things that can be used in the
sitelinks. This might be reverted if it doesn't help.
(Note that this is discouraged as a way to "sculpt pagerank", but the
purpose here is not to affect how they crawl the web pages and make page
reputation flow, but only to cover up for a missing feature that ends up
with horrible sitelinks. The pages are scanned anyway from the doc
pages.)
2012-06-27 09:26:28 -04:00
Eli Barzilay
1e79d368ce
Some usual code shuffling for internal definitions.
2012-06-27 09:26:28 -04:00
Eli Barzilay
b1c666c212
Some web page tweaks.
...
* The main page's title appears in search results, so use "The Racket
Language" instead of "Racket". Additional minor tweaks to a few more
titles to make them presentable as search results.
* Add a `#:description' keyword to make it easy to add it to pages. Add
such texts to the main page, downloads, community, learning, people,
and mailing list pages.
* Add a <meta name="robots" content="NOODP" /> to the front page, to
avoid getting the ODP (dmoz) blurb, hopefully the new and improved
description(s) will be used instead. (If not, this should be
reverted.)
2012-06-27 09:26:28 -04:00
Eli Barzilay
81e0bd2382
Use `secref' instead of a direct link to docs.racket-lang.org.
2012-06-27 09:26:28 -04:00
Asumu Takikawa
095d47fc3d
racket/contract: rename prompt/c
& continuation-mark/c
...
The new names are `prompt-tag/c` and `continuation-mark-key/c`
to keep the names consistent with the values that are being
contracted. Also updated the HISTORY file.
2012-06-26 21:11:58 -04:00