[Tcl Java] Re: TclBlend Initialization Mutex

2000-08-09 Thread Mo DeJong
On Wed, 9 Aug 2000, Jiang Wu wrote: -Original Message- From: Mo DeJong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 1:34 PM To: [EMAIL PROTECTED] Subject: [Tcl Java] Re: TclBlend Initialization Mutex Con: Non-thread safe extensions may have problems under

[Tcl Java] Yet another reason CObject can not be GCed.

2000-08-12 Thread Mo DeJong
nterp does not enter the event queue (like tclsh). Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the sub

[Tcl Java] Locking down Tcl Blend so that it only works with threaded Tcl.

2000-08-13 Thread Mo DeJong
Here is that patch that I suggest we use to force Tcl Blend into compiling only with threaded Tcl. This will only appear in the contract branch for now. When that work is merged back into the HEAD, everyone will be forced to compile Tcl Blend with threaded Tcl. Comments? Mo DeJong Red Hat Inc

[Tcl Java] Tcl Blend object refCount problems, seems like a design flaw.

2000-08-14 Thread Mo DeJong
if we wrapped a Tcl_Obj without incrementing its ref count, this should still work. The toString() call would invoke Java_tcl_lang_CObject_getString which would call Tcl_GetStringFromObj() (no problem there right). I am sure there are cases I have overlooked, but I think the idea is doable. What do

[Tcl Java] Re: TclBlend Ref Counting Bug (GC related)

2000-08-14 Thread Mo DeJong
onclusions. I wanted to take my own look at the problem and see if my solution matched yours. Now that I see we both think this is the right solution, I feel much better about it. Mo DeJong Red Hat Inc The TclJava mailing list is sp

[Tcl Java] Re: Problems with calling Java from TCL

2000-08-18 Thread Mo DeJong
al tests for this are in tests/tcljava/PkgInvoker.test. I hope that helps Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED]

[Tcl Java] Latest Interp patch.

2000-08-19 Thread Mo DeJong
f using TCL.OK, what would the implications of that be? Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBS

[Tcl Java] Re: Error in (not yet published) Interp.java

2000-08-20 Thread Mo DeJong
tor shirt :) I just wish we could use the garbage collector instead of keeping that nasty Tcl_Preserve() stuff around in Jacl. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporati

[Tcl Java] Re: Jacl: improved string command (now 8.4 compatible)

2000-08-20 Thread Mo DeJong
er updates should be easy in comparison. I assume that some of these changes are tested by other tests and not just string.test. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:

[Tcl Java] Re: Jacl: improved string command (now 8.4 compatible)

2000-08-20 Thread Mo DeJong
ar file. Does anyone feel up to hacking on this problem? It would not be very hard to implement and it would be really useful because folks could put their own packages into .jar files. Oh, by the way in case you are wondering how a "package require java" works, it is faked bec

[Tcl Java] Re: Last(?) steps for an InterpCmd in Jacl

