Commit Graph

28599 Commits

Author SHA1 Message Date
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
Matthew Flatt
bb9068641b racket/draw win32: Pango patch
Closes PR 13513
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
Robby Findler
17d6e162bc minor clarifications of the docs (that would have helped me
understand some of the details better).
2013-02-22 15:40:08 -06:00
Danny Yoo
7558eb4c9e Conditionally link to the SRFI docs on docs.racket-lang.org when rendering PDFs.
Closes PR 11804.
2013-02-22 12:06:19 -07:00
Matthias Felleisen
200c20967d make read-csv-file/rows available in BSL; closes PR 13542 2013-02-22 12:39:12 -05:00
Robby Findler
09f9f31213 various 0-sized image repairs
closes PR 13540
2013-02-21 19:25:48 -06:00
Danny Yoo
61db1d6405 Add link to the syntax of the @-reader.
Also defines the "@-form" term in the @-syntax section due to its
frequency.

Closes PR-12589.
2013-02-21 15:03:01 -07:00
Asumu Takikawa
e8b49e2c82 Add doc subforms for keyword types 2013-02-21 15:35:14 -05:00
Asumu Takikawa
1cf1e1baa4 Add an example for local-require 2013-02-21 14:45:45 -05:00
Vincent St-Amour
e69f66fd00 Add examples of function types with keyword arguments. 2013-02-21 10:49:58 -05:00
Vincent St-Amour
034d7245a4 Filters for comparisons with inifinity. 2013-02-21 10:49:57 -05:00
Vincent St-Amour
12aaa229a3 Fix subtyping for Negative-Single-Flonum. 2013-02-21 10:49:57 -05:00
Matthew Flatt
42b8163f8f fix docs on `case'
The Guide was was out-of-date in several ways, and the Reference
didn't describe the dispatch-time guarantee.
2013-02-21 08:34:54 -07:00
Matthew Flatt
71cffcffdf fix Guide spec for when' and unless'
Closes PR 13538
2013-02-21 08:34:54 -07:00
Matthew Flatt
772afd94fd fix docs for `begin0'
It's body currently isn't an internal-definition position.
2013-02-21 08:34:54 -07:00
Robby Findler
c37cd388a2 adjust docs example to use collection-file-path and
to say a little more about checksums
2013-02-21 07:49:24 -06:00
Eli Barzilay
de2aa509ac New Racket version 5.3.3.5. 2013-02-21 03:30:15 -05:00
Eric Dobson
18d90115e7 Make naturals be a sequence type. 2013-02-20 21:25:02 -08:00
Eric Dobson
4f9f00680e Make (Set a) a subtype of (Sequenceof a).
Closes PR13485.
Closes PR12615.
2013-02-20 21:25:02 -08:00
Eric Dobson
a7bc758505 Fix subtyping of invariant data structures.
Closes PR13521.
2013-02-20 21:25:02 -08:00
Eric Dobson
ddb8e7f807 Add subtyping for Parameters.
Closes PR11992.
This required moving more stuff in to base-abbrev so that it could be
used in subtype.
2013-02-20 21:25:02 -08:00
Eric Dobson
0b87c999b3 Make struct types overlap with procedures.
Closes PR11971.
2013-02-20 21:25:02 -08:00
Robby Findler
5eddac7482 fix the use of impersonator-ephemerons in the framework preferences library 2013-02-20 21:13:02 -06:00
Robby Findler
a25a073bc3 new simplified string constants; from Chongkai Zhu 2013-02-20 21:13:01 -06:00
Robby Findler
661c29b8d4 tweak 2013-02-20 21:13:01 -06:00
Danny Yoo
fa4fb3ebaf Add reference to the DrRacket interface essentials from the Quick Start guide.
This adds a tag to DrRacket File menu docs.  It adds two margin notes
to the quick start, one linking to the essentials for using DrRacket,
and the other for saving Definitions.

Addresses PR 9501.
2013-02-20 17:15:32 -07:00
Danny Yoo
0b0ce6574a Note that integer-sqrt produces exact output when given exact input.
Closes PR 9542.
2013-02-20 16:39:36 -07:00
Stephen Chang
9e26cd0b7a one more integer-set test 2013-02-20 18:34:58 -05:00
Stephen Chang
aeff5922b7 add test for integer-set:
- check that taking the rest of an integer-set results in a proper integer-set
2013-02-20 18:32:01 -05:00
Stephen Chang
bd1141c670 fix bug in getting "rest" of an integer-set 2013-02-20 17:54:17 -05:00