Commit Graph

2924 Commits

Author SHA1 Message Date
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