Commit Graph

26587 Commits

Author SHA1 Message Date
Matthew Flatt
5116f51503 try to clarify gradient docs 2012-08-12 20:17:29 -06:00
Matthew Flatt
d38fa91792 doc fix
Closes PR 13007
2012-08-12 20:17:29 -06:00
Robby Findler
6588449aed enable online check syntax (change the default for
the preferences and use a new preferences symbol, so
everyone gets the new default)
2012-08-12 16:20:21 -05:00
Robby Findler
b6d7b0ebcc add note to history 2012-08-12 15:50:56 -05:00
Robby Findler
89b72f94b9 fix annotations-mixin for new syncheck interface 2012-08-12 15:50:56 -05:00
Robby Findler
9f1b54c6fa remove experimentation code (that I should have removed earlier) 2012-08-12 15:50:55 -05:00
Neil Toronto
ca99eb4a5e Altered a couple of tests to test list-of-lists histogram arguments 2012-08-12 08:58:51 -06:00
Ray Racine
b8c025da61 Histogram plots support lists as well as vectors of data. 2012-08-12 08:51:57 -06:00
Robby Findler
0c6734f782 Add the contents of the "blue boxes" in the docs to the upper-right
corner of the definitions window, based on the information that check
syntax computes

This commit contains two separate changes to make this work:

  - adding a new renderer, based on the text renderer, that
    pulls out the contents of the blue boxes and saves them
    in the doc/ directories (specifically in the files named
    contract-blueboxes.rktd)

  - extend check syntax to use and display the information
    build by the new renderer
2012-08-12 08:41:46 -05:00
Robby Findler
5d81b80736 correct spelling error 2012-08-11 22:50:49 -05:00
Robby Findler
8ee76c9547 Add index entries for @defconstructor (and friends). Also add
code that skips over them when building the search indices.
Overall, this means that the only change most people would see
is that multiple constructors in the same class will get a warning
(and there was one of those, so fixed that too).

Also, Rackety. Specifically, transformed this surprising combination
of constructs (where all caps are placeholders for something specific):

((if PRED
     (λ (c mk) BODY2)
     (λ (c mk) BODY1))
 content
 (lambda (tag) BODY3))

into this one:

(define (mk tag) BODY3)
(if PRED
    BODY1{c:=content}
    BODY2{c:=content})
2012-08-11 21:52:48 -05:00
Robby Findler
94eb2277b7 adjust 'raco planet structure's implementation so it matches
recent changes to the fold-plt-archive function
2012-08-11 09:55:15 -05:00
James Swaine
3cd4efe201 Fix process id sorting in future visualizer 2012-08-11 09:21:29 -05:00
Matthew Flatt
7aec4f6c7e doc corrections
Number-grammar problems reported by Milo Arvidsson.
2012-08-11 06:42:24 -06:00
Matthew Flatt
3577b9d0eb remove some unneeded specialization for places 2012-08-11 06:42:24 -06:00
James Swaine
6271556e1d Add GC display to future visualizer 2012-08-11 01:00:51 -05:00
Matthias Felleisen
0c37d094da added exn handling for inaccessible directories 2012-08-10 19:16:59 -04:00
Vincent St-Amour
7c6cf0fa8b Fix type of division. 2012-08-10 18:07:38 -04:00
Vincent St-Amour
8e7484c44c Add log parsing tests. 2012-08-10 17:09:30 -04:00
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