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

52 commits

Author SHA1 Message Date
Gareth Rees
1e97a6a193 Turn on -wextra -wwrite-strings when compiling with gcc or clang.
Add missing initializer to mps_args_none.
Change "char *" to "const char *" where necessary.

Copied from Perforce
 Change: 183494
 ServerID: perforce.ravenbrook.com
2013-09-30 17:18:52 +01:00
Richard Brooksby
66bf8d9ce6 Adding awlutth to regular test cases on os x.
Copied from Perforce
 Change: 183000
 ServerID: perforce.ravenbrook.com
2013-07-11 15:53:59 +01:00
Richard Brooksby
636aece062 Catch-up merge from master to macosx-threads branch.
Copied from Perforce
 Change: 182928
 ServerID: perforce.ravenbrook.com
2013-07-05 00:56:22 +01:00
Richard Brooksby
d7c130af26 Lots of tidying up, deleting unnecessary code, and adding documentation.
Copied from Perforce
 Change: 182926
 ServerID: perforce.ravenbrook.com
2013-07-05 00:36:13 +01:00
Richard Brooksby
b471aeb616 Registering exception handler for each thread, rather than the whole task.
This avoids the need to forward exception messages to the debugger, since we can reasonably insist that we're the first handler in the chain for each thread.

Copied from Perforce
 Change: 182925
 ServerID: perforce.ravenbrook.com
2013-07-04 22:58:34 +01:00
Richard Brooksby
8b701281b6 Fixing alloc_table in awlutth.c so that it doesn't allocate a bogus extra word. not sure how it got like this.
Copied from Perforce
 Change: 182896
 ServerID: perforce.ravenbrook.com
2013-07-02 19:18:16 +01:00
Gareth Rees
147e9a54ab No need to compile arg.c separately: included in mps.c since change 181994.
Copied from Perforce
 Change: 182877
 ServerID: perforce.ravenbrook.com
2013-07-01 11:23:59 +01:00
Richard Brooksby
7181701824 Initial implementation of mac os x protection exception handling using mach.
Some threading tests get quite a long way.

Copied from Perforce
 Change: 182872
 ServerID: perforce.ravenbrook.com
2013-06-29 01:22:42 +01:00
Richard Brooksby
8d7124929e Thread scanning for mac os x / mach, and the start of thread exception handling.
Copied from Perforce
 Change: 182834
 ServerID: perforce.ravenbrook.com
2013-06-22 09:02:35 +01:00
Richard Brooksby
d9f95e5213 Mutator fault context definitions for os x using mach.
Copied from Perforce
 Change: 182832
 ServerID: perforce.ravenbrook.com
2013-06-22 00:54:50 +01:00
Richard Brooksby
64773f305d Implementing os x (mach) threading module.
Copied from Perforce
 Change: 182830
 ServerID: perforce.ravenbrook.com
2013-06-21 23:57:07 +01:00
Richard Brooksby
dc3fe5546b Eliminating eventpro.c and simplifying event reading in eventcnv.
Copied from Perforce
 Change: 182748
 ServerID: perforce.ravenbrook.com
2013-06-15 14:24:52 +01:00
Richard Brooksby
117c85cce4 Adding the scheme example to the xcode project.
Adding a simple Scheme benchmark program to stress the MPS mildly.

Copied from Perforce
 Change: 182711
 ServerID: perforce.ravenbrook.com
2013-06-12 23:30:28 +01:00
Richard Brooksby
ac1e57c0ac 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
Gareth Rees
ef933fde2f Remove diag.c from xcode project.
Copied from Perforce
 Change: 182572
 ServerID: perforce.ravenbrook.com
2013-06-06 13:58:01 +01:00
Gareth Rees
67ab8d1385 New test case "fotest" for fail-over of cbs to freelist in mvff. (plus stub for mvt.) need some testing hooks in mvff and mvt for getting the cbs.
This reveals a couple of bugs in MVFF: (i) if CBSDelete fails, this might be because the block is actually on the Freelist instead; (ii) we can't SegFree before calling FreelistDelete because the Freelist needs access to the memory in order to read its pointers.

Copied from Perforce
 Change: 182500
 ServerID: perforce.ravenbrook.com
2013-06-04 16:51:24 +01:00
Gareth Rees
e5b8cf82d8 Add fbmtest to test suite.
Copied from Perforce
 Change: 182433
 ServerID: perforce.ravenbrook.com
