Commit Graph

22987 Commits

Author SHA1 Message Date
Mike Sperber
4c59f02cb0 Symch German string constants with latest. 2011-09-17 11:10:56 +02:00
Robby Findler
8e5bb730b3 guard a use of get-root-data in the token tree implementation
closes PR 12072
2011-09-16 19:04:14 -05:00
Matthew Flatt
5d10dceaf5 fix a corner case for `find-relative-path' 2011-09-16 18:03:32 -06:00
Matthew Flatt
6401b30399 fix winsock init and shutdown for places 2011-09-16 18:03:32 -06:00
Matthew Flatt
8e9e8ee48e doc edits 2011-09-16 17:56:53 -06:00
Matthew Flatt
dcda2b60d3 fix write() and read() calls for in-thread gethostbyname() 2011-09-16 16:42:14 -06:00
Matthew Flatt
39601cedcf Revert "putting the "drscheme" collection last isn't useful anymore"
This reverts commit 89581f5e21.

Putting "drscheme" last is useful because it avoids having two
places try to compile "drracket" and "drscheme" at the same time,
in which case the "drscheme" place gets stuck waiting on the
"drracket" place. Moving "drscheme" to the end is a hack, but
it improves the build time for 2-4 cores.
2011-09-16 16:36:57 -06:00
Matthew Flatt
b79c410e5b fix in-thread gethostbyname() for places
Uncovered by "place-parallel.rkt" test; not found in previous runs
because in-thread gethostbyname() wasn't enabled for Linux, but it
is now.
2011-09-16 16:19:04 -06:00
Matthew Flatt
33831cbd8a add test to run test suite in multiple places
This is something we've done in the past, but it doesn't seem
to be in the tree anywhere.

Also, repair old "parallel.rktl" test.
2011-09-16 16:19:04 -06:00
Matthew Flatt
1bfd9987c4 fix pointer-ownership check so that it works
A working check uncovered one of the badly registered statics.
2011-09-16 16:19:04 -06:00
Matthew Flatt
aa1eb065c5 fix initialization of place-shared statics 2011-09-16 16:19:04 -06:00
Matthew Flatt
24e587a64e lock is needed for writing after all 2011-09-16 16:19:04 -06:00
Sam Tobin-Hochstadt
c55cceed8c Two types definitely overlap if they are equal.
Fixes infinite loop in Whalesong compilation.
2011-09-16 17:20:31 -04:00
Sam Tobin-Hochstadt
2570fae481 Minor comment formatting. 2011-09-16 17:20:31 -04:00
Eric Dobson
1f3d68e55e Added comments to explain TR's type on subprocess and friends. 2011-09-16 17:20:31 -04:00
Eric Dobson
7fcf28bef2 Gave subprocess and similar functions more precise types. 2011-09-16 17:20:31 -04:00
Kevin Tew
fa50c780a4 close fds on error 2011-09-16 14:11:34 -06:00
Kevin Tew
a605a97132 place* throw error on closed port 2011-09-16 13:24:39 -06:00
Robby Findler
443434fd01 adjust hangman test suite strategy; instead of waiting for a hangman frame to get teh focus,
instead wait for a frame in the user's eventspace that has the name "Hangman".

also, some minor rackety
2011-09-16 12:24:39 -05:00
Eli Barzilay
c5b3317daf Make `enter!' go into a module even if there was an error when it was instantiated.
Previously, when trying to `enter!' into a module, an exception would
abort the whole thing, leaving the repl where it was.  This behavior can
be very confusing:

  > (module foo racket/base (define x 123) (error "bleh!"))
  > (enter! 'foo)
  bleh!
  > x
  reference to undefined identifier: x
  > (enter! 'foo)
  > x
  123

Things are a little better with xrepl, since the prompt always indicates
the module that you're in.  Still, it's unfortunate that a module with
an error is more likely to be something you'd want to debug -- and most
people are likely to miss the fact that entering a second time will work.

So make `enter!' catch exceptions when requiring the module, change the
namespace, and then re-raise the exception so the user sees it and is
left in the expected namespace.
2011-09-16 11:31:41 -04:00
Eli Barzilay
16cd1ad78d Make `defproc' throw an error if two arguments have the same name.
Related to the already fixed PR 12114 and PR 12133, which motivated the
error, and a few additional typos of the same kind.

(Note that it uses the symbols, but that's how they'll render anyway.)
2011-09-16 11:14:18 -04:00
Eli Barzilay
f02d19553c Protect against bad values in `current-module-declare-name'.
Closes PR 12125
2011-09-16 10:48:18 -04:00
daniel watson
5cc277e40f fix missing word 'look' in git docs 2011-09-16 10:48:18 -04:00
Eli Barzilay
370678abf6 Avoid compiling wxme test files.
Since that requires `racket/draw', which requires libcairo, which is
missing on some build machines.  It might be needed in the future, but
for now it's better to make it easier to add build machines.
2011-09-16 10:48:18 -04:00
Eli Barzilay
84d24bac80 Works up to the current version number, which is "1.0.0e". 2011-09-16 10:48:18 -04:00
Eli Barzilay
623c7493ed Some selective #:when (not ...)' -> #:unless ...'. 2011-09-16 10:48:18 -04:00
Eli Barzilay
55a8471838 Quick typo. 2011-09-16 10:48:17 -04:00
Eli Barzilay
26857abe43 Preserve thread values.
This avoid problems with tests that are broken by changing environment,
like the TR tests that implicitly rely on a specific printer.
2011-09-16 10:48:17 -04:00
Eli Barzilay
29019a42ae Minor reformatting, indentation fixes, brackets fixes, etc. 2011-09-16 10:48:17 -04:00
Matthew Flatt
7a00fbddc7 remove incorrect port shutdown; windows: fix console ports for places
Ports must be forced closed in the case of kill a place,
and the existing code takes care of that.

The Windows fix is especially needed for the new places port
handling, but it turns out that the console handlign was broken for
places anyway.
2011-09-16 08:12:51 -06:00
Matthew Flatt
5f21abbaf3 place ports are not regular files and should not be in text mode 2011-09-16 07:05:58 -06:00
Matthew Flatt
50bd8c6153 fix bad return for a void function 2011-09-16 07:04:15 -06:00
Matthew Flatt
d173879f39 fix places pipe for Windows
And also fix int-vs-ptr mismatches for the pipe layer
that is also used by `subprocess'
2011-09-16 07:03:29 -06:00
Mike Sperber
e637806306 fix errortrace-conversion problem in DMdA languages
Follow commit 45331d1ae8 for the HtDP
languages.
2011-09-16 09:02:25 +02:00
Jon Rafkind
b4a74fc12d [honu] return eof at the repl if an eof-object is read 2011-09-15 17:21:24 -06:00
Kevin Tew
5a28514553 Doc fixes I forgot to include in previous commit 2011-09-15 17:15:44 -06:00
Robby Findler
e7d3a2e1d8 adjust online expansion so it is off by default; also fix the preference so
it really actually works (and also doesn't create a place until it is turned
on at least once)
2011-09-15 17:35:04 -05:00
Jon Rafkind
808c2bdf27 [honu] read and parse a line at the repl 2011-09-15 16:01:54 -06:00
Jon Rafkind
219516b321 [honu] use an empty "begin" if nothing was parsed 2011-09-15 16:01:54 -06:00
Jon Rafkind
0b4e630b8c [honu] return currently parsed form if a macro is seen 2011-09-15 16:01:54 -06:00
Jon Rafkind
18b18aaded [honu] add string comparison. add test.xml file for linq example 2011-09-15 16:01:54 -06:00
Jon Rafkind
0790efd585 [honu] add order-by clause 2011-09-15 16:01:54 -06:00
Jon Rafkind
aaed60493a [honu] recognize linq literals 2011-09-15 16:01:53 -06:00
Kevin Tew
b6972a3b7f dynamic-place now pipes standard io to standard out and error much like system. 2011-09-15 14:53:58 -06:00
Matthew Flatt
039f9c10f3 fix calculation for hash code of a hash table 2011-09-15 14:23:44 -06:00
Matthew Flatt
87652cd32e scribble CSS: force text-align left in RktBlk
Because IE seems to default to inherit while other browsers
default to left.
2011-09-15 07:25:57 -06:00
Matthew Flatt
9bd50695b5 scribble: fix HTML navigation when the main part has 'toc 2011-09-15 07:12:58 -06:00
Matthew Flatt
cc9514f8ca another place-channel finalization repair 2011-09-15 06:38:41 -06:00
Robby Findler
f1e960c954 adjust timeout for tests/drracket/snip/run-all.rkt 2011-09-15 06:57:44 -05:00
Eli Barzilay
3c0147bd7c Workaround for a gui instantiation problem. 2011-09-15 00:59:45 -04:00