Gareth Rees
e82e3c4a21
Improve documentation of thread- and exception-safety precautions.
...
Copied from Perforce
Change: 183635
ServerID: perforce.ravenbrook.com
2013-11-04 15:14:47 +00:00
Gareth Rees
b45fc17861
Put testsetsize back to its original value of 200, so that randomsizealigned does not invoke undefined behaviour by right-shifting by more than the word width.
...
Copied from Perforce
Change: 183617
ServerID: perforce.ravenbrook.com
2013-10-31 09:39:09 +00:00
Gareth Rees
535f7e6bdc
Add comments and assertions to make it clearer how btfindresrange and btfindresrangehigh work. in particular, explain why the possible unsigned integer underflow in btfindresrangehigh is safe.
...
Copied from Perforce
Change: 183613
ServerID: perforce.ravenbrook.com
2013-10-30 15:53:19 +00:00
Gareth Rees
d943faa62b
Don't call mvtsegfree from mvtfinish: we don't know whether or not there was any fragmented (unavailable) space in this segment, and so we can't keep the accounting correct. add assertion in mvtsegfree that detects incorrect accounting.
...
Copied from Perforce
Change: 183610
ServerID: perforce.ravenbrook.com
2013-10-30 13:15:09 +00:00
Gareth Rees
f9257638d8
Make it clear that the forwarding object must be the same size as the object it replaces.
...
Copied from Perforce
Change: 183602
ServerID: perforce.ravenbrook.com
2013-10-29 12:45:20 +00:00
Gareth Rees
b4cc346f3a
Avoid reference to obsolete "format of variant a" from mps_fmt_skip_t.
...
Add missing full stop to "in-band header" glossary entry.
Copied from Perforce
Change: 183600
ServerID: perforce.ravenbrook.com
2013-10-29 11:45:19 +00:00
Gareth Rees
c59ff51131
The next release of the mps will be 1.112.0, so update version.c.
...
Update the version creating procedure: version.c is now the only file containing the release number.
Copied from Perforce
Change: 183548
ServerID: perforce.ravenbrook.com
2013-10-10 14:29:31 +01:00
Gareth Rees
5b19a26400
Improve wording of comment.
...
Copied from Perforce
Change: 183526
ServerID: perforce.ravenbrook.com
2013-10-04 11:50:19 +01:00
Gareth Rees
1289bde3ed
Fix broken mps_key_pool_debug_options keyword argument.
...
Copied from Perforce
Change: 183524
ServerID: perforce.ravenbrook.com
2013-10-04 11:05:56 +01:00
Gareth Rees
ac61bf3438
Fix broken formatting.
...
Copied from Perforce
Change: 183517
ServerID: perforce.ravenbrook.com
2013-10-02 16:05:24 +01:00
Gareth Rees
6971ab5691
Document that you can specify mps_key_rank when creating an allocation point on an ams pool. make mps_key_rank default to mps_rank_exact().
...
Copied from Perforce
Change: 183515
ServerID: perforce.ravenbrook.com
2013-10-02 15:44:34 +01:00
Gareth Rees
b5004beb4b
Make keyword mps_key_ams_support_ambiguous optional, with default value false. update documentation accordingly.
...
Copied from Perforce
Change: 183513
ServerID: perforce.ravenbrook.com
2013-10-02 15:14:57 +01:00
Gareth Rees
ecd974df8f
Bring guide up to date by using mps_fmt_create_k instead of mps_fmt_create in the exaple code.
...
Copied from Perforce
Change: 183509
ServerID: perforce.ravenbrook.com
2013-10-01 15:11:39 +01:00
Gareth Rees
9cab5684af
Add "new supported platform lii6ll" to release notes.
...
Copied from Perforce
Change: 183507
ServerID: perforce.ravenbrook.com
2013-10-01 14:41:09 +01:00
Gareth Rees
7b16ae5a45
Use macro nonnegative so that we can keep asserting that values are >= 0 without provoking "unsigned comparison >= 0 is always true" warnings from gcc.
...
Copied from Perforce
Change: 183505
ServerID: perforce.ravenbrook.com
2013-10-01 14:27:52 +01:00
Gareth Rees
a02e4a5939
Configure travis to build using both gcc and clang.
...
Copied from Perforce
Change: 183504
ServerID: perforce.ravenbrook.com
2013-10-01 14:11:05 +01:00
Gareth Rees
bb857594bd
Merge branch/2013-08-21/lii6ll/... into the master sources, adding new supported platform lii6ll (linux, x86-64, clang/llvm).
...
Copied from Perforce
Change: 183503
ServerID: perforce.ravenbrook.com
2013-10-01 14:04:36 +01:00
Gareth Rees
68f5280528
Avoid comparison of unsigned >= 0 so that we can compile without warnings under gcc -wextra.
...
Copied from Perforce
Change: 183501
ServerID: perforce.ravenbrook.com
2013-10-01 11:10:59 +01:00
Gareth Rees
73989d332e
Raise an error if variety is something other than rash, hot, or cool.
...
Copied from Perforce
Change: 183499
ServerID: perforce.ravenbrook.com
2013-10-01 10:53:09 +01:00
Gareth Rees
4950182f38
Avoid warnings when compiling with -wwrite-strings:
...
* Use const char * in places where we want to assign string constants.
Avoid warnings when compiling with -Wextra:
* Avoid if statement with empty body in amcsshe.c
* Avoid comparison of unsigned >= 0.
Copied from Perforce
Change: 183498
ServerID: perforce.ravenbrook.com
2013-10-01 10:52:45 +01:00
Gareth Rees
1e97a6a193
Turn on -wextra -wwrite-strings when compiling with gcc or clang.
...
Add missing initializer to mps_args_none.
Change "char *" to "const char *" where necessary.
Copied from Perforce
Change: 183494
ServerID: perforce.ravenbrook.com
2013-09-30 17:18:52 +01:00
Gareth Rees
70798a8034
Change file type to ktext.
...
Copied from Perforce
Change: 183458
ServerID: perforce.ravenbrook.com
2013-09-17 12:06:16 +01:00
Gareth Rees
5649ff4bfa
No need to specify width:100% on dt elements any more, as these are no longer underlined. (also, the use of this in combination with padding-left causes overspill on the right.)
...
Copied from Perforce
Change: 183457
ServerID: perforce.ravenbrook.com
2013-09-17 12:00:58 +01:00
Gareth Rees
2185343a10
Fix typos.
...
Copied from Perforce
Change: 183455
ServerID: perforce.ravenbrook.com
2013-09-17 12:00:00 +01:00
Gareth Rees
aa4deca229
Avoid loose big-o usage.
...
Copied from Perforce
Change: 183454
ServerID: perforce.ravenbrook.com
2013-09-17 11:58:32 +01:00
Gareth Rees
55ef6fce3c
New supported platform lii6ll (linux, x86-64, clang/llvm).
...
Copied from Perforce
Change: 183414
ServerID: perforce.ravenbrook.com
2013-09-11 10:27:22 +01:00
Gareth Rees
98306c0095
Make the mps compilable under clang/llvm 3.0 with the -ansi -pedantic options:
...
Avoid if with empty body by adding NOOP.
Avoid extended offsetof in expansion of PageOfTract, linkOfMessage, linkOfRing, and Pool2AMST macros.
Copied from Perforce
Change: 183413
ServerID: perforce.ravenbrook.com
2013-09-11 10:21:12 +01:00
Gareth Rees
c40a1e173e
Improvements to release notes.
...
Copied from Perforce
Change: 183407
ServerID: perforce.ravenbrook.com
2013-09-10 13:00:14 +01:00
Gareth Rees
ae39473509
Rename align_up and align macros in the scheme example as align_word and align_obj respectively.
...
Copied from Perforce
Change: 183392
ServerID: perforce.ravenbrook.com
2013-09-05 08:15:56 +01:00
Gareth Rees
aaefea08a7
Branching master sources to add new supported platforms lii3ll and lii6ll.
...
Copied from Perforce
Change: 183339
ServerID: perforce.ravenbrook.com
2013-08-21 12:55:42 +01:00
Gareth Rees
ed4b4b6a1a
Detect clang/llvm and reject unsupported platforms at the configure stage.
...
Copied from Perforce
Change: 183338
ServerID: perforce.ravenbrook.com
2013-08-21 12:33:57 +01:00
Gareth Rees
6fcc24771d
Don't detect the compiler as gcc when it's actually clang. emit an error instead.
...
Copied from Perforce
Change: 183334
ServerID: perforce.ravenbrook.com
2013-08-20 17:10:36 +01:00
Gareth Rees
334bb97b71
Use $(make) literally in the rules (not via expansion of a variable) so as to support the --jobs option.
...
Copied from Perforce
Change: 183333
ServerID: perforce.ravenbrook.com
2013-08-20 17:06:23 +01:00
Richard Brooksby
55906e2b58
Fixing up build for test platform xci3gc, broken by os x threads development.
...
Enabling amcssth and awlutth tests for all platforms, since I believe these were fixed by OS X threads development.
Copied from Perforce
Change: 183118
ServerID: perforce.ravenbrook.com
2013-07-17 16:49:31 +01:00
Richard Brooksby
e913eba60e
Removing false comment about multiple thread registration, but see job003559.
...
Copied from Perforce
Change: 183114
ServerID: perforce.ravenbrook.com
2013-07-17 14:38:05 +01:00
Gareth Rees
eed91aa94e
Fix typo: "ldisstaleany" for "ldisstale".
...
Copied from Perforce
Change: 183102
ServerID: perforce.ravenbrook.com
2013-07-17 10:11:28 +01:00
Gareth Rees
4c14792217
Prot_siginfo_good and prot_signal are no longer needed on os x.
...
Copied from Perforce
Change: 183101
ServerID: perforce.ravenbrook.com
2013-07-17 10:10:57 +01:00
Richard Brooksby
1e28ab548b
Fixing mentions of mps_size_t to just size_t in the manual. the former doesn't exist.
...
Copied from Perforce
Change: 183089
ServerID: perforce.ravenbrook.com
2013-07-16 16:10:47 +01:00
Gareth Rees
c40afadc18
Document ap creation requirements in terms of mps_ap_create_k, not the deprecated mps_ap_create.
...
Copied from Perforce
Change: 183073
ServerID: perforce.ravenbrook.com
2013-07-16 13:38:18 +01:00
Richard Brooksby
3d63ac16de
Clarifying why ap protocol loops are very rare.
...
Copied from Perforce
Change: 183054
ServerID: perforce.ravenbrook.com
2013-07-16 11:12:16 +01:00
Gareth Rees
300370fa63
Improve allocation example so that it demonstrate aligning up the size. explain why the mps doesn't do this for you. fix typo in scanning chapter.
...
Copied from Perforce
Change: 183051
ServerID: perforce.ravenbrook.com
2013-07-16 10:45:05 +01:00
Richard Brooksby
4732a1bca7
Fixing sacss failure introduced in changelist 183045. alignments are unpacked from varargs as promoted to size_t, but mps_pf_align is a naked number literal, and so was passed as int, causing a corrupt alignemnt failure in sacss.
...
Copied from Perforce
Change: 183048
ServerID: perforce.ravenbrook.com
2013-07-15 17:24:55 +01:00
Gareth Rees
dfe11f4734
Correct pass_count to fail_count in testrun.bat.
...
locbwcss shouldn't fail if there are non-contiguous allocations. Those are perfectly legitimate (MVFF uses CBS, which needs to allocate nodes in its splay tree).
Copied from Perforce
Change: 183047
ServerID: perforce.ravenbrook.com
2013-07-15 17:09:39 +01:00
Gareth Rees
e5b2ee54cd
Three test cases assumed that mps_pf_align is always equal to sizeof(void *), but this isn't true on platform w3i3mv where sizeof(void *) is 4 and mps_pf_align is 8. remove the assumption from these test cases.
...
Copied from Perforce
Change: 183045
ServerID: perforce.ravenbrook.com
2013-07-15 16:54:10 +01:00
Gareth Rees
ca777655bc
Improve reporting of test failures on windows, so that the continuous integration is helpful.
...
Copied from Perforce
Change: 183043
ServerID: perforce.ravenbrook.com
2013-07-15 16:39:22 +01:00
Gareth Rees
335edef764
Avoid calling abort() on windows when running the test suite, so that the test suite doesn't get suspended waiting for someone to press a button.
...
Copied from Perforce
Change: 183041
ServerID: perforce.ravenbrook.com
2013-07-15 15:37:22 +01:00
Gareth Rees
69fd7d4049
It's no longer necessary to build the manual, but it is necessary to update the release notes.
...
Copied from Perforce
Change: 183010
ServerID: perforce.ravenbrook.com
2013-07-11 17:19:46 +01:00
Gareth Rees
2c022cccf1
Bring release notes up to date.
...
Copied from Perforce
Change: 183008
ServerID: perforce.ravenbrook.com
2013-07-11 16:44:40 +01:00
Richard Brooksby
839c44c698
Added note about why we don't check that we're the only exception port before sending a reply.
...
Copied from Perforce
Change: 183006
ServerID: perforce.ravenbrook.com
2013-07-11 16:22:52 +01:00
Richard Brooksby
44d206b27c
Adding missing #endif caused by merge error. oops.
...
Copied from Perforce
Change: 183004
ServerID: perforce.ravenbrook.com
2013-07-11 16:08:42 +01:00