From rodney at elego.de Mon Apr 1 03:15:41 2013 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 1 Apr 2013 3:15:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130401011541.52F615DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/01 03:15:41 Modified files: cm3/m3-libs/ordsets/ordsets/src/: OrdSets.mg Test.m3 Log message: One thing leads to another. 1) Fix Image function to display a run of length only two as not a run. E.g., change to display {1,3,4,6} instead of {1,3..4,6} Which led to: 2) Add some hard-coded auto-run tests of Image to the Test module. Which led to: 3) Fix an overflow bug at the top end of INTEGER range in ForAllDo And also to: 4) Discover and fix 3 bugs in recently added Compare function, along with some fixes to the tests thereof in Test module. From jkrell at elego.de Wed Apr 3 09:47:28 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 3 Apr 2013 9:47:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130403074728.B7BC15DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/03 09:47:28 Added files: cm3/scratch/: macosx-vmmap.cpp Log message: sample.. From jkrell at elego.de Wed Apr 3 10:26:09 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 3 Apr 2013 10:26:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130403082609.5BF165DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/03 10:26:09 Modified files: cm3/m3-sys/m3tests/src/p2/p253/: Public.i3 Public.m3 c.c Log message: update From jkrell at elego.de Sun Apr 7 07:17:09 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 7:17:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407051709.E936A5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 07:17:09 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: significant progress on declaring types! sets zero field records fixed arrays open arrays add UID_UNTRACED_ROOT to builtins give WIDECHAR, CHAR friendly names instead of typeid names fix problems with negative typeids all of m3core compiles without reporting "giving up" declaring types on to make it an error (while not making forward progress, instead of a fixed iteration count) and see if the entire tree builds note that opaque types are still just ADDRESS note that all these declared types are not yet the types of any variables..let alone do we deduce field references.. and objects/proctypes/methods not yet finished... but getting close... still to handle back-patching in typenames too, so that e.g. TYPE Foo = REF RECORD ... END; C code should use "Foo" instead of a M123456. From jkrell at elego.de Sun Apr 7 07:23:35 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 7:23:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407052335.9BB1F5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 07:23:35 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fill in code to error if declaring types not making progress, not yet enabled, doesn't work yet From jkrell at elego.de Sun Apr 7 08:17:59 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 8:17:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407061759.3CB9E5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 08:17:59 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work out records vs. objects objects have a typeid assigned by frontend and are pointers to record made up by backend, like this: WrClass.i3.c, a linked list (i.e. self referential type): /* declare_object typeid:MAD398276 super:M9D8FB489 brand: traced:TRUE field_count:2 method_count:0 field_size:128 */ /*record_forwardDeclare*/struct MAD398276_record_for_object;typedef struct MAD398276_record_for_object MAD398276_record_for_object; /*pointer_define*/typedef MAD398276_record_for_object * MAD398276; /*record_define*/struct MAD398276_record_for_object{ MD1D9DD0E head; MAD398276 tail; }; I append "_record_for_object" (maybe "_object_fields"? Yes, that seems better, or "_fields" or "_data", shorter). Still to fill in a field for the typeinfo/vtable.. I set the typeid for the made up record to -1 and hope this is ok. There is precedent for -1 being in the system but lots of code skipping it. In particular, it is the typeid for "segments". With this, libm3 gets all of its types defined! (again, not necessarily quite correctly, for objects, or as revealing as I'd like, for opaque types.. but this is good..) From jkrell at elego.de Sun Apr 7 08:50:00 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 8:50:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407065000.17BF35DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 08:50:00 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: and now require all types to be declared, very good From rodney at elego.de Mon Apr 8 20:39:18 2013 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 8 Apr 2013 20:39:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130408183918.555525DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/08 20:39:18 Modified files: cm3/m3-sys/m3cc/gcc/gcc/: dbxout.c Log message: Some end-of-function comments. From jkrell at elego.de Tue Apr 9 04:31:00 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 9 Apr 2013 4:31:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130409023100.7AE355DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/09 04:31:00 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: m3cgtype to cgtype It is shorter, and in some sense, this stuff isn't Modula-3 specific. From jkrell at elego.de Tue Apr 9 04:38:01 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 9 Apr 2013 4:38:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130409023801.7CDFF5DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/09 04:38:01 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some debugging assistance (maybe I'll get enums working better.. From jkrell at elego.de Wed Apr 10 03:29:13 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 10 Apr 2013 3:29:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410012913.933845DEA9F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/10 03:29:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: start really using structs and other types for locals! (not yet for parameters) remove FORWARD_STRUCT in favor of duplication comment out getMinimumBitSize stop predeclaring: (*CONST UID_RANGE_0_31 = 16_2DA6581D; [0..31] *) (*CONST UID_RANGE_0_63 = 16_2FA3581D; [0..63] *) as they end up sized 8 bits instead of integer fix subranges to be sized as appropriate instead of based on domain_type -- very important! We are using these types now too, not just records. There are some stop-gaps here casting to record addresses to ADDRESS. e.g. exit_proc Change types from M to T. M for Modula-3, T for type. Example: _L_59 = { start = 0x101204640 "/Users/jay/dev2/cm3/m3-libs/m3core", length = 34, wide = 0 '\0', L_0 = "\000\000\000\000\000\000" } L_176_L_177 = 0x1005344ac "UH??H??@H?}?H?u?H?E?" L_178_L_179 = 0x1005344ac "UH??H??@H?}?H?u?H?E?" _frame = { _unused = 0x7fff5fbfeed0 "??_?" } (gdb) bt 1 #0 Text__Length (t_L_61=0x101204618 "`Vn") at Text.m3.c:1853 This is a significant improvement over stock gdb. Except for the appended "_L_" which is set to be removed, once I handle scopes and don't lift locals out to toplevel for each function. From jay.krell at cornell.edu Wed Apr 10 04:26:48 2013 From: jay.krell at cornell.edu (Jay K) Date: Wed, 10 Apr 2013 02:26:48 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20130410012913.933845DEA9F@birch.elegosoft.com> References: <20130410012913.933845DEA9F@birch.elegosoft.com> Message-ID: This is a great advance. However it needs just a bit more work. It can compile itself, but if you go to compile the entire system..: == package /Users/jay/dev2/cm3/m3-comm/netobj == new source -> compiling NetObjRT.m3 NetObjRT.m3.c: In function ?char* NetObjRT__Find(char*, char*)?: NetObjRT.m3.c:6602: error: cannot convert ?m3struct_16_t? to ?char*? in assignment compile_c => 1 C compiler failed compiling: NetObjRT.m3.c I'll get to this "soon", maybe today, maybe not. - Jay > Date: Wed, 10 Apr 2013 03:29:13 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 13/04/10 03:29:13 > > Modified files: > cm3/m3-sys/m3back/src/: M3C.m3 > > Log message: > start really using structs and other types for locals! -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodney at elego.de Wed Apr 10 16:19:44 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 16:19:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410141944.B58E25DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 16:19:44 Modified files: cm3/m3-sys/m3gdb/src/: m3makefile Log message: Comments. From rodney at elego.de Wed Apr 10 18:43:12 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 18:43:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410164312.27B535DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 18:43:12 Modified files: cm3/doc/reference/complete/: m3-defn-complete.tex Log message: A bit more info on empty types From rodney at elego.de Wed Apr 10 20:37:09 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 20:37:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410183709.5F2DC5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 20:37:09 Modified files: cm3/doc/help/m3gdb/: m3gdb-onepage.html m3gdb.docbook Log message: Small wording changes. From jkrell at elego.de Thu Apr 11 07:18:22 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 7:18:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411051822.25F325DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 07:18:22 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work in progress.. try to single instance some TEXTs, it might help comparisons.. type => cgtype, m3cgtype => cgtype fix the negative typeids..didn't get them all before still haven't fixed the matter of uplevel structs..later.. From jkrell at elego.de Thu Apr 11 09:20:16 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:20:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072016.709215DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:20:16 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: add asserts From jkrell at elego.de Thu Apr 11 09:22:13 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:22:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072213.BCF705DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:22:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3CG.Type => CGType From jkrell at elego.de Thu Apr 11 09:24:23 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:24:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072423.56B005DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:24:23 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove commented out code in DeclareTypes that left it optional if all types could be declared From jkrell at elego.de Thu Apr 11 09:31:09 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:31:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411073110.050CE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:31:09 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops, fix compile error From jkrell at elego.de Thu Apr 11 09:40:05 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:40:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411074006.06BC15DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:40:05 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove incorrect new assert, remove type.byte_size, type.bit_size is enough; still to change param.byte_size to param.bit_size From jkrell at elego.de Thu Apr 11 10:04:46 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:04:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411080446.5BBBA9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:04:46 Added files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 m3makefile Log message: test for passing structs by value and uplevel structs doesn't currently compile, recent regression From jkrell at elego.de Thu Apr 11 10:27:38 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:27:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411082738.707B05DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:27:38 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: uplevel non-param record too From jkrell at elego.de Thu Apr 11 10:30:08 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:30:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411083008.524AC9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:30:08 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: alter test case From jkrell at elego.de Thu Apr 11 10:30:20 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:30:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411083020.7682F5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:30:20 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: alter test case From jkrell at elego.de Thu Apr 11 10:41:05 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:41:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411084105.CC7D75DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:41:05 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: cg_type => cgtype From jkrell at elego.de Thu Apr 11 11:14:45 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:14:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411091445.0EEB89D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:14:45 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: refine test case From jkrell at elego.de Thu Apr 11 11:42:29 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:42:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411094229.8B4965DE10C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:42:29 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: much more complete From jkrell at elego.de Thu Apr 11 11:44:53 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:44:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411094453.8199E5DE10C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:44:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: temporarily stop using strong types, until uplevel param records working From jkrell at elego.de Thu Apr 11 11:57:02 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:57:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411095702.13F699D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:57:02 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove in_memory and frequency parameters From jkrell at elego.de Thu Apr 11 11:59:11 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:59:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411095911.3475D9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:59:11 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops -- left brace vs. right brace -- everything was failing From jkrell at elego.de Thu Apr 11 13:09:01 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:09:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:09:01 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work in progress on strong typing, including for parameters, var parameters, records, uplevels, etc., but actually for now revert to weak typing until all scenarios work From jkrell at elego.de Thu Apr 11 13:09:37 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:09:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411110937.168FE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:09:37 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops From jkrell at elego.de Thu Apr 11 13:12:13 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:12:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411111213.5D1CC5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:12:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops 2 From jay.krell at cornell.edu Thu Apr 11 13:16:38 2013 From: jay.krell at cornell.edu (Jay K) Date: Thu, 11 Apr 2013 11:16:38 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> References: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> Message-ID: clarification: local records are still strongly typed but record parameters and uplevel local records are not - Jay > Date: Thu, 11 Apr 2013 13:09:01 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 13/04/11 13:09:01 > > Modified files: > cm3/m3-sys/m3back/src/: M3C.m3 > > Log message: > work in progress on strong typing, including for parameters, var parameters, > records, uplevels, etc., but actually for now revert to weak typing > until all scenarios work > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Fri Apr 12 03:51:27 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 3:51:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412015127.7D71D5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 03:51:27 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: add record return From jkrell at elego.de Fri Apr 12 07:03:26 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:03:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050326.CD12E5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:03:26 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some more newlines in the output From jkrell at elego.de Fri Apr 12 07:04:14 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:04:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050414.AF67D5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:04:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3STRUCT => STRUCT, m3struct_ => struct_ From jkrell at elego.de Fri Apr 12 07:07:17 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:07:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050717.B224A5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:07:17 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3DOTDOTDOT => DOTDOTDOT From jkrell at elego.de Fri Apr 12 07:08:41 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:08:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050841.DD13A5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:08:41 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3_UINT64 => UINT64_, M3_INT64 => INT64_ From jkrell at elego.de Fri Apr 12 07:12:53 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:12:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412051253.B25735DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:12:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: more newlines in output From dragisha at elego.de Fri Apr 12 09:23:00 2013 From: dragisha at elego.de (Dragiša Duric) Date: Fri, 12 Apr 2013 9:23:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412072300.1D9F45DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 13/04/12 09:23:00 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: FSWin32.m3 ./: FSWin32.m3 cm3/m3-libs/m3core/src/win32/: WinNLS.i3 Log message: Better-than-current handling of non-ASCII filenames under Windows. Someone actually using WIDECHAR filenames can enhance this further, but for ASCII or UTF8 names, this enables opening of such files on Windows OSes. From dragisha at elego.de Fri Apr 12 09:46:26 2013 From: dragisha at elego.de (Dragiša Duric) Date: Fri, 12 Apr 2013 9:46:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412074626.7D7DA5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 13/04/12 09:46:26 Modified files: cm3/m3-sys/cm3ide/src/misc/: BrowserDB.m3 Log message: Ignore .svn folders. From jkrell at elego.de Fri Apr 12 11:02:21 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 11:02:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412090221.768875DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 11:02:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: working and much improved checkpoint get strong typing in by hook and by crook casting all functions to "untyped" didn't quite work, due to "noreturn" "untyped" is C: return_type (*)() C++: return_type (*)(...) a function pointer that accepts any parameters returns "return_type" void F1() noreturn; void F2() noreturn { F1(); } => ok void F1() noreturn; void F2() noreturn { ((*)()F1)(); } => warning that noreturn function F2 returns.. error? (because casting the function to a pointer loses its no-returnedness). I tried not casting when calling an indirect function, but that doesn't work due to the types we do pass to such functions, even though there are very few of them. I maybe should have tried encoding no_return into the pointer type as needed. warnings aside, I think there was another problem. I forget what it was. So I bit the bullet and walk the parameter types of what I am calling (for direct calls) and use those types to cast all the parameters. This way we do have typeids and well typed struct pointers. Much to cleanup maybe.. Esp. "type_text" => "type.text" Need to actually store all those types. And need get the stars for pointers for structs right. (they are currently correct) Maybe before that will pass structs by value using the C/C++ feature. But we can't because we pass structs by values to indirect function pointers when we haven't declared the type, apparently. That will simplify things for us. But maybe do it under #ifdef. Parameter stack needs to be expressions instead of text, so we can remove redundant casts. Need to review all the special casing and "TODO". From jkrell at elego.de Fri Apr 12 11:03:52 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 11:03:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412090352.E0DD45DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 11:03:52 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove BitsToDec[], replace the one use with IntToDec() From rodney at elego.de Fri Apr 12 16:59:14 2013 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 12 Apr 2013 16:59:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412145914.DA6605DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/12 16:59:14 Modified files: cm3/doc/reference/complete/: m3-defn-complete.html m3-defn-complete.ps ./: m3-defn-complete.html m3-defn-complete.ps cm3/doc/reference/complete/html/: 1_1History.html 1_2Perspective.html 1_3Overview.html 1_4Features.html 1_Introduction.html 2_1Definitions.html 2_2Types.html 2_2_10Subtyping_rules.html 2_2_11Predeclared_opaque.html 2_2_1Ordinal_types.html 2_2_2Floating_point_types.html 2_2_3Arrays.html 2_2_4Records.html 2_2_5Packed_types.html 2_2_6Sets.html 2_2_7References.html 2_2_8Procedures.html 2_2_9Objects.html 2_3Statements.html 2_3_10Exit.html 2_3_11Return.html 2_3_12If.html 2_3_13While.html 2_3_14Repeat.html 2_3_15With.html 2_3_16For.html 2_3_17Case.html 2_3_18Typecase.html 2_3_19Lock.html 2_3_1Assignment.html 2_3_20Inc_Dec.html 2_3_2Procedure_call.html 2_3_3Eval.html 2_3_4Block_statement.html 2_3_5Sequential_composition.html 2_3_6Raise.html 2_3_7Try_Except.html 2_3_8Try_Finally.html 2_3_9Loop.html 2_4Declarations.html 2_4_1Types.html 2_4_2Constants.html 2_4_3Variables.html 2_4_4Procedures.html 2_4_5Exceptions.html 2_4_6Opaque_types.html 2_4_7Revelations.html 2_4_8Recursive_declarations.html 2_5Modules_interfaces.html 2_5_1Import_statements.html 2_5_2Interfaces.html 2_5_3Modules.html 2_5_4Example_module.html 2_5_5Generics.html 2_5_6Initialization.html 2_5_7Safety.html 2_6Expressions.html 2_6_10Arithmetic_operations.html 2_6_11Relations.html 2_6_12Boolean_operations.html 2_6_13Type_operations.html 2_6_14Text_operations.html 2_6_15Constant_expressions.html 2_6_1Conventions_describing.html 2_6_2Operation_syntax.html 2_6_3Designators.html 2_6_4Numeric_literals.html 2_6_5Text_character.html 2_6_6Nil.html 2_6_7Function_application.html 2_6_8Set_array.html 2_6_9New.html 2_7Unsafe_operations.html 2_8Syntax.html 2_8_10Expression_production.html 2_8_11Miscellaneous_product.html 2_8_12Token_productions.html 2_8_1Keywords.html 2_8_2Reserved_identifiers.html 2_8_3Operators.html 2_8_4Comments.html 2_8_5Pragmas.html 2_8_6Conventions_syntax.html 2_8_7Compilation_unit.html 2_8_8Statement_productions.html 2_8_9Type_productions.html About_authors.html About_this_document.html Acknowledgments.html Contents.html Modula_3_Language_definitio.html index.html m3-defn-complete.html Log message: Rebuild of files derived from m3-defn-complete.tex From jkrell at elego.de Sat Apr 13 03:36:21 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 3:36:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413013621.AEA025DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 03:36:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: DebugDeclare => DebugVerbose, as I use it in more places When comment concating 4 or fewer strings, pass them as separate parameters to reduce heap/garbage wrap some source to 80 columns (around DebugVerbose) From jkrell at elego.de Sat Apr 13 04:22:53 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:22:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413022254.93F9B5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:22:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some type => cgtype add more debug print e.g. declare_constant, declare_global, stuff I want to make more progress on some indentation (around debug print) From jkrell at elego.de Sat Apr 13 04:35:14 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:35:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413023514.1171C5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:35:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: a bit more debug print -- merging with a saved away file From jkrell at elego.de Sat Apr 13 04:36:58 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:36:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413023658.75E9F5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:36:58 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fix previous commit that doesn't compile, oops, sorry in index_address, omit multiplication by 1 From jkrell at elego.de Sat Apr 13 04:56:11 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:56:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413025611.A12375DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:56:11 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: should fix nul deref From jkrell at elego.de Sat Apr 13 21:17:35 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 21:17:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413191735.E77E15DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 21:17:35 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fix another nul deref in debug print From rodney at elego.de Sun Apr 14 17:05:59 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 14 Apr 2013 17:05:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130414150559.D47245DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/14 17:05:59 Removed files: cm3/doc/reference/complete/: m3-defn-complete.pdf Log message: Remove to fix some CVS problem that prevented committing. From rodney at elego.de Sun Apr 14 17:08:37 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 14 Apr 2013 17:08:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130414150837.CFD135DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/14 17:08:37 Added files: cm3/doc/reference/complete/: m3-defn-complete.pdf Log message: Readd to work around inability to commit From jkrell at elego.de Tue Apr 16 02:51:14 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 2:51:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416005114.96B0F5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 02:51:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: detect missing types in pop_struct for now, warn if indirect call; error for direct call todo: fix frontend From jkrell at elego.de Tue Apr 16 03:21:25 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 3:21:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416012125.2CB685DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 03:21:25 Added files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 HighlightVBT.m3 Main.m3 VBT.i3 m3makefile Log message: This test case demonstrates a problem where the frontend doesn't describe all the types to the backend. And also where it doesn't single-instance constants that it could/should. It is adapted from Trestle and a little of libm3. It is reduced very much. From jkrell at elego.de Tue Apr 16 06:50:51 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:50:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045051.AAFDE5DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:50:51 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Main.m3 VBT.i3 Log message: very slight reduction From jkrell at elego.de Tue Apr 16 06:51:17 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:51:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045118.085A45DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:51:17 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 Log message: oops -- put back demonstration of lack of single instancing of constants From jkrell at elego.de Tue Apr 16 06:52:05 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:52:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045205.5F72D5DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:52:05 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Log message: put back more expected type for 'this' From jkrell at elego.de Tue Apr 16 06:54:16 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:54:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045416.380595DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:54:16 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: VBT.i3 Log message: another extremely slight reduction From jkrell at elego.de Tue Apr 16 06:59:07 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:59:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045907.2580F5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:59:07 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: VBT.i3 Log message: make field names stand out more when printing stuff From jkrell at elego.de Tue Apr 16 07:10:59 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 7:10:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416051059.B9E785DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 07:10:59 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 HighlightVBT.m3 Main.m3 VBT.i3 Log message: change types to stand out more From jkrell at elego.de Tue Apr 16 07:14:01 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 7:14:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416051401.664405DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 07:14:01 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 VBT.i3 Log message: make names stand out more more From jkrell at elego.de Tue Apr 16 18:16:03 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 18:16:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416161603.2961A5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 18:16:03 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 Main.m3 Log message: add test cases for global variables..frontend seems to do very poorly here? From jkrell at elego.de Tue Apr 16 18:16:34 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 18:16:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416161634.932E65DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 18:16:34 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 Log message: add '_var_' so it stands out, if it worked better From jkrell at elego.de Wed Apr 17 04:26:36 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 17 Apr 2013 4:26:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130417022636.8F09C5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/17 04:26:36 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: identify the unknown types in comments in the C also..hopefully will fix this soon.. From jkrell at elego.de Thu Apr 18 03:48:37 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 3:48:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418014837.785945DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 03:48:37 Modified files: cm3/m3-sys/m3front/src/misc/: CG.m3 Log message: slight simplication and possibly slight optimization From jkrell at elego.de Thu Apr 18 03:56:53 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 3:56:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418015653.35B899D6007@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 03:56:53 Modified files: cm3/m3-libs/m3core/src/Csupport/Common/: dtoa.h Log message: n file included from ../src/Csupport/little-endian/dtoa.c:28: ../src/Csupport/Common/dtoa.h: In function ???double m3_strtod(const char*, char**)???: ../src/Csupport/Common/dtoa.h:1716: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:1718: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:1727: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h: In function ???char* m3_dtoa(double, int, int, int*, int*, char**)???: ../src/Csupport/Common/dtoa.h:2750: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:2752: warning: deprecated conversion from string constant to ???char*??? From jkrell at elego.de Thu Apr 18 18:24:28 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 18:24:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418162428.779815DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 18:24:28 Modified files: cm3/m3-tools/pp/src/: Parse.yacc ./: Parse.yacc cm3/m3-tools/pp/src/flex-bison/: y.tab.c Log message: lots of: warning: deprecated conversion from string constant to ???char*??? and either a related error, or these warnings were treated as errors by switching from g++ 4.0.1 to g++ 4.2.1 still need to try e.g. 4.8.0 From jkrell at elego.de Fri Apr 19 03:53:06 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 3:53:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419015306.8862A5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 03:53:06 Modified files: cm3/m3-libs/m3core/src/: m3core.h Log message: fix gcc 4.8 warning about unused local typedefs, for static assert, with __attribute__ ((unused)) for example, Bing for Werror=unused-local-typedefs and get http://code.google.com/p/v8/issues/detail?id=2149 also add some typedefs I had around: +typedef float REAL; +typedef double LONGREAL; +typedef double EXTENDED; +#if defined(__cplusplus) || __STDC__ +typedef void* PVOID; +#else +typedef char* PVOID; +#endif +typedef PVOID ADDRESS; +typedef ADDRESS TEXT; +typedef ADDRESS MUTEX; not sure they are needed (and would eventually like something better for TEXT for debugability) From jkrell at elego.de Fri Apr 19 06:02:44 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 6:02:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419040244.1B0075DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 06:02:44 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Main.m3 VBT.i3 Log message: extend test case to show the bug exists for big sets and fixed sized arrays (also tested: open arrays, but seemingly no problem there) From jkrell at elego.de Fri Apr 19 06:11:49 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 6:11:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419041149.C01AB5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 06:11:49 Modified files: cm3/m3-tools/cvsup/suplib/src/libglob/: fnmatch.c Log message: g++ 4.8.0: ../src/libglob/fnmatch.c: In function ???int fnmatch(const char*, const char*, int)???: ../src/libglob/fnmatch.c:149:19: error: suggest parentheses around ???&&??? within ???||??? [-Werror=parentheses] (c == '/' && string != stringstart || ^ fix from: http://src.gnu-darwin.org/src/contrib/csup/fnmatch.c.html I do think gcc ought to output the exact code it is suggesting. I From jkrell at elego.de Sat Apr 20 18:30:05 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 18:30:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420163005.34CFB5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 18:30:05 Modified files: cm3/m3-sys/m3front/src/values/: Formal.m3 Log message: Type.Compile before CG.Pop_struct From jkrell at elego.de Sat Apr 20 19:56:41 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 19:56:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420175641.DCB265DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 19:56:41 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: turn back on #line directives prepare for passing structs by value: VAR PassStructsByValue := FALSE; VAR ReturnStructsByValue := FALSE; (* tied in with frontend/target) make missing types in pop_struct an error now that frontend fixed structs by value cause an interesting reversal, my thinking is thus: NOT by value, current scheme: void Procedure(struct* uplevel) { struct { struct uplevel; } frame = {*uplevel}; } by value: void Procedure(struct uplevel) { struct { struct* uplevel; } frame = {&uplevel}; } i.e. still have to "copy some value into frame struct" but it changes from value to pointer though, if the struct is size of a pointer or smaller, we might as well copy the value also prepare for returning structs by value, though frontend doesn't seem setup for that From jkrell at elego.de Sat Apr 20 20:48:30 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 20:48:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420184830.649CE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 20:48:30 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: start work to omit declarations for unused functions, if any, we'll see require all typeids to resolve..system mostly compiles with this, but it found a problem: == package /Users/jay/dev2/cm3/elego/graphicutils == new source -> compiling RsrcFilter.m3 "../src/RsrcFilter.m3", line 2: declare_param: unknown typeid:T48EC756E type:ADDRESS to be looked into later From jkrell at elego.de Sat Apr 20 20:52:21 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 20:52:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420185221.395C05DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 20:52:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: "mark" => "discover", similar enough meaning, shorter word fix compilation from previous wrt MarkUsedProc From jkrell at elego.de Sun Apr 21 01:54:37 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 1:54:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420235437.42ED45DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 01:54:37 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: combine MarkUsedVariables, MarkUsedLabels and new MarkUsedProcedures into new MarkUsed prepare to not output unused functions/prototypes (unless exported) From jkrell at elego.de Sun Apr 21 01:59:33 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 1:59:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420235933.46F4E5DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 01:59:33 Added files: cm3/m3-sys/m3tests/src/p2/p256/: A.i3 A.m3 B.i3 B.m3 Main.m3 m3makefile Log message: test for unused functions/prototypes From jkrell at elego.de Sun Apr 21 02:03:38 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 2:03:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130421000339.45D9D5DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 02:03:38 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: changed Proc_t.used from a boolean to an integer..we really do either remove uses and see if they hit zero, or only cover uses starting from roots like exports From rodney at elego.de Sun Apr 28 21:06:06 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:06:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428190606.3DF769BA007@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:06:06 Modified files: cm3/m3-db/odbc/test/src/: m3makefile ./: m3makefile cm3/m3-db/pgodbc/src/: m3makefile ./: m3makefile cm3/m3-db/postgres95/test/src/: m3makefile ./: m3makefile cm3/m3-games/columns/src-x11/: m3makefile ./: m3makefile cm3/m3-games/tetris/src/: m3makefile ./: m3makefile cm3/m3-tools/cvsup/suplib/src/: m3makefile ./: m3makefile cm3/m3-tools/gnuemacs/src/: m3makefile ./: m3makefile cm3/m3-tools/pp/src/: m3makefile ./: m3makefile cm3/m3-ui/PEX/src/: m3makefile ./: m3makefile cm3/m3-ui/X11R4/src/: m3makefile ./: m3makefile cm3/m3-ui/anim3D/src/: m3makefile ./: m3makefile cm3/m3-ui/motif/src/: m3makefile ./: m3makefile cm3/m3-ui/opengl/src/: m3makefile ./: m3makefile cm3/m3-ui/ui/src/xvbt/: m3makefile Log message: Many packages were failing to build, with: quake runtime error: undefined variable: configure_system_libs at least on LINUXLIBC6. Make the call on configure_system_libs in these m3makefiles conditional on its being defined, as they already were in the m3makefiles in several other packages. From rodney at elego.de Sun Apr 28 21:42:09 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:42:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428194210.0DE965DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:42:09 Modified files: cm3/m3-db/odbc/src/: m3makefile ./: m3makefile Added files: cm3/m3-db/odbc/src/POSIX/: SQL.i3 SQLext.i3 SQLext.m3 SQLtypes.i3 Log message: Unfortunately, merging files SQL.i3 and SQLext.[im]3 in the POSIX and WIN32 subdirectories was premature. It requires a recent compiler change that is now in the head, but not in the released compiler. This makes building package odbc accessible only to certain active developers who regularly rebuild in the head from the right older version of the head. Or some similar tricky sequence. Ordinary users who try to build with the release compiler are out of luck. Put things back the way they were for now. After there has been a release of a compiler that will accept WINAPI even when compiling for a non-windows target, then this can be reinstated. From rodney at elego.de Sun Apr 28 21:51:42 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:51:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428195142.225485DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:51:42 Modified files: cm3/m3-ui/opengl/src/: m3makefile ./: m3makefile cm3/m3-ui/opengl/src/POSIX/: m3makefile Added files: cm3/m3-ui/opengl/src/POSIX/: GL.i3 GLu.i3 Log message: Unfortunately, merging files GL.ie and GLu.i3 in the POSIX and WIN32 subdirectories was premature. It requires a recent compiler change that is now in the head, but not in the released compiler. This makes building package opengl accessible only to certain active developers who regularly rebuild in the head from the right older version of the head. Or some similar tricky sequence. Ordinary users who try to build with the release compiler are out of luck. Put things back the way they were for now. After there has been a release of a compiler that will accept WINAPI even when compiling for a non-windows target, then this can be reinstated. From rodney at elego.de Mon Apr 1 03:15:41 2013 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 1 Apr 2013 3:15:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130401011541.52F615DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/01 03:15:41 Modified files: cm3/m3-libs/ordsets/ordsets/src/: OrdSets.mg Test.m3 Log message: One thing leads to another. 1) Fix Image function to display a run of length only two as not a run. E.g., change to display {1,3,4,6} instead of {1,3..4,6} Which led to: 2) Add some hard-coded auto-run tests of Image to the Test module. Which led to: 3) Fix an overflow bug at the top end of INTEGER range in ForAllDo And also to: 4) Discover and fix 3 bugs in recently added Compare function, along with some fixes to the tests thereof in Test module. From jkrell at elego.de Wed Apr 3 09:47:28 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 3 Apr 2013 9:47:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130403074728.B7BC15DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/03 09:47:28 Added files: cm3/scratch/: macosx-vmmap.cpp Log message: sample.. From jkrell at elego.de Wed Apr 3 10:26:09 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 3 Apr 2013 10:26:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130403082609.5BF165DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/03 10:26:09 Modified files: cm3/m3-sys/m3tests/src/p2/p253/: Public.i3 Public.m3 c.c Log message: update From jkrell at elego.de Sun Apr 7 07:17:09 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 7:17:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407051709.E936A5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 07:17:09 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: significant progress on declaring types! sets zero field records fixed arrays open arrays add UID_UNTRACED_ROOT to builtins give WIDECHAR, CHAR friendly names instead of typeid names fix problems with negative typeids all of m3core compiles without reporting "giving up" declaring types on to make it an error (while not making forward progress, instead of a fixed iteration count) and see if the entire tree builds note that opaque types are still just ADDRESS note that all these declared types are not yet the types of any variables..let alone do we deduce field references.. and objects/proctypes/methods not yet finished... but getting close... still to handle back-patching in typenames too, so that e.g. TYPE Foo = REF RECORD ... END; C code should use "Foo" instead of a M123456. From jkrell at elego.de Sun Apr 7 07:23:35 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 7:23:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407052335.9BB1F5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 07:23:35 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fill in code to error if declaring types not making progress, not yet enabled, doesn't work yet From jkrell at elego.de Sun Apr 7 08:17:59 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 8:17:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407061759.3CB9E5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 08:17:59 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work out records vs. objects objects have a typeid assigned by frontend and are pointers to record made up by backend, like this: WrClass.i3.c, a linked list (i.e. self referential type): /* declare_object typeid:MAD398276 super:M9D8FB489 brand: traced:TRUE field_count:2 method_count:0 field_size:128 */ /*record_forwardDeclare*/struct MAD398276_record_for_object;typedef struct MAD398276_record_for_object MAD398276_record_for_object; /*pointer_define*/typedef MAD398276_record_for_object * MAD398276; /*record_define*/struct MAD398276_record_for_object{ MD1D9DD0E head; MAD398276 tail; }; I append "_record_for_object" (maybe "_object_fields"? Yes, that seems better, or "_fields" or "_data", shorter). Still to fill in a field for the typeinfo/vtable.. I set the typeid for the made up record to -1 and hope this is ok. There is precedent for -1 being in the system but lots of code skipping it. In particular, it is the typeid for "segments". With this, libm3 gets all of its types defined! (again, not necessarily quite correctly, for objects, or as revealing as I'd like, for opaque types.. but this is good..) From jkrell at elego.de Sun Apr 7 08:50:00 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 8:50:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407065000.17BF35DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 08:50:00 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: and now require all types to be declared, very good From rodney at elego.de Mon Apr 8 20:39:18 2013 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 8 Apr 2013 20:39:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130408183918.555525DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/08 20:39:18 Modified files: cm3/m3-sys/m3cc/gcc/gcc/: dbxout.c Log message: Some end-of-function comments. From jkrell at elego.de Tue Apr 9 04:31:00 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 9 Apr 2013 4:31:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130409023100.7AE355DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/09 04:31:00 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: m3cgtype to cgtype It is shorter, and in some sense, this stuff isn't Modula-3 specific. From jkrell at elego.de Tue Apr 9 04:38:01 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 9 Apr 2013 4:38:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130409023801.7CDFF5DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/09 04:38:01 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some debugging assistance (maybe I'll get enums working better.. From jkrell at elego.de Wed Apr 10 03:29:13 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 10 Apr 2013 3:29:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410012913.933845DEA9F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/10 03:29:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: start really using structs and other types for locals! (not yet for parameters) remove FORWARD_STRUCT in favor of duplication comment out getMinimumBitSize stop predeclaring: (*CONST UID_RANGE_0_31 = 16_2DA6581D; [0..31] *) (*CONST UID_RANGE_0_63 = 16_2FA3581D; [0..63] *) as they end up sized 8 bits instead of integer fix subranges to be sized as appropriate instead of based on domain_type -- very important! We are using these types now too, not just records. There are some stop-gaps here casting to record addresses to ADDRESS. e.g. exit_proc Change types from M to T. M for Modula-3, T for type. Example: _L_59 = { start = 0x101204640 "/Users/jay/dev2/cm3/m3-libs/m3core", length = 34, wide = 0 '\0', L_0 = "\000\000\000\000\000\000" } L_176_L_177 = 0x1005344ac "UH??H??@H?}?H?u?H?E?" L_178_L_179 = 0x1005344ac "UH??H??@H?}?H?u?H?E?" _frame = { _unused = 0x7fff5fbfeed0 "??_?" } (gdb) bt 1 #0 Text__Length (t_L_61=0x101204618 "`Vn") at Text.m3.c:1853 This is a significant improvement over stock gdb. Except for the appended "_L_" which is set to be removed, once I handle scopes and don't lift locals out to toplevel for each function. From jay.krell at cornell.edu Wed Apr 10 04:26:48 2013 From: jay.krell at cornell.edu (Jay K) Date: Wed, 10 Apr 2013 02:26:48 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20130410012913.933845DEA9F@birch.elegosoft.com> References: <20130410012913.933845DEA9F@birch.elegosoft.com> Message-ID: This is a great advance. However it needs just a bit more work. It can compile itself, but if you go to compile the entire system..: == package /Users/jay/dev2/cm3/m3-comm/netobj == new source -> compiling NetObjRT.m3 NetObjRT.m3.c: In function ?char* NetObjRT__Find(char*, char*)?: NetObjRT.m3.c:6602: error: cannot convert ?m3struct_16_t? to ?char*? in assignment compile_c => 1 C compiler failed compiling: NetObjRT.m3.c I'll get to this "soon", maybe today, maybe not. - Jay > Date: Wed, 10 Apr 2013 03:29:13 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 13/04/10 03:29:13 > > Modified files: > cm3/m3-sys/m3back/src/: M3C.m3 > > Log message: > start really using structs and other types for locals! -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodney at elego.de Wed Apr 10 16:19:44 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 16:19:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410141944.B58E25DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 16:19:44 Modified files: cm3/m3-sys/m3gdb/src/: m3makefile Log message: Comments. From rodney at elego.de Wed Apr 10 18:43:12 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 18:43:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410164312.27B535DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 18:43:12 Modified files: cm3/doc/reference/complete/: m3-defn-complete.tex Log message: A bit more info on empty types From rodney at elego.de Wed Apr 10 20:37:09 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 20:37:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410183709.5F2DC5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 20:37:09 Modified files: cm3/doc/help/m3gdb/: m3gdb-onepage.html m3gdb.docbook Log message: Small wording changes. From jkrell at elego.de Thu Apr 11 07:18:22 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 7:18:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411051822.25F325DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 07:18:22 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work in progress.. try to single instance some TEXTs, it might help comparisons.. type => cgtype, m3cgtype => cgtype fix the negative typeids..didn't get them all before still haven't fixed the matter of uplevel structs..later.. From jkrell at elego.de Thu Apr 11 09:20:16 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:20:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072016.709215DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:20:16 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: add asserts From jkrell at elego.de Thu Apr 11 09:22:13 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:22:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072213.BCF705DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:22:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3CG.Type => CGType From jkrell at elego.de Thu Apr 11 09:24:23 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:24:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072423.56B005DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:24:23 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove commented out code in DeclareTypes that left it optional if all types could be declared From jkrell at elego.de Thu Apr 11 09:31:09 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:31:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411073110.050CE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:31:09 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops, fix compile error From jkrell at elego.de Thu Apr 11 09:40:05 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:40:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411074006.06BC15DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:40:05 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove incorrect new assert, remove type.byte_size, type.bit_size is enough; still to change param.byte_size to param.bit_size From jkrell at elego.de Thu Apr 11 10:04:46 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:04:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411080446.5BBBA9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:04:46 Added files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 m3makefile Log message: test for passing structs by value and uplevel structs doesn't currently compile, recent regression From jkrell at elego.de Thu Apr 11 10:27:38 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:27:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411082738.707B05DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:27:38 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: uplevel non-param record too From jkrell at elego.de Thu Apr 11 10:30:08 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:30:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411083008.524AC9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:30:08 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: alter test case From jkrell at elego.de Thu Apr 11 10:30:20 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:30:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411083020.7682F5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:30:20 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: alter test case From jkrell at elego.de Thu Apr 11 10:41:05 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:41:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411084105.CC7D75DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:41:05 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: cg_type => cgtype From jkrell at elego.de Thu Apr 11 11:14:45 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:14:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411091445.0EEB89D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:14:45 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: refine test case From jkrell at elego.de Thu Apr 11 11:42:29 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:42:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411094229.8B4965DE10C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:42:29 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: much more complete From jkrell at elego.de Thu Apr 11 11:44:53 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:44:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411094453.8199E5DE10C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:44:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: temporarily stop using strong types, until uplevel param records working From jkrell at elego.de Thu Apr 11 11:57:02 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:57:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411095702.13F699D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:57:02 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove in_memory and frequency parameters From jkrell at elego.de Thu Apr 11 11:59:11 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:59:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411095911.3475D9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:59:11 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops -- left brace vs. right brace -- everything was failing From jkrell at elego.de Thu Apr 11 13:09:01 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:09:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:09:01 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work in progress on strong typing, including for parameters, var parameters, records, uplevels, etc., but actually for now revert to weak typing until all scenarios work From jkrell at elego.de Thu Apr 11 13:09:37 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:09:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411110937.168FE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:09:37 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops From jkrell at elego.de Thu Apr 11 13:12:13 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:12:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411111213.5D1CC5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:12:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops 2 From jay.krell at cornell.edu Thu Apr 11 13:16:38 2013 From: jay.krell at cornell.edu (Jay K) Date: Thu, 11 Apr 2013 11:16:38 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> References: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> Message-ID: clarification: local records are still strongly typed but record parameters and uplevel local records are not - Jay > Date: Thu, 11 Apr 2013 13:09:01 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 13/04/11 13:09:01 > > Modified files: > cm3/m3-sys/m3back/src/: M3C.m3 > > Log message: > work in progress on strong typing, including for parameters, var parameters, > records, uplevels, etc., but actually for now revert to weak typing > until all scenarios work > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Fri Apr 12 03:51:27 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 3:51:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412015127.7D71D5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 03:51:27 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: add record return From jkrell at elego.de Fri Apr 12 07:03:26 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:03:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050326.CD12E5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:03:26 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some more newlines in the output From jkrell at elego.de Fri Apr 12 07:04:14 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:04:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050414.AF67D5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:04:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3STRUCT => STRUCT, m3struct_ => struct_ From jkrell at elego.de Fri Apr 12 07:07:17 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:07:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050717.B224A5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:07:17 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3DOTDOTDOT => DOTDOTDOT From jkrell at elego.de Fri Apr 12 07:08:41 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:08:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050841.DD13A5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:08:41 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3_UINT64 => UINT64_, M3_INT64 => INT64_ From jkrell at elego.de Fri Apr 12 07:12:53 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:12:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412051253.B25735DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:12:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: more newlines in output From dragisha at elego.de Fri Apr 12 09:23:00 2013 From: dragisha at elego.de (Dragiša Duric) Date: Fri, 12 Apr 2013 9:23:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412072300.1D9F45DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 13/04/12 09:23:00 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: FSWin32.m3 ./: FSWin32.m3 cm3/m3-libs/m3core/src/win32/: WinNLS.i3 Log message: Better-than-current handling of non-ASCII filenames under Windows. Someone actually using WIDECHAR filenames can enhance this further, but for ASCII or UTF8 names, this enables opening of such files on Windows OSes. From dragisha at elego.de Fri Apr 12 09:46:26 2013 From: dragisha at elego.de (Dragiša Duric) Date: Fri, 12 Apr 2013 9:46:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412074626.7D7DA5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 13/04/12 09:46:26 Modified files: cm3/m3-sys/cm3ide/src/misc/: BrowserDB.m3 Log message: Ignore .svn folders. From jkrell at elego.de Fri Apr 12 11:02:21 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 11:02:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412090221.768875DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 11:02:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: working and much improved checkpoint get strong typing in by hook and by crook casting all functions to "untyped" didn't quite work, due to "noreturn" "untyped" is C: return_type (*)() C++: return_type (*)(...) a function pointer that accepts any parameters returns "return_type" void F1() noreturn; void F2() noreturn { F1(); } => ok void F1() noreturn; void F2() noreturn { ((*)()F1)(); } => warning that noreturn function F2 returns.. error? (because casting the function to a pointer loses its no-returnedness). I tried not casting when calling an indirect function, but that doesn't work due to the types we do pass to such functions, even though there are very few of them. I maybe should have tried encoding no_return into the pointer type as needed. warnings aside, I think there was another problem. I forget what it was. So I bit the bullet and walk the parameter types of what I am calling (for direct calls) and use those types to cast all the parameters. This way we do have typeids and well typed struct pointers. Much to cleanup maybe.. Esp. "type_text" => "type.text" Need to actually store all those types. And need get the stars for pointers for structs right. (they are currently correct) Maybe before that will pass structs by value using the C/C++ feature. But we can't because we pass structs by values to indirect function pointers when we haven't declared the type, apparently. That will simplify things for us. But maybe do it under #ifdef. Parameter stack needs to be expressions instead of text, so we can remove redundant casts. Need to review all the special casing and "TODO". From jkrell at elego.de Fri Apr 12 11:03:52 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 11:03:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412090352.E0DD45DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 11:03:52 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove BitsToDec[], replace the one use with IntToDec() From rodney at elego.de Fri Apr 12 16:59:14 2013 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 12 Apr 2013 16:59:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412145914.DA6605DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/12 16:59:14 Modified files: cm3/doc/reference/complete/: m3-defn-complete.html m3-defn-complete.ps ./: m3-defn-complete.html m3-defn-complete.ps cm3/doc/reference/complete/html/: 1_1History.html 1_2Perspective.html 1_3Overview.html 1_4Features.html 1_Introduction.html 2_1Definitions.html 2_2Types.html 2_2_10Subtyping_rules.html 2_2_11Predeclared_opaque.html 2_2_1Ordinal_types.html 2_2_2Floating_point_types.html 2_2_3Arrays.html 2_2_4Records.html 2_2_5Packed_types.html 2_2_6Sets.html 2_2_7References.html 2_2_8Procedures.html 2_2_9Objects.html 2_3Statements.html 2_3_10Exit.html 2_3_11Return.html 2_3_12If.html 2_3_13While.html 2_3_14Repeat.html 2_3_15With.html 2_3_16For.html 2_3_17Case.html 2_3_18Typecase.html 2_3_19Lock.html 2_3_1Assignment.html 2_3_20Inc_Dec.html 2_3_2Procedure_call.html 2_3_3Eval.html 2_3_4Block_statement.html 2_3_5Sequential_composition.html 2_3_6Raise.html 2_3_7Try_Except.html 2_3_8Try_Finally.html 2_3_9Loop.html 2_4Declarations.html 2_4_1Types.html 2_4_2Constants.html 2_4_3Variables.html 2_4_4Procedures.html 2_4_5Exceptions.html 2_4_6Opaque_types.html 2_4_7Revelations.html 2_4_8Recursive_declarations.html 2_5Modules_interfaces.html 2_5_1Import_statements.html 2_5_2Interfaces.html 2_5_3Modules.html 2_5_4Example_module.html 2_5_5Generics.html 2_5_6Initialization.html 2_5_7Safety.html 2_6Expressions.html 2_6_10Arithmetic_operations.html 2_6_11Relations.html 2_6_12Boolean_operations.html 2_6_13Type_operations.html 2_6_14Text_operations.html 2_6_15Constant_expressions.html 2_6_1Conventions_describing.html 2_6_2Operation_syntax.html 2_6_3Designators.html 2_6_4Numeric_literals.html 2_6_5Text_character.html 2_6_6Nil.html 2_6_7Function_application.html 2_6_8Set_array.html 2_6_9New.html 2_7Unsafe_operations.html 2_8Syntax.html 2_8_10Expression_production.html 2_8_11Miscellaneous_product.html 2_8_12Token_productions.html 2_8_1Keywords.html 2_8_2Reserved_identifiers.html 2_8_3Operators.html 2_8_4Comments.html 2_8_5Pragmas.html 2_8_6Conventions_syntax.html 2_8_7Compilation_unit.html 2_8_8Statement_productions.html 2_8_9Type_productions.html About_authors.html About_this_document.html Acknowledgments.html Contents.html Modula_3_Language_definitio.html index.html m3-defn-complete.html Log message: Rebuild of files derived from m3-defn-complete.tex From jkrell at elego.de Sat Apr 13 03:36:21 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 3:36:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413013621.AEA025DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 03:36:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: DebugDeclare => DebugVerbose, as I use it in more places When comment concating 4 or fewer strings, pass them as separate parameters to reduce heap/garbage wrap some source to 80 columns (around DebugVerbose) From jkrell at elego.de Sat Apr 13 04:22:53 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:22:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413022254.93F9B5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:22:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some type => cgtype add more debug print e.g. declare_constant, declare_global, stuff I want to make more progress on some indentation (around debug print) From jkrell at elego.de Sat Apr 13 04:35:14 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:35:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413023514.1171C5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:35:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: a bit more debug print -- merging with a saved away file From jkrell at elego.de Sat Apr 13 04:36:58 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:36:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413023658.75E9F5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:36:58 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fix previous commit that doesn't compile, oops, sorry in index_address, omit multiplication by 1 From jkrell at elego.de Sat Apr 13 04:56:11 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:56:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413025611.A12375DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:56:11 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: should fix nul deref From jkrell at elego.de Sat Apr 13 21:17:35 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 21:17:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413191735.E77E15DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 21:17:35 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fix another nul deref in debug print From rodney at elego.de Sun Apr 14 17:05:59 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 14 Apr 2013 17:05:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130414150559.D47245DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/14 17:05:59 Removed files: cm3/doc/reference/complete/: m3-defn-complete.pdf Log message: Remove to fix some CVS problem that prevented committing. From rodney at elego.de Sun Apr 14 17:08:37 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 14 Apr 2013 17:08:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130414150837.CFD135DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/14 17:08:37 Added files: cm3/doc/reference/complete/: m3-defn-complete.pdf Log message: Readd to work around inability to commit From jkrell at elego.de Tue Apr 16 02:51:14 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 2:51:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416005114.96B0F5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 02:51:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: detect missing types in pop_struct for now, warn if indirect call; error for direct call todo: fix frontend From jkrell at elego.de Tue Apr 16 03:21:25 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 3:21:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416012125.2CB685DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 03:21:25 Added files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 HighlightVBT.m3 Main.m3 VBT.i3 m3makefile Log message: This test case demonstrates a problem where the frontend doesn't describe all the types to the backend. And also where it doesn't single-instance constants that it could/should. It is adapted from Trestle and a little of libm3. It is reduced very much. From jkrell at elego.de Tue Apr 16 06:50:51 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:50:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045051.AAFDE5DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:50:51 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Main.m3 VBT.i3 Log message: very slight reduction From jkrell at elego.de Tue Apr 16 06:51:17 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:51:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045118.085A45DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:51:17 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 Log message: oops -- put back demonstration of lack of single instancing of constants From jkrell at elego.de Tue Apr 16 06:52:05 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:52:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045205.5F72D5DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:52:05 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Log message: put back more expected type for 'this' From jkrell at elego.de Tue Apr 16 06:54:16 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:54:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045416.380595DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:54:16 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: VBT.i3 Log message: another extremely slight reduction From jkrell at elego.de Tue Apr 16 06:59:07 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:59:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045907.2580F5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:59:07 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: VBT.i3 Log message: make field names stand out more when printing stuff From jkrell at elego.de Tue Apr 16 07:10:59 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 7:10:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416051059.B9E785DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 07:10:59 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 HighlightVBT.m3 Main.m3 VBT.i3 Log message: change types to stand out more From jkrell at elego.de Tue Apr 16 07:14:01 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 7:14:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416051401.664405DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 07:14:01 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 VBT.i3 Log message: make names stand out more more From jkrell at elego.de Tue Apr 16 18:16:03 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 18:16:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416161603.2961A5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 18:16:03 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 Main.m3 Log message: add test cases for global variables..frontend seems to do very poorly here? From jkrell at elego.de Tue Apr 16 18:16:34 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 18:16:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416161634.932E65DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 18:16:34 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 Log message: add '_var_' so it stands out, if it worked better From jkrell at elego.de Wed Apr 17 04:26:36 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 17 Apr 2013 4:26:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130417022636.8F09C5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/17 04:26:36 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: identify the unknown types in comments in the C also..hopefully will fix this soon.. From jkrell at elego.de Thu Apr 18 03:48:37 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 3:48:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418014837.785945DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 03:48:37 Modified files: cm3/m3-sys/m3front/src/misc/: CG.m3 Log message: slight simplication and possibly slight optimization From jkrell at elego.de Thu Apr 18 03:56:53 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 3:56:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418015653.35B899D6007@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 03:56:53 Modified files: cm3/m3-libs/m3core/src/Csupport/Common/: dtoa.h Log message: n file included from ../src/Csupport/little-endian/dtoa.c:28: ../src/Csupport/Common/dtoa.h: In function ???double m3_strtod(const char*, char**)???: ../src/Csupport/Common/dtoa.h:1716: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:1718: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:1727: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h: In function ???char* m3_dtoa(double, int, int, int*, int*, char**)???: ../src/Csupport/Common/dtoa.h:2750: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:2752: warning: deprecated conversion from string constant to ???char*??? From jkrell at elego.de Thu Apr 18 18:24:28 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 18:24:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418162428.779815DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 18:24:28 Modified files: cm3/m3-tools/pp/src/: Parse.yacc ./: Parse.yacc cm3/m3-tools/pp/src/flex-bison/: y.tab.c Log message: lots of: warning: deprecated conversion from string constant to ???char*??? and either a related error, or these warnings were treated as errors by switching from g++ 4.0.1 to g++ 4.2.1 still need to try e.g. 4.8.0 From jkrell at elego.de Fri Apr 19 03:53:06 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 3:53:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419015306.8862A5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 03:53:06 Modified files: cm3/m3-libs/m3core/src/: m3core.h Log message: fix gcc 4.8 warning about unused local typedefs, for static assert, with __attribute__ ((unused)) for example, Bing for Werror=unused-local-typedefs and get http://code.google.com/p/v8/issues/detail?id=2149 also add some typedefs I had around: +typedef float REAL; +typedef double LONGREAL; +typedef double EXTENDED; +#if defined(__cplusplus) || __STDC__ +typedef void* PVOID; +#else +typedef char* PVOID; +#endif +typedef PVOID ADDRESS; +typedef ADDRESS TEXT; +typedef ADDRESS MUTEX; not sure they are needed (and would eventually like something better for TEXT for debugability) From jkrell at elego.de Fri Apr 19 06:02:44 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 6:02:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419040244.1B0075DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 06:02:44 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Main.m3 VBT.i3 Log message: extend test case to show the bug exists for big sets and fixed sized arrays (also tested: open arrays, but seemingly no problem there) From jkrell at elego.de Fri Apr 19 06:11:49 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 6:11:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419041149.C01AB5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 06:11:49 Modified files: cm3/m3-tools/cvsup/suplib/src/libglob/: fnmatch.c Log message: g++ 4.8.0: ../src/libglob/fnmatch.c: In function ???int fnmatch(const char*, const char*, int)???: ../src/libglob/fnmatch.c:149:19: error: suggest parentheses around ???&&??? within ???||??? [-Werror=parentheses] (c == '/' && string != stringstart || ^ fix from: http://src.gnu-darwin.org/src/contrib/csup/fnmatch.c.html I do think gcc ought to output the exact code it is suggesting. I From jkrell at elego.de Sat Apr 20 18:30:05 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 18:30:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420163005.34CFB5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 18:30:05 Modified files: cm3/m3-sys/m3front/src/values/: Formal.m3 Log message: Type.Compile before CG.Pop_struct From jkrell at elego.de Sat Apr 20 19:56:41 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 19:56:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420175641.DCB265DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 19:56:41 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: turn back on #line directives prepare for passing structs by value: VAR PassStructsByValue := FALSE; VAR ReturnStructsByValue := FALSE; (* tied in with frontend/target) make missing types in pop_struct an error now that frontend fixed structs by value cause an interesting reversal, my thinking is thus: NOT by value, current scheme: void Procedure(struct* uplevel) { struct { struct uplevel; } frame = {*uplevel}; } by value: void Procedure(struct uplevel) { struct { struct* uplevel; } frame = {&uplevel}; } i.e. still have to "copy some value into frame struct" but it changes from value to pointer though, if the struct is size of a pointer or smaller, we might as well copy the value also prepare for returning structs by value, though frontend doesn't seem setup for that From jkrell at elego.de Sat Apr 20 20:48:30 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 20:48:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420184830.649CE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 20:48:30 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: start work to omit declarations for unused functions, if any, we'll see require all typeids to resolve..system mostly compiles with this, but it found a problem: == package /Users/jay/dev2/cm3/elego/graphicutils == new source -> compiling RsrcFilter.m3 "../src/RsrcFilter.m3", line 2: declare_param: unknown typeid:T48EC756E type:ADDRESS to be looked into later From jkrell at elego.de Sat Apr 20 20:52:21 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 20:52:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420185221.395C05DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 20:52:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: "mark" => "discover", similar enough meaning, shorter word fix compilation from previous wrt MarkUsedProc From jkrell at elego.de Sun Apr 21 01:54:37 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 1:54:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420235437.42ED45DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 01:54:37 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: combine MarkUsedVariables, MarkUsedLabels and new MarkUsedProcedures into new MarkUsed prepare to not output unused functions/prototypes (unless exported) From jkrell at elego.de Sun Apr 21 01:59:33 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 1:59:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420235933.46F4E5DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 01:59:33 Added files: cm3/m3-sys/m3tests/src/p2/p256/: A.i3 A.m3 B.i3 B.m3 Main.m3 m3makefile Log message: test for unused functions/prototypes From jkrell at elego.de Sun Apr 21 02:03:38 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 2:03:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130421000339.45D9D5DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 02:03:38 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: changed Proc_t.used from a boolean to an integer..we really do either remove uses and see if they hit zero, or only cover uses starting from roots like exports From rodney at elego.de Sun Apr 28 21:06:06 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:06:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428190606.3DF769BA007@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:06:06 Modified files: cm3/m3-db/odbc/test/src/: m3makefile ./: m3makefile cm3/m3-db/pgodbc/src/: m3makefile ./: m3makefile cm3/m3-db/postgres95/test/src/: m3makefile ./: m3makefile cm3/m3-games/columns/src-x11/: m3makefile ./: m3makefile cm3/m3-games/tetris/src/: m3makefile ./: m3makefile cm3/m3-tools/cvsup/suplib/src/: m3makefile ./: m3makefile cm3/m3-tools/gnuemacs/src/: m3makefile ./: m3makefile cm3/m3-tools/pp/src/: m3makefile ./: m3makefile cm3/m3-ui/PEX/src/: m3makefile ./: m3makefile cm3/m3-ui/X11R4/src/: m3makefile ./: m3makefile cm3/m3-ui/anim3D/src/: m3makefile ./: m3makefile cm3/m3-ui/motif/src/: m3makefile ./: m3makefile cm3/m3-ui/opengl/src/: m3makefile ./: m3makefile cm3/m3-ui/ui/src/xvbt/: m3makefile Log message: Many packages were failing to build, with: quake runtime error: undefined variable: configure_system_libs at least on LINUXLIBC6. Make the call on configure_system_libs in these m3makefiles conditional on its being defined, as they already were in the m3makefiles in several other packages. From rodney at elego.de Sun Apr 28 21:42:09 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:42:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428194210.0DE965DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:42:09 Modified files: cm3/m3-db/odbc/src/: m3makefile ./: m3makefile Added files: cm3/m3-db/odbc/src/POSIX/: SQL.i3 SQLext.i3 SQLext.m3 SQLtypes.i3 Log message: Unfortunately, merging files SQL.i3 and SQLext.[im]3 in the POSIX and WIN32 subdirectories was premature. It requires a recent compiler change that is now in the head, but not in the released compiler. This makes building package odbc accessible only to certain active developers who regularly rebuild in the head from the right older version of the head. Or some similar tricky sequence. Ordinary users who try to build with the release compiler are out of luck. Put things back the way they were for now. After there has been a release of a compiler that will accept WINAPI even when compiling for a non-windows target, then this can be reinstated. From rodney at elego.de Sun Apr 28 21:51:42 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:51:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428195142.225485DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:51:42 Modified files: cm3/m3-ui/opengl/src/: m3makefile ./: m3makefile cm3/m3-ui/opengl/src/POSIX/: m3makefile Added files: cm3/m3-ui/opengl/src/POSIX/: GL.i3 GLu.i3 Log message: Unfortunately, merging files GL.ie and GLu.i3 in the POSIX and WIN32 subdirectories was premature. It requires a recent compiler change that is now in the head, but not in the released compiler. This makes building package opengl accessible only to certain active developers who regularly rebuild in the head from the right older version of the head. Or some similar tricky sequence. Ordinary users who try to build with the release compiler are out of luck. Put things back the way they were for now. After there has been a release of a compiler that will accept WINAPI even when compiling for a non-windows target, then this can be reinstated. From rodney at elego.de Mon Apr 1 03:15:41 2013 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 1 Apr 2013 3:15:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130401011541.52F615DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/01 03:15:41 Modified files: cm3/m3-libs/ordsets/ordsets/src/: OrdSets.mg Test.m3 Log message: One thing leads to another. 1) Fix Image function to display a run of length only two as not a run. E.g., change to display {1,3,4,6} instead of {1,3..4,6} Which led to: 2) Add some hard-coded auto-run tests of Image to the Test module. Which led to: 3) Fix an overflow bug at the top end of INTEGER range in ForAllDo And also to: 4) Discover and fix 3 bugs in recently added Compare function, along with some fixes to the tests thereof in Test module. From jkrell at elego.de Wed Apr 3 09:47:28 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 3 Apr 2013 9:47:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130403074728.B7BC15DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/03 09:47:28 Added files: cm3/scratch/: macosx-vmmap.cpp Log message: sample.. From jkrell at elego.de Wed Apr 3 10:26:09 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 3 Apr 2013 10:26:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130403082609.5BF165DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/03 10:26:09 Modified files: cm3/m3-sys/m3tests/src/p2/p253/: Public.i3 Public.m3 c.c Log message: update From jkrell at elego.de Sun Apr 7 07:17:09 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 7:17:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407051709.E936A5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 07:17:09 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: significant progress on declaring types! sets zero field records fixed arrays open arrays add UID_UNTRACED_ROOT to builtins give WIDECHAR, CHAR friendly names instead of typeid names fix problems with negative typeids all of m3core compiles without reporting "giving up" declaring types on to make it an error (while not making forward progress, instead of a fixed iteration count) and see if the entire tree builds note that opaque types are still just ADDRESS note that all these declared types are not yet the types of any variables..let alone do we deduce field references.. and objects/proctypes/methods not yet finished... but getting close... still to handle back-patching in typenames too, so that e.g. TYPE Foo = REF RECORD ... END; C code should use "Foo" instead of a M123456. From jkrell at elego.de Sun Apr 7 07:23:35 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 7:23:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407052335.9BB1F5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 07:23:35 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fill in code to error if declaring types not making progress, not yet enabled, doesn't work yet From jkrell at elego.de Sun Apr 7 08:17:59 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 8:17:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407061759.3CB9E5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 08:17:59 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work out records vs. objects objects have a typeid assigned by frontend and are pointers to record made up by backend, like this: WrClass.i3.c, a linked list (i.e. self referential type): /* declare_object typeid:MAD398276 super:M9D8FB489 brand: traced:TRUE field_count:2 method_count:0 field_size:128 */ /*record_forwardDeclare*/struct MAD398276_record_for_object;typedef struct MAD398276_record_for_object MAD398276_record_for_object; /*pointer_define*/typedef MAD398276_record_for_object * MAD398276; /*record_define*/struct MAD398276_record_for_object{ MD1D9DD0E head; MAD398276 tail; }; I append "_record_for_object" (maybe "_object_fields"? Yes, that seems better, or "_fields" or "_data", shorter). Still to fill in a field for the typeinfo/vtable.. I set the typeid for the made up record to -1 and hope this is ok. There is precedent for -1 being in the system but lots of code skipping it. In particular, it is the typeid for "segments". With this, libm3 gets all of its types defined! (again, not necessarily quite correctly, for objects, or as revealing as I'd like, for opaque types.. but this is good..) From jkrell at elego.de Sun Apr 7 08:50:00 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 7 Apr 2013 8:50:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130407065000.17BF35DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/07 08:50:00 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: and now require all types to be declared, very good From rodney at elego.de Mon Apr 8 20:39:18 2013 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 8 Apr 2013 20:39:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130408183918.555525DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/08 20:39:18 Modified files: cm3/m3-sys/m3cc/gcc/gcc/: dbxout.c Log message: Some end-of-function comments. From jkrell at elego.de Tue Apr 9 04:31:00 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 9 Apr 2013 4:31:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130409023100.7AE355DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/09 04:31:00 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: m3cgtype to cgtype It is shorter, and in some sense, this stuff isn't Modula-3 specific. From jkrell at elego.de Tue Apr 9 04:38:01 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 9 Apr 2013 4:38:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130409023801.7CDFF5DEA9D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/09 04:38:01 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some debugging assistance (maybe I'll get enums working better.. From jkrell at elego.de Wed Apr 10 03:29:13 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 10 Apr 2013 3:29:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410012913.933845DEA9F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/10 03:29:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: start really using structs and other types for locals! (not yet for parameters) remove FORWARD_STRUCT in favor of duplication comment out getMinimumBitSize stop predeclaring: (*CONST UID_RANGE_0_31 = 16_2DA6581D; [0..31] *) (*CONST UID_RANGE_0_63 = 16_2FA3581D; [0..63] *) as they end up sized 8 bits instead of integer fix subranges to be sized as appropriate instead of based on domain_type -- very important! We are using these types now too, not just records. There are some stop-gaps here casting to record addresses to ADDRESS. e.g. exit_proc Change types from M to T. M for Modula-3, T for type. Example: _L_59 = { start = 0x101204640 "/Users/jay/dev2/cm3/m3-libs/m3core", length = 34, wide = 0 '\0', L_0 = "\000\000\000\000\000\000" } L_176_L_177 = 0x1005344ac "UH??H??@H?}?H?u?H?E?" L_178_L_179 = 0x1005344ac "UH??H??@H?}?H?u?H?E?" _frame = { _unused = 0x7fff5fbfeed0 "??_?" } (gdb) bt 1 #0 Text__Length (t_L_61=0x101204618 "`Vn") at Text.m3.c:1853 This is a significant improvement over stock gdb. Except for the appended "_L_" which is set to be removed, once I handle scopes and don't lift locals out to toplevel for each function. From jay.krell at cornell.edu Wed Apr 10 04:26:48 2013 From: jay.krell at cornell.edu (Jay K) Date: Wed, 10 Apr 2013 02:26:48 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20130410012913.933845DEA9F@birch.elegosoft.com> References: <20130410012913.933845DEA9F@birch.elegosoft.com> Message-ID: This is a great advance. However it needs just a bit more work. It can compile itself, but if you go to compile the entire system..: == package /Users/jay/dev2/cm3/m3-comm/netobj == new source -> compiling NetObjRT.m3 NetObjRT.m3.c: In function ?char* NetObjRT__Find(char*, char*)?: NetObjRT.m3.c:6602: error: cannot convert ?m3struct_16_t? to ?char*? in assignment compile_c => 1 C compiler failed compiling: NetObjRT.m3.c I'll get to this "soon", maybe today, maybe not. - Jay > Date: Wed, 10 Apr 2013 03:29:13 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 13/04/10 03:29:13 > > Modified files: > cm3/m3-sys/m3back/src/: M3C.m3 > > Log message: > start really using structs and other types for locals! -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodney at elego.de Wed Apr 10 16:19:44 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 16:19:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410141944.B58E25DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 16:19:44 Modified files: cm3/m3-sys/m3gdb/src/: m3makefile Log message: Comments. From rodney at elego.de Wed Apr 10 18:43:12 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 18:43:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410164312.27B535DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 18:43:12 Modified files: cm3/doc/reference/complete/: m3-defn-complete.tex Log message: A bit more info on empty types From rodney at elego.de Wed Apr 10 20:37:09 2013 From: rodney at elego.de (Rodney M. Bates) Date: Wed, 10 Apr 2013 20:37:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130410183709.5F2DC5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/10 20:37:09 Modified files: cm3/doc/help/m3gdb/: m3gdb-onepage.html m3gdb.docbook Log message: Small wording changes. From jkrell at elego.de Thu Apr 11 07:18:22 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 7:18:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411051822.25F325DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 07:18:22 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work in progress.. try to single instance some TEXTs, it might help comparisons.. type => cgtype, m3cgtype => cgtype fix the negative typeids..didn't get them all before still haven't fixed the matter of uplevel structs..later.. From jkrell at elego.de Thu Apr 11 09:20:16 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:20:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072016.709215DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:20:16 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: add asserts From jkrell at elego.de Thu Apr 11 09:22:13 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:22:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072213.BCF705DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:22:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3CG.Type => CGType From jkrell at elego.de Thu Apr 11 09:24:23 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:24:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411072423.56B005DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:24:23 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove commented out code in DeclareTypes that left it optional if all types could be declared From jkrell at elego.de Thu Apr 11 09:31:09 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:31:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411073110.050CE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:31:09 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops, fix compile error From jkrell at elego.de Thu Apr 11 09:40:05 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 9:40:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411074006.06BC15DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 09:40:05 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove incorrect new assert, remove type.byte_size, type.bit_size is enough; still to change param.byte_size to param.bit_size From jkrell at elego.de Thu Apr 11 10:04:46 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:04:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411080446.5BBBA9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:04:46 Added files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 m3makefile Log message: test for passing structs by value and uplevel structs doesn't currently compile, recent regression From jkrell at elego.de Thu Apr 11 10:27:38 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:27:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411082738.707B05DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:27:38 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: uplevel non-param record too From jkrell at elego.de Thu Apr 11 10:30:08 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:30:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411083008.524AC9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:30:08 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: alter test case From jkrell at elego.de Thu Apr 11 10:30:20 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:30:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411083020.7682F5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:30:20 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: alter test case From jkrell at elego.de Thu Apr 11 10:41:05 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 10:41:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411084105.CC7D75DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 10:41:05 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: cg_type => cgtype From jkrell at elego.de Thu Apr 11 11:14:45 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:14:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411091445.0EEB89D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:14:45 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: refine test case From jkrell at elego.de Thu Apr 11 11:42:29 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:42:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411094229.8B4965DE10C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:42:29 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: much more complete From jkrell at elego.de Thu Apr 11 11:44:53 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:44:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411094453.8199E5DE10C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:44:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: temporarily stop using strong types, until uplevel param records working From jkrell at elego.de Thu Apr 11 11:57:02 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:57:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411095702.13F699D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:57:02 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove in_memory and frequency parameters From jkrell at elego.de Thu Apr 11 11:59:11 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 11:59:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411095911.3475D9D6001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 11:59:11 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops -- left brace vs. right brace -- everything was failing From jkrell at elego.de Thu Apr 11 13:09:01 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:09:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:09:01 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: work in progress on strong typing, including for parameters, var parameters, records, uplevels, etc., but actually for now revert to weak typing until all scenarios work From jkrell at elego.de Thu Apr 11 13:09:37 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:09:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411110937.168FE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:09:37 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops From jkrell at elego.de Thu Apr 11 13:12:13 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 11 Apr 2013 13:12:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130411111213.5D1CC5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/11 13:12:13 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: oops 2 From jay.krell at cornell.edu Thu Apr 11 13:16:38 2013 From: jay.krell at cornell.edu (Jay K) Date: Thu, 11 Apr 2013 11:16:38 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> References: <20130411110901.A3EBF5DEA96@birch.elegosoft.com> Message-ID: clarification: local records are still strongly typed but record parameters and uplevel local records are not - Jay > Date: Thu, 11 Apr 2013 13:09:01 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 13/04/11 13:09:01 > > Modified files: > cm3/m3-sys/m3back/src/: M3C.m3 > > Log message: > work in progress on strong typing, including for parameters, var parameters, > records, uplevels, etc., but actually for now revert to weak typing > until all scenarios work > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Fri Apr 12 03:51:27 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 3:51:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412015127.7D71D5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 03:51:27 Modified files: cm3/m3-sys/m3tests/src/p2/p254/: Main.m3 Log message: add record return From jkrell at elego.de Fri Apr 12 07:03:26 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:03:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050326.CD12E5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:03:26 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some more newlines in the output From jkrell at elego.de Fri Apr 12 07:04:14 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:04:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050414.AF67D5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:04:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3STRUCT => STRUCT, m3struct_ => struct_ From jkrell at elego.de Fri Apr 12 07:07:17 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:07:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050717.B224A5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:07:17 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3DOTDOTDOT => DOTDOTDOT From jkrell at elego.de Fri Apr 12 07:08:41 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:08:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412050841.DD13A5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:08:41 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: M3_UINT64 => UINT64_, M3_INT64 => INT64_ From jkrell at elego.de Fri Apr 12 07:12:53 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 7:12:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412051253.B25735DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 07:12:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: more newlines in output From dragisha at elego.de Fri Apr 12 09:23:00 2013 From: dragisha at elego.de (Dragiša Duric) Date: Fri, 12 Apr 2013 9:23:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412072300.1D9F45DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 13/04/12 09:23:00 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: FSWin32.m3 ./: FSWin32.m3 cm3/m3-libs/m3core/src/win32/: WinNLS.i3 Log message: Better-than-current handling of non-ASCII filenames under Windows. Someone actually using WIDECHAR filenames can enhance this further, but for ASCII or UTF8 names, this enables opening of such files on Windows OSes. From dragisha at elego.de Fri Apr 12 09:46:26 2013 From: dragisha at elego.de (Dragiša Duric) Date: Fri, 12 Apr 2013 9:46:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412074626.7D7DA5DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 13/04/12 09:46:26 Modified files: cm3/m3-sys/cm3ide/src/misc/: BrowserDB.m3 Log message: Ignore .svn folders. From jkrell at elego.de Fri Apr 12 11:02:21 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 11:02:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412090221.768875DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 11:02:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: working and much improved checkpoint get strong typing in by hook and by crook casting all functions to "untyped" didn't quite work, due to "noreturn" "untyped" is C: return_type (*)() C++: return_type (*)(...) a function pointer that accepts any parameters returns "return_type" void F1() noreturn; void F2() noreturn { F1(); } => ok void F1() noreturn; void F2() noreturn { ((*)()F1)(); } => warning that noreturn function F2 returns.. error? (because casting the function to a pointer loses its no-returnedness). I tried not casting when calling an indirect function, but that doesn't work due to the types we do pass to such functions, even though there are very few of them. I maybe should have tried encoding no_return into the pointer type as needed. warnings aside, I think there was another problem. I forget what it was. So I bit the bullet and walk the parameter types of what I am calling (for direct calls) and use those types to cast all the parameters. This way we do have typeids and well typed struct pointers. Much to cleanup maybe.. Esp. "type_text" => "type.text" Need to actually store all those types. And need get the stars for pointers for structs right. (they are currently correct) Maybe before that will pass structs by value using the C/C++ feature. But we can't because we pass structs by values to indirect function pointers when we haven't declared the type, apparently. That will simplify things for us. But maybe do it under #ifdef. Parameter stack needs to be expressions instead of text, so we can remove redundant casts. Need to review all the special casing and "TODO". From jkrell at elego.de Fri Apr 12 11:03:52 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 12 Apr 2013 11:03:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412090352.E0DD45DEAB1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/12 11:03:52 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: remove BitsToDec[], replace the one use with IntToDec() From rodney at elego.de Fri Apr 12 16:59:14 2013 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 12 Apr 2013 16:59:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130412145914.DA6605DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/12 16:59:14 Modified files: cm3/doc/reference/complete/: m3-defn-complete.html m3-defn-complete.ps ./: m3-defn-complete.html m3-defn-complete.ps cm3/doc/reference/complete/html/: 1_1History.html 1_2Perspective.html 1_3Overview.html 1_4Features.html 1_Introduction.html 2_1Definitions.html 2_2Types.html 2_2_10Subtyping_rules.html 2_2_11Predeclared_opaque.html 2_2_1Ordinal_types.html 2_2_2Floating_point_types.html 2_2_3Arrays.html 2_2_4Records.html 2_2_5Packed_types.html 2_2_6Sets.html 2_2_7References.html 2_2_8Procedures.html 2_2_9Objects.html 2_3Statements.html 2_3_10Exit.html 2_3_11Return.html 2_3_12If.html 2_3_13While.html 2_3_14Repeat.html 2_3_15With.html 2_3_16For.html 2_3_17Case.html 2_3_18Typecase.html 2_3_19Lock.html 2_3_1Assignment.html 2_3_20Inc_Dec.html 2_3_2Procedure_call.html 2_3_3Eval.html 2_3_4Block_statement.html 2_3_5Sequential_composition.html 2_3_6Raise.html 2_3_7Try_Except.html 2_3_8Try_Finally.html 2_3_9Loop.html 2_4Declarations.html 2_4_1Types.html 2_4_2Constants.html 2_4_3Variables.html 2_4_4Procedures.html 2_4_5Exceptions.html 2_4_6Opaque_types.html 2_4_7Revelations.html 2_4_8Recursive_declarations.html 2_5Modules_interfaces.html 2_5_1Import_statements.html 2_5_2Interfaces.html 2_5_3Modules.html 2_5_4Example_module.html 2_5_5Generics.html 2_5_6Initialization.html 2_5_7Safety.html 2_6Expressions.html 2_6_10Arithmetic_operations.html 2_6_11Relations.html 2_6_12Boolean_operations.html 2_6_13Type_operations.html 2_6_14Text_operations.html 2_6_15Constant_expressions.html 2_6_1Conventions_describing.html 2_6_2Operation_syntax.html 2_6_3Designators.html 2_6_4Numeric_literals.html 2_6_5Text_character.html 2_6_6Nil.html 2_6_7Function_application.html 2_6_8Set_array.html 2_6_9New.html 2_7Unsafe_operations.html 2_8Syntax.html 2_8_10Expression_production.html 2_8_11Miscellaneous_product.html 2_8_12Token_productions.html 2_8_1Keywords.html 2_8_2Reserved_identifiers.html 2_8_3Operators.html 2_8_4Comments.html 2_8_5Pragmas.html 2_8_6Conventions_syntax.html 2_8_7Compilation_unit.html 2_8_8Statement_productions.html 2_8_9Type_productions.html About_authors.html About_this_document.html Acknowledgments.html Contents.html Modula_3_Language_definitio.html index.html m3-defn-complete.html Log message: Rebuild of files derived from m3-defn-complete.tex From jkrell at elego.de Sat Apr 13 03:36:21 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 3:36:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413013621.AEA025DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 03:36:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: DebugDeclare => DebugVerbose, as I use it in more places When comment concating 4 or fewer strings, pass them as separate parameters to reduce heap/garbage wrap some source to 80 columns (around DebugVerbose) From jkrell at elego.de Sat Apr 13 04:22:53 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:22:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413022254.93F9B5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:22:53 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: some type => cgtype add more debug print e.g. declare_constant, declare_global, stuff I want to make more progress on some indentation (around debug print) From jkrell at elego.de Sat Apr 13 04:35:14 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:35:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413023514.1171C5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:35:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: a bit more debug print -- merging with a saved away file From jkrell at elego.de Sat Apr 13 04:36:58 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:36:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413023658.75E9F5DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:36:58 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fix previous commit that doesn't compile, oops, sorry in index_address, omit multiplication by 1 From jkrell at elego.de Sat Apr 13 04:56:11 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 4:56:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413025611.A12375DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 04:56:11 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: should fix nul deref From jkrell at elego.de Sat Apr 13 21:17:35 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 13 Apr 2013 21:17:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130413191735.E77E15DEB82@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/13 21:17:35 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: fix another nul deref in debug print From rodney at elego.de Sun Apr 14 17:05:59 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 14 Apr 2013 17:05:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130414150559.D47245DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/14 17:05:59 Removed files: cm3/doc/reference/complete/: m3-defn-complete.pdf Log message: Remove to fix some CVS problem that prevented committing. From rodney at elego.de Sun Apr 14 17:08:37 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 14 Apr 2013 17:08:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130414150837.CFD135DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/14 17:08:37 Added files: cm3/doc/reference/complete/: m3-defn-complete.pdf Log message: Readd to work around inability to commit From jkrell at elego.de Tue Apr 16 02:51:14 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 2:51:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416005114.96B0F5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 02:51:14 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: detect missing types in pop_struct for now, warn if indirect call; error for direct call todo: fix frontend From jkrell at elego.de Tue Apr 16 03:21:25 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 3:21:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416012125.2CB685DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 03:21:25 Added files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 HighlightVBT.m3 Main.m3 VBT.i3 m3makefile Log message: This test case demonstrates a problem where the frontend doesn't describe all the types to the backend. And also where it doesn't single-instance constants that it could/should. It is adapted from Trestle and a little of libm3. It is reduced very much. From jkrell at elego.de Tue Apr 16 06:50:51 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:50:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045051.AAFDE5DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:50:51 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Main.m3 VBT.i3 Log message: very slight reduction From jkrell at elego.de Tue Apr 16 06:51:17 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:51:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045118.085A45DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:51:17 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 Log message: oops -- put back demonstration of lack of single instancing of constants From jkrell at elego.de Tue Apr 16 06:52:05 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:52:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045205.5F72D5DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:52:05 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Log message: put back more expected type for 'this' From jkrell at elego.de Tue Apr 16 06:54:16 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:54:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045416.380595DEB24@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:54:16 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: VBT.i3 Log message: another extremely slight reduction From jkrell at elego.de Tue Apr 16 06:59:07 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 6:59:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416045907.2580F5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 06:59:07 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: VBT.i3 Log message: make field names stand out more when printing stuff From jkrell at elego.de Tue Apr 16 07:10:59 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 7:10:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416051059.B9E785DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 07:10:59 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 HighlightVBT.m3 Main.m3 VBT.i3 Log message: change types to stand out more From jkrell at elego.de Tue Apr 16 07:14:01 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 7:14:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416051401.664405DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 07:14:01 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 VBT.i3 Log message: make names stand out more more From jkrell at elego.de Tue Apr 16 18:16:03 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 18:16:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416161603.2961A5DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 18:16:03 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.i3 Main.m3 Log message: add test cases for global variables..frontend seems to do very poorly here? From jkrell at elego.de Tue Apr 16 18:16:34 2013 From: jkrell at elego.de (Jay Krell) Date: Tue, 16 Apr 2013 18:16:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130416161634.932E65DEB25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/16 18:16:34 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: Main.m3 Log message: add '_var_' so it stands out, if it worked better From jkrell at elego.de Wed Apr 17 04:26:36 2013 From: jkrell at elego.de (Jay Krell) Date: Wed, 17 Apr 2013 4:26:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130417022636.8F09C5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/17 04:26:36 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: identify the unknown types in comments in the C also..hopefully will fix this soon.. From jkrell at elego.de Thu Apr 18 03:48:37 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 3:48:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418014837.785945DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 03:48:37 Modified files: cm3/m3-sys/m3front/src/misc/: CG.m3 Log message: slight simplication and possibly slight optimization From jkrell at elego.de Thu Apr 18 03:56:53 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 3:56:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418015653.35B899D6007@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 03:56:53 Modified files: cm3/m3-libs/m3core/src/Csupport/Common/: dtoa.h Log message: n file included from ../src/Csupport/little-endian/dtoa.c:28: ../src/Csupport/Common/dtoa.h: In function ???double m3_strtod(const char*, char**)???: ../src/Csupport/Common/dtoa.h:1716: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:1718: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:1727: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h: In function ???char* m3_dtoa(double, int, int, int*, int*, char**)???: ../src/Csupport/Common/dtoa.h:2750: warning: deprecated conversion from string constant to ???char*??? ../src/Csupport/Common/dtoa.h:2752: warning: deprecated conversion from string constant to ???char*??? From jkrell at elego.de Thu Apr 18 18:24:28 2013 From: jkrell at elego.de (Jay Krell) Date: Thu, 18 Apr 2013 18:24:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130418162428.779815DEAB3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/18 18:24:28 Modified files: cm3/m3-tools/pp/src/: Parse.yacc ./: Parse.yacc cm3/m3-tools/pp/src/flex-bison/: y.tab.c Log message: lots of: warning: deprecated conversion from string constant to ???char*??? and either a related error, or these warnings were treated as errors by switching from g++ 4.0.1 to g++ 4.2.1 still need to try e.g. 4.8.0 From jkrell at elego.de Fri Apr 19 03:53:06 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 3:53:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419015306.8862A5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 03:53:06 Modified files: cm3/m3-libs/m3core/src/: m3core.h Log message: fix gcc 4.8 warning about unused local typedefs, for static assert, with __attribute__ ((unused)) for example, Bing for Werror=unused-local-typedefs and get http://code.google.com/p/v8/issues/detail?id=2149 also add some typedefs I had around: +typedef float REAL; +typedef double LONGREAL; +typedef double EXTENDED; +#if defined(__cplusplus) || __STDC__ +typedef void* PVOID; +#else +typedef char* PVOID; +#endif +typedef PVOID ADDRESS; +typedef ADDRESS TEXT; +typedef ADDRESS MUTEX; not sure they are needed (and would eventually like something better for TEXT for debugability) From jkrell at elego.de Fri Apr 19 06:02:44 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 6:02:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419040244.1B0075DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 06:02:44 Modified files: cm3/m3-sys/m3tests/src/p2/p255/: HighlightVBT.m3 Main.m3 VBT.i3 Log message: extend test case to show the bug exists for big sets and fixed sized arrays (also tested: open arrays, but seemingly no problem there) From jkrell at elego.de Fri Apr 19 06:11:49 2013 From: jkrell at elego.de (Jay Krell) Date: Fri, 19 Apr 2013 6:11:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130419041149.C01AB5DEA9B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/19 06:11:49 Modified files: cm3/m3-tools/cvsup/suplib/src/libglob/: fnmatch.c Log message: g++ 4.8.0: ../src/libglob/fnmatch.c: In function ???int fnmatch(const char*, const char*, int)???: ../src/libglob/fnmatch.c:149:19: error: suggest parentheses around ???&&??? within ???||??? [-Werror=parentheses] (c == '/' && string != stringstart || ^ fix from: http://src.gnu-darwin.org/src/contrib/csup/fnmatch.c.html I do think gcc ought to output the exact code it is suggesting. I From jkrell at elego.de Sat Apr 20 18:30:05 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 18:30:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420163005.34CFB5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 18:30:05 Modified files: cm3/m3-sys/m3front/src/values/: Formal.m3 Log message: Type.Compile before CG.Pop_struct From jkrell at elego.de Sat Apr 20 19:56:41 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 19:56:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420175641.DCB265DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 19:56:41 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: turn back on #line directives prepare for passing structs by value: VAR PassStructsByValue := FALSE; VAR ReturnStructsByValue := FALSE; (* tied in with frontend/target) make missing types in pop_struct an error now that frontend fixed structs by value cause an interesting reversal, my thinking is thus: NOT by value, current scheme: void Procedure(struct* uplevel) { struct { struct uplevel; } frame = {*uplevel}; } by value: void Procedure(struct uplevel) { struct { struct* uplevel; } frame = {&uplevel}; } i.e. still have to "copy some value into frame struct" but it changes from value to pointer though, if the struct is size of a pointer or smaller, we might as well copy the value also prepare for returning structs by value, though frontend doesn't seem setup for that From jkrell at elego.de Sat Apr 20 20:48:30 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 20:48:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420184830.649CE5DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 20:48:30 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: start work to omit declarations for unused functions, if any, we'll see require all typeids to resolve..system mostly compiles with this, but it found a problem: == package /Users/jay/dev2/cm3/elego/graphicutils == new source -> compiling RsrcFilter.m3 "../src/RsrcFilter.m3", line 2: declare_param: unknown typeid:T48EC756E type:ADDRESS to be looked into later From jkrell at elego.de Sat Apr 20 20:52:21 2013 From: jkrell at elego.de (Jay Krell) Date: Sat, 20 Apr 2013 20:52:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420185221.395C05DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/20 20:52:21 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: "mark" => "discover", similar enough meaning, shorter word fix compilation from previous wrt MarkUsedProc From jkrell at elego.de Sun Apr 21 01:54:37 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 1:54:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420235437.42ED45DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 01:54:37 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: combine MarkUsedVariables, MarkUsedLabels and new MarkUsedProcedures into new MarkUsed prepare to not output unused functions/prototypes (unless exported) From jkrell at elego.de Sun Apr 21 01:59:33 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 1:59:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130420235933.46F4E5DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 01:59:33 Added files: cm3/m3-sys/m3tests/src/p2/p256/: A.i3 A.m3 B.i3 B.m3 Main.m3 m3makefile Log message: test for unused functions/prototypes From jkrell at elego.de Sun Apr 21 02:03:38 2013 From: jkrell at elego.de (Jay Krell) Date: Sun, 21 Apr 2013 2:03:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130421000339.45D9D5DEA93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 13/04/21 02:03:38 Modified files: cm3/m3-sys/m3back/src/: M3C.m3 Log message: changed Proc_t.used from a boolean to an integer..we really do either remove uses and see if they hit zero, or only cover uses starting from roots like exports From rodney at elego.de Sun Apr 28 21:06:06 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:06:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428190606.3DF769BA007@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:06:06 Modified files: cm3/m3-db/odbc/test/src/: m3makefile ./: m3makefile cm3/m3-db/pgodbc/src/: m3makefile ./: m3makefile cm3/m3-db/postgres95/test/src/: m3makefile ./: m3makefile cm3/m3-games/columns/src-x11/: m3makefile ./: m3makefile cm3/m3-games/tetris/src/: m3makefile ./: m3makefile cm3/m3-tools/cvsup/suplib/src/: m3makefile ./: m3makefile cm3/m3-tools/gnuemacs/src/: m3makefile ./: m3makefile cm3/m3-tools/pp/src/: m3makefile ./: m3makefile cm3/m3-ui/PEX/src/: m3makefile ./: m3makefile cm3/m3-ui/X11R4/src/: m3makefile ./: m3makefile cm3/m3-ui/anim3D/src/: m3makefile ./: m3makefile cm3/m3-ui/motif/src/: m3makefile ./: m3makefile cm3/m3-ui/opengl/src/: m3makefile ./: m3makefile cm3/m3-ui/ui/src/xvbt/: m3makefile Log message: Many packages were failing to build, with: quake runtime error: undefined variable: configure_system_libs at least on LINUXLIBC6. Make the call on configure_system_libs in these m3makefiles conditional on its being defined, as they already were in the m3makefiles in several other packages. From rodney at elego.de Sun Apr 28 21:42:09 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:42:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428194210.0DE965DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:42:09 Modified files: cm3/m3-db/odbc/src/: m3makefile ./: m3makefile Added files: cm3/m3-db/odbc/src/POSIX/: SQL.i3 SQLext.i3 SQLext.m3 SQLtypes.i3 Log message: Unfortunately, merging files SQL.i3 and SQLext.[im]3 in the POSIX and WIN32 subdirectories was premature. It requires a recent compiler change that is now in the head, but not in the released compiler. This makes building package odbc accessible only to certain active developers who regularly rebuild in the head from the right older version of the head. Or some similar tricky sequence. Ordinary users who try to build with the release compiler are out of luck. Put things back the way they were for now. After there has been a release of a compiler that will accept WINAPI even when compiling for a non-windows target, then this can be reinstated. From rodney at elego.de Sun Apr 28 21:51:42 2013 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 28 Apr 2013 21:51:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20130428195142.225485DEA96@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 13/04/28 21:51:42 Modified files: cm3/m3-ui/opengl/src/: m3makefile ./: m3makefile cm3/m3-ui/opengl/src/POSIX/: m3makefile Added files: cm3/m3-ui/opengl/src/POSIX/: GL.i3 GLu.i3 Log message: Unfortunately, merging files GL.ie and GLu.i3 in the POSIX and WIN32 subdirectories was premature. It requires a recent compiler change that is now in the head, but not in the released compiler. This makes building package opengl accessible only to certain active developers who regularly rebuild in the head from the right older version of the head. Or some similar tricky sequence. Ordinary users who try to build with the release compiler are out of luck. Put things back the way they were for now. After there has been a release of a compiler that will accept WINAPI even when compiling for a non-windows target, then this can be reinstated.