Commit Graph

31578 Commits

Author SHA1 Message Date
Asumu Takikawa
f32a42f2f4 Fix a printing bug for some type results 2014-01-24 00:42:30 -05:00
Asumu Takikawa
8ad0e6b52a Fix debug printing mode for pretty-printed types
Previously, pretty-printing for types would override the
debug mode by bypassing normal printing. Instead, switch
the `pretty-format-type` function to a debug version when
in debug mode.
2014-01-24 00:42:30 -05:00
Robby Findler
6509c8be20 run-collapsed doesn't work with WXME mode 2014-01-23 21:37:24 -06:00
Asumu Takikawa
120ce62bbb Allow other kinds of for clauses in for/hash:
Closes PR 14306
2014-01-23 12:14:48 -05:00
Robby Findler
6484eed468 fix contract test case 2014-01-22 21:35:49 -06:00
Matthew Flatt
8a9a592c3c racket/gui win32: fix handling of @2x bitmaps
Closes PR 14310
2014-01-22 20:19:29 -07:00
Matthew Flatt
392ea2e91d scribble: ++args for passing command-line arguments to documents 2014-01-22 20:04:13 -07:00
Asumu Takikawa
6b954be2c7 Make TR tests pass with contracts on again 2014-01-21 21:21:43 -05:00
Asumu Takikawa
1b458c97d7 Update TR mutation error message to new format 2014-01-21 21:21:43 -05:00
Asumu Takikawa
00387001dc Export type-mismatch and use pretty-printing
Previously, the internal `expected-but-got` handled the
pretty-printing but it makes more sense to do it in
`type-mismatch` since it's useful for other modules.
2014-01-21 21:21:43 -05:00
Asumu Takikawa
a1b79f0bd2 Fix type printer test
Forgot to change the test string for commit
b5bc363916
2014-01-21 20:22:39 -05:00
Asumu Takikawa
b0213b7ebe Add doc examples for other TR REPL commands 2014-01-21 18:53:25 -05:00
Asumu Takikawa
b5bc363916 Use pretty-printing for all TR REPL commands 2014-01-21 18:52:45 -05:00
Eli Barzilay
c61a549840 2013 -> 2014 2014-01-21 15:02:21 -05:00
Robby Findler
e744d07f5b attempt to clarify define-match-expander behavior
(that confused me)
2014-01-21 09:44:11 -06:00
Asumu Takikawa
fca126bf01 Fix arity of write-to-file method in text%
Found via TR. The two last arguments are supposed to be
optional but the method only accepted 1 or 3 arguments.
2014-01-21 10:32:48 -05:00
Asumu Takikawa
14b133296f Fix editor canvas admin bug found by TR
The `grab-caret` method's argument is supposed
to be optional according to the documentation.
2014-01-20 22:21:13 -05:00
Asumu Takikawa
7eb1a4ba42 Fix "ill-typed" overriding of get-view method
The interface says the last argument of this method
is optional. The bug was found via TR.
2014-01-20 22:21:13 -05:00
Eric Dobson
f2431bd819 Make case-> reduce to -> when it can. 2014-01-19 13:15:44 -08:00
Richard Hopkins
7a2be548c8 Correct typos: INSTALL.txt, MzCOM, ffi/com 2014-01-19 16:09:32 -05:00
Asumu Takikawa
018e950634 Remove unnecessary keyword from generics examples 2014-01-19 11:18:56 -05:00
Asumu Takikawa
54e24e42c6 Fix doc typos 2014-01-17 10:22:33 -05:00
Asumu Takikawa
b5d4333d2c Fix type inference helper on AnyValues range
This bug allows a test to be written for the previous
commit. Previously, it would throw a match error.
2014-01-16 17:42:01 -05:00
Asumu Takikawa
0efc6d59e7 Fix types for process and process*
Closes PR 14297
2014-01-16 17:42:01 -05:00
Robby Findler
0a110a30be adjust the source location on metafunction def-before-use errors
closes PR 14289
2014-01-15 21:33:17 -06:00
John Clements
14458fdf43 doc clarification on init-auto-scrollbars 2014-01-15 13:04:38 -08:00
Robby Findler
c8086e30e0 some small changes to the fonts (perhaps for the update to osx 10.9) 2014-01-15 13:50:22 -06:00
Robby Findler
d645f21f4a adjust bitmap test to just show the diffs right away
(because it is a lot faster now than it used to be, thanks
to earlier improvements)

