Trunkin', I'm a goin' home
Whoa whoa baby, back where I belong, Back home, sit down and patch my bones And get back trunkin' on svn: r11768
This commit is contained in:
commit
61399c87d7
|
@ -2676,7 +2676,7 @@
|
||||||
(eq? semi (tok-n (cadr e))))
|
(eq? semi (tok-n (cadr e))))
|
||||||
(tok-n (car e))
|
(tok-n (car e))
|
||||||
(loop (cdr e))))])
|
(loop (cdr e))))])
|
||||||
(unless (eq? '|::| (tok-n (cadar body)))
|
(unless (or (eq? '|::| type) (eq? '|::| (tok-n (cadar body)))) ;; $patch vs2008 - goetter
|
||||||
(log-error "[DECL] ~a in ~a: Variable declaration (~a ~a) not at the beginning of a block."
|
(log-error "[DECL] ~a in ~a: Variable declaration (~a ~a) not at the beginning of a block."
|
||||||
(tok-line (caar body)) (tok-file (caar body))
|
(tok-line (caar body)) (tok-file (caar body))
|
||||||
type var))))
|
type var))))
|
||||||
|
|
|
@ -48,8 +48,6 @@
|
||||||
(define o (current-output-port))
|
(define o (current-output-port))
|
||||||
(define (oprintf . args) (apply fprintf o args))
|
(define (oprintf . args) (apply fprintf o args))
|
||||||
|
|
||||||
(define init-eventspace (current-eventspace))
|
|
||||||
|
|
||||||
(define user-installed-teachpacks-collection "installed-teachpacks")
|
(define user-installed-teachpacks-collection "installed-teachpacks")
|
||||||
(define teachpack-installation-dir (build-path (find-user-collects-dir) user-installed-teachpacks-collection))
|
(define teachpack-installation-dir (build-path (find-user-collects-dir) user-installed-teachpacks-collection))
|
||||||
|
|
||||||
|
@ -981,7 +979,7 @@
|
||||||
'()))]
|
'()))]
|
||||||
[else '()])])
|
[else '()])])
|
||||||
|
|
||||||
(parameterize ([current-eventspace init-eventspace])
|
(parameterize ([current-eventspace drs-eventspace])
|
||||||
(queue-callback
|
(queue-callback
|
||||||
(lambda ()
|
(lambda ()
|
||||||
;; need to make sure that the user's eventspace is still the same
|
;; need to make sure that the user's eventspace is still the same
|
||||||
|
@ -1033,16 +1031,22 @@
|
||||||
(thread-cell-set! current-test-coverage-info ht)
|
(thread-cell-set! current-test-coverage-info ht)
|
||||||
(let ([rep (drscheme:rep:current-rep)])
|
(let ([rep (drscheme:rep:current-rep)])
|
||||||
(when rep
|
(when rep
|
||||||
(let ([on-sd (make-object style-delta%)]
|
(let ([s (make-semaphore 0)])
|
||||||
[off-sd (make-object style-delta%)])
|
(parameterize ([current-eventspace drs-eventspace])
|
||||||
(cond
|
(queue-callback
|
||||||
[(preferences:get 'framework:white-on-black?)
|
(λ ()
|
||||||
(send on-sd set-delta-foreground "white")
|
(let ([on-sd (make-object style-delta%)]
|
||||||
(send off-sd set-delta-foreground "indianred")]
|
[off-sd (make-object style-delta%)])
|
||||||
[else
|
(cond
|
||||||
(send on-sd set-delta-foreground "black")
|
[(preferences:get 'framework:white-on-black?)
|
||||||
(send off-sd set-delta-foreground "firebrick")])
|
(send on-sd set-delta-foreground "white")
|
||||||
(send rep set-test-coverage-info ht on-sd off-sd #f))))))
|
(send off-sd set-delta-foreground "indianred")]
|
||||||
|
[else
|
||||||
|
(send on-sd set-delta-foreground "black")
|
||||||
|
(send off-sd set-delta-foreground "firebrick")])
|
||||||
|
(send rep set-test-coverage-info ht on-sd off-sd #f))
|
||||||
|
(semaphore-post s))))
|
||||||
|
(semaphore-wait s))))))
|
||||||
(let ([ht (thread-cell-ref current-test-coverage-info)])
|
(let ([ht (thread-cell-ref current-test-coverage-info)])
|
||||||
(when ht
|
(when ht
|
||||||
(hash-set! ht key (mcons #f expr)))))
|
(hash-set! ht key (mcons #f expr)))))
|
||||||
|
|
|
@ -1173,7 +1173,7 @@
|
||||||
(and (pretty-print-abbreviate-read-macros)
|
(and (pretty-print-abbreviate-read-macros)
|
||||||
(let ((head (car l)) (tail (cdr l)))
|
(let ((head (car l)) (tail (cdr l)))
|
||||||
(case head
|
(case head
|
||||||
((quote quasiquote unquote unquote-splicing syntax)
|
((quote quasiquote unquote unquote-splicing syntax unsyntax unsyntax-splicing)
|
||||||
(length1? tail))
|
(length1? tail))
|
||||||
(else #f)))))
|
(else #f)))))
|
||||||
|
|
||||||
|
|
|
@ -351,6 +351,11 @@ improve method arity mismatch contract violation error messages?
|
||||||
[name
|
[name
|
||||||
(identifier? (syntax name))
|
(identifier? (syntax name))
|
||||||
(syntax saved-id)]
|
(syntax saved-id)]
|
||||||
|
[(set! id arg)
|
||||||
|
(raise-syntax-error 'provide/contract
|
||||||
|
"cannot set! a provide/contract variable"
|
||||||
|
stx
|
||||||
|
(syntax id))]
|
||||||
[(name . more)
|
[(name . more)
|
||||||
(with-syntax ([app (datum->syntax stx '#%app)])
|
(with-syntax ([app (datum->syntax stx '#%app)])
|
||||||
(syntax/loc stx (app saved-id . more)))]))))
|
(syntax/loc stx (app saved-id . more)))]))))
|
||||||
|
|
93
collects/scheme/splicing.ss
Normal file
93
collects/scheme/splicing.ss
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
#lang scheme/base
|
||||||
|
(require (for-syntax scheme/base))
|
||||||
|
|
||||||
|
(provide splicing-let-syntax
|
||||||
|
splicing-let-syntaxes
|
||||||
|
splicing-letrec-syntax
|
||||||
|
splicing-letrec-syntaxes)
|
||||||
|
|
||||||
|
(define-for-syntax (do-let-syntax stx rec? multi?)
|
||||||
|
(syntax-case stx ()
|
||||||
|
[(_ ([ids expr] ...) body ...)
|
||||||
|
(let ([all-ids (map (lambda (ids-stx)
|
||||||
|
(let ([ids (if multi?
|
||||||
|
(syntax->list ids-stx)
|
||||||
|
(list ids-stx))])
|
||||||
|
(unless ids
|
||||||
|
(raise-syntax-error
|
||||||
|
#f
|
||||||
|
"expected a parenthesized sequence of identifiers"
|
||||||
|
stx
|
||||||
|
ids-stx))
|
||||||
|
(for-each (lambda (id)
|
||||||
|
(unless (identifier? id)
|
||||||
|
(raise-syntax-error
|
||||||
|
#f
|
||||||
|
"expected an identifier"
|
||||||
|
stx
|
||||||
|
id)))
|
||||||
|
ids)
|
||||||
|
ids))
|
||||||
|
(syntax->list #'(ids ...)))])
|
||||||
|
(let ([dup-id (check-duplicate-identifier
|
||||||
|
(apply append all-ids))])
|
||||||
|
(when dup-id
|
||||||
|
(raise-syntax-error
|
||||||
|
#f
|
||||||
|
"duplicate binding"
|
||||||
|
stx
|
||||||
|
dup-id)))
|
||||||
|
(if (eq? 'expression (syntax-local-context))
|
||||||
|
(with-syntax ([let-stx (if rec?
|
||||||
|
(if multi?
|
||||||
|
#'letrec-syntaxes
|
||||||
|
#'letrec-syntax)
|
||||||
|
(if multi?
|
||||||
|
#'let-syntaxes
|
||||||
|
#'let-syntax))])
|
||||||
|
(syntax/loc stx
|
||||||
|
(let-stx ([ids expr] ...)
|
||||||
|
(#%expression body)
|
||||||
|
...)))
|
||||||
|
(let ([sli (if (list? (syntax-local-context))
|
||||||
|
syntax-local-introduce
|
||||||
|
values)])
|
||||||
|
(let ([all-ids (map (lambda (ids) (map sli ids)) all-ids)]
|
||||||
|
[def-ctx (syntax-local-make-definition-context)]
|
||||||
|
[ctx (list (gensym 'intdef))])
|
||||||
|
(syntax-local-bind-syntaxes (apply append all-ids) #f def-ctx)
|
||||||
|
(let* ([add-context
|
||||||
|
(lambda (expr)
|
||||||
|
(let ([q (local-expand #`(quote #,expr)
|
||||||
|
ctx
|
||||||
|
(list #'quote)
|
||||||
|
def-ctx)])
|
||||||
|
(syntax-case q ()
|
||||||
|
[(_ expr) #'expr])))])
|
||||||
|
(with-syntax ([((id ...) ...)
|
||||||
|
(map (lambda (ids)
|
||||||
|
(map sli (map add-context ids)))
|
||||||
|
all-ids)]
|
||||||
|
[(expr ...)
|
||||||
|
(let ([exprs (syntax->list #'(expr ...))])
|
||||||
|
(if rec?
|
||||||
|
(map add-context exprs)
|
||||||
|
exprs))]
|
||||||
|
[(body ...)
|
||||||
|
(map add-context (syntax->list #'(body ...)))])
|
||||||
|
#'(begin
|
||||||
|
(define-syntaxes (id ...) expr)
|
||||||
|
...
|
||||||
|
body ...)))))))]))
|
||||||
|
|
||||||
|
(define-syntax (splicing-let-syntax stx)
|
||||||
|
(do-let-syntax stx #f #f))
|
||||||
|
|
||||||
|
(define-syntax (splicing-let-syntaxes stx)
|
||||||
|
(do-let-syntax stx #f #t))
|
||||||
|
|
||||||
|
(define-syntax (splicing-letrec-syntax stx)
|
||||||
|
(do-let-syntax stx #t #f))
|
||||||
|
|
||||||
|
(define-syntax (splicing-letrec-syntaxes stx)
|
||||||
|
(do-let-syntax stx #t #t))
|
|
@ -8,13 +8,13 @@ DrScheme supports two forms of extension to the programming
|
||||||
environment:
|
environment:
|
||||||
|
|
||||||
@itemize[
|
@itemize[
|
||||||
|
|
||||||
@item{@index['("languages" "extending")]{@index['("DrScheme
|
@item{@index['("languages" "extending")]{@index['("DrScheme
|
||||||
Teachpacks")]{A @deftech{teachpack}}} extends the set of procedures
|
Teachpacks")]{A @deftech{teachpack}}} extends the set of procedures
|
||||||
that are built into a language in DrScheme. For example, a
|
that are built into a language in DrScheme. For example, a
|
||||||
teachpack might extend the Beginning Student language with a
|
teachpack might extend the Beginning Student language with a
|
||||||
procedure for playing sounds.
|
procedure for playing sounds.
|
||||||
|
|
||||||
Teachpacks are particularly useful in a classroom setting, where an
|
Teachpacks are particularly useful in a classroom setting, where an
|
||||||
instructor can provide a teachpack that is designed for a specific
|
instructor can provide a teachpack that is designed for a specific
|
||||||
exercise. To use the teachpack, each student must download the
|
exercise. To use the teachpack, each student must download the
|
||||||
|
@ -22,7 +22,7 @@ DrScheme supports two forms of extension to the programming
|
||||||
Teachpack..."] menu item.
|
Teachpack..."] menu item.
|
||||||
|
|
||||||
See @secref["teachpacks"] for information in creating teachpacks.}
|
See @secref["teachpacks"] for information in creating teachpacks.}
|
||||||
|
|
||||||
@item{A @deftech{tool} extends the set of utilities within the
|
@item{A @deftech{tool} extends the set of utilities within the
|
||||||
DrScheme environment. For example, DrScheme's @onscreen{Check
|
DrScheme environment. For example, DrScheme's @onscreen{Check
|
||||||
Syntax} button starts a syntax-checking tool. For information on
|
Syntax} button starts a syntax-checking tool. For information on
|
||||||
|
@ -41,11 +41,11 @@ example, to enable students to play hangman, we supply a teachpack that
|
||||||
|
|
||||||
@itemize{
|
@itemize{
|
||||||
|
|
||||||
@item{implements the random choosing of a word, }
|
@item{implements the random choosing of a word,}
|
||||||
|
|
||||||
@item{maintains the state variable of how many guesses have gone wrong, and}
|
@item{maintains the state variable of how many guesses have gone wrong, and}
|
||||||
|
|
||||||
@item{manages the GUI.}
|
@item{manages the GUI.}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ implementation. To test it, be sure to save it in a file named
|
||||||
@schememod[
|
@schememod[
|
||||||
scheme
|
scheme
|
||||||
|
|
||||||
(provide (rename-out :lcons lcons) lcar lcdr)
|
(provide (rename-out [:lcons lcons]) lcar lcdr)
|
||||||
|
|
||||||
(define-struct lcons (hd tl))
|
(define-struct lcons (hd tl))
|
||||||
|
|
||||||
|
|
|
@ -939,6 +939,7 @@ See @cpp{scheme_dont_gc_ptr}.}
|
||||||
|
|
||||||
Forces an immediate garbage-collection.}
|
Forces an immediate garbage-collection.}
|
||||||
|
|
||||||
|
|
||||||
@function[(void GC_register_traversers
|
@function[(void GC_register_traversers
|
||||||
[short tag]
|
[short tag]
|
||||||
[Size_Proc s]
|
[Size_Proc s]
|
||||||
|
@ -961,6 +962,30 @@ Each of the three procedures takes a pointer and returns an integer:
|
||||||
If the result of the size procedure is a constant, then pass a
|
If the result of the size procedure is a constant, then pass a
|
||||||
non-zero value for @var{is_const_size}. If the mark and fixup
|
non-zero value for @var{is_const_size}. If the mark and fixup
|
||||||
procedures are no-ops, then pass a non-zero value
|
procedures are no-ops, then pass a non-zero value
|
||||||
for @var{is_atomic}.
|
for @var{is_atomic}.}
|
||||||
|
|
||||||
}
|
|
||||||
|
@function[(void* GC_resolve [void* p])]{
|
||||||
|
|
||||||
|
3m only. Can be called by a size, mark, or fixup procedure that is registered
|
||||||
|
with @cpp{GC_register_traversers}. It returns the current address of
|
||||||
|
an object @var{p} that might have been moved already, where @var{p}
|
||||||
|
corresponds to an object that is referenced directly by the object
|
||||||
|
being sized, marked, or fixed. This translation is necessary, for
|
||||||
|
example, if the size or structure of an object depends on the content
|
||||||
|
of an object it references. For example, the size of a class instance
|
||||||
|
usually depends on a field count that is stored in the class. A fixup
|
||||||
|
procedure should call this function on a reference @emph{before}
|
||||||
|
fixing it.}
|
||||||
|
|
||||||
|
|
||||||
|
@function[(void* GC_fixup_self [void* p])]{
|
||||||
|
|
||||||
|
3m only. Can be called by a fixup procedure that is registered with
|
||||||
|
@cpp{GC_register_traversers}. It returns the final address of @var{p},
|
||||||
|
which must be the pointer passed to the fixup procedure. For some
|
||||||
|
implementations of the memory manager, the result is the same as
|
||||||
|
@var{p}, either because objects are not moved or because the object is
|
||||||
|
moved before it is fixed. With other implementations, an object might
|
||||||
|
be moved after the fixup process, and the result is the location that
|
||||||
|
the object will have after garbage collection finished.}
|
||||||
|
|
|
@ -6,45 +6,32 @@
|
||||||
(define-syntax (safe stx)
|
(define-syntax (safe stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
[(_ expr)
|
[(_ expr)
|
||||||
|
;; catch syntax errors while expanding, turn them into runtime errors
|
||||||
(with-handlers ([exn? (lambda (e) #`(list 'error #,(exn-message e)))])
|
(with-handlers ([exn? (lambda (e) #`(list 'error #,(exn-message e)))])
|
||||||
(let-values ([(_ x) (syntax-local-expand-expression
|
(define-values (_ opaque)
|
||||||
#'(with-handlers ([exn? (lambda (e)
|
(syntax-local-expand-expression
|
||||||
(list 'error
|
#'(with-handlers ([exn? (lambda (e) (list 'error (exn-message e)))])
|
||||||
(exn-message e)))])
|
(cons 'values (call-with-values (lambda () expr) list)))))
|
||||||
(cons 'values
|
opaque)]))
|
||||||
(call-with-values (lambda () expr)
|
|
||||||
list))))])
|
|
||||||
x))]))
|
|
||||||
|
|
||||||
(define (show value)
|
(define show
|
||||||
(match value
|
(match-lambda [(list 'error msg) (format "error: ~a" msg)]
|
||||||
[(list 'error msg) (format "error: ~a" msg)]
|
[(list 'values x) (format "~e" x)]
|
||||||
[(list 'values x) (format "~e" x)]
|
[(list 'values xs ...) (format "~e" (cons 'values xs))]))
|
||||||
[(list 'values xs ...) (format "~e" value)]))
|
|
||||||
|
|
||||||
(define test-context
|
(define test-context (make-parameter #f))
|
||||||
(make-parameter
|
|
||||||
(lambda (num exns)
|
|
||||||
(if (null? exns)
|
|
||||||
(printf "~a tests passed\n" num)
|
|
||||||
(error 'test "~a/~a test failures:~a" (length exns) num
|
|
||||||
(string-append*
|
|
||||||
(append-map (lambda (e) (list "\n" (exn-message e)))
|
|
||||||
(reverse exns))))))))
|
|
||||||
|
|
||||||
(define-for-syntax (loc stx)
|
(define-syntax (test-thunk stx)
|
||||||
(string->symbol
|
|
||||||
(format "~a:~a" (syntax-source stx)
|
|
||||||
(let ([l (syntax-line stx)] [c (syntax-column stx)])
|
|
||||||
(cond [(and l c) (format "~a:~a" l c)]
|
|
||||||
[l l]
|
|
||||||
[(syntax-position stx) => (lambda (p) (format "#~a" p))]
|
|
||||||
[else "?"])))))
|
|
||||||
|
|
||||||
(provide test)
|
|
||||||
(define-syntax (test stx)
|
|
||||||
(define (blame e fmt . args)
|
(define (blame e fmt . args)
|
||||||
(with-syntax ([e e] [fmt fmt] [(arg ...) args] [loc (loc e)])
|
(define loc
|
||||||
|
(string->symbol
|
||||||
|
(format "~a:~a" (or (syntax-source e) "(unknown)")
|
||||||
|
(let ([l (syntax-line e)] [c (syntax-column e)])
|
||||||
|
(cond [(and l c) (format "~a:~a" l c)]
|
||||||
|
[l l]
|
||||||
|
[(syntax-position e) => (lambda (p) (format "#~a" p))]
|
||||||
|
[else "?"])))))
|
||||||
|
(with-syntax ([e e] [fmt fmt] [(arg ...) args] [loc loc])
|
||||||
#'(error 'loc "test failure in ~e\n ~a" 'e (format fmt arg ...))))
|
#'(error 'loc "test failure in ~e\n ~a" 'e (format fmt arg ...))))
|
||||||
(define (t1 x)
|
(define (t1 x)
|
||||||
#`(let ([x (safe #,x)])
|
#`(let ([x (safe #,x)])
|
||||||
|
@ -62,14 +49,11 @@
|
||||||
#,(blame x "expected ~a; got: ~a" #'(show y) #'(show x))])))
|
#,(blame x "expected ~a; got: ~a" #'(show y) #'(show x))])))
|
||||||
(define (te x y) (t2 x #`(error #,y)))
|
(define (te x y) (t2 x #`(error #,y)))
|
||||||
(define (try t . args)
|
(define (try t . args)
|
||||||
#`(with-handlers ([exn? (lambda (e) (set! exns (cons e exns)))])
|
#`(let ([c (test-context)])
|
||||||
(set! num (add1 num))
|
(with-handlers ([exn? (lambda (e) (set-mcdr! c (cons e (mcdr c))))])
|
||||||
#,(apply t args)))
|
(set-mcar! c (add1 (mcar c)))
|
||||||
(define (tb x)
|
#,(apply t args))))
|
||||||
#`(parameterize ([test-context (lambda (n es)
|
(define (tb x) x)
|
||||||
(set! num (+ n num))
|
|
||||||
(set! exns (append es exns)))])
|
|
||||||
#,x))
|
|
||||||
(let loop ([xs (map (lambda (x)
|
(let loop ([xs (map (lambda (x)
|
||||||
(if (memq (syntax-e x) '(do => <= =error> <error=))
|
(if (memq (syntax-e x) '(do => <= =error> <error=))
|
||||||
(syntax-e x) x))
|
(syntax-e x) x))
|
||||||
|
@ -81,16 +65,38 @@
|
||||||
[(list* y '<= x r) (cons (try t2 x y) r)]
|
[(list* y '<= x r) (cons (try t2 x y) r)]
|
||||||
[(list* x '=error> y r) (cons (try te x y) r)]
|
[(list* x '=error> y r) (cons (try te x y) r)]
|
||||||
[(list* y '<error= x r) (cons (try te x y) r)]
|
[(list* y '<error= x r) (cons (try te x y) r)]
|
||||||
[(list* x r) ; if x = (test ...), then it's implicitly in a `do'
|
[(list* x r)
|
||||||
|
;; if x = (test ...), then it's implicitly in a `do'
|
||||||
|
;; (not really needed, but avoids an extra count of tests)
|
||||||
(syntax-case x (test)
|
(syntax-case x (test)
|
||||||
[(test x0 x1 ...) (cons (tb x) r)]
|
[(test x0 x1 ...) (cons (tb x) r)]
|
||||||
[_ (cons (try t1 x) r)])]
|
[_ (cons (try t1 x) r)])]
|
||||||
[(list) '()])])
|
[(list) '()])])
|
||||||
(if (pair? t)
|
(if (pair? t)
|
||||||
(loop (cdr t) (cons (car t) r))
|
(loop (cdr t) (cons (car t) r))
|
||||||
#`(let ([num 0] [exns '()])
|
#`(lambda () #,@(reverse r))))))
|
||||||
#,@(reverse r)
|
|
||||||
((test-context) num exns))))))
|
(define (run-tests thunk force-new-context?)
|
||||||
|
(if (and (test-context) (not force-new-context?))
|
||||||
|
(thunk)
|
||||||
|
(let ([c (mcons 0 '())])
|
||||||
|
(parameterize ([test-context c])
|
||||||
|
(dynamic-wind
|
||||||
|
void
|
||||||
|
thunk
|
||||||
|
(lambda ()
|
||||||
|
(test-context #f)
|
||||||
|
(let ([num (mcar c)] [exns (mcdr c)])
|
||||||
|
(if (null? exns)
|
||||||
|
(printf "~a tests passed\n" num)
|
||||||
|
(error 'test "~a/~a test failures:~a" (length exns) num
|
||||||
|
(string-append*
|
||||||
|
(append-map (lambda (e) (list "\n" (exn-message e)))
|
||||||
|
(reverse exns))))))))))))
|
||||||
|
|
||||||
|
(provide test test*)
|
||||||
|
(define-syntax-rule (test x0 x ...) (run-tests (test-thunk x0 x ...) #f))
|
||||||
|
(define-syntax-rule (test* x0 x ...) (run-tests (test-thunk x0 x ...) #t))
|
||||||
|
|
||||||
#; ;; test the `test' macro
|
#; ;; test the `test' macro
|
||||||
|
|
||||||
|
@ -112,10 +118,10 @@
|
||||||
(if 1) =error> "if: bad syntax"
|
(if 1) =error> "if: bad syntax"
|
||||||
|
|
||||||
;; test `test' errors
|
;; test `test' errors
|
||||||
(test (/ 0)) =error> "expected non-#f single value"
|
(test* (/ 0)) =error> "expected non-#f single value"
|
||||||
(test 1 => 2) =error> "expected 2"
|
(test* 1 => 2) =error> "expected 2"
|
||||||
(test 1 =error> "") =error> "expected an error"
|
(test* 1 =error> "") =error> "expected an error"
|
||||||
(test (/ 0) =error> "zzz") =error> "bad error message"
|
(test* (/ 0) =error> "zzz") =error> "bad error message"
|
||||||
)
|
)
|
||||||
|
|
||||||
;; SchemeUnit stuff
|
;; SchemeUnit stuff
|
|
@ -1,6 +1,8 @@
|
||||||
#lang scheme/base
|
#lang scheme/base
|
||||||
|
|
||||||
(require "testing.ss" lazy/force)
|
(require tests/eli-tester lazy/force)
|
||||||
|
|
||||||
|
(test
|
||||||
|
|
||||||
;; lazy/force behavior
|
;; lazy/force behavior
|
||||||
(test
|
(test
|
||||||
|
@ -46,4 +48,4 @@
|
||||||
=> "#0=#s(foo 1 #0#)"
|
=> "#0=#s(foo 1 #0#)"
|
||||||
))
|
))
|
||||||
|
|
||||||
(printf "All tests passed.\n")
|
)
|
||||||
|
|
|
@ -6022,6 +6022,19 @@ so that propagation occurs.
|
||||||
(and (exn? x)
|
(and (exn? x)
|
||||||
(regexp-match #rx"expected field name to be b, but found string?" (exn-message x)))))
|
(regexp-match #rx"expected field name to be b, but found string?" (exn-message x)))))
|
||||||
|
|
||||||
|
(contract-error-test
|
||||||
|
#'(begin
|
||||||
|
(eval '(module pce7-bug scheme/base
|
||||||
|
(require scheme/contract)
|
||||||
|
(define x 1)
|
||||||
|
(provide/contract [x integer?])))
|
||||||
|
(eval '(module pce7-bug2 scheme/base
|
||||||
|
(require 'pce7-bug)
|
||||||
|
(set! x 5))))
|
||||||
|
(λ (x)
|
||||||
|
(and (exn? x)
|
||||||
|
(regexp-match #rx"cannot set!" (exn-message x)))))
|
||||||
|
|
||||||
(contract-eval `(,test 'pos guilty-party (with-handlers ((void values)) (contract not #t 'pos 'neg))))
|
(contract-eval `(,test 'pos guilty-party (with-handlers ((void values)) (contract not #t 'pos 'neg))))
|
||||||
|
|
||||||
(report-errs)
|
(report-errs)
|
||||||
|
|
|
@ -27,12 +27,16 @@
|
||||||
;; Each should be a list with a mode symbol (`load' or `require'),
|
;; Each should be a list with a mode symbol (`load' or `require'),
|
||||||
;; the path to the test file (relative to this script) and module
|
;; the path to the test file (relative to this script) and module
|
||||||
;; specifications for things to require into the initial namespace
|
;; specifications for things to require into the initial namespace
|
||||||
;; for the test before the test is loaded.
|
;; for the test before the test is loaded. ('no-handler is a
|
||||||
|
;; special flag that means that errors raised by the test suite are
|
||||||
|
;; ignored, and should only be used by the mzscheme tests.)
|
||||||
(define tests
|
(define tests
|
||||||
'([load "mzscheme/quiet.ss" (lib "scheme/init")]
|
'([no-handler load "mzscheme/quiet.ss" (lib "scheme/init")]
|
||||||
[require "typed-scheme/main.ss"]
|
[require "typed-scheme/main.ss"]
|
||||||
[require "match/plt-match-tests.ss"]
|
[require "match/plt-match-tests.ss"]
|
||||||
[require "stepper/automatic-tests.ss" (lib "scheme/base")]))
|
;; [require "stepper/automatic-tests.ss" (lib "scheme/base")]
|
||||||
|
[require "lazy/main.ss"]
|
||||||
|
))
|
||||||
|
|
||||||
|
|
||||||
(require scheme/runtime-path)
|
(require scheme/runtime-path)
|
||||||
|
@ -42,11 +46,11 @@
|
||||||
(define exit-code 0)
|
(define exit-code 0)
|
||||||
|
|
||||||
(for ([t tests])
|
(for ([t tests])
|
||||||
|
(define no-handler? (and (eq? 'no-handler (car t)) (set! t (cdr t))))
|
||||||
(define name (cadr t))
|
(define name (cadr t))
|
||||||
(define stderr (current-error-port))
|
(define stderr (current-error-port))
|
||||||
(define (echo fmt . args)
|
(define (echo fmt . args)
|
||||||
(fprintf stderr "*** ~a: ~a\n" name (apply format fmt args)))
|
(fprintf stderr "*** ~a: ~a\n" name (apply format fmt args)))
|
||||||
(define orig-exn-handler (uncaught-exception-handler))
|
|
||||||
(newline stderr)
|
(newline stderr)
|
||||||
(echo "running...")
|
(echo "running...")
|
||||||
(let/ec break
|
(let/ec break
|
||||||
|
@ -60,14 +64,16 @@
|
||||||
(lambda () (sleep 900) (echo "Timeout!") (break-thread th))))
|
(lambda () (sleep 900) (echo "Timeout!") (break-thread th))))
|
||||||
(parameterize* ([exit-handler
|
(parameterize* ([exit-handler
|
||||||
(lambda (n) (abort n "exit with error code ~a" n))]
|
(lambda (n) (abort n "exit with error code ~a" n))]
|
||||||
[uncaught-exception-handler
|
|
||||||
(lambda (exn)
|
|
||||||
(when (eq? orig-exn-handler (uncaught-exception-handler))
|
|
||||||
(abort 1 "error: ~a" (exn-message exn))))]
|
|
||||||
[current-namespace (make-base-empty-namespace)])
|
[current-namespace (make-base-empty-namespace)])
|
||||||
(for-each namespace-require (cddr t))
|
(for-each namespace-require (cddr t))
|
||||||
((case (car t) [(load) load] [(require) namespace-require])
|
(let ([thunk (lambda ()
|
||||||
(build-path here name))
|
((case (car t) [(load) load] [(require) namespace-require])
|
||||||
|
(build-path here name)))])
|
||||||
|
(if no-handler?
|
||||||
|
(thunk)
|
||||||
|
(with-handlers ([void (lambda (exn)
|
||||||
|
(abort 1 "error: ~a" (exn-message exn)))])
|
||||||
|
(thunk))))
|
||||||
(echo "all tests passed."))))
|
(echo "all tests passed."))))
|
||||||
|
|
||||||
(exit exit-code)
|
(exit exit-code)
|
||||||
|
|
|
@ -429,7 +429,9 @@ void wxMediaEdit::OnEvent(wxMouseEvent *event)
|
||||||
if (!admin)
|
if (!admin)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!event->Moving())
|
if (!event->Moving()
|
||||||
|
&& !event->Entering()
|
||||||
|
&& !event->Leaving())
|
||||||
EndStreaks(wxSTREAK_EXCEPT_KEY_SEQUENCE | wxSTREAK_EXCEPT_CURSOR | wxSTREAK_EXCEPT_DELAYED);
|
EndStreaks(wxSTREAK_EXCEPT_KEY_SEQUENCE | wxSTREAK_EXCEPT_CURSOR | wxSTREAK_EXCEPT_DELAYED);
|
||||||
|
|
||||||
if (event->ButtonDown() || caretSnip) {
|
if (event->ButtonDown() || caretSnip) {
|
||||||
|
|
|
@ -20,7 +20,9 @@
|
||||||
|
|
||||||
@MACRO CHECKOKFORDC[p.who] = if (x<p>) { if (!x<p>->Ok()) WITH_VAR_STACK(scheme_arg_mismatch(<who>, "bad bitmap: ", p[POFFSET+<p>])); if (BM_SELECTED(x<p>)) WITH_VAR_STACK(scheme_arg_mismatch(<who>, "bitmap is already installed into a bitmap-dc%: ", p[POFFSET+<p>])); if (BM_IN_USE(x<p>)) WITH_VAR_STACK(scheme_arg_mismatch(<who>, "bitmap is currently installed as a control label or pen/brush stipple: ", p[POFFSET+<p>])); }
|
@MACRO CHECKOKFORDC[p.who] = if (x<p>) { if (!x<p>->Ok()) WITH_VAR_STACK(scheme_arg_mismatch(<who>, "bad bitmap: ", p[POFFSET+<p>])); if (BM_SELECTED(x<p>)) WITH_VAR_STACK(scheme_arg_mismatch(<who>, "bitmap is already installed into a bitmap-dc%: ", p[POFFSET+<p>])); if (BM_IN_USE(x<p>)) WITH_VAR_STACK(scheme_arg_mismatch(<who>, "bitmap is currently installed as a control label or pen/brush stipple: ", p[POFFSET+<p>])); }
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
@MACRO JMPDECL = mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
@MACRO JMPDECL = mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
@MACRO SETJMP = ESCAPE_BLOCK(/*empty*/)
|
@MACRO SETJMP = ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
@MACRO SETJMPV[rv] = ESCAPE_BLOCK(<rv>)
|
@MACRO SETJMPV[rv] = ESCAPE_BLOCK(<rv>)
|
||||||
@MACRO RESETJMP = { thread = scheme_get_current_thread(); thread->error_buf = savebuf; }
|
@MACRO RESETJMP = { thread = scheme_get_current_thread(); thread->error_buf = savebuf; }
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_bmap.h"
|
#include "wxs_bmap.h"
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_butn.h"
|
#include "wxs_butn.h"
|
||||||
|
@ -193,7 +195,7 @@ void os_wxButton::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -349,7 +351,7 @@ void os_wxButton::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxButton::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxButton::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -383,7 +385,7 @@ void os_wxButton::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxButton::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxButton::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -31,6 +31,8 @@ void wxSetComboBoxFont(wxFont *f)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_chce.h"
|
#include "wxs_chce.h"
|
||||||
|
@ -316,7 +318,7 @@ void os_wxChoice::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -472,7 +474,7 @@ void os_wxChoice::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxChoice::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxChoice::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -506,7 +508,7 @@ void os_wxChoice::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxChoice::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxChoice::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_ckbx.h"
|
#include "wxs_ckbx.h"
|
||||||
|
@ -197,7 +199,7 @@ void os_wxCheckBox::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -353,7 +355,7 @@ void os_wxCheckBox::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxCheckBox::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxCheckBox::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -387,7 +389,7 @@ void os_wxCheckBox::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxCheckBox::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxCheckBox::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_cnvs.h"
|
#include "wxs_cnvs.h"
|
||||||
|
@ -267,7 +269,7 @@ void os_wxCanvas::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -423,7 +425,7 @@ void os_wxCanvas::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxCanvas::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxCanvas::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -457,7 +459,7 @@ void os_wxCanvas::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxCanvas::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxCanvas::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -493,7 +495,7 @@ void os_wxCanvas::OnScroll(class wxScrollEvent* x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxScrollEvent(x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxScrollEvent(x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -529,7 +531,7 @@ void os_wxCanvas::OnChar(class wxKeyEvent* x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxKeyEvent(x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxKeyEvent(x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -565,7 +567,7 @@ void os_wxCanvas::OnEvent(class wxMouseEvent* x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxMouseEvent(x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxMouseEvent(x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -599,7 +601,7 @@ void os_wxCanvas::OnPaint()
|
||||||
READY_TO_RETURN; ASSELF wxCanvas::OnPaint();
|
READY_TO_RETURN; ASSELF wxCanvas::OnPaint();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -66,6 +66,8 @@ void wxGL::ThisContextCurrent(void) { }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_dc.h"
|
#include "wxs_dc.h"
|
||||||
|
|
|
@ -96,6 +96,8 @@ wxMouseEvent_ext::wxMouseEvent_ext(int et, int ld, int mdd, int rd, int xv, int
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_evnt.h"
|
#include "wxs_evnt.h"
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_fram.h"
|
#include "wxs_fram.h"
|
||||||
|
@ -258,7 +260,7 @@ void os_wxFrame::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -414,7 +416,7 @@ void os_wxFrame::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxFrame::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxFrame::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -448,7 +450,7 @@ void os_wxFrame::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxFrame::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxFrame::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -660,7 +662,7 @@ void os_wxFrame::OnActivate(Bool x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = (x0 ? scheme_true : scheme_false);
|
p[POFFSET+0] = (x0 ? scheme_true : scheme_false);
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_gage.h"
|
#include "wxs_gage.h"
|
||||||
|
@ -203,7 +205,7 @@ void os_wxsGauge::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -359,7 +361,7 @@ void os_wxsGauge::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxsGauge::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxsGauge::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -393,7 +395,7 @@ void os_wxsGauge::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxsGauge::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxsGauge::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_gdi.h"
|
#include "wxs_gdi.h"
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_glob.h"
|
#include "wxs_glob.h"
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_item.h"
|
#include "wxs_item.h"
|
||||||
|
@ -397,7 +399,7 @@ void os_wxMessage::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -553,7 +555,7 @@ void os_wxMessage::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxMessage::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxMessage::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -587,7 +589,7 @@ void os_wxMessage::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxMessage::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxMessage::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_lbox.h"
|
#include "wxs_lbox.h"
|
||||||
|
@ -354,7 +356,7 @@ void os_wxListBox::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -510,7 +512,7 @@ void os_wxListBox::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxListBox::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxListBox::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -544,7 +546,7 @@ void os_wxListBox::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxListBox::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxListBox::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_madm.h"
|
#include "wxs_madm.h"
|
||||||
|
@ -309,7 +311,7 @@ void os_wxMediaCanvas::OnChar(class wxKeyEvent* x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxKeyEvent(x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxKeyEvent(x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -345,7 +347,7 @@ void os_wxMediaCanvas::OnEvent(class wxMouseEvent* x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxMouseEvent(x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_wxMouseEvent(x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -379,7 +381,7 @@ void os_wxMediaCanvas::OnPaint()
|
||||||
READY_TO_RETURN; ASSELF wxMediaCanvas::OnPaint();
|
READY_TO_RETURN; ASSELF wxMediaCanvas::OnPaint();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -415,7 +417,7 @@ void os_wxMediaCanvas::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -571,7 +573,7 @@ void os_wxMediaCanvas::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxMediaCanvas::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxMediaCanvas::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -605,7 +607,7 @@ void os_wxMediaCanvas::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxMediaCanvas::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxMediaCanvas::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_mede.h"
|
#include "wxs_mede.h"
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_medi.h"
|
#include "wxs_medi.h"
|
||||||
|
|
|
@ -32,6 +32,8 @@ START_XFORM_SKIP;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#ifdef wx_mac
|
#ifdef wx_mac
|
||||||
# define MAC_UNUSED(x) /**/
|
# define MAC_UNUSED(x) /**/
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_mio.h"
|
#include "wxs_mio.h"
|
||||||
|
|
|
@ -32,6 +32,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_misc.h"
|
#include "wxs_misc.h"
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_mpb.h"
|
#include "wxs_mpb.h"
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_obj.h"
|
#include "wxs_obj.h"
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_panl.h"
|
#include "wxs_panl.h"
|
||||||
|
@ -225,7 +227,7 @@ void os_wxPanel::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -381,7 +383,7 @@ void os_wxPanel::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxPanel::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxPanel::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -415,7 +417,7 @@ void os_wxPanel::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxPanel::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxPanel::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -1159,7 +1161,7 @@ void os_wxDialogBox::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -1315,7 +1317,7 @@ void os_wxDialogBox::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxDialogBox::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxDialogBox::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -1349,7 +1351,7 @@ void os_wxDialogBox::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxDialogBox::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxDialogBox::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -1423,7 +1425,7 @@ void os_wxDialogBox::OnActivate(Bool x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = (x0 ? scheme_true : scheme_false);
|
p[POFFSET+0] = (x0 ? scheme_true : scheme_false);
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_rado.h"
|
#include "wxs_rado.h"
|
||||||
|
@ -420,7 +422,7 @@ void os_wxRadioBox::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -576,7 +578,7 @@ void os_wxRadioBox::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxRadioBox::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxRadioBox::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -610,7 +612,7 @@ void os_wxRadioBox::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxRadioBox::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxRadioBox::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_slid.h"
|
#include "wxs_slid.h"
|
||||||
|
@ -191,7 +193,7 @@ void os_wxSlider::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -347,7 +349,7 @@ void os_wxSlider::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxSlider::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxSlider::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -381,7 +383,7 @@ void os_wxSlider::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxSlider::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxSlider::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_snip.h"
|
#include "wxs_snip.h"
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_styl.h"
|
#include "wxs_styl.h"
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#ifdef wx_xt
|
#ifdef wx_xt
|
||||||
/* This calls won't be instantiated, but it must compile. */
|
/* This calls won't be instantiated, but it must compile. */
|
||||||
|
@ -339,7 +341,7 @@ void os_wxTabChoice::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -495,7 +497,7 @@ void os_wxTabChoice::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxTabChoice::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxTabChoice::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -529,7 +531,7 @@ void os_wxTabChoice::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxTabChoice::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxTabChoice::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -1188,7 +1190,7 @@ void os_wxGroupBox::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -1344,7 +1346,7 @@ void os_wxGroupBox::OnSetFocus()
|
||||||
READY_TO_RETURN; ASSELF wxGroupBox::OnSetFocus();
|
READY_TO_RETURN; ASSELF wxGroupBox::OnSetFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -1378,7 +1380,7 @@ void os_wxGroupBox::OnKillFocus()
|
||||||
READY_TO_RETURN; ASSELF wxGroupBox::OnKillFocus();
|
READY_TO_RETURN; ASSELF wxGroupBox::OnKillFocus();
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#define ESCAPE_NO_RET_VAL /*empty*/
|
||||||
|
|
||||||
|
|
||||||
#include "wxscheme.h"
|
#include "wxscheme.h"
|
||||||
#include "wxs_win.h"
|
#include "wxs_win.h"
|
||||||
|
@ -255,7 +257,7 @@ void os_wxWindow::OnDropFile(epathname x0)
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
p[POFFSET+0] = WITH_VAR_STACK(objscheme_bundle_pathname((char *)x0));
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+1, p));
|
||||||
|
@ -411,7 +413,7 @@ void os_wxWindow::OnSetFocus()
|
||||||
{ READY_TO_RETURN; return; }
|
{ READY_TO_RETURN; return; }
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
@ -445,7 +447,7 @@ void os_wxWindow::OnKillFocus()
|
||||||
{ READY_TO_RETURN; return; }
|
{ READY_TO_RETURN; return; }
|
||||||
} else {
|
} else {
|
||||||
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
mz_jmp_buf *savebuf, newbuf; Scheme_Thread *thread;
|
||||||
ESCAPE_BLOCK(/*empty*/)
|
ESCAPE_BLOCK(ESCAPE_NO_RET_VAL)
|
||||||
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
p[0] = (Scheme_Object *) ASSELF __gc_external;
|
||||||
|
|
||||||
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
v = WITH_VAR_STACK(scheme_apply(method, POFFSET+0, p));
|
||||||
|
|
|
@ -201,6 +201,8 @@ GC_register_traversers
|
||||||
GC_resolve
|
GC_resolve
|
||||||
GC_mark
|
GC_mark
|
||||||
GC_fixup
|
GC_fixup
|
||||||
|
GC_fixup_self
|
||||||
|
GC_resolve
|
||||||
scheme_malloc_immobile_box
|
scheme_malloc_immobile_box
|
||||||
scheme_free_immobile_box
|
scheme_free_immobile_box
|
||||||
scheme_make_bucket_table
|
scheme_make_bucket_table
|
||||||
|
|
|
@ -193,6 +193,8 @@ EXPORTS
|
||||||
GC_resolve
|
GC_resolve
|
||||||
GC_mark
|
GC_mark
|
||||||
GC_fixup
|
GC_fixup
|
||||||
|
GC_fixup_self
|
||||||
|
GC_resolve
|
||||||
scheme_malloc_immobile_box
|
scheme_malloc_immobile_box
|
||||||
scheme_free_immobile_box
|
scheme_free_immobile_box
|
||||||
scheme_make_bucket_table
|
scheme_make_bucket_table
|
||||||
|
|
|
@ -396,6 +396,8 @@ MZ_EXTERN void GC_register_traversers(short tag, Size_Proc size, Mark_Proc mark,
|
||||||
MZ_EXTERN void *GC_resolve(void *p);
|
MZ_EXTERN void *GC_resolve(void *p);
|
||||||
MZ_EXTERN void GC_mark(const void *p);
|
MZ_EXTERN void GC_mark(const void *p);
|
||||||
MZ_EXTERN void GC_fixup(void *p);
|
MZ_EXTERN void GC_fixup(void *p);
|
||||||
|
MZ_EXTERN void *GC_fixup_self(void *p);
|
||||||
|
MZ_EXTERN void *GC_resolve(void *p);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MZ_EXTERN void **scheme_malloc_immobile_box(void *p);
|
MZ_EXTERN void **scheme_malloc_immobile_box(void *p);
|
||||||
|
|
|
@ -322,6 +322,8 @@ void (*GC_register_traversers)(short tag, Size_Proc size, Mark_Proc mark, Fixup_
|
||||||
void *(*GC_resolve)(void *p);
|
void *(*GC_resolve)(void *p);
|
||||||
void (*GC_mark)(const void *p);
|
void (*GC_mark)(const void *p);
|
||||||
void (*GC_fixup)(void *p);
|
void (*GC_fixup)(void *p);
|
||||||
|
void *(*GC_fixup_self)(void *p);
|
||||||
|
void *(*GC_resolve)(void *p);
|
||||||
#endif
|
#endif
|
||||||
void **(*scheme_malloc_immobile_box)(void *p);
|
void **(*scheme_malloc_immobile_box)(void *p);
|
||||||
void (*scheme_free_immobile_box)(void **b);
|
void (*scheme_free_immobile_box)(void **b);
|
||||||
|
|
|
@ -221,6 +221,8 @@
|
||||||
scheme_extension_table->GC_resolve = GC_resolve;
|
scheme_extension_table->GC_resolve = GC_resolve;
|
||||||
scheme_extension_table->GC_mark = GC_mark;
|
scheme_extension_table->GC_mark = GC_mark;
|
||||||
scheme_extension_table->GC_fixup = GC_fixup;
|
scheme_extension_table->GC_fixup = GC_fixup;
|
||||||
|
scheme_extension_table->GC_fixup_self = GC_fixup_self;
|
||||||
|
scheme_extension_table->GC_resolve = GC_resolve;
|
||||||
#endif
|
#endif
|
||||||
scheme_extension_table->scheme_malloc_immobile_box = scheme_malloc_immobile_box;
|
scheme_extension_table->scheme_malloc_immobile_box = scheme_malloc_immobile_box;
|
||||||
scheme_extension_table->scheme_free_immobile_box = scheme_free_immobile_box;
|
scheme_extension_table->scheme_free_immobile_box = scheme_free_immobile_box;
|
||||||
|
|
|
@ -221,6 +221,8 @@
|
||||||
#define GC_resolve (scheme_extension_table->GC_resolve)
|
#define GC_resolve (scheme_extension_table->GC_resolve)
|
||||||
#define GC_mark (scheme_extension_table->GC_mark)
|
#define GC_mark (scheme_extension_table->GC_mark)
|
||||||
#define GC_fixup (scheme_extension_table->GC_fixup)
|
#define GC_fixup (scheme_extension_table->GC_fixup)
|
||||||
|
#define GC_fixup_self (scheme_extension_table->GC_fixup_self)
|
||||||
|
#define GC_resolve (scheme_extension_table->GC_resolve)
|
||||||
#endif
|
#endif
|
||||||
#define scheme_malloc_immobile_box (scheme_extension_table->scheme_malloc_immobile_box)
|
#define scheme_malloc_immobile_box (scheme_extension_table->scheme_malloc_immobile_box)
|
||||||
#define scheme_free_immobile_box (scheme_extension_table->scheme_free_immobile_box)
|
#define scheme_free_immobile_box (scheme_extension_table->scheme_free_immobile_box)
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
"type"
|
"type"
|
||||||
"vector"))
|
"vector"))
|
||||||
|
|
||||||
(define common-cpp-defs " /D _CRT_SECURE_NO_DEPRECATE ")
|
(define common-cpp-defs " /D _CRT_SECURE_NO_DEPRECATE /D _USE_DECLSPECS_FOR_SAL=0 /D _USE_ATTRIBUTES_FOR_SAL=0 ")
|
||||||
|
|
||||||
(define (check-timestamp t2 dep)
|
(define (check-timestamp t2 dep)
|
||||||
(when (t2 . > . (current-seconds))
|
(when (t2 . > . (current-seconds))
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
(require mzlib/restart)
|
(require mzlib/restart)
|
||||||
|
|
||||||
(define cpp-flags "/D _CRT_SECURE_NO_DEPRECATE /D WIN32")
|
(define cpp-flags "/D _CRT_SECURE_NO_DEPRECATE /D WIN32 /D _USE_DECLSPECS_FOR_SAL=0 /D _USE_ATTRIBUTES_FOR_SAL=0")
|
||||||
(define includes
|
(define includes
|
||||||
(string-append
|
(string-append
|
||||||
"/I ../../mzscheme/include /I . /I .. /I ../../mysterx"
|
"/I ../../mzscheme/include /I . /I .. /I ../../mysterx"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
(require mzlib/restart)
|
(require mzlib/restart)
|
||||||
|
|
||||||
(define cpp-flags "/D _CRT_SECURE_NO_DEPRECATE /D WIN32")
|
(define cpp-flags "/D _CRT_SECURE_NO_DEPRECATE /D WIN32 /D _USE_DECLSPECS_FOR_SAL=0 /D _USE_ATTRIBUTES_FOR_SAL=0")
|
||||||
(define includes "/I ../../mzscheme/include /I . /I .. /I ../../mzcom")
|
(define includes "/I ../../mzscheme/include /I . /I .. /I ../../mzcom")
|
||||||
|
|
||||||
(define (xform src dest)
|
(define (xform src dest)
|
||||||
|
|
13
src/wxwindow/contrib/fafa/fafabuf.h
Normal file
13
src/wxwindow/contrib/fafa/fafabuf.h
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" char FafaWind[] ;
|
||||||
|
extern "C" char FafaButt[] ;
|
||||||
|
extern "C" char FafaStat[] ;
|
||||||
|
extern "C" char FafaChck[] ;
|
||||||
|
extern "C" char MichButt[] ;
|
||||||
|
#else
|
||||||
|
extern char FafaWind[] ;
|
||||||
|
extern char FafaButt[] ;
|
||||||
|
extern char FafaStat[] ;
|
||||||
|
extern char FafaChck[] ;
|
||||||
|
extern char MichButt[] ;
|
||||||
|
#endif
|
|
@ -120,19 +120,7 @@ enum { /* Extra BYTES, Offsets : */
|
||||||
extern HANDLE Inst ; /* instance librairie */
|
extern HANDLE Inst ; /* instance librairie */
|
||||||
extern HBITMAP DisableBitmap ; /* bitmap controles disables */
|
extern HBITMAP DisableBitmap ; /* bitmap controles disables */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#include "fafabuf.h"
|
||||||
extern "C" char FafaWind[] ;
|
|
||||||
extern "C" char FafaButt[] ;
|
|
||||||
extern "C" char FafaStat[] ;
|
|
||||||
extern "C" char FafaChck[] ;
|
|
||||||
extern "C" char MichButt[] ;
|
|
||||||
#else
|
|
||||||
extern char FafaWind[] ;
|
|
||||||
extern char FafaButt[] ;
|
|
||||||
extern char FafaStat[] ;
|
|
||||||
extern char FafaChck[] ;
|
|
||||||
extern char MichButt[] ;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|-----------------------------------------------------------------------|
|
|-----------------------------------------------------------------------|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "wx_utils.h"
|
#include "wx_utils.h"
|
||||||
|
|
||||||
#include "fafa.h"
|
#include "fafa.h"
|
||||||
#include "fafapriv.h" //added by Chubraev
|
#include "fafabuf.h"
|
||||||
|
|
||||||
#define STATIC_CLASS "STATIC"
|
#define STATIC_CLASS "STATIC"
|
||||||
#define LSTATIC_CLASS L"STATIC"
|
#define LSTATIC_CLASS L"STATIC"
|
||||||
|
|
|
@ -3344,7 +3344,9 @@ wxGL *wxMemoryDC::GetGL()
|
||||||
|
|
||||||
#include <gl/gl.h>
|
#include <gl/gl.h>
|
||||||
#include <gl/glu.h>
|
#include <gl/glu.h>
|
||||||
#include <gl/glaux.h>
|
#if _MSC_VER < 1500
|
||||||
|
# include <gl/glaux.h>
|
||||||
|
#endif
|
||||||
#include "wx_wglext.h"
|
#include "wx_wglext.h"
|
||||||
|
|
||||||
#include "../../../wxcommon/wxGLConfig.cxx"
|
#include "../../../wxcommon/wxGLConfig.cxx"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user