Commit Graph

28599 Commits

Author SHA1 Message Date
Patrick Mahoney
a8e99fa572 Remove use of mzscheme fluid-let in favor of parameters. 2013-03-05 02:22:06 -05:00
Eli Barzilay
75ece5c330 Minor sandbox improvements.
* Check `sandbox-path-permissions' for bad values such as
  '(<perm> <path1> <path2>) where <path2> would get silently ignored.

* Try to clarify the intent of `call-in-sandbox-context' as a meta tool
  rather than a safe execution tool.
2013-03-05 02:22:06 -05:00
chrdimo
0939cfcaf9 adding common special for the wrap-proc of the chaperone for option contracts on procedures 2013-03-04 21:48:52 -05:00
Jon Rafkind
e98b56228d autobib: document #:spaces keyword 2013-03-04 19:00:03 -07:00
Jon Rafkind
37f47f7d68 autobib: add #:spaces argument to define-cite that puts N spaces between each bibliography entry 2013-03-04 18:48:41 -07:00
Jon Rafkind
81d58b1cb6 [honu] fix lexical context for require forms. fixup the module name to replace _ with - 2013-03-04 18:48:41 -07:00
Jon Rafkind
9a9b30c751 [honu] many small things: allow with syntax to bind arbitrary patterns. provide time and time-apply. make compress-dollars recurse on sub-expressions. add an implicit pattern variable that consists of the result with an ellipses depth of 1. fix the while form. allow require forms to contain mostly anything and be separated by commas. 2013-03-04 18:48:41 -07:00
Jon Rafkind
c3716d5a97 [honu] mark/unmark syntax parsed through the expression syntax class 2013-03-04 18:48:40 -07:00
Eric Dobson
22ef10c544 Fix heterogeneous vector typechecking. 2013-03-04 09:36:56 -08:00
Eric Dobson
485f246f39 Fix type of set?. Closes PR13509. 2013-03-04 09:17:40 -08:00
Matthew Flatt
114ab498d6 scribble: fix regression in HTML rendering
Fixes a problem with 2d5884b26a.
2013-03-04 07:53:18 -07:00
Matthew Flatt
5e20f51415 fix mark handling for impersonatored procedures to match docs
Using an impersonator property to represent an application mark was
a bad choice. The property gets propagated, so it is also on any later
chaperone layer, and then things go bad: the docs say that special
treatment is triggered by supplying an argument to `impersonate-property',
but it was actually triggered by the chaperone having the property.

Change the implementation to match the documentation. Using an
impersonator property to supply the mark should be regarded as a hack,
but now the implementaiton is at least consistent with the documentaiton.
2013-03-03 10:16:51 -07:00
Matthew Flatt
8c3eb7dcb4 slideshow/pict: add #:alpha' argument to pin-line' 2013-03-03 10:16:50 -07:00
chrdimo
7f67252cb3 replacing applicable structures for procedure options with chaperones + tweak-option + with-contract mode 2013-03-02 23:36:21 -05:00
Robby Findler
be0e32b224 remove a use of normal-case-path
closes PR 6086
2013-03-02 20:41:51 -06:00
Asumu Takikawa
855ce453a0 Fix docs on udp-open-socket 2013-03-02 13:37:29 -05:00
Asumu Takikawa
312792ac4d Set the socket protocol family
Allows the use of an IPv6 nameserver
2013-03-02 13:36:34 -05:00
Asumu Takikawa
3ab83001b4 Support reverse lookups with IPv6 addresses 2013-03-02 14:26:28 -05:00
Asumu Takikawa
cf4c71a51f Shorten IPv6 addresses for display 2013-03-02 14:26:28 -05:00
Asumu Takikawa
c2e8ef30e4 Support querying AAAA records for IPv6 2013-03-02 14:26:27 -05:00
Asumu Takikawa
621fc2b256 Start to add internal documentation 2013-03-02 14:09:30 -05:00
Robby Findler
3a40afaf05 used the wrong dir when checking the info.rkt santity
thanks to Jos Koot for pointing out this bug
2013-03-01 19:38:57 -06:00
Robby Findler
42847ea523 follow up to William J. Bowman's commit
- put the tests together with the other define-union-language tests
- fix the docs
- add a release note
- construct the merged language a bit more directly
- properly deal with this kind of thing:
  (define-language L1 (e f ::= 1 2 3))
  (define-language L2 (e g ::= 4 5 6))
  (define-union-language L L1 L2)
2013-03-01 19:38:57 -06:00
William J. Bowman
b0db8798b6 Changed `define-union-language' to merge nonterminals and their
right-hand-sides instead of causing an error when more than one language
in the union defines the same nonterminal.
2013-03-01 19:38:57 -06:00
Robby Findler
32774924e2 tweak docs 2013-03-01 19:38:57 -06:00
Matthew Flatt
0acb9b8432 doc correction and test additions for `atan'
Closes PR 10324
2013-03-01 15:28:39 -07:00
Matthew Flatt
5ab12b36cf openssl: remove special handling of OpenBSD
This special handling is now built into `ffi-lib'.
2013-03-01 15:20:17 -07:00
Matthew Flatt
cdf0f6b9ab add 'so-mode to `system-type'
To work better with OpenBSD (which has been a problem since we
changed `ffi-lib' to open libraries in "local" mode by default).
2013-03-01 15:20:17 -07:00
Juan Francisco Cantero Hurtado
292c81a826 Fix `configure' for OpenBSD
"-rdynamic" doesn't work with GCC 4.7 on OpenBSD: "cc: error:
unrecognized command line option '-rdynamic'". The switch isn't
necessary because it is only a wrapper to "-Wl,--export-dynamic".
Look GCC bug 37454.
2013-03-01 15:20:17 -07:00
Matthew Flatt
174a80f078 doc repair 2013-03-01 15:20:17 -07:00
Matthew Flatt
cb8dd143d9 slideshow/balloon: add `balloon-enable-3d' 2013-03-01 15:20:17 -07:00
Asumu Takikawa
c4cdcafec4 Minor fix in Guide chapter 11 2013-03-01 16:22:36 -05:00
Asumu Takikawa
94b2ebddfa Add DNS tests 2013-03-01 16:22:36 -05:00
Asumu Takikawa
50cd4645c1 Another small contract fix 2013-03-01 16:22:36 -05:00
Asumu Takikawa
e74c8b1b01 Fix broken link 2013-03-01 16:22:36 -05:00
Asumu Takikawa
ef4b3feb8d Improve Guide chapter 7
* Typos/grammar
 * Fix breakdown of contract error message
 * Show `struct/dc` instead of deprecated lazy contracts
2013-03-01 05:16:43 -05:00
Asumu Takikawa
14c77c39d2 Fix net/dns contracts 2013-03-01 00:48:11 -05:00
Asumu Takikawa
9d08d69d07 Add contracts to net/dns functions. 2013-03-01 00:05:40 -05:00
Robby Findler
3d0af847b6 add macports default path as a place to look for aspell 2013-02-28 20:45:23 -06:00
Eli Barzilay
5e9d1ce92f Use the `not-on-the-web' style *around* the installation comment.
Otherwise making it have a "display: none" style leaves a visible empty
div.
2013-02-28 15:11:04 -05:00
Asumu Takikawa
2065c8203e Guide chapter 6 tweaks 2013-02-28 10:08:54 -05:00
Asumu Takikawa
48d067741b Improve Guide section 5 2013-02-28 10:08:54 -05:00
Asumu Takikawa
43912bef50 Some tweaks for Guide section 4 2013-02-28 10:08:54 -05:00
Matthew Flatt
ca4320467c fix missing initialization of cached inspector reference
The 3m transformation fills it in, but it's obviously
better to be explicit and avoid the bug for CGC.
2013-02-28 12:19:25 -07:00
Matthew Flatt
542c38ebc5 equality: struct transparency and inspector shortcuts and caching
Same as for hashing.
2013-02-28 12:19:25 -07:00
Asumu Takikawa
5790667054 Remove duplicate non-terminals in define-extended-language
Fixes a problem with `define-union-language`
2013-02-28 12:16:25 -05:00
Matthew Flatt
2236363696 fix bug in hashing shortcut for transparency 2013-02-28 10:06:36 -07:00
Chris K. Jester-Young
9e93ee2682 Convert srfi/61/cond to use modern module style.
This ensures that `=>` and `else` have the same bindings as the ones in
`racket/private/cond`; otherwise it would not be possible to use SRFI 61
`cond` from a `#lang racket/base` program/module.

Tested under both `#lang racket` and `#lang mzscheme`.
2013-02-28 10:05:50 -05:00
Matthew Flatt
39aafe3a1e change `eq?' hashing to avoid dropping the low bit for fixnums 2013-02-28 06:51:26 -07:00
Matthew Flatt
7a8c2ff063 improve complexity of `hash-iterate-{key,value}'
For immutable hashes, `hash-iterate-{key,value}' used to take O(N) time on
the first call for a particular table and O(1) thereafter. Now it takes
O(1) time for all calls, the constant is only slightly larger for
the non-first calls, and there's no extra allocation.
2013-02-28 06:51:26 -07:00