Commit Graph

32694 Commits

Author SHA1 Message Date
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
Vincent St-Amour
68460e72c7 Doc typo. 2014-02-03 14:04:35 -05:00
Vincent St-Amour
04cb236820 Fix unary assert duplicating computation. 2014-02-03 14:04:34 -05:00
Vincent St-Amour
b71a214b45 Comment typo. 2014-02-03 14:04:32 -05:00
Vincent St-Amour
dfe6040a35 Fix doc typo. 2014-02-03 14:04:08 -05:00
Vincent St-Amour
cc0e9319a6 Report another hidden parameter function. 2014-02-03 14:04:08 -05:00
Vincent St-Amour
15adde7d7e Don't rely on sample counts for anything. 2014-02-03 14:04:07 -05:00
Vincent St-Amour
8340e10b5d Compute contract time based on samples, not sample counts. 2014-02-03 14:04:07 -05:00
Vincent St-Amour
594c3406bc Implement path shortening when displaying contract profiles. 2014-02-03 14:04:07 -05:00
Vincent St-Amour
7495243d34 Contract profiler: support incomplete blame objects. 2014-02-03 14:04:07 -05:00
Vincent St-Amour
cc0e67638c Fix contract profiler tests to test more. 2014-02-03 14:04:06 -05:00