Commit Graph

25360 Commits

Author SHA1 Message Date
Matthew Flatt
d93f4214a4 fix `compiler/zo-parse', etc. for phase-shift addition 2012-05-13 09:00:28 -06:00
Robby Findler
dfad46cd7a added blame context information to vector/c and vectorof contracts 2012-05-13 08:38:57 -05:00
Matthew Flatt
f5e3182345 fix dependency of DrRacket tool module on docs 2012-05-13 07:13:18 -06:00
Matthew Flatt
7519b851d3 comment out test that creates a bad dependency
The right long-term solution may be a `strip' operation that
removes `test' submodules for a distribution.
2012-05-13 06:57:44 -06:00
Matthew Flatt
92db2b4fb3 zo-parse update for phase-shift syntax object marshaling 2012-05-13 06:57:44 -06:00
Matthew Flatt
562df19714 avoid compiler warning 2012-05-13 06:57:44 -06:00
Matthew Flatt
84d1c6dc06 remove sfi links from the Reference
In consultation with Ryan. We'd prefer to have versions of all
useful things in a `racket/...' library that is consistent as
possible with Racket forms and conventions.
2012-05-13 06:57:44 -06:00
Matthew Flatt
906180ebe8 doc edits 2012-05-13 06:57:44 -06:00
Matthew Flatt
1d1f4dfc3c fix docs on `prop:{require,provide,provide-pre}-transformer' 2012-05-13 06:57:44 -06:00
Matthew Flatt
45659b0cc1 fix doc example
Closes PR 12768
2012-05-13 06:57:44 -06:00
Robby Findler
0278b9e0af fix bug in example code noted by Ray Racine 2012-05-12 22:10:10 -05:00
Robby Findler
52fa588f7a deprecate define-contract-struct (also fix a broken require in the contract docs) 2012-05-12 22:10:04 -05:00
Robby Findler
2eb3264b44 added a test to make sure struct/dc signals an error when getting an impersonator
contract on an immutable field that has no dependencies
2012-05-12 22:09:09 -05:00
Eli Barzilay
1a824c2b50 New Racket version 5.3.0.7. 2012-05-12 10:45:27 -04:00
Matthew Flatt
bfbccb918d fix reference to non-existant private contract module 2012-05-12 01:37:51 -06:00
Matthew Flatt
964020f288 implement scribble/srcdoc' via submodules instead of expand'
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
2012-05-12 01:37:50 -06:00
Matthew Flatt
d836cba7c9 refine lexical scope for syntax objects from different modules
For example, if definitions have two unmarked `x's that originate
from different modules, make them correspond to different bindings.

This improvement will be used by `scribble/srcdoc', which will
rely on module context to connect `for-doc' requires to documentation
code that appears in the same module --- which is needed, for example,
if a macro expands to documentation code and the macro is used in
a different module.
2012-05-12 00:59:14 -06:00
Matthew Flatt
2f9a0f4b94 fix bad refactoring 2012-05-12 00:55:12 -06:00
Matthew Flatt
9412ea0707 add `syntax/quote' library 2012-05-12 00:55:12 -06:00
Matthew Flatt
67c57efa1d fix an error message 2012-05-12 00:55:12 -06:00
Matthew Flatt
8fc3d25be4 cm: collect dependencies for submodules 2012-05-12 00:55:12 -06:00
Matthew Flatt
1432912357 racket/draw: fix outline adjustment in `draw-rectangle' and others 2012-05-12 00:55:12 -06:00
Matthew Flatt
dbd940611e allow #f as shift for `syntax-shift-phase-level' 2012-05-12 00:55:12 -06:00
Robby Findler
698c895413 adjust struct/c so that it just expands into struct/dc 2012-05-11 22:07:52 -05:00
Jay McCarthy
93d8e89b66 Better error messages, plus fix for the tag syntax 2012-05-11 20:13:29 -06:00
Jay McCarthy
409b717ec2 Clarifying the use of the name of the argument in s/s/d 2012-05-11 20:13:29 -06:00
Robby Findler
329d3bb3c8 add some example code showing how to bind a menu to a key via the keymaps 2012-05-11 07:13:55 -05:00
Eli Barzilay
7f940de6f9 Fix `array-set!' for arrays of more than 2 dimensions.
Closes PR 12765.
2012-05-11 06:18:21 -04:00
Eli Barzilay
621fd87b51 Warn when a given collection has nothing to compile, abort with an error all are empty. 2012-05-11 06:18:21 -04:00
Eli Barzilay
b20575b1c9 Switch to `racket', and a bunch of code cleanups.
There should not be any functionality change in this commit, but please
keep an eye for possible problems.
2012-05-11 06:18:20 -04:00
Eli Barzilay
48b0b50647 Minor improvement, and recognize a ".plt" suffix in any case. 2012-05-11 06:18:20 -04:00
Robby Findler
9401a537e0 extend the opters to track if a contract has any negative blame
(this is similar to being flat, but struct contract (lazy ones) can
be non-flat and still have no negative blame).

