Re: [racket-dev] Pre-Release Checklist for v6.0.1

2014-04-25 Thread Doug Williams
Done.


On Thu, Apr 17, 2014 at 4:44 PM, Ryan Culpepper ry...@ccs.neu.edu wrote:

 Checklist items for the v6.0.1 release
   (using the v6.0.0.900 release candidate build)

 Search for your name to find relevant items, reply when you finish an
 item (please indicate which item/s is/are done).  Also, if you have any
 commits that should have been picked, make sure that the changes are in.

 Important: new builds are created without announcement, usually whenever
 I pick a few commits.  If you need to commit changes, please make sure
 you tell me to pick it into the release branch.

 -- Release candidates are at
 --   http://pre-release.racket-lang.org/

 Please use these installers (or source bundles) -- don't test from
 your own git clone (don't test the `master' branch by mistake!).  To
 get the tests, you can do this:

   cd ...racket-root...
   ./bin/raco pkg install -i main-distribution-test

 --

 * Matthew Flatt mfl...@cs.utah.edu
   - Racket Tests
   - Languages Tests
   - GRacket Tests (Also check that `gracket -z' and `gracket-text' still
 works in Windows and Mac OS X)
   - mzc --exe tests
   - .plt-packing Tests
   - Games Tests
   - Unit Tests
   - Syntax Color Tests
   - R6RS Tests
   - JPR's test suite
   - Create an executable from a BSL program
   - Run COM tests
   - Try compiling with -funsigned-char
   - Try compiling with TEST_ALTERNATE_TARGET_REGISTER
   Updates:
   - Racket Updates: update HISTORY
   (updates should show v6.0.1 as the most current version)
   - Update man pages in racket/man/man1: racket.1, gracket.1, raco.1
   Email me to pick the changes when they're done, or tell me if there
   are no such changes.

 * Robby Findler ro...@eecs.northwestern.edu
   - DrRacket Tests
   - Framework Tests
   - Contracts Tests
   - Games Tests
   - Teachpacks Tests: image tests
   - PLaneT Tests
   - Redex Tests
   Updates:
   - DrRacket Updates: update HISTORY
   - Redex Updates: update HISTORY
   (updates should show v6.0.1 as the most current version)
   - Ensure that previous version of DrRacket's preference files still
 starts up with new DrRacket
   - Update man pages in racket/man/man1: drracket.1
   Email me to pick the changes when they're done, or tell me if there
   are no such changes.

 * John Clements cleme...@brinckerhoff.org
   - Stepper Tests
   Updates:
   - Stepper Updates: update HISTORY
   (updates should show v6.0.1 as the most current version; email me
   to pick the changes when they're done, or tell me if there are no such
   changes.)

 * Sam Tobin-Hochstadt sa...@ccs.neu.edu,
