1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00
Commit graph

972 commits

Author SHA1 Message Date
Richard Brooksby
dfd7156740 Tidying up arg.c and arg.h.
Copied from Perforce
 Change: 181665
 ServerID: perforce.ravenbrook.com
2013-05-09 13:01:16 +01:00
Richard Brooksby
60ae2d01be Moving definition of keystruct to arg.h, since this mechanism is largely separable from the rest of the mps.
Copied from Perforce
 Change: 181664
 ServerID: perforce.ravenbrook.com
2013-05-09 12:46:59 +01:00
Richard Brooksby
3815e622a8 Draft design document for keyword arguments.
Correcting hex "spelling" of KeySig.

Copied from Perforce
 Change: 181661
 ServerID: perforce.ravenbrook.com
2013-05-09 11:40:22 +01:00
Richard Brooksby
eea2d7aec4 Catch-up merge from master sources.
Copied from Perforce
 Change: 181651
 ServerID: perforce.ravenbrook.com
2013-05-09 01:15:40 +01:00
Richard Brooksby
3189ccfc9b Consolidating common pool keywords.
Copied from Perforce
 Change: 181649
 ServerID: perforce.ravenbrook.com
2013-05-09 00:06:07 +01:00
Richard Brooksby
b323278e18 Implementing configurable maximum argument list length.
Copied from Perforce
 Change: 181648
 ServerID: perforce.ravenbrook.com
2013-05-08 23:47:38 +01:00
Richard Brooksby
03c7de38b6 Macroizing keyword definitions and adding more keyword argument checking methods.
Copied from Perforce
 Change: 181647
 ServerID: perforce.ravenbrook.com
2013-05-08 23:40:40 +01:00
Richard Brooksby
13095f52bf Moving keyword argument declarations to their own header, since they're largely separable from the mps.
Copied from Perforce
 Change: 181646
 ServerID: perforce.ravenbrook.com
2013-05-08 23:09:35 +01:00
Richard Brooksby
d512863efb Moving arena varags parsing into arena class method, similar to pools. much simpler. all tests pass.
Copied from Perforce
 Change: 181643
 ServerID: perforce.ravenbrook.com
2013-05-08 23:00:00 +01:00
Richard Brooksby
71b7e4f70a Pushing varargs decoding into a pool class method. much simpler.
Copied from Perforce
 Change: 181642
 ServerID: perforce.ravenbrook.com
2013-05-08 22:43:51 +01:00
Richard Brooksby
d396431c25 Adding decoding of vararg debug options to debug pool classes.
Copied from Perforce
 Change: 181639
 ServerID: perforce.ravenbrook.com
2013-05-08 17:43:01 +01:00
Richard Brooksby
8504a81cf3 Eliminating mps_key_varargs and instead decoding deprecated varargs in one place in mpsi.c, so that each pool or other class doesn't have to deal with them.
Copied from Perforce
 Change: 181638
 ServerID: perforce.ravenbrook.com
2013-05-08 17:24:11 +01:00
Richard Brooksby
c781e594a8 Adding keyword argument checking for format and chain.
Copied from Perforce
 Change: 181637
 ServerID: perforce.ravenbrook.com
2013-05-08 16:29:12 +01:00
Richard Brooksby
07f446a450 Converting pools to use keyword arguments, mostly, and so far inconsistently, but at least it compiles.
Copied from Perforce
 Change: 181635
 ServerID: perforce.ravenbrook.com
2013-05-08 16:21:12 +01:00
Richard Brooksby
6aeb72af5e Adding unused declaration for unused variable.
Copied from Perforce
 Change: 181623
 ServerID: perforce.ravenbrook.com
2013-05-08 14:11:27 +01:00
Richard Brooksby
c72234fbb9 Updating mps_release to release/1.111.0
Copied from Perforce
 Change: 181619
 ServerID: perforce.ravenbrook.com
2013-05-08 13:57:31 +01:00
Richard Brooksby
7b009080c9 Adding type mps_awl_find_dependent_t that is documented but didn't actually exist.
Copied from Perforce
 Change: 181596
 ServerID: perforce.ravenbrook.com
2013-05-08 00:19:39 +01:00
Gareth Rees
297f287200 Put xxxxxx at the end of the pattern argument to mktemp, so that it works on freebsd and os x.
Copied from Perforce
 Change: 181562
 ServerID: perforce.ravenbrook.com
2013-05-06 19:01:25 +01:00
Gareth Rees
726608ce56 Avoid type puns.
Copied from Perforce
 Change: 181561
 ServerID: perforce.ravenbrook.com
2013-05-06 18:39:26 +01:00
Richard Brooksby
c0a8608bf7 Basically working keyword arguments, though vmparam is unsatisfactory.
Copied from Perforce
 Change: 181545
 ServerID: perforce.ravenbrook.com
2013-05-03 17:20:35 +01:00
Richard Brooksby
ac2e186e65 Removing half-finished code line. oops.
Copied from Perforce
 Change: 181540
 ServerID: perforce.ravenbrook.com
2013-05-02 17:59:58 +01:00
Richard Brooksby
1bc62b27ef First draft of keyword arguments. mainly checking in in order to try working with git fusion on this branch.
Copied from Perforce
 Change: 181538
 ServerID: perforce.ravenbrook.com
2013-05-02 17:55:07 +01:00
Gareth Rees
d503983733 Correct a couple of comments.
Copied from Perforce
 Change: 181469
 ServerID: perforce.ravenbrook.com
2013-04-26 20:50:21 +01:00
Gareth Rees
4dcd039b18 Fix typo ("not" for "now").
Copied from Perforce
 Change: 181451
 ServerID: perforce.ravenbrook.com
2013-04-25 20:10:10 +01:00
Nick Barnes
1c9b2296e1 Fix job003454: when an amc pool is in the finish ramp mode, it should stay there until it can transition to collecting. also update the ramp part of design/poolamc.
Copied from Perforce
 Change: 181325
 ServerID: perforce.ravenbrook.com
2013-04-04 16:22:39 +01:00
Gareth Rees
2a65ff579e 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
a5e6a66511 Restore arena serial numbers.
Copied from Perforce
 Change: 181121
 ServerID: perforce.ravenbrook.com
2013-03-12 15:11:22 +00:00
Gareth Rees
db733f3932 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
f3f1a4a202 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
25ab662238 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
81eca1b2c1 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
2dd7d8f599 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
debb156e8d 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
ed161ae658 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
8232da8480 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
543b50104e 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
163e9ad484 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
139a4daa9d 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
508ed55b10 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
615418b5c8 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
b92064a89c 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
06afcd5752 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
9ecff094ec 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
13e6529c52 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
8dc0d72a8d 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
Richard Brooksby
a622cdfc07 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
88ad39840e 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
c4d6a2de1f 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
2706097eab 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
b31cda511d 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