Commit Graph

24628 Commits

Author SHA1 Message Date
Ryan Culpepper
e086d237cd moved unstable/mutated-vars back to typed-racket 2011-12-18 13:57:49 -07:00
Ryan Culpepper
bf21e5b765 pruned unstable/bytes (moved some code back to web-server)
Corrected contracts from serializable? to printable/c.
2011-12-18 13:57:49 -07:00
Ryan Culpepper
dd061bdb17 removed unstable/net/url (moved code back to web-server) 2011-12-18 13:57:49 -07:00
Ryan Culpepper
7f345fe067 removed unstable/gui/language-level 2011-12-18 13:57:49 -07:00
Ryan Culpepper
6ac708a3da pruned unstable/syntax 2011-12-18 13:57:49 -07:00
Ryan Culpepper
d803e55a5b removed resolved commentary from unstable/struct 2011-12-18 13:57:49 -07:00
Ryan Culpepper
7ef56fbfc5 pruned unstable/string (moved some code back to web-server) 2011-12-18 13:57:48 -07:00
Ryan Culpepper
52aefa6e35 removed unstable/require 2011-12-18 13:57:48 -07:00
Ryan Culpepper
a4c6c7cfce pruned unstable/port 2011-12-18 13:57:48 -07:00
Ryan Culpepper
fd2554d6fc removed unstable/path (moved code back to single use in web-server) 2011-12-18 13:57:48 -07:00
Ryan Culpepper
bc7401d4d9 pruned unstable/function 2011-12-18 13:57:48 -07:00
Ryan Culpepper
e4e89b0bc9 removed unstable/exn (moved code to single use in web-server) 2011-12-18 13:57:44 -07:00
Ryan Culpepper
f21b871760 removed unstable/dirs 2011-12-18 13:57:22 -07:00
Ryan Culpepper
53fc18008c removed unstable/dict (no uses) 2011-12-18 13:57:14 -07:00
Ryan Culpepper
4f9da1fd1c pruned unstable/define 2011-12-18 13:56:00 -07:00
Ryan Culpepper
f99d79ef10 pruned unstable/contract
Removed unused code. Removed nat/c, pos/c as they correspond to
standard predicates.
2011-12-18 13:56:00 -07:00
Ryan Culpepper
b12d284055 fixed typo 2011-12-18 13:14:03 -07:00
Matthew Flatt
6bae0fc036 clarify `letrec' spec 2011-12-18 07:27:32 -07:00
Matthew Flatt
4fed17704a avoid `racket/gui' tests that can't work on X 2011-12-18 07:27:32 -07:00
Matthew Flatt
1b4f13e674 scribble: avoid line-break between "#" and "<void>" 2011-12-18 07:27:32 -07:00
Matthew Flatt
4b1f746714 enable R5RS map' & for-each' (i.e., mmap' and mfor-each') inlining 2011-12-18 07:27:32 -07:00
Mike Sperber
a657b0217e Fix for line3d's `create-viewport-matrix'.
Submitted by David Herrmann.
2011-12-18 14:37:34 +01:00
Mike Sperber
16a27c6391 For DMdA languages, document which signatures work with `check-property'.
Namely, not the singular record signature, but the signature
constructors of `define-record-procedures-parametric'.

(We'd done this before, but that patch got reverted, without the
doc part getting reinstated.)
2011-12-18 14:18:42 +01:00
Mike Sperber
7fac9193fa In the DMdA languages, create arbitrary for record signature without fields.
This way, you don't have to use define-record-procedures-parametric
for records like this:

(define-record-procedures empty
  make-empty empty?
  ())
2011-12-18 14:18:42 +01:00
Mike Sperber
c080940d02 Fix infinite recursive signatures.
Such as this, submitted by Torsten Grust:

(define-record-procedures-parametric stream_ stream-of
  make-stream
  stream?
  (stream-head stream-tail))

(define stream
  (lambda (t)
    (signature (stream-of t (-> (stream t))))))

(: from (number -> (stream number)))
(define from
  (lambda (n)
    (make-stream n (lambda () (from (+ n 1))))))

(: foo (stream number))
(define foo (from 1))