Vincent St-Amour stamo...@ccs.neu.edu
   - Match Tests
   - Typed Racket Tests
   - Typed Racket Updates: update HISTORY
   (updates should show v6.0.1 as the most current version; email me
   to pick the changes when they're done, or tell me if there are no such
   changes.)

 * Matthias Felleisen matth...@ccs.neu.edu
   - Teachpacks Tests: check that new teachpacks are addable
   - Teachpack Docs: check teachpack docs in the bundles
   Updates:
   - Teachpack Updates: update HISTORY
   (updates should show v6.0.1 as the most current version; email me
   to pick the changes when they're done, or tell me if there are no such
   changes.)

 * Ryan Culpepper r...@cs.utah.edu
   - Macro Debugger Tests
   - Syntax Classifier Tests
   - RackUnit GUI Tests
   - Data Tests
   - DB Tests

 * Jay McCarthy jay.mccar...@gmail.com
   - Web Server Tests
   - XML Tests
   - HTML Tests
   - PLAI Tests
   - Racklog tests
   - Datalog tests

 * Kathy Gray kathryn.g...@cl.cam.ac.uk
   - Test Engine Tests

 * Noel Welsh noelwe...@gmail.com
   - Rackunit Tests
   - SRFI Tests
   - Ensure that all claimed srfi's are in the installer and they all
 load into racket or drracket (as appropriate)

 * Stevie Strickland sstri...@ccs.neu.edu
   - Unit Contract Tests
   - Contract Region Tests
   - Class Contract Tests

 * Stephen Chang stch...@ccs.neu.edu
   - Lazy Racket Tests
   - Lazy stepper tests

 * Eli Barzilay e...@barzilay.org
   - Swindle Tests
   - XREPL Tests
   - Verify PL language
   - Racket Tree: compare new distribution tree to previous one
   - Run the unix installer tests
   - Run zsh completions tests
 (. .../racket-completion.zsh; _racket --self-test)
   Version Updates: if a major change has happened, update the version
   number in:
   - racket/collects/mzscheme/info.rkt
   - racket/collects/mred/info.rkt

 * Stephen Bloch sbl...@adelphi.edu
   - Picturing Programs Tests

 * Greg Cooper g...@cs.brown.edu
   - FrTime Tests

 * Carl Eastlund c...@ccs.neu.edu
   - Dracula Tests (confirm that Dracula runs from PLaneT)

 * Jon Rafkind rafk...@cs.utah.edu
   Release tests for (one of the) linux releases:
   - Test that the `racket' and `racket-textual' source releases
 compile fine (note that they're still called `plt' and `mz' at
 this stage).
   - Test that the binary installers for both work, try each 

Re: [racket-dev] Pre-Release Checklist for v6.0.1

2014-04-25 Thread Doug Williams
I didn't see any non-termination instances. Everything looked as expected.
The only performance issue I saw was that my plots with shading seem to
be slower. But, I would have to look at it more closely to see if it was
because of other things running at the same time. [My work laptop is just a
dual core and something else may well have been running in the background.]

Doug


On Thu, Apr 24, 2014 at 10:52 AM, Neil Toronto neil.toro...@gmail.comwrote:

 I found out that it happens when a polygon is just three collinear or
 nearly collinear points, and the polygon's plane, which is degenerate, is
 somehow the best choice for a BSP split.

 I still haven't gotten the upcoming release's Plot to generate a
 collection of shapes that causes nontermination. I'll just push the fix I
 used in my dev branch, which detects degenerate planes and calls the
 failure continuation to try the next plane. The BSP tree build should have
 been sanitizing its inputs like that anyway.

 Doug, have you seen nontermination in your tests?

 Neil ⊥


 On 04/18/2014 02:54 PM, Robby Findler wrote:

 That sounds like a good plan to me. Let us know what you find out.

 Robby

 On Fri, Apr 18, 2014 at 3:47 PM, Neil Toronto neil.toro...@gmail.com
 wrote:

 On 04/17/2014 04:44 PM, Ryan Culpepper wrote:


 * Neil Toronto neil.toro...@gmail.com
 - Plot Tests
 - Images Tests
 - Inspect icons
 - Math tests



 I found an infinite loop in Plot's new 3D engine, but I've only been
 able to
 replicate it using a randomized test case for a feature I haven't pushed
 yet. Even though that feature won't be in the upcoming release, there's
 definitely an error in the 3D engine that I don't want users stumbling
 into.

 If the Powers That Be don't mind, I'll concentrate on finding a
 repeatable
 test case, and check the rest of my list at the second call.

 Neil ⊥


 _
   Racket Developers list:
   http://lists.racket-lang.org/dev


 _
  Racket Developers list:
  http://lists.racket-lang.org/dev

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] [plt] Push #28619: master branch updated

2014-04-25 Thread Eric Dobson
Doesn't this make the dead clauses return void the function instead of
void the value? Not that they ever should run.

On Fri, Apr 25, 2014 at 10:45 AM,  stamo...@racket-lang.org wrote:
 stamourv has updated `master' from b40619ffd5 to ce3033a0c7.
   http://git.racket-lang.org/plt/b40619ffd5..ce3033a0c7

 =[ One Commit ]=
 Directory summary:
   52.9% pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/optimizer/
   47.0% 
 pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/

 ~~

 ce3033a Vincent St-Amour stamo...@racket-lang.org 2014-04-25 13:40
 :
 | Keep dead case-lambda clauses around to avoid changing arity.
 |
 | Closes PR14468.
 :
   A 
 pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/dead-case-lambda.rkt
   M .../tests/typed-racket/optimizer/tests/unboxed-for.rkt  |  2 +-
   M .../typed-racket-lib/typed-racket/optimizer/dead-code.rkt   | 10 
 +++---

 =[ Overall Diff ]===

 pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/optimizer/dead-code.rkt
 
 --- 
 OLD/pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/optimizer/dead-code.rkt
 +++ 
 NEW/pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/optimizer/dead-code.rkt
 @@ -49,9 +49,13 @@
  (begin0
(case-lambda
  #,@(for/list ((formals (in-syntax #'(formals ...)))
 -  (bodies  (in-syntax #'(bodies ...)))
 -  #:unless (dead-lambda-branch? formals))
 -  (cons formals (stx-map (optimize) bodies
 +  (bodies  (in-syntax #'(bodies ...
 + (if (dead-lambda-branch? formals)
 + ;; keep the clause (to have a case-lambda with the 
 right arity)
 + ;; but not the body (to make the function smaller for 
 inlining)
 + ;; TODO could do better, and keep a single clause per 
 arity
 + (list formals #'(void)) ; return type doesn't matter, 
 should never run
 + (cons formals (stx-map (optimize) bodies)
;; We need to keep the syntax objects around in the generated code 
 with the correct bindings
;; so that CheckSyntax displays the arrows correctly
#,@(for/list ((formals (in-syntax #'(formals ...)))

 pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/dead-case-lambda.rkt
 
 --- /dev/null
 +++ 
 NEW/pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/dead-case-lambda.rkt
 @@ -0,0 +1,19 @@
 +#;#;
 +#END
 +TR opt: dead-case-lambda.rkt 4:10 () -- dead case-lambda branch
 +TR opt: dead-case-lambda.rkt 6:10 (d . rst) -- dead case-lambda branch
 +END
 +#END
 +(arity-at-least 0)
 +
 +END
 +
 +#lang typed/racket
 +#reader tests/typed-racket/optimizer/reset-port
 +
 +(procedure-arity
 +  (ann (case-lambda
 + [() (void)]
 + [(d) (void)]
 + [(d . rst) (void)])
 +  (Any - Any)))

 pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/unboxed-for.rkt
 ~~~
 --- 
 OLD/pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/unboxed-for.rkt
 +++ 
 NEW/pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/unboxed-for.rkt
 @@ -2,7 +2,6 @@
  #END
  TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : Float-Complex 
 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i (+ i sum)) -- 
 call to fun with unboxed args
  TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : Float-Complex 
 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i (+ i sum)) -- 
 fun - unboxed fun
 -TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : Float-Complex 
 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i (+ i sum)) -- 
 unbox float-complex
  TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : Float-Complex 
 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i (+ i sum)) -- 
 unboxed call site
  TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : Float-Complex 
 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i (+ i sum)) -- 
 unboxed call site
  TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : Float-Complex 
 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i (+ i sum)) -- 
 unboxed let bindings
 @@ -17,6 +16,7 @@ TR opt: unboxed-for.rkt 2:53 0.0+0.0i -- unboxed literal
  TR opt: unboxed-for.rkt 3:13 i -- unboxed complex variable
  TR opt: unboxed-for.rkt 3:13 i -- unboxed complex variable
  TR opt: unboxed-for.rkt 3:33 (quote 

Re: [racket-dev] Pre-Release Checklist for v6.0.1

2014-04-25 Thread Stephen Chang
 * Stephen Chang stch...@ccs.neu.edu
   - Lazy Racket Tests
   - Lazy stepper tests

all pass








 * Eli Barzilay e...@barzilay.org
   - Swindle Tests
   - XREPL Tests
   - Verify PL language
   - Racket Tree: compare new distribution tree to previous one
   - Run the unix installer tests
   - Run zsh completions tests
 (. .../racket-completion.zsh; _racket --self-test)
   Version Updates: if a major change has happened, update the version
   number in:
   - racket/collects/mzscheme/info.rkt
   - racket/collects/mred/info.rkt

 * Stephen Bloch sbl...@adelphi.edu
   - Picturing Programs Tests

 * Greg Cooper g...@cs.brown.edu
   - FrTime Tests

 * Carl Eastlund c...@ccs.neu.edu
   - Dracula Tests (confirm that Dracula runs from PLaneT)

 * Jon Rafkind rafk...@cs.utah.edu
   Release tests for (one of the) linux releases:
   - Test that the `racket' and `racket-textual' source releases
 compile fine (note that they're still called `plt' and `mz' at
 this stage).
   - Test that the binary installers for both work, try each one in
 both normal and unix-style installation modes. (just ubuntu)
   [Note: get the release candidates from the URL in this email. Use
the 'static table' link to see a list of all tar files available]

 * Mike Sperber sper...@deinprogramm.de
   - DMdA Tests
   - Stepper Tests
   - Signature Tests

 * David Van Horn dvanh...@ccs.neu.edu
   - EoPL Tests

 * Neil Toronto neil.toro...@gmail.com
   - Plot Tests
   - Images Tests
   - Inspect icons
   - Math tests

 * Doug Williams m.douglas.willi...@gmail.com
   - Additional Plot Tests

 * Shriram Krishnamurthi s...@cs.brown.edu
   Tour: check the tour and generate a new one if needed.
   [Note: Since this is a v6.0.0.900 build, you will need to edit your
 .../collects/framework/private/version.rkt
   file and change `(version)' to `6.0.1'.]
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] [plt] Push #28619: master branch updated

2014-04-25 Thread Vincent St-Amour
It shouldn't. I used `list', not `cons'.

Vincent


At Fri, 25 Apr 2014 10:47:23 -0700,
Eric Dobson wrote:
 
 Doesn't this make the dead clauses return void the function instead of
 void the value? Not that they ever should run.
 
 On Fri, Apr 25, 2014 at 10:45 AM,  stamo...@racket-lang.org wrote:
  stamourv has updated `master' from b40619ffd5 to ce3033a0c7.
http://git.racket-lang.org/plt/b40619ffd5..ce3033a0c7
 
  =[ One Commit ]=
  Directory summary:
52.9% pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/optimizer/
47.0% 
  pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/
 
  ~~
 
  ce3033a Vincent St-Amour stamo...@racket-lang.org 2014-04-25 13:40
  :
  | Keep dead case-lambda clauses around to avoid changing arity.
  |
  | Closes PR14468.
  :
A 
  pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/dead-case-lambda.rkt
M .../tests/typed-racket/optimizer/tests/unboxed-for.rkt  |  2 +-
M .../typed-racket-lib/typed-racket/optimizer/dead-code.rkt   | 10 
  +++---
 
  =[ Overall Diff ]===
 
  pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/optimizer/dead-code.rkt
  
  --- 
  OLD/pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/optimizer/dead-code.rkt
  +++ 
  NEW/pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/optimizer/dead-code.rkt
  @@ -49,9 +49,13 @@
   (begin0
 (case-lambda
   #,@(for/list ((formals (in-syntax #'(formals ...)))
  -  (bodies  (in-syntax #'(bodies ...)))
  -  #:unless (dead-lambda-branch? formals))
  -  (cons formals (stx-map (optimize) bodies
  +  (bodies  (in-syntax #'(bodies ...
  + (if (dead-lambda-branch? formals)
  + ;; keep the clause (to have a case-lambda with the 
  right arity)
  + ;; but not the body (to make the function smaller for 
  inlining)
  + ;; TODO could do better, and keep a single clause per 
  arity
  + (list formals #'(void)) ; return type doesn't matter, 
  should never run
  + (cons formals (stx-map (optimize) bodies)
 ;; We need to keep the syntax objects around in the generated 
  code with the correct bindings
 ;; so that CheckSyntax displays the arrows correctly
 #,@(for/list ((formals (in-syntax #'(formals ...)))
 
  pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/dead-case-lambda.rkt
  
  --- /dev/null
  +++ 
  NEW/pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/dead-case-lambda.rkt
  @@ -0,0 +1,19 @@
  +#;#;
  +#END
  +TR opt: dead-case-lambda.rkt 4:10 () -- dead case-lambda branch
  +TR opt: dead-case-lambda.rkt 6:10 (d . rst) -- dead case-lambda branch
  +END
  +#END
  +(arity-at-least 0)
  +
  +END
  +
  +#lang typed/racket
  +#reader tests/typed-racket/optimizer/reset-port
  +
  +(procedure-arity
  +  (ann (case-lambda
  + [() (void)]
  + [(d) (void)]
  + [(d . rst) (void)])
  +  (Any - Any)))
 
  pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/unboxed-for.rkt
  ~~~
  --- 
  OLD/pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/unboxed-for.rkt
  +++ 
  NEW/pkgs/typed-racket-pkgs/typed-racket-test/tests/typed-racket/optimizer/tests/unboxed-for.rkt
  @@ -2,7 +2,6 @@
   #END
   TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : 
  Float-Complex 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i 
  (+ i sum)) -- call to fun with unboxed args
   TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : 
  Float-Complex 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i 
  (+ i sum)) -- fun - unboxed fun
  -TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : 
  Float-Complex 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i 
  (+ i sum)) -- unbox float-complex
   TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : 
  Float-Complex 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i 
  (+ i sum)) -- unboxed call site
   TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : 
  Float-Complex 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i 
  (+ i sum)) -- unboxed call site
   TR opt: unboxed-for.rkt 2:0 (for/fold: : Float-Complex ((sum : 
  Float-Complex 0.0+0.0i)) ((i : Float-Complex (quote (1.0+2.0i 2.0+4.0i 
  (+ i sum)) -- unboxed let bindings
  @@ -17,6 +16,7 @@