From noreply at github.com Fri Jan 1 07:36:36 2016 From: noreply at github.com (GitHub) Date: Thu, 31 Dec 2015 22:36:36 -0800 Subject: [M3commit] [modula3/cm3] b3b91e: Revert "Add support for real time threads" Message-ID: <56861e744879e_10e53f7f7a54b29c6034@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: b3b91ed41434120fc35b07d509ebee288351c38b https://github.com/modula3/cm3/commit/b3b91ed41434120fc35b07d509ebee288351c38b Author: jaykrell Date: 2015-12-30 (Wed, 30 Dec 2015) Changed paths: R m3-libs/m3core/src/thread/PTHREAD/SchedulerPThread.i3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThread.i3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThread.m3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThreadC.c M m3-libs/m3core/src/thread/PTHREAD/m3makefile R m3-libs/m3core/tests/rtthread/src/Main.m3 R m3-libs/m3core/tests/rtthread/src/disablecores R m3-libs/m3core/tests/rtthread/src/enablecores R m3-libs/m3core/tests/rtthread/src/m3makefile Log Message: ----------- Revert "Add support for real time threads" This reverts commit af5b2314a8a7ea76d04dbedcb51dee56ab347c51. This change does not compile on MacOSX, and probably no other Posix system except Linux. Rever it. Commit: 8d93de066ec7db07cf07422f39a819e55885e0b3 https://github.com/modula3/cm3/commit/8d93de066ec7db07cf07422f39a819e55885e0b3 Author: jaykrell Date: 2015-12-31 (Thu, 31 Dec 2015) Changed paths: M m3-sys/m3back/src/M3C.m3 Log Message: ----------- cleanup: replace: foo : M3ID.T := 0; with: foo := M3ID.NoID; Compare: https://github.com/modula3/cm3/compare/f565e395347c...8d93de066ec7 From noreply at github.com Fri Jan 1 11:00:46 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:00:46 -0800 Subject: [M3commit] [modula3/cm3] e8e0dc: Remove spaces from ends of lines. Message-ID: <56864e4eebf47_5a533ffcb01572b863122@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e8e0dc70532f9c37c598d29552f55d52aac04cb3 https://github.com/modula3/cm3/commit/e8e0dc70532f9c37c598d29552f55d52aac04cb3 Author: jaykrell Date: 2015-12-31 (Thu, 31 Dec 2015) Changed paths: M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Remove spaces from ends of lines. Commit: 865126a6fbb5cb96d0d1380baaba4bed4ce3ff53 https://github.com/modula3/cm3/commit/865126a6fbb5cb96d0d1380baaba4bed4ce3ff53 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3front/src/misc/Jmpbufs.m3 M m3-sys/m3front/src/misc/Marker.m3 M m3-sys/m3middle/src/M3RT.m3 M m3-sys/m3middle/src/Target.i3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Restore the code to optionally allocate jmpbufs "inline" instead of with alloca. This is controlled by RTExFrame.Alloca_jmpbuf and Target.Alloca_jmpbu, which must match. This is really an experiement, towards restoring NT386 to working order. If this optoinality was a long term intent, then the compiler's decision would be communicated to the library in generated data (RT0). Compare: https://github.com/modula3/cm3/compare/8d93de066ec7...865126a6fbb5 From noreply at github.com Fri Jan 1 11:01:51 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:01:51 -0800 Subject: [M3commit] [modula3/cm3] 7d670a: More files for making alloca optional. Message-ID: <56864e8f1708b_6aa03f8aec4d12bc783f5@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7d670a8b9ce9ff4fd48e2ab1497460b3e4219415 https://github.com/modula3/cm3/commit/7d670a8b9ce9ff4fd48e2ab1497460b3e4219415 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.i3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- More files for making alloca optional. From noreply at github.com Fri Jan 1 11:04:16 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:04:16 -0800 Subject: [M3commit] [modula3/cm3] 4bcfb9: Go ahead and turn off using alloca for now. Message-ID: <56864f2063ff9_6a733f9050fcf2b88324e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4bcfb9dc7bbea719b7883c6d74fecbc24d9c55a6 https://github.com/modula3/cm3/commit/4bcfb9dc7bbea719b7883c6d74fecbc24d9c55a6 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Go ahead and turn off using alloca for now. From noreply at github.com Sat Jan 2 09:39:33 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 00:39:33 -0800 Subject: [M3commit] [modula3/cm3] 87be3f: Cleanup trailing newlines. Message-ID: <56878cc515f1d_41ec3fb81b61f2c017764c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 87be3fdf17aa5e849a9aea328b46755294b70519 https://github.com/modula3/cm3/commit/87be3fdf17aa5e849a9aea328b46755294b70519 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M caltech-parser/parserlib/kext/src/m3makefile M caltech-parser/parserlib/ktok/src/m3makefile M caltech-parser/parserlib/kyacc/src/m3makefile Log Message: ----------- Cleanup trailing newlines. Commit: 4911c13fb6bcf1612fb6529e3e6b4454ccaf1c23 https://github.com/modula3/cm3/commit/4911c13fb6bcf1612fb6529e3e6b4454ccaf1c23 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M doc/notes/non-destructive-compiler-testing.txt Log Message: ----------- Actually add the notes. Compare: https://github.com/modula3/cm3/compare/4bcfb9dc7bbe...4911c13fb6bc From noreply at github.com Sat Jan 2 10:44:05 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 01:44:05 -0800 Subject: [M3commit] [modula3/cm3] 898ddc: Some small Windows batch files for setting up envi... Message-ID: <56879be547483_e213fe611c572b8120815@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 898ddcb6e2f076f044389669a7862dbc1432fe5e https://github.com/modula3/cm3/commit/898ddcb6e2f076f044389669a7862dbc1432fe5e Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/env/winddk/3790/w2k/x86.cmd A scripts/env/winddk/3790/wnet/x86.cmd A scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- Some small Windows batch files for setting up environment. More to do here. From noreply at github.com Sat Jan 2 11:13:25 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 02:13:25 -0800 Subject: [M3commit] [modula3/cm3] e13db5: initial copy of upgrade-full.sh Message-ID: <5687a2c518d7b_4a9c3ffbc2e812c061675@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e13db572c6f9c784a3a1e11f80ca056cea0d2680 https://github.com/modula3/cm3/commit/e13db572c6f9c784a3a1e11f80ca056cea0d2680 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/python/upgrade-full.cmd Log Message: ----------- initial copy of upgrade-full.sh Commit: 104f0d3759487da85079843b9c69287237469a34 https://github.com/modula3/cm3/commit/104f0d3759487da85079843b9c69287237469a34 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/upgrade-full.cmd Log Message: ----------- rewrite in cmd Commit: 9f1505285faa87ef612852e843ea9f4c8d4e23c2 https://github.com/modula3/cm3/commit/9f1505285faa87ef612852e843ea9f4c8d4e23c2 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Support for bootstrapping from 5.2.6 release -- whose -version does not report host. Sniff it from $OS for NT386. Could be extended to others. Commit: 62434e7a4aa317b8c25d4804602c3cb1da8dbbd4 https://github.com/modula3/cm3/commit/62434e7a4aa317b8c25d4804602c3cb1da8dbbd4 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- 5.2. instead of 5.2, in case there is 5.20 and such Compare: https://github.com/modula3/cm3/compare/898ddcb6e2f0...62434e7a4aa3 From noreply at github.com Sat Jan 2 13:13:35 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:13:35 -0800 Subject: [M3commit] [modula3/cm3] 8bd4b6: Add support for VS2015. Message-ID: <5687beef5a49a_73be3febc931929c947cf@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 8bd4b698efb42a65b99a8220e645970f3ba36e25 https://github.com/modula3/cm3/commit/8bd4b698efb42a65b99a8220e645970f3ba36e25 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A m3-libs/LibcCompat/src/LibcCompat.i3 A m3-libs/LibcCompat/src/LibcCompat.m3 A m3-libs/LibcCompat/src/LibcCompatC.c A m3-libs/LibcCompat/src/m3makefile M m3-libs/sysutils/src/m3makefile M m3-sys/cminstall/src/config-no-install/NT.common M m3-sys/mklib/src/Main.m3 M m3-tools/m3bundle/src/m3makefile A scripts/env/vs2015/x86.cmd M scripts/pkginfo.txt M scripts/python/pylib.py M scripts/python/upgrade.py Log Message: ----------- Add support for VS2015. Specifics: Upgrade from 5.2.6 successful: set CM3_VS2015_OR_NEWER=1 (env\vs2015\x86) rmdir /q/s \cm3.2 xcopy /fivery \cm3-5.2.6 \cm3.2 path=\cm3.2\bin;%PATH% make-dist-cfg.py (for NT.common update -- note that current config files go out of their way to be compatible with older releases) upgrade-full.cmd The user must set CM3_VS2015_OR_NEWER=1 in the environment. Previously and for many years, the C runtime was linked to by linking to either libcmt.lib or msvcrt.lib. Chose one and only one. (Ignoring the aberrant single threaded libc.lib.) With VS2015 this has changed. The user must now pick between two sets of libraries. For dynamic linking: msvcrt.lib, vcruntime.lib, ucrt.lib. For static linking: libcmt.lib, libvcruntime.lib, libucrt.lib. This list is derived from: echo int main() { return 0; } > 1.c cl 1.c /link /verbose cl /MD 1.c /link /verbose So, this is firstly, a makefile/config change, to link to the extra libraries. There might be a way to automatically decide to do this, but I haven't yet thought of a good way. So the user must set in the environment: CM3_VS2015_OR_NEWER=1. This is used in NT.common. User might also need to update his config/NT.common with the checked in one. As well, the new runtime changes the ABI. For example, previously you would statically link to _printf or dynamically link to *__imp__printf. _printf is now an inline function, so not linkable to unless you actually #include the current stdio.h. Manual declarations in C or Modula-3 do not work. Nor do using .objs/.libs compiled with old headers -- such as m3core.lib.sa. So, secondly, package LibcCompat is added to workaround around this. This is only needed for bootstrapping -- this is not a new dependency foisted everywhere into the system. It is only needed by packages built in the bootstrap phase that statically link against the old m3core/libm3. Anything built with a current m3core/libm3 with the same toolset as used to build themselves will automatically work. But bootstrapping with old static m3core/libm3 will not. In future we should consider exporting whatever is our C runtime use from m3core.dll, AND never statically linking to m3core.dll. That would remove this problem. Neither of these are easy however. Thirdly, our mklib is in the business of chosing symbols to export. The new large amount of inline code in the C runtime headers introduces new symbols for mklib to consider. Mklib also truncates symbols at '@'. So even if the new symbols should be exported, mklib breaks them. This causes a link error related to ?_OptionsStorage. So, thirdly, in mklib, omit any C++ symbols -- symbols that start "?". This in particular omits the "_OptionsStorage" global variable introduced by stdio.h (corecrt_stdio_config.h). (Again -- consider eliminating C runtime dependency, or exporting it from m3core. The problem with eliminating it is, at a minimum, we need exception handling, either in the form of setjmp/longjmp, or C++ exception handling, or SEH). Upgrading from newer releases than 5.2.6 may very well likely require more workarounds. Cross builds should be considered, though the automation there is presently less used and might offer other problems to be fixed. The addition of a new package that cm3 is dependent on is somewhat disruptive. LibcCompat.c can be copied around as needed to remove this inconvenience. However, the addition of sysutils a few years ago is an analogous precedent. From noreply at github.com Sat Jan 2 13:51:58 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:51:58 -0800 Subject: [M3commit] [modula3/cm3] 37b827: cosmetic Message-ID: <5687c7eed255e_73e83f8b4dde32b8207174@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 37b827b5270b01ea5b1f36f77156a26db899ee42 https://github.com/modula3/cm3/commit/37b827b5270b01ea5b1f36f77156a26db899ee42 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M m3-libs/LibcCompat/src/LibcCompatC.c Log Message: ----------- cosmetic Commit: 3fe6512043511cc4a52dd0e38599c763c9aac6db https://github.com/modula3/cm3/commit/3fe6512043511cc4a52dd0e38599c763c9aac6db Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: R m3-libs/LibcCompat/src/LibcCompat.i3 R m3-libs/LibcCompat/src/LibcCompat.m3 R m3-libs/LibcCompat/src/LibcCompatC.c R m3-libs/LibcCompat/src/m3makefile M m3-libs/sysutils/src/m3makefile M m3-tools/m3bundle/src/m3makefile M scripts/pkginfo.txt M scripts/python/pylib.py M scripts/python/upgrade.py Log Message: ----------- My mistake seemingly -- LibcCompat is not needed, at least not for upgrading from 5.2.6. Compare: https://github.com/modula3/cm3/compare/8bd4b698efb4...3fe651204351 From noreply at github.com Sat Jan 2 13:53:57 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:53:57 -0800 Subject: [M3commit] [modula3/cm3] 13dfdc: Remake PKGS if it is older than pkginfo.txt. Message-ID: <5687c86583761_4d493fea4d4cf2bc486be@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 13dfdcc213c3aa5bafa7c29899c961965c226219 https://github.com/modula3/cm3/commit/13dfdcc213c3aa5bafa7c29899c961965c226219 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Remake PKGS if it is older than pkginfo.txt. Ideally this would be some sort of hash check, but that requires udpating all the readers (i.e. the Bourne shell scripts and maybe cmd). From noreply at github.com Sat Jan 2 14:17:24 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 05:17:24 -0800 Subject: [M3commit] [modula3/cm3] 7ad2e8: Do not confuse 19.0 and 9.0. Message-ID: <5687cde42f88_2fcd3fa3b0c632a0683fe@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7ad2e883bf793c9ec2a3dcc225e30db5425c73a3 https://github.com/modula3/cm3/commit/7ad2e883bf793c9ec2a3dcc225e30db5425c73a3 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Do not confuse 19.0 and 9.0. From noreply at github.com Sun Jan 3 09:17:56 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 00:17:56 -0800 Subject: [M3commit] [modula3/cm3] cca6a7: backup some work in progress, maybe not worthwhile... Message-ID: <5688d934b8015_3ac93fe6bb8e12a01183df@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: cca6a7069a410184505a672d717c86c3694f4614 https://github.com/modula3/cm3/commit/cca6a7069a410184505a672d717c86c3694f4614 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/python/pylib1.py Log Message: ----------- backup some work in progress, maybe not worthwhile -- cleanup Visual C++ and Windows SDK finding, and extend to newer versions; the directory structures change every few years, maybe best to require user to set include/lib/path Commit: 18aa17e2421b7bb945a7a8b3525c118f7801785d https://github.com/modula3/cm3/commit/18aa17e2421b7bb945a7a8b3525c118f7801785d Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib1.py Log Message: ----------- Trim it down. Commit: 5a874253f5f5a82d6553c7ac46cd881841a45f23 https://github.com/modula3/cm3/commit/5a874253f5f5a82d6553c7ac46cd881841a45f23 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M scripts/python/pylib1.py Log Message: ----------- checkpoint, maybe not pursuing. Compare: https://github.com/modula3/cm3/compare/7ad2e883bf79...5a874253f5f5 From noreply at github.com Sun Jan 3 09:22:50 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 00:22:50 -0800 Subject: [M3commit] [modula3/cm3] Message-ID: <5688da5a17993_79073ff94a0c52a0175385@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/tags/cm3-min_NT386-d5.10.0-VC2015-20160102 Home: https://github.com/modula3/cm3 From noreply at github.com Sun Jan 3 10:38:41 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 01:38:41 -0800 Subject: [M3commit] [modula3/cm3] a6aab3: Script to crudely cleanup environment, when switch... Message-ID: <5688ec219f63_7a533f823204529c126011@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: a6aab380d06b6e1a5f5178b446029ba66f064db6 https://github.com/modula3/cm3/commit/a6aab380d06b6e1a5f5178b446029ba66f064db6 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: A scripts/env/clean.cmd Log Message: ----------- Script to crudely cleanup environment, when switching toolsets. Commit: ed78b83e8289d7062c45a42f4d9b03be49d61d5e https://github.com/modula3/cm3/commit/ed78b83e8289d7062c45a42f4d9b03be49d61d5e Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/NT.common Log Message: ----------- iphlpapi.lib is missing in older toolsets, and we use LoadLibrary/GetProcAddress anyway, so remove it. ws2_32 is also missing, but we use it (todo? wsock32.lib?) Compare: https://github.com/modula3/cm3/compare/5a874253f5f5...ed78b83e8289 From noreply at github.com Sun Jan 3 11:01:25 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 02:01:25 -0800 Subject: [M3commit] [modula3/cm3] e16cac: Ease verbosity and trim more. Message-ID: <5688f17550793_5a543fc354e5d2b8406b3@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e16cac8f57c92ad2f877820f7607fa53228b5a10 https://github.com/modula3/cm3/commit/e16cac8f57c92ad2f877820f7607fa53228b5a10 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- Ease verbosity and trim more. From noreply at github.com Mon Jan 4 13:29:37 2016 From: noreply at github.com (GitHub) Date: Mon, 04 Jan 2016 04:29:37 -0800 Subject: [M3commit] [modula3/cm3] 224b88: cleanup Message-ID: <568a65b1ce055_44a93ff4bd1a529c666e0@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 224b882af05e3f3459c2fe6b48022a084abe9f1c https://github.com/modula3/cm3/commit/224b882af05e3f3459c2fe6b48022a084abe9f1c Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- cleanup Commit: d189cb5497317008c6c18df461d152e7f31ba831 https://github.com/modula3/cm3/commit/d189cb5497317008c6c18df461d152e7f31ba831 Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- case insensitivity Commit: 97ab8cd13b41075e5bf9944cbf579b6d23d452ce https://github.com/modula3/cm3/commit/97ab8cd13b41075e5bf9944cbf579b6d23d452ce Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- support for 5.1 Commit: 0192efb12ad5c7f84a8334a5894e1e00611aaff1 https://github.com/modula3/cm3/commit/0192efb12ad5c7f84a8334a5894e1e00611aaff1 Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M m3-libs/m3core/src/Csupport/Common/hand.c Log Message: ----------- Support Visual C++ 5.0 and older that do not have _rotl64 and _rotr64. 7.1 verified to have it, 6.0 and 7.0 not yet tested. Compare: https://github.com/modula3/cm3/compare/e16cac8f57c9...0192efb12ad5 From noreply at github.com Tue Jan 5 11:30:50 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 02:30:50 -0800 Subject: [M3commit] [modula3/cm3] 0c3cfb: Support Visual C++ 2.0 and 4.0 toolsets by using w... Message-ID: <568b9b5aa95e8_76903f9d30e0b2a015032b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 0c3cfbf065a00b3b755fa569c218dfa3c58b2968 https://github.com/modula3/cm3/commit/0c3cfbf065a00b3b755fa569c218dfa3c58b2968 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/NT.common Log Message: ----------- Support Visual C++ 2.0 and 4.0 toolsets by using wsock32.dll instead of ws2_32.dll. This might be put back for ipv6 support, but it might not since it looks like the headers use LoadLibrary/GetProcAddress for that. Commit: d690da919c0e8e37a455b78d47a4ef572bf9bc40 https://github.com/modula3/cm3/commit/d690da919c0e8e37a455b78d47a4ef572bf9bc40 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A m3-libs/sysutils/src/LibcCompatC.c M m3-libs/sysutils/src/m3makefile M m3-tools/m3bundle/src/m3makefile Log Message: ----------- Support for bootstrapping from the cm3-5.1.3 release, which must have been built with Visual C++ 4.0, or maybe 4.1 or 4.2. 4.0 in particular (4.1/4.2 unknown) output floating point division that requires Pentium fdiv workaround in the C runtime, that is missing in newer C runtimes. Put this in sysutils instead of where I was previously considering, a new LibcCompat package. This is only needed for bootstrap, not for everything. i.e. when using an old m3core. The floating point division is in dtoa.c, which maybe should be in Modula-3. "None" of the backends generate this code -- well, the C backend with old C compiler would. Commit: d2d199f6409757b20acdedeeb330b083f9bea068 https://github.com/modula3/cm3/commit/d2d199f6409757b20acdedeeb330b083f9bea068 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A scripts/env/vc20.cmd A scripts/env/vc40/x86.cmd Log Message: ----------- More scripts to set compilation environment. Commit: 21ca2796ef6d7fd12587c97c4c974f653f3bfb58 https://github.com/modula3/cm3/commit/21ca2796ef6d7fd12587c97c4c974f653f3bfb58 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-libs/sysutils/src/LibcCompatC.c M m3-libs/sysutils/src/m3makefile Log Message: ----------- Comments as to problems with certain bootstrap combinations but no real change or fix. i.e. using old static libs with new compiler/runtime. Compare: https://github.com/modula3/cm3/compare/0192efb12ad5...21ca2796ef6d From noreply at github.com Tue Jan 5 12:02:23 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 03:02:23 -0800 Subject: [M3commit] [modula3/cm3] 342610: A more complete clean.cmd that sets a pretty bare ... Message-ID: <568ba2bfc2f7a_3a1d3fbcd36d32b85032f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 3426107b5357facb5bb340bb696f3a8fbe24955b https://github.com/modula3/cm3/commit/3426107b5357facb5bb340bb696f3a8fbe24955b Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A scripts/env/clean2.cmd Log Message: ----------- A more complete clean.cmd that sets a pretty bare PATH. From noreply at github.com Tue Jan 5 12:57:12 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 03:57:12 -0800 Subject: [M3commit] [modula3/cm3] bc3df1: Do not accidentally export printf from m3core.dll. Message-ID: <568baf98405d_3d903fb2c90eb29c919c9@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: bc3df1e2e503be86c2822070d477c0a3475d2c82 https://github.com/modula3/cm3/commit/bc3df1e2e503be86c2822070d477c0a3475d2c82 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/runtime/common/RTIOc.c M m3-libs/m3core/src/runtime/common/RTLinkerC.c M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/m3core/src/unix/Common/Usocket.c Log Message: ----------- Do not accidentally export printf from m3core.dll. printf and others are now inline in a header and as a result mklib sees them and exports them -- another strike against code in headers. From noreply at github.com Wed Jan 6 13:39:42 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 04:39:42 -0800 Subject: [M3commit] [modula3/cm3] 746e4a: Partial workaround bootstrapping from newer Visua... Message-ID: <568d0b0e6f233_1ae3fce2022729c846c0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 746e4a776bf188e03b487e4290e0df8ff8be4ff7 https://github.com/modula3/cm3/commit/746e4a776bf188e03b487e4290e0df8ff8be4ff7 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/sysutils/src/LibcCompatC.c M m3-sys/mklib/src/Main.m3 Log Message: ----------- Partial workaround bootstrapping from newer Visual C++ toolset to older. - Be sure to use _assert and not _wassert. Newer runtimes have both. Older runtimes only have _assert. - Redirect _ftol2_sse to _ftol or _ftol2. - Keep various symbols out of exports in mklib. However this still isn't enough: m3core.lib.sa(TimeWin32.obj) : error LNK2019: unresolved external symbol __dtol3 referenced in function _TimeWin32__ToFileTime m3core.lib.sa(TimeWin32.obj) : error LNK2019: unresolved external symbol __ltod3 referenced in function _TimeWin32__FromFileTime m3core.lib.sa(ThreadWin32C.obj) : error LNK2019: unresolved external symbol @__security_check_cookie at 4 referenced in function _ThreadWin32__ProcessLive m3core.lib.sa(dtoa.obj) : error LNK2019: unresolved external symbol __imp____fpe_flt_rounds referenced in function _m3_strtod m3core.lib.sa(dtoa.obj) : error LNK2019: unresolved external symbol __dtoui3 referenced in function _m3_strtod at which point give up. Commit: 784fbaa9a94dcc03ca0e2401ad38a338b7a88c0a https://github.com/modula3/cm3/commit/784fbaa9a94dcc03ca0e2401ad38a338b7a88c0a Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- Go ahead and workaround missing cderr.h in XP environment. Commit: 561904013825bea5e490751e4f09237bdd5c87a9 https://github.com/modula3/cm3/commit/561904013825bea5e490751e4f09237bdd5c87a9 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: A scripts/python/test1.cmd Log Message: ----------- Add what I'm using to look for the alloca problem, and not a bad workflow for some testing. Commit: e0bfe8ce30aa1d5dd9fb4cb1297670e7f67f227c https://github.com/modula3/cm3/commit/e0bfe8ce30aa1d5dd9fb4cb1297670e7f67f227c Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/sysutils/src/LibcCompatC.c M m3-sys/mklib/src/Main.m3 Log Message: ----------- Add _wassert so that one can upgrade from the 5.8.6 release using Visual C++ 7.1. Compare: https://github.com/modula3/cm3/compare/bc3df1e2e503...e0bfe8ce30aa From noreply at github.com Wed Jan 6 14:50:33 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 05:50:33 -0800 Subject: [M3commit] [modula3/cm3] Message-ID: <568d1ba9b443a_60123faa931c929c708ab@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/tags/d5.10.0-20160106 Home: https://github.com/modula3/cm3 From noreply at github.com Wed Jan 6 14:53:56 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 05:53:56 -0800 Subject: [M3commit] [modula3/cm3] 09b511: Fix NT bootstrap Makefile since cm3 and mklib's Ma... Message-ID: <568d1c748c368_7f573fee4ebbf2c02063@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 09b511a083e78a75fe829c445ac5171300a9b1ac https://github.com/modula3/cm3/commit/09b511a083e78a75fe829c445ac5171300a9b1ac Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Fix NT bootstrap Makefile since cm3 and mklib's Main.mo moved into separate directories. Commit: 1667fcb358cfdfc2595f7d4847d92a199c3f4a6e https://github.com/modula3/cm3/commit/1667fcb358cfdfc2595f7d4847d92a199c3f4a6e Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/cm3/src/Builder.m3 Log Message: ----------- Fix regression from LLVM mode introduction circa 7/31/2015 004d0f687b912e65fb810dc6ca38917208beacd1. Bootstrapping of .c/.h/.s must copy them. Commit: c8569cf28d473714804f83cd56a9d32cbfbdc9bf https://github.com/modula3/cm3/commit/c8569cf28d473714804f83cd56a9d32cbfbdc9bf Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- space is adequate, don't need tabe; add a crude clean target, remove iphlpapi.lib Commit: 8ccc5406829e8390d51c63a981eed622fad124d9 https://github.com/modula3/cm3/commit/8ccc5406829e8390d51c63a981eed622fad124d9 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c Log Message: ----------- Remove assert/wassert workaround from here. 5.8.6 already released without it, and the workaround in LibcCompatC.c should suffice, let alone using bootstraps. Commit: d3974d071fb01aff1c567f1788f29298281df424 https://github.com/modula3/cm3/commit/d3974d071fb01aff1c567f1788f29298281df424 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- remove redundant looking close -- though make.sh remains, todo another day Compare: https://github.com/modula3/cm3/compare/e0bfe8ce30aa...d3974d071fb0 From noreply at github.com Tue Jan 12 05:22:47 2016 From: noreply at github.com (GitHub) Date: Mon, 11 Jan 2016 20:22:47 -0800 Subject: [M3commit] [modula3/cm3] 277b5f: Skip some C runtime symbols, in anticipation of ad... Message-ID: <56947f97a5772_5ef73fbd02ee12a01802e1@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 277b5f8632aa1b543a2bd8f4c708a18e7bd46803 https://github.com/modula3/cm3/commit/277b5f8632aa1b543a2bd8f4c708a18e7bd46803 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- Skip some C runtime symbols, in anticipation of adding them to sysutils/LibcCompatC.c in order to build with new and then old Visual C++. Commit: 3a3b7db50b092652de02b114f2e2445734e4b0d1 https://github.com/modula3/cm3/commit/3a3b7db50b092652de02b114f2e2445734e4b0d1 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- Remove _wassert and __wassert to match my other checkout. Commit: 5b55b1854a876801f21f47a68d2a0d54acddd923 https://github.com/modula3/cm3/commit/5b55b1854a876801f21f47a68d2a0d54acddd923 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- put back wassert Commit: 8545f861a00873eb0fe7057d3485f4d3b6892297 https://github.com/modula3/cm3/commit/8545f861a00873eb0fe7057d3485f4d3b6892297 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: A scripts/python/test2.cmd Log Message: ----------- test I'm working on Commit: d96413aa6ddde68f7441ac09ba850323d2c2aa01 https://github.com/modula3/cm3/commit/d96413aa6ddde68f7441ac09ba850323d2c2aa01 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/sysutils/src/LibcCompatC.c M scripts/env/winddk/3790/wxp/x86.cmd A scripts/python/test1.cmd Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Commit: b6328be1892cf0db7cca97dfdd239030af912761 https://github.com/modula3/cm3/commit/b6328be1892cf0db7cca97dfdd239030af912761 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/test2.cmd Log Message: ----------- fix path Commit: 9b3de226b5c08702af881c3c4ae7ef90fd4a5ccc https://github.com/modula3/cm3/commit/9b3de226b5c08702af881c3c4ae7ef90fd4a5ccc Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- go ahead and put wnet\cderr.h in include path Commit: 3db9e85076bac18605ee3d9012b197e1daa1e732 https://github.com/modula3/cm3/commit/3db9e85076bac18605ee3d9012b197e1daa1e732 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-sys/cm3/src/Builder.m3 M scripts/python/pylib.py Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Commit: ce1cfdd36ecc04559ff9c91fbed75588c77cb8cf https://github.com/modula3/cm3/commit/ce1cfdd36ecc04559ff9c91fbed75588c77cb8cf Author: Jay Krell Date: 2016-01-11 (Mon, 11 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Go ahead and alloca the jmpbufs. Compare: https://github.com/modula3/cm3/compare/d3974d071fb0...ce1cfdd36ecc From noreply at github.com Thu Jan 21 17:36:57 2016 From: noreply at github.com (GitHub) Date: Thu, 21 Jan 2016 08:36:57 -0800 Subject: [M3commit] [modula3/cm3] ae0820: Fix compiler crash on undeclared last actual param... Message-ID: <56a10929cc8e3_11d13fe37cc8b2bc105114@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: ae08202132f855c82a2499f171798d25a8b0cd26 https://github.com/modula3/cm3/commit/ae08202132f855c82a2499f171798d25a8b0cd26 Author: Rodney Bates Date: 2016-01-21 (Thu, 21 Jan 2016) Changed paths: M m3-sys/m3front/src/builtinWord/Extract.mg Log Message: ----------- Fix compiler crash on undeclared last actual parameter to Word.Extract. Described as: ------------------------------------------------------------------------------ This is unusual. PROCEDURE Test() = VAR x,m := 1; BEGIN x := Word.Extract(x,m,n); END Test; induces new source -> compiling test.m3 "../src/test.m3", line 190: undefined (n) *** *** runtime error: *** An enumeration or subrange value was out of range. *** file "../AMD64_LINUX/WordExtract.m3 => ../src/builtinWord/Extract.mg", l ine 120 *** Aborted (core dumped) fix the undefined n and it compiles ok. ------------------------------------------------------------------------------ From noreply at github.com Sat Jan 23 21:43:56 2016 From: noreply at github.com (GitHub) Date: Sat, 23 Jan 2016 12:43:56 -0800 Subject: [M3commit] [modula3/cm3] 022c32: Yet another rework of M3CG_LLVM to handle non-LOOP... Message-ID: <56a3e60c3ac0e_758e3fdf57b0d29c11853@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 022c327c7d3628a4981af9744c0320ce237300ec https://github.com/modula3/cm3/commit/022c327c7d3628a4981af9744c0320ce237300ec Author: Rodney Bates Date: 2016-01-23 (Sat, 23 Jan 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Yet another rework of M3CG_LLVM to handle non-LOOPHOLE cases of loophole operator. The cm3 loophole IR operator was misdocumented as equivalent to Modula-3 LOOPHOLE, but this is not so. LOOPHOLE always requires equal sizes, but the front end emits loophole operators that call for various conversions involving different integer, address and real sizes and different signednesses. Inferring the complete specification of the loophole operator is difficult and probably ambiguous, and involves extensive vetting of the front end and all back ends. This implementation supports a very liberal set of conversions. Hopefully, they do what is right, at least for all the cases that can happen. Any ZType can be converted to any other. Shortening is always done by truncation of high bits. Extending is by sign extension when the final type is signed, or zero extension otherwise. One exception is converting 32-bit integer type to a 64-bit real. Here, the final type gives no clue whether to sign extend, so the decision is taken from the signedness of the initial type. This probably can't happen, would be irrelevant if it could, or just doesn't make much sense, but it's there for hopeful completeness. Meanwhile, llvm has several different operators for different cases. bitcast requires identical sizes and either both types are pointers or neither is a pointer. PtrToInt and IntToPtr must be used for any conversion to/from a pointer, but will handle size changes with zero extend or truncate. trunc, zext, and sext work only on nonequal sized integer types. trunc requires converting to a properly smaller size, and zext and sext require converting to a properly larger size. The right thing to do would be to change CG so it emits loophole operators only when they satisfy the contraints of the Modula-3 LOOPHOLE builtin function. But this would entail using the IR operators widen and chop. These are currently not ever emitted by CG and not implemented in some backends, making for an involved fix. This change makes m3llvm's handling of loophole quite forgiving, hopefully forgiving enough. With this change, the llvm backend mode compiles, without crashes or unexpected errors, m3core, libm3, all of the packages in the front group, llvmbindings, and llvm3.6.1. From noreply at github.com Sat Jan 23 21:52:31 2016 From: noreply at github.com (GitHub) Date: Sat, 23 Jan 2016 12:52:31 -0800 Subject: [M3commit] [modula3/cm3] 4f6bf3: Correct, as well as is known, documentation of loo... Message-ID: <56a3e80f6400e_5df73fe73c5192b8897a2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4f6bf3675a8b54dbdf84468ef936581d6c514bd9 https://github.com/modula3/cm3/commit/4f6bf3675a8b54dbdf84468ef936581d6c514bd9 Author: Rodney Bates Date: 2016-01-23 (Sat, 23 Jan 2016) Changed paths: M m3-sys/m3middle/src/M3CG_Ops.i3 Log Message: ----------- Correct, as well as is known, documentation of loophole operator. From noreply at github.com Tue Jan 26 22:23:32 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Jan 2016 13:23:32 -0800 Subject: [M3commit] [modula3/cm3] 7cb9d7: Fix p209: Open array initializer for fixed array ... Message-ID: <56a7e3d45b2f_46e83fb2fcb8f29c8599c@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7cb9d7a3dda0484158928d22ebbdc7fd0ec13a0a https://github.com/modula3/cm3/commit/7cb9d7a3dda0484158928d22ebbdc7fd0ec13a0a Author: Rodney Bates Date: 2016-01-26 (Tue, 26 Jan 2016) Changed paths: M m3-sys/m3front/src/exprs/ArrayExpr.m3 M m3-sys/m3front/src/values/Variable.m3 M m3-sys/m3tests/src/p2/p209/Main.m3 M m3-sys/m3tests/src/p2/p209/stdout.pgm Log Message: ----------- Fix p209: Open array initializer for fixed array global variable Compiler was suffering a runtime error in CG when a global variable of fixed array type has an initial value that is an open array value constructor with matching number of elements. Also add to p209, as was needed to test this fix. From noreply at github.com Thu Jan 28 21:27:22 2016 From: noreply at github.com (GitHub) Date: Thu, 28 Jan 2016 12:27:22 -0800 Subject: [M3commit] [modula3/cm3] 136de9: Typos in p209 output. Message-ID: <56aa79aa93991_76673f7f1be8f2b8127f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 136de9b41acbf373d402542bc4c5118ea9f0b884 https://github.com/modula3/cm3/commit/136de9b41acbf373d402542bc4c5118ea9f0b884 Author: Rodney Bates Date: 2016-01-27 (Wed, 27 Jan 2016) Changed paths: M m3-sys/m3tests/src/p2/p209/Main.m3 M m3-sys/m3tests/src/p2/p209/stdout.pgm Log Message: ----------- Typos in p209 output. Commit: 587de9244f86f5024ab1bba3b7b976ff65ec4c9f https://github.com/modula3/cm3/commit/587de9244f86f5024ab1bba3b7b976ff65ec4c9f Author: Rodney Bates Date: 2016-01-28 (Thu, 28 Jan 2016) Changed paths: M m3-sys/m3tests/src/m3makefile A m3-sys/m3tests/src/p2/p264/Main.m3 A m3-sys/m3tests/src/p2/p264/m3makefile A m3-sys/m3tests/src/p2/p264/stderr.build A m3-sys/m3tests/src/p2/p264/stderr.pgm A m3-sys/m3tests/src/p2/p264/stdout.build A m3-sys/m3tests/src/p2/p264/stdout.pgm Log Message: ----------- Add test with more combinations of matching shaped fixed and open arrays. This test now passes on AMD64_LINUX, m3cc. Compare: https://github.com/modula3/cm3/compare/7cb9d7a3dda0...587de9244f86 From noreply at github.com Fri Jan 1 07:36:36 2016 From: noreply at github.com (GitHub) Date: Thu, 31 Dec 2015 22:36:36 -0800 Subject: [M3commit] [modula3/cm3] b3b91e: Revert "Add support for real time threads" Message-ID: <56861e744879e_10e53f7f7a54b29c6034@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: b3b91ed41434120fc35b07d509ebee288351c38b https://github.com/modula3/cm3/commit/b3b91ed41434120fc35b07d509ebee288351c38b Author: jaykrell Date: 2015-12-30 (Wed, 30 Dec 2015) Changed paths: R m3-libs/m3core/src/thread/PTHREAD/SchedulerPThread.i3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThread.i3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThread.m3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThreadC.c M m3-libs/m3core/src/thread/PTHREAD/m3makefile R m3-libs/m3core/tests/rtthread/src/Main.m3 R m3-libs/m3core/tests/rtthread/src/disablecores R m3-libs/m3core/tests/rtthread/src/enablecores R m3-libs/m3core/tests/rtthread/src/m3makefile Log Message: ----------- Revert "Add support for real time threads" This reverts commit af5b2314a8a7ea76d04dbedcb51dee56ab347c51. This change does not compile on MacOSX, and probably no other Posix system except Linux. Rever it. Commit: 8d93de066ec7db07cf07422f39a819e55885e0b3 https://github.com/modula3/cm3/commit/8d93de066ec7db07cf07422f39a819e55885e0b3 Author: jaykrell Date: 2015-12-31 (Thu, 31 Dec 2015) Changed paths: M m3-sys/m3back/src/M3C.m3 Log Message: ----------- cleanup: replace: foo : M3ID.T := 0; with: foo := M3ID.NoID; Compare: https://github.com/modula3/cm3/compare/f565e395347c...8d93de066ec7 From noreply at github.com Fri Jan 1 11:00:46 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:00:46 -0800 Subject: [M3commit] [modula3/cm3] e8e0dc: Remove spaces from ends of lines. Message-ID: <56864e4eebf47_5a533ffcb01572b863122@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e8e0dc70532f9c37c598d29552f55d52aac04cb3 https://github.com/modula3/cm3/commit/e8e0dc70532f9c37c598d29552f55d52aac04cb3 Author: jaykrell Date: 2015-12-31 (Thu, 31 Dec 2015) Changed paths: M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Remove spaces from ends of lines. Commit: 865126a6fbb5cb96d0d1380baaba4bed4ce3ff53 https://github.com/modula3/cm3/commit/865126a6fbb5cb96d0d1380baaba4bed4ce3ff53 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3front/src/misc/Jmpbufs.m3 M m3-sys/m3front/src/misc/Marker.m3 M m3-sys/m3middle/src/M3RT.m3 M m3-sys/m3middle/src/Target.i3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Restore the code to optionally allocate jmpbufs "inline" instead of with alloca. This is controlled by RTExFrame.Alloca_jmpbuf and Target.Alloca_jmpbu, which must match. This is really an experiement, towards restoring NT386 to working order. If this optoinality was a long term intent, then the compiler's decision would be communicated to the library in generated data (RT0). Compare: https://github.com/modula3/cm3/compare/8d93de066ec7...865126a6fbb5 From noreply at github.com Fri Jan 1 11:01:51 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:01:51 -0800 Subject: [M3commit] [modula3/cm3] 7d670a: More files for making alloca optional. Message-ID: <56864e8f1708b_6aa03f8aec4d12bc783f5@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7d670a8b9ce9ff4fd48e2ab1497460b3e4219415 https://github.com/modula3/cm3/commit/7d670a8b9ce9ff4fd48e2ab1497460b3e4219415 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.i3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- More files for making alloca optional. From noreply at github.com Fri Jan 1 11:04:16 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:04:16 -0800 Subject: [M3commit] [modula3/cm3] 4bcfb9: Go ahead and turn off using alloca for now. Message-ID: <56864f2063ff9_6a733f9050fcf2b88324e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4bcfb9dc7bbea719b7883c6d74fecbc24d9c55a6 https://github.com/modula3/cm3/commit/4bcfb9dc7bbea719b7883c6d74fecbc24d9c55a6 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Go ahead and turn off using alloca for now. From noreply at github.com Sat Jan 2 09:39:33 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 00:39:33 -0800 Subject: [M3commit] [modula3/cm3] 87be3f: Cleanup trailing newlines. Message-ID: <56878cc515f1d_41ec3fb81b61f2c017764c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 87be3fdf17aa5e849a9aea328b46755294b70519 https://github.com/modula3/cm3/commit/87be3fdf17aa5e849a9aea328b46755294b70519 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M caltech-parser/parserlib/kext/src/m3makefile M caltech-parser/parserlib/ktok/src/m3makefile M caltech-parser/parserlib/kyacc/src/m3makefile Log Message: ----------- Cleanup trailing newlines. Commit: 4911c13fb6bcf1612fb6529e3e6b4454ccaf1c23 https://github.com/modula3/cm3/commit/4911c13fb6bcf1612fb6529e3e6b4454ccaf1c23 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M doc/notes/non-destructive-compiler-testing.txt Log Message: ----------- Actually add the notes. Compare: https://github.com/modula3/cm3/compare/4bcfb9dc7bbe...4911c13fb6bc From noreply at github.com Sat Jan 2 10:44:05 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 01:44:05 -0800 Subject: [M3commit] [modula3/cm3] 898ddc: Some small Windows batch files for setting up envi... Message-ID: <56879be547483_e213fe611c572b8120815@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 898ddcb6e2f076f044389669a7862dbc1432fe5e https://github.com/modula3/cm3/commit/898ddcb6e2f076f044389669a7862dbc1432fe5e Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/env/winddk/3790/w2k/x86.cmd A scripts/env/winddk/3790/wnet/x86.cmd A scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- Some small Windows batch files for setting up environment. More to do here. From noreply at github.com Sat Jan 2 11:13:25 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 02:13:25 -0800 Subject: [M3commit] [modula3/cm3] e13db5: initial copy of upgrade-full.sh Message-ID: <5687a2c518d7b_4a9c3ffbc2e812c061675@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e13db572c6f9c784a3a1e11f80ca056cea0d2680 https://github.com/modula3/cm3/commit/e13db572c6f9c784a3a1e11f80ca056cea0d2680 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/python/upgrade-full.cmd Log Message: ----------- initial copy of upgrade-full.sh Commit: 104f0d3759487da85079843b9c69287237469a34 https://github.com/modula3/cm3/commit/104f0d3759487da85079843b9c69287237469a34 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/upgrade-full.cmd Log Message: ----------- rewrite in cmd Commit: 9f1505285faa87ef612852e843ea9f4c8d4e23c2 https://github.com/modula3/cm3/commit/9f1505285faa87ef612852e843ea9f4c8d4e23c2 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Support for bootstrapping from 5.2.6 release -- whose -version does not report host. Sniff it from $OS for NT386. Could be extended to others. Commit: 62434e7a4aa317b8c25d4804602c3cb1da8dbbd4 https://github.com/modula3/cm3/commit/62434e7a4aa317b8c25d4804602c3cb1da8dbbd4 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- 5.2. instead of 5.2, in case there is 5.20 and such Compare: https://github.com/modula3/cm3/compare/898ddcb6e2f0...62434e7a4aa3 From noreply at github.com Sat Jan 2 13:13:35 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:13:35 -0800 Subject: [M3commit] [modula3/cm3] 8bd4b6: Add support for VS2015. Message-ID: <5687beef5a49a_73be3febc931929c947cf@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 8bd4b698efb42a65b99a8220e645970f3ba36e25 https://github.com/modula3/cm3/commit/8bd4b698efb42a65b99a8220e645970f3ba36e25 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A m3-libs/LibcCompat/src/LibcCompat.i3 A m3-libs/LibcCompat/src/LibcCompat.m3 A m3-libs/LibcCompat/src/LibcCompatC.c A m3-libs/LibcCompat/src/m3makefile M m3-libs/sysutils/src/m3makefile M m3-sys/cminstall/src/config-no-install/NT.common M m3-sys/mklib/src/Main.m3 M m3-tools/m3bundle/src/m3makefile A scripts/env/vs2015/x86.cmd M scripts/pkginfo.txt M scripts/python/pylib.py M scripts/python/upgrade.py Log Message: ----------- Add support for VS2015. Specifics: Upgrade from 5.2.6 successful: set CM3_VS2015_OR_NEWER=1 (env\vs2015\x86) rmdir /q/s \cm3.2 xcopy /fivery \cm3-5.2.6 \cm3.2 path=\cm3.2\bin;%PATH% make-dist-cfg.py (for NT.common update -- note that current config files go out of their way to be compatible with older releases) upgrade-full.cmd The user must set CM3_VS2015_OR_NEWER=1 in the environment. Previously and for many years, the C runtime was linked to by linking to either libcmt.lib or msvcrt.lib. Chose one and only one. (Ignoring the aberrant single threaded libc.lib.) With VS2015 this has changed. The user must now pick between two sets of libraries. For dynamic linking: msvcrt.lib, vcruntime.lib, ucrt.lib. For static linking: libcmt.lib, libvcruntime.lib, libucrt.lib. This list is derived from: echo int main() { return 0; } > 1.c cl 1.c /link /verbose cl /MD 1.c /link /verbose So, this is firstly, a makefile/config change, to link to the extra libraries. There might be a way to automatically decide to do this, but I haven't yet thought of a good way. So the user must set in the environment: CM3_VS2015_OR_NEWER=1. This is used in NT.common. User might also need to update his config/NT.common with the checked in one. As well, the new runtime changes the ABI. For example, previously you would statically link to _printf or dynamically link to *__imp__printf. _printf is now an inline function, so not linkable to unless you actually #include the current stdio.h. Manual declarations in C or Modula-3 do not work. Nor do using .objs/.libs compiled with old headers -- such as m3core.lib.sa. So, secondly, package LibcCompat is added to workaround around this. This is only needed for bootstrapping -- this is not a new dependency foisted everywhere into the system. It is only needed by packages built in the bootstrap phase that statically link against the old m3core/libm3. Anything built with a current m3core/libm3 with the same toolset as used to build themselves will automatically work. But bootstrapping with old static m3core/libm3 will not. In future we should consider exporting whatever is our C runtime use from m3core.dll, AND never statically linking to m3core.dll. That would remove this problem. Neither of these are easy however. Thirdly, our mklib is in the business of chosing symbols to export. The new large amount of inline code in the C runtime headers introduces new symbols for mklib to consider. Mklib also truncates symbols at '@'. So even if the new symbols should be exported, mklib breaks them. This causes a link error related to ?_OptionsStorage. So, thirdly, in mklib, omit any C++ symbols -- symbols that start "?". This in particular omits the "_OptionsStorage" global variable introduced by stdio.h (corecrt_stdio_config.h). (Again -- consider eliminating C runtime dependency, or exporting it from m3core. The problem with eliminating it is, at a minimum, we need exception handling, either in the form of setjmp/longjmp, or C++ exception handling, or SEH). Upgrading from newer releases than 5.2.6 may very well likely require more workarounds. Cross builds should be considered, though the automation there is presently less used and might offer other problems to be fixed. The addition of a new package that cm3 is dependent on is somewhat disruptive. LibcCompat.c can be copied around as needed to remove this inconvenience. However, the addition of sysutils a few years ago is an analogous precedent. From noreply at github.com Sat Jan 2 13:51:58 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:51:58 -0800 Subject: [M3commit] [modula3/cm3] 37b827: cosmetic Message-ID: <5687c7eed255e_73e83f8b4dde32b8207174@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 37b827b5270b01ea5b1f36f77156a26db899ee42 https://github.com/modula3/cm3/commit/37b827b5270b01ea5b1f36f77156a26db899ee42 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M m3-libs/LibcCompat/src/LibcCompatC.c Log Message: ----------- cosmetic Commit: 3fe6512043511cc4a52dd0e38599c763c9aac6db https://github.com/modula3/cm3/commit/3fe6512043511cc4a52dd0e38599c763c9aac6db Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: R m3-libs/LibcCompat/src/LibcCompat.i3 R m3-libs/LibcCompat/src/LibcCompat.m3 R m3-libs/LibcCompat/src/LibcCompatC.c R m3-libs/LibcCompat/src/m3makefile M m3-libs/sysutils/src/m3makefile M m3-tools/m3bundle/src/m3makefile M scripts/pkginfo.txt M scripts/python/pylib.py M scripts/python/upgrade.py Log Message: ----------- My mistake seemingly -- LibcCompat is not needed, at least not for upgrading from 5.2.6. Compare: https://github.com/modula3/cm3/compare/8bd4b698efb4...3fe651204351 From noreply at github.com Sat Jan 2 13:53:57 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:53:57 -0800 Subject: [M3commit] [modula3/cm3] 13dfdc: Remake PKGS if it is older than pkginfo.txt. Message-ID: <5687c86583761_4d493fea4d4cf2bc486be@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 13dfdcc213c3aa5bafa7c29899c961965c226219 https://github.com/modula3/cm3/commit/13dfdcc213c3aa5bafa7c29899c961965c226219 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Remake PKGS if it is older than pkginfo.txt. Ideally this would be some sort of hash check, but that requires udpating all the readers (i.e. the Bourne shell scripts and maybe cmd). From noreply at github.com Sat Jan 2 14:17:24 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 05:17:24 -0800 Subject: [M3commit] [modula3/cm3] 7ad2e8: Do not confuse 19.0 and 9.0. Message-ID: <5687cde42f88_2fcd3fa3b0c632a0683fe@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7ad2e883bf793c9ec2a3dcc225e30db5425c73a3 https://github.com/modula3/cm3/commit/7ad2e883bf793c9ec2a3dcc225e30db5425c73a3 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Do not confuse 19.0 and 9.0. From noreply at github.com Sun Jan 3 09:17:56 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 00:17:56 -0800 Subject: [M3commit] [modula3/cm3] cca6a7: backup some work in progress, maybe not worthwhile... Message-ID: <5688d934b8015_3ac93fe6bb8e12a01183df@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: cca6a7069a410184505a672d717c86c3694f4614 https://github.com/modula3/cm3/commit/cca6a7069a410184505a672d717c86c3694f4614 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/python/pylib1.py Log Message: ----------- backup some work in progress, maybe not worthwhile -- cleanup Visual C++ and Windows SDK finding, and extend to newer versions; the directory structures change every few years, maybe best to require user to set include/lib/path Commit: 18aa17e2421b7bb945a7a8b3525c118f7801785d https://github.com/modula3/cm3/commit/18aa17e2421b7bb945a7a8b3525c118f7801785d Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib1.py Log Message: ----------- Trim it down. Commit: 5a874253f5f5a82d6553c7ac46cd881841a45f23 https://github.com/modula3/cm3/commit/5a874253f5f5a82d6553c7ac46cd881841a45f23 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M scripts/python/pylib1.py Log Message: ----------- checkpoint, maybe not pursuing. Compare: https://github.com/modula3/cm3/compare/7ad2e883bf79...5a874253f5f5 From noreply at github.com Sun Jan 3 09:22:50 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 00:22:50 -0800 Subject: [M3commit] [modula3/cm3] Message-ID: <5688da5a17993_79073ff94a0c52a0175385@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/tags/cm3-min_NT386-d5.10.0-VC2015-20160102 Home: https://github.com/modula3/cm3 From noreply at github.com Sun Jan 3 10:38:41 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 01:38:41 -0800 Subject: [M3commit] [modula3/cm3] a6aab3: Script to crudely cleanup environment, when switch... Message-ID: <5688ec219f63_7a533f823204529c126011@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: a6aab380d06b6e1a5f5178b446029ba66f064db6 https://github.com/modula3/cm3/commit/a6aab380d06b6e1a5f5178b446029ba66f064db6 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: A scripts/env/clean.cmd Log Message: ----------- Script to crudely cleanup environment, when switching toolsets. Commit: ed78b83e8289d7062c45a42f4d9b03be49d61d5e https://github.com/modula3/cm3/commit/ed78b83e8289d7062c45a42f4d9b03be49d61d5e Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/NT.common Log Message: ----------- iphlpapi.lib is missing in older toolsets, and we use LoadLibrary/GetProcAddress anyway, so remove it. ws2_32 is also missing, but we use it (todo? wsock32.lib?) Compare: https://github.com/modula3/cm3/compare/5a874253f5f5...ed78b83e8289 From noreply at github.com Sun Jan 3 11:01:25 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 02:01:25 -0800 Subject: [M3commit] [modula3/cm3] e16cac: Ease verbosity and trim more. Message-ID: <5688f17550793_5a543fc354e5d2b8406b3@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e16cac8f57c92ad2f877820f7607fa53228b5a10 https://github.com/modula3/cm3/commit/e16cac8f57c92ad2f877820f7607fa53228b5a10 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- Ease verbosity and trim more. From noreply at github.com Mon Jan 4 13:29:37 2016 From: noreply at github.com (GitHub) Date: Mon, 04 Jan 2016 04:29:37 -0800 Subject: [M3commit] [modula3/cm3] 224b88: cleanup Message-ID: <568a65b1ce055_44a93ff4bd1a529c666e0@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 224b882af05e3f3459c2fe6b48022a084abe9f1c https://github.com/modula3/cm3/commit/224b882af05e3f3459c2fe6b48022a084abe9f1c Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- cleanup Commit: d189cb5497317008c6c18df461d152e7f31ba831 https://github.com/modula3/cm3/commit/d189cb5497317008c6c18df461d152e7f31ba831 Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- case insensitivity Commit: 97ab8cd13b41075e5bf9944cbf579b6d23d452ce https://github.com/modula3/cm3/commit/97ab8cd13b41075e5bf9944cbf579b6d23d452ce Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- support for 5.1 Commit: 0192efb12ad5c7f84a8334a5894e1e00611aaff1 https://github.com/modula3/cm3/commit/0192efb12ad5c7f84a8334a5894e1e00611aaff1 Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M m3-libs/m3core/src/Csupport/Common/hand.c Log Message: ----------- Support Visual C++ 5.0 and older that do not have _rotl64 and _rotr64. 7.1 verified to have it, 6.0 and 7.0 not yet tested. Compare: https://github.com/modula3/cm3/compare/e16cac8f57c9...0192efb12ad5 From noreply at github.com Tue Jan 5 11:30:50 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 02:30:50 -0800 Subject: [M3commit] [modula3/cm3] 0c3cfb: Support Visual C++ 2.0 and 4.0 toolsets by using w... Message-ID: <568b9b5aa95e8_76903f9d30e0b2a015032b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 0c3cfbf065a00b3b755fa569c218dfa3c58b2968 https://github.com/modula3/cm3/commit/0c3cfbf065a00b3b755fa569c218dfa3c58b2968 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/NT.common Log Message: ----------- Support Visual C++ 2.0 and 4.0 toolsets by using wsock32.dll instead of ws2_32.dll. This might be put back for ipv6 support, but it might not since it looks like the headers use LoadLibrary/GetProcAddress for that. Commit: d690da919c0e8e37a455b78d47a4ef572bf9bc40 https://github.com/modula3/cm3/commit/d690da919c0e8e37a455b78d47a4ef572bf9bc40 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A m3-libs/sysutils/src/LibcCompatC.c M m3-libs/sysutils/src/m3makefile M m3-tools/m3bundle/src/m3makefile Log Message: ----------- Support for bootstrapping from the cm3-5.1.3 release, which must have been built with Visual C++ 4.0, or maybe 4.1 or 4.2. 4.0 in particular (4.1/4.2 unknown) output floating point division that requires Pentium fdiv workaround in the C runtime, that is missing in newer C runtimes. Put this in sysutils instead of where I was previously considering, a new LibcCompat package. This is only needed for bootstrap, not for everything. i.e. when using an old m3core. The floating point division is in dtoa.c, which maybe should be in Modula-3. "None" of the backends generate this code -- well, the C backend with old C compiler would. Commit: d2d199f6409757b20acdedeeb330b083f9bea068 https://github.com/modula3/cm3/commit/d2d199f6409757b20acdedeeb330b083f9bea068 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A scripts/env/vc20.cmd A scripts/env/vc40/x86.cmd Log Message: ----------- More scripts to set compilation environment. Commit: 21ca2796ef6d7fd12587c97c4c974f653f3bfb58 https://github.com/modula3/cm3/commit/21ca2796ef6d7fd12587c97c4c974f653f3bfb58 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-libs/sysutils/src/LibcCompatC.c M m3-libs/sysutils/src/m3makefile Log Message: ----------- Comments as to problems with certain bootstrap combinations but no real change or fix. i.e. using old static libs with new compiler/runtime. Compare: https://github.com/modula3/cm3/compare/0192efb12ad5...21ca2796ef6d From noreply at github.com Tue Jan 5 12:02:23 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 03:02:23 -0800 Subject: [M3commit] [modula3/cm3] 342610: A more complete clean.cmd that sets a pretty bare ... Message-ID: <568ba2bfc2f7a_3a1d3fbcd36d32b85032f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 3426107b5357facb5bb340bb696f3a8fbe24955b https://github.com/modula3/cm3/commit/3426107b5357facb5bb340bb696f3a8fbe24955b Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A scripts/env/clean2.cmd Log Message: ----------- A more complete clean.cmd that sets a pretty bare PATH. From noreply at github.com Tue Jan 5 12:57:12 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 03:57:12 -0800 Subject: [M3commit] [modula3/cm3] bc3df1: Do not accidentally export printf from m3core.dll. Message-ID: <568baf98405d_3d903fb2c90eb29c919c9@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: bc3df1e2e503be86c2822070d477c0a3475d2c82 https://github.com/modula3/cm3/commit/bc3df1e2e503be86c2822070d477c0a3475d2c82 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/runtime/common/RTIOc.c M m3-libs/m3core/src/runtime/common/RTLinkerC.c M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/m3core/src/unix/Common/Usocket.c Log Message: ----------- Do not accidentally export printf from m3core.dll. printf and others are now inline in a header and as a result mklib sees them and exports them -- another strike against code in headers. From noreply at github.com Wed Jan 6 13:39:42 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 04:39:42 -0800 Subject: [M3commit] [modula3/cm3] 746e4a: Partial workaround bootstrapping from newer Visua... Message-ID: <568d0b0e6f233_1ae3fce2022729c846c0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 746e4a776bf188e03b487e4290e0df8ff8be4ff7 https://github.com/modula3/cm3/commit/746e4a776bf188e03b487e4290e0df8ff8be4ff7 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/sysutils/src/LibcCompatC.c M m3-sys/mklib/src/Main.m3 Log Message: ----------- Partial workaround bootstrapping from newer Visual C++ toolset to older. - Be sure to use _assert and not _wassert. Newer runtimes have both. Older runtimes only have _assert. - Redirect _ftol2_sse to _ftol or _ftol2. - Keep various symbols out of exports in mklib. However this still isn't enough: m3core.lib.sa(TimeWin32.obj) : error LNK2019: unresolved external symbol __dtol3 referenced in function _TimeWin32__ToFileTime m3core.lib.sa(TimeWin32.obj) : error LNK2019: unresolved external symbol __ltod3 referenced in function _TimeWin32__FromFileTime m3core.lib.sa(ThreadWin32C.obj) : error LNK2019: unresolved external symbol @__security_check_cookie at 4 referenced in function _ThreadWin32__ProcessLive m3core.lib.sa(dtoa.obj) : error LNK2019: unresolved external symbol __imp____fpe_flt_rounds referenced in function _m3_strtod m3core.lib.sa(dtoa.obj) : error LNK2019: unresolved external symbol __dtoui3 referenced in function _m3_strtod at which point give up. Commit: 784fbaa9a94dcc03ca0e2401ad38a338b7a88c0a https://github.com/modula3/cm3/commit/784fbaa9a94dcc03ca0e2401ad38a338b7a88c0a Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- Go ahead and workaround missing cderr.h in XP environment. Commit: 561904013825bea5e490751e4f09237bdd5c87a9 https://github.com/modula3/cm3/commit/561904013825bea5e490751e4f09237bdd5c87a9 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: A scripts/python/test1.cmd Log Message: ----------- Add what I'm using to look for the alloca problem, and not a bad workflow for some testing. Commit: e0bfe8ce30aa1d5dd9fb4cb1297670e7f67f227c https://github.com/modula3/cm3/commit/e0bfe8ce30aa1d5dd9fb4cb1297670e7f67f227c Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/sysutils/src/LibcCompatC.c M m3-sys/mklib/src/Main.m3 Log Message: ----------- Add _wassert so that one can upgrade from the 5.8.6 release using Visual C++ 7.1. Compare: https://github.com/modula3/cm3/compare/bc3df1e2e503...e0bfe8ce30aa From noreply at github.com Wed Jan 6 14:50:33 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 05:50:33 -0800 Subject: [M3commit] [modula3/cm3] Message-ID: <568d1ba9b443a_60123faa931c929c708ab@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/tags/d5.10.0-20160106 Home: https://github.com/modula3/cm3 From noreply at github.com Wed Jan 6 14:53:56 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 05:53:56 -0800 Subject: [M3commit] [modula3/cm3] 09b511: Fix NT bootstrap Makefile since cm3 and mklib's Ma... Message-ID: <568d1c748c368_7f573fee4ebbf2c02063@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 09b511a083e78a75fe829c445ac5171300a9b1ac https://github.com/modula3/cm3/commit/09b511a083e78a75fe829c445ac5171300a9b1ac Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Fix NT bootstrap Makefile since cm3 and mklib's Main.mo moved into separate directories. Commit: 1667fcb358cfdfc2595f7d4847d92a199c3f4a6e https://github.com/modula3/cm3/commit/1667fcb358cfdfc2595f7d4847d92a199c3f4a6e Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/cm3/src/Builder.m3 Log Message: ----------- Fix regression from LLVM mode introduction circa 7/31/2015 004d0f687b912e65fb810dc6ca38917208beacd1. Bootstrapping of .c/.h/.s must copy them. Commit: c8569cf28d473714804f83cd56a9d32cbfbdc9bf https://github.com/modula3/cm3/commit/c8569cf28d473714804f83cd56a9d32cbfbdc9bf Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- space is adequate, don't need tabe; add a crude clean target, remove iphlpapi.lib Commit: 8ccc5406829e8390d51c63a981eed622fad124d9 https://github.com/modula3/cm3/commit/8ccc5406829e8390d51c63a981eed622fad124d9 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c Log Message: ----------- Remove assert/wassert workaround from here. 5.8.6 already released without it, and the workaround in LibcCompatC.c should suffice, let alone using bootstraps. Commit: d3974d071fb01aff1c567f1788f29298281df424 https://github.com/modula3/cm3/commit/d3974d071fb01aff1c567f1788f29298281df424 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- remove redundant looking close -- though make.sh remains, todo another day Compare: https://github.com/modula3/cm3/compare/e0bfe8ce30aa...d3974d071fb0 From noreply at github.com Tue Jan 12 05:22:47 2016 From: noreply at github.com (GitHub) Date: Mon, 11 Jan 2016 20:22:47 -0800 Subject: [M3commit] [modula3/cm3] 277b5f: Skip some C runtime symbols, in anticipation of ad... Message-ID: <56947f97a5772_5ef73fbd02ee12a01802e1@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 277b5f8632aa1b543a2bd8f4c708a18e7bd46803 https://github.com/modula3/cm3/commit/277b5f8632aa1b543a2bd8f4c708a18e7bd46803 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- Skip some C runtime symbols, in anticipation of adding them to sysutils/LibcCompatC.c in order to build with new and then old Visual C++. Commit: 3a3b7db50b092652de02b114f2e2445734e4b0d1 https://github.com/modula3/cm3/commit/3a3b7db50b092652de02b114f2e2445734e4b0d1 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- Remove _wassert and __wassert to match my other checkout. Commit: 5b55b1854a876801f21f47a68d2a0d54acddd923 https://github.com/modula3/cm3/commit/5b55b1854a876801f21f47a68d2a0d54acddd923 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- put back wassert Commit: 8545f861a00873eb0fe7057d3485f4d3b6892297 https://github.com/modula3/cm3/commit/8545f861a00873eb0fe7057d3485f4d3b6892297 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: A scripts/python/test2.cmd Log Message: ----------- test I'm working on Commit: d96413aa6ddde68f7441ac09ba850323d2c2aa01 https://github.com/modula3/cm3/commit/d96413aa6ddde68f7441ac09ba850323d2c2aa01 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/sysutils/src/LibcCompatC.c M scripts/env/winddk/3790/wxp/x86.cmd A scripts/python/test1.cmd Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Commit: b6328be1892cf0db7cca97dfdd239030af912761 https://github.com/modula3/cm3/commit/b6328be1892cf0db7cca97dfdd239030af912761 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/test2.cmd Log Message: ----------- fix path Commit: 9b3de226b5c08702af881c3c4ae7ef90fd4a5ccc https://github.com/modula3/cm3/commit/9b3de226b5c08702af881c3c4ae7ef90fd4a5ccc Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- go ahead and put wnet\cderr.h in include path Commit: 3db9e85076bac18605ee3d9012b197e1daa1e732 https://github.com/modula3/cm3/commit/3db9e85076bac18605ee3d9012b197e1daa1e732 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-sys/cm3/src/Builder.m3 M scripts/python/pylib.py Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Commit: ce1cfdd36ecc04559ff9c91fbed75588c77cb8cf https://github.com/modula3/cm3/commit/ce1cfdd36ecc04559ff9c91fbed75588c77cb8cf Author: Jay Krell Date: 2016-01-11 (Mon, 11 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Go ahead and alloca the jmpbufs. Compare: https://github.com/modula3/cm3/compare/d3974d071fb0...ce1cfdd36ecc From noreply at github.com Thu Jan 21 17:36:57 2016 From: noreply at github.com (GitHub) Date: Thu, 21 Jan 2016 08:36:57 -0800 Subject: [M3commit] [modula3/cm3] ae0820: Fix compiler crash on undeclared last actual param... Message-ID: <56a10929cc8e3_11d13fe37cc8b2bc105114@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: ae08202132f855c82a2499f171798d25a8b0cd26 https://github.com/modula3/cm3/commit/ae08202132f855c82a2499f171798d25a8b0cd26 Author: Rodney Bates Date: 2016-01-21 (Thu, 21 Jan 2016) Changed paths: M m3-sys/m3front/src/builtinWord/Extract.mg Log Message: ----------- Fix compiler crash on undeclared last actual parameter to Word.Extract. Described as: ------------------------------------------------------------------------------ This is unusual. PROCEDURE Test() = VAR x,m := 1; BEGIN x := Word.Extract(x,m,n); END Test; induces new source -> compiling test.m3 "../src/test.m3", line 190: undefined (n) *** *** runtime error: *** An enumeration or subrange value was out of range. *** file "../AMD64_LINUX/WordExtract.m3 => ../src/builtinWord/Extract.mg", l ine 120 *** Aborted (core dumped) fix the undefined n and it compiles ok. ------------------------------------------------------------------------------ From noreply at github.com Sat Jan 23 21:43:56 2016 From: noreply at github.com (GitHub) Date: Sat, 23 Jan 2016 12:43:56 -0800 Subject: [M3commit] [modula3/cm3] 022c32: Yet another rework of M3CG_LLVM to handle non-LOOP... Message-ID: <56a3e60c3ac0e_758e3fdf57b0d29c11853@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 022c327c7d3628a4981af9744c0320ce237300ec https://github.com/modula3/cm3/commit/022c327c7d3628a4981af9744c0320ce237300ec Author: Rodney Bates Date: 2016-01-23 (Sat, 23 Jan 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Yet another rework of M3CG_LLVM to handle non-LOOPHOLE cases of loophole operator. The cm3 loophole IR operator was misdocumented as equivalent to Modula-3 LOOPHOLE, but this is not so. LOOPHOLE always requires equal sizes, but the front end emits loophole operators that call for various conversions involving different integer, address and real sizes and different signednesses. Inferring the complete specification of the loophole operator is difficult and probably ambiguous, and involves extensive vetting of the front end and all back ends. This implementation supports a very liberal set of conversions. Hopefully, they do what is right, at least for all the cases that can happen. Any ZType can be converted to any other. Shortening is always done by truncation of high bits. Extending is by sign extension when the final type is signed, or zero extension otherwise. One exception is converting 32-bit integer type to a 64-bit real. Here, the final type gives no clue whether to sign extend, so the decision is taken from the signedness of the initial type. This probably can't happen, would be irrelevant if it could, or just doesn't make much sense, but it's there for hopeful completeness. Meanwhile, llvm has several different operators for different cases. bitcast requires identical sizes and either both types are pointers or neither is a pointer. PtrToInt and IntToPtr must be used for any conversion to/from a pointer, but will handle size changes with zero extend or truncate. trunc, zext, and sext work only on nonequal sized integer types. trunc requires converting to a properly smaller size, and zext and sext require converting to a properly larger size. The right thing to do would be to change CG so it emits loophole operators only when they satisfy the contraints of the Modula-3 LOOPHOLE builtin function. But this would entail using the IR operators widen and chop. These are currently not ever emitted by CG and not implemented in some backends, making for an involved fix. This change makes m3llvm's handling of loophole quite forgiving, hopefully forgiving enough. With this change, the llvm backend mode compiles, without crashes or unexpected errors, m3core, libm3, all of the packages in the front group, llvmbindings, and llvm3.6.1. From noreply at github.com Sat Jan 23 21:52:31 2016 From: noreply at github.com (GitHub) Date: Sat, 23 Jan 2016 12:52:31 -0800 Subject: [M3commit] [modula3/cm3] 4f6bf3: Correct, as well as is known, documentation of loo... Message-ID: <56a3e80f6400e_5df73fe73c5192b8897a2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4f6bf3675a8b54dbdf84468ef936581d6c514bd9 https://github.com/modula3/cm3/commit/4f6bf3675a8b54dbdf84468ef936581d6c514bd9 Author: Rodney Bates Date: 2016-01-23 (Sat, 23 Jan 2016) Changed paths: M m3-sys/m3middle/src/M3CG_Ops.i3 Log Message: ----------- Correct, as well as is known, documentation of loophole operator. From noreply at github.com Tue Jan 26 22:23:32 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Jan 2016 13:23:32 -0800 Subject: [M3commit] [modula3/cm3] 7cb9d7: Fix p209: Open array initializer for fixed array ... Message-ID: <56a7e3d45b2f_46e83fb2fcb8f29c8599c@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7cb9d7a3dda0484158928d22ebbdc7fd0ec13a0a https://github.com/modula3/cm3/commit/7cb9d7a3dda0484158928d22ebbdc7fd0ec13a0a Author: Rodney Bates Date: 2016-01-26 (Tue, 26 Jan 2016) Changed paths: M m3-sys/m3front/src/exprs/ArrayExpr.m3 M m3-sys/m3front/src/values/Variable.m3 M m3-sys/m3tests/src/p2/p209/Main.m3 M m3-sys/m3tests/src/p2/p209/stdout.pgm Log Message: ----------- Fix p209: Open array initializer for fixed array global variable Compiler was suffering a runtime error in CG when a global variable of fixed array type has an initial value that is an open array value constructor with matching number of elements. Also add to p209, as was needed to test this fix. From noreply at github.com Thu Jan 28 21:27:22 2016 From: noreply at github.com (GitHub) Date: Thu, 28 Jan 2016 12:27:22 -0800 Subject: [M3commit] [modula3/cm3] 136de9: Typos in p209 output. Message-ID: <56aa79aa93991_76673f7f1be8f2b8127f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 136de9b41acbf373d402542bc4c5118ea9f0b884 https://github.com/modula3/cm3/commit/136de9b41acbf373d402542bc4c5118ea9f0b884 Author: Rodney Bates Date: 2016-01-27 (Wed, 27 Jan 2016) Changed paths: M m3-sys/m3tests/src/p2/p209/Main.m3 M m3-sys/m3tests/src/p2/p209/stdout.pgm Log Message: ----------- Typos in p209 output. Commit: 587de9244f86f5024ab1bba3b7b976ff65ec4c9f https://github.com/modula3/cm3/commit/587de9244f86f5024ab1bba3b7b976ff65ec4c9f Author: Rodney Bates Date: 2016-01-28 (Thu, 28 Jan 2016) Changed paths: M m3-sys/m3tests/src/m3makefile A m3-sys/m3tests/src/p2/p264/Main.m3 A m3-sys/m3tests/src/p2/p264/m3makefile A m3-sys/m3tests/src/p2/p264/stderr.build A m3-sys/m3tests/src/p2/p264/stderr.pgm A m3-sys/m3tests/src/p2/p264/stdout.build A m3-sys/m3tests/src/p2/p264/stdout.pgm Log Message: ----------- Add test with more combinations of matching shaped fixed and open arrays. This test now passes on AMD64_LINUX, m3cc. Compare: https://github.com/modula3/cm3/compare/7cb9d7a3dda0...587de9244f86 From noreply at github.com Fri Jan 1 07:36:36 2016 From: noreply at github.com (GitHub) Date: Thu, 31 Dec 2015 22:36:36 -0800 Subject: [M3commit] [modula3/cm3] b3b91e: Revert "Add support for real time threads" Message-ID: <56861e744879e_10e53f7f7a54b29c6034@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: b3b91ed41434120fc35b07d509ebee288351c38b https://github.com/modula3/cm3/commit/b3b91ed41434120fc35b07d509ebee288351c38b Author: jaykrell Date: 2015-12-30 (Wed, 30 Dec 2015) Changed paths: R m3-libs/m3core/src/thread/PTHREAD/SchedulerPThread.i3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThread.i3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThread.m3 M m3-libs/m3core/src/thread/PTHREAD/ThreadPThreadC.c M m3-libs/m3core/src/thread/PTHREAD/m3makefile R m3-libs/m3core/tests/rtthread/src/Main.m3 R m3-libs/m3core/tests/rtthread/src/disablecores R m3-libs/m3core/tests/rtthread/src/enablecores R m3-libs/m3core/tests/rtthread/src/m3makefile Log Message: ----------- Revert "Add support for real time threads" This reverts commit af5b2314a8a7ea76d04dbedcb51dee56ab347c51. This change does not compile on MacOSX, and probably no other Posix system except Linux. Rever it. Commit: 8d93de066ec7db07cf07422f39a819e55885e0b3 https://github.com/modula3/cm3/commit/8d93de066ec7db07cf07422f39a819e55885e0b3 Author: jaykrell Date: 2015-12-31 (Thu, 31 Dec 2015) Changed paths: M m3-sys/m3back/src/M3C.m3 Log Message: ----------- cleanup: replace: foo : M3ID.T := 0; with: foo := M3ID.NoID; Compare: https://github.com/modula3/cm3/compare/f565e395347c...8d93de066ec7 From noreply at github.com Fri Jan 1 11:00:46 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:00:46 -0800 Subject: [M3commit] [modula3/cm3] e8e0dc: Remove spaces from ends of lines. Message-ID: <56864e4eebf47_5a533ffcb01572b863122@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e8e0dc70532f9c37c598d29552f55d52aac04cb3 https://github.com/modula3/cm3/commit/e8e0dc70532f9c37c598d29552f55d52aac04cb3 Author: jaykrell Date: 2015-12-31 (Thu, 31 Dec 2015) Changed paths: M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Remove spaces from ends of lines. Commit: 865126a6fbb5cb96d0d1380baaba4bed4ce3ff53 https://github.com/modula3/cm3/commit/865126a6fbb5cb96d0d1380baaba4bed4ce3ff53 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3front/src/misc/Jmpbufs.m3 M m3-sys/m3front/src/misc/Marker.m3 M m3-sys/m3middle/src/M3RT.m3 M m3-sys/m3middle/src/Target.i3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Restore the code to optionally allocate jmpbufs "inline" instead of with alloca. This is controlled by RTExFrame.Alloca_jmpbuf and Target.Alloca_jmpbu, which must match. This is really an experiement, towards restoring NT386 to working order. If this optoinality was a long term intent, then the compiler's decision would be communicated to the library in generated data (RT0). Compare: https://github.com/modula3/cm3/compare/8d93de066ec7...865126a6fbb5 From noreply at github.com Fri Jan 1 11:01:51 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:01:51 -0800 Subject: [M3commit] [modula3/cm3] 7d670a: More files for making alloca optional. Message-ID: <56864e8f1708b_6aa03f8aec4d12bc783f5@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7d670a8b9ce9ff4fd48e2ab1497460b3e4219415 https://github.com/modula3/cm3/commit/7d670a8b9ce9ff4fd48e2ab1497460b3e4219415 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.i3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- More files for making alloca optional. From noreply at github.com Fri Jan 1 11:04:16 2016 From: noreply at github.com (GitHub) Date: Fri, 01 Jan 2016 02:04:16 -0800 Subject: [M3commit] [modula3/cm3] 4bcfb9: Go ahead and turn off using alloca for now. Message-ID: <56864f2063ff9_6a733f9050fcf2b88324e@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4bcfb9dc7bbea719b7883c6d74fecbc24d9c55a6 https://github.com/modula3/cm3/commit/4bcfb9dc7bbea719b7883c6d74fecbc24d9c55a6 Author: jaykrell Date: 2016-01-01 (Fri, 01 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Go ahead and turn off using alloca for now. From noreply at github.com Sat Jan 2 09:39:33 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 00:39:33 -0800 Subject: [M3commit] [modula3/cm3] 87be3f: Cleanup trailing newlines. Message-ID: <56878cc515f1d_41ec3fb81b61f2c017764c@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 87be3fdf17aa5e849a9aea328b46755294b70519 https://github.com/modula3/cm3/commit/87be3fdf17aa5e849a9aea328b46755294b70519 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M caltech-parser/parserlib/kext/src/m3makefile M caltech-parser/parserlib/ktok/src/m3makefile M caltech-parser/parserlib/kyacc/src/m3makefile Log Message: ----------- Cleanup trailing newlines. Commit: 4911c13fb6bcf1612fb6529e3e6b4454ccaf1c23 https://github.com/modula3/cm3/commit/4911c13fb6bcf1612fb6529e3e6b4454ccaf1c23 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M doc/notes/non-destructive-compiler-testing.txt Log Message: ----------- Actually add the notes. Compare: https://github.com/modula3/cm3/compare/4bcfb9dc7bbe...4911c13fb6bc From noreply at github.com Sat Jan 2 10:44:05 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 01:44:05 -0800 Subject: [M3commit] [modula3/cm3] 898ddc: Some small Windows batch files for setting up envi... Message-ID: <56879be547483_e213fe611c572b8120815@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 898ddcb6e2f076f044389669a7862dbc1432fe5e https://github.com/modula3/cm3/commit/898ddcb6e2f076f044389669a7862dbc1432fe5e Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/env/winddk/3790/w2k/x86.cmd A scripts/env/winddk/3790/wnet/x86.cmd A scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- Some small Windows batch files for setting up environment. More to do here. From noreply at github.com Sat Jan 2 11:13:25 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 02:13:25 -0800 Subject: [M3commit] [modula3/cm3] e13db5: initial copy of upgrade-full.sh Message-ID: <5687a2c518d7b_4a9c3ffbc2e812c061675@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e13db572c6f9c784a3a1e11f80ca056cea0d2680 https://github.com/modula3/cm3/commit/e13db572c6f9c784a3a1e11f80ca056cea0d2680 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/python/upgrade-full.cmd Log Message: ----------- initial copy of upgrade-full.sh Commit: 104f0d3759487da85079843b9c69287237469a34 https://github.com/modula3/cm3/commit/104f0d3759487da85079843b9c69287237469a34 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/upgrade-full.cmd Log Message: ----------- rewrite in cmd Commit: 9f1505285faa87ef612852e843ea9f4c8d4e23c2 https://github.com/modula3/cm3/commit/9f1505285faa87ef612852e843ea9f4c8d4e23c2 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Support for bootstrapping from 5.2.6 release -- whose -version does not report host. Sniff it from $OS for NT386. Could be extended to others. Commit: 62434e7a4aa317b8c25d4804602c3cb1da8dbbd4 https://github.com/modula3/cm3/commit/62434e7a4aa317b8c25d4804602c3cb1da8dbbd4 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- 5.2. instead of 5.2, in case there is 5.20 and such Compare: https://github.com/modula3/cm3/compare/898ddcb6e2f0...62434e7a4aa3 From noreply at github.com Sat Jan 2 13:13:35 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:13:35 -0800 Subject: [M3commit] [modula3/cm3] 8bd4b6: Add support for VS2015. Message-ID: <5687beef5a49a_73be3febc931929c947cf@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 8bd4b698efb42a65b99a8220e645970f3ba36e25 https://github.com/modula3/cm3/commit/8bd4b698efb42a65b99a8220e645970f3ba36e25 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A m3-libs/LibcCompat/src/LibcCompat.i3 A m3-libs/LibcCompat/src/LibcCompat.m3 A m3-libs/LibcCompat/src/LibcCompatC.c A m3-libs/LibcCompat/src/m3makefile M m3-libs/sysutils/src/m3makefile M m3-sys/cminstall/src/config-no-install/NT.common M m3-sys/mklib/src/Main.m3 M m3-tools/m3bundle/src/m3makefile A scripts/env/vs2015/x86.cmd M scripts/pkginfo.txt M scripts/python/pylib.py M scripts/python/upgrade.py Log Message: ----------- Add support for VS2015. Specifics: Upgrade from 5.2.6 successful: set CM3_VS2015_OR_NEWER=1 (env\vs2015\x86) rmdir /q/s \cm3.2 xcopy /fivery \cm3-5.2.6 \cm3.2 path=\cm3.2\bin;%PATH% make-dist-cfg.py (for NT.common update -- note that current config files go out of their way to be compatible with older releases) upgrade-full.cmd The user must set CM3_VS2015_OR_NEWER=1 in the environment. Previously and for many years, the C runtime was linked to by linking to either libcmt.lib or msvcrt.lib. Chose one and only one. (Ignoring the aberrant single threaded libc.lib.) With VS2015 this has changed. The user must now pick between two sets of libraries. For dynamic linking: msvcrt.lib, vcruntime.lib, ucrt.lib. For static linking: libcmt.lib, libvcruntime.lib, libucrt.lib. This list is derived from: echo int main() { return 0; } > 1.c cl 1.c /link /verbose cl /MD 1.c /link /verbose So, this is firstly, a makefile/config change, to link to the extra libraries. There might be a way to automatically decide to do this, but I haven't yet thought of a good way. So the user must set in the environment: CM3_VS2015_OR_NEWER=1. This is used in NT.common. User might also need to update his config/NT.common with the checked in one. As well, the new runtime changes the ABI. For example, previously you would statically link to _printf or dynamically link to *__imp__printf. _printf is now an inline function, so not linkable to unless you actually #include the current stdio.h. Manual declarations in C or Modula-3 do not work. Nor do using .objs/.libs compiled with old headers -- such as m3core.lib.sa. So, secondly, package LibcCompat is added to workaround around this. This is only needed for bootstrapping -- this is not a new dependency foisted everywhere into the system. It is only needed by packages built in the bootstrap phase that statically link against the old m3core/libm3. Anything built with a current m3core/libm3 with the same toolset as used to build themselves will automatically work. But bootstrapping with old static m3core/libm3 will not. In future we should consider exporting whatever is our C runtime use from m3core.dll, AND never statically linking to m3core.dll. That would remove this problem. Neither of these are easy however. Thirdly, our mklib is in the business of chosing symbols to export. The new large amount of inline code in the C runtime headers introduces new symbols for mklib to consider. Mklib also truncates symbols at '@'. So even if the new symbols should be exported, mklib breaks them. This causes a link error related to ?_OptionsStorage. So, thirdly, in mklib, omit any C++ symbols -- symbols that start "?". This in particular omits the "_OptionsStorage" global variable introduced by stdio.h (corecrt_stdio_config.h). (Again -- consider eliminating C runtime dependency, or exporting it from m3core. The problem with eliminating it is, at a minimum, we need exception handling, either in the form of setjmp/longjmp, or C++ exception handling, or SEH). Upgrading from newer releases than 5.2.6 may very well likely require more workarounds. Cross builds should be considered, though the automation there is presently less used and might offer other problems to be fixed. The addition of a new package that cm3 is dependent on is somewhat disruptive. LibcCompat.c can be copied around as needed to remove this inconvenience. However, the addition of sysutils a few years ago is an analogous precedent. From noreply at github.com Sat Jan 2 13:51:58 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:51:58 -0800 Subject: [M3commit] [modula3/cm3] 37b827: cosmetic Message-ID: <5687c7eed255e_73e83f8b4dde32b8207174@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 37b827b5270b01ea5b1f36f77156a26db899ee42 https://github.com/modula3/cm3/commit/37b827b5270b01ea5b1f36f77156a26db899ee42 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M m3-libs/LibcCompat/src/LibcCompatC.c Log Message: ----------- cosmetic Commit: 3fe6512043511cc4a52dd0e38599c763c9aac6db https://github.com/modula3/cm3/commit/3fe6512043511cc4a52dd0e38599c763c9aac6db Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: R m3-libs/LibcCompat/src/LibcCompat.i3 R m3-libs/LibcCompat/src/LibcCompat.m3 R m3-libs/LibcCompat/src/LibcCompatC.c R m3-libs/LibcCompat/src/m3makefile M m3-libs/sysutils/src/m3makefile M m3-tools/m3bundle/src/m3makefile M scripts/pkginfo.txt M scripts/python/pylib.py M scripts/python/upgrade.py Log Message: ----------- My mistake seemingly -- LibcCompat is not needed, at least not for upgrading from 5.2.6. Compare: https://github.com/modula3/cm3/compare/8bd4b698efb4...3fe651204351 From noreply at github.com Sat Jan 2 13:53:57 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 04:53:57 -0800 Subject: [M3commit] [modula3/cm3] 13dfdc: Remake PKGS if it is older than pkginfo.txt. Message-ID: <5687c86583761_4d493fea4d4cf2bc486be@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 13dfdcc213c3aa5bafa7c29899c961965c226219 https://github.com/modula3/cm3/commit/13dfdcc213c3aa5bafa7c29899c961965c226219 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Remake PKGS if it is older than pkginfo.txt. Ideally this would be some sort of hash check, but that requires udpating all the readers (i.e. the Bourne shell scripts and maybe cmd). From noreply at github.com Sat Jan 2 14:17:24 2016 From: noreply at github.com (GitHub) Date: Sat, 02 Jan 2016 05:17:24 -0800 Subject: [M3commit] [modula3/cm3] 7ad2e8: Do not confuse 19.0 and 9.0. Message-ID: <5687cde42f88_2fcd3fa3b0c632a0683fe@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7ad2e883bf793c9ec2a3dcc225e30db5425c73a3 https://github.com/modula3/cm3/commit/7ad2e883bf793c9ec2a3dcc225e30db5425c73a3 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Do not confuse 19.0 and 9.0. From noreply at github.com Sun Jan 3 09:17:56 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 00:17:56 -0800 Subject: [M3commit] [modula3/cm3] cca6a7: backup some work in progress, maybe not worthwhile... Message-ID: <5688d934b8015_3ac93fe6bb8e12a01183df@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: cca6a7069a410184505a672d717c86c3694f4614 https://github.com/modula3/cm3/commit/cca6a7069a410184505a672d717c86c3694f4614 Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: A scripts/python/pylib1.py Log Message: ----------- backup some work in progress, maybe not worthwhile -- cleanup Visual C++ and Windows SDK finding, and extend to newer versions; the directory structures change every few years, maybe best to require user to set include/lib/path Commit: 18aa17e2421b7bb945a7a8b3525c118f7801785d https://github.com/modula3/cm3/commit/18aa17e2421b7bb945a7a8b3525c118f7801785d Author: Jay Krell Date: 2016-01-02 (Sat, 02 Jan 2016) Changed paths: M scripts/python/pylib1.py Log Message: ----------- Trim it down. Commit: 5a874253f5f5a82d6553c7ac46cd881841a45f23 https://github.com/modula3/cm3/commit/5a874253f5f5a82d6553c7ac46cd881841a45f23 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M scripts/python/pylib1.py Log Message: ----------- checkpoint, maybe not pursuing. Compare: https://github.com/modula3/cm3/compare/7ad2e883bf79...5a874253f5f5 From noreply at github.com Sun Jan 3 09:22:50 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 00:22:50 -0800 Subject: [M3commit] [modula3/cm3] Message-ID: <5688da5a17993_79073ff94a0c52a0175385@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/tags/cm3-min_NT386-d5.10.0-VC2015-20160102 Home: https://github.com/modula3/cm3 From noreply at github.com Sun Jan 3 10:38:41 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 01:38:41 -0800 Subject: [M3commit] [modula3/cm3] a6aab3: Script to crudely cleanup environment, when switch... Message-ID: <5688ec219f63_7a533f823204529c126011@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: a6aab380d06b6e1a5f5178b446029ba66f064db6 https://github.com/modula3/cm3/commit/a6aab380d06b6e1a5f5178b446029ba66f064db6 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: A scripts/env/clean.cmd Log Message: ----------- Script to crudely cleanup environment, when switching toolsets. Commit: ed78b83e8289d7062c45a42f4d9b03be49d61d5e https://github.com/modula3/cm3/commit/ed78b83e8289d7062c45a42f4d9b03be49d61d5e Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/NT.common Log Message: ----------- iphlpapi.lib is missing in older toolsets, and we use LoadLibrary/GetProcAddress anyway, so remove it. ws2_32 is also missing, but we use it (todo? wsock32.lib?) Compare: https://github.com/modula3/cm3/compare/5a874253f5f5...ed78b83e8289 From noreply at github.com Sun Jan 3 11:01:25 2016 From: noreply at github.com (GitHub) Date: Sun, 03 Jan 2016 02:01:25 -0800 Subject: [M3commit] [modula3/cm3] e16cac: Ease verbosity and trim more. Message-ID: <5688f17550793_5a543fc354e5d2b8406b3@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e16cac8f57c92ad2f877820f7607fa53228b5a10 https://github.com/modula3/cm3/commit/e16cac8f57c92ad2f877820f7607fa53228b5a10 Author: Jay Krell Date: 2016-01-03 (Sun, 03 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- Ease verbosity and trim more. From noreply at github.com Mon Jan 4 13:29:37 2016 From: noreply at github.com (GitHub) Date: Mon, 04 Jan 2016 04:29:37 -0800 Subject: [M3commit] [modula3/cm3] 224b88: cleanup Message-ID: <568a65b1ce055_44a93ff4bd1a529c666e0@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 224b882af05e3f3459c2fe6b48022a084abe9f1c https://github.com/modula3/cm3/commit/224b882af05e3f3459c2fe6b48022a084abe9f1c Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- cleanup Commit: d189cb5497317008c6c18df461d152e7f31ba831 https://github.com/modula3/cm3/commit/d189cb5497317008c6c18df461d152e7f31ba831 Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/env/clean.cmd Log Message: ----------- case insensitivity Commit: 97ab8cd13b41075e5bf9944cbf579b6d23d452ce https://github.com/modula3/cm3/commit/97ab8cd13b41075e5bf9944cbf579b6d23d452ce Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- support for 5.1 Commit: 0192efb12ad5c7f84a8334a5894e1e00611aaff1 https://github.com/modula3/cm3/commit/0192efb12ad5c7f84a8334a5894e1e00611aaff1 Author: Jay Krell Date: 2016-01-04 (Mon, 04 Jan 2016) Changed paths: M m3-libs/m3core/src/Csupport/Common/hand.c Log Message: ----------- Support Visual C++ 5.0 and older that do not have _rotl64 and _rotr64. 7.1 verified to have it, 6.0 and 7.0 not yet tested. Compare: https://github.com/modula3/cm3/compare/e16cac8f57c9...0192efb12ad5 From noreply at github.com Tue Jan 5 11:30:50 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 02:30:50 -0800 Subject: [M3commit] [modula3/cm3] 0c3cfb: Support Visual C++ 2.0 and 4.0 toolsets by using w... Message-ID: <568b9b5aa95e8_76903f9d30e0b2a015032b@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 0c3cfbf065a00b3b755fa569c218dfa3c58b2968 https://github.com/modula3/cm3/commit/0c3cfbf065a00b3b755fa569c218dfa3c58b2968 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/NT.common Log Message: ----------- Support Visual C++ 2.0 and 4.0 toolsets by using wsock32.dll instead of ws2_32.dll. This might be put back for ipv6 support, but it might not since it looks like the headers use LoadLibrary/GetProcAddress for that. Commit: d690da919c0e8e37a455b78d47a4ef572bf9bc40 https://github.com/modula3/cm3/commit/d690da919c0e8e37a455b78d47a4ef572bf9bc40 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A m3-libs/sysutils/src/LibcCompatC.c M m3-libs/sysutils/src/m3makefile M m3-tools/m3bundle/src/m3makefile Log Message: ----------- Support for bootstrapping from the cm3-5.1.3 release, which must have been built with Visual C++ 4.0, or maybe 4.1 or 4.2. 4.0 in particular (4.1/4.2 unknown) output floating point division that requires Pentium fdiv workaround in the C runtime, that is missing in newer C runtimes. Put this in sysutils instead of where I was previously considering, a new LibcCompat package. This is only needed for bootstrap, not for everything. i.e. when using an old m3core. The floating point division is in dtoa.c, which maybe should be in Modula-3. "None" of the backends generate this code -- well, the C backend with old C compiler would. Commit: d2d199f6409757b20acdedeeb330b083f9bea068 https://github.com/modula3/cm3/commit/d2d199f6409757b20acdedeeb330b083f9bea068 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A scripts/env/vc20.cmd A scripts/env/vc40/x86.cmd Log Message: ----------- More scripts to set compilation environment. Commit: 21ca2796ef6d7fd12587c97c4c974f653f3bfb58 https://github.com/modula3/cm3/commit/21ca2796ef6d7fd12587c97c4c974f653f3bfb58 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-libs/sysutils/src/LibcCompatC.c M m3-libs/sysutils/src/m3makefile Log Message: ----------- Comments as to problems with certain bootstrap combinations but no real change or fix. i.e. using old static libs with new compiler/runtime. Compare: https://github.com/modula3/cm3/compare/0192efb12ad5...21ca2796ef6d From noreply at github.com Tue Jan 5 12:02:23 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 03:02:23 -0800 Subject: [M3commit] [modula3/cm3] 342610: A more complete clean.cmd that sets a pretty bare ... Message-ID: <568ba2bfc2f7a_3a1d3fbcd36d32b85032f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 3426107b5357facb5bb340bb696f3a8fbe24955b https://github.com/modula3/cm3/commit/3426107b5357facb5bb340bb696f3a8fbe24955b Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: A scripts/env/clean2.cmd Log Message: ----------- A more complete clean.cmd that sets a pretty bare PATH. From noreply at github.com Tue Jan 5 12:57:12 2016 From: noreply at github.com (GitHub) Date: Tue, 05 Jan 2016 03:57:12 -0800 Subject: [M3commit] [modula3/cm3] bc3df1: Do not accidentally export printf from m3core.dll. Message-ID: <568baf98405d_3d903fb2c90eb29c919c9@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: bc3df1e2e503be86c2822070d477c0a3475d2c82 https://github.com/modula3/cm3/commit/bc3df1e2e503be86c2822070d477c0a3475d2c82 Author: Jay Krell Date: 2016-01-05 (Tue, 05 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/runtime/common/RTIOc.c M m3-libs/m3core/src/runtime/common/RTLinkerC.c M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/m3core/src/unix/Common/Usocket.c Log Message: ----------- Do not accidentally export printf from m3core.dll. printf and others are now inline in a header and as a result mklib sees them and exports them -- another strike against code in headers. From noreply at github.com Wed Jan 6 13:39:42 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 04:39:42 -0800 Subject: [M3commit] [modula3/cm3] 746e4a: Partial workaround bootstrapping from newer Visua... Message-ID: <568d0b0e6f233_1ae3fce2022729c846c0@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 746e4a776bf188e03b487e4290e0df8ff8be4ff7 https://github.com/modula3/cm3/commit/746e4a776bf188e03b487e4290e0df8ff8be4ff7 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/sysutils/src/LibcCompatC.c M m3-sys/mklib/src/Main.m3 Log Message: ----------- Partial workaround bootstrapping from newer Visual C++ toolset to older. - Be sure to use _assert and not _wassert. Newer runtimes have both. Older runtimes only have _assert. - Redirect _ftol2_sse to _ftol or _ftol2. - Keep various symbols out of exports in mklib. However this still isn't enough: m3core.lib.sa(TimeWin32.obj) : error LNK2019: unresolved external symbol __dtol3 referenced in function _TimeWin32__ToFileTime m3core.lib.sa(TimeWin32.obj) : error LNK2019: unresolved external symbol __ltod3 referenced in function _TimeWin32__FromFileTime m3core.lib.sa(ThreadWin32C.obj) : error LNK2019: unresolved external symbol @__security_check_cookie at 4 referenced in function _ThreadWin32__ProcessLive m3core.lib.sa(dtoa.obj) : error LNK2019: unresolved external symbol __imp____fpe_flt_rounds referenced in function _m3_strtod m3core.lib.sa(dtoa.obj) : error LNK2019: unresolved external symbol __dtoui3 referenced in function _m3_strtod at which point give up. Commit: 784fbaa9a94dcc03ca0e2401ad38a338b7a88c0a https://github.com/modula3/cm3/commit/784fbaa9a94dcc03ca0e2401ad38a338b7a88c0a Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- Go ahead and workaround missing cderr.h in XP environment. Commit: 561904013825bea5e490751e4f09237bdd5c87a9 https://github.com/modula3/cm3/commit/561904013825bea5e490751e4f09237bdd5c87a9 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: A scripts/python/test1.cmd Log Message: ----------- Add what I'm using to look for the alloca problem, and not a bad workflow for some testing. Commit: e0bfe8ce30aa1d5dd9fb4cb1297670e7f67f227c https://github.com/modula3/cm3/commit/e0bfe8ce30aa1d5dd9fb4cb1297670e7f67f227c Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/sysutils/src/LibcCompatC.c M m3-sys/mklib/src/Main.m3 Log Message: ----------- Add _wassert so that one can upgrade from the 5.8.6 release using Visual C++ 7.1. Compare: https://github.com/modula3/cm3/compare/bc3df1e2e503...e0bfe8ce30aa From noreply at github.com Wed Jan 6 14:50:33 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 05:50:33 -0800 Subject: [M3commit] [modula3/cm3] Message-ID: <568d1ba9b443a_60123faa931c929c708ab@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/tags/d5.10.0-20160106 Home: https://github.com/modula3/cm3 From noreply at github.com Wed Jan 6 14:53:56 2016 From: noreply at github.com (GitHub) Date: Wed, 06 Jan 2016 05:53:56 -0800 Subject: [M3commit] [modula3/cm3] 09b511: Fix NT bootstrap Makefile since cm3 and mklib's Ma... Message-ID: <568d1c748c368_7f573fee4ebbf2c02063@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 09b511a083e78a75fe829c445ac5171300a9b1ac https://github.com/modula3/cm3/commit/09b511a083e78a75fe829c445ac5171300a9b1ac Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Fix NT bootstrap Makefile since cm3 and mklib's Main.mo moved into separate directories. Commit: 1667fcb358cfdfc2595f7d4847d92a199c3f4a6e https://github.com/modula3/cm3/commit/1667fcb358cfdfc2595f7d4847d92a199c3f4a6e Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/cm3/src/Builder.m3 Log Message: ----------- Fix regression from LLVM mode introduction circa 7/31/2015 004d0f687b912e65fb810dc6ca38917208beacd1. Bootstrapping of .c/.h/.s must copy them. Commit: c8569cf28d473714804f83cd56a9d32cbfbdc9bf https://github.com/modula3/cm3/commit/c8569cf28d473714804f83cd56a9d32cbfbdc9bf Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- space is adequate, don't need tabe; add a crude clean target, remove iphlpapi.lib Commit: 8ccc5406829e8390d51c63a981eed622fad124d9 https://github.com/modula3/cm3/commit/8ccc5406829e8390d51c63a981eed622fad124d9 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c Log Message: ----------- Remove assert/wassert workaround from here. 5.8.6 already released without it, and the workaround in LibcCompatC.c should suffice, let alone using bootstraps. Commit: d3974d071fb01aff1c567f1788f29298281df424 https://github.com/modula3/cm3/commit/d3974d071fb01aff1c567f1788f29298281df424 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- remove redundant looking close -- though make.sh remains, todo another day Compare: https://github.com/modula3/cm3/compare/e0bfe8ce30aa...d3974d071fb0 From noreply at github.com Tue Jan 12 05:22:47 2016 From: noreply at github.com (GitHub) Date: Mon, 11 Jan 2016 20:22:47 -0800 Subject: [M3commit] [modula3/cm3] 277b5f: Skip some C runtime symbols, in anticipation of ad... Message-ID: <56947f97a5772_5ef73fbd02ee12a01802e1@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 277b5f8632aa1b543a2bd8f4c708a18e7bd46803 https://github.com/modula3/cm3/commit/277b5f8632aa1b543a2bd8f4c708a18e7bd46803 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- Skip some C runtime symbols, in anticipation of adding them to sysutils/LibcCompatC.c in order to build with new and then old Visual C++. Commit: 3a3b7db50b092652de02b114f2e2445734e4b0d1 https://github.com/modula3/cm3/commit/3a3b7db50b092652de02b114f2e2445734e4b0d1 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- Remove _wassert and __wassert to match my other checkout. Commit: 5b55b1854a876801f21f47a68d2a0d54acddd923 https://github.com/modula3/cm3/commit/5b55b1854a876801f21f47a68d2a0d54acddd923 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-sys/mklib/src/Main.m3 Log Message: ----------- put back wassert Commit: 8545f861a00873eb0fe7057d3485f4d3b6892297 https://github.com/modula3/cm3/commit/8545f861a00873eb0fe7057d3485f4d3b6892297 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: A scripts/python/test2.cmd Log Message: ----------- test I'm working on Commit: d96413aa6ddde68f7441ac09ba850323d2c2aa01 https://github.com/modula3/cm3/commit/d96413aa6ddde68f7441ac09ba850323d2c2aa01 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-libs/sysutils/src/LibcCompatC.c M scripts/env/winddk/3790/wxp/x86.cmd A scripts/python/test1.cmd Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Commit: b6328be1892cf0db7cca97dfdd239030af912761 https://github.com/modula3/cm3/commit/b6328be1892cf0db7cca97dfdd239030af912761 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/python/test2.cmd Log Message: ----------- fix path Commit: 9b3de226b5c08702af881c3c4ae7ef90fd4a5ccc https://github.com/modula3/cm3/commit/9b3de226b5c08702af881c3c4ae7ef90fd4a5ccc Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M scripts/env/winddk/3790/wxp/x86.cmd Log Message: ----------- go ahead and put wnet\cderr.h in include path Commit: 3db9e85076bac18605ee3d9012b197e1daa1e732 https://github.com/modula3/cm3/commit/3db9e85076bac18605ee3d9012b197e1daa1e732 Author: Jay Krell Date: 2016-01-06 (Wed, 06 Jan 2016) Changed paths: M m3-libs/m3core/src/m3core.h M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c M m3-sys/cm3/src/Builder.m3 M scripts/python/pylib.py Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Commit: ce1cfdd36ecc04559ff9c91fbed75588c77cb8cf https://github.com/modula3/cm3/commit/ce1cfdd36ecc04559ff9c91fbed75588c77cb8cf Author: Jay Krell Date: 2016-01-11 (Mon, 11 Jan 2016) Changed paths: M m3-libs/m3core/src/runtime/ex_frame/RTExFrame.m3 M m3-sys/m3middle/src/Target.m3 Log Message: ----------- Go ahead and alloca the jmpbufs. Compare: https://github.com/modula3/cm3/compare/d3974d071fb0...ce1cfdd36ecc From noreply at github.com Thu Jan 21 17:36:57 2016 From: noreply at github.com (GitHub) Date: Thu, 21 Jan 2016 08:36:57 -0800 Subject: [M3commit] [modula3/cm3] ae0820: Fix compiler crash on undeclared last actual param... Message-ID: <56a10929cc8e3_11d13fe37cc8b2bc105114@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: ae08202132f855c82a2499f171798d25a8b0cd26 https://github.com/modula3/cm3/commit/ae08202132f855c82a2499f171798d25a8b0cd26 Author: Rodney Bates Date: 2016-01-21 (Thu, 21 Jan 2016) Changed paths: M m3-sys/m3front/src/builtinWord/Extract.mg Log Message: ----------- Fix compiler crash on undeclared last actual parameter to Word.Extract. Described as: ------------------------------------------------------------------------------ This is unusual. PROCEDURE Test() = VAR x,m := 1; BEGIN x := Word.Extract(x,m,n); END Test; induces new source -> compiling test.m3 "../src/test.m3", line 190: undefined (n) *** *** runtime error: *** An enumeration or subrange value was out of range. *** file "../AMD64_LINUX/WordExtract.m3 => ../src/builtinWord/Extract.mg", l ine 120 *** Aborted (core dumped) fix the undefined n and it compiles ok. ------------------------------------------------------------------------------ From noreply at github.com Sat Jan 23 21:43:56 2016 From: noreply at github.com (GitHub) Date: Sat, 23 Jan 2016 12:43:56 -0800 Subject: [M3commit] [modula3/cm3] 022c32: Yet another rework of M3CG_LLVM to handle non-LOOP... Message-ID: <56a3e60c3ac0e_758e3fdf57b0d29c11853@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 022c327c7d3628a4981af9744c0320ce237300ec https://github.com/modula3/cm3/commit/022c327c7d3628a4981af9744c0320ce237300ec Author: Rodney Bates Date: 2016-01-23 (Sat, 23 Jan 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Yet another rework of M3CG_LLVM to handle non-LOOPHOLE cases of loophole operator. The cm3 loophole IR operator was misdocumented as equivalent to Modula-3 LOOPHOLE, but this is not so. LOOPHOLE always requires equal sizes, but the front end emits loophole operators that call for various conversions involving different integer, address and real sizes and different signednesses. Inferring the complete specification of the loophole operator is difficult and probably ambiguous, and involves extensive vetting of the front end and all back ends. This implementation supports a very liberal set of conversions. Hopefully, they do what is right, at least for all the cases that can happen. Any ZType can be converted to any other. Shortening is always done by truncation of high bits. Extending is by sign extension when the final type is signed, or zero extension otherwise. One exception is converting 32-bit integer type to a 64-bit real. Here, the final type gives no clue whether to sign extend, so the decision is taken from the signedness of the initial type. This probably can't happen, would be irrelevant if it could, or just doesn't make much sense, but it's there for hopeful completeness. Meanwhile, llvm has several different operators for different cases. bitcast requires identical sizes and either both types are pointers or neither is a pointer. PtrToInt and IntToPtr must be used for any conversion to/from a pointer, but will handle size changes with zero extend or truncate. trunc, zext, and sext work only on nonequal sized integer types. trunc requires converting to a properly smaller size, and zext and sext require converting to a properly larger size. The right thing to do would be to change CG so it emits loophole operators only when they satisfy the contraints of the Modula-3 LOOPHOLE builtin function. But this would entail using the IR operators widen and chop. These are currently not ever emitted by CG and not implemented in some backends, making for an involved fix. This change makes m3llvm's handling of loophole quite forgiving, hopefully forgiving enough. With this change, the llvm backend mode compiles, without crashes or unexpected errors, m3core, libm3, all of the packages in the front group, llvmbindings, and llvm3.6.1. From noreply at github.com Sat Jan 23 21:52:31 2016 From: noreply at github.com (GitHub) Date: Sat, 23 Jan 2016 12:52:31 -0800 Subject: [M3commit] [modula3/cm3] 4f6bf3: Correct, as well as is known, documentation of loo... Message-ID: <56a3e80f6400e_5df73fe73c5192b8897a2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4f6bf3675a8b54dbdf84468ef936581d6c514bd9 https://github.com/modula3/cm3/commit/4f6bf3675a8b54dbdf84468ef936581d6c514bd9 Author: Rodney Bates Date: 2016-01-23 (Sat, 23 Jan 2016) Changed paths: M m3-sys/m3middle/src/M3CG_Ops.i3 Log Message: ----------- Correct, as well as is known, documentation of loophole operator. From noreply at github.com Tue Jan 26 22:23:32 2016 From: noreply at github.com (GitHub) Date: Tue, 26 Jan 2016 13:23:32 -0800 Subject: [M3commit] [modula3/cm3] 7cb9d7: Fix p209: Open array initializer for fixed array ... Message-ID: <56a7e3d45b2f_46e83fb2fcb8f29c8599c@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 7cb9d7a3dda0484158928d22ebbdc7fd0ec13a0a https://github.com/modula3/cm3/commit/7cb9d7a3dda0484158928d22ebbdc7fd0ec13a0a Author: Rodney Bates Date: 2016-01-26 (Tue, 26 Jan 2016) Changed paths: M m3-sys/m3front/src/exprs/ArrayExpr.m3 M m3-sys/m3front/src/values/Variable.m3 M m3-sys/m3tests/src/p2/p209/Main.m3 M m3-sys/m3tests/src/p2/p209/stdout.pgm Log Message: ----------- Fix p209: Open array initializer for fixed array global variable Compiler was suffering a runtime error in CG when a global variable of fixed array type has an initial value that is an open array value constructor with matching number of elements. Also add to p209, as was needed to test this fix. From noreply at github.com Thu Jan 28 21:27:22 2016 From: noreply at github.com (GitHub) Date: Thu, 28 Jan 2016 12:27:22 -0800 Subject: [M3commit] [modula3/cm3] 136de9: Typos in p209 output. Message-ID: <56aa79aa93991_76673f7f1be8f2b8127f@hookshot-fe6-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 136de9b41acbf373d402542bc4c5118ea9f0b884 https://github.com/modula3/cm3/commit/136de9b41acbf373d402542bc4c5118ea9f0b884 Author: Rodney Bates Date: 2016-01-27 (Wed, 27 Jan 2016) Changed paths: M m3-sys/m3tests/src/p2/p209/Main.m3 M m3-sys/m3tests/src/p2/p209/stdout.pgm Log Message: ----------- Typos in p209 output. Commit: 587de9244f86f5024ab1bba3b7b976ff65ec4c9f https://github.com/modula3/cm3/commit/587de9244f86f5024ab1bba3b7b976ff65ec4c9f Author: Rodney Bates Date: 2016-01-28 (Thu, 28 Jan 2016) Changed paths: M m3-sys/m3tests/src/m3makefile A m3-sys/m3tests/src/p2/p264/Main.m3 A m3-sys/m3tests/src/p2/p264/m3makefile A m3-sys/m3tests/src/p2/p264/stderr.build A m3-sys/m3tests/src/p2/p264/stderr.pgm A m3-sys/m3tests/src/p2/p264/stdout.build A m3-sys/m3tests/src/p2/p264/stdout.pgm Log Message: ----------- Add test with more combinations of matching shaped fixed and open arrays. This test now passes on AMD64_LINUX, m3cc. Compare: https://github.com/modula3/cm3/compare/7cb9d7a3dda0...587de9244f86