Commit Graph

31932 Commits

Author SHA1 Message Date
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
Max New
889ad57fff Fix typo in redex docs 2014-02-03 12:30:52 -06:00
Eric Dobson
7b8b2cf324 Add tests for fixnum operations on the boundary conditions.
Also change type of - on negative fixnums to be more precise.
2014-02-03 09:31:19 -08:00
Robby Findler
f774a9098e fix error message for set-field! and dynamic-set-field! 2014-02-03 10:06:06 -06:00
Robby Findler
a75e770534 add missing provide 2014-02-02 22:00:10 -06:00
Robby Findler
7bec967c0d adjust class/c so the expansion is slightly smaller
that is, instead of (class/c [m (->m integer? integer?)] n) turning
into a call to a constructor that has calls to coerce-contract for
the 'm' method, it instead expands the 'n' method contract into an
identifier reference (that isnt' bound to #f, since #f is coercable to
a contract) and the 'm' contract argument just sits there in the expansion
2014-02-02 21:34:30 -06:00
Robby Findler
2989918a4f break up class/c's representation into the internal and external parts
The main change in this commit is to refactor the class/c projection
such that it actually build two classes internally when only a single
class/c is applied to a single class. The goal is to further adjust
class/c so that the projection corresponding to the external method
contracts goes away (to be replaced by a new strategy) and the
projection corresponding to the internal method contracts gets delayed
using some as-yet-underminded strategy that avoids creating the new
class until someone actually creates a subclass.

This commit, but itself, however is a performance lose to the tune of
about 2 megabytes in DrRacket's startup footprint. Hopefully this
doesn't last too long.
2014-02-02 08:28:39 -06:00
Robby Findler
5c1fb8686d edito 2014-02-02 07:35:41 -06:00
Matthew Flatt
a6c28c2c06 raco setup: fix test for installing doc CSS to user-specific location
For example, if a package is installed in user scope where no
user-scope documentation is already built, CSS files need to be
in place for the main page of user-specific documentation.
2014-02-01 09:46:46 -07:00
Matthew Flatt
01a5dd2dbf document parameter settings of a new place 2014-02-01 09:46:45 -07:00
Mike Sperber
bfe39644a1 Synch German string constants with latest. 2014-02-01 15:19:16 +01:00
Ryan Culpepper
b97e6d6acd v5.93 installers info 2014-01-31 18:20:50 -05:00
Asumu Takikawa
f1adc8e856 Update typed/net/url
Closes PR 14330
2014-01-31 11:35:30 -05:00