Jay McCarthy
2ebcb2afd1
Fix drdr discovered problem
2011-04-06 16:00:54 -06:00
Jay McCarthy
af57e0419c
Fixes PR11793.
...
It was very hard to figure out why � is invalid. Both the XML 1.0 and 1.1 specs say that a CharRef can be '&#' [0-9]+ ';' (sec 4.1), but there is a note on the side that it must also be a valid Char. The Char definition (sec 2.2) then lays out which characters are valid. (The 1.0 and 1.1 specs disagree though.) I've gone with the 1.1 definition.
I did not update the rest of the reader to disallow those characters in pcdata segments. If this hurts you or you morally disagree, submit another PR, please.
2011-04-06 11:14:25 -06:00
Stevie Strickland
6494bf863e
Changing absent so that fields may be specified as well as methods.
2011-04-05 15:03:46 -04:00
Matthew Flatt
d359daa5f5
fix problem with chaperones and keywrd procedures
...
Closes PR 11833
2011-04-04 21:15:44 -06:00
Stevie Strickland
eafacc78a0
Adding `absent' to class contracts.
...
The `absent' clause lists public methods which must _not_ exist in the
contracted class.
2011-04-04 19:38:27 -04:00
Matthew Flatt
df2a875ff4
Scribble: simplify content that is conditioned on the render mode
...
including a new `scriblib/render-cond' library
2011-04-04 10:45:02 -06:00
Vincent St-Amour
9c3bee03e7
Fix bounded-fixnum opts to only fire with the right number of arguments.
2011-04-01 14:56:17 -04:00
Robby Findler
b926b17d7e
fix the obvious bug wrt to procedures returned from make-keyword-procedure, but something is still wrong
...
related to PR 11833
2011-04-01 09:12:05 -05:00
Ryan Culpepper
896cb86dc4
syntax/parse: added phase options to define-literal-set
2011-04-01 00:57:04 -06:00
Ryan Culpepper
2e2bc02303
syntax/parse: fixed obsolete test cases
2011-04-01 00:54:29 -06:00
Robby Findler
d4e6f99b74
fix the algorithm for determining if a > that is typed in an
...
XML box ends an opening tag or not
closes PR 11792
2011-03-31 17:26:03 -05:00
Kevin Tew
26d7768d3d
Rename place-channel-recv place-channel-receive
2011-03-31 13:36:40 -06:00
Matthew Flatt
d00c8a6c71
Scribble: fixes for text output, especially inset nested flows
2011-03-30 19:53:32 -06:00
Robby Findler
5b879d0680
add missing require, fix opt/c test suite
2011-03-29 22:43:18 -05:00
Jay McCarthy
113e0aa184
Fix issue found by Eric Tanter
2011-03-29 09:24:36 -06:00
Matthew Flatt
0fda70b7ca
fix region% problems
...
- fail gracefully with pre 1.4 Cairo
- clip all drawing for an empty clipping region
- disallow `is-empty?' on a region without a DC
(since the test depends on the DC dimensions)
2011-03-28 15:15:57 -06:00
Matthew Flatt
6e1f35a319
fix WXME stream write-bytes' and
write' method results
2011-03-27 16:30:44 -06:00
Robby Findler
4021f55c61
fixed up broken tests
2011-03-27 16:13:44 -05:00
Matthew Flatt
84d8bb3726
racket/sequence repairs
...
including addition of `sequence-generate*'
2011-03-27 10:02:11 -06:00
Robby Findler
f3b0a7454a
improved the error messages for #:pre and #:post violations in ->i by including the bindings for the variables
2011-03-26 08:12:30 -05:00
Kevin Tew
00696cbfac
variable-reference->module-source test
2011-03-25 15:04:02 -06:00
Robby Findler
288caacdfd
added get-extend-start-position and get-extend-end-position
...
added the extend-position method
adjusted the wxme.rkt test suite so that it only prints when tests fail
2011-03-25 15:10:49 -05:00
Robby Findler
614ec41ab7
extended struct-copy so that you copy adjust fields from super structs
2011-03-25 08:47:27 -06:00
Matthew Flatt
60c4acb094
Scribble: clean up text-mode output
...
- line-flow paragraphs to fit in 72 columns
- better indentation for itemizations
- format tables with paragraphs and nested tables
2011-03-20 17:19:03 -06:00
Matthew Flatt
b2e338cc43
add missing autobib test
2011-03-20 15:38:51 -06:00
Matthew Flatt
ed96b89c45
JIT-inline `list?'
2011-03-20 09:51:32 -06:00
Matthew Flatt
e652546bf5
add streams to `racket'
...
- rename old `racket/stream' to `racket/sequence', and adjust
to avoid stateful iterations
- add a new `racket/stream' library with a `strean-cons' that is based
on SRFI 41
- adjust `for' and some sequence constructors like `in-range' to
work more directly with streams
2011-03-18 19:05:23 -06:00
Kevin Tew
ae8b326522
[Places] added place-kill
2011-03-18 15:06:11 -06:00
Vincent St-Amour
3ebe9e78f9
Optimize add1 and sub1 on floats and fixnums.
2011-03-18 13:25:05 -04:00
Vincent St-Amour
1f0386b46c
Improve TR's fixnum optimizations, using the new sub-fixnum types.
2011-03-18 10:25:22 -04:00
Vincent St-Amour
ee29d371c9
Updated TR's base type environment to use the new numeric types.
...
This ended up being an almost complete rewrite of the base environment.
Note: While the commit is dated Jan 27, the work was finished on Mar 2.
2011-03-18 10:25:21 -04:00
Vincent St-Amour
88fac43d55
Add an Exact-Number type.
2011-03-18 10:25:20 -04:00
Vincent St-Amour
80a9027f1e
Take the meet of constraints earlier in the inference process.
...
This avoids constraint explosions in some cases, notably when working
with polydots and plain variable arity functions at the same time.
However, this also weakens inference a bit (breaks it for
unholy-terror and related tests), but not in a way that affects any
practical use cases that I know of.
2011-03-18 10:25:19 -04:00
Vincent St-Amour
f8528ac892
Change type of make-sequence to reflect changes to its implementation.
2011-03-17 18:43:57 -04:00
Vincent St-Amour
35161a0ba6
Fix expected optimization logs to reflect changes to for.
2011-03-17 13:10:19 -04:00
Vincent St-Amour
498ee4bea1
Fix TR's GUI test harness.
2011-03-17 13:10:19 -04:00
Vincent St-Amour
e9789c6697
Fix the 2-argument case of atan to conform to the documentation and
...
fix the documentation.
2011-03-17 13:10:19 -04:00
Matthew Flatt
ad8e959a98
tweak performance of `for' with non-inlined sequences
2011-03-16 17:02:53 -06:00
Matthew Flatt
c51daeb392
clean up sequence & generator tests
2011-03-16 16:21:26 -06:00
Matthew Flatt
4b39efdee4
fix `syntax-local-bind-syntaxes' argument checking
...
Closes PR 11808
2011-03-16 06:36:48 -06:00
Matthew Flatt
0efcf22ed4
racket/generator: clean-ups, including planned generalization
...
- syntax is now (generator formals body ...+)
- add `generator?'
- remove common run-time code from the `generator' macro expansion
- doc fixes
- start test suite
2011-03-15 20:14:01 -06:00
Matthew Flatt
b9c4bbae67
futures: limit parallelism via custodians
...
Closes PR 11682
2011-03-15 14:43:18 -06:00
Matthew Flatt
6a79ebdc97
adjust racket/gui test to cover no-border tab-panel%
2011-03-15 12:44:11 -06:00
Matthew Flatt
a2d968a5d2
fix `init-manual-scrollbars'
...
Closes PR 11781
2011-03-15 12:41:59 -06:00
Matthew Flatt
343b6fb008
Scribble: fix caching of hyperlinked identifiers
2011-03-15 11:09:10 -06:00
Eli Barzilay
09698c800c
Improve the error message from scribble text rendering tests.
2011-03-15 11:45:40 -04:00
Matthew Flatt
449a634b2f
add missing test for commit ae8705611b
2011-03-11 13:19:52 -06:00
Matthew Flatt
5afacbbb1c
fix `pretty-print' confusion about quasiquote
...
Closes PR 11796
2011-03-11 08:02:30 -06:00
Matthew Flatt
a5a7076fe0
`file-or-directory-permissions': expose more info, add write mode
...
and add `user-read-bit', etc., to `racket/file'
2011-03-11 02:50:06 -06:00
Matthew Flatt
2b3827504b
make test suite hit tab panels more
2011-03-11 02:50:05 -06:00