1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
Commit graph

92 commits

Author SHA1 Message Date
Gareth Rees
64c94ff8be Document mps_key_interior for amcz, and mention it in the pool introduction.
Copied from Perforce
 Change: 185128
 ServerID: perforce.ravenbrook.com
2014-04-01 17:13:47 +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
d6273ee2ea Document amc and amcz support for ambiguous interior references.
Copied from Perforce
 Change: 185065
 ServerID: perforce.ravenbrook.com
2014-03-27 21:31:08 +00:00
Gareth Rees
f419a2ede9 Merge branch/2014-02-26/args-done into master sources.
Copied from Perforce
 Change: 184554
 ServerID: perforce.ravenbrook.com
2014-02-26 13:47:56 +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
6d31337e89 Remove duplicate documentation for mps_key_chain argument to ams.
Write "takes" instead of "requires" when documenting keyword arguments for debugging pool classes.

Copied from Perforce
 Change: 184540
 ServerID: perforce.ravenbrook.com
2014-02-26 12:23:21 +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
cf66d5299f Fix broken formatting.
Copied from Perforce
 Change: 183517
 ServerID: perforce.ravenbrook.com
2013-10-02 16:05:24 +01: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
692489dd2b 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
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
Gareth Rees
90e919b73c 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
Gareth Rees
bfe9eed0db Release notes.
Copied from Perforce
 Change: 182648
 ServerID: perforce.ravenbrook.com
2013-06-08 20:43:19 +01:00
Gareth Rees
826bed4f26 Fix links from manual to converted design documents (ref target must follow index declaration, not precede it).
Fix conversion of citations when an element is missing.
Converted design documents depend on the converter.

Copied from Perforce
 Change: 182638
 ServerID: perforce.ravenbrook.com
2013-06-08 18:06:16 +01:00
Gareth Rees
65078cdd17 Separate the consideration of automatic and manual pool classes, so that we can ask the appropriate questions in each case.
Copied from Perforce
 Change: 182636
 ServerID: perforce.ravenbrook.com
2013-06-08 17:49:26 +01:00
Richard Brooksby
1c50d4d972 Added missing documentation of the default values of reserve depth and frag limit in mvt.
Copied from Perforce
 Change: 182626
 ServerID: perforce.ravenbrook.com
2013-06-08 13:44:25 +01:00
Richard Brooksby
7c1792ce75 Correcting statement that mvt doesn't accept an alignment.
Using MPS_PF_ALIGN reference to describe the default value of MPS_KEY_ALIGN in MVT and MVFF.

Copied from Perforce
 Change: 182623
 ServerID: perforce.ravenbrook.com
2013-06-08 13:30:06 +01:00
Richard Brooksby
56645cdc0c Merging branch/2013-05-17/emergency with major rework of mvt, mvff, and cbs.
Some parts of this are still ragged, and would not normally pass review, but this is a massive improvement to the existing code.

Copied from Perforce
 Change: 182614
 ServerID: perforce.ravenbrook.com
2013-06-08 10:57:57 +01:00
Gareth Rees
da3afade7b Mvt takes configurable alignment via a keyword argument.
Copied from Perforce
 Change: 182605
 ServerID: perforce.ravenbrook.com
2013-06-07 14:45:14 +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
d366631c18 Fix typos: args for args.
Copied from Perforce
 Change: 182485
 ServerID: perforce.ravenbrook.com
2013-06-04 14:06:12 +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
Gareth Rees
9eed009f83 Mv pool class supports allocation points.
Copied from Perforce
 Change: 182272
 ServerID: perforce.ravenbrook.com
2013-05-27 22:49:14 +01:00
Gareth Rees
bef83f6507 Fix typo.
Copied from Perforce
 Change: 182271
 ServerID: perforce.ravenbrook.com
2013-05-27 22:48:37 +01:00
Gareth Rees
2ddd8357c7 Convert arenavm, buffer, lib, and poolmrg to restructuredtext.
Convert [notes in square brackets] to .. note:: to make them stand out more and be easier to find and fix.
Modernize config a bit.

Copied from Perforce
 Change: 182162
 ServerID: perforce.ravenbrook.com
2013-05-24 15:30:38 +01:00
Nick Barnes
6999ce3586 Tiny typo corrections.
Copied from Perforce
 Change: 182009
 ServerID: perforce.ravenbrook.com
