Commit Graph

630 Commits

Author SHA1 Message Date
Robby Findler
f38df9c69b change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file
original commit: 997813680db107a75dae889f73bc3da5ce00806f
2011-08-11 09:29:31 -05:00
Vincent St-Amour
024e04015c More TR test failures more easily detectable.
original commit: 8bcb7f26362857fad84b9dec9cf30707520d97d2
2011-08-10 15:45:54 -04:00
Vincent St-Amour
ffcc7e9f92 Improve error message for calls to 'sort' when inference fails.
original commit: b124d68f402ce99ddec58482be40ce279f3f4a04
2011-08-03 17:39:15 -04:00
Vincent St-Amour
c3a9c07979 Add for*/sum: and for*/product: to TR.
These currently don't play nice with inference, so they only work in
limited cases.

original commit: 5b22dfb6b0d329af5c2cd78a1652431de29fe739
2011-07-29 12:54:29 -04:00
Vincent St-Amour
fea766dfbb Add for/sum: and for/product: to TR.
original commit: 6a8011854be3c67dc9fe0f3b1e7ba119a28500bd
2011-07-29 12:54:29 -04:00
Vincent St-Amour
5155f0310c Clean up.
original commit: 73140544ce9a5195b032a4c81536ed76788208ee
2011-07-21 17:06:03 -04:00
Sam Tobin-Hochstadt
670dc600ab Fix types of kernel struct constructors to include parent fields.
Merge to 5.1.2.

original commit: 7a763a2da89a1432285c06cdf9d112d04b29c762
2011-07-20 15:19:53 -04:00
Eric Dobson
5d1a3e7a4a Switched name field in struct type to identifier. Closes PR 11728.
Closes PR 11998. Closes PR11859.

original commit: e07ce478afc1806d6805f57f96006bcb0d25668e
2011-07-19 16:47:13 -04:00
Eric Dobson
703eac8bd5 Fixed types for path operations. Closes PR12057.
original commit: a7f0f7591d17558ed17644fadb89ad01216fd77a
2011-07-19 16:47:13 -04:00
Vincent St-Amour
ff9fa5fbfd Fix test to not be dependent on floating-point printing.
original commit: 419398ce1a1662cd6810bd5a100e65367e8855f8
2011-07-19 15:19:17 -04:00
Vincent St-Amour
e89475504d Remove redundant precision-loss messages.
original commit: 29882d8fa1bfc3bda8d57f8fb77d3a14ba8f9774
2011-07-19 15:19:17 -04:00
Sam Tobin-Hochstadt
7f1a5a59ab Fix Typed Racket handling of exception handling with multiple return values.
original commit: 42b79dd48980612e459236ada0f3027f87bced76
2011-07-18 17:42:28 -04:00
Vincent St-Amour
c6320897e7 Add test for missed opts in multi-file programs.
original commit: 5d4d9f2636a408370efd415b05cf3b9a54b2dd5e
2011-07-15 15:04:58 -04:00
Vincent St-Amour
02a4010880 Change the structure of the "extra precision" missed optimizations.
Avoids reports that are almost duplicates.

original commit: db9d51fef7505776a7250446496c1784043472e1
2011-07-15 15:04:58 -04:00
Vincent St-Amour
89217e6b02 Make a test a bit more complicated.
original commit: f4c3e51d3be3264144c4dae0477305dc40d94e74
2011-07-15 15:04:56 -04:00
Vincent St-Amour
6b5104aba7 Fix new optimization to use the new loggin facilities.
original commit: c5d46449b774eedf02877d1bbe8a6fb3f1b173cb
2011-07-15 15:04:55 -04:00
Vincent St-Amour
9596522404 Fix new optimization to use new logging.
original commit: 34ccf6a3fb7dfbe80897c1fafdc5eef1d73d6b68
2011-07-15 15:04:54 -04:00
Vincent St-Amour
eb1f25d82e Report missed fixnum optimizations.
original commit: d146f8c590d2a79784c908cd27ecbefa2ff95bdb
2011-07-15 15:04:54 -04:00
Vincent St-Amour
5c5e65651f Fix tests.
original commit: fbf802e61cbc6e0793c6632bc5661534148f0b4e
2011-07-15 15:04:54 -04:00
Vincent St-Amour
f36b2c20f7 Fix tests for new log format.
original commit: 9640d2bfbce297a2a10eeea36e7ad88121901e01
2011-07-15 15:04:53 -04:00
Vincent St-Amour
a8540ce6d2 Remove redundant optimization reporting.
original commit: 5e5fdb2981ccdb89416cd49c2291efd59653d85d
2011-07-15 15:04:52 -04:00
Vincent St-Amour
f1e541a102 Display larger regions for optimizations.
original commit: 8d680ced89bc822a50d08f66be4656f1003dd6a8
2011-07-15 15:04:52 -04:00
Vincent St-Amour
3f2009c651 Relocate TR logging capture.
original commit: a71a45e41f4b90bdb5196f17d3c78fc83f379caa
2011-07-15 15:04:51 -04:00
Vincent St-Amour
0ba01d233e Fix TR tests to use the new contract error message format.
If 7b9b3c371b10 is included in the release, this should be too.