Use this to optimize struct/dc contracts; specifically when a contract
has no negative blame, then we don't need to add additional wrapping
for indy-ness.

This ended up being fairly tricky to handle the case where there
are several mutually recursive define-opt/c functions. The code
tracks which definitions depend on which ones and does a graph traversal
of the dependencies to find if there is any non-negative blame
possible. Naturally, this uses Racket's macro system to communicate
between the definitions.
2012-05-10 21:59:39 -05:00
Robby Findler
7221d01483 refactored contract opters so they return structs instead
of (8!) multiple values
2012-05-10 21:59:39 -05:00
Kevin Tew
4c59943b0d [Distributed Places] Remove caps and camelcase 2012-05-10 19:58:52 -06:00
Kevin Tew
154a96ab1f [Distributed Places] Docs clean up part 1 2012-05-10 15:36:58 -06:00
Kevin Tew
076e698e8c [Distributed Places] RMPI docs 2012-05-10 15:36:58 -06:00
Kevin Tew
c619f7cbbf [Distributed Places] more docs, removed old functions, RMPI function renames 2012-05-10 15:36:58 -06:00
Kevin Tew
1fab365129 [Distributed Places] fix kmeans hang 2012-05-10 15:36:58 -06:00
Kevin Tew
5be7a7d980 [Distributed Places] simple MPI layer over distribute places 2012-05-10 15:36:58 -06:00
Jay McCarthy
b703148833 Fixing bad re-indent.. I think? 2012-05-10 12:37:27 -06:00
Jay McCarthy
611e8d0d17 Changing from racket to racket/base in xml, html, and web-server 2012-05-10 10:36:29 -06:00
Jay McCarthy
f675514a2b scribble/lp on racket/base vs scheme/base 2012-05-10 10:36:29 -06:00
Jay McCarthy
042defedb6 Branch remove fix 2012-05-10 10:36:29 -06:00
Matthew Flatt
2d027e7ee5 scribble/eval: add eval:result' and eval:results' 2012-05-09 19:11:21 -06:00
Matthias Felleisen
cc8e988346 fixed mistakes in posn documentation; Closes PR 12755 2012-05-09 12:04:44 -04:00
Ryan Culpepper
78a2ea535b added link from Continue to db docs on servlets 2012-05-09 09:17:52 -06:00
Ryan Culpepper
00fd18bc62 db: various fixes and additions
- fix connection-pool for nested tx, fix race condition
 - ensure connected? always nonblocking
 - added and reorganized some doc sections
 - added grouping, contracts to in-query
 - added rows->dict
2012-05-09 09:17:52 -06:00
Ryan Culpepper
aa0d8aaa33 fix bug in db docs intro
closes PR 12743
2012-05-09 09:17:52 -06:00
Ryan Culpepper
902ba68dfb db: add servlet-based test 2012-05-09 09:17:52 -06:00
Eli Barzilay
7738f21a5b Move the srfi references to the section ends. 2012-05-09 04:11:17 -04:00