Gareth Rees
af0f431eda
Use https: instead of http: when linking to the ravenbrook web site.
2020-08-30 10:13:03 +01:00
Gareth Rees
0a05f101c1
Use "document history" in guide.impl.c.format.
...
This ensures that the section is discarded when building the manual.
2020-08-30 10:04:20 +01:00
Gareth Rees
cf06b9416b
Update license for a couple of files (makefile.in, tool/testaslr.c).
2020-08-30 10:04:20 +01:00
Gareth Rees
7bbeed7e56
Update the debugging examples in the user guide.
...
Since these examples were written, the Scheme source code has changed,
and MPS backtraces have changed.
2020-08-30 10:01:06 +01:00
Gareth Rees
8c55c36f85
Avoid warnings about duplicate and unreferenced citations.
2020-08-30 09:53:31 +01:00
Gareth Rees
c550ce10a0
Use sphinx roles for c code in the user guide.
2020-08-30 09:53:21 +01:00
Gareth Rees
d6ef6c8f78
Add margin above and below tables.
2020-08-30 09:53:15 +01:00
Gareth Rees
a790f490fb
Fix typos and wording errors.
2020-08-30 09:53:08 +01:00
Gareth Rees
c07e41e880
Correct background colour for code elements in the manual.
2020-08-30 09:52:58 +01:00
Gareth Rees
375dd7ed62
Merge branch 'branch/2020-08-25/gdb-handle'
2020-08-30 09:29:03 +01:00
Gareth Rees
d55dc069ab
Merge branch 'branch/2020-08-24/eintr'
2020-08-30 09:24:08 +01:00
Gareth Rees
c13b7610d3
Set sa_restart flag when calling sigaction().
...
This ensures that if a mutator thread is blocked in a system call when
the MPS handles a signal, the system call will not fail with EINTR but
instead will be restarted.
Add a test case for the thread suspend and resume signals.
2020-08-30 09:23:35 +01:00
Gareth Rees
edbd9636e4
Merge branch 'branch/2020-08-24/mmqa-function-7'
2020-08-30 09:13:12 +01:00
Gareth Rees
be2f670e42
Merge branch 'branch/2020-08-23/macos-build'
2020-08-30 09:08:38 +01:00
Gareth Rees
5b30858231
Merge branch 'branch/2020-08-23/manual-build'
2020-08-30 09:03:58 +01:00
Gareth Rees
4fdfc711bc
Merge branch 'branch/2020-08-23/walk-docs'
2020-08-30 08:43:38 +01:00
Gareth Rees
d14044dd1a
Traceid is a typedef for unsigned so we mustn't negate it.
...
This was not caught by testing because we don't support multiple
traces and so tr->id is always zero.
2020-08-29 18:56:46 +01:00
Peter Jackson
c363af9a7a
Merge remaining changes from earlier licence branch.
...
Copied from Perforce
Change: 197111
2020-08-28 18:05:26 +01:00
Gareth Rees
5c740dd5d1
Improve documentation of mps_arena_formatted_objects_walk().
...
Make it clearer that the callback must not modify references, or
follow references to automatically managed memory, unless the arena is
parked.
Add invitation to contact us if the function does not meet the
application requirements due to these restrictions.
2020-08-26 18:45:52 +01:00
Gareth Rees
d18e98e0e3
Document how to avoid stopping in gdb for thread-handling signals.
2020-08-25 11:42:52 +01:00
Gareth Rees
2172c24889
Use correct function for creating arena.
...
Since we are passing a list of keyword arguments, we must call the
keyword-taking function (mps_arena_create_k) and not the deprecated
varargs function (mps_arena_create).
2020-08-24 17:17:37 +01:00
Gareth Rees
d55a7f147c
Fix build on macos 10.15 with clang 11.0.
...
We no longer need the -Wno-extended-offsetof or -Wno-invalid-offsetof
compiler options, since the nonstandard uses of offsetof() were
fixed (see job003619), so they can just be removed.
2020-08-23 16:17:36 +01:00
Gareth Rees
0c4ac0edb2
Avoid "unknown target name" warning when building the manual.
2020-08-23 15:47:50 +01:00
Gareth Rees
3724c40993
Avoid creating an untracked file when making the manual.
2020-08-23 15:46:47 +01:00
Gareth Rees
adde3b3c09
Avoid warning from sphinx 2.2.1 about versionlabels.
...
This object is now available as sphinx.domains.changeset.versionlabels
and the old name sphinx.locale.versionlabels will be removed in Sphinx
3.0.
2020-08-23 15:45:38 +01:00
Gareth Rees
d4047bcd67
Fix build of manual with sphinx 2.2.1.
...
This version of Sphinx no longer has an info() method on the Sphinx
class, so we need to create a logger instance using sphinx.util.logging.
2020-08-23 15:44:09 +01:00
Peter Jackson
4de2606846
Publish licence updates in code directory.
...
Publish minor changes to readme and configure files in main directory.
Main directory and code directory licence texts are now fully updated.
Copied from Perforce
Change: 196994
2020-06-11 17:05:40 +01:00
Nick Barnes
c93d14657d
Merge branch 'master' of github.com:ravenbrook/mps
2020-06-07 17:54:55 +01:00
Peter Jackson
fd51dcdca2
Conversion to bsd 2-clause licence. key changes in the master root files.
...
Copied from Perforce
Change: 196950
2020-05-29 12:21:20 +01:00
Richard Brooksby
017cde6f50
Relicensing the mps under the 2-clause bsd license.
2020-04-30 22:09:14 +00:00
Gareth Rees
ee6ddafcbd
Avoid warning from gcc 5.4.0.
...
Copied from Perforce
Change: 196419
2019-10-10 15:18:03 +01:00
Gareth Rees
848e086d9a
Update configure.
...
Copied from Perforce
Change: 196418
2019-10-10 15:05:13 +01:00
Gareth Rees
cfb5647bd5
Oops, -wno-invalid-offsetof is clang-only.
...
Copied from Perforce
Change: 196417
2019-10-10 15:04:50 +01:00
Gareth Rees
84b26d639e
The makefile rule for building a generic target no longer depends on the content of extra_targets, since this is designed to be configurable.
...
Copied from Perforce
Change: 196414
2019-10-10 14:37:38 +01:00
Gareth Rees
44f5efed6a
Fix compilation of scheme example on clang 11.
...
Copied from Perforce
Change: 196411
2019-10-10 14:13:19 +01:00
Gareth Rees
d3f03bc872
Change en-dashes to hyphens.
...
Copied from Perforce
Change: 196408
2019-10-10 13:19:40 +01:00
Gareth Rees
ab094c9a68
Opposite terms go at the end of the glossary entry, not the beginning.
...
Copied from Perforce
Change: 196207
2019-06-10 17:05:21 +01:00
Gareth Rees
c83b1a0323
Avoid an "extended" (non-standards-conforming) call to offsetof.
...
Copied from Perforce
Change: 196195
2019-06-05 16:31:13 +01:00
Gareth Rees
94b2f5a36e
Remove -wno-extended-offsetof flag, no longer needed and not compatible with all the versions of clang that we need to support.
...
Copied from Perforce
Change: 196189
2019-06-05 14:33:43 +01:00
Gareth Rees
00b7596287
Revert change 196178, submitted on wrong branch.
...
Copied from Perforce
Change: 196185
2019-06-05 10:36:50 +01:00
Gareth Rees
6f34daf790
Call mps_arena_create_k, not mps_arena_create.
...
Copied from Perforce
Change: 196181
2019-06-04 15:40:38 +01:00
Gareth Rees
6e116da468
Restore assembly code (removed in change 194595) for spilling callee-save registers on fr and li platforms.
...
Copied from Perforce
Change: 196178
2019-06-04 14:09:05 +01:00
Gareth Rees
e410c28276
Change the type of writeff to avoid compiler warnings from gcc 8.
...
Copied from Perforce
Change: 196063
2019-03-14 15:17:47 +00:00
Gareth Rees
9b201f56c3
Simulate just one allocation failure each time.
...
Copied from Perforce
Change: 195983
2019-02-07 11:57:16 +00:00
Gareth Rees
7f6f4c323b
Add a flag to fotest.c so that oomalloc knows when to return error codes, avoiding confusion between the test's pool and the mps's own pool.
...
Copied from Perforce
Change: 195974
2019-02-07 10:21:32 +00:00
Gareth Rees
228c8a2a4c
Add note about skipping the staleness check for sets.
...
Copied from Perforce
Change: 195953
2019-01-29 15:42:11 +00:00
Gareth Rees
8d5068b5ab
Avoid using deprecated function mps_tramp.
...
Use mps_root_create_thread in preference to mps_root_create_reg.
New test harness run_test passes pointer to cold end of stack, since this is needed by many tests.
Copied from Perforce
Change: 195917
2019-01-09 16:17:17 +00:00
Gareth Rees
c68dfd2ac4
Use keyword argument interface to avoid underpromotion of arguments.
...
Copied from Perforce
Change: 195911
2019-01-08 14:43:41 +00:00
Gareth Rees
d245671303
Update urls (mostly http -> https).
...
Copied from Perforce
Change: 195858
2018-12-10 13:07:41 +00:00
Gareth Rees
4eda4e85c7
Use tags with dots; regularize design references from code.
...
Copied from Perforce
Change: 195761
2018-11-29 17:12:29 +00:00