Commit Graph

3283 Commits

Author SHA1 Message Date
Matthew Flatt
6041833ac5 fsemaphore cleanup
- abstract over JIT inlining of fsemaphore operations
 - fix problems with non-parallel fsemaphores
 - adjust tests so they don't assume too much concurrency
 - clarify fsemaphore vs. semaphore in the docs
2011-02-18 09:55:01 -07:00
James Swaine
ca5c061a71 Fix fsemaphore-try-wait? so the sema's count is decremented. Make fsemaphore-wait and other futures-related functions cooperate with the GC better. 2011-02-16 21:14:14 -06:00
James Swaine
825a931ffa Fix MSVC compiler errors for fsemaphore code generation 2011-02-16 15:39:45 -06:00
Matthew Flatt
90b8296c8f fix minor problems that trigger C-compiler warnings 2011-02-16 13:19:56 -07:00
James Swaine
c6642de116 Added future semaphores (fsemaphores) 2011-02-15 23:27:03 -06:00
James Swaine
a98553f99b Merge branch 'master' of pltgit:plt 2011-02-15 22:58:08 -06:00
Kevin Tew
156153f692 calling sync on a place-channel now returns the channel message just like standard racket channels 2011-02-15 13:53:01 -07:00
James Swaine
f9c12f9e58 Merge branch 'master' of pltgit:plt 2011-02-14 14:02:47 -06:00
Matthew Flatt
8c0d19fb12 fix `configure' for 64-bit Mac OS X kernel 2011-02-11 06:37:34 -07:00
James Swaine
19dbee0405 Added semaphores for futures 2011-02-08 17:58:02 -06:00
James Swaine
0a73a9d5a1 Added semaphores for futures 2011-02-08 17:55:12 -06:00
Matthew Flatt
3e38071dae fix scheduler's support for `ffi/unsafe/try-atomic'
where problems with abort-without-dynamic-wind mode caused
  a spurious trigger of nack evts
 Merge to 5.1
2011-02-05 16:48:39 -07:00
Matthew Flatt
da6d4f3fba futures: fix `future' when given a non-JITted procedure
Merge to 5.1
2011-02-05 06:43:09 -07:00
Matthew Flatt
7579b48791 futures: fix lightweight-continuation GC bug
Merge to 5.1
2011-02-05 06:43:08 -07:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Kevin Tew
528948291d Fix creation of types and events after the master gc has been switched out 2011-02-03 13:14:45 -07:00
Matthew Flatt
309e1aec4f re-generate `configure' script
Merge to 5.1, along with e91f243b64
2011-02-02 16:10:40 -07:00
Matthew Flatt
9d204c01cf fix problem with allocation while holding a future lock
Merge to 5.1
2011-02-02 16:09:45 -07:00
Eli Barzilay
e91f243b64 Avoid compiling plot if the source directory is missing 2011-02-02 16:09:49 -05:00
Vincent St-Amour
62327c5f50 Fix make-->vector doc typo.
Closes PR 11698.

Merge to 5.1.
2011-02-02 14:00:14 -05:00
Matthew Flatt
9134aa4ee8 add missing mutex unlock in error path
Merge to 5.1
2011-02-01 19:37:02 -07:00
Vincent St-Amour
a0e6d67db2 Fix build when disabling single-precision floats. 2011-02-01 18:00:26 -05:00
Kevin Tew
9f51cb838f Fix used_pages count for place channel messages 2011-02-01 09:17:41 -07:00
Eli Barzilay
60bb91fd30 New Racket version 5.1.0.2. 2011-02-01 03:50:12 -05:00
Matthew Flatt
dfa36afa89 change `floating-point-bytes->real' to always produce a flonum 2011-01-31 19:52:50 -07:00
Matthew Flatt
ff0a591b7b change FFI `_float' to coerce to Racket double-precision flonum 2011-01-31 19:33:07 -07:00
Matthew Flatt
3ef32d915b make inexacts `eqv?' only when precision is the same
plus some other small fixes
2011-01-31 19:16:33 -07:00
Matthew Flatt
dc49e6a364 fix configure reporting of --disable-float 2011-01-31 19:16:07 -07:00
Matthew Flatt
fad0224259 fix mysterx for single-precision floats 2011-01-31 19:15:31 -07:00
Matthew Flatt
1e09a544a6 adjust _float' and _double' FFI types to accept any inexact real
whether single-precision or double-precision
2011-01-31 18:04:05 -07:00
Matthew Flatt
f9bcdc9baf move float config to "mzconfig.h"; enable by default for Windows 2011-01-31 17:51:09 -07:00
Vincent St-Amour
e65b206e6e Add functions to convert back and forth between floating-point representations. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
03ec1ec501 Add a single-flonum? predicate to test for single-precision floats. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
ac76d963b0 Enable single-precision floats by default. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
c997ae139b Single-precision floats now print differently from their double-precision
counterparts.
2011-01-31 16:39:16 -05:00
Vincent St-Amour
d220e0a10b Add read syntax for single-precision float specials. 2011-01-31 16:39:16 -05:00
Matthew Flatt
dd5f0dfc80 fix `read-language' exn construction in an EOF case
Closes PR 11683
 Merge to 5.1
2011-01-31 06:49:13 -07:00
Matthew Flatt
bc5ab1e031 fix problems with `read-language' error reporting 2011-01-30 07:47:46 -06:00
Eli Barzilay
c945f5d27d New Racket version 5.1.0.1. 2011-01-30 03:50:12 -05:00
Matthew Flatt
0e169cfbb7 fix version number 2011-01-29 13:39:34 -06:00
Eli Barzilay
f190e3efec Post-release version for the v5.1 release 2011-01-29 13:04:18 -05:00
Matthew Flatt
b5bc288f67 Windows: fix `path-list-string->path-list' to throw away quotes
--- which seems to be what the command shell does with quotes in
 PATH, at least; Microsoft isn't in the habit of documenting this
 sort of thing
2011-01-25 20:30:33 -07:00
Eli Barzilay
1e2a6ffd60 New Racket version 5.0.99.7. 2011-01-25 03:50:12 -05:00
Matthew Flatt
5e3dbbc3f8 change gracket -z' to just use read-eval-print-loop'
instead of `textual-read-eval-print-loop'
2011-01-24 19:47:21 -07:00
Matthew Flatt
069a7c2b48 add current-get-interaction-input-port' and adjust racket/gui'
so that GUI events are dispatched while a REPL is blocked on input
2011-01-24 19:47:20 -07:00
Vincent St-Amour
dfac6641f7 Typo. 2011-01-24 17:00:55 -05:00
Matthew Flatt
f36db863bb refine `char-graphic?' to include all chars in L and N categories
Closes PR 11664
2011-01-24 07:08:11 -07:00
Matthew Flatt
0c193a599a fix uncaught-exception-handler handling of non-escaping escape handler
and change the emergency error display handler to log and error
 Closes PR 11630
2011-01-20 14:01:33 -07:00
Matthew Flatt
6b115ecf33 fix glib log-message construction 2011-01-18 11:02:46 -07:00
Matthew Flatt
07a7916142 fix string-ref' and bytes-ref' error message
Closes PR 11064, since the problem that triggered the bad
 error message is also fixed
