Gareth Rees
8a2b4e3fcb
Integrate removal of $id$ from scheme-malloc.c to scheme-boehm.c and scheme.c
...
Copied from Perforce
Change: 181166
ServerID: perforce.ravenbrook.com
2013-03-18 15:12:13 +00:00
Gareth Rees
2ca54e2eca
Remove $id$: this causes sphinx to wrongly think that the download has changed.
...
Copied from Perforce
Change: 181165
ServerID: perforce.ravenbrook.com
2013-03-18 15:08:15 +00:00
Gareth Rees
85e9e019e3
New sections "downloads" and "issues" in the sidebar contain useful links to the live project site.
...
The build documentation now explains how to download the MPS Kit.
Copied from Perforce
Change: 181164
ServerID: perforce.ravenbrook.com
2013-03-18 15:05:24 +00:00
Gareth Rees
b581b2f8da
Add bt to design index.
...
Copied from Perforce
Change: 181156
ServerID: perforce.ravenbrook.com
2013-03-15 12:12:42 +00:00
Gareth Rees
0b5fab1075
Bring examples up to date.
...
Copied from Perforce
Change: 181140
ServerID: perforce.ravenbrook.com
2013-03-13 14:58:41 +00:00
Gareth Rees
6166835e89
Fix typo.
...
Copied from Perforce
Change: 181139
ServerID: perforce.ravenbrook.com
2013-03-13 14:58:16 +00:00
Gareth Rees
ddda989759
Finish converting design.mps.bt.
...
Copied from Perforce
Change: 181130
ServerID: perforce.ravenbrook.com
2013-03-12 21:53:28 +00:00
Gareth Rees
ff6ab8c575
Design.mps.bt, about 40% converted.
...
Copied from Perforce
Change: 181129
ServerID: perforce.ravenbrook.com
2013-03-12 18:15:50 +00:00
Gareth Rees
608ff83341
Use role :mps:tag: instead of directive mps 🏷️ :
...
Rename role :mps:label: as :mps:ref:
Copied from Perforce
Change: 181128
ServerID: perforce.ravenbrook.com
2013-03-12 17:26:04 +00:00
Gareth Rees
f85720fcbd
Comment out all calls to mps_arena_commit_limit_set in test case amcsshe. (this test case formerly set the commit limit "in the hope of getting one dynamic collection", but this was unreliable: see job003440 for details.)
...
Copied from Perforce
Change: 181122
ServerID: perforce.ravenbrook.com
2013-03-12 15:15:57 +00:00
Gareth Rees
125193d708
Restore arena serial numbers.
...
Copied from Perforce
Change: 181121
ServerID: perforce.ravenbrook.com
2013-03-12 15:11:22 +00:00
Gareth Rees
8d6d8e7023
Remove "mps_alert_collection_set" from public interface and remove its implementation and test case. client programs should use the messages interface to find out what the mps is doing.
...
Copied from Perforce
Change: 181119
ServerID: perforce.ravenbrook.com
2013-03-12 14:33:27 +00:00
Richard Brooksby
784d47ff7f
Removing bogus test file that got into the sources somehow.
...
Copied from Perforce
Change: 181116
ServerID: perforce.ravenbrook.com
2013-03-12 11:01:14 +00:00
Gareth Rees
6b46497dcc
Formatting design documents as restructuredtext.
...
Copied from Perforce
Change: 181113
ServerID: perforce.ravenbrook.com
2013-03-11 10:28:49 +00:00
Gareth Rees
0f418f12e0
Fix typo.
...
Copied from Perforce
Change: 181102
ServerID: perforce.ravenbrook.com
2013-03-08 18:09:24 +00:00
Gareth Rees
61f99ec46a
Add -*- makefile -*- to .gmk files so that syntax highlighting in emacs works out of the box.
...
Copied from Perforce
Change: 181101
ServerID: perforce.ravenbrook.com
2013-03-08 17:26:12 +00:00
Gareth Rees
8c02171cac
Improvements in wording.
...
Copied from Perforce
Change: 181099
ServerID: perforce.ravenbrook.com
2013-03-08 17:00:34 +00:00
Gareth Rees
f2f29d8c10
Make mps_arena_step suitable for purpose: arenastep now calls tracestartcollectall directly (not via arenastartcollect) so that it no longer unclamps the arena as a side effect.
...
Add test case: steptest now runs with the arena clamped, and checks that mps_arena_step does not unclamp it.
Copied from Perforce
Change: 181098
ServerID: perforce.ravenbrook.com
2013-03-08 15:13:16 +00:00
Gareth Rees
5500febc0d
Follow policy of not defining symbols from mpstd.h in the external interface, by removing the definition of mps_t_word from mps.h.
...
Copied from Perforce
Change: 181096
ServerID: perforce.ravenbrook.com
2013-03-08 14:03:10 +00:00
Gareth Rees
be50952a4f
Move global 'pool' to local so that we can rename argument 'pol' to 'pool'.
...
Copied from Perforce
Change: 181095
ServerID: perforce.ravenbrook.com
2013-03-08 12:41:41 +00:00
Gareth Rees
0609a2f2a2
Don't accidentally leave the arena in the clamped state after calling mps_arena_collect:
...
* In mpiscv, release the arena immediately after collecting.
* In zmess, clamp the arena immediately after creating it.
Copied from Perforce
Change: 181094
ServerID: perforce.ravenbrook.com
2013-03-08 12:23:44 +00:00
Gareth Rees
c602081e0a
Private symbols _mps_sac_s and _mps_sac_freelist_block_s now start with underscores, as per external interface policy.
...
Copied from Perforce
Change: 181092
ServerID: perforce.ravenbrook.com
2013-03-08 12:10:44 +00:00
Gareth Rees
4493901c2b
Mps_sac_class_s is a type, not a function.
...
Copied from Perforce
Change: 181091
ServerID: perforce.ravenbrook.com
2013-03-08 12:09:52 +00:00
Gareth Rees
1745c7ff40
Ensure that the last entry in the table is preserved, so that we don't get a false positive due to the local variable 'string' keeping this entry alive.
...
Copied from Perforce
Change: 181088
ServerID: perforce.ravenbrook.com
2013-03-08 11:36:38 +00:00
Gareth Rees
dbbbd3778d
Don't create an automatic cross-reference if the source already exists (in particular, don't send "mapped" to "mapping" since we already have an entry for "mapped").
...
Copied from Perforce
Change: 181086
ServerID: perforce.ravenbrook.com
2013-03-08 11:00:30 +00:00
Gareth Rees
a8745f6701
Test suite runs on os x:
...
* New Xcode target "testrun" runs all the (runnable) test cases.
* Makefile provides separate targets test-make-build and test-xcode-build for running test suite on different platforms.
* configure selects the appropriate test target.
Copied from Perforce
Change: 181085
ServerID: perforce.ravenbrook.com
2013-03-08 10:17:08 +00:00
Gareth Rees
a14904e686
Comment out all calls to mps_arena_commit_limit_set in test case amcsshe. (this test case formerly set the commit limit "in the hope of getting one dynamic collection", but this was unreliable: see job003432 for details.)
...
Copied from Perforce
Change: 181081
ServerID: perforce.ravenbrook.com
2013-03-07 17:08:07 +00:00
Gareth Rees
f4a381d241
Fix to the mpsicv test case: get the arena's committed memory after creating the pool, so that the creation of the pool can't cause the committed memory to be bumped upwards.
...
Copied from Perforce
Change: 181080
ServerID: perforce.ravenbrook.com
2013-03-07 16:45:48 +00:00
Gareth Rees
56e6249e4c
Fix mutatorfaultcontextsp on lii3* and lii6*.
...
Copied from Perforce
Change: 181078
ServerID: perforce.ravenbrook.com
2013-03-07 15:31:40 +00:00
Gareth Rees
4cee27b97f
Minor documentation improvements:
...
* Use "OS X" consistently (not "Mac OS X").
* Explain how to avoid GDB from stopping on barrier hits on Linux.
* Bring HTML up to date.
Copied from Perforce
Change: 181077
ServerID: perforce.ravenbrook.com
2013-03-07 15:22:41 +00:00
Gareth Rees
69243b3730
The amcssth test case now registers its threads' stacks as roots with the mps.
...
Copied from Perforce
Change: 181076
ServerID: perforce.ravenbrook.com
2013-03-07 14:53:31 +00:00
Gareth Rees
b5d086e643
Fix typo ("arg" for "argc"); add destructor calls to example.
...
Copied from Perforce
Change: 181075
ServerID: perforce.ravenbrook.com
2013-03-07 14:47:41 +00:00
Gareth Rees
d5f4cb3be4
Build amcssth test case on os x (xci6ll).
...
Copied from Perforce
Change: 181074
ServerID: perforce.ravenbrook.com
2013-03-07 14:33:32 +00:00
Gareth Rees
13f6e2b7b9
Add testlib_unused(argc) where necessary, so that test cases build on xci6ll.
...
Copied from Perforce
Change: 181073
ServerID: perforce.ravenbrook.com
2013-03-07 14:32:40 +00:00
Gareth Rees
524eaeb4b4
Make amcssth test case runnable on platforms that use gnumake.
...
Copied from Perforce
Change: 181072
ServerID: perforce.ravenbrook.com
2013-03-07 14:03:00 +00:00
Gareth Rees
296ac3bccf
Improve the usability of the test suite:
...
1. "make test" now reports the name of the test case before running it, so that when you look back through the test output you can see which test case failed.
2. "make test" now collects the standard output from all the tests to a log file in /tmp, so that this does not clutter the user's terminal, and so that nothing is lost if the output exceeds the terminal's scrollback.
3. Each test case now prints a success message ("Conclusion: Failed to find any defects.") to standard output (not standard error) so that these messages do not clutter up the terminal when running "make test".
4. Each test case now uses its result code (not the printed message) to indicate whether it succeeded or failed.
5. More of the diagnostic messages from the test cases now start by printing argv[0] so that it is easier to tell which test case was running.
Copied from Perforce
Change: 181071
ServerID: perforce.ravenbrook.com
2013-03-07 13:13:32 +00:00
Gareth Rees
61290172be
Test cases now run by "make test" (on platforms with makefiles).
...
Copied from Perforce
Change: 181070
ServerID: perforce.ravenbrook.com
2013-03-07 10:28:30 +00:00
Gareth Rees
4e487ddd78
Fix mistake in example code.
...
Copied from Perforce
Change: 181059
ServerID: perforce.ravenbrook.com
2013-03-05 17:45:31 +00:00
Gareth Rees
7144669a84
Remove mps_tramp from backtraces.
...
Copied from Perforce
Change: 180964
ServerID: perforce.ravenbrook.com
2013-02-20 16:57:12 +00:00
Richard Brooksby
383b590b40
Minor tweaks to allow amcssth test to build under lii3gc at least.
...
Copied from Perforce
Change: 180963
ServerID: perforce.ravenbrook.com
2013-02-20 13:35:23 +00:00
Richard Brooksby
5b557ecfb6
Deprecating the mps trampoline by using vectored exception handling on windows.
...
Copied from Perforce
Change: 180961
ServerID: perforce.ravenbrook.com
2013-02-20 12:11:40 +00:00
Richard Brooksby
056b38813d
Fixing typos in comments.
...
Copied from Perforce
Change: 180959
ServerID: perforce.ravenbrook.com
2013-02-19 16:52:44 +00:00
Richard Brooksby
6a3be826d3
Merging spelling corrections contributed by bruce mitchener and rebuilding manual.
...
See <7d0a9d6204 >.
Copied from Perforce
Change: 180957
ServerID: perforce.ravenbrook.com
2013-02-18 15:52:46 +00:00
Richard Brooksby
4f60f9698c
Merging spelling corrections contributed by bruce mitchener.
...
See <1c80ccb634 >.
Copied from Perforce
Change: 180956
ServerID: perforce.ravenbrook.com
2013-02-18 15:46:39 +00:00
Richard Brooksby
85af2e8217
Integrating branch/2012-10-09/user-guide back to master.
...
Copied from Perforce
Change: 180943
ServerID: perforce.ravenbrook.com
2013-02-08 16:17:34 +00:00
Gareth Rees
d695d3cc2c
Undo changes 180370 and 180390 (which supported interior pointers by checking all nails in an object), as these changes are not suitable for release. work around job003359 for the example scheme interpreter by setting the compilation option -fno-inline-functions.
...
Copied from Perforce
Change: 180941
ServerID: perforce.ravenbrook.com
2013-02-08 15:36:50 +00:00
Gareth Rees
3ef0bc885a
Documentation for mpseventtxt.
...
Copied from Perforce
Change: 180939
ServerID: perforce.ravenbrook.com
2013-02-08 15:25:53 +00:00
Gareth Rees
c952b0e319
Merge 64-bit xcode support from measurement branch.
...
Copied from Perforce
Change: 180937
ServerID: perforce.ravenbrook.com
2013-02-08 14:52:53 +00:00
Gareth Rees
b16ea3b315
Print event code in uppercase hexadecimal for consistency.
...
Copied from Perforce
Change: 180936
ServerID: perforce.ravenbrook.com
2013-02-08 14:52:05 +00:00
Richard Brooksby
963bef16f7
Integrate documentation fix from scheme.c.
...
Copied from Perforce
Change: 180915
ServerID: perforce.ravenbrook.com
2013-02-05 16:22:41 +00:00