Commit Graph

22006 Commits

Author SHA1 Message Date
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
Sam Tobin-Hochstadt
a929bb21fc Don't export internal names for define & lambda. 2012-06-16 22:08:05 +08:00
Robby Findler
e94c72da78 add a possible explanation for indy 2012-06-16 06:36:06 -05:00
Matthew Flatt
4eb0d3dcac minor guide corrections
on parts that Eli asked me to check
2012-06-16 04:54:45 +08:00
Asumu Takikawa
ab0d3d6492 Fix TR optimizer test
(round to avoid FPU sensitivity)
2012-06-14 18:22:42 -04:00
Asumu Takikawa
5d232f3748 racket/control: add aliases and update %/fcontrol
Added alises for call-with-continuation-prompt,
abort-current-continuation, and call-with-composable-continuation.
Also allow % and fcontrol to take an optional prompt tag argument.
2012-06-14 17:33:43 -04:00
Eli Barzilay
a7064d5f6a A bunch of typo fixes from Richard Cleis. 2012-06-14 17:20:05 -04:00
Vincent St-Amour
c4613cf9ab Unbox exp on complex numbers. 2012-06-14 17:17:03 -04:00
Robby Findler
c68b464fcd clean up example code 2012-06-14 15:57:43 -05:00
Eli Barzilay
5e902b2191 Minor typo. 2012-06-14 15:46:53 -04:00
Eli Barzilay
6b2b784e79 Further improvements to the documentation search.
Revise the subword matching to have three different levels for full
match (= a permutation of the input), a generic match for all parts, and
everything else.
2012-06-14 15:46:53 -04:00
Eli Barzilay
ecc43ff104 Improve the documentation search code.
Instead of just one array for exact results and one for all the rest,
use one array for each possible comparison result, and concatenate them
all for the final list.
2012-06-14 15:46:53 -04:00
Eli Barzilay
41745e4f38 Show the host we're copying content to. 2012-06-14 15:46:53 -04:00
Matthias Felleisen
f82f528a8c added 'boolean' to the grammars for the *SLs, fixing an emailed bug report from Klause Ostermann. -- To avoid the 'true, '(true) etc issue I ommitted boolean from the [quasi]quoted grammar, which makes the current behavior kind of correct. 2012-06-14 14:20:46 -04:00
Robby Findler
cd923bb8f8 disable the preferences menu in paint-by-numbers (since it does nothing)
so that other games can call preferences:set-default.

closes PR 12851
2012-06-14 04:24:22 -05:00
Robby Findler
21c60bfa8b fix bug in find-scroll-step in the implementation of Parcheesi's
rules overview window
2012-06-14 04:24:22 -05:00
Matthew Flatt
16d877d45e improve `for' body syntax-error reporting
Closes PR 12850
2012-06-14 15:11:19 +08:00
Asumu Takikawa
6c569415cc Update list of redirected procedures in docs 2012-06-13 14:28:01 -04:00
Matthew Flatt
a871574318 make #%plain-module-begin' transformer detect module*' in stop list 2012-06-13 17:07:06 +08:00
Matthew Flatt
af9d11bfce fix `raco setup' "nothing to do" check w.r.t. Planet paths 2012-06-13 07:44:57 +08:00
Neil Toronto
7fb38aff44 Fixed type errors uncovered by correction to type of exact->inexact (i.e. change to real->double-flonum) 2012-06-12 13:26:06 -06:00