Commit Graph

26393 Commits

Author SHA1 Message Date
Matthew Flatt
f91dc81bf5 futures: fix some CGC problems
.. even though futures don't work well with CGC, due to
the lack of future-local allocation.
2012-06-21 07:14:49 +08:00
Matthew Flatt
61be7a9a40 futures: implementation clean-up
Remove some unnecessary and redundant parameterization.
2012-06-21 07:14:49 +08:00
Matthew Flatt
db46b2ef92 futures: make tail-call allocation local or synchronizable
By itself, this change won't help anything, because tail-call
allocation is triggered for something that can't be called directly.
This change sets up part of an improvement for future-local recovery
from stack overflow, though.

(I had trouble constructing a test that would trigger the new code.
Fortunately, the existing tests trigger it.)
2012-06-21 07:14:49 +08:00
Matthew Flatt
b27ae70d0a error message repair 2012-06-21 07:14:49 +08:00
Matthew Flatt
9af2a331ca another ASL error-message repair 2012-06-21 07:14:49 +08:00
Robby Findler
f38024d4ed fix struct/c for the case that the selectors are not available at the use site.
closes PR 12854
2012-06-20 11:23:20 -05:00
John Clements
da652c4774 oops add one more reference to new file 2012-06-20 09:08:22 -07:00
Eli Barzilay
b5cc811daf Conditional use of `module+'.
This fixes drdr, which is using a pre-submodules version of racket.
There was also a use of one-argument `string-join' that is fixed that
has been there for a while but drdr uses the api directly.
2012-06-20 11:51:12 -04:00
Eli Barzilay
34c6c9966e No need to run this wrapper in drdr. 2012-06-20 11:51:12 -04:00
Robby Findler
c0b928c758 Added @literal-algol{} and started an algol60 test suite (apologies
if there already was one that I didn't find). Also fixed syntax
error raising procedure.

closes PR 12859
2012-06-20 10:28:53 -05:00
Robby Findler
8f892a2d3a when moving the focus to the replace window, also select the text
closes PR 12855
2012-06-20 09:27:16 -05:00
Robby Findler
411aeb99b8 a bunch of fixes to the diagram:
- added some color (mostly to try to disambiguate the lines)

- several of the things named '*-element' actually belong under content, not element.

- element has 'content', not the substructs.

- convertible?s are content's.

- the 'content' field in an element is not a list, but simply a content.

- there are a bunch of things under target-element.

- image-element was missing fields

- collect-element was missing the collect field
2012-06-20 08:22:58 -05:00
Robby Findler
c13a88915a remove uppercasing of the tag names 2012-06-20 08:22:58 -05:00
Robby Findler
4d7f6d7935 make scribble's part/document/element/etc structs all be #:transparent 2012-06-20 08:22:58 -05:00
John Clements
63cc342cdb fixes to dialog for too-many-step resolution 2012-06-19 23:51:59 -07:00
John Clements
c01e8c1564 refactored to reduce stepper dependencies 2012-06-19 23:51:59 -07:00
John Clements
66321c8f84 adding halt dialog for runaway process 2012-06-19 23:51:59 -07:00
John Clements
a11fd04b01 working on adding stopping dialog 2012-06-19 23:51:59 -07:00
John Clements
615f687d7c reformatting only 2012-06-19 23:51:59 -07:00
Sam Tobin-Hochstadt
ac0bb2b98f Error checking in bytecode reader.
Found by:
    fuzz.rkt -s 912673274  -f collects/setup/compiled/xref_rkt.zo
    fuzz.rkt -s 568444835  -f collects/syntax/scribblings/compiled/strip-context_scrbl.zo
    fuzz.rkt -s 1009851773 -f collects/mred/private/wx/cocoa/compiled/platform_rkt.zo
2012-06-19 19:17:12 -04:00
Eli Barzilay
19de3f9aa4 Collapse some properties where possible.
(Notified the responsible, so some of these might be undone later.
Pushing now to see how the self-testing works for meta/props.)
2012-06-19 14:20:06 -04:00
Eli Barzilay
b43affa171 More props code improvements.
Simplified code, and additional testing for redundant properties, and
for properties that can be collapsed into a parent directory (this might
be dropped or used only for notification on differences, see
commentage).

Also, make drdr test itself reflectively.
2012-06-19 14:20:06 -04:00
Eli Barzilay
555aa0d8b6 Remove redundant `drdr:command-line' values.
Drop ones with the default for the suffix, and drop a few unnecessary
"-q" flags too.
2012-06-19 12:55:11 -04:00
Eli Barzilay
d2cee683e4 Improve drdr suffix-decision code, and the help text for prop setting.
The code is improved, and also the default changes for *.rkt files:
there is no need for any flags -- "-q" is redundant, and with no flags
it's doing "-u" which is the same as "-t" (with an added "-N").
2012-06-19 12:52:22 -04:00
Eli Barzilay
125fbaa3ce `collects/teachpack/deinprogramm' belongs to Mike Sperber. 2012-06-19 12:52:22 -04:00
Eli Barzilay
4c2940a6d9 Simplify away uses of "-t" in `drdr:command-line'.
In some cases use `module+' to make the code run nicely without a "-m".

(And some other minor tweaks.)
2012-06-19 12:52:22 -04:00
Asumu Takikawa
0e4f9fcd97 racket/gui: fixed by-position widget initialization
This was broken in the class100 port. The init arguments
previously handled by the class100*/kw macro need to be
explicitly passed down.

Also, an (init-rest) is needed at the leaves of the class
hierarchy to ensure that internal super init args don't
leak via error messages. (the class100 macro always
inserts these)

Added a test file so similar breakage is detectable in the
future.
2012-06-19 12:37:35 -04:00
Eli Barzilay
2c19677358 Make some .rktl tests run with "racket".
With this commit, all of the leftover mentions of gracket in
`drdr:command-line' are things that pop up windows.
2012-06-19 03:18:23 -04:00
Eli Barzilay
52d4777bac Fix two mis-fixes in the previous props scan. 2012-06-19 01:53:51 -04:00
Eli Barzilay
b8034828d0 Sort the mess with aligned-pasteboard tests.
1. Lots of #lang-ization, other racketizations, code improvements, etc.

2. Some files that were not working now do.

3. "collects/tests/aligned-pasteboard" had some files that were near
   duplicates of "collects/mrlib/private/aligned-pasteboard/tests".
   I've removed the former since in a few places it looked like an older
   version (eg, there were bogus references to a non-existent
   "utils.rkt").  The former has more files that are in runnable
   condition now.

4. There are plenty of tests that look like they're failing, but it
   wasn't shown since they just return #f, and when they were running
   with a "-f" these results weren't displayed.

5. I have no idea about the code, this is all just reshuffling and minor
   editing.
2012-06-19 01:42:20 -04:00
Eli Barzilay
10c06d25a7 Drop many uses of "gracket" and "gracket-text" in drdr command-lines.
There were many such properties that were leftover from before the big
GUI rewrite where the gracket executable was needed, and now there is no
longer any need for these things.  There are two exceptions:

* There is a drdr feature that forces all tests that use gracket to run
  sequentially, which is used for tests that rely on some actual state
  of shown windows.  I ran all of the files and monitored for windows
  popping up, and left the test to use gracket in these cases.

* There are a few cases where running "racket -f <file>" resulted in an
  unbound identifier, whereas "gracket -f <file>" does not.  These are
  because of the different global namespace, and I will fix them (props
  and the files) in a different commit.

One of the expected results of this is that a drdr might run faster,
because the serial-running hack above should now be applied only where
relevant.  (And some of the drracket tests are very long.)

This commit is pushed by itself to identify possible problems with a
drdr run that tests only this change.
2012-06-18 21:51:56 -04:00
Eli Barzilay
104d7a6904 Add a bunch of missing `responsible' properties. 2012-06-18 19:23:21 -04:00
Eli Barzilay
043e0b299f More improvements, more checks.
Check that the entries are sorted, and check that there's a
`responsible' for all files on disk, except for known exceptions.  It
might be better to use "git ls-tree HEAD <path>" instead of looking at
the filesystem, but then it won't work on drdr.
2012-06-18 19:23:21 -04:00
Eli Barzilay
c622c8328f Lots of fixes for broken paths in props.
Found with the new verify functionality.
2012-06-18 19:23:21 -04:00
Eli Barzilay
749259d8e1 Fix lots of prop paths. 2012-06-18 19:23:21 -04:00
Eli Barzilay
7d40901381 Improve some code, add a "verify" verb to verify paths in props info. 2012-06-18 19:23:21 -04:00
Eli Barzilay
fac76a56f8 Some style things. 2012-06-18 19:23:21 -04:00
Sam Tobin-Hochstadt
2d902e8bf1 Fix command-line arguments to test in drdr. 2012-06-18 16:24:20 -04:00
Robby Findler
a5d9520274 Revert "a start on getting text rendering running automatically via 'raco setup'"
This reverts commit 6b5cd10670.
2012-06-18 11:27:42 -05:00
Robby Findler
6b5cd10670 a start on getting text rendering running automatically via 'raco setup' 2012-06-18 11:26:27 -05:00
Robby Findler
2d8f41bfb9 clarify has-contract? and prop:contracted relationship 2012-06-18 11:26:27 -05:00
Robby Findler
ac8a4f23e5 Fixed up and added in the struct hierarchy diagram from the Scribble paper 2012-06-18 11:26:27 -05:00
Robby Findler
88f4ddabcc Rackety 2012-06-18 11:26:27 -05:00
Vincent St-Amour
4d5bc17f85 Recover from any failure when attempting to prune types. 2012-06-17 23:28:50 -04:00
Vincent St-Amour
24b6ecf2a6 Extend time-apply to work with procedures with more than 2 arguments. 2012-06-17 23:04:47 -04:00
Vincent St-Amour
a5f2ca8fb0 Fix possible-domains on functions with multiple return values. 2012-06-17 23:04:47 -04:00
Mike Sperber
35f141b7bc Add some missing `delay's in DeinProgramm signatures.
Spotted by: Stephen Chang
2012-06-17 09:21:58 +02:00
Matthew Flatt
5ff3087677 scribble: adjust `def...' box to show a background label in HTML
For example, a syntactic form box is labeled with "SYNTAX". Forms
such as `defform' and `defthing' now support a `#:kind' option
for setting the label.
2012-06-17 09:19:58 +08:00
Vincent St-Amour
da897a2f85 Disable debugging printing. 2012-06-16 18:28:01 -04:00
Sam Tobin-Hochstadt
39e014bc55 Handle submodules in Typed Racket. 2012-06-16 22:08:06 +08:00