Custom Query (146 matches)

Filters
 
Columns

Show under each result:


Results (1 - 100 of 146)

1 2
Ticket Summary Owner Type Priority Milestone Component
#195 prime? of neg. number doesn't end soegaard defect trivial soegaard/math.plt

Reported by carolynoates@…, 16 years ago.

description

for example: (prime? -99) Obviously only an abs is needed.

#313 Documentation bug: Incorrect SCRBL markup dutchyn defect trivial dutchyn/aspectscheme.plt

Reported by anonymous, 14 years ago.

description

@link{ http://blahblah/} was used instead of @url{ http://blahblah/}, resulting in blank links in the manual.

#322 Racket v5.1 for/vector wmfarr enhancement trivial wmfarr/simple-matrix.plt

Reported by Tim Coppieters, 14 years ago.

description

Since version 5.1 of DrRacket? the for/vector and for*/vector function is standard included in the #lang racket library. So when loading the simple-matrix module some errors are generated: "module: identifier already imported from a different source"

Maybe removing the for/vector, for*/vector from the module isn't that a bad idea then?

Furthermore the base one is a bit further extended: #lang racket: (for/vector (for-clause ...) body ...+) (for/vector #:length length-expr (for-clause ...) body ...+)

Simple-matrix: (for/vector length-expr (for-clause ...) body)

Offtopic: I would like to thank you for the module, saved me some time writing it myself, cheers!

Kind regards, Tim Coppieters. VUB

#414 Support vectors dherman enhancement trivial dherman/json.plt

Reported by simon.haines@…, 13 years ago.

description

I would love it if this module supported vectors as JSON arrays. Then it would nicely interoperate with Jay McCarthy's mongodb module, and decode the BSON it produces.

The workaround I use has this small change to lines 17-18:

  [(or (list? json)
       (vector? json))
#1535 `prime?' function does not check if x < 2. djhaskin987 enhancement trivial djhaskin987/miller-rabin.plt

Reported by anonymous, 12 years ago.

description

It seems that (prime? 1 2 random) will cause an infinite loop. See fixed version below (perhaps not the best solution). The only change is at the start of the function: (cond ((< x 2) #f) ((or (= x 2) (= x 3)) #t)

(define (prime? x k (rng random))

(cond ((< x 2)

#f)

((or (= x 2) (= x 3))

#t)

((let-values (((s d) (get-s-d (sub1 x))))

(let loop ((i 0))

(if (>= i k)

#t

(let ((test (mod-exp (add1 (rng (- x 3))) d x)))

(if (or (= test 1) (= test (sub1 x)))

(loop (add1 i)) (let carmichael-test ((r 1)

(ctest (modulo (* test test) x)))

(cond ((>= r s)

#f)

((= ctest 1)

#f)

((= ctest (sub1 x))

(loop (add1 i)))

(else

(carmichael-test (add1 r) (modulo (* ctest ctest) x)))))))))))))

#36 implement JavaScript library fully dherman task minor dherman/javascript.plt

Reported by dherman, 17 years ago.

description

The standard JavaScript? library is stubbed but not fully implemented.

#38 numbers are unfaithful to spec dherman defect minor dherman/javascript.plt

Reported by dherman, 17 years ago.

description

Numbers are represented as Scheme bignums; they should be inexact IEEE754 double-precision floating point. And then there are all the Ecma conversions to integer and string throughout the semantics.

#39 regular expressions aren't implemented dherman task minor dherman/javascript.plt

Reported by dherman, 17 years ago.

description

Regular expressions are stubbed but not implemented.

#40 over-parenthesization in while-conditions dherman defect minor dherman/javascript.plt

Reported by dherman, 17 years ago.

description
(pretty-print
 (format-term (parse-source-element "while (true) { }")))

displays:

while ((true)) {
}
#41 implement read-only __proto__ dherman enhancement minor dherman/javascript.plt

Reported by dherman, 17 years ago.

description

This could be implemented as a custom getter. I believe that's how Mozilla does it.

#95 make a csv-reader that takes in an input-port neil enhancement minor neil/csv.plt

Reported by yinso.chen@…, 17 years ago.

description

Based on the doc, the csv.ss currently exposes a csv-reader-maker functions that creates a closure over the input port for reading the csv data.

While this is convenient for just reading csv files, it doesn't work well for composing different readers as it doesn't follow the scheme pattern of

(read <input-port>)

.

It would be nice to have a csv-reader-maker that'll make a procedures that takes an input-port so the reader can be composed.

#124 rename require.ss to main.ss ryanc enhancement minor ryanc/require.plt

Reported by dougorleans@…, 17 years ago.

description

If you rename require.ss to main.ss, then one could require this package with (require (planet ryanc/require)), which would be cool.

#125 Docs link unavailable; .DS_Store file unnecessary zitterbewegung defect minor zitterbewegung/uuid-v4.plt

Reported by vegashacker, 17 years ago.

description

It'd be great if you could get the docs link working. Nothing elaborate for documentation needed, I think--just an example showing the main way to use the library. Also, the .DS_Store file in the source for the library I believe is unnecessary.

#176 same name as another planet package - confusing version numbering fjl task minor fjl/leftparen.plt

Reported by spdegabrielle@…, 16 years ago.

description

If this version is deprecated - please note it as such and remove the categories - that will remove it from the list of planet packages.

#181 example from docs declares IDistributeLists as a module cce defect minor cce/dracula.plt

Reported by pnkfelix, 16 years ago.

description

This is bogosity in the Dracula documentation

  (module IDistributeLists
    (include IAssociative)
    (include ICommutative)
    (include IDistributive)
    (sig addall (xs))
    (sig mulall (x ys))
    (con addall/mulall-distributive
      (implies (proper-consp bs)
               (equal (mulop a (addall bs))
                      (addall (mulall a bs))))))

If you are just cut-and-pasting from the ref manual, you get this error:

. include: not valid outside interface in: (include iassociative)
#185 Modular ACL2 reacts poorly to mixing of "code" and exports cce defect minor cce/dracula.plt

Reported by pnkfelix, 16 years ago.

description

Open up the following in Modular ACL2, select the module m, and click "Admit All" button

(interface Ig (sig g (y)))
(interface Ih (sig h (z)))

(module m 
  (defun g (y) (+ y y))
  (defun h (z) (g z))
  (export Ig)
  (in-theory (disable (:executable-counterpart h)))
  (export Ih))

I get the following internal error from the guts of Dracula/DrScheme:

highlight/save: start position 177 > end position 125

 === context ===
/Users/pnkfelix/Library/PLT Scheme/planet/300/4.1.5/cache/cce/dracula.plt/8/2/drscheme/dracula-drscheme-tab.ss:

The obvious workaround is to put the in-theory invocation above the export. Note however that I think some people might have reason to write down in-theory invocations that effect the proof attempts for some signatures but not all of them.

In any case the internal error is bad.

#194 problem including this file from planeT synx defect minor synx/xml-maker.plt

Reported by anonymous, 16 years ago.

description

This does not work (require (planet synx/xml-maker:1:0))I get the following error

require: not a valid planet path; should be: (require (planet STRING (STRING STRING NUMBER NUMBER)))

If I use the "old" way things are OK.

DrScheme? 4.2 under windows XP SP3.

#218 ^M end-of-lines orseau defect minor orseau/lazy-doc.plt

Reported by orseau, 16 years ago.

description

It adds M end-of-lines in generated docs on Unix.

#236 pict-* from scheme/slideshow should combine in the order of the clauses cce enhancement minor cce/scheme.plt

Reported by sstrickl@…, 15 years ago.

description

It would be nice if pict-* combined the subpicts in the order they were given, instead of the non-ghost pict always being combined first. That would be useful for #:combining via *-append instead of *-superimpose, and possibly other uses I haven't yet thought of. An small example program is below:

#lang slideshow

(require slideshow/code

(planet cce/scheme:6:0/slideshow))

(staged

[a b c] (slide

(pict-cond

#:combine vl-append [(= stage a)

(item (code a))]

[(= stage b)

(item (code b))]

[(= stage c)

(item (code c))])))

(For such uses, allowing a #:ghost keyword that allows overriding of the ghosting behavior may also be useful. That way non-active parts can be greyed or cellophaned out instead.)

#258 bogon in docs dherman defect minor dherman/javascript.plt

Reported by dherman, 15 years ago.

description

intro.html:

Examples:

> (eval-script "print(40 + 2)") link: module mismatch, probably from old bytecode whose dependencies have changed: variable not provided (directly or indirectly) from module: "C:\Documents and Settings\dherman\My Documents\Subversion\planet\javascript\lang\lang.ss" at source phase level: 0 in: script-begin > (require (planet dherman/pprint))

Reported by Eric Hanchrow.

#274 mzsocket fails to install cleanly on OS X (10.5 and 10.6) vyzo defect minor vyzo/socket.plt

Reported by endobson@…, 15 years ago.

description

I am trying to install mzsocket with the planet line: (require (planet vyzo/socket:3:2))

It downloads it correctly but upon installation I get the following error on (10.5.8): /Users/eric/Library/PLT Scheme/planet/300/4.2.4/cache/vyzo/socket.plt/3/2/compiled/native/i386-macosx/3m/_socket.c: In function 'inet_address_to_vec': /Users/eric/Library/PLT Scheme/planet/300/4.2.4/cache/vyzo/socket.plt/3/2/compiled/native/i386-macosx/3m/_socket.c:1596: warning: pointer targets in passing argument 1 of 'scheme_make_sized_byte_string' differ in signedness except-in: identifier `socket-accept' not included in nested require spec setup-plt: error: during making for <planet>/vyzo/socket.plt/3/2 (mzsocket) setup-plt: except-in: identifier `socket-accept' not included in nested require spec

in 10.6.2 I do not get the c errors but still the same three lines of scheme errors.

#275 please convert comments in xml file to *COMMENT* sxml nodes lizorkin enhancement minor lizorkin/ssax.plt

Reported by friedel@…, 15 years ago.

description

I've been trying to get an sxml view of an xml document including comments and tried with

(require (planet lizorkin/sxml:2:1/sxml)) (sxml:document "my_doc.xml")

(in mzscheme)

I noticed however that sxml drops the comments and also shifts the order of attributes around, if I do it this way.

I'd like to use sxml as a format for editing xml files, since it's a little less markup-heavy than xml, but I'd need to keep the comments and order of attributes (I put the most important attribute to the front, to make it stand out). The plain xml format needs to be the master format, since people who never heard of s-expressions are going to have to edit those files.

I started diving into the source, but failed to see an obvious way to change that behaviour yet. SSAX-code.ss is impossible to read, so I had to download SSAX.scm from sourceforge. It looks like comments could be handled by a function similar to ssax:read-cdata-body.

I appreciate if you could help me out with this, maybe add one or two optional parameters to sxml:document to convert comments into sxml comments and maintain the order of attributes.

#298 Better error messages for accessors krhari enhancement minor krhari/pfds.plt

Reported by dvanhorn, 15 years ago.

description

Compare the quality of the error messages below. The PFDS library could do better.

Welcome to DrRacket, version 5.0.1.3--2010-08-25(-/f) [3m].
Language: racket; memory limit: 512 MB.
> (require (prefix-in pf: (planet krhari/pfds:1:4/skewbinaryrandomaccesslist)))
> (require (prefix-in rk: racket))
> (pf:second (pf:list 1))
. . list-ref: given index out of bounds
> (rk:second (rk:list 1))
. . second: expected argument of type <list with 2 or more items>; given '(1)

#303 xpath-parser.ss problem w/ abbreviated xpath syntax lizorkin defect minor lizorkin/sxml.plt

Reported by dmarshall207@…, 15 years ago.

description

Hi, I'm somewhat new and did not notice the ticket feature so I sent this report in yesterday to email addresses listed in the source code.

I thought I'd resend it here again as it's probably better protocol:

subject : bug in xpath-parser.ss

First, thank you for all the OS PLT-Scheme -- errr I mean, Racket code. I love this stuff.

There seams to be a problem with some special cases for abbreviated xpath syntax -- looks like absolute paths have problems with xpaths that start with one of : "div", "mod", "and", "or". (could be that I just don't understand the specs)

examples to illustrate :

;;---------------------------------------------------- ;; Works : (let*([data '(*TOP*

(*PI* xml "version='1.0'") (one "111"

(two "222")))])

(list

(eval-xpath "/one" data) (eval-xpath "/one/two" data)))

;;---------------------------------------------------- ;; Fails : (let*([data '(*TOP*

(*PI* xml "version='1.0'") (div "111"

(two "222")))])

(eval-xpath "/div" data))

;; Error Message : ;; XPath/XPointer parser error: unexpected end of XPath ;; expression. Expected - NCName procedure application: expected ;; procedure, given: #f; arguments were: (*TOP* (*PI* ;; xml "version='1.0'") (div "111" (two "222")))

;;---------------------------------------------------- ;; Fails : (let*([data '(*TOP*

(*PI* xml "version='1.0'") (div "111"

(two "222")))])

(eval-xpath "/div/two" data))

;; Error Message : ;; /: division by zero

;;------------------------------------------------------------------ ;; Works : (let*([data '(*TOP*

(*PI* xml "version='1.0'") (div "111"

(two "222")))])

(list

(eval-xpath "div/two" data) (eval-xpath "/child::div" data) (eval-xpath "/child::div/two" data)))

Davis Marshall

#309 Parsing bug discovered neil defect minor neil/htmlprag.plt

Reported by anonymous, 15 years ago.

description

The double-quote turns into the string "&quot;" when you convert to HTML and back again in this example:

(html->shtml (shtml->html '(FooBar? (@ (quote "\"'")) "DSFSDF"))) ==> (*TOP* (foobar (@ '"&quot;'") "DSFSDF"))

#310 Cigar Site bzlib defect minor some bzlib/flexer.plt

Reported by anonymous, 15 years ago.

description

Trying to install on my site for Cigars, but I keep getting the same install error:

#327 require error on installing cce defect minor cce/fasttest.plt

Reported by jmj@…, 14 years ago.

description

The fasttest.plt module gives this error under Racket 5.1 when downloading and installing the module:


require: unknown module: 'program raco setup: error: during Building docs for C:\Users\jjohnson.INTERNAL\AppData?\Roaming\Racket\planet\300\5.1\cache\cce\scheme.plt\7\3\reference/manual.scrbl raco setup: require: unknown module: 'program


Aside from that, the build proceeds normally.

#329 Frequency counting benchmark hash-for-each bug dvanhorn defect minor dvanhorn/ralist.plt

Reported by anonymous, 14 years ago.

description

There is a bug in the hash table implementation of the frequency counting benchmark, which relies on hash-for-each to iterate through the result frequency count, but the problem specification is to print them in ascending order. But hash-for-each iterates in unspecified order.

There is a failing test case that catches this.

#366 Revision to previous ticket kazzmir defect minor kazzmir/vi.plt

Reported by anonymous, 14 years ago.

description

I posted the ticket about insert-line-previous not working, but I realized that it only doesn't work if you are trying to use it when your cursor is on the first line of the document. It works if you are anywhere else in the document, but not at the very top. Sorry for any confusion this may have caused. If I knew a way to edit an existing ticket, I would have done so.

#436 Reg Fixers bzlib enhancement minor bzlib/date-tz.plt

Reported by isabellarodway@…, 13 years ago.

description

Here are the three most reliable Reg Fixers that I feel lead in the market currently. a) Registry mechanic: The Registry mechanic is designed to scan your laptop or computer for problems in the reg that slow down your laptop or computer and even crash it then helps you repair these mistakes with the many tools that it comes with. This software program can fix quite a few issues in the laptop or computer including missing help files, removed fonts, broken shortcuts and references to uninstalled software programs. The Registry mechanic additionally easily creates backups of the reg and has a Tuneup service option and a reg defragger that can enhance operating system boot services. There are of course a lot of other tools and elements that make this software program one of the most preferred by computer users. b) CyberDefender?: If you want a Reg Fixer that doubles up as an antivirus software program and anti-malware, cyberdefender certainly is your kind of software program. I think that this software program deserves the top three position because it is stealthy and catches more malware and viruses than most other antivirus software programs. It uses Dual-core anti-malware technology to give sophisticated detection and prevention and has got the option of Link Patrol that will keep you safe from adware and spyware downloads along with phishing scams. CyberDefender? comes with tons of options to customize it to your preferences and other enhancements on version 3.0 that were recommended by reviewers and users from the earlier versions 1 and 2. Info  http://www.registrycleanerswatch.com/

#488 Empty file reports wrong error dherman defect minor dherman/json.plt

Reported by nculwell, 13 years ago.

description

When attempting to parse an empty JSON file, I found that instead of giving the correct error, which is "read: unexpected EOF", this module instead reports this error:

char-whitespace?: contract violation expected: char? given: #<eof>

This can fixed by changing the application of char-whitespace? in skip-whitespace to be "(and (char? ch) (char-whitespace? ch))".

#499 "not a procedure" problem on Windows clements defect minor clements/rsound.plt

Reported by khardy, 12 years ago.

description

Some of the example code from the docs produce a "not a procedure" problem on windows.

For example the code below produces (highlighting lpf/dynamic in DrRacket?):

application: not a procedure;

expected a procedure that can be applied to arguments

given: #<network/s> arguments...:

#<procedure:control> #<procedure:sawtooth>

Similar issue results on using sine-wave.

Example program from docs pro

#lang racket/base

(require (planet clements/rsound:4:4)) (require (planet clements/rsound:4:=4/filter))

(define (control f) (+ 0.5 (* 0.2 (sin (* f 7.123792865282977e-005))))) (define (sawtooth f) (/ (modulo f 220) 220)) (play (signal->rsound 88200 (lpf/dynamic control sawtooth)))

#1803 Have you thought about moving this to MELPA? (EOM) neil enhancement minor neil/scribble-emacs.plt
#2 sample bug eli defect major eli/sample-teachpacks.plt

Reported by elibarzilay@…, 17 years ago.

description

foo

#3 fmt uses set-cdr! ashinn defect major ashinn/fmt.plt

Reported by samdphillips@…, 17 years ago.

description

fmt.plt 1.0 uses set-cdr! which in PLT 4 doesn't work.

#5 API requests dherman enhancement major dherman/set.plt

Reported by dherman, 17 years ago.

description

Doug Orleans wrote:

Cool! It'd be nice, though, if it included analogs for the rest of the lset functions in SRFI-1, namely <=, =, adjoin, and diff+intersection. And an emptiness test, though (= set empty) might be enough. Oh, and (contains? set elt). Also, might be good to state in the docs that they're amortized linear. (Right?) Thanks! Sorry if you've already planned to do all these, I just got excited. :) --Doug

#13 support for v3 and v4 dherman defect major dherman/struct.plt

Reported by dherman, 17 years ago.

description

Danny Yoo wrote:

Hi Dave, I sent an earlier patch to struct.plt 2.3 to make it work with mzscheme 3.99, but didn't hear back from you yet. In any case, I took a look at it again, and the patch wasn't so good because it made it work only with mzscheme 3.99, which broke backwards compatibility. Since you probably want to make it work regardless of version, I've updated the patch so that it uses version-case to do the appropriate version-specific stuff. Summary of changes: * I created a separate module 'private/struct-info-compat.ss' which provides a function to get the predicate from the struct type syntax object. I updated datatype.ss to use this library. * As in the previous patch, I also modernized the test cases to use SchemeUnit? 2. The tests involving hierarchy are failing, but I don't think it's a problem with my patch, but rather with a missing 'definitions' collection that I don't know much about. I hope this helps!

#18 stream-split-at dherman defect major dherman/stream.plt

Reported by dherman, 17 years ago.

description

Steve Huwig wrote:

Hi, `stream-split-at' in stream.plt 1 1 only returns one value, and attempting to use that value results in errors. I looked at the source and I think there's a simple oversight:

  (define (stream-split-at i stream)
    (stream-delay
;    ^^^^^^^^^^^^ 
     (cond
       [(zero? i)
        (values stream-null stream)]
       [(stream-null? stream)
        (values stream-null stream-null)]
       [else
        (let-values ([(prefix suffix) (stream-split-at (sub1 i)
(stream-cdr stream))])
          (values (stream-cons (stream-car stream) prefix) suffix))])))

I don't think stream-delay is correct here! At least, when I changed the code to:

  (define (stream-split-at i stream)
     (cond
       [(zero? i)
        (values stream-null stream)]
       [(stream-null? stream)
        (values stream-null stream-null)]
       [else
        (let-values ([(prefix suffix) (stream-split-at (sub1 i)
(stream-cdr stream))])
          (values (stream-cons (stream-car stream) prefix) suffix))]))

the routine behaved as I expected. Is this a bug or am I missing something basic? Do you have a good example of using stream-split-at? With the original code, I tried:

(stream-split-at 3 (list->stream (list 1 2 3 4 5 6)))

#<struct:stream>

(stream-car (stream-split-at 3 (list->stream (list 1 2 3 4 5 6))))

. context (lexical binding) expected 2 values, received 1 value: #<struct:stream>

which left me cold, but with the new code, I was able to do:

(stream-split-at 3 (list->stream (list 1 2 3 4 5)))

#<struct:stream> #<struct:stream>

(let-values ([(front back) (stream-split-at 3 (list->stream (list 1 2

3 4 5)))]) (values (stream->list front) (stream->list back))) (1 2 3) (4 5) which is about what I expected to need to do. If this is a bug, then I think stream-partition and stream-span suffer the same bug. If it's not a bug, then apparently the bug is in my brain for not figuring out the right API. Thanks, Steve Huwig P.S. stream-split-at reverses the order of split-at arguments from SRFI-1, not sure if that's deliberate.

#22 stream-partition unusable dherman defect major dherman/stream.plt

Reported by dherman, 17 years ago.

description

Doug Orleans wrote:

I probably should have also mentioned stream-partition, which I posted about on the plt-scheme list. (It doesn't seem to be usable, because the stream it returns is not a delayed single value.)

#25 make-response/xhtml/full dherman enhancement major dherman/xhtml.plt

Reported by dherman, 17 years ago.

description

Hans Oesterholt-Dijkema wrote:

Dear David, Could you extend xhtml.plt with a function: (make-response/xhtml/full ...) ? I need to set cookies, and still want to use the XHTML headers. Thanks in advance, Hans

#29 memoization is not thread-safe dherman enhancement major dherman/memoize.plt

Reported by dherman, 17 years ago.

description

It would be good to at least have a synchronized version of the memoization operations.

#31 make sets sequences dherman enhancement major dherman/set.plt

Reported by dherman, 17 years ago.

description

Mark Engelberg wrote:

I thought you might be interested to know that if you add the following to set.plt, then sets become compatible with sequences and can be used inside of for loops.

(define (set->seq s)
  (make-do-sequence
   (lambda ()
     (let-values ([(more? next) (sequence-generate (in-hash-keys
(set-elts s)))])
       (values (λ (i) (next))
               (λ (i) (more?))
               (more?)
               (lambda (i) i)
               (lambda (v) #t)
               (lambda (i v) #t))))))

(define-struct set (elts)
  #:property prop:custom-write (lambda (set port write?)
                                 (write-hash "set" (set-elts set) port write?))
  #:property prop:sequence set->seq)
#32 optional and keyword args dherman enhancement major dherman/memoize.plt

Reported by dherman, 17 years ago.

description

Optional and keyword args should be handled as well.

#33 make-filter-input-port hopelessly broken dherman defect major dherman/io.plt

Reported by dherman, 17 years ago.

description

The make-filter-input-port procedure is breaking test cases and appears to be hopelessly broken, at least in PLT v4.

#34 Function.prototype.toString should produce source dherman enhancement major dherman/javascript.plt

Reported by dherman, 17 years ago.

description

The toString method for functions should produce their source.

#35 possible semantic issues with exceptions dherman defect major dherman/javascript.plt

Reported by dherman, 17 years ago.

description

Need to investigate semantic issues with exceptions:

  • return from finally blocks
  • suspicious uses of dynamic-wind?
#54 "use lexical scope" pragma dherman task major dherman/javascript.plt

Reported by dherman, 17 years ago.

description
use lexical scope;
#56 parameter for top-level let semantics dherman enhancement major dherman/javascript.plt

Reported by dherman, 17 years ago.

description

At top level, we've argued back and forth about whether let should behave the same as var. Make this a parameter.

Notice that with use lexical scope (see #54) there's less possible distinction. Except for the question of whether a top-level let shadows a top-level var.

#81 make prophecies sequences dherman enhancement major dherman/prophecy.plt

Reported by dherman, 17 years ago.

description

Similar to #31, release a new version of prophecy.plt with a prophecy->sequence procedure and perhaps a for/prophecy?

#87 Incompatible with mzscheme 4+ daedalus defect major daedalus/prometheus.plt

Reported by troelskn@…, 17 years ago.

description

The following error happens, when loading the library:

    private/hermes.scm:129:10: compile: unbound identifier in module in: set-cdr!

This is due to set-cdr! being deprecated from mzscheme 4

#99 add an expansion phase to the compiler dherman task major dherman/javascript.plt

Reported by dherman, 17 years ago.

description

Everything that can be defined via desugaring should be implemented as a compiler macro. The compiler should include an expansion phase. There should be a special kind of `gensym' identifier that the expander recognizes. There should also be something to enforce referential transparency.

#114 Doc warnings dherman defect major dherman/memoize.plt

Reported by samth@…, 17 years ago.

description

setup-plt: WARNING: undefined tag in <planet>/dherman/memoize.plt/3/1/memoize.scrbl: setup-plt: ((planet "main.ss" ("dherman" "memoize.plt" 3 1)) define/memo*) setup-plt: ((planet "main.ss" ("dherman" "memoize.plt" 3 1)) memo-lambda) setup-plt: ((planet "main.ss" ("dherman" "memoize.plt" 3 1)) memo-lambda*) setup-plt: ((planet "main.ss" ("dherman" "memoize.plt" 3 1)) define/memo)

setup-plt: rendering: <planet>/dherman/memoize.plt/3/1/memoize.scrbl memoize.scrbl:47:14: WARNING: no declared exporting libraries for definition in: define/memo memoize.scrbl:51:14: WARNING: no declared exporting libraries for definition in: define/memo* memoize.scrbl:56:14: WARNING: no declared exporting libraries for definition in: memo-lambda memoize.scrbl:60:14: WARNING: no declared exporting libraries for definition in: memo-lambda*

#116 long startup time vegashacker enhancement major vegashacker/leftparen.plt

Reported by vegashacker, 17 years ago.

description

Submitted be Jean:

"server is very long to start (around 1 mn)"

#120 binding arrows in DrScheme broken dherman defect major dherman/javascript.plt

Reported by dherman, 17 years ago.

description

All the mucking with the implementation of variable binding has broken the DrScheme? binding arrows for the JavaScript? language level.

#121 test infrastructure for different compilation modes dherman task major dherman/javascript.plt

Reported by dherman, 17 years ago.

description

Need to be able to test module evaluation, script evaluation, and interaction evaluation etc.

#122 coverage for compiler tests dherman task major dherman/javascript.plt

Reported by dherman, 17 years ago.

description

Need tests for all the clauses in the compiler.

#127 errors on initial compile dherman defect major dherman/javascript.plt

Reported by clements, 17 years ago.

description

When I evaluate this program

#lang scheme

(require (planet dherman/javascript:8:0))

(eval-script "print(40 + 2)")

I get this output down below:

open-input-file: cannot open input file: "/Users/clements/Library/PLT Scheme/planet/300/4.1.2.5/cache/dherman/javascript.plt/8/0/private/tests/main.ss" (No such file or directory; errno=2) setup-plt: error: during Building docs for /Users/clements/Library/PLT Scheme/planet/300/4.1.2.5/cache/dherman/test.plt/2/0/test.scrbl setup-plt: open-input-file: cannot open input file: "/Users/clements/Library/PLT Scheme/planet/300/4.1.2.5/cache/dherman/javascript.plt/8/0/private/tests/main.ss" (No such file or directory; errno=2) open-input-file: cannot open input file: "/Users/clements/plt/src/build/main.ss" (No such file or directory; errno=2) setup-plt: error: during Building docs for /Users/clements/Library/PLT Scheme/planet/300/4.1.2.5/cache/dherman/javascript.plt/8/0/scribblings/javascript.scrbl setup-plt: open-input-file: cannot open input file: "/Users/clements/plt/src/build/main.ss" (No such file or directory; errno=2) 42

#131 stack trace is often mostly unusable vegashacker defect major vegashacker/leftparen.plt

Reported by vegashacker, 16 years ago.

description

Stack traces in LeftParen? often begin like this, apparently skipping over the part of the trace you actually care about. This makes it sometimes extremely hard to debug.

=== context ===
core
...r/private/servlet.ss:31:19
...r/private/servlet.ss:31:19
/Applications/PLT Scheme v4.1.0.3/collects/web-server/dispatchers/dispatch-servlets.ss:53:2\
: servlet-content-producer/path
dispatcher/c
dispatcher/c
/Applications/PLT Scheme v4.1.0.3/collects/scheme/private/more-scheme.ss:170:2: select-hand\
ler/no-breaks
[snip]
#133 Use of {{{set-cdr!}}} jim defect major jim/webit.plt

Reported by untyped, 16 years ago.

description

Hi Jim,

Webit! uses set-cdr!, which is no longer possible in PLT 4 now cons cells are immutable by default. I believe you have the option of switching over to mutable cons cells or removing all mutation. More information here:

http://blog.plt-scheme.org/2007/11/getting-rid-of-set-car-and-set-cdr.html

Many thanks,

-- Dave Gurnell www.untyped.com

#138 Doesn't work in Current Version of PLT untyped defect major untyped/delicious.plt

Reported by anonymous, 16 years ago.

description

Looks like it has a dep on srfi-42 which is broken Or rather, it refers to a file in srfi-42 that no longer exists Also ssax and unlib problems

#139 Doesn't work in Current Version of PLT untyped defect major untyped/delicious.plt

Reported by zitterbewegung@…, 16 years ago.

description

Looks like it has a dep on srfi-42 which is broken Or rather, it refers to a file in srfi-42 that no longer exists Also ssax and unlib problems

#140 support unicode kazzmir defect major kazzmir/peg.plt

Reported by jon, 16 years ago.

description

Add some convenient syntax for unicode.

#143 Request for docs on interaction model vyzo enhancement major vyzo/gnuplot.plt

Reported by clements@…, 16 years ago.

description

It's unclear from the docs how what the model is for an interaction between DrScheme? and gnuplot. It appears that there's some kind of stateful sequence where you add pieces of data and then call plot, but I'm not sure whether it gets reset when you plot, etc. The docs on gnuplot-plot are also less helpful than they could be; it appears from the way the docs are structured that calling 'gnuplot-plot' is supposed to open a window; it doesn't, on my machine, but I can't tell whether this is a doc bug or a gnuplot.plt bug (or whether I just need to update DrScheme?, which I'm trying now).

#147 Planet breakage? Some surprising dependencies from xmlrpc.plt schematics defect major schematics/xmlrpc.plt

Reported by goetter@…, 16 years ago.

description

Something in xmlrpc's chain of dependencies seems to pull in a very old version of schemeunit, a version that doesn't compile on recent PLT. This is on version 4.1.3[3m] on Win XP.

C:\Program Files\PLT>planet install schematics xmlrpc.plt 4 0 schemeunit.ss:103:5: compile: unbound identifier in module in: reverse! ...er\Application Data\PLT Scheme\planet\300\4.1.3\cache\schematics\schemeunit.plt\1\2\schemeunit.ss:103:5: compile: unbound identifier in module in: reverse! setup-plt: error: during making for <planet>/schematics/schemeunit.plt/1/2 (schemeunit) setup-plt: schemeunit.ss:103:5: compile: unbound identifier in module in: reverse! setup-plt: error: during making for <planet>/schematics/schemeunit.plt/1/2/gui setup-plt: ...er\Application Data\PLT Scheme\planet\300\4.1.3\cache\schematics\schemeunit.plt\1\2\schemeunit.ss:103:5: compile: unbound identifier in module in: reverse! ...er\Application Data\PLT Scheme\planet\300\4.1.3\cache\schematics\schemeunit.plt\1\2\schemeunit.ss:103:5: compile: unbound identifier in module in: reverse! setup-plt: error: during making for <planet>/lshift/xxexpr.plt/1/0 (xxexpr) setup-plt: ...er\Application Data\PLT Scheme\planet\300\4.1.3\cache\schematics\schemeunit.plt\1\2\schemeunit.ss:103:5: compile: unbound identifier in module i n: reverse! default-load-handler: cannot open input file: "C:\Program Files\PLT\collects\web-server\private\response.ss" (The system cannot find the file specified.; errno=2) setup-plt: error: during making for <planet>/schematics/xmlrpc.plt/4/0 (xmlrpc) setup-plt: default-load-handler: cannot open input file: "C:\Program Files\PLT\collects\web-server\private\response.ss" (The system cannot find the file specified.; errno=2)

I started from an empty planet cache, and ended up with

C:\Program Files\PLT>planet show Normally-installed packages:

jim webit.plt 1 6 lizorkin ssax.plt 2 0 lizorkin sxml.plt 2 1 lshift xxexpr.plt 1 0 ryanc require.plt 1 3 schematics schemeunit.plt 1 2 schematics schemeunit.plt 2 11 schematics schemeunit.plt 3 3 schematics xmlrpc.plt 4 0

#148 Cannot load package in 4.1.4 oesterholt defect major oesterholt/internat.plt

Reported by anonymous, 16 years ago.

description

The package doesn't seem to load in DrScheme? 4.1.4

#lang scheme/gui (require (planet "internat.ss" ("oesterholt" "internat.plt" 1 2)))

==> open-input-file: cannot open input file: "/Users/john/Library/PLT Scheme/planet/300/4.1.4/cache/oesterholt/internat.plt/1/2/internat.ss" (No such file or directory; errno=2)

Is this a packaging problem?

#151 _ pattern succeeds on end of input? kazzmir defect major kazzmir/peg.plt

Reported by pnkfelix@…, 16 years ago.

description

The behavior below does not seem to agree with Bryan Ford's POPL '04 paper:

#lang scheme
(require (planet kazzmir/peg:2:0/peg))
(parse (peg (start s) (grammar (s ((_) $)))) "a")
(parse (peg (start s) (grammar (s ((_ _) $)))) "a")

produces the output:

Welcome to DrScheme, version 4.1.4 [3m].
Language: Module; memory limit: 128 megabytes.
#\a
#<procedure:end-of-input>
> 

I would have expected #f for that last output.

#154 schememodlang/this-package + defmodulelang/this-package cce enhancement major cce/scheme.plt

Reported by anonymous, 16 years ago.

description

These would be nice

#158 Feature request: lang/this-package cce enhancement major cce/scheme.plt

Reported by dherman, 16 years ago.

description

I need to be able to document PLT languages with planet module paths. I have a private implementation that looks like this:

(define-syntax (lang/this-package stx)
  (syntax-case stx ()
    [(sp)
     (quasisyntax/loc stx
       (SCHEME (UNSYNTAX (hash-lang)) planet #,(build-planet-id stx #f)))]
    [(sp name)
     (identifier? #'name)
     (quasisyntax/loc stx
       (SCHEME (UNSYNTAX (hash-lang)) planet #,(build-planet-id stx #'name)))]))

But I'm now using your package for defmodule/this-package etc, and it would be good to be able to use your package for everything.

#175 srfi.plt does not install cleanly due to error in info.ss soegaard defect major soegaard/srfi.plt

Reported by cobbe, 16 years ago.

description

Upon trying to install this package from the shell, I get the error message below. MacOS 10.5.6, Intel. Additionally, if I run setup-plt (no args) after attempting this installation, I get the same error message. PLT version 4.1.5.5, built from svn revision 14611.

[perdita:~]$ planet install soegaard srfi.plt 2 1 downloading soegaard/srfi:2.1 from planet.plt-scheme.org via HTTP

======= Installing srfi.plt on Sun, 3 May 2009 12:55:24 =======

setup-plt: version: 4.1.5.5 [3m] setup-plt: variants: 3m setup-plt: main collects: /Users/cobbe/Applications/plt/collects setup-plt: collects paths: setup-plt: /Users/cobbe/Library/PLT Scheme/4.1.5.5/collects setup-plt: /Users/cobbe/Applications/plt/collects setup-plt: Unpacking archive from /Users/cobbe/Library/PLT Scheme/planet/300/packages/soegaard/srfi.plt/2/1/srfi.plt setup-plt: making directory 42-eager-comprehensions in /Users/cobbe/Library/PLT Scheme/planet/300/4.1.5.5/cache/soegaard/srfi.plt/2/1/./ setup-plt: unpacking 42-eager-comprehensions.scm in /Users/cobbe/Library/PLT Scheme/planet/300/4.1.5.5/cache/soegaard/srfi.plt/2/1/./42-eager-comprehensions/

.. lots more unpacking messages snipped ..

setup-plt: unpacking 78.ss in /Users/cobbe/Library/PLT Scheme/planet/300/4.1.5.5/cache/soegaard/srfi.plt/2/1/./ setup-plt: unpacking doc.txt in /Users/cobbe/Library/PLT Scheme/planet/300/4.1.5.5/cache/soegaard/srfi.plt/2/1/./ setup-plt: unpacking info.ss in /Users/cobbe/Library/PLT Scheme/planet/300/4.1.5.5/cache/soegaard/srfi.plt/2/1/./ Library/PLT Scheme/planet/300/4.1.5.5/cache/soegaard/srfi.plt/2/1/42-eager-comprehensions/info.ss:10:2: infotab-module: not a well-formed definition at: (define required-core-version field "360") in: (#%module-begin (define name "Srfi") (define blurb (list (quote (div (p (b "SRFI Extensions")) (p "This package provides extensions to:") (p (b "SRFI 42") "- Eager comprehensions: " "Extra generators :match, :plt-match, :let-value, :pairs, :do-until, a...

context

/Users/cobbe/Applications/plt/collects/setup/infotab.ss:10:20: loop /Users/cobbe/Applications/plt/collects/setup/infotab.ss:7:2 /Users/cobbe/Applications/plt/collects/setup/private/omitted-paths.ss:58:16 /Users/cobbe/Applications/plt/collects/setup/private/omitted-paths.ss:104:0: omitted-paths* /Users/cobbe/Applications/plt/collects/setup/private/omitted-paths.ss:58:16 /Users/cobbe/Applications/plt/collects/setup/setup-unit.ss:233:2: planet->cc /Users/cobbe/Applications/plt/collects/scheme/private/map.ss:22:17: loop /Users/cobbe/Applications/plt/collects/setup/setup-unit.ss:295:26 /Users/cobbe/Applications/plt/collects/scheme/private/map.ss:22:17: loop /Users/cobbe/Applications/plt/collects/scheme/list.ss:288:2: append-map /Users/cobbe/Applications/plt/collects/setup/setup-unit.ss:277:2: collection-closure

setup-plt: WARNING: Library/PLT Scheme/planet/300/4.1.5.5/cache/soegaard/srfi.plt/2/1/42-eager-comprehensions/info.ss:10:2: infotab-module: not a well-formed definition at: (define required-core-version field "360") in: (#%module-begin (define name "Srfi") (define blurb (list (quote (div (p (b "SRFI Extensions")) (p "This package provides extensions to:") (p (b "SRFI 42") "- Eager comprehensions: " "Extra generators :match, :plt-match, :let-value, :pairs, :do-until, a...

#177 First line blank -> broken indenting abromfie defect major abromfie/drocaml.plt

Reported by anonymous, 16 years ago.

description

If the first line in an ocaml file is blank, it appears that drocaml does not do any indenting further down.

How to repeat:

- Change to drocaml language - Open new frame - type <return> let x = <return>x

The x does not jump to the right, nor does <tab> work correctly. Removing the blank line at the beginning of the frame fixes everything up.

#182 example from docs defines MDistributive module twice (and MDistributeLists not at all) cce defect major cce/dracula.plt

Reported by pnkfelix, 16 years ago.

description

Another bogosity in dracula docs:

The module MDistributeLists provides an implementation of IDistributeLists for any implementation of IDistributive:

  (module MDistributive
    (import IAssociative (addop a))
    (import ICommutative (addop a))
    (import IDistributive (addop a) (mulop m))
    (defun add (xs)
      (if (endp (cdr xs))
          (car xs)
          (a (car xs) (add (cdr xs)))))
    (defun mul (x ys)
      (if (endp xs)
          nil
          (cons (m x (car ys)) (mul x (cdr ys)))))
    (export IDistributeLists (addall add) (mulall mul)))
#183 dracula rename export example from reference docs does not work cce defect major cce/dracula.plt

Reported by pnkfelix, 16 years ago.

description

Here is (slightly modified) code from the 8.2 reference manual:

(interface IAssociative
  (sig mulop (x y))
  (con mulop-associative
       (equal (mulop a (mulop b c))
              (mulop (mulop a b) c))))

(interface ICommutative
  (include IAssociative)
  (con mulop-commutative
       (equal (mulop a b) (mulop b a))))

(interface IDistributive
  (include IAssociative)
  (include ICommutative)
  (sig addop (x y))
  (con addop/mulop-distributive
       (equal (mulop a (addop b c))
              (addop (mulop a b) (mulop a c)))))

(module MDistributiveA
  (defun add (a b) (+ a b))
  (defun mulop (a b) (* a b))
  (export IAssociative (addop add))
  (export ICommutative (addop add))
  (export IDistributive (addop add)))

(module MDistributiveB
  (defun add (a b) (+ a b))
  (defun mul (a b) (* a b))
  (export IAssociative (addop add))
  (export ICommutative (addop add))
  (export IDistributive (addop add) (mulop mul)))

Hitting RUN for this example raises the following error:

. mulop: undefined in: mulop

(it also highlights the mulop in the IAssociative interface, which is not terribly useful and may be a usability bug; read on for why I think this.)

If I comment out the definition of MDistributiveB, so that MDistributiveA is the only module providing relevant exports, then the code runs fine.

I assume the problem here is something along the lines of "the docs should be changed so that the MDistributive module exports mul/mulop instead of add/addop into the IAssociative interface.


More generally, all of the examples in the dracula docs need to be tested directly.

#184 modular acl2 unresolved import problem, useless error message cce defect major cce/dracula.plt

Reported by pnkfelix, 16 years ago.

description

Running the following program in Modular ACL2

(interface Ispec-and1 (sig andp1 (x y)))

(interface Ispec-and2 (sig andp2 (x y)))

(module Mprob
  (import Ispec-and1)
  (defun andp2 (x y) (andp1 x y))
  (export Ispec-and2))

(module Mprob/impl-and1
  (defun andp1 (x y) (and x y))
  (export Ispec-and1))

(link Mprob/test (Mprob Mprob/impl-and1))
(invoke Mprob/test)

yields the following error message:

. invoke: unresolved imports:
((andp1))
from exports:
((andp1) (andp2))
 in: mprob/test

1. Is my program actually doing something wrong? I do not see why any imports are unresolved. (The error does not occur if I take out the invoke on the last line of the program.

2. Either way, the error message is not helpful.

#186 Dracula errors on (just) + or - at REPL cce defect major cce/dracula.plt

Reported by pnkfelix, 16 years ago.

description

Start Dracula (bug happens in both ACL2 and Modular ACL2)

Go to the REPL. Type + and hit enter. You can do the same thing for -

I get the following internal error from DrScheme?:

char-ci=?: expects type <character> as 1st argument, given: #<eof>; other arguments were: #\i

 === context ===
/Users/pnkfelix/Library/PLT Scheme/planet/300/4.1.5/cache/cce/dracula.plt/8/2/lang/acl2-readtable.ss:64:6: check-infinity
/Applications/PLT Scheme v4.1.5/collects/scheme/private/contract-arrow.ss:1347:3
/Applications/PLT Scheme v4.1.5/collects/framework/private/text.ss:2071:4: on-local-char method in ...work/private/text.ss:1910:2
/Applications/PLT Scheme v4.1.5/collects/scheme/private/more-scheme.ss:155:2: call-with-break-parameterization
/Applications/PLT Scheme v4.1.5/collects/scheme/private/more-scheme.ss:271:2: call-with-exception-handler

Note that the internal error does not happen if you just do * at the REPL.

I assume the problem here is that there's a makeshift lexer that assumes you're trying to read a token like +inf.0 or -inf.0, and is not prepared for the sudden end to input stream.

#191 SchemeUnit checks for syntax errors schematics enhancement major schematics/schemeunit.plt

Reported by schematics, 16 years ago.

description

Two checks:

- fails if a macro expansion yields a syntax error - fails if a macro expansion does not yield a syntax error

#200 apparent Scribble error during package installation cce defect major cce/scheme.plt

Reported by cobbe, 16 years ago.

description

Fresh svn checkout & build on 7 Sept 09, Mac OS 10.5.8, Intel. I deleted ~/Library/PLT Scheme/planet during the rebuild, so I'm going off a completely fresh planet installation.

I started DrScheme and typed

(require (planet jaymccarthy/sqlite:4:5/sqlite))

at the prompt, and got a slew of error messages. The only one that appears to be relevant to your package is the following:

require: unknown module: 'program setup-plt: error: during Building docs for /Users/cobbe/Library/PLT Scheme/planet/300/4.2.1.8/cache/cce/scheme.plt/4/1/scribblings/main.scrbl setup-plt: require: unknown module: 'program

(I'm not sure if the last line comes up while trying to build your module; there are lots of other error messages that seem to be coming from other packages.)

#204 Parsing of missing closing HTML tags duplicates HTML elements ashinn defect major ashinn/html-parser.plt

Reported by nothere44@…, 16 years ago.

description

(html->sxml "<div><input name=a><input name=b></div>") produces ((div (input (@ (name "a")) (input (@ (name "b")))) (input (@ (name "b")))))

Note that the input element named b is produced twice. My guess as to what is happening is that since the inputs are unclosed, the parser doesn't close them until it hits the closing </div>. At this point, it figures out that everything unclosed beforehand should be closed and notes two input elements that should be closed and closes them. However, it had already parsed the first input as containing the second input in its body, and since it doesn't reparse this it ends up closing the first input after it encloses the second input as well as closing the second input. I doubt this is intended behaviour.

This came up on yahoo.com (god, why can't they write html). Browsers rendered the site as intended (as if it was <div><input name="a"/><input name="b"/></div>), but the html->sxml parser did not.

#209 error: "car: expects argument of type <pair>; given ()" on specific input dherman defect major dherman/c.plt

Reported by zwizwa, 16 years ago.

description

The following 2-line input to `parse-program' produces the error: "car: expects argument of type <pair>; given ()"

void foo(void *x, void *y) { int i = foo(x, y); } void bar(void *x, void *y) { int i = bar(x, y); }

#210 Fails to compile with 4.2.2 schematics defect major schematics/port.plt

Reported by samth@…, 16 years ago.

description

scheme' now provides port->string', and thus this package fails to compile.

#214 scribble warnings soegaard defect major soegaard/galore.plt

Reported by Sam TH, 16 years ago.

description

I get the following scribble warnings with galore 4.2:

setup-plt: WARNING: undefined tag in <planet>/soegaard/galore.plt/4/2/doc.scrbl: setup-plt: ((lib "srfi/67.ss") number-compare) setup-plt: ((lib "srfi/67.ss") integer-compare)

#217 segments->painter return is failing on being passed to paint soegaard defect major soegaard/sicp.plt

Reported by ebellani@…, 16 years ago.

description

;; examples of segments (define first-segment (make-segment (make-vect 0.0 1.0)

(make-vect 2.0 3.0)))

(define second-segment (make-segment (make-vect 4.0 5.0)

(make-vect 6.0 7.0)))

(paint (segments->painter (list first-segment

second-segment)))

;; fails with:

;; for-each: expects type <proper list> as 2nd argument, given: ({{0.0 . 1.0} 2.0 . 3.0} {{3.0 . 5.0} 6.0 . 7.0}); other arguments were: #<procedure:...t/2/1/prmpnt.scm:115:7>

#219 error on require schematics defect major schematics/benchmark.plt

Reported by Sam TH, 16 years ago.

description

I get this error loading this package:

/home/samth/.plt-scheme/planet/300/4.2.2.6/cache/schematics/benchmark.plt/2/1/benchmark.ss:104:15: module: identifier is already imported at: make-statistics in: (define-values (struct:statistics make-statistics statistics? statistics-mean1 statistics-mean2 statistics-std-dev1 statistics-std-dev2 statistics-slowdown) (let-values (((struct: make- ? -ref -set!) (syntax-parameterize ((struct-field-index (lambda (st...

#220 warnings from documentation untyped defect major untyped/unlib.plt

Reported by Sam TH, 16 years ago.

description

Building v3.20, I get these scribble warnings:

setup-plt: WARNING: undefined tag in <planet>/untyped/unlib.plt/3/20/scribblings/unlib.scrbl: setup-plt: ((planet "base.ss" ("untyped" "unlib.plt" 3 20) "scribblings") let*-debug) setup-plt: ((planet "base.ss" ("untyped" "unlib.plt" 3 20) "scribblings") letrec-values-debug) setup-plt: ((planet "base.ss" ("untyped" "unlib.plt" 3 20) "scribblings") let-debug) setup-plt: ((planet "base.ss" ("untyped" "unlib.plt" 3 20) "scribblings") letrec-debug) setup-plt: ((planet "base.ss" ("untyped" "unlib.plt" 3 20) "scribblings") define-values-debug) setup-plt: ((planet "base.ss" ("untyped" "unlib.plt" 3 20) "scribblings") let-values-debug) setup-plt: ((planet "base.ss" ("untyped" "unlib.plt" 3 20) "scribblings") define-debug) setup-plt: ((planet "base.ss" ("untyped" "unlib.plt" 3 20) "scribblings") let*-values-debug)

#234 slide/stage cce defect major cce/scheme.plt

Reported by Sam TH, 15 years ago.

description

slide/stage is documented under slide/staged (note d)

#235 add name? to staged cce defect major cce/scheme.plt

Reported by Sam TH, 15 years ago.

description

It would be nice if staged' bound name?' to #t or #f for each name in the relevant stage.

#237 scribble text renderer dies with a type error robby defect major _default-component

Reported by dyoo, 15 years ago.

description

I'm trying to generate my Moby documentation as a text file through Scribble. I'm running into the following error:

MITHRIL:moby dyoo$ ~/local/plt-svn/bin/scribble manual.scrbl

[Output to manual.txt]

car: expects argument of type <pair>; given #<paragraph>

context

/Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:46:6: render-flow method in ...ibble/text-render.ss:8:4 /Users/dyoo/local/plt-svn/collects/scheme/private/map.ss:23:17: loop /Users/dyoo/local/plt-svn/collects/scheme/private/map.ss:23:17: loop /Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:57:6: render-table method in ...ibble/text-render.ss:8:4 /Users/dyoo/local/plt-svn/collects/scheme/private/map.ss:23:17: loop /Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:46:6: render-flow method in ...ibble/text-render.ss:8:4 /Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:21:6: render-part method in ...ibble/text-render.ss:8:4 /Users/dyoo/local/plt-svn/collects/scribble/text-render.ss:21:6: render-part method in ...ibble/text-render.ss:8:4 /Users/dyoo/local/plt-svn/collects/scheme/private/map.ss:18:11: map /Users/dyoo/local/plt-svn/collects/scribble/run.ss:90:0: build-docs /Users/dyoo/local/plt-svn/collects/scribble/run.ss: [running body]

I can't make heads or tails of the types yet. I see the html renderer is doing something special with tables, so I suspect that the text renderer should be doing something similar.

#242 Digest contexts are leaked. soegaard defect major soegaard/digest.plt

Reported by David Brown <plt@…>, 15 years ago.

description

The library uses EVP_MD_CTX_create to create each digest, but never calls EVP_MD_CTX_cleanup. This causes the EVP library to leak the context descriptor for each call.

(require (planet soegaard/digest:1:2/digest)) (let loop () (bytes-digest #"Hello" 'sha1) (loop))

quickly consumes large amounts of memory, and doesn't release it.

#263 wrong compile-omit-paths entry in info.ss lizorkin defect major lizorkin/sxml.plt

Reported by ryanc@…, 15 years ago.

description

The entry for compile-omit-paths in "info.ss" refers to "test.ss", which does not exist. It should refer to "tests.ss" (plural) instead.

#271 permissive? kazzmir defect major kazzmir/planet-manager.plt

Reported by laurent.orseau@…, 15 years ago.

description

In planet-utils.ss, (permissive? #t) cannot be evaluated because `permissive?' is not bound.

#272 incomplete folders kazzmir defect major kazzmir/planet-manager.plt

Reported by laurent.orseau@…, 15 years ago.

description

In my planet cache folder, I had a planet sub-folder that was incomplete. My folder hierarchy was then: ...\planet\300\4.2.4\cache\orseau\mred-designer.plt\3 and that ends here, the directory is empty, because of a "planet remove" of that package.

planet-manager crashes on loading with: """ procedure tree-stuff->row-or-false: expects 3 arguments, given 2: #<path:mred-designer.plt> "3" """

This is probably an MzScheme? internal error, since I couldn't find tree-stuff->row-or-false in you package. Removing the "faulty" subfolders solved the problem though.

#273 build-path: absolute path kazzmir defect major kazzmir/planet-manager.plt

Reported by laurent.orseau@…, 15 years ago.

description

Now I'm really stuck.

Trying to require the package:

(require (planet kazzmir/planet-manager:1:1/gui))

build-path: absolute path "C:\Documents and Settings\HP_Eigenaar\Application Data\PLT Scheme\4.2.2.4\collects\my-scheme\fmt\planet-fmt.plt" cannot be added to the path "C:\Users\orseau\AppData?\Roa..."

I don't know what to do with that. The path "...HP_Eigenaar..." does not seem to be located on my computer, and I have not installed v4.2.2.4 at some time.

Best Regards, Laurent P.S. : I'd really like to test your package, it sounds nice!

#276 Start function doesn't allow for changing fps kazzmir enhancement major kazzmir/allegro.plt

Reported by almeidaraf@…, 15 years ago.

description

The start function from game module doesn't allow the user to use a different fps from 30. It would be nice if it was a world field or something like that.

#277 World object doesn't export get-objects kazzmir enhancement major kazzmir/allegro.plt

Reported by almeidaraf@…, 15 years ago.

description

I think it would be helpful to be able to call get-objects on a World object, but that doesn't seem to be exported. Maybe it requires a (provide World) call?

#281 Please consider using development links. ocorcoll task major ocorcoll/beanscheme.plt

Reported by cce, 15 years ago.

description

To the developer of beanscheme.plt,

Your frequent updates of beanscheme.plt are understandable, as it allows you to test out each intermediate version of your software. However, I am sure it is a hassle to create, upload, and redownload your software; furthermore, it creates unnecessary posts on the planet-announce mailing list.

I suggest that you read about "development links" which let you compile and test PLaneT packages on your own computer, uploading only when you need to publish code for other users.

You can find documentation about development links here (this tinyurl.com address links to a specific page on docs.plt-scheme.org):

 http://tinyurl.com/PLaneT-development-links

Thanks, and good luck with your PLT Scheme project!

Carl Eastlund cce@… Ph.D. student Northeastern University

#282 Unable to make 4.2.5 with shared libraries enabled. robby defect major _default-component

Reported by snider6982@…, 15 years ago.

description

I successfully made and installed 4.2.5 without enabling shared libraries. But when I ran configure --enable-shared in the plt-4.2.5/src/build directory, then make, make returned with a SIGSEGV. I'm running Fedora 13-x86_64, with the latest Fedora gcc, 4.4.4-2.

From the strace output file, it looks like mzschemecgc segfaulted for --enable-shared. Here's the strace output from the last execve to the SIGSEGV:

32029 execve("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/lt-mzschemecgc", ["/home/gene/packages/plt-scheme/p"..., "-cqu", "../../../mzscheme/gc2/xform.ss", "--setup", ".", "--cpp", "gcc -E -I./.. -I../../../mzschem"..., "--keep-lines", "-o", "xsrc/precomp.h", "../../../mzscheme/gc2/precomp.c"], 53 vars */) = 0 32029 brk(0) = 0x95f000 32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc709b000 32029 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/tls/x86_64/libmzscheme-4.2.5.so", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 stat("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/tls/x86_64", 0x7fff9248f680) = -1 ENOENT (No such file or directory) 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/tls/libmzscheme-4.2.5.so", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 stat("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/tls", 0x7fff9248f680) = -1 ENOENT (No such file or directory) 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/x86_64/libmzscheme-4.2.5.so", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 stat("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/x86_64", 0x7fff9248f680) = -1 ENOENT (No such file or directory) 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libmzscheme-4.2.5.so", O_RDONLY) = 3 32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\302\2\0\0\0\0\0"..., 832) = 832 32029 fstat(3, {st_mode=S_IFREG|0755, st_size=7062281, ...}) = 0 32029 mmap(NULL, 4430760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1fc6c61000 32029 mprotect(0x7f1fc6e49000, 2097152, PROT_NONE) = 0 32029 mmap(0x7f1fc7049000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e8000) = 0x7f1fc7049000 32029 mmap(0x7f1fc7066000, 215976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1fc7066000 32029 close(3) = 0 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libmzgc-4.2.5.so", O_RDONLY) = 3 32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\271\0\0\0\0\0\0"..., 832) = 832 32029 fstat(3, {st_mode=S_IFREG|0755, st_size=482194, ...}) = 0 32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc6c60000 32029 mmap(NULL, 3182208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1fc6957000 32029 mprotect(0x7f1fc697b000, 2093056, PROT_NONE) = 0 32029 mmap(0x7f1fc6b7a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x7f1fc6b7a000 32029 mmap(0x7f1fc6b7c000, 933504, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1fc6b7c000 32029 close(3) = 0 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 open("/usr/lib/tls/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 stat("/usr/lib/tls/x86_64", 0x7fff9248f620) = -1 ENOENT (No such file or directory) 32029 open("/usr/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 stat("/usr/lib/tls", 0x7fff9248f620) = -1 ENOENT (No such file or directory) 32029 open("/usr/lib/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 stat("/usr/lib/x86_64", 0x7fff9248f620) = -1 ENOENT (No such file or directory) 32029 open("/usr/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 stat("/usr/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 32029 open("/etc/ld.so.cache", O_RDONLY) = 3 32029 fstat(3, {st_mode=S_IFREG|0644, st_size=95054, ...}) = 0 32029 mmap(NULL, 95054, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1fc693f000 32029 close(3) = 0 32029 open("/lib64/libdl.so.2", O_RDONLY) = 3 32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\364?\0\0\0"..., 832) = 832 32029 fstat(3, {st_mode=S_IFREG|0755, st_size=22536, ...}) = 0 32029 mmap(0x3ff4000000, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff4000000 32029 mprotect(0x3ff4002000, 2097152, PROT_NONE) = 0 32029 mmap(0x3ff4202000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3ff4202000 32029 close(3) = 0 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 open("/usr/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 open("/lib64/libm.so.6", O_RDONLY) = 3 32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360>@\364?\0\0\0"..., 832) = 832 32029 fstat(3, {st_mode=S_IFREG|0755, st_size=598928, ...}) = 0 32029 mmap(0x3ff4400000, 2633944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff4400000 32029 mprotect(0x3ff4483000, 2093056, PROT_NONE) = 0 32029 mmap(0x3ff4682000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x82000) = 0x3ff4682000 32029 close(3) = 0 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 open("/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 open("/lib64/libpthread.so.0", O_RDONLY) = 3 32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\\\300\363?\0\0\0"..., 832) = 832 32029 fstat(3, {st_mode=S_IFREG|0755, st_size=146488, ...}) = 0 32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc693e000 32029 mmap(0x3ff3c00000, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff3c00000 32029 mprotect(0x3ff3c18000, 2093056, PROT_NONE) = 0 32029 mmap(0x3ff3e17000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x3ff3e17000 32029 mmap(0x3ff3e19000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ff3e19000 32029 close(3) = 0 32029 open("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/.libs/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 open("/usr/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 32029 open("/lib64/libc.so.6", O_RDONLY) = 3 32029 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\356\201\363?\0\0\0"..., 832) = 832 32029 fstat(3, {st_mode=S_IFREG|0755, st_size=1877792, ...}) = 0 32029 mmap(0x3ff3800000, 3696808, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff3800000 32029 mprotect(0x3ff397d000, 2097152, PROT_NONE) = 0 32029 mmap(0x3ff3b7d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17d000) = 0x3ff3b7d000 32029 mmap(0x3ff3b82000, 18600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ff3b82000 32029 close(3) = 0 32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc693d000 32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc693c000 32029 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1fc693b000 32029 arch_prctl(ARCH_SET_FS, 0x7f1fc693c700) = 0 32029 mprotect(0x3ff3b7d000, 16384, PROT_READ) = 0 32029 mprotect(0x3ff3e17000, 4096, PROT_READ) = 0 32029 mprotect(0x3ff4682000, 4096, PROT_READ) = 0 32029 mprotect(0x3ff4202000, 4096, PROT_READ) = 0 32029 mprotect(0x3ff3620000, 4096, PROT_READ) = 0 32029 munmap(0x7f1fc693f000, 95054) = 0 32029 set_tid_address(0x7f1fc693c9d0) = 32029 32029 set_robust_list(0x7f1fc693c9e0, 0x18) = 0 32029 futex(0x7fff9248ff8c, FUTEX_WAKE_PRIVATE, 1) = 0 32029 futex(0x7fff9248ff8c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f1fc693c700) = -1 EAGAIN (Resource temporarily unavailable) 32029 rt_sigaction(SIGRTMIN, {0x3ff3c05b10, [], SA_RESTORER|SA_SIGINFO, 0x3ff3c0f960}, NULL, 8) = 0 32029 rt_sigaction(SIGRT_1, {0x3ff3c05ba0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3ff3c0f960}, NULL, 8) = 0 32029 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 32029 getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0 32029 brk(0) = 0x95f000 32029 brk(0x980000) = 0x980000 32029 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 32022 <... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 32029 32022 --- SIGCHLD (Child exited) @ 0 (0) --- 32022 rt_sigreturn(0xffffffff) = 32029 32022 write(2, "make[4]: ", 9) = 9 32022 write(2, "*** [xsrc/precomp.h] Segmentatio"..., 53) = 53 32022 write(2, "\n", 1) = 1 32022 stat("xsrc/precomp.h", 0x7fff3902fa70) = -1 ENOENT (No such file or directory) 32022 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0 32022 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 32022 chdir("/home/gene/packages/plt-scheme/plt-4.2.5/src/build/mzscheme/gc2") = 0 32022 write(1, "make[4]: Leaving directory `/hom"..., 93) = 93 32022 close(1) = 0

#283 incorrect `declare-exporting' dherman defect major dherman/types.plt

Reported by anonymous, 15 years ago.

description

The `declare-exporting' line at the beginning of types.scrbl is @declare-exporting[(planet dherman/types:1)] but should be @declare-exporting[(planet dherman/types:2)]

#285 Fails to compile dherman defect major dherman/javascript.plt

Reported by Sam TH, 15 years ago.

description

Error is: only-in: identifier `language/macro-stepper<%>' not included in nested require spec

#290 compile: unbound identifier in module robby enhancement major some _default-component

Reported by anonymous, 15 years ago.

description

for jaymccarthy > hash-store.plt > package version 1.4

--- #lang scheme/gui (require (planet "hash-store.ss" ("jaymccarthy" "hash-store.plt" 1 4))) (SHA1 #"JH LKJH LHJKLKJHKL HJLJKHK JHKLHKLJHKJ")

compile: unbound identifier in module setup-plt: error: during making for <planet>/jaymccarthy/hash-store.plt/1/4 (Hash Store) setup-plt: compile: unbound identifier in module . Users/spdegabrielle/Library/PLT Scheme/planet/300/4.1.1/cache/jaymccarthy/hash-store.plt/1/4/hash-store.ss:9:3: expand: unbound identifier in module in: base64-filename-safe

Gregory,  Geologist.

#292 png_set_gray_1_2_4_to_8 not found while compiling robby defect major _default-component

Reported by petraszd, 15 years ago.

description

src/wxcommons/src/wxcommon/wxJPEG.cxx

wx_read_png function 729 line.

My computer:

OpenSuse? 11.3 libpng 1.4.3

I have solve problem by changing that line from:

png_set_gray_1_2_4_to_8(png_ptr);

to:

png_set_expand_gray_1_2_4_to_8(png_ptr);

Works for me, but I am not sure if it works for everyone.

#297 enhance define-datatype to handle #:property prop:equal+hash dherman enhancement major dherman/types.plt

Reported by anonymous, 15 years ago.

description

Hi Dave,

I'm very fond of your define-datatype macro as it enables me to create abstract datatypes. Unfortunately I have to implement #:property prop:equal+hash in some cases where I use define-datatype. Would it be possible to enhance the macro for that?

BTW I'm not sure if it's ok to create a ticket for this; it seemed better than writing a private mail.

Many thanks in any case Sigrid

1 2
Note: See TracQuery for help on using queries.