Re: [racket-dev] Pre-Release Checklist for v5.2.1

2012-01-18 Thread Danny Yoo
> * Danny Yoo 
>  - Whalesong Tests (confirm that Whalesong runs from PLaneT)

All passed.

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


Re: [racket-dev] Pre-Release Checklist for v5.2.1

2012-01-18 Thread Stephen Chang
> * Stephen Chang >  - Lazy Racket Tests>  - Lazy stepper 
> tests>
All passed.


On Tue, Jan 17, 2012 at 6:44 PM, Ryan Culpepper  wrote:
> Checklist items for the v5.2.1 release
>  (using the v5.2.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.racket-lang.org/release/installers
>
> Please use these installers (or source bundles) -- don't test from
> your own git clone (don't test v5.2.1.1 by mistake!).  To get
> the tests directory in such a directory, you can do this:
>  cd ...racket-root...
>  git archive --remote=git://git.racket-lang.org/plt.git release \
>      -- collects/tests | tar x
>
> --
>
> * Matthew Flatt 
>  - 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.
>  Updates:
>  - Racket Updates: update HISTORY
>  (updates should show v5.2.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 
>  - 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 v5.2.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 
>  - Stepper Tests
>  Updates:
>  - Stepper Updates: update HISTORY
>  (updates should show v5.2.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 ,
>   Vincent St-Amour 
>  - Match Tests
>  - Typed Racket Tests
>  - Typed Racket Updates: update HISTORY
>  (updates should show v5.2.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 
>  - Teachpacks Tests: check that new teachpacks are addable
>  - Teachpack Docs: check teachpack docs in the bundles
>  Updates:
>  - Teachpack Updates: update HISTORY
>  (updates should show v5.2.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 
>  - Macro Debugger Tests
>  - Syntax Classifier Tests
>  - RackUnit GUI Tests
>  - Data Tests
>  - DB Tests
>
> * Jay McCarthy 
>  - Web Server Tests
>  - XML Tests
>  - HTML Tests
>  - PLAI Tests
>  - Racklog tests
>  - Datalog tests
>
> * Paul Steckler 
>  - MysterX Tests
>  - MzCOM Tests
>
> * Kathy Gray 
>  - Test Engine Tests
>
> * Noel Welsh 
>  - 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 
>  - Unit Contract Tests
>  - Contract Region Tests
>
> * Eli Barzilay 
>  - Swindle Tests
>  - XREPL Tests
>  - Racket Tree: compare new distribution tree to previous one
>  - Run the unix installer tests
>  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 
>  - Picturing Programs Tests
>
> * Greg Cooper 
>  - FrTime Tests
>
> * Carl Eastlund 
>  - Dracula Tests (confirm that Dracula runs from PLaneT)
>
> * Jon Rafkind 
>  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]
>
> * Shriram Krishnamurthi 
>  Tour: check the tour and generate a new one if needed.
>  [Note: Since this is a v5.2.0.900 build, you will need to edit your
>    .../collects/framework/private/versio

Re: [racket-dev] how to disable intra-module constant inlining?

2012-01-18 Thread Danny Yoo
> So Whalesong is actually breaking on a few of my test case examples
> because 5.2.1 does some aggressive inlining.  Specifically, it's doing
> intra-module constant optimizations.  Whalesong depends on the late
> binding of module bindings in some special places (specifically, the
> FFI), so I need a way of turning that constant inlining off.  I tried
> using (compile-enforce-module-constants #f), but that didn't seem to
> do the trick.


Followup: ok, whew.  I can workaround it for the specific case where
things are breaking by artificially injecting set!s in the affected
modules.  
(https://github.com/dyoo/whalesong/commit/6b8bcdaf767efe2294a7dd8d9a5580c5a64c20ff)


I'd still love to know how to disable the intra-module constant
inlining, that is, if there's a parameter that controls inlining
similar to compile-context-preservation-enabled.  Sam suggested that
whatever 'raco make --disable-inline' does might do the trick, but
that option appears to only affect function calls inlining; what I'm
running into is constant inlining.

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


[racket-dev] how to disable intra-module constant inlining?

2012-01-18 Thread Danny Yoo
Hi everyone,

So Whalesong is actually breaking on a few of my test case examples
because 5.2.1 does some aggressive inlining.  Specifically, it's doing
intra-module constant optimizations.  Whalesong depends on the late
binding of module bindings in some special places (specifically, the
FFI), so I need a way of turning that constant inlining off.  I tried
using (compile-enforce-module-constants #f), but that didn't seem to
do the trick.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] please merge to release: Fwd: [plt] Push #24173: master branch updated

2012-01-18 Thread John Clements
Sorry, should have put this in the commit messages: please merge both of these 
to the release branch.

John


Begin forwarded message:

> From: cleme...@racket-lang.org
> Date: January 18, 2012 2:51:50 PM PST
> To: dev@racket-lang.org
> Subject: [plt] Push #24173: master branch updated
> 
> clements has updated `master' from 276cb4150d to 481bc2f00f.
>  http://git.racket-lang.org/plt/276cb4150d..481bc2f00f
> 
> =[ 2 Commits ]==
> 
> Directory summary:
> 100.0% collects/stepper/private/
> 
> ~~
> 
> 758523b John Clements  2012-01-18 13:08
> :
> | put status bar update on stepper frame eventspace
> :
>  M collects/stepper/private/view-controller.rkt |   19 ++-
> 
> ~~
> 
> 481bc2f John Clements  2012-01-18 14:51
> :
> | make sure initial update goes on eventspace thread
> :
>  M collects/stepper/private/view-controller.rkt |   11 ---
> 
> =[ Overall Diff ]===
> 
> collects/stepper/private/view-controller.rkt
> 
> --- OLD/collects/stepper/private/view-controller.rkt
> +++ NEW/collects/stepper/private/view-controller.rkt
> @@ -79,19 +79,20 @@
>   (define view #f)
> 
>   ;; wait for steps to show up on the channel.  When they do, add them to the 
> list.
> -  (define (start-listener-thread)
> +  (define (start-listener-thread stepper-frame-eventspace)
> (thread
>  (lambda ()
>(let loop ()
>  (define new-result (async-channel-get view-channel))
>  (define new-step (format-result new-result))
> - (queue-callback
> -  (lambda ()
> -(set! view-history (append view-history (list new-step)))
> -(set! num-steps-available (length view-history))
> -;; this is only necessary the first time, but it's cheap:
> -(semaphore-post first-step-sema)
> -(update-status-bar)))
> + (parameterize ([current-eventspace stepper-frame-eventspace])
> +   (queue-callback
> +(lambda ()
> +  (set! view-history (append view-history (list new-step)))
> +  (set! num-steps-available (length view-history))
> +  ;; this is only necessary the first time, but it's cheap:
> +  (semaphore-post first-step-sema)
> +  (update-status-bar
>  (loop)
> 
> 
> @@ -374,8 +375,9 @@
>   (send (send s-frame edit-menu:get-undo-item) enable #f)
>   (send (send s-frame edit-menu:get-redo-item) enable #f)
> 
> +  (define stepper-frame-eventspace (send s-frame get-eventspace))
>   ;; START THE MODEL
> -  (start-listener-thread)
> +  (start-listener-thread stepper-frame-eventspace)
>   (model:go
>program-expander-prime 
>;; what do do with the results:
> @@ -392,8 +394,12 @@
>   (thread
>(lambda ()
>  (semaphore-wait first-step-sema)
> - (jump-to-beginning)
> - (enable-all-buttons)))
> + (parameterize
> + ([current-eventspace stepper-frame-eventspace])
> +   (queue-callback
> +(lambda ()
> +  (jump-to-beginning)
> +  (enable-all-buttons))
> 
>   s-frame)
> 



smime.p7s
Description: S/MIME cryptographic signature
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v5.2.1

2012-01-18 Thread Jay McCarthy
On Tue, Jan 17, 2012 at 4:44 PM, Ryan Culpepper  wrote:
> * Jay McCarthy 
>  - Web Server Tests
>  - XML Tests
>  - HTML Tests
>  - PLAI Tests
>  - Racklog tests
>  - Datalog tests

All passed

-- 
Jay McCarthy 
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93

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


Re: [racket-dev] problem with require and frtime

2012-01-18 Thread Matthew Flatt
At Wed, 18 Jan 2012 12:02:10 +0100, Marijn wrote:
> the following fragment:
> 
> 
> #lang frtime
> 
> (require (only-in srfi/1 every))
> 
> 
> leads to ```only-in: bad module path in: (only-in srfi/1 every)'''
> error. 

The `frtime' language builds on (the older) `scheme' language instead
of `racket', so change `only-in' to `only'.

I'll adjust the docs.

> At the same time this other fragment:
> 
> 
> #lang racket
> 
> (require frtime)
> 
> (require srfi/1)
> 
> 
> leads to ```module: identifier already imported from: frtime at: third
> in: srfi/1''' error.
> 
> I would expect both forms to work. This is a reduction of a different
> problem possibly caused by these issues here.

Unfortunately, the `third' from `racket' (via `racket/list') and from
`srfi/1' are just different functions:

 > (require srfi/1)
 > (third '(1 2 3 . 4)) ; works on any sufficiently long chain of pairs
 3
 > (require racket/list)
 > (third '(1 2 3 . 4)) ; requires a list
 third: expected argument of type ; given '(1 2 3 . 4)

The documentation should clarify that only the `srfi/1' functions
documented in bold (not including those in italic bold) correspond to
`racket' functions, and the others do not; I'll fix those docs, too.

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


Re: [racket-dev] Pre-Release Checklist for v5.2.1

2012-01-18 Thread Michael Sperber

Ryan Culpepper  writes:

> Checklist items for the v5.2.1 release
> * Mike Sperber 
>   - DMdA Tests
>   - Stepper Tests
>   - Signature Tests

Done.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] problem with require and frtime

2012-01-18 Thread Marijn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

the following fragment:


#lang frtime

(require (only-in srfi/1 every))


leads to ```only-in: bad module path in: (only-in srfi/1 every)'''
error. At the same time this other fragment:


#lang racket

(require frtime)

(require srfi/1)


leads to ```module: identifier already imported from: frtime at: third
in: srfi/1''' error.

I would expect both forms to work. This is a reduction of a different
problem possibly caused by these issues here.

Marijn
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8WprIACgkQp/VmCx0OL2yKYACeJxLBVW0N++3g8SgqSpaHvGxD
2DAAoK2p2sezFuU6iYu2/utAWxceQEuA
=rtZ2
-END PGP SIGNATURE-
_
  Racket Developers list:
  http://lists.racket-lang.org/dev