2011-01-16 20:00:39 -07:00
Matthew Flatt
21eee45a48 fix `read-language' when input has only comments 2011-01-16 19:01:45 -07:00
Robby Findler
1f66d545c0 adjust build.bat to respect PLT_SETUP_OPTIONS
closes PR 11629
2011-01-15 19:22:44 -06:00
Matthew Flatt
6e65311702 fix scheduler interaction with atomic mode 2011-01-15 16:46:33 -07:00
Matthew Flatt
c2afc03b3b fix interaction of `continuation-mark-set-first' and prompts
including a documentation fix
2011-01-15 08:05:55 -07:00
Matthew Flatt
84237c2cf3 fix optimizer bug that can attempt infinite unrolling of loops 2011-01-13 12:48:44 -07:00
Matthew Flatt
79cd92859c disable user-specific setup on `make install' by default
and add a `--enable-userspecific' flag for `configure'
2011-01-13 10:59:20 -07:00
Matthew Flatt
be1046baa1 fix GC log printout 2011-01-10 06:43:27 -07:00
Matthew Flatt
ea51d32e9d fix subprocess checking when the process moves itself to a new group
Closes PR 11200
2011-01-08 10:29:32 -07:00
Vincent St-Amour
b32287fa2d Fixed a bug with complex numbers made from floats of differing precision.
It used to be that constructing complex numbers from a float and a
double sometimes caused incorrect coercions.
2011-01-05 14:42:31 -05:00
Vincent St-Amour
2bf83832b9 Fix zero? error message. Accepts any number, not just reals. 2011-01-05 14:42:31 -05:00
Matthew Flatt
dd0b41d974 linux: reset to extended-precision fp before calling pow() 2011-01-04 16:13:02 -07:00
Matthew Flatt
e88c2142e6 some intptr_t printf fixes 2011-01-04 16:12:12 -07:00
Matthew Flatt
13ddab969b enable ptherads by default for OpenBSD 2011-01-04 12:44:36 -07:00
Matthew Flatt
cd676fe81c another context-cache repair 2011-01-03 18:04:11 -07:00
Matthew Flatt
c5de056da5 another continuation-context caching repair
because the previous repair essentially disabled caching
2011-01-02 16:38:25 -07:00
Matthew Flatt
a226abec59 fix entry loss in continuation-context caching 2011-01-02 16:04:26 -07:00
Matthew Flatt
dbd8faee1b fix scheduler bug
where the particular combination of events seems not
 to have been possible until the extra delim-cont
 for try-atomic hook was added
2011-01-02 09:24:15 -07:00
Matthew Flatt
bdc0d2c862 like f57b431c2e (missed other case) 2011-01-01 08:22:17 -07:00
Eli Barzilay
7cac1f6ac2 New Racket version 5.0.99.6. 2011-01-01 03:50:21 -05:00
Matthew Flatt
44cf598298 win32 file locking 2010-12-31 14:40:39 -07:00
Matthew Flatt
55693e090f add port-try-file-lock?' and port-file-unlock' 2010-12-31 14:40:27 -07:00
Eli Barzilay
1f49e35b21 2010 -> 2011 2010-12-31 15:59:39 -05:00
Eli Barzilay
e2cc0942cc Attempt to make some ignore files more robust 2010-12-31 15:59:39 -05:00
Matthew Flatt
e094cf4e51 win64: fix external reference to thread-locals 2010-12-31 07:42:40 -07:00
Matthew Flatt
42794ee337 rollback win32 transaction experiment 2010-12-30 17:31:05 -07:00
Matthew Flatt
4b1ead5bfe win64: stubs for stack-unwind support 2010-12-30 10:48:15 -07:00
Matthew Flatt
678bfa7fca win32: fix transaction creation 2010-12-30 10:43:52 -07:00
Matthew Flatt
05046c07a8 win32: implement 'rename-file-or-directory' with transactions, if available 2010-12-30 09:30:28 -07:00
Matthew Flatt
f57b431c2e JIT: although `values' is inlined, don't count it as "simple" 2010-12-29 10:39:37 -07:00
Matthew Flatt
3b032893c1 don't JIT-inline `values' in a single-value position 2010-12-28 17:47:03 -07:00
Matthew Flatt
84a4f3f006 remove a forced GC (surely a bad idea) in the weak-hash implementation 2010-12-28 16:16:24 -07:00
Matthew Flatt
3e3ed33cbf detect and report a case of deadlock 2010-12-28 11:09:45 -07:00
Matthew Flatt
51ff346e2f clarify mutual exclusion of gtk logging cases 2010-12-27 17:43:36 -07:00
Matthew Flatt
705b11f2b8 a prompt-test fix like the previous one, but for post thunks 2010-12-27 15:24:33 -07:00
Matthew Flatt
0d3fbb11fa supress a prompt test that doesn't apply to composable continuations 2010-12-26 16:21:28 -06:00
Matthew Flatt
0fd9a76081 VS SGC build 2010-12-26 09:35:26 -07:00
Matthew Flatt
b404ef9970 fix JIT bug related to 'apply' 2010-12-26 09:35:25 -07:00
Matthew Flatt
1c479bb0fb SGC fixes for Win32 2010-12-26 09:35:23 -07:00
Matthew Flatt
76b475aa27 avoid compiler warnings 2010-12-26 06:47:53 -06:00
Matthew Flatt
4094bd33f0 fix allocation bug in logging-message construction 2010-12-26 06:47:52 -06:00
Matthew Flatt
f11e66fd71 fix sgcdebug configuration 2010-12-26 06:47:51 -06:00
Matthew Flatt
e77917db8c fix another continuation bug discovered by Casey's random testing 2010-12-25 17:12:33 -06:00
Matthew Flatt
e7b52bf10f fix ffi handling of non-GCable pointers with offsets
Closes PR 11567
2010-12-25 09:34:07 -06:00
Matthew Flatt
78b2e47541 fix more try-atomic problems 2010-12-21 18:45:36 -07:00
Matthew Flatt
391e7f486f fix signedness bug in GC
which fixes memory accounting in particular
2010-12-21 12:39:18 -06:00
Matthew Flatt
ad890077d0 JIT-inline `values' and make it synced (not "unsafe") for futures 2010-12-21 11:06:35 -06:00
Matthew Flatt
17c802c2e1 compiler: (let ([x (begin M ... N)]) P) => (begin M ... (let ([x N]) P)) 2010-12-21 11:06:35 -06:00
Eli Barzilay
3751452530 New Racket version 5.0.99.5. 2010-12-16 03:50:17 -05:00
Matthew Flatt
31906d6261 route glib logging to Racket logging 2010-12-15 12:25:45 -07:00
Matthew Flatt
7f5ac2b7f9 restore Win64 fix to FFI
that I had improperly added to "foreign.c" instead of the source
2010-12-14 07:53:19 -07:00
Matthew Flatt
3b4a1c4e94 fix some GC-related problems
due to pointer fields in GC-allocated structures that do not refer
 to GC-allocated memory; if the corresponding memory is free()ed and
 then the GC later takes over the same page of memory, then bad
 things can happen; some of the problems were crashing the Windows
 port while running the 2htdp image tests
2010-12-14 05:53:48 -07:00
Matthew Flatt
790a91e520 fix minor potential GC bugs and add some debugging support 2010-12-13 16:31:13 -07:00
Matthew Flatt
04d1397825 yet another PRIdPTR fix 2010-12-13 16:31:13 -07:00
Matthew Flatt
8bfb7de833 revert overzealous printf format conversion 2010-12-12 14:06:33 -07:00
Matthew Flatt
f3c695e3df fix intptr_t printf template for Windows 2010-12-12 08:50:26 -07:00
Matthew Flatt
526c700411 fix more intptr printfs 2010-12-12 08:35:15 -07:00
Matthew Flatt
f9fb041598 use inttypes.h and PTIdPTR 2010-12-12 08:24:20 -07:00
Matthew Flatt
2906a6d750 mzcom minor clean-up 2010-12-11 06:37:44 -07:00
Robby Findler
6c75bda403 fix shadowed var 2010-12-10 20:36:31 -06:00
Matthew Flatt
2ae9f14f9e fix exn raised in refab-struct read errors
Closes PR 11530
2010-12-10 18:33:44 -07:00
Matthew Flatt
2b4f1a6908 extend `sync/timeout' to allow a tail-position fail thunk for polling 2010-12-10 18:06:21 -07:00
Matthew Flatt
f4f2b7c533 fix bug in macro expander 2010-12-10 13:41:05 -07:00
Eli Barzilay
adb657fc5f Bump _WIN32_WINNT to 0x0501, since that's what the compiler recommends to do
when it complains about a value that is too low.

