Eric Dobson
a14723f27a
Make vector-immutable work like vector. Closes PR 11535.
2011-06-27 11:35:48 -04:00
Mike Sperber
0648d3ceb4
Synch German string constants with latest.
2011-06-26 20:02:39 +02:00
Robby Findler
f93ff4de26
added get-pos/text-dc-location method to editor:basic in framework
2011-06-26 15:49:55 +08:00
Jay McCarthy
b333ed92fd
Scary warning text
2011-06-25 12:14:30 -06:00
Robby Findler
da9d4dce32
add some string constants to be used by check syntax
2011-06-25 16:39:29 +08:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Sam Tobin-Hochstadt
f6be5447dd
Rename to follow TR naming conventions.
2011-06-24 20:20:53 -04:00
Eric Dobson
e4bb1ba7d9
Documented new types and minor corrections.
2011-06-24 20:10:37 -04:00
Eric Dobson
0f0b9ebc7a
TR: Added tests for new identifiers and export type names.
2011-06-24 20:10:37 -04:00
Eric Dobson
b88d85f79a
Added types for many miscellaneous operations.
...
Including Places, Wills, Semaphores, Psuedo-Random-Generators,
Byte-Converters, Loggers, Promises and Structure-Type-Properties.
2011-06-24 20:10:37 -04:00
Eric Dobson
41e23fee69
Add types for evaluation and compilation operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
8a67707353
Added types for security operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
20ed3b8096
Added types for subprocess operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
1a44a82868
Added types for dynamic module access operations.
2011-06-24 20:10:37 -04:00
Eric Dobson
78b68171ea
Added types for continuation prompt and mark operations.
2011-06-24 20:10:37 -04:00
Sam Tobin-Hochstadt
19a7a37033
Fix rackunit types to be Any', not
Void'.
2011-06-24 18:10:25 -04:00
Sam Tobin-Hochstadt
c658a5687e
Provide `with-handlers' from prims.rkt under its real name.
2011-06-24 18:10:25 -04:00
Eric Dobson
ce0f542028
Correctly recreate Scopes. Closes PR 10552. Closes PR 11532.
2011-06-24 16:46:43 -04:00
Jay McCarthy
6abeab42d5
Updating require paths, making tests succeed, and fixing docs
2011-06-24 13:48:41 -06:00
Jay McCarthy
375d6b8497
Initial adding of temporal contract library
2011-06-24 13:48:40 -06:00
Vincent St-Amour
5c77b19416
Fix remove-clickback.
2011-06-24 15:18:31 -04:00
Vincent St-Amour
62ad7846b9
Fix contract for update-type/lexical.
2011-06-24 15:18:31 -04:00
Kevin Tew
508388ed61
Remove define-place from racket/place
2011-06-24 11:12:37 -06:00
Eli Barzilay
a3c21be7f6
Avoid unintended pun.
2011-06-23 18:19:32 -04:00
Eric Dobson
d0d748c55a
Corrects types for typed/rackunit. Closes PR 11912.
...
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-06-23 12:19:56 -04:00
Danny Yoo
741361d413
adding example for exns
...
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-06-23 11:54:22 -04:00
Robby Findler
511d48fa5e
removed bogus methods from docs (leftovers from when the functionality was in a different place than it currently is (I think))
...
closes PR 11999
2011-06-23 22:35:18 +08:00
Eric Dobson
4241557543
Change Module-Path to be union type instead of a Base type. Closes PR 11963.
2011-06-23 10:05:36 -04:00
Eli Barzilay
3fad39b53a
Try to avoid weird race in windows installer packaging
2011-06-23 05:49:22 -04:00
Eli Barzilay
31c4afd4e9
Fix bogus username
2011-06-23 05:49:22 -04:00
Sam Tobin-Hochstadt
0df00e31d5
Add test for PR 10794.
2011-06-22 17:36:31 -04:00
Asumu Takikawa
122aed8970
Add negate (racket/function) to TR
2011-06-22 16:04:19 -04:00
Asumu Takikawa
cee2509476
TR test for racket/function
2011-06-22 16:04:19 -04:00
Asumu Takikawa
05a5c16231
Add identity (from racket/function) to TR
2011-06-22 16:04:19 -04:00
Asumu Takikawa
cbd0f31800
Fix another GUI typo
2011-06-22 16:04:19 -04:00
Eric Dobson
16ee3376f7
TR: Added more tests for recently typed identifiers.
2011-06-22 15:17:58 -04:00
Eric Dobson
c2a473cba2
Added tests for parameterizations and thread cells.
2011-06-22 15:17:57 -04:00
Eric Dobson
f5a7e73be8
TR: Added some syntax and set tests.
2011-06-22 15:17:57 -04:00
Eric Dobson
f5517367e5
Added tests for filesystem operations, and added public type names.
2011-06-22 15:17:57 -04:00
Eric Dobson
dedd42a9dd
Fixed and cleaned up some types.
2011-06-22 15:17:57 -04:00
Eric Dobson
7803aed77b
Added types for tcp and udp operations.
2011-06-22 15:17:57 -04:00
Eric Dobson
85b19e9fee
Added types for syntax operations.
2011-06-22 15:16:56 -04:00
Eric Dobson
ad247b28b6
Added types for environment and runtime operations.
2011-06-22 15:16:56 -04:00
Eric Dobson
ae26c2173d
Added types for file operations.
2011-06-22 15:16:55 -04:00
Eric Dobson
329b209f3b
TR: Many small type changes.
2011-06-22 15:16:55 -04:00
Eric Dobson
4f898865fd
Added types for namespace and variable reference operations.
2011-06-22 15:16:55 -04:00
Eric Dobson
7102c4dae2
Added types for hash and set operations.
2011-06-22 15:16:55 -04:00
Eric Dobson
469f0a5314
Added types for parameters and parameterization operations.
2011-06-22 15:16:55 -04:00
Eric Dobson
a913a1432d
TR: Added Thread Cells and corresponding operations
2011-06-22 15:16:55 -04:00
Eric Dobson
bdf0d13970
Added types for thread operations. Added Custodian type.
2011-06-22 15:16:55 -04:00
Vincent St-Amour
32d80f4c01
Remove duplicate require.
2011-06-22 14:43:42 -04:00
Vincent St-Amour
d946060a13
Fix type of = to only accept 2+ arguments.
2011-06-22 14:32:05 -04:00
Sam Tobin-Hochstadt
7b9cd61cb3
Fix requires/provides of `typed-scheme' language.
2011-06-22 14:28:53 -04:00
Sam Tobin-Hochstadt
9dde2a6d39
Document #% forms.
2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
d05d54db8e
Ignore undocumented exports that are from `racket'.
2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
2cdf05ad5c
Fix type-env-lang to handle require'/
provide' better.
2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
f195b3c689
Remove `SomeSystemPath'.
2011-06-22 14:28:51 -04:00
Sam Tobin-Hochstadt
00f9e6342f
Avoid providing renamed identifiers.
2011-06-22 12:40:51 -04:00
Matthias Felleisen
b00b2e318a
last world draw shouldn't restore old draw; Closes PR 11994
2011-06-22 10:53:14 -04:00
Matthew Flatt
52825c68a1
fix `codeblock' handling of spaces
...
for a chunk that also includes newlines
2011-06-22 07:49:15 -06:00
Matthew Flatt
3f95fabf7c
add --latex-section' mode to
scribble'
2011-06-22 07:49:15 -06:00
Sam Tobin-Hochstadt
9be4b16703
Rename SomeSystemPath to `Path-For-Some-System'
2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
d8c972734d
Fix missing documentation of alias forms.
2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
fbc76a3074
Support additional `provide'.
2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
2f274b7892
Include `typed-scheme' language in doc check.
2011-06-21 15:34:50 -04:00
Eric Dobson
0f6fde5003
Fixes TR regexp regression. Closes PR11991.
2011-06-21 15:34:50 -04:00
Jay McCarthy
39aea2e6c1
Clarifying function contracts for s/s/d callers
2011-06-21 13:32:12 -06:00
Matthew Flatt
73f6a2b392
document `scribble' command-line use
2011-06-21 06:45:44 -06:00
Robby Findler
78006b5720
redex: adjust the 'horizontal rule-pict-style so that it doesn't add space after the last rule
...
extend render-reduction-relation-rules so you can specify rule indicies instead of just
the names of the rules
2011-06-21 06:32:51 +08:00
Matthew Flatt
3daf61f605
dc clarification on `thread-suspend'
2011-06-20 14:46:14 -06:00
Matthew Flatt
b4e3e065ac
gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity
2011-06-20 14:46:14 -06:00
Eli Barzilay
8990177c75
Correction to the small correction
2011-06-20 16:45:33 -04:00
Eli Barzilay
f08ce64e07
Small correction
2011-06-20 15:41:57 -04:00
Matthew Flatt
da2b3f94fb
fix initial panel size
...
so that it doesn't force an enclosing frame to grow
2011-06-20 10:28:56 -06:00
Matthew Flatt
f3da5f7fd8
adjust and document net/url HTTPS support
2011-06-20 08:00:43 -06:00
Eli Barzilay
e74f70393f
Hack: make the `net/url' implementation handle both "http" and "https" urls, dispatching to the plain tcp functions or the ssl one.
...
(See "HACK" comment for a description on how this is done.)
2011-06-20 06:30:09 -04:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Robby Findler
e008fc3399
improved the error messsage for contract violations of preferences:add-callback
2011-06-20 15:09:00 +08:00
Robby Findler
62a337231a
added more options into the place-chan-rand test; seems to still (rarely) cause a crash
2011-06-20 05:35:25 +08:00
Matthew Flatt
13da5a79d7
fix dialog modality
2011-06-19 08:22:08 -06:00
Vincent St-Amour
8c5e215876
The format change script should not be run by drdr.
2011-06-18 08:41:20 -04:00
Eli Barzilay
f0691d07cc
Switch to racket, clarify no setting for `drdr:command-line'.
2011-06-17 21:56:02 -04:00
Eli Barzilay
661108e777
Make the osx64 build have the right configure flag
2011-06-17 21:56:02 -04:00
Matthew Flatt
f34a31cac9
"under <platform>" -> "on <platform>"; "X" -> "Unix"
...
I originally picked "under" as the preposition to go before
a platform name, but obviously you should build "on" a
platform, and "under" suddenly annoys me. The choice of "on"
is now codified in the documentation style guide. Meanwhile,
"Unix" insted of "X" seems more clear and consistent in the
`racket/gui' docs.
More usefully, this patch also fixes a few out-of-date
platform-specific claims.
2011-06-17 18:54:43 -06:00
Matthew Flatt
5a5800d513
place-specific low-level "sleep" function
...
to make racket/gui work right with places (running
in just one of them) on Mac OS X
2011-06-17 17:03:21 -06:00
Vincent St-Amour
88dafca69f
Update test format.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
f9205665e4
Add a section on performance debugging to the TR guide.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
26b909744c
Display irritants nicely.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
e8dcee732e
Don't merge missed optimizations repeatedly, which artificially increases badness.
2011-06-17 18:18:04 -04:00
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