Richard Brooksby
d249780b2d
Enforcing rules about class overrides that were dropped in changelist 190837.
...
Copied from Perforce
Change: 191453
ServerID: perforce.ravenbrook.com
2016-04-21 13:41:27 +01:00
Richard Brooksby
af037d483c
Squelching bogus type pun warnings from gcc 4.7 to get a clean build in travis ci.
...
Adding platform XCI6GC to allow faster debugging of CI builds on Mac OS X with MacPorts GCC 4.7 installed. Not otherwise supported.
Copied from Perforce
Change: 191357
ServerID: perforce.ravenbrook.com
2016-04-20 13:59:23 +01:00
Richard Brooksby
7f44fb60fb
Eliminating poolpoolmfs in favour of mustbea.
...
Copied from Perforce
Change: 191312
ServerID: perforce.ravenbrook.com
2016-04-19 23:30:18 +01:00
Richard Brooksby
ef6407e9c6
Eliminating seg2linkseg, linkseg2seg, seg2refseg, refseg2seg, poolmrg, and mrgpool in favour of mustbea.
...
Copied from Perforce
Change: 191311
ServerID: perforce.ravenbrook.com
2016-04-19 23:29:46 +01:00
Richard Brooksby
dd14518ade
Eliminating vmarena2arena and arena2vmarena in favour of mustbea.
...
Copied from Perforce
Change: 191306
ServerID: perforce.ravenbrook.com
2016-04-19 23:00:02 +01:00
Richard Brooksby
cb620cf755
Removing a note about initialization order that no longer applies.
...
Copied from Perforce
Change: 191305
ServerID: perforce.ravenbrook.com
2016-04-19 23:00:02 +01:00
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
1c0704e3c8
Catch-up merge from master sources to branch/2016-04-08/protidying.
...
Copied from Perforce
Change: 191251
ServerID: perforce.ravenbrook.com
2016-04-19 16:37:51 +01:00
Richard Brooksby
6e21f091a4
Eliminating classdef.h by defining the class level when declaring a class.
...
Copied from Perforce
Change: 191235
ServerID: perforce.ravenbrook.com
2016-04-19 14:59:30 +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
Gareth Rees
0f44970f70
Snc contains formatted objects and so must get its alignment from the format.
...
Copied from Perforce
Change: 191142
ServerID: perforce.ravenbrook.com
2016-04-14 15:45:41 +01:00
Gareth Rees
aea3930a48
Add missing test target sncss.exe.
...
Copied from Perforce
Change: 191139
ServerID: perforce.ravenbrook.com
2016-04-14 15:35:12 +01:00
Gareth Rees
a69a06ee56
Avoid "warning c4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)" from microsoft visual c.
...
Copied from Perforce
Change: 191138
ServerID: perforce.ravenbrook.com
2016-04-14 15:33:33 +01:00
Gareth Rees
729a0e6331
Avoid unused variable class in landabsdescribe.
...
Copied from Perforce
Change: 191117
ServerID: perforce.ravenbrook.com
2016-04-14 13:24:10 +01:00
Gareth Rees
dd8f8c0906
Merge branch/2015-08-11/compact into the master sources.
...
Copied from Perforce
Change: 191113
ServerID: perforce.ravenbrook.com
2016-04-14 12:49:13 +01:00
Gareth Rees
ccbeb529f9
Add missing macro discard_exp.
...
Copied from Perforce
Change: 191110
ServerID: perforce.ravenbrook.com
2016-04-14 12:07:51 +01:00
Gareth Rees
034d378148
Merge branch/2014-10-11/snc into the master sources.
...
Copied from Perforce
Change: 191102
ServerID: perforce.ravenbrook.com
2016-04-13 17:52:34 +01:00
Richard Brooksby
eb308da308
Eliminating poolpoollo, lopool, segloseg, losegseg in favour of mustbea etc.
...
Copied from Perforce
Change: 191094
ServerID: perforce.ravenbrook.com
2016-04-13 15:52:33 +01:00
Richard Brooksby
8fe47c986c
Eliminating seg2amcseg and amcseg2seg in favour of mustbea.
...
Copied from Perforce
Change: 191093
ServerID: perforce.ravenbrook.com
2016-04-13 15:11:15 +01:00
Richard Brooksby
0363bd0989
Removing extraenous blank line.
...
Copied from Perforce
Change: 191074
ServerID: perforce.ravenbrook.com
2016-04-13 13:34:18 +01:00
Gareth Rees
63b2875a62
Fix call broken by catch-up merge.
...
Copied from Perforce
Change: 191066
ServerID: perforce.ravenbrook.com
2016-04-13 13:13:41 +01:00
Gareth Rees
77b12d3ee7
Catch-up merge from master sources to branch/2014-10-11/snc.
...
Copied from Perforce
Change: 191065
ServerID: perforce.ravenbrook.com
2016-04-13 13:07:19 +01:00
Gareth Rees
13f8353d6e
A lightweight pop is not safe for automatically managed pools, so check attrgc first.
...
Copied from Perforce
Change: 191055
ServerID: perforce.ravenbrook.com
2016-04-13 11:55:35 +01:00
Richard Brooksby
e0faea0c13
Adding instdescribe as the ultimate base describe method.
...
Copied from Perforce
Change: 191073
ServerID: perforce.ravenbrook.com
2016-04-12 20:53:42 +01:00
Richard Brooksby
4c7421d910
Moving attachment of segments to the pool seg ring into poolabsinit, the same as other structures.
...
Copied from Perforce
Change: 191072
ServerID: perforce.ravenbrook.com
2016-04-12 18:47:59 +01:00
Richard Brooksby
217642758d
Interning strings for all classes to the event system, not just the hacky one for pool classes.
...
Copied from Perforce
Change: 191071
ServerID: perforce.ravenbrook.com
2016-04-12 18:44:05 +01:00
Richard Brooksby
b4982a104f
Catch-up merge from master sources to branch/2016-04-08/protidying.
...
Copied from Perforce
Change: 191019
ServerID: perforce.ravenbrook.com
2016-04-12 18:17:05 +01:00
Richard Brooksby
f650061dab
Guarding eventinit with the global lock, and removing the enforcement of the reference count, so that the event system can be used from classes, which get called before any arena.
...
Copied from Perforce
Change: 191018
ServerID: perforce.ravenbrook.com
2016-04-12 18:16:06 +01:00
Richard Brooksby
8f56466017
Converting a low priority fixme into a todo for later.
...
Copied from Perforce
Change: 191013
ServerID: perforce.ravenbrook.com
2016-04-12 17:48:29 +01:00
Richard Brooksby
967b964863
Adding comment about how a fixme will be resolved by a later branch merge.
...
Copied from Perforce
Change: 191012
ServerID: perforce.ravenbrook.com
2016-04-12 15:44:28 +01:00
Richard Brooksby
a8483f5163
Moving pool format argument picking into abstract pool initialization, so that code is shared.
...
Copied from Perforce
Change: 191004
ServerID: perforce.ravenbrook.com
2016-04-12 15:07:26 +01:00
Richard Brooksby
2ba7c52b61
Moving setclassofpoly to after initialization, to be more like signature setting.
...
Copied from Perforce
Change: 190994
ServerID: perforce.ravenbrook.com
2016-04-12 13:40:13 +01:00
Richard Brooksby
1d3a35c6ec
Moving setclassofpoly to after initializion in ams, and fixing pgen initialization to be consistent during init.
...
Copied from Perforce
Change: 190993
ServerID: perforce.ravenbrook.com
2016-04-12 13:16:43 +01:00
Richard Brooksby
a57965d825
Moving setclassofpoly to after initialization, to be more like signature setting. partially complete.
...
Copied from Perforce
Change: 190992
ServerID: perforce.ravenbrook.com
2016-04-12 13:15:54 +01:00
Richard Brooksby
25c4029619
Undo mistaken check-in of local alias of gcc. oops.
...
Copied from Perforce
Change: 190987
ServerID: perforce.ravenbrook.com
2016-04-12 13:00:02 +01:00
Richard Brooksby
30cd64730a
Automatically setting pool->fix on first fix, to avoid tricky initialization.
...
Copied from Perforce
Change: 190986
ServerID: perforce.ravenbrook.com
2016-04-12 12:44:54 +01:00
Richard Brooksby
21c319cd3b
Prevent race and then infinite regress when initializing the root classes.
...
Copied from Perforce
Change: 190981
ServerID: perforce.ravenbrook.com
2016-04-12 12:22:58 +01:00
Richard Brooksby
87aed22778
Clearing up various fixmes by making the type naming inconsistency clearly visible and intentional.
...
Copied from Perforce
Change: 190980
ServerID: perforce.ravenbrook.com
2016-04-12 10:51:41 +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
8484e7f184
Reducing boilerplate code using mustbea.
...
Copied from Perforce
Change: 190970
ServerID: perforce.ravenbrook.com
2016-04-12 00:58:04 +01:00
Richard Brooksby
c38a6a6d12
Removing a fixed fixme.
...
Copied from Perforce
Change: 190969
ServerID: perforce.ravenbrook.com
2016-04-12 00:57:49 +01:00
Richard Brooksby
c3068a987b
Fixing instclass initialisation of its own class.
...
Properly bracketing cast expression in CouldBeA.
Copied from Perforce
Change: 190968
ServerID: perforce.ravenbrook.com
2016-04-12 00:57:00 +01:00
Richard Brooksby
9719646f07
Commentary and design document improvements.
...
Copied from Perforce
Change: 190967
ServerID: perforce.ravenbrook.com
2016-04-12 00:09:17 +01:00
Richard Brooksby
b4fbe7ba92
Making classes into instances of kinds, allowing subclass tests to be used to validate classes as well.
...
Copied from Perforce
Change: 190958
ServerID: perforce.ravenbrook.com
2016-04-11 20:58:39 +01:00
Gareth Rees
470b157620
Fix mistake (need trace->arena here).
...
Copied from Perforce
Change: 190948
ServerID: perforce.ravenbrook.com
2016-04-11 19:47:11 +01:00
Gareth Rees
d16b1f6fff
Remove printf -- we should use telemetry instead.
...
Copied from Perforce
Change: 190947
ServerID: perforce.ravenbrook.com
2016-04-11 19:46:21 +01:00
Richard Brooksby
5a5c0f2138
Removing various fixed fixmes.
...
Copied from Perforce
Change: 190957
ServerID: perforce.ravenbrook.com
2016-04-11 18:58:36 +01:00
Gareth Rees
6ee4c8534d
In change 188204 we avoided creating and progressing traces with nothing condemned. but traces had one other effect: they called arenacompact via tracereclaim. restore the arenacompact for traces that failed to condemn anything.
...
Copied from Perforce
Change: 190931
ServerID: perforce.ravenbrook.com
2016-04-11 18:08:08 +01:00
Richard Brooksby
ef6e2970ca
Eliminating generated classof* and setclassof* functions in favour of checked poly macros.
...
Copied from Perforce
Change: 190938
ServerID: perforce.ravenbrook.com
2016-04-11 18:06:47 +01:00