This complaint happens when building with 2010 -- I resolved these
complaints (here and in mysterx) by adding the definition to the vcxproj
files, but the 3m compilation still needs it.

For the record, the error text is:

  C:\Program Files\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE\atlcore.h(35) : fatal error C1189: #error :  This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.
2010-12-10 03:54:02 -05:00
Eli Barzilay
a8bf338962 Attempt to fix "libffi.vcxproj".
* Sorted out mess for output directories and commands.
* Minimized some redundant repetitions.
* Used consistent OutDir and IntDir directories.
2010-12-10 03:19:01 -05:00
Eli Barzilay
aa58d1773d Make "gc2/make.rkt" look for "win32/release" directories.
I made the 2010 project files use a consistent path of
  $(Platform)\$(Configuration)\
so make this script look for "win32/release" before just "release".  (It
would be better to do the same in the 2008 project files.)
2010-12-10 02:20:36 -05:00
Matthew Flatt
24a4fe52c7 typo 2010-12-09 20:08:35 -07:00
Eli Barzilay
9dc8cb8152 Solution and project files for Visual Studio 2010. 2010-12-09 10:59:49 -05:00
Eli Barzilay
a7ef05d749 Remove wxwindow includes that are now gone. 2010-12-08 22:13:38 -05:00
Eli Barzilay
977dbfcdf4 add missing include directories for debug mode 2010-12-08 22:10:21 -05:00
Matthew Flatt
4b89dde511 win32: fix libffi assembly command line 2010-12-07 12:21:18 -07:00
Matthew Flatt
43664610c7 mysterx fix for VS 2008 2010-12-06 15:00:59 -07:00
Eli Barzilay
49b9f42ae7 Remove the VCWebServiceProxyGeneratorTool tool, since the 2010 version says it is no longer supported. 2010-12-06 10:22:56 -05:00
Matthew Flatt
8913de4d95 more little project fixes 2010-12-06 07:31:19 -07:00
Matthew Flatt
2cc6a4f7af win32: fix a type 2010-12-06 07:27:40 -07:00
Matthew Flatt
336eb4329e fix mysterx output dir 2010-12-06 07:02:03 -07:00
Matthew Flatt
b7892a3404 msvc project: fix include dirs for Debug configurations 2010-12-06 06:33:07 -07:00
Matthew Flatt
011fa0bb90 improve build.bat and related clean-up 2010-12-06 06:25:39 -07:00
Matthew Flatt
9dc827dec3 win64: futures 2010-12-05 20:42:47 -07:00
Matthew Flatt
ff6172c44b fix futures for CGC, where lightweight continuations are disabled 2010-12-05 13:13:16 -07:00
Matthew Flatt
8b49d11706 win64: mysterx and mzcom 2010-12-05 07:46:46 -07:00
Matthew Flatt
1f736f4ad8 win64: fix fixnum printing 2010-12-04 18:36:33 -07:00
Matthew Flatt
327b7ac6a1 unbreak Windows build
Reverses part of Mike's change for FreeBSD,
 but I still think that mzconfig.h should have
 covered that part of the FreeBSD problem
2010-12-04 18:36:32 -07:00
Matthew Flatt
fda0228631 fix broken inexact-reader configuration
Closes PR 11496
2010-12-04 16:22:17 -07:00
Matthew Flatt
e2429e8362 sync with schemef.h change 2010-12-04 16:21:10 -07:00
Mike Sperber
d8927ddd73 Unbreak build in FreeBSD.
One missing include, and two prototype conflicts.

--HG--
extra : rebase_source : 3c1c33cda0628e1351bd6dad5f6e1e03b5acd03a
2010-12-04 17:28:49 +01:00
Matthew Flatt
a56e547db6 win64: racket/draw and racket/gui 2010-12-04 08:29:34 -07:00
Matthew Flatt
c9e1bb2c46 fix printf configuration 2010-12-04 06:36:12 -07:00
Matthew Flatt
5065f39dec win64: racket3m 2010-12-03 22:35:38 -07:00
Matthew Flatt
52f0a8cf5e fix some integer-type mismatches 2010-12-03 20:26:26 -07:00
Matthew Flatt
7319b539f0 win64: initial CGC build 2010-12-03 20:11:53 -07:00
Matthew Flatt
8388f28f33 switch windows build to main libffi sources 2010-12-03 14:21:31 -07:00
Matthew Flatt
116d88577e restore old behavior of _fixint' and _ufixint'
Closes PR 11492
2010-12-03 14:20:38 -07:00
Matthew Flatt
3d3d71de00 fix sgc build 2010-12-03 09:14:19 -07:00
Matthew Flatt
b86349ad72 include <stdint.h> to get intptr_t 2010-12-03 09:11:11 -07:00
Matthew Flatt
8b8dd77ad6 change nearly all long's to intptr_t'
and also changed vector, string, and byte string counts to
   `intptr_t' instead of `int'.

   Except for the vector count, etc. change, this is not really a
   change for any currently supported platform, where `intptr_t'
   is the same as `long'. It's a step to suporting Win64, though,
   where `long' is the same as `int' instead of `intptr_t'.
