Commit Graph

33155 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
5bd3a9ff2f Misc minor improvements. 2014-05-06 14:17:03 -04:00
Sam Tobin-Hochstadt
36ab55c1e5 Improve TR timing, add more timing events. 2014-05-06 14:17:03 -04:00
Sam Tobin-Hochstadt
beefe73f7e Fix an unfortunate bug in Union construction. 2014-05-06 14:17:03 -04:00
Asumu Takikawa
ad8d0629f8 Add types for more of pict in typed/pict 2014-05-06 12:28:40 -04:00
Asumu Takikawa
ca5fdbd9fa Adjust TR Guide blurb, link to TR Reference 2014-05-06 11:41:58 -04:00
Asumu Takikawa
d3df30b8ee Add several examples to TR class reference docs 2014-05-05 18:38:21 -04:00
Asumu Takikawa
a524a74ba6 Fix contract for pin-arrow-label-line and friends 2014-05-05 17:25:13 -04:00
Matthew Flatt
53e3d104f7 docs search: avoid accumulating "q" queries 2014-05-05 10:37:10 -06:00
Matthew Flatt
5e8e2771b5 raco setup: fix default package version
The default is "0.0", not "1.0".
2014-05-05 10:37:09 -06:00
Matthew Flatt
0408e0f7c2 make documentation start page tell you when there's a redirecting cookie
If you have anything user-specific installed, the `raco setup` generates
a user-specific documentation page. Visiting that page sets a cookie
(actually, browser local storage, when supported) that redirects searches
and "top" to the user-specific page.

