Guillaume Marceau
2f3da4c4cd
Changed the wording of BSL error messages
2011-07-05 17:57:19 -04:00
Guillaume Marceau
103474a5f5
Implemented struct colored-error-message struct and colored-format
2011-07-05 17:57:18 -04:00
Vincent St-Amour
6da4835a14
Fix props.
2011-07-05 16:28:51 -04:00
Vincent St-Amour
867f1e9097
Fix syntax test harness to work with compiled tests.
2011-07-05 16:28:25 -04:00
Vincent St-Amour
669523477a
Add a test suite for the syntax collect.
2011-07-05 15:06:24 -04:00
Eric Dobson
b25ee81d79
Changed TR test to use struct with struct info instead of HTDP struct.
2011-07-05 11:25:11 -04:00
Eric Dobson
805e1fb309
Correctly require/typed structs with parents. Closes PR11509.
2011-07-05 11:25:10 -04:00
Eric Dobson
07910253b4
Fixes build-struct-expand-info to create correct struct info.
...
Adds a check to struct-info? to make sure selectors
and mutators are the same length. Closes PR12017.
2011-07-05 11:25:10 -04:00
Eric Dobson
a9655c04dd
Provides better error message for PR 11889.
2011-07-05 11:25:10 -04:00
Eric Dobson
0b76178138
Fix typechecking of call-with-values. Closes PR11709.
2011-07-05 11:25:10 -04:00
Eric Dobson
5493e17538
Fix match to not use apply and work with TR.
2011-07-05 11:25:10 -04:00
Eric Dobson
046d476970
Add types for kernel struct constructors.
2011-07-05 11:25:10 -04:00
Eric Dobson
fc8ed9772a
Added srclocs to errors raised by match.
2011-07-05 11:25:10 -04:00
Matthew Flatt
5d06476cb3
scribble: clarify intent of `#:use-sources'
2011-07-05 07:03:26 -06:00
Matthew Flatt
1daa2649f0
another fix for `vector-{ref,set!}' on chaperone/impersonator
...
--- fixes a81917a2692; drop this commit if that one is dropped
2011-07-05 06:29:32 -06:00
Matthew Flatt
a7deb516f7
minor doc style corrections
2011-07-04 16:48:25 -06:00
Matthew Flatt
67e5b3d364
fix import collision
...
--- probably due to the addition of `identity' to `scheme[/gui]',
but the test file should require `scheme/gui/base'
2011-07-04 16:39:36 -06:00
Matthew Flatt
e3b8997fb8
fix test
...
which is sensitive to details of the documentation of `->'
2011-07-04 16:35:38 -06:00
Matthew Flatt
4905d344dd
slideshow/pict: add `rotate'
...
which requires two new fields in the `child' struct to support
`lt-find', etc., when child picts are rotated
2011-07-04 16:26:09 -06:00
Matthew Flatt
850b85cbdb
add some cross-references
2011-07-04 16:26:09 -06:00
Ryan Culpepper
e38843618d
unstable: better ppict-do, absorbed code from pslide
2011-07-03 04:05:03 -06:00
Ryan Culpepper
77a89b8d83
unstable: added ppict, pslide
2011-07-03 02:25:10 -06:00
Ryan Culpepper
5ec2fee90d
macro-stepper: more work on syntax tainting
2011-07-02 23:32:02 -06:00
Ryan Culpepper
71a92f2957
macro-stepper: first step to making macro stepper aware of syntax tainting
2011-07-02 23:32:02 -06:00
Stevie Strickland
d3ebf21d97
Fix the unit contract tests due to changes in contract violation reports.
2011-07-03 00:47:58 -04:00
Jay McCarthy
de9aec3051
Allowing paths in big-bang's record? argument and adjusting a test to make use of that feature. It would also be good to allow bitmap to take paths, but that is non-trivial, because of its assumption that non-literal strings are module paths
2011-07-02 20:13:39 -07:00
Matthew Flatt
3dcb19007d
protect the expansion of `enter!'
2011-07-02 19:41:27 -06:00
Matthew Flatt
b57cf0134f
fix typos
2011-07-02 19:18:11 -06:00
Jay McCarthy
8da2f537fb
Another test that is sensitive to the contract error message text
2011-07-02 14:50:24 -07:00
Jay McCarthy
7a602b8864
What are tests for anyway?
2011-07-02 14:47:54 -07:00
Jay McCarthy
439bbc6d8f
Another broken test courtesy of refactoring, not testing, and ignoring DrDr. In this case, it seems like the user should not have relied on the function always returning a string (based on the old documentation---not the name, which implies a string comes out), so I've changed the use rather than the function.
2011-07-02 14:34:41 -07:00
Jay McCarthy
8d6827e741
Thank you for breaking tests by a semantics-ignoring Search&Replace and then ignoring that DrDr caught the break.
2011-07-02 14:15:20 -07:00
Jay McCarthy
f55ec3def7
It is very odd that racket/load doesn't let this work
2011-07-02 14:04:52 -07:00
Jay McCarthy
65ebdc4f90
Fixing this test
2011-07-02 14:01:32 -07:00
Jay McCarthy
bd46637210
This test is sensitive to the JIT, it seems
2011-07-02 13:51:31 -07:00
Jay McCarthy
88bf52c88b
These tests are sensitive to the contract error messages
2011-07-02 12:19:41 -07:00
Jay McCarthy
14bc3afe90
Increasing timeout based on linear projection
2011-07-02 12:17:01 -07:00
Jay McCarthy
4a9ec78844
Different server path
2011-07-02 11:52:04 -07:00
Jay McCarthy
0896792e23
Showing files by status
2011-07-02 11:52:04 -07:00
Jay McCarthy
984215fd87
A little reformating
2011-07-02 11:52:04 -07:00
Matthias Felleisen
a1c219a068
eliminated superfluous require for-syntax, refactored and cleaned up; fixed bug in test?
2011-07-02 13:34:02 -04:00
Matthew Flatt
8aa4ff1b06
syntax taint repairs
2011-07-02 10:08:15 -06:00
Robby Findler
df6590b80f
adjust contract violation message by putting the name at the start of the message. For example, this:
...
contract violation, expected <(or/c (quote clean) (quote armed) (quote tained))>, given: #f
contract on wrapped from 'zo-structs, blaming 'no-dep
contract:
(->
any/c
(listof wrap?)
(or/c 'clean 'armed 'tained)
wrapped?)
at: C:\tmp3.rkt:6.21
becomes this:
wrapped: contract violation, expected <(or/c (quote clean) (quote armed) (quote tained))>, given: #f
contract from 'zo-structs, blaming 'no-dep
contract:
(->
any/c
(listof wrap?)
(or/c 'clean 'armed 'tained)
wrapped?)
at: C:\tmp3.rkt:6.21
(apologies if the indenting isn't quite right above; vi messed with it when I tried to paste it in ...)
2011-07-03 00:04:12 +08:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Eli Barzilay
4da4a2759b
New setup/path-to-relative' that supersedes
unstable/dirs' and most of
...
`setup/private/path-utils'.
The API is a little different: instead of getting the alist and the
path, there's a curried function that gets the alist and produces a
function to do the substitutions.
2011-07-02 01:10:38 -04:00
Eli Barzilay
1276568558
Combine two let's into a
let*', use some #'s.
2011-07-02 01:10:38 -04:00
Eli Barzilay
f86687de9c
Use 'user-collects in `library-relative-directories', since "<user>" by
...
itself is ambiguous.
(Since this is used in contract messages, this might be a visible
difference; it still seems to me that "<user>" would be confusing.)
2011-07-02 01:10:38 -04:00
Eli Barzilay
6b44974b42
Improvements around uses of the current `unstable/dirs', and
...
`setup/path-relativize'.
`setup/path-relativize' is freed from a bunch of things that were due to
historical baggage, but some remain. (Also, update its docs.)
2011-07-02 01:10:38 -04:00
Eli Barzilay
3e755eba11
Misc improvements
2011-07-02 01:10:38 -04:00
Eli Barzilay
226f86d201
Try to improve the tests wrt timeouts and memory limits
2011-07-02 01:10:38 -04:00
Matthew Flatt
98740390fa
adapt demodularizer to `compiler/zo-struct' change
2011-07-01 22:46:20 -06:00
Ryan Culpepper
4d38f491ca
moved algol60 and honu docs to experimental category
...
remove empty doc categories
2011-07-01 20:13:52 -06:00
Vincent St-Amour
80bea07d5c
Fix typo.
2011-07-01 21:27:04 -04:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
b163edff9b
clean up my clumsy first attempt to adapt the web-server languages
...
for syntax taints
2011-07-01 17:11:16 -06:00
Matthew Flatt
e46a470f8d
places fixes: Windows leaks, custodian force-exit, stdio interaction
2011-07-01 14:31:56 -06:00
Vincent St-Amour
27d7ad1e87
Have letrec build unions in canonical form.
2011-07-01 16:06:15 -04:00
Eric Dobson
4439638308
Don't export required bindings with all-defined-out and require/typed.
...
Closes PR11425.
2011-07-01 16:06:15 -04:00
Carl Eastlund
97642c1cb6
Fixed syntax/parse bug:
...
Syntax classes with keyword arguments were unintentionally requiring all
arguments at an application site to be in alphabetical order.
Added a test for this fix.
2011-07-01 15:32:34 -04:00
Matthew Flatt
59731368fc
add ffi/winapi; use it in mzlib/os
...
Closes PR 12007
2011-07-01 10:42:17 -06:00
Stevie Strickland
4f761ddb2f
Use fold-left instead of map for an example of a nonuniform vararg function.
...
Fixes PR12014.
2011-07-01 12:00:35 -04:00
Matthew Flatt
dca102a7f1
document place termination better
...
e.g., the fact that the exit handler is set in a place
2011-07-01 09:30:11 -06:00
Matthew Flatt
3078d5c494
clean up place exit handling
...
- don't crash on multiple kills or waits
- allow the OS to reclaim the place thread when it exits on its own
2011-07-01 09:30:11 -06:00
Robby Findler
69b5daa9e6
remove docs tests that no one was interested in
2011-07-01 11:38:09 +08:00
Kevin Tew
c6c1f9d533
Fixed missing bracket
2011-06-30 16:53:45 -06:00
Kevin Tew
7bd4ba9b11
place-dead-evt docs
2011-06-30 15:52:29 -06:00
Matthew Flatt
c8f235ba1c
fix `slideshow/code' for datum after multi-line datum
...
as in
(a b
c) d
or
(a b
c) (code:comment "here")
2011-06-30 13:08:28 -06:00
Matthew Flatt
e921f20b6a
disable (minimize?) smoothing for `draw-bitmap' in 'unsmoothed mode
2011-06-30 12:25:56 -06:00
Vincent St-Amour
cd34760a33
Add a test case for struct-based match expanders.
...
Closes PR11617.
Using the taint system, the bug is fixed.
2011-06-30 14:21:52 -04:00
Eric Dobson
e3c4955ac9
Changed order type annotations are processed. Closes PR 11560.
2011-06-30 14:01:47 -04:00
Vincent St-Amour
43efe6adf0
Remove trailing whitespace.
2011-06-30 14:01:47 -04:00
Eric Dobson
b5e4515752
Changed order of imports in require/typed to order written.
...
Closes PR11193.
2011-06-30 14:01:47 -04:00
Eric Dobson
76a1112df0
Changed define-predicate to use recursive-contract. Closes PR 10939.
...
Closes PR11504.
2011-06-30 14:01:47 -04:00
Matthew Flatt
9bceb885c7
make sure only one place initializes SSL
2011-06-30 10:53:19 -06:00
Matthew Flatt
d4acf4f07a
fix another problem with attempted overflow clean-up
2011-06-30 10:53:19 -06:00
Kevin Tew
c3059f7e82
place-dead-evt
2011-06-30 10:02:21 -06:00
Matthew Flatt
37e4ea497b
check for integer overflow in vector reader syntax
...
Closes PR 12008
2011-06-30 09:46:02 -06:00
Matthew Flatt
e9477c17b4
fix JIT-generated `apply-values' for chaperones
...
Closes PR 11981
2011-06-30 09:28:07 -06:00
Matthew Flatt
b86e96cf90
fix optimizer bug that reordered past a mutable variable
...
Closes PR 11987
2011-06-30 09:17:42 -06:00
Matthew Flatt
737a3bd91a
fix too-early large-allocation check
...
Closes PR 12000
2011-06-30 08:56:28 -06:00
Matthew Flatt
69ad39d45c
fix `compiler/zo-parse' & co.
2011-06-30 08:24:41 -06:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eric Dobson
d0cfebd5b4
Make TR provided struc-infos act like constructors. Closes PR11578.
...
Closes PR11866.
2011-06-29 17:38:05 -04:00
Eric Dobson
9721409b39
Cleaned up define-struct: and struct:.
2011-06-29 17:38:05 -04:00
Eric Dobson
e87ff268c2
Added legacy support for require/typed and require-typed-struct.
...
Added FIXME for duplicated code.
2011-06-29 17:38:05 -04:00
Eric Dobson
ecaf5f40a0
Cleaned up define-typed-struct-internal and require/typed.
...
Also fixed a test for require/typed.
2011-06-29 17:38:05 -04:00
Eric Dobson
f3692eae29
Added support for configurable constructor names in require/typed.
...
Closes PR11171. Closes PR11194. Closes PR11314.
2011-06-29 17:38:05 -04:00
John Clements
e367f1d0f2
added missing argument to parameter set
2011-06-29 14:35:47 -07:00
John Clements
d81a95ef26
cleanup, tentatively annotating all top-level-vars
2011-06-29 12:44:35 -07:00
John Clements
e88ec555bb
added parameter to control STC's debug printout
2011-06-29 12:44:09 -07:00
John Clements
3f50dc7f2c
refactored to move test cases into a separate file(s)
2011-06-29 12:42:18 -07:00
John Clements
b1d791a02e
renamed stepper-define-struct-hint to stepper-black-box-expr
2011-06-29 10:03:44 -07:00
John Clements
ae9cab6ee0
Updated stepper-syntax property to only permit known & documented stepper properties,
...
discovered quite a number of strange old errors. Also fixed an
error on setting current-directory when the tab has no directory,
no infrastructure for testing this automatically.
Requires are now handled correctly, except that required bindings aren't treated
as top-level (that is, their reductions are skipped). Should be an easy fix...
2011-06-29 00:32:38 -07:00
John Clements
d839b9fea6
renamed define-struct-hint to black-box-expr, applied to require as well
2011-06-29 00:28:08 -07:00
John Clements
7d782b6fd3
fixed undiscovered bug in reconstruction of let*, added test case too
2011-06-29 00:25:56 -07:00
John Clements
0061218266
added test of let* unwinding, moved shared.rkt unit tests out here
2011-06-29 00:24:02 -07:00
John Clements
673f99417b
removed a space
2011-06-28 18:43:04 -07:00
John Clements
2891869371
added tests of require
2011-06-28 18:43:04 -07:00
John Clements
b9a802386e
set the current directory based on the tab's get-directory before starting the stepper.
...
Closes PR 11048
2011-06-28 17:07:12 -07:00
Eli Barzilay
0af236dc2f
Add block' to
scribble/text', to explicitly ask for an indentation block.
...
* Lists are now either blocks or splices depending on whether they
appear inside a block or a splice (default to block).
* Adjusted the docs and a single test where this mattered.
* Change the documentation to be "text.html" and to be titled "text
generation".
2011-06-28 18:16:07 -04:00
Jay McCarthy
fa77770eac
Adding initial value to textarea-input
2011-06-28 08:41:38 -06:00
Jay McCarthy
13ff06aee5
Fixing example from Naurin Zamir
2011-06-28 08:41:38 -06:00
Eli Barzilay
32a1d9a769
Fix some xv-induced binary junk.
2011-06-28 03:07:38 -04:00
Eli Barzilay
78dacef817
Get rid of "defaultly"s.
2011-06-28 02:11:24 -04:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
a38f384a00
Finish converting scheme' ->
racket'.
...
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Jay McCarthy
359ac41a45
Updating textarea-input re Shogo
2011-06-27 12:08:20 -06:00
Ryan Culpepper
2cea046fef
syntax/parse: report stxclass arity error without ~var form
...
closes PR 11933
2011-06-27 10:21:12 -06:00
Ryan Culpepper
7517fa948f
macro-stepper: another phase-1-init location
...
related to PR 11938
2011-06-27 10:21:12 -06:00
Ryan Culpepper
3e77a1096f
macro-stepper: don't try to remove term when at end of list
2011-06-27 10:21:12 -06:00
Ryan Culpepper
0b47f0b7e2
close current macro stepper frame on Run, Macro Stepper, etc
...
closes PR 11964
2011-06-27 10:21:12 -06:00
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