2010-12-03 08:48:33 -07:00
Matthew Flatt
ffb56642de win32: upgrade projects to VS 2008 2010-12-03 08:00:11 -07:00
Eli Barzilay
3419b747b6 Add trustInfo to avoid UAC, commented out for now. 2010-12-02 07:31:00 -05:00
Eli Barzilay
39806412ce Indent manifest files. 2010-12-02 07:31:00 -05:00
Eli Barzilay
170905d332 New Racket version 5.0.99.4. 2010-12-02 03:50:10 -05:00
Kevin Tew
7d8c520480 Remove unused variable 2010-12-01 15:18:13 -07:00
Matthew Flatt
391adfcd3a fix chaperone bug in `checked-procedure-check-and-extract' 2010-12-01 11:10:38 -07:00
Matthew Flatt
082515d6db fix namespace-anchor on non-module namespaces 2010-12-01 06:52:11 -07:00
Eli Barzilay
5e5678b29d New Racket version 5.0.99.4. 2010-12-01 03:50:10 -05:00
Matthew Flatt
d95e6f35c1 clean up 2010-11-30 15:51:12 -07:00
Matthew Flatt
ca8b32725e fix bloking operations during a try-atomic
and remove old delim-cont support used by gr1
2010-11-30 15:08:16 -07:00
Eli Barzilay
8903d1b5c9 Patch Racket manifest file too. 2010-11-30 05:15:12 -05:00
Matthew Flatt
0b19c6e798 fix bug in composable continuations
--- as deiscovered by Casey's random tester
2010-11-27 09:52:11 -07:00
Matthew Flatt
5aff70029a centralize glib loading as used by racket/draw and Gtk racket/gui 2010-11-26 11:20:15 -07:00
Matthew Flatt
0540359965 fix GC handling of cpointers with offsets 2010-11-25 10:38:43 -07:00
Eli Barzilay
41d6459e9d New Racket version 5.0.99.3. 2010-11-25 11:00:41 -05:00
Matthew Flatt
aaa39873db v5.0.99.3 2010-11-25 08:50:37 -07:00
Matthew Flatt
1034c9be4e fix hashing on C pointers and missing tests 2010-11-24 15:44:18 -07:00
Matthew Flatt
bd28f2ab54 make `equal?' equate C pointers that refer to the same address 2010-11-24 13:41:11 -07:00
Matthew Flatt
142cdb800f fix GC interaction for non-Racket thread and #:async-apply callbacks 2010-11-23 09:39:38 -07:00
James Swaine
dd44053911 Add execution time logging for futures. 2010-11-22 14:23:05 -06:00
Matthew Flatt
1762a9a872 fix set!' of define-for-syntax'ed varable in `let-syntax' RHS 2010-11-16 20:18:11 -07:00
Matthew Flatt
a8b318da7a fix ffi issue with pointer vs. gcpointer
- don't put a non-gcpointer into a pointer array during ffi call setup
 - fix GCness of pointers to structs inside of structs
2010-11-14 15:54:17 -07:00
Eli Barzilay
4d2e0e4486 Fix bug 2010-11-13 09:39:51 -05:00
Eli Barzilay
885fa11bfe Change the library download procedure.
Instead of downloading to the build directory and then copy files from
there to the target, download directly to the target.  This way no
downloading is necessary when people use a fresh build directory.
2010-11-13 01:27:15 -05:00
Matthew Flatt
42a4465fb0 fix bytecode compiler bugs in tracking known-flonum arguments 2010-11-12 15:28:57 -07:00
Matthew Flatt
dc64b01015 tweak JIT generation of fixnum mult with a constant argument 2010-11-12 15:28:57 -07:00
Jay McCarthy
022d289059 Removing compiler warnings. I think most of the effected code is not even used in Racket 2010-11-11 15:59:50 -07:00
Matthew Flatt
635ba4537e flonum unboxing repairs
- fix bytecode compiler's detection that fl+, etc. want flonum args
 - fix JIT handling of known-flonum arguments in recursive self calls
   where the argument would normally be cleared from the runstack
2010-11-11 14:39:45 -07:00
Eli Barzilay
e3592e10a8 Remove all mentions of UnicoWS.
Also, get rid of "uniplt.c", and fix "src/racket/src/string.c" and
"src/gracket/grmain.c" to use CharLowerBuffW().
2010-11-10 23:48:35 -05:00
Eli Barzilay
d58395cd0b Provide library lists out of "get-libs.rkt" and make it possible to require it
without doing anything, use this in the distribution specs to include them.
2010-11-10 23:44:36 -05:00
Eli Barzilay
6a997be578 Make get-libs retreive core racket libraries too.
Also move it up a level, since it's a more generic tool now.
2010-11-10 20:40:49 -05:00
Eli Barzilay
614f100e8f Move "src/worksp/extradlls" to libs. 2010-11-10 20:40:48 -05:00
Matthew Flatt
8d1827222c improve docs in 'interior allocation mode and improve 'interior-atomic 2010-11-10 09:18:31 -07:00
Matthew Flatt
11f45cd2fd fix plot build to use CC from Makefiles; fix fallout in Mac build
to clean up the hack of putting -m32 in CC instead of CFLAGS
2010-11-10 07:20:35 -07:00
Eli Barzilay
8e0c7477f6 drop "www." from "racket-lang.org" urls. 2010-11-09 20:11:14 -05:00
Matthew Flatt
a0a414465d fix problem with multiple captures of the same continuation
--- a bug introduced when enabling full continuations
     to escape past continuation barriers in v5.0.1
 Closes PR 11409
2010-11-09 16:48:23 -07:00
Matthew Flatt
fc111f8909 pass CFLAGS and LDFLAGS along for plot library build 2010-11-09 06:55:37 -07:00
Eli Barzilay
015c3cc052 New Racket version 5.0.99.2. 2010-11-09 03:50:12 -05:00
Matthew Flatt
0a179481a5 fix continuation capture in continuation transferred to a thread
where the prompt is the implicit one at the thread's creation
 Closes PR 11382
2010-11-08 18:06:07 -07:00
Matthew Flatt
90ac279096 add 'can-impersonate option to `make-struct-type-property' 2010-11-08 14:00:59 -07:00
Jay McCarthy
f8ca8f3677 Fixing undefined in unpack-tgz 2010-11-08 09:38:24 -07:00
Eli Barzilay
3de1b31eaf Use `find-executable-path' to find a tar executable, wait for it to finish. 2010-11-08 10:10:54 -05:00
Matthew Flatt
5354e557d4 simplify plot-lib build
--- slower, but less of a hack
2010-11-08 06:31:46 -07:00
Matthew Flatt
7f67b6569c v5.0.99.2: proxy' -> impersonator' 2010-11-08 06:23:16 -07:00
Matthew Flatt
81488335cd fix .tgz file sizes in get-libs and fix download to check size 2010-11-08 06:09:32 -07:00
Matthew Flatt
e402d68efc fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
Matthew Flatt
7a2cee44cd fix `install-both' makefile target 2010-11-07 05:07:14 -07:00
Matthew Flatt
cccfdbe2c4 misc clean-up related to build changes 2010-11-06 22:08:15 -06:00
Matthew Flatt
5247073c53 add plot libs to win32 binary lib list 2010-11-06 18:49:45 -06:00
Matthew Flatt
514706446e overhaul plot organization
by moving needed C source to src/plot and building during `make',
 but stripping out the copies of gd, png, and zlib; instead, hook
 a dc<%>-based back end into plot
2010-11-06 16:54:29 -06:00
Eli Barzilay
b212a4a39d New Racket version 5.0.99.1. 2010-11-06 03:50:28 -04:00
Matthew Flatt
d065fb39e1 remove OpenGL testing from configure script 2010-11-05 19:20:59 -06:00
Matthew Flatt
263000a7b8 v5.0.99.1 2010-11-05 15:54:56 -06:00
Matthew Flatt
7a3e132a96 switch lib download site to download.racket-lang.org 2010-11-05 15:54:56 -06:00
Matthew Flatt
ecefaeee8b remove more obsolete code 2010-11-05 15:54:52 -06:00
Matthew Flatt
fddcdcf797 fix gracketcgc link line 2010-11-05 15:54:52 -06:00
Matthew Flatt
58e1e37734 fix bug in ffi struct alignment 2010-11-05 15:54:51 -06:00
Eli Barzilay
3143192713 New Racket version 5.0.2.2. 2010-11-05 15:54:51 -06:00
Matthew Flatt
89e8801a26 v5.0.2.2 2010-11-05 15:54:51 -06:00
Matthew Flatt
38ead42fca remove obsolete C code 2010-11-05 15:54:51 -06:00
Matthew Flatt
05cfffdf9e v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
Matthew Flatt
901f27fcd0 finalization GC repair 2010-11-05 15:54:48 -06:00
Matthew Flatt
d2275f4179 level-2 finalization from ffi/unsafe and late-weak references 2010-11-05 15:54:47 -06:00
Matthew Flatt
40a65a46d2 overhaul GC finalization 2010-11-05 15:54:47 -06:00
Matthew Flatt
73dd8cc697 fix gc handling of ephemeron chains 2010-11-05 15:54:47 -06:00
Matthew Flatt
a7426c1c27 cocoa: fix startup -psn_ and file handling 2010-11-05 15:54:46 -06:00
Matthew Flatt
f57961fba4 cocoa ppc repairs 2010-11-05 15:54:46 -06:00
Matthew Flatt
8c5db384d4 more obj-c pre-2.0 fixes 2010-11-05 15:54:45 -06:00
Matthew Flatt
4360a45fa6 win32: single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
045da06ace gtk: command line and single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
aa1322845e disable immobile-box debugging code 2010-11-05 15:54:41 -06:00
Matthew Flatt
dd2dd733c0 win32: more break-handling repairs 2010-11-05 15:54:37 -06:00
Matthew Flatt
9702e7c6d3 win32: fix gracket console stdout, half-fix break signal 2010-11-05 15:54:37 -06:00
Matthew Flatt
815278fe43 Windows: use PLT_WIN_GTK for gtk; fix manifest embedding 2010-11-05 15:54:33 -06:00
Matthew Flatt
604afc1803 win32 widgets, mouse events, and cursors 2010-11-05 15:54:32 -06:00
Matthew Flatt
1402583ad2 win32 dialogs, etc. 2010-11-05 15:54:32 -06:00
Matthew Flatt
a853dac49f upgrade mac cairo to 1.9.14 2010-11-05 15:54:19 -06:00
Matthew Flatt
9bbe4e5095 adjust win32 lib sizes for gtk 2.16 2010-11-05 15:54:18 -06:00
Matthew Flatt
15a7a2a006 cocoa tab-panel in no-border mode uses PSMTabBarControl 2010-11-05 15:54:17 -06:00
Matthew Flatt
ff57455150 manual font substitution for Mac OS X 2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e auto-scroll canvases and frame status lines 2010-11-05 15:54:10 -06:00
Matthew Flatt
3b1b989ccc fix configure merge 2010-11-05 15:54:02 -06:00
Matthew Flatt
f158effa98 fix bad Makefile merge 2010-11-05 15:54:01 -06:00
Matthew Flatt
471a8bc1f8 fix gracket init-file path 2010-11-05 15:54:00 -06:00
Matthew Flatt
0709870ef9 Windows build and config repairs 2010-11-05 15:53:59 -06:00
Matthew Flatt
51396e2baa auto-download pre-built Win/Mac binaries during build 2010-11-05 15:53:59 -06:00
Matthew Flatt
233b131d9b clarify some notes and comments 2010-11-05 15:53:58 -06:00
Matthew Flatt
5bef90e197 instructions and script for building 3rd-party OS X libraries 2010-11-05 15:53:57 -06:00
Matthew Flatt
aabc1cf5a7 fixes for Windows 2010-11-05 15:53:56 -06:00
Matthew Flatt
f3b7e1315f gracket repair 2010-11-05 15:53:56 -06:00
Matthew Flatt
a574d9e7e4 C source and build changes to drop wx frm GRacket 2010-11-05 15:53:54 -06:00
Matthew Flatt
b489921d8b fix `[unsafe-]fl{min,max}' in nested unboxed position 2010-11-04 14:10:27 -06:00
Kevin Tew
f4165eef31 [Places] add void to allowed messages 2010-11-04 09:31:33 -06:00
Matthew Flatt
aaafe86dd0 fix JIT bug related to ignored `let' bindings
Closes PR 11380
2010-11-03 06:48:47 -06:00
Matthew Flatt
44be06121c fix JIT check for composing arithemtic with flonums in registers 2010-11-02 14:04:43 -06:00
Matthew Flatt
2a2aede4c5 avoid JIT internal error for misuse of unsafe flonum args 2010-11-02 13:39:28 -06:00
Kevin Tew
578b2d846b [Places] fxvector support, fix compiler warning 2010-11-02 12:46:44 -06:00
Jay McCarthy
51f56c84f6 Fixing warning 2010-11-01 10:23:19 -06:00
Blake Johnson
7bffbc31a2 Avoiding cycles in everything but closures 2010-10-29 19:50:11 -06:00
Matthew Flatt
5d8e000d6d swap vector*-ref' and vector-ref', etc.
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Matthew Flatt
802e27eb85 fix typo in CPP macro
Merge to 5.0.2
2010-10-25 06:37:22 -06:00
Kevin Tew
9088b47a1d [Places] fixes 2010-10-22 21:48:13 -06:00
Kevin Tew
c1f2dea1ed cpuid assembly fix Merge to 5.0.2 2010-10-22 21:21:38 -06:00
Matthew Flatt
c512dbd6d3 fix bogus reordering of floating-point args in unboxing mode
Merge to 5.0.2
 Closes PR 11272
2010-10-22 21:19:18 -06:00
Matthew Flatt
93ba544c60 fix PPC JIT `vector-length'
Merge to 5.0.2
2010-10-22 19:47:29 -06:00
Matthew Flatt
bb799ee9ee fix problem with recursive prints in custom printers
Merge to 5.0.2
2010-10-17 19:32:17 -07:00
Matthew Flatt
68079d738d fix 3m problem with --disable-jit and --disable-futures
Merge to 5.0.2
2010-10-17 08:53:44 -06:00
Matthew Flatt
aaeb21e0cc fix --disable-jit plus --disable-futures
Merge to 5.0.2
2010-10-17 08:51:32 -06:00
Matthew Flatt
51f20afd0b initialize `make-flvector' result with default 0.0s
Merge to 5.0.2
2010-10-17 06:35:09 -06:00
Eli Barzilay
f1982b6683 New Racket version 5.0.2.1. 2010-10-17 03:50:14 -04:00
Matthew Flatt
caa747e5c6 fix an interaction of `dynamic-wind' pre thunks and composable continuations
Merge to 5.0.2
2010-10-16 19:44:33 -06:00
Ryan Culpepper
23d1721ad3 Post-release version for the v5.0.2 release 2010-10-16 18:49:12 -06:00
Matthew Flatt
1203a89a0f fix argument checking for set operations, and also fix recursive print
in the case that the current print is to a string with a limited
  length
 Closes PR 11313
