Richard Brooksby
40e6c06da3
Moving transforms design statements out of leader comment of trans.c, updating, clarifying, and cross-referencing, in response to review < https://github.com/ravenbrook/mps/pull/214#issuecomment-1590952221 >.
2023-06-16 09:14:14 +01:00
Richard Brooksby
6e268e53ff
Converting fixmes to comments containing what we have deduced about the test, and converting some to todos. linking issues to be resolved.
2023-06-16 07:43:57 +01:00
Jonathan Holburn
27cf30e15f
Add fixmes to ztfm.c testbench after walkthrough with rb
2023-06-15 11:14:22 +01:00
Richard Brooksby
351e34a2b4
Suppressing "may be used uninitialized" warning in rash build with gcc 11.3.0.
2023-06-14 09:13:09 +01:00
Richard Brooksby
e6d0b5afc6
Temporarily disabling ztfm test except on windows because gcc (in particular) spills ambiguous references to stack and prevents it working properly.
2023-06-14 08:47:49 +01:00
Richard Brooksby
051249011a
Avoid creating ambiguous references in stack slots that prevent the transform completing.
2023-06-12 15:05:58 +01:00
Richard Brooksby
a0e2e74c8b
Catch-up merge of master into branch/2023-04-13/transforms to resolve conflicts.
2023-06-12 14:51:06 +01:00
Richard Brooksby
591d21b24e
Fixing typo in sphinx directive.
2023-06-12 14:44:35 +01:00
Richard Brooksby
30ab8f9d90
Removing custom cet section (containing only transforms) from the manual now that they are part of the main mps.
2023-06-12 14:44:21 +01:00
Richard Brooksby
db8c7da9a5
Fixing type puns found by gcc 11.3.0.
2023-06-12 14:35:11 +01:00
Gareth Rees
b10b842d75
Make transforms part of the public mps.
...
* Move transforms sources to the core sections of the makefiles.
* Move function declarations to the public header mps.h.
* Update copyright notices for transforms code.
* Remove references to Configura from the comments.
* Remove trailing whitespace.
* Translate design to reStructuredText.
* Move documentation to reference section of manual.
* Add warning about unsuitability when ambiguous references may exist.
(cherry picked from commit b1c30975d91a8ab871ca4d94de1754d5ee44ef03)
2023-06-12 14:19:17 +01:00
Jonathan Holburn
af3c467285
Merging branch/2023-04-13/extension-callbacks for github pull request < https://github.com/ravenbrook/mps/pull/213 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/213
2023-06-12 14:00:36 +01:00
Richard Brooksby
ced601b71b
Clarifying comments in response to review < https://github.com/ravenbrook/mps/pull/213#discussion_r1191144878 >
2023-06-09 14:49:32 +01:00
Richard Brooksby
ed26ed17b9
Improving comments in response to review < https://github.com/ravenbrook/mps/pull/213#pullrequestreview-1422468433 >.
2023-06-09 14:43:41 +01:00
Richard Brooksby
325e25f036
Adding arena contraction callback to all chunk deallocations, so that it is called when the arena is destroyed.
2023-06-09 14:29:55 +01:00
Jonathan Holburn
ade77731c7
Correction to last commit
2023-05-23 02:20:51 +01:00
Jonathan Holburn
4bee04cc0e
Executing proc.review.edit
2023-05-23 02:15:02 +01:00
Jonathan Holburn
f95e3cbc05
Consistently use die() in extcon.c
2023-05-10 14:05:36 +01:00
Jonathan Holburn
d2ec9570d7
Add dylan test object to comm.gmk for extcon, missing from last commit
2023-05-10 13:57:26 +01:00
Jonathan Holburn
73b9fbd4cd
Remove homebrew format from extcon testbench and replace with dylan fmt. also disable code relating to stack roots. also replaces deprecated root_table. add comments
2023-05-10 13:51:39 +01:00
Richard Brooksby
87cae62328
Disable extcon test except on windows to workaround our inability to maintain the xcode project for macos. see github issue < https://github.com/ravenbrook/mps/issues/217 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/217
2023-05-02 16:48:22 +01:00
Richard Brooksby
a97e2b2c9a
Disabling the insist comparing the testobj array to the cold end of the stack, since the testobj array is now a static and not comparible.
2023-05-02 16:02:48 +01:00
Richard Brooksby
fbd0d0e082
Moving the root of objects into a static to avoid problems with the cold end of the stack for now, deferring solution of github issue < https://github.com/ravenbrook/mps/issues/210 >. convertin asserts to insists so that they are present in hot builds.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/210
2023-05-02 15:40:26 +01:00
Jonathan Holburn
a5a3fb7e94
Add output to aid cold end of stack debugging
2023-04-26 18:01:53 +01:00
Richard Brooksby
5fdb7072ef
Adding detailed output to extcon about memory reservation and gc cycles, to try to diagnose intermittent failures in ci.
2023-04-14 17:33:16 +01:00
Richard Brooksby
29425d80d4
Removing unnecessary arena_park.
2023-04-14 15:32:37 +01:00
Richard Brooksby
e5015abe5f
Adding an attribute to test_main to prevent clang 14 from inlining it an reordering locals, causing stack roots to become lost. working around github issue < https://github.com/ravenbrook/mps/issues/210 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/210
2023-04-14 15:32:10 +01:00
Richard Brooksby
0896712c51
Adding an assertion that forces gcc not to reorder locals, working around github issue < https://github.com/ravenbrook/mps/issues/210 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/210
2023-04-14 15:08:27 +01:00
Richard Brooksby
4a5fe3fbc4
Detabifying extcon.c.
2023-04-14 10:52:08 +01:00
Richard Brooksby
f8e0026b40
Adding extcon extension/contraction test to posix builds. fixing warnings in extcon.c.
2023-04-14 10:46:56 +01:00
Jonathan Holburn
dcc7666a07
Fix test to ensure that cold pointer exists in colder stack frame.
...
This avoids the issue https://github.com/Ravenbrook/mps/issues/210
Also increase the number of test objects by *10 to make it more likely
the arena will decide to contract.
Also comment out some printfs in the interrupt context, to avoid messy
output.
Also fix some typos in comments
2023-04-14 10:10:18 +01:00
Richard Brooksby
b948191120
Part of making transforms part of the public mps.
...
(cherry picked from commit 6bd64a230a510bc19323da127d622a19bfd43f63)
2023-04-14 09:58:56 +01:00
Jonathan Holburn
82bfc3c832
Add extcon.c to testci target so it runs during ci
2023-04-13 12:34:58 +01:00
Jonathan Holburn
970288d974
Add test for arena extend and contract callbacks
2023-04-13 12:25:15 +01:00
Richard Brooksby
e1590fc699
Part of making extension callbacks part of the public mps.
...
* Move type and macro declarations to the public header mps.h.
* Move documentation to appropriate sections of manual.
(cherry picked from commit b928fa236178fb1bdbe20442c3f53b8e8a545a4b)
2023-04-13 10:07:58 +01:00
Richard Brooksby
53d522b506
Merging branch/2023-03-04/getpagesize-vs-sysconf for github pull request < https://github.com/ravenbrook/mps/pull/188 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/188
2023-03-23 22:17:37 +00:00
Richard Brooksby
0538ddb984
Merging branch/2023-02-27/correct-file-names for github pull request < https://github.com/ravenbrook/mps/pull/179 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/179
2023-03-23 22:09:32 +00:00
Richard Brooksby
0460bcf671
Minor documentation improvements in response to review < https://github.com/ravenbrook/mps/pull/179#pullrequestreview-1354912126 >.
2023-03-23 15:44:06 +00:00
Richard Brooksby
1aa18cdc00
Merging branch/2023-03-09/sig-design-tidy for github pull request < https://github.com/ravenbrook/mps/pull/193 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/193
2023-03-13 20:17:31 +00:00
Richard Brooksby
7ceeab8315
Linking to design.mps.check rather than check.h, now that it exists.
2023-03-13 13:17:47 +00:00
Richard Brooksby
fe7bae4656
Miscellaneous edits in response to review < https://github.com/ravenbrook/mps/pull/193#issuecomment-1466064480 >.
2023-03-13 13:11:06 +00:00
Richard Brooksby
f84241fa4f
Merging branch/2023-02-21/termux-build for github pull request < https://github.com/ravenbrook/mps/pull/164 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/164
2023-03-09 11:53:39 +00:00
Richard Brooksby
1610d65d4c
Explaining the purpose of the calls variable in response to < https://github.com/ravenbrook/mps/pull/164#discussion_r1130845346 >.
2023-03-09 11:33:14 +00:00
Richard Brooksby
0f524b5872
Oops. undoing unnecessary autoconf update.
2023-03-09 10:18:54 +00:00
Richard Brooksby
39e2e60cd1
Cleaning up fixmes. moving signature on abqstruct to the start, since i couldn't find any justification for it to be at the end. it was always at the end.
2023-03-09 10:11:12 +00:00
Richard Brooksby
9f202d3521
Cleaning up fixmes. we no longer initialize protocol classes with static initializers.
2023-03-09 10:06:39 +00:00
Richard Brooksby
0d9d4bfaa1
Cleaning up fixmes. inststruct does not have a signature.
2023-03-09 09:59:16 +00:00
Richard Brooksby
787ea7d302
Moving design documentation of signatures to design.mps.sig and updating tagging from code to be consistent.
2023-03-09 09:40:03 +00:00
Richard Brooksby
556b864c33
Justified the use of signatures at the end of structures (design.mps.sig.field.end). updated markup and improved tagging.
2023-03-09 09:38:36 +00:00
Richard Brooksby
a1147b996d
Merging branch/2023-02-13/fix-typos for github pull request < https://github.com/ravenbrook/mps/pull/149 >.
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/149
2023-03-08 11:10:53 +00:00