1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

183 commits

Author SHA1 Message Date
Gareth Rees
4e8b76ac54 Catch-up merge from master sources to branch/2014-01-15/nailboard.
Copied from Perforce
 Change: 185275
 ServerID: perforce.ravenbrook.com
2014-04-07 10:38:08 +01:00
Gareth Rees
116021aef0 Complete design.mps.type and design.mps.interface-c and move them to "current" design in the manual.
Remove unused enumeration FormatVariety from mpmtypes.
Improve wording of manual entry on MPS_RM_PROT.

Copied from Perforce
 Change: 185259
 ServerID: perforce.ravenbrook.com
2014-04-06 20:00:31 +01:00
Gareth Rees
70d946f065 Fix typo.
Copied from Perforce
 Change: 185253
 ServerID: perforce.ravenbrook.com
2014-04-06 17:24:33 +01:00
Gareth Rees
55931db914 Improve wording.
Copied from Perforce
 Change: 185224
 ServerID: perforce.ravenbrook.com
2014-04-04 11:49:33 +01:00
Gareth Rees
6ef4b6e0c6 Explain how to call mps_root_create_table() safely (avoiding type punning). fix example for mps_root_create_table_masked(). use the recommended approach in qs.c.
Copied from Perforce
 Change: 185223
 ServerID: perforce.ravenbrook.com
2014-04-04 11:49:19 +01:00
Gareth Rees
1fc2bbe52b Fixed dl's review comments <https://info.ravenbrook.com/mail/2014/04/01/13-28-17/0/>.
Copied from Perforce
 Change: 185127
 ServerID: perforce.ravenbrook.com