2010-10-13 08:50:47 -06:00
Matthew Flatt
f695848dc9 gracket break-signal repair 2010-10-13 08:50:47 -06:00
Matthew Flatt
36d437a747 fix SIGINT handling thread dependency 2010-10-13 08:50:47 -06:00
Kevin Tew
21d94d7eb5 Fix shared-flvector 2010-10-12 13:19:21 -06:00
Matthew Flatt
5e162d94e2 fix scheme_set_wakeup_time() 2010-10-12 05:55:56 -06:00
Matthew Flatt
c6d355d08d add some gc-callback protocols for win32 2010-10-10 20:39:29 -06:00
Eli Barzilay
4e841cad7f New Racket version 5.0.1.8. 2010-10-09 03:50:16 -04:00
Matthew Flatt
6ac33a62be set `read-accept-lang' to #t by default, plus related adjustments
including adding some uses of `with-module-read-parameterization'
 so that `read-accept-lang' is set right anyway; still, so many
 many places just set `read-accept-reader' to #t that making
 `read-accept-lang' #f by default looks like too big of an
 incompatibility
2010-10-08 19:01:33 -06:00
Matthew Flatt
c25b20867e fix --enable-floats 2010-10-08 15:13:04 -06:00
Matthew Flatt
fe301b1ff4 print-boolean-long-form, #true, #false, read-accept-lang, flonum? 2010-10-08 15:13:04 -06:00
Matthew Flatt
d0fd2c40ad fix JIT future glue for MSVC 2010-10-08 06:15:15 -06:00
Matthew Flatt
637c541190 fix for lightweight continuations and platforms where they're not available 2010-10-07 17:00:52 -06:00
Matthew Flatt
65ad6aee20 fix `touch' to run a suspended future in the runtime thread
if no future thread is running the future; also adjust the
 policy for suspending a future so that even synchronized
 operations can suspend if there's other work to be done;
 also also fix `current-future' for nested `touch'es and when
 parallel futures are disabled
