1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-23 23:36:27 -07:00
Commit graph

398 commits

Author SHA1 Message Date
Richard Kistruck
2fb8daa6ca Mps master: (integ from br/vc9)
__New w3i3m9 clone-platform__
(see job001944)
w3i3m9.nmk (from w3i3mv.nmk) -- makefile
w3vc9.bat (from w3build.bat) -- Configura release
commpre9.nmk (from commpre.nmk) -- VC9 compiler	and linker opts

__use CONFIG_PF_* to check compiler__
(see job001945)
mpstd.h:
- fix broken behaviour if CONFIG_PF_* is set (result depends on
order of the various platform elifs!); change it to always use
platform detection by looking at preprocessor symbols, and
then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check
that CONFIG and detection match;
- write design notes about interaction of CONFIG_PF_* and
platform detection.
xcppgc.gmk: define both CONFIG_PF_STRING and CONFIG_PF_*.
w3i3m[v9].nmk: define both CONFIG_PF_STRING and CONFIG_PF_*.

Copied from Perforce
 Change: 166536
 ServerID: perforce.ravenbrook.com
2008-10-23 15:34:11 +01:00
Richard Kistruck
4c5e2167f7 Mps br/vc9: mpstd.h: (for all remaining platforms)
- fix broken behaviour if CONFIG_PF_* is set (result depends on 
  order of the various platform elifs!); change it to always use 
  platform detection by looking at preprocessor symbols, and 
  then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check 
  that CONFIG and detection match;
xcppgc.gmk: define both CONFIG_PF_STRING and CONFIG_PF_*.

Copied from Perforce
 Change: 166513
 ServerID: perforce.ravenbrook.com
2008-10-21 18:32:26 +01:00
Richard Kistruck
0300ffec3c Mps br/vc9: mpstd.h:
- fix broken behaviour if CONFIG_PF_* is set (result depends on 
    order of the various platform elifs!); change it to always use 
    platform detection by looking at preprocessor symbols, and 
    then (if CONFIG_PF_STRING *and* CONFIG_PF_* are set) check 
    that CONFIG and detection match;
  - write design notes about interaction of CONFIG_PF_* and 
    platform detection.
w3i3m[v9].nmk: define both CONFIG_PF_STRING and CONFIG_PF_*.

Copied from Perforce
 Change: 166512
 ServerID: perforce.ravenbrook.com
2008-10-21 17:44:17 +01:00
Richard Kistruck
f6d0d07c66 Mps br/vc9: new w3i3m9 clone-platform:
- w3i3m9.nmk: use commpre9.nmk (not commpre.nmk), for VC9 compiler
  and linker options;
- w3i3m[v9].nmk: declare CONFIG_PF_...
- mpstd.h: if CONFIG_PF_... is declared, check that the correct 
  compiler really is in use.

Copied from Perforce
 Change: 166505
 ServerID: perforce.ravenbrook.com
2008-10-20 17:31:57 +01:00
Richard Kistruck
258cb4fb57 Mps br/vc9: new w3i3m9 clone-platform:
Regular changes w3i3mv ->w3i3m9

Copied from Perforce
 Change: 166504
 ServerID: perforce.ravenbrook.com
2008-10-20 16:51:50 +01:00
Richard Kistruck
e814ccfa1e Mps br/vc9: new w3i3m9 clone-platform (not a full platform)
Clone w3i3mv.nmk -> w3i3m9
Clone w3build.bat -> w3vc9.bat

Copied from Perforce
 Change: 166500
 ServerID: perforce.ravenbrook.com
2008-10-20 16:24:20 +01:00
Richard Kistruck
24c8c1a882 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
1117cb7acf Mps br/vc9: exp-166419
Copied from Perforce
 Change: 166419
 ServerID: perforce.ravenbrook.com
2008-10-07 17:49:18 +01:00
Richard Kistruck
0414e16c67 Mps br/vc9: exp-166150
Copied from Perforce
 Change: 166150
 ServerID: perforce.ravenbrook.com
