Matthew Flatt
f02ea92250
fix compiler bug related to `#%variable-reference' on local
...
The first compiler pass didn't properly shift the stack offset
when adjusting the context of a varref of a local.
Closes PR 12258
2011-10-07 09:42:33 -06:00
Matthew Flatt
add50ab436
cocoa: undo hack of "-64" suffix on app names
...
Commit 60101618db
seems to address the real problem.
2011-10-07 08:05:25 -06:00
Kevin Tew
d3037adbc0
QNX porting
2011-10-06 10:50:37 -06:00
Eli Barzilay
5ba73a6ab2
New Racket version 5.1.3.12.
2011-10-06 03:50:18 -04:00
Matthew Flatt
7680adf486
fix compiler bug related to lifting and unbox flonums
...
As variables are dropped for lifted functions, the bitmap
for flonum closure variables was not shifted down by the
number of dropped variables.
Closes PR 12259
2011-10-05 19:25:59 -06:00
Matthew Flatt
97d0df94bb
fix "configure" and "configure.ac" for libfit
2011-10-05 11:41:05 -06:00
Neil Toronto
d3b5e21cae
Added new plot library and old libfit (which plot still depends on)
2011-10-05 10:26:49 -06:00
Matthew Flatt
ec380e34ed
remove built-in reader and printing support for Honu
...
This is a backward-incompatible change, but I think it's
unlikely that any code depends on the removed bindings
or reader syntax.
2011-10-05 09:40:27 -06:00
Matthew Flatt
6a8d3c34f1
win64: avoid msvcr90.dll
...
The libjpeg, libeay, and ssleay libraries for Win64 linked to
msvcr90.dll, because of the way that they were compiled with
MSVC 2008, but msvcr90.dll is not included with Win7, and
redistributing it is problematic. The new variants of the libraries
link instead of msvcrt.dll --- which you're not supposed to do
according to MS, but that's the way libraries like Gtk are
built, and it seems to be the right approach. See also
http://kobyk.wordpress.com/2007/07/20/dynamically-linking-with-msvcrtdll-using-visual-c-2005/
I built libjpeg-8, while the other two are courtesey of
http://www.indyproject.org .
Closes PR 12246
2011-10-05 06:28:31 -06:00
Matthew Flatt
2262cd4424
windows: assume 1MB stack, but try to read actual from executable
2011-10-05 06:28:29 -06:00
Eli Barzilay
7ad7857ce2
Fixed "src/configure".
...
(Turns out that editing configure by hand is not a good idea...)
Also a random racket comment.
2011-10-05 04:55:25 -04:00
Eli Barzilay
e01e46b772
Removed the `plot' collection, in preparation for adding the new one instead.
2011-10-05 04:09:10 -04:00
Matthew Flatt
80ca2b34ff
fix reference to statics meant to be adjusted by `raco exe'
2011-10-03 09:05:02 -06:00
Matthew Flatt
a0378d956a
fix place refcount
...
Originally, the refcount was either 0, 1, or 2, so a `char' was
enough. It's not enough now that place channels increment the
refcount.
2011-10-03 06:39:18 -06:00
Matthew Flatt
664b95465d
fix potential refcount bug
...
In the unlikely case that a receiving place ends while a
message is being sent.
2011-10-03 06:39:18 -06:00
Matthew Flatt
430474f4fa
fix GC log value
2011-10-01 07:41:58 -06:00
Kevin Tew
e650764a4c
place-channel? returns #t for place descriptors, doc clarification
2011-09-30 17:15:11 -06:00
Kevin Tew
a7b0c33896
QNX porting
2011-09-30 17:03:50 -06:00
Matthew Flatt
035ab04b67
PPC JIT fix
2011-09-30 07:55:33 -06:00
Eli Barzilay
3441d0f7d0
New Racket version 5.1.3.11.
2011-09-30 03:50:17 -04:00
Matthew Flatt
99fe14b080
fix problems with phase-1 syntax definitions
...
Closes PR 12234
2011-09-29 16:54:08 -06:00
Matthew Flatt
a857e9e041
fix JIT bug in `fl->fx'
...
For the case that the argument is unboxed.
Closes PR 12240
2011-09-29 16:54:08 -06:00
Matthew Flatt
73071ad186
improve GC logging (3m)
...
Show process time of start of GC and otherwise adjust to make
the output more compact, and attach a prefab struct to the
logged message to report all available data in Racket form
(including real start and end times, which are not shown in
the output).
2011-09-29 16:54:08 -06:00
Kevin Tew
f2b7d1eca3
Start of port to QNX
2011-09-29 14:42:04 -06:00
Kevin Tew
dc481d2d20
Fix place crash due to race condition
2011-09-29 13:45:25 -06:00
Matthew Flatt
ac8990d519
add date*' and
exn:fail:syntax:unbound'
...
The `date*' structure type is an extension of `date' with
`nanosecond' and `time-zone-name' fields.
The `seconds->date' function now accepts a real and returns a
`date*'. The fractional part of its argument goes into the
`nanosecond' field.
2011-09-29 09:22:10 -06:00
Matthew Flatt
58097a12fe
inside: export scheme_alloc_flvector() and scheme_alloc_fxvector()
2011-09-29 09:14:00 -06:00
Kevin Tew
95037828f7
Place channels correctly use refcount on place_objects
2011-09-28 13:15:46 -06:00
Matthew Flatt
2ae6d0c55f
fix expand of `#%variable-reference' on local variable
...
Closes PR 12231
2011-09-27 18:53:28 -06:00
Kevin Tew
3e830712aa
fix uninitialized variable messages
2011-09-27 10:26:30 -06:00
Matthew Flatt
f9dabb8994
add -J/--wm-class argument to set the WM_CLASS class on Unix
2011-09-26 18:07:18 -06:00
Matthew Flatt
1ae6cc0505
change `syntax-local-lift-module-end-declaration' for phase N
...
Lift to the end of the module, instead of the end of the
enclosing `begin-for-syntax'.
Also, fix a bug in phase 2+ visits.
2011-09-24 22:30:56 +09:00
Matthew Flatt
051f164f3f
fix parsing of protect-out' on
for-syntax' bindings
2011-09-24 22:30:56 +09:00
Eli Barzilay
5024b690ca
New Racket version 5.1.3.10.
2011-09-21 03:50:16 -04:00
Matthew Flatt
6e6e30a73a
don't check for future or foreign work in atomic mode
2011-09-20 16:12:59 -06:00
Matthew Flatt
27be90e7b7
adjust cycle-detection valeu to avoid fixnum encoding
...
Just in case.
2011-09-20 16:12:59 -06:00
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
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
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
Kevin Tew
36e53c56cb
Fix cleanup of place_obj mutex and semaphore
2011-09-20 12:04:33 -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
Matthew Flatt
df43d90513
windows: fix `copy-file' changes
2011-09-19 14:26:07 -06: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
Matthew Flatt
6401b30399
fix winsock init and shutdown for places
2011-09-16 18:03:32 -06:00
Matthew Flatt
dcda2b60d3
fix write() and read() calls for in-thread gethostbyname()
2011-09-16 16:42:14 -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
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