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