2008-09-10 19:44:02 +01:00
Richard Kistruck
5fa63d65cd Mps br/vc9: commposn.nmk: add /n
Copied from Perforce
 Change: 166148
 ServerID: perforce.ravenbrook.com
2008-09-10 19:26:19 +01:00
Richard Kistruck
f092fe40bc Mps br/vc9: commposn.nmk is clone of commpost.nmk with /n to nmake; use it to overwrite commpost.nmk to see complier options (etc) when doing w3build.bat
Copied from Perforce
 Change: 166147
 ServerID: perforce.ravenbrook.com
2008-09-10 19:25:26 +01:00
Richard Kistruck
4f7511cc14 Mps br/vc9: har har, delete w3build9.bat and w3i3mv9.nmk: they are not going to work.
Copied from Perforce
 Change: 166146
 ServerID: perforce.ravenbrook.com
2008-09-10 19:22:00 +01:00
Richard Kistruck
3e137735f5 Mps br/vc9: a clone of w3i3mv.nmk for using vc9 settings, as found in commpre9.nmk
Copied from Perforce
 Change: 166144
 ServerID: perforce.ravenbrook.com
2008-09-10 18:51:17 +01:00
Richard Kistruck
287cd4a205 Mps br/vc9: undo #pragma warning (4996) in mpslib.h and mpswin.h; testlib.c is where it is needed
Copied from Perforce
 Change: 166143
 ServerID: perforce.ravenbrook.com
2008-09-10 18:50:13 +01:00
Richard Kistruck
2055d068d9 Mps br/vc9: undo damage to w3i3mv.nmk (!include works fine)
Copied from Perforce
 Change: 166142
 ServerID: perforce.ravenbrook.com
2008-09-10 18:48:54 +01:00
Richard Kistruck
39b4d9f7b7 Mps br/vc9: commpre9.nmk has /ox->/o2, /debug:full->
Copied from Perforce
 Change: 166141
 ServerID: perforce.ravenbrook.com
2008-09-10 18:45:27 +01:00
Richard Kistruck
678542cd36 Mps br/vc9: commpre9.nmk is a clone of commpre.nmk for use with vc9
Copied from Perforce
 Change: 166140
 ServerID: perforce.ravenbrook.com
2008-09-10 18:41:57 +01:00
Richard Kistruck
9d87874492 Mps br/vc9: exp-166037 (o1)
Copied from Perforce
 Change: 166037
 ServerID: perforce.ravenbrook.com
2008-09-05 15:24:02 +01:00
Richard Kistruck
41e0bef8c1 Mps br/vc9: exp-166034 (/02)
Copied from Perforce
 Change: 166034
 ServerID: perforce.ravenbrook.com
2008-09-05 15:11:02 +01:00
Richard Kistruck
b3149ee451 mps br/vc9: use /o2 (not /ox) in cflagshot
Copied from Perforce
 Change: 166033
 ServerID: perforce.ravenbrook.com
2008-09-05 14:56:46 +01:00
Richard Kistruck
785517ee4e mps br/vc9: delete commpostn.nmk - it's a useless way to try to run nmake /n
Copied from Perforce
 Change: 166030
 ServerID: perforce.ravenbrook.com
2008-09-05 12:36:08 +01:00
Richard Kistruck
0a1f63baff Mps br/vc9: commpostn.nmk (create): "n" means just show commands nmake would use, don't run them
Copied from Perforce
 Change: 165878
 ServerID: perforce.ravenbrook.com
2008-08-26 18:15:02 +01:00
Richard Kistruck
ebff6f2c1d Mps br/vc9: exp-165719
Copied from Perforce
 Change: 165719
 ServerID: perforce.ravenbrook.com
2008-08-14 21:04:52 +01:00
Richard Kistruck
d190042869 Br/vc9: *sigh* add to the mpswin.h header file: #pragma warning( disable : 4996 )
Copied from Perforce
 Change: 165718
 ServerID: perforce.ravenbrook.com
