Commit Graph

34523 Commits

Author SHA1 Message Date
Matthew Flatt
6d9c49485b add tests for prefix-in, etc. 2014-11-09 07:50:29 -07:00
Gustavo Massaccesi
06d76961e5 Fix prefix-out for identifiers with spaces 2014-11-09 07:34:35 -07:00
Matthew Flatt
9c7c8e1b49 fix expt test
I think that the sign on `(expt -0.1 -100000000000000000001/3)` depends
too much on the precision of `expt` to be a good test, so just check
that the result is a complex number with infinite parts.
2014-11-09 07:30:08 -07:00
Jens Axel Søgaard
b7d2722d7d Mention that the Von Mangoldt function is not multiplicative 2014-11-08 14:10:10 +01:00
Eric Dobson
8f238fe9e2 Add event logging to caching-managed-compile and parallel compile.
This allows for understanding where time is spend during a compile.
2014-11-07 22:52:54 -08:00
Vincent St-Amour
517e22eee8 Fix interaction between early exits, filters and the optimizer.
Closes PR14828.
2014-11-07 15:55:49 -05:00
Vincent St-Amour
629b3119b8 Document surprising control flow. 2014-11-07 15:11:47 -05:00
Vincent St-Amour
424e896da5 Fix comment. 2014-11-07 15:11:05 -05:00
Vincent St-Amour
547d52fe27 Document another TR optimizer bug found via random testing. 2014-11-06 13:47:27 -05:00
Robby Findler
ec6bb1b8c0 fix control-paren-keys keybindings for altgr keys 2014-11-06 09:39:41 -06:00
Jay McCarthy
7c9b16b59f fixing doc typo 2014-11-05 17:52:01 -05:00
Jay McCarthy
336938d29f convert data correctly 2014-11-05 17:52:01 -05:00
Asumu Takikawa
c51a87dc36 Remove an unnecessary syntax-parse expression
Not sure why this was there
2014-11-05 17:03:52 -05:00
Asumu Takikawa
8137163b7f Fix expected type in test 2014-11-05 16:28:32 -05:00
Asumu Takikawa
54dfd50b89 Unbreak TR's top-level
A recent change I made broke optimizations at the top-level
2014-11-05 16:28:32 -05:00
Ryan Culpepper
18bad4ce6e net/win32-ssl: adjust protocol handling like openssl 2014-11-05 13:40:59 -05:00
Ryan Culpepper
4d2dce8de4 remove unnecessary protocol args in tests 2014-11-05 13:40:59 -05:00
Ryan Culpepper
2422218dd9 replace 'sslv2-or-v3 with 'auto in net libs 2014-11-05 13:40:59 -05:00
Ryan Culpepper
96cefe88c4 update typed/openssl protocol type 2014-11-05 13:40:59 -05:00
Ryan Culpepper
b7c1a65d16 db: use default SSL protocol 2014-11-05 13:40:58 -05:00
Ryan Culpepper
933a71ce71 openssl: disable old SSL protocols by default
Add 'auto alias for 'sslv2-or-v3, both of which now mean
"negotiate a reasonably secure protocol version", where
"secure" excludes SSL 2.0 and 3.0 (since POODLE).
2014-11-05 13:40:58 -05:00
Ryan Culpepper
2d38b089cd db: report SQL stmt in errors when available 2014-11-05 13:40:58 -05:00
Ryan Culpepper
b2434ab5b9 db: more information on sqlite3 errors 2014-11-05 13:40:58 -05:00
Matthew Flatt
a88c79fd5b expt: repair for non-integer power of negative inexact
If the inexact approximation of the power is an integer, then
the result was a real number when it should be a complex number.
2014-11-05 09:50:32 -07:00
Matthew Flatt
1e9d7c1d2a expt: repair for large power of inexact between 0 and -1
Closes PR 14824
2014-11-05 09:50:31 -07:00
Matthew Flatt
b9d8f65fc9 reduce CPP noise 2014-11-05 09:50:31 -07:00
Vincent St-Amour
1d09fbde37 Compile the math library as part of the TR test suite. 2014-11-05 11:02:20 -05:00
Vincent St-Amour
8a0c859d14 Fix math/matrix for new type of expt. 2014-11-05 11:02:20 -05:00
Robby Findler
4afd6c86d0 fix control-[ when 'framework:automatic-parens pref is set 2014-11-04 20:38:58 -06:00
Asumu Takikawa
b374902bf3 Simplify contract generation code
Don't export type->contract except for testing. This
discourages direct use of type->contract in favor of
using the change-contract-fixup approach.

Also consolidate most of the contract-related syntax
properties into a single property containing a prefab
struct instance.
2014-11-04 18:17:22 -05:00
Asumu Takikawa
7b6ae09a2d Avoid direct use of type->contract in with-type
Eliminates the last remaining use of type->contract
outside of the type-contract.rkt file. This allows
all contract generation to go through a single point
of control.
2014-11-04 18:17:21 -05:00
Asumu Takikawa
4d806fb02d Change contract on change-contract-fixups
The context should provide a flattened list of syntax
to the function.
2014-11-04 18:17:21 -05:00
Vincent St-Amour
ff0c101a64 Fix other bugs in type of expt.
Found using the new random testing.
2014-11-04 18:12:14 -05:00
Vincent St-Amour
8b8130c38e Fix type of expt.
Add expt to random testing.

Haven't seen one of those bugs in a while. Thank you Redex.

Closes PR14823.
2014-11-04 18:12:14 -05:00
Asumu Takikawa
1c5202ade7 Eliminate special cases for top-level contract gen
Use the same mechanism as require/typed for doing all
contract gen for make-predicate, cast, etc. Also don't
special-case contract generation for top-level require/typed.
2014-11-04 15:24:33 -05:00
Asumu Takikawa
34076af389 Adjust contract generation for provides in TR
Use the same mechanism as ordinary require/typed to generate
contracts for provide forms.
2014-11-04 12:57:52 -05:00
Matthew Flatt
14de729ed4 update "news" on main web page 2014-11-04 09:45:08 -07:00
Matthew Flatt
7debaf8f0f fix the "Racket Documentation.app" icon 2014-11-04 09:37:25 -07:00
Ryan Culpepper
f15c7ee289 remove info for natipkg installers 2014-11-04 11:33:48 -05:00
Ryan Culpepper
00c9a96fcb v6.1.1 installers info 2014-11-04 09:47:41 -05:00
Ryan Culpepper
fff23e7410 v6.1.1 announcement 2014-11-04 09:47:41 -05:00
Eric Dobson
9b9ed84a18 Fix typo (does -> doesn't). 2014-11-04 04:58:07 -07:00
Matthew Flatt
8a85587178 distro-build/installer-dmg: codesign whole ".app" instead of just exe
This change is needed for the more stringent Gatekeeper introduced in
Mac OS X 10.9.5, but the build machine has to be 10.9 or later to make
10.9.5 clients happy.
2014-11-04 04:53:52 -07:00
Matthew Flatt
168e76ac0e document current-read-interaction adjustment by at-exp
i.e., document the change in commit 015986fb4f.
2014-11-03 12:52:08 -07:00
AlexKnauth
015986fb4f at-exp: extend reader for repl too 2014-11-03 12:40:40 -07:00
Matthew Flatt
0c5479a1a6 fix small doc omission 2014-11-03 07:45:05 -07:00
Sam Tobin-Hochstadt
2221fa279c Fix require/typed/provide in no-check context.
Closes PR 14821.
2014-11-03 09:14:57 -05:00
Sam Tobin-Hochstadt
96c3808460 Add support for specifying keys for ssh.
This allows non-default private keys in the `remote-shell` library.
Also, allow the appropriate private key to be specified for a pkg-build.
2014-11-03 09:14:56 -05:00
Matthew Flatt
edd50a24a8 optimizer: preserve implied properties from a let RHS
In an expression such as

 (let ([x (car y)])
   ....)

the information that `y` must be a pair didn't reach the body of the
`let` in most cases.
2014-11-03 06:06:04 -07:00
Matthew Flatt
89106b6708 optimizer: refine tracking of when space safety is a constraint
Some expression movements are limited by the possibility of retaining
a value in a way that interacts with space safety, but primitives that
return immediately shouldn't get in the way of those movements.
2014-11-03 06:06:04 -07:00