1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-25 16:22:37 -07:00
Commit graph

31 commits

Author SHA1 Message Date
Gareth Rees
10afd0ee3b 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
daaef7b14c Ensure coverage of rangedescribe.
Copied from Perforce
 Change: 186012
 ServerID: perforce.ravenbrook.com
2014-05-11 21:41:34 +01:00
Gareth Rees
add3e4bf93 Consistent order stream, depth.
Copied from Perforce
 Change: 186001
 ServerID: perforce.ravenbrook.com
2014-05-11 18:30:23 +01:00
Gareth Rees
c44f2d6a20 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
4ed8190265 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
d83fbf6b09 Correct indentation of describe output.
Copied from Perforce
 Change: 185626
 ServerID: perforce.ravenbrook.com
2014-04-17 13:36:42 +01:00
Gareth Rees
391e7e6c83 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
8c63b81342 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
1c25a89a70 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
0290982bca 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
fc7bdbd4dd 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
e6560aa91b 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
5cb6645f65 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
8396b32ead 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
aa9024c3e0 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
900ea6ed20 More detailed naiboard description.
Copied from Perforce
 Change: 184684
 ServerID: perforce.ravenbrook.com
2014-03-07 21:36:48 +00:00
Gareth Rees
b9e37cf8b1 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
58beca5bdc Clearer implementation.
Copied from Perforce
 Change: 184666
 ServerID: perforce.ravenbrook.com
2014-03-07 14:06:09 +00:00
Gareth Rees
c73e906c34 Simplify nailboard implementation.
Copied from Perforce
 Change: 184663
 ServerID: perforce.ravenbrook.com
2014-03-06 20:09:31 +00:00
Gareth Rees
0011337b3a Fix the levels computation.
Copied from Perforce
 Change: 184612
 ServerID: perforce.ravenbrook.com
2014-02-28 19:31:33 +00:00
Gareth Rees
1320687ab1 New test program nailboardtest.
Copied from Perforce
 Change: 184570
 ServerID: perforce.ravenbrook.com
2014-02-26 22:41:22 +00:00
Gareth Rees
e276478afe 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
4b20c89f93 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
24ad6d6822 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
1c583cde13 Naive nailboard implementation (complete).
Copied from Perforce
 Change: 184395
 ServerID: perforce.ravenbrook.com
2014-02-19 18:25:40 +00:00
Gareth Rees
538b38202e 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
8179c2e4d2 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
df24291d86 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
3d1127d1d5 Fixes needed for separate compilation.
Copied from Perforce
 Change: 184027
 ServerID: perforce.ravenbrook.com
2014-01-16 14:34:02 +00:00
Gareth Rees
657a50d3af New function nailboardalignment.
Copied from Perforce
 Change: 184023
 ServerID: perforce.ravenbrook.com
2014-01-15 20:59:18 +00:00
Gareth Rees
4a983b9852 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