Commit Graph

1022 Commits

Author SHA1 Message Date
Jay McCarthy
cd0e4b8f8a Adding next/prev change buttons 2012-08-14 21:34:01 -06:00
Jay McCarthy
d7fa57b8fb correct email address for irc email 2012-08-14 21:34:01 -06:00
Robby Findler
d96d920cf9 rename contract-blueboxes.rktd to blueboxes.rktd 2012-08-14 16:20:47 -05:00
Matthew Flatt
cbd5fe910d include root "contract-blueboxes.rktd" in distributions 2012-08-14 09:48:56 -06:00
Matthew Flatt
e9f522ba94 add "rackunit" to "mz" distribution
The `rackunit' library can be used for tests in any code.

The GUI portion of `rackunit' remains in the "plt"
distribution, only.
2012-08-14 09:48:56 -06:00
Vincent St-Amour
444bd434f9 Turn comments into tests in the profiler. 2012-08-10 17:09:30 -04:00
Eli Barzilay
08b271d34c v5.3 stuff 2012-08-07 00:10:01 -04:00
Matthew Flatt
03605b697d adjust timeout for parallel-plot test 2012-08-03 13:57:00 -06:00
Vincent St-Amour
800a328fe6 Fix documentation for packages and mutable lists.
As suggested by Matthew.
2012-07-31 17:12:30 -04:00
Eli Barzilay
a0e6892d3e Add "download-libs.rkt" to the core sources. 2012-07-29 08:27:28 -04:00
Eli Barzilay
1eaecb8e39 An a warning newline, minor additional tweaks. 2012-07-28 12:11:43 -04:00
Eli Barzilay
963ecf0d6f Add responsible for "compatibility".
(Separate push to see that drdr barks with the previous prop fix.)
2012-07-28 07:36:22 -04:00
Eli Barzilay
b7c11dfaff Add "compatibility" to dist-specs. 2012-07-28 07:31:11 -04:00
Eli Barzilay
8cdf6be928 Fix how props checks itself. 2012-07-28 07:30:21 -04:00
Eli Barzilay
5b501da131 Minor fix for the installer tests.
The last "xrepl" might be at the BOL, with no preceding space.
2012-07-28 05:05:05 -04:00
Vincent St-Amour
52439d528b Move mutable list functions to the compatibility collect.
Mutable pair functions from racket/base are not moved.
2012-07-27 16:49:05 -04:00
Eli Barzilay
7e4e373919 Update self-test checksup for revized "racket -h" text. 2012-07-27 10:31:46 -04:00
Matthew Flatt
289ae98c8e add missing `super-new' from class100 conversion
Also, move relevant tests to a better place.

Merge to v5.3
2012-07-24 11:16:43 -05:00
Eli Barzilay
d7f0314c74 tex2page is gone, update installer tests. 2012-07-24 11:47:47 -04:00
Eli Barzilay
bc0e46227f Update with new "scribble" flag. 2012-07-24 11:47:47 -04:00
Robby Findler
d282843116 increase timeout for the sharing modules drracket test case 2012-07-22 19:51:19 -05:00
Eli Barzilay
2a075654d0 More ignore patterns for props verification. 2012-07-20 12:35:05 -04:00
Ryan Culpepper
abb616e6d6 don't run db web-test 2012-07-20 10:46:13 -04:00
Eli Barzilay
a2f94b49d3 Drop attempt to verify when running plainly.
Instead, require a "verify" verb, and adjust the props so drdr will use
it.

Also add some OS X & Windows patterns to be ignored.
2012-07-20 10:44:33 -04:00
Robby Findler
8ca24e9206 give more time to some timing out tests 2012-07-20 07:46:49 -05:00
Eli Barzilay
0814fd5fb5 Make it possible to use "~" or "~user" in the installer.
I've looked for a while, and it seems that there is no easy way to do
this, not even in bash, and worse with /bin/sh.  So this is kind of
resorting to a simple parsing of the input, and using `eval' if it
starts with a tilde.  Note the hack of not doing that when there is a
space, otherwise the `eval' thing will silently ignore it.

This hack means that it's easy to get into a mess if quotes are used
after a tilde, but that was already the case with the use of `eval' to
handle environment variables.  It's not a real security issue, however,
since we're talking about a user who can just run any command anyway.

Also including a test file for the expansion functionality.  If anyone
wants to improve this code, making the tests pass would reveal the
tricky issues.

[FWIW, I've asked on the #bash channel, and the only serious suggestion
was getting the paths as command-line arguments.  This will, however,
defeat the point of being newbie friendly...]

