Hi Alan,

> -----Original Message-----
> From: Alan W. Irwin [mailto:[email protected]]
>
> * Tested the ntk device.  No display (unlike ~5 years ago when this simple 
> device
> worked with no issues).  Probably some updating of the Tk calls is required 
> to get the
> display working again.
>

That is definitely something to look at.

> * Linked tkwin and libplplottcltkd against the stub version of the Tcl and Tk 
> library by
> default.  (If you want to try an experiment without this, use -
> DUSE_TCL_TK_STUBS=OFF.) The stub versions are the recommended libraries to
> link to, but the PLplot work to make that happen required a number of code 
> cleanups
> including splitting off the "Main" routines into their own separate library,
> plplottcktk_Maind since those routines interfere with using libplplottcktkd 
> as a pure
> Tcl/Tk extension and in any case are only required for linking executables 
> such as
> pltcl and plserver.

I have rebuilt PLplot with this option on and it seems to be doing fine.

>
> * For some reason plserver -h segfaults if it is linked to Tcl/Tk8.6.  On the 
> other hand,
> it is valgrind clean against Tcl/Tk8.5.  I could get nowhere with this.
>

I have noticed that too. It is somehow happening in Tk_ParseArgv, but why that 
should be
is completely unclear right now. It happens if you specify -help or a prefix 
like -h or -he.
Really odd.

> * Suddenly runAllDemos.tcl (under wish) errors out when I press a button with 
> a
> message concerning x01 (or whatever) being an invalid command.
> (the plserver version is fine).  That makes no sense since x01.tcl is right 
> there in the
> current directory. So the issue is probably due to some regression I recently
> introduced, but -DUSE_TCL_TK_STUBS=OFF, for example, makes no difference,
> and I could get nowhere further with this.
>

I have not seen this error. I did have to introduce a "plstdwin ." command to 
have the
window display at a reasonable size, but then it worked fine.

> I suggest when you test my recent changes you stick to the dynamic 
> drivers/shared
> library case in the build tree for a little bit because that is the only case 
> I have tested
> so far.  But tomorrow, I plan to do a full set of comprehensive tests to 
> discover and
> deal with any recent issues I have introduced for other cases. But after that 
> is done I
> have no more work planned for the Tcl and friends bindings and examples in the
> near future principally because this aspect of PLplot is probably in its best 
> shape
> ever, and because I can make no further progress with the remaining issues 
> due to
> lack of Tcl/Tk expertise.
>
> So from now on, Tcl/Tk is going to necessarily be mostly your responsibility 
> (because
> of your much larger Tcl/Tk expertise).
> However, I would be happy to test any further Tcl (and friends) changes you 
> make
> and help out with any build system issues you discover. I also plan to work 
> some
> more on build_projects (principally making it easier to use) which should 
> help you to
> build and test
> Tcl8.6 and friends when you get to the stage of working on the issues 
> specific to
> those versions.
>

Okay, I will simply continue testing and improving the Tcl/Tk stuff. Right now, 
I am
making small changes only but it is getting better. I may need your help later 
on,
especially with the segfault at exit time.

Regards,

Arjen

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to