2010-10-07 14:58:53 -06:00
Matthew Flatt
15302dc844 adjust futures to decouple blocked futures from worker threads
which required adding a notion of "lightweight continuation" to
 the runtime system, where a lightweight continuation involves
 only frames from JIT0generated code (so that details of the stack
 layout are known, for example)
2010-10-07 07:39:16 -06:00
Matthew Flatt
93ef85bbe0 fix JIT `unsafe-vector*-ref' on chaperone with literal index argument 2010-10-05 06:29:47 -06:00
Matthew Flatt
5a7ef5ee3f some unsafe-...* fixes on chaperones 2010-10-05 06:29:47 -06:00
Matthew Flatt
649242ac86 fix JIT-inlined vector-set!' and set-box!' to not mutate immutable 2010-10-05 06:29:47 -06:00
Matthew Flatt
e6a4a95541 improve JIT-generated `unsafe-s16-set!' in somae cases 2010-10-01 07:33:53 -06:00
Matthew Flatt
7f28410353 fix JIT handling of `unsafe-{fl,f64}vector-set!'
so that they aren't slower than `{fl,f64}vector-set!'
2010-10-01 07:07:03 -06:00
Matthew Flatt
60d216290d fix printer (and therefore decompiler) for proxy-prop:application-mark 2010-09-30 20:20:02 -06:00
Matthew Flatt
4b120e5d86 add `proxy-prop:application-mark' 2010-09-29 12:26:46 -04:00
Matthew Flatt
202af50a5a fix JIT problem with proxies and `vector-set!'
Closes PR 11263
2010-09-28 12:09:04 -04:00
Eli Barzilay
b2e86f272e New Racket version 5.0.1.7. 2010-09-25 03:50:16 -04:00
Matthew Flatt
c1aa594657 add fvectors and unsafe-{s,u}16-{ref,set!} 2010-09-24 16:32:07 -06:00
Matthew Flatt
3d16dd698a fix JIT-generated code for `vector-length' on a fixnum
and also code for operations like `fl<' on fixnums in
 certain build modes (CGC, PPC)
2010-09-23 06:46:10 -06:00
Matthew Flatt
3f7343fdc7 fix make_external_cptr() to set is-external flag 2010-09-22 13:31:50 -06:00
Matthew Flatt
55d3647965 fix _string/utf-16 terminator handling 2010-09-20 12:29:51 -06:00
Kevin Tew
faa0c86f50 Places: fix asynchronous receive 2010-09-20 08:42:55 -06:00
Eli Barzilay
d3c7f3faac New Racket version 5.0.1.6. 2010-09-18 03:50:14 -04:00
Matthew Flatt
d92c4e44e2 fix make-reader-graph on proxied vectors 2010-09-17 18:42:29 -06:00
Matthew Flatt
7ec8835bc4 allow intra-module var reference to link in a non-module namespace
Closes PR 11155
2010-09-17 13:35:01 -06:00
Matthew Flatt
bbde0dfbd2 fix problem with continuations captured under a module-body prompt
Closes PR 11165
 where the problem was a misordering of a prompt and a stack push
2010-09-17 13:35:01 -06:00
Matthew Flatt
232a580e53 add prop:proxy-of'; Fix chaperone-of' on keyword-accepting procedures 2010-09-17 08:55:46 -06:00
Matthew Flatt
d4b0048d42 try again to fix trouble mfence use for futures 2010-09-17 06:55:02 -06:00
Mike Sperber
2d378775fc Unbreak compile for new libpng.
From: Mariusz Ceier <mceier@gmail.com>

