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

2012-01-23 Thread Aleksej Saushev
  Hello!

Ryan Culpepper r...@cs.utah.edu writes:

 Checklist items for the v5.2.1 release
   (using the v5.2.0.900 release candidate build)

5.2.0.901 doesn't build on NetBSD:

gcc -I./.. -I./../include -O2 -pthread -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2  -Wall -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -pthread-DNO_MBTOWC_FUNCTIONS -c ./port.c -o 
port.o
./port.c: In function 'scheme_alloc_global_fdset':
./port.c:792:77: error: invalid application of 'sizeof' to incomplete type 
'struct mz_fd_set' 
./port.c: In function 'scheme_merge_fd_sets':
./port.c:1257:5: warning: implicit declaration of function 'FDSET_LIMIT'
./port.c:1259:7: error: lvalue required as left operand of assignment

I'm looking into it.


-- 
HE CE3OH...

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


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

2012-01-23 Thread Aleksej Saushev
  Hello!

Ryan Culpepper r...@cs.utah.edu writes:

 Checklist items for the v5.2.1 release
   (using the v5.2.0.900 release candidate build)

I'm testing racket-5.2.0.901 on NetBSD 5.99.59 i386.

After applying patch as attached, I am trying to run tests as follows:

(cd collects/tests/racket  racket -f quiet.rktl)

Racket crashes with this:

Section(basic)
Section(unicode)
Section(rx)
Section(reading)
Section(readtable)
Section(printing)
Section(macro)
Section(syntax)
Section(procs)
Section(stx)
Section(module)
Section(numbers)
Section(unsafe)
Section(object)
Section(struct)
Section(unit)
Section(unit/sig)
Section(threads)
Section(logger)
Section(synchronization)
Section(deep)
[1]   Illegal instruction (core dumped) (cd collects/tests/racket  racket -f 
quiet.rktl)

Backtrace:

