Commit Graph

32254 Commits

Author SHA1 Message Date
Max New
3b2b1fb977 Use disjoint sum in redex production enumerators 2014-02-10 06:55:07 -06:00
Asumu Takikawa
71a20b9b0b Add doc examples for define/contract 2014-02-09 11:14:50 -05:00
Asumu Takikawa
a84f11f970 Minor wording fix in Guide 2014-02-09 11:14:50 -05:00
Matthew Flatt
416b680d74 scribble/text: add outputable/c and contract checks
The `outputable/c` contract is currently just an alias for
`any/c`, however, because checking the contract seems to be
too expensive.
2014-02-09 06:39:39 -07:00
Robby Findler
eebabe35ce check context closure language requirements properly
closes PR 14346
2014-02-08 22:50:57 -06:00
Robby Findler
5cbca3741f edit define/contract boundary discussion 2014-02-08 21:16:30 -06:00
Robby Findler
4d12021dbf disable the new class/c implementation for now
the new implementation doesn't provide eq? guarantees
as often as the old one does, so hold off on this until
we can sort that out. Thanks to drdr for pointing out
the problem:

http://drdr.racket-lang.org/28156/pkgs/drracket-pkgs/drracket-test/tests/drracket/teaching-lang-save-file.rkt
2014-02-08 20:42:37 -06:00
Asumu Takikawa
d37158bd76 Add initial prose for define/contract in the Guide
This commit adds a few sections that explain some of
the subtleties of nested contract boundaries.
2014-02-08 21:28:45 -05:00
Robby Findler
f26279bfa2 fix bugs in the interaction between subclasses and external class/c contracts 2014-02-08 12:39:02 -06:00
Robby Findler
788ec1d87d fix interaction of mixins and contracted classes 2014-02-08 09:09:49 -06:00
Asumu Takikawa
72ef0a9323 Add other future/place primitives to TR base-env
Also fixed the type of `place-dead-evt`.
2014-02-08 09:49:11 -05:00
Asumu Takikawa
50711f7a6e Adjust prose in how-to-doc section of Scribble docs 2014-02-08 09:49:11 -05:00
Matthew Flatt
f1521de96b scribblings/html/resource: allow #f renderer for URL conversion 2014-02-07 22:36:01 -07:00
Matthew Flatt
8a14fbd5b1 raco pkg: fix strip of package without "info.rkt" 2014-02-07 22:36:01 -07:00
Matthew Flatt
0ad3a6a7f6 split "scribble-html-lib" package out of "scribble-lib" package 2014-02-07 22:36:01 -07:00
Matthew Flatt
ce31b5965c Scribble docs: split preprocessor variants into a separate manual 2014-02-07 22:36:01 -07:00
Robby Findler
a1293d4284 add forgotten file 2014-02-07 23:17:46 -06:00
Robby Findler
e47c0efa1f change class/c to keep a vector of wrapper methods, not a hash table
this change is mostly motivated by improving how generics work on
contracted objects.

Also fix dynamic-send

TR's optimizer seems to get angry at the new send expansion, so
disable optimizations auto-language.rkt and insert-large-letters.rkt
(for now)
2014-02-07 22:18:56 -06:00
Vincent St-Amour
615f2150de Report unspecialized comparisons.
Slower than specialized comparisons, and make futures block.
2014-02-07 16:26:51 -05:00
Ryan Culpepper
ed5a4ff619 improve error message for bad attribute values
closes PR 14340
2014-02-06 23:28:52 -05:00
Asumu Takikawa
8133559442 Fix doc contract for list-box% 2014-02-06 17:24:47 -05:00
Vincent St-Amour
32133df12b Fix TR optimizer tests for new source locations. 2014-02-06 15:54:57 -05:00
Vincent St-Amour
741a11a1b7 Fix for to propagate source locations in more cases.
Thanks to Tobias Hammer for the patch.

