Eric Dobson
9ed360bb5e
Removed convenience.rkt from typed racket.
2012-08-07 15:50:50 -04:00
Eric Dobson
56fd9e6321
Rearange type code, so that abbrev.rkt can depend on union.rkt.
...
Split out base-abbrev.rkt so that subtype is not dependent on abbrev.rkt.
Remove unused code in numeric-tower.rkt so that it is now a dependent of
abbrev.rkt, which allows the body of convenience.rkt to be merged back in.
Remove special casing for union.rkt and extraneous subtyping checks.
Remove union-maker.
2012-08-07 15:50:50 -04:00
Eric Dobson
6dbc054e41
Replaced references to abbrev.rkt with convenience.rkt.
...
Skipped this for subtype.rkt, because of a require loop caused by
lazy-require.
2012-08-07 15:50:50 -04:00
Robby Findler
708228d959
fix double separator problem on windows
2012-08-07 14:20:54 -05:00
Robby Findler
e65cbdecf0
Rackety
2012-08-07 13:03:45 -05:00
Robby Findler
4a19ab40e8
add check for adjacent separators into tests
2012-08-07 12:51:52 -05:00
Robby Findler
2256ca39ea
raise minimum memory limit in DrRacket to 8 megabytes
2012-08-07 12:12:56 -05:00
Robby Findler
94a448413e
add some highlighting to the line numbers to show where
...
the insertion point currently is
closes PR 12976
2012-08-07 12:12:45 -05:00
Matthew Flatt
d194fa6245
fix `regexp-match' variants given a long string and an output port
2012-08-07 05:21:33 -06:00
Eli Barzilay
08b271d34c
v5.3 stuff
2012-08-07 00:10:01 -04:00
Robby Findler
b5f9751369
add some highlighting to the line numbers to show where
...
the insertion point currently is
closes PR 12976
2012-08-06 22:24:59 -05:00
Robby Findler
b16843a908
add a find-from-selection menu item that grabs the selection and puts
...
it directly into the find window
related to PR 12978
2012-08-06 18:00:57 -05:00
Matthew Flatt
0bd53a3549
compiler/zo-marshal: repair mashaling of import info in syntax
2012-08-06 15:32:27 -06:00
Matthew Flatt
02318ebcb3
fix test to work with relative executable path
2012-08-06 14:27:29 -06:00
Matthew Flatt
13d7a37eb6
re-align expt' and
flexpt' to match C99 pow() spec
...
Also, improve precision of some complex results to avoid
excessive `+nan.0's.
Closes PR 12935
2012-08-06 13:00:36 -06:00
Vincent St-Amour
7494fccc4c
Control number of attempts for TR random testing from the command line.
2012-08-06 12:48:41 -04:00
Eric Dobson
b95dba9f19
Fix documentation on integer-sqrt/remainder. Closes PR 12971
2012-08-06 12:31:07 -04:00
Eric Dobson
e6d4fb2ee2
Fill hole in recursive type soundness. Fixes PR 11372.
2012-08-06 12:31:07 -04:00
Eric Dobson
9f453676d1
Add support for creating contracts of heterogenous vectors
2012-08-06 12:31:07 -04:00
Eric Dobson
f090698542
Fix type of integer-sqrt and add type for integer-sqrt/remainder.
2012-08-06 12:31:07 -04:00
Robby Findler
8a0b6549a5
adjust the contract error messages to follow the error message
...
conventions in 9.2.1 of the reference (altho the messages do
not yet do the extra level of indenting when a field is too
long, nor are there any field names ending in ...)
Also, fix the docs for the #:stronger argument to
make-contract, make-chaperone-contract, and make-flat-contract
2012-08-05 20:09:09 -05:00
Robby Findler
34618708a6
give up on a (small) part of the repl test.
...
Specifically, it seems like about 20% of the time (in drdr),
running the program
(let l()(l))
in DrRacket and then clicking the break button results in a state
where DrRacket's focus is not in the definitions window. I can't seem
to make this happen on my own machine and I'm not sure if this a
race-condition in the test suite or a real bug in DrRacket but it
seems minor enough (given all of the other focus-based testing that is
happening in this (and related) test suites) that I'm just going to
give up on this particular test.
2012-08-05 08:14:58 -05:00
Neil Toronto
a70aca3176
Fixed off-by-epsilon error; addresses issue with plateaus in contour-intervals and contour-intervals3d reported by Doug Williams
...
Please merge into release
2012-08-04 11:25:33 -06:00
Matthew Flatt
7c9e6d7193
improve port progress-evt guarantees; fix for `read-bytes-evt' et al.
...
A progress evt from a close input port must be initially ready,
and the primitive `peek-bytes-avail!' checks a progress evt
before checking whether the port is closed.
These changes resolve a race in `read-bytes-evt' and related evt
constructors.
2012-08-04 10:19:55 -06:00
Matthew Flatt
f28e8a02d0
fix 'disappeared-use prperty added by `syntax'
...
Effectively preserve `syntax-original?' of added identifiers.
2012-08-04 10:19:55 -06:00
Matthew Flatt
f64408fe60
racket/draw: doc clarifications related to `color%'
...
Commit 18883681a2
reordered the methods. Although the convention in
the `racket/draw' manual is to order methods alphabetically,
alphabetical does look strange for `color%', and I've refined the
non-alphabetical order to one I like even more.
2012-08-04 10:19:55 -06:00
Vincent St-Amour
aba046a92d
Swap unsafe and chaperone-unsafe vector ops in the TR optimizer.
...
Closes PR12969.
2012-08-04 10:32:21 -04:00
Robby Findler
3573d61636
fix test for when the "hide big labels" popup menu appears
2012-08-04 08:56:25 -05:00
Ryan Culpepper
1a77f4ee0e
added recontract-out
2012-08-03 20:52:35 -04:00
Ryan Culpepper
0ea03360c3
template: improve syntax property support
2012-08-03 18:14:16 -04:00
Matthew Flatt
03605b697d
adjust timeout for parallel-plot test
2012-08-03 13:57:00 -06:00
Matthew Flatt
f11450d601
scribble/base: generalize `itemlist' to splice/coerce some arguments
...
Also, add a `spliceof' contract constructor to `scribble/decode'.
2012-08-03 13:43:23 -06:00
Matthew Flatt
1d8791c7c4
ffi/unsafe: show errors from a finalizer
...
Previously, an error from a finalizer would disappear and kill
of the finalizer thread. Now the error is logged and the thread
continues.
2012-08-03 13:43:23 -06:00
Vincent St-Amour
ebd2e35600
Remove accidentally added file.
2012-08-03 14:41:21 -04:00
Vincent St-Amour
79c265ef89
Fix NaN handling of flexpt to be consistent with expt.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
1215fb6cec
Remove invalid singleton return types.
...
NaN doesn't inhabit these types, but can be produced there.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
a6d5a98b61
Include NaN in all floating-point types.
...
Makes more closure properties hold, but weakens occurrence typing for
some comparisons involving flonums.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
b1fbbafd91
Fix type of rational?.
2012-08-03 14:21:44 -04:00
Kevin Tew
38e90b52c4
Fixes parallel raco make of relative paths including subdirectories
...
closes PR 12953
2012-08-03 09:15:22 -06:00
Matthew Flatt
66eaa191e5
ffi/com: fix interaction with `racket/gui'
...
... and other things that use the Windows message
queue by not providing GCable arguments to
IDispatch::Invoke().
Merge to v5.3
2012-08-02 19:20:36 -06:00
Matthew Flatt
38ce4997a9
ffi/com: fix potential interaction of finalization and custodians
...
Includes new `#:manage?' optional argument to `make-com-object'
and better management of internally created objects.
Merge to v5.3
2012-08-02 16:29:03 -06:00
Matthew Flatt
572252daec
ffi/com: thread safety
...
Protect internal data structures via atomic mode.
Merge to v5.3
2012-08-02 16:29:02 -06:00
Matthew Flatt
1f3f180805
ffi/unsafe/atomic: doc repair
2012-08-02 16:29:02 -06:00
Matthew Flatt
286efface0
ffi/com: adjust order in object release
...
Release type descriptors before type infos, and release type
infos before objects. (This reordering shouldn't matter if
referencing counting does its usual job, but maybe it's better
to use the obvious order.)
Merge to v5.3
2012-08-02 08:01:00 -06:00
Robby Findler
9b39fc37f8
adjust the filename filter for the insert-images menu item
...
closes PR 12963
2012-08-02 07:17:09 -05:00
Robby Findler
44161d73c8
adjust DMdA languages so they do the same error rewriting that the HtDP
...
languages are doing. This seems to make the error messages in DMdA
behave like they did in 5.2.1 (and so I'm pushing this to see how DrDr
reacts)
2012-08-01 18:20:06 -05:00
Matthew Flatt
dda1ee74de
document racket/mpair' and
racket/package'
2012-08-01 09:34:12 -06:00
Matthew Flatt
7df91a6148
racket/gui: clarify graphical min size in docs for `text-field%'
...
Closes PR 12959
2012-08-01 09:34:12 -06:00
Matthew Flatt
38167dd4fa
ffi/com: remove stray quote
...
Merge to v5.3
2012-08-01 09:34:11 -06:00
Burke Fetscher
db437e0ba8
clarify define-extended-language example
2012-08-01 10:09:45 -05:00
Robby Findler
2032aaf341
add a test case for check-expect expressions where the first position has an error
...
test case for commit 87a8f70148
related to PR 12943
2012-07-31 22:25:34 -05:00
Ryan Culpepper
9e566a90ac
find syntax properties to transfer at compile time
2012-07-31 19:15:21 -04:00
Ryan Culpepper
6eb8da1f40
removed (unused) reference to not-break-exn?
2012-07-31 19:15:21 -04:00
Vincent St-Amour
800a328fe6
Fix documentation for packages and mutable lists.
...
As suggested by Matthew.
2012-07-31 17:12:30 -04:00
Vincent St-Amour
cc8a9b5ed7
Fix type for dynamic-place.
2012-07-31 17:12:30 -04:00
Kevin Tew
04839b39f8
[Distributed Places] fix failing drdr tests
2012-07-31 13:56:38 -06:00
Kevin Tew
6b48d34867
[Distributed Places] added #:thunk and #:named keyword arguments to distributed place creation functions
2012-07-31 11:51:55 -06:00
Matthew Flatt
aa5b1e192c
scribble/sigplan: add guidance for `category', etc.
...
Include the URL to ACM's explanation of how to use categories,
and add some other formatting guidance that is otherwise
difficult to track down.
2012-07-31 07:50:46 -06:00
Matthew Flatt
4a6bfacc27
scriblib/figure: support references to multiple figures at once
2012-07-31 07:50:46 -06:00
Robby Findler
1a619bd047
add tooltips at the start and end of arrows indicating how many references
...
there are and how many definition sites there are (in check syntax)
also: Rackety
2012-07-30 21:46:22 -05:00
Robby Findler
ec41d86fef
clean up the way original objects are being handled in check syntax
...
Specifically, move the syntax-original? checks to the point
where objects are inserted into the tables (it seemed to mostly
be happening there already, but now remove the checks on the
references)
2012-07-30 21:46:22 -05:00
Robby Findler
b520696d6f
typos
2012-07-30 21:46:22 -05:00
Matthew Flatt
b0f81b5365
racket/draw: use Cairo in a single-threaded way
...
This is a follow-up to commit ec6f3fd610
. We're still
seeing crashes while rendering the "plot" documentation, and this
change seems to make things work on my machine.
2012-07-30 08:07:49 -06:00
Robby Findler
87a8f70148
adjust check-expect so it rewrites the error messages
...
like they are rewritten in the repl
closes PR 12943
2012-07-30 04:19:06 -05:00
Robby Findler
02dd0909cb
adjust DrRacket's errortrace stack printer window so that it
...
removes adjacent entries that have the same stack location
and instead just says "skipped N duplicate frames" in the
window
closes PR 12682
2012-07-30 02:36:17 -05:00
Eli Barzilay
14f25418f3
Fix a retroactive typo.
2012-07-29 18:16:56 -04:00
Matthew Flatt
9b1db14328
ffi/com: fix clean-up of type descriptors
...
Merge to v5.3
2012-07-29 09:46:30 -06:00
Robby Findler
9815822255
adjust the big definitions / interactions labels so they
...
are sensitive to the #lang line and then enable them
for the teaching languages
2012-07-29 09:43:38 -05:00
Robby Findler
6e2fb2ac5e
make the code that does the mixin checks work with define-local-member-name
...
closes PR 11279
closes PR 12397
2012-07-29 09:43:37 -05:00
Vincent St-Amour
dd02f5eeda
Fix parametric require/typed in typed/racket/base.
...
Closes PR12951.
Please merge to release.
2012-07-29 09:02:58 -04:00
Eli Barzilay
a0e6892d3e
Add "download-libs.rkt" to the core sources.
2012-07-29 08:27:28 -04:00
Ryan Culpepper
e10951024f
syntax/parse: fix bug in specialized code for ellipsis patterns
...
The result of 'stx->list' is not always either a list or #f.
Merge to 5.3.
2012-07-28 17:37:06 -04:00
Ryan Culpepper
d19137c998
fix name of function in docs
...
Closes PR 12950
2012-07-28 16:41:08 -04:00
Matthew Flatt
d8d043d678
racket/draw: fix potential png bug
2012-07-28 11:23:22 -06:00
Eli Barzilay
1afc26c79b
Fix test due to code refactoring, sort export lists in module descriptions.
2012-07-28 12:12:35 -04:00
Eli Barzilay
1eaecb8e39
An a warning newline, minor additional tweaks.
2012-07-28 12:11:43 -04:00
Eli Barzilay
963ecf0d6f
Add responsible for "compatibility".
...
(Separate push to see that drdr barks with the previous prop fix.)
2012-07-28 07:36:22 -04:00
Eli Barzilay
b7c11dfaff
Add "compatibility" to dist-specs.
2012-07-28 07:31:11 -04:00
Eli Barzilay
8cdf6be928
Fix how props checks itself.
2012-07-28 07:30:21 -04:00
Mike Sperber
095cf488a3
Synch German string constants with latest.
2012-07-28 11:22:20 +02:00
Eli Barzilay
c2bea19d1b
Adjust for new error mesage style.
...
(This is in part a temporary solution since the ",bt" command is now used
to show a backtrace as well as any "foo...:" hidden fields.)
2012-07-28 05:05:06 -04:00
Eli Barzilay
5b501da131
Minor fix for the installer tests.
...
The last "xrepl" might be at the BOL, with no preceding space.
2012-07-28 05:05:05 -04:00
Robby Findler
63dc751450
add some simpler exercises to start
...
and link to existing introductory Racket
tutorials
2012-07-28 00:28:30 -05:00
Vincent St-Amour
140c8c7883
Translate new string constants to french.
2012-07-27 16:59:54 -04:00
Vincent St-Amour
4f06971470
Typo.
2012-07-27 16:55:32 -04:00
Vincent St-Amour
68260a6c86
Add deprecation notice to the scheme language.
2012-07-27 16:49:05 -04:00
Vincent St-Amour
52439d528b
Move mutable list functions to the compatibility collect.
...
Mutable pair functions from racket/base are not moved.
2012-07-27 16:49:05 -04:00
Vincent St-Amour
ab2226a19e
Add a `compatibility' collect for compatibility with other languages.
...
It includes `defmacro' and Chez-style modules (packages).
2012-07-27 16:49:05 -04:00
Eli Barzilay
c408dfb03b
Put the main work in a `main' sub-module.
...
This should avoid re-checking the zo file at the end, leading to an
error when it's not there if it moved.
2012-07-27 10:35:00 -04:00
Eli Barzilay
7e4e373919
Update self-test checksup for revized "racket -h" text.
2012-07-27 10:31:46 -04:00
Eli Barzilay
29d6d377fc
Modernize (& racketize) ffi/examples.
2012-07-27 10:31:26 -04:00
Robby Findler
9356e8e949
try out Asumu's suggestion, namely if there is a keyboard event,
...
then hide the definitions/interactions labels for a while (2
seconds currently). also, when the 2 seconds expires, fade back
in instead of just appearing immediately
2012-07-26 18:58:42 -05:00
Robby Findler
af3d52f9b5
fix bug in the computation to determine if the big interactions/definitions
...
label and the region to be refreshed have some overlap
2012-07-26 18:40:12 -05:00
Robby Findler
203fbf7950
fix coordinate computation for the new, big definitions/interactions labels
...
closes PR 12944
2012-07-26 18:37:34 -05:00
Matthew Flatt
9d6f0e96ba
fix for bytecode validator
...
Fix tchecking for a rest argument to a function that
is lifted by closure conversion so that one of its
arguments is a mutable local variable's location.
Also reject bytecode that would pass too many arguments
to a lifted function, since that would trigger an arity
error that might try to use a location as a value.
Merge to v5.3
2012-07-26 16:32:59 -06:00
Matthew Flatt
b208a104ec
COM test updates
2012-07-26 16:32:59 -06:00
Asumu Takikawa
2dcf060774
Move engines from mzlib/thread to racket/engine
...
(they were previously called "coroutines" but
the term "engine" is less ambiguous)
2012-07-26 14:47:29 -04:00
Matthew Flatt
100212cd53
another repair to `subprocess' test
...
Merge to v5.3
2012-07-26 10:53:56 -06:00
Matthew Flatt
87d24ece78
more on `port-commit-peeked' and EOFs
...
Continues/fixes commit 4c3dd00d49
.
2012-07-26 10:39:24 -06:00
Matthew Flatt
1efc894ada
toward fixed interaction between positions and peek-commits
...
When a `port-commit-peeked' succeeds, position information should
(appear to) be updated. This patch synchronizes commits and
position information for primitive ports, but synchronizing
them for user ports remains a problem.
2012-07-26 10:39:17 -06:00
Matthew Flatt
8c10dc1579
fix a `subprocess' test
...
Merge to v5.3
2012-07-26 08:47:06 -06:00
Matthew Flatt
70ef4e6e57
racket/port: possible repair for `read-bytes-evt'
...
Also restore and add some tests.
Merge to v5.3
2012-07-26 08:39:58 -06:00
Matthew Flatt
4c3dd00d49
fix `port-commit-peeked' and mid-stream EOFs
2012-07-26 06:14:35 -06:00
Matthew Flatt
11be722a0f
typo
2012-07-25 21:58:18 -06:00
Matthew Flatt
ca3272bd45
racket/port: fix `make-limited-input-port' handling of progress evts
...
Merge to v5.3
2012-07-25 21:37:58 -06:00
Matthew Flatt
d1048406b5
typo
2012-07-25 21:32:33 -06:00
Matthew Flatt
df4fed7011
windows: fix `subprocess' for an empty argument
...
An empty argument must be quoted at the CreateProcess() level.
Merge to v5.3
2012-07-25 20:37:20 -06:00
Matthew Flatt
71045e255c
fix `for/vector' to really stop at size
...
Avoids an infinite loop for an infinite sequence, for example.
Also, expand via `for/fold/derived' to improve error reporting.
2012-07-25 20:07:23 -06:00
Matthew Flatt
7d894bfb63
Note require' of a
main' submodule for -t',
-l', and `-p'
...
In the output of `racket -h' and in the command-line docs.
Merge to v5.3
2012-07-25 20:07:23 -06:00
Vincent St-Amour
8bceeadaab
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
f50d64b3b2
Fix tab leak.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
144fd5bf05
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
406529c391
Close OC properly from the menu.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
dc6a81ad02
Refactoring.
2012-07-25 16:32:52 -04:00
Vincent St-Amour
57568ae44c
Cleanup.
2012-07-25 16:32:51 -04:00
Vincent St-Amour
0bb133ea51
Move panel to the frame mixin instead of the tab mixin.
2012-07-25 16:32:51 -04:00
Vincent St-Amour
b2ce93ca94
Fix Optimization Coach menu entry point.
2012-07-25 16:32:51 -04:00
Vincent St-Amour
d9f97d079f
Refactoring.
2012-07-25 16:32:51 -04:00
Robby Findler
7b72ddb7bf
add big "definitions" and "interactions" labels to the drracket
...
definitions and interactions windows
2012-07-25 08:58:43 -05:00
Robby Findler
cdee10e2c0
fix error message wording
2012-07-25 03:02:30 -05:00
Robby Findler
4e6b38b956
adjust bitmap test
2012-07-24 23:27:07 -05:00
Vincent St-Amour
4933913cd6
Remove documentation for non-existent methods.
2012-07-24 17:22:43 -04:00
Vincent St-Amour
74a6518920
Refactoring.
2012-07-24 17:02:46 -04:00
Vincent St-Amour
b3e619e5ee
Have OC work on a copy of the definitions window.
2012-07-24 16:56:23 -04:00
Vincent St-Amour
b1577bd307
Fix type for add-between.
2012-07-24 16:41:52 -04:00
Vincent St-Amour
7ba7be1873
Show running man animation when OC is working.
2012-07-24 16:05:59 -04:00
Vincent St-Amour
f2ff88be4a
Add Optimization Coach right-click menu entry to existing menu.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
73942fcfa8
Wrap highlighting in an edit sequence.
...
Speeds up display.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
70f8f4d743
Avoid recreating panel and check-boxes when optimization coach is shown.
2012-07-24 13:48:05 -04:00
Vincent St-Amour
cfc8fe5766
Fix spacing issue.
2012-07-24 13:48:05 -04:00
Matthew Flatt
289ae98c8e
add missing `super-new' from class100 conversion
...
Also, move relevant tests to a better place.
Merge to v5.3
2012-07-24 11:16:43 -05:00
Eli Barzilay
d7f0314c74
tex2page is gone, update installer tests.
2012-07-24 11:47:47 -04:00
Eli Barzilay
bc0e46227f
Update with new "scribble" flag.
2012-07-24 11:47:47 -04:00
Robby Findler
be2c7d7ada
finish removing the check-expect dock/undock menu items
2012-07-24 10:18:28 -05:00
Matthew Flatt
5a1bc5ad40
normalize module rename info to vector in ".zo" format
...
This is related to the receent repairs for submodules and
`variable-reference->namespace'.
Merge to v5.3
2012-07-24 07:22:57 -05:00
John Clements
4e47c669ca
repair hack for beginner-proc names
2012-07-24 06:42:19 -04:00
Robby Findler
fadd1d9714
fix debugger for the case when it decides not to annotate a file
...
related to PR 12937
This doesn't seem to fix the PR since the debugger is currently ignoring
the TR programs (not annotating them) but at least it does not crash now
Please merge to 5.3
2012-07-24 04:13:10 -05:00
Robby Findler
6e2fc2c138
remove a bunch of unnecessary fields (define => define/private
...
and lift out some pens and brushes to the module top-level)
2012-07-24 04:13:10 -05:00
Matthew Flatt
da66d4d559
adjust `case' expansion to work with Typed Racket
...
Relies on the new ad hoc optimization of `hash-ref' to preserve
performance.
2012-07-23 21:41:49 -05:00
Matthew Flatt
f7382b17c7
ad hoc optimization of `hash-ref'
...
Convert
(hash-ref <hash> <key-expr> (lambda () <literal>))
to
(hash-ref <hash> <key-expr> <literal>)
which is useful for making the `case' expansion fit
Typed Racket.
2012-07-23 21:41:49 -05:00
Matthew Flatt
22960b9c75
fix `subprocess' test
...
Merge to v5.3
2012-07-23 21:41:49 -05:00
Eli Barzilay
8e889cfdb1
Make some web server example code use a valid URL.
2012-07-23 20:54:41 -04:00
Matthew Flatt
5b6c65b6c9
tweaks to `case' implementation
...
Leave `eqv?' specialization to the compiler, generate
constants instead of vector and hash-table allocations,
and use a hash table for many values other than symbols,
keywords, and fixnums.
2012-07-23 18:56:33 -05:00
Matthew Flatt
eb6a6e7136
new test cases for `case'
...
Trigger binary-search and hash-table modes.
2012-07-23 18:56:33 -05:00
Jon Zeppieri
7ccf0efce9
new 'case' implementation
...
Based on Clinger's "Rapid Case Dispatch in Scheme"
2012-07-23 18:56:33 -05:00
Matthias Felleisen
f9724f389d
addex index entry for add/plus, multiply, and friends
...
Closes PR12895 -- well, except that index points to htdp-langs for all five occurrences of each (to be fixed)
merge to v5.3
2012-07-23 16:57:38 -04:00
Asumu Takikawa
2b173612e6
Fix guide description of when
...
Closes PR 12445
Merge to v5.3
2012-07-23 16:00:29 -04:00
Matthew Flatt
cd90510f07
ffi/com: AddRef on IUnknown arguments to COM methods
...
Merge to v5.3
2012-07-23 14:35:27 -05:00
Asumu Takikawa
ea1636d4f1
Doc fixes reported by Gary Baumgartner
...
The typo on 'redex.racket-lang.org' still remains.
Relevant to PR 12680
Merge to v5.3
2012-07-23 13:10:05 -04:00
Asumu Takikawa
e0e5f7dd28
Fix GUI doc typo reported by Kieron Hardy
...
Closes PR 12830
Merge to v5.3
2012-07-23 12:53:33 -04:00
Matthias Felleisen
94d472340d
add redundancy for scene? to universe docs; Closes PR12924
...
merge into v5.3
2012-07-23 11:36:00 -04:00
Matthias Felleisen
bf8c30727d
fixed small mistake in defform/none from conversion to syntax/parse
...
merge into v5.3 but ask Matthew for second opinion
2012-07-23 11:35:59 -04:00
Matthew Flatt
05495764ea
errortrace: fix profiling for phase >= 2 code
...
Closes PR 25050
Merge to v5.3
2012-07-23 07:05:40 -05:00
Matthew Flatt
a0ba30d8e7
fix `syntax-local-get-shadower' for submodules
...
Closes PR 12926, 12928
Merge to v5.3
2012-07-22 21:43:20 -05:00
James Swaine
ca360cdaed
Add test to track performance of code inside a future over time
2012-07-22 20:08:51 -05:00
James Swaine
087ec3890c
Fix block/sync counts in future visualizer and per-future block counts in creation graph mouseover
2012-07-22 20:04:34 -05:00
James Swaine
1355c711a8
Future visualizer - more performance improvement
2012-07-22 20:04:24 -05:00
James Swaine
0b5d574aae
Future visualizer performance improvements
2012-07-22 20:04:04 -05:00
James Swaine
5042b73fc8
Fix future visualizer drawing outside visible area (in y dimension)
2012-07-22 20:03:54 -05:00
James Swaine
0b8bccc8d4
Future visualizer - only redraw overlay when moused-over event changes
2012-07-22 20:03:42 -05:00
James Swaine
ee426f7ecb
Fix minor display issue in event details panel (future visualizer)
2012-07-22 20:03:41 -05:00
James Swaine
b6c4bece11
Improvements to mouseover performance in future visualizer
2012-07-22 20:03:41 -05:00
James Swaine
6eed135d02
Fix "dancing flags" issue with timeline ticks in future visualizer
2012-07-22 20:03:36 -05:00
James Swaine
06358fa19d
Performance improvements in future visualizer GUI (dragging, scrolling, sizing)
2012-07-22 20:03:35 -05:00
James Swaine
f0aaca0dde
Change future visualizer trace collection slightly to be more composable
2012-07-22 20:03:22 -05:00
James Swaine
e4f50997ad
Minor changes to future-visualizer/trace tests
2012-07-22 20:03:22 -05:00
James Swaine
5214995967
Add unit tests for future-visualizer/trace
2012-07-22 20:03:22 -05:00
James Swaine
df54f8460b
Fix future visualizer trace collection when running inside DrRacket
2012-07-22 20:03:21 -05:00
Robby Findler
d282843116
increase timeout for the sharing modules drracket test case
2012-07-22 19:51:19 -05:00
Robby Findler
519b69362f
fix bug in inline code
...
merge to the release branch, please
2012-07-22 19:51:19 -05:00
Eli Barzilay
476c270a66
Use a new evaluaor in "for.scrbl", have it require `racket/base' for syntax.
...
Also explicitly close the evaluator used in "block.scrbl".
Closes PR 12931.
2012-07-22 13:38:38 -04:00
Eli Barzilay
18883681a2
Convert all uses of (integer-in 0 255) to `byte?'.
2012-07-22 13:00:05 -04:00
Eli Barzilay
a6b20f01da
Use string-no-nuls?' and
bytes-no-nuls?' in more docs & error messages.
...
Also use `byte?' instead of (integer-in 0 255).
(This commit will most likely require some proof-reading.)
2012-07-22 13:00:05 -04:00
Matthew Flatt
d95ec4d454
fixes for submodules and `variable-reference->namespace'
...
Closes PR 12925
Merge to 5.3
2012-07-22 11:54:46 -05:00
Mike Sperber
0dd571ef53
Synch German string constants with latest.
2012-07-22 16:37:44 +02:00
Eli Barzilay
c2fe7c4e35
Quick typo fix.
2012-07-22 10:11:37 -04:00
Asumu Takikawa
40ea2befce
Missed one Rackety in commit 3582b57
2012-07-21 13:38:18 -04:00
Robby Findler
c4a768af00
add a Copy menu to the error message from the online expansion stuff
...
closes PR 12923
2012-07-21 12:23:08 -05:00
Robby Findler
df4508573a
adjust the interface reference in drracket for the new view menu
2012-07-21 11:34:13 -05:00
Matthias Felleisen
30cb1ce4f3
fixed minor typo
2012-07-21 11:07:32 -04:00
Robby Findler
5b96803273
fix a bug introduced by commit 05b88930c0
...
the symptom of the bug is that the red
error highlighting never worked
Please merge to the release branch
2012-07-21 07:23:47 -05:00
Vincent St-Amour
848a28266c
Replace fields with local-member-name accessors.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
95e117b7f5
Typo.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
c237cee025
Rename undo-thunks to clear-thunks.
...
They don't have anything to do with editors' undo.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
eda3e70670
Use local member names for Optimization Coach public methods.
2012-07-20 18:05:34 -04:00
Vincent St-Amour
fceb3db69c
Refactoring.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
6af2e49db3
Delete trailing whitespace.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
f6feff3c51
Optimization Coach should not catch break exceptions.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
ea6ba36ccb
Update Optimization Coach documentation.
...
Please merge to release.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
031a2862d2
Typo.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
def9649688
Rename Optimization Coach menu item.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
7c0ef33bb7
Consistent capitalization with other menu items.
2012-07-20 18:05:33 -04:00
Vincent St-Amour
24b314a40a
Only enable Optimization Coach button in Typed Racket.
...
Other languages can access it through the View menu.
Please merge to release.
2012-07-20 18:05:32 -04:00
Vincent St-Amour
d396b34b2d
Disable loop detection heuristic with too many false positives.
2012-07-20 18:05:32 -04:00
Vincent St-Amour
2e594d3606
Change Optimization Coach message.
2012-07-20 18:05:32 -04:00
Asumu Takikawa
2f891c5d39
Missing file for commit 3582b57
...
(my apologies to any future git bisect-ers)
2012-07-20 17:58:31 -04:00
Asumu Takikawa
66e0564e25
Move mzlib/integet-set => data/integer-set
2012-07-20 16:00:47 -04:00
Asumu Takikawa
3582b57bcc
Move mzlib/defmacro => racket/defmacro
...
With both @bold and @italics warning against its use.
No @blink though.
2012-07-20 16:00:47 -04:00
Sam Tobin-Hochstadt
4a90c6c1fe
Ensure that structs don't overlap with simple values.
...
Reported by Ray Racine.
Please merge to release.
2012-07-20 13:01:32 -04:00
Eli Barzilay
4bd42606bc
Some simplification of process error message contracts.
2012-07-20 12:57:28 -04:00
Eli Barzilay
2a075654d0
More ignore patterns for props verification.
2012-07-20 12:35:05 -04:00
Matthias Felleisen
6768136144
docs for revised system error message completed
2012-07-20 12:30:30 -04:00
Ryan Culpepper
510d3937a7
change id-tables so iterators not invalidated by mutation of existing keys
...
id-table fixes
test for id-table
2012-07-20 10:59:50 -04:00
Ryan Culpepper
abb616e6d6
don't run db web-test
2012-07-20 10:46:13 -04:00
Eli Barzilay
a2f94b49d3
Drop attempt to verify when running plainly.
...
Instead, require a "verify" verb, and adjust the props so drdr will use
it.
Also add some OS X & Windows patterns to be ignored.
2012-07-20 10:44:33 -04:00
Matthias Felleisen
f2b9cdaadd
fixed a somewhat awkward error message that made 'system' look awkward
2012-07-20 10:38:05 -04:00
Robby Findler
8ca24e9206
give more time to some timing out tests
2012-07-20 07:46:49 -05:00
Asumu Takikawa
f4300df8eb
Restore prop:force guard.
...
(this is desirable if this property is exposed, which
could happen if/when we define gen:force)
2012-07-19 22:46:14 -04:00
Asumu Takikawa
e14c5d61e9
Allow guards for impersonatable struct type properties
2012-07-19 22:46:14 -04:00
Matthew Flatt
d3677524b8
macro expander fix
...
Relevant to PR 12863
Merge to v5.3
2012-07-19 20:42:36 -05:00
Matthew Flatt
94498465e6
ffi/com: fix another instance of the `cast' bug
...
Overlooked it during the previous repair; this repair merges
the two formerly broken sites.
2012-07-19 20:20:33 -05:00
Matthew Flatt
c86ee5b6e2
ffi/com: fix an internal cast
...
Merge to v5.3
2012-07-19 19:02:54 -06:00
Robby Findler
774e254f3c
fixes the "not used in definition context" error in define/contract
...
related to PR 12863, but doesn't solve the infinite loop problem
2012-07-19 19:54:58 -05:00
Matthew Flatt
a45d13b52a
another `namespace-attach-module' repair for submodules
...
Merge to v5.3
2012-07-19 16:50:25 -05:00
Matthew Flatt
99dbc321f5
fix *SL errortrace to support higher phases
...
The new *SL implementations that refer to Scribble
can lead to phase-2 code when running without ".zo"s.
2012-07-19 16:50:25 -05:00
Sam Tobin-Hochstadt
df8e109c6a
Update to modern contract combinators.
2012-07-19 10:55:32 -04:00
Sam Tobin-Hochstadt
857a312e61
mzscheme
-> racket/base
in syntax/struct
2012-07-19 10:55:31 -04:00
Sam Tobin-Hochstadt
16923f4ad9
scheme/base
-> racket/base
2012-07-19 10:55:31 -04:00
Sam Tobin-Hochstadt
a589d02751
Document Struct
.
...
Merge to release.
2012-07-19 10:55:31 -04:00
Matthew Flatt
d44aa13c15
test case to finish repair for `racket/gui/init' load handler
...
Test case for b111241afe
.
2012-07-19 07:46:50 -05:00
Robby Findler
b342009e71
bring back drscheme/private/number-snip.ss since it may
...
appear in saved wxme format files
also, improve the testing support for testing snip loading
(before this, the testing infrastructure could let one test
"leak" into another one in a way that could mask failures)
please include in release branch
2012-07-19 07:29:42 -05:00
Robby Findler
ef5c2b825f
fixed repl-test-misc.rkt for the error message changes
...
please include on the release branch
2012-07-19 06:26:43 -05:00
Eli Barzilay
6565538b09
Disable the #:before-first' and
#:after-last' functionality in `add-between'.
...
Leave it working in splicing mode. I prefer doing that over always
splicing them, since that would make a less uniform interface, so I
rather keep all options open. There is no longer a `#:nothing' keyword,
which is the main point of this downgrade.
(See mailing list discussion on "no-argument" for the reason.)
2012-07-18 22:28:41 -04:00
Eli Barzilay
0814fd5fb5
Make it possible to use "~" or "~user" in the installer.
...
I've looked for a while, and it seems that there is no easy way to do
this, not even in bash, and worse with /bin/sh. So this is kind of
resorting to a simple parsing of the input, and using `eval' if it
starts with a tilde. Note the hack of not doing that when there is a
space, otherwise the `eval' thing will silently ignore it.
This hack means that it's easy to get into a mess if quotes are used
after a tilde, but that was already the case with the use of `eval' to
handle environment variables. It's not a real security issue, however,
since we're talking about a user who can just run any command anyway.
Also including a test file for the expansion functionality. If anyone
wants to improve this code, making the tests pass would reveal the
tricky issues.
[FWIW, I've asked on the #bash channel, and the only serious suggestion
was getting the paths as command-line arguments. This will, however,
defeat the point of being newbie friendly...]
Closes PR 12893.
2012-07-18 22:25:41 -04:00
Eli Barzilay
1635ac1bc5
Add missing meta information for the new "future-visualizer" collection.
2012-07-18 22:15:40 -04:00
Matthew Flatt
b111241afe
racket/gui/init: fix load handler
2012-07-18 03:52:20 -06:00
Matthew Flatt
a3b316c02f
typo
2012-07-18 03:52:20 -06:00
Robby Findler
17594ec804
module lang test now up to date with error message changes
...
please include in release branch
2012-07-17 22:33:56 -05:00
Robby Findler
d8204b1624
adjusted the repl test suite for the new error messages
...
and the change to the racket/gui load-handler
(unfortunately, there is still another problem that keeps
the test suite from passing)
please merge to the release branch
2012-07-17 21:59:05 -05:00
Robby Findler
8744cd7811
bring the language test up to date with the latest error messages
...
include in the release branch, please
2012-07-17 21:58:56 -05:00
Matthew Flatt
6b3e207ecd
fix related to recent module-resolver change
2012-07-17 15:32:42 -06:00
Matthew Flatt
949d12e2c6
revert use of lazy-require' in
racket/match' implementation
...
Using `lazy-require' under `begin-for-syntax' expands to a use of
`define-runtime-path' under `begin'for-syntax'. Unfortunately,
`define-runtime-path' doesn't yet work with `raco exe' when it
appears under `begin-for-syntax'. Although `define-runtime-path'
should be fixed, it may take a while. Meanwhile, reverting the
change allows programs that require `racket/gui/base' to work
with `raco exe'.
There's another `lazy-require' under `begin-for-syntax' that
doesn't seem to cause the same trouble, though.
2012-07-17 15:32:42 -06:00
Robby Findler
3b5eb1da41
add a View menu item for the optimization coach
2012-07-17 13:45:33 -05:00
Robby Findler
a66c735b82
removed the check syntax mode support
2012-07-17 13:07:41 -05:00
Robby Findler
3463f4233e
adjust the contract obligation aspect of check syntax
...
so that it uses tooltips instead of the modes
(so hopefully now people will actually see it ...)
2012-07-17 13:07:41 -05:00
Robby Findler
160eef8366
added a tooltip for set!'d variables
2012-07-17 13:07:41 -05:00
Robby Findler
36aeda60a4
fix sizing bug in tooltip windows
2012-07-17 13:07:41 -05:00
Robby Findler
70fac182c6
Add support to the show menu item to make ordering the items
...
simpler.
Use that support to adjust the Show menu to have a better
ordering for the built-in DrRacket items.
2012-07-17 13:07:41 -05:00
Robby Findler
83bae29b21
remove the "dock/undock test report" menu items from the show menu
...
(there are buttons in the window and this isn't really a show menu
type of thing)
2012-07-17 13:07:41 -05:00
Robby Findler
488cfed53a
typo
2012-07-17 13:07:40 -05:00
Matthew Flatt
3ded3934ee
doc fixups for struct' variants in
scheme/unit', etc.
2012-07-17 11:00:46 -06:00
Matthew Flatt
67936fcc52
fix prop
2012-07-17 10:20:07 -06:00
Matthew Flatt
5e4866e54c
fill in one more corner of submodules and `namespace-attach-module'
...
When submodules are not independently loaded, then pull submodule
declarations along when attaching a module to a namespace.
2012-07-17 10:16:32 -06:00
Matthew Flatt
c8f4ac6ae4
submodules: make .zo path stick for consistent independent loading
...
When a module is loaded from bytecode and then the value of
`use-compiled-file-paths' changes, an attempt to load a submodule
would fail, because source isn't used if the main module is
already declared, and the bytecode code is not used according to
`use-compiled-file-paths'. Make the bytecode path stick when it
is used once, so that submodule loads succeed, and make it work
even with `namespace-module-attach'.
The module-attach part of this protocol requires a change to the
API of a module name resolver: the notification mode gets two
arguments, instead of one, where the second argument is an
environment.
2012-07-17 09:47:05 -06:00
Matthew Flatt
cc2c701a7d
racket/gui/init: make load handler chain to original
...
For a non-WXME file, fall back to the original load handler,
instead of re-implementing it. This makes module caching work
the right way. Falling back to the original means closing
the port and then re-opening the file to load, but that seems
ok.
2012-07-17 06:19:15 -06:00
Matthew Flatt
5f1c8d3ec9
Revert "racket/gui/init: module caching in the load handler"
...
This reverts commit 5c02b1c95a
.
The caching table doesn't hold entries weakly, which means that
it can be a space leak.
2012-07-17 06:11:35 -06:00
Sam Tobin-Hochstadt
22904ef43e
Use lazy
instead of delay
, as recommended by Eli.
2012-07-17 07:11:23 -04:00
Matthew Flatt
8718a5dd62
doc and error-message fixes for module name resolver
2012-07-16 19:22:30 -06:00
Matthew Flatt
5c02b1c95a
racket/gui/init: module caching in the load handler
2012-07-16 19:22:30 -06:00
Sam Tobin-Hochstadt
8358420fcc
Use unstable/lazy-require
to dynamically-load the compile-time of match
.
2012-07-16 16:39:26 -04:00