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
Lei Wang
08718a4e2f
New indentation rules implemented and fixed typo and bug
...
1) Indentation rules to to count paren(indentation):
Return number of parenthesis till the outmost “@“ annotation,
if the there is "[", we check if it has "@" right after if and at the
same line, if so, we add the number of characters between "[" and
the beginning of the line it appears
2) line push back rules:
we do not push back lines begin with “@“ that
a) has keyworld "codeblock" or "verbatim" after
b) contains “[” and multiple lines before the closing “]”
2014-05-02 14:32:58 -05:00
Matthew Flatt
18531772e3
setup/getinfo: shortcut for simple modules
...
When an "info.rkt" module is simple enough, build a hash table
directly instead of compiling and loading the module.
2014-05-02 12:30:31 -06:00
Matthew Flatt
573c127002
make pkg-links: shortcut for no-change case
...
Taking a shortcut skips dependency and module-declaration checks, but
that job is now covered by `raco setup`.
2014-05-02 12:30:31 -06:00
Matthew Flatt
b25e9fd0d4
raco setup: check package version deps and multiple module declarations
...
The package dependency checking process was already gathering all the
reelvant information, or nearly all of it, so it's relatively cheap to
add the checks.
2014-05-02 12:30:31 -06:00
Matthew Flatt
33547d554a
pkg/lib: add #:versions?
argument to extract-pkg-dependencies
2014-05-02 12:30:31 -06:00
Eric Dobson
ee64a15265
Make inst mark the #%expression.
2014-05-02 09:39:18 -07:00
Max New
91c3a3a6d4
Fix bugs in tuple reconstruction and slice/e
2014-05-02 06:16:12 -05:00
Max New
91627bc895
Partially implemented mixed fin/inf list/e
2014-05-02 06:16:12 -05:00
Max New
7032acc066
Have cons/e use list/e and make explicit when using finite cons/e
...
Also add to-stream and make cons/e tests less specific
2014-05-02 06:16:12 -05:00
Max New
f309685999
nats/e -> nat/e
2014-05-02 06:16:11 -05:00
Matthew Flatt
68421f05dd
places: improve comments on msg_chain treatment
2014-05-01 19:13:55 -06:00
Matthew Flatt
6d4c25a322
places: fix gc of place channels containing place channels
...
The bug was a kind of typo: using `&` where `%` was intended to
implement a counter wraparound.
This bug is an even more likely candidate to be resopnsible for the
occassional crashes from the DrRacket easter-egg test.
2014-05-01 19:13:55 -06:00
John Clements
4c6d5be9c3
note on ordering of discrete-dist-probs and discrete-dist-values
2014-05-01 15:33:38 -07:00
Vincent St-Amour
80d1631af8
Fix expected source location for improved location preservation.
2014-05-01 18:04:35 -04:00
Asumu Takikawa
947343c63f
Add an explanation of the test case for PR 14389
2014-05-01 16:24:42 -04:00