From rodney at elego.de Sun Mar 1 18:19:32 2009 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 1 Mar 2009 18:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090301171932.CA77B72575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 09/03/01 18:19:32 Modified files: cm3/m3-sys/m3cc/gcc/gcc/: tree-nested.c Log message: Some partial fixes to tree-nested.c, toward fixing the broken debugger support of static links. Mostly just better comments and consistification of use of terminology that was already defined. From jkrell at elego.de Sun Mar 1 23:59:06 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 1 Mar 2009 23:59:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090301225906.A4FD272575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/01 23:59:06 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: friendly message on HP-UX when forgot to build with -pthread or -pthread From rodney at elego.de Mon Mar 2 03:48:55 2009 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 2 Mar 2009 3:48:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302024855.A681E10D5F73@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 09/03/02 03:48:55 Modified files: cm3/scripts/: sysinfo.sh Log message: Add target AMD64_LINUX (when uname -n returns "x86_64"). Most package actions, e.g., "build" are done by cm3, which is getting its target another way, but "realclean" uses the TARGET variable set here, and was cleaning the wrong derived directory in this case. From jkrell at elego.de Mon Mar 2 09:28:45 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 9:28:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302082846.37B64784001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 09:28:45 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common Log message: HP-UX has variants of pthreads functions that just return ENOSYS -- do link to -lpthread, don't explicitly link to -lc, that gets us working functions; I don't have libXaw or libXmu but am able to build X stuff without them, so remove them. From jkrell at elego.de Mon Mar 2 09:31:58 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 9:31:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302083158.E002910D5F78@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 09:31:58 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: long error message on HP-UX before the assertion failure From jkrell at elego.de Mon Mar 2 15:54:04 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 15:54:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302145404.EDE1A10D5FBF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 15:54:04 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: let gcc optimize itself From jkrell at elego.de Mon Mar 2 15:56:19 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 15:56:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302145619.0909710D5FBF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 15:56:19 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common PA32_HPUX Unix.common Log message: enable shared libraries on HP-UX, fix X/Windows and OpenGL From jkrell at elego.de Mon Mar 2 16:33:53 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 16:33:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302153353.7DA1B10D5FA3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 16:33:53 Modified files: cm3/www/uploaded-archives/: targets.txt Log message: add PA32_HPUX From jkrell at elego.de Mon Mar 2 21:18:07 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 21:18:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302201807.71F6C10D5FA9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 21:18:07 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common PA64_HPUX Unix.common Log message: Fix typo that breaks "many" platforms. Small HP-UX tweaks -- comment about -lc, shorten hppa64-hpux name. From hosking at elego.de Tue Mar 3 04:24:36 2009 From: hosking at elego.de (Antony Hosking) Date: Tue, 3 Mar 2009 4:24:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303032436.43B5C9040AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/03/03 04:24:36 Modified files: cm3/m3-sys/m3front/src/builtinOps/: Adr.m3 Cas.m3 CasP.m3 Dec.m3 Dispose.m3 Inc.m3 Loophole.m3 Subarray.m3 cm3/m3-sys/m3front/src/exprs/: CallExpr.i3 CastExpr.m3 DerefExpr.m3 Expr.i3 Expr.m3 ExprRep.i3 KeywordExpr.m3 QualifyExpr.m3 SubscriptExpr.m3 cm3/m3-sys/m3front/src/misc/: RunTyme.m3 cm3/m3-sys/m3front/src/stmts/: AssignStmt.m3 WithStmt.m3 cm3/m3-sys/m3front/src/values/: Formal.m3 Log message: Fix generation of write barrier for generational GC. Previously, we were generating unnecessary barriers for stores to untraced heap cells. Since these cannot contain traced references stores to them need not be tracked. Rationalize passing of lhs parameter to PrepLV and CompileLV methods and procedures. This permits us to assert consistent invocation of both PrepLV and CompileLV. From jkrell at elego.de Tue Mar 3 15:54:23 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 15:54:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303145423.C3DEE9041A7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 15:54:23 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: fix SOLgnu and presumably SOLsun From jkrell at elego.de Tue Mar 3 16:03:32 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 16:03:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303150333.EC9B79041A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 16:03:32 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: adapt for SOLsun/SOLgnu -- Modula-3's jumpbuf is larger than needed, ok (but investigate and consider fixing) From jkrell at elego.de Tue Mar 3 16:09:53 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 16:09:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303150956.48D969041B8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 16:09:53 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: clarify that the Modula-3 jmpbuf actually matches sigjmp_buf, not sure that is right but that is what it is From jkrell at elego.de Tue Mar 3 21:37:00 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 21:37:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303203702.1A5FA10D5E5B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 21:37:00 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: compile Usysdep for LINUXLIBC6 to fix tests; adapt test for LINUXLIBC6 (and very possibly others) by removing struct tm From jkrell at elego.de Tue Mar 3 21:40:37 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 21:40:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303204037.8651410D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 21:40:37 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: remove entire tail, I don't think it adds any value From jkrell at elego.de Tue Mar 3 22:01:45 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:01:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303210145.7D34E10D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:01:45 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: remove carriage return From jkrell at elego.de Tue Mar 3 22:08:50 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:08:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303210850.DB59310D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:08:50 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c Log message: adapt for MacOSX 10.4 simply by putting static on a variable otherwise: --- building in PPC_DARWIN --- -> archiving libm3core.a ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers (size 84) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed make_lib => 256 From jkrell at elego.de Tue Mar 3 22:16:15 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:16:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303211615.AF57510D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:16:15 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3tests/src/: TestC.c Log message: enable on PPC_DARWIN to fix tests; adapt to PPC_DARWIN (10.4) by adding some #includes, and move one include so it looks like there is a system to the ordering From jkrell at elego.de Tue Mar 3 22:23:57 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:23:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303212357.B044410D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:23:57 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: enable for platforms I don't have ready access too or that aren't used much (ie: not tested) FreeBSD (can watch Tinderbox and maybe set it up later) x86/AMD64 Darwin (hopefully ppc DARWIN is reasonable facsimile) NetBSD (not used much; can bring back up and test later) 64bit Solaris (not used much; can test at least SPARC64 later) left disabled for bunch of dormant platforms From hosking at cs.purdue.edu Tue Mar 3 23:51:47 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 4 Mar 2009 09:51:47 +1100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20090303210850.DB59310D5DD8@birch.elegosoft.com> References: <20090303210850.DB59310D5DD8@birch.elegosoft.com> Message-ID: You should use static for all non-externals (private) symbols to avoid pollution of the global namespace. On 3 Mar 2009, at 22:08, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/03 22:08:50 > > Modified files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c > > Log message: > adapt for MacOSX 10.4 simply by putting static on a variable > otherwise: > --- building in PPC_DARWIN --- > -> archiving libm3core.a > ld: common symbols not allowed with MH_DYLIB output format with the > -multi_module option > RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers > (size 84) > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link > edit command failed > make_lib => 256 From hosking at cs.purdue.edu Tue Mar 3 23:54:00 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 4 Mar 2009 09:54:00 +1100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20090303210850.DB59310D5DD8@birch.elegosoft.com> References: <20090303210850.DB59310D5DD8@birch.elegosoft.com> Message-ID: You should use static for all non-externals (private) symbols to avoid pollution of the global namespace. On 3 Mar 2009, at 22:08, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/03 22:08:50 > > Modified files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c > > Log message: > adapt for MacOSX 10.4 simply by putting static on a variable > otherwise: > --- building in PPC_DARWIN --- > -> archiving libm3core.a > ld: common symbols not allowed with MH_DYLIB output format with the > -multi_module option > RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers > (size 84) > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link > edit command failed > make_lib => 256 From jkrell at elego.de Wed Mar 4 12:00:05 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 12:00:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304110005.D4B1110D5EDF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 12:00:05 Modified files: cm3/m3-sys/m3tests/src/r0/r004/: stderr.pgm Log message: adjust overly picky test case From jkrell at elego.de Wed Mar 4 20:18:48 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:18:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304191848.D0EC410D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:18:48 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: put doubles first to try to account for possible alignment problems, though it works for me on birch, fix some warnings, bottleneck casts in a macro, print more info in the error path From jkrell at elego.de Wed Mar 4 20:22:31 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:22:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304192232.034FA72575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:22:31 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 Log message: (checkin the other file oops) put doubles first to try to account for possible alignment problems, though it works for me on birch, fix some warnings, bottleneck casts in a macro, print more info in the error path From jkrell at elego.de Wed Mar 4 20:29:00 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:29:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304192900.2C52010D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:29:00 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: print the bytes..I see it now.. From jkrell at elego.de Wed Mar 4 20:50:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:50:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304195036.1FEF872575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:50:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: pass doubles through unchanged, needs further investigation From jkrell at elego.de Wed Mar 4 20:56:37 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:56:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304195637.5E8AA10D4666@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:56:37 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: it was supposed to be #if not #ifdef oops; still needs more investigation but should be ok again for native builds, big endian or little From jkrell at elego.de Wed Mar 4 22:07:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:07:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304210735.2BDA910D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:07:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: a little shorter From jkrell at elego.de Wed Mar 4 22:08:59 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:08:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304210859.AF15D10D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:08:59 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: a little shorter From jkrell at elego.de Wed Mar 4 22:11:00 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:11:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304211100.E418210D5F08@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:11:00 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: fix From jkrell at elego.de Wed Mar 4 22:13:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:13:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304211335.ABC2410D5F08@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:13:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: put it in a form that gcc is able to optimize From hosking at elego.de Thu Mar 5 03:59:50 2009 From: hosking at elego.de (Antony Hosking) Date: Thu, 5 Mar 2009 3:59:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090305025950.D3EC110D5F02@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/03/05 03:59:50 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTType.m3 Log message: Let's use calloc instead of malloc + Zero. From jkrell at elego.de Sat Mar 7 06:24:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:24:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307052401.19B58904050@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:24:00 Modified files: cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 Log message: fix mode_t From jkrell at elego.de Sat Mar 7 06:41:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:41:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307054101.2770310D5EE4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:41:00 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Test.i3 Log message: mode_t really isn't interesting, stop testing it, it is only used in three parameter lists, one of which isn't used, and no structs, we can change the parameters to int, and cast in the C wrappers if it really matters From jkrell at elego.de Sat Mar 7 06:53:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:53:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307055336.91C2990404F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:53:36 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: mode_t really isn't interesting, stop testing it, it is only used in three parameter lists, one of which isn't used, and no structs, we can change the parameters to int, and cast in the C wrappers if it really matters From jkrell at elego.de Sat Mar 7 19:31:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:31:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307183100.7EE9F10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:31:00 Modified files: cm3/scripts/: lzma.sh Log message: the lzma man page says it does a little better wiht regular files instead of streams; it seems to me it could go back and fixup the streamed files but oh well From jkrell at elego.de Sat Mar 7 19:44:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:44:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307184433.928F510D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:44:33 Modified files: cm3/scripts/: find-packages.sh Log message: examples/web clashes with m3-www/web, exclude examples from std packages; examples/web also fails to build, fix that another time From jkrell at elego.de Sat Mar 7 19:56:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:56:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307185633.25A4E10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:56:33 Modified files: cm3/scripts/python/: pylib.py Log message: copy all config *.common files -- i.e. was missing Solaris.common and HPUX.common From jkrell at elego.de Sat Mar 7 20:15:43 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:15:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307191544.0169010D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:15:43 Modified files: cm3/scripts/python/: pylib.py Log message: try this again: copy all config *.common files -- i.e. was missing Solaris.common and HPUX.common From jkrell at elego.de Sat Mar 7 20:35:03 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193503.9893510D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:03 Modified files: cm3/m3-sys/m3tests/src/p0/p001/: Main.m3 Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193513.ADF3910D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:13 Added files: cm3/m3-sys/m3tests/src/p2/p212/: m3makefile Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:20 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193520.DCCBC10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:20 Added files: cm3/m3-sys/m3tests/src/p2/p212/: Main.m3 Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:28 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193528.E0BA710D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:28 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:43:02 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:43:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194302.D71BF10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:43:02 Added files: cm3/m3-sys/m3tests/src/p2/p212/: stderr.build stderr.pgm stdout.build stdout.pgm Log message: missing files not interpreted as empty so add them From jkrell at elego.de Sat Mar 7 20:44:08 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:44:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194408.A96CD10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:44:08 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Test.i3 Log message: again Cygwin is failing if the arrays contain an even number of elements so make them even From jkrell at elego.de Sat Mar 7 20:46:05 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:46:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194605.BF16610D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:46:05 Modified files: cm3/m3-sys/m3tests/src/p2/p211/: stdout.pgm Added files: cm3/m3-sys/m3tests/src/p2/p211/: stderr.build stdout.build Log message: add missing empty output files here too From jkrell at elego.de Sat Mar 7 20:47:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:47:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194713.F136B10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:47:13 Modified files: cm3/m3-sys/m3tests/src/p2/p211/: stdout.pgm Log message: restore non empty output From jkrell at elego.de Sat Mar 7 21:58:24 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 21:58:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307205824.A1B3972575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 21:58:24 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: use a consistent ordering (sort) From jkrell at elego.de Sat Mar 7 22:19:18 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:19:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307211918.B1AAC10D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:19:18 Added files: cm3/scripts/: fix-lzma-timestamps.sh Log message: apply .tar.gz timestamps to .tar.lzma files From jkrell at elego.de Sat Mar 7 22:21:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:21:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307212100.6E45110D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:21:00 Removed files: cm3/scripts/: fix-lzma-timestamps.sh Log message: delete and try to make it executable From jkrell at elego.de Sat Mar 7 22:21:37 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:21:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307212137.5987710D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:21:37 Added files: cm3/scripts/: fix-lzma-timestamps.sh Log message: re-add, executable this time From jkrell at elego.de Sat Mar 7 23:05:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 23:05:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307220525.125EC10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 23:05:25 Modified files: cm3/scripts/python/: pylib.py Log message: when switching config file to 'development mode' that uses the source tree, be sure to delete all the 'distribution config files' so they don't get found by the probing; also print a bit more From jkrell at elego.de Sun Mar 8 13:22:29 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 13:22:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308122229.D50A310D5EE8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 13:22:29 Modified files: cm3/m3-libs/m3core/src/time/Common/: FmtTime.m3 Log message: grow time buuffer to accomodate the unusual long time zone on my machine: "Local time zone must be set--see zic manual page" One might expect to put 50 here, but the other numbers are all wierd so I arrived at at 48 as sufficient experimentally. From jkrell at elego.de Sun Mar 8 21:15:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 21:15:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308201549.9554E90402D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 21:15:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Utypes.i3 m3makefile cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Added files: cm3/m3-libs/m3core/src/unix/Common/: Unix.m3 Log message: eliminate mode_t and Unix.creat replace mode_t with just int, and assert that it fits it was a variety of platform-specific signed/unsigned 16 and 32 bit integer it used to occur in struct stat so its size mattered wrap mkdir on the off chance that passing int vs. mode_t is different Unix.creat was never used (presumably open is a superset and suffices) built "std" on LINUXLIBC6 From jkrell at elego.de Sun Mar 8 21:21:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 21:21:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308202104.2285F90402D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 21:21:04 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: cleanup: no quotes needed, move access flags next to it, remove obsolete or incorrect comment (the wrappers no longer exist, maybe they were never used), shorten comment, comment grammar From jkrell at elego.de Sun Mar 8 22:04:35 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 22:04:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308210435.83E6D10D5F61@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 22:04:35 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.c Uucontext.i3 cm3/m3-libs/m3core/src/unix/Common/context/setjmp/: context.c context.h m3makefile Log message: Wrap up the context functions in functions prefixed with Uucontext__ in particular so that systems that have the functions in some versions but not others do not have a name clash when we provide them. In particular, Darwin got the functions in 10.5. Wrapping a vararg function for which there is no version that takes a va_list (counterexample: sprintf/vsprintf) is problematic and we have a hardcoded limit (makecontext). And of course rename our implementations for systems without (Darwin <10.5, OpenBSD). From jkrell at elego.de Mon Mar 9 02:57:13 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 2:57:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309015713.E978C10D443E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 02:57:13 Added files: cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c Log message: Potential replacement for TimePosix.m3. - sort of more portable (but we traffic in timeval_t in public interface) - greatly mitigates the issue in computation of Grain by computing it a few times and only accepting a value that is the same a few times in a row. On HP-UX I have seen 0.0002 and 0.0003, which really suggests the right answer is 0.0001? (not the actual number of zeros). Bigger problem is hang on PA64_HPUX, still being investigated, but the C code doesn't hang, and the double constants look ok. From jkrell at elego.de Mon Mar 9 03:01:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 3:01:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309020131.D9AC210D5D25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 03:01:31 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c Log message: remove unused #define From jkrell at elego.de Mon Mar 9 09:20:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:20:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309082023.AC2E410D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:20:23 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: make a guess about FreeBSD jmpbuf size, can do better if this fails -- either disable it or install FreeBSD/x86 locally From jkrell at elego.de Mon Mar 9 09:21:05 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:21:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309082105.D735A10D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:21:05 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: adjust printout From jkrell at elego.de Mon Mar 9 09:31:47 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:31:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309083147.75D7D10D5EEA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:31:46 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: more convincing fix for FreeBSD/x86 -- it looks like jmpbuf is padded out so that it can be used with sigsetjmp, but presumably we if track down the code, the last integer is not used if you match things up correctly and we are ok to optimize it away From jkrell at elego.de Mon Mar 9 17:55:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 17:55:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309165554.A48F410D5D10@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 17:55:54 Modified files: cm3/m3-comm/tcp/src/POSIX/: IP.m3 cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 m3makefile cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile cm3/m3-libs/m3core/src/unix/linux/: m3makefile cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/os2/: m3makefile cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile cm3/m3-sys/m3tests/src/: Test.i3 TestC.c cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 Added files: cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c Log message: ---------------------------------------------------------------------- eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t via a small copying C wrapper and using int for them always They varied among int32_t, int, int16_t -- Cygwin being the outlier the only int16_t. Switch all platforms to this portable Unetdb.i3 out of near necessity. Enable Uconstants.c for all platforms. From jay.krell at cornell.edu Mon Mar 9 17:59:22 2009 From: jay.krell at cornell.edu (Jay) Date: Mon, 9 Mar 2009 16:59:22 +0000 Subject: [M3commit] Unetdb In-Reply-To: <20090309165554.A48F410D5D10@birch.elegosoft.com> References: <20090309165554.A48F410D5D10@birch.elegosoft.com> Message-ID: diff attached (I wish CVS could show that in one fell swoop, after commit, graphically as well..) All the Unetdb.i3/Unetdb.m3 files can be deleted now, except common/Unetdb.i3. - Jay > Date: Mon, 9 Mar 2009 17:55:54 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/09 17:55:54 > > Modified files: > cm3/m3-comm/tcp/src/POSIX/: IP.m3 > cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 > cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 > m3makefile > cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile > cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile > cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile > cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile > cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile > cm3/m3-libs/m3core/src/unix/linux/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile > cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/os2/: m3makefile > cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile > cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile > cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile > cm3/m3-sys/m3tests/src/: Test.i3 TestC.c > cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 > Added files: > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c > > Log message: > ---------------------------------------------------------------------- > eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t > via a small copying C wrapper and using int for them always > They varied among int32_t, int, int16_t -- Cygwin being the > outlier the only int16_t. > Switch all platforms to this portable Unetdb.i3 out of near necessity. > Enable Uconstants.c for all platforms. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 1.txt URL: From jkrell at elego.de Mon Mar 9 21:35:13 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 21:35:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309203513.3991F10D5FDD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 21:35:13 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UstatC.c Unetdb.c Log message: fix warning on Cygwin; rename stat fields to omit prefix to avoid the problem the wrapper functions were avoiding and comment this in stat and netdb From jkrell at elego.de Mon Mar 9 21:42:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 21:42:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309204254.1669E10D5FDD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 21:42:54 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: add #include sys/stat.h to get prototype of mkdir, at least on MacOSX 10.4, to quiet warning; add extern C wrapping From jay.krell at cornell.edu Mon Mar 9 21:49:22 2009 From: jay.krell at cornell.edu (Jay) Date: Mon, 9 Mar 2009 20:49:22 +0000 Subject: [M3commit] Unetdb In-Reply-To: <20090309165554.A48F410D5D10@birch.elegosoft.com> References: <20090309165554.A48F410D5D10@birch.elegosoft.com> Message-ID: Cool, the Tinderbox pages can show this, e.g.: http://tinderbox.elegosoft.com/tinderbox/cm3/status.html select one of the items on the left and then click "show me all the diffs". - Jay From: jay.krell at cornell.edu To: jkrell at elego.de; m3commit at elegosoft.com Subject: RE: [M3commit] Unetdb Date: Mon, 9 Mar 2009 16:59:22 +0000 diff attached (I wish CVS could show that in one fell swoop, after commit, graphically as well..) All the Unetdb.i3/Unetdb.m3 files can be deleted now, except common/Unetdb.i3. - Jay > Date: Mon, 9 Mar 2009 17:55:54 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/09 17:55:54 > > Modified files: > cm3/m3-comm/tcp/src/POSIX/: IP.m3 > cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 > cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 > m3makefile > cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile > cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile > cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile > cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile > cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile > cm3/m3-libs/m3core/src/unix/linux/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile > cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/os2/: m3makefile > cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile > cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile > cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile > cm3/m3-sys/m3tests/src/: Test.i3 TestC.c > cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 > Added files: > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c > > Log message: > ---------------------------------------------------------------------- > eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t > via a small copying C wrapper and using int for them always > They varied among int32_t, int, int16_t -- Cygwin being the > outlier the only int16_t. > Switch all platforms to this portable Unetdb.i3 out of near necessity. > Enable Uconstants.c for all platforms. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Mar 9 22:11:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 22:11:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309211154.AF16D10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 22:11:54 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.h Log message: one should almost never #include other files inside extern C (unless specifically because they lack it and need it) From jkrell at elego.de Mon Mar 9 22:13:16 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 22:13:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309211316.517EA10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 22:13:16 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.c Log message: make it legal C++ -- don't use the identifier 'new' From jkrell at elego.de Sat Mar 14 10:34:12 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 14 Mar 2009 10:34:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090314093412.2BECE10D60E7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/14 10:34:11 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 Uconstants.c cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c ThreadPThread.m3 ThreadPThread.i3 Log message: As part of (really, only part) of eliminating the platform specific Upthread.pthread_mutex_t, Upthread.pthread_cond_t, and possibly pthread_t and pthread_key_t, move the statically allocated mutexes and condition variable to C. Each variable is provided with wrapper functions, such as pthread_mutex_lock_foo() pthread_mutex_unlock_foo() to lock/unlock the mutex named "foo" (or fooMu). This is not sufficient to remove the types. From jay.krell at cornell.edu Sat Mar 14 11:31:15 2009 From: jay.krell at cornell.edu (Jay) Date: Sat, 14 Mar 2009 10:31:15 +0000 Subject: [M3commit] test.. Message-ID: test.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Sun Mar 15 09:25:09 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:25:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315082509.8165F904040@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:25:09 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: Remove platform-specificity of dynamically allocated pthread_mutex_t and pthread_cond_t. Replace them with UNTRACED REF ARRAY OF CHAR where size comes from a constant variable "implemented" in C. They were already UNTRACED REFs. This does not add any overhead/indirection beyond what was there. On platforms where they fit in a pointer, which is common but not universal, it would be nice to remove the heap allocation. However the allocation is on-demand and depends on there being a distinguished not-yet-initialized value -- NIL. That is why I have punted on making that optimization. Also wrap pthread_mutex_destroy to workaround bugs in HP-UX and Tru64. (This could be done in Modula-3.) Since we are now, in a sense, lying about the types pthread_cond_t and pthread_mutex_t, or at least changing how they can be used (or at least created), declare them in ThreadPThread.i3 instead of Upthread.i3. That is, if we are going to break unlikely existant consumers of Upthread.i3, break them more severely. That is also, basically nobody is meant to deal with pthread in Modula-3, except for purposes of establishing a portable Modula-3 library/interface, which is what ThreadPThread.m3 is doing. Exposing everything to everyone from the "unix" directory seems, perhaps, wrong. (Unless, perhaps, people are porting a bunch of C to Modula-3, just altering syntax but leaving library calls unchanged; then it is very reasonable.) Note that the mainstream headers are unchanged here actually. They could be drastically cut down. Or, wait until we have user thread support, then just stop using them. The commands about breaking existing clients applies to many platforms, but not all, yet. (Again I think it is worth pushing this internal stuff to a separate interface -- PThreadC.i3 but that was undone in the past.) From jkrell at elego.de Sun Mar 15 09:50:46 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:50:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315085046.A9E9210D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:50:46 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: Stay within 80 columns. Remove K&R support since it is only partial. Simplify ThreadPThread__pthread_mutex_destroy on non HP-UX/Tru64. Introduce and use macros STATIC_MUTEX and STATIC_CONDITION_VARIABLE to remove tedium (ok, there is only one condition variable..). Rename MAX to M3_MAX to not clash, feels a little safer. From jkrell at elego.de Sun Mar 15 09:56:10 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:56:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315085611.0AFD610D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:56:10 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 Log message: wrap some but not all lines to fit in 80 columns From jkrell at elego.de Sun Mar 15 10:55:53 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 10:55:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315095553.1DBAE10D6057@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 10:55:53 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: Remove platform specific type pthread_key_t, the same way that the statically allocated pthread_mutex_t and pthread_cond_t were removed. For any given: pthread_key_create(foo); pthread_setspecific(foo, value); pthread_getspecific(foo); replace with: pthread_key_create_foo(); pthread_setspecific_foo(value); pthread_getspecific_foo(); which are implemented in C. From jkrell at elego.de Sun Mar 15 10:57:34 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 10:57:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315095734.4CEC5904031@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 10:57:34 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: move Uucontext into its own separate (but so far equal) block, so we can move platforms over to the other common interfaces, without losing platform-specific user-thread support (which I think is isolated to Uucontext.i3, we'll see) From jkrell at elego.de Sun Mar 15 11:29:26 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:29:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315102926.64E4B10D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:29:26 Modified files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Csetjmp.i3 Log message: make jmp_buf opaque -- drop the dependency on Usignal.sigset_t and other small cruft From jkrell at elego.de Sun Mar 15 11:33:17 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:33:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315103317.73DFE904031@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:33:17 Modified files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Csetjmp.i3 Log message: oops, no, put it back From jkrell at elego.de Sun Mar 15 11:57:52 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:57:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315105752.551CF10D6055@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:57:52 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.c Log message: put static on a variable From jkrell at elego.de Sun Mar 15 19:14:54 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 19:14:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315181454.DFA64904095@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 19:14:54 Modified files: cm3/scripts/config/: config.c Log message: add #include sys/time.h to get struct timezone on Linux From jkrell at elego.de Sun Mar 15 19:32:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 19:32:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315183226.1E6D5904095@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 19:32:25 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 ThreadPosixC.c Log message: fix old compilation breaks (3 weeks and undetermined) From jkrell at elego.de Mon Mar 16 01:22:09 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:22:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316002210.03E4C10D60E2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:22:09 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: comments as to how to move backwards in Visual C++ versions, by building with slightly different switches with newer toolsets first; remove rcs id From jkrell at elego.de Mon Mar 16 01:29:09 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:29:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316002909.A7EEF10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:29:09 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 ThreadPosixC.c ThreadPosixC.h m3makefile Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.i3 Log message: Use like Tony's naming style: Foo__Bar, not Foo_Bar or FooC__Bar, at least on the identifiers, some filenames still can be changed from FooC.x to Foo.x (the .h file). Use the portable C implementations of setup_vtalarm, etc., instead of the per-platform nearly identical RTThread.m3 implementations. From jkrell at elego.de Mon Mar 16 01:33:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:33:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003303.97E0D10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:33:03 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.c Added files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.h Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.h Log message: rename ThreadPosixC.h to ThreadPosix.h From jkrell at elego.de Mon Mar 16 01:35:26 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:35:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003527.1A29110D61D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:35:26 Modified files: cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThread.m3 m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile Log message: switch LINUXLIBC6 to portable C for setup_vtalarm, etc. From jkrell at elego.de Mon Mar 16 01:39:49 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:39:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003949.40CB110D60EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:39:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile Log message: switch LINUXLIBC6 to the trimmed down more portable Unix *.i3 files, except for Usignal.i3 and Uucontext.i3. Usignal.i3 and Uucontext.i3 are left alone in order to keep the user thread code compilable, though it is not expected to work for other long standing reasons. From jkrell at elego.de Mon Mar 16 01:46:30 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:46:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316004631.00B0B10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:46:30 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c Log message: Use file-level static instead of globally unique names. Take a chance on typedefs since they have smaller scope (no linkage). From jkrell at elego.de Mon Mar 16 02:50:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 2:50:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316015100.10A6510D5FE6@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 02:50:59 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: eliminate a few tabs, they don't render consistently From jkrell at elego.de Mon Mar 16 03:08:00 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 3:08:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316020800.C7D4790401A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 03:08:00 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: reverse assertion about mode_t vs. int From jkrell at elego.de Mon Mar 16 09:12:33 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:12:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316081233.B802510D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:12:33 Added files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 Log message: I forgot to add this, needed for compiling user threads. From jkrell at elego.de Mon Mar 16 09:19:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:19:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316081959.E2AB910D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:19:59 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 Log message: comment only, as to why the function is InitC instead of Init (because there is already ThreadF.Init) From jkrell at elego.de Mon Mar 16 09:21:47 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:21:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316082147.5BC0910D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:21:47 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uconstants.c Log message: temporary compat hack..but maybe this is masking some larger problem of building out of sync stuff? From jkrell at elego.de Mon Mar 16 09:26:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:26:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316082700.0C37810D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:26:59 Modified files: cm3/m3-libs/m3core/src/unix/darwin-ppc/: Uucontext.i3 Log message: change u_int32_t to uint32_t for compat with Common/Utypes.i3 (could also add u_int32_t to Common/Utypes.i3 From jkrell at elego.de Mon Mar 16 09:32:25 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:32:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316083226.12EF410D5EE1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:32:25 Modified files: cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 Log message: remove unused import of uint16_t From jkrell at elego.de Mon Mar 16 10:18:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 10:18:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316091823.0EF7A10D544D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 10:18:22 Modified files: cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTThread.m3 cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: move PPC_DARWIN to smaller more portable unix/Common/*.i3 files From jkrell at elego.de Mon Mar 16 11:12:55 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 11:12:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316101255.6BF9310D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 11:12:55 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/WIN32/: SchedulerPosix.m3 ThreadInternal.i3 Log message: restore structuring that allows Cygwin to easily switch to Win32 threads; it's really not a terrible thing even if Cygwin doesn't use it From jkrell at elego.de Mon Mar 16 12:54:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 12:54:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316115422.26F5110D5FCB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 12:54:20 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 Log message: don't use confuse the array's header for its first element; for that matter, don't bother wasting space on the header, just use calloc/free directly From jkrell at elego.de Mon Mar 16 12:57:46 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 12:57:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316115747.1A3E010D5FCA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 12:57:46 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: don't bother disabling switching unless the pointer to be freed is not NULL From jkrell at elego.de Mon Mar 16 13:01:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 13:01:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316120121.A53DC714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 13:01:19 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: don't bother disabling switching unless the pointer to be freed is not NULL (what about the store of NULL? Does it need to be while no switching?) only makes a difference for user threads.. From jkrell at elego.de Mon Mar 16 13:13:40 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 13:13:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316121340.831B510D5FC5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 13:13:40 Modified files: cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: fix wrt to moving to smaller/more portable .i3 files -- how did I not catch this earlier? From jkrell at elego.de Mon Mar 16 14:02:33 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 14:02:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316130236.6D62910D613A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 14:02:33 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: go back to old/big .i3 files for PPC_DARWIN at least pending investigation of mentor erroring, something socket related From jkrell at elego.de Mon Mar 16 23:17:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 23:17:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316221715.AA75F10D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 23:17:15 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile Log message: switch all to common Uutmp.i3 -- minor From jkrell at elego.de Tue Mar 17 10:38:27 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 10:38:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317093827.A887810D5FDB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 10:38:27 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 Log message: fix very bad typo From jkrell at elego.de Tue Mar 17 12:28:37 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:28:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317112837.DEF3810D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:28:37 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: multi-part experiment 1: wrap everything 2: wrap everything taking input socklen_t 3: wrap everything taking input/output socklen_t Result is removal of platform-specific socklen_t. But at the cost of 200 lines of C (though really #1 has nothing to do with socklen_t, #2 is /perhaps/ optional, #3 is the real part), perhaps this is not worthwhile. I could argue the 200 lines are simple and not dense, but "lines are lines"? Also, this approach is definitely tedious and therefore error-prone. socklen_t so far is 32 bit unsigned everywhere except: signed on Cygwin size_t on HP-UX, therefore 64 bits on PA64_HPUX/IA64_HPUX There is something fishy going on in that it seems folks were in places passing ADR(INTEGER) here, which should fail to compile on everything but Cygwin, esp. 64 bit platforms. Could be that subranges don't define different types in this context? UNTRACED REF BITS 32 FOR [0..1] same type as UNTRACED REF BITS 32 FOR [0..2]? I was considering making changes in the clients instead. In particular, the in/out socklen_t* is actually only used for input, but there are a fair number of clients to visit: m3-comm\tcp\src\POSIX\IP.m3 m3-comm\tcp\src\POSIX\TCP.m3 m3-comm\tcp\src\POSIX\TCPExtras.m3 m3-comm\tcp\src\POSIX\TCPHack.m3 m3-comm\tcp\src\POSIX\TCPExtras.m3 m3-comm\tcp\src\POSIX\TCPPeer.m3 m3-comm\udp\src\POSIX\UDPPosix.m3 m3-demo\mentor\src\sorting\audio\MidiLineServer.m3 m3-lectern\lecternclient\src\POSIX\LecternClientPosix.m3 m3-libs\libm3\src\os\POSIX\SocketPosix.m3 m3-ui\jvideo\src\POSIX\decunix\JVSink.m3 m3-ui\jvideo\src\POSIX\decunix\Jv.m3 From jkrell at elego.de Tue Mar 17 12:32:42 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:32:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317113242.D5FBA10D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:32:42 Added files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.c Log message: forgot to add From jkrell at elego.de Tue Mar 17 12:55:13 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:55:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115513.A0D1810D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:55:13 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCP.m3 Log message: likely fix for 64 bit systems -- TCP_NODELAY presumably takes an int not a full INTEGER From jkrell at elego.de Tue Mar 17 12:56:13 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:56:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115613.4E01610D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:56:13 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCPHack.m3 Log message: likely fix for 64 bit systems -- TCP_NODELAY presumably takes an int not a full INTEGER From jkrell at elego.de Tue Mar 17 12:59:41 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:59:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115941.7854010D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:59:41 Modified files: cm3/m3-comm/tcp/src/WIN32/: TCP.m3 Log message: 64 bit fix -- TCP_NODELAY takes a 32bit BOOL, not a potentially 64 bit INTEGER From jkrell at elego.de Tue Mar 17 13:02:05 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:02:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120205.8B6B610D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:02:05 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 Log message: use a 32 bit int for TCP_NODELAY From jkrell at elego.de Tue Mar 17 13:03:03 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:03:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120303.5833710D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:03:03 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 Log message: again, use a 32 bit int for TCP_NODELAY (only affects Ultrix and OSF1/Tru64) From jkrell at elego.de Tue Mar 17 13:07:40 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:07:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120740.B741F10D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:07:40 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCP.m3 m3makefile Removed files: cm3/m3-comm/tcp/src/POSIX/: SockOpt.i3 SockOptFBSD.m3 SockOptOther.m3 Log message: remove obsolete-looking workarounds for obsolete platforms From jkrell at elego.de Tue Mar 17 13:20:28 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:20:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317122028.6321310D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:20:28 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c cm3/m3-libs/m3core/src/unix/Common/: Utypes.i3 cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 Log message: oops, fix socklen_t From jkrell at elego.de Tue Mar 17 13:24:38 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:24:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317122438.A894610D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:24:38 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Utypes.i3 Usocket.i3 Log message: cosmetic -- have Usocket.i3 get socklen_t from Utypes.i3 (should it be exported from both? not a big deal) From jkrell at elego.de Tue Mar 17 13:30:30 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:30:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123031.84BE010D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:30:30 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: Wrap fcntl because it is varargs. Thanks Daniel! See: http://edoofus.blogspot.com/2008/08/interesting-bug-unbreaking-cvsupamd64.html From jkrell at elego.de Tue Mar 17 13:33:49 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:33:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123349.7B14B10D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:33:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: ioctl is also varargs, so also wrap it From jkrell at elego.de Tue Mar 17 13:35:56 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:35:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123556.C018910D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:35:56 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 Log message: just add some newlines From jkrell at elego.de Tue Mar 17 13:40:47 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:40:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317124047.4CB0910D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:40:47 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosixC.i3 Log message: the name is 'fcntl', not 'fnctl' From jkrell at elego.de Tue Mar 17 13:41:36 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:41:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317124136.0F53710D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:41:36 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosixC.c Log message: fix newlines (dos2unix) From jkrell at elego.de Tue Mar 17 17:45:29 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 17:45:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317164529.8DD4110D5FD5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 17:45:29 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: switch again to smaller/portable *.i3 files, now that networking fixed -- mentor works formsedit still tends to bus error but it was going that already From jkrell at elego.de Tue Mar 17 17:56:02 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 17:56:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317165602.F124210D5FD5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 17:56:02 Modified files: cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 Log message: time_t from int32_t to INTEGER, to match darwin-generic, for future PPC64_DARWIN port or AMD64_DARWIN switch to this file From jkrell at elego.de Wed Mar 18 15:10:18 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 18 Mar 2009 15:10:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090318141018.3472D10D60EE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/18 15:10:18 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: 1. Should fix Solaris Tinderbox. 2. Should prepare for moving Solaris to smaller .i3 files, by integrating a workaround from the Solaris-2-x directory, not yet active due to #1. 3. A risky 'fix' to try to get ioctl declared. That might not even be required, but it is definitely generally desirable. On some systems, unistd.h suffices (apparent example: Solaris). Add sys/ioctl.h, which looks viable at least on Linux and Darwin. This definitely might break some platforms, but should also be easy to fix. From jkrell at elego.de Wed Mar 18 15:14:03 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 18 Mar 2009 15:14:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090318141403.250FD10D60EE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/18 15:14:03 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: oops -- FreeBSD Tinderbox, but not FreeBSD specific, just sloppy of me From jkrell at elego.de Thu Mar 19 09:02:31 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:02:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080231.AAE25714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:02:31 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Uucontext.i3 Usignal.i3 Log message: replace Utypes.caddr_t with equivalent ADDRESS replace Utypes.u_long with equivalent Ctypes.unsigned_long for compatibility with Common/Utypes.i3 We could also add these to Common/Utypes.i3 if anyone prefers. From jkrell at elego.de Thu Mar 19 09:07:17 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:07:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080717.BC1A9714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:07:17 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 Log message: remove unused import of uint32_t From jkrell at elego.de Thu Mar 19 09:09:22 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:09:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080922.4A299714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:09:22 Modified files: cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: remove unused import of uint32_t From jkrell at elego.de Thu Mar 19 09:13:50 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:13:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319081350.1E714714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:13:50 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Unix.i3 Log message: MAX_FDSET in my Solaris 2.10 /usr/include clearly defaults to 1024 for 32bit, not the 64 that was here (This should really be dynamically sized to fit whatever value file handles you get, right?). From jkrell at elego.de Thu Mar 19 09:18:14 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:18:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319081814.1B3BC714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:18:14 Modified files: cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: tv_sec and tv_usec are INTEGER not int32_t => 64bits on 64bit platforms From jkrell at elego.de Thu Mar 19 10:07:14 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 10:07:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319090714.7981B10D5FD0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 10:07:14 Modified files: cm3/m3-ui/vbtkit/src/lego/POSIX/: ScrollerVBTClass.m3 Log message: fail an assertion right before we access violate (dump core, etc.) From jkrell at elego.de Thu Mar 19 10:23:58 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 10:23:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319092358.1876610D5FCC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 10:23:58 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c m3makefile cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile Log message: Switch SOLgnu and SOLsun to new/smaller/more portable Unix/*.i3 files. Leave Uucontext.i3, Usignal.i3, Uframe.i3, like LINUXLIBC6/PPC_DARWIN, so that user threads still compile. Forgot to cleanup RTThread's signal stuff but ok, it can wait. Only tested SOLgnu, not SOLsun. From jkrell at elego.de Thu Mar 19 12:18:54 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 12:18:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319111854.B1B8B10D5FF3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 12:18:54 Added files: cm3/scripts/: version Log message: add version file, to be consumed later From jkrell at elego.de Sat Mar 21 12:47:26 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:47:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114726.CEDD410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:47:26 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: FreeBSD4 Log message: remove carriage returns From jkrell at elego.de Sat Mar 21 12:48:23 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:48:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114823.6F4D410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:48:23 Added files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: initial version, copied from FreeBSD4 From jkrell at elego.de Sat Mar 21 12:49:27 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:49:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114927.964CE10D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:49:27 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: I386_OPENBSD Log message: remove carriage returns From jkrell at elego.de Sat Mar 21 12:50:56 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:50:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321115056.CF8F410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:50:56 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: AMD64_FREEBSD Log message: remove carriage returns From jkrell at elego.de Sun Mar 22 10:01:44 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:01:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322090144.33DC1714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:01:43 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Umman.i3 Log message: add missin off_t import From jkrell at elego.de Sun Mar 22 10:14:23 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:14:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322091424.67055714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:14:23 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Unix.i3 Utypes.i3 Log message: off_t must be a scalar, not a struct, for FilePosix.m3 to compile -- make it a LONGINT instead of struct with two 32bit integers From jkrell at elego.de Sun Mar 22 10:28:02 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:28:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322092802.9CC3C714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:28:02 Modified files: cm3/scripts/python/: pylib.py Log message: some I386_NETBSD (aka NetBSD2_i386) support; print tar vs. del in the correct order From jkrell at elego.de Sun Mar 22 10:43:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:43:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322094317.8FA7C714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:43:14 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: m3makefile Log message: add h_source(ThreadPosix) to get ThreadPosix.h into bootstrap archives (e.g. NetBSD/x86 still uses user threads) From jkrell at elego.de Sun Mar 22 11:13:07 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:13:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322101307.69E42714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:13:07 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: more .h files missing from bootstrap packages -- UerrorX.h at least, probably m3unix.h, throw in Uucontext.h From jkrell at elego.de Sun Mar 22 11:50:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:50:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322105049.A776A714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:50:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: fix duplicate unit m3unix.h; remove a tab From jkrell at elego.de Sun Mar 22 11:53:17 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:53:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322105317.59C54714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:53:17 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: compat with common/Utypes.i3 -- change u_int32_t to unsigned_int From jkrell at elego.de Sun Mar 22 12:05:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 12:05:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322110513.E6A35714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 12:05:13 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Usignal.i3 Log message: checkin correct file -- compat with common/Utypes.i3, change Utypes.u_int32_t to Ctypes.unsigned_int From jkrell at elego.de Sun Mar 22 12:09:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 12:09:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322110925.F1452714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 12:09:25 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: go back a version due to inadvertant commit (though it's going forward shortly anyway) From jkrell at elego.de Sun Mar 22 13:13:21 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:13:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322121321.EB66A714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:13:21 Added files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c Log message: opendir should be wrapped on NetBSD (not yet active) From jkrell at elego.de Sun Mar 22 13:16:46 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:16:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322121646.2545B714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:16:46 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c Log message: add include sys/types like opengroup docs show From jkrell at elego.de Sun Mar 22 13:21:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:21:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122114.06F5D714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:21:13 Modified files: cm3/m3-libs/m3core/src/: thread.quake cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 m3makefile cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: Switch NetBSD/x86 to pthreads and new/small/more-portable unix/*.i3 files. From jkrell at elego.de Sun Mar 22 13:23:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:23:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122325.B7824714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:23:25 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 Log message: fix From jkrell at elego.de Sun Mar 22 13:24:16 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:24:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122416.75380714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:24:16 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 Log message: fix From mand at elego.de Fri Mar 27 13:35:11 2009 From: mand at elego.de (Michael Anderson) Date: Fri, 27 Mar 2009 13:35:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090327123511.592DD60C150@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mand at birch. 09/03/27 13:35:11 Added files: cm3/www/: service_notice.html Log message: maintenance From mand at elego.de Fri Mar 27 13:48:47 2009 From: mand at elego.de (Michael Anderson) Date: Fri, 27 Mar 2009 13:48:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090327124847.A49C960C150@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mand at birch. 09/03/27 13:48:47 Removed files: cm3/www/: service_notice.html Log message: took down service notice From jkrell at elego.de Sat Mar 28 14:45:45 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 28 Mar 2009 14:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090328134545.5E6CC60C153@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/28 14:45:45 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: get odbc and postgres from their usual /usr/pkg install location (if built/installed from pkgsrc) use -rpath-link to inhibit the build-time paths from going into the files and being searched => encourage use of local $LD_LIBRARY_PATH instead use of $ORIGIN/../lib would be nice, but that's not available until 5.0 it appears (this change not in upcoming packages, so they will look in /tmp/blah and $LD_LIBRARY_PATH) add -Wl,-R for X to be found at runtime, not just build-time (contrary to the use of -rpath-link -- using -rpath-link for Modula-3 libraries which perhaps have no standard install location, but using -rpath for stuff with standard location) From jkrell at elego.de Sat Mar 28 14:47:05 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 28 Mar 2009 14:47:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090328134705.60D9160C153@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/28 14:47:05 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: cleanup From jkrell at elego.de Sun Mar 29 04:50:32 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 29 Mar 2009 4:50:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090329025032.2932460C154@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/29 04:50:32 Modified files: cm3/scripts/python/: boot1.py Log message: comments only From jkrell at elego.de Mon Mar 30 11:47:02 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 11:47:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330094702.E7BD060C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 11:47:02 Modified files: cm3/m3-sys/m3tests/src/: src.pl Log message: put in Unix newlines (dos2unix) From jkrell at elego.de Mon Mar 30 11:48:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 11:48:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330094803.718F260C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 11:48:03 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: print more information when it fails pad it out for alignment to fix Cygwin failing (maybe should pad with an __int64 or double instead of size_t, given that it already ends with size_ts and presumably the doubles are the problem?) From jkrell at elego.de Mon Mar 30 15:40:27 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:40:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134027.B3F8560C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:40:27 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: Move calls to RAISE to separate functions, so that we don't pay for an exception handling frame in the common success case. Change the TypeDefn checks so that each failure case is on a unique line in unoptimized code, so from the line numbers in the callstack, one can determine what condition failed. From jkrell at elego.de Mon Mar 30 15:43:01 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:43:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134301.6F1B660C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:43:01 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: fix typo in comment From jkrell at elego.de Mon Mar 30 15:45:19 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:45:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134519.AE29C60C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:45:19 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: reuse CheckTypeFailed in the other place that used 'force a change fault' From jkrell at elego.de Mon Mar 30 15:46:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:46:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134603.9732060C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:46:03 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: put semicolon back -- ok either way From jkrell at elego.de Mon Mar 30 23:52:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:52:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215215.546DE60C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:52:15 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c Log message: merge threadlocal "handlers" into threadlocal "activations" point being to conserve threadlocals From jkrell at elego.de Mon Mar 30 23:55:22 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:55:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215522.5792C60C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:55:22 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: put one line back to quash warning, though the code was ok From jkrell at elego.de Mon Mar 30 23:59:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:59:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215931.9350960C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:59:31 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: Repeat the initializer in assertions, though perhaps we shouldn't assert the parts we immediately overwrite? From rodney at elego.de Sun Mar 1 18:19:32 2009 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 1 Mar 2009 18:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090301171932.CA77B72575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 09/03/01 18:19:32 Modified files: cm3/m3-sys/m3cc/gcc/gcc/: tree-nested.c Log message: Some partial fixes to tree-nested.c, toward fixing the broken debugger support of static links. Mostly just better comments and consistification of use of terminology that was already defined. From jkrell at elego.de Sun Mar 1 23:59:06 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 1 Mar 2009 23:59:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090301225906.A4FD272575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/01 23:59:06 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: friendly message on HP-UX when forgot to build with -pthread or -pthread From rodney at elego.de Mon Mar 2 03:48:55 2009 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 2 Mar 2009 3:48:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302024855.A681E10D5F73@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 09/03/02 03:48:55 Modified files: cm3/scripts/: sysinfo.sh Log message: Add target AMD64_LINUX (when uname -n returns "x86_64"). Most package actions, e.g., "build" are done by cm3, which is getting its target another way, but "realclean" uses the TARGET variable set here, and was cleaning the wrong derived directory in this case. From jkrell at elego.de Mon Mar 2 09:28:45 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 9:28:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302082846.37B64784001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 09:28:45 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common Log message: HP-UX has variants of pthreads functions that just return ENOSYS -- do link to -lpthread, don't explicitly link to -lc, that gets us working functions; I don't have libXaw or libXmu but am able to build X stuff without them, so remove them. From jkrell at elego.de Mon Mar 2 09:31:58 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 9:31:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302083158.E002910D5F78@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 09:31:58 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: long error message on HP-UX before the assertion failure From jkrell at elego.de Mon Mar 2 15:54:04 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 15:54:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302145404.EDE1A10D5FBF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 15:54:04 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: let gcc optimize itself From jkrell at elego.de Mon Mar 2 15:56:19 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 15:56:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302145619.0909710D5FBF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 15:56:19 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common PA32_HPUX Unix.common Log message: enable shared libraries on HP-UX, fix X/Windows and OpenGL From jkrell at elego.de Mon Mar 2 16:33:53 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 16:33:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302153353.7DA1B10D5FA3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 16:33:53 Modified files: cm3/www/uploaded-archives/: targets.txt Log message: add PA32_HPUX From jkrell at elego.de Mon Mar 2 21:18:07 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 21:18:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302201807.71F6C10D5FA9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 21:18:07 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common PA64_HPUX Unix.common Log message: Fix typo that breaks "many" platforms. Small HP-UX tweaks -- comment about -lc, shorten hppa64-hpux name. From hosking at elego.de Tue Mar 3 04:24:36 2009 From: hosking at elego.de (Antony Hosking) Date: Tue, 3 Mar 2009 4:24:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303032436.43B5C9040AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/03/03 04:24:36 Modified files: cm3/m3-sys/m3front/src/builtinOps/: Adr.m3 Cas.m3 CasP.m3 Dec.m3 Dispose.m3 Inc.m3 Loophole.m3 Subarray.m3 cm3/m3-sys/m3front/src/exprs/: CallExpr.i3 CastExpr.m3 DerefExpr.m3 Expr.i3 Expr.m3 ExprRep.i3 KeywordExpr.m3 QualifyExpr.m3 SubscriptExpr.m3 cm3/m3-sys/m3front/src/misc/: RunTyme.m3 cm3/m3-sys/m3front/src/stmts/: AssignStmt.m3 WithStmt.m3 cm3/m3-sys/m3front/src/values/: Formal.m3 Log message: Fix generation of write barrier for generational GC. Previously, we were generating unnecessary barriers for stores to untraced heap cells. Since these cannot contain traced references stores to them need not be tracked. Rationalize passing of lhs parameter to PrepLV and CompileLV methods and procedures. This permits us to assert consistent invocation of both PrepLV and CompileLV. From jkrell at elego.de Tue Mar 3 15:54:23 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 15:54:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303145423.C3DEE9041A7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 15:54:23 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: fix SOLgnu and presumably SOLsun From jkrell at elego.de Tue Mar 3 16:03:32 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 16:03:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303150333.EC9B79041A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 16:03:32 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: adapt for SOLsun/SOLgnu -- Modula-3's jumpbuf is larger than needed, ok (but investigate and consider fixing) From jkrell at elego.de Tue Mar 3 16:09:53 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 16:09:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303150956.48D969041B8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 16:09:53 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: clarify that the Modula-3 jmpbuf actually matches sigjmp_buf, not sure that is right but that is what it is From jkrell at elego.de Tue Mar 3 21:37:00 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 21:37:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303203702.1A5FA10D5E5B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 21:37:00 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: compile Usysdep for LINUXLIBC6 to fix tests; adapt test for LINUXLIBC6 (and very possibly others) by removing struct tm From jkrell at elego.de Tue Mar 3 21:40:37 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 21:40:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303204037.8651410D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 21:40:37 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: remove entire tail, I don't think it adds any value From jkrell at elego.de Tue Mar 3 22:01:45 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:01:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303210145.7D34E10D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:01:45 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: remove carriage return From jkrell at elego.de Tue Mar 3 22:08:50 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:08:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303210850.DB59310D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:08:50 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c Log message: adapt for MacOSX 10.4 simply by putting static on a variable otherwise: --- building in PPC_DARWIN --- -> archiving libm3core.a ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers (size 84) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed make_lib => 256 From jkrell at elego.de Tue Mar 3 22:16:15 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:16:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303211615.AF57510D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:16:15 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3tests/src/: TestC.c Log message: enable on PPC_DARWIN to fix tests; adapt to PPC_DARWIN (10.4) by adding some #includes, and move one include so it looks like there is a system to the ordering From jkrell at elego.de Tue Mar 3 22:23:57 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:23:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303212357.B044410D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:23:57 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: enable for platforms I don't have ready access too or that aren't used much (ie: not tested) FreeBSD (can watch Tinderbox and maybe set it up later) x86/AMD64 Darwin (hopefully ppc DARWIN is reasonable facsimile) NetBSD (not used much; can bring back up and test later) 64bit Solaris (not used much; can test at least SPARC64 later) left disabled for bunch of dormant platforms From hosking at cs.purdue.edu Tue Mar 3 23:51:47 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 4 Mar 2009 09:51:47 +1100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20090303210850.DB59310D5DD8@birch.elegosoft.com> References: <20090303210850.DB59310D5DD8@birch.elegosoft.com> Message-ID: You should use static for all non-externals (private) symbols to avoid pollution of the global namespace. On 3 Mar 2009, at 22:08, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/03 22:08:50 > > Modified files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c > > Log message: > adapt for MacOSX 10.4 simply by putting static on a variable > otherwise: > --- building in PPC_DARWIN --- > -> archiving libm3core.a > ld: common symbols not allowed with MH_DYLIB output format with the > -multi_module option > RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers > (size 84) > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link > edit command failed > make_lib => 256 From hosking at cs.purdue.edu Tue Mar 3 23:54:00 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 4 Mar 2009 09:54:00 +1100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20090303210850.DB59310D5DD8@birch.elegosoft.com> References: <20090303210850.DB59310D5DD8@birch.elegosoft.com> Message-ID: You should use static for all non-externals (private) symbols to avoid pollution of the global namespace. On 3 Mar 2009, at 22:08, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/03 22:08:50 > > Modified files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c > > Log message: > adapt for MacOSX 10.4 simply by putting static on a variable > otherwise: > --- building in PPC_DARWIN --- > -> archiving libm3core.a > ld: common symbols not allowed with MH_DYLIB output format with the > -multi_module option > RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers > (size 84) > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link > edit command failed > make_lib => 256 From jkrell at elego.de Wed Mar 4 12:00:05 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 12:00:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304110005.D4B1110D5EDF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 12:00:05 Modified files: cm3/m3-sys/m3tests/src/r0/r004/: stderr.pgm Log message: adjust overly picky test case From jkrell at elego.de Wed Mar 4 20:18:48 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:18:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304191848.D0EC410D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:18:48 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: put doubles first to try to account for possible alignment problems, though it works for me on birch, fix some warnings, bottleneck casts in a macro, print more info in the error path From jkrell at elego.de Wed Mar 4 20:22:31 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:22:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304192232.034FA72575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:22:31 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 Log message: (checkin the other file oops) put doubles first to try to account for possible alignment problems, though it works for me on birch, fix some warnings, bottleneck casts in a macro, print more info in the error path From jkrell at elego.de Wed Mar 4 20:29:00 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:29:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304192900.2C52010D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:29:00 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: print the bytes..I see it now.. From jkrell at elego.de Wed Mar 4 20:50:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:50:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304195036.1FEF872575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:50:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: pass doubles through unchanged, needs further investigation From jkrell at elego.de Wed Mar 4 20:56:37 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:56:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304195637.5E8AA10D4666@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:56:37 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: it was supposed to be #if not #ifdef oops; still needs more investigation but should be ok again for native builds, big endian or little From jkrell at elego.de Wed Mar 4 22:07:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:07:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304210735.2BDA910D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:07:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: a little shorter From jkrell at elego.de Wed Mar 4 22:08:59 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:08:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304210859.AF15D10D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:08:59 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: a little shorter From jkrell at elego.de Wed Mar 4 22:11:00 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:11:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304211100.E418210D5F08@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:11:00 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: fix From jkrell at elego.de Wed Mar 4 22:13:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:13:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304211335.ABC2410D5F08@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:13:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: put it in a form that gcc is able to optimize From hosking at elego.de Thu Mar 5 03:59:50 2009 From: hosking at elego.de (Antony Hosking) Date: Thu, 5 Mar 2009 3:59:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090305025950.D3EC110D5F02@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/03/05 03:59:50 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTType.m3 Log message: Let's use calloc instead of malloc + Zero. From jkrell at elego.de Sat Mar 7 06:24:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:24:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307052401.19B58904050@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:24:00 Modified files: cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 Log message: fix mode_t From jkrell at elego.de Sat Mar 7 06:41:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:41:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307054101.2770310D5EE4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:41:00 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Test.i3 Log message: mode_t really isn't interesting, stop testing it, it is only used in three parameter lists, one of which isn't used, and no structs, we can change the parameters to int, and cast in the C wrappers if it really matters From jkrell at elego.de Sat Mar 7 06:53:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:53:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307055336.91C2990404F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:53:36 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: mode_t really isn't interesting, stop testing it, it is only used in three parameter lists, one of which isn't used, and no structs, we can change the parameters to int, and cast in the C wrappers if it really matters From jkrell at elego.de Sat Mar 7 19:31:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:31:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307183100.7EE9F10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:31:00 Modified files: cm3/scripts/: lzma.sh Log message: the lzma man page says it does a little better wiht regular files instead of streams; it seems to me it could go back and fixup the streamed files but oh well From jkrell at elego.de Sat Mar 7 19:44:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:44:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307184433.928F510D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:44:33 Modified files: cm3/scripts/: find-packages.sh Log message: examples/web clashes with m3-www/web, exclude examples from std packages; examples/web also fails to build, fix that another time From jkrell at elego.de Sat Mar 7 19:56:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:56:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307185633.25A4E10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:56:33 Modified files: cm3/scripts/python/: pylib.py Log message: copy all config *.common files -- i.e. was missing Solaris.common and HPUX.common From jkrell at elego.de Sat Mar 7 20:15:43 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:15:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307191544.0169010D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:15:43 Modified files: cm3/scripts/python/: pylib.py Log message: try this again: copy all config *.common files -- i.e. was missing Solaris.common and HPUX.common From jkrell at elego.de Sat Mar 7 20:35:03 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193503.9893510D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:03 Modified files: cm3/m3-sys/m3tests/src/p0/p001/: Main.m3 Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193513.ADF3910D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:13 Added files: cm3/m3-sys/m3tests/src/p2/p212/: m3makefile Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:20 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193520.DCCBC10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:20 Added files: cm3/m3-sys/m3tests/src/p2/p212/: Main.m3 Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:28 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193528.E0BA710D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:28 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:43:02 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:43:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194302.D71BF10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:43:02 Added files: cm3/m3-sys/m3tests/src/p2/p212/: stderr.build stderr.pgm stdout.build stdout.pgm Log message: missing files not interpreted as empty so add them From jkrell at elego.de Sat Mar 7 20:44:08 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:44:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194408.A96CD10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:44:08 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Test.i3 Log message: again Cygwin is failing if the arrays contain an even number of elements so make them even From jkrell at elego.de Sat Mar 7 20:46:05 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:46:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194605.BF16610D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:46:05 Modified files: cm3/m3-sys/m3tests/src/p2/p211/: stdout.pgm Added files: cm3/m3-sys/m3tests/src/p2/p211/: stderr.build stdout.build Log message: add missing empty output files here too From jkrell at elego.de Sat Mar 7 20:47:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:47:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194713.F136B10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:47:13 Modified files: cm3/m3-sys/m3tests/src/p2/p211/: stdout.pgm Log message: restore non empty output From jkrell at elego.de Sat Mar 7 21:58:24 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 21:58:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307205824.A1B3972575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 21:58:24 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: use a consistent ordering (sort) From jkrell at elego.de Sat Mar 7 22:19:18 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:19:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307211918.B1AAC10D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:19:18 Added files: cm3/scripts/: fix-lzma-timestamps.sh Log message: apply .tar.gz timestamps to .tar.lzma files From jkrell at elego.de Sat Mar 7 22:21:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:21:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307212100.6E45110D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:21:00 Removed files: cm3/scripts/: fix-lzma-timestamps.sh Log message: delete and try to make it executable From jkrell at elego.de Sat Mar 7 22:21:37 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:21:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307212137.5987710D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:21:37 Added files: cm3/scripts/: fix-lzma-timestamps.sh Log message: re-add, executable this time From jkrell at elego.de Sat Mar 7 23:05:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 23:05:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307220525.125EC10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 23:05:25 Modified files: cm3/scripts/python/: pylib.py Log message: when switching config file to 'development mode' that uses the source tree, be sure to delete all the 'distribution config files' so they don't get found by the probing; also print a bit more From jkrell at elego.de Sun Mar 8 13:22:29 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 13:22:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308122229.D50A310D5EE8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 13:22:29 Modified files: cm3/m3-libs/m3core/src/time/Common/: FmtTime.m3 Log message: grow time buuffer to accomodate the unusual long time zone on my machine: "Local time zone must be set--see zic manual page" One might expect to put 50 here, but the other numbers are all wierd so I arrived at at 48 as sufficient experimentally. From jkrell at elego.de Sun Mar 8 21:15:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 21:15:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308201549.9554E90402D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 21:15:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Utypes.i3 m3makefile cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Added files: cm3/m3-libs/m3core/src/unix/Common/: Unix.m3 Log message: eliminate mode_t and Unix.creat replace mode_t with just int, and assert that it fits it was a variety of platform-specific signed/unsigned 16 and 32 bit integer it used to occur in struct stat so its size mattered wrap mkdir on the off chance that passing int vs. mode_t is different Unix.creat was never used (presumably open is a superset and suffices) built "std" on LINUXLIBC6 From jkrell at elego.de Sun Mar 8 21:21:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 21:21:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308202104.2285F90402D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 21:21:04 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: cleanup: no quotes needed, move access flags next to it, remove obsolete or incorrect comment (the wrappers no longer exist, maybe they were never used), shorten comment, comment grammar From jkrell at elego.de Sun Mar 8 22:04:35 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 22:04:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308210435.83E6D10D5F61@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 22:04:35 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.c Uucontext.i3 cm3/m3-libs/m3core/src/unix/Common/context/setjmp/: context.c context.h m3makefile Log message: Wrap up the context functions in functions prefixed with Uucontext__ in particular so that systems that have the functions in some versions but not others do not have a name clash when we provide them. In particular, Darwin got the functions in 10.5. Wrapping a vararg function for which there is no version that takes a va_list (counterexample: sprintf/vsprintf) is problematic and we have a hardcoded limit (makecontext). And of course rename our implementations for systems without (Darwin <10.5, OpenBSD). From jkrell at elego.de Mon Mar 9 02:57:13 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 2:57:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309015713.E978C10D443E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 02:57:13 Added files: cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c Log message: Potential replacement for TimePosix.m3. - sort of more portable (but we traffic in timeval_t in public interface) - greatly mitigates the issue in computation of Grain by computing it a few times and only accepting a value that is the same a few times in a row. On HP-UX I have seen 0.0002 and 0.0003, which really suggests the right answer is 0.0001? (not the actual number of zeros). Bigger problem is hang on PA64_HPUX, still being investigated, but the C code doesn't hang, and the double constants look ok. From jkrell at elego.de Mon Mar 9 03:01:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 3:01:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309020131.D9AC210D5D25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 03:01:31 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c Log message: remove unused #define From jkrell at elego.de Mon Mar 9 09:20:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:20:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309082023.AC2E410D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:20:23 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: make a guess about FreeBSD jmpbuf size, can do better if this fails -- either disable it or install FreeBSD/x86 locally From jkrell at elego.de Mon Mar 9 09:21:05 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:21:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309082105.D735A10D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:21:05 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: adjust printout From jkrell at elego.de Mon Mar 9 09:31:47 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:31:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309083147.75D7D10D5EEA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:31:46 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: more convincing fix for FreeBSD/x86 -- it looks like jmpbuf is padded out so that it can be used with sigsetjmp, but presumably we if track down the code, the last integer is not used if you match things up correctly and we are ok to optimize it away From jkrell at elego.de Mon Mar 9 17:55:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 17:55:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309165554.A48F410D5D10@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 17:55:54 Modified files: cm3/m3-comm/tcp/src/POSIX/: IP.m3 cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 m3makefile cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile cm3/m3-libs/m3core/src/unix/linux/: m3makefile cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/os2/: m3makefile cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile cm3/m3-sys/m3tests/src/: Test.i3 TestC.c cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 Added files: cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c Log message: ---------------------------------------------------------------------- eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t via a small copying C wrapper and using int for them always They varied among int32_t, int, int16_t -- Cygwin being the outlier the only int16_t. Switch all platforms to this portable Unetdb.i3 out of near necessity. Enable Uconstants.c for all platforms. From jay.krell at cornell.edu Mon Mar 9 17:59:22 2009 From: jay.krell at cornell.edu (Jay) Date: Mon, 9 Mar 2009 16:59:22 +0000 Subject: [M3commit] Unetdb In-Reply-To: <20090309165554.A48F410D5D10@birch.elegosoft.com> References: <20090309165554.A48F410D5D10@birch.elegosoft.com> Message-ID: diff attached (I wish CVS could show that in one fell swoop, after commit, graphically as well..) All the Unetdb.i3/Unetdb.m3 files can be deleted now, except common/Unetdb.i3. - Jay > Date: Mon, 9 Mar 2009 17:55:54 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/09 17:55:54 > > Modified files: > cm3/m3-comm/tcp/src/POSIX/: IP.m3 > cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 > cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 > m3makefile > cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile > cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile > cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile > cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile > cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile > cm3/m3-libs/m3core/src/unix/linux/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile > cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/os2/: m3makefile > cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile > cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile > cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile > cm3/m3-sys/m3tests/src/: Test.i3 TestC.c > cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 > Added files: > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c > > Log message: > ---------------------------------------------------------------------- > eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t > via a small copying C wrapper and using int for them always > They varied among int32_t, int, int16_t -- Cygwin being the > outlier the only int16_t. > Switch all platforms to this portable Unetdb.i3 out of near necessity. > Enable Uconstants.c for all platforms. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 1.txt URL: From jkrell at elego.de Mon Mar 9 21:35:13 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 21:35:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309203513.3991F10D5FDD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 21:35:13 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UstatC.c Unetdb.c Log message: fix warning on Cygwin; rename stat fields to omit prefix to avoid the problem the wrapper functions were avoiding and comment this in stat and netdb From jkrell at elego.de Mon Mar 9 21:42:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 21:42:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309204254.1669E10D5FDD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 21:42:54 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: add #include sys/stat.h to get prototype of mkdir, at least on MacOSX 10.4, to quiet warning; add extern C wrapping From jay.krell at cornell.edu Mon Mar 9 21:49:22 2009 From: jay.krell at cornell.edu (Jay) Date: Mon, 9 Mar 2009 20:49:22 +0000 Subject: [M3commit] Unetdb In-Reply-To: <20090309165554.A48F410D5D10@birch.elegosoft.com> References: <20090309165554.A48F410D5D10@birch.elegosoft.com> Message-ID: Cool, the Tinderbox pages can show this, e.g.: http://tinderbox.elegosoft.com/tinderbox/cm3/status.html select one of the items on the left and then click "show me all the diffs". - Jay From: jay.krell at cornell.edu To: jkrell at elego.de; m3commit at elegosoft.com Subject: RE: [M3commit] Unetdb Date: Mon, 9 Mar 2009 16:59:22 +0000 diff attached (I wish CVS could show that in one fell swoop, after commit, graphically as well..) All the Unetdb.i3/Unetdb.m3 files can be deleted now, except common/Unetdb.i3. - Jay > Date: Mon, 9 Mar 2009 17:55:54 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/09 17:55:54 > > Modified files: > cm3/m3-comm/tcp/src/POSIX/: IP.m3 > cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 > cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 > m3makefile > cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile > cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile > cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile > cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile > cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile > cm3/m3-libs/m3core/src/unix/linux/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile > cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/os2/: m3makefile > cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile > cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile > cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile > cm3/m3-sys/m3tests/src/: Test.i3 TestC.c > cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 > Added files: > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c > > Log message: > ---------------------------------------------------------------------- > eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t > via a small copying C wrapper and using int for them always > They varied among int32_t, int, int16_t -- Cygwin being the > outlier the only int16_t. > Switch all platforms to this portable Unetdb.i3 out of near necessity. > Enable Uconstants.c for all platforms. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Mar 9 22:11:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 22:11:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309211154.AF16D10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 22:11:54 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.h Log message: one should almost never #include other files inside extern C (unless specifically because they lack it and need it) From jkrell at elego.de Mon Mar 9 22:13:16 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 22:13:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309211316.517EA10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 22:13:16 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.c Log message: make it legal C++ -- don't use the identifier 'new' From jkrell at elego.de Sat Mar 14 10:34:12 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 14 Mar 2009 10:34:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090314093412.2BECE10D60E7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/14 10:34:11 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 Uconstants.c cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c ThreadPThread.m3 ThreadPThread.i3 Log message: As part of (really, only part) of eliminating the platform specific Upthread.pthread_mutex_t, Upthread.pthread_cond_t, and possibly pthread_t and pthread_key_t, move the statically allocated mutexes and condition variable to C. Each variable is provided with wrapper functions, such as pthread_mutex_lock_foo() pthread_mutex_unlock_foo() to lock/unlock the mutex named "foo" (or fooMu). This is not sufficient to remove the types. From jay.krell at cornell.edu Sat Mar 14 11:31:15 2009 From: jay.krell at cornell.edu (Jay) Date: Sat, 14 Mar 2009 10:31:15 +0000 Subject: [M3commit] test.. Message-ID: test.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Sun Mar 15 09:25:09 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:25:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315082509.8165F904040@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:25:09 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: Remove platform-specificity of dynamically allocated pthread_mutex_t and pthread_cond_t. Replace them with UNTRACED REF ARRAY OF CHAR where size comes from a constant variable "implemented" in C. They were already UNTRACED REFs. This does not add any overhead/indirection beyond what was there. On platforms where they fit in a pointer, which is common but not universal, it would be nice to remove the heap allocation. However the allocation is on-demand and depends on there being a distinguished not-yet-initialized value -- NIL. That is why I have punted on making that optimization. Also wrap pthread_mutex_destroy to workaround bugs in HP-UX and Tru64. (This could be done in Modula-3.) Since we are now, in a sense, lying about the types pthread_cond_t and pthread_mutex_t, or at least changing how they can be used (or at least created), declare them in ThreadPThread.i3 instead of Upthread.i3. That is, if we are going to break unlikely existant consumers of Upthread.i3, break them more severely. That is also, basically nobody is meant to deal with pthread in Modula-3, except for purposes of establishing a portable Modula-3 library/interface, which is what ThreadPThread.m3 is doing. Exposing everything to everyone from the "unix" directory seems, perhaps, wrong. (Unless, perhaps, people are porting a bunch of C to Modula-3, just altering syntax but leaving library calls unchanged; then it is very reasonable.) Note that the mainstream headers are unchanged here actually. They could be drastically cut down. Or, wait until we have user thread support, then just stop using them. The commands about breaking existing clients applies to many platforms, but not all, yet. (Again I think it is worth pushing this internal stuff to a separate interface -- PThreadC.i3 but that was undone in the past.) From jkrell at elego.de Sun Mar 15 09:50:46 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:50:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315085046.A9E9210D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:50:46 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: Stay within 80 columns. Remove K&R support since it is only partial. Simplify ThreadPThread__pthread_mutex_destroy on non HP-UX/Tru64. Introduce and use macros STATIC_MUTEX and STATIC_CONDITION_VARIABLE to remove tedium (ok, there is only one condition variable..). Rename MAX to M3_MAX to not clash, feels a little safer. From jkrell at elego.de Sun Mar 15 09:56:10 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:56:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315085611.0AFD610D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:56:10 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 Log message: wrap some but not all lines to fit in 80 columns From jkrell at elego.de Sun Mar 15 10:55:53 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 10:55:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315095553.1DBAE10D6057@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 10:55:53 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: Remove platform specific type pthread_key_t, the same way that the statically allocated pthread_mutex_t and pthread_cond_t were removed. For any given: pthread_key_create(foo); pthread_setspecific(foo, value); pthread_getspecific(foo); replace with: pthread_key_create_foo(); pthread_setspecific_foo(value); pthread_getspecific_foo(); which are implemented in C. From jkrell at elego.de Sun Mar 15 10:57:34 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 10:57:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315095734.4CEC5904031@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 10:57:34 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: move Uucontext into its own separate (but so far equal) block, so we can move platforms over to the other common interfaces, without losing platform-specific user-thread support (which I think is isolated to Uucontext.i3, we'll see) From jkrell at elego.de Sun Mar 15 11:29:26 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:29:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315102926.64E4B10D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:29:26 Modified files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Csetjmp.i3 Log message: make jmp_buf opaque -- drop the dependency on Usignal.sigset_t and other small cruft From jkrell at elego.de Sun Mar 15 11:33:17 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:33:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315103317.73DFE904031@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:33:17 Modified files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Csetjmp.i3 Log message: oops, no, put it back From jkrell at elego.de Sun Mar 15 11:57:52 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:57:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315105752.551CF10D6055@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:57:52 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.c Log message: put static on a variable From jkrell at elego.de Sun Mar 15 19:14:54 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 19:14:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315181454.DFA64904095@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 19:14:54 Modified files: cm3/scripts/config/: config.c Log message: add #include sys/time.h to get struct timezone on Linux From jkrell at elego.de Sun Mar 15 19:32:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 19:32:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315183226.1E6D5904095@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 19:32:25 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 ThreadPosixC.c Log message: fix old compilation breaks (3 weeks and undetermined) From jkrell at elego.de Mon Mar 16 01:22:09 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:22:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316002210.03E4C10D60E2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:22:09 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: comments as to how to move backwards in Visual C++ versions, by building with slightly different switches with newer toolsets first; remove rcs id From jkrell at elego.de Mon Mar 16 01:29:09 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:29:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316002909.A7EEF10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:29:09 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 ThreadPosixC.c ThreadPosixC.h m3makefile Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.i3 Log message: Use like Tony's naming style: Foo__Bar, not Foo_Bar or FooC__Bar, at least on the identifiers, some filenames still can be changed from FooC.x to Foo.x (the .h file). Use the portable C implementations of setup_vtalarm, etc., instead of the per-platform nearly identical RTThread.m3 implementations. From jkrell at elego.de Mon Mar 16 01:33:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:33:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003303.97E0D10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:33:03 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.c Added files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.h Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.h Log message: rename ThreadPosixC.h to ThreadPosix.h From jkrell at elego.de Mon Mar 16 01:35:26 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:35:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003527.1A29110D61D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:35:26 Modified files: cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThread.m3 m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile Log message: switch LINUXLIBC6 to portable C for setup_vtalarm, etc. From jkrell at elego.de Mon Mar 16 01:39:49 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:39:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003949.40CB110D60EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:39:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile Log message: switch LINUXLIBC6 to the trimmed down more portable Unix *.i3 files, except for Usignal.i3 and Uucontext.i3. Usignal.i3 and Uucontext.i3 are left alone in order to keep the user thread code compilable, though it is not expected to work for other long standing reasons. From jkrell at elego.de Mon Mar 16 01:46:30 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:46:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316004631.00B0B10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:46:30 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c Log message: Use file-level static instead of globally unique names. Take a chance on typedefs since they have smaller scope (no linkage). From jkrell at elego.de Mon Mar 16 02:50:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 2:50:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316015100.10A6510D5FE6@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 02:50:59 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: eliminate a few tabs, they don't render consistently From jkrell at elego.de Mon Mar 16 03:08:00 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 3:08:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316020800.C7D4790401A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 03:08:00 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: reverse assertion about mode_t vs. int From jkrell at elego.de Mon Mar 16 09:12:33 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:12:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316081233.B802510D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:12:33 Added files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 Log message: I forgot to add this, needed for compiling user threads. From jkrell at elego.de Mon Mar 16 09:19:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:19:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316081959.E2AB910D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:19:59 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 Log message: comment only, as to why the function is InitC instead of Init (because there is already ThreadF.Init) From jkrell at elego.de Mon Mar 16 09:21:47 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:21:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316082147.5BC0910D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:21:47 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uconstants.c Log message: temporary compat hack..but maybe this is masking some larger problem of building out of sync stuff? From jkrell at elego.de Mon Mar 16 09:26:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:26:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316082700.0C37810D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:26:59 Modified files: cm3/m3-libs/m3core/src/unix/darwin-ppc/: Uucontext.i3 Log message: change u_int32_t to uint32_t for compat with Common/Utypes.i3 (could also add u_int32_t to Common/Utypes.i3 From jkrell at elego.de Mon Mar 16 09:32:25 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:32:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316083226.12EF410D5EE1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:32:25 Modified files: cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 Log message: remove unused import of uint16_t From jkrell at elego.de Mon Mar 16 10:18:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 10:18:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316091823.0EF7A10D544D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 10:18:22 Modified files: cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTThread.m3 cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: move PPC_DARWIN to smaller more portable unix/Common/*.i3 files From jkrell at elego.de Mon Mar 16 11:12:55 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 11:12:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316101255.6BF9310D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 11:12:55 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/WIN32/: SchedulerPosix.m3 ThreadInternal.i3 Log message: restore structuring that allows Cygwin to easily switch to Win32 threads; it's really not a terrible thing even if Cygwin doesn't use it From jkrell at elego.de Mon Mar 16 12:54:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 12:54:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316115422.26F5110D5FCB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 12:54:20 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 Log message: don't use confuse the array's header for its first element; for that matter, don't bother wasting space on the header, just use calloc/free directly From jkrell at elego.de Mon Mar 16 12:57:46 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 12:57:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316115747.1A3E010D5FCA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 12:57:46 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: don't bother disabling switching unless the pointer to be freed is not NULL From jkrell at elego.de Mon Mar 16 13:01:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 13:01:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316120121.A53DC714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 13:01:19 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: don't bother disabling switching unless the pointer to be freed is not NULL (what about the store of NULL? Does it need to be while no switching?) only makes a difference for user threads.. From jkrell at elego.de Mon Mar 16 13:13:40 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 13:13:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316121340.831B510D5FC5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 13:13:40 Modified files: cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: fix wrt to moving to smaller/more portable .i3 files -- how did I not catch this earlier? From jkrell at elego.de Mon Mar 16 14:02:33 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 14:02:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316130236.6D62910D613A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 14:02:33 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: go back to old/big .i3 files for PPC_DARWIN at least pending investigation of mentor erroring, something socket related From jkrell at elego.de Mon Mar 16 23:17:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 23:17:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316221715.AA75F10D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 23:17:15 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile Log message: switch all to common Uutmp.i3 -- minor From jkrell at elego.de Tue Mar 17 10:38:27 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 10:38:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317093827.A887810D5FDB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 10:38:27 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 Log message: fix very bad typo From jkrell at elego.de Tue Mar 17 12:28:37 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:28:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317112837.DEF3810D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:28:37 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: multi-part experiment 1: wrap everything 2: wrap everything taking input socklen_t 3: wrap everything taking input/output socklen_t Result is removal of platform-specific socklen_t. But at the cost of 200 lines of C (though really #1 has nothing to do with socklen_t, #2 is /perhaps/ optional, #3 is the real part), perhaps this is not worthwhile. I could argue the 200 lines are simple and not dense, but "lines are lines"? Also, this approach is definitely tedious and therefore error-prone. socklen_t so far is 32 bit unsigned everywhere except: signed on Cygwin size_t on HP-UX, therefore 64 bits on PA64_HPUX/IA64_HPUX There is something fishy going on in that it seems folks were in places passing ADR(INTEGER) here, which should fail to compile on everything but Cygwin, esp. 64 bit platforms. Could be that subranges don't define different types in this context? UNTRACED REF BITS 32 FOR [0..1] same type as UNTRACED REF BITS 32 FOR [0..2]? I was considering making changes in the clients instead. In particular, the in/out socklen_t* is actually only used for input, but there are a fair number of clients to visit: m3-comm\tcp\src\POSIX\IP.m3 m3-comm\tcp\src\POSIX\TCP.m3 m3-comm\tcp\src\POSIX\TCPExtras.m3 m3-comm\tcp\src\POSIX\TCPHack.m3 m3-comm\tcp\src\POSIX\TCPExtras.m3 m3-comm\tcp\src\POSIX\TCPPeer.m3 m3-comm\udp\src\POSIX\UDPPosix.m3 m3-demo\mentor\src\sorting\audio\MidiLineServer.m3 m3-lectern\lecternclient\src\POSIX\LecternClientPosix.m3 m3-libs\libm3\src\os\POSIX\SocketPosix.m3 m3-ui\jvideo\src\POSIX\decunix\JVSink.m3 m3-ui\jvideo\src\POSIX\decunix\Jv.m3 From jkrell at elego.de Tue Mar 17 12:32:42 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:32:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317113242.D5FBA10D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:32:42 Added files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.c Log message: forgot to add From jkrell at elego.de Tue Mar 17 12:55:13 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:55:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115513.A0D1810D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:55:13 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCP.m3 Log message: likely fix for 64 bit systems -- TCP_NODELAY presumably takes an int not a full INTEGER From jkrell at elego.de Tue Mar 17 12:56:13 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:56:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115613.4E01610D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:56:13 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCPHack.m3 Log message: likely fix for 64 bit systems -- TCP_NODELAY presumably takes an int not a full INTEGER From jkrell at elego.de Tue Mar 17 12:59:41 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:59:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115941.7854010D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:59:41 Modified files: cm3/m3-comm/tcp/src/WIN32/: TCP.m3 Log message: 64 bit fix -- TCP_NODELAY takes a 32bit BOOL, not a potentially 64 bit INTEGER From jkrell at elego.de Tue Mar 17 13:02:05 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:02:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120205.8B6B610D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:02:05 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 Log message: use a 32 bit int for TCP_NODELAY From jkrell at elego.de Tue Mar 17 13:03:03 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:03:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120303.5833710D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:03:03 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 Log message: again, use a 32 bit int for TCP_NODELAY (only affects Ultrix and OSF1/Tru64) From jkrell at elego.de Tue Mar 17 13:07:40 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:07:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120740.B741F10D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:07:40 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCP.m3 m3makefile Removed files: cm3/m3-comm/tcp/src/POSIX/: SockOpt.i3 SockOptFBSD.m3 SockOptOther.m3 Log message: remove obsolete-looking workarounds for obsolete platforms From jkrell at elego.de Tue Mar 17 13:20:28 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:20:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317122028.6321310D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:20:28 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c cm3/m3-libs/m3core/src/unix/Common/: Utypes.i3 cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 Log message: oops, fix socklen_t From jkrell at elego.de Tue Mar 17 13:24:38 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:24:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317122438.A894610D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:24:38 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Utypes.i3 Usocket.i3 Log message: cosmetic -- have Usocket.i3 get socklen_t from Utypes.i3 (should it be exported from both? not a big deal) From jkrell at elego.de Tue Mar 17 13:30:30 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:30:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123031.84BE010D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:30:30 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: Wrap fcntl because it is varargs. Thanks Daniel! See: http://edoofus.blogspot.com/2008/08/interesting-bug-unbreaking-cvsupamd64.html From jkrell at elego.de Tue Mar 17 13:33:49 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:33:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123349.7B14B10D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:33:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: ioctl is also varargs, so also wrap it From jkrell at elego.de Tue Mar 17 13:35:56 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:35:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123556.C018910D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:35:56 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 Log message: just add some newlines From jkrell at elego.de Tue Mar 17 13:40:47 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:40:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317124047.4CB0910D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:40:47 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosixC.i3 Log message: the name is 'fcntl', not 'fnctl' From jkrell at elego.de Tue Mar 17 13:41:36 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:41:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317124136.0F53710D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:41:36 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosixC.c Log message: fix newlines (dos2unix) From jkrell at elego.de Tue Mar 17 17:45:29 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 17:45:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317164529.8DD4110D5FD5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 17:45:29 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: switch again to smaller/portable *.i3 files, now that networking fixed -- mentor works formsedit still tends to bus error but it was going that already From jkrell at elego.de Tue Mar 17 17:56:02 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 17:56:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317165602.F124210D5FD5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 17:56:02 Modified files: cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 Log message: time_t from int32_t to INTEGER, to match darwin-generic, for future PPC64_DARWIN port or AMD64_DARWIN switch to this file From jkrell at elego.de Wed Mar 18 15:10:18 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 18 Mar 2009 15:10:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090318141018.3472D10D60EE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/18 15:10:18 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: 1. Should fix Solaris Tinderbox. 2. Should prepare for moving Solaris to smaller .i3 files, by integrating a workaround from the Solaris-2-x directory, not yet active due to #1. 3. A risky 'fix' to try to get ioctl declared. That might not even be required, but it is definitely generally desirable. On some systems, unistd.h suffices (apparent example: Solaris). Add sys/ioctl.h, which looks viable at least on Linux and Darwin. This definitely might break some platforms, but should also be easy to fix. From jkrell at elego.de Wed Mar 18 15:14:03 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 18 Mar 2009 15:14:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090318141403.250FD10D60EE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/18 15:14:03 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: oops -- FreeBSD Tinderbox, but not FreeBSD specific, just sloppy of me From jkrell at elego.de Thu Mar 19 09:02:31 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:02:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080231.AAE25714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:02:31 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Uucontext.i3 Usignal.i3 Log message: replace Utypes.caddr_t with equivalent ADDRESS replace Utypes.u_long with equivalent Ctypes.unsigned_long for compatibility with Common/Utypes.i3 We could also add these to Common/Utypes.i3 if anyone prefers. From jkrell at elego.de Thu Mar 19 09:07:17 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:07:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080717.BC1A9714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:07:17 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 Log message: remove unused import of uint32_t From jkrell at elego.de Thu Mar 19 09:09:22 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:09:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080922.4A299714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:09:22 Modified files: cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: remove unused import of uint32_t From jkrell at elego.de Thu Mar 19 09:13:50 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:13:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319081350.1E714714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:13:50 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Unix.i3 Log message: MAX_FDSET in my Solaris 2.10 /usr/include clearly defaults to 1024 for 32bit, not the 64 that was here (This should really be dynamically sized to fit whatever value file handles you get, right?). From jkrell at elego.de Thu Mar 19 09:18:14 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:18:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319081814.1B3BC714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:18:14 Modified files: cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: tv_sec and tv_usec are INTEGER not int32_t => 64bits on 64bit platforms From jkrell at elego.de Thu Mar 19 10:07:14 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 10:07:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319090714.7981B10D5FD0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 10:07:14 Modified files: cm3/m3-ui/vbtkit/src/lego/POSIX/: ScrollerVBTClass.m3 Log message: fail an assertion right before we access violate (dump core, etc.) From jkrell at elego.de Thu Mar 19 10:23:58 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 10:23:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319092358.1876610D5FCC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 10:23:58 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c m3makefile cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile Log message: Switch SOLgnu and SOLsun to new/smaller/more portable Unix/*.i3 files. Leave Uucontext.i3, Usignal.i3, Uframe.i3, like LINUXLIBC6/PPC_DARWIN, so that user threads still compile. Forgot to cleanup RTThread's signal stuff but ok, it can wait. Only tested SOLgnu, not SOLsun. From jkrell at elego.de Thu Mar 19 12:18:54 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 12:18:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319111854.B1B8B10D5FF3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 12:18:54 Added files: cm3/scripts/: version Log message: add version file, to be consumed later From jkrell at elego.de Sat Mar 21 12:47:26 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:47:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114726.CEDD410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:47:26 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: FreeBSD4 Log message: remove carriage returns From jkrell at elego.de Sat Mar 21 12:48:23 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:48:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114823.6F4D410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:48:23 Added files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: initial version, copied from FreeBSD4 From jkrell at elego.de Sat Mar 21 12:49:27 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:49:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114927.964CE10D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:49:27 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: I386_OPENBSD Log message: remove carriage returns From jkrell at elego.de Sat Mar 21 12:50:56 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:50:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321115056.CF8F410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:50:56 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: AMD64_FREEBSD Log message: remove carriage returns From jkrell at elego.de Sun Mar 22 10:01:44 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:01:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322090144.33DC1714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:01:43 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Umman.i3 Log message: add missin off_t import From jkrell at elego.de Sun Mar 22 10:14:23 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:14:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322091424.67055714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:14:23 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Unix.i3 Utypes.i3 Log message: off_t must be a scalar, not a struct, for FilePosix.m3 to compile -- make it a LONGINT instead of struct with two 32bit integers From jkrell at elego.de Sun Mar 22 10:28:02 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:28:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322092802.9CC3C714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:28:02 Modified files: cm3/scripts/python/: pylib.py Log message: some I386_NETBSD (aka NetBSD2_i386) support; print tar vs. del in the correct order From jkrell at elego.de Sun Mar 22 10:43:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:43:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322094317.8FA7C714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:43:14 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: m3makefile Log message: add h_source(ThreadPosix) to get ThreadPosix.h into bootstrap archives (e.g. NetBSD/x86 still uses user threads) From jkrell at elego.de Sun Mar 22 11:13:07 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:13:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322101307.69E42714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:13:07 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: more .h files missing from bootstrap packages -- UerrorX.h at least, probably m3unix.h, throw in Uucontext.h From jkrell at elego.de Sun Mar 22 11:50:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:50:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322105049.A776A714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:50:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: fix duplicate unit m3unix.h; remove a tab From jkrell at elego.de Sun Mar 22 11:53:17 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:53:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322105317.59C54714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:53:17 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: compat with common/Utypes.i3 -- change u_int32_t to unsigned_int From jkrell at elego.de Sun Mar 22 12:05:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 12:05:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322110513.E6A35714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 12:05:13 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Usignal.i3 Log message: checkin correct file -- compat with common/Utypes.i3, change Utypes.u_int32_t to Ctypes.unsigned_int From jkrell at elego.de Sun Mar 22 12:09:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 12:09:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322110925.F1452714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 12:09:25 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: go back a version due to inadvertant commit (though it's going forward shortly anyway) From jkrell at elego.de Sun Mar 22 13:13:21 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:13:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322121321.EB66A714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:13:21 Added files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c Log message: opendir should be wrapped on NetBSD (not yet active) From jkrell at elego.de Sun Mar 22 13:16:46 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:16:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322121646.2545B714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:16:46 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c Log message: add include sys/types like opengroup docs show From jkrell at elego.de Sun Mar 22 13:21:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:21:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122114.06F5D714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:21:13 Modified files: cm3/m3-libs/m3core/src/: thread.quake cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 m3makefile cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: Switch NetBSD/x86 to pthreads and new/small/more-portable unix/*.i3 files. From jkrell at elego.de Sun Mar 22 13:23:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:23:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122325.B7824714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:23:25 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 Log message: fix From jkrell at elego.de Sun Mar 22 13:24:16 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:24:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122416.75380714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:24:16 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 Log message: fix From mand at elego.de Fri Mar 27 13:35:11 2009 From: mand at elego.de (Michael Anderson) Date: Fri, 27 Mar 2009 13:35:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090327123511.592DD60C150@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mand at birch. 09/03/27 13:35:11 Added files: cm3/www/: service_notice.html Log message: maintenance From mand at elego.de Fri Mar 27 13:48:47 2009 From: mand at elego.de (Michael Anderson) Date: Fri, 27 Mar 2009 13:48:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090327124847.A49C960C150@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mand at birch. 09/03/27 13:48:47 Removed files: cm3/www/: service_notice.html Log message: took down service notice From jkrell at elego.de Sat Mar 28 14:45:45 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 28 Mar 2009 14:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090328134545.5E6CC60C153@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/28 14:45:45 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: get odbc and postgres from their usual /usr/pkg install location (if built/installed from pkgsrc) use -rpath-link to inhibit the build-time paths from going into the files and being searched => encourage use of local $LD_LIBRARY_PATH instead use of $ORIGIN/../lib would be nice, but that's not available until 5.0 it appears (this change not in upcoming packages, so they will look in /tmp/blah and $LD_LIBRARY_PATH) add -Wl,-R for X to be found at runtime, not just build-time (contrary to the use of -rpath-link -- using -rpath-link for Modula-3 libraries which perhaps have no standard install location, but using -rpath for stuff with standard location) From jkrell at elego.de Sat Mar 28 14:47:05 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 28 Mar 2009 14:47:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090328134705.60D9160C153@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/28 14:47:05 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: cleanup From jkrell at elego.de Sun Mar 29 04:50:32 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 29 Mar 2009 4:50:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090329025032.2932460C154@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/29 04:50:32 Modified files: cm3/scripts/python/: boot1.py Log message: comments only From jkrell at elego.de Mon Mar 30 11:47:02 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 11:47:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330094702.E7BD060C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 11:47:02 Modified files: cm3/m3-sys/m3tests/src/: src.pl Log message: put in Unix newlines (dos2unix) From jkrell at elego.de Mon Mar 30 11:48:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 11:48:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330094803.718F260C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 11:48:03 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: print more information when it fails pad it out for alignment to fix Cygwin failing (maybe should pad with an __int64 or double instead of size_t, given that it already ends with size_ts and presumably the doubles are the problem?) From jkrell at elego.de Mon Mar 30 15:40:27 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:40:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134027.B3F8560C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:40:27 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: Move calls to RAISE to separate functions, so that we don't pay for an exception handling frame in the common success case. Change the TypeDefn checks so that each failure case is on a unique line in unoptimized code, so from the line numbers in the callstack, one can determine what condition failed. From jkrell at elego.de Mon Mar 30 15:43:01 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:43:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134301.6F1B660C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:43:01 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: fix typo in comment From jkrell at elego.de Mon Mar 30 15:45:19 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:45:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134519.AE29C60C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:45:19 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: reuse CheckTypeFailed in the other place that used 'force a change fault' From jkrell at elego.de Mon Mar 30 15:46:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:46:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134603.9732060C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:46:03 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: put semicolon back -- ok either way From jkrell at elego.de Mon Mar 30 23:52:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:52:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215215.546DE60C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:52:15 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c Log message: merge threadlocal "handlers" into threadlocal "activations" point being to conserve threadlocals From jkrell at elego.de Mon Mar 30 23:55:22 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:55:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215522.5792C60C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:55:22 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: put one line back to quash warning, though the code was ok From jkrell at elego.de Mon Mar 30 23:59:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:59:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215931.9350960C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:59:31 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: Repeat the initializer in assertions, though perhaps we shouldn't assert the parts we immediately overwrite? From rodney at elego.de Sun Mar 1 18:19:32 2009 From: rodney at elego.de (Rodney M. Bates) Date: Sun, 1 Mar 2009 18:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090301171932.CA77B72575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 09/03/01 18:19:32 Modified files: cm3/m3-sys/m3cc/gcc/gcc/: tree-nested.c Log message: Some partial fixes to tree-nested.c, toward fixing the broken debugger support of static links. Mostly just better comments and consistification of use of terminology that was already defined. From jkrell at elego.de Sun Mar 1 23:59:06 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 1 Mar 2009 23:59:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090301225906.A4FD272575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/01 23:59:06 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: friendly message on HP-UX when forgot to build with -pthread or -pthread From rodney at elego.de Mon Mar 2 03:48:55 2009 From: rodney at elego.de (Rodney M. Bates) Date: Mon, 2 Mar 2009 3:48:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302024855.A681E10D5F73@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 09/03/02 03:48:55 Modified files: cm3/scripts/: sysinfo.sh Log message: Add target AMD64_LINUX (when uname -n returns "x86_64"). Most package actions, e.g., "build" are done by cm3, which is getting its target another way, but "realclean" uses the TARGET variable set here, and was cleaning the wrong derived directory in this case. From jkrell at elego.de Mon Mar 2 09:28:45 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 9:28:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302082846.37B64784001@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 09:28:45 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common Log message: HP-UX has variants of pthreads functions that just return ENOSYS -- do link to -lpthread, don't explicitly link to -lc, that gets us working functions; I don't have libXaw or libXmu but am able to build X stuff without them, so remove them. From jkrell at elego.de Mon Mar 2 09:31:58 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 9:31:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302083158.E002910D5F78@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 09:31:58 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: long error message on HP-UX before the assertion failure From jkrell at elego.de Mon Mar 2 15:54:04 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 15:54:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302145404.EDE1A10D5FBF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 15:54:04 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: cm3cfg.common Log message: let gcc optimize itself From jkrell at elego.de Mon Mar 2 15:56:19 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 15:56:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302145619.0909710D5FBF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 15:56:19 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common PA32_HPUX Unix.common Log message: enable shared libraries on HP-UX, fix X/Windows and OpenGL From jkrell at elego.de Mon Mar 2 16:33:53 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 16:33:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302153353.7DA1B10D5FA3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 16:33:53 Modified files: cm3/www/uploaded-archives/: targets.txt Log message: add PA32_HPUX From jkrell at elego.de Mon Mar 2 21:18:07 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 2 Mar 2009 21:18:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090302201807.71F6C10D5FA9@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/02 21:18:07 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: HPUX.common PA64_HPUX Unix.common Log message: Fix typo that breaks "many" platforms. Small HP-UX tweaks -- comment about -lc, shorten hppa64-hpux name. From hosking at elego.de Tue Mar 3 04:24:36 2009 From: hosking at elego.de (Antony Hosking) Date: Tue, 3 Mar 2009 4:24:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303032436.43B5C9040AB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/03/03 04:24:36 Modified files: cm3/m3-sys/m3front/src/builtinOps/: Adr.m3 Cas.m3 CasP.m3 Dec.m3 Dispose.m3 Inc.m3 Loophole.m3 Subarray.m3 cm3/m3-sys/m3front/src/exprs/: CallExpr.i3 CastExpr.m3 DerefExpr.m3 Expr.i3 Expr.m3 ExprRep.i3 KeywordExpr.m3 QualifyExpr.m3 SubscriptExpr.m3 cm3/m3-sys/m3front/src/misc/: RunTyme.m3 cm3/m3-sys/m3front/src/stmts/: AssignStmt.m3 WithStmt.m3 cm3/m3-sys/m3front/src/values/: Formal.m3 Log message: Fix generation of write barrier for generational GC. Previously, we were generating unnecessary barriers for stores to untraced heap cells. Since these cannot contain traced references stores to them need not be tracked. Rationalize passing of lhs parameter to PrepLV and CompileLV methods and procedures. This permits us to assert consistent invocation of both PrepLV and CompileLV. From jkrell at elego.de Tue Mar 3 15:54:23 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 15:54:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303145423.C3DEE9041A7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 15:54:23 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: fix SOLgnu and presumably SOLsun From jkrell at elego.de Tue Mar 3 16:03:32 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 16:03:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303150333.EC9B79041A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 16:03:32 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: adapt for SOLsun/SOLgnu -- Modula-3's jumpbuf is larger than needed, ok (but investigate and consider fixing) From jkrell at elego.de Tue Mar 3 16:09:53 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 16:09:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303150956.48D969041B8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 16:09:53 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: clarify that the Modula-3 jmpbuf actually matches sigjmp_buf, not sure that is right but that is what it is From jkrell at elego.de Tue Mar 3 21:37:00 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 21:37:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303203702.1A5FA10D5E5B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 21:37:00 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: compile Usysdep for LINUXLIBC6 to fix tests; adapt test for LINUXLIBC6 (and very possibly others) by removing struct tm From jkrell at elego.de Tue Mar 3 21:40:37 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 21:40:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303204037.8651410D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 21:40:37 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: remove entire tail, I don't think it adds any value From jkrell at elego.de Tue Mar 3 22:01:45 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:01:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303210145.7D34E10D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:01:45 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: remove carriage return From jkrell at elego.de Tue Mar 3 22:08:50 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:08:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303210850.DB59310D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:08:50 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c Log message: adapt for MacOSX 10.4 simply by putting static on a variable otherwise: --- building in PPC_DARWIN --- -> archiving libm3core.a ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers (size 84) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed make_lib => 256 From jkrell at elego.de Tue Mar 3 22:16:15 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:16:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303211615.AF57510D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:16:15 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-sys/m3tests/src/: TestC.c Log message: enable on PPC_DARWIN to fix tests; adapt to PPC_DARWIN (10.4) by adding some #includes, and move one include so it looks like there is a system to the ordering From jkrell at elego.de Tue Mar 3 22:23:57 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 3 Mar 2009 22:23:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090303212357.B044410D5DD8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/03 22:23:57 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: enable for platforms I don't have ready access too or that aren't used much (ie: not tested) FreeBSD (can watch Tinderbox and maybe set it up later) x86/AMD64 Darwin (hopefully ppc DARWIN is reasonable facsimile) NetBSD (not used much; can bring back up and test later) 64bit Solaris (not used much; can test at least SPARC64 later) left disabled for bunch of dormant platforms From hosking at cs.purdue.edu Tue Mar 3 23:51:47 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 4 Mar 2009 09:51:47 +1100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20090303210850.DB59310D5DD8@birch.elegosoft.com> References: <20090303210850.DB59310D5DD8@birch.elegosoft.com> Message-ID: You should use static for all non-externals (private) symbols to avoid pollution of the global namespace. On 3 Mar 2009, at 22:08, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/03 22:08:50 > > Modified files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c > > Log message: > adapt for MacOSX 10.4 simply by putting static on a variable > otherwise: > --- building in PPC_DARWIN --- > -> archiving libm3core.a > ld: common symbols not allowed with MH_DYLIB output format with the > -multi_module option > RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers > (size 84) > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link > edit command failed > make_lib => 256 From hosking at cs.purdue.edu Tue Mar 3 23:54:00 2009 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 4 Mar 2009 09:54:00 +1100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20090303210850.DB59310D5DD8@birch.elegosoft.com> References: <20090303210850.DB59310D5DD8@birch.elegosoft.com> Message-ID: You should use static for all non-externals (private) symbols to avoid pollution of the global namespace. On 3 Mar 2009, at 22:08, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/03 22:08:50 > > Modified files: > cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c > > Log message: > adapt for MacOSX 10.4 simply by putting static on a variable > otherwise: > --- building in PPC_DARWIN --- > -> archiving libm3core.a > ld: common symbols not allowed with MH_DYLIB output format with the > -multi_module option > RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers > (size 84) > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link > edit command failed > make_lib => 256 From jkrell at elego.de Wed Mar 4 12:00:05 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 12:00:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304110005.D4B1110D5EDF@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 12:00:05 Modified files: cm3/m3-sys/m3tests/src/r0/r004/: stderr.pgm Log message: adjust overly picky test case From jkrell at elego.de Wed Mar 4 20:18:48 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:18:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304191848.D0EC410D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:18:48 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: put doubles first to try to account for possible alignment problems, though it works for me on birch, fix some warnings, bottleneck casts in a macro, print more info in the error path From jkrell at elego.de Wed Mar 4 20:22:31 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:22:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304192232.034FA72575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:22:31 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 Log message: (checkin the other file oops) put doubles first to try to account for possible alignment problems, though it works for me on birch, fix some warnings, bottleneck casts in a macro, print more info in the error path From jkrell at elego.de Wed Mar 4 20:29:00 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:29:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304192900.2C52010D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:29:00 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: print the bytes..I see it now.. From jkrell at elego.de Wed Mar 4 20:50:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:50:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304195036.1FEF872575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:50:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: pass doubles through unchanged, needs further investigation From jkrell at elego.de Wed Mar 4 20:56:37 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 20:56:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304195637.5E8AA10D4666@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 20:56:37 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: it was supposed to be #if not #ifdef oops; still needs more investigation but should be ok again for native builds, big endian or little From jkrell at elego.de Wed Mar 4 22:07:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:07:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304210735.2BDA910D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:07:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: a little shorter From jkrell at elego.de Wed Mar 4 22:08:59 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:08:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304210859.AF15D10D5F0A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:08:59 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: a little shorter From jkrell at elego.de Wed Mar 4 22:11:00 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:11:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304211100.E418210D5F08@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:11:00 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: fix From jkrell at elego.de Wed Mar 4 22:13:35 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 4 Mar 2009 22:13:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090304211335.ABC2410D5F08@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/04 22:13:35 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: put it in a form that gcc is able to optimize From hosking at elego.de Thu Mar 5 03:59:50 2009 From: hosking at elego.de (Antony Hosking) Date: Thu, 5 Mar 2009 3:59:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090305025950.D3EC110D5F02@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 09/03/05 03:59:50 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTType.m3 Log message: Let's use calloc instead of malloc + Zero. From jkrell at elego.de Sat Mar 7 06:24:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:24:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307052401.19B58904050@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:24:00 Modified files: cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 Log message: fix mode_t From jkrell at elego.de Sat Mar 7 06:41:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:41:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307054101.2770310D5EE4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:41:00 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Test.i3 Log message: mode_t really isn't interesting, stop testing it, it is only used in three parameter lists, one of which isn't used, and no structs, we can change the parameters to int, and cast in the C wrappers if it really matters From jkrell at elego.de Sat Mar 7 06:53:36 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 6:53:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307055336.91C2990404F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 06:53:36 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: mode_t really isn't interesting, stop testing it, it is only used in three parameter lists, one of which isn't used, and no structs, we can change the parameters to int, and cast in the C wrappers if it really matters From jkrell at elego.de Sat Mar 7 19:31:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:31:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307183100.7EE9F10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:31:00 Modified files: cm3/scripts/: lzma.sh Log message: the lzma man page says it does a little better wiht regular files instead of streams; it seems to me it could go back and fixup the streamed files but oh well From jkrell at elego.de Sat Mar 7 19:44:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:44:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307184433.928F510D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:44:33 Modified files: cm3/scripts/: find-packages.sh Log message: examples/web clashes with m3-www/web, exclude examples from std packages; examples/web also fails to build, fix that another time From jkrell at elego.de Sat Mar 7 19:56:33 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 19:56:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307185633.25A4E10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 19:56:33 Modified files: cm3/scripts/python/: pylib.py Log message: copy all config *.common files -- i.e. was missing Solaris.common and HPUX.common From jkrell at elego.de Sat Mar 7 20:15:43 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:15:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307191544.0169010D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:15:43 Modified files: cm3/scripts/python/: pylib.py Log message: try this again: copy all config *.common files -- i.e. was missing Solaris.common and HPUX.common From jkrell at elego.de Sat Mar 7 20:35:03 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193503.9893510D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:03 Modified files: cm3/m3-sys/m3tests/src/p0/p001/: Main.m3 Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193513.ADF3910D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:13 Added files: cm3/m3-sys/m3tests/src/p2/p212/: m3makefile Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:20 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193520.DCCBC10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:20 Added files: cm3/m3-sys/m3tests/src/p2/p212/: Main.m3 Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:35:28 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:35:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307193528.E0BA710D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:35:28 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Log message: [cvs crashing for multiple file checkins] put this stuff in a separate test, run early, though I'd really like it in RTLinker start, as usually a test case is too late From jkrell at elego.de Sat Mar 7 20:43:02 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:43:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194302.D71BF10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:43:02 Added files: cm3/m3-sys/m3tests/src/p2/p212/: stderr.build stderr.pgm stdout.build stdout.pgm Log message: missing files not interpreted as empty so add them From jkrell at elego.de Sat Mar 7 20:44:08 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:44:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194408.A96CD10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:44:08 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Test.i3 Log message: again Cygwin is failing if the arrays contain an even number of elements so make them even From jkrell at elego.de Sat Mar 7 20:46:05 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:46:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194605.BF16610D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:46:05 Modified files: cm3/m3-sys/m3tests/src/p2/p211/: stdout.pgm Added files: cm3/m3-sys/m3tests/src/p2/p211/: stderr.build stdout.build Log message: add missing empty output files here too From jkrell at elego.de Sat Mar 7 20:47:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 20:47:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307194713.F136B10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 20:47:13 Modified files: cm3/m3-sys/m3tests/src/p2/p211/: stdout.pgm Log message: restore non empty output From jkrell at elego.de Sat Mar 7 21:58:24 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 21:58:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307205824.A1B3972575B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 21:58:24 Modified files: cm3/www/uploaded-archives/: update_download_index.sh Log message: use a consistent ordering (sort) From jkrell at elego.de Sat Mar 7 22:19:18 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:19:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307211918.B1AAC10D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:19:18 Added files: cm3/scripts/: fix-lzma-timestamps.sh Log message: apply .tar.gz timestamps to .tar.lzma files From jkrell at elego.de Sat Mar 7 22:21:00 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:21:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307212100.6E45110D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:21:00 Removed files: cm3/scripts/: fix-lzma-timestamps.sh Log message: delete and try to make it executable From jkrell at elego.de Sat Mar 7 22:21:37 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 22:21:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307212137.5987710D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 22:21:37 Added files: cm3/scripts/: fix-lzma-timestamps.sh Log message: re-add, executable this time From jkrell at elego.de Sat Mar 7 23:05:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 7 Mar 2009 23:05:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090307220525.125EC10D5EE7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/07 23:05:25 Modified files: cm3/scripts/python/: pylib.py Log message: when switching config file to 'development mode' that uses the source tree, be sure to delete all the 'distribution config files' so they don't get found by the probing; also print a bit more From jkrell at elego.de Sun Mar 8 13:22:29 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 13:22:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308122229.D50A310D5EE8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 13:22:29 Modified files: cm3/m3-libs/m3core/src/time/Common/: FmtTime.m3 Log message: grow time buuffer to accomodate the unusual long time zone on my machine: "Local time zone must be set--see zic manual page" One might expect to put 50 here, but the other numbers are all wierd so I arrived at at 48 as sufficient experimentally. From jkrell at elego.de Sun Mar 8 21:15:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 21:15:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308201549.9554E90402D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 21:15:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Utypes.i3 m3makefile cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Added files: cm3/m3-libs/m3core/src/unix/Common/: Unix.m3 Log message: eliminate mode_t and Unix.creat replace mode_t with just int, and assert that it fits it was a variety of platform-specific signed/unsigned 16 and 32 bit integer it used to occur in struct stat so its size mattered wrap mkdir on the off chance that passing int vs. mode_t is different Unix.creat was never used (presumably open is a superset and suffices) built "std" on LINUXLIBC6 From jkrell at elego.de Sun Mar 8 21:21:04 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 21:21:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308202104.2285F90402D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 21:21:04 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: cleanup: no quotes needed, move access flags next to it, remove obsolete or incorrect comment (the wrappers no longer exist, maybe they were never used), shorten comment, comment grammar From jkrell at elego.de Sun Mar 8 22:04:35 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 8 Mar 2009 22:04:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090308210435.83E6D10D5F61@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/08 22:04:35 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.c Uucontext.i3 cm3/m3-libs/m3core/src/unix/Common/context/setjmp/: context.c context.h m3makefile Log message: Wrap up the context functions in functions prefixed with Uucontext__ in particular so that systems that have the functions in some versions but not others do not have a name clash when we provide them. In particular, Darwin got the functions in 10.5. Wrapping a vararg function for which there is no version that takes a va_list (counterexample: sprintf/vsprintf) is problematic and we have a hardcoded limit (makecontext). And of course rename our implementations for systems without (Darwin <10.5, OpenBSD). From jkrell at elego.de Mon Mar 9 02:57:13 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 2:57:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309015713.E978C10D443E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 02:57:13 Added files: cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c Log message: Potential replacement for TimePosix.m3. - sort of more portable (but we traffic in timeval_t in public interface) - greatly mitigates the issue in computation of Grain by computing it a few times and only accepting a value that is the same a few times in a row. On HP-UX I have seen 0.0002 and 0.0003, which really suggests the right answer is 0.0001? (not the actual number of zeros). Bigger problem is hang on PA64_HPUX, still being investigated, but the C code doesn't hang, and the double constants look ok. From jkrell at elego.de Mon Mar 9 03:01:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 3:01:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309020131.D9AC210D5D25@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 03:01:31 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: TimePosixC.c Log message: remove unused #define From jkrell at elego.de Mon Mar 9 09:20:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:20:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309082023.AC2E410D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:20:23 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: make a guess about FreeBSD jmpbuf size, can do better if this fails -- either disable it or install FreeBSD/x86 locally From jkrell at elego.de Mon Mar 9 09:21:05 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:21:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309082105.D735A10D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:21:05 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: adjust printout From jkrell at elego.de Mon Mar 9 09:31:47 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 9:31:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309083147.75D7D10D5EEA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 09:31:46 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: more convincing fix for FreeBSD/x86 -- it looks like jmpbuf is padded out so that it can be used with sigsetjmp, but presumably we if track down the code, the last integer is not used if you match things up correctly and we are ok to optimize it away From jkrell at elego.de Mon Mar 9 17:55:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 17:55:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309165554.A48F410D5D10@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 17:55:54 Modified files: cm3/m3-comm/tcp/src/POSIX/: IP.m3 cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 m3makefile cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile cm3/m3-libs/m3core/src/unix/linux/: m3makefile cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/os2/: m3makefile cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile cm3/m3-sys/m3tests/src/: Test.i3 TestC.c cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 Added files: cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c Log message: ---------------------------------------------------------------------- eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t via a small copying C wrapper and using int for them always They varied among int32_t, int, int16_t -- Cygwin being the outlier the only int16_t. Switch all platforms to this portable Unetdb.i3 out of near necessity. Enable Uconstants.c for all platforms. From jay.krell at cornell.edu Mon Mar 9 17:59:22 2009 From: jay.krell at cornell.edu (Jay) Date: Mon, 9 Mar 2009 16:59:22 +0000 Subject: [M3commit] Unetdb In-Reply-To: <20090309165554.A48F410D5D10@birch.elegosoft.com> References: <20090309165554.A48F410D5D10@birch.elegosoft.com> Message-ID: diff attached (I wish CVS could show that in one fell swoop, after commit, graphically as well..) All the Unetdb.i3/Unetdb.m3 files can be deleted now, except common/Unetdb.i3. - Jay > Date: Mon, 9 Mar 2009 17:55:54 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/09 17:55:54 > > Modified files: > cm3/m3-comm/tcp/src/POSIX/: IP.m3 > cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 > cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 > m3makefile > cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile > cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile > cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile > cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile > cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile > cm3/m3-libs/m3core/src/unix/linux/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile > cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/os2/: m3makefile > cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile > cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile > cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile > cm3/m3-sys/m3tests/src/: Test.i3 TestC.c > cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 > Added files: > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c > > Log message: > ---------------------------------------------------------------------- > eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t > via a small copying C wrapper and using int for them always > They varied among int32_t, int, int16_t -- Cygwin being the > outlier the only int16_t. > Switch all platforms to this portable Unetdb.i3 out of near necessity. > Enable Uconstants.c for all platforms. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 1.txt URL: From jkrell at elego.de Mon Mar 9 21:35:13 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 21:35:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309203513.3991F10D5FDD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 21:35:13 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UstatC.c Unetdb.c Log message: fix warning on Cygwin; rename stat fields to omit prefix to avoid the problem the wrapper functions were avoiding and comment this in stat and netdb From jkrell at elego.de Mon Mar 9 21:42:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 21:42:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309204254.1669E10D5FDD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 21:42:54 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: add #include sys/stat.h to get prototype of mkdir, at least on MacOSX 10.4, to quiet warning; add extern C wrapping From jay.krell at cornell.edu Mon Mar 9 21:49:22 2009 From: jay.krell at cornell.edu (Jay) Date: Mon, 9 Mar 2009 20:49:22 +0000 Subject: [M3commit] Unetdb In-Reply-To: <20090309165554.A48F410D5D10@birch.elegosoft.com> References: <20090309165554.A48F410D5D10@birch.elegosoft.com> Message-ID: Cool, the Tinderbox pages can show this, e.g.: http://tinderbox.elegosoft.com/tinderbox/cm3/status.html select one of the items on the left and then click "show me all the diffs". - Jay From: jay.krell at cornell.edu To: jkrell at elego.de; m3commit at elegosoft.com Subject: RE: [M3commit] Unetdb Date: Mon, 9 Mar 2009 16:59:22 +0000 diff attached (I wish CVS could show that in one fell swoop, after commit, graphically as well..) All the Unetdb.i3/Unetdb.m3 files can be deleted now, except common/Unetdb.i3. - Jay > Date: Mon, 9 Mar 2009 17:55:54 +0000 > To: m3commit at elegosoft.com > From: jkrell at elego.de > Subject: [M3commit] CVS Update: cm3 > > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 09/03/09 17:55:54 > > Modified files: > cm3/m3-comm/tcp/src/POSIX/: IP.m3 > cm3/m3-demo/mentor/src/sorting/audio/: MidiLineServer.m3 > cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.i3 Utypes.i3 > m3makefile > cm3/m3-libs/m3core/src/unix/aix-3-2/: m3makefile > cm3/m3-libs/m3core/src/unix/aix-ps2-1-2/: m3makefile > cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-1/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-2/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-3/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile > cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile > cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/ibm-4-3/: m3makefile > cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile > cm3/m3-libs/m3core/src/unix/linux/: m3makefile > cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile > cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile > cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/os2/: m3makefile > cm3/m3-libs/m3core/src/unix/osf-1.generic/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile > cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 > cm3/m3-libs/m3core/src/unix/sunos-4-x/: m3makefile > cm3/m3-libs/m3core/src/unix/sysv-4.0/: m3makefile > cm3/m3-libs/m3core/src/unix/ultrix-3-1.generic/: m3makefile > cm3/m3-sys/m3tests/src/: Test.i3 TestC.c > cm3/m3-ui/ui/src/xvbt/: NTClientF.m3 XSharedMem.m3 > Added files: > cm3/m3-libs/m3core/src/unix/Common/: Unetdb.c > > Log message: > ---------------------------------------------------------------------- > eliminate Usysdep.hostent_addrtype_t and Usysdep.hostent_length_t > via a small copying C wrapper and using int for them always > They varied among int32_t, int, int16_t -- Cygwin being the > outlier the only int16_t. > Switch all platforms to this portable Unetdb.i3 out of near necessity. > Enable Uconstants.c for all platforms. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Mar 9 22:11:54 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 22:11:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309211154.AF16D10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 22:11:54 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.h Log message: one should almost never #include other files inside extern C (unless specifically because they lack it and need it) From jkrell at elego.de Mon Mar 9 22:13:16 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 9 Mar 2009 22:13:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090309211316.517EA10D58A3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/09 22:13:16 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uucontext.c Log message: make it legal C++ -- don't use the identifier 'new' From jkrell at elego.de Sat Mar 14 10:34:12 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 14 Mar 2009 10:34:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090314093412.2BECE10D60E7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/14 10:34:11 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 Uconstants.c cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c ThreadPThread.m3 ThreadPThread.i3 Log message: As part of (really, only part) of eliminating the platform specific Upthread.pthread_mutex_t, Upthread.pthread_cond_t, and possibly pthread_t and pthread_key_t, move the statically allocated mutexes and condition variable to C. Each variable is provided with wrapper functions, such as pthread_mutex_lock_foo() pthread_mutex_unlock_foo() to lock/unlock the mutex named "foo" (or fooMu). This is not sufficient to remove the types. From jay.krell at cornell.edu Sat Mar 14 11:31:15 2009 From: jay.krell at cornell.edu (Jay) Date: Sat, 14 Mar 2009 10:31:15 +0000 Subject: [M3commit] test.. Message-ID: test.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Sun Mar 15 09:25:09 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:25:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315082509.8165F904040@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:25:09 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: Remove platform-specificity of dynamically allocated pthread_mutex_t and pthread_cond_t. Replace them with UNTRACED REF ARRAY OF CHAR where size comes from a constant variable "implemented" in C. They were already UNTRACED REFs. This does not add any overhead/indirection beyond what was there. On platforms where they fit in a pointer, which is common but not universal, it would be nice to remove the heap allocation. However the allocation is on-demand and depends on there being a distinguished not-yet-initialized value -- NIL. That is why I have punted on making that optimization. Also wrap pthread_mutex_destroy to workaround bugs in HP-UX and Tru64. (This could be done in Modula-3.) Since we are now, in a sense, lying about the types pthread_cond_t and pthread_mutex_t, or at least changing how they can be used (or at least created), declare them in ThreadPThread.i3 instead of Upthread.i3. That is, if we are going to break unlikely existant consumers of Upthread.i3, break them more severely. That is also, basically nobody is meant to deal with pthread in Modula-3, except for purposes of establishing a portable Modula-3 library/interface, which is what ThreadPThread.m3 is doing. Exposing everything to everyone from the "unix" directory seems, perhaps, wrong. (Unless, perhaps, people are porting a bunch of C to Modula-3, just altering syntax but leaving library calls unchanged; then it is very reasonable.) Note that the mainstream headers are unchanged here actually. They could be drastically cut down. Or, wait until we have user thread support, then just stop using them. The commands about breaking existing clients applies to many platforms, but not all, yet. (Again I think it is worth pushing this internal stuff to a separate interface -- PThreadC.i3 but that was undone in the past.) From jkrell at elego.de Sun Mar 15 09:50:46 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:50:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315085046.A9E9210D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:50:46 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c Log message: Stay within 80 columns. Remove K&R support since it is only partial. Simplify ThreadPThread__pthread_mutex_destroy on non HP-UX/Tru64. Introduce and use macros STATIC_MUTEX and STATIC_CONDITION_VARIABLE to remove tedium (ok, there is only one condition variable..). Rename MAX to M3_MAX to not clash, feels a little safer. From jkrell at elego.de Sun Mar 15 09:56:10 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 9:56:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315085611.0AFD610D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 09:56:10 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 Log message: wrap some but not all lines to fit in 80 columns From jkrell at elego.de Sun Mar 15 10:55:53 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 10:55:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315095553.1DBAE10D6057@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 10:55:53 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c cm3/m3-libs/m3core/src/unix/Common/: Upthread.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: Remove platform specific type pthread_key_t, the same way that the statically allocated pthread_mutex_t and pthread_cond_t were removed. For any given: pthread_key_create(foo); pthread_setspecific(foo, value); pthread_getspecific(foo); replace with: pthread_key_create_foo(); pthread_setspecific_foo(value); pthread_getspecific_foo(); which are implemented in C. From jkrell at elego.de Sun Mar 15 10:57:34 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 10:57:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315095734.4CEC5904031@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 10:57:34 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: move Uucontext into its own separate (but so far equal) block, so we can move platforms over to the other common interfaces, without losing platform-specific user-thread support (which I think is isolated to Uucontext.i3, we'll see) From jkrell at elego.de Sun Mar 15 11:29:26 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:29:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315102926.64E4B10D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:29:26 Modified files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Csetjmp.i3 Log message: make jmp_buf opaque -- drop the dependency on Usignal.sigset_t and other small cruft From jkrell at elego.de Sun Mar 15 11:33:17 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:33:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315103317.73DFE904031@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:33:17 Modified files: cm3/m3-libs/m3core/src/C/LINUXLIBC6/: Csetjmp.i3 Log message: oops, no, put it back From jkrell at elego.de Sun Mar 15 11:57:52 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 11:57:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315105752.551CF10D6055@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 11:57:52 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.c Log message: put static on a variable From jkrell at elego.de Sun Mar 15 19:14:54 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 19:14:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315181454.DFA64904095@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 19:14:54 Modified files: cm3/scripts/config/: config.c Log message: add #include sys/time.h to get struct timezone on Linux From jkrell at elego.de Sun Mar 15 19:32:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 15 Mar 2009 19:32:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090315183226.1E6D5904095@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/15 19:32:25 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 ThreadPosixC.c Log message: fix old compilation breaks (3 weeks and undetermined) From jkrell at elego.de Mon Mar 16 01:22:09 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:22:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316002210.03E4C10D60E2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:22:09 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: comments as to how to move backwards in Visual C++ versions, by building with slightly different switches with newer toolsets first; remove rcs id From jkrell at elego.de Mon Mar 16 01:29:09 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:29:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316002909.A7EEF10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:29:09 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 ThreadPosixC.c ThreadPosixC.h m3makefile Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.i3 Log message: Use like Tony's naming style: Foo__Bar, not Foo_Bar or FooC__Bar, at least on the identifiers, some filenames still can be changed from FooC.x to Foo.x (the .h file). Use the portable C implementations of setup_vtalarm, etc., instead of the per-platform nearly identical RTThread.m3 implementations. From jkrell at elego.de Mon Mar 16 01:33:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:33:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003303.97E0D10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:33:03 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.c Added files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.h Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosixC.h Log message: rename ThreadPosixC.h to ThreadPosix.h From jkrell at elego.de Mon Mar 16 01:35:26 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:35:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003527.1A29110D61D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:35:26 Modified files: cm3/m3-libs/m3core/src/runtime/LINUXLIBC6/: RTThread.m3 m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile Log message: switch LINUXLIBC6 to portable C for setup_vtalarm, etc. From jkrell at elego.de Mon Mar 16 01:39:49 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:39:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316003949.40CB110D60EA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:39:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile Log message: switch LINUXLIBC6 to the trimmed down more portable Unix *.i3 files, except for Usignal.i3 and Uucontext.i3. Usignal.i3 and Uucontext.i3 are left alone in order to keep the user thread code compilable, though it is not expected to work for other long standing reasons. From jkrell at elego.de Mon Mar 16 01:46:30 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 1:46:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316004631.00B0B10D61D3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 01:46:30 Modified files: cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c Log message: Use file-level static instead of globally unique names. Take a chance on typedefs since they have smaller scope (no linkage). From jkrell at elego.de Mon Mar 16 02:50:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 2:50:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316015100.10A6510D5FE6@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 02:50:59 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: eliminate a few tabs, they don't render consistently From jkrell at elego.de Mon Mar 16 03:08:00 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 3:08:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316020800.C7D4790401A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 03:08:00 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: reverse assertion about mode_t vs. int From jkrell at elego.de Mon Mar 16 09:12:33 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:12:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316081233.B802510D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:12:33 Added files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 Log message: I forgot to add this, needed for compiling user threads. From jkrell at elego.de Mon Mar 16 09:19:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:19:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316081959.E2AB910D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:19:59 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.i3 Log message: comment only, as to why the function is InitC instead of Init (because there is already ThreadF.Init) From jkrell at elego.de Mon Mar 16 09:21:47 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:21:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316082147.5BC0910D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:21:47 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Uconstants.c Log message: temporary compat hack..but maybe this is masking some larger problem of building out of sync stuff? From jkrell at elego.de Mon Mar 16 09:26:59 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:26:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316082700.0C37810D5D3F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:26:59 Modified files: cm3/m3-libs/m3core/src/unix/darwin-ppc/: Uucontext.i3 Log message: change u_int32_t to uint32_t for compat with Common/Utypes.i3 (could also add u_int32_t to Common/Utypes.i3 From jkrell at elego.de Mon Mar 16 09:32:25 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 9:32:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316083226.12EF410D5EE1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 09:32:25 Modified files: cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 Log message: remove unused import of uint16_t From jkrell at elego.de Mon Mar 16 10:18:23 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 10:18:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316091823.0EF7A10D544D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 10:18:22 Modified files: cm3/m3-libs/m3core/src/runtime/PPC_DARWIN/: RTThread.m3 cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: move PPC_DARWIN to smaller more portable unix/Common/*.i3 files From jkrell at elego.de Mon Mar 16 11:12:55 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 11:12:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316101255.6BF9310D5EE5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 11:12:55 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/WIN32/: SchedulerPosix.m3 ThreadInternal.i3 Log message: restore structuring that allows Cygwin to easily switch to Win32 threads; it's really not a terrible thing even if Cygwin doesn't use it From jkrell at elego.de Mon Mar 16 12:54:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 12:54:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316115422.26F5110D5FCB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 12:54:20 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 Log message: don't use confuse the array's header for its first element; for that matter, don't bother wasting space on the header, just use calloc/free directly From jkrell at elego.de Mon Mar 16 12:57:46 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 12:57:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316115747.1A3E010D5FCA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 12:57:46 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: don't bother disabling switching unless the pointer to be freed is not NULL From jkrell at elego.de Mon Mar 16 13:01:20 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 13:01:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316120121.A53DC714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 13:01:19 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: don't bother disabling switching unless the pointer to be freed is not NULL (what about the store of NULL? Does it need to be while no switching?) only makes a difference for user threads.. From jkrell at elego.de Mon Mar 16 13:13:40 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 13:13:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316121340.831B510D5FC5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 13:13:40 Modified files: cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: fix wrt to moving to smaller/more portable .i3 files -- how did I not catch this earlier? From jkrell at elego.de Mon Mar 16 14:02:33 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 14:02:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316130236.6D62910D613A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 14:02:33 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: go back to old/big .i3 files for PPC_DARWIN at least pending investigation of mentor erroring, something socket related From jkrell at elego.de Mon Mar 16 23:17:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 16 Mar 2009 23:17:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090316221715.AA75F10D45C7@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/16 23:17:15 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/hpux-7-0/: m3makefile cm3/m3-libs/m3core/src/unix/irix-5.2/: m3makefile cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile Log message: switch all to common Uutmp.i3 -- minor From jkrell at elego.de Tue Mar 17 10:38:27 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 10:38:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317093827.A887810D5FDB@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 10:38:27 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 Log message: fix very bad typo From jkrell at elego.de Tue Mar 17 12:28:37 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:28:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317112837.DEF3810D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:28:37 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/hpux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/netbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: multi-part experiment 1: wrap everything 2: wrap everything taking input socklen_t 3: wrap everything taking input/output socklen_t Result is removal of platform-specific socklen_t. But at the cost of 200 lines of C (though really #1 has nothing to do with socklen_t, #2 is /perhaps/ optional, #3 is the real part), perhaps this is not worthwhile. I could argue the 200 lines are simple and not dense, but "lines are lines"? Also, this approach is definitely tedious and therefore error-prone. socklen_t so far is 32 bit unsigned everywhere except: signed on Cygwin size_t on HP-UX, therefore 64 bits on PA64_HPUX/IA64_HPUX There is something fishy going on in that it seems folks were in places passing ADR(INTEGER) here, which should fail to compile on everything but Cygwin, esp. 64 bit platforms. Could be that subranges don't define different types in this context? UNTRACED REF BITS 32 FOR [0..1] same type as UNTRACED REF BITS 32 FOR [0..2]? I was considering making changes in the clients instead. In particular, the in/out socklen_t* is actually only used for input, but there are a fair number of clients to visit: m3-comm\tcp\src\POSIX\IP.m3 m3-comm\tcp\src\POSIX\TCP.m3 m3-comm\tcp\src\POSIX\TCPExtras.m3 m3-comm\tcp\src\POSIX\TCPHack.m3 m3-comm\tcp\src\POSIX\TCPExtras.m3 m3-comm\tcp\src\POSIX\TCPPeer.m3 m3-comm\udp\src\POSIX\UDPPosix.m3 m3-demo\mentor\src\sorting\audio\MidiLineServer.m3 m3-lectern\lecternclient\src\POSIX\LecternClientPosix.m3 m3-libs\libm3\src\os\POSIX\SocketPosix.m3 m3-ui\jvideo\src\POSIX\decunix\JVSink.m3 m3-ui\jvideo\src\POSIX\decunix\Jv.m3 From jkrell at elego.de Tue Mar 17 12:32:42 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:32:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317113242.D5FBA10D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:32:42 Added files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.c Log message: forgot to add From jkrell at elego.de Tue Mar 17 12:55:13 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:55:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115513.A0D1810D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:55:13 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCP.m3 Log message: likely fix for 64 bit systems -- TCP_NODELAY presumably takes an int not a full INTEGER From jkrell at elego.de Tue Mar 17 12:56:13 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:56:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115613.4E01610D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:56:13 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCPHack.m3 Log message: likely fix for 64 bit systems -- TCP_NODELAY presumably takes an int not a full INTEGER From jkrell at elego.de Tue Mar 17 12:59:41 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 12:59:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317115941.7854010D5EF0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 12:59:41 Modified files: cm3/m3-comm/tcp/src/WIN32/: TCP.m3 Log message: 64 bit fix -- TCP_NODELAY takes a 32bit BOOL, not a potentially 64 bit INTEGER From jkrell at elego.de Tue Mar 17 13:02:05 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:02:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120205.8B6B610D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:02:05 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 Log message: use a 32 bit int for TCP_NODELAY From jkrell at elego.de Tue Mar 17 13:03:03 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:03:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120303.5833710D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:03:03 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: SocketPosix.m3 Log message: again, use a 32 bit int for TCP_NODELAY (only affects Ultrix and OSF1/Tru64) From jkrell at elego.de Tue Mar 17 13:07:40 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:07:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317120740.B741F10D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:07:40 Modified files: cm3/m3-comm/tcp/src/POSIX/: TCP.m3 m3makefile Removed files: cm3/m3-comm/tcp/src/POSIX/: SockOpt.i3 SockOptFBSD.m3 SockOptOther.m3 Log message: remove obsolete-looking workarounds for obsolete platforms From jkrell at elego.de Tue Mar 17 13:20:28 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:20:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317122028.6321310D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:20:28 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c cm3/m3-libs/m3core/src/unix/Common/: Utypes.i3 cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 Log message: oops, fix socklen_t From jkrell at elego.de Tue Mar 17 13:24:38 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:24:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317122438.A894610D6076@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:24:38 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Utypes.i3 Usocket.i3 Log message: cosmetic -- have Usocket.i3 get socklen_t from Utypes.i3 (should it be exported from both? not a big deal) From jkrell at elego.de Tue Mar 17 13:30:30 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:30:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123031.84BE010D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:30:30 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: Wrap fcntl because it is varargs. Thanks Daniel! See: http://edoofus.blogspot.com/2008/08/interesting-bug-unbreaking-cvsupamd64.html From jkrell at elego.de Tue Mar 17 13:33:49 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:33:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123349.7B14B10D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:33:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c Log message: ioctl is also varargs, so also wrap it From jkrell at elego.de Tue Mar 17 13:35:56 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:35:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317123556.C018910D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:35:56 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 Log message: just add some newlines From jkrell at elego.de Tue Mar 17 13:40:47 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:40:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317124047.4CB0910D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:40:47 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosixC.i3 Log message: the name is 'fcntl', not 'fnctl' From jkrell at elego.de Tue Mar 17 13:41:36 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 13:41:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317124136.0F53710D6077@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 13:41:36 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosixC.c Log message: fix newlines (dos2unix) From jkrell at elego.de Tue Mar 17 17:45:29 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 17:45:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317164529.8DD4110D5FD5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 17:45:29 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile Log message: switch again to smaller/portable *.i3 files, now that networking fixed -- mentor works formsedit still tends to bus error but it was going that already From jkrell at elego.de Tue Mar 17 17:56:02 2009 From: jkrell at elego.de (Jay Krell) Date: Tue, 17 Mar 2009 17:56:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090317165602.F124210D5FD5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/17 17:56:02 Modified files: cm3/m3-libs/m3core/src/unix/darwin-common/: Usysdep.i3 Log message: time_t from int32_t to INTEGER, to match darwin-generic, for future PPC64_DARWIN port or AMD64_DARWIN switch to this file From jkrell at elego.de Wed Mar 18 15:10:18 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 18 Mar 2009 15:10:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090318141018.3472D10D60EE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/18 15:10:18 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c Log message: 1. Should fix Solaris Tinderbox. 2. Should prepare for moving Solaris to smaller .i3 files, by integrating a workaround from the Solaris-2-x directory, not yet active due to #1. 3. A risky 'fix' to try to get ioctl declared. That might not even be required, but it is definitely generally desirable. On some systems, unistd.h suffices (apparent example: Solaris). Add sys/ioctl.h, which looks viable at least on Linux and Darwin. This definitely might break some platforms, but should also be easy to fix. From jkrell at elego.de Wed Mar 18 15:14:03 2009 From: jkrell at elego.de (Jay Krell) Date: Wed, 18 Mar 2009 15:14:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090318141403.250FD10D60EE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/18 15:14:03 Modified files: cm3/m3-sys/m3tests/src/: TestC.c Log message: oops -- FreeBSD Tinderbox, but not FreeBSD specific, just sloppy of me From jkrell at elego.de Thu Mar 19 09:02:31 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:02:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080231.AAE25714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:02:31 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Uucontext.i3 Usignal.i3 Log message: replace Utypes.caddr_t with equivalent ADDRESS replace Utypes.u_long with equivalent Ctypes.unsigned_long for compatibility with Common/Utypes.i3 We could also add these to Common/Utypes.i3 if anyone prefers. From jkrell at elego.de Thu Mar 19 09:07:17 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:07:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080717.BC1A9714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:07:17 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Usocket.i3 Log message: remove unused import of uint32_t From jkrell at elego.de Thu Mar 19 09:09:22 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:09:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319080922.4A299714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:09:22 Modified files: cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: remove unused import of uint32_t From jkrell at elego.de Thu Mar 19 09:13:50 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:13:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319081350.1E714714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:13:50 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Unix.i3 Log message: MAX_FDSET in my Solaris 2.10 /usr/include clearly defaults to 1024 for 32bit, not the 64 that was here (This should really be dynamically sized to fit whatever value file handles you get, right?). From jkrell at elego.de Thu Mar 19 09:18:14 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 9:18:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319081814.1B3BC714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 09:18:14 Modified files: cm3/m3-libs/m3core/src/unix/solaris-common/: Usysdep.i3 Log message: tv_sec and tv_usec are INTEGER not int32_t => 64bits on 64bit platforms From jkrell at elego.de Thu Mar 19 10:07:14 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 10:07:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319090714.7981B10D5FD0@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 10:07:14 Modified files: cm3/m3-ui/vbtkit/src/lego/POSIX/: ScrollerVBTClass.m3 Log message: fail an assertion right before we access violate (dump core, etc.) From jkrell at elego.de Thu Mar 19 10:23:58 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 10:23:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319092358.1876610D5FCC@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 10:23:58 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UnixC.c m3makefile cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile Log message: Switch SOLgnu and SOLsun to new/smaller/more portable Unix/*.i3 files. Leave Uucontext.i3, Usignal.i3, Uframe.i3, like LINUXLIBC6/PPC_DARWIN, so that user threads still compile. Forgot to cleanup RTThread's signal stuff but ok, it can wait. Only tested SOLgnu, not SOLsun. From jkrell at elego.de Thu Mar 19 12:18:54 2009 From: jkrell at elego.de (Jay Krell) Date: Thu, 19 Mar 2009 12:18:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090319111854.B1B8B10D5FF3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/19 12:18:54 Added files: cm3/scripts/: version Log message: add version file, to be consumed later From jkrell at elego.de Sat Mar 21 12:47:26 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:47:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114726.CEDD410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:47:26 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: FreeBSD4 Log message: remove carriage returns From jkrell at elego.de Sat Mar 21 12:48:23 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:48:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114823.6F4D410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:48:23 Added files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: initial version, copied from FreeBSD4 From jkrell at elego.de Sat Mar 21 12:49:27 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:49:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321114927.964CE10D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:49:27 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: I386_OPENBSD Log message: remove carriage returns From jkrell at elego.de Sat Mar 21 12:50:56 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 21 Mar 2009 12:50:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090321115056.CF8F410D6141@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/21 12:50:56 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: AMD64_FREEBSD Log message: remove carriage returns From jkrell at elego.de Sun Mar 22 10:01:44 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:01:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322090144.33DC1714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:01:43 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Umman.i3 Log message: add missin off_t import From jkrell at elego.de Sun Mar 22 10:14:23 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:14:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322091424.67055714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:14:23 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Unix.i3 Utypes.i3 Log message: off_t must be a scalar, not a struct, for FilePosix.m3 to compile -- make it a LONGINT instead of struct with two 32bit integers From jkrell at elego.de Sun Mar 22 10:28:02 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:28:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322092802.9CC3C714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:28:02 Modified files: cm3/scripts/python/: pylib.py Log message: some I386_NETBSD (aka NetBSD2_i386) support; print tar vs. del in the correct order From jkrell at elego.de Sun Mar 22 10:43:14 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 10:43:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322094317.8FA7C714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 10:43:14 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: m3makefile Log message: add h_source(ThreadPosix) to get ThreadPosix.h into bootstrap archives (e.g. NetBSD/x86 still uses user threads) From jkrell at elego.de Sun Mar 22 11:13:07 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:13:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322101307.69E42714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:13:07 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: more .h files missing from bootstrap packages -- UerrorX.h at least, probably m3unix.h, throw in Uucontext.h From jkrell at elego.de Sun Mar 22 11:50:49 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:50:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322105049.A776A714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:50:49 Modified files: cm3/m3-libs/m3core/src/unix/Common/: m3makefile Log message: fix duplicate unit m3unix.h; remove a tab From jkrell at elego.de Sun Mar 22 11:53:17 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 11:53:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322105317.59C54714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 11:53:17 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: compat with common/Utypes.i3 -- change u_int32_t to unsigned_int From jkrell at elego.de Sun Mar 22 12:05:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 12:05:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322110513.E6A35714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 12:05:13 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: Usignal.i3 Log message: checkin correct file -- compat with common/Utypes.i3, change Utypes.u_int32_t to Ctypes.unsigned_int From jkrell at elego.de Sun Mar 22 12:09:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 12:09:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322110925.F1452714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 12:09:25 Modified files: cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: go back a version due to inadvertant commit (though it's going forward shortly anyway) From jkrell at elego.de Sun Mar 22 13:13:21 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:13:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322121321.EB66A714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:13:21 Added files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c Log message: opendir should be wrapped on NetBSD (not yet active) From jkrell at elego.de Sun Mar 22 13:16:46 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:16:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322121646.2545B714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:16:46 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UdirC.c Log message: add include sys/types like opengroup docs show From jkrell at elego.de Sun Mar 22 13:21:13 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:21:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122114.06F5D714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:21:13 Modified files: cm3/m3-libs/m3core/src/: thread.quake cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/runtime/POSIX/: m3makefile cm3/m3-libs/m3core/src/runtime/common/: m3makefile cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 m3makefile cm3/m3-libs/m3core/src/unix/netbsd2-i386/: m3makefile Log message: Switch NetBSD/x86 to pthreads and new/small/more-portable unix/*.i3 files. From jkrell at elego.de Sun Mar 22 13:23:25 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:23:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122325.B7824714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:23:25 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 Log message: fix From jkrell at elego.de Sun Mar 22 13:24:16 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 22 Mar 2009 13:24:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090322122416.75380714180@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/22 13:24:16 Modified files: cm3/m3-libs/m3core/src/unix/Common/: Udir.i3 Log message: fix From mand at elego.de Fri Mar 27 13:35:11 2009 From: mand at elego.de (Michael Anderson) Date: Fri, 27 Mar 2009 13:35:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090327123511.592DD60C150@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mand at birch. 09/03/27 13:35:11 Added files: cm3/www/: service_notice.html Log message: maintenance From mand at elego.de Fri Mar 27 13:48:47 2009 From: mand at elego.de (Michael Anderson) Date: Fri, 27 Mar 2009 13:48:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090327124847.A49C960C150@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: mand at birch. 09/03/27 13:48:47 Removed files: cm3/www/: service_notice.html Log message: took down service notice From jkrell at elego.de Sat Mar 28 14:45:45 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 28 Mar 2009 14:45:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090328134545.5E6CC60C153@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/28 14:45:45 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: get odbc and postgres from their usual /usr/pkg install location (if built/installed from pkgsrc) use -rpath-link to inhibit the build-time paths from going into the files and being searched => encourage use of local $LD_LIBRARY_PATH instead use of $ORIGIN/../lib would be nice, but that's not available until 5.0 it appears (this change not in upcoming packages, so they will look in /tmp/blah and $LD_LIBRARY_PATH) add -Wl,-R for X to be found at runtime, not just build-time (contrary to the use of -rpath-link -- using -rpath-link for Modula-3 libraries which perhaps have no standard install location, but using -rpath for stuff with standard location) From jkrell at elego.de Sat Mar 28 14:47:05 2009 From: jkrell at elego.de (Jay Krell) Date: Sat, 28 Mar 2009 14:47:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090328134705.60D9160C153@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/28 14:47:05 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: NetBSD2_i386 Log message: cleanup From jkrell at elego.de Sun Mar 29 04:50:32 2009 From: jkrell at elego.de (Jay Krell) Date: Sun, 29 Mar 2009 4:50:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090329025032.2932460C154@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/29 04:50:32 Modified files: cm3/scripts/python/: boot1.py Log message: comments only From jkrell at elego.de Mon Mar 30 11:47:02 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 11:47:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330094702.E7BD060C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 11:47:02 Modified files: cm3/m3-sys/m3tests/src/: src.pl Log message: put in Unix newlines (dos2unix) From jkrell at elego.de Mon Mar 30 11:48:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 11:48:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330094803.718F260C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 11:48:03 Modified files: cm3/m3-sys/m3tests/src/: Test.i3 TestC.c Log message: print more information when it fails pad it out for alignment to fix Cygwin failing (maybe should pad with an __int64 or double instead of size_t, given that it already ends with size_ts and presumably the doubles are the problem?) From jkrell at elego.de Mon Mar 30 15:40:27 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:40:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134027.B3F8560C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:40:27 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: Move calls to RAISE to separate functions, so that we don't pay for an exception handling frame in the common success case. Change the TypeDefn checks so that each failure case is on a unique line in unoptimized code, so from the line numbers in the callstack, one can determine what condition failed. From jkrell at elego.de Mon Mar 30 15:43:01 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:43:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134301.6F1B660C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:43:01 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: fix typo in comment From jkrell at elego.de Mon Mar 30 15:45:19 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:45:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134519.AE29C60C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:45:19 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: reuse CheckTypeFailed in the other place that used 'force a change fault' From jkrell at elego.de Mon Mar 30 15:46:03 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 15:46:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330134603.9732060C155@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 15:46:03 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: put semicolon back -- ok either way From jkrell at elego.de Mon Mar 30 23:52:15 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:52:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215215.546DE60C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:52:15 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThread.m3 ThreadPThreadC.c Log message: merge threadlocal "handlers" into threadlocal "activations" point being to conserve threadlocals From jkrell at elego.de Mon Mar 30 23:55:22 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:55:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215522.5792C60C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:55:22 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTAllocator.m3 Log message: put one line back to quash warning, though the code was ok From jkrell at elego.de Mon Mar 30 23:59:31 2009 From: jkrell at elego.de (Jay Krell) Date: Mon, 30 Mar 2009 23:59:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20090330215931.9350960C2D4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 09/03/30 23:59:31 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: Repeat the initializer in assertions, though perhaps we shouldn't assert the parts we immediately overwrite?