Gareth Rees
164f0b1214
catch-up merge from master sources at changelevel 194605 to branch/2016-03-30/tract-p-elim.
...
Copied from Perforce
Change: 194617
2018-07-11 21:52:22 +01:00
Gareth Rees
83256946e6
Merge branch 2016-03-27/cbs-tidy into the master sources.
...
Copied from Perforce
Change: 194572
2018-07-10 15:31:25 +01:00
Gareth Rees
7f41cd5d86
Rename "node" to "rangetree" as suggested in review by gdr < https://info.ravenbrook.com/mail/2018/07/05/10-17-35/0/ >
...
Get Xcode builds working.
Add rangetree.[ch] to the source code index.
Copied from Perforce
Change: 194434
2018-07-05 12:06:47 +01:00
Gareth Rees
63b301ca93
New program mpseventpy emits python data structures representing telemetry events.
...
Copied from Perforce
Change: 191895
ServerID: perforce.ravenbrook.com
2016-06-02 15:02:05 +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
Richard Brooksby
1678d1642e
Adding node type, as a tree node containing an address range. this will eventually become the base of segments.
...
Copied from Perforce
Change: 190489
ServerID: perforce.ravenbrook.com
2016-03-28 11:43:06 +01:00
Richard Brooksby
6edbc6b977
Removing mv pool class and substituting mvff.
...
Disabling MV Debug test, since that doesn't work now that it's really MVFF Debug.
Copied from Perforce
Change: 190494
ServerID: perforce.ravenbrook.com
2016-03-27 22:24:57 +01:00
Richard Brooksby
428e8bae92
Fixing build errors on windows (w3i6mv).
...
tagtest was missing from makefiles.
Implicit conversion warning from Clock to double.
Copied from Perforce
Change: 190372
ServerID: perforce.ravenbrook.com
2016-03-24 11:04:58 +00:00
Richard Brooksby
ca7dcd913e
Basic removal of the reservoir pool from code and design.
...
Copied from Perforce
Change: 190000
ServerID: perforce.ravenbrook.com
2016-03-13 20:32:24 +00:00
Gareth Rees
c56dd90bbb
Merge poolamsi.c into poolams.c for consistency with other pool class implementations.
...
Copied from Perforce
Change: 189681
ServerID: perforce.ravenbrook.com
2016-03-06 18:49:47 +00:00
Richard Brooksby
35d7ce99d6
Fixing build on w3i6mv.
...
Copied from Perforce
Change: 189651
ServerID: perforce.ravenbrook.com
2016-03-05 14:08:09 +00:00
Richard Brooksby
325fbc0f15
Backing out changelist 187528 as it removed most of the flags from the c compiler command line on windows.
...
Copied from Perforce
Change: 189253
ServerID: perforce.ravenbrook.com
2016-02-16 17:46:27 +00:00
Gareth Rees
ca8c2ae824
Merge commpre.nmk and commpost.nmk into comm.nmk.
...
Copied from Perforce
Change: 187528
ServerID: perforce.ravenbrook.com
2014-11-29 16:43:45 +00:00
Gareth Rees
c3ca6e36d1
Remove redundant pfmdefs from windows makefiles.
...
Explain how to write a Windows makefile when porting the MPS.
Copied from Perforce
Change: 187473
ServerID: perforce.ravenbrook.com
2014-11-06 15:28:40 +00:00
Gareth Rees
c3daf74967
Simplify platform makefiles on windows, using a temporary makefile to work around nmake's lack of variable expansion in string replacement. this means that when adding a new part you no longer need to edit the platform makefiles, just commpre.nmk and commpost.nmk.
...
Copied from Perforce
Change: 187299
ServerID: perforce.ravenbrook.com
2014-10-20 19:15:57 +01:00
Gareth Rees
8c3e1f4d6c
Link snc in the file-at-a-time builds, so that they match the mps.c builds.
...
Copied from Perforce
Change: 187208
ServerID: perforce.ravenbrook.com
2014-10-11 12:08:24 +01:00
Gareth Rees
22714f19e0
Don't compile test cases with /dndebug even in the hot variety: these assertions may be helpful for detecting problems like job003848.
...
Copied from Perforce
Change: 186798
ServerID: perforce.ravenbrook.com
2014-07-03 11:58:36 +01:00
Gareth Rees
d7a8949891
Put the portable part of the vm interface in its own module.
...
Copied from Perforce
Change: 186630
ServerID: perforce.ravenbrook.com
2014-06-14 16:09:06 +01:00
Gareth Rees
946a50691d
Catch-up merge from master sources @186335 to branch/2014-03-30/addrset.
...
Copied from Perforce
Change: 186348
ServerID: perforce.ravenbrook.com
2014-05-29 14:58:50 +01:00
Gareth Rees
9021a20b4b
Fix the build on windows.
...
Copied from Perforce
Change: 186213
ServerID: perforce.ravenbrook.com
2014-05-20 19:01:26 +01:00
Gareth Rees
34cc9d49e4
Catch-up merge from master sources @186077 to branch/2014-03-30/addrset.
...
Copied from Perforce
Change: 186081
ServerID: perforce.ravenbrook.com
2014-05-13 16:21:39 +01:00
Gareth Rees
d44862dcf7
Ansi platform compiles and passes tests on windows. in detail:
...
* Move Windows-specific modules like vmw3.c out of commpre.nmk and into the platform-specific Nmake files.
* Set StackProbeDEPTH to 0 on the ANSI platform.
* New Nmake file ananmv.nmk builds the MPS for the ANSI platform using Microsoft Visual C/C++.
Copied from Perforce
Change: 186063
ServerID: perforce.ravenbrook.com
2014-05-13 10:12:56 +01:00
Gareth Rees
e332f18190
Only link the testthr* module with test cases that use it.
...
Copied from Perforce
Change: 186055
ServerID: perforce.ravenbrook.com
2014-05-12 21:54:52 +01:00
Gareth Rees
42f18f93af
Catch-up merge from master/...@185556 to branch/2014-03-30/addrset.
...
Copied from Perforce
Change: 185563
ServerID: perforce.ravenbrook.com
2014-04-15 13:14:50 +01:00
Gareth Rees
3f50055416
Fix bugs in exposet0.c and steptest.c on windows.
...
Port djbench and gcbench to Windows.
Run amcssth and awlutth test cases on Windows.
Copied from Perforce
Change: 185354
ServerID: perforce.ravenbrook.com
2014-04-08 16:26:27 +01:00
Gareth Rees
e45793ce57
New header testthr.h provides simple threading interface.
...
Implementations testthrix.c for Unix and testthrw3.c for Windows.
Multi-threaded test cases use the new interface.
Rename lockutw3 to lockut (no longer Windows-specific).
Run multi-threaded test cases on Windows and lockut elsewhere.
Copied from Perforce
Change: 185350
ServerID: perforce.ravenbrook.com
2014-04-08 15:14:32 +01:00
Gareth Rees
4b5d396792
Catch-up merge from master sources to branch/2014-03-30/addrset.
...
Copied from Perforce
Change: 185288
ServerID: perforce.ravenbrook.com
2014-04-07 15:02:09 +01:00
Gareth Rees
0b159dc650
New module failover implements a fail-over allocator as a land class.
...
Use Failover in MVT and MVFF.
Test Failover in landtest.
Implementation of LandFindInZones for Freelist (untested).
Remove signature from RangeStruct so we can embed it without a space cost.
Copied from Perforce
Change: 185196
ServerID: perforce.ravenbrook.com
2014-04-03 12:52:23 +01:00
Gareth Rees
b409ae89f6
Turn freelist into a land class.
...
Copied from Perforce
Change: 185155
ServerID: perforce.ravenbrook.com
2014-04-02 14:01:18 +01:00
Gareth Rees
a929adf067
Add land.c to list of modules, and missing header range.h.
...
Copied from Perforce
Change: 185134
ServerID: perforce.ravenbrook.com
2014-04-01 21:26:07 +01:00
Richard Brooksby
3c543eb1a2
Catch up merge from masters to branch/2014-01-15/nailboard.
...
Copied from Perforce
Change: 185118
ServerID: perforce.ravenbrook.com
2014-04-01 11:43:47 +01:00
Gareth Rees
d934afafc5
Catch-up merge from master sources to branch/2014-03-21/pellesc.
...
Copied from Perforce
Change: 185074
ServerID: perforce.ravenbrook.com
2014-03-28 13:54:30 +00:00
Gareth Rees
68edf84c3b
Remove #pragma warning(disable: ...) for microsoft visual c/c++ warnings that are no longer generated by the code, so that we get the maximum checking from this compiler.
...
Copied from Perforce
Change: 185072
ServerID: perforce.ravenbrook.com
2014-03-28 13:09:14 +00:00
Gareth Rees
b81e8b2cc8
Catch-up merge from master sources to branch/2014-01-15/nailboard.
...
Copied from Perforce
Change: 185029
ServerID: perforce.ravenbrook.com
2014-03-26 16:36:36 +00:00
Gareth Rees
9d5266c0cc
Improved support for pelles c:
...
* Refactor nmake files so that a compiler-specific makefile is included; move Microsoft Visual C-specific options to mv.nmk.
* Add nmake files for Pelles (w3i3pc.nmk and pc.nmk).
* Rename spw3i3mv.c to spw3i3.c and spw3i6mv.c to spw3i6.c since these are also used by Pelles C.
* Make reasonable changes to the source code to avoid warnings from Pelles C:
** check results of function calls;
** avoid useless return values;
** undef max before defining it;
** ensure printf formats are checkable;
** move notreached() assertions to the end of blocks;
** suppress warnings in cases where the code shouldn't be changed ("Unreachable code", "Inline assembly code is not portable", "Structured Exception Handling is not portable").
Copied from Perforce
Change: 184977
ServerID: perforce.ravenbrook.com
2014-03-24 18:23:29 +00:00
Gareth Rees
70a45934ac
Don't list the test cases to be run in commpre.nmk: list them instead in testrun.bat for consistency with other platforms.
...
Format lists of files and test cases with one per line so that merges are easier.
Improve testrun.bat: better success/failure output; fewer gotos.
Copied from Perforce
Change: 184971
ServerID: perforce.ravenbrook.com
2014-03-24 12:12:24 +00:00
Gareth Rees
de74b79bad
Catch-up merge from master/...@184830 to nailboard branch.
...
Copied from Perforce
Change: 184951
ServerID: perforce.ravenbrook.com
2014-03-21 22:19:10 +00:00
Richard Brooksby
1a37468bca
Fixing windows build.
...
Copied from Perforce
Change: 184721
ServerID: perforce.ravenbrook.com
2014-03-11 15:22:21 +00:00
Richard Brooksby
00420bfce5
Fixing freebsd build.
...
Copied from Perforce
Change: 184719
ServerID: perforce.ravenbrook.com
2014-03-11 14:46:47 +00:00
Gareth Rees
f23b54acb7
Catch-up merge from master sources.
...
Copied from Perforce
Change: 184676
ServerID: perforce.ravenbrook.com
2014-03-07 17:29:25 +00:00
Gareth Rees
f40425bef2
Ensure that the mps builds on windows by adding <sa> to mpmcommon.
...
Copied from Perforce
Change: 184675
ServerID: perforce.ravenbrook.com
2014-03-07 17:24:46 +00:00
Gareth Rees
4725d60948
Fixes needed to get airtest to compile and run on windows.
...
Copied from Perforce
Change: 184029
ServerID: perforce.ravenbrook.com
2014-01-16 15:10:18 +00:00
Gareth Rees
fd1b087f66
Add the object format from the scheme example, so that not all test cases use the dylan format.
...
New test case "airtest" (AIR = ambiguous interior reference).
Copied from Perforce
Change: 184026
ServerID: perforce.ravenbrook.com
2014-01-16 14:24:48 +00:00
Gareth Rees
77e9c2692b
Refactor nailboard code from poolamc.c into a new nailboard module.
...
Nailboard design document contains the draft design for the new module.
New functions on Range objects, and documentation thereof: RangeInitCopy, RangeIsEmpty, RangeContains.
Copied from Perforce
Change: 184022
ServerID: perforce.ravenbrook.com
2014-01-15 17:59:02 +00:00
Richard Brooksby
56645cdc0c
Merging branch/2013-05-17/emergency with major rework of mvt, mvff, and cbs.
...
Some parts of this are still ragged, and would not normally pass review, but this is a massive improvement to the existing code.
Copied from Perforce
Change: 182614
ServerID: perforce.ravenbrook.com
2013-06-08 10:57:57 +01:00
Richard Brooksby
982dc78f06
Merging branch/2013-06-05/diag to eliminate the "diag" system. hurrah!
...
Copied from Perforce
Change: 182575
ServerID: perforce.ravenbrook.com
2013-06-06 14:56:47 +01:00
Gareth Rees
3627d69bd2
Remove the diag variety (and the obsolete ti variety) from the makefiles.
...
Copied from Perforce
Change: 182567
ServerID: perforce.ravenbrook.com
2013-06-06 13:46:08 +01:00
Gareth Rees
1c4ff669ac
Remove diag facility.
...
Copied from Perforce
Change: 182553
ServerID: perforce.ravenbrook.com
2013-06-05 18:35:40 +01:00
Gareth Rees
b2e2f66c28
Ensure that mpseventcnv and mpseventtxt are built by default on windows, and that mpseventsql is buildable if you request it.
...
Copied from Perforce
Change: 182537
ServerID: perforce.ravenbrook.com
2013-06-05 15:27:42 +01:00
Gareth Rees
0132ece962
Build and run on windows.
...
Copied from Perforce
Change: 182519
ServerID: perforce.ravenbrook.com
2013-06-04 20:52:40 +01:00