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
602564a4e1
Merge branch/2014-10-26/sc into the master sources.
...
Copied from Perforce
Change: 194595
2018-07-11 15:20:49 +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
e5b175a961
Catch-up merge from master sources at changelevel 194484 to branch/2014-10-26/sc.
...
Copied from Perforce
Change: 194487
2018-07-06 21:42:35 +01:00
Gareth Rees
a4bbb4ddc2
Merge branch/2016-03-01/mvff-control into the master sources.
...
Copied from Perforce
Change: 194442
2018-07-05 13:37:01 +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
61e24c399a
Take locks before fork(), release them in the parent and reinitialize them in the child.
...
Add forktest target to the Xcode project.
Write design for fork safety and cross-reference from the code.
Update release notes.
Copied from Perforce
Change: 193760
2018-06-14 16:25:08 +01:00
Gareth Rees
0f4564a71b
Merge design.mps.class-interface into design.mps.pool (as suggested by pekka p. pirinen on 1999-07-20).
...
Bring pool class method descriptions up to date.
Document bufferClass, bufferFill, bufferEmpty, totalSize, freeSize methods.
Document generic instance methods at design.mps.protocol.method.
Copied from Perforce
Change: 192642
ServerID: perforce.ravenbrook.com
2016-10-19 15:34:35 +01:00
Gareth Rees
4457a77a07
Initialization and checking of mutatorcontext data structures.
...
New files prmcix.c and prmcxc.c avoid duplicated code.
Copied from Perforce
Change: 192562
ServerID: perforce.ravenbrook.com
2016-10-13 23:13:40 +01:00
Gareth Rees
d0ae56d7dd
Rename prot{i3,i6}.c to prmc{i3,i6}.c because these files are part of the protection mutator context module.
...
Rename prmc{i3,i6}{fr,li,w3,xc}.c to prmc{fr,li,w3,xc}{i3,i6}.c for consistency of ordering of platform codes (OS before AR before CT).
Copied from Perforce
Change: 192512
ServerID: perforce.ravenbrook.com
2016-10-13 13:24:47 +01:00
Gareth Rees
77b12d3ee7
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
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
f501f73eb9
Catch-up merge from master sources to branch/2014-10-26/sc.
...
Copied from Perforce
Change: 190483
ServerID: perforce.ravenbrook.com
2016-03-27 21:28:39 +01:00
Richard Brooksby
7ec5dac2bb
Fixing language standard to c89 for the mps, except mpseventsql which uses c99 extensions such as strtoull.
...
Copied from Perforce
Change: 190254
ServerID: perforce.ravenbrook.com
2016-03-21 10:06:23 +00:00
Richard Brooksby
e8c2a85e82
Consistent use of -std=c89 for gcc and clang on all platforms.
...
Copied from Perforce
Change: 190243
ServerID: perforce.ravenbrook.com
2016-03-20 15:57:52 +00:00
Richard Brooksby
3de3827d47
Catch-up merge from master sources to branch/2014-10-26/sc.
...
Copied from Perforce
Change: 190118
ServerID: perforce.ravenbrook.com
2016-03-16 17:36:35 +00:00
Richard Brooksby
e3ce327e23
Catch-up merge from master sources to branch/2014-10-26/sc.
...
Copied from Perforce
Change: 190092
ServerID: perforce.ravenbrook.com
2016-03-15 11:18:27 +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
21a1f56a69
Remove duplicate file entries in the xcode project.
...
Copied from Perforce
Change: 189952
ServerID: perforce.ravenbrook.com
2016-03-13 12:06:38 +00:00
Richard Brooksby
9c1d2bfb44
Catch-up merge from master sources to branch/2014-10-26/sc.
...
Copied from Perforce
Change: 189865
ServerID: perforce.ravenbrook.com
2016-03-11 14:56:59 +00:00
Richard Brooksby
cc2c7db8ff
Bringing xcode project up to date with filename changes.
...
Copied from Perforce
Change: 189724
ServerID: perforce.ravenbrook.com
2016-03-08 08:32:27 +00:00
Richard Brooksby
0cac870290
Fixing awlut and awluthe dependencies to include testthr in xcode project.
...
Copied from Perforce
Change: 189650
ServerID: perforce.ravenbrook.com
2016-03-05 14:06:37 +00:00
Richard Brooksby
6b9f693dc2
Deleting (very) obsolete design document design.mps.sso1al.
...
Clarifying porting guide (see <57cec90d6a (commitcomment-16498725) >).
Copied from Perforce
Change: 189630
ServerID: perforce.ravenbrook.com
2016-03-04 13:43:24 +00:00
Richard Brooksby
57cec90d6a
Renaming design.mps.ss to design.mps.stack-scan.
...
Copied from Perforce
Change: 189607
ServerID: perforce.ravenbrook.com
2016-03-04 11:54:19 +00:00
Richard Brooksby
ae0871d36e
Removing dead references from the xcode project.
...
Copied from Perforce
Change: 189580
ServerID: perforce.ravenbrook.com
2016-03-03 16:36:43 +00:00
Richard Brooksby
f11eb2ef8c
Catch-up merge from master sources to branch/2014-10-26/sc.
...
Includes hairy merging of stack manipulation code and may need further work on each platform.
Copied from Perforce
Change: 189545
ServerID: perforce.ravenbrook.com
2016-03-02 17:55:25 +00:00
Richard Brooksby
c08c579ef1
Adding scan.c to xcode project.
...
Copied from Perforce
Change: 189220
ServerID: perforce.ravenbrook.com
2016-02-16 01:01:32 +00:00
Richard Brooksby
acc5857820
Catch-up merge from master sources.
...
Copied from Perforce
Change: 189445
ServerID: perforce.ravenbrook.com
2016-02-12 14:54:04 +00:00
Richard Brooksby
ff6d89c6f9
Fixing undeclared extern warning that caused travis build failure < https://travis-ci.org/ravenbrook/mps/jobs/108651659 >.
...
Adding missing warning flags in Xcode to bring into line with strictness of makefiles and catch the above sooner.
Copied from Perforce
Change: 189143
ServerID: perforce.ravenbrook.com
2016-02-11 23:51:21 +00:00
Richard Brooksby
48c5cac4be
Adding tagtest to the list of xcode targets so that it is build for testing.
...
Copied from Perforce
Change: 189132
ServerID: perforce.ravenbrook.com
2016-02-11 20:34:16 +00:00
Richard Brooksby
a0e001c000
Catch up merge from master sources.
...
Copied from Perforce
Change: 189130
ServerID: perforce.ravenbrook.com
2016-02-10 21:10:25 +00:00
Richard Brooksby
f6d3a4f6af
Adding xcode target for tagtest.
...
Copied from Perforce
Change: 189128
ServerID: perforce.ravenbrook.com
2016-02-10 15:42:40 +00:00
Richard Brooksby
2aacdd3867
Using os-provided getopt_long where available, since it doesn't compile cleanly on os x.
...
The getopt_long code promises that the argv array is const, but permutes it. (This problem is mentioned in the man page.) We have trouble getting this past our strict compiler options, especially under Xcode.
Copied from Perforce
Change: 188909
ServerID: perforce.ravenbrook.com
2016-01-14 17:34:49 +00:00
Gareth Rees
3f28170688
Use testrun -s suite when running from xcode.
...
Copied from Perforce
Change: 187938
ServerID: perforce.ravenbrook.com
2015-06-15 17:20:27 +01:00
Gareth Rees
70f065f187
Rename "testpoll" to "testpollnone" (because the old name was misleading: this tests the configuration *without* polling).
...
Copied from Perforce
Change: 187449
ServerID: perforce.ravenbrook.com
2014-11-02 16:52:52 +00:00
Gareth Rees
f20a17304c
Update xcode project to include added files (ssxci3.c, ssxci6.c) and excluded deleted files (sc.h).
...
Copied from Perforce
Change: 187441
ServerID: perforce.ravenbrook.com
2014-10-31 21:42:06 +00:00
Gareth Rees
064c3cea16
Add sncss test case to xcode project.
...
Copied from Perforce
Change: 187222
ServerID: perforce.ravenbrook.com
2014-10-12 13:58:26 +01:00
Gareth Rees
b926ff583f
Use $(target_name) consistently in the xcode project file. don't unset "treat warnings as errors".
...
Copied from Perforce
Change: 186702
ServerID: perforce.ravenbrook.com
2014-06-19 17:48:36 +01:00
Gareth Rees
22593f0e9a
Add new files to xcode project.
...
Copied from Perforce
Change: 186634
ServerID: perforce.ravenbrook.com
2014-06-14 16:25:09 +01:00
Gareth Rees
5107ea0a53
Bring xcode project up to date.
...
Fix signed/unsigned integer comparison warning in Scheme example.
Copied from Perforce
Change: 186629
ServerID: perforce.ravenbrook.com
2014-06-14 16:08:31 +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
af35c2c3ac
Add test suite support to xcode project.
...
Copied from Perforce
Change: 186186
ServerID: perforce.ravenbrook.com
2014-05-19 15:39:18 +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
f82973bf08
Fix problems with the xcode project file (introduced in bad merges):
...
* airtest got built as mv2test in the RASH config
* airtest and nailboardtest got build with profiling in Debug config
* airtest still had bogus WE config
Copied from Perforce
Change: 185916
ServerID: perforce.ravenbrook.com
2014-05-01 12:21:17 +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
a755d16585
Revert hasty merge of branch/2014-04-15/shared -- broke xcode build.
...
Copied from Perforce
Change: 185553
ServerID: perforce.ravenbrook.com
2014-04-15 12:39:51 +01:00
Gareth Rees
fa3e80eb7c
Build and install a shared library on unix platforms.
...
Copied from Perforce
Change: 185543
ServerID: perforce.ravenbrook.com
2014-04-15 11:02:05 +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