Program terminated with signal 4, Illegal instruction.
#0  0xbb5a5d0a in ?? ()
#1  0xbb5a5d0f in ?? ()
#2  0xbb5a5d0f in ?? ()
...
#1274 0xbb5a5d0f in ?? ()
#1275 0xbb5a5d0f in ?? ()
#1276 0xbb5a5d0f in ?? ()
#1277 0x08083897 in scheme_do_eval ()
#1278 0x0808549b in do_eval_k ()
#1279 0x0807d965 in scheme_enlarge_runstack ()
#1280 0x08082ba5 in scheme_do_eval ()
#1281 0x080856a7 in _scheme_apply_from_native ()
#1282 0xbb5a5dcd in ?? ()
#1283 0xbb5a5d0f in ?? ()
#1284 0xbb5a5d0f in ?? ()
...
#6147 0xbb5a5d0f in ?? ()
#6148 0xbb5a5d0f in ?? ()
...
(I've stopped GDB here.)

Any idea what can be wrong?



-- 
HE CE3OH...


patch-src_racket_sconfig.h
Description: Binary data
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


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

2012-01-23 Thread Matthew Flatt
At Mon, 23 Jan 2012 02:16:06 +0400, Aleksej Saushev wrote:
 I'm testing racket-5.2.0.901 on NetBSD 5.99.59 i386.
 
 After applying patch as attached, 

Thanks!

 Section(deep)
 [1]   Illegal instruction (core dumped) (cd collects/tests/racket  racket 
 -f 
 quiet.rktl)
 
 [...]
 
 Any idea what can be wrong?

This looks like a problem with Racket's inference of the stack size.

In some BSD variants, enable pthread support makes the main thread have
a different size than the usual stack limit. Did you specifically
enable places, futures, or pthread when configuring? (I think they're
off by default for NetBSD, but I may be mistaken.) Does configuring so
that `-pthread' isn't used in the compiler command change the success
of the deep.rktl test?


Matthew

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


[racket-dev] Can't get for-label to work in Scribble docs

2012-01-23 Thread Neil Toronto
For some reason, when I require (for-label db/base), I still get 
warnings about `sql-timestamp?', `sql-time?' and `sql-date?', and red 
underlines under them.


I'm also requiring (for-label slideshow/pict), but I get no warnings or 
underlines for `pict?'. Is there something special I need to do for the 
identifiers exported by `db/base'?


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


Re: [racket-dev] Can't get for-label to work in Scribble docs

2012-01-23 Thread Neil Toronto

On 01/23/2012 01:18 PM, Neil Toronto wrote:

For some reason, when I require (for-label db/base), I still get
warnings about `sql-timestamp?', `sql-time?' and `sql-date?', and red
underlines under them.


Okay, I figured out what I need to do, but not why it works. I have to 
require JUST (for-label db), NOT (for-label db/base) NOR (for-label db 
db/base).


That (for-label db/base) and (for-label db db/base) don't work makes no 
sense to me. Ryan's Scribble docs look fine. What's going on?


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


Re: [racket-dev] Can't get for-label to work in Scribble docs

2012-01-23 Thread Ryan Culpepper

On 01/23/2012 01:31 PM, Neil Toronto wrote:

On 01/23/2012 01:18 PM, Neil Toronto wrote:

For some reason, when I require (for-label db/base), I still get
warnings about `sql-timestamp?', `sql-time?' and `sql-date?', and red
underlines under them.


Okay, I figured out what I need to do, but not why it works. I have to
require JUST (for-label db), NOT (for-label db/base) NOR (for-label db
db/base).

That (for-label db/base) and (for-label db db/base) don't work makes no
sense to me. Ryan's Scribble docs look fine. What's going on?


I suspect I should be using #:use-sources to tell Scribble that those 
bindings from db and db/base are the same.


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


Re: [racket-dev] Can't get for-label to work in Scribble docs

2012-01-23 Thread Neil Toronto

On 01/23/2012 01:36 PM, Ryan Culpepper wrote:

On 01/23/2012 01:31 PM, Neil Toronto wrote:

On 01/23/2012 01:18 PM, Neil Toronto wrote:

For some reason, when I require (for-label db/base), I still get
warnings about `sql-timestamp?', `sql-time?' and `sql-date?', and red
underlines under them.


Okay, I figured out what I need to do, but not why it works. I have to
require JUST (for-label db), NOT (for-label db/base) NOR (for-label db
db/base).

That (for-label db/base) and (for-label db db/base) don't work makes no
sense to me. Ryan's Scribble docs look fine. What's going on?


I suspect I should be using #:use-sources to tell Scribble that those
bindings from db and db/base are the same.


I have a struct type exported by both `plot' and `plot/utils'. I should 
probably do the same.


How would you do that, anyway? I've read and re-read the `defmodule' 
docs, but I still don't know how to use #:use-sources.


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


Re: [racket-dev] Can't get for-label to work in Scribble docs

2012-01-23 Thread Robby Findler
#:use-sources is for the relatively rare case that (in the example below),
db and bd/base both export identifiers from some some common, but
undocumented place, like db/private/base (just making that up). It is an
annotation that tells scribble that even though db does not re-export
db/base, please go ahead and document it like it does. Something like
that.

Note that this is only appropriate if the exports *really* *are* the same
identifier, but coming from some shared, undocumented place.

If the bindings are actually different, then they should be documented
twice (perhaps abstracted over in some way, but ultimately with two
defprocs or whatever).

(The easiest thing may be to make db re-export db/base, assuming it isn't
already.)

Robby

On Monday, January 23, 2012, Neil Toronto wrote:

 On 01/23/2012 01:36 PM, Ryan Culpepper wrote:

 On 01/23/2012 01:31 PM, Neil Toronto wrote:

 On 01/23/2012 01:18 PM, Neil Toronto wrote:

 For some reason, when I require (for-label db/base), I still get
 warnings about `sql-timestamp?', `sql-time?' and `sql-date?', and red
 underlines under them.


 Okay, I figured out what I need to do, but not why it works. I have to
 require JUST (for-label db), NOT (for-label db/base) NOR (for-label db
 db/base).

 That (for-label db/base) and (for-label db db/base) don't work makes no
 sense to me. Ryan's Scribble docs look fine. What's going on?


 I suspect I should be using #:use-sources to tell Scribble that those
 bindings from db and db/base are the same.


 I have a struct type exported by both `plot' and `plot/utils'. I should
 probably do the same.

 How would you do that, anyway? I've read and re-read the `defmodule' docs,
 but I still don't know how to use #:use-sources.

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

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


[racket-dev] Release Announcement for v5.2.1

2012-01-23 Thread Ryan Culpepper

Below is a rough list of additions and changes for v5.2.1. If you
are responsible for a change, please either elaborate it into an
announcement item or tell me if it shouldn't be included in the
announcement. Let me know if I've missed something.

--

- racket
  - io now uses poll() or kqueue() when available
  - intern literal strings, bytes, regexps, chars, numbers
  - floating-point ops now use SSE (when available?)
  - cross-module function inlining, racket/performance-hint
  - OS X build defaults to the platform it is built on (i386 vs x86_64)
  - Add a tutorial to the FFI overview
  - racket/class: send/keyword-apply, dynamic-send
  - generalized gcd, lcm to rationals
  - syntax/datum, datum-case, etc
  - improve choice-evt complexity
  - deprecation note for ActiveX part of MysterX

- racket/draw
  - generalized brush transform to apply to stipple
  - racket/draw: generalize face in font% to be description
  - added text-outline to dc-path

- drracket
  - No stacktrace for syntax errors in DrRacket
  - change current-directory default init value
  - render convertibles as png (or changed since?)
  - autocompletion tweak
  - check syntax UI improvements?

- typed/racket
  - Add `typecheck-fail' form for explicit type errors.
  - case- bug fix

- scribble
  - removed distinctness of \n generated by at-reader

- plai
  - new gc code

- redex
  - define-judgment, define-relation improvements
  - optimizations, caching
  - cycle check for define-language

- net
  - changes to net/sendmail, net/unihead
  - changes to net/mime
  - synchronizable events (net/websocket/conn)

- plot improvements
  - click to drag and zoom
  - right-click opens editor pop-up menu
  - removed libfit
  - others?

- icons and images package
  - new icons
  - libraries

- teaching languages
  - planet require syntax

- 2htdp/image
  - added bitmap/file

- 2htdp/universe
  - prefab structs
  - added game pad, pad-handler (?)

- 2htdp/planetcute

- db
  - added support for postgresql arrays
  - implement mysql old password support, connect without db
  - fixed sqlite3 crashing bug
  - nested transactions

- in-slice sequences

- DMdA
  - fix infinite recursive signatures
  - record signatures without fields
  - document which signatures work with check-property

- macro-stepper
  - display binding info for more phases
  - don't evaluate program, no repl

- xrepl fixes

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


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

2012-01-23 Thread Eli Barzilay
A few minutes ago, Ryan Culpepper wrote:
 
 - scribble
- removed distinctness of \n generated by at-reader

This wasn't completely reliable anyway.


 - net
- changes to net/sendmail, net/unihead

This is still work in progress.  The visible side of it is that
`net/sendmail' was severely broken wrt unicode headers (email
addresses or subject), and now it works.  I don't know if this is
worth inclusion.


 - in-slice sequences

