From 6ad2935d91feab58bc12fd2b9217ae655bde91a6 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Tue, 25 May 2010 16:09:53 -0500 Subject: [PATCH 1/4] made a start on the image-core library's documentation original commit: 0c1afebb5a9c163a383c6f4959ad86f065c6d408 --- collects/mrlib/scribblings/image-core.scrbl | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 collects/mrlib/scribblings/image-core.scrbl diff --git a/collects/mrlib/scribblings/image-core.scrbl b/collects/mrlib/scribblings/image-core.scrbl new file mode 100644 index 00000000..e798e08b --- /dev/null +++ b/collects/mrlib/scribblings/image-core.scrbl @@ -0,0 +1,24 @@ +#lang scribble/doc +@(require "common.ss") + +@title{Image Core} + +@defmodule[mrlib/image-core] + +This library is the core part of the @racketmodname[2htdp/image] library that DrRacket +links into the namespace of all languages that it runs. This ensures that minimal +support for these images are the same in all languages, specifically including +support for printing the images and constructing the core data structures making +up an image. + +@defproc[(render-image [image image?] + [dc (is-a?/c dc<%>)] + [dx number?] + [dy number?]) + void?]{ + Draws @racket[image] in @racket[dc] at the position (@racket[dx],@racket[dy]). +} + +@defproc[(image? [v any/c]) boolean?]{ + Recognizes the images that library handles. +} \ No newline at end of file From b9bb6461df08272267aa17edef272b2463604c77 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Tue, 25 May 2010 16:10:04 -0500 Subject: [PATCH 2/4] made a start on the image-core library's documentation original commit: 8c98f9d9794e4ec977bdda8bb2d215a30c8442e9 --- collects/mrlib/scribblings/mrlib.scrbl | 1 + 1 file changed, 1 insertion(+) diff --git a/collects/mrlib/scribblings/mrlib.scrbl b/collects/mrlib/scribblings/mrlib.scrbl index 7991b3d5..8d4e8eb8 100644 --- a/collects/mrlib/scribblings/mrlib.scrbl +++ b/collects/mrlib/scribblings/mrlib.scrbl @@ -18,6 +18,7 @@ @include-section["path-dialog.scrbl"] @include-section["plot.scrbl"] @include-section["switchable-button.scrbl"] +@include-section["image-core.scrbl"] @include-section["tex-table.scrbl"] @section{Acknowledgments} From 28ba1d1465b960c8984acda05e7c1e31624dc272 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Tue, 25 May 2010 17:57:25 -0500 Subject: [PATCH 3/4] Rackety 2htdp/image original commit: 31b507aa510388cec64d8d74e904f9a485c49461 --- collects/mrlib/image-core.rkt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/collects/mrlib/image-core.rkt b/collects/mrlib/image-core.rkt index c81735f2..860d8914 100644 --- a/collects/mrlib/image-core.rkt +++ b/collects/mrlib/image-core.rkt @@ -1,8 +1,8 @@ -#lang scheme/base +#lang racket/base #| This library is the part of the 2htdp/image -teachpack that has to be shared between drscheme +teachpack that has to be shared between drracket and the user's program to make copy and paste work right. @@ -26,11 +26,11 @@ has been moved out). |# -(require scheme/class - scheme/gui/base - scheme/math +(require racket/class + racket/gui/base + racket/math "private/image-core-bitmap.ss" - (for-syntax scheme/base)) + (for-syntax racket/base)) (define-for-syntax id-constructor-pairs '()) (define-for-syntax (add-id-constructor-pair a b) @@ -317,7 +317,7 @@ has been moved out). (and (= (round (bb-right bb1)) (round (bb-right bb2))) (= (round (bb-bottom bb1)) (round (bb-bottom bb2))) (= (round (bb-baseline bb1)) (round (bb-baseline bb2))))) -(define scheme/base:read read) +(define racket/base:read read) (define image-snipclass% (class snip-class% @@ -331,7 +331,7 @@ has been moved out). (and str (with-handlers ((exn:fail:read? (λ (x) #f))) (parse - (scheme/base:read + (racket/base:read (open-input-string str)))))]) (if lst From 17c8b574a580318b8c6246b607708a61ac4cc33e Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 27 May 2010 15:32:38 -0600 Subject: [PATCH 4/4] update READMEs for v5.0 Merge to v5.0 original commit: 06f65546e9dd86fc836f3788e0fb152761255fec --- doc/release-notes/gracket/HISTORY.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/release-notes/gracket/HISTORY.txt b/doc/release-notes/gracket/HISTORY.txt index d5735994..96d440e9 100644 --- a/doc/release-notes/gracket/HISTORY.txt +++ b/doc/release-notes/gracket/HISTORY.txt @@ -1,3 +1,9 @@ +Version 5.0, May 2010 + +Changed the executable from MrEd to GRacket + +---------------------------------------------------------------------- + Version 4.2.5, March 2010 Changed radio-box% to allow #f as a selection so that no buttons are