Asumu Takikawa
0efd90f846
Fix subtyping for keyword function types
...
Closes PR 14252
Closes PR 14257
2014-01-13 11:36:55 -05:00
Robby Findler
e2070a4abc
fix arity error
2014-01-12 23:37:09 -06:00
Robby Findler
4d123bb26d
fall back to the slow path when application expression looks wrong
...
closes PR 14279
2014-01-12 23:37:09 -06:00
Robby Findler
04628e3516
remove accidentally left behind logger
2014-01-12 23:37:08 -06:00
Neil Toronto
2cd8064bdd
Added #:unscaled? keyword argument to `bitmap->flomap'
2014-01-12 22:24:44 -07:00
Asumu Takikawa
d202f415d9
Add "when to add type annotations?" to TR Guide
...
Based on a discussion from PR 14244
2014-01-12 23:11:01 -05:00
Eric Dobson
2076199838
Ensure that we coerce to double flonums.
2014-01-12 13:22:14 -08:00
Eric Dobson
7c945d36c0
Add new known bug.
2014-01-12 13:21:13 -08:00
Eric Dobson
97158e9e6f
Mark TR exp bug as fixed.
2014-01-12 12:54:00 -08:00
Eric Dobson
960da4579a
Fixup anyvalue handling in call-with-values.
...
Closes PR 14214.
2014-01-12 09:50:50 -08:00
Eric Dobson
695f73bad7
Reduce duplication in init-env code and clean up its interface.
2014-01-12 09:46:22 -08:00
Matthew Flatt
c1af595c1b
scribble/manual: fix history
for Latex/PDF
2014-01-11 19:30:39 -07:00
Matthew Flatt
f78a25ce41
Scribble Latex/PDF: avoid new "stabular.sty" by embedding a copy of old
2014-01-11 19:27:15 -07:00
Neil Toronto
9ca8c71aad
Added #:value keyword to defproc',
defparam', `defthing' and related
...
Also fixed `defproc*' example
2014-01-11 17:41:15 -07:00
Eric Dobson
ceb819a67b
Improve compile-omit-paths for typed-racket tests.
2014-01-11 12:30:01 -08:00
Eric Dobson
775dd1509d
Make tests have better names and remove duplicates.
2014-01-11 12:30:01 -08:00
Eric Dobson
0e8cf664f4
Simplify special-env-typecheck-tests and give them better names.
2014-01-11 12:30:00 -08:00
Eric Dobson
ffe0aa4a5d
Make tr unit tests not run TR printer on test creation.
...
This makes it so that only running a subset of the tests is faster.
2014-01-11 12:30:00 -08:00
Eric Dobson
7a1ca9f124
Make interactive tests faster and support fresh namespaces.
...
Cuts off about 5-10% of unit test time.
Reuse existing module registry that is shared with all the other tests.
Fresh namespaces means that changes in one test do not affect other
tests.
Only bring in typed/racket/base so that it loads faster.
2014-01-11 12:30:00 -08:00
Matthew Flatt
07eeb9ace4
fix docs for test-engine/racket-test
2014-01-11 11:03:46 -06:00
Matthew Flatt
e02a1af037
fix Same for Retina displays
2014-01-11 11:03:46 -06:00
Asumu Takikawa
b8feb283cd
Fix reference typos
2014-01-10 17:27:58 -05:00
Vincent St-Amour
5e35c7b2fb
Fix typos in french string constants.
2014-01-10 11:30:11 -05:00
Matthew Flatt
dc8d2fb7fc
fix memory problem with places & built-in structure types
...
Thanks to Asumu for tracking down the problem.
2014-01-10 06:54:37 -06:00
Philippe Meunier
9807a1ceeb
yearly french update, and fixed a couple of typos in english version
2014-01-10 18:16:13 +09:00
Robby Findler
9b5fc9ea37
remove attempt to purify an already pure port
...
closes PR 14275
2014-01-09 23:48:53 -06:00
Matthew Flatt
33b7f6f92f
package binary strip: work on "info.rkt" files that use `(module ....)
2014-01-09 14:07:26 -06:00
Matthew Butterick
258aa82282
adjust CSS selector for blue boxes in documentation
2014-01-09 13:03:28 -06:00
Matthew Flatt
2d2cd2744c
racket/gui win32: fix for backing-scale
...
Closes PR 14278
2014-01-08 23:08:14 -06:00
Matthew Flatt
bf3fa13bb8
scribble: document all scribble/manual
CSS style classes
...
Includes a few Scrible bug and documentation repairs.
2014-01-08 23:08:14 -06:00
Matthew Flatt
ba99bba668
net/http-client: restore use of abandon
...
The difference between `abandon` and `close-output-port` seems to
matter for downloading PLaneT packages on some networks. Using
`abandon` does not seem to create any problems now that an extra
"\r\n" is not incorrecty included in PUT/POST requests.
2014-01-08 23:08:14 -06:00
Robby Findler
370418ac2e
strengthen shortcut-prefix contract
...
(technically, strengthen the way it is written in the docs; it
was already being enforced that way)
2014-01-08 13:42:54 -06:00
Robby Findler
a7304d18eb
add some missing custom printers (to recursive-contract)
2014-01-08 13:42:53 -06:00
Matthew Flatt
5e0182029f
scribble: document all scribble/base
CSS style classes
...
A demo document (linked from the Scribble manual) demonstrates how
to trigger each style class and what it looks like with the default
and manual styles.
2014-01-08 07:50:27 -07:00
Matthew Flatt
c4f4ba4ca3
scribblings config: 'keep-style and 'no-search flag, 'omit-start section
...
The 'keep-style avoids imposing the Racket manual style on a
document, while 'no-search omits the search box. The 'omit-start
section is like 'omit, but the document is still indexed and
available for cross-references.
Also, recognize a 'prefixable tag shape so that the set of tags
hat support prefixing is extensible.
2014-01-08 07:33:28 -07:00
Matthew Flatt
86df55a877
scribble/manual: make racketblock
fall back to racket
-style spacing
...
When source-location information isn't available, usually due to macros
in compiled modules, make `racketblock` fall back to `racket`-like
spacing. This improvement is visible, for example, in the documentation
for functions like `recycle-icon`.
Using `quote-syntax/srcloc` in a macro is probably a better solution,
because that will preserve the original layout including line breaks,
but the default-spacing fallback seems like an improvement over
unreadable output.
2014-01-07 16:22:07 -07:00
Matthew Flatt
409c8ef512
racket/enter: add dynamic-enter!
2014-01-07 15:07:39 -07:00
Matthew Flatt
60f5f512e8
scribble: doc repair
...
Closes PR 14219
2014-01-07 14:38:03 -07:00
Matthew Flatt
a7bc240b3c
setup/[main-]collects: doc and error-message repairs
...
Closes PR 14222
2014-01-07 14:09:10 -07:00
Asumu Takikawa
4b248de215
Fix broken TR test
...
Sorry, forgot to merge this into commit
892887b
before pushing the last set of changes.
2014-01-07 14:33:49 -05:00
Asumu Takikawa
b7974ec3c2
Add documentation for struct-type types
2014-01-07 13:53:16 -05:00
Asumu Takikawa
892887ba71
Add tests for struct-type types
2014-01-07 13:53:16 -05:00
Asumu Takikawa
2bfa5ea4ea
Improve base types for struct-type operations
2014-01-07 13:53:16 -05:00
Asumu Takikawa
ae80c216c3
Refine handling of types for struct-types
...
- Added a top type for struct-types
- Print struct-type types consistently
- Add support for parsing struct-types
- Allow polymorphism within a Struct-Type
2014-01-07 13:39:39 -05:00
Asumu Takikawa
878b67a4a6
Add types for syntax/stx
as typed/syntax/stx
2014-01-07 13:37:46 -05:00
Asumu Takikawa
91a1ff262b
Add a #lang for additional base type environments
...
These are for base type environments that get required
rather than loaded with #lang typed/racket.
2014-01-07 13:37:46 -05:00
Matthew Flatt
4fe1673475
fix (more) closure type tracking for a procedure with only an unused rest arg
...
Fixs the repair in fe12a32dc3
Relevant to PR 14259
2014-01-07 10:22:58 -07:00
Matthew Flatt
331825700b
fix bad interaction among JIT, 3-D macro, and bytecode reader
...
Closes PR 14186
2014-01-07 10:22:58 -07:00
Asumu Takikawa
6e36795523
Convert check-below.rkt error msgs to new format
2014-01-07 12:06:09 -05:00
Asumu Takikawa
0488ce9e0b
Add TR helpers for new Racket error notation
2014-01-07 12:06:09 -05:00