Vincent St-Amour
fc08b4d401
Display badness of missed optimizations.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
9dbca39cfe
Use write instead of display for syntax in logs.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
dda1b1c880
Don't keep useless return values around.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
847e4b2e23
Do duplicate detection at the expanded syntax level, instead of the source level.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
866225b659
Adapt the log update script to work on specific files.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
fddf189530
Report opts and missed opts in terms of the original programs, not in terms of expanded code.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc25b43293
Add script to update test files to new log formats.
2011-06-17 18:18:03 -04:00
Vincent St-Amour
86efbc8396
Specify opt or missed opt in the TR log format.
2011-06-17 18:18:03 -04:00
Vincent St-Amour
d9256f2b76
Refactoring.
2011-06-17 18:18:03 -04:00
Vincent St-Amour
9f78a92613
Fix test log to use new format.
2011-06-17 18:18:03 -04:00
Vincent St-Amour
1a2080fc97
Handle the case where we would need to merge with multiple children at once.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
e095976c8b
Simplify log sorting.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
8d2f66faa6
First attempt at handling missed optimization cascades.
...
Currently, if missed optimizations a and b are of the same kind, a is caused
by b, and b is caused by c, we merge them into a single miss with cause c.
This works in some cases, but fails in others.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
6de90b7185
Sort irritants by source location.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
c5ca1422a2
Abstract out printing of missed optimization log messages.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
4c31b08554
Put logging code in its own file.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
c54717d557
Have more structure to missed optimizations, for eventual handling of nesting and/or missed optimization cascades.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
6b5095df2d
Have multiple irritants for missed optimizations.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
cb706aab9c
Change log message to reflect new behavior.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
f547b99ed5
Remove useless irritant.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
9528f63cf0
Swap miss region and irritant.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
647ae4fe9a
Report missed optimizations for unary float operations.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
cc129adb39
Make unary float optimizations less restrictive.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
484fb029f1
Rephrase a missed optimization message.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
a319ba1058
Fix missed-optimization tests to also look for optimization messages.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
e8621f58ea
Fix optimization tests to also look for missed-optimization messages.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
28692786b3
Have optimizer test harness look only at log messages that came from the optimizer.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
641dd731ab
Fix optimizer test harness to use the new syntax of with-logging-to-port.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
81d6e380da
Add a "unique" key to log messages that are sent by the optimizer.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
09015722e3
Use with-logging-to-port from unstable.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
47f48c08ad
Revise with-logging-to-port to avoid the extra dummy log entry.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
a2afe2c285
Adapt the optimizer's test harness for the new logging strategy.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
7347da4919
Use racket's logging facilities for the optimizer logs.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
28cbad21b9
Add a directory for optimizer tests that we know fail.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
9ae4f82c0a
Sort optimizer logs by source location, to prepare for eventual user consumption.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
5a151420e4
Keep source location around for derived pair optimizations.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
b8b061fb39
Don't print duplicate log entries.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
147032e428
Extra test for precision loss.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
0432ea16cb
Add an extra test that checks for non-reporting of false positives.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
b598c4a1eb
close-call -> missed-optimization
2011-06-17 18:18:00 -04:00
Vincent St-Amour
c73bc6c918
Report unexpected complex types in arithmetic expressions.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
2a7254a324
Add in-complex-layer?.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
2a4a4e8184
Generalize reporting of wasted precision to arbitrary exact arithmetic expressions.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
ec696f26ae
Add an arith-expr syntax class, to simplify parts of the optimizer.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
b64b49b078
Move layer predicates to their own file.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
cd027109c9
Report when exact arithmetic is used inside float expressions, which may make the extra precision useless.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
fb36786c4d
Add failing test for nicer reporting of cascades of missed optimizations.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
5d4ef5c624
Add a test case for close-calls on all-real arithmetic expressions.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
89ca99210e
Report close calls for pair/mpair optimizations.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
526a84f10b
Add extra checks to avoid spurious close call reporting involving integer operations.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
95bf94577c
Show irritant for the currently detected close calls.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
0fab9e11ad
Revert "Fix optimizer expected log format."
...
This reverts commit bdf1073f17
.
Return that test to the new format, which it was originally written in.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
33962befd4
Made logging format more compact and less ambiguous.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
26cc2cf6dc
Add layer predicates.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
7b2c6f5765
First attempt at logging unexpected Real types popping up.
2011-06-17 18:17:58 -04:00
Vincent St-Amour
2e0dd6467a
Add support for close-call tests to the TR test harness.
2011-06-17 18:17:58 -04:00
Vincent St-Amour
303e1f7f88
Add logging infrastructure to log close calls.
2011-06-17 18:17:58 -04:00
Matthew Flatt
6f42c6ed5e
win32: fix checkable menu item to toggle on selection
...
Closes PR 11985
2011-06-17 16:02:49 -06:00
Robby Findler
f8f289adc0
fix random place tests
2011-06-18 05:15:36 +08:00
Robby Findler
611a844877
run the place channel random tests
2011-06-18 04:55:27 +08:00
Vincent St-Amour
8f092e8330
These changes break with bad sandboxes.
...
Revert "Fix interface."
Revert "Add more scribble forms that evaluate code and display the results."
This reverts commit a621eaf041
.
This reverts commit 7e9dbded4c
.
2011-06-17 15:18:48 -04:00
Sam Tobin-Hochstadt
55a25a825a
Disable this test.
2011-06-17 15:17:20 -04:00
Eric Dobson
1348887bd1
Cleaned up base-env. Added comments about untyped identifiers.
...
Used one-of/c to clean up some types.
2011-06-17 15:17:20 -04:00
Eric Dobson
0671945a8d
Moved tests for equality to unit tests
2011-06-17 15:17:20 -04:00
Eric Dobson
b326269133
Moved new TR symbol testing into unit tests.
2011-06-17 15:17:20 -04:00
Eric Dobson
3a13cf0e78
Moved TR string testing to unit tests.
2011-06-17 15:17:20 -04:00
Eric Dobson
feeccc062b
Added types for reading and writing operations
2011-06-17 15:17:19 -04:00
Eric Dobson
029651b9ee
Added types for regexp operations. Changed Regexp to correspond to regexp?.
2011-06-17 15:17:19 -04:00
Eric Dobson
3e1a95750d
Added public names for recently added types
2011-06-17 15:17:19 -04:00
Eric Dobson
6f3bbad367
Added types for I/O operations
2011-06-17 15:17:19 -04:00
Eric Dobson
54a12afb49
Added types and some tests for port operations
2011-06-17 15:17:19 -04:00
Eric Dobson
c77e906c7a
Added types and tests for equality operations.
2011-06-17 15:17:19 -04:00
Eric Dobson
2d152bac79
Added types and tests for raising and handling exceptions
2011-06-17 15:17:19 -04:00
Eric Dobson
4ba12dd20e
Added types and tests for symbol operations
2011-06-17 15:17:19 -04:00
Eric Dobson
ab23db7b5b
Added types and tests for string operations
2011-06-17 15:17:19 -04:00
Vincent St-Amour
a621eaf041
Fix interface.
2011-06-17 14:47:16 -04:00
Vincent St-Amour
7e9dbded4c
Add more scribble forms that evaluate code and display the results.
2011-06-17 14:04:38 -04:00
Eli Barzilay
f6620d5754
Close the input port so that the file can be deleted on windows.
2011-06-17 13:19:24 -04:00
Matthew Flatt
7089a17ba2
fix `make-limited-input-port' limit tracking for committed peeks
...
and make the port thread-safe
2011-06-17 11:14:50 -06:00
Matthew Flatt
b1e47eba45
add `place-message-allowed?' and fix related problems
...
Closes PR 11983
2011-06-17 10:33:27 -06:00
Matthew Flatt
c7d86ed3a6
mach-o: fix generating embedding executables
...
aimed at fixing DrRacket startup on Lion
2011-06-17 08:46:09 -06:00
Robby Findler
8e80af6f42
random testing for messages sent over place channels
...
related to PR 11983
2011-06-17 18:46:59 +08:00
Robby Findler
524d533392
added edit-sequence when flushing the delegate updates
2011-06-17 15:46:52 +08:00
Robby Findler
24d11805ac
attempt to try to make the contour window feel faster by delaying the work until nothing has happened for 250 msec
2011-06-17 12:43:14 +08:00
Robby Findler
835762903c
if we're highlighting something in the defs window, make sure the window is shown
...
closes PR 11977
2011-06-17 12:43:09 +08:00
Eli Barzilay
7af058dcb2
Add a subsection on getting github pull requests in the easy way.
...
(And update some links.)
2011-06-16 21:37:48 -04:00
Eli Barzilay
35e4662b94
Disable drdr for the whole directory.
2011-06-16 21:37:48 -04:00
Danny Yoo
d78fccb75b
Fixing the comment-at-end-of-file bug (PR#11982)
2011-06-16 21:37:48 -04:00
Eli Barzilay
768baa5983
Pass around the form name so that an error from the sandbox will show a
...
more useful error.
2011-06-16 21:37:48 -04:00
Eli Barzilay
d4dec81c91
Switch to `#lang', reformat, and some minor improvements.
2011-06-16 21:37:47 -04:00
Eli Barzilay
43d1c240a1
Add an error message when the sandbox doesn't capture its output as a string.
2011-06-16 21:37:47 -04:00
Eli Barzilay
831b69a146
Add activity graphs from gmane.
2011-06-16 21:37:47 -04:00
Matthew Flatt
523cec90c6
fix JITted multi-valued `begin0' in a single-value context
...
and generate simpler code for constrained cases, including
single-value contexts and ignored results
Closes PR 11979
2011-06-16 18:16:02 -06:00
Vincent St-Amour
26541ffbbd
Unify types and filter behavior of not and false?.
2011-06-16 18:08:44 -04:00
Matthew Flatt
c9e98a5f1f
Scribble Latex Unicode fixes
2011-06-16 15:06:15 -06:00
Stevie Strickland
477c5acb2a
Fix names in test to make them test-specific.
2011-06-16 16:51:38 -04:00
Matthew Flatt
56423f330e
`procedure-arity-includes?' reports #f for keyword-requiring procs
...
by default; a new optional argument restores the old behavior
(but the default behavior is consistent with the old docs and with
the vast majority of existing uses)
The implementation is ugly for performance reasons. A new primitive
`prop:arity-incomplete' property determines when to return #f for
`procedure-arity-includes?' in default mode. A nicer implementation
would be to redefine `procedure-arity-includes?' at the kw-proc level,
but the bytecode optimizer's and JIT's treatment of the built-in
`procedure-arity-includes?' is important. The implementation choice
could be revisited after cross-module inlining is implemented.
Closes PR 11978
2011-06-16 12:36:16 -06:00
Stevie Strickland
649fe2f276
Fix #%app bindings for `with-contract'-based contract forms.
...
Closes PR11975.
2011-06-16 14:25:01 -04:00
Danny Yoo
e35e005a1c
added example of making an evaluator for interaction
2011-06-16 12:09:55 -04:00
Matthew Flatt
a919062143
support progress evts in result of `make-limited-input-port'
...
and also adjust initial position in various port constructions
to use `file-position' instead of `port-next-location'
2011-06-16 09:18:47 -06:00
Matthew Flatt
83d002a9aa
fix interaction of `port-commit-peeked' and port positions
...
--- includes a small hack to the `make-input-port' protocol
to specially handle a byte-string result as "true"
from the `commit' proc
2011-06-16 08:17:14 -06:00
Matthew Flatt
80bd949531
add mode to arc' in
dc-path%' to support right/bottom alignment
2011-06-16 08:17:14 -06:00
Matthew Flatt
c5b94831e4
fix colorize' nested inside
(linewidth #f ...)'
2011-06-16 08:17:14 -06:00
Sam Tobin-Hochstadt
d5b25eb500
Document match-lambda**' and
match[*]/derived'
2011-06-15 18:11:41 -04:00
Sam Tobin-Hochstadt
eaa156554a
Add contracts for `Sequenceof' values.
2011-06-15 17:02:09 -04:00
Kevin Tew
4176f093b8
place -> dynamic-place and place-wait return value fixes
2011-06-15 11:09:02 -06:00
Vincent St-Amour
e057e6a857
Optimize in typed regions.
2011-06-15 11:20:51 -04:00
Matthew Flatt
c8999c2541
adjust `racketmodname' to ignore for-label imports
...
so that `@racketmodname[lazy], for example, typesets correctly
when `lazy' is imported for-label
2011-06-15 08:23:33 -06:00
Robby Findler
9bf26ef69e
add more caching to avoid calling normalize-path so much;
...
this should affect the test coverage coloring and the stacktrace
arrows/stop-sign window
2011-06-15 16:45:47 +08:00
Robby Findler
b9ff7dc4af
thanks, Sam.
2011-06-15 12:52:39 +08:00
Robby Findler
68f34502b8
add a cache to avoid calling normalize-path so often when switching tabs
...
closes PR 11936
2011-06-15 11:44:25 +08:00
Robby Findler
497172f64e
fix typo
2011-06-15 11:02:21 +08:00
Eli Barzilay
c0051518be
Fix `{user,group,other}-{read,execute}-bit' (in the docs too).
...
Make the launcher template copying code try to ensure that all user
access bits are on.
2011-06-14 21:27:36 -04:00
Robby Findler
58b60a6a87
fixed lw-test.rkt test suite
2011-06-15 09:25:50 +08:00
Sam Tobin-Hochstadt
b76819a66e
Wrap expected type. Closes PR 11980.
2011-06-14 19:05:16 -04:00
Eli Barzilay
71b8440adb
Tweak things a little: make simple-compose*' use
simple-compose' when
...
the first function's arity is 1, avoiding another `call-with-values'.
The difference in timing is in the noise (looks like `call-with-values'
is optimized for an arity-1 receiver), but it seems more in line with
the rest... Incidentally, it steps around the problem in PR11981.
2011-06-14 19:02:30 -04:00
Eli Barzilay
da1c334f70
Use `apply apply' which is slightly faster for most inputs than using
...
`list*'. (And add specialized cases for small inputs.)
2011-06-14 19:02:30 -04:00
Eli Barzilay
be84425bd0
Rewrite compose' and add
compose1'.
...
The new version fixes some problems with the previous one, most notably
it can create a keyworded function when the last input is is keyworded.
`compose1' is a restricted variant that requires single values in the
composed pipeline -- besides being potentially faster (probably more
if/when there is cross module inlining), it has a semantical
justification, similar to the restricting function call arguments to
return single values, with similar robustness benefits. The
implementation of both is done in a generalized way, and the results can
be faster for both `compose' and `compose1'. (Not by much -- 20% and
30% resp.)
One thing that it could do is to reduce the resulting arity to match the
last given function. I didn't do this since it adds a significant
overhead to the result. (No strong opinion on doing that...)
2011-06-14 19:02:30 -04:00
Eli Barzilay
e80308aa15
Make `test' messages show keyword arguments too.
2011-06-14 19:02:30 -04:00
Eli Barzilay
03a5468e59
Disable drdr runs on `meta/web'.
...
The problem is that it spits out a warning message on stderr whenever it
can't find a git repository to extract release announcements (from
annotated tags). Resolving this will require some way to (a) tell drdr
to ignore such output, (b) make it run the code with a $GIT_DIR
environment variable set to the git tree, or (c) make it set some
environment variable so the web build will avoid such messages. (I
prefer the first most, and the last least.)
2011-06-14 19:02:30 -04:00
Eli Barzilay
80f0d57cdd
Revise this comment
2011-06-14 19:02:30 -04:00
Eli Barzilay
45e3c4f4af
Fix catching of initial exceptions to happen outside of the sandbox context,
...
so the error is actually printed instead of swallowed silently.
Also, fix some copy/paste uses of 'make-evaluator instead of
'make-module-evaluator in error messages, and two more in
`make-evaluator*' that lacked a "who" input.
2011-06-14 19:02:30 -04:00
Vincent St-Amour
48bf6f8290
Make type annotations optional for for*/lists: and for*/fold:.
2011-06-14 17:53:28 -04:00
Vincent St-Amour
3ff1a3320a
Improve error message for untyped variables that don't come from the original program.
2011-06-14 17:53:28 -04:00
Vincent St-Amour
7a4bd387cc
Change examples to use prettier types.
2011-06-14 17:53:28 -04:00
Vincent St-Amour
d43c8fc406
Tidy up TR reference.
2011-06-14 17:53:28 -04:00
Vincent St-Amour
1cf57b893c
Add note about optimizing structs to the TR docs.
2011-06-14 17:53:28 -04:00
Vincent St-Amour
e3274a3cf7
Add missing word.
2011-06-14 17:53:28 -04:00
Vincent St-Amour
52e14362b5
Split the TR reference into multiple pages.
2011-06-14 17:53:28 -04:00
Vincent St-Amour
589f42feb1
Reorganize TR docs directory.
2011-06-14 17:53:27 -04:00
Vincent St-Amour
b835e8a75b
Add myself to the TR doc author list.
2011-06-14 17:53:27 -04:00
Vincent St-Amour
a1787cede4
Document optionality of type annotations for the for: macros.
2011-06-14 17:53:27 -04:00
Vincent St-Amour
2922821f3c
Synthesize annotations for for/lists: if possible.
2011-06-14 17:53:27 -04:00
Vincent St-Amour
f4973ff05e
Remove obsolete comment.
2011-06-14 17:53:27 -04:00
Vincent St-Amour
8c92a32cbb
Fix bad name.
2011-06-14 17:53:27 -04:00
Vincent St-Amour
a5bccaffe1
Allow omitting type annotation in most of the for: forms.
2011-06-14 17:53:27 -04:00
Vincent St-Amour
ef11f754e5
Fix a typo in Eric Hanchrow's name.
2011-06-14 17:53:26 -04:00
Vincent St-Amour
506980240a
Allow omitting type annotation on for/fold:.
2011-06-14 17:53:26 -04:00
Asumu Takikawa
ed590b8ec5
Fix GUI and Reference doc typos
2011-06-13 17:57:21 -04:00
Asumu Takikawa
01a987bf5e
Use a real contract instead of imaginary for sleep
2011-06-13 12:09:52 -04:00
Kevin Tew
939f0b1c0b
rename place-dynamic to dynamic-place
2011-06-11 15:36:16 -06:00
Matthew Flatt
80c4396dc1
JIT-inline struct type property predicates and accessors
2011-06-11 08:35:34 -07:00
Robby Findler
ecf45ab426
added a missing error check to scribble decoding
2011-06-11 08:58:06 -05:00
Eric Dobson
c7f9a80de8
TR: Changed type of port->list
2011-06-10 17:22:14 -04:00
Ryan Culpepper
5bf4b1c930
moved phase-of-enclosing-module to unstable/syntax
...
closes PR 11970
2011-06-10 13:22:33 -06:00
Ryan Culpepper
c8a691490a
syntax/parse: added literal-set->predicate
...
closes PR 11968
2011-06-10 13:22:26 -06:00
Ryan Culpepper
d22a16a3c7
fix guide typos
...
closes PR 10577
2011-06-10 12:55:57 -06:00
Ryan Culpepper
042402b023
fix guide typos
...
closes PR 10580
2011-06-10 12:55:57 -06:00
Ryan Culpepper
07db4277d1
fix plot documentation (view is image-snip)
...
closes PR 10857
2011-06-10 12:55:57 -06:00
Kevin Tew
1473b7775f
Places: rename place and place/anon
2011-06-10 11:07:01 -06:00
Matthew Flatt
8f6a4c5549
fix file suffix: ".rkt" for module files
2011-06-10 09:36:10 -07:00
Matthew Flatt
460504c852
add #:unless' to
for'
2011-06-10 06:21:35 -07:00
Matthew Flatt
bbd98528ba
improve docs for `module-lexer'
2011-06-10 06:21:35 -07:00
Kevin Tew
f88c0bbe80
Places: Missed some send receive renames
2011-06-10 06:38:13 -06:00
Kevin Tew
21f7109204
Places: rename send receive to put get
2011-06-09 23:48:55 -06:00
Kevin Tew
dd4ee47ecd
Cleanup place-channel benchmark use read-bytes
2011-06-09 23:48:25 -06:00
Vincent St-Amour
d732c12b96
Fix documentation of the for: macros.
2011-06-07 21:15:17 -04:00
Vincent St-Amour
7f55680028
Eta-expand typechecking of literals, to improve performance.
2011-06-07 21:15:17 -04:00
Eric Dobson
44d591b5ba
Make sure type environment is only initialized once
2011-06-07 21:15:17 -04:00
Eric Dobson
157481ceda
Added check to make sure that safe/unsafe flonumops are the same binding
2011-06-07 21:15:17 -04:00
Eric Dobson
88ce4e281c
Base type environment now checks for duplicate types.
2011-06-07 21:15:17 -04:00
Kevin Tew
524b5ca50a
Channels compared to dd
2011-06-07 13:53:37 -06:00
Eli Barzilay
40a88b6037
Fix TR docs wrt to `racket/function' change, close evaluators, fix
...
copy/paste typo in `thunk' docs.
2011-06-07 13:07:46 -04:00
Eli Barzilay
fc1b974cd2
Fix "zo-parse.rkt" wrt the inclusion of `identity' in mzlib/etc, and
...
switch to racket (making `begin-with-definitions' redundant).
2011-06-07 13:06:13 -04:00
Eli Barzilay
a7aad558a3
Seems that this file is never used, possibly committed by mistake.
2011-06-07 03:42:00 -04:00
Eli Barzilay
313e4e75fc
Better section heading
2011-06-07 03:40:13 -04:00
Eli Barzilay
17b6ffa731
Move thunk' from
unstable/function' into `racket/function'.
...
Actually, the new `thunk' is a nullary function, which I think is very
popular expectation for the name. Since there are possible uses for the
any-arity version, it's added too, as `thunk*'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
a70ef57f02
Move identity' from
unstable/function' into `racket/function'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
2eb0a94677
Removed a bogus provide and two bogus tests.
...
(Which worked because the same functionality is part of `racket'.)
2011-06-07 03:38:06 -04:00
Matthew Flatt
0e0426a150
document scheme_enable_garbage_collection()
2011-06-06 20:22:58 -07:00
Eli Barzilay
3f9bc25c5c
Remove `eval/require' and many of its one-time uses.
...
(Cuts the rendering time for unstable by around 50%.)
2011-06-06 09:48:04 -04:00
Eli Barzilay
768a5fd61d
Drop mstart' and
mend' arguments to `success-choose' -- it's getting
...
the complete list of submatches anyway, so it can just `caar' and `cdar'
it.
2011-06-06 02:01:27 -04:00
Eli Barzilay
5754312120
Some reformating. The only real change is using `write-bytes' instead
...
of a `display' in one place.
2011-06-06 02:01:26 -04:00
Eli Barzilay
3ecdd3bc59
Specify what happens on OS X with ;-separated globs.
...
Also, update the `path-dialog%' intro -- it is no longer similar to the
dialog under X.
2011-06-06 02:01:26 -04:00
Robby Findler
a42068a709
fix prose slightly
2011-06-03 20:33:34 -07:00
Robby Findler
5848c1f5a6
add a note about where protected methods fit into our world
2011-06-03 20:09:16 -07:00
Eli Barzilay
045369e3b9
cocoa: fix `get-file' when any extension is allowed
2011-06-03 01:38:40 -04:00
Eli Barzilay
6a1eefe080
Move the captcha generation as a hook to the extra code, since it's a
...
more proper place.
2011-06-03 00:56:21 -04:00
Eli Barzilay
e9487fb0c7
Make the cocoa file dialogs deal better with ";"-separated globs.
...
* Note the ugly hack of adding "foo~" for every "foo" suffix.
* Note also that when "*.*" is in the glob list all files should be
available but it looks like this isn't working yet for some reason.
2011-06-03 00:56:21 -04:00
Eli Barzilay
67d58b9041
Add *.rktl and *.rktd files as drracket files.
2011-06-03 00:56:21 -04:00
Eli Barzilay
093c8ded76
Racketify
2011-06-03 00:56:21 -04:00
Robby Findler
9e36dc8eb3
adding a missing 2htdp/image color => racket/gui color coercion
...
closes PR 11956
2011-06-02 16:27:09 -07:00
Matthew Flatt
b24c387dde
add PLTDISABLEGC environment variable
2011-06-02 16:20:20 -07:00
Matthew Flatt
defae9be11
adjust `struct' expansion for the top level
...
to allow an expression (such as a property) to refer to bindings
introduced by the `define-syntaxes' half of the expansion
2011-06-02 16:20:20 -07:00
Vincent St-Amour
1ad63e5da0
Unify doc formatting.
2011-06-02 18:39:32 -04:00
Vincent St-Amour
801354fa4a
Add syntax-within? to unstable/syntax.
2011-06-02 18:37:42 -04:00
Vincent St-Amour
bb71f9b66d
Fix contract generation for Exact-Rational.
...
Closes PR11954.
2011-06-02 16:52:46 -04:00
Vincent St-Amour
6de5f48810
Optimize sqr on floats.
2011-06-02 16:49:25 -04:00
Carl Eastlund
c8600f01a1
Added examples to documentation for for/fold/derived, for*/fold/derived,
...
define-sequence-syntax, and :do-in.
2011-06-02 16:10:23 -04:00
Eli Barzilay
1582f160bc
* Make the drracket `default-filters' have a ";"-separated glob for all
...
patterns instead of one pattern per suffix. (This was almost never
used -- only when saving a file that is in text mode.)
* Since this default is the same that the scheme
mode ("framework/private/scheme.rkt") sets, remove that
setting. (Leave it commented in case there's need to have some
different global default.) It makes the above default get used when
saving a scheme-mode file.
* Finally, for some reason the code in "framework/private/finder.rkt"
was not using these `default-filters' at all for the file open dialog
in `*get-file'. (I tracked it back to CVS when the code was written,
and it was never used.)
I made it use it now. This is visible on gtk (and probably on
windows, not sure what OSX does) in that openning a file would show
you all files. After this change, it would show only racket source
files, but there will be an option to switch the pattern to show all files.
** If the previous setup (showing all files) was intentional, it would
be better to simply change "drracket/private/main.rkt" to add the
racket source globs before the default. In that case it might also
make sense to uncomment the change in scheme.rkt back in, so when
saving the default is the racket file suffixes (but this sounds
like a confusing UI).
2011-06-02 10:06:15 -04:00
Eli Barzilay
42fe92cd25
Split the glob patterns on ";", and add them all to the gtk dialog.
2011-06-02 09:33:53 -04:00
Eli Barzilay
ef915d0d3a
Add a popup question in case there's a captcha challenge.
...
See in-code comments for how this is just a rough feature to be used if
needed (and improved when it becomes necessary). That can just as well
go to the FIXME of using a string constant.
2011-06-01 17:40:25 -04:00
Eli Barzilay
18d40dca3c
Use `post-impure-port' to submit the bugreport, and check the resulting
...
HTTP status for an error code.
If there was an error, then render the HTML like other errors, so the
user can now hit back and try to fix things.
2011-06-01 16:43:50 -04:00
Eli Barzilay
c82d8cea32
Refactor the error handling code, making it more uniform for all error cases.
2011-06-01 16:42:15 -04:00
Vincent St-Amour
c32efa727c
Document with-intercepted-logging.
2011-06-01 16:11:11 -04:00
Vincent St-Amour
b71d3cf40c
Fix limitations of with-intercepted-logging.
2011-06-01 16:11:10 -04:00
Vincent St-Amour
b86d759b62
Provide with-intercepted-logging.
2011-06-01 16:11:10 -04:00
Vincent St-Amour
fc705c6e29
Implement with-logging-to-port in terms of something more general.
2011-06-01 16:11:10 -04:00
Vincent St-Amour
0538f21274
Make level a keyword argument for with-logging-to-port.
2011-06-01 15:24:15 -04:00
Vincent St-Amour
fe161a780c
List known limitations of with-logging-to-port.
2011-06-01 15:20:36 -04:00
Vincent St-Amour
f24f451fd9
Document show-requires.
2011-06-01 14:32:22 -04:00
Vincent St-Amour
b39f21775a
Add show-requires, which is friendlier on the eyes than check-requires.
2011-06-01 14:32:22 -04:00
Vincent St-Amour
2e3e6822f3
Add documentation for check-requires.
2011-06-01 14:32:22 -04:00
Vincent St-Amour
c55c89a31f
Fix format string in check-requires.
2011-06-01 14:32:21 -04:00
Carl Eastlund
5582f7591f
Replaced an outdated reference to syntax-object->datum with syntax->datum.
2011-06-01 01:47:23 -04:00
Vincent St-Amour
8d96133681
Add with-logging-to-port to unstable.
2011-05-31 19:14:38 -04:00
Eli Barzilay
4276898a67
* Refactor bug-related url construction
...
* Add captcha url (unused, yet)
* The second argument to `call/input-url' can be a one-argument function
since the call doesn't send it any headers.
Still needs to be done: check the HTTP response for an error status, and
make it fail as a result (currently it just assumes that any response is
fine, which can change in case of a captcha failure). Then, add a
captcha challenge if one is found, otherwise ignore.
2011-05-31 17:36:51 -04:00
Robby Findler
b43e956c7b
Redex: added to-lw/stx
...
plus improved the redex docs slightly and Rackety
2011-05-30 21:33:55 -05:00
Matthew Flatt
fbbb30f7b0
try to clarify intent of #:contracts' in
defform'
2011-05-30 08:58:11 -06:00
Matthew Flatt
a7ae3b807e
fix docs for `multi-in'
...
because the previous documentation didn't actually define the form;
the examples were good, but epecting a reader to infer meaning
from examples wasn't good enough. The use of a `module-path?' contract
in the old docs wasn't appropriate; contracts apply to values, while
grammar productions should be used to document syntax constraints.
Also, `module-path?' was too permissive (only literal strings and
identifiers are actually allowed), while the actual syntax allows
either a single path or a sequence.
2011-05-30 08:49:46 -06:00
Matthew Flatt
bbfeb85440
mak argument to `make-immutable-hash' optional
2011-05-30 07:38:57 -06:00
Matthew Flatt
f3e1cf10aa
change `hash-count' to take the lock; fix docs
2011-05-30 07:38:57 -06:00
Eli Barzilay
9e9ad2fe38
Improve the generation of bug form fields; add a captcha file for future
...
use if it becomes necessary.
2011-05-30 05:00:16 -04:00
Robby Findler
060b4e9b32
deinprogramm: tweak files to make scribble happy
2011-05-28 09:02:53 -05:00
Mike Sperber
a94287a076
Document lambda' and
define' for DMdA/assignments.
2011-05-28 15:10:01 +02:00
Mike Sperber
c3d4e39630
Add DMdA teachpacks to documentation check.
...
Also, exclude obsolete DMdA exports from check.
2011-05-28 12:31:20 +02:00
Mike Sperber
a52e59a61b
Add alpha-rgb-color contract to teachpack/deinprogramm/image.
2011-05-28 12:31:05 +02:00
Mike Sperber
f2f2784ae7
Add missing documentation for DMdA teachpacks.
2011-05-28 12:29:08 +02:00
Mike Sperber
24961f750c
Fix predicate signatures in DMdA.
...
Use any -> boolean instead of %a -> boolean.
2011-05-28 12:10:51 +02:00
Eli Barzilay
8ef1d1a547
Minor tweak: use full 6 hex digits for all colors to avoid IE bogosity.
2011-05-27 18:41:45 -04:00
Eli Barzilay
7ae13761ce
Protect against accidental second use of `set-news-flashes!'.
2011-05-27 18:32:58 -04:00
Eli Barzilay
13b2adc18c
Switch the license text from LGPLv2 to LGPLv2.1.
...
This makes it correspond to the license page we have on downloads that
talks about the "lesser" GPL rather than the "library" one.
Also, change the file name to have a more friendly .txt suffix, and add
some more responsible properties for things in doc/release-notes.
2011-05-27 18:09:55 -04:00
Eli Barzilay
35f2accaf8
Make it possible for the pages to build even when there's no tag to
...
extract release information from.
(So it's still useful for quick tests.)
2011-05-27 17:53:45 -04:00
Eli Barzilay
c8c7898093
Add release notes pages.
...
Also get rid of the defunct "chronology" link at the bottom of the
community page. It was a very old (pre-svn/git) leftover from a time
where that was relevant for people who want to participate.
2011-05-27 17:24:29 -04:00
Robby Findler
62d758ca56
sriblib/autobib: added a keyword argument to generate-bibliography to control the name of the section
2011-05-27 07:32:20 -05:00
Eli Barzilay
ad6d703225
Forgot to add the git extraction code.
2011-05-27 04:28:30 -04:00
Eli Barzilay
56820287ac
Extract tag information from a git repo instead of manually specified
...
version/date pairs.
Also switch to using `release' structs instead of version strings.
2011-05-27 03:53:14 -04:00
Eli Barzilay
7fcbb2eb96
Fix subtle spacing issue below the short code sample section.
2011-05-27 03:53:13 -04:00
Eli Barzilay
b148010cf2
Fold in the old versions/dates into the old techreports, freeing
...
download/data.rkt to pull information from the git repo.
2011-05-27 03:53:13 -04:00
Eli Barzilay
8bacaebd49
"Complicate" the captcha.
2011-05-27 03:53:13 -04:00
Eli Barzilay
220e0f6d5e
Improve code layout in code.rkt, move `pre' out of there.
...
Also improve the news-flash thing a little.
2011-05-27 03:53:13 -04:00
Eli Barzilay
15938fa6c2
Move all the old stuff into a separate file.
...
(This way maybe it'll be harder to bogusly start "improving" it, yet again...)
2011-05-27 03:53:13 -04:00
Eli Barzilay
28bdce5349
Shorten link names at the bottom of download pages.
2011-05-27 03:53:13 -04:00
Eli Barzilay
571b1c3d12
Switch news-flash from a box to a setter hook, some misc style.
2011-05-27 03:53:13 -04:00
John Clements
10cb0e61e2
oops, no match available here
2011-05-26 17:46:05 -07:00
John Clements
53cfbd27c1
fix to string to fulfill contract on empty input
2011-05-26 14:50:35 -07:00
Vincent St-Amour
2c470ee82a
Tests for multi-in.
2011-05-26 13:53:31 -04:00
Vincent St-Amour
48b5725b2e
Document extension to multi-in.
2011-05-26 11:56:31 -04:00
Vincent St-Amour
3210aa6014
Extend multi-in to deal with more general trees.
2011-05-26 11:56:31 -04:00
Vincent St-Amour
c3da0babb7
sub-in -> multi-in
2011-05-26 11:56:31 -04:00
Matthew Flatt
c0811dc220
cocoa: fix get-y' in
frame%'
2011-05-26 07:29:09 -06:00
Asumu Takikawa
f4aab53efa
Added option/c for possibly #f values in unstable.
2011-05-26 00:37:06 -04:00
Asumu Takikawa
7f143f03ed
Add impersonator-contract? along with docs/tests.
...
The impersonator-contract? function checks if its argument is
a contract that is neither flat nor a chaperone contract.
2011-05-26 00:37:05 -04:00
Asumu Takikawa
78689098eb
Fix docs on editor-snip% init arg
2011-05-25 23:39:38 -04:00
Asumu Takikawa
9922062c2d
Make guibuilder preview work and Racketize
2011-05-25 23:39:37 -04:00
Asumu Takikawa
3e3e7362ef
Fix bug in toolbar class in guibuilder
2011-05-25 23:39:37 -04:00
Robby Findler
d74810a08b
fix broken earlier commit
2011-05-25 14:57:04 -05:00
Matthias Felleisen
e3c552b785
boolean-valued functions in Intermediate and up now check their results; also fixed some error messages; Closes PR 11745
2011-05-25 14:05:45 -04:00
Robby Findler
33e68022db
make the two-argument version of redex-match use the right name for the procedure it returns
2011-05-25 12:45:06 -05:00
Tony Garnock-Jones
c888222fb6
Property accessors are now able to accept 1 or 2 arguments
2011-05-25 10:47:59 -04:00
Matthew Flatt
c54355482f
fix GUI builder due to `pasteboard%' change way back
...
- the `insert' method of `pasteboard%' was always
documented as inserting to the back by default, but the
old C++ implementation actually inserted at the front for
one of the overloadings; keeping the releatively new
behavior supports more recent code at the expense of old
code, and this commit is for old code
2011-05-25 07:32:48 -06:00
Matthew Flatt
909aaddf3d
protect against nested snip deletes in `pasteboard%'
2011-05-25 07:32:47 -06:00
Matthew Flatt
e7d2cb73d9
doc formatting fixes
2011-05-25 07:32:47 -06:00
Jay McCarthy
d4417fab46
Adding a few index entries
2011-05-25 06:33:04 -06:00
Matthew Flatt
8f0921a9bd
add shortcut to expand R6RS letrec' of procedures to Racket
letrec'
2011-05-25 03:10:13 -06:00
Vincent St-Amour
c7d2f13dd0
Preserve source location in the optimizer.
2011-05-24 16:53:53 -04:00
Vincent St-Amour
5352593bf1
Have TR optimize at the REPL.
2011-05-24 16:53:53 -04:00
Vincent St-Amour
2cddccfe7e
Improve docs for sub-in.
2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
7615c2a512
Implementation, documentation and tests for adding a failure-result to property accessor procedures.
2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
9ce0f9d29e
Minor cleanup of documentation for make-impersonator-property.
2011-05-24 16:53:52 -04:00
Matthew Flatt
5c5e6039df
gtk: fix self X-selection handling
2011-05-24 13:22:01 -06:00
Matthew Flatt
f46edbe1ff
fix doc typo
2011-05-24 12:58:53 -06:00
Matthew Flatt
cc647f0ab9
use container sequence to avoid resize flicker for `text-field%'
2011-05-24 12:58:53 -06:00
John Clements
dcb5e896dd
added raise-type-error to date->string, also test case
2011-05-24 10:24:31 -07:00
Casey Klein
e8e2898359
Fixes rendering of relations with `name' patterns
2011-05-24 11:58:54 -05:00
Vincent St-Amour
5e87097854
Document the sub-in require syntax.
2011-05-24 12:40:16 -04:00
Vincent St-Amour
011d43b688
Add require syntax for multiple files in the same directory/collect.
2011-05-24 12:40:09 -04:00
Vincent St-Amour
c5973bea99
Add note about modules vs REPL in performance docs.
2011-05-24 10:57:47 -04:00
Vincent St-Amour
fcf766c905
Prune dead code from Honu.
...
Approved by Jon Rafkind.
2011-05-24 10:57:31 -04:00
Matthew Flatt
00e17ab51f
adjust Guide to warn about performance measurement in DrRacket
2011-05-24 08:02:09 -06:00
Matthew Flatt
22702a70bd
typo
2011-05-24 06:28:54 -06:00
Matthew Flatt
23777f291c
avoid flock() under Solaris
2011-05-24 06:18:40 -06:00
Eli Barzilay
31009166d7
Make it possible to hook up a "newsflash" below the left blurb.
2011-05-23 14:05:13 -04:00
Eli Barzilay
7f6733b617
Go down boxes too.
2011-05-23 14:05:13 -04:00
Vincent St-Amour
7b0f64de72
Don't run TR integration tests during nightly builds.
2011-05-23 13:58:28 -04:00
Stephen Chang
b4ab1bb093
fix bug in lazy stepper handling of cyclic lists
2011-05-22 01:54:46 -04:00
Jay McCarthy
291ee08736
Adding scriblib/bibtex.
2011-05-21 10:10:05 -06:00
Jay McCarthy
0332a09d10
First pass
2011-05-21 10:10:05 -06:00
Jay McCarthy
dc639df1da
Parsing
2011-05-21 10:10:04 -06:00
Jay McCarthy
12f5994191
Parsing
2011-05-21 10:10:04 -06:00
Jay McCarthy
996a0366f8
Parsing
2011-05-21 10:10:04 -06:00
Jay McCarthy
eb55bc9a86
Progress
2011-05-21 10:10:04 -06:00
Jay McCarthy
5fd6f0663e
Worked too long on this today
2011-05-21 10:10:04 -06:00
Jay McCarthy
e8d3ce3f3f
Initial bibtex fakery
2011-05-21 10:10:03 -06:00
Robby Findler
040bd371b6
adjust the lw construction in Redex so that it uses the width of the
...
"canonical" way to write symbols, instead of the way they are displayed.
This makes a difference for symbols that have spaces in them or symbols
that, when displayed, look like numbers or other non-symbol things.
2011-05-20 21:52:09 -05:00
Robby Findler
ce3e46b71a
fix a bug in the planet packaging code that could result in the documentation not being included
2011-05-20 10:13:45 -05:00
Eli Barzilay
f4b9b785b7
Change htdp' to a package to include
doc/htdp'.
2011-05-20 04:49:09 -04:00
Matthew Flatt
4b9d88cc1d
fix `sequence->stream'
...
Closes PR 11932
2011-05-19 15:59:08 -07:00
Robby Findler
6bc43306ca
fix two format string mixup bugs (one in planet and one in the racket/cmdline library)
2011-05-19 17:52:09 -05:00
Matthew Flatt
7060fa5b75
fix problems with `letrec' splitting and constant procedures
2011-05-19 15:15:01 -07:00
Kevin Tew
518f20142c
11930 bug fix: added missing scheme_seal_parameters call
2011-05-19 11:48:23 -06:00
Matthew Flatt
b44f217cdd
fix 'exact-chars Latex rendering for `multiarg-element'
2011-05-19 06:36:54 -07:00
Matthew Flatt
b6445880e2
add pre-multiplied mode for `{get,set}-argb-pixels'
2011-05-18 16:01:33 -07:00
Vincent St-Amour
006d5ef45a
Typo.
2011-05-18 17:09:45 -04:00
Vincent St-Amour
3b036388d6
Remove trailing whitespace.
2011-05-18 17:09:45 -04:00
Vincent St-Amour
a1fab6ec06
Give more meaningful names to conditional contract forms.
2011-05-18 17:09:45 -04:00
Vincent St-Amour
027947eef2
Use more descriptive variable names.
2011-05-18 17:09:45 -04:00
Vincent St-Amour
c02071b262
Reduce the number of hygiene violations in rep-utils.rkt.
...
Beginning of an attempt to make that file comprehensible.
2011-05-18 17:09:44 -04:00
Robby Findler
91f5fbcd88
added a test case for PR 11930
2011-05-18 10:05:39 -05:00
Matthew Flatt
905eb11651
fix alpha-only mode of `get-argb-pixels'
...
Closes PR 11927
2011-05-17 16:00:36 -07:00
Vincent St-Amour
b65054134a
Fix TR documentation to use the new location of base env files.
2011-05-17 18:30:54 -04:00
Vincent St-Amour
bc4a7df94d
Better solution to the toplevel printing bug.
2011-05-17 18:30:53 -04:00
Eric Dobson
9a65545814
Path manipulation now works with SomeSystemPath correctly.
2011-05-17 18:03:48 -04:00
Eric Dobson
05af2b9e17
Split Path type into Path and OtherSystemPath.
2011-05-17 18:03:48 -04:00
Vincent St-Amour
8f6d3c7920
Avoid printing results of tests when eliminating if branches at the toplevel.
...
Closes PR 11928.
2011-05-17 17:47:21 -04:00
Vincent St-Amour
1ed0e84791
Move base environment files to their own subdirectory.
2011-05-17 15:16:18 -04:00
Jay McCarthy
7a8278ab2c
Fixes pr11915, but alpha seems to need two Ctrl-Cs before it starts animating, not sure why
2011-05-17 11:52:15 -06:00
Robby Findler
df6be6e7f1
Adjust the menubar sizing code to explicitly take
...
into account the size of the dummy menu item that
was added.
related to PR 11926
related to PR 11893
related to PR 11623
related to PR 11917
2011-05-17 11:02:26 -05:00
Asumu Takikawa
47db06ac6f
round -> ceiling in paint-by-numbers
2011-05-16 21:12:17 -04:00
Robby Findler
4d4a94a38a
removed EoPL from the language dialog (and adjust the docs a little
...
to suggest using the #lang variant)
2011-05-16 16:49:02 -05:00
Sam Tobin-Hochstadt
c2291e049d
Add types for some of `syntax/stx'
...
Add hacked types for `with-syntax' internals.
2011-05-16 14:55:17 -04:00
Sam Tobin-Hochstadt
744d1921d8
Remove duplicate definitions; reprovide from `racket/private/stx' instead.
2011-05-16 14:55:17 -04:00
Sam Tobin-Hochstadt
18e83f2f3b
Fix result contract of `stx->list'.
2011-05-16 14:55:17 -04:00
Vincent St-Amour
bdf1073f17
Fix optimizer expected log format.
...
Optimizer log format was changed on a different branch, and this test
was written using that new format, which is not recognized on current
master.
2011-05-16 14:23:24 -04:00
Vincent St-Amour
4cd0ad4b1a
Coerce reals in float expressions when valid.
2011-05-16 11:44:35 -04:00
Vincent St-Amour
e64ba228e8
Have the TR test harness skip emacs unsaved file backups.
2011-05-16 11:44:35 -04:00
Robby Findler
71770ee285
one more collection-path => collection-file-path in scribble
2011-05-16 06:51:25 -05:00
Sam Tobin-Hochstadt
e92af62ca0
Add contract generation for Set type.
2011-05-15 22:53:20 -04:00
Robby Findler
7b3039d22d
an attempt to fix the 'toolbar buttons are wrong on initialization' bug in drracket
2011-05-15 21:48:21 -05:00
Matthew Flatt
66178570b6
scribble: add support for setting a document date
...
in Latex output, and also document and generalize
the 'pretitle paragraph style
2011-05-15 19:42:22 -06:00
Matthew Flatt
479e8cdc27
fix arity errors detected by optimizer
2011-05-15 19:42:22 -06:00
Robby Findler
a82ae17ca8
adjust the htdp teachpack docs to use the #:use-sources keyword to demonstrate how it works
2011-05-14 20:47:38 -05:00
Matthias Felleisen
7c546d3b7c
basic docs for htdp collection
2011-05-14 13:58:18 -04:00
Matthias Felleisen
490c38ee25
documentation for old teachpacks, stubs for error module, redirect for Kathy's testing module; fixes for redirects
2011-05-14 13:58:17 -04:00
Matthew Flatt
94e8419a2e
fix "#lang r6rs" docs to point back to how-to-use-R6RS sections
2011-05-14 08:05:56 -06:00
Matthew Flatt
2e367626b5
win32: fix pango font-map finalization
2011-05-13 14:06:54 -06:00
Matthew Flatt
450c66d308
fix MysterX for places
2011-05-13 14:06:53 -06:00
Matthew Flatt
343568fd84
fix return type of scheme_get_place_table()
2011-05-13 14:06:52 -06:00
Matthew Flatt
a613e81fcd
change protocol for extensions with places
...
- extension gets scheme_initialize() per-place
- simplify allocation and fix locking for scheme_new_type()
- better Inside docs on places
2011-05-13 14:06:51 -06:00
Matthias Felleisen
84cb649b87
removed pair? from language primitives so that HTDP works; Closes PR 10148
2011-05-13 12:55:45 -04:00
Matthias Felleisen
02512706b1
supply missing documentation
2011-05-13 12:55:44 -04:00
Matthias Felleisen
df05a41ebd
turn into reasonable performance test
2011-05-13 12:55:44 -04:00
Matthew Flatt
49aadc599a
ffi: add `#:in-original-place?' to deal with thread-unsafe libs
...
and use it for Pango, which is not thread-safe at the C level
2011-05-13 08:55:04 -06:00
Matthew Flatt
c5816ab6f9
fix doc typo
2011-05-13 08:55:03 -06:00
Robby Findler
0a0445692b
fix search path problem in scribble
2011-05-13 09:05:25 -05:00
Eli Barzilay
387b6c51dd
Added Mac OS X build for x86_64.
...
(Thanks to Stephen De Gabrielle <stephen.degabrielle at acm dot org>.)
2011-05-12 20:09:39 -04:00
Stephen Bloch
7597d2c2c6
Fixed a typo that crashed the nightly build :-(
2011-05-12 13:10:22 -04:00
Kevin Tew
c9c02f3fb0
duplicate and cycle detection for places_deserialize_worker
2011-05-12 08:28:47 -06:00
Stephen Bloch
79778e0a1e
Added some illegal-argument tests to map-image.rkt.
...
Added test cases for these to map-image-bsl-tests.rkt.
Modified an error message from colorize, and its test cases.
Added map-image/extra and build-image/extra functions.
2011-05-12 00:51:02 -04:00
Robby Findler
1db3ae3476
fixed up printing ~s vs ~a in contract system and made the contract tests run in drdr
2011-05-11 21:20:04 -05:00
Robby Findler
c163e75023
make the generated name used for languages (introduced by define-language
...
and define-extended-language) be based on the name of the language so the
error message is better (but not as good as it should be)
2011-05-11 18:38:10 -05:00
Ryan Culpepper
761a4025ca
fix warnings
2011-05-11 15:56:24 -06:00
Ryan Culpepper
56bb28dfc6
unstable/syntax: added explode-module-path-index
2011-05-11 15:56:24 -06:00
Ryan Culpepper
dc0138bcb7
minor doc fix (optional args last)
2011-05-11 15:56:24 -06:00
Matthew Flatt
8492f7c90b
fix symbol handling in long-message transfer
...
as well as stack-overflow handling
2011-05-11 15:04:59 -06:00
Kevin Tew
2bc97ccf59
setup: change made to making
...
Much easier a change than I was imagining.
2011-05-11 12:14:36 -06:00
Eli Barzilay
7918d921ee
Fix documentation for `cycle'.
...
Closes PR 11040.
2011-05-11 13:54:18 -04:00
Jon Rafkind
3b73fa1462
lower -> faster
2011-05-10 21:56:13 -06:00
Matthew Flatt
4671b5f2ba
fix `scribble/lncs' docs
2011-05-10 20:34:28 -06:00
Matthew Flatt
515a4f7991
cocoa: fix problems using menu-bar height
2011-05-10 20:17:47 -06:00
Ryan Culpepper
b45b111960
rackunit: don't assume raised value is exn
...
Closes PR 11632
2011-05-10 18:17:21 -06:00
Ryan Culpepper
f6b73f01e1
rackunit: drop redundant 'params info, use error-display-handler
...
Closes PR 11618
2011-05-10 18:17:21 -06:00
Jon Rafkind
c11a177009
add notes about using racket/base instead of racket. closes pr 10992
2011-05-10 18:18:00 -06:00
Robby Findler
1b838cf85a
add c:x;t as a keybinding for the latex shortcuts
...
closes PR 11871
2011-05-10 15:34:47 -05:00
Robby Findler
a1217107b2
added the scribble/lncs language
2011-05-10 14:10:28 -05:00
Robby Findler
c5f8add9ea
avoid eval-compile-time-part-of-top-level when in the module language
...
Thanks to Ryan for spotting this call!
Closes PR 11908
2011-05-10 14:10:28 -05:00
Matthew Flatt
0011f5957d
fix rotation problems and sense of `transform'-like operations
...
so that they conceptually apply after the current
transformation, instead of before the current transformation;
more general rotation problems were related to aligned drawing
and the calculation of the effective scale for alignment
2011-05-10 09:53:49 -06:00
Matthew Flatt
dc7e8ef379
slideshow: improve viewer inset handling
2011-05-10 09:53:49 -06:00
Matthew Flatt
2e93e0ec14
cocoa: fix frame coordinate system by using initial menu-bar height
2011-05-10 09:53:48 -06:00
Kevin Tew
94d92092a5
deep copy stack overflow check
2011-05-10 06:37:39 -06:00
Matthias Felleisen
b74c9f9df3
ensure that dimensions of canvas are below 2000 by 2000; closes PR 11907
2011-05-09 17:59:23 -04:00
Robby Findler
0e58a37105
fixed up a test (that I hadn't meant to push the last time, sigh)
2011-05-09 15:34:01 -05:00
Matthew Flatt
ca16f25cf1
fix in-list' to check argument with
list?'
...
--- originally left out on purpose for performance reasons,
but it was not documented as missing a test, it's obviously
better to check for a list, and JIT changes have made
the `list?' test inexpensive
2011-05-09 14:27:45 -06:00
Matthew Flatt
8ad8d5b7f7
fix tl-map parse & marshal
2011-05-09 12:24:05 -06:00
Matthew Flatt
a4da2a3f4c
fix varref' in
compiler/zo-structs', etc.
...
and sync docs better with implementation
2011-05-09 09:43:32 -06:00
Robby Findler
553d9ff4c6
made set/c preserve flat-contract'ness of its argument
2011-05-09 08:49:12 -05:00
Robby Findler
e41deb5cf6
more help collection documentation
2011-05-09 08:49:11 -05:00
Robby Findler
b6fc13b9eb
a start on the help docs
2011-05-09 08:49:11 -05:00
Robby Findler
f60f23496d
added a drracket test
2011-05-08 22:30:24 -05:00
Robby Findler
e88f86efe4
a start on the scribble/lncs language
2011-05-08 22:19:46 -05:00
Matthew Flatt
db75dddf87
fix decompiler's listing of captured top- and module-level variables
2011-05-08 17:01:23 -06:00
Matthew Flatt
02c2c173f2
Prevent #\uFFFF and #\uFFFE from being passed through to Pango
...
Closes PR 11904
2011-05-08 17:01:23 -06:00
Sam Tobin-Hochstadt
27aa3f7556
Add type for `error-display-handler'
2011-05-08 15:36:48 -04:00
Sam Tobin-Hochstadt
2f3e9fc655
Add types for `in-hash' etc.
2011-05-08 15:36:48 -04:00
Matthew Flatt
153d23ecf0
adjust sandbox memory-limit test timeout
2011-05-08 06:26:04 -06:00
Casey Klein
cafcb47549
Refactored reduction-relation-procs
2011-05-08 06:19:45 -05:00
Casey Klein
dd58b457a9
Fixes domain checking of unioned reduction relations
2011-05-08 05:04:16 -05:00
Robby Findler
33c848fcda
added current-cache-all?, a parameter that controls the caching strategy
...
that apply-reduction-relation* (and thus test-->>) uses
also make apply-reduction-relation* call remove-duplicates
on the result of apply-reduction-relation
2011-05-07 20:06:38 -05:00
Robby Findler
70b0eb8ac9
make raco setup call raise-user-error instead of error when reporting malformed command-line collection paths
2011-05-06 17:29:06 -05:00
Robby Findler
2fe1c3b80d
document the help collection's top-level modules
2011-05-06 17:29:03 -05:00
Eli Barzilay
8ce2ec7580
Fix permissions on Windows.
...
The windows 7 build generated some weird permission issues: the toplevel
directory had a 000 permission as well as all *.exe files. Looks like
it is due to how cygwin translates the permissions of the C:\ drive. A
way to get around this is to have a build directory with pre-set
permissions that cygwin likes, then have the build directory in it.
(This hack might be needed for the other build machine too at some point
in the future.)
Also add /c/Windows/system32 to the PATH, otherwise MS batch files fail
(with obscure errors).
2011-05-06 14:46:39 -04:00
Eric Dobson
e9683e1dd2
Changed early failure in subtyping to all non-struct values, not just null. Closes PR 11887.
2011-05-06 11:39:01 -04:00
Matthew Flatt
e9721058fb
reorgnize datatypes of less common bytecode forms
...
removing a layer of indirection, and setting up
for an internal reorganization of the compiler code
2011-05-06 06:56:23 -06:00
Sam Tobin-Hochstadt
af56616fc8
Require numeric-predicates at the correct phase.
...
Closes PR 11897.
2011-05-05 19:04:38 -04:00
Sam Tobin-Hochstadt
507db7e5a6
Include extra-procs in the #:use-sources.
2011-05-05 19:04:38 -04:00
Vincent St-Amour
d7fd2b2e3f
Add extra early failure cases to subtype* to avoid inference failures.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
4b03ecde2a
Integrate the TR and TR optimizer test suites.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
4ea9b29d12
Remove redundant checks from TR's optimizer tests.
...
Checking that the optimized and non-optimized versions return the same
results is unnecessary. Optimization logs, which are checked against
an expected log, already contain the results.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
7b6edb452f
Rewrite the optimizer test suite to use rackunit.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
fa016ea576
Keep running TR tests even if optimizer tests fail.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
850d4d325d
Don't display name of non-test files.
2011-05-05 18:54:12 -04:00
Eli Barzilay
b4b490b724
Win64 build should be working now
2011-05-05 18:30:03 -04:00
Robby Findler
507b1cd8fd
moved the docs-complete library into rackunit
...
to avoid having a separate, new manual for the
one library
2011-05-05 16:10:42 -05:00
Ryan Culpepper
abb8f63036
syntax/parse: made link to pattern-directive docs more prominent, indexed
...
Closes PR 11882
2011-05-05 02:17:54 -06:00
Ryan Culpepper
d9f05a61a3
syntax/parse: better error message for unbound literals
2011-05-05 02:17:54 -06:00
Robby Findler
d40b43c0a9
make the deinprogramm documentation drdr messages be accurate
...
(that is, I think that the complaints coming from the
tests\deinprogramm\test-docs-complete.rkt message are
now pointing out things for which there is actually no
documentation, instead of pointing out the need for
different declare-exporting declarations)
2011-05-04 18:54:28 -05:00
Robby Findler
d3c04ae701
Adjusted docs-complete to print a different message when there are no docs at all
...
and ... ummm... documented docs-complete
2011-05-04 18:54:25 -05:00
Robby Findler
0415bf6b7f
make (many of) the rackunit examples executable
...
and fix a buggy example
closes PR 11894
2011-05-04 14:02:45 -05:00
Matthew Flatt
34b8dc249e
fix documented contracts for path functions
...
and make `cleanse-path' work for any platform's paths
while fixing `resolve-path' checking to disallow paths
for other platforms
Closes PR 11891
2011-05-04 11:40:01 -06:00
Matthew Flatt
5e7d1f2d9c
fix get-char-width' and
get-char-height' in case font match fails
2011-05-04 11:09:12 -06:00
Casey Klein
4b03ddccb1
Fixes Redex stepper's handling of symbols quoted with ||
2011-05-04 10:34:01 -05:00
Casey Klein
3187cac716
Updates to lam's new toplevel-map field
2011-05-03 17:59:52 -05:00
Eric Dobson
f3c73a197e
Changed Paths to PathStrings in types where appropriate
2011-05-03 18:20:31 -04:00
Eric Dobson
44f377bcd4
Correctly instantiate poly-dotted functions with zero arguments.
...
Closes PR 11776. Closes PR 11545.
2011-05-03 18:20:31 -04:00
Eli Barzilay
8313c072ae
Work around potential module caching problem.
2011-05-03 18:20:10 -04:00
Eli Barzilay
68cd96ac1a
Added two x86_64 debian builds
...
(Thanks to Mason Loring Bliss <mason at blisses dot org>.)
2011-05-03 18:20:10 -04:00
Eli Barzilay
be6bc96fc8
Use $SETUP_ARGS in the PDF build too.
2011-05-03 18:20:10 -04:00
Eli Barzilay
1f2b072a7b
added robby to the collects/net part, and robby+mflatt to the tests
2011-05-03 18:20:09 -04:00
Eli Barzilay
8b48802440
Improved code for `form-urlencoded->alist', should be faster too.
2011-05-03 18:20:09 -04:00
Matthew Flatt
76484e9ead
fix docs
...
Closes PR 11888
2011-05-03 14:43:27 -06:00
Matthew Flatt
87a4132b40
fix zo-marshal' for #f toplevel-map in
lam'
2011-05-03 14:43:27 -06:00
Kevin Tew
811154cb08
Indent fix
2011-05-03 14:40:02 -06:00
Kevin Tew
46dc051931
Turn places build back on, provide place-break.
2011-05-03 14:01:30 -06:00
Matthew Flatt
3bf438f580
rewrite `ffi-lib' docs with better guidance on versions
2011-05-03 13:16:21 -06:00
Matthew Flatt
4a41196dc2
win32: work around Pango(?) bug in freeing font maps
2011-05-03 10:23:35 -06:00
Matthew Flatt
6f1aa7bc00
adjust Redex example after bytecode-structure change
2011-05-03 08:53:49 -06:00
Matthew Flatt
2ada6d0e89
break link to namespaces from from closures over top-/module-level vars
...
- the `lam' structure from `compiler/zo-struct' changed to include a
`toplevel-map' field
This change helps solve a finalization problem in `racket/draw',
which in turn sigificantly reduces the peak memory use of `raco setup'
during the doc-building phase (because some documents load `racket/draw'
to render images, and multiple copies of `racket/draw' were retained
before finalization was fixed).
The change is an extreme way to solve a specific finalization
problem, but it's a kind of space-safety improvement; space safety
almost never matters, but when it does, then working around a lack of
space safety is practically impossible. In this case, it's not clear
how to otherwise solve the `racket/draw' finalization problem.
The improvement doesn't change the representation of closures, but it
requires special cooperation with the GC. All closures in a module
continue to share the same array of globals (plus syntax objects);
that is, instead of completely flat closures, Racket uses a two-level
environment where top-/module-level variables are grouped
together. The code half of a closure now records which
top-/module-level variables the body code actually uses, and the mark
phase of GC consults this information to retain only parts of the
top-/module-level environment frame that are actually used by some
closure (or all of the frame if it is accessible through some other
route). In other words, the GC supports a kind of "dependent
reference" to an array that is indexed by positions into the array
--- except that the code is more in the "Racket" directory instead of
the "GC" directory, since it's so specific to the closure
representation.
2011-05-03 06:57:49 -06:00
Matthew Flatt
1b14c6a38e
fix mistakes uncovered by optimizer warnings
2011-05-03 06:57:48 -06:00
Sam Tobin-Hochstadt
045fd7a77c
Document utility predicates.
2011-05-03 08:15:37 -04:00
Eric Dobson
613e121783
Struct types now generate flat contracts when appropriate.
...
Closes PR 11686.
2011-05-03 08:15:37 -04:00
Ryan Culpepper
1bf95392d2
syntax/parse: added litset extension
2011-05-03 01:25:41 -06:00
Ryan Culpepper
e5e12ab01a
syntax/parse: added define-syntax-class/specialize
2011-05-02 21:02:11 -06:00
Ryan Culpepper
0a048b67bb
syntax/parse: refactored some parsing/checking code
2011-05-02 20:28:51 -06:00
Casey Klein
fd401ce98e
Adds docs test to the test script
2011-05-02 06:02:50 -05:00
Casey Klein
b592017d05
Documents or deletes all Redex exports
2011-05-02 06:02:50 -05:00
Casey Klein
4e68a5019f
Moved rewriters documentation into typesetting section
2011-05-02 06:02:49 -05:00
Casey Klein
775d31d04a
Sets up the right modpaths for Redex exports
2011-05-02 06:02:49 -05:00
Robby Findler
2230605301
add a #:use-sources keyword to deinprogramm docs to get scribble to know about more of the docs
2011-05-02 05:52:59 -05:00
Robby Findler
bc9c44a5af
graphics/turtles: fixed up for an 'xor-less world
...
(and generally brought this code into the current millenium)
2011-05-01 18:27:40 -05:00
Robby Findler
2bba4e101f
fixed up the graphics/ collection's docs
2011-05-01 16:57:10 -05:00
Robby Findler
d6ef130fd2
cleaned up framework docs
2011-05-01 14:16:04 -05:00
Robby Findler
551c6866d1
add in the supported ->i forms
2011-05-01 14:15:57 -05:00
Mike Sperber
d582dd55dd
Fix bug in vector signatures.
2011-05-01 11:18:10 +02:00
Robby Findler
c8d476c76e
adjust scribble's racketblock renderer so that #true and #false
...
don't turn into #t and #f.
2011-04-30 20:35:16 -05:00
Carl Eastlund
4990029922
Added documentation for define-renaming.
2011-04-30 20:06:59 -04:00
Carl Eastlund
723d389d59
Singular version of define-renamings.
2011-04-30 20:06:59 -04:00
Carl Eastlund
01f1add1cb
Made define-syntax-block less restrictive about source of bindings.
2011-04-30 20:06:59 -04:00
Sam Tobin-Hochstadt
31aa47f136
Fix a couple typos found by mflatt and the optimzer.
2011-04-30 19:49:00 -04:00
Sam Tobin-Hochstadt
db5d59a217
new version of sigplanconf.cls
2011-04-30 19:48:59 -04:00
Jay McCarthy
8708268992
Fixing problems with %is discovered by Casey
2011-04-30 12:02:41 -06:00
Eli Barzilay
1f7ac35d8e
v5.1.1 stuff
2011-04-30 02:57:12 -04:00
Robby Findler
a22d370818
fix copy and paste bug (and re-indent a mis-indented line)
2011-04-29 21:11:23 -05:00
Asumu Takikawa
7eb26c5d26
Added test for get-pos/text method result.
2011-04-29 18:56:36 -04:00
Vincent St-Amour
4d24cbee60
Promote more literals at compile-time.
2011-04-29 17:16:39 -04:00
Vincent St-Amour
d9451ef4ab
Run optimizer tests in a throw-away namespace to reduce memory usage.
2011-04-29 15:28:30 -04:00
Vincent St-Amour
32a8da58cb
More indentation of TR keywords.
2011-04-29 15:28:30 -04:00
Asumu Takikawa
8ea0e5916d
Fix horizontal-panel-mixin to use correct interface.
2011-04-29 14:11:22 -04:00
Asumu Takikawa
4b575c315b
Fixed inconsistent return values for get-pos/text.
2011-04-29 14:11:21 -04:00
Sam Tobin-Hochstadt
551ad63f4e
Document many more numeric types, and fix documentation for `typed/scheme' etc.
2011-04-29 13:27:38 -04:00
Sam Tobin-Hochstadt
e8f07c1dc3
Add more examples for remove',
remq', `remv'.
2011-04-29 13:27:38 -04:00