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
408e6a1c24
Add #memorypoolsystem to contact page and to sidebar.
...
Copied from Perforce
Change: 182809
ServerID: perforce.ravenbrook.com
2013-06-19 15:35:31 +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
2cf1861e8d
Improvements to clarity of weak hash table implementation:
...
* TAG_SIZE was changed to TAG_COUNT in the code, so make the corresponding change in the manual.
* Avoid the "+= 2" hack: use TAG_COUNT(UNTAG_COUNT(...) + 1). Clarity is more important than speed here.
* Use obj_unused for unused hash table entries so that there can be no confusion between NULL meaning "unused" and NULL meaning "splatted by the garbage collector".
* Add references from the example code to the notes.
Copied from Perforce
Change: 182804
ServerID: perforce.ravenbrook.com
2013-06-19 12:59:49 +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
Richard Brooksby
8e9c4008cd
Adding a .p4ignore to ignore generated design documents.
...
Copied from Perforce
Change: 182677
ServerID: perforce.ravenbrook.com
2013-06-11 14:16:38 +01:00
Richard Brooksby
7b81b0a700
Removing design stub files accidentally created by merging.
...
Copied from Perforce
Change: 182676
ServerID: perforce.ravenbrook.com
2013-06-11 14:15:00 +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
Richard Brooksby
db78b9fb5c
Adjusting statement that assertions aren't serious.
...
Copied from Perforce
Change: 182652
ServerID: perforce.ravenbrook.com
2013-06-08 22:07:44 +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
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
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
2f6af8883a
Skip design index when converting design documents. the manual has its own index.
...
Copied from Perforce
Change: 182618
ServerID: perforce.ravenbrook.com
2013-06-08 12:42:36 +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
4392b7a471
Reducing the size of the mps logo to avoid pushing the contents links down too far.
...
Copied from Perforce
Change: 182593
ServerID: perforce.ravenbrook.com
2013-06-06 21:16:42 +01:00
Richard Brooksby
326bc67f83
Overriding some of the sphinx default styles to reduce the ragged-left effect of too many indents.
...
Spacing out lists to reduce wall-o-text feeling.
Reducing the number of rules, and giving them a bit of breathing space.
Copied from Perforce
Change: 182590
ServerID: perforce.ravenbrook.com
2013-06-06 20:58:37 +01:00
Richard Brooksby
4f7935e405
Using "ubuntu mono" as monospaced font for the manual, because it is a lot narrower and gives better formatting, even though it's not beautiful.
...
Corrected "monospaced" to "monospace" as fallback, otherwise it doesn't work.
Copied from Perforce
Change: 182588
ServerID: perforce.ravenbrook.com
2013-06-06 20:13:53 +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
0b204bf4e7
Catch-up merge from master sources to mps/branch/2013-05-17/emergency.
...
Copied from Perforce
Change: 182518
ServerID: perforce.ravenbrook.com
2013-06-04 20:44:03 +01:00
Richard Brooksby
1582bebe0b
Fixing a couple of sphinx warnings found by design document conversion.
...
Copied from Perforce
Change: 182507
ServerID: perforce.ravenbrook.com
2013-06-04 18:09:37 +01:00
Richard Brooksby
a68238f41a
Incorporating index items into design document metadata so that an extra stub for each design document is not required in the manual sources.
...
Copied from Perforce
Change: 182505
ServerID: perforce.ravenbrook.com
2013-06-04 18:00:54 +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
Richard Brooksby
9f11889074
Updating logo in the mps manual to the new escheresque logo, using the clair de lune palette.
...
Copied from Perforce
Change: 182460
ServerID: perforce.ravenbrook.com
2013-06-04 01:11:00 +01:00
Gareth Rees
f154b62bf4
Catch-up merge from master sources to mps/branch/2013-05-17/emergency
...
Copied from Perforce
Change: 182417
ServerID: perforce.ravenbrook.com
2013-06-03 12:25:18 +01:00
Richard Brooksby
2db76fa048
Adding section number stripping to design document conversion, to allow section numbers to be included.
...
Copied from Perforce
Change: 182391
ServerID: perforce.ravenbrook.com
2013-06-02 12:30:10 +01:00
Richard Brooksby
fdd4844fa9
Fixing modtime comparison so that design documents get reconverted if modified.
...
Copied from Perforce
Change: 182377
ServerID: perforce.ravenbrook.com
2013-06-01 10:42:51 +01:00
Richard Brooksby
0c6d275f3f
Tidying up design conversion extension.
...
Copied from Perforce
Change: 182375
ServerID: perforce.ravenbrook.com
2013-06-01 10:02:26 +01:00
Richard Brooksby
a432549e81
Converting design documents within the sphinx extension so that tools like readthedocs.org can generate the manual.
...
Copied from Perforce
Change: 182373
ServerID: perforce.ravenbrook.com
2013-06-01 03:42:28 +01:00
Gareth Rees
934ae05ca3
Rename the enumeration cbsfinddelete to finddelete in anticipation of it being shared between cbs and new freelist module.
...
Since ABQDisposition enumeration only has two values, it's better to use Bool.
Copied from Perforce
Change: 182347
ServerID: perforce.ravenbrook.com
2013-05-31 00:09:33 +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
Gareth Rees
4e26e67f3a
Convert alloc-frame, diag, interface-c, and io design documents to restructuredtext. and that's the lot! (cbs and poolmvt are already converted on mps/branch/2013-05-17/emergency).
...
Copied from Perforce
Change: 182275
ServerID: perforce.ravenbrook.com
2013-05-28 11:38:46 +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
48d711eaa6
Convert message-gc, poolmv, protsu, sso1al, tests, thread-manager, vmo1 and vmso to restructuredtext.
...
Copied from Perforce
Change: 182270
ServerID: perforce.ravenbrook.com
2013-05-27 22:47:50 +01:00
Gareth Rees
ad26918459
Convert poolams, poolawl, poollo, poolmfs, protan, protli, pthreadext, shield, and vman to restructuredtext.
...
Copied from Perforce
Change: 182183
ServerID: perforce.ravenbrook.com
2013-05-25 00:08:09 +01:00