1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-01 02:31:23 -07:00
Commit graph

4485 commits

Author SHA1 Message Date
Gareth Rees
4fe2b4b0d2 Run the test suite before making the release.
Copied from Perforce
 Change: 181103
 ServerID: perforce.ravenbrook.com
2013-03-08 18:58:30 +00:00
Gareth Rees
e15ae067cf Fix typo.
Copied from Perforce
 Change: 181102
 ServerID: perforce.ravenbrook.com
2013-03-08 18:09:24 +00:00
Gareth Rees
25ab662238 Add -*- makefile -*- to .gmk files so that syntax highlighting in emacs works out of the box.
Copied from Perforce
 Change: 181101
 ServerID: perforce.ravenbrook.com
2013-03-08 17:26:12 +00:00
Gareth Rees
fd1af7bfdf Improvements in wording.
Copied from Perforce
 Change: 181099
 ServerID: perforce.ravenbrook.com
2013-03-08 17:00:34 +00:00
Gareth Rees
81eca1b2c1 Make mps_arena_step suitable for purpose: arenastep now calls tracestartcollectall directly (not via arenastartcollect) so that it no longer unclamps the arena as a side effect.
Add test case: steptest now runs with the arena clamped, and checks that mps_arena_step does not unclamp it.

Copied from Perforce
 Change: 181098
 ServerID: perforce.ravenbrook.com
2013-03-08 15:13:16 +00:00
Gareth Rees
2dd7d8f599 Follow policy of not defining symbols from mpstd.h in the external interface, by removing the definition of mps_t_word from mps.h.
Copied from Perforce
 Change: 181096
 ServerID: perforce.ravenbrook.com
2013-03-08 14:03:10 +00:00
Gareth Rees
debb156e8d Move global 'pool' to local so that we can rename argument 'pol' to 'pool'.
Copied from Perforce
 Change: 181095
 ServerID: perforce.ravenbrook.com
2013-03-08 12:41:41 +00:00
Gareth Rees
ed161ae658 Don't accidentally leave the arena in the clamped state after calling mps_arena_collect:
* In mpiscv, release the arena immediately after collecting.
* In zmess, clamp the arena immediately after creating it.

Copied from Perforce
 Change: 181094
 ServerID: perforce.ravenbrook.com
2013-03-08 12:23:44 +00:00
Gareth Rees
8232da8480 Private symbols _mps_sac_s and _mps_sac_freelist_block_s now start with underscores, as per external interface policy.
Copied from Perforce
 Change: 181092
 ServerID: perforce.ravenbrook.com
2013-03-08 12:10:44 +00:00
Gareth Rees
d9c1b37fad Mps_sac_class_s is a type, not a function.
Copied from Perforce
 Change: 181091
 ServerID: perforce.ravenbrook.com
2013-03-08 12:09:52 +00:00
Gareth Rees
543b50104e Ensure that the last entry in the table is preserved, so that we don't get a false positive due to the local variable 'string' keeping this entry alive.
Copied from Perforce
 Change: 181088
 ServerID: perforce.ravenbrook.com
2013-03-08 11:36:38 +00:00
Gareth Rees
ad46b411c0 Don't create an automatic cross-reference if the source already exists (in particular, don't send "mapped" to "mapping" since we already have an entry for "mapped").
Copied from Perforce
 Change: 181086
 ServerID: perforce.ravenbrook.com
2013-03-08 11:00:30 +00:00
Gareth Rees
163e9ad484 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
139a4daa9d Comment out all calls to mps_arena_commit_limit_set in test case amcsshe. (this test case formerly set the commit limit "in the hope of getting one dynamic collection", but this was unreliable: see job003432 for details.)
Copied from Perforce
 Change: 181081
 ServerID: perforce.ravenbrook.com
2013-03-07 17:08:07 +00:00
Gareth Rees
508ed55b10 Fix to the mpsicv test case: get the arena's committed memory after creating the pool, so that the creation of the pool can't cause the committed memory to be bumped upwards.
Copied from Perforce
 Change: 181080
 ServerID: perforce.ravenbrook.com
