Gareth Rees
56a5573881
Update xcode project for xcode 10.0.
...
Xcode 10.0 no longer supports building for IA-32, so the MPS can no longer support building for xci3ll using Xcode.
Revise example Scheme interpreter so that it can be compiled even if getopt.h includes unistd.h (as it does on macOS).
Copied from Perforce
Change: 195090
2018-09-18 15:00:45 +01:00
Gareth Rees
a53d45c5c7
Change file types to text+k.
...
Copied from Perforce
Change: 192578
ServerID: perforce.ravenbrook.com
2016-10-14 12:40:35 +01:00
Gareth Rees
82690aa532
Untabify.
...
Copied from Perforce
Change: 191528
ServerID: perforce.ravenbrook.com
2016-04-21 20:50:45 +01:00
Richard Brooksby
7fd416c8b0
Updating .p4ignore files with miscellaneous entries collected from work with git.
...
Copied from Perforce
Change: 190702
ServerID: perforce.ravenbrook.com
2016-04-05 11:27:30 +01:00
Richard Brooksby
a2931bfddb
Linking .p4ignore to .gitignore to share configuration between perforce and git.
...
Copied from Perforce
Change: 190667
ServerID: perforce.ravenbrook.com
2016-04-04 19:20:26 +01:00
Richard Brooksby
372aa0090e
Undoing accidental submit of change to arena size in scheme-advanced.c.
...
Copied from Perforce
Change: 190624
ServerID: perforce.ravenbrook.com
2016-04-02 07:36:54 +01:00
Richard Brooksby
956f09bc2d
Reducing over-ambitious random alignment increases in apss test.
...
Copied from Perforce
Change: 190575
ServerID: perforce.ravenbrook.com
2016-03-31 09:28:41 +01:00
Richard Brooksby
f4ed2a04a2
Removing redundant closure size argument from scheme example.
...
Copied from Perforce
Change: 189494
ServerID: perforce.ravenbrook.com
2016-03-01 16:03:55 +00:00
Richard Brooksby
f9743bb9f4
Updating scheme example to demonstrate mps_root_create_area rather than deprecated mps_root_create_table.
...
Copied from Perforce
Change: 189488
ServerID: perforce.ravenbrook.com
2016-03-01 15:11:39 +00:00
Richard Brooksby
0f8bee3762
Detabifying code and restructuredtext files.
...
Copied from Perforce
Change: 189309
ServerID: perforce.ravenbrook.com
2016-02-18 19:58:13 +00:00
Richard Brooksby
4f9d662103
Bringing scheme example up to date with interface changes.
...
Copied from Perforce
Change: 189206
ServerID: perforce.ravenbrook.com
2016-02-15 23:39:24 +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
273839a834
Fixing typo thanks to < https://github.com/ravenbrook/mps/pull/4#issuecomment-43051451 >
2016-01-28 16:03:16 +00:00
Sam Skulls
dc77e889d1
Fix typo
2016-01-28 16:01:52 +00:00
Richard Brooksby
5dccd2e006
Catch-up merge from masters.
...
Copied from Perforce
Change: 188928
ServerID: perforce.ravenbrook.com
2016-01-20 11:04:09 +00:00
Gareth Rees
0bebdf5ad1
Need to pass sizeof(mps_word_t) - 1 for the mask argument to get the old behaviour.
...
Copied from Perforce
Change: 188317
ServerID: perforce.ravenbrook.com
2015-09-14 21:17:19 +01:00
Gareth Rees
7d43cfa380
Rename mps_root_create_reg_masked to mps_root_create_stack, and deprecate mps_root_create_reg, as suggested in review by nb < https://info.ravenbrook.com/mail/2015/09/09/16-18-10/0/ >.
...
Copied from Perforce
Change: 188312
ServerID: perforce.ravenbrook.com
2015-09-14 20:16:14 +01:00
Gareth Rees
0aa611f22c
Don't call mps_definalize in the example scheme interpreter: it's not actually an optimization because of the inefficient implementation.
...
Copied from Perforce
Change: 187123
ServerID: perforce.ravenbrook.com
2014-10-02 13:49:28 +01:00
Gareth Rees
2b424af0a5
Remove unused argument 'buckets' from scheme table_find. (this broke the xcode build on os x.)
...
Copied from Perforce
Change: 187116
ServerID: perforce.ravenbrook.com
2014-10-02 11:42:33 +01:00
Gareth Rees
5681e48d58
Must test a key for staleness with respect to a location dependency before setting it (not just before looking it up or deleting it).
...
Copied from Perforce
Change: 187079
ServerID: perforce.ravenbrook.com
2014-09-28 23:32:37 +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
2b313decf1
Catch-up merge from master sources @186519 to branch/2014-05-17/chunk-tree.
...
Copied from Perforce
Change: 186520
ServerID: perforce.ravenbrook.com
2014-06-12 11:43:56 +01:00
Gareth Rees
6e72fe4da3
Synchronize stdout and stderr (for the benefit of windows).
...
Copied from Perforce
Change: 186519
ServerID: perforce.ravenbrook.com
2014-06-12 11:37:50 +01:00
Gareth Rees
e93033f289
Must fflush stderr too--it's buffered on windows!
...
Copied from Perforce
Change: 186517
ServerID: perforce.ravenbrook.com
2014-06-12 11:28:41 +01:00
Gareth Rees
e79e0ee1dd
Need to synchronize stdout and stdin for the benefit of windows.
...
Copied from Perforce
Change: 186516
ServerID: perforce.ravenbrook.com
2014-06-12 11:22:55 +01:00
Gareth Rees
299bfb2992
Scheme-boehm also processes multiple files.
...
Copied from Perforce
Change: 186245
ServerID: perforce.ravenbrook.com
2014-05-22 15:38:02 +01:00
Gareth Rees
4dc70cba7c
All versions of the scheme interpreter now take multiple files on the command line.
...
Integrate change 186243 to scheme-{advanced,malloc,boehm}.c.
Copied from Perforce
Change: 186244
ServerID: perforce.ravenbrook.com
2014-05-22 13:16:29 +01:00
Gareth Rees
a066764cc8
Add -m command-line option to the scheme example so that we can test it with different initial arena sizes.
...
Copied from Perforce
Change: 186243
ServerID: perforce.ravenbrook.com
2014-05-22 13:05:40 +01:00
Richard Brooksby
3c543eb1a2
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
f025b00534
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
95730b5096
Catch-up merge from master sources.
...
Copied from Perforce
Change: 184668
ServerID: perforce.ravenbrook.com
2014-03-07 14:59:57 +00:00
Gareth Rees
6971bee496
Make mps_args_done obsolete.
...
Copied from Perforce
Change: 184543
ServerID: perforce.ravenbrook.com
2014-02-26 12:47:27 +00:00
Gareth Rees
f0f64a6044
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
8d956f1dc9
Add missing mps_args_done.
...
Copied from Perforce
Change: 184404
ServerID: perforce.ravenbrook.com
2014-02-20 16:10:55 +00:00
Gareth Rees
14dafacf6b
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
426561a8b3
Avoid "discard qualifiers" error from xcode.
...
Copied from Perforce
Change: 184401
ServerID: perforce.ravenbrook.com
2014-02-20 14:45:10 +00:00
Gareth Rees
a889f62ded
Merge change 184399 (avoid warnings from xcode) from scheme.c to scheme-advanced.c.
...
Copied from Perforce
Change: 184400
ServerID: perforce.ravenbrook.com
2014-02-20 14:41:05 +00:00
Gareth Rees
b9b8bdd231
Avoid warnings from xcode when compiling scheme.c.
...
Copied from Perforce
Change: 184399
ServerID: perforce.ravenbrook.com
2014-02-20 14:38:53 +00:00
Gareth Rees
12ea27d7e2
Merge change 184105 (addition of const) from scheme.c to scheme-advanced.c.
...
Copied from Perforce
Change: 184397
ServerID: perforce.ravenbrook.com
2014-02-20 14:20:41 +00:00
Richard Brooksby
59808b800d
Adding const qualifier to various strings as required by xcode.
...
Copied from Perforce
Change: 184105
ServerID: perforce.ravenbrook.com
2014-01-24 15:07:33 +00:00
Gareth Rees
1fb048b002
Naive nailboardisresrange implementation.
...
Show nails in AMCSegDescribe.
Use vectors rather than strings in airtest to avoid job003668.
Copied from Perforce
Change: 184069
ServerID: perforce.ravenbrook.com
2014-01-20 13:26:52 +00:00
Gareth Rees
dd7a13e5cb
Rename align_up and align macros in the scheme example as align_word and align_obj respectively.
...
Copied from Perforce
Change: 183392
ServerID: perforce.ravenbrook.com
2013-09-05 08:15:56 +01:00
Nick Barnes
b860ecfa50
Back out changes to master mps sources made inadvertently during a branch change.
...
Copied from Perforce
Change: 182891
ServerID: perforce.ravenbrook.com
2013-07-02 15:53:46 +01:00
Nick Barnes
4afe5e9b6c
Branch for ap creation key development.
...
Copied from Perforce
Change: 182888
ServerID: perforce.ravenbrook.com
2013-07-02 14:48:25 +01:00
Gareth Rees
2cf1861e8d
Improvements to clarity of weak hash table implementation:
...
* TAG_SIZE was changed to TAG_COUNT in the code, so make the corresponding change in the manual.
* Avoid the "+= 2" hack: use TAG_COUNT(UNTAG_COUNT(...) + 1). Clarity is more important than speed here.
* Use obj_unused for unused hash table entries so that there can be no confusion between NULL meaning "unused" and NULL meaning "splatted by the garbage collector".
* Add references from the example code to the notes.
Copied from Perforce
Change: 182804
ServerID: perforce.ravenbrook.com
2013-06-19 12:59:49 +01:00
Richard Brooksby
725fd962bf
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
e1eaef56c8
Additional merges accidentally left out of changelist 182578. oops.
...
Copied from Perforce
Change: 182580
ServerID: perforce.ravenbrook.com
2013-06-06 15:11:45 +01:00
Richard Brooksby
d14b8bbc81
Merging branch/2013-05-01/keyword-arguments to pick up keyword arguments for object formats.
...
Copied from Perforce
Change: 182562
ServerID: perforce.ravenbrook.com
2013-06-06 12:55:04 +01:00
Gareth Rees
1cea0ed1f6
Prefer -pthread to -lpthread.
...
Copied from Perforce
Change: 182550
ServerID: perforce.ravenbrook.com
2013-06-05 17:46:51 +01:00
Gareth Rees
faaf7d1ae9
Need to specify -std=c99 to get a declaration of vsnprintf.
...
Copied from Perforce
Change: 182548
ServerID: perforce.ravenbrook.com
2013-06-05 17:30:27 +01:00