Commit Graph

2083 Commits

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