From mika at elego.de Mon Jan 6 17:51:26 2014 From: mika at elego.de (Mika Nystrom) Date: Mon, 6 Jan 2014 17:51:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140106165126.D81875DED34@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mika at birch. 14/01/06 17:51:26 Modified files: cm3/scripts/: sysinfo.sh Log message: added ARM_LINUX to sysinfo.sh for Raspberry and BeagleBone From rodney at elego.de Mon Jan 6 20:36:57 2014 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 6 Jan 2014 20:36:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140106193657.A4DD95DED83@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/06 20:36:57 Modified files: cm3/m3-libs/m3core/src/text/: README TextStats.m3 Log message: Fix a performance bug that was leading to unnecessary system calls. From rodney at elego.de Thu Jan 9 21:45:34 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:45:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109204534.2269D5DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:45:34 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: TextUtils.m3 Log message: Adapt to possibly Unicode-sized WIDECHAR From rodney at elego.de Thu Jan 9 21:47:25 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:47:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109204725.43EF55DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:47:25 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Test.m3 Log message: By default, don't mess with garbage collection, which seems to create assert failures in RTCollector. From rodney at elego.de Thu Jan 9 21:58:26 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:58:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109205826.A84185DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:58:26 Modified files: cm3/m3-libs/m3core/src/text/: Text.m3 Text16.m3 Text16Short.m3 Text8.m3 Text8Short.m3 TextCat.m3 TextClass.m3 TextSub.m3 Log message: Comment out instrumentation calls, easily reinstated by string search & replace. From rodney at elego.de Fri Jan 10 03:44:11 2014 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 10 Jan 2014 3:44:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140110024411.198195DED4D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/10 03:44:11 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Tag: devel_unicode TextUtils.m3 Log message: Adapt to possibly Unicode-sized WIDECHAR From rodney at elego.de Fri Jan 10 03:45:42 2014 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 10 Jan 2014 3:45:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140110024542.58E825DED4D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/10 03:45:42 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Tag: devel_unicode Test.m3 Log message: Optional disabling of GC, but keep it enabling disabling by default, for now. From mika at elego.de Sun Jan 12 19:00:40 2014 From: mika at elego.de (Mika Nystrom) Date: Sun, 12 Jan 2014 19:00:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140112180040.C1B325DED73@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mika at birch. 14/01/12 19:00:40 Modified files: cm3/m3-sys/m3middle/src/: M3CG_Check.m3 Log message: don't crash the compiler because you're trying to print an error message From rcoleburn at elego.de Mon Jan 13 22:08:36 2014 From: rcoleburn at elego.de (Randy Coleburn) Date: Mon, 13 Jan 2014 22:08:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140113210836.45DC55DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 14/01/13 22:08:36 Modified files: cm3/m3-libs/m3core/tests/thread/src/: Main.m3 Log message: Fix bug in PutInt that allowed 10 to be incorrectly output as 0. --R.Coleburn From rcoleburn at elego.de Tue Jan 14 00:08:18 2014 From: rcoleburn at elego.de (Randy Coleburn) Date: Tue, 14 Jan 2014 0:08:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140113230818.55DFC5DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 14/01/14 00:08:18 Modified files: cm3/scripts/dev/windows/: RCC_upgradeCM3.cmd do-cm3.cmd Log message: Augment skip list directive to use full package pathnames so as to prevent ambiguity of just using package folder name. From jkrell at elego.de Wed Jan 15 07:29:06 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:29:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115062906.4161C5DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:29:06 Added files: cm3/scratch/wow64stack/: stack.c Log message: test case From jkrell at elego.de Wed Jan 15 07:34:30 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:34:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063430.CDD265DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:34:30 Added files: cm3/scratch/wow64stack/: stack.cpp Removed files: cm3/scratch/wow64stack/: stack.c Log message: rename From jkrell at elego.de Wed Jan 15 07:33:49 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:33:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063349.C0E505DF4ED@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:33:49 Modified files: cm3/scratch/wow64stack/: stack.c Log message: update From jkrell at elego.de Wed Jan 15 07:31:38 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:31:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063138.476065DF4EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:31:38 Modified files: cm3/scratch/wow64stack/: stack.c Log message: update From jkrell at elego.de Wed Jan 15 07:42:02 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:42:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064202.D54C15DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:42:02 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:43:49 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:43:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064349.16ECD5DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:43:49 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:43:59 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:43:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064359.32B695DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:43:59 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:51:42 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:51:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065142.829155DED02@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:51:42 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: for other architectures From jkrell at elego.de Wed Jan 15 07:55:31 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:55:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065532.0350A5DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:55:31 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 07:56:57 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:56:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065657.B695A5DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:56:57 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 07:57:15 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:57:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065715.C5B985DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:57:15 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:02:22 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:02:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070222.2B6335DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:02:22 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:06:12 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:06:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070615.11FD85DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:06:12 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:09:23 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:09:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070923.DB4545DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:09:23 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update -- wierd! state changes after SuspendThread? From jkrell at elego.de Wed Jan 15 08:28:08 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:28:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115072808.985955DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:28:08 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:45:59 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:45:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115074559.BBC475DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:45:59 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 09:05:28 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 9:05:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115080528.C02715DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 09:05:28 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Wed Jan 15 09:28:08 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 9:28:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115082808.7027C5DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 09:28:08 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Wed Jan 15 10:10:22 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 10:10:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115091022.0FFD05DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 10:10:22 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Sat Jan 18 07:19:06 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 7:19:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118061906.57E5E5DF4E8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 07:19:06 Added files: cm3/scratch/wow64stack/: sync2.cpp Log message: SuspendThread betrays expectations too? Even for native. I'm investigating further. Cooperative suspend is looking more important. From jkrell at elego.de Sat Jan 18 10:09:29 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 10:09:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118090929.564C95DED80@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 10:09:29 Modified files: cm3/scratch/wow64stack/: sync2.cpp Log message: solution from rotor -- GetThreadContext after SuspendThread actually will not complete until the thread is really suspended From jkrell at elego.de Sat Jan 18 10:25:30 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 10:25:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118092530.919AF5DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 10:25:30 Modified files: cm3/scratch/wow64stack/: sync2.cpp stack.cpp Added files: cm3/scratch/wow64stack/: sync1.cpp Log message: updates From rodney at elego.de Sat Jan 18 18:50:58 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 18:50:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118175058.DF5D05DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 18:50:58 Modified files: cm3/m3-sys/m3front/src/types/: Tag: devel_unicode EnumType.m3 SubrangeType.m3 Type.m3 Log message: In the compiler, allow, e.g., CharVariable := WidecharVariable, with range check, and WidecharVariable := CharVariable. Specifically: 1) CHAR and WIDECHAR are called _character types_ 1) (Addition to 2.2.10): CHAR <: WIDECHAR 3) (Change to 2.2.10): For ordinal types, T and U, T <: U if (they have the same basetype *or both basetypes are character types*) and every member of T is a member of U. Note that this does not suffer from the problems that a value subset relation and subtype relation between different integer types would have. A) The integer value sets do not necessarily have a subset relation at all. CHAR and WIDECHAR do, because Unicode has carefully made the first 256 code points the same as ISO-Latin-1. B) The resolution of builtin, overloaded arithmetic operators on integer types would become a mess. In contrast, characters have no operators that compute new character values. From rodney at elego.de Sat Jan 18 18:53:00 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 18:53:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118175300.2FDF05DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 18:53:00 Modified files: cm3/m3-sys/m3front/src/misc/: Tag: devel_unicode M3Compiler.i3 Log message: Fix typo. From rodney at elego.de Sat Jan 18 22:49:15 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:49:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118214915.A6C2D5DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:49:15 Modified files: cm3/m3-sys/m3cggen/src/: Tag: devel_unicode Main.m3 Log message: New operator to communicate WIDECHAR size to backend. From rodney at elego.de Sat Jan 18 22:54:57 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:54:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118215457.6D4AD5DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:54:57 Modified files: cm3/m3-sys/m3cc/gcc-4.7/gcc/: Tag: devel_unicode dbxout.h dbxout.c Log message: WIDECHAR size communicated to m3gdb is now taken from the front end, rather than hard coded in the backend. From rodney at elego.de Sat Jan 18 22:59:55 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:59:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118215955.3F5B75DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:59:55 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: Tag: devel_unicode m3-def.h m3cg.h parse.c Log message: Recognize and act on new widechar_size operator from frontend. From rodney at elego.de Sat Jan 18 23:06:46 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 23:06:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118220647.5746D5DED84@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 23:06:46 Modified files: cm3/m3-sys/m3middle/src/: Tag: devel_unicode M3CG.m3 M3CG_AssertFalse.m3 M3CG_BinRd.m3 M3CG_BinWr.m3 M3CG_Binary.i3 M3CG_DoNothing.m3 M3CG_MultiPass.i3 M3CG_MultiPass.m3 M3CG_Ops.i3 M3CG_Rd.m3 M3CG_Wr.m3 Log message: Accept and propagate widechar_size everywhere. From rodney at elego.de Sat Jan 18 23:08:42 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 23:08:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118220842.212DA5DED84@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 23:08:42 Modified files: cm3/m3-sys/m3linker/src/: Tag: devel_unicode Mx.i3 Log message: Let cm3 provide the size of WIDECHAR. From jkrell at elego.de Sun Jan 19 14:02:16 2014 From: jkrell at elego.de (Jay Krell) Date: Sun, 19 Jan 2014 14:02:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119130216.EA58F5DED93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/19 14:02:16 Modified files: cm3/m3-comm/tcp/src/POSIX/: IP.m3 Log message: John Marino's fallback to gethostbyname(127.0.0.1) when gethostbyname fails (could just hardcode it as 0x7F000001 or 0100007F?) see http://svnweb.freebsd.org/ports/head/lang/modula3/files/patch-m3-comm_tcp_src_POSIX_IP.m3?revision=338413&view=co&pathrev=338413 From jkrell at elego.de Sun Jan 19 14:09:07 2014 From: jkrell at elego.de (Jay Krell) Date: Sun, 19 Jan 2014 14:09:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119130907.EFDE45DF4C3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/19 14:09:07 Modified files: cm3/m3-comm/tcp/src/WIN32/: IP.m3 Log message: fallback here too see http://svnweb.freebsd.org/ports/head/lang/modula3/files/patch-m3-comm_tcp_src_POSIX_IP.m3?revision=338413&view=co From rodney at elego.de Sun Jan 19 18:56:43 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 18:56:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119175643.58AF05DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 18:56:43 Modified files: cm3/m3-sys/m3front/src/builtinTypes/: Tag: devel_unicode WCharr.i3 WCharr.m3 ./: Tag: devel_unicode WCharr.i3 WCharr.m3 cm3/m3-sys/m3front/src/misc/: Tag: devel_unicode CG.i3 CG.m3 M3Front.i3 M3WString.m3 Scanner.m3 ./: Tag: devel_unicode CG.i3 CG.m3 M3Front.i3 M3WString.m3 Scanner.m3 cm3/m3-sys/m3front/src/values/: Tag: devel_unicode Module.m3 Log message: Make WIDECHAR size a configuration or command line option. From rodney at elego.de Sun Jan 19 18:58:46 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 18:58:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119175846.6E8675DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 18:58:46 Modified files: cm3/m3-sys/cm3/src/: Tag: devel_unicode Builder.m3 Makefile.m3 Utils.i3 Utils.m3 cm3.1 Log message: Make WIDECHAR size a configuration or command line option. From rodney at elego.de Sun Jan 19 19:02:22 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 19:02:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119180222.6A0F05DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 19:02:22 Modified files: cm3/m3-libs/libm3/tests/rw/ungetmulti/src/: Tag: devel_unicode m3makefile ./: Tag: devel_unicode m3makefile cm3/m3-libs/libm3/tests/rw/unicodec/src/: Tag: devel_unicode m3makefile ./: Tag: devel_unicode m3makefile cm3/m3-libs/libm3/tests/rw/unird/src/: Tag: devel_unicode m3makefile Log message: Adapt m3makefiles to Unicode [en|de]coders' relocation into new package libunicode. From rodney at elego.de Sun Jan 19 19:06:22 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 19:06:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119180622.50BF25DED70@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 19:06:22 Modified files: cm3/m3-libs/libunicode/src/: Tag: devel_unicode UniCodec.i3 UniEncoding.i3 Log message: Comments. From jkrell at elego.de Mon Jan 20 04:58:04 2014 From: jkrell at elego.de (Jay Krell) Date: Mon, 20 Jan 2014 4:58:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140120035804.D6AAD5DED81@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/20 04:58:04 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Remove stack bounds check that seems to date to Win9x bug workarounds. Always follow SuspendThread with an immediate GetThreadContext, because that is how you ensure the thread is actually suspended. This is easy to demonstrate, matches sscli/rotor 2.0, and almost matched what we were doing anyway. This is perhaps a little slower, but that is just tough. What we did before is check act.heapState.inCritical # 0 first, then GetThreadContext. Now we check them in the reverse order, because otherwise the thread might yet change act.heapState.inCritical. Getting the stack pointer reliably on wow64 remains an open problem. Can we remove stackStart now? (due to the Win9x removal) From rodney at elego.de Mon Jan 27 21:47:25 2014 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 27 Jan 2014 21:47:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140127204725.CB0075DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/27 21:47:25 Modified files: cm3/m3-sys/m3front/src/builtinOps/: Narrow.m3 Log message: Fix a long-standing bug in generated code for runtime narrow operations. It was only showing up when all of the following hold: For NARROW(e, T) (or an equivalent implicit narrow) 1) Expression e has static type REFANY. 2) Type T is known locally as T <: REFANY, with no revelation visible. 3) The (elsewhere) revealed type of T is an object type. 4) The allocated type of e is a proper subtype of revealed T. In this case, the generated code was demanding at runtime that the allocated type of e be exactly T, not accepting a proper subtype thereof. From rodney at elego.de Thu Jan 30 23:25:31 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 30 Jan 2014 23:25:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140130222531.D77005DED8D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/30 23:25:31 Modified files: cm3/m3-sys/m3back/src/: Tag: devel_unicode M3x86.m3 Log message: Accept and store argument of new widechar_size operator. There is apparently no use of this. From rodney at elego.de Thu Jan 30 23:28:51 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 30 Jan 2014 23:28:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140130222851.DB71C5DED8D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/30 23:28:51 Modified files: cm3/m3-sys/m3back/src/: Tag: devel_unicode M3C.m3 Log message: Accept new widechar_size operator and use it in initialization. From mika at elego.de Mon Jan 6 17:51:26 2014 From: mika at elego.de (Mika Nystrom) Date: Mon, 6 Jan 2014 17:51:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140106165126.D81875DED34@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mika at birch. 14/01/06 17:51:26 Modified files: cm3/scripts/: sysinfo.sh Log message: added ARM_LINUX to sysinfo.sh for Raspberry and BeagleBone From rodney at elego.de Mon Jan 6 20:36:57 2014 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 6 Jan 2014 20:36:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140106193657.A4DD95DED83@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/06 20:36:57 Modified files: cm3/m3-libs/m3core/src/text/: README TextStats.m3 Log message: Fix a performance bug that was leading to unnecessary system calls. From rodney at elego.de Thu Jan 9 21:45:34 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:45:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109204534.2269D5DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:45:34 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: TextUtils.m3 Log message: Adapt to possibly Unicode-sized WIDECHAR From rodney at elego.de Thu Jan 9 21:47:25 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:47:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109204725.43EF55DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:47:25 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Test.m3 Log message: By default, don't mess with garbage collection, which seems to create assert failures in RTCollector. From rodney at elego.de Thu Jan 9 21:58:26 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:58:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109205826.A84185DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:58:26 Modified files: cm3/m3-libs/m3core/src/text/: Text.m3 Text16.m3 Text16Short.m3 Text8.m3 Text8Short.m3 TextCat.m3 TextClass.m3 TextSub.m3 Log message: Comment out instrumentation calls, easily reinstated by string search & replace. From rodney at elego.de Fri Jan 10 03:44:11 2014 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 10 Jan 2014 3:44:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140110024411.198195DED4D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/10 03:44:11 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Tag: devel_unicode TextUtils.m3 Log message: Adapt to possibly Unicode-sized WIDECHAR From rodney at elego.de Fri Jan 10 03:45:42 2014 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 10 Jan 2014 3:45:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140110024542.58E825DED4D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/10 03:45:42 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Tag: devel_unicode Test.m3 Log message: Optional disabling of GC, but keep it enabling disabling by default, for now. From mika at elego.de Sun Jan 12 19:00:40 2014 From: mika at elego.de (Mika Nystrom) Date: Sun, 12 Jan 2014 19:00:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140112180040.C1B325DED73@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mika at birch. 14/01/12 19:00:40 Modified files: cm3/m3-sys/m3middle/src/: M3CG_Check.m3 Log message: don't crash the compiler because you're trying to print an error message From rcoleburn at elego.de Mon Jan 13 22:08:36 2014 From: rcoleburn at elego.de (Randy Coleburn) Date: Mon, 13 Jan 2014 22:08:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140113210836.45DC55DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 14/01/13 22:08:36 Modified files: cm3/m3-libs/m3core/tests/thread/src/: Main.m3 Log message: Fix bug in PutInt that allowed 10 to be incorrectly output as 0. --R.Coleburn From rcoleburn at elego.de Tue Jan 14 00:08:18 2014 From: rcoleburn at elego.de (Randy Coleburn) Date: Tue, 14 Jan 2014 0:08:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140113230818.55DFC5DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 14/01/14 00:08:18 Modified files: cm3/scripts/dev/windows/: RCC_upgradeCM3.cmd do-cm3.cmd Log message: Augment skip list directive to use full package pathnames so as to prevent ambiguity of just using package folder name. From jkrell at elego.de Wed Jan 15 07:29:06 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:29:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115062906.4161C5DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:29:06 Added files: cm3/scratch/wow64stack/: stack.c Log message: test case From jkrell at elego.de Wed Jan 15 07:34:30 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:34:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063430.CDD265DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:34:30 Added files: cm3/scratch/wow64stack/: stack.cpp Removed files: cm3/scratch/wow64stack/: stack.c Log message: rename From jkrell at elego.de Wed Jan 15 07:33:49 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:33:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063349.C0E505DF4ED@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:33:49 Modified files: cm3/scratch/wow64stack/: stack.c Log message: update From jkrell at elego.de Wed Jan 15 07:31:38 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:31:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063138.476065DF4EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:31:38 Modified files: cm3/scratch/wow64stack/: stack.c Log message: update From jkrell at elego.de Wed Jan 15 07:42:02 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:42:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064202.D54C15DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:42:02 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:43:49 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:43:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064349.16ECD5DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:43:49 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:43:59 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:43:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064359.32B695DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:43:59 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:51:42 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:51:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065142.829155DED02@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:51:42 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: for other architectures From jkrell at elego.de Wed Jan 15 07:55:31 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:55:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065532.0350A5DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:55:31 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 07:56:57 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:56:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065657.B695A5DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:56:57 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 07:57:15 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:57:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065715.C5B985DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:57:15 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:02:22 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:02:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070222.2B6335DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:02:22 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:06:12 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:06:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070615.11FD85DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:06:12 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:09:23 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:09:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070923.DB4545DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:09:23 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update -- wierd! state changes after SuspendThread? From jkrell at elego.de Wed Jan 15 08:28:08 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:28:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115072808.985955DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:28:08 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:45:59 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:45:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115074559.BBC475DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:45:59 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 09:05:28 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 9:05:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115080528.C02715DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 09:05:28 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Wed Jan 15 09:28:08 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 9:28:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115082808.7027C5DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 09:28:08 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Wed Jan 15 10:10:22 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 10:10:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115091022.0FFD05DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 10:10:22 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Sat Jan 18 07:19:06 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 7:19:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118061906.57E5E5DF4E8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 07:19:06 Added files: cm3/scratch/wow64stack/: sync2.cpp Log message: SuspendThread betrays expectations too? Even for native. I'm investigating further. Cooperative suspend is looking more important. From jkrell at elego.de Sat Jan 18 10:09:29 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 10:09:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118090929.564C95DED80@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 10:09:29 Modified files: cm3/scratch/wow64stack/: sync2.cpp Log message: solution from rotor -- GetThreadContext after SuspendThread actually will not complete until the thread is really suspended From jkrell at elego.de Sat Jan 18 10:25:30 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 10:25:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118092530.919AF5DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 10:25:30 Modified files: cm3/scratch/wow64stack/: sync2.cpp stack.cpp Added files: cm3/scratch/wow64stack/: sync1.cpp Log message: updates From rodney at elego.de Sat Jan 18 18:50:58 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 18:50:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118175058.DF5D05DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 18:50:58 Modified files: cm3/m3-sys/m3front/src/types/: Tag: devel_unicode EnumType.m3 SubrangeType.m3 Type.m3 Log message: In the compiler, allow, e.g., CharVariable := WidecharVariable, with range check, and WidecharVariable := CharVariable. Specifically: 1) CHAR and WIDECHAR are called _character types_ 1) (Addition to 2.2.10): CHAR <: WIDECHAR 3) (Change to 2.2.10): For ordinal types, T and U, T <: U if (they have the same basetype *or both basetypes are character types*) and every member of T is a member of U. Note that this does not suffer from the problems that a value subset relation and subtype relation between different integer types would have. A) The integer value sets do not necessarily have a subset relation at all. CHAR and WIDECHAR do, because Unicode has carefully made the first 256 code points the same as ISO-Latin-1. B) The resolution of builtin, overloaded arithmetic operators on integer types would become a mess. In contrast, characters have no operators that compute new character values. From rodney at elego.de Sat Jan 18 18:53:00 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 18:53:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118175300.2FDF05DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 18:53:00 Modified files: cm3/m3-sys/m3front/src/misc/: Tag: devel_unicode M3Compiler.i3 Log message: Fix typo. From rodney at elego.de Sat Jan 18 22:49:15 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:49:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118214915.A6C2D5DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:49:15 Modified files: cm3/m3-sys/m3cggen/src/: Tag: devel_unicode Main.m3 Log message: New operator to communicate WIDECHAR size to backend. From rodney at elego.de Sat Jan 18 22:54:57 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:54:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118215457.6D4AD5DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:54:57 Modified files: cm3/m3-sys/m3cc/gcc-4.7/gcc/: Tag: devel_unicode dbxout.h dbxout.c Log message: WIDECHAR size communicated to m3gdb is now taken from the front end, rather than hard coded in the backend. From rodney at elego.de Sat Jan 18 22:59:55 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:59:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118215955.3F5B75DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:59:55 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: Tag: devel_unicode m3-def.h m3cg.h parse.c Log message: Recognize and act on new widechar_size operator from frontend. From rodney at elego.de Sat Jan 18 23:06:46 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 23:06:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118220647.5746D5DED84@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 23:06:46 Modified files: cm3/m3-sys/m3middle/src/: Tag: devel_unicode M3CG.m3 M3CG_AssertFalse.m3 M3CG_BinRd.m3 M3CG_BinWr.m3 M3CG_Binary.i3 M3CG_DoNothing.m3 M3CG_MultiPass.i3 M3CG_MultiPass.m3 M3CG_Ops.i3 M3CG_Rd.m3 M3CG_Wr.m3 Log message: Accept and propagate widechar_size everywhere. From rodney at elego.de Sat Jan 18 23:08:42 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 23:08:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118220842.212DA5DED84@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 23:08:42 Modified files: cm3/m3-sys/m3linker/src/: Tag: devel_unicode Mx.i3 Log message: Let cm3 provide the size of WIDECHAR. From jkrell at elego.de Sun Jan 19 14:02:16 2014 From: jkrell at elego.de (Jay Krell) Date: Sun, 19 Jan 2014 14:02:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119130216.EA58F5DED93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/19 14:02:16 Modified files: cm3/m3-comm/tcp/src/POSIX/: IP.m3 Log message: John Marino's fallback to gethostbyname(127.0.0.1) when gethostbyname fails (could just hardcode it as 0x7F000001 or 0100007F?) see http://svnweb.freebsd.org/ports/head/lang/modula3/files/patch-m3-comm_tcp_src_POSIX_IP.m3?revision=338413&view=co&pathrev=338413 From jkrell at elego.de Sun Jan 19 14:09:07 2014 From: jkrell at elego.de (Jay Krell) Date: Sun, 19 Jan 2014 14:09:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119130907.EFDE45DF4C3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/19 14:09:07 Modified files: cm3/m3-comm/tcp/src/WIN32/: IP.m3 Log message: fallback here too see http://svnweb.freebsd.org/ports/head/lang/modula3/files/patch-m3-comm_tcp_src_POSIX_IP.m3?revision=338413&view=co From rodney at elego.de Sun Jan 19 18:56:43 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 18:56:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119175643.58AF05DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 18:56:43 Modified files: cm3/m3-sys/m3front/src/builtinTypes/: Tag: devel_unicode WCharr.i3 WCharr.m3 ./: Tag: devel_unicode WCharr.i3 WCharr.m3 cm3/m3-sys/m3front/src/misc/: Tag: devel_unicode CG.i3 CG.m3 M3Front.i3 M3WString.m3 Scanner.m3 ./: Tag: devel_unicode CG.i3 CG.m3 M3Front.i3 M3WString.m3 Scanner.m3 cm3/m3-sys/m3front/src/values/: Tag: devel_unicode Module.m3 Log message: Make WIDECHAR size a configuration or command line option. From rodney at elego.de Sun Jan 19 18:58:46 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 18:58:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119175846.6E8675DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 18:58:46 Modified files: cm3/m3-sys/cm3/src/: Tag: devel_unicode Builder.m3 Makefile.m3 Utils.i3 Utils.m3 cm3.1 Log message: Make WIDECHAR size a configuration or command line option. From rodney at elego.de Sun Jan 19 19:02:22 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 19:02:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119180222.6A0F05DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 19:02:22 Modified files: cm3/m3-libs/libm3/tests/rw/ungetmulti/src/: Tag: devel_unicode m3makefile ./: Tag: devel_unicode m3makefile cm3/m3-libs/libm3/tests/rw/unicodec/src/: Tag: devel_unicode m3makefile ./: Tag: devel_unicode m3makefile cm3/m3-libs/libm3/tests/rw/unird/src/: Tag: devel_unicode m3makefile Log message: Adapt m3makefiles to Unicode [en|de]coders' relocation into new package libunicode. From rodney at elego.de Sun Jan 19 19:06:22 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 19:06:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119180622.50BF25DED70@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 19:06:22 Modified files: cm3/m3-libs/libunicode/src/: Tag: devel_unicode UniCodec.i3 UniEncoding.i3 Log message: Comments. From jkrell at elego.de Mon Jan 20 04:58:04 2014 From: jkrell at elego.de (Jay Krell) Date: Mon, 20 Jan 2014 4:58:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140120035804.D6AAD5DED81@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/20 04:58:04 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Remove stack bounds check that seems to date to Win9x bug workarounds. Always follow SuspendThread with an immediate GetThreadContext, because that is how you ensure the thread is actually suspended. This is easy to demonstrate, matches sscli/rotor 2.0, and almost matched what we were doing anyway. This is perhaps a little slower, but that is just tough. What we did before is check act.heapState.inCritical # 0 first, then GetThreadContext. Now we check them in the reverse order, because otherwise the thread might yet change act.heapState.inCritical. Getting the stack pointer reliably on wow64 remains an open problem. Can we remove stackStart now? (due to the Win9x removal) From rodney at elego.de Mon Jan 27 21:47:25 2014 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 27 Jan 2014 21:47:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140127204725.CB0075DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/27 21:47:25 Modified files: cm3/m3-sys/m3front/src/builtinOps/: Narrow.m3 Log message: Fix a long-standing bug in generated code for runtime narrow operations. It was only showing up when all of the following hold: For NARROW(e, T) (or an equivalent implicit narrow) 1) Expression e has static type REFANY. 2) Type T is known locally as T <: REFANY, with no revelation visible. 3) The (elsewhere) revealed type of T is an object type. 4) The allocated type of e is a proper subtype of revealed T. In this case, the generated code was demanding at runtime that the allocated type of e be exactly T, not accepting a proper subtype thereof. From rodney at elego.de Thu Jan 30 23:25:31 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 30 Jan 2014 23:25:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140130222531.D77005DED8D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/30 23:25:31 Modified files: cm3/m3-sys/m3back/src/: Tag: devel_unicode M3x86.m3 Log message: Accept and store argument of new widechar_size operator. There is apparently no use of this. From rodney at elego.de Thu Jan 30 23:28:51 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 30 Jan 2014 23:28:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140130222851.DB71C5DED8D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/30 23:28:51 Modified files: cm3/m3-sys/m3back/src/: Tag: devel_unicode M3C.m3 Log message: Accept new widechar_size operator and use it in initialization. From mika at elego.de Mon Jan 6 17:51:26 2014 From: mika at elego.de (Mika Nystrom) Date: Mon, 6 Jan 2014 17:51:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140106165126.D81875DED34@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mika at birch. 14/01/06 17:51:26 Modified files: cm3/scripts/: sysinfo.sh Log message: added ARM_LINUX to sysinfo.sh for Raspberry and BeagleBone From rodney at elego.de Mon Jan 6 20:36:57 2014 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 6 Jan 2014 20:36:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140106193657.A4DD95DED83@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/06 20:36:57 Modified files: cm3/m3-libs/m3core/src/text/: README TextStats.m3 Log message: Fix a performance bug that was leading to unnecessary system calls. From rodney at elego.de Thu Jan 9 21:45:34 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:45:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109204534.2269D5DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:45:34 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: TextUtils.m3 Log message: Adapt to possibly Unicode-sized WIDECHAR From rodney at elego.de Thu Jan 9 21:47:25 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:47:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109204725.43EF55DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:47:25 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Test.m3 Log message: By default, don't mess with garbage collection, which seems to create assert failures in RTCollector. From rodney at elego.de Thu Jan 9 21:58:26 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 9 Jan 2014 21:58:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140109205826.A84185DED50@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/09 21:58:26 Modified files: cm3/m3-libs/m3core/src/text/: Text.m3 Text16.m3 Text16Short.m3 Text8.m3 Text8Short.m3 TextCat.m3 TextClass.m3 TextSub.m3 Log message: Comment out instrumentation calls, easily reinstated by string search & replace. From rodney at elego.de Fri Jan 10 03:44:11 2014 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 10 Jan 2014 3:44:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140110024411.198195DED4D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/10 03:44:11 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Tag: devel_unicode TextUtils.m3 Log message: Adapt to possibly Unicode-sized WIDECHAR From rodney at elego.de Fri Jan 10 03:45:42 2014 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 10 Jan 2014 3:45:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140110024542.58E825DED4D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/10 03:45:42 Modified files: cm3/m3-libs/m3core/tests/newtext/src/: Tag: devel_unicode Test.m3 Log message: Optional disabling of GC, but keep it enabling disabling by default, for now. From mika at elego.de Sun Jan 12 19:00:40 2014 From: mika at elego.de (Mika Nystrom) Date: Sun, 12 Jan 2014 19:00:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140112180040.C1B325DED73@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mika at birch. 14/01/12 19:00:40 Modified files: cm3/m3-sys/m3middle/src/: M3CG_Check.m3 Log message: don't crash the compiler because you're trying to print an error message From rcoleburn at elego.de Mon Jan 13 22:08:36 2014 From: rcoleburn at elego.de (Randy Coleburn) Date: Mon, 13 Jan 2014 22:08:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140113210836.45DC55DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 14/01/13 22:08:36 Modified files: cm3/m3-libs/m3core/tests/thread/src/: Main.m3 Log message: Fix bug in PutInt that allowed 10 to be incorrectly output as 0. --R.Coleburn From rcoleburn at elego.de Tue Jan 14 00:08:18 2014 From: rcoleburn at elego.de (Randy Coleburn) Date: Tue, 14 Jan 2014 0:08:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140113230818.55DFC5DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 14/01/14 00:08:18 Modified files: cm3/scripts/dev/windows/: RCC_upgradeCM3.cmd do-cm3.cmd Log message: Augment skip list directive to use full package pathnames so as to prevent ambiguity of just using package folder name. From jkrell at elego.de Wed Jan 15 07:29:06 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:29:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115062906.4161C5DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:29:06 Added files: cm3/scratch/wow64stack/: stack.c Log message: test case From jkrell at elego.de Wed Jan 15 07:34:30 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:34:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063430.CDD265DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:34:30 Added files: cm3/scratch/wow64stack/: stack.cpp Removed files: cm3/scratch/wow64stack/: stack.c Log message: rename From jkrell at elego.de Wed Jan 15 07:33:49 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:33:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063349.C0E505DF4ED@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:33:49 Modified files: cm3/scratch/wow64stack/: stack.c Log message: update From jkrell at elego.de Wed Jan 15 07:31:38 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:31:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115063138.476065DF4EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:31:38 Modified files: cm3/scratch/wow64stack/: stack.c Log message: update From jkrell at elego.de Wed Jan 15 07:42:02 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:42:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064202.D54C15DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:42:02 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:43:49 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:43:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064349.16ECD5DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:43:49 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:43:59 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:43:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115064359.32B695DECB9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:43:59 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: more convincing From jkrell at elego.de Wed Jan 15 07:51:42 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:51:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065142.829155DED02@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:51:42 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: for other architectures From jkrell at elego.de Wed Jan 15 07:55:31 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:55:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065532.0350A5DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:55:31 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 07:56:57 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:56:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065657.B695A5DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:56:57 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 07:57:15 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 7:57:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115065715.C5B985DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 07:57:15 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:02:22 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:02:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070222.2B6335DED47@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:02:22 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:06:12 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:06:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070615.11FD85DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:06:12 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:09:23 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:09:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115070923.DB4545DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:09:23 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update -- wierd! state changes after SuspendThread? From jkrell at elego.de Wed Jan 15 08:28:08 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:28:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115072808.985955DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:28:08 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 08:45:59 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 8:45:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115074559.BBC475DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 08:45:59 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: update From jkrell at elego.de Wed Jan 15 09:05:28 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 9:05:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115080528.C02715DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 09:05:28 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Wed Jan 15 09:28:08 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 9:28:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115082808.7027C5DED86@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 09:28:08 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Wed Jan 15 10:10:22 2014 From: jkrell at elego.de (Jay Krell) Date: Wed, 15 Jan 2014 10:10:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140115091022.0FFD05DED76@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/15 10:10:22 Modified files: cm3/scratch/wow64stack/: stack.cpp Log message: final version? From jkrell at elego.de Sat Jan 18 07:19:06 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 7:19:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118061906.57E5E5DF4E8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 07:19:06 Added files: cm3/scratch/wow64stack/: sync2.cpp Log message: SuspendThread betrays expectations too? Even for native. I'm investigating further. Cooperative suspend is looking more important. From jkrell at elego.de Sat Jan 18 10:09:29 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 10:09:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118090929.564C95DED80@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 10:09:29 Modified files: cm3/scratch/wow64stack/: sync2.cpp Log message: solution from rotor -- GetThreadContext after SuspendThread actually will not complete until the thread is really suspended From jkrell at elego.de Sat Jan 18 10:25:30 2014 From: jkrell at elego.de (Jay Krell) Date: Sat, 18 Jan 2014 10:25:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118092530.919AF5DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/18 10:25:30 Modified files: cm3/scratch/wow64stack/: sync2.cpp stack.cpp Added files: cm3/scratch/wow64stack/: sync1.cpp Log message: updates From rodney at elego.de Sat Jan 18 18:50:58 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 18:50:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118175058.DF5D05DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 18:50:58 Modified files: cm3/m3-sys/m3front/src/types/: Tag: devel_unicode EnumType.m3 SubrangeType.m3 Type.m3 Log message: In the compiler, allow, e.g., CharVariable := WidecharVariable, with range check, and WidecharVariable := CharVariable. Specifically: 1) CHAR and WIDECHAR are called _character types_ 1) (Addition to 2.2.10): CHAR <: WIDECHAR 3) (Change to 2.2.10): For ordinal types, T and U, T <: U if (they have the same basetype *or both basetypes are character types*) and every member of T is a member of U. Note that this does not suffer from the problems that a value subset relation and subtype relation between different integer types would have. A) The integer value sets do not necessarily have a subset relation at all. CHAR and WIDECHAR do, because Unicode has carefully made the first 256 code points the same as ISO-Latin-1. B) The resolution of builtin, overloaded arithmetic operators on integer types would become a mess. In contrast, characters have no operators that compute new character values. From rodney at elego.de Sat Jan 18 18:53:00 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 18:53:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118175300.2FDF05DED90@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 18:53:00 Modified files: cm3/m3-sys/m3front/src/misc/: Tag: devel_unicode M3Compiler.i3 Log message: Fix typo. From rodney at elego.de Sat Jan 18 22:49:15 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:49:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118214915.A6C2D5DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:49:15 Modified files: cm3/m3-sys/m3cggen/src/: Tag: devel_unicode Main.m3 Log message: New operator to communicate WIDECHAR size to backend. From rodney at elego.de Sat Jan 18 22:54:57 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:54:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118215457.6D4AD5DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:54:57 Modified files: cm3/m3-sys/m3cc/gcc-4.7/gcc/: Tag: devel_unicode dbxout.h dbxout.c Log message: WIDECHAR size communicated to m3gdb is now taken from the front end, rather than hard coded in the backend. From rodney at elego.de Sat Jan 18 22:59:55 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 22:59:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118215955.3F5B75DED7A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 22:59:55 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: Tag: devel_unicode m3-def.h m3cg.h parse.c Log message: Recognize and act on new widechar_size operator from frontend. From rodney at elego.de Sat Jan 18 23:06:46 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 23:06:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118220647.5746D5DED84@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 23:06:46 Modified files: cm3/m3-sys/m3middle/src/: Tag: devel_unicode M3CG.m3 M3CG_AssertFalse.m3 M3CG_BinRd.m3 M3CG_BinWr.m3 M3CG_Binary.i3 M3CG_DoNothing.m3 M3CG_MultiPass.i3 M3CG_MultiPass.m3 M3CG_Ops.i3 M3CG_Rd.m3 M3CG_Wr.m3 Log message: Accept and propagate widechar_size everywhere. From rodney at elego.de Sat Jan 18 23:08:42 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sat, 18 Jan 2014 23:08:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140118220842.212DA5DED84@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/18 23:08:42 Modified files: cm3/m3-sys/m3linker/src/: Tag: devel_unicode Mx.i3 Log message: Let cm3 provide the size of WIDECHAR. From jkrell at elego.de Sun Jan 19 14:02:16 2014 From: jkrell at elego.de (Jay Krell) Date: Sun, 19 Jan 2014 14:02:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119130216.EA58F5DED93@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/19 14:02:16 Modified files: cm3/m3-comm/tcp/src/POSIX/: IP.m3 Log message: John Marino's fallback to gethostbyname(127.0.0.1) when gethostbyname fails (could just hardcode it as 0x7F000001 or 0100007F?) see http://svnweb.freebsd.org/ports/head/lang/modula3/files/patch-m3-comm_tcp_src_POSIX_IP.m3?revision=338413&view=co&pathrev=338413 From jkrell at elego.de Sun Jan 19 14:09:07 2014 From: jkrell at elego.de (Jay Krell) Date: Sun, 19 Jan 2014 14:09:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119130907.EFDE45DF4C3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/19 14:09:07 Modified files: cm3/m3-comm/tcp/src/WIN32/: IP.m3 Log message: fallback here too see http://svnweb.freebsd.org/ports/head/lang/modula3/files/patch-m3-comm_tcp_src_POSIX_IP.m3?revision=338413&view=co From rodney at elego.de Sun Jan 19 18:56:43 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 18:56:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119175643.58AF05DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 18:56:43 Modified files: cm3/m3-sys/m3front/src/builtinTypes/: Tag: devel_unicode WCharr.i3 WCharr.m3 ./: Tag: devel_unicode WCharr.i3 WCharr.m3 cm3/m3-sys/m3front/src/misc/: Tag: devel_unicode CG.i3 CG.m3 M3Front.i3 M3WString.m3 Scanner.m3 ./: Tag: devel_unicode CG.i3 CG.m3 M3Front.i3 M3WString.m3 Scanner.m3 cm3/m3-sys/m3front/src/values/: Tag: devel_unicode Module.m3 Log message: Make WIDECHAR size a configuration or command line option. From rodney at elego.de Sun Jan 19 18:58:46 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 18:58:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119175846.6E8675DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 18:58:46 Modified files: cm3/m3-sys/cm3/src/: Tag: devel_unicode Builder.m3 Makefile.m3 Utils.i3 Utils.m3 cm3.1 Log message: Make WIDECHAR size a configuration or command line option. From rodney at elego.de Sun Jan 19 19:02:22 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 19:02:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119180222.6A0F05DED69@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 19:02:22 Modified files: cm3/m3-libs/libm3/tests/rw/ungetmulti/src/: Tag: devel_unicode m3makefile ./: Tag: devel_unicode m3makefile cm3/m3-libs/libm3/tests/rw/unicodec/src/: Tag: devel_unicode m3makefile ./: Tag: devel_unicode m3makefile cm3/m3-libs/libm3/tests/rw/unird/src/: Tag: devel_unicode m3makefile Log message: Adapt m3makefiles to Unicode [en|de]coders' relocation into new package libunicode. From rodney at elego.de Sun Jan 19 19:06:22 2014 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 19 Jan 2014 19:06:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140119180622.50BF25DED70@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/19 19:06:22 Modified files: cm3/m3-libs/libunicode/src/: Tag: devel_unicode UniCodec.i3 UniEncoding.i3 Log message: Comments. From jkrell at elego.de Mon Jan 20 04:58:04 2014 From: jkrell at elego.de (Jay Krell) Date: Mon, 20 Jan 2014 4:58:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140120035804.D6AAD5DED81@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 14/01/20 04:58:04 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Remove stack bounds check that seems to date to Win9x bug workarounds. Always follow SuspendThread with an immediate GetThreadContext, because that is how you ensure the thread is actually suspended. This is easy to demonstrate, matches sscli/rotor 2.0, and almost matched what we were doing anyway. This is perhaps a little slower, but that is just tough. What we did before is check act.heapState.inCritical # 0 first, then GetThreadContext. Now we check them in the reverse order, because otherwise the thread might yet change act.heapState.inCritical. Getting the stack pointer reliably on wow64 remains an open problem. Can we remove stackStart now? (due to the Win9x removal) From rodney at elego.de Mon Jan 27 21:47:25 2014 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 27 Jan 2014 21:47:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140127204725.CB0075DED8A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/27 21:47:25 Modified files: cm3/m3-sys/m3front/src/builtinOps/: Narrow.m3 Log message: Fix a long-standing bug in generated code for runtime narrow operations. It was only showing up when all of the following hold: For NARROW(e, T) (or an equivalent implicit narrow) 1) Expression e has static type REFANY. 2) Type T is known locally as T <: REFANY, with no revelation visible. 3) The (elsewhere) revealed type of T is an object type. 4) The allocated type of e is a proper subtype of revealed T. In this case, the generated code was demanding at runtime that the allocated type of e be exactly T, not accepting a proper subtype thereof. From rodney at elego.de Thu Jan 30 23:25:31 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 30 Jan 2014 23:25:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140130222531.D77005DED8D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/30 23:25:31 Modified files: cm3/m3-sys/m3back/src/: Tag: devel_unicode M3x86.m3 Log message: Accept and store argument of new widechar_size operator. There is apparently no use of this. From rodney at elego.de Thu Jan 30 23:28:51 2014 From: rodney at elego.de (Rodney M. Bates) Date: Thu, 30 Jan 2014 23:28:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20140130222851.DB71C5DED8D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 14/01/30 23:28:51 Modified files: cm3/m3-sys/m3back/src/: Tag: devel_unicode M3C.m3 Log message: Accept new widechar_size operator and use it in initialization.