The main installation-specific page now tells you when a redirect is
in place, and it gives you the option of forgetting it (which is handy
if you've removed your user-specific documentation directory, for example).
2014-05-05 10:37:09 -06:00
Matthew Flatt
8b019b5799 gui-pkg-manager: add Robby as author 2014-05-05 10:37:09 -06:00
Robby Findler
1f212a2fe4 fix struct/dc chaperone/flat/impersonator-ness when #:inv is used 2014-05-05 11:27:52 -05:00
Robby Findler
31e02a5da2 adjust DrRacket to be able to populate the local pkg catalog
database in more convenient ways

- add a "update cache" button to online check syntax error message when
  a missing module exn is raised, but there are no suggestions
- add an "update cache" link to the missing module exn printout
2014-05-05 11:27:52 -05:00
Robby Findler
ec0053be7f document gui-pkg-manager and add pkg-catalog-update-local/simple-status-dialog 2014-05-05 11:27:52 -05:00
Robby Findler
60e2c2400d add some string constants to be used by the gui pkg manager 2014-05-05 11:27:51 -05:00
Robby Findler
49206dfd4b adjust drracket test for the new error message format 2014-05-05 11:27:51 -05:00
Robby Findler
39a1ecbb7c mention that all definitions are exported in #lang plai's docs 2014-05-05 11:27:50 -05:00
Robby Findler
1ce09cf924 fix #<undefined> mention and adjust example to always terminate 2014-05-05 11:27:50 -05:00
Matthias Felleisen
9613d45566 Racket-y 2014-05-04 18:55:32 -04:00
Matthias Felleisen
21e026910b fixed error message for width/height specs; closes PR 14480 2014-05-04 18:55:32 -04:00
Matthias Felleisen
33794ee8aa fixed docs for state clauses; closes PR 14481 2014-05-04 18:55:32 -04:00
Matthias Felleisen
16956c3daf minimal documentation for David's port clause 2014-05-04 18:55:32 -04:00
Matthias Felleisen
19e068f1c6 make sure these tests shut down after a short time 2014-05-04 18:55:32 -04:00
Matthias Felleisen
d727355d9c added tests for David's port pull request 2014-05-04 18:55:31 -04:00
David Van Horn
333e0aa070 Universe and world take an optional 'port' argument.
Allows universe and world programs to specify which port they want to
communicate on.  If omitted, universe and world use the default port
number.  This enables multiple universe instances to run on the same
machine.  For example:

(require 2htdp/universe 2htdp/image)

;; Run two client-server pairs
(define (run)
  (launch-many-worlds (server 8080)
                      (client 8080)
                      (server 8081)
                      (client 8081)))

;; Port -> #f
(define (server p)
  (define noop (make-bundle #f '() '()))
  (universe #f
            (port p)
            (on-new (λ (_u _iw) noop))
            (on-msg (λ (_u _iw _msg) noop))))

;; Port -> #f
(define (client p)
  (big-bang #f
            (port p)
            (on-tick values)
            (to-draw (λ (_) (empty-scene 400 400)))
            (register LOCALHOST)))
2014-05-04 18:55:31 -04:00
Robby Findler
90053d7d40 fix random generation environment usage
closes PR 14484
2014-05-04 14:34:55 -05:00
Matthew Flatt
2e284cc783 enable DWARF-based stack unwind for x86
Newer versions of gcc seem to use -fno-frame-pointer by
default for x86, which disables Racket's stack traces.
Use DWARF information to get them back.
2014-05-04 11:47:31 -06:00
Asumu Takikawa
7eb94179e7 Adjust open-input-file type for new keyword 2014-05-04 12:13:06 -04:00
Matthew Flatt
51614ab0b2 raco pkg config: add doc-open-url key 2014-05-04 09:32:00 -06:00
Matthew Flatt
33ad485081 setup/unixstyle-install: preserve all other config entries
Preserve any configuration entry that is not explicitly set,
as opposed to keeping only entries that are known to the
script.
2014-05-04 09:32:00 -06:00
Matthew Flatt
a8105dc0e3 config: add doc-open-url configuration
This configuration option is a better way to redirect documentation
access (at a place like NEU) than patching "search.rkt".
2014-05-04 09:31:59 -06:00
Matthew Flatt
47bc57a7e2 distro-build: fix Windows client setup 2014-05-04 08:53:10 -06:00
Robby Findler
974ee9df75 fix contract-stronger for struct/dc with #:inv clauses 2014-05-03 22:22:10 -05:00
Robby Findler
abd445839d add missing @history[] 2014-05-03 22:22:10 -05:00
Matthew Flatt
b8cc111e92 scribble/manual: clicking on a section title shows linking information
Thanks to Matthew Butterick for help and advice.
2014-05-03 21:05:26 -06:00
Matthew Flatt
b420967b02 racket/gui: adapt text-editor-load-handler to missing-module exception
Raise `exn:fail:{filesystem,syntax}:missing-module` instead of
`exn:fail:filesystem` when a module file does not exist.
2014-05-03 20:06:03 -06:00
Matthew Flatt
9cd528ca08 racket/base: add #:for-module? argument to open-input-file
Exposes a feature that is used by the default load handler to
raise `exn:fail:{syntax,filesystem}:missing-module` exceptions.
2014-05-03 20:05:59 -06:00
Matthew Flatt
cb322e939a pkg/lib: add #:catalogs & #:set-catalogs? args to pkg-catalog-update-local
These additions allow the GUI package manager to use `pkg-catalog-upload-local`
instead of having a its own copy of the same opertation. Not surprisingly,
with two copies of the code, the `pkg/lib` copy was missing support for tags.
2014-05-03 17:39:06 -06:00
Eric Dobson
d68a1ebc35 Split out tc-expression to a separate file. 2014-05-03 15:19:56 -07:00
Eric Dobson
6d841adb9a Make external check be on an #%expression. 2014-05-03 14:44:36 -07:00
Eric Dobson
6cd79b6b7e Change ascription to annotate the #%expression.
Also remove the now useless type-annotation tests.
2014-05-03 14:18:55 -07:00
Eric Dobson
48ca13f26d Remove obsolete special casing for ann and inst. 2014-05-03 14:18:55 -07:00
Eric Dobson
32fc2b99b8 Cleanup type-ascription. 2014-05-03 14:18:55 -07:00
Eric Dobson
49b983ca2e Add #%expression around annotations. 2014-05-03 14:18:55 -07:00
Eric Dobson
b57d84dd90 Remove check for type-ascription property. 2014-05-03 14:18:54 -07:00
Eric Dobson
7a7809cdfd Move from type-ascription-property to add-ann. 2014-05-03 14:18:54 -07:00
Eric Dobson
4ac26e919a Make standalone annotation use #f instead of #'#f. 2014-05-03 14:18:54 -07:00
Sam Tobin-Hochstadt
31ccd1ba7c Typed Racket history for 6.0.1.
Please include in release.
2014-05-03 13:38:49 -04:00
Robby Findler
e51ba9b565 add invariant clauses to struct/dc (keyword #:inv) 2014-05-03 10:31:09 -05:00
Matthew Flatt
afe06ed070 racket/gui: fix for Mac OS X 10.6
Closes PR 14482
2014-05-02 15:14:50 -06:00