Commit Graph

21591 Commits

Author SHA1 Message Date
Stevie Strickland
d3ebf21d97 Fix the unit contract tests due to changes in contract violation reports. 2011-07-03 00:47:58 -04:00
Jay McCarthy
de9aec3051 Allowing paths in big-bang's record? argument and adjusting a test to make use of that feature. It would also be good to allow bitmap to take paths, but that is non-trivial, because of its assumption that non-literal strings are module paths 2011-07-02 20:13:39 -07:00
Matthew Flatt
3dcb19007d protect the expansion of `enter!' 2011-07-02 19:41:27 -06:00
Matthew Flatt
b57cf0134f fix typos 2011-07-02 19:18:11 -06:00
Jay McCarthy
8da2f537fb Another test that is sensitive to the contract error message text 2011-07-02 14:50:24 -07:00
Jay McCarthy
7a602b8864 What are tests for anyway? 2011-07-02 14:47:54 -07:00
Jay McCarthy
439bbc6d8f Another broken test courtesy of refactoring, not testing, and ignoring DrDr. In this case, it seems like the user should not have relied on the function always returning a string (based on the old documentation---not the name, which implies a string comes out), so I've changed the use rather than the function. 2011-07-02 14:34:41 -07:00
Jay McCarthy
8d6827e741 Thank you for breaking tests by a semantics-ignoring Search&Replace and then ignoring that DrDr caught the break. 2011-07-02 14:15:20 -07:00
Jay McCarthy
f55ec3def7 It is very odd that racket/load doesn't let this work 2011-07-02 14:04:52 -07:00
Jay McCarthy
65ebdc4f90 Fixing this test 2011-07-02 14:01:32 -07:00
Jay McCarthy
bd46637210 This test is sensitive to the JIT, it seems 2011-07-02 13:51:31 -07:00
Jay McCarthy
88bf52c88b These tests are sensitive to the contract error messages 2011-07-02 12:19:41 -07:00
Jay McCarthy
14bc3afe90 Increasing timeout based on linear projection 2011-07-02 12:17:01 -07:00
Jay McCarthy
467833d4e7 Initializing flag to remove GCC error 2011-07-02 12:13:21 -07:00
Jay McCarthy
4a9ec78844 Different server path 2011-07-02 11:52:04 -07:00
Jay McCarthy
0896792e23 Showing files by status 2011-07-02 11:52:04 -07:00
Jay McCarthy
984215fd87 A little reformating 2011-07-02 11:52:04 -07:00
Matthias Felleisen
a1c219a068 eliminated superfluous require for-syntax, refactored and cleaned up; fixed bug in test? 2011-07-02 13:34:02 -04:00
Matthew Flatt
8aa4ff1b06 syntax taint repairs 2011-07-02 10:08:15 -06:00
Robby Findler
df6590b80f adjust contract violation message by putting the name at the start of the message. For example, this:
contract violation, expected <(or/c (quote clean) (quote armed) (quote tained))>, given: #f
  contract on wrapped from 'zo-structs, blaming 'no-dep
  contract:
     (->
        any/c
	(listof wrap?)
	(or/c 'clean 'armed 'tained)
	wrapped?)
  at: C:\tmp3.rkt:6.21

becomes this:

wrapped: contract violation, expected <(or/c (quote clean) (quote armed) (quote tained))>, given: #f
  contract from 'zo-structs, blaming 'no-dep
  contract:
     (->
        any/c
        (listof wrap?)
        (or/c 'clean 'armed 'tained)
        wrapped?)
  at: C:\tmp3.rkt:6.21

(apologies if the indenting isn't quite right above; vi messed with it when I tried to paste it in ...)
2011-07-03 00:04:12 +08:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eli Barzilay
4da4a2759b New setup/path-to-relative' that supersedes unstable/dirs' and most of
`setup/private/path-utils'.

The API is a little different: instead of getting the alist and the
path, there's a curried function that gets the alist and produces a
function to do the substitutions.
2011-07-02 01:10:38 -04:00
Eli Barzilay
1276568558 Combine two let's into a let*', use some #'s. 2011-07-02 01:10:38 -04:00
Eli Barzilay
f86687de9c Use 'user-collects in `library-relative-directories', since "<user>" by
itself is ambiguous.