Closes PR 12893.
2012-07-18 22:25:41 -04:00
Eli Barzilay
1635ac1bc5 Add missing meta information for the new "future-visualizer" collection. 2012-07-18 22:15:40 -04:00
Matthew Flatt
67936fcc52 fix prop 2012-07-17 10:20:07 -06:00
Asumu Takikawa
b33509bc0d Remove old packages
The following packages were removed:
  - combinator-parser
    (see `asumu/combinator-parser` on PLaneT)
  - tex2page
    (see `asumu/tex2page` on PLaneT)
  - test-box-recovery
2012-07-13 15:43:59 -04:00
Jay McCarthy
e71cbbe7a9 new email setup 2012-07-12 19:32:17 -04:00
Asumu Takikawa
68d550e2c3 Update props file for racket/private/shared-body.rkt 2012-07-11 21:46:30 -04:00
Eli Barzilay
e262f66127 Fix typo in 404 page. 2012-07-10 22:12:43 -04:00
Eli Barzilay
66ef365aa4 Add a "favicon.ico" copy, and a 404 page.
The 404 page doesn't work right yet -- it should always use absolute
links.
2012-07-06 16:07:30 -04:00
Eli Barzilay
fb2b5418df More files for all sites.
Two verification files for google/bing website tools, and also add a
no-op robots.txt file to avoid error-log lines.
2012-06-27 09:26:29 -04:00
Eli Barzilay
06f67b30f3 Improve resource-files code.
Makes it easy to add more files without more bindings.
2012-06-27 09:26:28 -04:00
Eli Barzilay
9d8b0b3051 Add rel="nofollow" to short example links.
The examples make up the majority of the front page, and it turns out
that google used some of these links in "sitelinks" in search result.
These links should be the main entry points, and we ended up having such
gems as "Printf" be there.  They provide a way to "demote" URLS so they
won't show there, but doing that for one link means that another will
pop in (and there's a limit of a 100 such demotions).  So add this in an
attempt to make it not consider them as things that can be used in the
sitelinks.  This might be reverted if it doesn't help.

(Note that this is discouraged as a way to "sculpt pagerank", but the
purpose here is not to affect how they crawl the web pages and make page
reputation flow, but only to cover up for a missing feature that ends up
with horrible sitelinks.  The pages are scanned anyway from the doc
pages.)
2012-06-27 09:26:28 -04:00
Eli Barzilay
1e79d368ce Some usual code shuffling for internal definitions. 2012-06-27 09:26:28 -04:00
Eli Barzilay
b1c666c212 Some web page tweaks.
* The main page's title appears in search results, so use "The Racket
  Language" instead of "Racket".  Additional minor tweaks to a few more
  titles to make them presentable as search results.

* Add a `#:description' keyword to make it easy to add it to pages.  Add
  such texts to the main page, downloads, community, learning, people,
  and mailing list pages.

* Add a <meta name="robots" content="NOODP" /> to the front page, to
  avoid getting the ODP (dmoz) blurb, hopefully the new and improved
  description(s) will be used instead.  (If not, this should be
  reverted.)
2012-06-27 09:26:28 -04:00
Jay McCarthy
e2a4302124 metacity 2012-06-25 15:59:17 -06:00
Jay McCarthy
93f85eac2a Switching window manager to something more stable 2012-06-25 15:59:17 -06:00
Jay McCarthy
8ed1dbbc1a Adding better version info to DrDr help 2012-06-25 15:59:17 -06:00
Eli Barzilay
6918bb55cb Dump attempt to be cute with stderr.
Also add robby & mflatt as responsible to the algol60 tests and to
algol60 itself.
2012-06-20 22:52:40 -04: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
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
Sam Tobin-Hochstadt
2d902e8bf1 Fix command-line arguments to test in drdr. 2012-06-18 16:24:20 -04:00
Eli Barzilay
41745e4f38 Show the host we're copying content to. 2012-06-14 15:46:53 -04:00
Matthew Flatt
d80a49f853 turn on DrDr testing for racket/math 2012-06-06 15:16:52 +08:00
Robby Findler
f721c0427d adjust the timeouts to two drracket tests and add a little syncronization help in a third 2012-05-31 10:56:13 -05:00
Matthew Flatt
a7206b1a9f further correction to tests/gracket/blits prop
The test isn't automatic, so don't run it in DrDr.
2012-05-31 09:21:24 -06:00
Matthew Flatt
a95739821b fix props for one test 2012-05-29 13:57:32 -06:00
Jay McCarthy
50ca12201d Fixing 482214e 2012-05-29 13:39:37 -06:00
Jay McCarthy
391754a337 Fixing commit message display re newlines re Robby 2012-05-28 11:52:56 -06:00
Asumu Takikawa
8a52613463 racket/gui: remove empty modules 2012-05-26 16:45:00 -04:00
Neil Toronto
ee95182386 Made (require plot) more obvious in the plot introduction (suggested by Jens Axel Søgaard)
Mentioned (plot-new-window? #t) early in the introduction

Increased drdr:timeout for plot.scrbl
2012-05-25 11:33:50 +09:00
Asumu Takikawa
a22633e348 Rename generics => generic. 2012-05-24 16:51:14 -04:00
Vincent St-Amour
1a42772c02 props 2012-05-24 16:50:45 -04:00
Vincent St-Amour
1180a95c60 props 2012-05-24 16:31:32 -04:00
Eli Barzilay
8fc49d41cf Improved bash completion script.
Warning: I tried a bunch of things and it looks like it works, but I'm
not using bash regularly so there might be some problems in this.
Committing by request of the bashers.

It would still need some work to make it work as (I think) was intended.
For example _find_exe() should be used to find the current executable
when completing, but it's used at the toplevel.
2012-05-24 11:48:35 -04:00
Eli Barzilay
482214e053 Skip some "tests/*/main.rkt" in drdr.
These files are invoking tests that are implemented in other files.
2012-05-24 10:52:00 -04:00
Eli Barzilay
6318df82e5 Drop the now-redundant " " argument from existing uses of `string-join'. 2012-05-24 10:40:20 -04:00
Mike Sperber
f34258e253 Bump timeout for test-engine-test.rkt to 8 minutes.
DrDr keep going over.
2012-05-18 19:59:43 +02:00
Jay McCarthy
aa3b849382 Each file gets its own tmp dir 2012-05-17 10:29:55 -06:00
Jay McCarthy
b752d2e09a Only repair the big archives 2012-05-17 10:29:55 -06:00
Jay McCarthy
7148cdf7f0 New archives, smaller 2012-05-17 10:29:55 -06:00
Jay McCarthy
14edb40d94 Start improving file system usage 2012-05-17 10:29:55 -06:00
Robby Findler
d2d82d325b up the future tests timeout 2012-05-13 20:20:06 -05:00
Jay McCarthy
042defedb6 Branch remove fix 2012-05-10 10:36:29 -06:00
Eli Barzilay
06728e1dd2 Use absolute URLs in the quick subscription boxes.
Closes PR 12757.

(Also some reformatting.)
2012-05-09 02:42:52 -04:00
Eli Barzilay
07d5fbe1f6 More time for the combined scribble tests. 2012-05-08 21:18:15 -04:00
Ryan Culpepper
7cafd9daca stop running stress-template in drdr 2012-05-07 15:08:22 -06:00
Eli Barzilay
b315000311 All of `overridden-collects/teachpack' should not be tested. 2012-05-07 09:12:00 -04:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Eli Barzilay
36394500e5 Streamline all scribble tests. 2012-05-06 05:53:19 -04:00
Eli Barzilay
c161540751 Fix props for "mkheart.rkt"'s new place. 2012-05-06 05:38:03 -04:00
Eli Barzilay
26c13d278e Move the "mkheart.rkt" generator to a new meta directory. 2012-05-04 17:24:08 -04:00
Eli Barzilay
2fa345ef9e Revise license page with the clarification text that was sent on the list.
(Slightly revised.)
2012-05-03 10:25:34 -04:00
Eli Barzilay
68544f55c1 Link to racketcon from the community page. 2012-05-03 10:24:03 -04:00
Eli Barzilay
890de3af6c Move the honu code for vim to collects/meta. 2012-04-28 05:23:43 -04:00
Eli Barzilay
904d2666aa Completions for zsh. 2012-04-28 05:23:43 -04:00
Eli Barzilay
de98df327c Typo (but these requirements should be eliminated eventually). 2012-04-28 05:23:43 -04:00
Robby Findler
9288fda689 set the timeout for the easter-egg test to double what it takes on my machine 2012-04-27 14:52:19 -05:00
Eli Barzilay
457908061f Typo in the name for x86_64-osx-mac. 2012-04-19 21:53:42 -04:00
Eli Barzilay
e2e2a1e3e1 Some cleanups to "script.html".
Closes PR 12464.
2012-04-19 16:02:03 -04:00
Eli Barzilay
a14569bfe3 Web pages tweaks.
* Add a reference from the community page to the bug reports page.

* Make it possible to subscribe to lists right from the community page.
  Improve the email input boxes with placeholder text and a short
  explanation on hovering.
2012-04-17 14:04:57 -04:00