Nick Barnes
36c5fd39f2
Tiny typo corrections.
...
Copied from Perforce
Change: 182009
ServerID: perforce.ravenbrook.com
2013-05-20 19:15:49 +01:00
Richard Brooksby
60f7df4335
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
0c3b15ec5d
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
690db0f51d
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
e8eb1a1462
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
2d960f2adc
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
fde8d7e952
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
Gareth Rees
93e8373a80
Downgrade warning to note.
...
Copied from Perforce
Change: 181861
ServerID: perforce.ravenbrook.com
2013-05-16 13:55:04 +01:00
Gareth Rees
2a5eab7e21
Improve installation rule: don't need shell loop here.
...
Copied from Perforce
Change: 181860
ServerID: perforce.ravenbrook.com
2013-05-16 13:54:36 +01:00
Richard Brooksby
4a37063561
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
76ed0b8fcb
Use __builtin_readcyclecounter for event_clock if it's available.
...
Copied from Perforce
Change: 181858
ServerID: perforce.ravenbrook.com
2013-05-16 13:37:31 +01:00
Gareth Rees
1697e0ec52
Eventclock has enough entropy on all the platforms we support that we can use it to choose the random number seed.
...
Copied from Perforce
Change: 181855
ServerID: perforce.ravenbrook.com
2013-05-16 13:17:42 +01:00
Richard Brooksby
c46a9623ce
Adding mps_arg_s fields for float and double, to complete the set of basic types.
...
Copied from Perforce
Change: 181853
ServerID: perforce.ravenbrook.com
2013-05-16 13:13:51 +01:00
Richard Brooksby
6d81499f35
Replacing duplicate *trivvarargs methods with a single implementation in args.c.
...
Copied from Perforce
Change: 181851
ServerID: perforce.ravenbrook.com
2013-05-16 13:10:01 +01:00
Richard Brooksby
a2c89c2c40
Making clear the size of the array of args passed to varargs conversion methods.
...
Copied from Perforce
Change: 181845
ServerID: perforce.ravenbrook.com
2013-05-16 03:12:11 +01:00
Richard Brooksby
d28c3acbea
Quietly eliminating varargs to mps_alloc. they were never documented.
...
Copied from Perforce
Change: 181843
ServerID: perforce.ravenbrook.com
2013-05-16 03:07:50 +01:00
Richard Brooksby
1ab2cfe210
Eliminating unnecessary use of varargs in segment split and merge functions.
...
Copied from Perforce
Change: 181842
ServerID: perforce.ravenbrook.com
2013-05-16 03:02:20 +01:00
Richard Brooksby
1be41d6297
Removing obsolete note.
...
Copied from Perforce
Change: 181836
ServerID: perforce.ravenbrook.com
2013-05-16 01:04:33 +01:00
Gareth Rees
8322d3cc83
Test coverage report on os x.
...
Copied from Perforce
Change: 181822
ServerID: perforce.ravenbrook.com
2013-05-15 19:25:16 +01:00
Gareth Rees
e76d53158f
Make forward declarations of various functions consistent with their actual declarations.
...
Copied from Perforce
Change: 181788
ServerID: perforce.ravenbrook.com
2013-05-15 14:18:28 +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
Richard Brooksby
9e4248ad49
Catch-up merge from master sources.
...
Copied from Perforce
Change: 181746
ServerID: perforce.ravenbrook.com
2013-05-13 19:06:08 +01:00
Gareth Rees
162a396899
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
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
1da20d30eb
Glossary entry for "keyword argument".
...
Copied from Perforce
Change: 181729
ServerID: perforce.ravenbrook.com
2013-05-11 19:57:11 +01:00
Gareth Rees
9f347e25bb
Bibliography and glossary entries for c90 and c99.
...
Copied from Perforce
Change: 181728
ServerID: perforce.ravenbrook.com
2013-05-11 19:56:47 +01:00
Gareth Rees
052e5ec39c
Update user guide to use the new keyword argument interface.
...
Copied from Perforce
Change: 181727
ServerID: perforce.ravenbrook.com
2013-05-11 19:42:31 +01:00
Gareth Rees
65583bfe92
Use keyword argument interface in scheme-advanced.c.
...
Copied from Perforce
Change: 181726
ServerID: perforce.ravenbrook.com
2013-05-11 19:36:20 +01:00
Gareth Rees
72885799c1
Integrate change 181724 (keyword arguments) from scheme.c to scheme-advanced.c.
...
Copied from Perforce
Change: 181725
ServerID: perforce.ravenbrook.com
2013-05-11 19:29:29 +01:00
Gareth Rees
e417e073cf
Use the new keyword argument interface in the example scheme interpreter.
...
Copied from Perforce
Change: 181724
ServerID: perforce.ravenbrook.com
2013-05-11 19:24:41 +01:00
Gareth Rees
0e51c63514
Make the names in the design document match those in the code.
...
Copied from Perforce
Change: 181723
ServerID: perforce.ravenbrook.com
2013-05-11 19:22:58 +01:00
Gareth Rees
025845b4a7
Rename mps_arena_create_args to mps_arena_create_k to match the documentation, and for consistency with mps_pool_create_k and mps_ap_create_k.
...
Copied from Perforce
Change: 181722
ServerID: perforce.ravenbrook.com
2013-05-11 19:17:06 +01:00
Gareth Rees
09ce7184e7
Untabify.
...
Copied from Perforce
Change: 181720
ServerID: perforce.ravenbrook.com
2013-05-11 19:10:56 +01:00
Gareth Rees
6d66c398b6
Fix typo: "parmeters" for "parameters".
...
Copied from Perforce
Change: 181719
ServerID: perforce.ravenbrook.com
2013-05-11 19:10:14 +01:00
Richard Brooksby
847614be04
Converting design.mps.config to restructuredtext. rewriting, correcting, clarifying, and generally bringing it up-to-date.
...
Removing misplaced obsolete design text from mpstd.h.
Tidying up the format of a couple of other docs.
Copied from Perforce
Change: 181717
ServerID: perforce.ravenbrook.com
2013-05-11 17:53:40 +01:00
Richard Brooksby
eef6bf8717
Converting critical-path design to restructuredtext.
...
Copied from Perforce
Change: 181712
ServerID: perforce.ravenbrook.com
2013-05-10 19:33:42 +01:00
Richard Brooksby
fb3522f687
Cross-referencing to guide.hex.trans.
...
Copied from Perforce
Change: 181710
ServerID: perforce.ravenbrook.com
2013-05-10 19:07:12 +01:00
Richard Brooksby
a4d56fe616
Converting guide.hex.trans to restructuredtext.
...
Copied from Perforce
Change: 181705
ServerID: perforce.ravenbrook.com
2013-05-10 18:54:17 +01:00
Richard Brooksby
c05efeb5cd
Branching mminfo's guide.hex.trans to design.
...
Copied from Perforce
Change: 181703
ServerID: perforce.ravenbrook.com
2013-05-10 18:29:36 +01:00
Richard Brooksby
bc6e9b4023
Writing a new signature design document and replacing the old one.
...
This is also an experiment in reStructuredText design docs.
Copied from Perforce
Change: 181701
ServerID: perforce.ravenbrook.com
2013-05-10 18:22:36 +01:00
Richard Brooksby
e5c5652fca
Adding leader comment to .p4ignore files and setting keyword expansion.
...
Copied from Perforce
Change: 181684
ServerID: perforce.ravenbrook.com
2013-05-10 03:52:36 +01:00
Richard Brooksby
820390a662
Fixing up .p4ignore files to ignore .p4configs and visual studio build results.
...
Copied from Perforce
Change: 181683
ServerID: perforce.ravenbrook.com
2013-05-10 03:48:40 +01:00
Richard Brooksby
a9ed62e39a
Converting varags on buffer and ap creation into keyword argument lists.
...
Copied from Perforce
Change: 181680
ServerID: perforce.ravenbrook.com
2013-05-09 18:25:53 +01:00
Richard Brooksby
8b430778b6
Replacing varargs passed to seginit with keyword argument list.
...
Copied from Perforce
Change: 181679
ServerID: perforce.ravenbrook.com
2013-05-09 17:34:01 +01:00
Richard Brooksby
b4e1f173db
Changing required keyword arguments to cause an assertion rather than return a status code, and removing repetition in how this is expressed.
...
Copied from Perforce
Change: 181674
ServerID: perforce.ravenbrook.com
2013-05-09 15:15:40 +01:00
Richard Brooksby
1c14b64665
Adding arg to windows makefiles. adding trivial params implementation to vman.c.
...
Copied from Perforce
Change: 181672
ServerID: perforce.ravenbrook.com
2013-05-09 15:00:30 +01:00
Richard Brooksby
b77a602705
Adding references and document history to keyword arguments design.
...
Copied from Perforce
Change: 181671
ServerID: perforce.ravenbrook.com
2013-05-09 14:59:20 +01:00
Richard Brooksby
09dba7b95a
Converting a fixme to a todo because it's a longer term change.
...
Copied from Perforce
Change: 181670
ServerID: perforce.ravenbrook.com
2013-05-09 14:58:32 +01:00
Richard Brooksby
85a0aee8a9
Moving mps_key_vmw3_top_down definition to arena.c so that it's present on all platforms.
...
Copied from Perforce
Change: 181669
ServerID: perforce.ravenbrook.com
2013-05-09 14:57:38 +01:00