1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-23 23:36:27 -07:00
Commit graph

2297 commits

Author SHA1 Message Date
Richard Brooksby
be8cf2ce96 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
fe91fa9480 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
c02ab56cee 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
1723b05f5b 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
af570f18f9 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
f1af541a95 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
32250731d7 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
06ef28892a 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
c708f93154 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
bb5a36b27e 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
f21d24ee6c 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
79478e8310 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
c004e5a674 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
eb0991b6b6 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
08060a3b05 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
9c475dcfbc 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
09420d6863 Add missing macro discard_exp.
Copied from Perforce
 Change: 191110
 ServerID: perforce.ravenbrook.com
2016-04-14 12:07:51 +01:00
Gareth Rees
c95108a508 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
d6b028081f 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
1055db1561 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
905b334c65 Removing extraenous blank line.
Copied from Perforce
 Change: 191074
 ServerID: perforce.ravenbrook.com
2016-04-13 13:34:18 +01:00
Gareth Rees
6527b51a02 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
c97f77e5ab 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
22f58e9e08 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
ab5d377fc1 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
22c2cf0161 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
fed0dd6142 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
5ebe95c9dc 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
72d14e139f 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
90a825ad34 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
38f79142c2 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
2e2cfa9bae 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
b9a917033c 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
2df4ffd5fd 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
14da33f5e9 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
28424dd5a5 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
e7d5490d11 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
7a88275b88 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
fd1ff6f863 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
87c53e6a5c 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
b75de04efc Reducing boilerplate code using mustbea.
Copied from Perforce
 Change: 190970
 ServerID: perforce.ravenbrook.com
2016-04-12 00:58:04 +01:00
Richard Brooksby
3dcd9e1159 Removing a fixed fixme.
Copied from Perforce
 Change: 190969
 ServerID: perforce.ravenbrook.com
2016-04-12 00:57:49 +01:00
Richard Brooksby
7981236042 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
a38bb879ef Commentary and design document improvements.
Copied from Perforce
 Change: 190967
 ServerID: perforce.ravenbrook.com
2016-04-12 00:09:17 +01:00
Richard Brooksby
d31995246d 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
a0661db49e 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
19ab212780 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
a724e16626 Removing various fixed fixmes.
Copied from Perforce
 Change: 190957
 ServerID: perforce.ravenbrook.com
2016-04-11 18:58:36 +01:00
Gareth Rees
761d212e14 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
12d4dfda16 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