Richard Brooksby
07987ab579
Eliminating withreservoirpermit and all its variants.
...
Copied from Perforce
Change: 190005
ServerID: perforce.ravenbrook.com
2016-03-13 21:04:01 +00:00
Gareth Rees
1f517274f3
Cast all arguments to the writef function to make it easy to check that none of the necessary casts have been omitted.
...
New macro WriteFYesNo makes it easy to describe a Boolean.
Describe more structure elements for ABQ, Arena, Buffer, Format, MFS, Root, Seg.
Copied from Perforce
Change: 187063
ServerID: perforce.ravenbrook.com
2014-09-27 12:49:30 +01:00
Gareth Rees
d2aac4f6c2
Ensure coverage of rangedescribe.
...
Copied from Perforce
Change: 186012
ServerID: perforce.ravenbrook.com
2014-05-11 21:41:34 +01:00
Gareth Rees
c77c91056d
Consistent order stream, depth.
...
Copied from Perforce
Change: 186001
ServerID: perforce.ravenbrook.com
2014-05-11 18:30:23 +01:00
Gareth Rees
2493f121dc
Correct indentation of describe output by passing depth parameter to describe functions and to writef.
...
Call Describe functions from test cases so that we get coverage.
Copied from Perforce
Change: 186000
ServerID: perforce.ravenbrook.com
2014-05-11 18:20:38 +01:00
Gareth Rees
d1b44a4f05
Back out change 185626 (violates the design.mps.writef.snazzy).
...
Copied from Perforce
Change: 185941
ServerID: perforce.ravenbrook.com
2014-05-02 12:44:31 +01:00
Gareth Rees
6721c2b913
Correct indentation of describe output.
...
Copied from Perforce
Change: 185626
ServerID: perforce.ravenbrook.com
2014-04-17 13:36:42 +01:00
Gareth Rees
93a79ac8a6
Add -wconversion to the options for gcc. ensure that the mps builds.
...
Copied from Perforce
Change: 185463
ServerID: perforce.ravenbrook.com
2014-04-11 14:25:15 +01:00
Gareth Rees
1a9dd526d9
Add -wconversion to options for gcc and clang.
...
Ensure that the MPS builds with this option with Clang.
Copied from Perforce
Change: 185457
ServerID: perforce.ravenbrook.com
2014-04-11 12:06:28 +01:00
Gareth Rees
c4767b5a31
Correct the nailboard level sizes; add assertion to nailboardindex checking this.
...
Copied from Perforce
Change: 185421
ServerID: perforce.ravenbrook.com
2014-04-10 12:24:49 +01:00
Gareth Rees
31154ac728
Avoid calling sizeroundup when the result needs to be a count.
...
Use PointerAdd instead of casting to (char *) and back again.
Copied from Perforce
Change: 185256
ServerID: perforce.ravenbrook.com
2014-04-06 17:35:57 +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
4ee6bdd356
Explain why the last level in the nailboard might be tiny (to avoid special cases for small nailboards).
...
Copied from Perforce
Change: 185122
ServerID: perforce.ravenbrook.com
2014-04-01 13:32:42 +01:00
Gareth Rees
d190a9221c
Fixed rb's review comments < https://info.ravenbrook.com/mail/2014/03/31/15-48-46/0/ >
...
Copied from Perforce
Change: 185111
ServerID: perforce.ravenbrook.com
2014-03-31 19:03:32 +01:00
Gareth Rees
050a8f0a38
Make nailboards work for sizes that aren't a power of 2.
...
Copied from Perforce
Change: 185058
ServerID: perforce.ravenbrook.com
2014-03-27 20:25:27 +00:00
Gareth Rees
6adf936448
Fix bug in nailboardisresrange: must return false when nail found.
...
Extract common code for size computations.
More accurate size computation using offsetof.
Macros for NailboardNewNails and NailboardClearNewNails.
Since level shift is constant (for now), use constant instead of structure slot.
Unroll NailboardSet.
Move NailboardIsResClientRange to poolamc where it belongs.
Copied from Perforce
Change: 184697
ServerID: perforce.ravenbrook.com
2014-03-08 20:02:42 +00:00
Gareth Rees
9e60432362
More detailed naiboard description.
...
Copied from Perforce
Change: 184684
ServerID: perforce.ravenbrook.com
2014-03-07 21:36:48 +00:00
Gareth Rees
9b36ac811d
Further clarify nailboard implementation and design.
...
Add links from implementation to design.
Copied from Perforce
Change: 184671
ServerID: perforce.ravenbrook.com
2014-03-07 15:30:37 +00:00
Gareth Rees
3ea1862901
Clearer implementation.
...
Copied from Perforce
Change: 184666
ServerID: perforce.ravenbrook.com
2014-03-07 14:06:09 +00:00
Gareth Rees
5fc26baf00
Simplify nailboard implementation.
...
Copied from Perforce
Change: 184663
ServerID: perforce.ravenbrook.com
2014-03-06 20:09:31 +00:00
Gareth Rees
c213b085e0
Fix the levels computation.
...
Copied from Perforce
Change: 184612
ServerID: perforce.ravenbrook.com
2014-02-28 19:31:33 +00:00
Gareth Rees
90d9df5c00
New test program nailboardtest.
...
Copied from Perforce
Change: 184570
ServerID: perforce.ravenbrook.com
2014-02-26 22:41:22 +00:00
Gareth Rees
885d794e4e
No need for public interface to nailboardalignment.
...
Copied from Perforce
Change: 184536
ServerID: perforce.ravenbrook.com
2014-02-26 11:07:14 +00:00
Gareth Rees
a6e9bed341
Fix sense of return value of nailboardset.
...
Copied from Perforce
Change: 184412
ServerID: perforce.ravenbrook.com
2014-02-21 14:01:18 +00:00
Gareth Rees
541670f286
Clearer computation of size of nailboard.
...
Copied from Perforce
Change: 184411
ServerID: perforce.ravenbrook.com
2014-02-21 12:55:52 +00:00
Gareth Rees
1e006b6dbb
Naive nailboard implementation (complete).
...
Copied from Perforce
Change: 184395
ServerID: perforce.ravenbrook.com
2014-02-19 18:25:40 +00:00
Gareth Rees
1fb048b002
Naive nailboardisresrange implementation.
...
Show nails in AMCSegDescribe.
Use vectors rather than strings in airtest to avoid job003668.
Copied from Perforce
Change: 184069
ServerID: perforce.ravenbrook.com
2014-01-20 13:26:52 +00:00
Gareth Rees
2ac7a50d99
New function nailboardisresetrange.
...
Update design index; match titles.
Copied from Perforce
Change: 184039
ServerID: perforce.ravenbrook.com
2014-01-17 11:46:13 +00:00
Gareth Rees
4725d60948
Fixes needed to get airtest to compile and run on windows.
...
Copied from Perforce
Change: 184029
ServerID: perforce.ravenbrook.com
2014-01-16 15:10:18 +00:00
Gareth Rees
87be671e89
Fixes needed for separate compilation.
...
Copied from Perforce
Change: 184027
ServerID: perforce.ravenbrook.com
2014-01-16 14:34:02 +00:00
Gareth Rees
0074c76631
New function nailboardalignment.
...
Copied from Perforce
Change: 184023
ServerID: perforce.ravenbrook.com
2014-01-15 20:59:18 +00:00
Gareth Rees
77e9c2692b
Refactor nailboard code from poolamc.c into a new nailboard module.
...
Nailboard design document contains the draft design for the new module.
New functions on Range objects, and documentation thereof: RangeInitCopy, RangeIsEmpty, RangeContains.
Copied from Perforce
Change: 184022
ServerID: perforce.ravenbrook.com
2014-01-15 17:59:02 +00:00