This is in unstable.


 - xrepl fixes

Drop too.  (They're just minor fixes.)

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


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

2012-01-23 Thread John Clements

On Jan 20, 2012, at 12:18 PM, Ryan Culpepper wrote:

 Checklist items for the v5.2.1 release
  (using the v5.2.0.900 release candidate build)
 
 * John Clements cleme...@brinckerhoff.org
  - 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.)

Done.

John Clements



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


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

2012-01-23 Thread Matthew Flatt
At Mon, 23 Jan 2012 17:27:47 -0700, Ryan Culpepper wrote:
 - racket
- io now uses poll() or kqueue() when available
- floating-point ops now use SSE (when available?)
- cross-module function inlining, racket/performance-hint

 * Performance improvements include the use of epoll()/kqueue() instead
   of select() for the Racket thread scheduler, cross-module inlining
   of small functions, and the use of SSE instead of x87 for
   JIT-compiled floating-point operations on platforms where SSE is
   always available (including x86_64 platforms). A related change is
   the interning of literal numbers, strings, byte strings, characters,
   and regexps that appear in code and syntax objects.

- deprecation note for ActiveX part of MysterX

 * MysterX's ActiveX support is deprecated and will be removed in the
   next release. MysterX's core COM functionality will become
   deprecated in the next release, but COM functionality will be
   supported for the foreseeable future as a compatibility layer over a
   forthcoming `ffi/com' library.

- OS X build defaults to the platform it is built on (i386 vs x86_64)
- Add a tutorial to the FFI overview
- racket/class: send/keyword-apply, dynamic-send
- generalized gcd, lcm to rationals
- syntax/datum, datum-case, etc
- improve choice-evt complexity
 
 - racket/draw
- generalized brush transform to apply to stipple
- racket/draw: generalize face in font% to be description
- added text-outline to dc-path

These all seem too minor to me.

The OS X build change is almost worth noting, but most OS X users
surely download a pre-built installation, and the build change is not
relevant to those users.

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


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

2012-01-23 Thread Jay McCarthy
On Mon, Jan 23, 2012 at 5:27 PM, Ryan Culpepper r...@cs.utah.edu wrote:
 - plai
  - new gc code

This is unstable.

 - net
  - synchronizable events (net/websocket/conn)

This is too minor to mention.

Jay

-- 
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] Release Announcement for v5.2.1

2012-01-23 Thread Sam Tobin-Hochstadt
On Mon, Jan 23, 2012 at 8:57 PM, Matthew Flatt mfl...@cs.utah.edu wrote:
 Performance improvements include the use of epoll()/kqueue() instead
   of select() for the Racket thread scheduler

I think this deserves more prominent notice -- the GHC developers
wrote a whole paper about it when they did this.
-- 
sam th
sa...@ccs.neu.edu

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


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

2012-01-23 Thread Robby Findler
On Mon, Jan 23, 2012 at 6:27 PM, Ryan Culpepper r...@cs.utah.edu wrote:
 - drracket
  - No stacktrace for syntax errors in DrRacket
  - change current-directory default init value
  - render convertibles as png (or changed since?)
  - autocompletion tweak
  - check syntax UI improvements?

 - redex
  - define-judgment, define-relation improvements
  - optimizations, caching
  - cycle check for define-language

 - icons and images package
  - new icons
  - libraries

 - teaching languages
  - planet require syntax

 - 2htdp/image
  - added bitmap/file


* The performance of Redex's matcher has been substantially improved;
depending on the model you should see improvements between 2x and 50x
in the time it takes to reduce terms.

* DrRacket now has a new slate of icons

The other seem too minor (and the second one is questionable; I think
everyone will appreciate them, but few will download because of that,
I guess).

Robby

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


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

2012-01-23 Thread Ryan Culpepper

On 01/23/2012 06:30 PM, Robby Findler wrote:

On Mon, Jan 23, 2012 at 6:27 PM, Ryan Culpepperr...@cs.utah.edu  wrote:

- drracket
  - No stacktrace for syntax errors in DrRacket
  - change current-directory default init value
  - render convertibles as png (or changed since?)
  - autocompletion tweak
  - check syntax UI improvements?

- redex
  - define-judgment, define-relation improvements
  - optimizations, caching
  - cycle check for define-language

- icons and images package
  - new icons
  - libraries

- teaching languages
  - planet require syntax

- 2htdp/image
  - added bitmap/file



* The performance of Redex's matcher has been substantially improved;
depending on the model you should see improvements between 2x and 50x
in the time it takes to reduce terms.

* DrRacket now has a new slate of icons

The other seem too minor (and the second one is questionable; I think
everyone will appreciate them, but few will download because of that,
I guess).


I expect Neil will elaborate on the new library that produced them, and 
DrRacket uses them can be attached to that item.


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


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

2012-01-23 Thread Neil Toronto

On 01/23/2012 08:04 PM, Ryan Culpepper wrote:

On 01/23/2012 06:30 PM, Robby Findler wrote:


* DrRacket now has a new slate of icons

The other seem too minor (and the second one is questionable; I think
everyone will appreciate them, but few will download because of that,
I guess).


I expect Neil will elaborate on the new library that produced them, and
DrRacket uses them can be attached to that item.


If we're announcing it, this could work:

* A new `images' library produces ray-traced icons and logos, and 
provides macros to embed these and other computed bitmaps into compiled 
programs. DrRacket is the first major consumer.


When I make the rendering API public - which includes the ray tracer, 
pict-like combiners for two-and-a-half-dimensional bitmaps, and fast 
image processing primitives, all in Typed Racket - there will be more to 
say. Do we want to wait to announce `images' until then?


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


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

2012-01-23 Thread Neil Toronto

On 01/23/2012 05:27 PM, Ryan Culpepper wrote:

Below is a rough list of additions and changes for v5.2.1. If you
are responsible for a change, please either elaborate it into an
announcement item or tell me if it shouldn't be included in the
announcement. Let me know if I've missed something.

--

- plot improvements
- click to drag and zoom
- right-click opens editor pop-up menu
- removed libfit
- others?


* Plots look nicer, render up to 4 times faster, and are more correct at 
very small and very large scales. New features include customizable dual 
axis ticks and transforms (e.g. log axes, date and currency ticks, axis 
interval collapse and stretch), stacked histograms, and 3D vector 
fields. The legacy `fit' function and libfit have been removed.


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