Closes PR 14343.
2014-02-06 15:54:26 -05:00
Vincent St-Amour
a2204a0740 Expose missing blame parties to the contract profiler.
Done by pairing up incomplete blame objects with the missing blame party
before attaching it to the continuation mark. Other approaches were
explored (having a separate mark for each, imperatively updating blame
objects to add missing blame parties, etc.), but pairing had the least
overhead.
2014-02-06 15:01:29 -05:00
Vincent St-Amour
11732128b3 Check for incomplete blame information and error. 2014-02-06 15:01:29 -05:00
Vincent St-Amour
7d45129fca Fix get-custom-snapshots to conform to the docs. 2014-02-06 15:01:28 -05:00
Matthew Flatt
01ca493389 scribble-{doc,lib}: fix package dependencies 2014-02-06 05:47:56 -07:00
Matthew Flatt
f943d37d7d scribble/html: first cut at documentation 2014-02-05 21:58:48 -07:00
Matthew Flatt
cdb5c9dfdb scribble/text: finish documentation 2014-02-05 21:54:14 -07:00
Robby Findler
6535d33db5 unbreak racket: disable the new class/c in favor of the old one (for now) 2014-02-05 15:02:53 -06:00
Robby Findler
4f65d57f80 Adjust class/c to use the new strategy for the external
parts of a contract (field, method, init, absent clauses)

Still to do:

- delay the creation of the class that checks internal contracts
  until a new derived class is created from a contracted class.

- extend the new implementation so it handles interface contracts
  (currently the old version of the external contracts is still there,
  just to handle this case)

The first of those is what (I hope) will bring down the memory
footprint for class/c contracts.
2014-02-05 13:42:03 -06:00
Asumu Takikawa
41fa9dfac9 Add contracts for synchronizable events 2014-02-05 11:37:53 -05:00
Asumu Takikawa
25907189f3 Fix evt chaperones for multiple-valued evts 2014-02-05 11:37:53 -05:00
Matthew Flatt
27f62a591e macro expander repair
Fix problem with sealing annotations on module contexts generated
to record a context identity.
2014-02-04 20:57:37 -07:00
Matthew Flatt
b31f309de1 racket/draw and racket/gui: fix error reporting
Repair change from 5e903441a4 that added support for keyword
arguments.

Closes PR 14325
2014-02-04 18:08:11 -07:00
Matthew Flatt
af28d4175d scribble/sigplan: fix problem that makes doi required
Closes PR 14311
2014-02-04 17:59:26 -07:00
Matthew Flatt
0eb9975f66 JIT: fix fast path for with-continuation-mark
Incorrect bitwise shift caused a fast-path test to be too
conservative.
2014-02-04 16:29:46 -07:00
Asumu Takikawa
755998ba82 Simplify printing for list type special cases 2014-02-04 18:12:38 -05:00
Matthew Flatt
f801fe0736 places: improve and extend logging of place-related events 2014-02-04 14:27:52 -07:00
Asumu Takikawa
739f236da3 Fix printing of rest argument types in TR
This was a regression that snuck in with pretty printing
2014-02-04 16:18:06 -05:00
Asumu Takikawa
5634ad75eb Fix typo in Reference 2014-02-04 15:57:34 -05:00
Asumu Takikawa
c162928c5a Update list of typed libraries 2014-02-04 11:31:11 -05:00
Ryan Culpepper
cdc2aaa70c add dynamic-require/expose 2014-02-04 11:11:57 -05:00
Ryan Culpepper
06a10c0110 fix require/expose for quoted module paths and submodules
closes PR 14331

Also, use namespace of use site, not rackunit (makes a difference
if rackunit is attached?)
2014-02-04 11:11:57 -05:00
Ryan Culpepper
0b934997b3 module->namespace: accept module-path-indexs and resolved-module-paths 2014-02-04 11:11:57 -05:00
Ryan Culpepper
464811eae8 fix negative DECIMAL w/ fraction on mysql 2014-02-04 11:11:57 -05:00
Ryan Culpepper
1b2e5bdfc9 expand DECIMAL tests for mysql 2014-02-04 11:11:53 -05:00
Matthew Flatt
756b110287 makefile: add dependency of ".app"s "Info.plist" on Racket version
The "Info.plist" file in an ".app" embeds the version number.
2014-02-04 06:46:54 -07:00
Vincent St-Amour
f32a61dfc9 Add indexing for style guide.
Now shows up when searching for "style guide".
2014-02-03 14:04:35 -05:00
Vincent St-Amour
a13332f3ae Fix path shortening for missing blame information. 2014-02-03 14:04:35 -05:00