2014-04-01 17:02:00 +01:00
Gareth Rees
4efa0dd942 Update manual to record the platform code pelles c (and also note that we don't support it).
Copied from Perforce
 Change: 184986
 ServerID: perforce.ravenbrook.com
2014-03-24 20:56:06 +00:00
Gareth Rees
6971bee496 Make mps_args_done obsolete.
Copied from Perforce
 Change: 184543
 ServerID: perforce.ravenbrook.com
2014-02-26 12:47:27 +00:00
Gareth Rees
6d30195657 Better user documentation for generation chains:
* In the pool class properties table, note whether a pool class uses generational garbage collection.
* The arena has a default generation chain.
* The MPS_KEY_CHAIN keyword argument is now optional when creating an AMC, AMCZ or AMS pool.
* The pool classes AWL and LO now take an optional MPS_KEY_CHAIN keyword argument.
* The pool classes AMS, AWL and LO now take an optional MPS_KEY_GEN keyword argument specifying the generation for new objects.
* Remove material about generation chains from the user guide (just use the arena's default generation chain).

Copied from Perforce
 Change: 184273
 ServerID: perforce.ravenbrook.com
2014-01-31 16:23:04 +00:00
Gareth Rees
38b1ef8506 Use #. for numbered lists instead of 1. 2. 3. to make these documents easier to edit.
Copied from Perforce
 Change: 183913
 ServerID: perforce.ravenbrook.com
2014-01-10 09:58:44 +00:00
Gareth Rees
bd1d5d76f9 Add glossary entry for client pointer (merged from custom/cet/main)
Copied from Perforce
 Change: 183909
 ServerID: perforce.ravenbrook.com
2014-01-09 16:58:32 +00:00
Gareth Rees
c692808072 Document the interface type mps_fun_t.
Copied from Perforce
 Change: 183644
 ServerID: perforce.ravenbrook.com
2013-11-06 16:25:29 +00:00
Gareth Rees
803f61a271 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
185d27696a 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
e522a0b273 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
544a160559 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
949578bac4 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
b59ba75674 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
Richard Brooksby
7cfcf30920 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
Richard Brooksby
659e8dfede 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
66590f18e9 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
Gareth Rees
bfbcdbabca 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
7b99c420f4 Updating "signal handling issues" to "signal and exception handling issues" and documenting the situation with os x threading.
Copied from Perforce
 Change: 182930
 ServerID: perforce.ravenbrook.com
2013-07-05 01:09:29 +01:00
Gareth Rees
240e9a894c Move all signal handling issues to the "signal handling issues" section.
Copied from Perforce
 Change: 182919
 ServerID: perforce.ravenbrook.com
2013-07-04 15:12:21 +01:00
Gareth Rees
193cd50362 Valgrind is a better example of a library using sigusr1 and sigusr2 than linuxthreads (which seems to be defunct).
Copied from Perforce
 Change: 182916
 ServerID: perforce.ravenbrook.com
2013-07-04 14:59:45 +01:00
Gareth Rees
d7d8ffdacf Warn users not to mask sigxcpu and sigxfsz.
Copied from Perforce
 Change: 182901
 ServerID: perforce.ravenbrook.com
2013-07-03 11:21:14 +01:00
Gareth Rees
d64998d656 Improve the clarity of the documentation of arena states by adding a summary table.
Copied from Perforce
 Change: 182899
 ServerID: perforce.ravenbrook.com
2013-07-03 10:43:39 +01:00
Gareth Rees
31008b07ca Forgot to document thread-safety property of mps_ld_isstale_any.
Copied from Perforce
 Change: 182818
 ServerID: perforce.ravenbrook.com
2013-06-20 16:31:42 +01:00
Gareth Rees
e88bcc5184 Document the intention behind mps_ld_isstale rather than the implementation: it captures the intention of testing whether a particular dependency is stale (even though the implementation in fact tests whether any dependency is stale). add new function mps_ls_isstale_any for expressing the intention of testing whether any dependencey is stale. the two functions have the same implementation at present, but the separation gives us the freedom to return a more precise result from mps_ld_isstale in future.
Copied from Perforce
 Change: 182816
 ServerID: perforce.ravenbrook.com
2013-06-20 16:25:08 +01:00
Gareth Rees
f9ebbf2076 Fix typo.
Copied from Perforce
 Change: 182807
 ServerID: perforce.ravenbrook.com
2013-06-19 13:34:12 +01:00
Gareth Rees
fad8da04c1 Fix typo.
Copied from Perforce
 Change: 182805
 ServerID: perforce.ravenbrook.com
2013-06-19 13:00:09 +01:00
Gareth Rees
4bebf0ee86 Improve the discussion of testing dependencies for staleness.
Copied from Perforce
 Change: 182803
 ServerID: perforce.ravenbrook.com
2013-06-19 12:56:53 +01:00
Richard Brooksby
6773ba7ac8 Fixing copy-paste error in description of mps_message_type_enable.
Copied from Perforce
 Change: 182678
 ServerID: perforce.ravenbrook.com
2013-06-11 14:21:35 +01:00
Gareth Rees
1527e1112b Mps_key_align now used by mps_class_mvt.
Copied from Perforce
 Change: 182668
 ServerID: perforce.ravenbrook.com
2013-06-09 23:28:53 +01:00
Gareth Rees
bb7a5f1389 Improve the explanation at the start of globalsfinish.
Put assertion from vmChunkDestroy into the manual.

Copied from Perforce
 Change: 182633
 ServerID: perforce.ravenbrook.com
2013-06-08 16:16:48 +01:00
Richard Brooksby
6fede51a87 Merging branch/2013-05-21/final-destroy. now we can finally destroy things.
Copied from Perforce
 Change: 182578
 ServerID: perforce.ravenbrook.com
2013-06-06 15:04:30 +01:00
Richard Brooksby
d14b8bbc81 Merging branch/2013-05-01/keyword-arguments to pick up keyword arguments for object formats.
Copied from Perforce
 Change: 182562
 ServerID: perforce.ravenbrook.com
2013-06-06 12:55:04 +01:00
Gareth Rees
40f33d082e Update the big table of keywords to include the keywords arguments to mps_fmt_create_k().
Add types of keyword arguments to the big table.
Cut the structure definition of mps_arg_s as all the information is now in the big table, and it's one less thing to keep up to date.

Copied from Perforce
 Change: 182286
 ServerID: perforce.ravenbrook.com
2013-05-28 18:26:08 +01:00
Gareth Rees
09de82d52d Describe the fact that the collector works across pools in several places where people are likely to look for this information.
Improve wording of assertion handling section.

Copied from Perforce
 Change: 182278
 ServerID: perforce.ravenbrook.com
2013-05-28 16:47:58 +01:00
Gareth Rees
aaf6e8b13b New public function mps_fmt_create_k creates an object format using the keyword argument interface.
Deprecate the format variant structures (mps_fmt_A_s, mps_fmt_B_s, mps_fmt_auto_header_s, mps_fmt_fixed_s) and the old interface (mps_fmt_create_A, mps_fmt_create_B, mps_fmt_create_auto_header, mps_fmt_create_fixed).

Copied from Perforce
 Change: 182277
 ServerID: perforce.ravenbrook.com
2013-05-28 16:10:08 +01:00
Richard Brooksby
5c6785b815 Catch-up merge from custom/cet/main to master.
Includes installable assertion handler, events in circular memory buffers, LARGEADDRESSAWARE, etc.

Copied from Perforce
 Change: 182176
 ServerID: perforce.ravenbrook.com
2013-05-24 19:42:46 +01:00
Gareth Rees
7972a386c9 Document the way to safely destroy automatically managed pools.
Copied from Perforce
 Change: 182166
 ServerID: perforce.ravenbrook.com
2013-05-24 16:17:51 +01:00
Gareth Rees
e71d0fdd40 Convert reservoir, root, scan, seg, splay, telemetry, thread-safety, trace, and writef design documents to restructuredtext and add them to the manual.
Copied from Perforce
 Change: 182102
 ServerID: perforce.ravenbrook.com
2013-05-23 00:12:10 +01:00
Gareth Rees
71fd972b8f Move restructuredtext conversions of design documents into design/...
Reorganize manual into "Design" and "Old design".
Manual gets design documents out of design/...

Copied from Perforce
 Change: 182091
 ServerID: perforce.ravenbrook.com
2013-05-22 19:26:24 +01:00
Gareth Rees
9eb6b8e612 Fix typo: "size", not "ap->size"
Copied from Perforce
 Change: 182074
 ServerID: perforce.ravenbrook.com
2013-05-22 13:41:33 +01:00
Richard Brooksby
a3d15bbdb0 Catch up merge from mps master to keyword arguments development branch.
Copied from Perforce
 Change: 181890
 ServerID: perforce.ravenbrook.com
2013-05-17 14:37:48 +01:00
Richard Brooksby
6806f70e58 Correcting the documentation of the restrictions on the keyword arguments to the mvff pool class.
Copied from Perforce
 Change: 181872
 ServerID: perforce.ravenbrook.com
2013-05-16 17:40:14 +01:00
Gareth Rees
509cf747cb Downgrade warning to note.
Copied from Perforce
 Change: 181861
 ServerID: perforce.ravenbrook.com
2013-05-16 13:55:04 +01:00
Gareth Rees
56b78ef7b9 Remove mps_arg from mps.h.
Use MPS_ARGS_BEGIN etc in the Scheme example and in the manual.
Use MPS_BEGIN and MPS_END instead of BEGIN and END.
The _FIELD macros don't need to be function-like macros.
Restore TODO comments in mps.h.
Scheme example compiles with -std=c89.

Copied from Perforce
 Change: 181749
 ServerID: perforce.ravenbrook.com
2013-05-13 21:01:38 +01:00
Gareth Rees
4c43a964d1 Rename mps_key_arena_cl_addr to mps_key_arena_cl_base.
Copied from Perforce
 Change: 181739
 ServerID: perforce.ravenbrook.com
2013-05-12 18:12:47 +01:00