2000-08-20 Thread Mo DeJong
t in a loop without increasing memory consumption (this wasn't the fact in my first implementation!). One would think that the Java GC system would be a bit smarter about this. Perhaps there is ref to a slave Interp that would need to get set to null before it could be GCed. M

[Tcl Java] Re: Improvements of Jacl's clock command

2000-08-20 Thread Mo DeJong
-berlin.de/~v12/krischan/clock8.4.patch Greetings, Krischan Checked in. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED

[Tcl Java] Re: problem with instalation og jacl

2000-08-22 Thread Mo DeJong
Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the subject. To unsubscribe: send mail to [EMAIL

[Tcl Java] Re: ReflectObject

2000-08-22 Thread Mo DeJong
ChangeLog === RCS file: /home/cvs/external/tcljava/ChangeLog,v retrieving revision 1.59 diff -u -r1.59 ChangeLog --- ChangeLog 2000/08/21 04:48:11 1.59 +++ ChangeLog 2000/08/23 05:51:29 @@ -1,3 +1,10 @@ +2000-08-22 Mo DeJong [EMAIL PROTECTED] + +

[Tcl Java] Re: global JavaInfo structure in threaded tclblend.

2000-08-27 Thread Mo DeJong
and reworked a bunch of stuff to support it. Things should be fully thread safe now. If you want to take another peek you are welcome to, of course you might have to wait until monday morning for the CVS mirror to update. Mo DeJong Red Hat Inc

[Tcl Java] Re: global JavaInfo structure in threaded tclblend.

2000-08-28 Thread Mo DeJong
the code. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBSCRIBE as the subject. To unsubscribe: send mail

[Tcl Java] Re: Installing and Building TclBlend

2000-09-05 Thread Mo DeJong
strange JDK version that the configure script does not yet know about. I also suggest that you use the 1.3 version in the CVS if you are using some strange new JDK. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored

[Tcl Java] Re: Problems Making TclBlend 1.2.6 on Windows 2000 (NT 5.0)

2000-09-06 Thread Mo DeJong
urce code for Tcl so that it can find tclInt.h. I assume you just downloaded the binary of Tcl and you are trying to build Tcl Blend from that. You might just want to download the binary or Tcl Blend in that case, but be warned that the binary has its own troubles. M

[Tcl Java] Re: Problems with TclBlend

2000-09-10 Thread Mo DeJong
ys welcome. Tcl/Java is an open source project, so the more you pitch in the faster things will get done. A number of new folks have started to contribute to the project in recent months, and that has lead to a number of great new features. Mo DeJong R

[Tcl Java] Re: [Tcl Java]

2000-09-11 Thread Mo DeJong
On Mon, 11 Sep 2000, Peter Geraghty wrote: ... Peter, you are posting in HTML. This makes it very hard to read your email. Please repost in plain text if you want help. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored

[Tcl Java] Re: JACL on windows.

2000-09-12 Thread Mo DeJong
. You might also want to try another JVM and see if that does anything. By the way, why would you use that MKS Toolkit when you could be using Cygwin? Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation

[Tcl Java] Re: Accessing public parent fields

2000-09-14 Thread Mo DeJong
sg00490.html http://www.mail-archive.com/tcljava@scriptics.com/msg00040.html The "quick fix" (where Quick != Correct) http://www.mail-archive.com/tcljava@scriptics.com/msg00492.html A discussion of the real fix, and why it is hard: http://www.mail-archive.com/tcljava@

[Tcl Java] Re: Question in running tclBlend demo

2000-10-04 Thread Mo DeJong
e a new stop watch object and save a reference to the Tcl object, type: % set sw [swNew] To set the countdown time, type: % swSet $sw 10 Is that more clear? Mo DeJong Red Hat Inc The TclJav

[Tcl Java] Re: xputil bug with patch

2000-10-09 Thread Mo DeJong
ersion of your patch into the contract branch (I just added another list command to an uplevel). cheers Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail

[Tcl Java] Re: leaking memory

2000-10-11 Thread Mo DeJong
Blend is loaded into Tcl, but I am not sure what is going on when you load Tcl Blend and Tcl into a JVM. How could we test this sort of thing? Here is my proposed patch to cleanup the Class refs. I am also going to attach it to this file because it is going to get hosed in mail. Mo DeJong Red Hat Inc

[Tcl Java] Re: leaking memory

2000-10-12 Thread Mo DeJong
On Thu, 12 Oct 2000, Daniel Wickstrom wrote: "Mo" == Mo DeJong [EMAIL PROTECTED] writes: Mo There are two cleanup cases. Mo TclThreadCleanup is called when a Tcl thread (one that was not Mo started inside a JVM) is terminated. TclThreadCleanup will Mo

[Tcl Java] Re: leaking memory

2000-10-12 Thread Mo DeJong
On Thu, 12 Oct 2000, Daniel Wickstrom wrote: "Mo" == Mo DeJong [EMAIL PROTECTED] writes: Mo What do you mean by "The jvm attach is done at the start of Mo the thread by a registered proc"? Are you not using: Mo (*javaVM)-AttachCurrentThread()

[Tcl Java] Re: leaking memory

2000-10-12 Thread Mo DeJong
Tcl Blend init case, then I am all for that. Of course, I would need to see the patch first :) Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL

[Tcl Java] Re: [Tclblend] accessing inner class?

2000-10-17 Thread Mo DeJong
Flags.Flag DELETED] does not work, neither does [java::field javax.mail.Flags Flag.DELETED]. I think you want to use: java::field javax.mail.Flags\$Flag DELETED It is a wacky hack that the Java designers decided to throw into 1.1 so that they did not have to change the VM spec. Rather ugly if you a