2013-03-07 16:45:48 +00:00
Gareth Rees
615418b5c8 Fix mutatorfaultcontextsp on lii3* and lii6*.
Copied from Perforce
 Change: 181078
 ServerID: perforce.ravenbrook.com
2013-03-07 15:31:40 +00:00
Gareth Rees
99c01f9fbe Minor documentation improvements:
* Use "OS X" consistently (not "Mac OS X").
* Explain how to avoid GDB from stopping on barrier hits on Linux.
* Bring HTML up to date.

Copied from Perforce
 Change: 181077
 ServerID: perforce.ravenbrook.com
2013-03-07 15:22:41 +00:00
Gareth Rees
b92064a89c The amcssth test case now registers its threads' stacks as roots with the mps.
Copied from Perforce
 Change: 181076
 ServerID: perforce.ravenbrook.com
2013-03-07 14:53:31 +00:00
Gareth Rees
49bb7de575 Fix typo ("arg" for "argc"); add destructor calls to example.
Copied from Perforce
 Change: 181075
 ServerID: perforce.ravenbrook.com
2013-03-07 14:47:41 +00:00
Gareth Rees
06afcd5752 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
9ecff094ec Add testlib_unused(argc) where necessary, so that test cases build on xci6ll.
Copied from Perforce
 Change: 181073
 ServerID: perforce.ravenbrook.com
2013-03-07 14:32:40 +00:00
Gareth Rees
13e6529c52 Make amcssth test case runnable on platforms that use gnumake.
Copied from Perforce
 Change: 181072
 ServerID: perforce.ravenbrook.com
2013-03-07 14:03:00 +00:00
Gareth Rees
8dc0d72a8d Improve the usability of the test suite:
1. "make test" now reports the name of the test case before running it, so that when you look back through the test output you can see which test case failed.
2. "make test" now collects the standard output from all the tests to a log file in /tmp, so that this does not clutter the user's terminal, and so that nothing is lost if the output exceeds the terminal's scrollback.
3. Each test case now prints a success message ("Conclusion: Failed to find any defects.") to standard output (not standard error) so that these messages do not clutter up the terminal when running "make test".
4. Each test case now uses its result code (not the printed message) to indicate whether it succeeded or failed.
5. More of the diagnostic messages from the test cases now start by printing argv[0] so that it is easier to tell which test case was running.

Copied from Perforce
 Change: 181071
 ServerID: perforce.ravenbrook.com
2013-03-07 13:13:32 +00:00
Gareth Rees
d28698af08 Test cases now run by "make test" (on platforms with makefiles).
Copied from Perforce
 Change: 181070
 ServerID: perforce.ravenbrook.com
2013-03-07 10:28:30 +00:00
Gareth Rees
fe11d205a5 Fix mistake in example code.
Copied from Perforce
 Change: 181059
 ServerID: perforce.ravenbrook.com
2013-03-05 17:45:31 +00:00
Gareth Rees
e2b7b1b99c Remove mps_tramp from backtraces.
Copied from Perforce
 Change: 180964
 ServerID: perforce.ravenbrook.com
2013-02-20 16:57:12 +00:00
Richard Brooksby
a622cdfc07 Minor tweaks to allow amcssth test to build under lii3gc at least.
Copied from Perforce
 Change: 180963
 ServerID: perforce.ravenbrook.com
2013-02-20 13:35:23 +00:00
Richard Brooksby
88ad39840e Deprecating the mps trampoline by using vectored exception handling on windows.
Copied from Perforce
 Change: 180961
 ServerID: perforce.ravenbrook.com
2013-02-20 12:11:40 +00:00
Richard Brooksby
0ff56c73fd Fixing typos in comments.
Copied from Perforce
 Change: 180959
 ServerID: perforce.ravenbrook.com
2013-02-19 16:52:44 +00:00
Richard Brooksby
87fb54485f Merging spelling corrections contributed by bruce mitchener and rebuilding manual.
See <7d0a9d6204>.

Copied from Perforce
 Change: 180957
 ServerID: perforce.ravenbrook.com
2013-02-18 15:52:46 +00:00
Richard Brooksby
c4d6a2de1f Merging spelling corrections contributed by bruce mitchener.
See <1c80ccb634>.