Also, Rackety
2014-01-15 13:50:21 -06:00
Robby Findler
b5cfb7affe Adjust rewrite-side-conditions/check-errs so that it
returns the ellipses names in addition to the regular names

keeping the names in the pattern and including them in the last
two results

closes PR 14291
2014-01-15 13:50:21 -06:00
Matthew Flatt
a391556faa scribble/manual: improve defstruct layout
The old layout used column spans that created ugly space around parentheses
for some combinations of field-name and keyword-modifier lengths. The new
layot avoids the problem by breaking the keyword modifiers into their
own table.
2014-01-15 10:31:11 -07:00
Matthew Flatt
77392cd027 scribble/manual: break defthing output lines if needed
If the defined identifier plus contract doesn't fit on a single
line, put them on separate lines.
2014-01-15 10:31:11 -07:00
Matthew Flatt
bfda0665de add syntax/wrap-modbeg 2014-01-15 10:31:11 -07:00
Matthew Flatt
780d6ae566 x86_64: minor bignum performance boost
Incorporate a few x86_64 assembly routines from the latest GMP,
which provides a small speed boost for operations such as bignum
multiplication and division.
2014-01-15 10:31:11 -07:00
Eric Dobson
a33b26fc04 Optimize cons/sc contracts. 2014-01-15 08:40:08 -08:00
Eric Dobson
74d79a5051 Optimize away recursive contracts in more cases. 2014-01-14 23:49:31 -08:00
Eric Dobson
6d05e41a24 Make numeric contracts in unions better. 2014-01-14 22:52:18 -08:00
Eric Dobson
4ad412d71c Add tests to check conversion of types to static contracts. 2014-01-14 22:31:21 -08:00
Eric Dobson
9bd577c426 Remove unused require. 2014-01-14 19:37:13 -08:00
Eric Dobson
93e9aaf996 Make typechecking code use label instead of template for binding. 2014-01-14 19:37:13 -08:00
Eric Dobson
eaaa4b2923 Minor cleanup in utils. 2014-01-14 19:37:12 -08:00
Eric Dobson
7a31c966c8 Reduce for-template imports in environment code. 2014-01-14 19:37:12 -08:00
Eric Dobson
4537b52b6a Reduce and document template requires in types. 2014-01-14 19:37:12 -08:00
Eric Dobson
3d0cadf0a8 Make tc-app code match using label phase. 2014-01-14 19:37:11 -08:00
Eric Dobson
e8c65ff759 Make annotate classes use for label. 2014-01-14 19:27:10 -08:00
Eric Dobson
476c7666b7 Make parse-type do a for-label require. 2014-01-14 19:27:10 -08:00
Robby Findler
cd4de75193 make sure redex-match? does the duplicate non-terminals check
closes PR 14290
2014-01-14 16:56:41 -06:00
Eric Dobson
403a8b42e9 Add possible to TR optimizer message 2014-01-14 08:48:07 -08:00
Eric Dobson
dad6c6dec4 Add float optizations back (but only on floats). 2014-01-14 08:48:07 -08:00
Eric Dobson
70d9f4bdb6 Change messaging on non float complex expressions. 2014-01-14 08:48:07 -08:00
Eric Dobson
4fb96bdfa5 Move broken float optimizations out of main syntax class.
Introduces slight regression in already broken checks.
2014-01-13 22:35:41 -08:00