1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-24 07:41:54 -07:00
Commit graph

118 commits

Author SHA1 Message Date
Gareth Rees
5acfa30f9e Add mpseventpy as a target to the xcode project.
Copied from Perforce
 Change: 194296
2018-06-28 17:20:59 +01:00
Gareth Rees
e70b4c273c 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
148f538510 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
bcfbaaf3e4 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
3dbe56a8b7 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
c97f77e5ab 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
7731df6456 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
fb9124c389 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
cc6262ae66 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
618a040531 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
d8c9eca2ce 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
c8f87db81e 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
feb76a51a5 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
cf3c2b6674 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
aff58a3f60 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
37a6c09290 Adding xcode target for tagtest.
Copied from Perforce
 Change: 189128
 ServerID: perforce.ravenbrook.com
2016-02-10 15:42:40 +00:00
Richard Brooksby
6e65f1ff18 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
8e721094a4 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
1a45f8ed9a 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
7622475a16 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
9b4074496f 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
687b0f0fe7 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
864270a6f3 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
d98336d308 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
c381033485 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
883f4a4c3f 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
4ac304fd38 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
0abdd8ae47 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
eeaf8b887a 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
992ab111d6 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
a03056f39a 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
0c2cd2ab6d 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
a3055d56c0 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
6ef8e57b1f Turn freelist into a land class.
Copied from Perforce
 Change: 185155
 ServerID: perforce.ravenbrook.com
2014-04-02 14:01:18 +01:00
Richard Brooksby
103e03d285 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
8c5bb6ae3c Turn on -wunreachable-code for gcc and clang.
Remove unreachable code:
* No need to have different debug options or structured allocation classes for different platforms.
* Don't use STATISTIC_BEGIN, use STATISTIC_STAT.
* #ifdef away the unused code in zmess.c for testing ControlAlloc failure.
* Remove unused code from the example Scheme interpreter.

Copied from Perforce
 Change: 185089
 ServerID: perforce.ravenbrook.com
2014-03-30 14:26:02 +01:00
Gareth Rees
26f1ceb523 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
15d585558e Don't list the test cases to be run in the xcode project: list them in testrun.sh instead so that this is shared with the freebsd and linux platforms.
Format the list with one test case per line so that merges are easier.

Copied from Perforce
 Change: 184958
 ServerID: perforce.ravenbrook.com
2014-03-22 18:04:56 +00:00
Gareth Rees
96d1aec2b6 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
Gareth Rees
9930b9c807 Move coverage testing out of the xcode project (to avoid normal debug builds being slowed down by coverage instrumentation, and to avoid error messages when the tests are unable to update the coverage data).
Copied from Perforce
 Change: 184931
 ServerID: perforce.ravenbrook.com
2014-03-21 12:51:06 +00:00
Gareth Rees
3a249b1bfe Drop .py extension from python executables, as requested by rb.
Copied from Perforce
 Change: 184900
 ServerID: perforce.ravenbrook.com
2014-03-20 11:36:58 +00:00
Richard Brooksby
c861919d7f Catch-up merge from masters.
Copied from Perforce
 Change: 184728
 ServerID: perforce.ravenbrook.com
2014-03-11 16:13:39 +00:00
Gareth Rees
cd7110d70a Add locbwcss and locusss to the test suite on os x, freebsd and linux.
Add const qualifier so that locbwcss and locusss compile without warnings.
Build djbench and gcbench on FreeBSD and Linux.
Don't include <alloca.h> -- alloca is in stdlib.h.

Copied from Perforce
 Change: 184689
 ServerID: perforce.ravenbrook.com
2014-03-08 00:24:04 +00:00
Gareth Rees
1320687ab1 New test program nailboardtest.
Copied from Perforce
 Change: 184570
 ServerID: perforce.ravenbrook.com
2014-02-26 22:41:22 +00:00
Richard Brooksby
fbb0d3be44 Adding basic generic binary tree datatype.
Copied from Perforce
 Change: 184423
 ServerID: perforce.ravenbrook.com
2014-02-23 10:41:07 +00:00
Gareth Rees
a4fa37129c Another catch-up merge from the master sources to the nailboard branch.
Copied from Perforce
 Change: 184407
 ServerID: perforce.ravenbrook.com
2014-02-20 17:44:30 +00:00
Gareth Rees
2853c402e9 Catch-up merge from master sources to nailboard branch.
Copied from Perforce
 Change: 184402
 ServerID: perforce.ravenbrook.com
2014-02-20 14:48:39 +00:00
Gareth Rees
ce1ce29f74 Catch-up merge from master sources to nailboard branch.
Copied from Perforce
 Change: 184402
 ServerID: perforce.ravenbrook.com
2014-02-20 14:48:39 +00:00
Richard Brooksby
199a1261ed Catch-up merge from master, mainly to pick up chain-zones merge.
Copied from Perforce
 Change: 184343
 ServerID: perforce.ravenbrook.com
2014-02-14 15:23:36 +00:00
Richard Brooksby
c915c5abe7 Merging branch //info.ravenbrook.com/project/mps/branch/2014-01-29/mps-chain-zones/... into master.
Copied from Perforce
 Change: 184342
 ServerID: perforce.ravenbrook.com
2014-02-14 15:15:07 +00:00