From noreply at github.com Tue Feb 2 17:54:46 2016 From: noreply at github.com (GitHub) Date: Tue, 02 Feb 2016 08:54:46 -0800 Subject: [M3commit] [modula3/cm3] e693b6: Copyright notices and comments. Message-ID: <56b0df56830e1_61ac3f81ff58d2a01130c2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e693b6dc5e345a83cbda584285e715e0d2178854 https://github.com/modula3/cm3/commit/e693b6dc5e345a83cbda584285e715e0d2178854 Author: Rodney Bates Date: 2016-02-02 (Tue, 02 Feb 2016) Changed paths: M m3-libs/libunicode/src/UniCodec.i3 M m3-libs/libunicode/src/UniCodec.m3 M m3-libs/libunicode/src/UniEncoding.i3 M m3-libs/libunicode/src/UniEncoding.m3 M m3-libs/libunicode/src/UniRd.i3 M m3-libs/libunicode/src/UniRd.m3 M m3-libs/libunicode/src/UniRdClass.i3 M m3-libs/libunicode/src/UniWr.i3 M m3-libs/libunicode/src/UniWr.m3 M m3-libs/libunicode/src/UniWrClass.i3 M m3-libs/libunicode/src/UnsafeUniCodec.i3 M m3-libs/libunicode/src/UnsafeUniCodec.m3 M m3-libs/libunicode/src/UnsafeUniRd.i3 M m3-libs/libunicode/src/UnsafeUniRd.m3 M m3-libs/libunicode/src/UnsafeUniWr.i3 M m3-libs/libunicode/src/UnsafeUniWr.m3 M m3-libs/libunicode/src/m3makefile Log Message: ----------- Copyright notices and comments. From noreply at github.com Wed Feb 3 20:30:27 2016 From: noreply at github.com (GitHub) Date: Wed, 03 Feb 2016 11:30:27 -0800 Subject: [M3commit] [modula3/cm3] e036f2: Relicense as MIT. Message-ID: <56b255531fc11_71883fc474fc32bc187362@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e036f2d6434767ebe4f6cde5b31063bceb05a8ff https://github.com/modula3/cm3/commit/e036f2d6434767ebe4f6cde5b31063bceb05a8ff Author: Rodney Bates Date: 2016-02-02 (Tue, 02 Feb 2016) Changed paths: M m3-libs/vararray/src/Ranges.ig M m3-libs/vararray/src/Ranges.mg M m3-libs/vararray/src/Spinner.i3 M m3-libs/vararray/src/Spinner.m3 M m3-libs/vararray/src/TestVarArray.m3 M m3-libs/vararray/src/VarArray.ig M m3-libs/vararray/src/VarArray.mg M m3-libs/vararray/src/m3makefile Log Message: ----------- Relicense as MIT. Commit: d257d0e584a8bf8726780fb1b66846934835b5b5 https://github.com/modula3/cm3/commit/d257d0e584a8bf8726780fb1b66846934835b5b5 Author: Rodney Bates Date: 2016-02-03 (Wed, 03 Feb 2016) Changed paths: M m3-libs/ordsets/bitnos/README M m3-libs/ordsets/bitnos/src/GenBitNoArrays.m3 M m3-libs/ordsets/bitnos/src/m3makefile M m3-libs/ordsets/ordsets/README M m3-libs/ordsets/ordsets/src/BitNoTable.i3 M m3-libs/ordsets/ordsets/src/IntForOrdSets.i3 M m3-libs/ordsets/ordsets/src/IntSets.i3 M m3-libs/ordsets/ordsets/src/IntSets.m3 M m3-libs/ordsets/ordsets/src/OrdSets.ig M m3-libs/ordsets/ordsets/src/OrdSets.mg M m3-libs/ordsets/ordsets/src/Sets.i3 M m3-libs/ordsets/ordsets/src/Sets.m3 M m3-libs/ordsets/ordsets/src/Test.m3 M m3-libs/ordsets/ordsets/src/UnsafeUtils.i3 M m3-libs/ordsets/ordsets/src/UnsafeUtils.m3 M m3-libs/ordsets/ordsets/src/WidecharForOrdSets.i3 M m3-libs/ordsets/ordsets/src/WidecharSets.i3 M m3-libs/ordsets/ordsets/src/WidecharSets.m3 M m3-libs/ordsets/ordsets/src/m3makefile Log Message: ----------- OrdSets, relicense MIT, comments, small bug fixes and improvements. - Relicense under MIT license. - Comment updates, especially that there are now Pickle specials for different word sizes and endiannesses. - Disable pseudo-pointer generation by default, becase the special mechanism in Pickle2 can't dispatch on them. Getting this to work will need a direcly callable procedure, not dispatched through Pickle2. - Bugfix VAR parameter in UnsaveUtils. - Bugfix, count Image tests in total test count. - Make Test catch and report pickle2.Error exception. Compare: https://github.com/modula3/cm3/compare/e693b6dc5e34...d257d0e584a8 From noreply at github.com Thu Feb 18 18:50:58 2016 From: noreply at github.com (GitHub) Date: Thu, 18 Feb 2016 09:50:58 -0800 Subject: [M3commit] [modula3/cm3] 57e1cc: Update some outdated discription & comments Re: Un... Message-ID: <56c604825b1c9_3b1d3ff40b6b32a02312e6@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 57e1cc30de02c57b07013c95f760afdcb83eaf84 https://github.com/modula3/cm3/commit/57e1cc30de02c57b07013c95f760afdcb83eaf84 Author: Rodney Bates Date: 2016-02-18 (Thu, 18 Feb 2016) Changed paths: M README-unicode M m3-sys/cm3/src/Utils.m3 Log Message: ----------- Update some outdated discription & comments Re: Unicode size. From noreply at github.com Mon Feb 22 19:08:18 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 10:08:18 -0800 Subject: [M3commit] [modula3/cm3] e85252: Enable setting of m3llvm -g option. Message-ID: <56cb4e9237520_5ddf3fddc76db2a04030@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e8525290c7605af2243180d955489ca9da3091bf https://github.com/modula3/cm3/commit/e8525290c7605af2243180d955489ca9da3091bf Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/Unix.common Log Message: ----------- Enable setting of m3llvm -g option. es From noreply at github.com Mon Feb 22 19:17:57 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 10:17:57 -0800 Subject: [M3commit] [modula3/cm3] e6d9a9: Add FormatUID and NO_UID to m3middle/arc/M3CG.[im]... Message-ID: <56cb50d589352_60af3feff167d2b83161a@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e6d9a9f95b5c00114fce2d4f613394f651fa176a https://github.com/modula3/cm3/commit/e6d9a9f95b5c00114fce2d4f613394f651fa176a Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/m3middle/src/M3CG.i3 M m3-sys/m3middle/src/M3CG.m3 Log Message: ----------- Add FormatUID and NO_UID to m3middle/arc/M3CG.[im]3. FormatUID converts a UID to the base-62 Character form used in linker symbols in stabs debug format. Apparently, a Modula3-coded version of this function did not exist. It is needed by M3CG_LLVM. (A C-coded version already exists in parse.c). There are duplicate declarations of NO_UID in m3front/src/type/TypeRep.i3, m3front/src/misc/M3String.m3, and m3front/src/misc/M3WString.m3. Also, m3cc/gcc*/gcc/m3cg/parse.c contain C declarations, and cm3ide/src/nodes/Type.i3 contains a declaration with zero as value, while the others are all minus one. This should be consistified and centralized. This commit puts a Modula-3 declaration in M3CG, where it can be centrally referenced, and an initial use of it in FormatUID. From noreply at github.com Mon Feb 22 21:01:35 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 12:01:35 -0800 Subject: [M3commit] [modula3/cm3] 64caa6: Fix m3llvm NIL-derefs producing debug info for ano... Message-ID: <56cb691f3d98b_7fa43f949e0e12b8107491@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 64caa62854f05d05b6551bde398014e8f70fd8bb https://github.com/modula3/cm3/commit/64caa62854f05d05b6551bde398014e8f70fd8bb Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Fix m3llvm NIL-derefs producing debug info for anonymous types. m3llvm was suffering NIL derefs in Text, when producing debug info for an anonymous type. Change to give such a type a name that is the base-62 form of its type UID, as used ubiquitously in stabs debug info. The fix is in many places, hopefully all of them. From noreply at github.com Fri Feb 26 18:37:21 2016 From: noreply at github.com (GitHub) Date: Fri, 26 Feb 2016 09:37:21 -0800 Subject: [M3commit] [modula3/cm3] fa9293: Fix "[m3devel] Another Word bug" reported by Peter... Message-ID: <56d08d5133c_1b4a3fb106d6f2bc608a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: fa9293aaaf5fb3b4933e38103e2c811bef957f4b https://github.com/modula3/cm3/commit/fa9293aaaf5fb3b4933e38103e2c811bef957f4b Author: Rodney Bates Date: 2016-02-26 (Fri, 26 Feb 2016) Changed paths: M m3-sys/m3front/src/exprs/CallExpr.m3 Log Message: ----------- Fix "[m3devel] Another Word bug" reported by Peter McKinna Fix the following: Compiling this snippet with the typo & instead of , PROCEDURE T() = VAR j : INTEGER; BEGIN j := Word.And(1 & 3); END T; gives "../src/Test.m3", line 7: illegal operand(s) for '&' *** *** runtime error: *** An array subscript was out of range. *** file "../AMD64_LINUX/WordAnd.m3 => ../src/builtinWord/And.mg", line 44 *** Aborted (core dumped) From noreply at github.com Sat Feb 27 19:20:33 2016 From: noreply at github.com (GitHub) Date: Sat, 27 Feb 2016 10:20:33 -0800 Subject: [M3commit] [modula3/cm3] 4fc1c6: Add MDNodeFwdDec::replaceAllUsesWith(found in Meta... Message-ID: <56d1e8f1a2174_2adf3f8a768592c0135078@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4fc1c6160bbf8150b2b8d6d25e3161a6c83607a6 https://github.com/modula3/cm3/commit/4fc1c6160bbf8150b2b8d6d25e3161a6c83607a6 Author: Rodney Bates Date: 2016-02-27 (Sat, 27 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/M3DIBuilder.cpp M m3-sys/llvmbindings/src/M3DIBuilder.h M m3-sys/llvmbindings/src/M3DIBuilder.i3 Log Message: ----------- Add MDNodeFwdDec::replaceAllUsesWith(found in Metadata.h) to DIBuilder binding. This is needed to resolve forward declarations of debug nodes, which we need to create on account of various cycles. This function eventually, in later versions of llvm, appears in DIBuilder, but for now, we have to get it from Metadata.h. I put the binding in M3DIBuilder.*, because, aside from the above, it uses types that are already there, and it's only one function. From noreply at github.com Sat Feb 27 19:29:48 2016 From: noreply at github.com (GitHub) Date: Sat, 27 Feb 2016 10:29:48 -0800 Subject: [M3commit] [modula3/cm3] 80fac0: In M3CG_LLVM, function DebugObject, extensive rewo... Message-ID: <56d1eb1ca1bdb_17283fd522f9329c372a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 80fac04c0ba0e2d87cb03c7d16532211b014e159 https://github.com/modula3/cm3/commit/80fac04c0ba0e2d87cb03c7d16532211b014e159 Author: Rodney Bates Date: 2016-02-27 (Sat, 27 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- In M3CG_LLVM, function DebugObject, extensive rework. This function was a hastily cobbled-up mess that resulted from a merge during the change to llvm-3.6.1, patched to just compile. This change cleans it up greatly. It necessarily uses the newly- bound replaceAllUsesWith on MDNodes, because there is a very local cycle in building object type debug info with a supertype. More needs to be done with nonlocal cycles, predefined object types, and the supertype of TEXT is questionable. Also, DebugRecord is a similar poorly merged mess. From noreply at github.com Sun Feb 28 22:39:03 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 13:39:03 -0800 Subject: [M3commit] [modula3/cm3] c2f3fc: Consistify signedness of some actual parameters to... Message-ID: <56d368f7d34a5_28693feae0a872c01372c4@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: c2f3fcbfaf4ea82d118722e94c4725bc7c7694bd https://github.com/modula3/cm3/commit/c2f3fcbfaf4ea82d118722e94c4725bc7c7694bd Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Consistify signedness of some actual parameters to things ini DIBuilder. Commit: 052aba91493276943aa7b31673049c439a51d550 https://github.com/modula3/cm3/commit/052aba91493276943aa7b31673049c439a51d550 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Rework of DebugRecord, similar to DebugObject, other cleanups. Like DebugObject, DegbugRecord was a hastily patched-just-to-compile leftover from the merge that lead to llvm-3.6.1 support. Rework it, similarly. Also fix DebugObject to unconditionally create a forward type, since the fields should refer to it, even in the absence of a supertype. Also centralize local declarations of Dwarf constants. Compare: https://github.com/modula3/cm3/compare/80fac04c0ba0...052aba914932 From noreply at github.com Mon Feb 29 00:13:24 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 15:13:24 -0800 Subject: [M3commit] [modula3/cm3] 46313b: Detect Visual C++ 2015 or newer reaonably automati... Message-ID: <56d37f14c61a2_383c3f9185ff72a0104359@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 46313b6aed5dde1b2caf8aa49315ef1705f534df https://github.com/modula3/cm3/commit/46313b6aed5dde1b2caf8aa49315ef1705f534df Author: Jay Krell Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Detect Visual C++ 2015 or newer reaonably automatically, based on the version in cl's banner. From noreply at github.com Mon Feb 29 00:26:41 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 15:26:41 -0800 Subject: [M3commit] [modula3/cm3] 120fa1: New Modula3 interface DwarfConst, dwarf tags, etc, ... Message-ID: <56d382315a117_25293ff143bd92b83577a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 120fa1c3de1e4a7bd4f5cfb6bdbc82b08285199d https://github.com/modula3/cm3/commit/120fa1c3de1e4a7bd4f5cfb6bdbc82b08285199d Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: A m3-sys/llvmbindings/src/DwarfConst.i3 M m3-sys/llvmbindings/src/m3makefile Log Message: ----------- New Modula3 interface DwarfConst, dwarf tags, etc, In package llvmbindings. Lots of numeric constants from the Dwarf standard, some extra things llvm adds, some pending dwarf proposals, etc. Constructed from llvm-3.6.1-src/include/llvm/Support/Dwarf.h. Much of it will never be used, but it's easier to be systematic, IMO, than to keep putting new decls in piecemeal. Also gets it in one place where other modules can use the same decls, some of which will likely be needed. Commit: 5470adea6a2e6ecc161613cb91571a83eb8f153b https://github.com/modula3/cm3/commit/5470adea6a2e6ecc161613cb91571a83eb8f153b Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/DwarfConst.i3 Log Message: ----------- Fix incorrect path to Dwarf.h, which DwarfConst.i3 is derived from. Commit: 4bbe619e97b533c42ca9f835d0dafa07430a2134 https://github.com/modula3/cm3/commit/4bbe619e97b533c42ca9f835d0dafa07430a2134 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Use new DwarfConst.i3. Also order the imports. Commit: 604ab0f053ab49e90f70f1bc3a4187d4e5885795 https://github.com/modula3/cm3/commit/604ab0f053ab49e90f70f1bc3a4187d4e5885795 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Compare: https://github.com/modula3/cm3/compare/46313b6aed5d...604ab0f053ab From noreply at github.com Mon Feb 29 17:53:55 2016 From: noreply at github.com (GitHub) Date: Mon, 29 Feb 2016 08:53:55 -0800 Subject: [M3commit] [modula3/cm3] b0821b: Fix misleading order of declarations to reflect th... Message-ID: <56d477a339d96_21503fc0746a72b8638bc@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: b0821ba933761c199900914d8a485e9622536f21 https://github.com/modula3/cm3/commit/b0821ba933761c199900914d8a485e9622536f21 Author: Rodney Bates Date: 2016-02-29 (Mon, 29 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/M3DIBuilder.i3 Log Message: ----------- Fix misleading order of declarations to reflect the C++ class hierarchy. From noreply at github.com Tue Feb 2 17:54:46 2016 From: noreply at github.com (GitHub) Date: Tue, 02 Feb 2016 08:54:46 -0800 Subject: [M3commit] [modula3/cm3] e693b6: Copyright notices and comments. Message-ID: <56b0df56830e1_61ac3f81ff58d2a01130c2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e693b6dc5e345a83cbda584285e715e0d2178854 https://github.com/modula3/cm3/commit/e693b6dc5e345a83cbda584285e715e0d2178854 Author: Rodney Bates Date: 2016-02-02 (Tue, 02 Feb 2016) Changed paths: M m3-libs/libunicode/src/UniCodec.i3 M m3-libs/libunicode/src/UniCodec.m3 M m3-libs/libunicode/src/UniEncoding.i3 M m3-libs/libunicode/src/UniEncoding.m3 M m3-libs/libunicode/src/UniRd.i3 M m3-libs/libunicode/src/UniRd.m3 M m3-libs/libunicode/src/UniRdClass.i3 M m3-libs/libunicode/src/UniWr.i3 M m3-libs/libunicode/src/UniWr.m3 M m3-libs/libunicode/src/UniWrClass.i3 M m3-libs/libunicode/src/UnsafeUniCodec.i3 M m3-libs/libunicode/src/UnsafeUniCodec.m3 M m3-libs/libunicode/src/UnsafeUniRd.i3 M m3-libs/libunicode/src/UnsafeUniRd.m3 M m3-libs/libunicode/src/UnsafeUniWr.i3 M m3-libs/libunicode/src/UnsafeUniWr.m3 M m3-libs/libunicode/src/m3makefile Log Message: ----------- Copyright notices and comments. From noreply at github.com Wed Feb 3 20:30:27 2016 From: noreply at github.com (GitHub) Date: Wed, 03 Feb 2016 11:30:27 -0800 Subject: [M3commit] [modula3/cm3] e036f2: Relicense as MIT. Message-ID: <56b255531fc11_71883fc474fc32bc187362@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e036f2d6434767ebe4f6cde5b31063bceb05a8ff https://github.com/modula3/cm3/commit/e036f2d6434767ebe4f6cde5b31063bceb05a8ff Author: Rodney Bates Date: 2016-02-02 (Tue, 02 Feb 2016) Changed paths: M m3-libs/vararray/src/Ranges.ig M m3-libs/vararray/src/Ranges.mg M m3-libs/vararray/src/Spinner.i3 M m3-libs/vararray/src/Spinner.m3 M m3-libs/vararray/src/TestVarArray.m3 M m3-libs/vararray/src/VarArray.ig M m3-libs/vararray/src/VarArray.mg M m3-libs/vararray/src/m3makefile Log Message: ----------- Relicense as MIT. Commit: d257d0e584a8bf8726780fb1b66846934835b5b5 https://github.com/modula3/cm3/commit/d257d0e584a8bf8726780fb1b66846934835b5b5 Author: Rodney Bates Date: 2016-02-03 (Wed, 03 Feb 2016) Changed paths: M m3-libs/ordsets/bitnos/README M m3-libs/ordsets/bitnos/src/GenBitNoArrays.m3 M m3-libs/ordsets/bitnos/src/m3makefile M m3-libs/ordsets/ordsets/README M m3-libs/ordsets/ordsets/src/BitNoTable.i3 M m3-libs/ordsets/ordsets/src/IntForOrdSets.i3 M m3-libs/ordsets/ordsets/src/IntSets.i3 M m3-libs/ordsets/ordsets/src/IntSets.m3 M m3-libs/ordsets/ordsets/src/OrdSets.ig M m3-libs/ordsets/ordsets/src/OrdSets.mg M m3-libs/ordsets/ordsets/src/Sets.i3 M m3-libs/ordsets/ordsets/src/Sets.m3 M m3-libs/ordsets/ordsets/src/Test.m3 M m3-libs/ordsets/ordsets/src/UnsafeUtils.i3 M m3-libs/ordsets/ordsets/src/UnsafeUtils.m3 M m3-libs/ordsets/ordsets/src/WidecharForOrdSets.i3 M m3-libs/ordsets/ordsets/src/WidecharSets.i3 M m3-libs/ordsets/ordsets/src/WidecharSets.m3 M m3-libs/ordsets/ordsets/src/m3makefile Log Message: ----------- OrdSets, relicense MIT, comments, small bug fixes and improvements. - Relicense under MIT license. - Comment updates, especially that there are now Pickle specials for different word sizes and endiannesses. - Disable pseudo-pointer generation by default, becase the special mechanism in Pickle2 can't dispatch on them. Getting this to work will need a direcly callable procedure, not dispatched through Pickle2. - Bugfix VAR parameter in UnsaveUtils. - Bugfix, count Image tests in total test count. - Make Test catch and report pickle2.Error exception. Compare: https://github.com/modula3/cm3/compare/e693b6dc5e34...d257d0e584a8 From noreply at github.com Thu Feb 18 18:50:58 2016 From: noreply at github.com (GitHub) Date: Thu, 18 Feb 2016 09:50:58 -0800 Subject: [M3commit] [modula3/cm3] 57e1cc: Update some outdated discription & comments Re: Un... Message-ID: <56c604825b1c9_3b1d3ff40b6b32a02312e6@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 57e1cc30de02c57b07013c95f760afdcb83eaf84 https://github.com/modula3/cm3/commit/57e1cc30de02c57b07013c95f760afdcb83eaf84 Author: Rodney Bates Date: 2016-02-18 (Thu, 18 Feb 2016) Changed paths: M README-unicode M m3-sys/cm3/src/Utils.m3 Log Message: ----------- Update some outdated discription & comments Re: Unicode size. From noreply at github.com Mon Feb 22 19:08:18 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 10:08:18 -0800 Subject: [M3commit] [modula3/cm3] e85252: Enable setting of m3llvm -g option. Message-ID: <56cb4e9237520_5ddf3fddc76db2a04030@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e8525290c7605af2243180d955489ca9da3091bf https://github.com/modula3/cm3/commit/e8525290c7605af2243180d955489ca9da3091bf Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/Unix.common Log Message: ----------- Enable setting of m3llvm -g option. es From noreply at github.com Mon Feb 22 19:17:57 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 10:17:57 -0800 Subject: [M3commit] [modula3/cm3] e6d9a9: Add FormatUID and NO_UID to m3middle/arc/M3CG.[im]... Message-ID: <56cb50d589352_60af3feff167d2b83161a@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e6d9a9f95b5c00114fce2d4f613394f651fa176a https://github.com/modula3/cm3/commit/e6d9a9f95b5c00114fce2d4f613394f651fa176a Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/m3middle/src/M3CG.i3 M m3-sys/m3middle/src/M3CG.m3 Log Message: ----------- Add FormatUID and NO_UID to m3middle/arc/M3CG.[im]3. FormatUID converts a UID to the base-62 Character form used in linker symbols in stabs debug format. Apparently, a Modula3-coded version of this function did not exist. It is needed by M3CG_LLVM. (A C-coded version already exists in parse.c). There are duplicate declarations of NO_UID in m3front/src/type/TypeRep.i3, m3front/src/misc/M3String.m3, and m3front/src/misc/M3WString.m3. Also, m3cc/gcc*/gcc/m3cg/parse.c contain C declarations, and cm3ide/src/nodes/Type.i3 contains a declaration with zero as value, while the others are all minus one. This should be consistified and centralized. This commit puts a Modula-3 declaration in M3CG, where it can be centrally referenced, and an initial use of it in FormatUID. From noreply at github.com Mon Feb 22 21:01:35 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 12:01:35 -0800 Subject: [M3commit] [modula3/cm3] 64caa6: Fix m3llvm NIL-derefs producing debug info for ano... Message-ID: <56cb691f3d98b_7fa43f949e0e12b8107491@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 64caa62854f05d05b6551bde398014e8f70fd8bb https://github.com/modula3/cm3/commit/64caa62854f05d05b6551bde398014e8f70fd8bb Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Fix m3llvm NIL-derefs producing debug info for anonymous types. m3llvm was suffering NIL derefs in Text, when producing debug info for an anonymous type. Change to give such a type a name that is the base-62 form of its type UID, as used ubiquitously in stabs debug info. The fix is in many places, hopefully all of them. From noreply at github.com Fri Feb 26 18:37:21 2016 From: noreply at github.com (GitHub) Date: Fri, 26 Feb 2016 09:37:21 -0800 Subject: [M3commit] [modula3/cm3] fa9293: Fix "[m3devel] Another Word bug" reported by Peter... Message-ID: <56d08d5133c_1b4a3fb106d6f2bc608a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: fa9293aaaf5fb3b4933e38103e2c811bef957f4b https://github.com/modula3/cm3/commit/fa9293aaaf5fb3b4933e38103e2c811bef957f4b Author: Rodney Bates Date: 2016-02-26 (Fri, 26 Feb 2016) Changed paths: M m3-sys/m3front/src/exprs/CallExpr.m3 Log Message: ----------- Fix "[m3devel] Another Word bug" reported by Peter McKinna Fix the following: Compiling this snippet with the typo & instead of , PROCEDURE T() = VAR j : INTEGER; BEGIN j := Word.And(1 & 3); END T; gives "../src/Test.m3", line 7: illegal operand(s) for '&' *** *** runtime error: *** An array subscript was out of range. *** file "../AMD64_LINUX/WordAnd.m3 => ../src/builtinWord/And.mg", line 44 *** Aborted (core dumped) From noreply at github.com Sat Feb 27 19:20:33 2016 From: noreply at github.com (GitHub) Date: Sat, 27 Feb 2016 10:20:33 -0800 Subject: [M3commit] [modula3/cm3] 4fc1c6: Add MDNodeFwdDec::replaceAllUsesWith(found in Meta... Message-ID: <56d1e8f1a2174_2adf3f8a768592c0135078@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4fc1c6160bbf8150b2b8d6d25e3161a6c83607a6 https://github.com/modula3/cm3/commit/4fc1c6160bbf8150b2b8d6d25e3161a6c83607a6 Author: Rodney Bates Date: 2016-02-27 (Sat, 27 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/M3DIBuilder.cpp M m3-sys/llvmbindings/src/M3DIBuilder.h M m3-sys/llvmbindings/src/M3DIBuilder.i3 Log Message: ----------- Add MDNodeFwdDec::replaceAllUsesWith(found in Metadata.h) to DIBuilder binding. This is needed to resolve forward declarations of debug nodes, which we need to create on account of various cycles. This function eventually, in later versions of llvm, appears in DIBuilder, but for now, we have to get it from Metadata.h. I put the binding in M3DIBuilder.*, because, aside from the above, it uses types that are already there, and it's only one function. From noreply at github.com Sat Feb 27 19:29:48 2016 From: noreply at github.com (GitHub) Date: Sat, 27 Feb 2016 10:29:48 -0800 Subject: [M3commit] [modula3/cm3] 80fac0: In M3CG_LLVM, function DebugObject, extensive rewo... Message-ID: <56d1eb1ca1bdb_17283fd522f9329c372a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 80fac04c0ba0e2d87cb03c7d16532211b014e159 https://github.com/modula3/cm3/commit/80fac04c0ba0e2d87cb03c7d16532211b014e159 Author: Rodney Bates Date: 2016-02-27 (Sat, 27 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- In M3CG_LLVM, function DebugObject, extensive rework. This function was a hastily cobbled-up mess that resulted from a merge during the change to llvm-3.6.1, patched to just compile. This change cleans it up greatly. It necessarily uses the newly- bound replaceAllUsesWith on MDNodes, because there is a very local cycle in building object type debug info with a supertype. More needs to be done with nonlocal cycles, predefined object types, and the supertype of TEXT is questionable. Also, DebugRecord is a similar poorly merged mess. From noreply at github.com Sun Feb 28 22:39:03 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 13:39:03 -0800 Subject: [M3commit] [modula3/cm3] c2f3fc: Consistify signedness of some actual parameters to... Message-ID: <56d368f7d34a5_28693feae0a872c01372c4@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: c2f3fcbfaf4ea82d118722e94c4725bc7c7694bd https://github.com/modula3/cm3/commit/c2f3fcbfaf4ea82d118722e94c4725bc7c7694bd Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Consistify signedness of some actual parameters to things ini DIBuilder. Commit: 052aba91493276943aa7b31673049c439a51d550 https://github.com/modula3/cm3/commit/052aba91493276943aa7b31673049c439a51d550 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Rework of DebugRecord, similar to DebugObject, other cleanups. Like DebugObject, DegbugRecord was a hastily patched-just-to-compile leftover from the merge that lead to llvm-3.6.1 support. Rework it, similarly. Also fix DebugObject to unconditionally create a forward type, since the fields should refer to it, even in the absence of a supertype. Also centralize local declarations of Dwarf constants. Compare: https://github.com/modula3/cm3/compare/80fac04c0ba0...052aba914932 From noreply at github.com Mon Feb 29 00:13:24 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 15:13:24 -0800 Subject: [M3commit] [modula3/cm3] 46313b: Detect Visual C++ 2015 or newer reaonably automati... Message-ID: <56d37f14c61a2_383c3f9185ff72a0104359@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 46313b6aed5dde1b2caf8aa49315ef1705f534df https://github.com/modula3/cm3/commit/46313b6aed5dde1b2caf8aa49315ef1705f534df Author: Jay Krell Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Detect Visual C++ 2015 or newer reaonably automatically, based on the version in cl's banner. From noreply at github.com Mon Feb 29 00:26:41 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 15:26:41 -0800 Subject: [M3commit] [modula3/cm3] 120fa1: New Modula3 interface DwarfConst, dwarf tags, etc, ... Message-ID: <56d382315a117_25293ff143bd92b83577a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 120fa1c3de1e4a7bd4f5cfb6bdbc82b08285199d https://github.com/modula3/cm3/commit/120fa1c3de1e4a7bd4f5cfb6bdbc82b08285199d Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: A m3-sys/llvmbindings/src/DwarfConst.i3 M m3-sys/llvmbindings/src/m3makefile Log Message: ----------- New Modula3 interface DwarfConst, dwarf tags, etc, In package llvmbindings. Lots of numeric constants from the Dwarf standard, some extra things llvm adds, some pending dwarf proposals, etc. Constructed from llvm-3.6.1-src/include/llvm/Support/Dwarf.h. Much of it will never be used, but it's easier to be systematic, IMO, than to keep putting new decls in piecemeal. Also gets it in one place where other modules can use the same decls, some of which will likely be needed. Commit: 5470adea6a2e6ecc161613cb91571a83eb8f153b https://github.com/modula3/cm3/commit/5470adea6a2e6ecc161613cb91571a83eb8f153b Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/DwarfConst.i3 Log Message: ----------- Fix incorrect path to Dwarf.h, which DwarfConst.i3 is derived from. Commit: 4bbe619e97b533c42ca9f835d0dafa07430a2134 https://github.com/modula3/cm3/commit/4bbe619e97b533c42ca9f835d0dafa07430a2134 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Use new DwarfConst.i3. Also order the imports. Commit: 604ab0f053ab49e90f70f1bc3a4187d4e5885795 https://github.com/modula3/cm3/commit/604ab0f053ab49e90f70f1bc3a4187d4e5885795 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Compare: https://github.com/modula3/cm3/compare/46313b6aed5d...604ab0f053ab From noreply at github.com Mon Feb 29 17:53:55 2016 From: noreply at github.com (GitHub) Date: Mon, 29 Feb 2016 08:53:55 -0800 Subject: [M3commit] [modula3/cm3] b0821b: Fix misleading order of declarations to reflect th... Message-ID: <56d477a339d96_21503fc0746a72b8638bc@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: b0821ba933761c199900914d8a485e9622536f21 https://github.com/modula3/cm3/commit/b0821ba933761c199900914d8a485e9622536f21 Author: Rodney Bates Date: 2016-02-29 (Mon, 29 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/M3DIBuilder.i3 Log Message: ----------- Fix misleading order of declarations to reflect the C++ class hierarchy. From noreply at github.com Tue Feb 2 17:54:46 2016 From: noreply at github.com (GitHub) Date: Tue, 02 Feb 2016 08:54:46 -0800 Subject: [M3commit] [modula3/cm3] e693b6: Copyright notices and comments. Message-ID: <56b0df56830e1_61ac3f81ff58d2a01130c2@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e693b6dc5e345a83cbda584285e715e0d2178854 https://github.com/modula3/cm3/commit/e693b6dc5e345a83cbda584285e715e0d2178854 Author: Rodney Bates Date: 2016-02-02 (Tue, 02 Feb 2016) Changed paths: M m3-libs/libunicode/src/UniCodec.i3 M m3-libs/libunicode/src/UniCodec.m3 M m3-libs/libunicode/src/UniEncoding.i3 M m3-libs/libunicode/src/UniEncoding.m3 M m3-libs/libunicode/src/UniRd.i3 M m3-libs/libunicode/src/UniRd.m3 M m3-libs/libunicode/src/UniRdClass.i3 M m3-libs/libunicode/src/UniWr.i3 M m3-libs/libunicode/src/UniWr.m3 M m3-libs/libunicode/src/UniWrClass.i3 M m3-libs/libunicode/src/UnsafeUniCodec.i3 M m3-libs/libunicode/src/UnsafeUniCodec.m3 M m3-libs/libunicode/src/UnsafeUniRd.i3 M m3-libs/libunicode/src/UnsafeUniRd.m3 M m3-libs/libunicode/src/UnsafeUniWr.i3 M m3-libs/libunicode/src/UnsafeUniWr.m3 M m3-libs/libunicode/src/m3makefile Log Message: ----------- Copyright notices and comments. From noreply at github.com Wed Feb 3 20:30:27 2016 From: noreply at github.com (GitHub) Date: Wed, 03 Feb 2016 11:30:27 -0800 Subject: [M3commit] [modula3/cm3] e036f2: Relicense as MIT. Message-ID: <56b255531fc11_71883fc474fc32bc187362@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e036f2d6434767ebe4f6cde5b31063bceb05a8ff https://github.com/modula3/cm3/commit/e036f2d6434767ebe4f6cde5b31063bceb05a8ff Author: Rodney Bates Date: 2016-02-02 (Tue, 02 Feb 2016) Changed paths: M m3-libs/vararray/src/Ranges.ig M m3-libs/vararray/src/Ranges.mg M m3-libs/vararray/src/Spinner.i3 M m3-libs/vararray/src/Spinner.m3 M m3-libs/vararray/src/TestVarArray.m3 M m3-libs/vararray/src/VarArray.ig M m3-libs/vararray/src/VarArray.mg M m3-libs/vararray/src/m3makefile Log Message: ----------- Relicense as MIT. Commit: d257d0e584a8bf8726780fb1b66846934835b5b5 https://github.com/modula3/cm3/commit/d257d0e584a8bf8726780fb1b66846934835b5b5 Author: Rodney Bates Date: 2016-02-03 (Wed, 03 Feb 2016) Changed paths: M m3-libs/ordsets/bitnos/README M m3-libs/ordsets/bitnos/src/GenBitNoArrays.m3 M m3-libs/ordsets/bitnos/src/m3makefile M m3-libs/ordsets/ordsets/README M m3-libs/ordsets/ordsets/src/BitNoTable.i3 M m3-libs/ordsets/ordsets/src/IntForOrdSets.i3 M m3-libs/ordsets/ordsets/src/IntSets.i3 M m3-libs/ordsets/ordsets/src/IntSets.m3 M m3-libs/ordsets/ordsets/src/OrdSets.ig M m3-libs/ordsets/ordsets/src/OrdSets.mg M m3-libs/ordsets/ordsets/src/Sets.i3 M m3-libs/ordsets/ordsets/src/Sets.m3 M m3-libs/ordsets/ordsets/src/Test.m3 M m3-libs/ordsets/ordsets/src/UnsafeUtils.i3 M m3-libs/ordsets/ordsets/src/UnsafeUtils.m3 M m3-libs/ordsets/ordsets/src/WidecharForOrdSets.i3 M m3-libs/ordsets/ordsets/src/WidecharSets.i3 M m3-libs/ordsets/ordsets/src/WidecharSets.m3 M m3-libs/ordsets/ordsets/src/m3makefile Log Message: ----------- OrdSets, relicense MIT, comments, small bug fixes and improvements. - Relicense under MIT license. - Comment updates, especially that there are now Pickle specials for different word sizes and endiannesses. - Disable pseudo-pointer generation by default, becase the special mechanism in Pickle2 can't dispatch on them. Getting this to work will need a direcly callable procedure, not dispatched through Pickle2. - Bugfix VAR parameter in UnsaveUtils. - Bugfix, count Image tests in total test count. - Make Test catch and report pickle2.Error exception. Compare: https://github.com/modula3/cm3/compare/e693b6dc5e34...d257d0e584a8 From noreply at github.com Thu Feb 18 18:50:58 2016 From: noreply at github.com (GitHub) Date: Thu, 18 Feb 2016 09:50:58 -0800 Subject: [M3commit] [modula3/cm3] 57e1cc: Update some outdated discription & comments Re: Un... Message-ID: <56c604825b1c9_3b1d3ff40b6b32a02312e6@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 57e1cc30de02c57b07013c95f760afdcb83eaf84 https://github.com/modula3/cm3/commit/57e1cc30de02c57b07013c95f760afdcb83eaf84 Author: Rodney Bates Date: 2016-02-18 (Thu, 18 Feb 2016) Changed paths: M README-unicode M m3-sys/cm3/src/Utils.m3 Log Message: ----------- Update some outdated discription & comments Re: Unicode size. From noreply at github.com Mon Feb 22 19:08:18 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 10:08:18 -0800 Subject: [M3commit] [modula3/cm3] e85252: Enable setting of m3llvm -g option. Message-ID: <56cb4e9237520_5ddf3fddc76db2a04030@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e8525290c7605af2243180d955489ca9da3091bf https://github.com/modula3/cm3/commit/e8525290c7605af2243180d955489ca9da3091bf Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/cminstall/src/config-no-install/Unix.common Log Message: ----------- Enable setting of m3llvm -g option. es From noreply at github.com Mon Feb 22 19:17:57 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 10:17:57 -0800 Subject: [M3commit] [modula3/cm3] e6d9a9: Add FormatUID and NO_UID to m3middle/arc/M3CG.[im]... Message-ID: <56cb50d589352_60af3feff167d2b83161a@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: e6d9a9f95b5c00114fce2d4f613394f651fa176a https://github.com/modula3/cm3/commit/e6d9a9f95b5c00114fce2d4f613394f651fa176a Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/m3middle/src/M3CG.i3 M m3-sys/m3middle/src/M3CG.m3 Log Message: ----------- Add FormatUID and NO_UID to m3middle/arc/M3CG.[im]3. FormatUID converts a UID to the base-62 Character form used in linker symbols in stabs debug format. Apparently, a Modula3-coded version of this function did not exist. It is needed by M3CG_LLVM. (A C-coded version already exists in parse.c). There are duplicate declarations of NO_UID in m3front/src/type/TypeRep.i3, m3front/src/misc/M3String.m3, and m3front/src/misc/M3WString.m3. Also, m3cc/gcc*/gcc/m3cg/parse.c contain C declarations, and cm3ide/src/nodes/Type.i3 contains a declaration with zero as value, while the others are all minus one. This should be consistified and centralized. This commit puts a Modula-3 declaration in M3CG, where it can be centrally referenced, and an initial use of it in FormatUID. From noreply at github.com Mon Feb 22 21:01:35 2016 From: noreply at github.com (GitHub) Date: Mon, 22 Feb 2016 12:01:35 -0800 Subject: [M3commit] [modula3/cm3] 64caa6: Fix m3llvm NIL-derefs producing debug info for ano... Message-ID: <56cb691f3d98b_7fa43f949e0e12b8107491@hookshot-fe5-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 64caa62854f05d05b6551bde398014e8f70fd8bb https://github.com/modula3/cm3/commit/64caa62854f05d05b6551bde398014e8f70fd8bb Author: Rodney Bates Date: 2016-02-22 (Mon, 22 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Fix m3llvm NIL-derefs producing debug info for anonymous types. m3llvm was suffering NIL derefs in Text, when producing debug info for an anonymous type. Change to give such a type a name that is the base-62 form of its type UID, as used ubiquitously in stabs debug info. The fix is in many places, hopefully all of them. From noreply at github.com Fri Feb 26 18:37:21 2016 From: noreply at github.com (GitHub) Date: Fri, 26 Feb 2016 09:37:21 -0800 Subject: [M3commit] [modula3/cm3] fa9293: Fix "[m3devel] Another Word bug" reported by Peter... Message-ID: <56d08d5133c_1b4a3fb106d6f2bc608a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: fa9293aaaf5fb3b4933e38103e2c811bef957f4b https://github.com/modula3/cm3/commit/fa9293aaaf5fb3b4933e38103e2c811bef957f4b Author: Rodney Bates Date: 2016-02-26 (Fri, 26 Feb 2016) Changed paths: M m3-sys/m3front/src/exprs/CallExpr.m3 Log Message: ----------- Fix "[m3devel] Another Word bug" reported by Peter McKinna Fix the following: Compiling this snippet with the typo & instead of , PROCEDURE T() = VAR j : INTEGER; BEGIN j := Word.And(1 & 3); END T; gives "../src/Test.m3", line 7: illegal operand(s) for '&' *** *** runtime error: *** An array subscript was out of range. *** file "../AMD64_LINUX/WordAnd.m3 => ../src/builtinWord/And.mg", line 44 *** Aborted (core dumped) From noreply at github.com Sat Feb 27 19:20:33 2016 From: noreply at github.com (GitHub) Date: Sat, 27 Feb 2016 10:20:33 -0800 Subject: [M3commit] [modula3/cm3] 4fc1c6: Add MDNodeFwdDec::replaceAllUsesWith(found in Meta... Message-ID: <56d1e8f1a2174_2adf3f8a768592c0135078@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 4fc1c6160bbf8150b2b8d6d25e3161a6c83607a6 https://github.com/modula3/cm3/commit/4fc1c6160bbf8150b2b8d6d25e3161a6c83607a6 Author: Rodney Bates Date: 2016-02-27 (Sat, 27 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/M3DIBuilder.cpp M m3-sys/llvmbindings/src/M3DIBuilder.h M m3-sys/llvmbindings/src/M3DIBuilder.i3 Log Message: ----------- Add MDNodeFwdDec::replaceAllUsesWith(found in Metadata.h) to DIBuilder binding. This is needed to resolve forward declarations of debug nodes, which we need to create on account of various cycles. This function eventually, in later versions of llvm, appears in DIBuilder, but for now, we have to get it from Metadata.h. I put the binding in M3DIBuilder.*, because, aside from the above, it uses types that are already there, and it's only one function. From noreply at github.com Sat Feb 27 19:29:48 2016 From: noreply at github.com (GitHub) Date: Sat, 27 Feb 2016 10:29:48 -0800 Subject: [M3commit] [modula3/cm3] 80fac0: In M3CG_LLVM, function DebugObject, extensive rewo... Message-ID: <56d1eb1ca1bdb_17283fd522f9329c372a@hookshot-fe2-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 80fac04c0ba0e2d87cb03c7d16532211b014e159 https://github.com/modula3/cm3/commit/80fac04c0ba0e2d87cb03c7d16532211b014e159 Author: Rodney Bates Date: 2016-02-27 (Sat, 27 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- In M3CG_LLVM, function DebugObject, extensive rework. This function was a hastily cobbled-up mess that resulted from a merge during the change to llvm-3.6.1, patched to just compile. This change cleans it up greatly. It necessarily uses the newly- bound replaceAllUsesWith on MDNodes, because there is a very local cycle in building object type debug info with a supertype. More needs to be done with nonlocal cycles, predefined object types, and the supertype of TEXT is questionable. Also, DebugRecord is a similar poorly merged mess. From noreply at github.com Sun Feb 28 22:39:03 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 13:39:03 -0800 Subject: [M3commit] [modula3/cm3] c2f3fc: Consistify signedness of some actual parameters to... Message-ID: <56d368f7d34a5_28693feae0a872c01372c4@hookshot-fe3-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: c2f3fcbfaf4ea82d118722e94c4725bc7c7694bd https://github.com/modula3/cm3/commit/c2f3fcbfaf4ea82d118722e94c4725bc7c7694bd Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Consistify signedness of some actual parameters to things ini DIBuilder. Commit: 052aba91493276943aa7b31673049c439a51d550 https://github.com/modula3/cm3/commit/052aba91493276943aa7b31673049c439a51d550 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Rework of DebugRecord, similar to DebugObject, other cleanups. Like DebugObject, DegbugRecord was a hastily patched-just-to-compile leftover from the merge that lead to llvm-3.6.1 support. Rework it, similarly. Also fix DebugObject to unconditionally create a forward type, since the fields should refer to it, even in the absence of a supertype. Also centralize local declarations of Dwarf constants. Compare: https://github.com/modula3/cm3/compare/80fac04c0ba0...052aba914932 From noreply at github.com Mon Feb 29 00:13:24 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 15:13:24 -0800 Subject: [M3commit] [modula3/cm3] 46313b: Detect Visual C++ 2015 or newer reaonably automati... Message-ID: <56d37f14c61a2_383c3f9185ff72a0104359@hookshot-fe4-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 46313b6aed5dde1b2caf8aa49315ef1705f534df https://github.com/modula3/cm3/commit/46313b6aed5dde1b2caf8aa49315ef1705f534df Author: Jay Krell Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Detect Visual C++ 2015 or newer reaonably automatically, based on the version in cl's banner. From noreply at github.com Mon Feb 29 00:26:41 2016 From: noreply at github.com (GitHub) Date: Sun, 28 Feb 2016 15:26:41 -0800 Subject: [M3commit] [modula3/cm3] 120fa1: New Modula3 interface DwarfConst, dwarf tags, etc, ... Message-ID: <56d382315a117_25293ff143bd92b83577a@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: 120fa1c3de1e4a7bd4f5cfb6bdbc82b08285199d https://github.com/modula3/cm3/commit/120fa1c3de1e4a7bd4f5cfb6bdbc82b08285199d Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: A m3-sys/llvmbindings/src/DwarfConst.i3 M m3-sys/llvmbindings/src/m3makefile Log Message: ----------- New Modula3 interface DwarfConst, dwarf tags, etc, In package llvmbindings. Lots of numeric constants from the Dwarf standard, some extra things llvm adds, some pending dwarf proposals, etc. Constructed from llvm-3.6.1-src/include/llvm/Support/Dwarf.h. Much of it will never be used, but it's easier to be systematic, IMO, than to keep putting new decls in piecemeal. Also gets it in one place where other modules can use the same decls, some of which will likely be needed. Commit: 5470adea6a2e6ecc161613cb91571a83eb8f153b https://github.com/modula3/cm3/commit/5470adea6a2e6ecc161613cb91571a83eb8f153b Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/DwarfConst.i3 Log Message: ----------- Fix incorrect path to Dwarf.h, which DwarfConst.i3 is derived from. Commit: 4bbe619e97b533c42ca9f835d0dafa07430a2134 https://github.com/modula3/cm3/commit/4bbe619e97b533c42ca9f835d0dafa07430a2134 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M m3-sys/llvm3.6.1/src/M3CG_LLVM.m3 Log Message: ----------- Use new DwarfConst.i3. Also order the imports. Commit: 604ab0f053ab49e90f70f1bc3a4187d4e5885795 https://github.com/modula3/cm3/commit/604ab0f053ab49e90f70f1bc3a4187d4e5885795 Author: Rodney Bates Date: 2016-02-28 (Sun, 28 Feb 2016) Changed paths: M scripts/python/pylib.py Log Message: ----------- Merge branch 'master' of https://github.com/modula3/cm3 Compare: https://github.com/modula3/cm3/compare/46313b6aed5d...604ab0f053ab From noreply at github.com Mon Feb 29 17:53:55 2016 From: noreply at github.com (GitHub) Date: Mon, 29 Feb 2016 08:53:55 -0800 Subject: [M3commit] [modula3/cm3] b0821b: Fix misleading order of declarations to reflect th... Message-ID: <56d477a339d96_21503fc0746a72b8638bc@hookshot-fe1-cp1-prd.iad.github.net.mail> Branch: refs/heads/master Home: https://github.com/modula3/cm3 Commit: b0821ba933761c199900914d8a485e9622536f21 https://github.com/modula3/cm3/commit/b0821ba933761c199900914d8a485e9622536f21 Author: Rodney Bates Date: 2016-02-29 (Mon, 29 Feb 2016) Changed paths: M m3-sys/llvmbindings/src/M3DIBuilder.i3 Log Message: ----------- Fix misleading order of declarations to reflect the C++ class hierarchy.