Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Jon Rafkind
 
 * 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]


done. tested 32 and 64 bit ubuntu versions and building from source for racket 
and minimal using the 'source' package. I did not test the 'source + pre-built 
packages' tar.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Kathryn Gray

On 16 Dec 2013, at 16:38, Ryan Culpepper wrote:

 * Kathy Gray kathryn.g...@cl.cam.ac.uk
  - Test Engine Tests
Done
-Kathy
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Jay McCarthy
I don't understand what's happening. I install to ./racket-5.91 and I
go in to the directory and do:

bin/racket -t share/pkgs/web-server-test/tests/web-server/run-all-tests.rkt

and get the same error messages as DrDr. The stack traces all make
mention of the racket-5.91 directory, so I'm pretty sure it is not
getting my main installation.

Jay


On Mon, Dec 16, 2013 at 1:38 PM, Robby Findler
ro...@eecs.northwestern.edu wrote:
 Are you running with the right version? The contract change isn't in the
 release build.

 Robby


 On Mon, Dec 16, 2013 at 2:23 PM, Jay McCarthy jay.mccar...@gmail.com
 wrote:

 On Mon, Dec 16, 2013 at 9:38 AM, Ryan Culpepper ry...@ccs.neu.edu wrote:
  * Jay McCarthy jay.mccar...@gmail.com
- Web Server Tests

 These don't pass and have the same error that's here:


 http://drdr.racket-lang.org/27931/pkgs/web-server-pkgs/web-server-test/tests/web-server/run-all-tests.rkt

 I don't know what the error means, I think it is fall-out from the
 contract change?

- XML Tests

 Passed

- HTML Tests

 The html tests aren't in the racket test bundle

- PLAI Tests
- Racklog tests
- Datalog tests

 All pass

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

 The glory of God is Intelligence - DC 93
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev





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

The glory of God is Intelligence - DC 93
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Neil Toronto

Should it matter that it says build failed for my platform?

Neil ⊥

On 12/16/2013 11:38 AM, Ryan Culpepper wrote:

(Re-sending with corrected URL for release candidates. Thanks to Sam for
the quick catch!)

