1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
Commit graph

2303 commits

Author SHA1 Message Date
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
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
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
Richard Brooksby
5a5c0f2138 Removing various fixed fixmes.
Copied from Perforce
 Change: 190957
 ServerID: perforce.ravenbrook.com
2016-04-11 18:58:36 +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
Richard Brooksby
8d776db4f2 Converting many uses of classof* to method macros.
Copied from Perforce
 Change: 190937
 ServerID: perforce.ravenbrook.com
2016-04-11 17:59:36 +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
309fb8ec64 Implementing nextmethod and replacing all uses of superclass with it.
Copied from Perforce
 Change: 190935
 ServerID: perforce.ravenbrook.com
2016-04-11 16:54:39 +01:00
Richard Brooksby
bfa333b5c0 Making all static next-method calls look similar.
Copied from Perforce
 Change: 190934
 ServerID: perforce.ravenbrook.com
2016-04-11 16:35:43 +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
690df6974a Using mustbea and couldbea when calling inst functions.
Copied from Perforce
 Change: 190924
 ServerID: perforce.ravenbrook.com
2016-04-11 15:17:24 +01:00
Richard Brooksby
72753f4484 Using mustbea to reduce boilerplate in client arenas, fotest, and the amc pool.
Copied from Perforce
 Change: 190906
 ServerID: perforce.ravenbrook.com
2016-04-11 14:57:38 +01:00
Richard Brooksby
8cd935ba7b Using mustbea to reduce boilerplate in amcbuf and sncbuf methods.
Copied from Perforce
 Change: 190905
 ServerID: perforce.ravenbrook.com
2016-04-11 14:27:38 +01:00
Richard Brooksby
a148490cfa Adding classname for use in describe methods.
Fixing error path to use class destroy in ArenaCreate.
Using MustBeA to reduce boiler plate in land classes.

Copied from Perforce
 Change: 190904
 ServerID: perforce.ravenbrook.com
2016-04-11 14:06:28 +01:00
Richard Brooksby
538b18430f Using superclass init and finish in the arena bootstrap and teardown.
Copied from Perforce
 Change: 190895
 ServerID: perforce.ravenbrook.com
2016-04-11 13:35:16 +01:00
Richard Brooksby
a71067ad72 Removing class typedefs made redundant by kinds.
Copied from Perforce
 Change: 190894
 ServerID: perforce.ravenbrook.com
2016-04-11 09:54:29 +01:00
Richard Brooksby
c06af39ff1 Turning buffer init methods the right way in, so that they each call the next method up the class hierarchy.
Copied from Perforce
 Change: 190888
 ServerID: perforce.ravenbrook.com
2016-04-11 07:10:15 +01:00
Richard Brooksby
d0d32eadbb Fixing initialisation in segment splitting to use instinit.
Copied from Perforce
 Change: 190887
 ServerID: perforce.ravenbrook.com
2016-04-11 06:37:02 +01:00
Richard Brooksby
781457ad4e Noting potential optimisation of superclass.
Copied from Perforce
 Change: 190886
 ServerID: perforce.ravenbrook.com
2016-04-11 06:36:28 +01:00
Richard Brooksby
d234a1f1a7 Minor tidying.
Copied from Perforce
 Change: 190885
 ServerID: perforce.ravenbrook.com
2016-04-10 23:48:13 +01:00
Richard Brooksby
7b73bba6e9 Removing obsolete comment about prime numbers.
Copied from Perforce
 Change: 190884
 ServerID: perforce.ravenbrook.com
2016-04-10 23:46:06 +01:00
Richard Brooksby
1400111767 Class init functions get called before the arena is initialized, so make sure they initialize the event logger before logging anything.
Copied from Perforce
 Change: 190883
 ServerID: perforce.ravenbrook.com
2016-04-10 23:35:34 +01:00
Richard Brooksby
429347256d Turning segment init methods the right way in, so that they each call the next method up the class hierarchy.
Copied from Perforce
 Change: 190882
 ServerID: perforce.ravenbrook.com
2016-04-10 23:23:49 +01:00
Richard Brooksby
50fd841553 Checking in a classdef.h that matches the sources.
Copied from Perforce
 Change: 190870
 ServerID: perforce.ravenbrook.com
2016-04-10 19:37:31 +01:00
Richard Brooksby
64640669f9 Adding classdef.h. oops.
Copied from Perforce
 Change: 190865
 ServerID: perforce.ravenbrook.com
2016-04-10 19:20:32 +01:00
Richard Brooksby
c4b08f2f52 Demonstrating use of mustbea to remove boilerplate in pooln.
Copied from Perforce
 Change: 190864
 ServerID: perforce.ravenbrook.com
2016-04-10 18:10:30 +01:00
Richard Brooksby
cbe65b637e Adding note about how amcinit should work.
Copied from Perforce
 Change: 190859
 ServerID: perforce.ravenbrook.com
2016-04-10 17:57:25 +01:00
Richard Brooksby
d303ed0aeb Turning pool init methods the right way in, so that they each call the next method up the class hierarchy.
Copied from Perforce
 Change: 190858
 ServerID: perforce.ravenbrook.com
2016-04-10 17:49:08 +01:00