http://lists.racket-lang.org/dev/archive/2010-September/004328.html
2010-09-16 18:19:33 +02:00
Kevin Tew
44a9434310 Places: mark msg_memory 2010-09-14 11:58:46 -06:00
Matthew Flatt
a5c7d4f5f8 add scheme_get_place_table() 2010-09-14 09:35:44 -06:00
Matthew Flatt
cb09dfbdd3 add another protocol to scheme_add_gc_callback() 2010-09-14 09:21:57 -06:00
Matthew Flatt
3e5c7fefdd add scheme_add_gc_callback() hook for gc notification in a way that lets you describe a foreign function to call without allocating or the call; the allowed protocols are contrained and ad hoc, but it will be enough for GRacket2 2010-09-14 09:21:47 -06:00
Blake Johnson
1f084da620 reverting changes to read.c 2010-09-10 14:46:02 -06:00
Blake Johnson
9599304ca9 zo-marshal fixes and read.c fix for hash tables in symbol table 2010-09-10 14:46:02 -06:00
Matthew Flatt
ff9b535dc6 fix hash proxying in the case that proxied key has no value 2010-09-10 12:46:58 -06:00
Matthew Flatt
6ac15688b2 add alignment option to ffi's cstruct support 2010-09-10 06:59:52 -06:00
Kevin Tew
82c3013b48 Places: Fix 1-copy allocator 2010-09-09 10:28:34 -06:00
Kevin Tew
324a0ce815 Places: check arguments 2010-09-09 10:28:34 -06:00
Matthew Flatt
26e0ad955a fix `unsafe-set-box*!' 2010-09-03 15:44:34 -06:00
Matthew Flatt
aa74cb748e remove outdated note on pthreads 2010-09-03 15:44:33 -06:00
Ryan Culpepper
dbdf00c5f7 macro-stepper: track syntax-local-value and syntax-track-origin (not done) 2010-09-03 13:53:41 -06:00
Kevin Tew
d138b18db7 Remove confusing SIGSEGV message 2010-09-03 09:53:06 -06:00
Matthew Flatt
962ceb6b63 fix interaction between copy prop and once-used binding elimination
in the bytecode compiler, which could cause an expression to be
 duplicated
2010-09-01 15:22:32 -06:00
Matthew Flatt
f04a92d009 fix bug in bytecode optimizer that caused some pessimism 2010-09-01 15:22:32 -06:00
Matthew Flatt
529c8a1281 fix mutable-field check for proxy-struct 2010-09-01 15:22:32 -06:00
Eli Barzilay
5421c29c61 New Racket version 5.0.1.5. 2010-09-01 03:50:13 -04:00
Matthew Flatt
69658697b1 add proxies and rename chaperone properties to proxy properties
where a proxy is less constrained in its conversions but more
 constrained in where it can be used
2010-08-31 19:15:20 -06:00
Kevin Tew
869373cf0d Places: 1-copy messages 2010-08-31 09:01:46 -06:00
Kevin Tew
d43cbab863 Places: message allocators 2010-08-31 09:01:45 -06:00
Kevin Tew
04dceafe49 Places: refactor allocate for custom allocators 2010-08-31 09:01:45 -06:00
Eli Barzilay
2784c186af New Racket version 5.0.1.4. 2010-08-31 03:50:12 -04:00
Kevin Tew
bc5d1c2011 Places: added shared-flvector and shared-byte string 2010-08-30 08:50:07 -06:00
Sam Tobin-Hochstadt
ed41babfbf More comments about closure representation. 2010-08-26 16:59:12 -04:00
Matthew Flatt
f13dcc2915 JIT-inline allocation of location for mutated local bindings 2010-08-25 18:22:09 -06:00
Matthew Flatt
8c16b825de improve bytecode compiler test for converting a letrec to let
- specifically the test for whether the RHS of a binding can
 possibly capture and invoke a continuation
2010-08-25 15:57:01 -06:00
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Kevin Tew
19a00d887e Places: allow channels in compound data communications 2010-08-25 15:10:15 -06:00
Matthew Flatt
947be220e6 change some "~e"s to "~.s"s 2010-08-25 14:58:28 -06:00
Matthew Flatt
a04403a316 add GMT option to seconds->date 2010-08-25 14:58:27 -06:00
Matthew Flatt
cf300b91b9 JIT-inline even?' and odd?' on fixnums 2010-08-24 19:29:20 -06:00
Kevin Tew
f031fa4ad1 Places: Remove old unused definition 2010-08-24 10:39:39 -06:00
Matthew Flatt
f29c6a902f fix problem with old-style constrained-atomic mode 2010-08-24 05:39:47 -06:00
Kevin Tew
8f892a9fb4 fix clang compiler errors 2010-08-20 11:24:48 -06:00
Matthew Flatt
8ba46ccc82 fix compilation when futures are disabled
and other misc futures-related fixes
2010-08-19 12:08:49 -06:00
James Swaine
c56ec371bc Forgot to add files that should have been included in my previous commit. 2010-08-19 09:40:31 -05:00
Matthew Flatt
7abbff4749 adjust rename-transformer expansion to transfer srcloc of use to expansion 2010-08-19 07:38:25 -06:00
Eli Barzilay
e55f0cade1 New Racket version 5.0.1.3. 2010-08-19 03:50:11 -04:00
James Swaine
a41c9b882a Added (current-future) to the futures module (as an inlined, nonblocking primitive). 2010-08-18 23:33:22 -05:00
James Swaine
dac2bcaa20 Merge branch 'master' of pltgit:plt
Conflicts:
	src/racket/src/future.c
2010-08-18 22:23:13 -05:00
James Swaine
8675db4faa Added (current-future) as a non-blocking primitive to racket/future. 2010-08-18 22:15:19 -05:00
Matthew Flatt
e5c2aea998 include `#%futures' in the set of primitive modules with inlining 2010-08-18 20:03:06 -06:00
Matthew Flatt
da173fed65 fix interaction of box chaperones and JIT 2010-08-18 17:11:00 -06:00
Sam Tobin-Hochstadt
67e15ee993 Add some comments. 2010-08-18 16:37:32 -04:00
Kevin Tew
57bda136ea Places: prevent mastergc gen0.big_pages from leaking onto a places gen0.big_pages list 2010-08-18 13:53:08 -06:00
Eli Barzilay
40daf706ac Update COPYING location 2010-08-17 21:03:24 -04:00
Matthew Flatt
0d9f5016ba fix bytecode-writing inconsistencies related to syntax objects and paths
and improve organization of the docs
2010-08-17 17:18:24 -06:00
Matthew Flatt
db43d25559 defend against a broken bytecode file containing a reference cycle 2010-08-17 12:48:24 -06:00
Matthew Flatt
ba5b01e505 fix msvc project name 2010-08-16 07:09:47 -06:00
Matthew Flatt
b50dbc1bba fall back to RLIMIT_DATA when RLIMIT_AS isn't available 2010-08-15 11:02:31 -06:00
Matthew Flatt
b32a0b8401 fix ffi extraction of substruct from GC-managed struct 2010-08-15 11:02:31 -06:00
Matthew Flatt
cf9912c811 fix malloc-immobile-cell 2010-08-15 11:02:30 -06:00
Matthew Flatt
f1ecab0848 try to fix mangled new-style atomic timeout guard 2010-08-14 13:52:09 -06:00
Kevin Tew
1ebdb6a90b Places: remove old code 2010-08-12 13:27:15 -06:00
Matthew Flatt
7a4a287ca6 propagate C flags to make install for "plot" collection setup 2010-08-12 09:07:27 -06:00
Matthew Flatt
ca9f33f035 fix places build to work with embedding like GRacket
- but gracket crashes on startup, probably a GC-cooperation issue
2010-08-12 08:49:49 -06:00
Matthew Flatt
8dc38e9d84 fix boxing of unused but formerly mutated local binding
- an old bug exposed by a new optimization
2010-08-11 14:18:43 -06:00
Matthew Flatt
e9269f1c4a optimize (let ([x (let~ ([y M]) N)]) P) to (let~ ([y M]) (let ([x N]) P))
which helps expose unboxing opportunities with multiple-value binding
2010-08-11 11:09:04 -06:00
Matthew Flatt
a6ec6a7e30 change bytecode optimizer's representation of `let'
- represent RHSes as before allocating stack positions
   for bindings, instead of after, which makes certain
   transformations simpler; this does not effect the
   final bytecode form that's is saved in a ".zo"