Copied from Perforce
 Change: 180956
 ServerID: perforce.ravenbrook.com
2013-02-18 15:46:39 +00:00
Richard Brooksby
2706097eab Integrating branch/2012-10-09/user-guide back to master.
Copied from Perforce
 Change: 180943
 ServerID: perforce.ravenbrook.com
2013-02-08 16:17:34 +00:00
Gareth Rees
b31cda511d Undo changes 180370 and 180390 (which supported interior pointers by checking all nails in an object), as these changes are not suitable for release. work around job003359 for the example scheme interpreter by setting the compilation option -fno-inline-functions.
Copied from Perforce
 Change: 180941
 ServerID: perforce.ravenbrook.com
2013-02-08 15:36:50 +00:00
Gareth Rees
12b79c27fc Bring html up to date for the mps manual.
Copied from Perforce
 Change: 180940
 ServerID: perforce.ravenbrook.com
2013-02-08 15:26:50 +00:00
Gareth Rees
8a859239bd Documentation for mpseventtxt.
Copied from Perforce
 Change: 180939
 ServerID: perforce.ravenbrook.com
2013-02-08 15:25:53 +00:00
Gareth Rees
e355edd8ca 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
785589415f Print event code in uppercase hexadecimal for consistency.
Copied from Perforce
 Change: 180936
 ServerID: perforce.ravenbrook.com
2013-02-08 14:52:05 +00:00
Richard Brooksby
8c17bdd095 Integrate documentation fix from scheme.c.
Copied from Perforce
 Change: 180915
 ServerID: perforce.ravenbrook.com
2013-02-05 16:22:41 +00:00
Richard Brooksby
5e26931702 Corrected statement about forwarding objects being used for padding.
Copied from Perforce
 Change: 180914
 ServerID: perforce.ravenbrook.com
2013-02-05 16:17:40 +00:00
Gareth Rees
bc4ccedc13 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
2ffce9476e Build extra_targets. in particular, build eventsql only if configured to do so.
Copied from Perforce
 Change: 180912
 ServerID: perforce.ravenbrook.com
2013-02-05 15:03:47 +00:00
Gareth Rees
37fa4901e8 Build eventtxt by default.
Copied from Perforce
 Change: 180911
 ServerID: perforce.ravenbrook.com
2013-02-05 15:01:42 +00:00
Gareth Rees
0288de7931 Check for sqlite3.h earlier in the configure process: seems more reliable, but don't understand why. (bad compiler flags on mac os x?)
Copied from Perforce
 Change: 180910
 ServerID: perforce.ravenbrook.com
2013-02-05 14:51:01 +00:00
Gareth Rees
3a59eaf45c Fix glossary issues identified by rb in e-mail.
Copied from Perforce
 Change: 180909
 ServerID: perforce.ravenbrook.com
2013-02-05 14:03:43 +00:00
Gareth Rees
90b84881d8 Bring mps manual html up to date.
Copied from Perforce
 Change: 180908
 ServerID: perforce.ravenbrook.com
2013-02-05 13:37:39 +00:00
Gareth Rees
e12d5890e3 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
Gareth Rees
51b123525e Avoid error "variable 'res' set but not used" from gcc.
Copied from Perforce
 Change: 180905
 ServerID: perforce.ravenbrook.com
2013-02-04 17:32:13 +00:00
Gareth Rees
c6aeb6e62f Merge changes 180885 and 180887 from branch/2012-10-10/measurement to branch/2012-10-09/user-guide.
Copied from Perforce
 Change: 180904
 ServerID: perforce.ravenbrook.com
2013-02-04 16:44:34 +00:00
Gareth Rees
afd7af371b Don't #error if defined(mps_build_ll) and __has_builtin(__builtin_readcyclecounter). put a todo here instead, referencing job003411.
Copied from Perforce
 Change: 180903
 ServerID: perforce.ravenbrook.com
2013-02-04 16:40:28 +00:00
Nick Barnes
7dc00c2912 Get eventcnv/txt/sql working on fri3gc.
Copied from Perforce
 Change: 180887
 ServerID: perforce.ravenbrook.com
2013-01-31 14:54:35 +00:00