[Tcl Java] Re: thread cleanup - something that works

2000-10-17 Thread Mo DeJong
there! Perhaps it is a problem with some init code that is not getting run in the Tcl interp. What part of Tcl calls those callbacks? Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe

[Tcl Java] Re: possible memory.

2000-10-20 Thread Mo DeJong
would be better spent focusing on that right now instead of fighting ref counting. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED

[Tcl Java] Re: possible memory.

2000-10-21 Thread Mo DeJong
it with some tests under JDK 1.1 and it is working (with one small exception). Could some folks to try this out and see if it makes the crash in the GC thread problem go away? There should be no more memory leaks. The patch is for src/tclblend/tcl/lang/CObject.java off of the contract branch. thanks Mo

[Tcl Java] Re: possible memory.

2000-10-22 Thread Mo DeJong
% of the cases is better than something that works for 0% of them. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word

[Tcl Java] Tcl/Java project moves to sourceforge!

2000-10-22 Thread Mo DeJong
the [EMAIL PROTECTED] mailing list in favor of using the ones on SF. Same goes for the old CVS repo. cheers Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail

[Tcl Java] Re: List bug

2000-10-23 Thread Mo DeJong
in the most recent CVS version. I would say this is a perfect time to try out the new bug DB on sourceforge. Go to: http://sourceforge.net/projects/tcljava The enter this in the bug tracker. cheers Mo DeJong Red Hat Inc The TclJava

[Tcl Java] Re: possible memory.

2000-10-24 Thread Mo DeJong
that points to where the Thread extension is build is the only way to go. Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED

[Tcl Java] Re: ajuba branch

2000-10-24 Thread Mo DeJong
Since I do not see this is the IBM JDK, I am going to assume that it is a JDK 1.1.8 bug. I hear there is also a new JDK 1.2 and JDK 1.3 from blackdown, but I have not downloaded those for testing. Mo DeJong Red Hat Inc The TclJava ma

[Tcl Java] Re: ajuba branch

2000-10-25 Thread Mo DeJong
On Wed, 25 Oct 2000, Daniel Wickstrom wrote: "Mo" == Mo DeJong [EMAIL PROTECTED] writes: I'm running with the following: redhat 6.2 tcl8.3.2 tcljava from souceforge ajuba contract branch blackdown jdk1.1.8_v1 Mo That really should work, ever

[Tcl Java] Re: autoconf 2.14

2000-10-26 Thread Mo DeJong
.in 2) configure 3) make You don't need to. There is already a tcljava/configure file for just that reason (so you don't need to download autoconf). If you change the Tcl/Java configure.in file or other m4 files, you would need to rerun things. If you wanted to do that, you would run the ./autogen.s

[Tcl Java] Re: compiling tcljava

2000-10-26 Thread Mo DeJong
a Cygwin tested build process for Tcl Blend in the 1.2 release, but it did not support Jacl and suffered a bit of code rot when compared to 1.3, so I had to kill it. I need to revive that sucker, but perhaps someone else who has done some autotools hacking would like to beat me t

[Tcl Java] Re: ajuba branch

2000-10-26 Thread Mo DeJong
On Thu, 26 Oct 2000, Daniel Wickstrom wrote: "Mo" == Mo DeJong [EMAIL PROTECTED] writes: Mo What version of Tcl are you using? This should not show up Mo with Tcl 8.3.2 or 8.4. At any rate, it does not matter. I'm using tcl version 8.3.2. Strange, perhaps I

[Tcl Java] Re: possible memory.

2000-10-27 Thread Mo DeJong
On Thu, 26 Oct 2000, Daniel Wickstrom wrote: "Mo" == Mo DeJong [EMAIL PROTECTED] writes: Mo Are you up to it? I am going to be working on this object ref Mo queue thing for some time, so if you could take a whack at the Mo Notifier it would really help. There is

[Tcl Java] This tcljava mailing list is shutting down!

2000-11-01 Thread Mo DeJong
will host more in depth discussions while the user list will be focused on user questions. The user list should be very low bandwidth. cheers Mo DeJong Red Hat Inc The TclJava mailing list is sponsored by Scriptics Corporation

<    1   2