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
1ccc6908a6
Remove obsolete file osxc.h.
...
Copied from Perforce
Change: 183954
ServerID: perforce.ravenbrook.com
2014-01-12 21:57:54 +00:00
Gareth Rees
a3c7ed0cab
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
5c6785b815
Catch-up merge from custom/cet/main to master.
...
Includes installable assertion handler, events in circular memory buffers, LARGEADDRESSAWARE, etc.
Copied from Perforce
Change: 182176
ServerID: perforce.ravenbrook.com
2013-05-24 19:42:46 +01:00
Nick Barnes
2df242c567
Remove assertion which requires a higher-resolution clock() than freebsd has. document an alternative mps_clock() implementation using getrusage().
...
Copied from Perforce
Change: 180481
ServerID: perforce.ravenbrook.com
2012-11-15 22:06:49 +00:00
Nick Barnes
5a2950e2a1
Correct comment regarding mps_clocks_per_sec().
...
Copied from Perforce
Change: 180480
ServerID: perforce.ravenbrook.com
2012-11-15 19:30:47 +00:00
Nick Barnes
271b4f6e0a
change mps_clock_t to word.
...
Copied from Perforce
Change: 180151
ServerID: perforce.ravenbrook.com
2012-10-30 08:43:39 +00:00
Nick Barnes
7616ea7159
Take out debugging printfs. oops.
...
Copied from Perforce
Change: 180110
ServerID: perforce.ravenbrook.com
2012-10-26 19:16:59 +01:00
Richard Brooksby
5ee7e6dd84
Tidying up case-insensitive mps_telemetry_control implementation a bit.
...
Copied from Perforce
Change: 180109
ServerID: perforce.ravenbrook.com
2012-10-26 17:04:30 +01:00
Nick Barnes
20ad19da97
Make mps_telemetry_control case-insensitive, and make it accept "all" as an event class.
...
Copied from Perforce
Change: 180098
ServerID: perforce.ravenbrook.com
2012-10-26 13:03:44 +01:00
Richard Brooksby
f1778b7e5b
Adding some comments to late-night mps_lib_telemetry_control improvement.
...
Copied from Perforce
Change: 179364
ServerID: perforce.ravenbrook.com
2012-09-08 08:00:26 +01:00
Richard Brooksby
de3c5202f9
Allowing mps_telemetry_control to be a space-separated list of event kind names defined in eventkindenum.
...
Copied from Perforce
Change: 179363
ServerID: perforce.ravenbrook.com
2012-09-08 02:51:48 +01:00
Richard Brooksby
09dc2bca88
Writing event dumper to print recent events, and adding it to the default assertion handler.
...
NUL-terminating event strings to make them easier to print.
Copied from Perforce
Change: 179132
ServerID: perforce.ravenbrook.com
2012-08-31 14:12:23 +01:00
Richard Brooksby
ad517163a9
Removing obsolete platforms:
...
LII3EG Linux on i386 with EGCS
LIPPGC Linux on POWER with GCC
S7PPMW Mac System 7 on PowerPC with Metrowerks Codewarrior
SOS8CX Solaris on SPARC 8 with cxref
SOS8GC Solaris on SPARC 8 with GCC
SOS8GP Solaris on SPARC 8 with GCC and gprof
SOS9SC Solaris on SPARC 9 with SunPro C
XCPPGC Mac OS X on PowerPC with GCC
Copied from Perforce
Change: 178908
ServerID: perforce.ravenbrook.com
2012-08-12 23:27:35 +01:00
Richard Brooksby
215ef086cb
Removed support for old or dead platforms: osf/1, irix, mac system 7, sunos, windows nt on alpha, windows nt on powerpc.
...
See <https://github.com/datafueled/memory-pool-system/pull/3 > for the origin of this change.
Copied from Perforce
Change: 178872
ServerID: perforce.ravenbrook.com
2012-08-08 19:02:57 +01:00
Richard Brooksby
a612d07713
Adding w3i3mv to mps.c, allowing simple builds. this now works:
...
cl /Feamcss.exe /DCONFIG_PROD_MPS /DCONFIG_VAR_CI amcss.c fmtdy.c fmtdytst.c fmtno.c mps.c testlib.c
Copied from Perforce
Change: 178777
ServerID: perforce.ravenbrook.com
2012-07-30 16:48:02 +01:00
Richard Kistruck
f1b0725278
Mps br/vc9: under ifdef mps_builder_mv, disable warning 4996 where
...
necessary for VC9 builds.
Copied from Perforce
Change: 166497
ServerID: perforce.ravenbrook.com
2008-10-20 15:12:15 +01:00
Richard Kistruck
d6cb0a8aee
Br/vc9: mpsliban.c #pragma warning( disable : 4996 )
...
Copied from Perforce
Change: 165715
ServerID: perforce.ravenbrook.com
2008-08-14 20:48:35 +01:00
Nick Barnes
65bf0450d4
Make arenastep keep track of time.
...
Copied from Perforce
Change: 37432
ServerID: perforce.ravenbrook.com
2002-12-30 15:42:19 +00:00
Richard Brooksby
ae3c248878
Changing global graphics copyright notice to say "portions copyright" to avoid confusion.
...
Copied from Perforce
Change: 30258
ServerID: perforce.ravenbrook.com
2002-06-18 16:28:41 +01:00
Richard Brooksby
e854cd8e1d
Merging branch mps/2002-05-22/open-source-prep.
...
Making some new files consistent with changes from that branch.
Deleting some new Global Graphics confidential files.
Copied from Perforce
Change: 30256
ServerID: perforce.ravenbrook.com
2002-06-18 16:19:34 +01:00
Nick Barnes
6a1a360814
Integrate changes from global graphics.
...
Copied from Perforce
Change: 30250
ServerID: perforce.ravenbrook.com
2002-06-18 14:14:55 +01:00
Richard Brooksby
78ef580722
Eliminating "impl" type tags and replacing them with uri-style file references.
...
Copied from Perforce
Change: 29900
ServerID: perforce.ravenbrook.com
2002-06-07 17:34:59 +01:00
Richard Brooksby
97075f7053
Updating cross references to design documents to html style, to go with master/design document tree.
...
Copied from Perforce
Change: 29897
ServerID: perforce.ravenbrook.com
2002-06-07 16:47:14 +01:00
Richard Brooksby
a0f676c8e1
Adding forward reference to licenses from copyright notices.
...
Adding licenses to a couple of files I missed.
Copied from Perforce
Change: 29837
ServerID: perforce.ravenbrook.com
2002-06-06 11:56:19 +01:00
Richard Brooksby
4301a6db0a
Adding licenses to source code files.
...
Copied from Perforce
Change: 29836
ServerID: perforce.ravenbrook.com
2002-06-06 11:44:23 +01:00
Nick Barnes
db4b3a6fa5
Remove trailing whitespace.
...
Copied from Perforce
Change: 25309
ServerID: perforce.ravenbrook.com
2001-12-17 15:18:17 +00:00
Richard Brooksby
c0bb4cd3cd
Removing hopenames from the master sources.
...
This change will be integrated but ignored (-ay) to the gg-epcore/union sources, so that they retain HopeNames.
Copied from Perforce
Change: 24911
ServerID: perforce.ravenbrook.com
2001-12-07 13:19:25 +00:00
Richard Brooksby
3d5e2ca85f
Adding hopenames back into the master sources, so that they can be included in the union sources along with the id keywords.
...
This was achieved by partially undoing changelist 24817, including an accidental corruption of eventgen.pl.
Copied from Perforce
Change: 24877
ServerID: perforce.ravenbrook.com
2001-12-06 18:14:02 +00:00
Richard Brooksby
7628e0d7e5
Updating titles on external files to say ravenbrook, not harlequin.
...
Updating internal identifier used by "what" to say "Ravenbrook MPS" not "HQNMPS".
Copied from Perforce
Change: 24819
ServerID: perforce.ravenbrook.com
2001-12-05 16:24:22 +00:00
Richard Brooksby
b824e1c406
Updating copyright messages to say copyright 2001 ravenbrook throughout.
...
Adding some missing copyright messages.
Copied from Perforce
Change: 24818
ServerID: perforce.ravenbrook.com
2001-12-05 16:18:43 +00:00
Richard Brooksby
2589307099
Changing hopename keywords to id keywords throughout, to work with perforce.
...
Copied from Perforce
Change: 24817
ServerID: perforce.ravenbrook.com
2001-12-05 16:05:52 +00:00
Richard Brooksby
492dd3c684
Merging changes from union to masters. this incorporates pekka's updates: tuning and a type in amcsshe.c and some adding some missing checks in arenavm.c. it also brings our cope of their hopenames up to date.
...
Copied from Perforce
Change: 24815
ServerID: perforce.ravenbrook.com
2001-12-05 15:48:24 +00:00
Nick Barnes
7acfca905d
Branch imports for masters.
...
Copied from Perforce
Change: 23678
ServerID: perforce.ravenbrook.com
2001-10-31 14:40:56 +00:00