2013-06-03 16:21:32 +01:00
Gareth Rees
bb56e5bd24 Add freelist module to core mps.
Copied from Perforce
 Change: 182422
 ServerID: perforce.ravenbrook.com
2013-06-03 12:58:12 +01:00
Gareth Rees
e7487e1c71 Make expt825 and awlutth test cases build on os x.
Add exposet0, expt825 and zmess test cases to test suite on OS X.

Copied from Perforce
 Change: 182415
 ServerID: perforce.ravenbrook.com
2013-06-03 12:18:05 +01:00
Gareth Rees
82da980c32 Always run all the testcases, noting failures instead of stopping.
Copied from Perforce
 Change: 182153
 ServerID: perforce.ravenbrook.com
2013-05-24 11:25:15 +01:00
Gareth Rees
ae5e9a15ca If a test case fails, show the output of the test case that failed, so that it isn't lost if the test suite is running on a build server such as travis ci. (works on os x.)
Copied from Perforce
 Change: 182040
 ServerID: perforce.ravenbrook.com
2013-05-21 17:25:13 +01:00
Richard Brooksby
690db0f51d Catch up merge from mps master to keyword arguments development branch.
Copied from Perforce
 Change: 181890
 ServerID: perforce.ravenbrook.com
2013-05-17 14:37:48 +01:00
Richard Brooksby
4a37063561 The fragmentation limit argument to the mvt pool class is now passed as a floating point fraction, not a percentage, in the keyword interface.
Copied from Perforce
 Change: 181862
 ServerID: perforce.ravenbrook.com
2013-05-16 13:54:06 +01:00
Gareth Rees
8322d3cc83 Test coverage report on os x.
Copied from Perforce
 Change: 181822
 ServerID: perforce.ravenbrook.com
2013-05-15 19:25:16 +01:00
Richard Brooksby
82cf26a55d Consolidating common pool keywords.
Copied from Perforce
 Change: 181649
 ServerID: perforce.ravenbrook.com
2013-05-09 00:06:07 +01:00
Richard Brooksby
3ab047467f Macroizing keyword definitions and adding more keyword argument checking methods.
Copied from Perforce
 Change: 181647
 ServerID: perforce.ravenbrook.com
2013-05-08 23:40:40 +01:00
Richard Brooksby
97574b5298 Moving keyword argument declarations to their own header, since they're largely separable from the mps.
Copied from Perforce
 Change: 181646
 ServerID: perforce.ravenbrook.com
2013-05-08 23:09:35 +01:00
Richard Brooksby
e67939cabb Pushing varargs decoding into a pool class method. much simpler.
Copied from Perforce
 Change: 181642
 ServerID: perforce.ravenbrook.com
2013-05-08 22:43:51 +01:00
Richard Brooksby
a8afd8e6f4 Converting pools to use keyword arguments, mostly, and so far inconsistently, but at least it compiles.
Copied from Perforce
 Change: 181635
 ServerID: perforce.ravenbrook.com
2013-05-08 16:21:12 +01:00
Richard Brooksby
098bf44a5e First draft of keyword arguments. mainly checking in in order to try working with git fusion on this branch.
Copied from Perforce
 Change: 181538
 ServerID: perforce.ravenbrook.com
2013-05-02 17:55:07 +01:00
Gareth Rees
a8745f6701 Test suite runs on os x:
* New Xcode target "testrun" runs all the (runnable) test cases.
* Makefile provides separate targets test-make-build and test-xcode-build for running test suite on different platforms.
* configure selects the appropriate test target.

Copied from Perforce
 Change: 181085
 ServerID: perforce.ravenbrook.com
2013-03-08 10:17:08 +00:00
Gareth Rees
d5f4cb3be4 Build amcssth test case on os x (xci6ll).
Copied from Perforce
 Change: 181074
 ServerID: perforce.ravenbrook.com
2013-03-07 14:33:32 +00:00
Gareth Rees
c952b0e319 Merge 64-bit xcode support from measurement branch.
Copied from Perforce
 Change: 180937
 ServerID: perforce.ravenbrook.com
2013-02-08 14:52:53 +00:00
Gareth Rees
a4a18a1a27 More build/install improvements:
1. Name the command-line tools with the "mps" prefix throughout, for consistency between build and installation.
2. Don't build "mpseventsql.exe" by default on Windows.
3. Instructions for building mpseventsql on the supported platforms.

Copied from Perforce
 Change: 180913
 ServerID: perforce.ravenbrook.com
