Richard Brooksby
818a65f36f
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
bb02f55b62
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
8acbc5780b
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
93fee75c50
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
Gareth Rees
2ed2ff1893
Updated manual html
...
Copied from Perforce
Change: 181750
ServerID: perforce.ravenbrook.com
2013-05-13 21:04:49 +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
Richard Brooksby
81a5ba77fa
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
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
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
eaad4493d4
Bring html up to date.
...
Copied from Perforce
Change: 181731
ServerID: perforce.ravenbrook.com
2013-05-11 20:07:28 +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
Gareth Rees
d7cd104425
Glossary entry for "keyword argument".
...
Copied from Perforce
Change: 181729
ServerID: perforce.ravenbrook.com
2013-05-11 19:57:11 +01:00
Gareth Rees
56e0e4d063
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
fe1d4b5638
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
acc7a67349
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
56a9679997
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
5c2019e386
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
eb6f8d0cb4
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
d0a8ac6e14
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
8861a09847
Add +k flag so that $id$ gets expanded.
...
Copied from Perforce
Change: 181721
ServerID: perforce.ravenbrook.com
2013-05-11 19:11:37 +01:00
Gareth Rees
c686505ffe
Untabify.
...
Copied from Perforce
Change: 181720
ServerID: perforce.ravenbrook.com
2013-05-11 19:10:56 +01:00
Gareth Rees
f72f7181f7
Fix typo: "parmeters" for "parameters".
...
Copied from Perforce
Change: 181719
ServerID: perforce.ravenbrook.com
2013-05-11 19:10:14 +01:00
Richard Brooksby
2f79ef3b9e
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
9f81b9b8a0
making html manual files under manual/html/... writeable so that the manual can be built.
...
Copied from Perforce
Change: 181715
ServerID: perforce.ravenbrook.com
2013-05-11 16:26:00 +01:00
Richard Brooksby
d5a7d8e37c
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
73fb697ec7
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
717a380726
Corrected link to "sig" and added "guide.hex.trans".
...
Copied from Perforce
Change: 181707
ServerID: perforce.ravenbrook.com
2013-05-10 19:01:31 +01:00
Richard Brooksby
b65c16792e
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
d69f1f5861
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
1d73e46289
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
e89b7a9564
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
2efc8d2469
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
688b5bf73d
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
af44d1241f
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
f4416c7efc
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
5acbbfa97e
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
8b6c35d94f
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
0a8e742b4b
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
c851eaf157
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
Richard Brooksby
80e84d09a5
Adding macros to make keyword argument list formation more convenient and robust.
...
Copied from Perforce
Change: 181666
ServerID: perforce.ravenbrook.com
2013-05-09 14:04:23 +01:00
Richard Brooksby
dfd7156740
Tidying up arg.c and arg.h.
...
Copied from Perforce
Change: 181665
ServerID: perforce.ravenbrook.com
2013-05-09 13:01:16 +01:00
Richard Brooksby
60ae2d01be
Moving definition of keystruct to arg.h, since this mechanism is largely separable from the rest of the mps.
...
Copied from Perforce
Change: 181664
ServerID: perforce.ravenbrook.com
2013-05-09 12:46:59 +01:00
Richard Brooksby
3815e622a8
Draft design document for keyword arguments.
...
Correcting hex "spelling" of KeySig.
Copied from Perforce
Change: 181661
ServerID: perforce.ravenbrook.com
2013-05-09 11:40:22 +01:00
Richard Brooksby
eea2d7aec4
Catch-up merge from master sources.
...
Copied from Perforce
Change: 181651
ServerID: perforce.ravenbrook.com
2013-05-09 01:15:40 +01:00
Richard Brooksby
3189ccfc9b
Consolidating common pool keywords.
...
Copied from Perforce
Change: 181649
ServerID: perforce.ravenbrook.com
2013-05-09 00:06:07 +01:00
Richard Brooksby
b323278e18
Implementing configurable maximum argument list length.
...
Copied from Perforce
Change: 181648
ServerID: perforce.ravenbrook.com
2013-05-08 23:47:38 +01:00
Richard Brooksby
03c7de38b6
Macroizing keyword definitions and adding more keyword argument checking methods.
...
Copied from Perforce
Change: 181647
ServerID: perforce.ravenbrook.com
2013-05-08 23:40:40 +01:00
Richard Brooksby
13095f52bf
Moving keyword argument declarations to their own header, since they're largely separable from the mps.
...
Copied from Perforce
Change: 181646
ServerID: perforce.ravenbrook.com
2013-05-08 23:09:35 +01:00
Richard Brooksby
d512863efb
Moving arena varags parsing into arena class method, similar to pools. much simpler. all tests pass.
...
Copied from Perforce
Change: 181643
ServerID: perforce.ravenbrook.com
2013-05-08 23:00:00 +01:00
Richard Brooksby
71b7e4f70a
Pushing varargs decoding into a pool class method. much simpler.
...
Copied from Perforce
Change: 181642
ServerID: perforce.ravenbrook.com
2013-05-08 22:43:51 +01:00