From jkrell at elego.de Thu Oct 15 16:50:39 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 15 Oct 2009 16:50:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091015145039.A12ED2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/15 16:50:39 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: fix to compiler with recently reduced Usysdep.i3 From jkrell at elego.de Wed Oct 21 11:09:28 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:09:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021090928.50CA52474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:09:28 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 Log message: aggressive instrumentation, hasn't found the bug, disabled should get optimized away From jkrell at elego.de Wed Oct 21 11:12:56 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:12:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091256.4F0E0CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:12:56 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: more disabling From jkrell at elego.de Wed Oct 21 11:13:41 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:13:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091341.D93BD2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:13:41 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: comment only From jkrell at elego.de Wed Oct 21 11:14:53 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:14:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091453.DAF0B2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:14:53 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: add static From jkrell at elego.de Wed Oct 21 12:25:33 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 12:25:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021102533.3D9302474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 12:25:33 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 ThreadWin32.m3 Log message: honor documented locking protocol for do_signal add a bit more instrumentation (disabled) From jkrell at elego.de Fri Oct 23 14:03:07 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:03:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023120307.7BE5A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:03:07 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: make it portable, so far to Cygwin, there's really nothing Win32-specific here From jkrell at elego.de Fri Oct 23 14:04:30 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:04:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023120430.3B9CA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:04:30 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: disable it From jkrell at elego.de Fri Oct 23 14:15:41 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:15:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023121541.573302474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:15:41 Modified files: cm3/m3-libs/m3core/src/thread/Common/: m3makefile cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/Common/: ThreadDebug.c ThreadDebug.i3 Removed files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 Log message: put portable code in common location, even if not enabled for all platforms, and without platform name in the identifiers From jkrell at elego.de Fri Oct 23 15:01:30 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 15:01:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023130131.9E6C72474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 15:01:30 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: fix newlines From jkrell at elego.de Fri Oct 23 15:05:31 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 15:05:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023130531.C8E832474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 15:05:31 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: start out inCritical and then go non-critical shortly into initialization; this way we avoid using condition before it is initialized when we have hacked the heap to start small and collect more often while hunting Juno bug, but it should most likely be this way anyway From jkrell at elego.de Sat Oct 24 16:32:28 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:32:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143228.B77152474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:32:28 Added files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemory.i3 RTUntracedMemoryC.c Log message: alternatives to malloc/calloc/free to be used to reduce and maybe eventually eliminate C runtime dependency on Windows From jkrell at elego.de Sat Oct 24 16:33:55 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:33:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143355.2BB2B2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:33:55 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: arithmetic overflow checking on Posix too, incase their calloc doesn't check From jkrell at elego.de Sat Oct 24 16:35:59 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:35:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143559.B646D2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:35:59 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: fix warnings and make calling convention explicit From hosking at elego.de Sun Oct 25 05:06:36 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 5:06:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025040636.DDCF82474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 05:06:36 Modified files: cm3/m3-libs/m3core/src/thread/Common/: Thread.i3 Log message: Cosmetic change. From hosking at elego.de Sun Oct 25 05:41:56 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 5:41:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025044156.E51632474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 05:41:56 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c Log message: Type m3 properly. From hosking at elego.de Sun Oct 25 09:11:08 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 9:11:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025081108.18A97CC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 09:11:08 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 ThreadPosix.m3 ThreadPosixC.c cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c m3makefile Added files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.s Log message: Big refactoring of user-level POSIX and pthreads thread implementation. Strategy is to implement user-level threads using makecontext and friends. Push C-dependent pthreads code into a single ThreadPThreadC.c instead of throughout the target directories. Tested both user-level and pthreads threading on I386_DARWIN using p007 test. From hosking at elego.de Sun Oct 25 09:12:14 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 9:12:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025081214.238072474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 09:12:14 Modified files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTMachine.i3 RTMachineC.c m3makefile cm3/m3-libs/m3core/src/runtime/AP3000/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ARM/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ARM_DARWIN/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/DS3100/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/HP300/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/HPPA/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachine.i3 RTMachineC.c m3makefile cm3/m3-libs/m3core/src/runtime/IBMR2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/IBMRT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/IRIX5/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/NEXT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/OKI/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/OS2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SUN3/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SUN386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/UMAX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/VAX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTMachine.i3 RTUntracedMemory.i3 Removed files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/AP3000/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/ARM/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/DS3100/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/HP300/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/HPPA/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMR2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMRT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IRIX5/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/NEXT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/OKI/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/OS2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/POSIX/: RTThread.i3 RTThread.m3 cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLsun/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN3/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/UMAX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/VAX/: RTThread.m3 RTThreadC.c Log message: With refactoring of threads support into the respective ThreadPThreadC.c and ThreadPosixC.c we no longer need it smeared through the target directories. From jkrell at elego.de Sun Oct 25 11:07:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:07:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025100736.84ECA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:07:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: experiment with ANSI vs. K&R From jkrell at elego.de Sun Oct 25 11:29:31 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:29:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025102931.0B3C1CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:29:31 Removed files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/SOLsun/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTSignal.m3 Log message: delete some unused files From jkrell at elego.de Sun Oct 25 11:33:37 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:33:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025103337.E9AA22474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:33:37 Modified files: cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 Log message: remove unused import (though I did like it how it was with Word.LeftShift) From jkrell at elego.de Sun Oct 25 11:41:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:41:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025104133.22797CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:41:33 Removed files: cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/ARM_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTMachineC.c Log message: remove unused files (content now in ThreadPThreadC.c) From jkrell at elego.de Sun Oct 25 11:43:07 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:43:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025104307.DEA7ACC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:43:07 Removed files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachineASM.s cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachineASM.s Log message: remove unused files (content now in ThreadPThread.s) From jkrell at elego.de Sun Oct 25 11:58:42 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:58:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025105842.E6A5A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:58:42 Removed files: cm3/m3-libs/m3core/src/runtime/FreeBSD/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD2/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD3/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD4/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: _fpsetjmp.s Log message: remove unused files I found in implementing get/set/make/swapcontext on some platforms that it can be a useful strategy to get the compiler to save a bunch of state on the stack by calling a function with many parameters and/or use of floating point, and call setjmp from that function. (see m3core/src/unix/Common/context/setjmp/context.c how it avoids using register-based parameters) From jkrell at elego.de Sun Oct 25 13:01:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:01:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120114.451BA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:01:14 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: fix it to compile (missing import) From jkrell at elego.de Sun Oct 25 13:04:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:04:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120449.3F82F2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:04:49 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: m3_pthread to m3_pthread_t, should fix compilation From jkrell at elego.de Sun Oct 25 13:08:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:08:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120814.6B6092474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:08:14 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: address this: ../src/thread/PTHREAD/ThreadPThreadC.c: In function `ThreadPThread__ProcessRegis ters': ../src/thread/PTHREAD/ThreadPThreadC.c:235: warning: return makes pointer from i nteger without a cast -> archiving libm3core.a Undefined first referenced From jkrell at elego.de Sun Oct 25 13:16:01 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:16:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025121601.5D79BCC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:16:01 Modified files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: m3makefile cm3/m3-libs/m3core/src/runtime/SOLsun/: m3makefile Added files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachineASM.s cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachineASM.s Log message: bring back RTMachine__SaveRegsInStack for use by RTStackC.c This is highly non-ideal. Tony had done a good thing in reducing two copies to one, and now I've put them back so we have three. However if Solaris is to have user threads, then Tony's copy might not be there. Perhaps we can put it in runtime/common or runtime/posix instead? From hosking at elego.de Sun Oct 25 14:39:15 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:39:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025133915.871FB2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:39:15 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: Why import when MUTEX is predeclared. From hosking at elego.de Sun Oct 25 14:39:44 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:39:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025133944.3E0542474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:39:44 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DateBsd.m3 Log message: Why import when MUTEX is predeclared. From hosking at elego.de Sun Oct 25 14:43:53 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:43:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025134353.A461E2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:43:53 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: Revert to using RTMachine__SaveRegsInStack. From hosking at elego.de Sun Oct 25 14:45:26 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:45:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025134526.36CB12474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:45:26 Removed files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.s Log message: Revert to using RTMachine__SaveRegsInStack. From jkrell at elego.de Mon Oct 26 04:02:49 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:02:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030249.54BE72474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:02:49 Modified files: cm3/m3-ui/ui/src/trestle/: Trestle.m3 Log message: add @M3no-trestle-await-delete, very useful for running gui apps in a loop for debugging From jkrell at elego.de Mon Oct 26 04:03:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:03:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030331.BF317CC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:03:31 Modified files: cm3/m3-ui/ui/src/trestle/: Trestle.m3 Log message: remove accidental FATAL from previous From jkrell at elego.de Mon Oct 26 04:05:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:05:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030555.C9C5ACC322@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:05:54 Modified files: cm3/m3-ui/juno-2/juno-app/src/: Juno.m3 Log message: remove @M3no-trestle-await-delete support from here From rcoleburn at elego.de Mon Oct 26 07:51:44 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Mon, 26 Oct 2009 7:51:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026065145.2C19C2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/26 07:51:44 cm3 Update of /usr/cvs/cm3 In directory birch:/tmp/cvs-serv14526 Log Message: Status: Vendor Tag: tcvs-vendor Release Tags: tcvs-release No conflicts created by this import From jkrell at elego.de Mon Oct 26 10:29:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 10:29:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026092923.CF1292474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 10:29:23 Modified files: cm3/m3-ui/vbtkit/src/lego/WIN32/: ScrollerVBTClass.m3 Log message: add lock in Rescreen to match X Windows version From jkrell at elego.de Mon Oct 26 10:55:28 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 10:55:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026095528.5D80BCC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 10:55:28 Modified files: cm3/m3-ui/vbtkit/src/lego/WIN32/: Tag: release_branch_cm3_5_8 ScrollerVBTClass.m3 Log message: match X Windows lock use in Rescreen From jkrell at elego.de Mon Oct 26 11:19:48 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 11:19:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026101948.2C299CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 11:19:48 Modified files: cm3/m3-sys/cm3/src/: m3makefile Log message: small amount of compat with 5.2.6 / to SL From jkrell at elego.de Mon Oct 26 11:23:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 11:23:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026102320.8E173CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 11:23:20 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NT386.common Log message: small amount of compat with 5.2.6 don't use pos if it isn't defined, just hardcode to _m3.lst From jkrell at elego.de Mon Oct 26 14:37:07 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:37:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026133707.967E4CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:37:07 Modified files: cm3/m3-ui/ui/src/winvbt/: WinTrestle.m3 Log message: Fix a few incorrect assertions. Most of these functions are documented as returning 0 for failure and non-zero for success. The distinguished value 1 for success is not called out. There are two exceptions. DeleteDC does return 1 for success. GetMessage is trivalue: 0, -1, 1. From jkrell at elego.de Mon Oct 26 14:38:12 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:38:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026133812.6C1452474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:38:12 Modified files: cm3/m3-ui/ui/src/winvbt/: WinTrestle.m3 Log message: better check for GetMessage return value (but we should raise an exception for -1?) From jkrell at elego.de Mon Oct 26 14:42:57 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:42:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026134257.35841CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:42:57 Modified files: cm3/m3-ui/anim3D/src/win-opengl/: Win_OpenGL_Base.m3 Log message: fix assertions SetWindowText, UpdateWindow, DestroyWindow are not documented as returning distinguished TRUE for success, merely non-zero From jkrell at elego.de Mon Oct 26 15:05:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:05:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026140521.799F42474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:05:20 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.i3 ThreadWin32.m3 ThreadWin32C.c Log message: rename "cm" lock to "giant" for readability to and to match head From jkrell at elego.de Mon Oct 26 15:08:01 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:08:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026140801.C443CCC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:08:01 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.i3 ThreadWin32.m3 ThreadWin32C.c Log message: rename lock "cs" to "heap" which is more understandable and matches head From jkrell at elego.de Mon Oct 26 15:20:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:20:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026142059.DAEFC2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:20:59 Modified files: cm3/m3-ui/ui/src/winvbt/: WinScrnCursor.m3 WinScrnFont.m3 WinScrnPixmap.m3 Log message: fix more zero vs. non-zero vs. 1 confusion From jkrell at elego.de Mon Oct 26 15:29:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:29:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026142915.89BB62474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:29:15 Modified files: cm3/scripts/examples/: make-compiler.cmd make-juno.cmd Log message: put cm3 in $PATH From jkrell at elego.de Mon Oct 26 15:54:53 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:54:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026145453.5C1DF2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:54:53 Modified files: cm3/m3-sys/cm3/src/: Main.m3 Log message: fix warning for unused import From jkrell at elego.de Mon Oct 26 15:58:37 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:58:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026145837.BB67D2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:58:37 Modified files: cm3/m3-ui/ui/src/winvbt/: WinContext.m3 Log message: fix newlines From rcoleburn at elego.de Fri Oct 30 03:46:36 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 3:46:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030024636.80621CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 03:46:36 Added files: cm3/scripts/doc/: Documentation_cm3CommandShell.pdf Documentation_cm3Proj.pdf Documentation_cm3StartIDE.pdf Removed files: cm3/scripts/doc/: CM3SetupCmdEnv.html cm3Proj.html startReactor.html Log message: remove obsolete docs; add new docs for forthcoming (shortly) scripts. --Randy Coleburn From rcoleburn at elego.de Fri Oct 30 04:13:34 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 4:13:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030031334.99A55CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 04:13:34 Added files: cm3/scripts/dev/windows/: RCC_upgradeCM3.cmd do-cm3.cmd cm3/scripts/install/windows/: cm3CommandShell.CMD cm3Proj.cmd cm3StartIDE.CMD cm3/scripts/obsolete/: ArcDir.CMD Documentation_CM3SetupCmdEnv.htm Documentation_CM3SetupCmdEnv.pdf Documentation_CM3StartIDE.htm Documentation_CM3StartIDE.pdf Documentation_cm3Proj.htm Documentation_cm3Proj.pdf UnArc.CMD cm3Proj_v114.cmd cm3SetupCmdEnv_v143.cmd cm3StartIDE_v201.CMD startReactor.cmd Removed files: cm3/scripts/: ArcDir.CMD Documentation_CM3SetupCmdEnv.htm Documentation_CM3SetupCmdEnv.pdf Documentation_CM3StartIDE.htm Documentation_CM3StartIDE.pdf Documentation_cm3Proj.htm Documentation_cm3Proj.pdf UnArc.CMD cm3Proj.cmd cm3SetupCmdEnv.cmd cm3StartIDE.CMD startReactor.cmd v526_all.CM3P cm3/scripts/win/: RCC_upgradeCM3.cmd do-cm3.cmd Log message: Based on prior m3devel message I sent out, make the first attempt toward improving structure of "scripts" folder. These changes only affect previous contributions I have made to this folder. That way, others can choose when/if to align their stuff with a new folder layout as time goes on. Since we are close to a release, we don't want to break anything right now. Create new folder "obsolete" and put all my old stuff in there. No one should use any of this stuff. But, just in case anyone is dependent on it currently, it is still avail via the "obsolete" folder. Create new "dev" folder tree with subfolders "windows", "posix", and "python". The later 2 folders are empty. In the "windows" folder, I've put scripts I use on Windows 2000/XP/Vista for "upgrading compiler" (RCC_upgradeCM3.cmd) and for "building packages based on definitions in PkgInfo.txt" (do-cm3.cmd). Create new "install" folder tree with subfolders "windows", "posix", and "python". The later 2 folders are empty. In the "windows" folder, I've put scripts I use on Windows 2000/XP/Vista for "opening up a cm3 command prompt window" (cm3CommandShell.cmd), "starting the IDE" (cm3StartIDE.cmd), and I've revamped my old "cm3Proj.cmd" to work with the new "cm3CommandShell.cmd". Documentation for these 3 scripts is now in the "doc" folder as PDF files. Intent for the "install\windows" folder is that its contents should be copied to the "cm3\bin" folder of the target installation on Windows platforms. Indeed, my "RCC_upgradeCM3.cmd" scripts does just that. --Randy Coleburn From rcoleburn at elego.de Fri Oct 30 04:30:44 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 4:30:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030033046.A9BEF2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 04:30:44 Added files: cm3/scripts/dev/: Read_Me.pdf Read_Me.txt cm3/scripts/dev/posix/: Read_Me.pdf Read_Me.txt cm3/scripts/dev/python/: Read_Me.pdf Read_Me.txt cm3/scripts/doc/: Read_Me.pdf Read_Me.txt cm3/scripts/install/: Read_Me.pdf Read_Me.txt cm3/scripts/install/posix/: Read_Me.pdf Read_Me.txt cm3/scripts/install/python/: Read_Me.pdf Read_Me.txt Log message: Seems I needed at least one file in the folder to get TortoiseCVS/CVSNT to create the folders, so put in a ReadMe file explaining the "proposed" folder layout. Note that this layout is only proposed; we can change it as needed going forward. --Randy Coleburn From jkrell at elego.de Sat Oct 31 14:33:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:33:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031133304.DCA88CC365@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:33:04 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: restore slightly more efficient unlock order to match release and Birrel paper (see revision 1.75 at Tue Sep 29 17:34:35 2009) From jkrell at elego.de Sat Oct 31 14:35:53 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:35:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031133553.B13642474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:35:53 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.m3 Log message: cosmetic changes to reduce diff to head -- removing parens on IF/THEN From jkrell at elego.de Sat Oct 31 14:41:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:41:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031134149.B8F412474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:41:49 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NT386.common Log message: invert delayload default for compat with older linkers From jkrell at elego.de Sat Oct 31 15:46:29 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:46:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144629.E6974CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:46:29 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: RTCollector.m3 From jkrell at elego.de Sat Oct 31 15:47:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:47:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144736.AD54DCC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:47:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: go back a version because messed up cvs command line such as to have no comment From jkrell at elego.de Sat Oct 31 15:48:41 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:48:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144841.4B7D5CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:48:41 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: print more information when an assertion is going to fail besides, factor two nearly identical functions (one just had one extra line vs. the other) From jkrell at elego.de Sat Oct 31 15:53:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:53:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031145336.CB57C2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:53:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: also print weak field From jkrell at elego.de Sat Oct 31 16:16:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 16:16:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031151604.5457A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 16:16:04 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTType.m3 RTTypeSRC.i3 Log message: print type names just not type codes this might violate RTTypeSRC's safety, in which case move it to RTTypeSRCUnsafe From jkrell at elego.de Sat Oct 31 16:16:40 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 16:16:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031151640.6B6612474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 16:16:40 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemory.i3 Log message: fix newlines From hosking at elego.de Sat Oct 31 19:38:38 2009 From: hosking at elego.de (Antony Hosking) Date: Sat, 31 Oct 2009 19:38:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031183838.70EBACC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/31 19:38:38 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: I may have broken old space write barriers... revert until can be reconsidered. From jkrell at elego.de Thu Oct 15 16:50:39 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 15 Oct 2009 16:50:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091015145039.A12ED2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/15 16:50:39 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: fix to compiler with recently reduced Usysdep.i3 From jkrell at elego.de Wed Oct 21 11:09:28 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:09:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021090928.50CA52474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:09:28 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 Log message: aggressive instrumentation, hasn't found the bug, disabled should get optimized away From jkrell at elego.de Wed Oct 21 11:12:56 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:12:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091256.4F0E0CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:12:56 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: more disabling From jkrell at elego.de Wed Oct 21 11:13:41 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:13:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091341.D93BD2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:13:41 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: comment only From jkrell at elego.de Wed Oct 21 11:14:53 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:14:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091453.DAF0B2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:14:53 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: add static From jkrell at elego.de Wed Oct 21 12:25:33 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 12:25:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021102533.3D9302474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 12:25:33 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 ThreadWin32.m3 Log message: honor documented locking protocol for do_signal add a bit more instrumentation (disabled) From jkrell at elego.de Fri Oct 23 14:03:07 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:03:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023120307.7BE5A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:03:07 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: make it portable, so far to Cygwin, there's really nothing Win32-specific here From jkrell at elego.de Fri Oct 23 14:04:30 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:04:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023120430.3B9CA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:04:30 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: disable it From jkrell at elego.de Fri Oct 23 14:15:41 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:15:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023121541.573302474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:15:41 Modified files: cm3/m3-libs/m3core/src/thread/Common/: m3makefile cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/Common/: ThreadDebug.c ThreadDebug.i3 Removed files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 Log message: put portable code in common location, even if not enabled for all platforms, and without platform name in the identifiers From jkrell at elego.de Fri Oct 23 15:01:30 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 15:01:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023130131.9E6C72474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 15:01:30 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: fix newlines From jkrell at elego.de Fri Oct 23 15:05:31 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 15:05:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023130531.C8E832474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 15:05:31 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: start out inCritical and then go non-critical shortly into initialization; this way we avoid using condition before it is initialized when we have hacked the heap to start small and collect more often while hunting Juno bug, but it should most likely be this way anyway From jkrell at elego.de Sat Oct 24 16:32:28 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:32:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143228.B77152474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:32:28 Added files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemory.i3 RTUntracedMemoryC.c Log message: alternatives to malloc/calloc/free to be used to reduce and maybe eventually eliminate C runtime dependency on Windows From jkrell at elego.de Sat Oct 24 16:33:55 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:33:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143355.2BB2B2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:33:55 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: arithmetic overflow checking on Posix too, incase their calloc doesn't check From jkrell at elego.de Sat Oct 24 16:35:59 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:35:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143559.B646D2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:35:59 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: fix warnings and make calling convention explicit From hosking at elego.de Sun Oct 25 05:06:36 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 5:06:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025040636.DDCF82474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 05:06:36 Modified files: cm3/m3-libs/m3core/src/thread/Common/: Thread.i3 Log message: Cosmetic change. From hosking at elego.de Sun Oct 25 05:41:56 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 5:41:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025044156.E51632474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 05:41:56 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c Log message: Type m3 properly. From hosking at elego.de Sun Oct 25 09:11:08 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 9:11:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025081108.18A97CC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 09:11:08 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 ThreadPosix.m3 ThreadPosixC.c cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c m3makefile Added files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.s Log message: Big refactoring of user-level POSIX and pthreads thread implementation. Strategy is to implement user-level threads using makecontext and friends. Push C-dependent pthreads code into a single ThreadPThreadC.c instead of throughout the target directories. Tested both user-level and pthreads threading on I386_DARWIN using p007 test. From hosking at elego.de Sun Oct 25 09:12:14 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 9:12:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025081214.238072474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 09:12:14 Modified files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTMachine.i3 RTMachineC.c m3makefile cm3/m3-libs/m3core/src/runtime/AP3000/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ARM/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ARM_DARWIN/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/DS3100/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/HP300/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/HPPA/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachine.i3 RTMachineC.c m3makefile cm3/m3-libs/m3core/src/runtime/IBMR2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/IBMRT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/IRIX5/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/NEXT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/OKI/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/OS2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SUN3/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SUN386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/UMAX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/VAX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTMachine.i3 RTUntracedMemory.i3 Removed files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/AP3000/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/ARM/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/DS3100/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/HP300/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/HPPA/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMR2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMRT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IRIX5/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/NEXT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/OKI/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/OS2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/POSIX/: RTThread.i3 RTThread.m3 cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLsun/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN3/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/UMAX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/VAX/: RTThread.m3 RTThreadC.c Log message: With refactoring of threads support into the respective ThreadPThreadC.c and ThreadPosixC.c we no longer need it smeared through the target directories. From jkrell at elego.de Sun Oct 25 11:07:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:07:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025100736.84ECA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:07:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: experiment with ANSI vs. K&R From jkrell at elego.de Sun Oct 25 11:29:31 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:29:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025102931.0B3C1CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:29:31 Removed files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/SOLsun/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTSignal.m3 Log message: delete some unused files From jkrell at elego.de Sun Oct 25 11:33:37 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:33:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025103337.E9AA22474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:33:37 Modified files: cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 Log message: remove unused import (though I did like it how it was with Word.LeftShift) From jkrell at elego.de Sun Oct 25 11:41:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:41:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025104133.22797CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:41:33 Removed files: cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/ARM_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTMachineC.c Log message: remove unused files (content now in ThreadPThreadC.c) From jkrell at elego.de Sun Oct 25 11:43:07 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:43:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025104307.DEA7ACC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:43:07 Removed files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachineASM.s cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachineASM.s Log message: remove unused files (content now in ThreadPThread.s) From jkrell at elego.de Sun Oct 25 11:58:42 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:58:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025105842.E6A5A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:58:42 Removed files: cm3/m3-libs/m3core/src/runtime/FreeBSD/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD2/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD3/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD4/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: _fpsetjmp.s Log message: remove unused files I found in implementing get/set/make/swapcontext on some platforms that it can be a useful strategy to get the compiler to save a bunch of state on the stack by calling a function with many parameters and/or use of floating point, and call setjmp from that function. (see m3core/src/unix/Common/context/setjmp/context.c how it avoids using register-based parameters) From jkrell at elego.de Sun Oct 25 13:01:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:01:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120114.451BA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:01:14 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: fix it to compile (missing import) From jkrell at elego.de Sun Oct 25 13:04:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:04:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120449.3F82F2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:04:49 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: m3_pthread to m3_pthread_t, should fix compilation From jkrell at elego.de Sun Oct 25 13:08:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:08:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120814.6B6092474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:08:14 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: address this: ../src/thread/PTHREAD/ThreadPThreadC.c: In function `ThreadPThread__ProcessRegis ters': ../src/thread/PTHREAD/ThreadPThreadC.c:235: warning: return makes pointer from i nteger without a cast -> archiving libm3core.a Undefined first referenced From jkrell at elego.de Sun Oct 25 13:16:01 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:16:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025121601.5D79BCC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:16:01 Modified files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: m3makefile cm3/m3-libs/m3core/src/runtime/SOLsun/: m3makefile Added files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachineASM.s cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachineASM.s Log message: bring back RTMachine__SaveRegsInStack for use by RTStackC.c This is highly non-ideal. Tony had done a good thing in reducing two copies to one, and now I've put them back so we have three. However if Solaris is to have user threads, then Tony's copy might not be there. Perhaps we can put it in runtime/common or runtime/posix instead? From hosking at elego.de Sun Oct 25 14:39:15 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:39:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025133915.871FB2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:39:15 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: Why import when MUTEX is predeclared. From hosking at elego.de Sun Oct 25 14:39:44 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:39:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025133944.3E0542474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:39:44 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DateBsd.m3 Log message: Why import when MUTEX is predeclared. From hosking at elego.de Sun Oct 25 14:43:53 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:43:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025134353.A461E2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:43:53 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: Revert to using RTMachine__SaveRegsInStack. From hosking at elego.de Sun Oct 25 14:45:26 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:45:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025134526.36CB12474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:45:26 Removed files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.s Log message: Revert to using RTMachine__SaveRegsInStack. From jkrell at elego.de Mon Oct 26 04:02:49 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:02:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030249.54BE72474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:02:49 Modified files: cm3/m3-ui/ui/src/trestle/: Trestle.m3 Log message: add @M3no-trestle-await-delete, very useful for running gui apps in a loop for debugging From jkrell at elego.de Mon Oct 26 04:03:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:03:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030331.BF317CC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:03:31 Modified files: cm3/m3-ui/ui/src/trestle/: Trestle.m3 Log message: remove accidental FATAL from previous From jkrell at elego.de Mon Oct 26 04:05:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:05:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030555.C9C5ACC322@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:05:54 Modified files: cm3/m3-ui/juno-2/juno-app/src/: Juno.m3 Log message: remove @M3no-trestle-await-delete support from here From rcoleburn at elego.de Mon Oct 26 07:51:44 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Mon, 26 Oct 2009 7:51:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026065145.2C19C2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/26 07:51:44 cm3 Update of /usr/cvs/cm3 In directory birch:/tmp/cvs-serv14526 Log Message: Status: Vendor Tag: tcvs-vendor Release Tags: tcvs-release No conflicts created by this import From jkrell at elego.de Mon Oct 26 10:29:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 10:29:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026092923.CF1292474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 10:29:23 Modified files: cm3/m3-ui/vbtkit/src/lego/WIN32/: ScrollerVBTClass.m3 Log message: add lock in Rescreen to match X Windows version From jkrell at elego.de Mon Oct 26 10:55:28 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 10:55:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026095528.5D80BCC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 10:55:28 Modified files: cm3/m3-ui/vbtkit/src/lego/WIN32/: Tag: release_branch_cm3_5_8 ScrollerVBTClass.m3 Log message: match X Windows lock use in Rescreen From jkrell at elego.de Mon Oct 26 11:19:48 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 11:19:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026101948.2C299CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 11:19:48 Modified files: cm3/m3-sys/cm3/src/: m3makefile Log message: small amount of compat with 5.2.6 / to SL From jkrell at elego.de Mon Oct 26 11:23:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 11:23:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026102320.8E173CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 11:23:20 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NT386.common Log message: small amount of compat with 5.2.6 don't use pos if it isn't defined, just hardcode to _m3.lst From jkrell at elego.de Mon Oct 26 14:37:07 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:37:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026133707.967E4CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:37:07 Modified files: cm3/m3-ui/ui/src/winvbt/: WinTrestle.m3 Log message: Fix a few incorrect assertions. Most of these functions are documented as returning 0 for failure and non-zero for success. The distinguished value 1 for success is not called out. There are two exceptions. DeleteDC does return 1 for success. GetMessage is trivalue: 0, -1, 1. From jkrell at elego.de Mon Oct 26 14:38:12 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:38:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026133812.6C1452474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:38:12 Modified files: cm3/m3-ui/ui/src/winvbt/: WinTrestle.m3 Log message: better check for GetMessage return value (but we should raise an exception for -1?) From jkrell at elego.de Mon Oct 26 14:42:57 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:42:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026134257.35841CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:42:57 Modified files: cm3/m3-ui/anim3D/src/win-opengl/: Win_OpenGL_Base.m3 Log message: fix assertions SetWindowText, UpdateWindow, DestroyWindow are not documented as returning distinguished TRUE for success, merely non-zero From jkrell at elego.de Mon Oct 26 15:05:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:05:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026140521.799F42474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:05:20 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.i3 ThreadWin32.m3 ThreadWin32C.c Log message: rename "cm" lock to "giant" for readability to and to match head From jkrell at elego.de Mon Oct 26 15:08:01 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:08:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026140801.C443CCC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:08:01 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.i3 ThreadWin32.m3 ThreadWin32C.c Log message: rename lock "cs" to "heap" which is more understandable and matches head From jkrell at elego.de Mon Oct 26 15:20:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:20:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026142059.DAEFC2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:20:59 Modified files: cm3/m3-ui/ui/src/winvbt/: WinScrnCursor.m3 WinScrnFont.m3 WinScrnPixmap.m3 Log message: fix more zero vs. non-zero vs. 1 confusion From jkrell at elego.de Mon Oct 26 15:29:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:29:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026142915.89BB62474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:29:15 Modified files: cm3/scripts/examples/: make-compiler.cmd make-juno.cmd Log message: put cm3 in $PATH From jkrell at elego.de Mon Oct 26 15:54:53 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:54:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026145453.5C1DF2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:54:53 Modified files: cm3/m3-sys/cm3/src/: Main.m3 Log message: fix warning for unused import From jkrell at elego.de Mon Oct 26 15:58:37 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:58:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026145837.BB67D2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:58:37 Modified files: cm3/m3-ui/ui/src/winvbt/: WinContext.m3 Log message: fix newlines From rcoleburn at elego.de Fri Oct 30 03:46:36 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 3:46:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030024636.80621CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 03:46:36 Added files: cm3/scripts/doc/: Documentation_cm3CommandShell.pdf Documentation_cm3Proj.pdf Documentation_cm3StartIDE.pdf Removed files: cm3/scripts/doc/: CM3SetupCmdEnv.html cm3Proj.html startReactor.html Log message: remove obsolete docs; add new docs for forthcoming (shortly) scripts. --Randy Coleburn From rcoleburn at elego.de Fri Oct 30 04:13:34 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 4:13:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030031334.99A55CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 04:13:34 Added files: cm3/scripts/dev/windows/: RCC_upgradeCM3.cmd do-cm3.cmd cm3/scripts/install/windows/: cm3CommandShell.CMD cm3Proj.cmd cm3StartIDE.CMD cm3/scripts/obsolete/: ArcDir.CMD Documentation_CM3SetupCmdEnv.htm Documentation_CM3SetupCmdEnv.pdf Documentation_CM3StartIDE.htm Documentation_CM3StartIDE.pdf Documentation_cm3Proj.htm Documentation_cm3Proj.pdf UnArc.CMD cm3Proj_v114.cmd cm3SetupCmdEnv_v143.cmd cm3StartIDE_v201.CMD startReactor.cmd Removed files: cm3/scripts/: ArcDir.CMD Documentation_CM3SetupCmdEnv.htm Documentation_CM3SetupCmdEnv.pdf Documentation_CM3StartIDE.htm Documentation_CM3StartIDE.pdf Documentation_cm3Proj.htm Documentation_cm3Proj.pdf UnArc.CMD cm3Proj.cmd cm3SetupCmdEnv.cmd cm3StartIDE.CMD startReactor.cmd v526_all.CM3P cm3/scripts/win/: RCC_upgradeCM3.cmd do-cm3.cmd Log message: Based on prior m3devel message I sent out, make the first attempt toward improving structure of "scripts" folder. These changes only affect previous contributions I have made to this folder. That way, others can choose when/if to align their stuff with a new folder layout as time goes on. Since we are close to a release, we don't want to break anything right now. Create new folder "obsolete" and put all my old stuff in there. No one should use any of this stuff. But, just in case anyone is dependent on it currently, it is still avail via the "obsolete" folder. Create new "dev" folder tree with subfolders "windows", "posix", and "python". The later 2 folders are empty. In the "windows" folder, I've put scripts I use on Windows 2000/XP/Vista for "upgrading compiler" (RCC_upgradeCM3.cmd) and for "building packages based on definitions in PkgInfo.txt" (do-cm3.cmd). Create new "install" folder tree with subfolders "windows", "posix", and "python". The later 2 folders are empty. In the "windows" folder, I've put scripts I use on Windows 2000/XP/Vista for "opening up a cm3 command prompt window" (cm3CommandShell.cmd), "starting the IDE" (cm3StartIDE.cmd), and I've revamped my old "cm3Proj.cmd" to work with the new "cm3CommandShell.cmd". Documentation for these 3 scripts is now in the "doc" folder as PDF files. Intent for the "install\windows" folder is that its contents should be copied to the "cm3\bin" folder of the target installation on Windows platforms. Indeed, my "RCC_upgradeCM3.cmd" scripts does just that. --Randy Coleburn From rcoleburn at elego.de Fri Oct 30 04:30:44 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 4:30:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030033046.A9BEF2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 04:30:44 Added files: cm3/scripts/dev/: Read_Me.pdf Read_Me.txt cm3/scripts/dev/posix/: Read_Me.pdf Read_Me.txt cm3/scripts/dev/python/: Read_Me.pdf Read_Me.txt cm3/scripts/doc/: Read_Me.pdf Read_Me.txt cm3/scripts/install/: Read_Me.pdf Read_Me.txt cm3/scripts/install/posix/: Read_Me.pdf Read_Me.txt cm3/scripts/install/python/: Read_Me.pdf Read_Me.txt Log message: Seems I needed at least one file in the folder to get TortoiseCVS/CVSNT to create the folders, so put in a ReadMe file explaining the "proposed" folder layout. Note that this layout is only proposed; we can change it as needed going forward. --Randy Coleburn From jkrell at elego.de Sat Oct 31 14:33:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:33:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031133304.DCA88CC365@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:33:04 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: restore slightly more efficient unlock order to match release and Birrel paper (see revision 1.75 at Tue Sep 29 17:34:35 2009) From jkrell at elego.de Sat Oct 31 14:35:53 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:35:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031133553.B13642474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:35:53 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.m3 Log message: cosmetic changes to reduce diff to head -- removing parens on IF/THEN From jkrell at elego.de Sat Oct 31 14:41:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:41:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031134149.B8F412474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:41:49 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NT386.common Log message: invert delayload default for compat with older linkers From jkrell at elego.de Sat Oct 31 15:46:29 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:46:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144629.E6974CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:46:29 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: RTCollector.m3 From jkrell at elego.de Sat Oct 31 15:47:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:47:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144736.AD54DCC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:47:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: go back a version because messed up cvs command line such as to have no comment From jkrell at elego.de Sat Oct 31 15:48:41 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:48:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144841.4B7D5CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:48:41 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: print more information when an assertion is going to fail besides, factor two nearly identical functions (one just had one extra line vs. the other) From jkrell at elego.de Sat Oct 31 15:53:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:53:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031145336.CB57C2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:53:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: also print weak field From jkrell at elego.de Sat Oct 31 16:16:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 16:16:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031151604.5457A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 16:16:04 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTType.m3 RTTypeSRC.i3 Log message: print type names just not type codes this might violate RTTypeSRC's safety, in which case move it to RTTypeSRCUnsafe From jkrell at elego.de Sat Oct 31 16:16:40 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 16:16:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031151640.6B6612474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 16:16:40 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemory.i3 Log message: fix newlines From hosking at elego.de Sat Oct 31 19:38:38 2009 From: hosking at elego.de (Antony Hosking) Date: Sat, 31 Oct 2009 19:38:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031183838.70EBACC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/31 19:38:38 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: I may have broken old space write barriers... revert until can be reconsidered. From jkrell at elego.de Thu Oct 15 16:50:39 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 15 Oct 2009 16:50:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091015145039.A12ED2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/15 16:50:39 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: fix to compiler with recently reduced Usysdep.i3 From jkrell at elego.de Wed Oct 21 11:09:28 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:09:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021090928.50CA52474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:09:28 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 Log message: aggressive instrumentation, hasn't found the bug, disabled should get optimized away From jkrell at elego.de Wed Oct 21 11:12:56 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:12:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091256.4F0E0CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:12:56 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: more disabling From jkrell at elego.de Wed Oct 21 11:13:41 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:13:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091341.D93BD2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:13:41 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: comment only From jkrell at elego.de Wed Oct 21 11:14:53 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 11:14:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021091453.DAF0B2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 11:14:53 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: add static From jkrell at elego.de Wed Oct 21 12:25:33 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 21 Oct 2009 12:25:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091021102533.3D9302474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/21 12:25:33 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 ThreadWin32.m3 Log message: honor documented locking protocol for do_signal add a bit more instrumentation (disabled) From jkrell at elego.de Fri Oct 23 14:03:07 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:03:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023120307.7BE5A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:03:07 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: make it portable, so far to Cygwin, there's really nothing Win32-specific here From jkrell at elego.de Fri Oct 23 14:04:30 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:04:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023120430.3B9CA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:04:30 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c Log message: disable it From jkrell at elego.de Fri Oct 23 14:15:41 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 14:15:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023121541.573302474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 14:15:41 Modified files: cm3/m3-libs/m3core/src/thread/Common/: m3makefile cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/Common/: ThreadDebug.c ThreadDebug.i3 Removed files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadDebugWin32.c ThreadDebugWin32.i3 Log message: put portable code in common location, even if not enabled for all platforms, and without platform name in the identifiers From jkrell at elego.de Fri Oct 23 15:01:30 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 15:01:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023130131.9E6C72474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 15:01:30 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: fix newlines From jkrell at elego.de Fri Oct 23 15:05:31 2009 From: jkrell at elego.de (Jay Krell) Date: Fri, 23 Oct 2009 15:05:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091023130531.C8E832474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/23 15:05:31 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: start out inCritical and then go non-critical shortly into initialization; this way we avoid using condition before it is initialized when we have hacked the heap to start small and collect more often while hunting Juno bug, but it should most likely be this way anyway From jkrell at elego.de Sat Oct 24 16:32:28 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:32:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143228.B77152474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:32:28 Added files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemory.i3 RTUntracedMemoryC.c Log message: alternatives to malloc/calloc/free to be used to reduce and maybe eventually eliminate C runtime dependency on Windows From jkrell at elego.de Sat Oct 24 16:33:55 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:33:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143355.2BB2B2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:33:55 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: arithmetic overflow checking on Posix too, incase their calloc doesn't check From jkrell at elego.de Sat Oct 24 16:35:59 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 24 Oct 2009 16:35:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091024143559.B646D2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/24 16:35:59 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: fix warnings and make calling convention explicit From hosking at elego.de Sun Oct 25 05:06:36 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 5:06:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025040636.DDCF82474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 05:06:36 Modified files: cm3/m3-libs/m3core/src/thread/Common/: Thread.i3 Log message: Cosmetic change. From hosking at elego.de Sun Oct 25 05:41:56 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 5:41:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025044156.E51632474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 05:41:56 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c Log message: Type m3 properly. From hosking at elego.de Sun Oct 25 09:11:08 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 9:11:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025081108.18A97CC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 09:11:08 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 ThreadPosix.m3 ThreadPosixC.c cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c m3makefile Added files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.s Log message: Big refactoring of user-level POSIX and pthreads thread implementation. Strategy is to implement user-level threads using makecontext and friends. Push C-dependent pthreads code into a single ThreadPThreadC.c instead of throughout the target directories. Tested both user-level and pthreads threading on I386_DARWIN using p007 test. From hosking at elego.de Sun Oct 25 09:12:14 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 9:12:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025081214.238072474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 09:12:14 Modified files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTMachine.i3 RTMachineC.c m3makefile cm3/m3-libs/m3core/src/runtime/AP3000/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ARM/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/ARM_DARWIN/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/DS3100/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/HP300/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/HPPA/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachine.i3 RTMachineC.c m3makefile cm3/m3-libs/m3core/src/runtime/IBMR2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/IBMRT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/IRIX5/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/NEXT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NT386GNU/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/OKI/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/OS2/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SPARC64_SOLARIS/: RTMachine.i3 cm3/m3-libs/m3core/src/runtime/SUN3/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/SUN386/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/UMAX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/VAX/: RTMachine.i3 m3makefile cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTMachine.i3 RTUntracedMemory.i3 Removed files: cm3/m3-libs/m3core/src/runtime/AIX386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/ALPHA_OSF/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/AP3000/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/ARM/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/DS3100/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD3/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/HP300/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/HPPA/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMR2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IBMRT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/IRIX5/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXELF/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/NEXT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/OKI/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/OS2/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/POSIX/: RTThread.i3 RTThread.m3 cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SEQUENT/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SOLsun/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SPARC/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN3/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/SUN386/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/UMAX/: RTThread.m3 RTThreadC.c cm3/m3-libs/m3core/src/runtime/VAX/: RTThread.m3 RTThreadC.c Log message: With refactoring of threads support into the respective ThreadPThreadC.c and ThreadPosixC.c we no longer need it smeared through the target directories. From jkrell at elego.de Sun Oct 25 11:07:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:07:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025100736.84ECA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:07:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemoryC.c Log message: experiment with ANSI vs. K&R From jkrell at elego.de Sun Oct 25 11:29:31 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:29:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025102931.0B3C1CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:29:31 Removed files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/SOLsun/: RTSignal.m3 cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTSignal.m3 Log message: delete some unused files From jkrell at elego.de Sun Oct 25 11:33:37 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:33:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025103337.E9AA22474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:33:37 Modified files: cm3/m3-libs/m3core/src/runtime/NT386/: RTMachine.i3 Log message: remove unused import (though I did like it how it was with Word.LeftShift) From jkrell at elego.de Sun Oct 25 11:41:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:41:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025104133.22797CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:41:33 Removed files: cm3/m3-libs/m3core/src/runtime/AMD64_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/ARM_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTMachineC.c Log message: remove unused files (content now in ThreadPThreadC.c) From jkrell at elego.de Sun Oct 25 11:43:07 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:43:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025104307.DEA7ACC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:43:07 Removed files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachineASM.s cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachineASM.s Log message: remove unused files (content now in ThreadPThread.s) From jkrell at elego.de Sun Oct 25 11:58:42 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 11:58:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025105842.E6A5A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 11:58:42 Removed files: cm3/m3-libs/m3core/src/runtime/FreeBSD/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD2/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD3/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/FreeBSD4/: _fpsetjmp.s cm3/m3-libs/m3core/src/runtime/NetBSD2_i386/: _fpsetjmp.s Log message: remove unused files I found in implementing get/set/make/swapcontext on some platforms that it can be a useful strategy to get the compiler to save a bunch of state on the stack by calling a function with many parameters and/or use of floating point, and call setjmp from that function. (see m3core/src/unix/Common/context/setjmp/context.c how it avoids using register-based parameters) From jkrell at elego.de Sun Oct 25 13:01:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:01:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120114.451BA2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:01:14 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: fix it to compile (missing import) From jkrell at elego.de Sun Oct 25 13:04:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:04:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120449.3F82F2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:04:49 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: m3_pthread to m3_pthread_t, should fix compilation From jkrell at elego.de Sun Oct 25 13:08:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:08:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025120814.6B6092474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:08:14 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: address this: ../src/thread/PTHREAD/ThreadPThreadC.c: In function `ThreadPThread__ProcessRegis ters': ../src/thread/PTHREAD/ThreadPThreadC.c:235: warning: return makes pointer from i nteger without a cast -> archiving libm3core.a Undefined first referenced From jkrell at elego.de Sun Oct 25 13:16:01 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 25 Oct 2009 13:16:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025121601.5D79BCC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/25 13:16:01 Modified files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: m3makefile cm3/m3-libs/m3core/src/runtime/SOLsun/: m3makefile Added files: cm3/m3-libs/m3core/src/runtime/SOLgnu/: RTMachineASM.s cm3/m3-libs/m3core/src/runtime/SOLsun/: RTMachineASM.s Log message: bring back RTMachine__SaveRegsInStack for use by RTStackC.c This is highly non-ideal. Tony had done a good thing in reducing two copies to one, and now I've put them back so we have three. However if Solaris is to have user threads, then Tony's copy might not be there. Perhaps we can put it in runtime/common or runtime/posix instead? From hosking at elego.de Sun Oct 25 14:39:15 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:39:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025133915.871FB2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:39:15 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: Why import when MUTEX is predeclared. From hosking at elego.de Sun Oct 25 14:39:44 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:39:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025133944.3E0542474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:39:44 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DateBsd.m3 Log message: Why import when MUTEX is predeclared. From hosking at elego.de Sun Oct 25 14:43:53 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:43:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025134353.A461E2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:43:53 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: Revert to using RTMachine__SaveRegsInStack. From hosking at elego.de Sun Oct 25 14:45:26 2009 From: hosking at elego.de (Antony Hosking) Date: Sun, 25 Oct 2009 14:45:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091025134526.36CB12474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/25 14:45:26 Removed files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.s Log message: Revert to using RTMachine__SaveRegsInStack. From jkrell at elego.de Mon Oct 26 04:02:49 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:02:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030249.54BE72474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:02:49 Modified files: cm3/m3-ui/ui/src/trestle/: Trestle.m3 Log message: add @M3no-trestle-await-delete, very useful for running gui apps in a loop for debugging From jkrell at elego.de Mon Oct 26 04:03:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:03:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030331.BF317CC10F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:03:31 Modified files: cm3/m3-ui/ui/src/trestle/: Trestle.m3 Log message: remove accidental FATAL from previous From jkrell at elego.de Mon Oct 26 04:05:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 4:05:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026030555.C9C5ACC322@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 04:05:54 Modified files: cm3/m3-ui/juno-2/juno-app/src/: Juno.m3 Log message: remove @M3no-trestle-await-delete support from here From rcoleburn at elego.de Mon Oct 26 07:51:44 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Mon, 26 Oct 2009 7:51:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026065145.2C19C2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/26 07:51:44 cm3 Update of /usr/cvs/cm3 In directory birch:/tmp/cvs-serv14526 Log Message: Status: Vendor Tag: tcvs-vendor Release Tags: tcvs-release No conflicts created by this import From jkrell at elego.de Mon Oct 26 10:29:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 10:29:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026092923.CF1292474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 10:29:23 Modified files: cm3/m3-ui/vbtkit/src/lego/WIN32/: ScrollerVBTClass.m3 Log message: add lock in Rescreen to match X Windows version From jkrell at elego.de Mon Oct 26 10:55:28 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 10:55:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026095528.5D80BCC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 10:55:28 Modified files: cm3/m3-ui/vbtkit/src/lego/WIN32/: Tag: release_branch_cm3_5_8 ScrollerVBTClass.m3 Log message: match X Windows lock use in Rescreen From jkrell at elego.de Mon Oct 26 11:19:48 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 11:19:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026101948.2C299CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 11:19:48 Modified files: cm3/m3-sys/cm3/src/: m3makefile Log message: small amount of compat with 5.2.6 / to SL From jkrell at elego.de Mon Oct 26 11:23:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 11:23:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026102320.8E173CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 11:23:20 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NT386.common Log message: small amount of compat with 5.2.6 don't use pos if it isn't defined, just hardcode to _m3.lst From jkrell at elego.de Mon Oct 26 14:37:07 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:37:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026133707.967E4CC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:37:07 Modified files: cm3/m3-ui/ui/src/winvbt/: WinTrestle.m3 Log message: Fix a few incorrect assertions. Most of these functions are documented as returning 0 for failure and non-zero for success. The distinguished value 1 for success is not called out. There are two exceptions. DeleteDC does return 1 for success. GetMessage is trivalue: 0, -1, 1. From jkrell at elego.de Mon Oct 26 14:38:12 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:38:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026133812.6C1452474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:38:12 Modified files: cm3/m3-ui/ui/src/winvbt/: WinTrestle.m3 Log message: better check for GetMessage return value (but we should raise an exception for -1?) From jkrell at elego.de Mon Oct 26 14:42:57 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 14:42:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026134257.35841CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 14:42:57 Modified files: cm3/m3-ui/anim3D/src/win-opengl/: Win_OpenGL_Base.m3 Log message: fix assertions SetWindowText, UpdateWindow, DestroyWindow are not documented as returning distinguished TRUE for success, merely non-zero From jkrell at elego.de Mon Oct 26 15:05:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:05:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026140521.799F42474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:05:20 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.i3 ThreadWin32.m3 ThreadWin32C.c Log message: rename "cm" lock to "giant" for readability to and to match head From jkrell at elego.de Mon Oct 26 15:08:01 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:08:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026140801.C443CCC308@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:08:01 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.i3 ThreadWin32.m3 ThreadWin32C.c Log message: rename lock "cs" to "heap" which is more understandable and matches head From jkrell at elego.de Mon Oct 26 15:20:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:20:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026142059.DAEFC2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:20:59 Modified files: cm3/m3-ui/ui/src/winvbt/: WinScrnCursor.m3 WinScrnFont.m3 WinScrnPixmap.m3 Log message: fix more zero vs. non-zero vs. 1 confusion From jkrell at elego.de Mon Oct 26 15:29:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:29:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026142915.89BB62474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:29:15 Modified files: cm3/scripts/examples/: make-compiler.cmd make-juno.cmd Log message: put cm3 in $PATH From jkrell at elego.de Mon Oct 26 15:54:53 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:54:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026145453.5C1DF2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:54:53 Modified files: cm3/m3-sys/cm3/src/: Main.m3 Log message: fix warning for unused import From jkrell at elego.de Mon Oct 26 15:58:37 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 26 Oct 2009 15:58:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091026145837.BB67D2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/26 15:58:37 Modified files: cm3/m3-ui/ui/src/winvbt/: WinContext.m3 Log message: fix newlines From rcoleburn at elego.de Fri Oct 30 03:46:36 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 3:46:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030024636.80621CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 03:46:36 Added files: cm3/scripts/doc/: Documentation_cm3CommandShell.pdf Documentation_cm3Proj.pdf Documentation_cm3StartIDE.pdf Removed files: cm3/scripts/doc/: CM3SetupCmdEnv.html cm3Proj.html startReactor.html Log message: remove obsolete docs; add new docs for forthcoming (shortly) scripts. --Randy Coleburn From rcoleburn at elego.de Fri Oct 30 04:13:34 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 4:13:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030031334.99A55CC362@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 04:13:34 Added files: cm3/scripts/dev/windows/: RCC_upgradeCM3.cmd do-cm3.cmd cm3/scripts/install/windows/: cm3CommandShell.CMD cm3Proj.cmd cm3StartIDE.CMD cm3/scripts/obsolete/: ArcDir.CMD Documentation_CM3SetupCmdEnv.htm Documentation_CM3SetupCmdEnv.pdf Documentation_CM3StartIDE.htm Documentation_CM3StartIDE.pdf Documentation_cm3Proj.htm Documentation_cm3Proj.pdf UnArc.CMD cm3Proj_v114.cmd cm3SetupCmdEnv_v143.cmd cm3StartIDE_v201.CMD startReactor.cmd Removed files: cm3/scripts/: ArcDir.CMD Documentation_CM3SetupCmdEnv.htm Documentation_CM3SetupCmdEnv.pdf Documentation_CM3StartIDE.htm Documentation_CM3StartIDE.pdf Documentation_cm3Proj.htm Documentation_cm3Proj.pdf UnArc.CMD cm3Proj.cmd cm3SetupCmdEnv.cmd cm3StartIDE.CMD startReactor.cmd v526_all.CM3P cm3/scripts/win/: RCC_upgradeCM3.cmd do-cm3.cmd Log message: Based on prior m3devel message I sent out, make the first attempt toward improving structure of "scripts" folder. These changes only affect previous contributions I have made to this folder. That way, others can choose when/if to align their stuff with a new folder layout as time goes on. Since we are close to a release, we don't want to break anything right now. Create new folder "obsolete" and put all my old stuff in there. No one should use any of this stuff. But, just in case anyone is dependent on it currently, it is still avail via the "obsolete" folder. Create new "dev" folder tree with subfolders "windows", "posix", and "python". The later 2 folders are empty. In the "windows" folder, I've put scripts I use on Windows 2000/XP/Vista for "upgrading compiler" (RCC_upgradeCM3.cmd) and for "building packages based on definitions in PkgInfo.txt" (do-cm3.cmd). Create new "install" folder tree with subfolders "windows", "posix", and "python". The later 2 folders are empty. In the "windows" folder, I've put scripts I use on Windows 2000/XP/Vista for "opening up a cm3 command prompt window" (cm3CommandShell.cmd), "starting the IDE" (cm3StartIDE.cmd), and I've revamped my old "cm3Proj.cmd" to work with the new "cm3CommandShell.cmd". Documentation for these 3 scripts is now in the "doc" folder as PDF files. Intent for the "install\windows" folder is that its contents should be copied to the "cm3\bin" folder of the target installation on Windows platforms. Indeed, my "RCC_upgradeCM3.cmd" scripts does just that. --Randy Coleburn From rcoleburn at elego.de Fri Oct 30 04:30:44 2009 From: rcoleburn at elego.de (Randy Coleburn) Date: Fri, 30 Oct 2009 4:30:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091030033046.A9BEF2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rcoleburn at birch. 09/10/30 04:30:44 Added files: cm3/scripts/dev/: Read_Me.pdf Read_Me.txt cm3/scripts/dev/posix/: Read_Me.pdf Read_Me.txt cm3/scripts/dev/python/: Read_Me.pdf Read_Me.txt cm3/scripts/doc/: Read_Me.pdf Read_Me.txt cm3/scripts/install/: Read_Me.pdf Read_Me.txt cm3/scripts/install/posix/: Read_Me.pdf Read_Me.txt cm3/scripts/install/python/: Read_Me.pdf Read_Me.txt Log message: Seems I needed at least one file in the folder to get TortoiseCVS/CVSNT to create the folders, so put in a ReadMe file explaining the "proposed" folder layout. Note that this layout is only proposed; we can change it as needed going forward. --Randy Coleburn From jkrell at elego.de Sat Oct 31 14:33:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:33:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031133304.DCA88CC365@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:33:04 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: restore slightly more efficient unlock order to match release and Birrel paper (see revision 1.75 at Tue Sep 29 17:34:35 2009) From jkrell at elego.de Sat Oct 31 14:35:53 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:35:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031133553.B13642474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:35:53 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: Tag: release_branch_cm3_5_8 ThreadWin32.m3 Log message: cosmetic changes to reduce diff to head -- removing parens on IF/THEN From jkrell at elego.de Sat Oct 31 14:41:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 14:41:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031134149.B8F412474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 14:41:49 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NT386.common Log message: invert delayload default for compat with older linkers From jkrell at elego.de Sat Oct 31 15:46:29 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:46:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144629.E6974CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:46:29 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: RTCollector.m3 From jkrell at elego.de Sat Oct 31 15:47:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:47:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144736.AD54DCC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:47:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: go back a version because messed up cvs command line such as to have no comment From jkrell at elego.de Sat Oct 31 15:48:41 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:48:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031144841.4B7D5CC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:48:41 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: print more information when an assertion is going to fail besides, factor two nearly identical functions (one just had one extra line vs. the other) From jkrell at elego.de Sat Oct 31 15:53:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 15:53:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031145336.CB57C2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 15:53:36 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: also print weak field From jkrell at elego.de Sat Oct 31 16:16:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 16:16:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031151604.5457A2474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 16:16:04 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 RTType.m3 RTTypeSRC.i3 Log message: print type names just not type codes this might violate RTTypeSRC's safety, in which case move it to RTTypeSRCUnsafe From jkrell at elego.de Sat Oct 31 16:16:40 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 31 Oct 2009 16:16:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031151640.6B6612474001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/10/31 16:16:40 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTUntracedMemory.i3 Log message: fix newlines From hosking at elego.de Sat Oct 31 19:38:38 2009 From: hosking at elego.de (Antony Hosking) Date: Sat, 31 Oct 2009 19:38:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20091031183838.70EBACC109@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/10/31 19:38:38 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: I may have broken old space write barriers... revert until can be reconsidered.