Commit Graph

821 Commits

Author SHA1 Message Date
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
Matthew Flatt
08c1c5f608 v360.2, almost
svn: r4922
2006-11-23 01:47:39 +00:00
Matthew Flatt
e1489d0527 fix GetTextExtent for X11
svn: r4908
2006-11-21 07:09:05 +00:00
Matthew Flatt
d0a37a636c add a length argument to the internal GetTextExtent, so that the implementation of string snips can avoid a temporary mutation (which turns out to be dangerous, unsurprisingly, when reflowing text for a PostScript output)
svn: r4901
2006-11-21 01:37:37 +00:00
Matthew Flatt
c537bfb8ac 360.1
svn: r4897
2006-11-20 21:32:57 +00:00
Matthew Flatt
a0437ed206 fix call_ec so that it works when used outside of Scheme evaluation, such as when raise_break is called to handle a ctl-c in MrEd
svn: r4885
2006-11-18 23:34:52 +00:00
Matthew Flatt
b03b114135 comment out unneeded delete that triggers free() instead of GC_free()
svn: r4884
2006-11-18 23:25:38 +00:00
Matthew Flatt
3afab69603 360, one more try
svn: r4877
2006-11-16 23:10:31 +00:00
Matthew Flatt
1492ca3a48 360, rest
svn: r4876
2006-11-16 23:09:49 +00:00
Matthew Flatt
c0268de2f3 improve merging of snips when a style change is applied to a range (as by the syntax colorer)
svn: r4871
2006-11-16 06:37:55 +00:00
Matthew Flatt
e8c45a6e38 fix bug in environment reset for multiple expansions of #%plain-module-begin
svn: r4867
2006-11-16 01:25:46 +00:00
Matthew Flatt
602dbb7407 fix suspension of mouse events after wheel events under X
svn: r4866
2006-11-15 22:42:31 +00:00
Matthew Flatt
4c48514574 raise exn on out-of-module expand of #%plain-module-begin
svn: r4865
2006-11-15 21:28:16 +00:00
Matthew Flatt
4e1276dd58 merged changes for macro stepper
svn: r4860
2006-11-15 08:01:48 +00:00
Matthew Flatt
96897e5f92 fix certification problem with improved compilation of syntax
svn: r4859
2006-11-15 05:49:43 +00:00
Matthew Flatt
c6efe4bbfa 359.200
svn: r4842
2006-11-13 21:52:39 +00:00
Matthew Flatt
c5f4d87e2c change for-each back to always producing void
svn: r4832
2006-11-13 04:20:23 +00:00
Eli Barzilay
4173457f50 v360
svn: r4791
2006-11-06 08:11:36 +00:00
Matthew Flatt
eea7a2376c turn off zero-suspend-break assertion
svn: r4770
2006-11-03 21:53:11 +00:00
Matthew Flatt
c3c82e304d allow EOF result from port read handler; patch from Lauri Alanko, PR 8369
svn: r4752
2006-11-02 21:35:34 +00:00
Matthew Flatt
a996df1d2b added get-argb-pixels to bitmap class
svn: r4731
2006-11-01 06:54:04 +00:00
Matthew Flatt
79517ed95c 359.100
svn: r4724
2006-10-31 23:59:53 +00:00
Matthew Flatt
5d2f80ab85 fix problem with mouse-moved events suspended by modifier-key events
svn: r4722
2006-10-31 22:40:13 +00:00
Matthew Flatt
81ba60fb27 delim cont repair to avoid chains of meta-cont references
svn: r4713
2006-10-30 12:19:46 +00:00
Matthew Flatt
20761b8589 fix prompt-abort misinterpreted as prompt-trampoline-to-continuation
svn: r4711
2006-10-30 08:55:14 +00:00
Matthew Flatt
97a56ca84c prevent matching score from going negative
svn: r4707
2006-10-30 02:11:04 +00:00
Matthew Flatt
c2855afbe2 352.9
svn: r4706
2006-10-30 01:24:08 +00:00
Matthew Flatt
900a53da25 fix 'disappeared-binding info for letrecs generated by internal definitions
svn: r4693
2006-10-28 23:55:19 +00:00
Matthew Flatt
c9ca7f148a fix off-by-one allocation bug
svn: r4688
2006-10-26 07:57:13 +00:00
Matthew Flatt
4168ac3164 fix 3m GC for large tagged atomic objects (such as symbols)
svn: r4683
2006-10-26 03:21:35 +00:00
Matthew Flatt
cc51634826 make path-element->bytes strip trailing separators, if any
svn: r4664
2006-10-20 23:17:27 +00:00
Matthew Flatt
1a994b9341 352.8
svn: r4659
2006-10-20 13:56:06 +00:00
Matthew Flatt
2ccf88b6db new event filtering mustn't apply to primitive dialogs
svn: r4625
2006-10-18 05:42:58 +00:00
Matthew Flatt
a9ab05d0f5 fix Mac input to work with the character palette and CJK input
svn: r4624
2006-10-18 03:29:46 +00:00
Matthew Flatt
8798784bd5 formatting
svn: r4623
2006-10-18 03:28:18 +00:00
Matthew Flatt
5145ea908c fix drawing of multi-character strings with font substitution and rotation
svn: r4616
2006-10-17 03:03:22 +00:00
Eli Barzilay
b16c7a28c1 xform doesnt like function calls in (?:)
svn: r4610
2006-10-15 17:09:09 +00:00
Matthew Flatt
332195b88c fix complex divide: avoiding overflow/underflow ended up with the sign wrong in one case
svn: r4606
2006-10-14 22:40:24 +00:00
Matthew Flatt
85f34a12aa remove --restore flag support
svn: r4600
2006-10-14 12:41:13 +00:00
Matthew Flatt
b3e86a9650 openbsd x86_64 patches
svn: r4597
2006-10-14 00:58:14 +00:00
Matthew Flatt
e315bb65dc 352.7
svn: r4592
2006-10-13 22:03:29 +00:00
Matthew Flatt
029659c1d5 fix regexp bug in checking too far for regmust
svn: r4460
2006-10-01 21:46:48 +00:00
Matthew Flatt
0924d357a7 replace weird every-50th-iteration overflow checking in check_cycle with a normal overflow check
svn: r4429
2006-09-24 21:00:03 +00:00
Chongkai Zhu
2bbad4ad12 fix immuatable? on hash-table
svn: r4419
2006-09-22 23:34:59 +00:00
Matthew Flatt
6e2f93b147 one more paren-shape correction and test
svn: r4409
2006-09-22 00:47:17 +00:00
Matthew Flatt
7f62277189 copy over missed paren-shape change from branch
svn: r4408
2006-09-21 22:30:58 +00:00
Matthew Flatt
b0f28a2611 remove mysterious parsing of backslash-dollar in #px mode
svn: r4397
2006-09-20 13:39:55 +00:00
Matthew Flatt
0828cd338c fix parsing of backslash-dollar in #rx mode, as opposed to #px
svn: r4396
2006-09-20 13:31:19 +00:00
Matthew Flatt
f7f05b8176 fix uchr and KCHR lookup to use modern Carbon functions
svn: r4393
2006-09-20 02:41:25 +00:00
Matthew Flatt
2ddb89e85b rx bug fix related to ranges that include 255
svn: r4381
2006-09-19 05:32:17 +00:00
Matthew Flatt
d3b96f936e 352.6
svn: r4379
2006-09-19 00:39:51 +00:00
Matthew Flatt
1ec7b50d1f fix ephemeron bug in non-3m
svn: r4239
2006-09-05 06:58:19 +00:00
Matthew Flatt
8a20b536a5 maybe fix JIT buffer overflow
svn: r4211
2006-09-01 05:47:38 +00:00