2013-02-05 15:43:41 +00:00
Gareth Rees
e375f6c353 Improvements to the mps build/installation process:
1. Build eventtxt on Mac OS X (add "eventtxt" as dependency for "all" target).
2. In configure, check for the existence of the header "sqlite3.h" and set EXTRA_TARGETS accordingly.
3. In top-level Makefile, install all targets in EXTRA_TARGETS.

Copied from Perforce
 Change: 180907
 ServerID: perforce.ravenbrook.com
2013-02-05 13:34:42 +00:00
Nick Barnes
5a5f96782e Tidy up the event pipeline.
Copied from Perforce
 Change: 180460
 ServerID: perforce.ravenbrook.com
2012-11-13 12:51:58 +00:00
Nick Barnes
ed914cd37f Further simplify the eventcnv text output format.
Copied from Perforce
 Change: 180054
 ServerID: perforce.ravenbrook.com
2012-10-24 16:10:46 +01:00
Richard Brooksby
de57ef9b83 Merging improvements from version 1.110 branch.
Copied from Perforce
 Change: 179643
 ServerID: perforce.ravenbrook.com
2012-09-23 18:04:49 +01:00
Richard Brooksby
d67f0ebf0e Warnings now treated as errors under xcode.
Copied from Perforce
 Change: 179575
 ServerID: perforce.ravenbrook.com
2012-09-20 01:12:55 +01:00
David Lovemore
cc9f992526 Made deployment target os x 10.4.
Copied from Perforce
 Change: 179391
 ServerID: perforce.ravenbrook.com
2012-09-10 14:59:05 +01:00
Richard Brooksby
d0f6b8b952 Fixing xcode project to exclude table, which cet-transform moved into the mpm.
Copied from Perforce
 Change: 179310
 ServerID: perforce.ravenbrook.com
2012-09-06 17:20:42 +01:00
Richard Brooksby
222d6ffaed Downgrading hot optimisation from -o3 to -o2.
DL feels uneasy about -O3 until we're certain we're not breaking aliasing rules.

Copied from Perforce
 Change: 179278
 ServerID: perforce.ravenbrook.com
2012-09-05 18:20:38 +01:00
Richard Brooksby
003ea87973 Renaming "he" variety to "hot" and "ci" variety to "cool". like the old days.
Copied from Perforce
 Change: 179170
 ServerID: perforce.ravenbrook.com
2012-09-02 11:04:53 +01:00
Richard Brooksby
0070b005a1 Removing product-specific configuration, including dylan- and scriptworks-specific targets and config_prod configurations. we should support any necessary requirements generically.
It's now possible to write "cc -c mps.c" and get a sensible result.

Copied from Perforce
 Change: 179169
 ServerID: perforce.ravenbrook.com
2012-09-02 10:39:42 +01:00
Richard Brooksby
1d0b04ae97 Fixing warnings revealed by xcode (clang).
Copied from Perforce
 Change: 178898
 ServerID: perforce.ravenbrook.com
2012-08-11 09:30:24 +01:00
Richard Brooksby
9e6f6ee4ac Merging branch/2012-05-21/build-xci6ll -- build support for 64-bit mac os x.
Copied from Perforce
 Change: 178560
 ServerID: perforce.ravenbrook.com
2012-07-05 14:38:21 +01:00
Richard Brooksby
eb9e12cacb All tests listed under the "all" target in gc.gmk are now building, and all but sacss do not find defects.
Copied from Perforce
 Change: 178321
 ServerID: perforce.ravenbrook.com
2012-05-24 17:39:13 +01:00
Richard Brooksby
db14e7982d Wrote stack scanner for xci6ll and other unix-like x86_64 platforms. more tests complete.
Copied from Perforce
 Change: 178294
 ServerID: perforce.ravenbrook.com
2012-05-23 15:56:52 +01:00
Richard Brooksby
ec55536827 Added single compilation unit version of mps library to allow global optimization and universal binary building. minor fixes to other sources to avoid clashing symbols.
Separated XCI3GC (gcc) from XCI3LL (clang) platforms, so that we can build both 32- and 64-bit binaries with clang.
Enabled universal (multi architecture) builds.

Copied from Perforce
 Change: 178287
 ServerID: perforce.ravenbrook.com
2012-05-22 21:27:55 +01:00
Richard Brooksby
e6eeb3651e Several tests running on xci6ll target.
Copied from Perforce
 Change: 178286
 ServerID: perforce.ravenbrook.com
2012-05-22 20:02:28 +01:00