2013-05-20 19:15:49 +01:00
Richard Brooksby
b19ac90ba0 Adjusting the default extend_by of the mv pool to be more sensible and match the other pools, but overriding it in the case of the arena control pool, where the default originated.
Copied from Perforce
 Change: 181946
 ServerID: perforce.ravenbrook.com
2013-05-19 20:01:52 +01:00
Richard Brooksby
1d9af7a31c Correcting documentation of pool classes to say which keyword arguments are optional, and documenting their (rather eccentric) defaults.
Copied from Perforce
 Change: 181945
 ServerID: perforce.ravenbrook.com
2013-05-19 19:49:07 +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
f876b80dff Fixing the mvff documentation to say that the keyword arguments are optional, and documenting their default values.
Attaching the note about some keywords not affecting allocation points to those keywords with a footnote reference.
Fixing the default alignment setting to MVFF pool to MPS_PF_ALIGN.

Copied from Perforce
 Change: 181874
 ServerID: perforce.ravenbrook.com
2013-05-16 18:12:54 +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
b74d999798 Mvt is broken at the moment (job003486) so we shouldn't be recommending it!
Copied from Perforce
 Change: 181868
 ServerID: perforce.ravenbrook.com
2013-05-16 16:28:23 +01:00
Richard Brooksby
f0e9d74c3c The fragmentation limit argument to the mvt pool class is now passed as a floating point fraction, not a percentage, in the keyword interface.
Copied from Perforce
 Change: 181862
 ServerID: perforce.ravenbrook.com
2013-05-16 13:54:06 +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
cce6ee29c8 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
e03ccc98ac Documentation for keyword argument interface.
Copied from Perforce
 Change: 181730
 ServerID: perforce.ravenbrook.com
2013-05-11 19:58:00 +01:00
Richard Brooksby
87fb54485f Merging spelling corrections contributed by bruce mitchener and rebuilding manual.
See <7d0a9d6204>.

Copied from Perforce
 Change: 180957
 ServerID: perforce.ravenbrook.com
2013-02-18 15:52:46 +00:00
Gareth Rees
1d598182a0 Quote a paragraph from johnstone (1997) suggesting that address-ordered and fifo first fit are "very robust algorithms".
Copied from Perforce
 Change: 180504
 ServerID: perforce.ravenbrook.com
2012-11-19 17:46:39 +00:00
Gareth Rees
dee2dd5d8d 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
f10f0f2b58 Typo.
Copied from Perforce
 Change: 180373
 ServerID: perforce.ravenbrook.com
2012-11-06 17:09:56 +00:00
Gareth Rees
6b89b020c5 Add public interface for mfs pool class.
Correct the documentation for MFS: constructor takes extend_by and unit_size in that order.

Copied from Perforce
 Change: 180372
 ServerID: perforce.ravenbrook.com
2012-11-06 17:08:58 +00:00
Gareth Rees
3dd5b9da1d Minor edits.
Copied from Perforce
 Change: 180350
 ServerID: perforce.ravenbrook.com
2012-11-05 22:29:36 +00:00
Gareth Rees
9e6c5facdb Copy cautions from mps_formatted_objects_stepper_t to mps_amc_apply_stepper_t.
Copied from Perforce
 Change: 180341
 ServerID: perforce.ravenbrook.com
2012-11-05 17:45:35 +00:00
Gareth Rees
0a461b9f39 Pool reference for mfs.
Copied from Perforce
 Change: 180310
 ServerID: perforce.ravenbrook.com
2012-11-05 10:08:23 +00:00
Gareth Rees
31c5b39795 Write "advanced topics" chapter of the user guide.
Copied from Perforce
 Change: 180303
 ServerID: perforce.ravenbrook.com
2012-11-03 17:38:57 +00:00
Gareth Rees
8ac34f5fd4 Deprecate mv. make deprecation notices consistent.
Copied from Perforce
 Change: 180280
 ServerID: perforce.ravenbrook.com
2012-11-02 14:26:55 +00:00
Gareth Rees
96db37906a Document that the dependent object needs to be fixed (and might be splatted). update the example code accordingly.
Copied from Perforce
 Change: 180278
 ServerID: perforce.ravenbrook.com
2012-11-02 14:23:10 +00:00
Gareth Rees
16c207aa0f Actions from meeting with rb.
Copied from Perforce
 Change: 180277
 ServerID: perforce.ravenbrook.com
2012-11-02 14:15:36 +00:00
Gareth Rees
e724dc3889 Document mfs pool class
Copied from Perforce
 Change: 180220
 ServerID: perforce.ravenbrook.com
2012-11-01 12:14:47 +00:00