2010-08-11 10:29:50 -06:00
Matthew Flatt
4d1e97ec8d change start-atomic and end-atomic to disable breaks 2010-08-07 20:40:32 -05:00
Matthew Flatt
2696f3044c distinguish reasons to wait on end of atomic mode 2010-08-07 20:40:25 -05:00
Matthew Flatt
01558aec5a add way to constrain poll/select timeout from low-level evt 2010-08-07 19:30:46 -06:00
Matthew Flatt
f21864ee22 adjust atomic timeout handling to track atomic nesting 2010-08-07 19:30:40 -06:00
Matthew Flatt
df4da6bbff try again to make gmp _EXTERN_INLINE consistent 2010-08-06 13:34:12 -06:00
Kevin Tew
35a65f90c2 Places: refactor place-channel use 2010-08-05 11:05:54 -06:00
Matthew Flatt
e9687b5cf6 fix little C-code problems that trigger clang errors/warnings 2010-08-05 06:25:44 -06:00
Kevin Tew
3744e224b7 Places: fix sending place channels over place channels 2010-08-04 13:23:00 -06:00
Matthew Flatt
be95805548 try to fix libatomic_ops inline asm 2010-08-04 13:16:51 -06:00
Matthew Flatt
e3320067a9 clean up gmp _EXTERN_INLINE problem 2010-08-04 12:50:24 -06:00
Kevin Tew
637a8d9f84 fix mzrt_thread_stub refcount 2010-08-04 10:45:10 -06:00
Kevin Tew
bb72d26b93 Places: fix prefab serialization 2010-08-04 10:45:09 -06:00
Kevin Tew
60f0d0b69c Places: Fix symbol serialization 2010-08-04 10:45:09 -06:00
Kevin Tew
de11fd4351 initialize manual_unw 2010-08-04 10:45:09 -06:00
Matthew Flatt
9e71ccc1eb consult RLIMIT_AS instead of RLIMIT_DATA for OS-imposed memory limit 2010-08-01 09:18:07 -06:00
Kevin Tew
c7926001ef Places: fix prefab_struct_key 2010-07-29 09:14:17 -06:00
Matthew Flatt
79b782edad adjust configure with --enable-sdk to force gcc 4.0 instead of 4.2
Merge to 5.0.1
2010-07-29 07:28:43 -06:00
Blake Johnson
599ffacd47 Fixing bug in C reader for hasheqv literals 2010-07-27 13:39:43 -06:00
Eli Barzilay
fcc15c4f1e New Racket version 5.0.1.2. 2010-07-26 03:50:29 -04:00
Matthew Flatt
5f1aa418f3 add collection-file-path and splace collection trees at the file level 2010-07-25 11:01:09 -05:00
Matthew Flatt
fa68e23c37 add pen and cap support to pen-list% 2010-07-21 15:50:22 -06:00
Matthew Flatt
9fc9d9582e fix heuristic for caching stack traces 2010-07-21 15:50:22 -06:00
Matthew Flatt
5cfd52d224 fix collison of draw-bitmap with GC bitmap under Windows; merge to 5.0.1 2010-07-20 21:19:29 -06:00
Matthew Flatt
066e6f0ebb remove autom4te.cache, which is generated by autoconf
Merge to 5.0.1
2010-07-20 19:27:38 -06:00
Matthew Flatt
816f66f4c5 fix stack-trace clean-up code for x86_64
Merge to 5.0.1
2010-07-20 19:07:53 -06:00
Matthew Flatt
66ffb43cb4 Solaris x86_64 config
Merge to 5.0.1
2010-07-20 19:07:52 -06:00
Matthew Flatt
68c49a2228 avoid gmake-ism in racket makefile 2010-07-20 19:07:52 -06:00
Matthew Flatt
a2f3dad4f0 fix exit status of signal-terminated subprocess
Closes PR 10932
 Merge to 5.0.1
2010-07-20 10:30:03 -06:00
Matthew Flatt
167d048773 fix problem with radio buttons under X11
Closes PR 10951
 Marge to 5.0.1
2010-07-20 10:24:46 -06:00
Matthew Flatt
7cbe584fbc fix mistakes related to -X and `make install'
Merge to 5.0.1
2010-07-20 07:28:07 -06:00
Matthew Flatt
207114e7e9 add scheme_register_process_global() to C API 2010-07-19 09:23:26 -06:00
Matthew Flatt
b85934d2d4 extend C API to abort/capture cont skipping dynamic-winds 2010-07-19 09:23:21 -06:00
Matthew Flatt
5517909a5c move code-page free list declaration to use 2010-07-19 09:18:17 -06:00
Matthew Flatt
7a8efb446e fix MIPS bignum config and implementation
--- includes a fix for gmp with long long configuration,
 but that's now disabled for MIPS to keep things
 simpler
2010-07-19 09:18:17 -06:00
Matthew Flatt
31fc380e39 reduce the cost of nested full continuations
while allowing full continuations to be used to escape
  across a continuation barrier
2010-07-16 20:39:54 -06:00
Eli Barzilay
68e62bdc67 New Racket version 5.0.1.1. 2010-07-16 03:50:15 -04:00
Eli Barzilay
c733accd33 Post-release version for the v5.0.1 release 2010-07-15 17:22:23 -04:00
Matthew Flatt
0c6daba7ee Makefile correction related to disabling the FFI 2010-07-14 11:30:59 -06:00
Matthew Flatt
43c2d351df fix two more validator functions after prototype change 2010-07-14 10:06:56 -06:00
Casey Klein
f62b827fa9 Propagates bytecode verifier's result_ignored flag into boxenv bodies 2010-07-14 09:52:50 -05:00
Matthew Flatt
15aeee98e9 fix some file exe permissions 2010-07-14 08:04:20 -06:00
Matthew Flatt
a530109d17 adjust libffi hacks that avoid warnings 2010-07-14 06:24:49 -06:00
Matthew Flatt
90b586365f upgrade to latest libffi from git repo (between v3.0.9 and v3.0.10) 2010-07-13 21:12:59 -06:00
Matthew Flatt
a306a646e6 fix build for disabled FFI 2010-07-13 16:07:03 -06:00
Matthew Flatt
9743fd9381 fix mips preprocessor-decision mismatch 2010-07-13 16:07:03 -06:00
Ryan Culpepper
b8bf5c571a macro-stepper: add support for #%stratified-body 2010-07-13 09:22:51 -06:00
Matthew Flatt
818ac8f712 fix bug in new int-def parsing 2010-07-12 18:58:38 -06:00