Patrick Mahoney
489d21520e
Move the gui modules to lang racket
2012-09-04 21:57:12 -07:00
Patrick Mahoney
7337c44604
Move core to racket lang.
...
This was an easy set of modules to port-just switched the #lang form
from #lang scheme to #lang racket.
2012-09-04 21:57:12 -07:00
Patrick Mahoney
01df178c3f
Move graphics-unit.rkt to racket lang.
2012-09-04 21:57:12 -07:00
Patrick Mahoney
4eca7a7bd0
Move graphics-sig.rkt to racket lang.
2012-09-04 21:57:12 -07:00
Patrick Mahoney
d1d7bdf5f9
Move graphics-posn-less to lang racket
...
-write a macro to convert rec uses to Racket's letrec.
-remove opt-lambdas in favor of Racket's lambda.
2012-09-04 21:57:12 -07:00
Patrick Mahoney
5ec59b1793
Use racket lang for graphics.rkt
2012-09-04 21:57:12 -07:00
Patrick Mahoney
fe4a4c8e62
Use racket for syntax in animation.rkt
2012-09-04 21:57:12 -07:00
Patrick Mahoney
85d4b9b0a5
Move date.rkt to racket lang.
2012-09-04 21:57:11 -07:00
Patrick Mahoney
025c5f3cf1
Remove unnecessary gui.rkt imports.
2012-09-04 21:57:11 -07:00
Patrick Mahoney
b61ecf9874
Remove mzlib/list require from gui.rkt
2012-09-04 21:57:11 -07:00
Patrick Mahoney
7f7867c46d
Remove unnecessary require
2012-09-04 21:57:11 -07:00
Patrick Mahoney
032dd1948c
Switch instances of mzlib/list to racket/list
2012-09-04 21:57:11 -07:00
Patrick Mahoney
21fcc4934c
Require racket/match instead of mzlib/match
...
match pattern changes:
($ struct-id ...) -> (struct-id ...)
(hd tl) -> (list hd tl)
-small provide cleanup in lang-utils.rkt
2012-09-04 21:57:11 -07:00
Patrick Mahoney
01ec2d3fde
Begin transition to racket lang in lang-utils.rkt
...
-Maximize the number of bindings brought in from racket vs. mzscheme by
replacing mzscheme in the (all-except mzscheme form with racket.
-import from mzscheme sparingly rather than bringing it all in except
the lang-core bindings.
-switch mzlib/list require to racket/list
-some cleanup of requires and provides
2012-09-04 21:57:11 -07:00
Patrick Mahoney
69de8e95b3
Small provides cleanup.
2012-09-04 21:57:10 -07:00
Patrick Mahoney
7c8980cf5a
Explicit requires from frtime/core/frp
...
Cleanup and reorder requires.
2012-09-04 21:57:10 -07:00
Patrick Mahoney
c558ae7e1a
Remove scheme/list, scheme/base requires for-syntax
...
Replace with Racket equivalents.
2012-09-04 21:57:10 -07:00
Patrick Mahoney
4baae35e7c
Remove mzlib/etc dependency
2012-09-04 21:57:10 -07:00
Patrick Mahoney
1eac1be6d7
Remove scheme/list dependency in favor of racket/list
...
Favor explicit requires.
2012-09-04 21:57:10 -07:00
Patrick Mahoney
f32aa2081c
Remove scheme/bool dependency
2012-09-04 21:57:10 -07:00
Patrick Mahoney
1e98b644f2
Move lang-ext.rkt to racket/base lang
...
scheme/base to racket/base appears to be a no-hassle change, assuming
the require forms are kept to the simple ones.
2012-09-04 21:57:10 -07:00
Patrick Mahoney
182cf25bfa
Reorder provides in lang-core.rkt
2012-09-04 21:57:10 -07:00
Patrick Mahoney
fa740ebfcf
Reorder and cleanup requires in lang-core.rkt.
2012-09-04 21:57:09 -07:00
Patrick Mahoney
2d12f007a9
Reduce dependency on mzlib/etc requires.
...
Only opt-lambda remains imported from this lib. Later, this dependency
will be removed.
2012-09-04 21:57:09 -07:00
Patrick Mahoney
ca236f0ad7
Remove srfi/43/vector-lib dependency
2012-09-04 21:57:09 -07:00
Patrick Mahoney
37aa13b96d
Remove srfi/43/vector-lib dependency in favor of racket/vector
2012-09-04 21:57:09 -07:00
Patrick Mahoney
7640e5ddb2
Require imports from frtime/core/frp explicitly
...
-Animation tests pass.
-Generally prefer explicit imports.
2012-09-04 21:57:09 -07:00
Patrick Mahoney
360eb60568
Explicitly import identifiers from syntax/struct.
2012-09-04 21:57:09 -07:00
Patrick Mahoney
7e21d64cdf
Refactor mzlib/list syntax require into two Racket requires.
...
mzlib/list exports foldl, whereas racket/base exports this identifier.
2012-09-04 21:57:09 -07:00
Patrick Mahoney
6c4d8aa336
Require syntax/struct instead of frtime/struct
...
Can frtime/struct.rkt be removed now? (likely yes).
2012-09-04 21:57:08 -07:00
Patrick Mahoney
818b7c132b
Update syntax and template requires to use racket/base
2012-09-04 21:57:08 -07:00
Patrick Mahoney
6c8556c4b5
Require racket/struct-info instead of scheme/struct-info.
2012-09-04 21:57:08 -07:00
Patrick Mahoney
7c2b31c61f
Change lang of struct.rkt from scheme/base to racket/base.
2012-09-04 21:57:08 -07:00
Patrick Mahoney
64e9bdd92d
Change require from mzlib/class to racket/class.
2012-09-04 21:57:08 -07:00
Matthew Flatt
ba56fd72da
racket/class: add dynamic-get-field' and
dynamic-set-field!'
2012-09-04 15:28:18 -06:00
Matthew Flatt
8bd5dbf7cc
ffi/unsafe: change `cast' to avoid pitfalls for you
...
The old `cast' didn't work right for a mismatch between
a pointer GCableness and the source or target types, and
it didn't work right for an GCable pointer with a non-zero
offset. While those pitfalls were documented, the first
of them definitely has been a source of bugs in code that
I wrote.
Also added `cpointer-gcable?'
2012-09-04 15:28:18 -06:00
Matthew Flatt
7d2ce136fa
scribble: another Latex/PDF section repair
2012-09-03 08:07:34 -06:00
Matthew Flatt
16621ad437
scribble: fix for Latex and `\Ssection' changes
2012-09-03 06:10:27 -06:00
Matthew Flatt
69d2adce4d
racket/gui: new-style error messages
2012-09-02 16:38:43 -06:00
Matthew Flatt
99de1b3efa
fix problems with `raise-range-error'
...
Problems include bad index reporting for vectors, bad treatment of
empty strings and byte strings, and misformatting of given name.
2012-09-02 15:57:01 -06:00
Matthew Flatt
64eb4f9389
racket/gui: make `editor-canvas%' fail more gracefully on too-large content
...
Closes PR 13087
2012-09-02 10:08:23 -06:00
Matthew Flatt
19b2ee5e90
racket/gui: get get-scroll-pos', etc., arguments for
canvas%'
2012-09-02 10:08:18 -06:00
Matthew Flatt
9f9f91207f
ffi/com: add an ActiveX example to the docs
2012-09-01 16:05:37 -06:00
Jay McCarthy
b68fb6f228
Obey contract in internal test
2012-09-01 12:48:14 -06:00
Marc Burns
be72d1475b
Include bindings via query string in POST request bindings.
...
The original implementation does not generate bindings from
the URL query string on POST requests. However, it is often
necessary to retrieve information from the query string on
a POST.
2012-09-01 12:12:07 -06:00
Matthew Flatt
3f825b8d20
ffi/com: fix reference counting
...
Don't AddRef() on "in" arguments, do AddRef() on "out"
or "in-out" arguments.
2012-09-01 09:48:35 -06:00
Matthew Flatt
f1ff9c6059
ffi/com: fix unmarshal of by-ref results
2012-09-01 09:48:35 -06:00
Matthew Flatt
eb7fd51d02
ffi/com: add `any ...' support for method arguments
...
Also allow `?' for the length of an array and suport VT_SAFEARRAY
arguments (mostly the same as VT_ARRAY).
2012-09-01 09:48:35 -06:00
Matthew Flatt
e407303c5e
ffi/com: add missing export
2012-09-01 09:48:34 -06:00
Matthew Flatt
3a2b562ff4
remove debugging printf
2012-09-01 09:48:34 -06:00