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
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
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
Robby Findler
8a08cfcbbf
adjust plai test suite tests to check the ports that things now go to
2013-02-28 07:12:15 -06:00
Eli Barzilay
b84a7bce66
Fix typo in `string-replace' keyword name.
2013-02-28 01:49:50 -05:00
Robby Findler
27d79aac18
don't try to re-use the active frame when it isn't shown
...
This is a bit suspicious, since it isn't clear why a frame
whose show method has been called with #f should be considered
an active frame. Since changing that is a much more dangerous
change then, for now: closes PR 13564
2013-02-27 22:35:39 -06:00
Robby Findler
0d3fc7db93
adjust test case for improved ->i handling in check syntax
2013-02-27 21:30:37 -06:00
Robby Findler
b0ed3b49e0
adjust plai test & co. to print only failing tests to stderr,
...
instead of printing all of them
also, adjust the plai test suites to cope with test results going
to two different places
2013-02-27 21:30:37 -06:00
Robby Findler
48b2410755
fix a bug in ->i parsing
2013-02-27 19:20:27 -06:00
Robby Findler
03751b8f34
Rackety
...
This commit is to giure out just how much Rackety can combat rightward drift
in this file (this was a region of code edited recently for other reasons)
Turns out that the first hunk's rightmost column (of code, not counting
comments) moved left by 39 chars and the second by 40 chars
2013-02-27 19:20:26 -06:00
Robby Findler
727d11df83
adjust plai's test facility to print test failures to stderr
...
instead of stdout (in addition to making errors red in drracket,
this will also make some of the existing test suites more
drdr friendly)
2013-02-27 19:20:26 -06:00
Danny Yoo
f5e85a6503
Modify exn:test:check to support prop:exn:srclocs to produce good error messages even without debugging enabled.
...
Closes PR-13451.
2013-02-27 12:02:00 -07:00
Matthew Flatt
17a99bf1d8
docs tweak
2013-02-27 08:53:43 -07:00
Matthew Flatt
f8c30338db
fix problem with `raco exe' and cross-phase persistent modules
...
Relevant test is "teaching-lang-executable-creation.rkt" iin
"tests/drracket".
2013-02-27 08:53:43 -07:00
Matthew Flatt
abf44f8b49
add `module-compiled-cross-phase-persistent?'
2013-02-27 08:53:43 -07:00
Matthew Flatt
88a36a077c
terminology change again: "cross-phases persistent" modules
2013-02-27 08:53:43 -07:00
Matthew Flatt
c1469b9480
fix a test
2013-02-27 08:53:43 -07:00
Matthew Flatt
a46849f3b9
minor decompiler tweak
2013-02-27 08:53:43 -07:00
Eli Barzilay
ee69dc58bc
Allow "*" directories in distribution specs.
...
Useful to avoid deleting stuff from directories that might have
non-distributed materials.
2013-02-27 10:31:28 -05:00
Robby Findler
574fc8f50f
add a missing arg to jump-to-next-callback
...
closes PR 13560
2013-02-26 21:55:17 -06:00
Robby Findler
9621a58c4c
change expansion of ->i to make renaming work better in check syntax
...
Specifically, when expanding in the body of a dependent argument, put
the original variable for the dependened on field into that code, but
changing the expansion so that the binder becomes the original field's
x, not the x in the dependent declaration list.
This means that, for example, in this program:
(->i ([x any/c]
[y (x) (begin x any/c)]
[z (x) (begin x any/c)]) any)
the first x will be the binder and the other four now count as
bound occurrences.
Also, rip off Casey's redex check syntax tests to add tests
closes PR 13559
2013-02-26 21:55:17 -06:00
Burke Fetscher
76421ee786
Fix expansion for relations in term positions.
...
Explicitly disables random generation for relations in term
positions, but fixes a problem with runtime functionality
for the same.
2013-02-26 21:11:06 -06:00
Matthew Flatt
a04bfa5ba2
fix phase-collapsing-module inference
...
This bug was causing a crash in some DrRacket tests.
2013-02-26 19:19:57 -07:00
Matthew Flatt
e15569e006
add `racket/kernel/init'
2013-02-26 19:01:36 -07:00
Matthew Flatt
2646ff6895
try "phase-collapsing" instead of "phaseless"
2013-02-26 19:01:36 -07:00
Matthew Flatt
2e652fc2b3
fix some "phaseless" module holes
2013-02-26 19:01:35 -07:00
Asumu Takikawa
30c381f0b1
Various improvements to Guide section 3
...
* Examples
* Scheme -> Racket
* Grammar & style
2013-02-26 19:30:54 -05:00
Asumu Takikawa
ef08cc41e7
Enable contract and add a purpose statement
2013-02-26 17:38:05 -05:00
Matthew Flatt
899a3279c2
add experimental support for "phaseless" modules
...
The intent is to support phase-crossing data such as the `exn:fail:syntax'
structure type that is instantiaed by macros and recognized by contexts
that use `eval' or `expand'. Phaseless modules are highly constrained,
however, to avoid new cross-phase channels, and a module is inferred to
be phaseless when it fits syntactic constraints.
I've adjusted `racket/kernel' and improved its documentation a little
so that it can be used to implement a phaseless module (which can
import only from other phaseless modules).
This change also adds a `flags' field to the `mod' structure type
from `compiler/zo-structs'.
2013-02-26 14:55:28 -07:00
Danny Yoo
9b86d4452f
Modify the src-pos error reporting in parser-tools to better show the token context.
...
Addresses PR 9924.
2013-02-26 13:20:47 -07:00
Robby Findler
bc479b41c5
adjust scribble-lexer test to handle errors
2013-02-26 12:41:25 -06:00
Robby Findler
3c295d14d0
fix lexer contract
2013-02-26 12:41:25 -06:00
Robby Findler
478ec22d02
add with-roots to plai's gc languages
2013-02-26 12:41:25 -06:00
Robby Findler
87a8e6f677
fix unstable/2d's lexer to handle eof better
2013-02-26 12:41:19 -06:00
Eli Barzilay
8117b6b471
Change the symlink that serves docs to the one that holds the tweaked version.
2013-02-26 09:43:54 -05:00
Eli Barzilay
d746850664
Add template file for tweaked docs.
2013-02-26 09:43:54 -05:00
chrdimo
a3a98fd933
support for keyword argumnets + transfer-option, exercise-option and waive-option do not raise an error on values without an option
2013-02-25 22:18:17 -05:00
Vincent St-Amour
2846c17cb4
Fix the fix to TR contracts.
2013-02-25 20:10:14 -05:00
Vincent St-Amour
034aacafab
Fix TR contracts.
2013-02-25 19:25:39 -05:00
Vincent St-Amour
088006413f
Generalize type of curry to functions of arity 3+.
2013-02-25 14:03:17 -05:00
Eli Barzilay
2abcb883cd
Minor improvements to version-specific download pages.
2013-02-25 11:08:30 -05:00
Matthew Flatt
d113e79fb5
file/untgz: fix race
2013-02-25 06:44:45 -07:00
Robby Findler
8c0291e2c6
traditional chinese string constants update, also from Chongkai Zhu
2013-02-24 16:40:23 -06:00
Robby Findler
18a5dcb3d3
add port-count-lines? to the lexer contract
2013-02-24 16:37:06 -06:00
Robby Findler
a0059f791a
more 2d lexer repairs
2013-02-24 16:37:06 -06:00
Eli Barzilay
250880d2a4
Add links to old documentations.
...
* The all-versions page has a docs column with html/pdf links, and also
two links in the nightly builds footer.
* Specific version download pages have a link to the docs for that
version. (Only html, to save space.)
2013-02-24 17:12:03 -05:00
Eli Barzilay
9b1247b00d
Revert "Adding link to prior versions of the docs."
...
Instead, add links to the web pages.
This reverts commit 87a5280b13
.
Conflicts:
collects/scribblings/main/config.rkt
2013-02-24 16:59:52 -05:00
Eli Barzilay
c7173cd1c6
Improve `file' tests.
...
* Move sha1 test to the same place, to be run like the others.
* Unify tests for untar and unzip.
* Also improve them: test results instead of failing with errors. Also,
generate random text to archive, and use 0 for group+other permission
bits (to avoid world writable results on an error).
2013-02-24 15:16:00 -05:00
Eli Barzilay
cae6b53178
Make cat%' into a macro so
~a' etc get a proper name.
2013-02-24 15:16:00 -05:00
Eli Barzilay
7d2aa88f3d
Improve label generation code.
2013-02-24 15:16:00 -05:00
Matthias Felleisen
3818954dc3
properly named
2013-02-24 15:13:42 -05:00
Robby Findler
b3e803c757
add context information into the error messages for option contracts
...
Also, minor code cleanup (don't create a function and pass it
around when has only one thing in its closure and you can
just pass that around, especially when passing the function around
makes the code harder to read and the created function has to
have a "dot" arglist and use "apply" in its body)
2013-02-24 09:04:47 -06:00
Robby Findler
4b8813bb0e
adjust syntax browser to work better for literal hashes and vectors
...
closes PR 13537
2013-02-23 20:26:57 -06:00
Robby Findler
814b9e490c
add a keystroke to widen a rectangle
2013-02-23 20:12:56 -06:00
Robby Findler
fe515e3ac7
fix bugs in unstable/2d lexer
2013-02-23 20:12:56 -06:00
Robby Findler
40363da511
forgot to add this file in my previous commit
2013-02-23 19:50:34 -06:00
Robby Findler
d25cbed6c0
add scrollbars
2013-02-23 16:51:30 -06:00
Robby Findler
5e2cc344c8
change the option setup: everyone has an option contract now and
...
the module lexer either exercises or not, depending on its level of trust
2013-02-23 16:26:46 -06:00
Robby Findler
64d7911fe5
add has-option? to check if a value has an option contract or not
2013-02-23 16:26:46 -06:00
Robby Findler
18c009276d
fix up tests to reflect the module-lexer now behaves a little
...
better wrt to its first result
That is, instead of just returning the string "#lang" it now
returns the actual text that was there (it was supposed to be
doing that all along and my recent commit fixed it, but I
missed the test cases)
2013-02-23 15:42:43 -06:00
Danny Yoo
18889de808
Add 'extra' to emphasize the intended meaning.
...
Closes PR 13550.
2013-02-23 13:59:07 -07:00
Danny Yoo
9dd81411b0
Use @racket[] on the unquote-splicing identifier so that we get good hyperlinking.
...
Closes PR 13548.
2013-02-23 13:43:36 -07:00
Robby Findler
b0343aa9f0
add a contract on the interaction between the module-lexer and the
...
lexers it defers to
also, remove the checks in color.rkt in the framework (they are not
all covered by the added contract, but they mostly are and when they
aren't, most of those times are using the heavily tested racket-lexer)
2013-02-23 14:35:25 -06:00
Matthew Flatt
4cc9eb0326
Revert "racket/draw win32: work around a Pango bug"
...
This reverts commit 8f9606007f
.
Figured out how to compile and fix Pango after all.
2013-02-23 08:42:36 -07:00
Eli Barzilay
334e1cfdd9
Some style things.
2013-02-23 02:09:56 -05:00
Eli Barzilay
cec73f5652
Newlines at EOFs scan.
2013-02-23 02:09:56 -05:00
Patrick Mahoney
b265e260b2
Move eopl language to Racket.
...
- sllgen.rkt - use begin-for-syntax+define-syntax instead of
define-syntax-set.
- eopl.scrbl - rewrite *3-columns so that it no longer errors when 3
doesn't divide the number of reprovided lang forms.
- Removal of mzscheme and mzlib requires.
- Updated docs.
2013-02-23 02:08:30 -05:00
Eric Dobson
f6df93ed96
Make mutable lists be sequences.
2013-02-22 21:01:21 -08:00
Robby Findler
b40e38bb11
fix documentation errors
...
closes PR 13543
2013-02-22 15:55:10 -06:00
Robby Findler
d403f3c6db
add docs to address how image equality, rounding, and alpha values
...
can conspire to confuse
closes PR 13541
2013-02-22 15:40:08 -06:00