Checklist items for the v6.0 release
   (using the v5.91 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://plt.eecs.northwestern.edu/release-snapshots/

Note the nonstandard location!

The Racket plus Tests builds already include the test packages. If
you use a Minimal Racket build instead, install test packages
manually using raco pkg install.

--

* 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 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 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 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 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 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 

Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Matthew Flatt
Most builds failed in the most recent attempt, and we're working on it.

Meanwhile, you can follow the last success link to get Sunday's build
for testing.

At Tue, 17 Dec 2013 11:20:03 -0500, Neil Toronto wrote:
 Should it matter that it says build failed for my platform?
 
 Neil ⊥
 
 On 12/16/2013 11:38 AM, Ryan Culpepper wrote:
  (Re-sending with corrected URL for release candidates. Thanks to Sam for
  the quick catch!)
 
  Checklist items for the v6.0 release
 (using the v5.91 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://plt.eecs.northwestern.edu/release-snapshots/
 
  Note the nonstandard location!
 
  The Racket plus Tests builds already include the test packages. If
  you use a Minimal Racket build instead, install test packages
  manually using raco pkg install.
 
  --
 
  * 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 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 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 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 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 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
 - 

Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Robby Findler
Okay, well I've looked quickly and I see it too and I also don't see new
files that I've added based on that contract commit.

I do see a commit that came about after my contracts commit
(5bae9773aaa2d68c71240b8d7b0b58f43fb21342) that changed relevant things
here.

I'll keep investigating, but if you have time to help make a small example,
that'd be useful.

Robby




On Tue, Dec 17, 2013 at 9:47 AM, Jay McCarthy jay.mccar...@gmail.comwrote:

 I don't understand what's happening. I install to ./racket-5.91 and I
 go in to the directory and do:

 bin/racket -t share/pkgs/web-server-test/tests/web-server/run-all-tests.rkt

 and get the same error messages as DrDr. The stack traces all make
 mention of the racket-5.91 directory, so I'm pretty sure it is not
 getting my main installation.

 Jay


 On Mon, Dec 16, 2013 at 1:38 PM, Robby Findler
 ro...@eecs.northwestern.edu wrote:
  Are you running with the right version? The contract change isn't in the
  release build.
 
  Robby
 
 
  On Mon, Dec 16, 2013 at 2:23 PM, Jay McCarthy jay.mccar...@gmail.com
  wrote:
 
  On Mon, Dec 16, 2013 at 9:38 AM, Ryan Culpepper ry...@ccs.neu.edu
 wrote:
   * Jay McCarthy jay.mccar...@gmail.com
 - Web Server Tests
 
  These don't pass and have the same error that's here:
 
 
 
 http://drdr.racket-lang.org/27931/pkgs/web-server-pkgs/web-server-test/tests/web-server/run-all-tests.rkt
 
  I don't know what the error means, I think it is fall-out from the
  contract change?
 
 - XML Tests
 
  Passed
 
 - HTML Tests
 
  The html tests aren't in the racket test bundle
 
 - PLAI Tests
 - Racklog tests
 - Datalog tests
 
  All pass
 
  --
  Jay McCarthy j...@cs.byu.edu
  Assistant Professor / Brigham Young University
  http://faculty.cs.byu.edu/~jay
 
  The glory of God is Intelligence - DC 93
  _
Racket Developers list:
http://lists.racket-lang.org/dev
 
 



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

 The glory of God is Intelligence - DC 93

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


Re: [racket-dev] draw-text always pixel aligned?

2013-12-17 Thread David Vanderson
Update - according to the cairo developers, this is a limitation of the 
current implementation of cairo, so there's nothing to be fixed. Thanks 
again for looking into it!



As a workaround, they suggested creating a path from the text and 
filling it, which works well:


#lang racket/gui

(define (draw-text dc offset)
  (send dc set-brush red 'solid)
  (send dc set-pen red 1 'transparent)

  (let ((p (new dc-path%)))
(send p text-outline (send dc get-font) hello 0 0)
(send dc draw-path p 0 0))

  (send dc set-brush black 'solid)
  (send dc set-pen black 1 'transparent)

  (let ((p (new dc-path%)))
(send p text-outline (send dc get-font) hello 0 0)
(send dc draw-path p offset offset))

  (send dc set-text-foreground red)
  (send dc draw-text hello 0 20 #t)
  (send dc set-text-foreground black)
  (send dc draw-text hello offset (+ 20 offset) #t)
  )

(define (draw-screen canvas dc)
  (send dc set-smoothing 'smoothed)
  (send dc set-font
(send the-font-list find-or-create-font
  12 'default 'normal 'normal #f 'smoothed #f 'aligned))
  (send dc set-initial-matrix (vector 1 0 0 1 0 0))
  (for ((i 10))
(draw-text dc (/ i 10.0))
(send dc translate 50 0)))

(define frame (new frame% (label Test draw-text)))

(define canvas
  (new canvas%
   (parent frame)
   (min-width 500)
   (min-height 100)
   (paint-callback draw-screen)))

(send frame show #t)





On 12/16/2013 02:16 PM, David Vanderson wrote:

Thank you - I'll look into it.

On 12/16/2013 02:14 PM, Matthew Flatt wrote:

Yes, it's the same on Mac and Windows.

At Mon, 16 Dec 2013 14:12:18 -0500, David Vanderson wrote:
Thanks for looking into it. Can you confirm if you see similar 
output on

a different platform (Mac or Win)?

On 12/16/2013 12:26 PM, Matthew Flatt wrote:

I'm not sure about that part. I've confirmed that the cairo_move_to()
call just before pango_cairo_show_layout_line() varies the y 
argument

by 0.1, and I don't see any options that would affect vertical
alignment.

At Mon, 16 Dec 2013 10:37:39 -0500, David Vanderson wrote:

That makes sense, but the picture with 'unaligned seems strange
(attached). It looks like each individual character is being pixel
aligned, and also the vertical pixel drop doesn't happen until 
it's 0.7

pixels down. Does this make sense?

On 12/16/2013 08:15 AM, Matthew Flatt wrote:

Did you mean to pass 'unaligned instead of 'aligned as the last
argument to `find-or-create-font`? That should disable pixel 
alignment.


At Mon, 16 Dec 2013 01:28:23 -0500, David Vanderson wrote:

Hello,

It seems that draw-text always pixel-aligns its text. In the 
example
below, I draw a black hello on top of a red one, with a pixel 
offset
of 0, 0.1, 0.2, . . . 0.9. At least for me, I see no change 
until 0.5,

where the black text jumps a whole pixel (see attached image).

Am I missing something? Do others see this behavior? (I'm on Linux)

Thanks,
Dave


#lang racket/gui

(define (draw-text dc offset)
  (send dc set-text-foreground red)
  (send dc draw-text hello 0 0 #t)
  (send dc set-text-foreground black)
  (send dc draw-text hello offset offset #t))

(define (draw-screen canvas dc)
  (send dc set-smoothing 'smoothed)
  (send dc set-font
(send the-font-list find-or-create-font
  12 'default 'normal 'normal #f 'smoothed #f 
'aligned))

  (send dc set-initial-matrix (vector 1 0 0 1 0 0))
  (for ((i 10))
(draw-text dc (/ i 10.0))
(send dc translate 50 0)))

(define frame (new frame% (label Test draw-text)))

(define canvas
  (new canvas%
   (parent frame)
   (min-width 500)
   (min-height 100)
   (paint-callback draw-screen)))

(send frame show #t)


-- 

[image/png draw-text2-unaligned.png] [~/Desktop  open] [~/Temp 
 open]

.




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


Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Robby Findler
It looks like reverting commit 5bae9773aaa2d68c71240b8d7b0b58f43fb21342
makes the test cases pass in the webserver. (I did this on the release
branch.)

So we still want that small example, but now perhaps we know where to look
more accurately for fixes.

Robby


On Tue, Dec 17, 2013 at 12:11 PM, Robby Findler ro...@eecs.northwestern.edu
 wrote:

 Okay, well I've looked quickly and I see it too and I also don't see new
 files that I've added based on that contract commit.

 I do see a commit that came about after my contracts commit
 (5bae9773aaa2d68c71240b8d7b0b58f43fb21342) that changed relevant things
 here.

 I'll keep investigating, but if you have time to help make a small
 example, that'd be useful.

 Robby




 On Tue, Dec 17, 2013 at 9:47 AM, Jay McCarthy jay.mccar...@gmail.comwrote:

 I don't understand what's happening. I install to ./racket-5.91 and I
 go in to the directory and do:

 bin/racket -t
 share/pkgs/web-server-test/tests/web-server/run-all-tests.rkt

 and get the same error messages as DrDr. The stack traces all make
 mention of the racket-5.91 directory, so I'm pretty sure it is not
 getting my main installation.

 Jay


 On Mon, Dec 16, 2013 at 1:38 PM, Robby Findler
 ro...@eecs.northwestern.edu wrote:
  Are you running with the right version? The contract change isn't in the
  release build.
 
  Robby
 
 
  On Mon, Dec 16, 2013 at 2:23 PM, Jay McCarthy jay.mccar...@gmail.com
  wrote:
 
  On Mon, Dec 16, 2013 at 9:38 AM, Ryan Culpepper ry...@ccs.neu.edu
 wrote:
   * Jay McCarthy jay.mccar...@gmail.com
 - Web Server Tests
 
  These don't pass and have the same error that's here:
 
 
 
 http://drdr.racket-lang.org/27931/pkgs/web-server-pkgs/web-server-test/tests/web-server/run-all-tests.rkt
 
  I don't know what the error means, I think it is fall-out from the
  contract change?
 
 - XML Tests
 
  Passed
 
 - HTML Tests
 
  The html tests aren't in the racket test bundle
 
 - PLAI Tests
 - Racklog tests
 - Datalog tests
 
  All pass
 
  --
  Jay McCarthy j...@cs.byu.edu
  Assistant Professor / Brigham Young University
  http://faculty.cs.byu.edu/~jay
 
  The glory of God is Intelligence - DC 93
  _
Racket Developers list:
http://lists.racket-lang.org/dev
 
 



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

 The glory of God is Intelligence - DC 93



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


Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Matthew Flatt
Ah --- I think I see what I got wrong, and I'll work on a repair.

Here's a small test case:

 (define f (lambda (x y #:z [z 1]) x))
 (struct s (v) #:property prop:procedure 0)
 (define f2 (s f))
 (chaperone-of? (chaperone-procedure f2 (make-keyword-procedure void)) f2)
 ; = #f, should be #t

At Tue, 17 Dec 2013 12:28:34 -0600, Robby Findler wrote:
 It looks like reverting commit 5bae9773aaa2d68c71240b8d7b0b58f43fb21342
 makes the test cases pass in the webserver. (I did this on the release
 branch.)
 
 So we still want that small example, but now perhaps we know where to look
 more accurately for fixes.
 
 Robby
 
 
 On Tue, Dec 17, 2013 at 12:11 PM, Robby Findler ro...@eecs.northwestern.edu
  wrote:
 
  Okay, well I've looked quickly and I see it too and I also don't see new
  files that I've added based on that contract commit.
 
  I do see a commit that came about after my contracts commit
  (5bae9773aaa2d68c71240b8d7b0b58f43fb21342) that changed relevant things
  here.
 
  I'll keep investigating, but if you have time to help make a small
  example, that'd be useful.
 
  Robby
 
 
 
 
  On Tue, Dec 17, 2013 at 9:47 AM, Jay McCarthy jay.mccar...@gmail.comwrote:
 
  I don't understand what's happening. I install to ./racket-5.91 and I
  go in to the directory and do:
 
  bin/racket -t
  share/pkgs/web-server-test/tests/web-server/run-all-tests.rkt
 
  and get the same error messages as DrDr. The stack traces all make
  mention of the racket-5.91 directory, so I'm pretty sure it is not
  getting my main installation.
 
  Jay
 
 
  On Mon, Dec 16, 2013 at 1:38 PM, Robby Findler
  ro...@eecs.northwestern.edu wrote:
   Are you running with the right version? The contract change isn't in the
   release build.
  
   Robby
  
  
   On Mon, Dec 16, 2013 at 2:23 PM, Jay McCarthy jay.mccar...@gmail.com
   wrote:
  
   On Mon, Dec 16, 2013 at 9:38 AM, Ryan Culpepper ry...@ccs.neu.edu
  wrote:
* Jay McCarthy jay.mccar...@gmail.com
  - Web Server Tests
  
   These don't pass and have the same error that's here:
  
  
  
  
 http://drdr.racket-lang.org/27931/pkgs/web-server-pkgs/web-server-test/tests/we
 b-server/run-all-tests.rkt
  
   I don't know what the error means, I think it is fall-out from the
   contract change?
  
  - XML Tests
  
   Passed
  
  - HTML Tests
  
   The html tests aren't in the racket test bundle
  
  - PLAI Tests
  - Racklog tests
  - Datalog tests
  
   All pass
  
   --
   Jay McCarthy j...@cs.byu.edu
   Assistant Professor / Brigham Young University
   http://faculty.cs.byu.edu/~jay
  
   The glory of God is Intelligence - DC 93
   _
 Racket Developers list:
 http://lists.racket-lang.org/dev
  
  
 
 
 
  --
  Jay McCarthy j...@cs.byu.edu
  Assistant Professor / Brigham Young University
  http://faculty.cs.byu.edu/~jay
 
  The glory of God is Intelligence - DC 93
 
 
 
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Using `git submodule` vs. `git pull --ff-only upstream master`

2013-12-17 Thread Greg Hendershott
To answer my own question, back in July Matthew had posted here:

On Sat, Jul 27, 2013 at 9:10 AM, Matthew Flatt mfl...@cs.utah.edu wrote:
 Nothing has been split out of the current git repository, but there is
 now a native-pkgs git submodule for the native-library packages.

 If you build on Mac OS X or Windows or if you run a snapshot build,
 then you'll need to use

   git pull
   git submodule init
   git submodule update

 once on each repository checkout from now on, and

   git pull
   git submodule update

 for updates after the first checkout.

 If you just `git pull' without the submodule commands, then you'll have
 an empty native-pkgs directory. That's fine if you're building on,
 say, Linux. If you're on Mac OS X or Windows, then the makefile should
 give you a good error message and suggest using `git submodule init'
 and `git submodule update'.

 If you use `git submodule update' today and forget to use it in the
 future, probably things will be fine for a long time, because
 native-pkgs doesn't change often. If native-pkgs does change and
 you forget `git submodule update', then (as I understand things) `git
 status' will tell you that there's a mismatch. The mismatch report
 might take a form that's not entirely clear, but it should be enough to
 remind you to run `git submodule update'.

It turned out that it wasn't enough to remind _me_. :)  Running `git
submodule update` resolved this for me.


On Fri, Sep 20, 2013 at 2:30 PM, Greg Hendershott
greghendersh...@gmail.com wrote:
 I build Racket while keeping my forked repo's `master` branch an
 exact, fast-forwardable copy of PLT's remote upstream `master`. [1]

 This has worked fine building Racket on Linux, and continues to do so.

 But on OS X, I need to follow these instructions from INSTALL.TXT, wrt
 the pkg re-org:


 On Mac OS X and Windows, you'll need native-library packages in the
 native-pkgs directory. In the git repostory, native-pkgs is a git
 submodule, so you'll need
git submodule init
git submodule update
 to get it set up.
 

 After I do so, the resulting build works great.

 However it introduces a change:


 greg@mbp in ~/src/plt/racket on master*
 $ git diff
 diff --git a/native-pkgs b/native-pkgs
 index f367c0c..f8c8984 16
 --- a/native-pkgs
 +++ b/native-pkgs
 @@ -1 +1 @@
 -Subproject commit f367c0c4b05b91401d68b0180b416d616b31720d
 +Subproject commit f8c8984ebe8a442d474558dced0eb824cbb24772
 

 If I commit this, my master wouldn't be a FF copy anymore (AFIK). So I don't.

 But as a result, if I switch to a topic branch without committing
 (normally a no-no), it's a bit weird:


 greg@mbp in ~/src/plt/racket on master*
 $ git checkout imap-append-flags
 warning: unable to rmdir native-pkgs: Directory not empty
 Switched to branch 'imap-append-flags'
 

 After switching back to master, everything seems OK:


 greg@mbp in ~/src/plt/racket on imap-append-flags*
 $ git checkout master
 M native-pkgs
 Switched to branch 'master'
 Your branch is ahead of 'origin/master' by 771 commits.
 

 Is this -- the warning about native-pkgs -- something I should just
 learn to ignore and treat as the new normal?


 [1]: 
 http://www.greghendershott.com/2013/04/a-guide-for-infrequent-contributors-to-racket.html
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] Duplicate tag warnings building docs?

2013-12-17 Thread Greg Hendershott
Building HEAD (97ee349) today I noticed the following:

raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt)
current-pkg-catalog-file))
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) get-catalogs))
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) get-module-pkgs))
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt)
get-pkg-dependencies))
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) get-pkg-modules))
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) get-pkg-tags))
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) get-pkgs))
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
raco setup:  in:
/Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrbl
...


and quite a few more (not all are pkg/db.rkt) -- full output here:
https://gist.github.com/greghendershott/8013323

This may have been happening for quite awhile but I haven't noticed.
These is in the middle of the doc section, wouldn't be on-screen at
the end of the build.

Not sure if it matters but wanted to mention just in case.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-17 Thread Matthew Flatt
That commit fixes problems that affect the new contract implementation,
but since the new contract implementation is not in the release branch,
I think the commit should be reverted on the release branch.

I have a repair in the works for the development branch, but it's not
simple.

At Tue, 17 Dec 2013 12:28:34 -0600, Robby Findler wrote:
 It looks like reverting commit 5bae9773aaa2d68c71240b8d7b0b58f43fb21342
 makes the test cases pass in the webserver. (I did this on the release
 branch.)
 
 So we still want that small example, but now perhaps we know where to look
 more accurately for fixes.
 
 Robby

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


Re: [racket-dev] Duplicate tag warnings building docs?

2013-12-17 Thread Greg Hendershott
I tried deleting docindex.sqlite but it left things in a weird state
-- racket/help couldn't find help for things like string-base. And
for things like (say) get-pure-port, there was a 10 second delay the
first time in each Racket session for Loading help index..., but
then it did find the topic.

I thought to rm -rf racket/doc and run make.

But same warnings during raco setup.

(However racket/help does work fine now. Same 10-second index load.
That seems longer than in 5.3.6, but maybe I'm mistaken.)



On Tue, Dec 17, 2013 at 9:51 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
 I think this is probably a leftover from the broken period starting
 with commit 6ff7359212 and ending with commit 4fc71002e8 --- and a case
 of things being just broken enough that the current version doesn't
 detect that things need to be refreshed.

 You might try deleting

  /Users/greg/src/plt/racket/doc/docindex.sqlite

 before the next `raco setup`.

 At Tue, 17 Dec 2013 17:00:11 -0500, Greg Hendershott wrote:
 Building HEAD (97ee349) today I noticed the following:

 raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt)
 current-pkg-catalog-file))
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) get-catalogs))
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) 
 get-module-pkgs))
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt)
 get-pkg-dependencies))
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) 
 get-pkg-modules))
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) get-pkg-tags))
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup: WARNING: duplicate tag: (def ((lib pkg/db.rkt) get-pkgs))
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 raco setup:  in:
 /Users/greg/src/plt/racket/pkgs/racket-pkgs/racket-doc/pkg/scribblings/pkg.scrb
 l
 ...


 and quite a few more (not all are pkg/db.rkt) -- full output here:
 https://gist.github.com/greghendershott/8013323

 This may have been happening for quite awhile but I haven't noticed.
 These is in the middle of the doc section, wouldn't be on-screen at
 the end of the build.

 Not sure if it matters but wanted to mention just in case.
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Duplicate tag warnings building docs?

2013-12-17 Thread Greg Hendershott
On Tue, Dec 17, 2013 at 11:52 PM, Greg Hendershott
greghendersh...@gmail.com wrote:
 I tried deleting docindex.sqlite but it left things in a weird state
 -- racket/help couldn't find help for things like string-base.

Hopefully it was clear but I meant things like string-list, from racket/base.

Anyway, the main point is I still get the warnings.

Whether it matters, I don't know, but I wanted to report it.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Duplicate tag warnings building docs?

2013-12-17 Thread Robby Findler
If you don't have any changes to the tree, try 'git clean -x -f -d' before
running make. That will delete all of the old build products (and
everything else that isn't in the repo) and hopefully clear things up.

Robby


On Tue, Dec 17, 2013 at 10:53 PM, Greg Hendershott 
greghendersh...@gmail.com wrote:

 On Tue, Dec 17, 2013 at 11:52 PM, Greg Hendershott
 greghendersh...@gmail.com wrote:
  I tried deleting docindex.sqlite but it left things in a weird state
  -- racket/help couldn't find help for things like string-base.

 Hopefully it was clear but I meant things like string-list, from
 racket/base.

 Anyway, the main point is I still get the warnings.

 Whether it matters, I don't know, but I wanted to report it.
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev

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