1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-25 08:12:11 -07:00
Commit graph

930 commits

Author SHA1 Message Date
Richard Brooksby
b4e1f173db Changing required keyword arguments to cause an assertion rather than return a status code, and removing repetition in how this is expressed.
Copied from Perforce
 Change: 181674
 ServerID: perforce.ravenbrook.com
2013-05-09 15:15:40 +01:00
Richard Brooksby
1c14b64665 Adding arg to windows makefiles. adding trivial params implementation to vman.c.
Copied from Perforce
 Change: 181672
 ServerID: perforce.ravenbrook.com
2013-05-09 15:00:30 +01:00
Richard Brooksby
09dba7b95a Converting a fixme to a todo because it's a longer term change.
Copied from Perforce
 Change: 181670
 ServerID: perforce.ravenbrook.com
2013-05-09 14:58:32 +01:00
Richard Brooksby
85a0aee8a9 Moving mps_key_vmw3_top_down definition to arena.c so that it's present on all platforms.
Copied from Perforce
 Change: 181669
 ServerID: perforce.ravenbrook.com
2013-05-09 14:57:38 +01:00
Richard Brooksby
b18ec007a9 Adding macros to make keyword argument list formation more convenient and robust.
Copied from Perforce
 Change: 181666
 ServerID: perforce.ravenbrook.com
2013-05-09 14:04:23 +01:00
Richard Brooksby
a10bb30c79 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
a6b6ff4704 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
348d3631c3 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
44ae8e2ddd 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
82cf26a55d Consolidating common pool keywords.
Copied from Perforce
 Change: 181649
 ServerID: perforce.ravenbrook.com
2013-05-09 00:06:07 +01:00
Richard Brooksby
0206eb695b 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
3ab047467f 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
97574b5298 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
5751150183 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
e67939cabb 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
0943d80157 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
fcef8c8a63 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
c623f7ac5f 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
a8afd8e6f4 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
d28d6cbba8 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
5a68cc292e 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
82861dbc64 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
3c35eda773 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
6537a39f10 Avoid type puns.
Copied from Perforce
 Change: 181561
 ServerID: perforce.ravenbrook.com
2013-05-06 18:39:26 +01:00
Richard Brooksby
714bf2aff2 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
402136905d 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
098bf44a5e 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
e4f6a8a7fb Correct a couple of comments.
Copied from Perforce
 Change: 181469
 ServerID: perforce.ravenbrook.com
2013-04-26 20:50:21 +01:00
Gareth Rees
a55feaa7b6 Fix typo ("not" for "now").
Copied from Perforce
 Change: 181451
 ServerID: perforce.ravenbrook.com
2013-04-25 20:10:10 +01:00
Nick Barnes
f9beff6889 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
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
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
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
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
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
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
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