John Clements
f933535639
adding external interface
2012-08-27 22:23:26 -07:00
Matthew Flatt
fe1cc4f009
doc repair
2012-08-27 20:17:06 -06:00
Matthew Flatt
85b99de7b1
ffi/unsafe/objc: more support for loading in unsupported contexts
2012-08-27 19:47:44 -06:00
Matthew Flatt
cb95a99d68
change `transplant-{input,output}-port' to propagate buffering
...
Affects derived functions, such as `dup-output-port' and
`relocate-output-port', and uses in `pretty-print'.
2012-08-27 19:44:06 -06:00
Matthew Flatt
704cb4bd01
make-output-port': fix
enable-break?' argument to callbacks
2012-08-27 19:44:06 -06:00
Matthew Flatt
310945ee73
racket/pretty: replace internal table with `prop:output-port' structs
2012-08-27 19:44:05 -06:00
Robby Findler
8a4567f5aa
adjust the tooltip position so it goes to the end of the line where the arrowhead sits
2012-08-27 20:13:49 -05:00
Robby Findler
9934f202c9
avoid allocating a bunch of boxes (instead use ones already lying around)
2012-08-27 20:13:49 -05:00
Jay McCarthy
9fdb0ac507
correct cut implementation without mutation
2012-08-27 15:13:18 -06:00
John Clements
614ff235fc
remove dependencies on mz-testing.rkt
2012-08-27 13:35:38 -07:00
Sam Tobin-Hochstadt
514c1c5921
Refactoring of new tc-app
.
2012-08-27 14:46:30 -04:00
Eric Dobson
1e15d4496e
Fix errors in tc/app-hetero, cleanup tc/app.
2012-08-27 14:43:45 -04:00
Eric Dobson
5c7ed4a21d
Cleaned up special cases by adding macros to reduce duplication.
2012-08-27 14:43:45 -04:00
Eric Dobson
ba7647d7e2
Moved the rest of special cases to reified syntax classes.
2012-08-27 14:43:45 -04:00
Eric Dobson
dda1d60211
Rough draft of syntax classes for tc-app.
2012-08-27 14:43:45 -04:00
Eric Dobson
020d053e0a
Add back template require.
2012-08-27 14:43:45 -04:00
Eric Dobson
6c2be05749
Removed dependencies from tc-app-hetero.
2012-08-27 14:43:44 -04:00
Eric Dobson
d8c9a581f2
Remove unneeded requires
2012-08-27 14:43:44 -04:00
Eric Dobson
7005f12f0d
Cleanup of tc-app refactor.
2012-08-27 14:43:44 -04:00
Eric Dobson
54d49d0ec1
Moved last special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
67c7e3537b
Moved lambda special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
51671fcec4
Moved eq? et al. special casing out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
73bd7da049
Moved object special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
c2ab21c5a5
Moved keyword special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
6034423472
Split out special cases for apply and values from tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
fcb06ac433
Move TR list special cases to tc-app-list.rkt.
2012-08-27 14:43:44 -04:00
Matthew Flatt
7b49ad088a
ffi/unsafe/objc: `objc_lookUpClass' produces #f when unavailable
...
This change allows `ffi/unsafe/nsstring', for example, to at least load
on all platforms.
2012-08-27 10:29:55 -06:00
Matthew Flatt
2504eec834
fix condense-mode slide counting in `with-steps'
2012-08-27 10:29:55 -06:00
Matthew Flatt
a523270025
ffi/com: repair for DCOM instance creation
2012-08-27 08:57:01 -06:00
Robby Findler
e44835117b
move the baseline comment to image-baseline from the y-place? docs
2012-08-25 19:23:29 -05:00
Robby Findler
38ca627788
attempt to clarify the composition properties of empty-image
2012-08-25 19:13:07 -05:00
Ryan Culpepper
c5472fbf3e
db: eliminate some copying from postgresql message reading
2012-08-25 19:04:24 -04:00
Ryan Culpepper
8363db9258
db: use channel instead of semaphore + result variable
2012-08-25 19:02:18 -04:00
Ryan Culpepper
01e19983da
db: split example logs into one per scribble file to make drdr happy
2012-08-25 19:02:18 -04:00
Ryan Culpepper
81b022a3b8
db: fixed bug in db docs
2012-08-25 19:02:18 -04:00
Ryan Culpepper
7da5063782
db: added variations of concurrency test
2012-08-25 19:02:18 -04:00
Ryan Culpepper
7c395e9c7c
db: updated to new error convention (mostly)
2012-08-25 19:02:18 -04:00
Ryan Culpepper
325293ceea
added tests for racket/syntax
2012-08-24 18:14:40 -04:00
Matthew Flatt
876b703353
doc repair
...
Applied patch from Lee Duhem.
Closes PR 13042
2012-08-24 15:48:58 -06:00
Matthew Flatt
bd8e1e8b1f
fix JIT bug related to bad struct-field mutators
...
We can't disallow the creation of bad mutators without breaking
old code, but we can prevent the JIT from treating them like
good ones.
Closes PR 13062
2012-08-24 15:48:58 -06:00
Matthew Flatt
23722e64c2
change `exn:break:hang-up' handling to skip display
...
Since SIGHUP normally means that the output has gone away,
don't try to write to it.
Closes PR 13058 (although it doesn't solve the more general
problem that is noted in the PR)
2012-08-24 15:48:58 -06:00
Matthew Flatt
088d1dadb4
add ffi/unsafe/nsalloc' and
ffi/unsafe/nsstring'
2012-08-24 15:48:58 -06:00
Robby Findler
c42fbb68cb
refinement to recent commit suggested by Ryan
2012-08-24 12:43:04 -05:00
Robby Findler
605e1b8c89
adjust redex so that identifiers preserve their syntax-original ness
2012-08-24 09:47:18 -05:00
Robby Findler
e4450e2705
make record-disappeared-uses call syntax-local-introduce
...
on the identifiers passed to it
2012-08-24 09:34:41 -05:00
Robby Findler
97f47e4fbb
up the timeout for the no-write-and-frame-leak.rkt drracket test
2012-08-24 07:42:51 -05:00
Robby Findler
0fa2e6d7d5
adjust planet tests to use 'raco planet' command-line tool, not 'planet'
2012-08-24 07:41:05 -05:00
Robby Findler
0d92608367
rename contract-gui.rkt to blueboxes-gui.rkt
2012-08-23 21:42:07 -05:00
Robby Findler
d3b4db2ed1
fix the computation of the minimum width for the blue boxes
...
(you could see it going wrong with 'this' from racket/class)
2012-08-23 21:27:00 -05:00
Robby Findler
4a0506a24f
adjust struct/dc so error say "struct/dc" not "-struct/dc"
2012-08-23 18:59:11 -05:00
Robby Findler
66b78bf488
add a check that struct/c can find all of the selectors in the current scope
2012-08-23 18:59:11 -05:00
Robby Findler
1ad2c75531
add the ability to specify #:parent to struct/dc (and fix struct/c to use it)
...
closes PR 13049
2012-08-23 18:59:11 -05:00
Sam Tobin-Hochstadt
0233c5a14f
Move Ephemeronof
documentation.
...
Closes PR 12952.
2012-08-23 14:04:37 -04:00
Matthew Flatt
edd2035f88
racket/draw: fix set-clipping-rect' in
record-dc%'
2012-08-23 09:42:34 -06:00
Matthew Flatt
d9784aa7eb
win32 racket/gui: fix decoding of system font name
...
Closes PR 12997
2012-08-23 08:16:23 -06:00
Robby Findler
8ed42e6162
rename function scale-to-fit to avoid conflict
...
with newly introduced function with that name
2012-08-22 22:47:50 -05:00
Robby Findler
7647e94eee
add scale-to-fit to slideshow/pict
2012-08-22 22:06:07 -05:00
Robby Findler
f40277df89
Rackety
2012-08-22 22:06:07 -05:00
Asumu Takikawa
07119c371d
Fix stream bug introduced by generics
...
Stream generic operations stopped working for lists
since the operations used only the generic dispatcher
instead of the real generic functions.
(Moral of this story: write more tests)
2012-08-22 18:15:25 -04:00
Matthew Flatt
7a0281c571
props fixup
2012-08-22 15:58:00 -06:00
Sam Tobin-Hochstadt
b7f9c77069
Remove #:transparent
to work around place message limitations.
2012-08-22 16:50:50 -04:00
Sam Tobin-Hochstadt
e207f5c67d
Add -v
option to TR tests.
...
Also, print errors from serialization and place message sending.
2012-08-22 16:50:50 -04:00
Eric Dobson
e9f209977b
Fix typechecking of polymorphic structs with parent types.
...
Closes PR12998.
2012-08-22 16:50:49 -04:00
John Clements
a5ddd73000
removed vestigial mz-testing file
2012-08-22 10:14:13 -07:00
John Clements
46899084f1
use for rather than let loop
2012-08-22 10:14:13 -07:00
Matthew Flatt
ef525233a2
references: link "A parameter that..." to the definition of "parameter"
2012-08-22 10:28:56 -06:00
Ryan Culpepper
c4edc684eb
db: added notes about custodians and connection-pool, virtual-connection
2012-08-22 11:55:11 -04:00
Ryan Culpepper
c7a6272f4b
added unstable/error, raise-misc-error
2012-08-22 11:55:11 -04:00
Ryan Culpepper
9bd5a9189b
db: use log-based-eval for most examples
2012-08-22 11:55:05 -04:00
Ryan Culpepper
062a8ef5e7
added make-log-based-eval
2012-08-22 11:54:15 -04:00
Ryan Culpepper
f5b86c1ddd
added make-variable-like-transformer
2012-08-22 11:31:22 -04:00
Sam Tobin-Hochstadt
26a57f6420
Use module registry trick to slightly speed up TR tests.
2012-08-22 11:13:07 -04:00
Matthew Flatt
30da0f4bf4
fix internal position adjustment for `pane%'
...
Closes PR 13038
2012-08-22 09:07:05 -06:00
Robby Findler
f95f2fac54
plug a leak in online compilation that could hold onto
...
definition text% objects (and thus tabs and frames)
2012-08-21 19:37:27 -05:00
Matthew Flatt
5c7ddb1775
fix doc bug
2012-08-21 18:23:50 -06:00
Sam Tobin-Hochstadt
e705d4d450
Parallelize running Typed Racket optimizer tests.
...
No speedup yet, though.
2012-08-21 17:47:30 -04:00
Sam Tobin-Hochstadt
b601f52d4f
Add open-place
.
2012-08-21 17:13:16 -04:00
Asumu Takikawa
46ece20b09
Fix typo introduced by 965a74453f
...
(Moral of story: be careful with regexps)
2012-08-21 16:35:37 -04:00
Asumu Takikawa
9a65f9aaf0
Delete trailing whitespace
2012-08-21 16:20:26 -04:00
Asumu Takikawa
965a74453f
Add #:forall, #:∀ to contract-out
2012-08-21 16:20:26 -04:00
Asumu Takikawa
a5d1007696
racket/generic: allow impersonator contracts
...
This enables the use of polymorphic contracts with generic
interfaces and their instances.
2012-08-21 12:43:48 -04:00
Sam Tobin-Hochstadt
71e81f9fff
Add some examples for cast
.
2012-08-21 10:50:34 -04:00
Eric Dobson
1248b32e73
Adding documentation for cast and make-predicate.
...
Also converted tabs to spaces.
2012-08-21 10:50:34 -04:00
Matthew Flatt
3c744229e8
ffi/unsafe docs: improve `_cprocedure' docs
...
Among other improvements, add information about reachability of
callout arguments.
2012-08-21 08:42:33 -06:00
Robby Findler
33b89d6cb4
clarify control-based keybindings
...
closes PR 13043
2012-08-21 08:28:42 -05:00
Robby Findler
f1a4aeedba
control-alt for menu selections probably shouldn't be
...
used under windows, so just give a menu shortcut under
macosx and under windows rely on the underscore thingy
2012-08-21 08:16:39 -05:00
Robby Findler
e14013670a
disable standalone submod.rkt test. it is run by run-all.rkt and
...
running it in parallel with other planet tests is not safe
2012-08-20 20:30:52 -05:00
Robby Findler
e41aa93e6e
fix a bug in the event handling that would cause updates
...
to the blue box to get missed when it was open via the mouse
(as opposed to be tacked open)
2012-08-20 20:30:52 -05:00
Matthew Flatt
5e5e503859
scribble/manual: add #:normalize?' option to
deftech' et al.
2012-08-20 17:37:24 -06:00
Matthew Flatt
1ca5767684
fix docs for `deftech': mention case folding
2012-08-20 17:37:19 -06:00
Jon Rafkind
5bf68d32d5
[honu] remove context argument
2012-08-20 16:25:38 -06:00
Sam Tobin-Hochstadt
5fb4819703
Add type for processor-count
.
2012-08-20 14:49:11 -04:00
Sam Tobin-Hochstadt
1c275ffcc7
Don't use places for running single tests.
2012-08-20 14:45:50 -04:00
Eric Dobson
6e2e84664d
Move list-set and list-update to unstable/list.
2012-08-20 14:45:50 -04:00
Jon Rafkind
dc3d06c7ae
[honu] change -> to =
2012-08-20 12:28:15 -06:00
Jon Rafkind
40ead42f0f
[honu] add module for debugging honu programs. first feature passes the input through honu-read
2012-08-20 12:28:15 -06:00
Jon Rafkind
e4401fd450
[honu] need at least one iterator in a for loop
2012-08-20 12:28:15 -06:00
Jon Rafkind
62042beb50
[honu] wrap syntax with (semicolon ...) when a ; is present
2012-08-20 12:28:15 -06:00
Jon Rafkind
37dc999951
[honu] add primitive macro form
2012-08-20 12:28:15 -06:00
Jon Rafkind
60f1c85207
[honu] remove context argument from macro transformers
2012-08-20 12:28:14 -06:00
Sam Tobin-Hochstadt
4c0d605c43
Fix typo detected by optimizer.
2012-08-20 13:17:50 -04:00
Eric Dobson
b9408e545e
Wrap generated code in #%expression.
...
This allows tc-toplevel to hand it off to tc-expr, and not reimplement
the details of annotations.
2012-08-20 12:39:41 -04:00
Eric Dobson
8545f421ab
Add back ignore-some typechecking
2012-08-20 12:39:41 -04:00
Eric Dobson
533920480e
Add tests for make-predicate and cast, also add support for the top-level.
...
Closes PR 12939.
Closes PR 12201.
2012-08-20 12:39:41 -04:00
Eric Dobson
553c3a4f80
Added cast operator to typed racket
2012-08-20 12:39:40 -04:00
Eric Dobson
cc52e56fe6
Add way for code to attach typechecks to itself, and implemented make-predicate.
2012-08-20 12:39:40 -04:00
Eric Dobson
115345300d
Allow contract definitions created from expressions to be fixed up.
2012-08-20 12:39:40 -04:00
Eric Dobson
bb67e37c49
Make TR's ignore-some property work even if there isn't an internal form.
2012-08-20 12:39:40 -04:00
Sam Tobin-Hochstadt
9e5060ef5b
Make Typed Racket integration tests run in parallel.
...
Parallel speedup of approximately 4x when using 8 workers on a 12-core machine.
Closes PR 12911.
2012-08-20 12:25:50 -04:00
Eric Dobson
09d32d35e0
Add promise support to type->contract.
...
Closes PR13024.
2012-08-20 10:10:17 -04:00
Eric Dobson
a408d6bfbf
Cleanup builtin structs types.
2012-08-20 10:10:17 -04:00
Robby Findler
e38e959145
change the new 'find from selection' menu item so that it uses
...
cmd-alt-f on the mac (and control-alt-f on windows/unix, I believe)
2012-08-19 18:04:14 -05:00
Robby Findler
40121d2531
improve the menu redundancy test so it reports when there are
...
multiple menu items with the same shortcut
2012-08-19 17:09:16 -05:00
Robby Findler
1f090fa170
improve the distribution building portion of the docs to point
...
out that a 'raco planet link' helps with the docs building
2012-08-18 20:45:47 -05:00
Robby Findler
258f267508
remove 'planet' from plt/bin (raco planet does the same thing and
...
planet conflicted with another package in Debian)
2012-08-18 20:26:50 -05:00
Robby Findler
ec34fc6870
add a note about how to build documentation to the planet documentation building step
2012-08-18 09:04:06 -05:00
Asumu Takikawa
47cb06f842
Fix docs for reencode-input-port & reencode-output-port
...
Closes PR 10545
2012-08-18 00:34:54 -04:00
Asumu Takikawa
7d20e0cbe2
Fix docs for radio-box%
...
Closes PR 13005
2012-08-18 00:23:16 -04:00
Asumu Takikawa
6665053dad
Fix contracts on several I/O functions
...
Closes PR 12599
2012-08-18 00:22:21 -04:00
Asumu Takikawa
c20f1ec573
Fix guide section 14.6.2
...
Closes PR 13039
2012-08-17 23:26:59 -04:00
Robby Findler
b128ce4719
fix bug in commit 52f18ee37
2012-08-17 17:54:26 -05:00
Robby Findler
52f18ee370
adjust the expansion of class so that it tracks identifiers
...
that it drops from the expansion (like define/public) by
adding them to the origin syntax property (and sometimes
to disappeared-use; see the add-decl-props function
for details on those that aren't in the origin property)
this means that check syntax will now pick them up
so they'll show up in the blue boxes in drracket
Thanks Matthew, for some helpful advice and
comments on an initial version of the commit.
2012-08-17 17:24:03 -05:00
Asumu Takikawa
5a2c235739
Forge non-existent generic functions like write-proc
...
Closes PR 13014
2012-08-17 12:27:01 -04:00
Asumu Takikawa
087a13c712
racket/draw contracts: racket -> racket/base
2012-08-17 12:27:01 -04:00
Asumu Takikawa
798344d2c6
Additional guide fix by Lee Duhem
...
Relevant to PR 13034
2012-08-17 01:45:07 -04:00
Robby Findler
01e7edeff1
some performance improvements for the new drracket blueboxes
...
specifically, it doesn't trigger redrawing of the screen
as aggressively, which seems to make a little difference
under mac os x.
I'd have liked to be more sophisticated in the way redraws
are triggered, but I don't see how (see long comment in this
commit for details)
2012-08-16 19:16:57 -05:00
Robby Findler
25e4115f32
give the f2 keybinding a more useful name
...
(since it shows up in the keybindigns dialog box)
2012-08-16 19:16:57 -05:00
Robby Findler
afc2faf651
redirect compile-time io during online check syntax into the warning log
...
closes PR 13036
2012-08-16 19:16:57 -05:00
Robby Findler
a8da7e452f
increase the font size and increase the sampling
...
frequency in the profiler that drracket starts up
via the PLDRPROFILE environment variable
2012-08-16 19:16:57 -05:00
Robby Findler
49eb4ab11c
adjust the windows menu so that it doesn't rely on
...
various callbacks to keep its menu items straight, but
instead uses the on-demand callback to just get them
all right.
2012-08-16 19:16:57 -05:00
Matthew Flatt
3150b31eb7
bytecode optimizer improvement
...
Generalize splitting of `(let-values ([(x ...) (values e ...)]) ....)'
to `(let ([x e] ...) ....)' for any `e', since it's always equivalent.
Right?
(The old requirements on the `e's seem to be needed only for
`letrec-values' splitting and maybe mutable variables.)
2012-08-16 16:39:21 -06:00
Jay McCarthy
a1e855a035
adding an optional argument to get-pure-port/headers
2012-08-16 14:47:09 -06:00
Asumu Takikawa
65611c0ebb
Fix guide section 7.8.3
...
Closes PR 13035
2012-08-16 16:02:44 -04:00
Asumu Takikawa
99d63d1f08
Fix guide section 7.4
...
Closes PR 13034
2012-08-16 16:02:44 -04:00
Asumu Takikawa
02219bda91
Fix guide section 7.3.8
...
Closes PR 13033
2012-08-16 16:02:43 -04:00
Asumu Takikawa
b977ae339f
racket/snip/private/contract: racket -> racket/base
2012-08-16 16:02:43 -04:00
Matthew Flatt
902016265b
docs for `for/vector': warn about intreaction with continuations
2012-08-16 13:11:42 -06:00
Matthew Flatt
0452bd791d
bytecode optimizer improvement
...
Treat unsafe functional operations (which never raise an
exception) as omitable, which means that simple `let-values'
combinations can be split into `let' bindings, etc.
2012-08-16 13:11:41 -06:00
Matthew Flatt
65588b156b
fix `sqrt' on numbers with negative real and inexact-zero imag
...
Closes PR 13028
2012-08-16 04:46:01 -06:00
Robby Findler
5e839664c4
adjust the variables editor so that it does
...
not do word wrapping.
This avoids the performance problem mentioned
in PR 12633
2012-08-15 13:45:10 -05:00
Matthew Flatt
b95b1b9366
Revert "Fixing Rackunit tests after alignment"
...
This reverts commit 4497c8ce5e
,
because the tests were correctly reporting a bug that I
introduced.
2012-08-15 09:34:17 -06:00
Matthew Flatt
6e2bb58cce
add a #:fill' clause to
for/vector' et al.
2012-08-15 09:32:55 -06:00
Matthew Flatt
8a26d83651
adjust `for/vector' et al. to avoid intermediate lists
...
When a length is not specified, build the result by growing
a temporary vector to hold the results, instead of accumulating
them into a list.
2012-08-15 09:32:55 -06:00
Robby Findler
62fecb1b0b
fix mistakes in Guide 6.4
...
closes PR 13031
2012-08-15 09:24:32 -05:00
Robby Findler
85b326d1e7
guard path->relative-string/library call properly
2012-08-15 09:13:44 -05:00
Matthew Flatt
7b811bed1b
for/vector' and
for*/vector' repairs
...
Closes PR 13029, 13030
2012-08-15 07:41:50 -06:00
Matthew Flatt
02d2b4dd62
fix rackunit formatting
...
Repairs mistake in 36f519fe64
.
2012-08-15 07:41:49 -06:00
Mike Sperber
ae4613271c
Synch German string constants with latest.
2012-08-15 14:15:40 +02:00
Jay McCarthy
4497c8ce5e
Fixing Rackunit tests after alignment
2012-08-14 22:21:44 -06:00
Jay McCarthy
3ddaf5e32b
Fixing Racklog cut error found by Erik Dominikus
...
Basically, Racklog (and all versions of schelog) implement ! by
causing the failure continuation of the entire relation being
returned. They did not also cause the unification caused by the
relation to be un-done.
However, it is not easy to separate un-doing the local changes because
the unification just returns a failure continuation too. I had to call
that fail continuation but use state to communicate to its target that
the next clause should not be visited.
I don't know if this is correct. My test suite contains a lot of cut
tests that still pass. Erik's test passes too. But I'm not confident
that this really works.
2012-08-14 21:34:02 -06:00