Commit Graph

34756 Commits

Author SHA1 Message Date
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
Matthew Flatt
9a94366c2c optimizer: fix reordering problems
When a variable X is bound to an expression that implies properties of
other bindings, and if X is used only once and can be replaced by
its value expression, then further optimization of that expression must
not assume the properties that are established by evaluating the
expression.

Also, don't move expressions past unsafe operations, since the expression
might implicitly guard against unsafety.

Closes PR 14819
2014-11-03 06:06:04 -07:00
Matthew Flatt
0d6deb84de README tweak
Based on a suggestion from freshlikeesch.
2014-11-03 06:06:04 -07:00
freshlikeesch
b424e97e60 Professionalism
Line 11: "may" instead of "can"
Line 11: "implies" instead of "means"
Line 14: "states" instead of "means"
Line 17: -resources should be clear and separated-
2014-11-03 06:06:04 -07:00
Matthew Flatt
823e8cf8d3 repair for more recent MinGW
I think that `-static-libgcc` didn't solve any problems with gcc
3.7.x, but with 3.8.x, divdi3() shows up, and that leads to
a "libgcc_s.dll" dependency unless `-static-libgcc` is used.
2014-11-03 06:06:04 -07:00
Asumu Takikawa
03153d46ec Update TR type for current-process-milliseconds 2014-11-03 01:25:15 -05:00
Asumu Takikawa
f59b36a951 Fix Editor<%> and Snip% types 2014-11-02 22:10:43 -05:00
Matthew Flatt
c7688818fa racket/gui gtk: fix event handling on choice%
Button-click handling foir `choice%` could continuously
re-queue an event that isn't handled by default, leading
to stack overflow and a crash.
2014-11-02 09:14:29 -07:00
Matthew Flatt
795d26a673 setup/dirs: don't include (find-dll-dir) in (get-lib-search-dirs)
I don't see a reason to include `(find-dll-dir)` in the result of
`(get-lib-search-dirs)`. It's practically always redundant, and
including it causes problems for sandboxes --- since `(find-dll-dir)`
must inspect the Racket executable on Windows and Mac OS X, and that
access is normally not allowed by a sandbox.
2014-11-02 08:40:29 -07:00
Matthew Flatt
822541e0a0 sync version in "base" package 2014-11-02 07:33:46 -07:00
Leif Andersen
627c775b6f Add 'subprocesses mode to current-process-milliseconds 2014-11-02 06:41:59 -07:00
Asumu Takikawa
566668e0b9 Adjust type of log-level? for recent changes 2014-11-01 21:48:18 -04:00
Matthew Flatt
0b200abe63 unbreak GC for Linux and some other Unix variants
Corrects another problem with cceda78374.
2014-11-01 14:08:11 -06:00
Matthew Flatt
fe557c0e93 Cygwin: one more repair
Also, add a missing dependency that caused me to miss this correction
before.
2014-11-01 10:42:28 -06:00
Matthew Flatt
cdf0dc8ed2 Windows: MinGW fixes 2014-11-01 08:17:52 -06:00
Matthew Flatt
cceda78374 restore Cygwin support
Fix various configuration problems, and make the build work with 3m
(probably for the first time).

The repairs include corrections for the manual link table, but also
switch Cygwin to relying on normal DLL exports, instead, to work
properly with the FFI.

The `--enable-shared` comfiguration option is no longer required for
Cygwin. When it is used, the `gracket` launcher does not work right,
because the Cygwin DLL is in the "bin" directory and "gracket.exe" is
in the "lib" directory. Along similar lines, stand-alone executables
won't work with `--enable-shared`.

The change to `ffi/winapi` makes it match the documentation.
2014-11-01 06:50:24 -06:00
Matthew Flatt
d7ee4c3fb5 change logger terminology: "name" => "topic"
Originally, the symbolic "name" of a logger was just a string to
prefix any message sent to a logger. The symbol has evolved instead
into a first-class component of an event to be used for message
selection and filtering; the word "topic" more clearly communicates
that role.

This is just a documentation change. The `logger-name` function would
be better called `logger-default-topic`, but it's staying the same for
compatibility.

Based on comments from Tony Garnock-Jones.
2014-10-31 16:48:41 -06:00
Matthew Flatt
58eb802468 add log-all-levels and log-level-evt
These two functions allow the creation of relays that receive events
on logger B where there are interested receivers for logger A.

Based on comments from Tony Garnock-Jones.
2014-10-31 16:48:41 -06:00