Commit Graph

1372 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
0a47887ef3 Strengthen contracts to require syntax lists.
original commit: 23c47728c5e8db99da907312cc0ea466d02a3383
2011-07-18 17:41:17 -04:00
Sam Tobin-Hochstadt
cfbd2df41c Fix internal error message.
original commit: 25cdd87405e72bd2468d97f264fb8e3759aefe83
2011-07-18 17:38:40 -04:00
Vincent St-Amour
838c70ac6a Change a TR doc example to take two arguments.
Otherwise, the docs don't have any examples for the syntax of
multi-argument functions that doesn't involve polydots.

original commit: 4c5bb1ddaf68ea8982d4ea635f7b20563af371b0
2011-07-18 11:53:39 -04:00
Vincent St-Amour
6b9f7dca85 Document Performance Report.
original commit: f632aa52dd083b649ad019e3728b6f1d9ee08bf6
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
718e488786 Update messages. Irritants are now highlighted, not circled.
original commit: be67f304a80851fbdbc24db7f0797b2e0abce877
2011-07-15 15:04:57 -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
6e218da463 Keep located syntax around so we can use it in the tool.
original commit: c1fe25200ba1ed51962d7981190aebe2c67b8442
2011-07-15 15:04:54 -04:00
Vincent St-Amour
eb9b012989 Call locate-stx at the last minute, to avoid overeager duplicate detection.
original commit: d2a8a620b149d72ffac87ac980174c8afaa19a40
2011-07-15 15:04:54 -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
2b655af885 Use locate-stx earlier in the logging process, for nicer display in the tool.
original commit: d3db388c05529e86363f43373d7ab779fd964935
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
5a414fe1e5 Add nicer optimization reporting messages.
original commit: bfc4ad42255d4f74fae6aa9275fb2ad3080f5bd3
2011-07-15 15:04:53 -04:00
Vincent St-Amour
ed4f4fe43b Add the remaining diagnosis messages.
original commit: 00d23a4535bc9aa3fbfb5c77c53010efa49f384d
2011-07-15 15:04:53 -04:00
Vincent St-Amour
33380e814b Rewrite TR logging facilities to play nicely with the DrRacket tool.
original commit: 975cb7ad9d1cb2ca3f4cf78a8635c83a5c1494de
2011-07-15 15:04:53 -04:00
Vincent St-Amour
ed8a9d3eef Have a more useful message for float missed opts.
original commit: d68267cbfad06232e146e99dc9a36e296a604a0b
2011-07-15 15:04:53 -04:00
Vincent St-Amour
85ca514d49 Circle irritants.
original commit: 5ddfcfba9d69d350d7d58753e29e2ee4624984ec
2011-07-15 15:04:53 -04:00
Vincent St-Amour
75a9095893 Have nicer information to present in pop-ups.
original commit: a134e4ffb7b6c3b279943df9a03818c64bacef29
2011-07-15 15:04:52 -04:00
Vincent St-Amour
a8540ce6d2 Remove redundant optimization reporting.
original commit: 5e5fdb2981ccdb89416cd49c2291efd59653d85d
2011-07-15 15:04:52 -04:00
Vincent St-Amour
4fcae7c696 Remove extra keyword argument.
original commit: 65e56ab387e07750fd5984b27c618b0b4bd3d9e0
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
a3fec404a3 Remove highlights after editing.
original commit: 2ecec626b35432408d9d558fc4aac66ce3cf4dba
2011-07-15 15:04:52 -04:00
Vincent St-Amour
c4cb2c2154 Highlight opts and missed-opts in the editor.
original commit: 14be88628870bf34e6b71155c988c9a6f5cfa456
2011-07-15 15:04:52 -04:00
Vincent St-Amour
629feb81bf Pass log struct along with the log messages.
original commit: 7f3bb5d0173d22733f49ec0b5187ab433bc0d264
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
57ce28ef09 Added a button for the performance report tool when in a typed language.
original commit: 101feb82007f3c2f0f7831a6be368cdae411beab
2011-07-15 15:04:51 -04:00
Eric Dobson
c6af28ff8d Fix kernel-struct tests in TR.
original commit: e6030295fff3c50dd66ddcd6d1d39a5b8ea18247
2011-07-14 17:06:52 -04:00
Eric Dobson
1e46426c15 Document legacy form 'values'. Closes PR1145.
original commit: 30058a5a2404cfc9bdb9e5f99219f3c0f5a51bcf
2011-07-14 17:06:52 -04:00
Eric Dobson
acac002eb5 Fixes error messages for unsupported provide forms
original commit: 27ffe4cb6ab8c963e8f8e0e427370070e9af370b
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
aa247c5d10 Fixed require typed struct
original commit: abc8e514d9bb9e054c5a9083b47f7351899621a2
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
7a3d4112fe Working on improving contracts in TR.
original commit: f5e24ba1634f9e19e257b2e62c081dda6c0e885f
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
0c46eab523 Fix unsafe multiplication.
original commit: cf04739f93dd2a6e16bd022431a123c1a25865cb
2011-07-13 12:52:47 -04:00
Vincent St-Amour
b1aa042289 Make index? faster.
original commit: e5314f945e0827331d7e1dcd8320bb8d0c59132e
2011-07-13 12:07:56 -04:00
Vincent St-Amour
124cf9c5df Add list optimizations.
original commit: 59a85b3eb2eb1f8db7200b5f3e79575ec6927362
2011-07-11 15:55:07 -04:00
Carl Eastlund
de9ecf5437 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.

original commit: 2e6a608539f5ef39a9ff821d95163ea4660da952
2011-07-09 14:46:58 -04:00
Matthew Flatt
c90e2acc38 change `find-method/send' back to one result
The 2-result implementation is not needed now that contracts
 are implemented via impersonators

original commit: efd1fa51bdf8de677c9749e830843bdf4fd52322
2011-07-09 07:08:32 -06:00
Ryan Culpepper
4b788e02f6 moved typed racket docs up within section
original commit: e66275c3f51778c64a3fa9f7f8f7e27c83877806
2011-07-07 14:00:22 -06:00
Sam Tobin-Hochstadt
27a2086b33 Add types for `check-in-{port,bytes,bytes-lines}'.
original commit: 49444460d5f0280336e47d0cdd1abc1a5e81ff90
2011-07-07 14:24:28 -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
3f2a0df532 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.

original commit: 7debd466211150c58f6554dde95521ad75fc86b5
2011-07-06 18:09:31 -04:00
Vincent St-Amour
7761a92cca Move flvector types with other indexing functions.
original commit: d75d6c7ee4e0cabee27689353041387a1512ed48
2011-07-06 18:09:30 -04:00
Vincent St-Amour
9e995978e1 Do the impersonator? check up front.
original commit: 60f3074ccd6b2d399765c3254180afe1bcf2830d
2011-07-06 18:09:30 -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
9e1e05efad Correctly require/typed structs with parents. Closes PR11509.
original commit: 805e1fb309487ba8903b84e27b575fea485b8748
2011-07-05 11:25:10 -04:00
Eric Dobson
ad93c3fbfc Provides better error message for PR 11889.
original commit: a9655c04dd8cd150f283a5755a89b47dcd505d62
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