Richard Brooksby
65a770e91f
Avoid using "class" as an identifier, since tools like lldb parse expressions as c++, and it can't be named.
...
Copied from Perforce
Change: 191304
ServerID: perforce.ravenbrook.com
2016-04-19 23:00:02 +01:00
Richard Brooksby
033aeda023
Using the address of the class as its id as a step to eliminating classdef.h.
...
Copied from Perforce
Change: 191234
ServerID: perforce.ravenbrook.com
2016-04-19 14:21:29 +01:00
Richard Brooksby
4028e56921
Improving documentation in response to review by gdr.
...
See <https://info.ravenbrook.com/mail/2016/04/14/10-02-00/0/ > and <https://info.ravenbrook.com/mail/2016/04/14/11-21-48/0/ >.
Copied from Perforce
Change: 191229
ServerID: perforce.ravenbrook.com
2016-04-19 13:28:00 +01:00
Richard Brooksby
a0d8de9fbf
Discard_exp does not avoid warnings in hot builds, so removing if for now.
...
Copied from Perforce
Change: 190975
ServerID: perforce.ravenbrook.com
2016-04-12 10:12:27 +01:00
Richard Brooksby
6d8d4373c9
Checking that classes are the right kind using signatures.
...
Copied from Perforce
Change: 190936
ServerID: perforce.ravenbrook.com
2016-04-11 17:38:47 +01:00
Richard Brooksby
aa4036fbfd
Implementing mustbea_critical and elision of mustbea assertions in different varieties.
...
Copied from Perforce
Change: 190925
ServerID: perforce.ravenbrook.com
2016-04-11 16:09:29 +01:00
Richard Brooksby
24a1aaa4d8
Generating type-safe functions for getting and setting the class of instances.
...
Fixing warning revealed by GCC that I wasn't actually checking classes after init.
Fixing abstract classes so that they pass their own checks!
Copied from Perforce
Change: 190837
ServerID: perforce.ravenbrook.com
2016-04-08 19:50:12 +01:00
Richard Brooksby
aab7cc0a18
Implementing isa, mustbea, couldbea, and reshaping the land classes to put the init, finish, and describe methods the right way in.
...
Copied from Perforce
Change: 190826
ServerID: perforce.ravenbrook.com
2016-04-08 17:51:20 +01:00
Richard Brooksby
d3d57e828d
Renaming protocolinst to inst and protocolclass to instclass to make naming consistent with other classes.
...
Copied from Perforce
Change: 190822
ServerID: perforce.ravenbrook.com
2016-04-08 17:51:20 +01:00
Richard Brooksby
cc725ee45b
Adding class-based checking macros.
...
Copied from Perforce
Change: 190820
ServerID: perforce.ravenbrook.com
2016-04-08 17:51:20 +01:00
Gareth Rees
655e78f3be
Bring ring design up to date (excepting figures).
...
Add links from design documents to mail messages imported from Harlequin.
Copied from Perforce
Change: 187067
ServerID: perforce.ravenbrook.com
2014-09-27 16:11:21 +01:00
Gareth Rees
0f445a4ea4
Remove "todo: checkleveldeep asserts on arena creation with bootstrapping problems." -- this was fixed in change 184924.
...
Copied from Perforce
Change: 185267
ServerID: perforce.ravenbrook.com
2014-04-07 00:29:09 +01:00
Gareth Rees
fe68bfac83
Avoid expanding __file__ in aver in pelles c -- the compiler somehow loses its definition for __file__ in deeply nested macro expansions.
...
Copied from Perforce
Change: 185025
ServerID: perforce.ravenbrook.com
2014-03-26 13:44:02 +00:00
Gareth Rees
5824d8a73f
Improve wording of comment.
...
Copied from Perforce
Change: 183526
ServerID: perforce.ravenbrook.com
2013-10-04 11:50:19 +01:00
Gareth Rees
fab773659d
Use macro nonnegative so that we can keep asserting that values are >= 0 without provoking "unsigned comparison >= 0 is always true" warnings from gcc.
...
Copied from Perforce
Change: 183505
ServerID: perforce.ravenbrook.com
2013-10-01 14:27:52 +01:00
Richard Brooksby
5c6785b815
Catch-up merge from custom/cet/main to master.
...
Includes installable assertion handler, events in circular memory buffers, LARGEADDRESSAWARE, etc.
Copied from Perforce
Change: 182176
ServerID: perforce.ravenbrook.com
2013-05-24 19:42:46 +01:00
Richard Brooksby
d8a499b473
Responding to nb's review of variety-reform.
...
https://info.ravenbrook.com/mail/2012/09/06/15-42-57/0/
Copied from Perforce
Change: 179302
ServerID: perforce.ravenbrook.com
2012-09-06 16:47:44 +01:00
Richard Brooksby
b6e7805b6f
Downgrading hot optimisation from -o3 to -o2.
...
DL feels uneasy about -O3 until we're certain we're not breaking aliasing rules.
Copied from Perforce
Change: 179278
ServerID: perforce.ravenbrook.com
2012-09-05 18:20:38 +01:00
Richard Brooksby
15fc448c35
Resolving fixmes.
...
Removing test on check level in critical path asserts in cool variety, as they had no measurable impact.
Copied from Perforce
Change: 179199
ServerID: perforce.ravenbrook.com
2012-09-03 14:45:43 +01:00
Richard Brooksby
3ec3f57262
Renaming varieties we to rash and di to diag. leaving ti alone as it will be deleted shortly in merge with diagnostic-telemetry branch.
...
Copied from Perforce
Change: 179193
ServerID: perforce.ravenbrook.com
2012-09-03 13:32:11 +01:00
Richard Brooksby
ad6b08eecb
Updating procedure for testing check macros to fit new variety scheme.
...
Copied from Perforce
Change: 179176
ServerID: perforce.ravenbrook.com
2012-09-02 16:48:23 +01:00
Richard Brooksby
ad1c82af3b
Adding fixme note about checkleveldeep not working.
...
Copied from Perforce
Change: 179158
ServerID: perforce.ravenbrook.com
2012-09-01 11:45:26 +01:00
Richard Brooksby
4fde4e10b2
Compiling with a static checking level by default, doubling the speed of the cool variety.
...
Copied from Perforce
Change: 179157
ServerID: perforce.ravenbrook.com
2012-09-01 11:40:43 +01:00
Richard Brooksby
89a685f164
Renaming some check* macros with more accurate names, making remaining check* macros similar in function.
...
Copied from Perforce
Change: 179155
ServerID: perforce.ravenbrook.com
2012-09-01 10:18:08 +01:00
Richard Brooksby
4265ff2c62
Tidying up check.h and adding lots of design documentation.
...
Copied from Perforce
Change: 179154
ServerID: perforce.ravenbrook.com
2012-09-01 10:05:30 +01:00
Richard Brooksby
82bc137464
Abolishing a bunch of varieties and reforming the hot variety to run about as fast as white-hot.
...
See <http://info.ravenbrook.com/mail/2012/08/15/17-43-37/0/ >.
Copied from Perforce
Change: 179153
ServerID: perforce.ravenbrook.com
2012-09-01 00:01:03 +01:00
Richard Kistruck
b08941eb4f
Mps br/timing: (cosmetic):
...
message.c: rename MessageClocked() as MessageIsClocked()
check.h: better name in future improvement comments
Copied from Perforce
Change: 166801
ServerID: perforce.ravenbrook.com
2008-11-24 16:53:12 +00:00
Richard Kistruck
445b3e6f51
Mps sort out baroque check macros (mainly config.h and check.h)
...
See job001248. Should be source-only change. Details:
CheckNONE,SHALLOW,DEEP -->> CheckLevelMINIMAL,SHALLOW,DEEP
[PROD_]CHECK_DEFAULT -->> [PROD_]CHECKLEVEL_INITIAL
CHECK[_NONE] -->> AVER_AND_CHECK[_NONE]
And add some comments.
Copied from Perforce
Change: 161210
ServerID: perforce.ravenbrook.com
2006-12-13 14:45:49 +00:00
Richard Brooksby
ae3c248878
Changing global graphics copyright notice to say "portions copyright" to avoid confusion.
...
Copied from Perforce
Change: 30258
ServerID: perforce.ravenbrook.com
2002-06-18 16:28:41 +01:00
Richard Brooksby
e854cd8e1d
Merging branch mps/2002-05-22/open-source-prep.
...
Making some new files consistent with changes from that branch.
Deleting some new Global Graphics confidential files.
Copied from Perforce
Change: 30256
ServerID: perforce.ravenbrook.com
2002-06-18 16:19:34 +01:00
Nick Barnes
6a1a360814
Integrate changes from global graphics.
...
Copied from Perforce
Change: 30250
ServerID: perforce.ravenbrook.com
2002-06-18 14:14:55 +01:00
Richard Brooksby
78ef580722
Eliminating "impl" type tags and replacing them with uri-style file references.
...
Copied from Perforce
Change: 29900
ServerID: perforce.ravenbrook.com
2002-06-07 17:34:59 +01:00
Richard Brooksby
97075f7053
Updating cross references to design documents to html style, to go with master/design document tree.
...
Copied from Perforce
Change: 29897
ServerID: perforce.ravenbrook.com
2002-06-07 16:47:14 +01:00
Richard Brooksby
a0f676c8e1
Adding forward reference to licenses from copyright notices.
...
Adding licenses to a couple of files I missed.
Copied from Perforce
Change: 29837
ServerID: perforce.ravenbrook.com
2002-06-06 11:56:19 +01:00
Richard Brooksby
4301a6db0a
Adding licenses to source code files.
...
Copied from Perforce
Change: 29836
ServerID: perforce.ravenbrook.com
2002-06-06 11:44:23 +01:00
Nick Barnes
db4b3a6fa5
Remove trailing whitespace.
...
Copied from Perforce
Change: 25309
ServerID: perforce.ravenbrook.com
2001-12-17 15:18:17 +00:00
Richard Brooksby
c0bb4cd3cd
Removing hopenames from the master sources.
...
This change will be integrated but ignored (-ay) to the gg-epcore/union sources, so that they retain HopeNames.
Copied from Perforce
Change: 24911
ServerID: perforce.ravenbrook.com
2001-12-07 13:19:25 +00:00
Richard Brooksby
3d5e2ca85f
Adding hopenames back into the master sources, so that they can be included in the union sources along with the id keywords.
...
This was achieved by partially undoing changelist 24817, including an accidental corruption of eventgen.pl.
Copied from Perforce
Change: 24877
ServerID: perforce.ravenbrook.com
2001-12-06 18:14:02 +00:00
Richard Brooksby
b824e1c406
Updating copyright messages to say copyright 2001 ravenbrook throughout.
...
Adding some missing copyright messages.
Copied from Perforce
Change: 24818
ServerID: perforce.ravenbrook.com
2001-12-05 16:18:43 +00:00
Richard Brooksby
2589307099
Changing hopename keywords to id keywords throughout, to work with perforce.
...
Copied from Perforce
Change: 24817
ServerID: perforce.ravenbrook.com
2001-12-05 16:05:52 +00:00
Richard Brooksby
492dd3c684
Merging changes from union to masters. this incorporates pekka's updates: tuning and a type in amcsshe.c and some adding some missing checks in arenavm.c. it also brings our cope of their hopenames up to date.
...
Copied from Perforce
Change: 24815
ServerID: perforce.ravenbrook.com
2001-12-05 15:48:24 +00:00
Nick Barnes
7acfca905d
Branch imports for masters.
...
Copied from Perforce
Change: 23678
ServerID: perforce.ravenbrook.com
2001-10-31 14:40:56 +00:00