Re: [racket-dev] draw-text always pixel aligned?
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) _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] racket/gui checkbox clips text
Thanks for looking into this. It still happens here and I haven't managed to narrow it down any more than my initial report. i.e. Windows, 5.3.6+ and increased DPI. I've also tried changing Windows font settings such as ClearType and the Smooth edges of screen fonts option, but they don't solve the issue. I'll keep investigating though and let you know if I find out any more. Thanks From: Matthew Flatt mfl...@cs.utah.edu To: Richard Hopkins richhguard-monot...@yahoo.co.uk Cc: dev@racket-lang.org dev@racket-lang.org Sent: Sunday, 15 December 2013, 15:22 Subject: Re: [racket-dev] racket/gui checkbox clips text Thanks for the report! Unfortunately, I haven't been able to replicate the problem on either Windows 7 machine that I tried. Is there possibly some other configuration that's needed to provoke the error, such as a font change? At Tue, 10 Dec 2013 18:56:02 + (GMT), Richard Hopkins wrote: Using the DrRacket nightly build for 2013-12-09, checkboxes in the Preferences dialog have the text clipped. It appears as though there isn't enough space to fit the text on 1 line, so it renders 2 lines. However, the top of the 1st line and bottom of the 2nd line is rendered outside the client area for the checkbox. This issue is not specific to DrRacket and can be reproduced using #lang racket/gui (define frame (new frame% [label Example])) (define check-box (new check-box% (parent frame) (label A check box with a really long label to see if it still works and does not truncate any text.) (value #t))) (send frame show #t) I think all of the following must be true to reproduce the issue: * racket/gui later than 5.3.6; * run on Windows; and * have DPI set larger than the Windows default. Regarding the DPI issue, this can be changed via the 'Personalize' menu item from the Desktop and selecting the Make text appear larger (125%) item for example. A log off and on is required for the change to apply. Broken example: 2013-12-09 nightly on Windows 7 with text set to 125%. Working examples: 5.3.6 on Windows 7 with text set to 125%. 2013-12-09 nightly on Windows 8 with text set to 100% 5.3.6 on Linux with GTK and default DPI 2013-12-09 nightly on Linux with GTK and default DPI Regards_ Racket Developers list: http://lists.racket-lang.org/dev_ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] draw-text always pixel aligned?
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) attachment: draw-text2-unaligned.png_ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] [plt] Push #27930: master branch updated
Is this really important enough to request addition to 6.0 given that it likely won't be included in the testing builds? Robby On Mon, Dec 16, 2013 at 10:07 AM, mfl...@racket-lang.org wrote: mflatt has updated `master' from 37dd4fc2b0 to 1ceca069c8. http://git.racket-lang.org/plt/37dd4fc2b0..1ceca069c8 =[ One Commit ]= Directory summary: 8.8% pkgs/racket-pkgs/racket-doc/syntax/scribblings/ 19.4% pkgs/racket-pkgs/racket-test/tests/racket/ 47.6% racket/collects/racket/private/ 24.1% racket/src/racket/src/ ~~ 1ceca06 Matthew Flatt mfl...@racket-lang.org 2013-12-16 08:16 : | more repairs to function-name inference | | The main change is to add an option to `syntax-local-infer-name` to | select whether `syntax-local-name` is used, and to use the new option | to disable `syntax-local-name` for the function expression in a | keyword `#%app`. | | Improvements in the expander/compiler generalize a previous repair. | | Merge to v6.0 : M racket/collects/racket/private/kw.rkt | 2 +- M racket/collects/racket/private/name.rkt | 52 +++- M .../racket-doc/syntax/scribblings/name.scrbl | 10 ++-- M racket/src/racket/src/compile.c | 29 ++- M racket/src/racket/src/eval.c | 9 ++-- M racket/src/racket/src/module.c| 2 +- M racket/src/racket/src/schpriv.h | 3 +- M .../racket-test/tests/racket/name.rktl| 23 + =[ Overall Diff ]=== pkgs/racket-pkgs/racket-doc/syntax/scribblings/name.scrbl ~ --- OLD/pkgs/racket-pkgs/racket-doc/syntax/scribblings/name.scrbl +++ NEW/pkgs/racket-pkgs/racket-doc/syntax/scribblings/name.scrbl @@ -5,12 +5,16 @@ @defmodule[syntax/name] -@defproc[(syntax-local-infer-name [stx syntax?]) any/c]{ +@defproc[(syntax-local-infer-name [stx syntax?] [use-local? any/c #t]) any/c]{ -Similar to @racket[syntax-local-name] except that @racket[stx] is +Similar to @racket[syntax-local-name], except that @racket[stx] is checked for an @racket['inferred-name] property (which overrides any inferred name). If neither @racket[syntax-local-name] nor @racket['inferred-name] produce a name, or if the @racket['inferred-name] property value is @|void-const|, then a name is constructed from the source-location information in @racket[stx], -if any. If no name can be constructed, the result is @racket[#f].} +if any. If no name can be constructed, the result is @racket[#f]. + +If @racket[use-local?] is @racket[#f], then @racket[syntax-local-name] is +not used. Provide @racket[use-local?] as @racket[#f] to construct a name +for a syntax object that is not an expression currently being expanded.} pkgs/racket-pkgs/racket-test/tests/racket/name.rktl ~~~ --- OLD/pkgs/racket-pkgs/racket-test/tests/racket/name.rktl +++ NEW/pkgs/racket-pkgs/racket-test/tests/racket/name.rktl @@ -107,5 +107,28 @@ (err/rt-test (let ([unmentionable ((lambda (x #:a a) 1) 1 2)]) 5) (lambda (exn) (not (regexp-match? #rxunmentionable (exn-message exn) +(err/rt-test (let ([unmentionable ((lambda (x #:a a) 1) #:q 1 2)]) 5) + (lambda (exn) (not (regexp-match? #rxunmentionable (exn-message exn) + + +(err/rt-test (let ([mentionable (let () + (define v 1) + (lambda (x #:a a) v))]) + (mentionable 1 2)) + (lambda (exn) (regexp-match? #rxmentionable (exn-message exn +(err/rt-test (let ([mentionable (let () + (define v 1) + (lambda (x #:a a) v))]) + (mentionable #:q 1 2)) + (lambda (exn) (regexp-match? #rxmentionable (exn-message exn + +(syntax-test #'(let-syntax ([fail (lambda (stx) +(raise-syntax-error 'fail +(format ~s (syntax-local-name]) + (let ([unmentionable (let () +(fail) +10)]) + 5)) + #rx^(?!.*unmentionable)) (report-errs) racket/collects/racket/private/kw.rkt ~ --- OLD/racket/collects/racket/private/kw.rkt +++ NEW/racket/collects/racket/private/kw.rkt @@ -918,7 +918,7 @@ (loop (cddr l)))])] [else (cons (car l) (loop (cdr l)))])))]) -(let ([ids (cons (or (syntax-local-infer-name stx) +(let ([ids (cons (or (syntax-local-infer-name stx #f)
[racket-dev] Pre-Release Checklist for v6.0
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/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 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] * Mike Sperber sper...@deinprogramm.de - DMdA Tests -
[racket-dev] Pre-Release Checklist for v6.0, corrected url
(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 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
Re: [racket-dev] [plt] Push #27930: master branch updated
I think of it as the sort of bug fix that we would normally merge, but it's also fine with me to skip it. At Mon, 16 Dec 2013 10:23:45 -0600, Robby Findler wrote: Is this really important enough to request addition to 6.0 given that it likely won't be included in the testing builds? Robby On Mon, Dec 16, 2013 at 10:07 AM, mfl...@racket-lang.org wrote: mflatt has updated `master' from 37dd4fc2b0 to 1ceca069c8. http://git.racket-lang.org/plt/37dd4fc2b0..1ceca069c8 =[ One Commit ]= Directory summary: 8.8% pkgs/racket-pkgs/racket-doc/syntax/scribblings/ 19.4% pkgs/racket-pkgs/racket-test/tests/racket/ 47.6% racket/collects/racket/private/ 24.1% racket/src/racket/src/ ~~ 1ceca06 Matthew Flatt mfl...@racket-lang.org 2013-12-16 08:16 : | more repairs to function-name inference | | The main change is to add an option to `syntax-local-infer-name` to | select whether `syntax-local-name` is used, and to use the new option | to disable `syntax-local-name` for the function expression in a | keyword `#%app`. | | Improvements in the expander/compiler generalize a previous repair. | | Merge to v6.0 _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] [plt] Push #27930: master branch updated
Right you are. It's not an emergency bug fix, so skip it. At Mon, 16 Dec 2013 10:46:11 -0600, Robby Findler wrote: I think this would have required a release manager to audit the code (as it comes after testing starts). Robby On Mon, Dec 16, 2013 at 10:43 AM, Matthew Flatt mfl...@cs.utah.edu wrote: I think of it as the sort of bug fix that we would normally merge, but it's also fine with me to skip it. At Mon, 16 Dec 2013 10:23:45 -0600, Robby Findler wrote: Is this really important enough to request addition to 6.0 given that it likely won't be included in the testing builds? Robby On Mon, Dec 16, 2013 at 10:07 AM, mfl...@racket-lang.org wrote: mflatt has updated `master' from 37dd4fc2b0 to 1ceca069c8. http://git.racket-lang.org/plt/37dd4fc2b0..1ceca069c8 =[ One Commit ]= Directory summary: 8.8% pkgs/racket-pkgs/racket-doc/syntax/scribblings/ 19.4% pkgs/racket-pkgs/racket-test/tests/racket/ 47.6% racket/collects/racket/private/ 24.1% racket/src/racket/src/ ~~ 1ceca06 Matthew Flatt mfl...@racket-lang.org 2013-12-16 08:16 : | more repairs to function-name inference | | The main change is to add an option to `syntax-local-infer-name` to | select whether `syntax-local-name` is used, and to use the new option | to disable `syntax-local-name` for the function expression in a | keyword `#%app`. | | Improvements in the expander/compiler generalize a previous repair. | | Merge to v6.0 _ Racket Developers list: http://lists.racket-lang.org/dev
[racket-dev] planet package installation broken on windows
Planet packages do not install properly under windows. They seem to be getting stuck in a deadlock in sqlite or how we call into it or something like that. Below is an example transcript where I hit control-c and got a hopefully informative stack trace. C:\Users\robby\Program Files (x86)\Racket-5.91-pre-release\raco.exe planet install planet test-connection.plt 1 0 PLaneT: downloading planet/test-connection:1 from planet.racket-lang.orgvia HTTP PLaneT: PLaneT: = Unpacking test-connection.plt = PLaneT: Unpacking archive from C:\Users\robby\AppData\Roaming\Racket\planet\300\packages\planet\test-connection.plt\1\0\ test-connection.plt PLaneT: unpacking doc.txt in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\planet\test-conne ction.plt\1\0\.\ PLaneT: unpacking info.ss in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\planet\test-conne ction.plt\1\0\.\ PLaneT: unpacking planet-splash-screen.png in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\ planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection-mred.scm in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\ planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection-mzscheme.scm in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\ca che\planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection.ss in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\planet \test-connection.plt\1\0\.\ PLaneT: PLaneT: = Installing test-connection.plt on Mon, 16 Dec 2013 12:4:19 = PLaneT: raco setup: version: 5.91 [3m] PLaneT: raco setup: installation name: release-snapshot PLaneT: raco setup: variants: 3m PLaneT: raco setup: main collects: C:\Program Files (x86)\Racket-5.91-pre-release\collects PLaneT: raco setup: collects paths: PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\collects PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\collects PLaneT: raco setup: main pkgs: C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs PLaneT: raco setup: pkgs paths: PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\pkgs PLaneT: raco setup: links files: PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\share\links.rktd PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\links.rktd PLaneT: raco setup: main docs: C:\Program Files (x86)\Racket-5.91-pre-release\doc PLaneT: raco setup: --- updating info-domain tables --- PLaneT: raco setup: updating: C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache.rktd PLaneT: raco setup: --- pre-installing collections --- PLaneT: raco setup: --- installing foreign libraries --- PLaneT: raco setup: --- installing shared files --- PLaneT: raco setup: --- compiling collections --- PLaneT: raco setup: making: pkgs/racket-index/scribblings/main PLaneT: raco setup: making: pkgs/racket-index/scribblings/main/private PLaneT: raco setup: making: pkgs/racket-index/scribblings/main/user PLaneT: raco setup: making: planet/planet/test-connection.plt/1/0 (Test connection) PLaneT: raco setup: in planet/planet/test-connection.plt/1/0 PLaneT: raco setup: --- creating launchers --- PLaneT: raco setup: --- building documentation --- ^C C:\Users\robbyuser break context...: C:\Program Files (x86)\Racket-5.91-pre-release\collects\db\private\sqlite3\ffi.rkt:44:2 C:\Program Files (x86)\Racket-5.91-pre-release\collects\db\private\sqlite3\main.rkt:10:0: sqlite3-connect11 C:\Program Files (x86)\Racket-5.91-pre-release\collects\setup\doc-db.rkt:153:0: doc-db-get-provides-timestamp C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs\racket-index\setup\scribble.rkt:946:0 loop C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs\racket-index\setup\scribble.rkt:131:0: setup-scribblings C:\Program Files (x86)\Racket-5.91-pre-release\collects\setup\setup-core.rkt:59:0: setup-core C:\Program Files (x86)\Racket-5.91-pre-release\collects\setup\setup.rkt:56:3 user break context...: C:\Program Files (x86)\Racket-5.91-pre-release\collects\planet\private\resolver.rkt:606:8 C:\Program Files (x86)\Racket-5.91-pre-release\collects\planet\private\planet-shared.rkt:618:2: with-logging C:\Program Files (x86)\Racket-5.91-pre-release\collects\planet\private\resolver.rkt:573:0: install-pkg C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs\planet-lib\planet\private\cmdline-tool.rkt:153:2: download/ install C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs\planet-lib\planet\raco.rkt: [running body] C:\Program Files (x86)\Racket-5.91-pre-release\collects\raco\raco.rkt: [running body] C:\Program Files (x86)\Racket-5.91-pre-release\collects\raco\main.rkt: [running body] C:\Users\robby
Re: [racket-dev] draw-text always pixel aligned?
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] draw-text always pixel aligned?
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] planet package installation broken on windows
Oh, good! (I was going by the lack of CPU usage.) I see that now too. Robby On Mon, Dec 16, 2013 at 1:05 PM, Ryan Culpepper ry...@ccs.neu.edu wrote: I just tried it, and it completed after a long time (10 minutes, maybe longer). It looks like it's not deadlocked, but it's calling sqlite3-connect many, many times, and each call to sqlite3_open_v2 takes a relatively long time to complete (over a second on my Windows VM). This looks relevant, but I'm still deciphering it: http://www.mail-archive.com/sqlite-users%40sqlite.org/msg75761.html http://www.mail-archive.com/sqlite-users%40sqlite.org/msg75833.html Ryan On 12/16/2013 01:07 PM, Robby Findler wrote: Planet packages do not install properly under windows. They seem to be getting stuck in a deadlock in sqlite or how we call into it or something like that. Below is an example transcript where I hit control-c and got a hopefully informative stack trace. C:\Users\robby\Program Files (x86)\Racket-5.91-pre-release\raco.exe planet install planet test-connection.plt 1 0 PLaneT: downloading planet/test-connection:1 from planet.racket-lang.org http://planet.racket-lang.org via HTTP PLaneT: PLaneT: = Unpacking test-connection.plt = PLaneT: Unpacking archive from C:\Users\robby\AppData\Roaming\Racket\planet\300\packages\planet\test- connection.plt\1\0\ test-connection.plt PLaneT: unpacking doc.txt in C:\Users\robby\AppData\Roaming\Racket\planet\300\ release-snapshot\cache\planet\test-conne ction.plt\1\0\.\ PLaneT: unpacking info.ss in C:\Users\robby\AppData\Roaming\Racket\planet\300\ release-snapshot\cache\planet\test-conne ction.plt\1\0\.\ PLaneT: unpacking planet-splash-screen.png in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\ planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection-mred.scm in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\ planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection-mzscheme.scm in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\ca che\planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection.ss in C:\Users\robby\AppData\Roaming\Racket\planet\300\ release-snapshot\cache\planet \test-connection.plt\1\0\.\ PLaneT: PLaneT: = Installing test-connection.plt on Mon, 16 Dec 2013 12:4:19 = PLaneT: raco setup: version: 5.91 [3m] PLaneT: raco setup: installation name: release-snapshot PLaneT: raco setup: variants: 3m PLaneT: raco setup: main collects: C:\Program Files (x86)\Racket-5.91-pre-release\collects PLaneT: raco setup: collects paths: PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\collects PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\collects PLaneT: raco setup: main pkgs: C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs PLaneT: raco setup: pkgs paths: PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\pkgs PLaneT: raco setup: links files: PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\share\links.rktd PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\links.rktd PLaneT: raco setup: main docs: C:\Program Files (x86)\Racket-5.91-pre-release\doc PLaneT: raco setup: --- updating info-domain tables --- PLaneT: raco setup: updating: C:\Users\robby\AppData\Roaming\Racket\planet\300\ release-snapshot\cache.rktd PLaneT: raco setup: --- pre-installing collections --- PLaneT: raco setup: --- installing foreign libraries --- PLaneT: raco setup: --- installing shared files --- PLaneT: raco setup: --- compiling collections --- PLaneT: raco setup: making: pkgs/racket-index/scribblings/main PLaneT: raco setup: making: pkgs/racket-index/scribblings/main/private PLaneT: raco setup: making: pkgs/racket-index/scribblings/main/user PLaneT: raco setup: making: planet/planet/test-connection.plt/1/0 (Test connection) PLaneT: raco setup: in planet/planet/test-connection.plt/1/0 PLaneT: raco setup: --- creating launchers --- PLaneT: raco setup: --- building documentation --- ^C C:\Users\robbyuser break context...: C:\Program Files (x86)\Racket-5.91-pre-release\collects\db\private\sqlite3\ffi.rkt:44:2 C:\Program Files (x86)\Racket-5.91-pre-release\collects\db\private\sqlite3\main.rkt:10:0: sqlite3-connect11 C:\Program Files (x86)\Racket-5.91-pre-release\collects\setup\doc-db.rkt:153:0: doc-db-get-provides-timestamp C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs\racket-index\setup\ scribble.rkt:946:0 loop C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs\racket-index\setup\ scribble.rkt:131:0: setup-scribblings C:\Program Files (x86)\Racket-5.91-pre-release\collects\setup\setup-core.rkt:59:0: setup-core C:\Program Files
Re: [racket-dev] planet package installation broken on windows
Thanks! I'll make the repair to propagate read-only mode, which is definitely how it's supposed to work. (A related regression is that installing a Planet package attempts to render the search index too many times, and I see why that happens.) At Mon, 16 Dec 2013 14:28:28 -0500, Ryan Culpepper wrote: I still haven't figured how to make sqlite3_open_v2 in 'read-write (or 'create) mode fast, but I can confirm that opening in 'read-only mode when possible (by propagating the write? argument from call-with-database to doc-db-file-connection and using that to choose between 'create and 'read-only) does make doc rebuilds go much faster. It looks like doc-db-file-connection might need 'create even for read-only operations, if the file doesn't exist or if it doesn't have the tables initialized. Someone who knows the code will have to figure out that part. Or another alternative is to create fewer db connections, perhaps by using a virtual-connection. Ryan On 12/16/2013 02:05 PM, Ryan Culpepper wrote: I just tried it, and it completed after a long time (10 minutes, maybe longer). It looks like it's not deadlocked, but it's calling sqlite3-connect many, many times, and each call to sqlite3_open_v2 takes a relatively long time to complete (over a second on my Windows VM). This looks relevant, but I'm still deciphering it: http://www.mail-archive.com/sqlite-users%40sqlite.org/msg75761.html http://www.mail-archive.com/sqlite-users%40sqlite.org/msg75833.html Ryan On 12/16/2013 01:07 PM, Robby Findler wrote: Planet packages do not install properly under windows. They seem to be getting stuck in a deadlock in sqlite or how we call into it or something like that. Below is an example transcript where I hit control-c and got a hopefully informative stack trace. C:\Users\robby\Program Files (x86)\Racket-5.91-pre-release\raco.exe planet install planet test-connection.plt 1 0 PLaneT: downloading planet/test-connection:1 from planet.racket-lang.org http://planet.racket-lang.org via HTTP PLaneT: PLaneT: = Unpacking test-connection.plt = PLaneT: Unpacking archive from C:\Users\robby\AppData\Roaming\Racket\planet\300\packages\planet\test-connectio n.plt\1\0\ test-connection.plt PLaneT: unpacking doc.txt in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\planet\ test-conne ction.plt\1\0\.\ PLaneT: unpacking info.ss in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\planet\ test-conne ction.plt\1\0\.\ PLaneT: unpacking planet-splash-screen.png in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\ planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection-mred.scm in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\ planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection-mzscheme.scm in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\ca che\planet\test-connection.plt\1\0\.\ PLaneT: unpacking test-connection.ss in C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache\planet \test-connection.plt\1\0\.\ PLaneT: PLaneT: = Installing test-connection.plt on Mon, 16 Dec 2013 12:4:19 = PLaneT: raco setup: version: 5.91 [3m] PLaneT: raco setup: installation name: release-snapshot PLaneT: raco setup: variants: 3m PLaneT: raco setup: main collects: C:\Program Files (x86)\Racket-5.91-pre-release\collects PLaneT: raco setup: collects paths: PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\collects PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\collects PLaneT: raco setup: main pkgs: C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs PLaneT: raco setup: pkgs paths: PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\share\pkgs PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\pkgs PLaneT: raco setup: links files: PLaneT: raco setup: C:\Program Files (x86)\Racket-5.91-pre-release\share\links.rktd PLaneT: raco setup: C:\Users\robby\AppData\Roaming\Racket\release-snapshot\links.rktd PLaneT: raco setup: main docs: C:\Program Files (x86)\Racket-5.91-pre-release\doc PLaneT: raco setup: --- updating info-domain tables --- PLaneT: raco setup: updating: C:\Users\robby\AppData\Roaming\Racket\planet\300\release-snapshot\cache.rktd PLaneT: raco setup: --- pre-installing collections --- PLaneT: raco setup: --- installing foreign libraries --- PLaneT: raco setup: --- installing shared files --- PLaneT: raco setup: --- compiling collections --- PLaneT: raco setup: making: pkgs/racket-index/scribblings/main PLaneT: raco setup: making: pkgs/racket-index/scribblings/main/private PLaneT: raco setup: making: pkgs/racket-index/scribblings/main/user
Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url
On Mon, Dec 16, 2013 at 10:38 AM, Ryan Culpepper ry...@ccs.neu.edu wrote: * Robby Findler ro...@eecs.northwestern.edu - DrRacket Tests done except populate-compiled.rkt (which is currently failing and requires more investigation to figure out what's going on) - Framework Tests done - Contracts Tests done - Games Tests done - Teachpacks Tests: image tests done - PLaneT Tests not done (they pass under mac os x; I'll wait until the db and raco setup repairs happen and try them again under windows) - Redex Tests done Updates: - DrRacket Updates: update HISTORY - Redex Updates: update HISTORY (updates should show v6.0 as the most current version) done: no changes - Ensure that previous version of DrRacket's preference files still starts up with new DrRacket done - Update man pages in racket/man/man1: drracket.1 no changes. Robby _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url
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
Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url
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.comwrote: 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 _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url
At Mon, 16 Dec 2013 11:38:32 -0500, Ryan Culpepper wrote: * Sam Tobin-Hochstadt sa...@ccs.neu.edu, Vincent St-Amour stamo...@ccs.neu.edu - Match Tests - Typed Racket Tests Done. - 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.) Coming soon. Vincent _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url
At Mon, 16 Dec 2013 16:29:25 -0500, Vincent St-Amour wrote: - 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.) Coming soon. Pushed. It's commit ac480e753557 . Vincent _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url
At Mon, 16 Dec 2013 11:38:32 -0500, Ryan Culpepper wrote: * 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 Done. - Run COM tests MzCOM isn't working. - Try compiling with -funsigned-char - Try compiling with TEST_ALTERNATE_TARGET_REGISTER Done. 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. No changes. _ Racket Developers list: http://lists.racket-lang.org/dev
[racket-dev] Fwd: [plt] Push #27935: master branch updated
Matthew has requested this commit be included in the release branch. It looks safe to me, but I can't tell if it fixes the problem in all cases. A more obvious, if coarser, fix would be something like (define (file-connection file [write? #f]) (unless (file-exists? file) (create-and-initialize )) (connect )) Let's take the commit below in the interest of moving forward, and if Matthew wants to change it again later we can take that commit too. Ryan Original Message Subject: [plt] Push #27935: master branch updated Date: Mon, 16 Dec 2013 20:51:58 -0500 From: mfl...@racket-lang.org To: dev@racket-lang.org mflatt has updated `master' from ac480e7535 to 6ff7359212. http://git.racket-lang.org/plt/ac480e7535..6ff7359212 =[ One Commit ]= Directory summary: 100.0% pkgs/racket-pkgs/racket-index/setup/ ~~ 6ff7359 Matthew Flatt mfl...@racket-lang.org 2013-12-16 18:19 : | raco setup: create docindex database before trying to read | | Commit 0f80c71fab propagates read-only mode so that a documentation | database is not created for read operations, but `raco setup` (with | documentation-index support) attempts to read the database before | writing to it. Change `raco setup` to make sure the database | exists if a later write operation is expected to create it. | | Merge bug fix to v6.0 (pending review) : M pkgs/racket-pkgs/racket-index/setup/scribble.rkt | 18 ++ =[ Overall Diff ]=== pkgs/racket-pkgs/racket-index/setup/scribble.rkt --- OLD/pkgs/racket-pkgs/racket-index/setup/scribble.rkt +++ NEW/pkgs/racket-pkgs/racket-index/setup/scribble.rkt @@ -223,6 +223,20 @@ (define main-doc-exists? (ormap (lambda (d) (member 'main-doc-root (doc-flags d))) main-docs)) + (define (can-build*? docs) (can-build? only-dirs docs)) + + (define main-db (find-doc-db-path latex-dest #f main-doc-exists?)) + (define user-db (find-doc-db-path latex-dest #t main-doc-exists?)) + + ;; Ensure that databases are created: + (define (touch-db db-file) +(doc-db-disconnect + (doc-db-file-connection db-file #t))) + (when (ormap can-build*? main-docs) +(touch-db main-db)) + (when (ormap can-build*? user-docs) +(touch-db user-db)) + (when (and (or (not only-dirs) tidy?) (not avoid-main?) (not latex-dest)) @@ -256,7 +270,6 @@ ht setup-printf) - (define (can-build*? docs) (can-build? only-dirs docs)) (define auto-main? (and auto-start-doc? (or (ormap can-build*? main-docs) (and tidy? (not avoid-main?) @@ -399,9 +412,6 @@ (get-files! #f) (doc-db-clean-files user-db files - (define main-db (find-doc-db-path latex-dest #f main-doc-exists?)) - (define user-db (find-doc-db-path latex-dest #t main-doc-exists?)) - (define (make-loop first? iter) (let ([infos (filter-not info-failed? infos)] [src-info (make-hash)] _ Racket Developers list: http://lists.racket-lang.org/dev
Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url
On Mon, Dec 16, 2013 at 8:38 AM, Ryan Culpepper ry...@ccs.neu.edu wrote: * Greg Cooper g...@cs.brown.edu - FrTime Tests Interaction snippets (in the FrTime language level) no longer update, but it's not worth delaying the release over that. _ Racket Developers list: http://lists.racket-lang.org/dev