Matthew Flatt
37823107d1
convert C++-style comments to C-style comments
...
As far as I know, "//" isn't a C comment form, although
MSVC and gcc both accept it.
2011-09-20 16:12:59 -06:00
Ryan Culpepper
98f7907258
disable debugging code accidentally left in
2011-09-20 15:52:29 -06:00
Matthew Flatt
0ab6637539
remove obsolete and unused Racket-to-C compiler
...
Removes `raco ctool -e/-c', `mzc -e/-c', `compile-extensions',
`compile-extensions-to-c', `compile-c-extensions', `compiler/cffi',
`compiler/comp-unit', `compiler:inner^', and most options in
`compiler/option'.
2011-09-20 15:26:39 -06:00
Ryan Culpepper
2111f136aa
updated macro-debugger tests
2011-09-20 14:49:50 -06:00
Ryan Culpepper
43d3b5d8bc
rackunit: added #:wait? arg to test/gui
2011-09-20 14:49:49 -06:00
Ryan Culpepper
40439aa4ef
removed useless requires
2011-09-20 14:49:49 -06:00
Ryan Culpepper
30d5381e98
updated macro debugger to work with begin-for-syntax changes
...
Also cleaned up support for lazy instantiation of phase>0
environments.
2011-09-20 14:49:49 -06:00
Ryan Culpepper
350c8214f8
unstable, syntax/parse: fix phase-of-enclosing-module
...
Was broken because with begin-for-syntax, offset no longer limited
to 0 or 1. But now varrefs give module base phase directly.
2011-09-20 14:27:33 -06:00
Ryan Culpepper
095b5a5131
syntax/parse: use new primitive cross-phase identifier comparison
2011-09-20 14:27:33 -06:00
Matthew Flatt
0197902309
add var-ref->mod-decl-insp' and switch
cur-code-insp' uses
...
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.
The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Matthew Flatt
f21187248a
fix `raco setup' for a collection that disappears
2011-09-20 13:22:27 -06:00
Kevin Tew
36e53c56cb
Fix cleanup of place_obj mutex and semaphore
2011-09-20 12:04:33 -06:00
Kevin Tew
099e89a297
Fix pr 12205 pass --disable-inline and --vv options through to parallel make
2011-09-20 11:10:56 -06:00
Matthew Flatt
a7c607a708
fix module expand bug
2011-09-20 09:48:48 -06:00
Matthew Flatt
5351d4c7b9
fix gc and stack-overflow problems in JIT, module expansion & run
...
The GC problem was related to generational GC and the way constant
values are associated to JIT-generated code. See `retaining_data'.
The stack-overflow problems affects the JIT, module expansion,
and module invocation.
2011-09-20 08:34:29 -06:00
Robby Findler
2fea831663
fix bug introduced in recent commit caught by drdr
2011-09-20 06:57:02 -05:00
Robby Findler
252db20c85
add menus and keybindings for jumping around to the errors in the defs
...
window
also a little line-length shrinking
2011-09-19 22:47:47 -05:00
Matthew Flatt
df43d90513
windows: fix `copy-file' changes
2011-09-19 14:26:07 -06:00
Robby Findler
76e55071b0
use new copy-file argument that Matthew provided; this is a better fix than
...
commit f9e1c41cb0
was for the same problem
2011-09-19 15:19:04 -05:00
Casey Klein
83451fea98
Add evaluation contexts for by-need letrec calculus as an example
2011-09-19 12:20:45 -05:00
Matthew Flatt
7f887fdf60
fix problems in copy-file'; add
exists-ok?' argument
...
The non-Windows `copy-file' had a race condition, and it could
behave in bad ways if the source of a copy is not a regular
file.
2011-09-19 08:20:22 -06:00
Eli Barzilay
7513c027c9
Use "Submit to" instead of "Assignment" for the field name
...
This way it doesn't clash with courses that might use "Assignment" in
the directory names, or even a different term like "Homework".
2011-09-19 01:48:22 -04:00
Eli Barzilay
c6ad3682eb
Some racketization; rearrange and fix "client-gui.rkt" which had some
...
very broken parts.
2011-09-19 01:46:24 -04:00
Robby Findler
de62ac2f06
minor Rackety
2011-09-18 21:20:27 -05:00
Robby Findler
f9e1c41cb0
Change scribble so that is overwrites the destination file when it makes a .pdf file
...
instead of copying the file into place. This makes Lion's Preview happier (specifically
it now recognizes the file as a revision of the old one and updates itself instead of
treating it as a new file and opening a second window)
2011-09-18 21:20:27 -05:00
Matthew Flatt
e03a70025f
fix another raco setup path-normalization (especially for Windows)
2011-09-18 08:09:04 -06:00
Guillaume Marceau
9b49de16e7
Fixed 'reference to an identifier before its definition' error in *SL.
2011-09-17 22:37:45 -04:00
Kevin Tew
14014b3d36
Add place ffi, fd, and port changes to HISTORY.txt
2011-09-17 12:52:40 -06:00
Matthew Flatt
f280fb14b4
places: doc repair, refine error checking, fix a test
2011-09-17 07:29:07 -06:00
Matthew Flatt
48fdcdd65d
fix a path test for windows
2011-09-17 07:29:07 -06:00
Matthew Flatt
376efea754
doc clarifications and tests for some file-locking corners
2011-09-17 07:29:07 -06:00
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