original commit: adeef671cd12826b5e565c47b600e313b9565bb8
2011-07-14 17:06:52 -04:00
Eric Dobson
c6af28ff8d Fix kernel-struct tests in TR.
original commit: e6030295fff3c50dd66ddcd6d1d39a5b8ea18247
2011-07-14 17:06:52 -04:00
Eric Dobson
2393ae1033 Clean up some contract errors and type->contract. Closes PR11756.
original commit: bf72db0f7b5120f9de8aa3c4a912de935256f605
2011-07-14 17:06:52 -04:00
Eric Dobson
4c45389e85 Fixes for inference. Closes PR10937.
original commit: 5e08f7a41107027ce8e38af49897fa471094473e
2011-07-14 17:06:51 -04:00
Eric Dobson
ce0f3b595b TR: Produce better error messages with values. Closes PR11772.
original commit: 8a2c9b4682786686e38cc7df431efd38e803383f
2011-07-14 17:06:51 -04:00
Vincent St-Amour
124cf9c5df Add list optimizations.
original commit: 59a85b3eb2eb1f8db7200b5f3e79575ec6927362
2011-07-11 15:55:07 -04:00
Vincent St-Amour
4c281da82a Fix test for new contract error message format.
original commit: 79ef8e889e327cd50df683ff9594b83f5a50cc64
2011-07-11 15:35:49 -04:00
Vincent St-Amour
d24f4ca071 Fix test to avoid differences in printing.
original commit: 50974440f47b8d10da32ef9d8557d2576dd14e41
2011-07-07 11:41:59 -04:00
Vincent St-Amour
5afdc26236 Fix tests.
original commit: 0494e16d4f7c3882fa8edf86338e517963082d08
2011-07-06 18:34:14 -04:00
Vincent St-Amour
f8526e3870 Add an extra test for partial bounds checking elimination.
original commit: 2e6b518c952d1994bde10086de403a7e48d8a094
2011-07-06 18:09:35 -04:00
Vincent St-Amour
6779719a18 Do partial bounds checking elimination for flvector operations.
original commit: a7459c5ee7f6ed135dc5a26e3e2788365326530d
2011-07-06 18:09:31 -04:00
Vincent St-Amour
30792214ae First stab at optimizing bounds checking.
original commit: 979545a90ff3ca5cb730780a7a5699bb361eea48
2011-07-06 18:09:29 -04:00
Eric Dobson
9830474a58 Changed TR test to use struct with struct info instead of HTDP struct.
original commit: b25ee81d790ac3d8388cbe80bb708b6b5841d83f
2011-07-05 11:25:11 -04:00
Eric Dobson
9e1e05efad Correctly require/typed structs with parents. Closes PR11509.
original commit: 805e1fb309487ba8903b84e27b575fea485b8748
2011-07-05 11:25:10 -04:00
Eric Dobson
f357d4c0ce Fix typechecking of call-with-values. Closes PR11709.
original commit: 0b761781380ba23a6e363798ad39049a8d4e6eb6
2011-07-05 11:25:10 -04:00
Eric Dobson
1c0f8a6df8 Add types for kernel struct constructors.
original commit: 046d4769704809840c3850b501ec378cdbcdf7e7
2011-07-05 11:25:10 -04:00
Eli Barzilay
f07f04b81d ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Eric Dobson
27265fe60e Don't export required bindings with all-defined-out and require/typed.
Closes PR11425.

original commit: 44396383088e8bcebd33f6ee92013c6ae9751685
2011-07-01 16:06:15 -04:00
Vincent St-Amour
8a0e9249ff Add a test case for struct-based match expanders.
Closes PR11617.

Using the taint system, the bug is fixed.

original commit: cd34760a3307839ef6bf08dce25a71fb87f41c97
2011-06-30 14:21:52 -04:00
Eric Dobson
45314ee84b Changed order type annotations are processed. Closes PR 11560.
original commit: e3c4955ac9f7fb10f1281bc93bd08fe594bc728d
2011-06-30 14:01:47 -04:00
Vincent St-Amour
0fa93ae065 Remove trailing whitespace.
original commit: 43efe6adf01c5ee7f7b63eebd46c85ce38eff97b
2011-06-30 14:01:47 -04:00
Eric Dobson
e8448f596c Changed order of imports in require/typed to order written.
Closes PR11193.

original commit: b5e451575208e242631b25e85ffef35112903d0d
2011-06-30 14:01:47 -04:00
Eric Dobson
b5c5ad7258 Changed define-predicate to use recursive-contract. Closes PR 10939.
Closes PR11504.

original commit: 76a1112df03083098dc5aaff951d9e768e5af1b6
2011-06-30 14:01:47 -04:00
Eric Dobson
c8c1cdc655 Make TR provided struc-infos act like constructors. Closes PR11578.
Closes PR11866.

original commit: d0cfebd5b464076bbfa136861ffbaaae2d400620
2011-06-29 17:38:05 -04:00
Eric Dobson
00e5ce0357 Added legacy support for require/typed and require-typed-struct.
Added FIXME for duplicated code.

original commit: e87ff268c2b8e19904c396640598ca00df475158
2011-06-29 17:38:05 -04:00
Eric Dobson
c3ca0bbda9 Cleaned up define-typed-struct-internal and require/typed.
Also fixed a test for require/typed.

original commit: ecaf5f40a0220b06fdf747e3baefe6d05ae69cf0
2011-06-29 17:38:05 -04:00
Eric Dobson
a5d5be4f95 Added support for configurable constructor names in require/typed.
Closes PR11171. Closes PR11194. Closes PR11314.

original commit: f3692eae29d7b0582eb90cc4768786688b8ca438
2011-06-29 17:38:05 -04:00