From wagner at elego.de Fri Feb 1 21:20:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 1 Feb 2008 21:20:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201202022.2628410D45CE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/01 21:20:21 Modified files: cm3/doc/help/cm3/: quake.html Log message: update quake language description From wagner at elego.de Fri Feb 1 21:20:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 1 Feb 2008 21:20:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201202045.5996010D45CE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/01 21:20:45 Modified files: cm3/www/: normal.css Log message: change header sizes From hosking at elego.de Sat Feb 2 00:43:53 2008 From: hosking at elego.de (Antony Hosking) Date: Sat, 2 Feb 2008 0:43:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201234353.F351E10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/02 00:43:53 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Add parameter decls even for imported procedures, as per Jay Krell's request to support stdcall parameter passing mode on Windows. From wagner at elego.de Sat Feb 2 02:18:37 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 2:18:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202011837.641AB10D465B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 02:18:37 Modified files: cm3/www/: index.html Log message: increase top frame size due to different rendering on IE From wagner at elego.de Sat Feb 2 14:52:58 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 14:52:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202135258.0ECA910D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 14:52:58 Modified files: cm3/www/: index.html top.html Log message: make frames resizable and fix link to www.modula3.org From wagner at elego.de Sat Feb 2 16:36:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 16:36:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202153602.6853D10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 16:36:02 Modified files: cm3/caltech-parser/m3tmplhack/src/: m3makefile cm3/caltech-parser/parserlib/kext/src/: m3makefile cm3/caltech-parser/parserlib/klex/src/: m3makefile cm3/caltech-parser/parserlib/ktok/src/: m3makefile cm3/caltech-parser/parserlib/kyacc/src/: m3makefile Log message: build parser tools standalone for the sake of systems like Darwin, where dynamic libraries won't be found within the workspace if this seems unacceptable, we can still make the build_standalone depend on the target From jkrell at elego.de Sat Feb 2 22:51:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 2 Feb 2008 22:51:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202215129.793EF10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/02 22:51:29 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Added files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c Log message: fix the pthread sizes (need to look up the Modula-3 language stuff...) expose SIGUSR2 for SuspendOthers/StopWorld add some test/probing code From jkrell at elego.de Sat Feb 2 23:17:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 2 Feb 2008 23:17:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202221727.5618010D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/02 23:17:27 Modified files: cm3/m3-sys/cm3/src/: version.quake Log message: use BUILD_DIR instead of TARGET, they aren't always the same From jkrell at elego.de Sun Feb 3 03:06:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 3 Feb 2008 3:06:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203020627.5FB9210D4658@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/03 03:06:27 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThreadC.c Log message: Cygwin static initializers are not all zeros and Modula-3 static initialization happens after at least some of this data is used, so move it to C to guarantee actual static initialization. This fixes the problem where Cygwin/NT386GNU issues an endless stream of assertion failures upon start, at each pthread_mutex_lock call. Cygwin/NT386GNU still hangs at startup, since nanosleep is failing, and there is an access violation to investigate. Cygwin does strange things with the stack..reserving a block at the start for their thread locals and getting to it via fs:4. From hosking at cs.purdue.edu Sun Feb 3 06:01:37 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Sun, 3 Feb 2008 00:01:37 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080203020627.5FB9210D4658@birch.elegosoft.com> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> Message-ID: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> I would prefer to do this in pure Modula-3 by calling the initializer functions explicitly. I'll take a look at it. On Feb 3, 2008, at 3:06 AM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/03 03:06:27 > > Modified files: > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 > m3makefile > Added files: > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 > ThreadPThreadC.c > > Log message: > Cygwin static initializers are not all zeros and Modula-3 static > initialization happens after at least some of this data is used, > so move it to C to guarantee actual static initialization. > This fixes the problem where Cygwin/NT386GNU issues an endless stream > of assertion failures upon start, at each pthread_mutex_lock call. > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing, > and there is an access violation to investigate. Cygwin does > strange things with the stack..reserving a block at the start for > their thread locals and getting to it via fs:4. From jayk123 at hotmail.com Sun Feb 3 07:56:47 2008 From: jayk123 at hotmail.com (Jay) Date: Sun, 3 Feb 2008 06:56:47 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> Message-ID: 1) I need to double check that my commit comment is true. 2) If it is, I'd strongly prefer static initialization without code, either asis, or by fixing the compiler... Having to run code for constant initialization is just lame.. 2b) If it isn't, I'll put it back. - Jay > From: hosking at cs.purdue.edu> Date: Sun, 3 Feb 2008 00:01:37 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > I would prefer to do this in pure Modula-3 by calling the initializer > functions explicitly. I'll take a look at it.> > On Feb 3, 2008, at 3:06 AM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/03 03:06:27> >> > Modified files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3> > m3makefile> > Added files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3> > ThreadPThreadC.c> >> > Log message:> > Cygwin static initializers are not all zeros and Modula-3 static> > initialization happens after at least some of this data is used,> > so move it to C to guarantee actual static initialization.> > This fixes the problem where Cygwin/NT386GNU issues an endless stream> > of assertion failures upon start, at each pthread_mutex_lock call.> > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing,> > and there is an access violation to investigate. Cygwin does> > strange things with the stack..reserving a block at the start for> > their thread locals and getting to it via fs:4.> _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Sun Feb 3 08:35:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 3 Feb 2008 8:35:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203073533.B9B0110D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/03 08:35:32 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 m3makefile Removed files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThreadC.c Log message: put this back, it looks like it is implemented as static initialization From wagner at elego.de Sun Feb 3 17:42:06 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 17:42:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203164206.7626910D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 17:42:06 Modified files: cm3/scripts/regression/: cm3.build tinderbox-build.sh Log message: fix several problems in the regression test scripts: o results codes were lost because of {} scopes o 2>&1 redirection was applied at the wrong place o /bin/sh should be sufficient Obviously the recent version hasn't been tested very much at Elego; our own nightly test runs do not show these problems. I'm not sure if I have found all bugs; anyway: if anybody is already using the previous version of this script, please update. Sorry for any inconviniences caused. From wagner at elego.de Sun Feb 3 17:43:36 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 17:43:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203164336.37E7910D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 17:43:36 Modified files: cm3/scripts/regression/: cm3.build Log message: revert to non-reporting version From wagner at elego.de Sun Feb 3 18:23:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 18:23:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203172346.3FC7410D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 18:23:45 Modified files: cm3/scripts/regression/: tinderbox-build.sh Log message: I forgot to log the actual test output for error parsing by eliminating the scoping problems :-/ This should now be corrected. Also use less white space and indenting to make everything more readable. I'll test this again on birch tonight to make sure it actually works. From wagner at elego.de Mon Feb 4 00:41:33 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 0:41:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203234133.8395610D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 00:41:33 Modified files: cm3/scripts/regression/: tinderbox-build.sh Log message: Fix it again :-/ The return code of do_{checkout,build,compile} must not be overwritten by the return code of the `tee log' pipe. We could use the -o pipefaile option of bash, but that wouldn't be very portable. It's not Bourne shell as far as I know. So the only option is to save everything to a temporary file and cat it after remembering the return code. I don't like this at all :-( If anybody knows of a better solution, I'd like to hear of it. From jkrell at elego.de Mon Feb 4 02:10:43 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:10:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204011044.2F4E610D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:10:43 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py do-cm3-front.py make-dist.py pylib.py upgrade.py Log message: add sysutils allow for targeting cygwin runtime with integrated/ms tools this should allow using ms debuggers though note that cygwin crt0.o has dependency on ld, maybe fixable, maybe not, cygwin1.dll may or may not have dependency on crt0.o, so this might not work in particular, don't clear the LIB and INCLUDE variables (LIB is the point) which really does strike at what I was saying -- lots of variables, lots of viable combinations mspdb*.dll is called dbi.dll in Visual C++ 2.0 From jkrell at elego.de Mon Feb 4 02:12:24 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:12:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204011224.DB7D110D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:12:24 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common NT386GNU NT386MINGNU Log message: move TARGET to toplevel config file for m3cgcat some allowance for targeting cygwin runtime with integrated/ms tools may or may not work in particular crt0.o has a dependency on ld if it works, should enable using ms debuggers, and more debugging avenues would be greatly appreciated right now while things aren't working.. From jayk123 at hotmail.com Mon Feb 4 02:16:02 2008 From: jayk123 at hotmail.com (Jay) Date: Mon, 4 Feb 2008 01:16:02 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> Message-ID: There is /something/ here but I don't understand what yet. In particular, the m3/cm3cg code looks right, but the C code works better... And none of the debugger options are particulary good. Time to give up and use printf I guess. And I haven't had luck rebuilding cygwin1.dll from source either darn. :( - Jay From: jayk123 at hotmail.comTo: hosking at cs.purdue.edu; jkrell at elego.deCC: m3commit at elegosoft.comSubject: RE: [M3commit] CVS Update: cm3Date: Sun, 3 Feb 2008 06:56:47 +0000 1) I need to double check that my commit comment is true.2) If it is, I'd strongly prefer static initialization without code, either asis, or by fixing the compiler...Having to run code for constant initialization is just lame..2b) If it isn't, I'll put it back. - Jay > From: hosking at cs.purdue.edu> Date: Sun, 3 Feb 2008 00:01:37 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > I would prefer to do this in pure Modula-3 by calling the initializer > functions explicitly. I'll take a look at it.> > On Feb 3, 2008, at 3:06 AM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/03 03:06:27> >> > Modified files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3> > m3makefile> > Added files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3> > ThreadPThreadC.c> >> > Log message:> > Cygwin static initializers are not all zeros and Modula-3 static> > initialization happens after at least some of this data is used,> > so move it to C to guarantee actual static initialization.> > This fixes the problem where Cygwin/NT386GNU issues an endless stream> > of assertion failures upon start, at each pthread_mutex_lock call.> > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing,> > and there is an access violation to investigate. Cygwin does> > strange things with the stack..reserving a block at the start for> > their thread locals and getting to it via fs:4.> Connect and share in new ways with Windows Live. Get it now! _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Feb 4 02:39:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:39:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204013956.3859E10D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:39:56 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Log message: oops; base 10 is for people that count on their fingers; base 16 is for programmers and computers From jkrell at elego.de Mon Feb 4 02:53:27 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:53:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204015327.481B710D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:53:27 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Log message: Put in markers that say "This file was generated..". From jkrell at elego.de Mon Feb 4 03:01:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:01:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020149.0252410D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:01:48 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 Log message: fix NT386MINGNU From jkrell at elego.de Mon Feb 4 03:03:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:03:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020358.4D36410D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:03:58 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common NT386GNU Log message: turn off debugging experiment From jkrell at elego.de Mon Feb 4 03:08:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:08:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020842.8A0D110D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:08:42 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: comments From jkrell at elego.de Mon Feb 4 06:40:29 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 6:40:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204054029.B323510D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 06:40:29 Modified files: cm3/m3-libs/sysutils/src/: ConnectRdWr.m3 Log message: temporary fix so it builds on Windows From jkrell at elego.de Mon Feb 4 06:45:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 6:45:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204054529.A4C4F10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 06:45:28 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: ferry along calling convention and remove seemingly gratuitous attributes From jkrell at elego.de Mon Feb 4 07:29:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:29:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204062923.90E1210D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:29:23 Modified files: cm3/scripts/python/: pylib.py Log message: Now that I have deleted my c:\windows\cygwin1.dll and therefore always keep c:\cygwin\bin in %PATH% for cvs.exe, and therefore uname.exe is always in my %PATH%, allow setting CM3_GCC_BACKEND=no to override uname probing so that I can still build regular NT386. From jkrell at elego.de Mon Feb 4 07:42:37 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:42:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204064238.287EA10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:42:37 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: factor out common code, more to do here From jkrell at elego.de Mon Feb 4 07:56:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:56:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204065623.873EF10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:56:23 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: more common code From jkrell at elego.de Mon Feb 4 07:59:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:59:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204065910.AD68E10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:59:10 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: eliminate unnecessary temporary From jkrell at elego.de Mon Feb 4 08:30:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 8:30:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204073026.1AF6110D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 08:30:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: fix and eliminate another temporary From jkrell at elego.de Mon Feb 4 08:38:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 8:38:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204073811.905AB10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 08:38:10 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: cleanup, add readonly, move operators to next line, remove keep From jkrell at elego.de Mon Feb 4 09:14:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 9:14:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204081456.A297310D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 09:14:56 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: print a bit more when tracing is enabled From jkrell at elego.de Mon Feb 4 09:19:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 9:19:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204081935.59CAB10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 09:19:35 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: fix From hosking at elego.de Mon Feb 4 17:19:36 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 17:19:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204161936.BE7B910D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 17:19:36 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Clean up reversal of arguments so that cached types make sense for their decls. From hosking at elego.de Mon Feb 4 17:30:30 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 17:30:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204163033.F288410D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 17:30:30 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Oops, previous was broken. Fix! Use void_list_node as pointer-equal terminator for parameter type list. From wagner at elego.de Mon Feb 4 22:17:59 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 22:17:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204211800.6BA1610D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 22:17:59 Modified files: cm3/scripts/regression/: cm3.build Log message: fix wrong operator and make it better readable From jkrell at elego.de Mon Feb 4 22:22:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 22:22:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204212249.71FB310D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 22:22:48 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: back to more like it was, that seems to work (except for passing structs by value to stdcall functions, which hasn't yet named the function correctly) From hosking at elego.de Mon Feb 4 22:58:20 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 22:58:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204215821.08C2310D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 22:58:20 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Make sure we initialize (and use) void_list_node. From hosking at elego.de Mon Feb 4 23:05:43 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 23:05:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204220543.E507710D4670@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 23:05:42 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Don't use unavailable c-decl functions (build_void_list_node). From wagner at elego.de Mon Feb 4 23:24:18 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 23:24:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204222418.E0DA310D466E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 23:24:18 Modified files: cm3/scripts/regression/: cm3.build Log message: fix another [ operator: s/==/=/ (seems to be accepted in Darwin\'s shell :-/) From hosking at elego.de Mon Feb 4 23:26:56 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 23:26:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204222656.6614D10D466E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 23:26:56 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Build proper non-varargs function types for functions, terminating parameter type list with void_list_node. This may have fixed the broken regression tests for large sets -- for some reason they had been set up as varargs declarations. Olaf, can you see if this does the trick? From wagner at elego.de Sat Feb 9 13:26:52 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 13:26:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209122652.1FC2C10D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 13:26:52 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: TextUtils.i3 cm3/m3-libs/sysutils/src/cm3/: TextUtils.m3 Log message: add quick sort and insertion sort on arrays code burrowed from m3tohtml package by Bill Kalsow, simplified to use ARRAY OF TEXT modified: sysutils/src/TextUtils.i3 modified: sysutils/src/cm3/TextUtils.m3 From wagner at elego.de Sat Feb 9 15:20:14 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 15:20:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209142014.BBB1A10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 15:20:14 Modified files: cm3/m3-tools/m3tohtml/: PkgTags cm3/m3-tools/m3tohtml/src/: HTMLDir.m3 M3MarkUp.m3 Main.m3 MarkUp.m3 Removed files: cm3/m3-tools/m3tohtml/src/: FSUtils.i3 FSUtils.m3 Log message: generate proper package indexes; remove obsolete files removed: m3tohtml/src/FSUtils.i3 removed: m3tohtml/src/FSUtils.m3 modified: m3tohtml/src/HTMLDir.m3 modified: m3tohtml/src/M3MarkUp.m3 modified: m3tohtml/src/Main.m3 modified: m3tohtml/src/MarkUp.m3 From wagner at elego.de Sat Feb 9 17:40:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:40:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209164028.6BC4410D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:40:28 Modified files: cm3/scripts/regression/: defs.sh Log message: add test_m3tohtml From wagner at elego.de Sat Feb 9 17:47:13 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:47:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209164713.D469010D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:47:13 Modified files: cm3/scripts/regression/: defs.sh Log message: FQDN for birch From wagner at elego.de Sat Feb 9 17:51:24 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:51:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209165124.9552F10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:51:24 Modified files: cm3/scripts/regression/: defs.sh Log message: install all packages in test_m3_all_pkgs From wagner at elego.de Sat Feb 9 18:18:01 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 18:18:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209171801.448AC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 18:18:01 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: TextUtils.i3 cm3/m3-libs/sysutils/src/cm3/: TextUtils.m3 Log message: It seems I have overlooked that the quick sort on arrays is already in libm3, so just use that instead. I keep the export here though for convenience. There are too many sources already in CM3 :-) modified: sysutils/src/TextUtils.i3 modified: sysutils/src/cm3/TextUtils.m3 From wagner at elego.de Sat Feb 9 18:19:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 18:19:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209171938.E923510D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 18:19:38 Modified files: cm3/scripts/regression/: defs.sh Log message: confirm all questions asked by m3tohtml From wagner at elego.de Sat Feb 9 19:46:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 19:46:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209184616.CA32710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 19:46:16 Modified files: cm3/www/: nav-doc.html nav-rsrc.html Log message: add source browser navigation links From jkrell at elego.de Sun Feb 10 03:45:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 3:45:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210024549.91A6B10D4649@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 03:45:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usem.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Usem.m3 Log message: avoid access violating during startup in sem_init, red herring though it may be (we still spin on nanoslep failing..) From jkrell at elego.de Sun Feb 10 05:19:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:19:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210041915.C6B9210D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:19:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Log message: generate more content more reliably, though it was already correct, and remove definitions for nonexistant symbols From jkrell at elego.de Sun Feb 10 05:25:03 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:25:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210042505.40F8810D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:25:03 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: and fix SA_SIGINFO (!) From jkrell at elego.de Sun Feb 10 05:33:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:33:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043315.77E2C10D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:33:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: change all numbers to %08x, none of this decimal or 16bit stuff (16bit should still work) remove/ifdef more nonexistant values Linux 1.x isn't relevant, remove comments about it remove some of the tedious column lining up From jkrell at elego.de Sun Feb 10 05:34:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:34:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043426.0714710D4674@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:34:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: fix -- more dead From jkrell at elego.de Sun Feb 10 05:36:18 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:36:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043620.3579810D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:36:18 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: fix, not dead From jkrell at elego.de Sun Feb 10 05:37:04 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:37:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043704.3788D70D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:37:04 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3.c Log message: make it not optional From jkrell at elego.de Sun Feb 10 05:59:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:59:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210045951.6C0A070D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:59:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.m3 Log message: fix definition of SIG_HOLD (should generate from C?) From jkrell at elego.de Sun Feb 10 06:01:41 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 6:01:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210050141.E88FD70D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 06:01:41 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: use shorter named C types, less type opacity, and remove nonexistant 'restorer' From wagner at elego.de Sun Feb 10 15:11:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 10 Feb 2008 15:11:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210141121.8D20910D466A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/10 15:11:21 Modified files: cm3/www/: index.html Log message: change frame setup again From jkrell at elego.de Mon Feb 11 00:19:16 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 0:19:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210231916.1C3B710D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 00:19:15 Modified files: cm3/scripts/python/: upgrade.py Log message: move sysutils around, I don't remember why but presumably I needed to do this From jkrell at elego.de Mon Feb 11 00:24:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 0:24:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210232435.A857410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 00:24:35 Modified files: cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/thread/Common/: m3makefile cm3/m3-libs/m3core/src/thread/POSIX/: m3makefile cm3/m3-libs/m3core/src/thread/PTHREAD/: m3makefile cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Added files: cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/PTHREAD/: SchedulerPosix.i3 Log message: cheat just a tad and provide SchedulePosix interface on Win32 albeit not a good implementation currently this way NT386GNU can build with Win32 threads and cm3 gets as far as printing an error and exiting, probably something to do with pesky slashes; a lot better than hanging due to nanosleep failing and worrying about a lot of non trivial cygwin code.. From jkrell at elego.de Mon Feb 11 01:20:41 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:20:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002041.5A9DD10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:20:41 Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.c Log message: initial version that is copy of the .i3 file From jkrell at elego.de Mon Feb 11 01:24:13 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:24:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002413.56A1F10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:24:13 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Utypes.i3 Utypes.i3.c Log message: initial version +1 that is working C that outputs the same as the file already was, plus just $Id$ and comment that it is generated From jkrell at elego.de Mon Feb 11 01:28:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:28:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002844.AD43B10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:28:44 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.cpp Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.c Log message: switch to C++ for compile type dispatch From jkrell at elego.de Mon Feb 11 01:46:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:46:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211004625.9E80010D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:46:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Utypes.i3 Utypes.i3.cpp Log message: fix some types: dev_t : 64 -> 32 off_t : 32 -> 64 n_link_t : 32 -> 16 key_t : 32 -> 64 ino_t : 32 -> 64 remove some nonexistant types: gno_t swblk_t cnt_t some incidental changes because I didn't bother to make the automation capable of preserving things like u_int vs. uint int vs. long (not entirely incidental, they are different types, even if same size) columnization (doable with code) NOTE that long long and unsigned long long are not distinguished here signed numbers are generally wrong anyway in systems programming (how do you index your arrays and size your files and buffers? NOT signed numbers!) In particular, Quake things the cm3.cfg file is zero size and that is probably because Ustat.i3 is wrong, at least partly probably due to Utypes.i3 being wrong, though automating Ustat.i3 production and verification is certainly not a bad idea. All this header duplication bothers me... From jkrell at elego.de Mon Feb 11 01:50:18 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:50:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005018.E103F10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:50:18 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Log message: preserve history, I guess From jkrell at elego.de Mon Feb 11 01:51:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:51:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005124.002D010D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:51:23 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Log message: fix warning From jkrell at elego.de Mon Feb 11 01:53:12 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:53:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005312.25E9710D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:53:12 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3.c Usignal.i3.c Utypes.i3.cpp Log message: remove double $Id$ From jkrell at elego.de Mon Feb 11 06:38:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 6:38:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211053825.3EABE10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 06:38:25 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Ushm.i3 Usignal.i3 Utypes.i3 Utypes.i3.cpp Utypes.m3 Log message: more cygwin header cleanup, various dead types were used in further dead types in Ushm.i3; go ahead and delete dead stuff instead of commenting out remove seemingly unnecessary VAL() that fails to compile From jkrell at elego.de Mon Feb 11 08:36:33 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 8:36:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211073634.5AB2210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 08:36:33 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: remove a lot of stuff not needed to build the "base" system, less stuff to check and correct, can always add back From jkrell at elego.de Mon Feb 11 09:27:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:27:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211082758.D3EB810D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:27:58 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Ugrp.i3 Uipc.i3 Umsg.i3 Umsg.m3 Upaths.i3 Upthread.i3 Upthread.i3.c Upwd.i3 Usched.i3 Usem.i3 Usem.m3 Ushm.i3 Usyslog.i3 Utermio.i3 Utypes.i3 Uutmp.i3 m3makefile Log message: empty out unused interfaces, which are likely full of incorrect or non-working stuff From jkrell at elego.de Mon Feb 11 09:49:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:49:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211084929.477BC10D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:49:28 Added files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: initial unchanged fork from TimeWin32.m3 The point here, which will be clear soon, is that NT386GNU can/should/needs to be a hybrid. To a large extent, Posix and Win32 functionality can both be in m3core/libm3 as long as they aren't behind a common interface, but instead specific interfaces. In particular, serialio is probably best provided by the Win32 implementation. That then depends on a small amount of Win32 functionality that normally isn't in "Posix" m3core/libm3, but which easily can be added, using the existing Win32 implementations. From jkrell at elego.de Mon Feb 11 09:56:15 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:56:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211085615.8674610D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:56:15 Modified files: cm3/m3-libs/m3core/src/time/: m3makefile cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 TimeWin32.m3 m3makefile Log message: split up TimeWin32.m3 two interfaces Time and TimeWin32 into two implementations Time and TimeWin32, so that NT386GNU can have a Posix implementation of Time but also expose TimeWin32. This shall be used indirectly by Win32 serialio in NT386GNU shortly. (NT386GNU serialio is currently broken, fixed shortly.) From jkrell at elego.de Mon Feb 11 10:13:41 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:13:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211091341.D290C10D4527@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:13:41 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 cm3/m3-libs/m3core/src/win32/: WinBase.i3 Log message: at the expense of NT 3.1 compatibility use GetSystemTimeAsFileTime instead of GetSystemTime + SystemTimeToFileTime From jkrell at elego.de Mon Feb 11 10:24:00 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:24:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211092401.1068410D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:24:00 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: no need for globals here.. From jkrell at elego.de Mon Feb 11 10:40:29 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:40:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094030.6104810D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:40:29 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: FSWin32.m3 Log message: remove outdated looking comment about a bug From jkrell at elego.de Mon Feb 11 10:42:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:42:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094235.86C5610D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:42:35 Modified files: cm3/m3-libs/libm3/src/os/: m3makefile cm3/m3-libs/libm3/src/os/WIN32/: OSErrorWin32.m3 m3makefile Added files: cm3/m3-libs/libm3/src/os/WIN32/: OSError.m3 Log message: provide OSErrorWin32 and FileWin32 so that NT386GNU serial port can be the Win32 implementation From jkrell at elego.de Mon Feb 11 10:43:18 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:43:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094318.39AE410D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:43:18 Modified files: cm3/m3-comm/serial/src/: m3makefile Log message: use the Win32 implementation even on NT386GNU some m3core/libm3 changes required to support this From jkrell at elego.de Mon Feb 11 10:49:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:49:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094937.4E39710D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:49:35 Added files: cm3/scripts/python/: do-cm3-all.py Log message: meant to add this a whil ago From jkrell at elego.de Mon Feb 11 10:55:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:55:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211095549.04B5410D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:55:48 Removed files: cm3/m3-libs/libm3/src/os/WIN32/: OSError.m3 Log message: oops, that isn't needed (OSError is all interface, no implementation) From jkrell at elego.de Mon Feb 11 11:43:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 11:43:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211104358.C4F4D10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 11:43:58 Modified files: cm3/m3-db/odbc/src/: m3makefile Log message: NT386GNU is Win32 here. From jkrell at elego.de Mon Feb 11 11:50:13 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 11:50:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211105015.E527710D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 11:50:13 Modified files: cm3/m3-db/db/src/odbc/: ODBCDB.m3 Log message: fix warnings about unused From jkrell at elego.de Mon Feb 11 12:09:20 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:09:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211110920.EE95710D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:09:20 Modified files: cm3/m3-libs/sysutils/src/WIN32/: FSysWin32.m3 SystemWin32.m3 Log message: fix warnings From jkrell at elego.de Mon Feb 11 12:12:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:12:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211111256.22C8E10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:12:56 Modified files: cm3/m3-ui/ui/src/winvbt/: WinScreenType.m3 Log message: fix warning about unused import (the use is commented out..would be nice to be able to move the import to near the code so they can be commented out together..) From jkrell at elego.de Mon Feb 11 12:18:34 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:18:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211111834.79E4110D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:18:34 Modified files: cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 Log message: add ptrdiff_t and size_t add apparently missing import in code that hasn't built in a long time (and still hasn't been) From jkrell at elego.de Mon Feb 11 12:26:22 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:26:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112622.9AFF610D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:26:22 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: go back a version From jkrell at elego.de Mon Feb 11 12:27:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:27:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112743.0B07810D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:27:42 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: remove globals with less change to the code (thanks Dragisa) From jkrell at elego.de Mon Feb 11 12:29:22 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:29:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112922.E2CC810D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:29:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more Cygwin header repair From jkrell at elego.de Mon Feb 11 12:38:04 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:38:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211113804.4767510D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:38:04 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: oops, fix ftruncate From jkrell at elego.de Mon Feb 11 13:13:45 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:13:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121346.7022A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:13:45 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: begin Cygwin/X support From jkrell at elego.de Mon Feb 11 13:17:33 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:17:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121733.06A2810D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:17:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upwd.i3 Log message: go back a version, Trestle uses this From jkrell at elego.de Mon Feb 11 13:18:57 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:18:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121857.1731D10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:18:57 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Upwd.i3 Log message: small repair, remove undefined type From jkrell at elego.de Mon Feb 11 13:19:32 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121932.0C55B10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:19:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Log message: oops From jkrell at elego.de Mon Feb 11 13:23:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:23:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122328.A9DE010D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:23:28 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: I don't understand this but it helps; oh well. From jkrell at elego.de Mon Feb 11 13:24:47 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:24:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122447.102D810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:24:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uutmp.i3 Log message: go back a version; Trestle uses this From jkrell at elego.de Mon Feb 11 13:26:34 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:26:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122634.5BACB10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:26:34 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Uutmp.i3 Log message: massively reduce to just what Trestle uses From jkrell at elego.de Mon Feb 11 14:22:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 14:22:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211132249.16DD810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 14:22:48 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: switch to the X Windows variant of OpenGL, now anim3d builds for example From jkrell at elego.de Mon Feb 11 15:27:30 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 15:27:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211142730.E6B3A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 15:27:30 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.m3 Log message: make setitimer(ITIMER_VIRTUAL) always succeed, even though Cygwin would always fail it (not so accurate a Unix emulation eh?) From hosking at cs.purdue.edu Mon Feb 11 17:38:12 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 11 Feb 2008 11:38:12 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080211111834.79E4110D4686@birch.elegosoft.com> References: <20080211111834.79E4110D4686@birch.elegosoft.com> Message-ID: <00528FCF-A83B-44CE-A768-0F6985B35EE7@cs.purdue.edu> size_t is in Utypes.i3. Why do you duplicate it? BasicCtypes should not be used for things that different OSs tend to typedef in header files -- they belong in Utypes.i3, not in BasicCtypes. On Feb 11, 2008, at 12:18 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/11 12:18:34 > > Modified files: > cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 > cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 > cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 > > Log message: > add ptrdiff_t and size_t > add apparently missing import in code that hasn't built in a long > time > (and still hasn't been) From hosking at elego.de Mon Feb 11 22:20:09 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:20:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212009.7C63210D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:20:09 Modified files: cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Mon Feb 11 22:21:03 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:21:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212103.74F7910D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:21:03 Modified files: cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Mon Feb 11 22:22:54 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:22:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212254.7EB3910D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:22:54 Modified files: cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Tue Feb 12 04:39:16 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 4:39:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212033916.7125010D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 04:39:16 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Drop use of Scheduler.Yield in slow-path allocation. From hosking at elego.de Tue Feb 12 04:54:43 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 4:54:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212035443.94B8A10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 04:54:43 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: Fix longstanding race in InitMutex and InitCondition. This remedies problem with m3tests/src/p0/p007 as reported on FreeBSD4, and fixes a reported error on Solaris as well. FreeBSD4 pthread-based threading now should be functionally equivalent to other pthread platforms (I386_DARWIN, PPC_DARWIN, SOLgnu, SOLsun, LINUXLIBC6). Fold thread mutex into the thread object itself to avoid an extra allocation. Thread.T now inherits from MUTEX. Rework Thread.Wait/AlertWait to wait using mutex argument instead of condition mutex -- this is sensible and avoids unnecessary additional Acquire/Release. Condition mutex is still used to protect the condition thread queue as necessary. Fix debug output of state change information. Don't print Stopped/Started from SignalHandler since this breaks async-safety of signal handler code. From hosking at elego.de Tue Feb 12 05:16:30 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:16:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212041630.7332D10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:16:30 Modified files: cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 Log message: We did need the IMPORT. From hosking at elego.de Tue Feb 12 05:20:47 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:20:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212042047.A12E210D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:20:47 Modified files: cm3/m3-sys/cm3/src/: m3makefile Log message: Let's avoid RCS id stuff shall we. Just clutters up the files... From hosking at elego.de Tue Feb 12 05:32:41 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:32:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212043242.37D6510D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:32:41 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 Log message: This checkin fixes something Jay left behind. Please check things build on platforms other than yours before making changes. The VAL is necessary on some targets because 0 is INTEGER whereas result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly compared with an INTEGER (result). The VAL is how we do the conversion to LONGINT. On platforms where Utypes.off_t is INTEGER this code will work the same as it is. From hosking at elego.de Tue Feb 12 06:20:18 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 6:20:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212052018.745FE10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 06:20:18 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Unused import Scheduler. From jayk123 at hotmail.com Tue Feb 12 07:18:01 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 06:18:01 +0000 Subject: [M3commit] $Id$ ? In-Reply-To: <20080212042047.A12E210D4686@birch.elegosoft.com> References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: I added some files a while ago and someone either complained or added them, so I've been adding them since. - Jay > Date: Tue, 12 Feb 2008 05:20:47 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:20:47> > Modified files:> cm3/m3-sys/cm3/src/: m3makefile > > Log message:> Let's avoid RCS id stuff shall we. Just clutters up the files...> _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Tue Feb 12 07:22:28 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 06:22:28 +0000 Subject: [M3commit] val? In-Reply-To: <20080212043242.37D6510D4686@birch.elegosoft.com> References: <20080212043242.37D6510D4686@birch.elegosoft.com> Message-ID: Sorry, I hadn't gotten around to testing this on other platforms. I do have PPC_DARWIN and PPC_LINUX available. There is/was a compilation problem with what I was doing. I"ll look into it more later. - Jay > Date: Tue, 12 Feb 2008 05:32:41 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:32:41> > Modified files:> cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 > > Log message:> This checkin fixes something Jay left behind.> > Please check things build on platforms other than yours before making> changes. The VAL is necessary on some targets because 0 is INTEGER whereas> result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly> compared with an INTEGER (result). The VAL is how we do the conversion to> LONGINT.> > On platforms where Utypes.off_t is INTEGER this code will work the same as it> is.> _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Tue Feb 12 13:32:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:32:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212123258.6E8C310D4687@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:32:58 Modified files: cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile cm3/m3-libs/m3core/src/C/NT386/: m3makefile cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile Added files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c Removed files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 Log message: a more complete fairly portable Cstdio.i3, only for NT386 for now (This highlights well where target-preprocessing would be useful, the majority of Cstdio.i3 is completely portable, except possibly for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.) From jkrell at elego.de Tue Feb 12 13:45:06 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:45:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212124509.4A5EC10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:45:06 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more repair From jkrell at elego.de Tue Feb 12 13:56:50 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:56:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212125650.7DE8D10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:56:50 Added files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 Log message: a fair amount of "unix i/o" is directly provided by msvcr*.dll and should perhaps be exposed /somewhere/. Here is a start, of sorts. From jkrell at elego.de Tue Feb 12 14:05:18 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:05:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212130518.F0C7B10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:05:18 Modified files: cm3/m3-libs/m3core/src/C/Common/: CstdioC.c Log message: fix (NT386 only) From jkrell at elego.de Tue Feb 12 14:19:32 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212131932.3278E10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:19:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uuio.i3 Log message: more cygwin interface reduction, in place of bothering to verify and repair From jkrell at elego.de Tue Feb 12 14:21:27 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:21:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132127.802D410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:21:27 Modified files: cm3/m3-libs/m3core/src/C/Common/: CstdioC.c Log message: reformat From jkrell at elego.de Tue Feb 12 14:22:14 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:22:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132214.928FD10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:22:14 Modified files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Log message: fix the extern names generally From jkrell at elego.de Tue Feb 12 14:24:01 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:24:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132401.EA73D10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:24:01 Modified files: cm3/m3-libs/m3core/src/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile Log message: start exposing some of the Unixy stuff that is provided by msvcr*.dll From jkrell at elego.de Tue Feb 12 14:25:04 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:25:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132504.56EF010D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:25:04 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: shrink From jkrell at elego.de Tue Feb 12 14:28:24 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:28:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132824.4CA9710D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:28:24 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Added files: cm3/m3-libs/m3core/src/unix/WIN32/: Unix.i3 Uuio.i3 m3makefile Log message: obviously this is /slightly/ better From jkrell at elego.de Tue Feb 12 14:29:46 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:29:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132946.96CE110D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:29:46 Modified files: cm3/m3-libs/m3core/src/unix/WIN32/: Uuio.i3 Log message: fix the extern names to have leading underscores (or double leading underscores if you look closely..) From jkrell at elego.de Tue Feb 12 14:30:48 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:30:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212133051.C18A410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:30:48 Modified files: cm3/m3-libs/m3core/src/unix/WIN32/: Unix.i3 Log message: remove dead line From jkrell at elego.de Tue Feb 12 14:34:00 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:34:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212133400.958B510D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:34:00 Removed files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 Log message: forgot to delete here From jkrell at elego.de Tue Feb 12 17:56:55 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 17:56:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212165655.5B93610D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 17:56:55 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: UtimeC.c Log message: Don't access fields at the end of struct tm that are not there! (switch from DateBsd to DateLinux) workaround data imports by copying the data after initializing it a little more header reduction since the headers are so error prone esp. remove nanosleep which I spent quite some time debugging before giving up on pthreads.. From hosking at elego.de Tue Feb 12 18:30:54 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 18:30:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212173054.181BF10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 18:30:54 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Remove ^M. From jayk123 at hotmail.com Tue Feb 12 18:33:01 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 17:33:01 +0000 Subject: [M3commit] val? In-Reply-To: <20080212043242.37D6510D4686@birch.elegosoft.com> References: <20080212043242.37D6510D4686@birch.elegosoft.com> Message-ID: This was to "fix" building NT386GNU because lseek was returning int or long instead of off_t. My mistake by changing the wrong side of things. The return type is fixed and NT386GNU is ok with the "VAL". - Jay From: jayk123 at hotmail.comTo: hosking at elego.de; m3commit at elegosoft.com; m3devel at elegosoft.comSubject: val?Date: Tue, 12 Feb 2008 06:22:28 +0000 Sorry, I hadn't gotten around to testing this on other platforms. I do have PPC_DARWIN and PPC_LINUX available.There is/was a compilation problem with what I was doing.I"ll look into it more later. - Jay > Date: Tue, 12 Feb 2008 05:32:41 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:32:41> > Modified files:> cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 > > Log message:> This checkin fixes something Jay left behind.> > Please check things build on platforms other than yours before making> changes. The VAL is necessary on some targets because 0 is INTEGER whereas> result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly> compared with an INTEGER (result). The VAL is how we do the conversion to> LONGINT.> > On platforms where Utypes.off_t is INTEGER this code will work the same as it> is.> Connect and share in new ways with Windows Live. Get it now! _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Feb 12 18:43:53 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:43:53 -0500 Subject: [M3commit] $Id$ ? In-Reply-To: References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: The log tells the story much better than random comments in the code. On Feb 12, 2008, at 1:18 AM, Jay wrote: > I added some files a while ago and someone either complained or > added them, so I've been adding them since. > > - Jay > > > > Date: Tue, 12 Feb 2008 05:20:47 +0000 > > To: m3commit at elegosoft.com > > From: hosking at elego.de > > Subject: [M3commit] CVS Update: cm3 > > > > CVSROOT: /usr/cvs > > Changes by: hosking at birch. 08/02/12 05:20:47 > > > > Modified files: > > cm3/m3-sys/cm3/src/: m3makefile > > > > Log message: > > Let's avoid RCS id stuff shall we. Just clutters up the files... > > > > > Shed those extra pounds with MSN and The Biggest Loser! Learn more. From hosking at cs.purdue.edu Tue Feb 12 18:49:21 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:49:21 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212123258.6E8C310D4687@birch.elegosoft.com> References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: There are inherently *BAD* *BAD* things about target preprocessing. The baddest thing is that preprocessing is defined separately from the language, so any tools that you use to process source files (including IDEs) have to smarten up to understand the preprocessors. In another project I am involved in it took a year or so to *remove* preprocessing crap from the sources so that the project could be developed and built using Eclipse. I would hate to see M3 go the way of C in this regard. There are more principled ways of doing language-defined (syntactic/ checkable/tool-usable) MACROS but in my opinion those approaches will add unnecessary complexity and clutter to what is currently a very clean Modula-3 language specification. I STRONGLY oppose any notion of "preprocessing" for Modula-3. On Feb 12, 2008, at 1:32 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 13:32:58 > > Modified files: > cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile > cm3/m3-libs/m3core/src/C/NT386/: m3makefile > cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile > Added files: > cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c > Removed files: > cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 > cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 > > Log message: > a more complete fairly portable Cstdio.i3, only for NT386 for now > (This highlights well where target-preprocessing would be useful, > the majority of Cstdio.i3 is completely portable, except possibly > for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.) From hosking at cs.purdue.edu Tue Feb 12 18:54:15 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:54:15 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212130518.F0C7B10D4659@birch.elegosoft.com> References: <20080212130518.F0C7B10D4659@birch.elegosoft.com> Message-ID: Jay, I *really* dislike the idea that you are putting target-specific code in a subdirectory labeled Common! If I want to search for target-specific stuff I grep for directories labeled by that target. Please, please, please think about the global picture before making these sorts of local changes! Please back this change out and put this where it belongs in cm3/m3- libs/m3core/src/C/NT386. I am happy to do it for you but I have other things to do with my time! On Feb 12, 2008, at 2:05 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 14:05:18 > > Modified files: > cm3/m3-libs/m3core/src/C/Common/: CstdioC.c > > Log message: > fix (NT386 only) From hosking at cs.purdue.edu Tue Feb 12 19:00:39 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 13:00:39 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212125650.7DE8D10D4659@birch.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> Message-ID: <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> The C stuff is not intended to expose a full C API to Modula-3 programmers. It is there mostly for bridging to C-based libraries, particularly platform-specific functionality for platforms that are implemented in C. Some of that bridging is done in the OS-specific unix subdirectories and some in the C subdirectories. Choosing where to put that bridge code is a matter of style I guess, but it should probably be a matter of consensus among the developers of CM3. So, do folks out there have any opinions on how to best structure these bridging portions of m3core? I would argue for the minimum needed to support core M3 functionality. Jay seems to want to throw everything including the kitchen sink into the core libraries. I would argue that doing so makes the job of maintaining and porting Modula-3 a little more onerous. On Feb 12, 2008, at 1:56 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 13:56:50 > > Added files: > cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 > > Log message: > a fair amount of "unix i/o" is directly provided by msvcr*.dll and > should perhaps be exposed /somewhere/. Here is a start, of sorts. From wagner at elegosoft.com Tue Feb 12 22:59:42 2008 From: wagner at elegosoft.com (Olaf Wagner) Date: Tue, 12 Feb 2008 22:59:42 +0100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> Message-ID: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Quoting Tony Hosking : > The C stuff is not intended to expose a full C API to Modula-3 > programmers. It is there mostly for bridging to C-based libraries, > particularly platform-specific functionality for platforms that are > implemented in C. Some of that bridging is done in the OS-specific > unix subdirectories and some in the C subdirectories. Choosing where > to put that bridge code is a matter of style I guess, but it should > probably be a matter of consensus among the developers of CM3. > > So, do folks out there have any opinions on how to best structure these > bridging portions of m3core? I would argue for the minimum needed to > support core M3 functionality. Jay seems to want to throw everything > including the kitchen sink into the core libraries. I would argue that > doing so makes the job of maintaining and porting Modula-3 a little > more onerous. I'm not sure that you are describing exactly was Jays intention was, but as a general rule we should of course try to keep dependencies on other languages or systems as few as possible in order to keep portability and maintainability. That said, I always found that there are rather a lot of things that are system dependent and need to be imported via a system- specific interface. One idea to improve this situation was to provide some generic POSIX interface layer which indeed does some of the mappings and adaptations in C. This could be just enough to get a base system up and running. I'm not sure how popular this idea would be within the CM3 community, and it would be some tedious work and need some refactoring of the code. It would make porting to new POSIX platforms much easier of course. It would not help much on Windows platforms of course :-/ Generally I'm not against refactoring and replacing code, but we should have a good concept and reason to do it before we start. Olaf -- Olaf Wagner -- elego Software Solutions GmbH Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From jkrell at elego.de Tue Feb 12 23:11:43 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 23:11:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212221143.D5B6810D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 23:11:43 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/NT386/: m3makefile cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile Added files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 CstdioC.c cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 CstdioC.c Removed files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c Log message: move mostly portable code to target specific directories From jayk123 at hotmail.com Wed Feb 13 11:38:17 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:38:17 +0000 Subject: [M3commit] [M3devel] CVS Update: cm3 In-Reply-To: References: <20080212130518.F0C7B10D4659@birch.elegosoft.com> Message-ID: done hours ago, not sure I saw the commitI still find a bit unsatisfactory.. but I guess that's plenty good. :) - Jay > From: hosking at cs.purdue.edu> Date: Tue, 12 Feb 2008 12:54:15 -0500> To: jkrell at elego.de> CC: m3devel at elegosoft.com; m3commit at elegosoft.com> Subject: Re: [M3devel] [M3commit] CVS Update: cm3> > Jay, I *really* dislike the idea that you are putting target-specific > code in a subdirectory labeled Common!> > If I want to search for target-specific stuff I grep for directories > labeled by that target.> > Please, please, please think about the global picture before making > these sorts of local changes!> > Please back this change out and put this where it belongs in cm3/m3- > libs/m3core/src/C/NT386. I am happy to do it for you but I have > other things to do with my time!> > On Feb 12, 2008, at 2:05 PM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/12 14:05:18> >> > Modified files:> > cm3/m3-libs/m3core/src/C/Common/: CstdioC.c> >> > Log message:> > fix (NT386 only)> _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 11:51:43 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:51:43 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: Really I'm aware of most/all of these issues and some of it, sorry, I forgot. I forgot that one of Modula-3's (few) strengths, it was ahead of its time, and now everything else except C and C++ have caught up (e.g. Java, C#), is that it easy to parse and easy to build other tools that parse it, instead of the compiler being the only tool by far that understands the language, and be incapable of providing everyone's feature, so you are left with a shortage of functionality, esp. that full works (class browsers and such). I do rather think the situation is already slightly broken in this regard though. That is, there are already generated source files. So either every tool has to know quake (not), or there has to be a place to go to get "the Modula-3 source" and "the Modula-3 source before running quake". I rather suspect this is the package store...except dependency on shipping probably very not good. Perhaps perhaps it is a very simple minimal search algorithm -- look in BUILD_DIR first? Perhaps such tools tend to be able to ignore what they can't find or understand?? And, if I /really/ wanted this feature (not), I would suggest (rather than merely mention :) ) the idea that whenever there was "target preprocessing", the compiler would be obligated to output a "preprocessed" file into BUILD_DIR. (This reminds, Metrowerks IDEs have a feature, right click on a file and select "preprocess". It is sorely missing in Visual Studio..it'd also be nice to have a batch mode -- build everything and while you are it, save preprocessed versions of everything, maybe in a compressed tokenized form viewable in the IDE unless I ask for plain text for plain tools) I didn't realize the subtley of pragmas limited affect, though I think it's still debatable. I think it'd be reasonable for other language tools to be confused about the nonexistance of implementations of <*extern*> functions. - Jay > From: hosking at cs.purdue.edu> Date: Tue, 12 Feb 2008 12:49:21 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > There are inherently *BAD* *BAD* things about target preprocessing. > The baddest thing is that preprocessing is defined separately from > the language, so any tools that you use to process source files > (including IDEs) have to smarten up to understand the preprocessors. > In another project I am involved in it took a year or so to *remove* > preprocessing crap from the sources so that the project could be > developed and built using Eclipse.> > I would hate to see M3 go the way of C in this regard.> > There are more principled ways of doing language-defined (syntactic/ > checkable/tool-usable) MACROS but in my opinion those approaches will > add unnecessary complexity and clutter to what is currently a very > clean Modula-3 language specification. I STRONGLY oppose any notion > of "preprocessing" for Modula-3.> > On Feb 12, 2008, at 1:32 PM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/12 13:32:58> >> > Modified files:> > cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile> > cm3/m3-libs/m3core/src/C/NT386/: m3makefile> > cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile> > Added files:> > cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c> > Removed files:> > cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3> > cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3> >> > Log message:> > a more complete fairly portable Cstdio.i3, only for NT386 for now> > (This highlights well where target-preprocessing would be useful,> > the majority of Cstdio.i3 is completely portable, except possibly> > for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.)> _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 11:53:03 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:53:03 +0000 Subject: [M3commit] $Id$ ? In-Reply-To: References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: I don't disagree much or care much. But I like seeing my name in lights. :) - Jay > CC: hosking at elego.de; m3commit at elegosoft.com; m3devel at elegosoft.com> From: hosking at cs.purdue.edu> Subject: Re: $Id$ ?> Date: Tue, 12 Feb 2008 12:43:53 -0500> To: jayk123 at hotmail.com> > The log tells the story much better than random comments in the code.> > On Feb 12, 2008, at 1:18 AM, Jay wrote:> > > I added some files a while ago and someone either complained or > > added them, so I've been adding them since.> >> > - Jay> >> >> > > Date: Tue, 12 Feb 2008 05:20:47 +0000> > > To: m3commit at elegosoft.com> > > From: hosking at elego.de> > > Subject: [M3commit] CVS Update: cm3> > >> > > CVSROOT: /usr/cvs> > > Changes by: hosking at birch. 08/02/12 05:20:47> > >> > > Modified files:> > > cm3/m3-sys/cm3/src/: m3makefile> > >> > > Log message:> > > Let's avoid RCS id stuff shall we. Just clutters up the files...> > >> >> >> > Shed those extra pounds with MSN and The Biggest Loser! Learn more.> _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail?-get your "fix". http://www.msnmobilefix.com/Default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:06:19 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:06:19 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: >> there has to be a place to go to get "the Modula-3 source" and "the Modula-3 source before running quake". And NOT "before running quake" I meant..sorry... _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:26:42 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:26:42 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Message-ID: Yes. I believe this is what I meant by "wrapping C in C". And my suggestion (since superceded) to wrap Utime global data with functions. For example my "get" functions for stdout/in/err. For example you would one stat struct, with just the fields anyone needs, with 64 bit sizes, with a unified time format (probably 64 bit seconds since Jan 1 1970). And then one C implementation, that #includes the native headers, and copies stuff over fairly portability, given the varying headers in scope. Or like how errno is. This is where more C code provides for more portability, since you are interfacing with code that is written in C (usually) and for which the "native" "interface language" is C headers. > It would not help much on Windows platforms of course :-/ I have to again ask what is "Posix" and point out that "Windows" provides more than maybe people realize. There is open/read/write/lseek/close, very much like you are used to. Even pipe and fdopen. Even stat I think. You'd want to use lseeki64 though and co. Forward slashes work just fine in kernel32 functions (though aren't returned from GetFullPathName). And, if you only have one drive on your system, heck, just use path /foo/bar.m3 and it works. File.open dialogs unfortunately don't follow suit, very annoying to me. But there isn't native pthreads or native X Windows, or native select/poll, gettimeofday, granted. Some of this is doable with thin layering, sometimes thick. The Cygwin code is very complicated here. Vista adds "condition variables" and the "once" thingy and that probably would help a lot. The "native" time format is something like 100s of nanoseconds since jan 1 1601 in a 64 bit number of unclear signedness. There are a bunch of C runtime functions for dealing with 32 bit or 64 bit seconds since Jan 1 1970 though. (32 bit time_t..big problem...) opendir/readdir/closedir is pretty easy to implement upon FindFirstFile/FindNextFile, I've implemented them multiple times.. I'm not sure how much the network/socket apis are similar, I've never used them. mmap and CreateFile/CreateFileMapping/MapViewOfFile I suspect are a thin mapping layer apart. Hardlinks work fine on NTFS. Symlinks for directories, essentially, were introduced in Windows 2000 (again, NTFS). Symlinks for files and directories were introduced in Vista. They seem like a huge can of worms though. As do hard links. I see circularities.. File system ACLs and attributes (read only, hidden, executable), definitely variation there. I do think these systems are more similar than people acknowledge though. e.g. the usermode/kernelmode split. All "operating systems" except the lowest end (Mac/MS-DOS/Win3.1/Win9x) have been about the same design since about 1970... - Jay > Date: Tue, 12 Feb 2008 22:59:42 +0100> From: wagner at elegosoft.com> > I'm not sure that you are describing exactly was Jays intention was,> but as a general rule we should of course try to keep dependencies> on other languages or systems as few as possible in order to keep> portability and maintainability.> > That said, I always found that there are rather a lot of things> that are system dependent and need to be imported via a system-> specific interface. One idea to improve this situation was to> provide some generic POSIX interface layer which indeed does> some of the mappings and adaptations in C. This could be just enough> to get a base system up and running. I'm not sure how popular this> idea would be within the CM3 community, and it would be some tedious> work and need some refactoring of the code. It would make porting to> new POSIX platforms much easier of course.> > It would not help much on Windows platforms of course :-/> > Generally I'm not against refactoring and replacing code, but we> should have a good concept and reason to do it before we start.> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:27:24 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:27:24 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Message-ID: (ps: except it stinks for cross building more fully; need those native C headers around....) From: jayk123 at hotmail.comTo: wagner at elegosoft.com; m3commit at elegosoft.comSubject: RE: [M3commit] CVS Update: cm3Date: Wed, 13 Feb 2008 11:26:42 +0000 Yes. I believe this is what I meant by "wrapping C in C". And my suggestion (since superceded) to wrap Utime global data with functions. For example my "get" functions for stdout/in/err. For example you would one stat struct, with just the fields anyone needs, with 64 bit sizes, with a unified time format (probably 64 bit seconds since Jan 1 1970).And then one C implementation, that #includes the native headers, and copies stuff over fairly portability, given the varying headers in scope. Or like how errno is. This is where more C code provides for more portability, since you are interfacing with code that is written in C (usually) and for which the "native" "interface language" is C headers. > It would not help much on Windows platforms of course :-/I have to again ask what is "Posix" and point out that "Windows" provides more than maybe people realize. There is open/read/write/lseek/close, very much like you are used to.Even pipe and fdopen. Even stat I think.You'd want to use lseeki64 though and co. Forward slashes work just fine in kernel32 functions (though aren't returned from GetFullPathName). And, if you only have one drive on your system, heck, just use path /foo/bar.m3 and it works. File.open dialogs unfortunately don't follow suit, very annoying to me. But there isn't native pthreads or native X Windows, or native select/poll, gettimeofday, granted. Some of this is doable with thin layering, sometimes thick.The Cygwin code is very complicated here.Vista adds "condition variables" and the "once" thingy and that probably would help a lot. The "native" time format is something like 100s of nanoseconds since jan 1 1601 in a 64 bit number of unclear signedness. There are a bunch of C runtime functions for dealing with 32 bit or 64 bit seconds since Jan 1 1970 though.(32 bit time_t..big problem...) opendir/readdir/closedir is pretty easy to implement upon FindFirstFile/FindNextFile, I've implemented them multiple times.. I'm not sure how much the network/socket apis are similar, I've never used them. mmap and CreateFile/CreateFileMapping/MapViewOfFile I suspect are a thin mapping layer apart. Hardlinks work fine on NTFS.Symlinks for directories, essentially, were introduced in Windows 2000 (again, NTFS).Symlinks for files and directories were introduced in Vista. They seem like a huge can of worms though. As do hard links.I see circularities.. File system ACLs and attributes (read only, hidden, executable), definitely variation there. I do think these systems are more similar than people acknowledge though.e.g. the usermode/kernelmode split. All "operating systems" except the lowest end (Mac/MS-DOS/Win3.1/Win9x) have been about the same design since about 1970... - Jay > Date: Tue, 12 Feb 2008 22:59:42 +0100> From: wagner at elegosoft.com> > I'm not sure that you are describing exactly was Jays intention was,> but as a general rule we should of course try to keep dependencies> on other languages or systems as few as possible in order to keep> portability and maintainability.> > That said, I always found that there are rather a lot of things> that are system dependent and need to be imported via a system-> specific interface. One idea to improve this situation was to> provide some generic POSIX interface layer which indeed does> some of the mappings and adaptations in C. This could be just enough> to get a base system up and running. I'm not sure how popular this> idea would be within the CM3 community, and it would be some tedious> work and need some refactoring of the code. It would make porting to> new POSIX platforms much easier of course.> > It would not help much on Windows platforms of course :-/> > Generally I'm not against refactoring and replacing code, but we> should have a good concept and reason to do it before we start.> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> Helping your favorite cause is as easy as instant messaging. You IM, we give. Learn more. _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elego.de Wed Feb 13 22:30:42 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 13 Feb 2008 22:30:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080213213042.8E6AF10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/13 22:30:42 Modified files: cm3/m3-sys/m3tests/: PkgTags cm3/m3-sys/m3tests/src/: m3makefile Added files: cm3/m3-sys/m3tests/src/p2/p204/: Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm Log message: add p204 -- ip address initializers -- This currently leads to code generation errors. Initializers in CONST and VAR sections seem to work, in the module body they crash the compiler. added: m3tests/src/p2/p204/Main.m3 added: m3tests/src/p2/p204/m3makefile added: m3tests/src/p2/p204/stderr.build added: m3tests/src/p2/p204/stderr.pgm added: m3tests/src/p2/p204/stdout.build added: m3tests/src/p2/p204/stdout.pgm modified: m3tests/src/m3makefile From hosking at cs.purdue.edu Wed Feb 13 22:42:57 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 13 Feb 2008 16:42:57 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080213213042.8E6AF10D4686@birch.elegosoft.com> References: <20080213213042.8E6AF10D4686@birch.elegosoft.com> Message-ID: <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> I've noticed a few other things surrounding constructors, etc.: 1) Taking SUBARRAY of an imported CONST array breaks the compiler. 2) ARRAY constructors in variable declarations that use named open array types also seem to be broken. I'll need to construct testcases for these. On Feb 13, 2008, at 10:30 PM, Olaf Wagner wrote: > CVSROOT: /usr/cvs > Changes by: wagner at birch. 08/02/13 22:30:42 > > Modified files: > cm3/m3-sys/m3tests/: PkgTags > cm3/m3-sys/m3tests/src/: m3makefile > Added files: > cm3/m3-sys/m3tests/src/p2/p204/: Main.m3 m3makefile stderr.build > stderr.pgm stdout.build > stdout.pgm > > Log message: > add p204 -- ip address initializers -- > > This currently leads to code generation errors. Initializers in > CONST and VAR sections seem to work, in the module body they crash > the compiler. > > added: m3tests/src/p2/p204/Main.m3 > added: m3tests/src/p2/p204/m3makefile > added: m3tests/src/p2/p204/stderr.build > added: m3tests/src/p2/p204/stderr.pgm > added: m3tests/src/p2/p204/stdout.build > added: m3tests/src/p2/p204/stdout.pgm > modified: m3tests/src/m3makefile From wagner at elegosoft.com Wed Feb 13 22:56:53 2008 From: wagner at elegosoft.com (Olaf Wagner) Date: Wed, 13 Feb 2008 22:56:53 +0100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> References: <20080213213042.8E6AF10D4686@birch.elegosoft.com> <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> Message-ID: <20080213225653.1dn28wru2ogocgw4@mail.elegosoft.com> Quoting Tony Hosking : > I've noticed a few other things surrounding constructors, etc.: > > 1) Taking SUBARRAY of an imported CONST array breaks the compiler. > > 2) ARRAY constructors in variable declarations that use named open > array types also seem to be broken. > > I'll need to construct testcases for these. I can do that if you like. Olaf -- Olaf Wagner -- elego Software Solutions GmbH Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From wagner at elego.de Thu Feb 14 00:44:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 14 Feb 2008 0:44:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080213234416.CD76710D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/14 00:44:16 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Added files: cm3/m3-sys/m3tests/src/p2/p205/: I.i3 Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm cm3/m3-sys/m3tests/src/p2/p206/: Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm Log message: add p205 -- SUBARRAY of imported CONST ARRAY -- and p206 -- ARRAY constructors in var decls using named open array types -- From jkrell at elego.de Thu Feb 14 12:06:11 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 12:06:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214110611.C013110D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 12:06:11 Modified files: cm3/m3-sys/cm3/src/: version.quake Log message: use Posix path for NT386GNU From jkrell at elego.de Thu Feb 14 13:10:07 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:10:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214121010.08AF110D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:10:07 Modified files: cm3/scripts/python/: pylib.py Log message: fix for non-NT386 targets (where Config == Target) From jkrell at elego.de Thu Feb 14 13:40:36 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:40:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214124036.965A810D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:40:36 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: PPC_DARWIN LINUXLIBC6 Log message: some config file unification From jkrell at elego.de Thu Feb 14 13:42:12 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:42:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214124212.C7BA910D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:42:12 Modified files: cm3/m3-sys/cminstall/src/config/: cm3.cfg Log message: remove whitespace from ends of lines From wagner at elego.de Fri Feb 15 00:18:08 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:18:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214231809.031FD10D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:18:08 Modified files: cm3/m3-sys/m3quake/: PkgTags cm3/m3-sys/m3quake/src/: QMachine.m3 Log message: fix equal for long texts modified: m3quake/src/QMachine.m3 From wagner at elego.de Fri Feb 15 00:20:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:20:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214232002.74AB610D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:20:02 Modified files: cm3/doc/: ship-cm3-www-doc cm3/doc/help/cm3/: quake.html Log message: fix operation name: fs_rm --> fs_rmfile From wagner at elego.de Fri Feb 15 00:29:06 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:29:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214232906.3B29F10D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:29:06 Modified files: cm3/m3-sys/m3tests/: PkgTags cm3/m3-sys/m3tests/src/: m3makefile Log message: use new built-in functions to compare files internally ignore " (core dumped)" differences in logs add option LOG_CMPS to log all compared files for debugging add date/time and hostname to generated report modified: m3tests/src/m3makefile From wagner at elego.de Sat Feb 16 00:36:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:36:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233645.5D8D310D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:36:45 Modified files: cm3/scripts/: pkgmap.sh Log message: add compilation and execution of package-specific test packages for -report From wagner at elego.de Sat Feb 16 00:38:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:38:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233807.6CF7410D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:38:07 Modified files: cm3/m3-libs/arithmetic/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:38:23 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:38:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233823.E86C710D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:38:23 Modified files: cm3/m3-libs/bitvector/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:42:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:42:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234228.48A0C10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:42:28 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:45:09 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:45:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234510.2156F10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:45:09 Modified files: cm3/m3-libs/slisp/tests/src/: m3makefile Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:47:20 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:47:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234720.3628A10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:47:20 Modified files: cm3/m3-comm/udp/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:56:14 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:56:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215235614.950F810D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:56:14 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 01:00:47 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:00:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216000055.660E310D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:00:47 Modified files: cm3/m3-libs/slisp/tests/src/: m3makefile Log message: fix makefile and disable test run for a while From wagner at elego.de Sat Feb 16 01:12:26 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:12:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216001226.0F37E10D4673@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:12:26 Modified files: cm3/scripts/: pkgmap.sh Log message: fix redirection From wagner at elego.de Sat Feb 16 01:13:43 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:13:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216001343.C0FDF10D4673@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:13:43 Modified files: cm3/m3-db/postgres95/test/src/: m3makefile m3overrides cm3/m3-db/stable/test/src/: m3makefile Log message: make tests run in regression test framework From neels at elego.de Sat Feb 16 03:16:31 2008 From: neels at elego.de (Neels Janosch Hofmeyr) Date: Sat, 16 Feb 2008 3:16:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216021631.29BCD10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: neels at birch. 08/02/16 03:16:31 Modified files: cm3/www/: install-cm3-on-ubuntu-7-10.html Log message: updated install-cm3-on-ubuntu-7-10.html From wagner at elego.de Sat Feb 16 11:29:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 11:29:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216102916.E9A7B10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 11:29:16 Modified files: cm3/scripts/: pkgmap.sh Log message: use simply cm3 -build -DTEST -DRUN to perform tests From jkrell at elego.de Sat Feb 16 13:44:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 13:44:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216124442.962AD10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 13:44:42 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: take another Posix path on NT386GNU -- since cmd /c move doesn't understand /cygdrive (probably would with a quote and my junction pointer), make strings readonly and reuse the prefix From wagner at elego.de Sat Feb 16 17:01:30 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 17:01:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216160131.13AD210D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 17:01:30 Modified files: cm3/m3-libs/patternmatching/tests/src/: Main.m3 m3makefile Log message: enable tests again with appropriate input From wagner at elego.de Sat Feb 16 17:19:49 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 17:19:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216161949.4BD2910D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 17:19:49 Modified files: cm3/scripts/: pkgmap.sh Log message: define ROOT during test compilation and execution, too use orange for package test reports if output is encountered on stderr (which may only be a warning) From hosking at elego.de Sat Feb 16 17:47:14 2008 From: hosking at elego.de (Antony Hosking) Date: Sat, 16 Feb 2008 17:47:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216164714.13AB810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/16 17:47:14 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Put in a more descriptive comment regarding preservation of invariants on stack/register blackness/dirtiness for possible interior pointers to heap objects. From jkrell at elego.de Sat Feb 16 20:45:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 20:45:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216194522.7473010D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 20:45:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: some header corrections From jkrell at elego.de Sat Feb 16 21:03:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:03:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216200322.5C84710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:03:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.m3 Log message: looks like I forgot this earlier (to be removed once we remove the globals) From jkrell at elego.de Sat Feb 16 21:26:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:26:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216202601.2E90A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:26:01 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more header repair and reduction From wagner at elego.de Sat Feb 16 21:36:44 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 21:36:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216203644.2EACC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 21:36:44 Modified files: cm3/m3-libs/patternmatching/tests/src/: Main.m3 m3makefile regex.i3 Added files: cm3/m3-libs/patternmatching/tests/src/: regex.c Log message: The re_comp and re_exec functions used in this test are more or less obsolete. I tried to use the newer regcomp and regexec interface, but failed to come up with something that works both on FreeBSD and Linux. This at least gives some results on Debian Linux, but fails completely on FreeBSD. It seems also strange that the regex match of libc should produce so much obvious errors. Probably I did something wrong in the C code. From jkrell at elego.de Sat Feb 16 21:39:03 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:39:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216203903.9B12610D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:39:03 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: m3makefile Log message: This leads to revealing File.T twice, which the compiler only seems to sometimes notice. Not having this breaks NT386GNU serial but for now that is ok. Ideally we restructure this somewhat so that FileWin32 can be used without revealing the portable parts. As to why the multiple revelations are only sometimes noticed deserves further investigation. In particular, the compiler noticed when I continued to try to have more Win32 code available on NT386GNU, particularly ProcessWin32 in trying to avoid problems with ProcessPosix on NT386GNU/Cygwin. From wagner at elego.de Sat Feb 16 21:41:04 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 21:41:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204104.F298810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 21:41:04 Modified files: cm3/m3-libs/patternmatching/tests/src/: regex.c Log message: avoid initialization of regex_t on FreeBSD From jkrell at elego.de Sat Feb 16 21:44:40 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:44:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204440.B3DDC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:44:40 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Utypes.m3 Log message: more header reduction; I could see some of this coming back as we move on to build more packages, but for now, ok From jkrell at elego.de Sat Feb 16 21:48:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:48:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204842.25DDE10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:48:42 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uutsname.i3 Log message: use correct size From jkrell at elego.de Sat Feb 16 22:05:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:05:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216210553.394E810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:05:53 Modified files: cm3/scripts/python/: pylib.py Log message: skip serial on NT386GNU for now From jkrell at elego.de Sat Feb 16 22:09:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:09:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216210959.49C8510D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:09:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: reduce ioctls a lot From jkrell at elego.de Sat Feb 16 22:33:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:33:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216213350.5FDD810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:33:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: a little more reduction From jkrell at elego.de Sat Feb 16 22:52:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:52:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216215222.D9B7710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:52:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: put back symlink, somehow missed that sysutils uses it From wagner at elego.de Sat Feb 16 23:09:26 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 23:09:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216220926.7142F10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 23:09:26 Modified files: cm3/m3-comm/udp/test/src/: TestUDP.m3 m3makefile Log message: avoid endless loops in TestUDP disable test run for now needs fixing From wagner at elego.de Sat Feb 16 23:12:31 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 23:12:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216221231.D303210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 23:12:31 Modified files: cm3/m3-libs/binIO/test/src/: m3makefile Log message: add test run From wagner at elego.de Sun Feb 17 00:46:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 0:46:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216234616.BF71210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 00:46:16 Modified files: cm3/m3-db/postgres95/: PkgTags cm3/m3-db/postgres95/src/: PQ.i3 m3makefile cm3/m3-db/postgres95/test/src/: Demo2.m3 Added files: cm3/m3-db/postgres95/src/: PQ.m3 Log message: add new connection function PQsetdbLogin add implementation of old PQsetdb for compatibility make the test program compile and run (it actually works as expected!) added: postgres95/src/PQ.m3 modified: postgres95/src/PQ.i3 modified: postgres95/src/m3makefile modified: postgres95/test/src/Demo2.m3 From wagner at elego.de Sun Feb 17 00:48:05 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 0:48:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216234805.88A1210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 00:48:05 Modified files: cm3/scripts/: pkgmap.sh Log message: add missing -override for test execution paint background for missing tests yellow From jkrell at elego.de Sun Feb 17 07:31:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 7:31:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217063200.C1F9B10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 07:31:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uin.m3 Log message: fix alarming comment From hosking at elego.de Sun Feb 17 08:13:38 2008 From: hosking at elego.de (Antony Hosking) Date: Sun, 17 Feb 2008 8:13:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217071338.D493C10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/17 08:13:38 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c Log message: esp field has changed to __esp for Leopard. Use an ifdef to choose appropriately. From jkrell at elego.de Sun Feb 17 10:05:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:05:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217090558.8502F10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:05:58 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c Umman.i3 Usocket.i3 Ustat.i3 Utypes.i3 Utypes.i3.cpp m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Ugrp.i3 Uipc.i3 Umsg.m3 Upaths.i3 Upthread.i3 Upthread.i3.c Usched.i3 Usem.i3 Usem.m3 Ushm.i3 Usyslog.i3 Utermio.i3 Utypes.m3 Log message: significant header repair and reduction, esp. struct stat From jkrell at elego.de Sun Feb 17 10:36:45 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:36:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093645.A080A10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:36:45 Modified files: cm3/m3-db/smalldb/src/: OSSupport.m3 Log message: remove gratuitious newlines at end of file (leave just one) From jkrell at elego.de Sun Feb 17 10:37:48 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:37:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093748.59F5C10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:37:48 Modified files: cm3/m3-libs/m3core/src/win32/: WinBase.i3 Log message: expose IsDebuggerPresent, and dos2unix From jkrell at elego.de Sun Feb 17 10:38:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:38:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093832.16A1E10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:38:32 Modified files: cm3/m3-libs/m3core/src/win32/: m3makefile Log message: minor simplification From wagner at elego.de Sun Feb 17 10:56:34 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 10:56:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217095634.795EC10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 10:56:34 Modified files: cm3/scripts/: pkgmap.sh Log message: improve package test report layout: move all test details to the end From jkrell at elego.de Sun Feb 17 11:21:16 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:21:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102116.EDB1310D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:21:16 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common NT386GNU Log message: stick with Win32 file (but not path) naming conventions for now, more clearly/definitely From jkrell at elego.de Sun Feb 17 11:23:28 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:23:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102328.B94F710D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:23:27 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py pylib.py upgrade.py Log message: small tweaks to what builds and which slash is in paths From jkrell at elego.de Sun Feb 17 11:29:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:29:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102953.05D7A10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:29:52 Modified files: cm3/scripts/python/: pylib.py Log message: fix file not found error that always gets reported From wagner at elego.de Sun Feb 17 11:31:04 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 11:31:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217103104.C039510D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 11:31:04 Modified files: cm3/scripts/: pkgmap.sh Log message: minor HTML change From wagner at elego.de Sun Feb 17 14:57:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 14:57:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217135721.8913E10D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 14:57:21 Modified files: cm3/scripts/: pkgmap.sh Log message: minor corrections From wagner at elego.de Sun Feb 17 18:07:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 18:07:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217170708.4E7AC10D421D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 18:07:07 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile regex.c regex.i3 Added files: cm3/m3-libs/patternmatching/tests/src/: regex.m3 Log message: Add a working M3 implementation instead of the C workaround. This works at least on FreeBSD now, but I'm not sure if the constant values are the same on all platforms. We'll see. Note: it is important *not to link in the compatibility library libcompat* on FreeBSD, since this seems to be not thread-aware and will cause the newer regex interfaces to fail in mysterious ways. I should have noticed that earlier. From jkrell at elego.de Mon Feb 18 04:32:07 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 4:32:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218033207.4055110D428A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:32:07 Modified files: cm3/scripts/python/: pylib.py Log message: until we make more changes in m3path and possibly elsewhere, user has to manage this (findstr /i /m cygwin1.dll cm3.exe would be a good way to detect what it wants too..) From hosking at elego.de Mon Feb 18 04:48:37 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 18 Feb 2008 4:48:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218034837.BD76810D428B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/18 04:48:37 Modified files: cm3/scripts/regression/: cm3.build Log message: -e flag for test not available in Solaris sh. From jkrell at elego.de Mon Feb 18 04:53:19 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 4:53:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218035320.23A4A10D428B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:53:19 Modified files: cm3/m3-sys/cm3/src/: Builder.i3 Builder.m3 M3Build.m3 M3Path.i3 M3Path.m3 Main.m3 Log message: Making NAMING_CONVENTIONS in the config file actually work by checking it much earlier; previously the runtime probed slash apparently was the real determiner of naming conventions, except for the .m3x file's name perhaps. As well, besides the slash no longer determining naming convention, also make the naming convention not determine the slash. That is NT386GNU uses Win32 naming conventions (at least for now), except for the runtime probed slash which is a forward slash. From jkrell at elego.de Mon Feb 18 05:09:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 5:09:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218040910.9969070D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 05:09:10 Modified files: cm3/scripts/python/: pylib.py Log message: fix for older Python that lacks os.devnull, per the comment that says to comment out :) From wagner at elego.de Mon Feb 18 09:32:15 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 18 Feb 2008 9:32:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218083215.6130910D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/18 09:32:15 Modified files: cm3/scripts/: pkgmap.sh Log message: fix test output in case of package build failures From jkrell at elego.de Mon Feb 18 10:54:02 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:54:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095403.19EAB10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:54:02 Modified files: cm3/scripts/python/: upgrade.py Log message: do be sure to rebuild m3core and libm3 in order for the new compiler to not just crash From jkrell at elego.de Mon Feb 18 10:56:50 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:56:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095650.1E87610D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:56:50 Modified files: cm3/scripts/python/: upgrade.py Log message: one more is justified in order to use a compiler with a current runtime? From jkrell at elego.de Mon Feb 18 10:57:05 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:57:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095705.8360A10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:57:05 Modified files: cm3/scripts/python/: upgrade.py Log message: fix comment From jkrell at elego.de Mon Feb 18 14:38:16 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 14:38:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218133816.B04C170D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 14:38:16 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: first of a few changes to M3Path.m3; don't touch lcase array until there is a mismatch (this can be even more efficiently by not checking for ignore_case until there is a mismatch) From jkrell at elego.de Mon Feb 18 14:44:26 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 14:44:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218134426.6C17B10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 14:44:26 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: compare length up front; this is actually almost the same as it worked before but maybe clearer; before it called max and then in RegionMatch the explicit bounds check would trigger a mismatch From jkrell at elego.de Mon Feb 18 15:13:24 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 15:13:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218141325.146A610D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 15:13:24 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: combine common code as is the pattern nearby, using either the preallocated buffer on the stack or a larger right-sized heap allocation avoid repeated calls to Text.Length on the same Text reduce scope of functions by making them local, even if they don't reuse parent local variables From jkrell at elego.de Mon Feb 18 15:22:32 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 15:22:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218142232.B384510D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 15:22:32 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: When converting from/to the same thing, don't bother looking for it. When converting a zero length string, don't bother with additional setup. These are nice classic simple optimizations though will perhaps be wiped out shortly by a preference for forward slashes. (or possibly preserved by merely treating forward/backward slashes about the same) From jkrell at elego.de Mon Feb 18 16:04:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 16:04:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218150429.AA6F310D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 16:04:28 Modified files: cm3/scripts/python/: pylib.py Log message: pass InstallRoot down to the delegating cm3.cfg on configurations (my Mac) where it isn't set in the environment already From jkrell at elego.de Mon Feb 18 16:16:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 16:16:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218151644.E5E4410D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 16:16:44 Modified files: cm3/m3-sys/m3quake/src/: QMachine.i3 QMachine.m3 cm3/m3-sys/cm3/src/: M3Path.m3 Log message: At least for purposes of determining if Join(a,b) is b or a + slash + b, treat any path that starts with a forward or backward slash, or contains a colon as the second character, as absolute, on all platforms. It is ASSUMED that backslashes and colons are never used in paths on non-Windows systems, or at least that this interpretation is ok. This will contribute some ease of use. NT386 and NT386GNU need not be so picky about path forms. Cygwin and Win32 already generally accept either form in many contexts, sometimes with slightly different meaning, sometimes not. e.g. the path /foo in Win32 is at the root of the "current drive, but is just "at the root" in Cygwin. In either case, for purposes of Join, it CAN be considered absolute though this does change the meaning of some constructs. e.g. if current drive is C:, is Join(D:, /foo) => D:/foo or just /foo, which would then become C:/foo? What is more interesting and useful is for NT386GNU to treat c:\foo as absolute, as this change also achieves, so that Join(c:\foo, d:\bar) is the valid path d:\bar and not the invalid c:\foo/d:\bar. Again note that Cygwin appears to accept all of c:\foo, c:/foo, /foo, and \foo style paths, and that Win32 definitely accepts them, albeit maybe with different meaning. (//foo and \\foo also) From jkrell at elego.de Mon Feb 18 18:20:52 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 18:20:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218172053.1A46710D4315@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 18:20:52 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: this line can go back where it was, and remove accidentally commited debugprint From jkrell at elego.de Mon Feb 18 20:42:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 20:42:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218194259.5FA2A10D4315@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 20:42:58 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: more escaping madness From wagner at elego.de Wed Feb 20 00:10:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:10:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219231039.00E5B10D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:10:38 Modified files: cm3/m3-db/db/test/src/: m3makefile Added files: cm3/m3-db/db/test/src/: m3overrides Log message: add override and demo execution From wagner at elego.de Wed Feb 20 00:20:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:20:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219232028.2FF6310D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:20:28 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 LINUXLIBC6 Log message: update some postgres and odbc configuration From wagner at elego.de Wed Feb 20 00:23:43 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:23:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219232343.8E01210D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:23:43 Modified files: cm3/m3-sys/cm3/src/config/: FreeBSD4 LINUXLIBC6 Log message: update some postgres and odbc configuration From wagner at elego.de Wed Feb 20 00:02:05 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:02:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219230205.1DB4010D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:02:05 Modified files: cm3/m3-db/odbc/test/src/: m3makefile Added files: cm3/m3-db/odbc/test/src/: m3overrides Log message: add override and demo execution From wagner at elego.de Wed Feb 20 00:40:49 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:40:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219234049.705E510D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:40:49 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 LINUXLIBC6 Log message: also update SYSTEM_LIBORDER From wagner at elego.de Wed Feb 20 00:41:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:41:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219234102.CC97110D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:41:02 Modified files: cm3/m3-sys/cm3/src/config/: FreeBSD4 LINUXLIBC6 Log message: also update SYSTEM_LIBORDER From wagner at elego.de Wed Feb 20 00:56:29 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:56:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219235629.2C5AF10D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:56:29 Modified files: cm3/scripts/: do-cm3-caltech-parser.sh pkginfo.txt Log message: add missing packages drawcontext/dcpane and drawcontext/kgv From wagner at elego.de Wed Feb 20 00:57:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:57:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219235716.71B8110D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:57:16 Modified files: cm3/caltech-parser/drawcontext/test/src/: m3makefile m3overrides Log message: make test compile and run it (seems to crash though)-: From wagner at elego.de Wed Feb 20 02:10:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 2:10:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220011009.82F8210D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 02:10:07 Modified files: cm3/caltech-parser/drawcontext/test/src/: m3makefile Log message: workaround dependency problem and disable test run From wagner at elego.de Wed Feb 20 02:25:40 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 2:25:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220012540.7BC4B10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 02:25:40 Modified files: cm3/scripts/: pkgmap.sh Log message: improve link styles From wagner at elego.de Wed Feb 20 12:14:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 12:14:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220111407.AAB1110D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 12:14:07 Modified files: cm3/caltech-parser/: m3overrides cm3/caltech-parser/cit_common/src/: m3makefile m3overrides cm3/caltech-parser/cit_util/src/: m3overrides cm3/caltech-parser/drawcontext/dcpane/src/: m3overrides cm3/caltech-parser/drawcontext/kgv/src/: m3overrides cm3/caltech-parser/drawcontext/src/: m3overrides cm3/caltech-parser/drawcontext/test/src/: m3overrides cm3/caltech-parser/hack/src/: m3overrides cm3/caltech-parser/m3browserhack/src/: m3overrides cm3/caltech-parser/m3tmplhack/src/: m3overrides cm3/caltech-parser/paneman/kemacs/src/: m3overrides cm3/caltech-parser/paneman/src/: m3overrides cm3/caltech-parser/parserlib/: m3overrides cm3/caltech-parser/parserlib/kext/src/: m3overrides cm3/caltech-parser/parserlib/klex/src/: m3overrides cm3/caltech-parser/parserlib/klexlib/src/: m3overrides cm3/caltech-parser/parserlib/ktok/src/: m3overrides cm3/caltech-parser/parserlib/ktoklib/src/: m3overrides cm3/caltech-parser/parserlib/kyacc/src/: m3overrides cm3/caltech-parser/parserlib/kyacclib/src/: m3overrides cm3/caltech-parser/parserlib/parserlib/src/: m3overrides parser.tmpl cm3/caltech-parser/parserlib/parserlib/test/src/: m3overrides cm3/caltech-parser/parserlib/parserlib/test_stdin/src/: m3overrides cm3/caltech-parser/term/src/: m3overrides Log message: abstract / to SL in quake code From wagner at elego.de Wed Feb 20 12:46:44 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 12:46:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220114646.9726F10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 12:46:44 Modified files: cm3/caltech-parser/cit_common/src/: m3makefile cm3/caltech-parser/parserlib/klexlib/src/: m3makefile Log message: more slash substitution and makeup From wagner at elego.de Wed Feb 20 14:49:42 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 14:49:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220134943.4E9C410D4561@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 14:49:42 Modified files: cm3/scripts/: pkgmap.sh Log message: force sourcing sysinfo.sh put log files into ${PKG}/${TARGET} use fold to break long lines in tables From wagner at elego.de Wed Feb 20 15:19:01 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 15:19:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220141901.BC43E10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 15:19:01 Modified files: cm3/m3-libs/bitvector/src/: BitVector.m3 m3overrides cm3/m3-libs/bitvector/test/src/: TestBitVector.m3 m3overrides Log message: fix: the bitvector iterator was broken due to a wrong increment A missing override was added, too. Now all tests succeed. From wagner at elego.de Wed Feb 20 15:19:51 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 15:19:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220141951.3AFD310D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 15:19:51 Modified files: cm3/scripts/: pkgmap.sh Log message: extend test failure pattern by "test failed" From wagner at elego.de Wed Feb 20 16:33:50 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 16:33:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220153350.9C17C10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 16:33:50 Modified files: cm3/m3-libs/bitvector/src/: BitVector.m3 Log message: remove tabs From wagner at elego.de Thu Feb 21 01:07:00 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:07:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221000700.14D4110D4561@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:07:00 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: System.i3 System.m3 TextReadingUtils.i3 TextReadingUtils.m3 Log message: implement pipes in System.ExecuteList improve command line parsing (no space needed anymore) make text reading utilities more flexible modified: sysutils/src/System.i3 modified: sysutils/src/System.m3 modified: sysutils/src/TextReadingUtils.i3 modified: sysutils/src/TextReadingUtils.m3 From wagner at elego.de Thu Feb 21 01:08:27 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:08:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221000827.61DA510D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:08:27 Modified files: cm3/doc/help/cm3/: quake.html Log message: update description of q_exec (syntax, pipes) From wagner at elego.de Thu Feb 21 01:10:17 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:10:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221001019.21DC810D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:10:17 Modified files: cm3/m3-sys/m3quake/test/src/: m3makefile result.stdout Log message: add more execution tests From jkrell at elego.de Fri Feb 22 16:55:01 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 22 Feb 2008 16:55:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222155502.4EABF10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/22 16:55:01 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c 1.cmd Udir.i3 Usignal.i3 Usignal.i3.c m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Uucontext.i3 Usignal.m3 Log message: more header reduction and repair From wagner at elego.de Fri Feb 22 18:19:41 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 22 Feb 2008 18:19:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222171941.2310D10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/22 18:19:41 Modified files: cm3/m3-libs/sysutils/src/: m3makefile Added files: cm3/m3-libs/sysutils/src/: FingerprintFmt.i3 FingerprintFmt.m3 Log message: add procedures for fingerprint i/o (will be needed by some future commits) From wagner at elego.de Fri Feb 22 18:22:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 22 Feb 2008 18:22:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222172257.E4FC810D45D1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/22 18:22:57 Modified files: cm3/m3-www/http/: PkgTags cm3/m3-www/http/src/: m3makefile m3overrides Removed files: cm3/m3-www/http/src/: FastLex.i3 FastLex.m3 Log message: FastLex is already contained in the sysutils package; just import that as it not really related to http removed: http/src/FastLex.i3 removed: http/src/FastLex.m3 modified: http/src/m3makefile modified: http/src/m3overrides From jkrell at elego.de Sat Feb 23 07:56:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 7:56:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223065632.4277310D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 07:56:32 Modified files: cm3/scripts/python/: bootntgnu.py pylib.py Log message: if path machinations go as planned, I won't have to set as many environment variables allow uname in the path and still target NT386 otherwise tweak target detection From jkrell at elego.de Sat Feb 23 08:01:11 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:01:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223070111.C24AA10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:01:11 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common Log message: let GNU platform come from parent (m3cc/m3gdb don't honor this though..) try to use sysutils fs_cp instead of command line utilities fs_rmfile looks redundant with preexisting delete_file these names are very terse and Unixy, cp instead of Copy.. some additional command line escaping These last two changes help enable a cross scenario that I accidentally tried -- targeting NT386 with a NT386GNU cm3, or something like that. In particular, config files don't know if their HOST is Win32 or Posix, they know about their TARGET. From jkrell at elego.de Sat Feb 23 08:02:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:02:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223070225.8093910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:02:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: cleanup From jkrell at elego.de Sat Feb 23 08:12:21 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:12:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223071221.6175D10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:12:21 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Uuio.i3 Log message: prune a bit more, and fix formating From jkrell at elego.de Sat Feb 23 08:42:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:42:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223074247.96F6010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:42:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uin.i3 Uin.m3 Uresource.i3 Usocket.i3 Log message: more header pruning and repair From jkrell at elego.de Sat Feb 23 08:51:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:51:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223075126.E1C3A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:51:26 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usocket.i3 Log message: more header pruning and repair From jkrell at elego.de Sat Feb 23 09:01:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:01:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223080153.EE8EA10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:01:52 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usocket.i3 Uugid.i3 Uuio.i3 Log message: just a bit of cleanup and put back Usocket.shutdown From jkrell at elego.de Sat Feb 23 09:28:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223082814.2757510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:28:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3 Log message: more header reduction and repair From jkrell at elego.de Sat Feb 23 09:28:56 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:28:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223082856.2739E10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:28:56 Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: initial version that is just copy of the .i3 file From jkrell at elego.de Sat Feb 23 09:31:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:31:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083159.B51CB10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:31:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3.c Log message: meant this file -- remove a bit of no longer needed code From jkrell at elego.de Sat Feb 23 09:32:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:32:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083227.E17CB10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:32:27 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Uerror.i3.cpp Log message: initial version that prints the same content as we already have From jkrell at elego.de Sat Feb 23 09:36:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:36:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083631.2F6F110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:36:31 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: generate Uerror.i3 reliably; though the current one is already correct From jkrell at elego.de Sat Feb 23 09:56:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:56:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223085653.1D28D10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:56:53 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Log message: prune a bit more unused declarations From jkrell at elego.de Sat Feb 23 10:50:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 10:50:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223095039.5D76210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 10:50:39 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Uin.i3 Log message: fix warnings about unused From jkrell at elego.de Sat Feb 23 10:58:56 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 10:58:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223095856.DBA2010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 10:58:56 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upwd.i3 Log message: repair and reduce From jkrell at elego.de Sat Feb 23 11:16:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 11:16:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223101650.07A6210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 11:16:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uprocess.i3 Log message: remove more unused From jkrell at elego.de Sat Feb 23 12:03:00 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:03:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223110300.9F04A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:03:00 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Udir.i3 Uin.i3 Unetdb.i3 Unix.i3 m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Umsg.i3 Unetdb.m3 Log message: reduce, repair, and tweak slightly From jkrell at elego.de Sat Feb 23 12:12:07 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:12:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223111207.7237A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:12:07 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: put back symlink From jkrell at elego.de Sat Feb 23 12:16:24 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:16:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223111624.D0AE810D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:16:24 Modified files: cm3/m3-obliq/obliqrt/src/: ObValue.m3 Log message: mark unused parameters with pragma to prevent warning From jkrell at elego.de Sat Feb 23 12:40:57 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:40:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223114057.628D710D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:40:57 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: m3makefile cm3/m3-libs/libm3/src/os/WIN32/: m3makefile Log message: switch NT386GNU to Win32 paths Cygwin does accept all of c:\foo, \foo, c:/foo, /foo. From jkrell at elego.de Sat Feb 23 12:46:45 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:46:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223114645.5D37510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:46:45 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: add comment, check string length before full equality, don't bother shortening assembly source file names, maybe save some heap allocs From jkrell at elego.de Sat Feb 23 13:11:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:11:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223121139.6B2D910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:11:39 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: go back a version -- to regular Pathname.Absolute From jkrell at elego.de Sat Feb 23 13:34:40 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:34:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223123440.6EEA110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:34:40 Modified files: cm3/m3-sys/m3quake/src/: QMachine.i3 QMachine.m3 Log message: go back a version, to regular Pathname.Absolute From jkrell at elego.de Sat Feb 23 13:39:06 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:39:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223123906.F1AB010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:39:06 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: forward slash is a path separator on all current platforms (ignoring Macos Classic), and then some platforms (Windows) have another separator, so always check for forward slash and the other possible one (which is usually also just a forward slash) From jkrell at elego.de Sat Feb 23 13:47:54 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:47:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223124754.314CF10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:47:54 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: bring in some disabled-by-default test code, that reveals some bugs From jkrell at elego.de Sat Feb 23 13:48:55 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:48:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223124855.B642A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:48:55 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: oops From jkrell at elego.de Sat Feb 23 13:54:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:54:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223125458.D1B8C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:54:58 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: c:\a\b..\..\d should collapse to c:\a\d that "b.." ends in ".." is not relevant From jkrell at elego.de Sat Feb 23 15:04:00 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:04:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140400.C6C3C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:04:00 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: support foo.lib instead of libfoo.a but with forward slashes, like was here recently (should NOT be controversial) From jkrell at elego.de Sat Feb 23 15:04:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:04:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140458.2F71210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:04:58 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: but it does need to compile of course From jkrell at elego.de Sat Feb 23 15:05:15 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:05:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140515.DAD2A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:05:15 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: but it does need to compile of course From jkrell at elego.de Sat Feb 23 15:09:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:09:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140931.77D6F10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:09:31 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: cleanup From jkrell at elego.de Sat Feb 23 15:21:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:21:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142129.23D4410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:21:29 Modified files: cm3/scripts/python/: upgrade.py Log message: gcc backend is SO SLOW, remove one rebuild From jkrell at elego.de Sat Feb 23 15:22:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:22:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142230.6595210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:22:30 Modified files: cm3/scripts/python/: upgrade.py Log message: don't clean again either From jkrell at elego.de Sat Feb 23 15:28:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:28:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142801.A534410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:28:01 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: m3makefile cm3/m3-libs/libm3/src/os/POSIX/: m3makefile Log message: NT386GNU back to Posix paths, essentially just works either way, at least if you set CM3_ROOT, CM3_INSTALL, M3CONFIG environment variables (and even then, that's because my Python always sniffs to Win32 paths, it could do better, such as by findstr cygwin1.dll on cm3.exe) From jkrell at elego.de Sat Feb 23 15:45:11 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:45:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144511.ED66010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:45:11 Modified files: cm3/scripts/python/: pylib.py Log message: initial code to sniff if cm3.exe is a Cygwin binary and if so convert paths for it From jkrell at elego.de Sat Feb 23 15:45:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:45:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144600.2A05C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:45:58 Modified files: cm3/scripts/python/: pylib.py Log message: move code near each other From jkrell at elego.de Sat Feb 23 15:48:28 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:48:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144828.4D1B910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:48:28 Modified files: cm3/scripts/python/: pylib.py Log message: fix environment variable name in comment From jkrell at elego.de Sat Feb 23 15:56:12 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:56:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223145612.6A09410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:56:12 Modified files: cm3/scripts/python/: pylib.py Log message: fix cygwin paths From wagner at elego.de Sat Feb 23 15:58:41 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 23 Feb 2008 15:58:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223145841.2ABA910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/23 15:58:41 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 Log message: use libiodcb on FreeBSD From wagner at elego.de Sat Feb 23 16:03:24 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 23 Feb 2008 16:03:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223150324.AF19510D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/23 16:03:24 Modified files: cm3/scripts/: upgrade.sh cm3/scripts/regression/: defs.sh Log message: add switch UPGRADE_CM3_CFG to upgrade.sh fore config file upgrade during regression tests (otherwise changes in the configuration will never be reflected there) From jkrell at elego.de Sat Feb 23 16:12:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:12:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223151205.1207110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:12:05 Modified files: cm3/scripts/python/: make-dist.py Log message: change environment variable name From jkrell at elego.de Sat Feb 23 16:28:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:28:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223152805.CD8FE10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:28:05 Modified files: cm3/scripts/python/: make-dist.py pylib.py Log message: path hackery to make progress on NT386GNU make-dist From jkrell at elego.de Sat Feb 23 16:41:02 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:41:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223154102.8A58110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:41:02 Modified files: cm3/scripts/python/: make-dist.py Log message: need sysutils From jkrell at elego.de Sat Feb 23 17:56:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 17:56:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223165639.E794610D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 17:56:39 Modified files: cm3/m3-sys/cminstall/src/config/: NT386GNU Log message: fix comments From jkrell at elego.de Sat Feb 23 18:22:17 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:22:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223172218.0094510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:22:17 Modified files: cm3/scripts/python/: make-dist.py pylib.py Log message: go back to only building min distributions for now put in far fewer config files in distributions (Target* plus a one line stub) From jkrell at elego.de Sat Feb 23 18:28:13 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:28:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223172813.E5D1910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:28:13 Modified files: cm3/scripts/python/: make-dist.py Log message: most targets need no lib directory, and it gets created if necessary From jkrell at elego.de Sat Feb 23 18:30:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:30:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223173048.2BC7B10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:30:47 Modified files: cm3/scripts/python/: pylib.py Log message: comment about future direction From jkrell at elego.de Sat Feb 23 21:21:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 21:21:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223202150.DAB8810D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 21:21:50 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Log message: fix so tests can be run on Windows From jkrell at elego.de Sat Feb 23 21:41:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 21:41:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223204126.A759B10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 21:41:26 Modified files: cm3/scripts/python/: pylib.py Log message: some allowance for the Cygwin Python that is in my path ugh.. From jkrell at elego.de Sun Feb 24 00:35:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:35:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223233532.F131110D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:35:32 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: support targeting NT386 from NT386GNU host, if the right junction points are setup (should write the pn_* functions?) From jkrell at elego.de Sun Feb 24 00:39:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:39:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223233901.3741F10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:39:01 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: support targeting NT386 from NT386GNU host -- semicolons in command options do not separate commands, wrap the thing in cmd /d quotes to SHield from SHenanigans From jkrell at elego.de Sun Feb 24 00:42:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:42:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223234225.2039A10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:42:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: only waste a process if Cygwin forces us From jkrell at elego.de Sun Feb 24 00:47:43 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:47:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223234743.95AE710D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:47:43 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: coments only (essentially) From wagner at elego.de Sun Feb 24 01:41:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 1:41:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224004138.31B4110D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 01:41:38 Modified files: cm3/scripts/regression/: update_snapshot_status.sh Log message: fix index and cleanup for source archives From wagner at elego.de Sun Feb 24 02:07:25 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 2:07:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224010726.8D41610D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 02:07:25 Modified files: cm3/scripts/: make-src-dist-sys.sh Log message: add missing packages to sys dist From jkrell at elego.de Sun Feb 24 13:20:38 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 13:20:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224122038.607F210D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 13:20:38 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py Log message: stuff works now From jkrell at elego.de Sun Feb 24 13:22:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 13:22:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224122201.F23D110D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 13:22:01 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py Log message: reformat and remove duplicate From wagner at elego.de Sun Feb 24 13:36:08 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 13:36:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224123608.4473A10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 13:36:08 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 M3Path.m3 Log message: The latest changes seem to break overrides for some packages (see package status of m3-db/odbc for example). Revert this package to the last working version I found: cvs up -j 1.16 -j 1.14 src/Builder.m3 cvs up -j 1.19 -j 1.5 src/M3Path.m3 With this version, all current packages and tests work at least on my FreeBSD 6.3 system. From jkrell at elego.de Sun Feb 24 16:02:04 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:02:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224150206.5A6E310D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:02:04 Modified files: cm3/scripts/python/: pylib.py upgrade.py Log message: fewer double slashes and should handle upgrading from NT386 to NT386GNU or vice versa (still testing) From jkrell at elego.de Sun Feb 24 16:04:36 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:04:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224150440.3248B10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:04:36 Modified files: cm3/scripts/python/: upgrade.py Log message: only remove pylib.py's M3CONFIG variable right before reloading pylib.py, not right after From jkrell at elego.de Sun Feb 24 16:14:09 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:14:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224151410.1365F10D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:14:09 Modified files: cm3/scripts/python/: upgrade.py Log message: the other variables do need fixing when upgrading between host types (maybe pylib or cm3 should just always do this?) From wagner at elego.de Sun Feb 24 16:55:58 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 16:55:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224155559.2F9DF10D469F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 16:55:58 Modified files: cm3/m3-sys/cm3/src/config/: LINUXLIBC6 cm3/m3-sys/cminstall/src/config/: LINUXLIBC6 Log message: use libiodbc on LINUXLIBC6, too From jkrell at elego.de Sun Feb 24 17:44:37 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:44:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224164437.BD9CE10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:44:37 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: line up the columns From jkrell at elego.de Sun Feb 24 18:26:41 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:26:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224172641.9F20910D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:26:41 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: reveal an array index out of bounds bug From jkrell at elego.de Sun Feb 24 17:36:44 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:36:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224163645.5E9F910D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:36:44 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 M3Path.m3 Log message: remove the hack file name shortening that was for masm but also hits unnecessarily NT386GNU/as masm is not likely a scenario, usually NT386 outputs .obj files directly and maybe the behavior/bug is fixed in newer versions? This time, leave alone the behavior of a../.. because I broke ../.. Make '/' a directory separator on all platforms. (Ignoring MacOS Classic) '/' is a path separator on Win32 and libm3/Pathname already knows that In M3Path.Join, avoid the source code duplication and use the Foo=>DoFoo(buf) pattern used nearby. Move Append local to M3Path.Join. (changed its signature to accept a length to avoid an extra Text.Length call) Fix what looks like a possible crash if New ( Text.Length (dir) = 0) In DoParse, change two passes over the string to just one. Would be even better to start at the end of the string and stop when found. In RegionMatch, avoid the Text.Length calls if possible. (even if they are faster than strlen) In RegionMatch when being case insensitive, first check case sensitive to avoid touching the lcase table. In Escape, handle a zero length string faster. decided against it -- it is already fast, and is rare, and slows down everything else In Convert, be fast if good = bad (the normal case!) various classic micro optimizations in general remove dead stores remove repeat calls to Text.Length (such as in Join where every string had it called twice) split out M3Path.New into M3Path.New and M3Path.NewInternal so test code can specify host := FALSE From jkrell at elego.de Sun Feb 24 17:43:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:43:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224164330.CC81410D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:43:30 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: shrink a bit From jkrell at elego.de Sun Feb 24 18:35:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:35:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224173527.5E96C10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:35:26 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: fix array index out of bounds From jkrell at elego.de Sun Feb 24 18:45:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:45:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224174523.E70A010D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:45:22 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: more carefully this time: do collapse "a../.." down to just "." but leave alone "../..", it can't be collapsed "for lack of room" From jkrell at elego.de Sun Feb 24 18:50:21 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:50:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224175021.BA62C10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:50:20 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: remove outdated comment and the test code need some way to expose internals to testing.. From jkrell at elego.de Mon Feb 25 15:36:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 15:36:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225143628.C816310D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 15:36:28 Added files: cm3/m3-win/import-libs/src/: m3overrides Log message: quash warning From jkrell at elego.de Mon Feb 25 17:15:05 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:15:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225161506.5F66F10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:15:05 Modified files: cm3/scripts/: do-cm3-base.sh do-cm3-core.sh do-cm3-front.sh do-cm3-std.sh Log message: use the data file From jkrell at elego.de Mon Feb 25 16:55:37 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 16:55:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225155538.0AD0C10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 16:55:37 Modified files: cm3/scripts/: pkginfo.sh Log message: tell user what the delay is From jkrell at elego.de Mon Feb 25 17:26:52 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:26:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225162653.891BC10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:26:52 Modified files: cm3/scripts/: do-cm3-caltech-parser.sh do-cm3-comm.sh do-cm3-gui.sh do-cm3-min.sh pkginfo.txt Log message: use the data file From jkrell at elego.de Mon Feb 25 17:27:39 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:27:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225162739.A04F410D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:27:39 Modified files: cm3/scripts/regression/: defs.sh Log message: print a little more From jkrell at elego.de Mon Feb 25 17:57:40 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:57:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225165741.4D74810D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:57:40 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: change the extensions of NT386GNU .dlls to .so, just so they can live in the same directory as NT386 dlls; yep it's sleazy and lazy gotta love indirect chosing of printf format strings.. From jkrell at elego.de Mon Feb 25 19:05:51 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:05:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225180551.DB36F10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:05:51 Modified files: cm3/m3-ui/juno-2/juno-app/src/: m3makefile Log message: TARGET should be BUILD_DIR for my 'config' vs. 'target' scheme, so that we can build here on NT386GNU (yes, we get this far) From jkrell at elego.de Mon Feb 25 19:11:53 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:11:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225181153.123DD10D46A4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:11:53 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DateLinux.m3 DatePosix.m3 cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Utime.m3 m3makefile cm3/m3-libs/m3core/src/unix/hpux-7-0/: Utime.i3 cm3/m3-libs/m3core/src/unix/irix-5.2/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: Utime.i3 cm3/m3-libs/m3core/src/unix/solaris-2-x/: Utime.i3 Added files: cm3/m3-libs/m3core/src/unix/Common/: UtimeC.c m3makefile Log message: fix crash in shobjgen by wrapping up Utime.i3 globals in functions From jkrell at elego.de Mon Feb 25 19:28:14 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225182814.A8A2C10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:28:14 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UtimeC.c cm3/m3-libs/m3core/src/unix/linux/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: Utime.i3 Log message: fix Linux From jkrell at elego.de Mon Feb 25 19:31:21 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:31:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225183127.E37BD10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:31:21 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: go ahead and commit this, but it isn't enabled yet From wagner at elego.de Tue Feb 26 00:43:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 0:43:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225234357.0ACAC10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 00:43:57 Modified files: cm3/scripts/: do-cm3-core.sh Log message: fix last change: use correct path for pkginfo.txt Please check such changes before commit! From jayk123 at hotmail.com Tue Feb 26 01:36:49 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 26 Feb 2008 00:36:49 +0000 Subject: [M3commit] test? Message-ID: Just testing..mailing lists seem down again.. - Jay _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elego.de Tue Feb 26 08:49:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 8:49:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226074957.A907810D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 08:49:57 Modified files: cm3/scripts/: def-std-pkgs.sh pkginfo.txt Log message: compile stablegen before stable, because stable tests depend on it From wagner at elego.de Tue Feb 26 08:55:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 8:55:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226075502.9064E10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 08:55:02 Modified files: cm3/scripts/: do-cm3-base.sh do-cm3-caltech-parser.sh do-cm3-comm.sh do-cm3-front.sh do-cm3-gui.sh do-cm3-min.sh do-cm3-std.sh Log message: fix more pkginfo.txt paths From jkrell at elego.de Tue Feb 26 18:10:19 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:10:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226171019.75FA010D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:10:19 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: go back a version; it appears I copied one file on to another From jkrell at elego.de Tue Feb 26 18:12:07 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:12:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226171207.7E2AD10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:12:07 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: wrap data in functions to match DateBsd.m3 and DateLinux.m3 From jkrell at elego.de Tue Feb 26 18:20:59 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:20:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172059.E76CD10D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:20:59 Added files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: initial copy from config; I can at least compile the Modula-3, if not generate code, compile C, assembly, link; any target can easily be cross-compiled From jkrell at elego.de Tue Feb 26 18:24:18 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:24:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172418.680F810D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:24:18 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: initial preconfigured version From jkrell at elego.de Tue Feb 26 18:25:32 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:25:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172532.0506D10D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:25:32 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: neuter the functions that I don't have the infra to run -- compile_c, assembly, backend, link/lib From jayk123 at hotmail.com Tue Feb 26 18:52:03 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 26 Feb 2008 17:52:03 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080226075502.9064E10D4698@birch.elegosoft.com> References: <20080226075502.9064E10D4698@birch.elegosoft.com> Message-ID: sorry I ran the first few to verify the code (which wasn't right at first and the output of do-foo -n build, make sure the package lists matched and were in the right order (they weren't always in the same order, and the filtering results in different output), and then got overconfident (as usual). I thought I tested base, core, std -- all the ones that were already in the file. And then did a different smaller for the "new" ones comm, caltech, gui, etc. -- findstr on the data file vs. reading through the older code. The Python doesn't use this file yet but that's something to do. Making the filtering data driven, maybe, maybe not, it's less valuable. Pushing NT386GNU forward of course.. Oh, I see, I must have tested these sitting in that directory. So they did work, in a specific small context. - Jay > Date: Tue, 26 Feb 2008 08:55:02 +0000> To: m3commit at elegosoft.com> From: wagner at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: wagner at birch. 08/02/26 08:55:02> > Modified files:> cm3/scripts/: do-cm3-base.sh do-cm3-caltech-parser.sh > do-cm3-comm.sh do-cm3-front.sh do-cm3-gui.sh > do-cm3-min.sh do-cm3-std.sh > > Log message:> fix more pkginfo.txt paths> _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Tue Feb 26 18:53:47 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:53:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175347.C735710D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:53:47 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Utypes.m3 Log message: fix warning about unused From jkrell at elego.de Tue Feb 26 18:57:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:57:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175715.0B63410D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:57:15 Modified files: cm3/m3-sys/m3back/src/: m3overrides Log message: add missing override note that compiler doesn't seem to care about m3core missing it can be very useful to compile without overriding libm3 while bootstrapping from previous version, however that is merely done without using overrides and doing buildship in dependency order From jkrell at elego.de Tue Feb 26 18:59:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:59:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175958.6F61310D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:59:58 Modified files: cm3/m3-sys/fix_nl/src/: OSPOSIX.m3 Log message: fix it to compile (e.g. for SOLgnu) From jkrell at elego.de Tue Feb 26 19:09:34 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 19:09:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226180934.C726C10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 19:09:34 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: let incrementality work by touching output, which highlights how slow either Cygwin or the sleep is, because just touch is quite slow From jkrell at elego.de Tue Feb 26 19:13:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 19:13:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226181315.6392D10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 19:13:15 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: much faster From wagner at elego.de Tue Feb 26 22:38:20 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 22:38:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226213820.9712510D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 22:38:20 Modified files: cm3/scripts/: def-std-pkgs.sh pkginfo.txt Log message: fix package name (unittest-numeric) From wagner at elego.de Wed Feb 27 01:08:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 1:08:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227000845.6884910D469C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 01:08:45 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: PathnamePosix.m3 Log message: null bytes are not valid in posix From wagner at elego.de Wed Feb 27 01:17:13 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 1:17:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227001713.2270010D46A1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 01:17:13 Modified files: cm3/m3-libs/libm3/tests/arith/src/: m3makefile cm3/m3-libs/libm3/tests/os/src/: m3makefile cm3/m3-libs/libm3/tests/random/src/: m3makefile cm3/m3-libs/libm3/tests/sequence/src/: Test.m3 m3makefile cm3/m3-libs/libm3/tests/sortedtable/src/: m3makefile cm3/m3-libs/libm3/tests/sqrt/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/arith/src/: m3overrides cm3/m3-libs/libm3/tests/os/src/: m3overrides pathname-tests-input pathname-tests-output cm3/m3-libs/libm3/tests/random/src/: m3overrides cm3/m3-libs/libm3/tests/sequence/src/: m3overrides cm3/m3-libs/libm3/tests/sortedtable/src/: m3overrides cm3/m3-libs/libm3/tests/sqrt/src/: m3overrides cm3/m3-libs/libm3/tests/src/: m3makefile m3overrides Log message: first set of changes to integrate some of the existing libm3 tests this is only a start; much is still missing and needs to be done From dragisha at elego.de Wed Feb 27 09:40:01 2008 From: dragisha at elego.de (Dragiša Duric) Date: Wed, 27 Feb 2008 9:40:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227084001.0A8CA10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 08/02/27 09:40:00 Modified files: cm3/m3-sys/m3quake/src/: QMachine.m3 cm3/m3-sys/cm3/src/: M3Build.m3 Makefile.m3 Log message: CM3_INSTALL_PREFIX enables elegant packaging scripts. Made for RPM, but not limited to. From dragisha at elego.de Wed Feb 27 09:55:17 2008 From: dragisha at elego.de (Dragiša Duric) Date: Wed, 27 Feb 2008 9:55:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227085518.3394610D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 08/02/27 09:55:17 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTHeapMap.m3 Log message: Incremental registration to global_map, so garbage collection does not break when we load modules at runtime. Makes "Modula-3 modules loadable at runtime" work. From hosking at elego.de Wed Feb 27 18:21:57 2008 From: hosking at elego.de (Antony Hosking) Date: Wed, 27 Feb 2008 18:21:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227172157.8941C10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/27 18:21:57 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTHeapMap.m3 Log message: I am nervous about assuming that there is a persistent mapping from a particular cardinal to the same module for RTModule.Get (suppose that the RTModule mapping changes at some point). Let's be a little more conservative about rebuilding the global map, by doing it whenever the module count is different from what we expect. I doubt this matters performance-wise in the global scheme of things. Also, this will simplify some changes we are planning with respect to processing of globals by a new non-stop-the-world GC. From wagner at elego.de Wed Feb 27 22:17:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 22:17:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227211707.4845E10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 22:17:07 Added files: cm3/scripts/: cm3-pkg-deps Log message: add package dependencies From wagner at elego.de Wed Feb 27 23:46:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 23:46:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227224645.0697A10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 23:46:44 Modified files: cm3/m3-libs/libm3/tests/os/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/os/src/: filesystem-tests-input filesystem-tests-output process-tests-input process-tests-output cm3/m3-libs/libm3/tests/src/: defs.quake Log message: add some more libm3 tests From wagner at elego.de Thu Feb 28 00:06:15 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 28 Feb 2008 0:06:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227230615.2023110D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/28 00:06:15 Modified files: cm3/m3-libs/sysutils/src/: System.m3 Log message: remove wrong error message From wagner at elego.de Thu Feb 28 00:07:22 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 28 Feb 2008 0:07:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227230722.B9DD210D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/28 00:07:22 Modified files: cm3/m3-libs/libm3/tests/sortedtable/src/: m3makefile cm3/m3-libs/libm3/tests/src/: m3makefile Log message: add sortedtable tests From jkrell at elego.de Thu Feb 28 09:23:22 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 9:23:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228082322.3662910D46B6@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 09:23:22 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c cm3/m3-sys/m3front/src/misc/: Coverage.m3 Host.i3 Host.m3 Scanner.m3 Log message: put full paths to source files in debug info This has the minor downsides of: 1) grows the debug info (it is already huge; who is counting?) 2) reveals file system layout in debug info (privacy?) 3) does it inhibit debugging files from other people's machines or does gdb dir still work? but definitely makes for a more pleasant debugging experience when debugging stuff you have built yourself. The linear searching to see if a name has been allocated a number yet will obviously slow way down due to a large increase in common prefixes, but that should be a hash table anyway. Linear search is lame. (or a trie, but working from the ends of the strings, minus the last one or few characters, due to common prefixes as well as common suffixes) Note that both m3front and m3cc changes are needed as m3front has paths relative to the current working directory or such. For most packages, you can get by without the m3front change and just prepend "../src/" to the path in m3cc, but that doesn't work for hierarchical packages such as libm3 and m3core which I am debugging. From jkrell at elego.de Thu Feb 28 13:25:13 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:25:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228122513.8756710D46A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:25:13 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: ProcessPosix.m3 cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 cm3/m3-libs/m3core/src/thread/WIN32/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Uexec.i3 Log message: remove sleep(.1 sec) from waiting for processes to exit on pthread and cygwin, but leave it on alarmthreads, and it was never there on Win32; reduce Cygwin Uexec.i3 some From jkrell at elego.de Thu Feb 28 13:32:29 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:32:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123230.66FDB10D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:32:29 Added files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessCygwin.m3 WaitProcessWin32.m3 Log message: forgot to commit new files -- remove sleep(.1 seconds) in wait for processes to exit on pthreads and cygwin, leave it in for alarmthreads, it was never in win32 NOTE that cygwin waitpid is commented as being not thread safe, lame From jkrell at elego.de Thu Feb 28 13:35:54 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:35:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123554.7AC1410D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:35:54 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:37:35 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:37:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123735.A589710D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:37:35 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:37:58 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:37:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123758.58E2610D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:37:58 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:48:44 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:48:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228124844.E2EDB10D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:48:44 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 Log message: add missing import From hosking at elego.de Thu Feb 28 18:38:21 2008 From: hosking at elego.de (Antony Hosking) Date: Thu, 28 Feb 2008 18:38:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228173821.4626B10D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/28 18:38:21 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessWin32.m3 Log message: Remove ^M. From hosking at elego.de Thu Feb 28 18:39:01 2008 From: hosking at elego.de (Antony Hosking) Date: Thu, 28 Feb 2008 18:39:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228173901.9519810D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/28 18:39:01 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessWin32.m3 Log message: ASSERT style. From rodney at elego.de Fri Feb 29 00:55:28 2008 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 29 Feb 2008 0:55:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228235528.D133110D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/02/29 00:55:28 Added files: cm3/scripts/: do-cm3-m3gdb.sh Log message: A handy new script to build just m3gdb. From wagner at elego.de Fri Feb 29 01:47:53 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 29 Feb 2008 1:47:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080229004753.E339210D46BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/29 01:47:53 Modified files: cm3/m3-libs/libm3/tests/pqueue/fromtty/src/: m3makefile cm3/m3-libs/libm3/tests/pqueue/heapsort1/src/: m3makefile cm3/m3-libs/libm3/tests/pqueue/heapsort2/src/: m3makefile cm3/m3-libs/libm3/tests/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/pqueue/fromtty/src/: m3overrides cm3/m3-libs/libm3/tests/pqueue/heapsort1/src/: m3overrides cm3/m3-libs/libm3/tests/pqueue/heapsort2/src/: m3overrides Log message: add libm3/pqueue tests From jkrell at elego.de Mon Feb 4 05:53:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 04 Feb 2008 04:53:35 -0000 Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204045308.A9DB010D466C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 05:53:07 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: remove gratitious semicolons From jkrell at elego.de Mon Feb 18 04:21:46 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 03:21:46 -0000 Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218032118.1CDCF10D428A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:21:17 Modified files: cm3/scripts/python/: pylib.py Log message: tweak slashes, confusing host and target From wagner at elego.de Fri Feb 1 21:20:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 1 Feb 2008 21:20:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201202022.2628410D45CE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/01 21:20:21 Modified files: cm3/doc/help/cm3/: quake.html Log message: update quake language description From wagner at elego.de Fri Feb 1 21:20:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 1 Feb 2008 21:20:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201202045.5996010D45CE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/01 21:20:45 Modified files: cm3/www/: normal.css Log message: change header sizes From hosking at elego.de Sat Feb 2 00:43:53 2008 From: hosking at elego.de (Antony Hosking) Date: Sat, 2 Feb 2008 0:43:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201234353.F351E10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/02 00:43:53 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Add parameter decls even for imported procedures, as per Jay Krell's request to support stdcall parameter passing mode on Windows. From wagner at elego.de Sat Feb 2 02:18:37 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 2:18:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202011837.641AB10D465B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 02:18:37 Modified files: cm3/www/: index.html Log message: increase top frame size due to different rendering on IE From wagner at elego.de Sat Feb 2 14:52:58 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 14:52:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202135258.0ECA910D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 14:52:58 Modified files: cm3/www/: index.html top.html Log message: make frames resizable and fix link to www.modula3.org From wagner at elego.de Sat Feb 2 16:36:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 16:36:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202153602.6853D10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 16:36:02 Modified files: cm3/caltech-parser/m3tmplhack/src/: m3makefile cm3/caltech-parser/parserlib/kext/src/: m3makefile cm3/caltech-parser/parserlib/klex/src/: m3makefile cm3/caltech-parser/parserlib/ktok/src/: m3makefile cm3/caltech-parser/parserlib/kyacc/src/: m3makefile Log message: build parser tools standalone for the sake of systems like Darwin, where dynamic libraries won't be found within the workspace if this seems unacceptable, we can still make the build_standalone depend on the target From jkrell at elego.de Sat Feb 2 22:51:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 2 Feb 2008 22:51:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202215129.793EF10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/02 22:51:29 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Added files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c Log message: fix the pthread sizes (need to look up the Modula-3 language stuff...) expose SIGUSR2 for SuspendOthers/StopWorld add some test/probing code From jkrell at elego.de Sat Feb 2 23:17:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 2 Feb 2008 23:17:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202221727.5618010D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/02 23:17:27 Modified files: cm3/m3-sys/cm3/src/: version.quake Log message: use BUILD_DIR instead of TARGET, they aren't always the same From jkrell at elego.de Sun Feb 3 03:06:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 3 Feb 2008 3:06:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203020627.5FB9210D4658@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/03 03:06:27 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThreadC.c Log message: Cygwin static initializers are not all zeros and Modula-3 static initialization happens after at least some of this data is used, so move it to C to guarantee actual static initialization. This fixes the problem where Cygwin/NT386GNU issues an endless stream of assertion failures upon start, at each pthread_mutex_lock call. Cygwin/NT386GNU still hangs at startup, since nanosleep is failing, and there is an access violation to investigate. Cygwin does strange things with the stack..reserving a block at the start for their thread locals and getting to it via fs:4. From hosking at cs.purdue.edu Sun Feb 3 06:01:37 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Sun, 3 Feb 2008 00:01:37 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080203020627.5FB9210D4658@birch.elegosoft.com> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> Message-ID: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> I would prefer to do this in pure Modula-3 by calling the initializer functions explicitly. I'll take a look at it. On Feb 3, 2008, at 3:06 AM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/03 03:06:27 > > Modified files: > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 > m3makefile > Added files: > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 > ThreadPThreadC.c > > Log message: > Cygwin static initializers are not all zeros and Modula-3 static > initialization happens after at least some of this data is used, > so move it to C to guarantee actual static initialization. > This fixes the problem where Cygwin/NT386GNU issues an endless stream > of assertion failures upon start, at each pthread_mutex_lock call. > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing, > and there is an access violation to investigate. Cygwin does > strange things with the stack..reserving a block at the start for > their thread locals and getting to it via fs:4. From jayk123 at hotmail.com Sun Feb 3 07:56:47 2008 From: jayk123 at hotmail.com (Jay) Date: Sun, 3 Feb 2008 06:56:47 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> Message-ID: 1) I need to double check that my commit comment is true. 2) If it is, I'd strongly prefer static initialization without code, either asis, or by fixing the compiler... Having to run code for constant initialization is just lame.. 2b) If it isn't, I'll put it back. - Jay > From: hosking at cs.purdue.edu> Date: Sun, 3 Feb 2008 00:01:37 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > I would prefer to do this in pure Modula-3 by calling the initializer > functions explicitly. I'll take a look at it.> > On Feb 3, 2008, at 3:06 AM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/03 03:06:27> >> > Modified files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3> > m3makefile> > Added files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3> > ThreadPThreadC.c> >> > Log message:> > Cygwin static initializers are not all zeros and Modula-3 static> > initialization happens after at least some of this data is used,> > so move it to C to guarantee actual static initialization.> > This fixes the problem where Cygwin/NT386GNU issues an endless stream> > of assertion failures upon start, at each pthread_mutex_lock call.> > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing,> > and there is an access violation to investigate. Cygwin does> > strange things with the stack..reserving a block at the start for> > their thread locals and getting to it via fs:4.> _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Sun Feb 3 08:35:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 3 Feb 2008 8:35:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203073533.B9B0110D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/03 08:35:32 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 m3makefile Removed files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThreadC.c Log message: put this back, it looks like it is implemented as static initialization From wagner at elego.de Sun Feb 3 17:42:06 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 17:42:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203164206.7626910D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 17:42:06 Modified files: cm3/scripts/regression/: cm3.build tinderbox-build.sh Log message: fix several problems in the regression test scripts: o results codes were lost because of {} scopes o 2>&1 redirection was applied at the wrong place o /bin/sh should be sufficient Obviously the recent version hasn't been tested very much at Elego; our own nightly test runs do not show these problems. I'm not sure if I have found all bugs; anyway: if anybody is already using the previous version of this script, please update. Sorry for any inconviniences caused. From wagner at elego.de Sun Feb 3 17:43:36 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 17:43:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203164336.37E7910D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 17:43:36 Modified files: cm3/scripts/regression/: cm3.build Log message: revert to non-reporting version From wagner at elego.de Sun Feb 3 18:23:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 18:23:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203172346.3FC7410D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 18:23:45 Modified files: cm3/scripts/regression/: tinderbox-build.sh Log message: I forgot to log the actual test output for error parsing by eliminating the scoping problems :-/ This should now be corrected. Also use less white space and indenting to make everything more readable. I'll test this again on birch tonight to make sure it actually works. From wagner at elego.de Mon Feb 4 00:41:33 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 0:41:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203234133.8395610D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 00:41:33 Modified files: cm3/scripts/regression/: tinderbox-build.sh Log message: Fix it again :-/ The return code of do_{checkout,build,compile} must not be overwritten by the return code of the `tee log' pipe. We could use the -o pipefaile option of bash, but that wouldn't be very portable. It's not Bourne shell as far as I know. So the only option is to save everything to a temporary file and cat it after remembering the return code. I don't like this at all :-( If anybody knows of a better solution, I'd like to hear of it. From jkrell at elego.de Mon Feb 4 02:10:43 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:10:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204011044.2F4E610D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:10:43 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py do-cm3-front.py make-dist.py pylib.py upgrade.py Log message: add sysutils allow for targeting cygwin runtime with integrated/ms tools this should allow using ms debuggers though note that cygwin crt0.o has dependency on ld, maybe fixable, maybe not, cygwin1.dll may or may not have dependency on crt0.o, so this might not work in particular, don't clear the LIB and INCLUDE variables (LIB is the point) which really does strike at what I was saying -- lots of variables, lots of viable combinations mspdb*.dll is called dbi.dll in Visual C++ 2.0 From jkrell at elego.de Mon Feb 4 02:12:24 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:12:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204011224.DB7D110D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:12:24 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common NT386GNU NT386MINGNU Log message: move TARGET to toplevel config file for m3cgcat some allowance for targeting cygwin runtime with integrated/ms tools may or may not work in particular crt0.o has a dependency on ld if it works, should enable using ms debuggers, and more debugging avenues would be greatly appreciated right now while things aren't working.. From jayk123 at hotmail.com Mon Feb 4 02:16:02 2008 From: jayk123 at hotmail.com (Jay) Date: Mon, 4 Feb 2008 01:16:02 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> Message-ID: There is /something/ here but I don't understand what yet. In particular, the m3/cm3cg code looks right, but the C code works better... And none of the debugger options are particulary good. Time to give up and use printf I guess. And I haven't had luck rebuilding cygwin1.dll from source either darn. :( - Jay From: jayk123 at hotmail.comTo: hosking at cs.purdue.edu; jkrell at elego.deCC: m3commit at elegosoft.comSubject: RE: [M3commit] CVS Update: cm3Date: Sun, 3 Feb 2008 06:56:47 +0000 1) I need to double check that my commit comment is true.2) If it is, I'd strongly prefer static initialization without code, either asis, or by fixing the compiler...Having to run code for constant initialization is just lame..2b) If it isn't, I'll put it back. - Jay > From: hosking at cs.purdue.edu> Date: Sun, 3 Feb 2008 00:01:37 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > I would prefer to do this in pure Modula-3 by calling the initializer > functions explicitly. I'll take a look at it.> > On Feb 3, 2008, at 3:06 AM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/03 03:06:27> >> > Modified files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3> > m3makefile> > Added files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3> > ThreadPThreadC.c> >> > Log message:> > Cygwin static initializers are not all zeros and Modula-3 static> > initialization happens after at least some of this data is used,> > so move it to C to guarantee actual static initialization.> > This fixes the problem where Cygwin/NT386GNU issues an endless stream> > of assertion failures upon start, at each pthread_mutex_lock call.> > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing,> > and there is an access violation to investigate. Cygwin does> > strange things with the stack..reserving a block at the start for> > their thread locals and getting to it via fs:4.> Connect and share in new ways with Windows Live. Get it now! _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Feb 4 02:39:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:39:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204013956.3859E10D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:39:56 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Log message: oops; base 10 is for people that count on their fingers; base 16 is for programmers and computers From jkrell at elego.de Mon Feb 4 02:53:27 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:53:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204015327.481B710D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:53:27 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Log message: Put in markers that say "This file was generated..". From jkrell at elego.de Mon Feb 4 03:01:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:01:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020149.0252410D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:01:48 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 Log message: fix NT386MINGNU From jkrell at elego.de Mon Feb 4 03:03:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:03:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020358.4D36410D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:03:58 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common NT386GNU Log message: turn off debugging experiment From jkrell at elego.de Mon Feb 4 03:08:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:08:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020842.8A0D110D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:08:42 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: comments From jkrell at elego.de Mon Feb 4 06:40:29 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 6:40:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204054029.B323510D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 06:40:29 Modified files: cm3/m3-libs/sysutils/src/: ConnectRdWr.m3 Log message: temporary fix so it builds on Windows From jkrell at elego.de Mon Feb 4 06:45:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 6:45:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204054529.A4C4F10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 06:45:28 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: ferry along calling convention and remove seemingly gratuitous attributes From jkrell at elego.de Mon Feb 4 07:29:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:29:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204062923.90E1210D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:29:23 Modified files: cm3/scripts/python/: pylib.py Log message: Now that I have deleted my c:\windows\cygwin1.dll and therefore always keep c:\cygwin\bin in %PATH% for cvs.exe, and therefore uname.exe is always in my %PATH%, allow setting CM3_GCC_BACKEND=no to override uname probing so that I can still build regular NT386. From jkrell at elego.de Mon Feb 4 07:42:37 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:42:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204064238.287EA10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:42:37 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: factor out common code, more to do here From jkrell at elego.de Mon Feb 4 07:56:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:56:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204065623.873EF10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:56:23 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: more common code From jkrell at elego.de Mon Feb 4 07:59:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:59:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204065910.AD68E10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:59:10 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: eliminate unnecessary temporary From jkrell at elego.de Mon Feb 4 08:30:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 8:30:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204073026.1AF6110D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 08:30:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: fix and eliminate another temporary From jkrell at elego.de Mon Feb 4 08:38:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 8:38:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204073811.905AB10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 08:38:10 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: cleanup, add readonly, move operators to next line, remove keep From jkrell at elego.de Mon Feb 4 09:14:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 9:14:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204081456.A297310D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 09:14:56 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: print a bit more when tracing is enabled From jkrell at elego.de Mon Feb 4 09:19:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 9:19:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204081935.59CAB10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 09:19:35 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: fix From hosking at elego.de Mon Feb 4 17:19:36 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 17:19:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204161936.BE7B910D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 17:19:36 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Clean up reversal of arguments so that cached types make sense for their decls. From hosking at elego.de Mon Feb 4 17:30:30 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 17:30:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204163033.F288410D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 17:30:30 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Oops, previous was broken. Fix! Use void_list_node as pointer-equal terminator for parameter type list. From wagner at elego.de Mon Feb 4 22:17:59 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 22:17:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204211800.6BA1610D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 22:17:59 Modified files: cm3/scripts/regression/: cm3.build Log message: fix wrong operator and make it better readable From jkrell at elego.de Mon Feb 4 22:22:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 22:22:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204212249.71FB310D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 22:22:48 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: back to more like it was, that seems to work (except for passing structs by value to stdcall functions, which hasn't yet named the function correctly) From hosking at elego.de Mon Feb 4 22:58:20 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 22:58:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204215821.08C2310D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 22:58:20 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Make sure we initialize (and use) void_list_node. From hosking at elego.de Mon Feb 4 23:05:43 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 23:05:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204220543.E507710D4670@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 23:05:42 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Don't use unavailable c-decl functions (build_void_list_node). From wagner at elego.de Mon Feb 4 23:24:18 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 23:24:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204222418.E0DA310D466E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 23:24:18 Modified files: cm3/scripts/regression/: cm3.build Log message: fix another [ operator: s/==/=/ (seems to be accepted in Darwin\'s shell :-/) From hosking at elego.de Mon Feb 4 23:26:56 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 23:26:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204222656.6614D10D466E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 23:26:56 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Build proper non-varargs function types for functions, terminating parameter type list with void_list_node. This may have fixed the broken regression tests for large sets -- for some reason they had been set up as varargs declarations. Olaf, can you see if this does the trick? From wagner at elego.de Sat Feb 9 13:26:52 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 13:26:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209122652.1FC2C10D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 13:26:52 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: TextUtils.i3 cm3/m3-libs/sysutils/src/cm3/: TextUtils.m3 Log message: add quick sort and insertion sort on arrays code burrowed from m3tohtml package by Bill Kalsow, simplified to use ARRAY OF TEXT modified: sysutils/src/TextUtils.i3 modified: sysutils/src/cm3/TextUtils.m3 From wagner at elego.de Sat Feb 9 15:20:14 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 15:20:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209142014.BBB1A10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 15:20:14 Modified files: cm3/m3-tools/m3tohtml/: PkgTags cm3/m3-tools/m3tohtml/src/: HTMLDir.m3 M3MarkUp.m3 Main.m3 MarkUp.m3 Removed files: cm3/m3-tools/m3tohtml/src/: FSUtils.i3 FSUtils.m3 Log message: generate proper package indexes; remove obsolete files removed: m3tohtml/src/FSUtils.i3 removed: m3tohtml/src/FSUtils.m3 modified: m3tohtml/src/HTMLDir.m3 modified: m3tohtml/src/M3MarkUp.m3 modified: m3tohtml/src/Main.m3 modified: m3tohtml/src/MarkUp.m3 From wagner at elego.de Sat Feb 9 17:40:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:40:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209164028.6BC4410D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:40:28 Modified files: cm3/scripts/regression/: defs.sh Log message: add test_m3tohtml From wagner at elego.de Sat Feb 9 17:47:13 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:47:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209164713.D469010D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:47:13 Modified files: cm3/scripts/regression/: defs.sh Log message: FQDN for birch From wagner at elego.de Sat Feb 9 17:51:24 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:51:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209165124.9552F10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:51:24 Modified files: cm3/scripts/regression/: defs.sh Log message: install all packages in test_m3_all_pkgs From wagner at elego.de Sat Feb 9 18:18:01 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 18:18:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209171801.448AC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 18:18:01 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: TextUtils.i3 cm3/m3-libs/sysutils/src/cm3/: TextUtils.m3 Log message: It seems I have overlooked that the quick sort on arrays is already in libm3, so just use that instead. I keep the export here though for convenience. There are too many sources already in CM3 :-) modified: sysutils/src/TextUtils.i3 modified: sysutils/src/cm3/TextUtils.m3 From wagner at elego.de Sat Feb 9 18:19:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 18:19:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209171938.E923510D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 18:19:38 Modified files: cm3/scripts/regression/: defs.sh Log message: confirm all questions asked by m3tohtml From wagner at elego.de Sat Feb 9 19:46:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 19:46:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209184616.CA32710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 19:46:16 Modified files: cm3/www/: nav-doc.html nav-rsrc.html Log message: add source browser navigation links From jkrell at elego.de Sun Feb 10 03:45:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 3:45:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210024549.91A6B10D4649@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 03:45:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usem.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Usem.m3 Log message: avoid access violating during startup in sem_init, red herring though it may be (we still spin on nanoslep failing..) From jkrell at elego.de Sun Feb 10 05:19:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:19:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210041915.C6B9210D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:19:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Log message: generate more content more reliably, though it was already correct, and remove definitions for nonexistant symbols From jkrell at elego.de Sun Feb 10 05:25:03 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:25:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210042505.40F8810D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:25:03 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: and fix SA_SIGINFO (!) From jkrell at elego.de Sun Feb 10 05:33:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:33:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043315.77E2C10D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:33:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: change all numbers to %08x, none of this decimal or 16bit stuff (16bit should still work) remove/ifdef more nonexistant values Linux 1.x isn't relevant, remove comments about it remove some of the tedious column lining up From jkrell at elego.de Sun Feb 10 05:34:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:34:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043426.0714710D4674@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:34:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: fix -- more dead From jkrell at elego.de Sun Feb 10 05:36:18 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:36:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043620.3579810D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:36:18 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: fix, not dead From jkrell at elego.de Sun Feb 10 05:37:04 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:37:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043704.3788D70D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:37:04 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3.c Log message: make it not optional From jkrell at elego.de Sun Feb 10 05:59:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:59:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210045951.6C0A070D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:59:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.m3 Log message: fix definition of SIG_HOLD (should generate from C?) From jkrell at elego.de Sun Feb 10 06:01:41 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 6:01:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210050141.E88FD70D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 06:01:41 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: use shorter named C types, less type opacity, and remove nonexistant 'restorer' From wagner at elego.de Sun Feb 10 15:11:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 10 Feb 2008 15:11:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210141121.8D20910D466A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/10 15:11:21 Modified files: cm3/www/: index.html Log message: change frame setup again From jkrell at elego.de Mon Feb 11 00:19:16 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 0:19:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210231916.1C3B710D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 00:19:15 Modified files: cm3/scripts/python/: upgrade.py Log message: move sysutils around, I don't remember why but presumably I needed to do this From jkrell at elego.de Mon Feb 11 00:24:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 0:24:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210232435.A857410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 00:24:35 Modified files: cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/thread/Common/: m3makefile cm3/m3-libs/m3core/src/thread/POSIX/: m3makefile cm3/m3-libs/m3core/src/thread/PTHREAD/: m3makefile cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Added files: cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/PTHREAD/: SchedulerPosix.i3 Log message: cheat just a tad and provide SchedulePosix interface on Win32 albeit not a good implementation currently this way NT386GNU can build with Win32 threads and cm3 gets as far as printing an error and exiting, probably something to do with pesky slashes; a lot better than hanging due to nanosleep failing and worrying about a lot of non trivial cygwin code.. From jkrell at elego.de Mon Feb 11 01:20:41 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:20:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002041.5A9DD10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:20:41 Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.c Log message: initial version that is copy of the .i3 file From jkrell at elego.de Mon Feb 11 01:24:13 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:24:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002413.56A1F10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:24:13 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Utypes.i3 Utypes.i3.c Log message: initial version +1 that is working C that outputs the same as the file already was, plus just $Id$ and comment that it is generated From jkrell at elego.de Mon Feb 11 01:28:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:28:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002844.AD43B10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:28:44 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.cpp Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.c Log message: switch to C++ for compile type dispatch From jkrell at elego.de Mon Feb 11 01:46:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:46:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211004625.9E80010D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:46:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Utypes.i3 Utypes.i3.cpp Log message: fix some types: dev_t : 64 -> 32 off_t : 32 -> 64 n_link_t : 32 -> 16 key_t : 32 -> 64 ino_t : 32 -> 64 remove some nonexistant types: gno_t swblk_t cnt_t some incidental changes because I didn't bother to make the automation capable of preserving things like u_int vs. uint int vs. long (not entirely incidental, they are different types, even if same size) columnization (doable with code) NOTE that long long and unsigned long long are not distinguished here signed numbers are generally wrong anyway in systems programming (how do you index your arrays and size your files and buffers? NOT signed numbers!) In particular, Quake things the cm3.cfg file is zero size and that is probably because Ustat.i3 is wrong, at least partly probably due to Utypes.i3 being wrong, though automating Ustat.i3 production and verification is certainly not a bad idea. All this header duplication bothers me... From jkrell at elego.de Mon Feb 11 01:50:18 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:50:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005018.E103F10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:50:18 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Log message: preserve history, I guess From jkrell at elego.de Mon Feb 11 01:51:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:51:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005124.002D010D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:51:23 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Log message: fix warning From jkrell at elego.de Mon Feb 11 01:53:12 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:53:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005312.25E9710D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:53:12 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3.c Usignal.i3.c Utypes.i3.cpp Log message: remove double $Id$ From jkrell at elego.de Mon Feb 11 06:38:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 6:38:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211053825.3EABE10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 06:38:25 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Ushm.i3 Usignal.i3 Utypes.i3 Utypes.i3.cpp Utypes.m3 Log message: more cygwin header cleanup, various dead types were used in further dead types in Ushm.i3; go ahead and delete dead stuff instead of commenting out remove seemingly unnecessary VAL() that fails to compile From jkrell at elego.de Mon Feb 11 08:36:33 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 8:36:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211073634.5AB2210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 08:36:33 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: remove a lot of stuff not needed to build the "base" system, less stuff to check and correct, can always add back From jkrell at elego.de Mon Feb 11 09:27:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:27:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211082758.D3EB810D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:27:58 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Ugrp.i3 Uipc.i3 Umsg.i3 Umsg.m3 Upaths.i3 Upthread.i3 Upthread.i3.c Upwd.i3 Usched.i3 Usem.i3 Usem.m3 Ushm.i3 Usyslog.i3 Utermio.i3 Utypes.i3 Uutmp.i3 m3makefile Log message: empty out unused interfaces, which are likely full of incorrect or non-working stuff From jkrell at elego.de Mon Feb 11 09:49:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:49:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211084929.477BC10D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:49:28 Added files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: initial unchanged fork from TimeWin32.m3 The point here, which will be clear soon, is that NT386GNU can/should/needs to be a hybrid. To a large extent, Posix and Win32 functionality can both be in m3core/libm3 as long as they aren't behind a common interface, but instead specific interfaces. In particular, serialio is probably best provided by the Win32 implementation. That then depends on a small amount of Win32 functionality that normally isn't in "Posix" m3core/libm3, but which easily can be added, using the existing Win32 implementations. From jkrell at elego.de Mon Feb 11 09:56:15 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:56:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211085615.8674610D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:56:15 Modified files: cm3/m3-libs/m3core/src/time/: m3makefile cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 TimeWin32.m3 m3makefile Log message: split up TimeWin32.m3 two interfaces Time and TimeWin32 into two implementations Time and TimeWin32, so that NT386GNU can have a Posix implementation of Time but also expose TimeWin32. This shall be used indirectly by Win32 serialio in NT386GNU shortly. (NT386GNU serialio is currently broken, fixed shortly.) From jkrell at elego.de Mon Feb 11 10:13:41 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:13:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211091341.D290C10D4527@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:13:41 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 cm3/m3-libs/m3core/src/win32/: WinBase.i3 Log message: at the expense of NT 3.1 compatibility use GetSystemTimeAsFileTime instead of GetSystemTime + SystemTimeToFileTime From jkrell at elego.de Mon Feb 11 10:24:00 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:24:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211092401.1068410D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:24:00 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: no need for globals here.. From jkrell at elego.de Mon Feb 11 10:40:29 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:40:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094030.6104810D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:40:29 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: FSWin32.m3 Log message: remove outdated looking comment about a bug From jkrell at elego.de Mon Feb 11 10:42:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:42:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094235.86C5610D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:42:35 Modified files: cm3/m3-libs/libm3/src/os/: m3makefile cm3/m3-libs/libm3/src/os/WIN32/: OSErrorWin32.m3 m3makefile Added files: cm3/m3-libs/libm3/src/os/WIN32/: OSError.m3 Log message: provide OSErrorWin32 and FileWin32 so that NT386GNU serial port can be the Win32 implementation From jkrell at elego.de Mon Feb 11 10:43:18 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:43:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094318.39AE410D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:43:18 Modified files: cm3/m3-comm/serial/src/: m3makefile Log message: use the Win32 implementation even on NT386GNU some m3core/libm3 changes required to support this From jkrell at elego.de Mon Feb 11 10:49:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:49:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094937.4E39710D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:49:35 Added files: cm3/scripts/python/: do-cm3-all.py Log message: meant to add this a whil ago From jkrell at elego.de Mon Feb 11 10:55:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:55:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211095549.04B5410D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:55:48 Removed files: cm3/m3-libs/libm3/src/os/WIN32/: OSError.m3 Log message: oops, that isn't needed (OSError is all interface, no implementation) From jkrell at elego.de Mon Feb 11 11:43:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 11:43:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211104358.C4F4D10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 11:43:58 Modified files: cm3/m3-db/odbc/src/: m3makefile Log message: NT386GNU is Win32 here. From jkrell at elego.de Mon Feb 11 11:50:13 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 11:50:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211105015.E527710D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 11:50:13 Modified files: cm3/m3-db/db/src/odbc/: ODBCDB.m3 Log message: fix warnings about unused From jkrell at elego.de Mon Feb 11 12:09:20 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:09:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211110920.EE95710D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:09:20 Modified files: cm3/m3-libs/sysutils/src/WIN32/: FSysWin32.m3 SystemWin32.m3 Log message: fix warnings From jkrell at elego.de Mon Feb 11 12:12:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:12:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211111256.22C8E10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:12:56 Modified files: cm3/m3-ui/ui/src/winvbt/: WinScreenType.m3 Log message: fix warning about unused import (the use is commented out..would be nice to be able to move the import to near the code so they can be commented out together..) From jkrell at elego.de Mon Feb 11 12:18:34 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:18:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211111834.79E4110D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:18:34 Modified files: cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 Log message: add ptrdiff_t and size_t add apparently missing import in code that hasn't built in a long time (and still hasn't been) From jkrell at elego.de Mon Feb 11 12:26:22 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:26:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112622.9AFF610D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:26:22 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: go back a version From jkrell at elego.de Mon Feb 11 12:27:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:27:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112743.0B07810D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:27:42 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: remove globals with less change to the code (thanks Dragisa) From jkrell at elego.de Mon Feb 11 12:29:22 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:29:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112922.E2CC810D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:29:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more Cygwin header repair From jkrell at elego.de Mon Feb 11 12:38:04 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:38:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211113804.4767510D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:38:04 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: oops, fix ftruncate From jkrell at elego.de Mon Feb 11 13:13:45 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:13:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121346.7022A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:13:45 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: begin Cygwin/X support From jkrell at elego.de Mon Feb 11 13:17:33 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:17:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121733.06A2810D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:17:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upwd.i3 Log message: go back a version, Trestle uses this From jkrell at elego.de Mon Feb 11 13:18:57 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:18:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121857.1731D10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:18:57 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Upwd.i3 Log message: small repair, remove undefined type From jkrell at elego.de Mon Feb 11 13:19:32 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121932.0C55B10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:19:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Log message: oops From jkrell at elego.de Mon Feb 11 13:23:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:23:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122328.A9DE010D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:23:28 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: I don't understand this but it helps; oh well. From jkrell at elego.de Mon Feb 11 13:24:47 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:24:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122447.102D810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:24:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uutmp.i3 Log message: go back a version; Trestle uses this From jkrell at elego.de Mon Feb 11 13:26:34 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:26:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122634.5BACB10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:26:34 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Uutmp.i3 Log message: massively reduce to just what Trestle uses From jkrell at elego.de Mon Feb 11 14:22:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 14:22:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211132249.16DD810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 14:22:48 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: switch to the X Windows variant of OpenGL, now anim3d builds for example From jkrell at elego.de Mon Feb 11 15:27:30 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 15:27:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211142730.E6B3A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 15:27:30 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.m3 Log message: make setitimer(ITIMER_VIRTUAL) always succeed, even though Cygwin would always fail it (not so accurate a Unix emulation eh?) From hosking at cs.purdue.edu Mon Feb 11 17:38:12 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 11 Feb 2008 11:38:12 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080211111834.79E4110D4686@birch.elegosoft.com> References: <20080211111834.79E4110D4686@birch.elegosoft.com> Message-ID: <00528FCF-A83B-44CE-A768-0F6985B35EE7@cs.purdue.edu> size_t is in Utypes.i3. Why do you duplicate it? BasicCtypes should not be used for things that different OSs tend to typedef in header files -- they belong in Utypes.i3, not in BasicCtypes. On Feb 11, 2008, at 12:18 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/11 12:18:34 > > Modified files: > cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 > cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 > cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 > > Log message: > add ptrdiff_t and size_t > add apparently missing import in code that hasn't built in a long > time > (and still hasn't been) From hosking at elego.de Mon Feb 11 22:20:09 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:20:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212009.7C63210D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:20:09 Modified files: cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Mon Feb 11 22:21:03 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:21:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212103.74F7910D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:21:03 Modified files: cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Mon Feb 11 22:22:54 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:22:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212254.7EB3910D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:22:54 Modified files: cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Tue Feb 12 04:39:16 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 4:39:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212033916.7125010D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 04:39:16 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Drop use of Scheduler.Yield in slow-path allocation. From hosking at elego.de Tue Feb 12 04:54:43 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 4:54:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212035443.94B8A10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 04:54:43 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: Fix longstanding race in InitMutex and InitCondition. This remedies problem with m3tests/src/p0/p007 as reported on FreeBSD4, and fixes a reported error on Solaris as well. FreeBSD4 pthread-based threading now should be functionally equivalent to other pthread platforms (I386_DARWIN, PPC_DARWIN, SOLgnu, SOLsun, LINUXLIBC6). Fold thread mutex into the thread object itself to avoid an extra allocation. Thread.T now inherits from MUTEX. Rework Thread.Wait/AlertWait to wait using mutex argument instead of condition mutex -- this is sensible and avoids unnecessary additional Acquire/Release. Condition mutex is still used to protect the condition thread queue as necessary. Fix debug output of state change information. Don't print Stopped/Started from SignalHandler since this breaks async-safety of signal handler code. From hosking at elego.de Tue Feb 12 05:16:30 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:16:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212041630.7332D10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:16:30 Modified files: cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 Log message: We did need the IMPORT. From hosking at elego.de Tue Feb 12 05:20:47 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:20:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212042047.A12E210D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:20:47 Modified files: cm3/m3-sys/cm3/src/: m3makefile Log message: Let's avoid RCS id stuff shall we. Just clutters up the files... From hosking at elego.de Tue Feb 12 05:32:41 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:32:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212043242.37D6510D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:32:41 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 Log message: This checkin fixes something Jay left behind. Please check things build on platforms other than yours before making changes. The VAL is necessary on some targets because 0 is INTEGER whereas result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly compared with an INTEGER (result). The VAL is how we do the conversion to LONGINT. On platforms where Utypes.off_t is INTEGER this code will work the same as it is. From hosking at elego.de Tue Feb 12 06:20:18 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 6:20:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212052018.745FE10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 06:20:18 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Unused import Scheduler. From jayk123 at hotmail.com Tue Feb 12 07:18:01 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 06:18:01 +0000 Subject: [M3commit] $Id$ ? In-Reply-To: <20080212042047.A12E210D4686@birch.elegosoft.com> References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: I added some files a while ago and someone either complained or added them, so I've been adding them since. - Jay > Date: Tue, 12 Feb 2008 05:20:47 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:20:47> > Modified files:> cm3/m3-sys/cm3/src/: m3makefile > > Log message:> Let's avoid RCS id stuff shall we. Just clutters up the files...> _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Tue Feb 12 07:22:28 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 06:22:28 +0000 Subject: [M3commit] val? In-Reply-To: <20080212043242.37D6510D4686@birch.elegosoft.com> References: <20080212043242.37D6510D4686@birch.elegosoft.com> Message-ID: Sorry, I hadn't gotten around to testing this on other platforms. I do have PPC_DARWIN and PPC_LINUX available. There is/was a compilation problem with what I was doing. I"ll look into it more later. - Jay > Date: Tue, 12 Feb 2008 05:32:41 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:32:41> > Modified files:> cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 > > Log message:> This checkin fixes something Jay left behind.> > Please check things build on platforms other than yours before making> changes. The VAL is necessary on some targets because 0 is INTEGER whereas> result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly> compared with an INTEGER (result). The VAL is how we do the conversion to> LONGINT.> > On platforms where Utypes.off_t is INTEGER this code will work the same as it> is.> _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Tue Feb 12 13:32:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:32:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212123258.6E8C310D4687@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:32:58 Modified files: cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile cm3/m3-libs/m3core/src/C/NT386/: m3makefile cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile Added files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c Removed files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 Log message: a more complete fairly portable Cstdio.i3, only for NT386 for now (This highlights well where target-preprocessing would be useful, the majority of Cstdio.i3 is completely portable, except possibly for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.) From jkrell at elego.de Tue Feb 12 13:45:06 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:45:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212124509.4A5EC10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:45:06 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more repair From jkrell at elego.de Tue Feb 12 13:56:50 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:56:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212125650.7DE8D10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:56:50 Added files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 Log message: a fair amount of "unix i/o" is directly provided by msvcr*.dll and should perhaps be exposed /somewhere/. Here is a start, of sorts. From jkrell at elego.de Tue Feb 12 14:05:18 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:05:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212130518.F0C7B10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:05:18 Modified files: cm3/m3-libs/m3core/src/C/Common/: CstdioC.c Log message: fix (NT386 only) From jkrell at elego.de Tue Feb 12 14:19:32 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212131932.3278E10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:19:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uuio.i3 Log message: more cygwin interface reduction, in place of bothering to verify and repair From jkrell at elego.de Tue Feb 12 14:21:27 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:21:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132127.802D410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:21:27 Modified files: cm3/m3-libs/m3core/src/C/Common/: CstdioC.c Log message: reformat From jkrell at elego.de Tue Feb 12 14:22:14 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:22:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132214.928FD10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:22:14 Modified files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Log message: fix the extern names generally From jkrell at elego.de Tue Feb 12 14:24:01 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:24:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132401.EA73D10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:24:01 Modified files: cm3/m3-libs/m3core/src/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile Log message: start exposing some of the Unixy stuff that is provided by msvcr*.dll From jkrell at elego.de Tue Feb 12 14:25:04 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:25:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132504.56EF010D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:25:04 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: shrink From jkrell at elego.de Tue Feb 12 14:28:24 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:28:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132824.4CA9710D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:28:24 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Added files: cm3/m3-libs/m3core/src/unix/WIN32/: Unix.i3 Uuio.i3 m3makefile Log message: obviously this is /slightly/ better From jkrell at elego.de Tue Feb 12 14:29:46 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:29:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132946.96CE110D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:29:46 Modified files: cm3/m3-libs/m3core/src/unix/WIN32/: Uuio.i3 Log message: fix the extern names to have leading underscores (or double leading underscores if you look closely..) From jkrell at elego.de Tue Feb 12 14:30:48 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:30:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212133051.C18A410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:30:48 Modified files: cm3/m3-libs/m3core/src/unix/WIN32/: Unix.i3 Log message: remove dead line From jkrell at elego.de Tue Feb 12 14:34:00 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:34:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212133400.958B510D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:34:00 Removed files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 Log message: forgot to delete here From jkrell at elego.de Tue Feb 12 17:56:55 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 17:56:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212165655.5B93610D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 17:56:55 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: UtimeC.c Log message: Don't access fields at the end of struct tm that are not there! (switch from DateBsd to DateLinux) workaround data imports by copying the data after initializing it a little more header reduction since the headers are so error prone esp. remove nanosleep which I spent quite some time debugging before giving up on pthreads.. From hosking at elego.de Tue Feb 12 18:30:54 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 18:30:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212173054.181BF10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 18:30:54 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Remove ^M. From jayk123 at hotmail.com Tue Feb 12 18:33:01 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 17:33:01 +0000 Subject: [M3commit] val? In-Reply-To: <20080212043242.37D6510D4686@birch.elegosoft.com> References: <20080212043242.37D6510D4686@birch.elegosoft.com> Message-ID: This was to "fix" building NT386GNU because lseek was returning int or long instead of off_t. My mistake by changing the wrong side of things. The return type is fixed and NT386GNU is ok with the "VAL". - Jay From: jayk123 at hotmail.comTo: hosking at elego.de; m3commit at elegosoft.com; m3devel at elegosoft.comSubject: val?Date: Tue, 12 Feb 2008 06:22:28 +0000 Sorry, I hadn't gotten around to testing this on other platforms. I do have PPC_DARWIN and PPC_LINUX available.There is/was a compilation problem with what I was doing.I"ll look into it more later. - Jay > Date: Tue, 12 Feb 2008 05:32:41 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:32:41> > Modified files:> cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 > > Log message:> This checkin fixes something Jay left behind.> > Please check things build on platforms other than yours before making> changes. The VAL is necessary on some targets because 0 is INTEGER whereas> result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly> compared with an INTEGER (result). The VAL is how we do the conversion to> LONGINT.> > On platforms where Utypes.off_t is INTEGER this code will work the same as it> is.> Connect and share in new ways with Windows Live. Get it now! _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Feb 12 18:43:53 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:43:53 -0500 Subject: [M3commit] $Id$ ? In-Reply-To: References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: The log tells the story much better than random comments in the code. On Feb 12, 2008, at 1:18 AM, Jay wrote: > I added some files a while ago and someone either complained or > added them, so I've been adding them since. > > - Jay > > > > Date: Tue, 12 Feb 2008 05:20:47 +0000 > > To: m3commit at elegosoft.com > > From: hosking at elego.de > > Subject: [M3commit] CVS Update: cm3 > > > > CVSROOT: /usr/cvs > > Changes by: hosking at birch. 08/02/12 05:20:47 > > > > Modified files: > > cm3/m3-sys/cm3/src/: m3makefile > > > > Log message: > > Let's avoid RCS id stuff shall we. Just clutters up the files... > > > > > Shed those extra pounds with MSN and The Biggest Loser! Learn more. From hosking at cs.purdue.edu Tue Feb 12 18:49:21 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:49:21 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212123258.6E8C310D4687@birch.elegosoft.com> References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: There are inherently *BAD* *BAD* things about target preprocessing. The baddest thing is that preprocessing is defined separately from the language, so any tools that you use to process source files (including IDEs) have to smarten up to understand the preprocessors. In another project I am involved in it took a year or so to *remove* preprocessing crap from the sources so that the project could be developed and built using Eclipse. I would hate to see M3 go the way of C in this regard. There are more principled ways of doing language-defined (syntactic/ checkable/tool-usable) MACROS but in my opinion those approaches will add unnecessary complexity and clutter to what is currently a very clean Modula-3 language specification. I STRONGLY oppose any notion of "preprocessing" for Modula-3. On Feb 12, 2008, at 1:32 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 13:32:58 > > Modified files: > cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile > cm3/m3-libs/m3core/src/C/NT386/: m3makefile > cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile > Added files: > cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c > Removed files: > cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 > cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 > > Log message: > a more complete fairly portable Cstdio.i3, only for NT386 for now > (This highlights well where target-preprocessing would be useful, > the majority of Cstdio.i3 is completely portable, except possibly > for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.) From hosking at cs.purdue.edu Tue Feb 12 18:54:15 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:54:15 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212130518.F0C7B10D4659@birch.elegosoft.com> References: <20080212130518.F0C7B10D4659@birch.elegosoft.com> Message-ID: Jay, I *really* dislike the idea that you are putting target-specific code in a subdirectory labeled Common! If I want to search for target-specific stuff I grep for directories labeled by that target. Please, please, please think about the global picture before making these sorts of local changes! Please back this change out and put this where it belongs in cm3/m3- libs/m3core/src/C/NT386. I am happy to do it for you but I have other things to do with my time! On Feb 12, 2008, at 2:05 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 14:05:18 > > Modified files: > cm3/m3-libs/m3core/src/C/Common/: CstdioC.c > > Log message: > fix (NT386 only) From hosking at cs.purdue.edu Tue Feb 12 19:00:39 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 13:00:39 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212125650.7DE8D10D4659@birch.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> Message-ID: <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> The C stuff is not intended to expose a full C API to Modula-3 programmers. It is there mostly for bridging to C-based libraries, particularly platform-specific functionality for platforms that are implemented in C. Some of that bridging is done in the OS-specific unix subdirectories and some in the C subdirectories. Choosing where to put that bridge code is a matter of style I guess, but it should probably be a matter of consensus among the developers of CM3. So, do folks out there have any opinions on how to best structure these bridging portions of m3core? I would argue for the minimum needed to support core M3 functionality. Jay seems to want to throw everything including the kitchen sink into the core libraries. I would argue that doing so makes the job of maintaining and porting Modula-3 a little more onerous. On Feb 12, 2008, at 1:56 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 13:56:50 > > Added files: > cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 > > Log message: > a fair amount of "unix i/o" is directly provided by msvcr*.dll and > should perhaps be exposed /somewhere/. Here is a start, of sorts. From wagner at elegosoft.com Tue Feb 12 22:59:42 2008 From: wagner at elegosoft.com (Olaf Wagner) Date: Tue, 12 Feb 2008 22:59:42 +0100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> Message-ID: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Quoting Tony Hosking : > The C stuff is not intended to expose a full C API to Modula-3 > programmers. It is there mostly for bridging to C-based libraries, > particularly platform-specific functionality for platforms that are > implemented in C. Some of that bridging is done in the OS-specific > unix subdirectories and some in the C subdirectories. Choosing where > to put that bridge code is a matter of style I guess, but it should > probably be a matter of consensus among the developers of CM3. > > So, do folks out there have any opinions on how to best structure these > bridging portions of m3core? I would argue for the minimum needed to > support core M3 functionality. Jay seems to want to throw everything > including the kitchen sink into the core libraries. I would argue that > doing so makes the job of maintaining and porting Modula-3 a little > more onerous. I'm not sure that you are describing exactly was Jays intention was, but as a general rule we should of course try to keep dependencies on other languages or systems as few as possible in order to keep portability and maintainability. That said, I always found that there are rather a lot of things that are system dependent and need to be imported via a system- specific interface. One idea to improve this situation was to provide some generic POSIX interface layer which indeed does some of the mappings and adaptations in C. This could be just enough to get a base system up and running. I'm not sure how popular this idea would be within the CM3 community, and it would be some tedious work and need some refactoring of the code. It would make porting to new POSIX platforms much easier of course. It would not help much on Windows platforms of course :-/ Generally I'm not against refactoring and replacing code, but we should have a good concept and reason to do it before we start. Olaf -- Olaf Wagner -- elego Software Solutions GmbH Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From jkrell at elego.de Tue Feb 12 23:11:43 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 23:11:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212221143.D5B6810D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 23:11:43 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/NT386/: m3makefile cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile Added files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 CstdioC.c cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 CstdioC.c Removed files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c Log message: move mostly portable code to target specific directories From jayk123 at hotmail.com Wed Feb 13 11:38:17 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:38:17 +0000 Subject: [M3commit] [M3devel] CVS Update: cm3 In-Reply-To: References: <20080212130518.F0C7B10D4659@birch.elegosoft.com> Message-ID: done hours ago, not sure I saw the commitI still find a bit unsatisfactory.. but I guess that's plenty good. :) - Jay > From: hosking at cs.purdue.edu> Date: Tue, 12 Feb 2008 12:54:15 -0500> To: jkrell at elego.de> CC: m3devel at elegosoft.com; m3commit at elegosoft.com> Subject: Re: [M3devel] [M3commit] CVS Update: cm3> > Jay, I *really* dislike the idea that you are putting target-specific > code in a subdirectory labeled Common!> > If I want to search for target-specific stuff I grep for directories > labeled by that target.> > Please, please, please think about the global picture before making > these sorts of local changes!> > Please back this change out and put this where it belongs in cm3/m3- > libs/m3core/src/C/NT386. I am happy to do it for you but I have > other things to do with my time!> > On Feb 12, 2008, at 2:05 PM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/12 14:05:18> >> > Modified files:> > cm3/m3-libs/m3core/src/C/Common/: CstdioC.c> >> > Log message:> > fix (NT386 only)> _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 11:51:43 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:51:43 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: Really I'm aware of most/all of these issues and some of it, sorry, I forgot. I forgot that one of Modula-3's (few) strengths, it was ahead of its time, and now everything else except C and C++ have caught up (e.g. Java, C#), is that it easy to parse and easy to build other tools that parse it, instead of the compiler being the only tool by far that understands the language, and be incapable of providing everyone's feature, so you are left with a shortage of functionality, esp. that full works (class browsers and such). I do rather think the situation is already slightly broken in this regard though. That is, there are already generated source files. So either every tool has to know quake (not), or there has to be a place to go to get "the Modula-3 source" and "the Modula-3 source before running quake". I rather suspect this is the package store...except dependency on shipping probably very not good. Perhaps perhaps it is a very simple minimal search algorithm -- look in BUILD_DIR first? Perhaps such tools tend to be able to ignore what they can't find or understand?? And, if I /really/ wanted this feature (not), I would suggest (rather than merely mention :) ) the idea that whenever there was "target preprocessing", the compiler would be obligated to output a "preprocessed" file into BUILD_DIR. (This reminds, Metrowerks IDEs have a feature, right click on a file and select "preprocess". It is sorely missing in Visual Studio..it'd also be nice to have a batch mode -- build everything and while you are it, save preprocessed versions of everything, maybe in a compressed tokenized form viewable in the IDE unless I ask for plain text for plain tools) I didn't realize the subtley of pragmas limited affect, though I think it's still debatable. I think it'd be reasonable for other language tools to be confused about the nonexistance of implementations of <*extern*> functions. - Jay > From: hosking at cs.purdue.edu> Date: Tue, 12 Feb 2008 12:49:21 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > There are inherently *BAD* *BAD* things about target preprocessing. > The baddest thing is that preprocessing is defined separately from > the language, so any tools that you use to process source files > (including IDEs) have to smarten up to understand the preprocessors. > In another project I am involved in it took a year or so to *remove* > preprocessing crap from the sources so that the project could be > developed and built using Eclipse.> > I would hate to see M3 go the way of C in this regard.> > There are more principled ways of doing language-defined (syntactic/ > checkable/tool-usable) MACROS but in my opinion those approaches will > add unnecessary complexity and clutter to what is currently a very > clean Modula-3 language specification. I STRONGLY oppose any notion > of "preprocessing" for Modula-3.> > On Feb 12, 2008, at 1:32 PM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/12 13:32:58> >> > Modified files:> > cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile> > cm3/m3-libs/m3core/src/C/NT386/: m3makefile> > cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile> > Added files:> > cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c> > Removed files:> > cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3> > cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3> >> > Log message:> > a more complete fairly portable Cstdio.i3, only for NT386 for now> > (This highlights well where target-preprocessing would be useful,> > the majority of Cstdio.i3 is completely portable, except possibly> > for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.)> _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 11:53:03 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:53:03 +0000 Subject: [M3commit] $Id$ ? In-Reply-To: References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: I don't disagree much or care much. But I like seeing my name in lights. :) - Jay > CC: hosking at elego.de; m3commit at elegosoft.com; m3devel at elegosoft.com> From: hosking at cs.purdue.edu> Subject: Re: $Id$ ?> Date: Tue, 12 Feb 2008 12:43:53 -0500> To: jayk123 at hotmail.com> > The log tells the story much better than random comments in the code.> > On Feb 12, 2008, at 1:18 AM, Jay wrote:> > > I added some files a while ago and someone either complained or > > added them, so I've been adding them since.> >> > - Jay> >> >> > > Date: Tue, 12 Feb 2008 05:20:47 +0000> > > To: m3commit at elegosoft.com> > > From: hosking at elego.de> > > Subject: [M3commit] CVS Update: cm3> > >> > > CVSROOT: /usr/cvs> > > Changes by: hosking at birch. 08/02/12 05:20:47> > >> > > Modified files:> > > cm3/m3-sys/cm3/src/: m3makefile> > >> > > Log message:> > > Let's avoid RCS id stuff shall we. Just clutters up the files...> > >> >> >> > Shed those extra pounds with MSN and The Biggest Loser! Learn more.> _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail?-get your "fix". http://www.msnmobilefix.com/Default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:06:19 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:06:19 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: >> there has to be a place to go to get "the Modula-3 source" and "the Modula-3 source before running quake". And NOT "before running quake" I meant..sorry... _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:26:42 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:26:42 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Message-ID: Yes. I believe this is what I meant by "wrapping C in C". And my suggestion (since superceded) to wrap Utime global data with functions. For example my "get" functions for stdout/in/err. For example you would one stat struct, with just the fields anyone needs, with 64 bit sizes, with a unified time format (probably 64 bit seconds since Jan 1 1970). And then one C implementation, that #includes the native headers, and copies stuff over fairly portability, given the varying headers in scope. Or like how errno is. This is where more C code provides for more portability, since you are interfacing with code that is written in C (usually) and for which the "native" "interface language" is C headers. > It would not help much on Windows platforms of course :-/ I have to again ask what is "Posix" and point out that "Windows" provides more than maybe people realize. There is open/read/write/lseek/close, very much like you are used to. Even pipe and fdopen. Even stat I think. You'd want to use lseeki64 though and co. Forward slashes work just fine in kernel32 functions (though aren't returned from GetFullPathName). And, if you only have one drive on your system, heck, just use path /foo/bar.m3 and it works. File.open dialogs unfortunately don't follow suit, very annoying to me. But there isn't native pthreads or native X Windows, or native select/poll, gettimeofday, granted. Some of this is doable with thin layering, sometimes thick. The Cygwin code is very complicated here. Vista adds "condition variables" and the "once" thingy and that probably would help a lot. The "native" time format is something like 100s of nanoseconds since jan 1 1601 in a 64 bit number of unclear signedness. There are a bunch of C runtime functions for dealing with 32 bit or 64 bit seconds since Jan 1 1970 though. (32 bit time_t..big problem...) opendir/readdir/closedir is pretty easy to implement upon FindFirstFile/FindNextFile, I've implemented them multiple times.. I'm not sure how much the network/socket apis are similar, I've never used them. mmap and CreateFile/CreateFileMapping/MapViewOfFile I suspect are a thin mapping layer apart. Hardlinks work fine on NTFS. Symlinks for directories, essentially, were introduced in Windows 2000 (again, NTFS). Symlinks for files and directories were introduced in Vista. They seem like a huge can of worms though. As do hard links. I see circularities.. File system ACLs and attributes (read only, hidden, executable), definitely variation there. I do think these systems are more similar than people acknowledge though. e.g. the usermode/kernelmode split. All "operating systems" except the lowest end (Mac/MS-DOS/Win3.1/Win9x) have been about the same design since about 1970... - Jay > Date: Tue, 12 Feb 2008 22:59:42 +0100> From: wagner at elegosoft.com> > I'm not sure that you are describing exactly was Jays intention was,> but as a general rule we should of course try to keep dependencies> on other languages or systems as few as possible in order to keep> portability and maintainability.> > That said, I always found that there are rather a lot of things> that are system dependent and need to be imported via a system-> specific interface. One idea to improve this situation was to> provide some generic POSIX interface layer which indeed does> some of the mappings and adaptations in C. This could be just enough> to get a base system up and running. I'm not sure how popular this> idea would be within the CM3 community, and it would be some tedious> work and need some refactoring of the code. It would make porting to> new POSIX platforms much easier of course.> > It would not help much on Windows platforms of course :-/> > Generally I'm not against refactoring and replacing code, but we> should have a good concept and reason to do it before we start.> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:27:24 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:27:24 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Message-ID: (ps: except it stinks for cross building more fully; need those native C headers around....) From: jayk123 at hotmail.comTo: wagner at elegosoft.com; m3commit at elegosoft.comSubject: RE: [M3commit] CVS Update: cm3Date: Wed, 13 Feb 2008 11:26:42 +0000 Yes. I believe this is what I meant by "wrapping C in C". And my suggestion (since superceded) to wrap Utime global data with functions. For example my "get" functions for stdout/in/err. For example you would one stat struct, with just the fields anyone needs, with 64 bit sizes, with a unified time format (probably 64 bit seconds since Jan 1 1970).And then one C implementation, that #includes the native headers, and copies stuff over fairly portability, given the varying headers in scope. Or like how errno is. This is where more C code provides for more portability, since you are interfacing with code that is written in C (usually) and for which the "native" "interface language" is C headers. > It would not help much on Windows platforms of course :-/I have to again ask what is "Posix" and point out that "Windows" provides more than maybe people realize. There is open/read/write/lseek/close, very much like you are used to.Even pipe and fdopen. Even stat I think.You'd want to use lseeki64 though and co. Forward slashes work just fine in kernel32 functions (though aren't returned from GetFullPathName). And, if you only have one drive on your system, heck, just use path /foo/bar.m3 and it works. File.open dialogs unfortunately don't follow suit, very annoying to me. But there isn't native pthreads or native X Windows, or native select/poll, gettimeofday, granted. Some of this is doable with thin layering, sometimes thick.The Cygwin code is very complicated here.Vista adds "condition variables" and the "once" thingy and that probably would help a lot. The "native" time format is something like 100s of nanoseconds since jan 1 1601 in a 64 bit number of unclear signedness. There are a bunch of C runtime functions for dealing with 32 bit or 64 bit seconds since Jan 1 1970 though.(32 bit time_t..big problem...) opendir/readdir/closedir is pretty easy to implement upon FindFirstFile/FindNextFile, I've implemented them multiple times.. I'm not sure how much the network/socket apis are similar, I've never used them. mmap and CreateFile/CreateFileMapping/MapViewOfFile I suspect are a thin mapping layer apart. Hardlinks work fine on NTFS.Symlinks for directories, essentially, were introduced in Windows 2000 (again, NTFS).Symlinks for files and directories were introduced in Vista. They seem like a huge can of worms though. As do hard links.I see circularities.. File system ACLs and attributes (read only, hidden, executable), definitely variation there. I do think these systems are more similar than people acknowledge though.e.g. the usermode/kernelmode split. All "operating systems" except the lowest end (Mac/MS-DOS/Win3.1/Win9x) have been about the same design since about 1970... - Jay > Date: Tue, 12 Feb 2008 22:59:42 +0100> From: wagner at elegosoft.com> > I'm not sure that you are describing exactly was Jays intention was,> but as a general rule we should of course try to keep dependencies> on other languages or systems as few as possible in order to keep> portability and maintainability.> > That said, I always found that there are rather a lot of things> that are system dependent and need to be imported via a system-> specific interface. One idea to improve this situation was to> provide some generic POSIX interface layer which indeed does> some of the mappings and adaptations in C. This could be just enough> to get a base system up and running. I'm not sure how popular this> idea would be within the CM3 community, and it would be some tedious> work and need some refactoring of the code. It would make porting to> new POSIX platforms much easier of course.> > It would not help much on Windows platforms of course :-/> > Generally I'm not against refactoring and replacing code, but we> should have a good concept and reason to do it before we start.> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> Helping your favorite cause is as easy as instant messaging. You IM, we give. Learn more. _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elego.de Wed Feb 13 22:30:42 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 13 Feb 2008 22:30:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080213213042.8E6AF10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/13 22:30:42 Modified files: cm3/m3-sys/m3tests/: PkgTags cm3/m3-sys/m3tests/src/: m3makefile Added files: cm3/m3-sys/m3tests/src/p2/p204/: Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm Log message: add p204 -- ip address initializers -- This currently leads to code generation errors. Initializers in CONST and VAR sections seem to work, in the module body they crash the compiler. added: m3tests/src/p2/p204/Main.m3 added: m3tests/src/p2/p204/m3makefile added: m3tests/src/p2/p204/stderr.build added: m3tests/src/p2/p204/stderr.pgm added: m3tests/src/p2/p204/stdout.build added: m3tests/src/p2/p204/stdout.pgm modified: m3tests/src/m3makefile From hosking at cs.purdue.edu Wed Feb 13 22:42:57 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 13 Feb 2008 16:42:57 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080213213042.8E6AF10D4686@birch.elegosoft.com> References: <20080213213042.8E6AF10D4686@birch.elegosoft.com> Message-ID: <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> I've noticed a few other things surrounding constructors, etc.: 1) Taking SUBARRAY of an imported CONST array breaks the compiler. 2) ARRAY constructors in variable declarations that use named open array types also seem to be broken. I'll need to construct testcases for these. On Feb 13, 2008, at 10:30 PM, Olaf Wagner wrote: > CVSROOT: /usr/cvs > Changes by: wagner at birch. 08/02/13 22:30:42 > > Modified files: > cm3/m3-sys/m3tests/: PkgTags > cm3/m3-sys/m3tests/src/: m3makefile > Added files: > cm3/m3-sys/m3tests/src/p2/p204/: Main.m3 m3makefile stderr.build > stderr.pgm stdout.build > stdout.pgm > > Log message: > add p204 -- ip address initializers -- > > This currently leads to code generation errors. Initializers in > CONST and VAR sections seem to work, in the module body they crash > the compiler. > > added: m3tests/src/p2/p204/Main.m3 > added: m3tests/src/p2/p204/m3makefile > added: m3tests/src/p2/p204/stderr.build > added: m3tests/src/p2/p204/stderr.pgm > added: m3tests/src/p2/p204/stdout.build > added: m3tests/src/p2/p204/stdout.pgm > modified: m3tests/src/m3makefile From wagner at elegosoft.com Wed Feb 13 22:56:53 2008 From: wagner at elegosoft.com (Olaf Wagner) Date: Wed, 13 Feb 2008 22:56:53 +0100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> References: <20080213213042.8E6AF10D4686@birch.elegosoft.com> <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> Message-ID: <20080213225653.1dn28wru2ogocgw4@mail.elegosoft.com> Quoting Tony Hosking : > I've noticed a few other things surrounding constructors, etc.: > > 1) Taking SUBARRAY of an imported CONST array breaks the compiler. > > 2) ARRAY constructors in variable declarations that use named open > array types also seem to be broken. > > I'll need to construct testcases for these. I can do that if you like. Olaf -- Olaf Wagner -- elego Software Solutions GmbH Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From wagner at elego.de Thu Feb 14 00:44:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 14 Feb 2008 0:44:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080213234416.CD76710D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/14 00:44:16 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Added files: cm3/m3-sys/m3tests/src/p2/p205/: I.i3 Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm cm3/m3-sys/m3tests/src/p2/p206/: Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm Log message: add p205 -- SUBARRAY of imported CONST ARRAY -- and p206 -- ARRAY constructors in var decls using named open array types -- From jkrell at elego.de Thu Feb 14 12:06:11 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 12:06:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214110611.C013110D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 12:06:11 Modified files: cm3/m3-sys/cm3/src/: version.quake Log message: use Posix path for NT386GNU From jkrell at elego.de Thu Feb 14 13:10:07 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:10:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214121010.08AF110D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:10:07 Modified files: cm3/scripts/python/: pylib.py Log message: fix for non-NT386 targets (where Config == Target) From jkrell at elego.de Thu Feb 14 13:40:36 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:40:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214124036.965A810D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:40:36 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: PPC_DARWIN LINUXLIBC6 Log message: some config file unification From jkrell at elego.de Thu Feb 14 13:42:12 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:42:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214124212.C7BA910D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:42:12 Modified files: cm3/m3-sys/cminstall/src/config/: cm3.cfg Log message: remove whitespace from ends of lines From wagner at elego.de Fri Feb 15 00:18:08 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:18:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214231809.031FD10D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:18:08 Modified files: cm3/m3-sys/m3quake/: PkgTags cm3/m3-sys/m3quake/src/: QMachine.m3 Log message: fix equal for long texts modified: m3quake/src/QMachine.m3 From wagner at elego.de Fri Feb 15 00:20:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:20:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214232002.74AB610D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:20:02 Modified files: cm3/doc/: ship-cm3-www-doc cm3/doc/help/cm3/: quake.html Log message: fix operation name: fs_rm --> fs_rmfile From wagner at elego.de Fri Feb 15 00:29:06 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:29:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214232906.3B29F10D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:29:06 Modified files: cm3/m3-sys/m3tests/: PkgTags cm3/m3-sys/m3tests/src/: m3makefile Log message: use new built-in functions to compare files internally ignore " (core dumped)" differences in logs add option LOG_CMPS to log all compared files for debugging add date/time and hostname to generated report modified: m3tests/src/m3makefile From wagner at elego.de Sat Feb 16 00:36:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:36:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233645.5D8D310D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:36:45 Modified files: cm3/scripts/: pkgmap.sh Log message: add compilation and execution of package-specific test packages for -report From wagner at elego.de Sat Feb 16 00:38:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:38:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233807.6CF7410D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:38:07 Modified files: cm3/m3-libs/arithmetic/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:38:23 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:38:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233823.E86C710D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:38:23 Modified files: cm3/m3-libs/bitvector/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:42:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:42:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234228.48A0C10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:42:28 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:45:09 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:45:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234510.2156F10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:45:09 Modified files: cm3/m3-libs/slisp/tests/src/: m3makefile Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:47:20 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:47:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234720.3628A10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:47:20 Modified files: cm3/m3-comm/udp/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:56:14 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:56:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215235614.950F810D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:56:14 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 01:00:47 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:00:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216000055.660E310D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:00:47 Modified files: cm3/m3-libs/slisp/tests/src/: m3makefile Log message: fix makefile and disable test run for a while From wagner at elego.de Sat Feb 16 01:12:26 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:12:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216001226.0F37E10D4673@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:12:26 Modified files: cm3/scripts/: pkgmap.sh Log message: fix redirection From wagner at elego.de Sat Feb 16 01:13:43 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:13:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216001343.C0FDF10D4673@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:13:43 Modified files: cm3/m3-db/postgres95/test/src/: m3makefile m3overrides cm3/m3-db/stable/test/src/: m3makefile Log message: make tests run in regression test framework From neels at elego.de Sat Feb 16 03:16:31 2008 From: neels at elego.de (Neels Janosch Hofmeyr) Date: Sat, 16 Feb 2008 3:16:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216021631.29BCD10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: neels at birch. 08/02/16 03:16:31 Modified files: cm3/www/: install-cm3-on-ubuntu-7-10.html Log message: updated install-cm3-on-ubuntu-7-10.html From wagner at elego.de Sat Feb 16 11:29:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 11:29:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216102916.E9A7B10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 11:29:16 Modified files: cm3/scripts/: pkgmap.sh Log message: use simply cm3 -build -DTEST -DRUN to perform tests From jkrell at elego.de Sat Feb 16 13:44:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 13:44:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216124442.962AD10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 13:44:42 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: take another Posix path on NT386GNU -- since cmd /c move doesn't understand /cygdrive (probably would with a quote and my junction pointer), make strings readonly and reuse the prefix From wagner at elego.de Sat Feb 16 17:01:30 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 17:01:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216160131.13AD210D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 17:01:30 Modified files: cm3/m3-libs/patternmatching/tests/src/: Main.m3 m3makefile Log message: enable tests again with appropriate input From wagner at elego.de Sat Feb 16 17:19:49 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 17:19:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216161949.4BD2910D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 17:19:49 Modified files: cm3/scripts/: pkgmap.sh Log message: define ROOT during test compilation and execution, too use orange for package test reports if output is encountered on stderr (which may only be a warning) From hosking at elego.de Sat Feb 16 17:47:14 2008 From: hosking at elego.de (Antony Hosking) Date: Sat, 16 Feb 2008 17:47:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216164714.13AB810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/16 17:47:14 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Put in a more descriptive comment regarding preservation of invariants on stack/register blackness/dirtiness for possible interior pointers to heap objects. From jkrell at elego.de Sat Feb 16 20:45:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 20:45:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216194522.7473010D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 20:45:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: some header corrections From jkrell at elego.de Sat Feb 16 21:03:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:03:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216200322.5C84710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:03:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.m3 Log message: looks like I forgot this earlier (to be removed once we remove the globals) From jkrell at elego.de Sat Feb 16 21:26:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:26:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216202601.2E90A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:26:01 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more header repair and reduction From wagner at elego.de Sat Feb 16 21:36:44 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 21:36:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216203644.2EACC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 21:36:44 Modified files: cm3/m3-libs/patternmatching/tests/src/: Main.m3 m3makefile regex.i3 Added files: cm3/m3-libs/patternmatching/tests/src/: regex.c Log message: The re_comp and re_exec functions used in this test are more or less obsolete. I tried to use the newer regcomp and regexec interface, but failed to come up with something that works both on FreeBSD and Linux. This at least gives some results on Debian Linux, but fails completely on FreeBSD. It seems also strange that the regex match of libc should produce so much obvious errors. Probably I did something wrong in the C code. From jkrell at elego.de Sat Feb 16 21:39:03 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:39:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216203903.9B12610D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:39:03 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: m3makefile Log message: This leads to revealing File.T twice, which the compiler only seems to sometimes notice. Not having this breaks NT386GNU serial but for now that is ok. Ideally we restructure this somewhat so that FileWin32 can be used without revealing the portable parts. As to why the multiple revelations are only sometimes noticed deserves further investigation. In particular, the compiler noticed when I continued to try to have more Win32 code available on NT386GNU, particularly ProcessWin32 in trying to avoid problems with ProcessPosix on NT386GNU/Cygwin. From wagner at elego.de Sat Feb 16 21:41:04 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 21:41:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204104.F298810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 21:41:04 Modified files: cm3/m3-libs/patternmatching/tests/src/: regex.c Log message: avoid initialization of regex_t on FreeBSD From jkrell at elego.de Sat Feb 16 21:44:40 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:44:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204440.B3DDC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:44:40 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Utypes.m3 Log message: more header reduction; I could see some of this coming back as we move on to build more packages, but for now, ok From jkrell at elego.de Sat Feb 16 21:48:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:48:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204842.25DDE10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:48:42 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uutsname.i3 Log message: use correct size From jkrell at elego.de Sat Feb 16 22:05:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:05:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216210553.394E810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:05:53 Modified files: cm3/scripts/python/: pylib.py Log message: skip serial on NT386GNU for now From jkrell at elego.de Sat Feb 16 22:09:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:09:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216210959.49C8510D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:09:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: reduce ioctls a lot From jkrell at elego.de Sat Feb 16 22:33:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:33:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216213350.5FDD810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:33:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: a little more reduction From jkrell at elego.de Sat Feb 16 22:52:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:52:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216215222.D9B7710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:52:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: put back symlink, somehow missed that sysutils uses it From wagner at elego.de Sat Feb 16 23:09:26 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 23:09:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216220926.7142F10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 23:09:26 Modified files: cm3/m3-comm/udp/test/src/: TestUDP.m3 m3makefile Log message: avoid endless loops in TestUDP disable test run for now needs fixing From wagner at elego.de Sat Feb 16 23:12:31 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 23:12:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216221231.D303210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 23:12:31 Modified files: cm3/m3-libs/binIO/test/src/: m3makefile Log message: add test run From wagner at elego.de Sun Feb 17 00:46:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 0:46:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216234616.BF71210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 00:46:16 Modified files: cm3/m3-db/postgres95/: PkgTags cm3/m3-db/postgres95/src/: PQ.i3 m3makefile cm3/m3-db/postgres95/test/src/: Demo2.m3 Added files: cm3/m3-db/postgres95/src/: PQ.m3 Log message: add new connection function PQsetdbLogin add implementation of old PQsetdb for compatibility make the test program compile and run (it actually works as expected!) added: postgres95/src/PQ.m3 modified: postgres95/src/PQ.i3 modified: postgres95/src/m3makefile modified: postgres95/test/src/Demo2.m3 From wagner at elego.de Sun Feb 17 00:48:05 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 0:48:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216234805.88A1210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 00:48:05 Modified files: cm3/scripts/: pkgmap.sh Log message: add missing -override for test execution paint background for missing tests yellow From jkrell at elego.de Sun Feb 17 07:31:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 7:31:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217063200.C1F9B10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 07:31:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uin.m3 Log message: fix alarming comment From hosking at elego.de Sun Feb 17 08:13:38 2008 From: hosking at elego.de (Antony Hosking) Date: Sun, 17 Feb 2008 8:13:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217071338.D493C10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/17 08:13:38 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c Log message: esp field has changed to __esp for Leopard. Use an ifdef to choose appropriately. From jkrell at elego.de Sun Feb 17 10:05:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:05:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217090558.8502F10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:05:58 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c Umman.i3 Usocket.i3 Ustat.i3 Utypes.i3 Utypes.i3.cpp m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Ugrp.i3 Uipc.i3 Umsg.m3 Upaths.i3 Upthread.i3 Upthread.i3.c Usched.i3 Usem.i3 Usem.m3 Ushm.i3 Usyslog.i3 Utermio.i3 Utypes.m3 Log message: significant header repair and reduction, esp. struct stat From jkrell at elego.de Sun Feb 17 10:36:45 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:36:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093645.A080A10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:36:45 Modified files: cm3/m3-db/smalldb/src/: OSSupport.m3 Log message: remove gratuitious newlines at end of file (leave just one) From jkrell at elego.de Sun Feb 17 10:37:48 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:37:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093748.59F5C10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:37:48 Modified files: cm3/m3-libs/m3core/src/win32/: WinBase.i3 Log message: expose IsDebuggerPresent, and dos2unix From jkrell at elego.de Sun Feb 17 10:38:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:38:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093832.16A1E10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:38:32 Modified files: cm3/m3-libs/m3core/src/win32/: m3makefile Log message: minor simplification From wagner at elego.de Sun Feb 17 10:56:34 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 10:56:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217095634.795EC10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 10:56:34 Modified files: cm3/scripts/: pkgmap.sh Log message: improve package test report layout: move all test details to the end From jkrell at elego.de Sun Feb 17 11:21:16 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:21:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102116.EDB1310D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:21:16 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common NT386GNU Log message: stick with Win32 file (but not path) naming conventions for now, more clearly/definitely From jkrell at elego.de Sun Feb 17 11:23:28 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:23:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102328.B94F710D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:23:27 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py pylib.py upgrade.py Log message: small tweaks to what builds and which slash is in paths From jkrell at elego.de Sun Feb 17 11:29:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:29:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102953.05D7A10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:29:52 Modified files: cm3/scripts/python/: pylib.py Log message: fix file not found error that always gets reported From wagner at elego.de Sun Feb 17 11:31:04 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 11:31:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217103104.C039510D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 11:31:04 Modified files: cm3/scripts/: pkgmap.sh Log message: minor HTML change From wagner at elego.de Sun Feb 17 14:57:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 14:57:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217135721.8913E10D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 14:57:21 Modified files: cm3/scripts/: pkgmap.sh Log message: minor corrections From wagner at elego.de Sun Feb 17 18:07:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 18:07:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217170708.4E7AC10D421D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 18:07:07 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile regex.c regex.i3 Added files: cm3/m3-libs/patternmatching/tests/src/: regex.m3 Log message: Add a working M3 implementation instead of the C workaround. This works at least on FreeBSD now, but I'm not sure if the constant values are the same on all platforms. We'll see. Note: it is important *not to link in the compatibility library libcompat* on FreeBSD, since this seems to be not thread-aware and will cause the newer regex interfaces to fail in mysterious ways. I should have noticed that earlier. From jkrell at elego.de Mon Feb 18 04:32:07 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 4:32:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218033207.4055110D428A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:32:07 Modified files: cm3/scripts/python/: pylib.py Log message: until we make more changes in m3path and possibly elsewhere, user has to manage this (findstr /i /m cygwin1.dll cm3.exe would be a good way to detect what it wants too..) From hosking at elego.de Mon Feb 18 04:48:37 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 18 Feb 2008 4:48:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218034837.BD76810D428B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/18 04:48:37 Modified files: cm3/scripts/regression/: cm3.build Log message: -e flag for test not available in Solaris sh. From jkrell at elego.de Mon Feb 18 04:53:19 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 4:53:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218035320.23A4A10D428B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:53:19 Modified files: cm3/m3-sys/cm3/src/: Builder.i3 Builder.m3 M3Build.m3 M3Path.i3 M3Path.m3 Main.m3 Log message: Making NAMING_CONVENTIONS in the config file actually work by checking it much earlier; previously the runtime probed slash apparently was the real determiner of naming conventions, except for the .m3x file's name perhaps. As well, besides the slash no longer determining naming convention, also make the naming convention not determine the slash. That is NT386GNU uses Win32 naming conventions (at least for now), except for the runtime probed slash which is a forward slash. From jkrell at elego.de Mon Feb 18 05:09:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 5:09:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218040910.9969070D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 05:09:10 Modified files: cm3/scripts/python/: pylib.py Log message: fix for older Python that lacks os.devnull, per the comment that says to comment out :) From wagner at elego.de Mon Feb 18 09:32:15 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 18 Feb 2008 9:32:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218083215.6130910D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/18 09:32:15 Modified files: cm3/scripts/: pkgmap.sh Log message: fix test output in case of package build failures From jkrell at elego.de Mon Feb 18 10:54:02 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:54:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095403.19EAB10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:54:02 Modified files: cm3/scripts/python/: upgrade.py Log message: do be sure to rebuild m3core and libm3 in order for the new compiler to not just crash From jkrell at elego.de Mon Feb 18 10:56:50 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:56:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095650.1E87610D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:56:50 Modified files: cm3/scripts/python/: upgrade.py Log message: one more is justified in order to use a compiler with a current runtime? From jkrell at elego.de Mon Feb 18 10:57:05 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:57:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095705.8360A10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:57:05 Modified files: cm3/scripts/python/: upgrade.py Log message: fix comment From jkrell at elego.de Mon Feb 18 14:38:16 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 14:38:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218133816.B04C170D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 14:38:16 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: first of a few changes to M3Path.m3; don't touch lcase array until there is a mismatch (this can be even more efficiently by not checking for ignore_case until there is a mismatch) From jkrell at elego.de Mon Feb 18 14:44:26 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 14:44:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218134426.6C17B10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 14:44:26 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: compare length up front; this is actually almost the same as it worked before but maybe clearer; before it called max and then in RegionMatch the explicit bounds check would trigger a mismatch From jkrell at elego.de Mon Feb 18 15:13:24 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 15:13:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218141325.146A610D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 15:13:24 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: combine common code as is the pattern nearby, using either the preallocated buffer on the stack or a larger right-sized heap allocation avoid repeated calls to Text.Length on the same Text reduce scope of functions by making them local, even if they don't reuse parent local variables From jkrell at elego.de Mon Feb 18 15:22:32 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 15:22:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218142232.B384510D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 15:22:32 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: When converting from/to the same thing, don't bother looking for it. When converting a zero length string, don't bother with additional setup. These are nice classic simple optimizations though will perhaps be wiped out shortly by a preference for forward slashes. (or possibly preserved by merely treating forward/backward slashes about the same) From jkrell at elego.de Mon Feb 18 16:04:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 16:04:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218150429.AA6F310D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 16:04:28 Modified files: cm3/scripts/python/: pylib.py Log message: pass InstallRoot down to the delegating cm3.cfg on configurations (my Mac) where it isn't set in the environment already From jkrell at elego.de Mon Feb 18 16:16:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 16:16:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218151644.E5E4410D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 16:16:44 Modified files: cm3/m3-sys/m3quake/src/: QMachine.i3 QMachine.m3 cm3/m3-sys/cm3/src/: M3Path.m3 Log message: At least for purposes of determining if Join(a,b) is b or a + slash + b, treat any path that starts with a forward or backward slash, or contains a colon as the second character, as absolute, on all platforms. It is ASSUMED that backslashes and colons are never used in paths on non-Windows systems, or at least that this interpretation is ok. This will contribute some ease of use. NT386 and NT386GNU need not be so picky about path forms. Cygwin and Win32 already generally accept either form in many contexts, sometimes with slightly different meaning, sometimes not. e.g. the path /foo in Win32 is at the root of the "current drive, but is just "at the root" in Cygwin. In either case, for purposes of Join, it CAN be considered absolute though this does change the meaning of some constructs. e.g. if current drive is C:, is Join(D:, /foo) => D:/foo or just /foo, which would then become C:/foo? What is more interesting and useful is for NT386GNU to treat c:\foo as absolute, as this change also achieves, so that Join(c:\foo, d:\bar) is the valid path d:\bar and not the invalid c:\foo/d:\bar. Again note that Cygwin appears to accept all of c:\foo, c:/foo, /foo, and \foo style paths, and that Win32 definitely accepts them, albeit maybe with different meaning. (//foo and \\foo also) From jkrell at elego.de Mon Feb 18 18:20:52 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 18:20:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218172053.1A46710D4315@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 18:20:52 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: this line can go back where it was, and remove accidentally commited debugprint From jkrell at elego.de Mon Feb 18 20:42:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 20:42:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218194259.5FA2A10D4315@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 20:42:58 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: more escaping madness From wagner at elego.de Wed Feb 20 00:10:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:10:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219231039.00E5B10D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:10:38 Modified files: cm3/m3-db/db/test/src/: m3makefile Added files: cm3/m3-db/db/test/src/: m3overrides Log message: add override and demo execution From wagner at elego.de Wed Feb 20 00:20:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:20:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219232028.2FF6310D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:20:28 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 LINUXLIBC6 Log message: update some postgres and odbc configuration From wagner at elego.de Wed Feb 20 00:23:43 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:23:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219232343.8E01210D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:23:43 Modified files: cm3/m3-sys/cm3/src/config/: FreeBSD4 LINUXLIBC6 Log message: update some postgres and odbc configuration From wagner at elego.de Wed Feb 20 00:02:05 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:02:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219230205.1DB4010D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:02:05 Modified files: cm3/m3-db/odbc/test/src/: m3makefile Added files: cm3/m3-db/odbc/test/src/: m3overrides Log message: add override and demo execution From wagner at elego.de Wed Feb 20 00:40:49 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:40:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219234049.705E510D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:40:49 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 LINUXLIBC6 Log message: also update SYSTEM_LIBORDER From wagner at elego.de Wed Feb 20 00:41:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:41:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219234102.CC97110D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:41:02 Modified files: cm3/m3-sys/cm3/src/config/: FreeBSD4 LINUXLIBC6 Log message: also update SYSTEM_LIBORDER From wagner at elego.de Wed Feb 20 00:56:29 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:56:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219235629.2C5AF10D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:56:29 Modified files: cm3/scripts/: do-cm3-caltech-parser.sh pkginfo.txt Log message: add missing packages drawcontext/dcpane and drawcontext/kgv From wagner at elego.de Wed Feb 20 00:57:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:57:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219235716.71B8110D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:57:16 Modified files: cm3/caltech-parser/drawcontext/test/src/: m3makefile m3overrides Log message: make test compile and run it (seems to crash though)-: From wagner at elego.de Wed Feb 20 02:10:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 2:10:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220011009.82F8210D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 02:10:07 Modified files: cm3/caltech-parser/drawcontext/test/src/: m3makefile Log message: workaround dependency problem and disable test run From wagner at elego.de Wed Feb 20 02:25:40 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 2:25:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220012540.7BC4B10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 02:25:40 Modified files: cm3/scripts/: pkgmap.sh Log message: improve link styles From wagner at elego.de Wed Feb 20 12:14:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 12:14:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220111407.AAB1110D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 12:14:07 Modified files: cm3/caltech-parser/: m3overrides cm3/caltech-parser/cit_common/src/: m3makefile m3overrides cm3/caltech-parser/cit_util/src/: m3overrides cm3/caltech-parser/drawcontext/dcpane/src/: m3overrides cm3/caltech-parser/drawcontext/kgv/src/: m3overrides cm3/caltech-parser/drawcontext/src/: m3overrides cm3/caltech-parser/drawcontext/test/src/: m3overrides cm3/caltech-parser/hack/src/: m3overrides cm3/caltech-parser/m3browserhack/src/: m3overrides cm3/caltech-parser/m3tmplhack/src/: m3overrides cm3/caltech-parser/paneman/kemacs/src/: m3overrides cm3/caltech-parser/paneman/src/: m3overrides cm3/caltech-parser/parserlib/: m3overrides cm3/caltech-parser/parserlib/kext/src/: m3overrides cm3/caltech-parser/parserlib/klex/src/: m3overrides cm3/caltech-parser/parserlib/klexlib/src/: m3overrides cm3/caltech-parser/parserlib/ktok/src/: m3overrides cm3/caltech-parser/parserlib/ktoklib/src/: m3overrides cm3/caltech-parser/parserlib/kyacc/src/: m3overrides cm3/caltech-parser/parserlib/kyacclib/src/: m3overrides cm3/caltech-parser/parserlib/parserlib/src/: m3overrides parser.tmpl cm3/caltech-parser/parserlib/parserlib/test/src/: m3overrides cm3/caltech-parser/parserlib/parserlib/test_stdin/src/: m3overrides cm3/caltech-parser/term/src/: m3overrides Log message: abstract / to SL in quake code From wagner at elego.de Wed Feb 20 12:46:44 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 12:46:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220114646.9726F10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 12:46:44 Modified files: cm3/caltech-parser/cit_common/src/: m3makefile cm3/caltech-parser/parserlib/klexlib/src/: m3makefile Log message: more slash substitution and makeup From wagner at elego.de Wed Feb 20 14:49:42 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 14:49:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220134943.4E9C410D4561@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 14:49:42 Modified files: cm3/scripts/: pkgmap.sh Log message: force sourcing sysinfo.sh put log files into ${PKG}/${TARGET} use fold to break long lines in tables From wagner at elego.de Wed Feb 20 15:19:01 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 15:19:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220141901.BC43E10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 15:19:01 Modified files: cm3/m3-libs/bitvector/src/: BitVector.m3 m3overrides cm3/m3-libs/bitvector/test/src/: TestBitVector.m3 m3overrides Log message: fix: the bitvector iterator was broken due to a wrong increment A missing override was added, too. Now all tests succeed. From wagner at elego.de Wed Feb 20 15:19:51 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 15:19:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220141951.3AFD310D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 15:19:51 Modified files: cm3/scripts/: pkgmap.sh Log message: extend test failure pattern by "test failed" From wagner at elego.de Wed Feb 20 16:33:50 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 16:33:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220153350.9C17C10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 16:33:50 Modified files: cm3/m3-libs/bitvector/src/: BitVector.m3 Log message: remove tabs From wagner at elego.de Thu Feb 21 01:07:00 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:07:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221000700.14D4110D4561@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:07:00 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: System.i3 System.m3 TextReadingUtils.i3 TextReadingUtils.m3 Log message: implement pipes in System.ExecuteList improve command line parsing (no space needed anymore) make text reading utilities more flexible modified: sysutils/src/System.i3 modified: sysutils/src/System.m3 modified: sysutils/src/TextReadingUtils.i3 modified: sysutils/src/TextReadingUtils.m3 From wagner at elego.de Thu Feb 21 01:08:27 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:08:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221000827.61DA510D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:08:27 Modified files: cm3/doc/help/cm3/: quake.html Log message: update description of q_exec (syntax, pipes) From wagner at elego.de Thu Feb 21 01:10:17 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:10:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221001019.21DC810D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:10:17 Modified files: cm3/m3-sys/m3quake/test/src/: m3makefile result.stdout Log message: add more execution tests From jkrell at elego.de Fri Feb 22 16:55:01 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 22 Feb 2008 16:55:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222155502.4EABF10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/22 16:55:01 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c 1.cmd Udir.i3 Usignal.i3 Usignal.i3.c m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Uucontext.i3 Usignal.m3 Log message: more header reduction and repair From wagner at elego.de Fri Feb 22 18:19:41 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 22 Feb 2008 18:19:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222171941.2310D10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/22 18:19:41 Modified files: cm3/m3-libs/sysutils/src/: m3makefile Added files: cm3/m3-libs/sysutils/src/: FingerprintFmt.i3 FingerprintFmt.m3 Log message: add procedures for fingerprint i/o (will be needed by some future commits) From wagner at elego.de Fri Feb 22 18:22:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 22 Feb 2008 18:22:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222172257.E4FC810D45D1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/22 18:22:57 Modified files: cm3/m3-www/http/: PkgTags cm3/m3-www/http/src/: m3makefile m3overrides Removed files: cm3/m3-www/http/src/: FastLex.i3 FastLex.m3 Log message: FastLex is already contained in the sysutils package; just import that as it not really related to http removed: http/src/FastLex.i3 removed: http/src/FastLex.m3 modified: http/src/m3makefile modified: http/src/m3overrides From jkrell at elego.de Sat Feb 23 07:56:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 7:56:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223065632.4277310D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 07:56:32 Modified files: cm3/scripts/python/: bootntgnu.py pylib.py Log message: if path machinations go as planned, I won't have to set as many environment variables allow uname in the path and still target NT386 otherwise tweak target detection From jkrell at elego.de Sat Feb 23 08:01:11 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:01:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223070111.C24AA10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:01:11 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common Log message: let GNU platform come from parent (m3cc/m3gdb don't honor this though..) try to use sysutils fs_cp instead of command line utilities fs_rmfile looks redundant with preexisting delete_file these names are very terse and Unixy, cp instead of Copy.. some additional command line escaping These last two changes help enable a cross scenario that I accidentally tried -- targeting NT386 with a NT386GNU cm3, or something like that. In particular, config files don't know if their HOST is Win32 or Posix, they know about their TARGET. From jkrell at elego.de Sat Feb 23 08:02:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:02:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223070225.8093910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:02:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: cleanup From jkrell at elego.de Sat Feb 23 08:12:21 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:12:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223071221.6175D10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:12:21 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Uuio.i3 Log message: prune a bit more, and fix formating From jkrell at elego.de Sat Feb 23 08:42:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:42:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223074247.96F6010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:42:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uin.i3 Uin.m3 Uresource.i3 Usocket.i3 Log message: more header pruning and repair From jkrell at elego.de Sat Feb 23 08:51:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:51:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223075126.E1C3A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:51:26 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usocket.i3 Log message: more header pruning and repair From jkrell at elego.de Sat Feb 23 09:01:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:01:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223080153.EE8EA10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:01:52 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usocket.i3 Uugid.i3 Uuio.i3 Log message: just a bit of cleanup and put back Usocket.shutdown From jkrell at elego.de Sat Feb 23 09:28:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223082814.2757510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:28:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3 Log message: more header reduction and repair From jkrell at elego.de Sat Feb 23 09:28:56 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:28:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223082856.2739E10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:28:56 Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: initial version that is just copy of the .i3 file From jkrell at elego.de Sat Feb 23 09:31:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:31:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083159.B51CB10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:31:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3.c Log message: meant this file -- remove a bit of no longer needed code From jkrell at elego.de Sat Feb 23 09:32:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:32:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083227.E17CB10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:32:27 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Uerror.i3.cpp Log message: initial version that prints the same content as we already have From jkrell at elego.de Sat Feb 23 09:36:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:36:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083631.2F6F110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:36:31 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: generate Uerror.i3 reliably; though the current one is already correct From jkrell at elego.de Sat Feb 23 09:56:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:56:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223085653.1D28D10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:56:53 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Log message: prune a bit more unused declarations From jkrell at elego.de Sat Feb 23 10:50:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 10:50:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223095039.5D76210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 10:50:39 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Uin.i3 Log message: fix warnings about unused From jkrell at elego.de Sat Feb 23 10:58:56 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 10:58:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223095856.DBA2010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 10:58:56 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upwd.i3 Log message: repair and reduce From jkrell at elego.de Sat Feb 23 11:16:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 11:16:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223101650.07A6210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 11:16:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uprocess.i3 Log message: remove more unused From jkrell at elego.de Sat Feb 23 12:03:00 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:03:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223110300.9F04A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:03:00 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Udir.i3 Uin.i3 Unetdb.i3 Unix.i3 m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Umsg.i3 Unetdb.m3 Log message: reduce, repair, and tweak slightly From jkrell at elego.de Sat Feb 23 12:12:07 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:12:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223111207.7237A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:12:07 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: put back symlink From jkrell at elego.de Sat Feb 23 12:16:24 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:16:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223111624.D0AE810D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:16:24 Modified files: cm3/m3-obliq/obliqrt/src/: ObValue.m3 Log message: mark unused parameters with pragma to prevent warning From jkrell at elego.de Sat Feb 23 12:40:57 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:40:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223114057.628D710D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:40:57 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: m3makefile cm3/m3-libs/libm3/src/os/WIN32/: m3makefile Log message: switch NT386GNU to Win32 paths Cygwin does accept all of c:\foo, \foo, c:/foo, /foo. From jkrell at elego.de Sat Feb 23 12:46:45 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:46:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223114645.5D37510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:46:45 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: add comment, check string length before full equality, don't bother shortening assembly source file names, maybe save some heap allocs From jkrell at elego.de Sat Feb 23 13:11:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:11:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223121139.6B2D910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:11:39 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: go back a version -- to regular Pathname.Absolute From jkrell at elego.de Sat Feb 23 13:34:40 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:34:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223123440.6EEA110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:34:40 Modified files: cm3/m3-sys/m3quake/src/: QMachine.i3 QMachine.m3 Log message: go back a version, to regular Pathname.Absolute From jkrell at elego.de Sat Feb 23 13:39:06 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:39:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223123906.F1AB010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:39:06 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: forward slash is a path separator on all current platforms (ignoring Macos Classic), and then some platforms (Windows) have another separator, so always check for forward slash and the other possible one (which is usually also just a forward slash) From jkrell at elego.de Sat Feb 23 13:47:54 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:47:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223124754.314CF10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:47:54 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: bring in some disabled-by-default test code, that reveals some bugs From jkrell at elego.de Sat Feb 23 13:48:55 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:48:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223124855.B642A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:48:55 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: oops From jkrell at elego.de Sat Feb 23 13:54:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:54:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223125458.D1B8C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:54:58 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: c:\a\b..\..\d should collapse to c:\a\d that "b.." ends in ".." is not relevant From jkrell at elego.de Sat Feb 23 15:04:00 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:04:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140400.C6C3C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:04:00 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: support foo.lib instead of libfoo.a but with forward slashes, like was here recently (should NOT be controversial) From jkrell at elego.de Sat Feb 23 15:04:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:04:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140458.2F71210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:04:58 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: but it does need to compile of course From jkrell at elego.de Sat Feb 23 15:05:15 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:05:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140515.DAD2A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:05:15 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: but it does need to compile of course From jkrell at elego.de Sat Feb 23 15:09:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:09:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140931.77D6F10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:09:31 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: cleanup From jkrell at elego.de Sat Feb 23 15:21:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:21:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142129.23D4410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:21:29 Modified files: cm3/scripts/python/: upgrade.py Log message: gcc backend is SO SLOW, remove one rebuild From jkrell at elego.de Sat Feb 23 15:22:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:22:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142230.6595210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:22:30 Modified files: cm3/scripts/python/: upgrade.py Log message: don't clean again either From jkrell at elego.de Sat Feb 23 15:28:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:28:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142801.A534410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:28:01 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: m3makefile cm3/m3-libs/libm3/src/os/POSIX/: m3makefile Log message: NT386GNU back to Posix paths, essentially just works either way, at least if you set CM3_ROOT, CM3_INSTALL, M3CONFIG environment variables (and even then, that's because my Python always sniffs to Win32 paths, it could do better, such as by findstr cygwin1.dll on cm3.exe) From jkrell at elego.de Sat Feb 23 15:45:11 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:45:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144511.ED66010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:45:11 Modified files: cm3/scripts/python/: pylib.py Log message: initial code to sniff if cm3.exe is a Cygwin binary and if so convert paths for it From jkrell at elego.de Sat Feb 23 15:45:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:45:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144600.2A05C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:45:58 Modified files: cm3/scripts/python/: pylib.py Log message: move code near each other From jkrell at elego.de Sat Feb 23 15:48:28 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:48:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144828.4D1B910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:48:28 Modified files: cm3/scripts/python/: pylib.py Log message: fix environment variable name in comment From jkrell at elego.de Sat Feb 23 15:56:12 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:56:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223145612.6A09410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:56:12 Modified files: cm3/scripts/python/: pylib.py Log message: fix cygwin paths From wagner at elego.de Sat Feb 23 15:58:41 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 23 Feb 2008 15:58:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223145841.2ABA910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/23 15:58:41 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 Log message: use libiodcb on FreeBSD From wagner at elego.de Sat Feb 23 16:03:24 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 23 Feb 2008 16:03:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223150324.AF19510D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/23 16:03:24 Modified files: cm3/scripts/: upgrade.sh cm3/scripts/regression/: defs.sh Log message: add switch UPGRADE_CM3_CFG to upgrade.sh fore config file upgrade during regression tests (otherwise changes in the configuration will never be reflected there) From jkrell at elego.de Sat Feb 23 16:12:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:12:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223151205.1207110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:12:05 Modified files: cm3/scripts/python/: make-dist.py Log message: change environment variable name From jkrell at elego.de Sat Feb 23 16:28:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:28:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223152805.CD8FE10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:28:05 Modified files: cm3/scripts/python/: make-dist.py pylib.py Log message: path hackery to make progress on NT386GNU make-dist From jkrell at elego.de Sat Feb 23 16:41:02 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:41:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223154102.8A58110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:41:02 Modified files: cm3/scripts/python/: make-dist.py Log message: need sysutils From jkrell at elego.de Sat Feb 23 17:56:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 17:56:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223165639.E794610D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 17:56:39 Modified files: cm3/m3-sys/cminstall/src/config/: NT386GNU Log message: fix comments From jkrell at elego.de Sat Feb 23 18:22:17 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:22:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223172218.0094510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:22:17 Modified files: cm3/scripts/python/: make-dist.py pylib.py Log message: go back to only building min distributions for now put in far fewer config files in distributions (Target* plus a one line stub) From jkrell at elego.de Sat Feb 23 18:28:13 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:28:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223172813.E5D1910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:28:13 Modified files: cm3/scripts/python/: make-dist.py Log message: most targets need no lib directory, and it gets created if necessary From jkrell at elego.de Sat Feb 23 18:30:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:30:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223173048.2BC7B10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:30:47 Modified files: cm3/scripts/python/: pylib.py Log message: comment about future direction From jkrell at elego.de Sat Feb 23 21:21:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 21:21:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223202150.DAB8810D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 21:21:50 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Log message: fix so tests can be run on Windows From jkrell at elego.de Sat Feb 23 21:41:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 21:41:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223204126.A759B10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 21:41:26 Modified files: cm3/scripts/python/: pylib.py Log message: some allowance for the Cygwin Python that is in my path ugh.. From jkrell at elego.de Sun Feb 24 00:35:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:35:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223233532.F131110D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:35:32 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: support targeting NT386 from NT386GNU host, if the right junction points are setup (should write the pn_* functions?) From jkrell at elego.de Sun Feb 24 00:39:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:39:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223233901.3741F10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:39:01 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: support targeting NT386 from NT386GNU host -- semicolons in command options do not separate commands, wrap the thing in cmd /d quotes to SHield from SHenanigans From jkrell at elego.de Sun Feb 24 00:42:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:42:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223234225.2039A10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:42:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: only waste a process if Cygwin forces us From jkrell at elego.de Sun Feb 24 00:47:43 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:47:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223234743.95AE710D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:47:43 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: coments only (essentially) From wagner at elego.de Sun Feb 24 01:41:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 1:41:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224004138.31B4110D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 01:41:38 Modified files: cm3/scripts/regression/: update_snapshot_status.sh Log message: fix index and cleanup for source archives From wagner at elego.de Sun Feb 24 02:07:25 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 2:07:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224010726.8D41610D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 02:07:25 Modified files: cm3/scripts/: make-src-dist-sys.sh Log message: add missing packages to sys dist From jkrell at elego.de Sun Feb 24 13:20:38 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 13:20:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224122038.607F210D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 13:20:38 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py Log message: stuff works now From jkrell at elego.de Sun Feb 24 13:22:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 13:22:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224122201.F23D110D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 13:22:01 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py Log message: reformat and remove duplicate From wagner at elego.de Sun Feb 24 13:36:08 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 13:36:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224123608.4473A10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 13:36:08 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 M3Path.m3 Log message: The latest changes seem to break overrides for some packages (see package status of m3-db/odbc for example). Revert this package to the last working version I found: cvs up -j 1.16 -j 1.14 src/Builder.m3 cvs up -j 1.19 -j 1.5 src/M3Path.m3 With this version, all current packages and tests work at least on my FreeBSD 6.3 system. From jkrell at elego.de Sun Feb 24 16:02:04 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:02:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224150206.5A6E310D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:02:04 Modified files: cm3/scripts/python/: pylib.py upgrade.py Log message: fewer double slashes and should handle upgrading from NT386 to NT386GNU or vice versa (still testing) From jkrell at elego.de Sun Feb 24 16:04:36 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:04:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224150440.3248B10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:04:36 Modified files: cm3/scripts/python/: upgrade.py Log message: only remove pylib.py's M3CONFIG variable right before reloading pylib.py, not right after From jkrell at elego.de Sun Feb 24 16:14:09 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:14:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224151410.1365F10D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:14:09 Modified files: cm3/scripts/python/: upgrade.py Log message: the other variables do need fixing when upgrading between host types (maybe pylib or cm3 should just always do this?) From wagner at elego.de Sun Feb 24 16:55:58 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 16:55:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224155559.2F9DF10D469F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 16:55:58 Modified files: cm3/m3-sys/cm3/src/config/: LINUXLIBC6 cm3/m3-sys/cminstall/src/config/: LINUXLIBC6 Log message: use libiodbc on LINUXLIBC6, too From jkrell at elego.de Sun Feb 24 17:44:37 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:44:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224164437.BD9CE10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:44:37 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: line up the columns From jkrell at elego.de Sun Feb 24 18:26:41 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:26:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224172641.9F20910D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:26:41 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: reveal an array index out of bounds bug From jkrell at elego.de Sun Feb 24 17:36:44 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:36:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224163645.5E9F910D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:36:44 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 M3Path.m3 Log message: remove the hack file name shortening that was for masm but also hits unnecessarily NT386GNU/as masm is not likely a scenario, usually NT386 outputs .obj files directly and maybe the behavior/bug is fixed in newer versions? This time, leave alone the behavior of a../.. because I broke ../.. Make '/' a directory separator on all platforms. (Ignoring MacOS Classic) '/' is a path separator on Win32 and libm3/Pathname already knows that In M3Path.Join, avoid the source code duplication and use the Foo=>DoFoo(buf) pattern used nearby. Move Append local to M3Path.Join. (changed its signature to accept a length to avoid an extra Text.Length call) Fix what looks like a possible crash if New ( Text.Length (dir) = 0) In DoParse, change two passes over the string to just one. Would be even better to start at the end of the string and stop when found. In RegionMatch, avoid the Text.Length calls if possible. (even if they are faster than strlen) In RegionMatch when being case insensitive, first check case sensitive to avoid touching the lcase table. In Escape, handle a zero length string faster. decided against it -- it is already fast, and is rare, and slows down everything else In Convert, be fast if good = bad (the normal case!) various classic micro optimizations in general remove dead stores remove repeat calls to Text.Length (such as in Join where every string had it called twice) split out M3Path.New into M3Path.New and M3Path.NewInternal so test code can specify host := FALSE From jkrell at elego.de Sun Feb 24 17:43:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:43:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224164330.CC81410D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:43:30 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: shrink a bit From jkrell at elego.de Sun Feb 24 18:35:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:35:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224173527.5E96C10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:35:26 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: fix array index out of bounds From jkrell at elego.de Sun Feb 24 18:45:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:45:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224174523.E70A010D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:45:22 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: more carefully this time: do collapse "a../.." down to just "." but leave alone "../..", it can't be collapsed "for lack of room" From jkrell at elego.de Sun Feb 24 18:50:21 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:50:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224175021.BA62C10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:50:20 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: remove outdated comment and the test code need some way to expose internals to testing.. From jkrell at elego.de Mon Feb 25 15:36:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 15:36:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225143628.C816310D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 15:36:28 Added files: cm3/m3-win/import-libs/src/: m3overrides Log message: quash warning From jkrell at elego.de Mon Feb 25 17:15:05 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:15:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225161506.5F66F10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:15:05 Modified files: cm3/scripts/: do-cm3-base.sh do-cm3-core.sh do-cm3-front.sh do-cm3-std.sh Log message: use the data file From jkrell at elego.de Mon Feb 25 16:55:37 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 16:55:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225155538.0AD0C10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 16:55:37 Modified files: cm3/scripts/: pkginfo.sh Log message: tell user what the delay is From jkrell at elego.de Mon Feb 25 17:26:52 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:26:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225162653.891BC10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:26:52 Modified files: cm3/scripts/: do-cm3-caltech-parser.sh do-cm3-comm.sh do-cm3-gui.sh do-cm3-min.sh pkginfo.txt Log message: use the data file From jkrell at elego.de Mon Feb 25 17:27:39 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:27:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225162739.A04F410D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:27:39 Modified files: cm3/scripts/regression/: defs.sh Log message: print a little more From jkrell at elego.de Mon Feb 25 17:57:40 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:57:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225165741.4D74810D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:57:40 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: change the extensions of NT386GNU .dlls to .so, just so they can live in the same directory as NT386 dlls; yep it's sleazy and lazy gotta love indirect chosing of printf format strings.. From jkrell at elego.de Mon Feb 25 19:05:51 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:05:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225180551.DB36F10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:05:51 Modified files: cm3/m3-ui/juno-2/juno-app/src/: m3makefile Log message: TARGET should be BUILD_DIR for my 'config' vs. 'target' scheme, so that we can build here on NT386GNU (yes, we get this far) From jkrell at elego.de Mon Feb 25 19:11:53 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:11:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225181153.123DD10D46A4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:11:53 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DateLinux.m3 DatePosix.m3 cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Utime.m3 m3makefile cm3/m3-libs/m3core/src/unix/hpux-7-0/: Utime.i3 cm3/m3-libs/m3core/src/unix/irix-5.2/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: Utime.i3 cm3/m3-libs/m3core/src/unix/solaris-2-x/: Utime.i3 Added files: cm3/m3-libs/m3core/src/unix/Common/: UtimeC.c m3makefile Log message: fix crash in shobjgen by wrapping up Utime.i3 globals in functions From jkrell at elego.de Mon Feb 25 19:28:14 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225182814.A8A2C10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:28:14 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UtimeC.c cm3/m3-libs/m3core/src/unix/linux/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: Utime.i3 Log message: fix Linux From jkrell at elego.de Mon Feb 25 19:31:21 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:31:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225183127.E37BD10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:31:21 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: go ahead and commit this, but it isn't enabled yet From wagner at elego.de Tue Feb 26 00:43:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 0:43:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225234357.0ACAC10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 00:43:57 Modified files: cm3/scripts/: do-cm3-core.sh Log message: fix last change: use correct path for pkginfo.txt Please check such changes before commit! From jayk123 at hotmail.com Tue Feb 26 01:36:49 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 26 Feb 2008 00:36:49 +0000 Subject: [M3commit] test? Message-ID: Just testing..mailing lists seem down again.. - Jay _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elego.de Tue Feb 26 08:49:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 8:49:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226074957.A907810D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 08:49:57 Modified files: cm3/scripts/: def-std-pkgs.sh pkginfo.txt Log message: compile stablegen before stable, because stable tests depend on it From wagner at elego.de Tue Feb 26 08:55:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 8:55:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226075502.9064E10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 08:55:02 Modified files: cm3/scripts/: do-cm3-base.sh do-cm3-caltech-parser.sh do-cm3-comm.sh do-cm3-front.sh do-cm3-gui.sh do-cm3-min.sh do-cm3-std.sh Log message: fix more pkginfo.txt paths From jkrell at elego.de Tue Feb 26 18:10:19 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:10:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226171019.75FA010D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:10:19 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: go back a version; it appears I copied one file on to another From jkrell at elego.de Tue Feb 26 18:12:07 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:12:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226171207.7E2AD10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:12:07 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: wrap data in functions to match DateBsd.m3 and DateLinux.m3 From jkrell at elego.de Tue Feb 26 18:20:59 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:20:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172059.E76CD10D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:20:59 Added files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: initial copy from config; I can at least compile the Modula-3, if not generate code, compile C, assembly, link; any target can easily be cross-compiled From jkrell at elego.de Tue Feb 26 18:24:18 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:24:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172418.680F810D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:24:18 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: initial preconfigured version From jkrell at elego.de Tue Feb 26 18:25:32 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:25:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172532.0506D10D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:25:32 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: neuter the functions that I don't have the infra to run -- compile_c, assembly, backend, link/lib From jayk123 at hotmail.com Tue Feb 26 18:52:03 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 26 Feb 2008 17:52:03 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080226075502.9064E10D4698@birch.elegosoft.com> References: <20080226075502.9064E10D4698@birch.elegosoft.com> Message-ID: sorry I ran the first few to verify the code (which wasn't right at first and the output of do-foo -n build, make sure the package lists matched and were in the right order (they weren't always in the same order, and the filtering results in different output), and then got overconfident (as usual). I thought I tested base, core, std -- all the ones that were already in the file. And then did a different smaller for the "new" ones comm, caltech, gui, etc. -- findstr on the data file vs. reading through the older code. The Python doesn't use this file yet but that's something to do. Making the filtering data driven, maybe, maybe not, it's less valuable. Pushing NT386GNU forward of course.. Oh, I see, I must have tested these sitting in that directory. So they did work, in a specific small context. - Jay > Date: Tue, 26 Feb 2008 08:55:02 +0000> To: m3commit at elegosoft.com> From: wagner at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: wagner at birch. 08/02/26 08:55:02> > Modified files:> cm3/scripts/: do-cm3-base.sh do-cm3-caltech-parser.sh > do-cm3-comm.sh do-cm3-front.sh do-cm3-gui.sh > do-cm3-min.sh do-cm3-std.sh > > Log message:> fix more pkginfo.txt paths> _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Tue Feb 26 18:53:47 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:53:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175347.C735710D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:53:47 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Utypes.m3 Log message: fix warning about unused From jkrell at elego.de Tue Feb 26 18:57:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:57:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175715.0B63410D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:57:15 Modified files: cm3/m3-sys/m3back/src/: m3overrides Log message: add missing override note that compiler doesn't seem to care about m3core missing it can be very useful to compile without overriding libm3 while bootstrapping from previous version, however that is merely done without using overrides and doing buildship in dependency order From jkrell at elego.de Tue Feb 26 18:59:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:59:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175958.6F61310D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:59:58 Modified files: cm3/m3-sys/fix_nl/src/: OSPOSIX.m3 Log message: fix it to compile (e.g. for SOLgnu) From jkrell at elego.de Tue Feb 26 19:09:34 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 19:09:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226180934.C726C10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 19:09:34 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: let incrementality work by touching output, which highlights how slow either Cygwin or the sleep is, because just touch is quite slow From jkrell at elego.de Tue Feb 26 19:13:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 19:13:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226181315.6392D10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 19:13:15 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: much faster From wagner at elego.de Tue Feb 26 22:38:20 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 22:38:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226213820.9712510D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 22:38:20 Modified files: cm3/scripts/: def-std-pkgs.sh pkginfo.txt Log message: fix package name (unittest-numeric) From wagner at elego.de Wed Feb 27 01:08:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 1:08:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227000845.6884910D469C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 01:08:45 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: PathnamePosix.m3 Log message: null bytes are not valid in posix From wagner at elego.de Wed Feb 27 01:17:13 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 1:17:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227001713.2270010D46A1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 01:17:13 Modified files: cm3/m3-libs/libm3/tests/arith/src/: m3makefile cm3/m3-libs/libm3/tests/os/src/: m3makefile cm3/m3-libs/libm3/tests/random/src/: m3makefile cm3/m3-libs/libm3/tests/sequence/src/: Test.m3 m3makefile cm3/m3-libs/libm3/tests/sortedtable/src/: m3makefile cm3/m3-libs/libm3/tests/sqrt/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/arith/src/: m3overrides cm3/m3-libs/libm3/tests/os/src/: m3overrides pathname-tests-input pathname-tests-output cm3/m3-libs/libm3/tests/random/src/: m3overrides cm3/m3-libs/libm3/tests/sequence/src/: m3overrides cm3/m3-libs/libm3/tests/sortedtable/src/: m3overrides cm3/m3-libs/libm3/tests/sqrt/src/: m3overrides cm3/m3-libs/libm3/tests/src/: m3makefile m3overrides Log message: first set of changes to integrate some of the existing libm3 tests this is only a start; much is still missing and needs to be done From dragisha at elego.de Wed Feb 27 09:40:01 2008 From: dragisha at elego.de (Dragiša Duric) Date: Wed, 27 Feb 2008 9:40:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227084001.0A8CA10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 08/02/27 09:40:00 Modified files: cm3/m3-sys/m3quake/src/: QMachine.m3 cm3/m3-sys/cm3/src/: M3Build.m3 Makefile.m3 Log message: CM3_INSTALL_PREFIX enables elegant packaging scripts. Made for RPM, but not limited to. From dragisha at elego.de Wed Feb 27 09:55:17 2008 From: dragisha at elego.de (Dragiša Duric) Date: Wed, 27 Feb 2008 9:55:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227085518.3394610D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 08/02/27 09:55:17 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTHeapMap.m3 Log message: Incremental registration to global_map, so garbage collection does not break when we load modules at runtime. Makes "Modula-3 modules loadable at runtime" work. From hosking at elego.de Wed Feb 27 18:21:57 2008 From: hosking at elego.de (Antony Hosking) Date: Wed, 27 Feb 2008 18:21:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227172157.8941C10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/27 18:21:57 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTHeapMap.m3 Log message: I am nervous about assuming that there is a persistent mapping from a particular cardinal to the same module for RTModule.Get (suppose that the RTModule mapping changes at some point). Let's be a little more conservative about rebuilding the global map, by doing it whenever the module count is different from what we expect. I doubt this matters performance-wise in the global scheme of things. Also, this will simplify some changes we are planning with respect to processing of globals by a new non-stop-the-world GC. From wagner at elego.de Wed Feb 27 22:17:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 22:17:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227211707.4845E10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 22:17:07 Added files: cm3/scripts/: cm3-pkg-deps Log message: add package dependencies From wagner at elego.de Wed Feb 27 23:46:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 23:46:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227224645.0697A10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 23:46:44 Modified files: cm3/m3-libs/libm3/tests/os/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/os/src/: filesystem-tests-input filesystem-tests-output process-tests-input process-tests-output cm3/m3-libs/libm3/tests/src/: defs.quake Log message: add some more libm3 tests From wagner at elego.de Thu Feb 28 00:06:15 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 28 Feb 2008 0:06:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227230615.2023110D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/28 00:06:15 Modified files: cm3/m3-libs/sysutils/src/: System.m3 Log message: remove wrong error message From wagner at elego.de Thu Feb 28 00:07:22 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 28 Feb 2008 0:07:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227230722.B9DD210D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/28 00:07:22 Modified files: cm3/m3-libs/libm3/tests/sortedtable/src/: m3makefile cm3/m3-libs/libm3/tests/src/: m3makefile Log message: add sortedtable tests From jkrell at elego.de Thu Feb 28 09:23:22 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 9:23:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228082322.3662910D46B6@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 09:23:22 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c cm3/m3-sys/m3front/src/misc/: Coverage.m3 Host.i3 Host.m3 Scanner.m3 Log message: put full paths to source files in debug info This has the minor downsides of: 1) grows the debug info (it is already huge; who is counting?) 2) reveals file system layout in debug info (privacy?) 3) does it inhibit debugging files from other people's machines or does gdb dir still work? but definitely makes for a more pleasant debugging experience when debugging stuff you have built yourself. The linear searching to see if a name has been allocated a number yet will obviously slow way down due to a large increase in common prefixes, but that should be a hash table anyway. Linear search is lame. (or a trie, but working from the ends of the strings, minus the last one or few characters, due to common prefixes as well as common suffixes) Note that both m3front and m3cc changes are needed as m3front has paths relative to the current working directory or such. For most packages, you can get by without the m3front change and just prepend "../src/" to the path in m3cc, but that doesn't work for hierarchical packages such as libm3 and m3core which I am debugging. From jkrell at elego.de Thu Feb 28 13:25:13 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:25:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228122513.8756710D46A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:25:13 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: ProcessPosix.m3 cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 cm3/m3-libs/m3core/src/thread/WIN32/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Uexec.i3 Log message: remove sleep(.1 sec) from waiting for processes to exit on pthread and cygwin, but leave it on alarmthreads, and it was never there on Win32; reduce Cygwin Uexec.i3 some From jkrell at elego.de Thu Feb 28 13:32:29 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:32:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123230.66FDB10D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:32:29 Added files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessCygwin.m3 WaitProcessWin32.m3 Log message: forgot to commit new files -- remove sleep(.1 seconds) in wait for processes to exit on pthreads and cygwin, leave it in for alarmthreads, it was never in win32 NOTE that cygwin waitpid is commented as being not thread safe, lame From jkrell at elego.de Thu Feb 28 13:35:54 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:35:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123554.7AC1410D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:35:54 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:37:35 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:37:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123735.A589710D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:37:35 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:37:58 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:37:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123758.58E2610D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:37:58 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:48:44 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:48:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228124844.E2EDB10D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:48:44 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 Log message: add missing import From hosking at elego.de Thu Feb 28 18:38:21 2008 From: hosking at elego.de (Antony Hosking) Date: Thu, 28 Feb 2008 18:38:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228173821.4626B10D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/28 18:38:21 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessWin32.m3 Log message: Remove ^M. From hosking at elego.de Thu Feb 28 18:39:01 2008 From: hosking at elego.de (Antony Hosking) Date: Thu, 28 Feb 2008 18:39:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228173901.9519810D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/28 18:39:01 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessWin32.m3 Log message: ASSERT style. From rodney at elego.de Fri Feb 29 00:55:28 2008 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 29 Feb 2008 0:55:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228235528.D133110D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/02/29 00:55:28 Added files: cm3/scripts/: do-cm3-m3gdb.sh Log message: A handy new script to build just m3gdb. From wagner at elego.de Fri Feb 29 01:47:53 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 29 Feb 2008 1:47:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080229004753.E339210D46BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/29 01:47:53 Modified files: cm3/m3-libs/libm3/tests/pqueue/fromtty/src/: m3makefile cm3/m3-libs/libm3/tests/pqueue/heapsort1/src/: m3makefile cm3/m3-libs/libm3/tests/pqueue/heapsort2/src/: m3makefile cm3/m3-libs/libm3/tests/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/pqueue/fromtty/src/: m3overrides cm3/m3-libs/libm3/tests/pqueue/heapsort1/src/: m3overrides cm3/m3-libs/libm3/tests/pqueue/heapsort2/src/: m3overrides Log message: add libm3/pqueue tests From jkrell at elego.de Mon Feb 4 05:53:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 04 Feb 2008 04:53:35 -0000 Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204045308.A9DB010D466C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 05:53:07 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: remove gratitious semicolons From jkrell at elego.de Mon Feb 18 04:21:46 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 03:21:46 -0000 Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218032118.1CDCF10D428A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:21:17 Modified files: cm3/scripts/python/: pylib.py Log message: tweak slashes, confusing host and target From wagner at elego.de Fri Feb 1 21:20:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 1 Feb 2008 21:20:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201202022.2628410D45CE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/01 21:20:21 Modified files: cm3/doc/help/cm3/: quake.html Log message: update quake language description From wagner at elego.de Fri Feb 1 21:20:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 1 Feb 2008 21:20:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201202045.5996010D45CE@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/01 21:20:45 Modified files: cm3/www/: normal.css Log message: change header sizes From hosking at elego.de Sat Feb 2 00:43:53 2008 From: hosking at elego.de (Antony Hosking) Date: Sat, 2 Feb 2008 0:43:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080201234353.F351E10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/02 00:43:53 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Add parameter decls even for imported procedures, as per Jay Krell's request to support stdcall parameter passing mode on Windows. From wagner at elego.de Sat Feb 2 02:18:37 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 2:18:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202011837.641AB10D465B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 02:18:37 Modified files: cm3/www/: index.html Log message: increase top frame size due to different rendering on IE From wagner at elego.de Sat Feb 2 14:52:58 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 14:52:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202135258.0ECA910D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 14:52:58 Modified files: cm3/www/: index.html top.html Log message: make frames resizable and fix link to www.modula3.org From wagner at elego.de Sat Feb 2 16:36:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 2 Feb 2008 16:36:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202153602.6853D10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/02 16:36:02 Modified files: cm3/caltech-parser/m3tmplhack/src/: m3makefile cm3/caltech-parser/parserlib/kext/src/: m3makefile cm3/caltech-parser/parserlib/klex/src/: m3makefile cm3/caltech-parser/parserlib/ktok/src/: m3makefile cm3/caltech-parser/parserlib/kyacc/src/: m3makefile Log message: build parser tools standalone for the sake of systems like Darwin, where dynamic libraries won't be found within the workspace if this seems unacceptable, we can still make the build_standalone depend on the target From jkrell at elego.de Sat Feb 2 22:51:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 2 Feb 2008 22:51:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202215129.793EF10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/02 22:51:29 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Added files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c Log message: fix the pthread sizes (need to look up the Modula-3 language stuff...) expose SIGUSR2 for SuspendOthers/StopWorld add some test/probing code From jkrell at elego.de Sat Feb 2 23:17:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 2 Feb 2008 23:17:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080202221727.5618010D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/02 23:17:27 Modified files: cm3/m3-sys/cm3/src/: version.quake Log message: use BUILD_DIR instead of TARGET, they aren't always the same From jkrell at elego.de Sun Feb 3 03:06:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 3 Feb 2008 3:06:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203020627.5FB9210D4658@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/03 03:06:27 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 m3makefile Added files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThreadC.c Log message: Cygwin static initializers are not all zeros and Modula-3 static initialization happens after at least some of this data is used, so move it to C to guarantee actual static initialization. This fixes the problem where Cygwin/NT386GNU issues an endless stream of assertion failures upon start, at each pthread_mutex_lock call. Cygwin/NT386GNU still hangs at startup, since nanosleep is failing, and there is an access violation to investigate. Cygwin does strange things with the stack..reserving a block at the start for their thread locals and getting to it via fs:4. From hosking at cs.purdue.edu Sun Feb 3 06:01:37 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Sun, 3 Feb 2008 00:01:37 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080203020627.5FB9210D4658@birch.elegosoft.com> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> Message-ID: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> I would prefer to do this in pure Modula-3 by calling the initializer functions explicitly. I'll take a look at it. On Feb 3, 2008, at 3:06 AM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/03 03:06:27 > > Modified files: > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 > m3makefile > Added files: > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 > ThreadPThreadC.c > > Log message: > Cygwin static initializers are not all zeros and Modula-3 static > initialization happens after at least some of this data is used, > so move it to C to guarantee actual static initialization. > This fixes the problem where Cygwin/NT386GNU issues an endless stream > of assertion failures upon start, at each pthread_mutex_lock call. > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing, > and there is an access violation to investigate. Cygwin does > strange things with the stack..reserving a block at the start for > their thread locals and getting to it via fs:4. From jayk123 at hotmail.com Sun Feb 3 07:56:47 2008 From: jayk123 at hotmail.com (Jay) Date: Sun, 3 Feb 2008 06:56:47 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> Message-ID: 1) I need to double check that my commit comment is true. 2) If it is, I'd strongly prefer static initialization without code, either asis, or by fixing the compiler... Having to run code for constant initialization is just lame.. 2b) If it isn't, I'll put it back. - Jay > From: hosking at cs.purdue.edu> Date: Sun, 3 Feb 2008 00:01:37 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > I would prefer to do this in pure Modula-3 by calling the initializer > functions explicitly. I'll take a look at it.> > On Feb 3, 2008, at 3:06 AM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/03 03:06:27> >> > Modified files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3> > m3makefile> > Added files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3> > ThreadPThreadC.c> >> > Log message:> > Cygwin static initializers are not all zeros and Modula-3 static> > initialization happens after at least some of this data is used,> > so move it to C to guarantee actual static initialization.> > This fixes the problem where Cygwin/NT386GNU issues an endless stream> > of assertion failures upon start, at each pthread_mutex_lock call.> > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing,> > and there is an access violation to investigate. Cygwin does> > strange things with the stack..reserving a block at the start for> > their thread locals and getting to it via fs:4.> _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Sun Feb 3 08:35:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 3 Feb 2008 8:35:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203073533.B9B0110D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/03 08:35:32 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 m3makefile Removed files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 ThreadPThreadC.c Log message: put this back, it looks like it is implemented as static initialization From wagner at elego.de Sun Feb 3 17:42:06 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 17:42:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203164206.7626910D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 17:42:06 Modified files: cm3/scripts/regression/: cm3.build tinderbox-build.sh Log message: fix several problems in the regression test scripts: o results codes were lost because of {} scopes o 2>&1 redirection was applied at the wrong place o /bin/sh should be sufficient Obviously the recent version hasn't been tested very much at Elego; our own nightly test runs do not show these problems. I'm not sure if I have found all bugs; anyway: if anybody is already using the previous version of this script, please update. Sorry for any inconviniences caused. From wagner at elego.de Sun Feb 3 17:43:36 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 17:43:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203164336.37E7910D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 17:43:36 Modified files: cm3/scripts/regression/: cm3.build Log message: revert to non-reporting version From wagner at elego.de Sun Feb 3 18:23:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 3 Feb 2008 18:23:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203172346.3FC7410D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/03 18:23:45 Modified files: cm3/scripts/regression/: tinderbox-build.sh Log message: I forgot to log the actual test output for error parsing by eliminating the scoping problems :-/ This should now be corrected. Also use less white space and indenting to make everything more readable. I'll test this again on birch tonight to make sure it actually works. From wagner at elego.de Mon Feb 4 00:41:33 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 0:41:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080203234133.8395610D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 00:41:33 Modified files: cm3/scripts/regression/: tinderbox-build.sh Log message: Fix it again :-/ The return code of do_{checkout,build,compile} must not be overwritten by the return code of the `tee log' pipe. We could use the -o pipefaile option of bash, but that wouldn't be very portable. It's not Bourne shell as far as I know. So the only option is to save everything to a temporary file and cat it after remembering the return code. I don't like this at all :-( If anybody knows of a better solution, I'd like to hear of it. From jkrell at elego.de Mon Feb 4 02:10:43 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:10:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204011044.2F4E610D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:10:43 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py do-cm3-front.py make-dist.py pylib.py upgrade.py Log message: add sysutils allow for targeting cygwin runtime with integrated/ms tools this should allow using ms debuggers though note that cygwin crt0.o has dependency on ld, maybe fixable, maybe not, cygwin1.dll may or may not have dependency on crt0.o, so this might not work in particular, don't clear the LIB and INCLUDE variables (LIB is the point) which really does strike at what I was saying -- lots of variables, lots of viable combinations mspdb*.dll is called dbi.dll in Visual C++ 2.0 From jkrell at elego.de Mon Feb 4 02:12:24 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:12:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204011224.DB7D110D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:12:24 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common NT386GNU NT386MINGNU Log message: move TARGET to toplevel config file for m3cgcat some allowance for targeting cygwin runtime with integrated/ms tools may or may not work in particular crt0.o has a dependency on ld if it works, should enable using ms debuggers, and more debugging avenues would be greatly appreciated right now while things aren't working.. From jayk123 at hotmail.com Mon Feb 4 02:16:02 2008 From: jayk123 at hotmail.com (Jay) Date: Mon, 4 Feb 2008 01:16:02 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> References: <20080203020627.5FB9210D4658@birch.elegosoft.com> <25B53FF6-7928-4AA2-AF25-5CF732CFB0C7@cs.purdue.edu> Message-ID: There is /something/ here but I don't understand what yet. In particular, the m3/cm3cg code looks right, but the C code works better... And none of the debugger options are particulary good. Time to give up and use printf I guess. And I haven't had luck rebuilding cygwin1.dll from source either darn. :( - Jay From: jayk123 at hotmail.comTo: hosking at cs.purdue.edu; jkrell at elego.deCC: m3commit at elegosoft.comSubject: RE: [M3commit] CVS Update: cm3Date: Sun, 3 Feb 2008 06:56:47 +0000 1) I need to double check that my commit comment is true.2) If it is, I'd strongly prefer static initialization without code, either asis, or by fixing the compiler...Having to run code for constant initialization is just lame..2b) If it isn't, I'll put it back. - Jay > From: hosking at cs.purdue.edu> Date: Sun, 3 Feb 2008 00:01:37 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > I would prefer to do this in pure Modula-3 by calling the initializer > functions explicitly. I'll take a look at it.> > On Feb 3, 2008, at 3:06 AM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/03 03:06:27> >> > Modified files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3> > m3makefile> > Added files:> > cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3> > ThreadPThreadC.c> >> > Log message:> > Cygwin static initializers are not all zeros and Modula-3 static> > initialization happens after at least some of this data is used,> > so move it to C to guarantee actual static initialization.> > This fixes the problem where Cygwin/NT386GNU issues an endless stream> > of assertion failures upon start, at each pthread_mutex_lock call.> > Cygwin/NT386GNU still hangs at startup, since nanosleep is failing,> > and there is an access violation to investigate. Cygwin does> > strange things with the stack..reserving a block at the start for> > their thread locals and getting to it via fs:4.> Connect and share in new ways with Windows Live. Get it now! _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Mon Feb 4 02:39:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:39:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204013956.3859E10D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:39:56 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Log message: oops; base 10 is for people that count on their fingers; base 16 is for programmers and computers From jkrell at elego.de Mon Feb 4 02:53:27 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 2:53:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204015327.481B710D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 02:53:27 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Log message: Put in markers that say "This file was generated..". From jkrell at elego.de Mon Feb 4 03:01:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:01:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020149.0252410D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:01:48 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 Log message: fix NT386MINGNU From jkrell at elego.de Mon Feb 4 03:03:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:03:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020358.4D36410D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:03:58 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common NT386GNU Log message: turn off debugging experiment From jkrell at elego.de Mon Feb 4 03:08:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 3:08:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204020842.8A0D110D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 03:08:42 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: comments From jkrell at elego.de Mon Feb 4 06:40:29 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 6:40:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204054029.B323510D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 06:40:29 Modified files: cm3/m3-libs/sysutils/src/: ConnectRdWr.m3 Log message: temporary fix so it builds on Windows From jkrell at elego.de Mon Feb 4 06:45:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 6:45:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204054529.A4C4F10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 06:45:28 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: ferry along calling convention and remove seemingly gratuitous attributes From jkrell at elego.de Mon Feb 4 07:29:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:29:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204062923.90E1210D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:29:23 Modified files: cm3/scripts/python/: pylib.py Log message: Now that I have deleted my c:\windows\cygwin1.dll and therefore always keep c:\cygwin\bin in %PATH% for cvs.exe, and therefore uname.exe is always in my %PATH%, allow setting CM3_GCC_BACKEND=no to override uname probing so that I can still build regular NT386. From jkrell at elego.de Mon Feb 4 07:42:37 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:42:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204064238.287EA10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:42:37 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: factor out common code, more to do here From jkrell at elego.de Mon Feb 4 07:56:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:56:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204065623.873EF10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:56:23 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: more common code From jkrell at elego.de Mon Feb 4 07:59:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 7:59:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204065910.AD68E10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 07:59:10 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: eliminate unnecessary temporary From jkrell at elego.de Mon Feb 4 08:30:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 8:30:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204073026.1AF6110D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 08:30:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: fix and eliminate another temporary From jkrell at elego.de Mon Feb 4 08:38:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 8:38:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204073811.905AB10D4627@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 08:38:10 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: cleanup, add readonly, move operators to next line, remove keep From jkrell at elego.de Mon Feb 4 09:14:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 9:14:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204081456.A297310D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 09:14:56 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: print a bit more when tracing is enabled From jkrell at elego.de Mon Feb 4 09:19:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 9:19:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204081935.59CAB10D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 09:19:35 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: fix From hosking at elego.de Mon Feb 4 17:19:36 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 17:19:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204161936.BE7B910D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 17:19:36 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Clean up reversal of arguments so that cached types make sense for their decls. From hosking at elego.de Mon Feb 4 17:30:30 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 17:30:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204163033.F288410D4611@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 17:30:30 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Oops, previous was broken. Fix! Use void_list_node as pointer-equal terminator for parameter type list. From wagner at elego.de Mon Feb 4 22:17:59 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 22:17:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204211800.6BA1610D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 22:17:59 Modified files: cm3/scripts/regression/: cm3.build Log message: fix wrong operator and make it better readable From jkrell at elego.de Mon Feb 4 22:22:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 4 Feb 2008 22:22:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204212249.71FB310D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 22:22:48 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: back to more like it was, that seems to work (except for passing structs by value to stdcall functions, which hasn't yet named the function correctly) From hosking at elego.de Mon Feb 4 22:58:20 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 22:58:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204215821.08C2310D4671@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 22:58:20 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Make sure we initialize (and use) void_list_node. From hosking at elego.de Mon Feb 4 23:05:43 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 23:05:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204220543.E507710D4670@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 23:05:42 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Don't use unavailable c-decl functions (build_void_list_node). From wagner at elego.de Mon Feb 4 23:24:18 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 4 Feb 2008 23:24:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204222418.E0DA310D466E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/04 23:24:18 Modified files: cm3/scripts/regression/: cm3.build Log message: fix another [ operator: s/==/=/ (seems to be accepted in Darwin\'s shell :-/) From hosking at elego.de Mon Feb 4 23:26:56 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 4 Feb 2008 23:26:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204222656.6614D10D466E@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/04 23:26:56 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: Build proper non-varargs function types for functions, terminating parameter type list with void_list_node. This may have fixed the broken regression tests for large sets -- for some reason they had been set up as varargs declarations. Olaf, can you see if this does the trick? From wagner at elego.de Sat Feb 9 13:26:52 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 13:26:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209122652.1FC2C10D4669@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 13:26:52 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: TextUtils.i3 cm3/m3-libs/sysutils/src/cm3/: TextUtils.m3 Log message: add quick sort and insertion sort on arrays code burrowed from m3tohtml package by Bill Kalsow, simplified to use ARRAY OF TEXT modified: sysutils/src/TextUtils.i3 modified: sysutils/src/cm3/TextUtils.m3 From wagner at elego.de Sat Feb 9 15:20:14 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 15:20:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209142014.BBB1A10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 15:20:14 Modified files: cm3/m3-tools/m3tohtml/: PkgTags cm3/m3-tools/m3tohtml/src/: HTMLDir.m3 M3MarkUp.m3 Main.m3 MarkUp.m3 Removed files: cm3/m3-tools/m3tohtml/src/: FSUtils.i3 FSUtils.m3 Log message: generate proper package indexes; remove obsolete files removed: m3tohtml/src/FSUtils.i3 removed: m3tohtml/src/FSUtils.m3 modified: m3tohtml/src/HTMLDir.m3 modified: m3tohtml/src/M3MarkUp.m3 modified: m3tohtml/src/Main.m3 modified: m3tohtml/src/MarkUp.m3 From wagner at elego.de Sat Feb 9 17:40:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:40:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209164028.6BC4410D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:40:28 Modified files: cm3/scripts/regression/: defs.sh Log message: add test_m3tohtml From wagner at elego.de Sat Feb 9 17:47:13 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:47:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209164713.D469010D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:47:13 Modified files: cm3/scripts/regression/: defs.sh Log message: FQDN for birch From wagner at elego.de Sat Feb 9 17:51:24 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 17:51:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209165124.9552F10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 17:51:24 Modified files: cm3/scripts/regression/: defs.sh Log message: install all packages in test_m3_all_pkgs From wagner at elego.de Sat Feb 9 18:18:01 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 18:18:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209171801.448AC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 18:18:01 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: TextUtils.i3 cm3/m3-libs/sysutils/src/cm3/: TextUtils.m3 Log message: It seems I have overlooked that the quick sort on arrays is already in libm3, so just use that instead. I keep the export here though for convenience. There are too many sources already in CM3 :-) modified: sysutils/src/TextUtils.i3 modified: sysutils/src/cm3/TextUtils.m3 From wagner at elego.de Sat Feb 9 18:19:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 18:19:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209171938.E923510D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 18:19:38 Modified files: cm3/scripts/regression/: defs.sh Log message: confirm all questions asked by m3tohtml From wagner at elego.de Sat Feb 9 19:46:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 9 Feb 2008 19:46:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080209184616.CA32710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/09 19:46:16 Modified files: cm3/www/: nav-doc.html nav-rsrc.html Log message: add source browser navigation links From jkrell at elego.de Sun Feb 10 03:45:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 3:45:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210024549.91A6B10D4649@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 03:45:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usem.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Usem.m3 Log message: avoid access violating during startup in sem_init, red herring though it may be (we still spin on nanoslep failing..) From jkrell at elego.de Sun Feb 10 05:19:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:19:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210041915.C6B9210D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:19:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Upthread.i3.c Usignal.i3 Usignal.i3.c Log message: generate more content more reliably, though it was already correct, and remove definitions for nonexistant symbols From jkrell at elego.de Sun Feb 10 05:25:03 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:25:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210042505.40F8810D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:25:03 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: and fix SA_SIGINFO (!) From jkrell at elego.de Sun Feb 10 05:33:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:33:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043315.77E2C10D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:33:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: change all numbers to %08x, none of this decimal or 16bit stuff (16bit should still work) remove/ifdef more nonexistant values Linux 1.x isn't relevant, remove comments about it remove some of the tedious column lining up From jkrell at elego.de Sun Feb 10 05:34:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:34:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043426.0714710D4674@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:34:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: fix -- more dead From jkrell at elego.de Sun Feb 10 05:36:18 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:36:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043620.3579810D4675@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:36:18 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: fix, not dead From jkrell at elego.de Sun Feb 10 05:37:04 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:37:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210043704.3788D70D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:37:04 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3.c Log message: make it not optional From jkrell at elego.de Sun Feb 10 05:59:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 5:59:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210045951.6C0A070D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 05:59:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.m3 Log message: fix definition of SIG_HOLD (should generate from C?) From jkrell at elego.de Sun Feb 10 06:01:41 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 10 Feb 2008 6:01:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210050141.E88FD70D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/10 06:01:41 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Log message: use shorter named C types, less type opacity, and remove nonexistant 'restorer' From wagner at elego.de Sun Feb 10 15:11:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 10 Feb 2008 15:11:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210141121.8D20910D466A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/10 15:11:21 Modified files: cm3/www/: index.html Log message: change frame setup again From jkrell at elego.de Mon Feb 11 00:19:16 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 0:19:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210231916.1C3B710D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 00:19:15 Modified files: cm3/scripts/python/: upgrade.py Log message: move sysutils around, I don't remember why but presumably I needed to do this From jkrell at elego.de Mon Feb 11 00:24:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 0:24:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080210232435.A857410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 00:24:35 Modified files: cm3/m3-libs/m3core/src/runtime/: m3makefile cm3/m3-libs/m3core/src/thread/: m3makefile cm3/m3-libs/m3core/src/thread/Common/: m3makefile cm3/m3-libs/m3core/src/thread/POSIX/: m3makefile cm3/m3-libs/m3core/src/thread/PTHREAD/: m3makefile cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Added files: cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 Removed files: cm3/m3-libs/m3core/src/thread/POSIX/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/PTHREAD/: SchedulerPosix.i3 Log message: cheat just a tad and provide SchedulePosix interface on Win32 albeit not a good implementation currently this way NT386GNU can build with Win32 threads and cm3 gets as far as printing an error and exiting, probably something to do with pesky slashes; a lot better than hanging due to nanosleep failing and worrying about a lot of non trivial cygwin code.. From jkrell at elego.de Mon Feb 11 01:20:41 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:20:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002041.5A9DD10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:20:41 Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.c Log message: initial version that is copy of the .i3 file From jkrell at elego.de Mon Feb 11 01:24:13 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:24:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002413.56A1F10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:24:13 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Utypes.i3 Utypes.i3.c Log message: initial version +1 that is working C that outputs the same as the file already was, plus just $Id$ and comment that it is generated From jkrell at elego.de Mon Feb 11 01:28:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:28:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211002844.AD43B10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:28:44 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.cpp Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3.c Log message: switch to C++ for compile type dispatch From jkrell at elego.de Mon Feb 11 01:46:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:46:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211004625.9E80010D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:46:25 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Utypes.i3 Utypes.i3.cpp Log message: fix some types: dev_t : 64 -> 32 off_t : 32 -> 64 n_link_t : 32 -> 16 key_t : 32 -> 64 ino_t : 32 -> 64 remove some nonexistant types: gno_t swblk_t cnt_t some incidental changes because I didn't bother to make the automation capable of preserving things like u_int vs. uint int vs. long (not entirely incidental, they are different types, even if same size) columnization (doable with code) NOTE that long long and unsigned long long are not distinguished here signed numbers are generally wrong anyway in systems programming (how do you index your arrays and size your files and buffers? NOT signed numbers!) In particular, Quake things the cm3.cfg file is zero size and that is probably because Ustat.i3 is wrong, at least partly probably due to Utypes.i3 being wrong, though automating Ustat.i3 production and verification is certainly not a bad idea. All this header duplication bothers me... From jkrell at elego.de Mon Feb 11 01:50:18 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:50:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005018.E103F10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:50:18 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Log message: preserve history, I guess From jkrell at elego.de Mon Feb 11 01:51:23 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:51:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005124.002D010D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:51:23 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Log message: fix warning From jkrell at elego.de Mon Feb 11 01:53:12 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 1:53:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211005312.25E9710D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 01:53:12 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3.c Usignal.i3.c Utypes.i3.cpp Log message: remove double $Id$ From jkrell at elego.de Mon Feb 11 06:38:25 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 6:38:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211053825.3EABE10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 06:38:25 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 cm3/m3-libs/m3core/src/unix/cygwin/: Upthread.i3 Ushm.i3 Usignal.i3 Utypes.i3 Utypes.i3.cpp Utypes.m3 Log message: more cygwin header cleanup, various dead types were used in further dead types in Ushm.i3; go ahead and delete dead stuff instead of commenting out remove seemingly unnecessary VAL() that fails to compile From jkrell at elego.de Mon Feb 11 08:36:33 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 8:36:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211073634.5AB2210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 08:36:33 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: remove a lot of stuff not needed to build the "base" system, less stuff to check and correct, can always add back From jkrell at elego.de Mon Feb 11 09:27:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:27:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211082758.D3EB810D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:27:58 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Ugrp.i3 Uipc.i3 Umsg.i3 Umsg.m3 Upaths.i3 Upthread.i3 Upthread.i3.c Upwd.i3 Usched.i3 Usem.i3 Usem.m3 Ushm.i3 Usyslog.i3 Utermio.i3 Utypes.i3 Uutmp.i3 m3makefile Log message: empty out unused interfaces, which are likely full of incorrect or non-working stuff From jkrell at elego.de Mon Feb 11 09:49:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:49:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211084929.477BC10D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:49:28 Added files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: initial unchanged fork from TimeWin32.m3 The point here, which will be clear soon, is that NT386GNU can/should/needs to be a hybrid. To a large extent, Posix and Win32 functionality can both be in m3core/libm3 as long as they aren't behind a common interface, but instead specific interfaces. In particular, serialio is probably best provided by the Win32 implementation. That then depends on a small amount of Win32 functionality that normally isn't in "Posix" m3core/libm3, but which easily can be added, using the existing Win32 implementations. From jkrell at elego.de Mon Feb 11 09:56:15 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 9:56:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211085615.8674610D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 09:56:15 Modified files: cm3/m3-libs/m3core/src/time/: m3makefile cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 TimeWin32.m3 m3makefile Log message: split up TimeWin32.m3 two interfaces Time and TimeWin32 into two implementations Time and TimeWin32, so that NT386GNU can have a Posix implementation of Time but also expose TimeWin32. This shall be used indirectly by Win32 serialio in NT386GNU shortly. (NT386GNU serialio is currently broken, fixed shortly.) From jkrell at elego.de Mon Feb 11 10:13:41 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:13:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211091341.D290C10D4527@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:13:41 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 cm3/m3-libs/m3core/src/win32/: WinBase.i3 Log message: at the expense of NT 3.1 compatibility use GetSystemTimeAsFileTime instead of GetSystemTime + SystemTimeToFileTime From jkrell at elego.de Mon Feb 11 10:24:00 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:24:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211092401.1068410D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:24:00 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: no need for globals here.. From jkrell at elego.de Mon Feb 11 10:40:29 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:40:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094030.6104810D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:40:29 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: FSWin32.m3 Log message: remove outdated looking comment about a bug From jkrell at elego.de Mon Feb 11 10:42:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:42:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094235.86C5610D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:42:35 Modified files: cm3/m3-libs/libm3/src/os/: m3makefile cm3/m3-libs/libm3/src/os/WIN32/: OSErrorWin32.m3 m3makefile Added files: cm3/m3-libs/libm3/src/os/WIN32/: OSError.m3 Log message: provide OSErrorWin32 and FileWin32 so that NT386GNU serial port can be the Win32 implementation From jkrell at elego.de Mon Feb 11 10:43:18 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:43:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094318.39AE410D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:43:18 Modified files: cm3/m3-comm/serial/src/: m3makefile Log message: use the Win32 implementation even on NT386GNU some m3core/libm3 changes required to support this From jkrell at elego.de Mon Feb 11 10:49:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:49:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211094937.4E39710D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:49:35 Added files: cm3/scripts/python/: do-cm3-all.py Log message: meant to add this a whil ago From jkrell at elego.de Mon Feb 11 10:55:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 10:55:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211095549.04B5410D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 10:55:48 Removed files: cm3/m3-libs/libm3/src/os/WIN32/: OSError.m3 Log message: oops, that isn't needed (OSError is all interface, no implementation) From jkrell at elego.de Mon Feb 11 11:43:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 11:43:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211104358.C4F4D10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 11:43:58 Modified files: cm3/m3-db/odbc/src/: m3makefile Log message: NT386GNU is Win32 here. From jkrell at elego.de Mon Feb 11 11:50:13 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 11:50:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211105015.E527710D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 11:50:13 Modified files: cm3/m3-db/db/src/odbc/: ODBCDB.m3 Log message: fix warnings about unused From jkrell at elego.de Mon Feb 11 12:09:20 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:09:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211110920.EE95710D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:09:20 Modified files: cm3/m3-libs/sysutils/src/WIN32/: FSysWin32.m3 SystemWin32.m3 Log message: fix warnings From jkrell at elego.de Mon Feb 11 12:12:56 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:12:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211111256.22C8E10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:12:56 Modified files: cm3/m3-ui/ui/src/winvbt/: WinScreenType.m3 Log message: fix warning about unused import (the use is commented out..would be nice to be able to move the import to near the code so they can be commented out together..) From jkrell at elego.de Mon Feb 11 12:18:34 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:18:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211111834.79E4110D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:18:34 Modified files: cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 Log message: add ptrdiff_t and size_t add apparently missing import in code that hasn't built in a long time (and still hasn't been) From jkrell at elego.de Mon Feb 11 12:26:22 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:26:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112622.9AFF610D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:26:22 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: go back a version From jkrell at elego.de Mon Feb 11 12:27:42 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:27:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112743.0B07810D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:27:42 Modified files: cm3/m3-libs/m3core/src/time/WIN32/: Time.m3 Log message: remove globals with less change to the code (thanks Dragisa) From jkrell at elego.de Mon Feb 11 12:29:22 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:29:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211112922.E2CC810D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:29:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more Cygwin header repair From jkrell at elego.de Mon Feb 11 12:38:04 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 12:38:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211113804.4767510D43BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 12:38:04 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: oops, fix ftruncate From jkrell at elego.de Mon Feb 11 13:13:45 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:13:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121346.7022A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:13:45 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: begin Cygwin/X support From jkrell at elego.de Mon Feb 11 13:17:33 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:17:33 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121733.06A2810D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:17:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upwd.i3 Log message: go back a version, Trestle uses this From jkrell at elego.de Mon Feb 11 13:18:57 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:18:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121857.1731D10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:18:57 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Upwd.i3 Log message: small repair, remove undefined type From jkrell at elego.de Mon Feb 11 13:19:32 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211121932.0C55B10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:19:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Log message: oops From jkrell at elego.de Mon Feb 11 13:23:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:23:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122328.A9DE010D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:23:28 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: I don't understand this but it helps; oh well. From jkrell at elego.de Mon Feb 11 13:24:47 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:24:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122447.102D810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:24:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uutmp.i3 Log message: go back a version; Trestle uses this From jkrell at elego.de Mon Feb 11 13:26:34 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 13:26:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211122634.5BACB10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 13:26:34 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: m3makefile Uutmp.i3 Log message: massively reduce to just what Trestle uses From jkrell at elego.de Mon Feb 11 14:22:48 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 14:22:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211132249.16DD810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 14:22:48 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: switch to the X Windows variant of OpenGL, now anim3d builds for example From jkrell at elego.de Mon Feb 11 15:27:30 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 11 Feb 2008 15:27:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211142730.E6B3A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/11 15:27:30 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.m3 Log message: make setitimer(ITIMER_VIRTUAL) always succeed, even though Cygwin would always fail it (not so accurate a Unix emulation eh?) From hosking at cs.purdue.edu Mon Feb 11 17:38:12 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Mon, 11 Feb 2008 11:38:12 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080211111834.79E4110D4686@birch.elegosoft.com> References: <20080211111834.79E4110D4686@birch.elegosoft.com> Message-ID: <00528FCF-A83B-44CE-A768-0F6985B35EE7@cs.purdue.edu> size_t is in Utypes.i3. Why do you duplicate it? BasicCtypes should not be used for things that different OSs tend to typedef in header files -- they belong in Utypes.i3, not in BasicCtypes. On Feb 11, 2008, at 12:18 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/11 12:18:34 > > Modified files: > cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 > cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 > cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 > > Log message: > add ptrdiff_t and size_t > add apparently missing import in code that hasn't built in a long > time > (and still hasn't been) From hosking at elego.de Mon Feb 11 22:20:09 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:20:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212009.7C63210D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:20:09 Modified files: cm3/m3-libs/m3core/src/C/32BITS/: BasicCtypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Mon Feb 11 22:21:03 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:21:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212103.74F7910D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:21:03 Modified files: cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Mon Feb 11 22:22:54 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 11 Feb 2008 22:22:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080211212254.7EB3910D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/11 22:22:54 Modified files: cm3/m3-libs/m3core/src/C/Common/: Ctypes.i3 Log message: ptrdiff_t and size_t don't belong here. From hosking at elego.de Tue Feb 12 04:39:16 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 4:39:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212033916.7125010D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 04:39:16 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Drop use of Scheduler.Yield in slow-path allocation. From hosking at elego.de Tue Feb 12 04:54:43 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 4:54:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212035443.94B8A10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 04:54:43 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: Fix longstanding race in InitMutex and InitCondition. This remedies problem with m3tests/src/p0/p007 as reported on FreeBSD4, and fixes a reported error on Solaris as well. FreeBSD4 pthread-based threading now should be functionally equivalent to other pthread platforms (I386_DARWIN, PPC_DARWIN, SOLgnu, SOLsun, LINUXLIBC6). Fold thread mutex into the thread object itself to avoid an extra allocation. Thread.T now inherits from MUTEX. Rework Thread.Wait/AlertWait to wait using mutex argument instead of condition mutex -- this is sensible and avoids unnecessary additional Acquire/Release. Condition mutex is still used to protect the condition thread queue as necessary. Fix debug output of state change information. Don't print Stopped/Started from SignalHandler since this breaks async-safety of signal handler code. From hosking at elego.de Tue Feb 12 05:16:30 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:16:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212041630.7332D10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:16:30 Modified files: cm3/m3-libs/m3core/src/C/64BITS/: BasicCtypes.i3 Log message: We did need the IMPORT. From hosking at elego.de Tue Feb 12 05:20:47 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:20:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212042047.A12E210D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:20:47 Modified files: cm3/m3-sys/cm3/src/: m3makefile Log message: Let's avoid RCS id stuff shall we. Just clutters up the files... From hosking at elego.de Tue Feb 12 05:32:41 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 5:32:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212043242.37D6510D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 05:32:41 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 Log message: This checkin fixes something Jay left behind. Please check things build on platforms other than yours before making changes. The VAL is necessary on some targets because 0 is INTEGER whereas result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly compared with an INTEGER (result). The VAL is how we do the conversion to LONGINT. On platforms where Utypes.off_t is INTEGER this code will work the same as it is. From hosking at elego.de Tue Feb 12 06:20:18 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 6:20:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212052018.745FE10D4683@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 06:20:18 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Unused import Scheduler. From jayk123 at hotmail.com Tue Feb 12 07:18:01 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 06:18:01 +0000 Subject: [M3commit] $Id$ ? In-Reply-To: <20080212042047.A12E210D4686@birch.elegosoft.com> References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: I added some files a while ago and someone either complained or added them, so I've been adding them since. - Jay > Date: Tue, 12 Feb 2008 05:20:47 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:20:47> > Modified files:> cm3/m3-sys/cm3/src/: m3makefile > > Log message:> Let's avoid RCS id stuff shall we. Just clutters up the files...> _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Tue Feb 12 07:22:28 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 06:22:28 +0000 Subject: [M3commit] val? In-Reply-To: <20080212043242.37D6510D4686@birch.elegosoft.com> References: <20080212043242.37D6510D4686@birch.elegosoft.com> Message-ID: Sorry, I hadn't gotten around to testing this on other platforms. I do have PPC_DARWIN and PPC_LINUX available. There is/was a compilation problem with what I was doing. I"ll look into it more later. - Jay > Date: Tue, 12 Feb 2008 05:32:41 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:32:41> > Modified files:> cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 > > Log message:> This checkin fixes something Jay left behind.> > Please check things build on platforms other than yours before making> changes. The VAL is necessary on some targets because 0 is INTEGER whereas> result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly> compared with an INTEGER (result). The VAL is how we do the conversion to> LONGINT.> > On platforms where Utypes.off_t is INTEGER this code will work the same as it> is.> _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Tue Feb 12 13:32:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:32:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212123258.6E8C310D4687@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:32:58 Modified files: cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile cm3/m3-libs/m3core/src/C/NT386/: m3makefile cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile Added files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c Removed files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 Log message: a more complete fairly portable Cstdio.i3, only for NT386 for now (This highlights well where target-preprocessing would be useful, the majority of Cstdio.i3 is completely portable, except possibly for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.) From jkrell at elego.de Tue Feb 12 13:45:06 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:45:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212124509.4A5EC10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:45:06 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more repair From jkrell at elego.de Tue Feb 12 13:56:50 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 13:56:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212125650.7DE8D10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 13:56:50 Added files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 Log message: a fair amount of "unix i/o" is directly provided by msvcr*.dll and should perhaps be exposed /somewhere/. Here is a start, of sorts. From jkrell at elego.de Tue Feb 12 14:05:18 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:05:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212130518.F0C7B10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:05:18 Modified files: cm3/m3-libs/m3core/src/C/Common/: CstdioC.c Log message: fix (NT386 only) From jkrell at elego.de Tue Feb 12 14:19:32 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:19:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212131932.3278E10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:19:32 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uuio.i3 Log message: more cygwin interface reduction, in place of bothering to verify and repair From jkrell at elego.de Tue Feb 12 14:21:27 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:21:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132127.802D410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:21:27 Modified files: cm3/m3-libs/m3core/src/C/Common/: CstdioC.c Log message: reformat From jkrell at elego.de Tue Feb 12 14:22:14 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:22:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132214.928FD10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:22:14 Modified files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Log message: fix the extern names generally From jkrell at elego.de Tue Feb 12 14:24:01 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:24:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132401.EA73D10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:24:01 Modified files: cm3/m3-libs/m3core/src/: m3makefile cm3/m3-libs/m3core/src/unix/: m3makefile Log message: start exposing some of the Unixy stuff that is provided by msvcr*.dll From jkrell at elego.de Tue Feb 12 14:25:04 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:25:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132504.56EF010D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:25:04 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Log message: shrink From jkrell at elego.de Tue Feb 12 14:28:24 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:28:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132824.4CA9710D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:28:24 Modified files: cm3/m3-libs/m3core/src/unix/: m3makefile Added files: cm3/m3-libs/m3core/src/unix/WIN32/: Unix.i3 Uuio.i3 m3makefile Log message: obviously this is /slightly/ better From jkrell at elego.de Tue Feb 12 14:29:46 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:29:46 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212132946.96CE110D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:29:46 Modified files: cm3/m3-libs/m3core/src/unix/WIN32/: Uuio.i3 Log message: fix the extern names to have leading underscores (or double leading underscores if you look closely..) From jkrell at elego.de Tue Feb 12 14:30:48 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:30:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212133051.C18A410D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:30:48 Modified files: cm3/m3-libs/m3core/src/unix/WIN32/: Unix.i3 Log message: remove dead line From jkrell at elego.de Tue Feb 12 14:34:00 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 14:34:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212133400.958B510D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 14:34:00 Removed files: cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 Log message: forgot to delete here From jkrell at elego.de Tue Feb 12 17:56:55 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 17:56:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212165655.5B93610D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 17:56:55 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 m3makefile Added files: cm3/m3-libs/m3core/src/unix/cygwin/: UtimeC.c Log message: Don't access fields at the end of struct tm that are not there! (switch from DateBsd to DateLinux) workaround data imports by copying the data after initializing it a little more header reduction since the headers are so error prone esp. remove nanosleep which I spent quite some time debugging before giving up on pthreads.. From hosking at elego.de Tue Feb 12 18:30:54 2008 From: hosking at elego.de (Antony Hosking) Date: Tue, 12 Feb 2008 18:30:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212173054.181BF10D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/12 18:30:54 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 Log message: Remove ^M. From jayk123 at hotmail.com Tue Feb 12 18:33:01 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 12 Feb 2008 17:33:01 +0000 Subject: [M3commit] val? In-Reply-To: <20080212043242.37D6510D4686@birch.elegosoft.com> References: <20080212043242.37D6510D4686@birch.elegosoft.com> Message-ID: This was to "fix" building NT386GNU because lseek was returning int or long instead of off_t. My mistake by changing the wrong side of things. The return type is fixed and NT386GNU is ok with the "VAL". - Jay From: jayk123 at hotmail.comTo: hosking at elego.de; m3commit at elegosoft.com; m3devel at elegosoft.comSubject: val?Date: Tue, 12 Feb 2008 06:22:28 +0000 Sorry, I hadn't gotten around to testing this on other platforms. I do have PPC_DARWIN and PPC_LINUX available.There is/was a compilation problem with what I was doing.I"ll look into it more later. - Jay > Date: Tue, 12 Feb 2008 05:32:41 +0000> To: m3commit at elegosoft.com> From: hosking at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: hosking at birch. 08/02/12 05:32:41> > Modified files:> cm3/m3-libs/libm3/src/os/POSIX/: FilePosix.m3 > > Log message:> This checkin fixes something Jay left behind.> > Please check things build on platforms other than yours before making> changes. The VAL is necessary on some targets because 0 is INTEGER whereas> result is Utypes.off_t (LONGINT on I386_DARWIN) and cannot be directly> compared with an INTEGER (result). The VAL is how we do the conversion to> LONGINT.> > On platforms where Utypes.off_t is INTEGER this code will work the same as it> is.> Connect and share in new ways with Windows Live. Get it now! _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From hosking at cs.purdue.edu Tue Feb 12 18:43:53 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:43:53 -0500 Subject: [M3commit] $Id$ ? In-Reply-To: References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: The log tells the story much better than random comments in the code. On Feb 12, 2008, at 1:18 AM, Jay wrote: > I added some files a while ago and someone either complained or > added them, so I've been adding them since. > > - Jay > > > > Date: Tue, 12 Feb 2008 05:20:47 +0000 > > To: m3commit at elegosoft.com > > From: hosking at elego.de > > Subject: [M3commit] CVS Update: cm3 > > > > CVSROOT: /usr/cvs > > Changes by: hosking at birch. 08/02/12 05:20:47 > > > > Modified files: > > cm3/m3-sys/cm3/src/: m3makefile > > > > Log message: > > Let's avoid RCS id stuff shall we. Just clutters up the files... > > > > > Shed those extra pounds with MSN and The Biggest Loser! Learn more. From hosking at cs.purdue.edu Tue Feb 12 18:49:21 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:49:21 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212123258.6E8C310D4687@birch.elegosoft.com> References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: There are inherently *BAD* *BAD* things about target preprocessing. The baddest thing is that preprocessing is defined separately from the language, so any tools that you use to process source files (including IDEs) have to smarten up to understand the preprocessors. In another project I am involved in it took a year or so to *remove* preprocessing crap from the sources so that the project could be developed and built using Eclipse. I would hate to see M3 go the way of C in this regard. There are more principled ways of doing language-defined (syntactic/ checkable/tool-usable) MACROS but in my opinion those approaches will add unnecessary complexity and clutter to what is currently a very clean Modula-3 language specification. I STRONGLY oppose any notion of "preprocessing" for Modula-3. On Feb 12, 2008, at 1:32 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 13:32:58 > > Modified files: > cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile > cm3/m3-libs/m3core/src/C/NT386/: m3makefile > cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile > Added files: > cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c > Removed files: > cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 > cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 > > Log message: > a more complete fairly portable Cstdio.i3, only for NT386 for now > (This highlights well where target-preprocessing would be useful, > the majority of Cstdio.i3 is completely portable, except possibly > for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.) From hosking at cs.purdue.edu Tue Feb 12 18:54:15 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 12:54:15 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212130518.F0C7B10D4659@birch.elegosoft.com> References: <20080212130518.F0C7B10D4659@birch.elegosoft.com> Message-ID: Jay, I *really* dislike the idea that you are putting target-specific code in a subdirectory labeled Common! If I want to search for target-specific stuff I grep for directories labeled by that target. Please, please, please think about the global picture before making these sorts of local changes! Please back this change out and put this where it belongs in cm3/m3- libs/m3core/src/C/NT386. I am happy to do it for you but I have other things to do with my time! On Feb 12, 2008, at 2:05 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 14:05:18 > > Modified files: > cm3/m3-libs/m3core/src/C/Common/: CstdioC.c > > Log message: > fix (NT386 only) From hosking at cs.purdue.edu Tue Feb 12 19:00:39 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Tue, 12 Feb 2008 13:00:39 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212125650.7DE8D10D4659@birch.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> Message-ID: <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> The C stuff is not intended to expose a full C API to Modula-3 programmers. It is there mostly for bridging to C-based libraries, particularly platform-specific functionality for platforms that are implemented in C. Some of that bridging is done in the OS-specific unix subdirectories and some in the C subdirectories. Choosing where to put that bridge code is a matter of style I guess, but it should probably be a matter of consensus among the developers of CM3. So, do folks out there have any opinions on how to best structure these bridging portions of m3core? I would argue for the minimum needed to support core M3 functionality. Jay seems to want to throw everything including the kitchen sink into the core libraries. I would argue that doing so makes the job of maintaining and porting Modula-3 a little more onerous. On Feb 12, 2008, at 1:56 PM, Jay Krell wrote: > CVSROOT: /usr/cvs > Changes by: jkrell at birch. 08/02/12 13:56:50 > > Added files: > cm3/m3-libs/m3core/src/unix/NT386/: Unix.i3 Uuio.i3 > > Log message: > a fair amount of "unix i/o" is directly provided by msvcr*.dll and > should perhaps be exposed /somewhere/. Here is a start, of sorts. From wagner at elegosoft.com Tue Feb 12 22:59:42 2008 From: wagner at elegosoft.com (Olaf Wagner) Date: Tue, 12 Feb 2008 22:59:42 +0100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> Message-ID: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Quoting Tony Hosking : > The C stuff is not intended to expose a full C API to Modula-3 > programmers. It is there mostly for bridging to C-based libraries, > particularly platform-specific functionality for platforms that are > implemented in C. Some of that bridging is done in the OS-specific > unix subdirectories and some in the C subdirectories. Choosing where > to put that bridge code is a matter of style I guess, but it should > probably be a matter of consensus among the developers of CM3. > > So, do folks out there have any opinions on how to best structure these > bridging portions of m3core? I would argue for the minimum needed to > support core M3 functionality. Jay seems to want to throw everything > including the kitchen sink into the core libraries. I would argue that > doing so makes the job of maintaining and porting Modula-3 a little > more onerous. I'm not sure that you are describing exactly was Jays intention was, but as a general rule we should of course try to keep dependencies on other languages or systems as few as possible in order to keep portability and maintainability. That said, I always found that there are rather a lot of things that are system dependent and need to be imported via a system- specific interface. One idea to improve this situation was to provide some generic POSIX interface layer which indeed does some of the mappings and adaptations in C. This could be just enough to get a base system up and running. I'm not sure how popular this idea would be within the CM3 community, and it would be some tedious work and need some refactoring of the code. It would make porting to new POSIX platforms much easier of course. It would not help much on Windows platforms of course :-/ Generally I'm not against refactoring and replacing code, but we should have a good concept and reason to do it before we start. Olaf -- Olaf Wagner -- elego Software Solutions GmbH Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From jkrell at elego.de Tue Feb 12 23:11:43 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 12 Feb 2008 23:11:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080212221143.D5B6810D4636@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/12 23:11:43 Modified files: cm3/m3-libs/m3core/src/C/Common/: m3makefile cm3/m3-libs/m3core/src/C/NT386/: m3makefile cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile Added files: cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3 CstdioC.c cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3 CstdioC.c Removed files: cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c Log message: move mostly portable code to target specific directories From jayk123 at hotmail.com Wed Feb 13 11:38:17 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:38:17 +0000 Subject: [M3commit] [M3devel] CVS Update: cm3 In-Reply-To: References: <20080212130518.F0C7B10D4659@birch.elegosoft.com> Message-ID: done hours ago, not sure I saw the commitI still find a bit unsatisfactory.. but I guess that's plenty good. :) - Jay > From: hosking at cs.purdue.edu> Date: Tue, 12 Feb 2008 12:54:15 -0500> To: jkrell at elego.de> CC: m3devel at elegosoft.com; m3commit at elegosoft.com> Subject: Re: [M3devel] [M3commit] CVS Update: cm3> > Jay, I *really* dislike the idea that you are putting target-specific > code in a subdirectory labeled Common!> > If I want to search for target-specific stuff I grep for directories > labeled by that target.> > Please, please, please think about the global picture before making > these sorts of local changes!> > Please back this change out and put this where it belongs in cm3/m3- > libs/m3core/src/C/NT386. I am happy to do it for you but I have > other things to do with my time!> > On Feb 12, 2008, at 2:05 PM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/12 14:05:18> >> > Modified files:> > cm3/m3-libs/m3core/src/C/Common/: CstdioC.c> >> > Log message:> > fix (NT386 only)> _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 11:51:43 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:51:43 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: Really I'm aware of most/all of these issues and some of it, sorry, I forgot. I forgot that one of Modula-3's (few) strengths, it was ahead of its time, and now everything else except C and C++ have caught up (e.g. Java, C#), is that it easy to parse and easy to build other tools that parse it, instead of the compiler being the only tool by far that understands the language, and be incapable of providing everyone's feature, so you are left with a shortage of functionality, esp. that full works (class browsers and such). I do rather think the situation is already slightly broken in this regard though. That is, there are already generated source files. So either every tool has to know quake (not), or there has to be a place to go to get "the Modula-3 source" and "the Modula-3 source before running quake". I rather suspect this is the package store...except dependency on shipping probably very not good. Perhaps perhaps it is a very simple minimal search algorithm -- look in BUILD_DIR first? Perhaps such tools tend to be able to ignore what they can't find or understand?? And, if I /really/ wanted this feature (not), I would suggest (rather than merely mention :) ) the idea that whenever there was "target preprocessing", the compiler would be obligated to output a "preprocessed" file into BUILD_DIR. (This reminds, Metrowerks IDEs have a feature, right click on a file and select "preprocess". It is sorely missing in Visual Studio..it'd also be nice to have a batch mode -- build everything and while you are it, save preprocessed versions of everything, maybe in a compressed tokenized form viewable in the IDE unless I ask for plain text for plain tools) I didn't realize the subtley of pragmas limited affect, though I think it's still debatable. I think it'd be reasonable for other language tools to be confused about the nonexistance of implementations of <*extern*> functions. - Jay > From: hosking at cs.purdue.edu> Date: Tue, 12 Feb 2008 12:49:21 -0500> To: jkrell at elego.de> CC: m3commit at elegosoft.com> Subject: Re: [M3commit] CVS Update: cm3> > There are inherently *BAD* *BAD* things about target preprocessing. > The baddest thing is that preprocessing is defined separately from > the language, so any tools that you use to process source files > (including IDEs) have to smarten up to understand the preprocessors. > In another project I am involved in it took a year or so to *remove* > preprocessing crap from the sources so that the project could be > developed and built using Eclipse.> > I would hate to see M3 go the way of C in this regard.> > There are more principled ways of doing language-defined (syntactic/ > checkable/tool-usable) MACROS but in my opinion those approaches will > add unnecessary complexity and clutter to what is currently a very > clean Modula-3 language specification. I STRONGLY oppose any notion > of "preprocessing" for Modula-3.> > On Feb 12, 2008, at 1:32 PM, Jay Krell wrote:> > > CVSROOT: /usr/cvs> > Changes by: jkrell at birch. 08/02/12 13:32:58> >> > Modified files:> > cm3/m3-libs/m3core/src/C/Common/: Cstddef.i3 m3makefile> > cm3/m3-libs/m3core/src/C/NT386/: m3makefile> > cm3/m3-libs/m3core/src/C/NT386GNU/: m3makefile> > Added files:> > cm3/m3-libs/m3core/src/C/Common/: Cstdio.i3 CstdioC.c> > Removed files:> > cm3/m3-libs/m3core/src/C/NT386/: Cstdio.i3> > cm3/m3-libs/m3core/src/C/NT386GNU/: Cstdio.i3> >> > Log message:> > a more complete fairly portable Cstdio.i3, only for NT386 for now> > (This highlights well where target-preprocessing would be useful,> > the majority of Cstdio.i3 is completely portable, except possibly> > for fpos_t, SEEK_SET/CUR/END, and fdopen/fileno, etc.)> _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 11:53:03 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 10:53:03 +0000 Subject: [M3commit] $Id$ ? In-Reply-To: References: <20080212042047.A12E210D4686@birch.elegosoft.com> Message-ID: I don't disagree much or care much. But I like seeing my name in lights. :) - Jay > CC: hosking at elego.de; m3commit at elegosoft.com; m3devel at elegosoft.com> From: hosking at cs.purdue.edu> Subject: Re: $Id$ ?> Date: Tue, 12 Feb 2008 12:43:53 -0500> To: jayk123 at hotmail.com> > The log tells the story much better than random comments in the code.> > On Feb 12, 2008, at 1:18 AM, Jay wrote:> > > I added some files a while ago and someone either complained or > > added them, so I've been adding them since.> >> > - Jay> >> >> > > Date: Tue, 12 Feb 2008 05:20:47 +0000> > > To: m3commit at elegosoft.com> > > From: hosking at elego.de> > > Subject: [M3commit] CVS Update: cm3> > >> > > CVSROOT: /usr/cvs> > > Changes by: hosking at birch. 08/02/12 05:20:47> > >> > > Modified files:> > > cm3/m3-sys/cm3/src/: m3makefile> > >> > > Log message:> > > Let's avoid RCS id stuff shall we. Just clutters up the files...> > >> >> >> > Shed those extra pounds with MSN and The Biggest Loser! Learn more.> _________________________________________________________________ Need to know the score, the latest news, or you need your Hotmail?-get your "fix". http://www.msnmobilefix.com/Default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:06:19 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:06:19 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: References: <20080212123258.6E8C310D4687@birch.elegosoft.com> Message-ID: >> there has to be a place to go to get "the Modula-3 source" and "the Modula-3 source before running quake". And NOT "before running quake" I meant..sorry... _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:26:42 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:26:42 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Message-ID: Yes. I believe this is what I meant by "wrapping C in C". And my suggestion (since superceded) to wrap Utime global data with functions. For example my "get" functions for stdout/in/err. For example you would one stat struct, with just the fields anyone needs, with 64 bit sizes, with a unified time format (probably 64 bit seconds since Jan 1 1970). And then one C implementation, that #includes the native headers, and copies stuff over fairly portability, given the varying headers in scope. Or like how errno is. This is where more C code provides for more portability, since you are interfacing with code that is written in C (usually) and for which the "native" "interface language" is C headers. > It would not help much on Windows platforms of course :-/ I have to again ask what is "Posix" and point out that "Windows" provides more than maybe people realize. There is open/read/write/lseek/close, very much like you are used to. Even pipe and fdopen. Even stat I think. You'd want to use lseeki64 though and co. Forward slashes work just fine in kernel32 functions (though aren't returned from GetFullPathName). And, if you only have one drive on your system, heck, just use path /foo/bar.m3 and it works. File.open dialogs unfortunately don't follow suit, very annoying to me. But there isn't native pthreads or native X Windows, or native select/poll, gettimeofday, granted. Some of this is doable with thin layering, sometimes thick. The Cygwin code is very complicated here. Vista adds "condition variables" and the "once" thingy and that probably would help a lot. The "native" time format is something like 100s of nanoseconds since jan 1 1601 in a 64 bit number of unclear signedness. There are a bunch of C runtime functions for dealing with 32 bit or 64 bit seconds since Jan 1 1970 though. (32 bit time_t..big problem...) opendir/readdir/closedir is pretty easy to implement upon FindFirstFile/FindNextFile, I've implemented them multiple times.. I'm not sure how much the network/socket apis are similar, I've never used them. mmap and CreateFile/CreateFileMapping/MapViewOfFile I suspect are a thin mapping layer apart. Hardlinks work fine on NTFS. Symlinks for directories, essentially, were introduced in Windows 2000 (again, NTFS). Symlinks for files and directories were introduced in Vista. They seem like a huge can of worms though. As do hard links. I see circularities.. File system ACLs and attributes (read only, hidden, executable), definitely variation there. I do think these systems are more similar than people acknowledge though. e.g. the usermode/kernelmode split. All "operating systems" except the lowest end (Mac/MS-DOS/Win3.1/Win9x) have been about the same design since about 1970... - Jay > Date: Tue, 12 Feb 2008 22:59:42 +0100> From: wagner at elegosoft.com> > I'm not sure that you are describing exactly was Jays intention was,> but as a general rule we should of course try to keep dependencies> on other languages or systems as few as possible in order to keep> portability and maintainability.> > That said, I always found that there are rather a lot of things> that are system dependent and need to be imported via a system-> specific interface. One idea to improve this situation was to> provide some generic POSIX interface layer which indeed does> some of the mappings and adaptations in C. This could be just enough> to get a base system up and running. I'm not sure how popular this> idea would be within the CM3 community, and it would be some tedious> work and need some refactoring of the code. It would make porting to> new POSIX platforms much easier of course.> > It would not help much on Windows platforms of course :-/> > Generally I'm not against refactoring and replacing code, but we> should have a good concept and reason to do it before we start.> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> _________________________________________________________________ Helping your favorite cause is as easy as instant messaging.?You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Feb 13 12:27:24 2008 From: jayk123 at hotmail.com (Jay) Date: Wed, 13 Feb 2008 11:27:24 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> References: <20080212125650.7DE8D10D4659@birch.elegosoft.com> <3BDD1B0E-CD23-43D1-9BC0-7B36FE6024AF@cs.purdue.edu> <20080212225942.hbtfuwwlm8s8sw0k@mail.elegosoft.com> Message-ID: (ps: except it stinks for cross building more fully; need those native C headers around....) From: jayk123 at hotmail.comTo: wagner at elegosoft.com; m3commit at elegosoft.comSubject: RE: [M3commit] CVS Update: cm3Date: Wed, 13 Feb 2008 11:26:42 +0000 Yes. I believe this is what I meant by "wrapping C in C". And my suggestion (since superceded) to wrap Utime global data with functions. For example my "get" functions for stdout/in/err. For example you would one stat struct, with just the fields anyone needs, with 64 bit sizes, with a unified time format (probably 64 bit seconds since Jan 1 1970).And then one C implementation, that #includes the native headers, and copies stuff over fairly portability, given the varying headers in scope. Or like how errno is. This is where more C code provides for more portability, since you are interfacing with code that is written in C (usually) and for which the "native" "interface language" is C headers. > It would not help much on Windows platforms of course :-/I have to again ask what is "Posix" and point out that "Windows" provides more than maybe people realize. There is open/read/write/lseek/close, very much like you are used to.Even pipe and fdopen. Even stat I think.You'd want to use lseeki64 though and co. Forward slashes work just fine in kernel32 functions (though aren't returned from GetFullPathName). And, if you only have one drive on your system, heck, just use path /foo/bar.m3 and it works. File.open dialogs unfortunately don't follow suit, very annoying to me. But there isn't native pthreads or native X Windows, or native select/poll, gettimeofday, granted. Some of this is doable with thin layering, sometimes thick.The Cygwin code is very complicated here.Vista adds "condition variables" and the "once" thingy and that probably would help a lot. The "native" time format is something like 100s of nanoseconds since jan 1 1601 in a 64 bit number of unclear signedness. There are a bunch of C runtime functions for dealing with 32 bit or 64 bit seconds since Jan 1 1970 though.(32 bit time_t..big problem...) opendir/readdir/closedir is pretty easy to implement upon FindFirstFile/FindNextFile, I've implemented them multiple times.. I'm not sure how much the network/socket apis are similar, I've never used them. mmap and CreateFile/CreateFileMapping/MapViewOfFile I suspect are a thin mapping layer apart. Hardlinks work fine on NTFS.Symlinks for directories, essentially, were introduced in Windows 2000 (again, NTFS).Symlinks for files and directories were introduced in Vista. They seem like a huge can of worms though. As do hard links.I see circularities.. File system ACLs and attributes (read only, hidden, executable), definitely variation there. I do think these systems are more similar than people acknowledge though.e.g. the usermode/kernelmode split. All "operating systems" except the lowest end (Mac/MS-DOS/Win3.1/Win9x) have been about the same design since about 1970... - Jay > Date: Tue, 12 Feb 2008 22:59:42 +0100> From: wagner at elegosoft.com> > I'm not sure that you are describing exactly was Jays intention was,> but as a general rule we should of course try to keep dependencies> on other languages or systems as few as possible in order to keep> portability and maintainability.> > That said, I always found that there are rather a lot of things> that are system dependent and need to be imported via a system-> specific interface. One idea to improve this situation was to> provide some generic POSIX interface layer which indeed does> some of the mappings and adaptations in C. This could be just enough> to get a base system up and running. I'm not sure how popular this> idea would be within the CM3 community, and it would be some tedious> work and need some refactoring of the code. It would make porting to> new POSIX platforms much easier of course.> > It would not help much on Windows platforms of course :-/> > Generally I'm not against refactoring and replacing code, but we> should have a good concept and reason to do it before we start.> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> Helping your favorite cause is as easy as instant messaging. You IM, we give. Learn more. _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elego.de Wed Feb 13 22:30:42 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 13 Feb 2008 22:30:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080213213042.8E6AF10D4686@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/13 22:30:42 Modified files: cm3/m3-sys/m3tests/: PkgTags cm3/m3-sys/m3tests/src/: m3makefile Added files: cm3/m3-sys/m3tests/src/p2/p204/: Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm Log message: add p204 -- ip address initializers -- This currently leads to code generation errors. Initializers in CONST and VAR sections seem to work, in the module body they crash the compiler. added: m3tests/src/p2/p204/Main.m3 added: m3tests/src/p2/p204/m3makefile added: m3tests/src/p2/p204/stderr.build added: m3tests/src/p2/p204/stderr.pgm added: m3tests/src/p2/p204/stdout.build added: m3tests/src/p2/p204/stdout.pgm modified: m3tests/src/m3makefile From hosking at cs.purdue.edu Wed Feb 13 22:42:57 2008 From: hosking at cs.purdue.edu (Tony Hosking) Date: Wed, 13 Feb 2008 16:42:57 -0500 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080213213042.8E6AF10D4686@birch.elegosoft.com> References: <20080213213042.8E6AF10D4686@birch.elegosoft.com> Message-ID: <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> I've noticed a few other things surrounding constructors, etc.: 1) Taking SUBARRAY of an imported CONST array breaks the compiler. 2) ARRAY constructors in variable declarations that use named open array types also seem to be broken. I'll need to construct testcases for these. On Feb 13, 2008, at 10:30 PM, Olaf Wagner wrote: > CVSROOT: /usr/cvs > Changes by: wagner at birch. 08/02/13 22:30:42 > > Modified files: > cm3/m3-sys/m3tests/: PkgTags > cm3/m3-sys/m3tests/src/: m3makefile > Added files: > cm3/m3-sys/m3tests/src/p2/p204/: Main.m3 m3makefile stderr.build > stderr.pgm stdout.build > stdout.pgm > > Log message: > add p204 -- ip address initializers -- > > This currently leads to code generation errors. Initializers in > CONST and VAR sections seem to work, in the module body they crash > the compiler. > > added: m3tests/src/p2/p204/Main.m3 > added: m3tests/src/p2/p204/m3makefile > added: m3tests/src/p2/p204/stderr.build > added: m3tests/src/p2/p204/stderr.pgm > added: m3tests/src/p2/p204/stdout.build > added: m3tests/src/p2/p204/stdout.pgm > modified: m3tests/src/m3makefile From wagner at elegosoft.com Wed Feb 13 22:56:53 2008 From: wagner at elegosoft.com (Olaf Wagner) Date: Wed, 13 Feb 2008 22:56:53 +0100 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> References: <20080213213042.8E6AF10D4686@birch.elegosoft.com> <8693003E-DDA2-4F16-896C-C98C134E1FE4@cs.purdue.edu> Message-ID: <20080213225653.1dn28wru2ogocgw4@mail.elegosoft.com> Quoting Tony Hosking : > I've noticed a few other things surrounding constructors, etc.: > > 1) Taking SUBARRAY of an imported CONST array breaks the compiler. > > 2) ARRAY constructors in variable declarations that use named open > array types also seem to be broken. > > I'll need to construct testcases for these. I can do that if you like. Olaf -- Olaf Wagner -- elego Software Solutions GmbH Gustav-Meyer-Allee 25 / Geb?ude 12, 13355 Berlin, Germany phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95 http://www.elegosoft.com | Gesch?ftsf?hrer: Olaf Wagner | Sitz: Berlin Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 From wagner at elego.de Thu Feb 14 00:44:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 14 Feb 2008 0:44:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080213234416.CD76710D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/14 00:44:16 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Added files: cm3/m3-sys/m3tests/src/p2/p205/: I.i3 Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm cm3/m3-sys/m3tests/src/p2/p206/: Main.m3 m3makefile stderr.build stderr.pgm stdout.build stdout.pgm Log message: add p205 -- SUBARRAY of imported CONST ARRAY -- and p206 -- ARRAY constructors in var decls using named open array types -- From jkrell at elego.de Thu Feb 14 12:06:11 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 12:06:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214110611.C013110D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 12:06:11 Modified files: cm3/m3-sys/cm3/src/: version.quake Log message: use Posix path for NT386GNU From jkrell at elego.de Thu Feb 14 13:10:07 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:10:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214121010.08AF110D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:10:07 Modified files: cm3/scripts/python/: pylib.py Log message: fix for non-NT386 targets (where Config == Target) From jkrell at elego.de Thu Feb 14 13:40:36 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:40:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214124036.965A810D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:40:36 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: PPC_DARWIN LINUXLIBC6 Log message: some config file unification From jkrell at elego.de Thu Feb 14 13:42:12 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 14 Feb 2008 13:42:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214124212.C7BA910D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/14 13:42:12 Modified files: cm3/m3-sys/cminstall/src/config/: cm3.cfg Log message: remove whitespace from ends of lines From wagner at elego.de Fri Feb 15 00:18:08 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:18:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214231809.031FD10D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:18:08 Modified files: cm3/m3-sys/m3quake/: PkgTags cm3/m3-sys/m3quake/src/: QMachine.m3 Log message: fix equal for long texts modified: m3quake/src/QMachine.m3 From wagner at elego.de Fri Feb 15 00:20:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:20:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214232002.74AB610D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:20:02 Modified files: cm3/doc/: ship-cm3-www-doc cm3/doc/help/cm3/: quake.html Log message: fix operation name: fs_rm --> fs_rmfile From wagner at elego.de Fri Feb 15 00:29:06 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 15 Feb 2008 0:29:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080214232906.3B29F10D466F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/15 00:29:06 Modified files: cm3/m3-sys/m3tests/: PkgTags cm3/m3-sys/m3tests/src/: m3makefile Log message: use new built-in functions to compare files internally ignore " (core dumped)" differences in logs add option LOG_CMPS to log all compared files for debugging add date/time and hostname to generated report modified: m3tests/src/m3makefile From wagner at elego.de Sat Feb 16 00:36:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:36:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233645.5D8D310D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:36:45 Modified files: cm3/scripts/: pkgmap.sh Log message: add compilation and execution of package-specific test packages for -report From wagner at elego.de Sat Feb 16 00:38:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:38:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233807.6CF7410D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:38:07 Modified files: cm3/m3-libs/arithmetic/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:38:23 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:38:23 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215233823.E86C710D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:38:23 Modified files: cm3/m3-libs/bitvector/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:42:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:42:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234228.48A0C10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:42:28 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:45:09 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:45:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234510.2156F10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:45:09 Modified files: cm3/m3-libs/slisp/tests/src/: m3makefile Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:47:20 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:47:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215234720.3628A10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:47:20 Modified files: cm3/m3-comm/udp/test/src/: m3makefile m3overrides Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 00:56:14 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 0:56:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080215235614.950F810D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 00:56:14 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile Log message: make tests run in regression test framework From wagner at elego.de Sat Feb 16 01:00:47 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:00:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216000055.660E310D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:00:47 Modified files: cm3/m3-libs/slisp/tests/src/: m3makefile Log message: fix makefile and disable test run for a while From wagner at elego.de Sat Feb 16 01:12:26 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:12:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216001226.0F37E10D4673@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:12:26 Modified files: cm3/scripts/: pkgmap.sh Log message: fix redirection From wagner at elego.de Sat Feb 16 01:13:43 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 1:13:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216001343.C0FDF10D4673@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 01:13:43 Modified files: cm3/m3-db/postgres95/test/src/: m3makefile m3overrides cm3/m3-db/stable/test/src/: m3makefile Log message: make tests run in regression test framework From neels at elego.de Sat Feb 16 03:16:31 2008 From: neels at elego.de (Neels Janosch Hofmeyr) Date: Sat, 16 Feb 2008 3:16:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216021631.29BCD10D4659@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: neels at birch. 08/02/16 03:16:31 Modified files: cm3/www/: install-cm3-on-ubuntu-7-10.html Log message: updated install-cm3-on-ubuntu-7-10.html From wagner at elego.de Sat Feb 16 11:29:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 11:29:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216102916.E9A7B10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 11:29:16 Modified files: cm3/scripts/: pkgmap.sh Log message: use simply cm3 -build -DTEST -DRUN to perform tests From jkrell at elego.de Sat Feb 16 13:44:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 13:44:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216124442.962AD10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 13:44:42 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: take another Posix path on NT386GNU -- since cmd /c move doesn't understand /cygdrive (probably would with a quote and my junction pointer), make strings readonly and reuse the prefix From wagner at elego.de Sat Feb 16 17:01:30 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 17:01:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216160131.13AD210D4656@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 17:01:30 Modified files: cm3/m3-libs/patternmatching/tests/src/: Main.m3 m3makefile Log message: enable tests again with appropriate input From wagner at elego.de Sat Feb 16 17:19:49 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 17:19:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216161949.4BD2910D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 17:19:49 Modified files: cm3/scripts/: pkgmap.sh Log message: define ROOT during test compilation and execution, too use orange for package test reports if output is encountered on stderr (which may only be a warning) From hosking at elego.de Sat Feb 16 17:47:14 2008 From: hosking at elego.de (Antony Hosking) Date: Sat, 16 Feb 2008 17:47:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216164714.13AB810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/16 17:47:14 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 Log message: Put in a more descriptive comment regarding preservation of invariants on stack/register blackness/dirtiness for possible interior pointers to heap objects. From jkrell at elego.de Sat Feb 16 20:45:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 20:45:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216194522.7473010D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 20:45:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: some header corrections From jkrell at elego.de Sat Feb 16 21:03:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:03:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216200322.5C84710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:03:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.m3 Log message: looks like I forgot this earlier (to be removed once we remove the globals) From jkrell at elego.de Sat Feb 16 21:26:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:26:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216202601.2E90A10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:26:01 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: more header repair and reduction From wagner at elego.de Sat Feb 16 21:36:44 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 21:36:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216203644.2EACC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 21:36:44 Modified files: cm3/m3-libs/patternmatching/tests/src/: Main.m3 m3makefile regex.i3 Added files: cm3/m3-libs/patternmatching/tests/src/: regex.c Log message: The re_comp and re_exec functions used in this test are more or less obsolete. I tried to use the newer regcomp and regexec interface, but failed to come up with something that works both on FreeBSD and Linux. This at least gives some results on Debian Linux, but fails completely on FreeBSD. It seems also strange that the regex match of libc should produce so much obvious errors. Probably I did something wrong in the C code. From jkrell at elego.de Sat Feb 16 21:39:03 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:39:03 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216203903.9B12610D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:39:03 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: m3makefile Log message: This leads to revealing File.T twice, which the compiler only seems to sometimes notice. Not having this breaks NT386GNU serial but for now that is ok. Ideally we restructure this somewhat so that FileWin32 can be used without revealing the portable parts. As to why the multiple revelations are only sometimes noticed deserves further investigation. In particular, the compiler noticed when I continued to try to have more Win32 code available on NT386GNU, particularly ProcessWin32 in trying to avoid problems with ProcessPosix on NT386GNU/Cygwin. From wagner at elego.de Sat Feb 16 21:41:04 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 21:41:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204104.F298810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 21:41:04 Modified files: cm3/m3-libs/patternmatching/tests/src/: regex.c Log message: avoid initialization of regex_t on FreeBSD From jkrell at elego.de Sat Feb 16 21:44:40 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:44:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204440.B3DDC10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:44:40 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utypes.i3 Utypes.i3.cpp Utypes.m3 Log message: more header reduction; I could see some of this coming back as we move on to build more packages, but for now, ok From jkrell at elego.de Sat Feb 16 21:48:42 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 21:48:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216204842.25DDE10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 21:48:42 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uutsname.i3 Log message: use correct size From jkrell at elego.de Sat Feb 16 22:05:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:05:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216210553.394E810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:05:53 Modified files: cm3/scripts/python/: pylib.py Log message: skip serial on NT386GNU for now From jkrell at elego.de Sat Feb 16 22:09:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:09:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216210959.49C8510D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:09:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: reduce ioctls a lot From jkrell at elego.de Sat Feb 16 22:33:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:33:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216213350.5FDD810D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:33:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: a little more reduction From jkrell at elego.de Sat Feb 16 22:52:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 16 Feb 2008 22:52:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216215222.D9B7710D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/16 22:52:22 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: put back symlink, somehow missed that sysutils uses it From wagner at elego.de Sat Feb 16 23:09:26 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 23:09:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216220926.7142F10D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 23:09:26 Modified files: cm3/m3-comm/udp/test/src/: TestUDP.m3 m3makefile Log message: avoid endless loops in TestUDP disable test run for now needs fixing From wagner at elego.de Sat Feb 16 23:12:31 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 16 Feb 2008 23:12:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216221231.D303210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/16 23:12:31 Modified files: cm3/m3-libs/binIO/test/src/: m3makefile Log message: add test run From wagner at elego.de Sun Feb 17 00:46:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 0:46:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216234616.BF71210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 00:46:16 Modified files: cm3/m3-db/postgres95/: PkgTags cm3/m3-db/postgres95/src/: PQ.i3 m3makefile cm3/m3-db/postgres95/test/src/: Demo2.m3 Added files: cm3/m3-db/postgres95/src/: PQ.m3 Log message: add new connection function PQsetdbLogin add implementation of old PQsetdb for compatibility make the test program compile and run (it actually works as expected!) added: postgres95/src/PQ.m3 modified: postgres95/src/PQ.i3 modified: postgres95/src/m3makefile modified: postgres95/test/src/Demo2.m3 From wagner at elego.de Sun Feb 17 00:48:05 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 0:48:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080216234805.88A1210D4655@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 00:48:05 Modified files: cm3/scripts/: pkgmap.sh Log message: add missing -override for test execution paint background for missing tests yellow From jkrell at elego.de Sun Feb 17 07:31:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 7:31:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217063200.C1F9B10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 07:31:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uin.m3 Log message: fix alarming comment From hosking at elego.de Sun Feb 17 08:13:38 2008 From: hosking at elego.de (Antony Hosking) Date: Sun, 17 Feb 2008 8:13:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217071338.D493C10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/17 08:13:38 Modified files: cm3/m3-libs/m3core/src/runtime/I386_DARWIN/: RTMachineC.c Log message: esp field has changed to __esp for Leopard. Use an ifdef to choose appropriately. From jkrell at elego.de Sun Feb 17 10:05:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:05:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217090558.8502F10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:05:58 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c Umman.i3 Usocket.i3 Ustat.i3 Utypes.i3 Utypes.i3.cpp m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Ugrp.i3 Uipc.i3 Umsg.m3 Upaths.i3 Upthread.i3 Upthread.i3.c Usched.i3 Usem.i3 Usem.m3 Ushm.i3 Usyslog.i3 Utermio.i3 Utypes.m3 Log message: significant header repair and reduction, esp. struct stat From jkrell at elego.de Sun Feb 17 10:36:45 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:36:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093645.A080A10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:36:45 Modified files: cm3/m3-db/smalldb/src/: OSSupport.m3 Log message: remove gratuitious newlines at end of file (leave just one) From jkrell at elego.de Sun Feb 17 10:37:48 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:37:48 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093748.59F5C10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:37:48 Modified files: cm3/m3-libs/m3core/src/win32/: WinBase.i3 Log message: expose IsDebuggerPresent, and dos2unix From jkrell at elego.de Sun Feb 17 10:38:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 10:38:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217093832.16A1E10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 10:38:32 Modified files: cm3/m3-libs/m3core/src/win32/: m3makefile Log message: minor simplification From wagner at elego.de Sun Feb 17 10:56:34 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 10:56:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217095634.795EC10D4628@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 10:56:34 Modified files: cm3/scripts/: pkgmap.sh Log message: improve package test report layout: move all test details to the end From jkrell at elego.de Sun Feb 17 11:21:16 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:21:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102116.EDB1310D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:21:16 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common NT386GNU Log message: stick with Win32 file (but not path) naming conventions for now, more clearly/definitely From jkrell at elego.de Sun Feb 17 11:23:28 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:23:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102328.B94F710D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:23:27 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py pylib.py upgrade.py Log message: small tweaks to what builds and which slash is in paths From jkrell at elego.de Sun Feb 17 11:29:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 17 Feb 2008 11:29:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217102953.05D7A10D4685@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/17 11:29:52 Modified files: cm3/scripts/python/: pylib.py Log message: fix file not found error that always gets reported From wagner at elego.de Sun Feb 17 11:31:04 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 11:31:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217103104.C039510D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 11:31:04 Modified files: cm3/scripts/: pkgmap.sh Log message: minor HTML change From wagner at elego.de Sun Feb 17 14:57:21 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 14:57:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217135721.8913E10D466B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 14:57:21 Modified files: cm3/scripts/: pkgmap.sh Log message: minor corrections From wagner at elego.de Sun Feb 17 18:07:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 17 Feb 2008 18:07:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080217170708.4E7AC10D421D@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/17 18:07:07 Modified files: cm3/m3-libs/patternmatching/tests/src/: m3makefile regex.c regex.i3 Added files: cm3/m3-libs/patternmatching/tests/src/: regex.m3 Log message: Add a working M3 implementation instead of the C workaround. This works at least on FreeBSD now, but I'm not sure if the constant values are the same on all platforms. We'll see. Note: it is important *not to link in the compatibility library libcompat* on FreeBSD, since this seems to be not thread-aware and will cause the newer regex interfaces to fail in mysterious ways. I should have noticed that earlier. From jkrell at elego.de Mon Feb 18 04:32:07 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 4:32:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218033207.4055110D428A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:32:07 Modified files: cm3/scripts/python/: pylib.py Log message: until we make more changes in m3path and possibly elsewhere, user has to manage this (findstr /i /m cygwin1.dll cm3.exe would be a good way to detect what it wants too..) From hosking at elego.de Mon Feb 18 04:48:37 2008 From: hosking at elego.de (Antony Hosking) Date: Mon, 18 Feb 2008 4:48:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218034837.BD76810D428B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/18 04:48:37 Modified files: cm3/scripts/regression/: cm3.build Log message: -e flag for test not available in Solaris sh. From jkrell at elego.de Mon Feb 18 04:53:19 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 4:53:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218035320.23A4A10D428B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:53:19 Modified files: cm3/m3-sys/cm3/src/: Builder.i3 Builder.m3 M3Build.m3 M3Path.i3 M3Path.m3 Main.m3 Log message: Making NAMING_CONVENTIONS in the config file actually work by checking it much earlier; previously the runtime probed slash apparently was the real determiner of naming conventions, except for the .m3x file's name perhaps. As well, besides the slash no longer determining naming convention, also make the naming convention not determine the slash. That is NT386GNU uses Win32 naming conventions (at least for now), except for the runtime probed slash which is a forward slash. From jkrell at elego.de Mon Feb 18 05:09:10 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 5:09:10 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218040910.9969070D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 05:09:10 Modified files: cm3/scripts/python/: pylib.py Log message: fix for older Python that lacks os.devnull, per the comment that says to comment out :) From wagner at elego.de Mon Feb 18 09:32:15 2008 From: wagner at elego.de (Olaf Wagner) Date: Mon, 18 Feb 2008 9:32:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218083215.6130910D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/18 09:32:15 Modified files: cm3/scripts/: pkgmap.sh Log message: fix test output in case of package build failures From jkrell at elego.de Mon Feb 18 10:54:02 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:54:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095403.19EAB10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:54:02 Modified files: cm3/scripts/python/: upgrade.py Log message: do be sure to rebuild m3core and libm3 in order for the new compiler to not just crash From jkrell at elego.de Mon Feb 18 10:56:50 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:56:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095650.1E87610D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:56:50 Modified files: cm3/scripts/python/: upgrade.py Log message: one more is justified in order to use a compiler with a current runtime? From jkrell at elego.de Mon Feb 18 10:57:05 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 10:57:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218095705.8360A10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 10:57:05 Modified files: cm3/scripts/python/: upgrade.py Log message: fix comment From jkrell at elego.de Mon Feb 18 14:38:16 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 14:38:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218133816.B04C170D76F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 14:38:16 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: first of a few changes to M3Path.m3; don't touch lcase array until there is a mismatch (this can be even more efficiently by not checking for ignore_case until there is a mismatch) From jkrell at elego.de Mon Feb 18 14:44:26 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 14:44:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218134426.6C17B10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 14:44:26 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: compare length up front; this is actually almost the same as it worked before but maybe clearer; before it called max and then in RegionMatch the explicit bounds check would trigger a mismatch From jkrell at elego.de Mon Feb 18 15:13:24 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 15:13:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218141325.146A610D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 15:13:24 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: combine common code as is the pattern nearby, using either the preallocated buffer on the stack or a larger right-sized heap allocation avoid repeated calls to Text.Length on the same Text reduce scope of functions by making them local, even if they don't reuse parent local variables From jkrell at elego.de Mon Feb 18 15:22:32 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 15:22:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218142232.B384510D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 15:22:32 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: When converting from/to the same thing, don't bother looking for it. When converting a zero length string, don't bother with additional setup. These are nice classic simple optimizations though will perhaps be wiped out shortly by a preference for forward slashes. (or possibly preserved by merely treating forward/backward slashes about the same) From jkrell at elego.de Mon Feb 18 16:04:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 16:04:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218150429.AA6F310D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 16:04:28 Modified files: cm3/scripts/python/: pylib.py Log message: pass InstallRoot down to the delegating cm3.cfg on configurations (my Mac) where it isn't set in the environment already From jkrell at elego.de Mon Feb 18 16:16:44 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 16:16:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218151644.E5E4410D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 16:16:44 Modified files: cm3/m3-sys/m3quake/src/: QMachine.i3 QMachine.m3 cm3/m3-sys/cm3/src/: M3Path.m3 Log message: At least for purposes of determining if Join(a,b) is b or a + slash + b, treat any path that starts with a forward or backward slash, or contains a colon as the second character, as absolute, on all platforms. It is ASSUMED that backslashes and colons are never used in paths on non-Windows systems, or at least that this interpretation is ok. This will contribute some ease of use. NT386 and NT386GNU need not be so picky about path forms. Cygwin and Win32 already generally accept either form in many contexts, sometimes with slightly different meaning, sometimes not. e.g. the path /foo in Win32 is at the root of the "current drive, but is just "at the root" in Cygwin. In either case, for purposes of Join, it CAN be considered absolute though this does change the meaning of some constructs. e.g. if current drive is C:, is Join(D:, /foo) => D:/foo or just /foo, which would then become C:/foo? What is more interesting and useful is for NT386GNU to treat c:\foo as absolute, as this change also achieves, so that Join(c:\foo, d:\bar) is the valid path d:\bar and not the invalid c:\foo/d:\bar. Again note that Cygwin appears to accept all of c:\foo, c:/foo, /foo, and \foo style paths, and that Win32 definitely accepts them, albeit maybe with different meaning. (//foo and \\foo also) From jkrell at elego.de Mon Feb 18 18:20:52 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 18:20:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218172053.1A46710D4315@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 18:20:52 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: this line can go back where it was, and remove accidentally commited debugprint From jkrell at elego.de Mon Feb 18 20:42:58 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 20:42:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218194259.5FA2A10D4315@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 20:42:58 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: more escaping madness From wagner at elego.de Wed Feb 20 00:10:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:10:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219231039.00E5B10D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:10:38 Modified files: cm3/m3-db/db/test/src/: m3makefile Added files: cm3/m3-db/db/test/src/: m3overrides Log message: add override and demo execution From wagner at elego.de Wed Feb 20 00:20:28 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:20:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219232028.2FF6310D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:20:28 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 LINUXLIBC6 Log message: update some postgres and odbc configuration From wagner at elego.de Wed Feb 20 00:23:43 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:23:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219232343.8E01210D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:23:43 Modified files: cm3/m3-sys/cm3/src/config/: FreeBSD4 LINUXLIBC6 Log message: update some postgres and odbc configuration From wagner at elego.de Wed Feb 20 00:02:05 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:02:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219230205.1DB4010D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:02:05 Modified files: cm3/m3-db/odbc/test/src/: m3makefile Added files: cm3/m3-db/odbc/test/src/: m3overrides Log message: add override and demo execution From wagner at elego.de Wed Feb 20 00:40:49 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:40:49 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219234049.705E510D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:40:49 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 LINUXLIBC6 Log message: also update SYSTEM_LIBORDER From wagner at elego.de Wed Feb 20 00:41:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:41:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219234102.CC97110D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:41:02 Modified files: cm3/m3-sys/cm3/src/config/: FreeBSD4 LINUXLIBC6 Log message: also update SYSTEM_LIBORDER From wagner at elego.de Wed Feb 20 00:56:29 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:56:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219235629.2C5AF10D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:56:29 Modified files: cm3/scripts/: do-cm3-caltech-parser.sh pkginfo.txt Log message: add missing packages drawcontext/dcpane and drawcontext/kgv From wagner at elego.de Wed Feb 20 00:57:16 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 0:57:16 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080219235716.71B8110D42C4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 00:57:16 Modified files: cm3/caltech-parser/drawcontext/test/src/: m3makefile m3overrides Log message: make test compile and run it (seems to crash though)-: From wagner at elego.de Wed Feb 20 02:10:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 2:10:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220011009.82F8210D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 02:10:07 Modified files: cm3/caltech-parser/drawcontext/test/src/: m3makefile Log message: workaround dependency problem and disable test run From wagner at elego.de Wed Feb 20 02:25:40 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 2:25:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220012540.7BC4B10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 02:25:40 Modified files: cm3/scripts/: pkgmap.sh Log message: improve link styles From wagner at elego.de Wed Feb 20 12:14:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 12:14:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220111407.AAB1110D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 12:14:07 Modified files: cm3/caltech-parser/: m3overrides cm3/caltech-parser/cit_common/src/: m3makefile m3overrides cm3/caltech-parser/cit_util/src/: m3overrides cm3/caltech-parser/drawcontext/dcpane/src/: m3overrides cm3/caltech-parser/drawcontext/kgv/src/: m3overrides cm3/caltech-parser/drawcontext/src/: m3overrides cm3/caltech-parser/drawcontext/test/src/: m3overrides cm3/caltech-parser/hack/src/: m3overrides cm3/caltech-parser/m3browserhack/src/: m3overrides cm3/caltech-parser/m3tmplhack/src/: m3overrides cm3/caltech-parser/paneman/kemacs/src/: m3overrides cm3/caltech-parser/paneman/src/: m3overrides cm3/caltech-parser/parserlib/: m3overrides cm3/caltech-parser/parserlib/kext/src/: m3overrides cm3/caltech-parser/parserlib/klex/src/: m3overrides cm3/caltech-parser/parserlib/klexlib/src/: m3overrides cm3/caltech-parser/parserlib/ktok/src/: m3overrides cm3/caltech-parser/parserlib/ktoklib/src/: m3overrides cm3/caltech-parser/parserlib/kyacc/src/: m3overrides cm3/caltech-parser/parserlib/kyacclib/src/: m3overrides cm3/caltech-parser/parserlib/parserlib/src/: m3overrides parser.tmpl cm3/caltech-parser/parserlib/parserlib/test/src/: m3overrides cm3/caltech-parser/parserlib/parserlib/test_stdin/src/: m3overrides cm3/caltech-parser/term/src/: m3overrides Log message: abstract / to SL in quake code From wagner at elego.de Wed Feb 20 12:46:44 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 12:46:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220114646.9726F10D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 12:46:44 Modified files: cm3/caltech-parser/cit_common/src/: m3makefile cm3/caltech-parser/parserlib/klexlib/src/: m3makefile Log message: more slash substitution and makeup From wagner at elego.de Wed Feb 20 14:49:42 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 14:49:42 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220134943.4E9C410D4561@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 14:49:42 Modified files: cm3/scripts/: pkgmap.sh Log message: force sourcing sysinfo.sh put log files into ${PKG}/${TARGET} use fold to break long lines in tables From wagner at elego.de Wed Feb 20 15:19:01 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 15:19:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220141901.BC43E10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 15:19:01 Modified files: cm3/m3-libs/bitvector/src/: BitVector.m3 m3overrides cm3/m3-libs/bitvector/test/src/: TestBitVector.m3 m3overrides Log message: fix: the bitvector iterator was broken due to a wrong increment A missing override was added, too. Now all tests succeed. From wagner at elego.de Wed Feb 20 15:19:51 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 15:19:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220141951.3AFD310D42C8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 15:19:51 Modified files: cm3/scripts/: pkgmap.sh Log message: extend test failure pattern by "test failed" From wagner at elego.de Wed Feb 20 16:33:50 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 20 Feb 2008 16:33:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080220153350.9C17C10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/20 16:33:50 Modified files: cm3/m3-libs/bitvector/src/: BitVector.m3 Log message: remove tabs From wagner at elego.de Thu Feb 21 01:07:00 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:07:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221000700.14D4110D4561@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:07:00 Modified files: cm3/m3-libs/sysutils/: PkgTags cm3/m3-libs/sysutils/src/: System.i3 System.m3 TextReadingUtils.i3 TextReadingUtils.m3 Log message: implement pipes in System.ExecuteList improve command line parsing (no space needed anymore) make text reading utilities more flexible modified: sysutils/src/System.i3 modified: sysutils/src/System.m3 modified: sysutils/src/TextReadingUtils.i3 modified: sysutils/src/TextReadingUtils.m3 From wagner at elego.de Thu Feb 21 01:08:27 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:08:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221000827.61DA510D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:08:27 Modified files: cm3/doc/help/cm3/: quake.html Log message: update description of q_exec (syntax, pipes) From wagner at elego.de Thu Feb 21 01:10:17 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 21 Feb 2008 1:10:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080221001019.21DC810D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/21 01:10:17 Modified files: cm3/m3-sys/m3quake/test/src/: m3makefile result.stdout Log message: add more execution tests From jkrell at elego.de Fri Feb 22 16:55:01 2008 From: jkrell at elego.de (Jay Krell) Date: Fri, 22 Feb 2008 16:55:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222155502.4EABF10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/22 16:55:01 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.c 1.cmd Udir.i3 Usignal.i3 Usignal.i3.c m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Uucontext.i3 Usignal.m3 Log message: more header reduction and repair From wagner at elego.de Fri Feb 22 18:19:41 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 22 Feb 2008 18:19:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222171941.2310D10D4335@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/22 18:19:41 Modified files: cm3/m3-libs/sysutils/src/: m3makefile Added files: cm3/m3-libs/sysutils/src/: FingerprintFmt.i3 FingerprintFmt.m3 Log message: add procedures for fingerprint i/o (will be needed by some future commits) From wagner at elego.de Fri Feb 22 18:22:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 22 Feb 2008 18:22:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080222172257.E4FC810D45D1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/22 18:22:57 Modified files: cm3/m3-www/http/: PkgTags cm3/m3-www/http/src/: m3makefile m3overrides Removed files: cm3/m3-www/http/src/: FastLex.i3 FastLex.m3 Log message: FastLex is already contained in the sysutils package; just import that as it not really related to http removed: http/src/FastLex.i3 removed: http/src/FastLex.m3 modified: http/src/m3makefile modified: http/src/m3overrides From jkrell at elego.de Sat Feb 23 07:56:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 7:56:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223065632.4277310D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 07:56:32 Modified files: cm3/scripts/python/: bootntgnu.py pylib.py Log message: if path machinations go as planned, I won't have to set as many environment variables allow uname in the path and still target NT386 otherwise tweak target detection From jkrell at elego.de Sat Feb 23 08:01:11 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:01:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223070111.C24AA10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:01:11 Modified files: cm3/m3-sys/cminstall/src/config/: NT386 NT386.common Log message: let GNU platform come from parent (m3cc/m3gdb don't honor this though..) try to use sysutils fs_cp instead of command line utilities fs_rmfile looks redundant with preexisting delete_file these names are very terse and Unixy, cp instead of Copy.. some additional command line escaping These last two changes help enable a cross scenario that I accidentally tried -- targeting NT386 with a NT386GNU cm3, or something like that. In particular, config files don't know if their HOST is Win32 or Posix, they know about their TARGET. From jkrell at elego.de Sat Feb 23 08:02:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:02:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223070225.8093910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:02:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: cleanup From jkrell at elego.de Sat Feb 23 08:12:21 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:12:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223071221.6175D10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:12:21 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Uuio.i3 Log message: prune a bit more, and fix formating From jkrell at elego.de Sat Feb 23 08:42:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:42:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223074247.96F6010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:42:47 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uin.i3 Uin.m3 Uresource.i3 Usocket.i3 Log message: more header pruning and repair From jkrell at elego.de Sat Feb 23 08:51:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 8:51:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223075126.E1C3A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 08:51:26 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usocket.i3 Log message: more header pruning and repair From jkrell at elego.de Sat Feb 23 09:01:52 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:01:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223080153.EE8EA10D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:01:52 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usocket.i3 Uugid.i3 Uuio.i3 Log message: just a bit of cleanup and put back Usocket.shutdown From jkrell at elego.de Sat Feb 23 09:28:14 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223082814.2757510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:28:14 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3 Log message: more header reduction and repair From jkrell at elego.de Sat Feb 23 09:28:56 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:28:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223082856.2739E10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:28:56 Added files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: initial version that is just copy of the .i3 file From jkrell at elego.de Sat Feb 23 09:31:59 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:31:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083159.B51CB10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:31:59 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3.c Log message: meant this file -- remove a bit of no longer needed code From jkrell at elego.de Sat Feb 23 09:32:27 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:32:27 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083227.E17CB10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:32:27 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: 1.cmd Uerror.i3.cpp Log message: initial version that prints the same content as we already have From jkrell at elego.de Sat Feb 23 09:36:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:36:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223083631.2F6F110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:36:31 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uerror.i3.cpp Log message: generate Uerror.i3 reliably; though the current one is already correct From jkrell at elego.de Sat Feb 23 09:56:53 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 9:56:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223085653.1D28D10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 09:56:53 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Log message: prune a bit more unused declarations From jkrell at elego.de Sat Feb 23 10:50:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 10:50:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223095039.5D76210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 10:50:39 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Usignal.i3 Usignal.i3.c Uin.i3 Log message: fix warnings about unused From jkrell at elego.de Sat Feb 23 10:58:56 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 10:58:56 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223095856.DBA2010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 10:58:56 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Upwd.i3 Log message: repair and reduce From jkrell at elego.de Sat Feb 23 11:16:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 11:16:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223101650.07A6210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 11:16:50 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Uprocess.i3 Log message: remove more unused From jkrell at elego.de Sat Feb 23 12:03:00 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:03:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223110300.9F04A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:03:00 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Udir.i3 Uin.i3 Unetdb.i3 Unix.i3 m3makefile Removed files: cm3/m3-libs/m3core/src/unix/cygwin/: Umsg.i3 Unetdb.m3 Log message: reduce, repair, and tweak slightly From jkrell at elego.de Sat Feb 23 12:12:07 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:12:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223111207.7237A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:12:07 Modified files: cm3/m3-libs/m3core/src/unix/cygwin/: Unix.i3 Log message: put back symlink From jkrell at elego.de Sat Feb 23 12:16:24 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:16:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223111624.D0AE810D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:16:24 Modified files: cm3/m3-obliq/obliqrt/src/: ObValue.m3 Log message: mark unused parameters with pragma to prevent warning From jkrell at elego.de Sat Feb 23 12:40:57 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:40:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223114057.628D710D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:40:57 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: m3makefile cm3/m3-libs/libm3/src/os/WIN32/: m3makefile Log message: switch NT386GNU to Win32 paths Cygwin does accept all of c:\foo, \foo, c:/foo, /foo. From jkrell at elego.de Sat Feb 23 12:46:45 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 12:46:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223114645.5D37510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 12:46:45 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 Log message: add comment, check string length before full equality, don't bother shortening assembly source file names, maybe save some heap allocs From jkrell at elego.de Sat Feb 23 13:11:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:11:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223121139.6B2D910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:11:39 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: go back a version -- to regular Pathname.Absolute From jkrell at elego.de Sat Feb 23 13:34:40 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:34:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223123440.6EEA110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:34:40 Modified files: cm3/m3-sys/m3quake/src/: QMachine.i3 QMachine.m3 Log message: go back a version, to regular Pathname.Absolute From jkrell at elego.de Sat Feb 23 13:39:06 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:39:06 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223123906.F1AB010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:39:06 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: forward slash is a path separator on all current platforms (ignoring Macos Classic), and then some platforms (Windows) have another separator, so always check for forward slash and the other possible one (which is usually also just a forward slash) From jkrell at elego.de Sat Feb 23 13:47:54 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:47:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223124754.314CF10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:47:54 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: bring in some disabled-by-default test code, that reveals some bugs From jkrell at elego.de Sat Feb 23 13:48:55 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:48:55 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223124855.B642A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:48:55 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: oops From jkrell at elego.de Sat Feb 23 13:54:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 13:54:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223125458.D1B8C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 13:54:58 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: c:\a\b..\..\d should collapse to c:\a\d that "b.." ends in ".." is not relevant From jkrell at elego.de Sat Feb 23 15:04:00 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:04:00 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140400.C6C3C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:04:00 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: support foo.lib instead of libfoo.a but with forward slashes, like was here recently (should NOT be controversial) From jkrell at elego.de Sat Feb 23 15:04:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:04:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140458.2F71210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:04:58 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: but it does need to compile of course From jkrell at elego.de Sat Feb 23 15:05:15 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:05:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140515.DAD2A10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:05:15 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: but it does need to compile of course From jkrell at elego.de Sat Feb 23 15:09:31 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:09:31 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223140931.77D6F10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:09:31 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: cleanup From jkrell at elego.de Sat Feb 23 15:21:29 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:21:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142129.23D4410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:21:29 Modified files: cm3/scripts/python/: upgrade.py Log message: gcc backend is SO SLOW, remove one rebuild From jkrell at elego.de Sat Feb 23 15:22:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:22:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142230.6595210D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:22:30 Modified files: cm3/scripts/python/: upgrade.py Log message: don't clean again either From jkrell at elego.de Sat Feb 23 15:28:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:28:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223142801.A534410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:28:01 Modified files: cm3/m3-libs/libm3/src/os/WIN32/: m3makefile cm3/m3-libs/libm3/src/os/POSIX/: m3makefile Log message: NT386GNU back to Posix paths, essentially just works either way, at least if you set CM3_ROOT, CM3_INSTALL, M3CONFIG environment variables (and even then, that's because my Python always sniffs to Win32 paths, it could do better, such as by findstr cygwin1.dll on cm3.exe) From jkrell at elego.de Sat Feb 23 15:45:11 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:45:11 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144511.ED66010D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:45:11 Modified files: cm3/scripts/python/: pylib.py Log message: initial code to sniff if cm3.exe is a Cygwin binary and if so convert paths for it From jkrell at elego.de Sat Feb 23 15:45:58 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:45:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144600.2A05C10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:45:58 Modified files: cm3/scripts/python/: pylib.py Log message: move code near each other From jkrell at elego.de Sat Feb 23 15:48:28 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:48:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223144828.4D1B910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:48:28 Modified files: cm3/scripts/python/: pylib.py Log message: fix environment variable name in comment From jkrell at elego.de Sat Feb 23 15:56:12 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 15:56:12 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223145612.6A09410D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 15:56:12 Modified files: cm3/scripts/python/: pylib.py Log message: fix cygwin paths From wagner at elego.de Sat Feb 23 15:58:41 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 23 Feb 2008 15:58:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223145841.2ABA910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/23 15:58:41 Modified files: cm3/m3-sys/cminstall/src/config/: FreeBSD4 Log message: use libiodcb on FreeBSD From wagner at elego.de Sat Feb 23 16:03:24 2008 From: wagner at elego.de (Olaf Wagner) Date: Sat, 23 Feb 2008 16:03:24 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223150324.AF19510D44E1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/23 16:03:24 Modified files: cm3/scripts/: upgrade.sh cm3/scripts/regression/: defs.sh Log message: add switch UPGRADE_CM3_CFG to upgrade.sh fore config file upgrade during regression tests (otherwise changes in the configuration will never be reflected there) From jkrell at elego.de Sat Feb 23 16:12:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:12:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223151205.1207110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:12:05 Modified files: cm3/scripts/python/: make-dist.py Log message: change environment variable name From jkrell at elego.de Sat Feb 23 16:28:05 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:28:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223152805.CD8FE10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:28:05 Modified files: cm3/scripts/python/: make-dist.py pylib.py Log message: path hackery to make progress on NT386GNU make-dist From jkrell at elego.de Sat Feb 23 16:41:02 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 16:41:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223154102.8A58110D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 16:41:02 Modified files: cm3/scripts/python/: make-dist.py Log message: need sysutils From jkrell at elego.de Sat Feb 23 17:56:39 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 17:56:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223165639.E794610D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 17:56:39 Modified files: cm3/m3-sys/cminstall/src/config/: NT386GNU Log message: fix comments From jkrell at elego.de Sat Feb 23 18:22:17 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:22:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223172218.0094510D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:22:17 Modified files: cm3/scripts/python/: make-dist.py pylib.py Log message: go back to only building min distributions for now put in far fewer config files in distributions (Target* plus a one line stub) From jkrell at elego.de Sat Feb 23 18:28:13 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:28:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223172813.E5D1910D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:28:13 Modified files: cm3/scripts/python/: make-dist.py Log message: most targets need no lib directory, and it gets created if necessary From jkrell at elego.de Sat Feb 23 18:30:47 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 18:30:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223173048.2BC7B10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 18:30:47 Modified files: cm3/scripts/python/: pylib.py Log message: comment about future direction From jkrell at elego.de Sat Feb 23 21:21:50 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 21:21:50 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223202150.DAB8810D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 21:21:50 Modified files: cm3/m3-sys/m3tests/src/: m3makefile Log message: fix so tests can be run on Windows From jkrell at elego.de Sat Feb 23 21:41:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sat, 23 Feb 2008 21:41:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223204126.A759B10D4343@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/23 21:41:26 Modified files: cm3/scripts/python/: pylib.py Log message: some allowance for the Cygwin Python that is in my path ugh.. From jkrell at elego.de Sun Feb 24 00:35:32 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:35:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223233532.F131110D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:35:32 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: support targeting NT386 from NT386GNU host, if the right junction points are setup (should write the pn_* functions?) From jkrell at elego.de Sun Feb 24 00:39:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:39:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223233901.3741F10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:39:01 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: support targeting NT386 from NT386GNU host -- semicolons in command options do not separate commands, wrap the thing in cmd /d quotes to SHield from SHenanigans From jkrell at elego.de Sun Feb 24 00:42:25 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:42:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223234225.2039A10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:42:25 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: only waste a process if Cygwin forces us From jkrell at elego.de Sun Feb 24 00:47:43 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 0:47:43 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080223234743.95AE710D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 00:47:43 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: coments only (essentially) From wagner at elego.de Sun Feb 24 01:41:38 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 1:41:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224004138.31B4110D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 01:41:38 Modified files: cm3/scripts/regression/: update_snapshot_status.sh Log message: fix index and cleanup for source archives From wagner at elego.de Sun Feb 24 02:07:25 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 2:07:25 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224010726.8D41610D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 02:07:25 Modified files: cm3/scripts/: make-src-dist-sys.sh Log message: add missing packages to sys dist From jkrell at elego.de Sun Feb 24 13:20:38 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 13:20:38 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224122038.607F210D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 13:20:38 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py Log message: stuff works now From jkrell at elego.de Sun Feb 24 13:22:01 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 13:22:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224122201.F23D110D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 13:22:01 Modified files: cm3/scripts/python/: bootntgnu.py bootntmingnu.py Log message: reformat and remove duplicate From wagner at elego.de Sun Feb 24 13:36:08 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 13:36:08 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224123608.4473A10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 13:36:08 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 M3Path.m3 Log message: The latest changes seem to break overrides for some packages (see package status of m3-db/odbc for example). Revert this package to the last working version I found: cvs up -j 1.16 -j 1.14 src/Builder.m3 cvs up -j 1.19 -j 1.5 src/M3Path.m3 With this version, all current packages and tests work at least on my FreeBSD 6.3 system. From jkrell at elego.de Sun Feb 24 16:02:04 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:02:04 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224150206.5A6E310D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:02:04 Modified files: cm3/scripts/python/: pylib.py upgrade.py Log message: fewer double slashes and should handle upgrading from NT386 to NT386GNU or vice versa (still testing) From jkrell at elego.de Sun Feb 24 16:04:36 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:04:36 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224150440.3248B10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:04:36 Modified files: cm3/scripts/python/: upgrade.py Log message: only remove pylib.py's M3CONFIG variable right before reloading pylib.py, not right after From jkrell at elego.de Sun Feb 24 16:14:09 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 16:14:09 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224151410.1365F10D4353@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 16:14:09 Modified files: cm3/scripts/python/: upgrade.py Log message: the other variables do need fixing when upgrading between host types (maybe pylib or cm3 should just always do this?) From wagner at elego.de Sun Feb 24 16:55:58 2008 From: wagner at elego.de (Olaf Wagner) Date: Sun, 24 Feb 2008 16:55:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224155559.2F9DF10D469F@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/24 16:55:58 Modified files: cm3/m3-sys/cm3/src/config/: LINUXLIBC6 cm3/m3-sys/cminstall/src/config/: LINUXLIBC6 Log message: use libiodbc on LINUXLIBC6, too From jkrell at elego.de Sun Feb 24 17:44:37 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:44:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224164437.BD9CE10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:44:37 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: line up the columns From jkrell at elego.de Sun Feb 24 18:26:41 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:26:41 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224172641.9F20910D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:26:41 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: reveal an array index out of bounds bug From jkrell at elego.de Sun Feb 24 17:36:44 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:36:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224163645.5E9F910D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:36:44 Modified files: cm3/m3-sys/cm3/src/: Builder.m3 M3Path.m3 Log message: remove the hack file name shortening that was for masm but also hits unnecessarily NT386GNU/as masm is not likely a scenario, usually NT386 outputs .obj files directly and maybe the behavior/bug is fixed in newer versions? This time, leave alone the behavior of a../.. because I broke ../.. Make '/' a directory separator on all platforms. (Ignoring MacOS Classic) '/' is a path separator on Win32 and libm3/Pathname already knows that In M3Path.Join, avoid the source code duplication and use the Foo=>DoFoo(buf) pattern used nearby. Move Append local to M3Path.Join. (changed its signature to accept a length to avoid an extra Text.Length call) Fix what looks like a possible crash if New ( Text.Length (dir) = 0) In DoParse, change two passes over the string to just one. Would be even better to start at the end of the string and stop when found. In RegionMatch, avoid the Text.Length calls if possible. (even if they are faster than strlen) In RegionMatch when being case insensitive, first check case sensitive to avoid touching the lcase table. In Escape, handle a zero length string faster. decided against it -- it is already fast, and is rare, and slows down everything else In Convert, be fast if good = bad (the normal case!) various classic micro optimizations in general remove dead stores remove repeat calls to Text.Length (such as in Join where every string had it called twice) split out M3Path.New into M3Path.New and M3Path.NewInternal so test code can specify host := FALSE From jkrell at elego.de Sun Feb 24 17:43:30 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 17:43:30 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224164330.CC81410D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 17:43:30 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: shrink a bit From jkrell at elego.de Sun Feb 24 18:35:26 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:35:26 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224173527.5E96C10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:35:26 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: fix array index out of bounds From jkrell at elego.de Sun Feb 24 18:45:22 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:45:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224174523.E70A010D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:45:22 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: more carefully this time: do collapse "a../.." down to just "." but leave alone "../..", it can't be collapsed "for lack of room" From jkrell at elego.de Sun Feb 24 18:50:21 2008 From: jkrell at elego.de (Jay Krell) Date: Sun, 24 Feb 2008 18:50:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080224175021.BA62C10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/24 18:50:20 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: remove outdated comment and the test code need some way to expose internals to testing.. From jkrell at elego.de Mon Feb 25 15:36:28 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 15:36:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225143628.C816310D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 15:36:28 Added files: cm3/m3-win/import-libs/src/: m3overrides Log message: quash warning From jkrell at elego.de Mon Feb 25 17:15:05 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:15:05 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225161506.5F66F10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:15:05 Modified files: cm3/scripts/: do-cm3-base.sh do-cm3-core.sh do-cm3-front.sh do-cm3-std.sh Log message: use the data file From jkrell at elego.de Mon Feb 25 16:55:37 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 16:55:37 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225155538.0AD0C10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 16:55:37 Modified files: cm3/scripts/: pkginfo.sh Log message: tell user what the delay is From jkrell at elego.de Mon Feb 25 17:26:52 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:26:52 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225162653.891BC10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:26:52 Modified files: cm3/scripts/: do-cm3-caltech-parser.sh do-cm3-comm.sh do-cm3-gui.sh do-cm3-min.sh pkginfo.txt Log message: use the data file From jkrell at elego.de Mon Feb 25 17:27:39 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:27:39 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225162739.A04F410D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:27:39 Modified files: cm3/scripts/regression/: defs.sh Log message: print a little more From jkrell at elego.de Mon Feb 25 17:57:40 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 17:57:40 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225165741.4D74810D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 17:57:40 Modified files: cm3/m3-sys/cminstall/src/config/: NT386.common Log message: change the extensions of NT386GNU .dlls to .so, just so they can live in the same directory as NT386 dlls; yep it's sleazy and lazy gotta love indirect chosing of printf format strings.. From jkrell at elego.de Mon Feb 25 19:05:51 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:05:51 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225180551.DB36F10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:05:51 Modified files: cm3/m3-ui/juno-2/juno-app/src/: m3makefile Log message: TARGET should be BUILD_DIR for my 'config' vs. 'target' scheme, so that we can build here on NT386GNU (yes, we get this far) From jkrell at elego.de Mon Feb 25 19:11:53 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:11:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225181153.123DD10D46A4@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:11:53 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DateLinux.m3 DatePosix.m3 cm3/m3-libs/m3core/src/unix/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Utime.i3 Utime.m3 m3makefile cm3/m3-libs/m3core/src/unix/hpux-7-0/: Utime.i3 cm3/m3-libs/m3core/src/unix/irix-5.2/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: Utime.i3 cm3/m3-libs/m3core/src/unix/solaris-2-x/: Utime.i3 Added files: cm3/m3-libs/m3core/src/unix/Common/: UtimeC.c m3makefile Log message: fix crash in shobjgen by wrapping up Utime.i3 globals in functions From jkrell at elego.de Mon Feb 25 19:28:14 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:28:14 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225182814.A8A2C10D45D2@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:28:14 Modified files: cm3/m3-libs/m3core/src/unix/Common/: UtimeC.c cm3/m3-libs/m3core/src/unix/linux/: Utime.i3 cm3/m3-libs/m3core/src/unix/linux-libc6/: Utime.i3 Log message: fix Linux From jkrell at elego.de Mon Feb 25 19:31:21 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 25 Feb 2008 19:31:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225183127.E37BD10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/25 19:31:21 Modified files: cm3/m3-sys/cm3/src/: M3Path.m3 Log message: go ahead and commit this, but it isn't enabled yet From wagner at elego.de Tue Feb 26 00:43:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 0:43:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080225234357.0ACAC10D444C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 00:43:57 Modified files: cm3/scripts/: do-cm3-core.sh Log message: fix last change: use correct path for pkginfo.txt Please check such changes before commit! From jayk123 at hotmail.com Tue Feb 26 01:36:49 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 26 Feb 2008 00:36:49 +0000 Subject: [M3commit] test? Message-ID: Just testing..mailing lists seem down again.. - Jay _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From wagner at elego.de Tue Feb 26 08:49:57 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 8:49:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226074957.A907810D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 08:49:57 Modified files: cm3/scripts/: def-std-pkgs.sh pkginfo.txt Log message: compile stablegen before stable, because stable tests depend on it From wagner at elego.de Tue Feb 26 08:55:02 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 8:55:02 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226075502.9064E10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 08:55:02 Modified files: cm3/scripts/: do-cm3-base.sh do-cm3-caltech-parser.sh do-cm3-comm.sh do-cm3-front.sh do-cm3-gui.sh do-cm3-min.sh do-cm3-std.sh Log message: fix more pkginfo.txt paths From jkrell at elego.de Tue Feb 26 18:10:19 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:10:19 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226171019.75FA010D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:10:19 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: go back a version; it appears I copied one file on to another From jkrell at elego.de Tue Feb 26 18:12:07 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:12:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226171207.7E2AD10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:12:07 Modified files: cm3/m3-libs/m3core/src/time/POSIX/: DatePosix.m3 Log message: wrap data in functions to match DateBsd.m3 and DateLinux.m3 From jkrell at elego.de Tue Feb 26 18:20:59 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:20:59 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172059.E76CD10D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:20:59 Added files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: initial copy from config; I can at least compile the Modula-3, if not generate code, compile C, assembly, link; any target can easily be cross-compiled From jkrell at elego.de Tue Feb 26 18:24:18 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:24:18 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172418.680F810D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:24:18 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: initial preconfigured version From jkrell at elego.de Tue Feb 26 18:25:32 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:25:32 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226172532.0506D10D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:25:32 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: neuter the functions that I don't have the infra to run -- compile_c, assembly, backend, link/lib From jayk123 at hotmail.com Tue Feb 26 18:52:03 2008 From: jayk123 at hotmail.com (Jay) Date: Tue, 26 Feb 2008 17:52:03 +0000 Subject: [M3commit] CVS Update: cm3 In-Reply-To: <20080226075502.9064E10D4698@birch.elegosoft.com> References: <20080226075502.9064E10D4698@birch.elegosoft.com> Message-ID: sorry I ran the first few to verify the code (which wasn't right at first and the output of do-foo -n build, make sure the package lists matched and were in the right order (they weren't always in the same order, and the filtering results in different output), and then got overconfident (as usual). I thought I tested base, core, std -- all the ones that were already in the file. And then did a different smaller for the "new" ones comm, caltech, gui, etc. -- findstr on the data file vs. reading through the older code. The Python doesn't use this file yet but that's something to do. Making the filtering data driven, maybe, maybe not, it's less valuable. Pushing NT386GNU forward of course.. Oh, I see, I must have tested these sitting in that directory. So they did work, in a specific small context. - Jay > Date: Tue, 26 Feb 2008 08:55:02 +0000> To: m3commit at elegosoft.com> From: wagner at elego.de> Subject: [M3commit] CVS Update: cm3> > CVSROOT: /usr/cvs> Changes by: wagner at birch. 08/02/26 08:55:02> > Modified files:> cm3/scripts/: do-cm3-base.sh do-cm3-caltech-parser.sh > do-cm3-comm.sh do-cm3-front.sh do-cm3-gui.sh > do-cm3-min.sh do-cm3-std.sh > > Log message:> fix more pkginfo.txt paths> _________________________________________________________________ Climb to the top of the charts!?Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkrell at elego.de Tue Feb 26 18:53:47 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:53:47 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175347.C735710D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:53:47 Modified files: cm3/m3-libs/m3core/src/unix/solaris-2-x/: Utypes.m3 Log message: fix warning about unused From jkrell at elego.de Tue Feb 26 18:57:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:57:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175715.0B63410D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:57:15 Modified files: cm3/m3-sys/m3back/src/: m3overrides Log message: add missing override note that compiler doesn't seem to care about m3core missing it can be very useful to compile without overriding libm3 while bootstrapping from previous version, however that is merely done without using overrides and doing buildship in dependency order From jkrell at elego.de Tue Feb 26 18:59:58 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 18:59:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226175958.6F61310D4331@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 18:59:58 Modified files: cm3/m3-sys/fix_nl/src/: OSPOSIX.m3 Log message: fix it to compile (e.g. for SOLgnu) From jkrell at elego.de Tue Feb 26 19:09:34 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 19:09:34 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226180934.C726C10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 19:09:34 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: let incrementality work by touching output, which highlights how slow either Cygwin or the sleep is, because just touch is quite slow From jkrell at elego.de Tue Feb 26 19:13:15 2008 From: jkrell at elego.de (Jay Krell) Date: Tue, 26 Feb 2008 19:13:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226181315.6392D10D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/26 19:13:15 Modified files: cm3/m3-sys/cminstall/src/config-no-install/: SOLgnu Log message: much faster From wagner at elego.de Tue Feb 26 22:38:20 2008 From: wagner at elego.de (Olaf Wagner) Date: Tue, 26 Feb 2008 22:38:20 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080226213820.9712510D4698@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/26 22:38:20 Modified files: cm3/scripts/: def-std-pkgs.sh pkginfo.txt Log message: fix package name (unittest-numeric) From wagner at elego.de Wed Feb 27 01:08:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 1:08:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227000845.6884910D469C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 01:08:45 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: PathnamePosix.m3 Log message: null bytes are not valid in posix From wagner at elego.de Wed Feb 27 01:17:13 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 1:17:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227001713.2270010D46A1@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 01:17:13 Modified files: cm3/m3-libs/libm3/tests/arith/src/: m3makefile cm3/m3-libs/libm3/tests/os/src/: m3makefile cm3/m3-libs/libm3/tests/random/src/: m3makefile cm3/m3-libs/libm3/tests/sequence/src/: Test.m3 m3makefile cm3/m3-libs/libm3/tests/sortedtable/src/: m3makefile cm3/m3-libs/libm3/tests/sqrt/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/arith/src/: m3overrides cm3/m3-libs/libm3/tests/os/src/: m3overrides pathname-tests-input pathname-tests-output cm3/m3-libs/libm3/tests/random/src/: m3overrides cm3/m3-libs/libm3/tests/sequence/src/: m3overrides cm3/m3-libs/libm3/tests/sortedtable/src/: m3overrides cm3/m3-libs/libm3/tests/sqrt/src/: m3overrides cm3/m3-libs/libm3/tests/src/: m3makefile m3overrides Log message: first set of changes to integrate some of the existing libm3 tests this is only a start; much is still missing and needs to be done From dragisha at elego.de Wed Feb 27 09:40:01 2008 From: dragisha at elego.de (Dragiša Duric) Date: Wed, 27 Feb 2008 9:40:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227084001.0A8CA10D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 08/02/27 09:40:00 Modified files: cm3/m3-sys/m3quake/src/: QMachine.m3 cm3/m3-sys/cm3/src/: M3Build.m3 Makefile.m3 Log message: CM3_INSTALL_PREFIX enables elegant packaging scripts. Made for RPM, but not limited to. From dragisha at elego.de Wed Feb 27 09:55:17 2008 From: dragisha at elego.de (Dragiša Duric) Date: Wed, 27 Feb 2008 9:55:17 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227085518.3394610D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: dragisha at birch. 08/02/27 09:55:17 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTHeapMap.m3 Log message: Incremental registration to global_map, so garbage collection does not break when we load modules at runtime. Makes "Modula-3 modules loadable at runtime" work. From hosking at elego.de Wed Feb 27 18:21:57 2008 From: hosking at elego.de (Antony Hosking) Date: Wed, 27 Feb 2008 18:21:57 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227172157.8941C10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/27 18:21:57 Modified files: cm3/m3-libs/m3core/src/runtime/common/: RTHeapMap.m3 Log message: I am nervous about assuming that there is a persistent mapping from a particular cardinal to the same module for RTModule.Get (suppose that the RTModule mapping changes at some point). Let's be a little more conservative about rebuilding the global map, by doing it whenever the module count is different from what we expect. I doubt this matters performance-wise in the global scheme of things. Also, this will simplify some changes we are planning with respect to processing of globals by a new non-stop-the-world GC. From wagner at elego.de Wed Feb 27 22:17:07 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 22:17:07 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227211707.4845E10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 22:17:07 Added files: cm3/scripts/: cm3-pkg-deps Log message: add package dependencies From wagner at elego.de Wed Feb 27 23:46:45 2008 From: wagner at elego.de (Olaf Wagner) Date: Wed, 27 Feb 2008 23:46:45 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227224645.0697A10D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/27 23:46:44 Modified files: cm3/m3-libs/libm3/tests/os/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/os/src/: filesystem-tests-input filesystem-tests-output process-tests-input process-tests-output cm3/m3-libs/libm3/tests/src/: defs.quake Log message: add some more libm3 tests From wagner at elego.de Thu Feb 28 00:06:15 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 28 Feb 2008 0:06:15 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227230615.2023110D44E3@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/28 00:06:15 Modified files: cm3/m3-libs/sysutils/src/: System.m3 Log message: remove wrong error message From wagner at elego.de Thu Feb 28 00:07:22 2008 From: wagner at elego.de (Olaf Wagner) Date: Thu, 28 Feb 2008 0:07:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080227230722.B9DD210D452B@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/28 00:07:22 Modified files: cm3/m3-libs/libm3/tests/sortedtable/src/: m3makefile cm3/m3-libs/libm3/tests/src/: m3makefile Log message: add sortedtable tests From jkrell at elego.de Thu Feb 28 09:23:22 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 9:23:22 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228082322.3662910D46B6@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 09:23:22 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c cm3/m3-sys/m3front/src/misc/: Coverage.m3 Host.i3 Host.m3 Scanner.m3 Log message: put full paths to source files in debug info This has the minor downsides of: 1) grows the debug info (it is already huge; who is counting?) 2) reveals file system layout in debug info (privacy?) 3) does it inhibit debugging files from other people's machines or does gdb dir still work? but definitely makes for a more pleasant debugging experience when debugging stuff you have built yourself. The linear searching to see if a name has been allocated a number yet will obviously slow way down due to a large increase in common prefixes, but that should be a hash table anyway. Linear search is lame. (or a trie, but working from the ends of the strings, minus the last one or few characters, due to common prefixes as well as common suffixes) Note that both m3front and m3cc changes are needed as m3front has paths relative to the current working directory or such. For most packages, you can get by without the m3front change and just prepend "../src/" to the path in m3cc, but that doesn't work for hierarchical packages such as libm3 and m3core which I am debugging. From jkrell at elego.de Thu Feb 28 13:25:13 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:25:13 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228122513.8756710D46A8@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:25:13 Modified files: cm3/m3-libs/libm3/src/os/POSIX/: ProcessPosix.m3 cm3/m3-libs/m3core/src/thread/Common/: SchedulerPosix.i3 cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 cm3/m3-libs/m3core/src/thread/WIN32/: m3makefile cm3/m3-libs/m3core/src/unix/cygwin/: Uexec.i3 Log message: remove sleep(.1 sec) from waiting for processes to exit on pthread and cygwin, but leave it on alarmthreads, and it was never there on Win32; reduce Cygwin Uexec.i3 some From jkrell at elego.de Thu Feb 28 13:32:29 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:32:29 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123230.66FDB10D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:32:29 Added files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessCygwin.m3 WaitProcessWin32.m3 Log message: forgot to commit new files -- remove sleep(.1 seconds) in wait for processes to exit on pthreads and cygwin, leave it in for alarmthreads, it was never in win32 NOTE that cygwin waitpid is commented as being not thread safe, lame From jkrell at elego.de Thu Feb 28 13:35:54 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:35:54 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123554.7AC1410D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:35:54 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:37:35 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:37:35 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123735.A589710D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:37:35 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:37:58 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:37:58 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228123758.58E2610D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:37:58 Modified files: cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 Log message: add missing import From jkrell at elego.de Thu Feb 28 13:48:44 2008 From: jkrell at elego.de (Jay Krell) Date: Thu, 28 Feb 2008 13:48:44 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228124844.E2EDB10D46B5@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/28 13:48:44 Modified files: cm3/m3-libs/m3core/src/thread/POSIX/: ThreadPosix.m3 Log message: add missing import From hosking at elego.de Thu Feb 28 18:38:21 2008 From: hosking at elego.de (Antony Hosking) Date: Thu, 28 Feb 2008 18:38:21 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228173821.4626B10D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/28 18:38:21 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessWin32.m3 Log message: Remove ^M. From hosking at elego.de Thu Feb 28 18:39:01 2008 From: hosking at elego.de (Antony Hosking) Date: Thu, 28 Feb 2008 18:39:01 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228173901.9519810D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: hosking at birch. 08/02/28 18:39:01 Modified files: cm3/m3-libs/m3core/src/thread/WIN32/: WaitProcessWin32.m3 Log message: ASSERT style. From rodney at elego.de Fri Feb 29 00:55:28 2008 From: rodney at elego.de (Rodney M. Bates) Date: Fri, 29 Feb 2008 0:55:28 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080228235528.D133110D46BA@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: rodney at birch. 08/02/29 00:55:28 Added files: cm3/scripts/: do-cm3-m3gdb.sh Log message: A handy new script to build just m3gdb. From wagner at elego.de Fri Feb 29 01:47:53 2008 From: wagner at elego.de (Olaf Wagner) Date: Fri, 29 Feb 2008 1:47:53 () Subject: [M3commit] CVS Update: cm3 Message-ID: <20080229004753.E339210D46BD@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: wagner at birch. 08/02/29 01:47:53 Modified files: cm3/m3-libs/libm3/tests/pqueue/fromtty/src/: m3makefile cm3/m3-libs/libm3/tests/pqueue/heapsort1/src/: m3makefile cm3/m3-libs/libm3/tests/pqueue/heapsort2/src/: m3makefile cm3/m3-libs/libm3/tests/src/: m3makefile Added files: cm3/m3-libs/libm3/tests/pqueue/fromtty/src/: m3overrides cm3/m3-libs/libm3/tests/pqueue/heapsort1/src/: m3overrides cm3/m3-libs/libm3/tests/pqueue/heapsort2/src/: m3overrides Log message: add libm3/pqueue tests From jkrell at elego.de Mon Feb 4 05:53:35 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 04 Feb 2008 04:53:35 -0000 Subject: [M3commit] CVS Update: cm3 Message-ID: <20080204045308.A9DB010D466C@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/04 05:53:07 Modified files: cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c Log message: remove gratitious semicolons From jkrell at elego.de Mon Feb 18 04:21:46 2008 From: jkrell at elego.de (Jay Krell) Date: Mon, 18 Feb 2008 03:21:46 -0000 Subject: [M3commit] CVS Update: cm3 Message-ID: <20080218032118.1CDCF10D428A@birch.elegosoft.com> CVSROOT: /usr/cvs Changes by: jkrell at birch. 08/02/18 04:21:17 Modified files: cm3/scripts/python/: pylib.py Log message: tweak slashes, confusing host and target