(Since this is used in contract messages, this might be a visible
difference; it still seems to me that "<user>" would be confusing.)
2011-07-02 01:10:38 -04:00
Eli Barzilay
6b44974b42 Improvements around uses of the current `unstable/dirs', and
`setup/path-relativize'.

`setup/path-relativize' is freed from a bunch of things that were due to
historical baggage, but some remain.  (Also, update its docs.)
2011-07-02 01:10:38 -04:00
Eli Barzilay
3e755eba11 Misc improvements 2011-07-02 01:10:38 -04:00
Eli Barzilay
226f86d201 Try to improve the tests wrt timeouts and memory limits 2011-07-02 01:10:38 -04:00
Matthew Flatt
98740390fa adapt demodularizer to `compiler/zo-struct' change 2011-07-01 22:46:20 -06:00
Ryan Culpepper
4d38f491ca moved algol60 and honu docs to experimental category
remove empty doc categories
2011-07-01 20:13:52 -06:00
Vincent St-Amour
80bea07d5c Fix typo. 2011-07-01 21:27:04 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
b163edff9b clean up my clumsy first attempt to adapt the web-server languages
for syntax taints
2011-07-01 17:11:16 -06:00
Matthew Flatt
69434370cb allow fd 0 to be used as place signaling pipe 2011-07-01 15:04:39 -06:00
Matthew Flatt
e46a470f8d places fixes: Windows leaks, custodian force-exit, stdio interaction 2011-07-01 14:31:56 -06:00
Vincent St-Amour
27d7ad1e87 Have letrec build unions in canonical form. 2011-07-01 16:06:15 -04:00
Eric Dobson
4439638308 Don't export required bindings with all-defined-out and require/typed.
Closes PR11425.
2011-07-01 16:06:15 -04:00
Carl Eastlund
97642c1cb6 Fixed syntax/parse bug:
Syntax classes with keyword arguments were unintentionally requiring all
arguments at an application site to be in alphabetical order.
Added a test for this fix.
2011-07-01 15:32:34 -04:00
Matthew Flatt
59731368fc add ffi/winapi; use it in mzlib/os
Closes PR 12007
2011-07-01 10:42:17 -06:00
Stevie Strickland
4f761ddb2f Use fold-left instead of map for an example of a nonuniform vararg function.
Fixes PR12014.
2011-07-01 12:00:35 -04:00
Matthew Flatt
dca102a7f1 document place termination better
e.g., the fact that the exit handler is set in a place
2011-07-01 09:30:11 -06:00
Matthew Flatt
3078d5c494 clean up place exit handling
- don't crash on multiple kills or waits
 - allow the OS to reclaim the place thread when it exits on its own
2011-07-01 09:30:11 -06:00
Matthew Flatt
0f42552a0e place fd clean-ups
and better handling of a place-creation failure due to pieces
 at the OS layer
2011-07-01 09:30:10 -06:00
Eli Barzilay
faf74c789f New Racket version 5.1.1.8. 2011-07-01 03:50:21 -04:00
Robby Findler
69b5daa9e6 remove docs tests that no one was interested in 2011-07-01 11:38:09 +08:00
Kevin Tew
c6c1f9d533 Fixed missing bracket 2011-06-30 16:53:45 -06:00
Kevin Tew
7bd4ba9b11 place-dead-evt docs 2011-06-30 15:52:29 -06:00
Matthew Flatt
c8f235ba1c fix `slideshow/code' for datum after multi-line datum
as in
   (a b
      c) d
 or
   (a b
      c) (code:comment "here")
2011-06-30 13:08:28 -06:00
Matthew Flatt
e921f20b6a disable (minimize?) smoothing for `draw-bitmap' in 'unsmoothed mode 2011-06-30 12:25:56 -06:00
Vincent St-Amour
cd34760a33 Add a test case for struct-based match expanders.
Closes PR11617.

Using the taint system, the bug is fixed.
2011-06-30 14:21:52 -04:00
Eric Dobson
e3c4955ac9 Changed order type annotations are processed. Closes PR 11560. 2011-06-30 14:01:47 -04:00