Commit Graph

2376 Commits

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