Commit Graph

22130 Commits

Author SHA1 Message Date
Matthias Felleisen
92c62d7417 disabled name tests for htdp languages during documentation reorg 2012-06-25 19:15:08 -04:00
Matthias Felleisen
2981cbfd68 added string-contains? at request from Ostermann 2012-06-25 19:15:08 -04:00
Matthias Felleisen
48e07fb2ab send world's name to universe properly, Closes PR 12857 2012-06-25 19:15:08 -04:00
Matthias Felleisen
4306cc2798 small fixes to Robby's marginal note on indy 2012-06-25 19:15:07 -04:00
Sam Tobin-Hochstadt
94f1cb2127 Avoid requiring the printer unneccesarily. 2012-06-25 18:07:45 -04:00
Sam Tobin-Hochstadt
c61ed30d0b Depend only on the lowest-level place primitives. 2012-06-25 18:07:45 -04:00
Sam Tobin-Hochstadt
08c3f78476 Disable unused code. 2012-06-25 18:07:45 -04:00
Sam Tobin-Hochstadt
794bfa50ec Load environments dynamically in residual code. 2012-06-25 18:07:45 -04:00
Sam Tobin-Hochstadt
88ff5fee69 Minor refactorings.
- Remove tracing requires.
 - Use lists instead of sets in a few environments.
 - Small cleanups.
2012-06-25 18:07:45 -04:00
Jay McCarthy
bc72ddd88a New error message 2012-06-25 15:59:17 -06:00
Jay McCarthy
7f1d0a9e3b Fix now broken usage of regexp-replaces in ffi 2012-06-25 15:59:17 -06: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
Kevin Tew
89c7ba6493 Fix *channel-get's use of continuations
Cleanup map-reduce.rkt
Cleanup rmpi.rkt
Added create-place-node and distributed-place-wait
2012-06-25 14:03:05 -06:00
Kevin Tew
1d480a63a2 Fix rmpi argument names, simple map-reduce impl 2012-06-25 14:03:05 -06:00
Robby Findler
3afba2d833 adjust defproc* so that it only shows the white background label once, instead
of once per different identifier that it is documenting
2012-06-25 13:42:09 -05:00
Sam Tobin-Hochstadt
a05acfee4c Split out some small utilities to prepare to reduce dependencies. 2012-06-25 14:10:18 -04:00
Sam Tobin-Hochstadt
ccb724155a scheme -> racket 2012-06-25 13:39:07 -04:00
Vincent St-Amour
972df7c89e Add #:unless to the for: macros. 2012-06-25 13:38:51 -04:00
Vincent St-Amour
b1ad108759 Update type of string-join for its new keyword arguments.
Closes PR12866.
2012-06-25 13:05:46 -04:00
Matthew Flatt
c2924ef926 CSS tweak for whute label on blue boxes
This tweak avoids adding extra space when the white-label font is
taller than the line it's attached to. It also makes the label
disappear in IE 6, but I think we can live with that.
2012-06-25 09:02:51 -06:00
Matthew Flatt
2c1e02d148 fix `help' docs
Use one `defform*' instead of `deftogether' and many `defform/none's.
2012-06-25 08:21:55 -06:00
Matthew Flatt
0532baa228 doc correction and improvement 2012-06-25 08:17:17 -06:00
Matthew Flatt
c11527494e racket/port: fix problems with `read-bytes!-evt'
See PR 12860; some of problem related to the PR were "fixed" by
adjusting the guarantees that are specified in the documentation.

Another problem was that non-consecutive bytes could be returned.
2012-06-24 07:38:09 -06:00
Matthew Flatt
6173b7eb05 fix zo-parse, zo-struct, etc. for context in whole-module import 2012-06-23 05:21:53 -07:00
Matthew Flatt
5433d2302a fix some error-message tests 2012-06-23 05:21:52 -07:00
Matthew Flatt
c7d181c2a9 racket/gui, win32: fix problem with mimize for fixed-size window 2012-06-23 04:15:28 -06:00
Matthew Flatt
91791983aa fix indentation of some error messages
`raise-syntax-error' and `raise-arguments-error' do not
try to adjust indentation, anymore, because it's too confusing
2012-06-23 02:20:59 -07:00
Matthew Flatt
4323096a46 change contract on second' of date' to allow only 1 leap second 2012-06-23 02:04:55 -07:00
Matthew Flatt
22e067c7a9 inside: add new error functions to docs 2012-06-23 02:04:55 -07:00
Matthew Flatt
ff8a062bfe guarantee `current-seconds', etc. from 1/1/1970 UTC
For all currently supported platforms, the result was already
portable, despite the documentation's hedging.

Also fixed up the documentation in other ways, such as the fact
that `seconds->date' returns a `date*'.
2012-06-23 02:04:55 -07:00
Matthew Flatt
b951978a77 fix `impersonate-struct' docs
Move some constraints from `chaperone-struct' docs to `impersonate-struct'
docs.

