Asumu Takikawa
d6b3434cc6
Fix type for window<%> for TR
...
Closes PR 14812
2014-10-31 11:16:03 -04:00
Asumu Takikawa
b7eeaf7608
Fix ordering issue in typechecking inner calls
...
Closes PR 14810
2014-10-30 03:22:09 -04:00
Asumu Takikawa
7829776f72
Add suppport for weak boxes in TR
...
Closes PR 14771
2014-10-30 03:22:09 -04:00
Burke Fetscher
cd00bc0595
redex: keep syntax info for nt aliases
2014-10-29 16:22:19 -05:00
Burke Fetscher
8ffa22dab6
redex: differentiate nts from different langauges
2014-10-29 16:22:19 -05:00
Burke Fetscher
f22d058aee
redex: record nt syntax info for extended language
2014-10-29 16:22:19 -05:00
Stephen Chang
aed26e5178
fix typos in "Building New Contract Combinators" guide
2014-10-29 17:01:58 -04:00
Stephen Chang
ef34c5db01
restore set/c default #:kind to 'immutable; update tests and docs to match
2014-10-29 16:47:58 -04:00
Stephen Chang
40422d35d3
change set/c default #:kind to dont-care, to match docs
...
- add set/c tests
2014-10-29 16:31:25 -04:00
Robby Findler
3d2fdbc8cf
small tweaks to raco show-dependencies
...
- print '#%kernel instead of (quote #%kernel)
- add -l for more human-friendly output that shows direct requires
2014-10-29 09:06:25 -05:00
Ryan Culpepper
e35019d4dc
simplify paths before using as hash keys
2014-10-29 08:54:57 -04:00
Ryan Culpepper
095176736d
db: add empty string test for "text" type
2014-10-29 08:54:57 -04:00
Asumu Takikawa
872e21eff1
Fix/add base-env types for Ref 14.4.3
2014-10-29 01:08:21 -04:00
Leif Andersen
6087d11a36
XFORM_END_SKIP -> XFORM_SKIP_PROC in example.
...
The XFORM_SKIP_PROC example incorrectly used XFORM_END_SKIP,
it should have used XFORM_SKIP_PROC instead.
2014-10-28 20:45:43 -04:00
Robby Findler
e18f8e904f
simplify the drracket/check-syntax documentation a little
2014-10-28 17:10:21 -05:00
Robby Findler
0fa5f866ae
make path->relative-string/library use "<doc>/...." prefixes files in the docs
2014-10-28 17:09:53 -05:00
Robby Findler
54fc2cd939
document setup/main-doc
2014-10-28 17:09:52 -05:00
Robby Findler
fa413f14a9
try to take the autowrap bitmap into account when sizing the repl input box
2014-10-28 17:09:52 -05:00
Robby Findler
00a7eaca2c
adjust the wrap-bitmap-width field to always have an inexact number
2014-10-28 17:09:52 -05:00
Robby Findler
5052e82518
add the get-autowrap-bitmap-width method to text%
2014-10-28 17:09:52 -05:00
Asumu Takikawa
64bc7d4e85
Send thunks to check-syntax for type tooltips
...
This avoids the cost of computing the printed types
to some degree. It still does have overhead (~5%) over
not computing anything related to tooltips because of
the cost of traversing the type table and computing
tooltip locations.
2014-10-28 17:41:58 -04:00
Sam Tobin-Hochstadt
8582d94507
Add implies from typed-racket-lib to unstable-contract-lib.
...
Typed Racket, as of 8ea8c54eb
, can add explicit require lines
to the expanded module, which can confuse the dependency
analyzer. An explicit implies declaration avoids the problem,
although I'm not sure that this is the right solution.
2014-10-28 15:12:32 -04:00
Sam Tobin-Hochstadt
8ea8c54eb4
Avoid requires of contracts when they're not used.
...
This changes when various libraries that provide contract
support to possible contracted bindings to declare when
those bindings are needed.
Probably, each static-contract combinator should manually
add to the list, instead of having one fixed static list,
but this is a start.
Saves about 10ms in startup for an empty TR module on my
laptop.
Thanks to Robby for the idea.
2014-10-28 12:04:49 -04:00
Robby Findler
ed0fa5da5b
another attempt to eliminate references to the original
...
installation directory from the drracket tool docs
please include in 6.1.1
2014-10-28 11:03:42 -05:00
Matthew Flatt
8e34ef3a9d
libffi: fix problems with gcc-4.0 on 32-bit Mac OS X
...
Based in part on https://trac.macports.org/changeset/122079
2014-10-28 08:06:13 -06:00
Robby Findler
01b0c11249
generalize the support for mouseover tooltips so that
...
the computation of the string doesn't have to happen
during macro expansion, but can happen only when check syntax
is in the picture
2014-10-28 08:25:37 -05:00
Robby Findler
6d4b708851
move find-string tests into the wxme test suite
2014-10-28 08:25:37 -05:00
Matthew Flatt
6e62de29ed
compiler/zo-marshal: allow extflonum literals
...
original commit: 201a5f0e6f
2014-10-27 20:01:38 -06:00
Matthew Flatt
201a5f0e6f
compiler/zo-marshal: allow extflonum literals
2014-10-27 20:01:38 -06:00
Matthew Flatt
35a762b556
remove internal sorted-dirlist
function
...
The result of `directory-list` is now sorted by default, so the
extra function is not needed.
2014-10-27 16:01:49 -06:00
Matthew Flatt
9291726482
racket/file: add make-parent-directory*
...
Also, clarify behavior of `make-directory*` in the case of a relative
path when the current directory does not exist.
2014-10-27 16:01:49 -06:00
Robby Findler
13d7e264c4
fix incorrect interpretation of 'eof in new find-string implementation
2014-10-27 16:38:39 -05:00
Vincent St-Amour
0a8764b470
Add pointer to Sublime Text support.
2014-10-27 15:07:32 -04:00
Vincent St-Amour
c4a09baad8
Move racket-mode to the top of suggested emacs modes.
2014-10-27 15:07:32 -04:00
Asumu Takikawa
d66e0fc3d2
Add deftech for fallback/default methods in docs
2014-10-27 14:32:44 -04:00
Matthew Flatt
2d85fdc02f
libffi: restore some small patches
...
Also, revert file-permission changes.
2014-10-27 11:18:16 -06:00
Gustavo Frederico Temple Pedrosa
9832ad7750
Update libffi to 3.1
...
Update libffi to 3.1 to add support for new architectures.
2014-10-27 11:18:16 -06:00
Robby Findler
df8fef86da
fix a contract example in the documentation
...
closes PR 14798 (the previous commit, 86017992ab
, that
claimed to fix this PR is unrelated; sorry for that)
Please include in 6.1.1
2014-10-27 09:19:27 -05:00
Matthew Flatt
f31c6563e4
make read-line
interruptable on a primitive port
...
Closes PR 14800
Merge to v6.1.1
2014-10-27 07:00:30 -06:00
Matthew Flatt
5eca66acdf
meta/pkg-build: edit the "about" page
2014-10-26 19:00:48 -06:00
Matthew Flatt
a352470914
work around a kqueue bug(?) on Mac OS X
...
There seems to be a problem in kqueue() on Mac OS X for watching for
FIFO write availability, where adding a read event for the same FIFO
(at a different file descritor) can disable the write event.
Merge to v6.1.1
2014-10-26 09:51:17 -06:00
Matthew Flatt
2679638e74
fd read and write: avoid redundant O_NONBLOCK flag setting
2014-10-26 09:21:28 -06:00
Matthew Flatt
b2509614e2
fd write: accomodate non-partial writes to a non-full descriptor
...
If a write to a non-blocking descriptor fails, then try again
with fewer bytes, since nothing in the spec write() seems to
promise writing partial amounts. In particular, writing to
a FIFO no Mac OS X might fail even if there are a few bytes of
space; as it happens, the select() function seems to compensate
and claim that such a FIFO is full, but kqeueue() doesn't.
2014-10-26 09:21:28 -06:00
Matthew Flatt
5dad9a1ef1
meta/pkg-build: record start and end time for tests
2014-10-26 09:21:28 -06:00
Matthew Flatt
e3e69085c3
meta/pkg-build: add an "about" page
...
Explain `raco test`, the `PLT_PKG_BUILD_SERVICE` environment variable,
and the "x86_64-linux-natipkg" platform.
2014-10-26 09:21:28 -06:00
Robby Findler
046a851d70
Use the scale when rendering svg
...
Thanks to Antonio Menezes Leitao for the change
2014-10-26 07:08:08 -05:00
Robby Findler
86017992ab
fix incorrect contact; closes PR 14798
...
please include in the 6.1.1 release
2014-10-25 21:52:18 -05:00
Robby Findler
06b9b4f0a2
simplify and extend the find-string method in text%
...
This implementation runs about 10% faster than the old when searching
for "λ" in (collection-file-path "unit.rkt" "drracket" "private"). It
is copied directly from the search search algorithm from Wikipedia
called Knuth-Morris-Pratt, but with a fancier version of get-char that
cooperates with text%'s snip interface for more efficient linear
scans of characters.
It also generalizes the previous one by supporting searching into
embedded text% objects inside editor-snip% objects
related to PR 14688
related to PR 14687
2014-10-25 21:52:18 -05:00
Matthew Flatt
28bc3ebeac
meta/pkg-build: keep test-success log (same as test-failure)
2014-10-25 15:06:28 -06:00
Matthew Flatt
776aa89347
meta/pkg-build: always set the VM clock
...
Consistent installation depends on a global clock that always
moves forward, so make sure VMs stay in sync.
2014-10-25 07:40:04 -06:00