Commit Graph

773 Commits

Author SHA1 Message Date
Matthew Flatt
e60ba79f61 fix Windows problem with draw-bitmap-section and non-monochrome masks (PR 8543)
svn: r5688
2007-02-24 16:59:42 +00:00
Matthew Flatt
7f82cb157c fix GC preparation of a thread that is currently being removed
svn: r5686
2007-02-24 14:15:45 +00:00
Matthew Flatt
d3cfd4822a fix bug in lifting of a procedure with a single unused rest arg
svn: r5685
2007-02-24 13:54:11 +00:00
Matthew Flatt
b4be2ce25d fix help typo in configure script
svn: r5650
2007-02-20 22:41:07 +00:00
Eli Barzilay
8b642ebc47 * Added `offset-ptr?' (returns #t for any offset, even if it's 0, #f for
no-offset or non-pointer)

* Added `ptr-add!' (must get `offset-ptr?' value, destructive, returns void)

* Added `ptr-offset' (works on any cpointer value)

* Added `set-ptr-offset!' for pointers, with an optional ctype multiplier
  (works only for `offset-ptr?' inputs)

* Changed memcopy, memmove & memset to have a single c-type argument.

svn: r5646
2007-02-20 08:42:34 +00:00
Matthew Flatt
f8f8921a74 properly detect cancelling marks for context check on fully-expanded expressions
svn: r5645
2007-02-20 08:22:37 +00:00
Matthew Flatt
c0bd2049a9 fix path completion in Mac OS X file dialog
svn: r5642
2007-02-20 02:02:01 +00:00
Matthew Flatt
23241decd1 fix char-ready? to not block when only part of a character is ready
svn: r5639
2007-02-20 01:41:05 +00:00
Matthew Flatt
1a604ff602 report more information in error for for colliding imports
svn: r5625
2007-02-16 22:01:58 +00:00
Matthew Flatt
92193f575a fix generation of SCHEME2C for non-ptr types
svn: r5624
2007-02-16 12:13:52 +00:00
Matthew Flatt
ba698cf9a4 fix SCHEME2C macro, which may help big-endian problem
svn: r5623
2007-02-16 11:36:47 +00:00
Matthew Flatt
4c7a4b3cd6 mysterx doesn't need the delayload tricks, because it's a MzScheme extension
svn: r5621
2007-02-16 02:26:54 +00:00
Matthew Flatt
da4191880c fix pre-processor defn
svn: r5620
2007-02-15 22:14:15 +00:00
Matthew Flatt
a5df6154c1 fix bugs related to getting rid of #%expression in fully expanded code
svn: r5615
2007-02-15 08:12:54 +00:00
Matthew Flatt
c4e863fe39 fix expansion context for let-values RHS
svn: r5599
2007-02-14 14:10:45 +00:00
Matthew Flatt
c39cc00daa optimize away unneeded quoted syntax objects
svn: r5596
2007-02-14 06:00:43 +00:00
Matthew Flatt
4b765cfa5a 369.8
svn: r5594
2007-02-14 02:41:49 +00:00
Matthew Flatt
5d9ee938d6 fix backslash-s handling in a char-string regexp
svn: r5588
2007-02-12 00:19:10 +00:00
Matthew Flatt
2c2d1f904a stop first-round module-body expansion at lambda
svn: r5582
2007-02-09 12:38:04 +00:00
Matthew Flatt
2007843ba4 add new command-line arguments: -p, -P, -Q
svn: r5557
2007-02-06 05:14:34 +00:00
Matthew Flatt
a8d631cbab fix 3m cooperation of glue-code shortcuts, such as when drawing an empty rectangle
svn: r5555
2007-02-06 03:39:37 +00:00
Matthew Flatt
e3a513aa0d fix scheduler bug; see plt-scheme 2007-Feb-5 post and reply
svn: r5552
2007-02-05 14:26:41 +00:00
Matthew Flatt
ed07c57367 make some internal equal-based hash table accesses atomic, just in case
svn: r5524
2007-02-01 01:37:25 +00:00
Matthew Flatt
b6f6cf588b fix --prefix=... install on Mac OS X
svn: r5523
2007-02-01 00:47:52 +00:00
Matthew Flatt
f0cadda10a fix problem with deallocating JIT-generated code and then allocating new code in its place, where the relevant allocator is smart enough to unmap and the map a page that contains the object
svn: r5520
2007-01-31 11:35:09 +00:00
Matthew Flatt
c9e5484762 finish vm_memalign.c, though it's not a good idea after all and won't be used by default anywhere
svn: r5519
2007-01-31 11:32:39 +00:00
Matthew Flatt
c8cab191a0 extend OS-level allocation interface with malloc_dirty_pages
svn: r5517
2007-01-31 05:09:53 +00:00
Matthew Flatt
ebb8d0f39a add support for posix_memalign as the low-level allocator (because mmap doesn't work with glibc's malloc)
svn: r5516
2007-01-31 05:05:28 +00:00
Matthew Flatt
b7f5fd2d3d Mac OS X: fix GL alignment in 'metal frames
svn: r5513
2007-01-31 00:27:56 +00:00
Matthew Flatt
b9426b74ae fix system-idle-evt when main thread is suspended
svn: r5507
2007-01-30 08:06:31 +00:00
Matthew Flatt
bfc693c063 369.7
svn: r5506
2007-01-30 06:34:05 +00:00
Matthew Flatt
1668d9c036 add TAIL_COPY_THRESHOLD to depth computed for closure bodies to avoid runstack overflow
svn: r5505
2007-01-30 02:48:07 +00:00
Matthew Flatt
6596821faf fix runstack clearing for non-JIT mode
svn: r5504
2007-01-30 02:02:55 +00:00
Matthew Flatt
b0b3fc2e9f slightly faster 3m allocation for inexacts, rationals, complexes, and non-ASCII chars
svn: r5493
2007-01-29 05:54:22 +00:00
Matthew Flatt
81eb579aae minor streamling to speed up thread swaps
svn: r5492
2007-01-29 03:57:46 +00:00
Matthew Flatt
60b1287342 improve performance interaction of GC (especially 3m) and lots of threads
svn: r5490
2007-01-29 01:50:52 +00:00
Matthew Flatt
71fb3f1efc typecasts to make C++ compilers happy
svn: r5478
2007-01-27 22:54:07 +00:00
Matthew Flatt
f31128cf11 fix bad attempt to speed up rational comparisons, as well as th egap in the test suite
svn: r5472
2007-01-27 01:40:58 +00:00
Matthew Flatt
3946c25fd9 disabling was not as easy as it looked...
svn: r5471
2007-01-27 01:05:29 +00:00
Matthew Flatt
fd2f6fc8ea disable rational < fast path until I can get it right
svn: r5470
2007-01-27 01:02:31 +00:00
Matthew Flatt
0a9f16ec23 fix rational < bug
svn: r5469
2007-01-27 00:49:14 +00:00
Matthew Flatt
ebcf1e7817 fix timer% interval method for Mac OS X
svn: r5462
2007-01-26 01:03:46 +00:00
Matthew Flatt
f4c8a45e2a letrec-created closures need to be initially zeroed, unless it's the last closure for the letrec
svn: r5459
2007-01-25 14:05:24 +00:00
Matthew Flatt
2b10f81125 fix gmp header problem
svn: r5458
2007-01-25 09:53:54 +00:00
Matthew Flatt
4516fb561f eliminate a little more 3m overhead
svn: r5457
2007-01-25 09:35:01 +00:00
Matthew Flatt
13e5b1198a reduce 3m overhead for many arithmetic primitives
svn: r5455
2007-01-25 06:22:16 +00:00
Matthew Flatt
898e50625b missed non-array allocations using top-level new
svn: r5442
2007-01-23 22:24:19 +00:00
Matthew Flatt
ece86fe323 remove need for defining C++ top-level new with Unix builds
svn: r5441
2007-01-23 22:08:27 +00:00
Matthew Flatt
5fa4e9e5d1 369.6: change WXME format to start with #reader, and fix 3m bug related to integers overlapping with pointers in a thread record
svn: r5425
2007-01-22 03:47:32 +00:00
Matthew Flatt
8c2c44f0c2 end-sesion detect window must not be instrumented for 3m
svn: r5421
2007-01-21 03:09:11 +00:00
Matthew Flatt
39c99ef76e make-pipe accepts #f as first argument
svn: r5417
2007-01-19 20:45:59 +00:00
Matthew Flatt
39914737d0 slight further performance improvement for 3m bignums
svn: r5413
2007-01-19 07:06:05 +00:00
Matthew Flatt
7b22136f75 fix performance problem with bignums and 3m
svn: r5412
2007-01-19 06:54:43 +00:00
Matthew Flatt
0a4f02de79 remove redundant cdr in custom-port read callback checking
svn: r5382
2007-01-17 22:52:00 +00:00
Matthew Flatt
4c9bb95622 fix error message for system-type
svn: r5377
2007-01-17 07:55:07 +00:00
Matthew Flatt
b8bf48fee7 avoid improperly initialized require lists when there's an error resolving a path
svn: r5375
2007-01-17 06:37:49 +00:00
Matthew Flatt
fff4638494 fix certificate combination to append smaller onto larger (avoids outrageous memory use when compiling the compiler collection with the new unit system)
svn: r5374
2007-01-17 04:02:32 +00:00
Matthew Flatt
eaffd40262 avoid some type-punning warnings
svn: r5373
2007-01-17 04:01:14 +00:00
Matthew Flatt
c194c623c2 don't set GC_out_of_memory to MrEdOutOfMemory, because that tells 3m to fail in cases when it should not
svn: r5371
2007-01-17 00:56:48 +00:00
Matthew Flatt
289df59e7f properly #ifdef Windows-specific function
svn: r5370
2007-01-17 00:53:27 +00:00
Matthew Flatt
56a97e8b36 fix escape handler for Windows directory-list
svn: r5368
2007-01-16 23:03:17 +00:00
Matthew Flatt
c1cb5e34c0 fix wasn't right for interaction between continuation shortcut and stack overflow
svn: r5367
2007-01-16 21:57:43 +00:00
Matthew Flatt
87c0d5754e 369.5
svn: r5366
2007-01-16 20:55:13 +00:00
Matthew Flatt
0a36385258 alloc buffer for getcwd
svn: r5355
2007-01-15 07:05:31 +00:00
Matthew Flatt
51720e3cc9 fix WaitNextEvent call so that it doesn't request a negative sleep time (which is apparently ok for PPC but not x86)
svn: r5353
2007-01-14 05:08:09 +00:00
Matthew Flatt
e4bf3d4f47 make namespace-require/copy replace import and syntax bindings
svn: r5351
2007-01-13 21:28:36 +00:00
Matthew Flatt
775a3f2b2e simpler cygwin support install
svn: r5345
2007-01-13 00:17:00 +00:00
Matthew Flatt
40110e35cc use .dll for cygwin so suffix
svn: r5340
2007-01-12 23:29:33 +00:00
Matthew Flatt
872f557610 pieces to build windows extensions with cygwin
svn: r5339
2007-01-12 23:24:05 +00:00
Matthew Flatt
06a069763a support for building 3m extensions with cygwin
svn: r5334
2007-01-12 12:40:11 +00:00
Matthew Flatt
9171695fc5 fix typo
svn: r5333
2007-01-12 12:32:37 +00:00
Matthew Flatt
bc1f25bc30 remove debugging check
svn: r5328
2007-01-12 07:13:12 +00:00
Matthew Flatt
91add0453f 369.4
svn: r5327
2007-01-12 07:09:56 +00:00
Matthew Flatt
5646c26ba9 fix meta-continuation depth when cloning
svn: r5260
2007-01-08 07:18:02 +00:00
Matthew Flatt
20b834d84b fix bug in pruning saved runstacks and in sharing runstacks (when a barrier is present but too deep to prevent sharing)
svn: r5259
2007-01-08 05:57:47 +00:00
Matthew Flatt
7e77b893f8 avoid char as array subscript
svn: r5257
2007-01-08 05:18:16 +00:00
Matthew Flatt
5c94083e0b fix random output in marshalled bytecode
svn: r5256
2007-01-08 05:14:30 +00:00
Matthew Flatt
d48ad4fed3 fix type-punning warnings
svn: r5252
2007-01-08 00:15:53 +00:00
Matthew Flatt
01e3bf7140 fix protection of expression for definitions; fixes #hasheq constants and the nbsp Help Desk bug, in particular
svn: r5243
2007-01-07 13:13:21 +00:00
Matthew Flatt
f93bce0d24 fix bug in collecting marks to chain when an exception handler returns
svn: r5232
2007-01-05 22:03:23 +00:00
Matthew Flatt
cf4fd433c6 changes to fix top-window center method under Mac OS X
svn: r5226
2007-01-05 02:56:23 +00:00
Matthew Flatt
301e6e9ecb fix exn chaining to be insensitive to prompts
svn: r5220
2007-01-04 12:19:01 +00:00
Matthew Flatt
6b60d57a86 359.3
svn: r5219
2007-01-04 11:14:58 +00:00
Eli Barzilay
ddc068c52b 2006->2007
svn: r5201
2006-12-31 10:05:55 +00:00
Matthew Flatt
343e226df1 fix cert bug, JIT-inline unbox
svn: r5159
2006-12-22 01:18:17 +00:00
Matthew Flatt
2d3ceeed15 369.2, forgot some MrEd changes
svn: r5146
2006-12-20 02:33:21 +00:00
Matthew Flatt
2274cc9f65 359.2, core changes
svn: r5142
2006-12-20 00:47:32 +00:00
Matthew Flatt
fdfdf1bc92 fix bug in expand when adjusting the lexical-context info of a locally bound identifer
svn: r5056
2006-12-07 08:42:13 +00:00
Matthew Flatt
4bfa93feac fix two macro-expansion bugs: local-expand with internal syntax definitions, and simplifying rename records that involve internal-definition ribs
svn: r5053
2006-12-07 02:08:37 +00:00
Eli Barzilay
3459c3a58f merged units branch
svn: r5033
2006-12-05 20:31:14 +00:00
Matthew Flatt
c6d593419b destructor must zero out fields that are WXGC_IGNOREd
svn: r4975
2006-11-29 01:08:36 +00:00
Matthew Flatt
2d03990537 make xdnd compile for 3m
svn: r4964
2006-11-28 00:34:39 +00:00
Matthew Flatt
2666723bd0 OS X: Cmd-click on titlebar and resize area do not bring a window forward
svn: r4959
2006-11-27 11:33:54 +00:00
Matthew Flatt
7b185d5ae4 X11 drag-and-drop support (files only)
svn: r4957
2006-11-27 06:50:19 +00:00
Matthew Flatt
f3819acd42 fix Windows build problems
svn: r4953
2006-11-27 04:19:45 +00:00
Matthew Flatt
8d3796ee38 os x: mouse-down for menu bar should stay in flight until after on-demand is called (to avoid getting the menu event handler stuck)
svn: r4948
2006-11-26 23:23:03 +00:00
Matthew Flatt
7d549762b1 improved (hopefully) handling of mouse events for Mac, repair for PR 5326
svn: r4944
2006-11-26 00:47:32 +00:00
Matthew Flatt
20ce8f7e61 src loc for undefined provided names
svn: r4943
2006-11-26 00:45:16 +00:00
Matthew Flatt
1a4df0fa70 fix append_path hack to specify the right type; should fix this by using MzScheme exports, eventually
svn: r4924
2006-11-23 01:49:29 +00:00
Matthew Flatt
a21214a558 find one procedure name for v360.2
svn: r4923
2006-11-23 01:48:33 +00:00