From 3ccffb49484240bc8672e0fc3cc910a2510d970d Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 8 Nov 2011 01:47:43 -0500 Subject: [PATCH 1/8] note on the compile-time error --- Makefile | 4 ++-- scribblings/cs019.scrbl | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e131814..f5ef195 100644 --- a/Makefile +++ b/Makefile @@ -44,8 +44,8 @@ cs019-doc: setup: - raco setup --no-docs -P dyoo whalesong.plt 1 6 + raco setup --no-docs -P dyoo whalesong.plt 1 5 planet-link: - raco planet link dyoo whalesong.plt 1 6 . \ No newline at end of file + raco planet link dyoo whalesong.plt 1 5 . \ No newline at end of file diff --git a/scribblings/cs019.scrbl b/scribblings/cs019.scrbl index b46dcb3..dc09b65 100644 --- a/scribblings/cs019.scrbl +++ b/scribblings/cs019.scrbl @@ -71,6 +71,14 @@ dependencies, and its documentation. When it finally finishes, you should see a @filepath{whalesong} launcher in the current directory. +If you see the following error message during installation: +@verbatim|{ +raco setup: error: during Building docs for ...scribblings/manual.scrbl +raco setup: require: unknown module: 'program +}| +please ignore it: it is due to a bug in Racket's documentation +generator. + @section{Examples} From 9caec4b35118719876c9606e141bbc83c4832469 Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 8 Nov 2011 21:40:23 -0500 Subject: [PATCH 2/8] labeling things for the 1.6 release --- Makefile | 4 ++-- scribblings/manual.scrbl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f5ef195..e131814 100644 --- a/Makefile +++ b/Makefile @@ -44,8 +44,8 @@ cs019-doc: setup: - raco setup --no-docs -P dyoo whalesong.plt 1 5 + raco setup --no-docs -P dyoo whalesong.plt 1 6 planet-link: - raco planet link dyoo whalesong.plt 1 5 . \ No newline at end of file + raco planet link dyoo whalesong.plt 1 6 . \ No newline at end of file diff --git a/scribblings/manual.scrbl b/scribblings/manual.scrbl index 1b8dfef..b4aed56 100644 --- a/scribblings/manual.scrbl +++ b/scribblings/manual.scrbl @@ -195,7 +195,7 @@ If you want to use Whalesong off of PLaneT, run the following to create the @filepath{whalesong} launcher: @codeblock|{ #lang racket/base -(require (planet dyoo/whalesong:1:5/make-launcher)) +(require (planet dyoo/whalesong:1:6/make-launcher)) }| This may take a few minutes, as Racket is compiling Whalesong, its dependencies, and its documentation. When it finally finishes, From b00756ad876d0e9f9d3fc8a7a1acfaa7229ade96 Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 8 Nov 2011 21:41:49 -0500 Subject: [PATCH 3/8] info.rkt mentions 1.6 --- info.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/info.rkt b/info.rkt index 17d713f..ddd3976 100644 --- a/info.rkt +++ b/info.rkt @@ -2,8 +2,8 @@ (define name "Whalesong") (define blurb '("A Racket to JavaScript compiler")) -(define release-notes '((p "Corrected bug that would cause Whalesong to fail on Windows, reduced size of generated JS files, added hash tables, and other bug fixes."))) -(define version "1.5") +(define release-notes '((p "Minor update: bug fix to prevent crashes on iOS 5."))) +(define version "1.6") (define categories '(devtools)) (define repositories '("4.x")) (define required-core-version "5.1.1") From e6a7f89f832762f9996163b98d85074059ff1492 Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 8 Nov 2011 22:23:59 -0500 Subject: [PATCH 4/8] removing ... from being documented --- scribblings/cs019.scrbl | 3 ++- scribblings/manual.scrbl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scribblings/cs019.scrbl b/scribblings/cs019.scrbl index dc09b65..e0cb70a 100644 --- a/scribblings/cs019.scrbl +++ b/scribblings/cs019.scrbl @@ -32,7 +32,8 @@ symbol? symbol=? current-output-port lambda - true false))) + true false + ...))) @(define-runtime-path whalesong-path "..") diff --git a/scribblings/manual.scrbl b/scribblings/manual.scrbl index b4aed56..81f2eb4 100644 --- a/scribblings/manual.scrbl +++ b/scribblings/manual.scrbl @@ -29,7 +29,8 @@ number? newline current-output-port - display)) + display + ...)) (for-label (this-package-in resource) (for-label (this-package-in web-world)))) From 1d1a58fa85a3f5ed74f883d2a4c2cbaf719c5e4e Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 8 Nov 2011 22:24:34 -0500 Subject: [PATCH 5/8] oops, just the cs019 docs --- scribblings/manual.scrbl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scribblings/manual.scrbl b/scribblings/manual.scrbl index 81f2eb4..b4aed56 100644 --- a/scribblings/manual.scrbl +++ b/scribblings/manual.scrbl @@ -29,8 +29,7 @@ number? newline current-output-port - display - ...)) + display)) (for-label (this-package-in resource) (for-label (this-package-in web-world)))) From 9016170e3f0715c2235e5cea98a79aada987063a Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 8 Nov 2011 22:28:15 -0500 Subject: [PATCH 6/8] updating file sizes in the docs to files that are still sorta huge, but not so bad --- scribblings/cs019.scrbl | 2 +- scribblings/manual.scrbl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scribblings/cs019.scrbl b/scribblings/cs019.scrbl index e0cb70a..cba33c5 100644 --- a/scribblings/cs019.scrbl +++ b/scribblings/cs019.scrbl @@ -127,7 +127,7 @@ However, it can also be packaged with @filepath{whalesong}. $ ls -l hello.html -rw-r--r-- 1 dyoo dyoo 3817 2011-09-10 15:02 hello.html $ ls -l hello.js - -rw-r--r-- 1 dyoo dyoo 2129028 2011-09-10 15:02 hello.js + -rw-r--r-- 1 dyoo dyoo 1146428 2011-09-10 15:02 hello.js }| Running @tt{whalesong build} will produce @filepath{.html} and diff --git a/scribblings/manual.scrbl b/scribblings/manual.scrbl index b4aed56..03b1d44 100644 --- a/scribblings/manual.scrbl +++ b/scribblings/manual.scrbl @@ -261,7 +261,7 @@ However, it can also be packaged with @filepath{whalesong}. $ ls -l hello.html -rw-r--r-- 1 dyoo dyoo 3817 2011-09-10 15:02 hello.html $ ls -l hello.js - -rw-r--r-- 1 dyoo dyoo 2129028 2011-09-10 15:02 hello.js + -rw-r--r-- 1 dyoo dyoo 841948 2011-09-10 15:02 hello.js }| From ed90517221606d5d61d972db9c9bbe2833d023b9 Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 8 Nov 2011 22:34:53 -0500 Subject: [PATCH 7/8] updating the paths in the fact example, since it's a bit different --- scribblings/manual.scrbl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scribblings/manual.scrbl b/scribblings/manual.scrbl index 03b1d44..0ca1cf0 100644 --- a/scribblings/manual.scrbl +++ b/scribblings/manual.scrbl @@ -331,12 +331,12 @@ function and define it in a module called @filepath{fact.rkt}: @margin-note{ The files can also be downloaded here: -@itemlist[@item{@link["http://hashcollision.org/whalesong/examples/fact/fact.rkt"]{fact.rkt}} -@item{@link["http://hashcollision.org/whalesong/examples/fact/index.html"]{index.html}}] +@itemlist[@item{@link["http://hashcollision.org/whalesong/fact-example/fact.rkt"]{fact.rkt}} +@item{@link["http://hashcollision.org/whalesong/fact-example/index.html"]{index.html}}] with generated JavaScript binaries here: @itemlist[ -@item{@link["http://hashcollision.org/whalesong/examples/fact/fact.js"]{fact.js}} -@item{@link["http://hashcollision.org/whalesong/examples/fact/runtime.js"]{runtime.js}} +@item{@link["http://hashcollision.org/whalesong/fact-example/fact.js"]{fact.js}} +@item{@link["http://hashcollision.org/whalesong/fact-example/runtime.js"]{runtime.js}} ] } @@ -415,7 +415,7 @@ The factorial of 10000 is being computed. }| } -@margin-note{See: @link["http://hashcollision.org/whalesong/examples/fact/bad-index.html"]{bad-index.html}.} +@margin-note{See: @link["http://hashcollision.org/whalesong/fact-example/bad-index.html"]{bad-index.html}.} Replacing the @racket[10000] with @racket["one-billion-dollars"] should reliably produce a proper error message. From 67f125e14f9e0573a98c58e7e08c6790c9a3b791 Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Tue, 8 Nov 2011 23:46:04 -0500 Subject: [PATCH 8/8] 1.6 for cs019 docs --- scribblings/cs019.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scribblings/cs019.scrbl b/scribblings/cs019.scrbl index cba33c5..d8caf02 100644 --- a/scribblings/cs019.scrbl +++ b/scribblings/cs019.scrbl @@ -65,7 +65,7 @@ Run the following to create the @filepath{whalesong} launcher program in your current directory. @codeblock|{ #lang racket/base -(require (planet dyoo/whalesong:1:5/make-launcher)) +(require (planet dyoo/whalesong:1:6/make-launcher)) }| This may take a few minutes, as Racket is compiling Whalesong, its dependencies, and its documentation. When it finally finishes,