Vincent St-Amour
93e2a74f09
Correctly parse Windows paths in Optimization Coach.
...
Closes PR12966.
2012-08-10 17:09:30 -04:00
Vincent St-Amour
444bd434f9
Turn comments into tests in the profiler.
2012-08-10 17:09:30 -04:00
Matthew Flatt
50d90e8703
bug fix for thread improvement
...
Fixes a bug introduced with c89fa0cda7
.
2012-08-10 13:28:17 -06:00
Matthew Flatt
c89fa0cda7
fix some O(N) problems for N threads
...
Repairs include GC setup, thread finalization, and place
synchronization.
2012-08-10 13:00:03 -06:00
Matthew Flatt
b5f0c97762
fix arity error message for keyword-accepting methods
...
Internally, there's a `prop:method-arity-error' property that is
used for keyword-accepting methods. The same thing could be
accomplished with `procedure->method', but the new property avoids
a wrapper. It might be nice to expose the property from `racket/base',
but that creates trouble for generating arity errors for keyword-
requiring procedures (i.e., when such a procedure is wrapped), so
keep it provate for now.
Closes PR 12982
2012-08-10 12:59:36 -06:00
Robby Findler
48bed65e17
pulled rectangle-intersect? out into its
...
own file so it can be reused (in some code
that I've not yet pushed)
2012-08-10 13:46:53 -05:00
Robby Findler
a799985951
fix the gradient example code in the docs.
...
Things wrong:
- indentation
- the dc callback didn't reset the dc state
(this is okay if you only use the pict
in the interactions window in drracket,
because drracket protects itself, but it
is not okay if you use them in slideshow
or something)
- the dc callback didn't use the 'dx' and 'dy'
arguments properly
(you could see this going wrong if you put
two of the picts together in an hc-append
and looked at the compound pict in the
interactions window)
2012-08-10 12:15:37 -05:00
Sam Tobin-Hochstadt
aa6ed4d736
Don't generate rest specification for ->* when not needed.
2012-08-10 11:00:02 -04:00
Sam Tobin-Hochstadt
77d5cacbff
Add examples for collapse-module-path
.
2012-08-10 10:39:44 -04:00
Eric Dobson
3876dfa841
Make generated flat contracts actually flat.
2012-08-10 10:39:44 -04:00
Matthew Flatt
6852140dd8
fix problem with Racket callbacks as scheduler hooks
...
Closes PR 12991
2012-08-10 07:49:17 -06:00
Matthew Flatt
4345045b52
fix parsing of complex numbers with special single flonums
...
Closes PR 12839
2012-08-10 07:49:17 -06:00
Matthew Flatt
9d6cb8e50e
setup/pack: fix internal and contract errors
...
Part of the contract-error fix is an implementation change, and part
is a documentation change.
Closes PR 12904
2012-08-10 07:49:17 -06:00
Matthew Flatt
5f120373f1
atan: fix result for two inexact-zero arguments
...
Closes PR 12936
2012-08-10 07:49:16 -06:00
Robby Findler
40e5b63bbc
allow identifiers as names, not just strings
2012-08-09 15:28:42 -05:00
Robby Findler
0bd661d620
fix up the bitmap tests for linux
2012-08-08 22:32:43 -05:00
Robby Findler
97e3f56bf2
adjust bitmap tests to test judgment form labels (and fix expected result under mac os x)
2012-08-08 22:05:43 -05:00
Robby Findler
0369342bfe
added names to clauses in define-judgment-form and added
...
judgment-form-cases to use the names to control typesetting
2012-08-08 21:34:28 -05:00
Vincent St-Amour
a190ecfb7b
Fic generics docs.
...
Closes PR 12988.
2012-08-08 17:26:55 -04:00
Vincent St-Amour
452d83069b
Fix typo in the raco make docs.
...
Closes PR 12986.
2012-08-08 17:26:55 -04:00
Vincent St-Amour
9ea180e98c
Profiler doc typo.
2012-08-08 17:26:54 -04:00
James Swaine
a3a55de00a
Don't wait for future log messages if futures are disabled (future-visualizer)
2012-08-08 12:01:58 -05:00
Burke Fetscher
29661cc675
add #:lang keyword to term, which checks that underscored symbols agree with patterns in the provided language...changed most internal uses of term to use this form
2012-08-08 11:09:01 -05:00
Matthew Flatt
d5024f0f20
win64 racket/gui: another work around for Cairo clipping issues
...
Cairo doesn't seem to deal correctly with an HDC produced
by BeginPaint() that has a clipping region. The problem affects
only Win64. Work around the problem by drawing to a separate
HDC and copying to/from the screen. (To see the problem before
this patch, draw the DrRacket window to the edge of the screen
and back, and observe tha the toolbar doesn't update correctly.)
This change could affect performance, but it should mostly
be limited to refresh when a window moves.
2012-08-08 09:56:44 -06:00
James Swaine
dc6411c48c
Fix futures-enabled? to use the correct #ifdef check
2012-08-07 20:48:04 -05:00
Vincent St-Amour
75efede59b
Refactoring.
2012-08-07 16:33:31 -04:00
Vincent St-Amour
674c71103b
Add :query-type/args.
...
Shows return type for a given function with given argument types.
2012-08-07 16:33:31 -04:00
Vincent St-Amour
d87339d414
:query-result-type -> :query-type/result
...
Result type is given, not asked for.
2012-08-07 16:31:52 -04:00
Vincent St-Amour
28c85dfd25
Add a separate "Exploring Types" section to the TR reference.
2012-08-07 16:31:52 -04:00
Vincent St-Amour
e3ffd5f85c
Document zsh completion along with bash completion.
2012-08-07 16:31:52 -04:00
Vincent St-Amour
4b30d052b0
Allow multi-line printing of case-> types.
...
Currently only used in :print-type. Everywhere else, types are pruned.
2012-08-07 16:31:52 -04:00
Vincent St-Amour
34ee1d2603
Use type aliases when printing full types.
...
Reduces the printout size significantly.
2012-08-07 16:31:51 -04:00
Sam Tobin-Hochstadt
7eaae20f41
Add back some special cases.
2012-08-07 15:51:02 -04:00
Eric Dobson
21598297a7
Removed *Un from abbrev.rkt, replaced it with Un from union.rkt.
2012-08-07 15:50:50 -04:00
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
699659840a
turn off debugging info
2012-08-06 15:03:37 -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