1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 08:41:47 -07:00
Commit graph

18 commits

Author SHA1 Message Date
Gareth Rees
f19782ae62 Note that mps_key_pool_debug_options is optional, and describe the default value. noted by rb in review <https://info.ravenbrook.com/mail/2014/06/04/14-41-06/0/>.
Copied from Perforce
 Change: 186441
 ServerID: perforce.ravenbrook.com
2014-06-08 17:15:02 +01:00
Gareth Rees
f7dd0b6c46 Provide a default value for mps_key_pool_debug_options.
Don't use const in the types of the debugging templates: it's infectious!

Copied from Perforce
 Change: 185489
 ServerID: perforce.ravenbrook.com
2014-04-13 18:02:10 +01:00
Gareth Rees
e7a9e1e244 Make debugging pool implementation more flexible -- there's no longer a requirement for fencesize to be a multiple of the pool alignment, nor for freesize to be a divisor of the pool alignment. this makes it easy to write simple and portable debug options structures without having to mess about with mps_pf_align.
Copied from Perforce
 Change: 185379
 ServerID: perforce.ravenbrook.com
2014-04-09 13:00:52 +01:00
Gareth Rees
32d10cd02a Make mps_args_done obsolete.
Copied from Perforce
 Change: 184543
 ServerID: perforce.ravenbrook.com
2014-02-26 12:47:27 +00:00
Gareth Rees
d2220c5c16 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
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
9e9c0e3990 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
10c13b2a54 New macro mps_arg and revised macro mps_args_add mean that client programs no longer need to know which keyword argument goes in which field. revise documentation accordingly.
Copied from Perforce
 Change: 181736
 ServerID: perforce.ravenbrook.com
2013-05-12 17:21:03 +01:00
Gareth Rees
c3346b69ff Documentation for keyword argument interface.
Copied from Perforce
 Change: 181730
 ServerID: perforce.ravenbrook.com
2013-05-11 19:58:00 +01:00
Gareth Rees
e2836c68c2 Minor edits.
Copied from Perforce
 Change: 180507
 ServerID: perforce.ravenbrook.com
2012-11-20 11:11:40 +00:00
Gareth Rees
4fd1d5ad0d Actions from rb's e-mail <https://info.ravenbrook.com/mail/2012/11/16/13-21-30/0/>.
Copied from Perforce
 Change: 180492
 ServerID: perforce.ravenbrook.com
2012-11-16 14:57:56 +00:00
Gareth Rees
7ec9e16f0e Start adding index entries.
Copied from Perforce
 Change: 180157
 ServerID: perforce.ravenbrook.com
2012-10-30 12:26:41 +00:00
Gareth Rees
e33d88668c Plural :term: links work automatically.
Copied from Perforce
 Change: 180125
 ServerID: perforce.ravenbrook.com
2012-10-28 23:03:15 +00:00
Gareth Rees
0cd1f009e9 Write debugging pools chapter.
Copied from Perforce
 Change: 180099
 ServerID: perforce.ravenbrook.com
2012-10-26 13:15:56 +01:00
Gareth Rees
cd7fc1025a Add source references in comments at the top of each chapter.
New chapter about the critical path, by Richard.

Copied from Perforce
 Change: 180070
 ServerID: perforce.ravenbrook.com
2012-10-25 11:27:58 +01:00
Gareth Rees
99cccfa252 Distribute symbol reference into the topics.
Copied from Perforce
 Change: 179974
 ServerID: perforce.ravenbrook.com
2012-10-19 18:09:10 +01:00
Gareth Rees
caaeea6150 Fix remaining formatting errors and missing cross-references.
Copied from Perforce
 Change: 179859
 ServerID: perforce.ravenbrook.com
2012-10-12 20:26:12 +01:00
Gareth Rees
108e18ad35 Complete the conversion of the mps reference manual to restructured text, creating topic and pool pages as needed.
Copied from Perforce
 Change: 179839
 ServerID: perforce.ravenbrook.com
2012-10-11 23:46:31 +01:00