2008-08-14 20:59:31 +01:00
Richard Kistruck
8e3f484690 Br/vc9: mpslib.h: overkill add to the header file: #pragma warning( disable : 4996 )
Copied from Perforce
 Change: 165717
 ServerID: perforce.ravenbrook.com
2008-08-14 20:55:31 +01:00
Richard Kistruck
6adf5c2f2b Br/vc9: mpsioan.c #pragma warning( disable : 4996 )
Copied from Perforce
 Change: 165716
 ServerID: perforce.ravenbrook.com
2008-08-14 20:50:51 +01:00
Richard Kistruck
0eca817558 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
Richard Kistruck
d5dff566ea Br/vc9: instead of include, just paste in commpre & post (hack!)
Copied from Perforce
 Change: 165714
 ServerID: perforce.ravenbrook.com
2008-08-14 20:38:34 +01:00
Richard Kistruck
93ef5a2484 Mps master: readme et al changes for version 1.108.2
Copied from Perforce
 Change: 164906
 ServerID: perforce.ravenbrook.com
2008-05-01 17:45:07 +01:00
Richard Kistruck
122e0b6e06 Mps master (integ from br/vmarenagrow/code/arenavm.c):
mps_arena_vm_growth(): fail with MPS_RES_PARAM if desired < minimum

Copied from Perforce
 Change: 164899
 ServerID: perforce.ravenbrook.com

GitHub-reference: https://github.com/Ravenbrook/mps/issues/16
2008-05-01 16:24:43 +01:00
Richard Kistruck
419091864c Mps br/vmarenagrow:
mps_arena_vm_growth should give MPS_RES_PARAM is desired < minimum

Copied from Perforce
 Change: 164898
 ServerID: perforce.ravenbrook.com
2008-05-01 15:22:01 +01:00
Richard Kistruck
ef5884c154 Mps br/vmarenagrow: some work-in-progress on visualising gangs:
ArenaTractsInZones - count how many tracts are used/free in each zone
GangsetFullDescribe, GangFullDescribe - show usage
mpm.c: new WriteF tag "u" is space-padded 3-column unsigned

Copied from Perforce
 Change: 164896
 ServerID: perforce.ravenbrook.com
2008-05-01 15:06:20 +01:00
Richard Kistruck
2ebf28bfc9 Mps master (integ from br/vmarenagrow@163759):
mps_arena_vm_growth(): new interface function; client specifies 
  desired arena increment, and minimum arena increment.
   arenavm.c: .chunk-create.fail: try a succession of _gradually_ 
     reducing sizes (aiming to 'waste' at most 1/8th of the available 
     space, rather than the 1/2 that can be 'wasted' by halving each 
     time); stopping at specified minimum arena increment 
     (VMArenaStruct.extendMin) or 4K.

Copied from Perforce
 Change: 164894
 ServerID: perforce.ravenbrook.com
2008-05-01 14:58:10 +01:00
Richard Kistruck
cc94295193 Mps master (integ from br/auto_header): make amcreclaimnailed() call
SegFree if the seg had no preserved objects, no buffer, and is no 
longer nailed for any trace.

Copied from Perforce
 Change: 164885
 ServerID: perforce.ravenbrook.com
2008-04-30 18:56:56 +01:00
Richard Kistruck
fc78b1a10a Mps br/auto_header: (cosmetic) tidy up, add aver unbuffered.
Copied from Perforce
 Change: 164884
 ServerID: perforce.ravenbrook.com
2008-04-30 16:50:12 +01:00
Richard Kistruck
87c5b1791f Mps exp-164852
Copied from Perforce
 Change: 164852
 ServerID: perforce.ravenbrook.com
2008-04-29 15:10:30 +01:00
Richard Kistruck
e53943f8fd Mps br auto_header: cannot segfree nailed seg if it has a buffer
Copied from Perforce
 Change: 164851
 ServerID: perforce.ravenbrook.com