The problem was that the arbitaries got evaluated too eagerly.
2011-12-18 14:18:42 +01:00
Ryan Culpepper
6742c308d9 db: fix sqlite3 memory corruption bug 2011-12-16 19:18:46 -07:00
Vincent St-Amour
664245ae69 Add in-slice sequences.
Patch from David Vanderson.
2011-12-16 13:50:25 -05:00
Robby Findler
a122ea725d fix a bug in the kill-safe abstraction that is designed to protect
the state that online check syntax uses (indirectly via scribble)
to lookup documentation.

since the kill-safe abstraction moved some computation over to
another thread, the values of various parameters (current-directory
in this case) were not preserved. So when scribble then ended up
resolving a module path with the wrong current directory, this
bad value got cached. Then later, when check syntax tries to figure
out what file to open to jump to it, it got the cached bogus value
(even though current-directory was right when check syntax asked
for the filename).

closes PR 12538
2011-12-15 20:37:15 -06:00
Robby Findler
a2bbcf8b00 tighten up the contract 2011-12-15 20:37:14 -06:00
Matthew Flatt
c9d214138e make `choice-evt' take O(N) time for N arguments
Delay flattening nested `choice-evt's to `sync'.
2011-12-15 16:04:08 -07:00
Sam Tobin-Hochstadt
ff74b262cf Global seed to debug fuzzer timeouts. 2011-12-15 13:53:04 -05:00
Robby Findler
fd89d560b2 fix docs 2011-12-15 10:34:06 -06:00
Robby Findler
39e4454f51 added docs for the pkg-info.ss url to planet 2011-12-15 08:44:39 -06:00
Robby Findler
a88d9ca116 missed a place to add an undatum 2011-12-15 08:44:39 -06:00
Robby Findler
c91d004729 more cleanup of the rendering for the case when (format "~s" x)
and (format "~a" x) are different (when 'x' is a symbol)
2011-12-15 08:44:39 -06:00
Eli Barzilay
6960767508 New Racket version 5.2.0.7. 2011-12-15 03:50:18 -05:00
Sam Tobin-Hochstadt
7802eda605 Better types for fourth' -- tenth'. 2011-12-14 19:06:05 -05:00
Matthew Flatt
ee775c3cc3 intern strings, etc. only when making syntax objects, not in `read'
Rename `read-intern-literal' to `datum-intern-literal'.

Interning is needed only in `read-syntax' or `datum->syntax' to
set up the invariants that the bytecode compiler needs for cross-module
optimization. When `read'ing numbers from a data file, meanwhile,
interning slows things down a lot and doesn't seem worthwhile.
2011-12-14 16:03:44 -07:00
Jay McCarthy
a16caef298 Revising docs a little to help use dispatch-rules 2011-12-14 11:53:15 -07:00
Matthew Flatt
7ac1232c46 restore and fix chaperone-apply path
with another little performance improvement
2011-12-14 09:56:48 -07:00
Matthew Flatt
a7ddbedc7d disable a part of the new chaperone eval path that isn't right 2011-12-14 09:17:47 -07:00
Matthew Flatt
c8fcf2a0a4 remove datum', etc. from mzscheme' 2011-12-14 06:37:45 -07:00
Matthew Flatt
558b03034a streamline thread-local setup in JIT-generated code
Pass a pointer to the thread-local table on entry to JIT-generated
code, instead of having the JIT-generated code call a C function
to get the table. This doesn't seem to improve performance on my
machine, but it generates less code and is probably faster in
some cases.
2011-12-14 06:21:06 -07:00
Matthew Flatt
761a40d483 faster paths for chaperone application 2011-12-14 06:21:06 -07:00
Matthew Flatt
f7c506471b remove redundant arity checking calling JIT-generated code
JIT-generated code has arity checking built in, but the
interpreter-to-JIT path unnecessarily checked arity before
jumping to JITted code.
2011-12-14 06:20:08 -07:00
Ryan Culpepper
d312744aae db: make debugging easier 2011-12-13 23:51:31 -07:00
Ryan Culpepper
b355abfdb3 db: allow mysql-connect without db 2011-12-13 22:18:13 -07:00
Ryan Culpepper
fd74709e1c db: implement mysql auth plugin support, old password support
related to PR 12415
2011-12-13 22:17:51 -07:00
Ryan Culpepper
32c5e3c9d2 avoid resolving module-path-index (current-directory may not be set right) 2011-12-13 17:38:21 -07:00
Asumu Takikawa
1ec2f9ca82 Fix doc inconsistency for require/typed. 2011-12-13 16:54:01 -05:00