aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/protocol.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix indentation of second clause of license.Gareth Rees2020-08-301-3/+3
|
* Use https: instead of http: when linking to the ravenbrook web site.Gareth Rees2020-08-301-1/+1
|
* Publish licence updates in code directory.Peter Jackson2020-06-111-33/+21
| | | | | | | | | Publish minor changes to readme and configure files in main directory. Main directory and code directory licence texts are now fully updated. Copied from Perforce Change: 196994
* Use tags with dots; regularize design references from code.Gareth Rees2018-11-291-1/+1
| | | | | | Copied from Perforce Change: 195761
* Catch-up merge from master sources at changelevel 194022 to ↵Gareth Rees2018-09-151-0/+2
|\ | | | | | | | | | | | | | | branch/2018-06-20/monitor. Copied from Perforce Change: 195071
| * Check that segment classes override sets of related methods.Gareth Rees2017-03-301-0/+2
| | | | | | | | | | | | | | | | | | | | Add missing finish functions amcSegFinish, mrgLinkSegFinish, mrgRefSegFinish, sncSegFinish. Check all class constructor results. Copied from Perforce Change: 193055 ServerID: perforce.ravenbrook.com
* | Label the time series in the monitor.Gareth Rees2018-06-221-2/+1
|/ | | | | | | | | | In telemetry output, distinguish between labelling of (client) addresses and (MPS-internal) pointers, to avoid transgressing the distinction. Add arena grain size, class, and serial number to ArenaCreate* events. Add pool class and serial number to PoolInit event. Copied from Perforce Change: 194086
* Making init a method on inst and using it as next-method in segments.Richard Brooksby2016-04-231-0/+3
| | | | | | | Copied from Perforce Change: 191603 ServerID: perforce.ravenbrook.com
* Making finish a method on inst and implementing generic finish for segments.Richard Brooksby2016-04-231-1/+5
| | | | | | | Copied from Perforce Change: 191602 ServerID: perforce.ravenbrook.com
* Making describe a method on inst and implementing generic describe for segments.Richard Brooksby2016-04-231-1/+5
| | | | | | | Copied from Perforce Change: 191601 ServerID: perforce.ravenbrook.com
* Untabify.Gareth Rees2016-04-211-2/+2
| | | | | | | Copied from Perforce Change: 191528 ServerID: perforce.ravenbrook.com
* Avoid using "class" as an identifier, since tools like lldb parse ↵Richard Brooksby2016-04-191-37/+37
| | | | | | | | | expressions as c++, and it can't be named. Copied from Perforce Change: 191304 ServerID: perforce.ravenbrook.com
* Eliminating classdef.h by defining the class level when declaring a class.Richard Brooksby2016-04-191-1/+0
| | | | | | | Copied from Perforce Change: 191235 ServerID: perforce.ravenbrook.com
* Using the address of the class as its id as a step to eliminating classdef.h.Richard Brooksby2016-04-191-8/+7
| | | | | | | Copied from Perforce Change: 191234 ServerID: perforce.ravenbrook.com
* Adding instdescribe as the ultimate base describe method.Richard Brooksby2016-04-121-0/+16
| | | | | | | Copied from Perforce Change: 191073 ServerID: perforce.ravenbrook.com
* Interning strings for all classes to the event system, not just the hacky ↵Richard Brooksby2016-04-121-8/+37
| | | | | | | | | one for pool classes. Copied from Perforce Change: 191071 ServerID: perforce.ravenbrook.com
* Fixing instclass initialisation of its own class.Richard Brooksby2016-04-121-5/+4
| | | | | | | | | Properly bracketing cast expression in CouldBeA. Copied from Perforce Change: 190968 ServerID: perforce.ravenbrook.com
* Making classes into instances of kinds, allowing subclass tests to be used ↵Richard Brooksby2016-04-111-16/+29
| | | | | | | | | to validate classes as well. Copied from Perforce Change: 190958 ServerID: perforce.ravenbrook.com
* Removing various fixed fixmes.Richard Brooksby2016-04-111-1/+1
| | | | | | | Copied from Perforce Change: 190957 ServerID: perforce.ravenbrook.com
* Eliminating generated classof* and setclassof* functions in favour of ↵Richard Brooksby2016-04-111-25/+0
| | | | | | | | | checked poly macros. Copied from Perforce Change: 190938 ServerID: perforce.ravenbrook.com
* Minor tidying.Richard Brooksby2016-04-101-5/+2
| | | | | | | Copied from Perforce Change: 190885 ServerID: perforce.ravenbrook.com
* Adding instinit and instfinish and using them as next methods in seginit, ↵Richard Brooksby2016-04-101-0/+39
| | | | | | | | | segfinish, etc. Copied from Perforce Change: 190857 ServerID: perforce.ravenbrook.com
* Repairing superclass by taking a kind, which can later be checked.Richard Brooksby2016-04-101-22/+0
| | | | | | | Copied from Perforce Change: 190850 ServerID: perforce.ravenbrook.com
* Generating type-safe functions for getting and setting the class of instances.Richard Brooksby2016-04-081-0/+25
| | | | | | | | | | 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
* Explicitly making inststruct the prefix of instances, eliminating pointer ↵Richard Brooksby2016-04-081-1/+0
| | | | | | | | | punning of class pointers, and reducing likelihood of editing errors. Copied from Perforce Change: 190830 ServerID: perforce.ravenbrook.com
* Eliminating issubclasspoly and replacing with compile-time constant test.Richard Brooksby2016-04-081-22/+5
| | | | | | | Copied from Perforce Change: 190829 ServerID: perforce.ravenbrook.com
* Replacing prime factor subclass test with array-based test, because the type ↵Richard Brooksby2016-04-081-97/+15
| | | | | | | | | ids were overflowing 32 bits. Copied from Perforce Change: 190828 ServerID: perforce.ravenbrook.com
* Generating a static superclass mapping and eliminating other superclass macros.Richard Brooksby2016-04-081-0/+24
| | | | | | | Copied from Perforce Change: 190827 ServerID: perforce.ravenbrook.com
* Eliminating the concept of "alias classes" in favour of "kinds".Richard Brooksby2016-04-081-1/+1
| | | | | | | Copied from Perforce Change: 190825 ServerID: perforce.ravenbrook.com
* Referring to classes by their base identifiers.Richard Brooksby2016-04-081-2/+2
| | | | | | | Copied from Perforce Change: 190823 ServerID: perforce.ravenbrook.com
* Renaming protocolinst to inst and protocolclass to instclass to make naming ↵Richard Brooksby2016-04-081-14/+14
| | | | | | | | | consistent with other classes. Copied from Perforce Change: 190822 ServerID: perforce.ravenbrook.com
* Using prime factors to determine subclass relationships quickly.Richard Brooksby2016-04-081-13/+103
| | | | | | | Copied from Perforce Change: 190817 ServerID: perforce.ravenbrook.com
* Moving common fields into the base class, starting with the class name.Richard Brooksby2016-04-081-0/+2
| | | | | | | Copied from Perforce Change: 190816 ServerID: perforce.ravenbrook.com
* Removing never-used multiple inheritance speculation.Richard Brooksby2016-04-081-72/+10
| | | | | | | Copied from Perforce Change: 190815 ServerID: perforce.ravenbrook.com
* Abstracting class declarations and references to classes.Richard Brooksby2016-04-081-2/+2
| | | | | | | Copied from Perforce Change: 190812 ServerID: perforce.ravenbrook.com
* Improve control over checking:Gareth Rees2014-04-061-1/+1
| | | | | | | | | | | | | 1. Where Type is a pointer type with a signature, replace CHECKL(TypeCheck(val)) with CHECKD(Type, val). 2. Where Type is a pointer type with no signature, replace CHECKL(TypeCheck(val)) with CHECKD_NOSIG(Type, val). 3. Where Type is a pointer type with a signature, but the structure is not visible at point of checking, replace CHECKL(TypeCheck(val)) with CHECKD_NOSIG(Type, val). Reference <design/check/#.hidden-type> 4. Make BTCheck extern and use it where possible. 5. Replace AVER(TypeCheck(val)) with AVERT(Type, val). Copied from Perforce Change: 185263 ServerID: perforce.ravenbrook.com
* Check classes after defining them.Gareth Rees2014-04-041-3/+4
| | | | | | | Copied from Perforce Change: 185228 ServerID: perforce.ravenbrook.com
* Merging branch mps/2002-05-22/open-source-prep.Richard Brooksby2002-06-181-3/+45
|\ | | | | | | | | | | | | | | | | | | 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
| * Eliminating "impl" type tags and replacing them with uri-style file references.Richard Brooksby2002-06-071-1/+1
| | | | | | | | | | | | | | Copied from Perforce Change: 29900 ServerID: perforce.ravenbrook.com
| * Updating cross references to design documents to html style, to go with ↵Richard Brooksby2002-06-071-1/+1
| | | | | | | | | | | | | | | | | | master/design document tree. Copied from Perforce Change: 29897 ServerID: perforce.ravenbrook.com
| * Adding forward reference to licenses from copyright notices.Richard Brooksby2002-06-061-1/+1
| | | | | | | | | | | | | | | | | | Adding licenses to a couple of files I missed. Copied from Perforce Change: 29837 ServerID: perforce.ravenbrook.com
| * Adding licenses to source code files.Richard Brooksby2002-06-061-0/+42
| | | | | | | | | | | | | | Copied from Perforce Change: 29836 ServerID: perforce.ravenbrook.com
* | Integrate changes from global graphics.Nick Barnes2002-06-181-1/+0
|/ | | | | | | Copied from Perforce Change: 30250 ServerID: perforce.ravenbrook.com
* Remove trailing whitespace.Nick Barnes2001-12-171-3/+3
| | | | | | | Copied from Perforce Change: 25309 ServerID: perforce.ravenbrook.com
* Removing hopenames from the master sources.Richard Brooksby2001-12-071-1/+0
| | | | | | | | | 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
* Adding hopenames back into the master sources, so that they can be included ↵Richard Brooksby2001-12-061-0/+1
| | | | | | | | | | | 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
* Updating copyright messages to say copyright 2001 ravenbrook throughout.Richard Brooksby2001-12-051-1/+1
| | | | | | | | | Adding some missing copyright messages. Copied from Perforce Change: 24818 ServerID: perforce.ravenbrook.com
* Changing hopename keywords to id keywords throughout, to work with perforce.Richard Brooksby2001-12-051-2/+2
| | | | | | | Copied from Perforce Change: 24817 ServerID: perforce.ravenbrook.com
* Merging changes from union to masters. this incorporates pekka's updates: ↵Richard Brooksby2001-12-051-2/+2
| | | | | | | | | 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
* Branch imports for masters.Nick Barnes2001-10-311-0/+125
Copied from Perforce Change: 23678 ServerID: perforce.ravenbrook.com