2008-04-29 15:09:12 +01:00
Richard Kistruck
28f802331a Mps br auto_header (not the right place for this): fix .nailboard.limitations.middle;
see mail from Configura.

Copied from Perforce
 Change: 164849
 ServerID: perforce.ravenbrook.com
2008-04-29 14:52:35 +01:00
Richard Kistruck
ad156328cd Mps experimental release exp-164845
Copied from Perforce
 Change: 164845
 ServerID: perforce.ravenbrook.com
2008-04-29 11:35:02 +01:00
Richard Kistruck
3d40ae2a3e Mps integ from br/auto_header: job001784 amc + auto_header leak
poolamc.c: [job001784] fix ControlPool leak in amcSegDestroyNailboard;
arena.c, mpm.h: new ControlDescribe() diagnostic function, to describe arena control pool;
mpsicv.c, comm.gmk: use auto_header format half the time (rnd() & 1).
+ readme.txt: describe job001784 fix.

Copied from Perforce
 Change: 164508
 ServerID: perforce.ravenbrook.com
2008-03-26 17:58:22 +00:00
Richard Kistruck
f96d3c23ca Mps br/auto_header: drop ephemeral diag filters and extra-large diag buffer
Copied from Perforce
 Change: 164507
 ServerID: perforce.ravenbrook.com
2008-03-26 17:09:00 +00:00
Richard Kistruck
5d79e65059 Mps br/auto_header: drop ephemeral arenadestroy and tracedestroy diags
Copied from Perforce
 Change: 164506
 ServerID: perforce.ravenbrook.com
2008-03-26 17:03:17 +00:00
Richard Kistruck
d488b4146a mps br/auto_header: [fix broken build, *sigh*] renaming missed a controlpooldescribe in arena.c
Copied from Perforce
 Change: 164505
 ServerID: perforce.ravenbrook.com
2008-03-26 16:58:17 +00:00
Richard Kistruck
5f42c8abef Mps br/auto_header: rename controlpooldescribe as controldescribe; aaagh tabs
Copied from Perforce
 Change: 164504
 ServerID: perforce.ravenbrook.com
2008-03-26 16:53:34 +00:00
Richard Kistruck
7aee83ee70 Mps br/auto_header: poolamc.c: [job001784] permanent fix: drop tabs, ifdef, and ephemeral diag; update copyright date
Copied from Perforce
 Change: 164503
 ServerID: perforce.ravenbrook.com
2008-03-26 14:47:57 +00:00
Richard Kistruck
0e0de72dd2 Mps br/auto_header: (just arenadestroy diag)
Copied from Perforce
 Change: 164502
 ServerID: perforce.ravenbrook.com
2008-03-26 14:32:53 +00:00
Richard Kistruck
cd44df4e24 Mps br/auto_header: mpsicv: use auto_header format half the time (rnd() & 1);
also: drop tabs; update copyright date

Copied from Perforce
 Change: 164501
 ServerID: perforce.ravenbrook.com
2008-03-26 14:30:59 +00:00
Richard Kistruck
a2e31d78c7 Mps br/auto_header: mpsicv can use auto_header format, by the magic
of adding #ifdefs...  Ahem.  I'll fix that in a minute.

Copied from Perforce
 Change: 164396
 ServerID: perforce.ravenbrook.com
2008-03-12 11:37:06 +00:00
Richard Kistruck
9522199166 Mps br/auto_header: add arenadestroy diag: calls controlpooldescribe
just before finishing the control pool.  This clearly shows the 
job001784 leak, and allows some checking for other such leaks.

Copied from Perforce
 Change: 164385
 ServerID: perforce.ravenbrook.com
2008-03-12 08:29:46 +00:00
Richard Kistruck
c629919d2c Mps br/auto_header:
Add diagnostics to show ControlPool leak when deallocating nailboards with auto_header format.
See logfiles added in this changelist.

Copied from Perforce
 Change: 164383
 ServerID: perforce.ravenbrook.com
2008-03-11 19:53:05 +00:00