Commit Graph

1440 Commits

Author SHA1 Message Date
Vincent St-Amour
c598ae2048 Switch to using get-port-name. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
27f3eb3870 Report optimizations and missed optimizations with the DrRacket tool.
Currently, that just means showing the text that would be shown on the
command line. Eventually, it should highlight code in the editor, and
have tooltips explaining what happened.
2011-07-15 15:04:51 -04:00
Vincent St-Amour
a71a45e41f Relocate TR logging capture. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
101feb8200 Added a button for the performance report tool when in a typed language. 2011-07-15 15:04:51 -04:00
Eric Dobson
e6030295ff Fix kernel-struct tests in TR. 2011-07-14 17:06:52 -04:00
Eric Dobson
30058a5a24 Document legacy form 'values'. Closes PR1145. 2011-07-14 17:06:52 -04:00
Eric Dobson
27ffe4cb6a Fixes error messages for unsupported provide forms 2011-07-14 17:06:52 -04:00
Eric Dobson
bf72db0f7b Clean up some contract errors and type->contract. Closes PR11756. 2011-07-14 17:06:52 -04:00
Eric Dobson
abc8e514d9 Fixed require typed struct 2011-07-14 17:06:52 -04:00
Eric Dobson
5e08f7a411 Fixes for inference. Closes PR10937. 2011-07-14 17:06:51 -04:00
Eric Dobson
f5e24ba163 Working on improving contracts in TR. 2011-07-14 17:06:51 -04:00
Eric Dobson
8a2c9b4682 TR: Produce better error messages with values. Closes PR11772. 2011-07-14 17:06:51 -04:00
Vincent St-Amour
cf04739f93 Fix unsafe multiplication. 2011-07-13 12:52:47 -04:00
Vincent St-Amour
e5314f945e Make index? faster. 2011-07-13 12:07:56 -04:00
Vincent St-Amour
59a85b3eb2 Add list optimizations. 2011-07-11 15:55:07 -04:00
Carl Eastlund
2e6a608539 Corrected documentation of quote-module-name to indicate that it does not
produce collection and planet-relative paths on its own.  Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.
2011-07-09 14:46:58 -04:00
Matthew Flatt
efd1fa51bd change `find-method/send' back to one result
The 2-result implementation is not needed now that contracts
 are implemented via impersonators
2011-07-09 07:08:32 -06:00
Ryan Culpepper
e66275c3f5 moved typed racket docs up within section 2011-07-07 14:00:22 -06:00
Sam Tobin-Hochstadt
49444460d5 Add types for `check-in-{port,bytes,bytes-lines}'. 2011-07-07 14:24:28 -04:00
Vincent St-Amour
a7459c5ee7 Do partial bounds checking elimination for flvector operations. 2011-07-06 18:09:31 -04:00
Vincent St-Amour
7debd46621 Recognize multiple argument types for flvector accessors.
With only Integer possible as type for the index argument, Integer was
used as expected type, and any information we had about the argument
(sign, range, etc.) was lost.
2011-07-06 18:09:31 -04:00
Vincent St-Amour
d75d6c7ee4 Move flvector types with other indexing functions. 2011-07-06 18:09:30 -04:00
Vincent St-Amour
60f3074ccd Do the impersonator? check up front. 2011-07-06 18:09:30 -04:00
Vincent St-Amour
979545a90f First stab at optimizing bounds checking. 2011-07-06 18:09:29 -04:00
Eric Dobson
805e1fb309 Correctly require/typed structs with parents. Closes PR11509. 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
046d476970 Add types for kernel struct constructors. 2011-07-05 11:25:10 -04:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -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
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
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
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
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
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
Eric Dobson
a14723f27a Make vector-immutable work like vector. Closes PR 11535. 2011-06-27 11:35:48 -04: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