(Problem reported by Eric Dobson.)
2012-06-23 02:04:54 -07:00
Matthew Flatt
7126295905 teaching languages: fix copying of `test~object' binding to REPL
As Mike noticed, commit d836cba7c9 triggered a different binding
of `test~object' due to the enclosing module context of the `eval'ed
syntax object.
2012-06-23 02:04:54 -07:00
Eli Barzilay
f0d856ab7a Extend string-join' in a similar way to add-between'.
(This is actually the extension that made me do the other too.)
2012-06-23 04:44:20 -04:00
Eli Barzilay
728687d9dc Extend `add-between'.
New keywords: `#:first', `#:before-last', `#:last', and `#:splice?'.
2012-06-23 04:44:20 -04:00
Robby Findler
f7185bec91 strengthen contract on blockss field of table struct in scribble 2012-06-22 22:12:54 -05:00
Robby Findler
6588493810 adjust a bunch of error printfs in raco setup so they include the
stacktrace (by calling error-display-handler). Not sure if this is
always safe, so including it in a separate commit for easy reversion.
2012-06-22 21:38:09 -05:00
Robby Findler
40ec33c12b improve blue box spacing in Redex reference 2012-06-22 19:47:52 -05:00
Asumu Takikawa
e4f216244a Fix typos and wording in chaperone docs 2012-06-22 17:57:58 -04:00
Vincent St-Amour
a0d55d4ab8 Reconstruct let bindings in the right order when unboxing let. 2012-06-22 17:53:43 -04:00
Vincent St-Amour
ee142047f8 Add type for range, and extend in-range's. 2012-06-22 17:53:43 -04:00
Eli Barzilay
7ec9975736 Move regexp-replaces' from ffi/unsafe' to `racket/private/string'.
* The old function was removed completely, people will get it from
  `racket/base' anyway.

* I also removed its documentation.  I thought about leaving a note in,
  but if `define-ffi-definer' is the preferred style, then this should
  be done when there's a way to make `define-ffi-definer' use it.  (Eg,
  some new #:keyword that adds a way to change the defined name.)

* Note that the function is added to `racket/private/string' and not to
  `racket/string' because the latter deals only with strings, and the
  new function accepts byte strings too.  It might be better to start a
  new `racket/regexp' module for these functions.
2012-06-22 14:27:14 -04:00
Eli Barzilay
7b4772e120 Extend `regexp-replace*' to accept a start/end-position.
Note that this pushes the `ipre' argument to the end.
2012-06-22 12:00:48 -04:00
Eli Barzilay
7d6e79023c Random pickiness.
Spaces at EOFs, indentation, etc.
2012-06-22 12:00:48 -04:00
Robby Findler
3250d97f71 log errors that read-language produces when DrRacket calls it 2012-06-22 10:31:00 -05:00
Asumu Takikawa
af73e6f274 Typo in impersonate-hash docs 2012-06-22 00:12:24 -04:00
Asumu Takikawa
1dced5f560 racket/unit: fix literals in docs 2012-06-21 23:37:11 -04:00
Matthew Flatt
d253b89ba8 racket/port: fix read-bytes-evt' and read-string-evt'
As the documentation says, it's supposed to be ok to use the
same evt multiple times or in multiple threads, but an internal
buffer was allocated incorrectly, so that multiple/concurrent
uses could go wrong.

Closes PR 12860
2012-06-22 09:48:00 +08:00
Matthew Flatt
a04ba8aef3 ffi/com: allow a `com-object' as an 'iunknown argument 2012-06-22 09:47:59 +08:00
Matthew Flatt
1dc0072d03 further error message convention refinements
Add extra intitial-message lines, use "..." on a field name
to indicate that it could reasonably be hidden by default,
and refine some existing messages.
2012-06-22 09:47:59 +08:00
Asumu Takikawa
ed9c612cae racket/control: Racketize & remove trailing whitespace 2012-06-21 16:08:33 -04:00
Asumu Takikawa
893ebc6ee6 mzlib/class100: deprecation notice 2012-06-21 16:08:33 -04:00
Neil Toronto
25c5e87929 Added docs for pi.f, corrected pi's contract, added examples 2012-06-21 13:53:09 -06:00
John Clements
3ef7aa2a45 rackety 2012-06-20 23:38:51 -07: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
2c058f5f03 Racketize the `version' collection.
Also some other style things, and get rid of the redundant "doc.txt".
2012-06-20 21:37:50 -04:00
Matthew Flatt
303aaec2b4 update docs related to definition-box labels 2012-06-21 07:15:09 +08:00
Matthew Flatt
40c892ff80 futures: future-local handling of stack overflow
Includes the addition of 'overflow and 'start-overflow-work
events, whcih are effectively specializations of 'sync and
'start-work to expose overflow handling.

Also, fix a bug related to a potential GC during mark-stack
restore from a lightweight continuation.
2012-06-21 07:14:50 +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
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