Commit Graph

4220 Commits

Author SHA1 Message Date
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
Matthew Flatt
768a3721f9 add async-apply support to FFI 2010-07-11 14:59:40 -06:00
Matthew Flatt
49ad309630 allow full continuations to escape past a continuation barrier 2010-07-10 07:31:58 -06:00
Matthew Flatt
fe0609673c clean up 2010-07-09 06:44:33 -06:00
Eli Barzilay
e06b2db4c7 New Racket version 5.0.0.9. 2010-07-09 03:50:26 -04:00
Matthew Flatt
2a0bc393c0 fix bug in GIF and BMP loading for X 2010-07-08 19:40:21 -06:00
Matthew Flatt
c7c8f56e11 fix validation of module .zo exp-time content, and fix zo-marshal 2010-07-08 17:17:42 -06:00
Matthew Flatt
0eeb18f4d8 Improve the bytecode optimizer's ability to simplify `letrec's
to smaller `letrec' groups or even `let*'.
 The goal of the change is to avoid performance surprises
 when using internal definitions, especially when mixing
 experessions with definitions.
 It's a somewhat scary change. Besides the new transformation,
 the optimizer pass's coordinate system for `letrec' (and sometimes
 `let*') bindings changed.
 No standard benchmarks were harmed during the making of this
 optimization. (None were improved, either.)
2010-07-08 13:43:40 -06:00
Eli Barzilay
56077a1386 New Racket version 5.0.0.8. 2010-07-08 03:50:27 -04:00
Matthew Flatt
519d1ef8d1 make compiler slightly smarter about 0-value letrec-values bindings
which corresponds to code generated from experession that are
 mixed with internal definitions
2010-07-07 13:56:16 -06:00
Matthew Flatt
54216b5ced internal-definition contexts allow expressions mixed with definitions
while the new `#%stratified-body' form provides access to the old
 convention
2010-07-07 13:56:16 -06:00
Matthew Flatt
63ec520885 fix problem with Windows pipe writing 2010-07-06 10:59:16 -06:00
Kevin Tew
c9e84f9f67 [Parallel-Build] remove -u, -j 1 is uniprocessor, SETUP_OPTIONTS => PLT_SETUP_OPTIONS 2010-07-06 10:07:40 -06:00
Matthew Flatt
763a010fd3 allow deletion of open files in Windows 2010-07-06 07:02:14 -06:00
Matthew Flatt
96a6f56572 fix problem sharing Windows file handles to subprocess 2010-07-06 06:49:59 -06:00
Matthew Flatt
77c615898a more gitignores for Windows 2010-07-06 06:14:56 -06:00
Matthew Flatt
1e40e72652 fix non-futures build 2010-07-06 06:05:47 -06:00
Matthew Flatt
43e9e930d8 fix Windows narrow-path uses 2010-07-06 06:00:10 -06:00
Eli Barzilay
c4cb424700 New Racket version 5.0.0.7. 2010-07-06 03:41:53 -04:00
Matthew Flatt
6915250300 fix memory leak 2010-07-05 18:50:10 -06:00
Matthew Flatt
a29c165985 fix #ifdefs for `processor-count', especially for Windows 2010-07-05 18:17:58 -06:00
Matthew Flatt
04fa6c6acd add `subprocess-group-enabled' for process-group support
and fix problems with places and subprocesses
 and fix some mzrt thread setup and teardown issues
2010-07-05 17:51:26 -06:00
Kevin Tew
c968f45d85 Parallel build by default 2010-07-05 11:58:52 -06:00
Eli Barzilay
1033684dbb New Racket version 5.0.0.6. 2010-07-05 03:50:24 -04:00
Matthew Flatt
5c2ae50e45 add current-subprocess-custodian-mode 2010-07-04 12:42:25 -06:00
Matthew Flatt
fb730cb1c2 custodian box as synchronizable event 2010-07-04 10:42:38 -06:00
Matthew Flatt
608e228530 GC repirs for non-places (and non-future) and backtrace support
Repairs provided by Dmitry Dzhus
2010-07-04 07:45:34 -06:00
Matthew Flatt
99c5fea2fd export scheme_stx_extract_marks() from the C API, for now
related to PR 11014
2010-07-03 10:05:47 -06:00
Eli Barzilay
0ebb72ac50 New Racket version 5.0.0.5. 2010-07-03 03:50:26 -04:00
Matthew Flatt
ca48eff84c fix JIT bug specific to x86_64 and PPC 2010-07-02 18:52:27 -06:00
Matthew Flatt
439bc0a293 add flreal-part', flimag-part', `make-flrectangular', and unsafe variants 2010-07-02 16:08:15 -06:00
Matthew Flatt
eef7a8ba9d JIT inline real-part, imag-part, make-rectangular 2010-07-02 16:08:14 -06:00
Matthew Flatt
491ab3c12b expose internal display/write/print-limiting functionality via `printf'
addition of ~.
2010-07-02 16:08:14 -06:00
Eli Barzilay
8fc7f93798 New Racket version 5.0.0.4. 2010-07-02 03:50:25 -04:00
Matthew Flatt
3de7dbd2fd add chaperone-evt 2010-07-01 14:59:01 -06:00
Matthew Flatt
459e4fba82 fix C warnings due to function prototype mismatches 2010-07-01 08:52:12 -06:00
Eli Barzilay
e05cbae2af New Racket version 5.0.0.3. 2010-07-01 03:50:26 -04:00
Matthew Flatt
159daa43aa fix bytecode validator to accept letrec-bound flonum-consuming functions
Closes PR 11009
2010-06-30 22:03:36 -06:00
Matthew Flatt
3686875440 set configuration in executable before creating the initial environment
which is needed for correct allocation with places
2010-06-30 15:49:00 -06:00
Matthew Flatt
128d86da1f throw out attempt at more laziness in phase instantiation
keep some related refactoring, though
2010-06-30 10:40:03 -06:00
Matthew Flatt
47eb8ea815 add `identifier-prune-to-source-module' and use it in contract implementation
reduces DrRacket's initial footprint by 20-25% --- back to the v5.0 level
2010-06-30 10:40:03 -06:00
Matthew Flatt
459dff9f37 more laziness in instantiation of higher phases 2010-06-30 10:40:02 -06:00
Matthew Flatt
788a144118 convert (car (let .... (list X ....))) to (let ... X), etc. 2010-06-30 10:40:02 -06:00
Eli Barzilay
f05eb775eb New Racket version 5.0.0.2. 2010-06-29 03:50:23 -04:00
Matthew Flatt
47c7c1a27b JIT support for inexact->exact', add unsafe-fl->fx', etc. 2010-06-28 15:57:49 -06:00
Matthew Flatt
1254c54852 fix compiler bug related to `case-lambda'
Closes PR 10987
2010-06-27 11:02:26 -06:00
Matthew Flatt
07f567fcb3 fix arity handlign and reporting for chaperoned procedures 2010-06-27 08:59:58 -06:00
Matthew Flatt
22d8ff470c fix problem with JIT and safe fl ops
Closes PR 10982
2010-06-26 14:22:40 -06:00
Matthew Flatt
a9c058afb9 avoid unused-result gcc warnings 2010-06-25 17:48:43 -06:00
Matthew Flatt
439ef9bffb fix another bytecode-validation bug found by Casey 2010-06-25 17:48:43 -06:00
Matthew Flatt
0791b453bf fix JIT validator in no-slot-reuse mode 2010-06-25 08:57:33 -06:00
Matthew Flatt
09d70be7ae always keep stack aligned to 16 bytes in JITted code on x86 2010-06-25 07:17:27 -06:00
Matthew Flatt
42c7b2b9d3 fix missed parts of the hash-table hahing bug 2010-06-23 07:09:59 -10:00
Matthew Flatt
ccd13c4862 minor improvement to JIT-debggging support 2010-06-23 07:00:30 -10:00
Matthew Flatt
bfd769a29c fix hashing of hash-table values
the order of keys+values in the table could affect the
 hash code, due to an interation with the depth-limiting
 counter
 Closes PR 10985
2010-06-23 07:00:29 -10:00
Jay McCarthy
e191513f70 Adding warning removal attr 2010-06-21 13:04:40 -06:00
Matthew Flatt
8ae46ead66 fix bytecode-compiler step that drops an unused flonum let RHS 2010-06-20 05:30:11 -10:00
Kevin Tew
0e664e7c0b Windows fix 2010-06-16 10:58:05 -06:00
Kevin Tew
41d1daf53c New mmu block layer to avoid uneeded mprotects 2010-06-15 13:03:44 -06:00
Matthew Flatt
d6d5c914f7 cases when number functions produce 0: clarify docs and fix (atan 0 x)
for positive exact x;
 also clarify docs on some cases when divide-by-zero exception is raised
2010-06-11 15:04:24 -06:00
Matthew Flatt
fb14524241 fix validator to allow an ignored reference to a flonum stack slot
Closes PR 10972
2010-06-11 04:19:21 -04:00
Matthew Flatt
1e1202d6f2 fix detection of flonum primitives when the JIT cannot inline 2010-06-11 04:18:39 -04:00
Sam Tobin-Hochstadt
3c2ce01a16 Fix readme to use --disable-gracket 2010-06-10 13:28:29 -04:00
Matthew Flatt
8603b6370b reorder executable-path initialization
fixes GRacket on Mac OS X and probably Win32;
 further fixes still needed to avoid allocating tagged
  objects before calling scheme_basic_env()
2010-06-10 07:32:11 -04:00
Kevin Tew
93eed922b9 Move collects path initialization before kernel creation 2010-06-09 14:17:39 -06:00
Matthew Flatt
32297601b6 use simple-form-path more consistently for path normalization
--- a reversal of opinion from my earlier commit; the problem
 with syntactic simplification is that it may not refer to the
 same file, due to soft links; given that true normalization is
 impossible, simplify-path and simple-form-path provide a good
 compromise between preserving paths as given and exanding
 soft links as neede
2010-06-03 17:23:14 -06:00
Matthew Flatt
d76e361af4 shortcut phase-shifting certs when no shift occurs
otherwise, space consumption can go out of control
 Merge to 5.0
2010-06-03 11:06:51 -06:00
Matthew Flatt
ff3d60c04c avoid potential stack overflow in applying certs on macro result
Merge to 5.0
2010-06-03 11:05:39 -06:00
Matthew Flatt
84e98160c4 fix bug in optimization of (apply ... (list ...)) 2010-06-01 21:25:32 -06:00
Matthew Flatt
4a63afdd2a fix a compiler warning and tune some branches 2010-06-01 20:52:01 -06:00
Matthew Flatt
9307c639cb JIT partial inline of apply 2010-06-01 19:22:39 -06:00
Matthew Flatt
61d39f2568 bytecode compiler convert (apply f .... (list arg ...)) 2010-06-01 19:22:39 -06:00
Matthew Flatt
93ec20f050 lots of gitignores for Windows 2010-05-31 06:55:04 -06:00
Matthew Flatt
9954fe0290 fix another bug in JIT handling of `with-continuation-mark'
Merge to v5.0
2010-05-30 15:04:59 -06:00
Matthew Flatt
83ed233125 fix Mac problem with clipping constructed with paths and transform + scale
Merge to v5.0
2010-05-28 16:55:25 -06:00
Matthew Flatt
9f7a08663d fix bug in JIT handling of with-continuation-mark
The bug was specific to the case of a wcm in tail position
  of another wcm, where its mark should replace the outer one,
  and where the outer one is not in tail position with respect
  to the enclosing function
 Merge to v5.0
2010-05-28 14:28:06 -06:00
Matthew Flatt
eec92017c4 fix problems with distributing unix executables Merge to v5.0 2010-05-28 10:37:18 -06:00
Matthew Flatt
7f2d57e827 build changes aimed at making Sun tools work
Merge to v5.0
2010-05-28 07:17:24 -06:00
Matthew Flatt
bb4b04082a fix cmdline-level printf wrapper for Windows
It was broken in a way that made gracket-text crash
 Merge to v5.0
2010-05-27 16:47:53 -06:00
Matthew Flatt
91ecad670c update mailing list address in src/READMEs
Merge to v5.0
2010-05-27 15:35:14 -06:00
Matthew Flatt
b3fab5cabe fix MzCOM for Racket
Merge to v5.0
2010-05-27 14:13:51 -06:00
Matthew Flatt
64089c4488 add --disable-docs configure option 2010-05-26 17:07:09 -06:00
Matthew Flatt
51dfbe6bc2 fix starter app's collect path on install 2010-05-26 14:19:30 -06:00
Kevin Tew
4d23b11d8f No shared symbols 2010-05-25 11:15:00 -06:00
Matthew Flatt
23617b08bd change default Unix-style installation to use racket in path
Merge to v5.0
2010-05-25 06:58:00 -06:00
Jay McCarthy
387f915f24 Adding local change note 2010-05-24 11:33:16 -06:00
Matthew Flatt
5ce13a34b7 fix some middle-of-C-block variable declrations 2010-05-22 07:05:16 -06:00
Eli Barzilay
c64704742c Fixing some tab damage from Jay's commit 2010-05-21 21:10:53 -04:00
Jay McCarthy
776926141f Adding warning removal pragma 2010-05-21 16:04:12 -06:00
Jay McCarthy
40c412d7ea Adding MAYBE_UNUSED to xc output to remove warnings 2010-05-21 16:04:12 -06:00
Jay McCarthy
a06d8a8a36 Using nicear to get rid of spurious ar stderr output 2010-05-21 16:04:12 -06:00
Jay McCarthy
15a4946d32 Removing strict aliasing error
Adding comment for fixing this error better
2010-05-21 16:04:12 -06:00
Jay McCarthy
15a1dd6b20 Removing paren warning 2010-05-21 16:04:11 -06:00
Jay McCarthy
c29419826c Removing else warning 2010-05-21 16:04:11 -06:00
Jay McCarthy
a2335a763f maybe unused annotations 2010-05-21 16:04:11 -06:00
Jay McCarthy
dd5e574747 Duplicate max/min def 2010-05-21 16:04:11 -06:00
Jay McCarthy
7ed6c41aab XPM warning removal 2010-05-21 16:04:11 -06:00
Jay McCarthy
abf1be31c0 correct int->ptr->int warning on 64bit 2010-05-21 16:04:11 -06:00
Jay McCarthy
ffe527417b Annotating maybe unused 2010-05-21 16:04:11 -06:00
Jay McCarthy
b5ee4ac21b Observing ftruncate results to remove error, adding comments to have better eyes look at a better way to recover from the problems 2010-05-21 16:04:11 -06:00
Jay McCarthy
b66d31e7c1 Confuse GCC data-flow analysis to remove warning: function returns address of local variable 2010-05-21 16:04:11 -06:00
Jay McCarthy
26850e9b9f Add extern prototype for GC_collection_in_progress 2010-05-21 16:04:11 -06:00
Jay McCarthy
1eee0501a6 GC_thr_init prototype in header 2010-05-21 16:04:10 -06:00
Jay McCarthy
741f5502f3 Attempt to remove 'warning: dereferencing type-punned pointer will break strict-aliasing rules' 2010-05-21 16:04:10 -06:00
Jay McCarthy
43d1494aef Adding clock zero and using to avoid uninit errors 2010-05-21 16:04:10 -06:00
Jay McCarthy
010e3d5381 Adding null initializations 2010-05-21 16:04:10 -06:00
Jay McCarthy
749096f87c Added macro to encode warning suppression 2010-05-21 16:04:10 -06:00
Jay McCarthy
a8e51a8a36 Added define to get pthread_getattr_np prototype with copy for systems where that doesn't work 2010-05-21 16:04:10 -06:00
Jay McCarthy
e8c272d463 Avoiding statement with no effect warning 2010-05-21 16:04:09 -06:00
Eli Barzilay
fb042df0c7 New Racket version 5.0.0.1. 2010-05-20 02:50:38 -04:00
Kevin Tew
114a0f142d FreeBSD fix 2010-05-19 10:45:41 -06:00
Kevin Tew
64ed4fb578 [Places] make jit code allocation place local 2010-05-19 10:40:41 -06:00
Kevin Tew
3d9a28eb50 [Places] remove unneeded jit_lock 2010-05-19 10:40:41 -06:00
Eli Barzilay
b85998dd62 Post-release version for the v5.0 release 2010-05-19 06:05:53 -04:00
Eli Barzilay
4e7fb7f62c Some fixes and some reformatting. 2010-05-18 17:15:58 -04:00
Eli Barzilay
4279fe3c4f Some "org.plt-scheme" -> "org.racket-lang"s 2010-05-17 09:54:17 -04:00
Matthew Flatt
66b32b4bee rackety Mac resources and out-of-memory message 2010-05-17 07:11:32 -06:00
Eli Barzilay
9c352f5704 More svn -> git changes.
Some mentions of svn/subversion are replaced with git, and some patterns
for paths to ignore include ".git*".  (Note ".mailmap" not added, might
need to.)
2010-05-17 05:41:04 -04:00
Eli Barzilay
285e9b5279 Use ".rktc" for the C-generated foreign file. 2010-05-17 01:48:39 -04:00
Eli Barzilay
fcedc30ee4 Rename "collects/tests/mred" -> ".../gracket".
Some additional mred-related tweaks.
2010-05-17 01:44:27 -04:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
a46743211b A lot of "plt-scheme.org" -> "racket-lang.org"s. 2010-05-17 00:53:12 -04:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Matthew Flatt
1f613f6e08 fix bug in the combination of object-name, chaperones, and reduced-arity procedures 2010-05-16 07:30:44 -06:00
Eli Barzilay
418b05b8ff Fix a few typos 2010-05-15 21:03:35 -04:00
Eli Barzilay
6b664e0308 More mzscheme -> racket changes. 2010-05-15 18:52:46 -04:00
Matthew Flatt
900784c8e4 fix regexp sub-pattern reporting 2010-05-15 08:36:11 -06:00
Matthew Flatt
dc79d5f656 hack configure scripts to avoid warnings 2010-05-14 16:50:54 -06:00
Jay McCarthy
5c1529d66d Fixing configure error outputs 2010-05-14 13:46:08 -06:00
Matthew Flatt
8752e65bf8 disable check on a module's source name 2010-05-14 11:33:09 -06:00
Matthew Flatt
8f74a69d44 disable futures when building with SGC 2010-05-12 08:51:39 -06:00
Eli Barzilay
88d1cb2029 New Racket version. 2010-05-12 06:00:35 -04:00
Eli Barzilay
8def58b716 Anchor src attributes 2010-05-12 01:46:05 -04:00
Matthew Flatt
50e923b199 add 'eprintf' and 'displayln' 2010-05-11 06:38:34 -06:00
Matthew Flatt
acb98cef60 allow paths as input to regexp-matching functions 2010-05-11 06:03:39 -06:00
Eli Barzilay
745adb03d1 fix src attributes 2010-05-11 02:15:32 -04:00
Eli Barzilay
96a9bdfbc4 Hopefully this fixes the cygwin build on windows 2010-05-11 00:17:32 -04:00
Eli Barzilay
db1af22f91 New Racket version. 2010-05-10 23:01:48 -04:00
Matthew Flatt
2159807e4a try to fix mzcom 2010-05-10 20:40:18 -06:00
Eli Barzilay
f3c8d7f778 Align options in `configure -h'. 2010-05-10 22:13:10 -04:00
Matthew Flatt
899e85f94f change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
Matthew Flatt
360f925906 fix mysterx DLL to use rkt inner suffix 2010-05-10 18:32:25 -06:00
Matthew Flatt
2ee555c4e0 adjust CRLF handling of some Windows files 2010-05-10 18:32:25 -06:00
Eli Barzilay
def35e561a New Racket version. 2010-05-10 10:46:54 -04:00
Eli Barzilay
15107e84c7 get back lost CRLFs 2010-05-10 10:16:30 -04:00
Matthew Flatt
202b38a4f4 rackety readme 2010-05-10 06:35:47 -06:00
Matthew Flatt
b2e0d92098 restore 'print-reader-abbreviations' support 2010-05-06 17:45:04 -06:00
Matthew Flatt
43027a8d9b switch printer to constructor+quote style 2010-05-06 10:33:42 -06:00
Matthew Flatt
27cd77c16c fix problem with chaperone of chaperoned hash 2010-05-05 09:23:40 -06:00
Matthew Flatt
7c52a82216 fix another hash chaperone bug 2010-05-05 07:52:48 -06:00
Matthew Flatt
0497baece8 fix problem with gracket locating the pref file for low-level prefs 2010-05-05 07:34:37 -06:00
Matthew Flatt
7359a6f9d0 fix equal? on two chaperoned values 2010-05-05 07:17:58 -06:00
Matthew Flatt
5b9e0e455d fix problem with iteration over chpaeroned hash table 2010-05-05 06:35:16 -06:00
Kevin Tew
9a61471f06 [Places] make jit lock thread local 2010-05-04 15:49:37 -06:00
Kevin Tew
e3e8a54ee9 [Places] THREAD_LOCAL opened_libs 2010-05-04 15:49:36 -06:00
Matthew Flatt
e55acb4bc8 fix bytecode validator on closed case-lambda forms 2010-05-04 15:25:08 -06:00
Matthew Flatt
8af4134991 move result-chaperoning procedure to start of chaperioning procedure's results 2010-05-04 13:56:21 -06:00
Matthew Flatt
250ae872a7 fix Gracket low-level pref, and fix schthread.h for Darwin (and OS X without -DOS_X) 2010-05-04 06:49:09 -06:00
Matthew Flatt
a097b2ef6a fix chaperone-hash to be more consistent with key handling 2010-05-03 17:59:54 -06:00
Matthew Flatt
6e42f95140 fix README typos 2010-05-02 08:43:30 -06:00
Matthew Flatt
424f7b6659 some rackety READMEs 2010-05-02 07:03:16 -06:00
Matthew Flatt
e504acb726 use .rktl suffix for files meant to be 'load'ed 2010-05-01 09:58:16 -06:00
Matthew Flatt
3db8dd7c26 SHA1-based shortcut for compiler/cm 2010-04-30 16:30:10 -06:00
Matthew Flatt
7ed0d4e00a futures: protect use of mfence by processor count 2010-04-29 17:11:42 -06:00
Kevin Tew
1991e9328f [Places] Tag allocate channels.
mark message array
2010-04-29 15:32:55 -06:00
Kevin Tew
5d804c65cb [Places] Only rendezvous with master if rendezvous was requested before local GC started
increase master gen0.max_size to GEN0_INITIAL_SIZE * 10;
2010-04-29 15:32:55 -06:00
Kevin Tew
d6bfd0688a more SIGSEGV info 2010-04-29 15:32:55 -06:00
Kevin Tew
1ce41d49f4 Places GC cleanup on place termination 2010-04-28 11:25:38 -06:00
Kevin Tew
ac8aa01a48 GC - add sanity check default case 2010-04-28 11:25:31 -06:00
Kevin Tew
c56fb66fa0 add page to killing debug 2010-04-28 11:25:24 -06:00
Kevin Tew
0a287b59e0 more SIGSEGV descriptions 2010-04-28 11:25:18 -06:00
Kevin Tew
d2670835ce Remove uneeded place gc lock 2010-04-28 11:25:12 -06:00
Matthew Flatt
2c54268228 move pref file to .rtkd extension, and automatically read from the old PLT Scheme path if the new one doesn't exist 2010-04-28 07:24:39 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Kevin Tew
f4b07e9640 fix missing 2 arg case of sch_default_global_port_print_handler 2010-04-27 14:28:35 -06:00
Robby Findler
05df75f935 Merge branch 'master' of git:plt 2010-04-27 09:20:17 -05:00
Matthew Flatt
327408c12f drop suffix from pref-file name 2010-04-26 15:33:58 -06:00
Matthew Flatt
ed82cca998 Merge branch 'master' of git.racket-lang.org:plt 2010-04-26 15:05:15 -06:00
Matthew Flatt
b3e0a784e4 .mzschemerc -> .racketrc, etc. 2010-04-26 14:40:37 -06:00
Matthew Flatt
db2ed4cef3 change printer to not quote ellipsis in partially opaque structure 2010-04-26 14:18:43 -06:00
Kevin Tew
71827c2a79 GC Cleanup and comments 2010-04-26 13:34:17 -06:00
Kevin Tew
b11593fadb Fix accounting of MASTERGC gen0 memory 2010-04-26 13:34:16 -06:00
Kevin Tew
7eba20b236 Use C Macro to communicate real meaning of page->previous_size 2010-04-26 13:34:16 -06:00
Kevin Tew
d8dd03c728 Don't GC if in atomic mode(have temporarily switched to master) 2010-04-26 13:34:16 -06:00
Matthew Flatt
616080c7c4 change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc. 2010-04-25 12:10:36 -06:00
Matthew Flatt
22470e4147 racket-tool -> raco 2010-04-24 07:46:56 -06:00
Robby Findler
975f6445f0 renamed drscheme collections files to .rkt 2010-04-24 08:01:33 -05:00
Matthew Flatt
845ebfbeb8 hash, hasheq, hasheqv, and hash-equal? 2010-04-23 12:18:42 -06:00
Matthew Flatt
1812515a57 fix xform setup for reader modules, again 2010-04-23 08:39:26 -06:00
Matthew Flatt
82eb64451d switch default configuration to have qq printing enabled, add runtime-config for scheme languages 2010-04-22 15:10:25 -06:00
Matthew Flatt
c76cee4775 fix error reporting for chdir in forked process 2010-04-22 15:10:24 -06:00
Kevin Tew
aff19733d3 [Places] allow creation and communication of arbitrary place channels 2010-04-22 10:51:46 -06:00
Kevin Tew
b86d90a46a [Places] made functions static 2010-04-22 10:51:21 -06:00
Matthew Flatt
fec6528c70 fix command-line parsingand support '-f -' as eval from stdin 2010-04-21 18:50:50 -06:00
Matthew Flatt
0dbf5fc943 fix build problem related to scheme->racket shuffle 2010-04-20 20:43:15 -06:00
Matthew Flatt
88820fc4a4 Merge branch 'master' of git.racket-lang.org:plt 2010-04-20 15:47:14 -06:00
Matthew Flatt
c95a398754 move most of the 'scheme' collection to the 'racket' collection 2010-04-20 15:24:48 -06:00
tewk
8116350df4 [Places] fix stack_base 2010-04-20 11:10:46 -06:00
Matthew Flatt
3f8d1dc34d more scheme -> racket source renaming 2010-04-20 09:22:29 -06:00
Eli Barzilay
866600ac08 Document the root and src ignores 2010-04-18 18:02:56 -04:00
Eli Barzilay
5640fe77c5 Ignores that are roughly the same as the ones in svn 2010-04-18 10:47:32 -04:00
Matthew Flatt
17c5ed073c fix typo 2010-04-16 17:28:44 -04:00
Matthew Flatt
c4367f536c Windows fixes (PR 10861) 2010-04-16 17:11:22 -04:00
Matthew Flatt
840ea4f4f5 simplify [g]racket startup banner 2010-04-15 22:15:43 -04:00
Matthew Flatt
0f0a59732e create core binaries as 'racket' and 'gracket' 2010-04-15 21:15:57 -04:00
Kevin Tew
4f29962d9c [Places] prevent green thread switch during master allocation 2010-04-15 18:10:50 -04:00
Matthew Flatt
406a38148d avoid unnecessary allocation of empty string in common case of regexp-.../full result 2010-04-15 11:26:37 -04:00
Matthew Flatt
249a9e38f7 minor regexp clean-ups 2010-04-15 10:10:19 -04:00
Eli Barzilay
f1fdeb3bff Welcome to a new PLT day. 2010-04-15 03:50:33 -04:00
Matthew Flatt
4bc155905a Perl-like handling of empty matches in regexp-match*, etc., though without Perl-like filtering of empty strings in the result of regexp-split (PR 10855) 2010-04-14 22:53:14 -04:00
Matthew Flatt
1c34ccec44 improve regexp support (PR 10855, halfway) 2010-04-14 18:40:08 -04:00
Kevin Tew
3fe4a22dbd [Places] allocate prefab_table correctly 2010-04-14 18:20:25 -04:00
Matthew Flatt
66c31d456f bug fix
svn: r18810
2010-04-13 17:38:09 +00:00
Matthew Flatt
536fcacc42 more module source versus module path adjustments, especially for contracts
svn: r18809
2010-04-13 17:12:51 +00:00
Eli Barzilay
a12018874e Welcome to a new PLT day.
svn: r18805
2010-04-13 07:50:43 +00:00
Matthew Flatt
ce2d286586 add current-module-declare-source, variable-reference->module-source, convert soe sues of module paths to module sources
svn: r18804
2010-04-13 02:48:40 +00:00
Matthew Flatt
1a4c78fdb2 fix bug in namespace-mapped-symbols (related to PR 10858)
svn: r18801
2010-04-12 21:28:40 +00:00
Kevin Tew
f6a8e78cd6 Comment out rwlock testing function
svn: r18799
2010-04-12 17:43:19 +00:00
Kevin Tew
bfbeb104be gc2 places testing configure option
svn: r18798
2010-04-12 17:39:30 +00:00
Matthew Flatt
3f903c80cf fix compiled-load handler for non-existent files that don't end in .ss/.rkt
svn: r18791
2010-04-12 13:22:22 +00:00
Eli Barzilay
e49cbbfd4d Welcome to a new PLT day.
svn: r18790
2010-04-12 07:50:30 +00:00
Matthew Flatt
bdb71498e3 module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
svn: r18788
2010-04-11 16:55:18 +00:00
Matthew Flatt
6c9c747e7e fix 'set-box!' slow path; use C compiler for pthreadrwlock test
svn: r18778
2010-04-10 13:29:53 +00:00
Eli Barzilay
c4dfc1df05 Welcome to a new PLT day.
svn: r18777
2010-04-10 07:50:33 +00:00
Matthew Flatt
0b2a43f193 try to fix Linux build problems related to pthreads
svn: r18776
2010-04-09 21:09:49 +00:00
Matthew Flatt
c6cd781e82 fix Windows build
svn: r18772
2010-04-09 20:05:07 +00:00
Matthew Flatt
1621091fc1 add 'current-read-interaction' parameter
svn: r18769
2010-04-09 13:22:57 +00:00
Matthew Flatt
bebf513aa7 change 'configure-runtime to produce a list of module-spcifying vectors instead of a single vector
svn: r18763
2010-04-08 19:11:50 +00:00
Matthew Flatt
5e22bb81f5 constant-folding repairs to some unsafe operations
svn: r18745
2010-04-07 12:48:15 +00:00
Matthew Flatt
abebb1c1f4 fix problem with per-registry locking of available-module visit & instantiation
svn: r18744
2010-04-07 12:34:50 +00:00
Eli Barzilay
da7d9485f1 Welcome to a new PLT day.
svn: r18743
2010-04-07 07:08:07 +00:00
Matthew Flatt
2c36427b20 fix compiler bug with unsafe-c[ad]r and constant folding (PR 10850)
svn: r18742
2010-04-07 02:25:27 +00:00
Matthew Flatt
aec586d2be fix a GC problem related to future and wcm; also fix a race condition related to JITing a delay-loaded procedure (and maybe specific to future-demanded JITting)
svn: r18739
2010-04-06 16:44:53 +00:00
Matthew Flatt
c5ac9f23ec better compiler handling of unused local bindings where the RHS either doesn't obviously produce a single value or is discovered to be unused late in bytecode compilation; initial Scribble support for printing qq-style results
svn: r18737
2010-04-06 15:52:36 +00:00
Eli Barzilay
8e36e8e3eb Welcome to a new PLT day.
svn: r18728
2010-04-03 07:50:06 +00:00
Matthew Flatt
2cb9f378aa Racket experiments
svn: r18725
2010-04-02 21:29:59 +00:00
Matthew Flatt
eff3c44ad3 fix bug in JIT handling of wcm
svn: r18719
2010-04-02 12:22:08 +00:00
Eli Barzilay
2a2562aa87 Welcome to a new PLT day.
svn: r18718
2010-04-02 07:28:09 +00:00
Kevin Tew
20b39568ad Whitespace fixes
svn: r18716
2010-04-01 22:18:06 +00:00
Kevin Tew
191b111109 Communciate Structs
svn: r18715
2010-04-01 17:03:51 +00:00
Kevin Tew
e64d36b71f scheme_make_prefab_struct_type
svn: r18714
2010-04-01 17:03:36 +00:00
Matthew Flatt
e0b9bbeba8 apply patch from Tim Wiess to make the Boehm GC build on OpenBSD
svn: r18712
2010-04-01 13:54:56 +00:00
Matthew Flatt
b2d65a1b95 fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations
svn: r18711
2010-04-01 13:14:50 +00:00
Kevin Tew
d34db39be1 Compiler Warning Fixes
svn: r18695
2010-03-31 16:10:29 +00:00
Matthew Flatt
b1801db304 fix unsafe-vector*-set!
svn: r18689
2010-03-31 11:24:49 +00:00
Matthew Flatt
e7e30384e1 per-regstry lock for lazy module instantiation (fixes DrScheme start-up problems); adjust configure for better pthread flags; merge to 4.2.5
svn: r18688
2010-03-31 10:59:49 +00:00
Matthew Flatt
9bc587b53d fix variable initialization in implementation of JIT
svn: r18681
2010-03-30 21:51:20 +00:00
Matthew Flatt
f7afbfa207 fix for non-futures build
svn: r18680
2010-03-30 21:48:13 +00:00
Matthew Flatt
417be5d8e2 move definedness check for imported variable to link time instead of access time; add errortrace meta-language; tweak errortrace to avoid an unnecessary and loop-obscuring annotation; improve slightly bytecode optimizer's handling of w-c-m; improve JIT handling of w-c-m
svn: r18678
2010-03-30 20:21:28 +00:00
Kevin Tew
5695d71ebc [struct.c] convert to char* immutable_array earlier
svn: r18675
2010-03-30 17:56:13 +00:00
Kevin Tew
a10c42a852 simplify _make_struct_type signature
svn: r18674
2010-03-30 17:55:59 +00:00
Matthew Flatt
22ce2af1a7 restore lost adjustment in optimizer that enables lifting of constant functions, especially loop functions
svn: r18664
2010-03-30 00:10:40 +00:00
Matthew Flatt
67cf037da6 fix chaperone-procedure GC bug
svn: r18663
2010-03-29 21:23:13 +00:00
Matthew Flatt
baab09fc1b drop the uglier half of the Mac OS X thread-local variable hack; thread GC state through mark functions (to avoid overhead of thread-local accesses); fix some procedure-arity bugs and work toward fixing chaperones and some other procedure operations on keyword procedures
svn: r18661
2010-03-29 15:06:47 +00:00
Eli Barzilay
8de7c3615a Welcome to a new PLT day.
svn: r18658
2010-03-29 07:50:18 +00:00
Matthew Flatt
b8c3112b98 fix chaperones on parameters
svn: r18654
2010-03-28 15:56:04 +00:00
Matthew Flatt
4ecf61f413 fix chaperone bugs uncovered by 64-bit build
svn: r18651
2010-03-28 02:18:29 +00:00
Matthew Flatt
73807aef24 chaperones (v4.2.5.3)
svn: r18650
2010-03-28 01:10:33 +00:00
Matthew Flatt
17ba04ea4b fix another bug in bytecode optimizer; merge to 4.2.5
svn: r18623
2010-03-26 04:00:48 +00:00
Matthew Flatt
72db535760 fix optimizer bug for inlining procedures under 'let' in rator position
svn: r18622
2010-03-25 20:09:41 +00:00
Noel Welsh
af84b331a1 Add the fx to fl conversion functions to Typed Scheme
Add tests for flonum operations to Typed Scheme test suite

Fix the compiler bug tests above uncovered

svn: r18609
2010-03-24 13:18:37 +00:00
Matthew Flatt
6edf2015c7 tighten JIT code for 'vector-set!'
svn: r18596
2010-03-22 17:43:45 +00:00
Kevin Tew
dedb261ea8 [Places] place-channels are syncable events, place-channel-send/recv, #t and #f are now communicated
svn: r18578
2010-03-18 16:53:16 +00:00
Kevin Tew
e9693b7d9d [Places] channels can send fixnums, strings, lists, and vectors
svn: r18576
2010-03-18 16:42:05 +00:00
Matthew Flatt
590c7514da build configure script correctly this time; probably merge to 4.2.5
svn: r18573
2010-03-18 13:23:05 +00:00
Matthew Flatt
9a21c31000 another try at fixing Solaris build; probably merge to 4.2.5
svn: r18572
2010-03-18 13:16:02 +00:00
Eli Barzilay
442a505be7 Welcome to a new PLT day.
svn: r18571
2010-03-18 07:50:16 +00:00
Matthew Flatt
4795b4ae27 rewind attempted fix for Solaris 10, because it doesn't work for Linux
svn: r18568
2010-03-17 19:30:44 +00:00
Eli Barzilay
83209d7b36 update version numbers for the v4.2.5 release
svn: r18564
2010-03-17 18:24:55 +00:00
Matthew Flatt
06f25d1359 Solaris patches from Johan Coppieters
svn: r18561
2010-03-17 17:38:49 +00:00
Matthew Flatt
00114d2f3e fix JIT bug related to re-boxing flonums
svn: r18554
2010-03-17 12:51:04 +00:00
Matthew Flatt
e713e27eee fix allocation bug in ffi
svn: r18530
2010-03-13 16:03:27 +00:00
Matthew Flatt
45da4cb3bc fix (malloc 'atomic-interior)
svn: r18516
2010-03-12 02:58:19 +00:00
Eli Barzilay
4441266553 Welcome to a new PLT day.
svn: r18505
2010-03-10 08:50:27 +00:00
Stevie Strickland
b917d99ce0 This didn't appropriately adjust for is_method.
svn: r18499
2010-03-10 01:10:13 +00:00
Stevie Strickland
ef90b0f91d Remove unused var, take Matthew's advice in scheme_extract_struct_procedure.
svn: r18494
2010-03-09 23:22:15 +00:00
Stevie Strickland
0ea1814b6b extend the reduced_proc struct to contain info on method wrapping
svn: r18492
2010-03-09 22:47:00 +00:00
Stevie Strickland
7aa99ae28a Branch for adding a procedure->method primitive.
svn: r18489
2010-03-08 21:48:25 +00:00
Matthew Flatt
4673b36dcf adjust inlining heuristics again
svn: r18479
2010-03-06 03:44:07 +00:00
Matthew Flatt
1cbb303594 avoid optimizer imprecision for inlining
svn: r18474
2010-03-05 13:50:40 +00:00
Kevin Tew
636526d6f1 Places docs edits
svn: r18455
2010-03-03 21:42:24 +00:00
Kevin Tew
bf71d2a8af refactored gc marked to clearly show fallthrough
svn: r18454
2010-03-03 21:42:14 +00:00
Matthew Flatt
af22da2e1e try to fix build for OS X variant
svn: r18436
2010-03-02 21:44:52 +00:00
Matthew Flatt
625953ca72 fix Windows thread-scheduling timer when parallel futures are enabled
svn: r18432
2010-03-02 19:32:58 +00:00
Matthew Flatt
ef9de6517a fix race condition in future-thread initialization
svn: r18430
2010-03-02 18:00:27 +00:00
Matthew Flatt
2ea9c6e02b fix placement of future pause-for-gc loop in JIT-generated code
svn: r18429
2010-03-02 16:59:06 +00:00
Matthew Flatt
0197183739 fix MrEd3m build when using SGC
svn: r18428
2010-03-02 15:17:19 +00:00
Matthew Flatt
fced29e946 fix regexp bug in unicode-category patterns
svn: r18427
2010-03-02 15:09:47 +00:00
Matthew Flatt
068dc863c4 fix futures allocation bug
svn: r18426
2010-03-02 14:36:14 +00:00
Kevin Tew
cc0872007a Stop the world for master collection
svn: r18424
2010-03-02 04:22:12 +00:00
Kevin Tew
c3b6de9a91 newgc.c debug cleanup
svn: r18423
2010-03-02 03:57:42 +00:00
John Clements
1656c0839b dsitributed --> distributed
svn: r18411
2010-03-01 19:03:09 +00:00
Matthew Flatt
dff9786222 fix problems with background-thread select() in Mac OS X mred
svn: r18410
2010-03-01 18:54:09 +00:00
Kevin Tew
672cdf7347 fix scheme_restart_instance to init logging config param
svn: r18409
2010-03-01 17:54:22 +00:00
Kevin Tew
706c1b9e00 Fix missed rename
svn: r18408
2010-03-01 17:45:55 +00:00
Matthew Flatt
c856b1b72e move hard-wired Mac TLS key from 0x108 to 0x110
svn: r18405
2010-03-01 13:13:24 +00:00
Eli Barzilay
d90c0e548b Welcome to a new PLT day.
svn: r18403
2010-03-01 08:50:30 +00:00
Matthew Flatt
57ab0dee65 OS X futures: only x86
svn: r18400
2010-03-01 01:43:06 +00:00
Matthew Flatt
9b6ccb1476 fix name collision with Linux+mred+futures
svn: r18399
2010-02-28 22:43:41 +00:00
Matthew Flatt
8f8a8b18b1 fix configure typo
svn: r18397
2010-02-28 22:14:04 +00:00
Matthew Flatt
e71bd71035 enable futures by default on Mac OS X and Linux x86/x86_64; future docs to ref and guide
svn: r18396
2010-02-28 22:06:59 +00:00
Matthew Flatt
2e0e4b8b95 enable parallel futures under Windows (enabled by default)
svn: r18395
2010-02-28 17:12:02 +00:00
Eli Barzilay
508b2ca269 Welcome to a new PLT day.
svn: r18377
2010-02-27 08:50:29 +00:00
Matthew Flatt
831dcc0c2c fix problem visiting available modules; improve backtrace in JIT mode to include module visits; fix use-before-def error to show correct phase (when it's not 0)
svn: r18375
2010-02-27 03:22:33 +00:00
Matthew Flatt
51b33d2149 fix problem with dynamic-require (PR 10785)
svn: r18369
2010-02-26 22:52:08 +00:00
Eli Barzilay
a8ac086430 libffi moved: gcc -> github
svn: r18355
2010-02-26 19:42:24 +00:00
Matthew Flatt
02583a1a08 ad hoc car/cdr optimizations
svn: r18354
2010-02-26 19:14:56 +00:00
Stevie Strickland
e30e8bba10 Bumping the version number due to changes in the primitive class interface.
svn: r18353
2010-02-26 19:01:59 +00:00
Sam Tobin-Hochstadt
6dee10e090 handle datarootdir to avoid warnings
svn: r18350
2010-02-26 14:47:39 +00:00
Sam Tobin-Hochstadt
7accc0bd7d Need to unwrap objects at two other points:
* When the C++ code uses direct access on objects (look for check_valid)
 * In the functions returned by class-field-accessor/mutator

svn: r18344
2010-02-25 23:42:13 +00:00
Stevie Strickland
1f10c4e422 Have external field accessors/mutators just redirect to the old object
themselves.  Also, have all objects carry the prop:unwrap property.

svn: r18330
2010-02-24 23:32:44 +00:00
Stevie Strickland
af0387e3a6 Fuck you, C, and the flea-bitten, mange-covered, syphilis-ridden horse you
rode in on.

svn: r18318
2010-02-24 16:35:30 +00:00
Stevie Strickland
60b6c81f9f Okay, updates to all this crapola. Going to try and see what happens if I
only attach prop:unwrap to wrapped objects.

svn: r18313
2010-02-23 23:56:08 +00:00
Stevie Strickland
7e6b4757fa Forgot to check this
svn: r18312
2010-02-23 22:40:07 +00:00
Stevie Strickland
e1cd160a40 Now that the C code is back at a compile-ready point, I'll check in.
svn: r18306
2010-02-23 20:57:22 +00:00
Stevie Strickland
5e07c2e340 Clean up the prop build a bit, and if there's no unwrapper, just return the
object (since this works like an identity anyway if it's not a wrapped object).

svn: r18301
2010-02-23 15:47:18 +00:00
Stevie Strickland
aa7062a35e Fix up kernel.ss to include unwrapper, also fix arity check now that it takes
one more.

svn: r18300
2010-02-23 15:01:04 +00:00
Stevie Strickland
6583b0b77c My first foray into the C side of things.
svn: r18299
2010-02-23 14:55:24 +00:00
Matthew Flatt
a7b5d0d8f1 add objscheme_unwrap() hook for contract system to interact with primitive MrEd classes
svn: r18297
2010-02-23 13:53:55 +00:00
Eli Barzilay
3ec0cb2731 Welcome to a new PLT day.
svn: r18146
2010-02-18 08:50:32 +00:00
Matthew Flatt
23ad685d67 bump version
svn: r18132
2010-02-17 21:44:22 +00:00
Jay McCarthy
a8d00cc3b3 Added new primitive: symbol-unreadable?
Updated Scheme implementation of zo parsing and marshaling
- Separated the structs into a different file and added contracts
- Implemented stxobj marshalling
- Fixed many small bugs in parser and marshaller
- Added new structs for new parser cases

Done by Blake Johnson (BYU)
Committed by Jay

svn: r18130
2010-02-17 21:33:00 +00:00
Kevin Tew
377d9be7ee fix compile error on places
svn: r18129
2010-02-17 21:26:38 +00:00
Matthew Flatt
008e7b3121 under linux, run write-barrier signal handler on alternate stack
svn: r18124
2010-02-17 20:43:34 +00:00
Kevin Tew
81d38e6acb places gc testing support code
svn: r18122
2010-02-17 20:35:46 +00:00
Matthew Flatt
91d725fbb9 add optional initialization argument to make-hash (and variants)
svn: r18120
2010-02-17 17:44:29 +00:00
Matthew Flatt
ea90a07c86 chage some quadratic-time parts of internal-defn expansion to linear
svn: r18109
2010-02-17 14:12:07 +00:00
Kevin Tew
7990337c1e Places gc fix
svn: r18100
2010-02-16 18:47:04 +00:00
Matthew Flatt
6f0d6b28de some mz and ffi changes from the mr2 branch
svn: r18099
2010-02-16 17:55:28 +00:00
Kevin Tew
a8fc2d55b3 Add convenient wrappers to scheme_extract_one_cc_mark_with_meta
svn: r18098
2010-02-16 16:46:25 +00:00
Kevin Tew
b865bb7868 gcc 4.4.1 compiler warning fix
svn: r18090
2010-02-15 20:31:24 +00:00
Kevin Tew
df51f39987 Wrap dynamic-require of place module with top_level_do
svn: r18089
2010-02-15 20:23:47 +00:00
Matthew Flatt
81dbd0a967 finish removing obsolete namespace-option support
svn: r18083
2010-02-14 14:30:45 +00:00
Matthew Flatt
d12e3e8c4f better solution for rev 18046
svn: r18072
2010-02-12 19:16:00 +00:00
Matthew Flatt
f94b9f4377 avoid a stack overflow with deeply call-in-nested threads
svn: r18046
2010-02-11 04:29:28 +00:00
Matthew Flatt
38a0f6d89a fix the actual result value for unboxed flmin and flmax
svn: r18045
2010-02-11 04:00:18 +00:00
Matthew Flatt
bdae105baf fix JIT flmin and flmax fp-stack handling when result is used in unboxed position
svn: r18044
2010-02-11 03:49:38 +00:00
Matthew Flatt
0a13958284 fix for Sparc Linux from James Vega (PR 10750)
svn: r18031
2010-02-09 16:16:47 +00:00
Matthew Flatt
13b5f7e095 fix recently introduced optimizer bug (affected the kanren test)
svn: r18016
2010-02-08 17:51:00 +00:00
Kevin Tew
ce7c7eac7b Removed unused parameters to grab_continuation
svn: r17996
2010-02-05 17:28:00 +00:00
Kevin Tew
ccbe173d08 Places GC fixes
svn: r17995
2010-02-05 17:06:13 +00:00
Kevin Tew
46b61873aa Move lazy global initialization to init_fun
svn: r17994
2010-02-05 17:06:05 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Matthew Flatt
3812f8ca72 improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones)
svn: r17972
2010-02-05 00:16:06 +00:00
Matthew Flatt
0a6f85a49c fix JIT bug related to capturing flonum locals
svn: r17968
2010-02-04 18:11:32 +00:00
Matthew Flatt
a27dcaa3ac use fpsetmask for freebsd
svn: r17966
2010-02-04 12:44:58 +00:00
Matthew Flatt
8dc290d077 change future-thread count to 16
svn: r17941
2010-02-02 17:19:47 +00:00
Eli Barzilay
99bebecd75 Welcome to a new PLT day.
svn: r17919
2010-02-01 08:50:38 +00:00
Matthew Flatt
5433c57504 wrap each top-level form in a module with a prompt
svn: r17917
2010-01-31 17:04:55 +00:00
Matthew Flatt
de98d4fd79 fix bug related to CGC, 'flvector-set', a bad first or second argument, and an unboxable third argument
svn: r17916
2010-01-31 16:50:36 +00:00
Matthew Flatt
fe532b712c update list of supported platforms
svn: r17887
2010-01-29 20:08:17 +00:00
Kevin Tew
d634beb1eb Fix double initialization of paramz key
svn: r17883
2010-01-29 14:21:25 +00:00
Matthew Flatt
ea87c95d95 adjust futures impl to use mzrt; fix MrEd build to work with futures
svn: r17879
2010-01-29 00:15:43 +00:00
Matthew Flatt
43bf186d53 byte zo reader to allow syntax objects within literal hash tables
svn: r17867
2010-01-28 18:49:08 +00:00
Matthew Flatt
a09e671f34 allow radio-box% to have no selected buttons
svn: r17865
2010-01-28 17:51:30 +00:00
Matthew Flatt
2c192f5297 support inlining of procedures with rest args
svn: r17860
2010-01-28 01:31:37 +00:00
Matthew Flatt
8733e7f233 fix JIT bug related to locally bound flonums; merge to 4.2.4
svn: r17857
2010-01-27 23:22:23 +00:00
Kevin Tew
3d3038baec gc debugging fix
svn: r17845
2010-01-26 22:04:24 +00:00
Kevin Tew
7114cdf51e Inital places documentation
svn: r17818
2010-01-25 16:11:34 +00:00
Kevin Tew
5f8c18a7ef places exit handler
svn: r17817
2010-01-25 16:11:22 +00:00
Matthew Flatt
4ce8dfa7da fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
svn: r17802
2010-01-24 15:30:16 +00:00
Matthew Flatt
bfa543bd11 fix problem initializing tail buffer; fix JIT checking of unsafe-f{l,64}vector-ref unboxing; fix error message for unbound variables (merge to 4.2.4)
svn: r17788
2010-01-23 22:37:07 +00:00
Kevin Tew
a6c1b9256e Places added place local module path table for uninterned symbols
svn: r17774
2010-01-22 23:32:32 +00:00
Kevin Tew
e0fff18e68 don't use stdout for cstartup generation
svn: r17772
2010-01-22 21:17:21 +00:00
Eli Barzilay
a86337375d Welcome to a new PLT day.
svn: r17746
2010-01-19 08:50:22 +00:00
Matthew Flatt
a6231d88e9 fix (#%variable-reference) in let-syntax RHS (PR 10696)
svn: r17745
2010-01-19 08:00:50 +00:00
Eli Barzilay
b1abbab3ff update version numbers for the v4.2.4 release
svn: r17711
2010-01-18 06:08:24 +00:00
Matthew Flatt
f2e60c97a7 drop native stack traces from continuations; they're expensive to compute, not actually used, and could be computed on demand
svn: r17667
2010-01-15 20:57:52 +00:00
Matthew Flatt
5f3b90943b JIT fast path for setting global/module variable; repair fix for PR 10693
svn: r17663
2010-01-15 14:02:57 +00:00
Matthew Flatt
e90853cccd rewind part of inlining algorithm that could help somewhat with higher-order functions that contain internal loops, but it can also make other code much worse
svn: r17656
2010-01-14 21:20:49 +00:00
Kevin Tew
24d2dbf65e fix GC medium objects allocation size accounting
svn: r17655
2010-01-14 20:18:43 +00:00
Matthew Flatt
857c3bbb17 fix GC double counting of big gen0 pages
svn: r17651
2010-01-14 18:09:41 +00:00
Kevin Tew
485900bfa6 global tagging
svn: r17648
2010-01-14 17:32:06 +00:00
Matthew Flatt
3572f7bc18 fix problem in bytecode printer
svn: r17641
2010-01-13 23:31:34 +00:00
Kevin Tew
08fa44801c Places Async Channels
svn: r17637
2010-01-13 19:16:54 +00:00
Kevin Tew
e4fdd172a7 remove old gc cruft
svn: r17634
2010-01-13 17:08:20 +00:00
Matthew Flatt
fbe29fa7e2 fix declaration not at block start
svn: r17629
2010-01-13 13:50:40 +00:00
Kevin Tew
4977211ee7 Move kernel to master
svn: r17623
2010-01-12 23:53:01 +00:00
Matthew Flatt
331c6d2f5f fix bignum expt (PR 10690); also fixed a doc typo
svn: r17614
2010-01-12 02:16:12 +00:00
Eli Barzilay
7d27dafa77 Welcome to a new PLT day.
svn: r17592
2010-01-10 08:50:38 +00:00
Matthew Flatt
58e6d2426a fix bug introduced into module-compiled-exports
svn: r17589
2010-01-09 14:48:51 +00:00
Matthew Flatt
349c15d478 replae module->compiled-module-expression with module->imports and module->exports
svn: r17588
2010-01-09 14:42:18 +00:00
Eli Barzilay
eb8a60a235 Welcome to a new PLT day.
svn: r17587
2010-01-09 08:50:42 +00:00
Kevin Tew
0dc9ae031c atomic increase of max_symbol_length, locking for jit freelist, globals tagging
svn: r17584
2010-01-08 23:05:33 +00:00
Matthew Flatt
b63c4bb8d0 fix (tcp-listen 0) for IPv6
svn: r17578
2010-01-08 20:41:43 +00:00
Matthew Flatt
d665fd5b23 fix 'time' CPU-time wraparound under Windows
svn: r17577
2010-01-08 20:07:59 +00:00
Matthew Flatt
4fedeeaf7a add module->compiled-module-expression, which is used in Scribble's traversal of module paths to find documented bindings
svn: r17576
2010-01-08 19:53:04 +00:00
Matthew Flatt
425d3d6145 fix shared-library version for CGC lib
svn: r17564
2010-01-08 13:45:57 +00:00
Kevin Tew
8d774adef7 global tagging
svn: r17561
2010-01-08 04:36:46 +00:00
Matthew Flatt
530238a12b fix libunwind problem (seocnd attempt)
svn: r17558
2010-01-07 23:18:26 +00:00
Matthew Flatt
42172e4fda fixes for places
svn: r17557
2010-01-07 22:43:29 +00:00
Kevin Tew
dc9f3227c5 global tagging
svn: r17535
2010-01-07 17:50:21 +00:00
Matthew Flatt
f7f6b972fd fix problem with flmin/flmax and cgc
svn: r17532
2010-01-07 16:33:26 +00:00
Eli Barzilay
ecb1f6525d Welcome to a new PLT day.
svn: r17528
2010-01-07 08:50:36 +00:00
Matthew Flatt
41261c6047 fill out fl and fx operations; repair fixnum-overflow bug in quotient
svn: r17524
2010-01-07 03:30:33 +00:00
Kevin Tew
aeb3523346 GLOBAL_FOLDING_PRIM cleanup char.c
svn: r17521
2010-01-06 23:25:09 +00:00
Kevin Tew
a7b8ff1313 global tagging
svn: r17518
2010-01-06 22:48:27 +00:00
Kevin Tew
8c9019aeee num_limits initialization fix
svn: r17515
2010-01-06 22:13:48 +00:00
Matthew Flatt
0f9eda49c1 disable unwind cache for now
svn: r17514
2010-01-06 21:55:18 +00:00
Matthew Flatt
3006abec4b enable libunwind caching to avoid potential memory leak
svn: r17494
2010-01-06 16:28:22 +00:00
Kevin Tew
2d92b5aa91 remove unneeded global variable mtrace_cmark_key
svn: r17490
2010-01-06 05:11:15 +00:00
Kevin Tew
f12bda77c9 global variable tagging
svn: r17489
2010-01-06 04:49:03 +00:00
Kevin Tew
d08684c9b8 remove static check_counter from print
svn: r17488
2010-01-05 23:59:46 +00:00
Matthew Flatt
485858fa72 fix bytecode validator to reject symbolic requires in modules
svn: r17487
2010-01-05 22:35:20 +00:00
Matthew Flatt
6151119d5e JIT tweak for flonum comparisons; better bytecode-compiler transformations for expressions used as branch tests
svn: r17486
2010-01-05 20:24:59 +00:00
Kevin Tew
620a4d6dd6 CIL Tagging
svn: r17485
2010-01-05 15:59:12 +00:00
Matthew Flatt
3902824d88 adjust inlining algorithm again; better JIT compilation of nested branches; better JIT handling of literal floating-point numbers
svn: r17484
2010-01-05 15:13:03 +00:00
Kevin Tew
e1a98129dc Unused variable directly
svn: r17483
2010-01-05 14:49:07 +00:00
Kevin Tew
ee641b80ac Allow shared_so linux GC testing via homespun access to ThreadLocalVariables table
svn: r17477
2010-01-04 22:18:08 +00:00
Eli Barzilay
958710559b Welcome to a new PLT day.
svn: r17468
2010-01-03 08:50:36 +00:00
Matthew Flatt
38d7e8fea2 built-in fixnum ops; bug fix related to misuse of flonum ops; questionable attempt to improve inlining algorithm
svn: r17461
2010-01-02 16:33:28 +00:00
Kevin Tew
fb9a71d5a7 Add cached_mod_stx and cached_mod_beg_stx the ../include/schthread.h
svn: r17443
2009-12-30 22:13:35 +00:00
Kevin Tew
6a4bae10d0 Remove lazy initialization of dummy_io_ports, prone to race conditions
svn: r17442
2009-12-30 21:47:18 +00:00
Kevin Tew
019a8601e7 Remove hash_counter static variable
svn: r17441
2009-12-30 20:56:56 +00:00
Kevin Tew
924314b634 Remove unused scheme_exiting_result
svn: r17440
2009-12-30 20:26:50 +00:00
Matthew Flatt
e68aabd67a change expand and local-expand to lift certificates
svn: r17439
2009-12-30 17:27:38 +00:00
Matthew Flatt
63fc877988 Alpha GMP patch (PR 10678)
svn: r17437
2009-12-30 12:39:33 +00:00
Kevin Tew
8fdf526cc7 Remove unused code warnings
svn: r17400
2009-12-25 18:22:29 +00:00
Kevin Tew
851fb462b2 Added scheme_init_bignum
svn: r17399
2009-12-25 18:05:01 +00:00
Matthew Flatt
d0a4c6427b fix arity of some fx operations
svn: r17388
2009-12-23 01:31:32 +00:00
Eli Barzilay
d51cae1708 2009 -> 2010
svn: r17383
2009-12-22 05:52:15 +00:00
Eli Barzilay
cda2d12914 better text generation
svn: r17373
2009-12-21 05:46:16 +00:00
Matthew Flatt
f332afc3dd fix leak created by transitive thread-resume
svn: r17370
2009-12-20 15:39:55 +00:00
Matthew Flatt
b7efdd59a5 fix another bit-array-allocation problem in bytecode compiler
svn: r17358
2009-12-19 16:30:01 +00:00
Eli Barzilay
3e98722e10 Welcome to a new PLT day.
svn: r17356
2009-12-19 08:50:33 +00:00
Matthew Flatt
52c8e09f25 fix registration of some shared JIT code
svn: r17354
2009-12-19 04:32:13 +00:00
Matthew Flatt
0a1e4e6e83 fix an allocation in bytecode compiler; add flvector equality
svn: r17353
2009-12-18 21:53:02 +00:00
Matthew Flatt
35040e040c move incorrectly placed assertion
svn: r17352
2009-12-18 18:17:26 +00:00
Matthew Flatt
35773daad4 FSQRT machine instruction is optional on PPC
svn: r17351
2009-12-18 17:38:32 +00:00
Matthew Flatt
14ce6e48e6 fix JIT bug in fl argument checking with CGC or PPC
svn: r17350
2009-12-18 17:23:09 +00:00
Matthew Flatt
9192f073d0 compiler flonum tweaks
svn: r17349
2009-12-18 16:59:05 +00:00
Matthew Flatt
fdd7122994 scheme/flonum (v4.2.3.8)
svn: r17348
2009-12-18 15:40:00 +00:00
Eli Barzilay
5f7d1792ad Welcome to a new PLT day.
svn: r17347
2009-12-18 08:50:36 +00:00
Kevin Tew
36083a71ab explicit symbol initialization
svn: r17344
2009-12-17 21:05:19 +00:00
Matthew Flatt
ff81d89c52 guarantee current-inexact-milliseconds as since Jan 1, 1970
svn: r17343
2009-12-17 20:47:40 +00:00
Matthew Flatt
cab948d61f fix up validator, decompiler, and zo-marshaler for flonum-argument annotations
svn: r17341
2009-12-17 20:17:48 +00:00
Kevin Tew
73aa22e65d spurious gc argument
svn: r17339
2009-12-17 17:59:47 +00:00
Matthew Flatt
bc47db42e4 unboxed known-flonum loop accumulators
svn: r17338
2009-12-17 15:58:29 +00:00
Eli Barzilay
babae9a18d Welcome to a new PLT day.
svn: r17333
2009-12-17 08:51:08 +00:00
Matthew Flatt
45e84ca087 unboxing of let-bound flonums (v4.2.3.6)
svn: r17328
2009-12-16 13:30:40 +00:00
Kevin Tew
a23c519ac8 Make ffl_buf local
svn: r17315
2009-12-15 22:10:28 +00:00
Kevin Tew
73d2fde4af Fix System_Child mark
svn: r17309
2009-12-15 16:58:16 +00:00
Eli Barzilay
145ed582b3 Welcome to a new PLT day.
svn: r17305
2009-12-15 08:51:03 +00:00
Matthew Flatt
87f05fed95 add #:save-errno option for foreign-function types
svn: r17299
2009-12-14 23:52:23 +00:00
Matthew Flatt
5772fa0a9f bytecode-compiler changes to help enable flonum unboxing
svn: r17283
2009-12-13 04:39:46 +00:00
Matthew Flatt
ea1929841b fix and adjust inlining metric
svn: r17274
2009-12-12 03:18:24 +00:00
Matthew Flatt
fb67e2610b adjust large-file-support flag handling
svn: r17267
2009-12-11 12:49:46 +00:00
Kevin Tew
d339a01d04 Remove equal_counter
svn: r17260
2009-12-10 16:43:28 +00:00
Kevin Tew
2003de720a Wrap place invocation with setjmp error handling
svn: r17259
2009-12-10 16:34:14 +00:00
Matthew Flatt
d4aaa9cf6f adaptive future-nursery size
svn: r17252
2009-12-10 02:25:46 +00:00
Kevin Tew
2e166e14e9 Fixed compiler warning
svn: r17187
2009-12-04 22:51:02 +00:00
Eli Barzilay
5a57905065 Welcome to a new PLT day.
svn: r17181
2009-12-04 08:50:54 +00:00
Matthew Flatt
c73b587e98 inline flvector-length
svn: r17178
2009-12-03 18:04:02 +00:00
Matthew Flatt
4eef1b3cee flvectors
svn: r17177
2009-12-03 16:42:32 +00:00
Matthew Flatt
7015edb070 fix corner case of futures where the initial procedure needs too deep a Scheme stack
svn: r17165
2009-12-02 20:00:32 +00:00
Matthew Flatt
ec7dbeee65 fix runstack reset in future thread
svn: r17164
2009-12-02 19:39:21 +00:00
Ryan Culpepper
4495620f3b bug fix for syntax-local-value with internal definitions context
svn: r17143
2009-12-01 18:33:59 +00:00
Kevin Tew
a9f964094a [Places] register OSX mach threads
svn: r17141
2009-12-01 17:27:02 +00:00
Kevin Tew
93488dfe1e [Places] Fix SIGCHLD
svn: r17140
2009-12-01 17:26:54 +00:00
Kevin Tew
788d913bba [Places] MasterGC allocation and collection; place_wait; master initiated child collection
svn: r17139
2009-12-01 17:26:45 +00:00
Eli Barzilay
3d9c4b0ac5 Added --addon'/-A', in addition to $PLTADDONDIR from revision 17121.
svn: r17136
2009-12-01 15:11:45 +00:00
Eli Barzilay
771b203610 removed old translation of --no-argv to -A
svn: r17133
2009-12-01 13:08:44 +00:00
Eli Barzilay
2fd3c23393 Undo this change. Like I said on the list, it is wrong to poll the
environment variable every time it is accessed (especially given that
there will be a command-line option for this).  I'll commit a proper
thing later tonight if I get to it.

svn: r17122
2009-12-01 02:16:19 +00:00
Carl Eastlund
b4a32ddc1c Merged changes from branches/cce/plt+addon-dir:
- Added PLTADDONDIR environment variable to control the location of
  generated files from Planet and Scribble, specifically by overriding
  the result of (find-system-path 'addon-dir).
- Updated documentation of find-system-path to report this change.

svn: r17121
2009-12-01 02:10:50 +00:00
Matthew Flatt
06f231a0a7 JIT tweaks
svn: r17102
2009-11-30 02:52:43 +00:00
Matthew Flatt
06288a8b7f procedure-rename special treatment of struct accessors & mutators
svn: r17093
2009-11-29 15:53:08 +00:00
Matthew Flatt
45b979421a fix sequential-only processor-count
svn: r17091
2009-11-29 01:50:59 +00:00
Matthew Flatt
bad728f5b5 fix getenv code for Windows
svn: r17081
2009-11-27 14:04:35 +00:00
Eli Barzilay
335d5353f8 Welcome to a new PLT day.
svn: r17080
2009-11-27 08:50:32 +00:00
Matthew Flatt
d3ff146643 fix JIT bug in multi-arity arithmetic inlining
svn: r17076
2009-11-27 03:35:36 +00:00
Matthew Flatt
f03ab78c40 another syntax hack to fix 'scheme/package'; other test corrections
svn: r17075
2009-11-27 02:12:27 +00:00
Matthew Flatt
5e9ead0e26 fix unboxing offset
svn: r17070
2009-11-26 15:44:43 +00:00
Matthew Flatt
8365c0a938 minor clean-up
svn: r17069
2009-11-26 15:27:47 +00:00
Matthew Flatt
61dd4ca0b9 add unsafe-f64vector-{ref,set!} and improve JIT to inline arithmetic ops with more than 2 arguments
svn: r17068
2009-11-26 15:07:16 +00:00
Matthew Flatt
3492522501 fix checking of PLTNOMZJIT
svn: r17060
2009-11-25 18:11:55 +00:00
Kevin Tew
c5ccff770a add scheme_init_os_thread for places mzrt threads
svn: r17053
2009-11-24 23:31:07 +00:00
Kevin Tew
831bac8ee3 put/getenv performance fix attempt
svn: r17043
2009-11-24 14:58:40 +00:00
Matthew Flatt
4d73d5ec08 fix JIT stack-chain caching for PPC (merge to 4.2.3)
svn: r17033
2009-11-24 10:13:04 +00:00
Matthew Flatt
dcf2991736 future fixes: continuation barrier in place, handle multiple results from a future
svn: r17019
2009-11-23 23:00:08 +00:00
Kevin Tew
66869a13d5 Fixes for new THREAD_LOCAL table
svn: r17017
2009-11-23 22:13:47 +00:00
Kevin Tew
2599cf95f8 THREAD_LOCAL Logger
svn: r17016
2009-11-23 21:34:29 +00:00
Kevin Tew
ce693bdb82 PLACES putenv fix
svn: r17011
2009-11-23 19:58:27 +00:00
Matthew Flatt
f719aac2be scheme/future, sequential futures implementation when --enable-futures not specified; doc updates
svn: r16999
2009-11-23 18:12:23 +00:00
Matthew Flatt
78578a3eab convert START_XFORM_SKIP...END_XFORM_SKIP mostly to XFORM_SKIP_PROC
svn: r16972
2009-11-22 23:30:21 +00:00
Matthew Flatt
178d0f8e34 fix problems with the embedded command-line length (merge to 4.2.3)
svn: r16962
2009-11-22 15:31:18 +00:00
Matthew Flatt
d4cbb3b9a7 fix future-creation record declaration for 3m
svn: r16953
2009-11-22 02:58:59 +00:00
Matthew Flatt
79817a2087 slimy pthread_getspecifc()-inlining trick to practically eliminate the overhead of futures support under OS X
svn: r16952
2009-11-22 02:34:40 +00:00
Matthew Flatt
7b05f75878 misc fixes to build related to thread-local support
svn: r16941
2009-11-21 16:16:41 +00:00
Matthew Flatt
e7f47a0882 fix XFORM_SKIP annotation placement that MSVC doesn't like
svn: r16936
2009-11-21 04:25:01 +00:00
Matthew Flatt
41bf71fa06 futures minor re-org to prepare for mixing futures and places
svn: r16934
2009-11-21 04:05:23 +00:00
James Swaine
074450e268 fixed futures (processor-count) on OS X (was previously always returning 1)
svn: r16924
2009-11-20 16:41:07 +00:00
Matthew Flatt
9367b1bbad alternate use of registers by JIT in 32-bit thread-local mode
svn: r16923
2009-11-20 15:42:05 +00:00
Matthew Flatt
c8b2ba9d3f future GC lock repair
svn: r16921
2009-11-20 14:04:59 +00:00
Matthew Flatt
1991cde5a7 fix handling of future atomic runtime requests
svn: r16920
2009-11-20 13:59:46 +00:00
Matthew Flatt
314faa6690 count future allocation toward GC trigger
svn: r16919
2009-11-20 13:00:31 +00:00
Matthew Flatt
d2e5807811 fix some synchronization problems in futures
svn: r16916
2009-11-20 06:30:55 +00:00
Matthew Flatt
d5f50056b1 revise future logging to report names and use the main logger
svn: r16914
2009-11-20 04:19:37 +00:00
Matthew Flatt
1e98ff1667 change to future logging
svn: r16912
2009-11-20 03:22:10 +00:00
Matthew Flatt
b064ebfa75 fix an old JIT optimization; more future logging; trampolined tail calls in futures
svn: r16911
2009-11-20 02:24:54 +00:00
Matthew Flatt
1224ad19be handle escapes in futures
svn: r16910
2009-11-20 00:47:44 +00:00
Matthew Flatt
2781f1a4b8 fix use of multiple values in futures
svn: r16907
2009-11-19 23:39:31 +00:00
James Swaine
ec1cfb5a12 made primitive tracking configurable at runtime
svn: r16906
2009-11-19 23:34:18 +00:00
Matthew Flatt
bf8c1826b4 fix non-future build
svn: r16904
2009-11-19 22:41:49 +00:00
James Swaine
6137c3267f fixed issue with atomic primitive invocations in futures
svn: r16903
2009-11-19 22:37:08 +00:00
Matthew Flatt
f0b5a9e6c6 fix non-futures build
svn: r16901
2009-11-19 22:06:54 +00:00
Matthew Flatt
eb9eeda873 cover all functions called form JIT that need to go back to runtime thread
svn: r16898
2009-11-19 21:56:17 +00:00
Matthew Flatt
acba624431 allow future threads to continue after JIT or GC interruption
svn: r16894
2009-11-19 19:21:58 +00:00
Matthew Flatt
a88c481b02 fix check for on-demand JITting
svn: r16892
2009-11-19 16:12:04 +00:00
Matthew Flatt
a2ad57e732 nested future touches
svn: r16891
2009-11-19 15:26:35 +00:00
Matthew Flatt
837c057ca9 remove some indirections in thread-local lookup
svn: r16890
2009-11-19 14:22:08 +00:00
Eli Barzilay
4ade4cf9ef Welcome to a new PLT day.
svn: r16888
2009-11-19 08:50:21 +00:00
Matthew Flatt
77ae545fe6 future repairs
svn: r16884
2009-11-18 23:12:00 +00:00
James Swaine
f18b62ff42 double free fixed in gc
svn: r16882
2009-11-18 21:28:23 +00:00
Matthew Flatt
8c3e5060dd future repairs
svn: r16881
2009-11-18 21:23:36 +00:00
Matthew Flatt
3b92693146 write-barrier handling with multiple threads
svn: r16880
2009-11-18 20:46:49 +00:00
Matthew Flatt
f921cf62cc more on thread-local allocation
svn: r16879
2009-11-18 20:07:58 +00:00
Matthew Flatt
bdca9c1e8f closer to thread-local allocation in futures
svn: r16876
2009-11-18 19:10:25 +00:00
James Swaine
da1a171ebe more futures fixes
svn: r16874
2009-11-18 17:13:50 +00:00
Matthew Flatt
54f5c14657 more thread-local repairs
svn: r16873
2009-11-18 17:05:46 +00:00
James Swaine
9765a14a94 futures bug fixes
svn: r16871
2009-11-18 15:49:49 +00:00
Matthew Flatt
ec7845b135 try again to fix header-file installation
svn: r16870
2009-11-18 15:43:45 +00:00
Matthew Flatt
cfde7cdf4a try to fix header-file installation
svn: r16869
2009-11-18 15:42:44 +00:00
Matthew Flatt
079c2d7851 fix logging problem
svn: r16868
2009-11-18 15:37:18 +00:00
Matthew Flatt
beec840463 fix another include of future.h
svn: r16867
2009-11-18 15:33:58 +00:00
Matthew Flatt
f1e38d99de fix include of future.h
svn: r16866
2009-11-18 15:30:53 +00:00
Matthew Flatt
57aa34cfe6 repairs for thread-local support when the C sompiler does support thread locals
svn: r16864
2009-11-18 15:15:20 +00:00
Matthew Flatt
e26c2a084f another fix for header problem
svn: r16863
2009-11-18 15:08:01 +00:00
Matthew Flatt
fd784ad769 fix a header problem
svn: r16862
2009-11-18 14:59:25 +00:00
Matthew Flatt
5d79713481 C thread-local variables when the C compiler don't support thread-local variables
svn: r16860
2009-11-18 14:52:51 +00:00
Eli Barzilay
ea8ebcce6f Welcome to a new PLT day.
svn: r16858
2009-11-18 08:50:16 +00:00
Matthew Flatt
4322965b21 fix x86_64 32-bit store to an immediate 64-bit address
svn: r16855
2009-11-18 02:29:38 +00:00
Matthew Flatt
99978206b0 fix some 64-bit problems with recent JIT changes
svn: r16854
2009-11-18 01:27:36 +00:00
James Swaine
8d3dadc2b5 added argument validation to future and touch primitives
svn: r16852
2009-11-17 21:30:59 +00:00
James Swaine
7ac3dd6a76 fixes to futures gc interaction code
svn: r16851
2009-11-17 21:27:02 +00:00
Matthew Flatt
e1e2267973 futures and GC cooperation
svn: r16848
2009-11-17 21:02:44 +00:00
James Swaine
4920613774 removed unnecessary logging
svn: r16845
2009-11-17 20:24:21 +00:00
James Swaine
72f4eec8c8 futures bug fixes
svn: r16844
2009-11-17 20:13:17 +00:00
Matthew Flatt
a145f096cb fix ts_scheme_tail_apply...
svn: r16843
2009-11-17 20:02:21 +00:00
James Swaine
8d6705dde4 svn: r16841 2009-11-17 19:57:35 +00:00
Matthew Flatt
e333bf9ffc basics for future primitive type
svn: r16840
2009-11-17 19:55:03 +00:00
Matthew Flatt
1fac4829a6 support multiple signal-received handles
svn: r16838
2009-11-17 19:22:43 +00:00
Matthew Flatt
a91ff1c603 fix thread-local fuel counters in JIT
svn: r16835
2009-11-17 18:33:27 +00:00
Matthew Flatt
fe939fa2bd thread-local fuel counters in JIT
svn: r16834
2009-11-17 18:30:43 +00:00
Matthew Flatt
3f349aeb51 futures => pthead timer
svn: r16833
2009-11-17 17:52:30 +00:00
Matthew Flatt
c5ac31e88d avoid sbrk(), which does not work with mprotect()
svn: r16832
2009-11-17 17:29:18 +00:00
Matthew Flatt
f2259b5d7d turn on thread-local for futures
svn: r16830
2009-11-17 15:35:07 +00:00
James Swaine
f50fe8f455 futures fixes
svn: r16829
2009-11-17 15:32:01 +00:00
Eli Barzilay
fedfce8a18 update version numbers for the v4.2.3 release
svn: r16822
2009-11-17 03:53:56 +00:00
Matthew Flatt
b50aee633f fix file-or-directory-identity for dirs on Windows
svn: r16791
2009-11-16 00:09:09 +00:00
Matthew Flatt
bd15e86680 fix sconfig for FreeBSD
svn: r16749
2009-11-13 17:44:08 +00:00
Matthew Flatt
a00aa188ea move FreeBSD stack config flags to sconfig (insteda of configure)
svn: r16748
2009-11-13 17:35:36 +00:00
Matthew Flatt
c311b8ed66 restore fixed-stack-size configuration for FreeBSD
svn: r16746
2009-11-13 16:06:03 +00:00
Matthew Flatt
f2d14f7af0 fix bug related to continuation-mark-set->list*
svn: r16678
2009-11-11 00:01:01 +00:00
Matthew Flatt
af5d176124 remove error when fuel doesn't auto-decrement
svn: r16665
2009-11-10 21:01:05 +00:00
Matthew Flatt
df2e50497d fix 'lambda' expander (PR 10534)
svn: r16648
2009-11-10 02:36:46 +00:00
Eli Barzilay
5cd8db9be6 Welcome to a new PLT day.
svn: r16606
2009-11-07 08:25:28 +00:00
Matthew Flatt
c880b2119c fix problems with recent FFI changes
svn: r16565
2009-11-05 20:29:18 +00:00
Matthew Flatt
37adbb42a8 fix region<%> set-path for 'aligned mode
svn: r16549
2009-11-04 21:24:19 +00:00
Matthew Flatt
c49b22fa2c change _pointer to mean a reference to non-GCed memory; add _gcpointer (v4.2.2.6)
svn: r16546
2009-11-04 19:28:04 +00:00
Matthew Flatt
b877098bac fix draw-arc to skip drawing instead of setting the scale to 0
svn: r16502
2009-11-02 16:22:10 +00:00
Matthew Flatt
16e3ee3e6c fix scaling of X fonts when text effects (such as italic) are implemented as transformations
svn: r16501
2009-11-02 13:41:02 +00:00
Matthew Flatt
83773b40ae fix unsafe-string-ref for x86_64
svn: r16496
2009-11-01 13:42:18 +00:00
Eli Barzilay
02fda9ff1e Welcome to a new PLT day.
svn: r16491
2009-10-31 07:50:37 +00:00
Matthew Flatt
70560372b7 unsafe-{string,bytes}-{ref,set,length}
svn: r16490
2009-10-31 02:19:57 +00:00
Matthew Flatt
717e9390df more configure adjustements related to pthreads
svn: r16483
2009-10-30 18:12:18 +00:00
Mike Sperber
9aa2075961 Unbreak the FreeBSD build.
svn: r16481
2009-10-30 17:25:35 +00:00
Matthew Flatt
973d51c20f change 'read-language' protocol so that the result from 'get-info' accepts a key plus default value (instead of just a key)
svn: r16459
2009-10-29 23:05:56 +00:00
Matthew Flatt
a4d3b956f7 merge experiment with futures
svn: r16435
2009-10-26 19:45:13 +00:00
Matthew Flatt
535958988c fix bug in inlined unsafe arithmetic branch
svn: r16431
2009-10-26 16:40:18 +00:00
Matthew Flatt
4a6d37f63f remove misplaced THREAD_LOCAL
svn: r16418
2009-10-23 00:08:00 +00:00
Kevin Tew
2955ff1b0e Silence gcc 4.4.1 compiler warnings
svn: r16411
2009-10-22 17:17:32 +00:00
Kevin Tew
c6bd8a596d Kill off pthread itimer threads for places
svn: r16402
2009-10-21 19:42:55 +00:00
Kevin Tew
8a45f34acd Jit places support
svn: r16401
2009-10-21 17:33:43 +00:00
Kevin Tew
7cf6ec0836 out_of_memory cleanup per Jon
svn: r16388
2009-10-20 19:48:24 +00:00
Kevin Tew
ac7853dc00 Allow binding to ephemeral ports
svn: r16382
2009-10-20 17:00:20 +00:00
Jon Rafkind
1bcf4be2ae parse ellipses in honu mode
svn: r16375
2009-10-19 23:12:54 +00:00
Jon Rafkind
194e496e13 * remove checks for x<0 when x is unsigned
* change void* pointer arithmetic to char*
* make some gc functions consistent

svn: r16368
2009-10-19 16:50:08 +00:00
Matthew Flatt
a71b5697ad fix drag-and-drop window traversal to handle menus and other unrealized windows
svn: r16365
2009-10-19 14:01:34 +00:00
Matthew Flatt
fd5f274c50 fix #%apply-values optimizer (mostly to avoid bogus optimizer complaints)
svn: r16353
2009-10-17 18:22:24 +00:00
Matthew Flatt
7b1462237a thread-local JIT repairs
svn: r16322
2009-10-15 02:56:23 +00:00
Matthew Flatt
ef11277174 fix some JIT_THREAD_LOCAL typos
svn: r16321
2009-10-14 16:57:03 +00:00
Matthew Flatt
f065eb53c1 initial thread-local JIT support
svn: r16320
2009-10-14 14:04:24 +00:00
Kevin Tew
56757bf8b0 remove compiler warning
svn: r16314
2009-10-13 20:58:58 +00:00
Kevin Tew
ef0062637e Places uses pthread timers to timout green threads
svn: r16311
2009-10-13 19:29:18 +00:00
Kevin Tew
6a9deb3a85 fd_set fix for PLACES
svn: r16301
2009-10-12 21:37:53 +00:00
Kevin Tew
ea1afc9ff8 Added scheme_raw_pair debug support
svn: r16277
2009-10-07 21:58:45 +00:00
Kevin Tew
bffc3bf93c THREAD_LOCAL system_idle_put_evt
svn: r16276
2009-10-07 21:58:39 +00:00
Matthew Flatt
d3b85570a5 upgrade Boehm GC to v7.1
svn: r16274
2009-10-07 17:56:48 +00:00
Matthew Flatt
d759277921 fix build for platforms that do not support JIT; add --disable-jit configure option
svn: r16252
2009-10-06 14:56:11 +00:00
Kevin Tew
cf33a9e294 More pt->src_modidx unneeded assignment fixes
svn: r16250
2009-10-06 12:43:20 +00:00
Kevin Tew
56c8604a13 THREAD_LOCAL stack_copy_cache
svn: r16249
2009-10-06 12:43:11 +00:00
Eli Barzilay
21d0745fa8 Welcome to a new PLT day.
svn: r16235
2009-10-04 07:50:34 +00:00
Matthew Flatt
f6d34ab964 add unsafe-flabs and unsafe-fxabs (4.2.2.4)
svn: r16234
2009-10-04 03:25:56 +00:00
Matthew Flatt
f70e7e3385 fix bitwise-bit-field for 64-bit build (PR 10502)
svn: r16232
2009-10-04 01:38:50 +00:00
Matthew Flatt
9852bb16a2 unboxing of intermediate results in some 'unsafe-fl' combinations
svn: r16229
2009-10-03 14:10:55 +00:00
Eli Barzilay
c579734e6b Welcome to a new PLT day.
svn: r16228
2009-10-03 07:50:14 +00:00
Matthew Flatt
01d15eb9b6 add unsafe-fx->fl; avoid some gcc warnings
svn: r16221
2009-10-02 19:45:41 +00:00
Kevin Tew
a25ddaae54 kernstruct.ss in scheme/private, makeexn generates kernstruct.ss
svn: r16215
2009-10-02 14:31:45 +00:00
Kevin Tew
84833de442 gcc warnings cleanup
svn: r16209
2009-10-02 02:13:45 +00:00
Matthew Flatt
6d968cbfa8 exit -singleInstance transfer with success instead of failure
svn: r16208
2009-10-01 23:51:35 +00:00
Matthew Flatt
a6825c5e58 avoid overflow in size calculation for make-vector
svn: r16207
2009-10-01 23:50:43 +00:00
Matthew Flatt
788ccc7f15 fix out-of-memory exception handling (PR 10489); misc compiler hushes
svn: r16206
2009-10-01 23:39:38 +00:00
Eli Barzilay
b50c10efa2 using scribble/text now
svn: r16192
2009-09-30 20:28:02 +00:00
Kevin Tew
bb148a3e1b fixed backwards memset argument order
svn: r16191
2009-09-30 19:45:56 +00:00
Kevin Tew
5c8de0ea41 Silence jit.c warnings
svn: r16190
2009-09-30 17:44:23 +00:00
Eli Barzilay
e17ae5ce02 exnsrc.ss is now a module; works with v4 now
svn: r16189
2009-09-30 17:00:55 +00:00
Kevin Tew
e07361afc1 Pre-populate unsafe_env rt module exports
svn: r16172
2009-09-29 18:19:33 +00:00
Kevin Tew
8d3217810b THREAD_LOCAL scheduled_kills
svn: r16171
2009-09-29 18:19:28 +00:00
Kevin Tew
95524d71a1 THREAD_LOCAL gmp state
svn: r16168
2009-09-29 16:01:36 +00:00
Kevin Tew
090f5eb474 Disable check_cycles_fast for places
svn: r16157
2009-09-28 22:08:31 +00:00
Kevin Tew
1d95e97c29 THREAD_LOCAL scheme_system_idle_channel
svn: r16156
2009-09-28 22:08:25 +00:00
Kevin Tew
cdeb27255e Prehashed kernel_modidx empty_self_modidx, avoided unneeded late write of NULL in kernel env
svn: r16155
2009-09-28 22:08:18 +00:00
Kevin Tew
0e89f5c580 scheme_init_network cleanup
svn: r16154
2009-09-28 21:41:59 +00:00
Kevin Tew
7e942fa211 THREAD_LOCAL fun.c module.c network.c port.c print.c thread.c
svn: r16153
2009-09-28 21:41:52 +00:00
Kevin Tew
34955dd358 THREAD_LOCAL thread.c
svn: r16152
2009-09-28 21:41:43 +00:00
Kevin Tew
7d3099c980 Moved THREAD_LOCAL stxobj globals to place REGISTER_SO
svn: r16151
2009-09-28 21:13:08 +00:00
Kevin Tew
b4b0512961 Made external_event_fd THREAD_LOCAL
svn: r16150
2009-09-28 21:13:02 +00:00
Kevin Tew
3840b6f50b Precompute hash of scheme_default_prompt_tag
svn: r16149
2009-09-28 21:12:52 +00:00
Matthew Flatt
ce6c12daf8 fix bug when JIT is dynamically disabled
svn: r16144
2009-09-28 15:22:46 +00:00
Matthew Flatt
c3602ff740 remove debugging printf
svn: r16135
2009-09-26 19:43:46 +00:00
Matthew Flatt
b9c1fafb74 register module body and import traversal for JIT-based stack traces
svn: r16134
2009-09-26 19:04:18 +00:00
Matthew Flatt
ccb20d1be6 fix ordering problem between initial and later imports for certain cases leading to module->namespace
svn: r16126
2009-09-25 14:44:37 +00:00
Matthew Flatt
26f99d3fa4 remove security-guard check from cleanse-path, because it does not consult the filesystem
svn: r16121
2009-09-24 14:49:59 +00:00
Kevin Tew
4ad24edba4 Removed unused code
svn: r16112
2009-09-22 19:19:47 +00:00
Kevin Tew
027959de52 Simplified propagate mark code, removed unneeded pagemap calls
svn: r16041
2009-09-17 14:13:47 +00:00
Eli Barzilay
c72c95b88f Welcome to a new PLT day.
svn: r16032
2009-09-17 07:50:14 +00:00
Eli Barzilay
15bebfd8ea update version numbers for the v4.2.2 release
svn: r16030
2009-09-17 03:11:45 +00:00
Matthew Flatt
762b4e4266 fix syntax printing to avoid nul char
svn: r16014
2009-09-14 22:53:07 +00:00
Matthew Flatt
147f15b59a fix PPC JIT-inlined exact->inexact
svn: r15987
2009-09-12 04:21:37 +00:00
Matthew Flatt
30c0dcf045 dynamic-require and 0 mode; repair to unsafe-fl ops; x86_64 for Mac OS X
svn: r15985
2009-09-11 23:05:50 +00:00
Matthew Flatt
d918b3be4f fix endianness of file creator & type (PR 10424)
svn: r15972
2009-09-11 15:30:47 +00:00
Matthew Flatt
a8ecb7fc09 just a comment and some (disabled) debugging instrumentation
svn: r15959
2009-09-10 17:54:10 +00:00
Kevin Tew
0d1409e5fd Places start_module and atomic mark traversal fixes
svn: r15958
2009-09-10 16:24:18 +00:00
Matthew Flatt
f49af7c4fa fix problem with code inspectors and unmarshaling syntax (PR 10429)
svn: r15957
2009-09-10 15:27:41 +00:00
Matthew Flatt
cdd4c47bd6 runtime repairs for macro stepper
svn: r15955
2009-09-10 12:54:15 +00:00
Eli Barzilay
f1179528a8 typo
svn: r15943
2009-09-09 20:55:43 +00:00
Matthew Flatt
bacdbc015f explain reason for --enable-macprefix
svn: r15942
2009-09-09 20:44:22 +00:00
Matthew Flatt
560fde6c04 change the way #%unsafe is found; fix configure for PPC mac
svn: r15941
2009-09-09 18:53:16 +00:00
Kevin Tew
8d9a087a4f Fix configure.ac for places using cgc on x86_64
svn: r15939
2009-09-09 17:34:03 +00:00
Kevin Tew
d40b3b4c41 GC2 Cleanups
svn: r15938
2009-09-09 17:33:48 +00:00
Kevin Tew
3c1f392945 Got rid of hardcoded place-main
svn: r15937
2009-09-09 17:33:41 +00:00
Matthew Flatt
7437bdec03 fix typo in configure report
svn: r15932
2009-09-09 12:42:01 +00:00
Matthew Flatt
02239ff6d9 auto-configure large-file support
svn: r15931
2009-09-09 12:40:20 +00:00
Matthew Flatt
8958f1893a make build work on Mac OS 10.6
svn: r15927
2009-09-09 01:06:30 +00:00
Eli Barzilay
3d3cb4cbd3 Welcome to a new PLT day.
svn: r15900
2009-09-07 07:50:24 +00:00
Matthew Flatt
8ae0ea9d14 unsafe ops (v4.2.1.8)
svn: r15899
2009-09-06 18:24:46 +00:00
Eli Barzilay
5497e7b65b Welcome to a new PLT day.
svn: r15786
2009-08-20 07:50:15 +00:00
Matthew Flatt
543f586a97 orig paramz to planet resolver (v4.2.1.7)
svn: r15783
2009-08-19 16:40:33 +00:00
Kevin Tew
e000b13d22 Reorg medium_allocate
svn: r15778
2009-08-18 16:54:54 +00:00
Eli Barzilay
aae1fb9508 Welcome to a new PLT day.
svn: r15700
2009-08-11 07:50:23 +00:00
Matthew Flatt
2414f4f880 print-syntax-width (4.2.1.6)
svn: r15696
2009-08-10 22:01:57 +00:00
Matthew Flatt
0d4ef1fc9f complain when the up-to-3-arguments JIT constraint is broken
svn: r15674
2009-08-05 12:36:27 +00:00
Matthew Flatt
7616035dc0 fix direct-prim interception code to not use 4 arguments
svn: r15673
2009-08-05 12:30:35 +00:00
Kevin Tew
29ecb41127 Typo
svn: r15664
2009-08-03 20:47:44 +00:00
Matthew Flatt
1bf2520388 fix bug in TCP port flushing (maybe only affects ports with line counting enabled)
svn: r15650
2009-08-01 02:05:05 +00:00
Eli Barzilay
4c5c7cf89b Welcome to a new PLT day.
svn: r15643
2009-07-30 19:55:42 +00:00
Eli Barzilay
6da4f18dab Two more places that needed to change with the @foo@bar change
svn: r15626
2009-07-29 19:41:41 +00:00
Matthew Flatt
a47d94f75f add file-or-directory-identity (4.1.2.5)
svn: r15623
2009-07-29 17:39:03 +00:00
Eli Barzilay
800ec93cd4 Welcome to a new PLT day.
svn: r15618
2009-07-29 07:50:26 +00:00
Matthew Flatt
d48332ed26 fix for syntax coloring (4.2.1.4)
svn: r15608
2009-07-28 18:30:21 +00:00
Matthew Flatt
1ba7cf0926 #lang syntax coloring; Scribble syntax coloring
svn: r15607
2009-07-28 18:06:14 +00:00
Matthew Flatt
07503f5c35 add missing checks on pen-mutation methods
svn: r15591
2009-07-28 00:04:38 +00:00
Kevin Tew
fa13bbb72b added THREAD_LOCAL to continuation counter globals
svn: r15590
2009-07-27 21:38:05 +00:00
Matthew Flatt
d5f409e680 JIT instrumentation for direct calls to primitives
svn: r15589
2009-07-27 21:02:38 +00:00
Kevin Tew
84c14edea0 struct.c THREAD_LOCAL
svn: r15588
2009-07-27 18:33:25 +00:00
Kevin Tew
c3a6b6a6a2 stxobj.c THREAD_LOCAL
svn: r15587
2009-07-27 18:33:18 +00:00
Eli Barzilay
b83a0a34c2 Welcome to a new PLT day.
svn: r15582
2009-07-27 07:50:28 +00:00
Matthew Flatt
229e2636de change scribble 'variant' to 'property'; add contracts in scribble/decode
svn: r15581
2009-07-27 03:55:43 +00:00
Eli Barzilay
6eeccd06c0 Welcome to a new PLT day.
svn: r15574
2009-07-26 07:50:27 +00:00
Matthew Flatt
345c17e85c major Scribble revision (v4.2.1.2)
svn: r15569
2009-07-25 20:25:33 +00:00
Matthew Flatt
15579746a7 Windows clipboard image insanity
svn: r15521
2009-07-22 00:55:17 +00:00
Matthew Flatt
a68e353b99 change to automatic reaping of zombie processes started by 'subprocess'
svn: r15520
2009-07-21 16:23:05 +00:00
Matthew Flatt
a2a04ebefe fix 'yield' in non-handler thread to return the right result
svn: r15512
2009-07-20 23:40:18 +00:00
Eli Barzilay
ee1148e5a3 Welcome to a new PLT day.
svn: r15470
2009-07-17 07:50:18 +00:00
Eli Barzilay
9686577282 update version numbers for the v4.2.1 release
svn: r15460
2009-07-16 12:30:45 +00:00
Matthew Flatt
d4e3ed6c19 remove accidentally committed debugging code
svn: r15450
2009-07-15 16:08:21 +00:00
Matthew Flatt
ba64a8e5c6 JIT: add missing RUNSTACK register sync before #%variable-reference allocation
svn: r15449
2009-07-15 16:07:31 +00:00
Matthew Flatt
307e205d7a report errno for fork failure
svn: r15434
2009-07-12 02:11:32 +00:00
Matthew Flatt
57a046c5f8 another minor ad hoc optimization
svn: r15433
2009-07-11 15:23:35 +00:00
Matthew Flatt
6cc6d84488 tweak JIT runstack register sync for branches where it's not needed
svn: r15430
2009-07-11 04:08:34 +00:00
Eli Barzilay
ac2367b441 Welcome to a new PLT day.
svn: r15414
2009-07-09 07:50:23 +00:00
Eli Barzilay
4239d22ded rename verbatim and unverbatim to disable-prefix and restore-prefix
svn: r15411
2009-07-08 21:28:55 +00:00
Matthew Flatt
f538c5ba92 another bug fix
svn: r15405
2009-07-08 14:16:11 +00:00
Matthew Flatt
1f0d4d5fdc bug fix to previous change
svn: r15404
2009-07-08 14:01:41 +00:00
Matthew Flatt
ab1db74ecc more keyword-argument performance improvements, including general fast path for applying simple applicable-struct wrappers over plain procedures
svn: r15403
2009-07-08 13:57:16 +00:00
Matthew Flatt
6d3481a927 avoid some unneeded sfs-clears in bytecode
svn: r15367
2009-07-03 03:09:46 +00:00
Matthew Flatt
1c49a8c6ff fix problem in module->namespace related to renamed exports
svn: r15365
2009-07-02 22:29:15 +00:00
Matthew Flatt
8237ec1b6f fix custodian of tcp-accept-evt
svn: r15335
2009-06-30 12:59:55 +00:00
Kevin Tew
7514f8c28c More THREAD_LOCAL annotations
svn: r15329
2009-06-29 22:08:49 +00:00
Matthew Flatt
40f7cdf52a fix GC log message use of value-width parameter (which might not be available)
svn: r15309
2009-06-26 19:53:54 +00:00
Eli Barzilay
a33dcc0073 Welcome to a new PLT day.
svn: r15240
2009-06-23 07:50:12 +00:00
Matthew Flatt
36f3ed4465 expose and support unreadable symbols, which are generated during expansion
svn: r15239
2009-06-23 00:17:45 +00:00
Matthew Flatt
c94c436c18 validotr disallows updates to initialized stack slots
svn: r15231
2009-06-22 12:29:19 +00:00
Matthew Flatt
67324d3007 fix typo in newgc
svn: r15230
2009-06-22 12:28:58 +00:00
Eli Barzilay
7c810690fa add the s-exp reader to the xform collection
svn: r15191
2009-06-16 19:59:45 +00:00
Eli Barzilay
1f7ea0f809 Welcome to a new PLT day.
svn: r15162
2009-06-13 07:50:19 +00:00
Matthew Flatt
3ce6cbb737 safe-for-space fixes for the interepreter; syntax-local-lift-provide
svn: r15154
2009-06-12 17:46:25 +00:00
Matthew Flatt
921399cf01 fix another safe-for-space problem related to closures tat become unreachable as they are applied
svn: r15129
2009-06-10 03:34:55 +00:00
Matthew Flatt
c132ff9944 fix read-language error message
svn: r15128
2009-06-09 22:27:04 +00:00
Matthew Flatt
6924089210 fix some safe-for-space issues in the interpreter, especially as it is used for top-level forms before entering JITted procedure bodies
svn: r15125
2009-06-09 18:58:39 +00:00
Matthew Flatt
23712e3a59 fix Windows mred -h (and other pre-startup writes to stdout)
svn: r15120
2009-06-08 16:36:03 +00:00
Eli Barzilay
27907c277e Welcome to a new PLT day.
svn: r15109
2009-06-07 07:50:23 +00:00
Matthew Flatt
933f578002 syntax-local-lift-values-expression (v4.2.0.3)
svn: r15107
2009-06-06 15:13:43 +00:00
Kevin Tew
5ae285f744 Macroized some common repeated expressions
svn: r15105
2009-06-06 14:56:39 +00:00
Kevin Tew
c82053d521 Added GC_objhead_template objhead initialization
svn: r15104
2009-06-06 14:56:30 +00:00
Kevin Tew
1dc4a93460 Remove MasterGC thread, performance increase
svn: r15101
2009-06-05 22:49:24 +00:00
Kevin Tew
435d9b1bca [Places] Add owner field to objhead header
svn: r15066
2009-06-03 16:37:00 +00:00
Kevin Tew
bd59edaab3 Fix ownership of collection_path when spawning a place
svn: r15060
2009-06-02 20:52:40 +00:00
Kevin Tew
02c658eaba Foreign.ssc comment
svn: r15057
2009-06-02 17:43:14 +00:00
Eli Barzilay
6562b6ac6f change foreign.ssc to match foreign.c
svn: r15054
2009-06-02 17:08:51 +00:00
Kevin Tew
0f62e95366 Fixed traversers_registered THREAD_LOCAL
svn: r15053
2009-06-02 16:24:45 +00:00
Kevin Tew
4370da0192 Fixed stdio ports REGISTER_SO
svn: r15052
2009-06-02 16:24:39 +00:00
Kevin Tew
f883264eb6 Fixed stxobj THREAD_LOCAL REGISTER_SO
svn: r15051
2009-06-02 16:24:33 +00:00
Kevin Tew
6aca811cd0 Fixed regex THREAD_LOCAL REGISTER_SO
svn: r15050
2009-06-02 16:24:26 +00:00
Kevin Tew
27215bcbca Move global foreign creations to before MASTER GC switchout
svn: r15049
2009-06-02 16:24:19 +00:00
Kevin Tew
293d64cd15 Move scheme_init_type to happen before MASTER GC is switched out
svn: r15048
2009-06-02 16:24:12 +00:00
Kevin Tew
38456e8b5f Make static Evt **evts THREAD_LOCAL
svn: r15047
2009-06-02 16:24:05 +00:00
Matthew Flatt
5589bb28c7 conditional defn of a_words array
svn: r15030
2009-05-31 02:23:34 +00:00
Matthew Flatt
66daf1e88e fix mzconfig dependency; use GC_ASSERT
svn: r15028
2009-05-31 01:58:51 +00:00
Kevin Tew
41f1893354 Use tighter type for BTC_set_btc_mark
svn: r15012
2009-05-29 20:36:37 +00:00
Kevin Tew
12cdeff2b7 Variable Sized OBJHEAD
svn: r15010
2009-05-29 19:39:29 +00:00
Matthew Flatt
5c103eed59 fix problem with module->namespace and shadowing initial imports (pr 10264) (merge to 4.2)
svn: r14994
2009-05-26 23:44:11 +00:00
Matthew Flatt
af2e5beb4e fix stack-prep bug in call-in-nested-thread
svn: r14992
2009-05-26 22:15:24 +00:00
Matthew Flatt
8218da6070 fix some allocation sizes that used 'int' instead of 'long' (merge to 4.2)
svn: r14967
2009-05-24 11:05:12 +00:00
Matthew Flatt
351b9ffb28 fix repairs of MrEd Mac -h problem for XonX
svn: r14958
2009-05-23 13:22:46 +00:00
Matthew Flatt
f496a353db fix MrEd -h, etc. reporting under Mac OS X
svn: r14931
2009-05-22 19:18:07 +00:00
Matthew Flatt
24af2c638f fix Mac GC problem related to clipboard clients (merge to 4.2)
svn: r14922
2009-05-22 17:13:02 +00:00
Matthew Flatt
99c159a727 adjust configure script to disable --prefix on Mac OS X unless either --enable-xonx or --enable-macprefix is also provided
svn: r14904
2009-05-21 19:25:51 +00:00
Matthew Flatt
6cf91e6dd3 put local -I flags before CFLAGS in Makefiles
svn: r14901
2009-05-21 16:13:42 +00:00
Matthew Flatt
f23ee1965e fix Windows/Mac print cleanup
svn: r14885
2009-05-20 21:24:20 +00:00
Matthew Flatt
de5bbaff40 fix bug parsing polar notation conbined with #e
svn: r14878
2009-05-20 00:18:15 +00:00
Matthew Flatt
e51ca461ae try to fix Windows freezing problem
svn: r14867
2009-05-19 12:54:07 +00:00
Eli Barzilay
7ef0e8258e Welcome to a new PLT day.
svn: r14853
2009-05-18 07:50:40 +00:00
Matthew Flatt
aba257c816 fix shadowing of language-supplied bindings when loading from bytecode (merge to 4.2)
svn: r14851
2009-05-17 13:47:28 +00:00
Matthew Flatt
70859f0d0b identifier-prune-lexical-context (4.2.0.2)
svn: r14850
2009-05-17 12:31:51 +00:00
Eli Barzilay
7efdd033bf Welcome to a new PLT day.
svn: r14849
2009-05-17 06:41:49 +00:00
Eli Barzilay
00cab7cfd2 update version numbers for the v4.2 release
svn: r14847
2009-05-17 01:45:49 +00:00
Matthew Flatt
ee7b4404ab -Wl,--export-dynamic for OpenBSD
svn: r14845
2009-05-16 16:11:17 +00:00
Matthew Flatt
fd09fd9a33 STRIP_DEBUG configuration
svn: r14774
2009-05-11 15:43:19 +00:00
Eli Barzilay
e9bcf8b15f work around xform parsing issue
svn: r14766
2009-05-09 23:21:13 +00:00
Eli Barzilay
f4bb0243fa ignore errors from strip, such as those resulting from using the solaris version (PR10072)
svn: r14765
2009-05-09 21:09:14 +00:00
Eli Barzilay
cd6fbedfa8 dont take sizeof(void), fix function typecase (both PR10234), fix error message
svn: r14764
2009-05-09 19:39:17 +00:00
Matthew Flatt
c9b76801ed fix problems with syntax-local-get-shadower and syntax-local-lift-require
svn: r14744
2009-05-07 22:45:15 +00:00
Matthew Flatt
beae40a466 save a few cycles when reading bytecode
svn: r14738
2009-05-07 15:41:18 +00:00
Matthew Flatt
53bd4e9106 special-case memcpy (so gcc inlines) for pair-sized object when promoting to old generation
svn: r14737
2009-05-07 15:41:02 +00:00
Matthew Flatt
884d478c06 fix proc name in error msg
svn: r14733
2009-05-06 20:21:27 +00:00
Matthew Flatt
f08649a007 further improve procedure? and procedure-arity-includes? optimization on procedure names bound in a module top-level
svn: r14725
2009-05-05 23:08:24 +00:00
Matthew Flatt
4623a1ac07 some improvement in eliminating procedure? and procedure-arity-includes? statically
svn: r14723
2009-05-05 19:22:55 +00:00
Carl Eastlund
19ba4a4f18 Rewrote README file to suggest the 'src/build' convention in Quick instructions and new 'step 1'.
svn: r14720
2009-05-05 13:15:56 +00:00
Carl Eastlund
211e644e91 Fixed a spelling typo and a verb tense error.
svn: r14719
2009-05-05 12:54:14 +00:00
Carl Eastlund
d66d3b1822 Fixed a typo in step 3, which described repeating configure (step 1) but skipping make (step 2) as 'not necessary to repeat steps 1 and 2'.
svn: r14718
2009-05-05 12:49:51 +00:00
Matthew Flatt
d7570ee9e7 fix mred-text for Windows (startup banner)
svn: r14702
2009-05-04 00:46:33 +00:00
Matthew Flatt
16e483033c fix define after define* in package; doc repairs
svn: r14701
2009-05-03 23:49:22 +00:00
Matthew Flatt
2b4d032701 little edits to the README additions recommending a 'build' directory
svn: r14694
2009-05-03 16:59:44 +00:00
Eli Barzilay
930eec2d02 be more explicit about building from a new directory
svn: r14683
2009-05-01 22:54:54 +00:00
Eli Barzilay
24571c0093 make sure "coLLECTs dIRECTORy:" is on a single line, and remove "now" from the 3m description
svn: r14682
2009-05-01 22:39:30 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
257952f1b5 remove unused local variable
svn: r14676
2009-05-01 17:01:07 +00:00
Matthew Flatt
a68c0594a5 fix problems with windows event handling and sleeping
svn: r14675
2009-05-01 16:47:33 +00:00
Matthew Flatt
64a2cafa17 fix bug with import to a gensymed local name
svn: r14674
2009-05-01 12:15:36 +00:00
Matthew Flatt
f3bc79c2db fix problem with re-declaring modules (especially with syntax objects in compile-time expressions), and remove some debugging code that was accidentally left in the previous change
svn: r14672
2009-05-01 03:36:27 +00:00
Matthew Flatt
2b8b10dd40 fix problem with package, define*, and macro-introduced identifiers
svn: r14671
2009-04-30 23:57:45 +00:00
Matthew Flatt
6aef52d46c fix syntax-local-lift-require when in the expression-expansion phase
svn: r14613
2009-04-26 13:21:31 +00:00
Matthew Flatt
bdd86751ee fix bug in handling re-export inspectors
svn: r14609
2009-04-25 14:11:17 +00:00
Eli Barzilay
97cb7802ac Welcome to a new PLT day.
svn: r14606
2009-04-25 07:50:17 +00:00
Matthew Flatt
a542660087 raise canvas scroll limits to 1B instead of 10k
svn: r14605
2009-04-24 21:54:28 +00:00
Matthew Flatt
333ecffe3e fix typo in windows scroll change
svn: r14604
2009-04-24 21:52:05 +00:00
Matthew Flatt
afd8b0c2fd fix scrollbars for >16-bit values under Windows
svn: r14603
2009-04-24 21:49:16 +00:00
Matthew Flatt
b741225899 fix wong-sized local array
svn: r14597
2009-04-24 18:27:12 +00:00
Matthew Flatt
cd09b30497 (v4.1.5.5) repair interaction of provides redirected by a rename-transformer, certification of access to unexported variables, and protected exports; also get rid of kernel-reprovide special case in export handling, because a more general export-sharing technique subsumed the special case long ago
svn: r14593
2009-04-24 14:59:09 +00:00
Matthew Flatt
f86c9e3d85 fix backtrace to work with new medium-object pages
svn: r14576
2009-04-21 16:39:13 +00:00
Matthew Flatt
6586dbcb79 JIT correction for detecting struct mutator in closure
svn: r14571
2009-04-21 05:15:53 +00:00
Matthew Flatt
943c743e04 restore medium-page GC support
svn: r14569
2009-04-20 19:45:51 +00:00
Matthew Flatt
7cee07e02d disable buggy medium-allocation code
svn: r14567
2009-04-20 16:41:57 +00:00
Matthew Flatt
f51f8c8b7f avoid generating unnecessary struct-accessor and -mutator names
svn: r14566
2009-04-20 13:14:40 +00:00
Matthew Flatt
5a4f15f5f9 better GC support for medium-sized immobile objects
svn: r14560
2009-04-19 15:47:52 +00:00
Matthew Flatt
d93d37903b better Exited message for Windows no-stdio console
svn: r14552
2009-04-18 13:08:54 +00:00
Matthew Flatt
c6a2904928 fix typo (0 should be NULL)
svn: r14547
2009-04-17 22:48:56 +00:00
Matthew Flatt
7c80111b2c fix bug in referenced-before-defn error message
svn: r14533
2009-04-16 21:23:28 +00:00
Matthew Flatt
4c30a65afd better discovery of struct ref/mutators in lambda-lifted functions
svn: r14532
2009-04-16 21:06:34 +00:00
Matthew Flatt
709ad23400 performance improvements: class local-field access uses accessor with index built in (so the index is checked once); JIT partially inlines struct-field mutation
svn: r14530
2009-04-16 19:01:20 +00:00
Matthew Flatt
0574391f0d fix another problem with free-id= cycles
svn: r14525
2009-04-15 17:21:49 +00:00
Matthew Flatt
daf779d230 fix problem with free-id= cycles
svn: r14524
2009-04-15 17:18:02 +00:00
Matthew Flatt
beeb832223 use Windows console for MrEd's initial stdout/stderr/stdin
svn: r14520
2009-04-15 14:28:37 +00:00
Eli Barzilay
b9bb356a17 avoid using unavail if it is null
svn: r14486
2009-04-10 21:07:56 +00:00
Matthew Flatt
71d28de3a0 fix bug in looking for free-id=? re-exports
svn: r14476
2009-04-09 13:05:54 +00:00
Matthew Flatt
a1cc8d30a1 fix MrEd Windows handle-block problem (PR 10183)
svn: r14467
2009-04-08 15:40:21 +00:00
Matthew Flatt
a6c7b6399a move Mac OS X control_87 to the right place
svn: r14466
2009-04-08 15:08:47 +00:00
Matthew Flatt
4ccff8023e fix problem with multiple result values combined with an incorrect JIT guess on application of a structure-type predicate
svn: r14461
2009-04-08 10:44:53 +00:00
Matthew Flatt
285dae4935 set x87 FP explicitly to double-precision mode on some platforms
svn: r14459
2009-04-08 09:21:43 +00:00
Matthew Flatt
fd9ee204a5 on third thought, it's module->namespace that needs to prepare the compile time, not dynamic-require, and that's why it worked before; restored the visit-availing behavior of module->namespace, and rewound the previous change (still for PR 10185)
svn: r14455
2009-04-08 02:21:22 +00:00
Matthew Flatt
8c9bcd50c2 on second thought, PR 10185 demonstrates why the variant of dynamic-require (and namespace-attach-module) that doesn't make the phase availble is difficult to reason about; changing dynamic-require and namespace-attach-module, instead of DrScheme
svn: r14454
2009-04-08 02:11:21 +00:00
Eli Barzilay
7638f0fa98 Welcome to a new PLT day.
svn: r14452
2009-04-08 01:53:21 +00:00
Matthew Flatt
1d26e97a35 Scheme-implemented editor classes; on-demand instantiation of module phases
svn: r14445
2009-04-07 17:12:22 +00:00
Matthew Flatt
3528308dfb avoid PS region bug
svn: r14393
2009-03-31 21:25:39 +00:00
Matthew Flatt
0db0fefba5 inline vector ops where index is a constant; fix modle-rename shortcut table for symbolic module paths
svn: r14391
2009-03-31 21:24:01 +00:00
Matthew Flatt
2969412c87 fix problem with 'continuation-marks' on a suspended thread
svn: r14367
2009-03-30 21:53:42 +00:00
Matthew Flatt
5b3c9ac7ef no-inline for scheme_approx_sp
svn: r14267
2009-03-25 12:51:34 +00:00
Matthew Flatt
15267c26b4 reset libunwind before init context in native stack trace
svn: r14262
2009-03-25 12:18:07 +00:00
Noel Welsh
9f6c90c5e8 Commit trivial fix to MZ_DO_NOT_INLINE to enable compilation on OS X 10.5. Previously it would fail with error message along the lines of "MZ_DO_NOT_INLINE given one argument but takes zero".
svn: r14261
2009-03-25 09:01:20 +00:00
Matthew Flatt
7362da34a9 JIT peephole-ish optimization to avoid unnecessary ajustments to the runstack register
svn: r14249
2009-03-24 16:36:16 +00:00
Matthew Flatt
043ffccc91 avoid png & zlib makefiles when libpng is enabled
svn: r14248
2009-03-24 16:35:01 +00:00
Matthew Flatt
4dc6651069 within mzscheme, use gcc noinline attribute on some stack-mangling functions
svn: r14243
2009-03-23 18:54:12 +00:00
Matthew Flatt
1c9f11717c remove unnecessary loop
svn: r14231
2009-03-23 13:23:25 +00:00
Matthew Flatt
7e6dc9b40e optimize (if (if <test> #t #f) <t> <f>) to (if <test> #t #f); this pattern happens with 'and' and constant folding
svn: r14230
2009-03-23 13:17:46 +00:00
Matthew Flatt
3e039705fa fix missig return (PR 10149)
svn: r14229
2009-03-23 12:34:40 +00:00
Matthew Flatt
5d3d5a890a record per-thread milliseconds
svn: r14224
2009-03-23 01:26:51 +00:00
Matthew Flatt
769ad3e98a fix bug in sync/enable-break where a channel recv could be accepted during the raise of a break exn; also, post NACKs before raising exn
svn: r14218
2009-03-22 16:24:50 +00:00
Matthew Flatt
bf499a4e05 avoid a jump in fast-path arity checking
svn: r14217
2009-03-22 16:22:05 +00:00
Matthew Flatt
8243dfaefb fix potential SFS problem in runstack-overflow handling
svn: r14216
2009-03-22 16:21:26 +00:00
Matthew Flatt
a1455d8fe6 fix safe-for-safe problems with tail-call trampoline
svn: r14203
2009-03-21 15:24:05 +00:00
Matthew Flatt
20dd11d322 fix problem with make-syntax-delta-introducer
svn: r14198
2009-03-20 19:45:55 +00:00
Matthew Flatt
7dc8e077ed add 'not-provide-all-defined and 'nonimal-id suport for rename transformers; fix scheme/foreign and foreign docs to use it
svn: r14195
2009-03-20 16:59:28 +00:00
Eli Barzilay
0686dd721e Welcome to a new PLT day.
svn: r14194
2009-03-20 07:50:38 +00:00
Matthew Flatt
2109cec2f4 free-id=? propagation through module exports; add 'not-free-identifier=? syntax property to disable free-id=? propagation; add prop:rename-transformer and prop:set-transformer; fix scheme/local so that local syntax bindings are visible to later definitions (v4.1.5.3)
svn: r14191
2009-03-19 20:22:18 +00:00
Matthew Flatt
8e175869d9 refine expt constant-fold-fail message
svn: r14186
2009-03-19 13:06:14 +00:00
Matthew Flatt
88222f7df4 fix problems with break exceptions and thread termination during constant-folding, make GMP temporary memory accountable by GC, and limit folding of 'expt' expressions
svn: r14185
2009-03-19 12:35:34 +00:00
Eli Barzilay
bdc82f2100 Welcome to a new PLT day.
svn: r14169
2009-03-18 07:50:05 +00:00
Eli Barzilay
d39ff7e079 fix other comment terminator in .ssc, reflow comment
svn: r14163
2009-03-17 22:41:13 +00:00
Matthew Flatt
09914dda3f make-rename-transformer => free-identifier=? (v5.1.5.2)
svn: r14160
2009-03-17 21:05:53 +00:00
Matthew Flatt
e8dba7c7b1 fix comment closer: merge to 4.1.5
svn: r14159
2009-03-17 20:49:04 +00:00
Eli Barzilay
87fcebba64 Welcome to a new PLT day.
svn: r14120
2009-03-16 07:50:44 +00:00
Eli Barzilay
a75a83add2 update version numbers for the v4.1.5 release
svn: r14116
2009-03-16 01:28:19 +00:00
Matthew Flatt
8f0fd5a555 fix submenus in popup menus
svn: r14094
2009-03-14 10:21:10 +00:00
Matthew Flatt
dc8c06381a fix algorithmic problems in syntax-object resolution with nested intdef contexts
svn: r14093
2009-03-14 09:38:05 +00:00
Matthew Flatt
5826654a4e fix bug in stxobj simplication
svn: r14081
2009-03-12 20:53:18 +00:00
Eli Barzilay
0373964141 Finally a version that uses the new preprocessor language.
svn: r14079
2009-03-12 19:02:16 +00:00
Eli Barzilay
c20a9ab7a8 yet more formattings
svn: r14078
2009-03-12 18:59:37 +00:00
Matthew Flatt
b8a005e35c change no-op from :'
svn: r14071
2009-03-12 13:52:50 +00:00
Eli Barzilay
e59b597753 minor change to an error message
svn: r14070
2009-03-12 09:07:41 +00:00
Eli Barzilay
813e16489e more minor formattings
svn: r14069
2009-03-12 08:48:04 +00:00
Eli Barzilay
60a421e9ab reformatting, moving some undefs, etc -- preparing for a new preprocessor version
svn: r14067
2009-03-12 05:51:42 +00:00
Matthew Flatt
83034ae9d6 windows socket-wait rewrite
svn: r14060
2009-03-11 22:08:32 +00:00
Matthew Flatt
55203edac4 prep for a different go at Windows socket polling
svn: r14058
2009-03-11 20:10:27 +00:00
Matthew Flatt
a4c344228d fix bug related to sleeping and Windows networking (take 3)
svn: r14056
2009-03-11 18:40:32 +00:00
Matthew Flatt
a701c4f426 fix bug related to sleeping and Windows networking (take 2)
svn: r14055
2009-03-11 18:35:38 +00:00
Matthew Flatt
d647999705 fix bug related to sleeping and Windows networking
svn: r14053
2009-03-11 17:14:39 +00:00
Matthew Flatt
007ff4649d yet another attempt to solve Mac event-loop AE problems
svn: r14051
2009-03-11 16:51:19 +00:00
Matthew Flatt
9a900d5100 detect gcc cpp via test program to select xform --keep-lines
svn: r14048
2009-03-11 03:00:07 +00:00
Matthew Flatt
5b267aaaad fix eqvhash table for characters
svn: r14046
2009-03-11 02:25:10 +00:00
Matthew Flatt
44e7744646 fix package so that syntax-local-value works after define*
svn: r14021
2009-03-09 13:24:34 +00:00
Matthew Flatt
54157130d6 change GC log msgs from info to debug
svn: r14020
2009-03-09 11:35:49 +00:00
Matthew Flatt
cdfb6e5f67 more bytecode-parsing checks
svn: r13997
2009-03-06 23:26:44 +00:00
Matthew Flatt
c65758639b add missing check in bytecode unmarshaling
svn: r13991
2009-03-06 19:59:13 +00:00
Matthew Flatt
a5cccd73cb rewind incorrect validator 'fix'
svn: r13990
2009-03-06 19:57:10 +00:00
Matthew Flatt
d1189e5f6a fix set-smoothing problem for bitmap-dc% having no bitmap
svn: r13987
2009-03-06 19:38:40 +00:00
Matthew Flatt
aa4587890d fix some zo-verification bugs that Casey found
svn: r13975
2009-03-06 02:22:40 +00:00
Matthew Flatt
cf66f23dc8 fix certification in syntax-local-make-delta-introducer
svn: r13960
2009-03-04 20:49:42 +00:00
Matthew Flatt
79b906e713 fix MrEd mac event-loop problems
svn: r13842
2009-02-25 21:12:18 +00:00
Eli Barzilay
f3d63b8bae changed a C++ comment to a C comment
svn: r13783
2009-02-21 21:54:21 +00:00
Matthew Flatt
15475b6c7a fix 'namespace-undefined-variable!' to use constantness checking
svn: r13729
2009-02-18 22:18:20 +00:00
Matthew Flatt
ada4a7aeae allow negative years in a 'date' structure
svn: r13728
2009-02-18 21:29:58 +00:00
Matthew Flatt
65c0042b2d Stevie's fix to improve no-expression-in-int-def-sequence reporting
svn: r13659
2009-02-16 14:26:02 +00:00
Matthew Flatt
7daedece49 getting-started doc improvements, and small change to raise-syntax-error
svn: r13607
2009-02-15 15:15:06 +00:00
Matthew Flatt
154cb8d1fd fix raise-syntax-error
svn: r13596
2009-02-15 03:05:02 +00:00
Eli Barzilay
c491ba9b59 Welcome to a new PLT day.
svn: r13513
2009-02-10 08:50:17 +00:00
Matthew Flatt
efe4bf597c revised honu id syntax (to fix underscore)
svn: r13512
2009-02-10 02:25:01 +00:00
Matthew Flatt
621602b42f fix #lang/#reader span
svn: r13509
2009-02-09 22:25:48 +00:00
Matthew Flatt
767766521c infix for literal prefab structs, quasiquote unquoting in value positions of hash-table literals, and related changes (v4.1.4.3)
svn: r13504
2009-02-09 15:27:51 +00:00
Matthew Flatt
e8675d317d fix hanlding of some bindings for a module->namespace top level (especially interaction with packages)
svn: r13501
2009-02-09 13:30:33 +00:00
Matthew Flatt
051e28b11b detangle TOPLEVEL_MUTATED from TOPLEVEL_READY
svn: r13500
2009-02-09 11:21:42 +00:00
Matthew Flatt
57208dfe14 lift letrec-bound procs that are not inside a proc
svn: r13446
2009-02-05 01:38:16 +00:00
Matthew Flatt
336fb67066 JIT tweak to speed field access within a class
svn: r13406
2009-02-04 04:52:04 +00:00
Matthew Flatt
1b79030aac improve 'equal' hashing on lists
svn: r13332
2009-01-31 03:04:09 +00:00
Matthew Flatt
fb7bda99c8 fix recently broken AppleEvent handling
svn: r13302
2009-01-28 16:09:11 +00:00
Matthew Flatt
daa1261780 fix GC setup so that it doesn't call an XP-only function
svn: r13285
2009-01-26 16:46:49 +00:00
Matthew Flatt
c0d31ad254 fix setting font when most recent drawing was in smoothed mode
svn: r13279
2009-01-25 10:59:24 +00:00
Matthew Flatt
ed6e1ffda6 change 'syntax-local-transformer-expand' to capture lifts into a 'let'
svn: r13274
2009-01-24 13:49:33 +00:00
Eli Barzilay
d40989e222 Welcome to a new PLT day.
svn: r13273
2009-01-24 08:50:32 +00:00
Matthew Flatt
576ac71d78 fix performance problem in bitwise-bit-field
svn: r13267
2009-01-23 17:39:57 +00:00
Matthew Flatt
df4b9f41a8 add bitwise-bit-field
svn: r13266
2009-01-23 17:22:57 +00:00
Matthew Flatt
38c75a82d1 fix a bad interaction between 'make-syntax-delta-introducer' and the top-level environment
svn: r13258
2009-01-22 18:52:40 +00:00
Matthew Flatt
db12513b65 fix #:all-defined for 'define-package' by adjusting 'identifier-remove-from-definition-context'; add for-syntax 'package?' and 'package-export-identifiers'; adjust Scribble to find definitions of phase-1 exports
svn: r13253
2009-01-21 20:00:55 +00:00
Matthew Flatt
57d7cd140f fix AppleEvent leak
svn: r13251
2009-01-21 18:17:57 +00:00
Matthew Flatt
49fd5085d0 add missing ARLIBFLAGS to go with previous change
svn: r13225
2009-01-19 16:32:50 +00:00
Matthew Flatt
20a0a20409 configure+Makefile adjustments to support --as-needed linking (do not merge, yet)
svn: r13224
2009-01-19 16:11:43 +00:00
Matthew Flatt
6fcac5f5f4 mysterx patch from Filipe Cabecinhas to add gao/coclass (merge to 4.1.4)
svn: r13223
2009-01-19 15:49:02 +00:00
Matthew Flatt
30b37f0cec fix GUI I/O when Return is typed in the middle of the editor (merge into 4.1.4)
svn: r13211
2009-01-19 03:25:56 +00:00
Eli Barzilay
b7ccf49ecc Welcome to a new PLT day.
svn: r13166
2009-01-16 12:27:17 +00:00
Eli Barzilay
f725d00fed update version numbers for the v4.1.4 release
svn: r13164
2009-01-16 10:08:59 +00:00
Matthew Flatt
cf2e98eb92 size-cache-invalid for editor<%>
svn: r13120
2009-01-14 20:29:37 +00:00
Matthew Flatt
4759e25019 fix vector-copy! bug (PR 10026)
svn: r13111
2009-01-14 13:02:03 +00:00
Matthew Flatt
678f6773aa fix problem in local-expand and references to not-yet-bound identifiers
svn: r13097
2009-01-13 23:28:34 +00:00
Eli Barzilay
0acce3ead7 Welcome to a new PLT day.
svn: r13087
2009-01-13 08:50:18 +00:00
Matthew Flatt
f07803c3cd fix lifting bug introduced in previous commit
svn: r13079
2009-01-12 22:16:08 +00:00
Matthew Flatt
17ad24945b syntax-local-lift-require
svn: r13075
2009-01-12 21:46:40 +00:00
Matthew Flatt
ab5d16d55b fix arity messages constructed internally for structure procs (PR 10019)
svn: r13069
2009-01-12 13:31:07 +00:00
Matthew Flatt
0663588ee1 change _string/utf-16 and _string/ucs-4 so that #f = NULL (for consistency with other pointer types), and drop the /null variants
svn: r13031
2009-01-07 17:49:14 +00:00
Eli Barzilay
fe62b97137 Welcome to a new PLT day.
svn: r13026
2009-01-07 08:50:14 +00:00
Matthew Flatt
e3040e5799 fix some non-Mac declarations
svn: r13017
2009-01-06 13:15:51 +00:00
Matthew Flatt
61685c72f9 revised Mac OS X sleeping; optional atomic mode for FFI callbacks
svn: r13016
2009-01-06 13:07:45 +00:00
Matthew Flatt
c2857c1b7c use define-unsafer for ffi/objc; fix more teachpack doc latex-output problems
svn: r13008
2009-01-05 10:20:17 +00:00
Eli Barzilay
8a2753efb8 2008 -> 2009
svn: r13001
2009-01-04 15:34:50 +00:00
Matthew Flatt
d596401804 scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer
svn: r12992
2009-01-03 18:51:15 +00:00
Matthew Flatt
05e66120ef look up owner table after call to custodian_to_owner_set
svn: r12991
2009-01-03 17:58:20 +00:00
Matthew Flatt
91801b4601 fix algorithmic problem with syntax certificates (so Oleg's syntax-rules stress test runs in reasonable time)
svn: r12990
2009-01-03 17:51:06 +00:00
Matthew Flatt
b2d0a37f7b add propagated arguments to 'call-with-continuation-prompt'; streamline 'with-handlers' expansion; speed up slightly some JITted cross-module function calls
svn: r12979
2009-01-02 21:57:31 +00:00
Matthew Flatt
e92b588985 macro-expansion performance tweaks
svn: r12972
2009-01-02 16:50:32 +00:00
Matthew Flatt
9e42e5c876 fix struct type property propagation when the parent type has > 5 properties
svn: r12970
2009-01-02 12:39:30 +00:00
Eli Barzilay
9564e24388 typo (PR9994)
svn: r12969
2009-01-02 12:36:32 +00:00
Matthew Flatt
049df29d8b fixed nested canceling marks in syntax objects
svn: r12962
2009-01-01 19:26:33 +00:00
Eli Barzilay
eaf3e93ebe Welcome to a new PLT day.
svn: r12958
2008-12-31 08:50:17 +00:00
Matthew Flatt
87274b2a97 procedure-rename
svn: r12952
2008-12-30 14:36:25 +00:00
Eli Barzilay
b190e2a8d0 Welcome to a new PLT day.
svn: r12951
2008-12-30 08:50:16 +00:00
Matthew Flatt
1642a84e69 add equal?/recur; implement equal? for image-snip% via properties
svn: r12950
2008-12-29 22:36:53 +00:00
Matthew Flatt
7aec6b8761 document compiler/zo-parse and compiler/decompile
svn: r12947
2008-12-28 18:57:13 +00:00
Matthew Flatt
82ead03b92 change _fpointer handling to work with function pointers in structs and other such uses; add 'function-ptr' casting operation
svn: r12913
2008-12-20 05:09:35 +00:00
Matthew Flatt
7dc56df949 add FFI types _string/utf-16/null and _string/ucs-4/null
svn: r12911
2008-12-19 23:59:33 +00:00
Matthew Flatt
9ea047a05e fix ptr-set! to allow installing function points into an offset cpointer
svn: r12910
2008-12-19 23:39:55 +00:00
Matthew Flatt
3773b48ca9 fix accounting bug
svn: r12908
2008-12-19 21:11:02 +00:00
Matthew Flatt
064776348a fix ready-toplevel optimization
svn: r12905
2008-12-19 17:16:39 +00:00
Eli Barzilay
d1e5dd842e use symbols for printout of primitive types
svn: r12894
2008-12-19 01:44:08 +00:00
Matthew Flatt
af45c8ca57 fix O(n^2) behavior in GC accounting
svn: r12892
2008-12-18 21:15:34 +00:00
Matthew Flatt
2c95f77c31 ctype->layout in scheme/foreign; prototype Objective-C binding in ffi collection
svn: r12890
2008-12-18 20:05:21 +00:00
Eli Barzilay
6283205982 ctype-basetype now holds:
* a symbol naming the type for primitive types
* a list of ctypes for cstruct types
* another ctype for user-defined ctypes

svn: r12882
2008-12-18 06:48:10 +00:00
Eli Barzilay
c71889c705 minor changes to have foreign.c in sync with foreign.ssc
svn: r12881
2008-12-18 04:03:21 +00:00
Matthew Flatt
ab18970f67 fix ffi passing offset null pointer
svn: r12879
2008-12-17 20:44:28 +00:00
Matthew Flatt
1d85f9ff3c patch for better #includes in XPM src from Michal Vyskocil
svn: r12876
2008-12-17 13:05:35 +00:00
Matthew Flatt
3e12b87cd3 strip starter exe (for Unix) on install
svn: r12868
2008-12-16 16:08:02 +00:00
Matthew Flatt
3f9f30fd4a strip mac binaries on install
svn: r12867
2008-12-16 16:03:30 +00:00
Matthew Flatt
768577fcaa fix-cairo-bitmap-release
svn: r12865
2008-12-15 23:15:27 +00:00
Matthew Flatt
25b27a8b08 more memory-accounting repairs, so that sandbox tests now pass
svn: r12861
2008-12-15 21:15:24 +00:00
Matthew Flatt
1855d4fd85 fix a problem in blame-the-parent accounting
svn: r12858
2008-12-15 19:59:16 +00:00
Matthew Flatt
45e4684e4f memory accounting: blame the parent instead of the child
svn: r12853
2008-12-15 17:09:33 +00:00
Matthew Flatt
fd95ebfe59 allow GC of custodians that have a memory limit but no children
svn: r12850
2008-12-15 14:41:44 +00:00
Eli Barzilay
acf3324659 Welcome to a new PLT day.
svn: r12844
2008-12-14 08:50:19 +00:00
Matthew Flatt
cf8b75939b trim some fat from module-variable references
svn: r12833
2008-12-13 17:38:14 +00:00
Jon Rafkind
e268305837 typo - rename a variable
svn: r12821
2008-12-12 20:37:10 +00:00
Kevin Tew
3fc53848ce Force scheme_types not to grow after initialization
svn: r12819
2008-12-12 19:36:43 +00:00
Kevin Tew
51eb2a8257 refactored code out to mzrt_proc_first_thread_init
svn: r12818
2008-12-12 19:36:37 +00:00
Kevin Tew
c70abd63e5 fix race condition use of scheme_master_proc_thread in master_scheme_place
svn: r12817
2008-12-12 19:36:32 +00:00
Kevin Tew
e8aae67e82 Better places SIGWEGV debugging
svn: r12816
2008-12-12 19:36:26 +00:00
Kevin Tew
27a5a47700 added THREAD_LOCAL to Finalizations **save_fns_ptr
svn: r12815
2008-12-12 19:36:20 +00:00
Kevin Tew
eeb4f8e534 added integer support to deep_copy
svn: r12814
2008-12-12 19:36:15 +00:00
Kevin Tew
bd5c06750b [gc2] share the mark_table
svn: r12813
2008-12-12 19:36:10 +00:00
Kevin Tew
37f104ded0 Added declaration for GC_switch_in_master_gc
svn: r12812
2008-12-12 19:36:03 +00:00
Kevin Tew
388cbe136a Added asserts for debugging propagate_marks
svn: r12811
2008-12-12 19:35:58 +00:00
Kevin Tew
aea092de02 Added scheme chars to deep copy
svn: r12810
2008-12-12 19:35:53 +00:00
Kevin Tew
ae6d07d76a Disable collection on master GC for now
svn: r12809
2008-12-12 19:35:48 +00:00
Kevin Tew
17547b977f init global tables symbols and modpaths in master GC
svn: r12808
2008-12-12 19:35:42 +00:00
Kevin Tew
d29a6b4cec Places/3m symbols created in master GC and deep copy added
svn: r12807
2008-12-12 19:35:35 +00:00
Kevin Tew
653db9dcbe Added SIGSEGV diagnostics with 3m
svn: r12806
2008-12-12 19:35:29 +00:00
Kevin Tew
1af924d8de Save off and restore all THREAD_LOCALS when switching GCs
svn: r12805
2008-12-12 19:35:24 +00:00
Kevin Tew
4cc0633218 No need to check mark_stack on every push
svn: r12804
2008-12-12 19:35:19 +00:00
Kevin Tew
a50776a2e8 Add more dependencies to gc2/Makefile.in
svn: r12803
2008-12-12 19:35:13 +00:00
Kevin Tew
a0be9364bc Move creation of resolve_module_paths to master GC
svn: r12802
2008-12-12 19:35:07 +00:00
Kevin Tew
38682c8130 Modify mz_proc_threads to have a pt_mbox by default
svn: r12801
2008-12-12 19:35:00 +00:00
Kevin Tew
923d43001e Modified designate_modified to check master gc
svn: r12800
2008-12-12 19:34:55 +00:00
Kevin Tew
60b3591910 Added pt_mbox
svn: r12799
2008-12-12 19:34:49 +00:00
Kevin Tew
c50d7fed82 Add condition variable support to mzrt
svn: r12798
2008-12-12 19:34:44 +00:00
Kevin Tew
14e565b82b Added stub spawn_master_scheme_place
svn: r12797
2008-12-12 19:34:38 +00:00
Kevin Tew
131e996974 added cleanup for pagemaps
svn: r12796
2008-12-12 19:34:33 +00:00
Kevin Tew
32771932c9 Add make dependency for gc2/sighand.c
svn: r12795
2008-12-12 19:34:27 +00:00
Kevin Tew
51399481c4 Add support for creating a place with a module and a channel
svn: r12794
2008-12-12 19:34:22 +00:00
Kevin Tew
1f836aea24 Added GC_switch_out_master_gc and GC_construct_child_gc
svn: r12793
2008-12-12 19:34:17 +00:00
Eli Barzilay
e1d2145909 Welcome to a new PLT day.
svn: r12782
2008-12-11 21:07:40 +00:00
Matthew Flatt
d80ef6a301 fix incorrect by-hand xform annotation
svn: r12779
2008-12-11 19:35:01 +00:00
Matthew Flatt
990e0e209a more sgc repairs
svn: r12777
2008-12-11 18:27:18 +00:00
Matthew Flatt
ac63ab24da fix sgc
svn: r12776
2008-12-11 18:22:04 +00:00
Matthew Flatt
251d15f800 fix module->namespace on unexported syntax bindings
svn: r12774
2008-12-11 16:48:29 +00:00
Matthew Flatt
5eb22cfa8d add jit_bomulr_l for PPC
svn: r12753
2008-12-09 15:57:34 +00:00
Matthew Flatt
4d8469b6cf inline fixnum multiplication
svn: r12731
2008-12-08 13:36:24 +00:00
Matthew Flatt
bd48d376aa extra '((lambda' check in bytecode optimizer
svn: r12724
2008-12-07 23:15:28 +00:00
Matthew Flatt
014bd392da save a few instructions on mark-stack operations
svn: r12716
2008-12-06 17:31:18 +00:00
Eli Barzilay
bf8816007a Welcome to a new PLT day.
svn: r12715
2008-12-06 08:50:13 +00:00
Matthew Flatt
89d0801d7a change quote-syntax to include a certificate for the enclosing module, enable certificate checking of phase-1 bindings, and fix some other problems with certificates
svn: r12714
2008-12-05 22:45:04 +00:00
Matthew Flatt
6dabd5cb31 fix potential problem with checking accessible module-bound ids; avoid unnecessary pagemap update in GC
svn: r12702
2008-12-04 20:47:10 +00:00
Matthew Flatt
c333fa8fb5 fix problems with custodian boxes, especially for a box whose custodian is shut down via an ancestor custodian
svn: r12680
2008-12-02 19:51:01 +00:00
Kevin Tew
827bc8755b syntax error fix
svn: r12679
2008-12-02 18:45:59 +00:00
Kevin Tew
e90cee15e1 [gc2] Merged for loops in reset_gen1_pages_live_and_previous_sizes.
svn: r12678
2008-12-02 17:35:09 +00:00
Kevin Tew
9fdd717d48 Windows gc2/sighand.c, make code consise
svn: r12677
2008-12-02 17:32:28 +00:00
Matthew Flatt
de03ebd5f9 fix allocation size for single-instance message under Windows
svn: r12676
2008-12-02 16:01:13 +00:00
Matthew Flatt
3b89976e37 new Mac file-dialog support only for 10.5 and up
svn: r12652
2008-11-30 18:26:25 +00:00
Matthew Flatt
382a650b74 change another property to a method call
svn: r12646
2008-11-30 12:57:46 +00:00
Matthew Flatt
0f43e934a7 use method call instead of propert set on NSSavePanel
svn: r12645
2008-11-30 12:49:08 +00:00
Matthew Flatt
7f4ddbe5fa better file-extension support for Mac OS X put-file dialog
svn: r12638
2008-11-29 18:52:25 +00:00
Matthew Flatt
789e51897c consistently initialize libunwind local-address-space record
svn: r12637
2008-11-29 14:43:14 +00:00
Matthew Flatt
f922996173 try to avoid loop in getting x86_64 stack trace
svn: r12635
2008-11-29 14:18:00 +00:00
Matthew Flatt
695bb48100 fix JIT-inlined set-mc{ad}r! error reporting for PPC
svn: r12633
2008-11-28 15:36:37 +00:00
Matthew Flatt
4bfb12ff3c clean up to avoid some more compiler warnings
svn: r12632
2008-11-28 15:00:20 +00:00
Matthew Flatt
9da2a8f395 clean up to avoid some compiler warnings
svn: r12631
2008-11-28 14:58:28 +00:00
Matthew Flatt
84ffa34efd safer x86_64 backtrace
svn: r12630
2008-11-28 14:07:11 +00:00
Matthew Flatt
e0e672e9ca finish x86_64+JIT backtrace support
svn: r12624
2008-11-27 19:32:55 +00:00
Matthew Flatt
ca45e93763 support for stack traces under Linux x86_64, but the trace currently ends if working backward from JIT codes runs back into C-compiled code
svn: r12623
2008-11-27 16:14:31 +00:00
Matthew Flatt
8412e85b64 last bit of prep for x86_64 backtrace (might even work)
svn: r12622
2008-11-27 15:24:47 +00:00
Matthew Flatt
84f52ab704 link unwind into mzscheme, though it's not used, yet (another step toward x86_64 backtraces)
svn: r12620
2008-11-27 15:01:48 +00:00
Matthew Flatt
961d459a7d import a slice of libunwind, a step toward JIT backtraces for x86_64
svn: r12619
2008-11-27 14:52:09 +00:00
Eli Barzilay
b28bf7025d Welcome to a new PLT day.
svn: r12616
2008-11-27 04:00:59 +00:00
Matthew Flatt
792ab171b0 improved error backtraces for a few for JIT-inlined primitives, notably 'car' and 'cdr'
svn: r12607
2008-11-27 00:47:18 +00:00
Matthew Flatt
7022d3cf0a compile-context-preservation-enabled and slightly better stack traces for errors from JIT-inlined arithmetic
svn: r12602
2008-11-26 23:07:13 +00:00
Kevin Tew
91cdeb1b6e gc2/page_range.c indent cleanups
svn: r12599
2008-11-26 19:19:16 +00:00
Matthew Flatt
777d4d3f89 fix scrollbar reporting so that generic notifies/moves are ignored
svn: r12597
2008-11-26 16:02:40 +00:00
Matthew Flatt
bfdcd63257 toggle checkable items in popup menu (PR 9948)
svn: r12594
2008-11-25 23:05:18 +00:00
Matthew Flatt
ed536c002e scheme/package (and more int-def repairs)
svn: r12589
2008-11-25 17:58:21 +00:00
Matthew Flatt
5f3b7e5c6f another int-def binding simplification repair
svn: r12585
2008-11-25 03:08:08 +00:00
Eli Barzilay
e89c1a13cb Welcome to a new PLT day.
svn: r12583
2008-11-24 23:46:43 +00:00
Matthew Flatt
a0f91d905e revised internal-definitions context and a basic 'define-package' form
svn: r12579
2008-11-24 19:52:41 +00:00
Matthew Flatt
937fd18b2a change internal definition expansion, simplifying, fixing douplicate-id checking, and fixing binding resolution through extensible ribs
svn: r12563
2008-11-21 13:49:10 +00:00
Kevin Tew
bea2297421 Make GC callbacks members of NewGC
svn: r12549
2008-11-20 23:36:54 +00:00
Matthew Flatt
accd20a8ed remove debugging code
svn: r12545
2008-11-20 20:45:02 +00:00
Matthew Flatt
8ccce66af7 round out inlining and optimization of simple allocating primitives
svn: r12539
2008-11-20 13:50:22 +00:00
Matthew Flatt
93a13222dc Mac: change draw-point to use Quartz in smoothed mode
svn: r12538
2008-11-20 13:48:48 +00:00
Eli Barzilay
e4da627da9 Welcome to a new PLT day.
svn: r12468
2008-11-17 08:50:12 +00:00
Eli Barzilay
4e8d060873 update version numbers for the v4.1.3 release
svn: r12463
2008-11-16 19:37:47 +00:00
Matthew Flatt
015503bde3 trigger GCs based on number of allocated bitmaps under Windows, not just their sizes
svn: r12457
2008-11-15 16:51:58 +00:00
Matthew Flatt
c73bb99cf6 fix struct type immutable-field handling and checking of prop:procedure values (PR 9914 and more)
svn: r12454
2008-11-15 02:49:54 +00:00
Matthew Flatt
0f8e31d0a2 notes on JIT internals
svn: r12447
2008-11-14 14:33:23 +00:00
Eli Barzilay
dc3ad7e2f3 Welcome to a new PLT day.
svn: r12439
2008-11-14 02:53:18 +00:00
Matthew Flatt
13b4240cc0 another attempt to fix JIT inline 'list'
svn: r12437
2008-11-14 02:21:18 +00:00
Matthew Flatt
d4e4d14f10 fix JIT inline 'list' call, especially for PPC
svn: r12436
2008-11-14 01:53:40 +00:00
Matthew Flatt
59f3f19f84 make the optimizer slightly smarter, so that it can see through more patterns of nested let and letrec procedure bindings
svn: r12434
2008-11-14 00:48:54 +00:00
Matthew Flatt
4dd202b960 ,
svn: r12430
2008-11-13 21:11:48 +00:00
Matthew Flatt
bac4053c37 improved JIT inlining of 'list'
svn: r12428
2008-11-13 16:42:15 +00:00
Matthew Flatt
358bc2bbed refine jit-buffer limit check after inlining attempts
svn: r12425
2008-11-13 15:31:55 +00:00
Matthew Flatt
ba7ad5d2e6 add support to xform to output source line numbers
svn: r12419
2008-11-13 00:26:04 +00:00
Matthew Flatt
cc69a51813 inline 'list' and 'box' allocation
svn: r12417
2008-11-12 21:18:08 +00:00
Matthew Flatt
a9ec217902 remove compact from default build
svn: r12413
2008-11-12 17:19:27 +00:00
Matthew Flatt
59ec6aaa34 fix compact build
svn: r12407
2008-11-12 12:22:22 +00:00
Matthew Flatt
17901efeb4 fix call-with-continuation-barrier to work with multiple values
svn: r12406
2008-11-12 12:17:03 +00:00
Matthew Flatt
68a329430d adjust excessively pessimistic fix to letrec-bound variable propagation (because a test case caught the change, so maybe it matters)
svn: r12401
2008-11-12 03:10:00 +00:00
Matthew Flatt
4bb9ef582f inline vector allocation
svn: r12399
2008-11-12 02:09:43 +00:00
Matthew Flatt
8b6ccea76c restore GC_malloc_pair to 3m
svn: r12390
2008-11-11 22:23:30 +00:00
Matthew Flatt
74ac5ba272 fix bug in call-with-immediate-continuation-mark
svn: r12389
2008-11-11 21:56:41 +00:00
Matthew Flatt
cbb4985996 fix over-eager bytecode optimization of folding a reference to a letrec-bound identifier that is not yet ready
svn: r12385
2008-11-11 17:14:35 +00:00
Matthew Flatt
ad75c8aa58 fix problems in lex-rename simplification; other tiny improvements and doc repairs
svn: r12380
2008-11-10 22:50:54 +00:00
Matthew Flatt
a452fa0cef fix Windows out-of-memory dialog
svn: r12375
2008-11-10 15:50:48 +00:00
Matthew Flatt
8ec4e7f087 improve error message when an unbound id leads to a check for #%app or #%top (especially in the transformer environment)
svn: r12351
2008-11-08 15:23:43 +00:00
Eli Barzilay
e919a3339c Welcome to a new PLT day.
svn: r12340
2008-11-07 03:08:31 +00:00
Matthew Flatt
65eb7e7a18 call-with-immediate-continuation-mark
svn: r12339
2008-11-07 02:54:12 +00:00
Matthew Flatt
83e5376d62 more bzeros on ofm_malloc'd memory
svn: r12324
2008-11-05 23:35:36 +00:00
Matthew Flatt
2fc429a9d7 clear allocated freeblocks array
svn: r12313
2008-11-05 21:51:11 +00:00
Matthew Flatt
6ccb6a0137 adjust gc2 to access mzconfig.h header in build idrectory
svn: r12311
2008-11-05 21:31:32 +00:00
Kevin Tew
851ef83218 [gc2] x86_64 fix
svn: r12310
2008-11-05 21:10:50 +00:00
Kevin Tew
49fa1ab8ed Changed all mallocs to ofm_mallocs that report a nice error message and abort
svn: r12309
2008-11-05 21:10:44 +00:00
Kevin Tew
1f7e962fe6 GC global usage moved to GC_get_GC()
svn: r12308
2008-11-05 21:10:36 +00:00
Kevin Tew
83fbfd72cb Remove a couple more usages of the global GC
svn: r12307
2008-11-05 21:10:29 +00:00
Kevin Tew
4b29ac09c3 Reduced all THREAD local GC usage to NewGC *gc = GC; to be replaces with GC_get_GC()
svn: r12306
2008-11-05 21:10:21 +00:00
Kevin Tew
1d5d7ea18f Removed GC global and ACTUALLY_USED macros from allocators
svn: r12305
2008-11-05 21:10:13 +00:00
Kevin Tew
90f1c78c53 OS X fixes
svn: r12304
2008-11-05 21:10:04 +00:00
Kevin Tew
8220f558c3 More cleanup of the vm_* layer
svn: r12303
2008-11-05 21:09:58 +00:00
Kevin Tew
6fb0437222 Build on Windows fixes
svn: r12302
2008-11-05 21:09:50 +00:00
Kevin Tew
a714ab06f8 Moved protect_range to NewGC struct
svn: r12301
2008-11-05 21:09:43 +00:00
Kevin Tew
6c3555f2a2 Moved OTEntry to NewGC struct
svn: r12300
2008-11-05 21:09:36 +00:00
Kevin Tew
397e42ae06 Moved freeblock to NewGC struct
svn: r12299
2008-11-05 21:09:30 +00:00
Kevin Tew
af34446ec3 GC2 builds with and without blame the child, blame the child is more cleanly separated
svn: r12298
2008-11-05 21:09:24 +00:00
Kevin Tew
03548173f1 Allow compact GC to get a little further before SIGSEGV
svn: r12297
2008-11-05 21:09:17 +00:00
Kevin Tew
8983dd96f3 More pagemap caching
svn: r12296
2008-11-05 21:09:12 +00:00
Kevin Tew
7f2ee89d4f Attempt to cache mark_table use
svn: r12295
2008-11-05 21:09:06 +00:00
Kevin Tew
f8add652eb Improve fixup_table caching
svn: r12294
2008-11-05 21:09:00 +00:00
Kevin Tew
100770fef3 Attempt to recover speed loss with pagemaps
svn: r12293
2008-11-05 21:08:55 +00:00
Kevin Tew
f82068bce1 Whitespace blame_the_child.c
svn: r12292
2008-11-05 21:08:48 +00:00
Kevin Tew
5ad3d5466e Moved lots of blame_the_child flats to NewGC struct
svn: r12291
2008-11-05 21:08:43 +00:00
Kevin Tew
0366385251 eliminated a GC-> dereference in roots.c
svn: r12290
2008-11-05 21:08:36 +00:00
Kevin Tew
4f9e9a9c19 Fixed compiler warning
svn: r12289
2008-11-05 21:08:30 +00:00
Kevin Tew
4d0cdd5b9d Moved weak.c statics to NewGC struct
A little cleanup to help my static analysis tool

svn: r12288
2008-11-05 21:08:24 +00:00
Kevin Tew
b6add696af Moved static roots to NewGC
svn: r12287
2008-11-05 21:08:17 +00:00
Kevin Tew
5f10e2d80e Cleaned up newgc_parts and newgc_internal.h
svn: r12286
2008-11-05 21:08:11 +00:00
Kevin Tew
06f3c07d42 Move fnls statics to NewGC struct
svn: r12285
2008-11-05 21:08:02 +00:00
Kevin Tew
10a8d7ce76 Removed function local statics from garbage_collect
renamed some GC to gc

svn: r12284
2008-11-05 21:07:55 +00:00
Kevin Tew
da2d5987cb Refactored ifs to be contract checks at beginning of code. Reduces nesting.
svn: r12283
2008-11-05 21:07:49 +00:00
Kevin Tew
615003c4e8 Cleaned up clean_up_heap
svn: r12282
2008-11-05 21:07:43 +00:00
Kevin Tew
7e56ab9d40 Whitespace fixes and added gen1_free_mpage helper function
svn: r12281
2008-11-05 21:07:37 +00:00
Kevin Tew
453e20fd12 Refactored code into gen0_free_big_pages
svn: r12280
2008-11-05 21:07:32 +00:00
Kevin Tew
4961879ff7 Cleanup
svn: r12279
2008-11-05 21:07:26 +00:00
Kevin Tew
498a7cd75b THREAD_LOCAL 3m
svn: r12278
2008-11-05 21:07:20 +00:00
Kevin Tew
94fd055498 Moved pages to NewGC->gen1_pages
svn: r12277
2008-11-05 21:07:12 +00:00
Kevin Tew
2276702c19 Moved page_map to NewGC struct
svn: r12276
2008-11-05 21:07:06 +00:00
Kevin Tew
88a778fc12 Whitespace fix
svn: r12275
2008-11-05 21:06:59 +00:00
Kevin Tew
2b39b8bb37 Moved find_page to pagemap_find_page
svn: r12274
2008-11-05 21:06:54 +00:00
Kevin Tew
507abe699c Move Weak_Finalizer and GC_Thread_Info to struct NewGC
svn: r12273
2008-11-05 21:06:47 +00:00
Kevin Tew
3577b42a1a Moved run_queue and last_in_queue to NewGC struct
svn: r12272
2008-11-05 21:06:41 +00:00
Kevin Tew
13f3eefa6c Moved normal_*_mark to NewGC struct
svn: r12271
2008-11-05 21:06:34 +00:00
Kevin Tew
a8b5999a19 Moved stack_base to NewGC struct
svn: r12270
2008-11-05 21:06:27 +00:00
Kevin Tew
d158420c94 Moved immobile boxes to their own c file, moved immobile_boxes to NewGC struct
svn: r12269
2008-11-05 21:06:21 +00:00
Kevin Tew
4557c6cef1 Move Mark_Proc Fixup_Proc and memory_in_use to NewGC struct
svn: r12268
2008-11-05 21:06:14 +00:00
Kevin Tew
dee6deb1be Move avoid_collection to NewGC struct
svn: r12267
2008-11-05 21:06:07 +00:00
Kevin Tew
c2e28f8d70 Move release_page to NewGC struct
svn: r12266
2008-11-05 21:06:01 +00:00
Kevin Tew
5a76a7b3bb Moved gc_full to NewGC struct
svn: r12265
2008-11-05 21:05:55 +00:00
Kevin Tew
79bac843cb rename int_top mark_stack
svn: r12264
2008-11-05 21:05:49 +00:00
Kevin Tew
50c5dc8df2 Make zero_sized const
svn: r12263
2008-11-05 21:05:44 +00:00
Kevin Tew
8fbdf6b9f2 Moved more globals to NewGC
svn: r12262
2008-11-05 21:05:38 +00:00
Kevin Tew
2c265f832a Moved parks into NewGC
svn: r12261
2008-11-05 21:05:32 +00:00
Kevin Tew
fa1335ea8c Moved pagesize counters to NewGC struct
svn: r12260
2008-11-05 21:05:24 +00:00
Kevin Tew
3ac1cb8d56 Moving thing to structs
svn: r12259
2008-11-05 21:05:17 +00:00
Kevin Tew
e7f5cf86e9 Cleaned up nursery routines
svn: r12258
2008-11-05 21:05:11 +00:00
Kevin Tew
645ccd5104 Refactor new utility function create_new_mpage, whitespace cleanup
svn: r12257
2008-11-05 21:05:05 +00:00
Kevin Tew
c2bc33ea64 Fixed info on long w
svn: r12256
2008-11-05 21:05:00 +00:00
Kevin Tew
3b3197ecc6 Reorg of gc2/vm_* and alloc_cache
svn: r12255
2008-11-05 21:04:54 +00:00
Kevin Tew
aac8d83084 Renamed some variables
svn: r12254
2008-11-05 21:04:47 +00:00
Kevin Tew
5f5bd756f0 Cleanedup determine_max_heap_size not to use heap,
svn: r12253
2008-11-05 21:04:41 +00:00
Kevin Tew
d2ef05d1b7 Fixed missing space in $(MAKE)../mzscheme_compact_gc
svn: r12252
2008-11-05 21:04:36 +00:00
Kevin Tew
a4b99783d7 Split out platform specific defines to common header file
svn: r12251
2008-11-05 21:04:30 +00:00
Kevin Tew
77df801ad1 Builds both new gc versions by default in gc2 dir
svn: r12250
2008-11-05 21:04:24 +00:00
Kevin Tew
e00cf58d73 Removed outdated, not needed GC_malloc_pair, GC_malloc_mutable_pair
svn: r12249
2008-11-05 21:04:18 +00:00
Kevin Tew
d290f569bf Split definitions out to header file, beginning of re-entry gc
svn: r12248
2008-11-05 21:04:10 +00:00
Kevin Tew
58eaf2a88a Move page type constants to an enum
svn: r12247
2008-11-05 21:04:02 +00:00
Kevin Tew
22706f29b6 Separate out blame the child
svn: r12246
2008-11-05 21:03:56 +00:00
Kevin Tew
01bed4a680 Move typedefs to newgc_internal.h
svn: r12245
2008-11-05 21:03:49 +00:00
Kevin Tew
6a4576c161 roots.c cleanup
svn: r12244
2008-11-05 21:03:43 +00:00
Kevin Tew
8a70bde3c1 Allow compact gc to build simultaneously with newgc
svn: r12243
2008-11-05 21:03:27 +00:00
Eli Barzilay
9283c96bfd Welcome to a new PLT day.
svn: r12241
2008-11-05 08:50:27 +00:00
Matthew Flatt
5026445695 fix bug when editor is removed during on-char and other callbacks (PR 9887)
svn: r12238
2008-11-04 23:52:14 +00:00
Matthew Flatt
37aae202c5 speed up doc build a little; fix bugs related to getting continuation marks from a thread and using the errortrace profiler
svn: r12237
2008-11-04 23:32:44 +00:00
Matthew Flatt
95bedb17fb change contracts to reflect context via #%variable-reference instead of syntax objects; add id-less #%variable-reference form; drop link to unneeded CPort objects in delayed thunks; streamline some modules that tend to show up in deep phases
svn: r12231
2008-11-04 14:24:12 +00:00
Matthew Flatt
10f794defd fix wxOutOfMemory return
svn: r12224
2008-11-03 12:45:44 +00:00
Matthew Flatt
d5f796211a better reporting for out-of-memory failure
svn: r12218
2008-11-02 16:05:27 +00:00
Matthew Flatt
338a595a7a fix problem with incrorectly invoking phase -1 relative to base phase 1; sync planet reader with #lang whitespace change
svn: r12210
2008-10-31 21:12:22 +00:00
Matthew Flatt
51f5d193dd adjust editor-cavas% refresh to clear border before calling on-paint
svn: r12198
2008-10-31 15:08:21 +00:00
Eli Barzilay
cc12402a34 leave the input position right after the language, not after the following whitespace
svn: r12197
2008-10-31 15:07:16 +00:00
Matthew Flatt
05fbd0ffd3 fix problem with simplifying module-rename contexts that have marked renamings
svn: r12195
2008-10-31 14:44:32 +00:00
Matthew Flatt
eada4a5b7e fix method vs. procedure arity error reporting from JITted callbacks
svn: r12179
2008-10-30 19:04:08 +00:00
Matthew Flatt
ac9944a818 switch editor-canvas to no-autoclear mode
svn: r12169
2008-10-29 21:36:58 +00:00
Eli Barzilay
c9244e48ff Welcome to a new PLT day.
svn: r12158
2008-10-28 14:13:20 +00:00
Matthew Flatt
981a491c45 change representation of marked imports in syntax context (which finally fixes the 13MB-of-redundant-bytecode problem with the framework and tools docs)
svn: r12156
2008-10-28 12:14:06 +00:00
Matthew Flatt
00d2aabaf0 jit tweaks
svn: r12144
2008-10-27 19:00:13 +00:00
Matthew Flatt
469e780949 add some missing dependencies for windows 3m build
svn: r12143
2008-10-27 18:41:04 +00:00
Matthew Flatt
f902850a52 adjust 3m backtrace build to work under Windows
svn: r12127
2008-10-25 17:42:15 +00:00
Matthew Flatt
4ae0c12a1e fix self-reference on an order-finalized object (Windows)
svn: r12126
2008-10-25 17:41:00 +00:00
Kevin Tew
6680d2cc98 [configure] X11 libs fix for CentOS 4.6
svn: r12118
2008-10-24 16:51:01 +00:00
Eli Barzilay
59f33840c2 Welcome to a new PLT day.
svn: r12113
2008-10-24 08:30:49 +00:00
Eli Barzilay
07efdbd819 oops, mixed up trunk and release version updates previously
svn: r12112
2008-10-24 08:30:14 +00:00
Eli Barzilay
f90412a562 Welcome to a new PLT day.
svn: r12111
2008-10-24 08:22:13 +00:00
Matthew Flatt
bb7d3d1a28 fix 'local-expand' checking of stop list to disallow symbols; extend 'continuation-marks' to work on threads; fix HtDP language module-level stop list
svn: r12101
2008-10-23 13:38:03 +00:00
Eli Barzilay
d82746fc22 update version numbers for v4.1.2
svn: r12098
2008-10-23 09:09:15 +00:00
Matthew Flatt
bf217f2557 fix cycle check for module requires
svn: r12097
2008-10-23 01:29:53 +00:00
Matthew Flatt
e2d4bc0d2b finish decompiler on syntax objects
svn: r12077
2008-10-21 00:10:47 +00:00
Matthew Flatt
9d0f9f7a05 fix problem with transferring marks when some marks contirbuted to the generation of a module-level binding
svn: r12071
2008-10-20 13:13:42 +00:00
Matthew Flatt
881d884b67 avoid calling FindScrollStep with a negative offset
svn: r12062
2008-10-18 23:47:32 +00:00
Matthew Flatt
c73be48400 fix refcount typo
svn: r12061
2008-10-18 16:41:18 +00:00
Matthew Flatt
02fbdf09b1 avoid having MzScheme get stuck on pipes when CancelSynchronizedIo is not available
svn: r12060
2008-10-18 16:40:08 +00:00
Matthew Flatt
431b60d7b4 rewind broken Windows port chages, for now
svn: r12058
2008-10-18 14:54:34 +00:00
Matthew Flatt
b013cf9d7a fix Windows repairs for ports
svn: r12057
2008-10-18 14:33:51 +00:00
Matthew Flatt
69685db892 try to fix problems force-closing stuck ports under Windows
svn: r12056
2008-10-18 14:22:51 +00:00
Eli Barzilay
6266b12d6d Welcome to a new PLT day.
svn: r12040
2008-10-15 00:58:58 +00:00
Matthew Flatt
8b595ed120 make-syntax-delta-introducer and adjusted binding in scheme/unit forms
svn: r12032
2008-10-14 13:27:43 +00:00
Eli Barzilay
26130818f3 Welcome to a new PLT day.
svn: r12022
2008-10-13 18:29:25 +00:00
Matthew Flatt
ec68bafa9c add eqv hash tables; add hash-update
svn: r12018
2008-10-13 16:21:18 +00:00
Matthew Flatt
489f4b623c remove bogus -lpthread from 3m link (slipped in with places change)
svn: r11988
2008-10-11 12:47:28 +00:00
Matthew Flatt
fc974109b2 adjust icache flush computation for PPC
svn: r11976
2008-10-08 15:33:46 +00:00
Matthew Flatt
6cbac335f7 even more CPP corrections for mprotect code
svn: r11975
2008-10-08 15:26:32 +00:00
Matthew Flatt
1115def7bb more CPP corrections for mprotect code
svn: r11974
2008-10-08 15:20:50 +00:00
Matthew Flatt
aedc028b2c fix PPC instruct-cache flush to not walk past the end of an allocated page
svn: r11973
2008-10-08 15:12:44 +00:00
Matthew Flatt
4609f594b6 add missing include for open when needed with mprotect
svn: r11972
2008-10-08 14:59:47 +00:00
Matthew Flatt
9779ffb677 fix mprotect CPP for when mprotect isn't needed
svn: r11971
2008-10-08 14:57:06 +00:00
Matthew Flatt
a584304aa2 fix code allocation bug
svn: r11967
2008-10-07 19:26:42 +00:00
Matthew Flatt
bda26f5eaa fix image pasting for x86 Mac
svn: r11965
2008-10-07 15:06:46 +00:00
Matthew Flatt
82ad7da253 change -S, -X, and -z flags for mz/mr
svn: r11964
2008-10-07 14:56:26 +00:00
Matthew Flatt
da1e0f6313 fix code allocation bug
svn: r11959
2008-10-07 13:12:44 +00:00
Matthew Flatt
06efa91709 scheme_malloc_code and scheme_free_code
svn: r11958
2008-10-07 11:58:51 +00:00
Eli Barzilay
dd20d88776 Welcome to a new PLT day.
svn: r11950
2008-10-06 07:50:04 +00:00
Eli Barzilay
2b5e42850d post 4.1.1
svn: r11943
2008-10-05 20:21:13 +00:00
Eli Barzilay
f2756fca3c properly mark callback memory as executable
svn: r11930
2008-10-03 19:52:51 +00:00
Matthew Flatt
086f3c3b44 fix int-def context binding problems, fix scheme/splicing, change rnrs/base-6 to use scheme/splicing
svn: r11917
2008-09-30 22:03:55 +00:00
Eli Barzilay
3f4c0997e3 Welcome to a new PLT day.
svn: r11906
2008-09-29 17:42:26 +00:00
Eli Barzilay
09427ab88f typo
svn: r11905
2008-09-29 17:42:12 +00:00
Eli Barzilay
f64fb9ff46 prepare for 4.1.1
svn: r11904
2008-09-29 17:41:34 +00:00
Matthew Flatt
cad726031f fix two macro-expansion bugs, one related to the top level, and one related to internal-definition positions
svn: r11900
2008-09-29 12:19:38 +00:00
Matthew Flatt
ce10c4a5fc fix 'module-langugage tracking
svn: r11832
2008-09-22 13:08:40 +00:00
Eli Barzilay
afb21c32b5 Welcome to a new PLT day.
svn: r11831
2008-09-22 07:50:18 +00:00
Matthew Flatt
dd7db9ff7b add read-language, module-compiled-language-info, and module->language-info
svn: r11827
2008-09-21 16:00:42 +00:00
Matthew Flatt
de0ebda750 fix duplicate export of GC_resolve
svn: r11778
2008-09-16 13:46:04 +00:00
Matthew Flatt
ddb0efb40d don't clear text% paste-continue status on mouse enter/leave
svn: r11762
2008-09-15 20:13:39 +00:00
Matthew Flatt
1482d7d7c6 CPP macro tweak (hopefully makes MSVC a little happier)
svn: r11759
2008-09-15 19:33:46 +00:00
Matthew Flatt
186bf67630 msvs9-friendly patches; preliminary splicing let-syntax library; export and doc GC_resolve and GC_fixup_self
svn: r11758
2008-09-15 19:08:50 +00:00
Matthew Flatt
72055191b4 add printable<%>
svn: r11705
2008-09-12 22:50:09 +00:00
Eli Barzilay
c2dfbc3559 Welcome to a new PLT day.
svn: r11639
2008-09-11 07:50:17 +00:00
Matthew Flatt
49f5785277 fix some issues in recent mzscheme changes
svn: r11631
2008-09-10 12:57:11 +00:00
Eli Barzilay
3570267c41 regenerate configure script; update README
svn: r11629
2008-09-10 09:53:49 +00:00
Eli Barzilay
f43990ee3b use sysv only on Windows (usable elsewhere, but its the default anyway)
svn: r11625
2008-09-10 02:22:59 +00:00
Kevin Tew
6ba827d26d Make scheme_orig_*_port THREAD_LOCAL
svn: r11618
2008-09-09 15:57:30 +00:00
Kevin Tew
3a0049ccb2 Fixed typo that resulted in broken rwlock
svn: r11617
2008-09-09 15:57:18 +00:00
Kevin Tew
9f2a3c4e57 More locking around symbol-table-like module path hash table
svn: r11616
2008-09-09 15:57:10 +00:00
Kevin Tew
8011866767 Made Place_Start_Data a gc allocation
svn: r11615
2008-09-09 15:57:02 +00:00
Kevin Tew
ba47325536 Added mutex abstraction
svn: r11614
2008-09-09 15:56:54 +00:00
Kevin Tew
c2fe5919c8 Fix for multithreaded access to the symbol table
svn: r11613
2008-09-09 15:56:46 +00:00
Kevin Tew
3e5fda6614 More Thread LOCAL
svn: r11612
2008-09-09 15:56:32 +00:00
Kevin Tew
131f74fac2 Fixed 3m mzrt compilation error
svn: r11611
2008-09-09 15:56:16 +00:00
Kevin Tew
83638edbaf New cstartup.inc
svn: r11610
2008-09-09 15:56:03 +00:00
Kevin Tew
6d50671010 Added mz_proc_thread_self function for debug
svn: r11609
2008-09-09 15:55:54 +00:00
Kevin Tew
77a2542ecb Places cleanup
svn: r11608
2008-09-09 15:55:47 +00:00
Kevin Tew
8fd30fa556 Replaced external use of THREAD_LOCAL variables with functions
svn: r11607
2008-09-09 15:55:38 +00:00
Kevin Tew
7535688255 Fix symbol table not being cleaned up after creating a place
svn: r11606
2008-09-09 15:55:06 +00:00
Kevin Tew
f052777dce Missed a parameter in the refactor, ouch
svn: r11605
2008-09-09 15:54:58 +00:00
Kevin Tew
243b23c499 Fixed rwlock typo in symbols.c
svn: r11604
2008-09-09 15:54:50 +00:00
Kevin Tew
5b4c966af3 Removed duplicate registration of globals
svn: r11603
2008-09-09 15:54:39 +00:00
Kevin Tew
43c9c0b356 Fixed src/places for xform
svn: r11602
2008-09-09 15:54:29 +00:00
Kevin Tew
123602146b Made swap_target THREAD_LOCAL
svn: r11601
2008-09-09 15:54:19 +00:00
Kevin Tew
597c3b39be Global audit and cleanup of regexp.c
svn: r11600
2008-09-09 15:54:10 +00:00
Kevin Tew
6157c3d4d0 Fixes to place_instance_init so that ports work, config setup calls are made, and quick_stx is THREAD_LOCAL
svn: r11599
2008-09-09 15:54:00 +00:00
Kevin Tew
183ef9b926 Global audit and cleanup of eval.c
svn: r11598
2008-09-09 15:53:41 +00:00
Kevin Tew
f39141301a Added scheme_init_print_buffers_places, audit and cleanedup of print.c globals
svn: r11597
2008-09-09 15:53:29 +00:00
Kevin Tew
95ab952eb9 Refactor fast_checker_counter to be a threaded counter, not a global
svn: r11596
2008-09-09 15:53:19 +00:00
Kevin Tew
81b486ef1f Global audit and cleanup of error.c
svn: r11595
2008-09-09 15:53:11 +00:00
Kevin Tew
4546bf8fe7 Global audit and cleanup of read.c
svn: r11594
2008-09-09 15:53:03 +00:00
Kevin Tew
2914c4e145 Added collection_paths init to places
svn: r11593
2008-09-09 15:52:51 +00:00
Kevin Tew
f9bf7f2467 Cleanup of init functions using new GLOBAL_ macros
svn: r11592
2008-09-09 15:52:39 +00:00
Kevin Tew
c8de743d18 Added total_startup which automates the regen startup process
svn: r11591
2008-09-09 15:52:27 +00:00
Kevin Tew
04500805cc mk-gdbinit.ss updates
Cleaned up pso output in gdb

svn: r11590
2008-09-09 15:52:20 +00:00
Kevin Tew
7068de8f67 Change place_wait and place_sleep to place-wait and place-sleep
svn: r11589
2008-09-09 15:52:13 +00:00
Eli Barzilay
cc243ce220 catch up with latest libffi from the GCC repository
svn: r11573
2008-09-08 12:45:41 +00:00
Eli Barzilay
39a388e426 ABI constants are not preprocessor definitions; STDCALL only on Windows
svn: r11570
2008-09-08 06:29:29 +00:00
Matthew Flatt
6a174fa7c9 fix logger registration after scheme_basic_env reset
svn: r11568
2008-09-07 13:11:29 +00:00
Matthew Flatt
d7d8b2c7b3 clarify with a comment why the delay-load code is needed
svn: r11559
2008-09-05 20:37:33 +00:00
Matthew Flatt
1d2a09a753 fix marshaling of empty closure when its body has not been demanded before
svn: r11558
2008-09-05 20:20:34 +00:00
Eli Barzilay
bf1e7a5ab0 Added optional abi argument to ffi-call', ffi-callback', `make-cstruct-type'.
svn: r11533
2008-09-04 10:35:41 +00:00
Matthew Flatt
1bca658b29 get rid of prepared_buf
svn: r11532
2008-09-03 20:00:34 +00:00
Matthew Flatt
58a61558a9 fix indentation
svn: r11521
2008-09-02 11:55:04 +00:00
Matthew Flatt
8ed6a0c00f fix focus callbacks incorrectly called during frame destruction
svn: r11516
2008-09-02 01:54:16 +00:00
Matthew Flatt
0545787e14 revise comment to match code
svn: r11474
2008-08-28 22:06:49 +00:00
Matthew Flatt
632c6fc60e fix another aliasing bug
svn: r11473
2008-08-28 22:03:14 +00:00
Matthew Flatt
6fb9a4243f try to fix bad aliasing in GC src
svn: r11463
2008-08-28 08:10:44 +00:00
Matthew Flatt
27c9c2a22f fix scroll-to call when the end of a selection is to the left (in terms of locations) of the start
svn: r11444
2008-08-26 22:48:36 +00:00
Matthew Flatt
4bee6127e3 fix X menus again
svn: r11437
2008-08-26 20:02:25 +00:00
Matthew Flatt
7418796a32 fix module restart and instantiation of imports
svn: r11433
2008-08-26 11:18:23 +00:00
Matthew Flatt
33d2d5de32 fix popup menus (broken by recent change to non-popup interaction)
svn: r11432
2008-08-26 11:01:56 +00:00
Matthew Flatt
553e068ccf remove scheme_require_from_original_env from linking table
svn: r11431
2008-08-26 10:41:47 +00:00
Eli Barzilay
98e597f495 use symbols for network port names
svn: r11415
2008-08-25 14:23:31 +00:00
Matthew Flatt
6793197f68 set XtNinput on frames (PR 9690)
svn: r11412
2008-08-25 12:57:57 +00:00
Matthew Flatt
7f17d667b1 fix O(n^2) problem in syntax-binding calculation
svn: r11406
2008-08-24 12:58:26 +00:00
Matthew Flatt
188d8a4a98 fix secondary hash code for fixnums
svn: r11399
2008-08-23 12:42:42 +00:00
Matthew Flatt
bf5e26a263 fix canvas control border, at least under Vista
svn: r11394
2008-08-22 22:32:47 +00:00
Matthew Flatt
8457a3472a fix Windows window<%> get-text-extent
svn: r11393
2008-08-22 22:12:32 +00:00
Matthew Flatt
54ffac164a reduce right padding of a mac os x message%; add space between a text-field% label and edit box (on all platforms)
svn: r11392
2008-08-22 21:40:10 +00:00
Matthew Flatt
70a71422ba fix showing of label for list-box objects in Mac OS X
svn: r11391
2008-08-22 21:33:19 +00:00
Matthew Flatt
8f12007984 JIT tweaks, including enabling tiny-jump support (which was accidentally disabled) on x86
svn: r11369
2008-08-21 18:37:48 +00:00
Matthew Flatt
c2e9a78ea9 fix sync bug
svn: r11367
2008-08-21 15:47:16 +00:00
Matthew Flatt
6516518ae5 fix cm-accomplice and avoid redundant reader-module dependencies
svn: r11354
2008-08-20 13:29:42 +00:00
Matthew Flatt
d1d68c1aed fix max-depth JIT patch
svn: r11348
2008-08-19 23:05:42 +00:00
Matthew Flatt
49f2f894d6 fix non-tail self call with lots of args
svn: r11347
2008-08-19 22:58:48 +00:00
Matthew Flatt
1be4c39592 avoid x86_64 warning
svn: r11346
2008-08-19 22:46:46 +00:00
Matthew Flatt
c5c8adff22 jit: avoid some register shuffling
svn: r11345
2008-08-19 22:44:55 +00:00
Matthew Flatt
a944fdae8d jit: save some instructions on self non-tail call
svn: r11344
2008-08-19 21:28:18 +00:00
Eli Barzilay
cff3200cf4 Welcome to a new PLT day.
svn: r11339
2008-08-19 17:50:30 +00:00
Matthew Flatt
b8147e1e2e new version number to go with cm repairs
svn: r11332
2008-08-19 16:23:44 +00:00
Matthew Flatt
ebab4270bf fix letrec compilation when call/cc is used on the RHS of something that otherwise looks like it could be let*; add #%in annotations to decompiler output
svn: r11329
2008-08-19 15:18:09 +00:00
Matthew Flatt
ece880b3a2 jit tweak for structure predicates/accessors
svn: r11328
2008-08-19 11:49:08 +00:00
Matthew Flatt
3ead9c435f fix 3m build for moved cm
svn: r11327
2008-08-19 11:17:14 +00:00
Matthew Flatt
85405bc80b misc accumulated mzscheme tweaks
svn: r11318
2008-08-19 02:30:20 +00:00
Matthew Flatt
9ecece65d7 place patches from Kevin
svn: r11273
2008-08-15 15:59:39 +00:00
Matthew Flatt
b58081fe3a fix --enable-places
svn: r11272
2008-08-15 15:49:50 +00:00
Matthew Flatt
448b47a953 fix hash-table reset when the table is shrunk
svn: r11268
2008-08-15 03:18:00 +00:00
Matthew Flatt
d01479b5e4 fix log-reader syncing
svn: r11267
2008-08-15 02:12:45 +00:00
Matthew Flatt
cfaeedc910 fix error messages that should say 'identifier' instead of 'variable'
svn: r11235
2008-08-14 02:41:41 +00:00
Matthew Flatt
a4c5239364 fix scheme_current_thread schemef decl
svn: r11233
2008-08-14 01:07:37 +00:00
Matthew Flatt
41d5c97ca9 fix MZ_INLINE for MSVC
svn: r11232
2008-08-14 01:03:41 +00:00
Matthew Flatt
a4d2c85bf0 adjust #%places module so that it's always present
svn: r11231
2008-08-14 00:58:33 +00:00
Matthew Flatt
012cf40a15 some fixes to the places code
svn: r11230
2008-08-13 23:38:48 +00:00
Matthew Flatt
7a6feab38c schpriv.h before mzrt.h
svn: r11229
2008-08-13 23:16:50 +00:00
Matthew Flatt
996dc32405 MZ_INLINE2 => MZ_INLINE
svn: r11228
2008-08-13 23:14:48 +00:00
Matthew Flatt
04d7712988 merge Kevin's work so far on places
svn: r11226
2008-08-13 23:08:34 +00:00
Matthew Flatt
eadbc25953 jit tweaks
svn: r11224
2008-08-13 19:04:53 +00:00
Matthew Flatt
a58e5ab74c remove scheme_no_dumps
svn: r11219
2008-08-13 12:40:34 +00:00
Matthew Flatt
38191b92e6 some clean-ups from Kevin
svn: r11218
2008-08-13 12:38:59 +00:00
Matthew Flatt
4709c8ba61 mred X: clicking selected drop-down menu unselects the menu
svn: r11217
2008-08-13 12:04:58 +00:00
Eli Barzilay
7b0676ac7d Welcome to a new PLT day.
svn: r11214
2008-08-13 07:50:13 +00:00
Matthew Flatt
7347996f66 fix strength of reference to a log reader with a thread blocked on it
svn: r11210
2008-08-12 23:54:54 +00:00
Eli Barzilay
bd01f9eb88 4.1.0.1
svn: r11209
2008-08-12 20:19:32 +00:00
Matthew Flatt
1993288ce2 fix clean-up of GCed log readers
svn: r11202
2008-08-12 15:28:42 +00:00
Matthew Flatt
ea8c4b3f38 repair asin and acos on complex numbers (though why the old algorithm was wrong is frankly beyond me)
svn: r11196
2008-08-12 00:42:25 +00:00
Matthew Flatt
178c30e6e4 fix lcm on 0
svn: r11194
2008-08-11 23:55:32 +00:00
Eli Barzilay
5fb2b7d215 Welcome to a new PLT day.
svn: r11173
2008-08-09 19:43:55 +00:00
Eli Barzilay
c609f4f8fa v4.1
svn: r11172
2008-08-09 19:42:17 +00:00
Matthew Flatt
ada4b6f9d0 refine reader error message for missing closing paren
svn: r11104
2008-08-06 11:57:37 +00:00