Ryan Culpepper
d70e80e837
racket/format: change ~r to accept #:notation argument
...
Another possibility would be
#:exponential? (or/c boolean? (-> rational? boolean?))
but that violates the "everything's a boolean" convention.
2012-09-16 17:12:02 -04:00
Matthew Flatt
d1cd4621de
racket/draw: add make-dc' convenience method to
bitmap%'
2012-09-14 15:58:47 -06:00
Matthew Flatt
7fd4f59e5a
racket/draw: doc overview fix and tweaks
2012-09-14 15:37:11 -06:00
Matthew Flatt
fc52248446
add #:break' and
#:final' to `for' forms
...
Support for break clauses complicates expansion to `for/fold/derived';
a new `syntax/for-body' library provides a helper for macros that need
to split a `for'-style body into a prefix part and wrappable part.
2012-09-14 14:57:35 -06:00
Matthew Flatt
c28d3190b2
doc fix for `in-producer'
2012-09-14 13:03:06 -06:00
Matthew Flatt
adb5c01ac4
racket/generator: add optional #:arity' clause to
in-generator'
...
Allows the use of `in-generator' to produce multiple values in a
position other than immediately within `for' (where the arity
can be inferred).
Closes PR 11662
2012-09-14 13:02:55 -06:00
Matthew Flatt
ff35e7c95b
racket/gui: fix docs on reparenting (which is now possible)
...
Closes PR 13108
2012-09-13 14:17:14 -06:00
Matthew Flatt
ade2d7a4a4
minor doc fixes
2012-09-13 14:17:14 -06:00
Matthew Flatt
11045a0384
improve editor-canvas resizing
...
A recent bug fix involved moving part of an `editor-canvas%' resize
out of atomic mode by queueing a callback (because the resize involves
quesrying the editor for its size, etc.), but then the callback
happens after a canvas is shown, which can cause it to appear with
bogus initial scrollbars. Queue the callback instead as a "refresh"
level callback, which gets a chance to run before a frame is made
visible.
2012-09-13 14:17:14 -06:00
Asumu Takikawa
e71caa5d06
Fix doc contracts for continuation aborts
2012-09-13 14:48:46 -04:00
Matthew Flatt
4cc475ad68
Scribble: fix problem with URL redirection
2012-09-13 11:05:52 -06:00
Matthew Flatt
6b7acd187b
reference: fix docs for Windows path cleansing
2012-09-13 11:05:52 -06:00
Matthias Felleisen
f4576c4941
fixed pad equality; Closes PR 13106
2012-09-13 07:33:41 +02:00
Robby Findler
c069fa67a9
adjust the find-in-files initial config dialog to
...
get the "global" framework keybindings
closes PR 13110
2012-09-13 00:31:17 -05:00
Matthew Flatt
ac5965a1dc
racket/set: add set-first' and
set-rest'
2012-09-12 17:57:03 -06:00
Robby Findler
b8acee5655
small cleanup
2012-09-12 15:41:37 -05:00
Matthew Flatt
e7b1af845b
compiler/cm: repair related to compiled-file-roots
2012-09-12 12:03:08 -06:00
Matthew Flatt
906ddb7fbf
Windows: avoid Unix-specific test
2012-09-12 11:19:51 -06:00
Matthew Flatt
3fb42cf3f1
scribble/html-properties: allow URLs in css-addition' and
js-addition'
2012-09-11 18:52:59 -06:00
Matthew Flatt
9162fc2504
racket/html-properties: add `js-addition'
2012-09-11 17:39:12 -06:00
Matthew Flatt
dc925d2d8c
scribble HTML: add head-extra' and support for
attributes'
...
For a part that corresponds to an HTML page.
2012-09-11 17:18:14 -06:00
Matthew Flatt
7a8ebdab7b
add `xml/xexpr'
...
Exports `xexpr?' and `xexpr/c' without dependencies on the rest of
the `xml' library.
2012-09-11 17:17:38 -06:00
Matthew Flatt
f1671f2044
fix default logging levels for stderr and syslog
2012-09-11 13:18:18 -06:00
Matthew Flatt
4f351dd6b1
add `current-compiled-file-roots', PLTCOMPILEDROOTS, and -R/--compiled
...
The new parameter (and supporting environment variables and
command-line flags) can bytecode lookup to a tree other than
where a source file resides, so that sources and generated
compiled files can be kept separate. It also supports storing
bytecode files in a version-specific location (either with
the source or elsewhere).
2012-09-11 13:18:18 -06:00
Asumu Takikawa
3daec14cbb
racket/generic: better error message in empty case
...
Closes PR 13048
2012-09-11 14:43:19 -04:00
Vincent St-Amour
1975014c55
Remove TR optimizer log key, made redundant by named loggers.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
ab328ea80b
Fix TR tests for new logging system.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
805a6477a7
Use named loggers to tell TR and inliner logs apart.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
251159e64a
Allow launching OC when it's already running.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
39100bd3e3
Fix OC for new logging system.
2012-09-11 13:48:14 -04:00
Vincent St-Amour
5a24b57a95
Fix unstable/logging to work with the new logging system.
2012-09-11 13:48:14 -04:00
Robby Findler
0fd52435a4
add a note about "" in with-compound-rewriter
2012-09-09 23:45:54 -05:00
Vincent St-Amour
adceb4322a
Integers include inexact single-float integers.
...
Closes PR13103.
2012-09-09 15:46:29 -04:00
Vincent St-Amour
729d154deb
Fix types of comparisons between zero and non-negative integer types.
2012-09-08 18:51:38 -04:00
Robby Findler
9b15450b08
export and document enabled-shown-button?
...
label-of-enabled/shown-button-in-top-level-window?
and button-in-top-level-focusd-window?
2012-09-08 15:58:25 -05:00
Eli Barzilay
d88eef6bfb
Some "@racket" fixes.
...
Two reported by Lee Duhem, and two more in other files.
Fixes PR 13092.
2012-09-08 15:17:04 -04:00
Eli Barzilay
ff5c9f73ce
Some formatting fixes.
2012-09-08 15:15:47 -04:00
John Clements
9a884c84fa
nused -> used
2012-09-07 16:37:28 -07:00
Matthew Flatt
a774cc93b9
move future-visualizer docs out of the Reference
2012-09-07 09:11:16 -06:00
Matthew Flatt
d92b9cb404
add `define-logger' and filtering based on logger name
...
The `make-log-receiver' function now includes a logger-name
filter. This filter is implemented as a low enough level that
it affects `log-level?' tests to check whether a log message
needs to be constructed at all.
The -W and -L flags and PLTSTDERR and PLTSYSLOG environment variables
support filters of the form "<level> <level>@<name> ...", where
<level>@<name> specializes filtering of events for a logger whose
name matches <name> to show <level> and higher.
2012-09-07 08:16:38 -06:00
Matthew Flatt
8728a3a1e9
fix bug in relative `submod' path handling
2012-09-07 08:16:37 -06:00
Matthew Flatt
fc0d605d18
change `log-error', etc., to support format mode
...
One subexpression => string literal. Multiple subexpressions
=> arguments to `format'.
2012-09-07 08:16:37 -06:00
Matthew Flatt
b53e458e3f
add `racket/format'
...
The new library is Ryan's `unstable/cat', but the names have been
changed. (The task of removing `unstable/cat' remains.)
2012-09-07 08:16:37 -06:00
Gregory Cooper
5e5c564532
fix the other frtime compilation error by commenting out the body of collects/frtime/frtime-opt-lang.rkt
...
add a TODO to fix the underlying problem and uncomment the module body
2012-09-05 17:07:37 -07:00
Gregory Cooper
1ef42832b3
fix one frtime compilation error by updating require and provide forms in collects/frtime/reactive.rkt
2012-09-05 17:07:37 -07:00
Matthew Flatt
2f7d4b5eaf
change a thread's initial prompt to use the default handler
...
The thread's initial prompt previously ignored its arguments.
2012-09-05 12:21:43 -06:00
Matthew Flatt
3a7724e422
fix documentation of the prompt installed by `module'
2012-09-05 12:21:43 -06:00
Patrick Mahoney
3d8fc4ad01
Apply Gregory Cooper's suggestions
...
https://github.com/plt/racket/pull/138/files#r1447006
2012-09-04 21:57:16 -07:00
Patrick Mahoney
65c54a9dd9
Apply Gregory Cooper's changes
...
-remove the dead in-string procedure.
-cleanup empty lines.
https://github.com/plt/racket/pull/138/files#r1447006
2012-09-04 21:57:15 -07:00
Patrick Mahoney
a95a90a9da
Implement changes suggested by Gregory Cooper
...
-reorder requires and cleanup
-remove unneccessary newline.
2012-09-04 21:57:15 -07:00
Patrick Mahoney
857b05798b
Implement Gregory Cooper's suggested changes
...
-apply Dr.Racket indentation formatting
-fixup provides
-don't know if it is possible to remove mzlib/private/stxset
https://github.com/plt/racket/pull/138
2012-09-04 21:57:15 -07:00
Patrick Mahoney
6611b5f519
Implement Gregory Cooper's changes
...
-remove unnecessary import
-fix formatting of the frtime:provide block
-remove unnecessary newlines.
-apply Dr.Racket formatting.
https://github.com/plt/racket/pull/138
2012-09-04 21:57:15 -07:00
Patrick Mahoney
10076ad289
End file at a newline char.
...
Per suggestions at https://github.com/plt/racket/pull/138
2012-09-04 21:57:15 -07:00
Patrick Mahoney
06dd61afae
Responding to Gregory Cooper's github comments.
...
Changes:
-reorder and cleanup requires as suggested by Gregory
-apply Dr.Racket indentation.
Discussion at:
https://github.com/plt/racket/pull/138
2012-09-04 21:57:15 -07:00
Patrick Mahoney
5a8618a74e
Remove mzlib/match dependency
2012-09-04 21:57:15 -07:00
Patrick Mahoney
e64c20d79f
require racket async-channel instead of scheme
2012-09-04 21:57:14 -07:00
Patrick Mahoney
3ad0c594a9
Remove mzlib/etc import
2012-09-04 21:57:14 -07:00
Patrick Mahoney
7be82a8eca
Update the scribbling-frtime extends Racket now
2012-09-04 21:57:14 -07:00
Patrick Mahoney
ba4295bf34
Use racket for the Dr Racket tool info
2012-09-04 21:57:14 -07:00
Patrick Mahoney
e5b6172427
Move tetris.rkt to racket frtime
2012-09-04 21:57:14 -07:00
Patrick Mahoney
af83d7b6bd
Revert to frtime/struct
...
Moving to syntax/struct was resulting in tile-game.rkt breaking.
Apparently it is the only demo using structs, or one of a few.
2012-09-04 21:57:14 -07:00
Patrick Mahoney
5c935ba0b6
Remove mzlib/etc require
2012-09-04 21:57:14 -07:00
Patrick Mahoney
67d75b4c09
Use racket/class in lieu of mzlib/class
2012-09-04 21:57:14 -07:00
Patrick Mahoney
9b22a64175
Remove unnecessary frtime/frlibs/etc import.
2012-09-04 21:57:13 -07:00
Patrick Mahoney
5fd7e2fc1a
Remove opt-lambda uses, unused imports
2012-09-04 21:57:13 -07:00
Patrick Mahoney
a02d53130e
Remove mzlib opt-lambda uses
...
Racket's lambda provides optional args. Use this in favour of the
mzlib/etc opt-lambda.
2012-09-04 21:57:13 -07:00
Patrick Mahoney
4ecc0525e7
Use lifted Racket math definitions
...
Continue to provide the same definitions, but lift the Racket ones
rather than rewrite and redefine them.
2012-09-04 21:57:13 -07:00
Patrick Mahoney
65ace21d22
Change all instances of make-hash to make-hasheq
...
Merge Gregory Cooper's suggested change. With this, the demos are all
working!
2012-09-04 21:57:13 -07:00
Patrick Mahoney
c13cbf448f
Add the helper to begin developing frtime
2012-09-04 21:57:13 -07:00
Patrick Mahoney
0ef9104a52
Big Commit that introduces the freeze in demos relying on animation
2012-09-04 21:57:13 -07:00
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
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
Robby Findler
4571afa6ab
speed up the test-engine drracket tests some
2012-08-31 20:52:48 -05:00
Robby Findler
6ca79d56fa
fix check-error so it compares the rewritten error messages,
...
not the raw error messages
2012-08-31 20:52:48 -05:00
Vincent St-Amour
a85438bc69
Add comment about the current state of the latex character table.
2012-08-31 19:31:20 -04:00
Matthew Flatt
7b2e18afc5
scribble: for Latex output, use `\Ssection', etc. for section
...
A style override might change `\section' to `\chapter', etc.
2012-08-31 16:07:10 -06:00
Matthew Flatt
9cfcf8911c
fix `in-directory' to properly propagate filesystem errors
2012-08-31 16:07:10 -06:00
Sam Tobin-Hochstadt
eed93825ab
Track mutable variables across modules.
2012-08-31 17:45:11 -04:00
Asumu Takikawa
cd23fd48cf
Comment and clarify top-level evaluation & barriers
2012-08-31 16:27:35 -04:00
Sam Tobin-Hochstadt
ab5403d1ed
Simplifying case-> to union is only safe for 1-argument functions.
...
Closes PR 13002.
2012-08-31 10:27:51 -04:00
Matthew Flatt
d841ec1bd0
propagate prefix repair to to scribble/jfp' and
scribble/lncs'
2012-08-31 07:33:08 -06:00
fbanados
0b19326ac6
include scribble/scribble-prefix.tex packages to scribble/sigplan
2012-08-31 07:33:08 -06:00
Matthew Flatt
d11e58b639
ffi/unsafe/atomic: add `in-atomic-mode?'
...
The new function can be useful for debugging, at least.
2012-08-31 07:33:08 -06:00
Ryan Culpepper
70a2ced71a
syntax/id-table: simplify use of chaperones
2012-08-29 20:44:04 -04:00
Ryan Culpepper
3ccc93590a
syntax/id-table: more work on *-id-table/c
2012-08-29 20:43:24 -04:00
Eric Dobson
e7c7e14485
Added tests to idtbl/c and fixed revealed bugs.
2012-08-29 20:25:32 -04:00
Eric Dobson
d4efe8f5aa
Clean up creation of identifiers in id-table.rkt
2012-08-29 20:25:32 -04:00
Eric Dobson
4725775126
Implemented contract for immutable id-tables.
2012-08-29 20:25:32 -04:00
Eric Dobson
8f8bc76e39
Add idtbl-chaperone and implement contracts on top of that.
2012-08-29 20:25:32 -04:00
Eric Dobson
54b82871ab
Add support for contracts on identifier tables.
2012-08-29 20:25:31 -04:00
Matthew Flatt
7291e1a24d
racket/gui win32: atomicity repair
2012-08-29 17:45:59 -06:00
Robby Findler
977fd37913
adjust contract for test:button-push so it isn't so ugly
2012-08-29 14:52:56 -05:00
Matthias Felleisen
93ca0bf9f7
eliminated stateful variables from 16 year old code, and now I know it is correct
...
Closes PR 13074
set! sucks
2012-08-29 11:35:34 -04:00
Matthew Flatt
b4fea2ff36
fix `delay/thread' error when promise-running thread terminates
2012-08-29 09:32:54 -06:00
Matthew Flatt
6039e35afd
fix race in `delay/sync'
2012-08-29 07:20:24 -06:00
Ryan Culpepper
8ad09dee8e
fix bug typo
...
closes PR 13055
2012-08-28 23:37:00 -04:00
Ryan Culpepper
ae843f9a62
readline: prefer 5 (fast) over 6 (slow)
...
Running racket in a terminal with readline 6 has excruciating delays
in response and bizarrely slow pasting. The culprit is probably a bug
in readline v6.2 that causes the rl_event_hook to be called repeatedly
even when input is ready. See also the discussion here:
http://lists.gnu.org/archive/html/bug-readline/2012-06/msg00005.html
It's not clear whether racket can work around the issue in readline 6,
but it can at least use readline 5 instead when it is available.
2012-08-28 23:36:50 -04:00
Ryan Culpepper
ecb88ffd45
Revert "db: use channel instead of semaphore + result variable"
...
Using a sync. channel breaks kill-safety.
This reverts commit 8363db9258
.
2012-08-28 22:04:05 -04:00
Matthew Flatt
d953bc27ba
fix `ffi/unsafe/nsalloc'
...
Using `call-as-atomic' isn't right, because that allows an escape
via `call-as-nonatomic'. Assuming that `call-as-nonatomic' isn't
used, it seems like `call-as-atomic' should be ok, anyway, but
somehow its leads to unbalanced `end-atomic' calls.
2012-08-28 18:45:55 -06:00
Matthew Flatt
003613395d
fix `font%' amnipulation to work in atomic mode
2012-08-28 17:27:14 -06:00
Matthew Flatt
dba3c14746
fix editor-canvas%' internal
on-size' handling
...
The `on-size' method is called in atomic mode,
and we can't call into the editor's sizing functions
in atomic mode.
Watch out for refresh and/or window-sizing problems.
2012-08-28 17:21:45 -06:00
Matthew Flatt
b61f3f751c
port position-tracking clean-ups
...
Add `file-position*', which can return #f instead of raising
an exception when a port's position is unknown. Change
`make-input-port' and `make-output-port' to accept more
kinds of values as the initial position.
These changes make it possible to synchronize a port's
position with a `port-commit-peeked' action. It's ugly,
which I think reflect something broken about position
tracking in the port protocol (which seems difficult to fix
without breaking compaibility).
2012-08-28 16:04:41 -06:00
Asumu Takikawa
466b4e2c60
racket/generic: eliminate ctc dependency in private interface
...
Closes PR 13051
2012-08-28 17:54:35 -04:00
Robby Findler
496bfd3b57
add anote about C-F6 and a pointer to how to search in
...
the keybindings window for more such bindings
2012-08-28 16:30:33 -05:00
Robby Findler
fc03ab6c69
add a mention of the flat/chaperone/impersonator contract hierarchy to the contract docs
2012-08-28 13:19:05 -05:00
Matthew Flatt
763882f651
add port shortcut for `make-{input,output}-port'
...
Providing a port instead of a reading or writing procedure
redirects the read/write to the specified port. This shortcut
is kind of a hack, but the run-time system can easily streamline
the redirection when it's exposed this way.
Using the new redirection feature reduces overhead in
`with-output-to-bytes' and `pretty-print'.
2012-08-28 08:54:26 -06:00
John Clements
2c93ccdf18
failed to include test file for example
2012-08-27 23:47:44 -07:00
John Clements
f107c4d265
finish adding stepper external interface
2012-08-27 22:23:27 -07:00
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